diff --git a/dist/136.index.js b/dist/136.index.js index 79e915d..07aa0d9 100644 --- a/dist/136.index.js +++ b/dist/136.index.js @@ -8,7 +8,7 @@ export const modules = { Object.defineProperty(exports, "__esModule", ({ value: true })); exports.STSClient = exports.__Client = void 0; -const middleware_host_header_1 = __webpack_require__(52590); +const middleware_host_header_1 = __webpack_require__(30209); const middleware_logger_1 = __webpack_require__(85242); const middleware_recursion_detection_1 = __webpack_require__(81568); const middleware_user_agent_1 = __webpack_require__(32959); diff --git a/dist/443.index.js b/dist/443.index.js index 054749d..35e70cb 100644 --- a/dist/443.index.js +++ b/dist/443.index.js @@ -110,7 +110,7 @@ exports.ruleSet = _data; var __webpack_unused_export__; -var middlewareHostHeader = __webpack_require__(52590); +var middlewareHostHeader = __webpack_require__(30209); var middlewareLogger = __webpack_require__(85242); var middlewareRecursionDetection = __webpack_require__(81568); var middlewareUserAgent = __webpack_require__(32959); diff --git a/dist/762.index.js b/dist/762.index.js index 053b38d..f24d267 100644 --- a/dist/762.index.js +++ b/dist/762.index.js @@ -110,7 +110,7 @@ exports.ruleSet = _data; var __webpack_unused_export__; -var middlewareHostHeader = __webpack_require__(52590); +var middlewareHostHeader = __webpack_require__(30209); var middlewareLogger = __webpack_require__(85242); var middlewareRecursionDetection = __webpack_require__(81568); var middlewareUserAgent = __webpack_require__(32959); diff --git a/dist/956.index.js b/dist/956.index.js index 89862e9..f988ad2 100644 --- a/dist/956.index.js +++ b/dist/956.index.js @@ -144,7 +144,7 @@ Object.keys(fromWebToken).forEach(function (k) { Object.defineProperty(exports, "__esModule", ({ value: true })); exports.STSClient = exports.__Client = void 0; -const middleware_host_header_1 = __webpack_require__(52590); +const middleware_host_header_1 = __webpack_require__(30209); const middleware_logger_1 = __webpack_require__(85242); const middleware_recursion_detection_1 = __webpack_require__(81568); const middleware_user_agent_1 = __webpack_require__(32959); diff --git a/dist/998.index.js b/dist/998.index.js index f336bef..c7dad09 100644 --- a/dist/998.index.js +++ b/dist/998.index.js @@ -128,7 +128,7 @@ exports.ruleSet = _data; -var middlewareHostHeader = __webpack_require__(52590); +var middlewareHostHeader = __webpack_require__(30209); var middlewareLogger = __webpack_require__(85242); var middlewareRecursionDetection = __webpack_require__(81568); var middlewareUserAgent = __webpack_require__(32959); diff --git a/dist/index.js b/dist/index.js index 6240228..90a6e3f 100644 --- a/dist/index.js +++ b/dist/index.js @@ -1,6 +1,8 @@ -import './sourcemap-register.cjs';import{createRequire as i}from"module";var d={76846:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__exportStar||function(i,d){for(var p in i)if(p!=="default"&&!Object.prototype.hasOwnProperty.call(d,p))v(d,i,p)};Object.defineProperty(d,"__esModule",{value:true});const K=p(64487);V(p(13776),d);V(p(45655),d);V(p(64487),d);const ee=new K.DefaultArtifactClient;d["default"]=ee},35592:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.Timestamp=void 0;const v=p(68886);const V=p(68886);const K=p(68886);const ee=p(68886);const te=p(68886);const re=p(68886);const ne=p(68886);class Timestamp$Type extends ne.MessageType{constructor(){super("google.protobuf.Timestamp",[{no:1,name:"seconds",kind:"scalar",T:3},{no:2,name:"nanos",kind:"scalar",T:5}])}now(){const i=this.create();const d=Date.now();i.seconds=re.PbLong.from(Math.floor(d/1e3)).toString();i.nanos=d%1e3*1e6;return i}toDate(i){return new Date(re.PbLong.from(i.seconds).toNumber()*1e3+Math.ceil(i.nanos/1e6))}fromDate(i){const d=this.create();const p=i.getTime();d.seconds=re.PbLong.from(Math.floor(p/1e3)).toString();d.nanos=p%1e3*1e6;return d}internalJsonWrite(i,d){let p=re.PbLong.from(i.seconds).toNumber()*1e3;if(pDate.parse("9999-12-31T23:59:59Z"))throw new Error("Unable to encode Timestamp to JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.");if(i.nanos<0)throw new Error("Unable to encode invalid Timestamp to JSON. Nanos must not be negative.");let v="Z";if(i.nanos>0){let d=(i.nanos+1e9).toString().substring(1);if(d.substring(3)==="000000")v="."+d.substring(0,3)+"Z";else if(d.substring(6)==="000")v="."+d.substring(0,6)+"Z";else v="."+d+"Z"}return new Date(p).toISOString().replace(".000Z",v)}internalJsonRead(i,d,p){if(typeof i!=="string")throw new Error("Unable to parse Timestamp from JSON "+(0,te.typeofJsonValue)(i)+".");let v=i.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:Z|\.([0-9]{3,9})Z|([+-][0-9][0-9]:[0-9][0-9]))$/);if(!v)throw new Error("Unable to parse Timestamp from JSON. Invalid format.");let V=Date.parse(v[1]+"-"+v[2]+"-"+v[3]+"T"+v[4]+":"+v[5]+":"+v[6]+(v[8]?v[8]:"Z"));if(Number.isNaN(V))throw new Error("Unable to parse Timestamp from JSON. Invalid value.");if(VDate.parse("9999-12-31T23:59:59Z"))throw new globalThis.Error("Unable to parse Timestamp from JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.");if(!p)p=this.create();p.seconds=re.PbLong.from(V/1e3).toString();p.nanos=0;if(v[7])p.nanos=parseInt("1"+v[7]+"0".repeat(9-v[7].length))-1e9;return p}create(i){const d={seconds:"0",nanos:0};globalThis.Object.defineProperty(d,ee.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,K.reflectionMergePartial)(this,d,i);return d}internalBinaryRead(i,d,p,v){let K=v!==null&&v!==void 0?v:this.create(),ee=i.pos+d;while(i.pos{Object.defineProperty(d,"__esModule",{value:true});d.BytesValue=d.StringValue=d.BoolValue=d.UInt32Value=d.Int32Value=d.UInt64Value=d.Int64Value=d.FloatValue=d.DoubleValue=void 0;const v=p(68886);const V=p(68886);const K=p(68886);const ee=p(68886);const te=p(68886);const re=p(68886);const ne=p(68886);class DoubleValue$Type extends ne.MessageType{constructor(){super("google.protobuf.DoubleValue",[{no:1,name:"value",kind:"scalar",T:1}])}internalJsonWrite(i,d){return this.refJsonWriter.scalar(2,i.value,"value",false,true)}internalJsonRead(i,d,p){if(!p)p=this.create();p.value=this.refJsonReader.scalar(i,1,undefined,"value");return p}create(i){const d={value:0};globalThis.Object.defineProperty(d,re.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,te.reflectionMergePartial)(this,d,i);return d}internalBinaryRead(i,d,p,v){let V=v!==null&&v!==void 0?v:this.create(),K=i.pos+d;while(i.pos{Object.defineProperty(d,"__esModule",{value:true});d.ArtifactService=d.DeleteArtifactResponse=d.DeleteArtifactRequest=d.GetSignedArtifactURLResponse=d.GetSignedArtifactURLRequest=d.ListArtifactsResponse_MonolithArtifact=d.ListArtifactsResponse=d.ListArtifactsRequest=d.FinalizeArtifactResponse=d.FinalizeArtifactRequest=d.CreateArtifactResponse=d.CreateArtifactRequest=d.FinalizeMigratedArtifactResponse=d.FinalizeMigratedArtifactRequest=d.MigrateArtifactResponse=d.MigrateArtifactRequest=void 0;const v=p(44420);const V=p(68886);const K=p(68886);const ee=p(68886);const te=p(68886);const re=p(68886);const ne=p(78806);const ie=p(78806);const se=p(35592);class MigrateArtifactRequest$Type extends re.MessageType{constructor(){super("github.actions.results.api.v1.MigrateArtifactRequest",[{no:1,name:"workflow_run_backend_id",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"expires_at",kind:"message",T:()=>se.Timestamp}])}create(i){const d={workflowRunBackendId:"",name:""};globalThis.Object.defineProperty(d,te.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,ee.reflectionMergePartial)(this,d,i);return d}internalBinaryRead(i,d,p,v){let V=v!==null&&v!==void 0?v:this.create(),ee=i.pos+d;while(i.posse.Timestamp},{no:5,name:"version",kind:"scalar",T:5}])}create(i){const d={workflowRunBackendId:"",workflowJobRunBackendId:"",name:"",version:0};globalThis.Object.defineProperty(d,te.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,ee.reflectionMergePartial)(this,d,i);return d}internalBinaryRead(i,d,p,v){let V=v!==null&&v!==void 0?v:this.create(),ee=i.pos+d;while(i.posie.StringValue}])}create(i){const d={workflowRunBackendId:"",workflowJobRunBackendId:"",name:"",size:"0"};globalThis.Object.defineProperty(d,te.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,ee.reflectionMergePartial)(this,d,i);return d}internalBinaryRead(i,d,p,v){let V=v!==null&&v!==void 0?v:this.create(),ee=i.pos+d;while(i.posie.StringValue},{no:4,name:"id_filter",kind:"message",T:()=>ne.Int64Value}])}create(i){const d={workflowRunBackendId:"",workflowJobRunBackendId:""};globalThis.Object.defineProperty(d,te.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,ee.reflectionMergePartial)(this,d,i);return d}internalBinaryRead(i,d,p,v){let V=v!==null&&v!==void 0?v:this.create(),ee=i.pos+d;while(i.posd.ListArtifactsResponse_MonolithArtifact}])}create(i){const d={artifacts:[]};globalThis.Object.defineProperty(d,te.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,ee.reflectionMergePartial)(this,d,i);return d}internalBinaryRead(i,p,v,V){let ee=V!==null&&V!==void 0?V:this.create(),te=i.pos+p;while(i.posse.Timestamp},{no:7,name:"digest",kind:"message",T:()=>ie.StringValue}])}create(i){const d={workflowRunBackendId:"",workflowJobRunBackendId:"",databaseId:"0",name:"",size:"0"};globalThis.Object.defineProperty(d,te.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,ee.reflectionMergePartial)(this,d,i);return d}internalBinaryRead(i,d,p,v){let V=v!==null&&v!==void 0?v:this.create(),ee=i.pos+d;while(i.pos{Object.defineProperty(d,"__esModule",{value:true});d.ArtifactServiceClientProtobuf=d.ArtifactServiceClientJSON=void 0;const v=p(68614);class ArtifactServiceClientJSON{constructor(i){this.rpc=i;this.CreateArtifact.bind(this);this.FinalizeArtifact.bind(this);this.ListArtifacts.bind(this);this.GetSignedArtifactURL.bind(this);this.DeleteArtifact.bind(this)}CreateArtifact(i){const d=v.CreateArtifactRequest.toJson(i,{useProtoFieldName:true,emitDefaultValues:false});const p=this.rpc.request("github.actions.results.api.v1.ArtifactService","CreateArtifact","application/json",d);return p.then((i=>v.CreateArtifactResponse.fromJson(i,{ignoreUnknownFields:true})))}FinalizeArtifact(i){const d=v.FinalizeArtifactRequest.toJson(i,{useProtoFieldName:true,emitDefaultValues:false});const p=this.rpc.request("github.actions.results.api.v1.ArtifactService","FinalizeArtifact","application/json",d);return p.then((i=>v.FinalizeArtifactResponse.fromJson(i,{ignoreUnknownFields:true})))}ListArtifacts(i){const d=v.ListArtifactsRequest.toJson(i,{useProtoFieldName:true,emitDefaultValues:false});const p=this.rpc.request("github.actions.results.api.v1.ArtifactService","ListArtifacts","application/json",d);return p.then((i=>v.ListArtifactsResponse.fromJson(i,{ignoreUnknownFields:true})))}GetSignedArtifactURL(i){const d=v.GetSignedArtifactURLRequest.toJson(i,{useProtoFieldName:true,emitDefaultValues:false});const p=this.rpc.request("github.actions.results.api.v1.ArtifactService","GetSignedArtifactURL","application/json",d);return p.then((i=>v.GetSignedArtifactURLResponse.fromJson(i,{ignoreUnknownFields:true})))}DeleteArtifact(i){const d=v.DeleteArtifactRequest.toJson(i,{useProtoFieldName:true,emitDefaultValues:false});const p=this.rpc.request("github.actions.results.api.v1.ArtifactService","DeleteArtifact","application/json",d);return p.then((i=>v.DeleteArtifactResponse.fromJson(i,{ignoreUnknownFields:true})))}}d.ArtifactServiceClientJSON=ArtifactServiceClientJSON;class ArtifactServiceClientProtobuf{constructor(i){this.rpc=i;this.CreateArtifact.bind(this);this.FinalizeArtifact.bind(this);this.ListArtifacts.bind(this);this.GetSignedArtifactURL.bind(this);this.DeleteArtifact.bind(this)}CreateArtifact(i){const d=v.CreateArtifactRequest.toBinary(i);const p=this.rpc.request("github.actions.results.api.v1.ArtifactService","CreateArtifact","application/protobuf",d);return p.then((i=>v.CreateArtifactResponse.fromBinary(i)))}FinalizeArtifact(i){const d=v.FinalizeArtifactRequest.toBinary(i);const p=this.rpc.request("github.actions.results.api.v1.ArtifactService","FinalizeArtifact","application/protobuf",d);return p.then((i=>v.FinalizeArtifactResponse.fromBinary(i)))}ListArtifacts(i){const d=v.ListArtifactsRequest.toBinary(i);const p=this.rpc.request("github.actions.results.api.v1.ArtifactService","ListArtifacts","application/protobuf",d);return p.then((i=>v.ListArtifactsResponse.fromBinary(i)))}GetSignedArtifactURL(i){const d=v.GetSignedArtifactURLRequest.toBinary(i);const p=this.rpc.request("github.actions.results.api.v1.ArtifactService","GetSignedArtifactURL","application/protobuf",d);return p.then((i=>v.GetSignedArtifactURLResponse.fromBinary(i)))}DeleteArtifact(i){const d=v.DeleteArtifactRequest.toBinary(i);const p=this.rpc.request("github.actions.results.api.v1.ArtifactService","DeleteArtifact","application/protobuf",d);return p.then((i=>v.DeleteArtifactResponse.fromBinary(i)))}}d.ArtifactServiceClientProtobuf=ArtifactServiceClientProtobuf},64487:function(i,d,p){var v=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};var V=this&&this.__rest||function(i,d){var p={};for(var v in i)if(Object.prototype.hasOwnProperty.call(i,v)&&d.indexOf(v)<0)p[v]=i[v];if(i!=null&&typeof Object.getOwnPropertySymbols==="function")for(var V=0,v=Object.getOwnPropertySymbols(i);V1){te=ee.artifacts.sort(((i,d)=>Number(d.databaseId)-Number(i.databaseId)))[0];(0,V.debug)(`More than one artifact found for a single name, returning newest (id: ${te.databaseId})`)}const re={workflowRunBackendId:te.workflowRunBackendId,workflowJobRunBackendId:te.workflowJobRunBackendId,name:te.name};const ne=yield d.DeleteArtifact(re);(0,V.info)(`Artifact '${i}' (ID: ${ne.artifactId}) deleted`);return{id:Number(ne.artifactId)}}))}d.deleteArtifactInternal=deleteArtifactInternal},93542:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};var ee=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};var te=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(d,"__esModule",{value:true});d.downloadArtifactInternal=d.downloadArtifactPublic=d.streamExtractExternal=void 0;const re=te(p(91943));const ne=K(p(76982));const ie=K(p(2203));const se=K(p(93228));const oe=K(p(84086));const ae=K(p(54844));const ce=te(p(33991));const le=p(89387);const ue=p(72938);const Ae=p(87417);const de=p(44216);const pe=p(41631);const fe=p(45655);const scrubQueryParameters=i=>{const d=new URL(i);d.search="";return d.toString()};function exists(i){return ee(this,void 0,void 0,(function*(){try{yield re.default.access(i);return true}catch(i){if(i.code==="ENOENT"){return false}else{throw i}}}))}function streamExtract(i,d){return ee(this,void 0,void 0,(function*(){let p=0;while(p<5){try{return yield streamExtractExternal(i,d)}catch(i){p++;oe.debug(`Failed to download artifact after ${p} retries due to ${i.message}. Retrying in 5 seconds...`);yield new Promise((i=>setTimeout(i,5e3)))}}throw new Error(`Artifact download failed after ${p} retries.`)}))}function streamExtractExternal(i,d){return ee(this,arguments,void 0,(function*(i,d,p={timeout:30*1e3}){const v=new ae.HttpClient((0,le.getUserAgentString)());const V=yield v.get(i);if(V.message.statusCode!==200){throw new Error(`Unexpected HTTP response from blob storage: ${V.message.statusCode} ${V.message.statusMessage}`)}let K=undefined;return new Promise(((i,v)=>{const timerFn=()=>{const i=new Error(`Blob storage chunk did not respond in ${p.timeout}ms`);V.message.destroy(i);v(i)};const ee=setTimeout(timerFn,p.timeout);const te=ne.createHash("sha256").setEncoding("hex");const re=new ie.PassThrough;V.message.pipe(re);re.pipe(te);const se=re;se.on("data",(()=>{ee.refresh()})).on("error",(i=>{oe.debug(`response.message: Artifact download failed: ${i.message}`);clearTimeout(ee);v(i)})).pipe(ce.default.Extract({path:d})).on("close",(()=>{clearTimeout(ee);if(te){te.end();K=te.read();oe.info(`SHA256 digest of downloaded artifact is ${K}`)}i({sha256Digest:`sha256:${K}`})})).on("error",(i=>{v(i)}))}))}))}d.streamExtractExternal=streamExtractExternal;function downloadArtifactPublic(i,d,p,v,V){return ee(this,void 0,void 0,(function*(){const K=yield resolveOrCreateDirectory(V===null||V===void 0?void 0:V.path);const ee=se.getOctokit(v);let te=false;oe.info(`Downloading artifact '${i}' from '${d}/${p}'`);const{headers:re,status:ne}=yield ee.rest.actions.downloadArtifact({owner:d,repo:p,artifact_id:i,archive_format:"zip",request:{redirect:"manual"}});if(ne!==302){throw new Error(`Unable to download artifact. Unexpected status: ${ne}`)}const{location:ie}=re;if(!ie){throw new Error(`Unable to redirect to artifact download url`)}oe.info(`Redirecting to blob download url: ${scrubQueryParameters(ie)}`);try{oe.info(`Starting download of artifact to: ${K}`);const i=yield streamExtract(ie,K);oe.info(`Artifact download completed successfully.`);if(V===null||V===void 0?void 0:V.expectedHash){if((V===null||V===void 0?void 0:V.expectedHash)!==i.sha256Digest){te=true;oe.debug(`Computed digest: ${i.sha256Digest}`);oe.debug(`Expected digest: ${V.expectedHash}`)}}}catch(i){throw new Error(`Unable to download and extract artifact: ${i.message}`)}return{downloadPath:K,digestMismatch:te}}))}d.downloadArtifactPublic=downloadArtifactPublic;function downloadArtifactInternal(i,d){return ee(this,void 0,void 0,(function*(){const p=yield resolveOrCreateDirectory(d===null||d===void 0?void 0:d.path);const v=(0,Ae.internalArtifactTwirpClient)();let V=false;const{workflowRunBackendId:K,workflowJobRunBackendId:ee}=(0,pe.getBackendIdsFromToken)();const te={workflowRunBackendId:K,workflowJobRunBackendId:ee,idFilter:de.Int64Value.create({value:i.toString()})};const{artifacts:re}=yield v.ListArtifacts(te);if(re.length===0){throw new fe.ArtifactNotFoundError(`No artifacts found for ID: ${i}\nAre you trying to download from a different run? Try specifying a github-token with \`actions:read\` scope.`)}if(re.length>1){oe.warning("Multiple artifacts found, defaulting to first.")}const ne={workflowRunBackendId:re[0].workflowRunBackendId,workflowJobRunBackendId:re[0].workflowJobRunBackendId,name:re[0].name};const{signedUrl:ie}=yield v.GetSignedArtifactURL(ne);oe.info(`Redirecting to blob download url: ${scrubQueryParameters(ie)}`);try{oe.info(`Starting download of artifact to: ${p}`);const i=yield streamExtract(ie,p);oe.info(`Artifact download completed successfully.`);if(d===null||d===void 0?void 0:d.expectedHash){if((d===null||d===void 0?void 0:d.expectedHash)!==i.sha256Digest){V=true;oe.debug(`Computed digest: ${i.sha256Digest}`);oe.debug(`Expected digest: ${d.expectedHash}`)}}}catch(i){throw new Error(`Unable to download and extract artifact: ${i.message}`)}return{downloadPath:p,digestMismatch:V}}))}d.downloadArtifactInternal=downloadArtifactInternal;function resolveOrCreateDirectory(){return ee(this,arguments,void 0,(function*(i=(0,ue.getGitHubWorkspaceDir)()){if(!(yield exists(i))){oe.debug(`Artifact destination folder does not exist, creating: ${i}`);yield re.default.mkdir(i,{recursive:true})}else{oe.debug(`Artifact destination folder already exists: ${i}`)}return i}))}},2327:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};var ee=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.getArtifactInternal=d.getArtifactPublic=void 0;const te=p(93228);const re=p(33450);const ne=K(p(84086));const ie=p(38006);const se=p(38361);const oe=p(26784);const ae=p(41631);const ce=p(89387);const le=p(87417);const ue=p(44216);const Ae=p(45655);function getArtifactPublic(i,d,p,v,V){return ee(this,void 0,void 0,(function*(){var K;const[ee,ae]=(0,se.getRetryOptions)(ie.defaults);const le={log:undefined,userAgent:(0,ce.getUserAgentString)(),previews:undefined,retry:ee,request:ae};const ue=(0,te.getOctokit)(V,le,re.retry,oe.requestLog);const de=yield ue.request("GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts{?name}",{owner:p,repo:v,run_id:d,name:i});if(de.status!==200){throw new Ae.InvalidResponseError(`Invalid response from GitHub API: ${de.status} (${(K=de===null||de===void 0?void 0:de.headers)===null||K===void 0?void 0:K["x-github-request-id"]})`)}if(de.data.artifacts.length===0){throw new Ae.ArtifactNotFoundError(`Artifact not found for name: ${i}\n Please ensure that your artifact is not expired and the artifact was uploaded using a compatible version of toolkit/upload-artifact.\n For more information, visit the GitHub Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md`)}let pe=de.data.artifacts[0];if(de.data.artifacts.length>1){pe=de.data.artifacts.sort(((i,d)=>d.id-i.id))[0];ne.debug(`More than one artifact found for a single name, returning newest (id: ${pe.id})`)}return{artifact:{name:pe.name,id:pe.id,size:pe.size_in_bytes,createdAt:pe.created_at?new Date(pe.created_at):undefined,digest:pe.digest}}}))}d.getArtifactPublic=getArtifactPublic;function getArtifactInternal(i){return ee(this,void 0,void 0,(function*(){var d;const p=(0,le.internalArtifactTwirpClient)();const{workflowRunBackendId:v,workflowJobRunBackendId:V}=(0,ae.getBackendIdsFromToken)();const K={workflowRunBackendId:v,workflowJobRunBackendId:V,nameFilter:ue.StringValue.create({value:i})};const ee=yield p.ListArtifacts(K);if(ee.artifacts.length===0){throw new Ae.ArtifactNotFoundError(`Artifact not found for name: ${i}\n Please ensure that your artifact is not expired and the artifact was uploaded using a compatible version of toolkit/upload-artifact.\n For more information, visit the GitHub Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md`)}let te=ee.artifacts[0];if(ee.artifacts.length>1){te=ee.artifacts.sort(((i,d)=>Number(d.databaseId)-Number(i.databaseId)))[0];ne.debug(`More than one artifact found for a single name, returning newest (id: ${te.databaseId})`)}return{artifact:{name:te.name,id:Number(te.databaseId),size:Number(te.size),createdAt:te.createdAt?ue.Timestamp.toDate(te.createdAt):undefined,digest:(d=te.digest)===null||d===void 0?void 0:d.value}}}))}d.getArtifactInternal=getArtifactInternal},8808:function(i,d,p){var v=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.listArtifactsInternal=d.listArtifactsPublic=void 0;const V=p(84086);const K=p(93228);const ee=p(89387);const te=p(38361);const re=p(38006);const ne=p(26784);const ie=p(33450);const se=p(87417);const oe=p(41631);const ae=p(72938);const ce=p(44216);const le=(0,ae.getMaxArtifactListCount)();const ue=100;const Ae=Math.ceil(le/ue);function listArtifactsPublic(i,d,p,se){return v(this,arguments,void 0,(function*(i,d,p,v,se=false){(0,V.info)(`Fetching artifact list for workflow run ${i} in repository ${d}/${p}`);let oe=[];const[ae,ce]=(0,te.getRetryOptions)(re.defaults);const de={log:undefined,userAgent:(0,ee.getUserAgentString)(),previews:undefined,retry:ae,request:ce};const pe=(0,K.getOctokit)(v,de,ie.retry,ne.requestLog);let fe=1;const{data:he}=yield pe.request("GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts",{owner:d,repo:p,run_id:i,per_page:ue,page:fe});let ge=Math.ceil(he.total_count/ue);const me=he.total_count;if(me>le){(0,V.warning)(`Workflow run ${i} has ${me} artifacts, exceeding the limit of ${le}. Results will be incomplete as only the first ${le} artifacts will be returned`);ge=Ae}for(const i of he.artifacts){oe.push({name:i.name,id:i.id,size:i.size_in_bytes,createdAt:i.created_at?new Date(i.created_at):undefined,digest:i.digest})}fe++;for(fe;fe<=ge;fe++){(0,V.debug)(`Fetching page ${fe} of artifact list`);const{data:v}=yield pe.request("GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts",{owner:d,repo:p,run_id:i,per_page:ue,page:fe});for(const i of v.artifacts){oe.push({name:i.name,id:i.id,size:i.size_in_bytes,createdAt:i.created_at?new Date(i.created_at):undefined,digest:i.digest})}}if(se){oe=filterLatest(oe)}(0,V.info)(`Found ${oe.length} artifact(s)`);return{artifacts:oe}}))}d.listArtifactsPublic=listArtifactsPublic;function listArtifactsInternal(){return v(this,arguments,void 0,(function*(i=false){const d=(0,se.internalArtifactTwirpClient)();const{workflowRunBackendId:p,workflowJobRunBackendId:v}=(0,oe.getBackendIdsFromToken)();const K={workflowRunBackendId:p,workflowJobRunBackendId:v};const ee=yield d.ListArtifacts(K);let te=ee.artifacts.map((i=>{var d;return{name:i.name,id:Number(i.databaseId),size:Number(i.size),createdAt:i.createdAt?ce.Timestamp.toDate(i.createdAt):undefined,digest:(d=i.digest)===null||d===void 0?void 0:d.value}}));if(i){te=filterLatest(te)}(0,V.info)(`Found ${te.length} artifact(s)`);return{artifacts:te}}))}d.listArtifactsInternal=listArtifactsInternal;function filterLatest(i){i.sort(((i,d)=>d.id-i.id));const d=[];const p=new Set;for(const v of i){if(!p.has(v.name)){d.push(v);p.add(v.name)}}return d}},38361:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};Object.defineProperty(d,"__esModule",{value:true});d.getRetryOptions=void 0;const ee=K(p(84086));const te=5;const re=[400,401,403,404,422];function getRetryOptions(i,d=te,p=re){var v;if(d<=0){return[{enabled:false},i.request]}const V={enabled:true};if(p.length>0){V.doNotRetry=p}const K=Object.assign(Object.assign({},i.request),{retries:d});ee.debug(`GitHub client configured with: (retries: ${K.retries}, retry-exempt-status-code: ${(v=V.doNotRetry)!==null&&v!==void 0?v:"octokit default: [400, 401, 403, 404, 422]"})`);return[V,K]}d.getRetryOptions=getRetryOptions},87417:function(i,d,p){var v=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.internalArtifactTwirpClient=void 0;const V=p(54844);const K=p(44552);const ee=p(84086);const te=p(44216);const re=p(72938);const ne=p(89387);const ie=p(45655);const se=p(41631);class ArtifactHttpClient{constructor(i,d,p,v){this.maxAttempts=5;this.baseRetryIntervalMilliseconds=3e3;this.retryMultiplier=1.5;const ee=(0,re.getRuntimeToken)();this.baseUrl=(0,re.getResultsServiceUrl)();if(d){this.maxAttempts=d}if(p){this.baseRetryIntervalMilliseconds=p}if(v){this.retryMultiplier=v}this.httpClient=new V.HttpClient(i,[new K.BearerCredentialHandler(ee)])}request(i,d,p,V){return v(this,void 0,void 0,(function*(){const K=new URL(`/twirp/${i}/${d}`,this.baseUrl).href;(0,ee.debug)(`[Request] ${d} ${K}`);const te={"Content-Type":p};try{const{body:i}=yield this.retryableRequest((()=>v(this,void 0,void 0,(function*(){return this.httpClient.post(K,JSON.stringify(V),te)}))));return i}catch(i){throw new Error(`Failed to ${d}: ${i.message}`)}}))}retryableRequest(i){return v(this,void 0,void 0,(function*(){let d=0;let p="";let v="";while(d=200&&i<300}isRetryableHttpStatusCode(i){if(!i)return false;const d=[V.HttpCodes.BadGateway,V.HttpCodes.GatewayTimeout,V.HttpCodes.InternalServerError,V.HttpCodes.ServiceUnavailable,V.HttpCodes.TooManyRequests];return d.includes(i)}sleep(i){return v(this,void 0,void 0,(function*(){return new Promise((d=>setTimeout(d,i)))}))}getExponentialRetryTimeMilliseconds(i){if(i<0){throw new Error("attempt should be a positive integer")}if(i===0){return this.baseRetryIntervalMilliseconds}const d=this.baseRetryIntervalMilliseconds*Math.pow(this.retryMultiplier,i);const p=d*this.retryMultiplier;return Math.trunc(Math.random()*(p-d)+d)}}function internalArtifactTwirpClient(i){const d=new ArtifactHttpClient((0,ne.getUserAgentString)(),i===null||i===void 0?void 0:i.maxAttempts,i===null||i===void 0?void 0:i.retryIntervalMs,i===null||i===void 0?void 0:i.retryMultiplier);return new te.ArtifactServiceClientJSON(d)}d.internalArtifactTwirpClient=internalArtifactTwirpClient},72938:function(i,d,p){var v=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(d,"__esModule",{value:true});d.getMaxArtifactListCount=d.getUploadChunkTimeout=d.getConcurrency=d.getGitHubWorkspaceDir=d.isGhes=d.getResultsServiceUrl=d.getRuntimeToken=d.getUploadChunkSize=void 0;const V=v(p(70857));const K=p(84086);function getUploadChunkSize(){return 8*1024*1024}d.getUploadChunkSize=getUploadChunkSize;function getRuntimeToken(){const i=process.env["ACTIONS_RUNTIME_TOKEN"];if(!i){throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable")}return i}d.getRuntimeToken=getRuntimeToken;function getResultsServiceUrl(){const i=process.env["ACTIONS_RESULTS_URL"];if(!i){throw new Error("Unable to get the ACTIONS_RESULTS_URL env variable")}return new URL(i).origin}d.getResultsServiceUrl=getResultsServiceUrl;function isGhes(){const i=new URL(process.env["GITHUB_SERVER_URL"]||"https://github.com");const d=i.hostname.trimEnd().toUpperCase();const p=d==="GITHUB.COM";const v=d.endsWith(".GHE.COM");const V=d.endsWith(".LOCALHOST");return!p&&!v&&!V}d.isGhes=isGhes;function getGitHubWorkspaceDir(){const i=process.env["GITHUB_WORKSPACE"];if(!i){throw new Error("Unable to get the GITHUB_WORKSPACE env variable")}return i}d.getGitHubWorkspaceDir=getGitHubWorkspaceDir;function getConcurrency(){const i=V.default.cpus().length;let d=32;if(i>4){const p=16*i;d=p>300?300:p}const p=process.env["ACTIONS_ARTIFACT_UPLOAD_CONCURRENCY"];if(p){const i=parseInt(p);if(isNaN(i)||i<1){throw new Error("Invalid value set for ACTIONS_ARTIFACT_UPLOAD_CONCURRENCY env variable")}if(i{Object.defineProperty(d,"__esModule",{value:true});d.UsageError=d.NetworkError=d.GHESNotSupportedError=d.ArtifactNotFoundError=d.InvalidResponseError=d.FilesNotFoundError=void 0;class FilesNotFoundError extends Error{constructor(i=[]){let d="No files were found to upload";if(i.length>0){d+=`: ${i.join(", ")}`}super(d);this.files=i;this.name="FilesNotFoundError"}}d.FilesNotFoundError=FilesNotFoundError;class InvalidResponseError extends Error{constructor(i){super(i);this.name="InvalidResponseError"}}d.InvalidResponseError=InvalidResponseError;class ArtifactNotFoundError extends Error{constructor(i="Artifact not found"){super(i);this.name="ArtifactNotFoundError"}}d.ArtifactNotFoundError=ArtifactNotFoundError;class GHESNotSupportedError extends Error{constructor(i="@actions/artifact v2.0.0+, upload-artifact@v4+ and download-artifact@v4+ are not currently supported on GHES."){super(i);this.name="GHESNotSupportedError"}}d.GHESNotSupportedError=GHESNotSupportedError;class NetworkError extends Error{constructor(i){const d=`Unable to make request: ${i}\nIf you are using self-hosted runners, please make sure your runner has access to all GitHub endpoints: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#communication-between-self-hosted-runners-and-github`;super(d);this.code=i;this.name="NetworkError"}}d.NetworkError=NetworkError;NetworkError.isNetworkErrorCode=i=>{if(!i)return false;return["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(i)};class UsageError extends Error{constructor(){const i=`Artifact storage quota has been hit. Unable to upload any new artifacts. Usage is recalculated every 6-12 hours.\nMore info on storage limits: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#calculating-minute-and-storage-spending`;super(i);this.name="UsageError"}}d.UsageError=UsageError;UsageError.isUsageErrorMessage=i=>{if(!i)return false;return i.includes("insufficient usage")}},13776:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true})},89387:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getUserAgentString=void 0;const v=p(2822);function getUserAgentString(){return`@actions/artifact-${v.version}`}d.getUserAgentString=getUserAgentString},41631:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};var ee=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(d,"__esModule",{value:true});d.maskSecretUrls=d.maskSigUrl=d.getBackendIdsFromToken=void 0;const te=K(p(84086));const re=p(72938);const ne=ee(p(79699));const ie=p(84086);const se=new Error("Failed to get backend IDs: The provided JWT token is invalid and/or missing claims");function getBackendIdsFromToken(){const i=(0,re.getRuntimeToken)();const d=(0,ne.default)(i);if(!d.scp){throw se}const p=d.scp.split(" ");if(p.length===0){throw se}for(const i of p){const d=i.split(":");if((d===null||d===void 0?void 0:d[0])!=="Actions.Results"){continue}if(d.length!==3){throw se}const p={workflowRunBackendId:d[1],workflowJobRunBackendId:d[2]};te.debug(`Workflow Run Backend ID: ${p.workflowRunBackendId}`);te.debug(`Workflow Job Run Backend ID: ${p.workflowJobRunBackendId}`);return p}throw se}d.getBackendIdsFromToken=getBackendIdsFromToken;function maskSigUrl(i){if(!i)return;try{const d=new URL(i);const p=d.searchParams.get("sig");if(p){(0,ie.setSecret)(p);(0,ie.setSecret)(encodeURIComponent(p))}}catch(d){(0,ie.debug)(`Failed to parse URL: ${i} ${d instanceof Error?d.message:String(d)}`)}}d.maskSigUrl=maskSigUrl;function maskSecretUrls(i){if(typeof i!=="object"||i===null){(0,ie.debug)("body is not an object or is null");return}if("signed_upload_url"in i&&typeof i.signed_upload_url==="string"){maskSigUrl(i.signed_upload_url)}if("signed_url"in i&&typeof i.signed_url==="string"){maskSigUrl(i.signed_url)}}d.maskSecretUrls=maskSecretUrls},30645:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};var ee=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.uploadZipToBlobStorage=void 0;const te=p(71400);const re=p(72938);const ne=K(p(84086));const ie=K(p(76982));const se=K(p(2203));const oe=p(45655);function uploadZipToBlobStorage(i,d){return ee(this,void 0,void 0,(function*(){let p=0;let v=Date.now();const V=new AbortController;const chunkTimer=i=>ee(this,void 0,void 0,(function*(){return new Promise(((d,p)=>{const K=setInterval((()=>{if(Date.now()-v>i){p(new Error("Upload progress stalled."))}}),i);V.signal.addEventListener("abort",(()=>{clearInterval(K);d()}))}))}));const K=(0,re.getConcurrency)();const ae=(0,re.getUploadChunkSize)();const ce=new te.BlobClient(i);const le=ce.getBlockBlobClient();ne.debug(`Uploading artifact zip to blob storage with maxConcurrency: ${K}, bufferSize: ${ae}`);const uploadCallback=i=>{ne.info(`Uploaded bytes ${i.loadedBytes}`);p=i.loadedBytes;v=Date.now()};const ue={blobHTTPHeaders:{blobContentType:"zip"},onProgress:uploadCallback,abortSignal:V.signal};let Ae=undefined;const de=new se.PassThrough;const pe=ie.createHash("sha256");d.pipe(de);d.pipe(pe).setEncoding("hex");ne.info("Beginning upload of artifact content to blob storage");try{yield Promise.race([le.uploadStream(de,ae,K,ue),chunkTimer((0,re.getUploadChunkTimeout)())])}catch(i){if(oe.NetworkError.isNetworkErrorCode(i===null||i===void 0?void 0:i.code)){throw new oe.NetworkError(i===null||i===void 0?void 0:i.code)}throw i}finally{V.abort()}ne.info("Finished uploading artifact content to blob storage!");pe.end();Ae=pe.read();ne.info(`SHA256 digest of uploaded artifact zip is ${Ae}`);if(p===0){ne.warning(`No data was uploaded to blob storage. Reported upload byte count is 0.`)}return{uploadSize:p,sha256Hash:Ae}}))}d.uploadZipToBlobStorage=uploadZipToBlobStorage},89190:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.validateFilePath=d.validateArtifactName=void 0;const v=p(84086);const V=new Map([['"',' Double quote "'],[":"," Colon :"],["<"," Less than <"],[">"," Greater than >"],["|"," Vertical bar |"],["*"," Asterisk *"],["?"," Question mark ?"],["\r"," Carriage return \\r"],["\n"," Line feed \\n"]]);const K=new Map([...V,["\\"," Backslash \\"],["/"," Forward slash /"]]);function validateArtifactName(i){if(!i){throw new Error(`Provided artifact name input during validation is empty`)}for(const[d,p]of K){if(i.includes(d)){throw new Error(`The artifact name is not valid: ${i}. Contains the following character: ${p}\n \nInvalid characters include: ${Array.from(K.values()).toString()}\n \nThese characters are not allowed in the artifact name due to limitations with certain file systems such as NTFS. To maintain file system agnostic behavior, these characters are intentionally not allowed to prevent potential problems with downloads on different file systems.`)}}(0,v.info)(`Artifact name is valid!`)}d.validateArtifactName=validateArtifactName;function validateFilePath(i){if(!i){throw new Error(`Provided file path input during validation is empty`)}for(const[d,p]of V){if(i.includes(d)){throw new Error(`The path for one of the files in artifact is not valid: ${i}. Contains the following character: ${p}\n \nInvalid characters include: ${Array.from(V.values()).toString()}\n \nThe following characters are not allowed in files that are uploaded due to limitations with certain file systems such as NTFS. To maintain file system agnostic behavior, these characters are intentionally not allowed to prevent potential problems with downloads on different file systems.\n `)}}}d.validateFilePath=validateFilePath},47252:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};Object.defineProperty(d,"__esModule",{value:true});d.getExpiration=void 0;const ee=p(44216);const te=K(p(84086));function getExpiration(i){if(!i){return undefined}const d=getRetentionDays();if(d&&di.sourcePath?[i.sourcePath]:[])))}const K=(0,oe.getBackendIdsFromToken)();const ee=(0,ie.internalArtifactTwirpClient)();const Ae={workflowRunBackendId:K.workflowRunBackendId,workflowJobRunBackendId:K.workflowJobRunBackendId,name:i,version:4};const de=(0,re.getExpiration)(v===null||v===void 0?void 0:v.retentionDays);if(de){Ae.expiresAt=de}const pe=yield ee.CreateArtifact(Ae);if(!pe.ok){throw new ue.InvalidResponseError("CreateArtifact: response from backend was not ok")}const fe=yield(0,ce.createZipUploadStream)(V,v===null||v===void 0?void 0:v.compressionLevel);const he=yield(0,ae.uploadZipToBlobStorage)(pe.signedUploadUrl,fe);const ge={workflowRunBackendId:K.workflowRunBackendId,workflowJobRunBackendId:K.workflowJobRunBackendId,name:i,size:he.uploadSize?he.uploadSize.toString():"0"};if(he.sha256Hash){ge.hash=le.StringValue.create({value:`sha256:${he.sha256Hash}`})}te.info(`Finalizing artifact upload`);const me=yield ee.FinalizeArtifact(ge);if(!me.ok){throw new ue.InvalidResponseError("FinalizeArtifact: response from backend was not ok")}const Ee=BigInt(me.artifactId);te.info(`Artifact ${i}.zip successfully finalized. Artifact ID ${Ee}`);return{size:he.uploadSize,digest:he.sha256Hash,id:Number(Ee)}}))}d.uploadArtifact=uploadArtifact},5067:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};Object.defineProperty(d,"__esModule",{value:true});d.getUploadZipSpecification=d.validateRootDirectory=void 0;const ee=K(p(79896));const te=p(84086);const re=p(16928);const ne=p(89190);function validateRootDirectory(i){if(!ee.existsSync(i)){throw new Error(`The provided rootDirectory ${i} does not exist`)}if(!ee.statSync(i).isDirectory()){throw new Error(`The provided rootDirectory ${i} is not a valid directory`)}(0,te.info)(`Root directory input is valid!`)}d.validateRootDirectory=validateRootDirectory;function getUploadZipSpecification(i,d){const p=[];d=(0,re.normalize)(d);d=(0,re.resolve)(d);for(let v of i){const i=ee.lstatSync(v,{throwIfNoEntry:false});if(!i){throw new Error(`File ${v} does not exist`)}if(!i.isDirectory()){v=(0,re.normalize)(v);v=(0,re.resolve)(v);if(!v.startsWith(d)){throw new Error(`The rootDirectory: ${d} is not a parent directory of the file: ${v}`)}const V=v.replace(d,"");(0,ne.validateFilePath)(V);p.push({sourcePath:v,destinationPath:V,stats:i})}else{const V=v.replace(d,"");(0,ne.validateFilePath)(V);p.push({sourcePath:null,destinationPath:V,stats:i})}}return p}d.getUploadZipSpecification=getUploadZipSpecification},37257:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};var ee=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.createZipUploadStream=d.ZipUploadStream=d.DEFAULT_COMPRESSION_LEVEL=void 0;const te=K(p(2203));const re=p(91943);const ne=K(p(99392));const ie=K(p(84086));const se=p(72938);d.DEFAULT_COMPRESSION_LEVEL=6;class ZipUploadStream extends te.Transform{constructor(i){super({highWaterMark:i})}_transform(i,d,p){p(null,i)}}d.ZipUploadStream=ZipUploadStream;function createZipUploadStream(i){return ee(this,arguments,void 0,(function*(i,p=d.DEFAULT_COMPRESSION_LEVEL){ie.debug(`Creating Artifact archive with compressionLevel: ${p}`);const v=ne.create("zip",{highWaterMark:(0,se.getUploadChunkSize)(),zlib:{level:p}});v.on("error",zipErrorCallback);v.on("warning",zipWarningCallback);v.on("finish",zipFinishCallback);v.on("end",zipEndCallback);for(const d of i){if(d.sourcePath!==null){let i=d.sourcePath;if(d.stats.isSymbolicLink()){i=yield(0,re.realpath)(d.sourcePath)}v.file(i,{name:d.destinationPath})}else{v.append("",{name:d.destinationPath})}}const V=(0,se.getUploadChunkSize)();const K=new ZipUploadStream(V);ie.debug(`Zip write high watermark value ${K.writableHighWaterMark}`);ie.debug(`Zip read high watermark value ${K.readableHighWaterMark}`);v.pipe(K);v.finalize();return K}))}d.createZipUploadStream=createZipUploadStream;const zipErrorCallback=i=>{ie.error("An error has occurred while creating the zip file for upload");ie.info(i);throw new Error("An error has occurred during zip creation for the artifact")};const zipWarningCallback=i=>{if(i.code==="ENOENT"){ie.warning("ENOENT warning during artifact zip creation. No such file or directory");ie.info(i)}else{ie.warning(`A non-blocking warning has occurred during artifact zip creation: ${i.code}`);ie.info(i)}};const zipFinishCallback=()=>{ie.debug("Zip stream for upload has finished.")};const zipEndCallback=()=>{ie.debug("Zip stream for upload has ended.")}},61800:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K0){i+=" ";let d=true;for(const p in this.properties){if(this.properties.hasOwnProperty(p)){const v=this.properties[p];if(v){if(d){d=false}else{i+=","}i+=`${p}=${escapeProperty(v)}`}}}}i+=`${re}${escapeData(this.message)}`;return i}}function escapeData(i){return(0,te.toCommandValue)(i).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(i){return(0,te.toCommandValue)(i).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},84086:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Ki!==""));if(d&&d.trimWhitespace===false){return p}return p.map((i=>i.trim()))}function getBooleanInput(i,d){const p=["true","True","TRUE"];const v=["false","False","FALSE"];const V=getInput(i,d);if(p.includes(V))return true;if(v.includes(V))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${i}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}function setOutput(i,d){const p=process.env["GITHUB_OUTPUT"]||"";if(p){return(0,re.issueFileCommand)("OUTPUT",(0,re.prepareKeyValueMessage)(i,d))}process.stdout.write(ie.EOL);(0,te.issueCommand)("set-output",{name:i},(0,ne.toCommandValue)(d))}function setCommandEcho(i){(0,te.issue)("echo",i?"on":"off")}function setFailed(i){process.exitCode=ae.Failure;error(i)}function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}function debug(i){(0,te.issueCommand)("debug",{},i)}function error(i,d={}){(0,te.issueCommand)("error",(0,ne.toCommandProperties)(d),i instanceof Error?i.toString():i)}function warning(i,d={}){(0,te.issueCommand)("warning",(0,ne.toCommandProperties)(d),i instanceof Error?i.toString():i)}function notice(i,d={}){(0,te.issueCommand)("notice",(0,ne.toCommandProperties)(d),i instanceof Error?i.toString():i)}function info(i){process.stdout.write(i+ie.EOL)}function startGroup(i){(0,te.issue)("group",i)}function endGroup(){(0,te.issue)("endgroup")}function group(i,d){return ee(this,void 0,void 0,(function*(){startGroup(i);let p;try{p=yield d()}finally{endGroup()}return p}))}function saveState(i,d){const p=process.env["GITHUB_STATE"]||"";if(p){return(0,re.issueFileCommand)("STATE",(0,re.prepareKeyValueMessage)(i,d))}(0,te.issueCommand)("save-state",{name:i},(0,ne.toCommandValue)(d))}function getState(i){return process.env[`STATE_${i}`]||""}function getIDToken(i){return ee(this,void 0,void 0,(function*(){return yield oe.OidcClient.getIDToken(i)}))}var ce=p(38073);Object.defineProperty(d,"summary",{enumerable:true,get:function(){return ce.summary}});var le=p(38073);Object.defineProperty(d,"markdownSummary",{enumerable:true,get:function(){return le.markdownSummary}});var ue=p(42674);Object.defineProperty(d,"toPosixPath",{enumerable:true,get:function(){return ue.toPosixPath}});Object.defineProperty(d,"toWin32Path",{enumerable:true,get:function(){return ue.toWin32Path}});Object.defineProperty(d,"toPlatformPath",{enumerable:true,get:function(){return ue.toPlatformPath}});d.platform=K(p(90954))},86991:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K{throw new Error(`Failed to get ID Token. \n \n Error Code : ${i.statusCode}\n \n Error Message: ${i.message}`)}));const V=(d=v.result)===null||d===void 0?void 0:d.value;if(!V){throw new Error("Response json body do not have ID Token field")}return V}))}static getIDToken(i){return v(this,void 0,void 0,(function*(){try{let d=OidcClient.getIDTokenUrl();if(i){const p=encodeURIComponent(i);d=`${d}&audience=${p}`}(0,ee.debug)(`ID token url is ${d}`);const p=yield OidcClient.getCall(d);(0,ee.setSecret)(p);return p}catch(i){throw new Error(`Error message: ${i.message}`)}}))}}d.OidcClient=OidcClient},42674:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Kee(void 0,void 0,void 0,(function*(){const{stdout:i}=yield ne.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',undefined,{silent:true});const{stdout:d}=yield ne.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',undefined,{silent:true});return{name:d.trim(),version:i.trim()}}));const getMacOsInfo=()=>ee(void 0,void 0,void 0,(function*(){var i,d,p,v;const{stdout:V}=yield ne.getExecOutput("sw_vers",undefined,{silent:true});const K=(d=(i=V.match(/ProductVersion:\s*(.+)/))===null||i===void 0?void 0:i[1])!==null&&d!==void 0?d:"";const ee=(v=(p=V.match(/ProductName:\s*(.+)/))===null||p===void 0?void 0:p[1])!==null&&v!==void 0?v:"";return{name:ee,version:K}}));const getLinuxInfo=()=>ee(void 0,void 0,void 0,(function*(){const{stdout:i}=yield ne.getExecOutput("lsb_release",["-i","-r","-s"],{silent:true});const[d,p]=i.trim().split("\n");return{name:d,version:p}}));d.platform=re.default.platform();d.arch=re.default.arch();d.isWindows=d.platform==="win32";d.isMacOS=d.platform==="darwin";d.isLinux=d.platform==="linux";function getDetails(){return ee(this,void 0,void 0,(function*(){return Object.assign(Object.assign({},yield d.isWindows?getWindowsInfo():d.isMacOS?getMacOsInfo():getLinuxInfo()),{platform:d.platform,arch:d.arch,isWindows:d.isWindows,isMacOS:d.isMacOS,isLinux:d.isLinux})}))}},38073:function(i,d,p){var v=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.summary=d.markdownSummary=d.SUMMARY_DOCS_URL=d.SUMMARY_ENV_VAR=void 0;const V=p(70857);const K=p(79896);const{access:ee,appendFile:te,writeFile:re}=K.promises;d.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";d.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 v(this,void 0,void 0,(function*(){if(this._filePath){return this._filePath}const i=process.env[d.SUMMARY_ENV_VAR];if(!i){throw new Error(`Unable to find environment variable for $${d.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`)}try{yield ee(i,K.constants.R_OK|K.constants.W_OK)}catch(d){throw new Error(`Unable to access summary file: '${i}'. Check if the file has correct read/write permissions.`)}this._filePath=i;return this._filePath}))}wrap(i,d,p={}){const v=Object.entries(p).map((([i,d])=>` ${i}="${d}"`)).join("");if(!d){return`<${i}${v}>`}return`<${i}${v}>${d}`}write(i){return v(this,void 0,void 0,(function*(){const d=!!(i===null||i===void 0?void 0:i.overwrite);const p=yield this.filePath();const v=d?re:te;yield v(p,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return v(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(i,d=false){this._buffer+=i;return d?this.addEOL():this}addEOL(){return this.addRaw(V.EOL)}addCodeBlock(i,d){const p=Object.assign({},d&&{lang:d});const v=this.wrap("pre",this.wrap("code",i),p);return this.addRaw(v).addEOL()}addList(i,d=false){const p=d?"ol":"ul";const v=i.map((i=>this.wrap("li",i))).join("");const V=this.wrap(p,v);return this.addRaw(V).addEOL()}addTable(i){const d=i.map((i=>{const d=i.map((i=>{if(typeof i==="string"){return this.wrap("td",i)}const{header:d,data:p,colspan:v,rowspan:V}=i;const K=d?"th":"td";const ee=Object.assign(Object.assign({},v&&{colspan:v}),V&&{rowspan:V});return this.wrap(K,p,ee)})).join("");return this.wrap("tr",d)})).join("");const p=this.wrap("table",d);return this.addRaw(p).addEOL()}addDetails(i,d){const p=this.wrap("details",this.wrap("summary",i)+d);return this.addRaw(p).addEOL()}addImage(i,d,p){const{width:v,height:V}=p||{};const K=Object.assign(Object.assign({},v&&{width:v}),V&&{height:V});const ee=this.wrap("img",null,Object.assign({src:i,alt:d},K));return this.addRaw(ee).addEOL()}addHeading(i,d){const p=`h${d}`;const v=["h1","h2","h3","h4","h5","h6"].includes(p)?p:"h1";const V=this.wrap(v,i);return this.addRaw(V).addEOL()}addSeparator(){const i=this.wrap("hr",null);return this.addRaw(i).addEOL()}addBreak(){const i=this.wrap("br",null);return this.addRaw(i).addEOL()}addQuote(i,d){const p=Object.assign({},d&&{cite:d});const v=this.wrap("blockquote",i,p);return this.addRaw(v).addEOL()}addLink(i,d){const p=this.wrap("a",i,{href:d});return this.addRaw(p).addEOL()}}const ne=new Summary;d.markdownSummary=ne;d.summary=ne},57420:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.toCommandValue=toCommandValue;d.toCommandProperties=toCommandProperties;function toCommandValue(i){if(i===null||i===undefined){return""}else if(typeof i==="string"||i instanceof String){return i}return JSON.stringify(i)}function toCommandProperties(i){if(!Object.keys(i).length){return{}}return{title:i.title,file:i.file,line:i.startLine,endLine:i.endLine,col:i.startColumn,endColumn:i.endColumn}}},26784:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});const p="1.0.4";function requestLog(i){i.hook.wrap("request",((d,p)=>{i.log.debug("request",p);const v=Date.now();const V=i.request.endpoint.parse(p);const K=V.url.replace(p.baseUrl,"");return d(p).then((d=>{i.log.info(`${V.method} ${K} - ${d.status} in ${Date.now()-v}ms`);return d})).catch((d=>{i.log.info(`${V.method} ${K} - ${d.status} in ${Date.now()-v}ms`);throw d}))}))}requestLog.VERSION=p;d.requestLog=requestLog},5116:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K512){throw new ValidationError(`Key Validation Error: ${i} cannot be larger than 512 characters.`)}const d=/^[^,]*$/;if(!d.test(i)){throw new ValidationError(`Key Validation Error: ${i} cannot contain commas.`)}}function isFeatureAvailable(){const i=(0,oe.getCacheServiceVersion)();switch(i){case"v2":return!!process.env["ACTIONS_RESULTS_URL"];case"v1":default:return!!process.env["ACTIONS_CACHE_URL"]}}function restoreCache(i,d,p,v){return ee(this,arguments,void 0,(function*(i,d,p,v,V=false){const K=(0,oe.getCacheServiceVersion)();te.debug(`Cache service version: ${K}`);checkPaths(i);switch(K){case"v2":return yield restoreCacheV2(i,d,p,v,V);case"v1":default:return yield restoreCacheV1(i,d,p,v,V)}}))}function restoreCacheV1(i,d,p,v){return ee(this,arguments,void 0,(function*(i,d,p,v,V=false){p=p||[];const K=[d,...p];te.debug("Resolved Keys:");te.debug(JSON.stringify(K));if(K.length>10){throw new ValidationError(`Key Validation Error: Keys are limited to a maximum of 10.`)}for(const i of K){checkKey(i)}const ee=yield ne.getCompressionMethod();let se="";try{const d=yield ie.getCacheEntry(K,i,{compressionMethod:ee,enableCrossOsArchive:V});if(!(d===null||d===void 0?void 0:d.archiveLocation)){return undefined}if(v===null||v===void 0?void 0:v.lookupOnly){te.info("Lookup only - skipping download");return d.cacheKey}se=re.join(yield ne.createTempDirectory(),ne.getCacheFileName(ee));te.debug(`Archive Path: ${se}`);yield ie.downloadCache(d.archiveLocation,se,v);if(te.isDebug()){yield(0,ae.listTar)(se,ee)}const p=ne.getArchiveFileSizeInBytes(se);te.info(`Cache Size: ~${Math.round(p/(1024*1024))} MB (${p} B)`);yield(0,ae.extractTar)(se,ee);te.info("Cache restored successfully");return d.cacheKey}catch(i){const d=i;if(d.name===ValidationError.name){throw i}else{if(d instanceof ce.HttpClientError&&typeof d.statusCode==="number"&&d.statusCode>=500){te.error(`Failed to restore: ${i.message}`)}else{te.warning(`Failed to restore: ${i.message}`)}}}finally{try{yield ne.unlinkFile(se)}catch(i){te.debug(`Failed to delete archive: ${i}`)}}return undefined}))}function restoreCacheV2(i,d,p,v){return ee(this,arguments,void 0,(function*(i,d,p,v,V=false){v=Object.assign(Object.assign({},v),{useAzureSdk:true});p=p||[];const K=[d,...p];te.debug("Resolved Keys:");te.debug(JSON.stringify(K));if(K.length>10){throw new ValidationError(`Key Validation Error: Keys are limited to a maximum of 10.`)}for(const i of K){checkKey(i)}let ee="";try{const oe=se.internalCacheTwirpClient();const ce=yield ne.getCompressionMethod();const le={key:d,restoreKeys:p,version:ne.getCacheVersion(i,ce,V)};const ue=yield oe.GetCacheEntryDownloadURL(le);if(!ue.ok){te.debug(`Cache not found for version ${le.version} of keys: ${K.join(", ")}`);return undefined}const Ae=le.key!==ue.matchedKey;if(Ae){te.info(`Cache hit for restore-key: ${ue.matchedKey}`)}else{te.info(`Cache hit for: ${ue.matchedKey}`)}if(v===null||v===void 0?void 0:v.lookupOnly){te.info("Lookup only - skipping download");return ue.matchedKey}ee=re.join(yield ne.createTempDirectory(),ne.getCacheFileName(ce));te.debug(`Archive path: ${ee}`);te.debug(`Starting download of archive to: ${ee}`);yield ie.downloadCache(ue.signedDownloadUrl,ee,v);const de=ne.getArchiveFileSizeInBytes(ee);te.info(`Cache Size: ~${Math.round(de/(1024*1024))} MB (${de} B)`);if(te.isDebug()){yield(0,ae.listTar)(ee,ce)}yield(0,ae.extractTar)(ee,ce);te.info("Cache restored successfully");return ue.matchedKey}catch(i){const d=i;if(d.name===ValidationError.name){throw i}else{if(d instanceof ce.HttpClientError&&typeof d.statusCode==="number"&&d.statusCode>=500){te.error(`Failed to restore: ${i.message}`)}else{te.warning(`Failed to restore: ${i.message}`)}}}finally{try{if(ee){yield ne.unlinkFile(ee)}}catch(i){te.debug(`Failed to delete archive: ${i}`)}}return undefined}))}function saveCache(i,d,p){return ee(this,arguments,void 0,(function*(i,d,p,v=false){const V=(0,oe.getCacheServiceVersion)();te.debug(`Cache service version: ${V}`);checkPaths(i);checkKey(d);switch(V){case"v2":return yield saveCacheV2(i,d,p,v);case"v1":default:return yield saveCacheV1(i,d,p,v)}}))}function saveCacheV1(i,d,p){return ee(this,arguments,void 0,(function*(i,d,p,v=false){var V,K,ee,se,le;const ue=yield ne.getCompressionMethod();let Ae=-1;const de=yield ne.resolvePaths(i);te.debug("Cache Paths:");te.debug(`${JSON.stringify(de)}`);if(de.length===0){throw new Error(`Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.`)}const pe=yield ne.createTempDirectory();const fe=re.join(pe,ne.getCacheFileName(ue));te.debug(`Archive Path: ${fe}`);try{yield(0,ae.createTar)(pe,de,ue);if(te.isDebug()){yield(0,ae.listTar)(fe,ue)}const re=10*1024*1024*1024;const ce=ne.getArchiveFileSizeInBytes(fe);te.debug(`File Size: ${ce}`);if(ce>re&&!(0,oe.isGhes)()){throw new Error(`Cache size of ~${Math.round(ce/(1024*1024))} MB (${ce} B) is over the 10GB limit, not saving cache.`)}te.debug("Reserving Cache");const he=yield ie.reserveCache(d,i,{compressionMethod:ue,enableCrossOsArchive:v,cacheSize:ce});if((V=he===null||he===void 0?void 0:he.result)===null||V===void 0?void 0:V.cacheId){Ae=(K=he===null||he===void 0?void 0:he.result)===null||K===void 0?void 0:K.cacheId}else if((he===null||he===void 0?void 0:he.statusCode)===400){throw new Error((se=(ee=he===null||he===void 0?void 0:he.error)===null||ee===void 0?void 0:ee.message)!==null&&se!==void 0?se:`Cache size of ~${Math.round(ce/(1024*1024))} MB (${ce} B) is over the data cap limit, not saving cache.`)}else{throw new ReserveCacheError(`Unable to reserve cache with key ${d}, another job may be creating this cache. More details: ${(le=he===null||he===void 0?void 0:he.error)===null||le===void 0?void 0:le.message}`)}te.debug(`Saving Cache (ID: ${Ae})`);yield ie.saveCache(Ae,fe,"",p)}catch(i){const d=i;if(d.name===ValidationError.name){throw i}else if(d.name===ReserveCacheError.name){te.info(`Failed to save: ${d.message}`)}else{if(d instanceof ce.HttpClientError&&typeof d.statusCode==="number"&&d.statusCode>=500){te.error(`Failed to save: ${d.message}`)}else{te.warning(`Failed to save: ${d.message}`)}}}finally{try{yield ne.unlinkFile(fe)}catch(i){te.debug(`Failed to delete archive: ${i}`)}}return Ae}))}function saveCacheV2(i,d,p){return ee(this,arguments,void 0,(function*(i,d,p,v=false){p=Object.assign(Object.assign({},p),{uploadChunkSize:64*1024*1024,uploadConcurrency:8,useAzureSdk:true});const V=yield ne.getCompressionMethod();const K=se.internalCacheTwirpClient();let ee=-1;const oe=yield ne.resolvePaths(i);te.debug("Cache Paths:");te.debug(`${JSON.stringify(oe)}`);if(oe.length===0){throw new Error(`Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.`)}const le=yield ne.createTempDirectory();const ue=re.join(le,ne.getCacheFileName(V));te.debug(`Archive Path: ${ue}`);try{yield(0,ae.createTar)(le,oe,V);if(te.isDebug()){yield(0,ae.listTar)(ue,V)}const re=ne.getArchiveFileSizeInBytes(ue);te.debug(`File Size: ${re}`);p.archiveSizeBytes=re;te.debug("Reserving Cache");const se=ne.getCacheVersion(i,V,v);const ce={key:d,version:se};let Ae;try{const i=yield K.CreateCacheEntry(ce);if(!i.ok){if(i.message){te.warning(`Cache reservation failed: ${i.message}`)}throw new Error(i.message||"Response was not ok")}Ae=i.signedUploadUrl}catch(i){te.debug(`Failed to reserve cache: ${i}`);throw new ReserveCacheError(`Unable to reserve cache with key ${d}, another job may be creating this cache.`)}te.debug(`Attempting to upload cache located at: ${ue}`);yield ie.saveCache(ee,ue,Ae,p);const de={key:d,version:se,sizeBytes:`${re}`};const pe=yield K.FinalizeCacheEntryUpload(de);te.debug(`FinalizeCacheEntryUploadResponse: ${pe.ok}`);if(!pe.ok){if(pe.message){throw new FinalizeCacheError(pe.message)}throw new Error(`Unable to finalize cache with key ${d}, another job may be finalizing this cache.`)}ee=parseInt(pe.entryId)}catch(i){const d=i;if(d.name===ValidationError.name){throw i}else if(d.name===ReserveCacheError.name){te.info(`Failed to save: ${d.message}`)}else if(d.name===FinalizeCacheError.name){te.warning(d.message)}else{if(d instanceof ce.HttpClientError&&typeof d.statusCode==="number"&&d.statusCode>=500){te.error(`Failed to save: ${d.message}`)}else{te.warning(`Failed to save: ${d.message}`)}}}finally{try{yield ne.unlinkFile(ue)}catch(i){te.debug(`Failed to delete archive: ${i}`)}}return ee}))}},93156:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.CacheService=d.GetCacheEntryDownloadURLResponse=d.GetCacheEntryDownloadURLRequest=d.FinalizeCacheEntryUploadResponse=d.FinalizeCacheEntryUploadRequest=d.CreateCacheEntryResponse=d.CreateCacheEntryRequest=void 0;const v=p(76762);const V=p(88372);const K=p(88372);const ee=p(88372);const te=p(88372);const re=p(88372);const ne=p(89444);class CreateCacheEntryRequest$Type extends re.MessageType{constructor(){super("github.actions.results.api.v1.CreateCacheEntryRequest",[{no:1,name:"metadata",kind:"message",T:()=>ne.CacheMetadata},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"version",kind:"scalar",T:9}])}create(i){const d={key:"",version:""};globalThis.Object.defineProperty(d,te.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,ee.reflectionMergePartial)(this,d,i);return d}internalBinaryRead(i,d,p,v){let V=v!==null&&v!==void 0?v:this.create(),ee=i.pos+d;while(i.posne.CacheMetadata},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"size_bytes",kind:"scalar",T:3},{no:4,name:"version",kind:"scalar",T:9}])}create(i){const d={key:"",sizeBytes:"0",version:""};globalThis.Object.defineProperty(d,te.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,ee.reflectionMergePartial)(this,d,i);return d}internalBinaryRead(i,d,p,v){let V=v!==null&&v!==void 0?v:this.create(),ee=i.pos+d;while(i.posne.CacheMetadata},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"restore_keys",kind:"scalar",repeat:2,T:9},{no:4,name:"version",kind:"scalar",T:9}])}create(i){const d={key:"",restoreKeys:[],version:""};globalThis.Object.defineProperty(d,te.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,ee.reflectionMergePartial)(this,d,i);return d}internalBinaryRead(i,d,p,v){let V=v!==null&&v!==void 0?v:this.create(),ee=i.pos+d;while(i.pos{Object.defineProperty(d,"__esModule",{value:true});d.CacheServiceClientProtobuf=d.CacheServiceClientJSON=void 0;const v=p(93156);class CacheServiceClientJSON{constructor(i){this.rpc=i;this.CreateCacheEntry.bind(this);this.FinalizeCacheEntryUpload.bind(this);this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(i){const d=v.CreateCacheEntryRequest.toJson(i,{useProtoFieldName:true,emitDefaultValues:false});const p=this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/json",d);return p.then((i=>v.CreateCacheEntryResponse.fromJson(i,{ignoreUnknownFields:true})))}FinalizeCacheEntryUpload(i){const d=v.FinalizeCacheEntryUploadRequest.toJson(i,{useProtoFieldName:true,emitDefaultValues:false});const p=this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",d);return p.then((i=>v.FinalizeCacheEntryUploadResponse.fromJson(i,{ignoreUnknownFields:true})))}GetCacheEntryDownloadURL(i){const d=v.GetCacheEntryDownloadURLRequest.toJson(i,{useProtoFieldName:true,emitDefaultValues:false});const p=this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",d);return p.then((i=>v.GetCacheEntryDownloadURLResponse.fromJson(i,{ignoreUnknownFields:true})))}}d.CacheServiceClientJSON=CacheServiceClientJSON;class CacheServiceClientProtobuf{constructor(i){this.rpc=i;this.CreateCacheEntry.bind(this);this.FinalizeCacheEntryUpload.bind(this);this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(i){const d=v.CreateCacheEntryRequest.toBinary(i);const p=this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/protobuf",d);return p.then((i=>v.CreateCacheEntryResponse.fromBinary(i)))}FinalizeCacheEntryUpload(i){const d=v.FinalizeCacheEntryUploadRequest.toBinary(i);const p=this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/protobuf",d);return p.then((i=>v.FinalizeCacheEntryUploadResponse.fromBinary(i)))}GetCacheEntryDownloadURL(i){const d=v.GetCacheEntryDownloadURLRequest.toBinary(i);const p=this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/protobuf",d);return p.then((i=>v.GetCacheEntryDownloadURLResponse.fromBinary(i)))}}d.CacheServiceClientProtobuf=CacheServiceClientProtobuf},89444:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.CacheMetadata=void 0;const v=p(88372);const V=p(88372);const K=p(88372);const ee=p(88372);const te=p(88372);const re=p(29425);class CacheMetadata$Type extends te.MessageType{constructor(){super("github.actions.results.entities.v1.CacheMetadata",[{no:1,name:"repository_id",kind:"scalar",T:3},{no:2,name:"scope",kind:"message",repeat:1,T:()=>re.CacheScope}])}create(i){const d={repositoryId:"0",scope:[]};globalThis.Object.defineProperty(d,ee.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,K.reflectionMergePartial)(this,d,i);return d}internalBinaryRead(i,d,p,v){let K=v!==null&&v!==void 0?v:this.create(),ee=i.pos+d;while(i.pos{Object.defineProperty(d,"__esModule",{value:true});d.CacheScope=void 0;const v=p(88372);const V=p(88372);const K=p(88372);const ee=p(88372);const te=p(88372);class CacheScope$Type extends te.MessageType{constructor(){super("github.actions.results.entities.v1.CacheScope",[{no:1,name:"scope",kind:"scalar",T:9},{no:2,name:"permission",kind:"scalar",T:3}])}create(i){const d={scope:"",permission:"0"};globalThis.Object.defineProperty(d,ee.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,K.reflectionMergePartial)(this,d,i);return d}internalBinaryRead(i,d,p,v){let K=v!==null&&v!==void 0?v:this.create(),ee=i.pos+d;while(i.posee(this,void 0,void 0,(function*(){return v.getJson(getCacheApiUrl(K))}))));if(re.statusCode===204){if(te.isDebug()){yield printCachesListForDiagnostics(i[0],v,V)}return null}if(!(0,ue.isSuccessStatusCode)(re.statusCode)){throw new Error(`Cache service responded with ${re.statusCode}`)}const ne=re.result;const ie=ne===null||ne===void 0?void 0:ne.archiveLocation;if(!ie){throw new Error("Cache not found.")}te.setSecret(ie);te.debug(`Cache Result:`);te.debug(JSON.stringify(ne));return ne}))}function printCachesListForDiagnostics(i,d,p){return ee(this,void 0,void 0,(function*(){const v=`caches?key=${encodeURIComponent(i)}`;const V=yield(0,ue.retryTypedResponse)("listCache",(()=>ee(this,void 0,void 0,(function*(){return d.getJson(getCacheApiUrl(v))}))));if(V.statusCode===200){const d=V.result;const v=d===null||d===void 0?void 0:d.totalCount;if(v&&v>0){te.debug(`No matching cache found for cache key '${i}', version '${p} and scope ${process.env["GITHUB_REF"]}. There exist one or more cache(s) with similar key but they have different version or scope. See more info on cache matching here: https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#matching-a-cache-key \nOther caches with similar key:`);for(const i of(d===null||d===void 0?void 0:d.artifactCaches)||[]){te.debug(`Cache Key: ${i===null||i===void 0?void 0:i.cacheKey}, Cache Version: ${i===null||i===void 0?void 0:i.cacheVersion}, Cache Scope: ${i===null||i===void 0?void 0:i.scope}, Cache Created: ${i===null||i===void 0?void 0:i.creationTime}`)}}}}))}function downloadCache(i,d,p){return ee(this,void 0,void 0,(function*(){const v=new se.URL(i);const V=(0,le.getDownloadOptions)(p);if(v.hostname.endsWith(".blob.core.windows.net")){if(V.useAzureSdk){yield(0,ce.downloadCacheStorageSDK)(i,d,V)}else if(V.concurrentBlobDownloads){yield(0,ce.downloadCacheHttpClientConcurrent)(i,d,V)}else{yield(0,ce.downloadCacheHttpClient)(i,d)}}else{yield(0,ce.downloadCacheHttpClient)(i,d)}}))}function reserveCache(i,d,p){return ee(this,void 0,void 0,(function*(){const v=createHttpClient();const V=oe.getCacheVersion(d,p===null||p===void 0?void 0:p.compressionMethod,p===null||p===void 0?void 0:p.enableCrossOsArchive);const K={key:i,version:V,cacheSize:p===null||p===void 0?void 0:p.cacheSize};const te=yield(0,ue.retryTypedResponse)("reserveCache",(()=>ee(this,void 0,void 0,(function*(){return v.postJson(getCacheApiUrl("caches"),K)}))));return te}))}function getContentRange(i,d){return`bytes ${i}-${d}/*`}function uploadChunk(i,d,p,v,V){return ee(this,void 0,void 0,(function*(){te.debug(`Uploading chunk of size ${V-v+1} bytes at offset ${v} with content range: ${getContentRange(v,V)}`);const K={"Content-Type":"application/octet-stream","Content-Range":getContentRange(v,V)};const re=yield(0,ue.retryHttpClientResponse)(`uploadChunk (start: ${v}, end: ${V})`,(()=>ee(this,void 0,void 0,(function*(){return i.sendStream("PATCH",d,p(),K)}))));if(!(0,ue.isSuccessStatusCode)(re.message.statusCode)){throw new Error(`Cache service responded with ${re.message.statusCode} during upload chunk.`)}}))}function uploadFile(i,d,p,v){return ee(this,void 0,void 0,(function*(){const V=oe.getArchiveFileSizeInBytes(p);const K=getCacheApiUrl(`caches/${d.toString()}`);const re=ie.openSync(p,"r");const ne=(0,le.getUploadOptions)(v);const se=oe.assertDefined("uploadConcurrency",ne.uploadConcurrency);const ae=oe.assertDefined("uploadChunkSize",ne.uploadChunkSize);const ce=[...new Array(se).keys()];te.debug("Awaiting all uploads");let ue=0;try{yield Promise.all(ce.map((()=>ee(this,void 0,void 0,(function*(){while(ueie.createReadStream(p,{fd:re,start:v,end:ee,autoClose:false}).on("error",(i=>{throw new Error(`Cache upload failed because file read failed with ${i.message}`)}))),v,ee)}})))))}finally{ie.closeSync(re)}return}))}function commitCache(i,d,p){return ee(this,void 0,void 0,(function*(){const v={size:p};return yield(0,ue.retryTypedResponse)("commitCache",(()=>ee(this,void 0,void 0,(function*(){return i.postJson(getCacheApiUrl(`caches/${d.toString()}`),v)}))))}))}function saveCache(i,d,p,v){return ee(this,void 0,void 0,(function*(){const V=(0,le.getUploadOptions)(v);if(V.useAzureSdk){if(!p){throw new Error("Azure Storage SDK can only be used when a signed URL is provided.")}yield(0,ae.uploadCacheArchiveSDK)(p,d,v)}else{const p=createHttpClient();te.debug("Upload cache");yield uploadFile(p,i,d,v);te.debug("Commiting cache");const V=oe.getArchiveFileSizeInBytes(d);te.info(`Cache Size: ~${Math.round(V/(1024*1024))} MB (${V} B)`);const K=yield commitCache(p,i,V);if(!(0,ue.isSuccessStatusCode)(K.statusCode)){throw new Error(`Cache service responded with ${K.statusCode} during commit cache.`)}te.info("Cache saved successfully")}}))}},98299:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Kp+=i.toString(),stderr:i=>p+=i.toString()}})}catch(i){re.debug(i.message)}p=p.trim();re.debug(p);return p}))}function getCompressionMethod(){return ee(this,void 0,void 0,(function*(){const i=yield getVersion("zstd",["--quiet"]);const d=le.clean(i);re.debug(`zstd version: ${d}`);if(i===""){return Ae.CompressionMethod.Gzip}else{return Ae.CompressionMethod.ZstdWithoutLong}}))}function getCacheFileName(i){return i===Ae.CompressionMethod.Gzip?Ae.CacheFilename.Gzip:Ae.CacheFilename.Zstd}function getGnuTarPathOnWindows(){return ee(this,void 0,void 0,(function*(){if(ae.existsSync(Ae.GnuTarPathOnWindows)){return Ae.GnuTarPathOnWindows}const i=yield getVersion("tar");return i.toLowerCase().includes("gnu tar")?se.which("tar"):""}))}function assertDefined(i,d){if(d===undefined){throw Error(`Expected ${i} but value was undefiend`)}return d}function getCacheVersion(i,d,p=false){const v=i.slice();if(d){v.push(d)}if(process.platform==="win32"&&!p){v.push("windows-only")}v.push(de);return oe.createHash("sha256").update(v.join("|")).digest("hex")}function getRuntimeToken(){const i=process.env["ACTIONS_RUNTIME_TOKEN"];if(!i){throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable")}return i}},17606:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.isGhes=isGhes;d.getCacheServiceVersion=getCacheServiceVersion;d.getCacheServiceURL=getCacheServiceURL;function isGhes(){const i=new URL(process.env["GITHUB_SERVER_URL"]||"https://github.com");const d=i.hostname.trimEnd().toUpperCase();const p=d==="GITHUB.COM";const v=d.endsWith(".GHE.COM");const V=d.endsWith(".LOCALHOST");return!p&&!v&&!V}function getCacheServiceVersion(){if(isGhes())return"v1";return process.env["ACTIONS_CACHE_SERVICE_V2"]?"v2":"v1"}function getCacheServiceURL(){const i=getCacheServiceVersion();switch(i){case"v1":return process.env["ACTIONS_CACHE_URL"]||process.env["ACTIONS_RESULTS_URL"]||"";case"v2":return process.env["ACTIONS_RESULTS_URL"]||"";default:throw new Error(`Unsupported cache service version: ${i}`)}}},58287:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.CacheFileSizeLimit=d.ManifestFilename=d.TarFilename=d.SystemTarPathOnWindows=d.GnuTarPathOnWindows=d.SocketTimeout=d.DefaultRetryDelay=d.DefaultRetryAttempts=d.ArchiveToolType=d.CompressionMethod=d.CacheFilename=void 0;var p;(function(i){i["Gzip"]="cache.tgz";i["Zstd"]="cache.tzst"})(p||(d.CacheFilename=p={}));var v;(function(i){i["Gzip"]="gzip";i["ZstdWithoutLong"]="zstd-without-long";i["Zstd"]="zstd"})(v||(d.CompressionMethod=v={}));var V;(function(i){i["GNU"]="gnu";i["BSD"]="bsd"})(V||(d.ArchiveToolType=V={}));d.DefaultRetryAttempts=2;d.DefaultRetryDelay=5e3;d.SocketTimeout=5e3;d.GnuTarPathOnWindows=`${process.env["PROGRAMFILES"]}\\Git\\usr\\bin\\tar.exe`;d.SystemTarPathOnWindows=`${process.env["SYSTEMDRIVE"]}\\Windows\\System32\\tar.exe`;d.TarFilename="cache.tar";d.ManifestFilename="manifest.txt";d.CacheFileSizeLimit=10*Math.pow(1024,3)},75067:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K{this.setReceivedBytes(i.loadedBytes)}}startDisplayTimer(i=1e3){const displayCallback=()=>{this.display();if(!this.isDone()){this.timeoutHandle=setTimeout(displayCallback,i)}};this.timeoutHandle=setTimeout(displayCallback,i)}stopDisplayTimer(){if(this.timeoutHandle){clearTimeout(this.timeoutHandle);this.timeoutHandle=undefined}this.display()}}d.DownloadProgress=DownloadProgress;function downloadCacheHttpClient(i,d){return ee(this,void 0,void 0,(function*(){const p=se.createWriteStream(d);const v=new re.HttpClient("actions/cache");const V=yield(0,ue.retryHttpClientResponse)("downloadCache",(()=>ee(this,void 0,void 0,(function*(){return v.get(i)}))));V.message.socket.setTimeout(le.SocketTimeout,(()=>{V.message.destroy();te.debug(`Aborting download, socket timed out after ${le.SocketTimeout} ms`)}));yield pipeResponseToStream(V,p);const K=V.message.headers["content-length"];if(K){const i=parseInt(K);const p=ce.getArchiveFileSizeInBytes(d);if(p!==i){throw new Error(`Incomplete download. Expected file size: ${i}, actual file size: ${p}`)}}else{te.debug("Unable to validate download, no Content-Length header")}}))}function downloadCacheHttpClientConcurrent(i,d,p){return ee(this,void 0,void 0,(function*(){var v;const V=yield se.promises.open(d,"w");const K=new re.HttpClient("actions/cache",undefined,{socketTimeout:p.timeoutInMs,keepAlive:true});try{const d=yield(0,ue.retryHttpClientResponse)("downloadCacheMetadata",(()=>ee(this,void 0,void 0,(function*(){return yield K.request("HEAD",i,null,{})}))));const te=d.message.headers["content-length"];if(te===undefined||te===null){throw new Error("Content-Length not found on blob response")}const re=parseInt(te);if(Number.isNaN(re)){throw new Error(`Could not interpret Content-Length: ${re}`)}const ne=[];const ie=4*1024*1024;for(let d=0;dee(this,void 0,void 0,(function*(){return yield downloadSegmentRetry(K,i,d,p)}))})}ne.reverse();let se=0;let oe=0;const ae=new DownloadProgress(re);ae.startDisplayTimer();const ce=ae.onProgress();const le=[];let Ae;const waitAndWrite=()=>ee(this,void 0,void 0,(function*(){const i=yield Promise.race(Object.values(le));yield V.write(i.buffer,0,i.count,i.offset);se--;delete le[i.offset];oe+=i.count;ce({loadedBytes:oe})}));while(Ae=ne.pop()){le[Ae.offset]=Ae.promiseGetter();se++;if(se>=((v=p.downloadConcurrency)!==null&&v!==void 0?v:10)){yield waitAndWrite()}}while(se>0){yield waitAndWrite()}}finally{K.dispose();yield V.close()}}))}function downloadSegmentRetry(i,d,p,v){return ee(this,void 0,void 0,(function*(){const V=5;let K=0;while(true){try{const V=3e4;const K=yield promiseWithTimeout(V,downloadSegment(i,d,p,v));if(typeof K==="string"){throw new Error("downloadSegmentRetry failed due to timeout")}return K}catch(i){if(K>=V){throw i}K++}}}))}function downloadSegment(i,d,p,v){return ee(this,void 0,void 0,(function*(){const V=yield(0,ue.retryHttpClientResponse)("downloadCachePart",(()=>ee(this,void 0,void 0,(function*(){return yield i.get(d,{Range:`bytes=${p}-${p+v-1}`})}))));if(!V.readBodyBuffer){throw new Error("Expected HttpClientResponse to implement readBodyBuffer")}return{offset:p,count:v,buffer:yield V.readBodyBuffer()}}))}function downloadCacheStorageSDK(i,d,p){return ee(this,void 0,void 0,(function*(){var v;const V=new ne.BlockBlobClient(i,undefined,{retryOptions:{tryTimeoutInMs:p.timeoutInMs}});const K=yield V.getProperties();const ee=(v=K.contentLength)!==null&&v!==void 0?v:-1;if(ee<0){te.debug("Unable to determine content length, downloading file with http-client...");yield downloadCacheHttpClient(i,d)}else{const i=Math.min(134217728,ie.constants.MAX_LENGTH);const v=new DownloadProgress(ee);const K=se.openSync(d,"w");try{v.startDisplayTimer();const d=new Ae.AbortController;const te=d.signal;while(!v.isDone()){const re=v.segmentOffset+v.segmentSize;const ne=Math.min(i,ee-re);v.nextSegment(ne);const ie=yield promiseWithTimeout(p.segmentTimeoutInMs||36e5,V.downloadToBuffer(re,ne,{abortSignal:te,concurrency:p.downloadConcurrency,onProgress:v.onProgress()}));if(ie==="timeout"){d.abort();throw new Error("Aborting cache download as the download time exceeded the timeout.")}else if(Buffer.isBuffer(ie)){se.writeFileSync(K,ie)}}}finally{v.stopDisplayTimer();se.closeSync(K)}}}))}const promiseWithTimeout=(i,d)=>ee(void 0,void 0,void 0,(function*(){let p;const v=new Promise((d=>{p=setTimeout((()=>d("timeout")),i)}));return Promise.race([d,v]).then((i=>{clearTimeout(p);return i}))}))},32846:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K=200&&i<300}function isServerErrorStatusCode(i){if(!i){return true}return i>=500}function isRetryableStatusCode(i){if(!i){return false}const d=[re.HttpCodes.BadGateway,re.HttpCodes.ServiceUnavailable,re.HttpCodes.GatewayTimeout];return d.includes(i)}function sleep(i){return ee(this,void 0,void 0,(function*(){return new Promise((d=>setTimeout(d,i)))}))}function retry(i,d,p){return ee(this,arguments,void 0,(function*(i,d,p,v=ne.DefaultRetryAttempts,V=ne.DefaultRetryDelay,K=undefined){let ee="";let re=1;while(re<=v){let ne=undefined;let ie=undefined;let se=false;try{ne=yield d()}catch(i){if(K){ne=K(i)}se=true;ee=i.message}if(ne){ie=p(ne);if(!isServerErrorStatusCode(ie)){return ne}}if(ie){se=isRetryableStatusCode(ie);ee=`Cache service responded with ${ie}`}te.debug(`${i} - Attempt ${re} of ${v} failed with error: ${ee}`);if(!se){te.debug(`${i} - Error is not retryable`);break}yield sleep(V);re++}throw Error(`${i} failed: ${ee}`)}))}function retryTypedResponse(i,d){return ee(this,arguments,void 0,(function*(i,d,p=ne.DefaultRetryAttempts,v=ne.DefaultRetryDelay){return yield retry(i,d,(i=>i.statusCode),p,v,(i=>{if(i instanceof re.HttpClientError){return{statusCode:i.statusCode,result:null,headers:{},error:i}}else{return undefined}}))}))}function retryHttpClientResponse(i,d){return ee(this,arguments,void 0,(function*(i,d,p=ne.DefaultRetryAttempts,v=ne.DefaultRetryDelay){return yield retry(i,d,(i=>i.message.statusCode),p,v)}))}},96819:function(i,d,p){var v=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.internalCacheTwirpClient=internalCacheTwirpClient;const V=p(81206);const K=p(41899);const ee=p(50263);const te=p(17606);const re=p(98299);const ne=p(44552);const ie=p(54844);const se=p(11486);const oe=p(27564);class CacheServiceClient{constructor(i,d,p,v){this.maxAttempts=5;this.baseRetryIntervalMilliseconds=3e3;this.retryMultiplier=1.5;const V=(0,re.getRuntimeToken)();this.baseUrl=(0,te.getCacheServiceURL)();if(d){this.maxAttempts=d}if(p){this.baseRetryIntervalMilliseconds=p}if(v){this.retryMultiplier=v}this.httpClient=new ie.HttpClient(i,[new ne.BearerCredentialHandler(V)])}request(i,d,p,K){return v(this,void 0,void 0,(function*(){const ee=new URL(`/twirp/${i}/${d}`,this.baseUrl).href;(0,V.debug)(`[Request] ${d} ${ee}`);const te={"Content-Type":p};try{const{body:i}=yield this.retryableRequest((()=>v(this,void 0,void 0,(function*(){return this.httpClient.post(ee,JSON.stringify(K),te)}))));return i}catch(i){throw new Error(`Failed to ${d}: ${i.message}`)}}))}retryableRequest(i){return v(this,void 0,void 0,(function*(){let d=0;let p="";let v="";while(d0){(0,V.warning)(`You've hit a rate limit, your rate limit will reset in ${d} seconds`)}}throw new ee.RateLimitError(`Rate limited: ${p}`)}}catch(i){if(i instanceof SyntaxError){(0,V.debug)(`Raw Body: ${v}`)}if(i instanceof ee.UsageError){throw i}if(i instanceof ee.RateLimitError){throw i}if(ee.NetworkError.isNetworkErrorCode(i===null||i===void 0?void 0:i.code)){throw new ee.NetworkError(i===null||i===void 0?void 0:i.code)}K=true;p=i.message}if(!K){throw new Error(`Received non-retryable error: ${p}`)}if(d+1===this.maxAttempts){throw new Error(`Failed to make request after ${this.maxAttempts} attempts: ${p}`)}const te=this.getExponentialRetryTimeMilliseconds(d);(0,V.info)(`Attempt ${d+1} of ${this.maxAttempts} failed with error: ${p}. Retrying request in ${te} ms...`);yield this.sleep(te);d++}throw new Error(`Request failed`)}))}isSuccessStatusCode(i){if(!i)return false;return i>=200&&i<300}isRetryableHttpStatusCode(i){if(!i)return false;const d=[ie.HttpCodes.BadGateway,ie.HttpCodes.GatewayTimeout,ie.HttpCodes.InternalServerError,ie.HttpCodes.ServiceUnavailable];return d.includes(i)}sleep(i){return v(this,void 0,void 0,(function*(){return new Promise((d=>setTimeout(d,i)))}))}getExponentialRetryTimeMilliseconds(i){if(i<0){throw new Error("attempt should be a positive integer")}if(i===0){return this.baseRetryIntervalMilliseconds}const d=this.baseRetryIntervalMilliseconds*Math.pow(this.retryMultiplier,i);const p=d*this.retryMultiplier;return Math.trunc(Math.random()*(p-d)+d)}}function internalCacheTwirpClient(i){const d=new CacheServiceClient((0,K.getUserAgentString)(),i===null||i===void 0?void 0:i.maxAttempts,i===null||i===void 0?void 0:i.retryIntervalMs,i===null||i===void 0?void 0:i.retryMultiplier);return new se.CacheServiceClientJSON(d)}},50263:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.RateLimitError=d.UsageError=d.NetworkError=d.GHESNotSupportedError=d.CacheNotFoundError=d.InvalidResponseError=d.FilesNotFoundError=void 0;class FilesNotFoundError extends Error{constructor(i=[]){let d="No files were found to upload";if(i.length>0){d+=`: ${i.join(", ")}`}super(d);this.files=i;this.name="FilesNotFoundError"}}d.FilesNotFoundError=FilesNotFoundError;class InvalidResponseError extends Error{constructor(i){super(i);this.name="InvalidResponseError"}}d.InvalidResponseError=InvalidResponseError;class CacheNotFoundError extends Error{constructor(i="Cache not found"){super(i);this.name="CacheNotFoundError"}}d.CacheNotFoundError=CacheNotFoundError;class GHESNotSupportedError extends Error{constructor(i="@actions/cache v4.1.4+, actions/cache/save@v4+ and actions/cache/restore@v4+ are not currently supported on GHES."){super(i);this.name="GHESNotSupportedError"}}d.GHESNotSupportedError=GHESNotSupportedError;class NetworkError extends Error{constructor(i){const d=`Unable to make request: ${i}\nIf you are using self-hosted runners, please make sure your runner has access to all GitHub endpoints: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#communication-between-self-hosted-runners-and-github`;super(d);this.code=i;this.name="NetworkError"}}d.NetworkError=NetworkError;NetworkError.isNetworkErrorCode=i=>{if(!i)return false;return["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(i)};class UsageError extends Error{constructor(){const i=`Cache storage quota has been hit. Unable to upload any new cache entries. Usage is recalculated every 6-12 hours.\nMore info on storage limits: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#calculating-minute-and-storage-spending`;super(i);this.name="UsageError"}}d.UsageError=UsageError;UsageError.isUsageErrorMessage=i=>{if(!i)return false;return i.includes("insufficient usage")};class RateLimitError extends Error{constructor(i){super(i);this.name="RateLimitError"}}d.RateLimitError=RateLimitError},41899:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getUserAgentString=getUserAgentString;const v=p(64012);function getUserAgentString(){return`@actions/cache-${v.version}`}},27564:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.maskSigUrl=maskSigUrl;d.maskSecretUrls=maskSecretUrls;const v=p(81206);function maskSigUrl(i){if(!i)return;try{const d=new URL(i);const p=d.searchParams.get("sig");if(p){(0,v.setSecret)(p);(0,v.setSecret)(encodeURIComponent(p))}}catch(d){(0,v.debug)(`Failed to parse URL: ${i} ${d instanceof Error?d.message:String(d)}`)}}function maskSecretUrls(i){if(typeof i!=="object"||i===null){(0,v.debug)("body is not an object or is null");return}if("signed_upload_url"in i&&typeof i.signed_upload_url==="string"){maskSigUrl(i.signed_upload_url)}if("signed_download_url"in i&&typeof i.signed_download_url==="string"){maskSigUrl(i.signed_download_url)}}},95321:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K{this.setSentBytes(i.loadedBytes)}}startDisplayTimer(i=1e3){const displayCallback=()=>{this.display();if(!this.isDone()){this.timeoutHandle=setTimeout(displayCallback,i)}};this.timeoutHandle=setTimeout(displayCallback,i)}stopDisplayTimer(){if(this.timeoutHandle){clearTimeout(this.timeoutHandle);this.timeoutHandle=undefined}this.display()}}d.UploadProgress=UploadProgress;function uploadCacheArchiveSDK(i,d,p){return ee(this,void 0,void 0,(function*(){var v;const V=new re.BlobClient(i);const K=V.getBlockBlobClient();const ee=new UploadProgress((v=p===null||p===void 0?void 0:p.archiveSizeBytes)!==null&&v!==void 0?v:0);const ie={blockSize:p===null||p===void 0?void 0:p.uploadChunkSize,concurrency:p===null||p===void 0?void 0:p.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:ee.onProgress()};try{ee.startDisplayTimer();te.debug(`BlobClient: ${V.name}:${V.accountName}:${V.containerName}`);const i=yield K.uploadFile(d,ie);if(i._response.status>=400){throw new ne.InvalidResponseError(`uploadCacheArchiveSDK: upload failed with status code ${i._response.status}`)}return i}catch(i){te.warning(`uploadCacheArchiveSDK: internal error uploading cache archive: ${i.message}`);throw i}finally{ee.stopDisplayTimer()}}))}},98356:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K0){i+=" ";let d=true;for(const p in this.properties){if(this.properties.hasOwnProperty(p)){const v=this.properties[p];if(v){if(d){d=false}else{i+=","}i+=`${p}=${escapeProperty(v)}`}}}}i+=`${re}${escapeData(this.message)}`;return i}}function escapeData(i){return(0,te.toCommandValue)(i).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(i){return(0,te.toCommandValue)(i).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},81206:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Ki!==""));if(d&&d.trimWhitespace===false){return p}return p.map((i=>i.trim()))}function getBooleanInput(i,d){const p=["true","True","TRUE"];const v=["false","False","FALSE"];const V=getInput(i,d);if(p.includes(V))return true;if(v.includes(V))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${i}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}function setOutput(i,d){const p=process.env["GITHUB_OUTPUT"]||"";if(p){return(0,re.issueFileCommand)("OUTPUT",(0,re.prepareKeyValueMessage)(i,d))}process.stdout.write(ie.EOL);(0,te.issueCommand)("set-output",{name:i},(0,ne.toCommandValue)(d))}function setCommandEcho(i){(0,te.issue)("echo",i?"on":"off")}function setFailed(i){process.exitCode=ae.Failure;error(i)}function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}function debug(i){(0,te.issueCommand)("debug",{},i)}function error(i,d={}){(0,te.issueCommand)("error",(0,ne.toCommandProperties)(d),i instanceof Error?i.toString():i)}function warning(i,d={}){(0,te.issueCommand)("warning",(0,ne.toCommandProperties)(d),i instanceof Error?i.toString():i)}function notice(i,d={}){(0,te.issueCommand)("notice",(0,ne.toCommandProperties)(d),i instanceof Error?i.toString():i)}function info(i){process.stdout.write(i+ie.EOL)}function startGroup(i){(0,te.issue)("group",i)}function endGroup(){(0,te.issue)("endgroup")}function group(i,d){return ee(this,void 0,void 0,(function*(){startGroup(i);let p;try{p=yield d()}finally{endGroup()}return p}))}function saveState(i,d){const p=process.env["GITHUB_STATE"]||"";if(p){return(0,re.issueFileCommand)("STATE",(0,re.prepareKeyValueMessage)(i,d))}(0,te.issueCommand)("save-state",{name:i},(0,ne.toCommandValue)(d))}function getState(i){return process.env[`STATE_${i}`]||""}function getIDToken(i){return ee(this,void 0,void 0,(function*(){return yield oe.OidcClient.getIDToken(i)}))}var ce=p(97401);Object.defineProperty(d,"summary",{enumerable:true,get:function(){return ce.summary}});var le=p(97401);Object.defineProperty(d,"markdownSummary",{enumerable:true,get:function(){return le.markdownSummary}});var ue=p(18546);Object.defineProperty(d,"toPosixPath",{enumerable:true,get:function(){return ue.toPosixPath}});Object.defineProperty(d,"toWin32Path",{enumerable:true,get:function(){return ue.toWin32Path}});Object.defineProperty(d,"toPlatformPath",{enumerable:true,get:function(){return ue.toPlatformPath}});d.platform=K(p(98218))},74799:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K{throw new Error(`Failed to get ID Token. \n \n Error Code : ${i.statusCode}\n \n Error Message: ${i.message}`)}));const V=(d=v.result)===null||d===void 0?void 0:d.value;if(!V){throw new Error("Response json body do not have ID Token field")}return V}))}static getIDToken(i){return v(this,void 0,void 0,(function*(){try{let d=OidcClient.getIDTokenUrl();if(i){const p=encodeURIComponent(i);d=`${d}&audience=${p}`}(0,ee.debug)(`ID token url is ${d}`);const p=yield OidcClient.getCall(d);(0,ee.setSecret)(p);return p}catch(i){throw new Error(`Error message: ${i.message}`)}}))}}d.OidcClient=OidcClient},18546:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Kee(void 0,void 0,void 0,(function*(){const{stdout:i}=yield ne.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',undefined,{silent:true});const{stdout:d}=yield ne.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',undefined,{silent:true});return{name:d.trim(),version:i.trim()}}));const getMacOsInfo=()=>ee(void 0,void 0,void 0,(function*(){var i,d,p,v;const{stdout:V}=yield ne.getExecOutput("sw_vers",undefined,{silent:true});const K=(d=(i=V.match(/ProductVersion:\s*(.+)/))===null||i===void 0?void 0:i[1])!==null&&d!==void 0?d:"";const ee=(v=(p=V.match(/ProductName:\s*(.+)/))===null||p===void 0?void 0:p[1])!==null&&v!==void 0?v:"";return{name:ee,version:K}}));const getLinuxInfo=()=>ee(void 0,void 0,void 0,(function*(){const{stdout:i}=yield ne.getExecOutput("lsb_release",["-i","-r","-s"],{silent:true});const[d,p]=i.trim().split("\n");return{name:d,version:p}}));d.platform=re.default.platform();d.arch=re.default.arch();d.isWindows=d.platform==="win32";d.isMacOS=d.platform==="darwin";d.isLinux=d.platform==="linux";function getDetails(){return ee(this,void 0,void 0,(function*(){return Object.assign(Object.assign({},yield d.isWindows?getWindowsInfo():d.isMacOS?getMacOsInfo():getLinuxInfo()),{platform:d.platform,arch:d.arch,isWindows:d.isWindows,isMacOS:d.isMacOS,isLinux:d.isLinux})}))}},97401:function(i,d,p){var v=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.summary=d.markdownSummary=d.SUMMARY_DOCS_URL=d.SUMMARY_ENV_VAR=void 0;const V=p(70857);const K=p(79896);const{access:ee,appendFile:te,writeFile:re}=K.promises;d.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";d.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 v(this,void 0,void 0,(function*(){if(this._filePath){return this._filePath}const i=process.env[d.SUMMARY_ENV_VAR];if(!i){throw new Error(`Unable to find environment variable for $${d.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`)}try{yield ee(i,K.constants.R_OK|K.constants.W_OK)}catch(d){throw new Error(`Unable to access summary file: '${i}'. Check if the file has correct read/write permissions.`)}this._filePath=i;return this._filePath}))}wrap(i,d,p={}){const v=Object.entries(p).map((([i,d])=>` ${i}="${d}"`)).join("");if(!d){return`<${i}${v}>`}return`<${i}${v}>${d}`}write(i){return v(this,void 0,void 0,(function*(){const d=!!(i===null||i===void 0?void 0:i.overwrite);const p=yield this.filePath();const v=d?re:te;yield v(p,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return v(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(i,d=false){this._buffer+=i;return d?this.addEOL():this}addEOL(){return this.addRaw(V.EOL)}addCodeBlock(i,d){const p=Object.assign({},d&&{lang:d});const v=this.wrap("pre",this.wrap("code",i),p);return this.addRaw(v).addEOL()}addList(i,d=false){const p=d?"ol":"ul";const v=i.map((i=>this.wrap("li",i))).join("");const V=this.wrap(p,v);return this.addRaw(V).addEOL()}addTable(i){const d=i.map((i=>{const d=i.map((i=>{if(typeof i==="string"){return this.wrap("td",i)}const{header:d,data:p,colspan:v,rowspan:V}=i;const K=d?"th":"td";const ee=Object.assign(Object.assign({},v&&{colspan:v}),V&&{rowspan:V});return this.wrap(K,p,ee)})).join("");return this.wrap("tr",d)})).join("");const p=this.wrap("table",d);return this.addRaw(p).addEOL()}addDetails(i,d){const p=this.wrap("details",this.wrap("summary",i)+d);return this.addRaw(p).addEOL()}addImage(i,d,p){const{width:v,height:V}=p||{};const K=Object.assign(Object.assign({},v&&{width:v}),V&&{height:V});const ee=this.wrap("img",null,Object.assign({src:i,alt:d},K));return this.addRaw(ee).addEOL()}addHeading(i,d){const p=`h${d}`;const v=["h1","h2","h3","h4","h5","h6"].includes(p)?p:"h1";const V=this.wrap(v,i);return this.addRaw(V).addEOL()}addSeparator(){const i=this.wrap("hr",null);return this.addRaw(i).addEOL()}addBreak(){const i=this.wrap("br",null);return this.addRaw(i).addEOL()}addQuote(i,d){const p=Object.assign({},d&&{cite:d});const v=this.wrap("blockquote",i,p);return this.addRaw(v).addEOL()}addLink(i,d){const p=this.wrap("a",i,{href:d});return this.addRaw(p).addEOL()}}const ne=new Summary;d.markdownSummary=ne;d.summary=ne},90604:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.toCommandValue=toCommandValue;d.toCommandProperties=toCommandProperties;function toCommandValue(i){if(i===null||i===undefined){return""}else if(typeof i==="string"||i instanceof String){return i}return JSON.stringify(i)}function toCommandProperties(i){if(!Object.keys(i).length){return{}}return{title:i.title,file:i.file,line:i.startLine,endLine:i.endLine,col:i.startColumn,endColumn:i.endColumn}}},39048:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});const p=new WeakMap;const v=new WeakMap;class AbortSignal{constructor(){this.onabort=null;p.set(this,[]);v.set(this,false)}get aborted(){if(!v.has(this)){throw new TypeError("Expected `this` to be an instance of AbortSignal.")}return v.get(this)}static get none(){return new AbortSignal}addEventListener(i,d){if(!p.has(this)){throw new TypeError("Expected `this` to be an instance of AbortSignal.")}const v=p.get(this);v.push(d)}removeEventListener(i,d){if(!p.has(this)){throw new TypeError("Expected `this` to be an instance of AbortSignal.")}const v=p.get(this);const V=v.indexOf(d);if(V>-1){v.splice(V,1)}}dispatchEvent(i){throw new Error("This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes.")}}function abortSignal(i){if(i.aborted){return}if(i.onabort){i.onabort.call(i)}const d=p.get(i);if(d){d.slice().forEach((d=>{d.call(i,{type:"abort"})}))}v.set(i,true)}class AbortError extends Error{constructor(i){super(i);this.name="AbortError"}}class AbortController{constructor(i){this._signal=new AbortSignal;if(!i){return}if(!Array.isArray(i)){i=arguments}for(const d of i){if(d.aborted){this.abort()}else{d.addEventListener("abort",(()=>{this.abort()}))}}}get signal(){return this._signal}abort(){abortSignal(this._signal)}static timeout(i){const d=new AbortSignal;const p=setTimeout(abortSignal,i,d);if(typeof p.unref==="function"){p.unref()}return d}}d.AbortController=AbortController;d.AbortError=AbortError;d.AbortSignal=AbortSignal},23311:function(i,d){var p=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.ClientStreamingCall=void 0;class ClientStreamingCall{constructor(i,d,p,v,V,K,ee){this.method=i;this.requestHeaders=d;this.requests=p;this.headers=v;this.response=V;this.status=K;this.trailers=ee}then(i,d){return this.promiseFinished().then((d=>i?Promise.resolve(i(d)):d),(i=>d?Promise.resolve(d(i)):Promise.reject(i)))}promiseFinished(){return p(this,void 0,void 0,(function*(){let[i,d,p,v]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:i,response:d,status:p,trailers:v}}))}}d.ClientStreamingCall=ClientStreamingCall},69499:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.Deferred=d.DeferredState=void 0;var p;(function(i){i[i["PENDING"]=0]="PENDING";i[i["REJECTED"]=1]="REJECTED";i[i["RESOLVED"]=2]="RESOLVED"})(p=d.DeferredState||(d.DeferredState={}));class Deferred{constructor(i=true){this._state=p.PENDING;this._promise=new Promise(((i,d)=>{this._resolve=i;this._reject=d}));if(i){this._promise.catch((i=>{}))}}get state(){return this._state}get promise(){return this._promise}resolve(i){if(this.state!==p.PENDING)throw new Error(`cannot resolve ${p[this.state].toLowerCase()}`);this._resolve(i);this._state=p.RESOLVED}reject(i){if(this.state!==p.PENDING)throw new Error(`cannot reject ${p[this.state].toLowerCase()}`);this._reject(i);this._state=p.REJECTED}resolvePending(i){if(this._state===p.PENDING)this.resolve(i)}rejectPending(i){if(this._state===p.PENDING)this.reject(i)}}d.Deferred=Deferred},40800:function(i,d){var p=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.DuplexStreamingCall=void 0;class DuplexStreamingCall{constructor(i,d,p,v,V,K,ee){this.method=i;this.requestHeaders=d;this.requests=p;this.headers=v;this.responses=V;this.status=K;this.trailers=ee}then(i,d){return this.promiseFinished().then((d=>i?Promise.resolve(i(d)):d),(i=>d?Promise.resolve(d(i)):Promise.reject(i)))}promiseFinished(){return p(this,void 0,void 0,(function*(){let[i,d,p]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:i,status:d,trailers:p}}))}}d.DuplexStreamingCall=DuplexStreamingCall},76762:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});var v=p(42554);Object.defineProperty(d,"ServiceType",{enumerable:true,get:function(){return v.ServiceType}});var V=p(83402);Object.defineProperty(d,"readMethodOptions",{enumerable:true,get:function(){return V.readMethodOptions}});Object.defineProperty(d,"readMethodOption",{enumerable:true,get:function(){return V.readMethodOption}});Object.defineProperty(d,"readServiceOption",{enumerable:true,get:function(){return V.readServiceOption}});var K=p(50422);Object.defineProperty(d,"RpcError",{enumerable:true,get:function(){return K.RpcError}});var ee=p(63474);Object.defineProperty(d,"mergeRpcOptions",{enumerable:true,get:function(){return ee.mergeRpcOptions}});var te=p(58788);Object.defineProperty(d,"RpcOutputStreamController",{enumerable:true,get:function(){return te.RpcOutputStreamController}});var re=p(37816);Object.defineProperty(d,"TestTransport",{enumerable:true,get:function(){return re.TestTransport}});var ne=p(69499);Object.defineProperty(d,"Deferred",{enumerable:true,get:function(){return ne.Deferred}});Object.defineProperty(d,"DeferredState",{enumerable:true,get:function(){return ne.DeferredState}});var ie=p(40800);Object.defineProperty(d,"DuplexStreamingCall",{enumerable:true,get:function(){return ie.DuplexStreamingCall}});var se=p(23311);Object.defineProperty(d,"ClientStreamingCall",{enumerable:true,get:function(){return se.ClientStreamingCall}});var oe=p(22715);Object.defineProperty(d,"ServerStreamingCall",{enumerable:true,get:function(){return oe.ServerStreamingCall}});var ae=p(80738);Object.defineProperty(d,"UnaryCall",{enumerable:true,get:function(){return ae.UnaryCall}});var ce=p(84359);Object.defineProperty(d,"stackIntercept",{enumerable:true,get:function(){return ce.stackIntercept}});Object.defineProperty(d,"stackDuplexStreamingInterceptors",{enumerable:true,get:function(){return ce.stackDuplexStreamingInterceptors}});Object.defineProperty(d,"stackClientStreamingInterceptors",{enumerable:true,get:function(){return ce.stackClientStreamingInterceptors}});Object.defineProperty(d,"stackServerStreamingInterceptors",{enumerable:true,get:function(){return ce.stackServerStreamingInterceptors}});Object.defineProperty(d,"stackUnaryInterceptors",{enumerable:true,get:function(){return ce.stackUnaryInterceptors}});var le=p(44626);Object.defineProperty(d,"ServerCallContextController",{enumerable:true,get:function(){return le.ServerCallContextController}})},83402:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.readServiceOption=d.readMethodOption=d.readMethodOptions=d.normalizeMethodInfo=void 0;const v=p(88372);function normalizeMethodInfo(i,d){var p,V,K;let ee=i;ee.service=d;ee.localName=(p=ee.localName)!==null&&p!==void 0?p:v.lowerCamelCase(ee.name);ee.serverStreaming=!!ee.serverStreaming;ee.clientStreaming=!!ee.clientStreaming;ee.options=(V=ee.options)!==null&&V!==void 0?V:{};ee.idempotency=(K=ee.idempotency)!==null&&K!==void 0?K:undefined;return ee}d.normalizeMethodInfo=normalizeMethodInfo;function readMethodOptions(i,d,p,v){var V;const K=(V=i.methods.find(((i,p)=>i.localName===d||p===d)))===null||V===void 0?void 0:V.options;return K&&K[p]?v.fromJson(K[p]):undefined}d.readMethodOptions=readMethodOptions;function readMethodOption(i,d,p,v){var V;const K=(V=i.methods.find(((i,p)=>i.localName===d||p===d)))===null||V===void 0?void 0:V.options;if(!K){return undefined}const ee=K[p];if(ee===undefined){return ee}return v?v.fromJson(ee):ee}d.readMethodOption=readMethodOption;function readServiceOption(i,d,p){const v=i.options;if(!v){return undefined}const V=v[d];if(V===undefined){return V}return p?p.fromJson(V):V}d.readServiceOption=readServiceOption},50422:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.RpcError=void 0;class RpcError extends Error{constructor(i,d="UNKNOWN",p){super(i);this.name="RpcError";Object.setPrototypeOf(this,new.target.prototype);this.code=d;this.meta=p!==null&&p!==void 0?p:{}}toString(){const i=[this.name+": "+this.message];if(this.code){i.push("");i.push("Code: "+this.code)}if(this.serviceName&&this.methodName){i.push("Method: "+this.serviceName+"/"+this.methodName)}let d=Object.entries(this.meta);if(d.length){i.push("");i.push("Meta:");for(let[p,v]of d){i.push(` ${p}: ${v}`)}}return i.join("\n")}}d.RpcError=RpcError},84359:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.stackDuplexStreamingInterceptors=d.stackClientStreamingInterceptors=d.stackServerStreamingInterceptors=d.stackUnaryInterceptors=d.stackIntercept=void 0;const v=p(88372);function stackIntercept(i,d,p,V,K){var ee,te,re,ne;if(i=="unary"){let tail=(i,p,v)=>d.unary(i,p,v);for(const i of((ee=V.interceptors)!==null&&ee!==void 0?ee:[]).filter((i=>i.interceptUnary)).reverse()){const d=tail;tail=(p,v,V)=>i.interceptUnary(d,p,v,V)}return tail(p,K,V)}if(i=="serverStreaming"){let tail=(i,p,v)=>d.serverStreaming(i,p,v);for(const i of((te=V.interceptors)!==null&&te!==void 0?te:[]).filter((i=>i.interceptServerStreaming)).reverse()){const d=tail;tail=(p,v,V)=>i.interceptServerStreaming(d,p,v,V)}return tail(p,K,V)}if(i=="clientStreaming"){let tail=(i,p)=>d.clientStreaming(i,p);for(const i of((re=V.interceptors)!==null&&re!==void 0?re:[]).filter((i=>i.interceptClientStreaming)).reverse()){const d=tail;tail=(p,v)=>i.interceptClientStreaming(d,p,v)}return tail(p,V)}if(i=="duplex"){let tail=(i,p)=>d.duplex(i,p);for(const i of((ne=V.interceptors)!==null&&ne!==void 0?ne:[]).filter((i=>i.interceptDuplex)).reverse()){const d=tail;tail=(p,v)=>i.interceptDuplex(d,p,v)}return tail(p,V)}v.assertNever(i)}d.stackIntercept=stackIntercept;function stackUnaryInterceptors(i,d,p,v){return stackIntercept("unary",i,d,v,p)}d.stackUnaryInterceptors=stackUnaryInterceptors;function stackServerStreamingInterceptors(i,d,p,v){return stackIntercept("serverStreaming",i,d,v,p)}d.stackServerStreamingInterceptors=stackServerStreamingInterceptors;function stackClientStreamingInterceptors(i,d,p){return stackIntercept("clientStreaming",i,d,p)}d.stackClientStreamingInterceptors=stackClientStreamingInterceptors;function stackDuplexStreamingInterceptors(i,d,p){return stackIntercept("duplex",i,d,p)}d.stackDuplexStreamingInterceptors=stackDuplexStreamingInterceptors},63474:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.mergeRpcOptions=void 0;const v=p(88372);function mergeRpcOptions(i,d){if(!d)return i;let p={};copy(i,p);copy(d,p);for(let V of Object.keys(d)){let K=d[V];switch(V){case"jsonOptions":p.jsonOptions=v.mergeJsonOptions(i.jsonOptions,p.jsonOptions);break;case"binaryOptions":p.binaryOptions=v.mergeBinaryOptions(i.binaryOptions,p.binaryOptions);break;case"meta":p.meta={};copy(i.meta,p.meta);copy(d.meta,p.meta);break;case"interceptors":p.interceptors=i.interceptors?i.interceptors.concat(K):K.concat();break}}return p}d.mergeRpcOptions=mergeRpcOptions;function copy(i,d){if(!i)return;let p=d;for(let[d,v]of Object.entries(i)){if(v instanceof Date)p[d]=new Date(v.getTime());else if(Array.isArray(v))p[d]=v.concat();else p[d]=v}}},58788:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.RpcOutputStreamController=void 0;const v=p(69499);const V=p(88372);class RpcOutputStreamController{constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]};this._closed=false;this._itState={q:[]}}onNext(i){return this.addLis(i,this._lis.nxt)}onMessage(i){return this.addLis(i,this._lis.msg)}onError(i){return this.addLis(i,this._lis.err)}onComplete(i){return this.addLis(i,this._lis.cmp)}addLis(i,d){d.push(i);return()=>{let p=d.indexOf(i);if(p>=0)d.splice(p,1)}}clearLis(){for(let i of Object.values(this._lis))i.splice(0,i.length)}get closed(){return this._closed!==false}notifyNext(i,d,p){V.assert((i?1:0)+(d?1:0)+(p?1:0)<=1,"only one emission at a time");if(i)this.notifyMessage(i);if(d)this.notifyError(d);if(p)this.notifyComplete()}notifyMessage(i){V.assert(!this.closed,"stream is closed");this.pushIt({value:i,done:false});this._lis.msg.forEach((d=>d(i)));this._lis.nxt.forEach((d=>d(i,undefined,false)))}notifyError(i){V.assert(!this.closed,"stream is closed");this._closed=i;this.pushIt(i);this._lis.err.forEach((d=>d(i)));this._lis.nxt.forEach((d=>d(undefined,i,false)));this.clearLis()}notifyComplete(){V.assert(!this.closed,"stream is closed");this._closed=true;this.pushIt({value:null,done:true});this._lis.cmp.forEach((i=>i()));this._lis.nxt.forEach((i=>i(undefined,undefined,true)));this.clearLis()}[Symbol.asyncIterator](){if(this._closed===true)this.pushIt({value:null,done:true});else if(this._closed!==false)this.pushIt(this._closed);return{next:()=>{let i=this._itState;V.assert(i,"bad state");V.assert(!i.p,"iterator contract broken");let d=i.q.shift();if(d)return"value"in d?Promise.resolve(d):Promise.reject(d);i.p=new v.Deferred;return i.p.promise}}}pushIt(i){let d=this._itState;if(d.p){const p=d.p;V.assert(p.state==v.DeferredState.PENDING,"iterator contract broken");"value"in i?p.resolve(i):p.reject(i);delete d.p}else{d.q.push(i)}}}d.RpcOutputStreamController=RpcOutputStreamController},44626:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.ServerCallContextController=void 0;class ServerCallContextController{constructor(i,d,p,v,V={code:"OK",detail:""}){this._cancelled=false;this._listeners=[];this.method=i;this.headers=d;this.deadline=p;this.trailers={};this._sendRH=v;this.status=V}notifyCancelled(){if(!this._cancelled){this._cancelled=true;for(let i of this._listeners){i()}}}sendResponseHeaders(i){this._sendRH(i)}get cancelled(){return this._cancelled}onCancel(i){const d=this._listeners;d.push(i);return()=>{let p=d.indexOf(i);if(p>=0)d.splice(p,1)}}}d.ServerCallContextController=ServerCallContextController},22715:function(i,d){var p=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.ServerStreamingCall=void 0;class ServerStreamingCall{constructor(i,d,p,v,V,K,ee){this.method=i;this.requestHeaders=d;this.request=p;this.headers=v;this.responses=V;this.status=K;this.trailers=ee}then(i,d){return this.promiseFinished().then((d=>i?Promise.resolve(i(d)):d),(i=>d?Promise.resolve(d(i)):Promise.reject(i)))}promiseFinished(){return p(this,void 0,void 0,(function*(){let[i,d,p]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:i,status:d,trailers:p}}))}}d.ServerStreamingCall=ServerStreamingCall},42554:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ServiceType=void 0;const v=p(83402);class ServiceType{constructor(i,d,p){this.typeName=i;this.methods=d.map((i=>v.normalizeMethodInfo(i,this)));this.options=p!==null&&p!==void 0?p:{}}}d.ServiceType=ServiceType},37816:function(i,d,p){var v=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.TestTransport=void 0;const V=p(50422);const K=p(88372);const ee=p(58788);const te=p(63474);const re=p(80738);const ne=p(22715);const ie=p(23311);const se=p(40800);class TestTransport{constructor(i){this.suppressUncaughtRejections=true;this.headerDelay=10;this.responseDelay=50;this.betweenResponseDelay=10;this.afterResponseDelay=10;this.data=i!==null&&i!==void 0?i:{}}get sentMessages(){if(this.lastInput instanceof TestInputStream){return this.lastInput.sent}else if(typeof this.lastInput=="object"){return[this.lastInput.single]}return[]}get sendComplete(){if(this.lastInput instanceof TestInputStream){return this.lastInput.completed}else if(typeof this.lastInput=="object"){return true}return false}promiseHeaders(){var i;const d=(i=this.data.headers)!==null&&i!==void 0?i:TestTransport.defaultHeaders;return d instanceof V.RpcError?Promise.reject(d):Promise.resolve(d)}promiseSingleResponse(i){if(this.data.response instanceof V.RpcError){return Promise.reject(this.data.response)}let d;if(Array.isArray(this.data.response)){K.assert(this.data.response.length>0);d=this.data.response[0]}else if(this.data.response!==undefined){d=this.data.response}else{d=i.O.create()}K.assert(i.O.is(d));return Promise.resolve(d)}streamResponses(i,d,p){return v(this,void 0,void 0,(function*(){const v=[];if(this.data.response===undefined){v.push(i.O.create())}else if(Array.isArray(this.data.response)){for(let d of this.data.response){K.assert(i.O.is(d));v.push(d)}}else if(!(this.data.response instanceof V.RpcError)){K.assert(i.O.is(this.data.response));v.push(this.data.response)}try{yield delay(this.responseDelay,p)(undefined)}catch(i){d.notifyError(i);return}if(this.data.response instanceof V.RpcError){d.notifyError(this.data.response);return}for(let i of v){d.notifyMessage(i);try{yield delay(this.betweenResponseDelay,p)(undefined)}catch(i){d.notifyError(i);return}}if(this.data.status instanceof V.RpcError){d.notifyError(this.data.status);return}if(this.data.trailers instanceof V.RpcError){d.notifyError(this.data.trailers);return}d.notifyComplete()}))}promiseStatus(){var i;const d=(i=this.data.status)!==null&&i!==void 0?i:TestTransport.defaultStatus;return d instanceof V.RpcError?Promise.reject(d):Promise.resolve(d)}promiseTrailers(){var i;const d=(i=this.data.trailers)!==null&&i!==void 0?i:TestTransport.defaultTrailers;return d instanceof V.RpcError?Promise.reject(d):Promise.resolve(d)}maybeSuppressUncaught(...i){if(this.suppressUncaughtRejections){for(let d of i){d.catch((()=>{}))}}}mergeOptions(i){return te.mergeRpcOptions({},i)}unary(i,d,p){var v;const V=(v=p.meta)!==null&&v!==void 0?v:{},K=this.promiseHeaders().then(delay(this.headerDelay,p.abort)),ee=K.catch((i=>{})).then(delay(this.responseDelay,p.abort)).then((d=>this.promiseSingleResponse(i))),te=ee.catch((i=>{})).then(delay(this.afterResponseDelay,p.abort)).then((i=>this.promiseStatus())),ne=ee.catch((i=>{})).then(delay(this.afterResponseDelay,p.abort)).then((i=>this.promiseTrailers()));this.maybeSuppressUncaught(te,ne);this.lastInput={single:d};return new re.UnaryCall(i,V,d,K,ee,te,ne)}serverStreaming(i,d,p){var v;const V=(v=p.meta)!==null&&v!==void 0?v:{},K=this.promiseHeaders().then(delay(this.headerDelay,p.abort)),te=new ee.RpcOutputStreamController,re=K.then(delay(this.responseDelay,p.abort)).catch((()=>{})).then((()=>this.streamResponses(i,te,p.abort))).then(delay(this.afterResponseDelay,p.abort)),ie=re.then((()=>this.promiseStatus())),se=re.then((()=>this.promiseTrailers()));this.maybeSuppressUncaught(ie,se);this.lastInput={single:d};return new ne.ServerStreamingCall(i,V,d,K,te,ie,se)}clientStreaming(i,d){var p;const v=(p=d.meta)!==null&&p!==void 0?p:{},V=this.promiseHeaders().then(delay(this.headerDelay,d.abort)),K=V.catch((i=>{})).then(delay(this.responseDelay,d.abort)).then((d=>this.promiseSingleResponse(i))),ee=K.catch((i=>{})).then(delay(this.afterResponseDelay,d.abort)).then((i=>this.promiseStatus())),te=K.catch((i=>{})).then(delay(this.afterResponseDelay,d.abort)).then((i=>this.promiseTrailers()));this.maybeSuppressUncaught(ee,te);this.lastInput=new TestInputStream(this.data,d.abort);return new ie.ClientStreamingCall(i,v,this.lastInput,V,K,ee,te)}duplex(i,d){var p;const v=(p=d.meta)!==null&&p!==void 0?p:{},V=this.promiseHeaders().then(delay(this.headerDelay,d.abort)),K=new ee.RpcOutputStreamController,te=V.then(delay(this.responseDelay,d.abort)).catch((()=>{})).then((()=>this.streamResponses(i,K,d.abort))).then(delay(this.afterResponseDelay,d.abort)),re=te.then((()=>this.promiseStatus())),ne=te.then((()=>this.promiseTrailers()));this.maybeSuppressUncaught(re,ne);this.lastInput=new TestInputStream(this.data,d.abort);return new se.DuplexStreamingCall(i,v,this.lastInput,V,K,re,ne)}}d.TestTransport=TestTransport;TestTransport.defaultHeaders={responseHeader:"test"};TestTransport.defaultStatus={code:"OK",detail:"all good"};TestTransport.defaultTrailers={responseTrailer:"test"};function delay(i,d){return p=>new Promise(((v,K)=>{if(d===null||d===void 0?void 0:d.aborted){K(new V.RpcError("user cancel","CANCELLED"))}else{const ee=setTimeout((()=>v(p)),i);if(d){d.addEventListener("abort",(i=>{clearTimeout(ee);K(new V.RpcError("user cancel","CANCELLED"))}))}}}))}class TestInputStream{constructor(i,d){this._completed=false;this._sent=[];this.data=i;this.abort=d}get sent(){return this._sent}get completed(){return this._completed}send(i){if(this.data.inputMessage instanceof V.RpcError){return Promise.reject(this.data.inputMessage)}const d=this.data.inputMessage===undefined?10:this.data.inputMessage;return Promise.resolve(undefined).then((()=>{this._sent.push(i)})).then(delay(d,this.abort))}complete(){if(this.data.inputComplete instanceof V.RpcError){return Promise.reject(this.data.inputComplete)}const i=this.data.inputComplete===undefined?10:this.data.inputComplete;return Promise.resolve(undefined).then((()=>{this._completed=true})).then(delay(i,this.abort))}}},80738:function(i,d){var p=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.UnaryCall=void 0;class UnaryCall{constructor(i,d,p,v,V,K,ee){this.method=i;this.requestHeaders=d;this.request=p;this.headers=v;this.response=V;this.status=K;this.trailers=ee}then(i,d){return this.promiseFinished().then((d=>i?Promise.resolve(i(d)):d),(i=>d?Promise.resolve(d(i)):Promise.reject(i)))}promiseFinished(){return p(this,void 0,void 0,(function*(){let[i,d,p,v]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:i,response:d,status:p,trailers:v}}))}}d.UnaryCall=UnaryCall},46468:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.assertFloat32=d.assertUInt32=d.assertInt32=d.assertNever=d.assert=void 0;function assert(i,d){if(!i){throw new Error(d)}}d.assert=assert;function assertNever(i,d){throw new Error(d!==null&&d!==void 0?d:"Unexpected object: "+i)}d.assertNever=assertNever;const p=34028234663852886e22,v=-34028234663852886e22,V=4294967295,K=2147483647,ee=-2147483648;function assertInt32(i){if(typeof i!=="number")throw new Error("invalid int 32: "+typeof i);if(!Number.isInteger(i)||i>K||iV||i<0)throw new Error("invalid uint 32: "+i)}d.assertUInt32=assertUInt32;function assertFloat32(i){if(typeof i!=="number")throw new Error("invalid float 32: "+typeof i);if(!Number.isFinite(i))return;if(i>p||i{Object.defineProperty(d,"__esModule",{value:true});d.base64encode=d.base64decode=void 0;let p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");let v=[];for(let i=0;i>4;te=ee;K=2;break;case 2:p[V++]=(te&15)<<4|(ee&60)>>2;te=ee;K=3;break;case 3:p[V++]=(te&3)<<6|ee;K=0;break}}if(K==1)throw Error(`invalid base64 string.`);return p.subarray(0,V)}d.base64decode=base64decode;function base64encode(i){let d="",v=0,V,K=0;for(let ee=0;ee>2];K=(V&3)<<4;v=1;break;case 1:d+=p[K|V>>4];K=(V&15)<<2;v=2;break;case 2:d+=p[K|V>>6];d+=p[V&63];v=0;break}}if(v){d+=p[K];d+="=";if(v==1)d+="="}return d}d.base64encode=base64encode},66690:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.WireType=d.mergeBinaryOptions=d.UnknownFieldHandler=void 0;var p;(function(i){i.symbol=Symbol.for("protobuf-ts/unknown");i.onRead=(d,p,v,V,K)=>{let ee=is(p)?p[i.symbol]:p[i.symbol]=[];ee.push({no:v,wireType:V,data:K})};i.onWrite=(d,p,v)=>{for(let{no:d,wireType:V,data:K}of i.list(p))v.tag(d,V).raw(K)};i.list=(d,p)=>{if(is(d)){let v=d[i.symbol];return p?v.filter((i=>i.no==p)):v}return[]};i.last=(d,p)=>i.list(d,p).slice(-1)[0];const is=d=>d&&Array.isArray(d[i.symbol])})(p=d.UnknownFieldHandler||(d.UnknownFieldHandler={}));function mergeBinaryOptions(i,d){return Object.assign(Object.assign({},i),d)}d.mergeBinaryOptions=mergeBinaryOptions;var v;(function(i){i[i["Varint"]=0]="Varint";i[i["Bit64"]=1]="Bit64";i[i["LengthDelimited"]=2]="LengthDelimited";i[i["StartGroup"]=3]="StartGroup";i[i["EndGroup"]=4]="EndGroup";i[i["Bit32"]=5]="Bit32"})(v=d.WireType||(d.WireType={}))},8887:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BinaryReader=d.binaryReadOptions=void 0;const v=p(66690);const V=p(55579);const K=p(20365);const ee={readUnknownField:true,readerFactory:i=>new BinaryReader(i)};function binaryReadOptions(i){return i?Object.assign(Object.assign({},ee),i):ee}d.binaryReadOptions=binaryReadOptions;class BinaryReader{constructor(i,d){this.varint64=K.varint64read;this.uint32=K.varint32read;this.buf=i;this.len=i.length;this.pos=0;this.view=new DataView(i.buffer,i.byteOffset,i.byteLength);this.textDecoder=d!==null&&d!==void 0?d:new TextDecoder("utf-8",{fatal:true,ignoreBOM:true})}tag(){let i=this.uint32(),d=i>>>3,p=i&7;if(d<=0||p<0||p>5)throw new Error("illegal tag: field no "+d+" wire type "+p);return[d,p]}skip(i){let d=this.pos;switch(i){case v.WireType.Varint:while(this.buf[this.pos++]&128){}break;case v.WireType.Bit64:this.pos+=4;case v.WireType.Bit32:this.pos+=4;break;case v.WireType.LengthDelimited:let d=this.uint32();this.pos+=d;break;case v.WireType.StartGroup:let p;while((p=this.tag()[1])!==v.WireType.EndGroup){this.skip(p)}break;default:throw new Error("cant skip wire type "+i)}this.assertBounds();return this.buf.subarray(d,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let i=this.uint32();return i>>>1^-(i&1)}int64(){return new V.PbLong(...this.varint64())}uint64(){return new V.PbULong(...this.varint64())}sint64(){let[i,d]=this.varint64();let p=-(i&1);i=(i>>>1|(d&1)<<31)^p;d=d>>>1^p;return new V.PbLong(i,d)}bool(){let[i,d]=this.varint64();return i!==0||d!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,true)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,true)}fixed64(){return new V.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new V.PbLong(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,true)}double(){return this.view.getFloat64((this.pos+=8)-8,true)}bytes(){let i=this.uint32();let d=this.pos;this.pos+=i;this.assertBounds();return this.buf.subarray(d,d+i)}string(){return this.textDecoder.decode(this.bytes())}}d.BinaryReader=BinaryReader},4839:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BinaryWriter=d.binaryWriteOptions=void 0;const v=p(55579);const V=p(20365);const K=p(46468);const ee={writeUnknownFields:true,writerFactory:()=>new BinaryWriter};function binaryWriteOptions(i){return i?Object.assign(Object.assign({},ee),i):ee}d.binaryWriteOptions=binaryWriteOptions;class BinaryWriter{constructor(i){this.stack=[];this.textEncoder=i!==null&&i!==void 0?i:new TextEncoder;this.chunks=[];this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let i=0;for(let d=0;d>>0)}raw(i){if(this.buf.length){this.chunks.push(new Uint8Array(this.buf));this.buf=[]}this.chunks.push(i);return this}uint32(i){K.assertUInt32(i);while(i>127){this.buf.push(i&127|128);i=i>>>7}this.buf.push(i);return this}int32(i){K.assertInt32(i);V.varint32write(i,this.buf);return this}bool(i){this.buf.push(i?1:0);return this}bytes(i){this.uint32(i.byteLength);return this.raw(i)}string(i){let d=this.textEncoder.encode(i);this.uint32(d.byteLength);return this.raw(d)}float(i){K.assertFloat32(i);let d=new Uint8Array(4);new DataView(d.buffer).setFloat32(0,i,true);return this.raw(d)}double(i){let d=new Uint8Array(8);new DataView(d.buffer).setFloat64(0,i,true);return this.raw(d)}fixed32(i){K.assertUInt32(i);let d=new Uint8Array(4);new DataView(d.buffer).setUint32(0,i,true);return this.raw(d)}sfixed32(i){K.assertInt32(i);let d=new Uint8Array(4);new DataView(d.buffer).setInt32(0,i,true);return this.raw(d)}sint32(i){K.assertInt32(i);i=(i<<1^i>>31)>>>0;V.varint32write(i,this.buf);return this}sfixed64(i){let d=new Uint8Array(8);let p=new DataView(d.buffer);let V=v.PbLong.from(i);p.setInt32(0,V.lo,true);p.setInt32(4,V.hi,true);return this.raw(d)}fixed64(i){let d=new Uint8Array(8);let p=new DataView(d.buffer);let V=v.PbULong.from(i);p.setInt32(0,V.lo,true);p.setInt32(4,V.hi,true);return this.raw(d)}int64(i){let d=v.PbLong.from(i);V.varint64write(d.lo,d.hi,this.buf);return this}sint64(i){let d=v.PbLong.from(i),p=d.hi>>31,K=d.lo<<1^p,ee=(d.hi<<1|d.lo>>>31)^p;V.varint64write(K,ee,this.buf);return this}uint64(i){let d=v.PbULong.from(i);V.varint64write(d.lo,d.hi,this.buf);return this}}d.BinaryWriter=BinaryWriter},46959:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.listEnumNumbers=d.listEnumNames=d.listEnumValues=d.isEnumObject=void 0;function isEnumObject(i){if(typeof i!="object"||i===null){return false}if(!i.hasOwnProperty(0)){return false}for(let d of Object.keys(i)){let p=parseInt(d);if(!Number.isNaN(p)){let d=i[p];if(d===undefined)return false;if(i[d]!==p)return false}else{let p=i[d];if(p===undefined)return false;if(typeof p!=="number")return false;if(i[p]===undefined)return false}}return true}d.isEnumObject=isEnumObject;function listEnumValues(i){if(!isEnumObject(i))throw new Error("not a typescript enum object");let d=[];for(let[p,v]of Object.entries(i))if(typeof v=="number")d.push({name:p,number:v});return d}d.listEnumValues=listEnumValues;function listEnumNames(i){return listEnumValues(i).map((i=>i.name))}d.listEnumNames=listEnumNames;function listEnumNumbers(i){return listEnumValues(i).map((i=>i.number)).filter(((i,d,p)=>p.indexOf(i)==d))}d.listEnumNumbers=listEnumNumbers},20365:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.varint32read=d.varint32write=d.int64toString=d.int64fromString=d.varint64write=d.varint64read=void 0;function varint64read(){let i=0;let d=0;for(let p=0;p<28;p+=7){let v=this.buf[this.pos++];i|=(v&127)<>4;if((p&128)==0){this.assertBounds();return[i,d]}for(let p=3;p<=31;p+=7){let v=this.buf[this.pos++];d|=(v&127)<>>v;const K=!(V>>>7==0&&d==0);const ee=(K?V|128:V)&255;p.push(ee);if(!K){return}}const v=i>>>28&15|(d&7)<<4;const V=!(d>>3==0);p.push((V?v|128:v)&255);if(!V){return}for(let i=3;i<31;i=i+7){const v=d>>>i;const V=!(v>>>7==0);const K=(V?v|128:v)&255;p.push(K);if(!V){return}}p.push(d>>>31&1)}d.varint64write=varint64write;const p=(1<<16)*(1<<16);function int64fromString(i){let d=i[0]=="-";if(d)i=i.slice(1);const v=1e6;let V=0;let K=0;function add1e6digit(d,ee){const te=Number(i.slice(d,ee));K*=v;V=V*v+te;if(V>=p){K=K+(V/p|0);V=V%p}}add1e6digit(-24,-18);add1e6digit(-18,-12);add1e6digit(-12,-6);add1e6digit(-6);return[d,V,K]}d.int64fromString=int64fromString;function int64toString(i,d){if(d>>>0<=2097151){return""+(p*d+(i>>>0))}let v=i&16777215;let V=(i>>>24|d<<8)>>>0&16777215;let K=d>>16&65535;let ee=v+V*6777216+K*6710656;let te=V+K*8147497;let re=K*2;let ne=1e7;if(ee>=ne){te+=Math.floor(ee/ne);ee%=ne}if(te>=ne){re+=Math.floor(te/ne);te%=ne}function decimalFrom1e7(i,d){let p=i?String(i):"";if(d){return"0000000".slice(p.length)+p}return p}return decimalFrom1e7(re,0)+decimalFrom1e7(te,re)+decimalFrom1e7(ee,1)}d.int64toString=int64toString;function varint32write(i,d){if(i>=0){while(i>127){d.push(i&127|128);i=i>>>7}d.push(i)}else{for(let p=0;p<9;p++){d.push(i&127|128);i=i>>7}d.push(1)}}d.varint32write=varint32write;function varint32read(){let i=this.buf[this.pos++];let d=i&127;if((i&128)==0){this.assertBounds();return d}i=this.buf[this.pos++];d|=(i&127)<<7;if((i&128)==0){this.assertBounds();return d}i=this.buf[this.pos++];d|=(i&127)<<14;if((i&128)==0){this.assertBounds();return d}i=this.buf[this.pos++];d|=(i&127)<<21;if((i&128)==0){this.assertBounds();return d}i=this.buf[this.pos++];d|=(i&15)<<28;for(let d=5;(i&128)!==0&&d<10;d++)i=this.buf[this.pos++];if((i&128)!=0)throw new Error("invalid varint");this.assertBounds();return d>>>0}d.varint32read=varint32read},88372:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});var v=p(58369);Object.defineProperty(d,"typeofJsonValue",{enumerable:true,get:function(){return v.typeofJsonValue}});Object.defineProperty(d,"isJsonObject",{enumerable:true,get:function(){return v.isJsonObject}});var V=p(36689);Object.defineProperty(d,"base64decode",{enumerable:true,get:function(){return V.base64decode}});Object.defineProperty(d,"base64encode",{enumerable:true,get:function(){return V.base64encode}});var K=p(55424);Object.defineProperty(d,"utf8read",{enumerable:true,get:function(){return K.utf8read}});var ee=p(66690);Object.defineProperty(d,"WireType",{enumerable:true,get:function(){return ee.WireType}});Object.defineProperty(d,"mergeBinaryOptions",{enumerable:true,get:function(){return ee.mergeBinaryOptions}});Object.defineProperty(d,"UnknownFieldHandler",{enumerable:true,get:function(){return ee.UnknownFieldHandler}});var te=p(8887);Object.defineProperty(d,"BinaryReader",{enumerable:true,get:function(){return te.BinaryReader}});Object.defineProperty(d,"binaryReadOptions",{enumerable:true,get:function(){return te.binaryReadOptions}});var re=p(4839);Object.defineProperty(d,"BinaryWriter",{enumerable:true,get:function(){return re.BinaryWriter}});Object.defineProperty(d,"binaryWriteOptions",{enumerable:true,get:function(){return re.binaryWriteOptions}});var ne=p(55579);Object.defineProperty(d,"PbLong",{enumerable:true,get:function(){return ne.PbLong}});Object.defineProperty(d,"PbULong",{enumerable:true,get:function(){return ne.PbULong}});var ie=p(33389);Object.defineProperty(d,"jsonReadOptions",{enumerable:true,get:function(){return ie.jsonReadOptions}});Object.defineProperty(d,"jsonWriteOptions",{enumerable:true,get:function(){return ie.jsonWriteOptions}});Object.defineProperty(d,"mergeJsonOptions",{enumerable:true,get:function(){return ie.mergeJsonOptions}});var se=p(41371);Object.defineProperty(d,"MESSAGE_TYPE",{enumerable:true,get:function(){return se.MESSAGE_TYPE}});var oe=p(4172);Object.defineProperty(d,"MessageType",{enumerable:true,get:function(){return oe.MessageType}});var ae=p(40528);Object.defineProperty(d,"ScalarType",{enumerable:true,get:function(){return ae.ScalarType}});Object.defineProperty(d,"LongType",{enumerable:true,get:function(){return ae.LongType}});Object.defineProperty(d,"RepeatType",{enumerable:true,get:function(){return ae.RepeatType}});Object.defineProperty(d,"normalizeFieldInfo",{enumerable:true,get:function(){return ae.normalizeFieldInfo}});Object.defineProperty(d,"readFieldOptions",{enumerable:true,get:function(){return ae.readFieldOptions}});Object.defineProperty(d,"readFieldOption",{enumerable:true,get:function(){return ae.readFieldOption}});Object.defineProperty(d,"readMessageOption",{enumerable:true,get:function(){return ae.readMessageOption}});var ce=p(55649);Object.defineProperty(d,"ReflectionTypeCheck",{enumerable:true,get:function(){return ce.ReflectionTypeCheck}});var le=p(40868);Object.defineProperty(d,"reflectionCreate",{enumerable:true,get:function(){return le.reflectionCreate}});var ue=p(412);Object.defineProperty(d,"reflectionScalarDefault",{enumerable:true,get:function(){return ue.reflectionScalarDefault}});var Ae=p(48674);Object.defineProperty(d,"reflectionMergePartial",{enumerable:true,get:function(){return Ae.reflectionMergePartial}});var de=p(78197);Object.defineProperty(d,"reflectionEquals",{enumerable:true,get:function(){return de.reflectionEquals}});var pe=p(72161);Object.defineProperty(d,"ReflectionBinaryReader",{enumerable:true,get:function(){return pe.ReflectionBinaryReader}});var fe=p(45325);Object.defineProperty(d,"ReflectionBinaryWriter",{enumerable:true,get:function(){return fe.ReflectionBinaryWriter}});var he=p(85240);Object.defineProperty(d,"ReflectionJsonReader",{enumerable:true,get:function(){return he.ReflectionJsonReader}});var ge=p(55572);Object.defineProperty(d,"ReflectionJsonWriter",{enumerable:true,get:function(){return ge.ReflectionJsonWriter}});var me=p(75556);Object.defineProperty(d,"containsMessageType",{enumerable:true,get:function(){return me.containsMessageType}});var Ee=p(74857);Object.defineProperty(d,"isOneofGroup",{enumerable:true,get:function(){return Ee.isOneofGroup}});Object.defineProperty(d,"setOneofValue",{enumerable:true,get:function(){return Ee.setOneofValue}});Object.defineProperty(d,"getOneofValue",{enumerable:true,get:function(){return Ee.getOneofValue}});Object.defineProperty(d,"clearOneofValue",{enumerable:true,get:function(){return Ee.clearOneofValue}});Object.defineProperty(d,"getSelectedOneofValue",{enumerable:true,get:function(){return Ee.getSelectedOneofValue}});var ye=p(46959);Object.defineProperty(d,"listEnumValues",{enumerable:true,get:function(){return ye.listEnumValues}});Object.defineProperty(d,"listEnumNames",{enumerable:true,get:function(){return ye.listEnumNames}});Object.defineProperty(d,"listEnumNumbers",{enumerable:true,get:function(){return ye.listEnumNumbers}});Object.defineProperty(d,"isEnumObject",{enumerable:true,get:function(){return ye.isEnumObject}});var Ce=p(54959);Object.defineProperty(d,"lowerCamelCase",{enumerable:true,get:function(){return Ce.lowerCamelCase}});var be=p(46468);Object.defineProperty(d,"assert",{enumerable:true,get:function(){return be.assert}});Object.defineProperty(d,"assertNever",{enumerable:true,get:function(){return be.assertNever}});Object.defineProperty(d,"assertInt32",{enumerable:true,get:function(){return be.assertInt32}});Object.defineProperty(d,"assertUInt32",{enumerable:true,get:function(){return be.assertUInt32}});Object.defineProperty(d,"assertFloat32",{enumerable:true,get:function(){return be.assertFloat32}})},33389:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.mergeJsonOptions=d.jsonWriteOptions=d.jsonReadOptions=void 0;const p={emitDefaultValues:false,enumAsInteger:false,useProtoFieldName:false,prettySpaces:0},v={ignoreUnknownFields:false};function jsonReadOptions(i){return i?Object.assign(Object.assign({},v),i):v}d.jsonReadOptions=jsonReadOptions;function jsonWriteOptions(i){return i?Object.assign(Object.assign({},p),i):p}d.jsonWriteOptions=jsonWriteOptions;function mergeJsonOptions(i,d){var p,v;let V=Object.assign(Object.assign({},i),d);V.typeRegistry=[...(p=i===null||i===void 0?void 0:i.typeRegistry)!==null&&p!==void 0?p:[],...(v=d===null||d===void 0?void 0:d.typeRegistry)!==null&&v!==void 0?v:[]];return V}d.mergeJsonOptions=mergeJsonOptions},58369:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.isJsonObject=d.typeofJsonValue=void 0;function typeofJsonValue(i){let d=typeof i;if(d=="object"){if(Array.isArray(i))return"array";if(i===null)return"null"}return d}d.typeofJsonValue=typeofJsonValue;function isJsonObject(i){return i!==null&&typeof i=="object"&&!Array.isArray(i)}d.isJsonObject=isJsonObject},54959:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.lowerCamelCase=void 0;function lowerCamelCase(i){let d=false;const p=[];for(let v=0;v{Object.defineProperty(d,"__esModule",{value:true});d.MESSAGE_TYPE=void 0;d.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")},4172:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.MessageType=void 0;const v=p(41371);const V=p(40528);const K=p(55649);const ee=p(85240);const te=p(55572);const re=p(72161);const ne=p(45325);const ie=p(40868);const se=p(48674);const oe=p(58369);const ae=p(33389);const ce=p(78197);const le=p(4839);const ue=p(8887);const Ae=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({}));const de=Ae[v.MESSAGE_TYPE]={};class MessageType{constructor(i,d,p){this.defaultCheckDepth=16;this.typeName=i;this.fields=d.map(V.normalizeFieldInfo);this.options=p!==null&&p!==void 0?p:{};de.value=this;this.messagePrototype=Object.create(null,Ae);this.refTypeCheck=new K.ReflectionTypeCheck(this);this.refJsonReader=new ee.ReflectionJsonReader(this);this.refJsonWriter=new te.ReflectionJsonWriter(this);this.refBinReader=new re.ReflectionBinaryReader(this);this.refBinWriter=new ne.ReflectionBinaryWriter(this)}create(i){let d=ie.reflectionCreate(this);if(i!==undefined){se.reflectionMergePartial(this,d,i)}return d}clone(i){let d=this.create();se.reflectionMergePartial(this,d,i);return d}equals(i,d){return ce.reflectionEquals(this,i,d)}is(i,d=this.defaultCheckDepth){return this.refTypeCheck.is(i,d,false)}isAssignable(i,d=this.defaultCheckDepth){return this.refTypeCheck.is(i,d,true)}mergePartial(i,d){se.reflectionMergePartial(this,i,d)}fromBinary(i,d){let p=ue.binaryReadOptions(d);return this.internalBinaryRead(p.readerFactory(i),i.byteLength,p)}fromJson(i,d){return this.internalJsonRead(i,ae.jsonReadOptions(d))}fromJsonString(i,d){let p=JSON.parse(i);return this.fromJson(p,d)}toJson(i,d){return this.internalJsonWrite(i,ae.jsonWriteOptions(d))}toJsonString(i,d){var p;let v=this.toJson(i,d);return JSON.stringify(v,null,(p=d===null||d===void 0?void 0:d.prettySpaces)!==null&&p!==void 0?p:0)}toBinary(i,d){let p=le.binaryWriteOptions(d);return this.internalBinaryWrite(i,p.writerFactory(),p).finish()}internalJsonRead(i,d,p){if(i!==null&&typeof i=="object"&&!Array.isArray(i)){let v=p!==null&&p!==void 0?p:this.create();this.refJsonReader.read(i,v,d);return v}throw new Error(`Unable to parse message ${this.typeName} from JSON ${oe.typeofJsonValue(i)}.`)}internalJsonWrite(i,d){return this.refJsonWriter.write(i,d)}internalBinaryWrite(i,d,p){this.refBinWriter.write(i,d,p);return d}internalBinaryRead(i,d,p,v){let V=v!==null&&v!==void 0?v:this.create();this.refBinReader.read(i,V,p,d);return V}}d.MessageType=MessageType},74857:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.getSelectedOneofValue=d.clearOneofValue=d.setUnknownOneofValue=d.setOneofValue=d.getOneofValue=d.isOneofGroup=void 0;function isOneofGroup(i){if(typeof i!="object"||i===null||!i.hasOwnProperty("oneofKind")){return false}switch(typeof i.oneofKind){case"string":if(i[i.oneofKind]===undefined)return false;return Object.keys(i).length==2;case"undefined":return Object.keys(i).length==1;default:return false}}d.isOneofGroup=isOneofGroup;function getOneofValue(i,d){return i[d]}d.getOneofValue=getOneofValue;function setOneofValue(i,d,p){if(i.oneofKind!==undefined){delete i[i.oneofKind]}i.oneofKind=d;if(p!==undefined){i[d]=p}}d.setOneofValue=setOneofValue;function setUnknownOneofValue(i,d,p){if(i.oneofKind!==undefined){delete i[i.oneofKind]}i.oneofKind=d;if(p!==undefined&&d!==undefined){i[d]=p}}d.setUnknownOneofValue=setUnknownOneofValue;function clearOneofValue(i){if(i.oneofKind!==undefined){delete i[i.oneofKind]}i.oneofKind=undefined}d.clearOneofValue=clearOneofValue;function getSelectedOneofValue(i){if(i.oneofKind===undefined){return undefined}return i[i.oneofKind]}d.getSelectedOneofValue=getSelectedOneofValue},55579:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.PbLong=d.PbULong=d.detectBi=void 0;const v=p(20365);let V;function detectBi(){const i=new DataView(new ArrayBuffer(8));const d=globalThis.BigInt!==undefined&&typeof i.getBigInt64==="function"&&typeof i.getBigUint64==="function"&&typeof i.setBigInt64==="function"&&typeof i.setBigUint64==="function";V=d?{MIN:BigInt("-9223372036854775808"),MAX:BigInt("9223372036854775807"),UMIN:BigInt("0"),UMAX:BigInt("18446744073709551615"),C:BigInt,V:i}:undefined}d.detectBi=detectBi;detectBi();function assertBi(i){if(!i)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}const K=/^-?[0-9]+$/;const ee=4294967296;const te=2147483648;class SharedPbLong{constructor(i,d){this.lo=i|0;this.hi=d|0}isZero(){return this.lo==0&&this.hi==0}toNumber(){let i=this.hi*ee+(this.lo>>>0);if(!Number.isSafeInteger(i))throw new Error("cannot convert to safe number");return i}}class PbULong extends SharedPbLong{static from(i){if(V)switch(typeof i){case"string":if(i=="0")return this.ZERO;if(i=="")throw new Error("string is no integer");i=V.C(i);case"number":if(i===0)return this.ZERO;i=V.C(i);case"bigint":if(!i)return this.ZERO;if(iV.UMAX)throw new Error("ulong too large");V.V.setBigUint64(0,i,true);return new PbULong(V.V.getInt32(0,true),V.V.getInt32(4,true))}else switch(typeof i){case"string":if(i=="0")return this.ZERO;i=i.trim();if(!K.test(i))throw new Error("string is no integer");let[d,p,V]=v.int64fromString(i);if(d)throw new Error("signed value for ulong");return new PbULong(p,V);case"number":if(i==0)return this.ZERO;if(!Number.isSafeInteger(i))throw new Error("number is no integer");if(i<0)throw new Error("signed value for ulong");return new PbULong(i,i/ee)}throw new Error("unknown value "+typeof i)}toString(){return V?this.toBigInt().toString():v.int64toString(this.lo,this.hi)}toBigInt(){assertBi(V);V.V.setInt32(0,this.lo,true);V.V.setInt32(4,this.hi,true);return V.V.getBigUint64(0,true)}}d.PbULong=PbULong;PbULong.ZERO=new PbULong(0,0);class PbLong extends SharedPbLong{static from(i){if(V)switch(typeof i){case"string":if(i=="0")return this.ZERO;if(i=="")throw new Error("string is no integer");i=V.C(i);case"number":if(i===0)return this.ZERO;i=V.C(i);case"bigint":if(!i)return this.ZERO;if(iV.MAX)throw new Error("signed long too large");V.V.setBigInt64(0,i,true);return new PbLong(V.V.getInt32(0,true),V.V.getInt32(4,true))}else switch(typeof i){case"string":if(i=="0")return this.ZERO;i=i.trim();if(!K.test(i))throw new Error("string is no integer");let[d,p,V]=v.int64fromString(i);if(d){if(V>te||V==te&&p!=0)throw new Error("signed long too small")}else if(V>=te)throw new Error("signed long too large");let re=new PbLong(p,V);return d?re.negate():re;case"number":if(i==0)return this.ZERO;if(!Number.isSafeInteger(i))throw new Error("number is no integer");return i>0?new PbLong(i,i/ee):new PbLong(-i,-i/ee).negate()}throw new Error("unknown value "+typeof i)}isNegative(){return(this.hi&te)!==0}negate(){let i=~this.hi,d=this.lo;if(d)d=~d+1;else i+=1;return new PbLong(d,i)}toString(){if(V)return this.toBigInt().toString();if(this.isNegative()){let i=this.negate();return"-"+v.int64toString(i.lo,i.hi)}return v.int64toString(this.lo,this.hi)}toBigInt(){assertBi(V);V.V.setInt32(0,this.lo,true);V.V.setInt32(4,this.hi,true);return V.V.getBigInt64(0,true)}}d.PbLong=PbLong;PbLong.ZERO=new PbLong(0,0)},55424:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.utf8read=void 0;const fromCharCodes=i=>String.fromCharCode.apply(String,i);function utf8read(i){if(i.length<1)return"";let d=0,p=[],v=[],V=0,K;let ee=i.length;while(d191&&K<224)v[V++]=(K&31)<<6|i[d++]&63;else if(K>239&&K<365){K=((K&7)<<18|(i[d++]&63)<<12|(i[d++]&63)<<6|i[d++]&63)-65536;v[V++]=55296+(K>>10);v[V++]=56320+(K&1023)}else v[V++]=(K&15)<<12|(i[d++]&63)<<6|i[d++]&63;if(V>8191){p.push(fromCharCodes(v));V=0}}if(p.length){if(V)p.push(fromCharCodes(v.slice(0,V)));return p.join("")}return fromCharCodes(v.slice(0,V))}d.utf8read=utf8read},72161:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ReflectionBinaryReader=void 0;const v=p(66690);const V=p(40528);const K=p(32344);const ee=p(412);class ReflectionBinaryReader{constructor(i){this.info=i}prepare(){var i;if(!this.fieldNoToField){const d=(i=this.info.fields)!==null&&i!==void 0?i:[];this.fieldNoToField=new Map(d.map((i=>[i.no,i])))}}read(i,d,p,K){this.prepare();const ee=K===undefined?i.len:i.pos+K;while(i.pos{Object.defineProperty(d,"__esModule",{value:true});d.ReflectionBinaryWriter=void 0;const v=p(66690);const V=p(40528);const K=p(46468);const ee=p(55579);class ReflectionBinaryWriter{constructor(i){this.info=i}prepare(){if(!this.fields){const i=this.info.fields?this.info.fields.concat():[];this.fields=i.sort(((i,d)=>i.no-d.no))}}write(i,d,p){this.prepare();for(const v of this.fields){let ee,te,re=v.repeat,ne=v.localName;if(v.oneof){const d=i[v.oneof];if(d.oneofKind!==ne)continue;ee=d[ne];te=true}else{ee=i[ne];te=false}switch(v.kind){case"scalar":case"enum":let i=v.kind=="enum"?V.ScalarType.INT32:v.T;if(re){K.assert(Array.isArray(ee));if(re==V.RepeatType.PACKED)this.packed(d,i,v.no,ee);else for(const p of ee)this.scalar(d,i,v.no,p,true)}else if(ee===undefined)K.assert(v.opt);else this.scalar(d,i,v.no,ee,te||v.opt);break;case"message":if(re){K.assert(Array.isArray(ee));for(const i of ee)this.message(d,p,v.T(),v.no,i)}else{this.message(d,p,v.T(),v.no,ee)}break;case"map":K.assert(typeof ee=="object"&&ee!==null);for(const[i,V]of Object.entries(ee))this.mapEntry(d,p,v,i,V);break}}let ee=p.writeUnknownFields;if(ee!==false)(ee===true?v.UnknownFieldHandler.onWrite:ee)(this.info.typeName,i,d)}mapEntry(i,d,p,ee,te){i.tag(p.no,v.WireType.LengthDelimited);i.fork();let re=ee;switch(p.K){case V.ScalarType.INT32:case V.ScalarType.FIXED32:case V.ScalarType.UINT32:case V.ScalarType.SFIXED32:case V.ScalarType.SINT32:re=Number.parseInt(ee);break;case V.ScalarType.BOOL:K.assert(ee=="true"||ee=="false");re=ee=="true";break}this.scalar(i,p.K,1,re,true);switch(p.V.kind){case"scalar":this.scalar(i,p.V.T,2,te,true);break;case"enum":this.scalar(i,V.ScalarType.INT32,2,te,true);break;case"message":this.message(i,d,p.V.T(),2,te);break}i.join()}message(i,d,p,V,K){if(K===undefined)return;p.internalBinaryWrite(K,i.tag(V,v.WireType.LengthDelimited).fork(),d);i.join()}scalar(i,d,p,v,V){let[K,ee,te]=this.scalarInfo(d,v);if(!te||V){i.tag(p,K);i[ee](v)}}packed(i,d,p,ee){if(!ee.length)return;K.assert(d!==V.ScalarType.BYTES&&d!==V.ScalarType.STRING);i.tag(p,v.WireType.LengthDelimited);i.fork();let[,te]=this.scalarInfo(d);for(let d=0;d{Object.defineProperty(d,"__esModule",{value:true});d.containsMessageType=void 0;const v=p(41371);function containsMessageType(i){return i[v.MESSAGE_TYPE]!=null}d.containsMessageType=containsMessageType},40868:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.reflectionCreate=void 0;const v=p(412);const V=p(41371);function reflectionCreate(i){const d=i.messagePrototype?Object.create(i.messagePrototype):Object.defineProperty({},V.MESSAGE_TYPE,{value:i});for(let p of i.fields){let i=p.localName;if(p.opt)continue;if(p.oneof)d[p.oneof]={oneofKind:undefined};else if(p.repeat)d[i]=[];else switch(p.kind){case"scalar":d[i]=v.reflectionScalarDefault(p.T,p.L);break;case"enum":d[i]=0;break;case"map":d[i]={};break}}return d}d.reflectionCreate=reflectionCreate},78197:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.reflectionEquals=void 0;const v=p(40528);function reflectionEquals(i,d,p){if(d===p)return true;if(!d||!p)return false;for(let K of i.fields){let i=K.localName;let ee=K.oneof?d[K.oneof][i]:d[i];let te=K.oneof?p[K.oneof][i]:p[i];switch(K.kind){case"enum":case"scalar":let i=K.kind=="enum"?v.ScalarType.INT32:K.T;if(!(K.repeat?repeatedPrimitiveEq(i,ee,te):primitiveEq(i,ee,te)))return false;break;case"map":if(!(K.V.kind=="message"?repeatedMsgEq(K.V.T(),V(ee),V(te)):repeatedPrimitiveEq(K.V.kind=="enum"?v.ScalarType.INT32:K.V.T,V(ee),V(te))))return false;break;case"message":let d=K.T();if(!(K.repeat?repeatedMsgEq(d,ee,te):d.equals(ee,te)))return false;break}}return true}d.reflectionEquals=reflectionEquals;const V=Object.values;function primitiveEq(i,d,p){if(d===p)return true;if(i!==v.ScalarType.BYTES)return false;let V=d;let K=p;if(V.length!==K.length)return false;for(let i=0;i{Object.defineProperty(d,"__esModule",{value:true});d.readMessageOption=d.readFieldOption=d.readFieldOptions=d.normalizeFieldInfo=d.RepeatType=d.LongType=d.ScalarType=void 0;const v=p(54959);var V;(function(i){i[i["DOUBLE"]=1]="DOUBLE";i[i["FLOAT"]=2]="FLOAT";i[i["INT64"]=3]="INT64";i[i["UINT64"]=4]="UINT64";i[i["INT32"]=5]="INT32";i[i["FIXED64"]=6]="FIXED64";i[i["FIXED32"]=7]="FIXED32";i[i["BOOL"]=8]="BOOL";i[i["STRING"]=9]="STRING";i[i["BYTES"]=12]="BYTES";i[i["UINT32"]=13]="UINT32";i[i["SFIXED32"]=15]="SFIXED32";i[i["SFIXED64"]=16]="SFIXED64";i[i["SINT32"]=17]="SINT32";i[i["SINT64"]=18]="SINT64"})(V=d.ScalarType||(d.ScalarType={}));var K;(function(i){i[i["BIGINT"]=0]="BIGINT";i[i["STRING"]=1]="STRING";i[i["NUMBER"]=2]="NUMBER"})(K=d.LongType||(d.LongType={}));var ee;(function(i){i[i["NO"]=0]="NO";i[i["PACKED"]=1]="PACKED";i[i["UNPACKED"]=2]="UNPACKED"})(ee=d.RepeatType||(d.RepeatType={}));function normalizeFieldInfo(i){var d,p,V,K;i.localName=(d=i.localName)!==null&&d!==void 0?d:v.lowerCamelCase(i.name);i.jsonName=(p=i.jsonName)!==null&&p!==void 0?p:v.lowerCamelCase(i.name);i.repeat=(V=i.repeat)!==null&&V!==void 0?V:ee.NO;i.opt=(K=i.opt)!==null&&K!==void 0?K:i.repeat?false:i.oneof?false:i.kind=="message";return i}d.normalizeFieldInfo=normalizeFieldInfo;function readFieldOptions(i,d,p,v){var V;const K=(V=i.fields.find(((i,p)=>i.localName==d||p==d)))===null||V===void 0?void 0:V.options;return K&&K[p]?v.fromJson(K[p]):undefined}d.readFieldOptions=readFieldOptions;function readFieldOption(i,d,p,v){var V;const K=(V=i.fields.find(((i,p)=>i.localName==d||p==d)))===null||V===void 0?void 0:V.options;if(!K){return undefined}const ee=K[p];if(ee===undefined){return ee}return v?v.fromJson(ee):ee}d.readFieldOption=readFieldOption;function readMessageOption(i,d,p){const v=i.options;const V=v[d];if(V===undefined){return V}return p?p.fromJson(V):V}d.readMessageOption=readMessageOption},85240:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ReflectionJsonReader=void 0;const v=p(58369);const V=p(36689);const K=p(40528);const ee=p(55579);const te=p(46468);const re=p(32344);class ReflectionJsonReader{constructor(i){this.info=i}prepare(){var i;if(this.fMap===undefined){this.fMap={};const d=(i=this.info.fields)!==null&&i!==void 0?i:[];for(const i of d){this.fMap[i.name]=i;this.fMap[i.jsonName]=i;this.fMap[i.localName]=i}}}assert(i,d,p){if(!i){let i=v.typeofJsonValue(p);if(i=="number"||i=="boolean")i=p.toString();throw new Error(`Cannot parse JSON ${i} for ${this.info.typeName}#${d}`)}}read(i,d,p){this.prepare();const V=[];for(const[ee,te]of Object.entries(i)){const i=this.fMap[ee];if(!i){if(!p.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${ee}`);continue}const re=i.localName;let ne;if(i.oneof){if(te===null&&(i.kind!=="enum"||i.T()[0]!=="google.protobuf.NullValue")){continue}if(V.includes(i.oneof))throw new Error(`Multiple members of the oneof group "${i.oneof}" of ${this.info.typeName} are present in JSON.`);V.push(i.oneof);ne=d[i.oneof]={oneofKind:re}}else{ne=d}if(i.kind=="map"){if(te===null){continue}this.assert(v.isJsonObject(te),i.name,te);const d=ne[re];for(const[v,V]of Object.entries(te)){this.assert(V!==null,i.name+" map value",null);let ee;switch(i.V.kind){case"message":ee=i.V.T().internalJsonRead(V,p);break;case"enum":ee=this.enum(i.V.T(),V,i.name,p.ignoreUnknownFields);if(ee===false)continue;break;case"scalar":ee=this.scalar(V,i.V.T,i.V.L,i.name);break}this.assert(ee!==undefined,i.name+" map value",V);let te=v;if(i.K==K.ScalarType.BOOL)te=te=="true"?true:te=="false"?false:te;te=this.scalar(te,i.K,K.LongType.STRING,i.name).toString();d[te]=ee}}else if(i.repeat){if(te===null)continue;this.assert(Array.isArray(te),i.name,te);const d=ne[re];for(const v of te){this.assert(v!==null,i.name,null);let V;switch(i.kind){case"message":V=i.T().internalJsonRead(v,p);break;case"enum":V=this.enum(i.T(),v,i.name,p.ignoreUnknownFields);if(V===false)continue;break;case"scalar":V=this.scalar(v,i.T,i.L,i.name);break}this.assert(V!==undefined,i.name,te);d.push(V)}}else{switch(i.kind){case"message":if(te===null&&i.T().typeName!="google.protobuf.Value"){this.assert(i.oneof===undefined,i.name+" (oneof member)",null);continue}ne[re]=i.T().internalJsonRead(te,p,ne[re]);break;case"enum":if(te===null)continue;let d=this.enum(i.T(),te,i.name,p.ignoreUnknownFields);if(d===false)continue;ne[re]=d;break;case"scalar":if(te===null)continue;ne[re]=this.scalar(te,i.T,i.L,i.name);break}}}}enum(i,d,p,v){if(i[0]=="google.protobuf.NullValue")te.assert(d===null||d==="NULL_VALUE",`Unable to parse field ${this.info.typeName}#${p}, enum ${i[0]} only accepts null.`);if(d===null)return 0;switch(typeof d){case"number":te.assert(Number.isInteger(d),`Unable to parse field ${this.info.typeName}#${p}, enum can only be integral number, got ${d}.`);return d;case"string":let V=d;if(i[2]&&d.substring(0,i[2].length)===i[2])V=d.substring(i[2].length);let K=i[1][V];if(typeof K==="undefined"&&v){return false}te.assert(typeof K=="number",`Unable to parse field ${this.info.typeName}#${p}, enum ${i[0]} has no value for "${d}".`);return K}te.assert(false,`Unable to parse field ${this.info.typeName}#${p}, cannot parse enum value from ${typeof d}".`)}scalar(i,d,p,v){let ne;try{switch(d){case K.ScalarType.DOUBLE:case K.ScalarType.FLOAT:if(i===null)return 0;if(i==="NaN")return Number.NaN;if(i==="Infinity")return Number.POSITIVE_INFINITY;if(i==="-Infinity")return Number.NEGATIVE_INFINITY;if(i===""){ne="empty string";break}if(typeof i=="string"&&i.trim().length!==i.length){ne="extra whitespace";break}if(typeof i!="string"&&typeof i!="number"){break}let v=Number(i);if(Number.isNaN(v)){ne="not a number";break}if(!Number.isFinite(v)){ne="too large or small";break}if(d==K.ScalarType.FLOAT)te.assertFloat32(v);return v;case K.ScalarType.INT32:case K.ScalarType.FIXED32:case K.ScalarType.SFIXED32:case K.ScalarType.SINT32:case K.ScalarType.UINT32:if(i===null)return 0;let ie;if(typeof i=="number")ie=i;else if(i==="")ne="empty string";else if(typeof i=="string"){if(i.trim().length!==i.length)ne="extra whitespace";else ie=Number(i)}if(ie===undefined)break;if(d==K.ScalarType.UINT32)te.assertUInt32(ie);else te.assertInt32(ie);return ie;case K.ScalarType.INT64:case K.ScalarType.SFIXED64:case K.ScalarType.SINT64:if(i===null)return re.reflectionLongConvert(ee.PbLong.ZERO,p);if(typeof i!="number"&&typeof i!="string")break;return re.reflectionLongConvert(ee.PbLong.from(i),p);case K.ScalarType.FIXED64:case K.ScalarType.UINT64:if(i===null)return re.reflectionLongConvert(ee.PbULong.ZERO,p);if(typeof i!="number"&&typeof i!="string")break;return re.reflectionLongConvert(ee.PbULong.from(i),p);case K.ScalarType.BOOL:if(i===null)return false;if(typeof i!=="boolean")break;return i;case K.ScalarType.STRING:if(i===null)return"";if(typeof i!=="string"){ne="extra whitespace";break}try{encodeURIComponent(i)}catch(ne){ne="invalid UTF8";break}return i;case K.ScalarType.BYTES:if(i===null||i==="")return new Uint8Array(0);if(typeof i!=="string")break;return V.base64decode(i)}}catch(i){ne=i.message}this.assert(false,v+(ne?" - "+ne:""),i)}}d.ReflectionJsonReader=ReflectionJsonReader},55572:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ReflectionJsonWriter=void 0;const v=p(36689);const V=p(55579);const K=p(40528);const ee=p(46468);class ReflectionJsonWriter{constructor(i){var d;this.fields=(d=i.fields)!==null&&d!==void 0?d:[]}write(i,d){const p={},v=i;for(const i of this.fields){if(!i.oneof){let V=this.field(i,v[i.localName],d);if(V!==undefined)p[d.useProtoFieldName?i.name:i.jsonName]=V;continue}const V=v[i.oneof];if(V.oneofKind!==i.localName)continue;const K=i.kind=="scalar"||i.kind=="enum"?Object.assign(Object.assign({},d),{emitDefaultValues:true}):d;let te=this.field(i,V[i.localName],K);ee.assert(te!==undefined);p[d.useProtoFieldName?i.name:i.jsonName]=te}return p}field(i,d,p){let v=undefined;if(i.kind=="map"){ee.assert(typeof d=="object"&&d!==null);const V={};switch(i.V.kind){case"scalar":for(const[p,v]of Object.entries(d)){const d=this.scalar(i.V.T,v,i.name,false,true);ee.assert(d!==undefined);V[p.toString()]=d}break;case"message":const v=i.V.T();for(const[K,te]of Object.entries(d)){const d=this.message(v,te,i.name,p);ee.assert(d!==undefined);V[K.toString()]=d}break;case"enum":const K=i.V.T();for(const[v,te]of Object.entries(d)){ee.assert(te===undefined||typeof te=="number");const d=this.enum(K,te,i.name,false,true,p.enumAsInteger);ee.assert(d!==undefined);V[v.toString()]=d}break}if(p.emitDefaultValues||Object.keys(V).length>0)v=V}else if(i.repeat){ee.assert(Array.isArray(d));const V=[];switch(i.kind){case"scalar":for(let p=0;p0||p.emitDefaultValues)v=V}else{switch(i.kind){case"scalar":v=this.scalar(i.T,d,i.name,i.opt,p.emitDefaultValues);break;case"enum":v=this.enum(i.T(),d,i.name,i.opt,p.emitDefaultValues,p.enumAsInteger);break;case"message":v=this.message(i.T(),d,i.name,p);break}}return v}enum(i,d,p,v,V,K){if(i[0]=="google.protobuf.NullValue")return!V&&!v?undefined:null;if(d===undefined){ee.assert(v);return undefined}if(d===0&&!V&&!v)return undefined;ee.assert(typeof d=="number");ee.assert(Number.isInteger(d));if(K||!i[1].hasOwnProperty(d))return d;if(i[2])return i[2]+i[1][d];return i[1][d]}message(i,d,p,v){if(d===undefined)return v.emitDefaultValues?null:undefined;return i.internalJsonWrite(d,v)}scalar(i,d,p,te,re){if(d===undefined){ee.assert(te);return undefined}const ne=re||te;switch(i){case K.ScalarType.INT32:case K.ScalarType.SFIXED32:case K.ScalarType.SINT32:if(d===0)return ne?0:undefined;ee.assertInt32(d);return d;case K.ScalarType.FIXED32:case K.ScalarType.UINT32:if(d===0)return ne?0:undefined;ee.assertUInt32(d);return d;case K.ScalarType.FLOAT:ee.assertFloat32(d);case K.ScalarType.DOUBLE:if(d===0)return ne?0:undefined;ee.assert(typeof d=="number");if(Number.isNaN(d))return"NaN";if(d===Number.POSITIVE_INFINITY)return"Infinity";if(d===Number.NEGATIVE_INFINITY)return"-Infinity";return d;case K.ScalarType.STRING:if(d==="")return ne?"":undefined;ee.assert(typeof d=="string");return d;case K.ScalarType.BOOL:if(d===false)return ne?false:undefined;ee.assert(typeof d=="boolean");return d;case K.ScalarType.UINT64:case K.ScalarType.FIXED64:ee.assert(typeof d=="number"||typeof d=="string"||typeof d=="bigint");let i=V.PbULong.from(d);if(i.isZero()&&!ne)return undefined;return i.toString();case K.ScalarType.INT64:case K.ScalarType.SFIXED64:case K.ScalarType.SINT64:ee.assert(typeof d=="number"||typeof d=="string"||typeof d=="bigint");let p=V.PbLong.from(d);if(p.isZero()&&!ne)return undefined;return p.toString();case K.ScalarType.BYTES:ee.assert(d instanceof Uint8Array);if(!d.byteLength)return ne?"":undefined;return v.base64encode(d)}}}d.ReflectionJsonWriter=ReflectionJsonWriter},32344:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.reflectionLongConvert=void 0;const v=p(40528);function reflectionLongConvert(i,d){switch(d){case v.LongType.BIGINT:return i.toBigInt();case v.LongType.NUMBER:return i.toNumber();default:return i.toString()}}d.reflectionLongConvert=reflectionLongConvert},48674:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.reflectionMergePartial=void 0;function reflectionMergePartial(i,d,p){let v,V=p,K;for(let p of i.fields){let i=p.localName;if(p.oneof){const ee=V[p.oneof];if((ee===null||ee===void 0?void 0:ee.oneofKind)==undefined){continue}v=ee[i];K=d[p.oneof];K.oneofKind=ee.oneofKind;if(v==undefined){delete K[i];continue}}else{v=V[i];K=d;if(v==undefined){continue}}if(p.repeat)K[i].length=v.length;switch(p.kind){case"scalar":case"enum":if(p.repeat)for(let d=0;d{Object.defineProperty(d,"__esModule",{value:true});d.reflectionScalarDefault=void 0;const v=p(40528);const V=p(32344);const K=p(55579);function reflectionScalarDefault(i,d=v.LongType.STRING){switch(i){case v.ScalarType.BOOL:return false;case v.ScalarType.UINT64:case v.ScalarType.FIXED64:return V.reflectionLongConvert(K.PbULong.ZERO,d);case v.ScalarType.INT64:case v.ScalarType.SFIXED64:case v.ScalarType.SINT64:return V.reflectionLongConvert(K.PbLong.ZERO,d);case v.ScalarType.DOUBLE:case v.ScalarType.FLOAT:return 0;case v.ScalarType.BYTES:return new Uint8Array(0);case v.ScalarType.STRING:return"";default:return 0}}d.reflectionScalarDefault=reflectionScalarDefault},55649:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ReflectionTypeCheck=void 0;const v=p(40528);const V=p(74857);class ReflectionTypeCheck{constructor(i){var d;this.fields=(d=i.fields)!==null&&d!==void 0?d:[]}prepare(){if(this.data)return;const i=[],d=[],p=[];for(let v of this.fields){if(v.oneof){if(!p.includes(v.oneof)){p.push(v.oneof);i.push(v.oneof);d.push(v.oneof)}}else{d.push(v.localName);switch(v.kind){case"scalar":case"enum":if(!v.opt||v.repeat)i.push(v.localName);break;case"message":if(v.repeat)i.push(v.localName);break;case"map":i.push(v.localName);break}}}this.data={req:i,known:d,oneofs:Object.values(p)}}is(i,d,p=false){if(d<0)return true;if(i===null||i===undefined||typeof i!="object")return false;this.prepare();let v=Object.keys(i),K=this.data;if(v.length!v.includes(i))))return false;if(!p){if(v.some((i=>!K.known.includes(i))))return false}if(d<1){return true}for(const v of K.oneofs){const K=i[v];if(!V.isOneofGroup(K))return false;if(K.oneofKind===undefined)continue;const ee=this.fields.find((i=>i.localName===K.oneofKind));if(!ee)return false;if(!this.field(K[K.oneofKind],ee,p,d))return false}for(const v of this.fields){if(v.oneof!==undefined)continue;if(!this.field(i[v.localName],v,p,d))return false}return true}field(i,d,p,V){let K=d.repeat;switch(d.kind){case"scalar":if(i===undefined)return d.opt;if(K)return this.scalars(i,d.T,V,d.L);return this.scalar(i,d.T,d.L);case"enum":if(i===undefined)return d.opt;if(K)return this.scalars(i,v.ScalarType.INT32,V);return this.scalar(i,v.ScalarType.INT32);case"message":if(i===undefined)return true;if(K)return this.messages(i,d.T(),p,V);return this.message(i,d.T(),p,V);case"map":if(typeof i!="object"||i===null)return false;if(V<2)return true;if(!this.mapKeys(i,d.K,V))return false;switch(d.V.kind){case"scalar":return this.scalars(Object.values(i),d.V.T,V,d.V.L);case"enum":return this.scalars(Object.values(i),v.ScalarType.INT32,V);case"message":return this.messages(Object.values(i),d.V.T(),p,V)}break}return true}message(i,d,p,v){if(p){return d.isAssignable(i,v)}return d.is(i,v)}messages(i,d,p,v){if(!Array.isArray(i))return false;if(v<2)return true;if(p){for(let p=0;pparseInt(i))),d,p);case v.ScalarType.BOOL:return this.scalars(V.slice(0,p).map((i=>i=="true"?true:i=="false"?false:i)),d,p);default:return this.scalars(V,d,p,v.LongType.STRING)}}}d.ReflectionTypeCheck=ReflectionTypeCheck},44914:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};Object.defineProperty(d,"__esModule",{value:true});d.issue=d.issueCommand=void 0;const ee=K(p(70857));const te=p(30302);function issueCommand(i,d,p){const v=new Command(i,d,p);process.stdout.write(v.toString()+ee.EOL)}d.issueCommand=issueCommand;function issue(i,d=""){issueCommand(i,{},d)}d.issue=issue;const re="::";class Command{constructor(i,d,p){if(!i){i="missing.command"}this.command=i;this.properties=d;this.message=p}toString(){let i=re+this.command;if(this.properties&&Object.keys(this.properties).length>0){i+=" ";let d=true;for(const p in this.properties){if(this.properties.hasOwnProperty(p)){const v=this.properties[p];if(v){if(d){d=false}else{i+=","}i+=`${p}=${escapeProperty(v)}`}}}}i+=`${re}${escapeData(this.message)}`;return i}}function escapeData(i){return(0,te.toCommandValue)(i).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(i){return(0,te.toCommandValue)(i).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},37484:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};var ee=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.platform=d.toPlatformPath=d.toWin32Path=d.toPosixPath=d.markdownSummary=d.summary=d.getIDToken=d.getState=d.saveState=d.group=d.endGroup=d.startGroup=d.info=d.notice=d.warning=d.error=d.debug=d.isDebug=d.setFailed=d.setCommandEcho=d.setOutput=d.getBooleanInput=d.getMultilineInput=d.getInput=d.addPath=d.setSecret=d.exportVariable=d.ExitCode=void 0;const te=p(44914);const re=p(24753);const ne=p(30302);const ie=K(p(70857));const se=K(p(16928));const oe=p(35306);var ae;(function(i){i[i["Success"]=0]="Success";i[i["Failure"]=1]="Failure"})(ae||(d.ExitCode=ae={}));function exportVariable(i,d){const p=(0,ne.toCommandValue)(d);process.env[i]=p;const v=process.env["GITHUB_ENV"]||"";if(v){return(0,re.issueFileCommand)("ENV",(0,re.prepareKeyValueMessage)(i,d))}(0,te.issueCommand)("set-env",{name:i},p)}d.exportVariable=exportVariable;function setSecret(i){(0,te.issueCommand)("add-mask",{},i)}d.setSecret=setSecret;function addPath(i){const d=process.env["GITHUB_PATH"]||"";if(d){(0,re.issueFileCommand)("PATH",i)}else{(0,te.issueCommand)("add-path",{},i)}process.env["PATH"]=`${i}${se.delimiter}${process.env["PATH"]}`}d.addPath=addPath;function getInput(i,d){const p=process.env[`INPUT_${i.replace(/ /g,"_").toUpperCase()}`]||"";if(d&&d.required&&!p){throw new Error(`Input required and not supplied: ${i}`)}if(d&&d.trimWhitespace===false){return p}return p.trim()}d.getInput=getInput;function getMultilineInput(i,d){const p=getInput(i,d).split("\n").filter((i=>i!==""));if(d&&d.trimWhitespace===false){return p}return p.map((i=>i.trim()))}d.getMultilineInput=getMultilineInput;function getBooleanInput(i,d){const p=["true","True","TRUE"];const v=["false","False","FALSE"];const V=getInput(i,d);if(p.includes(V))return true;if(v.includes(V))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${i}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}d.getBooleanInput=getBooleanInput;function setOutput(i,d){const p=process.env["GITHUB_OUTPUT"]||"";if(p){return(0,re.issueFileCommand)("OUTPUT",(0,re.prepareKeyValueMessage)(i,d))}process.stdout.write(ie.EOL);(0,te.issueCommand)("set-output",{name:i},(0,ne.toCommandValue)(d))}d.setOutput=setOutput;function setCommandEcho(i){(0,te.issue)("echo",i?"on":"off")}d.setCommandEcho=setCommandEcho;function setFailed(i){process.exitCode=ae.Failure;error(i)}d.setFailed=setFailed;function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}d.isDebug=isDebug;function debug(i){(0,te.issueCommand)("debug",{},i)}d.debug=debug;function error(i,d={}){(0,te.issueCommand)("error",(0,ne.toCommandProperties)(d),i instanceof Error?i.toString():i)}d.error=error;function warning(i,d={}){(0,te.issueCommand)("warning",(0,ne.toCommandProperties)(d),i instanceof Error?i.toString():i)}d.warning=warning;function notice(i,d={}){(0,te.issueCommand)("notice",(0,ne.toCommandProperties)(d),i instanceof Error?i.toString():i)}d.notice=notice;function info(i){process.stdout.write(i+ie.EOL)}d.info=info;function startGroup(i){(0,te.issue)("group",i)}d.startGroup=startGroup;function endGroup(){(0,te.issue)("endgroup")}d.endGroup=endGroup;function group(i,d){return ee(this,void 0,void 0,(function*(){startGroup(i);let p;try{p=yield d()}finally{endGroup()}return p}))}d.group=group;function saveState(i,d){const p=process.env["GITHUB_STATE"]||"";if(p){return(0,re.issueFileCommand)("STATE",(0,re.prepareKeyValueMessage)(i,d))}(0,te.issueCommand)("save-state",{name:i},(0,ne.toCommandValue)(d))}d.saveState=saveState;function getState(i){return process.env[`STATE_${i}`]||""}d.getState=getState;function getIDToken(i){return ee(this,void 0,void 0,(function*(){return yield oe.OidcClient.getIDToken(i)}))}d.getIDToken=getIDToken;var ce=p(71847);Object.defineProperty(d,"summary",{enumerable:true,get:function(){return ce.summary}});var le=p(71847);Object.defineProperty(d,"markdownSummary",{enumerable:true,get:function(){return le.markdownSummary}});var ue=p(31976);Object.defineProperty(d,"toPosixPath",{enumerable:true,get:function(){return ue.toPosixPath}});Object.defineProperty(d,"toWin32Path",{enumerable:true,get:function(){return ue.toWin32Path}});Object.defineProperty(d,"toPlatformPath",{enumerable:true,get:function(){return ue.toPlatformPath}});d.platform=K(p(18968))},24753:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};Object.defineProperty(d,"__esModule",{value:true});d.prepareKeyValueMessage=d.issueFileCommand=void 0;const ee=K(p(76982));const te=K(p(79896));const re=K(p(70857));const ne=p(30302);function issueFileCommand(i,d){const p=process.env[`GITHUB_${i}`];if(!p){throw new Error(`Unable to find environment variable for file command ${i}`)}if(!te.existsSync(p)){throw new Error(`Missing file at path: ${p}`)}te.appendFileSync(p,`${(0,ne.toCommandValue)(d)}${re.EOL}`,{encoding:"utf8"})}d.issueFileCommand=issueFileCommand;function prepareKeyValueMessage(i,d){const p=`ghadelimiter_${ee.randomUUID()}`;const v=(0,ne.toCommandValue)(d);if(i.includes(p)){throw new Error(`Unexpected input: name should not contain the delimiter "${p}"`)}if(v.includes(p)){throw new Error(`Unexpected input: value should not contain the delimiter "${p}"`)}return`${i}<<${p}${re.EOL}${v}${re.EOL}${p}`}d.prepareKeyValueMessage=prepareKeyValueMessage},35306:function(i,d,p){var v=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.OidcClient=void 0;const V=p(28163);const K=p(37481);const ee=p(37484);class OidcClient{static createHttpClient(i=true,d=10){const p={allowRetries:i,maxRetries:d};return new V.HttpClient("actions/oidc-client",[new K.BearerCredentialHandler(OidcClient.getRequestToken())],p)}static getRequestToken(){const i=process.env["ACTIONS_ID_TOKEN_REQUEST_TOKEN"];if(!i){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable")}return i}static getIDTokenUrl(){const i=process.env["ACTIONS_ID_TOKEN_REQUEST_URL"];if(!i){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable")}return i}static getCall(i){var d;return v(this,void 0,void 0,(function*(){const p=OidcClient.createHttpClient();const v=yield p.getJson(i).catch((i=>{throw new Error(`Failed to get ID Token. \n \n Error Code : ${i.statusCode}\n \n Error Message: ${i.message}`)}));const V=(d=v.result)===null||d===void 0?void 0:d.value;if(!V){throw new Error("Response json body do not have ID Token field")}return V}))}static getIDToken(i){return v(this,void 0,void 0,(function*(){try{let d=OidcClient.getIDTokenUrl();if(i){const p=encodeURIComponent(i);d=`${d}&audience=${p}`}(0,ee.debug)(`ID token url is ${d}`);const p=yield OidcClient.getCall(d);(0,ee.setSecret)(p);return p}catch(i){throw new Error(`Error message: ${i.message}`)}}))}}d.OidcClient=OidcClient},31976:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};Object.defineProperty(d,"__esModule",{value:true});d.toPlatformPath=d.toWin32Path=d.toPosixPath=void 0;const ee=K(p(16928));function toPosixPath(i){return i.replace(/[\\]/g,"/")}d.toPosixPath=toPosixPath;function toWin32Path(i){return i.replace(/[/]/g,"\\")}d.toWin32Path=toWin32Path;function toPlatformPath(i){return i.replace(/[/\\]/g,ee.sep)}d.toPlatformPath=toPlatformPath},18968:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};var ee=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};var te=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(d,"__esModule",{value:true});d.getDetails=d.isLinux=d.isMacOS=d.isWindows=d.arch=d.platform=void 0;const re=te(p(70857));const ne=K(p(17251));const getWindowsInfo=()=>ee(void 0,void 0,void 0,(function*(){const{stdout:i}=yield ne.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',undefined,{silent:true});const{stdout:d}=yield ne.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',undefined,{silent:true});return{name:d.trim(),version:i.trim()}}));const getMacOsInfo=()=>ee(void 0,void 0,void 0,(function*(){var i,d,p,v;const{stdout:V}=yield ne.getExecOutput("sw_vers",undefined,{silent:true});const K=(d=(i=V.match(/ProductVersion:\s*(.+)/))===null||i===void 0?void 0:i[1])!==null&&d!==void 0?d:"";const ee=(v=(p=V.match(/ProductName:\s*(.+)/))===null||p===void 0?void 0:p[1])!==null&&v!==void 0?v:"";return{name:ee,version:K}}));const getLinuxInfo=()=>ee(void 0,void 0,void 0,(function*(){const{stdout:i}=yield ne.getExecOutput("lsb_release",["-i","-r","-s"],{silent:true});const[d,p]=i.trim().split("\n");return{name:d,version:p}}));d.platform=re.default.platform();d.arch=re.default.arch();d.isWindows=d.platform==="win32";d.isMacOS=d.platform==="darwin";d.isLinux=d.platform==="linux";function getDetails(){return ee(this,void 0,void 0,(function*(){return Object.assign(Object.assign({},yield d.isWindows?getWindowsInfo():d.isMacOS?getMacOsInfo():getLinuxInfo()),{platform:d.platform,arch:d.arch,isWindows:d.isWindows,isMacOS:d.isMacOS,isLinux:d.isLinux})}))}d.getDetails=getDetails},71847:function(i,d,p){var v=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.summary=d.markdownSummary=d.SUMMARY_DOCS_URL=d.SUMMARY_ENV_VAR=void 0;const V=p(70857);const K=p(79896);const{access:ee,appendFile:te,writeFile:re}=K.promises;d.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";d.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 v(this,void 0,void 0,(function*(){if(this._filePath){return this._filePath}const i=process.env[d.SUMMARY_ENV_VAR];if(!i){throw new Error(`Unable to find environment variable for $${d.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`)}try{yield ee(i,K.constants.R_OK|K.constants.W_OK)}catch(d){throw new Error(`Unable to access summary file: '${i}'. Check if the file has correct read/write permissions.`)}this._filePath=i;return this._filePath}))}wrap(i,d,p={}){const v=Object.entries(p).map((([i,d])=>` ${i}="${d}"`)).join("");if(!d){return`<${i}${v}>`}return`<${i}${v}>${d}`}write(i){return v(this,void 0,void 0,(function*(){const d=!!(i===null||i===void 0?void 0:i.overwrite);const p=yield this.filePath();const v=d?re:te;yield v(p,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return v(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(i,d=false){this._buffer+=i;return d?this.addEOL():this}addEOL(){return this.addRaw(V.EOL)}addCodeBlock(i,d){const p=Object.assign({},d&&{lang:d});const v=this.wrap("pre",this.wrap("code",i),p);return this.addRaw(v).addEOL()}addList(i,d=false){const p=d?"ol":"ul";const v=i.map((i=>this.wrap("li",i))).join("");const V=this.wrap(p,v);return this.addRaw(V).addEOL()}addTable(i){const d=i.map((i=>{const d=i.map((i=>{if(typeof i==="string"){return this.wrap("td",i)}const{header:d,data:p,colspan:v,rowspan:V}=i;const K=d?"th":"td";const ee=Object.assign(Object.assign({},v&&{colspan:v}),V&&{rowspan:V});return this.wrap(K,p,ee)})).join("");return this.wrap("tr",d)})).join("");const p=this.wrap("table",d);return this.addRaw(p).addEOL()}addDetails(i,d){const p=this.wrap("details",this.wrap("summary",i)+d);return this.addRaw(p).addEOL()}addImage(i,d,p){const{width:v,height:V}=p||{};const K=Object.assign(Object.assign({},v&&{width:v}),V&&{height:V});const ee=this.wrap("img",null,Object.assign({src:i,alt:d},K));return this.addRaw(ee).addEOL()}addHeading(i,d){const p=`h${d}`;const v=["h1","h2","h3","h4","h5","h6"].includes(p)?p:"h1";const V=this.wrap(v,i);return this.addRaw(V).addEOL()}addSeparator(){const i=this.wrap("hr",null);return this.addRaw(i).addEOL()}addBreak(){const i=this.wrap("br",null);return this.addRaw(i).addEOL()}addQuote(i,d){const p=Object.assign({},d&&{cite:d});const v=this.wrap("blockquote",i,p);return this.addRaw(v).addEOL()}addLink(i,d){const p=this.wrap("a",i,{href:d});return this.addRaw(p).addEOL()}}const ne=new Summary;d.markdownSummary=ne;d.summary=ne},30302:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.toCommandProperties=d.toCommandValue=void 0;function toCommandValue(i){if(i===null||i===undefined){return""}else if(typeof i==="string"||i instanceof String){return i}return JSON.stringify(i)}d.toCommandValue=toCommandValue;function toCommandProperties(i){if(!Object.keys(i).length){return{}}return{title:i.title,file:i.file,line:i.startLine,endLine:i.endLine,col:i.startColumn,endColumn:i.endColumn}}d.toCommandProperties=toCommandProperties},17251:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;Object.defineProperty(i,v,{enumerable:true,get:function(){return d[p]}})}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};var ee=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.getExecOutput=d.exec=void 0;const te=p(13193);const re=K(p(15982));function exec(i,d,p){return ee(this,void 0,void 0,(function*(){const v=re.argStringToArray(i);if(v.length===0){throw new Error(`Parameter 'commandLine' cannot be null or empty.`)}const V=v[0];d=v.slice(1).concat(d||[]);const K=new re.ToolRunner(V,d,p);return K.exec()}))}d.exec=exec;function getExecOutput(i,d,p){var v,V;return ee(this,void 0,void 0,(function*(){let K="";let ee="";const re=new te.StringDecoder("utf8");const ne=new te.StringDecoder("utf8");const ie=(v=p===null||p===void 0?void 0:p.listeners)===null||v===void 0?void 0:v.stdout;const se=(V=p===null||p===void 0?void 0:p.listeners)===null||V===void 0?void 0:V.stderr;const stdErrListener=i=>{ee+=ne.write(i);if(se){se(i)}};const stdOutListener=i=>{K+=re.write(i);if(ie){ie(i)}};const oe=Object.assign(Object.assign({},p===null||p===void 0?void 0:p.listeners),{stdout:stdOutListener,stderr:stdErrListener});const ae=yield exec(i,d,Object.assign(Object.assign({},p),{listeners:oe}));K+=re.end();ee+=ne.end();return{exitCode:ae,stdout:K,stderr:ee}}))}d.getExecOutput=getExecOutput},15982:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;Object.defineProperty(i,v,{enumerable:true,get:function(){return d[p]}})}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};var ee=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.argStringToArray=d.ToolRunner=void 0;const te=K(p(70857));const re=K(p(24434));const ne=K(p(35317));const ie=K(p(16928));const se=K(p(26757));const oe=K(p(22594));const ae=p(53557);const ce=process.platform==="win32";class ToolRunner extends re.EventEmitter{constructor(i,d,p){super();if(!i){throw new Error("Parameter 'toolPath' cannot be null or empty.")}this.toolPath=i;this.args=d||[];this.options=p||{}}_debug(i){if(this.options.listeners&&this.options.listeners.debug){this.options.listeners.debug(i)}}_getCommandString(i,d){const p=this._getSpawnFileName();const v=this._getSpawnArgs(i);let V=d?"":"[command]";if(ce){if(this._isCmdFile()){V+=p;for(const i of v){V+=` ${i}`}}else if(i.windowsVerbatimArguments){V+=`"${p}"`;for(const i of v){V+=` ${i}`}}else{V+=this._windowsQuoteCmdArg(p);for(const i of v){V+=` ${this._windowsQuoteCmdArg(i)}`}}}else{V+=p;for(const i of v){V+=` ${i}`}}return V}_processLineBuffer(i,d,p){try{let v=d+i.toString();let V=v.indexOf(te.EOL);while(V>-1){const i=v.substring(0,V);p(i);v=v.substring(V+te.EOL.length);V=v.indexOf(te.EOL)}return v}catch(i){this._debug(`error processing line. Failed with error ${i}`);return""}}_getSpawnFileName(){if(ce){if(this._isCmdFile()){return process.env["COMSPEC"]||"cmd.exe"}}return this.toolPath}_getSpawnArgs(i){if(ce){if(this._isCmdFile()){let d=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(const p of this.args){d+=" ";d+=i.windowsVerbatimArguments?p:this._windowsQuoteCmdArg(p)}d+='"';return[d]}}return this.args}_endsWith(i,d){return i.endsWith(d)}_isCmdFile(){const i=this.toolPath.toUpperCase();return this._endsWith(i,".CMD")||this._endsWith(i,".BAT")}_windowsQuoteCmdArg(i){if(!this._isCmdFile()){return this._uvQuoteCmdArg(i)}if(!i){return'""'}const d=[" ","\t","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'];let p=false;for(const v of i){if(d.some((i=>i===v))){p=true;break}}if(!p){return i}let v='"';let V=true;for(let d=i.length;d>0;d--){v+=i[d-1];if(V&&i[d-1]==="\\"){v+="\\"}else if(i[d-1]==='"'){V=true;v+='"'}else{V=false}}v+='"';return v.split("").reverse().join("")}_uvQuoteCmdArg(i){if(!i){return'""'}if(!i.includes(" ")&&!i.includes("\t")&&!i.includes('"')){return i}if(!i.includes('"')&&!i.includes("\\")){return`"${i}"`}let d='"';let p=true;for(let v=i.length;v>0;v--){d+=i[v-1];if(p&&i[v-1]==="\\"){d+="\\"}else if(i[v-1]==='"'){p=true;d+="\\"}else{p=false}}d+='"';return d.split("").reverse().join("")}_cloneExecOptions(i){i=i||{};const d={cwd:i.cwd||process.cwd(),env:i.env||process.env,silent:i.silent||false,windowsVerbatimArguments:i.windowsVerbatimArguments||false,failOnStdErr:i.failOnStdErr||false,ignoreReturnCode:i.ignoreReturnCode||false,delay:i.delay||1e4};d.outStream=i.outStream||process.stdout;d.errStream=i.errStream||process.stderr;return d}_getSpawnOptions(i,d){i=i||{};const p={};p.cwd=i.cwd;p.env=i.env;p["windowsVerbatimArguments"]=i.windowsVerbatimArguments||this._isCmdFile();if(i.windowsVerbatimArguments){p.argv0=`"${d}"`}return p}exec(){return ee(this,void 0,void 0,(function*(){if(!oe.isRooted(this.toolPath)&&(this.toolPath.includes("/")||ce&&this.toolPath.includes("\\"))){this.toolPath=ie.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)}this.toolPath=yield se.which(this.toolPath,true);return new Promise(((i,d)=>ee(this,void 0,void 0,(function*(){this._debug(`exec tool: ${this.toolPath}`);this._debug("arguments:");for(const i of this.args){this._debug(` ${i}`)}const p=this._cloneExecOptions(this.options);if(!p.silent&&p.outStream){p.outStream.write(this._getCommandString(p)+te.EOL)}const v=new ExecState(p,this.toolPath);v.on("debug",(i=>{this._debug(i)}));if(this.options.cwd&&!(yield oe.exists(this.options.cwd))){return d(new Error(`The cwd: ${this.options.cwd} does not exist!`))}const V=this._getSpawnFileName();const K=ne.spawn(V,this._getSpawnArgs(p),this._getSpawnOptions(this.options,V));let ee="";if(K.stdout){K.stdout.on("data",(i=>{if(this.options.listeners&&this.options.listeners.stdout){this.options.listeners.stdout(i)}if(!p.silent&&p.outStream){p.outStream.write(i)}ee=this._processLineBuffer(i,ee,(i=>{if(this.options.listeners&&this.options.listeners.stdline){this.options.listeners.stdline(i)}}))}))}let re="";if(K.stderr){K.stderr.on("data",(i=>{v.processStderr=true;if(this.options.listeners&&this.options.listeners.stderr){this.options.listeners.stderr(i)}if(!p.silent&&p.errStream&&p.outStream){const d=p.failOnStdErr?p.errStream:p.outStream;d.write(i)}re=this._processLineBuffer(i,re,(i=>{if(this.options.listeners&&this.options.listeners.errline){this.options.listeners.errline(i)}}))}))}K.on("error",(i=>{v.processError=i.message;v.processExited=true;v.processClosed=true;v.CheckComplete()}));K.on("exit",(i=>{v.processExitCode=i;v.processExited=true;this._debug(`Exit code ${i} received from tool '${this.toolPath}'`);v.CheckComplete()}));K.on("close",(i=>{v.processExitCode=i;v.processExited=true;v.processClosed=true;this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);v.CheckComplete()}));v.on("done",((p,v)=>{if(ee.length>0){this.emit("stdline",ee)}if(re.length>0){this.emit("errline",re)}K.removeAllListeners();if(p){d(p)}else{i(v)}}));if(this.options.input){if(!K.stdin){throw new Error("child process missing stdin")}K.stdin.end(this.options.input)}}))))}))}}d.ToolRunner=ToolRunner;function argStringToArray(i){const d=[];let p=false;let v=false;let V="";function append(i){if(v&&i!=='"'){V+="\\"}V+=i;v=false}for(let K=0;K0){d.push(V);V=""}continue}append(ee)}if(V.length>0){d.push(V.trim())}return d}d.argStringToArray=argStringToArray;class ExecState extends re.EventEmitter{constructor(i,d){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(!d){throw new Error("toolPath must not be empty")}this.options=i;this.toolPath=d;if(i.delay){this.delay=i.delay}}CheckComplete(){if(this.done){return}if(this.processClosed){this._setResult()}else if(this.processExited){this.timeout=ae.setTimeout(ExecState.HandleTimeout,this.delay,this)}}_debug(i){this.emit("debug",i)}_setResult(){let i;if(this.processExited){if(this.processError){i=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){i=new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`)}else if(this.processStderr&&this.options.failOnStdErr){i=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",i,this.processExitCode)}static HandleTimeout(i){if(i.done){return}if(!i.processClosed&&i.processExited){const d=`The STDIO streams did not close within ${i.delay/1e3} seconds of the exit event from process '${i.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;i._debug(d)}i._setResult()}}},37481:function(i,d){var p=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.PersonalAccessTokenCredentialHandler=d.BearerCredentialHandler=d.BasicCredentialHandler=void 0;class BasicCredentialHandler{constructor(i,d){this.username=i;this.password=d}prepareRequest(i){if(!i.headers){throw Error("The request has no headers")}i.headers["Authorization"]=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return p(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}d.BasicCredentialHandler=BasicCredentialHandler;class BearerCredentialHandler{constructor(i){this.token=i}prepareRequest(i){if(!i.headers){throw Error("The request has no headers")}i.headers["Authorization"]=`Bearer ${this.token}`}canHandleAuthentication(){return false}handleAuthentication(){return p(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}d.BearerCredentialHandler=BearerCredentialHandler;class PersonalAccessTokenCredentialHandler{constructor(i){this.token=i}prepareRequest(i){if(!i.headers){throw Error("The request has no headers")}i.headers["Authorization"]=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return p(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}d.PersonalAccessTokenCredentialHandler=PersonalAccessTokenCredentialHandler},28163:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};var ee=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.HttpClient=d.isHttps=d.HttpClientResponse=d.HttpClientError=d.getProxyUrl=d.MediaTypes=d.Headers=d.HttpCodes=void 0;const te=K(p(58611));const re=K(p(65692));const ne=K(p(43695));const ie=K(p(20770));const se=p(46752);var oe;(function(i){i[i["OK"]=200]="OK";i[i["MultipleChoices"]=300]="MultipleChoices";i[i["MovedPermanently"]=301]="MovedPermanently";i[i["ResourceMoved"]=302]="ResourceMoved";i[i["SeeOther"]=303]="SeeOther";i[i["NotModified"]=304]="NotModified";i[i["UseProxy"]=305]="UseProxy";i[i["SwitchProxy"]=306]="SwitchProxy";i[i["TemporaryRedirect"]=307]="TemporaryRedirect";i[i["PermanentRedirect"]=308]="PermanentRedirect";i[i["BadRequest"]=400]="BadRequest";i[i["Unauthorized"]=401]="Unauthorized";i[i["PaymentRequired"]=402]="PaymentRequired";i[i["Forbidden"]=403]="Forbidden";i[i["NotFound"]=404]="NotFound";i[i["MethodNotAllowed"]=405]="MethodNotAllowed";i[i["NotAcceptable"]=406]="NotAcceptable";i[i["ProxyAuthenticationRequired"]=407]="ProxyAuthenticationRequired";i[i["RequestTimeout"]=408]="RequestTimeout";i[i["Conflict"]=409]="Conflict";i[i["Gone"]=410]="Gone";i[i["TooManyRequests"]=429]="TooManyRequests";i[i["InternalServerError"]=500]="InternalServerError";i[i["NotImplemented"]=501]="NotImplemented";i[i["BadGateway"]=502]="BadGateway";i[i["ServiceUnavailable"]=503]="ServiceUnavailable";i[i["GatewayTimeout"]=504]="GatewayTimeout"})(oe||(d.HttpCodes=oe={}));var ae;(function(i){i["Accept"]="accept";i["ContentType"]="content-type"})(ae||(d.Headers=ae={}));var ce;(function(i){i["ApplicationJson"]="application/json"})(ce||(d.MediaTypes=ce={}));function getProxyUrl(i){const d=ne.getProxyUrl(new URL(i));return d?d.href:""}d.getProxyUrl=getProxyUrl;const le=[oe.MovedPermanently,oe.ResourceMoved,oe.SeeOther,oe.TemporaryRedirect,oe.PermanentRedirect];const ue=[oe.BadGateway,oe.ServiceUnavailable,oe.GatewayTimeout];const Ae=["OPTIONS","GET","DELETE","HEAD"];const de=10;const pe=5;class HttpClientError extends Error{constructor(i,d){super(i);this.name="HttpClientError";this.statusCode=d;Object.setPrototypeOf(this,HttpClientError.prototype)}}d.HttpClientError=HttpClientError;class HttpClientResponse{constructor(i){this.message=i}readBody(){return ee(this,void 0,void 0,(function*(){return new Promise((i=>ee(this,void 0,void 0,(function*(){let d=Buffer.alloc(0);this.message.on("data",(i=>{d=Buffer.concat([d,i])}));this.message.on("end",(()=>{i(d.toString())}))}))))}))}readBodyBuffer(){return ee(this,void 0,void 0,(function*(){return new Promise((i=>ee(this,void 0,void 0,(function*(){const d=[];this.message.on("data",(i=>{d.push(i)}));this.message.on("end",(()=>{i(Buffer.concat(d))}))}))))}))}}d.HttpClientResponse=HttpClientResponse;function isHttps(i){const d=new URL(i);return d.protocol==="https:"}d.isHttps=isHttps;class HttpClient{constructor(i,d,p){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=i;this.handlers=d||[];this.requestOptions=p;if(p){if(p.ignoreSslError!=null){this._ignoreSslError=p.ignoreSslError}this._socketTimeout=p.socketTimeout;if(p.allowRedirects!=null){this._allowRedirects=p.allowRedirects}if(p.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=p.allowRedirectDowngrade}if(p.maxRedirects!=null){this._maxRedirects=Math.max(p.maxRedirects,0)}if(p.keepAlive!=null){this._keepAlive=p.keepAlive}if(p.allowRetries!=null){this._allowRetries=p.allowRetries}if(p.maxRetries!=null){this._maxRetries=p.maxRetries}}}options(i,d){return ee(this,void 0,void 0,(function*(){return this.request("OPTIONS",i,null,d||{})}))}get(i,d){return ee(this,void 0,void 0,(function*(){return this.request("GET",i,null,d||{})}))}del(i,d){return ee(this,void 0,void 0,(function*(){return this.request("DELETE",i,null,d||{})}))}post(i,d,p){return ee(this,void 0,void 0,(function*(){return this.request("POST",i,d,p||{})}))}patch(i,d,p){return ee(this,void 0,void 0,(function*(){return this.request("PATCH",i,d,p||{})}))}put(i,d,p){return ee(this,void 0,void 0,(function*(){return this.request("PUT",i,d,p||{})}))}head(i,d){return ee(this,void 0,void 0,(function*(){return this.request("HEAD",i,null,d||{})}))}sendStream(i,d,p,v){return ee(this,void 0,void 0,(function*(){return this.request(i,d,p,v)}))}getJson(i,d={}){return ee(this,void 0,void 0,(function*(){d[ae.Accept]=this._getExistingOrDefaultHeader(d,ae.Accept,ce.ApplicationJson);const p=yield this.get(i,d);return this._processResponse(p,this.requestOptions)}))}postJson(i,d,p={}){return ee(this,void 0,void 0,(function*(){const v=JSON.stringify(d,null,2);p[ae.Accept]=this._getExistingOrDefaultHeader(p,ae.Accept,ce.ApplicationJson);p[ae.ContentType]=this._getExistingOrDefaultHeader(p,ae.ContentType,ce.ApplicationJson);const V=yield this.post(i,v,p);return this._processResponse(V,this.requestOptions)}))}putJson(i,d,p={}){return ee(this,void 0,void 0,(function*(){const v=JSON.stringify(d,null,2);p[ae.Accept]=this._getExistingOrDefaultHeader(p,ae.Accept,ce.ApplicationJson);p[ae.ContentType]=this._getExistingOrDefaultHeader(p,ae.ContentType,ce.ApplicationJson);const V=yield this.put(i,v,p);return this._processResponse(V,this.requestOptions)}))}patchJson(i,d,p={}){return ee(this,void 0,void 0,(function*(){const v=JSON.stringify(d,null,2);p[ae.Accept]=this._getExistingOrDefaultHeader(p,ae.Accept,ce.ApplicationJson);p[ae.ContentType]=this._getExistingOrDefaultHeader(p,ae.ContentType,ce.ApplicationJson);const V=yield this.patch(i,v,p);return this._processResponse(V,this.requestOptions)}))}request(i,d,p,v){return ee(this,void 0,void 0,(function*(){if(this._disposed){throw new Error("Client has already been disposed.")}const V=new URL(d);let K=this._prepareRequest(i,V,v);const ee=this._allowRetries&&Ae.includes(i)?this._maxRetries+1:1;let te=0;let re;do{re=yield this.requestRaw(K,p);if(re&&re.message&&re.message.statusCode===oe.Unauthorized){let i;for(const d of this.handlers){if(d.canHandleAuthentication(re)){i=d;break}}if(i){return i.handleAuthentication(this,K,p)}else{return re}}let d=this._maxRedirects;while(re.message.statusCode&&le.includes(re.message.statusCode)&&this._allowRedirects&&d>0){const ee=re.message.headers["location"];if(!ee){break}const te=new URL(ee);if(V.protocol==="https:"&&V.protocol!==te.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 re.readBody();if(te.hostname!==V.hostname){for(const i in v){if(i.toLowerCase()==="authorization"){delete v[i]}}}K=this._prepareRequest(i,te,v);re=yield this.requestRaw(K,p);d--}if(!re.message.statusCode||!ue.includes(re.message.statusCode)){return re}te+=1;if(te{function callbackForResult(i,d){if(i){v(i)}else if(!d){v(new Error("Unknown error"))}else{p(d)}}this.requestRawWithCallback(i,d,callbackForResult)}))}))}requestRawWithCallback(i,d,p){if(typeof d==="string"){if(!i.options.headers){i.options.headers={}}i.options.headers["Content-Length"]=Buffer.byteLength(d,"utf8")}let v=false;function handleResult(i,d){if(!v){v=true;p(i,d)}}const V=i.httpModule.request(i.options,(i=>{const d=new HttpClientResponse(i);handleResult(undefined,d)}));let K;V.on("socket",(i=>{K=i}));V.setTimeout(this._socketTimeout||3*6e4,(()=>{if(K){K.end()}handleResult(new Error(`Request timeout: ${i.options.path}`))}));V.on("error",(function(i){handleResult(i)}));if(d&&typeof d==="string"){V.write(d,"utf8")}if(d&&typeof d!=="string"){d.on("close",(function(){V.end()}));d.pipe(V)}else{V.end()}}getAgent(i){const d=new URL(i);return this._getAgent(d)}getAgentDispatcher(i){const d=new URL(i);const p=ne.getProxyUrl(d);const v=p&&p.hostname;if(!v){return}return this._getProxyAgentDispatcher(d,p)}_prepareRequest(i,d,p){const v={};v.parsedUrl=d;const V=v.parsedUrl.protocol==="https:";v.httpModule=V?re:te;const K=V?443:80;v.options={};v.options.host=v.parsedUrl.hostname;v.options.port=v.parsedUrl.port?parseInt(v.parsedUrl.port):K;v.options.path=(v.parsedUrl.pathname||"")+(v.parsedUrl.search||"");v.options.method=i;v.options.headers=this._mergeHeaders(p);if(this.userAgent!=null){v.options.headers["user-agent"]=this.userAgent}v.options.agent=this._getAgent(v.parsedUrl);if(this.handlers){for(const i of this.handlers){i.prepareRequest(v.options)}}return v}_mergeHeaders(i){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(i||{}))}return lowercaseKeys(i||{})}_getExistingOrDefaultHeader(i,d,p){let v;if(this.requestOptions&&this.requestOptions.headers){v=lowercaseKeys(this.requestOptions.headers)[d]}return i[d]||v||p}_getAgent(i){let d;const p=ne.getProxyUrl(i);const v=p&&p.hostname;if(this._keepAlive&&v){d=this._proxyAgent}if(this._keepAlive&&!v){d=this._agent}if(d){return d}const V=i.protocol==="https:";let K=100;if(this.requestOptions){K=this.requestOptions.maxSockets||te.globalAgent.maxSockets}if(p&&p.hostname){const i={maxSockets:K,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(p.username||p.password)&&{proxyAuth:`${p.username}:${p.password}`}),{host:p.hostname,port:p.port})};let v;const ee=p.protocol==="https:";if(V){v=ee?ie.httpsOverHttps:ie.httpsOverHttp}else{v=ee?ie.httpOverHttps:ie.httpOverHttp}d=v(i);this._proxyAgent=d}if(this._keepAlive&&!d){const i={keepAlive:this._keepAlive,maxSockets:K};d=V?new re.Agent(i):new te.Agent(i);this._agent=d}if(!d){d=V?re.globalAgent:te.globalAgent}if(V&&this._ignoreSslError){d.options=Object.assign(d.options||{},{rejectUnauthorized:false})}return d}_getProxyAgentDispatcher(i,d){let p;if(this._keepAlive){p=this._proxyAgentDispatcher}if(p){return p}const v=i.protocol==="https:";p=new se.ProxyAgent(Object.assign({uri:d.href,pipelining:!this._keepAlive?0:1},(d.username||d.password)&&{token:`${d.username}:${d.password}`}));this._proxyAgentDispatcher=p;if(v&&this._ignoreSslError){p.options=Object.assign(p.options.requestTls||{},{rejectUnauthorized:false})}return p}_performExponentialBackoff(i){return ee(this,void 0,void 0,(function*(){i=Math.min(de,i);const d=pe*Math.pow(2,i);return new Promise((i=>setTimeout((()=>i()),d)))}))}_processResponse(i,d){return ee(this,void 0,void 0,(function*(){return new Promise(((p,v)=>ee(this,void 0,void 0,(function*(){const V=i.message.statusCode||0;const K={statusCode:V,result:null,headers:{}};if(V===oe.NotFound){p(K)}function dateTimeDeserializer(i,d){if(typeof d==="string"){const i=new Date(d);if(!isNaN(i.valueOf())){return i}}return d}let ee;let te;try{te=yield i.readBody();if(te&&te.length>0){if(d&&d.deserializeDates){ee=JSON.parse(te,dateTimeDeserializer)}else{ee=JSON.parse(te)}K.result=ee}K.headers=i.message.headers}catch(i){}if(V>299){let i;if(ee&&ee.message){i=ee.message}else if(te&&te.length>0){i=te}else{i=`Failed request: (${V})`}const d=new HttpClientError(i,V);d.result=K.result;v(d)}else{p(K)}}))))}))}}d.HttpClient=HttpClient;const lowercaseKeys=i=>Object.keys(i).reduce(((d,p)=>(d[p.toLowerCase()]=i[p],d)),{})},43695:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.checkBypass=d.getProxyUrl=void 0;function getProxyUrl(i){const d=i.protocol==="https:";if(checkBypass(i)){return undefined}const p=(()=>{if(d){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(p){try{return new URL(p)}catch(i){if(!p.startsWith("http://")&&!p.startsWith("https://"))return new URL(`http://${p}`)}}else{return undefined}}d.getProxyUrl=getProxyUrl;function checkBypass(i){if(!i.hostname){return false}const d=i.hostname;if(isLoopbackAddress(d)){return true}const p=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!p){return false}let v;if(i.port){v=Number(i.port)}else if(i.protocol==="http:"){v=80}else if(i.protocol==="https:"){v=443}const V=[i.hostname.toUpperCase()];if(typeof v==="number"){V.push(`${V[0]}:${v}`)}for(const i of p.split(",").map((i=>i.trim().toUpperCase())).filter((i=>i))){if(i==="*"||V.some((d=>d===i||d.endsWith(`.${i}`)||i.startsWith(".")&&d.endsWith(`${i}`)))){return true}}return false}d.checkBypass=checkBypass;function isLoopbackAddress(i){const d=i.toLowerCase();return d==="localhost"||d.startsWith("127.")||d.startsWith("[::1]")||d.startsWith("[0:0:0:0:0:0:0:1]")}},22594:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;Object.defineProperty(i,v,{enumerable:true,get:function(){return d[p]}})}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};var ee=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};var te;Object.defineProperty(d,"__esModule",{value:true});d.getCmdPath=d.tryGetExecutablePath=d.isRooted=d.isDirectory=d.exists=d.READONLY=d.UV_FS_O_EXLOCK=d.IS_WINDOWS=d.unlink=d.symlink=d.stat=d.rmdir=d.rm=d.rename=d.readlink=d.readdir=d.open=d.mkdir=d.lstat=d.copyFile=d.chmod=void 0;const re=K(p(79896));const ne=K(p(16928));te=re.promises,d.chmod=te.chmod,d.copyFile=te.copyFile,d.lstat=te.lstat,d.mkdir=te.mkdir,d.open=te.open,d.readdir=te.readdir,d.readlink=te.readlink,d.rename=te.rename,d.rm=te.rm,d.rmdir=te.rmdir,d.stat=te.stat,d.symlink=te.symlink,d.unlink=te.unlink;d.IS_WINDOWS=process.platform==="win32";d.UV_FS_O_EXLOCK=268435456;d.READONLY=re.constants.O_RDONLY;function exists(i){return ee(this,void 0,void 0,(function*(){try{yield d.stat(i)}catch(i){if(i.code==="ENOENT"){return false}throw i}return true}))}d.exists=exists;function isDirectory(i,p=false){return ee(this,void 0,void 0,(function*(){const v=p?yield d.stat(i):yield d.lstat(i);return v.isDirectory()}))}d.isDirectory=isDirectory;function isRooted(i){i=normalizeSeparators(i);if(!i){throw new Error('isRooted() parameter "p" cannot be empty')}if(d.IS_WINDOWS){return i.startsWith("\\")||/^[A-Z]:/i.test(i)}return i.startsWith("/")}d.isRooted=isRooted;function tryGetExecutablePath(i,p){return ee(this,void 0,void 0,(function*(){let v=undefined;try{v=yield d.stat(i)}catch(d){if(d.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${i}': ${d}`)}}if(v&&v.isFile()){if(d.IS_WINDOWS){const d=ne.extname(i).toUpperCase();if(p.some((i=>i.toUpperCase()===d))){return i}}else{if(isUnixExecutable(v)){return i}}}const V=i;for(const K of p){i=V+K;v=undefined;try{v=yield d.stat(i)}catch(d){if(d.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${i}': ${d}`)}}if(v&&v.isFile()){if(d.IS_WINDOWS){try{const p=ne.dirname(i);const v=ne.basename(i).toUpperCase();for(const V of yield d.readdir(p)){if(v===V.toUpperCase()){i=ne.join(p,V);break}}}catch(d){console.log(`Unexpected error attempting to determine the actual case of the file '${i}': ${d}`)}return i}else{if(isUnixExecutable(v)){return i}}}}return""}))}d.tryGetExecutablePath=tryGetExecutablePath;function normalizeSeparators(i){i=i||"";if(d.IS_WINDOWS){i=i.replace(/\//g,"\\");return i.replace(/\\\\+/g,"\\")}return i.replace(/\/\/+/g,"/")}function isUnixExecutable(i){return(i.mode&1)>0||(i.mode&8)>0&&i.gid===process.getgid()||(i.mode&64)>0&&i.uid===process.getuid()}function getCmdPath(){var i;return(i=process.env["COMSPEC"])!==null&&i!==void 0?i:`cmd.exe`}d.getCmdPath=getCmdPath},26757:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;Object.defineProperty(i,v,{enumerable:true,get:function(){return d[p]}})}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};var ee=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.findInPath=d.which=d.mkdirP=d.rmRF=d.mv=d.cp=void 0;const te=p(42613);const re=K(p(16928));const ne=K(p(22594));function cp(i,d,p={}){return ee(this,void 0,void 0,(function*(){const{force:v,recursive:V,copySourceDirectory:K}=readCopyOptions(p);const ee=(yield ne.exists(d))?yield ne.stat(d):null;if(ee&&ee.isFile()&&!v){return}const te=ee&&ee.isDirectory()&&K?re.join(d,re.basename(i)):d;if(!(yield ne.exists(i))){throw new Error(`no such file or directory: ${i}`)}const ie=yield ne.stat(i);if(ie.isDirectory()){if(!V){throw new Error(`Failed to copy. ${i} is a directory, but tried to copy without recursive flag.`)}else{yield cpDirRecursive(i,te,0,v)}}else{if(re.relative(i,te)===""){throw new Error(`'${te}' and '${i}' are the same file`)}yield copyFile(i,te,v)}}))}d.cp=cp;function mv(i,d,p={}){return ee(this,void 0,void 0,(function*(){if(yield ne.exists(d)){let v=true;if(yield ne.isDirectory(d)){d=re.join(d,re.basename(i));v=yield ne.exists(d)}if(v){if(p.force==null||p.force){yield rmRF(d)}else{throw new Error("Destination already exists")}}}yield mkdirP(re.dirname(d));yield ne.rename(i,d)}))}d.mv=mv;function rmRF(i){return ee(this,void 0,void 0,(function*(){if(ne.IS_WINDOWS){if(/[*"<>|]/.test(i)){throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows')}}try{yield ne.rm(i,{force:true,maxRetries:3,recursive:true,retryDelay:300})}catch(i){throw new Error(`File was unable to be removed ${i}`)}}))}d.rmRF=rmRF;function mkdirP(i){return ee(this,void 0,void 0,(function*(){te.ok(i,"a path argument must be provided");yield ne.mkdir(i,{recursive:true})}))}d.mkdirP=mkdirP;function which(i,d){return ee(this,void 0,void 0,(function*(){if(!i){throw new Error("parameter 'tool' is required")}if(d){const d=yield which(i,false);if(!d){if(ne.IS_WINDOWS){throw new Error(`Unable to locate executable file: ${i}. 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: ${i}. 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 d}const p=yield findInPath(i);if(p&&p.length>0){return p[0]}return""}))}d.which=which;function findInPath(i){return ee(this,void 0,void 0,(function*(){if(!i){throw new Error("parameter 'tool' is required")}const d=[];if(ne.IS_WINDOWS&&process.env["PATHEXT"]){for(const i of process.env["PATHEXT"].split(re.delimiter)){if(i){d.push(i)}}}if(ne.isRooted(i)){const p=yield ne.tryGetExecutablePath(i,d);if(p){return[p]}return[]}if(i.includes(re.sep)){return[]}const p=[];if(process.env.PATH){for(const i of process.env.PATH.split(re.delimiter)){if(i){p.push(i)}}}const v=[];for(const V of p){const p=yield ne.tryGetExecutablePath(re.join(V,i),d);if(p){v.push(p)}}return v}))}d.findInPath=findInPath;function readCopyOptions(i){const d=i.force==null?true:i.force;const p=Boolean(i.recursive);const v=i.copySourceDirectory==null?true:Boolean(i.copySourceDirectory);return{force:d,recursive:p,copySourceDirectory:v}}function cpDirRecursive(i,d,p,v){return ee(this,void 0,void 0,(function*(){if(p>=255)return;p++;yield mkdirP(d);const V=yield ne.readdir(i);for(const K of V){const V=`${i}/${K}`;const ee=`${d}/${K}`;const te=yield ne.lstat(V);if(te.isDirectory()){yield cpDirRecursive(V,ee,p,v)}else{yield copyFile(V,ee,v)}}yield ne.chmod(d,(yield ne.stat(i)).mode)}))}function copyFile(i,d,p){return ee(this,void 0,void 0,(function*(){if((yield ne.lstat(i)).isSymbolicLink()){try{yield ne.lstat(d);yield ne.unlink(d)}catch(i){if(i.code==="EPERM"){yield ne.chmod(d,"0666");yield ne.unlink(d)}}const p=yield ne.readlink(i);yield ne.symlink(p,d,ne.IS_WINDOWS?"junction":null)}else if(!(yield ne.exists(d))||p){yield ne.copyFile(i,d)}}))}},95236:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K{ee+=ne.write(i);if(se){se(i)}};const stdOutListener=i=>{K+=re.write(i);if(ie){ie(i)}};const oe=Object.assign(Object.assign({},p===null||p===void 0?void 0:p.listeners),{stdout:stdOutListener,stderr:stdErrListener});const ae=yield exec(i,d,Object.assign(Object.assign({},p),{listeners:oe}));K+=re.end();ee+=ne.end();return{exitCode:ae,stdout:K,stderr:ee}}))}},6665:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K-1){const i=v.substring(0,V);p(i);v=v.substring(V+te.EOL.length);V=v.indexOf(te.EOL)}return v}catch(i){this._debug(`error processing line. Failed with error ${i}`);return""}}_getSpawnFileName(){if(ce){if(this._isCmdFile()){return process.env["COMSPEC"]||"cmd.exe"}}return this.toolPath}_getSpawnArgs(i){if(ce){if(this._isCmdFile()){let d=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(const p of this.args){d+=" ";d+=i.windowsVerbatimArguments?p:this._windowsQuoteCmdArg(p)}d+='"';return[d]}}return this.args}_endsWith(i,d){return i.endsWith(d)}_isCmdFile(){const i=this.toolPath.toUpperCase();return this._endsWith(i,".CMD")||this._endsWith(i,".BAT")}_windowsQuoteCmdArg(i){if(!this._isCmdFile()){return this._uvQuoteCmdArg(i)}if(!i){return'""'}const d=[" ","\t","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'];let p=false;for(const v of i){if(d.some((i=>i===v))){p=true;break}}if(!p){return i}let v='"';let V=true;for(let d=i.length;d>0;d--){v+=i[d-1];if(V&&i[d-1]==="\\"){v+="\\"}else if(i[d-1]==='"'){V=true;v+='"'}else{V=false}}v+='"';return v.split("").reverse().join("")}_uvQuoteCmdArg(i){if(!i){return'""'}if(!i.includes(" ")&&!i.includes("\t")&&!i.includes('"')){return i}if(!i.includes('"')&&!i.includes("\\")){return`"${i}"`}let d='"';let p=true;for(let v=i.length;v>0;v--){d+=i[v-1];if(p&&i[v-1]==="\\"){d+="\\"}else if(i[v-1]==='"'){p=true;d+="\\"}else{p=false}}d+='"';return d.split("").reverse().join("")}_cloneExecOptions(i){i=i||{};const d={cwd:i.cwd||process.cwd(),env:i.env||process.env,silent:i.silent||false,windowsVerbatimArguments:i.windowsVerbatimArguments||false,failOnStdErr:i.failOnStdErr||false,ignoreReturnCode:i.ignoreReturnCode||false,delay:i.delay||1e4};d.outStream=i.outStream||process.stdout;d.errStream=i.errStream||process.stderr;return d}_getSpawnOptions(i,d){i=i||{};const p={};p.cwd=i.cwd;p.env=i.env;p["windowsVerbatimArguments"]=i.windowsVerbatimArguments||this._isCmdFile();if(i.windowsVerbatimArguments){p.argv0=`"${d}"`}return p}exec(){return ee(this,void 0,void 0,(function*(){if(!oe.isRooted(this.toolPath)&&(this.toolPath.includes("/")||ce&&this.toolPath.includes("\\"))){this.toolPath=ie.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)}this.toolPath=yield se.which(this.toolPath,true);return new Promise(((i,d)=>ee(this,void 0,void 0,(function*(){this._debug(`exec tool: ${this.toolPath}`);this._debug("arguments:");for(const i of this.args){this._debug(` ${i}`)}const p=this._cloneExecOptions(this.options);if(!p.silent&&p.outStream){p.outStream.write(this._getCommandString(p)+te.EOL)}const v=new ExecState(p,this.toolPath);v.on("debug",(i=>{this._debug(i)}));if(this.options.cwd&&!(yield oe.exists(this.options.cwd))){return d(new Error(`The cwd: ${this.options.cwd} does not exist!`))}const V=this._getSpawnFileName();const K=ne.spawn(V,this._getSpawnArgs(p),this._getSpawnOptions(this.options,V));let ee="";if(K.stdout){K.stdout.on("data",(i=>{if(this.options.listeners&&this.options.listeners.stdout){this.options.listeners.stdout(i)}if(!p.silent&&p.outStream){p.outStream.write(i)}ee=this._processLineBuffer(i,ee,(i=>{if(this.options.listeners&&this.options.listeners.stdline){this.options.listeners.stdline(i)}}))}))}let re="";if(K.stderr){K.stderr.on("data",(i=>{v.processStderr=true;if(this.options.listeners&&this.options.listeners.stderr){this.options.listeners.stderr(i)}if(!p.silent&&p.errStream&&p.outStream){const d=p.failOnStdErr?p.errStream:p.outStream;d.write(i)}re=this._processLineBuffer(i,re,(i=>{if(this.options.listeners&&this.options.listeners.errline){this.options.listeners.errline(i)}}))}))}K.on("error",(i=>{v.processError=i.message;v.processExited=true;v.processClosed=true;v.CheckComplete()}));K.on("exit",(i=>{v.processExitCode=i;v.processExited=true;this._debug(`Exit code ${i} received from tool '${this.toolPath}'`);v.CheckComplete()}));K.on("close",(i=>{v.processExitCode=i;v.processExited=true;v.processClosed=true;this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);v.CheckComplete()}));v.on("done",((p,v)=>{if(ee.length>0){this.emit("stdline",ee)}if(re.length>0){this.emit("errline",re)}K.removeAllListeners();if(p){d(p)}else{i(v)}}));if(this.options.input){if(!K.stdin){throw new Error("child process missing stdin")}K.stdin.end(this.options.input)}}))))}))}}d.ToolRunner=ToolRunner;function argStringToArray(i){const d=[];let p=false;let v=false;let V="";function append(i){if(v&&i!=='"'){V+="\\"}V+=i;v=false}for(let K=0;K0){d.push(V);V=""}continue}append(ee)}if(V.length>0){d.push(V.trim())}return d}class ExecState extends re.EventEmitter{constructor(i,d){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(!d){throw new Error("toolPath must not be empty")}this.options=i;this.toolPath=d;if(i.delay){this.delay=i.delay}}CheckComplete(){if(this.done){return}if(this.processClosed){this._setResult()}else if(this.processExited){this.timeout=(0,ae.setTimeout)(ExecState.HandleTimeout,this.delay,this)}}_debug(i){this.emit("debug",i)}_setResult(){let i;if(this.processExited){if(this.processError){i=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){i=new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`)}else if(this.processStderr&&this.options.failOnStdErr){i=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",i,this.processExitCode)}static HandleTimeout(i){if(i.done){return}if(!i.processClosed&&i.processExited){const d=`The STDIO streams did not close within ${i.delay/1e3} seconds of the exit event from process '${i.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;i._debug(d)}i._setResult()}}},51648:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.Context=void 0;const v=p(79896);const V=p(70857);class Context{constructor(){var i,d,p;this.payload={};if(process.env.GITHUB_EVENT_PATH){if((0,v.existsSync)(process.env.GITHUB_EVENT_PATH)){this.payload=JSON.parse((0,v.readFileSync)(process.env.GITHUB_EVENT_PATH,{encoding:"utf8"}))}else{const i=process.env.GITHUB_EVENT_PATH;process.stdout.write(`GITHUB_EVENT_PATH ${i} does not exist${V.EOL}`)}}this.eventName=process.env.GITHUB_EVENT_NAME;this.sha=process.env.GITHUB_SHA;this.ref=process.env.GITHUB_REF;this.workflow=process.env.GITHUB_WORKFLOW;this.action=process.env.GITHUB_ACTION;this.actor=process.env.GITHUB_ACTOR;this.job=process.env.GITHUB_JOB;this.runAttempt=parseInt(process.env.GITHUB_RUN_ATTEMPT,10);this.runNumber=parseInt(process.env.GITHUB_RUN_NUMBER,10);this.runId=parseInt(process.env.GITHUB_RUN_ID,10);this.apiUrl=(i=process.env.GITHUB_API_URL)!==null&&i!==void 0?i:`https://api.github.com`;this.serverUrl=(d=process.env.GITHUB_SERVER_URL)!==null&&d!==void 0?d:`https://github.com`;this.graphqlUrl=(p=process.env.GITHUB_GRAPHQL_URL)!==null&&p!==void 0?p:`https://api.github.com/graphql`}get issue(){const i=this.payload;return Object.assign(Object.assign({},this.repo),{number:(i.issue||i.pull_request||i).number})}get repo(){if(process.env.GITHUB_REPOSITORY){const[i,d]=process.env.GITHUB_REPOSITORY.split("/");return{owner:i,repo:d}}if(this.payload.repository){return{owner:this.payload.repository.owner.login,repo:this.payload.repository.name}}throw new Error("context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'")}}d.Context=Context},93228:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};Object.defineProperty(d,"__esModule",{value:true});d.getOctokit=d.context=void 0;const ee=K(p(51648));const te=p(38006);d.context=new ee.Context;function getOctokit(i,d,...p){const v=te.GitHub.plugin(...p);return new v((0,te.getOctokitOptions)(i,d))}d.getOctokit=getOctokit},65156:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};var ee=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.getApiBaseUrl=d.getProxyFetch=d.getProxyAgentDispatcher=d.getProxyAgent=d.getAuthString=void 0;const te=K(p(89659));const re=p(46752);function getAuthString(i,d){if(!i&&!d.auth){throw new Error("Parameter token or opts.auth is required")}else if(i&&d.auth){throw new Error("Parameters token and opts.auth may not both be specified")}return typeof d.auth==="string"?d.auth:`token ${i}`}d.getAuthString=getAuthString;function getProxyAgent(i){const d=new te.HttpClient;return d.getAgent(i)}d.getProxyAgent=getProxyAgent;function getProxyAgentDispatcher(i){const d=new te.HttpClient;return d.getAgentDispatcher(i)}d.getProxyAgentDispatcher=getProxyAgentDispatcher;function getProxyFetch(i){const d=getProxyAgentDispatcher(i);const proxyFetch=(i,p)=>ee(this,void 0,void 0,(function*(){return(0,re.fetch)(i,Object.assign(Object.assign({},p),{dispatcher:d}))}));return proxyFetch}d.getProxyFetch=getProxyFetch;function getApiBaseUrl(){return process.env["GITHUB_API_URL"]||"https://api.github.com"}d.getApiBaseUrl=getApiBaseUrl},38006:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};Object.defineProperty(d,"__esModule",{value:true});d.getOctokitOptions=d.GitHub=d.defaults=d.context=void 0;const ee=K(p(51648));const te=K(p(65156));const re=p(61897);const ne=p(84935);const ie=p(38082);d.context=new ee.Context;const se=te.getApiBaseUrl();d.defaults={baseUrl:se,request:{agent:te.getProxyAgent(se),fetch:te.getProxyFetch(se)}};d.GitHub=re.Octokit.plugin(ne.restEndpointMethods,ie.paginateRest).defaults(d.defaults);function getOctokitOptions(i,d){const p=Object.assign({},d||{});const v=te.getAuthString(i,p);if(v){p.auth=v}return p}d.getOctokitOptions=getOctokitOptions},89659:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};var ee=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.HttpClient=d.isHttps=d.HttpClientResponse=d.HttpClientError=d.getProxyUrl=d.MediaTypes=d.Headers=d.HttpCodes=void 0;const te=K(p(58611));const re=K(p(65692));const ne=K(p(83335));const ie=K(p(20770));const se=p(46752);var oe;(function(i){i[i["OK"]=200]="OK";i[i["MultipleChoices"]=300]="MultipleChoices";i[i["MovedPermanently"]=301]="MovedPermanently";i[i["ResourceMoved"]=302]="ResourceMoved";i[i["SeeOther"]=303]="SeeOther";i[i["NotModified"]=304]="NotModified";i[i["UseProxy"]=305]="UseProxy";i[i["SwitchProxy"]=306]="SwitchProxy";i[i["TemporaryRedirect"]=307]="TemporaryRedirect";i[i["PermanentRedirect"]=308]="PermanentRedirect";i[i["BadRequest"]=400]="BadRequest";i[i["Unauthorized"]=401]="Unauthorized";i[i["PaymentRequired"]=402]="PaymentRequired";i[i["Forbidden"]=403]="Forbidden";i[i["NotFound"]=404]="NotFound";i[i["MethodNotAllowed"]=405]="MethodNotAllowed";i[i["NotAcceptable"]=406]="NotAcceptable";i[i["ProxyAuthenticationRequired"]=407]="ProxyAuthenticationRequired";i[i["RequestTimeout"]=408]="RequestTimeout";i[i["Conflict"]=409]="Conflict";i[i["Gone"]=410]="Gone";i[i["TooManyRequests"]=429]="TooManyRequests";i[i["InternalServerError"]=500]="InternalServerError";i[i["NotImplemented"]=501]="NotImplemented";i[i["BadGateway"]=502]="BadGateway";i[i["ServiceUnavailable"]=503]="ServiceUnavailable";i[i["GatewayTimeout"]=504]="GatewayTimeout"})(oe||(d.HttpCodes=oe={}));var ae;(function(i){i["Accept"]="accept";i["ContentType"]="content-type"})(ae||(d.Headers=ae={}));var ce;(function(i){i["ApplicationJson"]="application/json"})(ce||(d.MediaTypes=ce={}));function getProxyUrl(i){const d=ne.getProxyUrl(new URL(i));return d?d.href:""}d.getProxyUrl=getProxyUrl;const le=[oe.MovedPermanently,oe.ResourceMoved,oe.SeeOther,oe.TemporaryRedirect,oe.PermanentRedirect];const ue=[oe.BadGateway,oe.ServiceUnavailable,oe.GatewayTimeout];const Ae=["OPTIONS","GET","DELETE","HEAD"];const de=10;const pe=5;class HttpClientError extends Error{constructor(i,d){super(i);this.name="HttpClientError";this.statusCode=d;Object.setPrototypeOf(this,HttpClientError.prototype)}}d.HttpClientError=HttpClientError;class HttpClientResponse{constructor(i){this.message=i}readBody(){return ee(this,void 0,void 0,(function*(){return new Promise((i=>ee(this,void 0,void 0,(function*(){let d=Buffer.alloc(0);this.message.on("data",(i=>{d=Buffer.concat([d,i])}));this.message.on("end",(()=>{i(d.toString())}))}))))}))}readBodyBuffer(){return ee(this,void 0,void 0,(function*(){return new Promise((i=>ee(this,void 0,void 0,(function*(){const d=[];this.message.on("data",(i=>{d.push(i)}));this.message.on("end",(()=>{i(Buffer.concat(d))}))}))))}))}}d.HttpClientResponse=HttpClientResponse;function isHttps(i){const d=new URL(i);return d.protocol==="https:"}d.isHttps=isHttps;class HttpClient{constructor(i,d,p){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=i;this.handlers=d||[];this.requestOptions=p;if(p){if(p.ignoreSslError!=null){this._ignoreSslError=p.ignoreSslError}this._socketTimeout=p.socketTimeout;if(p.allowRedirects!=null){this._allowRedirects=p.allowRedirects}if(p.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=p.allowRedirectDowngrade}if(p.maxRedirects!=null){this._maxRedirects=Math.max(p.maxRedirects,0)}if(p.keepAlive!=null){this._keepAlive=p.keepAlive}if(p.allowRetries!=null){this._allowRetries=p.allowRetries}if(p.maxRetries!=null){this._maxRetries=p.maxRetries}}}options(i,d){return ee(this,void 0,void 0,(function*(){return this.request("OPTIONS",i,null,d||{})}))}get(i,d){return ee(this,void 0,void 0,(function*(){return this.request("GET",i,null,d||{})}))}del(i,d){return ee(this,void 0,void 0,(function*(){return this.request("DELETE",i,null,d||{})}))}post(i,d,p){return ee(this,void 0,void 0,(function*(){return this.request("POST",i,d,p||{})}))}patch(i,d,p){return ee(this,void 0,void 0,(function*(){return this.request("PATCH",i,d,p||{})}))}put(i,d,p){return ee(this,void 0,void 0,(function*(){return this.request("PUT",i,d,p||{})}))}head(i,d){return ee(this,void 0,void 0,(function*(){return this.request("HEAD",i,null,d||{})}))}sendStream(i,d,p,v){return ee(this,void 0,void 0,(function*(){return this.request(i,d,p,v)}))}getJson(i,d={}){return ee(this,void 0,void 0,(function*(){d[ae.Accept]=this._getExistingOrDefaultHeader(d,ae.Accept,ce.ApplicationJson);const p=yield this.get(i,d);return this._processResponse(p,this.requestOptions)}))}postJson(i,d,p={}){return ee(this,void 0,void 0,(function*(){const v=JSON.stringify(d,null,2);p[ae.Accept]=this._getExistingOrDefaultHeader(p,ae.Accept,ce.ApplicationJson);p[ae.ContentType]=this._getExistingOrDefaultHeader(p,ae.ContentType,ce.ApplicationJson);const V=yield this.post(i,v,p);return this._processResponse(V,this.requestOptions)}))}putJson(i,d,p={}){return ee(this,void 0,void 0,(function*(){const v=JSON.stringify(d,null,2);p[ae.Accept]=this._getExistingOrDefaultHeader(p,ae.Accept,ce.ApplicationJson);p[ae.ContentType]=this._getExistingOrDefaultHeader(p,ae.ContentType,ce.ApplicationJson);const V=yield this.put(i,v,p);return this._processResponse(V,this.requestOptions)}))}patchJson(i,d,p={}){return ee(this,void 0,void 0,(function*(){const v=JSON.stringify(d,null,2);p[ae.Accept]=this._getExistingOrDefaultHeader(p,ae.Accept,ce.ApplicationJson);p[ae.ContentType]=this._getExistingOrDefaultHeader(p,ae.ContentType,ce.ApplicationJson);const V=yield this.patch(i,v,p);return this._processResponse(V,this.requestOptions)}))}request(i,d,p,v){return ee(this,void 0,void 0,(function*(){if(this._disposed){throw new Error("Client has already been disposed.")}const V=new URL(d);let K=this._prepareRequest(i,V,v);const ee=this._allowRetries&&Ae.includes(i)?this._maxRetries+1:1;let te=0;let re;do{re=yield this.requestRaw(K,p);if(re&&re.message&&re.message.statusCode===oe.Unauthorized){let i;for(const d of this.handlers){if(d.canHandleAuthentication(re)){i=d;break}}if(i){return i.handleAuthentication(this,K,p)}else{return re}}let d=this._maxRedirects;while(re.message.statusCode&&le.includes(re.message.statusCode)&&this._allowRedirects&&d>0){const ee=re.message.headers["location"];if(!ee){break}const te=new URL(ee);if(V.protocol==="https:"&&V.protocol!==te.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 re.readBody();if(te.hostname!==V.hostname){for(const i in v){if(i.toLowerCase()==="authorization"){delete v[i]}}}K=this._prepareRequest(i,te,v);re=yield this.requestRaw(K,p);d--}if(!re.message.statusCode||!ue.includes(re.message.statusCode)){return re}te+=1;if(te{function callbackForResult(i,d){if(i){v(i)}else if(!d){v(new Error("Unknown error"))}else{p(d)}}this.requestRawWithCallback(i,d,callbackForResult)}))}))}requestRawWithCallback(i,d,p){if(typeof d==="string"){if(!i.options.headers){i.options.headers={}}i.options.headers["Content-Length"]=Buffer.byteLength(d,"utf8")}let v=false;function handleResult(i,d){if(!v){v=true;p(i,d)}}const V=i.httpModule.request(i.options,(i=>{const d=new HttpClientResponse(i);handleResult(undefined,d)}));let K;V.on("socket",(i=>{K=i}));V.setTimeout(this._socketTimeout||3*6e4,(()=>{if(K){K.end()}handleResult(new Error(`Request timeout: ${i.options.path}`))}));V.on("error",(function(i){handleResult(i)}));if(d&&typeof d==="string"){V.write(d,"utf8")}if(d&&typeof d!=="string"){d.on("close",(function(){V.end()}));d.pipe(V)}else{V.end()}}getAgent(i){const d=new URL(i);return this._getAgent(d)}getAgentDispatcher(i){const d=new URL(i);const p=ne.getProxyUrl(d);const v=p&&p.hostname;if(!v){return}return this._getProxyAgentDispatcher(d,p)}_prepareRequest(i,d,p){const v={};v.parsedUrl=d;const V=v.parsedUrl.protocol==="https:";v.httpModule=V?re:te;const K=V?443:80;v.options={};v.options.host=v.parsedUrl.hostname;v.options.port=v.parsedUrl.port?parseInt(v.parsedUrl.port):K;v.options.path=(v.parsedUrl.pathname||"")+(v.parsedUrl.search||"");v.options.method=i;v.options.headers=this._mergeHeaders(p);if(this.userAgent!=null){v.options.headers["user-agent"]=this.userAgent}v.options.agent=this._getAgent(v.parsedUrl);if(this.handlers){for(const i of this.handlers){i.prepareRequest(v.options)}}return v}_mergeHeaders(i){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(i||{}))}return lowercaseKeys(i||{})}_getExistingOrDefaultHeader(i,d,p){let v;if(this.requestOptions&&this.requestOptions.headers){v=lowercaseKeys(this.requestOptions.headers)[d]}return i[d]||v||p}_getAgent(i){let d;const p=ne.getProxyUrl(i);const v=p&&p.hostname;if(this._keepAlive&&v){d=this._proxyAgent}if(this._keepAlive&&!v){d=this._agent}if(d){return d}const V=i.protocol==="https:";let K=100;if(this.requestOptions){K=this.requestOptions.maxSockets||te.globalAgent.maxSockets}if(p&&p.hostname){const i={maxSockets:K,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(p.username||p.password)&&{proxyAuth:`${p.username}:${p.password}`}),{host:p.hostname,port:p.port})};let v;const ee=p.protocol==="https:";if(V){v=ee?ie.httpsOverHttps:ie.httpsOverHttp}else{v=ee?ie.httpOverHttps:ie.httpOverHttp}d=v(i);this._proxyAgent=d}if(this._keepAlive&&!d){const i={keepAlive:this._keepAlive,maxSockets:K};d=V?new re.Agent(i):new te.Agent(i);this._agent=d}if(!d){d=V?re.globalAgent:te.globalAgent}if(V&&this._ignoreSslError){d.options=Object.assign(d.options||{},{rejectUnauthorized:false})}return d}_getProxyAgentDispatcher(i,d){let p;if(this._keepAlive){p=this._proxyAgentDispatcher}if(p){return p}const v=i.protocol==="https:";p=new se.ProxyAgent(Object.assign({uri:d.href,pipelining:!this._keepAlive?0:1},(d.username||d.password)&&{token:`${d.username}:${d.password}`}));this._proxyAgentDispatcher=p;if(v&&this._ignoreSslError){p.options=Object.assign(p.options.requestTls||{},{rejectUnauthorized:false})}return p}_performExponentialBackoff(i){return ee(this,void 0,void 0,(function*(){i=Math.min(de,i);const d=pe*Math.pow(2,i);return new Promise((i=>setTimeout((()=>i()),d)))}))}_processResponse(i,d){return ee(this,void 0,void 0,(function*(){return new Promise(((p,v)=>ee(this,void 0,void 0,(function*(){const V=i.message.statusCode||0;const K={statusCode:V,result:null,headers:{}};if(V===oe.NotFound){p(K)}function dateTimeDeserializer(i,d){if(typeof d==="string"){const i=new Date(d);if(!isNaN(i.valueOf())){return i}}return d}let ee;let te;try{te=yield i.readBody();if(te&&te.length>0){if(d&&d.deserializeDates){ee=JSON.parse(te,dateTimeDeserializer)}else{ee=JSON.parse(te)}K.result=ee}K.headers=i.message.headers}catch(i){}if(V>299){let i;if(ee&&ee.message){i=ee.message}else if(te&&te.length>0){i=te}else{i=`Failed request: (${V})`}const d=new HttpClientError(i,V);d.result=K.result;v(d)}else{p(K)}}))))}))}}d.HttpClient=HttpClient;const lowercaseKeys=i=>Object.keys(i).reduce(((d,p)=>(d[p.toLowerCase()]=i[p],d)),{})},83335:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.checkBypass=d.getProxyUrl=void 0;function getProxyUrl(i){const d=i.protocol==="https:";if(checkBypass(i)){return undefined}const p=(()=>{if(d){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(p){try{return new URL(p)}catch(i){if(!p.startsWith("http://")&&!p.startsWith("https://"))return new URL(`http://${p}`)}}else{return undefined}}d.getProxyUrl=getProxyUrl;function checkBypass(i){if(!i.hostname){return false}const d=i.hostname;if(isLoopbackAddress(d)){return true}const p=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!p){return false}let v;if(i.port){v=Number(i.port)}else if(i.protocol==="http:"){v=80}else if(i.protocol==="https:"){v=443}const V=[i.hostname.toUpperCase()];if(typeof v==="number"){V.push(`${V[0]}:${v}`)}for(const i of p.split(",").map((i=>i.trim().toUpperCase())).filter((i=>i))){if(i==="*"||V.some((d=>d===i||d.endsWith(`.${i}`)||i.startsWith(".")&&d.endsWith(`${i}`)))){return true}}return false}d.checkBypass=checkBypass;function isLoopbackAddress(i){const d=i.toLowerCase();return d==="localhost"||d.startsWith("127.")||d.startsWith("[::1]")||d.startsWith("[0:0:0:0:0:0:0:1]")}},47206:function(i,d,p){var v=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.create=create;d.hashFiles=hashFiles;const V=p(10103);const K=p(73608);function create(i,d){return v(this,void 0,void 0,(function*(){return yield V.DefaultGlobber.create(i,d)}))}function hashFiles(i){return v(this,arguments,void 0,(function*(i,d="",p,v=false){let V=true;if(p&&typeof p.followSymbolicLinks==="boolean"){V=p.followSymbolicLinks}const ee=yield create(i,{followSymbolicLinks:V});return(0,K.hashFiles)(ee,d,v)}))}},18164:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K1||resume(i,d)}))};if(d)V[i]=d(V[i])}}function resume(i,d){try{step(v[i](d))}catch(i){settle(K[0][3],i)}}function step(i){i.value instanceof re?Promise.resolve(i.value.v).then(fulfill,reject):settle(K[0][2],i)}function fulfill(i){resume("next",i)}function reject(i){resume("throw",i)}function settle(i,d){if(i(d),K.shift(),K.length)resume(K[0][0],K[0][1])}};Object.defineProperty(d,"__esModule",{value:true});d.DefaultGlobber=void 0;const ie=K(p(54270));const se=K(p(79896));const oe=K(p(18164));const ae=K(p(16928));const ce=K(p(98891));const le=p(62644);const ue=p(25370);const Ae=p(79890);const de=process.platform==="win32";class DefaultGlobber{constructor(i){this.patterns=[];this.searchPaths=[];this.options=oe.getOptions(i)}getSearchPaths(){return this.searchPaths.slice()}glob(){return ee(this,void 0,void 0,(function*(){var i,d,p,v;const V=[];try{for(var K=true,ee=te(this.globGenerator()),re;re=yield ee.next(),i=re.done,!i;K=true){v=re.value;K=false;const i=v;V.push(i)}}catch(i){d={error:i}}finally{try{if(!K&&!i&&(p=ee.return))yield p.call(ee)}finally{if(d)throw d.error}}return V}))}globGenerator(){return ne(this,arguments,(function*globGenerator_1(){const i=oe.getOptions(this.options);const d=[];for(const p of this.patterns){d.push(p);if(i.implicitDescendants&&(p.trailingSeparator||p.segments[p.segments.length-1]!=="**")){d.push(new ue.Pattern(p.negate,true,p.segments.concat("**")))}}const p=[];for(const i of ce.getSearchPaths(d)){ie.debug(`Search path '${i}'`);try{yield re(se.promises.lstat(i))}catch(i){if(i.code==="ENOENT"){continue}throw i}p.unshift(new Ae.SearchState(i,1))}const v=[];while(p.length){const V=p.pop();const K=ce.match(d,V.path);const ee=!!K||ce.partialMatch(d,V.path);if(!K&&!ee){continue}const te=yield re(DefaultGlobber.stat(V,i,v));if(!te){continue}if(i.excludeHiddenFiles&&ae.basename(V.path).match(/^\./)){continue}if(te.isDirectory()){if(K&le.MatchKind.Directory&&i.matchDirectories){yield yield re(V.path)}else if(!ee){continue}const d=V.level+1;const v=(yield re(se.promises.readdir(V.path))).map((i=>new Ae.SearchState(ae.join(V.path,i),d)));p.push(...v.reverse())}else if(K&le.MatchKind.File){yield yield re(V.path)}}}))}static create(i,d){return ee(this,void 0,void 0,(function*(){const p=new DefaultGlobber(d);if(de){i=i.replace(/\r\n/g,"\n");i=i.replace(/\r/g,"\n")}const v=i.split("\n").map((i=>i.trim()));for(const i of v){if(!i||i.startsWith("#")){continue}else{p.patterns.push(new ue.Pattern(i))}}p.searchPaths.push(...ce.getSearchPaths(p.patterns));return p}))}static stat(i,d,p){return ee(this,void 0,void 0,(function*(){let v;if(d.followSymbolicLinks){try{v=yield se.promises.stat(i.path)}catch(p){if(p.code==="ENOENT"){if(d.omitBrokenSymbolicLinks){ie.debug(`Broken symlink '${i.path}'`);return undefined}throw new Error(`No information found for the path '${i.path}'. This may indicate a broken symbolic link.`)}throw p}}else{v=yield se.promises.lstat(i.path)}if(v.isDirectory()&&d.followSymbolicLinks){const d=yield se.promises.realpath(i.path);while(p.length>=i.level){p.pop()}if(p.some((i=>i===d))){ie.debug(`Symlink cycle detected for path '${i.path}' and realpath '${d}'`);return undefined}p.push(d)}return v}))}}d.DefaultGlobber=DefaultGlobber},73608:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K{Object.defineProperty(d,"__esModule",{value:true});d.MatchKind=void 0;var p;(function(i){i[i["None"]=0]="None";i[i["Directory"]=1]="Directory";i[i["File"]=2]="File";i[i["All"]=3]="All"})(p||(d.MatchKind=p={}))},84138:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K0,`Parameter 'itemPath' must not be an empty array`);for(let d=0;d!i.negate));const d={};for(const p of i){const i=re?p.searchPath.toUpperCase():p.searchPath;d[i]="candidate"}const p=[];for(const v of i){const i=re?v.searchPath.toUpperCase():v.searchPath;if(d[i]==="included"){continue}let V=false;let K=i;let te=ee.dirname(K);while(te!==K){if(d[te]){V=true;break}K=te;te=ee.dirname(K)}if(!V){p.push(v.searchPath);d[i]="included"}}return p}function match(i,d){let p=te.MatchKind.None;for(const v of i){if(v.negate){p&=~v.match(d)}else{p|=v.match(d)}}return p}function partialMatch(i,d){return i.some((i=>!i.negate&&i.partialMatch(d)))}},25370:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;KPattern.getLiteral(i))).filter((i=>!K&&!(K=i==="")));this.searchPath=new ae.Path(ee).toString();this.rootRegExp=new RegExp(Pattern.regExpEscape(ee[0]),ce?"i":"");this.isImplicitPattern=d;const te={dot:true,nobrace:true,nocase:ce,nocomment:true,noext:true,nonegate:true};V=ce?V.replace(/\\/g,"/"):V;this.minimatch=new se.Minimatch(V,te)}match(i){if(this.segments[this.segments.length-1]==="**"){i=ne.normalizeSeparators(i);if(!i.endsWith(re.sep)&&this.isImplicitPattern===false){i=`${i}${re.sep}`}}else{i=ne.safeTrimTrailingSeparator(i)}if(this.minimatch.match(i)){return this.trailingSeparator?oe.MatchKind.Directory:oe.MatchKind.All}return oe.MatchKind.None}partialMatch(i){i=ne.safeTrimTrailingSeparator(i);if(ne.dirname(i)===i){return this.rootRegExp.test(i)}return this.minimatch.matchOne(i.split(ce?/\\+/:/\/+/),this.minimatch.set[0],true)}static globEscape(i){return(ce?i:i.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(i,d){(0,ie.default)(i,"pattern cannot be empty");const p=new ae.Path(i).segments.map((i=>Pattern.getLiteral(i)));(0,ie.default)(p.every(((i,d)=>(i!=="."||d===0)&&i!=="..")),`Invalid pattern '${i}'. Relative pathing '.' and '..' is not allowed.`);(0,ie.default)(!ne.hasRoot(i)||p[0],`Invalid pattern '${i}'. Root segment must not contain globs.`);i=ne.normalizeSeparators(i);if(i==="."||i.startsWith(`.${re.sep}`)){i=Pattern.globEscape(process.cwd())+i.substr(1)}else if(i==="~"||i.startsWith(`~${re.sep}`)){d=d||te.homedir();(0,ie.default)(d,"Unable to determine HOME directory");(0,ie.default)(ne.hasAbsoluteRoot(d),`Expected HOME directory to be a rooted path. Actual '${d}'`);i=Pattern.globEscape(d)+i.substr(1)}else if(ce&&(i.match(/^[A-Z]:$/i)||i.match(/^[A-Z]:[^\\]/i))){let d=ne.ensureAbsoluteRoot("C:\\dummy-root",i.substr(0,2));if(i.length>2&&!d.endsWith("\\")){d+="\\"}i=Pattern.globEscape(d)+i.substr(2)}else if(ce&&(i==="\\"||i.match(/^\\[^\\]/))){let d=ne.ensureAbsoluteRoot("C:\\dummy-root","\\");if(!d.endsWith("\\")){d+="\\"}i=Pattern.globEscape(d)+i.substr(1)}else{i=ne.ensureAbsoluteRoot(Pattern.globEscape(process.cwd()),i)}return ne.normalizeSeparators(i)}static getLiteral(i){let d="";for(let p=0;p=0){if(v.length>1){return""}if(v){d+=v;p=V;continue}}}d+=v}return d}static regExpEscape(i){return i.replace(/[[\\^$.|?*+()]/g,"\\$&")}}d.Pattern=Pattern},79890:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.SearchState=void 0;class SearchState{constructor(i,d){this.path=i;this.level=d}}d.SearchState=SearchState},76240:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K0){i+=" ";let d=true;for(const p in this.properties){if(this.properties.hasOwnProperty(p)){const v=this.properties[p];if(v){if(d){d=false}else{i+=","}i+=`${p}=${escapeProperty(v)}`}}}}i+=`${re}${escapeData(this.message)}`;return i}}function escapeData(i){return(0,te.toCommandValue)(i).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(i){return(0,te.toCommandValue)(i).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},54270:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Ki!==""));if(d&&d.trimWhitespace===false){return p}return p.map((i=>i.trim()))}function getBooleanInput(i,d){const p=["true","True","TRUE"];const v=["false","False","FALSE"];const V=getInput(i,d);if(p.includes(V))return true;if(v.includes(V))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${i}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}function setOutput(i,d){const p=process.env["GITHUB_OUTPUT"]||"";if(p){return(0,re.issueFileCommand)("OUTPUT",(0,re.prepareKeyValueMessage)(i,d))}process.stdout.write(ie.EOL);(0,te.issueCommand)("set-output",{name:i},(0,ne.toCommandValue)(d))}function setCommandEcho(i){(0,te.issue)("echo",i?"on":"off")}function setFailed(i){process.exitCode=ae.Failure;error(i)}function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}function debug(i){(0,te.issueCommand)("debug",{},i)}function error(i,d={}){(0,te.issueCommand)("error",(0,ne.toCommandProperties)(d),i instanceof Error?i.toString():i)}function warning(i,d={}){(0,te.issueCommand)("warning",(0,ne.toCommandProperties)(d),i instanceof Error?i.toString():i)}function notice(i,d={}){(0,te.issueCommand)("notice",(0,ne.toCommandProperties)(d),i instanceof Error?i.toString():i)}function info(i){process.stdout.write(i+ie.EOL)}function startGroup(i){(0,te.issue)("group",i)}function endGroup(){(0,te.issue)("endgroup")}function group(i,d){return ee(this,void 0,void 0,(function*(){startGroup(i);let p;try{p=yield d()}finally{endGroup()}return p}))}function saveState(i,d){const p=process.env["GITHUB_STATE"]||"";if(p){return(0,re.issueFileCommand)("STATE",(0,re.prepareKeyValueMessage)(i,d))}(0,te.issueCommand)("save-state",{name:i},(0,ne.toCommandValue)(d))}function getState(i){return process.env[`STATE_${i}`]||""}function getIDToken(i){return ee(this,void 0,void 0,(function*(){return yield oe.OidcClient.getIDToken(i)}))}var ce=p(3345);Object.defineProperty(d,"summary",{enumerable:true,get:function(){return ce.summary}});var le=p(3345);Object.defineProperty(d,"markdownSummary",{enumerable:true,get:function(){return le.markdownSummary}});var ue=p(85642);Object.defineProperty(d,"toPosixPath",{enumerable:true,get:function(){return ue.toPosixPath}});Object.defineProperty(d,"toWin32Path",{enumerable:true,get:function(){return ue.toWin32Path}});Object.defineProperty(d,"toPlatformPath",{enumerable:true,get:function(){return ue.toPlatformPath}});d.platform=K(p(93458))},86359:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K{throw new Error(`Failed to get ID Token. \n \n Error Code : ${i.statusCode}\n \n Error Message: ${i.message}`)}));const V=(d=v.result)===null||d===void 0?void 0:d.value;if(!V){throw new Error("Response json body do not have ID Token field")}return V}))}static getIDToken(i){return v(this,void 0,void 0,(function*(){try{let d=OidcClient.getIDTokenUrl();if(i){const p=encodeURIComponent(i);d=`${d}&audience=${p}`}(0,ee.debug)(`ID token url is ${d}`);const p=yield OidcClient.getCall(d);(0,ee.setSecret)(p);return p}catch(i){throw new Error(`Error message: ${i.message}`)}}))}}d.OidcClient=OidcClient},85642:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Kee(void 0,void 0,void 0,(function*(){const{stdout:i}=yield ne.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',undefined,{silent:true});const{stdout:d}=yield ne.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',undefined,{silent:true});return{name:d.trim(),version:i.trim()}}));const getMacOsInfo=()=>ee(void 0,void 0,void 0,(function*(){var i,d,p,v;const{stdout:V}=yield ne.getExecOutput("sw_vers",undefined,{silent:true});const K=(d=(i=V.match(/ProductVersion:\s*(.+)/))===null||i===void 0?void 0:i[1])!==null&&d!==void 0?d:"";const ee=(v=(p=V.match(/ProductName:\s*(.+)/))===null||p===void 0?void 0:p[1])!==null&&v!==void 0?v:"";return{name:ee,version:K}}));const getLinuxInfo=()=>ee(void 0,void 0,void 0,(function*(){const{stdout:i}=yield ne.getExecOutput("lsb_release",["-i","-r","-s"],{silent:true});const[d,p]=i.trim().split("\n");return{name:d,version:p}}));d.platform=re.default.platform();d.arch=re.default.arch();d.isWindows=d.platform==="win32";d.isMacOS=d.platform==="darwin";d.isLinux=d.platform==="linux";function getDetails(){return ee(this,void 0,void 0,(function*(){return Object.assign(Object.assign({},yield d.isWindows?getWindowsInfo():d.isMacOS?getMacOsInfo():getLinuxInfo()),{platform:d.platform,arch:d.arch,isWindows:d.isWindows,isMacOS:d.isMacOS,isLinux:d.isLinux})}))}},3345:function(i,d,p){var v=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.summary=d.markdownSummary=d.SUMMARY_DOCS_URL=d.SUMMARY_ENV_VAR=void 0;const V=p(70857);const K=p(79896);const{access:ee,appendFile:te,writeFile:re}=K.promises;d.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";d.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 v(this,void 0,void 0,(function*(){if(this._filePath){return this._filePath}const i=process.env[d.SUMMARY_ENV_VAR];if(!i){throw new Error(`Unable to find environment variable for $${d.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`)}try{yield ee(i,K.constants.R_OK|K.constants.W_OK)}catch(d){throw new Error(`Unable to access summary file: '${i}'. Check if the file has correct read/write permissions.`)}this._filePath=i;return this._filePath}))}wrap(i,d,p={}){const v=Object.entries(p).map((([i,d])=>` ${i}="${d}"`)).join("");if(!d){return`<${i}${v}>`}return`<${i}${v}>${d}`}write(i){return v(this,void 0,void 0,(function*(){const d=!!(i===null||i===void 0?void 0:i.overwrite);const p=yield this.filePath();const v=d?re:te;yield v(p,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return v(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(i,d=false){this._buffer+=i;return d?this.addEOL():this}addEOL(){return this.addRaw(V.EOL)}addCodeBlock(i,d){const p=Object.assign({},d&&{lang:d});const v=this.wrap("pre",this.wrap("code",i),p);return this.addRaw(v).addEOL()}addList(i,d=false){const p=d?"ol":"ul";const v=i.map((i=>this.wrap("li",i))).join("");const V=this.wrap(p,v);return this.addRaw(V).addEOL()}addTable(i){const d=i.map((i=>{const d=i.map((i=>{if(typeof i==="string"){return this.wrap("td",i)}const{header:d,data:p,colspan:v,rowspan:V}=i;const K=d?"th":"td";const ee=Object.assign(Object.assign({},v&&{colspan:v}),V&&{rowspan:V});return this.wrap(K,p,ee)})).join("");return this.wrap("tr",d)})).join("");const p=this.wrap("table",d);return this.addRaw(p).addEOL()}addDetails(i,d){const p=this.wrap("details",this.wrap("summary",i)+d);return this.addRaw(p).addEOL()}addImage(i,d,p){const{width:v,height:V}=p||{};const K=Object.assign(Object.assign({},v&&{width:v}),V&&{height:V});const ee=this.wrap("img",null,Object.assign({src:i,alt:d},K));return this.addRaw(ee).addEOL()}addHeading(i,d){const p=`h${d}`;const v=["h1","h2","h3","h4","h5","h6"].includes(p)?p:"h1";const V=this.wrap(v,i);return this.addRaw(V).addEOL()}addSeparator(){const i=this.wrap("hr",null);return this.addRaw(i).addEOL()}addBreak(){const i=this.wrap("br",null);return this.addRaw(i).addEOL()}addQuote(i,d){const p=Object.assign({},d&&{cite:d});const v=this.wrap("blockquote",i,p);return this.addRaw(v).addEOL()}addLink(i,d){const p=this.wrap("a",i,{href:d});return this.addRaw(p).addEOL()}}const ne=new Summary;d.markdownSummary=ne;d.summary=ne},6804:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.toCommandValue=toCommandValue;d.toCommandProperties=toCommandProperties;function toCommandValue(i){if(i===null||i===undefined){return""}else if(typeof i==="string"||i instanceof String){return i}return JSON.stringify(i)}function toCommandProperties(i){if(!Object.keys(i).length){return{}}return{title:i.title,file:i.file,line:i.startLine,endLine:i.endLine,col:i.startColumn,endColumn:i.endColumn}}},44552:function(i,d){var p=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.PersonalAccessTokenCredentialHandler=d.BearerCredentialHandler=d.BasicCredentialHandler=void 0;class BasicCredentialHandler{constructor(i,d){this.username=i;this.password=d}prepareRequest(i){if(!i.headers){throw Error("The request has no headers")}i.headers["Authorization"]=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return p(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}d.BasicCredentialHandler=BasicCredentialHandler;class BearerCredentialHandler{constructor(i){this.token=i}prepareRequest(i){if(!i.headers){throw Error("The request has no headers")}i.headers["Authorization"]=`Bearer ${this.token}`}canHandleAuthentication(){return false}handleAuthentication(){return p(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}d.BearerCredentialHandler=BearerCredentialHandler;class PersonalAccessTokenCredentialHandler{constructor(i){this.token=i}prepareRequest(i){if(!i.headers){throw Error("The request has no headers")}i.headers["Authorization"]=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return p(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}d.PersonalAccessTokenCredentialHandler=PersonalAccessTokenCredentialHandler},54844:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Kee(this,void 0,void 0,(function*(){let d=Buffer.alloc(0);this.message.on("data",(i=>{d=Buffer.concat([d,i])}));this.message.on("end",(()=>{i(d.toString())}))}))))}))}readBodyBuffer(){return ee(this,void 0,void 0,(function*(){return new Promise((i=>ee(this,void 0,void 0,(function*(){const d=[];this.message.on("data",(i=>{d.push(i)}));this.message.on("end",(()=>{i(Buffer.concat(d))}))}))))}))}}d.HttpClientResponse=HttpClientResponse;function isHttps(i){const d=new URL(i);return d.protocol==="https:"}class HttpClient{constructor(i,d,p){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=this._getUserAgentWithOrchestrationId(i);this.handlers=d||[];this.requestOptions=p;if(p){if(p.ignoreSslError!=null){this._ignoreSslError=p.ignoreSslError}this._socketTimeout=p.socketTimeout;if(p.allowRedirects!=null){this._allowRedirects=p.allowRedirects}if(p.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=p.allowRedirectDowngrade}if(p.maxRedirects!=null){this._maxRedirects=Math.max(p.maxRedirects,0)}if(p.keepAlive!=null){this._keepAlive=p.keepAlive}if(p.allowRetries!=null){this._allowRetries=p.allowRetries}if(p.maxRetries!=null){this._maxRetries=p.maxRetries}}}options(i,d){return ee(this,void 0,void 0,(function*(){return this.request("OPTIONS",i,null,d||{})}))}get(i,d){return ee(this,void 0,void 0,(function*(){return this.request("GET",i,null,d||{})}))}del(i,d){return ee(this,void 0,void 0,(function*(){return this.request("DELETE",i,null,d||{})}))}post(i,d,p){return ee(this,void 0,void 0,(function*(){return this.request("POST",i,d,p||{})}))}patch(i,d,p){return ee(this,void 0,void 0,(function*(){return this.request("PATCH",i,d,p||{})}))}put(i,d,p){return ee(this,void 0,void 0,(function*(){return this.request("PUT",i,d,p||{})}))}head(i,d){return ee(this,void 0,void 0,(function*(){return this.request("HEAD",i,null,d||{})}))}sendStream(i,d,p,v){return ee(this,void 0,void 0,(function*(){return this.request(i,d,p,v)}))}getJson(i){return ee(this,arguments,void 0,(function*(i,d={}){d[ae.Accept]=this._getExistingOrDefaultHeader(d,ae.Accept,ce.ApplicationJson);const p=yield this.get(i,d);return this._processResponse(p,this.requestOptions)}))}postJson(i,d){return ee(this,arguments,void 0,(function*(i,d,p={}){const v=JSON.stringify(d,null,2);p[ae.Accept]=this._getExistingOrDefaultHeader(p,ae.Accept,ce.ApplicationJson);p[ae.ContentType]=this._getExistingOrDefaultContentTypeHeader(p,ce.ApplicationJson);const V=yield this.post(i,v,p);return this._processResponse(V,this.requestOptions)}))}putJson(i,d){return ee(this,arguments,void 0,(function*(i,d,p={}){const v=JSON.stringify(d,null,2);p[ae.Accept]=this._getExistingOrDefaultHeader(p,ae.Accept,ce.ApplicationJson);p[ae.ContentType]=this._getExistingOrDefaultContentTypeHeader(p,ce.ApplicationJson);const V=yield this.put(i,v,p);return this._processResponse(V,this.requestOptions)}))}patchJson(i,d){return ee(this,arguments,void 0,(function*(i,d,p={}){const v=JSON.stringify(d,null,2);p[ae.Accept]=this._getExistingOrDefaultHeader(p,ae.Accept,ce.ApplicationJson);p[ae.ContentType]=this._getExistingOrDefaultContentTypeHeader(p,ce.ApplicationJson);const V=yield this.patch(i,v,p);return this._processResponse(V,this.requestOptions)}))}request(i,d,p,v){return ee(this,void 0,void 0,(function*(){if(this._disposed){throw new Error("Client has already been disposed.")}const V=new URL(d);let K=this._prepareRequest(i,V,v);const ee=this._allowRetries&&Ae.includes(i)?this._maxRetries+1:1;let te=0;let re;do{re=yield this.requestRaw(K,p);if(re&&re.message&&re.message.statusCode===oe.Unauthorized){let i;for(const d of this.handlers){if(d.canHandleAuthentication(re)){i=d;break}}if(i){return i.handleAuthentication(this,K,p)}else{return re}}let d=this._maxRedirects;while(re.message.statusCode&&le.includes(re.message.statusCode)&&this._allowRedirects&&d>0){const ee=re.message.headers["location"];if(!ee){break}const te=new URL(ee);if(V.protocol==="https:"&&V.protocol!==te.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 re.readBody();if(te.hostname!==V.hostname){for(const i in v){if(i.toLowerCase()==="authorization"){delete v[i]}}}K=this._prepareRequest(i,te,v);re=yield this.requestRaw(K,p);d--}if(!re.message.statusCode||!ue.includes(re.message.statusCode)){return re}te+=1;if(te{function callbackForResult(i,d){if(i){v(i)}else if(!d){v(new Error("Unknown error"))}else{p(d)}}this.requestRawWithCallback(i,d,callbackForResult)}))}))}requestRawWithCallback(i,d,p){if(typeof d==="string"){if(!i.options.headers){i.options.headers={}}i.options.headers["Content-Length"]=Buffer.byteLength(d,"utf8")}let v=false;function handleResult(i,d){if(!v){v=true;p(i,d)}}const V=i.httpModule.request(i.options,(i=>{const d=new HttpClientResponse(i);handleResult(undefined,d)}));let K;V.on("socket",(i=>{K=i}));V.setTimeout(this._socketTimeout||3*6e4,(()=>{if(K){K.end()}handleResult(new Error(`Request timeout: ${i.options.path}`))}));V.on("error",(function(i){handleResult(i)}));if(d&&typeof d==="string"){V.write(d,"utf8")}if(d&&typeof d!=="string"){d.on("close",(function(){V.end()}));d.pipe(V)}else{V.end()}}getAgent(i){const d=new URL(i);return this._getAgent(d)}getAgentDispatcher(i){const d=new URL(i);const p=ne.getProxyUrl(d);const v=p&&p.hostname;if(!v){return}return this._getProxyAgentDispatcher(d,p)}_prepareRequest(i,d,p){const v={};v.parsedUrl=d;const V=v.parsedUrl.protocol==="https:";v.httpModule=V?re:te;const K=V?443:80;v.options={};v.options.host=v.parsedUrl.hostname;v.options.port=v.parsedUrl.port?parseInt(v.parsedUrl.port):K;v.options.path=(v.parsedUrl.pathname||"")+(v.parsedUrl.search||"");v.options.method=i;v.options.headers=this._mergeHeaders(p);if(this.userAgent!=null){v.options.headers["user-agent"]=this.userAgent}v.options.agent=this._getAgent(v.parsedUrl);if(this.handlers){for(const i of this.handlers){i.prepareRequest(v.options)}}return v}_mergeHeaders(i){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(i||{}))}return lowercaseKeys(i||{})}_getExistingOrDefaultHeader(i,d,p){let v;if(this.requestOptions&&this.requestOptions.headers){const i=lowercaseKeys(this.requestOptions.headers)[d];if(i){v=typeof i==="number"?i.toString():i}}const V=i[d];if(V!==undefined){return typeof V==="number"?V.toString():V}if(v!==undefined){return v}return p}_getExistingOrDefaultContentTypeHeader(i,d){let p;if(this.requestOptions&&this.requestOptions.headers){const i=lowercaseKeys(this.requestOptions.headers)[ae.ContentType];if(i){if(typeof i==="number"){p=String(i)}else if(Array.isArray(i)){p=i.join(", ")}else{p=i}}}const v=i[ae.ContentType];if(v!==undefined){if(typeof v==="number"){return String(v)}else if(Array.isArray(v)){return v.join(", ")}else{return v}}if(p!==undefined){return p}return d}_getAgent(i){let d;const p=ne.getProxyUrl(i);const v=p&&p.hostname;if(this._keepAlive&&v){d=this._proxyAgent}if(!v){d=this._agent}if(d){return d}const V=i.protocol==="https:";let K=100;if(this.requestOptions){K=this.requestOptions.maxSockets||te.globalAgent.maxSockets}if(p&&p.hostname){const i={maxSockets:K,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(p.username||p.password)&&{proxyAuth:`${p.username}:${p.password}`}),{host:p.hostname,port:p.port})};let v;const ee=p.protocol==="https:";if(V){v=ee?ie.httpsOverHttps:ie.httpsOverHttp}else{v=ee?ie.httpOverHttps:ie.httpOverHttp}d=v(i);this._proxyAgent=d}if(!d){const i={keepAlive:this._keepAlive,maxSockets:K};d=V?new re.Agent(i):new te.Agent(i);this._agent=d}if(V&&this._ignoreSslError){d.options=Object.assign(d.options||{},{rejectUnauthorized:false})}return d}_getProxyAgentDispatcher(i,d){let p;if(this._keepAlive){p=this._proxyAgentDispatcher}if(p){return p}const v=i.protocol==="https:";p=new se.ProxyAgent(Object.assign({uri:d.href,pipelining:!this._keepAlive?0:1},(d.username||d.password)&&{token:`Basic ${Buffer.from(`${d.username}:${d.password}`).toString("base64")}`}));this._proxyAgentDispatcher=p;if(v&&this._ignoreSslError){p.options=Object.assign(p.options.requestTls||{},{rejectUnauthorized:false})}return p}_getUserAgentWithOrchestrationId(i){const d=i||"actions/http-client";const p=process.env["ACTIONS_ORCHESTRATION_ID"];if(p){const i=p.replace(/[^a-z0-9_.-]/gi,"_");return`${d} actions_orchestration_id/${i}`}return d}_performExponentialBackoff(i){return ee(this,void 0,void 0,(function*(){i=Math.min(de,i);const d=pe*Math.pow(2,i);return new Promise((i=>setTimeout((()=>i()),d)))}))}_processResponse(i,d){return ee(this,void 0,void 0,(function*(){return new Promise(((p,v)=>ee(this,void 0,void 0,(function*(){const V=i.message.statusCode||0;const K={statusCode:V,result:null,headers:{}};if(V===oe.NotFound){p(K)}function dateTimeDeserializer(i,d){if(typeof d==="string"){const i=new Date(d);if(!isNaN(i.valueOf())){return i}}return d}let ee;let te;try{te=yield i.readBody();if(te&&te.length>0){if(d&&d.deserializeDates){ee=JSON.parse(te,dateTimeDeserializer)}else{ee=JSON.parse(te)}K.result=ee}K.headers=i.message.headers}catch(i){}if(V>299){let i;if(ee&&ee.message){i=ee.message}else if(te&&te.length>0){i=te}else{i=`Failed request: (${V})`}const d=new HttpClientError(i,V);d.result=K.result;v(d)}else{p(K)}}))))}))}}d.HttpClient=HttpClient;const lowercaseKeys=i=>Object.keys(i).reduce(((d,p)=>(d[p.toLowerCase()]=i[p],d)),{})},54988:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.getProxyUrl=getProxyUrl;d.checkBypass=checkBypass;function getProxyUrl(i){const d=i.protocol==="https:";if(checkBypass(i)){return undefined}const p=(()=>{if(d){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(p){try{return new DecodedURL(p)}catch(i){if(!p.startsWith("http://")&&!p.startsWith("https://"))return new DecodedURL(`http://${p}`)}}else{return undefined}}function checkBypass(i){if(!i.hostname){return false}const d=i.hostname;if(isLoopbackAddress(d)){return true}const p=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!p){return false}let v;if(i.port){v=Number(i.port)}else if(i.protocol==="http:"){v=80}else if(i.protocol==="https:"){v=443}const V=[i.hostname.toUpperCase()];if(typeof v==="number"){V.push(`${V[0]}:${v}`)}for(const i of p.split(",").map((i=>i.trim().toUpperCase())).filter((i=>i))){if(i==="*"||V.some((d=>d===i||d.endsWith(`.${i}`)||i.startsWith(".")&&d.endsWith(`${i}`)))){return true}}return false}function isLoopbackAddress(i){const d=i.toLowerCase();return d==="localhost"||d.startsWith("127.")||d.startsWith("[::1]")||d.startsWith("[0:0:0:0:0:0:0:1]")}class DecodedURL extends URL{constructor(i,d){super(i,d);this._decodedUsername=decodeURIComponent(super.username);this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}},23368:(i,d,p)=>{const v=p(43069);const V=p(72091);const K=p(27404);const ee=p(48973);const te=p(86261);const re=p(69848);const ne=p(7897);const ie=p(21882);const se=p(48091);const oe=p(31544);const{InvalidArgumentError:ae}=se;const ce=p(65407);const le=p(72296);const ue=p(78957);const Ae=p(15973);const de=p(78780);const pe=p(35445);const fe=p(60112);const{getGlobalDispatcher:he,setGlobalDispatcher:ge}=p(5837);const me=p(57011);const Ee=p(25050);const ye=p(21676);Object.assign(V.prototype,ce);i.exports.Dispatcher=V;i.exports.Client=v;i.exports.Pool=K;i.exports.BalancedPool=ee;i.exports.Agent=te;i.exports.ProxyAgent=re;i.exports.EnvHttpProxyAgent=ne;i.exports.RetryAgent=ie;i.exports.RetryHandler=fe;i.exports.DecoratorHandler=me;i.exports.RedirectHandler=Ee;i.exports.createRedirectInterceptor=ye;i.exports.interceptors={redirect:p(53650),retry:p(73874),dump:p(14756),dns:p(97251)};i.exports.buildConnector=le;i.exports.errors=se;i.exports.util={parseHeaders:oe.parseHeaders,headerNameToString:oe.headerNameToString};function makeDispatcher(i){return(d,p,v)=>{if(typeof p==="function"){v=p;p=null}if(!d||typeof d!=="string"&&typeof d!=="object"&&!(d instanceof URL)){throw new ae("invalid url")}if(p!=null&&typeof p!=="object"){throw new ae("invalid opts")}if(p&&p.path!=null){if(typeof p.path!=="string"){throw new ae("invalid opts.path")}let i=p.path;if(!p.path.startsWith("/")){i=`/${i}`}d=new URL(oe.parseOrigin(d).origin+i)}else{if(!p){p=typeof d==="object"?d:{}}d=oe.parseURL(d)}const{agent:V,dispatcher:K=he()}=p;if(V){throw new ae("unsupported opts.agent. Did you mean opts.client?")}return i.call(K,{...p,origin:d.origin,path:d.search?`${d.pathname}${d.search}`:d.pathname,method:p.method||(p.body?"PUT":"GET")},v)}}i.exports.setGlobalDispatcher=ge;i.exports.getGlobalDispatcher=he;const Ce=p(47302).fetch;i.exports.fetch=async function fetch(i,d=undefined){try{return await Ce(i,d)}catch(i){if(i&&typeof i==="object"){Error.captureStackTrace(i)}throw i}};i.exports.Headers=p(83676).Headers;i.exports.Response=p(9107).Response;i.exports.Request=p(46055).Request;i.exports.FormData=p(79662).FormData;i.exports.File=globalThis.File??p(4573).File;i.exports.FileReader=p(96299).FileReader;const{setGlobalOrigin:be,getGlobalOrigin:Ie}=p(42443);i.exports.setGlobalOrigin=be;i.exports.getGlobalOrigin=Ie;const{CacheStorage:Be}=p(76949);const{kConstruct:we}=p(87589);i.exports.caches=new Be(we);const{deleteCookie:Se,getCookies:Qe,getSetCookies:ve,setCookie:Re}=p(35437);i.exports.deleteCookie=Se;i.exports.getCookies=Qe;i.exports.getSetCookies=ve;i.exports.setCookie=Re;const{parseMIMEType:Te,serializeAMimeType:Ne}=p(90980);i.exports.parseMIMEType=Te;i.exports.serializeAMimeType=Ne;const{CloseEvent:ke,ErrorEvent:De,MessageEvent:xe}=p(50044);i.exports.WebSocket=p(55366).WebSocket;i.exports.CloseEvent=ke;i.exports.ErrorEvent=De;i.exports.MessageEvent=xe;i.exports.request=makeDispatcher(ce.request);i.exports.stream=makeDispatcher(ce.stream);i.exports.pipeline=makeDispatcher(ce.pipeline);i.exports.connect=makeDispatcher(ce.connect);i.exports.upgrade=makeDispatcher(ce.upgrade);i.exports.MockClient=ue;i.exports.MockPool=de;i.exports.MockAgent=Ae;i.exports.mockErrors=pe;const{EventSource:_e}=p(46942);i.exports.EventSource=_e},9318:(i,d,p)=>{const{addAbortListener:v}=p(31544);const{RequestAbortedError:V}=p(48091);const K=Symbol("kListener");const ee=Symbol("kSignal");function abort(i){if(i.abort){i.abort(i[ee]?.reason)}else{i.reason=i[ee]?.reason??new V}removeSignal(i)}function addSignal(i,d){i.reason=null;i[ee]=null;i[K]=null;if(!d){return}if(d.aborted){abort(i);return}i[ee]=d;i[K]=()=>{abort(i)};v(i[ee],i[K])}function removeSignal(i){if(!i[ee]){return}if("removeEventListener"in i[ee]){i[ee].removeEventListener("abort",i[K])}else{i[ee].removeListener("abort",i[K])}i[ee]=null;i[K]=null}i.exports={addSignal:addSignal,removeSignal:removeSignal}},89724:(i,d,p)=>{const v=p(34589);const{AsyncResource:V}=p(16698);const{InvalidArgumentError:K,SocketError:ee}=p(48091);const te=p(31544);const{addSignal:re,removeSignal:ne}=p(9318);class ConnectHandler extends V{constructor(i,d){if(!i||typeof i!=="object"){throw new K("invalid opts")}if(typeof d!=="function"){throw new K("invalid callback")}const{signal:p,opaque:v,responseHeaders:V}=i;if(p&&typeof p.on!=="function"&&typeof p.addEventListener!=="function"){throw new K("signal must be an EventEmitter or EventTarget")}super("UNDICI_CONNECT");this.opaque=v||null;this.responseHeaders=V||null;this.callback=d;this.abort=null;re(this,p)}onConnect(i,d){if(this.reason){i(this.reason);return}v(this.callback);this.abort=i;this.context=d}onHeaders(){throw new ee("bad connect",null)}onUpgrade(i,d,p){const{callback:v,opaque:V,context:K}=this;ne(this);this.callback=null;let ee=d;if(ee!=null){ee=this.responseHeaders==="raw"?te.parseRawHeaders(d):te.parseHeaders(d)}this.runInAsyncScope(v,null,null,{statusCode:i,headers:ee,socket:p,opaque:V,context:K})}onError(i){const{callback:d,opaque:p}=this;ne(this);if(d){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(d,null,i,{opaque:p})}))}}}function connect(i,d){if(d===undefined){return new Promise(((d,p)=>{connect.call(this,i,((i,v)=>i?p(i):d(v)))}))}try{const p=new ConnectHandler(i,d);this.dispatch({...i,method:"CONNECT"},p)}catch(p){if(typeof d!=="function"){throw p}const v=i?.opaque;queueMicrotask((()=>d(p,{opaque:v})))}}i.exports=connect},86998:(i,d,p)=>{const{Readable:v,Duplex:V,PassThrough:K}=p(57075);const{InvalidArgumentError:ee,InvalidReturnValueError:te,RequestAbortedError:re}=p(48091);const ne=p(31544);const{AsyncResource:ie}=p(16698);const{addSignal:se,removeSignal:oe}=p(9318);const ae=p(34589);const ce=Symbol("resume");class PipelineRequest extends v{constructor(){super({autoDestroy:true});this[ce]=null}_read(){const{[ce]:i}=this;if(i){this[ce]=null;i()}}_destroy(i,d){this._read();d(i)}}class PipelineResponse extends v{constructor(i){super({autoDestroy:true});this[ce]=i}_read(){this[ce]()}_destroy(i,d){if(!i&&!this._readableState.endEmitted){i=new re}d(i)}}class PipelineHandler extends ie{constructor(i,d){if(!i||typeof i!=="object"){throw new ee("invalid opts")}if(typeof d!=="function"){throw new ee("invalid handler")}const{signal:p,method:v,opaque:K,onInfo:te,responseHeaders:ie}=i;if(p&&typeof p.on!=="function"&&typeof p.addEventListener!=="function"){throw new ee("signal must be an EventEmitter or EventTarget")}if(v==="CONNECT"){throw new ee("invalid method")}if(te&&typeof te!=="function"){throw new ee("invalid onInfo callback")}super("UNDICI_PIPELINE");this.opaque=K||null;this.responseHeaders=ie||null;this.handler=d;this.abort=null;this.context=null;this.onInfo=te||null;this.req=(new PipelineRequest).on("error",ne.nop);this.ret=new V({readableObjectMode:i.objectMode,autoDestroy:true,read:()=>{const{body:i}=this;if(i?.resume){i.resume()}},write:(i,d,p)=>{const{req:v}=this;if(v.push(i,d)||v._readableState.destroyed){p()}else{v[ce]=p}},destroy:(i,d)=>{const{body:p,req:v,res:V,ret:K,abort:ee}=this;if(!i&&!K._readableState.endEmitted){i=new re}if(ee&&i){ee()}ne.destroy(p,i);ne.destroy(v,i);ne.destroy(V,i);oe(this);d(i)}}).on("prefinish",(()=>{const{req:i}=this;i.push(null)}));this.res=null;se(this,p)}onConnect(i,d){const{ret:p,res:v}=this;if(this.reason){i(this.reason);return}ae(!v,"pipeline cannot be retried");ae(!p.destroyed);this.abort=i;this.context=d}onHeaders(i,d,p){const{opaque:v,handler:V,context:K}=this;if(i<200){if(this.onInfo){const p=this.responseHeaders==="raw"?ne.parseRawHeaders(d):ne.parseHeaders(d);this.onInfo({statusCode:i,headers:p})}return}this.res=new PipelineResponse(p);let ee;try{this.handler=null;const p=this.responseHeaders==="raw"?ne.parseRawHeaders(d):ne.parseHeaders(d);ee=this.runInAsyncScope(V,null,{statusCode:i,headers:p,opaque:v,body:this.res,context:K})}catch(i){this.res.on("error",ne.nop);throw i}if(!ee||typeof ee.on!=="function"){throw new te("expected Readable")}ee.on("data",(i=>{const{ret:d,body:p}=this;if(!d.push(i)&&p.pause){p.pause()}})).on("error",(i=>{const{ret:d}=this;ne.destroy(d,i)})).on("end",(()=>{const{ret:i}=this;i.push(null)})).on("close",(()=>{const{ret:i}=this;if(!i._readableState.ended){ne.destroy(i,new re)}}));this.body=ee}onData(i){const{res:d}=this;return d.push(i)}onComplete(i){const{res:d}=this;d.push(null)}onError(i){const{ret:d}=this;this.handler=null;ne.destroy(d,i)}}function pipeline(i,d){try{const p=new PipelineHandler(i,d);this.dispatch({...i,body:p.req},p);return p.ret}catch(i){return(new K).destroy(i)}}i.exports=pipeline},8675:(i,d,p)=>{const v=p(34589);const{Readable:V}=p(13135);const{InvalidArgumentError:K,RequestAbortedError:ee}=p(48091);const te=p(31544);const{getResolveErrorBodyCallback:re}=p(28447);const{AsyncResource:ne}=p(16698);class RequestHandler extends ne{constructor(i,d){if(!i||typeof i!=="object"){throw new K("invalid opts")}const{signal:p,method:v,opaque:V,body:re,onInfo:ne,responseHeaders:ie,throwOnError:se,highWaterMark:oe}=i;try{if(typeof d!=="function"){throw new K("invalid callback")}if(oe&&(typeof oe!=="number"||oe<0)){throw new K("invalid highWaterMark")}if(p&&typeof p.on!=="function"&&typeof p.addEventListener!=="function"){throw new K("signal must be an EventEmitter or EventTarget")}if(v==="CONNECT"){throw new K("invalid method")}if(ne&&typeof ne!=="function"){throw new K("invalid onInfo callback")}super("UNDICI_REQUEST")}catch(i){if(te.isStream(re)){te.destroy(re.on("error",te.nop),i)}throw i}this.method=v;this.responseHeaders=ie||null;this.opaque=V||null;this.callback=d;this.res=null;this.abort=null;this.body=re;this.trailers={};this.context=null;this.onInfo=ne||null;this.throwOnError=se;this.highWaterMark=oe;this.signal=p;this.reason=null;this.removeAbortListener=null;if(te.isStream(re)){re.on("error",(i=>{this.onError(i)}))}if(this.signal){if(this.signal.aborted){this.reason=this.signal.reason??new ee}else{this.removeAbortListener=te.addAbortListener(this.signal,(()=>{this.reason=this.signal.reason??new ee;if(this.res){te.destroy(this.res.on("error",te.nop),this.reason)}else if(this.abort){this.abort(this.reason)}if(this.removeAbortListener){this.res?.off("close",this.removeAbortListener);this.removeAbortListener();this.removeAbortListener=null}}))}}}onConnect(i,d){if(this.reason){i(this.reason);return}v(this.callback);this.abort=i;this.context=d}onHeaders(i,d,p,v){const{callback:K,opaque:ee,abort:ne,context:ie,responseHeaders:se,highWaterMark:oe}=this;const ae=se==="raw"?te.parseRawHeaders(d):te.parseHeaders(d);if(i<200){if(this.onInfo){this.onInfo({statusCode:i,headers:ae})}return}const ce=se==="raw"?te.parseHeaders(d):ae;const le=ce["content-type"];const ue=ce["content-length"];const Ae=new V({resume:p,abort:ne,contentType:le,contentLength:this.method!=="HEAD"&&ue?Number(ue):null,highWaterMark:oe});if(this.removeAbortListener){Ae.on("close",this.removeAbortListener)}this.callback=null;this.res=Ae;if(K!==null){if(this.throwOnError&&i>=400){this.runInAsyncScope(re,null,{callback:K,body:Ae,contentType:le,statusCode:i,statusMessage:v,headers:ae})}else{this.runInAsyncScope(K,null,null,{statusCode:i,headers:ae,trailers:this.trailers,opaque:ee,body:Ae,context:ie})}}}onData(i){return this.res.push(i)}onComplete(i){te.parseHeaders(i,this.trailers);this.res.push(null)}onError(i){const{res:d,callback:p,body:v,opaque:V}=this;if(p){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(p,null,i,{opaque:V})}))}if(d){this.res=null;queueMicrotask((()=>{te.destroy(d,i)}))}if(v){this.body=null;te.destroy(v,i)}if(this.removeAbortListener){d?.off("close",this.removeAbortListener);this.removeAbortListener();this.removeAbortListener=null}}}function request(i,d){if(d===undefined){return new Promise(((d,p)=>{request.call(this,i,((i,v)=>i?p(i):d(v)))}))}try{this.dispatch(i,new RequestHandler(i,d))}catch(p){if(typeof d!=="function"){throw p}const v=i?.opaque;queueMicrotask((()=>d(p,{opaque:v})))}}i.exports=request;i.exports.RequestHandler=RequestHandler},90576:(i,d,p)=>{const v=p(34589);const{finished:V,PassThrough:K}=p(57075);const{InvalidArgumentError:ee,InvalidReturnValueError:te}=p(48091);const re=p(31544);const{getResolveErrorBodyCallback:ne}=p(28447);const{AsyncResource:ie}=p(16698);const{addSignal:se,removeSignal:oe}=p(9318);class StreamHandler extends ie{constructor(i,d,p){if(!i||typeof i!=="object"){throw new ee("invalid opts")}const{signal:v,method:V,opaque:K,body:te,onInfo:ne,responseHeaders:ie,throwOnError:oe}=i;try{if(typeof p!=="function"){throw new ee("invalid callback")}if(typeof d!=="function"){throw new ee("invalid factory")}if(v&&typeof v.on!=="function"&&typeof v.addEventListener!=="function"){throw new ee("signal must be an EventEmitter or EventTarget")}if(V==="CONNECT"){throw new ee("invalid method")}if(ne&&typeof ne!=="function"){throw new ee("invalid onInfo callback")}super("UNDICI_STREAM")}catch(i){if(re.isStream(te)){re.destroy(te.on("error",re.nop),i)}throw i}this.responseHeaders=ie||null;this.opaque=K||null;this.factory=d;this.callback=p;this.res=null;this.abort=null;this.context=null;this.trailers=null;this.body=te;this.onInfo=ne||null;this.throwOnError=oe||false;if(re.isStream(te)){te.on("error",(i=>{this.onError(i)}))}se(this,v)}onConnect(i,d){if(this.reason){i(this.reason);return}v(this.callback);this.abort=i;this.context=d}onHeaders(i,d,p,v){const{factory:ee,opaque:ie,context:se,callback:oe,responseHeaders:ae}=this;const ce=ae==="raw"?re.parseRawHeaders(d):re.parseHeaders(d);if(i<200){if(this.onInfo){this.onInfo({statusCode:i,headers:ce})}return}this.factory=null;let le;if(this.throwOnError&&i>=400){const p=ae==="raw"?re.parseHeaders(d):ce;const V=p["content-type"];le=new K;this.callback=null;this.runInAsyncScope(ne,null,{callback:oe,body:le,contentType:V,statusCode:i,statusMessage:v,headers:ce})}else{if(ee===null){return}le=this.runInAsyncScope(ee,null,{statusCode:i,headers:ce,opaque:ie,context:se});if(!le||typeof le.write!=="function"||typeof le.end!=="function"||typeof le.on!=="function"){throw new te("expected Writable")}V(le,{readable:false},(i=>{const{callback:d,res:p,opaque:v,trailers:V,abort:K}=this;this.res=null;if(i||!p.readable){re.destroy(p,i)}this.callback=null;this.runInAsyncScope(d,null,i||null,{opaque:v,trailers:V});if(i){K()}}))}le.on("drain",p);this.res=le;const ue=le.writableNeedDrain!==undefined?le.writableNeedDrain:le._writableState?.needDrain;return ue!==true}onData(i){const{res:d}=this;return d?d.write(i):true}onComplete(i){const{res:d}=this;oe(this);if(!d){return}this.trailers=re.parseHeaders(i);d.end()}onError(i){const{res:d,callback:p,opaque:v,body:V}=this;oe(this);this.factory=null;if(d){this.res=null;re.destroy(d,i)}else if(p){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(p,null,i,{opaque:v})}))}if(V){this.body=null;re.destroy(V,i)}}}function stream(i,d,p){if(p===undefined){return new Promise(((p,v)=>{stream.call(this,i,d,((i,d)=>i?v(i):p(d)))}))}try{this.dispatch(i,new StreamHandler(i,d,p))}catch(d){if(typeof p!=="function"){throw d}const v=i?.opaque;queueMicrotask((()=>p(d,{opaque:v})))}}i.exports=stream},42274:(i,d,p)=>{const{InvalidArgumentError:v,SocketError:V}=p(48091);const{AsyncResource:K}=p(16698);const ee=p(31544);const{addSignal:te,removeSignal:re}=p(9318);const ne=p(34589);class UpgradeHandler extends K{constructor(i,d){if(!i||typeof i!=="object"){throw new v("invalid opts")}if(typeof d!=="function"){throw new v("invalid callback")}const{signal:p,opaque:V,responseHeaders:K}=i;if(p&&typeof p.on!=="function"&&typeof p.addEventListener!=="function"){throw new v("signal must be an EventEmitter or EventTarget")}super("UNDICI_UPGRADE");this.responseHeaders=K||null;this.opaque=V||null;this.callback=d;this.abort=null;this.context=null;te(this,p)}onConnect(i,d){if(this.reason){i(this.reason);return}ne(this.callback);this.abort=i;this.context=null}onHeaders(){throw new V("bad upgrade",null)}onUpgrade(i,d,p){ne(i===101);const{callback:v,opaque:V,context:K}=this;re(this);this.callback=null;const te=this.responseHeaders==="raw"?ee.parseRawHeaders(d):ee.parseHeaders(d);this.runInAsyncScope(v,null,null,{headers:te,socket:p,opaque:V,context:K})}onError(i){const{callback:d,opaque:p}=this;re(this);if(d){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(d,null,i,{opaque:p})}))}}}function upgrade(i,d){if(d===undefined){return new Promise(((d,p)=>{upgrade.call(this,i,((i,v)=>i?p(i):d(v)))}))}try{const p=new UpgradeHandler(i,d);this.dispatch({...i,method:i.method||"GET",upgrade:i.protocol||"Websocket"},p)}catch(p){if(typeof d!=="function"){throw p}const v=i?.opaque;queueMicrotask((()=>d(p,{opaque:v})))}}i.exports=upgrade},65407:(i,d,p)=>{i.exports.request=p(8675);i.exports.stream=p(90576);i.exports.pipeline=p(86998);i.exports.upgrade=p(42274);i.exports.connect=p(89724)},13135:(i,d,p)=>{const v=p(34589);const{Readable:V}=p(57075);const{RequestAbortedError:K,NotSupportedError:ee,InvalidArgumentError:te,AbortError:re}=p(48091);const ne=p(31544);const{ReadableStreamFrom:ie}=p(31544);const se=Symbol("kConsume");const oe=Symbol("kReading");const ae=Symbol("kBody");const ce=Symbol("kAbort");const le=Symbol("kContentType");const ue=Symbol("kContentLength");const noop=()=>{};class BodyReadable extends V{constructor({resume:i,abort:d,contentType:p="",contentLength:v,highWaterMark:V=64*1024}){super({autoDestroy:true,read:i,highWaterMark:V});this._readableState.dataEmitted=false;this[ce]=d;this[se]=null;this[ae]=null;this[le]=p;this[ue]=v;this[oe]=false}destroy(i){if(!i&&!this._readableState.endEmitted){i=new K}if(i){this[ce]()}return super.destroy(i)}_destroy(i,d){if(!this[oe]){setImmediate((()=>{d(i)}))}else{d(i)}}on(i,...d){if(i==="data"||i==="readable"){this[oe]=true}return super.on(i,...d)}addListener(i,...d){return this.on(i,...d)}off(i,...d){const p=super.off(i,...d);if(i==="data"||i==="readable"){this[oe]=this.listenerCount("data")>0||this.listenerCount("readable")>0}return p}removeListener(i,...d){return this.off(i,...d)}push(i){if(this[se]&&i!==null){consumePush(this[se],i);return this[oe]?super.push(i):true}return super.push(i)}async text(){return consume(this,"text")}async json(){return consume(this,"json")}async blob(){return consume(this,"blob")}async bytes(){return consume(this,"bytes")}async arrayBuffer(){return consume(this,"arrayBuffer")}async formData(){throw new ee}get bodyUsed(){return ne.isDisturbed(this)}get body(){if(!this[ae]){this[ae]=ie(this);if(this[se]){this[ae].getReader();v(this[ae].locked)}}return this[ae]}async dump(i){let d=Number.isFinite(i?.limit)?i.limit:128*1024;const p=i?.signal;if(p!=null&&(typeof p!=="object"||!("aborted"in p))){throw new te("signal must be an AbortSignal")}p?.throwIfAborted();if(this._readableState.closeEmitted){return null}return await new Promise(((i,v)=>{if(this[ue]>d){this.destroy(new re)}const onAbort=()=>{this.destroy(p.reason??new re)};p?.addEventListener("abort",onAbort);this.on("close",(function(){p?.removeEventListener("abort",onAbort);if(p?.aborted){v(p.reason??new re)}else{i(null)}})).on("error",noop).on("data",(function(i){d-=i.length;if(d<=0){this.destroy()}})).resume()}))}}function isLocked(i){return i[ae]&&i[ae].locked===true||i[se]}function isUnusable(i){return ne.isDisturbed(i)||isLocked(i)}async function consume(i,d){v(!i[se]);return new Promise(((p,v)=>{if(isUnusable(i)){const d=i._readableState;if(d.destroyed&&d.closeEmitted===false){i.on("error",(i=>{v(i)})).on("close",(()=>{v(new TypeError("unusable"))}))}else{v(d.errored??new TypeError("unusable"))}}else{queueMicrotask((()=>{i[se]={type:d,stream:i,resolve:p,reject:v,length:0,body:[]};i.on("error",(function(i){consumeFinish(this[se],i)})).on("close",(function(){if(this[se].body!==null){consumeFinish(this[se],new K)}}));consumeStart(i[se])}))}}))}function consumeStart(i){if(i.body===null){return}const{_readableState:d}=i.stream;if(d.bufferIndex){const p=d.bufferIndex;const v=d.buffer.length;for(let V=p;V2&&p[0]===239&&p[1]===187&&p[2]===191?3:0;return p.utf8Slice(V,v)}function chunksConcat(i,d){if(i.length===0||d===0){return new Uint8Array(0)}if(i.length===1){return new Uint8Array(i[0])}const p=new Uint8Array(Buffer.allocUnsafeSlow(d).buffer);let v=0;for(let d=0;d{const v=p(34589);const{ResponseStatusCodeError:V}=p(48091);const{chunksDecode:K}=p(13135);const ee=128*1024;async function getResolveErrorBodyCallback({callback:i,body:d,contentType:p,statusCode:te,statusMessage:re,headers:ne}){v(d);let ie=[];let se=0;try{for await(const i of d){ie.push(i);se+=i.length;if(se>ee){ie=[];se=0;break}}}catch{ie=[];se=0}const oe=`Response status code ${te}${re?`: ${re}`:""}`;if(te===204||!p||!se){queueMicrotask((()=>i(new V(oe,te,ne))));return}const ae=Error.stackTraceLimit;Error.stackTraceLimit=0;let ce;try{if(isContentTypeApplicationJson(p)){ce=JSON.parse(K(ie,se))}else if(isContentTypeText(p)){ce=K(ie,se)}}catch{}finally{Error.stackTraceLimit=ae}queueMicrotask((()=>i(new V(oe,te,ne,ce))))}const isContentTypeApplicationJson=i=>i.length>15&&i[11]==="/"&&i[0]==="a"&&i[1]==="p"&&i[2]==="p"&&i[3]==="l"&&i[4]==="i"&&i[5]==="c"&&i[6]==="a"&&i[7]==="t"&&i[8]==="i"&&i[9]==="o"&&i[10]==="n"&&i[12]==="j"&&i[13]==="s"&&i[14]==="o"&&i[15]==="n";const isContentTypeText=i=>i.length>4&&i[4]==="/"&&i[0]==="t"&&i[1]==="e"&&i[2]==="x"&&i[3]==="t";i.exports={getResolveErrorBodyCallback:getResolveErrorBodyCallback,isContentTypeApplicationJson:isContentTypeApplicationJson,isContentTypeText:isContentTypeText}},72296:(i,d,p)=>{const v=p(77030);const V=p(34589);const K=p(31544);const{InvalidArgumentError:ee,ConnectTimeoutError:te}=p(48091);const re=p(92563);function noop(){}let ne;let ie;if(global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)){ie=class WeakSessionCache{constructor(i){this._maxCachedSessions=i;this._sessionCache=new Map;this._sessionRegistry=new global.FinalizationRegistry((i=>{if(this._sessionCache.size=this._maxCachedSessions){const{value:i}=this._sessionCache.keys().next();this._sessionCache.delete(i)}this._sessionCache.set(i,d)}}}function buildConnector({allowH2:i,maxCachedSessions:d,socketPath:te,timeout:re,session:oe,...ae}){if(d!=null&&(!Number.isInteger(d)||d<0)){throw new ee("maxCachedSessions must be a positive integer or zero")}const ce={path:te,...ae};const le=new ie(d==null?100:d);re=re==null?1e4:re;i=i!=null?i:false;return function connect({hostname:d,host:ee,protocol:te,port:ie,servername:ae,localAddress:ue,httpSocket:Ae},de){let pe;if(te==="https:"){if(!ne){ne=p(41692)}ae=ae||ce.servername||K.getServerName(ee)||null;const v=ae||d;V(v);const te=oe||le.get(v)||null;ie=ie||443;pe=ne.connect({highWaterMark:16384,...ce,servername:ae,session:te,localAddress:ue,ALPNProtocols:i?["http/1.1","h2"]:["http/1.1"],socket:Ae,port:ie,host:d});pe.on("session",(function(i){le.set(v,i)}))}else{V(!Ae,"httpSocket can only be sent on TLS update");ie=ie||80;pe=v.connect({highWaterMark:64*1024,...ce,localAddress:ue,port:ie,host:d})}if(ce.keepAlive==null||ce.keepAlive){const i=ce.keepAliveInitialDelay===undefined?6e4:ce.keepAliveInitialDelay;pe.setKeepAlive(true,i)}const fe=se(new WeakRef(pe),{timeout:re,hostname:d,port:ie});pe.setNoDelay(true).once(te==="https:"?"secureConnect":"connect",(function(){queueMicrotask(fe);if(de){const i=de;de=null;i(null,this)}})).on("error",(function(i){queueMicrotask(fe);if(de){const d=de;de=null;d(i)}}));return pe}}const se=process.platform==="win32"?(i,d)=>{if(!d.timeout){return noop}let p=null;let v=null;const V=re.setFastTimeout((()=>{p=setImmediate((()=>{v=setImmediate((()=>onConnectTimeout(i.deref(),d)))}))}),d.timeout);return()=>{re.clearFastTimeout(V);clearImmediate(p);clearImmediate(v)}}:(i,d)=>{if(!d.timeout){return noop}let p=null;const v=re.setFastTimeout((()=>{p=setImmediate((()=>{onConnectTimeout(i.deref(),d)}))}),d.timeout);return()=>{re.clearFastTimeout(v);clearImmediate(p)}};function onConnectTimeout(i,d){if(i==null){return}let p="Connect Timeout Error";if(Array.isArray(i.autoSelectFamilyAttemptedAddresses)){p+=` (attempted addresses: ${i.autoSelectFamilyAttemptedAddresses.join(", ")},`}else{p+=` (attempted address: ${d.hostname}:${d.port},`}p+=` timeout: ${d.timeout}ms)`;K.destroy(i,new te(p))}i.exports=buildConnector},61303:i=>{const d={};const p=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"];for(let i=0;i{const v=p(53053);const V=p(57975);const K=V.debuglog("undici");const ee=V.debuglog("fetch");const te=V.debuglog("websocket");let re=false;const ne={beforeConnect:v.channel("undici:client:beforeConnect"),connected:v.channel("undici:client:connected"),connectError:v.channel("undici:client:connectError"),sendHeaders:v.channel("undici:client:sendHeaders"),create:v.channel("undici:request:create"),bodySent:v.channel("undici:request:bodySent"),headers:v.channel("undici:request:headers"),trailers:v.channel("undici:request:trailers"),error:v.channel("undici:request:error"),open:v.channel("undici:websocket:open"),close:v.channel("undici:websocket:close"),socketError:v.channel("undici:websocket:socket_error"),ping:v.channel("undici:websocket:ping"),pong:v.channel("undici:websocket:pong")};if(K.enabled||ee.enabled){const i=ee.enabled?ee:K;v.channel("undici:client:beforeConnect").subscribe((d=>{const{connectParams:{version:p,protocol:v,port:V,host:K}}=d;i("connecting to %s using %s%s",`${K}${V?`:${V}`:""}`,v,p)}));v.channel("undici:client:connected").subscribe((d=>{const{connectParams:{version:p,protocol:v,port:V,host:K}}=d;i("connected to %s using %s%s",`${K}${V?`:${V}`:""}`,v,p)}));v.channel("undici:client:connectError").subscribe((d=>{const{connectParams:{version:p,protocol:v,port:V,host:K},error:ee}=d;i("connection to %s using %s%s errored - %s",`${K}${V?`:${V}`:""}`,v,p,ee.message)}));v.channel("undici:client:sendHeaders").subscribe((d=>{const{request:{method:p,path:v,origin:V}}=d;i("sending request to %s %s/%s",p,V,v)}));v.channel("undici:request:headers").subscribe((d=>{const{request:{method:p,path:v,origin:V},response:{statusCode:K}}=d;i("received response to %s %s/%s - HTTP %d",p,V,v,K)}));v.channel("undici:request:trailers").subscribe((d=>{const{request:{method:p,path:v,origin:V}}=d;i("trailers received from %s %s/%s",p,V,v)}));v.channel("undici:request:error").subscribe((d=>{const{request:{method:p,path:v,origin:V},error:K}=d;i("request to %s %s/%s errored - %s",p,V,v,K.message)}));re=true}if(te.enabled){if(!re){const i=K.enabled?K:te;v.channel("undici:client:beforeConnect").subscribe((d=>{const{connectParams:{version:p,protocol:v,port:V,host:K}}=d;i("connecting to %s%s using %s%s",K,V?`:${V}`:"",v,p)}));v.channel("undici:client:connected").subscribe((d=>{const{connectParams:{version:p,protocol:v,port:V,host:K}}=d;i("connected to %s%s using %s%s",K,V?`:${V}`:"",v,p)}));v.channel("undici:client:connectError").subscribe((d=>{const{connectParams:{version:p,protocol:v,port:V,host:K},error:ee}=d;i("connection to %s%s using %s%s errored - %s",K,V?`:${V}`:"",v,p,ee.message)}));v.channel("undici:client:sendHeaders").subscribe((d=>{const{request:{method:p,path:v,origin:V}}=d;i("sending request to %s %s/%s",p,V,v)}))}v.channel("undici:websocket:open").subscribe((i=>{const{address:{address:d,port:p}}=i;te("connection opened %s%s",d,p?`:${p}`:"")}));v.channel("undici:websocket:close").subscribe((i=>{const{websocket:d,code:p,reason:v}=i;te("closed connection to %s - %s %s",d.url,p,v)}));v.channel("undici:websocket:socket_error").subscribe((i=>{te("connection errored - %s",i.message)}));v.channel("undici:websocket:ping").subscribe((i=>{te("ping received")}));v.channel("undici:websocket:pong").subscribe((i=>{te("pong received")}))}i.exports={channels:ne}},48091:i=>{const d=Symbol.for("undici.error.UND_ERR");class UndiciError extends Error{constructor(i){super(i);this.name="UndiciError";this.code="UND_ERR"}static[Symbol.hasInstance](i){return i&&i[d]===true}[d]=true}const p=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT");class ConnectTimeoutError extends UndiciError{constructor(i){super(i);this.name="ConnectTimeoutError";this.message=i||"Connect Timeout Error";this.code="UND_ERR_CONNECT_TIMEOUT"}static[Symbol.hasInstance](i){return i&&i[p]===true}[p]=true}const v=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT");class HeadersTimeoutError extends UndiciError{constructor(i){super(i);this.name="HeadersTimeoutError";this.message=i||"Headers Timeout Error";this.code="UND_ERR_HEADERS_TIMEOUT"}static[Symbol.hasInstance](i){return i&&i[v]===true}[v]=true}const V=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW");class HeadersOverflowError extends UndiciError{constructor(i){super(i);this.name="HeadersOverflowError";this.message=i||"Headers Overflow Error";this.code="UND_ERR_HEADERS_OVERFLOW"}static[Symbol.hasInstance](i){return i&&i[V]===true}[V]=true}const K=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT");class BodyTimeoutError extends UndiciError{constructor(i){super(i);this.name="BodyTimeoutError";this.message=i||"Body Timeout Error";this.code="UND_ERR_BODY_TIMEOUT"}static[Symbol.hasInstance](i){return i&&i[K]===true}[K]=true}const ee=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE");class ResponseStatusCodeError extends UndiciError{constructor(i,d,p,v){super(i);this.name="ResponseStatusCodeError";this.message=i||"Response Status Code Error";this.code="UND_ERR_RESPONSE_STATUS_CODE";this.body=v;this.status=d;this.statusCode=d;this.headers=p}static[Symbol.hasInstance](i){return i&&i[ee]===true}[ee]=true}const te=Symbol.for("undici.error.UND_ERR_INVALID_ARG");class InvalidArgumentError extends UndiciError{constructor(i){super(i);this.name="InvalidArgumentError";this.message=i||"Invalid Argument Error";this.code="UND_ERR_INVALID_ARG"}static[Symbol.hasInstance](i){return i&&i[te]===true}[te]=true}const re=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE");class InvalidReturnValueError extends UndiciError{constructor(i){super(i);this.name="InvalidReturnValueError";this.message=i||"Invalid Return Value Error";this.code="UND_ERR_INVALID_RETURN_VALUE"}static[Symbol.hasInstance](i){return i&&i[re]===true}[re]=true}const ne=Symbol.for("undici.error.UND_ERR_ABORT");class AbortError extends UndiciError{constructor(i){super(i);this.name="AbortError";this.message=i||"The operation was aborted";this.code="UND_ERR_ABORT"}static[Symbol.hasInstance](i){return i&&i[ne]===true}[ne]=true}const ie=Symbol.for("undici.error.UND_ERR_ABORTED");class RequestAbortedError extends AbortError{constructor(i){super(i);this.name="AbortError";this.message=i||"Request aborted";this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](i){return i&&i[ie]===true}[ie]=true}const se=Symbol.for("undici.error.UND_ERR_INFO");class InformationalError extends UndiciError{constructor(i){super(i);this.name="InformationalError";this.message=i||"Request information";this.code="UND_ERR_INFO"}static[Symbol.hasInstance](i){return i&&i[se]===true}[se]=true}const oe=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH");class RequestContentLengthMismatchError extends UndiciError{constructor(i){super(i);this.name="RequestContentLengthMismatchError";this.message=i||"Request body length does not match content-length header";this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](i){return i&&i[oe]===true}[oe]=true}const ae=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH");class ResponseContentLengthMismatchError extends UndiciError{constructor(i){super(i);this.name="ResponseContentLengthMismatchError";this.message=i||"Response body length does not match content-length header";this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](i){return i&&i[ae]===true}[ae]=true}const ce=Symbol.for("undici.error.UND_ERR_DESTROYED");class ClientDestroyedError extends UndiciError{constructor(i){super(i);this.name="ClientDestroyedError";this.message=i||"The client is destroyed";this.code="UND_ERR_DESTROYED"}static[Symbol.hasInstance](i){return i&&i[ce]===true}[ce]=true}const le=Symbol.for("undici.error.UND_ERR_CLOSED");class ClientClosedError extends UndiciError{constructor(i){super(i);this.name="ClientClosedError";this.message=i||"The client is closed";this.code="UND_ERR_CLOSED"}static[Symbol.hasInstance](i){return i&&i[le]===true}[le]=true}const ue=Symbol.for("undici.error.UND_ERR_SOCKET");class SocketError extends UndiciError{constructor(i,d){super(i);this.name="SocketError";this.message=i||"Socket error";this.code="UND_ERR_SOCKET";this.socket=d}static[Symbol.hasInstance](i){return i&&i[ue]===true}[ue]=true}const Ae=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED");class NotSupportedError extends UndiciError{constructor(i){super(i);this.name="NotSupportedError";this.message=i||"Not supported error";this.code="UND_ERR_NOT_SUPPORTED"}static[Symbol.hasInstance](i){return i&&i[Ae]===true}[Ae]=true}const de=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM");class BalancedPoolMissingUpstreamError extends UndiciError{constructor(i){super(i);this.name="MissingUpstreamError";this.message=i||"No upstream has been added to the BalancedPool";this.code="UND_ERR_BPL_MISSING_UPSTREAM"}static[Symbol.hasInstance](i){return i&&i[de]===true}[de]=true}const pe=Symbol.for("undici.error.UND_ERR_HTTP_PARSER");class HTTPParserError extends Error{constructor(i,d,p){super(i);this.name="HTTPParserError";this.code=d?`HPE_${d}`:undefined;this.data=p?p.toString():undefined}static[Symbol.hasInstance](i){return i&&i[pe]===true}[pe]=true}const fe=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE");class ResponseExceededMaxSizeError extends UndiciError{constructor(i){super(i);this.name="ResponseExceededMaxSizeError";this.message=i||"Response content exceeded max size";this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}static[Symbol.hasInstance](i){return i&&i[fe]===true}[fe]=true}const he=Symbol.for("undici.error.UND_ERR_REQ_RETRY");class RequestRetryError extends UndiciError{constructor(i,d,{headers:p,data:v}){super(i);this.name="RequestRetryError";this.message=i||"Request retry error";this.code="UND_ERR_REQ_RETRY";this.statusCode=d;this.data=v;this.headers=p}static[Symbol.hasInstance](i){return i&&i[he]===true}[he]=true}const ge=Symbol.for("undici.error.UND_ERR_RESPONSE");class ResponseError extends UndiciError{constructor(i,d,{headers:p,data:v}){super(i);this.name="ResponseError";this.message=i||"Response error";this.code="UND_ERR_RESPONSE";this.statusCode=d;this.data=v;this.headers=p}static[Symbol.hasInstance](i){return i&&i[ge]===true}[ge]=true}const me=Symbol.for("undici.error.UND_ERR_PRX_TLS");class SecureProxyConnectionError extends UndiciError{constructor(i,d,p){super(d,{cause:i,...p??{}});this.name="SecureProxyConnectionError";this.message=d||"Secure Proxy Connection failed";this.code="UND_ERR_PRX_TLS";this.cause=i}static[Symbol.hasInstance](i){return i&&i[me]===true}[me]=true}i.exports={AbortError:AbortError,HTTPParserError:HTTPParserError,UndiciError:UndiciError,HeadersTimeoutError:HeadersTimeoutError,HeadersOverflowError:HeadersOverflowError,BodyTimeoutError:BodyTimeoutError,RequestContentLengthMismatchError:RequestContentLengthMismatchError,ConnectTimeoutError:ConnectTimeoutError,ResponseStatusCodeError:ResponseStatusCodeError,InvalidArgumentError:InvalidArgumentError,InvalidReturnValueError:InvalidReturnValueError,RequestAbortedError:RequestAbortedError,ClientDestroyedError:ClientDestroyedError,ClientClosedError:ClientClosedError,InformationalError:InformationalError,SocketError:SocketError,NotSupportedError:NotSupportedError,ResponseContentLengthMismatchError:ResponseContentLengthMismatchError,BalancedPoolMissingUpstreamError:BalancedPoolMissingUpstreamError,ResponseExceededMaxSizeError:ResponseExceededMaxSizeError,RequestRetryError:RequestRetryError,ResponseError:ResponseError,SecureProxyConnectionError:SecureProxyConnectionError}},98823:(i,d,p)=>{const{InvalidArgumentError:v,NotSupportedError:V}=p(48091);const K=p(34589);const{isValidHTTPToken:ee,isValidHeaderValue:te,isStream:re,destroy:ne,isBuffer:ie,isFormDataLike:se,isIterable:oe,isBlobLike:ae,buildURL:ce,validateHandler:le,getServerName:ue,normalizedMethodRecords:Ae}=p(31544);const{channels:de}=p(78150);const{headerNameLowerCasedRecord:pe}=p(61303);const fe=/[^\u0021-\u00ff]/;const he=Symbol("handler");class Request{constructor(i,{path:d,method:p,body:V,headers:K,query:te,idempotent:pe,blocking:ge,upgrade:me,headersTimeout:Ee,bodyTimeout:ye,reset:Ce,throwOnError:be,expectContinue:Ie,servername:Be},we){if(typeof d!=="string"){throw new v("path must be a string")}else if(d[0]!=="/"&&!(d.startsWith("http://")||d.startsWith("https://"))&&p!=="CONNECT"){throw new v("path must be an absolute URL or start with a slash")}else if(fe.test(d)){throw new v("invalid request path")}if(typeof p!=="string"){throw new v("method must be a string")}else if(Ae[p]===undefined&&!ee(p)){throw new v("invalid request method")}if(me&&typeof me!=="string"){throw new v("upgrade must be a string")}if(Ee!=null&&(!Number.isFinite(Ee)||Ee<0)){throw new v("invalid headersTimeout")}if(ye!=null&&(!Number.isFinite(ye)||ye<0)){throw new v("invalid bodyTimeout")}if(Ce!=null&&typeof Ce!=="boolean"){throw new v("invalid reset")}if(Ie!=null&&typeof Ie!=="boolean"){throw new v("invalid expectContinue")}this.headersTimeout=Ee;this.bodyTimeout=ye;this.throwOnError=be===true;this.method=p;this.abort=null;if(V==null){this.body=null}else if(re(V)){this.body=V;const i=this.body._readableState;if(!i||!i.autoDestroy){this.endHandler=function autoDestroy(){ne(this)};this.body.on("end",this.endHandler)}this.errorHandler=i=>{if(this.abort){this.abort(i)}else{this.error=i}};this.body.on("error",this.errorHandler)}else if(ie(V)){this.body=V.byteLength?V:null}else if(ArrayBuffer.isView(V)){this.body=V.buffer.byteLength?Buffer.from(V.buffer,V.byteOffset,V.byteLength):null}else if(V instanceof ArrayBuffer){this.body=V.byteLength?Buffer.from(V):null}else if(typeof V==="string"){this.body=V.length?Buffer.from(V):null}else if(se(V)||oe(V)||ae(V)){this.body=V}else{throw new v("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable")}this.completed=false;this.aborted=false;this.upgrade=me||null;this.path=te?ce(d,te):d;this.origin=i;this.idempotent=pe==null?p==="HEAD"||p==="GET":pe;this.blocking=ge==null?false:ge;this.reset=Ce==null?null:Ce;this.host=null;this.contentLength=null;this.contentType=null;this.headers=[];this.expectContinue=Ie!=null?Ie:false;if(Array.isArray(K)){if(K.length%2!==0){throw new v("headers array must be even")}for(let i=0;i{i.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kBody:Symbol("abstracted request body"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kResume:Symbol("resume"),kOnError:Symbol("on error"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable"),kListeners:Symbol("listeners"),kHTTPContext:Symbol("http context"),kMaxConcurrentStreams:Symbol("max concurrent streams"),kNoProxyAgent:Symbol("no proxy agent"),kHttpProxyAgent:Symbol("http proxy agent"),kHttpsProxyAgent:Symbol("https proxy agent")}},23568:(i,d,p)=>{const{wellknownHeaderNames:v,headerNameLowerCasedRecord:V}=p(61303);class TstNode{value=null;left=null;middle=null;right=null;code;constructor(i,d,p){if(p===undefined||p>=i.length){throw new TypeError("Unreachable")}const v=this.code=i.charCodeAt(p);if(v>127){throw new TypeError("key must be ascii string")}if(i.length!==++p){this.middle=new TstNode(i,d,p)}else{this.value=d}}add(i,d){const p=i.length;if(p===0){throw new TypeError("Unreachable")}let v=0;let V=this;while(true){const K=i.charCodeAt(v);if(K>127){throw new TypeError("key must be ascii string")}if(V.code===K){if(p===++v){V.value=d;break}else if(V.middle!==null){V=V.middle}else{V.middle=new TstNode(i,d,v);break}}else if(V.code=65){V|=32}while(v!==null){if(V===v.code){if(d===++p){return v}v=v.middle;break}v=v.code{const v=p(34589);const{kDestroyed:V,kBodyUsed:K,kListeners:ee,kBody:te}=p(99411);const{IncomingMessage:re}=p(37067);const ne=p(57075);const ie=p(77030);const{Blob:se}=p(4573);const oe=p(57975);const{stringify:ae}=p(41792);const{EventEmitter:ce}=p(78474);const{InvalidArgumentError:le}=p(48091);const{headerNameLowerCasedRecord:ue}=p(61303);const{tree:Ae}=p(23568);const[de,pe]=process.versions.node.split(".").map((i=>Number(i)));class BodyAsyncIterable{constructor(i){this[te]=i;this[K]=false}async*[Symbol.asyncIterator](){v(!this[K],"disturbed");this[K]=true;yield*this[te]}}function wrapRequestBody(i){if(isStream(i)){if(bodyLength(i)===0){i.on("data",(function(){v(false)}))}if(typeof i.readableDidRead!=="boolean"){i[K]=false;ce.prototype.on.call(i,"data",(function(){this[K]=true}))}return i}else if(i&&typeof i.pipeTo==="function"){return new BodyAsyncIterable(i)}else if(i&&typeof i!=="string"&&!ArrayBuffer.isView(i)&&isIterable(i)){return new BodyAsyncIterable(i)}else{return i}}function nop(){}function isStream(i){return i&&typeof i==="object"&&typeof i.pipe==="function"&&typeof i.on==="function"}function isBlobLike(i){if(i===null){return false}else if(i instanceof se){return true}else if(typeof i!=="object"){return false}else{const d=i[Symbol.toStringTag];return(d==="Blob"||d==="File")&&("stream"in i&&typeof i.stream==="function"||"arrayBuffer"in i&&typeof i.arrayBuffer==="function")}}function buildURL(i,d){if(i.includes("?")||i.includes("#")){throw new Error('Query params cannot be passed when url already contains "?" or "#".')}const p=ae(d);if(p){i+="?"+p}return i}function isValidPort(i){const d=parseInt(i,10);return d===Number(i)&&d>=0&&d<=65535}function isHttpOrHttpsPrefixed(i){return i!=null&&i[0]==="h"&&i[1]==="t"&&i[2]==="t"&&i[3]==="p"&&(i[4]===":"||i[4]==="s"&&i[5]===":")}function parseURL(i){if(typeof i==="string"){i=new URL(i);if(!isHttpOrHttpsPrefixed(i.origin||i.protocol)){throw new le("Invalid URL protocol: the URL must start with `http:` or `https:`.")}return i}if(!i||typeof i!=="object"){throw new le("Invalid URL: The URL argument must be a non-null object.")}if(!(i instanceof URL)){if(i.port!=null&&i.port!==""&&isValidPort(i.port)===false){throw new le("Invalid URL: port must be a valid integer or a string representation of an integer.")}if(i.path!=null&&typeof i.path!=="string"){throw new le("Invalid URL path: the path must be a string or null/undefined.")}if(i.pathname!=null&&typeof i.pathname!=="string"){throw new le("Invalid URL pathname: the pathname must be a string or null/undefined.")}if(i.hostname!=null&&typeof i.hostname!=="string"){throw new le("Invalid URL hostname: the hostname must be a string or null/undefined.")}if(i.origin!=null&&typeof i.origin!=="string"){throw new le("Invalid URL origin: the origin must be a string or null/undefined.")}if(!isHttpOrHttpsPrefixed(i.origin||i.protocol)){throw new le("Invalid URL protocol: the URL must start with `http:` or `https:`.")}const d=i.port!=null?i.port:i.protocol==="https:"?443:80;let p=i.origin!=null?i.origin:`${i.protocol||""}//${i.hostname||""}:${d}`;let v=i.path!=null?i.path:`${i.pathname||""}${i.search||""}`;if(p[p.length-1]==="/"){p=p.slice(0,p.length-1)}if(v&&v[0]!=="/"){v=`/${v}`}return new URL(`${p}${v}`)}if(!isHttpOrHttpsPrefixed(i.origin||i.protocol)){throw new le("Invalid URL protocol: the URL must start with `http:` or `https:`.")}return i}function parseOrigin(i){i=parseURL(i);if(i.pathname!=="/"||i.search||i.hash){throw new le("invalid url")}return i}function getHostname(i){if(i[0]==="["){const d=i.indexOf("]");v(d!==-1);return i.substring(1,d)}const d=i.indexOf(":");if(d===-1)return i;return i.substring(0,d)}function getServerName(i){if(!i){return null}v(typeof i==="string");const d=getHostname(i);if(ie.isIP(d)){return""}return d}function deepClone(i){return JSON.parse(JSON.stringify(i))}function isAsyncIterable(i){return!!(i!=null&&typeof i[Symbol.asyncIterator]==="function")}function isIterable(i){return!!(i!=null&&(typeof i[Symbol.iterator]==="function"||typeof i[Symbol.asyncIterator]==="function"))}function bodyLength(i){if(i==null){return 0}else if(isStream(i)){const d=i._readableState;return d&&d.objectMode===false&&d.ended===true&&Number.isFinite(d.length)?d.length:null}else if(isBlobLike(i)){return i.size!=null?i.size:null}else if(isBuffer(i)){return i.byteLength}return null}function isDestroyed(i){return i&&!!(i.destroyed||i[V]||ne.isDestroyed?.(i))}function destroy(i,d){if(i==null||!isStream(i)||isDestroyed(i)){return}if(typeof i.destroy==="function"){if(Object.getPrototypeOf(i).constructor===re){i.socket=null}i.destroy(d)}else if(d){queueMicrotask((()=>{i.emit("error",d)}))}if(i.destroyed!==true){i[V]=true}}const fe=/timeout=(\d+)/;function parseKeepAliveTimeout(i){const d=i.toString().match(fe);return d?parseInt(d[1],10)*1e3:null}function headerNameToString(i){return typeof i==="string"?ue[i]??i.toLowerCase():Ae.lookup(i)??i.toString("latin1").toLowerCase()}function bufferToLowerCasedHeaderName(i){return Ae.lookup(i)??i.toString("latin1").toLowerCase()}function parseHeaders(i,d){if(d===undefined)d={};for(let p=0;pi.toString("utf8"))):V.toString("utf8")}}}if("content-length"in d&&"content-disposition"in d){d["content-disposition"]=Buffer.from(d["content-disposition"]).toString("latin1")}return d}function parseRawHeaders(i){const d=i.length;const p=new Array(d);let v=false;let V=-1;let K;let ee;let te=0;for(let d=0;d{i.close();i.byobRequest?.respond(0)}))}else{const d=Buffer.isBuffer(v)?v:Buffer.from(v);if(d.byteLength){i.enqueue(new Uint8Array(d))}}return i.desiredSize>0},async cancel(i){await d.return()},type:"bytes"})}function isFormDataLike(i){return i&&typeof i==="object"&&typeof i.append==="function"&&typeof i.delete==="function"&&typeof i.get==="function"&&typeof i.getAll==="function"&&typeof i.has==="function"&&typeof i.set==="function"&&i[Symbol.toStringTag]==="FormData"}function addAbortListener(i,d){if("addEventListener"in i){i.addEventListener("abort",d,{once:true});return()=>i.removeEventListener("abort",d)}i.addListener("abort",d);return()=>i.removeListener("abort",d)}const he=typeof String.prototype.toWellFormed==="function";const ge=typeof String.prototype.isWellFormed==="function";function toUSVString(i){return he?`${i}`.toWellFormed():oe.toUSVString(i)}function isUSVString(i){return ge?`${i}`.isWellFormed():toUSVString(i)===`${i}`}function isTokenCharCode(i){switch(i){case 34:case 40:case 41:case 44:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 123:case 125:return false;default:return i>=33&&i<=126}}function isValidHTTPToken(i){if(i.length===0){return false}for(let d=0;d{const{InvalidArgumentError:v}=p(48091);const{kClients:V,kRunning:K,kClose:ee,kDestroy:te,kDispatch:re,kInterceptors:ne}=p(99411);const ie=p(44745);const se=p(27404);const oe=p(43069);const ae=p(31544);const ce=p(21676);const le=Symbol("onConnect");const ue=Symbol("onDisconnect");const Ae=Symbol("onConnectionError");const de=Symbol("maxRedirections");const pe=Symbol("onDrain");const fe=Symbol("factory");const he=Symbol("options");function defaultFactory(i,d){return d&&d.connections===1?new oe(i,d):new se(i,d)}class Agent extends ie{constructor({factory:i=defaultFactory,maxRedirections:d=0,connect:p,...K}={}){super();if(typeof i!=="function"){throw new v("factory must be a function.")}if(p!=null&&typeof p!=="function"&&typeof p!=="object"){throw new v("connect must be a function or an object")}if(!Number.isInteger(d)||d<0){throw new v("maxRedirections must be a positive number")}if(p&&typeof p!=="function"){p={...p}}this[ne]=K.interceptors?.Agent&&Array.isArray(K.interceptors.Agent)?K.interceptors.Agent:[ce({maxRedirections:d})];this[he]={...ae.deepClone(K),connect:p};this[he].interceptors=K.interceptors?{...K.interceptors}:undefined;this[de]=d;this[fe]=i;this[V]=new Map;this[pe]=(i,d)=>{this.emit("drain",i,[this,...d])};this[le]=(i,d)=>{this.emit("connect",i,[this,...d])};this[ue]=(i,d,p)=>{this.emit("disconnect",i,[this,...d],p)};this[Ae]=(i,d,p)=>{this.emit("connectionError",i,[this,...d],p)}}get[K](){let i=0;for(const d of this[V].values()){i+=d[K]}return i}[re](i,d){let p;if(i.origin&&(typeof i.origin==="string"||i.origin instanceof URL)){p=String(i.origin)}else{throw new v("opts.origin must be a non-empty string or URL.")}let K=this[V].get(p);if(!K){K=this[fe](i.origin,this[he]).on("drain",this[pe]).on("connect",this[le]).on("disconnect",this[ue]).on("connectionError",this[Ae]);this[V].set(p,K)}return K.dispatch(i,d)}async[ee](){const i=[];for(const d of this[V].values()){i.push(d.close())}this[V].clear();await Promise.all(i)}async[te](i){const d=[];for(const p of this[V].values()){d.push(p.destroy(i))}this[V].clear();await Promise.all(d)}}i.exports=Agent},48973:(i,d,p)=>{const{BalancedPoolMissingUpstreamError:v,InvalidArgumentError:V}=p(48091);const{PoolBase:K,kClients:ee,kNeedDrain:te,kAddClient:re,kRemoveClient:ne,kGetDispatcher:ie}=p(93272);const se=p(27404);const{kUrl:oe,kInterceptors:ae}=p(99411);const{parseOrigin:ce}=p(31544);const le=Symbol("factory");const ue=Symbol("options");const Ae=Symbol("kGreatestCommonDivisor");const de=Symbol("kCurrentWeight");const pe=Symbol("kIndex");const fe=Symbol("kWeight");const he=Symbol("kMaxWeightPerServer");const ge=Symbol("kErrorPenalty");function getGreatestCommonDivisor(i,d){if(i===0)return d;while(d!==0){const p=d;d=i%d;i=p}return i}function defaultFactory(i,d){return new se(i,d)}class BalancedPool extends K{constructor(i=[],{factory:d=defaultFactory,...p}={}){super();this[ue]=p;this[pe]=-1;this[de]=0;this[he]=this[ue].maxWeightPerServer||100;this[ge]=this[ue].errorPenalty||15;if(!Array.isArray(i)){i=[i]}if(typeof d!=="function"){throw new V("factory must be a function.")}this[ae]=p.interceptors?.BalancedPool&&Array.isArray(p.interceptors.BalancedPool)?p.interceptors.BalancedPool:[];this[le]=d;for(const d of i){this.addUpstream(d)}this._updateBalancedPoolStats()}addUpstream(i){const d=ce(i).origin;if(this[ee].find((i=>i[oe].origin===d&&i.closed!==true&&i.destroyed!==true))){return this}const p=this[le](d,Object.assign({},this[ue]));this[re](p);p.on("connect",(()=>{p[fe]=Math.min(this[he],p[fe]+this[ge])}));p.on("connectionError",(()=>{p[fe]=Math.max(1,p[fe]-this[ge]);this._updateBalancedPoolStats()}));p.on("disconnect",((...i)=>{const d=i[2];if(d&&d.code==="UND_ERR_SOCKET"){p[fe]=Math.max(1,p[fe]-this[ge]);this._updateBalancedPoolStats()}}));for(const i of this[ee]){i[fe]=this[he]}this._updateBalancedPoolStats();return this}_updateBalancedPoolStats(){let i=0;for(let d=0;di[oe].origin===d&&i.closed!==true&&i.destroyed!==true));if(p){this[ne](p)}return this}get upstreams(){return this[ee].filter((i=>i.closed!==true&&i.destroyed!==true)).map((i=>i[oe].origin))}[ie](){if(this[ee].length===0){throw new v}const i=this[ee].find((i=>!i[te]&&i.closed!==true&&i.destroyed!==true));if(!i){return}const d=this[ee].map((i=>i[te])).reduce(((i,d)=>i&&d),true);if(d){return}let p=0;let V=this[ee].findIndex((i=>!i[te]));while(p++this[ee][V][fe]&&!i[te]){V=this[pe]}if(this[pe]===0){this[de]=this[de]-this[Ae];if(this[de]<=0){this[de]=this[he]}}if(i[fe]>=this[de]&&!i[te]){return i}}this[de]=this[ee][V][fe];this[pe]=V;return this[ee][V]}}i.exports=BalancedPool},81557:(i,d,p)=>{const v=p(34589);const V=p(31544);const{channels:K}=p(78150);const ee=p(92563);const{RequestContentLengthMismatchError:te,ResponseContentLengthMismatchError:re,RequestAbortedError:ne,HeadersTimeoutError:ie,HeadersOverflowError:se,SocketError:oe,InformationalError:ae,BodyTimeoutError:ce,HTTPParserError:le,ResponseExceededMaxSizeError:ue}=p(48091);const{kUrl:Ae,kReset:de,kClient:pe,kParser:fe,kBlocking:he,kRunning:ge,kPending:me,kSize:Ee,kWriting:ye,kQueue:Ce,kNoRef:be,kKeepAliveDefaultTimeout:Ie,kHostHeader:Be,kPendingIdx:we,kRunningIdx:Se,kError:Qe,kPipelining:ve,kSocket:Re,kKeepAliveTimeoutValue:Te,kMaxHeadersSize:Ne,kKeepAliveMaxTimeout:ke,kKeepAliveTimeoutThreshold:De,kHeadersTimeout:xe,kBodyTimeout:_e,kStrictContentLength:Pe,kMaxRequests:Oe,kCounter:Le,kMaxResponseSize:Fe,kOnError:Me,kResume:Ue,kHTTPContext:He}=p(99411);const Ge=p(67424);const qe=Buffer.alloc(0);const je=Buffer[Symbol.species];const Ve=V.addListener;const ze=V.removeAllListeners;let Ye;async function lazyllhttp(){const i=process.env.JEST_WORKER_ID?p(87846):undefined;let d;try{d=await WebAssembly.compile(p(9474))}catch(v){d=await WebAssembly.compile(i||p(87846))}return await WebAssembly.instantiate(d,{env:{wasm_on_url:(i,d,p)=>0,wasm_on_status:(i,d,p)=>{v($e.ptr===i);const V=d-Ze+Ke.byteOffset;return $e.onStatus(new je(Ke.buffer,V,p))||0},wasm_on_message_begin:i=>{v($e.ptr===i);return $e.onMessageBegin()||0},wasm_on_header_field:(i,d,p)=>{v($e.ptr===i);const V=d-Ze+Ke.byteOffset;return $e.onHeaderField(new je(Ke.buffer,V,p))||0},wasm_on_header_value:(i,d,p)=>{v($e.ptr===i);const V=d-Ze+Ke.byteOffset;return $e.onHeaderValue(new je(Ke.buffer,V,p))||0},wasm_on_headers_complete:(i,d,p,V)=>{v($e.ptr===i);return $e.onHeadersComplete(d,Boolean(p),Boolean(V))||0},wasm_on_body:(i,d,p)=>{v($e.ptr===i);const V=d-Ze+Ke.byteOffset;return $e.onBody(new je(Ke.buffer,V,p))||0},wasm_on_message_complete:i=>{v($e.ptr===i);return $e.onMessageComplete()||0}}})}let We=null;let Je=lazyllhttp();Je.catch();let $e=null;let Ke=null;let Xe=0;let Ze=null;const At=0;const mt=1;const Et=2|mt;const yt=4|mt;const Ct=8|At;class Parser{constructor(i,d,{exports:p}){v(Number.isFinite(i[Ne])&&i[Ne]>0);this.llhttp=p;this.ptr=this.llhttp.llhttp_alloc(Ge.TYPE.RESPONSE);this.client=i;this.socket=d;this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.statusCode=null;this.statusText="";this.upgrade=false;this.headers=[];this.headersSize=0;this.headersMaxSize=i[Ne];this.shouldKeepAlive=false;this.paused=false;this.resume=this.resume.bind(this);this.bytesRead=0;this.keepAlive="";this.contentLength="";this.connection="";this.maxResponseSize=i[Fe]}setTimeout(i,d){if(i!==this.timeoutValue||d&mt^this.timeoutType&mt){if(this.timeout){ee.clearTimeout(this.timeout);this.timeout=null}if(i){if(d&mt){this.timeout=ee.setFastTimeout(onParserTimeout,i,new WeakRef(this))}else{this.timeout=setTimeout(onParserTimeout,i,new WeakRef(this));this.timeout.unref()}}this.timeoutValue=i}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.timeoutType=d}resume(){if(this.socket.destroyed||!this.paused){return}v(this.ptr!=null);v($e==null);this.llhttp.llhttp_resume(this.ptr);v(this.timeoutType===yt);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.paused=false;this.execute(this.socket.read()||qe);this.readMore()}readMore(){while(!this.paused&&this.ptr){const i=this.socket.read();if(i===null){break}this.execute(i)}}execute(i){v(this.ptr!=null);v($e==null);v(!this.paused);const{socket:d,llhttp:p}=this;if(i.length>Xe){if(Ze){p.free(Ze)}Xe=Math.ceil(i.length/4096)*4096;Ze=p.malloc(Xe)}new Uint8Array(p.memory.buffer,Ze,Xe).set(i);try{let v;try{Ke=i;$e=this;v=p.llhttp_execute(this.ptr,Ze,i.length)}catch(i){throw i}finally{$e=null;Ke=null}const V=p.llhttp_get_error_pos(this.ptr)-Ze;if(v===Ge.ERROR.PAUSED_UPGRADE){this.onUpgrade(i.slice(V))}else if(v===Ge.ERROR.PAUSED){this.paused=true;d.unshift(i.slice(V))}else if(v!==Ge.ERROR.OK){const d=p.llhttp_get_error_reason(this.ptr);let K="";if(d){const i=new Uint8Array(p.memory.buffer,d).indexOf(0);K="Response does not match the HTTP/1.1 protocol ("+Buffer.from(p.memory.buffer,d,i).toString()+")"}throw new le(K,Ge.ERROR[v],i.slice(V))}}catch(i){V.destroy(d,i)}}destroy(){v(this.ptr!=null);v($e==null);this.llhttp.llhttp_free(this.ptr);this.ptr=null;this.timeout&&ee.clearTimeout(this.timeout);this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.paused=false}onStatus(i){this.statusText=i.toString()}onMessageBegin(){const{socket:i,client:d}=this;if(i.destroyed){return-1}const p=d[Ce][d[Se]];if(!p){return-1}p.onResponseStarted()}onHeaderField(i){const d=this.headers.length;if((d&1)===0){this.headers.push(i)}else{this.headers[d-1]=Buffer.concat([this.headers[d-1],i])}this.trackHeader(i.length)}onHeaderValue(i){let d=this.headers.length;if((d&1)===1){this.headers.push(i);d+=1}else{this.headers[d-1]=Buffer.concat([this.headers[d-1],i])}const p=this.headers[d-2];if(p.length===10){const d=V.bufferToLowerCasedHeaderName(p);if(d==="keep-alive"){this.keepAlive+=i.toString()}else if(d==="connection"){this.connection+=i.toString()}}else if(p.length===14&&V.bufferToLowerCasedHeaderName(p)==="content-length"){this.contentLength+=i.toString()}this.trackHeader(i.length)}trackHeader(i){this.headersSize+=i;if(this.headersSize>=this.headersMaxSize){V.destroy(this.socket,new se)}}onUpgrade(i){const{upgrade:d,client:p,socket:K,headers:ee,statusCode:te}=this;v(d);v(p[Re]===K);v(!K.destroyed);v(!this.paused);v((ee.length&1)===0);const re=p[Ce][p[Se]];v(re);v(re.upgrade||re.method==="CONNECT");this.statusCode=null;this.statusText="";this.shouldKeepAlive=null;this.headers=[];this.headersSize=0;K.unshift(i);K[fe].destroy();K[fe]=null;K[pe]=null;K[Qe]=null;ze(K);p[Re]=null;p[He]=null;p[Ce][p[Se]++]=null;p.emit("disconnect",p[Ae],[p],new ae("upgrade"));try{re.onUpgrade(te,ee,K)}catch(i){V.destroy(K,i)}p[Ue]()}onHeadersComplete(i,d,p){const{client:K,socket:ee,headers:te,statusText:re}=this;if(ee.destroyed){return-1}const ne=K[Ce][K[Se]];if(!ne){return-1}v(!this.upgrade);v(this.statusCode<200);if(i===100){V.destroy(ee,new oe("bad response",V.getSocketInfo(ee)));return-1}if(d&&!ne.upgrade){V.destroy(ee,new oe("bad upgrade",V.getSocketInfo(ee)));return-1}v(this.timeoutType===Et);this.statusCode=i;this.shouldKeepAlive=p||ne.method==="HEAD"&&!ee[de]&&this.connection.toLowerCase()==="keep-alive";if(this.statusCode>=200){const i=ne.bodyTimeout!=null?ne.bodyTimeout:K[_e];this.setTimeout(i,yt)}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}if(ne.method==="CONNECT"){v(K[ge]===1);this.upgrade=true;return 2}if(d){v(K[ge]===1);this.upgrade=true;return 2}v((this.headers.length&1)===0);this.headers=[];this.headersSize=0;if(this.shouldKeepAlive&&K[ve]){const i=this.keepAlive?V.parseKeepAliveTimeout(this.keepAlive):null;if(i!=null){const d=Math.min(i-K[De],K[ke]);if(d<=0){ee[de]=true}else{K[Te]=d}}else{K[Te]=K[Ie]}}else{ee[de]=true}const ie=ne.onHeaders(i,te,this.resume,re)===false;if(ne.aborted){return-1}if(ne.method==="HEAD"){return 1}if(i<200){return 1}if(ee[he]){ee[he]=false;K[Ue]()}return ie?Ge.ERROR.PAUSED:0}onBody(i){const{client:d,socket:p,statusCode:K,maxResponseSize:ee}=this;if(p.destroyed){return-1}const te=d[Ce][d[Se]];v(te);v(this.timeoutType===yt);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}v(K>=200);if(ee>-1&&this.bytesRead+i.length>ee){V.destroy(p,new ue);return-1}this.bytesRead+=i.length;if(te.onData(i)===false){return Ge.ERROR.PAUSED}}onMessageComplete(){const{client:i,socket:d,statusCode:p,upgrade:K,headers:ee,contentLength:te,bytesRead:ne,shouldKeepAlive:ie}=this;if(d.destroyed&&(!p||ie)){return-1}if(K){return}v(p>=100);v((this.headers.length&1)===0);const se=i[Ce][i[Se]];v(se);this.statusCode=null;this.statusText="";this.bytesRead=0;this.contentLength="";this.keepAlive="";this.connection="";this.headers=[];this.headersSize=0;if(p<200){return}if(se.method!=="HEAD"&&te&&ne!==parseInt(te,10)){V.destroy(d,new re);return-1}se.onComplete(ee);i[Ce][i[Se]++]=null;if(d[ye]){v(i[ge]===0);V.destroy(d,new ae("reset"));return Ge.ERROR.PAUSED}else if(!ie){V.destroy(d,new ae("reset"));return Ge.ERROR.PAUSED}else if(d[de]&&i[ge]===0){V.destroy(d,new ae("reset"));return Ge.ERROR.PAUSED}else if(i[ve]==null||i[ve]===1){setImmediate((()=>i[Ue]()))}else{i[Ue]()}}}function onParserTimeout(i){const{socket:d,timeoutType:p,client:K,paused:ee}=i.deref();if(p===Et){if(!d[ye]||d.writableNeedDrain||K[ge]>1){v(!ee,"cannot be paused while waiting for headers");V.destroy(d,new ie)}}else if(p===yt){if(!ee){V.destroy(d,new ce)}}else if(p===Ct){v(K[ge]===0&&K[Te]);V.destroy(d,new ae("socket idle timeout"))}}async function connectH1(i,d){i[Re]=d;if(!We){We=await Je;Je=null}d[be]=false;d[ye]=false;d[de]=false;d[he]=false;d[fe]=new Parser(i,d,We);Ve(d,"error",(function(i){v(i.code!=="ERR_TLS_CERT_ALTNAME_INVALID");const d=this[fe];if(i.code==="ECONNRESET"&&d.statusCode&&!d.shouldKeepAlive){d.onMessageComplete();return}this[Qe]=i;this[pe][Me](i)}));Ve(d,"readable",(function(){const i=this[fe];if(i){i.readMore()}}));Ve(d,"end",(function(){const i=this[fe];if(i.statusCode&&!i.shouldKeepAlive){i.onMessageComplete();return}V.destroy(this,new oe("other side closed",V.getSocketInfo(this)))}));Ve(d,"close",(function(){const i=this[pe];const d=this[fe];if(d){if(!this[Qe]&&d.statusCode&&!d.shouldKeepAlive){d.onMessageComplete()}this[fe].destroy();this[fe]=null}const p=this[Qe]||new oe("closed",V.getSocketInfo(this));i[Re]=null;i[He]=null;if(i.destroyed){v(i[me]===0);const d=i[Ce].splice(i[Se]);for(let v=0;v0&&p.code!=="UND_ERR_INFO"){const d=i[Ce][i[Se]];i[Ce][i[Se]++]=null;V.errorRequest(i,d,p)}i[we]=i[Se];v(i[ge]===0);i.emit("disconnect",i[Ae],[i],p);i[Ue]()}));let p=false;d.on("close",(()=>{p=true}));return{version:"h1",defaultPipelining:1,write(...d){return writeH1(i,...d)},resume(){resumeH1(i)},destroy(i,v){if(p){queueMicrotask(v)}else{d.destroy(i).on("close",v)}},get destroyed(){return d.destroyed},busy(p){if(d[ye]||d[de]||d[he]){return true}if(p){if(i[ge]>0&&!p.idempotent){return true}if(i[ge]>0&&(p.upgrade||p.method==="CONNECT")){return true}if(i[ge]>0&&V.bodyLength(p.body)!==0&&(V.isStream(p.body)||V.isAsyncIterable(p.body)||V.isFormDataLike(p.body))){return true}}return false}}}function resumeH1(i){const d=i[Re];if(d&&!d.destroyed){if(i[Ee]===0){if(!d[be]&&d.unref){d.unref();d[be]=true}}else if(d[be]&&d.ref){d.ref();d[be]=false}if(i[Ee]===0){if(d[fe].timeoutType!==Ct){d[fe].setTimeout(i[Te],Ct)}}else if(i[ge]>0&&d[fe].statusCode<200){if(d[fe].timeoutType!==Et){const p=i[Ce][i[Se]];const v=p.headersTimeout!=null?p.headersTimeout:i[xe];d[fe].setTimeout(v,Et)}}}}function shouldSendContentLength(i){return i!=="GET"&&i!=="HEAD"&&i!=="OPTIONS"&&i!=="TRACE"&&i!=="CONNECT"}function writeH1(i,d){const{method:ee,path:re,host:ie,upgrade:se,blocking:oe,reset:ce}=d;let{body:le,headers:ue,contentLength:Ae}=d;const pe=ee==="PUT"||ee==="POST"||ee==="PATCH"||ee==="QUERY"||ee==="PROPFIND"||ee==="PROPPATCH";if(V.isFormDataLike(le)){if(!Ye){Ye=p(18900).extractBody}const[i,v]=Ye(le);if(d.contentType==null){ue.push("content-type",v)}le=i.stream;Ae=i.length}else if(V.isBlobLike(le)&&d.contentType==null&&le.type){ue.push("content-type",le.type)}if(le&&typeof le.read==="function"){le.read(0)}const fe=V.bodyLength(le);Ae=fe??Ae;if(Ae===null){Ae=d.contentLength}if(Ae===0&&!pe){Ae=null}if(shouldSendContentLength(ee)&&Ae>0&&d.contentLength!==null&&d.contentLength!==Ae){if(i[Pe]){V.errorRequest(i,d,new te);return false}process.emitWarning(new te)}const ge=i[Re];const abort=p=>{if(d.aborted||d.completed){return}V.errorRequest(i,d,p||new ne);V.destroy(le);V.destroy(ge,new ae("aborted"))};try{d.onConnect(abort)}catch(p){V.errorRequest(i,d,p)}if(d.aborted){return false}if(ee==="HEAD"){ge[de]=true}if(se||ee==="CONNECT"){ge[de]=true}if(ce!=null){ge[de]=ce}if(i[Oe]&&ge[Le]++>=i[Oe]){ge[de]=true}if(oe){ge[he]=true}let me=`${ee} ${re} HTTP/1.1\r\n`;if(typeof ie==="string"){me+=`host: ${ie}\r\n`}else{me+=i[Be]}if(se){me+=`connection: upgrade\r\nupgrade: ${se}\r\n`}else if(i[ve]&&!ge[de]){me+="connection: keep-alive\r\n"}else{me+="connection: close\r\n"}if(Array.isArray(ue)){for(let i=0;i{d.removeListener("error",onFinished)}));if(!se){const i=new ne;queueMicrotask((()=>onFinished(i)))}};const onFinished=function(i){if(se){return}se=true;v(ee.destroyed||ee[ye]&&p[ge]<=1);ee.off("drain",onDrain).off("error",onFinished);d.removeListener("data",onData).removeListener("end",onFinished).removeListener("close",onClose);if(!i){try{oe.end()}catch(d){i=d}}oe.destroy(i);if(i&&(i.code!=="UND_ERR_INFO"||i.message!=="reset")){V.destroy(d,i)}else{V.destroy(d)}};d.on("data",onData).on("end",onFinished).on("error",onFinished).on("close",onClose);if(d.resume){d.resume()}ee.on("drain",onDrain).on("error",onFinished);if(d.errorEmitted??d.errored){setImmediate((()=>onFinished(d.errored)))}else if(d.endEmitted??d.readableEnded){setImmediate((()=>onFinished(null)))}if(d.closeEmitted??d.closed){setImmediate(onClose)}}function writeBuffer(i,d,p,K,ee,te,re,ne){try{if(!d){if(te===0){ee.write(`${re}content-length: 0\r\n\r\n`,"latin1")}else{v(te===null,"no body must not have content length");ee.write(`${re}\r\n`,"latin1")}}else if(V.isBuffer(d)){v(te===d.byteLength,"buffer body must have content length");ee.cork();ee.write(`${re}content-length: ${te}\r\n\r\n`,"latin1");ee.write(d);ee.uncork();K.onBodySent(d);if(!ne&&K.reset!==false){ee[de]=true}}K.onRequestSent();p[Ue]()}catch(d){i(d)}}async function writeBlob(i,d,p,V,K,ee,re,ne){v(ee===d.size,"blob body must have content length");try{if(ee!=null&&ee!==d.size){throw new te}const i=Buffer.from(await d.arrayBuffer());K.cork();K.write(`${re}content-length: ${ee}\r\n\r\n`,"latin1");K.write(i);K.uncork();V.onBodySent(i);V.onRequestSent();if(!ne&&V.reset!==false){K[de]=true}p[Ue]()}catch(d){i(d)}}async function writeIterable(i,d,p,V,K,ee,te,re){v(ee!==0||p[ge]===0,"iterator body cannot be pipelined");let ne=null;function onDrain(){if(ne){const i=ne;ne=null;i()}}const waitForDrain=()=>new Promise(((i,d)=>{v(ne===null);if(K[Qe]){d(K[Qe])}else{ne=i}}));K.on("close",onDrain).on("drain",onDrain);const ie=new AsyncWriter({abort:i,socket:K,request:V,contentLength:ee,client:p,expectsPayload:re,header:te});try{for await(const i of d){if(K[Qe]){throw K[Qe]}if(!ie.write(i)){await waitForDrain()}}ie.end()}catch(i){ie.destroy(i)}finally{K.off("close",onDrain).off("drain",onDrain)}}class AsyncWriter{constructor({abort:i,socket:d,request:p,contentLength:v,client:V,expectsPayload:K,header:ee}){this.socket=d;this.request=p;this.contentLength=v;this.client=V;this.bytesWritten=0;this.expectsPayload=K;this.header=ee;this.abort=i;d[ye]=true}write(i){const{socket:d,request:p,contentLength:v,client:V,bytesWritten:K,expectsPayload:ee,header:re}=this;if(d[Qe]){throw d[Qe]}if(d.destroyed){return false}const ne=Buffer.byteLength(i);if(!ne){return true}if(v!==null&&K+ne>v){if(V[Pe]){throw new te}process.emitWarning(new te)}d.cork();if(K===0){if(!ee&&p.reset!==false){d[de]=true}if(v===null){d.write(`${re}transfer-encoding: chunked\r\n`,"latin1")}else{d.write(`${re}content-length: ${v}\r\n\r\n`,"latin1")}}if(v===null){d.write(`\r\n${ne.toString(16)}\r\n`,"latin1")}this.bytesWritten+=ne;const ie=d.write(i);d.uncork();p.onBodySent(i);if(!ie){if(d[fe].timeout&&d[fe].timeoutType===Et){if(d[fe].timeout.refresh){d[fe].timeout.refresh()}}}return ie}end(){const{socket:i,contentLength:d,client:p,bytesWritten:v,expectsPayload:V,header:K,request:ee}=this;ee.onRequestSent();i[ye]=false;if(i[Qe]){throw i[Qe]}if(i.destroyed){return}if(v===0){if(V){i.write(`${K}content-length: 0\r\n\r\n`,"latin1")}else{i.write(`${K}\r\n`,"latin1")}}else if(d===null){i.write("\r\n0\r\n\r\n","latin1")}if(d!==null&&v!==d){if(p[Pe]){throw new te}else{process.emitWarning(new te)}}if(i[fe].timeout&&i[fe].timeoutType===Et){if(i[fe].timeout.refresh){i[fe].timeout.refresh()}}p[Ue]()}destroy(i){const{socket:d,client:p,abort:V}=this;d[ye]=false;if(i){v(p[ge]<=1,"pipeline should only contain this request");V(i)}}}i.exports=connectH1},94092:(i,d,p)=>{const v=p(34589);const{pipeline:V}=p(57075);const K=p(31544);const{RequestContentLengthMismatchError:ee,RequestAbortedError:te,SocketError:re,InformationalError:ne}=p(48091);const{kUrl:ie,kReset:se,kClient:oe,kRunning:ae,kPending:ce,kQueue:le,kPendingIdx:ue,kRunningIdx:Ae,kError:de,kSocket:pe,kStrictContentLength:fe,kOnError:he,kMaxConcurrentStreams:ge,kHTTP2Session:me,kResume:Ee,kSize:ye,kHTTPContext:Ce}=p(99411);const be=Symbol("open streams");let Ie;let Be=false;let we;try{we=p(32467)}catch{we={constants:{}}}const{constants:{HTTP2_HEADER_AUTHORITY:Se,HTTP2_HEADER_METHOD:Qe,HTTP2_HEADER_PATH:ve,HTTP2_HEADER_SCHEME:Re,HTTP2_HEADER_CONTENT_LENGTH:Te,HTTP2_HEADER_EXPECT:Ne,HTTP2_HEADER_STATUS:ke}}=we;function parseH2Headers(i){const d=[];for(const[p,v]of Object.entries(i)){if(Array.isArray(v)){for(const i of v){d.push(Buffer.from(p),Buffer.from(i))}}else{d.push(Buffer.from(p),Buffer.from(v))}}return d}async function connectH2(i,d){i[pe]=d;if(!Be){Be=true;process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"})}const p=we.connect(i[ie],{createConnection:()=>d,peerMaxConcurrentStreams:i[ge]});p[be]=0;p[oe]=i;p[pe]=d;K.addListener(p,"error",onHttp2SessionError);K.addListener(p,"frameError",onHttp2FrameError);K.addListener(p,"end",onHttp2SessionEnd);K.addListener(p,"goaway",onHTTP2GoAway);K.addListener(p,"close",(function(){const{[oe]:i}=this;const{[pe]:d}=i;const p=this[pe][de]||this[de]||new re("closed",K.getSocketInfo(d));i[me]=null;if(i.destroyed){v(i[ce]===0);const d=i[le].splice(i[Ae]);for(let v=0;v{V=true}));return{version:"h2",defaultPipelining:Infinity,write(...d){return writeH2(i,...d)},resume(){resumeH2(i)},destroy(i,p){if(V){queueMicrotask(p)}else{d.destroy(i).on("close",p)}},get destroyed(){return d.destroyed},busy(){return false}}}function resumeH2(i){const d=i[pe];if(d?.destroyed===false){if(i[ye]===0&&i[ge]===0){d.unref();i[me].unref()}else{d.ref();i[me].ref()}}}function onHttp2SessionError(i){v(i.code!=="ERR_TLS_CERT_ALTNAME_INVALID");this[pe][de]=i;this[oe][he](i)}function onHttp2FrameError(i,d,p){if(p===0){const p=new ne(`HTTP/2: "frameError" received - type ${i}, code ${d}`);this[pe][de]=p;this[oe][he](p)}}function onHttp2SessionEnd(){const i=new re("other side closed",K.getSocketInfo(this[pe]));this.destroy(i);K.destroy(this[pe],i)}function onHTTP2GoAway(i){const d=this[de]||new re(`HTTP/2: "GOAWAY" frame received with code ${i}`,K.getSocketInfo(this));const p=this[oe];p[pe]=null;p[Ce]=null;if(this[me]!=null){this[me].destroy(d);this[me]=null}K.destroy(this[pe],d);if(p[Ae]{if(d.aborted||d.completed){return}p=p||new te;K.errorRequest(i,d,p);if(Ce!=null){K.destroy(Ce,p)}K.destroy(ge,p);i[le][i[Ae]++]=null;i[Ee]()};try{d.onConnect(abort)}catch(p){K.errorRequest(i,d,p)}if(d.aborted){return false}if(re==="CONNECT"){V.ref();Ce=V.request(ye,{endStream:false,signal:de});if(Ce.id&&!Ce.pending){d.onUpgrade(null,null,Ce);++V[be];i[le][i[Ae]++]=null}else{Ce.once("ready",(()=>{d.onUpgrade(null,null,Ce);++V[be];i[le][i[Ae]++]=null}))}Ce.once("close",(()=>{V[be]-=1;if(V[be]===0)V.unref()}));return true}ye[ve]=se;ye[Re]="https";const De=re==="PUT"||re==="POST"||re==="PATCH";if(ge&&typeof ge.read==="function"){ge.read(0)}let xe=K.bodyLength(ge);if(K.isFormDataLike(ge)){Ie??=p(18900).extractBody;const[i,d]=Ie(ge);ye["content-type"]=d;ge=i.stream;xe=i.length}if(xe==null){xe=d.contentLength}if(xe===0||!De){xe=null}if(shouldSendContentLength(re)&&xe>0&&d.contentLength!=null&&d.contentLength!==xe){if(i[fe]){K.errorRequest(i,d,new ee);return false}process.emitWarning(new ee)}if(xe!=null){v(ge,"no body must not have content length");ye[Te]=`${xe}`}V.ref();const _e=re==="GET"||re==="HEAD"||ge===null;if(ce){ye[Ne]="100-continue";Ce=V.request(ye,{endStream:_e,signal:de});Ce.once("continue",writeBodyH2)}else{Ce=V.request(ye,{endStream:_e,signal:de});writeBodyH2()}++V[be];Ce.once("response",(p=>{const{[ke]:v,...V}=p;d.onResponseStarted();if(d.aborted){const p=new te;K.errorRequest(i,d,p);K.destroy(Ce,p);return}if(d.onHeaders(Number(v),parseH2Headers(V),Ce.resume.bind(Ce),"")===false){Ce.pause()}Ce.on("data",(i=>{if(d.onData(i)===false){Ce.pause()}}))}));Ce.once("end",(()=>{if(Ce.state?.state==null||Ce.state.state<6){d.onComplete([])}if(V[be]===0){V.unref()}abort(new ne("HTTP/2: stream half-closed (remote)"));i[le][i[Ae]++]=null;i[ue]=i[Ae];i[Ee]()}));Ce.once("close",(()=>{V[be]-=1;if(V[be]===0){V.unref()}}));Ce.once("error",(function(i){abort(i)}));Ce.once("frameError",((i,d)=>{abort(new ne(`HTTP/2: "frameError" received - type ${i}, code ${d}`))}));return true;function writeBodyH2(){if(!ge||xe===0){writeBuffer(abort,Ce,null,i,d,i[pe],xe,De)}else if(K.isBuffer(ge)){writeBuffer(abort,Ce,ge,i,d,i[pe],xe,De)}else if(K.isBlobLike(ge)){if(typeof ge.stream==="function"){writeIterable(abort,Ce,ge.stream(),i,d,i[pe],xe,De)}else{writeBlob(abort,Ce,ge,i,d,i[pe],xe,De)}}else if(K.isStream(ge)){writeStream(abort,i[pe],De,Ce,ge,i,d,xe)}else if(K.isIterable(ge)){writeIterable(abort,Ce,ge,i,d,i[pe],xe,De)}else{v(false)}}}function writeBuffer(i,d,p,V,ee,te,re,ne){try{if(p!=null&&K.isBuffer(p)){v(re===p.byteLength,"buffer body must have content length");d.cork();d.write(p);d.uncork();d.end();ee.onBodySent(p)}if(!ne){te[se]=true}ee.onRequestSent();V[Ee]()}catch(d){i(d)}}function writeStream(i,d,p,ee,te,re,ne,ie){v(ie!==0||re[ae]===0,"stream body cannot be pipelined");const oe=V(te,ee,(v=>{if(v){K.destroy(oe,v);i(v)}else{K.removeAllListeners(oe);ne.onRequestSent();if(!p){d[se]=true}re[Ee]()}}));K.addListener(oe,"data",onPipeData);function onPipeData(i){ne.onBodySent(i)}}async function writeBlob(i,d,p,V,K,te,re,ne){v(re===p.size,"blob body must have content length");try{if(re!=null&&re!==p.size){throw new ee}const i=Buffer.from(await p.arrayBuffer());d.cork();d.write(i);d.uncork();d.end();K.onBodySent(i);K.onRequestSent();if(!ne){te[se]=true}V[Ee]()}catch(d){i(d)}}async function writeIterable(i,d,p,V,K,ee,te,re){v(te!==0||V[ae]===0,"iterator body cannot be pipelined");let ne=null;function onDrain(){if(ne){const i=ne;ne=null;i()}}const waitForDrain=()=>new Promise(((i,d)=>{v(ne===null);if(ee[de]){d(ee[de])}else{ne=i}}));d.on("close",onDrain).on("drain",onDrain);try{for await(const i of p){if(ee[de]){throw ee[de]}const p=d.write(i);K.onBodySent(i);if(!p){await waitForDrain()}}d.end();K.onRequestSent();if(!re){ee[se]=true}V[Ee]()}catch(d){i(d)}finally{d.off("close",onDrain).off("drain",onDrain)}}i.exports=connectH2},43069:(i,d,p)=>{const v=p(34589);const V=p(77030);const K=p(37067);const ee=p(31544);const{channels:te}=p(78150);const re=p(98823);const ne=p(44745);const{InvalidArgumentError:ie,InformationalError:se,ClientDestroyedError:oe}=p(48091);const ae=p(72296);const{kUrl:ce,kServerName:le,kClient:ue,kBusy:Ae,kConnect:de,kResuming:pe,kRunning:fe,kPending:he,kSize:ge,kQueue:me,kConnected:Ee,kConnecting:ye,kNeedDrain:Ce,kKeepAliveDefaultTimeout:be,kHostHeader:Ie,kPendingIdx:Be,kRunningIdx:we,kError:Se,kPipelining:Qe,kKeepAliveTimeoutValue:ve,kMaxHeadersSize:Re,kKeepAliveMaxTimeout:Te,kKeepAliveTimeoutThreshold:Ne,kHeadersTimeout:ke,kBodyTimeout:De,kStrictContentLength:xe,kConnector:_e,kMaxRedirections:Pe,kMaxRequests:Oe,kCounter:Le,kClose:Fe,kDestroy:Me,kDispatch:Ue,kInterceptors:He,kLocalAddress:Ge,kMaxResponseSize:qe,kOnError:je,kHTTPContext:Ve,kMaxConcurrentStreams:ze,kResume:Ye}=p(99411);const We=p(81557);const Je=p(94092);let $e=false;const Ke=Symbol("kClosedResolve");const noop=()=>{};function getPipelining(i){return i[Qe]??i[Ve]?.defaultPipelining??1}class Client extends ne{constructor(i,{interceptors:d,maxHeaderSize:p,headersTimeout:v,socketTimeout:te,requestTimeout:re,connectTimeout:ne,bodyTimeout:se,idleTimeout:oe,keepAlive:ue,keepAliveTimeout:Ae,maxKeepAliveTimeout:de,keepAliveMaxTimeout:fe,keepAliveTimeoutThreshold:he,socketPath:ge,pipelining:Ee,tls:ye,strictContentLength:Se,maxCachedSessions:Le,maxRedirections:Fe,connect:Me,maxRequestsPerClient:Ue,localAddress:We,maxResponseSize:Je,autoSelectFamily:Ze,autoSelectFamilyAttemptTimeout:At,maxConcurrentStreams:mt,allowH2:Et}={}){super();if(ue!==undefined){throw new ie("unsupported keepAlive, use pipelining=0 instead")}if(te!==undefined){throw new ie("unsupported socketTimeout, use headersTimeout & bodyTimeout instead")}if(re!==undefined){throw new ie("unsupported requestTimeout, use headersTimeout & bodyTimeout instead")}if(oe!==undefined){throw new ie("unsupported idleTimeout, use keepAliveTimeout instead")}if(de!==undefined){throw new ie("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead")}if(p!=null&&!Number.isFinite(p)){throw new ie("invalid maxHeaderSize")}if(ge!=null&&typeof ge!=="string"){throw new ie("invalid socketPath")}if(ne!=null&&(!Number.isFinite(ne)||ne<0)){throw new ie("invalid connectTimeout")}if(Ae!=null&&(!Number.isFinite(Ae)||Ae<=0)){throw new ie("invalid keepAliveTimeout")}if(fe!=null&&(!Number.isFinite(fe)||fe<=0)){throw new ie("invalid keepAliveMaxTimeout")}if(he!=null&&!Number.isFinite(he)){throw new ie("invalid keepAliveTimeoutThreshold")}if(v!=null&&(!Number.isInteger(v)||v<0)){throw new ie("headersTimeout must be a positive integer or zero")}if(se!=null&&(!Number.isInteger(se)||se<0)){throw new ie("bodyTimeout must be a positive integer or zero")}if(Me!=null&&typeof Me!=="function"&&typeof Me!=="object"){throw new ie("connect must be a function or an object")}if(Fe!=null&&(!Number.isInteger(Fe)||Fe<0)){throw new ie("maxRedirections must be a positive number")}if(Ue!=null&&(!Number.isInteger(Ue)||Ue<0)){throw new ie("maxRequestsPerClient must be a positive number")}if(We!=null&&(typeof We!=="string"||V.isIP(We)===0)){throw new ie("localAddress must be valid string IP address")}if(Je!=null&&(!Number.isInteger(Je)||Je<-1)){throw new ie("maxResponseSize must be a positive number")}if(At!=null&&(!Number.isInteger(At)||At<-1)){throw new ie("autoSelectFamilyAttemptTimeout must be a positive number")}if(Et!=null&&typeof Et!=="boolean"){throw new ie("allowH2 must be a valid boolean value")}if(mt!=null&&(typeof mt!=="number"||mt<1)){throw new ie("maxConcurrentStreams must be a positive integer, greater than 0")}if(typeof Me!=="function"){Me=ae({...ye,maxCachedSessions:Le,allowH2:Et,socketPath:ge,timeout:ne,...Ze?{autoSelectFamily:Ze,autoSelectFamilyAttemptTimeout:At}:undefined,...Me})}if(d?.Client&&Array.isArray(d.Client)){this[He]=d.Client;if(!$e){$e=true;process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"})}}else{this[He]=[Xe({maxRedirections:Fe})]}this[ce]=ee.parseOrigin(i);this[_e]=Me;this[Qe]=Ee!=null?Ee:1;this[Re]=p||K.maxHeaderSize;this[be]=Ae==null?4e3:Ae;this[Te]=fe==null?6e5:fe;this[Ne]=he==null?2e3:he;this[ve]=this[be];this[le]=null;this[Ge]=We!=null?We:null;this[pe]=0;this[Ce]=0;this[Ie]=`host: ${this[ce].hostname}${this[ce].port?`:${this[ce].port}`:""}\r\n`;this[De]=se!=null?se:3e5;this[ke]=v!=null?v:3e5;this[xe]=Se==null?true:Se;this[Pe]=Fe;this[Oe]=Ue;this[Ke]=null;this[qe]=Je>-1?Je:-1;this[ze]=mt!=null?mt:100;this[Ve]=null;this[me]=[];this[we]=0;this[Be]=0;this[Ye]=i=>resume(this,i);this[je]=i=>onError(this,i)}get pipelining(){return this[Qe]}set pipelining(i){this[Qe]=i;this[Ye](true)}get[he](){return this[me].length-this[Be]}get[fe](){return this[Be]-this[we]}get[ge](){return this[me].length-this[we]}get[Ee](){return!!this[Ve]&&!this[ye]&&!this[Ve].destroyed}get[Ae](){return Boolean(this[Ve]?.busy(null)||this[ge]>=(getPipelining(this)||1)||this[he]>0)}[de](i){connect(this);this.once("connect",i)}[Ue](i,d){const p=i.origin||this[ce].origin;const v=new re(p,i,d);this[me].push(v);if(this[pe]){}else if(ee.bodyLength(v.body)==null&&ee.isIterable(v.body)){this[pe]=1;queueMicrotask((()=>resume(this)))}else{this[Ye](true)}if(this[pe]&&this[Ce]!==2&&this[Ae]){this[Ce]=2}return this[Ce]<2}async[Fe](){return new Promise((i=>{if(this[ge]){this[Ke]=i}else{i(null)}}))}async[Me](i){return new Promise((d=>{const p=this[me].splice(this[Be]);for(let d=0;d{if(this[Ke]){this[Ke]();this[Ke]=null}d(null)};if(this[Ve]){this[Ve].destroy(i,callback);this[Ve]=null}else{queueMicrotask(callback)}this[Ye]()}))}}const Xe=p(21676);function onError(i,d){if(i[fe]===0&&d.code!=="UND_ERR_INFO"&&d.code!=="UND_ERR_SOCKET"){v(i[Be]===i[we]);const p=i[me].splice(i[we]);for(let v=0;v{i[_e]({host:d,hostname:p,protocol:K,port:re,servername:i[le],localAddress:i[Ge]},((i,d)=>{if(i){V(i)}else{v(d)}}))}));if(i.destroyed){ee.destroy(V.on("error",noop),new oe);return}v(V);try{i[Ve]=V.alpnProtocol==="h2"?await Je(i,V):await We(i,V)}catch(i){V.destroy().on("error",noop);throw i}i[ye]=false;V[Le]=0;V[Oe]=i[Oe];V[ue]=i;V[Se]=null;if(te.connected.hasSubscribers){te.connected.publish({connectParams:{host:d,hostname:p,protocol:K,port:re,version:i[Ve]?.version,servername:i[le],localAddress:i[Ge]},connector:i[_e],socket:V})}i.emit("connect",i[ce],[i])}catch(V){if(i.destroyed){return}i[ye]=false;if(te.connectError.hasSubscribers){te.connectError.publish({connectParams:{host:d,hostname:p,protocol:K,port:re,version:i[Ve]?.version,servername:i[le],localAddress:i[Ge]},connector:i[_e],error:V})}if(V.code==="ERR_TLS_CERT_ALTNAME_INVALID"){v(i[fe]===0);while(i[he]>0&&i[me][i[Be]].servername===i[le]){const d=i[me][i[Be]++];ee.errorRequest(i,d,V)}}else{onError(i,V)}i.emit("connectionError",i[ce],[i],V)}i[Ye]()}function emitDrain(i){i[Ce]=0;i.emit("drain",i[ce],[i])}function resume(i,d){if(i[pe]===2){return}i[pe]=2;_resume(i,d);i[pe]=0;if(i[we]>256){i[me].splice(0,i[we]);i[Be]-=i[we];i[we]=0}}function _resume(i,d){while(true){if(i.destroyed){v(i[he]===0);return}if(i[Ke]&&!i[ge]){i[Ke]();i[Ke]=null;return}if(i[Ve]){i[Ve].resume()}if(i[Ae]){i[Ce]=2}else if(i[Ce]===2){if(d){i[Ce]=1;queueMicrotask((()=>emitDrain(i)))}else{emitDrain(i)}continue}if(i[he]===0){return}if(i[fe]>=(getPipelining(i)||1)){return}const p=i[me][i[Be]];if(i[ce].protocol==="https:"&&i[le]!==p.servername){if(i[fe]>0){return}i[le]=p.servername;i[Ve]?.destroy(new se("servername changed"),(()=>{i[Ve]=null;resume(i)}))}if(i[ye]){return}if(!i[Ve]){connect(i);return}if(i[Ve].destroyed){return}if(i[Ve].busy(p)){return}if(!p.aborted&&i[Ve].write(p)){i[Be]++}else{i[me].splice(i[Be],1)}}}i.exports=Client},44745:(i,d,p)=>{const v=p(72091);const{ClientDestroyedError:V,ClientClosedError:K,InvalidArgumentError:ee}=p(48091);const{kDestroy:te,kClose:re,kClosed:ne,kDestroyed:ie,kDispatch:se,kInterceptors:oe}=p(99411);const ae=Symbol("onDestroyed");const ce=Symbol("onClosed");const le=Symbol("Intercepted Dispatch");class DispatcherBase extends v{constructor(){super();this[ie]=false;this[ae]=null;this[ne]=false;this[ce]=[]}get destroyed(){return this[ie]}get closed(){return this[ne]}get interceptors(){return this[oe]}set interceptors(i){if(i){for(let d=i.length-1;d>=0;d--){const i=this[oe][d];if(typeof i!=="function"){throw new ee("interceptor must be an function")}}}this[oe]=i}close(i){if(i===undefined){return new Promise(((i,d)=>{this.close(((p,v)=>p?d(p):i(v)))}))}if(typeof i!=="function"){throw new ee("invalid callback")}if(this[ie]){queueMicrotask((()=>i(new V,null)));return}if(this[ne]){if(this[ce]){this[ce].push(i)}else{queueMicrotask((()=>i(null,null)))}return}this[ne]=true;this[ce].push(i);const onClosed=()=>{const i=this[ce];this[ce]=null;for(let d=0;dthis.destroy())).then((()=>{queueMicrotask(onClosed)}))}destroy(i,d){if(typeof i==="function"){d=i;i=null}if(d===undefined){return new Promise(((d,p)=>{this.destroy(i,((i,v)=>i?p(i):d(v)))}))}if(typeof d!=="function"){throw new ee("invalid callback")}if(this[ie]){if(this[ae]){this[ae].push(d)}else{queueMicrotask((()=>d(null,null)))}return}if(!i){i=new V}this[ie]=true;this[ae]=this[ae]||[];this[ae].push(d);const onDestroyed=()=>{const i=this[ae];this[ae]=null;for(let d=0;d{queueMicrotask(onDestroyed)}))}[le](i,d){if(!this[oe]||this[oe].length===0){this[le]=this[se];return this[se](i,d)}let p=this[se].bind(this);for(let i=this[oe].length-1;i>=0;i--){p=this[oe][i](p)}this[le]=p;return p(i,d)}dispatch(i,d){if(!d||typeof d!=="object"){throw new ee("handler must be an object")}try{if(!i||typeof i!=="object"){throw new ee("opts must be an object.")}if(this[ie]||this[ae]){throw new V}if(this[ne]){throw new K}return this[le](i,d)}catch(i){if(typeof d.onError!=="function"){throw new ee("invalid onError method")}d.onError(i);return false}}}i.exports=DispatcherBase},72091:(i,d,p)=>{const v=p(78474);class Dispatcher extends v{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}compose(...i){const d=Array.isArray(i[0])?i[0]:i;let p=this.dispatch.bind(this);for(const i of d){if(i==null){continue}if(typeof i!=="function"){throw new TypeError(`invalid interceptor, expected function received ${typeof i}`)}p=i(p);if(p==null||typeof p!=="function"||p.length!==2){throw new TypeError("invalid interceptor")}}return new ComposedDispatcher(this,p)}}class ComposedDispatcher extends Dispatcher{#e=null;#t=null;constructor(i,d){super();this.#e=i;this.#t=d}dispatch(...i){this.#t(...i)}close(...i){return this.#e.close(...i)}destroy(...i){return this.#e.destroy(...i)}}i.exports=Dispatcher},7897:(i,d,p)=>{const v=p(44745);const{kClose:V,kDestroy:K,kClosed:ee,kDestroyed:te,kDispatch:re,kNoProxyAgent:ne,kHttpProxyAgent:ie,kHttpsProxyAgent:se}=p(99411);const oe=p(69848);const ae=p(86261);const ce={"http:":80,"https:":443};let le=false;class EnvHttpProxyAgent extends v{#r=null;#n=null;#i=null;constructor(i={}){super();this.#i=i;if(!le){le=true;process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.",{code:"UNDICI-EHPA"})}const{httpProxy:d,httpsProxy:p,noProxy:v,...V}=i;this[ne]=new ae(V);const K=d??process.env.http_proxy??process.env.HTTP_PROXY;if(K){this[ie]=new oe({...V,uri:K})}else{this[ie]=this[ne]}const ee=p??process.env.https_proxy??process.env.HTTPS_PROXY;if(ee){this[se]=new oe({...V,uri:ee})}else{this[se]=this[ie]}this.#s()}[re](i,d){const p=new URL(i.origin);const v=this.#o(p);return v.dispatch(i,d)}async[V](){await this[ne].close();if(!this[ie][ee]){await this[ie].close()}if(!this[se][ee]){await this[se].close()}}async[K](i){await this[ne].destroy(i);if(!this[ie][te]){await this[ie].destroy(i)}if(!this[se][te]){await this[se].destroy(i)}}#o(i){let{protocol:d,host:p,port:v}=i;p=p.replace(/:\d*$/,"").toLowerCase();v=Number.parseInt(v,10)||ce[d]||0;if(!this.#a(p,v)){return this[ne]}if(d==="https:"){return this[se]}return this[ie]}#a(i,d){if(this.#c){this.#s()}if(this.#n.length===0){return true}if(this.#r==="*"){return false}for(let p=0;p{const d=2048;const p=d-1;class FixedCircularBuffer{constructor(){this.bottom=0;this.top=0;this.list=new Array(d);this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&p)===this.bottom}push(i){this.list[this.top]=i;this.top=this.top+1&p}shift(){const i=this.list[this.bottom];if(i===undefined)return null;this.list[this.bottom]=undefined;this.bottom=this.bottom+1&p;return i}}i.exports=class FixedQueue{constructor(){this.head=this.tail=new FixedCircularBuffer}isEmpty(){return this.head.isEmpty()}push(i){if(this.head.isFull()){this.head=this.head.next=new FixedCircularBuffer}this.head.push(i)}shift(){const i=this.tail;const d=i.shift();if(i.isEmpty()&&i.next!==null){this.tail=i.next}return d}}},93272:(i,d,p)=>{const v=p(44745);const V=p(96524);const{kConnected:K,kSize:ee,kRunning:te,kPending:re,kQueued:ne,kBusy:ie,kFree:se,kUrl:oe,kClose:ae,kDestroy:ce,kDispatch:le}=p(99411);const ue=p(39686);const Ae=Symbol("clients");const de=Symbol("needDrain");const pe=Symbol("queue");const fe=Symbol("closed resolve");const he=Symbol("onDrain");const ge=Symbol("onConnect");const me=Symbol("onDisconnect");const Ee=Symbol("onConnectionError");const ye=Symbol("get dispatcher");const Ce=Symbol("add client");const be=Symbol("remove client");const Ie=Symbol("stats");class PoolBase extends v{constructor(){super();this[pe]=new V;this[Ae]=[];this[ne]=0;const i=this;this[he]=function onDrain(d,p){const v=i[pe];let V=false;while(!V){const d=v.shift();if(!d){break}i[ne]--;V=!this.dispatch(d.opts,d.handler)}this[de]=V;if(!this[de]&&i[de]){i[de]=false;i.emit("drain",d,[i,...p])}if(i[fe]&&v.isEmpty()){Promise.all(i[Ae].map((i=>i.close()))).then(i[fe])}};this[ge]=(d,p)=>{i.emit("connect",d,[i,...p])};this[me]=(d,p,v)=>{i.emit("disconnect",d,[i,...p],v)};this[Ee]=(d,p,v)=>{i.emit("connectionError",d,[i,...p],v)};this[Ie]=new ue(this)}get[ie](){return this[de]}get[K](){return this[Ae].filter((i=>i[K])).length}get[se](){return this[Ae].filter((i=>i[K]&&!i[de])).length}get[re](){let i=this[ne];for(const{[re]:d}of this[Ae]){i+=d}return i}get[te](){let i=0;for(const{[te]:d}of this[Ae]){i+=d}return i}get[ee](){let i=this[ne];for(const{[ee]:d}of this[Ae]){i+=d}return i}get stats(){return this[Ie]}async[ae](){if(this[pe].isEmpty()){await Promise.all(this[Ae].map((i=>i.close())))}else{await new Promise((i=>{this[fe]=i}))}}async[ce](i){while(true){const d=this[pe].shift();if(!d){break}d.handler.onError(i)}await Promise.all(this[Ae].map((d=>d.destroy(i))))}[le](i,d){const p=this[ye]();if(!p){this[de]=true;this[pe].push({opts:i,handler:d});this[ne]++}else if(!p.dispatch(i,d)){p[de]=true;this[de]=!this[ye]()}return!this[de]}[Ce](i){i.on("drain",this[he]).on("connect",this[ge]).on("disconnect",this[me]).on("connectionError",this[Ee]);this[Ae].push(i);if(this[de]){queueMicrotask((()=>{if(this[de]){this[he](i[oe],[this,i])}}))}return this}[be](i){i.close((()=>{const d=this[Ae].indexOf(i);if(d!==-1){this[Ae].splice(d,1)}}));this[de]=this[Ae].some((i=>!i[de]&&i.closed!==true&&i.destroyed!==true))}}i.exports={PoolBase:PoolBase,kClients:Ae,kNeedDrain:de,kAddClient:Ce,kRemoveClient:be,kGetDispatcher:ye}},39686:(i,d,p)=>{const{kFree:v,kConnected:V,kPending:K,kQueued:ee,kRunning:te,kSize:re}=p(99411);const ne=Symbol("pool");class PoolStats{constructor(i){this[ne]=i}get connected(){return this[ne][V]}get free(){return this[ne][v]}get pending(){return this[ne][K]}get queued(){return this[ne][ee]}get running(){return this[ne][te]}get size(){return this[ne][re]}}i.exports=PoolStats},27404:(i,d,p)=>{const{PoolBase:v,kClients:V,kNeedDrain:K,kAddClient:ee,kGetDispatcher:te}=p(93272);const re=p(43069);const{InvalidArgumentError:ne}=p(48091);const ie=p(31544);const{kUrl:se,kInterceptors:oe}=p(99411);const ae=p(72296);const ce=Symbol("options");const le=Symbol("connections");const ue=Symbol("factory");function defaultFactory(i,d){return new re(i,d)}class Pool extends v{constructor(i,{connections:d,factory:p=defaultFactory,connect:v,connectTimeout:K,tls:ee,maxCachedSessions:te,socketPath:re,autoSelectFamily:Ae,autoSelectFamilyAttemptTimeout:de,allowH2:pe,...fe}={}){super();if(d!=null&&(!Number.isFinite(d)||d<0)){throw new ne("invalid connections")}if(typeof p!=="function"){throw new ne("factory must be a function.")}if(v!=null&&typeof v!=="function"&&typeof v!=="object"){throw new ne("connect must be a function or an object")}if(typeof v!=="function"){v=ae({...ee,maxCachedSessions:te,allowH2:pe,socketPath:re,timeout:K,...Ae?{autoSelectFamily:Ae,autoSelectFamilyAttemptTimeout:de}:undefined,...v})}this[oe]=fe.interceptors?.Pool&&Array.isArray(fe.interceptors.Pool)?fe.interceptors.Pool:[];this[le]=d||null;this[se]=ie.parseOrigin(i);this[ce]={...ie.deepClone(fe),connect:v,allowH2:pe};this[ce].interceptors=fe.interceptors?{...fe.interceptors}:undefined;this[ue]=p;this.on("connectionError",((i,d,p)=>{for(const i of d){const d=this[V].indexOf(i);if(d!==-1){this[V].splice(d,1)}}}))}[te](){for(const i of this[V]){if(!i[K]){return i}}if(!this[le]||this[V].length{const{kProxy:v,kClose:V,kDestroy:K,kDispatch:ee,kInterceptors:te}=p(99411);const{URL:re}=p(73136);const ne=p(86261);const ie=p(27404);const se=p(44745);const{InvalidArgumentError:oe,RequestAbortedError:ae,SecureProxyConnectionError:ce}=p(48091);const le=p(72296);const ue=p(43069);const Ae=Symbol("proxy agent");const de=Symbol("proxy client");const pe=Symbol("proxy headers");const fe=Symbol("request tls settings");const he=Symbol("proxy tls settings");const ge=Symbol("connect endpoint function");const me=Symbol("tunnel proxy");function defaultProtocolPort(i){return i==="https:"?443:80}function defaultFactory(i,d){return new ie(i,d)}const noop=()=>{};function defaultAgentFactory(i,d){if(d.connections===1){return new ue(i,d)}return new ie(i,d)}class Http1ProxyWrapper extends se{#u;constructor(i,{headers:d={},connect:p,factory:v}){super();if(!i){throw new oe("Proxy URL is mandatory")}this[pe]=d;if(v){this.#u=v(i,{connect:p})}else{this.#u=new ue(i,{connect:p})}}[ee](i,d){const p=d.onHeaders;d.onHeaders=function(i,v,V){if(i===407){if(typeof d.onError==="function"){d.onError(new oe("Proxy Authentication Required (407)"))}return}if(p)p.call(this,i,v,V)};const{origin:v,path:V="/",headers:K={}}=i;i.path=v+V;if(!("host"in K)&&!("Host"in K)){const{host:i}=new re(v);K.host=i}i.headers={...this[pe],...K};return this.#u[ee](i,d)}async[V](){return this.#u.close()}async[K](i){return this.#u.destroy(i)}}class ProxyAgent extends se{constructor(i){super();if(!i||typeof i==="object"&&!(i instanceof re)&&!i.uri){throw new oe("Proxy uri is mandatory")}const{clientFactory:d=defaultFactory}=i;if(typeof d!=="function"){throw new oe("Proxy opts.clientFactory must be a function.")}const{proxyTunnel:p=true}=i;const V=this.#A(i);const{href:K,origin:ee,port:ie,protocol:se,username:ue,password:Ee,hostname:ye}=V;this[v]={uri:K,protocol:se};this[te]=i.interceptors?.ProxyAgent&&Array.isArray(i.interceptors.ProxyAgent)?i.interceptors.ProxyAgent:[];this[fe]=i.requestTls;this[he]=i.proxyTls;this[pe]=i.headers||{};this[me]=p;if(i.auth&&i.token){throw new oe("opts.auth cannot be used in combination with opts.token")}else if(i.auth){this[pe]["proxy-authorization"]=`Basic ${i.auth}`}else if(i.token){this[pe]["proxy-authorization"]=i.token}else if(ue&&Ee){this[pe]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(ue)}:${decodeURIComponent(Ee)}`).toString("base64")}`}const Ce=le({...i.proxyTls});this[ge]=le({...i.requestTls});const be=i.factory||defaultAgentFactory;const factory=(i,d)=>{const{protocol:p}=new re(i);if(!this[me]&&p==="http:"&&this[v].protocol==="http:"){return new Http1ProxyWrapper(this[v].uri,{headers:this[pe],connect:Ce,factory:be})}return be(i,d)};this[de]=d(V,{connect:Ce});this[Ae]=new ne({...i,factory:factory,connect:async(i,d)=>{let p=i.host;if(!i.port){p+=`:${defaultProtocolPort(i.protocol)}`}try{const{socket:v,statusCode:V}=await this[de].connect({origin:ee,port:ie,path:p,signal:i.signal,headers:{...this[pe],host:i.host},servername:this[he]?.servername||ye});if(V!==200){v.on("error",noop).destroy();d(new ae(`Proxy response (${V}) !== 200 when HTTP Tunneling`))}if(i.protocol!=="https:"){d(null,v);return}let K;if(this[fe]){K=this[fe].servername}else{K=i.servername}this[ge]({...i,servername:K,httpSocket:v},d)}catch(i){if(i.code==="ERR_TLS_CERT_ALTNAME_INVALID"){d(new ce(i))}else{d(i)}}}})}dispatch(i,d){const p=buildHeaders(i.headers);throwIfProxyAuthIsSent(p);if(p&&!("host"in p)&&!("Host"in p)){const{host:d}=new re(i.origin);p.host=d}return this[Ae].dispatch({...i,headers:p},d)}#A(i){if(typeof i==="string"){return new re(i)}else if(i instanceof re){return i}else{return new re(i.uri)}}async[V](){await this[Ae].close();await this[de].close()}async[K](){await this[Ae].destroy();await this[de].destroy()}}function buildHeaders(i){if(Array.isArray(i)){const d={};for(let p=0;pi.toLowerCase()==="proxy-authorization"));if(d){throw new oe("Proxy-Authorization should be sent in ProxyAgent constructor")}}i.exports=ProxyAgent},21882:(i,d,p)=>{const v=p(72091);const V=p(60112);class RetryAgent extends v{#d=null;#p=null;constructor(i,d={}){super(d);this.#d=i;this.#p=d}dispatch(i,d){const p=new V({...i,retryOptions:this.#p},{dispatch:this.#d.dispatch.bind(this.#d),handler:d});return this.#d.dispatch(i,p)}close(){return this.#d.close()}destroy(){return this.#d.destroy()}}i.exports=RetryAgent},5837:(i,d,p)=>{const v=Symbol.for("undici.globalDispatcher.1");const{InvalidArgumentError:V}=p(48091);const K=p(86261);if(getGlobalDispatcher()===undefined){setGlobalDispatcher(new K)}function setGlobalDispatcher(i){if(!i||typeof i.dispatch!=="function"){throw new V("Argument agent must implement Agent")}Object.defineProperty(globalThis,v,{value:i,writable:true,enumerable:false,configurable:false})}function getGlobalDispatcher(){return globalThis[v]}i.exports={setGlobalDispatcher:setGlobalDispatcher,getGlobalDispatcher:getGlobalDispatcher}},57011:i=>{i.exports=class DecoratorHandler{#f;constructor(i){if(typeof i!=="object"||i===null){throw new TypeError("handler must be an object")}this.#f=i}onConnect(...i){return this.#f.onConnect?.(...i)}onError(...i){return this.#f.onError?.(...i)}onUpgrade(...i){return this.#f.onUpgrade?.(...i)}onResponseStarted(...i){return this.#f.onResponseStarted?.(...i)}onHeaders(...i){return this.#f.onHeaders?.(...i)}onData(...i){return this.#f.onData?.(...i)}onComplete(...i){return this.#f.onComplete?.(...i)}onBodySent(...i){return this.#f.onBodySent?.(...i)}}},25050:(i,d,p)=>{const v=p(31544);const{kBodyUsed:V}=p(99411);const K=p(34589);const{InvalidArgumentError:ee}=p(48091);const te=p(78474);const re=[300,301,302,303,307,308];const ne=Symbol("body");class BodyAsyncIterable{constructor(i){this[ne]=i;this[V]=false}async*[Symbol.asyncIterator](){K(!this[V],"disturbed");this[V]=true;yield*this[ne]}}class RedirectHandler{constructor(i,d,p,re){if(d!=null&&(!Number.isInteger(d)||d<0)){throw new ee("maxRedirections must be a positive number")}v.validateHandler(re,p.method,p.upgrade);this.dispatch=i;this.location=null;this.abort=null;this.opts={...p,maxRedirections:0};this.maxRedirections=d;this.handler=re;this.history=[];this.redirectionLimitReached=false;if(v.isStream(this.opts.body)){if(v.bodyLength(this.opts.body)===0){this.opts.body.on("data",(function(){K(false)}))}if(typeof this.opts.body.readableDidRead!=="boolean"){this.opts.body[V]=false;te.prototype.on.call(this.opts.body,"data",(function(){this[V]=true}))}}else if(this.opts.body&&typeof this.opts.body.pipeTo==="function"){this.opts.body=new BodyAsyncIterable(this.opts.body)}else if(this.opts.body&&typeof this.opts.body!=="string"&&!ArrayBuffer.isView(this.opts.body)&&v.isIterable(this.opts.body)){this.opts.body=new BodyAsyncIterable(this.opts.body)}}onConnect(i){this.abort=i;this.handler.onConnect(i,{history:this.history})}onUpgrade(i,d,p){this.handler.onUpgrade(i,d,p)}onError(i){this.handler.onError(i)}onHeaders(i,d,p,V){this.location=this.history.length>=this.maxRedirections||v.isDisturbed(this.opts.body)?null:parseLocation(i,d);if(this.opts.throwOnMaxRedirect&&this.history.length>=this.maxRedirections){if(this.request){this.request.abort(new Error("max redirects"))}this.redirectionLimitReached=true;this.abort(new Error("max redirects"));return}if(this.opts.origin){this.history.push(new URL(this.opts.path,this.opts.origin))}if(!this.location){return this.handler.onHeaders(i,d,p,V)}const{origin:K,pathname:ee,search:te}=v.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin)));const re=te?`${ee}${te}`:ee;this.opts.headers=cleanRequestHeaders(this.opts.headers,i===303,this.opts.origin!==K);this.opts.path=re;this.opts.origin=K;this.opts.maxRedirections=0;this.opts.query=null;if(i===303&&this.opts.method!=="HEAD"){this.opts.method="GET";this.opts.body=null}}onData(i){if(this.location){}else{return this.handler.onData(i)}}onComplete(i){if(this.location){this.location=null;this.abort=null;this.dispatch(this.opts,this)}else{this.handler.onComplete(i)}}onBodySent(i){if(this.handler.onBodySent){this.handler.onBodySent(i)}}}function parseLocation(i,d){if(re.indexOf(i)===-1){return null}for(let i=0;i{const v=p(34589);const{kRetryHandlerDefaultRetry:V}=p(99411);const{RequestRetryError:K}=p(48091);const{isDisturbed:ee,parseHeaders:te,parseRangeHeader:re,wrapRequestBody:ne}=p(31544);function calculateRetryAfterHeader(i){const d=Date.now();return new Date(i).getTime()-d}class RetryHandler{constructor(i,d){const{retryOptions:p,...v}=i;const{retry:K,maxRetries:ee,maxTimeout:te,minTimeout:re,timeoutFactor:ie,methods:se,errorCodes:oe,retryAfter:ae,statusCodes:ce}=p??{};this.dispatch=d.dispatch;this.handler=d.handler;this.opts={...v,body:ne(i.body)};this.abort=null;this.aborted=false;this.retryOpts={retry:K??RetryHandler[V],retryAfter:ae??true,maxTimeout:te??30*1e3,minTimeout:re??500,timeoutFactor:ie??2,maxRetries:ee??5,methods:se??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:ce??[500,502,503,504,429],errorCodes:oe??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE","UND_ERR_SOCKET"]};this.retryCount=0;this.retryCountCheckpoint=0;this.start=0;this.end=null;this.etag=null;this.resume=null;this.handler.onConnect((i=>{this.aborted=true;if(this.abort){this.abort(i)}else{this.reason=i}}))}onRequestSent(){if(this.handler.onRequestSent){this.handler.onRequestSent()}}onUpgrade(i,d,p){if(this.handler.onUpgrade){this.handler.onUpgrade(i,d,p)}}onConnect(i){if(this.aborted){i(this.reason)}else{this.abort=i}}onBodySent(i){if(this.handler.onBodySent)return this.handler.onBodySent(i)}static[V](i,{state:d,opts:p},v){const{statusCode:V,code:K,headers:ee}=i;const{method:te,retryOptions:re}=p;const{maxRetries:ne,minTimeout:ie,maxTimeout:se,timeoutFactor:oe,statusCodes:ae,errorCodes:ce,methods:le}=re;const{counter:ue}=d;if(K&&K!=="UND_ERR_REQ_RETRY"&&!ce.includes(K)){v(i);return}if(Array.isArray(le)&&!le.includes(te)){v(i);return}if(V!=null&&Array.isArray(ae)&&!ae.includes(V)){v(i);return}if(ue>ne){v(i);return}let Ae=ee?.["retry-after"];if(Ae){Ae=Number(Ae);Ae=Number.isNaN(Ae)?calculateRetryAfterHeader(Ae):Ae*1e3}const de=Ae>0?Math.min(Ae,se):Math.min(ie*oe**(ue-1),se);setTimeout((()=>v(null)),de)}onHeaders(i,d,p,V){const ee=te(d);this.retryCount+=1;if(i>=300){if(this.retryOpts.statusCodes.includes(i)===false){return this.handler.onHeaders(i,d,p,V)}else{this.abort(new K("Request failed",i,{headers:ee,data:{count:this.retryCount}}));return false}}if(this.resume!=null){this.resume=null;if(i!==206&&(this.start>0||i!==200)){this.abort(new K("server does not support the range header and the payload was partially consumed",i,{headers:ee,data:{count:this.retryCount}}));return false}const d=re(ee["content-range"]);if(!d){this.abort(new K("Content-Range mismatch",i,{headers:ee,data:{count:this.retryCount}}));return false}if(this.etag!=null&&this.etag!==ee.etag){this.abort(new K("ETag mismatch",i,{headers:ee,data:{count:this.retryCount}}));return false}const{start:V,size:te,end:ne=te-1}=d;v(this.start===V,"content-range mismatch");v(this.end==null||this.end===ne,"content-range mismatch");this.resume=p;return true}if(this.end==null){if(i===206){const K=re(ee["content-range"]);if(K==null){return this.handler.onHeaders(i,d,p,V)}const{start:te,size:ne,end:ie=ne-1}=K;v(te!=null&&Number.isFinite(te),"content-range mismatch");v(ie!=null&&Number.isFinite(ie),"invalid content-length");this.start=te;this.end=ie}if(this.end==null){const i=ee["content-length"];this.end=i!=null?Number(i)-1:null}v(Number.isFinite(this.start));v(this.end==null||Number.isFinite(this.end),"invalid content-length");this.resume=p;this.etag=ee.etag!=null?ee.etag:null;if(this.etag!=null&&this.etag.startsWith("W/")){this.etag=null}return this.handler.onHeaders(i,d,p,V)}const ne=new K("Request failed",i,{headers:ee,data:{count:this.retryCount}});this.abort(ne);return false}onData(i){this.start+=i.length;return this.handler.onData(i)}onComplete(i){this.retryCount=0;return this.handler.onComplete(i)}onError(i){if(this.aborted||ee(this.opts.body)){return this.handler.onError(i)}if(this.retryCount-this.retryCountCheckpoint>0){this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint)}else{this.retryCount+=1}this.retryOpts.retry(i,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},onRetry.bind(this));function onRetry(i){if(i!=null||this.aborted||ee(this.opts.body)){return this.handler.onError(i)}if(this.start!==0){const i={range:`bytes=${this.start}-${this.end??""}`};if(this.etag!=null){i["if-match"]=this.etag}this.opts={...this.opts,headers:{...this.opts.headers,...i}}}try{this.retryCountCheckpoint=this.retryCount;this.dispatch(this.opts,this)}catch(i){this.handler.onError(i)}}}}i.exports=RetryHandler},97251:(i,d,p)=>{const{isIP:v}=p(77030);const{lookup:V}=p(40610);const K=p(57011);const{InvalidArgumentError:ee,InformationalError:te}=p(48091);const re=Math.pow(2,31)-1;class DNSInstance{#h=0;#g=0;#m=new Map;dualStack=true;affinity=null;lookup=null;pick=null;constructor(i){this.#h=i.maxTTL;this.#g=i.maxItems;this.dualStack=i.dualStack;this.affinity=i.affinity;this.lookup=i.lookup??this.#E;this.pick=i.pick??this.#y}get full(){return this.#m.size===this.#g}runLookup(i,d,p){const v=this.#m.get(i.hostname);if(v==null&&this.full){p(null,i.origin);return}const V={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...d.dns,maxTTL:this.#h,maxItems:this.#g};if(v==null){this.lookup(i,V,((d,v)=>{if(d||v==null||v.length===0){p(d??new te("No DNS entries found"));return}this.setRecords(i,v);const K=this.#m.get(i.hostname);const ee=this.pick(i,K,V.affinity);let re;if(typeof ee.port==="number"){re=`:${ee.port}`}else if(i.port!==""){re=`:${i.port}`}else{re=""}p(null,`${i.protocol}//${ee.family===6?`[${ee.address}]`:ee.address}${re}`)}))}else{const K=this.pick(i,v,V.affinity);if(K==null){this.#m.delete(i.hostname);this.runLookup(i,d,p);return}let ee;if(typeof K.port==="number"){ee=`:${K.port}`}else if(i.port!==""){ee=`:${i.port}`}else{ee=""}p(null,`${i.protocol}//${K.family===6?`[${K.address}]`:K.address}${ee}`)}}#E(i,d,p){V(i.hostname,{all:true,family:this.dualStack===false?this.affinity:0,order:"ipv4first"},((i,d)=>{if(i){return p(i)}const v=new Map;for(const i of d){v.set(`${i.address}:${i.family}`,i)}p(null,v.values())}))}#y(i,d,p){let v=null;const{records:V,offset:K}=d;let ee;if(this.dualStack){if(p==null){if(K==null||K===re){d.offset=0;p=4}else{d.offset++;p=(d.offset&1)===1?6:4}}if(V[p]!=null&&V[p].ips.length>0){ee=V[p]}else{ee=V[p===4?6:4]}}else{ee=V[p]}if(ee==null||ee.ips.length===0){return v}if(ee.offset==null||ee.offset===re){ee.offset=0}else{ee.offset++}const te=ee.offset%ee.ips.length;v=ee.ips[te]??null;if(v==null){return v}if(Date.now()-v.timestamp>v.ttl){ee.ips.splice(te,1);return this.pick(i,d,p)}return v}setRecords(i,d){const p=Date.now();const v={records:{4:null,6:null}};for(const i of d){i.timestamp=p;if(typeof i.ttl==="number"){i.ttl=Math.min(i.ttl,this.#h)}else{i.ttl=this.#h}const d=v.records[i.family]??{ips:[]};d.ips.push(i);v.records[i.family]=d}this.#m.set(i.hostname,v)}getHandler(i,d){return new DNSDispatchHandler(this,i,d)}}class DNSDispatchHandler extends K{#C=null;#i=null;#t=null;#f=null;#b=null;constructor(i,{origin:d,handler:p,dispatch:v},V){super(p);this.#b=d;this.#f=p;this.#i={...V};this.#C=i;this.#t=v}onError(i){switch(i.code){case"ETIMEDOUT":case"ECONNREFUSED":{if(this.#C.dualStack){this.#C.runLookup(this.#b,this.#i,((i,d)=>{if(i){return this.#f.onError(i)}const p={...this.#i,origin:d};this.#t(p,this)}));return}this.#f.onError(i);return}case"ENOTFOUND":this.#C.deleteRecord(this.#b);default:this.#f.onError(i);break}}}i.exports=i=>{if(i?.maxTTL!=null&&(typeof i?.maxTTL!=="number"||i?.maxTTL<0)){throw new ee("Invalid maxTTL. Must be a positive number")}if(i?.maxItems!=null&&(typeof i?.maxItems!=="number"||i?.maxItems<1)){throw new ee("Invalid maxItems. Must be a positive number and greater than zero")}if(i?.affinity!=null&&i?.affinity!==4&&i?.affinity!==6){throw new ee("Invalid affinity. Must be either 4 or 6")}if(i?.dualStack!=null&&typeof i?.dualStack!=="boolean"){throw new ee("Invalid dualStack. Must be a boolean")}if(i?.lookup!=null&&typeof i?.lookup!=="function"){throw new ee("Invalid lookup. Must be a function")}if(i?.pick!=null&&typeof i?.pick!=="function"){throw new ee("Invalid pick. Must be a function")}const d=i?.dualStack??true;let p;if(d){p=i?.affinity??null}else{p=i?.affinity??4}const V={maxTTL:i?.maxTTL??1e4,lookup:i?.lookup??null,pick:i?.pick??null,dualStack:d,affinity:p,maxItems:i?.maxItems??Infinity};const K=new DNSInstance(V);return i=>function dnsInterceptor(d,p){const V=d.origin.constructor===URL?d.origin:new URL(d.origin);if(v(V.hostname)!==0){return i(d,p)}K.runLookup(V,d,((v,ee)=>{if(v){return p.onError(v)}let te=null;te={...d,servername:V.hostname,origin:ee,headers:{host:V.hostname,...d.headers}};i(te,K.getHandler({origin:V,dispatch:i,handler:p},d))}));return true}}},14756:(i,d,p)=>{const v=p(31544);const{InvalidArgumentError:V,RequestAbortedError:K}=p(48091);const ee=p(57011);class DumpHandler extends ee{#I=1024*1024;#B=null;#w=false;#S=false;#Q=0;#v=null;#f=null;constructor({maxSize:i},d){super(d);if(i!=null&&(!Number.isFinite(i)||i<1)){throw new V("maxSize must be a number greater than 0")}this.#I=i??this.#I;this.#f=d}onConnect(i){this.#B=i;this.#f.onConnect(this.#R.bind(this))}#R(i){this.#S=true;this.#v=i}onHeaders(i,d,p,V){const ee=v.parseHeaders(d);const te=ee["content-length"];if(te!=null&&te>this.#I){throw new K(`Response size (${te}) larger than maxSize (${this.#I})`)}if(this.#S){return true}return this.#f.onHeaders(i,d,p,V)}onError(i){if(this.#w){return}i=this.#v??i;this.#f.onError(i)}onData(i){this.#Q=this.#Q+i.length;if(this.#Q>=this.#I){this.#w=true;if(this.#S){this.#f.onError(this.#v)}else{this.#f.onComplete([])}}return true}onComplete(i){if(this.#w){return}if(this.#S){this.#f.onError(this.reason);return}this.#f.onComplete(i)}}function createDumpInterceptor({maxSize:i}={maxSize:1024*1024}){return d=>function Intercept(p,v){const{dumpMaxSize:V=i}=p;const K=new DumpHandler({maxSize:V},v);return d(p,K)}}i.exports=createDumpInterceptor},21676:(i,d,p)=>{const v=p(25050);function createRedirectInterceptor({maxRedirections:i}){return d=>function Intercept(p,V){const{maxRedirections:K=i}=p;if(!K){return d(p,V)}const ee=new v(d,K,p,V);p={...p,maxRedirections:0};return d(p,ee)}}i.exports=createRedirectInterceptor},53650:(i,d,p)=>{const v=p(25050);i.exports=i=>{const d=i?.maxRedirections;return i=>function redirectInterceptor(p,V){const{maxRedirections:K=d,...ee}=p;if(!K){return i(p,V)}const te=new v(i,K,p,V);return i(ee,te)}}},73874:(i,d,p)=>{const v=p(60112);i.exports=i=>d=>function retryInterceptor(p,V){return d(p,new v({...p,retryOptions:{...i,...p.retryOptions}},{handler:V,dispatch:d}))}},67424:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.SPECIAL_HEADERS=d.HEADER_STATE=d.MINOR=d.MAJOR=d.CONNECTION_TOKEN_CHARS=d.HEADER_CHARS=d.TOKEN=d.STRICT_TOKEN=d.HEX=d.URL_CHAR=d.STRICT_URL_CHAR=d.USERINFO_CHARS=d.MARK=d.ALPHANUM=d.NUM=d.HEX_MAP=d.NUM_MAP=d.ALPHA=d.FINISH=d.H_METHOD_MAP=d.METHOD_MAP=d.METHODS_RTSP=d.METHODS_ICE=d.METHODS_HTTP=d.METHODS=d.LENIENT_FLAGS=d.FLAGS=d.TYPE=d.ERROR=void 0;const v=p(8916);var V;(function(i){i[i["OK"]=0]="OK";i[i["INTERNAL"]=1]="INTERNAL";i[i["STRICT"]=2]="STRICT";i[i["LF_EXPECTED"]=3]="LF_EXPECTED";i[i["UNEXPECTED_CONTENT_LENGTH"]=4]="UNEXPECTED_CONTENT_LENGTH";i[i["CLOSED_CONNECTION"]=5]="CLOSED_CONNECTION";i[i["INVALID_METHOD"]=6]="INVALID_METHOD";i[i["INVALID_URL"]=7]="INVALID_URL";i[i["INVALID_CONSTANT"]=8]="INVALID_CONSTANT";i[i["INVALID_VERSION"]=9]="INVALID_VERSION";i[i["INVALID_HEADER_TOKEN"]=10]="INVALID_HEADER_TOKEN";i[i["INVALID_CONTENT_LENGTH"]=11]="INVALID_CONTENT_LENGTH";i[i["INVALID_CHUNK_SIZE"]=12]="INVALID_CHUNK_SIZE";i[i["INVALID_STATUS"]=13]="INVALID_STATUS";i[i["INVALID_EOF_STATE"]=14]="INVALID_EOF_STATE";i[i["INVALID_TRANSFER_ENCODING"]=15]="INVALID_TRANSFER_ENCODING";i[i["CB_MESSAGE_BEGIN"]=16]="CB_MESSAGE_BEGIN";i[i["CB_HEADERS_COMPLETE"]=17]="CB_HEADERS_COMPLETE";i[i["CB_MESSAGE_COMPLETE"]=18]="CB_MESSAGE_COMPLETE";i[i["CB_CHUNK_HEADER"]=19]="CB_CHUNK_HEADER";i[i["CB_CHUNK_COMPLETE"]=20]="CB_CHUNK_COMPLETE";i[i["PAUSED"]=21]="PAUSED";i[i["PAUSED_UPGRADE"]=22]="PAUSED_UPGRADE";i[i["PAUSED_H2_UPGRADE"]=23]="PAUSED_H2_UPGRADE";i[i["USER"]=24]="USER"})(V=d.ERROR||(d.ERROR={}));var K;(function(i){i[i["BOTH"]=0]="BOTH";i[i["REQUEST"]=1]="REQUEST";i[i["RESPONSE"]=2]="RESPONSE"})(K=d.TYPE||(d.TYPE={}));var ee;(function(i){i[i["CONNECTION_KEEP_ALIVE"]=1]="CONNECTION_KEEP_ALIVE";i[i["CONNECTION_CLOSE"]=2]="CONNECTION_CLOSE";i[i["CONNECTION_UPGRADE"]=4]="CONNECTION_UPGRADE";i[i["CHUNKED"]=8]="CHUNKED";i[i["UPGRADE"]=16]="UPGRADE";i[i["CONTENT_LENGTH"]=32]="CONTENT_LENGTH";i[i["SKIPBODY"]=64]="SKIPBODY";i[i["TRAILING"]=128]="TRAILING";i[i["TRANSFER_ENCODING"]=512]="TRANSFER_ENCODING"})(ee=d.FLAGS||(d.FLAGS={}));var te;(function(i){i[i["HEADERS"]=1]="HEADERS";i[i["CHUNKED_LENGTH"]=2]="CHUNKED_LENGTH";i[i["KEEP_ALIVE"]=4]="KEEP_ALIVE"})(te=d.LENIENT_FLAGS||(d.LENIENT_FLAGS={}));var re;(function(i){i[i["DELETE"]=0]="DELETE";i[i["GET"]=1]="GET";i[i["HEAD"]=2]="HEAD";i[i["POST"]=3]="POST";i[i["PUT"]=4]="PUT";i[i["CONNECT"]=5]="CONNECT";i[i["OPTIONS"]=6]="OPTIONS";i[i["TRACE"]=7]="TRACE";i[i["COPY"]=8]="COPY";i[i["LOCK"]=9]="LOCK";i[i["MKCOL"]=10]="MKCOL";i[i["MOVE"]=11]="MOVE";i[i["PROPFIND"]=12]="PROPFIND";i[i["PROPPATCH"]=13]="PROPPATCH";i[i["SEARCH"]=14]="SEARCH";i[i["UNLOCK"]=15]="UNLOCK";i[i["BIND"]=16]="BIND";i[i["REBIND"]=17]="REBIND";i[i["UNBIND"]=18]="UNBIND";i[i["ACL"]=19]="ACL";i[i["REPORT"]=20]="REPORT";i[i["MKACTIVITY"]=21]="MKACTIVITY";i[i["CHECKOUT"]=22]="CHECKOUT";i[i["MERGE"]=23]="MERGE";i[i["M-SEARCH"]=24]="M-SEARCH";i[i["NOTIFY"]=25]="NOTIFY";i[i["SUBSCRIBE"]=26]="SUBSCRIBE";i[i["UNSUBSCRIBE"]=27]="UNSUBSCRIBE";i[i["PATCH"]=28]="PATCH";i[i["PURGE"]=29]="PURGE";i[i["MKCALENDAR"]=30]="MKCALENDAR";i[i["LINK"]=31]="LINK";i[i["UNLINK"]=32]="UNLINK";i[i["SOURCE"]=33]="SOURCE";i[i["PRI"]=34]="PRI";i[i["DESCRIBE"]=35]="DESCRIBE";i[i["ANNOUNCE"]=36]="ANNOUNCE";i[i["SETUP"]=37]="SETUP";i[i["PLAY"]=38]="PLAY";i[i["PAUSE"]=39]="PAUSE";i[i["TEARDOWN"]=40]="TEARDOWN";i[i["GET_PARAMETER"]=41]="GET_PARAMETER";i[i["SET_PARAMETER"]=42]="SET_PARAMETER";i[i["REDIRECT"]=43]="REDIRECT";i[i["RECORD"]=44]="RECORD";i[i["FLUSH"]=45]="FLUSH"})(re=d.METHODS||(d.METHODS={}));d.METHODS_HTTP=[re.DELETE,re.GET,re.HEAD,re.POST,re.PUT,re.CONNECT,re.OPTIONS,re.TRACE,re.COPY,re.LOCK,re.MKCOL,re.MOVE,re.PROPFIND,re.PROPPATCH,re.SEARCH,re.UNLOCK,re.BIND,re.REBIND,re.UNBIND,re.ACL,re.REPORT,re.MKACTIVITY,re.CHECKOUT,re.MERGE,re["M-SEARCH"],re.NOTIFY,re.SUBSCRIBE,re.UNSUBSCRIBE,re.PATCH,re.PURGE,re.MKCALENDAR,re.LINK,re.UNLINK,re.PRI,re.SOURCE];d.METHODS_ICE=[re.SOURCE];d.METHODS_RTSP=[re.OPTIONS,re.DESCRIBE,re.ANNOUNCE,re.SETUP,re.PLAY,re.PAUSE,re.TEARDOWN,re.GET_PARAMETER,re.SET_PARAMETER,re.REDIRECT,re.RECORD,re.FLUSH,re.GET,re.POST];d.METHOD_MAP=v.enumToMap(re);d.H_METHOD_MAP={};Object.keys(d.METHOD_MAP).forEach((i=>{if(/^H/.test(i)){d.H_METHOD_MAP[i]=d.METHOD_MAP[i]}}));var ne;(function(i){i[i["SAFE"]=0]="SAFE";i[i["SAFE_WITH_CB"]=1]="SAFE_WITH_CB";i[i["UNSAFE"]=2]="UNSAFE"})(ne=d.FINISH||(d.FINISH={}));d.ALPHA=[];for(let i="A".charCodeAt(0);i<="Z".charCodeAt(0);i++){d.ALPHA.push(String.fromCharCode(i));d.ALPHA.push(String.fromCharCode(i+32))}d.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};d.HEX_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15};d.NUM=["0","1","2","3","4","5","6","7","8","9"];d.ALPHANUM=d.ALPHA.concat(d.NUM);d.MARK=["-","_",".","!","~","*","'","(",")"];d.USERINFO_CHARS=d.ALPHANUM.concat(d.MARK).concat(["%",";",":","&","=","+","$",","]);d.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(d.ALPHANUM);d.URL_CHAR=d.STRICT_URL_CHAR.concat(["\t","\f"]);for(let i=128;i<=255;i++){d.URL_CHAR.push(i)}d.HEX=d.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);d.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(d.ALPHANUM);d.TOKEN=d.STRICT_TOKEN.concat([" "]);d.HEADER_CHARS=["\t"];for(let i=32;i<=255;i++){if(i!==127){d.HEADER_CHARS.push(i)}}d.CONNECTION_TOKEN_CHARS=d.HEADER_CHARS.filter((i=>i!==44));d.MAJOR=d.NUM_MAP;d.MINOR=d.MAJOR;var ie;(function(i){i[i["GENERAL"]=0]="GENERAL";i[i["CONNECTION"]=1]="CONNECTION";i[i["CONTENT_LENGTH"]=2]="CONTENT_LENGTH";i[i["TRANSFER_ENCODING"]=3]="TRANSFER_ENCODING";i[i["UPGRADE"]=4]="UPGRADE";i[i["CONNECTION_KEEP_ALIVE"]=5]="CONNECTION_KEEP_ALIVE";i[i["CONNECTION_CLOSE"]=6]="CONNECTION_CLOSE";i[i["CONNECTION_UPGRADE"]=7]="CONNECTION_UPGRADE";i[i["TRANSFER_ENCODING_CHUNKED"]=8]="TRANSFER_ENCODING_CHUNKED"})(ie=d.HEADER_STATE||(d.HEADER_STATE={}));d.SPECIAL_HEADERS={connection:ie.CONNECTION,"content-length":ie.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EQEGM0AAgAiADcjYCACAADAELIAAoAggLIgIgATYCDCAAIAE2AgggASAANgIMIAEgAjYCCAwBC0EfIQIgBEH///8HTQRAIARBJiAEQQh2ZyIAa3ZBAXEgAEEBdGtBPmohAgsgASACNgIcIAFCADcCECACQQJ0QbzSAGohAAJAQZDQACgCACIDQQEgAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQ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HC0G8AQwGC0G9AQwFC0G+AQwEC0G/AQwDC0HAAQwCC0HCAQwBC0HBAQshAwNAAkACQAJAAkACQAJAAkACQAJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAA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AEcNAEGU0AAgBDYCAAwBCyAEQf8BTQRAIARBeHFBtNAAaiEAAn9BjNAAKAIAIgJBASAEQQN2dCIDcUUEQEGM0AAgAiADcjYCACAADAELIAAoAggLIgIgATYCDCAAIAE2AgggASAANgIMIAEgAjYCCAwBC0EfIQIgBEH///8HTQRAIARBJiAEQQh2ZyIAa3ZBAXEgAEEBdGtBPmohAgsgASACNgIcIAFCADcCECACQQJ0QbzSAGohAAJAQZDQACgCACIDQQEgAnQiB3FFBEAgACABNgIAQZDQACADIAdyNgIAIAEgADYCGCABIAE2AgggASABNgIMDAELIARBGSACQQF2a0EAIAJBH0cbdCECIAAoAgAhAAJAA0AgACIDKAIEQXhxIARGDQEgAkEddiEAIAJBAXQhAiADIABBBHFqQRBqIgcoAgAiAA0ACyAHIAE2AgAgASADNgIYIAEgATYCDCABIAE2AggMAQsgAygCCCIAIAE2AgwgAyABNgIIIAFBADYCGCABIAM2AgwgASAANgIIC0Gs0ABBrNAAKAIAQQFrIgBBfyAAGzYCAAsLBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LQAEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABAwIAAgBDYCOCAAIAM6ACggACACOgAtIAAgATYCGAu74gECB38DfiABIAJqIQQCQCAAIgIoAgwiAA0AIAIoAgQEQCACIAE2AgQLIwBBEGsiCCQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQ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GyAQwQC0G0AQwPC0G1AQwOC0G2AQwNC0G3AQwMC0G4AQwLC0G5AQwKC0G6AQwJC0G7AQwIC0HGAQwHC0G8AQwGC0G9AQwFC0G+AQwEC0G/AQwDC0HAAQwCC0HCAQwBC0HBAQshAwNAAkACQAJAAkACQAJAAkACQAJAIAICfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAgJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAA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AQEAQZrNAAsGAgAAAAACAEGxzQALOgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQfDOAAuWAU5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")},8916:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.enumToMap=void 0;function enumToMap(i){const d={};Object.keys(i).forEach((p=>{const v=i[p];if(typeof v==="number"){d[p]=v}}));return d}d.enumToMap=enumToMap},15973:(i,d,p)=>{const{kClients:v}=p(99411);const V=p(86261);const{kAgent:K,kMockAgentSet:ee,kMockAgentGet:te,kDispatches:re,kIsMockActive:ne,kNetConnect:ie,kGetNetConnect:se,kOptions:oe,kFactory:ae}=p(28149);const ce=p(78957);const le=p(78780);const{matchValue:ue,buildMockOptions:Ae}=p(61725);const{InvalidArgumentError:de,UndiciError:pe}=p(48091);const fe=p(72091);const he=p(98353);const ge=p(31030);class MockAgent extends fe{constructor(i){super(i);this[ie]=true;this[ne]=true;if(i?.agent&&typeof i.agent.dispatch!=="function"){throw new de("Argument opts.agent must implement Agent")}const d=i?.agent?i.agent:new V(i);this[K]=d;this[v]=d[v];this[oe]=Ae(i)}get(i){let d=this[te](i);if(!d){d=this[ae](i);this[ee](i,d)}return d}dispatch(i,d){this.get(i.origin);return this[K].dispatch(i,d)}async close(){await this[K].close();this[v].clear()}deactivate(){this[ne]=false}activate(){this[ne]=true}enableNetConnect(i){if(typeof i==="string"||typeof i==="function"||i instanceof RegExp){if(Array.isArray(this[ie])){this[ie].push(i)}else{this[ie]=[i]}}else if(typeof i==="undefined"){this[ie]=true}else{throw new de("Unsupported matcher. Must be one of String|Function|RegExp.")}}disableNetConnect(){this[ie]=false}get isMockActive(){return this[ne]}[ee](i,d){this[v].set(i,d)}[ae](i){const d=Object.assign({agent:this},this[oe]);return this[oe]&&this[oe].connections===1?new ce(i,d):new le(i,d)}[te](i){const d=this[v].get(i);if(d){return d}if(typeof i!=="string"){const d=this[ae]("http://localhost:9999");this[ee](i,d);return d}for(const[d,p]of Array.from(this[v])){if(p&&typeof d!=="string"&&ue(d,i)){const d=this[ae](i);this[ee](i,d);d[re]=p[re];return d}}}[se](){return this[ie]}pendingInterceptors(){const i=this[v];return Array.from(i.entries()).flatMap((([i,d])=>d[re].map((d=>({...d,origin:i}))))).filter((({pending:i})=>i))}assertNoPendingInterceptors({pendingInterceptorsFormatter:i=new ge}={}){const d=this.pendingInterceptors();if(d.length===0){return}const p=new he("interceptor","interceptors").pluralize(d.length);throw new pe(`\n${p.count} ${p.noun} ${p.is} pending:\n\n${i.format(d)}\n`.trim())}}i.exports=MockAgent},78957:(i,d,p)=>{const{promisify:v}=p(57975);const V=p(43069);const{buildMockDispatch:K}=p(61725);const{kDispatches:ee,kMockAgent:te,kClose:re,kOriginalClose:ne,kOrigin:ie,kOriginalDispatch:se,kConnected:oe}=p(28149);const{MockInterceptor:ae}=p(71599);const ce=p(99411);const{InvalidArgumentError:le}=p(48091);class MockClient extends V{constructor(i,d){super(i,d);if(!d||!d.agent||typeof d.agent.dispatch!=="function"){throw new le("Argument opts.agent must implement Agent")}this[te]=d.agent;this[ie]=i;this[ee]=[];this[oe]=1;this[se]=this.dispatch;this[ne]=this.close.bind(this);this.dispatch=K.call(this);this.close=this[re]}get[ce.kConnected](){return this[oe]}intercept(i){return new ae(i,this[ee])}async[re](){await v(this[ne])();this[oe]=0;this[te][ce.kClients].delete(this[ie])}}i.exports=MockClient},35445:(i,d,p)=>{const{UndiciError:v}=p(48091);const V=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED");class MockNotMatchedError extends v{constructor(i){super(i);Error.captureStackTrace(this,MockNotMatchedError);this.name="MockNotMatchedError";this.message=i||"The request does not match any registered mock dispatches";this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}static[Symbol.hasInstance](i){return i&&i[V]===true}[V]=true}i.exports={MockNotMatchedError:MockNotMatchedError}},71599:(i,d,p)=>{const{getResponseData:v,buildKey:V,addMockDispatch:K}=p(61725);const{kDispatches:ee,kDispatchKey:te,kDefaultHeaders:re,kDefaultTrailers:ne,kContentLength:ie,kMockDispatch:se}=p(28149);const{InvalidArgumentError:oe}=p(48091);const{buildURL:ae}=p(31544);class MockScope{constructor(i){this[se]=i}delay(i){if(typeof i!=="number"||!Number.isInteger(i)||i<=0){throw new oe("waitInMs must be a valid integer > 0")}this[se].delay=i;return this}persist(){this[se].persist=true;return this}times(i){if(typeof i!=="number"||!Number.isInteger(i)||i<=0){throw new oe("repeatTimes must be a valid integer > 0")}this[se].times=i;return this}}class MockInterceptor{constructor(i,d){if(typeof i!=="object"){throw new oe("opts must be an object")}if(typeof i.path==="undefined"){throw new oe("opts.path must be defined")}if(typeof i.method==="undefined"){i.method="GET"}if(typeof i.path==="string"){if(i.query){i.path=ae(i.path,i.query)}else{const d=new URL(i.path,"data://");i.path=d.pathname+d.search}}if(typeof i.method==="string"){i.method=i.method.toUpperCase()}this[te]=V(i);this[ee]=d;this[re]={};this[ne]={};this[ie]=false}createMockScopeDispatchData({statusCode:i,data:d,responseOptions:p}){const V=v(d);const K=this[ie]?{"content-length":V.length}:{};const ee={...this[re],...K,...p.headers};const te={...this[ne],...p.trailers};return{statusCode:i,data:d,headers:ee,trailers:te}}validateReplyParameters(i){if(typeof i.statusCode==="undefined"){throw new oe("statusCode must be defined")}if(typeof i.responseOptions!=="object"||i.responseOptions===null){throw new oe("responseOptions must be an object")}}reply(i){if(typeof i==="function"){const wrappedDefaultsCallback=d=>{const p=i(d);if(typeof p!=="object"||p===null){throw new oe("reply options callback must return an object")}const v={data:"",responseOptions:{},...p};this.validateReplyParameters(v);return{...this.createMockScopeDispatchData(v)}};const d=K(this[ee],this[te],wrappedDefaultsCallback);return new MockScope(d)}const d={statusCode:i,data:arguments[1]===undefined?"":arguments[1],responseOptions:arguments[2]===undefined?{}:arguments[2]};this.validateReplyParameters(d);const p=this.createMockScopeDispatchData(d);const v=K(this[ee],this[te],p);return new MockScope(v)}replyWithError(i){if(typeof i==="undefined"){throw new oe("error must be defined")}const d=K(this[ee],this[te],{error:i});return new MockScope(d)}defaultReplyHeaders(i){if(typeof i==="undefined"){throw new oe("headers must be defined")}this[re]=i;return this}defaultReplyTrailers(i){if(typeof i==="undefined"){throw new oe("trailers must be defined")}this[ne]=i;return this}replyContentLength(){this[ie]=true;return this}}i.exports.MockInterceptor=MockInterceptor;i.exports.MockScope=MockScope},78780:(i,d,p)=>{const{promisify:v}=p(57975);const V=p(27404);const{buildMockDispatch:K}=p(61725);const{kDispatches:ee,kMockAgent:te,kClose:re,kOriginalClose:ne,kOrigin:ie,kOriginalDispatch:se,kConnected:oe}=p(28149);const{MockInterceptor:ae}=p(71599);const ce=p(99411);const{InvalidArgumentError:le}=p(48091);class MockPool extends V{constructor(i,d){super(i,d);if(!d||!d.agent||typeof d.agent.dispatch!=="function"){throw new le("Argument opts.agent must implement Agent")}this[te]=d.agent;this[ie]=i;this[ee]=[];this[oe]=1;this[se]=this.dispatch;this[ne]=this.close.bind(this);this.dispatch=K.call(this);this.close=this[re]}get[ce.kConnected](){return this[oe]}intercept(i){return new ae(i,this[ee])}async[re](){await v(this[ne])();this[oe]=0;this[te][ce.kClients].delete(this[ie])}}i.exports=MockPool},28149:i=>{i.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected")}},61725:(i,d,p)=>{const{MockNotMatchedError:v}=p(35445);const{kDispatches:V,kMockAgent:K,kOriginalDispatch:ee,kOrigin:te,kGetNetConnect:re}=p(28149);const{buildURL:ne}=p(31544);const{STATUS_CODES:ie}=p(37067);const{types:{isPromise:se}}=p(57975);function matchValue(i,d){if(typeof i==="string"){return i===d}if(i instanceof RegExp){return i.test(d)}if(typeof i==="function"){return i(d)===true}return false}function lowerCaseEntries(i){return Object.fromEntries(Object.entries(i).map((([i,d])=>[i.toLocaleLowerCase(),d])))}function getHeaderByName(i,d){if(Array.isArray(i)){for(let p=0;p!i)).filter((({path:i})=>matchValue(safeUrl(i),V)));if(K.length===0){throw new v(`Mock dispatch not matched for path '${V}'`)}K=K.filter((({method:i})=>matchValue(i,d.method)));if(K.length===0){throw new v(`Mock dispatch not matched for method '${d.method}' on path '${V}'`)}K=K.filter((({body:i})=>typeof i!=="undefined"?matchValue(i,d.body):true));if(K.length===0){throw new v(`Mock dispatch not matched for body '${d.body}' on path '${V}'`)}K=K.filter((i=>matchHeaders(i,d.headers)));if(K.length===0){const i=typeof d.headers==="object"?JSON.stringify(d.headers):d.headers;throw new v(`Mock dispatch not matched for headers '${i}' on path '${V}'`)}return K[0]}function addMockDispatch(i,d,p){const v={timesInvoked:0,times:1,persist:false,consumed:false};const V=typeof p==="function"?{callback:p}:{...p};const K={...v,...d,pending:true,data:{error:null,...V}};i.push(K);return K}function deleteMockDispatch(i,d){const p=i.findIndex((i=>{if(!i.consumed){return false}return matchKey(i,d)}));if(p!==-1){i.splice(p,1)}}function buildKey(i){const{path:d,method:p,body:v,headers:V,query:K}=i;return{path:d,method:p,body:v,headers:V,query:K}}function generateKeyValues(i){const d=Object.keys(i);const p=[];for(let v=0;v=ce;v.pending=ae0){setTimeout((()=>{handleReply(this[V])}),ie)}else{handleReply(this[V])}function handleReply(v,V=ee){const ne=Array.isArray(i.headers)?buildHeadersFromArray(i.headers):i.headers;const ie=typeof V==="function"?V({...i,headers:ne}):V;if(se(ie)){ie.then((i=>handleReply(v,i)));return}const oe=getResponseData(ie);const ae=generateKeyValues(te);const ce=generateKeyValues(re);d.onConnect?.((i=>d.onError(i)),null);d.onHeaders?.(K,ae,resume,getStatusText(K));d.onData?.(Buffer.from(oe));d.onComplete?.(ce);deleteMockDispatch(v,p)}function resume(){}return true}function buildMockDispatch(){const i=this[K];const d=this[te];const p=this[ee];return function dispatch(V,K){if(i.isMockActive){try{mockDispatch.call(this,V,K)}catch(ee){if(ee instanceof v){const te=i[re]();if(te===false){throw new v(`${ee.message}: subsequent request to origin ${d} was not allowed (net.connect disabled)`)}if(checkNetConnect(te,d)){p.call(this,V,K)}else{throw new v(`${ee.message}: subsequent request to origin ${d} was not allowed (net.connect is not enabled for this origin)`)}}else{throw ee}}}else{p.call(this,V,K)}}}function checkNetConnect(i,d){const p=new URL(d);if(i===true){return true}else if(Array.isArray(i)&&i.some((i=>matchValue(i,p.host)))){return true}return false}function buildMockOptions(i){if(i){const{agent:d,...p}=i;return p}}i.exports={getResponseData:getResponseData,getMockDispatch:getMockDispatch,addMockDispatch:addMockDispatch,deleteMockDispatch:deleteMockDispatch,buildKey:buildKey,generateKeyValues:generateKeyValues,matchValue:matchValue,getResponse:getResponse,getStatusText:getStatusText,mockDispatch:mockDispatch,buildMockDispatch:buildMockDispatch,checkNetConnect:checkNetConnect,buildMockOptions:buildMockOptions,getHeaderByName:getHeaderByName,buildHeadersFromArray:buildHeadersFromArray}},31030:(i,d,p)=>{const{Transform:v}=p(57075);const{Console:V}=p(37540);const K=process.versions.icu?"✅":"Y ";const ee=process.versions.icu?"❌":"N ";i.exports=class PendingInterceptorsFormatter{constructor({disableColors:i}={}){this.transform=new v({transform(i,d,p){p(null,i)}});this.logger=new V({stdout:this.transform,inspectOptions:{colors:!i&&!process.env.CI}})}format(i){const d=i.map((({method:i,path:d,data:{statusCode:p},persist:v,times:V,timesInvoked:te,origin:re})=>({Method:i,Origin:re,Path:d,"Status code":p,Persistent:v?K:ee,Invocations:te,Remaining:v?Infinity:V-te})));this.logger.table(d);return this.transform.read().toString()}}},98353:i=>{const d={pronoun:"it",is:"is",was:"was",this:"this"};const p={pronoun:"they",is:"are",was:"were",this:"these"};i.exports=class Pluralizer{constructor(i,d){this.singular=i;this.plural=d}pluralize(i){const v=i===1;const V=v?d:p;const K=v?this.singular:this.plural;return{...V,count:i,noun:K}}}},92563:i=>{let d=0;const p=1e3;const v=(p>>1)-1;let V;const K=Symbol("kFastTimer");const ee=[];const te=-2;const re=-1;const ne=0;const ie=1;function onTick(){d+=v;let i=0;let p=ee.length;while(i=V._idleStart+V._idleTimeout){V._state=re;V._idleStart=-1;V._onTimeout(V._timerArg)}if(V._state===re){V._state=te;if(--p!==0){ee[i]=ee[p]}}else{++i}}ee.length=p;if(ee.length!==0){refreshTimeout()}}function refreshTimeout(){if(V){V.refresh()}else{clearTimeout(V);V=setTimeout(onTick,v);if(V.unref){V.unref()}}}class FastTimer{[K]=true;_state=te;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(i,d,p){this._onTimeout=i;this._idleTimeout=d;this._timerArg=p;this.refresh()}refresh(){if(this._state===te){ee.push(this)}if(!V||ee.length===1){refreshTimeout()}this._state=ne}clear(){this._state=re;this._idleStart=-1}}i.exports={setTimeout(i,d,v){return d<=p?setTimeout(i,d,v):new FastTimer(i,d,v)},clearTimeout(i){if(i[K]){i.clear()}else{clearTimeout(i)}},setFastTimeout(i,d,p){return new FastTimer(i,d,p)},clearFastTimeout(i){i.clear()},now(){return d},tick(i=0){d+=i-p+1;onTick();onTick()},reset(){d=0;ee.length=0;clearTimeout(V);V=null},kFastTimer:K}},4330:(i,d,p)=>{const{kConstruct:v}=p(87589);const{urlEquals:V,getFieldValues:K}=p(40102);const{kEnumerableProperty:ee,isDisturbed:te}=p(31544);const{webidl:re}=p(10253);const{Response:ne,cloneResponse:ie,fromInnerResponse:se}=p(9107);const{Request:oe,fromInnerRequest:ae}=p(46055);const{kState:ce}=p(64883);const{fetching:le}=p(47302);const{urlIsHttpHttpsScheme:ue,createDeferredPromise:Ae,readAllBytes:de}=p(14296);const pe=p(34589);class Cache{#T;constructor(){if(arguments[0]!==v){re.illegalConstructor()}re.util.markAsUncloneable(this);this.#T=arguments[1]}async match(i,d={}){re.brandCheck(this,Cache);const p="Cache.match";re.argumentLengthCheck(arguments,1,p);i=re.converters.RequestInfo(i,p,"request");d=re.converters.CacheQueryOptions(d,p,"options");const v=this.#N(i,d,1);if(v.length===0){return}return v[0]}async matchAll(i=undefined,d={}){re.brandCheck(this,Cache);const p="Cache.matchAll";if(i!==undefined)i=re.converters.RequestInfo(i,p,"request");d=re.converters.CacheQueryOptions(d,p,"options");return this.#N(i,d)}async add(i){re.brandCheck(this,Cache);const d="Cache.add";re.argumentLengthCheck(arguments,1,d);i=re.converters.RequestInfo(i,d,"request");const p=[i];const v=this.addAll(p);return await v}async addAll(i){re.brandCheck(this,Cache);const d="Cache.addAll";re.argumentLengthCheck(arguments,1,d);const p=[];const v=[];for(let p of i){if(p===undefined){throw re.errors.conversionFailed({prefix:d,argument:"Argument 1",types:["undefined is not allowed"]})}p=re.converters.RequestInfo(p);if(typeof p==="string"){continue}const i=p[ce];if(!ue(i.url)||i.method!=="GET"){throw re.errors.exception({header:d,message:"Expected http/s scheme when method is not GET."})}}const V=[];for(const ee of i){const i=new oe(ee)[ce];if(!ue(i.url)){throw re.errors.exception({header:d,message:"Expected http/s scheme."})}i.initiator="fetch";i.destination="subresource";v.push(i);const te=Ae();V.push(le({request:i,processResponse(i){if(i.type==="error"||i.status===206||i.status<200||i.status>299){te.reject(re.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}))}else if(i.headersList.contains("vary")){const d=K(i.headersList.get("vary"));for(const i of d){if(i==="*"){te.reject(re.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(const i of V){i.abort()}return}}}},processResponseEndOfBody(i){if(i.aborted){te.reject(new DOMException("aborted","AbortError"));return}te.resolve(i)}}));p.push(te.promise)}const ee=Promise.all(p);const te=await ee;const ne=[];let ie=0;for(const i of te){const d={type:"put",request:v[ie],response:i};ne.push(d);ie++}const se=Ae();let ae=null;try{this.#k(ne)}catch(i){ae=i}queueMicrotask((()=>{if(ae===null){se.resolve(undefined)}else{se.reject(ae)}}));return se.promise}async put(i,d){re.brandCheck(this,Cache);const p="Cache.put";re.argumentLengthCheck(arguments,2,p);i=re.converters.RequestInfo(i,p,"request");d=re.converters.Response(d,p,"response");let v=null;if(i instanceof oe){v=i[ce]}else{v=new oe(i)[ce]}if(!ue(v.url)||v.method!=="GET"){throw re.errors.exception({header:p,message:"Expected an http/s scheme when method is not GET"})}const V=d[ce];if(V.status===206){throw re.errors.exception({header:p,message:"Got 206 status"})}if(V.headersList.contains("vary")){const i=K(V.headersList.get("vary"));for(const d of i){if(d==="*"){throw re.errors.exception({header:p,message:"Got * vary field value"})}}}if(V.body&&(te(V.body.stream)||V.body.stream.locked)){throw re.errors.exception({header:p,message:"Response body is locked or disturbed"})}const ee=ie(V);const ne=Ae();if(V.body!=null){const i=V.body.stream;const d=i.getReader();de(d).then(ne.resolve,ne.reject)}else{ne.resolve(undefined)}const se=[];const ae={type:"put",request:v,response:ee};se.push(ae);const le=await ne.promise;if(ee.body!=null){ee.body.source=le}const pe=Ae();let fe=null;try{this.#k(se)}catch(i){fe=i}queueMicrotask((()=>{if(fe===null){pe.resolve()}else{pe.reject(fe)}}));return pe.promise}async delete(i,d={}){re.brandCheck(this,Cache);const p="Cache.delete";re.argumentLengthCheck(arguments,1,p);i=re.converters.RequestInfo(i,p,"request");d=re.converters.CacheQueryOptions(d,p,"options");let v=null;if(i instanceof oe){v=i[ce];if(v.method!=="GET"&&!d.ignoreMethod){return false}}else{pe(typeof i==="string");v=new oe(i)[ce]}const V=[];const K={type:"delete",request:v,options:d};V.push(K);const ee=Ae();let te=null;let ne;try{ne=this.#k(V)}catch(i){te=i}queueMicrotask((()=>{if(te===null){ee.resolve(!!ne?.length)}else{ee.reject(te)}}));return ee.promise}async keys(i=undefined,d={}){re.brandCheck(this,Cache);const p="Cache.keys";if(i!==undefined)i=re.converters.RequestInfo(i,p,"request");d=re.converters.CacheQueryOptions(d,p,"options");let v=null;if(i!==undefined){if(i instanceof oe){v=i[ce];if(v.method!=="GET"&&!d.ignoreMethod){return[]}}else if(typeof i==="string"){v=new oe(i)[ce]}}const V=Ae();const K=[];if(i===undefined){for(const i of this.#T){K.push(i[0])}}else{const i=this.#D(v,d);for(const d of i){K.push(d[0])}}queueMicrotask((()=>{const i=[];for(const d of K){const p=ae(d,(new AbortController).signal,"immutable");i.push(p)}V.resolve(Object.freeze(i))}));return V.promise}#k(i){const d=this.#T;const p=[...d];const v=[];const V=[];try{for(const p of i){if(p.type!=="delete"&&p.type!=="put"){throw re.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'})}if(p.type==="delete"&&p.response!=null){throw re.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"})}if(this.#D(p.request,p.options,v).length){throw new DOMException("???","InvalidStateError")}let i;if(p.type==="delete"){i=this.#D(p.request,p.options);if(i.length===0){return[]}for(const p of i){const i=d.indexOf(p);pe(i!==-1);d.splice(i,1)}}else if(p.type==="put"){if(p.response==null){throw re.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"})}const V=p.request;if(!ue(V.url)){throw re.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"})}if(V.method!=="GET"){throw re.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"})}if(p.options!=null){throw re.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"})}i=this.#D(p.request);for(const p of i){const i=d.indexOf(p);pe(i!==-1);d.splice(i,1)}d.push([p.request,p.response]);v.push([p.request,p.response])}V.push([p.request,p.response])}return V}catch(i){this.#T.length=0;this.#T=p;throw i}}#D(i,d,p){const v=[];const V=p??this.#T;for(const p of V){const[V,K]=p;if(this.#x(i,V,K,d)){v.push(p)}}return v}#x(i,d,p=null,v){const ee=new URL(i.url);const te=new URL(d.url);if(v?.ignoreSearch){te.search="";ee.search=""}if(!V(ee,te,true)){return false}if(p==null||v?.ignoreVary||!p.headersList.contains("vary")){return true}const re=K(p.headersList.get("vary"));for(const p of re){if(p==="*"){return false}const v=d.headersList.get(p);const V=i.headersList.get(p);if(v!==V){return false}}return true}#N(i,d,p=Infinity){let v=null;if(i!==undefined){if(i instanceof oe){v=i[ce];if(v.method!=="GET"&&!d.ignoreMethod){return[]}}else if(typeof i==="string"){v=new oe(i)[ce]}}const V=[];if(i===undefined){for(const i of this.#T){V.push(i[1])}}else{const i=this.#D(v,d);for(const d of i){V.push(d[1])}}const K=[];for(const i of V){const d=se(i,"immutable");K.push(d.clone());if(K.length>=p){break}}return Object.freeze(K)}}Object.defineProperties(Cache.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:true},match:ee,matchAll:ee,add:ee,addAll:ee,put:ee,delete:ee,keys:ee});const fe=[{key:"ignoreSearch",converter:re.converters.boolean,defaultValue:()=>false},{key:"ignoreMethod",converter:re.converters.boolean,defaultValue:()=>false},{key:"ignoreVary",converter:re.converters.boolean,defaultValue:()=>false}];re.converters.CacheQueryOptions=re.dictionaryConverter(fe);re.converters.MultiCacheQueryOptions=re.dictionaryConverter([...fe,{key:"cacheName",converter:re.converters.DOMString}]);re.converters.Response=re.interfaceConverter(ne);re.converters["sequence"]=re.sequenceConverter(re.converters.RequestInfo);i.exports={Cache:Cache}},76949:(i,d,p)=>{const{kConstruct:v}=p(87589);const{Cache:V}=p(4330);const{webidl:K}=p(10253);const{kEnumerableProperty:ee}=p(31544);class CacheStorage{#_=new Map;constructor(){if(arguments[0]!==v){K.illegalConstructor()}K.util.markAsUncloneable(this)}async match(i,d={}){K.brandCheck(this,CacheStorage);K.argumentLengthCheck(arguments,1,"CacheStorage.match");i=K.converters.RequestInfo(i);d=K.converters.MultiCacheQueryOptions(d);if(d.cacheName!=null){if(this.#_.has(d.cacheName)){const p=this.#_.get(d.cacheName);const K=new V(v,p);return await K.match(i,d)}}else{for(const p of this.#_.values()){const K=new V(v,p);const ee=await K.match(i,d);if(ee!==undefined){return ee}}}}async has(i){K.brandCheck(this,CacheStorage);const d="CacheStorage.has";K.argumentLengthCheck(arguments,1,d);i=K.converters.DOMString(i,d,"cacheName");return this.#_.has(i)}async open(i){K.brandCheck(this,CacheStorage);const d="CacheStorage.open";K.argumentLengthCheck(arguments,1,d);i=K.converters.DOMString(i,d,"cacheName");if(this.#_.has(i)){const d=this.#_.get(i);return new V(v,d)}const p=[];this.#_.set(i,p);return new V(v,p)}async delete(i){K.brandCheck(this,CacheStorage);const d="CacheStorage.delete";K.argumentLengthCheck(arguments,1,d);i=K.converters.DOMString(i,d,"cacheName");return this.#_.delete(i)}async keys(){K.brandCheck(this,CacheStorage);const i=this.#_.keys();return[...i]}}Object.defineProperties(CacheStorage.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:true},match:ee,has:ee,open:ee,delete:ee,keys:ee});i.exports={CacheStorage:CacheStorage}},87589:(i,d,p)=>{i.exports={kConstruct:p(99411).kConstruct}},40102:(i,d,p)=>{const v=p(34589);const{URLSerializer:V}=p(90980);const{isValidHeaderName:K}=p(14296);function urlEquals(i,d,p=false){const v=V(i,p);const K=V(d,p);return v===K}function getFieldValues(i){v(i!==null);const d=[];for(let p of i.split(",")){p=p.trim();if(K(p)){d.push(p)}}return d}i.exports={urlEquals:urlEquals,getFieldValues:getFieldValues}},6820:i=>{const d=1024;const p=4096;i.exports={maxAttributeValueSize:d,maxNameValuePairSize:p}},35437:(i,d,p)=>{const{parseSetCookie:v}=p(42802);const{stringify:V}=p(35613);const{webidl:K}=p(10253);const{Headers:ee}=p(83676);function getCookies(i){K.argumentLengthCheck(arguments,1,"getCookies");K.brandCheck(i,ee,{strict:false});const d=i.get("cookie");const p={};if(!d){return p}for(const i of d.split(";")){const[d,...v]=i.split("=");p[d.trim()]=v.join("=")}return p}function deleteCookie(i,d,p){K.brandCheck(i,ee,{strict:false});const v="deleteCookie";K.argumentLengthCheck(arguments,2,v);d=K.converters.DOMString(d,v,"name");p=K.converters.DeleteCookieAttributes(p);setCookie(i,{name:d,value:"",expires:new Date(0),...p})}function getSetCookies(i){K.argumentLengthCheck(arguments,1,"getSetCookies");K.brandCheck(i,ee,{strict:false});const d=i.getSetCookie();if(!d){return[]}return d.map((i=>v(i)))}function setCookie(i,d){K.argumentLengthCheck(arguments,2,"setCookie");K.brandCheck(i,ee,{strict:false});d=K.converters.Cookie(d);const p=V(d);if(p){i.append("Set-Cookie",p)}}K.converters.DeleteCookieAttributes=K.dictionaryConverter([{converter:K.nullableConverter(K.converters.DOMString),key:"path",defaultValue:()=>null},{converter:K.nullableConverter(K.converters.DOMString),key:"domain",defaultValue:()=>null}]);K.converters.Cookie=K.dictionaryConverter([{converter:K.converters.DOMString,key:"name"},{converter:K.converters.DOMString,key:"value"},{converter:K.nullableConverter((i=>{if(typeof i==="number"){return K.converters["unsigned long long"](i)}return new Date(i)})),key:"expires",defaultValue:()=>null},{converter:K.nullableConverter(K.converters["long long"]),key:"maxAge",defaultValue:()=>null},{converter:K.nullableConverter(K.converters.DOMString),key:"domain",defaultValue:()=>null},{converter:K.nullableConverter(K.converters.DOMString),key:"path",defaultValue:()=>null},{converter:K.nullableConverter(K.converters.boolean),key:"secure",defaultValue:()=>null},{converter:K.nullableConverter(K.converters.boolean),key:"httpOnly",defaultValue:()=>null},{converter:K.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:K.sequenceConverter(K.converters.DOMString),key:"unparsed",defaultValue:()=>new Array(0)}]);i.exports={getCookies:getCookies,deleteCookie:deleteCookie,getSetCookies:getSetCookies,setCookie:setCookie}},42802:(i,d,p)=>{const{maxNameValuePairSize:v,maxAttributeValueSize:V}=p(6820);const{isCTLExcludingHtab:K}=p(35613);const{collectASequenceOfCodePointsFast:ee}=p(90980);const te=p(34589);function parseSetCookie(i){if(K(i)){return null}let d="";let p="";let V="";let te="";if(i.includes(";")){const v={position:0};d=ee(";",i,v);p=i.slice(v.position)}else{d=i}if(!d.includes("=")){te=d}else{const i={position:0};V=ee("=",d,i);te=d.slice(i.position+1)}V=V.trim();te=te.trim();if(V.length+te.length>v){return null}return{name:V,value:te,...parseUnparsedAttributes(p)}}function parseUnparsedAttributes(i,d={}){if(i.length===0){return d}te(i[0]===";");i=i.slice(1);let p="";if(i.includes(";")){p=ee(";",i,{position:0});i=i.slice(p.length)}else{p=i;i=""}let v="";let K="";if(p.includes("=")){const i={position:0};v=ee("=",p,i);K=p.slice(i.position+1)}else{v=p}v=v.trim();K=K.trim();if(K.length>V){return parseUnparsedAttributes(i,d)}const re=v.toLowerCase();if(re==="expires"){const i=new Date(K);d.expires=i}else if(re==="max-age"){const p=K.charCodeAt(0);if((p<48||p>57)&&K[0]!=="-"){return parseUnparsedAttributes(i,d)}if(!/^\d+$/.test(K)){return parseUnparsedAttributes(i,d)}const v=Number(K);d.maxAge=v}else if(re==="domain"){let i=K;if(i[0]==="."){i=i.slice(1)}i=i.toLowerCase();d.domain=i}else if(re==="path"){let i="";if(K.length===0||K[0]!=="/"){i="/"}else{i=K}d.path=i}else if(re==="secure"){d.secure=true}else if(re==="httponly"){d.httpOnly=true}else if(re==="samesite"){let i="Default";const p=K.toLowerCase();if(p.includes("none")){i="None"}if(p.includes("strict")){i="Strict"}if(p.includes("lax")){i="Lax"}d.sameSite=i}else{d.unparsed??=[];d.unparsed.push(`${v}=${K}`)}return parseUnparsedAttributes(i,d)}i.exports={parseSetCookie:parseSetCookie,parseUnparsedAttributes:parseUnparsedAttributes}},35613:i=>{function isCTLExcludingHtab(i){for(let d=0;d=0&&p<=8||p>=10&&p<=31||p===127){return true}}return false}function validateCookieName(i){for(let d=0;d126||p===34||p===40||p===41||p===60||p===62||p===64||p===44||p===59||p===58||p===92||p===47||p===91||p===93||p===63||p===61||p===123||p===125){throw new Error("Invalid cookie name")}}}function validateCookieValue(i){let d=i.length;let p=0;if(i[0]==='"'){if(d===1||i[d-1]!=='"'){throw new Error("Invalid cookie value")}--d;++p}while(p126||d===34||d===44||d===59||d===92){throw new Error("Invalid cookie value")}}}function validateCookiePath(i){for(let d=0;dd.toString().padStart(2,"0")));function toIMFDate(i){if(typeof i==="number"){i=new Date(i)}return`${d[i.getUTCDay()]}, ${v[i.getUTCDate()]} ${p[i.getUTCMonth()]} ${i.getUTCFullYear()} ${v[i.getUTCHours()]}:${v[i.getUTCMinutes()]}:${v[i.getUTCSeconds()]} GMT`}function validateCookieMaxAge(i){if(i<0){throw new Error("Invalid cookie max-age")}}function stringify(i){if(i.name.length===0){return null}validateCookieName(i.name);validateCookieValue(i.value);const d=[`${i.name}=${i.value}`];if(i.name.startsWith("__Secure-")){i.secure=true}if(i.name.startsWith("__Host-")){i.secure=true;i.domain=null;i.path="/"}if(i.secure){d.push("Secure")}if(i.httpOnly){d.push("HttpOnly")}if(typeof i.maxAge==="number"){validateCookieMaxAge(i.maxAge);d.push(`Max-Age=${i.maxAge}`)}if(i.domain){validateCookieDomain(i.domain);d.push(`Domain=${i.domain}`)}if(i.path){validateCookiePath(i.path);d.push(`Path=${i.path}`)}if(i.expires&&i.expires.toString()!=="Invalid Date"){d.push(`Expires=${toIMFDate(i.expires)}`)}if(i.sameSite){d.push(`SameSite=${i.sameSite}`)}for(const p of i.unparsed){if(!p.includes("=")){throw new Error("Invalid unparsed")}const[i,...v]=p.split("=");d.push(`${i.trim()}=${v.join("=")}`)}return d.join("; ")}i.exports={isCTLExcludingHtab:isCTLExcludingHtab,validateCookieName:validateCookieName,validateCookiePath:validateCookiePath,validateCookieValue:validateCookieValue,toIMFDate:toIMFDate,stringify:stringify}},82455:(i,d,p)=>{const{Transform:v}=p(57075);const{isASCIINumber:V,isValidLastEventId:K}=p(76627);const ee=[239,187,191];const te=10;const re=13;const ne=58;const ie=32;class EventSourceStream extends v{state=null;checkBOM=true;crlfCheck=false;eventEndCheck=false;buffer=null;pos=0;event={data:undefined,event:undefined,id:undefined,retry:undefined};constructor(i={}){i.readableObjectMode=true;super(i);this.state=i.eventSourceSettings||{};if(i.push){this.push=i.push}}_transform(i,d,p){if(i.length===0){p();return}if(this.buffer){this.buffer=Buffer.concat([this.buffer,i])}else{this.buffer=i}if(this.checkBOM){switch(this.buffer.length){case 1:if(this.buffer[0]===ee[0]){p();return}this.checkBOM=false;p();return;case 2:if(this.buffer[0]===ee[0]&&this.buffer[1]===ee[1]){p();return}this.checkBOM=false;break;case 3:if(this.buffer[0]===ee[0]&&this.buffer[1]===ee[1]&&this.buffer[2]===ee[2]){this.buffer=Buffer.alloc(0);this.checkBOM=false;p();return}this.checkBOM=false;break;default:if(this.buffer[0]===ee[0]&&this.buffer[1]===ee[1]&&this.buffer[2]===ee[2]){this.buffer=this.buffer.subarray(3)}this.checkBOM=false;break}}while(this.pos0){d[v]=ee}break}}processEvent(i){if(i.retry&&V(i.retry)){this.state.reconnectionTime=parseInt(i.retry,10)}if(i.id&&K(i.id)){this.state.lastEventId=i.id}if(i.data!==undefined){this.push({type:i.event||"message",options:{data:i.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}}clearEvent(){this.event={data:undefined,event:undefined,id:undefined,retry:undefined}}}i.exports={EventSourceStream:EventSourceStream}},46942:(i,d,p)=>{const{pipeline:v}=p(57075);const{fetching:V}=p(47302);const{makeRequest:K}=p(46055);const{webidl:ee}=p(10253);const{EventSourceStream:te}=p(82455);const{parseMIMEType:re}=p(90980);const{createFastMessageEvent:ne}=p(50044);const{isNetworkError:ie}=p(9107);const{delay:se}=p(76627);const{kEnumerableProperty:oe}=p(31544);const{environmentSettingsObject:ae}=p(14296);let ce=false;const le=3e3;const ue=0;const Ae=1;const de=2;const pe="anonymous";const fe="use-credentials";class EventSource extends EventTarget{#P={open:null,error:null,message:null};#O=null;#L=false;#F=ue;#M=null;#U=null;#e;#C;constructor(i,d={}){super();ee.util.markAsUncloneable(this);const p="EventSource constructor";ee.argumentLengthCheck(arguments,1,p);if(!ce){ce=true;process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})}i=ee.converters.USVString(i,p,"url");d=ee.converters.EventSourceInitDict(d,p,"eventSourceInitDict");this.#e=d.dispatcher;this.#C={lastEventId:"",reconnectionTime:le};const v=ae;let V;try{V=new URL(i,v.settingsObject.baseUrl);this.#C.origin=V.origin}catch(i){throw new DOMException(i,"SyntaxError")}this.#O=V.href;let te=pe;if(d.withCredentials){te=fe;this.#L=true}const re={redirect:"follow",keepalive:true,mode:"cors",credentials:te==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};re.client=ae.settingsObject;re.headersList=[["accept",{name:"accept",value:"text/event-stream"}]];re.cache="no-store";re.initiator="other";re.urlList=[new URL(this.#O)];this.#M=K(re);this.#H()}get readyState(){return this.#F}get url(){return this.#O}get withCredentials(){return this.#L}#H(){if(this.#F===de)return;this.#F=ue;const i={request:this.#M,dispatcher:this.#e};const processEventSourceEndOfBody=i=>{if(ie(i)){this.dispatchEvent(new Event("error"));this.close()}this.#G()};i.processResponseEndOfBody=processEventSourceEndOfBody;i.processResponse=i=>{if(ie(i)){if(i.aborted){this.close();this.dispatchEvent(new Event("error"));return}else{this.#G();return}}const d=i.headersList.get("content-type",true);const p=d!==null?re(d):"failure";const V=p!=="failure"&&p.essence==="text/event-stream";if(i.status!==200||V===false){this.close();this.dispatchEvent(new Event("error"));return}this.#F=Ae;this.dispatchEvent(new Event("open"));this.#C.origin=i.urlList[i.urlList.length-1].origin;const K=new te({eventSourceSettings:this.#C,push:i=>{this.dispatchEvent(ne(i.type,i.options))}});v(i.body.stream,K,(i=>{if(i?.aborted===false){this.close();this.dispatchEvent(new Event("error"))}}))};this.#U=V(i)}async#G(){if(this.#F===de)return;this.#F=ue;this.dispatchEvent(new Event("error"));await se(this.#C.reconnectionTime);if(this.#F!==ue)return;if(this.#C.lastEventId.length){this.#M.headersList.set("last-event-id",this.#C.lastEventId,true)}this.#H()}close(){ee.brandCheck(this,EventSource);if(this.#F===de)return;this.#F=de;this.#U.abort();this.#M=null}get onopen(){return this.#P.open}set onopen(i){if(this.#P.open){this.removeEventListener("open",this.#P.open)}if(typeof i==="function"){this.#P.open=i;this.addEventListener("open",i)}else{this.#P.open=null}}get onmessage(){return this.#P.message}set onmessage(i){if(this.#P.message){this.removeEventListener("message",this.#P.message)}if(typeof i==="function"){this.#P.message=i;this.addEventListener("message",i)}else{this.#P.message=null}}get onerror(){return this.#P.error}set onerror(i){if(this.#P.error){this.removeEventListener("error",this.#P.error)}if(typeof i==="function"){this.#P.error=i;this.addEventListener("error",i)}else{this.#P.error=null}}}const he={CONNECTING:{__proto__:null,configurable:false,enumerable:true,value:ue,writable:false},OPEN:{__proto__:null,configurable:false,enumerable:true,value:Ae,writable:false},CLOSED:{__proto__:null,configurable:false,enumerable:true,value:de,writable:false}};Object.defineProperties(EventSource,he);Object.defineProperties(EventSource.prototype,he);Object.defineProperties(EventSource.prototype,{close:oe,onerror:oe,onmessage:oe,onopen:oe,readyState:oe,url:oe,withCredentials:oe});ee.converters.EventSourceInitDict=ee.dictionaryConverter([{key:"withCredentials",converter:ee.converters.boolean,defaultValue:()=>false},{key:"dispatcher",converter:ee.converters.any}]);i.exports={EventSource:EventSource,defaultReconnectionTime:le}},76627:i=>{function isValidLastEventId(i){return i.indexOf("\0")===-1}function isASCIINumber(i){if(i.length===0)return false;for(let d=0;d57)return false}return true}function delay(i){return new Promise((d=>{setTimeout(d,i).unref()}))}i.exports={isValidLastEventId:isValidLastEventId,isASCIINumber:isASCIINumber,delay:delay}},18900:(i,d,p)=>{const v=p(31544);const{ReadableStreamFrom:V,isBlobLike:K,isReadableStreamLike:ee,readableStreamClose:te,createDeferredPromise:re,fullyReadBody:ne,extractMimeType:ie,utf8DecodeBytes:se}=p(14296);const{FormData:oe}=p(79662);const{kState:ae}=p(64883);const{webidl:ce}=p(10253);const{Blob:le}=p(4573);const ue=p(34589);const{isErrored:Ae,isDisturbed:de}=p(57075);const{isArrayBuffer:pe}=p(73429);const{serializeAMimeType:fe}=p(90980);const{multipartFormDataParser:he}=p(93100);let ge;try{const i=p(77598);ge=d=>i.randomInt(0,d)}catch{ge=i=>Math.floor(Math.random(i))}const me=new TextEncoder;function noop(){}const Ee=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0;let ye;if(Ee){ye=new FinalizationRegistry((i=>{const d=i.deref();if(d&&!d.locked&&!de(d)&&!Ae(d)){d.cancel("Response object has been garbage collected").catch(noop)}}))}function extractBody(i,d=false){let p=null;if(i instanceof ReadableStream){p=i}else if(K(i)){p=i.stream()}else{p=new ReadableStream({async pull(i){const d=typeof ne==="string"?me.encode(ne):ne;if(d.byteLength){i.enqueue(d)}queueMicrotask((()=>te(i)))},start(){},type:"bytes"})}ue(ee(p));let re=null;let ne=null;let ie=null;let se=null;if(typeof i==="string"){ne=i;se="text/plain;charset=UTF-8"}else if(i instanceof URLSearchParams){ne=i.toString();se="application/x-www-form-urlencoded;charset=UTF-8"}else if(pe(i)){ne=new Uint8Array(i.slice())}else if(ArrayBuffer.isView(i)){ne=new Uint8Array(i.buffer.slice(i.byteOffset,i.byteOffset+i.byteLength))}else if(v.isFormDataLike(i)){const d=`----formdata-undici-0${`${ge(1e11)}`.padStart(11,"0")}`;const p=`--${d}\r\nContent-Disposition: form-data` -/*! formdata-polyfill. MIT License. Jimmy Wärting */;const escape=i=>i.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=i=>i.replace(/\r?\n|\r/g,"\r\n");const v=[];const V=new Uint8Array([13,10]);ie=0;let K=false;for(const[d,ee]of i){if(typeof ee==="string"){const i=me.encode(p+`; name="${escape(normalizeLinefeeds(d))}"`+`\r\n\r\n${normalizeLinefeeds(ee)}\r\n`);v.push(i);ie+=i.byteLength}else{const i=me.encode(`${p}; name="${escape(normalizeLinefeeds(d))}"`+(ee.name?`; filename="${escape(ee.name)}"`:"")+"\r\n"+`Content-Type: ${ee.type||"application/octet-stream"}\r\n\r\n`);v.push(i,ee,V);if(typeof ee.size==="number"){ie+=i.byteLength+ee.size+V.byteLength}else{K=true}}}const ee=me.encode(`--${d}--\r\n`);v.push(ee);ie+=ee.byteLength;if(K){ie=null}ne=i;re=async function*(){for(const i of v){if(i.stream){yield*i.stream()}else{yield i}}};se=`multipart/form-data; boundary=${d}`}else if(K(i)){ne=i;ie=i.size;if(i.type){se=i.type}}else if(typeof i[Symbol.asyncIterator]==="function"){if(d){throw new TypeError("keepalive")}if(v.isDisturbed(i)||i.locked){throw new TypeError("Response body object should not be disturbed or locked")}p=i instanceof ReadableStream?i:V(i)}if(typeof ne==="string"||v.isBuffer(ne)){ie=Buffer.byteLength(ne)}if(re!=null){let d;p=new ReadableStream({async start(){d=re(i)[Symbol.asyncIterator]()},async pull(i){const{value:v,done:V}=await d.next();if(V){queueMicrotask((()=>{i.close();i.byobRequest?.respond(0)}))}else{if(!Ae(p)){const d=new Uint8Array(v);if(d.byteLength){i.enqueue(d)}}}return i.desiredSize>0},async cancel(i){await d.return()},type:"bytes"})}const oe={stream:p,source:ne,length:ie};return[oe,se]}function safelyExtractBody(i,d=false){if(i instanceof ReadableStream){ue(!v.isDisturbed(i),"The body has already been consumed.");ue(!i.locked,"The stream is locked.")}return extractBody(i,d)}function cloneBody(i,d){const[p,v]=d.stream.tee();d.stream=p;return{stream:v,length:d.length,source:d.source}}function throwIfAborted(i){if(i.aborted){throw new DOMException("The operation was aborted.","AbortError")}}function bodyMixinMethods(i){const d={blob(){return consumeBody(this,(i=>{let d=bodyMimeType(this);if(d===null){d=""}else if(d){d=fe(d)}return new le([i],{type:d})}),i)},arrayBuffer(){return consumeBody(this,(i=>new Uint8Array(i).buffer),i)},text(){return consumeBody(this,se,i)},json(){return consumeBody(this,parseJSONFromBytes,i)},formData(){return consumeBody(this,(i=>{const d=bodyMimeType(this);if(d!==null){switch(d.essence){case"multipart/form-data":{const p=he(i,d);if(p==="failure"){throw new TypeError("Failed to parse body as FormData.")}const v=new oe;v[ae]=p;return v}case"application/x-www-form-urlencoded":{const d=new URLSearchParams(i.toString());const p=new oe;for(const[i,v]of d){p.append(i,v)}return p}}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')}),i)},bytes(){return consumeBody(this,(i=>new Uint8Array(i)),i)}};return d}function mixinBody(i){Object.assign(i.prototype,bodyMixinMethods(i))}async function consumeBody(i,d,p){ce.brandCheck(i,p);if(bodyUnusable(i)){throw new TypeError("Body is unusable: Body has already been read")}throwIfAborted(i[ae]);const v=re();const errorSteps=i=>v.reject(i);const successSteps=i=>{try{v.resolve(d(i))}catch(i){errorSteps(i)}};if(i[ae].body==null){successSteps(Buffer.allocUnsafe(0));return v.promise}await ne(i[ae].body,successSteps,errorSteps);return v.promise}function bodyUnusable(i){const d=i[ae].body;return d!=null&&(d.stream.locked||v.isDisturbed(d.stream))}function parseJSONFromBytes(i){return JSON.parse(se(i))}function bodyMimeType(i){const d=i[ae].headersList;const p=ie(d);if(p==="failure"){return null}return p}i.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody,streamRegistry:ye,hasFinalizationRegistry:Ee,bodyUnusable:bodyUnusable}},61207:i=>{const d=["GET","HEAD","POST"];const p=new Set(d);const v=[101,204,205,304];const V=[301,302,303,307,308];const K=new Set(V);const ee=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","4190","5060","5061","6000","6566","6665","6666","6667","6668","6669","6679","6697","10080"];const te=new Set(ee);const re=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"];const ne=new Set(re);const ie=["follow","manual","error"];const se=["GET","HEAD","OPTIONS","TRACE"];const oe=new Set(se);const ae=["navigate","same-origin","no-cors","cors"];const ce=["omit","same-origin","include"];const le=["default","no-store","reload","no-cache","force-cache","only-if-cached"];const ue=["content-encoding","content-language","content-location","content-type","content-length"];const Ae=["half"];const de=["CONNECT","TRACE","TRACK"];const pe=new Set(de);const fe=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""];const he=new Set(fe);i.exports={subresource:fe,forbiddenMethods:de,requestBodyHeader:ue,referrerPolicy:re,requestRedirect:ie,requestMode:ae,requestCredentials:ce,requestCache:le,redirectStatus:V,corsSafeListedMethods:d,nullBodyStatus:v,safeMethods:se,badPorts:ee,requestDuplex:Ae,subresourceSet:he,badPortsSet:te,redirectStatusSet:K,corsSafeListedMethodsSet:p,safeMethodsSet:oe,forbiddenMethodsSet:pe,referrerPolicySet:ne}},90980:(i,d,p)=>{const v=p(34589);const V=new TextEncoder;const K=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/;const ee=/[\u000A\u000D\u0009\u0020]/;const te=/[\u0009\u000A\u000C\u000D\u0020]/g;const re=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function dataURLProcessor(i){v(i.protocol==="data:");let d=URLSerializer(i,true);d=d.slice(5);const p={position:0};let V=collectASequenceOfCodePointsFast(",",d,p);const K=V.length;V=removeASCIIWhitespace(V,true,true);if(p.position>=d.length){return"failure"}p.position++;const ee=d.slice(K+1);let te=stringPercentDecode(ee);if(/;(\u0020){0,}base64$/i.test(V)){const i=isomorphicDecode(te);te=forgivingBase64(i);if(te==="failure"){return"failure"}V=V.slice(0,-6);V=V.replace(/(\u0020)+$/,"");V=V.slice(0,-1)}if(V.startsWith(";")){V="text/plain"+V}let re=parseMIMEType(V);if(re==="failure"){re=parseMIMEType("text/plain;charset=US-ASCII")}return{mimeType:re,body:te}}function URLSerializer(i,d=false){if(!d){return i.href}const p=i.href;const v=i.hash.length;const V=v===0?p:p.substring(0,p.length-v);if(!v&&p.endsWith("#")){return V.slice(0,-1)}return V}function collectASequenceOfCodePoints(i,d,p){let v="";while(p.position=48&&i<=57||i>=65&&i<=70||i>=97&&i<=102}function hexByteToNumber(i){return i>=48&&i<=57?i-48:(i&223)-55}function percentDecode(i){const d=i.length;const p=new Uint8Array(d);let v=0;for(let V=0;Vi.length){return"failure"}d.position++;let v=collectASequenceOfCodePointsFast(";",i,d);v=removeHTTPWhitespace(v,false,true);if(v.length===0||!K.test(v)){return"failure"}const V=p.toLowerCase();const te=v.toLowerCase();const ne={type:V,subtype:te,parameters:new Map,essence:`${V}/${te}`};while(d.positionee.test(i)),i,d);let p=collectASequenceOfCodePoints((i=>i!==";"&&i!=="="),i,d);p=p.toLowerCase();if(d.positioni.length){break}let v=null;if(i[d.position]==='"'){v=collectAnHTTPQuotedString(i,d,true);collectASequenceOfCodePointsFast(";",i,d)}else{v=collectASequenceOfCodePointsFast(";",i,d);v=removeHTTPWhitespace(v,false,true);if(v.length===0){continue}}if(p.length!==0&&K.test(p)&&(v.length===0||re.test(v))&&!ne.parameters.has(p)){ne.parameters.set(p,v)}}return ne}function forgivingBase64(i){i=i.replace(te,"");let d=i.length;if(d%4===0){if(i.charCodeAt(d-1)===61){--d;if(i.charCodeAt(d-1)===61){--d}}}if(d%4===1){return"failure"}if(/[^+/0-9A-Za-z]/.test(i.length===d?i:i.substring(0,d))){return"failure"}const p=Buffer.from(i,"base64");return new Uint8Array(p.buffer,p.byteOffset,p.byteLength)}function collectAnHTTPQuotedString(i,d,p){const V=d.position;let K="";v(i[d.position]==='"');d.position++;while(true){K+=collectASequenceOfCodePoints((i=>i!=='"'&&i!=="\\"),i,d);if(d.position>=i.length){break}const p=i[d.position];d.position++;if(p==="\\"){if(d.position>=i.length){K+="\\";break}K+=i[d.position];d.position++}else{v(p==='"');break}}if(p){return K}return i.slice(V,d.position)}function serializeAMimeType(i){v(i!=="failure");const{parameters:d,essence:p}=i;let V=p;for(let[i,p]of d.entries()){V+=";";V+=i;V+="=";if(!K.test(p)){p=p.replace(/(\\|")/g,"\\$1");p='"'+p;p+='"'}V+=p}return V}function isHTTPWhiteSpace(i){return i===13||i===10||i===9||i===32}function removeHTTPWhitespace(i,d=true,p=true){return removeChars(i,d,p,isHTTPWhiteSpace)}function isASCIIWhitespace(i){return i===13||i===10||i===9||i===12||i===32}function removeASCIIWhitespace(i,d=true,p=true){return removeChars(i,d,p,isASCIIWhitespace)}function removeChars(i,d,p,v){let V=0;let K=i.length-1;if(d){while(V0&&v(i.charCodeAt(K)))K--}return V===0&&K===i.length-1?i:i.slice(V,K+1)}function isomorphicDecode(i){const d=i.length;if((2<<15)-1>d){return String.fromCharCode.apply(null,i)}let p="";let v=0;let V=(2<<15)-1;while(vd){V=d-v}p+=String.fromCharCode.apply(null,i.subarray(v,v+=V))}return p}function minimizeSupportedMimeType(i){switch(i.essence){case"application/ecmascript":case"application/javascript":case"application/x-ecmascript":case"application/x-javascript":case"text/ecmascript":case"text/javascript":case"text/javascript1.0":case"text/javascript1.1":case"text/javascript1.2":case"text/javascript1.3":case"text/javascript1.4":case"text/javascript1.5":case"text/jscript":case"text/livescript":case"text/x-ecmascript":case"text/x-javascript":return"text/javascript";case"application/json":case"text/json":return"application/json";case"image/svg+xml":return"image/svg+xml";case"text/xml":case"application/xml":return"application/xml"}if(i.subtype.endsWith("+json")){return"application/json"}if(i.subtype.endsWith("+xml")){return"application/xml"}return""}i.exports={dataURLProcessor:dataURLProcessor,URLSerializer:URLSerializer,collectASequenceOfCodePoints:collectASequenceOfCodePoints,collectASequenceOfCodePointsFast:collectASequenceOfCodePointsFast,stringPercentDecode:stringPercentDecode,parseMIMEType:parseMIMEType,collectAnHTTPQuotedString:collectAnHTTPQuotedString,serializeAMimeType:serializeAMimeType,removeChars:removeChars,removeHTTPWhitespace:removeHTTPWhitespace,minimizeSupportedMimeType:minimizeSupportedMimeType,HTTP_TOKEN_CODEPOINTS:K,isomorphicDecode:isomorphicDecode}},40933:(i,d,p)=>{const{kConnected:v,kSize:V}=p(99411);class CompatWeakRef{constructor(i){this.value=i}deref(){return this.value[v]===0&&this.value[V]===0?undefined:this.value}}class CompatFinalizer{constructor(i){this.finalizer=i}register(i,d){if(i.on){i.on("disconnect",(()=>{if(i[v]===0&&i[V]===0){this.finalizer(d)}}))}}unregister(i){}}i.exports=function(){if(process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")){process._rawDebug("Using compatibility WeakRef and FinalizationRegistry");return{WeakRef:CompatWeakRef,FinalizationRegistry:CompatFinalizer}}return{WeakRef:WeakRef,FinalizationRegistry:FinalizationRegistry}}},11506:(i,d,p)=>{const{Blob:v,File:V}=p(4573);const{kState:K}=p(64883);const{webidl:ee}=p(10253);class FileLike{constructor(i,d,p={}){const v=d;const V=p.type;const ee=p.lastModified??Date.now();this[K]={blobLike:i,name:v,type:V,lastModified:ee}}stream(...i){ee.brandCheck(this,FileLike);return this[K].blobLike.stream(...i)}arrayBuffer(...i){ee.brandCheck(this,FileLike);return this[K].blobLike.arrayBuffer(...i)}slice(...i){ee.brandCheck(this,FileLike);return this[K].blobLike.slice(...i)}text(...i){ee.brandCheck(this,FileLike);return this[K].blobLike.text(...i)}get size(){ee.brandCheck(this,FileLike);return this[K].blobLike.size}get type(){ee.brandCheck(this,FileLike);return this[K].blobLike.type}get name(){ee.brandCheck(this,FileLike);return this[K].name}get lastModified(){ee.brandCheck(this,FileLike);return this[K].lastModified}get[Symbol.toStringTag](){return"File"}}ee.converters.Blob=ee.interfaceConverter(v);function isFileLike(i){return i instanceof V||i&&(typeof i.stream==="function"||typeof i.arrayBuffer==="function")&&i[Symbol.toStringTag]==="File"}i.exports={FileLike:FileLike,isFileLike:isFileLike}},93100:(i,d,p)=>{const{isUSVString:v,bufferToLowerCasedHeaderName:V}=p(31544);const{utf8DecodeBytes:K}=p(14296);const{HTTP_TOKEN_CODEPOINTS:ee,isomorphicDecode:te}=p(90980);const{isFileLike:re}=p(11506);const{makeEntry:ne}=p(79662);const ie=p(34589);const{File:se}=p(4573);const oe=globalThis.File??se;const ae=Buffer.from('form-data; name="');const ce=Buffer.from("; filename");const le=Buffer.from("--");const ue=Buffer.from("--\r\n");function isAsciiString(i){for(let d=0;d70){return false}for(let p=0;p=48&&d<=57||d>=65&&d<=90||d>=97&&d<=122||d===39||d===45||d===95)){return false}}return true}function multipartFormDataParser(i,d){ie(d!=="failure"&&d.essence==="multipart/form-data");const p=d.parameters.get("boundary");if(p===undefined){return"failure"}const V=Buffer.from(`--${p}`,"utf8");const ee=[];const te={position:0};while(i[te.position]===13&&i[te.position+1]===10){te.position+=2}let se=i.length;while(i[se-1]===10&&i[se-2]===13){se-=2}if(se!==i.length){i=i.subarray(0,se)}while(true){if(i.subarray(te.position,te.position+V.length).equals(V)){te.position+=V.length}else{return"failure"}if(te.position===i.length-2&&bufferStartsWith(i,le,te)||te.position===i.length-4&&bufferStartsWith(i,ue,te)){return ee}if(i[te.position]!==13||i[te.position+1]!==10){return"failure"}te.position+=2;const d=parseMultipartFormDataHeaders(i,te);if(d==="failure"){return"failure"}let{name:p,filename:se,contentType:ae,encoding:ce}=d;te.position+=2;let Ae;{const d=i.indexOf(V.subarray(2),te.position);if(d===-1){return"failure"}Ae=i.subarray(te.position,d-4);te.position+=Ae.length;if(ce==="base64"){Ae=Buffer.from(Ae.toString(),"base64")}}if(i[te.position]!==13||i[te.position+1]!==10){return"failure"}else{te.position+=2}let de;if(se!==null){ae??="text/plain";if(!isAsciiString(ae)){ae=""}de=new oe([Ae],se,{type:ae})}else{de=K(Buffer.from(Ae))}ie(v(p));ie(typeof de==="string"&&v(de)||re(de));ee.push(ne(p,de,se))}}function parseMultipartFormDataHeaders(i,d){let p=null;let v=null;let K=null;let re=null;while(true){if(i[d.position]===13&&i[d.position+1]===10){if(p===null){return"failure"}return{name:p,filename:v,contentType:K,encoding:re}}let ne=collectASequenceOfBytes((i=>i!==10&&i!==13&&i!==58),i,d);ne=removeChars(ne,true,true,(i=>i===9||i===32));if(!ee.test(ne.toString())){return"failure"}if(i[d.position]!==58){return"failure"}d.position++;collectASequenceOfBytes((i=>i===32||i===9),i,d);switch(V(ne)){case"content-disposition":{p=v=null;if(!bufferStartsWith(i,ae,d)){return"failure"}d.position+=17;p=parseMultipartFormDataName(i,d);if(p===null){return"failure"}if(bufferStartsWith(i,ce,d)){let p=d.position+ce.length;if(i[p]===42){d.position+=1;p+=1}if(i[p]!==61||i[p+1]!==34){return"failure"}d.position+=12;v=parseMultipartFormDataName(i,d);if(v===null){return"failure"}}break}case"content-type":{let p=collectASequenceOfBytes((i=>i!==10&&i!==13),i,d);p=removeChars(p,false,true,(i=>i===9||i===32));K=te(p);break}case"content-transfer-encoding":{let p=collectASequenceOfBytes((i=>i!==10&&i!==13),i,d);p=removeChars(p,false,true,(i=>i===9||i===32));re=te(p);break}default:{collectASequenceOfBytes((i=>i!==10&&i!==13),i,d)}}if(i[d.position]!==13&&i[d.position+1]!==10){return"failure"}else{d.position+=2}}}function parseMultipartFormDataName(i,d){ie(i[d.position-1]===34);let p=collectASequenceOfBytes((i=>i!==10&&i!==13&&i!==34),i,d);if(i[d.position]!==34){return null}else{d.position++}p=(new TextDecoder).decode(p).replace(/%0A/gi,"\n").replace(/%0D/gi,"\r").replace(/%22/g,'"');return p}function collectASequenceOfBytes(i,d,p){let v=p.position;while(v0&&v(i[K]))K--}return V===0&&K===i.length-1?i:i.subarray(V,K+1)}function bufferStartsWith(i,d,p){if(i.length{const{isBlobLike:v,iteratorMixin:V}=p(14296);const{kState:K}=p(64883);const{kEnumerableProperty:ee}=p(31544);const{FileLike:te,isFileLike:re}=p(11506);const{webidl:ne}=p(10253);const{File:ie}=p(4573);const se=p(57975);const oe=globalThis.File??ie;class FormData{constructor(i){ne.util.markAsUncloneable(this);if(i!==undefined){throw ne.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}this[K]=[]}append(i,d,p=undefined){ne.brandCheck(this,FormData);const V="FormData.append";ne.argumentLengthCheck(arguments,2,V);if(arguments.length===3&&!v(d)){throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'")}i=ne.converters.USVString(i,V,"name");d=v(d)?ne.converters.Blob(d,V,"value",{strict:false}):ne.converters.USVString(d,V,"value");p=arguments.length===3?ne.converters.USVString(p,V,"filename"):undefined;const ee=makeEntry(i,d,p);this[K].push(ee)}delete(i){ne.brandCheck(this,FormData);const d="FormData.delete";ne.argumentLengthCheck(arguments,1,d);i=ne.converters.USVString(i,d,"name");this[K]=this[K].filter((d=>d.name!==i))}get(i){ne.brandCheck(this,FormData);const d="FormData.get";ne.argumentLengthCheck(arguments,1,d);i=ne.converters.USVString(i,d,"name");const p=this[K].findIndex((d=>d.name===i));if(p===-1){return null}return this[K][p].value}getAll(i){ne.brandCheck(this,FormData);const d="FormData.getAll";ne.argumentLengthCheck(arguments,1,d);i=ne.converters.USVString(i,d,"name");return this[K].filter((d=>d.name===i)).map((i=>i.value))}has(i){ne.brandCheck(this,FormData);const d="FormData.has";ne.argumentLengthCheck(arguments,1,d);i=ne.converters.USVString(i,d,"name");return this[K].findIndex((d=>d.name===i))!==-1}set(i,d,p=undefined){ne.brandCheck(this,FormData);const V="FormData.set";ne.argumentLengthCheck(arguments,2,V);if(arguments.length===3&&!v(d)){throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'")}i=ne.converters.USVString(i,V,"name");d=v(d)?ne.converters.Blob(d,V,"name",{strict:false}):ne.converters.USVString(d,V,"name");p=arguments.length===3?ne.converters.USVString(p,V,"name"):undefined;const ee=makeEntry(i,d,p);const te=this[K].findIndex((d=>d.name===i));if(te!==-1){this[K]=[...this[K].slice(0,te),ee,...this[K].slice(te+1).filter((d=>d.name!==i))]}else{this[K].push(ee)}}[se.inspect.custom](i,d){const p=this[K].reduce(((i,d)=>{if(i[d.name]){if(Array.isArray(i[d.name])){i[d.name].push(d.value)}else{i[d.name]=[i[d.name],d.value]}}else{i[d.name]=d.value}return i}),{__proto__:null});d.depth??=i;d.colors??=true;const v=se.formatWithOptions(d,p);return`FormData ${v.slice(v.indexOf("]")+2)}`}}V("FormData",FormData,K,"name","value");Object.defineProperties(FormData.prototype,{append:ee,delete:ee,get:ee,getAll:ee,has:ee,set:ee,[Symbol.toStringTag]:{value:"FormData",configurable:true}});function makeEntry(i,d,p){if(typeof d==="string"){}else{if(!re(d)){d=d instanceof Blob?new oe([d],"blob",{type:d.type}):new te(d,"blob",{type:d.type})}if(p!==undefined){const i={type:d.type,lastModified:d.lastModified};d=d instanceof ie?new oe([d],p,i):new te(d,p,i)}}return{name:i,value:d}}i.exports={FormData:FormData,makeEntry:makeEntry}},42443:i=>{const d=Symbol.for("undici.globalOrigin.1");function getGlobalOrigin(){return globalThis[d]}function setGlobalOrigin(i){if(i===undefined){Object.defineProperty(globalThis,d,{value:undefined,writable:true,enumerable:false,configurable:false});return}const p=new URL(i);if(p.protocol!=="http:"&&p.protocol!=="https:"){throw new TypeError(`Only http & https urls are allowed, received ${p.protocol}`)}Object.defineProperty(globalThis,d,{value:p,writable:true,enumerable:false,configurable:false})}i.exports={getGlobalOrigin:getGlobalOrigin,setGlobalOrigin:setGlobalOrigin}},83676:(i,d,p)=>{const{kConstruct:v}=p(99411);const{kEnumerableProperty:V}=p(31544);const{iteratorMixin:K,isValidHeaderName:ee,isValidHeaderValue:te}=p(14296);const{webidl:re}=p(10253);const ne=p(34589);const ie=p(57975);const se=Symbol("headers map");const oe=Symbol("headers map sorted");function isHTTPWhiteSpaceCharCode(i){return i===10||i===13||i===9||i===32}function headerValueNormalize(i){let d=0;let p=i.length;while(p>d&&isHTTPWhiteSpaceCharCode(i.charCodeAt(p-1)))--p;while(p>d&&isHTTPWhiteSpaceCharCode(i.charCodeAt(d)))++d;return d===0&&p===i.length?i:i.substring(d,p)}function fill(i,d){if(Array.isArray(d)){for(let p=0;p>","record"]})}}function appendHeader(i,d,p){p=headerValueNormalize(p);if(!ee(d)){throw re.errors.invalidArgument({prefix:"Headers.append",value:d,type:"header name"})}else if(!te(p)){throw re.errors.invalidArgument({prefix:"Headers.append",value:p,type:"header value"})}if(ae(i)==="immutable"){throw new TypeError("immutable")}return le(i).append(d,p,false)}function compareHeaderName(i,d){return i[0]>1);if(d[te][0]<=re[0]){ee=te+1}else{K=te}}if(v!==te){V=v;while(V>ee){d[V]=d[--V]}d[ee]=re}}if(!p.next().done){throw new TypeError("Unreachable")}return d}else{let i=0;for(const{0:p,1:{value:v}}of this[se]){d[i++]=[p,v];ne(v!==null)}return d.sort(compareHeaderName)}}}class Headers{#q;#j;constructor(i=undefined){re.util.markAsUncloneable(this);if(i===v){return}this.#j=new HeadersList;this.#q="none";if(i!==undefined){i=re.converters.HeadersInit(i,"Headers contructor","init");fill(this,i)}}append(i,d){re.brandCheck(this,Headers);re.argumentLengthCheck(arguments,2,"Headers.append");const p="Headers.append";i=re.converters.ByteString(i,p,"name");d=re.converters.ByteString(d,p,"value");return appendHeader(this,i,d)}delete(i){re.brandCheck(this,Headers);re.argumentLengthCheck(arguments,1,"Headers.delete");const d="Headers.delete";i=re.converters.ByteString(i,d,"name");if(!ee(i)){throw re.errors.invalidArgument({prefix:"Headers.delete",value:i,type:"header name"})}if(this.#q==="immutable"){throw new TypeError("immutable")}if(!this.#j.contains(i,false)){return}this.#j.delete(i,false)}get(i){re.brandCheck(this,Headers);re.argumentLengthCheck(arguments,1,"Headers.get");const d="Headers.get";i=re.converters.ByteString(i,d,"name");if(!ee(i)){throw re.errors.invalidArgument({prefix:d,value:i,type:"header name"})}return this.#j.get(i,false)}has(i){re.brandCheck(this,Headers);re.argumentLengthCheck(arguments,1,"Headers.has");const d="Headers.has";i=re.converters.ByteString(i,d,"name");if(!ee(i)){throw re.errors.invalidArgument({prefix:d,value:i,type:"header name"})}return this.#j.contains(i,false)}set(i,d){re.brandCheck(this,Headers);re.argumentLengthCheck(arguments,2,"Headers.set");const p="Headers.set";i=re.converters.ByteString(i,p,"name");d=re.converters.ByteString(d,p,"value");d=headerValueNormalize(d);if(!ee(i)){throw re.errors.invalidArgument({prefix:p,value:i,type:"header name"})}else if(!te(d)){throw re.errors.invalidArgument({prefix:p,value:d,type:"header value"})}if(this.#q==="immutable"){throw new TypeError("immutable")}this.#j.set(i,d,false)}getSetCookie(){re.brandCheck(this,Headers);const i=this.#j.cookies;if(i){return[...i]}return[]}get[oe](){if(this.#j[oe]){return this.#j[oe]}const i=[];const d=this.#j.toSortedArray();const p=this.#j.cookies;if(p===null||p.length===1){return this.#j[oe]=d}for(let v=0;v>"](i,d,p,v.bind(i))}return re.converters["record"](i,d,p)}throw re.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};i.exports={fill:fill,compareHeaderName:compareHeaderName,Headers:Headers,HeadersList:HeadersList,getHeadersGuard:ae,setHeadersGuard:ce,setHeadersList:ue,getHeadersList:le}},47302:(i,d,p)=>{const{makeNetworkError:v,makeAppropriateNetworkError:V,filterResponse:K,makeResponse:ee,fromInnerResponse:te}=p(9107);const{HeadersList:re}=p(83676);const{Request:ne,cloneRequest:ie}=p(46055);const se=p(38522);const{bytesMatch:oe,makePolicyContainer:ae,clonePolicyContainer:ce,requestBadPort:le,TAOCheck:ue,appendRequestOriginHeader:Ae,responseLocationURL:de,requestCurrentURL:pe,setRequestReferrerPolicyOnRedirect:fe,tryUpgradeRequestToAPotentiallyTrustworthyURL:he,createOpaqueTimingInfo:ge,appendFetchMetadata:me,corsCheck:Ee,crossOriginResourcePolicyCheck:ye,determineRequestsReferrer:Ce,coarsenedSharedCurrentTime:be,createDeferredPromise:Ie,isBlobLike:Be,sameOrigin:we,isCancelled:Se,isAborted:Qe,isErrorLike:ve,fullyReadBody:Re,readableStreamClose:Te,isomorphicEncode:Ne,urlIsLocal:ke,urlIsHttpHttpsScheme:De,urlHasHttpsScheme:xe,clampAndCoarsenConnectionTimingInfo:_e,simpleRangeHeaderValue:Pe,buildContentRange:Oe,createInflate:Le,extractMimeType:Fe}=p(14296);const{kState:Me,kDispatcher:Ue}=p(64883);const He=p(34589);const{safelyExtractBody:Ge,extractBody:qe}=p(18900);const{redirectStatusSet:je,nullBodyStatus:Ve,safeMethodsSet:ze,requestBodyHeader:Ye,subresourceSet:We}=p(61207);const Je=p(78474);const{Readable:$e,pipeline:Ke,finished:Xe}=p(57075);const{addAbortListener:Ze,isErrored:At,isReadable:mt,bufferToLowerCasedHeaderName:Et}=p(31544);const{dataURLProcessor:yt,serializeAMimeType:Ct,minimizeSupportedMimeType:bt}=p(90980);const{getGlobalDispatcher:It}=p(5837);const{webidl:Bt}=p(10253);const{STATUS_CODES:wt}=p(37067);const St=["GET","HEAD"];const Qt=typeof __UNDICI_IS_NODE__!=="undefined"||typeof esbuildDetection!=="undefined"?"node":"undici";let vt;class Fetch extends Je{constructor(i){super();this.dispatcher=i;this.connection=null;this.dump=false;this.state="ongoing"}terminate(i){if(this.state!=="ongoing"){return}this.state="terminated";this.connection?.destroy(i);this.emit("terminated",i)}abort(i){if(this.state!=="ongoing"){return}this.state="aborted";if(!i){i=new DOMException("The operation was aborted.","AbortError")}this.serializedAbortReason=i;this.connection?.destroy(i);this.emit("terminated",i)}}function handleFetchDone(i){finalizeAndReportTiming(i,"fetch")}function fetch(i,d=undefined){Bt.argumentLengthCheck(arguments,1,"globalThis.fetch");let p=Ie();let v;try{v=new ne(i,d)}catch(i){p.reject(i);return p.promise}const V=v[Me];if(v.signal.aborted){abortFetch(p,V,null,v.signal.reason);return p.promise}const K=V.client.globalObject;if(K?.constructor?.name==="ServiceWorkerGlobalScope"){V.serviceWorkers="none"}let ee=null;let re=false;let ie=null;Ze(v.signal,(()=>{re=true;He(ie!=null);ie.abort(v.signal.reason);const i=ee?.deref();abortFetch(p,V,i,v.signal.reason)}));const processResponse=i=>{if(re){return}if(i.aborted){abortFetch(p,V,ee,ie.serializedAbortReason);return}if(i.type==="error"){p.reject(new TypeError("fetch failed",{cause:i.error}));return}ee=new WeakRef(te(i,"immutable"));p.resolve(ee.deref());p=null};ie=fetching({request:V,processResponseEndOfBody:handleFetchDone,processResponse:processResponse,dispatcher:v[Ue]});return p.promise}function finalizeAndReportTiming(i,d="other"){if(i.type==="error"&&i.aborted){return}if(!i.urlList?.length){return}const p=i.urlList[0];let v=i.timingInfo;let V=i.cacheState;if(!De(p)){return}if(v===null){return}if(!i.timingAllowPassed){v=ge({startTime:v.startTime});V=""}v.endTime=be();i.timingInfo=v;Rt(v,p.href,d,globalThis,V)}const Rt=performance.markResourceTiming;function abortFetch(i,d,p,v){if(i){i.reject(v)}if(d.body!=null&&mt(d.body?.stream)){d.body.stream.cancel(v).catch((i=>{if(i.code==="ERR_INVALID_STATE"){return}throw i}))}if(p==null){return}const V=p[Me];if(V.body!=null&&mt(V.body?.stream)){V.body.stream.cancel(v).catch((i=>{if(i.code==="ERR_INVALID_STATE"){return}throw i}))}}function fetching({request:i,processRequestBodyChunkLength:d,processRequestEndOfBody:p,processResponse:v,processResponseEndOfBody:V,processResponseConsumeBody:K,useParallelQueue:ee=false,dispatcher:te=It()}){He(te);let re=null;let ne=false;if(i.client!=null){re=i.client.globalObject;ne=i.client.crossOriginIsolatedCapability}const ie=be(ne);const se=ge({startTime:ie});const oe={controller:new Fetch(te),request:i,timingInfo:se,processRequestBodyChunkLength:d,processRequestEndOfBody:p,processResponse:v,processResponseConsumeBody:K,processResponseEndOfBody:V,taskDestination:re,crossOriginIsolatedCapability:ne};He(!i.body||i.body.stream);if(i.window==="client"){i.window=i.client?.globalObject?.constructor?.name==="Window"?i.client:"no-window"}if(i.origin==="client"){i.origin=i.client.origin}if(i.policyContainer==="client"){if(i.client!=null){i.policyContainer=ce(i.client.policyContainer)}else{i.policyContainer=ae()}}if(!i.headersList.contains("accept",true)){const d="*/*";i.headersList.append("accept",d,true)}if(!i.headersList.contains("accept-language",true)){i.headersList.append("accept-language","*",true)}if(i.priority===null){}if(We.has(i.destination)){}mainFetch(oe).catch((i=>{oe.controller.terminate(i)}));return oe.controller}async function mainFetch(i,d=false){const p=i.request;let V=null;if(p.localURLsOnly&&!ke(pe(p))){V=v("local URLs only")}he(p);if(le(p)==="blocked"){V=v("bad port")}if(p.referrerPolicy===""){p.referrerPolicy=p.policyContainer.referrerPolicy}if(p.referrer!=="no-referrer"){p.referrer=Ce(p)}if(V===null){V=await(async()=>{const d=pe(p);if(we(d,p.url)&&p.responseTainting==="basic"||d.protocol==="data:"||(p.mode==="navigate"||p.mode==="websocket")){p.responseTainting="basic";return await schemeFetch(i)}if(p.mode==="same-origin"){return v('request mode cannot be "same-origin"')}if(p.mode==="no-cors"){if(p.redirect!=="follow"){return v('redirect mode cannot be "follow" for "no-cors" request')}p.responseTainting="opaque";return await schemeFetch(i)}if(!De(pe(p))){return v("URL scheme must be a HTTP(S) scheme")}p.responseTainting="cors";return await httpFetch(i)})()}if(d){return V}if(V.status!==0&&!V.internalResponse){if(p.responseTainting==="cors"){}if(p.responseTainting==="basic"){V=K(V,"basic")}else if(p.responseTainting==="cors"){V=K(V,"cors")}else if(p.responseTainting==="opaque"){V=K(V,"opaque")}else{He(false)}}let ee=V.status===0?V:V.internalResponse;if(ee.urlList.length===0){ee.urlList.push(...p.urlList)}if(!p.timingAllowFailed){V.timingAllowPassed=true}if(V.type==="opaque"&&ee.status===206&&ee.rangeRequested&&!p.headers.contains("range",true)){V=ee=v()}if(V.status!==0&&(p.method==="HEAD"||p.method==="CONNECT"||Ve.includes(ee.status))){ee.body=null;i.controller.dump=true}if(p.integrity){const processBodyError=d=>fetchFinale(i,v(d));if(p.responseTainting==="opaque"||V.body==null){processBodyError(V.error);return}const processBody=d=>{if(!oe(d,p.integrity)){processBodyError("integrity mismatch");return}V.body=Ge(d)[0];fetchFinale(i,V)};await Re(V.body,processBody,processBodyError)}else{fetchFinale(i,V)}}function schemeFetch(i){if(Se(i)&&i.request.redirectCount===0){return Promise.resolve(V(i))}const{request:d}=i;const{protocol:K}=pe(d);switch(K){case"about:":{return Promise.resolve(v("about scheme is not supported"))}case"blob:":{if(!vt){vt=p(4573).resolveObjectURL}const i=pe(d);if(i.search.length!==0){return Promise.resolve(v("NetworkError when attempting to fetch resource."))}const V=vt(i.toString());if(d.method!=="GET"||!Be(V)){return Promise.resolve(v("invalid method"))}const K=ee();const te=V.size;const re=Ne(`${te}`);const ne=V.type;if(!d.headersList.contains("range",true)){const i=qe(V);K.statusText="OK";K.body=i[0];K.headersList.set("content-length",re,true);K.headersList.set("content-type",ne,true)}else{K.rangeRequested=true;const i=d.headersList.get("range",true);const p=Pe(i,true);if(p==="failure"){return Promise.resolve(v("failed to fetch the data URL"))}let{rangeStartValue:ee,rangeEndValue:re}=p;if(ee===null){ee=te-re;re=ee+re-1}else{if(ee>=te){return Promise.resolve(v("Range start is greater than the blob's size."))}if(re===null||re>=te){re=te-1}}const ie=V.slice(ee,re,ne);const se=qe(ie);K.body=se[0];const oe=Ne(`${ie.size}`);const ae=Oe(ee,re,te);K.status=206;K.statusText="Partial Content";K.headersList.set("content-length",oe,true);K.headersList.set("content-type",ne,true);K.headersList.set("content-range",ae,true)}return Promise.resolve(K)}case"data:":{const i=pe(d);const p=yt(i);if(p==="failure"){return Promise.resolve(v("failed to fetch the data URL"))}const V=Ct(p.mimeType);return Promise.resolve(ee({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:V}]],body:Ge(p.body)[0]}))}case"file:":{return Promise.resolve(v("not implemented... yet..."))}case"http:":case"https:":{return httpFetch(i).catch((i=>v(i)))}default:{return Promise.resolve(v("unknown scheme"))}}}function finalizeResponse(i,d){i.request.done=true;if(i.processResponseDone!=null){queueMicrotask((()=>i.processResponseDone(d)))}}function fetchFinale(i,d){let p=i.timingInfo;const processResponseEndOfBody=()=>{const v=Date.now();if(i.request.destination==="document"){i.controller.fullTimingInfo=p}i.controller.reportTimingSteps=()=>{if(i.request.url.protocol!=="https:"){return}p.endTime=v;let V=d.cacheState;const K=d.bodyInfo;if(!d.timingAllowPassed){p=ge(p);V=""}let ee=0;if(i.request.mode!=="navigator"||!d.hasCrossOriginRedirects){ee=d.status;const i=Fe(d.headersList);if(i!=="failure"){K.contentType=bt(i)}}if(i.request.initiatorType!=null){Rt(p,i.request.url.href,i.request.initiatorType,globalThis,V,K,ee)}};const processResponseEndOfBodyTask=()=>{i.request.done=true;if(i.processResponseEndOfBody!=null){queueMicrotask((()=>i.processResponseEndOfBody(d)))}if(i.request.initiatorType!=null){i.controller.reportTimingSteps()}};queueMicrotask((()=>processResponseEndOfBodyTask()))};if(i.processResponse!=null){queueMicrotask((()=>{i.processResponse(d);i.processResponse=null}))}const v=d.type==="error"?d:d.internalResponse??d;if(v.body==null){processResponseEndOfBody()}else{Xe(v.body.stream,(()=>{processResponseEndOfBody()}))}}async function httpFetch(i){const d=i.request;let p=null;let V=null;const K=i.timingInfo;if(d.serviceWorkers==="all"){}if(p===null){if(d.redirect==="follow"){d.serviceWorkers="none"}V=p=await httpNetworkOrCacheFetch(i);if(d.responseTainting==="cors"&&Ee(d,p)==="failure"){return v("cors failure")}if(ue(d,p)==="failure"){d.timingAllowFailed=true}}if((d.responseTainting==="opaque"||p.type==="opaque")&&ye(d.origin,d.client,d.destination,V)==="blocked"){return v("blocked")}if(je.has(V.status)){if(d.redirect!=="manual"){i.controller.connection.destroy(undefined,false)}if(d.redirect==="error"){p=v("unexpected redirect")}else if(d.redirect==="manual"){p=V}else if(d.redirect==="follow"){p=await httpRedirectFetch(i,p)}else{He(false)}}p.timingInfo=K;return p}function httpRedirectFetch(i,d){const p=i.request;const V=d.internalResponse?d.internalResponse:d;let K;try{K=de(V,pe(p).hash);if(K==null){return d}}catch(i){return Promise.resolve(v(i))}if(!De(K)){return Promise.resolve(v("URL scheme must be a HTTP(S) scheme"))}if(p.redirectCount===20){return Promise.resolve(v("redirect count exceeded"))}p.redirectCount+=1;if(p.mode==="cors"&&(K.username||K.password)&&!we(p,K)){return Promise.resolve(v('cross origin not allowed for request mode "cors"'))}if(p.responseTainting==="cors"&&(K.username||K.password)){return Promise.resolve(v('URL cannot contain credentials for request mode "cors"'))}if(V.status!==303&&p.body!=null&&p.body.source==null){return Promise.resolve(v())}if([301,302].includes(V.status)&&p.method==="POST"||V.status===303&&!St.includes(p.method)){p.method="GET";p.body=null;for(const i of Ye){p.headersList.delete(i)}}if(!we(pe(p),K)){p.headersList.delete("authorization",true);p.headersList.delete("proxy-authorization",true);p.headersList.delete("cookie",true);p.headersList.delete("host",true)}if(p.body!=null){He(p.body.source!=null);p.body=Ge(p.body.source)[0]}const ee=i.timingInfo;ee.redirectEndTime=ee.postRedirectStartTime=be(i.crossOriginIsolatedCapability);if(ee.redirectStartTime===0){ee.redirectStartTime=ee.startTime}p.urlList.push(K);fe(p,V);return mainFetch(i,true)}async function httpNetworkOrCacheFetch(i,d=false,p=false){const K=i.request;let ee=null;let te=null;let re=null;const ne=null;const se=false;if(K.window==="no-window"&&K.redirect==="error"){ee=i;te=K}else{te=ie(K);ee={...i};ee.request=te}const oe=K.credentials==="include"||K.credentials==="same-origin"&&K.responseTainting==="basic";const ae=te.body?te.body.length:null;let ce=null;if(te.body==null&&["POST","PUT"].includes(te.method)){ce="0"}if(ae!=null){ce=Ne(`${ae}`)}if(ce!=null){te.headersList.append("content-length",ce,true)}if(ae!=null&&te.keepalive){}if(te.referrer instanceof URL){te.headersList.append("referer",Ne(te.referrer.href),true)}Ae(te);me(te);if(!te.headersList.contains("user-agent",true)){te.headersList.append("user-agent",Qt)}if(te.cache==="default"&&(te.headersList.contains("if-modified-since",true)||te.headersList.contains("if-none-match",true)||te.headersList.contains("if-unmodified-since",true)||te.headersList.contains("if-match",true)||te.headersList.contains("if-range",true))){te.cache="no-store"}if(te.cache==="no-cache"&&!te.preventNoCacheCacheControlHeaderModification&&!te.headersList.contains("cache-control",true)){te.headersList.append("cache-control","max-age=0",true)}if(te.cache==="no-store"||te.cache==="reload"){if(!te.headersList.contains("pragma",true)){te.headersList.append("pragma","no-cache",true)}if(!te.headersList.contains("cache-control",true)){te.headersList.append("cache-control","no-cache",true)}}if(te.headersList.contains("range",true)){te.headersList.append("accept-encoding","identity",true)}if(!te.headersList.contains("accept-encoding",true)){if(xe(pe(te))){te.headersList.append("accept-encoding","br, gzip, deflate",true)}else{te.headersList.append("accept-encoding","gzip, deflate",true)}}te.headersList.delete("host",true);if(oe){}if(ne==null){te.cache="no-store"}if(te.cache!=="no-store"&&te.cache!=="reload"){}if(re==null){if(te.cache==="only-if-cached"){return v("only if cached")}const i=await httpNetworkFetch(ee,oe,p);if(!ze.has(te.method)&&i.status>=200&&i.status<=399){}if(se&&i.status===304){}if(re==null){re=i}}re.urlList=[...te.urlList];if(te.headersList.contains("range",true)){re.rangeRequested=true}re.requestIncludesCredentials=oe;if(re.status===407){if(K.window==="no-window"){return v()}if(Se(i)){return V(i)}return v("proxy authentication required")}if(re.status===421&&!p&&(K.body==null||K.body.source!=null)){if(Se(i)){return V(i)}i.controller.connection.destroy();re=await httpNetworkOrCacheFetch(i,d,true)}if(d){}return re}async function httpNetworkFetch(i,d=false,p=false){He(!i.controller.connection||i.controller.connection.destroyed);i.controller.connection={abort:null,destroyed:false,destroy(i,d=true){if(!this.destroyed){this.destroyed=true;if(d){this.abort?.(i??new DOMException("The operation was aborted.","AbortError"))}}}};const K=i.request;let te=null;const ne=i.timingInfo;const ie=null;if(ie==null){K.cache="no-store"}const oe=p?"yes":"no";if(K.mode==="websocket"){}else{}let ae=null;if(K.body==null&&i.processRequestEndOfBody){queueMicrotask((()=>i.processRequestEndOfBody()))}else if(K.body!=null){const processBodyChunk=async function*(d){if(Se(i)){return}yield d;i.processRequestBodyChunkLength?.(d.byteLength)};const processEndOfBody=()=>{if(Se(i)){return}if(i.processRequestEndOfBody){i.processRequestEndOfBody()}};const processBodyError=d=>{if(Se(i)){return}if(d.name==="AbortError"){i.controller.abort()}else{i.controller.terminate(d)}};ae=async function*(){try{for await(const i of K.body.stream){yield*processBodyChunk(i)}processEndOfBody()}catch(i){processBodyError(i)}}()}try{const{body:d,status:p,statusText:v,headersList:V,socket:K}=await dispatch({body:ae});if(K){te=ee({status:p,statusText:v,headersList:V,socket:K})}else{const K=d[Symbol.asyncIterator]();i.controller.next=()=>K.next();te=ee({status:p,statusText:v,headersList:V})}}catch(d){if(d.name==="AbortError"){i.controller.connection.destroy();return V(i,d)}return v(d)}const pullAlgorithm=async()=>{await i.controller.resume()};const cancelAlgorithm=d=>{if(!Se(i)){i.controller.abort(d)}};const ce=new ReadableStream({async start(d){i.controller.controller=d},async pull(i){await pullAlgorithm(i)},async cancel(i){await cancelAlgorithm(i)},type:"bytes"});te.body={stream:ce,source:null,length:null};i.controller.onAborted=onAborted;i.controller.on("terminated",onAborted);i.controller.resume=async()=>{while(true){let d;let p;try{const{done:p,value:v}=await i.controller.next();if(Qe(i)){break}d=p?undefined:v}catch(v){if(i.controller.ended&&!ne.encodedBodySize){d=undefined}else{d=v;p=true}}if(d===undefined){Te(i.controller.controller);finalizeResponse(i,te);return}ne.decodedBodySize+=d?.byteLength??0;if(p){i.controller.terminate(d);return}const v=new Uint8Array(d);if(v.byteLength){i.controller.controller.enqueue(v)}if(At(ce)){i.controller.terminate();return}if(i.controller.controller.desiredSize<=0){return}}};function onAborted(d){if(Qe(i)){te.aborted=true;if(mt(ce)){i.controller.controller.error(i.controller.serializedAbortReason)}}else{if(mt(ce)){i.controller.controller.error(new TypeError("terminated",{cause:ve(d)?d:undefined}))}}i.controller.connection.destroy()}return te;function dispatch({body:d}){const p=pe(K);const v=i.controller.dispatcher;return new Promise(((V,ee)=>v.dispatch({path:p.pathname+p.search,origin:p.origin,method:K.method,body:v.isMockActive?K.body&&(K.body.source||K.body.stream):d,headers:K.headersList.entries,maxRedirections:0,upgrade:K.mode==="websocket"?"websocket":undefined},{body:null,abort:null,onConnect(d){const{connection:p}=i.controller;ne.finalConnectionTimingInfo=_e(undefined,ne.postRedirectStartTime,i.crossOriginIsolatedCapability);if(p.destroyed){d(new DOMException("The operation was aborted.","AbortError"))}else{i.controller.on("terminated",d);this.abort=p.abort=d}ne.finalNetworkRequestStartTime=be(i.crossOriginIsolatedCapability)},onResponseStarted(){ne.finalNetworkResponseStartTime=be(i.crossOriginIsolatedCapability)},onHeaders(i,d,p,v){if(i<200){return}let te="";const ne=new re;for(let i=0;ip){ee(new Error(`too many content-encodings in response: ${d.length}, maximum allowed is ${p}`));return true}for(let i=d.length-1;i>=0;--i){const p=d[i].trim();if(p==="x-gzip"||p==="gzip"){ie.push(se.createGunzip({flush:se.constants.Z_SYNC_FLUSH,finishFlush:se.constants.Z_SYNC_FLUSH}))}else if(p==="deflate"){ie.push(Le({flush:se.constants.Z_SYNC_FLUSH,finishFlush:se.constants.Z_SYNC_FLUSH}))}else if(p==="br"){ie.push(se.createBrotliDecompress({flush:se.constants.BROTLI_OPERATION_FLUSH,finishFlush:se.constants.BROTLI_OPERATION_FLUSH}))}else{ie.length=0;break}}}const ae=this.onError.bind(this);V({status:i,statusText:v,headersList:ne,body:ie.length?Ke(this.body,...ie,(i=>{if(i){this.onError(i)}})).on("error",ae):this.body.on("error",ae)});return true},onData(d){if(i.controller.dump){return}const p=d;ne.encodedBodySize+=p.byteLength;return this.body.push(p)},onComplete(){if(this.abort){i.controller.off("terminated",this.abort)}if(i.controller.onAborted){i.controller.off("terminated",i.controller.onAborted)}i.controller.ended=true;this.body.push(null)},onError(d){if(this.abort){i.controller.off("terminated",this.abort)}this.body?.destroy(d);i.controller.terminate(d);ee(d)},onUpgrade(i,d,p){if(i!==101){return}const v=new re;for(let i=0;i{const{extractBody:v,mixinBody:V,cloneBody:K,bodyUnusable:ee}=p(18900);const{Headers:te,fill:re,HeadersList:ne,setHeadersGuard:ie,getHeadersGuard:se,setHeadersList:oe,getHeadersList:ae}=p(83676);const{FinalizationRegistry:ce}=p(40933)();const le=p(31544);const ue=p(57975);const{isValidHTTPToken:Ae,sameOrigin:de,environmentSettingsObject:pe}=p(14296);const{forbiddenMethodsSet:fe,corsSafeListedMethodsSet:he,referrerPolicy:ge,requestRedirect:me,requestMode:Ee,requestCredentials:ye,requestCache:Ce,requestDuplex:be}=p(61207);const{kEnumerableProperty:Ie,normalizedMethodRecordsBase:Be,normalizedMethodRecords:we}=le;const{kHeaders:Se,kSignal:Qe,kState:ve,kDispatcher:Re}=p(64883);const{webidl:Te}=p(10253);const{URLSerializer:Ne}=p(90980);const{kConstruct:ke}=p(99411);const De=p(34589);const{getMaxListeners:xe,setMaxListeners:_e,getEventListeners:Pe,defaultMaxListeners:Oe}=p(78474);const Le=Symbol("abortController");const Fe=new ce((({signal:i,abort:d})=>{i.removeEventListener("abort",d)}));const Me=new WeakMap;function buildAbort(i){return abort;function abort(){const d=i.deref();if(d!==undefined){Fe.unregister(abort);this.removeEventListener("abort",abort);d.abort(this.reason);const i=Me.get(d.signal);if(i!==undefined){if(i.size!==0){for(const d of i){const i=d.deref();if(i!==undefined){i.abort(this.reason)}}i.clear()}Me.delete(d.signal)}}}}let Ue=false;class Request{constructor(i,d={}){Te.util.markAsUncloneable(this);if(i===ke){return}const p="Request constructor";Te.argumentLengthCheck(arguments,1,p);i=Te.converters.RequestInfo(i,p,"input");d=Te.converters.RequestInit(d,p,"init");let V=null;let K=null;const se=pe.settingsObject.baseUrl;let ce=null;if(typeof i==="string"){this[Re]=d.dispatcher;let p;try{p=new URL(i,se)}catch(d){throw new TypeError("Failed to parse URL from "+i,{cause:d})}if(p.username||p.password){throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+i)}V=makeRequest({urlList:[p]});K="cors"}else{this[Re]=d.dispatcher||i[Re];De(i instanceof Request);V=i[ve];ce=i[Qe]}const ue=pe.settingsObject.origin;let ge="client";if(V.window?.constructor?.name==="EnvironmentSettingsObject"&&de(V.window,ue)){ge=V.window}if(d.window!=null){throw new TypeError(`'window' option '${ge}' must be null`)}if("window"in d){ge="no-window"}V=makeRequest({method:V.method,headersList:V.headersList,unsafeRequest:V.unsafeRequest,client:pe.settingsObject,window:ge,priority:V.priority,origin:V.origin,referrer:V.referrer,referrerPolicy:V.referrerPolicy,mode:V.mode,credentials:V.credentials,cache:V.cache,redirect:V.redirect,integrity:V.integrity,keepalive:V.keepalive,reloadNavigation:V.reloadNavigation,historyNavigation:V.historyNavigation,urlList:[...V.urlList]});const me=Object.keys(d).length!==0;if(me){if(V.mode==="navigate"){V.mode="same-origin"}V.reloadNavigation=false;V.historyNavigation=false;V.origin="client";V.referrer="client";V.referrerPolicy="";V.url=V.urlList[V.urlList.length-1];V.urlList=[V.url]}if(d.referrer!==undefined){const i=d.referrer;if(i===""){V.referrer="no-referrer"}else{let d;try{d=new URL(i,se)}catch(d){throw new TypeError(`Referrer "${i}" is not a valid URL.`,{cause:d})}if(d.protocol==="about:"&&d.hostname==="client"||ue&&!de(d,pe.settingsObject.baseUrl)){V.referrer="client"}else{V.referrer=d}}}if(d.referrerPolicy!==undefined){V.referrerPolicy=d.referrerPolicy}let Ee;if(d.mode!==undefined){Ee=d.mode}else{Ee=K}if(Ee==="navigate"){throw Te.errors.exception({header:"Request constructor",message:"invalid request mode navigate."})}if(Ee!=null){V.mode=Ee}if(d.credentials!==undefined){V.credentials=d.credentials}if(d.cache!==undefined){V.cache=d.cache}if(V.cache==="only-if-cached"&&V.mode!=="same-origin"){throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode")}if(d.redirect!==undefined){V.redirect=d.redirect}if(d.integrity!=null){V.integrity=String(d.integrity)}if(d.keepalive!==undefined){V.keepalive=Boolean(d.keepalive)}if(d.method!==undefined){let i=d.method;const p=we[i];if(p!==undefined){V.method=p}else{if(!Ae(i)){throw new TypeError(`'${i}' is not a valid HTTP method.`)}const d=i.toUpperCase();if(fe.has(d)){throw new TypeError(`'${i}' HTTP method is unsupported.`)}i=Be[d]??i;V.method=i}if(!Ue&&V.method==="patch"){process.emitWarning("Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.",{code:"UNDICI-FETCH-patch"});Ue=true}}if(d.signal!==undefined){ce=d.signal}this[ve]=V;const ye=new AbortController;this[Qe]=ye.signal;if(ce!=null){if(!ce||typeof ce.aborted!=="boolean"||typeof ce.addEventListener!=="function"){throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.")}if(ce.aborted){ye.abort(ce.reason)}else{this[Le]=ye;const i=new WeakRef(ye);const d=buildAbort(i);try{if(typeof xe==="function"&&xe(ce)===Oe){_e(1500,ce)}else if(Pe(ce,"abort").length>=Oe){_e(1500,ce)}}catch{}le.addAbortListener(ce,d);Fe.register(ye,{signal:ce,abort:d},d)}}this[Se]=new te(ke);oe(this[Se],V.headersList);ie(this[Se],"request");if(Ee==="no-cors"){if(!he.has(V.method)){throw new TypeError(`'${V.method} is unsupported in no-cors mode.`)}ie(this[Se],"request-no-cors")}if(me){const i=ae(this[Se]);const p=d.headers!==undefined?d.headers:new ne(i);i.clear();if(p instanceof ne){for(const{name:d,value:v}of p.rawValues()){i.append(d,v,false)}i.cookies=p.cookies}else{re(this[Se],p)}}const Ce=i instanceof Request?i[ve].body:null;if((d.body!=null||Ce!=null)&&(V.method==="GET"||V.method==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body.")}let be=null;if(d.body!=null){const[i,p]=v(d.body,V.keepalive);be=i;if(p&&!ae(this[Se]).contains("content-type",true)){this[Se].append("content-type",p)}}const Ie=be??Ce;if(Ie!=null&&Ie.source==null){if(be!=null&&d.duplex==null){throw new TypeError("RequestInit: duplex option is required when sending a body.")}if(V.mode!=="same-origin"&&V.mode!=="cors"){throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"')}V.useCORSPreflightFlag=true}let Ne=Ie;if(be==null&&Ce!=null){if(ee(i)){throw new TypeError("Cannot construct a Request with a Request object that has already been used.")}const d=new TransformStream;Ce.stream.pipeThrough(d);Ne={source:Ce.source,length:Ce.length,stream:d.readable}}this[ve].body=Ne}get method(){Te.brandCheck(this,Request);return this[ve].method}get url(){Te.brandCheck(this,Request);return Ne(this[ve].url)}get headers(){Te.brandCheck(this,Request);return this[Se]}get destination(){Te.brandCheck(this,Request);return this[ve].destination}get referrer(){Te.brandCheck(this,Request);if(this[ve].referrer==="no-referrer"){return""}if(this[ve].referrer==="client"){return"about:client"}return this[ve].referrer.toString()}get referrerPolicy(){Te.brandCheck(this,Request);return this[ve].referrerPolicy}get mode(){Te.brandCheck(this,Request);return this[ve].mode}get credentials(){return this[ve].credentials}get cache(){Te.brandCheck(this,Request);return this[ve].cache}get redirect(){Te.brandCheck(this,Request);return this[ve].redirect}get integrity(){Te.brandCheck(this,Request);return this[ve].integrity}get keepalive(){Te.brandCheck(this,Request);return this[ve].keepalive}get isReloadNavigation(){Te.brandCheck(this,Request);return this[ve].reloadNavigation}get isHistoryNavigation(){Te.brandCheck(this,Request);return this[ve].historyNavigation}get signal(){Te.brandCheck(this,Request);return this[Qe]}get body(){Te.brandCheck(this,Request);return this[ve].body?this[ve].body.stream:null}get bodyUsed(){Te.brandCheck(this,Request);return!!this[ve].body&&le.isDisturbed(this[ve].body.stream)}get duplex(){Te.brandCheck(this,Request);return"half"}clone(){Te.brandCheck(this,Request);if(ee(this)){throw new TypeError("unusable")}const i=cloneRequest(this[ve]);const d=new AbortController;if(this.signal.aborted){d.abort(this.signal.reason)}else{let i=Me.get(this.signal);if(i===undefined){i=new Set;Me.set(this.signal,i)}const p=new WeakRef(d);i.add(p);le.addAbortListener(d.signal,buildAbort(p))}return fromInnerRequest(i,d.signal,se(this[Se]))}[ue.inspect.custom](i,d){if(d.depth===null){d.depth=2}d.colors??=true;const p={method:this.method,url:this.url,headers:this.headers,destination:this.destination,referrer:this.referrer,referrerPolicy:this.referrerPolicy,mode:this.mode,credentials:this.credentials,cache:this.cache,redirect:this.redirect,integrity:this.integrity,keepalive:this.keepalive,isReloadNavigation:this.isReloadNavigation,isHistoryNavigation:this.isHistoryNavigation,signal:this.signal};return`Request ${ue.formatWithOptions(d,p)}`}}V(Request);function makeRequest(i){return{method:i.method??"GET",localURLsOnly:i.localURLsOnly??false,unsafeRequest:i.unsafeRequest??false,body:i.body??null,client:i.client??null,reservedClient:i.reservedClient??null,replacesClientId:i.replacesClientId??"",window:i.window??"client",keepalive:i.keepalive??false,serviceWorkers:i.serviceWorkers??"all",initiator:i.initiator??"",destination:i.destination??"",priority:i.priority??null,origin:i.origin??"client",policyContainer:i.policyContainer??"client",referrer:i.referrer??"client",referrerPolicy:i.referrerPolicy??"",mode:i.mode??"no-cors",useCORSPreflightFlag:i.useCORSPreflightFlag??false,credentials:i.credentials??"same-origin",useCredentials:i.useCredentials??false,cache:i.cache??"default",redirect:i.redirect??"follow",integrity:i.integrity??"",cryptoGraphicsNonceMetadata:i.cryptoGraphicsNonceMetadata??"",parserMetadata:i.parserMetadata??"",reloadNavigation:i.reloadNavigation??false,historyNavigation:i.historyNavigation??false,userActivation:i.userActivation??false,taintedOrigin:i.taintedOrigin??false,redirectCount:i.redirectCount??0,responseTainting:i.responseTainting??"basic",preventNoCacheCacheControlHeaderModification:i.preventNoCacheCacheControlHeaderModification??false,done:i.done??false,timingAllowFailed:i.timingAllowFailed??false,urlList:i.urlList,url:i.urlList[0],headersList:i.headersList?new ne(i.headersList):new ne}}function cloneRequest(i){const d=makeRequest({...i,body:null});if(i.body!=null){d.body=K(d,i.body)}return d}function fromInnerRequest(i,d,p){const v=new Request(ke);v[ve]=i;v[Qe]=d;v[Se]=new te(ke);oe(v[Se],i.headersList);ie(v[Se],p);return v}Object.defineProperties(Request.prototype,{method:Ie,url:Ie,headers:Ie,redirect:Ie,clone:Ie,signal:Ie,duplex:Ie,destination:Ie,body:Ie,bodyUsed:Ie,isHistoryNavigation:Ie,isReloadNavigation:Ie,keepalive:Ie,integrity:Ie,cache:Ie,credentials:Ie,attribute:Ie,referrerPolicy:Ie,referrer:Ie,mode:Ie,[Symbol.toStringTag]:{value:"Request",configurable:true}});Te.converters.Request=Te.interfaceConverter(Request);Te.converters.RequestInfo=function(i,d,p){if(typeof i==="string"){return Te.converters.USVString(i,d,p)}if(i instanceof Request){return Te.converters.Request(i,d,p)}return Te.converters.USVString(i,d,p)};Te.converters.AbortSignal=Te.interfaceConverter(AbortSignal);Te.converters.RequestInit=Te.dictionaryConverter([{key:"method",converter:Te.converters.ByteString},{key:"headers",converter:Te.converters.HeadersInit},{key:"body",converter:Te.nullableConverter(Te.converters.BodyInit)},{key:"referrer",converter:Te.converters.USVString},{key:"referrerPolicy",converter:Te.converters.DOMString,allowedValues:ge},{key:"mode",converter:Te.converters.DOMString,allowedValues:Ee},{key:"credentials",converter:Te.converters.DOMString,allowedValues:ye},{key:"cache",converter:Te.converters.DOMString,allowedValues:Ce},{key:"redirect",converter:Te.converters.DOMString,allowedValues:me},{key:"integrity",converter:Te.converters.DOMString},{key:"keepalive",converter:Te.converters.boolean},{key:"signal",converter:Te.nullableConverter((i=>Te.converters.AbortSignal(i,"RequestInit","signal",{strict:false})))},{key:"window",converter:Te.converters.any},{key:"duplex",converter:Te.converters.DOMString,allowedValues:be},{key:"dispatcher",converter:Te.converters.any}]);i.exports={Request:Request,makeRequest:makeRequest,fromInnerRequest:fromInnerRequest,cloneRequest:cloneRequest}},9107:(i,d,p)=>{const{Headers:v,HeadersList:V,fill:K,getHeadersGuard:ee,setHeadersGuard:te,setHeadersList:re}=p(83676);const{extractBody:ne,cloneBody:ie,mixinBody:se,hasFinalizationRegistry:oe,streamRegistry:ae,bodyUnusable:ce}=p(18900);const le=p(31544);const ue=p(57975);const{kEnumerableProperty:Ae}=le;const{isValidReasonPhrase:de,isCancelled:pe,isAborted:fe,isBlobLike:he,serializeJavascriptValueToJSONString:ge,isErrorLike:me,isomorphicEncode:Ee,environmentSettingsObject:ye}=p(14296);const{redirectStatusSet:Ce,nullBodyStatus:be}=p(61207);const{kState:Ie,kHeaders:Be}=p(64883);const{webidl:we}=p(10253);const{FormData:Se}=p(79662);const{URLSerializer:Qe}=p(90980);const{kConstruct:ve}=p(99411);const Re=p(34589);const{types:Te}=p(57975);const Ne=new TextEncoder("utf-8");class Response{static error(){const i=fromInnerResponse(makeNetworkError(),"immutable");return i}static json(i,d={}){we.argumentLengthCheck(arguments,1,"Response.json");if(d!==null){d=we.converters.ResponseInit(d)}const p=Ne.encode(ge(i));const v=ne(p);const V=fromInnerResponse(makeResponse({}),"response");initializeResponse(V,d,{body:v[0],type:"application/json"});return V}static redirect(i,d=302){we.argumentLengthCheck(arguments,1,"Response.redirect");i=we.converters.USVString(i);d=we.converters["unsigned short"](d);let p;try{p=new URL(i,ye.settingsObject.baseUrl)}catch(d){throw new TypeError(`Failed to parse URL from ${i}`,{cause:d})}if(!Ce.has(d)){throw new RangeError(`Invalid status code ${d}`)}const v=fromInnerResponse(makeResponse({}),"immutable");v[Ie].status=d;const V=Ee(Qe(p));v[Ie].headersList.append("location",V,true);return v}constructor(i=null,d={}){we.util.markAsUncloneable(this);if(i===ve){return}if(i!==null){i=we.converters.BodyInit(i)}d=we.converters.ResponseInit(d);this[Ie]=makeResponse({});this[Be]=new v(ve);te(this[Be],"response");re(this[Be],this[Ie].headersList);let p=null;if(i!=null){const[d,v]=ne(i);p={body:d,type:v}}initializeResponse(this,d,p)}get type(){we.brandCheck(this,Response);return this[Ie].type}get url(){we.brandCheck(this,Response);const i=this[Ie].urlList;const d=i[i.length-1]??null;if(d===null){return""}return Qe(d,true)}get redirected(){we.brandCheck(this,Response);return this[Ie].urlList.length>1}get status(){we.brandCheck(this,Response);return this[Ie].status}get ok(){we.brandCheck(this,Response);return this[Ie].status>=200&&this[Ie].status<=299}get statusText(){we.brandCheck(this,Response);return this[Ie].statusText}get headers(){we.brandCheck(this,Response);return this[Be]}get body(){we.brandCheck(this,Response);return this[Ie].body?this[Ie].body.stream:null}get bodyUsed(){we.brandCheck(this,Response);return!!this[Ie].body&&le.isDisturbed(this[Ie].body.stream)}clone(){we.brandCheck(this,Response);if(ce(this)){throw we.errors.exception({header:"Response.clone",message:"Body has already been consumed."})}const i=cloneResponse(this[Ie]);if(oe&&this[Ie].body?.stream){ae.register(this,new WeakRef(this[Ie].body.stream))}return fromInnerResponse(i,ee(this[Be]))}[ue.inspect.custom](i,d){if(d.depth===null){d.depth=2}d.colors??=true;const p={status:this.status,statusText:this.statusText,headers:this.headers,body:this.body,bodyUsed:this.bodyUsed,ok:this.ok,redirected:this.redirected,type:this.type,url:this.url};return`Response ${ue.formatWithOptions(d,p)}`}}se(Response);Object.defineProperties(Response.prototype,{type:Ae,url:Ae,status:Ae,ok:Ae,redirected:Ae,statusText:Ae,headers:Ae,clone:Ae,body:Ae,bodyUsed:Ae,[Symbol.toStringTag]:{value:"Response",configurable:true}});Object.defineProperties(Response,{json:Ae,redirect:Ae,error:Ae});function cloneResponse(i){if(i.internalResponse){return filterResponse(cloneResponse(i.internalResponse),i.type)}const d=makeResponse({...i,body:null});if(i.body!=null){d.body=ie(d,i.body)}return d}function makeResponse(i){return{aborted:false,rangeRequested:false,timingAllowPassed:false,requestIncludesCredentials:false,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...i,headersList:i?.headersList?new V(i?.headersList):new V,urlList:i?.urlList?[...i.urlList]:[]}}function makeNetworkError(i){const d=me(i);return makeResponse({type:"error",status:0,error:d?i:new Error(i?String(i):i),aborted:i&&i.name==="AbortError"})}function isNetworkError(i){return i.type==="error"&&i.status===0}function makeFilteredResponse(i,d){d={internalResponse:i,...d};return new Proxy(i,{get(i,p){return p in d?d[p]:i[p]},set(i,p,v){Re(!(p in d));i[p]=v;return true}})}function filterResponse(i,d){if(d==="basic"){return makeFilteredResponse(i,{type:"basic",headersList:i.headersList})}else if(d==="cors"){return makeFilteredResponse(i,{type:"cors",headersList:i.headersList})}else if(d==="opaque"){return makeFilteredResponse(i,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null})}else if(d==="opaqueredirect"){return makeFilteredResponse(i,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null})}else{Re(false)}}function makeAppropriateNetworkError(i,d=null){Re(pe(i));return fe(i)?makeNetworkError(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:d})):makeNetworkError(Object.assign(new DOMException("Request was cancelled."),{cause:d}))}function initializeResponse(i,d,p){if(d.status!==null&&(d.status<200||d.status>599)){throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.')}if("statusText"in d&&d.statusText!=null){if(!de(String(d.statusText))){throw new TypeError("Invalid statusText")}}if("status"in d&&d.status!=null){i[Ie].status=d.status}if("statusText"in d&&d.statusText!=null){i[Ie].statusText=d.statusText}if("headers"in d&&d.headers!=null){K(i[Be],d.headers)}if(p){if(be.includes(i.status)){throw we.errors.exception({header:"Response constructor",message:`Invalid response status code ${i.status}`})}i[Ie].body=p.body;if(p.type!=null&&!i[Ie].headersList.contains("content-type",true)){i[Ie].headersList.append("content-type",p.type,true)}}}function fromInnerResponse(i,d){const p=new Response(ve);p[Ie]=i;p[Be]=new v(ve);re(p[Be],i.headersList);te(p[Be],d);if(oe&&i.body?.stream){ae.register(p,new WeakRef(i.body.stream))}return p}we.converters.ReadableStream=we.interfaceConverter(ReadableStream);we.converters.FormData=we.interfaceConverter(Se);we.converters.URLSearchParams=we.interfaceConverter(URLSearchParams);we.converters.XMLHttpRequestBodyInit=function(i,d,p){if(typeof i==="string"){return we.converters.USVString(i,d,p)}if(he(i)){return we.converters.Blob(i,d,p,{strict:false})}if(ArrayBuffer.isView(i)||Te.isArrayBuffer(i)){return we.converters.BufferSource(i,d,p)}if(le.isFormDataLike(i)){return we.converters.FormData(i,d,p,{strict:false})}if(i instanceof URLSearchParams){return we.converters.URLSearchParams(i,d,p)}return we.converters.DOMString(i,d,p)};we.converters.BodyInit=function(i,d,p){if(i instanceof ReadableStream){return we.converters.ReadableStream(i,d,p)}if(i?.[Symbol.asyncIterator]){return i}return we.converters.XMLHttpRequestBodyInit(i,d,p)};we.converters.ResponseInit=we.dictionaryConverter([{key:"status",converter:we.converters["unsigned short"],defaultValue:()=>200},{key:"statusText",converter:we.converters.ByteString,defaultValue:()=>""},{key:"headers",converter:we.converters.HeadersInit}]);i.exports={isNetworkError:isNetworkError,makeNetworkError:makeNetworkError,makeResponse:makeResponse,makeAppropriateNetworkError:makeAppropriateNetworkError,filterResponse:filterResponse,Response:Response,cloneResponse:cloneResponse,fromInnerResponse:fromInnerResponse}},64883:i=>{i.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}},14296:(i,d,p)=>{const{Transform:v}=p(57075);const V=p(38522);const{redirectStatusSet:K,referrerPolicySet:ee,badPortsSet:te}=p(61207);const{getGlobalOrigin:re}=p(42443);const{collectASequenceOfCodePoints:ne,collectAnHTTPQuotedString:ie,removeChars:se,parseMIMEType:oe}=p(90980);const{performance:ae}=p(643);const{isBlobLike:ce,ReadableStreamFrom:le,isValidHTTPToken:ue,normalizedMethodRecordsBase:Ae}=p(31544);const de=p(34589);const{isUint8Array:pe}=p(73429);const{webidl:fe}=p(10253);let he=[];let ge;try{ge=p(77598);const i=["sha256","sha384","sha512"];he=ge.getHashes().filter((d=>i.includes(d)))}catch{}function responseURL(i){const d=i.urlList;const p=d.length;return p===0?null:d[p-1].toString()}function responseLocationURL(i,d){if(!K.has(i.status)){return null}let p=i.headersList.get("location",true);if(p!==null&&isValidHeaderValue(p)){if(!isValidEncodedURL(p)){p=normalizeBinaryStringToUtf8(p)}p=new URL(p,responseURL(i))}if(p&&!p.hash){p.hash=d}return p}function isValidEncodedURL(i){for(let d=0;d126||p<32){return false}}return true}function normalizeBinaryStringToUtf8(i){return Buffer.from(i,"binary").toString("utf8")}function requestCurrentURL(i){return i.urlList[i.urlList.length-1]}function requestBadPort(i){const d=requestCurrentURL(i);if(urlIsHttpHttpsScheme(d)&&te.has(d.port)){return"blocked"}return"allowed"}function isErrorLike(i){return i instanceof Error||(i?.constructor?.name==="Error"||i?.constructor?.name==="DOMException")}function isValidReasonPhrase(i){for(let d=0;d=32&&p<=126||p>=128&&p<=255)){return false}}return true}const me=ue;function isValidHeaderValue(i){return(i[0]==="\t"||i[0]===" "||i[i.length-1]==="\t"||i[i.length-1]===" "||i.includes("\n")||i.includes("\r")||i.includes("\0"))===false}function setRequestReferrerPolicyOnRedirect(i,d){const{headersList:p}=d;const v=(p.get("referrer-policy",true)??"").split(",");let V="";if(v.length>0){for(let i=v.length;i!==0;i--){const d=v[i-1].trim();if(ee.has(d)){V=d;break}}}if(V!==""){i.referrerPolicy=V}}function crossOriginResourcePolicyCheck(){return"allowed"}function corsCheck(){return"success"}function TAOCheck(){return"success"}function appendFetchMetadata(i){let d=null;d=i.mode;i.headersList.set("sec-fetch-mode",d,true)}function appendRequestOriginHeader(i){let d=i.origin;if(d==="client"||d===undefined){return}if(i.responseTainting==="cors"||i.mode==="websocket"){i.headersList.append("origin",d,true)}else if(i.method!=="GET"&&i.method!=="HEAD"){switch(i.referrerPolicy){case"no-referrer":d=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":if(i.origin&&urlHasHttpsScheme(i.origin)&&!urlHasHttpsScheme(requestCurrentURL(i))){d=null}break;case"same-origin":if(!sameOrigin(i,requestCurrentURL(i))){d=null}break;default:}i.headersList.append("origin",d,true)}}function coarsenTime(i,d){return i}function clampAndCoarsenConnectionTimingInfo(i,d,p){if(!i?.startTime||i.startTime4096){v=V}const K=sameOrigin(i,v);const ee=isURLPotentiallyTrustworthy(v)&&!isURLPotentiallyTrustworthy(i.url);switch(d){case"origin":return V!=null?V:stripURLForReferrer(p,true);case"unsafe-url":return v;case"same-origin":return K?V:"no-referrer";case"origin-when-cross-origin":return K?v:V;case"strict-origin-when-cross-origin":{const d=requestCurrentURL(i);if(sameOrigin(v,d)){return v}if(isURLPotentiallyTrustworthy(v)&&!isURLPotentiallyTrustworthy(d)){return"no-referrer"}return V}case"strict-origin":case"no-referrer-when-downgrade":default:return ee?"no-referrer":V}}function stripURLForReferrer(i,d){de(i instanceof URL);i=new URL(i);if(i.protocol==="file:"||i.protocol==="about:"||i.protocol==="blank:"){return"no-referrer"}i.username="";i.password="";i.hash="";if(d){i.pathname="";i.search=""}return i}function isURLPotentiallyTrustworthy(i){if(!(i instanceof URL)){return false}if(i.href==="about:blank"||i.href==="about:srcdoc"){return true}if(i.protocol==="data:")return true;if(i.protocol==="file:")return true;return isOriginPotentiallyTrustworthy(i.origin);function isOriginPotentiallyTrustworthy(i){if(i==null||i==="null")return false;const d=new URL(i);if(d.protocol==="https:"||d.protocol==="wss:"){return true}if(/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(d.hostname)||(d.hostname==="localhost"||d.hostname.includes("localhost."))||d.hostname.endsWith(".localhost")){return true}return false}}function bytesMatch(i,d){if(ge===undefined){return true}const p=parseMetadata(d);if(p==="no metadata"){return true}if(p.length===0){return true}const v=getStrongestMetadata(p);const V=filterMetadataListByAlgorithm(p,v);for(const d of V){const p=d.algo;const v=d.hash;let V=ge.createHash(p).update(i).digest("base64");if(V[V.length-1]==="="){if(V[V.length-2]==="="){V=V.slice(0,-2)}else{V=V.slice(0,-1)}}if(compareBase64Mixed(V,v)){return true}}return false}const Ee=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function parseMetadata(i){const d=[];let p=true;for(const v of i.split(" ")){p=false;const i=Ee.exec(v);if(i===null||i.groups===undefined||i.groups.algo===undefined){continue}const V=i.groups.algo.toLowerCase();if(he.includes(V)){d.push(i.groups)}}if(p===true){return"no metadata"}return d}function getStrongestMetadata(i){let d=i[0].algo;if(d[3]==="5"){return d}for(let p=1;p{i=p;d=v}));return{promise:p,resolve:i,reject:d}}function isAborted(i){return i.controller.state==="aborted"}function isCancelled(i){return i.controller.state==="aborted"||i.controller.state==="terminated"}function normalizeMethod(i){return Ae[i.toLowerCase()]??i}function serializeJavascriptValueToJSONString(i){const d=JSON.stringify(i);if(d===undefined){throw new TypeError("Value is not JSON serializable")}de(typeof d==="string");return d}const ye=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function createIterator(i,d,p=0,v=1){class FastIterableIterator{#V;#z;#Y;constructor(i,d){this.#V=i;this.#z=d;this.#Y=0}next(){if(typeof this!=="object"||this===null||!(#V in this)){throw new TypeError(`'next' called on an object that does not implement interface ${i} Iterator.`)}const V=this.#Y;const K=this.#V[d];const ee=K.length;if(V>=ee){return{value:undefined,done:true}}const{[p]:te,[v]:re}=K[V];this.#Y=V+1;let ne;switch(this.#z){case"key":ne=te;break;case"value":ne=re;break;case"key+value":ne=[te,re];break}return{value:ne,done:false}}}delete FastIterableIterator.prototype.constructor;Object.setPrototypeOf(FastIterableIterator.prototype,ye);Object.defineProperties(FastIterableIterator.prototype,{[Symbol.toStringTag]:{writable:false,enumerable:false,configurable:true,value:`${i} Iterator`},next:{writable:true,enumerable:true,configurable:true}});return function(i,d){return new FastIterableIterator(i,d)}}function iteratorMixin(i,d,p,v=0,V=1){const K=createIterator(i,p,v,V);const ee={keys:{writable:true,enumerable:true,configurable:true,value:function keys(){fe.brandCheck(this,d);return K(this,"key")}},values:{writable:true,enumerable:true,configurable:true,value:function values(){fe.brandCheck(this,d);return K(this,"value")}},entries:{writable:true,enumerable:true,configurable:true,value:function entries(){fe.brandCheck(this,d);return K(this,"key+value")}},forEach:{writable:true,enumerable:true,configurable:true,value:function forEach(p,v=globalThis){fe.brandCheck(this,d);fe.argumentLengthCheck(arguments,1,`${i}.forEach`);if(typeof p!=="function"){throw new TypeError(`Failed to execute 'forEach' on '${i}': parameter 1 is not of type 'Function'.`)}for(const{0:i,1:d}of K(this,"key+value")){p.call(v,d,i,this)}}}};return Object.defineProperties(d.prototype,{...ee,[Symbol.iterator]:{writable:true,enumerable:false,configurable:true,value:ee.entries.value}})}async function fullyReadBody(i,d,p){const v=d;const V=p;let K;try{K=i.stream.getReader()}catch(i){V(i);return}try{v(await readAllBytes(K))}catch(i){V(i)}}function isReadableStreamLike(i){return i instanceof ReadableStream||i[Symbol.toStringTag]==="ReadableStream"&&typeof i.tee==="function"}function readableStreamClose(i){try{i.close();i.byobRequest?.respond(0)}catch(i){if(!i.message.includes("Controller is already closed")&&!i.message.includes("ReadableStream is already closed")){throw i}}}const Ce=/[^\x00-\xFF]/;function isomorphicEncode(i){de(!Ce.test(i));return i}async function readAllBytes(i){const d=[];let p=0;while(true){const{done:v,value:V}=await i.read();if(v){return Buffer.concat(d,p)}if(!pe(V)){throw new TypeError("Received non-Uint8Array chunk")}d.push(V);p+=V.length}}function urlIsLocal(i){de("protocol"in i);const d=i.protocol;return d==="about:"||d==="blob:"||d==="data:"}function urlHasHttpsScheme(i){return typeof i==="string"&&i[5]===":"&&i[0]==="h"&&i[1]==="t"&&i[2]==="t"&&i[3]==="p"&&i[4]==="s"||i.protocol==="https:"}function urlIsHttpHttpsScheme(i){de("protocol"in i);const d=i.protocol;return d==="http:"||d==="https:"}function simpleRangeHeaderValue(i,d){const p=i;if(!p.startsWith("bytes")){return"failure"}const v={position:5};if(d){ne((i=>i==="\t"||i===" "),p,v)}if(p.charCodeAt(v.position)!==61){return"failure"}v.position++;if(d){ne((i=>i==="\t"||i===" "),p,v)}const V=ne((i=>{const d=i.charCodeAt(0);return d>=48&&d<=57}),p,v);const K=V.length?Number(V):null;if(d){ne((i=>i==="\t"||i===" "),p,v)}if(p.charCodeAt(v.position)!==45){return"failure"}v.position++;if(d){ne((i=>i==="\t"||i===" "),p,v)}const ee=ne((i=>{const d=i.charCodeAt(0);return d>=48&&d<=57}),p,v);const te=ee.length?Number(ee):null;if(v.positionte){return"failure"}return{rangeStartValue:K,rangeEndValue:te}}function buildContentRange(i,d,p){let v="bytes ";v+=isomorphicEncode(`${i}`);v+="-";v+=isomorphicEncode(`${d}`);v+="/";v+=isomorphicEncode(`${p}`);return v}class InflateStream extends v{#W;constructor(i){super();this.#W=i}_transform(i,d,p){if(!this._inflateStream){if(i.length===0){p();return}this._inflateStream=(i[0]&15)===8?V.createInflate(this.#W):V.createInflateRaw(this.#W);this._inflateStream.on("data",this.push.bind(this));this._inflateStream.on("end",(()=>this.push(null)));this._inflateStream.on("error",(i=>this.destroy(i)))}this._inflateStream.write(i,d,p)}_final(i){if(this._inflateStream){this._inflateStream.end();this._inflateStream=null}i()}}function createInflate(i){return new InflateStream(i)}function extractMimeType(i){let d=null;let p=null;let v=null;const V=getDecodeSplit("content-type",i);if(V===null){return"failure"}for(const i of V){const V=oe(i);if(V==="failure"||V.essence==="*/*"){continue}v=V;if(v.essence!==p){d=null;if(v.parameters.has("charset")){d=v.parameters.get("charset")}p=v.essence}else if(!v.parameters.has("charset")&&d!==null){v.parameters.set("charset",d)}}if(v==null){return"failure"}return v}function gettingDecodingSplitting(i){const d=i;const p={position:0};const v=[];let V="";while(p.positioni!=='"'&&i!==","),d,p);if(p.positioni===9||i===32));v.push(V);V=""}return v}function getDecodeSplit(i,d){const p=d.get(i,true);if(p===null){return null}return gettingDecodingSplitting(p)}const be=new TextDecoder;function utf8DecodeBytes(i){if(i.length===0){return""}if(i[0]===239&&i[1]===187&&i[2]===191){i=i.subarray(3)}const d=be.decode(i);return d}class EnvironmentSettingsObjectBase{get baseUrl(){return re()}get origin(){return this.baseUrl?.origin}policyContainer=makePolicyContainer()}class EnvironmentSettingsObject{settingsObject=new EnvironmentSettingsObjectBase}const Ie=new EnvironmentSettingsObject;i.exports={isAborted:isAborted,isCancelled:isCancelled,isValidEncodedURL:isValidEncodedURL,createDeferredPromise:createDeferredPromise,ReadableStreamFrom:le,tryUpgradeRequestToAPotentiallyTrustworthyURL:tryUpgradeRequestToAPotentiallyTrustworthyURL,clampAndCoarsenConnectionTimingInfo:clampAndCoarsenConnectionTimingInfo,coarsenedSharedCurrentTime:coarsenedSharedCurrentTime,determineRequestsReferrer:determineRequestsReferrer,makePolicyContainer:makePolicyContainer,clonePolicyContainer:clonePolicyContainer,appendFetchMetadata:appendFetchMetadata,appendRequestOriginHeader:appendRequestOriginHeader,TAOCheck:TAOCheck,corsCheck:corsCheck,crossOriginResourcePolicyCheck:crossOriginResourcePolicyCheck,createOpaqueTimingInfo:createOpaqueTimingInfo,setRequestReferrerPolicyOnRedirect:setRequestReferrerPolicyOnRedirect,isValidHTTPToken:ue,requestBadPort:requestBadPort,requestCurrentURL:requestCurrentURL,responseURL:responseURL,responseLocationURL:responseLocationURL,isBlobLike:ce,isURLPotentiallyTrustworthy:isURLPotentiallyTrustworthy,isValidReasonPhrase:isValidReasonPhrase,sameOrigin:sameOrigin,normalizeMethod:normalizeMethod,serializeJavascriptValueToJSONString:serializeJavascriptValueToJSONString,iteratorMixin:iteratorMixin,createIterator:createIterator,isValidHeaderName:me,isValidHeaderValue:isValidHeaderValue,isErrorLike:isErrorLike,fullyReadBody:fullyReadBody,bytesMatch:bytesMatch,isReadableStreamLike:isReadableStreamLike,readableStreamClose:readableStreamClose,isomorphicEncode:isomorphicEncode,urlIsLocal:urlIsLocal,urlHasHttpsScheme:urlHasHttpsScheme,urlIsHttpHttpsScheme:urlIsHttpHttpsScheme,readAllBytes:readAllBytes,simpleRangeHeaderValue:simpleRangeHeaderValue,buildContentRange:buildContentRange,parseMetadata:parseMetadata,createInflate:createInflate,extractMimeType:extractMimeType,getDecodeSplit:getDecodeSplit,utf8DecodeBytes:utf8DecodeBytes,environmentSettingsObject:Ie}},10253:(i,d,p)=>{const{types:v,inspect:V}=p(57975);const{markAsUncloneable:K}=p(75919);const{toUSVString:ee}=p(31544);const te={};te.converters={};te.util={};te.errors={};te.errors.exception=function(i){return new TypeError(`${i.header}: ${i.message}`)};te.errors.conversionFailed=function(i){const d=i.types.length===1?"":" one of";const p=`${i.argument} could not be converted to`+`${d}: ${i.types.join(", ")}.`;return te.errors.exception({header:i.prefix,message:p})};te.errors.invalidArgument=function(i){return te.errors.exception({header:i.prefix,message:`"${i.value}" is an invalid ${i.type}.`})};te.brandCheck=function(i,d,p){if(p?.strict!==false){if(!(i instanceof d)){const i=new TypeError("Illegal invocation");i.code="ERR_INVALID_THIS";throw i}}else{if(i?.[Symbol.toStringTag]!==d.prototype[Symbol.toStringTag]){const i=new TypeError("Illegal invocation");i.code="ERR_INVALID_THIS";throw i}}};te.argumentLengthCheck=function({length:i},d,p){if(i{});te.util.ConvertToInt=function(i,d,p,v){let V;let K;if(d===64){V=Math.pow(2,53)-1;if(p==="unsigned"){K=0}else{K=Math.pow(-2,53)+1}}else if(p==="unsigned"){K=0;V=Math.pow(2,d)-1}else{K=Math.pow(-2,d)-1;V=Math.pow(2,d-1)-1}let ee=Number(i);if(ee===0){ee=0}if(v?.enforceRange===true){if(Number.isNaN(ee)||ee===Number.POSITIVE_INFINITY||ee===Number.NEGATIVE_INFINITY){throw te.errors.exception({header:"Integer conversion",message:`Could not convert ${te.util.Stringify(i)} to an integer.`})}ee=te.util.IntegerPart(ee);if(eeV){throw te.errors.exception({header:"Integer conversion",message:`Value must be between ${K}-${V}, got ${ee}.`})}return ee}if(!Number.isNaN(ee)&&v?.clamp===true){ee=Math.min(Math.max(ee,K),V);if(Math.floor(ee)%2===0){ee=Math.floor(ee)}else{ee=Math.ceil(ee)}return ee}if(Number.isNaN(ee)||ee===0&&Object.is(0,ee)||ee===Number.POSITIVE_INFINITY||ee===Number.NEGATIVE_INFINITY){return 0}ee=te.util.IntegerPart(ee);ee=ee%Math.pow(2,d);if(p==="signed"&&ee>=Math.pow(2,d)-1){return ee-Math.pow(2,d)}return ee};te.util.IntegerPart=function(i){const d=Math.floor(Math.abs(i));if(i<0){return-1*d}return d};te.util.Stringify=function(i){const d=te.util.Type(i);switch(d){case"Symbol":return`Symbol(${i.description})`;case"Object":return V(i);case"String":return`"${i}"`;default:return`${i}`}};te.sequenceConverter=function(i){return(d,p,v,V)=>{if(te.util.Type(d)!=="Object"){throw te.errors.exception({header:p,message:`${v} (${te.util.Stringify(d)}) is not iterable.`})}const K=typeof V==="function"?V():d?.[Symbol.iterator]?.();const ee=[];let re=0;if(K===undefined||typeof K.next!=="function"){throw te.errors.exception({header:p,message:`${v} is not iterable.`})}while(true){const{done:d,value:V}=K.next();if(d){break}ee.push(i(V,p,`${v}[${re++}]`))}return ee}};te.recordConverter=function(i,d){return(p,V,K)=>{if(te.util.Type(p)!=="Object"){throw te.errors.exception({header:V,message:`${K} ("${te.util.Type(p)}") is not an Object.`})}const ee={};if(!v.isProxy(p)){const v=[...Object.getOwnPropertyNames(p),...Object.getOwnPropertySymbols(p)];for(const te of v){const v=i(te,V,K);const re=d(p[te],V,K);ee[v]=re}return ee}const re=Reflect.ownKeys(p);for(const v of re){const te=Reflect.getOwnPropertyDescriptor(p,v);if(te?.enumerable){const te=i(v,V,K);const re=d(p[v],V,K);ee[te]=re}}return ee}};te.interfaceConverter=function(i){return(d,p,v,V)=>{if(V?.strict!==false&&!(d instanceof i)){throw te.errors.exception({header:p,message:`Expected ${v} ("${te.util.Stringify(d)}") to be an instance of ${i.name}.`})}return d}};te.dictionaryConverter=function(i){return(d,p,v)=>{const V=te.util.Type(d);const K={};if(V==="Null"||V==="Undefined"){return K}else if(V!=="Object"){throw te.errors.exception({header:p,message:`Expected ${d} to be one of: Null, Undefined, Object.`})}for(const V of i){const{key:i,defaultValue:ee,required:re,converter:ne}=V;if(re===true){if(!Object.hasOwn(d,i)){throw te.errors.exception({header:p,message:`Missing required key "${i}".`})}}let ie=d[i];const se=Object.hasOwn(V,"defaultValue");if(se&&ie!==null){ie??=ee()}if(re||se||ie!==undefined){ie=ne(ie,p,`${v}.${i}`);if(V.allowedValues&&!V.allowedValues.includes(ie)){throw te.errors.exception({header:p,message:`${ie} is not an accepted type. Expected one of ${V.allowedValues.join(", ")}.`})}K[i]=ie}}return K}};te.nullableConverter=function(i){return(d,p,v)=>{if(d===null){return d}return i(d,p,v)}};te.converters.DOMString=function(i,d,p,v){if(i===null&&v?.legacyNullToEmptyString){return""}if(typeof i==="symbol"){throw te.errors.exception({header:d,message:`${p} is a symbol, which cannot be converted to a DOMString.`})}return String(i)};te.converters.ByteString=function(i,d,p){const v=te.converters.DOMString(i,d,p);for(let i=0;i255){throw new TypeError("Cannot convert argument to a ByteString because the character at "+`index ${i} has a value of ${v.charCodeAt(i)} which is greater than 255.`)}}return v};te.converters.USVString=ee;te.converters.boolean=function(i){const d=Boolean(i);return d};te.converters.any=function(i){return i};te.converters["long long"]=function(i,d,p){const v=te.util.ConvertToInt(i,64,"signed",undefined,d,p);return v};te.converters["unsigned long long"]=function(i,d,p){const v=te.util.ConvertToInt(i,64,"unsigned",undefined,d,p);return v};te.converters["unsigned long"]=function(i,d,p){const v=te.util.ConvertToInt(i,32,"unsigned",undefined,d,p);return v};te.converters["unsigned short"]=function(i,d,p,v){const V=te.util.ConvertToInt(i,16,"unsigned",v,d,p);return V};te.converters.ArrayBuffer=function(i,d,p,V){if(te.util.Type(i)!=="Object"||!v.isAnyArrayBuffer(i)){throw te.errors.conversionFailed({prefix:d,argument:`${p} ("${te.util.Stringify(i)}")`,types:["ArrayBuffer"]})}if(V?.allowShared===false&&v.isSharedArrayBuffer(i)){throw te.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}if(i.resizable||i.growable){throw te.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."})}return i};te.converters.TypedArray=function(i,d,p,V,K){if(te.util.Type(i)!=="Object"||!v.isTypedArray(i)||i.constructor.name!==d.name){throw te.errors.conversionFailed({prefix:p,argument:`${V} ("${te.util.Stringify(i)}")`,types:[d.name]})}if(K?.allowShared===false&&v.isSharedArrayBuffer(i.buffer)){throw te.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}if(i.buffer.resizable||i.buffer.growable){throw te.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."})}return i};te.converters.DataView=function(i,d,p,V){if(te.util.Type(i)!=="Object"||!v.isDataView(i)){throw te.errors.exception({header:d,message:`${p} is not a DataView.`})}if(V?.allowShared===false&&v.isSharedArrayBuffer(i.buffer)){throw te.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}if(i.buffer.resizable||i.buffer.growable){throw te.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."})}return i};te.converters.BufferSource=function(i,d,p,V){if(v.isAnyArrayBuffer(i)){return te.converters.ArrayBuffer(i,d,p,{...V,allowShared:false})}if(v.isTypedArray(i)){return te.converters.TypedArray(i,i.constructor,d,p,{...V,allowShared:false})}if(v.isDataView(i)){return te.converters.DataView(i,d,p,{...V,allowShared:false})}throw te.errors.conversionFailed({prefix:d,argument:`${p} ("${te.util.Stringify(i)}")`,types:["BufferSource"]})};te.converters["sequence"]=te.sequenceConverter(te.converters.ByteString);te.converters["sequence>"]=te.sequenceConverter(te.converters["sequence"]);te.converters["record"]=te.recordConverter(te.converters.ByteString,te.converters.ByteString);i.exports={webidl:te}},65207:i=>{function getEncoding(i){if(!i){return"failure"}switch(i.trim().toLowerCase()){case"unicode-1-1-utf-8":case"unicode11utf8":case"unicode20utf8":case"utf-8":case"utf8":case"x-unicode20utf8":return"UTF-8";case"866":case"cp866":case"csibm866":case"ibm866":return"IBM866";case"csisolatin2":case"iso-8859-2":case"iso-ir-101":case"iso8859-2":case"iso88592":case"iso_8859-2":case"iso_8859-2:1987":case"l2":case"latin2":return"ISO-8859-2";case"csisolatin3":case"iso-8859-3":case"iso-ir-109":case"iso8859-3":case"iso88593":case"iso_8859-3":case"iso_8859-3:1988":case"l3":case"latin3":return"ISO-8859-3";case"csisolatin4":case"iso-8859-4":case"iso-ir-110":case"iso8859-4":case"iso88594":case"iso_8859-4":case"iso_8859-4:1988":case"l4":case"latin4":return"ISO-8859-4";case"csisolatincyrillic":case"cyrillic":case"iso-8859-5":case"iso-ir-144":case"iso8859-5":case"iso88595":case"iso_8859-5":case"iso_8859-5:1988":return"ISO-8859-5";case"arabic":case"asmo-708":case"csiso88596e":case"csiso88596i":case"csisolatinarabic":case"ecma-114":case"iso-8859-6":case"iso-8859-6-e":case"iso-8859-6-i":case"iso-ir-127":case"iso8859-6":case"iso88596":case"iso_8859-6":case"iso_8859-6:1987":return"ISO-8859-6";case"csisolatingreek":case"ecma-118":case"elot_928":case"greek":case"greek8":case"iso-8859-7":case"iso-ir-126":case"iso8859-7":case"iso88597":case"iso_8859-7":case"iso_8859-7:1987":case"sun_eu_greek":return"ISO-8859-7";case"csiso88598e":case"csisolatinhebrew":case"hebrew":case"iso-8859-8":case"iso-8859-8-e":case"iso-ir-138":case"iso8859-8":case"iso88598":case"iso_8859-8":case"iso_8859-8:1988":case"visual":return"ISO-8859-8";case"csiso88598i":case"iso-8859-8-i":case"logical":return"ISO-8859-8-I";case"csisolatin6":case"iso-8859-10":case"iso-ir-157":case"iso8859-10":case"iso885910":case"l6":case"latin6":return"ISO-8859-10";case"iso-8859-13":case"iso8859-13":case"iso885913":return"ISO-8859-13";case"iso-8859-14":case"iso8859-14":case"iso885914":return"ISO-8859-14";case"csisolatin9":case"iso-8859-15":case"iso8859-15":case"iso885915":case"iso_8859-15":case"l9":return"ISO-8859-15";case"iso-8859-16":return"ISO-8859-16";case"cskoi8r":case"koi":case"koi8":case"koi8-r":case"koi8_r":return"KOI8-R";case"koi8-ru":case"koi8-u":return"KOI8-U";case"csmacintosh":case"mac":case"macintosh":case"x-mac-roman":return"macintosh";case"iso-8859-11":case"iso8859-11":case"iso885911":case"tis-620":case"windows-874":return"windows-874";case"cp1250":case"windows-1250":case"x-cp1250":return"windows-1250";case"cp1251":case"windows-1251":case"x-cp1251":return"windows-1251";case"ansi_x3.4-1968":case"ascii":case"cp1252":case"cp819":case"csisolatin1":case"ibm819":case"iso-8859-1":case"iso-ir-100":case"iso8859-1":case"iso88591":case"iso_8859-1":case"iso_8859-1:1987":case"l1":case"latin1":case"us-ascii":case"windows-1252":case"x-cp1252":return"windows-1252";case"cp1253":case"windows-1253":case"x-cp1253":return"windows-1253";case"cp1254":case"csisolatin5":case"iso-8859-9":case"iso-ir-148":case"iso8859-9":case"iso88599":case"iso_8859-9":case"iso_8859-9:1989":case"l5":case"latin5":case"windows-1254":case"x-cp1254":return"windows-1254";case"cp1255":case"windows-1255":case"x-cp1255":return"windows-1255";case"cp1256":case"windows-1256":case"x-cp1256":return"windows-1256";case"cp1257":case"windows-1257":case"x-cp1257":return"windows-1257";case"cp1258":case"windows-1258":case"x-cp1258":return"windows-1258";case"x-mac-cyrillic":case"x-mac-ukrainian":return"x-mac-cyrillic";case"chinese":case"csgb2312":case"csiso58gb231280":case"gb2312":case"gb_2312":case"gb_2312-80":case"gbk":case"iso-ir-58":case"x-gbk":return"GBK";case"gb18030":return"gb18030";case"big5":case"big5-hkscs":case"cn-big5":case"csbig5":case"x-x-big5":return"Big5";case"cseucpkdfmtjapanese":case"euc-jp":case"x-euc-jp":return"EUC-JP";case"csiso2022jp":case"iso-2022-jp":return"ISO-2022-JP";case"csshiftjis":case"ms932":case"ms_kanji":case"shift-jis":case"shift_jis":case"sjis":case"windows-31j":case"x-sjis":return"Shift_JIS";case"cseuckr":case"csksc56011987":case"euc-kr":case"iso-ir-149":case"korean":case"ks_c_5601-1987":case"ks_c_5601-1989":case"ksc5601":case"ksc_5601":case"windows-949":return"EUC-KR";case"csiso2022kr":case"hz-gb-2312":case"iso-2022-cn":case"iso-2022-cn-ext":case"iso-2022-kr":case"replacement":return"replacement";case"unicodefffe":case"utf-16be":return"UTF-16BE";case"csunicode":case"iso-10646-ucs-2":case"ucs-2":case"unicode":case"unicodefeff":case"utf-16":case"utf-16le":return"UTF-16LE";case"x-user-defined":return"x-user-defined";default:return"failure"}}i.exports={getEncoding:getEncoding}},96299:(i,d,p)=>{const{staticPropertyDescriptors:v,readOperation:V,fireAProgressEvent:K}=p(77522);const{kState:ee,kError:te,kResult:re,kEvents:ne,kAborted:ie}=p(9657);const{webidl:se}=p(10253);const{kEnumerableProperty:oe}=p(31544);class FileReader extends EventTarget{constructor(){super();this[ee]="empty";this[re]=null;this[te]=null;this[ne]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(i){se.brandCheck(this,FileReader);se.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer");i=se.converters.Blob(i,{strict:false});V(this,i,"ArrayBuffer")}readAsBinaryString(i){se.brandCheck(this,FileReader);se.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString");i=se.converters.Blob(i,{strict:false});V(this,i,"BinaryString")}readAsText(i,d=undefined){se.brandCheck(this,FileReader);se.argumentLengthCheck(arguments,1,"FileReader.readAsText");i=se.converters.Blob(i,{strict:false});if(d!==undefined){d=se.converters.DOMString(d,"FileReader.readAsText","encoding")}V(this,i,"Text",d)}readAsDataURL(i){se.brandCheck(this,FileReader);se.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL");i=se.converters.Blob(i,{strict:false});V(this,i,"DataURL")}abort(){if(this[ee]==="empty"||this[ee]==="done"){this[re]=null;return}if(this[ee]==="loading"){this[ee]="done";this[re]=null}this[ie]=true;K("abort",this);if(this[ee]!=="loading"){K("loadend",this)}}get readyState(){se.brandCheck(this,FileReader);switch(this[ee]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){se.brandCheck(this,FileReader);return this[re]}get error(){se.brandCheck(this,FileReader);return this[te]}get onloadend(){se.brandCheck(this,FileReader);return this[ne].loadend}set onloadend(i){se.brandCheck(this,FileReader);if(this[ne].loadend){this.removeEventListener("loadend",this[ne].loadend)}if(typeof i==="function"){this[ne].loadend=i;this.addEventListener("loadend",i)}else{this[ne].loadend=null}}get onerror(){se.brandCheck(this,FileReader);return this[ne].error}set onerror(i){se.brandCheck(this,FileReader);if(this[ne].error){this.removeEventListener("error",this[ne].error)}if(typeof i==="function"){this[ne].error=i;this.addEventListener("error",i)}else{this[ne].error=null}}get onloadstart(){se.brandCheck(this,FileReader);return this[ne].loadstart}set onloadstart(i){se.brandCheck(this,FileReader);if(this[ne].loadstart){this.removeEventListener("loadstart",this[ne].loadstart)}if(typeof i==="function"){this[ne].loadstart=i;this.addEventListener("loadstart",i)}else{this[ne].loadstart=null}}get onprogress(){se.brandCheck(this,FileReader);return this[ne].progress}set onprogress(i){se.brandCheck(this,FileReader);if(this[ne].progress){this.removeEventListener("progress",this[ne].progress)}if(typeof i==="function"){this[ne].progress=i;this.addEventListener("progress",i)}else{this[ne].progress=null}}get onload(){se.brandCheck(this,FileReader);return this[ne].load}set onload(i){se.brandCheck(this,FileReader);if(this[ne].load){this.removeEventListener("load",this[ne].load)}if(typeof i==="function"){this[ne].load=i;this.addEventListener("load",i)}else{this[ne].load=null}}get onabort(){se.brandCheck(this,FileReader);return this[ne].abort}set onabort(i){se.brandCheck(this,FileReader);if(this[ne].abort){this.removeEventListener("abort",this[ne].abort)}if(typeof i==="function"){this[ne].abort=i;this.addEventListener("abort",i)}else{this[ne].abort=null}}}FileReader.EMPTY=FileReader.prototype.EMPTY=0;FileReader.LOADING=FileReader.prototype.LOADING=1;FileReader.DONE=FileReader.prototype.DONE=2;Object.defineProperties(FileReader.prototype,{EMPTY:v,LOADING:v,DONE:v,readAsArrayBuffer:oe,readAsBinaryString:oe,readAsText:oe,readAsDataURL:oe,abort:oe,readyState:oe,result:oe,error:oe,onloadstart:oe,onprogress:oe,onload:oe,onabort:oe,onerror:oe,onloadend:oe,[Symbol.toStringTag]:{value:"FileReader",writable:false,enumerable:false,configurable:true}});Object.defineProperties(FileReader,{EMPTY:v,LOADING:v,DONE:v});i.exports={FileReader:FileReader}},32981:(i,d,p)=>{const{webidl:v}=p(10253);const V=Symbol("ProgressEvent state");class ProgressEvent extends Event{constructor(i,d={}){i=v.converters.DOMString(i,"ProgressEvent constructor","type");d=v.converters.ProgressEventInit(d??{});super(i,d);this[V]={lengthComputable:d.lengthComputable,loaded:d.loaded,total:d.total}}get lengthComputable(){v.brandCheck(this,ProgressEvent);return this[V].lengthComputable}get loaded(){v.brandCheck(this,ProgressEvent);return this[V].loaded}get total(){v.brandCheck(this,ProgressEvent);return this[V].total}}v.converters.ProgressEventInit=v.dictionaryConverter([{key:"lengthComputable",converter:v.converters.boolean,defaultValue:()=>false},{key:"loaded",converter:v.converters["unsigned long long"],defaultValue:()=>0},{key:"total",converter:v.converters["unsigned long long"],defaultValue:()=>0},{key:"bubbles",converter:v.converters.boolean,defaultValue:()=>false},{key:"cancelable",converter:v.converters.boolean,defaultValue:()=>false},{key:"composed",converter:v.converters.boolean,defaultValue:()=>false}]);i.exports={ProgressEvent:ProgressEvent}},9657:i=>{i.exports={kState:Symbol("FileReader state"),kResult:Symbol("FileReader result"),kError:Symbol("FileReader error"),kLastProgressEventFired:Symbol("FileReader last progress event fired timestamp"),kEvents:Symbol("FileReader events"),kAborted:Symbol("FileReader aborted")}},77522:(i,d,p)=>{const{kState:v,kError:V,kResult:K,kAborted:ee,kLastProgressEventFired:te}=p(9657);const{ProgressEvent:re}=p(32981);const{getEncoding:ne}=p(65207);const{serializeAMimeType:ie,parseMIMEType:se}=p(90980);const{types:oe}=p(57975);const{StringDecoder:ae}=p(13193);const{btoa:ce}=p(4573);const le={enumerable:true,writable:false,configurable:false};function readOperation(i,d,p,re){if(i[v]==="loading"){throw new DOMException("Invalid state","InvalidStateError")}i[v]="loading";i[K]=null;i[V]=null;const ne=d.stream();const ie=ne.getReader();const se=[];let ae=ie.read();let ce=true;(async()=>{while(!i[ee]){try{const{done:ne,value:le}=await ae;if(ce&&!i[ee]){queueMicrotask((()=>{fireAProgressEvent("loadstart",i)}))}ce=false;if(!ne&&oe.isUint8Array(le)){se.push(le);if((i[te]===undefined||Date.now()-i[te]>=50)&&!i[ee]){i[te]=Date.now();queueMicrotask((()=>{fireAProgressEvent("progress",i)}))}ae=ie.read()}else if(ne){queueMicrotask((()=>{i[v]="done";try{const v=packageData(se,p,d.type,re);if(i[ee]){return}i[K]=v;fireAProgressEvent("load",i)}catch(d){i[V]=d;fireAProgressEvent("error",i)}if(i[v]!=="loading"){fireAProgressEvent("loadend",i)}}));break}}catch(d){if(i[ee]){return}queueMicrotask((()=>{i[v]="done";i[V]=d;fireAProgressEvent("error",i);if(i[v]!=="loading"){fireAProgressEvent("loadend",i)}}));break}}})()}function fireAProgressEvent(i,d){const p=new re(i,{bubbles:false,cancelable:false});d.dispatchEvent(p)}function packageData(i,d,p,v){switch(d){case"DataURL":{let d="data:";const v=se(p||"application/octet-stream");if(v!=="failure"){d+=ie(v)}d+=";base64,";const V=new ae("latin1");for(const p of i){d+=ce(V.write(p))}d+=ce(V.end());return d}case"Text":{let d="failure";if(v){d=ne(v)}if(d==="failure"&&p){const i=se(p);if(i!=="failure"){d=ne(i.parameters.get("charset"))}}if(d==="failure"){d="UTF-8"}return decode(i,d)}case"ArrayBuffer":{const d=combineByteSequences(i);return d.buffer}case"BinaryString":{let d="";const p=new ae("latin1");for(const v of i){d+=p.write(v)}d+=p.end();return d}}}function decode(i,d){const p=combineByteSequences(i);const v=BOMSniffing(p);let V=0;if(v!==null){d=v;V=v==="UTF-8"?3:2}const K=p.slice(V);return new TextDecoder(d).decode(K)}function BOMSniffing(i){const[d,p,v]=i;if(d===239&&p===187&&v===191){return"UTF-8"}else if(d===254&&p===255){return"UTF-16BE"}else if(d===255&&p===254){return"UTF-16LE"}return null}function combineByteSequences(i){const d=i.reduce(((i,d)=>i+d.byteLength),0);let p=0;return i.reduce(((i,d)=>{i.set(d,p);p+=d.byteLength;return i}),new Uint8Array(d))}i.exports={staticPropertyDescriptors:le,readOperation:readOperation,fireAProgressEvent:fireAProgressEvent}},2569:(i,d,p)=>{const{uid:v,states:V,sentCloseFrameState:K,emptyBuffer:ee,opcodes:te}=p(21816);const{kReadyState:re,kSentClose:ne,kByteParser:ie,kReceivedClose:se,kResponse:oe}=p(32456);const{fireEvent:ae,failWebsocketConnection:ce,isClosing:le,isClosed:ue,isEstablished:Ae,parseExtensions:de}=p(95673);const{channels:pe}=p(78150);const{CloseEvent:fe}=p(50044);const{makeRequest:he}=p(46055);const{fetching:ge}=p(47302);const{Headers:me,getHeadersList:Ee}=p(83676);const{getDecodeSplit:ye}=p(14296);const{WebsocketFrameSend:Ce}=p(69272);let be;try{be=p(77598)}catch{}function establishWebSocketConnection(i,d,p,V,K,ee){const te=i;te.protocol=i.protocol==="ws:"?"http:":"https:";const re=he({urlList:[te],client:p,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(ee.headers){const i=Ee(new me(ee.headers));re.headersList=i}const ne=be.randomBytes(16).toString("base64");re.headersList.append("sec-websocket-key",ne);re.headersList.append("sec-websocket-version","13");for(const i of d){re.headersList.append("sec-websocket-protocol",i)}const ie="permessage-deflate; client_max_window_bits";re.headersList.append("sec-websocket-extensions",ie);const se=ge({request:re,useParallelQueue:true,dispatcher:ee.dispatcher,processResponse(i){if(i.type==="error"||i.status!==101){ce(V,"Received network error or non-101 status code.");return}if(d.length!==0&&!i.headersList.get("Sec-WebSocket-Protocol")){ce(V,"Server did not respond with sent protocols.");return}if(i.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){ce(V,'Server did not set Upgrade header to "websocket".');return}if(i.headersList.get("Connection")?.toLowerCase()!=="upgrade"){ce(V,'Server did not set Connection header to "upgrade".');return}const p=i.headersList.get("Sec-WebSocket-Accept");const ee=be.createHash("sha1").update(ne+v).digest("base64");if(p!==ee){ce(V,"Incorrect hash received in Sec-WebSocket-Accept header.");return}const te=i.headersList.get("Sec-WebSocket-Extensions");let ie;if(te!==null){ie=de(te);if(!ie.has("permessage-deflate")){ce(V,"Sec-WebSocket-Extensions header does not match.");return}}const se=i.headersList.get("Sec-WebSocket-Protocol");if(se!==null){const i=ye("sec-websocket-protocol",re.headersList);if(!i.includes(se)){ce(V,"Protocol was not set in the opening handshake.");return}}i.socket.on("data",onSocketData);i.socket.on("close",onSocketClose);i.socket.on("error",onSocketError);if(pe.open.hasSubscribers){pe.open.publish({address:i.socket.address(),protocol:se,extensions:te})}K(i,ie)}});return se}function closeWebSocketConnection(i,d,p,v){if(le(i)||ue(i)){}else if(!Ae(i)){ce(i,"Connection was closed before it was established.");i[re]=V.CLOSING}else if(i[ne]===K.NOT_SENT){i[ne]=K.PROCESSING;const ie=new Ce;if(d!==undefined&&p===undefined){ie.frameData=Buffer.allocUnsafe(2);ie.frameData.writeUInt16BE(d,0)}else if(d!==undefined&&p!==undefined){ie.frameData=Buffer.allocUnsafe(2+v);ie.frameData.writeUInt16BE(d,0);ie.frameData.write(p,2,"utf-8")}else{ie.frameData=ee}const se=i[oe].socket;se.write(ie.createFrame(te.CLOSE));i[ne]=K.SENT;i[re]=V.CLOSING}else{i[re]=V.CLOSING}}function onSocketData(i){if(!this.ws[ie].write(i)){this.pause()}}function onSocketClose(){const{ws:i}=this;const{[oe]:d}=i;d.socket.off("data",onSocketData);d.socket.off("close",onSocketClose);d.socket.off("error",onSocketError);const p=i[ne]===K.SENT&&i[se];let v=1005;let ee="";const te=i[ie].closingInfo;if(te&&!te.error){v=te.code??1005;ee=te.reason}else if(!i[se]){v=1006}i[re]=V.CLOSED;ae("close",i,((i,d)=>new fe(i,d)),{wasClean:p,code:v,reason:ee});if(pe.close.hasSubscribers){pe.close.publish({websocket:i,code:v,reason:ee})}}function onSocketError(i){const{ws:d}=this;d[re]=V.CLOSING;if(pe.socketError.hasSubscribers){pe.socketError.publish(i)}this.destroy()}i.exports={establishWebSocketConnection:establishWebSocketConnection,closeWebSocketConnection:closeWebSocketConnection}},21816:i=>{const d="258EAFA5-E914-47DA-95CA-C5AB0DC85B11";const p={enumerable:true,writable:false,configurable:false};const v={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3};const V={NOT_SENT:0,PROCESSING:1,SENT:2};const K={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10};const ee=2**16-1;const te={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4};const re=Buffer.allocUnsafe(0);const ne={string:1,typedArray:2,arrayBuffer:3,blob:4};i.exports={uid:d,sentCloseFrameState:V,staticPropertyDescriptors:p,states:v,opcodes:K,maxUnsigned16Bit:ee,parserStates:te,emptyBuffer:re,sendHints:ne}},50044:(i,d,p)=>{const{webidl:v}=p(10253);const{kEnumerableProperty:V}=p(31544);const{kConstruct:K}=p(99411);const{MessagePort:ee}=p(75919);class MessageEvent extends Event{#J;constructor(i,d={}){if(i===K){super(arguments[1],arguments[2]);v.util.markAsUncloneable(this);return}const p="MessageEvent constructor";v.argumentLengthCheck(arguments,1,p);i=v.converters.DOMString(i,p,"type");d=v.converters.MessageEventInit(d,p,"eventInitDict");super(i,d);this.#J=d;v.util.markAsUncloneable(this)}get data(){v.brandCheck(this,MessageEvent);return this.#J.data}get origin(){v.brandCheck(this,MessageEvent);return this.#J.origin}get lastEventId(){v.brandCheck(this,MessageEvent);return this.#J.lastEventId}get source(){v.brandCheck(this,MessageEvent);return this.#J.source}get ports(){v.brandCheck(this,MessageEvent);if(!Object.isFrozen(this.#J.ports)){Object.freeze(this.#J.ports)}return this.#J.ports}initMessageEvent(i,d=false,p=false,V=null,K="",ee="",te=null,re=[]){v.brandCheck(this,MessageEvent);v.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent");return new MessageEvent(i,{bubbles:d,cancelable:p,data:V,origin:K,lastEventId:ee,source:te,ports:re})}static createFastMessageEvent(i,d){const p=new MessageEvent(K,i,d);p.#J=d;p.#J.data??=null;p.#J.origin??="";p.#J.lastEventId??="";p.#J.source??=null;p.#J.ports??=[];return p}}const{createFastMessageEvent:te}=MessageEvent;delete MessageEvent.createFastMessageEvent;class CloseEvent extends Event{#J;constructor(i,d={}){const p="CloseEvent constructor";v.argumentLengthCheck(arguments,1,p);i=v.converters.DOMString(i,p,"type");d=v.converters.CloseEventInit(d);super(i,d);this.#J=d;v.util.markAsUncloneable(this)}get wasClean(){v.brandCheck(this,CloseEvent);return this.#J.wasClean}get code(){v.brandCheck(this,CloseEvent);return this.#J.code}get reason(){v.brandCheck(this,CloseEvent);return this.#J.reason}}class ErrorEvent extends Event{#J;constructor(i,d){const p="ErrorEvent constructor";v.argumentLengthCheck(arguments,1,p);super(i,d);v.util.markAsUncloneable(this);i=v.converters.DOMString(i,p,"type");d=v.converters.ErrorEventInit(d??{});this.#J=d}get message(){v.brandCheck(this,ErrorEvent);return this.#J.message}get filename(){v.brandCheck(this,ErrorEvent);return this.#J.filename}get lineno(){v.brandCheck(this,ErrorEvent);return this.#J.lineno}get colno(){v.brandCheck(this,ErrorEvent);return this.#J.colno}get error(){v.brandCheck(this,ErrorEvent);return this.#J.error}}Object.defineProperties(MessageEvent.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:true},data:V,origin:V,lastEventId:V,source:V,ports:V,initMessageEvent:V});Object.defineProperties(CloseEvent.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:true},reason:V,code:V,wasClean:V});Object.defineProperties(ErrorEvent.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:true},message:V,filename:V,lineno:V,colno:V,error:V});v.converters.MessagePort=v.interfaceConverter(ee);v.converters["sequence"]=v.sequenceConverter(v.converters.MessagePort);const re=[{key:"bubbles",converter:v.converters.boolean,defaultValue:()=>false},{key:"cancelable",converter:v.converters.boolean,defaultValue:()=>false},{key:"composed",converter:v.converters.boolean,defaultValue:()=>false}];v.converters.MessageEventInit=v.dictionaryConverter([...re,{key:"data",converter:v.converters.any,defaultValue:()=>null},{key:"origin",converter:v.converters.USVString,defaultValue:()=>""},{key:"lastEventId",converter:v.converters.DOMString,defaultValue:()=>""},{key:"source",converter:v.nullableConverter(v.converters.MessagePort),defaultValue:()=>null},{key:"ports",converter:v.converters["sequence"],defaultValue:()=>new Array(0)}]);v.converters.CloseEventInit=v.dictionaryConverter([...re,{key:"wasClean",converter:v.converters.boolean,defaultValue:()=>false},{key:"code",converter:v.converters["unsigned short"],defaultValue:()=>0},{key:"reason",converter:v.converters.USVString,defaultValue:()=>""}]);v.converters.ErrorEventInit=v.dictionaryConverter([...re,{key:"message",converter:v.converters.DOMString,defaultValue:()=>""},{key:"filename",converter:v.converters.USVString,defaultValue:()=>""},{key:"lineno",converter:v.converters["unsigned long"],defaultValue:()=>0},{key:"colno",converter:v.converters["unsigned long"],defaultValue:()=>0},{key:"error",converter:v.converters.any}]);i.exports={MessageEvent:MessageEvent,CloseEvent:CloseEvent,ErrorEvent:ErrorEvent,createFastMessageEvent:te}},69272:(i,d,p)=>{const{maxUnsigned16Bit:v}=p(21816);const V=16386;let K;let ee=null;let te=V;try{K=p(77598)}catch{K={randomFillSync:function randomFillSync(i,d,p){for(let d=0;dv){ee+=8;K=127}else if(V>125){ee+=2;K=126}const te=Buffer.allocUnsafe(V+ee);te[0]=te[1]=0;te[0]|=128;te[0]=(te[0]&240)+i; -/*! ws. MIT License. Einar Otto Stangvik */te[ee-4]=p[0];te[ee-3]=p[1];te[ee-2]=p[2];te[ee-1]=p[3];te[1]=K;if(K===126){te.writeUInt16BE(V,2)}else if(K===127){te[2]=te[3]=0;te.writeUIntBE(V,4,6)}te[1]|=128;for(let i=0;i{const{createInflateRaw:v,Z_DEFAULT_WINDOWBITS:V}=p(38522);const{isValidClientWindowBits:K}=p(95673);const ee=Buffer.from([0,0,255,255]);const te=Symbol("kBuffer");const re=Symbol("kLength");class PerMessageDeflate{#$;#p={};constructor(i){this.#p.serverNoContextTakeover=i.has("server_no_context_takeover");this.#p.serverMaxWindowBits=i.get("server_max_window_bits")}decompress(i,d,p){if(!this.#$){let i=V;if(this.#p.serverMaxWindowBits){if(!K(this.#p.serverMaxWindowBits)){p(new Error("Invalid server_max_window_bits"));return}i=Number.parseInt(this.#p.serverMaxWindowBits)}this.#$=v({windowBits:i});this.#$[te]=[];this.#$[re]=0;this.#$.on("data",(i=>{this.#$[te].push(i);this.#$[re]+=i.length}));this.#$.on("error",(i=>{this.#$=null;p(i)}))}this.#$.write(i);if(d){this.#$.write(ee)}this.#$.flush((()=>{const i=Buffer.concat(this.#$[te],this.#$[re]);this.#$[te].length=0;this.#$[re]=0;p(null,i)}))}}i.exports={PerMessageDeflate:PerMessageDeflate}},74588:(i,d,p)=>{const{Writable:v}=p(57075);const V=p(34589);const{parserStates:K,opcodes:ee,states:te,emptyBuffer:re,sentCloseFrameState:ne}=p(21816);const{kReadyState:ie,kSentClose:se,kResponse:oe,kReceivedClose:ae}=p(32456);const{channels:ce}=p(78150);const{isValidStatusCode:le,isValidOpcode:ue,failWebsocketConnection:Ae,websocketMessageReceived:de,utf8Decode:pe,isControlFrame:fe,isTextBinaryFrame:he,isContinuationFrame:ge}=p(95673);const{WebsocketFrameSend:me}=p(69272);const{closeWebSocketConnection:Ee}=p(2569);const{PerMessageDeflate:ye}=p(62869);class ByteParser extends v{#K=[];#X=0;#Z=false;#C=K.INFO;#ee={};#te=[];#re;constructor(i,d){super();this.ws=i;this.#re=d==null?new Map:d;if(this.#re.has("permessage-deflate")){this.#re.set("permessage-deflate",new ye(d))}}_write(i,d,p){this.#K.push(i);this.#X+=i.length;this.#Z=true;this.run(p)}run(i){while(this.#Z){if(this.#C===K.INFO){if(this.#X<2){return i()}const d=this.consume(2);const p=(d[0]&128)!==0;const v=d[0]&15;const V=(d[1]&128)===128;const te=!p&&v!==ee.CONTINUATION;const re=d[1]&127;const ne=d[0]&64;const ie=d[0]&32;const se=d[0]&16;if(!ue(v)){Ae(this.ws,"Invalid opcode received");return i()}if(V){Ae(this.ws,"Frame cannot be masked");return i()}if(ne!==0&&!this.#re.has("permessage-deflate")){Ae(this.ws,"Expected RSV1 to be clear.");return}if(ie!==0||se!==0){Ae(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(te&&!he(v)){Ae(this.ws,"Invalid frame type was fragmented.");return}if(he(v)&&this.#te.length>0){Ae(this.ws,"Expected continuation frame");return}if(this.#ee.fragmented&&te){Ae(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((re>125||te)&&fe(v)){Ae(this.ws,"Control frame either too large or fragmented");return}if(ge(v)&&this.#te.length===0&&!this.#ee.compressed){Ae(this.ws,"Unexpected continuation frame");return}if(re<=125){this.#ee.payloadLength=re;this.#C=K.READ_DATA}else if(re===126){this.#C=K.PAYLOADLENGTH_16}else if(re===127){this.#C=K.PAYLOADLENGTH_64}if(he(v)){this.#ee.binaryType=v;this.#ee.compressed=ne!==0}this.#ee.opcode=v;this.#ee.masked=V;this.#ee.fin=p;this.#ee.fragmented=te}else if(this.#C===K.PAYLOADLENGTH_16){if(this.#X<2){return i()}const d=this.consume(2);this.#ee.payloadLength=d.readUInt16BE(0);this.#C=K.READ_DATA}else if(this.#C===K.PAYLOADLENGTH_64){if(this.#X<8){return i()}const d=this.consume(8);const p=d.readUInt32BE(0);if(p>2**31-1){Ae(this.ws,"Received payload length > 2^31 bytes.");return}const v=d.readUInt32BE(4);this.#ee.payloadLength=(p<<8)+v;this.#C=K.READ_DATA}else if(this.#C===K.READ_DATA){if(this.#X{if(d){Ee(this.ws,1007,d.message,d.message.length);return}this.#te.push(p);if(!this.#ee.fin){this.#C=K.INFO;this.#Z=true;this.run(i);return}de(this.ws,this.#ee.binaryType,Buffer.concat(this.#te));this.#Z=true;this.#C=K.INFO;this.#te.length=0;this.run(i)}));this.#Z=false;break}}}}}consume(i){if(i>this.#X){throw new Error("Called consume() before buffers satiated.")}else if(i===0){return re}if(this.#K[0].length===i){this.#X-=this.#K[0].length;return this.#K.shift()}const d=Buffer.allocUnsafe(i);let p=0;while(p!==i){const v=this.#K[0];const{length:V}=v;if(V+p===i){d.set(this.#K.shift(),p);break}else if(V+p>i){d.set(v.subarray(0,i-p),p);this.#K[0]=v.subarray(i-p);break}else{d.set(this.#K.shift(),p);p+=v.length}}this.#X-=i;return d}parseCloseBody(i){V(i.length!==1);let d;if(i.length>=2){d=i.readUInt16BE(0)}if(d!==undefined&&!le(d)){return{code:1002,reason:"Invalid status code",error:true}}let p=i.subarray(2);if(p[0]===239&&p[1]===187&&p[2]===191){p=p.subarray(3)}try{p=pe(p)}catch{return{code:1007,reason:"Invalid UTF-8",error:true}}return{code:d,reason:p,error:false}}parseControlFrame(i){const{opcode:d,payloadLength:p}=this.#ee;if(d===ee.CLOSE){if(p===1){Ae(this.ws,"Received close frame with a 1-byte body.");return false}this.#ee.closeInfo=this.parseCloseBody(i);if(this.#ee.closeInfo.error){const{code:i,reason:d}=this.#ee.closeInfo;Ee(this.ws,i,d,d.length);Ae(this.ws,d);return false}if(this.ws[se]!==ne.SENT){let i=re;if(this.#ee.closeInfo.code){i=Buffer.allocUnsafe(2);i.writeUInt16BE(this.#ee.closeInfo.code,0)}const d=new me(i);this.ws[oe].socket.write(d.createFrame(ee.CLOSE),(i=>{if(!i){this.ws[se]=ne.SENT}}))}this.ws[ie]=te.CLOSING;this.ws[ae]=true;return false}else if(d===ee.PING){if(!this.ws[ae]){const d=new me(i);this.ws[oe].socket.write(d.createFrame(ee.PONG));if(ce.ping.hasSubscribers){ce.ping.publish({payload:i})}}}else if(d===ee.PONG){if(ce.pong.hasSubscribers){ce.pong.publish({payload:i})}}return true}get closingInfo(){return this.#ee.closeInfo}}i.exports={ByteParser:ByteParser}},90228:(i,d,p)=>{const{WebsocketFrameSend:v}=p(69272);const{opcodes:V,sendHints:K}=p(21816);const ee=p(96524);const te=Buffer[Symbol.species];class SendQueue{#ne=new ee;#ie=false;#se;constructor(i){this.#se=i}add(i,d,p){if(p!==K.blob){const v=createFrame(i,p);if(!this.#ie){this.#se.write(v,d)}else{const i={promise:null,callback:d,frame:v};this.#ne.push(i)}return}const v={promise:i.arrayBuffer().then((i=>{v.promise=null;v.frame=createFrame(i,p)})),callback:d,frame:null};this.#ne.push(v);if(!this.#ie){this.#oe()}}async#oe(){this.#ie=true;const i=this.#ne;while(!i.isEmpty()){const d=i.shift();if(d.promise!==null){await d.promise}this.#se.write(d.frame,d.callback);d.callback=d.frame=null}this.#ie=false}}function createFrame(i,d){return new v(toBuffer(i,d)).createFrame(d===K.string?V.TEXT:V.BINARY)}function toBuffer(i,d){switch(d){case K.string:return Buffer.from(i);case K.arrayBuffer:case K.blob:return new te(i);case K.typedArray:return new te(i.buffer,i.byteOffset,i.byteLength)}}i.exports={SendQueue:SendQueue}},32456:i=>{i.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},95673:(i,d,p)=>{const{kReadyState:v,kController:V,kResponse:K,kBinaryType:ee,kWebSocketURL:te}=p(32456);const{states:re,opcodes:ne}=p(21816);const{ErrorEvent:ie,createFastMessageEvent:se}=p(50044);const{isUtf8:oe}=p(4573);const{collectASequenceOfCodePointsFast:ae,removeHTTPWhitespace:ce}=p(90980);function isConnecting(i){return i[v]===re.CONNECTING}function isEstablished(i){return i[v]===re.OPEN}function isClosing(i){return i[v]===re.CLOSING}function isClosed(i){return i[v]===re.CLOSED}function fireEvent(i,d,p=(i,d)=>new Event(i,d),v={}){const V=p(i,v);d.dispatchEvent(V)}function websocketMessageReceived(i,d,p){if(i[v]!==re.OPEN){return}let V;if(d===ne.TEXT){try{V=Ae(p)}catch{failWebsocketConnection(i,"Received invalid UTF-8 in text frame.");return}}else if(d===ne.BINARY){if(i[ee]==="blob"){V=new Blob([p])}else{V=toArrayBuffer(p)}}fireEvent("message",i,se,{origin:i[te].origin,data:V})}function toArrayBuffer(i){if(i.byteLength===i.buffer.byteLength){return i.buffer}return i.buffer.slice(i.byteOffset,i.byteOffset+i.byteLength)}function isValidSubprotocol(i){if(i.length===0){return false}for(let d=0;d126||p===34||p===40||p===41||p===44||p===47||p===58||p===59||p===60||p===61||p===62||p===63||p===64||p===91||p===92||p===93||p===123||p===125){return false}}return true}function isValidStatusCode(i){if(i>=1e3&&i<1015){return i!==1004&&i!==1005&&i!==1006}return i>=3e3&&i<=4999}function failWebsocketConnection(i,d){const{[V]:p,[K]:v}=i;p.abort();if(v?.socket&&!v.socket.destroyed){v.socket.destroy()}if(d){fireEvent("error",i,((i,d)=>new ie(i,d)),{error:new Error(d),message:d})}}function isControlFrame(i){return i===ne.CLOSE||i===ne.PING||i===ne.PONG}function isContinuationFrame(i){return i===ne.CONTINUATION}function isTextBinaryFrame(i){return i===ne.TEXT||i===ne.BINARY}function isValidOpcode(i){return isTextBinaryFrame(i)||isContinuationFrame(i)||isControlFrame(i)}function parseExtensions(i){const d={position:0};const p=new Map;while(d.position57){return false}}return true}const le=typeof process.versions.icu==="string";const ue=le?new TextDecoder("utf-8",{fatal:true}):undefined;const Ae=le?ue.decode.bind(ue):function(i){if(oe(i)){return i.toString("utf-8")}throw new TypeError("Invalid utf-8 received.")};i.exports={isConnecting:isConnecting,isEstablished:isEstablished,isClosing:isClosing,isClosed:isClosed,fireEvent:fireEvent,isValidSubprotocol:isValidSubprotocol,isValidStatusCode:isValidStatusCode,failWebsocketConnection:failWebsocketConnection,websocketMessageReceived:websocketMessageReceived,utf8Decode:Ae,isControlFrame:isControlFrame,isContinuationFrame:isContinuationFrame,isTextBinaryFrame:isTextBinaryFrame,isValidOpcode:isValidOpcode,parseExtensions:parseExtensions,isValidClientWindowBits:isValidClientWindowBits}},55366:(i,d,p)=>{const{webidl:v}=p(10253);const{URLSerializer:V}=p(90980);const{environmentSettingsObject:K}=p(14296);const{staticPropertyDescriptors:ee,states:te,sentCloseFrameState:re,sendHints:ne}=p(21816);const{kWebSocketURL:ie,kReadyState:se,kController:oe,kBinaryType:ae,kResponse:ce,kSentClose:le,kByteParser:ue}=p(32456);const{isConnecting:Ae,isEstablished:de,isClosing:pe,isValidSubprotocol:fe,fireEvent:he}=p(95673);const{establishWebSocketConnection:ge,closeWebSocketConnection:me}=p(2569);const{ByteParser:Ee}=p(74588);const{kEnumerableProperty:ye,isBlobLike:Ce}=p(31544);const{getGlobalDispatcher:be}=p(5837);const{types:Ie}=p(57975);const{ErrorEvent:Be,CloseEvent:we}=p(50044);const{SendQueue:Se}=p(90228);class WebSocket extends EventTarget{#P={open:null,error:null,close:null,message:null};#ae=0;#ce="";#re="";#le;constructor(i,d=[]){super();v.util.markAsUncloneable(this);const p="WebSocket constructor";v.argumentLengthCheck(arguments,1,p);const V=v.converters["DOMString or sequence or WebSocketInit"](d,p,"options");i=v.converters.USVString(i,p,"url");d=V.protocols;const ee=K.settingsObject.baseUrl;let te;try{te=new URL(i,ee)}catch(i){throw new DOMException(i,"SyntaxError")}if(te.protocol==="http:"){te.protocol="ws:"}else if(te.protocol==="https:"){te.protocol="wss:"}if(te.protocol!=="ws:"&&te.protocol!=="wss:"){throw new DOMException(`Expected a ws: or wss: protocol, got ${te.protocol}`,"SyntaxError")}if(te.hash||te.href.endsWith("#")){throw new DOMException("Got fragment","SyntaxError")}if(typeof d==="string"){d=[d]}if(d.length!==new Set(d.map((i=>i.toLowerCase()))).size){throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError")}if(d.length>0&&!d.every((i=>fe(i)))){throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError")}this[ie]=new URL(te.href);const ne=K.settingsObject;this[oe]=ge(te,d,ne,this,((i,d)=>this.#ue(i,d)),V);this[se]=WebSocket.CONNECTING;this[le]=re.NOT_SENT;this[ae]="blob"}close(i=undefined,d=undefined){v.brandCheck(this,WebSocket);const p="WebSocket.close";if(i!==undefined){i=v.converters["unsigned short"](i,p,"code",{clamp:true})}if(d!==undefined){d=v.converters.USVString(d,p,"reason")}if(i!==undefined){if(i!==1e3&&(i<3e3||i>4999)){throw new DOMException("invalid code","InvalidAccessError")}}let V=0;if(d!==undefined){V=Buffer.byteLength(d);if(V>123){throw new DOMException(`Reason must be less than 123 bytes; received ${V}`,"SyntaxError")}}me(this,i,d,V)}send(i){v.brandCheck(this,WebSocket);const d="WebSocket.send";v.argumentLengthCheck(arguments,1,d);i=v.converters.WebSocketSendData(i,d,"data");if(Ae(this)){throw new DOMException("Sent before connected.","InvalidStateError")}if(!de(this)||pe(this)){return}if(typeof i==="string"){const d=Buffer.byteLength(i);this.#ae+=d;this.#le.add(i,(()=>{this.#ae-=d}),ne.string)}else if(Ie.isArrayBuffer(i)){this.#ae+=i.byteLength;this.#le.add(i,(()=>{this.#ae-=i.byteLength}),ne.arrayBuffer)}else if(ArrayBuffer.isView(i)){this.#ae+=i.byteLength;this.#le.add(i,(()=>{this.#ae-=i.byteLength}),ne.typedArray)}else if(Ce(i)){this.#ae+=i.size;this.#le.add(i,(()=>{this.#ae-=i.size}),ne.blob)}}get readyState(){v.brandCheck(this,WebSocket);return this[se]}get bufferedAmount(){v.brandCheck(this,WebSocket);return this.#ae}get url(){v.brandCheck(this,WebSocket);return V(this[ie])}get extensions(){v.brandCheck(this,WebSocket);return this.#re}get protocol(){v.brandCheck(this,WebSocket);return this.#ce}get onopen(){v.brandCheck(this,WebSocket);return this.#P.open}set onopen(i){v.brandCheck(this,WebSocket);if(this.#P.open){this.removeEventListener("open",this.#P.open)}if(typeof i==="function"){this.#P.open=i;this.addEventListener("open",i)}else{this.#P.open=null}}get onerror(){v.brandCheck(this,WebSocket);return this.#P.error}set onerror(i){v.brandCheck(this,WebSocket);if(this.#P.error){this.removeEventListener("error",this.#P.error)}if(typeof i==="function"){this.#P.error=i;this.addEventListener("error",i)}else{this.#P.error=null}}get onclose(){v.brandCheck(this,WebSocket);return this.#P.close}set onclose(i){v.brandCheck(this,WebSocket);if(this.#P.close){this.removeEventListener("close",this.#P.close)}if(typeof i==="function"){this.#P.close=i;this.addEventListener("close",i)}else{this.#P.close=null}}get onmessage(){v.brandCheck(this,WebSocket);return this.#P.message}set onmessage(i){v.brandCheck(this,WebSocket);if(this.#P.message){this.removeEventListener("message",this.#P.message)}if(typeof i==="function"){this.#P.message=i;this.addEventListener("message",i)}else{this.#P.message=null}}get binaryType(){v.brandCheck(this,WebSocket);return this[ae]}set binaryType(i){v.brandCheck(this,WebSocket);if(i!=="blob"&&i!=="arraybuffer"){this[ae]="blob"}else{this[ae]=i}}#ue(i,d){this[ce]=i;const p=new Ee(this,d);p.on("drain",onParserDrain);p.on("error",onParserError.bind(this));i.socket.ws=this;this[ue]=p;this.#le=new Se(i.socket);this[se]=te.OPEN;const v=i.headersList.get("sec-websocket-extensions");if(v!==null){this.#re=v}const V=i.headersList.get("sec-websocket-protocol");if(V!==null){this.#ce=V}he("open",this)}}WebSocket.CONNECTING=WebSocket.prototype.CONNECTING=te.CONNECTING;WebSocket.OPEN=WebSocket.prototype.OPEN=te.OPEN;WebSocket.CLOSING=WebSocket.prototype.CLOSING=te.CLOSING;WebSocket.CLOSED=WebSocket.prototype.CLOSED=te.CLOSED;Object.defineProperties(WebSocket.prototype,{CONNECTING:ee,OPEN:ee,CLOSING:ee,CLOSED:ee,url:ye,readyState:ye,bufferedAmount:ye,onopen:ye,onerror:ye,onclose:ye,close:ye,onmessage:ye,binaryType:ye,send:ye,extensions:ye,protocol:ye,[Symbol.toStringTag]:{value:"WebSocket",writable:false,enumerable:false,configurable:true}});Object.defineProperties(WebSocket,{CONNECTING:ee,OPEN:ee,CLOSING:ee,CLOSED:ee});v.converters["sequence"]=v.sequenceConverter(v.converters.DOMString);v.converters["DOMString or sequence"]=function(i,d,p){if(v.util.Type(i)==="Object"&&Symbol.iterator in i){return v.converters["sequence"](i)}return v.converters.DOMString(i,d,p)};v.converters.WebSocketInit=v.dictionaryConverter([{key:"protocols",converter:v.converters["DOMString or sequence"],defaultValue:()=>new Array(0)},{key:"dispatcher",converter:v.converters.any,defaultValue:()=>be()},{key:"headers",converter:v.nullableConverter(v.converters.HeadersInit)}]);v.converters["DOMString or sequence or WebSocketInit"]=function(i){if(v.util.Type(i)==="Object"&&!(Symbol.iterator in i)){return v.converters.WebSocketInit(i)}return{protocols:v.converters["DOMString or sequence"](i)}};v.converters.WebSocketSendData=function(i){if(v.util.Type(i)==="Object"){if(Ce(i)){return v.converters.Blob(i,{strict:false})}if(ArrayBuffer.isView(i)||Ie.isArrayBuffer(i)){return v.converters.BufferSource(i)}}return v.converters.USVString(i)};function onParserDrain(){this.ws[ce].socket.resume()}function onParserError(i){let d;let p;if(i instanceof we){d=i.reason;p=i.code}else{d=i.message}he("error",this,(()=>new Be("error",{error:i,message:d})));me(this,p)}i.exports={WebSocket:WebSocket}},75207:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Ki.toUpperCase()===d))){return i}}else{if(isUnixExecutable(v)){return i}}}const V=i;for(const K of p){i=V+K;v=undefined;try{v=yield(0,d.stat)(i)}catch(d){if(d.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${i}': ${d}`)}}if(v&&v.isFile()){if(d.IS_WINDOWS){try{const p=ne.dirname(i);const v=ne.basename(i).toUpperCase();for(const V of yield(0,d.readdir)(p)){if(v===V.toUpperCase()){i=ne.join(p,V);break}}}catch(d){console.log(`Unexpected error attempting to determine the actual case of the file '${i}': ${d}`)}return i}else{if(isUnixExecutable(v)){return i}}}}return""}))}function normalizeSeparators(i){i=i||"";if(d.IS_WINDOWS){i=i.replace(/\//g,"\\");return i.replace(/\\\\+/g,"\\")}return i.replace(/\/\/+/g,"/")}function isUnixExecutable(i){return(i.mode&1)>0||(i.mode&8)>0&&process.getgid!==undefined&&i.gid===process.getgid()||(i.mode&64)>0&&process.getuid!==undefined&&i.uid===process.getuid()}function getCmdPath(){var i;return(i=process.env["COMSPEC"])!==null&&i!==void 0?i:`cmd.exe`}},94994:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K|]/.test(i)){throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows')}}try{yield ne.rm(i,{force:true,maxRetries:3,recursive:true,retryDelay:300})}catch(i){throw new Error(`File was unable to be removed ${i}`)}}))}function mkdirP(i){return ee(this,void 0,void 0,(function*(){(0,te.ok)(i,"a path argument must be provided");yield ne.mkdir(i,{recursive:true})}))}function which(i,d){return ee(this,void 0,void 0,(function*(){if(!i){throw new Error("parameter 'tool' is required")}if(d){const d=yield which(i,false);if(!d){if(ne.IS_WINDOWS){throw new Error(`Unable to locate executable file: ${i}. 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: ${i}. 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 d}const p=yield findInPath(i);if(p&&p.length>0){return p[0]}return""}))}function findInPath(i){return ee(this,void 0,void 0,(function*(){if(!i){throw new Error("parameter 'tool' is required")}const d=[];if(ne.IS_WINDOWS&&process.env["PATHEXT"]){for(const i of process.env["PATHEXT"].split(re.delimiter)){if(i){d.push(i)}}}if(ne.isRooted(i)){const p=yield ne.tryGetExecutablePath(i,d);if(p){return[p]}return[]}if(i.includes(re.sep)){return[]}const p=[];if(process.env.PATH){for(const i of process.env.PATH.split(re.delimiter)){if(i){p.push(i)}}}const v=[];for(const V of p){const p=yield ne.tryGetExecutablePath(re.join(V,i),d);if(p){v.push(p)}}return v}))}function readCopyOptions(i){const d=i.force==null?true:i.force;const p=Boolean(i.recursive);const v=i.copySourceDirectory==null?true:Boolean(i.copySourceDirectory);return{force:d,recursive:p,copySourceDirectory:v}}function cpDirRecursive(i,d,p,v){return ee(this,void 0,void 0,(function*(){if(p>=255)return;p++;yield mkdirP(d);const V=yield ne.readdir(i);for(const K of V){const V=`${i}/${K}`;const ee=`${d}/${K}`;const te=yield ne.lstat(V);if(te.isDirectory()){yield cpDirRecursive(V,ee,p,v)}else{yield copyFile(V,ee,v)}}yield ne.chmod(d,(yield ne.stat(i)).mode)}))}function copyFile(i,d,p){return ee(this,void 0,void 0,(function*(){if((yield ne.lstat(i)).isSymbolicLink()){try{yield ne.lstat(d);yield ne.unlink(d)}catch(i){if(i.code==="EPERM"){yield ne.chmod(d,"0666");yield ne.unlink(d)}}const p=yield ne.readlink(i);yield ne.symlink(p,d,ne.IS_WINDOWS?"junction":null)}else if(!(yield ne.exists(d))||p){yield ne.copyFile(i,d)}}))}},58036:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K{(0,re.debug)(`${d.arch}===${V} && ${d.platform}===${K}`);let p=d.arch===V&&d.platform===K;if(p&&d.platform_version){const v=i.exports._getOsVersion();if(v===d.platform_version){p=true}else{p=te.satisfies(v,d.platform_version)}}return p}));if(se){(0,re.debug)(`matched ${ee.version}`);ie=ee;break}}}if(ie&&se){ee=Object.assign({},ie);ee.files=[se]}return ee}))}function _getOsVersion(){const d=ne.platform();let p="";if(d==="darwin"){p=ie.execSync("sw_vers -productVersion").toString()}else if(d==="linux"){const d=i.exports._readLinuxVersionFile();if(d){const i=d.split("\n");for(const d of i){const i=d.split("=");if(i.length===2&&(i[0].trim()==="VERSION_ID"||i[0].trim()==="DISTRIB_RELEASE")){p=i[1].trim().replace(/^"/,"").replace(/"$/,"");break}}}}return p}function _readLinuxVersionFile(){const i="/etc/lsb-release";const d="/etc/os-release";let p="";if(se.existsSync(i)){p=se.readFileSync(i).toString()}else if(se.existsSync(d)){p=se.readFileSync(d).toString()}return p}},67380:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Kthis.maxSeconds){throw new Error("min seconds should be less than or equal to max seconds")}}execute(i,d){return ee(this,void 0,void 0,(function*(){let p=1;while(psetTimeout(d,i*1e3)))}))}}d.RetryHelper=RetryHelper},33472:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Kee(this,void 0,void 0,(function*(){return yield downloadToolAttempt(i,d||"",p,v)}))),(i=>{if(i instanceof HTTPError&&i.httpStatusCode){if(i.httpStatusCode<500&&i.httpStatusCode!==408&&i.httpStatusCode!==429){return false}}return true}))}))}function downloadToolAttempt(i,d,p,v){return ee(this,void 0,void 0,(function*(){if(ie.existsSync(d)){throw new Error(`Destination file path ${d} already exists`)}const V=new ce.HttpClient(me,[],{allowRetries:false});if(p){te.debug("set auth");if(v===undefined){v={}}v.authorization=p}const K=yield V.get(i,v);if(K.message.statusCode!==200){const d=new HTTPError(K.message.statusCode);te.debug(`Failed to download from "${i}". Code(${K.message.statusCode}) Message(${K.message.statusMessage})`);throw d}const ee=Ae.promisify(ue.pipeline);const ne=_getGlobal("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",(()=>K.message));const se=ne();let oe=false;try{yield ee(se,ie.createWriteStream(d));te.debug("download complete");oe=true;return d}finally{if(!oe){te.debug("download failed");try{yield re.rmRF(d)}catch(i){te.debug(`Failed to delete '${d}'. ${i.message}`)}}}}))}function extract7z(i,d,p){return ee(this,void 0,void 0,(function*(){(0,de.ok)(he,"extract7z() not supported on current OS");(0,de.ok)(i,'parameter "file" is required');d=yield _createExtractFolder(d);const v=process.cwd();process.chdir(d);if(p){try{const d=te.isDebug()?"-bb1":"-bb0";const v=["x",d,"-bd","-sccUTF-8",i];const V={silent:true};yield(0,pe.exec)(`"${p}"`,v,V)}finally{process.chdir(v)}}else{const p=ae.join(__dirname,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,"");const V=i.replace(/'/g,"''").replace(/"|\n|\r/g,"");const K=d.replace(/'/g,"''").replace(/"|\n|\r/g,"");const ee=`& '${p}' -Source '${V}' -Target '${K}'`;const te=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",ee];const ne={silent:true};try{const i=yield re.which("powershell",true);yield(0,pe.exec)(`"${i}"`,te,ne)}finally{process.chdir(v)}}return d}))}function extractTar(i,d){return ee(this,arguments,void 0,(function*(i,d,p="xz"){if(!i){throw new Error("parameter 'file' is required")}d=yield _createExtractFolder(d);te.debug("Checking tar --version");let v="";yield(0,pe.exec)("tar --version",[],{ignoreReturnCode:true,silent:true,listeners:{stdout:i=>v+=i.toString(),stderr:i=>v+=i.toString()}});te.debug(v.trim());const V=v.toUpperCase().includes("GNU TAR");let K;if(p instanceof Array){K=p}else{K=[p]}if(te.isDebug()&&!p.includes("v")){K.push("-v")}let ee=d;let re=i;if(he&&V){K.push("--force-local");ee=d.replace(/\\/g,"/");re=i.replace(/\\/g,"/")}if(V){K.push("--warning=no-unknown-keyword");K.push("--overwrite")}K.push("-C",ee,"-f",re);yield(0,pe.exec)(`tar`,K);return d}))}function extractXar(i,d){return ee(this,arguments,void 0,(function*(i,d,p=[]){(0,de.ok)(ge,"extractXar() not supported on current OS");(0,de.ok)(i,'parameter "file" is required');d=yield _createExtractFolder(d);let v;if(p instanceof Array){v=p}else{v=[p]}v.push("-x","-C",d,"-f",i);if(te.isDebug()){v.push("-v")}const V=yield re.which("xar",true);yield(0,pe.exec)(`"${V}"`,_unique(v));return d}))}function extractZip(i,d){return ee(this,void 0,void 0,(function*(){if(!i){throw new Error("parameter 'file' is required")}d=yield _createExtractFolder(d);if(he){yield extractZipWin(i,d)}else{yield extractZipNix(i,d)}return d}))}function extractZipWin(i,d){return ee(this,void 0,void 0,(function*(){const p=i.replace(/'/g,"''").replace(/"|\n|\r/g,"");const v=d.replace(/'/g,"''").replace(/"|\n|\r/g,"");const V=yield re.which("pwsh",false);if(V){const i=[`$ErrorActionPreference = 'Stop' ;`,`try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;`,`try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${p}', '${v}', $true) }`,`catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${p}' -DestinationPath '${v}' -Force } else { throw $_ } } ;`].join(" ");const d=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",i];te.debug(`Using pwsh at path: ${V}`);yield(0,pe.exec)(`"${V}"`,d)}else{const i=[`$ErrorActionPreference = 'Stop' ;`,`try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;`,`if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${p}' -DestinationPath '${v}' -Force }`,`else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${p}', '${v}', $true) }`].join(" ");const d=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",i];const V=yield re.which("powershell",true);te.debug(`Using powershell at path: ${V}`);yield(0,pe.exec)(`"${V}"`,d)}}))}function extractZipNix(i,d){return ee(this,void 0,void 0,(function*(){const p=yield re.which("unzip",true);const v=[i];if(!te.isDebug()){v.unshift("-q")}v.unshift("-o");yield(0,pe.exec)(`"${p}"`,v,{cwd:d})}))}function cacheDir(i,d,p,v){return ee(this,void 0,void 0,(function*(){p=le.clean(p)||p;v=v||oe.arch();te.debug(`Caching tool ${d} ${p} ${v}`);te.debug(`source dir: ${i}`);if(!ie.statSync(i).isDirectory()){throw new Error("sourceDir is not a directory")}const V=yield _createToolPath(d,p,v);for(const d of ie.readdirSync(i)){const p=ae.join(i,d);yield re.cp(p,V,{recursive:true})}_completeToolPath(d,p,v);return V}))}function cacheFile(i,d,p,v,V){return ee(this,void 0,void 0,(function*(){v=le.clean(v)||v;V=V||oe.arch();te.debug(`Caching tool ${p} ${v} ${V}`);te.debug(`source file: ${i}`);if(!ie.statSync(i).isFile()){throw new Error("sourceFile is not a file")}const K=yield _createToolPath(p,v,V);const ee=ae.join(K,d);te.debug(`destination file ${ee}`);yield re.cp(i,ee);_completeToolPath(p,v,V);return K}))}function find(i,d,p){if(!i){throw new Error("toolName parameter is required")}if(!d){throw new Error("versionSpec parameter is required")}p=p||oe.arch();if(!isExplicitVersion(d)){const v=findAllVersions(i,p);const V=evaluateVersions(v,d);d=V}let v="";if(d){d=le.clean(d)||"";const V=ae.join(_getCacheDirectory(),i,d,p);te.debug(`checking cache: ${V}`);if(ie.existsSync(V)&&ie.existsSync(`${V}.complete`)){te.debug(`Found tool in cache ${i} ${d} ${p}`);v=V}else{te.debug("not found")}}return v}function findAllVersions(i,d){const p=[];d=d||oe.arch();const v=ae.join(_getCacheDirectory(),i);if(ie.existsSync(v)){const i=ie.readdirSync(v);for(const V of i){if(isExplicitVersion(V)){const i=ae.join(v,V,d||"");if(ie.existsSync(i)&&ie.existsSync(`${i}.complete`)){p.push(V)}}}}return p}function getManifestFromRepo(i,d,p){return ee(this,arguments,void 0,(function*(i,d,p,v="master"){let V=[];const K=`https://api.github.com/repos/${i}/${d}/git/trees/${v}`;const ee=new ce.HttpClient("tool-cache");const re={};if(p){te.debug("set auth");re.authorization=p}const ne=yield ee.getJson(K,re);if(!ne.result){return V}let ie="";for(const i of ne.result.tree){if(i.path==="versions-manifest.json"){ie=i.url;break}}re["accept"]="application/vnd.github.VERSION.raw";let se=yield(yield ee.get(ie,re)).readBody();if(se){se=se.replace(/^\uFEFF/,"");try{V=JSON.parse(se)}catch(i){te.debug("Invalid json")}}return V}))}function findFromManifest(i,d,p){return ee(this,arguments,void 0,(function*(i,d,p,v=oe.arch()){const V=yield se._findMatch(i,d,p,v);return V}))}function _createExtractFolder(i){return ee(this,void 0,void 0,(function*(){if(!i){i=ae.join(_getTempDirectory(),ne.randomUUID())}yield re.mkdirP(i);return i}))}function _createToolPath(i,d,p){return ee(this,void 0,void 0,(function*(){const v=ae.join(_getCacheDirectory(),i,le.clean(d)||d,p||"");te.debug(`destination ${v}`);const V=`${v}.complete`;yield re.rmRF(v);yield re.rmRF(V);yield re.mkdirP(v);return v}))}function _completeToolPath(i,d,p){const v=ae.join(_getCacheDirectory(),i,le.clean(d)||d,p||"");const V=`${v}.complete`;ie.writeFileSync(V,"");te.debug("finished caching tool")}function isExplicitVersion(i){const d=le.clean(i)||"";te.debug(`isExplicit: ${d}`);const p=le.valid(d)!=null;te.debug(`explicit? ${p}`);return p}function evaluateVersions(i,d){let p="";te.debug(`evaluating ${i.length} versions`);i=i.sort(((i,d)=>{if(le.gt(i,d)){return 1}return-1}));for(let v=i.length-1;v>=0;v--){const V=i[v];const K=le.satisfies(V,d);if(K){p=V;break}}if(p){te.debug(`matched: ${p}`)}else{te.debug("match not found")}return p}function _getCacheDirectory(){const i=process.env["RUNNER_TOOL_CACHE"]||"";(0,de.ok)(i,"Expected RUNNER_TOOL_CACHE to be defined");return i}function _getTempDirectory(){const i=process.env["RUNNER_TEMP"]||"";(0,de.ok)(i,"Expected RUNNER_TEMP to be defined");return i}function _getGlobal(i,d){const p=global[i];return p!==undefined?p:d}function _unique(i){return Array.from(new Set(i))}},91069:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K0){i+=" ";let d=true;for(const p in this.properties){if(this.properties.hasOwnProperty(p)){const v=this.properties[p];if(v){if(d){d=false}else{i+=","}i+=`${p}=${escapeProperty(v)}`}}}}i+=`${re}${escapeData(this.message)}`;return i}}function escapeData(i){return(0,te.toCommandValue)(i).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(i){return(0,te.toCommandValue)(i).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},77409:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Ki!==""));if(d&&d.trimWhitespace===false){return p}return p.map((i=>i.trim()))}function getBooleanInput(i,d){const p=["true","True","TRUE"];const v=["false","False","FALSE"];const V=getInput(i,d);if(p.includes(V))return true;if(v.includes(V))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${i}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}function setOutput(i,d){const p=process.env["GITHUB_OUTPUT"]||"";if(p){return(0,re.issueFileCommand)("OUTPUT",(0,re.prepareKeyValueMessage)(i,d))}process.stdout.write(ie.EOL);(0,te.issueCommand)("set-output",{name:i},(0,ne.toCommandValue)(d))}function setCommandEcho(i){(0,te.issue)("echo",i?"on":"off")}function setFailed(i){process.exitCode=ae.Failure;error(i)}function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}function debug(i){(0,te.issueCommand)("debug",{},i)}function error(i,d={}){(0,te.issueCommand)("error",(0,ne.toCommandProperties)(d),i instanceof Error?i.toString():i)}function warning(i,d={}){(0,te.issueCommand)("warning",(0,ne.toCommandProperties)(d),i instanceof Error?i.toString():i)}function notice(i,d={}){(0,te.issueCommand)("notice",(0,ne.toCommandProperties)(d),i instanceof Error?i.toString():i)}function info(i){process.stdout.write(i+ie.EOL)}function startGroup(i){(0,te.issue)("group",i)}function endGroup(){(0,te.issue)("endgroup")}function group(i,d){return ee(this,void 0,void 0,(function*(){startGroup(i);let p;try{p=yield d()}finally{endGroup()}return p}))}function saveState(i,d){const p=process.env["GITHUB_STATE"]||"";if(p){return(0,re.issueFileCommand)("STATE",(0,re.prepareKeyValueMessage)(i,d))}(0,te.issueCommand)("save-state",{name:i},(0,ne.toCommandValue)(d))}function getState(i){return process.env[`STATE_${i}`]||""}function getIDToken(i){return ee(this,void 0,void 0,(function*(){return yield oe.OidcClient.getIDToken(i)}))}var ce=p(98544);Object.defineProperty(d,"summary",{enumerable:true,get:function(){return ce.summary}});var le=p(98544);Object.defineProperty(d,"markdownSummary",{enumerable:true,get:function(){return le.markdownSummary}});var ue=p(58205);Object.defineProperty(d,"toPosixPath",{enumerable:true,get:function(){return ue.toPosixPath}});Object.defineProperty(d,"toWin32Path",{enumerable:true,get:function(){return ue.toWin32Path}});Object.defineProperty(d,"toPlatformPath",{enumerable:true,get:function(){return ue.toPlatformPath}});d.platform=K(p(50069))},24528:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K{throw new Error(`Failed to get ID Token. \n \n Error Code : ${i.statusCode}\n \n Error Message: ${i.message}`)}));const V=(d=v.result)===null||d===void 0?void 0:d.value;if(!V){throw new Error("Response json body do not have ID Token field")}return V}))}static getIDToken(i){return v(this,void 0,void 0,(function*(){try{let d=OidcClient.getIDTokenUrl();if(i){const p=encodeURIComponent(i);d=`${d}&audience=${p}`}(0,ee.debug)(`ID token url is ${d}`);const p=yield OidcClient.getCall(d);(0,ee.setSecret)(p);return p}catch(i){throw new Error(`Error message: ${i.message}`)}}))}}d.OidcClient=OidcClient},58205:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Kee(void 0,void 0,void 0,(function*(){const{stdout:i}=yield ne.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',undefined,{silent:true});const{stdout:d}=yield ne.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',undefined,{silent:true});return{name:d.trim(),version:i.trim()}}));const getMacOsInfo=()=>ee(void 0,void 0,void 0,(function*(){var i,d,p,v;const{stdout:V}=yield ne.getExecOutput("sw_vers",undefined,{silent:true});const K=(d=(i=V.match(/ProductVersion:\s*(.+)/))===null||i===void 0?void 0:i[1])!==null&&d!==void 0?d:"";const ee=(v=(p=V.match(/ProductName:\s*(.+)/))===null||p===void 0?void 0:p[1])!==null&&v!==void 0?v:"";return{name:ee,version:K}}));const getLinuxInfo=()=>ee(void 0,void 0,void 0,(function*(){const{stdout:i}=yield ne.getExecOutput("lsb_release",["-i","-r","-s"],{silent:true});const[d,p]=i.trim().split("\n");return{name:d,version:p}}));d.platform=re.default.platform();d.arch=re.default.arch();d.isWindows=d.platform==="win32";d.isMacOS=d.platform==="darwin";d.isLinux=d.platform==="linux";function getDetails(){return ee(this,void 0,void 0,(function*(){return Object.assign(Object.assign({},yield d.isWindows?getWindowsInfo():d.isMacOS?getMacOsInfo():getLinuxInfo()),{platform:d.platform,arch:d.arch,isWindows:d.isWindows,isMacOS:d.isMacOS,isLinux:d.isLinux})}))}},98544:function(i,d,p){var v=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.summary=d.markdownSummary=d.SUMMARY_DOCS_URL=d.SUMMARY_ENV_VAR=void 0;const V=p(70857);const K=p(79896);const{access:ee,appendFile:te,writeFile:re}=K.promises;d.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";d.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 v(this,void 0,void 0,(function*(){if(this._filePath){return this._filePath}const i=process.env[d.SUMMARY_ENV_VAR];if(!i){throw new Error(`Unable to find environment variable for $${d.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`)}try{yield ee(i,K.constants.R_OK|K.constants.W_OK)}catch(d){throw new Error(`Unable to access summary file: '${i}'. Check if the file has correct read/write permissions.`)}this._filePath=i;return this._filePath}))}wrap(i,d,p={}){const v=Object.entries(p).map((([i,d])=>` ${i}="${d}"`)).join("");if(!d){return`<${i}${v}>`}return`<${i}${v}>${d}`}write(i){return v(this,void 0,void 0,(function*(){const d=!!(i===null||i===void 0?void 0:i.overwrite);const p=yield this.filePath();const v=d?re:te;yield v(p,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return v(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(i,d=false){this._buffer+=i;return d?this.addEOL():this}addEOL(){return this.addRaw(V.EOL)}addCodeBlock(i,d){const p=Object.assign({},d&&{lang:d});const v=this.wrap("pre",this.wrap("code",i),p);return this.addRaw(v).addEOL()}addList(i,d=false){const p=d?"ol":"ul";const v=i.map((i=>this.wrap("li",i))).join("");const V=this.wrap(p,v);return this.addRaw(V).addEOL()}addTable(i){const d=i.map((i=>{const d=i.map((i=>{if(typeof i==="string"){return this.wrap("td",i)}const{header:d,data:p,colspan:v,rowspan:V}=i;const K=d?"th":"td";const ee=Object.assign(Object.assign({},v&&{colspan:v}),V&&{rowspan:V});return this.wrap(K,p,ee)})).join("");return this.wrap("tr",d)})).join("");const p=this.wrap("table",d);return this.addRaw(p).addEOL()}addDetails(i,d){const p=this.wrap("details",this.wrap("summary",i)+d);return this.addRaw(p).addEOL()}addImage(i,d,p){const{width:v,height:V}=p||{};const K=Object.assign(Object.assign({},v&&{width:v}),V&&{height:V});const ee=this.wrap("img",null,Object.assign({src:i,alt:d},K));return this.addRaw(ee).addEOL()}addHeading(i,d){const p=`h${d}`;const v=["h1","h2","h3","h4","h5","h6"].includes(p)?p:"h1";const V=this.wrap(v,i);return this.addRaw(V).addEOL()}addSeparator(){const i=this.wrap("hr",null);return this.addRaw(i).addEOL()}addBreak(){const i=this.wrap("br",null);return this.addRaw(i).addEOL()}addQuote(i,d){const p=Object.assign({},d&&{cite:d});const v=this.wrap("blockquote",i,p);return this.addRaw(v).addEOL()}addLink(i,d){const p=this.wrap("a",i,{href:d});return this.addRaw(p).addEOL()}}const ne=new Summary;d.markdownSummary=ne;d.summary=ne},48529:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.toCommandValue=toCommandValue;d.toCommandProperties=toCommandProperties;function toCommandValue(i){if(i===null||i===undefined){return""}else if(typeof i==="string"||i instanceof String){return i}return JSON.stringify(i)}function toCommandProperties(i){if(!Object.keys(i).length){return{}}return{title:i.title,file:i.file,line:i.startLine,endLine:i.endLine,col:i.startColumn,endColumn:i.endColumn}}},93182:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.resolveHttpAuthSchemeConfig=d.defaultECRPUBLICHttpAuthSchemeProvider=d.defaultECRPUBLICHttpAuthSchemeParametersProvider=void 0;const v=p(8704);const V=p(76324);const defaultECRPUBLICHttpAuthSchemeParametersProvider=async(i,d,p)=>({operation:(0,V.getSmithyContext)(d).operation,region:await(0,V.normalizeProvider)(i.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()});d.defaultECRPUBLICHttpAuthSchemeParametersProvider=defaultECRPUBLICHttpAuthSchemeParametersProvider;function createAwsAuthSigv4HttpAuthOption(i){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"ecr-public",region:i.region},propertiesExtractor:(i,d)=>({signingProperties:{config:i,context:d}})}}const defaultECRPUBLICHttpAuthSchemeProvider=i=>{const d=[];switch(i.operation){default:{d.push(createAwsAuthSigv4HttpAuthOption(i))}}return d};d.defaultECRPUBLICHttpAuthSchemeProvider=defaultECRPUBLICHttpAuthSchemeProvider;const resolveHttpAuthSchemeConfig=i=>{const d=(0,v.resolveAwsSdkSigV4Config)(i);return Object.assign(d,{authSchemePreference:(0,V.normalizeProvider)(i.authSchemePreference??[])})};d.resolveHttpAuthSchemeConfig=resolveHttpAuthSchemeConfig},96072:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.defaultEndpointResolver=void 0;const v=p(83068);const V=p(79674);const K=p(41829);const ee=new V.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]});const defaultEndpointResolver=(i,d={})=>ee.get(i,(()=>(0,V.resolveEndpoint)(K.ruleSet,{endpointParams:i,logger:d.logger})));d.defaultEndpointResolver=defaultEndpointResolver;V.customEndpointFunctions.aws=v.awsEndpointFunctions},41829:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.ruleSet=void 0;const p="required",v="fn",V="argv",K="ref";const ee=true,te="isSet",re="booleanEquals",ne="error",ie="endpoint",se="tree",oe="PartitionResult",ae="getAttr",ce={[p]:false,type:"string"},le={[p]:true,default:false,type:"boolean"},ue={[K]:"Endpoint"},Ae={[v]:re,[V]:[{[K]:"UseFIPS"},true]},de={[v]:re,[V]:[{[K]:"UseDualStack"},true]},pe={},fe={[v]:ae,[V]:[{[K]:oe},"supportsFIPS"]},he={[K]:oe},ge={[v]:re,[V]:[true,{[v]:ae,[V]:[he,"supportsDualStack"]}]},me=[Ae],Ee=[de],ye=[{[K]:"Region"}];const Ce={version:"1.0",parameters:{Region:ce,UseDualStack:le,UseFIPS:le,Endpoint:ce},rules:[{conditions:[{[v]:te,[V]:[ue]}],rules:[{conditions:me,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:ne},{conditions:Ee,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:ne},{endpoint:{url:ue,properties:pe,headers:pe},type:ie}],type:se},{conditions:[{[v]:te,[V]:ye}],rules:[{conditions:[{[v]:"aws.partition",[V]:ye,assign:oe}],rules:[{conditions:[Ae,de],rules:[{conditions:[{[v]:re,[V]:[ee,fe]},ge],rules:[{endpoint:{url:"https://api.ecr-public-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:pe,headers:pe},type:ie}],type:se},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:ne}],type:se},{conditions:me,rules:[{conditions:[{[v]:re,[V]:[fe,ee]}],rules:[{endpoint:{url:"https://api.ecr-public-fips.{Region}.{PartitionResult#dnsSuffix}",properties:pe,headers:pe},type:ie}],type:se},{error:"FIPS is enabled but this partition does not support FIPS",type:ne}],type:se},{conditions:Ee,rules:[{conditions:[ge],rules:[{conditions:[{[v]:"stringEquals",[V]:["aws",{[v]:ae,[V]:[he,"name"]}]}],endpoint:{url:"https://ecr-public.{Region}.api.aws",properties:pe,headers:pe},type:ie},{endpoint:{url:"https://api.ecr-public.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:pe,headers:pe},type:ie}],type:se},{error:"DualStack is enabled but this partition does not support DualStack",type:ne}],type:se},{endpoint:{url:"https://api.ecr-public.{Region}.{PartitionResult#dnsSuffix}",properties:pe,headers:pe},type:ie}],type:se}],type:se},{error:"Invalid Configuration: Missing Region",type:ne}]};d.ruleSet=Ce},29821:(i,d,p)=>{var v;var V=p(52590);var K=p(85242);var ee=p(81568);var te=p(32959);var re=p(39316);var ne=p(90402);var ie=p(26890);var se=p(47212);var oe=p(40099);var ae=p(19618);var ce=p(61411);var le=p(93182);var ue=p(58199);var Ae=p(36463);var de=p(72356);const resolveClientEndpointParameters=i=>Object.assign(i,{useDualstackEndpoint:i.useDualstackEndpoint??false,useFipsEndpoint:i.useFipsEndpoint??false,defaultSigningName:"ecr-public"});const pe={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}};const getHttpAuthExtensionConfiguration=i=>{const d=i.httpAuthSchemes;let p=i.httpAuthSchemeProvider;let v=i.credentials;return{setHttpAuthScheme(i){const p=d.findIndex((d=>d.schemeId===i.schemeId));if(p===-1){d.push(i)}else{d.splice(p,1,i)}},httpAuthSchemes(){return d},setHttpAuthSchemeProvider(i){p=i},httpAuthSchemeProvider(){return p},setCredentials(i){v=i},credentials(){return v}}};const resolveHttpAuthRuntimeConfig=i=>({httpAuthSchemes:i.httpAuthSchemes(),httpAuthSchemeProvider:i.httpAuthSchemeProvider(),credentials:i.credentials()});const resolveRuntimeExtensions=(i,d)=>{const p=Object.assign(Ae.getAwsRegionExtensionConfiguration(i),ce.getDefaultExtensionConfiguration(i),de.getHttpHandlerExtensionConfiguration(i),getHttpAuthExtensionConfiguration(i));d.forEach((i=>i.configure(p)));return Object.assign(i,Ae.resolveAwsRegionExtensionConfiguration(p),ce.resolveDefaultRuntimeConfig(p),de.resolveHttpHandlerRuntimeConfig(p),resolveHttpAuthRuntimeConfig(p))};class ECRPUBLICClient extends ce.Client{config;constructor(...[i]){const d=ue.getRuntimeConfig(i||{});super(d);this.initConfig=d;const p=resolveClientEndpointParameters(d);const v=te.resolveUserAgentConfig(p);const ce=ae.resolveRetryConfig(v);const Ae=re.resolveRegionConfig(ce);const de=V.resolveHostHeaderConfig(Ae);const pe=oe.resolveEndpointConfig(de);const fe=le.resolveHttpAuthSchemeConfig(pe);const he=resolveRuntimeExtensions(fe,i?.extensions||[]);this.config=he;this.middlewareStack.use(ie.getSchemaSerdePlugin(this.config));this.middlewareStack.use(te.getUserAgentPlugin(this.config));this.middlewareStack.use(ae.getRetryPlugin(this.config));this.middlewareStack.use(se.getContentLengthPlugin(this.config));this.middlewareStack.use(V.getHostHeaderPlugin(this.config));this.middlewareStack.use(K.getLoggerPlugin(this.config));this.middlewareStack.use(ee.getRecursionDetectionPlugin(this.config));this.middlewareStack.use(ne.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:le.defaultECRPUBLICHttpAuthSchemeParametersProvider,identityProviderConfigProvider:async i=>new ne.DefaultIdentityProviderConfig({"aws.auth#sigv4":i.credentials})}));this.middlewareStack.use(ne.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class ECRPUBLICServiceException extends ce.ServiceException{constructor(i){super(i);Object.setPrototypeOf(this,ECRPUBLICServiceException.prototype)}}class InvalidParameterException extends ECRPUBLICServiceException{name="InvalidParameterException";$fault="client";constructor(i){super({name:"InvalidParameterException",$fault:"client",...i});Object.setPrototypeOf(this,InvalidParameterException.prototype)}}class RegistryNotFoundException extends ECRPUBLICServiceException{name="RegistryNotFoundException";$fault="client";constructor(i){super({name:"RegistryNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,RegistryNotFoundException.prototype)}}class RepositoryNotFoundException extends ECRPUBLICServiceException{name="RepositoryNotFoundException";$fault="client";constructor(i){super({name:"RepositoryNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,RepositoryNotFoundException.prototype)}}class ServerException extends ECRPUBLICServiceException{name="ServerException";$fault="server";constructor(i){super({name:"ServerException",$fault:"server",...i});Object.setPrototypeOf(this,ServerException.prototype)}}class UnsupportedCommandException extends ECRPUBLICServiceException{name="UnsupportedCommandException";$fault="client";constructor(i){super({name:"UnsupportedCommandException",$fault:"client",...i});Object.setPrototypeOf(this,UnsupportedCommandException.prototype)}}class EmptyUploadException extends ECRPUBLICServiceException{name="EmptyUploadException";$fault="client";constructor(i){super({name:"EmptyUploadException",$fault:"client",...i});Object.setPrototypeOf(this,EmptyUploadException.prototype)}}class InvalidLayerException extends ECRPUBLICServiceException{name="InvalidLayerException";$fault="client";constructor(i){super({name:"InvalidLayerException",$fault:"client",...i});Object.setPrototypeOf(this,InvalidLayerException.prototype)}}class LayerAlreadyExistsException extends ECRPUBLICServiceException{name="LayerAlreadyExistsException";$fault="client";constructor(i){super({name:"LayerAlreadyExistsException",$fault:"client",...i});Object.setPrototypeOf(this,LayerAlreadyExistsException.prototype)}}class LayerPartTooSmallException extends ECRPUBLICServiceException{name="LayerPartTooSmallException";$fault="client";constructor(i){super({name:"LayerPartTooSmallException",$fault:"client",...i});Object.setPrototypeOf(this,LayerPartTooSmallException.prototype)}}class UploadNotFoundException extends ECRPUBLICServiceException{name="UploadNotFoundException";$fault="client";constructor(i){super({name:"UploadNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,UploadNotFoundException.prototype)}}class InvalidTagParameterException extends ECRPUBLICServiceException{name="InvalidTagParameterException";$fault="client";constructor(i){super({name:"InvalidTagParameterException",$fault:"client",...i});Object.setPrototypeOf(this,InvalidTagParameterException.prototype)}}class LimitExceededException extends ECRPUBLICServiceException{name="LimitExceededException";$fault="client";constructor(i){super({name:"LimitExceededException",$fault:"client",...i});Object.setPrototypeOf(this,LimitExceededException.prototype)}}class RepositoryAlreadyExistsException extends ECRPUBLICServiceException{name="RepositoryAlreadyExistsException";$fault="client";constructor(i){super({name:"RepositoryAlreadyExistsException",$fault:"client",...i});Object.setPrototypeOf(this,RepositoryAlreadyExistsException.prototype)}}class TooManyTagsException extends ECRPUBLICServiceException{name="TooManyTagsException";$fault="client";constructor(i){super({name:"TooManyTagsException",$fault:"client",...i});Object.setPrototypeOf(this,TooManyTagsException.prototype)}}class RepositoryNotEmptyException extends ECRPUBLICServiceException{name="RepositoryNotEmptyException";$fault="client";constructor(i){super({name:"RepositoryNotEmptyException",$fault:"client",...i});Object.setPrototypeOf(this,RepositoryNotEmptyException.prototype)}}class RepositoryPolicyNotFoundException extends ECRPUBLICServiceException{name="RepositoryPolicyNotFoundException";$fault="client";constructor(i){super({name:"RepositoryPolicyNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,RepositoryPolicyNotFoundException.prototype)}}class ImageNotFoundException extends ECRPUBLICServiceException{name="ImageNotFoundException";$fault="client";constructor(i){super({name:"ImageNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,ImageNotFoundException.prototype)}}class RepositoryCatalogDataNotFoundException extends ECRPUBLICServiceException{name="RepositoryCatalogDataNotFoundException";$fault="client";constructor(i){super({name:"RepositoryCatalogDataNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,RepositoryCatalogDataNotFoundException.prototype)}}class ImageAlreadyExistsException extends ECRPUBLICServiceException{name="ImageAlreadyExistsException";$fault="client";constructor(i){super({name:"ImageAlreadyExistsException",$fault:"client",...i});Object.setPrototypeOf(this,ImageAlreadyExistsException.prototype)}}class ImageDigestDoesNotMatchException extends ECRPUBLICServiceException{name="ImageDigestDoesNotMatchException";$fault="client";constructor(i){super({name:"ImageDigestDoesNotMatchException",$fault:"client",...i});Object.setPrototypeOf(this,ImageDigestDoesNotMatchException.prototype)}}class ImageTagAlreadyExistsException extends ECRPUBLICServiceException{name="ImageTagAlreadyExistsException";$fault="client";constructor(i){super({name:"ImageTagAlreadyExistsException",$fault:"client",...i});Object.setPrototypeOf(this,ImageTagAlreadyExistsException.prototype)}}class InvalidLayerPartException extends ECRPUBLICServiceException{name="InvalidLayerPartException";$fault="client";registryId;repositoryName;uploadId;lastValidByteReceived;constructor(i){super({name:"InvalidLayerPartException",$fault:"client",...i});Object.setPrototypeOf(this,InvalidLayerPartException.prototype);this.registryId=i.registryId;this.repositoryName=i.repositoryName;this.uploadId=i.uploadId;this.lastValidByteReceived=i.lastValidByteReceived}}class LayersNotFoundException extends ECRPUBLICServiceException{name="LayersNotFoundException";$fault="client";constructor(i){super({name:"LayersNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,LayersNotFoundException.prototype)}}class ReferencedImagesNotFoundException extends ECRPUBLICServiceException{name="ReferencedImagesNotFoundException";$fault="client";constructor(i){super({name:"ReferencedImagesNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,ReferencedImagesNotFoundException.prototype)}}const fe="AuthorizationData";const he="BatchCheckLayerAvailability";const ge="BatchCheckLayerAvailabilityRequest";const me="BatchCheckLayerAvailabilityResponse";const Ee="BatchDeleteImage";const ye="BatchDeleteImageRequest";const Ce="BatchDeleteImageResponse";const be="CompleteLayerUpload";const Ie="CompleteLayerUploadRequest";const Be="CompleteLayerUploadResponse";const we="CreateRepository";const Se="CreateRepositoryRequest";const Qe="CreateRepositoryResponse";const ve="DescribeImages";const Re="DescribeImagesRequest";const Te="DescribeImagesResponse";const Ne="DescribeImageTags";const ke="DescribeImageTagsRequest";const De="DescribeImageTagsResponse";const xe="DeleteRepository";const _e="DeleteRepositoryPolicy";const Pe="DeleteRepositoryPolicyRequest";const Oe="DeleteRepositoryPolicyResponse";const Le="DeleteRepositoryRequest";const Fe="DeleteRepositoryResponse";const Me="DescribeRegistriesRequest";const Ue="DescribeRegistriesResponse";const He="DescribeRepositoriesRequest";const Ge="DescribeRepositoriesResponse";const qe="DescribeRegistries";const je="DescribeRepositories";const Ve="EmptyUploadException";const ze="GetAuthorizationToken";const Ye="GetAuthorizationTokenRequest";const We="GetAuthorizationTokenResponse";const Je="GetRegistryCatalogData";const $e="GetRegistryCatalogDataRequest";const Ke="GetRegistryCatalogDataResponse";const Xe="GetRepositoryCatalogDataRequest";const Ze="GetRepositoryCatalogDataResponse";const At="GetRepositoryCatalogData";const mt="GetRepositoryPolicy";const Et="GetRepositoryPolicyRequest";const yt="GetRepositoryPolicyResponse";const Ct="Image";const bt="ImageAlreadyExistsException";const It="ImageDetail";const Bt="ImageDigestDoesNotMatchException";const wt="ImageDetailList";const St="ImageFailure";const Qt="ImageFailureList";const vt="ImageIdentifier";const Rt="ImageIdentifierList";const Tt="InvalidLayerException";const Nt="InvalidLayerPartException";const kt="InitiateLayerUpload";const Dt="InitiateLayerUploadRequest";const xt="InitiateLayerUploadResponse";const _t="ImageNotFoundException";const Pt="InvalidParameterException";const Ot="ImageTagAlreadyExistsException";const Lt="ImageTagDetail";const Ft="ImageTagDetailList";const Mt="InvalidTagParameterException";const Ut="Key";const Ht="Layer";const Gt="LayerAlreadyExistsException";const qt="LimitExceededException";const jt="LayerFailure";const Vt="LayerFailureList";const zt="LayerList";const Yt="LayersNotFoundException";const Wt="LayerPartTooSmallException";const Jt="ListTagsForResource";const $t="ListTagsForResourceRequest";const Kt="ListTagsForResourceResponse";const Xt="PutImage";const Zt="PutImageRequest";const er="PutImageResponse";const tr="PutRegistryCatalogData";const rr="PutRegistryCatalogDataRequest";const nr="PutRegistryCatalogDataResponse";const ir="PutRepositoryCatalogDataRequest";const sr="PutRepositoryCatalogDataResponse";const or="PutRepositoryCatalogData";const ar="Registry";const cr="RegistryAlias";const lr="RepositoryAlreadyExistsException";const ur="RegistryAliasList";const Ar="RegistryCatalogData";const dr="RepositoryCatalogDataInput";const pr="RepositoryCatalogDataNotFoundException";const fr="RepositoryCatalogData";const hr="ReferencedImageDetail";const gr="ReferencedImagesNotFoundException";const mr="RegistryList";const Er="RepositoryList";const yr="RepositoryNotEmptyException";const Cr="RegistryNotFoundException";const br="RepositoryNotFoundException";const Ir="RepositoryPolicyNotFoundException";const Br="Repository";const wr="ServerException";const Sr="SetRepositoryPolicy";const Qr="SetRepositoryPolicyRequest";const vr="SetRepositoryPolicyResponse";const Rr="Tag";const Tr="TagList";const Nr="TooManyTagsException";const kr="TagResource";const Dr="TagResourceRequest";const xr="TagResourceResponse";const _r="UnsupportedCommandException";const Pr="UploadLayerPart";const Or="UploadLayerPartRequest";const Lr="UploadLayerPartResponse";const Fr="UploadNotFoundException";const Mr="UntagResource";const Ur="UntagResourceRequest";const Hr="UntagResourceResponse";const Gr="Value";const qr="aliases";const jr="authorizationData";const Vr="artifactMediaType";const zr="authorizationToken";const Yr="aboutText";const Wr="architectures";const Jr="client";const $r="createdAt";const Kr="catalogData";const Xr="description";const Zr="displayName";const en="defaultRegistryAlias";const tn="error";const rn="expiresAt";const nn="failures";const sn="failureCode";const an="failureReason";const cn="force";const ln="image";const un="imageDetails";const An="imageDigest";const dn="imageDetail";const pn="imageIds";const hn="imageId";const gn="imageManifest";const mn="imageManifestMediaType";const En="imagePushedAt";const yn="imageSizeInBytes";const Cn="imageTags";const bn="imageTagDetails";const In="imageTag";const Bn="layers";const wn="layerAvailability";const Sn="lastByteReceived";const Qn="layerDigests";const vn="layerDigest";const Rn="logoImageBlob";const Tn="layerPartBlob";const Nn="layerSize";const kn="logoUrl";const Dn="lastValidByteReceived";const xn="message";const _n="marketplaceCertified";const Pn="maxResults";const On="mediaType";const Ln="name";const Fn="nextToken";const Mn="operatingSystems";const Un="partFirstByte";const Hn="partLastByte";const Gn="primaryRegistryAlias";const qn="partSize";const jn="policyText";const Vn="repository";const zn="resourceArn";const Yn="registryArn";const Wn="repositoryArn";const Jn="registryCatalogData";const $n="registryId";const Kn="repositoryName";const Xn="repositoryNames";const Zn="registryUri";const ei="repositoryUri";const ti="registries";const ri="repositories";const ni="status";const ii="server";const si="smithy.ts.sdk.synthetic.com.amazonaws.ecrpublic";const oi="tags";const ai="tagKeys";const ci="uploadId";const li="usageText";const ui="verified";const Ai="com.amazonaws.ecrpublic";var di=[3,Ai,fe,0,[zr,rn],[0,4]];var pi=[3,Ai,ge,0,[Kn,Qn,$n],[0,64|0,0],2];var fi=[3,Ai,me,0,[Bn,nn],[()=>Ks,()=>$s]];var hi=[3,Ai,ye,0,[Kn,pn,$n],[0,()=>Ws,0],2];var gi=[3,Ai,Ce,0,[pn,nn],[()=>Ws,()=>Ys]];var mi=[3,Ai,Ie,0,[Kn,ci,Qn,$n],[0,0,64|0,0],3];var Ei=[3,Ai,Be,0,[$n,Kn,ci,vn],[0,0,0,0]];var yi=[3,Ai,Se,0,[Kn,Kr,oi],[0,()=>vs,()=>to],1];var Ci=[3,Ai,Qe,0,[Vn,Kr],[()=>ws,()=>Qs]];var bi=[3,Ai,Pe,0,[Kn,$n],[0,0],1];var Ii=[3,Ai,Oe,0,[$n,Kn,jn],[0,0,0]];var Bi=[3,Ai,Le,0,[Kn,$n,cn],[0,0,2],1];var wi=[3,Ai,Fe,0,[Vn],[()=>ws]];var Si=[3,Ai,Re,0,[Kn,$n,pn,Fn,Pn],[0,0,()=>Ws,0,1],1];var Qi=[3,Ai,Te,0,[un,Fn],[()=>zs,0]];var vi=[3,Ai,ke,0,[Kn,$n,Fn,Pn],[0,0,0,1],1];var Ri=[3,Ai,De,0,[bn,Fn],[()=>Js,0]];var Ti=[3,Ai,Me,0,[Fn,Pn],[0,1]];var Ni=[3,Ai,Ue,0,[ti,Fn],[()=>Zs,0],1];var ki=[3,Ai,He,0,[$n,Xn,Fn,Pn],[0,64|0,0,1]];var Di=[3,Ai,Ge,0,[ri,Fn],[()=>eo,0]];var xi=[-3,Ai,Ve,{[tn]:Jr},[xn],[0]];ie.TypeRegistry.for(Ai).registerError(xi,EmptyUploadException);var _i=[3,Ai,Ye,0,[],[]];var Pi=[3,Ai,We,0,[jr],[()=>di]];var Oi=[3,Ai,$e,0,[],[]];var Li=[3,Ai,Ke,0,[Jn],[()=>Is],1];var Fi=[3,Ai,Xe,0,[Kn,$n],[0,0],1];var Mi=[3,Ai,Ze,0,[Kr],[()=>Qs]];var Ui=[3,Ai,Et,0,[Kn,$n],[0,0],1];var Hi=[3,Ai,yt,0,[$n,Kn,jn],[0,0,0]];var Gi=[3,Ai,Ct,0,[$n,Kn,hn,gn,mn],[0,0,()=>Yi,0,0]];var qi=[-3,Ai,bt,{[tn]:Jr},[xn],[0]];ie.TypeRegistry.for(Ai).registerError(qi,ImageAlreadyExistsException);var ji=[3,Ai,It,0,[$n,Kn,An,Cn,yn,En,mn,Vr],[0,0,0,64|0,1,4,0,0]];var Vi=[-3,Ai,Bt,{[tn]:Jr},[xn],[0]];ie.TypeRegistry.for(Ai).registerError(Vi,ImageDigestDoesNotMatchException);var zi=[3,Ai,St,0,[hn,sn,an],[()=>Yi,0,0]];var Yi=[3,Ai,vt,0,[An,In],[0,0]];var Wi=[-3,Ai,_t,{[tn]:Jr},[xn],[0]];ie.TypeRegistry.for(Ai).registerError(Wi,ImageNotFoundException);var Ji=[-3,Ai,Ot,{[tn]:Jr},[xn],[0]];ie.TypeRegistry.for(Ai).registerError(Ji,ImageTagAlreadyExistsException);var $i=[3,Ai,Lt,0,[In,$r,dn],[0,4,()=>Es]];var Ki=[3,Ai,Dt,0,[Kn,$n],[0,0],1];var Xi=[3,Ai,xt,0,[ci,qn],[0,1]];var Zi=[-3,Ai,Tt,{[tn]:Jr},[xn],[0]];ie.TypeRegistry.for(Ai).registerError(Zi,InvalidLayerException);var es=[-3,Ai,Nt,{[tn]:Jr},[$n,Kn,ci,Dn,xn],[0,0,0,1,0]];ie.TypeRegistry.for(Ai).registerError(es,InvalidLayerPartException);var ts=[-3,Ai,Pt,{[tn]:Jr},[xn],[0]];ie.TypeRegistry.for(Ai).registerError(ts,InvalidParameterException);var rs=[-3,Ai,Mt,{[tn]:Jr},[xn],[0]];ie.TypeRegistry.for(Ai).registerError(rs,InvalidTagParameterException);var ns=[3,Ai,Ht,0,[vn,wn,Nn,On],[0,0,1,0]];var ss=[-3,Ai,Gt,{[tn]:Jr},[xn],[0]];ie.TypeRegistry.for(Ai).registerError(ss,LayerAlreadyExistsException);var os=[3,Ai,jt,0,[vn,sn,an],[0,0,0]];var as=[-3,Ai,Wt,{[tn]:Jr},[xn],[0]];ie.TypeRegistry.for(Ai).registerError(as,LayerPartTooSmallException);var cs=[-3,Ai,Yt,{[tn]:Jr},[xn],[0]];ie.TypeRegistry.for(Ai).registerError(cs,LayersNotFoundException);var ls=[-3,Ai,qt,{[tn]:Jr},[xn],[0]];ie.TypeRegistry.for(Ai).registerError(ls,LimitExceededException);var us=[3,Ai,$t,0,[zn],[0],1];var As=[3,Ai,Kt,0,[oi],[()=>to]];var ds=[3,Ai,Zt,0,[Kn,gn,$n,mn,In,An],[0,0,0,0,0,0],2];var ps=[3,Ai,er,0,[ln],[()=>Gi]];var fs=[3,Ai,rr,0,[Zr],[0]];var hs=[3,Ai,nr,0,[Jn],[()=>Is],1];var gs=[3,Ai,ir,0,[Kn,Kr,$n],[0,()=>vs,0],2];var ms=[3,Ai,sr,0,[Kr],[()=>Qs]];var Es=[3,Ai,hr,0,[An,yn,En,mn,Vr],[0,1,4,0,0]];var ys=[-3,Ai,gr,{[tn]:Jr},[xn],[0]];ie.TypeRegistry.for(Ai).registerError(ys,ReferencedImagesNotFoundException);var Cs=[3,Ai,ar,0,[$n,Yn,Zn,ui,qr],[0,0,0,2,()=>Xs],5];var bs=[3,Ai,cr,0,[Ln,ni,Gn,en],[0,0,2,2],4];var Is=[3,Ai,Ar,0,[Zr],[0]];var Bs=[-3,Ai,Cr,{[tn]:Jr},[xn],[0]];ie.TypeRegistry.for(Ai).registerError(Bs,RegistryNotFoundException);var ws=[3,Ai,Br,0,[Wn,$n,Kn,ei,$r],[0,0,0,0,4]];var Ss=[-3,Ai,lr,{[tn]:Jr},[xn],[0]];ie.TypeRegistry.for(Ai).registerError(Ss,RepositoryAlreadyExistsException);var Qs=[3,Ai,fr,0,[Xr,Wr,Mn,kn,Yr,li,_n],[0,64|0,64|0,0,0,0,2]];var vs=[3,Ai,dr,0,[Xr,Wr,Mn,Rn,Yr,li],[0,64|0,64|0,21,0,0]];var Rs=[-3,Ai,pr,{[tn]:Jr},[xn],[0]];ie.TypeRegistry.for(Ai).registerError(Rs,RepositoryCatalogDataNotFoundException);var Ts=[-3,Ai,yr,{[tn]:Jr},[xn],[0]];ie.TypeRegistry.for(Ai).registerError(Ts,RepositoryNotEmptyException);var Ns=[-3,Ai,br,{[tn]:Jr},[xn],[0]];ie.TypeRegistry.for(Ai).registerError(Ns,RepositoryNotFoundException);var ks=[-3,Ai,Ir,{[tn]:Jr},[xn],[0]];ie.TypeRegistry.for(Ai).registerError(ks,RepositoryPolicyNotFoundException);var Ds=[-3,Ai,wr,{[tn]:ii},[xn],[0]];ie.TypeRegistry.for(Ai).registerError(Ds,ServerException);var xs=[3,Ai,Qr,0,[Kn,jn,$n,cn],[0,0,0,2],2];var _s=[3,Ai,vr,0,[$n,Kn,jn],[0,0,0]];var Ps=[3,Ai,Rr,0,[Ut,Gr],[0,0]];var Os=[3,Ai,Dr,0,[zn,oi],[0,()=>to],2];var Ls=[3,Ai,xr,0,[],[]];var Fs=[-3,Ai,Nr,{[tn]:Jr},[xn],[0]];ie.TypeRegistry.for(Ai).registerError(Fs,TooManyTagsException);var Ms=[-3,Ai,_r,{[tn]:Jr},[xn],[0]];ie.TypeRegistry.for(Ai).registerError(Ms,UnsupportedCommandException);var Us=[3,Ai,Ur,0,[zn,ai],[0,64|0],2];var Hs=[3,Ai,Hr,0,[],[]];var Gs=[3,Ai,Or,0,[Kn,ci,Un,Hn,Tn,$n],[0,0,1,1,21,0],5];var qs=[3,Ai,Lr,0,[$n,Kn,ci,Sn],[0,0,0,1]];var js=[-3,Ai,Fr,{[tn]:Jr},[xn],[0]];ie.TypeRegistry.for(Ai).registerError(js,UploadNotFoundException);var Vs=[-3,si,"ECRPUBLICServiceException",0,[],[]];ie.TypeRegistry.for(si).registerError(Vs,ECRPUBLICServiceException);var zs=[1,Ai,wt,0,()=>ji];var Ys=[1,Ai,Qt,0,()=>zi];var Ws=[1,Ai,Rt,0,()=>Yi];var Js=[1,Ai,Ft,0,()=>$i];var $s=[1,Ai,Vt,0,()=>os];var Ks=[1,Ai,zt,0,()=>ns];var Xs=[1,Ai,ur,0,()=>bs];var Zs=[1,Ai,mr,0,()=>Cs];var eo=[1,Ai,Er,0,()=>ws];var to=[1,Ai,Tr,0,()=>Ps];var ro=[9,Ai,he,0,()=>pi,()=>fi];var no=[9,Ai,Ee,0,()=>hi,()=>gi];var io=[9,Ai,be,0,()=>mi,()=>Ei];var so=[9,Ai,we,0,()=>yi,()=>Ci];var oo=[9,Ai,xe,0,()=>Bi,()=>wi];var ao=[9,Ai,_e,0,()=>bi,()=>Ii];var co=[9,Ai,ve,0,()=>Si,()=>Qi];var lo=[9,Ai,Ne,0,()=>vi,()=>Ri];var uo=[9,Ai,qe,0,()=>Ti,()=>Ni];var Ao=[9,Ai,je,0,()=>ki,()=>Di];var po=[9,Ai,ze,0,()=>_i,()=>Pi];var fo=[9,Ai,Je,0,()=>Oi,()=>Li];var ho=[9,Ai,At,0,()=>Fi,()=>Mi];var go=[9,Ai,mt,0,()=>Ui,()=>Hi];var mo=[9,Ai,kt,0,()=>Ki,()=>Xi];var Eo=[9,Ai,Jt,0,()=>us,()=>As];var yo=[9,Ai,Xt,0,()=>ds,()=>ps];var Co=[9,Ai,tr,0,()=>fs,()=>hs];var bo=[9,Ai,or,0,()=>gs,()=>ms];var Io=[9,Ai,Sr,0,()=>xs,()=>_s];var Bo=[9,Ai,kr,0,()=>Os,()=>Ls];var wo=[9,Ai,Mr,0,()=>Us,()=>Hs];var So=[9,Ai,Pr,0,()=>Gs,()=>qs];class BatchCheckLayerAvailabilityCommand extends(ce.Command.classBuilder().ep(pe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","BatchCheckLayerAvailability",{}).n("ECRPUBLICClient","BatchCheckLayerAvailabilityCommand").sc(ro).build()){}class BatchDeleteImageCommand extends(ce.Command.classBuilder().ep(pe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","BatchDeleteImage",{}).n("ECRPUBLICClient","BatchDeleteImageCommand").sc(no).build()){}class CompleteLayerUploadCommand extends(ce.Command.classBuilder().ep(pe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","CompleteLayerUpload",{}).n("ECRPUBLICClient","CompleteLayerUploadCommand").sc(io).build()){}class CreateRepositoryCommand extends(ce.Command.classBuilder().ep(pe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","CreateRepository",{}).n("ECRPUBLICClient","CreateRepositoryCommand").sc(so).build()){}class DeleteRepositoryCommand extends(ce.Command.classBuilder().ep(pe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","DeleteRepository",{}).n("ECRPUBLICClient","DeleteRepositoryCommand").sc(oo).build()){}class DeleteRepositoryPolicyCommand extends(ce.Command.classBuilder().ep(pe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","DeleteRepositoryPolicy",{}).n("ECRPUBLICClient","DeleteRepositoryPolicyCommand").sc(ao).build()){}class DescribeImagesCommand extends(ce.Command.classBuilder().ep(pe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","DescribeImages",{}).n("ECRPUBLICClient","DescribeImagesCommand").sc(co).build()){}class DescribeImageTagsCommand extends(ce.Command.classBuilder().ep(pe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","DescribeImageTags",{}).n("ECRPUBLICClient","DescribeImageTagsCommand").sc(lo).build()){}class DescribeRegistriesCommand extends(ce.Command.classBuilder().ep(pe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","DescribeRegistries",{}).n("ECRPUBLICClient","DescribeRegistriesCommand").sc(uo).build()){}class DescribeRepositoriesCommand extends(ce.Command.classBuilder().ep(pe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","DescribeRepositories",{}).n("ECRPUBLICClient","DescribeRepositoriesCommand").sc(Ao).build()){}class GetAuthorizationTokenCommand extends(ce.Command.classBuilder().ep(pe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","GetAuthorizationToken",{}).n("ECRPUBLICClient","GetAuthorizationTokenCommand").sc(po).build()){}class GetRegistryCatalogDataCommand extends(ce.Command.classBuilder().ep(pe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","GetRegistryCatalogData",{}).n("ECRPUBLICClient","GetRegistryCatalogDataCommand").sc(fo).build()){}class GetRepositoryCatalogDataCommand extends(ce.Command.classBuilder().ep(pe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","GetRepositoryCatalogData",{}).n("ECRPUBLICClient","GetRepositoryCatalogDataCommand").sc(ho).build()){}class GetRepositoryPolicyCommand extends(ce.Command.classBuilder().ep(pe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","GetRepositoryPolicy",{}).n("ECRPUBLICClient","GetRepositoryPolicyCommand").sc(go).build()){}class InitiateLayerUploadCommand extends(ce.Command.classBuilder().ep(pe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","InitiateLayerUpload",{}).n("ECRPUBLICClient","InitiateLayerUploadCommand").sc(mo).build()){}class ListTagsForResourceCommand extends(ce.Command.classBuilder().ep(pe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","ListTagsForResource",{}).n("ECRPUBLICClient","ListTagsForResourceCommand").sc(Eo).build()){}class PutImageCommand extends(ce.Command.classBuilder().ep(pe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","PutImage",{}).n("ECRPUBLICClient","PutImageCommand").sc(yo).build()){}class PutRegistryCatalogDataCommand extends(ce.Command.classBuilder().ep(pe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","PutRegistryCatalogData",{}).n("ECRPUBLICClient","PutRegistryCatalogDataCommand").sc(Co).build()){}class PutRepositoryCatalogDataCommand extends(ce.Command.classBuilder().ep(pe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","PutRepositoryCatalogData",{}).n("ECRPUBLICClient","PutRepositoryCatalogDataCommand").sc(bo).build()){}class SetRepositoryPolicyCommand extends(ce.Command.classBuilder().ep(pe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","SetRepositoryPolicy",{}).n("ECRPUBLICClient","SetRepositoryPolicyCommand").sc(Io).build()){}class TagResourceCommand extends(ce.Command.classBuilder().ep(pe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","TagResource",{}).n("ECRPUBLICClient","TagResourceCommand").sc(Bo).build()){}class UntagResourceCommand extends(ce.Command.classBuilder().ep(pe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","UntagResource",{}).n("ECRPUBLICClient","UntagResourceCommand").sc(wo).build()){}class UploadLayerPartCommand extends(ce.Command.classBuilder().ep(pe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","UploadLayerPart",{}).n("ECRPUBLICClient","UploadLayerPartCommand").sc(So).build()){}const Qo=ne.createPaginator(ECRPUBLICClient,DescribeImagesCommand,"nextToken","nextToken","maxResults");const vo=ne.createPaginator(ECRPUBLICClient,DescribeImageTagsCommand,"nextToken","nextToken","maxResults");const Ro=ne.createPaginator(ECRPUBLICClient,DescribeRegistriesCommand,"nextToken","nextToken","maxResults");const To=ne.createPaginator(ECRPUBLICClient,DescribeRepositoriesCommand,"nextToken","nextToken","maxResults");const No={BatchCheckLayerAvailabilityCommand:BatchCheckLayerAvailabilityCommand,BatchDeleteImageCommand:BatchDeleteImageCommand,CompleteLayerUploadCommand:CompleteLayerUploadCommand,CreateRepositoryCommand:CreateRepositoryCommand,DeleteRepositoryCommand:DeleteRepositoryCommand,DeleteRepositoryPolicyCommand:DeleteRepositoryPolicyCommand,DescribeImagesCommand:DescribeImagesCommand,DescribeImageTagsCommand:DescribeImageTagsCommand,DescribeRegistriesCommand:DescribeRegistriesCommand,DescribeRepositoriesCommand:DescribeRepositoriesCommand,GetAuthorizationTokenCommand:GetAuthorizationTokenCommand,GetRegistryCatalogDataCommand:GetRegistryCatalogDataCommand,GetRepositoryCatalogDataCommand:GetRepositoryCatalogDataCommand,GetRepositoryPolicyCommand:GetRepositoryPolicyCommand,InitiateLayerUploadCommand:InitiateLayerUploadCommand,ListTagsForResourceCommand:ListTagsForResourceCommand,PutImageCommand:PutImageCommand,PutRegistryCatalogDataCommand:PutRegistryCatalogDataCommand,PutRepositoryCatalogDataCommand:PutRepositoryCatalogDataCommand,SetRepositoryPolicyCommand:SetRepositoryPolicyCommand,TagResourceCommand:TagResourceCommand,UntagResourceCommand:UntagResourceCommand,UploadLayerPartCommand:UploadLayerPartCommand};const ko={paginateDescribeImages:Qo,paginateDescribeImageTags:vo,paginateDescribeRegistries:Ro,paginateDescribeRepositories:To};class ECRPUBLIC extends ECRPUBLICClient{}ce.createAggregatedClient(No,ECRPUBLIC,{paginators:ko});const Do={InvalidLayerDigest:"InvalidLayerDigest",MissingLayerDigest:"MissingLayerDigest"};const xo={AVAILABLE:"AVAILABLE",UNAVAILABLE:"UNAVAILABLE"};const _o={ImageNotFound:"ImageNotFound",ImageReferencedByManifestList:"ImageReferencedByManifestList",ImageTagDoesNotMatchDigest:"ImageTagDoesNotMatchDigest",InvalidImageDigest:"InvalidImageDigest",InvalidImageTag:"InvalidImageTag",KmsError:"KmsError",MissingDigestAndTag:"MissingDigestAndTag"};const Po={ACTIVE:"ACTIVE",PENDING:"PENDING",REJECTED:"REJECTED"};v={enumerable:true,get:function(){return ce.Command}};v={enumerable:true,get:function(){return ce.Client}};v=di;v=ro;v=BatchCheckLayerAvailabilityCommand;v=pi;v=fi;v=no;v=BatchDeleteImageCommand;v=hi;v=gi;v=io;v=CompleteLayerUploadCommand;v=mi;v=Ei;v=so;v=CreateRepositoryCommand;v=yi;v=Ci;v=oo;v=DeleteRepositoryCommand;v=ao;v=DeleteRepositoryPolicyCommand;v=bi;v=Ii;v=Bi;v=wi;v=lo;v=DescribeImageTagsCommand;v=vi;v=Ri;v=co;v=DescribeImagesCommand;v=Si;v=Qi;v=uo;v=DescribeRegistriesCommand;v=Ti;v=Ni;v=Ao;v=DescribeRepositoriesCommand;v=ki;v=Di;d.Uz=ECRPUBLIC;v=ECRPUBLICClient;v=ECRPUBLICServiceException;v=Vs;v=EmptyUploadException;v=xi;v=po;v=GetAuthorizationTokenCommand;v=_i;v=Pi;v=fo;v=GetRegistryCatalogDataCommand;v=Oi;v=Li;v=ho;v=GetRepositoryCatalogDataCommand;v=Fi;v=Mi;v=go;v=GetRepositoryPolicyCommand;v=Ui;v=Hi;v=Gi;v=ImageAlreadyExistsException;v=qi;v=ji;v=ImageDigestDoesNotMatchException;v=Vi;v=zi;v=_o;v=Yi;v=ImageNotFoundException;v=Wi;v=ImageTagAlreadyExistsException;v=Ji;v=$i;v=mo;v=InitiateLayerUploadCommand;v=Ki;v=Xi;v=InvalidLayerException;v=Zi;v=InvalidLayerPartException;v=es;v=InvalidParameterException;v=ts;v=InvalidTagParameterException;v=rs;v=ns;v=LayerAlreadyExistsException;v=ss;v=xo;v=os;v=Do;v=LayerPartTooSmallException;v=as;v=LayersNotFoundException;v=cs;v=LimitExceededException;v=ls;v=Eo;v=ListTagsForResourceCommand;v=us;v=As;v=yo;v=PutImageCommand;v=ds;v=ps;v=Co;v=PutRegistryCatalogDataCommand;v=fs;v=hs;v=bo;v=PutRepositoryCatalogDataCommand;v=gs;v=ms;v=Es;v=ReferencedImagesNotFoundException;v=ys;v=Cs;v=bs;v=Po;v=Is;v=RegistryNotFoundException;v=Bs;v=ws;v=RepositoryAlreadyExistsException;v=Ss;v=Qs;v=vs;v=RepositoryCatalogDataNotFoundException;v=Rs;v=RepositoryNotEmptyException;v=Ts;v=RepositoryNotFoundException;v=Ns;v=RepositoryPolicyNotFoundException;v=ks;v=ServerException;v=Ds;v=Io;v=SetRepositoryPolicyCommand;v=xs;v=_s;v=Ps;v=Bo;v=TagResourceCommand;v=Os;v=Ls;v=TooManyTagsException;v=Fs;v=UnsupportedCommandException;v=Ms;v=wo;v=UntagResourceCommand;v=Us;v=Hs;v=So;v=UploadLayerPartCommand;v=Gs;v=qs;v=UploadNotFoundException;v=js;v=vo;v=Qo;v=Ro;v=To},58199:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getRuntimeConfig=void 0;const v=p(61860);const V=v.__importDefault(p(47643));const K=p(8704);const ee=p(5861);const te=p(51656);const re=p(39316);const ne=p(5092);const ie=p(19618);const se=p(55704);const oe=p(61279);const ae=p(61411);const ce=p(13638);const le=p(15435);const ue=p(15518);const Ae=p(92180);const getRuntimeConfig=i=>{(0,ae.emitWarningIfUnsupportedVersion)(process.version);const d=(0,le.resolveDefaultsModeConfig)(i);const defaultConfigProvider=()=>d().then(ae.loadConfigsForDefaultMode);const p=(0,Ae.getRuntimeConfig)(i);(0,K.emitWarningIfUnsupportedVersion)(process.version);const v={profile:i?.profile,logger:p.logger};return{...p,...i,runtime:"node",defaultsMode:d,authSchemePreference:i?.authSchemePreference??(0,se.loadConfig)(K.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,v),bodyLengthChecker:i?.bodyLengthChecker??ce.calculateBodyLength,credentialDefaultProvider:i?.credentialDefaultProvider??ee.defaultProvider,defaultUserAgentProvider:i?.defaultUserAgentProvider??(0,te.createDefaultUserAgentProvider)({serviceId:p.serviceId,clientVersion:V.default.version}),maxAttempts:i?.maxAttempts??(0,se.loadConfig)(ie.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,i),region:i?.region??(0,se.loadConfig)(re.NODE_REGION_CONFIG_OPTIONS,{...re.NODE_REGION_CONFIG_FILE_OPTIONS,...v}),requestHandler:oe.NodeHttpHandler.create(i?.requestHandler??defaultConfigProvider),retryMode:i?.retryMode??(0,se.loadConfig)({...ie.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await defaultConfigProvider()).retryMode||ue.DEFAULT_RETRY_MODE},i),sha256:i?.sha256??ne.Hash.bind(null,"sha256"),streamCollector:i?.streamCollector??oe.streamCollector,useDualstackEndpoint:i?.useDualstackEndpoint??(0,se.loadConfig)(re.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,v),useFipsEndpoint:i?.useFipsEndpoint??(0,se.loadConfig)(re.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,v),userAgentAppId:i?.userAgentAppId??(0,se.loadConfig)(te.NODE_APP_ID_CONFIG_OPTIONS,v)}};d.getRuntimeConfig=getRuntimeConfig},92180:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getRuntimeConfig=void 0;const v=p(8704);const V=p(37288);const K=p(61411);const ee=p(14494);const te=p(68385);const re=p(71577);const ne=p(93182);const ie=p(96072);const getRuntimeConfig=i=>({apiVersion:"2020-10-30",base64Decoder:i?.base64Decoder??te.fromBase64,base64Encoder:i?.base64Encoder??te.toBase64,disableHostPrefix:i?.disableHostPrefix??false,endpointProvider:i?.endpointProvider??ie.defaultEndpointResolver,extensions:i?.extensions??[],httpAuthSchemeProvider:i?.httpAuthSchemeProvider??ne.defaultECRPUBLICHttpAuthSchemeProvider,httpAuthSchemes:i?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:i=>i.getIdentityProvider("aws.auth#sigv4"),signer:new v.AwsSdkSigV4Signer}],logger:i?.logger??new K.NoOpLogger,protocol:i?.protocol??V.AwsJson1_1Protocol,protocolSettings:i?.protocolSettings??{defaultNamespace:"com.amazonaws.ecrpublic",xmlNamespace:"http://ecr-public.amazonaws.com/doc/2020-12-02/",version:"2020-10-30",serviceTarget:"SpencerFrontendService"},serviceId:i?.serviceId??"ECR PUBLIC",urlParser:i?.urlParser??ee.parseUrl,utf8Decoder:i?.utf8Decoder??re.fromUtf8,utf8Encoder:i?.utf8Encoder??re.toUtf8});d.getRuntimeConfig=getRuntimeConfig},73218:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.resolveHttpAuthSchemeConfig=d.defaultECRHttpAuthSchemeProvider=d.defaultECRHttpAuthSchemeParametersProvider=void 0;const v=p(8704);const V=p(76324);const defaultECRHttpAuthSchemeParametersProvider=async(i,d,p)=>({operation:(0,V.getSmithyContext)(d).operation,region:await(0,V.normalizeProvider)(i.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()});d.defaultECRHttpAuthSchemeParametersProvider=defaultECRHttpAuthSchemeParametersProvider;function createAwsAuthSigv4HttpAuthOption(i){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"ecr",region:i.region},propertiesExtractor:(i,d)=>({signingProperties:{config:i,context:d}})}}const defaultECRHttpAuthSchemeProvider=i=>{const d=[];switch(i.operation){default:{d.push(createAwsAuthSigv4HttpAuthOption(i))}}return d};d.defaultECRHttpAuthSchemeProvider=defaultECRHttpAuthSchemeProvider;const resolveHttpAuthSchemeConfig=i=>{const d=(0,v.resolveAwsSdkSigV4Config)(i);return Object.assign(d,{authSchemePreference:(0,V.normalizeProvider)(i.authSchemePreference??[])})};d.resolveHttpAuthSchemeConfig=resolveHttpAuthSchemeConfig},33628:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.defaultEndpointResolver=void 0;const v=p(83068);const V=p(79674);const K=p(94193);const ee=new V.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]});const defaultEndpointResolver=(i,d={})=>ee.get(i,(()=>(0,V.resolveEndpoint)(K.ruleSet,{endpointParams:i,logger:d.logger})));d.defaultEndpointResolver=defaultEndpointResolver;V.customEndpointFunctions.aws=v.awsEndpointFunctions},94193:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.ruleSet=void 0;const p="required",v="fn",V="argv",K="ref",ee="url",te="properties",re="headers";const ne=true,ie="isSet",se="booleanEquals",oe="error",ae="endpoint",ce="tree",le="PartitionResult",ue={[p]:true,default:false,type:"boolean"},Ae={[p]:false,type:"string"},de={[K]:"Endpoint"},pe={[v]:se,[V]:[{[K]:"UseFIPS"},true]},fe={[v]:se,[V]:[{[K]:"UseDualStack"},true]},he={},ge={[v]:"stringEquals",[V]:[{[v]:"getAttr",[V]:[{[K]:le},"name"]},"aws"]},me={[v]:se,[V]:[{[K]:"UseFIPS"},false]},Ee={[v]:se,[V]:[{[K]:"UseDualStack"},false]},ye={[ee]:"https://api.ecr.{Region}.{PartitionResult#dnsSuffix}",[te]:{},[re]:{}},Ce={[ee]:"https://ecr.{Region}.{PartitionResult#dualStackDnsSuffix}",[te]:{},[re]:{}},be={[ee]:"https://api.ecr-fips.{Region}.{PartitionResult#dnsSuffix}",[te]:{},[re]:{}},Ie={[ee]:"https://ecr-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",[te]:{},[re]:{}},Be={[v]:"stringEquals",[V]:[{[v]:"getAttr",[V]:[{[K]:le},"name"]},"aws-us-gov"]},we={[v]:"stringEquals",[V]:[{[v]:"getAttr",[V]:[{[K]:le},"name"]},"aws-cn"]},Se={[v]:"stringEquals",[V]:[{[v]:"getAttr",[V]:[{[K]:le},"name"]},"aws-iso"]},Qe={[v]:"stringEquals",[V]:[{[v]:"getAttr",[V]:[{[K]:le},"name"]},"aws-iso-b"]},ve={[v]:"stringEquals",[V]:[{[v]:"getAttr",[V]:[{[K]:le},"name"]},"aws-iso-e"]},Re={[v]:"stringEquals",[V]:[{[v]:"getAttr",[V]:[{[K]:le},"name"]},"aws-iso-f"]},Te={[v]:"stringEquals",[V]:[{[v]:"getAttr",[V]:[{[K]:le},"name"]},"aws-eusc"]},Ne={[v]:"getAttr",[V]:[{[K]:le},"supportsFIPS"]},ke={[v]:se,[V]:[true,{[v]:"getAttr",[V]:[{[K]:le},"supportsDualStack"]}]},De=[{[K]:"Region"}];const xe={version:"1.0",parameters:{UseDualStack:ue,UseFIPS:ue,Endpoint:Ae,Region:Ae},rules:[{conditions:[{[v]:ie,[V]:[de]}],rules:[{conditions:[pe],error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:oe},{rules:[{conditions:[fe],error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:oe},{endpoint:{[ee]:de,[te]:he,[re]:he},type:ae}],type:ce}],type:ce},{rules:[{conditions:[{[v]:ie,[V]:De}],rules:[{conditions:[{[v]:"aws.partition",[V]:De,assign:le}],rules:[{conditions:[ge,me,Ee],endpoint:ye,type:ae},{conditions:[ge,me,fe],endpoint:Ce,type:ae},{conditions:[ge,pe,Ee],endpoint:be,type:ae},{conditions:[ge,pe,fe],endpoint:Ie,type:ae},{conditions:[Be,me,Ee],endpoint:ye,type:ae},{conditions:[Be,me,fe],endpoint:Ce,type:ae},{conditions:[Be,pe,Ee],endpoint:be,type:ae},{conditions:[Be,pe,fe],endpoint:Ie,type:ae},{conditions:[we,me,Ee],endpoint:ye,type:ae},{conditions:[we,me,fe],endpoint:Ce,type:ae},{conditions:[we,pe,Ee],endpoint:be,type:ae},{conditions:[we,pe,fe],endpoint:Ie,type:ae},{conditions:[Se,me,Ee],endpoint:ye,type:ae},{conditions:[Se,me,fe],endpoint:Ce,type:ae},{conditions:[Se,pe,Ee],endpoint:be,type:ae},{conditions:[Se,pe,fe],endpoint:Ie,type:ae},{conditions:[Qe,me,Ee],endpoint:ye,type:ae},{conditions:[Qe,me,fe],endpoint:Ce,type:ae},{conditions:[Qe,pe,Ee],endpoint:be,type:ae},{conditions:[Qe,pe,fe],endpoint:Ie,type:ae},{conditions:[ve,me,Ee],endpoint:ye,type:ae},{conditions:[ve,me,fe],endpoint:Ce,type:ae},{conditions:[ve,pe,Ee],endpoint:be,type:ae},{conditions:[ve,pe,fe],endpoint:Ie,type:ae},{conditions:[Re,me,Ee],endpoint:ye,type:ae},{conditions:[Re,me,fe],endpoint:Ce,type:ae},{conditions:[Re,pe,Ee],endpoint:be,type:ae},{conditions:[Re,pe,fe],endpoint:Ie,type:ae},{conditions:[Te,me,Ee],endpoint:ye,type:ae},{conditions:[Te,me,fe],endpoint:Ce,type:ae},{conditions:[Te,pe,Ee],endpoint:be,type:ae},{conditions:[Te,pe,fe],endpoint:Ie,type:ae},{conditions:[pe,fe],rules:[{conditions:[{[v]:se,[V]:[ne,Ne]},ke],rules:[{endpoint:{[ee]:"https://api.ecr-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",[te]:he,[re]:he},type:ae}],type:ce},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:oe}],type:ce},{conditions:[pe,Ee],rules:[{conditions:[{[v]:se,[V]:[Ne,ne]}],rules:[{endpoint:be,type:ae}],type:ce},{error:"FIPS is enabled but this partition does not support FIPS",type:oe}],type:ce},{conditions:[me,fe],rules:[{conditions:[ke],rules:[{endpoint:{[ee]:"https://api.ecr.{Region}.{PartitionResult#dualStackDnsSuffix}",[te]:he,[re]:he},type:ae}],type:ce},{error:"DualStack is enabled but this partition does not support DualStack",type:oe}],type:ce},{endpoint:ye,type:ae}],type:ce}],type:ce},{error:"Invalid Configuration: Missing Region",type:oe}],type:ce}]};d.ruleSet=xe},28249:(i,d,p)=>{var v;var V=p(52590);var K=p(85242);var ee=p(81568);var te=p(32959);var re=p(39316);var ne=p(90402);var ie=p(26890);var se=p(47212);var oe=p(40099);var ae=p(19618);var ce=p(61411);var le=p(73218);var ue=p(93107);var Ae=p(36463);var de=p(72356);var pe=p(95290);const resolveClientEndpointParameters=i=>Object.assign(i,{useDualstackEndpoint:i.useDualstackEndpoint??false,useFipsEndpoint:i.useFipsEndpoint??false,defaultSigningName:"ecr"});const fe={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}};const getHttpAuthExtensionConfiguration=i=>{const d=i.httpAuthSchemes;let p=i.httpAuthSchemeProvider;let v=i.credentials;return{setHttpAuthScheme(i){const p=d.findIndex((d=>d.schemeId===i.schemeId));if(p===-1){d.push(i)}else{d.splice(p,1,i)}},httpAuthSchemes(){return d},setHttpAuthSchemeProvider(i){p=i},httpAuthSchemeProvider(){return p},setCredentials(i){v=i},credentials(){return v}}};const resolveHttpAuthRuntimeConfig=i=>({httpAuthSchemes:i.httpAuthSchemes(),httpAuthSchemeProvider:i.httpAuthSchemeProvider(),credentials:i.credentials()});const resolveRuntimeExtensions=(i,d)=>{const p=Object.assign(Ae.getAwsRegionExtensionConfiguration(i),ce.getDefaultExtensionConfiguration(i),de.getHttpHandlerExtensionConfiguration(i),getHttpAuthExtensionConfiguration(i));d.forEach((i=>i.configure(p)));return Object.assign(i,Ae.resolveAwsRegionExtensionConfiguration(p),ce.resolveDefaultRuntimeConfig(p),de.resolveHttpHandlerRuntimeConfig(p),resolveHttpAuthRuntimeConfig(p))};class ECRClient extends ce.Client{config;constructor(...[i]){const d=ue.getRuntimeConfig(i||{});super(d);this.initConfig=d;const p=resolveClientEndpointParameters(d);const v=te.resolveUserAgentConfig(p);const ce=ae.resolveRetryConfig(v);const Ae=re.resolveRegionConfig(ce);const de=V.resolveHostHeaderConfig(Ae);const pe=oe.resolveEndpointConfig(de);const fe=le.resolveHttpAuthSchemeConfig(pe);const he=resolveRuntimeExtensions(fe,i?.extensions||[]);this.config=he;this.middlewareStack.use(ie.getSchemaSerdePlugin(this.config));this.middlewareStack.use(te.getUserAgentPlugin(this.config));this.middlewareStack.use(ae.getRetryPlugin(this.config));this.middlewareStack.use(se.getContentLengthPlugin(this.config));this.middlewareStack.use(V.getHostHeaderPlugin(this.config));this.middlewareStack.use(K.getLoggerPlugin(this.config));this.middlewareStack.use(ee.getRecursionDetectionPlugin(this.config));this.middlewareStack.use(ne.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:le.defaultECRHttpAuthSchemeParametersProvider,identityProviderConfigProvider:async i=>new ne.DefaultIdentityProviderConfig({"aws.auth#sigv4":i.credentials})}));this.middlewareStack.use(ne.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class ECRServiceException extends ce.ServiceException{constructor(i){super(i);Object.setPrototypeOf(this,ECRServiceException.prototype)}}class InvalidParameterException extends ECRServiceException{name="InvalidParameterException";$fault="client";constructor(i){super({name:"InvalidParameterException",$fault:"client",...i});Object.setPrototypeOf(this,InvalidParameterException.prototype)}}class RepositoryNotFoundException extends ECRServiceException{name="RepositoryNotFoundException";$fault="client";constructor(i){super({name:"RepositoryNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,RepositoryNotFoundException.prototype)}}class ServerException extends ECRServiceException{name="ServerException";$fault="server";constructor(i){super({name:"ServerException",$fault:"server",...i});Object.setPrototypeOf(this,ServerException.prototype)}}class LimitExceededException extends ECRServiceException{name="LimitExceededException";$fault="client";constructor(i){super({name:"LimitExceededException",$fault:"client",...i});Object.setPrototypeOf(this,LimitExceededException.prototype)}}class UnableToGetUpstreamImageException extends ECRServiceException{name="UnableToGetUpstreamImageException";$fault="client";constructor(i){super({name:"UnableToGetUpstreamImageException",$fault:"client",...i});Object.setPrototypeOf(this,UnableToGetUpstreamImageException.prototype)}}class ValidationException extends ECRServiceException{name="ValidationException";$fault="client";constructor(i){super({name:"ValidationException",$fault:"client",...i});Object.setPrototypeOf(this,ValidationException.prototype)}}class EmptyUploadException extends ECRServiceException{name="EmptyUploadException";$fault="client";constructor(i){super({name:"EmptyUploadException",$fault:"client",...i});Object.setPrototypeOf(this,EmptyUploadException.prototype)}}class InvalidLayerException extends ECRServiceException{name="InvalidLayerException";$fault="client";constructor(i){super({name:"InvalidLayerException",$fault:"client",...i});Object.setPrototypeOf(this,InvalidLayerException.prototype)}}class KmsException extends ECRServiceException{name="KmsException";$fault="client";kmsError;constructor(i){super({name:"KmsException",$fault:"client",...i});Object.setPrototypeOf(this,KmsException.prototype);this.kmsError=i.kmsError}}class LayerAlreadyExistsException extends ECRServiceException{name="LayerAlreadyExistsException";$fault="client";constructor(i){super({name:"LayerAlreadyExistsException",$fault:"client",...i});Object.setPrototypeOf(this,LayerAlreadyExistsException.prototype)}}class LayerPartTooSmallException extends ECRServiceException{name="LayerPartTooSmallException";$fault="client";constructor(i){super({name:"LayerPartTooSmallException",$fault:"client",...i});Object.setPrototypeOf(this,LayerPartTooSmallException.prototype)}}class UploadNotFoundException extends ECRServiceException{name="UploadNotFoundException";$fault="client";constructor(i){super({name:"UploadNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,UploadNotFoundException.prototype)}}class PullThroughCacheRuleAlreadyExistsException extends ECRServiceException{name="PullThroughCacheRuleAlreadyExistsException";$fault="client";constructor(i){super({name:"PullThroughCacheRuleAlreadyExistsException",$fault:"client",...i});Object.setPrototypeOf(this,PullThroughCacheRuleAlreadyExistsException.prototype)}}class SecretNotFoundException extends ECRServiceException{name="SecretNotFoundException";$fault="client";constructor(i){super({name:"SecretNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,SecretNotFoundException.prototype)}}class UnableToAccessSecretException extends ECRServiceException{name="UnableToAccessSecretException";$fault="client";constructor(i){super({name:"UnableToAccessSecretException",$fault:"client",...i});Object.setPrototypeOf(this,UnableToAccessSecretException.prototype)}}class UnableToDecryptSecretValueException extends ECRServiceException{name="UnableToDecryptSecretValueException";$fault="client";constructor(i){super({name:"UnableToDecryptSecretValueException",$fault:"client",...i});Object.setPrototypeOf(this,UnableToDecryptSecretValueException.prototype)}}class UnsupportedUpstreamRegistryException extends ECRServiceException{name="UnsupportedUpstreamRegistryException";$fault="client";constructor(i){super({name:"UnsupportedUpstreamRegistryException",$fault:"client",...i});Object.setPrototypeOf(this,UnsupportedUpstreamRegistryException.prototype)}}class InvalidTagParameterException extends ECRServiceException{name="InvalidTagParameterException";$fault="client";constructor(i){super({name:"InvalidTagParameterException",$fault:"client",...i});Object.setPrototypeOf(this,InvalidTagParameterException.prototype)}}class RepositoryAlreadyExistsException extends ECRServiceException{name="RepositoryAlreadyExistsException";$fault="client";constructor(i){super({name:"RepositoryAlreadyExistsException",$fault:"client",...i});Object.setPrototypeOf(this,RepositoryAlreadyExistsException.prototype)}}class TooManyTagsException extends ECRServiceException{name="TooManyTagsException";$fault="client";constructor(i){super({name:"TooManyTagsException",$fault:"client",...i});Object.setPrototypeOf(this,TooManyTagsException.prototype)}}class TemplateAlreadyExistsException extends ECRServiceException{name="TemplateAlreadyExistsException";$fault="client";constructor(i){super({name:"TemplateAlreadyExistsException",$fault:"client",...i});Object.setPrototypeOf(this,TemplateAlreadyExistsException.prototype)}}class LifecyclePolicyNotFoundException extends ECRServiceException{name="LifecyclePolicyNotFoundException";$fault="client";constructor(i){super({name:"LifecyclePolicyNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,LifecyclePolicyNotFoundException.prototype)}}class PullThroughCacheRuleNotFoundException extends ECRServiceException{name="PullThroughCacheRuleNotFoundException";$fault="client";constructor(i){super({name:"PullThroughCacheRuleNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,PullThroughCacheRuleNotFoundException.prototype)}}class RegistryPolicyNotFoundException extends ECRServiceException{name="RegistryPolicyNotFoundException";$fault="client";constructor(i){super({name:"RegistryPolicyNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,RegistryPolicyNotFoundException.prototype)}}class RepositoryNotEmptyException extends ECRServiceException{name="RepositoryNotEmptyException";$fault="client";constructor(i){super({name:"RepositoryNotEmptyException",$fault:"client",...i});Object.setPrototypeOf(this,RepositoryNotEmptyException.prototype)}}class TemplateNotFoundException extends ECRServiceException{name="TemplateNotFoundException";$fault="client";constructor(i){super({name:"TemplateNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,TemplateNotFoundException.prototype)}}class RepositoryPolicyNotFoundException extends ECRServiceException{name="RepositoryPolicyNotFoundException";$fault="client";constructor(i){super({name:"RepositoryPolicyNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,RepositoryPolicyNotFoundException.prototype)}}class SigningConfigurationNotFoundException extends ECRServiceException{name="SigningConfigurationNotFoundException";$fault="client";constructor(i){super({name:"SigningConfigurationNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,SigningConfigurationNotFoundException.prototype)}}class ExclusionNotFoundException extends ECRServiceException{name="ExclusionNotFoundException";$fault="client";constructor(i){super({name:"ExclusionNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,ExclusionNotFoundException.prototype)}}class ImageNotFoundException extends ECRServiceException{name="ImageNotFoundException";$fault="client";constructor(i){super({name:"ImageNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,ImageNotFoundException.prototype)}}class ScanNotFoundException extends ECRServiceException{name="ScanNotFoundException";$fault="client";constructor(i){super({name:"ScanNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,ScanNotFoundException.prototype)}}class LayerInaccessibleException extends ECRServiceException{name="LayerInaccessibleException";$fault="client";constructor(i){super({name:"LayerInaccessibleException",$fault:"client",...i});Object.setPrototypeOf(this,LayerInaccessibleException.prototype)}}class LayersNotFoundException extends ECRServiceException{name="LayersNotFoundException";$fault="client";constructor(i){super({name:"LayersNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,LayersNotFoundException.prototype)}}class UnableToGetUpstreamLayerException extends ECRServiceException{name="UnableToGetUpstreamLayerException";$fault="client";constructor(i){super({name:"UnableToGetUpstreamLayerException",$fault:"client",...i});Object.setPrototypeOf(this,UnableToGetUpstreamLayerException.prototype)}}class LifecyclePolicyPreviewNotFoundException extends ECRServiceException{name="LifecyclePolicyPreviewNotFoundException";$fault="client";constructor(i){super({name:"LifecyclePolicyPreviewNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,LifecyclePolicyPreviewNotFoundException.prototype)}}class ImageAlreadyExistsException extends ECRServiceException{name="ImageAlreadyExistsException";$fault="client";constructor(i){super({name:"ImageAlreadyExistsException",$fault:"client",...i});Object.setPrototypeOf(this,ImageAlreadyExistsException.prototype)}}class ImageDigestDoesNotMatchException extends ECRServiceException{name="ImageDigestDoesNotMatchException";$fault="client";constructor(i){super({name:"ImageDigestDoesNotMatchException",$fault:"client",...i});Object.setPrototypeOf(this,ImageDigestDoesNotMatchException.prototype)}}class ImageTagAlreadyExistsException extends ECRServiceException{name="ImageTagAlreadyExistsException";$fault="client";constructor(i){super({name:"ImageTagAlreadyExistsException",$fault:"client",...i});Object.setPrototypeOf(this,ImageTagAlreadyExistsException.prototype)}}class ReferencedImagesNotFoundException extends ECRServiceException{name="ReferencedImagesNotFoundException";$fault="client";constructor(i){super({name:"ReferencedImagesNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,ReferencedImagesNotFoundException.prototype)}}class BlockedByOrganizationPolicyException extends ECRServiceException{name="BlockedByOrganizationPolicyException";$fault="client";constructor(i){super({name:"BlockedByOrganizationPolicyException",$fault:"client",...i});Object.setPrototypeOf(this,BlockedByOrganizationPolicyException.prototype)}}class ExclusionAlreadyExistsException extends ECRServiceException{name="ExclusionAlreadyExistsException";$fault="client";constructor(i){super({name:"ExclusionAlreadyExistsException",$fault:"client",...i});Object.setPrototypeOf(this,ExclusionAlreadyExistsException.prototype)}}class ImageArchivedException extends ECRServiceException{name="ImageArchivedException";$fault="client";constructor(i){super({name:"ImageArchivedException",$fault:"client",...i});Object.setPrototypeOf(this,ImageArchivedException.prototype)}}class UnsupportedImageTypeException extends ECRServiceException{name="UnsupportedImageTypeException";$fault="client";constructor(i){super({name:"UnsupportedImageTypeException",$fault:"client",...i});Object.setPrototypeOf(this,UnsupportedImageTypeException.prototype)}}class LifecyclePolicyPreviewInProgressException extends ECRServiceException{name="LifecyclePolicyPreviewInProgressException";$fault="client";constructor(i){super({name:"LifecyclePolicyPreviewInProgressException",$fault:"client",...i});Object.setPrototypeOf(this,LifecyclePolicyPreviewInProgressException.prototype)}}class ImageStorageClassUpdateNotSupportedException extends ECRServiceException{name="ImageStorageClassUpdateNotSupportedException";$fault="client";constructor(i){super({name:"ImageStorageClassUpdateNotSupportedException",$fault:"client",...i});Object.setPrototypeOf(this,ImageStorageClassUpdateNotSupportedException.prototype)}}class InvalidLayerPartException extends ECRServiceException{name="InvalidLayerPartException";$fault="client";registryId;repositoryName;uploadId;lastValidByteReceived;constructor(i){super({name:"InvalidLayerPartException",$fault:"client",...i});Object.setPrototypeOf(this,InvalidLayerPartException.prototype);this.registryId=i.registryId;this.repositoryName=i.repositoryName;this.uploadId=i.uploadId;this.lastValidByteReceived=i.lastValidByteReceived}}const he="Attribute";const ge="AuthorizationData";const me="AuthorizationDataList";const Ee="AwsEcrContainerImageDetails";const ye="AttributeList";const Ce="BlockedByOrganizationPolicyException";const be="BatchCheckLayerAvailability";const Ie="BatchCheckLayerAvailabilityRequest";const Be="BatchCheckLayerAvailabilityResponse";const we="BatchDeleteImage";const Se="BatchDeleteImageRequest";const Qe="BatchDeleteImageResponse";const ve="BatchGetImage";const Re="BatchGetImageRequest";const Te="BatchGetImageResponse";const Ne="BatchGetRepositoryScanningConfiguration";const ke="BatchGetRepositoryScanningConfigurationRequest";const De="BatchGetRepositoryScanningConfigurationResponse";const xe="CompleteLayerUpload";const _e="CompleteLayerUploadRequest";const Pe="CompleteLayerUploadResponse";const Oe="CreatePullThroughCacheRule";const Le="CreatePullThroughCacheRuleRequest";const Fe="CreatePullThroughCacheRuleResponse";const Me="CreateRepository";const Ue="CreateRepositoryCreationTemplate";const He="CreateRepositoryCreationTemplateRequest";const Ge="CreateRepositoryCreationTemplateResponse";const qe="CreateRepositoryRequest";const je="CreateRepositoryResponse";const Ve="CvssScore";const ze="CvssScoreAdjustment";const Ye="CvssScoreAdjustmentList";const We="CvssScoreDetails";const Je="CvssScoreList";const $e="DescribeImages";const Ke="DescribeImagesFilter";const Xe="DescribeImagesRequest";const Ze="DescribeImageReplicationStatus";const At="DescribeImageReplicationStatusRequest";const mt="DescribeImageReplicationStatusResponse";const Et="DescribeImagesResponse";const yt="DescribeImageScanFindings";const Ct="DescribeImageScanFindingsRequest";const bt="DescribeImageScanFindingsResponse";const It="DescribeImageSigningStatus";const Bt="DescribeImageSigningStatusRequest";const wt="DescribeImageSigningStatusResponse";const St="DeleteLifecyclePolicy";const Qt="DeleteLifecyclePolicyRequest";const vt="DeleteLifecyclePolicyResponse";const Rt="DeletePullThroughCacheRule";const Tt="DeletePullThroughCacheRuleRequest";const Nt="DeletePullThroughCacheRuleResponse";const kt="DescribePullThroughCacheRulesRequest";const Dt="DescribePullThroughCacheRulesResponse";const xt="DescribePullThroughCacheRules";const _t="DeregisterPullTimeUpdateExclusion";const Pt="DeregisterPullTimeUpdateExclusionRequest";const Ot="DeregisterPullTimeUpdateExclusionResponse";const Lt="DeleteRepository";const Ft="DeleteRepositoryCreationTemplate";const Mt="DeleteRepositoryCreationTemplateRequest";const Ut="DeleteRepositoryCreationTemplateResponse";const Ht="DescribeRepositoryCreationTemplatesRequest";const Gt="DescribeRepositoryCreationTemplatesResponse";const qt="DescribeRepositoryCreationTemplates";const jt="DeleteRegistryPolicy";const Vt="DeleteRegistryPolicyRequest";const zt="DeleteRegistryPolicyResponse";const Yt="DeleteRepositoryPolicyRequest";const Wt="DeleteRepositoryPolicyResponse";const Jt="DeleteRepositoryPolicy";const $t="DeleteRepositoryRequest";const Kt="DeleteRepositoryResponse";const Xt="DescribeRegistryRequest";const Zt="DescribeRegistryResponse";const er="DescribeRepositoriesRequest";const tr="DescribeRepositoriesResponse";const rr="DescribeRegistry";const nr="DescribeRepositories";const ir="DeleteSigningConfiguration";const sr="DeleteSigningConfigurationRequest";const or="DeleteSigningConfigurationResponse";const ar="ExclusionAlreadyExistsException";const cr="EncryptionConfiguration";const lr="EncryptionConfigurationForRepositoryCreationTemplate";const ur="EnhancedImageScanFinding";const Ar="EnhancedImageScanFindingList";const dr="ExclusionNotFoundException";const pr="EmptyUploadException";const fr="GetAccountSetting";const hr="GetAccountSettingRequest";const gr="GetAccountSettingResponse";const mr="GetAuthorizationToken";const Er="GetAuthorizationTokenRequest";const yr="GetAuthorizationTokenResponse";const Cr="GetDownloadUrlForLayer";const br="GetDownloadUrlForLayerRequest";const Ir="GetDownloadUrlForLayerResponse";const Br="GetLifecyclePolicy";const wr="GetLifecyclePolicyPreview";const Sr="GetLifecyclePolicyPreviewRequest";const Qr="GetLifecyclePolicyPreviewResponse";const vr="GetLifecyclePolicyRequest";const Rr="GetLifecyclePolicyResponse";const Tr="GetRegistryPolicy";const Nr="GetRegistryPolicyRequest";const kr="GetRegistryPolicyResponse";const Dr="GetRepositoryPolicyRequest";const xr="GetRepositoryPolicyResponse";const _r="GetRepositoryPolicy";const Pr="GetRegistryScanningConfiguration";const Or="GetRegistryScanningConfigurationRequest";const Lr="GetRegistryScanningConfigurationResponse";const Fr="GetSigningConfiguration";const Mr="GetSigningConfigurationRequest";const Ur="GetSigningConfigurationResponse";const Hr="Image";const Gr="ImageArchivedException";const qr="ImageAlreadyExistsException";const jr="ImageDetail";const Vr="ImageDigestDoesNotMatchException";const zr="ImageDetailList";const Yr="ImageFailure";const Wr="ImageFailureList";const Jr="ImageIdentifier";const $r="ImageIdentifierList";const Kr="ImageList";const Xr="InvalidLayerException";const Zr="InvalidLayerPartException";const en="InitiateLayerUpload";const tn="InitiateLayerUploadRequest";const rn="InitiateLayerUploadResponse";const nn="ImageNotFoundException";const sn="InvalidParameterException";const an="ImageReferrer";const cn="ImageReferrerList";const ln="ImageReplicationStatus";const un="ImageReplicationStatusList";const An="ImageScanningConfiguration";const dn="ImageStorageClassUpdateNotSupportedException";const pn="ImageScanFinding";const hn="ImageScanFindingList";const gn="ImageScanFindingsSummary";const mn="ImageScanFindings";const En="ImageScanStatus";const yn="ImageSigningStatusList";const Cn="ImageSigningStatus";const bn="ImageTagAlreadyExistsException";const In="ImageTagMutabilityExclusionFilter";const Bn="ImageTagMutabilityExclusionFilters";const wn="InvalidTagParameterException";const Sn="Key";const Qn="KmsException";const vn="Layer";const Rn="LayerAlreadyExistsException";const Tn="LimitExceededException";const Nn="LayerFailure";const kn="LayerFailureList";const Dn="ListImages";const xn="LayerInaccessibleException";const _n="ListImagesFilter";const Pn="ListImagesRequest";const On="ListImageReferrersFilter";const Ln="ListImageReferrersRequest";const Fn="ListImageReferrersResponse";const Mn="ListImagesResponse";const Un="ListImageReferrers";const Hn="LayerList";const Gn="LayersNotFoundException";const qn="LifecyclePolicyNotFoundException";const jn="LifecyclePolicyPreviewFilter";const Vn="LifecyclePolicyPreviewInProgressException";const zn="LifecyclePolicyPreviewNotFoundException";const Yn="LifecyclePolicyPreviewResult";const Wn="LifecyclePolicyPreviewResultList";const Jn="LifecyclePolicyPreviewSummary";const $n="LifecyclePolicyRuleAction";const Kn="LayerPartTooSmallException";const Xn="ListPullTimeUpdateExclusions";const Zn="ListPullTimeUpdateExclusionsRequest";const ei="ListPullTimeUpdateExclusionsResponse";const ti="ListTagsForResource";const ri="ListTagsForResourceRequest";const ni="ListTagsForResourceResponse";const ii="PutAccountSetting";const si="PutAccountSettingRequest";const oi="PutAccountSettingResponse";const ai="PutImage";const ci="PutImageRequest";const li="PutImageResponse";const ui="PutImageScanningConfiguration";const Ai="PutImageScanningConfigurationRequest";const di="PutImageScanningConfigurationResponse";const pi="PutImageTagMutability";const fi="PutImageTagMutabilityRequest";const hi="PutImageTagMutabilityResponse";const gi="PutLifecyclePolicy";const mi="PutLifecyclePolicyRequest";const Ei="PutLifecyclePolicyResponse";const yi="PutReplicationConfiguration";const Ci="PutReplicationConfigurationRequest";const bi="PutReplicationConfigurationResponse";const Ii="PutRegistryPolicy";const Bi="PutRegistryPolicyRequest";const wi="PutRegistryPolicyResponse";const Si="PutRegistryScanningConfiguration";const Qi="PutRegistryScanningConfigurationRequest";const vi="PutRegistryScanningConfigurationResponse";const Ri="PutSigningConfiguration";const Ti="PutSigningConfigurationRequest";const Ni="PutSigningConfigurationResponse";const ki="PullThroughCacheRule";const Di="PullThroughCacheRuleAlreadyExistsException";const xi="PullThroughCacheRuleList";const _i="PullThroughCacheRuleNotFoundException";const Pi="PackageVulnerabilityDetails";const Oi="Recommendation";const Li="RepositoryAlreadyExistsException";const Fi="ReplicationConfiguration";const Mi="RepositoryCreationTemplate";const Ui="RepositoryCreationTemplateList";const Hi="ReplicationDestination";const Gi="ReplicationDestinationList";const qi="ResourceDetails";const ji="RepositoryFilter";const Vi="RepositoryFilterList";const zi="ReferencedImagesNotFoundException";const Yi="RepositoryList";const Wi="ResourceList";const Ji="RepositoryNotEmptyException";const $i="RepositoryNotFoundException";const Ki="RegistryPolicyNotFoundException";const Xi="RepositoryPolicyNotFoundException";const Zi="RegisterPullTimeUpdateExclusion";const es="RegisterPullTimeUpdateExclusionRequest";const ts="RegisterPullTimeUpdateExclusionResponse";const rs="ReplicationRule";const ns="ReplicationRuleList";const ss="RegistryScanningConfiguration";const os="RepositoryScanningConfigurationFailure";const as="RepositoryScanningConfigurationFailureList";const cs="RepositoryScanningConfigurationList";const ls="RepositoryScanningConfiguration";const us="RegistryScanningRule";const As="RegistryScanningRuleList";const ds="Remediation";const ps="Repository";const fs="Resource";const hs="SigningConfiguration";const gs="SigningConfigurationNotFoundException";const ms="ScoreDetails";const Es="ServerException";const ys="SubjectIdentifier";const Cs="StartImageScan";const bs="StartImageScanRequest";const Is="StartImageScanResponse";const Bs="StartLifecyclePolicyPreview";const ws="StartLifecyclePolicyPreviewRequest";const Ss="StartLifecyclePolicyPreviewResponse";const Qs="ScanNotFoundException";const vs="SecretNotFoundException";const Rs="SigningRule";const Ts="ScanningRepositoryFilter";const Ns="ScanningRepositoryFilterList";const ks="SigningRepositoryFilterList";const Ds="SigningRepositoryFilter";const xs="SigningRuleList";const _s="SetRepositoryPolicy";const Ps="SetRepositoryPolicyRequest";const Os="SetRepositoryPolicyResponse";const Ls="Tag";const Fs="TemplateAlreadyExistsException";const Ms="TransitioningImageTotalCount";const Us="TransitioningImageTotalCounts";const Hs="TagList";const Gs="TooManyTagsException";const qs="TemplateNotFoundException";const js="TagResource";const Vs="TagResourceRequest";const zs="TagResourceResponse";const Ys="UpdateImageStorageClass";const Ws="UpdateImageStorageClassRequest";const Js="UpdateImageStorageClassResponse";const $s="UnsupportedImageTypeException";const Ks="UploadLayerPart";const Xs="UploadLayerPartRequest";const Zs="UploadLayerPartResponse";const eo="UploadNotFoundException";const to="UpdatePullThroughCacheRule";const ro="UpdatePullThroughCacheRuleRequest";const no="UpdatePullThroughCacheRuleResponse";const io="UntagResource";const so="UpdateRepositoryCreationTemplate";const oo="UpdateRepositoryCreationTemplateRequest";const ao="UpdateRepositoryCreationTemplateResponse";const co="UntagResourceRequest";const lo="UntagResourceResponse";const uo="UnableToAccessSecretException";const Ao="UnableToDecryptSecretValueException";const po="UnableToGetUpstreamImageException";const fo="UnableToGetUpstreamLayerException";const ho="UnsupportedUpstreamRegistryException";const go="Value";const mo="ValidationException";const Eo="VulnerablePackage";const yo="VulnerablePackagesList";const Co="ValidatePullThroughCacheRule";const bo="ValidatePullThroughCacheRuleRequest";const Io="ValidatePullThroughCacheRuleResponse";const Bo="architecture";const wo="awsAccountId";const So="authorizationData";const Qo="awsEcrContainerImage";const vo="appliedFor";const Ro="acceptedMediaTypes";const To="artifactMediaType";const No="appliedRulePriority";const ko="artifactStatus";const Do="appliedScanFilters";const xo="authorizationToken";const _o="artifactType";const Po="artifactTypes";const Oo="action";const Lo="adjustments";const Fo="annotations";const Mo="arch";const Uo="attributes";const Ho="author";const Go="baseScore";const qo="client";const jo="credentialArn";const Vo="createdAt";const zo="customRoleArn";const Yo="cvss";const Wo="description";const Jo="downloadUrl";const $o="destinations";const Ko="details";const Xo="digest";const Zo="error";const ea="expiresAt";const ta="exploitAvailable";const ra="encryptionConfiguration";const na="enhancedFindings";const ia="expiringImageTotalCount";const sa="ecrRepositoryPrefix";const oa="ecrRepositoryPrefixes";const aa="encryptionType";const ca="epoch";const la="failures";const ua="findingArn";const Aa="fixAvailable";const da="failureCode";const pa="fixedInVersion";const fa="firstObservedAt";const ha="filePath";const ga="failureReason";const ma="findingSeverityCounts";const Ea="filterType";const ya="failure";const Ca="filter";const ba="findings";const Ia="force";const Ba="httpError";const wa="images";const Sa="imageDetails";const Qa="imageDigest";const va="imageHash";const Ra="imageIds";const Ta="imageId";const Na="imageManifest";const ka="imageManifestMediaType";const Da="imagePushedAt";const xa="imageStatus";const _a="imageScanningConfiguration";const Pa="imageScanCompletedAt";const Oa="imageScanFindings";const La="imageScanFindingsSummary";const Fa="imageSizeInBytes";const Ma="imageScanStatus";const Ua="imageTags";const Ha="imageTotalCount";const Ga="imageTagMutability";const qa="imageTagMutabilityExclusionFilters";const ja="imageTag";const Va="inUseCount";const za="isValid";const Ya="id";const Wa="image";const Ja="key";const $a="kmsError";const Ka="kmsKey";const Xa="layers";const Za="layerAvailability";const ec="lastArchivedAt";const tc="lastActivatedAt";const rc="lastByteReceived";const nc="layerDigests";const ic="layerDigest";const sc="lastEvaluatedAt";const oc="lastInUseAt";const ac="lastObservedAt";const cc="lifecyclePolicy";const lc="layerPartBlob";const uc="lifecyclePolicyText";const Ac="lastRecordedPullTime";const dc="layerSize";const pc="lastValidByteReceived";const fc="message";const hc="maxResults";const gc="mediaType";const mc="metric";const Ec="name";const yc="nextToken";const Cc="platform";const bc="pushedAt";const Ic="principalArn";const Bc="proxyEndpoint";const wc="partFirstByte";const Sc="partLastByte";const Qc="packageManager";const vc="previewResults";const Rc="partSize";const Tc="policyText";const Nc="pullThroughCacheRules";const kc="pullTimeUpdateExclusions";const Dc="packageVulnerabilityDetails";const xc="prefix";const _c="prefixes";const Pc="registry";const Oc="resourceArn";const Lc="repositoryArn";const Fc="replicationConfiguration";const Mc="repositoryCreationTemplate";const Uc="repositoryCreationTemplates";const Hc="repositoryFilters";const Gc="registryId";const qc="registryIds";const jc="repositoryName";const Vc="repositoryNames";const zc="repositoryPolicy";const Yc="replicationStatuses";const Wc="registryScanningConfiguration";const Jc="resourceTags";const $c="referenceUrls";const Kc="repositoryUri";const Xc="relatedVulnerabilities";const Zc="repository";const el="reason";const tl="recommendation";const rl="referrers";const nl="region";const il="release";const sl="remediation";const ol="repositories";const al="resources";const cl="rules";const ll="source";const ul="scanningConfigurations";const Al="scanningConfiguration";const dl="signingConfiguration";const pl="storageClass";const fl="scoreDetails";const hl="scanFrequency";const gl="subjectId";const ml="sourceLayerHash";const El="subjectManifestDigest";const yl="scanOnPush";const Cl="signingProfileArn";const bl="scoreSource";const Il="signingStatuses";const Bl="scanType";const wl="sourceUrl";const Sl="scoringVector";const Ql="score";const vl="severity";const Rl="server";const Tl="size";const Nl="smithy.ts.sdk.synthetic.com.amazonaws.ecr";const kl="status";const Dl="summary";const xl="tags";const _l="transitioningImageTotalCounts";const Pl="tagKeys";const Ol="tagStatus";const Ll="targetStorageClass";const Fl="text";const Ml="title";const Ul="type";const Hl="uri";const Gl="updatedAt";const ql="uploadId";const jl="upstreamRegistry";const Vl="upstreamRepositoryPrefix";const zl="upstreamRegistryUrl";const Yl="url";const Wl="value";const Jl="vendorCreatedAt";const $l="vulnerabilityId";const Kl="vulnerablePackages";const Xl="vendorSeverity";const Zl="vulnerabilitySourceUpdatedAt";const eu="vendorUpdatedAt";const tu="version";const ru="com.amazonaws.ecr";var nu=[3,ru,he,0,[Ja,Wl],[0,0],1];var iu=[3,ru,ge,0,[xo,ea,Bc],[0,4,0]];var su=[3,ru,Ee,0,[Bo,Ho,va,Ua,Cc,bc,oc,Va,Pc,jc],[0,0,0,64|0,0,4,4,1,0,0]];var ou=[3,ru,Ie,0,[jc,nc,Gc],[0,64|0,0],2];var au=[3,ru,Be,0,[Xa,la],[()=>Sf,()=>wf]];var cu=[3,ru,Se,0,[jc,Ra,Gc],[0,()=>mf,0],2];var lu=[3,ru,Qe,0,[Ra,la],[()=>mf,()=>gf]];var uu=[3,ru,Re,0,[jc,Ra,Gc,Ro],[0,()=>mf,0,64|0],2];var Au=[3,ru,Te,0,[wa,la],[()=>Ef,()=>gf]];var du=[3,ru,ke,0,[Vc],[64|0],1];var pu=[3,ru,De,0,[ul,la],[()=>Pf,()=>_f]];var fu=[-3,ru,Ce,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(fu,BlockedByOrganizationPolicyException);var hu=[3,ru,_e,0,[jc,ql,nc,Gc],[0,0,64|0,0],3];var gu=[3,ru,Pe,0,[Gc,jc,ql,ic],[0,0,0,0]];var mu=[3,ru,Le,0,[sa,zl,Gc,jl,jo,zo,Vl],[0,0,0,0,0,0,0],2];var Eu=[3,ru,Fe,0,[sa,zl,Vo,Gc,jl,jo,zo,Vl],[0,0,4,0,0,0,0,0]];var yu=[3,ru,He,0,[x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A,()=>qA,()=>UA,0]];var zu=[3,ru,Ke,0,[Ol,xa],[0,0]];var Yu=[3,ru,Bt,0,[jc,Ta,Gc],[0,()=>PA,0],2];var Wu=[3,ru,wt,0,[jc,Ta,Gc,Il],[0,()=>PA,0,()=>If]];var Ju=[3,ru,Xe,0,[jc,Gc,Ra,yc,hc,Ca],[0,0,()=>mf,0,1,()=>zu],1];var $u=[3,ru,Et,0,[Sa,yc],[()=>hf,0]];var Ku=[3,ru,kt,0,[Gc,oa,yc,hc],[0,64|0,0,1]];var Xu=[3,ru,Dt,0,[Nc,yc],[()=>vf,0]];var Zu=[3,ru,Xt,0,[],[]];var eA=[3,ru,Zt,0,[Gc,Fc],[0,()=>rp]];var tA=[3,ru,er,0,[Gc,Vc,yc,hc],[0,64|0,0,1]];var rA=[3,ru,tr,0,[ol,yc],[()=>xf,0]];var nA=[3,ru,Ht,0,[_c,yc,hc],[64|0,0,1]];var iA=[3,ru,Gt,0,[Gc,Uc,yc],[0,()=>kf,0]];var sA=[-3,ru,pr,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(sA,EmptyUploadException);var oA=[3,ru,cr,0,[aa,Ka],[0,0],1];var aA=[3,ru,lr,0,[aa,Ka],[0,0],1];var cA=[3,ru,ur,0,[wo,Wo,ua,fa,ac,Dc,sl,al,Ql,fl,vl,kl,Ml,Ul,Gl,Aa,ta],[0,0,0,4,4,()=>Qd,()=>tp,()=>Of,1,()=>Cp,0,0,0,0,4,0,0]];var lA=[-3,ru,ar,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(lA,ExclusionAlreadyExistsException);var uA=[-3,ru,dr,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(uA,ExclusionNotFoundException);var AA=[3,ru,hr,0,[Ec],[0],1];var dA=[3,ru,gr,0,[Ec,Wl],[0,0]];var pA=[3,ru,Er,0,[qc],[64|0]];var fA=[3,ru,yr,0,[So],[()=>Af]];var hA=[3,ru,br,0,[jc,ic,Gc],[0,0,0],2];var gA=[3,ru,Ir,0,[Jo,ic],[0,0]];var mA=[3,ru,Sr,0,[jc,Gc,Ra,yc,hc,Ca],[0,0,()=>mf,0,1,()=>cd],1];var EA=[3,ru,Qr,0,[Gc,jc,uc,kl,yc,vc,Dl],[0,0,0,0,0,()=>Qf,()=>dd]];var yA=[3,ru,vr,0,[jc,Gc],[0,0],1];var CA=[3,ru,Rr,0,[Gc,jc,uc,sc],[0,0,0,4]];var bA=[3,ru,Nr,0,[],[]];var IA=[3,ru,kr,0,[Gc,Tc],[0,0]];var BA=[3,ru,Or,0,[],[]];var wA=[3,ru,Lr,0,[Gc,Al],[0,()=>Zd]];var SA=[3,ru,Dr,0,[jc,Gc],[0,0],1];var QA=[3,ru,xr,0,[Gc,jc,Tc],[0,0,0]];var vA=[3,ru,Mr,0,[],[]];var RA=[3,ru,Ur,0,[Gc,dl],[0,()=>Sp]];var TA=[3,ru,Hr,0,[Gc,jc,Ta,Na,ka],[0,0,()=>PA,0,0]];var NA=[-3,ru,qr,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(NA,ImageAlreadyExistsException);var kA=[-3,ru,Gr,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(kA,ImageArchivedException);var DA=[3,ru,jr,0,[Gc,jc,Qa,Ua,Fa,Da,Ma,La,ka,To,Ac,El,xa,ec,tc],[0,0,0,64|0,1,4,()=>qA,()=>HA,0,0,4,0,0,4,4]];var xA=[-3,ru,Vr,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(xA,ImageDigestDoesNotMatchException);var _A=[3,ru,Yr,0,[Ta,da,ga],[()=>PA,0,0]];var PA=[3,ru,Jr,0,[Qa,ja],[0,0]];var OA=[-3,ru,nn,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(OA,ImageNotFoundException);var LA=[3,ru,an,0,[Xo,gc,Tl,_o,Fo,ko],[0,0,1,0,128|0,0],3];var FA=[3,ru,ln,0,[nl,Gc,kl,da],[0,0,0,0]];var MA=[3,ru,pn,0,[Ec,Wo,Hl,vl,Uo],[0,0,0,0,()=>uf]];var UA=[3,ru,mn,0,[Pa,Zl,ma,ba,na],[4,4,128|1,()=>bf,()=>ff]];var HA=[3,ru,gn,0,[Pa,Zl,ma],[4,4,128|1]];var GA=[3,ru,An,0,[yl],[2]];var qA=[3,ru,En,0,[kl,Wo],[0,0]];var jA=[3,ru,Cn,0,[Cl,da,ga,kl],[0,0,0,0]];var VA=[-3,ru,dn,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(VA,ImageStorageClassUpdateNotSupportedException);var zA=[-3,ru,bn,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(zA,ImageTagAlreadyExistsException);var YA=[3,ru,In,0,[Ea,Ca],[0,0],2];var WA=[3,ru,tn,0,[jc,Gc],[0,0],1];var JA=[3,ru,rn,0,[ql,Rc],[0,1]];var $A=[-3,ru,Xr,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError($A,InvalidLayerException);var KA=[-3,ru,Zr,{[Zo]:qo},[Gc,jc,ql,pc,fc],[0,0,0,1,0]];ie.TypeRegistry.for(ru).registerError(KA,InvalidLayerPartException);var XA=[-3,ru,sn,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(XA,InvalidParameterException);var ZA=[-3,ru,wn,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(ZA,InvalidTagParameterException);var ed=[-3,ru,Qn,{[Zo]:qo},[fc,$a],[0,0]];ie.TypeRegistry.for(ru).registerError(ed,KmsException);var td=[3,ru,vn,0,[ic,Za,dc,gc],[0,0,1,0]];var rd=[-3,ru,Rn,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(rd,LayerAlreadyExistsException);var nd=[3,ru,Nn,0,[ic,da,ga],[0,0,0]];var id=[-3,ru,xn,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(id,LayerInaccessibleException);var sd=[-3,ru,Kn,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(sd,LayerPartTooSmallException);var od=[-3,ru,Gn,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(od,LayersNotFoundException);var ad=[-3,ru,qn,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(ad,LifecyclePolicyNotFoundException);var cd=[3,ru,jn,0,[Ol],[0]];var ld=[-3,ru,Vn,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(ld,LifecyclePolicyPreviewInProgressException);var ud=[-3,ru,zn,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(ud,LifecyclePolicyPreviewNotFoundException);var Ad=[3,ru,Yn,0,[Ua,Qa,Da,Oo,No,pl],[64|0,0,4,()=>fd,1,0]];var dd=[3,ru,Jn,0,[ia,_l],[1,()=>Hf]];var fd=[3,ru,$n,0,[Ul,Ll],[0,0]];var hd=[-3,ru,Tn,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(hd,LimitExceededException);var gd=[3,ru,On,0,[Po,ko],[64|0,0]];var md=[3,ru,Ln,0,[jc,gl,Gc,Ca,yc,hc],[0,()=>xp,0,()=>gd,0,1],2];var Ed=[3,ru,Fn,0,[rl,yc],[()=>yf,0]];var yd=[3,ru,_n,0,[Ol,xa],[0,0]];var Cd=[3,ru,Pn,0,[jc,Gc,yc,hc,Ca],[0,0,0,1,()=>yd],1];var bd=[3,ru,Mn,0,[Ra,yc],[()=>mf,0]];var Id=[3,ru,Zn,0,[hc,yc],[1,0]];var Bd=[3,ru,ei,0,[kc,yc],[64|0,0]];var wd=[3,ru,ri,0,[Oc],[0],1];var Sd=[3,ru,ni,0,[xl],[()=>Uf]];var Qd=[3,ru,Pi,0,[Yo,$c,Xc,ll,wl,Jl,Xl,eu,$l,Kl],[()=>pf,64|0,64|0,0,0,4,0,4,0,()=>Gf]];var vd=[3,ru,ki,0,[sa,zl,Vo,Gc,jo,zo,Vl,jl,Gl],[0,0,4,0,0,0,0,0,4]];var Rd=[-3,ru,Di,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(Rd,PullThroughCacheRuleAlreadyExistsException);var Td=[-3,ru,_i,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(Td,PullThroughCacheRuleNotFoundException);var Nd=[3,ru,si,0,[Ec,Wl],[0,0],2];var kd=[3,ru,oi,0,[Ec,Wl],[0,0]];var Dd=[3,ru,ci,0,[jc,Na,Gc,ka,ja,Qa],[0,0,0,0,0,0],2];var xd=[3,ru,li,0,[Wa],[()=>TA]];var _d=[3,ru,Ai,0,[jc,_a,Gc],[0,()=>GA,0],2];var Pd=[3,ru,di,0,[Gc,jc,_a],[0,0,()=>GA]];var Od=[3,ru,fi,0,[jc,Ga,Gc,qa],[0,0,0,()=>Bf],2];var Ld=[3,ru,hi,0,[Gc,jc,Ga,qa],[0,0,0,()=>Bf]];var Fd=[3,ru,mi,0,[jc,uc,Gc],[0,0,0],2];var Md=[3,ru,Ei,0,[Gc,jc,uc],[0,0,0]];var Ud=[3,ru,Bi,0,[Tc],[0],1];var Hd=[3,ru,wi,0,[Gc,Tc],[0,0]];var Gd=[3,ru,Qi,0,[Bl,cl],[0,()=>Rf]];var qd=[3,ru,vi,0,[Wc],[()=>Zd]];var jd=[3,ru,Ci,0,[Fc],[()=>rp],1];var Vd=[3,ru,bi,0,[Fc],[()=>rp]];var zd=[3,ru,Ti,0,[dl],[()=>Sp],1];var Yd=[3,ru,Ni,0,[dl],[()=>Sp]];var Wd=[3,ru,Oi,0,[Yl,Fl],[0,0]];var Jd=[-3,ru,zi,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(Jd,ReferencedImagesNotFoundException);var $d=[3,ru,es,0,[Ic],[0],1];var Kd=[3,ru,ts,0,[Ic,Vo],[0,4]];var Xd=[-3,ru,Ki,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(Xd,RegistryPolicyNotFoundException);var Zd=[3,ru,ss,0,[Bl,cl],[0,()=>Rf]];var ep=[3,ru,us,0,[hl,Hc],[0,()=>Lf],2];var tp=[3,ru,ds,0,[tl],[()=>Wd]];var rp=[3,ru,Fi,0,[cl],[()=>Nf],1];var np=[3,ru,Hi,0,[nl,Gc],[0,0],2];var ip=[3,ru,rs,0,[$o,Hc],[()=>Tf,()=>Df],1];var sp=[3,ru,ps,0,[Lc,Gc,jc,Kc,Vo,Ga,qa,_a,ra],[0,0,0,0,4,0,()=>Bf,()=>GA,()=>oA]];var ap=[-3,ru,Li,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(ap,RepositoryAlreadyExistsException);var lp=[3,ru,Mi,0,[xc,Wo,ra,Jc,Ga,qa,zc,cc,vo,zo,Vo,Gl],[0,0,()=>aA,()=>Uf,0,()=>Bf,0,0,64|0,0,4,4]];var up=[3,ru,ji,0,[Ca,Ea],[0,0],2];var Ap=[-3,ru,Ji,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(Ap,RepositoryNotEmptyException);var dp=[-3,ru,$i,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(dp,RepositoryNotFoundException);var pp=[-3,ru,Xi,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(pp,RepositoryPolicyNotFoundException);var fp=[3,ru,ls,0,[Lc,jc,yl,hl,Do],[0,0,2,0,()=>Lf]];var hp=[3,ru,os,0,[jc,da,ga],[0,0,0]];var gp=[3,ru,fs,0,[Ko,Ya,xl,Ul],[()=>mp,0,128|0,0]];var mp=[3,ru,qi,0,[Qo],[()=>su]];var Ep=[3,ru,Ts,0,[Ca,Ea],[0,0],2];var yp=[-3,ru,Qs,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(yp,ScanNotFoundException);var Cp=[3,ru,ms,0,[Yo],[()=>Su]];var bp=[-3,ru,vs,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(bp,SecretNotFoundException);var Ip=[-3,ru,Es,{[Zo]:Rl},[fc],[0]];ie.TypeRegistry.for(ru).registerError(Ip,ServerException);var Bp=[3,ru,Ps,0,[jc,Tc,Gc,Ia],[0,0,0,2],2];var wp=[3,ru,Os,0,[Gc,jc,Tc],[0,0,0]];var Sp=[3,ru,hs,0,[cl],[()=>Mf],1];var Qp=[-3,ru,gs,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(Qp,SigningConfigurationNotFoundException);var vp=[3,ru,Ds,0,[Ca,Ea],[0,0],2];var Rp=[3,ru,Rs,0,[Cl,Hc],[0,()=>Ff],1];var Tp=[3,ru,bs,0,[jc,Ta,Gc],[0,()=>PA,0],2];var Np=[3,ru,Is,0,[Gc,jc,Ta,Ma],[0,0,()=>PA,()=>qA]];var kp=[3,ru,ws,0,[jc,Gc,uc],[0,0,0],1];var Dp=[3,ru,Ss,0,[Gc,jc,uc,kl],[0,0,0,0]];var xp=[3,ru,ys,0,[Qa],[0],1];var _p=[3,ru,Ls,0,[Sn,go],[0,0],2];var Pp=[3,ru,Vs,0,[Oc,xl],[0,()=>Uf],2];var Op=[3,ru,zs,0,[],[]];var Lp=[-3,ru,Fs,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(Lp,TemplateAlreadyExistsException);var Fp=[-3,ru,qs,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(Fp,TemplateNotFoundException);var Mp=[-3,ru,Gs,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(Mp,TooManyTagsException);var Up=[3,ru,Ms,0,[Ll,Ha],[0,1]];var Hp=[-3,ru,uo,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(Hp,UnableToAccessSecretException);var Gp=[-3,ru,Ao,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(Gp,UnableToDecryptSecretValueException);var qp=[-3,ru,po,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(qp,UnableToGetUpstreamImageException);var jp=[-3,ru,fo,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(jp,UnableToGetUpstreamLayerException);var Vp=[-3,ru,$s,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(Vp,UnsupportedImageTypeException);var zp=[-3,ru,ho,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(zp,UnsupportedUpstreamRegistryException);var Yp=[3,ru,co,0,[Oc,Pl],[0,64|0],2];var Wp=[3,ru,lo,0,[],[]];var Jp=[3,ru,Ws,0,[jc,Ta,Ll,Gc],[0,()=>PA,0,0],3];var $p=[3,ru,Js,0,[Gc,jc,Ta,xa],[0,0,()=>PA,0]];var Kp=[3,ru,ro,0,[sa,Gc,jo,zo],[0,0,0,0],1];var Xp=[3,ru,no,0,[sa,Gc,Gl,jo,zo,Vl],[0,0,4,0,0,0]];var Zp=[3,ru,oo,0,[xc,Wo,ra,Jc,Ga,qa,zc,cc,vo,zo],[0,0,()=>aA,()=>Uf,0,()=>Bf,0,0,64|0,0],1];var ef=[3,ru,ao,0,[Gc,Mc],[0,()=>lp]];var tf=[3,ru,Xs,0,[jc,ql,wc,Sc,lc,Gc],[0,0,1,1,21,0],5];var rf=[3,ru,Zs,0,[Gc,jc,ql,rc],[0,0,0,1]];var nf=[-3,ru,eo,{[Zo]:qo},[fc],[0]];ie.TypeRegistry.for(ru).registerError(nf,UploadNotFoundException);var sf=[3,ru,bo,0,[sa,Gc],[0,0],1];var of=[3,ru,Io,0,[sa,Gc,zl,jo,zo,Vl,za,ya],[0,0,0,0,0,0,2,0]];var af=[-3,ru,mo,{[Zo]:qo,[Ba]:400},[fc],[0]];ie.TypeRegistry.for(ru).registerError(af,ValidationException);var cf=[3,ru,Eo,0,[Mo,ca,ha,Ec,Qc,il,ml,tu,pa],[0,1,0,0,0,0,0,0,0]];var lf=[-3,Nl,"ECRServiceException",0,[],[]];ie.TypeRegistry.for(Nl).registerError(lf,ECRServiceException);var uf=[1,ru,ye,0,()=>nu];var Af=[1,ru,me,0,()=>iu];var df=[1,ru,Ye,0,()=>wu];var pf=[1,ru,Je,0,()=>Bu];var ff=[1,ru,Ar,0,()=>cA];var hf=[1,ru,zr,0,()=>DA];var gf=[1,ru,Wr,0,()=>_A];var mf=[1,ru,$r,0,()=>PA];var Ef=[1,ru,Kr,0,()=>TA];var yf=[1,ru,cn,0,()=>LA];var Cf=[1,ru,un,0,()=>FA];var bf=[1,ru,hn,0,()=>MA];var If=[1,ru,yn,0,()=>jA];var Bf=[1,ru,Bn,0,()=>YA];var wf=[1,ru,kn,0,()=>nd];var Sf=[1,ru,Hn,0,()=>td];var Qf=[1,ru,Wn,0,()=>Ad];var vf=[1,ru,xi,0,()=>vd];var Rf=[1,ru,As,0,()=>ep];var Tf=[1,ru,Gi,0,()=>np];var Nf=[1,ru,ns,0,()=>ip];var kf=[1,ru,Ui,0,()=>lp];var Df=[1,ru,Vi,0,()=>up];var xf=[1,ru,Yi,0,()=>sp];var _f=[1,ru,as,0,()=>hp];var Pf=[1,ru,cs,0,()=>fp];var Of=[1,ru,Wi,0,()=>gp];var Lf=[1,ru,Ns,0,()=>Ep];var Ff=[1,ru,ks,0,()=>vp];var Mf=[1,ru,xs,0,()=>Rp];var Uf=[1,ru,Hs,0,()=>_p];var Hf=[1,ru,Us,0,()=>Up];var Gf=[1,ru,yo,0,()=>cf];var qf=[9,ru,be,0,()=>ou,()=>au];var jf=[9,ru,we,0,()=>cu,()=>lu];var Vf=[9,ru,ve,0,()=>uu,()=>Au];var zf=[9,ru,Ne,0,()=>du,()=>pu];var Yf=[9,ru,xe,0,()=>hu,()=>gu];var Wf=[9,ru,Oe,0,()=>mu,()=>Eu];var Jf=[9,ru,Me,0,()=>bu,()=>Iu];var $f=[9,ru,Ue,0,()=>yu,()=>Cu];var Kf=[9,ru,St,0,()=>Qu,()=>vu];var Xf=[9,ru,Rt,0,()=>Ru,()=>Tu];var Zf=[9,ru,jt,0,()=>Nu,()=>ku];var eh=[9,ru,Lt,0,()=>Ou,()=>Lu];var th=[9,ru,Ft,0,()=>Du,()=>xu];var rh=[9,ru,Jt,0,()=>_u,()=>Pu];var nh=[9,ru,ir,0,()=>Fu,()=>Mu];var ih=[9,ru,_t,0,()=>Uu,()=>Hu];var sh=[9,ru,Ze,0,()=>Gu,()=>qu];var oh=[9,ru,$e,0,()=>Ju,()=>$u];var ah=[9,ru,yt,0,()=>ju,()=>Vu];var ch=[9,ru,It,0,()=>Yu,()=>Wu];var lh=[9,ru,xt,0,()=>Ku,()=>Xu];var uh=[9,ru,rr,0,()=>Zu,()=>eA];var Ah=[9,ru,nr,0,()=>tA,()=>rA];var dh=[9,ru,qt,0,()=>nA,()=>iA];var ph=[9,ru,fr,0,()=>AA,()=>dA];var fh=[9,ru,mr,0,()=>pA,()=>fA];var hh=[9,ru,Cr,0,()=>hA,()=>gA];var gh=[9,ru,Br,0,()=>yA,()=>CA];var mh=[9,ru,wr,0,()=>mA,()=>EA];var Eh=[9,ru,Tr,0,()=>bA,()=>IA];var yh=[9,ru,Pr,0,()=>BA,()=>wA];var Ch=[9,ru,_r,0,()=>SA,()=>QA];var bh=[9,ru,Fr,0,()=>vA,()=>RA];var Ih=[9,ru,en,0,()=>WA,()=>JA];var Bh=[9,ru,Un,0,()=>md,()=>Ed];var wh=[9,ru,Dn,0,()=>Cd,()=>bd];var Sh=[9,ru,Xn,0,()=>Id,()=>Bd];var Qh=[9,ru,ti,0,()=>wd,()=>Sd];var vh=[9,ru,ii,0,()=>Nd,()=>kd];var Rh=[9,ru,ai,0,()=>Dd,()=>xd];var Th=[9,ru,ui,0,()=>_d,()=>Pd];var Nh=[9,ru,pi,0,()=>Od,()=>Ld];var kh=[9,ru,gi,0,()=>Fd,()=>Md];var Dh=[9,ru,Ii,0,()=>Ud,()=>Hd];var xh=[9,ru,Si,0,()=>Gd,()=>qd];var _h=[9,ru,yi,0,()=>jd,()=>Vd];var Ph=[9,ru,Ri,0,()=>zd,()=>Yd];var Oh=[9,ru,Zi,0,()=>$d,()=>Kd];var Lh=[9,ru,_s,0,()=>Bp,()=>wp];var Fh=[9,ru,Cs,0,()=>Tp,()=>Np];var Mh=[9,ru,Bs,0,()=>kp,()=>Dp];var Uh=[9,ru,js,0,()=>Pp,()=>Op];var Hh=[9,ru,io,0,()=>Yp,()=>Wp];var Gh=[9,ru,Ys,0,()=>Jp,()=>$p];var qh=[9,ru,to,0,()=>Kp,()=>Xp];var jh=[9,ru,so,0,()=>Zp,()=>ef];var Vh=[9,ru,Ks,0,()=>tf,()=>rf];var zh=[9,ru,Co,0,()=>sf,()=>of];class BatchCheckLayerAvailabilityCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","BatchCheckLayerAvailability",{}).n("ECRClient","BatchCheckLayerAvailabilityCommand").sc(qf).build()){}class BatchDeleteImageCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","BatchDeleteImage",{}).n("ECRClient","BatchDeleteImageCommand").sc(jf).build()){}class BatchGetImageCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","BatchGetImage",{}).n("ECRClient","BatchGetImageCommand").sc(Vf).build()){}class BatchGetRepositoryScanningConfigurationCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","BatchGetRepositoryScanningConfiguration",{}).n("ECRClient","BatchGetRepositoryScanningConfigurationCommand").sc(zf).build()){}class CompleteLayerUploadCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","CompleteLayerUpload",{}).n("ECRClient","CompleteLayerUploadCommand").sc(Yf).build()){}class CreatePullThroughCacheRuleCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","CreatePullThroughCacheRule",{}).n("ECRClient","CreatePullThroughCacheRuleCommand").sc(Wf).build()){}class CreateRepositoryCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","CreateRepository",{}).n("ECRClient","CreateRepositoryCommand").sc(Jf).build()){}class CreateRepositoryCreationTemplateCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","CreateRepositoryCreationTemplate",{}).n("ECRClient","CreateRepositoryCreationTemplateCommand").sc($f).build()){}class DeleteLifecyclePolicyCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","DeleteLifecyclePolicy",{}).n("ECRClient","DeleteLifecyclePolicyCommand").sc(Kf).build()){}class DeletePullThroughCacheRuleCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","DeletePullThroughCacheRule",{}).n("ECRClient","DeletePullThroughCacheRuleCommand").sc(Xf).build()){}class DeleteRegistryPolicyCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","DeleteRegistryPolicy",{}).n("ECRClient","DeleteRegistryPolicyCommand").sc(Zf).build()){}class DeleteRepositoryCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","DeleteRepository",{}).n("ECRClient","DeleteRepositoryCommand").sc(eh).build()){}class DeleteRepositoryCreationTemplateCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","DeleteRepositoryCreationTemplate",{}).n("ECRClient","DeleteRepositoryCreationTemplateCommand").sc(th).build()){}class DeleteRepositoryPolicyCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","DeleteRepositoryPolicy",{}).n("ECRClient","DeleteRepositoryPolicyCommand").sc(rh).build()){}class DeleteSigningConfigurationCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","DeleteSigningConfiguration",{}).n("ECRClient","DeleteSigningConfigurationCommand").sc(nh).build()){}class DeregisterPullTimeUpdateExclusionCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","DeregisterPullTimeUpdateExclusion",{}).n("ECRClient","DeregisterPullTimeUpdateExclusionCommand").sc(ih).build()){}class DescribeImageReplicationStatusCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","DescribeImageReplicationStatus",{}).n("ECRClient","DescribeImageReplicationStatusCommand").sc(sh).build()){}class DescribeImageScanFindingsCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","DescribeImageScanFindings",{}).n("ECRClient","DescribeImageScanFindingsCommand").sc(ah).build()){}class DescribeImagesCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","DescribeImages",{}).n("ECRClient","DescribeImagesCommand").sc(oh).build()){}class DescribeImageSigningStatusCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","DescribeImageSigningStatus",{}).n("ECRClient","DescribeImageSigningStatusCommand").sc(ch).build()){}class DescribePullThroughCacheRulesCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","DescribePullThroughCacheRules",{}).n("ECRClient","DescribePullThroughCacheRulesCommand").sc(lh).build()){}class DescribeRegistryCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","DescribeRegistry",{}).n("ECRClient","DescribeRegistryCommand").sc(uh).build()){}class DescribeRepositoriesCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","DescribeRepositories",{}).n("ECRClient","DescribeRepositoriesCommand").sc(Ah).build()){}class DescribeRepositoryCreationTemplatesCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","DescribeRepositoryCreationTemplates",{}).n("ECRClient","DescribeRepositoryCreationTemplatesCommand").sc(dh).build()){}class GetAccountSettingCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","GetAccountSetting",{}).n("ECRClient","GetAccountSettingCommand").sc(ph).build()){}class GetAuthorizationTokenCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","GetAuthorizationToken",{}).n("ECRClient","GetAuthorizationTokenCommand").sc(fh).build()){}class GetDownloadUrlForLayerCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","GetDownloadUrlForLayer",{}).n("ECRClient","GetDownloadUrlForLayerCommand").sc(hh).build()){}class GetLifecyclePolicyCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","GetLifecyclePolicy",{}).n("ECRClient","GetLifecyclePolicyCommand").sc(gh).build()){}class GetLifecyclePolicyPreviewCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","GetLifecyclePolicyPreview",{}).n("ECRClient","GetLifecyclePolicyPreviewCommand").sc(mh).build()){}class GetRegistryPolicyCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","GetRegistryPolicy",{}).n("ECRClient","GetRegistryPolicyCommand").sc(Eh).build()){}class GetRegistryScanningConfigurationCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","GetRegistryScanningConfiguration",{}).n("ECRClient","GetRegistryScanningConfigurationCommand").sc(yh).build()){}class GetRepositoryPolicyCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","GetRepositoryPolicy",{}).n("ECRClient","GetRepositoryPolicyCommand").sc(Ch).build()){}class GetSigningConfigurationCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","GetSigningConfiguration",{}).n("ECRClient","GetSigningConfigurationCommand").sc(bh).build()){}class InitiateLayerUploadCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","InitiateLayerUpload",{}).n("ECRClient","InitiateLayerUploadCommand").sc(Ih).build()){}class ListImageReferrersCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","ListImageReferrers",{}).n("ECRClient","ListImageReferrersCommand").sc(Bh).build()){}class ListImagesCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","ListImages",{}).n("ECRClient","ListImagesCommand").sc(wh).build()){}class ListPullTimeUpdateExclusionsCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","ListPullTimeUpdateExclusions",{}).n("ECRClient","ListPullTimeUpdateExclusionsCommand").sc(Sh).build()){}class ListTagsForResourceCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","ListTagsForResource",{}).n("ECRClient","ListTagsForResourceCommand").sc(Qh).build()){}class PutAccountSettingCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","PutAccountSetting",{}).n("ECRClient","PutAccountSettingCommand").sc(vh).build()){}class PutImageCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","PutImage",{}).n("ECRClient","PutImageCommand").sc(Rh).build()){}class PutImageScanningConfigurationCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","PutImageScanningConfiguration",{}).n("ECRClient","PutImageScanningConfigurationCommand").sc(Th).build()){}class PutImageTagMutabilityCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","PutImageTagMutability",{}).n("ECRClient","PutImageTagMutabilityCommand").sc(Nh).build()){}class PutLifecyclePolicyCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","PutLifecyclePolicy",{}).n("ECRClient","PutLifecyclePolicyCommand").sc(kh).build()){}class PutRegistryPolicyCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","PutRegistryPolicy",{}).n("ECRClient","PutRegistryPolicyCommand").sc(Dh).build()){}class PutRegistryScanningConfigurationCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","PutRegistryScanningConfiguration",{}).n("ECRClient","PutRegistryScanningConfigurationCommand").sc(xh).build()){}class PutReplicationConfigurationCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","PutReplicationConfiguration",{}).n("ECRClient","PutReplicationConfigurationCommand").sc(_h).build()){}class PutSigningConfigurationCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","PutSigningConfiguration",{}).n("ECRClient","PutSigningConfigurationCommand").sc(Ph).build()){}class RegisterPullTimeUpdateExclusionCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","RegisterPullTimeUpdateExclusion",{}).n("ECRClient","RegisterPullTimeUpdateExclusionCommand").sc(Oh).build()){}class SetRepositoryPolicyCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","SetRepositoryPolicy",{}).n("ECRClient","SetRepositoryPolicyCommand").sc(Lh).build()){}class StartImageScanCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","StartImageScan",{}).n("ECRClient","StartImageScanCommand").sc(Fh).build()){}class StartLifecyclePolicyPreviewCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","StartLifecyclePolicyPreview",{}).n("ECRClient","StartLifecyclePolicyPreviewCommand").sc(Mh).build()){}class TagResourceCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","TagResource",{}).n("ECRClient","TagResourceCommand").sc(Uh).build()){}class UntagResourceCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","UntagResource",{}).n("ECRClient","UntagResourceCommand").sc(Hh).build()){}class UpdateImageStorageClassCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","UpdateImageStorageClass",{}).n("ECRClient","UpdateImageStorageClassCommand").sc(Gh).build()){}class UpdatePullThroughCacheRuleCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","UpdatePullThroughCacheRule",{}).n("ECRClient","UpdatePullThroughCacheRuleCommand").sc(qh).build()){}class UpdateRepositoryCreationTemplateCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","UpdateRepositoryCreationTemplate",{}).n("ECRClient","UpdateRepositoryCreationTemplateCommand").sc(jh).build()){}class UploadLayerPartCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","UploadLayerPart",{}).n("ECRClient","UploadLayerPartCommand").sc(Vh).build()){}class ValidatePullThroughCacheRuleCommand extends(ce.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","ValidatePullThroughCacheRule",{}).n("ECRClient","ValidatePullThroughCacheRuleCommand").sc(zh).build()){}const Yh=ne.createPaginator(ECRClient,DescribeImageScanFindingsCommand,"nextToken","nextToken","maxResults");const Wh=ne.createPaginator(ECRClient,DescribeImagesCommand,"nextToken","nextToken","maxResults");const Jh=ne.createPaginator(ECRClient,DescribePullThroughCacheRulesCommand,"nextToken","nextToken","maxResults");const $h=ne.createPaginator(ECRClient,DescribeRepositoriesCommand,"nextToken","nextToken","maxResults");const Kh=ne.createPaginator(ECRClient,DescribeRepositoryCreationTemplatesCommand,"nextToken","nextToken","maxResults");const Xh=ne.createPaginator(ECRClient,GetLifecyclePolicyPreviewCommand,"nextToken","nextToken","maxResults");const Zh=ne.createPaginator(ECRClient,ListImagesCommand,"nextToken","nextToken","maxResults");const checkState$1=async(i,d)=>{let p;try{let v=await i.send(new DescribeImageScanFindingsCommand(d));p=v;try{const returnComparator=()=>v.imageScanStatus.status;if(returnComparator()==="COMPLETE"){return{state:pe.WaiterState.SUCCESS,reason:p}}}catch(i){}try{const returnComparator=()=>v.imageScanStatus.status;if(returnComparator()==="FAILED"){return{state:pe.WaiterState.FAILURE,reason:p}}}catch(i){}}catch(i){p=i}return{state:pe.WaiterState.RETRY,reason:p}};const waitForImageScanComplete=async(i,d)=>{const p={minDelay:5,maxDelay:120};return pe.createWaiter({...p,...i},d,checkState$1)};const waitUntilImageScanComplete=async(i,d)=>{const p={minDelay:5,maxDelay:120};const v=await pe.createWaiter({...p,...i},d,checkState$1);return pe.checkExceptions(v)};const checkState=async(i,d)=>{let p;try{let v=await i.send(new GetLifecyclePolicyPreviewCommand(d));p=v;try{const returnComparator=()=>v.status;if(returnComparator()==="COMPLETE"){return{state:pe.WaiterState.SUCCESS,reason:p}}}catch(i){}try{const returnComparator=()=>v.status;if(returnComparator()==="FAILED"){return{state:pe.WaiterState.FAILURE,reason:p}}}catch(i){}}catch(i){p=i}return{state:pe.WaiterState.RETRY,reason:p}};const waitForLifecyclePolicyPreviewComplete=async(i,d)=>{const p={minDelay:5,maxDelay:120};return pe.createWaiter({...p,...i},d,checkState)};const waitUntilLifecyclePolicyPreviewComplete=async(i,d)=>{const p={minDelay:5,maxDelay:120};const v=await pe.createWaiter({...p,...i},d,checkState);return pe.checkExceptions(v)};const eg={BatchCheckLayerAvailabilityCommand:BatchCheckLayerAvailabilityCommand,BatchDeleteImageCommand:BatchDeleteImageCommand,BatchGetImageCommand:BatchGetImageCommand,BatchGetRepositoryScanningConfigurationCommand:BatchGetRepositoryScanningConfigurationCommand,CompleteLayerUploadCommand:CompleteLayerUploadCommand,CreatePullThroughCacheRuleCommand:CreatePullThroughCacheRuleCommand,CreateRepositoryCommand:CreateRepositoryCommand,CreateRepositoryCreationTemplateCommand:CreateRepositoryCreationTemplateCommand,DeleteLifecyclePolicyCommand:DeleteLifecyclePolicyCommand,DeletePullThroughCacheRuleCommand:DeletePullThroughCacheRuleCommand,DeleteRegistryPolicyCommand:DeleteRegistryPolicyCommand,DeleteRepositoryCommand:DeleteRepositoryCommand,DeleteRepositoryCreationTemplateCommand:DeleteRepositoryCreationTemplateCommand,DeleteRepositoryPolicyCommand:DeleteRepositoryPolicyCommand,DeleteSigningConfigurationCommand:DeleteSigningConfigurationCommand,DeregisterPullTimeUpdateExclusionCommand:DeregisterPullTimeUpdateExclusionCommand,DescribeImageReplicationStatusCommand:DescribeImageReplicationStatusCommand,DescribeImagesCommand:DescribeImagesCommand,DescribeImageScanFindingsCommand:DescribeImageScanFindingsCommand,DescribeImageSigningStatusCommand:DescribeImageSigningStatusCommand,DescribePullThroughCacheRulesCommand:DescribePullThroughCacheRulesCommand,DescribeRegistryCommand:DescribeRegistryCommand,DescribeRepositoriesCommand:DescribeRepositoriesCommand,DescribeRepositoryCreationTemplatesCommand:DescribeRepositoryCreationTemplatesCommand,GetAccountSettingCommand:GetAccountSettingCommand,GetAuthorizationTokenCommand:GetAuthorizationTokenCommand,GetDownloadUrlForLayerCommand:GetDownloadUrlForLayerCommand,GetLifecyclePolicyCommand:GetLifecyclePolicyCommand,GetLifecyclePolicyPreviewCommand:GetLifecyclePolicyPreviewCommand,GetRegistryPolicyCommand:GetRegistryPolicyCommand,GetRegistryScanningConfigurationCommand:GetRegistryScanningConfigurationCommand,GetRepositoryPolicyCommand:GetRepositoryPolicyCommand,GetSigningConfigurationCommand:GetSigningConfigurationCommand,InitiateLayerUploadCommand:InitiateLayerUploadCommand,ListImageReferrersCommand:ListImageReferrersCommand,ListImagesCommand:ListImagesCommand,ListPullTimeUpdateExclusionsCommand:ListPullTimeUpdateExclusionsCommand,ListTagsForResourceCommand:ListTagsForResourceCommand,PutAccountSettingCommand:PutAccountSettingCommand,PutImageCommand:PutImageCommand,PutImageScanningConfigurationCommand:PutImageScanningConfigurationCommand,PutImageTagMutabilityCommand:PutImageTagMutabilityCommand,PutLifecyclePolicyCommand:PutLifecyclePolicyCommand,PutRegistryPolicyCommand:PutRegistryPolicyCommand,PutRegistryScanningConfigurationCommand:PutRegistryScanningConfigurationCommand,PutReplicationConfigurationCommand:PutReplicationConfigurationCommand,PutSigningConfigurationCommand:PutSigningConfigurationCommand,RegisterPullTimeUpdateExclusionCommand:RegisterPullTimeUpdateExclusionCommand,SetRepositoryPolicyCommand:SetRepositoryPolicyCommand,StartImageScanCommand:StartImageScanCommand,StartLifecyclePolicyPreviewCommand:StartLifecyclePolicyPreviewCommand,TagResourceCommand:TagResourceCommand,UntagResourceCommand:UntagResourceCommand,UpdateImageStorageClassCommand:UpdateImageStorageClassCommand,UpdatePullThroughCacheRuleCommand:UpdatePullThroughCacheRuleCommand,UpdateRepositoryCreationTemplateCommand:UpdateRepositoryCreationTemplateCommand,UploadLayerPartCommand:UploadLayerPartCommand,ValidatePullThroughCacheRuleCommand:ValidatePullThroughCacheRuleCommand};const tg={paginateDescribeImages:Wh,paginateDescribeImageScanFindings:Yh,paginateDescribePullThroughCacheRules:Jh,paginateDescribeRepositories:$h,paginateDescribeRepositoryCreationTemplates:Kh,paginateGetLifecyclePolicyPreview:Xh,paginateListImages:Zh};const rg={waitUntilImageScanComplete:waitUntilImageScanComplete,waitUntilLifecyclePolicyPreviewComplete:waitUntilLifecyclePolicyPreviewComplete};class ECR extends ECRClient{}ce.createAggregatedClient(eg,ECR,{paginators:tg,waiters:rg});const ng={InvalidLayerDigest:"InvalidLayerDigest",MissingLayerDigest:"MissingLayerDigest"};const ig={ARCHIVED:"ARCHIVED",AVAILABLE:"AVAILABLE",UNAVAILABLE:"UNAVAILABLE"};const sg={ImageInaccessible:"ImageInaccessible",ImageNotFound:"ImageNotFound",ImageReferencedByManifestList:"ImageReferencedByManifestList",ImageTagDoesNotMatchDigest:"ImageTagDoesNotMatchDigest",InvalidImageDigest:"InvalidImageDigest",InvalidImageTag:"InvalidImageTag",KmsError:"KmsError",MissingDigestAndTag:"MissingDigestAndTag",UpstreamAccessDenied:"UpstreamAccessDenied",UpstreamTooManyRequests:"UpstreamTooManyRequests",UpstreamUnavailable:"UpstreamUnavailable"};const og={REPOSITORY_NOT_FOUND:"REPOSITORY_NOT_FOUND"};const ag={WILDCARD:"WILDCARD"};const cg={CONTINUOUS_SCAN:"CONTINUOUS_SCAN",MANUAL:"MANUAL",SCAN_ON_PUSH:"SCAN_ON_PUSH"};const lg={AzureContainerRegistry:"azure-container-registry",DockerHub:"docker-hub",Ecr:"ecr",EcrPublic:"ecr-public",GitHubContainerRegistry:"github-container-registry",GitLabContainerRegistry:"gitlab-container-registry",K8s:"k8s",Quay:"quay"};const ug={AES256:"AES256",KMS:"KMS",KMS_DSSE:"KMS_DSSE"};const Ag={IMMUTABLE:"IMMUTABLE",IMMUTABLE_WITH_EXCLUSION:"IMMUTABLE_WITH_EXCLUSION",MUTABLE:"MUTABLE",MUTABLE_WITH_EXCLUSION:"MUTABLE_WITH_EXCLUSION"};const dg={WILDCARD:"WILDCARD"};const pg={CREATE_ON_PUSH:"CREATE_ON_PUSH",PULL_THROUGH_CACHE:"PULL_THROUGH_CACHE",REPLICATION:"REPLICATION"};const fg={WILDCARD_MATCH:"WILDCARD_MATCH"};const hg={COMPLETE:"COMPLETE",FAILED:"FAILED",IN_PROGRESS:"IN_PROGRESS"};const gg={ACTIVATING:"ACTIVATING",ACTIVE:"ACTIVE",ANY:"ANY",ARCHIVED:"ARCHIVED"};const mg={ANY:"ANY",TAGGED:"TAGGED",UNTAGGED:"UNTAGGED"};const Eg={CRITICAL:"CRITICAL",HIGH:"HIGH",INFORMATIONAL:"INFORMATIONAL",LOW:"LOW",MEDIUM:"MEDIUM",UNDEFINED:"UNDEFINED"};const yg={ACTIVE:"ACTIVE",COMPLETE:"COMPLETE",FAILED:"FAILED",FINDINGS_UNAVAILABLE:"FINDINGS_UNAVAILABLE",IMAGE_ARCHIVED:"IMAGE_ARCHIVED",IN_PROGRESS:"IN_PROGRESS",LIMIT_EXCEEDED:"LIMIT_EXCEEDED",PENDING:"PENDING",SCAN_ELIGIBILITY_EXPIRED:"SCAN_ELIGIBILITY_EXPIRED",UNSUPPORTED_IMAGE:"UNSUPPORTED_IMAGE"};const Cg={ACTIVATING:"ACTIVATING",ACTIVE:"ACTIVE",ARCHIVED:"ARCHIVED"};const bg={COMPLETE:"COMPLETE",FAILED:"FAILED",IN_PROGRESS:"IN_PROGRESS"};const Ig={PREFIX_MATCH:"PREFIX_MATCH"};const Bg={ARCHIVE:"ARCHIVE"};const wg={EXPIRE:"EXPIRE",TRANSITION:"TRANSITION"};const Sg={ARCHIVE:"ARCHIVE",STANDARD:"STANDARD"};const Qg={COMPLETE:"COMPLETE",EXPIRED:"EXPIRED",FAILED:"FAILED",IN_PROGRESS:"IN_PROGRESS"};const vg={BASIC:"BASIC",ENHANCED:"ENHANCED"};const Rg={ACTIVATING:"ACTIVATING",ACTIVE:"ACTIVE",ANY:"ANY",ARCHIVED:"ARCHIVED"};const Tg={ACTIVATING:"ACTIVATING",ACTIVE:"ACTIVE",ARCHIVED:"ARCHIVED"};const Ng={ARCHIVE:"ARCHIVE",STANDARD:"STANDARD"};v={enumerable:true,get:function(){return ce.Command}};v={enumerable:true,get:function(){return ce.Client}};v=Tg;v=Rg;v=nu;v=iu;v=su;v=qf;v=BatchCheckLayerAvailabilityCommand;v=ou;v=au;v=jf;v=BatchDeleteImageCommand;v=cu;v=lu;v=Vf;v=BatchGetImageCommand;v=uu;v=Au;v=zf;v=BatchGetRepositoryScanningConfigurationCommand;v=du;v=pu;v=BlockedByOrganizationPolicyException;v=fu;v=Yf;v=CompleteLayerUploadCommand;v=hu;v=gu;v=Wf;v=CreatePullThroughCacheRuleCommand;v=mu;v=Eu;v=Jf;v=CreateRepositoryCommand;v=$f;v=CreateRepositoryCreationTemplateCommand;v=yu;v=Cu;v=bu;v=Iu;v=Bu;v=wu;v=Su;v=Kf;v=DeleteLifecyclePolicyCommand;v=Qu;v=vu;v=Xf;v=DeletePullThroughCacheRuleCommand;v=Ru;v=Tu;v=Zf;v=DeleteRegistryPolicyCommand;v=Nu;v=ku;v=eh;v=DeleteRepositoryCommand;v=th;v=DeleteRepositoryCreationTemplateCommand;v=Du;v=xu;v=rh;v=DeleteRepositoryPolicyCommand;v=_u;v=Pu;v=Ou;v=Lu;v=nh;v=DeleteSigningConfigurationCommand;v=Fu;v=Mu;v=ih;v=DeregisterPullTimeUpdateExclusionCommand;v=Uu;v=Hu;v=sh;v=DescribeImageReplicationStatusCommand;v=Gu;v=qu;v=ah;v=DescribeImageScanFindingsCommand;v=ju;v=Vu;v=ch;v=DescribeImageSigningStatusCommand;v=Yu;v=Wu;v=oh;v=DescribeImagesCommand;v=zu;v=Ju;v=$u;v=lh;v=DescribePullThroughCacheRulesCommand;v=Ku;v=Xu;v=uh;v=DescribeRegistryCommand;v=Zu;v=eA;v=Ah;v=DescribeRepositoriesCommand;v=tA;v=rA;v=dh;v=DescribeRepositoryCreationTemplatesCommand;v=nA;v=iA;d.Tjd=ECR;v=ECRClient;v=ECRServiceException;v=lf;v=EmptyUploadException;v=sA;v=oA;v=aA;v=ug;v=cA;v=ExclusionAlreadyExistsException;v=lA;v=ExclusionNotFoundException;v=uA;v=Eg;v=ph;v=GetAccountSettingCommand;v=AA;v=dA;v=fh;v=GetAuthorizationTokenCommand;v=pA;v=fA;v=hh;v=GetDownloadUrlForLayerCommand;v=hA;v=gA;v=gh;v=GetLifecyclePolicyCommand;v=mh;v=GetLifecyclePolicyPreviewCommand;v=mA;v=EA;v=yA;v=CA;v=Eh;v=GetRegistryPolicyCommand;v=bA;v=IA;v=yh;v=GetRegistryScanningConfigurationCommand;v=BA;v=wA;v=Ch;v=GetRepositoryPolicyCommand;v=SA;v=QA;v=bh;v=GetSigningConfigurationCommand;v=vA;v=RA;v=TA;v=wg;v=ImageAlreadyExistsException;v=NA;v=ImageArchivedException;v=kA;v=DA;v=ImageDigestDoesNotMatchException;v=xA;v=_A;v=sg;v=PA;v=ImageNotFoundException;v=OA;v=LA;v=FA;v=MA;v=UA;v=HA;v=qA;v=GA;v=jA;v=Cg;v=gg;v=ImageStorageClassUpdateNotSupportedException;v=VA;v=ImageTagAlreadyExistsException;v=zA;v=Ag;v=YA;v=dg;v=Ih;v=InitiateLayerUploadCommand;v=WA;v=JA;v=InvalidLayerException;v=$A;v=InvalidLayerPartException;v=KA;v=InvalidParameterException;v=XA;v=InvalidTagParameterException;v=ZA;v=KmsException;v=ed;v=td;v=LayerAlreadyExistsException;v=rd;v=ig;v=nd;v=ng;v=LayerInaccessibleException;v=id;v=LayerPartTooSmallException;v=sd;v=LayersNotFoundException;v=od;v=LifecyclePolicyNotFoundException;v=ad;v=cd;v=LifecyclePolicyPreviewInProgressException;v=ld;v=LifecyclePolicyPreviewNotFoundException;v=ud;v=Ad;v=Qg;v=dd;v=fd;v=Sg;v=Bg;v=LimitExceededException;v=hd;v=Bh;v=ListImageReferrersCommand;v=gd;v=md;v=Ed;v=wh;v=ListImagesCommand;v=yd;v=Cd;v=bd;v=Sh;v=ListPullTimeUpdateExclusionsCommand;v=Id;v=Bd;v=Qh;v=ListTagsForResourceCommand;v=wd;v=Sd;v=Qd;v=vd;v=PullThroughCacheRuleAlreadyExistsException;v=Rd;v=PullThroughCacheRuleNotFoundException;v=Td;v=vh;v=PutAccountSettingCommand;v=Nd;v=kd;v=Rh;v=PutImageCommand;v=Dd;v=xd;v=Th;v=PutImageScanningConfigurationCommand;v=_d;v=Pd;v=Nh;v=PutImageTagMutabilityCommand;v=Od;v=Ld;v=kh;v=PutLifecyclePolicyCommand;v=Fd;v=Md;v=Dh;v=PutRegistryPolicyCommand;v=Ud;v=Hd;v=xh;v=PutRegistryScanningConfigurationCommand;v=Gd;v=qd;v=_h;v=PutReplicationConfigurationCommand;v=jd;v=Vd;v=Ph;v=PutSigningConfigurationCommand;v=zd;v=Yd;v=pg;v=Wd;v=ReferencedImagesNotFoundException;v=Jd;v=Oh;v=RegisterPullTimeUpdateExclusionCommand;v=$d;v=Kd;v=RegistryPolicyNotFoundException;v=Xd;v=Zd;v=ep;v=tp;v=rp;v=np;v=ip;v=hg;v=sp;v=RepositoryAlreadyExistsException;v=ap;v=lp;v=up;v=Ig;v=RepositoryNotEmptyException;v=Ap;v=RepositoryNotFoundException;v=dp;v=RepositoryPolicyNotFoundException;v=pp;v=fp;v=hp;v=gp;v=mp;v=cg;v=ScanNotFoundException;v=yp;v=yg;v=vg;v=og;v=Ep;v=ag;v=Cp;v=SecretNotFoundException;v=bp;v=ServerException;v=Ip;v=Lh;v=SetRepositoryPolicyCommand;v=Bp;v=wp;v=Sp;v=SigningConfigurationNotFoundException;v=Qp;v=vp;v=fg;v=Rp;v=bg;v=Fh;v=StartImageScanCommand;v=Tp;v=Np;v=Mh;v=StartLifecyclePolicyPreviewCommand;v=kp;v=Dp;v=xp;v=_p;v=Uh;v=TagResourceCommand;v=Pp;v=Op;v=mg;v=Ng;v=TemplateAlreadyExistsException;v=Lp;v=TemplateNotFoundException;v=Fp;v=TooManyTagsException;v=Mp;v=Up;v=UnableToAccessSecretException;v=Hp;v=UnableToDecryptSecretValueException;v=Gp;v=UnableToGetUpstreamImageException;v=qp;v=UnableToGetUpstreamLayerException;v=jp;v=UnsupportedImageTypeException;v=Vp;v=UnsupportedUpstreamRegistryException;v=zp;v=Hh;v=UntagResourceCommand;v=Yp;v=Wp;v=Gh;v=UpdateImageStorageClassCommand;v=Jp;v=$p;v=qh;v=UpdatePullThroughCacheRuleCommand;v=Kp;v=Xp;v=jh;v=UpdateRepositoryCreationTemplateCommand;v=Zp;v=ef;v=Vh;v=UploadLayerPartCommand;v=tf;v=rf;v=UploadNotFoundException;v=nf;v=lg;v=zh;v=ValidatePullThroughCacheRuleCommand;v=sf;v=of;v=ValidationException;v=af;v=cf;v=Yh;v=Wh;v=Jh;v=$h;v=Kh;v=Xh;v=Zh;v=waitForImageScanComplete;v=waitForLifecyclePolicyPreviewComplete;v=waitUntilImageScanComplete;v=waitUntilLifecyclePolicyPreviewComplete},93107:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getRuntimeConfig=void 0;const v=p(61860);const V=v.__importDefault(p(40121));const K=p(8704);const ee=p(5861);const te=p(51656);const re=p(39316);const ne=p(5092);const ie=p(19618);const se=p(55704);const oe=p(61279);const ae=p(61411);const ce=p(13638);const le=p(15435);const ue=p(15518);const Ae=p(19344);const getRuntimeConfig=i=>{(0,ae.emitWarningIfUnsupportedVersion)(process.version);const d=(0,le.resolveDefaultsModeConfig)(i);const defaultConfigProvider=()=>d().then(ae.loadConfigsForDefaultMode);const p=(0,Ae.getRuntimeConfig)(i);(0,K.emitWarningIfUnsupportedVersion)(process.version);const v={profile:i?.profile,logger:p.logger};return{...p,...i,runtime:"node",defaultsMode:d,authSchemePreference:i?.authSchemePreference??(0,se.loadConfig)(K.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,v),bodyLengthChecker:i?.bodyLengthChecker??ce.calculateBodyLength,credentialDefaultProvider:i?.credentialDefaultProvider??ee.defaultProvider,defaultUserAgentProvider:i?.defaultUserAgentProvider??(0,te.createDefaultUserAgentProvider)({serviceId:p.serviceId,clientVersion:V.default.version}),maxAttempts:i?.maxAttempts??(0,se.loadConfig)(ie.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,i),region:i?.region??(0,se.loadConfig)(re.NODE_REGION_CONFIG_OPTIONS,{...re.NODE_REGION_CONFIG_FILE_OPTIONS,...v}),requestHandler:oe.NodeHttpHandler.create(i?.requestHandler??defaultConfigProvider),retryMode:i?.retryMode??(0,se.loadConfig)({...ie.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await defaultConfigProvider()).retryMode||ue.DEFAULT_RETRY_MODE},i),sha256:i?.sha256??ne.Hash.bind(null,"sha256"),streamCollector:i?.streamCollector??oe.streamCollector,useDualstackEndpoint:i?.useDualstackEndpoint??(0,se.loadConfig)(re.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,v),useFipsEndpoint:i?.useFipsEndpoint??(0,se.loadConfig)(re.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,v),userAgentAppId:i?.userAgentAppId??(0,se.loadConfig)(te.NODE_APP_ID_CONFIG_OPTIONS,v)}};d.getRuntimeConfig=getRuntimeConfig},19344:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getRuntimeConfig=void 0;const v=p(8704);const V=p(37288);const K=p(61411);const ee=p(14494);const te=p(68385);const re=p(71577);const ne=p(73218);const ie=p(33628);const getRuntimeConfig=i=>({apiVersion:"2015-09-21",base64Decoder:i?.base64Decoder??te.fromBase64,base64Encoder:i?.base64Encoder??te.toBase64,disableHostPrefix:i?.disableHostPrefix??false,endpointProvider:i?.endpointProvider??ie.defaultEndpointResolver,extensions:i?.extensions??[],httpAuthSchemeProvider:i?.httpAuthSchemeProvider??ne.defaultECRHttpAuthSchemeProvider,httpAuthSchemes:i?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:i=>i.getIdentityProvider("aws.auth#sigv4"),signer:new v.AwsSdkSigV4Signer}],logger:i?.logger??new K.NoOpLogger,protocol:i?.protocol??V.AwsJson1_1Protocol,protocolSettings:i?.protocolSettings??{defaultNamespace:"com.amazonaws.ecr",xmlNamespace:"http://ecr.amazonaws.com/doc/2015-09-21/",version:"2015-09-21",serviceTarget:"AmazonEC2ContainerRegistry_V20150921"},serviceId:i?.serviceId??"ECR",urlParser:i?.urlParser??ee.parseUrl,utf8Decoder:i?.utf8Decoder??re.fromUtf8,utf8Encoder:i?.utf8Encoder??re.toUtf8});d.getRuntimeConfig=getRuntimeConfig},8704:(i,d,p)=>{var v=p(72356);var V=p(90402);var K=p(71238);var ee=p(5152);var te=p(75118);var re=p(64645);var ne=p(26890);var ie=p(61411);var se=p(93422);var oe=p(92430);var ae=p(68385);var ce=p(71577);var le=p(94274);const ue={warningEmitted:false};const emitWarningIfUnsupportedVersion=i=>{if(i&&!ue.warningEmitted&&parseInt(i.substring(1,i.indexOf(".")))<20){ue.warningEmitted=true;process.emitWarning(`NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will\nno longer support Node.js ${i} in January 2026.\n\nTo continue receiving updates to AWS services, bug fixes, and security\nupdates please upgrade to a supported Node.js LTS version.\n\nMore information can be found at: https://a.co/c895JFp`)}};function setCredentialFeature(i,d,p){if(!i.$source){i.$source={}}i.$source[d]=p;return i}function setFeature(i,d,p){if(!i.__aws_sdk_context){i.__aws_sdk_context={features:{}}}else if(!i.__aws_sdk_context.features){i.__aws_sdk_context.features={}}i.__aws_sdk_context.features[d]=p}function setTokenFeature(i,d,p){if(!i.$source){i.$source={}}i.$source[d]=p;return i}const getDateHeader=i=>v.HttpResponse.isInstance(i)?i.headers?.date??i.headers?.Date:undefined;const getSkewCorrectedDate=i=>new Date(Date.now()+i);const isClockSkewed=(i,d)=>Math.abs(getSkewCorrectedDate(d).getTime()-i)>=3e5;const getUpdatedSystemClockOffset=(i,d)=>{const p=Date.parse(i);if(isClockSkewed(p,d)){return p-Date.now()}return d};const throwSigningPropertyError=(i,d)=>{if(!d){throw new Error(`Property \`${i}\` is not resolved for AWS SDK SigV4Auth`)}return d};const validateSigningProperties=async i=>{const d=throwSigningPropertyError("context",i.context);const p=throwSigningPropertyError("config",i.config);const v=d.endpointV2?.properties?.authSchemes?.[0];const V=throwSigningPropertyError("signer",p.signer);const K=await V(v);const ee=i?.signingRegion;const te=i?.signingRegionSet;const re=i?.signingName;return{config:p,signer:K,signingRegion:ee,signingRegionSet:te,signingName:re}};class AwsSdkSigV4Signer{async sign(i,d,p){if(!v.HttpRequest.isInstance(i)){throw new Error("The request is not an instance of `HttpRequest` and cannot be signed")}const V=await validateSigningProperties(p);const{config:K,signer:ee}=V;let{signingRegion:te,signingName:re}=V;const ne=p.context;if(ne?.authSchemes?.length??0>1){const[i,d]=ne.authSchemes;if(i?.name==="sigv4a"&&d?.name==="sigv4"){te=d?.signingRegion??te;re=d?.signingName??re}}const ie=await ee.sign(i,{signingDate:getSkewCorrectedDate(K.systemClockOffset),signingRegion:te,signingService:re});return ie}errorHandler(i){return d=>{const p=d.ServerTime??getDateHeader(d.$response);if(p){const v=throwSigningPropertyError("config",i.config);const V=v.systemClockOffset;v.systemClockOffset=getUpdatedSystemClockOffset(p,v.systemClockOffset);const K=v.systemClockOffset!==V;if(K&&d.$metadata){d.$metadata.clockSkewCorrected=true}}throw d}}successHandler(i,d){const p=getDateHeader(i);if(p){const i=throwSigningPropertyError("config",d.config);i.systemClockOffset=getUpdatedSystemClockOffset(p,i.systemClockOffset)}}}const Ae=AwsSdkSigV4Signer;class AwsSdkSigV4ASigner extends AwsSdkSigV4Signer{async sign(i,d,p){if(!v.HttpRequest.isInstance(i)){throw new Error("The request is not an instance of `HttpRequest` and cannot be signed")}const{config:V,signer:K,signingRegion:ee,signingRegionSet:te,signingName:re}=await validateSigningProperties(p);const ne=await(V.sigv4aSigningRegionSet?.());const ie=(ne??te??[ee]).join(",");const se=await K.sign(i,{signingDate:getSkewCorrectedDate(V.systemClockOffset),signingRegion:ie,signingService:re});return se}}const getArrayForCommaSeparatedString=i=>typeof i==="string"&&i.length>0?i.split(",").map((i=>i.trim())):[];const getBearerTokenEnvKey=i=>`AWS_BEARER_TOKEN_${i.replace(/[\s-]/g,"_").toUpperCase()}`;const de="AWS_AUTH_SCHEME_PREFERENCE";const pe="auth_scheme_preference";const fe={environmentVariableSelector:(i,d)=>{if(d?.signingName){const p=getBearerTokenEnvKey(d.signingName);if(p in i)return["httpBearerAuth"]}if(!(de in i))return undefined;return getArrayForCommaSeparatedString(i[de])},configFileSelector:i=>{if(!(pe in i))return undefined;return getArrayForCommaSeparatedString(i[pe])},default:[]};const resolveAwsSdkSigV4AConfig=i=>{i.sigv4aSigningRegionSet=V.normalizeProvider(i.sigv4aSigningRegionSet);return i};const he={environmentVariableSelector(i){if(i.AWS_SIGV4A_SIGNING_REGION_SET){return i.AWS_SIGV4A_SIGNING_REGION_SET.split(",").map((i=>i.trim()))}throw new K.ProviderError("AWS_SIGV4A_SIGNING_REGION_SET not set in env.",{tryNextLink:true})},configFileSelector(i){if(i.sigv4a_signing_region_set){return(i.sigv4a_signing_region_set??"").split(",").map((i=>i.trim()))}throw new K.ProviderError("sigv4a_signing_region_set not set in profile.",{tryNextLink:true})},default:undefined};const resolveAwsSdkSigV4Config=i=>{let d=i.credentials;let p=!!i.credentials;let v=undefined;Object.defineProperty(i,"credentials",{set(V){if(V&&V!==d&&V!==v){p=true}d=V;const K=normalizeCredentialProvider(i,{credentials:d,credentialDefaultProvider:i.credentialDefaultProvider});const te=bindCallerConfig(i,K);if(p&&!te.attributed){const i=typeof d==="object"&&d!==null;v=async d=>{const p=await te(d);const v=p;if(i&&(!v.$source||Object.keys(v.$source).length===0)){return ee.setCredentialFeature(v,"CREDENTIALS_CODE","e")}return v};v.memoized=te.memoized;v.configBound=te.configBound;v.attributed=true}else{v=te}},get(){return v},enumerable:true,configurable:true});i.credentials=d;const{signingEscapePath:K=true,systemClockOffset:re=i.systemClockOffset||0,sha256:ne}=i;let ie;if(i.signer){ie=V.normalizeProvider(i.signer)}else if(i.regionInfoProvider){ie=()=>V.normalizeProvider(i.region)().then((async d=>[await i.regionInfoProvider(d,{useFipsEndpoint:await i.useFipsEndpoint(),useDualstackEndpoint:await i.useDualstackEndpoint()})||{},d])).then((([d,p])=>{const{signingRegion:v,signingService:V}=d;i.signingRegion=i.signingRegion||v||p;i.signingName=i.signingName||V||i.serviceId;const ee={...i,credentials:i.credentials,region:i.signingRegion,service:i.signingName,sha256:ne,uriEscapePath:K};const re=i.signerConstructor||te.SignatureV4;return new re(ee)}))}else{ie=async d=>{d=Object.assign({},{name:"sigv4",signingName:i.signingName||i.defaultSigningName,signingRegion:await V.normalizeProvider(i.region)(),properties:{}},d);const p=d.signingRegion;const v=d.signingName;i.signingRegion=i.signingRegion||p;i.signingName=i.signingName||v||i.serviceId;const ee={...i,credentials:i.credentials,region:i.signingRegion,service:i.signingName,sha256:ne,uriEscapePath:K};const re=i.signerConstructor||te.SignatureV4;return new re(ee)}}const se=Object.assign(i,{systemClockOffset:re,signingEscapePath:K,signer:ie});return se};const ge=resolveAwsSdkSigV4Config;function normalizeCredentialProvider(i,{credentials:d,credentialDefaultProvider:p}){let v;if(d){if(!d?.memoized){v=V.memoizeIdentityProvider(d,V.isIdentityExpired,V.doesIdentityRequireRefresh)}else{v=d}}else{if(p){v=V.normalizeProvider(p(Object.assign({},i,{parentClientConfig:i})))}else{v=async()=>{throw new Error("@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured.")}}}v.memoized=true;return v}function bindCallerConfig(i,d){if(d.configBound){return d}const fn=async p=>d({...p,callerClientConfig:i});fn.memoized=d.memoized;fn.configBound=true;return fn}class ProtocolLib{queryCompat;constructor(i=false){this.queryCompat=i}resolveRestContentType(i,d){const p=d.getMemberSchemas();const v=Object.values(p).find((i=>!!i.getMergedTraits().httpPayload));if(v){const d=v.getMergedTraits().mediaType;if(d){return d}else if(v.isStringSchema()){return"text/plain"}else if(v.isBlobSchema()){return"application/octet-stream"}else{return i}}else if(!d.isUnitSchema()){const d=Object.values(p).find((i=>{const{httpQuery:d,httpQueryParams:p,httpHeader:v,httpLabel:V,httpPrefixHeaders:K}=i.getMergedTraits();const ee=K===void 0;return!d&&!p&&!v&&!V&&ee}));if(d){return i}}}async getErrorSchemaOrThrowBaseException(i,d,p,v,V,K){let ee=d;let te=i;if(i.includes("#")){[ee,te]=i.split("#")}const re={$metadata:V,$fault:p.statusCode<500?"client":"server"};const ie=ne.TypeRegistry.for(ee);try{const d=K?.(ie,te)??ie.getSchema(i);return{errorSchema:d,errorMetadata:re}}catch(i){v.message=v.message??v.Message??"UnknownError";const d=ne.TypeRegistry.for("smithy.ts.sdk.synthetic."+ee);const p=d.getBaseException();if(p){const i=d.getErrorCtor(p)??Error;throw this.decorateServiceException(Object.assign(new i({name:te}),re),v)}throw this.decorateServiceException(Object.assign(new Error(te),re),v)}}decorateServiceException(i,d={}){if(this.queryCompat){const p=i.Message??d.Message;const v=ie.decorateServiceException(i,d);if(p){v.message=p}v.Error={...v.Error,Type:v.Error.Type,Code:v.Error.Code,Message:v.Error.message??v.Error.Message??p};const V=v.$metadata.requestId;if(V){v.RequestId=V}return v}return ie.decorateServiceException(i,d)}setQueryCompatError(i,d){const p=d.headers?.["x-amzn-query-error"];if(i!==undefined&&p!=null){const[d,v]=p.split(";");const V=Object.entries(i);const K={Code:d,Type:v};Object.assign(i,K);for(const[i,d]of V){K[i==="message"?"Message":i]=d}delete K.__type;i.Error=K}}queryCompatOutput(i,d){if(i.Error){d.Error=i.Error}if(i.Type){d.Type=i.Type}if(i.Code){d.Code=i.Code}}findQueryCompatibleError(i,d){try{return i.getSchema(d)}catch(p){return i.find((i=>ne.NormalizedSchema.of(i).getMergedTraits().awsQueryError?.[0]===d))}}}class AwsSmithyRpcV2CborProtocol extends re.SmithyRpcV2CborProtocol{awsQueryCompatible;mixin;constructor({defaultNamespace:i,awsQueryCompatible:d}){super({defaultNamespace:i});this.awsQueryCompatible=!!d;this.mixin=new ProtocolLib(this.awsQueryCompatible)}async serializeRequest(i,d,p){const v=await super.serializeRequest(i,d,p);if(this.awsQueryCompatible){v.headers["x-amzn-query-mode"]="true"}return v}async handleError(i,d,p,v,V){if(this.awsQueryCompatible){this.mixin.setQueryCompatError(v,p)}const K=(()=>{const i=p.headers["x-amzn-query-error"];if(i&&this.awsQueryCompatible){return i.split(";")[0]}return re.loadSmithyRpcV2CborErrorCode(p,v)??"Unknown"})();const{errorSchema:ee,errorMetadata:te}=await this.mixin.getErrorSchemaOrThrowBaseException(K,this.options.defaultNamespace,p,v,V,this.awsQueryCompatible?this.mixin.findQueryCompatibleError:undefined);const ie=ne.NormalizedSchema.of(ee);const se=v.message??v.Message??"Unknown";const oe=ne.TypeRegistry.for(ee[1]).getErrorCtor(ee)??Error;const ae=new oe(se);const ce={};for(const[i,d]of ie.structIterator()){if(v[i]!=null){ce[i]=this.deserializer.readValue(d,v[i])}}if(this.awsQueryCompatible){this.mixin.queryCompatOutput(v,ce)}throw this.mixin.decorateServiceException(Object.assign(ae,te,{$fault:ie.getMergedTraits().error,message:se},ce),v)}}const _toStr=i=>{if(i==null){return i}if(typeof i==="number"||typeof i==="bigint"){const d=new Error(`Received number ${i} where a string was expected.`);d.name="Warning";console.warn(d);return String(i)}if(typeof i==="boolean"){const d=new Error(`Received boolean ${i} where a string was expected.`);d.name="Warning";console.warn(d);return String(i)}return i};const _toBool=i=>{if(i==null){return i}if(typeof i==="string"){const d=i.toLowerCase();if(i!==""&&d!=="false"&&d!=="true"){const d=new Error(`Received string "${i}" where a boolean was expected.`);d.name="Warning";console.warn(d)}return i!==""&&d!=="false"}return i};const _toNum=i=>{if(i==null){return i}if(typeof i==="string"){const d=Number(i);if(d.toString()!==i){const d=new Error(`Received string "${i}" where a number was expected.`);d.name="Warning";console.warn(d);return i}return d}return i};class SerdeContextConfig{serdeContext;setSerdeContext(i){this.serdeContext=i}}class UnionSerde{from;to;keys;constructor(i,d){this.from=i;this.to=d;this.keys=new Set(Object.keys(this.from).filter((i=>i!=="__type")))}mark(i){this.keys.delete(i)}hasUnknown(){return this.keys.size===1&&Object.keys(this.to).length===0}writeUnknown(){if(this.hasUnknown()){const i=this.keys.values().next().value;const d=this.from[i];this.to.$unknown=[i,d]}}}function jsonReviver(i,d,p){if(p?.source){const i=p.source;if(typeof d==="number"){if(d>Number.MAX_SAFE_INTEGER||die.collectBody(i,d).then((i=>(d?.utf8Encoder??ce.toUtf8)(i)));const parseJsonBody=(i,d)=>collectBodyString(i,d).then((i=>{if(i.length){try{return JSON.parse(i)}catch(d){if(d?.name==="SyntaxError"){Object.defineProperty(d,"$responseBodyText",{value:i})}throw d}}return{}}));const parseJsonErrorBody=async(i,d)=>{const p=await parseJsonBody(i,d);p.message=p.message??p.Message;return p};const loadRestJsonErrorCode=(i,d)=>{const findKey=(i,d)=>Object.keys(i).find((i=>i.toLowerCase()===d.toLowerCase()));const sanitizeErrorCode=i=>{let d=i;if(typeof d==="number"){d=d.toString()}if(d.indexOf(",")>=0){d=d.split(",")[0]}if(d.indexOf(":")>=0){d=d.split(":")[0]}if(d.indexOf("#")>=0){d=d.split("#")[1]}return d};const p=findKey(i.headers,"x-amzn-errortype");if(p!==undefined){return sanitizeErrorCode(i.headers[p])}if(d&&typeof d==="object"){const i=findKey(d,"code");if(i&&d[i]!==undefined){return sanitizeErrorCode(d[i])}if(d["__type"]!==undefined){return sanitizeErrorCode(d["__type"])}}};class JsonShapeDeserializer extends SerdeContextConfig{settings;constructor(i){super();this.settings=i}async read(i,d){return this._read(i,typeof d==="string"?JSON.parse(d,jsonReviver):await parseJsonBody(d,this.serdeContext))}readObject(i,d){return this._read(i,d)}_read(i,d){const p=d!==null&&typeof d==="object";const v=ne.NormalizedSchema.of(i);if(p){if(v.isStructSchema()){const i=d;const p=v.isUnionSchema();const V={};let K=void 0;const{jsonName:ee}=this.settings;if(ee){K={}}let te;if(p){te=new UnionSerde(i,V)}for(const[d,re]of v.structIterator()){let v=d;if(ee){v=re.getMergedTraits().jsonName??v;K[v]=d}if(p){te.mark(v)}if(i[v]!=null){V[d]=this._read(re,i[v])}}if(p){te.writeUnknown()}else if(typeof i.__type==="string"){for(const[d,p]of Object.entries(i)){const i=ee?K[d]??d:d;if(!(i in V)){V[i]=p}}}return V}if(Array.isArray(d)&&v.isListSchema()){const i=v.getValueSchema();const p=[];const V=!!v.getMergedTraits().sparse;for(const v of d){if(V||v!=null){p.push(this._read(i,v))}}return p}if(v.isMapSchema()){const i=v.getValueSchema();const p={};const V=!!v.getMergedTraits().sparse;for(const[v,K]of Object.entries(d)){if(V||K!=null){p[v]=this._read(i,K)}}return p}}if(v.isBlobSchema()&&typeof d==="string"){return ae.fromBase64(d)}const V=v.getMergedTraits().mediaType;if(v.isStringSchema()&&typeof d==="string"&&V){const i=V==="application/json"||V.endsWith("+json");if(i){return oe.LazyJsonString.from(d)}return d}if(v.isTimestampSchema()&&d!=null){const i=se.determineTimestampFormat(v,this.settings);switch(i){case 5:return oe.parseRfc3339DateTimeWithOffset(d);case 6:return oe.parseRfc7231DateTime(d);case 7:return oe.parseEpochTimestamp(d);default:console.warn("Missing timestamp format, parsing value with Date constructor:",d);return new Date(d)}}if(v.isBigIntegerSchema()&&(typeof d==="number"||typeof d==="string")){return BigInt(d)}if(v.isBigDecimalSchema()&&d!=undefined){if(d instanceof oe.NumericValue){return d}const i=d;if(i.type==="bigDecimal"&&"string"in i){return new oe.NumericValue(i.string,i.type)}return new oe.NumericValue(String(d),"bigDecimal")}if(v.isNumericSchema()&&typeof d==="string"){switch(d){case"Infinity":return Infinity;case"-Infinity":return-Infinity;case"NaN":return NaN}return d}if(v.isDocumentSchema()){if(p){const i=Array.isArray(d)?[]:{};for(const[p,V]of Object.entries(d)){if(V instanceof oe.NumericValue){i[p]=V}else{i[p]=this._read(v,V)}}return i}else{return structuredClone(d)}}return d}}const me=String.fromCharCode(925);class JsonReplacer{values=new Map;counter=0;stage=0;createReplacer(){if(this.stage===1){throw new Error("@aws-sdk/core/protocols - JsonReplacer already created.")}if(this.stage===2){throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted.")}this.stage=1;return(i,d)=>{if(d instanceof oe.NumericValue){const i=`${me+"nv"+this.counter++}_`+d.string;this.values.set(`"${i}"`,d.string);return i}if(typeof d==="bigint"){const i=d.toString();const p=`${me+"b"+this.counter++}_`+i;this.values.set(`"${p}"`,i);return p}return d}}replaceInJson(i){if(this.stage===0){throw new Error("@aws-sdk/core/protocols - JsonReplacer not created yet.")}if(this.stage===2){throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted.")}this.stage=2;if(this.counter===0){return i}for(const[d,p]of this.values){i=i.replace(d,p)}return i}}class JsonShapeSerializer extends SerdeContextConfig{settings;buffer;useReplacer=false;rootSchema;constructor(i){super();this.settings=i}write(i,d){this.rootSchema=ne.NormalizedSchema.of(i);this.buffer=this._write(this.rootSchema,d)}writeDiscriminatedDocument(i,d){this.write(i,d);if(typeof this.buffer==="object"){this.buffer.__type=ne.NormalizedSchema.of(i).getName(true)}}flush(){const{rootSchema:i,useReplacer:d}=this;this.rootSchema=undefined;this.useReplacer=false;if(i?.isStructSchema()||i?.isDocumentSchema()){if(!d){return JSON.stringify(this.buffer)}const i=new JsonReplacer;return i.replaceInJson(JSON.stringify(this.buffer,i.createReplacer(),0))}return this.buffer}_write(i,d,p){const v=d!==null&&typeof d==="object";const V=ne.NormalizedSchema.of(i);if(v){if(V.isStructSchema()){const i=d;const p={};const{jsonName:v}=this.settings;let K=void 0;if(v){K={}}for(const[d,ee]of V.structIterator()){const te=this._write(ee,i[d],V);if(te!==undefined){let i=d;if(v){i=ee.getMergedTraits().jsonName??d;K[d]=i}p[i]=te}}if(V.isUnionSchema()&&Object.keys(p).length===0){const{$unknown:d}=i;if(Array.isArray(d)){const[i,v]=d;p[i]=this._write(15,v)}}else if(typeof i.__type==="string"){for(const[d,V]of Object.entries(i)){const i=v?K[d]??d:d;if(!(i in p)){p[i]=this._write(15,V)}}}return p}if(Array.isArray(d)&&V.isListSchema()){const i=V.getValueSchema();const p=[];const v=!!V.getMergedTraits().sparse;for(const V of d){if(v||V!=null){p.push(this._write(i,V))}}return p}if(V.isMapSchema()){const i=V.getValueSchema();const p={};const v=!!V.getMergedTraits().sparse;for(const[V,K]of Object.entries(d)){if(v||K!=null){p[V]=this._write(i,K)}}return p}if(d instanceof Uint8Array&&(V.isBlobSchema()||V.isDocumentSchema())){if(V===this.rootSchema){return d}return(this.serdeContext?.base64Encoder??ae.toBase64)(d)}if(d instanceof Date&&(V.isTimestampSchema()||V.isDocumentSchema())){const i=se.determineTimestampFormat(V,this.settings);switch(i){case 5:return d.toISOString().replace(".000Z","Z");case 6:return oe.dateToUtcString(d);case 7:return d.getTime()/1e3;default:console.warn("Missing timestamp format, using epoch seconds",d);return d.getTime()/1e3}}if(d instanceof oe.NumericValue){this.useReplacer=true}}if(d===null&&p?.isStructSchema()){return void 0}if(V.isStringSchema()){if(typeof d==="undefined"&&V.isIdempotencyToken()){return oe.generateIdempotencyToken()}const i=V.getMergedTraits().mediaType;if(d!=null&&i){const p=i==="application/json"||i.endsWith("+json");if(p){return oe.LazyJsonString.from(d)}}return d}if(typeof d==="number"&&V.isNumericSchema()){if(Math.abs(d)===Infinity||isNaN(d)){return String(d)}return d}if(typeof d==="string"&&V.isBlobSchema()){if(V===this.rootSchema){return d}return(this.serdeContext?.base64Encoder??ae.toBase64)(d)}if(typeof d==="bigint"){this.useReplacer=true}if(V.isDocumentSchema()){if(v){const i=Array.isArray(d)?[]:{};for(const[p,v]of Object.entries(d)){if(v instanceof oe.NumericValue){this.useReplacer=true;i[p]=v}else{i[p]=this._write(V,v)}}return i}else{return structuredClone(d)}}return d}}class JsonCodec extends SerdeContextConfig{settings;constructor(i){super();this.settings=i}createSerializer(){const i=new JsonShapeSerializer(this.settings);i.setSerdeContext(this.serdeContext);return i}createDeserializer(){const i=new JsonShapeDeserializer(this.settings);i.setSerdeContext(this.serdeContext);return i}}class AwsJsonRpcProtocol extends se.RpcProtocol{serializer;deserializer;serviceTarget;codec;mixin;awsQueryCompatible;constructor({defaultNamespace:i,serviceTarget:d,awsQueryCompatible:p,jsonCodec:v}){super({defaultNamespace:i});this.serviceTarget=d;this.codec=v??new JsonCodec({timestampFormat:{useTrait:true,default:7},jsonName:false});this.serializer=this.codec.createSerializer();this.deserializer=this.codec.createDeserializer();this.awsQueryCompatible=!!p;this.mixin=new ProtocolLib(this.awsQueryCompatible)}async serializeRequest(i,d,p){const v=await super.serializeRequest(i,d,p);if(!v.path.endsWith("/")){v.path+="/"}Object.assign(v.headers,{"content-type":`application/x-amz-json-${this.getJsonRpcVersion()}`,"x-amz-target":`${this.serviceTarget}.${i.name}`});if(this.awsQueryCompatible){v.headers["x-amzn-query-mode"]="true"}if(ne.deref(i.input)==="unit"||!v.body){v.body="{}"}return v}getPayloadCodec(){return this.codec}async handleError(i,d,p,v,V){if(this.awsQueryCompatible){this.mixin.setQueryCompatError(v,p)}const K=loadRestJsonErrorCode(p,v)??"Unknown";const{errorSchema:ee,errorMetadata:te}=await this.mixin.getErrorSchemaOrThrowBaseException(K,this.options.defaultNamespace,p,v,V,this.awsQueryCompatible?this.mixin.findQueryCompatibleError:undefined);const re=ne.NormalizedSchema.of(ee);const ie=v.message??v.Message??"Unknown";const se=ne.TypeRegistry.for(ee[1]).getErrorCtor(ee)??Error;const oe=new se(ie);const ae={};for(const[i,d]of re.structIterator()){if(v[i]!=null){ae[i]=this.codec.createDeserializer().readObject(d,v[i])}}if(this.awsQueryCompatible){this.mixin.queryCompatOutput(v,ae)}throw this.mixin.decorateServiceException(Object.assign(oe,te,{$fault:re.getMergedTraits().error,message:ie},ae),v)}}class AwsJson1_0Protocol extends AwsJsonRpcProtocol{constructor({defaultNamespace:i,serviceTarget:d,awsQueryCompatible:p,jsonCodec:v}){super({defaultNamespace:i,serviceTarget:d,awsQueryCompatible:p,jsonCodec:v})}getShapeId(){return"aws.protocols#awsJson1_0"}getJsonRpcVersion(){return"1.0"}getDefaultContentType(){return"application/x-amz-json-1.0"}}class AwsJson1_1Protocol extends AwsJsonRpcProtocol{constructor({defaultNamespace:i,serviceTarget:d,awsQueryCompatible:p,jsonCodec:v}){super({defaultNamespace:i,serviceTarget:d,awsQueryCompatible:p,jsonCodec:v})}getShapeId(){return"aws.protocols#awsJson1_1"}getJsonRpcVersion(){return"1.1"}getDefaultContentType(){return"application/x-amz-json-1.1"}}class AwsRestJsonProtocol extends se.HttpBindingProtocol{serializer;deserializer;codec;mixin=new ProtocolLib;constructor({defaultNamespace:i}){super({defaultNamespace:i});const d={timestampFormat:{useTrait:true,default:7},httpBindings:true,jsonName:true};this.codec=new JsonCodec(d);this.serializer=new se.HttpInterceptingShapeSerializer(this.codec.createSerializer(),d);this.deserializer=new se.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(),d)}getShapeId(){return"aws.protocols#restJson1"}getPayloadCodec(){return this.codec}setSerdeContext(i){this.codec.setSerdeContext(i);super.setSerdeContext(i)}async serializeRequest(i,d,p){const v=await super.serializeRequest(i,d,p);const V=ne.NormalizedSchema.of(i.input);if(!v.headers["content-type"]){const i=this.mixin.resolveRestContentType(this.getDefaultContentType(),V);if(i){v.headers["content-type"]=i}}if(v.body==null&&v.headers["content-type"]===this.getDefaultContentType()){v.body="{}"}return v}async deserializeResponse(i,d,p){const v=await super.deserializeResponse(i,d,p);const V=ne.NormalizedSchema.of(i.output);for(const[i,d]of V.structIterator()){if(d.getMemberTraits().httpPayload&&!(i in v)){v[i]=null}}return v}async handleError(i,d,p,v,V){const K=loadRestJsonErrorCode(p,v)??"Unknown";const{errorSchema:ee,errorMetadata:te}=await this.mixin.getErrorSchemaOrThrowBaseException(K,this.options.defaultNamespace,p,v,V);const re=ne.NormalizedSchema.of(ee);const ie=v.message??v.Message??"Unknown";const se=ne.TypeRegistry.for(ee[1]).getErrorCtor(ee)??Error;const oe=new se(ie);await this.deserializeHttpMessage(ee,d,p,v);const ae={};for(const[i,d]of re.structIterator()){const p=d.getMergedTraits().jsonName??i;ae[i]=this.codec.createDeserializer().readObject(d,v[p])}throw this.mixin.decorateServiceException(Object.assign(oe,te,{$fault:re.getMergedTraits().error,message:ie},ae),v)}getDefaultContentType(){return"application/json"}}const awsExpectUnion=i=>{if(i==null){return undefined}if(typeof i==="object"&&"__type"in i){delete i.__type}return ie.expectUnion(i)};class XmlShapeDeserializer extends SerdeContextConfig{settings;stringDeserializer;constructor(i){super();this.settings=i;this.stringDeserializer=new se.FromStringShapeDeserializer(i)}setSerdeContext(i){this.serdeContext=i;this.stringDeserializer.setSerdeContext(i)}read(i,d,p){const v=ne.NormalizedSchema.of(i);const V=v.getMemberSchemas();const K=v.isStructSchema()&&v.isMemberSchema()&&!!Object.values(V).find((i=>!!i.getMemberTraits().eventPayload));if(K){const i={};const p=Object.keys(V)[0];const v=V[p];if(v.isBlobSchema()){i[p]=d}else{i[p]=this.read(V[p],d)}return i}const ee=(this.serdeContext?.utf8Encoder??ce.toUtf8)(d);const te=this.parseXml(ee);return this.readSchema(i,p?te[p]:te)}readSchema(i,d){const p=ne.NormalizedSchema.of(i);if(p.isUnitSchema()){return}const v=p.getMergedTraits();if(p.isListSchema()&&!Array.isArray(d)){return this.readSchema(p,[d])}if(d==null){return d}if(typeof d==="object"){const i=!!v.sparse;const V=!!v.xmlFlattened;if(p.isListSchema()){const v=p.getValueSchema();const K=[];const ee=v.getMergedTraits().xmlName??"member";const te=V?d:(d[0]??d)[ee];const re=Array.isArray(te)?te:[te];for(const d of re){if(d!=null||i){K.push(this.readSchema(v,d))}}return K}const K={};if(p.isMapSchema()){const v=p.getKeySchema();const ee=p.getValueSchema();let te;if(V){te=Array.isArray(d)?d:[d]}else{te=Array.isArray(d.entry)?d.entry:[d.entry]}const re=v.getMergedTraits().xmlName??"key";const ne=ee.getMergedTraits().xmlName??"value";for(const d of te){const p=d[re];const v=d[ne];if(v!=null||i){K[p]=this.readSchema(ee,v)}}return K}if(p.isStructSchema()){const i=p.isUnionSchema();let v;if(i){v=new UnionSerde(d,K)}for(const[V,ee]of p.structIterator()){const p=ee.getMergedTraits();const te=!p.httpPayload?ee.getMemberTraits().xmlName??V:p.xmlName??ee.getName();if(i){v.mark(te)}if(d[te]!=null){K[V]=this.readSchema(ee,d[te])}}if(i){v.writeUnknown()}return K}if(p.isDocumentSchema()){return d}throw new Error(`@aws-sdk/core/protocols - xml deserializer unhandled schema type for ${p.getName(true)}`)}if(p.isListSchema()){return[]}if(p.isMapSchema()||p.isStructSchema()){return{}}return this.stringDeserializer.read(p,d)}parseXml(i){if(i.length){let d;try{d=le.parseXML(i)}catch(d){if(d&&typeof d==="object"){Object.defineProperty(d,"$responseBodyText",{value:i})}throw d}const p="#text";const v=Object.keys(d)[0];const V=d[v];if(V[p]){V[v]=V[p];delete V[p]}return ie.getValueFromTextNode(V)}return{}}}class QueryShapeSerializer extends SerdeContextConfig{settings;buffer;constructor(i){super();this.settings=i}write(i,d,p=""){if(this.buffer===undefined){this.buffer=""}const v=ne.NormalizedSchema.of(i);if(p&&!p.endsWith(".")){p+="."}if(v.isBlobSchema()){if(typeof d==="string"||d instanceof Uint8Array){this.writeKey(p);this.writeValue((this.serdeContext?.base64Encoder??ae.toBase64)(d))}}else if(v.isBooleanSchema()||v.isNumericSchema()||v.isStringSchema()){if(d!=null){this.writeKey(p);this.writeValue(String(d))}else if(v.isIdempotencyToken()){this.writeKey(p);this.writeValue(oe.generateIdempotencyToken())}}else if(v.isBigIntegerSchema()){if(d!=null){this.writeKey(p);this.writeValue(String(d))}}else if(v.isBigDecimalSchema()){if(d!=null){this.writeKey(p);this.writeValue(d instanceof oe.NumericValue?d.string:String(d))}}else if(v.isTimestampSchema()){if(d instanceof Date){this.writeKey(p);const i=se.determineTimestampFormat(v,this.settings);switch(i){case 5:this.writeValue(d.toISOString().replace(".000Z","Z"));break;case 6:this.writeValue(ie.dateToUtcString(d));break;case 7:this.writeValue(String(d.getTime()/1e3));break}}}else if(v.isDocumentSchema()){if(Array.isArray(d)){this.write(64|15,d,p)}else if(d instanceof Date){this.write(4,d,p)}else if(d instanceof Uint8Array){this.write(21,d,p)}else if(d&&typeof d==="object"){this.write(128|15,d,p)}else{this.writeKey(p);this.writeValue(String(d))}}else if(v.isListSchema()){if(Array.isArray(d)){if(d.length===0){if(this.settings.serializeEmptyLists){this.writeKey(p);this.writeValue("")}}else{const i=v.getValueSchema();const V=this.settings.flattenLists||v.getMergedTraits().xmlFlattened;let K=1;for(const v of d){if(v==null){continue}const d=this.getKey("member",i.getMergedTraits().xmlName);const ee=V?`${p}${K}`:`${p}${d}.${K}`;this.write(i,v,ee);++K}}}}else if(v.isMapSchema()){if(d&&typeof d==="object"){const i=v.getKeySchema();const V=v.getValueSchema();const K=v.getMergedTraits().xmlFlattened;let ee=1;for(const[v,te]of Object.entries(d)){if(te==null){continue}const d=this.getKey("key",i.getMergedTraits().xmlName);const re=K?`${p}${ee}.${d}`:`${p}entry.${ee}.${d}`;const ne=this.getKey("value",V.getMergedTraits().xmlName);const ie=K?`${p}${ee}.${ne}`:`${p}entry.${ee}.${ne}`;this.write(i,v,re);this.write(V,te,ie);++ee}}}else if(v.isStructSchema()){if(d&&typeof d==="object"){let i=false;for(const[V,K]of v.structIterator()){if(d[V]==null&&!K.isIdempotencyToken()){continue}const v=this.getKey(V,K.getMergedTraits().xmlName);const ee=`${p}${v}`;this.write(K,d[V],ee);i=true}if(!i&&v.isUnionSchema()){const{$unknown:i}=d;if(Array.isArray(i)){const[d,v]=i;const V=`${p}${d}`;this.write(15,v,V)}}}}else if(v.isUnitSchema());else{throw new Error(`@aws-sdk/core/protocols - QuerySerializer unrecognized schema type ${v.getName(true)}`)}}flush(){if(this.buffer===undefined){throw new Error("@aws-sdk/core/protocols - QuerySerializer cannot flush with nothing written to buffer.")}const i=this.buffer;delete this.buffer;return i}getKey(i,d){const p=d??i;if(this.settings.capitalizeKeys){return p[0].toUpperCase()+p.slice(1)}return p}writeKey(i){if(i.endsWith(".")){i=i.slice(0,i.length-1)}this.buffer+=`&${se.extendedEncodeURIComponent(i)}=`}writeValue(i){this.buffer+=se.extendedEncodeURIComponent(i)}}class AwsQueryProtocol extends se.RpcProtocol{options;serializer;deserializer;mixin=new ProtocolLib;constructor(i){super({defaultNamespace:i.defaultNamespace});this.options=i;const d={timestampFormat:{useTrait:true,default:5},httpBindings:false,xmlNamespace:i.xmlNamespace,serviceNamespace:i.defaultNamespace,serializeEmptyLists:true};this.serializer=new QueryShapeSerializer(d);this.deserializer=new XmlShapeDeserializer(d)}getShapeId(){return"aws.protocols#awsQuery"}setSerdeContext(i){this.serializer.setSerdeContext(i);this.deserializer.setSerdeContext(i)}getPayloadCodec(){throw new Error("AWSQuery protocol has no payload codec.")}async serializeRequest(i,d,p){const v=await super.serializeRequest(i,d,p);if(!v.path.endsWith("/")){v.path+="/"}Object.assign(v.headers,{"content-type":`application/x-www-form-urlencoded`});if(ne.deref(i.input)==="unit"||!v.body){v.body=""}const V=i.name.split("#")[1]??i.name;v.body=`Action=${V}&Version=${this.options.version}`+v.body;if(v.body.endsWith("&")){v.body=v.body.slice(-1)}return v}async deserializeResponse(i,d,p){const v=this.deserializer;const V=ne.NormalizedSchema.of(i.output);const K={};if(p.statusCode>=300){const V=await se.collectBody(p.body,d);if(V.byteLength>0){Object.assign(K,await v.read(15,V))}await this.handleError(i,d,p,K,this.deserializeMetadata(p))}for(const i in p.headers){const d=p.headers[i];delete p.headers[i];p.headers[i.toLowerCase()]=d}const ee=i.name.split("#")[1]??i.name;const te=V.isStructSchema()&&this.useNestedResult()?ee+"Result":undefined;const re=await se.collectBody(p.body,d);if(re.byteLength>0){Object.assign(K,await v.read(V,re,te))}const ie={$metadata:this.deserializeMetadata(p),...K};return ie}useNestedResult(){return true}async handleError(i,d,p,v,V){const K=this.loadQueryErrorCode(p,v)??"Unknown";const ee=this.loadQueryError(v);const te=this.loadQueryErrorMessage(v);ee.message=te;ee.Error={Type:ee.Type,Code:ee.Code,Message:te};const{errorSchema:re,errorMetadata:ie}=await this.mixin.getErrorSchemaOrThrowBaseException(K,this.options.defaultNamespace,p,ee,V,this.mixin.findQueryCompatibleError);const se=ne.NormalizedSchema.of(re);const oe=ne.TypeRegistry.for(re[1]).getErrorCtor(re)??Error;const ae=new oe(te);const ce={Type:ee.Error.Type,Code:ee.Error.Code,Error:ee.Error};for(const[i,d]of se.structIterator()){const p=d.getMergedTraits().xmlName??i;const V=ee[p]??v[p];ce[i]=this.deserializer.readSchema(d,V)}throw this.mixin.decorateServiceException(Object.assign(ae,ie,{$fault:se.getMergedTraits().error,message:te},ce),v)}loadQueryErrorCode(i,d){const p=(d.Errors?.[0]?.Error??d.Errors?.Error??d.Error)?.Code;if(p!==undefined){return p}if(i.statusCode==404){return"NotFound"}}loadQueryError(i){return i.Errors?.[0]?.Error??i.Errors?.Error??i.Error}loadQueryErrorMessage(i){const d=this.loadQueryError(i);return d?.message??d?.Message??i.message??i.Message??"Unknown"}getDefaultContentType(){return"application/x-www-form-urlencoded"}}class AwsEc2QueryProtocol extends AwsQueryProtocol{options;constructor(i){super(i);this.options=i;const d={capitalizeKeys:true,flattenLists:true,serializeEmptyLists:false};Object.assign(this.serializer.settings,d)}useNestedResult(){return false}}const parseXmlBody=(i,d)=>collectBodyString(i,d).then((i=>{if(i.length){let d;try{d=le.parseXML(i)}catch(d){if(d&&typeof d==="object"){Object.defineProperty(d,"$responseBodyText",{value:i})}throw d}const p="#text";const v=Object.keys(d)[0];const V=d[v];if(V[p]){V[v]=V[p];delete V[p]}return ie.getValueFromTextNode(V)}return{}}));const parseXmlErrorBody=async(i,d)=>{const p=await parseXmlBody(i,d);if(p.Error){p.Error.message=p.Error.message??p.Error.Message}return p};const loadRestXmlErrorCode=(i,d)=>{if(d?.Error?.Code!==undefined){return d.Error.Code}if(d?.Code!==undefined){return d.Code}if(i.statusCode==404){return"NotFound"}};class XmlShapeSerializer extends SerdeContextConfig{settings;stringBuffer;byteBuffer;buffer;constructor(i){super();this.settings=i}write(i,d){const p=ne.NormalizedSchema.of(i);if(p.isStringSchema()&&typeof d==="string"){this.stringBuffer=d}else if(p.isBlobSchema()){this.byteBuffer="byteLength"in d?d:(this.serdeContext?.base64Decoder??ae.fromBase64)(d)}else{this.buffer=this.writeStruct(p,d,undefined);const i=p.getMergedTraits();if(i.httpPayload&&!i.xmlName){this.buffer.withName(p.getName())}}}flush(){if(this.byteBuffer!==undefined){const i=this.byteBuffer;delete this.byteBuffer;return i}if(this.stringBuffer!==undefined){const i=this.stringBuffer;delete this.stringBuffer;return i}const i=this.buffer;if(this.settings.xmlNamespace){if(!i?.attributes?.["xmlns"]){i.addAttribute("xmlns",this.settings.xmlNamespace)}}delete this.buffer;return i.toString()}writeStruct(i,d,p){const v=i.getMergedTraits();const V=i.isMemberSchema()&&!v.httpPayload?i.getMemberTraits().xmlName??i.getMemberName():v.xmlName??i.getName();if(!V||!i.isStructSchema()){throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write struct with empty name or non-struct, schema=${i.getName(true)}.`)}const K=le.XmlNode.of(V);const[ee,te]=this.getXmlnsAttribute(i,p);for(const[p,v]of i.structIterator()){const i=d[p];if(i!=null||v.isIdempotencyToken()){if(v.getMergedTraits().xmlAttribute){K.addAttribute(v.getMergedTraits().xmlName??p,this.writeSimple(v,i));continue}if(v.isListSchema()){this.writeList(v,i,K,te)}else if(v.isMapSchema()){this.writeMap(v,i,K,te)}else if(v.isStructSchema()){K.addChildNode(this.writeStruct(v,i,te))}else{const d=le.XmlNode.of(v.getMergedTraits().xmlName??v.getMemberName());this.writeSimpleInto(v,i,d,te);K.addChildNode(d)}}}const{$unknown:re}=d;if(re&&i.isUnionSchema()&&Array.isArray(re)&&Object.keys(d).length===1){const[i,p]=re;const v=le.XmlNode.of(i);if(typeof p!=="string"){if(d instanceof le.XmlNode||d instanceof le.XmlText){K.addChildNode(d)}else{throw new Error(`@aws-sdk - $unknown union member in XML requires `+`value of type string, @aws-sdk/xml-builder::XmlNode or XmlText.`)}}this.writeSimpleInto(0,p,v,te);K.addChildNode(v)}if(te){K.addAttribute(ee,te)}return K}writeList(i,d,p,v){if(!i.isMemberSchema()){throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member list: ${i.getName(true)}`)}const V=i.getMergedTraits();const K=i.getValueSchema();const ee=K.getMergedTraits();const te=!!ee.sparse;const re=!!V.xmlFlattened;const[ne,ie]=this.getXmlnsAttribute(i,v);const writeItem=(d,p)=>{if(K.isListSchema()){this.writeList(K,Array.isArray(p)?p:[p],d,ie)}else if(K.isMapSchema()){this.writeMap(K,p,d,ie)}else if(K.isStructSchema()){const v=this.writeStruct(K,p,ie);d.addChildNode(v.withName(re?V.xmlName??i.getMemberName():ee.xmlName??"member"))}else{const v=le.XmlNode.of(re?V.xmlName??i.getMemberName():ee.xmlName??"member");this.writeSimpleInto(K,p,v,ie);d.addChildNode(v)}};if(re){for(const i of d){if(te||i!=null){writeItem(p,i)}}}else{const v=le.XmlNode.of(V.xmlName??i.getMemberName());if(ie){v.addAttribute(ne,ie)}for(const i of d){if(te||i!=null){writeItem(v,i)}}p.addChildNode(v)}}writeMap(i,d,p,v,V=false){if(!i.isMemberSchema()){throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member map: ${i.getName(true)}`)}const K=i.getMergedTraits();const ee=i.getKeySchema();const te=ee.getMergedTraits();const re=te.xmlName??"key";const ne=i.getValueSchema();const ie=ne.getMergedTraits();const se=ie.xmlName??"value";const oe=!!ie.sparse;const ae=!!K.xmlFlattened;const[ce,ue]=this.getXmlnsAttribute(i,v);const addKeyValue=(i,d,p)=>{const v=le.XmlNode.of(re,d);const[V,K]=this.getXmlnsAttribute(ee,ue);if(K){v.addAttribute(V,K)}i.addChildNode(v);let te=le.XmlNode.of(se);if(ne.isListSchema()){this.writeList(ne,p,te,ue)}else if(ne.isMapSchema()){this.writeMap(ne,p,te,ue,true)}else if(ne.isStructSchema()){te=this.writeStruct(ne,p,ue)}else{this.writeSimpleInto(ne,p,te,ue)}i.addChildNode(te)};if(ae){for(const[v,V]of Object.entries(d)){if(oe||V!=null){const d=le.XmlNode.of(K.xmlName??i.getMemberName());addKeyValue(d,v,V);p.addChildNode(d)}}}else{let v;if(!V){v=le.XmlNode.of(K.xmlName??i.getMemberName());if(ue){v.addAttribute(ce,ue)}p.addChildNode(v)}for(const[i,K]of Object.entries(d)){if(oe||K!=null){const d=le.XmlNode.of("entry");addKeyValue(d,i,K);(V?p:v).addChildNode(d)}}}}writeSimple(i,d){if(null===d){throw new Error("@aws-sdk/core/protocols - (XML serializer) cannot write null value.")}const p=ne.NormalizedSchema.of(i);let v=null;if(d&&typeof d==="object"){if(p.isBlobSchema()){v=(this.serdeContext?.base64Encoder??ae.toBase64)(d)}else if(p.isTimestampSchema()&&d instanceof Date){const i=se.determineTimestampFormat(p,this.settings);switch(i){case 5:v=d.toISOString().replace(".000Z","Z");break;case 6:v=ie.dateToUtcString(d);break;case 7:v=String(d.getTime()/1e3);break;default:console.warn("Missing timestamp format, using http date",d);v=ie.dateToUtcString(d);break}}else if(p.isBigDecimalSchema()&&d){if(d instanceof oe.NumericValue){return d.string}return String(d)}else if(p.isMapSchema()||p.isListSchema()){throw new Error("@aws-sdk/core/protocols - xml serializer, cannot call _write() on List/Map schema, call writeList or writeMap() instead.")}else{throw new Error(`@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${p.getName(true)}`)}}if(p.isBooleanSchema()||p.isNumericSchema()||p.isBigIntegerSchema()||p.isBigDecimalSchema()){v=String(d)}if(p.isStringSchema()){if(d===undefined&&p.isIdempotencyToken()){v=oe.generateIdempotencyToken()}else{v=String(d)}}if(v===null){throw new Error(`Unhandled schema-value pair ${p.getName(true)}=${d}`)}return v}writeSimpleInto(i,d,p,v){const V=this.writeSimple(i,d);const K=ne.NormalizedSchema.of(i);const ee=new le.XmlText(V);const[te,re]=this.getXmlnsAttribute(K,v);if(re){p.addAttribute(te,re)}p.addChildNode(ee)}getXmlnsAttribute(i,d){const p=i.getMergedTraits();const[v,V]=p.xmlNamespace??[];if(V&&V!==d){return[v?`xmlns:${v}`:"xmlns",V]}return[void 0,void 0]}}class XmlCodec extends SerdeContextConfig{settings;constructor(i){super();this.settings=i}createSerializer(){const i=new XmlShapeSerializer(this.settings);i.setSerdeContext(this.serdeContext);return i}createDeserializer(){const i=new XmlShapeDeserializer(this.settings);i.setSerdeContext(this.serdeContext);return i}}class AwsRestXmlProtocol extends se.HttpBindingProtocol{codec;serializer;deserializer;mixin=new ProtocolLib;constructor(i){super(i);const d={timestampFormat:{useTrait:true,default:5},httpBindings:true,xmlNamespace:i.xmlNamespace,serviceNamespace:i.defaultNamespace};this.codec=new XmlCodec(d);this.serializer=new se.HttpInterceptingShapeSerializer(this.codec.createSerializer(),d);this.deserializer=new se.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(),d)}getPayloadCodec(){return this.codec}getShapeId(){return"aws.protocols#restXml"}async serializeRequest(i,d,p){const v=await super.serializeRequest(i,d,p);const V=ne.NormalizedSchema.of(i.input);if(!v.headers["content-type"]){const i=this.mixin.resolveRestContentType(this.getDefaultContentType(),V);if(i){v.headers["content-type"]=i}}if(typeof v.body==="string"&&v.headers["content-type"]===this.getDefaultContentType()&&!v.body.startsWith("'+v.body}return v}async deserializeResponse(i,d,p){return super.deserializeResponse(i,d,p)}async handleError(i,d,p,v,V){const K=loadRestXmlErrorCode(p,v)??"Unknown";const{errorSchema:ee,errorMetadata:te}=await this.mixin.getErrorSchemaOrThrowBaseException(K,this.options.defaultNamespace,p,v,V);const re=ne.NormalizedSchema.of(ee);const ie=v.Error?.message??v.Error?.Message??v.message??v.Message??"Unknown";const se=ne.TypeRegistry.for(ee[1]).getErrorCtor(ee)??Error;const oe=new se(ie);await this.deserializeHttpMessage(ee,d,p,v);const ae={};for(const[i,d]of re.structIterator()){const p=d.getMergedTraits().xmlName??i;const V=v.Error?.[p]??v[p];ae[i]=this.codec.createDeserializer().readSchema(d,V)}throw this.mixin.decorateServiceException(Object.assign(oe,te,{$fault:re.getMergedTraits().error,message:ie},ae),v)}getDefaultContentType(){return"application/xml"}hasUnstructuredPayloadBinding(i){for(const[,d]of i.structIterator()){if(d.getMergedTraits().httpPayload){return!(d.isStructSchema()||d.isMapSchema()||d.isListSchema())}}return false}}d.AWSSDKSigV4Signer=Ae;d.AwsEc2QueryProtocol=AwsEc2QueryProtocol;d.AwsJson1_0Protocol=AwsJson1_0Protocol;d.AwsJson1_1Protocol=AwsJson1_1Protocol;d.AwsJsonRpcProtocol=AwsJsonRpcProtocol;d.AwsQueryProtocol=AwsQueryProtocol;d.AwsRestJsonProtocol=AwsRestJsonProtocol;d.AwsRestXmlProtocol=AwsRestXmlProtocol;d.AwsSdkSigV4ASigner=AwsSdkSigV4ASigner;d.AwsSdkSigV4Signer=AwsSdkSigV4Signer;d.AwsSmithyRpcV2CborProtocol=AwsSmithyRpcV2CborProtocol;d.JsonCodec=JsonCodec;d.JsonShapeDeserializer=JsonShapeDeserializer;d.JsonShapeSerializer=JsonShapeSerializer;d.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS=fe;d.NODE_SIGV4A_CONFIG_OPTIONS=he;d.XmlCodec=XmlCodec;d.XmlShapeDeserializer=XmlShapeDeserializer;d.XmlShapeSerializer=XmlShapeSerializer;d._toBool=_toBool;d._toNum=_toNum;d._toStr=_toStr;d.awsExpectUnion=awsExpectUnion;d.emitWarningIfUnsupportedVersion=emitWarningIfUnsupportedVersion;d.getBearerTokenEnvKey=getBearerTokenEnvKey;d.loadRestJsonErrorCode=loadRestJsonErrorCode;d.loadRestXmlErrorCode=loadRestXmlErrorCode;d.parseJsonBody=parseJsonBody;d.parseJsonErrorBody=parseJsonErrorBody;d.parseXmlBody=parseXmlBody;d.parseXmlErrorBody=parseXmlErrorBody;d.resolveAWSSDKSigV4Config=ge;d.resolveAwsSdkSigV4AConfig=resolveAwsSdkSigV4AConfig;d.resolveAwsSdkSigV4Config=resolveAwsSdkSigV4Config;d.setCredentialFeature=setCredentialFeature;d.setFeature=setFeature;d.setTokenFeature=setTokenFeature;d.state=ue;d.validateSigningProperties=validateSigningProperties},5152:(i,d)=>{const p={warningEmitted:false};const emitWarningIfUnsupportedVersion=i=>{if(i&&!p.warningEmitted&&parseInt(i.substring(1,i.indexOf(".")))<20){p.warningEmitted=true;process.emitWarning(`NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will\nno longer support Node.js ${i} in January 2026.\n\nTo continue receiving updates to AWS services, bug fixes, and security\nupdates please upgrade to a supported Node.js LTS version.\n\nMore information can be found at: https://a.co/c895JFp`)}};function setCredentialFeature(i,d,p){if(!i.$source){i.$source={}}i.$source[d]=p;return i}function setFeature(i,d,p){if(!i.__aws_sdk_context){i.__aws_sdk_context={features:{}}}else if(!i.__aws_sdk_context.features){i.__aws_sdk_context.features={}}i.__aws_sdk_context.features[d]=p}function setTokenFeature(i,d,p){if(!i.$source){i.$source={}}i.$source[d]=p;return i}d.emitWarningIfUnsupportedVersion=emitWarningIfUnsupportedVersion;d.setCredentialFeature=setCredentialFeature;d.setFeature=setFeature;d.setTokenFeature=setTokenFeature;d.state=p},37288:(i,d,p)=>{var v=p(64645);var V=p(26890);var K=p(61411);var ee=p(93422);var te=p(92430);var re=p(68385);var ne=p(71577);var ie=p(94274);class ProtocolLib{queryCompat;constructor(i=false){this.queryCompat=i}resolveRestContentType(i,d){const p=d.getMemberSchemas();const v=Object.values(p).find((i=>!!i.getMergedTraits().httpPayload));if(v){const d=v.getMergedTraits().mediaType;if(d){return d}else if(v.isStringSchema()){return"text/plain"}else if(v.isBlobSchema()){return"application/octet-stream"}else{return i}}else if(!d.isUnitSchema()){const d=Object.values(p).find((i=>{const{httpQuery:d,httpQueryParams:p,httpHeader:v,httpLabel:V,httpPrefixHeaders:K}=i.getMergedTraits();const ee=K===void 0;return!d&&!p&&!v&&!V&&ee}));if(d){return i}}}async getErrorSchemaOrThrowBaseException(i,d,p,v,K,ee){let te=d;let re=i;if(i.includes("#")){[te,re]=i.split("#")}const ne={$metadata:K,$fault:p.statusCode<500?"client":"server"};const ie=V.TypeRegistry.for(te);try{const d=ee?.(ie,re)??ie.getSchema(i);return{errorSchema:d,errorMetadata:ne}}catch(i){v.message=v.message??v.Message??"UnknownError";const d=V.TypeRegistry.for("smithy.ts.sdk.synthetic."+te);const p=d.getBaseException();if(p){const i=d.getErrorCtor(p)??Error;throw this.decorateServiceException(Object.assign(new i({name:re}),ne),v)}throw this.decorateServiceException(Object.assign(new Error(re),ne),v)}}decorateServiceException(i,d={}){if(this.queryCompat){const p=i.Message??d.Message;const v=K.decorateServiceException(i,d);if(p){v.message=p}v.Error={...v.Error,Type:v.Error.Type,Code:v.Error.Code,Message:v.Error.message??v.Error.Message??p};const V=v.$metadata.requestId;if(V){v.RequestId=V}return v}return K.decorateServiceException(i,d)}setQueryCompatError(i,d){const p=d.headers?.["x-amzn-query-error"];if(i!==undefined&&p!=null){const[d,v]=p.split(";");const V=Object.entries(i);const K={Code:d,Type:v};Object.assign(i,K);for(const[i,d]of V){K[i==="message"?"Message":i]=d}delete K.__type;i.Error=K}}queryCompatOutput(i,d){if(i.Error){d.Error=i.Error}if(i.Type){d.Type=i.Type}if(i.Code){d.Code=i.Code}}findQueryCompatibleError(i,d){try{return i.getSchema(d)}catch(p){return i.find((i=>V.NormalizedSchema.of(i).getMergedTraits().awsQueryError?.[0]===d))}}}class AwsSmithyRpcV2CborProtocol extends v.SmithyRpcV2CborProtocol{awsQueryCompatible;mixin;constructor({defaultNamespace:i,awsQueryCompatible:d}){super({defaultNamespace:i});this.awsQueryCompatible=!!d;this.mixin=new ProtocolLib(this.awsQueryCompatible)}async serializeRequest(i,d,p){const v=await super.serializeRequest(i,d,p);if(this.awsQueryCompatible){v.headers["x-amzn-query-mode"]="true"}return v}async handleError(i,d,p,K,ee){if(this.awsQueryCompatible){this.mixin.setQueryCompatError(K,p)}const te=(()=>{const i=p.headers["x-amzn-query-error"];if(i&&this.awsQueryCompatible){return i.split(";")[0]}return v.loadSmithyRpcV2CborErrorCode(p,K)??"Unknown"})();const{errorSchema:re,errorMetadata:ne}=await this.mixin.getErrorSchemaOrThrowBaseException(te,this.options.defaultNamespace,p,K,ee,this.awsQueryCompatible?this.mixin.findQueryCompatibleError:undefined);const ie=V.NormalizedSchema.of(re);const se=K.message??K.Message??"Unknown";const oe=V.TypeRegistry.for(re[1]).getErrorCtor(re)??Error;const ae=new oe(se);const ce={};for(const[i,d]of ie.structIterator()){if(K[i]!=null){ce[i]=this.deserializer.readValue(d,K[i])}}if(this.awsQueryCompatible){this.mixin.queryCompatOutput(K,ce)}throw this.mixin.decorateServiceException(Object.assign(ae,ne,{$fault:ie.getMergedTraits().error,message:se},ce),K)}}const _toStr=i=>{if(i==null){return i}if(typeof i==="number"||typeof i==="bigint"){const d=new Error(`Received number ${i} where a string was expected.`);d.name="Warning";console.warn(d);return String(i)}if(typeof i==="boolean"){const d=new Error(`Received boolean ${i} where a string was expected.`);d.name="Warning";console.warn(d);return String(i)}return i};const _toBool=i=>{if(i==null){return i}if(typeof i==="string"){const d=i.toLowerCase();if(i!==""&&d!=="false"&&d!=="true"){const d=new Error(`Received string "${i}" where a boolean was expected.`);d.name="Warning";console.warn(d)}return i!==""&&d!=="false"}return i};const _toNum=i=>{if(i==null){return i}if(typeof i==="string"){const d=Number(i);if(d.toString()!==i){const d=new Error(`Received string "${i}" where a number was expected.`);d.name="Warning";console.warn(d);return i}return d}return i};class SerdeContextConfig{serdeContext;setSerdeContext(i){this.serdeContext=i}}class UnionSerde{from;to;keys;constructor(i,d){this.from=i;this.to=d;this.keys=new Set(Object.keys(this.from).filter((i=>i!=="__type")))}mark(i){this.keys.delete(i)}hasUnknown(){return this.keys.size===1&&Object.keys(this.to).length===0}writeUnknown(){if(this.hasUnknown()){const i=this.keys.values().next().value;const d=this.from[i];this.to.$unknown=[i,d]}}}function jsonReviver(i,d,p){if(p?.source){const i=p.source;if(typeof d==="number"){if(d>Number.MAX_SAFE_INTEGER||dK.collectBody(i,d).then((i=>(d?.utf8Encoder??ne.toUtf8)(i)));const parseJsonBody=(i,d)=>collectBodyString(i,d).then((i=>{if(i.length){try{return JSON.parse(i)}catch(d){if(d?.name==="SyntaxError"){Object.defineProperty(d,"$responseBodyText",{value:i})}throw d}}return{}}));const parseJsonErrorBody=async(i,d)=>{const p=await parseJsonBody(i,d);p.message=p.message??p.Message;return p};const loadRestJsonErrorCode=(i,d)=>{const findKey=(i,d)=>Object.keys(i).find((i=>i.toLowerCase()===d.toLowerCase()));const sanitizeErrorCode=i=>{let d=i;if(typeof d==="number"){d=d.toString()}if(d.indexOf(",")>=0){d=d.split(",")[0]}if(d.indexOf(":")>=0){d=d.split(":")[0]}if(d.indexOf("#")>=0){d=d.split("#")[1]}return d};const p=findKey(i.headers,"x-amzn-errortype");if(p!==undefined){return sanitizeErrorCode(i.headers[p])}if(d&&typeof d==="object"){const i=findKey(d,"code");if(i&&d[i]!==undefined){return sanitizeErrorCode(d[i])}if(d["__type"]!==undefined){return sanitizeErrorCode(d["__type"])}}};class JsonShapeDeserializer extends SerdeContextConfig{settings;constructor(i){super();this.settings=i}async read(i,d){return this._read(i,typeof d==="string"?JSON.parse(d,jsonReviver):await parseJsonBody(d,this.serdeContext))}readObject(i,d){return this._read(i,d)}_read(i,d){const p=d!==null&&typeof d==="object";const v=V.NormalizedSchema.of(i);if(p){if(v.isStructSchema()){const i=d;const p=v.isUnionSchema();const V={};let K=void 0;const{jsonName:ee}=this.settings;if(ee){K={}}let te;if(p){te=new UnionSerde(i,V)}for(const[d,re]of v.structIterator()){let v=d;if(ee){v=re.getMergedTraits().jsonName??v;K[v]=d}if(p){te.mark(v)}if(i[v]!=null){V[d]=this._read(re,i[v])}}if(p){te.writeUnknown()}else if(typeof i.__type==="string"){for(const[d,p]of Object.entries(i)){const i=ee?K[d]??d:d;if(!(i in V)){V[i]=p}}}return V}if(Array.isArray(d)&&v.isListSchema()){const i=v.getValueSchema();const p=[];const V=!!v.getMergedTraits().sparse;for(const v of d){if(V||v!=null){p.push(this._read(i,v))}}return p}if(v.isMapSchema()){const i=v.getValueSchema();const p={};const V=!!v.getMergedTraits().sparse;for(const[v,K]of Object.entries(d)){if(V||K!=null){p[v]=this._read(i,K)}}return p}}if(v.isBlobSchema()&&typeof d==="string"){return re.fromBase64(d)}const K=v.getMergedTraits().mediaType;if(v.isStringSchema()&&typeof d==="string"&&K){const i=K==="application/json"||K.endsWith("+json");if(i){return te.LazyJsonString.from(d)}return d}if(v.isTimestampSchema()&&d!=null){const i=ee.determineTimestampFormat(v,this.settings);switch(i){case 5:return te.parseRfc3339DateTimeWithOffset(d);case 6:return te.parseRfc7231DateTime(d);case 7:return te.parseEpochTimestamp(d);default:console.warn("Missing timestamp format, parsing value with Date constructor:",d);return new Date(d)}}if(v.isBigIntegerSchema()&&(typeof d==="number"||typeof d==="string")){return BigInt(d)}if(v.isBigDecimalSchema()&&d!=undefined){if(d instanceof te.NumericValue){return d}const i=d;if(i.type==="bigDecimal"&&"string"in i){return new te.NumericValue(i.string,i.type)}return new te.NumericValue(String(d),"bigDecimal")}if(v.isNumericSchema()&&typeof d==="string"){switch(d){case"Infinity":return Infinity;case"-Infinity":return-Infinity;case"NaN":return NaN}return d}if(v.isDocumentSchema()){if(p){const i=Array.isArray(d)?[]:{};for(const[p,V]of Object.entries(d)){if(V instanceof te.NumericValue){i[p]=V}else{i[p]=this._read(v,V)}}return i}else{return structuredClone(d)}}return d}}const se=String.fromCharCode(925);class JsonReplacer{values=new Map;counter=0;stage=0;createReplacer(){if(this.stage===1){throw new Error("@aws-sdk/core/protocols - JsonReplacer already created.")}if(this.stage===2){throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted.")}this.stage=1;return(i,d)=>{if(d instanceof te.NumericValue){const i=`${se+"nv"+this.counter++}_`+d.string;this.values.set(`"${i}"`,d.string);return i}if(typeof d==="bigint"){const i=d.toString();const p=`${se+"b"+this.counter++}_`+i;this.values.set(`"${p}"`,i);return p}return d}}replaceInJson(i){if(this.stage===0){throw new Error("@aws-sdk/core/protocols - JsonReplacer not created yet.")}if(this.stage===2){throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted.")}this.stage=2;if(this.counter===0){return i}for(const[d,p]of this.values){i=i.replace(d,p)}return i}}class JsonShapeSerializer extends SerdeContextConfig{settings;buffer;useReplacer=false;rootSchema;constructor(i){super();this.settings=i}write(i,d){this.rootSchema=V.NormalizedSchema.of(i);this.buffer=this._write(this.rootSchema,d)}writeDiscriminatedDocument(i,d){this.write(i,d);if(typeof this.buffer==="object"){this.buffer.__type=V.NormalizedSchema.of(i).getName(true)}}flush(){const{rootSchema:i,useReplacer:d}=this;this.rootSchema=undefined;this.useReplacer=false;if(i?.isStructSchema()||i?.isDocumentSchema()){if(!d){return JSON.stringify(this.buffer)}const i=new JsonReplacer;return i.replaceInJson(JSON.stringify(this.buffer,i.createReplacer(),0))}return this.buffer}_write(i,d,p){const v=d!==null&&typeof d==="object";const K=V.NormalizedSchema.of(i);if(v){if(K.isStructSchema()){const i=d;const p={};const{jsonName:v}=this.settings;let V=void 0;if(v){V={}}for(const[d,ee]of K.structIterator()){const te=this._write(ee,i[d],K);if(te!==undefined){let i=d;if(v){i=ee.getMergedTraits().jsonName??d;V[d]=i}p[i]=te}}if(K.isUnionSchema()&&Object.keys(p).length===0){const{$unknown:d}=i;if(Array.isArray(d)){const[i,v]=d;p[i]=this._write(15,v)}}else if(typeof i.__type==="string"){for(const[d,K]of Object.entries(i)){const i=v?V[d]??d:d;if(!(i in p)){p[i]=this._write(15,K)}}}return p}if(Array.isArray(d)&&K.isListSchema()){const i=K.getValueSchema();const p=[];const v=!!K.getMergedTraits().sparse;for(const V of d){if(v||V!=null){p.push(this._write(i,V))}}return p}if(K.isMapSchema()){const i=K.getValueSchema();const p={};const v=!!K.getMergedTraits().sparse;for(const[V,K]of Object.entries(d)){if(v||K!=null){p[V]=this._write(i,K)}}return p}if(d instanceof Uint8Array&&(K.isBlobSchema()||K.isDocumentSchema())){if(K===this.rootSchema){return d}return(this.serdeContext?.base64Encoder??re.toBase64)(d)}if(d instanceof Date&&(K.isTimestampSchema()||K.isDocumentSchema())){const i=ee.determineTimestampFormat(K,this.settings);switch(i){case 5:return d.toISOString().replace(".000Z","Z");case 6:return te.dateToUtcString(d);case 7:return d.getTime()/1e3;default:console.warn("Missing timestamp format, using epoch seconds",d);return d.getTime()/1e3}}if(d instanceof te.NumericValue){this.useReplacer=true}}if(d===null&&p?.isStructSchema()){return void 0}if(K.isStringSchema()){if(typeof d==="undefined"&&K.isIdempotencyToken()){return te.generateIdempotencyToken()}const i=K.getMergedTraits().mediaType;if(d!=null&&i){const p=i==="application/json"||i.endsWith("+json");if(p){return te.LazyJsonString.from(d)}}return d}if(typeof d==="number"&&K.isNumericSchema()){if(Math.abs(d)===Infinity||isNaN(d)){return String(d)}return d}if(typeof d==="string"&&K.isBlobSchema()){if(K===this.rootSchema){return d}return(this.serdeContext?.base64Encoder??re.toBase64)(d)}if(typeof d==="bigint"){this.useReplacer=true}if(K.isDocumentSchema()){if(v){const i=Array.isArray(d)?[]:{};for(const[p,v]of Object.entries(d)){if(v instanceof te.NumericValue){this.useReplacer=true;i[p]=v}else{i[p]=this._write(K,v)}}return i}else{return structuredClone(d)}}return d}}class JsonCodec extends SerdeContextConfig{settings;constructor(i){super();this.settings=i}createSerializer(){const i=new JsonShapeSerializer(this.settings);i.setSerdeContext(this.serdeContext);return i}createDeserializer(){const i=new JsonShapeDeserializer(this.settings);i.setSerdeContext(this.serdeContext);return i}}class AwsJsonRpcProtocol extends ee.RpcProtocol{serializer;deserializer;serviceTarget;codec;mixin;awsQueryCompatible;constructor({defaultNamespace:i,serviceTarget:d,awsQueryCompatible:p,jsonCodec:v}){super({defaultNamespace:i});this.serviceTarget=d;this.codec=v??new JsonCodec({timestampFormat:{useTrait:true,default:7},jsonName:false});this.serializer=this.codec.createSerializer();this.deserializer=this.codec.createDeserializer();this.awsQueryCompatible=!!p;this.mixin=new ProtocolLib(this.awsQueryCompatible)}async serializeRequest(i,d,p){const v=await super.serializeRequest(i,d,p);if(!v.path.endsWith("/")){v.path+="/"}Object.assign(v.headers,{"content-type":`application/x-amz-json-${this.getJsonRpcVersion()}`,"x-amz-target":`${this.serviceTarget}.${i.name}`});if(this.awsQueryCompatible){v.headers["x-amzn-query-mode"]="true"}if(V.deref(i.input)==="unit"||!v.body){v.body="{}"}return v}getPayloadCodec(){return this.codec}async handleError(i,d,p,v,K){if(this.awsQueryCompatible){this.mixin.setQueryCompatError(v,p)}const ee=loadRestJsonErrorCode(p,v)??"Unknown";const{errorSchema:te,errorMetadata:re}=await this.mixin.getErrorSchemaOrThrowBaseException(ee,this.options.defaultNamespace,p,v,K,this.awsQueryCompatible?this.mixin.findQueryCompatibleError:undefined);const ne=V.NormalizedSchema.of(te);const ie=v.message??v.Message??"Unknown";const se=V.TypeRegistry.for(te[1]).getErrorCtor(te)??Error;const oe=new se(ie);const ae={};for(const[i,d]of ne.structIterator()){if(v[i]!=null){ae[i]=this.codec.createDeserializer().readObject(d,v[i])}}if(this.awsQueryCompatible){this.mixin.queryCompatOutput(v,ae)}throw this.mixin.decorateServiceException(Object.assign(oe,re,{$fault:ne.getMergedTraits().error,message:ie},ae),v)}}class AwsJson1_0Protocol extends AwsJsonRpcProtocol{constructor({defaultNamespace:i,serviceTarget:d,awsQueryCompatible:p,jsonCodec:v}){super({defaultNamespace:i,serviceTarget:d,awsQueryCompatible:p,jsonCodec:v})}getShapeId(){return"aws.protocols#awsJson1_0"}getJsonRpcVersion(){return"1.0"}getDefaultContentType(){return"application/x-amz-json-1.0"}}class AwsJson1_1Protocol extends AwsJsonRpcProtocol{constructor({defaultNamespace:i,serviceTarget:d,awsQueryCompatible:p,jsonCodec:v}){super({defaultNamespace:i,serviceTarget:d,awsQueryCompatible:p,jsonCodec:v})}getShapeId(){return"aws.protocols#awsJson1_1"}getJsonRpcVersion(){return"1.1"}getDefaultContentType(){return"application/x-amz-json-1.1"}}class AwsRestJsonProtocol extends ee.HttpBindingProtocol{serializer;deserializer;codec;mixin=new ProtocolLib;constructor({defaultNamespace:i}){super({defaultNamespace:i});const d={timestampFormat:{useTrait:true,default:7},httpBindings:true,jsonName:true};this.codec=new JsonCodec(d);this.serializer=new ee.HttpInterceptingShapeSerializer(this.codec.createSerializer(),d);this.deserializer=new ee.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(),d)}getShapeId(){return"aws.protocols#restJson1"}getPayloadCodec(){return this.codec}setSerdeContext(i){this.codec.setSerdeContext(i);super.setSerdeContext(i)}async serializeRequest(i,d,p){const v=await super.serializeRequest(i,d,p);const K=V.NormalizedSchema.of(i.input);if(!v.headers["content-type"]){const i=this.mixin.resolveRestContentType(this.getDefaultContentType(),K);if(i){v.headers["content-type"]=i}}if(v.body==null&&v.headers["content-type"]===this.getDefaultContentType()){v.body="{}"}return v}async deserializeResponse(i,d,p){const v=await super.deserializeResponse(i,d,p);const K=V.NormalizedSchema.of(i.output);for(const[i,d]of K.structIterator()){if(d.getMemberTraits().httpPayload&&!(i in v)){v[i]=null}}return v}async handleError(i,d,p,v,K){const ee=loadRestJsonErrorCode(p,v)??"Unknown";const{errorSchema:te,errorMetadata:re}=await this.mixin.getErrorSchemaOrThrowBaseException(ee,this.options.defaultNamespace,p,v,K);const ne=V.NormalizedSchema.of(te);const ie=v.message??v.Message??"Unknown";const se=V.TypeRegistry.for(te[1]).getErrorCtor(te)??Error;const oe=new se(ie);await this.deserializeHttpMessage(te,d,p,v);const ae={};for(const[i,d]of ne.structIterator()){const p=d.getMergedTraits().jsonName??i;ae[i]=this.codec.createDeserializer().readObject(d,v[p])}throw this.mixin.decorateServiceException(Object.assign(oe,re,{$fault:ne.getMergedTraits().error,message:ie},ae),v)}getDefaultContentType(){return"application/json"}}const awsExpectUnion=i=>{if(i==null){return undefined}if(typeof i==="object"&&"__type"in i){delete i.__type}return K.expectUnion(i)};class XmlShapeDeserializer extends SerdeContextConfig{settings;stringDeserializer;constructor(i){super();this.settings=i;this.stringDeserializer=new ee.FromStringShapeDeserializer(i)}setSerdeContext(i){this.serdeContext=i;this.stringDeserializer.setSerdeContext(i)}read(i,d,p){const v=V.NormalizedSchema.of(i);const K=v.getMemberSchemas();const ee=v.isStructSchema()&&v.isMemberSchema()&&!!Object.values(K).find((i=>!!i.getMemberTraits().eventPayload));if(ee){const i={};const p=Object.keys(K)[0];const v=K[p];if(v.isBlobSchema()){i[p]=d}else{i[p]=this.read(K[p],d)}return i}const te=(this.serdeContext?.utf8Encoder??ne.toUtf8)(d);const re=this.parseXml(te);return this.readSchema(i,p?re[p]:re)}readSchema(i,d){const p=V.NormalizedSchema.of(i);if(p.isUnitSchema()){return}const v=p.getMergedTraits();if(p.isListSchema()&&!Array.isArray(d)){return this.readSchema(p,[d])}if(d==null){return d}if(typeof d==="object"){const i=!!v.sparse;const V=!!v.xmlFlattened;if(p.isListSchema()){const v=p.getValueSchema();const K=[];const ee=v.getMergedTraits().xmlName??"member";const te=V?d:(d[0]??d)[ee];const re=Array.isArray(te)?te:[te];for(const d of re){if(d!=null||i){K.push(this.readSchema(v,d))}}return K}const K={};if(p.isMapSchema()){const v=p.getKeySchema();const ee=p.getValueSchema();let te;if(V){te=Array.isArray(d)?d:[d]}else{te=Array.isArray(d.entry)?d.entry:[d.entry]}const re=v.getMergedTraits().xmlName??"key";const ne=ee.getMergedTraits().xmlName??"value";for(const d of te){const p=d[re];const v=d[ne];if(v!=null||i){K[p]=this.readSchema(ee,v)}}return K}if(p.isStructSchema()){const i=p.isUnionSchema();let v;if(i){v=new UnionSerde(d,K)}for(const[V,ee]of p.structIterator()){const p=ee.getMergedTraits();const te=!p.httpPayload?ee.getMemberTraits().xmlName??V:p.xmlName??ee.getName();if(i){v.mark(te)}if(d[te]!=null){K[V]=this.readSchema(ee,d[te])}}if(i){v.writeUnknown()}return K}if(p.isDocumentSchema()){return d}throw new Error(`@aws-sdk/core/protocols - xml deserializer unhandled schema type for ${p.getName(true)}`)}if(p.isListSchema()){return[]}if(p.isMapSchema()||p.isStructSchema()){return{}}return this.stringDeserializer.read(p,d)}parseXml(i){if(i.length){let d;try{d=ie.parseXML(i)}catch(d){if(d&&typeof d==="object"){Object.defineProperty(d,"$responseBodyText",{value:i})}throw d}const p="#text";const v=Object.keys(d)[0];const V=d[v];if(V[p]){V[v]=V[p];delete V[p]}return K.getValueFromTextNode(V)}return{}}}class QueryShapeSerializer extends SerdeContextConfig{settings;buffer;constructor(i){super();this.settings=i}write(i,d,p=""){if(this.buffer===undefined){this.buffer=""}const v=V.NormalizedSchema.of(i);if(p&&!p.endsWith(".")){p+="."}if(v.isBlobSchema()){if(typeof d==="string"||d instanceof Uint8Array){this.writeKey(p);this.writeValue((this.serdeContext?.base64Encoder??re.toBase64)(d))}}else if(v.isBooleanSchema()||v.isNumericSchema()||v.isStringSchema()){if(d!=null){this.writeKey(p);this.writeValue(String(d))}else if(v.isIdempotencyToken()){this.writeKey(p);this.writeValue(te.generateIdempotencyToken())}}else if(v.isBigIntegerSchema()){if(d!=null){this.writeKey(p);this.writeValue(String(d))}}else if(v.isBigDecimalSchema()){if(d!=null){this.writeKey(p);this.writeValue(d instanceof te.NumericValue?d.string:String(d))}}else if(v.isTimestampSchema()){if(d instanceof Date){this.writeKey(p);const i=ee.determineTimestampFormat(v,this.settings);switch(i){case 5:this.writeValue(d.toISOString().replace(".000Z","Z"));break;case 6:this.writeValue(K.dateToUtcString(d));break;case 7:this.writeValue(String(d.getTime()/1e3));break}}}else if(v.isDocumentSchema()){if(Array.isArray(d)){this.write(64|15,d,p)}else if(d instanceof Date){this.write(4,d,p)}else if(d instanceof Uint8Array){this.write(21,d,p)}else if(d&&typeof d==="object"){this.write(128|15,d,p)}else{this.writeKey(p);this.writeValue(String(d))}}else if(v.isListSchema()){if(Array.isArray(d)){if(d.length===0){if(this.settings.serializeEmptyLists){this.writeKey(p);this.writeValue("")}}else{const i=v.getValueSchema();const V=this.settings.flattenLists||v.getMergedTraits().xmlFlattened;let K=1;for(const v of d){if(v==null){continue}const d=this.getKey("member",i.getMergedTraits().xmlName);const ee=V?`${p}${K}`:`${p}${d}.${K}`;this.write(i,v,ee);++K}}}}else if(v.isMapSchema()){if(d&&typeof d==="object"){const i=v.getKeySchema();const V=v.getValueSchema();const K=v.getMergedTraits().xmlFlattened;let ee=1;for(const[v,te]of Object.entries(d)){if(te==null){continue}const d=this.getKey("key",i.getMergedTraits().xmlName);const re=K?`${p}${ee}.${d}`:`${p}entry.${ee}.${d}`;const ne=this.getKey("value",V.getMergedTraits().xmlName);const ie=K?`${p}${ee}.${ne}`:`${p}entry.${ee}.${ne}`;this.write(i,v,re);this.write(V,te,ie);++ee}}}else if(v.isStructSchema()){if(d&&typeof d==="object"){let i=false;for(const[V,K]of v.structIterator()){if(d[V]==null&&!K.isIdempotencyToken()){continue}const v=this.getKey(V,K.getMergedTraits().xmlName);const ee=`${p}${v}`;this.write(K,d[V],ee);i=true}if(!i&&v.isUnionSchema()){const{$unknown:i}=d;if(Array.isArray(i)){const[d,v]=i;const V=`${p}${d}`;this.write(15,v,V)}}}}else if(v.isUnitSchema());else{throw new Error(`@aws-sdk/core/protocols - QuerySerializer unrecognized schema type ${v.getName(true)}`)}}flush(){if(this.buffer===undefined){throw new Error("@aws-sdk/core/protocols - QuerySerializer cannot flush with nothing written to buffer.")}const i=this.buffer;delete this.buffer;return i}getKey(i,d){const p=d??i;if(this.settings.capitalizeKeys){return p[0].toUpperCase()+p.slice(1)}return p}writeKey(i){if(i.endsWith(".")){i=i.slice(0,i.length-1)}this.buffer+=`&${ee.extendedEncodeURIComponent(i)}=`}writeValue(i){this.buffer+=ee.extendedEncodeURIComponent(i)}}class AwsQueryProtocol extends ee.RpcProtocol{options;serializer;deserializer;mixin=new ProtocolLib;constructor(i){super({defaultNamespace:i.defaultNamespace});this.options=i;const d={timestampFormat:{useTrait:true,default:5},httpBindings:false,xmlNamespace:i.xmlNamespace,serviceNamespace:i.defaultNamespace,serializeEmptyLists:true};this.serializer=new QueryShapeSerializer(d);this.deserializer=new XmlShapeDeserializer(d)}getShapeId(){return"aws.protocols#awsQuery"}setSerdeContext(i){this.serializer.setSerdeContext(i);this.deserializer.setSerdeContext(i)}getPayloadCodec(){throw new Error("AWSQuery protocol has no payload codec.")}async serializeRequest(i,d,p){const v=await super.serializeRequest(i,d,p);if(!v.path.endsWith("/")){v.path+="/"}Object.assign(v.headers,{"content-type":`application/x-www-form-urlencoded`});if(V.deref(i.input)==="unit"||!v.body){v.body=""}const K=i.name.split("#")[1]??i.name;v.body=`Action=${K}&Version=${this.options.version}`+v.body;if(v.body.endsWith("&")){v.body=v.body.slice(-1)}return v}async deserializeResponse(i,d,p){const v=this.deserializer;const K=V.NormalizedSchema.of(i.output);const te={};if(p.statusCode>=300){const V=await ee.collectBody(p.body,d);if(V.byteLength>0){Object.assign(te,await v.read(15,V))}await this.handleError(i,d,p,te,this.deserializeMetadata(p))}for(const i in p.headers){const d=p.headers[i];delete p.headers[i];p.headers[i.toLowerCase()]=d}const re=i.name.split("#")[1]??i.name;const ne=K.isStructSchema()&&this.useNestedResult()?re+"Result":undefined;const ie=await ee.collectBody(p.body,d);if(ie.byteLength>0){Object.assign(te,await v.read(K,ie,ne))}const se={$metadata:this.deserializeMetadata(p),...te};return se}useNestedResult(){return true}async handleError(i,d,p,v,K){const ee=this.loadQueryErrorCode(p,v)??"Unknown";const te=this.loadQueryError(v);const re=this.loadQueryErrorMessage(v);te.message=re;te.Error={Type:te.Type,Code:te.Code,Message:re};const{errorSchema:ne,errorMetadata:ie}=await this.mixin.getErrorSchemaOrThrowBaseException(ee,this.options.defaultNamespace,p,te,K,this.mixin.findQueryCompatibleError);const se=V.NormalizedSchema.of(ne);const oe=V.TypeRegistry.for(ne[1]).getErrorCtor(ne)??Error;const ae=new oe(re);const ce={Type:te.Error.Type,Code:te.Error.Code,Error:te.Error};for(const[i,d]of se.structIterator()){const p=d.getMergedTraits().xmlName??i;const V=te[p]??v[p];ce[i]=this.deserializer.readSchema(d,V)}throw this.mixin.decorateServiceException(Object.assign(ae,ie,{$fault:se.getMergedTraits().error,message:re},ce),v)}loadQueryErrorCode(i,d){const p=(d.Errors?.[0]?.Error??d.Errors?.Error??d.Error)?.Code;if(p!==undefined){return p}if(i.statusCode==404){return"NotFound"}}loadQueryError(i){return i.Errors?.[0]?.Error??i.Errors?.Error??i.Error}loadQueryErrorMessage(i){const d=this.loadQueryError(i);return d?.message??d?.Message??i.message??i.Message??"Unknown"}getDefaultContentType(){return"application/x-www-form-urlencoded"}}class AwsEc2QueryProtocol extends AwsQueryProtocol{options;constructor(i){super(i);this.options=i;const d={capitalizeKeys:true,flattenLists:true,serializeEmptyLists:false};Object.assign(this.serializer.settings,d)}useNestedResult(){return false}}const parseXmlBody=(i,d)=>collectBodyString(i,d).then((i=>{if(i.length){let d;try{d=ie.parseXML(i)}catch(d){if(d&&typeof d==="object"){Object.defineProperty(d,"$responseBodyText",{value:i})}throw d}const p="#text";const v=Object.keys(d)[0];const V=d[v];if(V[p]){V[v]=V[p];delete V[p]}return K.getValueFromTextNode(V)}return{}}));const parseXmlErrorBody=async(i,d)=>{const p=await parseXmlBody(i,d);if(p.Error){p.Error.message=p.Error.message??p.Error.Message}return p};const loadRestXmlErrorCode=(i,d)=>{if(d?.Error?.Code!==undefined){return d.Error.Code}if(d?.Code!==undefined){return d.Code}if(i.statusCode==404){return"NotFound"}};class XmlShapeSerializer extends SerdeContextConfig{settings;stringBuffer;byteBuffer;buffer;constructor(i){super();this.settings=i}write(i,d){const p=V.NormalizedSchema.of(i);if(p.isStringSchema()&&typeof d==="string"){this.stringBuffer=d}else if(p.isBlobSchema()){this.byteBuffer="byteLength"in d?d:(this.serdeContext?.base64Decoder??re.fromBase64)(d)}else{this.buffer=this.writeStruct(p,d,undefined);const i=p.getMergedTraits();if(i.httpPayload&&!i.xmlName){this.buffer.withName(p.getName())}}}flush(){if(this.byteBuffer!==undefined){const i=this.byteBuffer;delete this.byteBuffer;return i}if(this.stringBuffer!==undefined){const i=this.stringBuffer;delete this.stringBuffer;return i}const i=this.buffer;if(this.settings.xmlNamespace){if(!i?.attributes?.["xmlns"]){i.addAttribute("xmlns",this.settings.xmlNamespace)}}delete this.buffer;return i.toString()}writeStruct(i,d,p){const v=i.getMergedTraits();const V=i.isMemberSchema()&&!v.httpPayload?i.getMemberTraits().xmlName??i.getMemberName():v.xmlName??i.getName();if(!V||!i.isStructSchema()){throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write struct with empty name or non-struct, schema=${i.getName(true)}.`)}const K=ie.XmlNode.of(V);const[ee,te]=this.getXmlnsAttribute(i,p);for(const[p,v]of i.structIterator()){const i=d[p];if(i!=null||v.isIdempotencyToken()){if(v.getMergedTraits().xmlAttribute){K.addAttribute(v.getMergedTraits().xmlName??p,this.writeSimple(v,i));continue}if(v.isListSchema()){this.writeList(v,i,K,te)}else if(v.isMapSchema()){this.writeMap(v,i,K,te)}else if(v.isStructSchema()){K.addChildNode(this.writeStruct(v,i,te))}else{const d=ie.XmlNode.of(v.getMergedTraits().xmlName??v.getMemberName());this.writeSimpleInto(v,i,d,te);K.addChildNode(d)}}}const{$unknown:re}=d;if(re&&i.isUnionSchema()&&Array.isArray(re)&&Object.keys(d).length===1){const[i,p]=re;const v=ie.XmlNode.of(i);if(typeof p!=="string"){if(d instanceof ie.XmlNode||d instanceof ie.XmlText){K.addChildNode(d)}else{throw new Error(`@aws-sdk - $unknown union member in XML requires `+`value of type string, @aws-sdk/xml-builder::XmlNode or XmlText.`)}}this.writeSimpleInto(0,p,v,te);K.addChildNode(v)}if(te){K.addAttribute(ee,te)}return K}writeList(i,d,p,v){if(!i.isMemberSchema()){throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member list: ${i.getName(true)}`)}const V=i.getMergedTraits();const K=i.getValueSchema();const ee=K.getMergedTraits();const te=!!ee.sparse;const re=!!V.xmlFlattened;const[ne,se]=this.getXmlnsAttribute(i,v);const writeItem=(d,p)=>{if(K.isListSchema()){this.writeList(K,Array.isArray(p)?p:[p],d,se)}else if(K.isMapSchema()){this.writeMap(K,p,d,se)}else if(K.isStructSchema()){const v=this.writeStruct(K,p,se);d.addChildNode(v.withName(re?V.xmlName??i.getMemberName():ee.xmlName??"member"))}else{const v=ie.XmlNode.of(re?V.xmlName??i.getMemberName():ee.xmlName??"member");this.writeSimpleInto(K,p,v,se);d.addChildNode(v)}};if(re){for(const i of d){if(te||i!=null){writeItem(p,i)}}}else{const v=ie.XmlNode.of(V.xmlName??i.getMemberName());if(se){v.addAttribute(ne,se)}for(const i of d){if(te||i!=null){writeItem(v,i)}}p.addChildNode(v)}}writeMap(i,d,p,v,V=false){if(!i.isMemberSchema()){throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member map: ${i.getName(true)}`)}const K=i.getMergedTraits();const ee=i.getKeySchema();const te=ee.getMergedTraits();const re=te.xmlName??"key";const ne=i.getValueSchema();const se=ne.getMergedTraits();const oe=se.xmlName??"value";const ae=!!se.sparse;const ce=!!K.xmlFlattened;const[le,ue]=this.getXmlnsAttribute(i,v);const addKeyValue=(i,d,p)=>{const v=ie.XmlNode.of(re,d);const[V,K]=this.getXmlnsAttribute(ee,ue);if(K){v.addAttribute(V,K)}i.addChildNode(v);let te=ie.XmlNode.of(oe);if(ne.isListSchema()){this.writeList(ne,p,te,ue)}else if(ne.isMapSchema()){this.writeMap(ne,p,te,ue,true)}else if(ne.isStructSchema()){te=this.writeStruct(ne,p,ue)}else{this.writeSimpleInto(ne,p,te,ue)}i.addChildNode(te)};if(ce){for(const[v,V]of Object.entries(d)){if(ae||V!=null){const d=ie.XmlNode.of(K.xmlName??i.getMemberName());addKeyValue(d,v,V);p.addChildNode(d)}}}else{let v;if(!V){v=ie.XmlNode.of(K.xmlName??i.getMemberName());if(ue){v.addAttribute(le,ue)}p.addChildNode(v)}for(const[i,K]of Object.entries(d)){if(ae||K!=null){const d=ie.XmlNode.of("entry");addKeyValue(d,i,K);(V?p:v).addChildNode(d)}}}}writeSimple(i,d){if(null===d){throw new Error("@aws-sdk/core/protocols - (XML serializer) cannot write null value.")}const p=V.NormalizedSchema.of(i);let v=null;if(d&&typeof d==="object"){if(p.isBlobSchema()){v=(this.serdeContext?.base64Encoder??re.toBase64)(d)}else if(p.isTimestampSchema()&&d instanceof Date){const i=ee.determineTimestampFormat(p,this.settings);switch(i){case 5:v=d.toISOString().replace(".000Z","Z");break;case 6:v=K.dateToUtcString(d);break;case 7:v=String(d.getTime()/1e3);break;default:console.warn("Missing timestamp format, using http date",d);v=K.dateToUtcString(d);break}}else if(p.isBigDecimalSchema()&&d){if(d instanceof te.NumericValue){return d.string}return String(d)}else if(p.isMapSchema()||p.isListSchema()){throw new Error("@aws-sdk/core/protocols - xml serializer, cannot call _write() on List/Map schema, call writeList or writeMap() instead.")}else{throw new Error(`@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${p.getName(true)}`)}}if(p.isBooleanSchema()||p.isNumericSchema()||p.isBigIntegerSchema()||p.isBigDecimalSchema()){v=String(d)}if(p.isStringSchema()){if(d===undefined&&p.isIdempotencyToken()){v=te.generateIdempotencyToken()}else{v=String(d)}}if(v===null){throw new Error(`Unhandled schema-value pair ${p.getName(true)}=${d}`)}return v}writeSimpleInto(i,d,p,v){const K=this.writeSimple(i,d);const ee=V.NormalizedSchema.of(i);const te=new ie.XmlText(K);const[re,ne]=this.getXmlnsAttribute(ee,v);if(ne){p.addAttribute(re,ne)}p.addChildNode(te)}getXmlnsAttribute(i,d){const p=i.getMergedTraits();const[v,V]=p.xmlNamespace??[];if(V&&V!==d){return[v?`xmlns:${v}`:"xmlns",V]}return[void 0,void 0]}}class XmlCodec extends SerdeContextConfig{settings;constructor(i){super();this.settings=i}createSerializer(){const i=new XmlShapeSerializer(this.settings);i.setSerdeContext(this.serdeContext);return i}createDeserializer(){const i=new XmlShapeDeserializer(this.settings);i.setSerdeContext(this.serdeContext);return i}}class AwsRestXmlProtocol extends ee.HttpBindingProtocol{codec;serializer;deserializer;mixin=new ProtocolLib;constructor(i){super(i);const d={timestampFormat:{useTrait:true,default:5},httpBindings:true,xmlNamespace:i.xmlNamespace,serviceNamespace:i.defaultNamespace};this.codec=new XmlCodec(d);this.serializer=new ee.HttpInterceptingShapeSerializer(this.codec.createSerializer(),d);this.deserializer=new ee.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(),d)}getPayloadCodec(){return this.codec}getShapeId(){return"aws.protocols#restXml"}async serializeRequest(i,d,p){const v=await super.serializeRequest(i,d,p);const K=V.NormalizedSchema.of(i.input);if(!v.headers["content-type"]){const i=this.mixin.resolveRestContentType(this.getDefaultContentType(),K);if(i){v.headers["content-type"]=i}}if(typeof v.body==="string"&&v.headers["content-type"]===this.getDefaultContentType()&&!v.body.startsWith("'+v.body}return v}async deserializeResponse(i,d,p){return super.deserializeResponse(i,d,p)}async handleError(i,d,p,v,K){const ee=loadRestXmlErrorCode(p,v)??"Unknown";const{errorSchema:te,errorMetadata:re}=await this.mixin.getErrorSchemaOrThrowBaseException(ee,this.options.defaultNamespace,p,v,K);const ne=V.NormalizedSchema.of(te);const ie=v.Error?.message??v.Error?.Message??v.message??v.Message??"Unknown";const se=V.TypeRegistry.for(te[1]).getErrorCtor(te)??Error;const oe=new se(ie);await this.deserializeHttpMessage(te,d,p,v);const ae={};for(const[i,d]of ne.structIterator()){const p=d.getMergedTraits().xmlName??i;const V=v.Error?.[p]??v[p];ae[i]=this.codec.createDeserializer().readSchema(d,V)}throw this.mixin.decorateServiceException(Object.assign(oe,re,{$fault:ne.getMergedTraits().error,message:ie},ae),v)}getDefaultContentType(){return"application/xml"}hasUnstructuredPayloadBinding(i){for(const[,d]of i.structIterator()){if(d.getMergedTraits().httpPayload){return!(d.isStructSchema()||d.isMapSchema()||d.isListSchema())}}return false}}d.AwsEc2QueryProtocol=AwsEc2QueryProtocol;d.AwsJson1_0Protocol=AwsJson1_0Protocol;d.AwsJson1_1Protocol=AwsJson1_1Protocol;d.AwsJsonRpcProtocol=AwsJsonRpcProtocol;d.AwsQueryProtocol=AwsQueryProtocol;d.AwsRestJsonProtocol=AwsRestJsonProtocol;d.AwsRestXmlProtocol=AwsRestXmlProtocol;d.AwsSmithyRpcV2CborProtocol=AwsSmithyRpcV2CborProtocol;d.JsonCodec=JsonCodec;d.JsonShapeDeserializer=JsonShapeDeserializer;d.JsonShapeSerializer=JsonShapeSerializer;d.XmlCodec=XmlCodec;d.XmlShapeDeserializer=XmlShapeDeserializer;d.XmlShapeSerializer=XmlShapeSerializer;d._toBool=_toBool;d._toNum=_toNum;d._toStr=_toStr;d.awsExpectUnion=awsExpectUnion;d.loadRestJsonErrorCode=loadRestJsonErrorCode;d.loadRestXmlErrorCode=loadRestXmlErrorCode;d.parseJsonBody=parseJsonBody;d.parseJsonErrorBody=parseJsonErrorBody;d.parseXmlBody=parseXmlBody;d.parseXmlErrorBody=parseXmlErrorBody},55606:(i,d,p)=>{var v=p(5152);var V=p(71238);const K="AWS_ACCESS_KEY_ID";const ee="AWS_SECRET_ACCESS_KEY";const te="AWS_SESSION_TOKEN";const re="AWS_CREDENTIAL_EXPIRATION";const ne="AWS_CREDENTIAL_SCOPE";const ie="AWS_ACCOUNT_ID";const fromEnv=i=>async()=>{i?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv");const d=process.env[K];const p=process.env[ee];const se=process.env[te];const oe=process.env[re];const ae=process.env[ne];const ce=process.env[ie];if(d&&p){const i={accessKeyId:d,secretAccessKey:p,...se&&{sessionToken:se},...oe&&{expiration:new Date(oe)},...ae&&{credentialScope:ae},...ce&&{accountId:ce}};v.setCredentialFeature(i,"CREDENTIALS_ENV_VARS","g");return i}throw new V.CredentialsProviderError("Unable to find environment variable credentials.",{logger:i?.logger})};d.ENV_ACCOUNT_ID=ie;d.ENV_CREDENTIAL_SCOPE=ne;d.ENV_EXPIRATION=re;d.ENV_KEY=K;d.ENV_SECRET=ee;d.ENV_SESSION=te;d.fromEnv=fromEnv},5861:(i,d,p)=>{var v=p(55606);var V=p(71238);var K=p(94964);const ee="AWS_EC2_METADATA_DISABLED";const remoteProvider=async i=>{const{ENV_CMDS_FULL_URI:d,ENV_CMDS_RELATIVE_URI:v,fromContainerMetadata:K,fromInstanceMetadata:te}=await p.e(566).then(p.t.bind(p,40566,19));if(process.env[v]||process.env[d]){i.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");const{fromHttp:d}=await p.e(605).then(p.bind(p,98605));return V.chain(d(i),K(i))}if(process.env[ee]&&process.env[ee]!=="false"){return async()=>{throw new V.CredentialsProviderError("EC2 Instance Metadata Service access disabled",{logger:i.logger})}}i.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata");return te(i)};function memoizeChain(i,d){const p=internalCreateChain(i);let v;let V;let K;const provider=async i=>{if(i?.forceRefresh){return await p(i)}if(K?.expiration){if(K?.expiration?.getTime(){K=i})).finally((()=>{V=undefined}))}}else{v=p(i).then((i=>{K=i})).finally((()=>{v=undefined}));return provider(i)}}return K};return provider}const internalCreateChain=i=>async d=>{let p;for(const v of i){try{return await v(d)}catch(i){p=i;if(i?.tryNextLink){continue}throw i}}throw p};let te=false;const defaultProvider=(i={})=>memoizeChain([async()=>{const d=i.profile??process.env[K.ENV_PROFILE];if(d){const d=process.env[v.ENV_KEY]&&process.env[v.ENV_SECRET];if(d){if(!te){const d=i.logger?.warn&&i.logger?.constructor?.name!=="NoOpLogger"?i.logger.warn.bind(i.logger):console.warn;d(`@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:\n Multiple credential sources detected: \n Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set.\n This SDK will proceed with the AWS_PROFILE value.\n \n However, a future version may change this behavior to prefer the ENV static credentials.\n Please ensure that your environment only sets either the AWS_PROFILE or the\n AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair.\n`);te=true}}throw new V.CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.",{logger:i.logger,tryNextLink:true})}i.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv");return v.fromEnv(i)()},async d=>{i.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");const{ssoStartUrl:v,ssoAccountId:K,ssoRegion:ee,ssoRoleName:te,ssoSession:re}=i;if(!v&&!K&&!ee&&!te&&!re){throw new V.CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).",{logger:i.logger})}const{fromSSO:ne}=await p.e(998).then(p.t.bind(p,60998,19));return ne(i)(d)},async d=>{i.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");const{fromIni:v}=await p.e(869).then(p.t.bind(p,75869,19));return v(i)(d)},async d=>{i.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");const{fromProcess:v}=await p.e(360).then(p.t.bind(p,75360,19));return v(i)(d)},async d=>{i.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");const{fromTokenFile:v}=await p.e(956).then(p.t.bind(p,29956,23));return v(i)(d)},async()=>{i.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider");return(await remoteProvider(i))()},async()=>{throw new V.CredentialsProviderError("Could not load credentials from any providers",{tryNextLink:false,logger:i.logger})}],credentialsTreatedAsExpired);const credentialsWillNeedRefresh=i=>i?.expiration!==undefined;const credentialsTreatedAsExpired=i=>i?.expiration!==undefined&&i.expiration.getTime()-Date.now()<3e5;d.credentialsTreatedAsExpired=credentialsTreatedAsExpired;d.credentialsWillNeedRefresh=credentialsWillNeedRefresh;d.defaultProvider=defaultProvider},52590:(i,d,p)=>{var v=p(72356);function resolveHostHeaderConfig(i){return i}const hostHeaderMiddleware=i=>d=>async p=>{if(!v.HttpRequest.isInstance(p.request))return d(p);const{request:V}=p;const{handlerProtocol:K=""}=i.requestHandler.metadata||{};if(K.indexOf("h2")>=0&&!V.headers[":authority"]){delete V.headers["host"];V.headers[":authority"]=V.hostname+(V.port?":"+V.port:"")}else if(!V.headers["host"]){let i=V.hostname;if(V.port!=null)i+=`:${V.port}`;V.headers["host"]=i}return d(p)};const V={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:true};const getHostHeaderPlugin=i=>({applyToStack:d=>{d.add(hostHeaderMiddleware(i),V)}});d.getHostHeaderPlugin=getHostHeaderPlugin;d.hostHeaderMiddleware=hostHeaderMiddleware;d.hostHeaderMiddlewareOptions=V;d.resolveHostHeaderConfig=resolveHostHeaderConfig},85242:(i,d)=>{const loggerMiddleware=()=>(i,d)=>async p=>{try{const v=await i(p);const{clientName:V,commandName:K,logger:ee,dynamoDbDocumentClientOptions:te={}}=d;const{overrideInputFilterSensitiveLog:re,overrideOutputFilterSensitiveLog:ne}=te;const ie=re??d.inputFilterSensitiveLog;const se=ne??d.outputFilterSensitiveLog;const{$metadata:oe,...ae}=v.output;ee?.info?.({clientName:V,commandName:K,input:ie(p.input),output:se(ae),metadata:oe});return v}catch(i){const{clientName:v,commandName:V,logger:K,dynamoDbDocumentClientOptions:ee={}}=d;const{overrideInputFilterSensitiveLog:te}=ee;const re=te??d.inputFilterSensitiveLog;K?.error?.({clientName:v,commandName:V,input:re(p.input),error:i,metadata:i.$metadata});throw i}};const p={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:true};const getLoggerPlugin=i=>({applyToStack:i=>{i.add(loggerMiddleware(),p)}});d.getLoggerPlugin=getLoggerPlugin;d.loggerMiddleware=loggerMiddleware;d.loggerMiddlewareOptions=p},81568:(i,d,p)=>{var v=p(22521);const V={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:true,priority:"low"};const getRecursionDetectionPlugin=i=>({applyToStack:i=>{i.add(v.recursionDetectionMiddleware(),V)}});d.getRecursionDetectionPlugin=getRecursionDetectionPlugin;Object.keys(v).forEach((function(i){if(i!=="default"&&!Object.prototype.hasOwnProperty.call(d,i))Object.defineProperty(d,i,{enumerable:true,get:function(){return v[i]}})}))},22521:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.recursionDetectionMiddleware=void 0;const v=p(29320);const V=p(72356);const K="X-Amzn-Trace-Id";const ee="AWS_LAMBDA_FUNCTION_NAME";const te="_X_AMZN_TRACE_ID";const recursionDetectionMiddleware=()=>i=>async d=>{const{request:p}=d;if(!V.HttpRequest.isInstance(p)){return i(d)}const re=Object.keys(p.headers??{}).find((i=>i.toLowerCase()===K.toLowerCase()))??K;if(p.headers.hasOwnProperty(re)){return i(d)}const ne=process.env[ee];const ie=process.env[te];const se=await v.InvokeStore.getInstanceAsync();const oe=se?.getXRayTraceId();const ae=oe??ie;const nonEmptyString=i=>typeof i==="string"&&i.length>0;if(nonEmptyString(ne)&&nonEmptyString(ae)){p.headers[K]=ae}return i({...d,request:p})};d.recursionDetectionMiddleware=recursionDetectionMiddleware},32959:(i,d,p)=>{var v=p(90402);var V=p(83068);var K=p(72356);var ee=p(8704);const te=undefined;function isValidUserAgentAppId(i){if(i===undefined){return true}return typeof i==="string"&&i.length<=50}function resolveUserAgentConfig(i){const d=v.normalizeProvider(i.userAgentAppId??te);const{customUserAgent:p}=i;return Object.assign(i,{customUserAgent:typeof p==="string"?[[p]]:p,userAgentAppId:async()=>{const p=await d();if(!isValidUserAgentAppId(p)){const d=i.logger?.constructor?.name==="NoOpLogger"||!i.logger?console:i.logger;if(typeof p!=="string"){d?.warn("userAgentAppId must be a string or undefined.")}else if(p.length>50){d?.warn("The provided userAgentAppId exceeds the maximum length of 50 characters.")}}return p}})}const re=/\d{12}\.ddb/;async function checkFeatures(i,d,p){const v=p.request;if(v?.headers?.["smithy-protocol"]==="rpc-v2-cbor"){ee.setFeature(i,"PROTOCOL_RPC_V2_CBOR","M")}if(typeof d.retryStrategy==="function"){const p=await d.retryStrategy();if(typeof p.acquireInitialRetryToken==="function"){if(p.constructor?.name?.includes("Adaptive")){ee.setFeature(i,"RETRY_MODE_ADAPTIVE","F")}else{ee.setFeature(i,"RETRY_MODE_STANDARD","E")}}else{ee.setFeature(i,"RETRY_MODE_LEGACY","D")}}if(typeof d.accountIdEndpointMode==="function"){const p=i.endpointV2;if(String(p?.url?.hostname).match(re)){ee.setFeature(i,"ACCOUNT_ID_ENDPOINT","O")}switch(await(d.accountIdEndpointMode?.())){case"disabled":ee.setFeature(i,"ACCOUNT_ID_MODE_DISABLED","Q");break;case"preferred":ee.setFeature(i,"ACCOUNT_ID_MODE_PREFERRED","P");break;case"required":ee.setFeature(i,"ACCOUNT_ID_MODE_REQUIRED","R");break}}const V=i.__smithy_context?.selectedHttpAuthScheme?.identity;if(V?.$source){const d=V;if(d.accountId){ee.setFeature(i,"RESOLVED_ACCOUNT_ID","T")}for(const[p,v]of Object.entries(d.$source??{})){ee.setFeature(i,p,v)}}}const ne="user-agent";const ie="x-amz-user-agent";const se=" ";const oe="/";const ae=/[^!$%&'*+\-.^_`|~\w]/g;const ce=/[^!$%&'*+\-.^_`|~\w#]/g;const le="-";const ue=1024;function encodeFeatures(i){let d="";for(const p in i){const v=i[p];if(d.length+v.length+1<=ue){if(d.length){d+=","+v}else{d+=v}continue}break}return d}const userAgentMiddleware=i=>(d,p)=>async v=>{const{request:ee}=v;if(!K.HttpRequest.isInstance(ee)){return d(v)}const{headers:te}=ee;const re=p?.userAgent?.map(escapeUserAgent)||[];const oe=(await i.defaultUserAgentProvider()).map(escapeUserAgent);await checkFeatures(p,i,v);const ae=p;oe.push(`m/${encodeFeatures(Object.assign({},p.__smithy_context?.features,ae.__aws_sdk_context?.features))}`);const ce=i?.customUserAgent?.map(escapeUserAgent)||[];const le=await i.userAgentAppId();if(le){oe.push(escapeUserAgent([`app`,`${le}`]))}const ue=V.getUserAgentPrefix();const Ae=(ue?[ue]:[]).concat([...oe,...re,...ce]).join(se);const de=[...oe.filter((i=>i.startsWith("aws-sdk-"))),...ce].join(se);if(i.runtime!=="browser"){if(de){te[ie]=te[ie]?`${te[ne]} ${de}`:de}te[ne]=Ae}else{te[ie]=Ae}return d({...v,request:ee})};const escapeUserAgent=i=>{const d=i[0].split(oe).map((i=>i.replace(ae,le))).join(oe);const p=i[1]?.replace(ce,le);const v=d.indexOf(oe);const V=d.substring(0,v);let K=d.substring(v+1);if(V==="api"){K=K.toLowerCase()}return[V,K,p].filter((i=>i&&i.length>0)).reduce(((i,d,p)=>{switch(p){case 0:return d;case 1:return`${i}/${d}`;default:return`${i}#${d}`}}),"")};const Ae={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:true};const getUserAgentPlugin=i=>({applyToStack:d=>{d.add(userAgentMiddleware(i),Ae)}});d.DEFAULT_UA_APP_ID=te;d.getUserAgentMiddlewareOptions=Ae;d.getUserAgentPlugin=getUserAgentPlugin;d.resolveUserAgentConfig=resolveUserAgentConfig;d.userAgentMiddleware=userAgentMiddleware},36463:(i,d,p)=>{var v=p(5779);var V=p(39316);const getAwsRegionExtensionConfiguration=i=>({setRegion(d){i.region=d},region(){return i.region}});const resolveAwsRegionExtensionConfiguration=i=>({region:i.region()});Object.defineProperty(d,"NODE_REGION_CONFIG_FILE_OPTIONS",{enumerable:true,get:function(){return V.NODE_REGION_CONFIG_FILE_OPTIONS}});Object.defineProperty(d,"NODE_REGION_CONFIG_OPTIONS",{enumerable:true,get:function(){return V.NODE_REGION_CONFIG_OPTIONS}});Object.defineProperty(d,"REGION_ENV_NAME",{enumerable:true,get:function(){return V.REGION_ENV_NAME}});Object.defineProperty(d,"REGION_INI_NAME",{enumerable:true,get:function(){return V.REGION_INI_NAME}});Object.defineProperty(d,"resolveRegionConfig",{enumerable:true,get:function(){return V.resolveRegionConfig}});d.getAwsRegionExtensionConfiguration=getAwsRegionExtensionConfiguration;d.resolveAwsRegionExtensionConfiguration=resolveAwsRegionExtensionConfiguration;Object.keys(v).forEach((function(i){if(i!=="default"&&!Object.prototype.hasOwnProperty.call(d,i))Object.defineProperty(d,i,{enumerable:true,get:function(){return v[i]}})}))},5779:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.warning=void 0;d.stsRegionDefaultResolver=stsRegionDefaultResolver;const v=p(39316);const V=p(55704);function stsRegionDefaultResolver(i={}){return(0,V.loadConfig)({...v.NODE_REGION_CONFIG_OPTIONS,async default(){if(!d.warning.silence){console.warn("@aws-sdk - WARN - default STS region of us-east-1 used. See @aws-sdk/credential-providers README and set a region explicitly.")}return"us-east-1"}},{...v.NODE_REGION_CONFIG_FILE_OPTIONS,...i})}d.warning={silence:false}},83068:(i,d,p)=>{var v=p(79674);var V=p(14494);const isVirtualHostableS3Bucket=(i,d=false)=>{if(d){for(const d of i.split(".")){if(!isVirtualHostableS3Bucket(d)){return false}}return true}if(!v.isValidHostLabel(i)){return false}if(i.length<3||i.length>63){return false}if(i!==i.toLowerCase()){return false}if(v.isIpAddress(i)){return false}return true};const K=":";const ee="/";const parseArn=i=>{const d=i.split(K);if(d.length<6)return null;const[p,v,V,te,re,...ne]=d;if(p!=="arn"||v===""||V===""||ne.join(K)==="")return null;const ie=ne.map((i=>i.split(ee))).flat();return{partition:v,service:V,region:te,accountId:re,resourceId:ie}};var te=[{id:"aws",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-east-1",name:"aws",supportsDualStack:true,supportsFIPS:true},regionRegex:"^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$",regions:{"af-south-1":{description:"Africa (Cape Town)"},"ap-east-1":{description:"Asia Pacific (Hong Kong)"},"ap-east-2":{description:"Asia Pacific (Taipei)"},"ap-northeast-1":{description:"Asia Pacific (Tokyo)"},"ap-northeast-2":{description:"Asia Pacific (Seoul)"},"ap-northeast-3":{description:"Asia Pacific (Osaka)"},"ap-south-1":{description:"Asia Pacific (Mumbai)"},"ap-south-2":{description:"Asia Pacific (Hyderabad)"},"ap-southeast-1":{description:"Asia Pacific (Singapore)"},"ap-southeast-2":{description:"Asia Pacific (Sydney)"},"ap-southeast-3":{description:"Asia Pacific (Jakarta)"},"ap-southeast-4":{description:"Asia Pacific (Melbourne)"},"ap-southeast-5":{description:"Asia Pacific (Malaysia)"},"ap-southeast-6":{description:"Asia Pacific (New Zealand)"},"ap-southeast-7":{description:"Asia Pacific (Thailand)"},"aws-global":{description:"aws global region"},"ca-central-1":{description:"Canada (Central)"},"ca-west-1":{description:"Canada West (Calgary)"},"eu-central-1":{description:"Europe (Frankfurt)"},"eu-central-2":{description:"Europe (Zurich)"},"eu-north-1":{description:"Europe (Stockholm)"},"eu-south-1":{description:"Europe (Milan)"},"eu-south-2":{description:"Europe (Spain)"},"eu-west-1":{description:"Europe (Ireland)"},"eu-west-2":{description:"Europe (London)"},"eu-west-3":{description:"Europe (Paris)"},"il-central-1":{description:"Israel (Tel Aviv)"},"me-central-1":{description:"Middle East (UAE)"},"me-south-1":{description:"Middle East (Bahrain)"},"mx-central-1":{description:"Mexico (Central)"},"sa-east-1":{description:"South America (Sao Paulo)"},"us-east-1":{description:"US East (N. Virginia)"},"us-east-2":{description:"US East (Ohio)"},"us-west-1":{description:"US West (N. California)"},"us-west-2":{description:"US West (Oregon)"}}},{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn",dualStackDnsSuffix:"api.amazonwebservices.com.cn",implicitGlobalRegion:"cn-northwest-1",name:"aws-cn",supportsDualStack:true,supportsFIPS:true},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:{"aws-cn-global":{description:"aws-cn global region"},"cn-north-1":{description:"China (Beijing)"},"cn-northwest-1":{description:"China (Ningxia)"}}},{id:"aws-eusc",outputs:{dnsSuffix:"amazonaws.eu",dualStackDnsSuffix:"api.amazonwebservices.eu",implicitGlobalRegion:"eusc-de-east-1",name:"aws-eusc",supportsDualStack:true,supportsFIPS:true},regionRegex:"^eusc\\-(de)\\-\\w+\\-\\d+$",regions:{"eusc-de-east-1":{description:"AWS European Sovereign Cloud (Germany)"}}},{id:"aws-iso",outputs:{dnsSuffix:"c2s.ic.gov",dualStackDnsSuffix:"api.aws.ic.gov",implicitGlobalRegion:"us-iso-east-1",name:"aws-iso",supportsDualStack:true,supportsFIPS:true},regionRegex:"^us\\-iso\\-\\w+\\-\\d+$",regions:{"aws-iso-global":{description:"aws-iso global region"},"us-iso-east-1":{description:"US ISO East"},"us-iso-west-1":{description:"US ISO WEST"}}},{id:"aws-iso-b",outputs:{dnsSuffix:"sc2s.sgov.gov",dualStackDnsSuffix:"api.aws.scloud",implicitGlobalRegion:"us-isob-east-1",name:"aws-iso-b",supportsDualStack:true,supportsFIPS:true},regionRegex:"^us\\-isob\\-\\w+\\-\\d+$",regions:{"aws-iso-b-global":{description:"aws-iso-b global region"},"us-isob-east-1":{description:"US ISOB East (Ohio)"},"us-isob-west-1":{description:"US ISOB West"}}},{id:"aws-iso-e",outputs:{dnsSuffix:"cloud.adc-e.uk",dualStackDnsSuffix:"api.cloud-aws.adc-e.uk",implicitGlobalRegion:"eu-isoe-west-1",name:"aws-iso-e",supportsDualStack:true,supportsFIPS:true},regionRegex:"^eu\\-isoe\\-\\w+\\-\\d+$",regions:{"aws-iso-e-global":{description:"aws-iso-e global region"},"eu-isoe-west-1":{description:"EU ISOE West"}}},{id:"aws-iso-f",outputs:{dnsSuffix:"csp.hci.ic.gov",dualStackDnsSuffix:"api.aws.hci.ic.gov",implicitGlobalRegion:"us-isof-south-1",name:"aws-iso-f",supportsDualStack:true,supportsFIPS:true},regionRegex:"^us\\-isof\\-\\w+\\-\\d+$",regions:{"aws-iso-f-global":{description:"aws-iso-f global region"},"us-isof-east-1":{description:"US ISOF EAST"},"us-isof-south-1":{description:"US ISOF SOUTH"}}},{id:"aws-us-gov",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-gov-west-1",name:"aws-us-gov",supportsDualStack:true,supportsFIPS:true},regionRegex:"^us\\-gov\\-\\w+\\-\\d+$",regions:{"aws-us-gov-global":{description:"aws-us-gov global region"},"us-gov-east-1":{description:"AWS GovCloud (US-East)"},"us-gov-west-1":{description:"AWS GovCloud (US-West)"}}}];var re="1.1";var ne={partitions:te,version:re};let ie=ne;let se="";const partition=i=>{const{partitions:d}=ie;for(const p of d){const{regions:d,outputs:v}=p;for(const[p,V]of Object.entries(d)){if(p===i){return{...v,...V}}}}for(const p of d){const{regionRegex:d,outputs:v}=p;if(new RegExp(d).test(i)){return{...v}}}const p=d.find((i=>i.id==="aws"));if(!p){throw new Error("Provided region was not found in the partition array or regex,"+" and default partition with id 'aws' doesn't exist.")}return{...p.outputs}};const setPartitionInfo=(i,d="")=>{ie=i;se=d};const useDefaultPartitionInfo=()=>{setPartitionInfo(ne,"")};const getUserAgentPrefix=()=>se;const oe={isVirtualHostableS3Bucket:isVirtualHostableS3Bucket,parseArn:parseArn,partition:partition};v.customEndpointFunctions.aws=oe;const resolveDefaultAwsRegionalEndpointsConfig=i=>{if(typeof i.endpointProvider!=="function"){throw new Error("@aws-sdk/util-endpoint - endpointProvider and endpoint missing in config for this client.")}const{endpoint:d}=i;if(d===undefined){i.endpoint=async()=>toEndpointV1(i.endpointProvider({Region:typeof i.region==="function"?await i.region():i.region,UseDualStack:typeof i.useDualstackEndpoint==="function"?await i.useDualstackEndpoint():i.useDualstackEndpoint,UseFIPS:typeof i.useFipsEndpoint==="function"?await i.useFipsEndpoint():i.useFipsEndpoint,Endpoint:undefined},{logger:i.logger}))}return i};const toEndpointV1=i=>V.parseUrl(i.url);Object.defineProperty(d,"EndpointError",{enumerable:true,get:function(){return v.EndpointError}});Object.defineProperty(d,"isIpAddress",{enumerable:true,get:function(){return v.isIpAddress}});Object.defineProperty(d,"resolveEndpoint",{enumerable:true,get:function(){return v.resolveEndpoint}});d.awsEndpointFunctions=oe;d.getUserAgentPrefix=getUserAgentPrefix;d.partition=partition;d.resolveDefaultAwsRegionalEndpointsConfig=resolveDefaultAwsRegionalEndpointsConfig;d.setPartitionInfo=setPartitionInfo;d.toEndpointV1=toEndpointV1;d.useDefaultPartitionInfo=useDefaultPartitionInfo},51656:(i,d,p)=>{var v=p(70857);var V=p(932);var K=p(32959);const ee={isCrtAvailable:false};const isCrtAvailable=()=>{if(ee.isCrtAvailable){return["md/crt-avail"]}return null};const createDefaultUserAgentProvider=({serviceId:i,clientVersion:d})=>async p=>{const K=[["aws-sdk-js",d],["ua","2.1"],[`os/${v.platform()}`,v.release()],["lang/js"],["md/nodejs",`${V.versions.node}`]];const ee=isCrtAvailable();if(ee){K.push(ee)}if(i){K.push([`api/${i}`,d])}if(V.env.AWS_EXECUTION_ENV){K.push([`exec-env/${V.env.AWS_EXECUTION_ENV}`])}const te=await(p?.userAgentAppId?.());const re=te?[...K,[`app/${te}`]]:[...K];return re};const te=createDefaultUserAgentProvider;const re="AWS_SDK_UA_APP_ID";const ne="sdk_ua_app_id";const ie="sdk-ua-app-id";const se={environmentVariableSelector:i=>i[re],configFileSelector:i=>i[ne]??i[ie],default:K.DEFAULT_UA_APP_ID};d.NODE_APP_ID_CONFIG_OPTIONS=se;d.UA_APP_ID_ENV_NAME=re;d.UA_APP_ID_INI_NAME=ne;d.createDefaultUserAgentProvider=createDefaultUserAgentProvider;d.crtAvailability=ee;d.defaultUserAgent=te},94274:(i,d,p)=>{var v=p(43343);function escapeAttribute(i){return i.replace(/&/g,"&").replace(//g,">").replace(/"/g,""")}function escapeElement(i){return i.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">").replace(/\r/g," ").replace(/\n/g," ").replace(/\u0085/g,"…").replace(/\u2028/,"
")}class XmlText{value;constructor(i){this.value=i}toString(){return escapeElement(""+this.value)}}class XmlNode{name;children;attributes={};static of(i,d,p){const v=new XmlNode(i);if(d!==undefined){v.addChildNode(new XmlText(d))}if(p!==undefined){v.withName(p)}return v}constructor(i,d=[]){this.name=i;this.children=d}withName(i){this.name=i;return this}addAttribute(i,d){this.attributes[i]=d;return this}addChildNode(i){this.children.push(i);return this}removeAttribute(i){delete this.attributes[i];return this}n(i){this.name=i;return this}c(i){this.children.push(i);return this}a(i,d){if(d!=null){this.attributes[i]=d}return this}cc(i,d,p=d){if(i[d]!=null){const v=XmlNode.of(d,i[d]).withName(p);this.c(v)}}l(i,d,p,v){if(i[d]!=null){const i=v();i.map((i=>{i.withName(p);this.c(i)}))}}lc(i,d,p,v){if(i[d]!=null){const i=v();const d=new XmlNode(p);i.map((i=>{d.c(i)}));this.c(d)}}toString(){const i=Boolean(this.children.length);let d=`<${this.name}`;const p=this.attributes;for(const i of Object.keys(p)){const v=p[i];if(v!=null){d+=` ${i}="${escapeAttribute(""+v)}"`}}return d+=!i?"/>":`>${this.children.map((i=>i.toString())).join("")}`}}Object.defineProperty(d,"parseXML",{enumerable:true,get:function(){return v.parseXML}});d.XmlNode=XmlNode;d.XmlText=XmlText},43343:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.parseXML=parseXML;const v=p(50591);const V=new v.XMLParser({attributeNamePrefix:"",htmlEntities:true,ignoreAttributes:false,ignoreDeclaration:true,parseTagValue:false,trimValues:false,tagValueProcessor:(i,d)=>d.trim()===""&&d.includes("\n")?"":undefined});V.addEntity("#xD","\r");V.addEntity("#10","\n");function parseXML(i){return V.parse(i,true)}},29320:(i,d,p)=>{const v={REQUEST_ID:Symbol.for("_AWS_LAMBDA_REQUEST_ID"),X_RAY_TRACE_ID:Symbol.for("_AWS_LAMBDA_X_RAY_TRACE_ID"),TENANT_ID:Symbol.for("_AWS_LAMBDA_TENANT_ID")};const V=["true","1"].includes(process.env?.AWS_LAMBDA_NODEJS_NO_GLOBAL_AWSLAMBDA??"");if(!V){globalThis.awslambda=globalThis.awslambda||{}}class InvokeStoreBase{static PROTECTED_KEYS=v;isProtectedKey(i){return Object.values(v).includes(i)}getRequestId(){return this.get(v.REQUEST_ID)??"-"}getXRayTraceId(){return this.get(v.X_RAY_TRACE_ID)}getTenantId(){return this.get(v.TENANT_ID)}}class InvokeStoreSingle extends InvokeStoreBase{currentContext;getContext(){return this.currentContext}hasContext(){return this.currentContext!==undefined}get(i){return this.currentContext?.[i]}set(i,d){if(this.isProtectedKey(i)){throw new Error(`Cannot modify protected Lambda context field: ${String(i)}`)}this.currentContext=this.currentContext||{};this.currentContext[i]=d}run(i,d){this.currentContext=i;return d()}}class InvokeStoreMulti extends InvokeStoreBase{als;static async create(){const i=new InvokeStoreMulti;const d=await Promise.resolve().then(p.t.bind(p,16698,23));i.als=new d.AsyncLocalStorage;return i}getContext(){return this.als.getStore()}hasContext(){return this.als.getStore()!==undefined}get(i){return this.als.getStore()?.[i]}set(i,d){if(this.isProtectedKey(i)){throw new Error(`Cannot modify protected Lambda context field: ${String(i)}`)}const p=this.als.getStore();if(!p){throw new Error("No context available")}p[i]=d}run(i,d){return this.als.run(i,d)}}d.InvokeStore=void 0;(function(i){let d=null;async function getInstanceAsync(){if(!d){d=(async()=>{const i="AWS_LAMBDA_MAX_CONCURRENCY"in process.env;const d=i?await InvokeStoreMulti.create():new InvokeStoreSingle;if(!V&&globalThis.awslambda?.InvokeStore){return globalThis.awslambda.InvokeStore}else if(!V&&globalThis.awslambda){globalThis.awslambda.InvokeStore=d;return d}else{return d}})()}return d}i.getInstanceAsync=getInstanceAsync;i._testing=process.env.AWS_LAMBDA_BENCHMARK_MODE==="1"?{reset:()=>{d=null;if(globalThis.awslambda?.InvokeStore){delete globalThis.awslambda.InvokeStore}globalThis.awslambda={InvokeStore:undefined}}}:undefined})(d.InvokeStore||(d.InvokeStore={}));d.InvokeStoreBase=InvokeStoreBase},15862:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});var v=p(45004);var V=p(81391);var K=p(7132);const ee=v.createClientLogger("core-lro");const te=2e3;const re=["succeeded","canceled","failed"];function deserializeState(i){try{return JSON.parse(i).state}catch(d){throw new Error(`Unable to deserialize input state: ${i}`)}}function setStateError(i){const{state:d,stateProxy:p,isOperationError:v}=i;return i=>{if(v(i)){p.setError(d,i);p.setFailed(d)}throw i}}function appendReadableErrorMessage(i,d){let p=i;if(p.slice(-1)!=="."){p=p+"."}return p+" "+d}function simplifyError(i){let d=i.message;let p=i.code;let v=i;while(v.innererror){v=v.innererror;p=v.code;d=appendReadableErrorMessage(d,v.message)}return{code:p,message:d}}function processOperationStatus(i){const{state:d,stateProxy:p,status:v,isDone:V,processResult:K,getError:te,response:re,setErrorAsResult:ne}=i;switch(v){case"succeeded":{p.setSucceeded(d);break}case"failed":{const i=te===null||te===void 0?void 0:te(re);let v="";if(i){const{code:d,message:p}=simplifyError(i);v=`. ${d}. ${p}`}const V=`The long-running operation has failed${v}`;p.setError(d,new Error(V));p.setFailed(d);ee.warning(V);break}case"canceled":{p.setCanceled(d);break}}if((V===null||V===void 0?void 0:V(re,d))||V===undefined&&["succeeded","canceled"].concat(ne?[]:["failed"]).includes(v)){p.setResult(d,buildResult({response:re,state:d,processResult:K}))}}function buildResult(i){const{processResult:d,response:p,state:v}=i;return d?d(p,v):p}async function initOperation(i){const{init:d,stateProxy:p,processResult:v,getOperationStatus:V,withOperationLocation:K,setErrorAsResult:te}=i;const{operationLocation:re,resourceLocation:ne,metadata:ie,response:se}=await d();if(re)K===null||K===void 0?void 0:K(re,false);const oe={metadata:ie,operationLocation:re,resourceLocation:ne};ee.verbose(`LRO: Operation description:`,oe);const ae=p.initState(oe);const ce=V({response:se,state:ae,operationLocation:re});processOperationStatus({state:ae,status:ce,stateProxy:p,response:se,setErrorAsResult:te,processResult:v});return ae}async function pollOperationHelper(i){const{poll:d,state:p,stateProxy:v,operationLocation:V,getOperationStatus:K,getResourceLocation:te,isOperationError:ne,options:ie}=i;const se=await d(V,ie).catch(setStateError({state:p,stateProxy:v,isOperationError:ne}));const oe=K(se,p);ee.verbose(`LRO: Status:\n\tPolling from: ${p.config.operationLocation}\n\tOperation status: ${oe}\n\tPolling status: ${re.includes(oe)?"Stopped":"Running"}`);if(oe==="succeeded"){const i=te(se,p);if(i!==undefined){return{response:await d(i).catch(setStateError({state:p,stateProxy:v,isOperationError:ne})),status:oe}}}return{response:se,status:oe}}async function pollOperation(i){const{poll:d,state:p,stateProxy:v,options:V,getOperationStatus:K,getResourceLocation:ee,getOperationLocation:te,isOperationError:ne,withOperationLocation:ie,getPollingInterval:se,processResult:oe,getError:ae,updateState:ce,setDelay:le,isDone:ue,setErrorAsResult:Ae}=i;const{operationLocation:de}=p.config;if(de!==undefined){const{response:i,status:pe}=await pollOperationHelper({poll:d,getOperationStatus:K,state:p,stateProxy:v,operationLocation:de,getResourceLocation:ee,isOperationError:ne,options:V});processOperationStatus({status:pe,response:i,state:p,stateProxy:v,isDone:ue,processResult:oe,getError:ae,setErrorAsResult:Ae});if(!re.includes(pe)){const d=se===null||se===void 0?void 0:se(i);if(d)le(d);const v=te===null||te===void 0?void 0:te(i,p);if(v!==undefined){const i=de!==v;p.config.operationLocation=v;ie===null||ie===void 0?void 0:ie(v,i)}else ie===null||ie===void 0?void 0:ie(de,false)}ce===null||ce===void 0?void 0:ce(p,i)}}function getOperationLocationPollingUrl(i){const{azureAsyncOperation:d,operationLocation:p}=i;return p!==null&&p!==void 0?p:d}function getLocationHeader(i){return i.headers["location"]}function getOperationLocationHeader(i){return i.headers["operation-location"]}function getAzureAsyncOperationHeader(i){return i.headers["azure-asyncoperation"]}function findResourceLocation(i){const{location:d,requestMethod:p,requestPath:v,resourceLocationConfig:V}=i;switch(p){case"PUT":{return v}case"DELETE":{return undefined}default:{switch(V){case"azure-async-operation":{return undefined}case"original-uri":{return v}case"location":default:{return d}}}}}function inferLroMode(i){const{rawResponse:d,requestMethod:p,requestPath:v,resourceLocationConfig:V}=i;const K=getOperationLocationHeader(d);const ee=getAzureAsyncOperationHeader(d);const te=getOperationLocationPollingUrl({operationLocation:K,azureAsyncOperation:ee});const re=getLocationHeader(d);const ne=p===null||p===void 0?void 0:p.toLocaleUpperCase();if(te!==undefined){return{mode:"OperationLocation",operationLocation:te,resourceLocation:findResourceLocation({requestMethod:ne,location:re,requestPath:v,resourceLocationConfig:V})}}else if(re!==undefined){return{mode:"ResourceLocation",operationLocation:re}}else if(ne==="PUT"&&v){return{mode:"Body",operationLocation:v}}else{return undefined}}function transformStatus(i){const{status:d,statusCode:p}=i;if(typeof d!=="string"&&d!==undefined){throw new Error(`Polling was unsuccessful. Expected status to have a string value or no value but it has instead: ${d}. This doesn't necessarily indicate the operation has failed. Check your Azure subscription or resource status for more information.`)}switch(d===null||d===void 0?void 0:d.toLocaleLowerCase()){case undefined:return toOperationStatus(p);case"succeeded":return"succeeded";case"failed":return"failed";case"running":case"accepted":case"started":case"canceling":case"cancelling":return"running";case"canceled":case"cancelled":return"canceled";default:{ee.verbose(`LRO: unrecognized operation status: ${d}`);return d}}}function getStatus(i){var d;const{status:p}=(d=i.body)!==null&&d!==void 0?d:{};return transformStatus({status:p,statusCode:i.statusCode})}function getProvisioningState(i){var d,p;const{properties:v,provisioningState:V}=(d=i.body)!==null&&d!==void 0?d:{};const K=(p=v===null||v===void 0?void 0:v.provisioningState)!==null&&p!==void 0?p:V;return transformStatus({status:K,statusCode:i.statusCode})}function toOperationStatus(i){if(i===202){return"running"}else if(i<300){return"succeeded"}else{return"failed"}}function parseRetryAfter({rawResponse:i}){const d=i.headers["retry-after"];if(d!==undefined){const i=parseInt(d);return isNaN(i)?calculatePollingIntervalFromDate(new Date(d)):i*1e3}return undefined}function getErrorFromResponse(i){const d=i.flatResponse.error;if(!d){ee.warning(`The long-running operation failed but there is no error property in the response's body`);return}if(!d.code||!d.message){ee.warning(`The long-running operation failed but the error property in the response's body doesn't contain code or message`);return}return d}function calculatePollingIntervalFromDate(i){const d=Math.floor((new Date).getTime());const p=i.getTime();if(d{const i=await V.sendInitialRequest();const d=inferLroMode({rawResponse:i.rawResponse,requestPath:V.requestPath,requestMethod:V.requestMethod,resourceLocationConfig:p});return Object.assign({response:i,operationLocation:d===null||d===void 0?void 0:d.operationLocation,resourceLocation:d===null||d===void 0?void 0:d.resourceLocation},(d===null||d===void 0?void 0:d.mode)?{metadata:{mode:d.mode}}:{})},stateProxy:d,processResult:v?({flatResponse:i},d)=>v(i,d):({flatResponse:i})=>i,getOperationStatus:getStatusFromInitialResponse,setErrorAsResult:K})}function getOperationLocation({rawResponse:i},d){var p;const v=(p=d.config.metadata)===null||p===void 0?void 0:p["mode"];switch(v){case"OperationLocation":{return getOperationLocationPollingUrl({operationLocation:getOperationLocationHeader(i),azureAsyncOperation:getAzureAsyncOperationHeader(i)})}case"ResourceLocation":{return getLocationHeader(i)}case"Body":default:{return undefined}}}function getOperationStatus({rawResponse:i},d){var p;const v=(p=d.config.metadata)===null||p===void 0?void 0:p["mode"];switch(v){case"OperationLocation":{return getStatus(i)}case"ResourceLocation":{return toOperationStatus(i.statusCode)}case"Body":{return getProvisioningState(i)}default:throw new Error(`Internal error: Unexpected operation mode: ${v}`)}}function getResourceLocation({flatResponse:i},d){if(typeof i==="object"){const p=i.resourceLocation;if(p!==undefined){d.config.resourceLocation=p}}return d.config.resourceLocation}function isOperationError(i){return i.name==="RestError"}async function pollHttpOperation(i){const{lro:d,stateProxy:p,options:v,processResult:V,updateState:K,setDelay:ee,state:te,setErrorAsResult:re}=i;return pollOperation({state:te,stateProxy:p,setDelay:ee,processResult:V?({flatResponse:i},d)=>V(i,d):({flatResponse:i})=>i,getError:getErrorFromResponse,updateState:K,getPollingInterval:parseRetryAfter,getOperationLocation:getOperationLocation,getOperationStatus:getOperationStatus,isOperationError:isOperationError,getResourceLocation:getResourceLocation,options:v,poll:async(i,p)=>d.sendPollRequest(i,p),setErrorAsResult:re})}const createStateProxy$1=()=>({initState:i=>({status:"running",config:i}),setCanceled:i=>i.status="canceled",setError:(i,d)=>i.error=d,setResult:(i,d)=>i.result=d,setRunning:i=>i.status="running",setSucceeded:i=>i.status="succeeded",setFailed:i=>i.status="failed",getError:i=>i.error,getResult:i=>i.result,isCanceled:i=>i.status==="canceled",isFailed:i=>i.status==="failed",isRunning:i=>i.status==="running",isSucceeded:i=>i.status==="succeeded"});function buildCreatePoller(i){const{getOperationLocation:d,getStatusFromInitialResponse:p,getStatusFromPollResponse:v,isOperationError:ee,getResourceLocation:re,getPollingInterval:ne,getError:ie,resolveOnUnsuccessful:se}=i;return async({init:i,poll:oe},ae)=>{const{processResult:ce,updateState:le,withOperationLocation:ue,intervalInMs:Ae=te,restoreFrom:de}=ae||{};const pe=createStateProxy$1();const fe=ue?(()=>{let i=false;return(d,p)=>{if(p)ue(d);else if(!i)ue(d);i=true}})():undefined;const he=de?deserializeState(de):await initOperation({init:i,stateProxy:pe,processResult:ce,getOperationStatus:p,withOperationLocation:fe,setErrorAsResult:!se});let ge;const me=new V.AbortController;const Ee=new Map;const handleProgressEvents=async()=>Ee.forEach((i=>i(he)));const ye="Operation was canceled";let Ce=Ae;const be={getOperationState:()=>he,getResult:()=>he.result,isDone:()=>["succeeded","failed","canceled"].includes(he.status),isStopped:()=>ge===undefined,stopPolling:()=>{me.abort()},toString:()=>JSON.stringify({state:he}),onProgress:i=>{const d=Symbol();Ee.set(d,i);return()=>Ee.delete(d)},pollUntilDone:i=>ge!==null&&ge!==void 0?ge:ge=(async()=>{const{abortSignal:d}=i||{};const{signal:p}=d?new V.AbortController([d,me.signal]):me;if(!be.isDone()){await be.poll({abortSignal:p});while(!be.isDone()){await K.delay(Ce,{abortSignal:p});await be.poll({abortSignal:p})}}if(se){return be.getResult()}else{switch(he.status){case"succeeded":return be.getResult();case"canceled":throw new Error(ye);case"failed":throw he.error;case"notStarted":case"running":throw new Error(`Polling completed without succeeding or failing`)}}})().finally((()=>{ge=undefined})),async poll(i){if(se){if(be.isDone())return}else{switch(he.status){case"succeeded":return;case"canceled":throw new Error(ye);case"failed":throw he.error}}await pollOperation({poll:oe,state:he,stateProxy:pe,getOperationLocation:d,isOperationError:ee,withOperationLocation:fe,getPollingInterval:ne,getOperationStatus:v,getResourceLocation:re,processResult:ce,getError:ie,updateState:le,options:i,setDelay:i=>{Ce=i},setErrorAsResult:!se});await handleProgressEvents();if(!se){switch(he.status){case"canceled":throw new Error(ye);case"failed":throw he.error}}}};return be}}async function createHttpPoller(i,d){const{resourceLocationConfig:p,intervalInMs:v,processResult:V,restoreFrom:K,updateState:ee,withOperationLocation:te,resolveOnUnsuccessful:re=false}=d||{};return buildCreatePoller({getStatusFromInitialResponse:getStatusFromInitialResponse,getStatusFromPollResponse:getOperationStatus,isOperationError:isOperationError,getOperationLocation:getOperationLocation,getResourceLocation:getResourceLocation,getPollingInterval:parseRetryAfter,getError:getErrorFromResponse,resolveOnUnsuccessful:re})({init:async()=>{const d=await i.sendInitialRequest();const v=inferLroMode({rawResponse:d.rawResponse,requestPath:i.requestPath,requestMethod:i.requestMethod,resourceLocationConfig:p});return Object.assign({response:d,operationLocation:v===null||v===void 0?void 0:v.operationLocation,resourceLocation:v===null||v===void 0?void 0:v.resourceLocation},(v===null||v===void 0?void 0:v.mode)?{metadata:{mode:v.mode}}:{})},poll:i.sendPollRequest},{intervalInMs:v,withOperationLocation:te,restoreFrom:K,updateState:ee,processResult:V?({flatResponse:i},d)=>V(i,d):({flatResponse:i})=>i})}const createStateProxy=()=>({initState:i=>({config:i,isStarted:true}),setCanceled:i=>i.isCancelled=true,setError:(i,d)=>i.error=d,setResult:(i,d)=>i.result=d,setRunning:i=>i.isStarted=true,setSucceeded:i=>i.isCompleted=true,setFailed:()=>{},getError:i=>i.error,getResult:i=>i.result,isCanceled:i=>!!i.isCancelled,isFailed:i=>!!i.error,isRunning:i=>!!i.isStarted,isSucceeded:i=>Boolean(i.isCompleted&&!i.isCancelled&&!i.error)});class GenericPollOperation{constructor(i,d,p,v,V,K,ee){this.state=i;this.lro=d;this.setErrorAsResult=p;this.lroResourceLocationConfig=v;this.processResult=V;this.updateState=K;this.isDone=ee}setPollerConfig(i){this.pollerConfig=i}async update(i){var d;const p=createStateProxy();if(!this.state.isStarted){this.state=Object.assign(Object.assign({},this.state),await initHttpOperation({lro:this.lro,stateProxy:p,resourceLocationConfig:this.lroResourceLocationConfig,processResult:this.processResult,setErrorAsResult:this.setErrorAsResult}))}const v=this.updateState;const V=this.isDone;if(!this.state.isCompleted&&this.state.error===undefined){await pollHttpOperation({lro:this.lro,state:this.state,stateProxy:p,processResult:this.processResult,updateState:v?(i,{rawResponse:d})=>v(i,d):undefined,isDone:V?({flatResponse:i},d)=>V(i,d):undefined,options:i,setDelay:i=>{this.pollerConfig.intervalInMs=i},setErrorAsResult:this.setErrorAsResult})}(d=i===null||i===void 0?void 0:i.fireProgress)===null||d===void 0?void 0:d.call(i,this.state);return this}async cancel(){ee.error("`cancelOperation` is deprecated because it wasn't implemented");return this}toString(){return JSON.stringify({state:this.state})}}class PollerStoppedError extends Error{constructor(i){super(i);this.name="PollerStoppedError";Object.setPrototypeOf(this,PollerStoppedError.prototype)}}class PollerCancelledError extends Error{constructor(i){super(i);this.name="PollerCancelledError";Object.setPrototypeOf(this,PollerCancelledError.prototype)}}class Poller{constructor(i){this.resolveOnUnsuccessful=false;this.stopped=true;this.pollProgressCallbacks=[];this.operation=i;this.promise=new Promise(((i,d)=>{this.resolve=i;this.reject=d}));this.promise.catch((()=>{}))}async startPolling(i={}){if(this.stopped){this.stopped=false}while(!this.isStopped()&&!this.isDone()){await this.poll(i);await this.delay()}}async pollOnce(i={}){if(!this.isDone()){this.operation=await this.operation.update({abortSignal:i.abortSignal,fireProgress:this.fireProgress.bind(this)})}this.processUpdatedState()}fireProgress(i){for(const d of this.pollProgressCallbacks){d(i)}}async cancelOnce(i={}){this.operation=await this.operation.cancel(i)}poll(i={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(i);const clearPollOncePromise=()=>{this.pollOncePromise=undefined};this.pollOncePromise.then(clearPollOncePromise,clearPollOncePromise).catch(this.reject)}return this.pollOncePromise}processUpdatedState(){if(this.operation.state.error){this.stopped=true;if(!this.resolveOnUnsuccessful){this.reject(this.operation.state.error);throw this.operation.state.error}}if(this.operation.state.isCancelled){this.stopped=true;if(!this.resolveOnUnsuccessful){const i=new PollerCancelledError("Operation was canceled");this.reject(i);throw i}}if(this.isDone()&&this.resolve){this.resolve(this.getResult())}}async pollUntilDone(i={}){if(this.stopped){this.startPolling(i).catch(this.reject)}this.processUpdatedState();return this.promise}onProgress(i){this.pollProgressCallbacks.push(i);return()=>{this.pollProgressCallbacks=this.pollProgressCallbacks.filter((d=>d!==i))}}isDone(){const i=this.operation.state;return Boolean(i.isCompleted||i.isCancelled||i.error)}stopPolling(){if(!this.stopped){this.stopped=true;if(this.reject){this.reject(new PollerStoppedError("This poller is already stopped"))}}}isStopped(){return this.stopped}cancelOperation(i={}){if(!this.cancelPromise){this.cancelPromise=this.cancelOnce(i)}else if(i.abortSignal){throw new Error("A cancel request is currently pending")}return this.cancelPromise}getOperationState(){return this.operation.state}getResult(){const i=this.operation.state;return i.result}toString(){return this.operation.toString()}}class LroEngine extends Poller{constructor(i,d){const{intervalInMs:p=te,resumeFrom:v,resolveOnUnsuccessful:V=false,isDone:K,lroResourceLocationConfig:ee,processResult:re,updateState:ne}=d||{};const ie=v?deserializeState(v):{};const se=new GenericPollOperation(ie,i,!V,ee,re,ne,K);super(se);this.resolveOnUnsuccessful=V;this.config={intervalInMs:p};se.setPollerConfig(this.config)}delay(){return new Promise((i=>setTimeout((()=>i()),this.config.intervalInMs)))}}d.LroEngine=LroEngine;d.Poller=Poller;d.PollerCancelledError=PollerCancelledError;d.PollerStoppedError=PollerStoppedError;d.createHttpPoller=createHttpPoller},81391:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});const p=new WeakMap;const v=new WeakMap;class AbortSignal{constructor(){this.onabort=null;p.set(this,[]);v.set(this,false)}get aborted(){if(!v.has(this)){throw new TypeError("Expected `this` to be an instance of AbortSignal.")}return v.get(this)}static get none(){return new AbortSignal}addEventListener(i,d){if(!p.has(this)){throw new TypeError("Expected `this` to be an instance of AbortSignal.")}const v=p.get(this);v.push(d)}removeEventListener(i,d){if(!p.has(this)){throw new TypeError("Expected `this` to be an instance of AbortSignal.")}const v=p.get(this);const V=v.indexOf(d);if(V>-1){v.splice(V,1)}}dispatchEvent(i){throw new Error("This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes.")}}function abortSignal(i){if(i.aborted){return}if(i.onabort){i.onabort.call(i)}const d=p.get(i);if(d){d.slice().forEach((d=>{d.call(i,{type:"abort"})}))}v.set(i,true)}class AbortError extends Error{constructor(i){super(i);this.name="AbortError"}}class AbortController{constructor(i){this._signal=new AbortSignal;if(!i){return}if(!Array.isArray(i)){i=arguments}for(const d of i){if(d.aborted){this.abort()}else{d.addEventListener("abort",(()=>{this.abort()}))}}}get signal(){return this._signal}abort(){abortSignal(this._signal)}static timeout(i){const d=new AbortSignal;const p=setTimeout(abortSignal,i,d);if(typeof p.unref==="function"){p.unref()}return d}}d.AbortController=AbortController;d.AbortError=AbortError;d.AbortSignal=AbortSignal},7132:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});var v=p(81391);var V=p(76982);var K;const ee=typeof process!=="undefined"&&Boolean(process.version)&&Boolean((K=process.versions)===null||K===void 0?void 0:K.node);function createAbortablePromise(i,d){const{cleanupBeforeAbort:p,abortSignal:V,abortErrorMsg:K}=d!==null&&d!==void 0?d:{};return new Promise(((d,ee)=>{function rejectOnAbort(){ee(new v.AbortError(K!==null&&K!==void 0?K:"The operation was aborted."))}function removeListeners(){V===null||V===void 0?void 0:V.removeEventListener("abort",onAbort)}function onAbort(){p===null||p===void 0?void 0:p();removeListeners();rejectOnAbort()}if(V===null||V===void 0?void 0:V.aborted){return rejectOnAbort()}try{i((i=>{removeListeners();d(i)}),(i=>{removeListeners();ee(i)}))}catch(i){ee(i)}V===null||V===void 0?void 0:V.addEventListener("abort",onAbort)}))}const te="The delay was aborted.";function delay(i,d){let p;const{abortSignal:v,abortErrorMsg:V}=d!==null&&d!==void 0?d:{};return createAbortablePromise((d=>{p=setTimeout(d,i)}),{cleanupBeforeAbort:()=>clearTimeout(p),abortSignal:v,abortErrorMsg:V!==null&&V!==void 0?V:te})}function getRandomIntegerInclusive(i,d){i=Math.ceil(i);d=Math.floor(d);const p=Math.floor(Math.random()*(d-i+1));return p+i}function isObject(i){return typeof i==="object"&&i!==null&&!Array.isArray(i)&&!(i instanceof RegExp)&&!(i instanceof Date)}function isError(i){if(isObject(i)){const d=typeof i.name==="string";const p=typeof i.message==="string";return d&&p}return false}function getErrorMessage(i){if(isError(i)){return i.message}else{let d;try{if(typeof i==="object"&&i){d=JSON.stringify(i)}else{d=String(i)}}catch(i){d="[unable to stringify input]"}return`Unknown error ${d}`}}async function computeSha256Hmac(i,d,p){const v=Buffer.from(i,"base64");return V.createHmac("sha256",v).update(d).digest(p)}async function computeSha256Hash(i,d){return V.createHash("sha256").update(i).digest(d)}function isDefined(i){return typeof i!=="undefined"&&i!==null}function isObjectWithProperties(i,d){if(!isDefined(i)||typeof i!=="object"){return false}for(const p of d){if(!objectHasProperty(i,p)){return false}}return true}function objectHasProperty(i,d){return isDefined(i)&&typeof i==="object"&&d in i}function generateUUID(){let i="";for(let d=0;d<32;d++){const p=Math.floor(Math.random()*16);if(d===12){i+="4"}else if(d===16){i+=p&3|8}else{i+=p.toString(16)}if(d===7||d===11||d===15||d===19){i+="-"}}return i}var re;let ne=typeof((re=globalThis===null||globalThis===void 0?void 0:globalThis.crypto)===null||re===void 0?void 0:re.randomUUID)==="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):V.randomUUID;if(!ne){ne=generateUUID}function randomUUID(){return ne()}d.computeSha256Hash=computeSha256Hash;d.computeSha256Hmac=computeSha256Hmac;d.createAbortablePromise=createAbortablePromise;d.delay=delay;d.getErrorMessage=getErrorMessage;d.getRandomIntegerInclusive=getRandomIntegerInclusive;d.isDefined=isDefined;d.isError=isError;d.isNode=ee;d.isObject=isObject;d.isObjectWithProperties=isObjectWithProperties;d.objectHasProperty=objectHasProperty;d.randomUUID=randomUUID},45004:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});var v=p(70857);var V=p(39023);function _interopDefaultLegacy(i){return i&&typeof i==="object"&&"default"in i?i:{default:i}}var K=_interopDefaultLegacy(V);function log(i,...d){process.stderr.write(`${K["default"].format(i,...d)}${v.EOL}`)}const ee=typeof process!=="undefined"&&process.env&&process.env.DEBUG||undefined;let te;let re=[];let ne=[];const ie=[];if(ee){enable(ee)}const se=Object.assign((i=>createDebugger(i)),{enable:enable,enabled:enabled,disable:disable,log:log});function enable(i){te=i;re=[];ne=[];const d=/\*/g;const p=i.split(",").map((i=>i.trim().replace(d,".*?")));for(const i of p){if(i.startsWith("-")){ne.push(new RegExp(`^${i.substr(1)}$`))}else{re.push(new RegExp(`^${i}$`))}}for(const i of ie){i.enabled=enabled(i.namespace)}}function enabled(i){if(i.endsWith("*")){return true}for(const d of ne){if(d.test(i)){return false}}for(const d of re){if(d.test(i)){return true}}return false}function disable(){const i=te||"";enable("");return i}function createDebugger(i){const d=Object.assign(debug,{enabled:enabled(i),destroy:destroy,log:se.log,namespace:i,extend:extend});function debug(...p){if(!d.enabled){return}if(p.length>0){p[0]=`${i} ${p[0]}`}d.log(...p)}ie.push(d);return d}function destroy(){const i=ie.indexOf(this);if(i>=0){ie.splice(i,1);return true}return false}function extend(i){const d=createDebugger(`${this.namespace}:${i}`);d.log=this.log;return d}var oe=se;const ae=new Set;const ce=typeof process!=="undefined"&&process.env&&process.env.AZURE_LOG_LEVEL||undefined;let le;const ue=oe("azure");ue.log=(...i)=>{oe.log(...i)};const Ae=["verbose","info","warning","error"];if(ce){if(isAzureLogLevel(ce)){setLogLevel(ce)}else{console.error(`AZURE_LOG_LEVEL set to unknown log level '${ce}'; logging is not enabled. Acceptable values: ${Ae.join(", ")}.`)}}function setLogLevel(i){if(i&&!isAzureLogLevel(i)){throw new Error(`Unknown log level '${i}'. Acceptable values: ${Ae.join(",")}`)}le=i;const d=[];for(const i of ae){if(shouldEnable(i)){d.push(i.namespace)}}oe.enable(d.join(","))}function getLogLevel(){return le}const de={verbose:400,info:300,warning:200,error:100};function createClientLogger(i){const d=ue.extend(i);patchLogMethod(ue,d);return{error:createLogger(d,"error"),warning:createLogger(d,"warning"),info:createLogger(d,"info"),verbose:createLogger(d,"verbose")}}function patchLogMethod(i,d){d.log=(...d)=>{i.log(...d)}}function createLogger(i,d){const p=Object.assign(i.extend(d),{level:d});patchLogMethod(i,p);if(shouldEnable(p)){const i=oe.disable();oe.enable(i+","+p.namespace)}ae.add(p);return p}function shouldEnable(i){return Boolean(le&&de[i.level]<=de[le])}function isAzureLogLevel(i){return Ae.includes(i)}d.AzureLogger=ue;d.createClientLogger=createClientLogger;d.getLogLevel=getLogLevel;d.setLogLevel=setLogLevel},93849:i=>{var d;var p;var v;var V;var K;var ee;var te;var re;var ne;var ie;var se;var oe;var ae;var ce;var le;var ue;var Ae;var de;var pe;var fe;var he;var ge;var me;var Ee;var ye;var Ce;var be;var Ie;var Be;var we;var Se;var Qe;(function(d){var p=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(i){d(createExporter(p,createExporter(i)))}))}else if(true&&typeof i.exports==="object"){d(createExporter(p,createExporter(i.exports)))}else{d(createExporter(p))}function createExporter(i,d){if(i!==p){if(typeof Object.create==="function"){Object.defineProperty(i,"__esModule",{value:true})}else{i.__esModule=true}}return function(p,v){return i[p]=d?d(p,v):v}}})((function(i){var ve=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,d){i.__proto__=d}||function(i,d){for(var p in d)if(Object.prototype.hasOwnProperty.call(d,p))i[p]=d[p]};d=function(i,d){if(typeof d!=="function"&&d!==null)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");ve(i,d);function __(){this.constructor=i}i.prototype=d===null?Object.create(d):(__.prototype=d.prototype,new __)};p=Object.assign||function(i){for(var d,p=1,v=arguments.length;p=0;te--)if(ee=i[te])K=(V<3?ee(K):V>3?ee(d,p,K):ee(d,p))||K;return V>3&&K&&Object.defineProperty(d,p,K),K};K=function(i,d){return function(p,v){d(p,v,i)}};ee=function(i,d,p,v,V,K){function accept(i){if(i!==void 0&&typeof i!=="function")throw new TypeError("Function expected");return i}var ee=v.kind,te=ee==="getter"?"get":ee==="setter"?"set":"value";var re=!d&&i?v["static"]?i:i.prototype:null;var ne=d||(re?Object.getOwnPropertyDescriptor(re,v.name):{});var ie,se=false;for(var oe=p.length-1;oe>=0;oe--){var ae={};for(var ce in v)ae[ce]=ce==="access"?{}:v[ce];for(var ce in v.access)ae.access[ce]=v.access[ce];ae.addInitializer=function(i){if(se)throw new TypeError("Cannot add initializers after decoration has completed");K.push(accept(i||null))};var le=(0,p[oe])(ee==="accessor"?{get:ne.get,set:ne.set}:ne[te],ae);if(ee==="accessor"){if(le===void 0)continue;if(le===null||typeof le!=="object")throw new TypeError("Object expected");if(ie=accept(le.get))ne.get=ie;if(ie=accept(le.set))ne.set=ie;if(ie=accept(le.init))V.unshift(ie)}else if(ie=accept(le)){if(ee==="field")V.unshift(ie);else ne[te]=ie}}if(re)Object.defineProperty(re,v.name,ne);se=true};te=function(i,d,p){var v=arguments.length>2;for(var V=0;V0&&K[K.length-1])&&(te[0]===6||te[0]===2)){p=0;continue}if(te[0]===3&&(!K||te[1]>K[0]&&te[1]=i.length)i=void 0;return{value:i&&i[v++],done:!i}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};le=function(i,d){var p=typeof Symbol==="function"&&i[Symbol.iterator];if(!p)return i;var v=p.call(i),V,K=[],ee;try{while((d===void 0||d-- >0)&&!(V=v.next()).done)K.push(V.value)}catch(i){ee={error:i}}finally{try{if(V&&!V.done&&(p=v["return"]))p.call(v)}finally{if(ee)throw ee.error}}return K};ue=function(){for(var i=[],d=0;d1||resume(i,d)}))};if(d)V[i]=d(V[i])}}function resume(i,d){try{step(v[i](d))}catch(i){settle(K[0][3],i)}}function step(i){i.value instanceof pe?Promise.resolve(i.value.v).then(fulfill,reject):settle(K[0][2],i)}function fulfill(i){resume("next",i)}function reject(i){resume("throw",i)}function settle(i,d){if(i(d),K.shift(),K.length)resume(K[0][0],K[0][1])}};he=function(i){var d,p;return d={},verb("next"),verb("throw",(function(i){throw i})),verb("return"),d[Symbol.iterator]=function(){return this},d;function verb(v,V){d[v]=i[v]?function(d){return(p=!p)?{value:pe(i[v](d)),done:false}:V?V(d):d}:V}};ge=function(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var d=i[Symbol.asyncIterator],p;return d?d.call(i):(i=typeof ce==="function"?ce(i):i[Symbol.iterator](),p={},verb("next"),verb("throw"),verb("return"),p[Symbol.asyncIterator]=function(){return this},p);function verb(d){p[d]=i[d]&&function(p){return new Promise((function(v,V){p=i[d](p),settle(v,V,p.done,p.value)}))}}function settle(i,d,p,v){Promise.resolve(v).then((function(d){i({value:d,done:p})}),d)}};me=function(i,d){if(Object.defineProperty){Object.defineProperty(i,"raw",{value:d})}else{i.raw=d}return i};var Re=Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d};var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};Ee=function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),v=0;v{var d;var p;var v;var V;var K;var ee;var te;var re;var ne;var ie;var se;var oe;var ae;var ce;var le;var ue;var Ae;var de;var pe;var fe;var he;var ge;var me;var Ee;var ye;var Ce;var be;var Ie;var Be;var we;var Se;var Qe;(function(d){var p=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(i){d(createExporter(p,createExporter(i)))}))}else if(true&&typeof i.exports==="object"){d(createExporter(p,createExporter(i.exports)))}else{d(createExporter(p))}function createExporter(i,d){if(i!==p){if(typeof Object.create==="function"){Object.defineProperty(i,"__esModule",{value:true})}else{i.__esModule=true}}return function(p,v){return i[p]=d?d(p,v):v}}})((function(i){var ve=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,d){i.__proto__=d}||function(i,d){for(var p in d)if(Object.prototype.hasOwnProperty.call(d,p))i[p]=d[p]};d=function(i,d){if(typeof d!=="function"&&d!==null)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");ve(i,d);function __(){this.constructor=i}i.prototype=d===null?Object.create(d):(__.prototype=d.prototype,new __)};p=Object.assign||function(i){for(var d,p=1,v=arguments.length;p=0;te--)if(ee=i[te])K=(V<3?ee(K):V>3?ee(d,p,K):ee(d,p))||K;return V>3&&K&&Object.defineProperty(d,p,K),K};K=function(i,d){return function(p,v){d(p,v,i)}};ee=function(i,d,p,v,V,K){function accept(i){if(i!==void 0&&typeof i!=="function")throw new TypeError("Function expected");return i}var ee=v.kind,te=ee==="getter"?"get":ee==="setter"?"set":"value";var re=!d&&i?v["static"]?i:i.prototype:null;var ne=d||(re?Object.getOwnPropertyDescriptor(re,v.name):{});var ie,se=false;for(var oe=p.length-1;oe>=0;oe--){var ae={};for(var ce in v)ae[ce]=ce==="access"?{}:v[ce];for(var ce in v.access)ae.access[ce]=v.access[ce];ae.addInitializer=function(i){if(se)throw new TypeError("Cannot add initializers after decoration has completed");K.push(accept(i||null))};var le=(0,p[oe])(ee==="accessor"?{get:ne.get,set:ne.set}:ne[te],ae);if(ee==="accessor"){if(le===void 0)continue;if(le===null||typeof le!=="object")throw new TypeError("Object expected");if(ie=accept(le.get))ne.get=ie;if(ie=accept(le.set))ne.set=ie;if(ie=accept(le.init))V.unshift(ie)}else if(ie=accept(le)){if(ee==="field")V.unshift(ie);else ne[te]=ie}}if(re)Object.defineProperty(re,v.name,ne);se=true};te=function(i,d,p){var v=arguments.length>2;for(var V=0;V0&&K[K.length-1])&&(te[0]===6||te[0]===2)){p=0;continue}if(te[0]===3&&(!K||te[1]>K[0]&&te[1]=i.length)i=void 0;return{value:i&&i[v++],done:!i}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};le=function(i,d){var p=typeof Symbol==="function"&&i[Symbol.iterator];if(!p)return i;var v=p.call(i),V,K=[],ee;try{while((d===void 0||d-- >0)&&!(V=v.next()).done)K.push(V.value)}catch(i){ee={error:i}}finally{try{if(V&&!V.done&&(p=v["return"]))p.call(v)}finally{if(ee)throw ee.error}}return K};ue=function(){for(var i=[],d=0;d1||resume(i,d)}))};if(d)V[i]=d(V[i])}}function resume(i,d){try{step(v[i](d))}catch(i){settle(K[0][3],i)}}function step(i){i.value instanceof pe?Promise.resolve(i.value.v).then(fulfill,reject):settle(K[0][2],i)}function fulfill(i){resume("next",i)}function reject(i){resume("throw",i)}function settle(i,d){if(i(d),K.shift(),K.length)resume(K[0][0],K[0][1])}};he=function(i){var d,p;return d={},verb("next"),verb("throw",(function(i){throw i})),verb("return"),d[Symbol.iterator]=function(){return this},d;function verb(v,V){d[v]=i[v]?function(d){return(p=!p)?{value:pe(i[v](d)),done:false}:V?V(d):d}:V}};ge=function(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var d=i[Symbol.asyncIterator],p;return d?d.call(i):(i=typeof ce==="function"?ce(i):i[Symbol.iterator](),p={},verb("next"),verb("throw"),verb("return"),p[Symbol.asyncIterator]=function(){return this},p);function verb(d){p[d]=i[d]&&function(p){return new Promise((function(v,V){p=i[d](p),settle(v,V,p.done,p.value)}))}}function settle(i,d,p,v){Promise.resolve(v).then((function(d){i({value:d,done:p})}),d)}};me=function(i,d){if(Object.defineProperty){Object.defineProperty(i,"raw",{value:d})}else{i.raw=d}return i};var Re=Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d};var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};Ee=function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),v=0;v{Object.defineProperty(d,"__esModule",{value:true});d.Git=void 0;class Git{static parseURL(i){const d=i.match(Git.protoRegexp);if(d&&d.length>0){let p=d[0].toLowerCase();p=p.slice(0,p.lastIndexOf("://"));if(!(p in Git.supportedProtos)){throw new Error(`Invalid protocol: ${p}`)}return Git.fromURL(new URL(i))}throw new Error("Unknown protocol")}static fromURL(i){const d=new URL(i.toString());d.hash="";let p;if(i.username||i.password){p={username:i.username,password:i.password,passwordSet:i.password!==""}}return{scheme:i.protocol.slice(0,-1),user:p,host:`${i.hostname}${i.port?":"+i.port:""}`,path:i.pathname,fragment:Git.splitGitFragment(i.hash),remote:d.toString()}}static splitGitFragment(i){if(i===""){return undefined}const[d,p]=i.slice(1).split(":");return{ref:d,subdir:p}}static parseRef(i){const d={};let p;if(i.startsWith("./")||i.startsWith("../")){throw new Error("Invalid argument")}else if(i.startsWith("github.com/")){d.indistinguishableFromLocal=true;p=Git.fromURL(new URL("https://"+i))}else{p=Git.parseURL(i);if(["http","git"].includes(p.scheme)){d.unencryptedTCP=true}if(["http","https"].includes(p.scheme)&&!p.path.endsWith(".git")){throw new Error("Invalid argument")}}d.remote=p.remote;if(d.indistinguishableFromLocal){d.remote=d.remote.split("://")[1]}if(p.fragment){d.commit=p.fragment.ref;d.subDir=p.fragment.subdir}const v=d.remote.split("/");d.shortName=v[v.length-1].replace(".git","");return d}}d.Git=Git;Git.protoRegexp=new RegExp("^[a-zA-Z0-9]+://");Git.supportedProtos={http:{},https:{},ssh:{},git:{}}},53954:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K{if(i.stderr.length>0&&i.exitCode!=0){ie.debug(`Buildx.isAvailable cmd err: ${i.stderr.trim()}`);return false}return i.exitCode==0})).catch((i=>{ie.debug(`Buildx.isAvailable error: ${i}`);return false}));ie.debug(`Buildx.isAvailable: ${d}`);return d}))}version(){return ee(this,void 0,void 0,(function*(){if(this._versionOnce){return this._version}this._versionOnce=true;const i=yield this.getCommand(["version"]);this._version=yield le.Exec.getExecOutput(i.command,i.args,{ignoreReturnCode:true,silent:true}).then((i=>{if(i.stderr.length>0&&i.exitCode!=0){throw new Error(i.stderr.trim())}return Buildx.parseVersion(i.stdout.trim())}));return this._version}))}printVersion(){return ee(this,void 0,void 0,(function*(){const i=yield this.getCommand(["version"]);yield le.Exec.exec(i.command,i.args,{failOnStdErr:false})}))}static parseVersion(i){const d=/\sv?([0-9a-f]{7}|[0-9.]+)/.exec(i);if(!d){throw new Error(`Cannot parse buildx version`)}return d[1]}versionSatisfies(i,d){return ee(this,void 0,void 0,(function*(){const p=d!==null&&d!==void 0?d:yield this.version();if(!p){ie.debug(`Buildx.versionSatisfies false: undefined version`);return false}const v=se.satisfies(p,i)||/^[0-9a-f]{7}$/.exec(p)!==null;ie.debug(`Buildx.versionSatisfies ${p} statisfies ${i}: ${v}`);return v}))}static resolveCertsDriverOpts(i,d,p){let v;try{v=new URL(d)}catch(i){return[]}if(v.protocol!="tcp:"){return[]}const V=[];if(Object.keys(p).length==0){return V}let K=v.hostname;if(v.port.length>0){K+=`-${v.port}`}if(p.cacert!==undefined){const i=ne.default.join(Buildx.certsDir,`cacert_${K}.pem`);re.default.writeFileSync(i,p.cacert);V.push(`cacert=${i}`)}if(p.cert!==undefined){const i=ne.default.join(Buildx.certsDir,`cert_${K}.pem`);re.default.writeFileSync(i,p.cert);V.push(`cert=${i}`)}if(p.key!==undefined){const i=ne.default.join(Buildx.certsDir,`key_${K}.pem`);re.default.writeFileSync(i,p.key);V.push(`key=${i}`)}if(i!="remote"){return[]}return V}static localState(i,d){const[p,v,V]=i.split("/");if(!p||!v||!V){throw new Error(`Invalid build reference: ${i}`)}const K=ne.default.join(d||Buildx.refsDir,p,v,V);if(!re.default.existsSync(K)){throw new Error(`Local state not found in ${K}`)}return Buildx.fixLocalState(JSON.parse(re.default.readFileSync(K,"utf8")))}static fixLocalState(i){const fnTrimToValidContext=function(i){const d=i.match(/(.*)(https?:\/{1,2}\S+|ssh:\/{1,2}\S+|git:\/{1,2}\S+)/i);if(d&&d.length==3){const i=d[1];let p=d[2];if(p.startsWith("https:/")&&!p.startsWith("https://")){p=p.replace("https:/","https://")}if(p.startsWith("http:/")&&!p.startsWith("http://")){p=p.replace("http:/","http://")}if(p.startsWith("ssh:/")&&!p.startsWith("ssh://")){p=p.replace("ssh:/","ssh://")}if(p.startsWith("git:/")&&!p.startsWith("git://")){p=p.replace("git:/","git://")}return[p,i,true]}return[i,"",false]};const[d,p,v]=fnTrimToValidContext(i.LocalPath);if(v){i.LocalPath=d;if(i.DockerfilePath.indexOf(p)===0){i.DockerfilePath=i.DockerfilePath.substring(p.length)}}i.LocalPath=i.LocalPath.endsWith("/-")?"-":i.LocalPath;i.DockerfilePath=i.DockerfilePath.endsWith("/-")?"-":i.DockerfilePath;return i}static refs(i,d={}){const{dir:p,builderName:v,nodeName:V,since:K}=i;let ee=ne.default.resolve(p);if(i.builderName){ee=ne.default.join(ee,i.builderName)}if(i.nodeName){ee=ne.default.join(ee,i.nodeName)}if(!re.default.existsSync(ee)){return d}const te=re.default.readdirSync(ee);for(const p of te){const te=ne.default.join(ee,p);const ie=re.default.statSync(te);if(ie.isDirectory()){const K=Object.assign({},i);if(!v){if(p==="__group__"){continue}K.builderName=p}else if(!V){K.nodeName=p}Buildx.refs(K,d)}else{if(K&&ie.mtimeatob(i))).join(" ");let ne=atob(d.short).replace(/\s\(line \d+\)$/,"");if(d.url){ne+=`\nMore info: ${d.url}`}const se=d.range&&d.range.length>0?(K=d.range[0])===null||K===void 0?void 0:K.start.line:undefined;let oe=false;for(const d of ee){if(d.remote||d.path.endsWith(i)&&d.content===p){te.push({title:re,message:ne,file:d.path,startLine:se});oe=true;break}}if(!oe){ie.debug(`Buildx.convertWarningsToGitHubAnnotations: skipping warning without matching Dockerfile ${i}: ${re}`)}}return te}))}}d.Buildx=Buildx;Buildx.containerNamePrefix="buildx_buildkit_"},70581:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K{se.debug(`Docker.isAvailable ok: ${i}`);return true})).catch((i=>{se.debug(`Docker.isAvailable error: ${i}`);return false}))}))}static isDaemonRunning(){return ee(this,void 0,void 0,(function*(){try{yield Docker.getExecOutput([`version`],{silent:true});return true}catch(i){return false}}))}static exec(i,d){return ee(this,void 0,void 0,(function*(){return le.Exec.exec("docker",i,Docker.execOptions(d))}))}static getExecOutput(i,d){return ee(this,void 0,void 0,(function*(){return le.Exec.getExecOutput("docker",i,Docker.execOptions(d))}))}static execOptions(i){if(!i){i={}}if(!i.env){i.env=Object.assign({},process.env,{DOCKER_CONTENT_TRUST:"false"})}else{i.env.DOCKER_CONTENT_TRUST="false"}return i}static context(i){return ee(this,void 0,void 0,(function*(){const d=["context","inspect","--format","{{.Name}}"];if(i){d.push(i)}return yield Docker.getExecOutput(d,{ignoreReturnCode:true,silent:true}).then((i=>{if(i.stderr.length>0&&i.exitCode!=0){throw new Error(i.stderr)}return i.stdout.trim()}))}))}static contextInspect(i){return ee(this,void 0,void 0,(function*(){const d=["context","inspect","--format=json"];if(i){d.push(i)}return yield Docker.getExecOutput(d,{ignoreReturnCode:true,silent:true}).then((i=>{if(i.stderr.length>0&&i.exitCode!=0){throw new Error(i.stderr.trim())}return JSON.parse(i.stdout.trim())[0]}))}))}static printVersion(){return ee(this,void 0,void 0,(function*(){yield Docker.exec(["version"])}))}static printInfo(){return ee(this,void 0,void 0,(function*(){yield Docker.exec(["info"])}))}static parseRepoTag(i){let d;const p=i.indexOf("@");const v=i.lastIndexOf(":");if(p>=0){d=p}else if(v>=0){d=v}else{return{repository:i,tag:"latest"}}const V=i.slice(d+1);if(V.indexOf("/")===-1){return{repository:i.slice(0,d),tag:V}}return{repository:i,tag:"latest"}}static pull(i,d){return ee(this,void 0,void 0,(function*(){const p=Docker.parseRepoTag(i);const v=p.repository.replace(/[^a-zA-Z0-9.]+/g,"--");const V=p.tag.replace(/[^a-zA-Z0-9.]+/g,"--");const K=new ce.Cache({htcName:v,htcVersion:V,baseCacheDir:ie.default.join(Docker.configDir,".cache","images",v),cacheFile:"image.tar"});let te;if(d){te=yield K.find();if(te){se.info(`Image found from cache in ${te}`);yield Docker.getExecOutput(["load","-i",te],{ignoreReturnCode:true}).then((i=>{var d,p,v;if(i.stderr.length>0&&i.exitCode!=0){se.warning(`Failed to load image from cache: ${(v=(p=(d=i.stderr.match(/(.*)\s*$/))===null||d===void 0?void 0:d[0])===null||p===void 0?void 0:p.trim())!==null&&v!==void 0?v:"unknown error"}`)}}))}}let re=true;yield Docker.getExecOutput(["pull",i],{ignoreReturnCode:true}).then((i=>{var d,p,v;if(i.stderr.length>0&&i.exitCode!=0){re=false;const V=(v=(p=(d=i.stderr.match(/(.*)\s*$/))===null||d===void 0?void 0:d[0])===null||p===void 0?void 0:p.trim())!==null&&v!==void 0?v:"unknown error";if(te){se.warning(`Failed to pull image, using one from cache: ${V}`)}else{throw new Error(V)}}}));if(d&&re){const d=ie.default.join(ae.Context.tmpDir(),`${ue.Util.hash(i)}.tar`);yield Docker.getExecOutput(["save","-o",d,i],{ignoreReturnCode:true}).then((i=>ee(this,void 0,void 0,(function*(){var p,v,V;if(i.stderr.length>0&&i.exitCode!=0){se.warning(`Failed to save image: ${(V=(v=(p=i.stderr.match(/(.*)\s*$/))===null||p===void 0?void 0:p[0])===null||v===void 0?void 0:v.trim())!==null&&V!==void 0?V:"unknown error"}`)}else{const i=yield K.save(d);se.info(`Image cached to ${i}`)}}))))}}))}}d.Docker=Docker},55162:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Ki.data))}releases(i,d){return ee(this,void 0,void 0,(function*(){let p;try{p=yield this.releasesRaw(i,d)}catch(v){if(!this.githubToken){throw v}p=yield this.releasesRaw(i,d,this.githubToken)}return p}))}releasesRaw(i,d,p){return ee(this,void 0,void 0,(function*(){const v=`https://raw.githubusercontent.com/${d.owner}/${d.repo}/${d.ref}/${d.path}`;const V=new ge.HttpClient("docker-actions-toolkit");const K=yield V.get(v,p?{Authorization:`token ${p}`}:undefined);const ee=yield K.readBody();const te=K.message.statusCode||500;if(te>=400){throw new Error(`Failed to get ${i} releases from ${v} with status code ${te}: ${ee}`)}return JSON.parse(ee)}))}static get context(){return he.context}static get serverURL(){return process.env.GITHUB_SERVER_URL||"https://github.com"}static get apiURL(){return process.env.GITHUB_API_URL||"https://api.github.com"}static get isGHES(){return(0,ue.isGhes)()}static get repository(){return`${he.context.repo.owner}/${he.context.repo.repo}`}static get workspace(){return process.env.GITHUB_WORKSPACE||process.cwd()}static get runId(){return process.env.GITHUB_RUN_ID?+process.env.GITHUB_RUN_ID:he.context.runId}static get runAttempt(){return process.env.GITHUB_RUN_ATTEMPT?+process.env.GITHUB_RUN_ATTEMPT:1}static workflowRunURL(i){return`${GitHub.serverURL}/${GitHub.repository}/actions/runs/${GitHub.runId}${i?`/attempts/${GitHub.runAttempt}`:""}`}static get actionsRuntimeToken(){const i=process.env["ACTIONS_RUNTIME_TOKEN"]||"";return i?(0,Ee.jwtDecode)(i):undefined}static printActionsRuntimeTokenACs(){return ee(this,void 0,void 0,(function*(){let i;try{i=GitHub.actionsRuntimeToken}catch(i){throw new Error(`Cannot parse GitHub Actions Runtime Token: ${i.message}`)}if(!i){throw new Error(`ACTIONS_RUNTIME_TOKEN not set`)}try{JSON.parse(`${i.ac}`).forEach((i=>{let d;switch(i.Permission){case 1:d="read";break;case 2:d="write";break;case 3:d="read/write";break;default:d=`unimplemented (${i.Permission})`}fe.info(`${i.Scope}: ${d}`)}))}catch(i){throw new Error(`Cannot parse GitHub Actions Runtime Token ACs: ${i.message}`)}}))}static uploadArtifact(i){return ee(this,void 0,void 0,(function*(){if(GitHub.isGHES){throw new Error("@actions/artifact v2.0.0+ is currently not supported on GHES.")}const d=ae.default.basename(i.filename);const p=(0,Ae.getBackendIdsFromToken)();const v=(0,le.internalArtifactTwirpClient)();fe.info(`Uploading ${d} to blob storage`);const V={workflowRunBackendId:p.workflowRunBackendId,workflowJobRunBackendId:p.workflowJobRunBackendId,name:d,version:4};const K=(0,de.getExpiration)(i===null||i===void 0?void 0:i.retentionDays);if(K){V.expiresAt=K}const ee=yield v.CreateArtifact(V);if(!ee.ok){throw new pe.InvalidResponseError("cannot create artifact client")}let te=0;const ie=new me.BlobClient(ee.signedUploadUrl);const se=ie.getBlockBlobClient();const oe={blobContentDisposition:`attachment; filename="${d}"`};if(i.mimeType){oe.blobContentType=i.mimeType}fe.debug(`Upload headers: ${JSON.stringify(oe)}`);try{fe.info("Beginning upload of artifact content to blob storage");yield se.uploadFile(i.filename,{blobHTTPHeaders:oe,onProgress:i=>{fe.info(`Uploaded bytes ${i.loadedBytes}`);te=i.loadedBytes}})}catch(i){if(pe.NetworkError.isNetworkErrorCode(i===null||i===void 0?void 0:i.code)){throw new pe.NetworkError(i===null||i===void 0?void 0:i.code)}throw i}fe.info("Finished uploading artifact content to blob storage!");const ue=re.default.createHash("sha256").update(ne.default.readFileSync(i.filename)).digest("hex");fe.info(`SHA256 hash of uploaded artifact is ${ue}`);const he={workflowRunBackendId:p.workflowRunBackendId,workflowJobRunBackendId:p.workflowJobRunBackendId,name:d,size:te?te.toString():"0"};if(ue){he.hash=ce.StringValue.create({value:`sha256:${ue}`})}fe.info(`Finalizing artifact upload`);const ge=yield v.FinalizeArtifact(he);if(!ge.ok){throw new pe.InvalidResponseError("Cannot finalize artifact upload")}const Ee=BigInt(ge.artifactId);fe.info(`Artifact successfully finalized (${Ee})`);const ye=`${GitHub.workflowRunURL()}/artifacts/${Ee}`;fe.info(`Artifact download URL: ${ye}`);return{id:Number(Ee),filename:d,size:te,url:ye}}))}static writeBuildSummary(i){return ee(this,void 0,void 0,(function*(){var d,p,v;const addLink=function(i,d,p=false){return`${i}`+(p?oe.default.EOL:"")};const V=i.exportRes.refs.length;const K=V>0?(d=i.exportRes.refs)===null||d===void 0?void 0:d[0]:undefined;const ee=K?(p=i.exportRes.summaries)===null||p===void 0?void 0:p[K]:undefined;const te=i.driver==="cloud"&&i.endpoint?(v=i.endpoint)===null||v===void 0?void 0:v.replace(/^cloud:\/\//,"").split("/")[0]:undefined;const re=fe.summary.addHeading("Docker Build summary",2);if(te&&V===1&&K&&ee){const i=GitHub.formatDBCBuildURL(te,K,ee.defaultPlatform);re.addRaw(`

`).addRaw(`For a detailed look at the build, you can check the results at:`).addRaw("

").addRaw(`

`).addRaw(`:whale: ${addLink(`${i}`,i)}`).addRaw(`

`)}if(i.uploadRes){const d=`./${GitHub.runId}/${i.uploadRes.url.split("/").slice(-2).join("/")}`;if(te&&V===1){re.addRaw(`

`).addRaw(`You can also download the following build record archive and import it into Docker Desktop's Builds view. `).addBreak().addRaw(`Build records include details such as timing, dependencies, results, logs, traces, and other information about a build. `).addRaw(addLink("Learn more","https://www.docker.com/blog/new-beta-feature-deep-dive-into-github-actions-docker-builds-with-docker-desktop/?utm_source=github&utm_medium=actions")).addRaw("

")}else{re.addRaw(`

`).addRaw(`For a detailed look at the build, download the following build record archive and import it into Docker Desktop's Builds view. `).addBreak().addRaw(`Build records include details such as timing, dependencies, results, logs, traces, and other information about a build. `).addRaw(addLink("Learn more","https://www.docker.com/blog/new-beta-feature-deep-dive-into-github-actions-docker-builds-with-docker-desktop/?utm_source=github&utm_medium=actions")).addRaw("

")}re.addRaw(`

`).addRaw(`:arrow_down: ${addLink(`${ye.Util.stringToUnicodeEntities(i.uploadRes.filename)}`,d)} (${ye.Util.formatFileSize(i.uploadRes.size)} - includes ${V} build record${V>1?"s":""})`).addRaw(`

`)}else if(i.exportRes.summaries){re.addRaw(`

`).addRaw(`The following table provides a brief summary of your build.`).addBreak().addRaw(`For a detailed look at the build, including timing, dependencies, results, logs, traces, and other information, consider enabling the export of the build record so you can import it into Docker Desktop's Builds view. `).addRaw(addLink("Learn more","https://www.docker.com/blog/new-beta-feature-deep-dive-into-github-actions-docker-builds-with-docker-desktop/?utm_source=github&utm_medium=actions")).addRaw(`

`)}re.addRaw(`

`).addRaw(`Find this useful? `).addRaw(addLink("Let us know","https://docs.docker.com/feedback/gha-build-summary")).addRaw("

");if(i.exportRes.summaries){re.addRaw("

");const d=[[{header:true,data:"ID"},{header:true,data:"Name"},{header:true,data:"Status"},{header:true,data:"Cached"},{header:true,data:"Duration"},...te&&V>1?[{header:true,data:"Build result URL"}]:[]]];let p;for(const v in i.exportRes.summaries){if(Object.prototype.hasOwnProperty.call(i.exportRes.summaries,v)){const K=i.exportRes.summaries[v];d.push([{data:`${v.substring(0,6).toUpperCase()}`},{data:`${ye.Util.stringToUnicodeEntities(K.name)}`},{data:`${K.status==="completed"?":white_check_mark:":K.status==="canceled"?":no_entry_sign:":":x:"} ${K.status}`},{data:`${K.numCachedSteps>0?Math.round(K.numCachedSteps/K.numTotalSteps*100):0}%`},{data:K.duration},...te&&V>1?[{data:addLink(":whale: Open",GitHub.formatDBCBuildURL(te,v,K.defaultPlatform))}]:[]]);if(K.error){p=K.error}}}re.addTable([...d]);re.addRaw(`

`);if(p){re.addRaw(`
`);if(ye.Util.countLines(p)>10){re.addRaw(`
Error`).addCodeBlock(ie.default.encode(p),"text").addRaw(`
`)}else{re.addRaw(`Error`).addBreak().addRaw(`

`).addCodeBlock(ie.default.encode(p),"text").addRaw(`

`)}re.addRaw(`
`)}}if(i.inputs){re.addRaw(`
Build inputs`).addCodeBlock((0,se.dump)(i.inputs,{indent:2,lineWidth:-1}),"yaml").addRaw(`
`)}if(i.bakeDefinition){re.addRaw(`
Bake definition`).addCodeBlock(JSON.stringify(i.bakeDefinition,null,2),"json").addRaw(`
`)}fe.info(`Writing summary`);yield re.addSeparator().write()}))}static formatDBCBuildURL(i,d,p){return`https://app.docker.com/build/accounts/${i}/builds/${(p!==null&&p!==void 0?p:"linux/amd64").replace("/","-")}/${d}`}}d.GitHub=GitHub},19995:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Kee(this,void 0,void 0,(function*(){yield re.Cache.post()}))))}}))}},23651:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Ki)).map((i=>i.trim()))}static getInputNumber(i){const d=se.getInput(i);if(!d){return undefined}return parseInt(d)}static asyncForEach(i,d){return ee(this,void 0,void 0,(function*(){for(let p=0;psetTimeout(d,i*1e3)))}static hash(i){return re.default.createHash("sha256").update(i).digest("hex")}static parseBool(i){switch(i){case"1":case"t":case"T":case"true":case"TRUE":case"True":return true;case"0":case"f":case"F":case"false":case"FALSE":case"False":return false;default:throw new Error(`parseBool syntax error: ${i}`)}}static formatFileSize(i){if(i===0)return"0 Bytes";const d=1024;const p=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"];const v=Math.floor(Math.log(i)/Math.log(d));return parseFloat((i/Math.pow(d,v)).toFixed(2))+" "+p[v]}static generateRandomString(i=10){const d=re.default.randomBytes(Math.ceil(i/2));return d.toString("hex").slice(0,i)}static stringToUnicodeEntities(i){return Array.from(i).map((i=>`&#x${i.charCodeAt(0).toString(16)};`)).join("")}static countLines(i){return i.split(/\r\n|\r|\n/).length}static isPathRelativeTo(i,d){const p=ie.default.resolve(i);const v=ie.default.resolve(d);return v.startsWith(p.endsWith(ie.default.sep)?p:`${p}${ie.default.sep}`)}static formatDuration(i){if(i===0)return"0s";const d=Math.floor(i/1e9);const p=Math.floor(d/3600);const v=Math.floor(d%3600/60);const V=d%60;const K=[];if(p)K.push(`${p}h`);if(v)K.push(`${v}m`);if(V||K.length===0)K.push(`${V}s`);return K.join("")}}d.Util=Util},58099:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K0){i+=" ";let d=true;for(const p in this.properties){if(this.properties.hasOwnProperty(p)){const v=this.properties[p];if(v){if(d){d=false}else{i+=","}i+=`${p}=${escapeProperty(v)}`}}}}i+=`${re}${escapeData(this.message)}`;return i}}function escapeData(i){return(0,te.toCommandValue)(i).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(i){return(0,te.toCommandValue)(i).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},76267:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Ki!==""));if(d&&d.trimWhitespace===false){return p}return p.map((i=>i.trim()))}function getBooleanInput(i,d){const p=["true","True","TRUE"];const v=["false","False","FALSE"];const V=getInput(i,d);if(p.includes(V))return true;if(v.includes(V))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${i}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}function setOutput(i,d){const p=process.env["GITHUB_OUTPUT"]||"";if(p){return(0,re.issueFileCommand)("OUTPUT",(0,re.prepareKeyValueMessage)(i,d))}process.stdout.write(ie.EOL);(0,te.issueCommand)("set-output",{name:i},(0,ne.toCommandValue)(d))}function setCommandEcho(i){(0,te.issue)("echo",i?"on":"off")}function setFailed(i){process.exitCode=ae.Failure;error(i)}function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}function debug(i){(0,te.issueCommand)("debug",{},i)}function error(i,d={}){(0,te.issueCommand)("error",(0,ne.toCommandProperties)(d),i instanceof Error?i.toString():i)}function warning(i,d={}){(0,te.issueCommand)("warning",(0,ne.toCommandProperties)(d),i instanceof Error?i.toString():i)}function notice(i,d={}){(0,te.issueCommand)("notice",(0,ne.toCommandProperties)(d),i instanceof Error?i.toString():i)}function info(i){process.stdout.write(i+ie.EOL)}function startGroup(i){(0,te.issue)("group",i)}function endGroup(){(0,te.issue)("endgroup")}function group(i,d){return ee(this,void 0,void 0,(function*(){startGroup(i);let p;try{p=yield d()}finally{endGroup()}return p}))}function saveState(i,d){const p=process.env["GITHUB_STATE"]||"";if(p){return(0,re.issueFileCommand)("STATE",(0,re.prepareKeyValueMessage)(i,d))}(0,te.issueCommand)("save-state",{name:i},(0,ne.toCommandValue)(d))}function getState(i){return process.env[`STATE_${i}`]||""}function getIDToken(i){return ee(this,void 0,void 0,(function*(){return yield oe.OidcClient.getIDToken(i)}))}var ce=p(79554);Object.defineProperty(d,"summary",{enumerable:true,get:function(){return ce.summary}});var le=p(79554);Object.defineProperty(d,"markdownSummary",{enumerable:true,get:function(){return le.markdownSummary}});var ue=p(87423);Object.defineProperty(d,"toPosixPath",{enumerable:true,get:function(){return ue.toPosixPath}});Object.defineProperty(d,"toWin32Path",{enumerable:true,get:function(){return ue.toWin32Path}});Object.defineProperty(d,"toPlatformPath",{enumerable:true,get:function(){return ue.toPlatformPath}});d.platform=K(p(56247))},34694:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K{throw new Error(`Failed to get ID Token. \n \n Error Code : ${i.statusCode}\n \n Error Message: ${i.message}`)}));const V=(d=v.result)===null||d===void 0?void 0:d.value;if(!V){throw new Error("Response json body do not have ID Token field")}return V}))}static getIDToken(i){return v(this,void 0,void 0,(function*(){try{let d=OidcClient.getIDTokenUrl();if(i){const p=encodeURIComponent(i);d=`${d}&audience=${p}`}(0,ee.debug)(`ID token url is ${d}`);const p=yield OidcClient.getCall(d);(0,ee.setSecret)(p);return p}catch(i){throw new Error(`Error message: ${i.message}`)}}))}}d.OidcClient=OidcClient},87423:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Kee(void 0,void 0,void 0,(function*(){const{stdout:i}=yield ne.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',undefined,{silent:true});const{stdout:d}=yield ne.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',undefined,{silent:true});return{name:d.trim(),version:i.trim()}}));const getMacOsInfo=()=>ee(void 0,void 0,void 0,(function*(){var i,d,p,v;const{stdout:V}=yield ne.getExecOutput("sw_vers",undefined,{silent:true});const K=(d=(i=V.match(/ProductVersion:\s*(.+)/))===null||i===void 0?void 0:i[1])!==null&&d!==void 0?d:"";const ee=(v=(p=V.match(/ProductName:\s*(.+)/))===null||p===void 0?void 0:p[1])!==null&&v!==void 0?v:"";return{name:ee,version:K}}));const getLinuxInfo=()=>ee(void 0,void 0,void 0,(function*(){const{stdout:i}=yield ne.getExecOutput("lsb_release",["-i","-r","-s"],{silent:true});const[d,p]=i.trim().split("\n");return{name:d,version:p}}));d.platform=re.default.platform();d.arch=re.default.arch();d.isWindows=d.platform==="win32";d.isMacOS=d.platform==="darwin";d.isLinux=d.platform==="linux";function getDetails(){return ee(this,void 0,void 0,(function*(){return Object.assign(Object.assign({},yield d.isWindows?getWindowsInfo():d.isMacOS?getMacOsInfo():getLinuxInfo()),{platform:d.platform,arch:d.arch,isWindows:d.isWindows,isMacOS:d.isMacOS,isLinux:d.isLinux})}))}},79554:function(i,d,p){var v=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.summary=d.markdownSummary=d.SUMMARY_DOCS_URL=d.SUMMARY_ENV_VAR=void 0;const V=p(70857);const K=p(79896);const{access:ee,appendFile:te,writeFile:re}=K.promises;d.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";d.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 v(this,void 0,void 0,(function*(){if(this._filePath){return this._filePath}const i=process.env[d.SUMMARY_ENV_VAR];if(!i){throw new Error(`Unable to find environment variable for $${d.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`)}try{yield ee(i,K.constants.R_OK|K.constants.W_OK)}catch(d){throw new Error(`Unable to access summary file: '${i}'. Check if the file has correct read/write permissions.`)}this._filePath=i;return this._filePath}))}wrap(i,d,p={}){const v=Object.entries(p).map((([i,d])=>` ${i}="${d}"`)).join("");if(!d){return`<${i}${v}>`}return`<${i}${v}>${d}`}write(i){return v(this,void 0,void 0,(function*(){const d=!!(i===null||i===void 0?void 0:i.overwrite);const p=yield this.filePath();const v=d?re:te;yield v(p,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return v(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(i,d=false){this._buffer+=i;return d?this.addEOL():this}addEOL(){return this.addRaw(V.EOL)}addCodeBlock(i,d){const p=Object.assign({},d&&{lang:d});const v=this.wrap("pre",this.wrap("code",i),p);return this.addRaw(v).addEOL()}addList(i,d=false){const p=d?"ol":"ul";const v=i.map((i=>this.wrap("li",i))).join("");const V=this.wrap(p,v);return this.addRaw(V).addEOL()}addTable(i){const d=i.map((i=>{const d=i.map((i=>{if(typeof i==="string"){return this.wrap("td",i)}const{header:d,data:p,colspan:v,rowspan:V}=i;const K=d?"th":"td";const ee=Object.assign(Object.assign({},v&&{colspan:v}),V&&{rowspan:V});return this.wrap(K,p,ee)})).join("");return this.wrap("tr",d)})).join("");const p=this.wrap("table",d);return this.addRaw(p).addEOL()}addDetails(i,d){const p=this.wrap("details",this.wrap("summary",i)+d);return this.addRaw(p).addEOL()}addImage(i,d,p){const{width:v,height:V}=p||{};const K=Object.assign(Object.assign({},v&&{width:v}),V&&{height:V});const ee=this.wrap("img",null,Object.assign({src:i,alt:d},K));return this.addRaw(ee).addEOL()}addHeading(i,d){const p=`h${d}`;const v=["h1","h2","h3","h4","h5","h6"].includes(p)?p:"h1";const V=this.wrap(v,i);return this.addRaw(V).addEOL()}addSeparator(){const i=this.wrap("hr",null);return this.addRaw(i).addEOL()}addBreak(){const i=this.wrap("br",null);return this.addRaw(i).addEOL()}addQuote(i,d){const p=Object.assign({},d&&{cite:d});const v=this.wrap("blockquote",i,p);return this.addRaw(v).addEOL()}addLink(i,d){const p=this.wrap("a",i,{href:d});return this.addRaw(p).addEOL()}}const ne=new Summary;d.markdownSummary=ne;d.summary=ne},98167:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.toCommandValue=toCommandValue;d.toCommandProperties=toCommandProperties;function toCommandValue(i){if(i===null||i===undefined){return""}else if(typeof i==="string"||i instanceof String){return i}return JSON.stringify(i)}function toCommandProperties(i){if(!Object.keys(i).length){return{}}return{title:i.title,file:i.file,line:i.startLine,endLine:i.endLine,col:i.startColumn,endColumn:i.endColumn}}},63989:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.Context=void 0;const v=p(79896);const V=p(70857);class Context{constructor(){var i,d,p;this.payload={};if(process.env.GITHUB_EVENT_PATH){if((0,v.existsSync)(process.env.GITHUB_EVENT_PATH)){this.payload=JSON.parse((0,v.readFileSync)(process.env.GITHUB_EVENT_PATH,{encoding:"utf8"}))}else{const i=process.env.GITHUB_EVENT_PATH;process.stdout.write(`GITHUB_EVENT_PATH ${i} does not exist${V.EOL}`)}}this.eventName=process.env.GITHUB_EVENT_NAME;this.sha=process.env.GITHUB_SHA;this.ref=process.env.GITHUB_REF;this.workflow=process.env.GITHUB_WORKFLOW;this.action=process.env.GITHUB_ACTION;this.actor=process.env.GITHUB_ACTOR;this.job=process.env.GITHUB_JOB;this.runAttempt=parseInt(process.env.GITHUB_RUN_ATTEMPT,10);this.runNumber=parseInt(process.env.GITHUB_RUN_NUMBER,10);this.runId=parseInt(process.env.GITHUB_RUN_ID,10);this.apiUrl=(i=process.env.GITHUB_API_URL)!==null&&i!==void 0?i:`https://api.github.com`;this.serverUrl=(d=process.env.GITHUB_SERVER_URL)!==null&&d!==void 0?d:`https://github.com`;this.graphqlUrl=(p=process.env.GITHUB_GRAPHQL_URL)!==null&&p!==void 0?p:`https://api.github.com/graphql`}get issue(){const i=this.payload;return Object.assign(Object.assign({},this.repo),{number:(i.issue||i.pull_request||i).number})}get repo(){if(process.env.GITHUB_REPOSITORY){const[i,d]=process.env.GITHUB_REPOSITORY.split("/");return{owner:i,repo:d}}if(this.payload.repository){return{owner:this.payload.repository.owner.login,repo:this.payload.repository.name}}throw new Error("context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'")}}d.Context=Context},24055:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Kee(this,void 0,void 0,(function*(){return(0,re.fetch)(i,Object.assign(Object.assign({},p),{dispatcher:d}))}));return proxyFetch}function getApiBaseUrl(){return process.env["GITHUB_API_URL"]||"https://api.github.com"}},42555:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K{var v=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var K=Object.getOwnPropertyNames;var ee=Object.prototype.hasOwnProperty;var __export=(i,d)=>{for(var p in d)v(i,p,{get:d[p],enumerable:true})};var __copyProps=(i,d,p,te)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let re of K(d))if(!ee.call(i,re)&&re!==p)v(i,re,{get:()=>d[re],enumerable:!(te=V(d,re))||te.enumerable})}return i};var __toCommonJS=i=>__copyProps(v({},"__esModule",{value:true}),i);var te={};__export(te,{Octokit:()=>Ae});i.exports=__toCommonJS(te);var re=p(33843);var ne=p(52732);var ie=p(44324);var se=p(70007);var oe=p(77864);var ae="5.1.0";var noop=()=>{};var ce=console.warn.bind(console);var le=console.error.bind(console);var ue=`octokit-core.js/${ae} ${(0,re.getUserAgent)()}`;var Ae=class{static{this.VERSION=ae}static defaults(i){const d=class extends(this){constructor(...d){const p=d[0]||{};if(typeof i==="function"){super(i(p));return}super(Object.assign({},i,p,p.userAgent&&i.userAgent?{userAgent:`${p.userAgent} ${i.userAgent}`}:null))}};return d}static{this.plugins=[]}static plugin(...i){const d=this.plugins;const p=class extends(this){static{this.plugins=d.concat(i.filter((i=>!d.includes(i))))}};return p}constructor(i={}){const d=new ne.Collection;const p={baseUrl:ie.request.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},i.request,{hook:d.bind(null,"request")}),mediaType:{previews:[],format:""}};p.headers["user-agent"]=i.userAgent?`${i.userAgent} ${ue}`:ue;if(i.baseUrl){p.baseUrl=i.baseUrl}if(i.previews){p.mediaType.previews=i.previews}if(i.timeZone){p.headers["time-zone"]=i.timeZone}this.request=ie.request.defaults(p);this.graphql=(0,se.withCustomRequest)(this.request).defaults(p);this.log=Object.assign({debug:noop,info:noop,warn:ce,error:le},i.log);this.hook=d;if(!i.authStrategy){if(!i.auth){this.auth=async()=>({type:"unauthenticated"})}else{const p=(0,oe.createTokenAuth)(i.auth);d.wrap("request",p.hook);this.auth=p}}else{const{authStrategy:p,...v}=i;const V=p(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:v},i.auth));d.wrap("request",V.hook);this.auth=V}const v=this.constructor;for(let d=0;d{var v=Object.create;var V=Object.defineProperty;var K=Object.getOwnPropertyDescriptor;var ee=Object.getOwnPropertyNames;var te=Object.getPrototypeOf;var re=Object.prototype.hasOwnProperty;var __export=(i,d)=>{for(var p in d)V(i,p,{get:d[p],enumerable:true})};var __copyProps=(i,d,p,v)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let te of ee(d))if(!re.call(i,te)&&te!==p)V(i,te,{get:()=>d[te],enumerable:!(v=K(d,te))||v.enumerable})}return i};var __toESM=(i,d,p)=>(p=i!=null?v(te(i)):{},__copyProps(d||!i||!i.__esModule?V(p,"default",{value:i,enumerable:true}):p,i));var __toCommonJS=i=>__copyProps(V({},"__esModule",{value:true}),i);var ne={};__export(ne,{RequestError:()=>ce});i.exports=__toCommonJS(ne);var ie=p(14150);var se=__toESM(p(55560));var oe=(0,se.default)((i=>console.warn(i)));var ae=(0,se.default)((i=>console.warn(i)));var ce=class extends Error{constructor(i,d,p){super(i);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="HttpError";this.status=d;let v;if("headers"in p&&typeof p.headers!=="undefined"){v=p.headers}if("response"in p){this.response=p.response;v=p.response.headers}const V=Object.assign({},p.request);if(p.request.headers.authorization){V.headers=Object.assign({},p.request.headers,{authorization:p.request.headers.authorization.replace(/ .*$/," [REDACTED]")})}V.url=V.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]");this.request=V;Object.defineProperty(this,"code",{get(){oe(new ie.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`."));return d}});Object.defineProperty(this,"headers",{get(){ae(new ie.Deprecation("[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`."));return v||{}}})}};0&&0},44324:(i,d,p)=>{var v=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var K=Object.getOwnPropertyNames;var ee=Object.prototype.hasOwnProperty;var __export=(i,d)=>{for(var p in d)v(i,p,{get:d[p],enumerable:true})};var __copyProps=(i,d,p,te)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let re of K(d))if(!ee.call(i,re)&&re!==p)v(i,re,{get:()=>d[re],enumerable:!(te=V(d,re))||te.enumerable})}return i};var __toCommonJS=i=>__copyProps(v({},"__esModule",{value:true}),i);var te={};__export(te,{request:()=>ae});i.exports=__toCommonJS(te);var re=p(54471);var ne=p(33843);var ie="8.1.4";var se=p(93407);var oe=p(96831);function getBufferResponse(i){return i.arrayBuffer()}function fetchWrapper(i){var d,p,v;const V=i.request&&i.request.log?i.request.log:console;const K=((d=i.request)==null?void 0:d.parseSuccessResponseBody)!==false;if((0,se.isPlainObject)(i.body)||Array.isArray(i.body)){i.body=JSON.stringify(i.body)}let ee={};let te;let re;let{fetch:ne}=globalThis;if((p=i.request)==null?void 0:p.fetch){ne=i.request.fetch}if(!ne){throw new Error("fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing")}return ne(i.url,{method:i.method,body:i.body,headers:i.headers,signal:(v=i.request)==null?void 0:v.signal,...i.body&&{duplex:"half"}}).then((async d=>{re=d.url;te=d.status;for(const i of d.headers){ee[i[0]]=i[1]}if("deprecation"in ee){const d=ee.link&&ee.link.match(/<([^>]+)>; rel="deprecation"/);const p=d&&d.pop();V.warn(`[@octokit/request] "${i.method} ${i.url}" is deprecated. It is scheduled to be removed on ${ee.sunset}${p?`. See ${p}`:""}`)}if(te===204||te===205){return}if(i.method==="HEAD"){if(te<400){return}throw new oe.RequestError(d.statusText,te,{response:{url:re,status:te,headers:ee,data:void 0},request:i})}if(te===304){throw new oe.RequestError("Not modified",te,{response:{url:re,status:te,headers:ee,data:await getResponseData(d)},request:i})}if(te>=400){const p=await getResponseData(d);const v=new oe.RequestError(toErrorMessage(p),te,{response:{url:re,status:te,headers:ee,data:p},request:i});throw v}return K?await getResponseData(d):d.body})).then((i=>({status:te,url:re,headers:ee,data:i}))).catch((d=>{if(d instanceof oe.RequestError)throw d;else if(d.name==="AbortError")throw d;let p=d.message;if(d.name==="TypeError"&&"cause"in d){if(d.cause instanceof Error){p=d.cause.message}else if(typeof d.cause==="string"){p=d.cause}}throw new oe.RequestError(p,500,{request:i})}))}async function getResponseData(i){const d=i.headers.get("content-type");if(/application\/json/.test(d)){return i.json()}if(!d||/^text\/|charset=utf-8$/.test(d)){return i.text()}return getBufferResponse(i)}function toErrorMessage(i){if(typeof i==="string")return i;if("message"in i){if(Array.isArray(i.errors)){return`${i.message}: ${i.errors.map(JSON.stringify).join(", ")}`}return i.message}return`Unknown error: ${JSON.stringify(i)}`}function withDefaults(i,d){const p=i.defaults(d);const newApi=function(i,d){const v=p.merge(i,d);if(!v.request||!v.request.hook){return fetchWrapper(p.parse(v))}const request2=(i,d)=>fetchWrapper(p.parse(p.merge(i,d)));Object.assign(request2,{endpoint:p,defaults:withDefaults.bind(null,p)});return v.request.hook(request2,v)};return Object.assign(newApi,{endpoint:p,defaults:withDefaults.bind(null,p)})}var ae=withDefaults(re.endpoint,{headers:{"user-agent":`octokit-request.js/${ie} ${(0,ne.getUserAgent)()}`}});0&&0},12788:i=>{var d=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var V=Object.prototype.hasOwnProperty;var __export=(i,p)=>{for(var v in p)d(i,v,{get:p[v],enumerable:true})};var __copyProps=(i,K,ee,te)=>{if(K&&typeof K==="object"||typeof K==="function"){for(let re of v(K))if(!V.call(i,re)&&re!==ee)d(i,re,{get:()=>K[re],enumerable:!(te=p(K,re))||te.enumerable})}return i};var __toCommonJS=i=>__copyProps(d({},"__esModule",{value:true}),i);var K={};__export(K,{composePaginateRest:()=>te,isPaginatingEndpoint:()=>isPaginatingEndpoint,paginateRest:()=>paginateRest,paginatingEndpoints:()=>re});i.exports=__toCommonJS(K);var ee="9.2.2";function normalizePaginatedListResponse(i){if(!i.data){return{...i,data:[]}}const d="total_count"in i.data&&!("url"in i.data);if(!d)return i;const p=i.data.incomplete_results;const v=i.data.repository_selection;const V=i.data.total_count;delete i.data.incomplete_results;delete i.data.repository_selection;delete i.data.total_count;const K=Object.keys(i.data)[0];const ee=i.data[K];i.data=ee;if(typeof p!=="undefined"){i.data.incomplete_results=p}if(typeof v!=="undefined"){i.data.repository_selection=v}i.data.total_count=V;return i}function iterator(i,d,p){const v=typeof d==="function"?d.endpoint(p):i.request.endpoint(d,p);const V=typeof d==="function"?d:i.request;const K=v.method;const ee=v.headers;let te=v.url;return{[Symbol.asyncIterator]:()=>({async next(){if(!te)return{done:true};try{const i=await V({method:K,url:te,headers:ee});const d=normalizePaginatedListResponse(i);te=((d.headers.link||"").match(/<([^<>]+)>;\s*rel="next"/)||[])[1];return{value:d}}catch(i){if(i.status!==409)throw i;te="";return{value:{status:200,headers:{},data:[]}}}}})}}function paginate(i,d,p,v){if(typeof p==="function"){v=p;p=void 0}return gather(i,[],iterator(i,d,p)[Symbol.asyncIterator](),v)}function gather(i,d,p,v){return p.next().then((V=>{if(V.done){return d}let K=false;function done(){K=true}d=d.concat(v?v(V.value,done):V.value.data);if(K){return d}return gather(i,d,p,v)}))}var te=Object.assign(paginate,{iterator:iterator});var re=["GET /advisories","GET /app/hook/deliveries","GET /app/installation-requests","GET /app/installations","GET /assignments/{assignment_id}/accepted_assignments","GET /classrooms","GET /classrooms/{classroom_id}/assignments","GET /enterprises/{enterprise}/dependabot/alerts","GET /enterprises/{enterprise}/secret-scanning/alerts","GET /events","GET /gists","GET /gists/public","GET /gists/starred","GET /gists/{gist_id}/comments","GET /gists/{gist_id}/commits","GET /gists/{gist_id}/forks","GET /installation/repositories","GET /issues","GET /licenses","GET /marketplace_listing/plans","GET /marketplace_listing/plans/{plan_id}/accounts","GET /marketplace_listing/stubbed/plans","GET /marketplace_listing/stubbed/plans/{plan_id}/accounts","GET /networks/{owner}/{repo}/events","GET /notifications","GET /organizations","GET /orgs/{org}/actions/cache/usage-by-repository","GET /orgs/{org}/actions/permissions/repositories","GET /orgs/{org}/actions/runners","GET /orgs/{org}/actions/secrets","GET /orgs/{org}/actions/secrets/{secret_name}/repositories","GET /orgs/{org}/actions/variables","GET /orgs/{org}/actions/variables/{name}/repositories","GET /orgs/{org}/blocks","GET /orgs/{org}/code-scanning/alerts","GET /orgs/{org}/codespaces","GET /orgs/{org}/codespaces/secrets","GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories","GET /orgs/{org}/copilot/billing/seats","GET /orgs/{org}/dependabot/alerts","GET /orgs/{org}/dependabot/secrets","GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories","GET /orgs/{org}/events","GET /orgs/{org}/failed_invitations","GET /orgs/{org}/hooks","GET /orgs/{org}/hooks/{hook_id}/deliveries","GET /orgs/{org}/installations","GET /orgs/{org}/invitations","GET /orgs/{org}/invitations/{invitation_id}/teams","GET /orgs/{org}/issues","GET /orgs/{org}/members","GET /orgs/{org}/members/{username}/codespaces","GET /orgs/{org}/migrations","GET /orgs/{org}/migrations/{migration_id}/repositories","GET /orgs/{org}/organization-roles/{role_id}/teams","GET /orgs/{org}/organization-roles/{role_id}/users","GET /orgs/{org}/outside_collaborators","GET /orgs/{org}/packages","GET /orgs/{org}/packages/{package_type}/{package_name}/versions","GET /orgs/{org}/personal-access-token-requests","GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories","GET /orgs/{org}/personal-access-tokens","GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories","GET /orgs/{org}/projects","GET /orgs/{org}/properties/values","GET /orgs/{org}/public_members","GET /orgs/{org}/repos","GET /orgs/{org}/rulesets","GET /orgs/{org}/rulesets/rule-suites","GET /orgs/{org}/secret-scanning/alerts","GET /orgs/{org}/security-advisories","GET /orgs/{org}/teams","GET /orgs/{org}/teams/{team_slug}/discussions","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions","GET /orgs/{org}/teams/{team_slug}/invitations","GET /orgs/{org}/teams/{team_slug}/members","GET /orgs/{org}/teams/{team_slug}/projects","GET /orgs/{org}/teams/{team_slug}/repos","GET /orgs/{org}/teams/{team_slug}/teams","GET /projects/columns/{column_id}/cards","GET /projects/{project_id}/collaborators","GET /projects/{project_id}/columns","GET /repos/{owner}/{repo}/actions/artifacts","GET /repos/{owner}/{repo}/actions/caches","GET /repos/{owner}/{repo}/actions/organization-secrets","GET /repos/{owner}/{repo}/actions/organization-variables","GET /repos/{owner}/{repo}/actions/runners","GET /repos/{owner}/{repo}/actions/runs","GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts","GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs","GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs","GET /repos/{owner}/{repo}/actions/secrets","GET /repos/{owner}/{repo}/actions/variables","GET /repos/{owner}/{repo}/actions/workflows","GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs","GET /repos/{owner}/{repo}/activity","GET /repos/{owner}/{repo}/assignees","GET /repos/{owner}/{repo}/branches","GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations","GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs","GET /repos/{owner}/{repo}/code-scanning/alerts","GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances","GET /repos/{owner}/{repo}/code-scanning/analyses","GET /repos/{owner}/{repo}/codespaces","GET /repos/{owner}/{repo}/codespaces/devcontainers","GET /repos/{owner}/{repo}/codespaces/secrets","GET /repos/{owner}/{repo}/collaborators","GET /repos/{owner}/{repo}/comments","GET /repos/{owner}/{repo}/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/commits","GET /repos/{owner}/{repo}/commits/{commit_sha}/comments","GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls","GET /repos/{owner}/{repo}/commits/{ref}/check-runs","GET /repos/{owner}/{repo}/commits/{ref}/check-suites","GET /repos/{owner}/{repo}/commits/{ref}/status","GET /repos/{owner}/{repo}/commits/{ref}/statuses","GET /repos/{owner}/{repo}/contributors","GET /repos/{owner}/{repo}/dependabot/alerts","GET /repos/{owner}/{repo}/dependabot/secrets","GET /repos/{owner}/{repo}/deployments","GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses","GET /repos/{owner}/{repo}/environments","GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies","GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps","GET /repos/{owner}/{repo}/events","GET /repos/{owner}/{repo}/forks","GET /repos/{owner}/{repo}/hooks","GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries","GET /repos/{owner}/{repo}/invitations","GET /repos/{owner}/{repo}/issues","GET /repos/{owner}/{repo}/issues/comments","GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/issues/events","GET /repos/{owner}/{repo}/issues/{issue_number}/comments","GET /repos/{owner}/{repo}/issues/{issue_number}/events","GET /repos/{owner}/{repo}/issues/{issue_number}/labels","GET /repos/{owner}/{repo}/issues/{issue_number}/reactions","GET /repos/{owner}/{repo}/issues/{issue_number}/timeline","GET /repos/{owner}/{repo}/keys","GET /repos/{owner}/{repo}/labels","GET /repos/{owner}/{repo}/milestones","GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels","GET /repos/{owner}/{repo}/notifications","GET /repos/{owner}/{repo}/pages/builds","GET /repos/{owner}/{repo}/projects","GET /repos/{owner}/{repo}/pulls","GET /repos/{owner}/{repo}/pulls/comments","GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/pulls/{pull_number}/comments","GET /repos/{owner}/{repo}/pulls/{pull_number}/commits","GET /repos/{owner}/{repo}/pulls/{pull_number}/files","GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews","GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments","GET /repos/{owner}/{repo}/releases","GET /repos/{owner}/{repo}/releases/{release_id}/assets","GET /repos/{owner}/{repo}/releases/{release_id}/reactions","GET /repos/{owner}/{repo}/rules/branches/{branch}","GET /repos/{owner}/{repo}/rulesets","GET /repos/{owner}/{repo}/rulesets/rule-suites","GET /repos/{owner}/{repo}/secret-scanning/alerts","GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations","GET /repos/{owner}/{repo}/security-advisories","GET /repos/{owner}/{repo}/stargazers","GET /repos/{owner}/{repo}/subscribers","GET /repos/{owner}/{repo}/tags","GET /repos/{owner}/{repo}/teams","GET /repos/{owner}/{repo}/topics","GET /repositories","GET /repositories/{repository_id}/environments/{environment_name}/secrets","GET /repositories/{repository_id}/environments/{environment_name}/variables","GET /search/code","GET /search/commits","GET /search/issues","GET /search/labels","GET /search/repositories","GET /search/topics","GET /search/users","GET /teams/{team_id}/discussions","GET /teams/{team_id}/discussions/{discussion_number}/comments","GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions","GET /teams/{team_id}/discussions/{discussion_number}/reactions","GET /teams/{team_id}/invitations","GET /teams/{team_id}/members","GET /teams/{team_id}/projects","GET /teams/{team_id}/repos","GET /teams/{team_id}/teams","GET /user/blocks","GET /user/codespaces","GET /user/codespaces/secrets","GET /user/emails","GET /user/followers","GET /user/following","GET /user/gpg_keys","GET /user/installations","GET /user/installations/{installation_id}/repositories","GET /user/issues","GET /user/keys","GET /user/marketplace_purchases","GET /user/marketplace_purchases/stubbed","GET /user/memberships/orgs","GET /user/migrations","GET /user/migrations/{migration_id}/repositories","GET /user/orgs","GET /user/packages","GET /user/packages/{package_type}/{package_name}/versions","GET /user/public_emails","GET /user/repos","GET /user/repository_invitations","GET /user/social_accounts","GET /user/ssh_signing_keys","GET /user/starred","GET /user/subscriptions","GET /user/teams","GET /users","GET /users/{username}/events","GET /users/{username}/events/orgs/{org}","GET /users/{username}/events/public","GET /users/{username}/followers","GET /users/{username}/following","GET /users/{username}/gists","GET /users/{username}/gpg_keys","GET /users/{username}/keys","GET /users/{username}/orgs","GET /users/{username}/packages","GET /users/{username}/projects","GET /users/{username}/received_events","GET /users/{username}/received_events/public","GET /users/{username}/repos","GET /users/{username}/social_accounts","GET /users/{username}/ssh_signing_keys","GET /users/{username}/starred","GET /users/{username}/subscriptions"];function isPaginatingEndpoint(i){if(typeof i==="string"){return re.includes(i)}else{return false}}function paginateRest(i){return{paginate:Object.assign(paginate.bind(null,i),{iterator:iterator.bind(null,i)})}}paginateRest.VERSION=ee;0&&0},11493:i=>{var d=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var V=Object.prototype.hasOwnProperty;var __export=(i,p)=>{for(var v in p)d(i,v,{get:p[v],enumerable:true})};var __copyProps=(i,K,ee,te)=>{if(K&&typeof K==="object"||typeof K==="function"){for(let re of v(K))if(!V.call(i,re)&&re!==ee)d(i,re,{get:()=>K[re],enumerable:!(te=p(K,re))||te.enumerable})}return i};var __toCommonJS=i=>__copyProps(d({},"__esModule",{value:true}),i);var K={};__export(K,{legacyRestEndpointMethods:()=>legacyRestEndpointMethods,restEndpointMethods:()=>restEndpointMethods});i.exports=__toCommonJS(K);var ee="10.4.0";var te={actions:{addCustomLabelsToSelfHostedRunnerForOrg:["POST /orgs/{org}/actions/runners/{runner_id}/labels"],addCustomLabelsToSelfHostedRunnerForRepo:["POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],approveWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve"],cancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"],createEnvironmentVariable:["POST /repositories/{repository_id}/environments/{environment_name}/variables"],createOrUpdateEnvironmentSecret:["PUT /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}"],createOrgVariable:["POST /orgs/{org}/actions/variables"],createRegistrationTokenForOrg:["POST /orgs/{org}/actions/runners/registration-token"],createRegistrationTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/registration-token"],createRemoveTokenForOrg:["POST /orgs/{org}/actions/runners/remove-token"],createRemoveTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/remove-token"],createRepoVariable:["POST /repos/{owner}/{repo}/actions/variables"],createWorkflowDispatch:["POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches"],deleteActionsCacheById:["DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}"],deleteActionsCacheByKey:["DELETE /repos/{owner}/{repo}/actions/caches{?key,ref}"],deleteArtifact:["DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],deleteEnvironmentSecret:["DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],deleteEnvironmentVariable:["DELETE /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],deleteOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}"],deleteOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}"],deleteRepoVariable:["DELETE /repos/{owner}/{repo}/actions/variables/{name}"],deleteSelfHostedRunnerFromOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}"],deleteSelfHostedRunnerFromRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}"],deleteWorkflowRun:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"],deleteWorkflowRunLogs:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],disableSelectedRepositoryGithubActionsOrganization:["DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}"],disableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable"],downloadArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"],downloadJobLogsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"],downloadWorkflowRunAttemptLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs"],downloadWorkflowRunLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],enableSelectedRepositoryGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories/{repository_id}"],enableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"],forceCancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel"],generateRunnerJitconfigForOrg:["POST /orgs/{org}/actions/runners/generate-jitconfig"],generateRunnerJitconfigForRepo:["POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig"],getActionsCacheList:["GET /repos/{owner}/{repo}/actions/caches"],getActionsCacheUsage:["GET /repos/{owner}/{repo}/actions/cache/usage"],getActionsCacheUsageByRepoForOrg:["GET /orgs/{org}/actions/cache/usage-by-repository"],getActionsCacheUsageForOrg:["GET /orgs/{org}/actions/cache/usage"],getAllowedActionsOrganization:["GET /orgs/{org}/actions/permissions/selected-actions"],getAllowedActionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/selected-actions"],getArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],getCustomOidcSubClaimForRepo:["GET /repos/{owner}/{repo}/actions/oidc/customization/sub"],getEnvironmentPublicKey:["GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key"],getEnvironmentSecret:["GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],getEnvironmentVariable:["GET /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],getGithubActionsDefaultWorkflowPermissionsOrganization:["GET /orgs/{org}/actions/permissions/workflow"],getGithubActionsDefaultWorkflowPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/workflow"],getGithubActionsPermissionsOrganization:["GET /orgs/{org}/actions/permissions"],getGithubActionsPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions"],getJobForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"],getOrgPublicKey:["GET /orgs/{org}/actions/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}"],getOrgVariable:["GET /orgs/{org}/actions/variables/{name}"],getPendingDeploymentsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],getRepoPermissions:["GET /repos/{owner}/{repo}/actions/permissions",{},{renamed:["actions","getGithubActionsPermissionsRepository"]}],getRepoPublicKey:["GET /repos/{owner}/{repo}/actions/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"],getRepoVariable:["GET /repos/{owner}/{repo}/actions/variables/{name}"],getReviewsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals"],getSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}"],getSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}"],getWorkflow:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"],getWorkflowAccessToRepository:["GET /repos/{owner}/{repo}/actions/permissions/access"],getWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}"],getWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}"],getWorkflowRunUsage:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing"],getWorkflowUsage:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing"],listArtifactsForRepo:["GET /repos/{owner}/{repo}/actions/artifacts"],listEnvironmentSecrets:["GET /repositories/{repository_id}/environments/{environment_name}/secrets"],listEnvironmentVariables:["GET /repositories/{repository_id}/environments/{environment_name}/variables"],listJobsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"],listJobsForWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs"],listLabelsForSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}/labels"],listLabelsForSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],listOrgSecrets:["GET /orgs/{org}/actions/secrets"],listOrgVariables:["GET /orgs/{org}/actions/variables"],listRepoOrganizationSecrets:["GET /repos/{owner}/{repo}/actions/organization-secrets"],listRepoOrganizationVariables:["GET /repos/{owner}/{repo}/actions/organization-variables"],listRepoSecrets:["GET /repos/{owner}/{repo}/actions/secrets"],listRepoVariables:["GET /repos/{owner}/{repo}/actions/variables"],listRepoWorkflows:["GET /repos/{owner}/{repo}/actions/workflows"],listRunnerApplicationsForOrg:["GET /orgs/{org}/actions/runners/downloads"],listRunnerApplicationsForRepo:["GET /repos/{owner}/{repo}/actions/runners/downloads"],listSelectedReposForOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}/repositories"],listSelectedReposForOrgVariable:["GET /orgs/{org}/actions/variables/{name}/repositories"],listSelectedRepositoriesEnabledGithubActionsOrganization:["GET /orgs/{org}/actions/permissions/repositories"],listSelfHostedRunnersForOrg:["GET /orgs/{org}/actions/runners"],listSelfHostedRunnersForRepo:["GET /repos/{owner}/{repo}/actions/runners"],listWorkflowRunArtifacts:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts"],listWorkflowRuns:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"],listWorkflowRunsForRepo:["GET /repos/{owner}/{repo}/actions/runs"],reRunJobForWorkflowRun:["POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun"],reRunWorkflow:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"],reRunWorkflowFailedJobs:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs"],removeAllCustomLabelsFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels"],removeAllCustomLabelsFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],removeCustomLabelFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}"],removeCustomLabelFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],reviewCustomGatesForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule"],reviewPendingDeploymentsForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],setAllowedActionsOrganization:["PUT /orgs/{org}/actions/permissions/selected-actions"],setAllowedActionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/selected-actions"],setCustomLabelsForSelfHostedRunnerForOrg:["PUT /orgs/{org}/actions/runners/{runner_id}/labels"],setCustomLabelsForSelfHostedRunnerForRepo:["PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],setCustomOidcSubClaimForRepo:["PUT /repos/{owner}/{repo}/actions/oidc/customization/sub"],setGithubActionsDefaultWorkflowPermissionsOrganization:["PUT /orgs/{org}/actions/permissions/workflow"],setGithubActionsDefaultWorkflowPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/workflow"],setGithubActionsPermissionsOrganization:["PUT /orgs/{org}/actions/permissions"],setGithubActionsPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"],setSelectedReposForOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories"],setSelectedRepositoriesEnabledGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories"],setWorkflowAccessToRepository:["PUT /repos/{owner}/{repo}/actions/permissions/access"],updateEnvironmentVariable:["PATCH /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],updateOrgVariable:["PATCH /orgs/{org}/actions/variables/{name}"],updateRepoVariable:["PATCH /repos/{owner}/{repo}/actions/variables/{name}"]},activity:{checkRepoIsStarredByAuthenticatedUser:["GET /user/starred/{owner}/{repo}"],deleteRepoSubscription:["DELETE /repos/{owner}/{repo}/subscription"],deleteThreadSubscription:["DELETE /notifications/threads/{thread_id}/subscription"],getFeeds:["GET /feeds"],getRepoSubscription:["GET /repos/{owner}/{repo}/subscription"],getThread:["GET /notifications/threads/{thread_id}"],getThreadSubscriptionForAuthenticatedUser:["GET /notifications/threads/{thread_id}/subscription"],listEventsForAuthenticatedUser:["GET /users/{username}/events"],listNotificationsForAuthenticatedUser:["GET /notifications"],listOrgEventsForAuthenticatedUser:["GET /users/{username}/events/orgs/{org}"],listPublicEvents:["GET /events"],listPublicEventsForRepoNetwork:["GET /networks/{owner}/{repo}/events"],listPublicEventsForUser:["GET /users/{username}/events/public"],listPublicOrgEvents:["GET /orgs/{org}/events"],listReceivedEventsForUser:["GET /users/{username}/received_events"],listReceivedPublicEventsForUser:["GET /users/{username}/received_events/public"],listRepoEvents:["GET /repos/{owner}/{repo}/events"],listRepoNotificationsForAuthenticatedUser:["GET /repos/{owner}/{repo}/notifications"],listReposStarredByAuthenticatedUser:["GET /user/starred"],listReposStarredByUser:["GET /users/{username}/starred"],listReposWatchedByUser:["GET /users/{username}/subscriptions"],listStargazersForRepo:["GET /repos/{owner}/{repo}/stargazers"],listWatchedReposForAuthenticatedUser:["GET /user/subscriptions"],listWatchersForRepo:["GET /repos/{owner}/{repo}/subscribers"],markNotificationsAsRead:["PUT /notifications"],markRepoNotificationsAsRead:["PUT /repos/{owner}/{repo}/notifications"],markThreadAsDone:["DELETE /notifications/threads/{thread_id}"],markThreadAsRead:["PATCH /notifications/threads/{thread_id}"],setRepoSubscription:["PUT /repos/{owner}/{repo}/subscription"],setThreadSubscription:["PUT /notifications/threads/{thread_id}/subscription"],starRepoForAuthenticatedUser:["PUT /user/starred/{owner}/{repo}"],unstarRepoForAuthenticatedUser:["DELETE /user/starred/{owner}/{repo}"]},apps:{addRepoToInstallation:["PUT /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","addRepoToInstallationForAuthenticatedUser"]}],addRepoToInstallationForAuthenticatedUser:["PUT /user/installations/{installation_id}/repositories/{repository_id}"],checkToken:["POST /applications/{client_id}/token"],createFromManifest:["POST /app-manifests/{code}/conversions"],createInstallationAccessToken:["POST /app/installations/{installation_id}/access_tokens"],deleteAuthorization:["DELETE /applications/{client_id}/grant"],deleteInstallation:["DELETE /app/installations/{installation_id}"],deleteToken:["DELETE /applications/{client_id}/token"],getAuthenticated:["GET /app"],getBySlug:["GET /apps/{app_slug}"],getInstallation:["GET /app/installations/{installation_id}"],getOrgInstallation:["GET /orgs/{org}/installation"],getRepoInstallation:["GET /repos/{owner}/{repo}/installation"],getSubscriptionPlanForAccount:["GET /marketplace_listing/accounts/{account_id}"],getSubscriptionPlanForAccountStubbed:["GET /marketplace_listing/stubbed/accounts/{account_id}"],getUserInstallation:["GET /users/{username}/installation"],getWebhookConfigForApp:["GET /app/hook/config"],getWebhookDelivery:["GET /app/hook/deliveries/{delivery_id}"],listAccountsForPlan:["GET /marketplace_listing/plans/{plan_id}/accounts"],listAccountsForPlanStubbed:["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"],listInstallationReposForAuthenticatedUser:["GET /user/installations/{installation_id}/repositories"],listInstallationRequestsForAuthenticatedApp:["GET /app/installation-requests"],listInstallations:["GET /app/installations"],listInstallationsForAuthenticatedUser:["GET /user/installations"],listPlans:["GET /marketplace_listing/plans"],listPlansStubbed:["GET /marketplace_listing/stubbed/plans"],listReposAccessibleToInstallation:["GET /installation/repositories"],listSubscriptionsForAuthenticatedUser:["GET /user/marketplace_purchases"],listSubscriptionsForAuthenticatedUserStubbed:["GET /user/marketplace_purchases/stubbed"],listWebhookDeliveries:["GET /app/hook/deliveries"],redeliverWebhookDelivery:["POST /app/hook/deliveries/{delivery_id}/attempts"],removeRepoFromInstallation:["DELETE /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","removeRepoFromInstallationForAuthenticatedUser"]}],removeRepoFromInstallationForAuthenticatedUser:["DELETE /user/installations/{installation_id}/repositories/{repository_id}"],resetToken:["PATCH /applications/{client_id}/token"],revokeInstallationAccessToken:["DELETE /installation/token"],scopeToken:["POST /applications/{client_id}/token/scoped"],suspendInstallation:["PUT /app/installations/{installation_id}/suspended"],unsuspendInstallation:["DELETE /app/installations/{installation_id}/suspended"],updateWebhookConfigForApp:["PATCH /app/hook/config"]},billing:{getGithubActionsBillingOrg:["GET /orgs/{org}/settings/billing/actions"],getGithubActionsBillingUser:["GET /users/{username}/settings/billing/actions"],getGithubPackagesBillingOrg:["GET /orgs/{org}/settings/billing/packages"],getGithubPackagesBillingUser:["GET /users/{username}/settings/billing/packages"],getSharedStorageBillingOrg:["GET /orgs/{org}/settings/billing/shared-storage"],getSharedStorageBillingUser:["GET /users/{username}/settings/billing/shared-storage"]},checks:{create:["POST /repos/{owner}/{repo}/check-runs"],createSuite:["POST /repos/{owner}/{repo}/check-suites"],get:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}"],getSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}"],listAnnotations:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations"],listForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"],listForSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs"],listSuitesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"],rerequestRun:["POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest"],rerequestSuite:["POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest"],setSuitesPreferences:["PATCH /repos/{owner}/{repo}/check-suites/preferences"],update:["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}"]},codeScanning:{deleteAnalysis:["DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}"],getAlert:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}",{},{renamedParameters:{alert_id:"alert_number"}}],getAnalysis:["GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}"],getCodeqlDatabase:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}"],getDefaultSetup:["GET /repos/{owner}/{repo}/code-scanning/default-setup"],getSarif:["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"],listAlertInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances"],listAlertsForOrg:["GET /orgs/{org}/code-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/code-scanning/alerts"],listAlertsInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances",{},{renamed:["codeScanning","listAlertInstances"]}],listCodeqlDatabases:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases"],listRecentAnalyses:["GET /repos/{owner}/{repo}/code-scanning/analyses"],updateAlert:["PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}"],updateDefaultSetup:["PATCH /repos/{owner}/{repo}/code-scanning/default-setup"],uploadSarif:["POST /repos/{owner}/{repo}/code-scanning/sarifs"]},codesOfConduct:{getAllCodesOfConduct:["GET /codes_of_conduct"],getConductCode:["GET /codes_of_conduct/{key}"]},codespaces:{addRepositoryForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],checkPermissionsForDevcontainer:["GET /repos/{owner}/{repo}/codespaces/permissions_check"],codespaceMachinesForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/machines"],createForAuthenticatedUser:["POST /user/codespaces"],createOrUpdateOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],createOrUpdateSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}"],createWithPrForAuthenticatedUser:["POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces"],createWithRepoForAuthenticatedUser:["POST /repos/{owner}/{repo}/codespaces"],deleteForAuthenticatedUser:["DELETE /user/codespaces/{codespace_name}"],deleteFromOrganization:["DELETE /orgs/{org}/members/{username}/codespaces/{codespace_name}"],deleteOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],deleteSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}"],exportForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/exports"],getCodespacesForUserInOrg:["GET /orgs/{org}/members/{username}/codespaces"],getExportDetailsForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/exports/{export_id}"],getForAuthenticatedUser:["GET /user/codespaces/{codespace_name}"],getOrgPublicKey:["GET /orgs/{org}/codespaces/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}"],getPublicKeyForAuthenticatedUser:["GET /user/codespaces/secrets/public-key"],getRepoPublicKey:["GET /repos/{owner}/{repo}/codespaces/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],getSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}"],listDevcontainersInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/devcontainers"],listForAuthenticatedUser:["GET /user/codespaces"],listInOrganization:["GET /orgs/{org}/codespaces",{},{renamedParameters:{org_id:"org"}}],listInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces"],listOrgSecrets:["GET /orgs/{org}/codespaces/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/codespaces/secrets"],listRepositoriesForSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}/repositories"],listSecretsForAuthenticatedUser:["GET /user/codespaces/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],preFlightWithRepoForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/new"],publishForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/publish"],removeRepositoryForSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],repoMachinesForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/machines"],setRepositoriesForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],startForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/start"],stopForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/stop"],stopInOrganization:["POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop"],updateForAuthenticatedUser:["PATCH /user/codespaces/{codespace_name}"]},copilot:{addCopilotSeatsForTeams:["POST /orgs/{org}/copilot/billing/selected_teams"],addCopilotSeatsForUsers:["POST /orgs/{org}/copilot/billing/selected_users"],cancelCopilotSeatAssignmentForTeams:["DELETE /orgs/{org}/copilot/billing/selected_teams"],cancelCopilotSeatAssignmentForUsers:["DELETE /orgs/{org}/copilot/billing/selected_users"],getCopilotOrganizationDetails:["GET /orgs/{org}/copilot/billing"],getCopilotSeatDetailsForUser:["GET /orgs/{org}/members/{username}/copilot"],listCopilotSeats:["GET /orgs/{org}/copilot/billing/seats"]},dependabot:{addSelectedRepoToOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],deleteOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],getAlert:["GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"],getOrgPublicKey:["GET /orgs/{org}/dependabot/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}"],getRepoPublicKey:["GET /repos/{owner}/{repo}/dependabot/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/dependabot/alerts"],listAlertsForOrg:["GET /orgs/{org}/dependabot/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/dependabot/alerts"],listOrgSecrets:["GET /orgs/{org}/dependabot/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/dependabot/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],updateAlert:["PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"]},dependencyGraph:{createRepositorySnapshot:["POST /repos/{owner}/{repo}/dependency-graph/snapshots"],diffRange:["GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}"],exportSbom:["GET /repos/{owner}/{repo}/dependency-graph/sbom"]},emojis:{get:["GET /emojis"]},gists:{checkIsStarred:["GET /gists/{gist_id}/star"],create:["POST /gists"],createComment:["POST /gists/{gist_id}/comments"],delete:["DELETE /gists/{gist_id}"],deleteComment:["DELETE /gists/{gist_id}/comments/{comment_id}"],fork:["POST /gists/{gist_id}/forks"],get:["GET /gists/{gist_id}"],getComment:["GET /gists/{gist_id}/comments/{comment_id}"],getRevision:["GET /gists/{gist_id}/{sha}"],list:["GET /gists"],listComments:["GET /gists/{gist_id}/comments"],listCommits:["GET /gists/{gist_id}/commits"],listForUser:["GET /users/{username}/gists"],listForks:["GET /gists/{gist_id}/forks"],listPublic:["GET /gists/public"],listStarred:["GET /gists/starred"],star:["PUT /gists/{gist_id}/star"],unstar:["DELETE /gists/{gist_id}/star"],update:["PATCH /gists/{gist_id}"],updateComment:["PATCH /gists/{gist_id}/comments/{comment_id}"]},git:{createBlob:["POST /repos/{owner}/{repo}/git/blobs"],createCommit:["POST /repos/{owner}/{repo}/git/commits"],createRef:["POST /repos/{owner}/{repo}/git/refs"],createTag:["POST /repos/{owner}/{repo}/git/tags"],createTree:["POST /repos/{owner}/{repo}/git/trees"],deleteRef:["DELETE /repos/{owner}/{repo}/git/refs/{ref}"],getBlob:["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"],getCommit:["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"],getRef:["GET /repos/{owner}/{repo}/git/ref/{ref}"],getTag:["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"],getTree:["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"],listMatchingRefs:["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"],updateRef:["PATCH /repos/{owner}/{repo}/git/refs/{ref}"]},gitignore:{getAllTemplates:["GET /gitignore/templates"],getTemplate:["GET /gitignore/templates/{name}"]},interactions:{getRestrictionsForAuthenticatedUser:["GET /user/interaction-limits"],getRestrictionsForOrg:["GET /orgs/{org}/interaction-limits"],getRestrictionsForRepo:["GET /repos/{owner}/{repo}/interaction-limits"],getRestrictionsForYourPublicRepos:["GET /user/interaction-limits",{},{renamed:["interactions","getRestrictionsForAuthenticatedUser"]}],removeRestrictionsForAuthenticatedUser:["DELETE /user/interaction-limits"],removeRestrictionsForOrg:["DELETE /orgs/{org}/interaction-limits"],removeRestrictionsForRepo:["DELETE /repos/{owner}/{repo}/interaction-limits"],removeRestrictionsForYourPublicRepos:["DELETE /user/interaction-limits",{},{renamed:["interactions","removeRestrictionsForAuthenticatedUser"]}],setRestrictionsForAuthenticatedUser:["PUT /user/interaction-limits"],setRestrictionsForOrg:["PUT /orgs/{org}/interaction-limits"],setRestrictionsForRepo:["PUT /repos/{owner}/{repo}/interaction-limits"],setRestrictionsForYourPublicRepos:["PUT /user/interaction-limits",{},{renamed:["interactions","setRestrictionsForAuthenticatedUser"]}]},issues:{addAssignees:["POST /repos/{owner}/{repo}/issues/{issue_number}/assignees"],addLabels:["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"],checkUserCanBeAssigned:["GET /repos/{owner}/{repo}/assignees/{assignee}"],checkUserCanBeAssignedToIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}"],create:["POST /repos/{owner}/{repo}/issues"],createComment:["POST /repos/{owner}/{repo}/issues/{issue_number}/comments"],createLabel:["POST /repos/{owner}/{repo}/labels"],createMilestone:["POST /repos/{owner}/{repo}/milestones"],deleteComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}"],deleteLabel:["DELETE /repos/{owner}/{repo}/labels/{name}"],deleteMilestone:["DELETE /repos/{owner}/{repo}/milestones/{milestone_number}"],get:["GET /repos/{owner}/{repo}/issues/{issue_number}"],getComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"],getEvent:["GET /repos/{owner}/{repo}/issues/events/{event_id}"],getLabel:["GET /repos/{owner}/{repo}/labels/{name}"],getMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}"],list:["GET /issues"],listAssignees:["GET /repos/{owner}/{repo}/assignees"],listComments:["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"],listCommentsForRepo:["GET /repos/{owner}/{repo}/issues/comments"],listEvents:["GET /repos/{owner}/{repo}/issues/{issue_number}/events"],listEventsForRepo:["GET /repos/{owner}/{repo}/issues/events"],listEventsForTimeline:["GET /repos/{owner}/{repo}/issues/{issue_number}/timeline"],listForAuthenticatedUser:["GET /user/issues"],listForOrg:["GET /orgs/{org}/issues"],listForRepo:["GET /repos/{owner}/{repo}/issues"],listLabelsForMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels"],listLabelsForRepo:["GET /repos/{owner}/{repo}/labels"],listLabelsOnIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/labels"],listMilestones:["GET /repos/{owner}/{repo}/milestones"],lock:["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"],removeAllLabels:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels"],removeAssignees:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees"],removeLabel:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}"],setLabels:["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"],unlock:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"],update:["PATCH /repos/{owner}/{repo}/issues/{issue_number}"],updateComment:["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"],updateLabel:["PATCH /repos/{owner}/{repo}/labels/{name}"],updateMilestone:["PATCH /repos/{owner}/{repo}/milestones/{milestone_number}"]},licenses:{get:["GET /licenses/{license}"],getAllCommonlyUsed:["GET /licenses"],getForRepo:["GET /repos/{owner}/{repo}/license"]},markdown:{render:["POST /markdown"],renderRaw:["POST /markdown/raw",{headers:{"content-type":"text/plain; charset=utf-8"}}]},meta:{get:["GET /meta"],getAllVersions:["GET /versions"],getOctocat:["GET /octocat"],getZen:["GET /zen"],root:["GET /"]},migrations:{cancelImport:["DELETE /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.cancelImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#cancel-an-import"}],deleteArchiveForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/archive"],deleteArchiveForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/archive"],downloadArchiveForOrg:["GET /orgs/{org}/migrations/{migration_id}/archive"],getArchiveForAuthenticatedUser:["GET /user/migrations/{migration_id}/archive"],getCommitAuthors:["GET /repos/{owner}/{repo}/import/authors",{},{deprecated:"octokit.rest.migrations.getCommitAuthors() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-commit-authors"}],getImportStatus:["GET /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.getImportStatus() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-an-import-status"}],getLargeFiles:["GET /repos/{owner}/{repo}/import/large_files",{},{deprecated:"octokit.rest.migrations.getLargeFiles() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-large-files"}],getStatusForAuthenticatedUser:["GET /user/migrations/{migration_id}"],getStatusForOrg:["GET /orgs/{org}/migrations/{migration_id}"],listForAuthenticatedUser:["GET /user/migrations"],listForOrg:["GET /orgs/{org}/migrations"],listReposForAuthenticatedUser:["GET /user/migrations/{migration_id}/repositories"],listReposForOrg:["GET /orgs/{org}/migrations/{migration_id}/repositories"],listReposForUser:["GET /user/migrations/{migration_id}/repositories",{},{renamed:["migrations","listReposForAuthenticatedUser"]}],mapCommitAuthor:["PATCH /repos/{owner}/{repo}/import/authors/{author_id}",{},{deprecated:"octokit.rest.migrations.mapCommitAuthor() is deprecated, see https://docs.github.com/rest/migrations/source-imports#map-a-commit-author"}],setLfsPreference:["PATCH /repos/{owner}/{repo}/import/lfs",{},{deprecated:"octokit.rest.migrations.setLfsPreference() is deprecated, see https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference"}],startForAuthenticatedUser:["POST /user/migrations"],startForOrg:["POST /orgs/{org}/migrations"],startImport:["PUT /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.startImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#start-an-import"}],unlockRepoForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock"],unlockRepoForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock"],updateImport:["PATCH /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.updateImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#update-an-import"}]},oidc:{getOidcCustomSubTemplateForOrg:["GET /orgs/{org}/actions/oidc/customization/sub"],updateOidcCustomSubTemplateForOrg:["PUT /orgs/{org}/actions/oidc/customization/sub"]},orgs:{addSecurityManagerTeam:["PUT /orgs/{org}/security-managers/teams/{team_slug}"],assignTeamToOrgRole:["PUT /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],assignUserToOrgRole:["PUT /orgs/{org}/organization-roles/users/{username}/{role_id}"],blockUser:["PUT /orgs/{org}/blocks/{username}"],cancelInvitation:["DELETE /orgs/{org}/invitations/{invitation_id}"],checkBlockedUser:["GET /orgs/{org}/blocks/{username}"],checkMembershipForUser:["GET /orgs/{org}/members/{username}"],checkPublicMembershipForUser:["GET /orgs/{org}/public_members/{username}"],convertMemberToOutsideCollaborator:["PUT /orgs/{org}/outside_collaborators/{username}"],createCustomOrganizationRole:["POST /orgs/{org}/organization-roles"],createInvitation:["POST /orgs/{org}/invitations"],createOrUpdateCustomProperties:["PATCH /orgs/{org}/properties/schema"],createOrUpdateCustomPropertiesValuesForRepos:["PATCH /orgs/{org}/properties/values"],createOrUpdateCustomProperty:["PUT /orgs/{org}/properties/schema/{custom_property_name}"],createWebhook:["POST /orgs/{org}/hooks"],delete:["DELETE /orgs/{org}"],deleteCustomOrganizationRole:["DELETE /orgs/{org}/organization-roles/{role_id}"],deleteWebhook:["DELETE /orgs/{org}/hooks/{hook_id}"],enableOrDisableSecurityProductOnAllOrgRepos:["POST /orgs/{org}/{security_product}/{enablement}"],get:["GET /orgs/{org}"],getAllCustomProperties:["GET /orgs/{org}/properties/schema"],getCustomProperty:["GET /orgs/{org}/properties/schema/{custom_property_name}"],getMembershipForAuthenticatedUser:["GET /user/memberships/orgs/{org}"],getMembershipForUser:["GET /orgs/{org}/memberships/{username}"],getOrgRole:["GET /orgs/{org}/organization-roles/{role_id}"],getWebhook:["GET /orgs/{org}/hooks/{hook_id}"],getWebhookConfigForOrg:["GET /orgs/{org}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}"],list:["GET /organizations"],listAppInstallations:["GET /orgs/{org}/installations"],listBlockedUsers:["GET /orgs/{org}/blocks"],listCustomPropertiesValuesForRepos:["GET /orgs/{org}/properties/values"],listFailedInvitations:["GET /orgs/{org}/failed_invitations"],listForAuthenticatedUser:["GET /user/orgs"],listForUser:["GET /users/{username}/orgs"],listInvitationTeams:["GET /orgs/{org}/invitations/{invitation_id}/teams"],listMembers:["GET /orgs/{org}/members"],listMembershipsForAuthenticatedUser:["GET /user/memberships/orgs"],listOrgRoleTeams:["GET /orgs/{org}/organization-roles/{role_id}/teams"],listOrgRoleUsers:["GET /orgs/{org}/organization-roles/{role_id}/users"],listOrgRoles:["GET /orgs/{org}/organization-roles"],listOrganizationFineGrainedPermissions:["GET /orgs/{org}/organization-fine-grained-permissions"],listOutsideCollaborators:["GET /orgs/{org}/outside_collaborators"],listPatGrantRepositories:["GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories"],listPatGrantRequestRepositories:["GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories"],listPatGrantRequests:["GET /orgs/{org}/personal-access-token-requests"],listPatGrants:["GET /orgs/{org}/personal-access-tokens"],listPendingInvitations:["GET /orgs/{org}/invitations"],listPublicMembers:["GET /orgs/{org}/public_members"],listSecurityManagerTeams:["GET /orgs/{org}/security-managers"],listWebhookDeliveries:["GET /orgs/{org}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /orgs/{org}/hooks"],patchCustomOrganizationRole:["PATCH /orgs/{org}/organization-roles/{role_id}"],pingWebhook:["POST /orgs/{org}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeCustomProperty:["DELETE /orgs/{org}/properties/schema/{custom_property_name}"],removeMember:["DELETE /orgs/{org}/members/{username}"],removeMembershipForUser:["DELETE /orgs/{org}/memberships/{username}"],removeOutsideCollaborator:["DELETE /orgs/{org}/outside_collaborators/{username}"],removePublicMembershipForAuthenticatedUser:["DELETE /orgs/{org}/public_members/{username}"],removeSecurityManagerTeam:["DELETE /orgs/{org}/security-managers/teams/{team_slug}"],reviewPatGrantRequest:["POST /orgs/{org}/personal-access-token-requests/{pat_request_id}"],reviewPatGrantRequestsInBulk:["POST /orgs/{org}/personal-access-token-requests"],revokeAllOrgRolesTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}"],revokeAllOrgRolesUser:["DELETE /orgs/{org}/organization-roles/users/{username}"],revokeOrgRoleTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],revokeOrgRoleUser:["DELETE /orgs/{org}/organization-roles/users/{username}/{role_id}"],setMembershipForUser:["PUT /orgs/{org}/memberships/{username}"],setPublicMembershipForAuthenticatedUser:["PUT /orgs/{org}/public_members/{username}"],unblockUser:["DELETE /orgs/{org}/blocks/{username}"],update:["PATCH /orgs/{org}"],updateMembershipForAuthenticatedUser:["PATCH /user/memberships/orgs/{org}"],updatePatAccess:["POST /orgs/{org}/personal-access-tokens/{pat_id}"],updatePatAccesses:["POST /orgs/{org}/personal-access-tokens"],updateWebhook:["PATCH /orgs/{org}/hooks/{hook_id}"],updateWebhookConfigForOrg:["PATCH /orgs/{org}/hooks/{hook_id}/config"]},packages:{deletePackageForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}"],deletePackageForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}"],deletePackageForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}"],deletePackageVersionForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getAllPackageVersionsForAPackageOwnedByAnOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByOrg"]}],getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByAuthenticatedUser"]}],getAllPackageVersionsForPackageOwnedByAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions"],getPackageForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}"],getPackageForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}"],getPackageForUser:["GET /users/{username}/packages/{package_type}/{package_name}"],getPackageVersionForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],listDockerMigrationConflictingPackagesForAuthenticatedUser:["GET /user/docker/conflicts"],listDockerMigrationConflictingPackagesForOrganization:["GET /orgs/{org}/docker/conflicts"],listDockerMigrationConflictingPackagesForUser:["GET /users/{username}/docker/conflicts"],listPackagesForAuthenticatedUser:["GET /user/packages"],listPackagesForOrganization:["GET /orgs/{org}/packages"],listPackagesForUser:["GET /users/{username}/packages"],restorePackageForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForUser:["POST /users/{username}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageVersionForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForUser:["POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"]},projects:{addCollaborator:["PUT /projects/{project_id}/collaborators/{username}"],createCard:["POST /projects/columns/{column_id}/cards"],createColumn:["POST /projects/{project_id}/columns"],createForAuthenticatedUser:["POST /user/projects"],createForOrg:["POST /orgs/{org}/projects"],createForRepo:["POST /repos/{owner}/{repo}/projects"],delete:["DELETE /projects/{project_id}"],deleteCard:["DELETE /projects/columns/cards/{card_id}"],deleteColumn:["DELETE /projects/columns/{column_id}"],get:["GET /projects/{project_id}"],getCard:["GET /projects/columns/cards/{card_id}"],getColumn:["GET /projects/columns/{column_id}"],getPermissionForUser:["GET /projects/{project_id}/collaborators/{username}/permission"],listCards:["GET /projects/columns/{column_id}/cards"],listCollaborators:["GET /projects/{project_id}/collaborators"],listColumns:["GET /projects/{project_id}/columns"],listForOrg:["GET /orgs/{org}/projects"],listForRepo:["GET /repos/{owner}/{repo}/projects"],listForUser:["GET /users/{username}/projects"],moveCard:["POST /projects/columns/cards/{card_id}/moves"],moveColumn:["POST /projects/columns/{column_id}/moves"],removeCollaborator:["DELETE /projects/{project_id}/collaborators/{username}"],update:["PATCH /projects/{project_id}"],updateCard:["PATCH /projects/columns/cards/{card_id}"],updateColumn:["PATCH /projects/columns/{column_id}"]},pulls:{checkIfMerged:["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],create:["POST /repos/{owner}/{repo}/pulls"],createReplyForReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies"],createReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],createReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments"],deletePendingReview:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],deleteReviewComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}"],dismissReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals"],get:["GET /repos/{owner}/{repo}/pulls/{pull_number}"],getReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],getReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"],list:["GET /repos/{owner}/{repo}/pulls"],listCommentsForReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments"],listCommits:["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"],listFiles:["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"],listRequestedReviewers:["GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],listReviewComments:["GET /repos/{owner}/{repo}/pulls/{pull_number}/comments"],listReviewCommentsForRepo:["GET /repos/{owner}/{repo}/pulls/comments"],listReviews:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],merge:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"],removeRequestedReviewers:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],requestReviewers:["POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],submitReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events"],update:["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"],updateBranch:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch"],updateReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],updateReviewComment:["PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}"]},rateLimit:{get:["GET /rate_limit"]},reactions:{createForCommitComment:["POST /repos/{owner}/{repo}/comments/{comment_id}/reactions"],createForIssue:["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions"],createForIssueComment:["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],createForPullRequestReviewComment:["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],createForRelease:["POST /repos/{owner}/{repo}/releases/{release_id}/reactions"],createForTeamDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],createForTeamDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"],deleteForCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}"],deleteForIssue:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}"],deleteForIssueComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}"],deleteForPullRequestComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}"],deleteForRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}"],deleteForTeamDiscussion:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}"],deleteForTeamDiscussionComment:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}"],listForCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions"],listForIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions"],listForIssueComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],listForPullRequestReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],listForRelease:["GET /repos/{owner}/{repo}/releases/{release_id}/reactions"],listForTeamDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],listForTeamDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"]},repos:{acceptInvitation:["PATCH /user/repository_invitations/{invitation_id}",{},{renamed:["repos","acceptInvitationForAuthenticatedUser"]}],acceptInvitationForAuthenticatedUser:["PATCH /user/repository_invitations/{invitation_id}"],addAppAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],addCollaborator:["PUT /repos/{owner}/{repo}/collaborators/{username}"],addStatusCheckContexts:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],addTeamAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],addUserAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],cancelPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel"],checkAutomatedSecurityFixes:["GET /repos/{owner}/{repo}/automated-security-fixes"],checkCollaborator:["GET /repos/{owner}/{repo}/collaborators/{username}"],checkVulnerabilityAlerts:["GET /repos/{owner}/{repo}/vulnerability-alerts"],codeownersErrors:["GET /repos/{owner}/{repo}/codeowners/errors"],compareCommits:["GET /repos/{owner}/{repo}/compare/{base}...{head}"],compareCommitsWithBasehead:["GET /repos/{owner}/{repo}/compare/{basehead}"],createAutolink:["POST /repos/{owner}/{repo}/autolinks"],createCommitComment:["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"],createCommitSignatureProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],createCommitStatus:["POST /repos/{owner}/{repo}/statuses/{sha}"],createDeployKey:["POST /repos/{owner}/{repo}/keys"],createDeployment:["POST /repos/{owner}/{repo}/deployments"],createDeploymentBranchPolicy:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],createDeploymentProtectionRule:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],createDeploymentStatus:["POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],createDispatchEvent:["POST /repos/{owner}/{repo}/dispatches"],createForAuthenticatedUser:["POST /user/repos"],createFork:["POST /repos/{owner}/{repo}/forks"],createInOrg:["POST /orgs/{org}/repos"],createOrUpdateCustomPropertiesValues:["PATCH /repos/{owner}/{repo}/properties/values"],createOrUpdateEnvironment:["PUT /repos/{owner}/{repo}/environments/{environment_name}"],createOrUpdateFileContents:["PUT /repos/{owner}/{repo}/contents/{path}"],createOrgRuleset:["POST /orgs/{org}/rulesets"],createPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments"],createPagesSite:["POST /repos/{owner}/{repo}/pages"],createRelease:["POST /repos/{owner}/{repo}/releases"],createRepoRuleset:["POST /repos/{owner}/{repo}/rulesets"],createTagProtection:["POST /repos/{owner}/{repo}/tags/protection"],createUsingTemplate:["POST /repos/{template_owner}/{template_repo}/generate"],createWebhook:["POST /repos/{owner}/{repo}/hooks"],declineInvitation:["DELETE /user/repository_invitations/{invitation_id}",{},{renamed:["repos","declineInvitationForAuthenticatedUser"]}],declineInvitationForAuthenticatedUser:["DELETE /user/repository_invitations/{invitation_id}"],delete:["DELETE /repos/{owner}/{repo}"],deleteAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],deleteAdminBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],deleteAnEnvironment:["DELETE /repos/{owner}/{repo}/environments/{environment_name}"],deleteAutolink:["DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}"],deleteBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection"],deleteCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}"],deleteCommitSignatureProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],deleteDeployKey:["DELETE /repos/{owner}/{repo}/keys/{key_id}"],deleteDeployment:["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"],deleteDeploymentBranchPolicy:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],deleteFile:["DELETE /repos/{owner}/{repo}/contents/{path}"],deleteInvitation:["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"],deleteOrgRuleset:["DELETE /orgs/{org}/rulesets/{ruleset_id}"],deletePagesSite:["DELETE /repos/{owner}/{repo}/pages"],deletePullRequestReviewProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],deleteRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}"],deleteReleaseAsset:["DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}"],deleteRepoRuleset:["DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}"],deleteTagProtection:["DELETE /repos/{owner}/{repo}/tags/protection/{tag_protection_id}"],deleteWebhook:["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"],disableAutomatedSecurityFixes:["DELETE /repos/{owner}/{repo}/automated-security-fixes"],disableDeploymentProtectionRule:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],disablePrivateVulnerabilityReporting:["DELETE /repos/{owner}/{repo}/private-vulnerability-reporting"],disableVulnerabilityAlerts:["DELETE /repos/{owner}/{repo}/vulnerability-alerts"],downloadArchive:["GET /repos/{owner}/{repo}/zipball/{ref}",{},{renamed:["repos","downloadZipballArchive"]}],downloadTarballArchive:["GET /repos/{owner}/{repo}/tarball/{ref}"],downloadZipballArchive:["GET /repos/{owner}/{repo}/zipball/{ref}"],enableAutomatedSecurityFixes:["PUT /repos/{owner}/{repo}/automated-security-fixes"],enablePrivateVulnerabilityReporting:["PUT /repos/{owner}/{repo}/private-vulnerability-reporting"],enableVulnerabilityAlerts:["PUT /repos/{owner}/{repo}/vulnerability-alerts"],generateReleaseNotes:["POST /repos/{owner}/{repo}/releases/generate-notes"],get:["GET /repos/{owner}/{repo}"],getAccessRestrictions:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],getAdminBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],getAllDeploymentProtectionRules:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],getAllEnvironments:["GET /repos/{owner}/{repo}/environments"],getAllStatusCheckContexts:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"],getAllTopics:["GET /repos/{owner}/{repo}/topics"],getAppsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"],getAutolink:["GET /repos/{owner}/{repo}/autolinks/{autolink_id}"],getBranch:["GET /repos/{owner}/{repo}/branches/{branch}"],getBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection"],getBranchRules:["GET /repos/{owner}/{repo}/rules/branches/{branch}"],getClones:["GET /repos/{owner}/{repo}/traffic/clones"],getCodeFrequencyStats:["GET /repos/{owner}/{repo}/stats/code_frequency"],getCollaboratorPermissionLevel:["GET /repos/{owner}/{repo}/collaborators/{username}/permission"],getCombinedStatusForRef:["GET /repos/{owner}/{repo}/commits/{ref}/status"],getCommit:["GET /repos/{owner}/{repo}/commits/{ref}"],getCommitActivityStats:["GET /repos/{owner}/{repo}/stats/commit_activity"],getCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}"],getCommitSignatureProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],getCommunityProfileMetrics:["GET /repos/{owner}/{repo}/community/profile"],getContent:["GET /repos/{owner}/{repo}/contents/{path}"],getContributorsStats:["GET /repos/{owner}/{repo}/stats/contributors"],getCustomDeploymentProtectionRule:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],getCustomPropertiesValues:["GET /repos/{owner}/{repo}/properties/values"],getDeployKey:["GET /repos/{owner}/{repo}/keys/{key_id}"],getDeployment:["GET /repos/{owner}/{repo}/deployments/{deployment_id}"],getDeploymentBranchPolicy:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],getDeploymentStatus:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"],getEnvironment:["GET /repos/{owner}/{repo}/environments/{environment_name}"],getLatestPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/latest"],getLatestRelease:["GET /repos/{owner}/{repo}/releases/latest"],getOrgRuleSuite:["GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id}"],getOrgRuleSuites:["GET /orgs/{org}/rulesets/rule-suites"],getOrgRuleset:["GET /orgs/{org}/rulesets/{ruleset_id}"],getOrgRulesets:["GET /orgs/{org}/rulesets"],getPages:["GET /repos/{owner}/{repo}/pages"],getPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/{build_id}"],getPagesDeployment:["GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}"],getPagesHealthCheck:["GET /repos/{owner}/{repo}/pages/health"],getParticipationStats:["GET /repos/{owner}/{repo}/stats/participation"],getPullRequestReviewProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],getPunchCardStats:["GET /repos/{owner}/{repo}/stats/punch_card"],getReadme:["GET /repos/{owner}/{repo}/readme"],getReadmeInDirectory:["GET /repos/{owner}/{repo}/readme/{dir}"],getRelease:["GET /repos/{owner}/{repo}/releases/{release_id}"],getReleaseAsset:["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"],getReleaseByTag:["GET /repos/{owner}/{repo}/releases/tags/{tag}"],getRepoRuleSuite:["GET /repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id}"],getRepoRuleSuites:["GET /repos/{owner}/{repo}/rulesets/rule-suites"],getRepoRuleset:["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"],getRepoRulesets:["GET /repos/{owner}/{repo}/rulesets"],getStatusChecksProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],getTeamsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"],getTopPaths:["GET /repos/{owner}/{repo}/traffic/popular/paths"],getTopReferrers:["GET /repos/{owner}/{repo}/traffic/popular/referrers"],getUsersWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"],getViews:["GET /repos/{owner}/{repo}/traffic/views"],getWebhook:["GET /repos/{owner}/{repo}/hooks/{hook_id}"],getWebhookConfigForRepo:["GET /repos/{owner}/{repo}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}"],listActivities:["GET /repos/{owner}/{repo}/activity"],listAutolinks:["GET /repos/{owner}/{repo}/autolinks"],listBranches:["GET /repos/{owner}/{repo}/branches"],listBranchesForHeadCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head"],listCollaborators:["GET /repos/{owner}/{repo}/collaborators"],listCommentsForCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"],listCommitCommentsForRepo:["GET /repos/{owner}/{repo}/comments"],listCommitStatusesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/statuses"],listCommits:["GET /repos/{owner}/{repo}/commits"],listContributors:["GET /repos/{owner}/{repo}/contributors"],listCustomDeploymentRuleIntegrations:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps"],listDeployKeys:["GET /repos/{owner}/{repo}/keys"],listDeploymentBranchPolicies:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],listDeploymentStatuses:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],listDeployments:["GET /repos/{owner}/{repo}/deployments"],listForAuthenticatedUser:["GET /user/repos"],listForOrg:["GET /orgs/{org}/repos"],listForUser:["GET /users/{username}/repos"],listForks:["GET /repos/{owner}/{repo}/forks"],listInvitations:["GET /repos/{owner}/{repo}/invitations"],listInvitationsForAuthenticatedUser:["GET /user/repository_invitations"],listLanguages:["GET /repos/{owner}/{repo}/languages"],listPagesBuilds:["GET /repos/{owner}/{repo}/pages/builds"],listPublic:["GET /repositories"],listPullRequestsAssociatedWithCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls"],listReleaseAssets:["GET /repos/{owner}/{repo}/releases/{release_id}/assets"],listReleases:["GET /repos/{owner}/{repo}/releases"],listTagProtection:["GET /repos/{owner}/{repo}/tags/protection"],listTags:["GET /repos/{owner}/{repo}/tags"],listTeams:["GET /repos/{owner}/{repo}/teams"],listWebhookDeliveries:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /repos/{owner}/{repo}/hooks"],merge:["POST /repos/{owner}/{repo}/merges"],mergeUpstream:["POST /repos/{owner}/{repo}/merge-upstream"],pingWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeAppAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],removeCollaborator:["DELETE /repos/{owner}/{repo}/collaborators/{username}"],removeStatusCheckContexts:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],removeStatusCheckProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],removeTeamAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],removeUserAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],renameBranch:["POST /repos/{owner}/{repo}/branches/{branch}/rename"],replaceAllTopics:["PUT /repos/{owner}/{repo}/topics"],requestPagesBuild:["POST /repos/{owner}/{repo}/pages/builds"],setAdminBranchProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],setAppAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],setStatusCheckContexts:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],setTeamAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],setUserAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],testPushWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"],transfer:["POST /repos/{owner}/{repo}/transfer"],update:["PATCH /repos/{owner}/{repo}"],updateBranchProtection:["PUT /repos/{owner}/{repo}/branches/{branch}/protection"],updateCommitComment:["PATCH /repos/{owner}/{repo}/comments/{comment_id}"],updateDeploymentBranchPolicy:["PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],updateInformationAboutPagesSite:["PUT /repos/{owner}/{repo}/pages"],updateInvitation:["PATCH /repos/{owner}/{repo}/invitations/{invitation_id}"],updateOrgRuleset:["PUT /orgs/{org}/rulesets/{ruleset_id}"],updatePullRequestReviewProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],updateRelease:["PATCH /repos/{owner}/{repo}/releases/{release_id}"],updateReleaseAsset:["PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}"],updateRepoRuleset:["PUT /repos/{owner}/{repo}/rulesets/{ruleset_id}"],updateStatusCheckPotection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks",{},{renamed:["repos","updateStatusCheckProtection"]}],updateStatusCheckProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],updateWebhook:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"],updateWebhookConfigForRepo:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config"],uploadReleaseAsset:["POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}",{baseUrl:"https://uploads.github.com"}]},search:{code:["GET /search/code"],commits:["GET /search/commits"],issuesAndPullRequests:["GET /search/issues"],labels:["GET /search/labels"],repos:["GET /search/repositories"],topics:["GET /search/topics"],users:["GET /search/users"]},secretScanning:{getAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/secret-scanning/alerts"],listAlertsForOrg:["GET /orgs/{org}/secret-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/secret-scanning/alerts"],listLocationsForAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations"],updateAlert:["PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"]},securityAdvisories:{createFork:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks"],createPrivateVulnerabilityReport:["POST /repos/{owner}/{repo}/security-advisories/reports"],createRepositoryAdvisory:["POST /repos/{owner}/{repo}/security-advisories"],createRepositoryAdvisoryCveRequest:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve"],getGlobalAdvisory:["GET /advisories/{ghsa_id}"],getRepositoryAdvisory:["GET /repos/{owner}/{repo}/security-advisories/{ghsa_id}"],listGlobalAdvisories:["GET /advisories"],listOrgRepositoryAdvisories:["GET /orgs/{org}/security-advisories"],listRepositoryAdvisories:["GET /repos/{owner}/{repo}/security-advisories"],updateRepositoryAdvisory:["PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id}"]},teams:{addOrUpdateMembershipForUserInOrg:["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"],addOrUpdateProjectPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}"],addOrUpdateRepoPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],checkPermissionsForProjectInOrg:["GET /orgs/{org}/teams/{team_slug}/projects/{project_id}"],checkPermissionsForRepoInOrg:["GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],create:["POST /orgs/{org}/teams"],createDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],createDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions"],deleteDiscussionCommentInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],deleteDiscussionInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],deleteInOrg:["DELETE /orgs/{org}/teams/{team_slug}"],getByName:["GET /orgs/{org}/teams/{team_slug}"],getDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],getDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],getMembershipForUserInOrg:["GET /orgs/{org}/teams/{team_slug}/memberships/{username}"],list:["GET /orgs/{org}/teams"],listChildInOrg:["GET /orgs/{org}/teams/{team_slug}/teams"],listDiscussionCommentsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],listDiscussionsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions"],listForAuthenticatedUser:["GET /user/teams"],listMembersInOrg:["GET /orgs/{org}/teams/{team_slug}/members"],listPendingInvitationsInOrg:["GET /orgs/{org}/teams/{team_slug}/invitations"],listProjectsInOrg:["GET /orgs/{org}/teams/{team_slug}/projects"],listReposInOrg:["GET /orgs/{org}/teams/{team_slug}/repos"],removeMembershipForUserInOrg:["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"],removeProjectInOrg:["DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}"],removeRepoInOrg:["DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],updateDiscussionCommentInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],updateDiscussionInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],updateInOrg:["PATCH /orgs/{org}/teams/{team_slug}"]},users:{addEmailForAuthenticated:["POST /user/emails",{},{renamed:["users","addEmailForAuthenticatedUser"]}],addEmailForAuthenticatedUser:["POST /user/emails"],addSocialAccountForAuthenticatedUser:["POST /user/social_accounts"],block:["PUT /user/blocks/{username}"],checkBlocked:["GET /user/blocks/{username}"],checkFollowingForUser:["GET /users/{username}/following/{target_user}"],checkPersonIsFollowedByAuthenticated:["GET /user/following/{username}"],createGpgKeyForAuthenticated:["POST /user/gpg_keys",{},{renamed:["users","createGpgKeyForAuthenticatedUser"]}],createGpgKeyForAuthenticatedUser:["POST /user/gpg_keys"],createPublicSshKeyForAuthenticated:["POST /user/keys",{},{renamed:["users","createPublicSshKeyForAuthenticatedUser"]}],createPublicSshKeyForAuthenticatedUser:["POST /user/keys"],createSshSigningKeyForAuthenticatedUser:["POST /user/ssh_signing_keys"],deleteEmailForAuthenticated:["DELETE /user/emails",{},{renamed:["users","deleteEmailForAuthenticatedUser"]}],deleteEmailForAuthenticatedUser:["DELETE /user/emails"],deleteGpgKeyForAuthenticated:["DELETE /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","deleteGpgKeyForAuthenticatedUser"]}],deleteGpgKeyForAuthenticatedUser:["DELETE /user/gpg_keys/{gpg_key_id}"],deletePublicSshKeyForAuthenticated:["DELETE /user/keys/{key_id}",{},{renamed:["users","deletePublicSshKeyForAuthenticatedUser"]}],deletePublicSshKeyForAuthenticatedUser:["DELETE /user/keys/{key_id}"],deleteSocialAccountForAuthenticatedUser:["DELETE /user/social_accounts"],deleteSshSigningKeyForAuthenticatedUser:["DELETE /user/ssh_signing_keys/{ssh_signing_key_id}"],follow:["PUT /user/following/{username}"],getAuthenticated:["GET /user"],getByUsername:["GET /users/{username}"],getContextForUser:["GET /users/{username}/hovercard"],getGpgKeyForAuthenticated:["GET /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","getGpgKeyForAuthenticatedUser"]}],getGpgKeyForAuthenticatedUser:["GET /user/gpg_keys/{gpg_key_id}"],getPublicSshKeyForAuthenticated:["GET /user/keys/{key_id}",{},{renamed:["users","getPublicSshKeyForAuthenticatedUser"]}],getPublicSshKeyForAuthenticatedUser:["GET /user/keys/{key_id}"],getSshSigningKeyForAuthenticatedUser:["GET /user/ssh_signing_keys/{ssh_signing_key_id}"],list:["GET /users"],listBlockedByAuthenticated:["GET /user/blocks",{},{renamed:["users","listBlockedByAuthenticatedUser"]}],listBlockedByAuthenticatedUser:["GET /user/blocks"],listEmailsForAuthenticated:["GET /user/emails",{},{renamed:["users","listEmailsForAuthenticatedUser"]}],listEmailsForAuthenticatedUser:["GET /user/emails"],listFollowedByAuthenticated:["GET /user/following",{},{renamed:["users","listFollowedByAuthenticatedUser"]}],listFollowedByAuthenticatedUser:["GET /user/following"],listFollowersForAuthenticatedUser:["GET /user/followers"],listFollowersForUser:["GET /users/{username}/followers"],listFollowingForUser:["GET /users/{username}/following"],listGpgKeysForAuthenticated:["GET /user/gpg_keys",{},{renamed:["users","listGpgKeysForAuthenticatedUser"]}],listGpgKeysForAuthenticatedUser:["GET /user/gpg_keys"],listGpgKeysForUser:["GET /users/{username}/gpg_keys"],listPublicEmailsForAuthenticated:["GET /user/public_emails",{},{renamed:["users","listPublicEmailsForAuthenticatedUser"]}],listPublicEmailsForAuthenticatedUser:["GET /user/public_emails"],listPublicKeysForUser:["GET /users/{username}/keys"],listPublicSshKeysForAuthenticated:["GET /user/keys",{},{renamed:["users","listPublicSshKeysForAuthenticatedUser"]}],listPublicSshKeysForAuthenticatedUser:["GET /user/keys"],listSocialAccountsForAuthenticatedUser:["GET /user/social_accounts"],listSocialAccountsForUser:["GET /users/{username}/social_accounts"],listSshSigningKeysForAuthenticatedUser:["GET /user/ssh_signing_keys"],listSshSigningKeysForUser:["GET /users/{username}/ssh_signing_keys"],setPrimaryEmailVisibilityForAuthenticated:["PATCH /user/email/visibility",{},{renamed:["users","setPrimaryEmailVisibilityForAuthenticatedUser"]}],setPrimaryEmailVisibilityForAuthenticatedUser:["PATCH /user/email/visibility"],unblock:["DELETE /user/blocks/{username}"],unfollow:["DELETE /user/following/{username}"],updateAuthenticated:["PATCH /user"]}};var re=te;var ne=new Map;for(const[i,d]of Object.entries(re)){for(const[p,v]of Object.entries(d)){const[d,V,K]=v;const[ee,te]=d.split(/ /);const re=Object.assign({method:ee,url:te},V);if(!ne.has(i)){ne.set(i,new Map)}ne.get(i).set(p,{scope:i,methodName:p,endpointDefaults:re,decorations:K})}}var ie={has({scope:i},d){return ne.get(i).has(d)},getOwnPropertyDescriptor(i,d){return{value:this.get(i,d),configurable:true,writable:true,enumerable:true}},defineProperty(i,d,p){Object.defineProperty(i.cache,d,p);return true},deleteProperty(i,d){delete i.cache[d];return true},ownKeys({scope:i}){return[...ne.get(i).keys()]},set(i,d,p){return i.cache[d]=p},get({octokit:i,scope:d,cache:p},v){if(p[v]){return p[v]}const V=ne.get(d).get(v);if(!V){return void 0}const{endpointDefaults:K,decorations:ee}=V;if(ee){p[v]=decorate(i,d,v,K,ee)}else{p[v]=i.request.defaults(K)}return p[v]}};function endpointsToMethods(i){const d={};for(const p of ne.keys()){d[p]=new Proxy({octokit:i,scope:p,cache:{}},ie)}return d}function decorate(i,d,p,v,V){const K=i.request.defaults(v);function withDecorations(...v){let ee=K.endpoint.merge(...v);if(V.mapToData){ee=Object.assign({},ee,{data:ee[V.mapToData],[V.mapToData]:void 0});return K(ee)}if(V.renamed){const[v,K]=V.renamed;i.log.warn(`octokit.${d}.${p}() has been renamed to octokit.${v}.${K}()`)}if(V.deprecated){i.log.warn(V.deprecated)}if(V.renamedParameters){const ee=K.endpoint.merge(...v);for(const[v,K]of Object.entries(V.renamedParameters)){if(v in ee){i.log.warn(`"${v}" parameter is deprecated for "octokit.${d}.${p}()". Use "${K}" instead`);if(!(K in ee)){ee[K]=ee[v]}delete ee[v]}}return K(ee)}return K(...v)}return Object.assign(withDecorations,K)}function restEndpointMethods(i){const d=endpointsToMethods(i);return{rest:d}}restEndpointMethods.VERSION=ee;function legacyRestEndpointMethods(i){const d=endpointsToMethods(i);return{...d,rest:d}}legacyRestEndpointMethods.VERSION=ee;0&&0},81046:(i,d,p)=>{const v=Symbol("SemVer ANY");class Comparator{static get ANY(){return v}constructor(i,d){d=V(d);if(i instanceof Comparator){if(i.loose===!!d.loose){return i}else{i=i.value}}i=i.trim().split(/\s+/).join(" ");re("comparator",i,d);this.options=d;this.loose=!!d.loose;this.parse(i);if(this.semver===v){this.value=""}else{this.value=this.operator+this.semver.version}re("comp",this)}parse(i){const d=this.options.loose?K[ee.COMPARATORLOOSE]:K[ee.COMPARATOR];const p=i.match(d);if(!p){throw new TypeError(`Invalid comparator: ${i}`)}this.operator=p[1]!==undefined?p[1]:"";if(this.operator==="="){this.operator=""}if(!p[2]){this.semver=v}else{this.semver=new ne(p[2],this.options.loose)}}toString(){return this.value}test(i){re("Comparator.test",i,this.options.loose);if(this.semver===v||i===v){return true}if(typeof i==="string"){try{i=new ne(i,this.options)}catch(i){return false}}return te(i,this.operator,this.semver,this.options)}intersects(i,d){if(!(i instanceof Comparator)){throw new TypeError("a Comparator is required")}if(this.operator===""){if(this.value===""){return true}return new ie(i.value,d).test(this.value)}else if(i.operator===""){if(i.value===""){return true}return new ie(this.value,d).test(i.semver)}d=V(d);if(d.includePrerelease&&(this.value==="<0.0.0-0"||i.value==="<0.0.0-0")){return false}if(!d.includePrerelease&&(this.value.startsWith("<0.0.0")||i.value.startsWith("<0.0.0"))){return false}if(this.operator.startsWith(">")&&i.operator.startsWith(">")){return true}if(this.operator.startsWith("<")&&i.operator.startsWith("<")){return true}if(this.semver.version===i.semver.version&&this.operator.includes("=")&&i.operator.includes("=")){return true}if(te(this.semver,"<",i.semver,d)&&this.operator.startsWith(">")&&i.operator.startsWith("<")){return true}if(te(this.semver,">",i.semver,d)&&this.operator.startsWith("<")&&i.operator.startsWith(">")){return true}return false}}i.exports=Comparator;const V=p(5385);const{safeRe:K,t:ee}=p(74836);const te=p(47721);const re=p(12814);const ne=p(55186);const ie=p(13177)},13177:(i,d,p)=>{const v=/\s+/g;class Range{constructor(i,d){d=ee(d);if(i instanceof Range){if(i.loose===!!d.loose&&i.includePrerelease===!!d.includePrerelease){return i}else{return new Range(i.raw,d)}}if(i instanceof te){this.raw=i.value;this.set=[[i]];this.formatted=undefined;return this}this.options=d;this.loose=!!d.loose;this.includePrerelease=!!d.includePrerelease;this.raw=i.trim().replace(v," ");this.set=this.raw.split("||").map((i=>this.parseRange(i.trim()))).filter((i=>i.length));if(!this.set.length){throw new TypeError(`Invalid SemVer Range: ${this.raw}`)}if(this.set.length>1){const i=this.set[0];this.set=this.set.filter((i=>!isNullSet(i[0])));if(this.set.length===0){this.set=[i]}else if(this.set.length>1){for(const i of this.set){if(i.length===1&&isAny(i[0])){this.set=[i];break}}}}this.formatted=undefined}get range(){if(this.formatted===undefined){this.formatted="";for(let i=0;i0){this.formatted+="||"}const d=this.set[i];for(let i=0;i0){this.formatted+=" "}this.formatted+=d[i].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(i){const d=(this.options.includePrerelease&&le)|(this.options.loose&&ue);const p=d+":"+i;const v=K.get(p);if(v){return v}const V=this.options.loose;const ee=V?ie[se.HYPHENRANGELOOSE]:ie[se.HYPHENRANGE];i=i.replace(ee,hyphenReplace(this.options.includePrerelease));re("hyphen replace",i);i=i.replace(ie[se.COMPARATORTRIM],oe);re("comparator trim",i);i=i.replace(ie[se.TILDETRIM],ae);re("tilde trim",i);i=i.replace(ie[se.CARETTRIM],ce);re("caret trim",i);let ne=i.split(" ").map((i=>parseComparator(i,this.options))).join(" ").split(/\s+/).map((i=>replaceGTE0(i,this.options)));if(V){ne=ne.filter((i=>{re("loose invalid filter",i,this.options);return!!i.match(ie[se.COMPARATORLOOSE])}))}re("range list",ne);const Ae=new Map;const de=ne.map((i=>new te(i,this.options)));for(const i of de){if(isNullSet(i)){return[i]}Ae.set(i.value,i)}if(Ae.size>1&&Ae.has("")){Ae.delete("")}const pe=[...Ae.values()];K.set(p,pe);return pe}intersects(i,d){if(!(i instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((p=>isSatisfiable(p,d)&&i.set.some((i=>isSatisfiable(i,d)&&p.every((p=>i.every((i=>p.intersects(i,d)))))))))}test(i){if(!i){return false}if(typeof i==="string"){try{i=new ne(i,this.options)}catch(i){return false}}for(let d=0;di.value==="<0.0.0-0";const isAny=i=>i.value==="";const isSatisfiable=(i,d)=>{let p=true;const v=i.slice();let V=v.pop();while(p&&v.length){p=v.every((i=>V.intersects(i,d)));V=v.pop()}return p};const parseComparator=(i,d)=>{i=i.replace(ie[se.BUILD],"");re("comp",i,d);i=replaceCarets(i,d);re("caret",i);i=replaceTildes(i,d);re("tildes",i);i=replaceXRanges(i,d);re("xrange",i);i=replaceStars(i,d);re("stars",i);return i};const isX=i=>!i||i.toLowerCase()==="x"||i==="*";const replaceTildes=(i,d)=>i.trim().split(/\s+/).map((i=>replaceTilde(i,d))).join(" ");const replaceTilde=(i,d)=>{const p=d.loose?ie[se.TILDELOOSE]:ie[se.TILDE];return i.replace(p,((d,p,v,V,K)=>{re("tilde",i,d,p,v,V,K);let ee;if(isX(p)){ee=""}else if(isX(v)){ee=`>=${p}.0.0 <${+p+1}.0.0-0`}else if(isX(V)){ee=`>=${p}.${v}.0 <${p}.${+v+1}.0-0`}else if(K){re("replaceTilde pr",K);ee=`>=${p}.${v}.${V}-${K} <${p}.${+v+1}.0-0`}else{ee=`>=${p}.${v}.${V} <${p}.${+v+1}.0-0`}re("tilde return",ee);return ee}))};const replaceCarets=(i,d)=>i.trim().split(/\s+/).map((i=>replaceCaret(i,d))).join(" ");const replaceCaret=(i,d)=>{re("caret",i,d);const p=d.loose?ie[se.CARETLOOSE]:ie[se.CARET];const v=d.includePrerelease?"-0":"";return i.replace(p,((d,p,V,K,ee)=>{re("caret",i,d,p,V,K,ee);let te;if(isX(p)){te=""}else if(isX(V)){te=`>=${p}.0.0${v} <${+p+1}.0.0-0`}else if(isX(K)){if(p==="0"){te=`>=${p}.${V}.0${v} <${p}.${+V+1}.0-0`}else{te=`>=${p}.${V}.0${v} <${+p+1}.0.0-0`}}else if(ee){re("replaceCaret pr",ee);if(p==="0"){if(V==="0"){te=`>=${p}.${V}.${K}-${ee} <${p}.${V}.${+K+1}-0`}else{te=`>=${p}.${V}.${K}-${ee} <${p}.${+V+1}.0-0`}}else{te=`>=${p}.${V}.${K}-${ee} <${+p+1}.0.0-0`}}else{re("no pr");if(p==="0"){if(V==="0"){te=`>=${p}.${V}.${K}${v} <${p}.${V}.${+K+1}-0`}else{te=`>=${p}.${V}.${K}${v} <${p}.${+V+1}.0-0`}}else{te=`>=${p}.${V}.${K} <${+p+1}.0.0-0`}}re("caret return",te);return te}))};const replaceXRanges=(i,d)=>{re("replaceXRanges",i,d);return i.split(/\s+/).map((i=>replaceXRange(i,d))).join(" ")};const replaceXRange=(i,d)=>{i=i.trim();const p=d.loose?ie[se.XRANGELOOSE]:ie[se.XRANGE];return i.replace(p,((p,v,V,K,ee,te)=>{re("xRange",i,p,v,V,K,ee,te);const ne=isX(V);const ie=ne||isX(K);const se=ie||isX(ee);const oe=se;if(v==="="&&oe){v=""}te=d.includePrerelease?"-0":"";if(ne){if(v===">"||v==="<"){p="<0.0.0-0"}else{p="*"}}else if(v&&oe){if(ie){K=0}ee=0;if(v===">"){v=">=";if(ie){V=+V+1;K=0;ee=0}else{K=+K+1;ee=0}}else if(v==="<="){v="<";if(ie){V=+V+1}else{K=+K+1}}if(v==="<"){te="-0"}p=`${v+V}.${K}.${ee}${te}`}else if(ie){p=`>=${V}.0.0${te} <${+V+1}.0.0-0`}else if(se){p=`>=${V}.${K}.0${te} <${V}.${+K+1}.0-0`}re("xRange return",p);return p}))};const replaceStars=(i,d)=>{re("replaceStars",i,d);return i.trim().replace(ie[se.STAR],"")};const replaceGTE0=(i,d)=>{re("replaceGTE0",i,d);return i.trim().replace(ie[d.includePrerelease?se.GTE0PRE:se.GTE0],"")};const hyphenReplace=i=>(d,p,v,V,K,ee,te,re,ne,ie,se,oe)=>{if(isX(v)){p=""}else if(isX(V)){p=`>=${v}.0.0${i?"-0":""}`}else if(isX(K)){p=`>=${v}.${V}.0${i?"-0":""}`}else if(ee){p=`>=${p}`}else{p=`>=${p}${i?"-0":""}`}if(isX(ne)){re=""}else if(isX(ie)){re=`<${+ne+1}.0.0-0`}else if(isX(se)){re=`<${ne}.${+ie+1}.0-0`}else if(oe){re=`<=${ne}.${ie}.${se}-${oe}`}else if(i){re=`<${ne}.${ie}.${+se+1}-0`}else{re=`<=${re}`}return`${p} ${re}`.trim()};const testSet=(i,d,p)=>{for(let p=0;p0){const v=i[p].semver;if(v.major===d.major&&v.minor===d.minor&&v.patch===d.patch){return true}}}return false}return true}},55186:(i,d,p)=>{const v=p(12814);const{MAX_LENGTH:V,MAX_SAFE_INTEGER:K}=p(68504);const{safeRe:ee,t:te}=p(74836);const re=p(5385);const{compareIdentifiers:ne}=p(77865);class SemVer{constructor(i,d){d=re(d);if(i instanceof SemVer){if(i.loose===!!d.loose&&i.includePrerelease===!!d.includePrerelease){return i}else{i=i.version}}else if(typeof i!=="string"){throw new TypeError(`Invalid version. Must be a string. Got type "${typeof i}".`)}if(i.length>V){throw new TypeError(`version is longer than ${V} characters`)}v("SemVer",i,d);this.options=d;this.loose=!!d.loose;this.includePrerelease=!!d.includePrerelease;const p=i.trim().match(d.loose?ee[te.LOOSE]:ee[te.FULL]);if(!p){throw new TypeError(`Invalid Version: ${i}`)}this.raw=i;this.major=+p[1];this.minor=+p[2];this.patch=+p[3];if(this.major>K||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>K||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>K||this.patch<0){throw new TypeError("Invalid patch version")}if(!p[4]){this.prerelease=[]}else{this.prerelease=p[4].split(".").map((i=>{if(/^[0-9]+$/.test(i)){const d=+i;if(d>=0&&di.major){return 1}if(this.minori.minor){return 1}if(this.patchi.patch){return 1}return 0}comparePre(i){if(!(i instanceof SemVer)){i=new SemVer(i,this.options)}if(this.prerelease.length&&!i.prerelease.length){return-1}else if(!this.prerelease.length&&i.prerelease.length){return 1}else if(!this.prerelease.length&&!i.prerelease.length){return 0}let d=0;do{const p=this.prerelease[d];const V=i.prerelease[d];v("prerelease compare",d,p,V);if(p===undefined&&V===undefined){return 0}else if(V===undefined){return 1}else if(p===undefined){return-1}else if(p===V){continue}else{return ne(p,V)}}while(++d)}compareBuild(i){if(!(i instanceof SemVer)){i=new SemVer(i,this.options)}let d=0;do{const p=this.build[d];const V=i.build[d];v("build compare",d,p,V);if(p===undefined&&V===undefined){return 0}else if(V===undefined){return 1}else if(p===undefined){return-1}else if(p===V){continue}else{return ne(p,V)}}while(++d)}inc(i,d,p){if(i.startsWith("pre")){if(!d&&p===false){throw new Error("invalid increment argument: identifier is empty")}if(d){const i=`-${d}`.match(this.options.loose?ee[te.PRERELEASELOOSE]:ee[te.PRERELEASE]);if(!i||i[1]!==d){throw new Error(`invalid identifier: ${d}`)}}}switch(i){case"premajor":this.prerelease.length=0;this.patch=0;this.minor=0;this.major++;this.inc("pre",d,p);break;case"preminor":this.prerelease.length=0;this.patch=0;this.minor++;this.inc("pre",d,p);break;case"prepatch":this.prerelease.length=0;this.inc("patch",d,p);this.inc("pre",d,p);break;case"prerelease":if(this.prerelease.length===0){this.inc("patch",d,p)}this.inc("pre",d,p);break;case"release":if(this.prerelease.length===0){throw new Error(`version ${this.raw} is not a prerelease`)}this.prerelease.length=0;break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0){this.major++}this.minor=0;this.patch=0;this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0){this.minor++}this.patch=0;this.prerelease=[];break;case"patch":if(this.prerelease.length===0){this.patch++}this.prerelease=[];break;case"pre":{const i=Number(p)?1:0;if(this.prerelease.length===0){this.prerelease=[i]}else{let v=this.prerelease.length;while(--v>=0){if(typeof this.prerelease[v]==="number"){this.prerelease[v]++;v=-2}}if(v===-1){if(d===this.prerelease.join(".")&&p===false){throw new Error("invalid increment argument: identifier already exists")}this.prerelease.push(i)}}if(d){let v=[d,i];if(p===false){v=[d]}if(ne(this.prerelease[0],d)===0){if(isNaN(this.prerelease[1])){this.prerelease=v}}else{this.prerelease=v}}break}default:throw new Error(`invalid increment argument: ${i}`)}this.raw=this.format();if(this.build.length){this.raw+=`+${this.build.join(".")}`}return this}}i.exports=SemVer},85436:(i,d,p)=>{const v=p(57526);const clean=(i,d)=>{const p=v(i.trim().replace(/^[=v]+/,""),d);return p?p.version:null};i.exports=clean},47721:(i,d,p)=>{const v=p(14107);const V=p(7705);const K=p(87962);const ee=p(55603);const te=p(40525);const re=p(13966);const cmp=(i,d,p,ne)=>{switch(d){case"===":if(typeof i==="object"){i=i.version}if(typeof p==="object"){p=p.version}return i===p;case"!==":if(typeof i==="object"){i=i.version}if(typeof p==="object"){p=p.version}return i!==p;case"":case"=":case"==":return v(i,p,ne);case"!=":return V(i,p,ne);case">":return K(i,p,ne);case">=":return ee(i,p,ne);case"<":return te(i,p,ne);case"<=":return re(i,p,ne);default:throw new TypeError(`Invalid operator: ${d}`)}};i.exports=cmp},76356:(i,d,p)=>{const v=p(55186);const V=p(57526);const{safeRe:K,t:ee}=p(74836);const coerce=(i,d)=>{if(i instanceof v){return i}if(typeof i==="number"){i=String(i)}if(typeof i!=="string"){return null}d=d||{};let p=null;if(!d.rtl){p=i.match(d.includePrerelease?K[ee.COERCEFULL]:K[ee.COERCE])}else{const v=d.includePrerelease?K[ee.COERCERTLFULL]:K[ee.COERCERTL];let V;while((V=v.exec(i))&&(!p||p.index+p[0].length!==i.length)){if(!p||V.index+V[0].length!==p.index+p[0].length){p=V}v.lastIndex=V.index+V[1].length+V[2].length}v.lastIndex=-1}if(p===null){return null}const te=p[2];const re=p[3]||"0";const ne=p[4]||"0";const ie=d.includePrerelease&&p[5]?`-${p[5]}`:"";const se=d.includePrerelease&&p[6]?`+${p[6]}`:"";return V(`${te}.${re}.${ne}${ie}${se}`,d)};i.exports=coerce},72147:(i,d,p)=>{const v=p(55186);const compareBuild=(i,d,p)=>{const V=new v(i,p);const K=new v(d,p);return V.compare(K)||V.compareBuild(K)};i.exports=compareBuild},28545:(i,d,p)=>{const v=p(10018);const compareLoose=(i,d)=>v(i,d,true);i.exports=compareLoose},10018:(i,d,p)=>{const v=p(55186);const compare=(i,d,p)=>new v(i,p).compare(new v(d,p));i.exports=compare},17290:(i,d,p)=>{const v=p(57526);const diff=(i,d)=>{const p=v(i,null,true);const V=v(d,null,true);const K=p.compare(V);if(K===0){return null}const ee=K>0;const te=ee?p:V;const re=ee?V:p;const ne=!!te.prerelease.length;const ie=!!re.prerelease.length;if(ie&&!ne){if(!re.patch&&!re.minor){return"major"}if(re.compareMain(te)===0){if(re.minor&&!re.patch){return"minor"}return"patch"}}const se=ne?"pre":"";if(p.major!==V.major){return se+"major"}if(p.minor!==V.minor){return se+"minor"}if(p.patch!==V.patch){return se+"patch"}return"prerelease"};i.exports=diff},14107:(i,d,p)=>{const v=p(10018);const eq=(i,d,p)=>v(i,d,p)===0;i.exports=eq},87962:(i,d,p)=>{const v=p(10018);const gt=(i,d,p)=>v(i,d,p)>0;i.exports=gt},55603:(i,d,p)=>{const v=p(10018);const gte=(i,d,p)=>v(i,d,p)>=0;i.exports=gte},2317:(i,d,p)=>{const v=p(55186);const inc=(i,d,p,V,K)=>{if(typeof p==="string"){K=V;V=p;p=undefined}try{return new v(i instanceof v?i.version:i,p).inc(d,V,K).version}catch(i){return null}};i.exports=inc},40525:(i,d,p)=>{const v=p(10018);const lt=(i,d,p)=>v(i,d,p)<0;i.exports=lt},13966:(i,d,p)=>{const v=p(10018);const lte=(i,d,p)=>v(i,d,p)<=0;i.exports=lte},14716:(i,d,p)=>{const v=p(55186);const major=(i,d)=>new v(i,d).major;i.exports=major},97968:(i,d,p)=>{const v=p(55186);const minor=(i,d)=>new v(i,d).minor;i.exports=minor},7705:(i,d,p)=>{const v=p(10018);const neq=(i,d,p)=>v(i,d,p)!==0;i.exports=neq},57526:(i,d,p)=>{const v=p(55186);const parse=(i,d,p=false)=>{if(i instanceof v){return i}try{return new v(i,d)}catch(i){if(!p){return null}throw i}};i.exports=parse},34807:(i,d,p)=>{const v=p(55186);const patch=(i,d)=>new v(i,d).patch;i.exports=patch},5039:(i,d,p)=>{const v=p(57526);const prerelease=(i,d)=>{const p=v(i,d);return p&&p.prerelease.length?p.prerelease:null};i.exports=prerelease},85236:(i,d,p)=>{const v=p(10018);const rcompare=(i,d,p)=>v(d,i,p);i.exports=rcompare},49547:(i,d,p)=>{const v=p(72147);const rsort=(i,d)=>i.sort(((i,p)=>v(p,i,d)));i.exports=rsort},36076:(i,d,p)=>{const v=p(13177);const satisfies=(i,d,p)=>{try{d=new v(d,p)}catch(i){return false}return d.test(i)};i.exports=satisfies},26293:(i,d,p)=>{const v=p(72147);const sort=(i,d)=>i.sort(((i,p)=>v(i,p,d)));i.exports=sort},32475:(i,d,p)=>{const v=p(57526);const valid=(i,d)=>{const p=v(i,d);return p?p.version:null};i.exports=valid},91955:(i,d,p)=>{const v=p(74836);const V=p(68504);const K=p(55186);const ee=p(77865);const te=p(57526);const re=p(32475);const ne=p(85436);const ie=p(2317);const se=p(17290);const oe=p(14716);const ae=p(97968);const ce=p(34807);const le=p(5039);const ue=p(10018);const Ae=p(85236);const de=p(28545);const pe=p(72147);const fe=p(26293);const he=p(49547);const ge=p(87962);const me=p(40525);const Ee=p(14107);const ye=p(7705);const Ce=p(55603);const be=p(13966);const Ie=p(47721);const Be=p(76356);const we=p(81046);const Se=p(13177);const Qe=p(36076);const ve=p(48465);const Re=p(11550);const Te=p(29820);const Ne=p(82271);const ke=p(88816);const De=p(26317);const xe=p(45133);const _e=p(58548);const Pe=p(69118);const Oe=p(43139);const Le=p(13474);i.exports={parse:te,valid:re,clean:ne,inc:ie,diff:se,major:oe,minor:ae,patch:ce,prerelease:le,compare:ue,rcompare:Ae,compareLoose:de,compareBuild:pe,sort:fe,rsort:he,gt:ge,lt:me,eq:Ee,neq:ye,gte:Ce,lte:be,cmp:Ie,coerce:Be,Comparator:we,Range:Se,satisfies:Qe,toComparators:ve,maxSatisfying:Re,minSatisfying:Te,minVersion:Ne,validRange:ke,outside:De,gtr:xe,ltr:_e,intersects:Pe,simplifyRange:Oe,subset:Le,SemVer:K,re:v.re,src:v.src,tokens:v.t,SEMVER_SPEC_VERSION:V.SEMVER_SPEC_VERSION,RELEASE_TYPES:V.RELEASE_TYPES,compareIdentifiers:ee.compareIdentifiers,rcompareIdentifiers:ee.rcompareIdentifiers}},68504:i=>{const d="2.0.0";const p=256;const v=Number.MAX_SAFE_INTEGER||9007199254740991;const V=16;const K=p-6;const ee=["major","premajor","minor","preminor","patch","prepatch","prerelease"];i.exports={MAX_LENGTH:p,MAX_SAFE_COMPONENT_LENGTH:V,MAX_SAFE_BUILD_LENGTH:K,MAX_SAFE_INTEGER:v,RELEASE_TYPES:ee,SEMVER_SPEC_VERSION:d,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},12814:i=>{const d=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...i)=>console.error("SEMVER",...i):()=>{};i.exports=d},77865:i=>{const d=/^[0-9]+$/;const compareIdentifiers=(i,p)=>{if(typeof i==="number"&&typeof p==="number"){return i===p?0:icompareIdentifiers(d,i);i.exports={compareIdentifiers:compareIdentifiers,rcompareIdentifiers:rcompareIdentifiers}},59896:i=>{class LRUCache{constructor(){this.max=1e3;this.map=new Map}get(i){const d=this.map.get(i);if(d===undefined){return undefined}else{this.map.delete(i);this.map.set(i,d);return d}}delete(i){return this.map.delete(i)}set(i,d){const p=this.delete(i);if(!p&&d!==undefined){if(this.map.size>=this.max){const i=this.map.keys().next().value;this.delete(i)}this.map.set(i,d)}return this}}i.exports=LRUCache},5385:i=>{const d=Object.freeze({loose:true});const p=Object.freeze({});const parseOptions=i=>{if(!i){return p}if(typeof i!=="object"){return d}return i};i.exports=parseOptions},74836:(i,d,p)=>{const{MAX_SAFE_COMPONENT_LENGTH:v,MAX_SAFE_BUILD_LENGTH:V,MAX_LENGTH:K}=p(68504);const ee=p(12814);d=i.exports={};const te=d.re=[];const re=d.safeRe=[];const ne=d.src=[];const ie=d.safeSrc=[];const se=d.t={};let oe=0;const ae="[a-zA-Z0-9-]";const ce=[["\\s",1],["\\d",K],[ae,V]];const makeSafeRegex=i=>{for(const[d,p]of ce){i=i.split(`${d}*`).join(`${d}{0,${p}}`).split(`${d}+`).join(`${d}{1,${p}}`)}return i};const createToken=(i,d,p)=>{const v=makeSafeRegex(d);const V=oe++;ee(i,V,d);se[i]=V;ne[V]=d;ie[V]=v;te[V]=new RegExp(d,p?"g":undefined);re[V]=new RegExp(v,p?"g":undefined)};createToken("NUMERICIDENTIFIER","0|[1-9]\\d*");createToken("NUMERICIDENTIFIERLOOSE","\\d+");createToken("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${ae}*`);createToken("MAINVERSION",`(${ne[se.NUMERICIDENTIFIER]})\\.`+`(${ne[se.NUMERICIDENTIFIER]})\\.`+`(${ne[se.NUMERICIDENTIFIER]})`);createToken("MAINVERSIONLOOSE",`(${ne[se.NUMERICIDENTIFIERLOOSE]})\\.`+`(${ne[se.NUMERICIDENTIFIERLOOSE]})\\.`+`(${ne[se.NUMERICIDENTIFIERLOOSE]})`);createToken("PRERELEASEIDENTIFIER",`(?:${ne[se.NONNUMERICIDENTIFIER]}|${ne[se.NUMERICIDENTIFIER]})`);createToken("PRERELEASEIDENTIFIERLOOSE",`(?:${ne[se.NONNUMERICIDENTIFIER]}|${ne[se.NUMERICIDENTIFIERLOOSE]})`);createToken("PRERELEASE",`(?:-(${ne[se.PRERELEASEIDENTIFIER]}(?:\\.${ne[se.PRERELEASEIDENTIFIER]})*))`);createToken("PRERELEASELOOSE",`(?:-?(${ne[se.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${ne[se.PRERELEASEIDENTIFIERLOOSE]})*))`);createToken("BUILDIDENTIFIER",`${ae}+`);createToken("BUILD",`(?:\\+(${ne[se.BUILDIDENTIFIER]}(?:\\.${ne[se.BUILDIDENTIFIER]})*))`);createToken("FULLPLAIN",`v?${ne[se.MAINVERSION]}${ne[se.PRERELEASE]}?${ne[se.BUILD]}?`);createToken("FULL",`^${ne[se.FULLPLAIN]}$`);createToken("LOOSEPLAIN",`[v=\\s]*${ne[se.MAINVERSIONLOOSE]}${ne[se.PRERELEASELOOSE]}?${ne[se.BUILD]}?`);createToken("LOOSE",`^${ne[se.LOOSEPLAIN]}$`);createToken("GTLT","((?:<|>)?=?)");createToken("XRANGEIDENTIFIERLOOSE",`${ne[se.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);createToken("XRANGEIDENTIFIER",`${ne[se.NUMERICIDENTIFIER]}|x|X|\\*`);createToken("XRANGEPLAIN",`[v=\\s]*(${ne[se.XRANGEIDENTIFIER]})`+`(?:\\.(${ne[se.XRANGEIDENTIFIER]})`+`(?:\\.(${ne[se.XRANGEIDENTIFIER]})`+`(?:${ne[se.PRERELEASE]})?${ne[se.BUILD]}?`+`)?)?`);createToken("XRANGEPLAINLOOSE",`[v=\\s]*(${ne[se.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${ne[se.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${ne[se.XRANGEIDENTIFIERLOOSE]})`+`(?:${ne[se.PRERELEASELOOSE]})?${ne[se.BUILD]}?`+`)?)?`);createToken("XRANGE",`^${ne[se.GTLT]}\\s*${ne[se.XRANGEPLAIN]}$`);createToken("XRANGELOOSE",`^${ne[se.GTLT]}\\s*${ne[se.XRANGEPLAINLOOSE]}$`);createToken("COERCEPLAIN",`${"(^|[^\\d])"+"(\\d{1,"}${v}})`+`(?:\\.(\\d{1,${v}}))?`+`(?:\\.(\\d{1,${v}}))?`);createToken("COERCE",`${ne[se.COERCEPLAIN]}(?:$|[^\\d])`);createToken("COERCEFULL",ne[se.COERCEPLAIN]+`(?:${ne[se.PRERELEASE]})?`+`(?:${ne[se.BUILD]})?`+`(?:$|[^\\d])`);createToken("COERCERTL",ne[se.COERCE],true);createToken("COERCERTLFULL",ne[se.COERCEFULL],true);createToken("LONETILDE","(?:~>?)");createToken("TILDETRIM",`(\\s*)${ne[se.LONETILDE]}\\s+`,true);d.tildeTrimReplace="$1~";createToken("TILDE",`^${ne[se.LONETILDE]}${ne[se.XRANGEPLAIN]}$`);createToken("TILDELOOSE",`^${ne[se.LONETILDE]}${ne[se.XRANGEPLAINLOOSE]}$`);createToken("LONECARET","(?:\\^)");createToken("CARETTRIM",`(\\s*)${ne[se.LONECARET]}\\s+`,true);d.caretTrimReplace="$1^";createToken("CARET",`^${ne[se.LONECARET]}${ne[se.XRANGEPLAIN]}$`);createToken("CARETLOOSE",`^${ne[se.LONECARET]}${ne[se.XRANGEPLAINLOOSE]}$`);createToken("COMPARATORLOOSE",`^${ne[se.GTLT]}\\s*(${ne[se.LOOSEPLAIN]})$|^$`);createToken("COMPARATOR",`^${ne[se.GTLT]}\\s*(${ne[se.FULLPLAIN]})$|^$`);createToken("COMPARATORTRIM",`(\\s*)${ne[se.GTLT]}\\s*(${ne[se.LOOSEPLAIN]}|${ne[se.XRANGEPLAIN]})`,true);d.comparatorTrimReplace="$1$2$3";createToken("HYPHENRANGE",`^\\s*(${ne[se.XRANGEPLAIN]})`+`\\s+-\\s+`+`(${ne[se.XRANGEPLAIN]})`+`\\s*$`);createToken("HYPHENRANGELOOSE",`^\\s*(${ne[se.XRANGEPLAINLOOSE]})`+`\\s+-\\s+`+`(${ne[se.XRANGEPLAINLOOSE]})`+`\\s*$`);createToken("STAR","(<|>)?=?\\s*\\*");createToken("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");createToken("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},45133:(i,d,p)=>{const v=p(26317);const gtr=(i,d,p)=>v(i,d,">",p);i.exports=gtr},69118:(i,d,p)=>{const v=p(13177);const intersects=(i,d,p)=>{i=new v(i,p);d=new v(d,p);return i.intersects(d,p)};i.exports=intersects},58548:(i,d,p)=>{const v=p(26317);const ltr=(i,d,p)=>v(i,d,"<",p);i.exports=ltr},11550:(i,d,p)=>{const v=p(55186);const V=p(13177);const maxSatisfying=(i,d,p)=>{let K=null;let ee=null;let te=null;try{te=new V(d,p)}catch(i){return null}i.forEach((i=>{if(te.test(i)){if(!K||ee.compare(i)===-1){K=i;ee=new v(K,p)}}}));return K};i.exports=maxSatisfying},29820:(i,d,p)=>{const v=p(55186);const V=p(13177);const minSatisfying=(i,d,p)=>{let K=null;let ee=null;let te=null;try{te=new V(d,p)}catch(i){return null}i.forEach((i=>{if(te.test(i)){if(!K||ee.compare(i)===1){K=i;ee=new v(K,p)}}}));return K};i.exports=minSatisfying},82271:(i,d,p)=>{const v=p(55186);const V=p(13177);const K=p(87962);const minVersion=(i,d)=>{i=new V(i,d);let p=new v("0.0.0");if(i.test(p)){return p}p=new v("0.0.0-0");if(i.test(p)){return p}p=null;for(let d=0;d{const d=new v(i.semver.version);switch(i.operator){case">":if(d.prerelease.length===0){d.patch++}else{d.prerelease.push(0)}d.raw=d.format();case"":case">=":if(!ee||K(d,ee)){ee=d}break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${i.operator}`)}}));if(ee&&(!p||K(p,ee))){p=ee}}if(p&&i.test(p)){return p}return null};i.exports=minVersion},26317:(i,d,p)=>{const v=p(55186);const V=p(81046);const{ANY:K}=V;const ee=p(13177);const te=p(36076);const re=p(87962);const ne=p(40525);const ie=p(13966);const se=p(55603);const outside=(i,d,p,oe)=>{i=new v(i,oe);d=new ee(d,oe);let ae,ce,le,ue,Ae;switch(p){case">":ae=re;ce=ie;le=ne;ue=">";Ae=">=";break;case"<":ae=ne;ce=se;le=re;ue="<";Ae="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(te(i,d,oe)){return false}for(let p=0;p{if(i.semver===K){i=new V(">=0.0.0")}ee=ee||i;te=te||i;if(ae(i.semver,ee.semver,oe)){ee=i}else if(le(i.semver,te.semver,oe)){te=i}}));if(ee.operator===ue||ee.operator===Ae){return false}if((!te.operator||te.operator===ue)&&ce(i,te.semver)){return false}else if(te.operator===Ae&&le(i,te.semver)){return false}}return true};i.exports=outside},43139:(i,d,p)=>{const v=p(36076);const V=p(10018);i.exports=(i,d,p)=>{const K=[];let ee=null;let te=null;const re=i.sort(((i,d)=>V(i,d,p)));for(const i of re){const V=v(i,d,p);if(V){te=i;if(!ee){ee=i}}else{if(te){K.push([ee,te])}te=null;ee=null}}if(ee){K.push([ee,null])}const ne=[];for(const[i,d]of K){if(i===d){ne.push(i)}else if(!d&&i===re[0]){ne.push("*")}else if(!d){ne.push(`>=${i}`)}else if(i===re[0]){ne.push(`<=${d}`)}else{ne.push(`${i} - ${d}`)}}const ie=ne.join(" || ");const se=typeof d.raw==="string"?d.raw:String(d);return ie.length{const v=p(13177);const V=p(81046);const{ANY:K}=V;const ee=p(36076);const te=p(10018);const subset=(i,d,p={})=>{if(i===d){return true}i=new v(i,p);d=new v(d,p);let V=false;e:for(const v of i.set){for(const i of d.set){const d=simpleSubset(v,i,p);V=V||d!==null;if(d){continue e}}if(V){return false}}return true};const re=[new V(">=0.0.0-0")];const ne=[new V(">=0.0.0")];const simpleSubset=(i,d,p)=>{if(i===d){return true}if(i.length===1&&i[0].semver===K){if(d.length===1&&d[0].semver===K){return true}else if(p.includePrerelease){i=re}else{i=ne}}if(d.length===1&&d[0].semver===K){if(p.includePrerelease){return true}else{d=ne}}const v=new Set;let V,ie;for(const d of i){if(d.operator===">"||d.operator===">="){V=higherGT(V,d,p)}else if(d.operator==="<"||d.operator==="<="){ie=lowerLT(ie,d,p)}else{v.add(d.semver)}}if(v.size>1){return null}let se;if(V&&ie){se=te(V.semver,ie.semver,p);if(se>0){return null}else if(se===0&&(V.operator!==">="||ie.operator!=="<=")){return null}}for(const i of v){if(V&&!ee(i,String(V),p)){return null}if(ie&&!ee(i,String(ie),p)){return null}for(const v of d){if(!ee(i,String(v),p)){return false}}return true}let oe,ae;let ce,le;let ue=ie&&!p.includePrerelease&&ie.semver.prerelease.length?ie.semver:false;let Ae=V&&!p.includePrerelease&&V.semver.prerelease.length?V.semver:false;if(ue&&ue.prerelease.length===1&&ie.operator==="<"&&ue.prerelease[0]===0){ue=false}for(const i of d){le=le||i.operator===">"||i.operator===">=";ce=ce||i.operator==="<"||i.operator==="<=";if(V){if(Ae){if(i.semver.prerelease&&i.semver.prerelease.length&&i.semver.major===Ae.major&&i.semver.minor===Ae.minor&&i.semver.patch===Ae.patch){Ae=false}}if(i.operator===">"||i.operator===">="){oe=higherGT(V,i,p);if(oe===i&&oe!==V){return false}}else if(V.operator===">="&&!ee(V.semver,String(i),p)){return false}}if(ie){if(ue){if(i.semver.prerelease&&i.semver.prerelease.length&&i.semver.major===ue.major&&i.semver.minor===ue.minor&&i.semver.patch===ue.patch){ue=false}}if(i.operator==="<"||i.operator==="<="){ae=lowerLT(ie,i,p);if(ae===i&&ae!==ie){return false}}else if(ie.operator==="<="&&!ee(ie.semver,String(i),p)){return false}}if(!i.operator&&(ie||V)&&se!==0){return false}}if(V&&ce&&!ie&&se!==0){return false}if(ie&&le&&!V&&se!==0){return false}if(Ae||ue){return false}return true};const higherGT=(i,d,p)=>{if(!i){return d}const v=te(i.semver,d.semver,p);return v>0?i:v<0?d:d.operator===">"&&i.operator===">="?d:i};const lowerLT=(i,d,p)=>{if(!i){return d}const v=te(i.semver,d.semver,p);return v<0?i:v>0?d:d.operator==="<"&&i.operator==="<="?d:i};i.exports=subset},48465:(i,d,p)=>{const v=p(13177);const toComparators=(i,d)=>new v(i,d).set.map((i=>i.map((i=>i.value)).join(" ").trim().split(" ")));i.exports=toComparators},88816:(i,d,p)=>{const v=p(13177);const validRange=(i,d)=>{try{return new v(i,d).range||"*"}catch(i){return null}};i.exports=validRange},11715:(i,d,p)=>{const v=p(57075).Writable;const V=p(57975).inherits;const K=p(51601);const ee=p(91403);const te=p(66604);const re=45;const ne=Buffer.from("-");const ie=Buffer.from("\r\n");const EMPTY_FN=function(){};function Dicer(i){if(!(this instanceof Dicer)){return new Dicer(i)}v.call(this,i);if(!i||!i.headerFirst&&typeof i.boundary!=="string"){throw new TypeError("Boundary required")}if(typeof i.boundary==="string"){this.setBoundary(i.boundary)}else{this._bparser=undefined}this._headerFirst=i.headerFirst;this._dashes=0;this._parts=0;this._finished=false;this._realFinish=false;this._isPreamble=true;this._justMatched=false;this._firstWrite=true;this._inHeader=true;this._part=undefined;this._cb=undefined;this._ignoreData=false;this._partOpts={highWaterMark:i.partHwm};this._pause=false;const d=this;this._hparser=new te(i);this._hparser.on("header",(function(i){d._inHeader=false;d._part.emit("header",i)}))}V(Dicer,v);Dicer.prototype.emit=function(i){if(i==="finish"&&!this._realFinish){if(!this._finished){const i=this;process.nextTick((function(){i.emit("error",new Error("Unexpected end of multipart data"));if(i._part&&!i._ignoreData){const d=i._isPreamble?"Preamble":"Part";i._part.emit("error",new Error(d+" terminated early due to unexpected end of multipart data"));i._part.push(null);process.nextTick((function(){i._realFinish=true;i.emit("finish");i._realFinish=false}));return}i._realFinish=true;i.emit("finish");i._realFinish=false}))}}else{v.prototype.emit.apply(this,arguments)}};Dicer.prototype._write=function(i,d,p){if(!this._hparser&&!this._bparser){return p()}if(this._headerFirst&&this._isPreamble){if(!this._part){this._part=new ee(this._partOpts);if(this._events.preamble){this.emit("preamble",this._part)}else{this._ignore()}}const d=this._hparser.push(i);if(!this._inHeader&&d!==undefined&&d{const v=p(78474).EventEmitter;const V=p(57975).inherits;const K=p(96424);const ee=p(51601);const te=Buffer.from("\r\n\r\n");const re=/\r\n/g;const ne=/^([^:]+):[ \t]?([\x00-\xFF]+)?$/;function HeaderParser(i){v.call(this);i=i||{};const d=this;this.nread=0;this.maxed=false;this.npairs=0;this.maxHeaderPairs=K(i,"maxHeaderPairs",2e3);this.maxHeaderSize=K(i,"maxHeaderSize",80*1024);this.buffer="";this.header={};this.finished=false;this.ss=new ee(te);this.ss.on("info",(function(i,p,v,V){if(p&&!d.maxed){if(d.nread+V-v>=d.maxHeaderSize){V=d.maxHeaderSize-d.nread+v;d.nread=d.maxHeaderSize;d.maxed=true}else{d.nread+=V-v}d.buffer+=p.toString("binary",v,V)}if(i){d._finish()}}))}V(HeaderParser,v);HeaderParser.prototype.push=function(i){const d=this.ss.push(i);if(this.finished){return d}};HeaderParser.prototype.reset=function(){this.finished=false;this.buffer="";this.header={};this.ss.reset()};HeaderParser.prototype._finish=function(){if(this.buffer){this._parseHeader()}this.ss.matches=this.ss.maxMatches;const i=this.header;this.header={};this.buffer="";this.finished=true;this.nread=this.npairs=0;this.maxed=false;this.emit("header",i)};HeaderParser.prototype._parseHeader=function(){if(this.npairs===this.maxHeaderPairs){return}const i=this.buffer.split(re);const d=i.length;let p,v;for(var V=0;V{const v=p(57975).inherits;const V=p(57075).Readable;function PartStream(i){V.call(this,i)}v(PartStream,V);PartStream.prototype._read=function(i){};i.exports=PartStream},51601:(i,d,p)=>{const v=p(78474).EventEmitter;const V=p(57975).inherits;function SBMH(i){if(typeof i==="string"){i=Buffer.from(i)}if(!Buffer.isBuffer(i)){throw new TypeError("The needle has to be a String or a Buffer.")}const d=i.length;if(d===0){throw new Error("The needle cannot be an empty String/Buffer.")}if(d>256){throw new Error("The needle cannot have a length bigger than 256.")}this.maxMatches=Infinity;this.matches=0;this._occ=new Array(256).fill(d);this._lookbehind_size=0;this._needle=i;this._bufpos=0;this._lookbehind=Buffer.alloc(d);for(var p=0;p=0){this.emit("info",false,this._lookbehind,0,this._lookbehind_size);this._lookbehind_size=0}else{const p=this._lookbehind_size+K;if(p>0){this.emit("info",false,this._lookbehind,0,p)}this._lookbehind.copy(this._lookbehind,0,p,this._lookbehind_size-p);this._lookbehind_size-=p;i.copy(this._lookbehind,this._lookbehind_size);this._lookbehind_size+=d;this._bufpos=d;return d}}K+=(K>=0)*this._bufpos;if(i.indexOf(p,K)!==-1){K=i.indexOf(p,K);++this.matches;if(K>0){this.emit("info",true,i,this._bufpos,K)}else{this.emit("info",true)}return this._bufpos=K+v}else{K=d-v}while(K0){this.emit("info",false,i,this._bufpos,K{const v=p(57075).Writable;const{inherits:V}=p(57975);const K=p(11715);const ee=p(46419);const te=p(55670);const re=p(28106);function Busboy(i){if(!(this instanceof Busboy)){return new Busboy(i)}if(typeof i!=="object"){throw new TypeError("Busboy expected an options-Object.")}if(typeof i.headers!=="object"){throw new TypeError("Busboy expected an options-Object with headers-attribute.")}if(typeof i.headers["content-type"]!=="string"){throw new TypeError("Missing Content-Type-header.")}const{headers:d,...p}=i;this.opts={autoDestroy:false,...p};v.call(this,this.opts);this._done=false;this._parser=this.getParserByHeaders(d);this._finished=false}V(Busboy,v);Busboy.prototype.emit=function(i){if(i==="finish"){if(!this._done){this._parser?.end();return}else if(this._finished){return}this._finished=true}v.prototype.emit.apply(this,arguments)};Busboy.prototype.getParserByHeaders=function(i){const d=re(i["content-type"]);const p={defCharset:this.opts.defCharset,fileHwm:this.opts.fileHwm,headers:i,highWaterMark:this.opts.highWaterMark,isPartAFile:this.opts.isPartAFile,limits:this.opts.limits,parsedConType:d,preservePath:this.opts.preservePath};if(ee.detect.test(d[0])){return new ee(this,p)}if(te.detect.test(d[0])){return new te(this,p)}throw new Error("Unsupported Content-Type.")};Busboy.prototype._write=function(i,d,p){this._parser.write(i,p)};i.exports=Busboy;i.exports["default"]=Busboy;i.exports.Busboy=Busboy;i.exports.Dicer=K},46419:(i,d,p)=>{const{Readable:v}=p(57075);const{inherits:V}=p(57975);const K=p(11715);const ee=p(28106);const te=p(15422);const re=p(54045);const ne=p(96424);const ie=/^boundary$/i;const se=/^form-data$/i;const oe=/^charset$/i;const ae=/^filename$/i;const ce=/^name$/i;Multipart.detect=/^multipart\/form-data/i;function Multipart(i,d){let p;let v;const V=this;let le;const ue=d.limits;const Ae=d.isPartAFile||((i,d,p)=>d==="application/octet-stream"||p!==undefined);const de=d.parsedConType||[];const pe=d.defCharset||"utf8";const fe=d.preservePath;const he={highWaterMark:d.fileHwm};for(p=0,v=de.length;pCe){V.parser.removeListener("part",onPart);V.parser.on("part",skipPart);i.hitPartsLimit=true;i.emit("partsLimit");return skipPart(d)}if(ve){const i=ve;i.emit("end");i.removeAllListeners("end")}d.on("header",(function(K){let ne;let ie;let le;let ue;let de;let Ce;let be=0;if(K["content-type"]){le=ee(K["content-type"][0]);if(le[0]){ne=le[0].toLowerCase();for(p=0,v=le.length;pme){const v=me-be+i.length;if(v>0){p.push(i.slice(0,v))}p.truncated=true;p.bytesRead=me;d.removeAllListeners("data");p.emit("limit");return}else if(!p.push(i)){V._pause=true}p.bytesRead=be};Re=function(){Qe=undefined;p.push(null)}}else{if(we===ye){if(!i.hitFieldsLimit){i.hitFieldsLimit=true;i.emit("fieldsLimit")}return skipPart(d)}++we;++Se;let p="";let v=false;ve=d;Ie=function(i){if((be+=i.length)>ge){const V=ge-(be-i.length);p+=i.toString("binary",0,V);v=true;d.removeAllListeners("data")}else{p+=i.toString("binary")}};Re=function(){ve=undefined;if(p.length){p=te(p,"binary",ue)}i.emit("field",ie,p,false,v,de,ne);--Se;checkFinished()}}d._readableState.sync=false;d.on("data",Ie);d.on("end",Re)})).on("error",(function(i){if(Qe){Qe.emit("error",i)}}))})).on("error",(function(d){i.emit("error",d)})).on("finish",(function(){Re=true;checkFinished()}))}Multipart.prototype.write=function(i,d){const p=this.parser.write(i);if(p&&!this._pause){d()}else{this._needDrain=!p;this._cb=d}};Multipart.prototype.end=function(){const i=this;if(i.parser.writable){i.parser.end()}else if(!i._boy._done){process.nextTick((function(){i._boy._done=true;i._boy.emit("finish")}))}};function skipPart(i){i.resume()}function FileStream(i){v.call(this,i);this.bytesRead=0;this.truncated=false}V(FileStream,v);FileStream.prototype._read=function(i){};i.exports=Multipart},55670:(i,d,p)=>{const v=p(27259);const V=p(15422);const K=p(96424);const ee=/^charset$/i;UrlEncoded.detect=/^application\/x-www-form-urlencoded/i;function UrlEncoded(i,d){const p=d.limits;const V=d.parsedConType;this.boy=i;this.fieldSizeLimit=K(p,"fieldSize",1*1024*1024);this.fieldNameSizeLimit=K(p,"fieldNameSize",100);this.fieldsLimit=K(p,"fields",Infinity);let te;for(var re=0,ne=V.length;reee){this._key+=this.decoder.write(i.toString("binary",ee,p))}this._state="val";this._hitLimit=false;this._checkingBytes=true;this._val="";this._bytesVal=0;this._valTrunc=false;this.decoder.reset();ee=p+1}else if(v!==undefined){++this._fields;let p;const K=this._keyTrunc;if(v>ee){p=this._key+=this.decoder.write(i.toString("binary",ee,v))}else{p=this._key}this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();if(p.length){this.boy.emit("field",V(p,"binary",this.charset),"",K,false)}ee=v+1;if(this._fields===this.fieldsLimit){return d()}}else if(this._hitLimit){if(K>ee){this._key+=this.decoder.write(i.toString("binary",ee,K))}ee=K;if((this._bytesKey=this._key.length)===this.fieldNameSizeLimit){this._checkingBytes=false;this._keyTrunc=true}}else{if(eeee){this._val+=this.decoder.write(i.toString("binary",ee,v))}this.boy.emit("field",V(this._key,"binary",this.charset),V(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc);this._state="key";this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();ee=v+1;if(this._fields===this.fieldsLimit){return d()}}else if(this._hitLimit){if(K>ee){this._val+=this.decoder.write(i.toString("binary",ee,K))}ee=K;if(this._val===""&&this.fieldSizeLimit===0||(this._bytesVal=this._val.length)===this.fieldSizeLimit){this._checkingBytes=false;this._valTrunc=true}}else{if(ee0){this.boy.emit("field",V(this._key,"binary",this.charset),"",this._keyTrunc,false)}else if(this._state==="val"){this.boy.emit("field",V(this._key,"binary",this.charset),V(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc)}this.boy._done=true;this.boy.emit("finish")};i.exports=UrlEncoded},27259:i=>{const d=/\+/g;const p=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];function Decoder(){this.buffer=undefined}Decoder.prototype.write=function(i){i=i.replace(d," ");let v="";let V=0;let K=0;const ee=i.length;for(;VK){v+=i.substring(K,V);K=V}this.buffer="";++K}}if(K{i.exports=function basename(i){if(typeof i!=="string"){return""}for(var d=i.length-1;d>=0;--d){switch(i.charCodeAt(d)){case 47:case 92:i=i.slice(d+1);return i===".."||i==="."?"":i}}return i===".."||i==="."?"":i}},15422:i=>{const d=new TextDecoder("utf-8");const p=new Map([["utf-8",d],["utf8",d]]);function decodeText(i,d,v){if(i){if(p.has(v)){try{return p.get(v).decode(Buffer.from(i,d))}catch(i){}}else{try{p.set(v,new TextDecoder(v));return p.get(v).decode(Buffer.from(i,d))}catch(i){}}}return i}i.exports=decodeText},96424:i=>{i.exports=function getLimit(i,d,p){if(!i||i[d]===undefined||i[d]===null){return p}if(typeof i[d]!=="number"||isNaN(i[d])){throw new TypeError("Limit "+d+" is not a valid number")}return i[d]}},28106:(i,d,p)=>{const v=p(15422);const V=/%([a-fA-F0-9]{2})/g;function encodedReplacer(i,d){return String.fromCharCode(parseInt(d,16))}function parseParams(i){const d=[];let p="key";let K="";let ee=false;let te=false;let re=0;let ne="";for(var ie=0,se=i.length;ie{var d=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var V=Object.prototype.hasOwnProperty;var __export=(i,p)=>{for(var v in p)d(i,v,{get:p[v],enumerable:true})};var __copyProps=(i,K,ee,te)=>{if(K&&typeof K==="object"||typeof K==="function"){for(let re of v(K))if(!V.call(i,re)&&re!==ee)d(i,re,{get:()=>K[re],enumerable:!(te=p(K,re))||te.enumerable})}return i};var __toCommonJS=i=>__copyProps(d({},"__esModule",{value:true}),i);var K={};__export(K,{createTokenAuth:()=>ne});i.exports=__toCommonJS(K);var ee=/^v1\./;var te=/^ghs_/;var re=/^ghu_/;async function auth(i){const d=i.split(/\./).length===3;const p=ee.test(i)||te.test(i);const v=re.test(i);const V=d?"app":p?"installation":v?"user-to-server":"oauth";return{type:"token",token:i,tokenType:V}}function withAuthorizationPrefix(i){if(i.split(/\./).length===3){return`bearer ${i}`}return`token ${i}`}async function hook(i,d,p,v){const V=d.endpoint.merge(p,v);V.headers.authorization=withAuthorizationPrefix(i);return d(V)}var ne=function createTokenAuth2(i){if(!i){throw new Error("[@octokit/auth-token] No token passed to createTokenAuth")}if(typeof i!=="string"){throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string")}i=i.replace(/^(token|bearer) +/i,"");return Object.assign(auth.bind(null,i),{hook:hook.bind(null,i)})};0&&0},61897:(i,d,p)=>{var v=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var K=Object.getOwnPropertyNames;var ee=Object.prototype.hasOwnProperty;var __export=(i,d)=>{for(var p in d)v(i,p,{get:d[p],enumerable:true})};var __copyProps=(i,d,p,te)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let re of K(d))if(!ee.call(i,re)&&re!==p)v(i,re,{get:()=>d[re],enumerable:!(te=V(d,re))||te.enumerable})}return i};var __toCommonJS=i=>__copyProps(v({},"__esModule",{value:true}),i);var te={};__export(te,{Octokit:()=>Ae});i.exports=__toCommonJS(te);var re=p(33843);var ne=p(52732);var ie=p(34558);var se=p(70007);var oe=p(77864);var ae="5.1.0";var noop=()=>{};var ce=console.warn.bind(console);var le=console.error.bind(console);var ue=`octokit-core.js/${ae} ${(0,re.getUserAgent)()}`;var Ae=class{static{this.VERSION=ae}static defaults(i){const d=class extends(this){constructor(...d){const p=d[0]||{};if(typeof i==="function"){super(i(p));return}super(Object.assign({},i,p,p.userAgent&&i.userAgent?{userAgent:`${p.userAgent} ${i.userAgent}`}:null))}};return d}static{this.plugins=[]}static plugin(...i){const d=this.plugins;const p=class extends(this){static{this.plugins=d.concat(i.filter((i=>!d.includes(i))))}};return p}constructor(i={}){const d=new ne.Collection;const p={baseUrl:ie.request.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},i.request,{hook:d.bind(null,"request")}),mediaType:{previews:[],format:""}};p.headers["user-agent"]=i.userAgent?`${i.userAgent} ${ue}`:ue;if(i.baseUrl){p.baseUrl=i.baseUrl}if(i.previews){p.mediaType.previews=i.previews}if(i.timeZone){p.headers["time-zone"]=i.timeZone}this.request=ie.request.defaults(p);this.graphql=(0,se.withCustomRequest)(this.request).defaults(p);this.log=Object.assign({debug:noop,info:noop,warn:ce,error:le},i.log);this.hook=d;if(!i.authStrategy){if(!i.auth){this.auth=async()=>({type:"unauthenticated"})}else{const p=(0,oe.createTokenAuth)(i.auth);d.wrap("request",p.hook);this.auth=p}}else{const{authStrategy:p,...v}=i;const V=p(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:v},i.auth));d.wrap("request",V.hook);this.auth=V}const v=this.constructor;for(let d=0;d{var v=Object.create;var V=Object.defineProperty;var K=Object.getOwnPropertyDescriptor;var ee=Object.getOwnPropertyNames;var te=Object.getPrototypeOf;var re=Object.prototype.hasOwnProperty;var __export=(i,d)=>{for(var p in d)V(i,p,{get:d[p],enumerable:true})};var __copyProps=(i,d,p,v)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let te of ee(d))if(!re.call(i,te)&&te!==p)V(i,te,{get:()=>d[te],enumerable:!(v=K(d,te))||v.enumerable})}return i};var __toESM=(i,d,p)=>(p=i!=null?v(te(i)):{},__copyProps(d||!i||!i.__esModule?V(p,"default",{value:i,enumerable:true}):p,i));var __toCommonJS=i=>__copyProps(V({},"__esModule",{value:true}),i);var ne={};__export(ne,{RequestError:()=>ce});i.exports=__toCommonJS(ne);var ie=p(14150);var se=__toESM(p(55560));var oe=(0,se.default)((i=>console.warn(i)));var ae=(0,se.default)((i=>console.warn(i)));var ce=class extends Error{constructor(i,d,p){super(i);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="HttpError";this.status=d;let v;if("headers"in p&&typeof p.headers!=="undefined"){v=p.headers}if("response"in p){this.response=p.response;v=p.response.headers}const V=Object.assign({},p.request);if(p.request.headers.authorization){V.headers=Object.assign({},p.request.headers,{authorization:p.request.headers.authorization.replace(/ .*$/," [REDACTED]")})}V.url=V.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]");this.request=V;Object.defineProperty(this,"code",{get(){oe(new ie.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`."));return d}});Object.defineProperty(this,"headers",{get(){ae(new ie.Deprecation("[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`."));return v||{}}})}};0&&0},34558:(i,d,p)=>{var v=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var K=Object.getOwnPropertyNames;var ee=Object.prototype.hasOwnProperty;var __export=(i,d)=>{for(var p in d)v(i,p,{get:d[p],enumerable:true})};var __copyProps=(i,d,p,te)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let re of K(d))if(!ee.call(i,re)&&re!==p)v(i,re,{get:()=>d[re],enumerable:!(te=V(d,re))||te.enumerable})}return i};var __toCommonJS=i=>__copyProps(v({},"__esModule",{value:true}),i);var te={};__export(te,{request:()=>ae});i.exports=__toCommonJS(te);var re=p(54471);var ne=p(33843);var ie="8.1.4";var se=p(93407);var oe=p(80497);function getBufferResponse(i){return i.arrayBuffer()}function fetchWrapper(i){var d,p,v;const V=i.request&&i.request.log?i.request.log:console;const K=((d=i.request)==null?void 0:d.parseSuccessResponseBody)!==false;if((0,se.isPlainObject)(i.body)||Array.isArray(i.body)){i.body=JSON.stringify(i.body)}let ee={};let te;let re;let{fetch:ne}=globalThis;if((p=i.request)==null?void 0:p.fetch){ne=i.request.fetch}if(!ne){throw new Error("fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing")}return ne(i.url,{method:i.method,body:i.body,headers:i.headers,signal:(v=i.request)==null?void 0:v.signal,...i.body&&{duplex:"half"}}).then((async d=>{re=d.url;te=d.status;for(const i of d.headers){ee[i[0]]=i[1]}if("deprecation"in ee){const d=ee.link&&ee.link.match(/<([^>]+)>; rel="deprecation"/);const p=d&&d.pop();V.warn(`[@octokit/request] "${i.method} ${i.url}" is deprecated. It is scheduled to be removed on ${ee.sunset}${p?`. See ${p}`:""}`)}if(te===204||te===205){return}if(i.method==="HEAD"){if(te<400){return}throw new oe.RequestError(d.statusText,te,{response:{url:re,status:te,headers:ee,data:void 0},request:i})}if(te===304){throw new oe.RequestError("Not modified",te,{response:{url:re,status:te,headers:ee,data:await getResponseData(d)},request:i})}if(te>=400){const p=await getResponseData(d);const v=new oe.RequestError(toErrorMessage(p),te,{response:{url:re,status:te,headers:ee,data:p},request:i});throw v}return K?await getResponseData(d):d.body})).then((i=>({status:te,url:re,headers:ee,data:i}))).catch((d=>{if(d instanceof oe.RequestError)throw d;else if(d.name==="AbortError")throw d;let p=d.message;if(d.name==="TypeError"&&"cause"in d){if(d.cause instanceof Error){p=d.cause.message}else if(typeof d.cause==="string"){p=d.cause}}throw new oe.RequestError(p,500,{request:i})}))}async function getResponseData(i){const d=i.headers.get("content-type");if(/application\/json/.test(d)){return i.json()}if(!d||/^text\/|charset=utf-8$/.test(d)){return i.text()}return getBufferResponse(i)}function toErrorMessage(i){if(typeof i==="string")return i;if("message"in i){if(Array.isArray(i.errors)){return`${i.message}: ${i.errors.map(JSON.stringify).join(", ")}`}return i.message}return`Unknown error: ${JSON.stringify(i)}`}function withDefaults(i,d){const p=i.defaults(d);const newApi=function(i,d){const v=p.merge(i,d);if(!v.request||!v.request.hook){return fetchWrapper(p.parse(v))}const request2=(i,d)=>fetchWrapper(p.parse(p.merge(i,d)));Object.assign(request2,{endpoint:p,defaults:withDefaults.bind(null,p)});return v.request.hook(request2,v)};return Object.assign(newApi,{endpoint:p,defaults:withDefaults.bind(null,p)})}var ae=withDefaults(re.endpoint,{headers:{"user-agent":`octokit-request.js/${ie} ${(0,ne.getUserAgent)()}`}});0&&0},54471:(i,d,p)=>{var v=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var K=Object.getOwnPropertyNames;var ee=Object.prototype.hasOwnProperty;var __export=(i,d)=>{for(var p in d)v(i,p,{get:d[p],enumerable:true})};var __copyProps=(i,d,p,te)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let re of K(d))if(!ee.call(i,re)&&re!==p)v(i,re,{get:()=>d[re],enumerable:!(te=V(d,re))||te.enumerable})}return i};var __toCommonJS=i=>__copyProps(v({},"__esModule",{value:true}),i);var te={};__export(te,{endpoint:()=>ce});i.exports=__toCommonJS(te);var re=p(33843);var ne="9.0.1";var ie=`octokit-endpoint.js/${ne} ${(0,re.getUserAgent)()}`;var se={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":ie},mediaType:{format:""}};function lowercaseKeys(i){if(!i){return{}}return Object.keys(i).reduce(((d,p)=>{d[p.toLowerCase()]=i[p];return d}),{})}var oe=p(93407);function mergeDeep(i,d){const p=Object.assign({},i);Object.keys(d).forEach((v=>{if((0,oe.isPlainObject)(d[v])){if(!(v in i))Object.assign(p,{[v]:d[v]});else p[v]=mergeDeep(i[v],d[v])}else{Object.assign(p,{[v]:d[v]})}}));return p}function removeUndefinedProperties(i){for(const d in i){if(i[d]===void 0){delete i[d]}}return i}function merge(i,d,p){if(typeof d==="string"){let[i,v]=d.split(" ");p=Object.assign(v?{method:i,url:v}:{url:i},p)}else{p=Object.assign({},d)}p.headers=lowercaseKeys(p.headers);removeUndefinedProperties(p);removeUndefinedProperties(p.headers);const v=mergeDeep(i||{},p);if(p.url==="/graphql"){if(i&&i.mediaType.previews?.length){v.mediaType.previews=i.mediaType.previews.filter((i=>!v.mediaType.previews.includes(i))).concat(v.mediaType.previews)}v.mediaType.previews=(v.mediaType.previews||[]).map((i=>i.replace(/-preview/,"")))}return v}function addQueryParameters(i,d){const p=/\?/.test(i)?"&":"?";const v=Object.keys(d);if(v.length===0){return i}return i+p+v.map((i=>{if(i==="q"){return"q="+d.q.split("+").map(encodeURIComponent).join("+")}return`${i}=${encodeURIComponent(d[i])}`})).join("&")}var ae=/\{[^}]+\}/g;function removeNonChars(i){return i.replace(/^\W+|\W+$/g,"").split(/,/)}function extractUrlVariableNames(i){const d=i.match(ae);if(!d){return[]}return d.map(removeNonChars).reduce(((i,d)=>i.concat(d)),[])}function omit(i,d){return Object.keys(i).filter((i=>!d.includes(i))).reduce(((d,p)=>{d[p]=i[p];return d}),{})}function encodeReserved(i){return i.split(/(%[0-9A-Fa-f]{2})/g).map((function(i){if(!/%[0-9A-Fa-f]/.test(i)){i=encodeURI(i).replace(/%5B/g,"[").replace(/%5D/g,"]")}return i})).join("")}function encodeUnreserved(i){return encodeURIComponent(i).replace(/[!'()*]/g,(function(i){return"%"+i.charCodeAt(0).toString(16).toUpperCase()}))}function encodeValue(i,d,p){d=i==="+"||i==="#"?encodeReserved(d):encodeUnreserved(d);if(p){return encodeUnreserved(p)+"="+d}else{return d}}function isDefined(i){return i!==void 0&&i!==null}function isKeyOperator(i){return i===";"||i==="&"||i==="?"}function getValues(i,d,p,v){var V=i[p],K=[];if(isDefined(V)&&V!==""){if(typeof V==="string"||typeof V==="number"||typeof V==="boolean"){V=V.toString();if(v&&v!=="*"){V=V.substring(0,parseInt(v,10))}K.push(encodeValue(d,V,isKeyOperator(d)?p:""))}else{if(v==="*"){if(Array.isArray(V)){V.filter(isDefined).forEach((function(i){K.push(encodeValue(d,i,isKeyOperator(d)?p:""))}))}else{Object.keys(V).forEach((function(i){if(isDefined(V[i])){K.push(encodeValue(d,V[i],i))}}))}}else{const i=[];if(Array.isArray(V)){V.filter(isDefined).forEach((function(p){i.push(encodeValue(d,p))}))}else{Object.keys(V).forEach((function(p){if(isDefined(V[p])){i.push(encodeUnreserved(p));i.push(encodeValue(d,V[p].toString()))}}))}if(isKeyOperator(d)){K.push(encodeUnreserved(p)+"="+i.join(","))}else if(i.length!==0){K.push(i.join(","))}}}}else{if(d===";"){if(isDefined(V)){K.push(encodeUnreserved(p))}}else if(V===""&&(d==="&"||d==="?")){K.push(encodeUnreserved(p)+"=")}else if(V===""){K.push("")}}return K}function parseUrl(i){return{expand:expand.bind(null,i)}}function expand(i,d){var p=["+","#",".","/",";","?","&"];return i.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,(function(i,v,V){if(v){let i="";const V=[];if(p.indexOf(v.charAt(0))!==-1){i=v.charAt(0);v=v.substr(1)}v.split(/,/g).forEach((function(p){var v=/([^:\*]*)(?::(\d+)|(\*))?/.exec(p);V.push(getValues(d,i,v[1],v[2]||v[3]))}));if(i&&i!=="+"){var K=",";if(i==="?"){K="&"}else if(i!=="#"){K=i}return(V.length!==0?i:"")+V.join(K)}else{return V.join(",")}}else{return encodeReserved(V)}}))}function parse(i){let d=i.method.toUpperCase();let p=(i.url||"/").replace(/:([a-z]\w+)/g,"{$1}");let v=Object.assign({},i.headers);let V;let K=omit(i,["method","baseUrl","url","headers","request","mediaType"]);const ee=extractUrlVariableNames(p);p=parseUrl(p).expand(K);if(!/^http/.test(p)){p=i.baseUrl+p}const te=Object.keys(i).filter((i=>ee.includes(i))).concat("baseUrl");const re=omit(K,te);const ne=/application\/octet-stream/i.test(v.accept);if(!ne){if(i.mediaType.format){v.accept=v.accept.split(/,/).map((d=>d.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${i.mediaType.format}`))).join(",")}if(p.endsWith("/graphql")){if(i.mediaType.previews?.length){const d=v.accept.match(/[\w-]+(?=-preview)/g)||[];v.accept=d.concat(i.mediaType.previews).map((d=>{const p=i.mediaType.format?`.${i.mediaType.format}`:"+json";return`application/vnd.github.${d}-preview${p}`})).join(",")}}}if(["GET","HEAD"].includes(d)){p=addQueryParameters(p,re)}else{if("data"in re){V=re.data}else{if(Object.keys(re).length){V=re}}}if(!v["content-type"]&&typeof V!=="undefined"){v["content-type"]="application/json; charset=utf-8"}if(["PATCH","PUT"].includes(d)&&typeof V==="undefined"){V=""}return Object.assign({method:d,url:p,headers:v},typeof V!=="undefined"?{body:V}:null,i.request?{request:i.request}:null)}function endpointWithDefaults(i,d,p){return parse(merge(i,d,p))}function withDefaults(i,d){const p=merge(i,d);const v=endpointWithDefaults.bind(null,p);return Object.assign(v,{DEFAULTS:p,defaults:withDefaults.bind(null,p),merge:merge.bind(null,p),parse:parse})}var ce=withDefaults(null,se);0&&0},70007:(i,d,p)=>{var v=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var K=Object.getOwnPropertyNames;var ee=Object.prototype.hasOwnProperty;var __export=(i,d)=>{for(var p in d)v(i,p,{get:d[p],enumerable:true})};var __copyProps=(i,d,p,te)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let re of K(d))if(!ee.call(i,re)&&re!==p)v(i,re,{get:()=>d[re],enumerable:!(te=V(d,re))||te.enumerable})}return i};var __toCommonJS=i=>__copyProps(v({},"__esModule",{value:true}),i);var te={};__export(te,{GraphqlResponseError:()=>ae,graphql:()=>Ae,withCustomRequest:()=>withCustomRequest});i.exports=__toCommonJS(te);var re=p(2804);var ne=p(33843);var ie="7.0.2";var se=p(2804);var oe=p(2804);function _buildMessageForResponseErrors(i){return`Request failed due to following response errors:\n`+i.errors.map((i=>` - ${i.message}`)).join("\n")}var ae=class extends Error{constructor(i,d,p){super(_buildMessageForResponseErrors(p));this.request=i;this.headers=d;this.response=p;this.name="GraphqlResponseError";this.errors=p.errors;this.data=p.data;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}};var ce=["method","baseUrl","url","headers","request","query","mediaType"];var le=["query","method","url"];var ue=/\/api\/v3\/?$/;function graphql(i,d,p){if(p){if(typeof d==="string"&&"query"in p){return Promise.reject(new Error(`[@octokit/graphql] "query" cannot be used as variable name`))}for(const i in p){if(!le.includes(i))continue;return Promise.reject(new Error(`[@octokit/graphql] "${i}" cannot be used as variable name`))}}const v=typeof d==="string"?Object.assign({query:d},p):d;const V=Object.keys(v).reduce(((i,d)=>{if(ce.includes(d)){i[d]=v[d];return i}if(!i.variables){i.variables={}}i.variables[d]=v[d];return i}),{});const K=v.baseUrl||i.endpoint.DEFAULTS.baseUrl;if(ue.test(K)){V.url=K.replace(ue,"/api/graphql")}return i(V).then((i=>{if(i.data.errors){const d={};for(const p of Object.keys(i.headers)){d[p]=i.headers[p]}throw new ae(V,d,i.data)}return i.data.data}))}function withDefaults(i,d){const p=i.defaults(d);const newApi=(i,d)=>graphql(p,i,d);return Object.assign(newApi,{defaults:withDefaults.bind(null,p),endpoint:p.endpoint})}var Ae=withDefaults(re.request,{headers:{"user-agent":`octokit-graphql.js/${ie} ${(0,ne.getUserAgent)()}`},method:"POST",url:"/graphql"});function withCustomRequest(i){return withDefaults(i,{method:"POST",url:"/graphql"})}0&&0},4751:(i,d,p)=>{var v=Object.create;var V=Object.defineProperty;var K=Object.getOwnPropertyDescriptor;var ee=Object.getOwnPropertyNames;var te=Object.getPrototypeOf;var re=Object.prototype.hasOwnProperty;var __export=(i,d)=>{for(var p in d)V(i,p,{get:d[p],enumerable:true})};var __copyProps=(i,d,p,v)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let te of ee(d))if(!re.call(i,te)&&te!==p)V(i,te,{get:()=>d[te],enumerable:!(v=K(d,te))||v.enumerable})}return i};var __toESM=(i,d,p)=>(p=i!=null?v(te(i)):{},__copyProps(d||!i||!i.__esModule?V(p,"default",{value:i,enumerable:true}):p,i));var __toCommonJS=i=>__copyProps(V({},"__esModule",{value:true}),i);var ne={};__export(ne,{RequestError:()=>ce});i.exports=__toCommonJS(ne);var ie=p(14150);var se=__toESM(p(55560));var oe=(0,se.default)((i=>console.warn(i)));var ae=(0,se.default)((i=>console.warn(i)));var ce=class extends Error{constructor(i,d,p){super(i);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="HttpError";this.status=d;let v;if("headers"in p&&typeof p.headers!=="undefined"){v=p.headers}if("response"in p){this.response=p.response;v=p.response.headers}const V=Object.assign({},p.request);if(p.request.headers.authorization){V.headers=Object.assign({},p.request.headers,{authorization:p.request.headers.authorization.replace(/ .*$/," [REDACTED]")})}V.url=V.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]");this.request=V;Object.defineProperty(this,"code",{get(){oe(new ie.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`."));return d}});Object.defineProperty(this,"headers",{get(){ae(new ie.Deprecation("[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`."));return v||{}}})}};0&&0},2804:(i,d,p)=>{var v=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var K=Object.getOwnPropertyNames;var ee=Object.prototype.hasOwnProperty;var __export=(i,d)=>{for(var p in d)v(i,p,{get:d[p],enumerable:true})};var __copyProps=(i,d,p,te)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let re of K(d))if(!ee.call(i,re)&&re!==p)v(i,re,{get:()=>d[re],enumerable:!(te=V(d,re))||te.enumerable})}return i};var __toCommonJS=i=>__copyProps(v({},"__esModule",{value:true}),i);var te={};__export(te,{request:()=>ae});i.exports=__toCommonJS(te);var re=p(54471);var ne=p(33843);var ie="8.1.4";var se=p(93407);var oe=p(4751);function getBufferResponse(i){return i.arrayBuffer()}function fetchWrapper(i){var d,p,v;const V=i.request&&i.request.log?i.request.log:console;const K=((d=i.request)==null?void 0:d.parseSuccessResponseBody)!==false;if((0,se.isPlainObject)(i.body)||Array.isArray(i.body)){i.body=JSON.stringify(i.body)}let ee={};let te;let re;let{fetch:ne}=globalThis;if((p=i.request)==null?void 0:p.fetch){ne=i.request.fetch}if(!ne){throw new Error("fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing")}return ne(i.url,{method:i.method,body:i.body,headers:i.headers,signal:(v=i.request)==null?void 0:v.signal,...i.body&&{duplex:"half"}}).then((async d=>{re=d.url;te=d.status;for(const i of d.headers){ee[i[0]]=i[1]}if("deprecation"in ee){const d=ee.link&&ee.link.match(/<([^>]+)>; rel="deprecation"/);const p=d&&d.pop();V.warn(`[@octokit/request] "${i.method} ${i.url}" is deprecated. It is scheduled to be removed on ${ee.sunset}${p?`. See ${p}`:""}`)}if(te===204||te===205){return}if(i.method==="HEAD"){if(te<400){return}throw new oe.RequestError(d.statusText,te,{response:{url:re,status:te,headers:ee,data:void 0},request:i})}if(te===304){throw new oe.RequestError("Not modified",te,{response:{url:re,status:te,headers:ee,data:await getResponseData(d)},request:i})}if(te>=400){const p=await getResponseData(d);const v=new oe.RequestError(toErrorMessage(p),te,{response:{url:re,status:te,headers:ee,data:p},request:i});throw v}return K?await getResponseData(d):d.body})).then((i=>({status:te,url:re,headers:ee,data:i}))).catch((d=>{if(d instanceof oe.RequestError)throw d;else if(d.name==="AbortError")throw d;let p=d.message;if(d.name==="TypeError"&&"cause"in d){if(d.cause instanceof Error){p=d.cause.message}else if(typeof d.cause==="string"){p=d.cause}}throw new oe.RequestError(p,500,{request:i})}))}async function getResponseData(i){const d=i.headers.get("content-type");if(/application\/json/.test(d)){return i.json()}if(!d||/^text\/|charset=utf-8$/.test(d)){return i.text()}return getBufferResponse(i)}function toErrorMessage(i){if(typeof i==="string")return i;if("message"in i){if(Array.isArray(i.errors)){return`${i.message}: ${i.errors.map(JSON.stringify).join(", ")}`}return i.message}return`Unknown error: ${JSON.stringify(i)}`}function withDefaults(i,d){const p=i.defaults(d);const newApi=function(i,d){const v=p.merge(i,d);if(!v.request||!v.request.hook){return fetchWrapper(p.parse(v))}const request2=(i,d)=>fetchWrapper(p.parse(p.merge(i,d)));Object.assign(request2,{endpoint:p,defaults:withDefaults.bind(null,p)});return v.request.hook(request2,v)};return Object.assign(newApi,{endpoint:p,defaults:withDefaults.bind(null,p)})}var ae=withDefaults(re.endpoint,{headers:{"user-agent":`octokit-request.js/${ie} ${(0,ne.getUserAgent)()}`}});0&&0},38082:i=>{var d=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var V=Object.prototype.hasOwnProperty;var __export=(i,p)=>{for(var v in p)d(i,v,{get:p[v],enumerable:true})};var __copyProps=(i,K,ee,te)=>{if(K&&typeof K==="object"||typeof K==="function"){for(let re of v(K))if(!V.call(i,re)&&re!==ee)d(i,re,{get:()=>K[re],enumerable:!(te=p(K,re))||te.enumerable})}return i};var __toCommonJS=i=>__copyProps(d({},"__esModule",{value:true}),i);var K={};__export(K,{composePaginateRest:()=>te,isPaginatingEndpoint:()=>isPaginatingEndpoint,paginateRest:()=>paginateRest,paginatingEndpoints:()=>re});i.exports=__toCommonJS(K);var ee="9.2.2";function normalizePaginatedListResponse(i){if(!i.data){return{...i,data:[]}}const d="total_count"in i.data&&!("url"in i.data);if(!d)return i;const p=i.data.incomplete_results;const v=i.data.repository_selection;const V=i.data.total_count;delete i.data.incomplete_results;delete i.data.repository_selection;delete i.data.total_count;const K=Object.keys(i.data)[0];const ee=i.data[K];i.data=ee;if(typeof p!=="undefined"){i.data.incomplete_results=p}if(typeof v!=="undefined"){i.data.repository_selection=v}i.data.total_count=V;return i}function iterator(i,d,p){const v=typeof d==="function"?d.endpoint(p):i.request.endpoint(d,p);const V=typeof d==="function"?d:i.request;const K=v.method;const ee=v.headers;let te=v.url;return{[Symbol.asyncIterator]:()=>({async next(){if(!te)return{done:true};try{const i=await V({method:K,url:te,headers:ee});const d=normalizePaginatedListResponse(i);te=((d.headers.link||"").match(/<([^<>]+)>;\s*rel="next"/)||[])[1];return{value:d}}catch(i){if(i.status!==409)throw i;te="";return{value:{status:200,headers:{},data:[]}}}}})}}function paginate(i,d,p,v){if(typeof p==="function"){v=p;p=void 0}return gather(i,[],iterator(i,d,p)[Symbol.asyncIterator](),v)}function gather(i,d,p,v){return p.next().then((V=>{if(V.done){return d}let K=false;function done(){K=true}d=d.concat(v?v(V.value,done):V.value.data);if(K){return d}return gather(i,d,p,v)}))}var te=Object.assign(paginate,{iterator:iterator});var re=["GET /advisories","GET /app/hook/deliveries","GET /app/installation-requests","GET /app/installations","GET /assignments/{assignment_id}/accepted_assignments","GET /classrooms","GET /classrooms/{classroom_id}/assignments","GET /enterprises/{enterprise}/dependabot/alerts","GET /enterprises/{enterprise}/secret-scanning/alerts","GET /events","GET /gists","GET /gists/public","GET /gists/starred","GET /gists/{gist_id}/comments","GET /gists/{gist_id}/commits","GET /gists/{gist_id}/forks","GET /installation/repositories","GET /issues","GET /licenses","GET /marketplace_listing/plans","GET /marketplace_listing/plans/{plan_id}/accounts","GET /marketplace_listing/stubbed/plans","GET /marketplace_listing/stubbed/plans/{plan_id}/accounts","GET /networks/{owner}/{repo}/events","GET /notifications","GET /organizations","GET /orgs/{org}/actions/cache/usage-by-repository","GET /orgs/{org}/actions/permissions/repositories","GET /orgs/{org}/actions/runners","GET /orgs/{org}/actions/secrets","GET /orgs/{org}/actions/secrets/{secret_name}/repositories","GET /orgs/{org}/actions/variables","GET /orgs/{org}/actions/variables/{name}/repositories","GET /orgs/{org}/blocks","GET /orgs/{org}/code-scanning/alerts","GET /orgs/{org}/codespaces","GET /orgs/{org}/codespaces/secrets","GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories","GET /orgs/{org}/copilot/billing/seats","GET /orgs/{org}/dependabot/alerts","GET /orgs/{org}/dependabot/secrets","GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories","GET /orgs/{org}/events","GET /orgs/{org}/failed_invitations","GET /orgs/{org}/hooks","GET /orgs/{org}/hooks/{hook_id}/deliveries","GET /orgs/{org}/installations","GET /orgs/{org}/invitations","GET /orgs/{org}/invitations/{invitation_id}/teams","GET /orgs/{org}/issues","GET /orgs/{org}/members","GET /orgs/{org}/members/{username}/codespaces","GET /orgs/{org}/migrations","GET /orgs/{org}/migrations/{migration_id}/repositories","GET /orgs/{org}/organization-roles/{role_id}/teams","GET /orgs/{org}/organization-roles/{role_id}/users","GET /orgs/{org}/outside_collaborators","GET /orgs/{org}/packages","GET /orgs/{org}/packages/{package_type}/{package_name}/versions","GET /orgs/{org}/personal-access-token-requests","GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories","GET /orgs/{org}/personal-access-tokens","GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories","GET /orgs/{org}/projects","GET /orgs/{org}/properties/values","GET /orgs/{org}/public_members","GET /orgs/{org}/repos","GET /orgs/{org}/rulesets","GET /orgs/{org}/rulesets/rule-suites","GET /orgs/{org}/secret-scanning/alerts","GET /orgs/{org}/security-advisories","GET /orgs/{org}/teams","GET /orgs/{org}/teams/{team_slug}/discussions","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions","GET /orgs/{org}/teams/{team_slug}/invitations","GET /orgs/{org}/teams/{team_slug}/members","GET /orgs/{org}/teams/{team_slug}/projects","GET /orgs/{org}/teams/{team_slug}/repos","GET /orgs/{org}/teams/{team_slug}/teams","GET /projects/columns/{column_id}/cards","GET /projects/{project_id}/collaborators","GET /projects/{project_id}/columns","GET /repos/{owner}/{repo}/actions/artifacts","GET /repos/{owner}/{repo}/actions/caches","GET /repos/{owner}/{repo}/actions/organization-secrets","GET /repos/{owner}/{repo}/actions/organization-variables","GET /repos/{owner}/{repo}/actions/runners","GET /repos/{owner}/{repo}/actions/runs","GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts","GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs","GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs","GET /repos/{owner}/{repo}/actions/secrets","GET /repos/{owner}/{repo}/actions/variables","GET /repos/{owner}/{repo}/actions/workflows","GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs","GET /repos/{owner}/{repo}/activity","GET /repos/{owner}/{repo}/assignees","GET /repos/{owner}/{repo}/branches","GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations","GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs","GET /repos/{owner}/{repo}/code-scanning/alerts","GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances","GET /repos/{owner}/{repo}/code-scanning/analyses","GET /repos/{owner}/{repo}/codespaces","GET /repos/{owner}/{repo}/codespaces/devcontainers","GET /repos/{owner}/{repo}/codespaces/secrets","GET /repos/{owner}/{repo}/collaborators","GET /repos/{owner}/{repo}/comments","GET /repos/{owner}/{repo}/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/commits","GET /repos/{owner}/{repo}/commits/{commit_sha}/comments","GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls","GET /repos/{owner}/{repo}/commits/{ref}/check-runs","GET /repos/{owner}/{repo}/commits/{ref}/check-suites","GET /repos/{owner}/{repo}/commits/{ref}/status","GET /repos/{owner}/{repo}/commits/{ref}/statuses","GET /repos/{owner}/{repo}/contributors","GET /repos/{owner}/{repo}/dependabot/alerts","GET /repos/{owner}/{repo}/dependabot/secrets","GET /repos/{owner}/{repo}/deployments","GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses","GET /repos/{owner}/{repo}/environments","GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies","GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps","GET /repos/{owner}/{repo}/events","GET /repos/{owner}/{repo}/forks","GET /repos/{owner}/{repo}/hooks","GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries","GET /repos/{owner}/{repo}/invitations","GET /repos/{owner}/{repo}/issues","GET /repos/{owner}/{repo}/issues/comments","GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/issues/events","GET /repos/{owner}/{repo}/issues/{issue_number}/comments","GET /repos/{owner}/{repo}/issues/{issue_number}/events","GET /repos/{owner}/{repo}/issues/{issue_number}/labels","GET /repos/{owner}/{repo}/issues/{issue_number}/reactions","GET /repos/{owner}/{repo}/issues/{issue_number}/timeline","GET /repos/{owner}/{repo}/keys","GET /repos/{owner}/{repo}/labels","GET /repos/{owner}/{repo}/milestones","GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels","GET /repos/{owner}/{repo}/notifications","GET /repos/{owner}/{repo}/pages/builds","GET /repos/{owner}/{repo}/projects","GET /repos/{owner}/{repo}/pulls","GET /repos/{owner}/{repo}/pulls/comments","GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/pulls/{pull_number}/comments","GET /repos/{owner}/{repo}/pulls/{pull_number}/commits","GET /repos/{owner}/{repo}/pulls/{pull_number}/files","GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews","GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments","GET /repos/{owner}/{repo}/releases","GET /repos/{owner}/{repo}/releases/{release_id}/assets","GET /repos/{owner}/{repo}/releases/{release_id}/reactions","GET /repos/{owner}/{repo}/rules/branches/{branch}","GET /repos/{owner}/{repo}/rulesets","GET /repos/{owner}/{repo}/rulesets/rule-suites","GET /repos/{owner}/{repo}/secret-scanning/alerts","GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations","GET /repos/{owner}/{repo}/security-advisories","GET /repos/{owner}/{repo}/stargazers","GET /repos/{owner}/{repo}/subscribers","GET /repos/{owner}/{repo}/tags","GET /repos/{owner}/{repo}/teams","GET /repos/{owner}/{repo}/topics","GET /repositories","GET /repositories/{repository_id}/environments/{environment_name}/secrets","GET /repositories/{repository_id}/environments/{environment_name}/variables","GET /search/code","GET /search/commits","GET /search/issues","GET /search/labels","GET /search/repositories","GET /search/topics","GET /search/users","GET /teams/{team_id}/discussions","GET /teams/{team_id}/discussions/{discussion_number}/comments","GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions","GET /teams/{team_id}/discussions/{discussion_number}/reactions","GET /teams/{team_id}/invitations","GET /teams/{team_id}/members","GET /teams/{team_id}/projects","GET /teams/{team_id}/repos","GET /teams/{team_id}/teams","GET /user/blocks","GET /user/codespaces","GET /user/codespaces/secrets","GET /user/emails","GET /user/followers","GET /user/following","GET /user/gpg_keys","GET /user/installations","GET /user/installations/{installation_id}/repositories","GET /user/issues","GET /user/keys","GET /user/marketplace_purchases","GET /user/marketplace_purchases/stubbed","GET /user/memberships/orgs","GET /user/migrations","GET /user/migrations/{migration_id}/repositories","GET /user/orgs","GET /user/packages","GET /user/packages/{package_type}/{package_name}/versions","GET /user/public_emails","GET /user/repos","GET /user/repository_invitations","GET /user/social_accounts","GET /user/ssh_signing_keys","GET /user/starred","GET /user/subscriptions","GET /user/teams","GET /users","GET /users/{username}/events","GET /users/{username}/events/orgs/{org}","GET /users/{username}/events/public","GET /users/{username}/followers","GET /users/{username}/following","GET /users/{username}/gists","GET /users/{username}/gpg_keys","GET /users/{username}/keys","GET /users/{username}/orgs","GET /users/{username}/packages","GET /users/{username}/projects","GET /users/{username}/received_events","GET /users/{username}/received_events/public","GET /users/{username}/repos","GET /users/{username}/social_accounts","GET /users/{username}/ssh_signing_keys","GET /users/{username}/starred","GET /users/{username}/subscriptions"];function isPaginatingEndpoint(i){if(typeof i==="string"){return re.includes(i)}else{return false}}function paginateRest(i){return{paginate:Object.assign(paginate.bind(null,i),{iterator:iterator.bind(null,i)})}}paginateRest.VERSION=ee;0&&0},84935:i=>{var d=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var V=Object.prototype.hasOwnProperty;var __export=(i,p)=>{for(var v in p)d(i,v,{get:p[v],enumerable:true})};var __copyProps=(i,K,ee,te)=>{if(K&&typeof K==="object"||typeof K==="function"){for(let re of v(K))if(!V.call(i,re)&&re!==ee)d(i,re,{get:()=>K[re],enumerable:!(te=p(K,re))||te.enumerable})}return i};var __toCommonJS=i=>__copyProps(d({},"__esModule",{value:true}),i);var K={};__export(K,{legacyRestEndpointMethods:()=>legacyRestEndpointMethods,restEndpointMethods:()=>restEndpointMethods});i.exports=__toCommonJS(K);var ee="10.4.0";var te={actions:{addCustomLabelsToSelfHostedRunnerForOrg:["POST /orgs/{org}/actions/runners/{runner_id}/labels"],addCustomLabelsToSelfHostedRunnerForRepo:["POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],approveWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve"],cancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"],createEnvironmentVariable:["POST /repositories/{repository_id}/environments/{environment_name}/variables"],createOrUpdateEnvironmentSecret:["PUT /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}"],createOrgVariable:["POST /orgs/{org}/actions/variables"],createRegistrationTokenForOrg:["POST /orgs/{org}/actions/runners/registration-token"],createRegistrationTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/registration-token"],createRemoveTokenForOrg:["POST /orgs/{org}/actions/runners/remove-token"],createRemoveTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/remove-token"],createRepoVariable:["POST /repos/{owner}/{repo}/actions/variables"],createWorkflowDispatch:["POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches"],deleteActionsCacheById:["DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}"],deleteActionsCacheByKey:["DELETE /repos/{owner}/{repo}/actions/caches{?key,ref}"],deleteArtifact:["DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],deleteEnvironmentSecret:["DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],deleteEnvironmentVariable:["DELETE /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],deleteOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}"],deleteOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}"],deleteRepoVariable:["DELETE /repos/{owner}/{repo}/actions/variables/{name}"],deleteSelfHostedRunnerFromOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}"],deleteSelfHostedRunnerFromRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}"],deleteWorkflowRun:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"],deleteWorkflowRunLogs:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],disableSelectedRepositoryGithubActionsOrganization:["DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}"],disableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable"],downloadArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"],downloadJobLogsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"],downloadWorkflowRunAttemptLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs"],downloadWorkflowRunLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],enableSelectedRepositoryGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories/{repository_id}"],enableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"],forceCancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel"],generateRunnerJitconfigForOrg:["POST /orgs/{org}/actions/runners/generate-jitconfig"],generateRunnerJitconfigForRepo:["POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig"],getActionsCacheList:["GET /repos/{owner}/{repo}/actions/caches"],getActionsCacheUsage:["GET /repos/{owner}/{repo}/actions/cache/usage"],getActionsCacheUsageByRepoForOrg:["GET /orgs/{org}/actions/cache/usage-by-repository"],getActionsCacheUsageForOrg:["GET /orgs/{org}/actions/cache/usage"],getAllowedActionsOrganization:["GET /orgs/{org}/actions/permissions/selected-actions"],getAllowedActionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/selected-actions"],getArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],getCustomOidcSubClaimForRepo:["GET /repos/{owner}/{repo}/actions/oidc/customization/sub"],getEnvironmentPublicKey:["GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key"],getEnvironmentSecret:["GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],getEnvironmentVariable:["GET /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],getGithubActionsDefaultWorkflowPermissionsOrganization:["GET /orgs/{org}/actions/permissions/workflow"],getGithubActionsDefaultWorkflowPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/workflow"],getGithubActionsPermissionsOrganization:["GET /orgs/{org}/actions/permissions"],getGithubActionsPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions"],getJobForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"],getOrgPublicKey:["GET /orgs/{org}/actions/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}"],getOrgVariable:["GET /orgs/{org}/actions/variables/{name}"],getPendingDeploymentsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],getRepoPermissions:["GET /repos/{owner}/{repo}/actions/permissions",{},{renamed:["actions","getGithubActionsPermissionsRepository"]}],getRepoPublicKey:["GET /repos/{owner}/{repo}/actions/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"],getRepoVariable:["GET /repos/{owner}/{repo}/actions/variables/{name}"],getReviewsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals"],getSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}"],getSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}"],getWorkflow:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"],getWorkflowAccessToRepository:["GET /repos/{owner}/{repo}/actions/permissions/access"],getWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}"],getWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}"],getWorkflowRunUsage:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing"],getWorkflowUsage:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing"],listArtifactsForRepo:["GET /repos/{owner}/{repo}/actions/artifacts"],listEnvironmentSecrets:["GET /repositories/{repository_id}/environments/{environment_name}/secrets"],listEnvironmentVariables:["GET /repositories/{repository_id}/environments/{environment_name}/variables"],listJobsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"],listJobsForWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs"],listLabelsForSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}/labels"],listLabelsForSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],listOrgSecrets:["GET /orgs/{org}/actions/secrets"],listOrgVariables:["GET /orgs/{org}/actions/variables"],listRepoOrganizationSecrets:["GET /repos/{owner}/{repo}/actions/organization-secrets"],listRepoOrganizationVariables:["GET /repos/{owner}/{repo}/actions/organization-variables"],listRepoSecrets:["GET /repos/{owner}/{repo}/actions/secrets"],listRepoVariables:["GET /repos/{owner}/{repo}/actions/variables"],listRepoWorkflows:["GET /repos/{owner}/{repo}/actions/workflows"],listRunnerApplicationsForOrg:["GET /orgs/{org}/actions/runners/downloads"],listRunnerApplicationsForRepo:["GET /repos/{owner}/{repo}/actions/runners/downloads"],listSelectedReposForOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}/repositories"],listSelectedReposForOrgVariable:["GET /orgs/{org}/actions/variables/{name}/repositories"],listSelectedRepositoriesEnabledGithubActionsOrganization:["GET /orgs/{org}/actions/permissions/repositories"],listSelfHostedRunnersForOrg:["GET /orgs/{org}/actions/runners"],listSelfHostedRunnersForRepo:["GET /repos/{owner}/{repo}/actions/runners"],listWorkflowRunArtifacts:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts"],listWorkflowRuns:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"],listWorkflowRunsForRepo:["GET /repos/{owner}/{repo}/actions/runs"],reRunJobForWorkflowRun:["POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun"],reRunWorkflow:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"],reRunWorkflowFailedJobs:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs"],removeAllCustomLabelsFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels"],removeAllCustomLabelsFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],removeCustomLabelFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}"],removeCustomLabelFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],reviewCustomGatesForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule"],reviewPendingDeploymentsForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],setAllowedActionsOrganization:["PUT /orgs/{org}/actions/permissions/selected-actions"],setAllowedActionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/selected-actions"],setCustomLabelsForSelfHostedRunnerForOrg:["PUT /orgs/{org}/actions/runners/{runner_id}/labels"],setCustomLabelsForSelfHostedRunnerForRepo:["PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],setCustomOidcSubClaimForRepo:["PUT /repos/{owner}/{repo}/actions/oidc/customization/sub"],setGithubActionsDefaultWorkflowPermissionsOrganization:["PUT /orgs/{org}/actions/permissions/workflow"],setGithubActionsDefaultWorkflowPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/workflow"],setGithubActionsPermissionsOrganization:["PUT /orgs/{org}/actions/permissions"],setGithubActionsPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"],setSelectedReposForOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories"],setSelectedRepositoriesEnabledGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories"],setWorkflowAccessToRepository:["PUT /repos/{owner}/{repo}/actions/permissions/access"],updateEnvironmentVariable:["PATCH /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],updateOrgVariable:["PATCH /orgs/{org}/actions/variables/{name}"],updateRepoVariable:["PATCH /repos/{owner}/{repo}/actions/variables/{name}"]},activity:{checkRepoIsStarredByAuthenticatedUser:["GET /user/starred/{owner}/{repo}"],deleteRepoSubscription:["DELETE /repos/{owner}/{repo}/subscription"],deleteThreadSubscription:["DELETE /notifications/threads/{thread_id}/subscription"],getFeeds:["GET /feeds"],getRepoSubscription:["GET /repos/{owner}/{repo}/subscription"],getThread:["GET /notifications/threads/{thread_id}"],getThreadSubscriptionForAuthenticatedUser:["GET /notifications/threads/{thread_id}/subscription"],listEventsForAuthenticatedUser:["GET /users/{username}/events"],listNotificationsForAuthenticatedUser:["GET /notifications"],listOrgEventsForAuthenticatedUser:["GET /users/{username}/events/orgs/{org}"],listPublicEvents:["GET /events"],listPublicEventsForRepoNetwork:["GET /networks/{owner}/{repo}/events"],listPublicEventsForUser:["GET /users/{username}/events/public"],listPublicOrgEvents:["GET /orgs/{org}/events"],listReceivedEventsForUser:["GET /users/{username}/received_events"],listReceivedPublicEventsForUser:["GET /users/{username}/received_events/public"],listRepoEvents:["GET /repos/{owner}/{repo}/events"],listRepoNotificationsForAuthenticatedUser:["GET /repos/{owner}/{repo}/notifications"],listReposStarredByAuthenticatedUser:["GET /user/starred"],listReposStarredByUser:["GET /users/{username}/starred"],listReposWatchedByUser:["GET /users/{username}/subscriptions"],listStargazersForRepo:["GET /repos/{owner}/{repo}/stargazers"],listWatchedReposForAuthenticatedUser:["GET /user/subscriptions"],listWatchersForRepo:["GET /repos/{owner}/{repo}/subscribers"],markNotificationsAsRead:["PUT /notifications"],markRepoNotificationsAsRead:["PUT /repos/{owner}/{repo}/notifications"],markThreadAsDone:["DELETE /notifications/threads/{thread_id}"],markThreadAsRead:["PATCH /notifications/threads/{thread_id}"],setRepoSubscription:["PUT /repos/{owner}/{repo}/subscription"],setThreadSubscription:["PUT /notifications/threads/{thread_id}/subscription"],starRepoForAuthenticatedUser:["PUT /user/starred/{owner}/{repo}"],unstarRepoForAuthenticatedUser:["DELETE /user/starred/{owner}/{repo}"]},apps:{addRepoToInstallation:["PUT /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","addRepoToInstallationForAuthenticatedUser"]}],addRepoToInstallationForAuthenticatedUser:["PUT /user/installations/{installation_id}/repositories/{repository_id}"],checkToken:["POST /applications/{client_id}/token"],createFromManifest:["POST /app-manifests/{code}/conversions"],createInstallationAccessToken:["POST /app/installations/{installation_id}/access_tokens"],deleteAuthorization:["DELETE /applications/{client_id}/grant"],deleteInstallation:["DELETE /app/installations/{installation_id}"],deleteToken:["DELETE /applications/{client_id}/token"],getAuthenticated:["GET /app"],getBySlug:["GET /apps/{app_slug}"],getInstallation:["GET /app/installations/{installation_id}"],getOrgInstallation:["GET /orgs/{org}/installation"],getRepoInstallation:["GET /repos/{owner}/{repo}/installation"],getSubscriptionPlanForAccount:["GET /marketplace_listing/accounts/{account_id}"],getSubscriptionPlanForAccountStubbed:["GET /marketplace_listing/stubbed/accounts/{account_id}"],getUserInstallation:["GET /users/{username}/installation"],getWebhookConfigForApp:["GET /app/hook/config"],getWebhookDelivery:["GET /app/hook/deliveries/{delivery_id}"],listAccountsForPlan:["GET /marketplace_listing/plans/{plan_id}/accounts"],listAccountsForPlanStubbed:["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"],listInstallationReposForAuthenticatedUser:["GET /user/installations/{installation_id}/repositories"],listInstallationRequestsForAuthenticatedApp:["GET /app/installation-requests"],listInstallations:["GET /app/installations"],listInstallationsForAuthenticatedUser:["GET /user/installations"],listPlans:["GET /marketplace_listing/plans"],listPlansStubbed:["GET /marketplace_listing/stubbed/plans"],listReposAccessibleToInstallation:["GET /installation/repositories"],listSubscriptionsForAuthenticatedUser:["GET /user/marketplace_purchases"],listSubscriptionsForAuthenticatedUserStubbed:["GET /user/marketplace_purchases/stubbed"],listWebhookDeliveries:["GET /app/hook/deliveries"],redeliverWebhookDelivery:["POST /app/hook/deliveries/{delivery_id}/attempts"],removeRepoFromInstallation:["DELETE /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","removeRepoFromInstallationForAuthenticatedUser"]}],removeRepoFromInstallationForAuthenticatedUser:["DELETE /user/installations/{installation_id}/repositories/{repository_id}"],resetToken:["PATCH /applications/{client_id}/token"],revokeInstallationAccessToken:["DELETE /installation/token"],scopeToken:["POST /applications/{client_id}/token/scoped"],suspendInstallation:["PUT /app/installations/{installation_id}/suspended"],unsuspendInstallation:["DELETE /app/installations/{installation_id}/suspended"],updateWebhookConfigForApp:["PATCH /app/hook/config"]},billing:{getGithubActionsBillingOrg:["GET /orgs/{org}/settings/billing/actions"],getGithubActionsBillingUser:["GET /users/{username}/settings/billing/actions"],getGithubPackagesBillingOrg:["GET /orgs/{org}/settings/billing/packages"],getGithubPackagesBillingUser:["GET /users/{username}/settings/billing/packages"],getSharedStorageBillingOrg:["GET /orgs/{org}/settings/billing/shared-storage"],getSharedStorageBillingUser:["GET /users/{username}/settings/billing/shared-storage"]},checks:{create:["POST /repos/{owner}/{repo}/check-runs"],createSuite:["POST /repos/{owner}/{repo}/check-suites"],get:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}"],getSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}"],listAnnotations:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations"],listForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"],listForSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs"],listSuitesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"],rerequestRun:["POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest"],rerequestSuite:["POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest"],setSuitesPreferences:["PATCH /repos/{owner}/{repo}/check-suites/preferences"],update:["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}"]},codeScanning:{deleteAnalysis:["DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}"],getAlert:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}",{},{renamedParameters:{alert_id:"alert_number"}}],getAnalysis:["GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}"],getCodeqlDatabase:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}"],getDefaultSetup:["GET /repos/{owner}/{repo}/code-scanning/default-setup"],getSarif:["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"],listAlertInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances"],listAlertsForOrg:["GET /orgs/{org}/code-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/code-scanning/alerts"],listAlertsInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances",{},{renamed:["codeScanning","listAlertInstances"]}],listCodeqlDatabases:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases"],listRecentAnalyses:["GET /repos/{owner}/{repo}/code-scanning/analyses"],updateAlert:["PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}"],updateDefaultSetup:["PATCH /repos/{owner}/{repo}/code-scanning/default-setup"],uploadSarif:["POST /repos/{owner}/{repo}/code-scanning/sarifs"]},codesOfConduct:{getAllCodesOfConduct:["GET /codes_of_conduct"],getConductCode:["GET /codes_of_conduct/{key}"]},codespaces:{addRepositoryForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],checkPermissionsForDevcontainer:["GET /repos/{owner}/{repo}/codespaces/permissions_check"],codespaceMachinesForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/machines"],createForAuthenticatedUser:["POST /user/codespaces"],createOrUpdateOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],createOrUpdateSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}"],createWithPrForAuthenticatedUser:["POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces"],createWithRepoForAuthenticatedUser:["POST /repos/{owner}/{repo}/codespaces"],deleteForAuthenticatedUser:["DELETE /user/codespaces/{codespace_name}"],deleteFromOrganization:["DELETE /orgs/{org}/members/{username}/codespaces/{codespace_name}"],deleteOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],deleteSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}"],exportForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/exports"],getCodespacesForUserInOrg:["GET /orgs/{org}/members/{username}/codespaces"],getExportDetailsForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/exports/{export_id}"],getForAuthenticatedUser:["GET /user/codespaces/{codespace_name}"],getOrgPublicKey:["GET /orgs/{org}/codespaces/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}"],getPublicKeyForAuthenticatedUser:["GET /user/codespaces/secrets/public-key"],getRepoPublicKey:["GET /repos/{owner}/{repo}/codespaces/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],getSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}"],listDevcontainersInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/devcontainers"],listForAuthenticatedUser:["GET /user/codespaces"],listInOrganization:["GET /orgs/{org}/codespaces",{},{renamedParameters:{org_id:"org"}}],listInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces"],listOrgSecrets:["GET /orgs/{org}/codespaces/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/codespaces/secrets"],listRepositoriesForSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}/repositories"],listSecretsForAuthenticatedUser:["GET /user/codespaces/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],preFlightWithRepoForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/new"],publishForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/publish"],removeRepositoryForSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],repoMachinesForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/machines"],setRepositoriesForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],startForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/start"],stopForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/stop"],stopInOrganization:["POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop"],updateForAuthenticatedUser:["PATCH /user/codespaces/{codespace_name}"]},copilot:{addCopilotSeatsForTeams:["POST /orgs/{org}/copilot/billing/selected_teams"],addCopilotSeatsForUsers:["POST /orgs/{org}/copilot/billing/selected_users"],cancelCopilotSeatAssignmentForTeams:["DELETE /orgs/{org}/copilot/billing/selected_teams"],cancelCopilotSeatAssignmentForUsers:["DELETE /orgs/{org}/copilot/billing/selected_users"],getCopilotOrganizationDetails:["GET /orgs/{org}/copilot/billing"],getCopilotSeatDetailsForUser:["GET /orgs/{org}/members/{username}/copilot"],listCopilotSeats:["GET /orgs/{org}/copilot/billing/seats"]},dependabot:{addSelectedRepoToOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],deleteOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],getAlert:["GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"],getOrgPublicKey:["GET /orgs/{org}/dependabot/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}"],getRepoPublicKey:["GET /repos/{owner}/{repo}/dependabot/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/dependabot/alerts"],listAlertsForOrg:["GET /orgs/{org}/dependabot/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/dependabot/alerts"],listOrgSecrets:["GET /orgs/{org}/dependabot/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/dependabot/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],updateAlert:["PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"]},dependencyGraph:{createRepositorySnapshot:["POST /repos/{owner}/{repo}/dependency-graph/snapshots"],diffRange:["GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}"],exportSbom:["GET /repos/{owner}/{repo}/dependency-graph/sbom"]},emojis:{get:["GET /emojis"]},gists:{checkIsStarred:["GET /gists/{gist_id}/star"],create:["POST /gists"],createComment:["POST /gists/{gist_id}/comments"],delete:["DELETE /gists/{gist_id}"],deleteComment:["DELETE /gists/{gist_id}/comments/{comment_id}"],fork:["POST /gists/{gist_id}/forks"],get:["GET /gists/{gist_id}"],getComment:["GET /gists/{gist_id}/comments/{comment_id}"],getRevision:["GET /gists/{gist_id}/{sha}"],list:["GET /gists"],listComments:["GET /gists/{gist_id}/comments"],listCommits:["GET /gists/{gist_id}/commits"],listForUser:["GET /users/{username}/gists"],listForks:["GET /gists/{gist_id}/forks"],listPublic:["GET /gists/public"],listStarred:["GET /gists/starred"],star:["PUT /gists/{gist_id}/star"],unstar:["DELETE /gists/{gist_id}/star"],update:["PATCH /gists/{gist_id}"],updateComment:["PATCH /gists/{gist_id}/comments/{comment_id}"]},git:{createBlob:["POST /repos/{owner}/{repo}/git/blobs"],createCommit:["POST /repos/{owner}/{repo}/git/commits"],createRef:["POST /repos/{owner}/{repo}/git/refs"],createTag:["POST /repos/{owner}/{repo}/git/tags"],createTree:["POST /repos/{owner}/{repo}/git/trees"],deleteRef:["DELETE /repos/{owner}/{repo}/git/refs/{ref}"],getBlob:["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"],getCommit:["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"],getRef:["GET /repos/{owner}/{repo}/git/ref/{ref}"],getTag:["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"],getTree:["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"],listMatchingRefs:["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"],updateRef:["PATCH /repos/{owner}/{repo}/git/refs/{ref}"]},gitignore:{getAllTemplates:["GET /gitignore/templates"],getTemplate:["GET /gitignore/templates/{name}"]},interactions:{getRestrictionsForAuthenticatedUser:["GET /user/interaction-limits"],getRestrictionsForOrg:["GET /orgs/{org}/interaction-limits"],getRestrictionsForRepo:["GET /repos/{owner}/{repo}/interaction-limits"],getRestrictionsForYourPublicRepos:["GET /user/interaction-limits",{},{renamed:["interactions","getRestrictionsForAuthenticatedUser"]}],removeRestrictionsForAuthenticatedUser:["DELETE /user/interaction-limits"],removeRestrictionsForOrg:["DELETE /orgs/{org}/interaction-limits"],removeRestrictionsForRepo:["DELETE /repos/{owner}/{repo}/interaction-limits"],removeRestrictionsForYourPublicRepos:["DELETE /user/interaction-limits",{},{renamed:["interactions","removeRestrictionsForAuthenticatedUser"]}],setRestrictionsForAuthenticatedUser:["PUT /user/interaction-limits"],setRestrictionsForOrg:["PUT /orgs/{org}/interaction-limits"],setRestrictionsForRepo:["PUT /repos/{owner}/{repo}/interaction-limits"],setRestrictionsForYourPublicRepos:["PUT /user/interaction-limits",{},{renamed:["interactions","setRestrictionsForAuthenticatedUser"]}]},issues:{addAssignees:["POST /repos/{owner}/{repo}/issues/{issue_number}/assignees"],addLabels:["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"],checkUserCanBeAssigned:["GET /repos/{owner}/{repo}/assignees/{assignee}"],checkUserCanBeAssignedToIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}"],create:["POST /repos/{owner}/{repo}/issues"],createComment:["POST /repos/{owner}/{repo}/issues/{issue_number}/comments"],createLabel:["POST /repos/{owner}/{repo}/labels"],createMilestone:["POST /repos/{owner}/{repo}/milestones"],deleteComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}"],deleteLabel:["DELETE /repos/{owner}/{repo}/labels/{name}"],deleteMilestone:["DELETE /repos/{owner}/{repo}/milestones/{milestone_number}"],get:["GET /repos/{owner}/{repo}/issues/{issue_number}"],getComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"],getEvent:["GET /repos/{owner}/{repo}/issues/events/{event_id}"],getLabel:["GET /repos/{owner}/{repo}/labels/{name}"],getMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}"],list:["GET /issues"],listAssignees:["GET /repos/{owner}/{repo}/assignees"],listComments:["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"],listCommentsForRepo:["GET /repos/{owner}/{repo}/issues/comments"],listEvents:["GET /repos/{owner}/{repo}/issues/{issue_number}/events"],listEventsForRepo:["GET /repos/{owner}/{repo}/issues/events"],listEventsForTimeline:["GET /repos/{owner}/{repo}/issues/{issue_number}/timeline"],listForAuthenticatedUser:["GET /user/issues"],listForOrg:["GET /orgs/{org}/issues"],listForRepo:["GET /repos/{owner}/{repo}/issues"],listLabelsForMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels"],listLabelsForRepo:["GET /repos/{owner}/{repo}/labels"],listLabelsOnIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/labels"],listMilestones:["GET /repos/{owner}/{repo}/milestones"],lock:["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"],removeAllLabels:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels"],removeAssignees:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees"],removeLabel:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}"],setLabels:["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"],unlock:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"],update:["PATCH /repos/{owner}/{repo}/issues/{issue_number}"],updateComment:["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"],updateLabel:["PATCH /repos/{owner}/{repo}/labels/{name}"],updateMilestone:["PATCH /repos/{owner}/{repo}/milestones/{milestone_number}"]},licenses:{get:["GET /licenses/{license}"],getAllCommonlyUsed:["GET /licenses"],getForRepo:["GET /repos/{owner}/{repo}/license"]},markdown:{render:["POST /markdown"],renderRaw:["POST /markdown/raw",{headers:{"content-type":"text/plain; charset=utf-8"}}]},meta:{get:["GET /meta"],getAllVersions:["GET /versions"],getOctocat:["GET /octocat"],getZen:["GET /zen"],root:["GET /"]},migrations:{cancelImport:["DELETE /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.cancelImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#cancel-an-import"}],deleteArchiveForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/archive"],deleteArchiveForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/archive"],downloadArchiveForOrg:["GET /orgs/{org}/migrations/{migration_id}/archive"],getArchiveForAuthenticatedUser:["GET /user/migrations/{migration_id}/archive"],getCommitAuthors:["GET /repos/{owner}/{repo}/import/authors",{},{deprecated:"octokit.rest.migrations.getCommitAuthors() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-commit-authors"}],getImportStatus:["GET /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.getImportStatus() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-an-import-status"}],getLargeFiles:["GET /repos/{owner}/{repo}/import/large_files",{},{deprecated:"octokit.rest.migrations.getLargeFiles() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-large-files"}],getStatusForAuthenticatedUser:["GET /user/migrations/{migration_id}"],getStatusForOrg:["GET /orgs/{org}/migrations/{migration_id}"],listForAuthenticatedUser:["GET /user/migrations"],listForOrg:["GET /orgs/{org}/migrations"],listReposForAuthenticatedUser:["GET /user/migrations/{migration_id}/repositories"],listReposForOrg:["GET /orgs/{org}/migrations/{migration_id}/repositories"],listReposForUser:["GET /user/migrations/{migration_id}/repositories",{},{renamed:["migrations","listReposForAuthenticatedUser"]}],mapCommitAuthor:["PATCH /repos/{owner}/{repo}/import/authors/{author_id}",{},{deprecated:"octokit.rest.migrations.mapCommitAuthor() is deprecated, see https://docs.github.com/rest/migrations/source-imports#map-a-commit-author"}],setLfsPreference:["PATCH /repos/{owner}/{repo}/import/lfs",{},{deprecated:"octokit.rest.migrations.setLfsPreference() is deprecated, see https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference"}],startForAuthenticatedUser:["POST /user/migrations"],startForOrg:["POST /orgs/{org}/migrations"],startImport:["PUT /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.startImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#start-an-import"}],unlockRepoForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock"],unlockRepoForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock"],updateImport:["PATCH /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.updateImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#update-an-import"}]},oidc:{getOidcCustomSubTemplateForOrg:["GET /orgs/{org}/actions/oidc/customization/sub"],updateOidcCustomSubTemplateForOrg:["PUT /orgs/{org}/actions/oidc/customization/sub"]},orgs:{addSecurityManagerTeam:["PUT /orgs/{org}/security-managers/teams/{team_slug}"],assignTeamToOrgRole:["PUT /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],assignUserToOrgRole:["PUT /orgs/{org}/organization-roles/users/{username}/{role_id}"],blockUser:["PUT /orgs/{org}/blocks/{username}"],cancelInvitation:["DELETE /orgs/{org}/invitations/{invitation_id}"],checkBlockedUser:["GET /orgs/{org}/blocks/{username}"],checkMembershipForUser:["GET /orgs/{org}/members/{username}"],checkPublicMembershipForUser:["GET /orgs/{org}/public_members/{username}"],convertMemberToOutsideCollaborator:["PUT /orgs/{org}/outside_collaborators/{username}"],createCustomOrganizationRole:["POST /orgs/{org}/organization-roles"],createInvitation:["POST /orgs/{org}/invitations"],createOrUpdateCustomProperties:["PATCH /orgs/{org}/properties/schema"],createOrUpdateCustomPropertiesValuesForRepos:["PATCH /orgs/{org}/properties/values"],createOrUpdateCustomProperty:["PUT /orgs/{org}/properties/schema/{custom_property_name}"],createWebhook:["POST /orgs/{org}/hooks"],delete:["DELETE /orgs/{org}"],deleteCustomOrganizationRole:["DELETE /orgs/{org}/organization-roles/{role_id}"],deleteWebhook:["DELETE /orgs/{org}/hooks/{hook_id}"],enableOrDisableSecurityProductOnAllOrgRepos:["POST /orgs/{org}/{security_product}/{enablement}"],get:["GET /orgs/{org}"],getAllCustomProperties:["GET /orgs/{org}/properties/schema"],getCustomProperty:["GET /orgs/{org}/properties/schema/{custom_property_name}"],getMembershipForAuthenticatedUser:["GET /user/memberships/orgs/{org}"],getMembershipForUser:["GET /orgs/{org}/memberships/{username}"],getOrgRole:["GET /orgs/{org}/organization-roles/{role_id}"],getWebhook:["GET /orgs/{org}/hooks/{hook_id}"],getWebhookConfigForOrg:["GET /orgs/{org}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}"],list:["GET /organizations"],listAppInstallations:["GET /orgs/{org}/installations"],listBlockedUsers:["GET /orgs/{org}/blocks"],listCustomPropertiesValuesForRepos:["GET /orgs/{org}/properties/values"],listFailedInvitations:["GET /orgs/{org}/failed_invitations"],listForAuthenticatedUser:["GET /user/orgs"],listForUser:["GET /users/{username}/orgs"],listInvitationTeams:["GET /orgs/{org}/invitations/{invitation_id}/teams"],listMembers:["GET /orgs/{org}/members"],listMembershipsForAuthenticatedUser:["GET /user/memberships/orgs"],listOrgRoleTeams:["GET /orgs/{org}/organization-roles/{role_id}/teams"],listOrgRoleUsers:["GET /orgs/{org}/organization-roles/{role_id}/users"],listOrgRoles:["GET /orgs/{org}/organization-roles"],listOrganizationFineGrainedPermissions:["GET /orgs/{org}/organization-fine-grained-permissions"],listOutsideCollaborators:["GET /orgs/{org}/outside_collaborators"],listPatGrantRepositories:["GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories"],listPatGrantRequestRepositories:["GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories"],listPatGrantRequests:["GET /orgs/{org}/personal-access-token-requests"],listPatGrants:["GET /orgs/{org}/personal-access-tokens"],listPendingInvitations:["GET /orgs/{org}/invitations"],listPublicMembers:["GET /orgs/{org}/public_members"],listSecurityManagerTeams:["GET /orgs/{org}/security-managers"],listWebhookDeliveries:["GET /orgs/{org}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /orgs/{org}/hooks"],patchCustomOrganizationRole:["PATCH /orgs/{org}/organization-roles/{role_id}"],pingWebhook:["POST /orgs/{org}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeCustomProperty:["DELETE /orgs/{org}/properties/schema/{custom_property_name}"],removeMember:["DELETE /orgs/{org}/members/{username}"],removeMembershipForUser:["DELETE /orgs/{org}/memberships/{username}"],removeOutsideCollaborator:["DELETE /orgs/{org}/outside_collaborators/{username}"],removePublicMembershipForAuthenticatedUser:["DELETE /orgs/{org}/public_members/{username}"],removeSecurityManagerTeam:["DELETE /orgs/{org}/security-managers/teams/{team_slug}"],reviewPatGrantRequest:["POST /orgs/{org}/personal-access-token-requests/{pat_request_id}"],reviewPatGrantRequestsInBulk:["POST /orgs/{org}/personal-access-token-requests"],revokeAllOrgRolesTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}"],revokeAllOrgRolesUser:["DELETE /orgs/{org}/organization-roles/users/{username}"],revokeOrgRoleTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],revokeOrgRoleUser:["DELETE /orgs/{org}/organization-roles/users/{username}/{role_id}"],setMembershipForUser:["PUT /orgs/{org}/memberships/{username}"],setPublicMembershipForAuthenticatedUser:["PUT /orgs/{org}/public_members/{username}"],unblockUser:["DELETE /orgs/{org}/blocks/{username}"],update:["PATCH /orgs/{org}"],updateMembershipForAuthenticatedUser:["PATCH /user/memberships/orgs/{org}"],updatePatAccess:["POST /orgs/{org}/personal-access-tokens/{pat_id}"],updatePatAccesses:["POST /orgs/{org}/personal-access-tokens"],updateWebhook:["PATCH /orgs/{org}/hooks/{hook_id}"],updateWebhookConfigForOrg:["PATCH /orgs/{org}/hooks/{hook_id}/config"]},packages:{deletePackageForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}"],deletePackageForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}"],deletePackageForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}"],deletePackageVersionForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getAllPackageVersionsForAPackageOwnedByAnOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByOrg"]}],getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByAuthenticatedUser"]}],getAllPackageVersionsForPackageOwnedByAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions"],getPackageForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}"],getPackageForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}"],getPackageForUser:["GET /users/{username}/packages/{package_type}/{package_name}"],getPackageVersionForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],listDockerMigrationConflictingPackagesForAuthenticatedUser:["GET /user/docker/conflicts"],listDockerMigrationConflictingPackagesForOrganization:["GET /orgs/{org}/docker/conflicts"],listDockerMigrationConflictingPackagesForUser:["GET /users/{username}/docker/conflicts"],listPackagesForAuthenticatedUser:["GET /user/packages"],listPackagesForOrganization:["GET /orgs/{org}/packages"],listPackagesForUser:["GET /users/{username}/packages"],restorePackageForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForUser:["POST /users/{username}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageVersionForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForUser:["POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"]},projects:{addCollaborator:["PUT /projects/{project_id}/collaborators/{username}"],createCard:["POST /projects/columns/{column_id}/cards"],createColumn:["POST /projects/{project_id}/columns"],createForAuthenticatedUser:["POST /user/projects"],createForOrg:["POST /orgs/{org}/projects"],createForRepo:["POST /repos/{owner}/{repo}/projects"],delete:["DELETE /projects/{project_id}"],deleteCard:["DELETE /projects/columns/cards/{card_id}"],deleteColumn:["DELETE /projects/columns/{column_id}"],get:["GET /projects/{project_id}"],getCard:["GET /projects/columns/cards/{card_id}"],getColumn:["GET /projects/columns/{column_id}"],getPermissionForUser:["GET /projects/{project_id}/collaborators/{username}/permission"],listCards:["GET /projects/columns/{column_id}/cards"],listCollaborators:["GET /projects/{project_id}/collaborators"],listColumns:["GET /projects/{project_id}/columns"],listForOrg:["GET /orgs/{org}/projects"],listForRepo:["GET /repos/{owner}/{repo}/projects"],listForUser:["GET /users/{username}/projects"],moveCard:["POST /projects/columns/cards/{card_id}/moves"],moveColumn:["POST /projects/columns/{column_id}/moves"],removeCollaborator:["DELETE /projects/{project_id}/collaborators/{username}"],update:["PATCH /projects/{project_id}"],updateCard:["PATCH /projects/columns/cards/{card_id}"],updateColumn:["PATCH /projects/columns/{column_id}"]},pulls:{checkIfMerged:["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],create:["POST /repos/{owner}/{repo}/pulls"],createReplyForReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies"],createReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],createReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments"],deletePendingReview:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],deleteReviewComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}"],dismissReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals"],get:["GET /repos/{owner}/{repo}/pulls/{pull_number}"],getReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],getReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"],list:["GET /repos/{owner}/{repo}/pulls"],listCommentsForReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments"],listCommits:["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"],listFiles:["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"],listRequestedReviewers:["GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],listReviewComments:["GET /repos/{owner}/{repo}/pulls/{pull_number}/comments"],listReviewCommentsForRepo:["GET /repos/{owner}/{repo}/pulls/comments"],listReviews:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],merge:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"],removeRequestedReviewers:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],requestReviewers:["POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],submitReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events"],update:["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"],updateBranch:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch"],updateReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],updateReviewComment:["PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}"]},rateLimit:{get:["GET /rate_limit"]},reactions:{createForCommitComment:["POST /repos/{owner}/{repo}/comments/{comment_id}/reactions"],createForIssue:["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions"],createForIssueComment:["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],createForPullRequestReviewComment:["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],createForRelease:["POST /repos/{owner}/{repo}/releases/{release_id}/reactions"],createForTeamDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],createForTeamDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"],deleteForCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}"],deleteForIssue:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}"],deleteForIssueComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}"],deleteForPullRequestComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}"],deleteForRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}"],deleteForTeamDiscussion:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}"],deleteForTeamDiscussionComment:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}"],listForCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions"],listForIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions"],listForIssueComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],listForPullRequestReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],listForRelease:["GET /repos/{owner}/{repo}/releases/{release_id}/reactions"],listForTeamDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],listForTeamDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"]},repos:{acceptInvitation:["PATCH /user/repository_invitations/{invitation_id}",{},{renamed:["repos","acceptInvitationForAuthenticatedUser"]}],acceptInvitationForAuthenticatedUser:["PATCH /user/repository_invitations/{invitation_id}"],addAppAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],addCollaborator:["PUT /repos/{owner}/{repo}/collaborators/{username}"],addStatusCheckContexts:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],addTeamAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],addUserAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],cancelPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel"],checkAutomatedSecurityFixes:["GET /repos/{owner}/{repo}/automated-security-fixes"],checkCollaborator:["GET /repos/{owner}/{repo}/collaborators/{username}"],checkVulnerabilityAlerts:["GET /repos/{owner}/{repo}/vulnerability-alerts"],codeownersErrors:["GET /repos/{owner}/{repo}/codeowners/errors"],compareCommits:["GET /repos/{owner}/{repo}/compare/{base}...{head}"],compareCommitsWithBasehead:["GET /repos/{owner}/{repo}/compare/{basehead}"],createAutolink:["POST /repos/{owner}/{repo}/autolinks"],createCommitComment:["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"],createCommitSignatureProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],createCommitStatus:["POST /repos/{owner}/{repo}/statuses/{sha}"],createDeployKey:["POST /repos/{owner}/{repo}/keys"],createDeployment:["POST /repos/{owner}/{repo}/deployments"],createDeploymentBranchPolicy:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],createDeploymentProtectionRule:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],createDeploymentStatus:["POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],createDispatchEvent:["POST /repos/{owner}/{repo}/dispatches"],createForAuthenticatedUser:["POST /user/repos"],createFork:["POST /repos/{owner}/{repo}/forks"],createInOrg:["POST /orgs/{org}/repos"],createOrUpdateCustomPropertiesValues:["PATCH /repos/{owner}/{repo}/properties/values"],createOrUpdateEnvironment:["PUT /repos/{owner}/{repo}/environments/{environment_name}"],createOrUpdateFileContents:["PUT /repos/{owner}/{repo}/contents/{path}"],createOrgRuleset:["POST /orgs/{org}/rulesets"],createPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments"],createPagesSite:["POST /repos/{owner}/{repo}/pages"],createRelease:["POST /repos/{owner}/{repo}/releases"],createRepoRuleset:["POST /repos/{owner}/{repo}/rulesets"],createTagProtection:["POST /repos/{owner}/{repo}/tags/protection"],createUsingTemplate:["POST /repos/{template_owner}/{template_repo}/generate"],createWebhook:["POST /repos/{owner}/{repo}/hooks"],declineInvitation:["DELETE /user/repository_invitations/{invitation_id}",{},{renamed:["repos","declineInvitationForAuthenticatedUser"]}],declineInvitationForAuthenticatedUser:["DELETE /user/repository_invitations/{invitation_id}"],delete:["DELETE /repos/{owner}/{repo}"],deleteAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],deleteAdminBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],deleteAnEnvironment:["DELETE /repos/{owner}/{repo}/environments/{environment_name}"],deleteAutolink:["DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}"],deleteBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection"],deleteCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}"],deleteCommitSignatureProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],deleteDeployKey:["DELETE /repos/{owner}/{repo}/keys/{key_id}"],deleteDeployment:["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"],deleteDeploymentBranchPolicy:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],deleteFile:["DELETE /repos/{owner}/{repo}/contents/{path}"],deleteInvitation:["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"],deleteOrgRuleset:["DELETE /orgs/{org}/rulesets/{ruleset_id}"],deletePagesSite:["DELETE /repos/{owner}/{repo}/pages"],deletePullRequestReviewProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],deleteRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}"],deleteReleaseAsset:["DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}"],deleteRepoRuleset:["DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}"],deleteTagProtection:["DELETE /repos/{owner}/{repo}/tags/protection/{tag_protection_id}"],deleteWebhook:["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"],disableAutomatedSecurityFixes:["DELETE /repos/{owner}/{repo}/automated-security-fixes"],disableDeploymentProtectionRule:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],disablePrivateVulnerabilityReporting:["DELETE /repos/{owner}/{repo}/private-vulnerability-reporting"],disableVulnerabilityAlerts:["DELETE /repos/{owner}/{repo}/vulnerability-alerts"],downloadArchive:["GET /repos/{owner}/{repo}/zipball/{ref}",{},{renamed:["repos","downloadZipballArchive"]}],downloadTarballArchive:["GET /repos/{owner}/{repo}/tarball/{ref}"],downloadZipballArchive:["GET /repos/{owner}/{repo}/zipball/{ref}"],enableAutomatedSecurityFixes:["PUT /repos/{owner}/{repo}/automated-security-fixes"],enablePrivateVulnerabilityReporting:["PUT /repos/{owner}/{repo}/private-vulnerability-reporting"],enableVulnerabilityAlerts:["PUT /repos/{owner}/{repo}/vulnerability-alerts"],generateReleaseNotes:["POST /repos/{owner}/{repo}/releases/generate-notes"],get:["GET /repos/{owner}/{repo}"],getAccessRestrictions:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],getAdminBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],getAllDeploymentProtectionRules:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],getAllEnvironments:["GET /repos/{owner}/{repo}/environments"],getAllStatusCheckContexts:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"],getAllTopics:["GET /repos/{owner}/{repo}/topics"],getAppsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"],getAutolink:["GET /repos/{owner}/{repo}/autolinks/{autolink_id}"],getBranch:["GET /repos/{owner}/{repo}/branches/{branch}"],getBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection"],getBranchRules:["GET /repos/{owner}/{repo}/rules/branches/{branch}"],getClones:["GET /repos/{owner}/{repo}/traffic/clones"],getCodeFrequencyStats:["GET /repos/{owner}/{repo}/stats/code_frequency"],getCollaboratorPermissionLevel:["GET /repos/{owner}/{repo}/collaborators/{username}/permission"],getCombinedStatusForRef:["GET /repos/{owner}/{repo}/commits/{ref}/status"],getCommit:["GET /repos/{owner}/{repo}/commits/{ref}"],getCommitActivityStats:["GET /repos/{owner}/{repo}/stats/commit_activity"],getCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}"],getCommitSignatureProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],getCommunityProfileMetrics:["GET /repos/{owner}/{repo}/community/profile"],getContent:["GET /repos/{owner}/{repo}/contents/{path}"],getContributorsStats:["GET /repos/{owner}/{repo}/stats/contributors"],getCustomDeploymentProtectionRule:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],getCustomPropertiesValues:["GET /repos/{owner}/{repo}/properties/values"],getDeployKey:["GET /repos/{owner}/{repo}/keys/{key_id}"],getDeployment:["GET /repos/{owner}/{repo}/deployments/{deployment_id}"],getDeploymentBranchPolicy:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],getDeploymentStatus:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"],getEnvironment:["GET /repos/{owner}/{repo}/environments/{environment_name}"],getLatestPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/latest"],getLatestRelease:["GET /repos/{owner}/{repo}/releases/latest"],getOrgRuleSuite:["GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id}"],getOrgRuleSuites:["GET /orgs/{org}/rulesets/rule-suites"],getOrgRuleset:["GET /orgs/{org}/rulesets/{ruleset_id}"],getOrgRulesets:["GET /orgs/{org}/rulesets"],getPages:["GET /repos/{owner}/{repo}/pages"],getPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/{build_id}"],getPagesDeployment:["GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}"],getPagesHealthCheck:["GET /repos/{owner}/{repo}/pages/health"],getParticipationStats:["GET /repos/{owner}/{repo}/stats/participation"],getPullRequestReviewProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],getPunchCardStats:["GET /repos/{owner}/{repo}/stats/punch_card"],getReadme:["GET /repos/{owner}/{repo}/readme"],getReadmeInDirectory:["GET /repos/{owner}/{repo}/readme/{dir}"],getRelease:["GET /repos/{owner}/{repo}/releases/{release_id}"],getReleaseAsset:["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"],getReleaseByTag:["GET /repos/{owner}/{repo}/releases/tags/{tag}"],getRepoRuleSuite:["GET /repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id}"],getRepoRuleSuites:["GET /repos/{owner}/{repo}/rulesets/rule-suites"],getRepoRuleset:["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"],getRepoRulesets:["GET /repos/{owner}/{repo}/rulesets"],getStatusChecksProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],getTeamsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"],getTopPaths:["GET /repos/{owner}/{repo}/traffic/popular/paths"],getTopReferrers:["GET /repos/{owner}/{repo}/traffic/popular/referrers"],getUsersWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"],getViews:["GET /repos/{owner}/{repo}/traffic/views"],getWebhook:["GET /repos/{owner}/{repo}/hooks/{hook_id}"],getWebhookConfigForRepo:["GET /repos/{owner}/{repo}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}"],listActivities:["GET /repos/{owner}/{repo}/activity"],listAutolinks:["GET /repos/{owner}/{repo}/autolinks"],listBranches:["GET /repos/{owner}/{repo}/branches"],listBranchesForHeadCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head"],listCollaborators:["GET /repos/{owner}/{repo}/collaborators"],listCommentsForCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"],listCommitCommentsForRepo:["GET /repos/{owner}/{repo}/comments"],listCommitStatusesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/statuses"],listCommits:["GET /repos/{owner}/{repo}/commits"],listContributors:["GET /repos/{owner}/{repo}/contributors"],listCustomDeploymentRuleIntegrations:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps"],listDeployKeys:["GET /repos/{owner}/{repo}/keys"],listDeploymentBranchPolicies:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],listDeploymentStatuses:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],listDeployments:["GET /repos/{owner}/{repo}/deployments"],listForAuthenticatedUser:["GET /user/repos"],listForOrg:["GET /orgs/{org}/repos"],listForUser:["GET /users/{username}/repos"],listForks:["GET /repos/{owner}/{repo}/forks"],listInvitations:["GET /repos/{owner}/{repo}/invitations"],listInvitationsForAuthenticatedUser:["GET /user/repository_invitations"],listLanguages:["GET /repos/{owner}/{repo}/languages"],listPagesBuilds:["GET /repos/{owner}/{repo}/pages/builds"],listPublic:["GET /repositories"],listPullRequestsAssociatedWithCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls"],listReleaseAssets:["GET /repos/{owner}/{repo}/releases/{release_id}/assets"],listReleases:["GET /repos/{owner}/{repo}/releases"],listTagProtection:["GET /repos/{owner}/{repo}/tags/protection"],listTags:["GET /repos/{owner}/{repo}/tags"],listTeams:["GET /repos/{owner}/{repo}/teams"],listWebhookDeliveries:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /repos/{owner}/{repo}/hooks"],merge:["POST /repos/{owner}/{repo}/merges"],mergeUpstream:["POST /repos/{owner}/{repo}/merge-upstream"],pingWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeAppAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],removeCollaborator:["DELETE /repos/{owner}/{repo}/collaborators/{username}"],removeStatusCheckContexts:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],removeStatusCheckProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],removeTeamAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],removeUserAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],renameBranch:["POST /repos/{owner}/{repo}/branches/{branch}/rename"],replaceAllTopics:["PUT /repos/{owner}/{repo}/topics"],requestPagesBuild:["POST /repos/{owner}/{repo}/pages/builds"],setAdminBranchProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],setAppAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],setStatusCheckContexts:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],setTeamAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],setUserAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],testPushWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"],transfer:["POST /repos/{owner}/{repo}/transfer"],update:["PATCH /repos/{owner}/{repo}"],updateBranchProtection:["PUT /repos/{owner}/{repo}/branches/{branch}/protection"],updateCommitComment:["PATCH /repos/{owner}/{repo}/comments/{comment_id}"],updateDeploymentBranchPolicy:["PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],updateInformationAboutPagesSite:["PUT /repos/{owner}/{repo}/pages"],updateInvitation:["PATCH /repos/{owner}/{repo}/invitations/{invitation_id}"],updateOrgRuleset:["PUT /orgs/{org}/rulesets/{ruleset_id}"],updatePullRequestReviewProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],updateRelease:["PATCH /repos/{owner}/{repo}/releases/{release_id}"],updateReleaseAsset:["PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}"],updateRepoRuleset:["PUT /repos/{owner}/{repo}/rulesets/{ruleset_id}"],updateStatusCheckPotection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks",{},{renamed:["repos","updateStatusCheckProtection"]}],updateStatusCheckProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],updateWebhook:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"],updateWebhookConfigForRepo:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config"],uploadReleaseAsset:["POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}",{baseUrl:"https://uploads.github.com"}]},search:{code:["GET /search/code"],commits:["GET /search/commits"],issuesAndPullRequests:["GET /search/issues"],labels:["GET /search/labels"],repos:["GET /search/repositories"],topics:["GET /search/topics"],users:["GET /search/users"]},secretScanning:{getAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/secret-scanning/alerts"],listAlertsForOrg:["GET /orgs/{org}/secret-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/secret-scanning/alerts"],listLocationsForAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations"],updateAlert:["PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"]},securityAdvisories:{createFork:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks"],createPrivateVulnerabilityReport:["POST /repos/{owner}/{repo}/security-advisories/reports"],createRepositoryAdvisory:["POST /repos/{owner}/{repo}/security-advisories"],createRepositoryAdvisoryCveRequest:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve"],getGlobalAdvisory:["GET /advisories/{ghsa_id}"],getRepositoryAdvisory:["GET /repos/{owner}/{repo}/security-advisories/{ghsa_id}"],listGlobalAdvisories:["GET /advisories"],listOrgRepositoryAdvisories:["GET /orgs/{org}/security-advisories"],listRepositoryAdvisories:["GET /repos/{owner}/{repo}/security-advisories"],updateRepositoryAdvisory:["PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id}"]},teams:{addOrUpdateMembershipForUserInOrg:["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"],addOrUpdateProjectPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}"],addOrUpdateRepoPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],checkPermissionsForProjectInOrg:["GET /orgs/{org}/teams/{team_slug}/projects/{project_id}"],checkPermissionsForRepoInOrg:["GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],create:["POST /orgs/{org}/teams"],createDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],createDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions"],deleteDiscussionCommentInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],deleteDiscussionInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],deleteInOrg:["DELETE /orgs/{org}/teams/{team_slug}"],getByName:["GET /orgs/{org}/teams/{team_slug}"],getDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],getDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],getMembershipForUserInOrg:["GET /orgs/{org}/teams/{team_slug}/memberships/{username}"],list:["GET /orgs/{org}/teams"],listChildInOrg:["GET /orgs/{org}/teams/{team_slug}/teams"],listDiscussionCommentsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],listDiscussionsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions"],listForAuthenticatedUser:["GET /user/teams"],listMembersInOrg:["GET /orgs/{org}/teams/{team_slug}/members"],listPendingInvitationsInOrg:["GET /orgs/{org}/teams/{team_slug}/invitations"],listProjectsInOrg:["GET /orgs/{org}/teams/{team_slug}/projects"],listReposInOrg:["GET /orgs/{org}/teams/{team_slug}/repos"],removeMembershipForUserInOrg:["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"],removeProjectInOrg:["DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}"],removeRepoInOrg:["DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],updateDiscussionCommentInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],updateDiscussionInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],updateInOrg:["PATCH /orgs/{org}/teams/{team_slug}"]},users:{addEmailForAuthenticated:["POST /user/emails",{},{renamed:["users","addEmailForAuthenticatedUser"]}],addEmailForAuthenticatedUser:["POST /user/emails"],addSocialAccountForAuthenticatedUser:["POST /user/social_accounts"],block:["PUT /user/blocks/{username}"],checkBlocked:["GET /user/blocks/{username}"],checkFollowingForUser:["GET /users/{username}/following/{target_user}"],checkPersonIsFollowedByAuthenticated:["GET /user/following/{username}"],createGpgKeyForAuthenticated:["POST /user/gpg_keys",{},{renamed:["users","createGpgKeyForAuthenticatedUser"]}],createGpgKeyForAuthenticatedUser:["POST /user/gpg_keys"],createPublicSshKeyForAuthenticated:["POST /user/keys",{},{renamed:["users","createPublicSshKeyForAuthenticatedUser"]}],createPublicSshKeyForAuthenticatedUser:["POST /user/keys"],createSshSigningKeyForAuthenticatedUser:["POST /user/ssh_signing_keys"],deleteEmailForAuthenticated:["DELETE /user/emails",{},{renamed:["users","deleteEmailForAuthenticatedUser"]}],deleteEmailForAuthenticatedUser:["DELETE /user/emails"],deleteGpgKeyForAuthenticated:["DELETE /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","deleteGpgKeyForAuthenticatedUser"]}],deleteGpgKeyForAuthenticatedUser:["DELETE /user/gpg_keys/{gpg_key_id}"],deletePublicSshKeyForAuthenticated:["DELETE /user/keys/{key_id}",{},{renamed:["users","deletePublicSshKeyForAuthenticatedUser"]}],deletePublicSshKeyForAuthenticatedUser:["DELETE /user/keys/{key_id}"],deleteSocialAccountForAuthenticatedUser:["DELETE /user/social_accounts"],deleteSshSigningKeyForAuthenticatedUser:["DELETE /user/ssh_signing_keys/{ssh_signing_key_id}"],follow:["PUT /user/following/{username}"],getAuthenticated:["GET /user"],getByUsername:["GET /users/{username}"],getContextForUser:["GET /users/{username}/hovercard"],getGpgKeyForAuthenticated:["GET /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","getGpgKeyForAuthenticatedUser"]}],getGpgKeyForAuthenticatedUser:["GET /user/gpg_keys/{gpg_key_id}"],getPublicSshKeyForAuthenticated:["GET /user/keys/{key_id}",{},{renamed:["users","getPublicSshKeyForAuthenticatedUser"]}],getPublicSshKeyForAuthenticatedUser:["GET /user/keys/{key_id}"],getSshSigningKeyForAuthenticatedUser:["GET /user/ssh_signing_keys/{ssh_signing_key_id}"],list:["GET /users"],listBlockedByAuthenticated:["GET /user/blocks",{},{renamed:["users","listBlockedByAuthenticatedUser"]}],listBlockedByAuthenticatedUser:["GET /user/blocks"],listEmailsForAuthenticated:["GET /user/emails",{},{renamed:["users","listEmailsForAuthenticatedUser"]}],listEmailsForAuthenticatedUser:["GET /user/emails"],listFollowedByAuthenticated:["GET /user/following",{},{renamed:["users","listFollowedByAuthenticatedUser"]}],listFollowedByAuthenticatedUser:["GET /user/following"],listFollowersForAuthenticatedUser:["GET /user/followers"],listFollowersForUser:["GET /users/{username}/followers"],listFollowingForUser:["GET /users/{username}/following"],listGpgKeysForAuthenticated:["GET /user/gpg_keys",{},{renamed:["users","listGpgKeysForAuthenticatedUser"]}],listGpgKeysForAuthenticatedUser:["GET /user/gpg_keys"],listGpgKeysForUser:["GET /users/{username}/gpg_keys"],listPublicEmailsForAuthenticated:["GET /user/public_emails",{},{renamed:["users","listPublicEmailsForAuthenticatedUser"]}],listPublicEmailsForAuthenticatedUser:["GET /user/public_emails"],listPublicKeysForUser:["GET /users/{username}/keys"],listPublicSshKeysForAuthenticated:["GET /user/keys",{},{renamed:["users","listPublicSshKeysForAuthenticatedUser"]}],listPublicSshKeysForAuthenticatedUser:["GET /user/keys"],listSocialAccountsForAuthenticatedUser:["GET /user/social_accounts"],listSocialAccountsForUser:["GET /users/{username}/social_accounts"],listSshSigningKeysForAuthenticatedUser:["GET /user/ssh_signing_keys"],listSshSigningKeysForUser:["GET /users/{username}/ssh_signing_keys"],setPrimaryEmailVisibilityForAuthenticated:["PATCH /user/email/visibility",{},{renamed:["users","setPrimaryEmailVisibilityForAuthenticatedUser"]}],setPrimaryEmailVisibilityForAuthenticatedUser:["PATCH /user/email/visibility"],unblock:["DELETE /user/blocks/{username}"],unfollow:["DELETE /user/following/{username}"],updateAuthenticated:["PATCH /user"]}};var re=te;var ne=new Map;for(const[i,d]of Object.entries(re)){for(const[p,v]of Object.entries(d)){const[d,V,K]=v;const[ee,te]=d.split(/ /);const re=Object.assign({method:ee,url:te},V);if(!ne.has(i)){ne.set(i,new Map)}ne.get(i).set(p,{scope:i,methodName:p,endpointDefaults:re,decorations:K})}}var ie={has({scope:i},d){return ne.get(i).has(d)},getOwnPropertyDescriptor(i,d){return{value:this.get(i,d),configurable:true,writable:true,enumerable:true}},defineProperty(i,d,p){Object.defineProperty(i.cache,d,p);return true},deleteProperty(i,d){delete i.cache[d];return true},ownKeys({scope:i}){return[...ne.get(i).keys()]},set(i,d,p){return i.cache[d]=p},get({octokit:i,scope:d,cache:p},v){if(p[v]){return p[v]}const V=ne.get(d).get(v);if(!V){return void 0}const{endpointDefaults:K,decorations:ee}=V;if(ee){p[v]=decorate(i,d,v,K,ee)}else{p[v]=i.request.defaults(K)}return p[v]}};function endpointsToMethods(i){const d={};for(const p of ne.keys()){d[p]=new Proxy({octokit:i,scope:p,cache:{}},ie)}return d}function decorate(i,d,p,v,V){const K=i.request.defaults(v);function withDecorations(...v){let ee=K.endpoint.merge(...v);if(V.mapToData){ee=Object.assign({},ee,{data:ee[V.mapToData],[V.mapToData]:void 0});return K(ee)}if(V.renamed){const[v,K]=V.renamed;i.log.warn(`octokit.${d}.${p}() has been renamed to octokit.${v}.${K}()`)}if(V.deprecated){i.log.warn(V.deprecated)}if(V.renamedParameters){const ee=K.endpoint.merge(...v);for(const[v,K]of Object.entries(V.renamedParameters)){if(v in ee){i.log.warn(`"${v}" parameter is deprecated for "octokit.${d}.${p}()". Use "${K}" instead`);if(!(K in ee)){ee[K]=ee[v]}delete ee[v]}}return K(ee)}return K(...v)}return Object.assign(withDecorations,K)}function restEndpointMethods(i){const d=endpointsToMethods(i);return{rest:d}}restEndpointMethods.VERSION=ee;function legacyRestEndpointMethods(i){const d=endpointsToMethods(i);return{...d,rest:d}}legacyRestEndpointMethods.VERSION=ee;0&&0},33450:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});function _interopDefault(i){return i&&typeof i==="object"&&"default"in i?i["default"]:i}var v=_interopDefault(p(63251));async function errorRequest(i,d,p,v){if(!p.request||!p.request.request){throw p}if(p.status>=400&&!d.doNotRetry.includes(p.status)){const V=v.request.retries!=null?v.request.retries:d.retries;const K=Math.pow((v.request.retryCount||0)+1,2);throw i.retry.retryRequest(p,V,K)}throw p}async function wrapRequest(i,d,p){const V=new v;V.on("failed",(function(d,v){const V=~~d.request.request.retries;const K=~~d.request.request.retryAfter;p.request.retryCount=v.retryCount+1;if(V>v.retryCount){return K*i.retryAfterBaseValue}}));return V.schedule(d,p)}const V="3.0.9";function retry(i,d){const p=Object.assign({enabled:true,retryAfterBaseValue:1e3,doNotRetry:[400,401,403,404,422],retries:3},d.retry);if(p.enabled){i.hook.error("request",errorRequest.bind(null,i,p));i.hook.wrap("request",wrapRequest.bind(null,p))}return{retry:{retryRequest:(i,d,p)=>{i.request.request=Object.assign({},i.request.request,{retries:d,retryAfter:p});return i}}}}retry.VERSION=V;d.VERSION=V;d.retry=retry},37889:function(i,d){var p=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.ClientStreamingCall=void 0;class ClientStreamingCall{constructor(i,d,p,v,V,K,ee){this.method=i;this.requestHeaders=d;this.requests=p;this.headers=v;this.response=V;this.status=K;this.trailers=ee}then(i,d){return this.promiseFinished().then((d=>i?Promise.resolve(i(d)):d),(i=>d?Promise.resolve(d(i)):Promise.reject(i)))}promiseFinished(){return p(this,void 0,void 0,(function*(){let[i,d,p,v]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:i,response:d,status:p,trailers:v}}))}}d.ClientStreamingCall=ClientStreamingCall},71409:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.Deferred=d.DeferredState=void 0;var p;(function(i){i[i["PENDING"]=0]="PENDING";i[i["REJECTED"]=1]="REJECTED";i[i["RESOLVED"]=2]="RESOLVED"})(p=d.DeferredState||(d.DeferredState={}));class Deferred{constructor(i=true){this._state=p.PENDING;this._promise=new Promise(((i,d)=>{this._resolve=i;this._reject=d}));if(i){this._promise.catch((i=>{}))}}get state(){return this._state}get promise(){return this._promise}resolve(i){if(this.state!==p.PENDING)throw new Error(`cannot resolve ${p[this.state].toLowerCase()}`);this._resolve(i);this._state=p.RESOLVED}reject(i){if(this.state!==p.PENDING)throw new Error(`cannot reject ${p[this.state].toLowerCase()}`);this._reject(i);this._state=p.REJECTED}resolvePending(i){if(this._state===p.PENDING)this.resolve(i)}rejectPending(i){if(this._state===p.PENDING)this.reject(i)}}d.Deferred=Deferred},36826:function(i,d){var p=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.DuplexStreamingCall=void 0;class DuplexStreamingCall{constructor(i,d,p,v,V,K,ee){this.method=i;this.requestHeaders=d;this.requests=p;this.headers=v;this.responses=V;this.status=K;this.trailers=ee}then(i,d){return this.promiseFinished().then((d=>i?Promise.resolve(i(d)):d),(i=>d?Promise.resolve(d(i)):Promise.reject(i)))}promiseFinished(){return p(this,void 0,void 0,(function*(){let[i,d,p]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:i,status:d,trailers:p}}))}}d.DuplexStreamingCall=DuplexStreamingCall},44420:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});var v=p(56892);Object.defineProperty(d,"ServiceType",{enumerable:true,get:function(){return v.ServiceType}});var V=p(62496);Object.defineProperty(d,"readMethodOptions",{enumerable:true,get:function(){return V.readMethodOptions}});Object.defineProperty(d,"readMethodOption",{enumerable:true,get:function(){return V.readMethodOption}});Object.defineProperty(d,"readServiceOption",{enumerable:true,get:function(){return V.readServiceOption}});var K=p(78636);Object.defineProperty(d,"RpcError",{enumerable:true,get:function(){return K.RpcError}});var ee=p(28576);Object.defineProperty(d,"mergeRpcOptions",{enumerable:true,get:function(){return ee.mergeRpcOptions}});var te=p(72726);Object.defineProperty(d,"RpcOutputStreamController",{enumerable:true,get:function(){return te.RpcOutputStreamController}});var re=p(79122);Object.defineProperty(d,"TestTransport",{enumerable:true,get:function(){return re.TestTransport}});var ne=p(71409);Object.defineProperty(d,"Deferred",{enumerable:true,get:function(){return ne.Deferred}});Object.defineProperty(d,"DeferredState",{enumerable:true,get:function(){return ne.DeferredState}});var ie=p(36826);Object.defineProperty(d,"DuplexStreamingCall",{enumerable:true,get:function(){return ie.DuplexStreamingCall}});var se=p(37889);Object.defineProperty(d,"ClientStreamingCall",{enumerable:true,get:function(){return se.ClientStreamingCall}});var oe=p(46173);Object.defineProperty(d,"ServerStreamingCall",{enumerable:true,get:function(){return oe.ServerStreamingCall}});var ae=p(29288);Object.defineProperty(d,"UnaryCall",{enumerable:true,get:function(){return ae.UnaryCall}});var ce=p(52849);Object.defineProperty(d,"stackIntercept",{enumerable:true,get:function(){return ce.stackIntercept}});Object.defineProperty(d,"stackDuplexStreamingInterceptors",{enumerable:true,get:function(){return ce.stackDuplexStreamingInterceptors}});Object.defineProperty(d,"stackClientStreamingInterceptors",{enumerable:true,get:function(){return ce.stackClientStreamingInterceptors}});Object.defineProperty(d,"stackServerStreamingInterceptors",{enumerable:true,get:function(){return ce.stackServerStreamingInterceptors}});Object.defineProperty(d,"stackUnaryInterceptors",{enumerable:true,get:function(){return ce.stackUnaryInterceptors}});var le=p(43352);Object.defineProperty(d,"ServerCallContextController",{enumerable:true,get:function(){return le.ServerCallContextController}})},62496:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.readServiceOption=d.readMethodOption=d.readMethodOptions=d.normalizeMethodInfo=void 0;const v=p(68886);function normalizeMethodInfo(i,d){var p,V,K;let ee=i;ee.service=d;ee.localName=(p=ee.localName)!==null&&p!==void 0?p:v.lowerCamelCase(ee.name);ee.serverStreaming=!!ee.serverStreaming;ee.clientStreaming=!!ee.clientStreaming;ee.options=(V=ee.options)!==null&&V!==void 0?V:{};ee.idempotency=(K=ee.idempotency)!==null&&K!==void 0?K:undefined;return ee}d.normalizeMethodInfo=normalizeMethodInfo;function readMethodOptions(i,d,p,v){var V;const K=(V=i.methods.find(((i,p)=>i.localName===d||p===d)))===null||V===void 0?void 0:V.options;return K&&K[p]?v.fromJson(K[p]):undefined}d.readMethodOptions=readMethodOptions;function readMethodOption(i,d,p,v){var V;const K=(V=i.methods.find(((i,p)=>i.localName===d||p===d)))===null||V===void 0?void 0:V.options;if(!K){return undefined}const ee=K[p];if(ee===undefined){return ee}return v?v.fromJson(ee):ee}d.readMethodOption=readMethodOption;function readServiceOption(i,d,p){const v=i.options;if(!v){return undefined}const V=v[d];if(V===undefined){return V}return p?p.fromJson(V):V}d.readServiceOption=readServiceOption},78636:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.RpcError=void 0;class RpcError extends Error{constructor(i,d="UNKNOWN",p){super(i);this.name="RpcError";Object.setPrototypeOf(this,new.target.prototype);this.code=d;this.meta=p!==null&&p!==void 0?p:{}}toString(){const i=[this.name+": "+this.message];if(this.code){i.push("");i.push("Code: "+this.code)}if(this.serviceName&&this.methodName){i.push("Method: "+this.serviceName+"/"+this.methodName)}let d=Object.entries(this.meta);if(d.length){i.push("");i.push("Meta:");for(let[p,v]of d){i.push(` ${p}: ${v}`)}}return i.join("\n")}}d.RpcError=RpcError},52849:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.stackDuplexStreamingInterceptors=d.stackClientStreamingInterceptors=d.stackServerStreamingInterceptors=d.stackUnaryInterceptors=d.stackIntercept=void 0;const v=p(68886);function stackIntercept(i,d,p,V,K){var ee,te,re,ne;if(i=="unary"){let tail=(i,p,v)=>d.unary(i,p,v);for(const i of((ee=V.interceptors)!==null&&ee!==void 0?ee:[]).filter((i=>i.interceptUnary)).reverse()){const d=tail;tail=(p,v,V)=>i.interceptUnary(d,p,v,V)}return tail(p,K,V)}if(i=="serverStreaming"){let tail=(i,p,v)=>d.serverStreaming(i,p,v);for(const i of((te=V.interceptors)!==null&&te!==void 0?te:[]).filter((i=>i.interceptServerStreaming)).reverse()){const d=tail;tail=(p,v,V)=>i.interceptServerStreaming(d,p,v,V)}return tail(p,K,V)}if(i=="clientStreaming"){let tail=(i,p)=>d.clientStreaming(i,p);for(const i of((re=V.interceptors)!==null&&re!==void 0?re:[]).filter((i=>i.interceptClientStreaming)).reverse()){const d=tail;tail=(p,v)=>i.interceptClientStreaming(d,p,v)}return tail(p,V)}if(i=="duplex"){let tail=(i,p)=>d.duplex(i,p);for(const i of((ne=V.interceptors)!==null&&ne!==void 0?ne:[]).filter((i=>i.interceptDuplex)).reverse()){const d=tail;tail=(p,v)=>i.interceptDuplex(d,p,v)}return tail(p,V)}v.assertNever(i)}d.stackIntercept=stackIntercept;function stackUnaryInterceptors(i,d,p,v){return stackIntercept("unary",i,d,v,p)}d.stackUnaryInterceptors=stackUnaryInterceptors;function stackServerStreamingInterceptors(i,d,p,v){return stackIntercept("serverStreaming",i,d,v,p)}d.stackServerStreamingInterceptors=stackServerStreamingInterceptors;function stackClientStreamingInterceptors(i,d,p){return stackIntercept("clientStreaming",i,d,p)}d.stackClientStreamingInterceptors=stackClientStreamingInterceptors;function stackDuplexStreamingInterceptors(i,d,p){return stackIntercept("duplex",i,d,p)}d.stackDuplexStreamingInterceptors=stackDuplexStreamingInterceptors},28576:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.mergeRpcOptions=void 0;const v=p(68886);function mergeRpcOptions(i,d){if(!d)return i;let p={};copy(i,p);copy(d,p);for(let V of Object.keys(d)){let K=d[V];switch(V){case"jsonOptions":p.jsonOptions=v.mergeJsonOptions(i.jsonOptions,p.jsonOptions);break;case"binaryOptions":p.binaryOptions=v.mergeBinaryOptions(i.binaryOptions,p.binaryOptions);break;case"meta":p.meta={};copy(i.meta,p.meta);copy(d.meta,p.meta);break;case"interceptors":p.interceptors=i.interceptors?i.interceptors.concat(K):K.concat();break}}return p}d.mergeRpcOptions=mergeRpcOptions;function copy(i,d){if(!i)return;let p=d;for(let[d,v]of Object.entries(i)){if(v instanceof Date)p[d]=new Date(v.getTime());else if(Array.isArray(v))p[d]=v.concat();else p[d]=v}}},72726:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.RpcOutputStreamController=void 0;const v=p(71409);const V=p(68886);class RpcOutputStreamController{constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]};this._closed=false}onNext(i){return this.addLis(i,this._lis.nxt)}onMessage(i){return this.addLis(i,this._lis.msg)}onError(i){return this.addLis(i,this._lis.err)}onComplete(i){return this.addLis(i,this._lis.cmp)}addLis(i,d){d.push(i);return()=>{let p=d.indexOf(i);if(p>=0)d.splice(p,1)}}clearLis(){for(let i of Object.values(this._lis))i.splice(0,i.length)}get closed(){return this._closed!==false}notifyNext(i,d,p){V.assert((i?1:0)+(d?1:0)+(p?1:0)<=1,"only one emission at a time");if(i)this.notifyMessage(i);if(d)this.notifyError(d);if(p)this.notifyComplete()}notifyMessage(i){V.assert(!this.closed,"stream is closed");this.pushIt({value:i,done:false});this._lis.msg.forEach((d=>d(i)));this._lis.nxt.forEach((d=>d(i,undefined,false)))}notifyError(i){V.assert(!this.closed,"stream is closed");this._closed=i;this.pushIt(i);this._lis.err.forEach((d=>d(i)));this._lis.nxt.forEach((d=>d(undefined,i,false)));this.clearLis()}notifyComplete(){V.assert(!this.closed,"stream is closed");this._closed=true;this.pushIt({value:null,done:true});this._lis.cmp.forEach((i=>i()));this._lis.nxt.forEach((i=>i(undefined,undefined,true)));this.clearLis()}[Symbol.asyncIterator](){if(!this._itState){this._itState={q:[]}}if(this._closed===true)this.pushIt({value:null,done:true});else if(this._closed!==false)this.pushIt(this._closed);return{next:()=>{let i=this._itState;V.assert(i,"bad state");V.assert(!i.p,"iterator contract broken");let d=i.q.shift();if(d)return"value"in d?Promise.resolve(d):Promise.reject(d);i.p=new v.Deferred;return i.p.promise}}}pushIt(i){let d=this._itState;if(!d)return;if(d.p){const p=d.p;V.assert(p.state==v.DeferredState.PENDING,"iterator contract broken");"value"in i?p.resolve(i):p.reject(i);delete d.p}else{d.q.push(i)}}}d.RpcOutputStreamController=RpcOutputStreamController},43352:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.ServerCallContextController=void 0;class ServerCallContextController{constructor(i,d,p,v,V={code:"OK",detail:""}){this._cancelled=false;this._listeners=[];this.method=i;this.headers=d;this.deadline=p;this.trailers={};this._sendRH=v;this.status=V}notifyCancelled(){if(!this._cancelled){this._cancelled=true;for(let i of this._listeners){i()}}}sendResponseHeaders(i){this._sendRH(i)}get cancelled(){return this._cancelled}onCancel(i){const d=this._listeners;d.push(i);return()=>{let p=d.indexOf(i);if(p>=0)d.splice(p,1)}}}d.ServerCallContextController=ServerCallContextController},46173:function(i,d){var p=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.ServerStreamingCall=void 0;class ServerStreamingCall{constructor(i,d,p,v,V,K,ee){this.method=i;this.requestHeaders=d;this.request=p;this.headers=v;this.responses=V;this.status=K;this.trailers=ee}then(i,d){return this.promiseFinished().then((d=>i?Promise.resolve(i(d)):d),(i=>d?Promise.resolve(d(i)):Promise.reject(i)))}promiseFinished(){return p(this,void 0,void 0,(function*(){let[i,d,p]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:i,status:d,trailers:p}}))}}d.ServerStreamingCall=ServerStreamingCall},56892:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ServiceType=void 0;const v=p(62496);class ServiceType{constructor(i,d,p){this.typeName=i;this.methods=d.map((i=>v.normalizeMethodInfo(i,this)));this.options=p!==null&&p!==void 0?p:{}}}d.ServiceType=ServiceType},79122:function(i,d,p){var v=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.TestTransport=void 0;const V=p(78636);const K=p(68886);const ee=p(72726);const te=p(28576);const re=p(29288);const ne=p(46173);const ie=p(37889);const se=p(36826);class TestTransport{constructor(i){this.suppressUncaughtRejections=true;this.headerDelay=10;this.responseDelay=50;this.betweenResponseDelay=10;this.afterResponseDelay=10;this.data=i!==null&&i!==void 0?i:{}}get sentMessages(){if(this.lastInput instanceof TestInputStream){return this.lastInput.sent}else if(typeof this.lastInput=="object"){return[this.lastInput.single]}return[]}get sendComplete(){if(this.lastInput instanceof TestInputStream){return this.lastInput.completed}else if(typeof this.lastInput=="object"){return true}return false}promiseHeaders(){var i;const d=(i=this.data.headers)!==null&&i!==void 0?i:TestTransport.defaultHeaders;return d instanceof V.RpcError?Promise.reject(d):Promise.resolve(d)}promiseSingleResponse(i){if(this.data.response instanceof V.RpcError){return Promise.reject(this.data.response)}let d;if(Array.isArray(this.data.response)){K.assert(this.data.response.length>0);d=this.data.response[0]}else if(this.data.response!==undefined){d=this.data.response}else{d=i.O.create()}K.assert(i.O.is(d));return Promise.resolve(d)}streamResponses(i,d,p){return v(this,void 0,void 0,(function*(){const v=[];if(this.data.response===undefined){v.push(i.O.create())}else if(Array.isArray(this.data.response)){for(let d of this.data.response){K.assert(i.O.is(d));v.push(d)}}else if(!(this.data.response instanceof V.RpcError)){K.assert(i.O.is(this.data.response));v.push(this.data.response)}try{yield delay(this.responseDelay,p)(undefined)}catch(i){d.notifyError(i);return}if(this.data.response instanceof V.RpcError){d.notifyError(this.data.response);return}for(let i of v){d.notifyMessage(i);try{yield delay(this.betweenResponseDelay,p)(undefined)}catch(i){d.notifyError(i);return}}if(this.data.status instanceof V.RpcError){d.notifyError(this.data.status);return}if(this.data.trailers instanceof V.RpcError){d.notifyError(this.data.trailers);return}d.notifyComplete()}))}promiseStatus(){var i;const d=(i=this.data.status)!==null&&i!==void 0?i:TestTransport.defaultStatus;return d instanceof V.RpcError?Promise.reject(d):Promise.resolve(d)}promiseTrailers(){var i;const d=(i=this.data.trailers)!==null&&i!==void 0?i:TestTransport.defaultTrailers;return d instanceof V.RpcError?Promise.reject(d):Promise.resolve(d)}maybeSuppressUncaught(...i){if(this.suppressUncaughtRejections){for(let d of i){d.catch((()=>{}))}}}mergeOptions(i){return te.mergeRpcOptions({},i)}unary(i,d,p){var v;const V=(v=p.meta)!==null&&v!==void 0?v:{},K=this.promiseHeaders().then(delay(this.headerDelay,p.abort)),ee=K.catch((i=>{})).then(delay(this.responseDelay,p.abort)).then((d=>this.promiseSingleResponse(i))),te=ee.catch((i=>{})).then(delay(this.afterResponseDelay,p.abort)).then((i=>this.promiseStatus())),ne=ee.catch((i=>{})).then(delay(this.afterResponseDelay,p.abort)).then((i=>this.promiseTrailers()));this.maybeSuppressUncaught(te,ne);this.lastInput={single:d};return new re.UnaryCall(i,V,d,K,ee,te,ne)}serverStreaming(i,d,p){var v;const V=(v=p.meta)!==null&&v!==void 0?v:{},K=this.promiseHeaders().then(delay(this.headerDelay,p.abort)),te=new ee.RpcOutputStreamController,re=K.then(delay(this.responseDelay,p.abort)).catch((()=>{})).then((()=>this.streamResponses(i,te,p.abort))).then(delay(this.afterResponseDelay,p.abort)),ie=re.then((()=>this.promiseStatus())),se=re.then((()=>this.promiseTrailers()));this.maybeSuppressUncaught(ie,se);this.lastInput={single:d};return new ne.ServerStreamingCall(i,V,d,K,te,ie,se)}clientStreaming(i,d){var p;const v=(p=d.meta)!==null&&p!==void 0?p:{},V=this.promiseHeaders().then(delay(this.headerDelay,d.abort)),K=V.catch((i=>{})).then(delay(this.responseDelay,d.abort)).then((d=>this.promiseSingleResponse(i))),ee=K.catch((i=>{})).then(delay(this.afterResponseDelay,d.abort)).then((i=>this.promiseStatus())),te=K.catch((i=>{})).then(delay(this.afterResponseDelay,d.abort)).then((i=>this.promiseTrailers()));this.maybeSuppressUncaught(ee,te);this.lastInput=new TestInputStream(this.data,d.abort);return new ie.ClientStreamingCall(i,v,this.lastInput,V,K,ee,te)}duplex(i,d){var p;const v=(p=d.meta)!==null&&p!==void 0?p:{},V=this.promiseHeaders().then(delay(this.headerDelay,d.abort)),K=new ee.RpcOutputStreamController,te=V.then(delay(this.responseDelay,d.abort)).catch((()=>{})).then((()=>this.streamResponses(i,K,d.abort))).then(delay(this.afterResponseDelay,d.abort)),re=te.then((()=>this.promiseStatus())),ne=te.then((()=>this.promiseTrailers()));this.maybeSuppressUncaught(re,ne);this.lastInput=new TestInputStream(this.data,d.abort);return new se.DuplexStreamingCall(i,v,this.lastInput,V,K,re,ne)}}d.TestTransport=TestTransport;TestTransport.defaultHeaders={responseHeader:"test"};TestTransport.defaultStatus={code:"OK",detail:"all good"};TestTransport.defaultTrailers={responseTrailer:"test"};function delay(i,d){return p=>new Promise(((v,K)=>{if(d===null||d===void 0?void 0:d.aborted){K(new V.RpcError("user cancel","CANCELLED"))}else{const ee=setTimeout((()=>v(p)),i);if(d){d.addEventListener("abort",(i=>{clearTimeout(ee);K(new V.RpcError("user cancel","CANCELLED"))}))}}}))}class TestInputStream{constructor(i,d){this._completed=false;this._sent=[];this.data=i;this.abort=d}get sent(){return this._sent}get completed(){return this._completed}send(i){if(this.data.inputMessage instanceof V.RpcError){return Promise.reject(this.data.inputMessage)}const d=this.data.inputMessage===undefined?10:this.data.inputMessage;return Promise.resolve(undefined).then((()=>{this._sent.push(i)})).then(delay(d,this.abort))}complete(){if(this.data.inputComplete instanceof V.RpcError){return Promise.reject(this.data.inputComplete)}const i=this.data.inputComplete===undefined?10:this.data.inputComplete;return Promise.resolve(undefined).then((()=>{this._completed=true})).then(delay(i,this.abort))}}},29288:function(i,d){var p=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.UnaryCall=void 0;class UnaryCall{constructor(i,d,p,v,V,K,ee){this.method=i;this.requestHeaders=d;this.request=p;this.headers=v;this.response=V;this.status=K;this.trailers=ee}then(i,d){return this.promiseFinished().then((d=>i?Promise.resolve(i(d)):d),(i=>d?Promise.resolve(d(i)):Promise.reject(i)))}promiseFinished(){return p(this,void 0,void 0,(function*(){let[i,d,p,v]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:i,response:d,status:p,trailers:v}}))}}d.UnaryCall=UnaryCall},8602:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.assertFloat32=d.assertUInt32=d.assertInt32=d.assertNever=d.assert=void 0;function assert(i,d){if(!i){throw new Error(d)}}d.assert=assert;function assertNever(i,d){throw new Error(d!==null&&d!==void 0?d:"Unexpected object: "+i)}d.assertNever=assertNever;const p=34028234663852886e22,v=-34028234663852886e22,V=4294967295,K=2147483647,ee=-2147483648;function assertInt32(i){if(typeof i!=="number")throw new Error("invalid int 32: "+typeof i);if(!Number.isInteger(i)||i>K||iV||i<0)throw new Error("invalid uint 32: "+i)}d.assertUInt32=assertUInt32;function assertFloat32(i){if(typeof i!=="number")throw new Error("invalid float 32: "+typeof i);if(!Number.isFinite(i))return;if(i>p||i{Object.defineProperty(d,"__esModule",{value:true});d.base64encode=d.base64decode=void 0;let p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");let v=[];for(let i=0;i>4;te=ee;K=2;break;case 2:p[V++]=(te&15)<<4|(ee&60)>>2;te=ee;K=3;break;case 3:p[V++]=(te&3)<<6|ee;K=0;break}}if(K==1)throw Error(`invalid base64 string.`);return p.subarray(0,V)}d.base64decode=base64decode;function base64encode(i){let d="",v=0,V,K=0;for(let ee=0;ee>2];K=(V&3)<<4;v=1;break;case 1:d+=p[K|V>>4];K=(V&15)<<2;v=2;break;case 2:d+=p[K|V>>6];d+=p[V&63];v=0;break}}if(v){d+=p[K];d+="=";if(v==1)d+="="}return d}d.base64encode=base64encode},54816:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.WireType=d.mergeBinaryOptions=d.UnknownFieldHandler=void 0;var p;(function(i){i.symbol=Symbol.for("protobuf-ts/unknown");i.onRead=(d,p,v,V,K)=>{let ee=is(p)?p[i.symbol]:p[i.symbol]=[];ee.push({no:v,wireType:V,data:K})};i.onWrite=(d,p,v)=>{for(let{no:d,wireType:V,data:K}of i.list(p))v.tag(d,V).raw(K)};i.list=(d,p)=>{if(is(d)){let v=d[i.symbol];return p?v.filter((i=>i.no==p)):v}return[]};i.last=(d,p)=>i.list(d,p).slice(-1)[0];const is=d=>d&&Array.isArray(d[i.symbol])})(p=d.UnknownFieldHandler||(d.UnknownFieldHandler={}));function mergeBinaryOptions(i,d){return Object.assign(Object.assign({},i),d)}d.mergeBinaryOptions=mergeBinaryOptions;var v;(function(i){i[i["Varint"]=0]="Varint";i[i["Bit64"]=1]="Bit64";i[i["LengthDelimited"]=2]="LengthDelimited";i[i["StartGroup"]=3]="StartGroup";i[i["EndGroup"]=4]="EndGroup";i[i["Bit32"]=5]="Bit32"})(v=d.WireType||(d.WireType={}))},92889:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BinaryReader=d.binaryReadOptions=void 0;const v=p(54816);const V=p(61753);const K=p(93223);const ee={readUnknownField:true,readerFactory:i=>new BinaryReader(i)};function binaryReadOptions(i){return i?Object.assign(Object.assign({},ee),i):ee}d.binaryReadOptions=binaryReadOptions;class BinaryReader{constructor(i,d){this.varint64=K.varint64read;this.uint32=K.varint32read;this.buf=i;this.len=i.length;this.pos=0;this.view=new DataView(i.buffer,i.byteOffset,i.byteLength);this.textDecoder=d!==null&&d!==void 0?d:new TextDecoder("utf-8",{fatal:true,ignoreBOM:true})}tag(){let i=this.uint32(),d=i>>>3,p=i&7;if(d<=0||p<0||p>5)throw new Error("illegal tag: field no "+d+" wire type "+p);return[d,p]}skip(i){let d=this.pos;switch(i){case v.WireType.Varint:while(this.buf[this.pos++]&128){}break;case v.WireType.Bit64:this.pos+=4;case v.WireType.Bit32:this.pos+=4;break;case v.WireType.LengthDelimited:let d=this.uint32();this.pos+=d;break;case v.WireType.StartGroup:let p;while((p=this.tag()[1])!==v.WireType.EndGroup){this.skip(p)}break;default:throw new Error("cant skip wire type "+i)}this.assertBounds();return this.buf.subarray(d,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let i=this.uint32();return i>>>1^-(i&1)}int64(){return new V.PbLong(...this.varint64())}uint64(){return new V.PbULong(...this.varint64())}sint64(){let[i,d]=this.varint64();let p=-(i&1);i=(i>>>1|(d&1)<<31)^p;d=d>>>1^p;return new V.PbLong(i,d)}bool(){let[i,d]=this.varint64();return i!==0||d!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,true)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,true)}fixed64(){return new V.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new V.PbLong(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,true)}double(){return this.view.getFloat64((this.pos+=8)-8,true)}bytes(){let i=this.uint32();let d=this.pos;this.pos+=i;this.assertBounds();return this.buf.subarray(d,d+i)}string(){return this.textDecoder.decode(this.bytes())}}d.BinaryReader=BinaryReader},23957:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BinaryWriter=d.binaryWriteOptions=void 0;const v=p(61753);const V=p(93223);const K=p(8602);const ee={writeUnknownFields:true,writerFactory:()=>new BinaryWriter};function binaryWriteOptions(i){return i?Object.assign(Object.assign({},ee),i):ee}d.binaryWriteOptions=binaryWriteOptions;class BinaryWriter{constructor(i){this.stack=[];this.textEncoder=i!==null&&i!==void 0?i:new TextEncoder;this.chunks=[];this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let i=0;for(let d=0;d>>0)}raw(i){if(this.buf.length){this.chunks.push(new Uint8Array(this.buf));this.buf=[]}this.chunks.push(i);return this}uint32(i){K.assertUInt32(i);while(i>127){this.buf.push(i&127|128);i=i>>>7}this.buf.push(i);return this}int32(i){K.assertInt32(i);V.varint32write(i,this.buf);return this}bool(i){this.buf.push(i?1:0);return this}bytes(i){this.uint32(i.byteLength);return this.raw(i)}string(i){let d=this.textEncoder.encode(i);this.uint32(d.byteLength);return this.raw(d)}float(i){K.assertFloat32(i);let d=new Uint8Array(4);new DataView(d.buffer).setFloat32(0,i,true);return this.raw(d)}double(i){let d=new Uint8Array(8);new DataView(d.buffer).setFloat64(0,i,true);return this.raw(d)}fixed32(i){K.assertUInt32(i);let d=new Uint8Array(4);new DataView(d.buffer).setUint32(0,i,true);return this.raw(d)}sfixed32(i){K.assertInt32(i);let d=new Uint8Array(4);new DataView(d.buffer).setInt32(0,i,true);return this.raw(d)}sint32(i){K.assertInt32(i);i=(i<<1^i>>31)>>>0;V.varint32write(i,this.buf);return this}sfixed64(i){let d=new Uint8Array(8);let p=new DataView(d.buffer);let V=v.PbLong.from(i);p.setInt32(0,V.lo,true);p.setInt32(4,V.hi,true);return this.raw(d)}fixed64(i){let d=new Uint8Array(8);let p=new DataView(d.buffer);let V=v.PbULong.from(i);p.setInt32(0,V.lo,true);p.setInt32(4,V.hi,true);return this.raw(d)}int64(i){let d=v.PbLong.from(i);V.varint64write(d.lo,d.hi,this.buf);return this}sint64(i){let d=v.PbLong.from(i),p=d.hi>>31,K=d.lo<<1^p,ee=(d.hi<<1|d.lo>>>31)^p;V.varint64write(K,ee,this.buf);return this}uint64(i){let d=v.PbULong.from(i);V.varint64write(d.lo,d.hi,this.buf);return this}}d.BinaryWriter=BinaryWriter},70257:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.listEnumNumbers=d.listEnumNames=d.listEnumValues=d.isEnumObject=void 0;function isEnumObject(i){if(typeof i!="object"||i===null){return false}if(!i.hasOwnProperty(0)){return false}for(let d of Object.keys(i)){let p=parseInt(d);if(!Number.isNaN(p)){let d=i[p];if(d===undefined)return false;if(i[d]!==p)return false}else{let p=i[d];if(p===undefined)return false;if(typeof p!=="number")return false;if(i[p]===undefined)return false}}return true}d.isEnumObject=isEnumObject;function listEnumValues(i){if(!isEnumObject(i))throw new Error("not a typescript enum object");let d=[];for(let[p,v]of Object.entries(i))if(typeof v=="number")d.push({name:p,number:v});return d}d.listEnumValues=listEnumValues;function listEnumNames(i){return listEnumValues(i).map((i=>i.name))}d.listEnumNames=listEnumNames;function listEnumNumbers(i){return listEnumValues(i).map((i=>i.number)).filter(((i,d,p)=>p.indexOf(i)==d))}d.listEnumNumbers=listEnumNumbers},93223:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.varint32read=d.varint32write=d.int64toString=d.int64fromString=d.varint64write=d.varint64read=void 0;function varint64read(){let i=0;let d=0;for(let p=0;p<28;p+=7){let v=this.buf[this.pos++];i|=(v&127)<>4;if((p&128)==0){this.assertBounds();return[i,d]}for(let p=3;p<=31;p+=7){let v=this.buf[this.pos++];d|=(v&127)<>>v;const K=!(V>>>7==0&&d==0);const ee=(K?V|128:V)&255;p.push(ee);if(!K){return}}const v=i>>>28&15|(d&7)<<4;const V=!(d>>3==0);p.push((V?v|128:v)&255);if(!V){return}for(let i=3;i<31;i=i+7){const v=d>>>i;const V=!(v>>>7==0);const K=(V?v|128:v)&255;p.push(K);if(!V){return}}p.push(d>>>31&1)}d.varint64write=varint64write;const p=(1<<16)*(1<<16);function int64fromString(i){let d=i[0]=="-";if(d)i=i.slice(1);const v=1e6;let V=0;let K=0;function add1e6digit(d,ee){const te=Number(i.slice(d,ee));K*=v;V=V*v+te;if(V>=p){K=K+(V/p|0);V=V%p}}add1e6digit(-24,-18);add1e6digit(-18,-12);add1e6digit(-12,-6);add1e6digit(-6);return[d,V,K]}d.int64fromString=int64fromString;function int64toString(i,d){if(d>>>0<=2097151){return""+(p*d+(i>>>0))}let v=i&16777215;let V=(i>>>24|d<<8)>>>0&16777215;let K=d>>16&65535;let ee=v+V*6777216+K*6710656;let te=V+K*8147497;let re=K*2;let ne=1e7;if(ee>=ne){te+=Math.floor(ee/ne);ee%=ne}if(te>=ne){re+=Math.floor(te/ne);te%=ne}function decimalFrom1e7(i,d){let p=i?String(i):"";if(d){return"0000000".slice(p.length)+p}return p}return decimalFrom1e7(re,0)+decimalFrom1e7(te,re)+decimalFrom1e7(ee,1)}d.int64toString=int64toString;function varint32write(i,d){if(i>=0){while(i>127){d.push(i&127|128);i=i>>>7}d.push(i)}else{for(let p=0;p<9;p++){d.push(i&127|128);i=i>>7}d.push(1)}}d.varint32write=varint32write;function varint32read(){let i=this.buf[this.pos++];let d=i&127;if((i&128)==0){this.assertBounds();return d}i=this.buf[this.pos++];d|=(i&127)<<7;if((i&128)==0){this.assertBounds();return d}i=this.buf[this.pos++];d|=(i&127)<<14;if((i&128)==0){this.assertBounds();return d}i=this.buf[this.pos++];d|=(i&127)<<21;if((i&128)==0){this.assertBounds();return d}i=this.buf[this.pos++];d|=(i&15)<<28;for(let d=5;(i&128)!==0&&d<10;d++)i=this.buf[this.pos++];if((i&128)!=0)throw new Error("invalid varint");this.assertBounds();return d>>>0}d.varint32read=varint32read},68886:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});var v=p(49999);Object.defineProperty(d,"typeofJsonValue",{enumerable:true,get:function(){return v.typeofJsonValue}});Object.defineProperty(d,"isJsonObject",{enumerable:true,get:function(){return v.isJsonObject}});var V=p(26335);Object.defineProperty(d,"base64decode",{enumerable:true,get:function(){return V.base64decode}});Object.defineProperty(d,"base64encode",{enumerable:true,get:function(){return V.base64encode}});var K=p(58950);Object.defineProperty(d,"utf8read",{enumerable:true,get:function(){return K.utf8read}});var ee=p(54816);Object.defineProperty(d,"WireType",{enumerable:true,get:function(){return ee.WireType}});Object.defineProperty(d,"mergeBinaryOptions",{enumerable:true,get:function(){return ee.mergeBinaryOptions}});Object.defineProperty(d,"UnknownFieldHandler",{enumerable:true,get:function(){return ee.UnknownFieldHandler}});var te=p(92889);Object.defineProperty(d,"BinaryReader",{enumerable:true,get:function(){return te.BinaryReader}});Object.defineProperty(d,"binaryReadOptions",{enumerable:true,get:function(){return te.binaryReadOptions}});var re=p(23957);Object.defineProperty(d,"BinaryWriter",{enumerable:true,get:function(){return re.BinaryWriter}});Object.defineProperty(d,"binaryWriteOptions",{enumerable:true,get:function(){return re.binaryWriteOptions}});var ne=p(61753);Object.defineProperty(d,"PbLong",{enumerable:true,get:function(){return ne.PbLong}});Object.defineProperty(d,"PbULong",{enumerable:true,get:function(){return ne.PbULong}});var ie=p(29367);Object.defineProperty(d,"jsonReadOptions",{enumerable:true,get:function(){return ie.jsonReadOptions}});Object.defineProperty(d,"jsonWriteOptions",{enumerable:true,get:function(){return ie.jsonWriteOptions}});Object.defineProperty(d,"mergeJsonOptions",{enumerable:true,get:function(){return ie.mergeJsonOptions}});var se=p(43785);Object.defineProperty(d,"MESSAGE_TYPE",{enumerable:true,get:function(){return se.MESSAGE_TYPE}});var oe=p(15106);Object.defineProperty(d,"MessageType",{enumerable:true,get:function(){return oe.MessageType}});var ae=p(67910);Object.defineProperty(d,"ScalarType",{enumerable:true,get:function(){return ae.ScalarType}});Object.defineProperty(d,"LongType",{enumerable:true,get:function(){return ae.LongType}});Object.defineProperty(d,"RepeatType",{enumerable:true,get:function(){return ae.RepeatType}});Object.defineProperty(d,"normalizeFieldInfo",{enumerable:true,get:function(){return ae.normalizeFieldInfo}});Object.defineProperty(d,"readFieldOptions",{enumerable:true,get:function(){return ae.readFieldOptions}});Object.defineProperty(d,"readFieldOption",{enumerable:true,get:function(){return ae.readFieldOption}});Object.defineProperty(d,"readMessageOption",{enumerable:true,get:function(){return ae.readMessageOption}});var ce=p(25167);Object.defineProperty(d,"ReflectionTypeCheck",{enumerable:true,get:function(){return ce.ReflectionTypeCheck}});var le=p(75726);Object.defineProperty(d,"reflectionCreate",{enumerable:true,get:function(){return le.reflectionCreate}});var ue=p(19526);Object.defineProperty(d,"reflectionScalarDefault",{enumerable:true,get:function(){return ue.reflectionScalarDefault}});var Ae=p(98044);Object.defineProperty(d,"reflectionMergePartial",{enumerable:true,get:function(){return Ae.reflectionMergePartial}});var de=p(4827);Object.defineProperty(d,"reflectionEquals",{enumerable:true,get:function(){return de.reflectionEquals}});var pe=p(89611);Object.defineProperty(d,"ReflectionBinaryReader",{enumerable:true,get:function(){return pe.ReflectionBinaryReader}});var fe=p(66907);Object.defineProperty(d,"ReflectionBinaryWriter",{enumerable:true,get:function(){return fe.ReflectionBinaryWriter}});var he=p(46790);Object.defineProperty(d,"ReflectionJsonReader",{enumerable:true,get:function(){return he.ReflectionJsonReader}});var ge=p(11094);Object.defineProperty(d,"ReflectionJsonWriter",{enumerable:true,get:function(){return ge.ReflectionJsonWriter}});var me=p(59946);Object.defineProperty(d,"containsMessageType",{enumerable:true,get:function(){return me.containsMessageType}});var Ee=p(18063);Object.defineProperty(d,"isOneofGroup",{enumerable:true,get:function(){return Ee.isOneofGroup}});Object.defineProperty(d,"setOneofValue",{enumerable:true,get:function(){return Ee.setOneofValue}});Object.defineProperty(d,"getOneofValue",{enumerable:true,get:function(){return Ee.getOneofValue}});Object.defineProperty(d,"clearOneofValue",{enumerable:true,get:function(){return Ee.clearOneofValue}});Object.defineProperty(d,"getSelectedOneofValue",{enumerable:true,get:function(){return Ee.getSelectedOneofValue}});var ye=p(70257);Object.defineProperty(d,"listEnumValues",{enumerable:true,get:function(){return ye.listEnumValues}});Object.defineProperty(d,"listEnumNames",{enumerable:true,get:function(){return ye.listEnumNames}});Object.defineProperty(d,"listEnumNumbers",{enumerable:true,get:function(){return ye.listEnumNumbers}});Object.defineProperty(d,"isEnumObject",{enumerable:true,get:function(){return ye.isEnumObject}});var Ce=p(4073);Object.defineProperty(d,"lowerCamelCase",{enumerable:true,get:function(){return Ce.lowerCamelCase}});var be=p(8602);Object.defineProperty(d,"assert",{enumerable:true,get:function(){return be.assert}});Object.defineProperty(d,"assertNever",{enumerable:true,get:function(){return be.assertNever}});Object.defineProperty(d,"assertInt32",{enumerable:true,get:function(){return be.assertInt32}});Object.defineProperty(d,"assertUInt32",{enumerable:true,get:function(){return be.assertUInt32}});Object.defineProperty(d,"assertFloat32",{enumerable:true,get:function(){return be.assertFloat32}})},29367:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.mergeJsonOptions=d.jsonWriteOptions=d.jsonReadOptions=void 0;const p={emitDefaultValues:false,enumAsInteger:false,useProtoFieldName:false,prettySpaces:0},v={ignoreUnknownFields:false};function jsonReadOptions(i){return i?Object.assign(Object.assign({},v),i):v}d.jsonReadOptions=jsonReadOptions;function jsonWriteOptions(i){return i?Object.assign(Object.assign({},p),i):p}d.jsonWriteOptions=jsonWriteOptions;function mergeJsonOptions(i,d){var p,v;let V=Object.assign(Object.assign({},i),d);V.typeRegistry=[...(p=i===null||i===void 0?void 0:i.typeRegistry)!==null&&p!==void 0?p:[],...(v=d===null||d===void 0?void 0:d.typeRegistry)!==null&&v!==void 0?v:[]];return V}d.mergeJsonOptions=mergeJsonOptions},49999:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.isJsonObject=d.typeofJsonValue=void 0;function typeofJsonValue(i){let d=typeof i;if(d=="object"){if(Array.isArray(i))return"array";if(i===null)return"null"}return d}d.typeofJsonValue=typeofJsonValue;function isJsonObject(i){return i!==null&&typeof i=="object"&&!Array.isArray(i)}d.isJsonObject=isJsonObject},4073:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.lowerCamelCase=void 0;function lowerCamelCase(i){let d=false;const p=[];for(let v=0;v{Object.defineProperty(d,"__esModule",{value:true});d.MESSAGE_TYPE=void 0;d.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")},15106:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.MessageType=void 0;const v=p(43785);const V=p(67910);const K=p(25167);const ee=p(46790);const te=p(11094);const re=p(89611);const ne=p(66907);const ie=p(75726);const se=p(98044);const oe=p(49999);const ae=p(29367);const ce=p(4827);const le=p(23957);const ue=p(92889);const Ae=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({}));class MessageType{constructor(i,d,p){this.defaultCheckDepth=16;this.typeName=i;this.fields=d.map(V.normalizeFieldInfo);this.options=p!==null&&p!==void 0?p:{};this.messagePrototype=Object.create(null,Object.assign(Object.assign({},Ae),{[v.MESSAGE_TYPE]:{value:this}}));this.refTypeCheck=new K.ReflectionTypeCheck(this);this.refJsonReader=new ee.ReflectionJsonReader(this);this.refJsonWriter=new te.ReflectionJsonWriter(this);this.refBinReader=new re.ReflectionBinaryReader(this);this.refBinWriter=new ne.ReflectionBinaryWriter(this)}create(i){let d=ie.reflectionCreate(this);if(i!==undefined){se.reflectionMergePartial(this,d,i)}return d}clone(i){let d=this.create();se.reflectionMergePartial(this,d,i);return d}equals(i,d){return ce.reflectionEquals(this,i,d)}is(i,d=this.defaultCheckDepth){return this.refTypeCheck.is(i,d,false)}isAssignable(i,d=this.defaultCheckDepth){return this.refTypeCheck.is(i,d,true)}mergePartial(i,d){se.reflectionMergePartial(this,i,d)}fromBinary(i,d){let p=ue.binaryReadOptions(d);return this.internalBinaryRead(p.readerFactory(i),i.byteLength,p)}fromJson(i,d){return this.internalJsonRead(i,ae.jsonReadOptions(d))}fromJsonString(i,d){let p=JSON.parse(i);return this.fromJson(p,d)}toJson(i,d){return this.internalJsonWrite(i,ae.jsonWriteOptions(d))}toJsonString(i,d){var p;let v=this.toJson(i,d);return JSON.stringify(v,null,(p=d===null||d===void 0?void 0:d.prettySpaces)!==null&&p!==void 0?p:0)}toBinary(i,d){let p=le.binaryWriteOptions(d);return this.internalBinaryWrite(i,p.writerFactory(),p).finish()}internalJsonRead(i,d,p){if(i!==null&&typeof i=="object"&&!Array.isArray(i)){let v=p!==null&&p!==void 0?p:this.create();this.refJsonReader.read(i,v,d);return v}throw new Error(`Unable to parse message ${this.typeName} from JSON ${oe.typeofJsonValue(i)}.`)}internalJsonWrite(i,d){return this.refJsonWriter.write(i,d)}internalBinaryWrite(i,d,p){this.refBinWriter.write(i,d,p);return d}internalBinaryRead(i,d,p,v){let V=v!==null&&v!==void 0?v:this.create();this.refBinReader.read(i,V,p,d);return V}}d.MessageType=MessageType},18063:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.getSelectedOneofValue=d.clearOneofValue=d.setUnknownOneofValue=d.setOneofValue=d.getOneofValue=d.isOneofGroup=void 0;function isOneofGroup(i){if(typeof i!="object"||i===null||!i.hasOwnProperty("oneofKind")){return false}switch(typeof i.oneofKind){case"string":if(i[i.oneofKind]===undefined)return false;return Object.keys(i).length==2;case"undefined":return Object.keys(i).length==1;default:return false}}d.isOneofGroup=isOneofGroup;function getOneofValue(i,d){return i[d]}d.getOneofValue=getOneofValue;function setOneofValue(i,d,p){if(i.oneofKind!==undefined){delete i[i.oneofKind]}i.oneofKind=d;if(p!==undefined){i[d]=p}}d.setOneofValue=setOneofValue;function setUnknownOneofValue(i,d,p){if(i.oneofKind!==undefined){delete i[i.oneofKind]}i.oneofKind=d;if(p!==undefined&&d!==undefined){i[d]=p}}d.setUnknownOneofValue=setUnknownOneofValue;function clearOneofValue(i){if(i.oneofKind!==undefined){delete i[i.oneofKind]}i.oneofKind=undefined}d.clearOneofValue=clearOneofValue;function getSelectedOneofValue(i){if(i.oneofKind===undefined){return undefined}return i[i.oneofKind]}d.getSelectedOneofValue=getSelectedOneofValue},61753:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.PbLong=d.PbULong=d.detectBi=void 0;const v=p(93223);let V;function detectBi(){const i=new DataView(new ArrayBuffer(8));const d=globalThis.BigInt!==undefined&&typeof i.getBigInt64==="function"&&typeof i.getBigUint64==="function"&&typeof i.setBigInt64==="function"&&typeof i.setBigUint64==="function";V=d?{MIN:BigInt("-9223372036854775808"),MAX:BigInt("9223372036854775807"),UMIN:BigInt("0"),UMAX:BigInt("18446744073709551615"),C:BigInt,V:i}:undefined}d.detectBi=detectBi;detectBi();function assertBi(i){if(!i)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}const K=/^-?[0-9]+$/;const ee=4294967296;const te=2147483648;class SharedPbLong{constructor(i,d){this.lo=i|0;this.hi=d|0}isZero(){return this.lo==0&&this.hi==0}toNumber(){let i=this.hi*ee+(this.lo>>>0);if(!Number.isSafeInteger(i))throw new Error("cannot convert to safe number");return i}}class PbULong extends SharedPbLong{static from(i){if(V)switch(typeof i){case"string":if(i=="0")return this.ZERO;if(i=="")throw new Error("string is no integer");i=V.C(i);case"number":if(i===0)return this.ZERO;i=V.C(i);case"bigint":if(!i)return this.ZERO;if(iV.UMAX)throw new Error("ulong too large");V.V.setBigUint64(0,i,true);return new PbULong(V.V.getInt32(0,true),V.V.getInt32(4,true))}else switch(typeof i){case"string":if(i=="0")return this.ZERO;i=i.trim();if(!K.test(i))throw new Error("string is no integer");let[d,p,V]=v.int64fromString(i);if(d)throw new Error("signed value for ulong");return new PbULong(p,V);case"number":if(i==0)return this.ZERO;if(!Number.isSafeInteger(i))throw new Error("number is no integer");if(i<0)throw new Error("signed value for ulong");return new PbULong(i,i/ee)}throw new Error("unknown value "+typeof i)}toString(){return V?this.toBigInt().toString():v.int64toString(this.lo,this.hi)}toBigInt(){assertBi(V);V.V.setInt32(0,this.lo,true);V.V.setInt32(4,this.hi,true);return V.V.getBigUint64(0,true)}}d.PbULong=PbULong;PbULong.ZERO=new PbULong(0,0);class PbLong extends SharedPbLong{static from(i){if(V)switch(typeof i){case"string":if(i=="0")return this.ZERO;if(i=="")throw new Error("string is no integer");i=V.C(i);case"number":if(i===0)return this.ZERO;i=V.C(i);case"bigint":if(!i)return this.ZERO;if(iV.MAX)throw new Error("signed long too large");V.V.setBigInt64(0,i,true);return new PbLong(V.V.getInt32(0,true),V.V.getInt32(4,true))}else switch(typeof i){case"string":if(i=="0")return this.ZERO;i=i.trim();if(!K.test(i))throw new Error("string is no integer");let[d,p,V]=v.int64fromString(i);if(d){if(V>te||V==te&&p!=0)throw new Error("signed long too small")}else if(V>=te)throw new Error("signed long too large");let re=new PbLong(p,V);return d?re.negate():re;case"number":if(i==0)return this.ZERO;if(!Number.isSafeInteger(i))throw new Error("number is no integer");return i>0?new PbLong(i,i/ee):new PbLong(-i,-i/ee).negate()}throw new Error("unknown value "+typeof i)}isNegative(){return(this.hi&te)!==0}negate(){let i=~this.hi,d=this.lo;if(d)d=~d+1;else i+=1;return new PbLong(d,i)}toString(){if(V)return this.toBigInt().toString();if(this.isNegative()){let i=this.negate();return"-"+v.int64toString(i.lo,i.hi)}return v.int64toString(this.lo,this.hi)}toBigInt(){assertBi(V);V.V.setInt32(0,this.lo,true);V.V.setInt32(4,this.hi,true);return V.V.getBigInt64(0,true)}}d.PbLong=PbLong;PbLong.ZERO=new PbLong(0,0)},58950:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.utf8read=void 0;const fromCharCodes=i=>String.fromCharCode.apply(String,i);function utf8read(i){if(i.length<1)return"";let d=0,p=[],v=[],V=0,K;let ee=i.length;while(d191&&K<224)v[V++]=(K&31)<<6|i[d++]&63;else if(K>239&&K<365){K=((K&7)<<18|(i[d++]&63)<<12|(i[d++]&63)<<6|i[d++]&63)-65536;v[V++]=55296+(K>>10);v[V++]=56320+(K&1023)}else v[V++]=(K&15)<<12|(i[d++]&63)<<6|i[d++]&63;if(V>8191){p.push(fromCharCodes(v));V=0}}if(p.length){if(V)p.push(fromCharCodes(v.slice(0,V)));return p.join("")}return fromCharCodes(v.slice(0,V))}d.utf8read=utf8read},89611:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ReflectionBinaryReader=void 0;const v=p(54816);const V=p(67910);const K=p(63402);const ee=p(19526);class ReflectionBinaryReader{constructor(i){this.info=i}prepare(){var i;if(!this.fieldNoToField){const d=(i=this.info.fields)!==null&&i!==void 0?i:[];this.fieldNoToField=new Map(d.map((i=>[i.no,i])))}}read(i,d,p,K){this.prepare();const ee=K===undefined?i.len:i.pos+K;while(i.pos{Object.defineProperty(d,"__esModule",{value:true});d.ReflectionBinaryWriter=void 0;const v=p(54816);const V=p(67910);const K=p(8602);const ee=p(61753);class ReflectionBinaryWriter{constructor(i){this.info=i}prepare(){if(!this.fields){const i=this.info.fields?this.info.fields.concat():[];this.fields=i.sort(((i,d)=>i.no-d.no))}}write(i,d,p){this.prepare();for(const v of this.fields){let ee,te,re=v.repeat,ne=v.localName;if(v.oneof){const d=i[v.oneof];if(d.oneofKind!==ne)continue;ee=d[ne];te=true}else{ee=i[ne];te=false}switch(v.kind){case"scalar":case"enum":let i=v.kind=="enum"?V.ScalarType.INT32:v.T;if(re){K.assert(Array.isArray(ee));if(re==V.RepeatType.PACKED)this.packed(d,i,v.no,ee);else for(const p of ee)this.scalar(d,i,v.no,p,true)}else if(ee===undefined)K.assert(v.opt);else this.scalar(d,i,v.no,ee,te||v.opt);break;case"message":if(re){K.assert(Array.isArray(ee));for(const i of ee)this.message(d,p,v.T(),v.no,i)}else{this.message(d,p,v.T(),v.no,ee)}break;case"map":K.assert(typeof ee=="object"&&ee!==null);for(const[i,V]of Object.entries(ee))this.mapEntry(d,p,v,i,V);break}}let ee=p.writeUnknownFields;if(ee!==false)(ee===true?v.UnknownFieldHandler.onWrite:ee)(this.info.typeName,i,d)}mapEntry(i,d,p,ee,te){i.tag(p.no,v.WireType.LengthDelimited);i.fork();let re=ee;switch(p.K){case V.ScalarType.INT32:case V.ScalarType.FIXED32:case V.ScalarType.UINT32:case V.ScalarType.SFIXED32:case V.ScalarType.SINT32:re=Number.parseInt(ee);break;case V.ScalarType.BOOL:K.assert(ee=="true"||ee=="false");re=ee=="true";break}this.scalar(i,p.K,1,re,true);switch(p.V.kind){case"scalar":this.scalar(i,p.V.T,2,te,true);break;case"enum":this.scalar(i,V.ScalarType.INT32,2,te,true);break;case"message":this.message(i,d,p.V.T(),2,te);break}i.join()}message(i,d,p,V,K){if(K===undefined)return;p.internalBinaryWrite(K,i.tag(V,v.WireType.LengthDelimited).fork(),d);i.join()}scalar(i,d,p,v,V){let[K,ee,te]=this.scalarInfo(d,v);if(!te||V){i.tag(p,K);i[ee](v)}}packed(i,d,p,ee){if(!ee.length)return;K.assert(d!==V.ScalarType.BYTES&&d!==V.ScalarType.STRING);i.tag(p,v.WireType.LengthDelimited);i.fork();let[,te]=this.scalarInfo(d);for(let d=0;d{Object.defineProperty(d,"__esModule",{value:true});d.containsMessageType=void 0;const v=p(43785);function containsMessageType(i){return i[v.MESSAGE_TYPE]!=null}d.containsMessageType=containsMessageType},75726:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.reflectionCreate=void 0;const v=p(19526);const V=p(43785);function reflectionCreate(i){const d=i.messagePrototype?Object.create(i.messagePrototype):Object.defineProperty({},V.MESSAGE_TYPE,{value:i});for(let p of i.fields){let i=p.localName;if(p.opt)continue;if(p.oneof)d[p.oneof]={oneofKind:undefined};else if(p.repeat)d[i]=[];else switch(p.kind){case"scalar":d[i]=v.reflectionScalarDefault(p.T,p.L);break;case"enum":d[i]=0;break;case"map":d[i]={};break}}return d}d.reflectionCreate=reflectionCreate},4827:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.reflectionEquals=void 0;const v=p(67910);function reflectionEquals(i,d,p){if(d===p)return true;if(!d||!p)return false;for(let K of i.fields){let i=K.localName;let ee=K.oneof?d[K.oneof][i]:d[i];let te=K.oneof?p[K.oneof][i]:p[i];switch(K.kind){case"enum":case"scalar":let i=K.kind=="enum"?v.ScalarType.INT32:K.T;if(!(K.repeat?repeatedPrimitiveEq(i,ee,te):primitiveEq(i,ee,te)))return false;break;case"map":if(!(K.V.kind=="message"?repeatedMsgEq(K.V.T(),V(ee),V(te)):repeatedPrimitiveEq(K.V.kind=="enum"?v.ScalarType.INT32:K.V.T,V(ee),V(te))))return false;break;case"message":let d=K.T();if(!(K.repeat?repeatedMsgEq(d,ee,te):d.equals(ee,te)))return false;break}}return true}d.reflectionEquals=reflectionEquals;const V=Object.values;function primitiveEq(i,d,p){if(d===p)return true;if(i!==v.ScalarType.BYTES)return false;let V=d;let K=p;if(V.length!==K.length)return false;for(let i=0;i{Object.defineProperty(d,"__esModule",{value:true});d.readMessageOption=d.readFieldOption=d.readFieldOptions=d.normalizeFieldInfo=d.RepeatType=d.LongType=d.ScalarType=void 0;const v=p(4073);var V;(function(i){i[i["DOUBLE"]=1]="DOUBLE";i[i["FLOAT"]=2]="FLOAT";i[i["INT64"]=3]="INT64";i[i["UINT64"]=4]="UINT64";i[i["INT32"]=5]="INT32";i[i["FIXED64"]=6]="FIXED64";i[i["FIXED32"]=7]="FIXED32";i[i["BOOL"]=8]="BOOL";i[i["STRING"]=9]="STRING";i[i["BYTES"]=12]="BYTES";i[i["UINT32"]=13]="UINT32";i[i["SFIXED32"]=15]="SFIXED32";i[i["SFIXED64"]=16]="SFIXED64";i[i["SINT32"]=17]="SINT32";i[i["SINT64"]=18]="SINT64"})(V=d.ScalarType||(d.ScalarType={}));var K;(function(i){i[i["BIGINT"]=0]="BIGINT";i[i["STRING"]=1]="STRING";i[i["NUMBER"]=2]="NUMBER"})(K=d.LongType||(d.LongType={}));var ee;(function(i){i[i["NO"]=0]="NO";i[i["PACKED"]=1]="PACKED";i[i["UNPACKED"]=2]="UNPACKED"})(ee=d.RepeatType||(d.RepeatType={}));function normalizeFieldInfo(i){var d,p,V,K;i.localName=(d=i.localName)!==null&&d!==void 0?d:v.lowerCamelCase(i.name);i.jsonName=(p=i.jsonName)!==null&&p!==void 0?p:v.lowerCamelCase(i.name);i.repeat=(V=i.repeat)!==null&&V!==void 0?V:ee.NO;i.opt=(K=i.opt)!==null&&K!==void 0?K:i.repeat?false:i.oneof?false:i.kind=="message";return i}d.normalizeFieldInfo=normalizeFieldInfo;function readFieldOptions(i,d,p,v){var V;const K=(V=i.fields.find(((i,p)=>i.localName==d||p==d)))===null||V===void 0?void 0:V.options;return K&&K[p]?v.fromJson(K[p]):undefined}d.readFieldOptions=readFieldOptions;function readFieldOption(i,d,p,v){var V;const K=(V=i.fields.find(((i,p)=>i.localName==d||p==d)))===null||V===void 0?void 0:V.options;if(!K){return undefined}const ee=K[p];if(ee===undefined){return ee}return v?v.fromJson(ee):ee}d.readFieldOption=readFieldOption;function readMessageOption(i,d,p){const v=i.options;const V=v[d];if(V===undefined){return V}return p?p.fromJson(V):V}d.readMessageOption=readMessageOption},46790:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ReflectionJsonReader=void 0;const v=p(49999);const V=p(26335);const K=p(67910);const ee=p(61753);const te=p(8602);const re=p(63402);class ReflectionJsonReader{constructor(i){this.info=i}prepare(){var i;if(this.fMap===undefined){this.fMap={};const d=(i=this.info.fields)!==null&&i!==void 0?i:[];for(const i of d){this.fMap[i.name]=i;this.fMap[i.jsonName]=i;this.fMap[i.localName]=i}}}assert(i,d,p){if(!i){let i=v.typeofJsonValue(p);if(i=="number"||i=="boolean")i=p.toString();throw new Error(`Cannot parse JSON ${i} for ${this.info.typeName}#${d}`)}}read(i,d,p){this.prepare();const V=[];for(const[ee,te]of Object.entries(i)){const i=this.fMap[ee];if(!i){if(!p.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${ee}`);continue}const re=i.localName;let ne;if(i.oneof){if(te===null&&(i.kind!=="enum"||i.T()[0]!=="google.protobuf.NullValue")){continue}if(V.includes(i.oneof))throw new Error(`Multiple members of the oneof group "${i.oneof}" of ${this.info.typeName} are present in JSON.`);V.push(i.oneof);ne=d[i.oneof]={oneofKind:re}}else{ne=d}if(i.kind=="map"){if(te===null){continue}this.assert(v.isJsonObject(te),i.name,te);const d=ne[re];for(const[v,V]of Object.entries(te)){this.assert(V!==null,i.name+" map value",null);let ee;switch(i.V.kind){case"message":ee=i.V.T().internalJsonRead(V,p);break;case"enum":ee=this.enum(i.V.T(),V,i.name,p.ignoreUnknownFields);if(ee===false)continue;break;case"scalar":ee=this.scalar(V,i.V.T,i.V.L,i.name);break}this.assert(ee!==undefined,i.name+" map value",V);let te=v;if(i.K==K.ScalarType.BOOL)te=te=="true"?true:te=="false"?false:te;te=this.scalar(te,i.K,K.LongType.STRING,i.name).toString();d[te]=ee}}else if(i.repeat){if(te===null)continue;this.assert(Array.isArray(te),i.name,te);const d=ne[re];for(const v of te){this.assert(v!==null,i.name,null);let V;switch(i.kind){case"message":V=i.T().internalJsonRead(v,p);break;case"enum":V=this.enum(i.T(),v,i.name,p.ignoreUnknownFields);if(V===false)continue;break;case"scalar":V=this.scalar(v,i.T,i.L,i.name);break}this.assert(V!==undefined,i.name,te);d.push(V)}}else{switch(i.kind){case"message":if(te===null&&i.T().typeName!="google.protobuf.Value"){this.assert(i.oneof===undefined,i.name+" (oneof member)",null);continue}ne[re]=i.T().internalJsonRead(te,p,ne[re]);break;case"enum":let d=this.enum(i.T(),te,i.name,p.ignoreUnknownFields);if(d===false)continue;ne[re]=d;break;case"scalar":ne[re]=this.scalar(te,i.T,i.L,i.name);break}}}}enum(i,d,p,v){if(i[0]=="google.protobuf.NullValue")te.assert(d===null||d==="NULL_VALUE",`Unable to parse field ${this.info.typeName}#${p}, enum ${i[0]} only accepts null.`);if(d===null)return 0;switch(typeof d){case"number":te.assert(Number.isInteger(d),`Unable to parse field ${this.info.typeName}#${p}, enum can only be integral number, got ${d}.`);return d;case"string":let V=d;if(i[2]&&d.substring(0,i[2].length)===i[2])V=d.substring(i[2].length);let K=i[1][V];if(typeof K==="undefined"&&v){return false}te.assert(typeof K=="number",`Unable to parse field ${this.info.typeName}#${p}, enum ${i[0]} has no value for "${d}".`);return K}te.assert(false,`Unable to parse field ${this.info.typeName}#${p}, cannot parse enum value from ${typeof d}".`)}scalar(i,d,p,v){let ne;try{switch(d){case K.ScalarType.DOUBLE:case K.ScalarType.FLOAT:if(i===null)return 0;if(i==="NaN")return Number.NaN;if(i==="Infinity")return Number.POSITIVE_INFINITY;if(i==="-Infinity")return Number.NEGATIVE_INFINITY;if(i===""){ne="empty string";break}if(typeof i=="string"&&i.trim().length!==i.length){ne="extra whitespace";break}if(typeof i!="string"&&typeof i!="number"){break}let v=Number(i);if(Number.isNaN(v)){ne="not a number";break}if(!Number.isFinite(v)){ne="too large or small";break}if(d==K.ScalarType.FLOAT)te.assertFloat32(v);return v;case K.ScalarType.INT32:case K.ScalarType.FIXED32:case K.ScalarType.SFIXED32:case K.ScalarType.SINT32:case K.ScalarType.UINT32:if(i===null)return 0;let ie;if(typeof i=="number")ie=i;else if(i==="")ne="empty string";else if(typeof i=="string"){if(i.trim().length!==i.length)ne="extra whitespace";else ie=Number(i)}if(ie===undefined)break;if(d==K.ScalarType.UINT32)te.assertUInt32(ie);else te.assertInt32(ie);return ie;case K.ScalarType.INT64:case K.ScalarType.SFIXED64:case K.ScalarType.SINT64:if(i===null)return re.reflectionLongConvert(ee.PbLong.ZERO,p);if(typeof i!="number"&&typeof i!="string")break;return re.reflectionLongConvert(ee.PbLong.from(i),p);case K.ScalarType.FIXED64:case K.ScalarType.UINT64:if(i===null)return re.reflectionLongConvert(ee.PbULong.ZERO,p);if(typeof i!="number"&&typeof i!="string")break;return re.reflectionLongConvert(ee.PbULong.from(i),p);case K.ScalarType.BOOL:if(i===null)return false;if(typeof i!=="boolean")break;return i;case K.ScalarType.STRING:if(i===null)return"";if(typeof i!=="string"){ne="extra whitespace";break}try{encodeURIComponent(i)}catch(ne){ne="invalid UTF8";break}return i;case K.ScalarType.BYTES:if(i===null||i==="")return new Uint8Array(0);if(typeof i!=="string")break;return V.base64decode(i)}}catch(i){ne=i.message}this.assert(false,v+(ne?" - "+ne:""),i)}}d.ReflectionJsonReader=ReflectionJsonReader},11094:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ReflectionJsonWriter=void 0;const v=p(26335);const V=p(61753);const K=p(67910);const ee=p(8602);class ReflectionJsonWriter{constructor(i){var d;this.fields=(d=i.fields)!==null&&d!==void 0?d:[]}write(i,d){const p={},v=i;for(const i of this.fields){if(!i.oneof){let V=this.field(i,v[i.localName],d);if(V!==undefined)p[d.useProtoFieldName?i.name:i.jsonName]=V;continue}const V=v[i.oneof];if(V.oneofKind!==i.localName)continue;const K=i.kind=="scalar"||i.kind=="enum"?Object.assign(Object.assign({},d),{emitDefaultValues:true}):d;let te=this.field(i,V[i.localName],K);ee.assert(te!==undefined);p[d.useProtoFieldName?i.name:i.jsonName]=te}return p}field(i,d,p){let v=undefined;if(i.kind=="map"){ee.assert(typeof d=="object"&&d!==null);const V={};switch(i.V.kind){case"scalar":for(const[p,v]of Object.entries(d)){const d=this.scalar(i.V.T,v,i.name,false,true);ee.assert(d!==undefined);V[p.toString()]=d}break;case"message":const v=i.V.T();for(const[K,te]of Object.entries(d)){const d=this.message(v,te,i.name,p);ee.assert(d!==undefined);V[K.toString()]=d}break;case"enum":const K=i.V.T();for(const[v,te]of Object.entries(d)){ee.assert(te===undefined||typeof te=="number");const d=this.enum(K,te,i.name,false,true,p.enumAsInteger);ee.assert(d!==undefined);V[v.toString()]=d}break}if(p.emitDefaultValues||Object.keys(V).length>0)v=V}else if(i.repeat){ee.assert(Array.isArray(d));const V=[];switch(i.kind){case"scalar":for(let p=0;p0||p.emitDefaultValues)v=V}else{switch(i.kind){case"scalar":v=this.scalar(i.T,d,i.name,i.opt,p.emitDefaultValues);break;case"enum":v=this.enum(i.T(),d,i.name,i.opt,p.emitDefaultValues,p.enumAsInteger);break;case"message":v=this.message(i.T(),d,i.name,p);break}}return v}enum(i,d,p,v,V,K){if(i[0]=="google.protobuf.NullValue")return!V&&!v?undefined:null;if(d===undefined){ee.assert(v);return undefined}if(d===0&&!V&&!v)return undefined;ee.assert(typeof d=="number");ee.assert(Number.isInteger(d));if(K||!i[1].hasOwnProperty(d))return d;if(i[2])return i[2]+i[1][d];return i[1][d]}message(i,d,p,v){if(d===undefined)return v.emitDefaultValues?null:undefined;return i.internalJsonWrite(d,v)}scalar(i,d,p,te,re){if(d===undefined){ee.assert(te);return undefined}const ne=re||te;switch(i){case K.ScalarType.INT32:case K.ScalarType.SFIXED32:case K.ScalarType.SINT32:if(d===0)return ne?0:undefined;ee.assertInt32(d);return d;case K.ScalarType.FIXED32:case K.ScalarType.UINT32:if(d===0)return ne?0:undefined;ee.assertUInt32(d);return d;case K.ScalarType.FLOAT:ee.assertFloat32(d);case K.ScalarType.DOUBLE:if(d===0)return ne?0:undefined;ee.assert(typeof d=="number");if(Number.isNaN(d))return"NaN";if(d===Number.POSITIVE_INFINITY)return"Infinity";if(d===Number.NEGATIVE_INFINITY)return"-Infinity";return d;case K.ScalarType.STRING:if(d==="")return ne?"":undefined;ee.assert(typeof d=="string");return d;case K.ScalarType.BOOL:if(d===false)return ne?false:undefined;ee.assert(typeof d=="boolean");return d;case K.ScalarType.UINT64:case K.ScalarType.FIXED64:ee.assert(typeof d=="number"||typeof d=="string"||typeof d=="bigint");let i=V.PbULong.from(d);if(i.isZero()&&!ne)return undefined;return i.toString();case K.ScalarType.INT64:case K.ScalarType.SFIXED64:case K.ScalarType.SINT64:ee.assert(typeof d=="number"||typeof d=="string"||typeof d=="bigint");let p=V.PbLong.from(d);if(p.isZero()&&!ne)return undefined;return p.toString();case K.ScalarType.BYTES:ee.assert(d instanceof Uint8Array);if(!d.byteLength)return ne?"":undefined;return v.base64encode(d)}}}d.ReflectionJsonWriter=ReflectionJsonWriter},63402:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.reflectionLongConvert=void 0;const v=p(67910);function reflectionLongConvert(i,d){switch(d){case v.LongType.BIGINT:return i.toBigInt();case v.LongType.NUMBER:return i.toNumber();default:return i.toString()}}d.reflectionLongConvert=reflectionLongConvert},98044:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.reflectionMergePartial=void 0;function reflectionMergePartial(i,d,p){let v,V=p,K;for(let p of i.fields){let i=p.localName;if(p.oneof){const ee=V[p.oneof];if((ee===null||ee===void 0?void 0:ee.oneofKind)==undefined){continue}v=ee[i];K=d[p.oneof];K.oneofKind=ee.oneofKind;if(v==undefined){delete K[i];continue}}else{v=V[i];K=d;if(v==undefined){continue}}if(p.repeat)K[i].length=v.length;switch(p.kind){case"scalar":case"enum":if(p.repeat)for(let d=0;d{Object.defineProperty(d,"__esModule",{value:true});d.reflectionScalarDefault=void 0;const v=p(67910);const V=p(63402);const K=p(61753);function reflectionScalarDefault(i,d=v.LongType.STRING){switch(i){case v.ScalarType.BOOL:return false;case v.ScalarType.UINT64:case v.ScalarType.FIXED64:return V.reflectionLongConvert(K.PbULong.ZERO,d);case v.ScalarType.INT64:case v.ScalarType.SFIXED64:case v.ScalarType.SINT64:return V.reflectionLongConvert(K.PbLong.ZERO,d);case v.ScalarType.DOUBLE:case v.ScalarType.FLOAT:return 0;case v.ScalarType.BYTES:return new Uint8Array(0);case v.ScalarType.STRING:return"";default:return 0}}d.reflectionScalarDefault=reflectionScalarDefault},25167:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ReflectionTypeCheck=void 0;const v=p(67910);const V=p(18063);class ReflectionTypeCheck{constructor(i){var d;this.fields=(d=i.fields)!==null&&d!==void 0?d:[]}prepare(){if(this.data)return;const i=[],d=[],p=[];for(let v of this.fields){if(v.oneof){if(!p.includes(v.oneof)){p.push(v.oneof);i.push(v.oneof);d.push(v.oneof)}}else{d.push(v.localName);switch(v.kind){case"scalar":case"enum":if(!v.opt||v.repeat)i.push(v.localName);break;case"message":if(v.repeat)i.push(v.localName);break;case"map":i.push(v.localName);break}}}this.data={req:i,known:d,oneofs:Object.values(p)}}is(i,d,p=false){if(d<0)return true;if(i===null||i===undefined||typeof i!="object")return false;this.prepare();let v=Object.keys(i),K=this.data;if(v.length!v.includes(i))))return false;if(!p){if(v.some((i=>!K.known.includes(i))))return false}if(d<1){return true}for(const v of K.oneofs){const K=i[v];if(!V.isOneofGroup(K))return false;if(K.oneofKind===undefined)continue;const ee=this.fields.find((i=>i.localName===K.oneofKind));if(!ee)return false;if(!this.field(K[K.oneofKind],ee,p,d))return false}for(const v of this.fields){if(v.oneof!==undefined)continue;if(!this.field(i[v.localName],v,p,d))return false}return true}field(i,d,p,V){let K=d.repeat;switch(d.kind){case"scalar":if(i===undefined)return d.opt;if(K)return this.scalars(i,d.T,V,d.L);return this.scalar(i,d.T,d.L);case"enum":if(i===undefined)return d.opt;if(K)return this.scalars(i,v.ScalarType.INT32,V);return this.scalar(i,v.ScalarType.INT32);case"message":if(i===undefined)return true;if(K)return this.messages(i,d.T(),p,V);return this.message(i,d.T(),p,V);case"map":if(typeof i!="object"||i===null)return false;if(V<2)return true;if(!this.mapKeys(i,d.K,V))return false;switch(d.V.kind){case"scalar":return this.scalars(Object.values(i),d.V.T,V,d.V.L);case"enum":return this.scalars(Object.values(i),v.ScalarType.INT32,V);case"message":return this.messages(Object.values(i),d.V.T(),p,V)}break}return true}message(i,d,p,v){if(p){return d.isAssignable(i,v)}return d.is(i,v)}messages(i,d,p,v){if(!Array.isArray(i))return false;if(v<2)return true;if(p){for(let p=0;pparseInt(i))),d,p);case v.ScalarType.BOOL:return this.scalars(V.slice(0,p).map((i=>i=="true"?true:i=="false"?false:i)),d,p);default:return this.scalars(V,d,p,v.LongType.STRING)}}}d.ReflectionTypeCheck=ReflectionTypeCheck},39316:(i,d,p)=>{var v=p(56716);var V=p(76324);var K=p(79674);const ee="AWS_USE_DUALSTACK_ENDPOINT";const te="use_dualstack_endpoint";const re=false;const ne={environmentVariableSelector:i=>v.booleanSelector(i,ee,v.SelectorType.ENV),configFileSelector:i=>v.booleanSelector(i,te,v.SelectorType.CONFIG),default:false};const ie="AWS_USE_FIPS_ENDPOINT";const se="use_fips_endpoint";const oe=false;const ae={environmentVariableSelector:i=>v.booleanSelector(i,ie,v.SelectorType.ENV),configFileSelector:i=>v.booleanSelector(i,se,v.SelectorType.CONFIG),default:false};const resolveCustomEndpointsConfig=i=>{const{tls:d,endpoint:p,urlParser:v,useDualstackEndpoint:K}=i;return Object.assign(i,{tls:d??true,endpoint:V.normalizeProvider(typeof p==="string"?v(p):p),isCustomEndpoint:true,useDualstackEndpoint:V.normalizeProvider(K??false)})};const getEndpointFromRegion=async i=>{const{tls:d=true}=i;const p=await i.region();const v=new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/);if(!v.test(p)){throw new Error("Invalid region in client config")}const V=await i.useDualstackEndpoint();const K=await i.useFipsEndpoint();const{hostname:ee}=await i.regionInfoProvider(p,{useDualstackEndpoint:V,useFipsEndpoint:K})??{};if(!ee){throw new Error("Cannot resolve hostname from client config")}return i.urlParser(`${d?"https:":"http:"}//${ee}`)};const resolveEndpointsConfig=i=>{const d=V.normalizeProvider(i.useDualstackEndpoint??false);const{endpoint:p,useFipsEndpoint:v,urlParser:K,tls:ee}=i;return Object.assign(i,{tls:ee??true,endpoint:p?V.normalizeProvider(typeof p==="string"?K(p):p):()=>getEndpointFromRegion({...i,useDualstackEndpoint:d,useFipsEndpoint:v}),isCustomEndpoint:!!p,useDualstackEndpoint:d})};const ce="AWS_REGION";const le="region";const ue={environmentVariableSelector:i=>i[ce],configFileSelector:i=>i[le],default:()=>{throw new Error("Region is missing")}};const Ae={preferredFile:"credentials"};const de=new Set;const checkRegion=(i,d=K.isValidHostLabel)=>{if(!de.has(i)&&!d(i)){if(i==="*"){console.warn(`@smithy/config-resolver WARN - Please use the caller region instead of "*". See "sigv4a" in https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md.`)}else{throw new Error(`Region not accepted: region="${i}" is not a valid hostname component.`)}}else{de.add(i)}};const isFipsRegion=i=>typeof i==="string"&&(i.startsWith("fips-")||i.endsWith("-fips"));const getRealRegion=i=>isFipsRegion(i)?["fips-aws-global","aws-fips"].includes(i)?"us-east-1":i.replace(/fips-(dkr-|prod-)?|-fips/,""):i;const resolveRegionConfig=i=>{const{region:d,useFipsEndpoint:p}=i;if(!d){throw new Error("Region is missing")}return Object.assign(i,{region:async()=>{const i=typeof d==="function"?await d():d;const p=getRealRegion(i);checkRegion(p);return p},useFipsEndpoint:async()=>{const i=typeof d==="string"?d:await d();if(isFipsRegion(i)){return true}return typeof p!=="function"?Promise.resolve(!!p):p()}})};const getHostnameFromVariants=(i=[],{useFipsEndpoint:d,useDualstackEndpoint:p})=>i.find((({tags:i})=>d===i.includes("fips")&&p===i.includes("dualstack")))?.hostname;const getResolvedHostname=(i,{regionHostname:d,partitionHostname:p})=>d?d:p?p.replace("{region}",i):undefined;const getResolvedPartition=(i,{partitionHash:d})=>Object.keys(d||{}).find((p=>d[p].regions.includes(i)))??"aws";const getResolvedSigningRegion=(i,{signingRegion:d,regionRegex:p,useFipsEndpoint:v})=>{if(d){return d}else if(v){const d=p.replace("\\\\","\\").replace(/^\^/g,"\\.").replace(/\$$/g,"\\.");const v=i.match(d);if(v){return v[0].slice(1,-1)}}};const getRegionInfo=(i,{useFipsEndpoint:d=false,useDualstackEndpoint:p=false,signingService:v,regionHash:V,partitionHash:K})=>{const ee=getResolvedPartition(i,{partitionHash:K});const te=i in V?i:K[ee]?.endpoint??i;const re={useFipsEndpoint:d,useDualstackEndpoint:p};const ne=getHostnameFromVariants(V[te]?.variants,re);const ie=getHostnameFromVariants(K[ee]?.variants,re);const se=getResolvedHostname(te,{regionHostname:ne,partitionHostname:ie});if(se===undefined){throw new Error(`Endpoint resolution failed for: ${{resolvedRegion:te,useFipsEndpoint:d,useDualstackEndpoint:p}}`)}const oe=getResolvedSigningRegion(se,{signingRegion:V[te]?.signingRegion,regionRegex:K[ee].regionRegex,useFipsEndpoint:d});return{partition:ee,signingService:v,hostname:se,...oe&&{signingRegion:oe},...V[te]?.signingService&&{signingService:V[te].signingService}}};d.CONFIG_USE_DUALSTACK_ENDPOINT=te;d.CONFIG_USE_FIPS_ENDPOINT=se;d.DEFAULT_USE_DUALSTACK_ENDPOINT=re;d.DEFAULT_USE_FIPS_ENDPOINT=oe;d.ENV_USE_DUALSTACK_ENDPOINT=ee;d.ENV_USE_FIPS_ENDPOINT=ie;d.NODE_REGION_CONFIG_FILE_OPTIONS=Ae;d.NODE_REGION_CONFIG_OPTIONS=ue;d.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS=ne;d.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS=ae;d.REGION_ENV_NAME=ce;d.REGION_INI_NAME=le;d.getRegionInfo=getRegionInfo;d.resolveCustomEndpointsConfig=resolveCustomEndpointsConfig;d.resolveEndpointsConfig=resolveEndpointsConfig;d.resolveRegionConfig=resolveRegionConfig},90402:(i,d,p)=>{var v=p(90690);var V=p(76324);var K=p(83255);var ee=p(72356);var te=p(93422);const getSmithyContext=i=>i[v.SMITHY_CONTEXT_KEY]||(i[v.SMITHY_CONTEXT_KEY]={});const resolveAuthOptions=(i,d)=>{if(!d||d.length===0){return i}const p=[];for(const v of d){for(const d of i){const i=d.schemeId.split("#")[1];if(i===v){p.push(d)}}}for(const d of i){if(!p.find((({schemeId:i})=>i===d.schemeId))){p.push(d)}}return p};function convertHttpAuthSchemesToMap(i){const d=new Map;for(const p of i){d.set(p.schemeId,p)}return d}const httpAuthSchemeMiddleware=(i,d)=>(p,v)=>async K=>{const ee=i.httpAuthSchemeProvider(await d.httpAuthSchemeParametersProvider(i,v,K.input));const te=i.authSchemePreference?await i.authSchemePreference():[];const re=resolveAuthOptions(ee,te);const ne=convertHttpAuthSchemesToMap(i.httpAuthSchemes);const ie=V.getSmithyContext(v);const se=[];for(const p of re){const V=ne.get(p.schemeId);if(!V){se.push(`HttpAuthScheme \`${p.schemeId}\` was not enabled for this service.`);continue}const K=V.identityProvider(await d.identityProviderConfigProvider(i));if(!K){se.push(`HttpAuthScheme \`${p.schemeId}\` did not have an IdentityProvider configured.`);continue}const{identityProperties:ee={},signingProperties:te={}}=p.propertiesExtractor?.(i,v)||{};p.identityProperties=Object.assign(p.identityProperties||{},ee);p.signingProperties=Object.assign(p.signingProperties||{},te);ie.selectedHttpAuthScheme={httpAuthOption:p,identity:await K(p.identityProperties),signer:V.signer};break}if(!ie.selectedHttpAuthScheme){throw new Error(se.join("\n"))}return p(K)};const re={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:true,relation:"before",toMiddleware:"endpointV2Middleware"};const getHttpAuthSchemeEndpointRuleSetPlugin=(i,{httpAuthSchemeParametersProvider:d,identityProviderConfigProvider:p})=>({applyToStack:v=>{v.addRelativeTo(httpAuthSchemeMiddleware(i,{httpAuthSchemeParametersProvider:d,identityProviderConfigProvider:p}),re)}});const ne={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:true,relation:"before",toMiddleware:K.serializerMiddlewareOption.name};const getHttpAuthSchemePlugin=(i,{httpAuthSchemeParametersProvider:d,identityProviderConfigProvider:p})=>({applyToStack:v=>{v.addRelativeTo(httpAuthSchemeMiddleware(i,{httpAuthSchemeParametersProvider:d,identityProviderConfigProvider:p}),ne)}});const defaultErrorHandler=i=>i=>{throw i};const defaultSuccessHandler=(i,d)=>{};const httpSigningMiddleware=i=>(i,d)=>async p=>{if(!ee.HttpRequest.isInstance(p.request)){return i(p)}const v=V.getSmithyContext(d);const K=v.selectedHttpAuthScheme;if(!K){throw new Error(`No HttpAuthScheme was selected: unable to sign request`)}const{httpAuthOption:{signingProperties:te={}},identity:re,signer:ne}=K;const ie=await i({...p,request:await ne.sign(p.request,re,te)}).catch((ne.errorHandler||defaultErrorHandler)(te));(ne.successHandler||defaultSuccessHandler)(ie.response,te);return ie};const ie={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:true,relation:"after",toMiddleware:"retryMiddleware"};const getHttpSigningPlugin=i=>({applyToStack:i=>{i.addRelativeTo(httpSigningMiddleware(),ie)}});const normalizeProvider=i=>{if(typeof i==="function")return i;const d=Promise.resolve(i);return()=>d};const makePagedClientRequest=async(i,d,p,v=i=>i,...V)=>{let K=new i(p);K=v(K)??K;return await d.send(K,...V)};function createPaginator(i,d,p,v,V){return async function*paginateOperation(K,ee,...te){const re=ee;let ne=K.startingToken??re[p];let ie=true;let se;while(ie){re[p]=ne;if(V){re[V]=re[V]??K.pageSize}if(K.client instanceof i){se=await makePagedClientRequest(d,K.client,ee,K.withCommand,...te)}else{throw new Error(`Invalid client, expected instance of ${i.name}`)}yield se;const oe=ne;ne=get(se,v);ie=!!(ne&&(!K.stopOnSameToken||ne!==oe))}return undefined}}const get=(i,d)=>{let p=i;const v=d.split(".");for(const i of v){if(!p||typeof p!=="object"){return undefined}p=p[i]}return p};function setFeature(i,d,p){if(!i.__smithy_context){i.__smithy_context={features:{}}}else if(!i.__smithy_context.features){i.__smithy_context.features={}}i.__smithy_context.features[d]=p}class DefaultIdentityProviderConfig{authSchemes=new Map;constructor(i){for(const[d,p]of Object.entries(i)){if(p!==undefined){this.authSchemes.set(d,p)}}}getIdentityProvider(i){return this.authSchemes.get(i)}}class HttpApiKeyAuthSigner{async sign(i,d,p){if(!p){throw new Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing")}if(!p.name){throw new Error("request could not be signed with `apiKey` since the `name` signer property is missing")}if(!p.in){throw new Error("request could not be signed with `apiKey` since the `in` signer property is missing")}if(!d.apiKey){throw new Error("request could not be signed with `apiKey` since the `apiKey` is not defined")}const V=ee.HttpRequest.clone(i);if(p.in===v.HttpApiKeyAuthLocation.QUERY){V.query[p.name]=d.apiKey}else if(p.in===v.HttpApiKeyAuthLocation.HEADER){V.headers[p.name]=p.scheme?`${p.scheme} ${d.apiKey}`:d.apiKey}else{throw new Error("request can only be signed with `apiKey` locations `query` or `header`, "+"but found: `"+p.in+"`")}return V}}class HttpBearerAuthSigner{async sign(i,d,p){const v=ee.HttpRequest.clone(i);if(!d.token){throw new Error("request could not be signed with `token` since the `token` is not defined")}v.headers["Authorization"]=`Bearer ${d.token}`;return v}}class NoAuthSigner{async sign(i,d,p){return i}}const createIsIdentityExpiredFunction=i=>function isIdentityExpired(d){return doesIdentityRequireRefresh(d)&&d.expiration.getTime()-Date.now()i.expiration!==undefined;const memoizeIdentityProvider=(i,d,p)=>{if(i===undefined){return undefined}const v=typeof i!=="function"?async()=>Promise.resolve(i):i;let V;let K;let ee;let te=false;const coalesceProvider=async i=>{if(!K){K=v(i)}try{V=await K;ee=true;te=false}finally{K=undefined}return V};if(d===undefined){return async i=>{if(!ee||i?.forceRefresh){V=await coalesceProvider(i)}return V}}return async i=>{if(!ee||i?.forceRefresh){V=await coalesceProvider(i)}if(te){return V}if(!p(V)){te=true;return V}if(d(V)){await coalesceProvider(i);return V}return V}};Object.defineProperty(d,"requestBuilder",{enumerable:true,get:function(){return te.requestBuilder}});d.DefaultIdentityProviderConfig=DefaultIdentityProviderConfig;d.EXPIRATION_MS=se;d.HttpApiKeyAuthSigner=HttpApiKeyAuthSigner;d.HttpBearerAuthSigner=HttpBearerAuthSigner;d.NoAuthSigner=NoAuthSigner;d.createIsIdentityExpiredFunction=createIsIdentityExpiredFunction;d.createPaginator=createPaginator;d.doesIdentityRequireRefresh=doesIdentityRequireRefresh;d.getHttpAuthSchemeEndpointRuleSetPlugin=getHttpAuthSchemeEndpointRuleSetPlugin;d.getHttpAuthSchemePlugin=getHttpAuthSchemePlugin;d.getHttpSigningPlugin=getHttpSigningPlugin;d.getSmithyContext=getSmithyContext;d.httpAuthSchemeEndpointRuleSetMiddlewareOptions=re;d.httpAuthSchemeMiddleware=httpAuthSchemeMiddleware;d.httpAuthSchemeMiddlewareOptions=ne;d.httpSigningMiddleware=httpSigningMiddleware;d.httpSigningMiddlewareOptions=ie;d.isIdentityExpired=oe;d.memoizeIdentityProvider=memoizeIdentityProvider;d.normalizeProvider=normalizeProvider;d.setFeature=setFeature},64645:(i,d,p)=>{var v=p(92430);var V=p(71577);var K=p(93422);var ee=p(72356);var te=p(12098);var re=p(26890);var ne=p(76324);var ie=p(68385);const se=0;const oe=1;const ae=2;const ce=3;const le=4;const ue=5;const Ae=6;const de=7;const pe=20;const fe=21;const he=22;const ge=23;const me=24;const Ee=25;const ye=26;const Ce=27;const be=31;function alloc(i){return typeof Buffer!=="undefined"?Buffer.alloc(i):new Uint8Array(i)}const Ie=Symbol("@smithy/core/cbor::tagSymbol");function tag(i){i[Ie]=true;return i}const Be=typeof TextDecoder!=="undefined";const we=typeof Buffer!=="undefined";let Se=alloc(0);let Qe=new DataView(Se.buffer,Se.byteOffset,Se.byteLength);const ve=Be?new TextDecoder:null;let Re=0;function setPayload(i){Se=i;Qe=new DataView(Se.buffer,Se.byteOffset,Se.byteLength)}function decode(i,d){if(i>=d){throw new Error("unexpected end of (decode) payload.")}const p=(Se[i]&224)>>5;const V=Se[i]&31;switch(p){case se:case oe:case Ae:let K;let ee;if(V<24){K=V;ee=1}else{switch(V){case me:case Ee:case ye:case Ce:const p=Te[V];const v=p+1;ee=v;if(d-i>7;const v=(i&124)>>2;const V=(i&3)<<8|d;const K=p===0?1:-1;let ee;let te;if(v===0){if(V===0){return 0}else{ee=Math.pow(2,1-15);te=0}}else if(v===31){if(V===0){return K*Infinity}else{return NaN}}else{ee=Math.pow(2,v-15);te=1}te+=V/1024;return K*(ee*te)}function decodeCount(i,d){const p=Se[i]&31;if(p<24){Re=1;return p}if(p===me||p===Ee||p===ye||p===Ce){const v=Te[p];Re=v+1;if(d-i>5;const K=Se[i]&31;if(V!==ce){throw new Error(`unexpected major type ${V} in indefinite string.`)}if(K===be){throw new Error("nested indefinite string.")}const ee=decodeUnstructuredByteString(i,d);const te=Re;i+=te;for(let i=0;i>5;const K=Se[i]&31;if(V!==ae){throw new Error(`unexpected major type ${V} in indefinite string.`)}if(K===be){throw new Error("nested indefinite string.")}const ee=decodeUnstructuredByteString(i,d);const te=Re;i+=te;for(let i=0;i=d){throw new Error("unexpected end of map payload.")}const p=(Se[i]&224)>>5;if(p!==ce){throw new Error(`unexpected major type ${p} for map key at index ${i}.`)}const v=decode(i,d);i+=Re;const V=decode(i,d);i+=Re;K[v]=V}Re=v+(i-V);return K}function decodeMapIndefinite(i,d){i+=1;const p=i;const v={};for(;i=d){throw new Error("unexpected end of map payload.")}if(Se[i]===255){Re=i-p+2;return v}const V=(Se[i]&224)>>5;if(V!==ce){throw new Error(`unexpected major type ${V} for map key.`)}const K=decode(i,d);i+=Re;const ee=decode(i,d);i+=Re;v[K]=ee}throw new Error("expected break marker.")}function decodeSpecial(i,d){const p=Se[i]&31;switch(p){case fe:case pe:Re=1;return p===fe;case he:Re=1;return null;case ge:Re=1;return null;case Ee:if(d-i<3){throw new Error("incomplete float16 at end of buf.")}Re=3;return bytesToFloat16(Se[i+1],Se[i+2]);case ye:if(d-i<5){throw new Error("incomplete float32 at end of buf.")}Re=5;return Qe.getFloat32(i+1);case Ce:if(d-i<9){throw new Error("incomplete float64 at end of buf.")}Re=9;return Qe.getFloat64(i+1);default:throw new Error(`unexpected minor value ${p}.`)}}function castBigInt(i){if(typeof i==="number"){return i}const d=Number(i);if(Number.MIN_SAFE_INTEGER<=d&&d<=Number.MAX_SAFE_INTEGER){return d}return i}const Ne=typeof Buffer!=="undefined";const ke=2048;let De=alloc(ke);let xe=new DataView(De.buffer,De.byteOffset,De.byteLength);let _e=0;function ensureSpace(i){const d=De.byteLength-_e;if(d=0;const p=d?se:oe;const v=d?i:-i-1;if(v<24){De[_e++]=p<<5|v}else if(v<256){De[_e++]=p<<5|24;De[_e++]=v}else if(v<65536){De[_e++]=p<<5|Ee;De[_e++]=v>>8;De[_e++]=v}else if(v<4294967296){De[_e++]=p<<5|ye;xe.setUint32(_e,v);_e+=4}else{De[_e++]=p<<5|Ce;xe.setBigUint64(_e,BigInt(v));_e+=8}continue}De[_e++]=de<<5|Ce;xe.setFloat64(_e,i);_e+=8;continue}else if(typeof i==="bigint"){const d=i>=0;const p=d?se:oe;const v=d?i:-i-BigInt(1);const V=Number(v);if(V<24){De[_e++]=p<<5|V}else if(V<256){De[_e++]=p<<5|24;De[_e++]=V}else if(V<65536){De[_e++]=p<<5|Ee;De[_e++]=V>>8;De[_e++]=V&255}else if(V<4294967296){De[_e++]=p<<5|ye;xe.setUint32(_e,V);_e+=4}else if(v=0){p[p.byteLength-K]=Number(V&BigInt(255));V>>=BigInt(8)}ensureSpace(p.byteLength*2);De[_e++]=d?194:195;if(Ne){encodeHeader(ae,Buffer.byteLength(p))}else{encodeHeader(ae,p.byteLength)}De.set(p,_e);_e+=p.byteLength}continue}else if(i===null){De[_e++]=de<<5|he;continue}else if(typeof i==="boolean"){De[_e++]=de<<5|(i?fe:pe);continue}else if(typeof i==="undefined"){throw new Error("@smithy/core/cbor: client may not serialize undefined value.")}else if(Array.isArray(i)){for(let p=i.length-1;p>=0;--p){d.push(i[p])}encodeHeader(le,i.length);continue}else if(typeof i.byteLength==="number"){ensureSpace(i.length*2);encodeHeader(ae,i.length);De.set(i,_e);_e+=i.byteLength;continue}else if(typeof i==="object"){if(i instanceof v.NumericValue){const p=i.string.indexOf(".");const v=p===-1?0:p-i.string.length+1;const V=BigInt(i.string.replace(".",""));De[_e++]=196;d.push(V);d.push(v);encodeHeader(le,2);continue}if(i[Ie]){if("tag"in i&&"value"in i){d.push(i.value);encodeHeader(Ae,i.tag);continue}else{throw new Error("tag encountered with missing fields, need 'tag' and 'value', found: "+JSON.stringify(i))}}const p=Object.keys(i);for(let v=p.length-1;v>=0;--v){const V=p[v];d.push(i[V]);d.push(V)}encodeHeader(ue,p.length);continue}throw new Error(`data type ${i?.constructor?.name??typeof i} not compatible for encoding.`)}}const Pe={deserialize(i){setPayload(i);return decode(0,i.length)},serialize(i){try{encode(i);return toUint8Array()}catch(i){toUint8Array();throw i}},resizeEncodingBuffer(i){resize(i)}};const parseCborBody=(i,d)=>K.collectBody(i,d).then((async i=>{if(i.length){try{return Pe.deserialize(i)}catch(p){Object.defineProperty(p,"$responseBodyText",{value:d.utf8Encoder(i)});throw p}}return{}}));const dateToTag=i=>tag({tag:1,value:i.getTime()/1e3});const parseCborErrorBody=async(i,d)=>{const p=await parseCborBody(i,d);p.message=p.message??p.Message;return p};const loadSmithyRpcV2CborErrorCode=(i,d)=>{const sanitizeErrorCode=i=>{let d=i;if(typeof d==="number"){d=d.toString()}if(d.indexOf(",")>=0){d=d.split(",")[0]}if(d.indexOf(":")>=0){d=d.split(":")[0]}if(d.indexOf("#")>=0){d=d.split("#")[1]}return d};if(d["__type"]!==undefined){return sanitizeErrorCode(d["__type"])}const p=Object.keys(d).find((i=>i.toLowerCase()==="code"));if(p&&d[p]!==undefined){return sanitizeErrorCode(d[p])}};const checkCborResponse=i=>{if(String(i.headers["smithy-protocol"]).toLowerCase()!=="rpc-v2-cbor"){throw new Error("Malformed RPCv2 CBOR response, status: "+i.statusCode)}};const buildHttpRpcRequest=async(i,d,p,v,V)=>{const{hostname:K,protocol:re="https",port:ne,path:ie}=await i.endpoint();const se={protocol:re,hostname:K,port:ne,method:"POST",path:ie.endsWith("/")?ie.slice(0,-1)+p:ie+p,headers:{...d}};if(v!==undefined){se.hostname=v}if(V!==undefined){se.body=V;try{se.headers["content-length"]=String(te.calculateBodyLength(V))}catch(i){}}return new ee.HttpRequest(se)};class CborCodec extends K.SerdeContext{createSerializer(){const i=new CborShapeSerializer;i.setSerdeContext(this.serdeContext);return i}createDeserializer(){const i=new CborShapeDeserializer;i.setSerdeContext(this.serdeContext);return i}}class CborShapeSerializer extends K.SerdeContext{value;write(i,d){this.value=this.serialize(i,d)}serialize(i,d){const p=re.NormalizedSchema.of(i);if(d==null){if(p.isIdempotencyToken()){return v.generateIdempotencyToken()}return d}if(p.isBlobSchema()){if(typeof d==="string"){return(this.serdeContext?.base64Decoder??ie.fromBase64)(d)}return d}if(p.isTimestampSchema()){if(typeof d==="number"||typeof d==="bigint"){return dateToTag(new Date(Number(d)/1e3|0))}return dateToTag(d)}if(typeof d==="function"||typeof d==="object"){const i=d;if(p.isListSchema()&&Array.isArray(i)){const d=!!p.getMergedTraits().sparse;const v=[];let V=0;for(const K of i){const i=this.serialize(p.getValueSchema(),K);if(i!=null||d){v[V++]=i}}return v}if(i instanceof Date){return dateToTag(i)}const v={};if(p.isMapSchema()){const d=!!p.getMergedTraits().sparse;for(const V of Object.keys(i)){const K=this.serialize(p.getValueSchema(),i[V]);if(K!=null||d){v[V]=K}}}else if(p.isStructSchema()){for(const[d,V]of p.structIterator()){const p=this.serialize(V,i[d]);if(p!=null){v[d]=p}}const d=p.isUnionSchema();if(d&&Array.isArray(i.$unknown)){const[d,p]=i.$unknown;v[d]=p}else if(typeof i.__type==="string"){for(const[d,p]of Object.entries(i)){if(!(d in v)){v[d]=this.serialize(15,p)}}}}else if(p.isDocumentSchema()){for(const d of Object.keys(i)){v[d]=this.serialize(p.getValueSchema(),i[d])}}else if(p.isBigDecimalSchema()){return i}return v}return d}flush(){const i=Pe.serialize(this.value);this.value=undefined;return i}}class CborShapeDeserializer extends K.SerdeContext{read(i,d){const p=Pe.deserialize(d);return this.readValue(i,p)}readValue(i,d){const p=re.NormalizedSchema.of(i);if(p.isTimestampSchema()){if(typeof d==="number"){return v._parseEpochTimestamp(d)}if(typeof d==="object"){if(d.tag===1&&"value"in d){return v._parseEpochTimestamp(d.value)}}}if(p.isBlobSchema()){if(typeof d==="string"){return(this.serdeContext?.base64Decoder??ie.fromBase64)(d)}return d}if(typeof d==="undefined"||typeof d==="boolean"||typeof d==="number"||typeof d==="string"||typeof d==="bigint"||typeof d==="symbol"){return d}else if(typeof d==="object"){if(d===null){return null}if("byteLength"in d){return d}if(d instanceof Date){return d}if(p.isDocumentSchema()){return d}if(p.isListSchema()){const i=[];const v=p.getValueSchema();const V=!!p.getMergedTraits().sparse;for(const p of d){const d=this.readValue(v,p);if(d!=null||V){i.push(d)}}return i}const i={};if(p.isMapSchema()){const v=!!p.getMergedTraits().sparse;const V=p.getValueSchema();for(const p of Object.keys(d)){const K=this.readValue(V,d[p]);if(K!=null||v){i[p]=K}}}else if(p.isStructSchema()){const v=p.isUnionSchema();let V;if(v){V=new Set(Object.keys(d).filter((i=>i!=="__type")))}for(const[K,ee]of p.structIterator()){if(v){V.delete(K)}if(d[K]!=null){i[K]=this.readValue(ee,d[K])}}if(v&&V?.size===1&&Object.keys(i).length===0){const p=V.values().next().value;i.$unknown=[p,d[p]]}else if(typeof d.__type==="string"){for(const[p,v]of Object.entries(d)){if(!(p in i)){i[p]=v}}}}else if(d instanceof v.NumericValue){return d}return i}else{return d}}}class SmithyRpcV2CborProtocol extends K.RpcProtocol{codec=new CborCodec;serializer=this.codec.createSerializer();deserializer=this.codec.createDeserializer();constructor({defaultNamespace:i}){super({defaultNamespace:i})}getShapeId(){return"smithy.protocols#rpcv2Cbor"}getPayloadCodec(){return this.codec}async serializeRequest(i,d,p){const v=await super.serializeRequest(i,d,p);Object.assign(v.headers,{"content-type":this.getDefaultContentType(),"smithy-protocol":"rpc-v2-cbor",accept:this.getDefaultContentType()});if(re.deref(i.input)==="unit"){delete v.body;delete v.headers["content-type"]}else{if(!v.body){this.serializer.write(15,{});v.body=this.serializer.flush()}try{v.headers["content-length"]=String(v.body.byteLength)}catch(i){}}const{service:V,operation:K}=ne.getSmithyContext(p);const ee=`/service/${V}/operation/${K}`;if(v.path.endsWith("/")){v.path+=ee.slice(1)}else{v.path+=ee}return v}async deserializeResponse(i,d,p){return super.deserializeResponse(i,d,p)}async handleError(i,d,p,v,V){const K=loadSmithyRpcV2CborErrorCode(p,v)??"Unknown";let ee=this.options.defaultNamespace;if(K.includes("#")){[ee]=K.split("#")}const te={$metadata:V,$fault:p.statusCode<=500?"client":"server"};const ne=re.TypeRegistry.for(ee);let ie;try{ie=ne.getSchema(K)}catch(i){if(v.Message){v.message=v.Message}const d=re.TypeRegistry.for("smithy.ts.sdk.synthetic."+ee);const p=d.getBaseException();if(p){const i=d.getErrorCtor(p);throw Object.assign(new i({name:K}),te,v)}throw Object.assign(new Error(K),te,v)}const se=re.NormalizedSchema.of(ie);const oe=ne.getErrorCtor(ie);const ae=v.message??v.Message??"Unknown";const ce=new oe(ae);const le={};for(const[i,d]of se.structIterator()){le[i]=this.deserializer.readValue(d,v[i])}throw Object.assign(ce,te,{$fault:se.getMergedTraits().error,message:ae},le)}getDefaultContentType(){return"application/cbor"}}d.CborCodec=CborCodec;d.CborShapeDeserializer=CborShapeDeserializer;d.CborShapeSerializer=CborShapeSerializer;d.SmithyRpcV2CborProtocol=SmithyRpcV2CborProtocol;d.buildHttpRpcRequest=buildHttpRpcRequest;d.cbor=Pe;d.checkCborResponse=checkCborResponse;d.dateToTag=dateToTag;d.loadSmithyRpcV2CborErrorCode=loadSmithyRpcV2CborErrorCode;d.parseCborBody=parseCborBody;d.parseCborErrorBody=parseCborErrorBody;d.tag=tag;d.tagSymbol=Ie},93422:(i,d,p)=>{var v=p(4252);var V=p(26890);var K=p(92430);var ee=p(72356);var te=p(68385);var re=p(71577);const collectBody=async(i=new Uint8Array,d)=>{if(i instanceof Uint8Array){return v.Uint8ArrayBlobAdapter.mutate(i)}if(!i){return v.Uint8ArrayBlobAdapter.mutate(new Uint8Array)}const p=d.streamCollector(i);return v.Uint8ArrayBlobAdapter.mutate(await p)};function extendedEncodeURIComponent(i){return encodeURIComponent(i).replace(/[!'()*]/g,(function(i){return"%"+i.charCodeAt(0).toString(16).toUpperCase()}))}class SerdeContext{serdeContext;setSerdeContext(i){this.serdeContext=i}}class HttpProtocol extends SerdeContext{options;constructor(i){super();this.options=i}getRequestType(){return ee.HttpRequest}getResponseType(){return ee.HttpResponse}setSerdeContext(i){this.serdeContext=i;this.serializer.setSerdeContext(i);this.deserializer.setSerdeContext(i);if(this.getPayloadCodec()){this.getPayloadCodec().setSerdeContext(i)}}updateServiceEndpoint(i,d){if("url"in d){i.protocol=d.url.protocol;i.hostname=d.url.hostname;i.port=d.url.port?Number(d.url.port):undefined;i.path=d.url.pathname;i.fragment=d.url.hash||void 0;i.username=d.url.username||void 0;i.password=d.url.password||void 0;if(!i.query){i.query={}}for(const[p,v]of d.url.searchParams.entries()){i.query[p]=v}return i}else{i.protocol=d.protocol;i.hostname=d.hostname;i.port=d.port?Number(d.port):undefined;i.path=d.path;i.query={...d.query};return i}}setHostPrefix(i,d,p){if(this.serdeContext?.disableHostPrefix){return}const v=V.NormalizedSchema.of(d.input);const K=V.translateTraits(d.traits??{});if(K.endpoint){let d=K.endpoint?.[0];if(typeof d==="string"){const V=[...v.structIterator()].filter((([,i])=>i.getMergedTraits().hostLabel));for(const[i]of V){const v=p[i];if(typeof v!=="string"){throw new Error(`@smithy/core/schema - ${i} in input must be a string as hostLabel.`)}d=d.replace(`{${i}}`,v)}i.hostname=d+i.hostname}}}deserializeMetadata(i){return{httpStatusCode:i.statusCode,requestId:i.headers["x-amzn-requestid"]??i.headers["x-amzn-request-id"]??i.headers["x-amz-request-id"],extendedRequestId:i.headers["x-amz-id-2"],cfId:i.headers["x-amz-cf-id"]}}async serializeEventStream({eventStream:i,requestSchema:d,initialRequest:p}){const v=await this.loadEventStreamCapability();return v.serializeEventStream({eventStream:i,requestSchema:d,initialRequest:p})}async deserializeEventStream({response:i,responseSchema:d,initialResponseContainer:p}){const v=await this.loadEventStreamCapability();return v.deserializeEventStream({response:i,responseSchema:d,initialResponseContainer:p})}async loadEventStreamCapability(){const{EventStreamSerde:i}=await p.e(579).then(p.t.bind(p,56579,19));return new i({marshaller:this.getEventStreamMarshaller(),serializer:this.serializer,deserializer:this.deserializer,serdeContext:this.serdeContext,defaultContentType:this.getDefaultContentType()})}getDefaultContentType(){throw new Error(`@smithy/core/protocols - ${this.constructor.name} getDefaultContentType() implementation missing.`)}async deserializeHttpMessage(i,d,p,v,V){return[]}getEventStreamMarshaller(){const i=this.serdeContext;if(!i.eventStreamMarshaller){throw new Error("@smithy/core - HttpProtocol: eventStreamMarshaller missing in serdeContext.")}return i.eventStreamMarshaller}}class HttpBindingProtocol extends HttpProtocol{async serializeRequest(i,d,p){const v={...d??{}};const K=this.serializer;const te={};const re={};const ne=await p.endpoint();const ie=V.NormalizedSchema.of(i?.input);const se=ie.getSchema();let oe=false;let ae;const ce=new ee.HttpRequest({protocol:"",hostname:"",port:undefined,path:"",fragment:undefined,query:te,headers:re,body:undefined});if(ne){this.updateServiceEndpoint(ce,ne);this.setHostPrefix(ce,i,v);const d=V.translateTraits(i.traits);if(d.http){ce.method=d.http[0];const[i,p]=d.http[1].split("?");if(ce.path=="/"){ce.path=i}else{ce.path+=i}const v=new URLSearchParams(p??"");Object.assign(te,Object.fromEntries(v))}}for(const[i,d]of ie.structIterator()){const p=d.getMergedTraits()??{};const V=v[i];if(V==null&&!d.isIdempotencyToken()){if(p.httpLabel){if(ce.path.includes(`{${i}+}`)||ce.path.includes(`{${i}}`)){throw new Error(`No value provided for input HTTP label: ${i}.`)}}continue}if(p.httpPayload){const p=d.isStreaming();if(p){const p=d.isStructSchema();if(p){if(v[i]){ae=await this.serializeEventStream({eventStream:v[i],requestSchema:ie})}}else{ae=V}}else{K.write(d,V);ae=K.flush()}delete v[i]}else if(p.httpLabel){K.write(d,V);const p=K.flush();if(ce.path.includes(`{${i}+}`)){ce.path=ce.path.replace(`{${i}+}`,p.split("/").map(extendedEncodeURIComponent).join("/"))}else if(ce.path.includes(`{${i}}`)){ce.path=ce.path.replace(`{${i}}`,extendedEncodeURIComponent(p))}delete v[i]}else if(p.httpHeader){K.write(d,V);re[p.httpHeader.toLowerCase()]=String(K.flush());delete v[i]}else if(typeof p.httpPrefixHeaders==="string"){for(const[i,v]of Object.entries(V)){const V=p.httpPrefixHeaders+i;K.write([d.getValueSchema(),{httpHeader:V}],v);re[V.toLowerCase()]=K.flush()}delete v[i]}else if(p.httpQuery||p.httpQueryParams){this.serializeQuery(d,V,te);delete v[i]}else{oe=true}}if(oe&&v){K.write(se,v);ae=K.flush()}ce.headers=re;ce.query=te;ce.body=ae;return ce}serializeQuery(i,d,p){const v=this.serializer;const V=i.getMergedTraits();if(V.httpQueryParams){for(const[v,K]of Object.entries(d)){if(!(v in p)){const d=i.getValueSchema();Object.assign(d.getMergedTraits(),{...V,httpQuery:v,httpQueryParams:undefined});this.serializeQuery(d,K,p)}}return}if(i.isListSchema()){const K=!!i.getMergedTraits().sparse;const ee=[];for(const p of d){v.write([i.getValueSchema(),V],p);const d=v.flush();if(K||d!==undefined){ee.push(d)}}p[V.httpQuery]=ee}else{v.write([i,V],d);p[V.httpQuery]=v.flush()}}async deserializeResponse(i,d,p){const v=this.deserializer;const K=V.NormalizedSchema.of(i.output);const ee={};if(p.statusCode>=300){const V=await collectBody(p.body,d);if(V.byteLength>0){Object.assign(ee,await v.read(15,V))}await this.handleError(i,d,p,ee,this.deserializeMetadata(p));throw new Error("@smithy/core/protocols - HTTP Protocol error handler failed to throw.")}for(const i in p.headers){const d=p.headers[i];delete p.headers[i];p.headers[i.toLowerCase()]=d}const te=await this.deserializeHttpMessage(K,d,p,ee);if(te.length){const i=await collectBody(p.body,d);if(i.byteLength>0){const d=await v.read(K,i);for(const i of te){ee[i]=d[i]}}}else if(te.discardResponseBody){await collectBody(p.body,d)}ee.$metadata=this.deserializeMetadata(p);return ee}async deserializeHttpMessage(i,d,p,ee,te){let re;if(ee instanceof Set){re=te}else{re=ee}let ne=true;const ie=this.deserializer;const se=V.NormalizedSchema.of(i);const oe=[];for(const[i,V]of se.structIterator()){const ee=V.getMemberTraits();if(ee.httpPayload){ne=false;const K=V.isStreaming();if(K){const d=V.isStructSchema();if(d){re[i]=await this.deserializeEventStream({response:p,responseSchema:se})}else{re[i]=v.sdkStreamMixin(p.body)}}else if(p.body){const v=await collectBody(p.body,d);if(v.byteLength>0){re[i]=await ie.read(V,v)}}}else if(ee.httpHeader){const d=String(ee.httpHeader).toLowerCase();const v=p.headers[d];if(null!=v){if(V.isListSchema()){const p=V.getValueSchema();p.getMergedTraits().httpHeader=d;let ee;if(p.isTimestampSchema()&&p.getSchema()===4){ee=K.splitEvery(v,",",2)}else{ee=K.splitHeader(v)}const te=[];for(const i of ee){te.push(await ie.read(p,i.trim()))}re[i]=te}else{re[i]=await ie.read(V,v)}}}else if(ee.httpPrefixHeaders!==undefined){re[i]={};for(const[d,v]of Object.entries(p.headers)){if(d.startsWith(ee.httpPrefixHeaders)){const p=V.getValueSchema();p.getMergedTraits().httpHeader=d;re[i][d.slice(ee.httpPrefixHeaders.length)]=await ie.read(p,v)}}}else if(ee.httpResponseCode){re[i]=p.statusCode}else{oe.push(i)}}oe.discardResponseBody=ne;return oe}}class RpcProtocol extends HttpProtocol{async serializeRequest(i,d,p){const v=this.serializer;const K={};const te={};const re=await p.endpoint();const ne=V.NormalizedSchema.of(i?.input);const ie=ne.getSchema();let se;const oe=new ee.HttpRequest({protocol:"",hostname:"",port:undefined,path:"/",fragment:undefined,query:K,headers:te,body:undefined});if(re){this.updateServiceEndpoint(oe,re);this.setHostPrefix(oe,i,d)}const ae={...d};if(d){const i=ne.getEventStreamMember();if(i){if(ae[i]){const d={};for(const[p,V]of ne.structIterator()){if(p!==i&&ae[p]){v.write(V,ae[p]);d[p]=v.flush()}}se=await this.serializeEventStream({eventStream:ae[i],requestSchema:ne,initialRequest:d})}}else{v.write(ie,ae);se=v.flush()}}oe.headers=te;oe.query=K;oe.body=se;oe.method="POST";return oe}async deserializeResponse(i,d,p){const v=this.deserializer;const K=V.NormalizedSchema.of(i.output);const ee={};if(p.statusCode>=300){const V=await collectBody(p.body,d);if(V.byteLength>0){Object.assign(ee,await v.read(15,V))}await this.handleError(i,d,p,ee,this.deserializeMetadata(p));throw new Error("@smithy/core/protocols - RPC Protocol error handler failed to throw.")}for(const i in p.headers){const d=p.headers[i];delete p.headers[i];p.headers[i.toLowerCase()]=d}const te=K.getEventStreamMember();if(te){ee[te]=await this.deserializeEventStream({response:p,responseSchema:K,initialResponseContainer:ee})}else{const i=await collectBody(p.body,d);if(i.byteLength>0){Object.assign(ee,await v.read(K,i))}}ee.$metadata=this.deserializeMetadata(p);return ee}}const resolvedPath=(i,d,p,v,V,K)=>{if(d!=null&&d[p]!==undefined){const d=v();if(d.length<=0){throw new Error("Empty value provided for input HTTP label: "+p+".")}i=i.replace(V,K?d.split("/").map((i=>extendedEncodeURIComponent(i))).join("/"):extendedEncodeURIComponent(d))}else{throw new Error("No value provided for input HTTP label: "+p+".")}return i};function requestBuilder(i,d){return new RequestBuilder(i,d)}class RequestBuilder{input;context;query={};method="";headers={};path="";body=null;hostname="";resolvePathStack=[];constructor(i,d){this.input=i;this.context=d}async build(){const{hostname:i,protocol:d="https",port:p,path:v}=await this.context.endpoint();this.path=v;for(const i of this.resolvePathStack){i(this.path)}return new ee.HttpRequest({protocol:d,hostname:this.hostname||i,port:p,method:this.method,path:this.path,query:this.query,body:this.body,headers:this.headers})}hn(i){this.hostname=i;return this}bp(i){this.resolvePathStack.push((d=>{this.path=`${d?.endsWith("/")?d.slice(0,-1):d||""}`+i}));return this}p(i,d,p,v){this.resolvePathStack.push((V=>{this.path=resolvedPath(V,this.input,i,d,p,v)}));return this}h(i){this.headers=i;return this}q(i){this.query=i;return this}b(i){this.body=i;return this}m(i){this.method=i;return this}}function determineTimestampFormat(i,d){if(d.timestampFormat.useTrait){if(i.isTimestampSchema()&&(i.getSchema()===5||i.getSchema()===6||i.getSchema()===7)){return i.getSchema()}}const{httpLabel:p,httpPrefixHeaders:v,httpHeader:V,httpQuery:K}=i.getMergedTraits();const ee=d.httpBindings?typeof v==="string"||Boolean(V)?6:Boolean(K)||Boolean(p)?5:undefined:undefined;return ee??d.timestampFormat.default}class FromStringShapeDeserializer extends SerdeContext{settings;constructor(i){super();this.settings=i}read(i,d){const p=V.NormalizedSchema.of(i);if(p.isListSchema()){return K.splitHeader(d).map((i=>this.read(p.getValueSchema(),i)))}if(p.isBlobSchema()){return(this.serdeContext?.base64Decoder??te.fromBase64)(d)}if(p.isTimestampSchema()){const i=determineTimestampFormat(p,this.settings);switch(i){case 5:return K._parseRfc3339DateTimeWithOffset(d);case 6:return K._parseRfc7231DateTime(d);case 7:return K._parseEpochTimestamp(d);default:console.warn("Missing timestamp format, parsing value with Date constructor:",d);return new Date(d)}}if(p.isStringSchema()){const i=p.getMergedTraits().mediaType;let v=d;if(i){if(p.getMergedTraits().httpHeader){v=this.base64ToUtf8(v)}const d=i==="application/json"||i.endsWith("+json");if(d){v=K.LazyJsonString.from(v)}return v}}if(p.isNumericSchema()){return Number(d)}if(p.isBigIntegerSchema()){return BigInt(d)}if(p.isBigDecimalSchema()){return new K.NumericValue(d,"bigDecimal")}if(p.isBooleanSchema()){return String(d).toLowerCase()==="true"}return d}base64ToUtf8(i){return(this.serdeContext?.utf8Encoder??re.toUtf8)((this.serdeContext?.base64Decoder??te.fromBase64)(i))}}class HttpInterceptingShapeDeserializer extends SerdeContext{codecDeserializer;stringDeserializer;constructor(i,d){super();this.codecDeserializer=i;this.stringDeserializer=new FromStringShapeDeserializer(d)}setSerdeContext(i){this.stringDeserializer.setSerdeContext(i);this.codecDeserializer.setSerdeContext(i);this.serdeContext=i}read(i,d){const p=V.NormalizedSchema.of(i);const v=p.getMergedTraits();const K=this.serdeContext?.utf8Encoder??re.toUtf8;if(v.httpHeader||v.httpResponseCode){return this.stringDeserializer.read(p,K(d))}if(v.httpPayload){if(p.isBlobSchema()){const i=this.serdeContext?.utf8Decoder??re.fromUtf8;if(typeof d==="string"){return i(d)}return d}else if(p.isStringSchema()){if("byteLength"in d){return K(d)}return d}}return this.codecDeserializer.read(p,d)}}class ToStringShapeSerializer extends SerdeContext{settings;stringBuffer="";constructor(i){super();this.settings=i}write(i,d){const p=V.NormalizedSchema.of(i);switch(typeof d){case"object":if(d===null){this.stringBuffer="null";return}if(p.isTimestampSchema()){if(!(d instanceof Date)){throw new Error(`@smithy/core/protocols - received non-Date value ${d} when schema expected Date in ${p.getName(true)}`)}const i=determineTimestampFormat(p,this.settings);switch(i){case 5:this.stringBuffer=d.toISOString().replace(".000Z","Z");break;case 6:this.stringBuffer=K.dateToUtcString(d);break;case 7:this.stringBuffer=String(d.getTime()/1e3);break;default:console.warn("Missing timestamp format, using epoch seconds",d);this.stringBuffer=String(d.getTime()/1e3)}return}if(p.isBlobSchema()&&"byteLength"in d){this.stringBuffer=(this.serdeContext?.base64Encoder??te.toBase64)(d);return}if(p.isListSchema()&&Array.isArray(d)){let i="";for(const v of d){this.write([p.getValueSchema(),p.getMergedTraits()],v);const d=this.flush();const V=p.getValueSchema().isTimestampSchema()?d:K.quoteHeader(d);if(i!==""){i+=", "}i+=V}this.stringBuffer=i;return}this.stringBuffer=JSON.stringify(d,null,2);break;case"string":const i=p.getMergedTraits().mediaType;let v=d;if(i){const d=i==="application/json"||i.endsWith("+json");if(d){v=K.LazyJsonString.from(v)}if(p.getMergedTraits().httpHeader){this.stringBuffer=(this.serdeContext?.base64Encoder??te.toBase64)(v.toString());return}}this.stringBuffer=d;break;default:if(p.isIdempotencyToken()){this.stringBuffer=K.generateIdempotencyToken()}else{this.stringBuffer=String(d)}}}flush(){const i=this.stringBuffer;this.stringBuffer="";return i}}class HttpInterceptingShapeSerializer{codecSerializer;stringSerializer;buffer;constructor(i,d,p=new ToStringShapeSerializer(d)){this.codecSerializer=i;this.stringSerializer=p}setSerdeContext(i){this.codecSerializer.setSerdeContext(i);this.stringSerializer.setSerdeContext(i)}write(i,d){const p=V.NormalizedSchema.of(i);const v=p.getMergedTraits();if(v.httpHeader||v.httpLabel||v.httpQuery){this.stringSerializer.write(p,d);this.buffer=this.stringSerializer.flush();return}return this.codecSerializer.write(p,d)}flush(){if(this.buffer!==undefined){const i=this.buffer;this.buffer=undefined;return i}return this.codecSerializer.flush()}}d.FromStringShapeDeserializer=FromStringShapeDeserializer;d.HttpBindingProtocol=HttpBindingProtocol;d.HttpInterceptingShapeDeserializer=HttpInterceptingShapeDeserializer;d.HttpInterceptingShapeSerializer=HttpInterceptingShapeSerializer;d.HttpProtocol=HttpProtocol;d.RequestBuilder=RequestBuilder;d.RpcProtocol=RpcProtocol;d.SerdeContext=SerdeContext;d.ToStringShapeSerializer=ToStringShapeSerializer;d.collectBody=collectBody;d.determineTimestampFormat=determineTimestampFormat;d.extendedEncodeURIComponent=extendedEncodeURIComponent;d.requestBuilder=requestBuilder;d.resolvedPath=resolvedPath},26890:(i,d,p)=>{var v=p(72356);var V=p(76324);const deref=i=>{if(typeof i==="function"){return i()}return i};const operation=(i,d,p,v,V)=>({name:d,namespace:i,traits:p,input:v,output:V});const schemaDeserializationMiddleware=i=>(d,p)=>async K=>{const{response:ee}=await d(K);const{operationSchema:te}=V.getSmithyContext(p);const[,re,ne,ie,se,oe]=te??[];try{const d=await i.protocol.deserializeResponse(operation(re,ne,ie,se,oe),{...i,...p},ee);return{response:ee,output:d}}catch(i){Object.defineProperty(i,"$response",{value:ee,enumerable:false,writable:false,configurable:false});if(!("$metadata"in i)){const d=`Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`;try{i.message+="\n "+d}catch(i){if(!p.logger||p.logger?.constructor?.name==="NoOpLogger"){console.warn(d)}else{p.logger?.warn?.(d)}}if(typeof i.$responseBodyText!=="undefined"){if(i.$response){i.$response.body=i.$responseBodyText}}try{if(v.HttpResponse.isInstance(ee)){const{headers:d={}}=ee;const p=Object.entries(d);i.$metadata={httpStatusCode:ee.statusCode,requestId:findHeader(/^x-[\w-]+-request-?id$/,p),extendedRequestId:findHeader(/^x-[\w-]+-id-2$/,p),cfId:findHeader(/^x-[\w-]+-cf-id$/,p)}}}catch(i){}}throw i}};const findHeader=(i,d)=>(d.find((([d])=>d.match(i)))||[void 0,void 0])[1];const schemaSerializationMiddleware=i=>(d,p)=>async v=>{const{operationSchema:K}=V.getSmithyContext(p);const[,ee,te,re,ne,ie]=K??[];const se=p.endpointV2?.url&&i.urlParser?async()=>i.urlParser(p.endpointV2.url):i.endpoint;const oe=await i.protocol.serializeRequest(operation(ee,te,re,ne,ie),v.input,{...i,...p,endpoint:se});return d({...v,request:oe})};const K={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:true};const ee={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:true};function getSchemaSerdePlugin(i){return{applyToStack:d=>{d.add(schemaSerializationMiddleware(i),ee);d.add(schemaDeserializationMiddleware(i),K);i.protocol.setSerdeContext(i)}}}class Schema{name;namespace;traits;static assign(i,d){const p=Object.assign(i,d);return p}static[Symbol.hasInstance](i){const d=this.prototype.isPrototypeOf(i);if(!d&&typeof i==="object"&&i!==null){const d=i;return d.symbol===this.symbol}return d}getName(){return this.namespace+"#"+this.name}}class ListSchema extends Schema{static symbol=Symbol.for("@smithy/lis");name;traits;valueSchema;symbol=ListSchema.symbol}const list=(i,d,p,v)=>Schema.assign(new ListSchema,{name:d,namespace:i,traits:p,valueSchema:v});class MapSchema extends Schema{static symbol=Symbol.for("@smithy/map");name;traits;keySchema;valueSchema;symbol=MapSchema.symbol}const map=(i,d,p,v,V)=>Schema.assign(new MapSchema,{name:d,namespace:i,traits:p,keySchema:v,valueSchema:V});class OperationSchema extends Schema{static symbol=Symbol.for("@smithy/ope");name;traits;input;output;symbol=OperationSchema.symbol}const op=(i,d,p,v,V)=>Schema.assign(new OperationSchema,{name:d,namespace:i,traits:p,input:v,output:V});class StructureSchema extends Schema{static symbol=Symbol.for("@smithy/str");name;traits;memberNames;memberList;symbol=StructureSchema.symbol}const struct=(i,d,p,v,V)=>Schema.assign(new StructureSchema,{name:d,namespace:i,traits:p,memberNames:v,memberList:V});class ErrorSchema extends StructureSchema{static symbol=Symbol.for("@smithy/err");ctor;symbol=ErrorSchema.symbol}const error=(i,d,p,v,V,K)=>Schema.assign(new ErrorSchema,{name:d,namespace:i,traits:p,memberNames:v,memberList:V,ctor:null});function translateTraits(i){if(typeof i==="object"){return i}i=i|0;const d={};let p=0;for(const v of["httpLabel","idempotent","idempotencyToken","sensitive","httpPayload","httpResponseCode","httpQueryParams"]){if((i>>p++&1)===1){d[v]=1}}return d}const te={it:Symbol.for("@smithy/nor-struct-it")};class NormalizedSchema{ref;memberName;static symbol=Symbol.for("@smithy/nor");symbol=NormalizedSchema.symbol;name;schema;_isMemberSchema;traits;memberTraits;normalizedTraits;constructor(i,d){this.ref=i;this.memberName=d;const p=[];let v=i;let V=i;this._isMemberSchema=false;while(isMemberSchema(v)){p.push(v[1]);v=v[0];V=deref(v);this._isMemberSchema=true}if(p.length>0){this.memberTraits={};for(let i=p.length-1;i>=0;--i){const d=p[i];Object.assign(this.memberTraits,translateTraits(d))}}else{this.memberTraits=0}if(V instanceof NormalizedSchema){const i=this.memberTraits;Object.assign(this,V);this.memberTraits=Object.assign({},i,V.getMemberTraits(),this.getMemberTraits());this.normalizedTraits=void 0;this.memberName=d??V.memberName;return}this.schema=deref(V);if(isStaticSchema(this.schema)){this.name=`${this.schema[1]}#${this.schema[2]}`;this.traits=this.schema[3]}else{this.name=this.memberName??String(V);this.traits=0}if(this._isMemberSchema&&!d){throw new Error(`@smithy/core/schema - NormalizedSchema member init ${this.getName(true)} missing member name.`)}}static[Symbol.hasInstance](i){const d=this.prototype.isPrototypeOf(i);if(!d&&typeof i==="object"&&i!==null){const d=i;return d.symbol===this.symbol}return d}static of(i){const d=deref(i);if(d instanceof NormalizedSchema){return d}if(isMemberSchema(d)){const[p,v]=d;if(p instanceof NormalizedSchema){Object.assign(p.getMergedTraits(),translateTraits(v));return p}throw new Error(`@smithy/core/schema - may not init unwrapped member schema=${JSON.stringify(i,null,2)}.`)}return new NormalizedSchema(d)}getSchema(){const i=this.schema;if(Array.isArray(i)&&i[0]===0){return i[4]}return i}getName(i=false){const{name:d}=this;const p=!i&&d&&d.includes("#");return p?d.split("#")[1]:d||undefined}getMemberName(){return this.memberName}isMemberSchema(){return this._isMemberSchema}isListSchema(){const i=this.getSchema();return typeof i==="number"?i>=64&&i<128:i[0]===1}isMapSchema(){const i=this.getSchema();return typeof i==="number"?i>=128&&i<=255:i[0]===2}isStructSchema(){const i=this.getSchema();if(typeof i!=="object"){return false}const d=i[0];return d===3||d===-3||d===4}isUnionSchema(){const i=this.getSchema();if(typeof i!=="object"){return false}return i[0]===4}isBlobSchema(){const i=this.getSchema();return i===21||i===42}isTimestampSchema(){const i=this.getSchema();return typeof i==="number"&&i>=4&&i<=7}isUnitSchema(){return this.getSchema()==="unit"}isDocumentSchema(){return this.getSchema()===15}isStringSchema(){return this.getSchema()===0}isBooleanSchema(){return this.getSchema()===2}isNumericSchema(){return this.getSchema()===1}isBigIntegerSchema(){return this.getSchema()===17}isBigDecimalSchema(){return this.getSchema()===19}isStreaming(){const{streaming:i}=this.getMergedTraits();return!!i||this.getSchema()===42}isIdempotencyToken(){return!!this.getMergedTraits().idempotencyToken}getMergedTraits(){return this.normalizedTraits??(this.normalizedTraits={...this.getOwnTraits(),...this.getMemberTraits()})}getMemberTraits(){return translateTraits(this.memberTraits)}getOwnTraits(){return translateTraits(this.traits)}getKeySchema(){const[i,d]=[this.isDocumentSchema(),this.isMapSchema()];if(!i&&!d){throw new Error(`@smithy/core/schema - cannot get key for non-map: ${this.getName(true)}`)}const p=this.getSchema();const v=i?15:p[4]??0;return member([v,0],"key")}getValueSchema(){const i=this.getSchema();const[d,p,v]=[this.isDocumentSchema(),this.isMapSchema(),this.isListSchema()];const V=typeof i==="number"?63&i:i&&typeof i==="object"&&(p||v)?i[3+i[0]]:d?15:void 0;if(V!=null){return member([V,0],p?"value":"member")}throw new Error(`@smithy/core/schema - ${this.getName(true)} has no value member.`)}getMemberSchema(i){const d=this.getSchema();if(this.isStructSchema()&&d[4].includes(i)){const p=d[4].indexOf(i);const v=d[5][p];return member(isMemberSchema(v)?v:[v,0],i)}if(this.isDocumentSchema()){return member([15,0],i)}throw new Error(`@smithy/core/schema - ${this.getName(true)} has no no member=${i}.`)}getMemberSchemas(){const i={};try{for(const[d,p]of this.structIterator()){i[d]=p}}catch(i){}return i}getEventStreamMember(){if(this.isStructSchema()){for(const[i,d]of this.structIterator()){if(d.isStreaming()&&d.isStructSchema()){return i}}}return""}*structIterator(){if(this.isUnitSchema()){return}if(!this.isStructSchema()){throw new Error("@smithy/core/schema - cannot iterate non-struct schema.")}const i=this.getSchema();const d=i[4].length;let p=i[te.it];if(p&&d===p.length){yield*p;return}p=Array(d);for(let v=0;vArray.isArray(i)&&i.length===2;const isStaticSchema=i=>Array.isArray(i)&&i.length>=5;class SimpleSchema extends Schema{static symbol=Symbol.for("@smithy/sim");name;schemaRef;traits;symbol=SimpleSchema.symbol}const sim=(i,d,p,v)=>Schema.assign(new SimpleSchema,{name:d,namespace:i,traits:v,schemaRef:p});const simAdapter=(i,d,p,v)=>Schema.assign(new SimpleSchema,{name:d,namespace:i,traits:p,schemaRef:v});const re={BLOB:21,STREAMING_BLOB:42,BOOLEAN:2,STRING:0,NUMERIC:1,BIG_INTEGER:17,BIG_DECIMAL:19,DOCUMENT:15,TIMESTAMP_DEFAULT:4,TIMESTAMP_DATE_TIME:5,TIMESTAMP_HTTP_DATE:6,TIMESTAMP_EPOCH_SECONDS:7,LIST_MODIFIER:64,MAP_MODIFIER:128};class TypeRegistry{namespace;schemas;exceptions;static registries=new Map;constructor(i,d=new Map,p=new Map){this.namespace=i;this.schemas=d;this.exceptions=p}static for(i){if(!TypeRegistry.registries.has(i)){TypeRegistry.registries.set(i,new TypeRegistry(i))}return TypeRegistry.registries.get(i)}register(i,d){const p=this.normalizeShapeId(i);const v=TypeRegistry.for(p.split("#")[0]);v.schemas.set(p,d)}getSchema(i){const d=this.normalizeShapeId(i);if(!this.schemas.has(d)){throw new Error(`@smithy/core/schema - schema not found for ${d}`)}return this.schemas.get(d)}registerError(i,d){const p=i;const v=TypeRegistry.for(p[1]);v.schemas.set(p[1]+"#"+p[2],p);v.exceptions.set(p,d)}getErrorCtor(i){const d=i;const p=TypeRegistry.for(d[1]);return p.exceptions.get(d)}getBaseException(){for(const i of this.exceptions.keys()){if(Array.isArray(i)){const[,d,p]=i;const v=d+"#"+p;if(v.startsWith("smithy.ts.sdk.synthetic.")&&v.endsWith("ServiceException")){return i}}}return undefined}find(i){return[...this.schemas.values()].find(i)}clear(){this.schemas.clear();this.exceptions.clear()}normalizeShapeId(i){if(i.includes("#")){return i}return this.namespace+"#"+i}}d.ErrorSchema=ErrorSchema;d.ListSchema=ListSchema;d.MapSchema=MapSchema;d.NormalizedSchema=NormalizedSchema;d.OperationSchema=OperationSchema;d.SCHEMA=re;d.Schema=Schema;d.SimpleSchema=SimpleSchema;d.StructureSchema=StructureSchema;d.TypeRegistry=TypeRegistry;d.deref=deref;d.deserializerMiddlewareOption=K;d.error=error;d.getSchemaSerdePlugin=getSchemaSerdePlugin;d.isStaticSchema=isStaticSchema;d.list=list;d.map=map;d.op=op;d.operation=operation;d.serializerMiddlewareOption=ee;d.sim=sim;d.simAdapter=simAdapter;d.struct=struct;d.translateTraits=translateTraits},92430:(i,d,p)=>{var v=p(90266);const copyDocumentWithTransform=(i,d,p=i=>i)=>i;const parseBoolean=i=>{switch(i){case"true":return true;case"false":return false;default:throw new Error(`Unable to parse boolean value "${i}"`)}};const expectBoolean=i=>{if(i===null||i===undefined){return undefined}if(typeof i==="number"){if(i===0||i===1){se.warn(stackTraceWarning(`Expected boolean, got ${typeof i}: ${i}`))}if(i===0){return false}if(i===1){return true}}if(typeof i==="string"){const d=i.toLowerCase();if(d==="false"||d==="true"){se.warn(stackTraceWarning(`Expected boolean, got ${typeof i}: ${i}`))}if(d==="false"){return false}if(d==="true"){return true}}if(typeof i==="boolean"){return i}throw new TypeError(`Expected boolean, got ${typeof i}: ${i}`)};const expectNumber=i=>{if(i===null||i===undefined){return undefined}if(typeof i==="string"){const d=parseFloat(i);if(!Number.isNaN(d)){if(String(d)!==String(i)){se.warn(stackTraceWarning(`Expected number but observed string: ${i}`))}return d}}if(typeof i==="number"){return i}throw new TypeError(`Expected number, got ${typeof i}: ${i}`)};const V=Math.ceil(2**127*(2-2**-23));const expectFloat32=i=>{const d=expectNumber(i);if(d!==undefined&&!Number.isNaN(d)&&d!==Infinity&&d!==-Infinity){if(Math.abs(d)>V){throw new TypeError(`Expected 32-bit float, got ${i}`)}}return d};const expectLong=i=>{if(i===null||i===undefined){return undefined}if(Number.isInteger(i)&&!Number.isNaN(i)){return i}throw new TypeError(`Expected integer, got ${typeof i}: ${i}`)};const K=expectLong;const expectInt32=i=>expectSizedInt(i,32);const expectShort=i=>expectSizedInt(i,16);const expectByte=i=>expectSizedInt(i,8);const expectSizedInt=(i,d)=>{const p=expectLong(i);if(p!==undefined&&castInt(p,d)!==p){throw new TypeError(`Expected ${d}-bit integer, got ${i}`)}return p};const castInt=(i,d)=>{switch(d){case 32:return Int32Array.of(i)[0];case 16:return Int16Array.of(i)[0];case 8:return Int8Array.of(i)[0]}};const expectNonNull=(i,d)=>{if(i===null||i===undefined){if(d){throw new TypeError(`Expected a non-null value for ${d}`)}throw new TypeError("Expected a non-null value")}return i};const expectObject=i=>{if(i===null||i===undefined){return undefined}if(typeof i==="object"&&!Array.isArray(i)){return i}const d=Array.isArray(i)?"array":typeof i;throw new TypeError(`Expected object, got ${d}: ${i}`)};const expectString=i=>{if(i===null||i===undefined){return undefined}if(typeof i==="string"){return i}if(["boolean","number","bigint"].includes(typeof i)){se.warn(stackTraceWarning(`Expected string, got ${typeof i}: ${i}`));return String(i)}throw new TypeError(`Expected string, got ${typeof i}: ${i}`)};const expectUnion=i=>{if(i===null||i===undefined){return undefined}const d=expectObject(i);const p=Object.entries(d).filter((([,i])=>i!=null)).map((([i])=>i));if(p.length===0){throw new TypeError(`Unions must have exactly one non-null member. None were found.`)}if(p.length>1){throw new TypeError(`Unions must have exactly one non-null member. Keys ${p} were not null.`)}return d};const strictParseDouble=i=>{if(typeof i=="string"){return expectNumber(parseNumber(i))}return expectNumber(i)};const ee=strictParseDouble;const strictParseFloat32=i=>{if(typeof i=="string"){return expectFloat32(parseNumber(i))}return expectFloat32(i)};const te=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g;const parseNumber=i=>{const d=i.match(te);if(d===null||d[0].length!==i.length){throw new TypeError(`Expected real number, got implicit NaN`)}return parseFloat(i)};const limitedParseDouble=i=>{if(typeof i=="string"){return parseFloatString(i)}return expectNumber(i)};const re=limitedParseDouble;const ne=limitedParseDouble;const limitedParseFloat32=i=>{if(typeof i=="string"){return parseFloatString(i)}return expectFloat32(i)};const parseFloatString=i=>{switch(i){case"NaN":return NaN;case"Infinity":return Infinity;case"-Infinity":return-Infinity;default:throw new Error(`Unable to parse float value: ${i}`)}};const strictParseLong=i=>{if(typeof i==="string"){return expectLong(parseNumber(i))}return expectLong(i)};const ie=strictParseLong;const strictParseInt32=i=>{if(typeof i==="string"){return expectInt32(parseNumber(i))}return expectInt32(i)};const strictParseShort=i=>{if(typeof i==="string"){return expectShort(parseNumber(i))}return expectShort(i)};const strictParseByte=i=>{if(typeof i==="string"){return expectByte(parseNumber(i))}return expectByte(i)};const stackTraceWarning=i=>String(new TypeError(i).stack||i).split("\n").slice(0,5).filter((i=>!i.includes("stackTraceWarning"))).join("\n");const se={warn:console.warn};const oe=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];const ae=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function dateToUtcString(i){const d=i.getUTCFullYear();const p=i.getUTCMonth();const v=i.getUTCDay();const V=i.getUTCDate();const K=i.getUTCHours();const ee=i.getUTCMinutes();const te=i.getUTCSeconds();const re=V<10?`0${V}`:`${V}`;const ne=K<10?`0${K}`:`${K}`;const ie=ee<10?`0${ee}`:`${ee}`;const se=te<10?`0${te}`:`${te}`;return`${oe[v]}, ${re} ${ae[p]} ${d} ${ne}:${ie}:${se} GMT`}const ce=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/);const parseRfc3339DateTime=i=>{if(i===null||i===undefined){return undefined}if(typeof i!=="string"){throw new TypeError("RFC-3339 date-times must be expressed as strings")}const d=ce.exec(i);if(!d){throw new TypeError("Invalid RFC-3339 date-time value")}const[p,v,V,K,ee,te,re,ne]=d;const ie=strictParseShort(stripLeadingZeroes(v));const se=parseDateValue(V,"month",1,12);const oe=parseDateValue(K,"day",1,31);return buildDate(ie,se,oe,{hours:ee,minutes:te,seconds:re,fractionalMilliseconds:ne})};const le=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/);const parseRfc3339DateTimeWithOffset=i=>{if(i===null||i===undefined){return undefined}if(typeof i!=="string"){throw new TypeError("RFC-3339 date-times must be expressed as strings")}const d=le.exec(i);if(!d){throw new TypeError("Invalid RFC-3339 date-time value")}const[p,v,V,K,ee,te,re,ne,ie]=d;const se=strictParseShort(stripLeadingZeroes(v));const oe=parseDateValue(V,"month",1,12);const ae=parseDateValue(K,"day",1,31);const ce=buildDate(se,oe,ae,{hours:ee,minutes:te,seconds:re,fractionalMilliseconds:ne});if(ie.toUpperCase()!="Z"){ce.setTime(ce.getTime()-parseOffsetToMilliseconds(ie))}return ce};const ue=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 Ae=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 de=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=i=>{if(i===null||i===undefined){return undefined}if(typeof i!=="string"){throw new TypeError("RFC-7231 date-times must be expressed as strings")}let d=ue.exec(i);if(d){const[i,p,v,V,K,ee,te,re]=d;return buildDate(strictParseShort(stripLeadingZeroes(V)),parseMonthByShortName(v),parseDateValue(p,"day",1,31),{hours:K,minutes:ee,seconds:te,fractionalMilliseconds:re})}d=Ae.exec(i);if(d){const[i,p,v,V,K,ee,te,re]=d;return adjustRfc850Year(buildDate(parseTwoDigitYear(V),parseMonthByShortName(v),parseDateValue(p,"day",1,31),{hours:K,minutes:ee,seconds:te,fractionalMilliseconds:re}))}d=de.exec(i);if(d){const[i,p,v,V,K,ee,te,re]=d;return buildDate(strictParseShort(stripLeadingZeroes(re)),parseMonthByShortName(p),parseDateValue(v.trimLeft(),"day",1,31),{hours:V,minutes:K,seconds:ee,fractionalMilliseconds:te})}throw new TypeError("Invalid RFC-7231 date-time value")};const parseEpochTimestamp=i=>{if(i===null||i===undefined){return undefined}let d;if(typeof i==="number"){d=i}else if(typeof i==="string"){d=strictParseDouble(i)}else if(typeof i==="object"&&i.tag===1){d=i.value}else{throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation")}if(Number.isNaN(d)||d===Infinity||d===-Infinity){throw new TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics")}return new Date(Math.round(d*1e3))};const buildDate=(i,d,p,v)=>{const V=d-1;validateDayOfMonth(i,V,p);return new Date(Date.UTC(i,V,p,parseDateValue(v.hours,"hour",0,23),parseDateValue(v.minutes,"minute",0,59),parseDateValue(v.seconds,"seconds",0,60),parseMilliseconds(v.fractionalMilliseconds)))};const parseTwoDigitYear=i=>{const d=(new Date).getUTCFullYear();const p=Math.floor(d/100)*100+strictParseShort(stripLeadingZeroes(i));if(p{if(i.getTime()-(new Date).getTime()>pe){return new Date(Date.UTC(i.getUTCFullYear()-100,i.getUTCMonth(),i.getUTCDate(),i.getUTCHours(),i.getUTCMinutes(),i.getUTCSeconds(),i.getUTCMilliseconds()))}return i};const parseMonthByShortName=i=>{const d=ae.indexOf(i);if(d<0){throw new TypeError(`Invalid month: ${i}`)}return d+1};const fe=[31,28,31,30,31,30,31,31,30,31,30,31];const validateDayOfMonth=(i,d,p)=>{let v=fe[d];if(d===1&&isLeapYear(i)){v=29}if(p>v){throw new TypeError(`Invalid day for ${ae[d]} in ${i}: ${p}`)}};const isLeapYear=i=>i%4===0&&(i%100!==0||i%400===0);const parseDateValue=(i,d,p,v)=>{const V=strictParseByte(stripLeadingZeroes(i));if(Vv){throw new TypeError(`${d} must be between ${p} and ${v}, inclusive`)}return V};const parseMilliseconds=i=>{if(i===null||i===undefined){return 0}return strictParseFloat32("0."+i)*1e3};const parseOffsetToMilliseconds=i=>{const d=i[0];let p=1;if(d=="+"){p=1}else if(d=="-"){p=-1}else{throw new TypeError(`Offset direction, ${d}, must be "+" or "-"`)}const v=Number(i.substring(1,3));const V=Number(i.substring(4,6));return p*(v*60+V)*60*1e3};const stripLeadingZeroes=i=>{let d=0;while(d{if(i&&typeof i==="object"&&(i instanceof he||"deserializeJSON"in i)){return i}else if(typeof i==="string"||Object.getPrototypeOf(i)===String.prototype){return he(String(i))}return he(JSON.stringify(i))};he.fromObject=he.from;function quoteHeader(i){if(i.includes(",")||i.includes('"')){i=`"${i.replace(/"/g,'\\"')}"`}return i}const ge=`(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)(?:[ne|u?r]?s?day)?`;const me=`(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)`;const Ee=`(\\d?\\d):(\\d{2}):(\\d{2})(?:\\.(\\d+))?`;const ye=`(\\d?\\d)`;const Ce=`(\\d{4})`;const be=new RegExp(/^(\d{4})-(\d\d)-(\d\d)[tT](\d\d):(\d\d):(\d\d)(\.(\d+))?(([-+]\d\d:\d\d)|[zZ])$/);const Ie=new RegExp(`^${ge}, ${ye} ${me} ${Ce} ${Ee} GMT$`);const Be=new RegExp(`^${ge}, ${ye}-${me}-(\\d\\d) ${Ee} GMT$`);const we=new RegExp(`^${ge} ${me} ( [1-9]|\\d\\d) ${Ee} ${Ce}$`);const Se=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];const _parseEpochTimestamp=i=>{if(i==null){return void 0}let d=NaN;if(typeof i==="number"){d=i}else if(typeof i==="string"){if(!/^-?\d*\.?\d+$/.test(i)){throw new TypeError(`parseEpochTimestamp - numeric string invalid.`)}d=Number.parseFloat(i)}else if(typeof i==="object"&&i.tag===1){d=i.value}if(isNaN(d)||Math.abs(d)===Infinity){throw new TypeError("Epoch timestamps must be valid finite numbers.")}return new Date(Math.round(d*1e3))};const _parseRfc3339DateTimeWithOffset=i=>{if(i==null){return void 0}if(typeof i!=="string"){throw new TypeError("RFC3339 timestamps must be strings")}const d=be.exec(i);if(!d){throw new TypeError(`Invalid RFC3339 timestamp format ${i}`)}const[,p,v,V,K,ee,te,,re,ne]=d;range(v,1,12);range(V,1,31);range(K,0,23);range(ee,0,59);range(te,0,60);const ie=new Date(Date.UTC(Number(p),Number(v)-1,Number(V),Number(K),Number(ee),Number(te),Number(re)?Math.round(parseFloat(`0.${re}`)*1e3):0));ie.setUTCFullYear(Number(p));if(ne.toUpperCase()!="Z"){const[,i,d,p]=/([+-])(\d\d):(\d\d)/.exec(ne)||[void 0,"+",0,0];const v=i==="-"?1:-1;ie.setTime(ie.getTime()+v*(Number(d)*60*60*1e3+Number(p)*60*1e3))}return ie};const _parseRfc7231DateTime=i=>{if(i==null){return void 0}if(typeof i!=="string"){throw new TypeError("RFC7231 timestamps must be strings.")}let d;let p;let v;let V;let K;let ee;let te;let re;if(re=Ie.exec(i)){[,d,p,v,V,K,ee,te]=re}else if(re=Be.exec(i)){[,d,p,v,V,K,ee,te]=re;v=(Number(v)+1900).toString()}else if(re=we.exec(i)){[,p,d,V,K,ee,te,v]=re}if(v&&ee){const i=Date.UTC(Number(v),Se.indexOf(p),Number(d),Number(V),Number(K),Number(ee),te?Math.round(parseFloat(`0.${te}`)*1e3):0);range(d,1,31);range(V,0,23);range(K,0,59);range(ee,0,60);const re=new Date(i);re.setUTCFullYear(Number(v));return re}throw new TypeError(`Invalid RFC7231 date-time value ${i}.`)};function range(i,d,p){const v=Number(i);if(vp){throw new Error(`Value ${v} out of range [${d}, ${p}]`)}}function splitEvery(i,d,p){if(p<=0||!Number.isInteger(p)){throw new Error("Invalid number of delimiters ("+p+") for splitEvery.")}const v=i.split(d);if(p===1){return v}const V=[];let K="";for(let i=0;i{const d=i.length;const p=[];let v=false;let V=undefined;let K=0;for(let ee=0;ee{i=i.trim();const d=i.length;if(d<2){return i}if(i[0]===`"`&&i[d-1]===`"`){i=i.slice(1,d-1)}return i.replace(/\\"/g,'"')}))};const Qe=/^-?\d*(\.\d+)?$/;class NumericValue{string;type;constructor(i,d){this.string=i;this.type=d;if(!Qe.test(i)){throw new Error(`@smithy/core/serde - NumericValue must only contain [0-9], at most one decimal point ".", and an optional negation prefix "-".`)}}toString(){return this.string}static[Symbol.hasInstance](i){if(!i||typeof i!=="object"){return false}const d=i;return NumericValue.prototype.isPrototypeOf(i)||d.type==="bigDecimal"&&Qe.test(d.string)}}function nv(i){return new NumericValue(String(i),"bigDecimal")}Object.defineProperty(d,"generateIdempotencyToken",{enumerable:true,get:function(){return v.v4}});d.LazyJsonString=he;d.NumericValue=NumericValue;d._parseEpochTimestamp=_parseEpochTimestamp;d._parseRfc3339DateTimeWithOffset=_parseRfc3339DateTimeWithOffset;d._parseRfc7231DateTime=_parseRfc7231DateTime;d.copyDocumentWithTransform=copyDocumentWithTransform;d.dateToUtcString=dateToUtcString;d.expectBoolean=expectBoolean;d.expectByte=expectByte;d.expectFloat32=expectFloat32;d.expectInt=K;d.expectInt32=expectInt32;d.expectLong=expectLong;d.expectNonNull=expectNonNull;d.expectNumber=expectNumber;d.expectObject=expectObject;d.expectShort=expectShort;d.expectString=expectString;d.expectUnion=expectUnion;d.handleFloat=re;d.limitedParseDouble=limitedParseDouble;d.limitedParseFloat=ne;d.limitedParseFloat32=limitedParseFloat32;d.logger=se;d.nv=nv;d.parseBoolean=parseBoolean;d.parseEpochTimestamp=parseEpochTimestamp;d.parseRfc3339DateTime=parseRfc3339DateTime;d.parseRfc3339DateTimeWithOffset=parseRfc3339DateTimeWithOffset;d.parseRfc7231DateTime=parseRfc7231DateTime;d.quoteHeader=quoteHeader;d.splitEvery=splitEvery;d.splitHeader=splitHeader;d.strictParseByte=strictParseByte;d.strictParseDouble=strictParseDouble;d.strictParseFloat=ee;d.strictParseFloat32=strictParseFloat32;d.strictParseInt=ie;d.strictParseInt32=strictParseInt32;d.strictParseLong=strictParseLong;d.strictParseShort=strictParseShort},47809:(i,d,p)=>{var v=p(72356);var V=p(18256);var K=p(68385);function createRequest(i,d){return new Request(i,d)}function requestTimeout(i=0){return new Promise(((d,p)=>{if(i){setTimeout((()=>{const d=new Error(`Request did not complete within ${i} ms`);d.name="TimeoutError";p(d)}),i)}}))}const ee={supported:undefined};class FetchHttpHandler{config;configProvider;static create(i){if(typeof i?.handle==="function"){return i}return new FetchHttpHandler(i)}constructor(i){if(typeof i==="function"){this.configProvider=i().then((i=>i||{}))}else{this.config=i??{};this.configProvider=Promise.resolve(this.config)}if(ee.supported===undefined){ee.supported=Boolean(typeof Request!=="undefined"&&"keepalive"in createRequest("https://[::1]"))}}destroy(){}async handle(i,{abortSignal:d,requestTimeout:p}={}){if(!this.config){this.config=await this.configProvider}const K=p??this.config.requestTimeout;const te=this.config.keepAlive===true;const re=this.config.credentials;if(d?.aborted){const i=new Error("Request aborted");i.name="AbortError";return Promise.reject(i)}let ne=i.path;const ie=V.buildQueryString(i.query||{});if(ie){ne+=`?${ie}`}if(i.fragment){ne+=`#${i.fragment}`}let se="";if(i.username!=null||i.password!=null){const d=i.username??"";const p=i.password??"";se=`${d}:${p}@`}const{port:oe,method:ae}=i;const ce=`${i.protocol}//${se}${i.hostname}${oe?`:${oe}`:""}${ne}`;const le=ae==="GET"||ae==="HEAD"?undefined:i.body;const ue={body:le,headers:new Headers(i.headers),method:ae,credentials:re};if(this.config?.cache){ue.cache=this.config.cache}if(le){ue.duplex="half"}if(typeof AbortController!=="undefined"){ue.signal=d}if(ee.supported){ue.keepalive=te}if(typeof this.config.requestInit==="function"){Object.assign(ue,this.config.requestInit(i))}let removeSignalEventListener=()=>{};const Ae=createRequest(ce,ue);const de=[fetch(Ae).then((i=>{const d=i.headers;const p={};for(const i of d.entries()){p[i[0]]=i[1]}const V=i.body!=undefined;if(!V){return i.blob().then((d=>({response:new v.HttpResponse({headers:p,reason:i.statusText,statusCode:i.status,body:d})})))}return{response:new v.HttpResponse({headers:p,reason:i.statusText,statusCode:i.status,body:i.body})}})),requestTimeout(K)];if(d){de.push(new Promise(((i,p)=>{const onAbort=()=>{const i=new Error("Request aborted");i.name="AbortError";p(i)};if(typeof d.addEventListener==="function"){const i=d;i.addEventListener("abort",onAbort,{once:true});removeSignalEventListener=()=>i.removeEventListener("abort",onAbort)}else{d.onabort=onAbort}})))}return Promise.race(de).finally(removeSignalEventListener)}updateHttpClientConfig(i,d){this.config=undefined;this.configProvider=this.configProvider.then((p=>{p[i]=d;return p}))}httpHandlerConfigs(){return this.config??{}}}const streamCollector=async i=>{if(typeof Blob==="function"&&i instanceof Blob||i.constructor?.name==="Blob"){if(Blob.prototype.arrayBuffer!==undefined){return new Uint8Array(await i.arrayBuffer())}return collectBlob(i)}return collectStream(i)};async function collectBlob(i){const d=await readToBase64(i);const p=K.fromBase64(d);return new Uint8Array(p)}async function collectStream(i){const d=[];const p=i.getReader();let v=false;let V=0;while(!v){const{done:i,value:K}=await p.read();if(K){d.push(K);V+=K.length}v=i}const K=new Uint8Array(V);let ee=0;for(const i of d){K.set(i,ee);ee+=i.length}return K}function readToBase64(i){return new Promise(((d,p)=>{const v=new FileReader;v.onloadend=()=>{if(v.readyState!==2){return p(new Error("Reader aborted too early"))}const i=v.result??"";const V=i.indexOf(",");const K=V>-1?V+1:i.length;d(i.substring(K))};v.onabort=()=>p(new Error("Read aborted"));v.onerror=()=>p(v.error);v.readAsDataURL(i)}))}d.FetchHttpHandler=FetchHttpHandler;d.keepAliveSupport=ee;d.streamCollector=streamCollector},5092:(i,d,p)=>{var v=p(44151);var V=p(71577);var K=p(20181);var ee=p(76982);class Hash{algorithmIdentifier;secret;hash;constructor(i,d){this.algorithmIdentifier=i;this.secret=d;this.reset()}update(i,d){this.hash.update(V.toUint8Array(castSourceData(i,d)))}digest(){return Promise.resolve(this.hash.digest())}reset(){this.hash=this.secret?ee.createHmac(this.algorithmIdentifier,castSourceData(this.secret)):ee.createHash(this.algorithmIdentifier)}}function castSourceData(i,d){if(K.Buffer.isBuffer(i)){return i}if(typeof i==="string"){return v.fromString(i,d)}if(ArrayBuffer.isView(i)){return v.fromArrayBuffer(i.buffer,i.byteOffset,i.byteLength)}return v.fromArrayBuffer(i)}d.Hash=Hash},86130:(i,d)=>{const isArrayBuffer=i=>typeof ArrayBuffer==="function"&&i instanceof ArrayBuffer||Object.prototype.toString.call(i)==="[object ArrayBuffer]";d.isArrayBuffer=isArrayBuffer},47212:(i,d,p)=>{var v=p(72356);const V="content-length";function contentLengthMiddleware(i){return d=>async p=>{const K=p.request;if(v.HttpRequest.isInstance(K)){const{body:d,headers:p}=K;if(d&&Object.keys(p).map((i=>i.toLowerCase())).indexOf(V)===-1){try{const p=i(d);K.headers={...K.headers,[V]:String(p)}}catch(i){}}}return d({...p,request:K})}}const K={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:true};const getContentLengthPlugin=i=>({applyToStack:d=>{d.add(contentLengthMiddleware(i.bodyLengthChecker),K)}});d.contentLengthMiddleware=contentLengthMiddleware;d.contentLengthMiddlewareOptions=K;d.getContentLengthPlugin=getContentLengthPlugin},76041:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getEndpointFromConfig=void 0;const v=p(55704);const V=p(18008);const getEndpointFromConfig=async i=>(0,v.loadConfig)((0,V.getEndpointUrlConfig)(i??""))();d.getEndpointFromConfig=getEndpointFromConfig},18008:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getEndpointUrlConfig=void 0;const v=p(94964);const V="AWS_ENDPOINT_URL";const K="endpoint_url";const getEndpointUrlConfig=i=>({environmentVariableSelector:d=>{const p=i.split(" ").map((i=>i.toUpperCase()));const v=d[[V,...p].join("_")];if(v)return v;const K=d[V];if(K)return K;return undefined},configFileSelector:(d,p)=>{if(p&&d.services){const V=p[["services",d.services].join(v.CONFIG_PREFIX_SEPARATOR)];if(V){const d=i.split(" ").map((i=>i.toLowerCase()));const p=V[[d.join("_"),K].join(v.CONFIG_PREFIX_SEPARATOR)];if(p)return p}}const V=d[K];if(V)return V;return undefined},default:undefined});d.getEndpointUrlConfig=getEndpointUrlConfig},40099:(i,d,p)=>{var v=p(76041);var V=p(14494);var K=p(90402);var ee=p(76324);var te=p(83255);const resolveParamsForS3=async i=>{const d=i?.Bucket||"";if(typeof i.Bucket==="string"){i.Bucket=d.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"))}if(isArnBucketName(d)){if(i.ForcePathStyle===true){throw new Error("Path-style addressing cannot be used with ARN buckets")}}else if(!isDnsCompatibleBucketName(d)||d.indexOf(".")!==-1&&!String(i.Endpoint).startsWith("http:")||d.toLowerCase()!==d||d.length<3){i.ForcePathStyle=true}if(i.DisableMultiRegionAccessPoints){i.disableMultiRegionAccessPoints=true;i.DisableMRAP=true}return i};const re=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/;const ne=/(\d+\.){3}\d+/;const ie=/\.\./;const isDnsCompatibleBucketName=i=>re.test(i)&&!ne.test(i)&&!ie.test(i);const isArnBucketName=i=>{const[d,p,v,,,V]=i.split(":");const K=d==="arn"&&i.split(":").length>=6;const ee=Boolean(K&&p&&v&&V);if(K&&!ee){throw new Error(`Invalid ARN: ${i} was an invalid ARN.`)}return ee};const createConfigValueProvider=(i,d,p,v=false)=>{const configProvider=async()=>{let V;if(v){const v=p.clientContextParams;const K=v?.[i];V=K??p[i]??p[d]}else{V=p[i]??p[d]}if(typeof V==="function"){return V()}return V};if(i==="credentialScope"||d==="CredentialScope"){return async()=>{const i=typeof p.credentials==="function"?await p.credentials():p.credentials;const d=i?.credentialScope??i?.CredentialScope;return d}}if(i==="accountId"||d==="AccountId"){return async()=>{const i=typeof p.credentials==="function"?await p.credentials():p.credentials;const d=i?.accountId??i?.AccountId;return d}}if(i==="endpoint"||d==="endpoint"){return async()=>{if(p.isCustomEndpoint===false){return undefined}const i=await configProvider();if(i&&typeof i==="object"){if("url"in i){return i.url.href}if("hostname"in i){const{protocol:d,hostname:p,port:v,path:V}=i;return`${d}//${p}${v?":"+v:""}${V}`}}return i}}return configProvider};const toEndpointV1=i=>{if(typeof i==="object"){if("url"in i){return V.parseUrl(i.url)}return i}return V.parseUrl(i)};const getEndpointFromInstructions=async(i,d,p,V)=>{if(!p.isCustomEndpoint){let i;if(p.serviceConfiguredEndpoint){i=await p.serviceConfiguredEndpoint()}else{i=await v.getEndpointFromConfig(p.serviceId)}if(i){p.endpoint=()=>Promise.resolve(toEndpointV1(i));p.isCustomEndpoint=true}}const K=await resolveParams(i,d,p);if(typeof p.endpointProvider!=="function"){throw new Error("config.endpointProvider is not set.")}const ee=p.endpointProvider(K,V);return ee};const resolveParams=async(i,d,p)=>{const v={};const V=d?.getEndpointParameterInstructions?.()||{};for(const[d,K]of Object.entries(V)){switch(K.type){case"staticContextParams":v[d]=K.value;break;case"contextParams":v[d]=i[K.name];break;case"clientContextParams":case"builtInParams":v[d]=await createConfigValueProvider(K.name,d,p,K.type!=="builtInParams")();break;case"operationContextParams":v[d]=K.get(i);break;default:throw new Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(K))}}if(Object.keys(V).length===0){Object.assign(v,p)}if(String(p.serviceId).toLowerCase()==="s3"){await resolveParamsForS3(v)}return v};const endpointMiddleware=({config:i,instructions:d})=>(p,v)=>async V=>{if(i.isCustomEndpoint){K.setFeature(v,"ENDPOINT_OVERRIDE","N")}const te=await getEndpointFromInstructions(V.input,{getEndpointParameterInstructions(){return d}},{...i},v);v.endpointV2=te;v.authSchemes=te.properties?.authSchemes;const re=v.authSchemes?.[0];if(re){v["signing_region"]=re.signingRegion;v["signing_service"]=re.signingName;const i=ee.getSmithyContext(v);const d=i?.selectedHttpAuthScheme?.httpAuthOption;if(d){d.signingProperties=Object.assign(d.signingProperties||{},{signing_region:re.signingRegion,signingRegion:re.signingRegion,signing_service:re.signingName,signingName:re.signingName,signingRegionSet:re.signingRegionSet},re.properties)}}return p({...V})};const se={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:true,relation:"before",toMiddleware:te.serializerMiddlewareOption.name};const getEndpointPlugin=(i,d)=>({applyToStack:p=>{p.addRelativeTo(endpointMiddleware({config:i,instructions:d}),se)}});const resolveEndpointConfig=i=>{const d=i.tls??true;const{endpoint:p,useDualstackEndpoint:V,useFipsEndpoint:K}=i;const te=p!=null?async()=>toEndpointV1(await ee.normalizeProvider(p)()):undefined;const re=!!p;const ne=Object.assign(i,{endpoint:te,tls:d,isCustomEndpoint:re,useDualstackEndpoint:ee.normalizeProvider(V??false),useFipsEndpoint:ee.normalizeProvider(K??false)});let ie=undefined;ne.serviceConfiguredEndpoint=async()=>{if(i.serviceId&&!ie){ie=v.getEndpointFromConfig(i.serviceId)}return ie};return ne};const resolveEndpointRequiredConfig=i=>{const{endpoint:d}=i;if(d===undefined){i.endpoint=async()=>{throw new Error("@smithy/middleware-endpoint: (default endpointRuleSet) endpoint is not set - you must configure an endpoint.")}}return i};d.endpointMiddleware=endpointMiddleware;d.endpointMiddlewareOptions=se;d.getEndpointFromInstructions=getEndpointFromInstructions;d.getEndpointPlugin=getEndpointPlugin;d.resolveEndpointConfig=resolveEndpointConfig;d.resolveEndpointRequiredConfig=resolveEndpointRequiredConfig;d.resolveParams=resolveParams;d.toEndpointV1=toEndpointV1},19618:(i,d,p)=>{var v=p(15518);var V=p(72356);var K=p(42058);var ee=p(90266);var te=p(76324);var re=p(61411);var ne=p(49831);const getDefaultRetryQuota=(i,d)=>{const p=i;const V=v.NO_RETRY_INCREMENT;const K=v.RETRY_COST;const ee=v.TIMEOUT_RETRY_COST;let te=i;const getCapacityAmount=i=>i.name==="TimeoutError"?ee:K;const hasRetryTokens=i=>getCapacityAmount(i)<=te;const retrieveRetryTokens=i=>{if(!hasRetryTokens(i)){throw new Error("No retry token available")}const d=getCapacityAmount(i);te-=d;return d};const releaseRetryTokens=i=>{te+=i??V;te=Math.min(te,p)};return Object.freeze({hasRetryTokens:hasRetryTokens,retrieveRetryTokens:retrieveRetryTokens,releaseRetryTokens:releaseRetryTokens})};const defaultDelayDecider=(i,d)=>Math.floor(Math.min(v.MAXIMUM_RETRY_DELAY,Math.random()*2**d*i));const defaultRetryDecider=i=>{if(!i){return false}return K.isRetryableByTrait(i)||K.isClockSkewError(i)||K.isThrottlingError(i)||K.isTransientError(i)};const asSdkError=i=>{if(i instanceof Error)return i;if(i instanceof Object)return Object.assign(new Error,i);if(typeof i==="string")return new Error(i);return new Error(`AWS SDK error wrapper for ${i}`)};class StandardRetryStrategy{maxAttemptsProvider;retryDecider;delayDecider;retryQuota;mode=v.RETRY_MODES.STANDARD;constructor(i,d){this.maxAttemptsProvider=i;this.retryDecider=d?.retryDecider??defaultRetryDecider;this.delayDecider=d?.delayDecider??defaultDelayDecider;this.retryQuota=d?.retryQuota??getDefaultRetryQuota(v.INITIAL_RETRY_TOKENS)}shouldRetry(i,d,p){return dsetTimeout(i,V)));continue}if(!d.$metadata){d.$metadata={}}d.$metadata.attempts=re;d.$metadata.totalRetryDelay=ne;throw d}}}}const getDelayFromRetryAfterHeader=i=>{if(!V.HttpResponse.isInstance(i))return;const d=Object.keys(i.headers).find((i=>i.toLowerCase()==="retry-after"));if(!d)return;const p=i.headers[d];const v=Number(p);if(!Number.isNaN(v))return v*1e3;const K=new Date(p);return K.getTime()-Date.now()};class AdaptiveRetryStrategy extends StandardRetryStrategy{rateLimiter;constructor(i,d){const{rateLimiter:p,...V}=d??{};super(i,V);this.rateLimiter=p??new v.DefaultRateLimiter;this.mode=v.RETRY_MODES.ADAPTIVE}async retry(i,d){return super.retry(i,d,{beforeRequest:async()=>this.rateLimiter.getSendToken(),afterRequest:i=>{this.rateLimiter.updateClientSendingRate(i)}})}}const ie="AWS_MAX_ATTEMPTS";const se="max_attempts";const oe={environmentVariableSelector:i=>{const d=i[ie];if(!d)return undefined;const p=parseInt(d);if(Number.isNaN(p)){throw new Error(`Environment variable ${ie} mast be a number, got "${d}"`)}return p},configFileSelector:i=>{const d=i[se];if(!d)return undefined;const p=parseInt(d);if(Number.isNaN(p)){throw new Error(`Shared config file entry ${se} mast be a number, got "${d}"`)}return p},default:v.DEFAULT_MAX_ATTEMPTS};const resolveRetryConfig=i=>{const{retryStrategy:d,retryMode:p,maxAttempts:V}=i;const K=te.normalizeProvider(V??v.DEFAULT_MAX_ATTEMPTS);return Object.assign(i,{maxAttempts:K,retryStrategy:async()=>{if(d){return d}const i=await te.normalizeProvider(p)();if(i===v.RETRY_MODES.ADAPTIVE){return new v.AdaptiveRetryStrategy(K)}return new v.StandardRetryStrategy(K)}})};const ae="AWS_RETRY_MODE";const ce="retry_mode";const le={environmentVariableSelector:i=>i[ae],configFileSelector:i=>i[ce],default:v.DEFAULT_RETRY_MODE};const omitRetryHeadersMiddleware=()=>i=>async d=>{const{request:p}=d;if(V.HttpRequest.isInstance(p)){delete p.headers[v.INVOCATION_ID_HEADER];delete p.headers[v.REQUEST_HEADER]}return i(d)};const ue={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:true};const getOmitRetryHeadersPlugin=i=>({applyToStack:i=>{i.addRelativeTo(omitRetryHeadersMiddleware(),ue)}});const retryMiddleware=i=>(d,p)=>async K=>{let te=await i.retryStrategy();const ie=await i.maxAttempts();if(isRetryStrategyV2(te)){te=te;let i=await te.acquireInitialRetryToken(p["partition_id"]);let se=new Error;let oe=0;let ae=0;const{request:ce}=K;const le=V.HttpRequest.isInstance(ce);if(le){ce.headers[v.INVOCATION_ID_HEADER]=ee.v4()}while(true){try{if(le){ce.headers[v.REQUEST_HEADER]=`attempt=${oe+1}; max=${ie}`}const{response:p,output:V}=await d(K);te.recordSuccess(i);V.$metadata.attempts=oe+1;V.$metadata.totalRetryDelay=ae;return{response:p,output:V}}catch(d){const v=getRetryErrorInfo(d);se=asSdkError(d);if(le&&ne.isStreamingPayload(ce)){(p.logger instanceof re.NoOpLogger?console:p.logger)?.warn("An error was encountered in a non-retryable streaming request.");throw se}try{i=await te.refreshRetryTokenForRetry(i,v)}catch(i){if(!se.$metadata){se.$metadata={}}se.$metadata.attempts=oe+1;se.$metadata.totalRetryDelay=ae;throw se}oe=i.getRetryCount();const V=i.getRetryDelay();ae+=V;await new Promise((i=>setTimeout(i,V)))}}}else{te=te;if(te?.mode)p.userAgent=[...p.userAgent||[],["cfg/retry-mode",te.mode]];return te.retry(d,K)}};const isRetryStrategyV2=i=>typeof i.acquireInitialRetryToken!=="undefined"&&typeof i.refreshRetryTokenForRetry!=="undefined"&&typeof i.recordSuccess!=="undefined";const getRetryErrorInfo=i=>{const d={error:i,errorType:getRetryErrorType(i)};const p=getRetryAfterHint(i.$response);if(p){d.retryAfterHint=p}return d};const getRetryErrorType=i=>{if(K.isThrottlingError(i))return"THROTTLING";if(K.isTransientError(i))return"TRANSIENT";if(K.isServerError(i))return"SERVER_ERROR";return"CLIENT_ERROR"};const Ae={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:true};const getRetryPlugin=i=>({applyToStack:d=>{d.add(retryMiddleware(i),Ae)}});const getRetryAfterHint=i=>{if(!V.HttpResponse.isInstance(i))return;const d=Object.keys(i.headers).find((i=>i.toLowerCase()==="retry-after"));if(!d)return;const p=i.headers[d];const v=Number(p);if(!Number.isNaN(v))return new Date(v*1e3);const K=new Date(p);return K};d.AdaptiveRetryStrategy=AdaptiveRetryStrategy;d.CONFIG_MAX_ATTEMPTS=se;d.CONFIG_RETRY_MODE=ce;d.ENV_MAX_ATTEMPTS=ie;d.ENV_RETRY_MODE=ae;d.NODE_MAX_ATTEMPT_CONFIG_OPTIONS=oe;d.NODE_RETRY_MODE_CONFIG_OPTIONS=le;d.StandardRetryStrategy=StandardRetryStrategy;d.defaultDelayDecider=defaultDelayDecider;d.defaultRetryDecider=defaultRetryDecider;d.getOmitRetryHeadersPlugin=getOmitRetryHeadersPlugin;d.getRetryAfterHint=getRetryAfterHint;d.getRetryPlugin=getRetryPlugin;d.omitRetryHeadersMiddleware=omitRetryHeadersMiddleware;d.omitRetryHeadersMiddlewareOptions=ue;d.resolveRetryConfig=resolveRetryConfig;d.retryMiddleware=retryMiddleware;d.retryMiddlewareOptions=Ae},49831:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.isStreamingPayload=void 0;const v=p(2203);const isStreamingPayload=i=>i?.body instanceof v.Readable||typeof ReadableStream!=="undefined"&&i?.body instanceof ReadableStream;d.isStreamingPayload=isStreamingPayload},83255:(i,d,p)=>{var v=p(72356);const deserializerMiddleware=(i,d)=>(p,V)=>async K=>{const{response:ee}=await p(K);try{const p=await d(ee,i);return{response:ee,output:p}}catch(i){Object.defineProperty(i,"$response",{value:ee,enumerable:false,writable:false,configurable:false});if(!("$metadata"in i)){const d=`Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`;try{i.message+="\n "+d}catch(i){if(!V.logger||V.logger?.constructor?.name==="NoOpLogger"){console.warn(d)}else{V.logger?.warn?.(d)}}if(typeof i.$responseBodyText!=="undefined"){if(i.$response){i.$response.body=i.$responseBodyText}}try{if(v.HttpResponse.isInstance(ee)){const{headers:d={}}=ee;const p=Object.entries(d);i.$metadata={httpStatusCode:ee.statusCode,requestId:findHeader(/^x-[\w-]+-request-?id$/,p),extendedRequestId:findHeader(/^x-[\w-]+-id-2$/,p),cfId:findHeader(/^x-[\w-]+-cf-id$/,p)}}}catch(i){}}throw i}};const findHeader=(i,d)=>(d.find((([d])=>d.match(i)))||[void 0,void 0])[1];const serializerMiddleware=(i,d)=>(p,v)=>async V=>{const K=i;const ee=v.endpointV2?.url&&K.urlParser?async()=>K.urlParser(v.endpointV2.url):K.endpoint;if(!ee){throw new Error("No valid endpoint provider available.")}const te=await d(V.input,{...i,endpoint:ee});return p({...V,request:te})};const V={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:true};const K={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:true};function getSerdePlugin(i,d,p){return{applyToStack:v=>{v.add(deserializerMiddleware(i,p),V);v.add(serializerMiddleware(i,d),K)}}}d.deserializerMiddleware=deserializerMiddleware;d.deserializerMiddlewareOption=V;d.getSerdePlugin=getSerdePlugin;d.serializerMiddleware=serializerMiddleware;d.serializerMiddlewareOption=K},9208:(i,d)=>{const getAllAliases=(i,d)=>{const p=[];if(i){p.push(i)}if(d){for(const i of d){p.push(i)}}return p};const getMiddlewareNameWithAliases=(i,d)=>`${i||"anonymous"}${d&&d.length>0?` (a.k.a. ${d.join(",")})`:""}`;const constructStack=()=>{let i=[];let d=[];let V=false;const K=new Set;const sort=i=>i.sort(((i,d)=>p[d.step]-p[i.step]||v[d.priority||"normal"]-v[i.priority||"normal"]));const removeByName=p=>{let v=false;const filterCb=i=>{const d=getAllAliases(i.name,i.aliases);if(d.includes(p)){v=true;for(const i of d){K.delete(i)}return false}return true};i=i.filter(filterCb);d=d.filter(filterCb);return v};const removeByReference=p=>{let v=false;const filterCb=i=>{if(i.middleware===p){v=true;for(const d of getAllAliases(i.name,i.aliases)){K.delete(d)}return false}return true};i=i.filter(filterCb);d=d.filter(filterCb);return v};const cloneTo=p=>{i.forEach((i=>{p.add(i.middleware,{...i})}));d.forEach((i=>{p.addRelativeTo(i.middleware,{...i})}));p.identifyOnResolve?.(ee.identifyOnResolve());return p};const expandRelativeMiddlewareList=i=>{const d=[];i.before.forEach((i=>{if(i.before.length===0&&i.after.length===0){d.push(i)}else{d.push(...expandRelativeMiddlewareList(i))}}));d.push(i);i.after.reverse().forEach((i=>{if(i.before.length===0&&i.after.length===0){d.push(i)}else{d.push(...expandRelativeMiddlewareList(i))}}));return d};const getMiddlewareList=(p=false)=>{const v=[];const V=[];const K={};i.forEach((i=>{const d={...i,before:[],after:[]};for(const i of getAllAliases(d.name,d.aliases)){K[i]=d}v.push(d)}));d.forEach((i=>{const d={...i,before:[],after:[]};for(const i of getAllAliases(d.name,d.aliases)){K[i]=d}V.push(d)}));V.forEach((i=>{if(i.toMiddleware){const d=K[i.toMiddleware];if(d===undefined){if(p){return}throw new Error(`${i.toMiddleware} is not found when adding `+`${getMiddlewareNameWithAliases(i.name,i.aliases)} `+`middleware ${i.relation} ${i.toMiddleware}`)}if(i.relation==="after"){d.after.push(i)}if(i.relation==="before"){d.before.push(i)}}}));const ee=sort(v).map(expandRelativeMiddlewareList).reduce(((i,d)=>{i.push(...d);return i}),[]);return ee};const ee={add:(d,p={})=>{const{name:v,override:V,aliases:ee}=p;const te={step:"initialize",priority:"normal",middleware:d,...p};const re=getAllAliases(v,ee);if(re.length>0){if(re.some((i=>K.has(i)))){if(!V)throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(v,ee)}'`);for(const d of re){const p=i.findIndex((i=>i.name===d||i.aliases?.some((i=>i===d))));if(p===-1){continue}const V=i[p];if(V.step!==te.step||te.priority!==V.priority){throw new Error(`"${getMiddlewareNameWithAliases(V.name,V.aliases)}" middleware with `+`${V.priority} priority in ${V.step} step cannot `+`be overridden by "${getMiddlewareNameWithAliases(v,ee)}" middleware with `+`${te.priority} priority in ${te.step} step.`)}i.splice(p,1)}}for(const i of re){K.add(i)}}i.push(te)},addRelativeTo:(i,p)=>{const{name:v,override:V,aliases:ee}=p;const te={middleware:i,...p};const re=getAllAliases(v,ee);if(re.length>0){if(re.some((i=>K.has(i)))){if(!V)throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(v,ee)}'`);for(const i of re){const p=d.findIndex((d=>d.name===i||d.aliases?.some((d=>d===i))));if(p===-1){continue}const V=d[p];if(V.toMiddleware!==te.toMiddleware||V.relation!==te.relation){throw new Error(`"${getMiddlewareNameWithAliases(V.name,V.aliases)}" middleware `+`${V.relation} "${V.toMiddleware}" middleware cannot be overridden `+`by "${getMiddlewareNameWithAliases(v,ee)}" middleware ${te.relation} `+`"${te.toMiddleware}" middleware.`)}d.splice(p,1)}}for(const i of re){K.add(i)}}d.push(te)},clone:()=>cloneTo(constructStack()),use:i=>{i.applyToStack(ee)},remove:i=>{if(typeof i==="string")return removeByName(i);else return removeByReference(i)},removeByTag:p=>{let v=false;const filterCb=i=>{const{tags:d,name:V,aliases:ee}=i;if(d&&d.includes(p)){const i=getAllAliases(V,ee);for(const d of i){K.delete(d)}v=true;return false}return true};i=i.filter(filterCb);d=d.filter(filterCb);return v},concat:i=>{const d=cloneTo(constructStack());d.use(i);d.identifyOnResolve(V||d.identifyOnResolve()||(i.identifyOnResolve?.()??false));return d},applyToStack:cloneTo,identify:()=>getMiddlewareList(true).map((i=>{const d=i.step??i.relation+" "+i.toMiddleware;return getMiddlewareNameWithAliases(i.name,i.aliases)+" - "+d})),identifyOnResolve(i){if(typeof i==="boolean")V=i;return V},resolve:(i,d)=>{for(const p of getMiddlewareList().map((i=>i.middleware)).reverse()){i=p(i,d)}if(V){console.log(ee.identify())}return i}};return ee};const p={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1};const v={high:3,normal:2,low:1};d.constructStack=constructStack},55704:(i,d,p)=>{var v=p(71238);var V=p(94964);function getSelectorName(i){try{const d=new Set(Array.from(i.match(/([A-Z_]){3,}/g)??[]));d.delete("CONFIG");d.delete("CONFIG_PREFIX_SEPARATOR");d.delete("ENV");return[...d].join(", ")}catch(d){return i}}const fromEnv=(i,d)=>async()=>{try{const p=i(process.env,d);if(p===undefined){throw new Error}return p}catch(p){throw new v.CredentialsProviderError(p.message||`Not found in ENV: ${getSelectorName(i.toString())}`,{logger:d?.logger})}};const fromSharedConfigFiles=(i,{preferredFile:d="config",...p}={})=>async()=>{const K=V.getProfileName(p);const{configFile:ee,credentialsFile:te}=await V.loadSharedConfigFiles(p);const re=te[K]||{};const ne=ee[K]||{};const ie=d==="config"?{...re,...ne}:{...ne,...re};try{const p=d==="config"?ee:te;const v=i(ie,p);if(v===undefined){throw new Error}return v}catch(d){throw new v.CredentialsProviderError(d.message||`Not found in config files w/ profile [${K}]: ${getSelectorName(i.toString())}`,{logger:p.logger})}};const isFunction=i=>typeof i==="function";const fromStatic=i=>isFunction(i)?async()=>await i():v.fromStatic(i);const loadConfig=({environmentVariableSelector:i,configFileSelector:d,default:p},V={})=>{const{signingName:K,logger:ee}=V;const te={signingName:K,logger:ee};return v.memoize(v.chain(fromEnv(i,te),fromSharedConfigFiles(d,V),fromStatic(p)))};d.loadConfig=loadConfig},61279:(i,d,p)=>{var v=p(72356);var V=p(18256);var K=p(58611);var ee=p(65692);var te=p(2203);var re=p(85675);const ne=["ECONNRESET","EPIPE","ETIMEDOUT"];const getTransformedHeaders=i=>{const d={};for(const p of Object.keys(i)){const v=i[p];d[p]=Array.isArray(v)?v.join(","):v}return d};const ie={setTimeout:(i,d)=>setTimeout(i,d),clearTimeout:i=>clearTimeout(i)};const se=1e3;const setConnectionTimeout=(i,d,p=0)=>{if(!p){return-1}const registerTimeout=v=>{const V=ie.setTimeout((()=>{i.destroy();d(Object.assign(new Error(`@smithy/node-http-handler - the request socket did not establish a connection with the server within the configured timeout of ${p} ms.`),{name:"TimeoutError"}))}),p-v);const doWithSocket=i=>{if(i?.connecting){i.on("connect",(()=>{ie.clearTimeout(V)}))}else{ie.clearTimeout(V)}};if(i.socket){doWithSocket(i.socket)}else{i.on("socket",doWithSocket)}};if(p<2e3){registerTimeout(0);return 0}return ie.setTimeout(registerTimeout.bind(null,se),se)};const setRequestTimeout=(i,d,p=0,v,V)=>{if(p){return ie.setTimeout((()=>{let K=`@smithy/node-http-handler - [${v?"ERROR":"WARN"}] a request has exceeded the configured ${p} ms requestTimeout.`;if(v){const p=Object.assign(new Error(K),{name:"TimeoutError",code:"ETIMEDOUT"});i.destroy(p);d(p)}else{K+=` Init client requestHandler with throwOnRequestTimeout=true to turn this into an error.`;V?.warn?.(K)}}),p)}return-1};const oe=3e3;const setSocketKeepAlive=(i,{keepAlive:d,keepAliveMsecs:p},v=oe)=>{if(d!==true){return-1}const registerListener=()=>{if(i.socket){i.socket.setKeepAlive(d,p||0)}else{i.on("socket",(i=>{i.setKeepAlive(d,p||0)}))}};if(v===0){registerListener();return 0}return ie.setTimeout(registerListener,v)};const ae=3e3;const setSocketTimeout=(i,d,p=0)=>{const registerTimeout=v=>{const V=p-v;const onTimeout=()=>{i.destroy();d(Object.assign(new Error(`@smithy/node-http-handler - the request socket timed out after ${p} ms of inactivity (configured by client requestHandler).`),{name:"TimeoutError"}))};if(i.socket){i.socket.setTimeout(V,onTimeout);i.on("close",(()=>i.socket?.removeListener("timeout",onTimeout)))}else{i.setTimeout(V,onTimeout)}};if(0{ee=Number(ie.setTimeout((()=>i(true)),Math.max(ce,p)))})),new Promise((d=>{i.on("continue",(()=>{ie.clearTimeout(ee);d(true)}));i.on("response",(()=>{ie.clearTimeout(ee);d(false)}));i.on("error",(()=>{ie.clearTimeout(ee);d(false)}))}))])}if(te){writeBody(i,d.body)}}function writeBody(i,d){if(d instanceof te.Readable){d.pipe(i);return}if(d){if(Buffer.isBuffer(d)||typeof d==="string"){i.end(d);return}const p=d;if(typeof p==="object"&&p.buffer&&typeof p.byteOffset==="number"&&typeof p.byteLength==="number"){i.end(Buffer.from(p.buffer,p.byteOffset,p.byteLength));return}i.end(Buffer.from(d));return}i.end()}const le=0;class NodeHttpHandler{config;configProvider;socketWarningTimestamp=0;externalAgent=false;metadata={handlerProtocol:"http/1.1"};static create(i){if(typeof i?.handle==="function"){return i}return new NodeHttpHandler(i)}static checkSocketUsage(i,d,p=console){const{sockets:v,requests:V,maxSockets:K}=i;if(typeof K!=="number"||K===Infinity){return d}const ee=15e3;if(Date.now()-ee=K&&ee>=2*K){p?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${d} and ${ee} additional requests are enqueued.\nSee https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html\nor increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`);return Date.now()}}}return d}constructor(i){this.configProvider=new Promise(((d,p)=>{if(typeof i==="function"){i().then((i=>{d(this.resolveDefaultConfig(i))})).catch(p)}else{d(this.resolveDefaultConfig(i))}}))}resolveDefaultConfig(i){const{requestTimeout:d,connectionTimeout:p,socketTimeout:v,socketAcquisitionWarningTimeout:V,httpAgent:te,httpsAgent:re,throwOnRequestTimeout:ne}=i||{};const ie=true;const se=50;return{connectionTimeout:p,requestTimeout:d,socketTimeout:v,socketAcquisitionWarningTimeout:V,throwOnRequestTimeout:ne,httpAgent:(()=>{if(te instanceof K.Agent||typeof te?.destroy==="function"){this.externalAgent=true;return te}return new K.Agent({keepAlive:ie,maxSockets:se,...te})})(),httpsAgent:(()=>{if(re instanceof ee.Agent||typeof re?.destroy==="function"){this.externalAgent=true;return re}return new ee.Agent({keepAlive:ie,maxSockets:se,...re})})(),logger:console}}destroy(){this.config?.httpAgent?.destroy();this.config?.httpsAgent?.destroy()}async handle(i,{abortSignal:d,requestTimeout:p}={}){if(!this.config){this.config=await this.configProvider}return new Promise(((te,re)=>{const se=this.config;let oe=undefined;const ae=[];const resolve=async i=>{await oe;ae.forEach(ie.clearTimeout);te(i)};const reject=async i=>{await oe;ae.forEach(ie.clearTimeout);re(i)};if(d?.aborted){const i=new Error("Request aborted");i.name="AbortError";reject(i);return}const ce=i.protocol==="https:";const le=i.headers??{};const ue=(le.Expect??le.expect)==="100-continue";let Ae=ce?se.httpsAgent:se.httpAgent;if(ue&&!this.externalAgent){Ae=new(ce?ee.Agent:K.Agent)({keepAlive:false,maxSockets:Infinity})}ae.push(ie.setTimeout((()=>{this.socketWarningTimestamp=NodeHttpHandler.checkSocketUsage(Ae,this.socketWarningTimestamp,se.logger)}),se.socketAcquisitionWarningTimeout??(se.requestTimeout??2e3)+(se.connectionTimeout??1e3)));const de=V.buildQueryString(i.query||{});let pe=undefined;if(i.username!=null||i.password!=null){const d=i.username??"";const p=i.password??"";pe=`${d}:${p}`}let fe=i.path;if(de){fe+=`?${de}`}if(i.fragment){fe+=`#${i.fragment}`}let he=i.hostname??"";if(he[0]==="["&&he.endsWith("]")){he=i.hostname.slice(1,-1)}else{he=i.hostname}const ge={headers:i.headers,host:he,method:i.method,path:fe,port:i.port,agent:Ae,auth:pe};const me=ce?ee.request:K.request;const Ee=me(ge,(i=>{const d=new v.HttpResponse({statusCode:i.statusCode||-1,reason:i.statusMessage,headers:getTransformedHeaders(i.headers),body:i});resolve({response:d})}));Ee.on("error",(i=>{if(ne.includes(i.code)){reject(Object.assign(i,{name:"TimeoutError"}))}else{reject(i)}}));if(d){const onAbort=()=>{Ee.destroy();const i=new Error("Request aborted");i.name="AbortError";reject(i)};if(typeof d.addEventListener==="function"){const i=d;i.addEventListener("abort",onAbort,{once:true});Ee.once("close",(()=>i.removeEventListener("abort",onAbort)))}else{d.onabort=onAbort}}const ye=p??se.requestTimeout;ae.push(setConnectionTimeout(Ee,reject,se.connectionTimeout));ae.push(setRequestTimeout(Ee,reject,ye,se.throwOnRequestTimeout,se.logger??console));ae.push(setSocketTimeout(Ee,reject,se.socketTimeout));const Ce=ge.agent;if(typeof Ce==="object"&&"keepAlive"in Ce){ae.push(setSocketKeepAlive(Ee,{keepAlive:Ce.keepAlive,keepAliveMsecs:Ce.keepAliveMsecs}))}oe=writeRequestBody(Ee,i,ye,this.externalAgent).catch((i=>{ae.forEach(ie.clearTimeout);return re(i)}))}))}updateHttpClientConfig(i,d){this.config=undefined;this.configProvider=this.configProvider.then((p=>({...p,[i]:d})))}httpHandlerConfigs(){return this.config??{}}}class NodeHttp2ConnectionPool{sessions=[];constructor(i){this.sessions=i??[]}poll(){if(this.sessions.length>0){return this.sessions.shift()}}offerLast(i){this.sessions.push(i)}contains(i){return this.sessions.includes(i)}remove(i){this.sessions=this.sessions.filter((d=>d!==i))}[Symbol.iterator](){return this.sessions[Symbol.iterator]()}destroy(i){for(const d of this.sessions){if(d===i){if(!d.destroyed){d.destroy()}}}}}class NodeHttp2ConnectionManager{constructor(i){this.config=i;if(this.config.maxConcurrency&&this.config.maxConcurrency<=0){throw new RangeError("maxConcurrency must be greater than zero.")}}config;sessionCache=new Map;lease(i,d){const p=this.getUrlString(i);const v=this.sessionCache.get(p);if(v){const i=v.poll();if(i&&!this.config.disableConcurrency){return i}}const V=re.connect(p);if(this.config.maxConcurrency){V.settings({maxConcurrentStreams:this.config.maxConcurrency},(d=>{if(d){throw new Error("Fail to set maxConcurrentStreams to "+this.config.maxConcurrency+"when creating new session for "+i.destination.toString())}}))}V.unref();const destroySessionCb=()=>{V.destroy();this.deleteSession(p,V)};V.on("goaway",destroySessionCb);V.on("error",destroySessionCb);V.on("frameError",destroySessionCb);V.on("close",(()=>this.deleteSession(p,V)));if(d.requestTimeout){V.setTimeout(d.requestTimeout,destroySessionCb)}const K=this.sessionCache.get(p)||new NodeHttp2ConnectionPool;K.offerLast(V);this.sessionCache.set(p,K);return V}deleteSession(i,d){const p=this.sessionCache.get(i);if(!p){return}if(!p.contains(d)){return}p.remove(d);this.sessionCache.set(i,p)}release(i,d){const p=this.getUrlString(i);this.sessionCache.get(p)?.offerLast(d)}destroy(){for(const[i,d]of this.sessionCache){for(const i of d){if(!i.destroyed){i.destroy()}d.remove(i)}this.sessionCache.delete(i)}}setMaxConcurrentStreams(i){if(i&&i<=0){throw new RangeError("maxConcurrentStreams must be greater than zero.")}this.config.maxConcurrency=i}setDisableConcurrentStreams(i){this.config.disableConcurrency=i}getUrlString(i){return i.destination.toString()}}class NodeHttp2Handler{config;configProvider;metadata={handlerProtocol:"h2"};connectionManager=new NodeHttp2ConnectionManager({});static create(i){if(typeof i?.handle==="function"){return i}return new NodeHttp2Handler(i)}constructor(i){this.configProvider=new Promise(((d,p)=>{if(typeof i==="function"){i().then((i=>{d(i||{})})).catch(p)}else{d(i||{})}}))}destroy(){this.connectionManager.destroy()}async handle(i,{abortSignal:d,requestTimeout:p}={}){if(!this.config){this.config=await this.configProvider;this.connectionManager.setDisableConcurrentStreams(this.config.disableConcurrentStreams||false);if(this.config.maxConcurrentStreams){this.connectionManager.setMaxConcurrentStreams(this.config.maxConcurrentStreams)}}const{requestTimeout:K,disableConcurrentStreams:ee}=this.config;const te=p??K;return new Promise(((p,K)=>{let ne=false;let ie=undefined;const resolve=async i=>{await ie;p(i)};const reject=async i=>{await ie;K(i)};if(d?.aborted){ne=true;const i=new Error("Request aborted");i.name="AbortError";reject(i);return}const{hostname:se,method:oe,port:ae,protocol:ce,query:le}=i;let ue="";if(i.username!=null||i.password!=null){const d=i.username??"";const p=i.password??"";ue=`${d}:${p}@`}const Ae=`${ce}//${ue}${se}${ae?`:${ae}`:""}`;const de={destination:new URL(Ae)};const pe=this.connectionManager.lease(de,{requestTimeout:this.config?.sessionTimeout,disableConcurrentStreams:ee||false});const rejectWithDestroy=i=>{if(ee){this.destroySession(pe)}ne=true;reject(i)};const fe=V.buildQueryString(le||{});let he=i.path;if(fe){he+=`?${fe}`}if(i.fragment){he+=`#${i.fragment}`}const ge=pe.request({...i.headers,[re.constants.HTTP2_HEADER_PATH]:he,[re.constants.HTTP2_HEADER_METHOD]:oe});pe.ref();ge.on("response",(i=>{const d=new v.HttpResponse({statusCode:i[":status"]||-1,headers:getTransformedHeaders(i),body:ge});ne=true;resolve({response:d});if(ee){pe.close();this.connectionManager.deleteSession(Ae,pe)}}));if(te){ge.setTimeout(te,(()=>{ge.close();const i=new Error(`Stream timed out because of no activity for ${te} ms`);i.name="TimeoutError";rejectWithDestroy(i)}))}if(d){const onAbort=()=>{ge.close();const i=new Error("Request aborted");i.name="AbortError";rejectWithDestroy(i)};if(typeof d.addEventListener==="function"){const i=d;i.addEventListener("abort",onAbort,{once:true});ge.once("close",(()=>i.removeEventListener("abort",onAbort)))}else{d.onabort=onAbort}}ge.on("frameError",((i,d,p)=>{rejectWithDestroy(new Error(`Frame type id ${i} in stream id ${p} has failed with code ${d}.`))}));ge.on("error",rejectWithDestroy);ge.on("aborted",(()=>{rejectWithDestroy(new Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${ge.rstCode}.`))}));ge.on("close",(()=>{pe.unref();if(ee){pe.destroy()}if(!ne){rejectWithDestroy(new Error("Unexpected error: http2 request did not get a response"))}}));ie=writeRequestBody(ge,i,te)}))}updateHttpClientConfig(i,d){this.config=undefined;this.configProvider=this.configProvider.then((p=>({...p,[i]:d})))}httpHandlerConfigs(){return this.config??{}}destroySession(i){if(!i.destroyed){i.destroy()}}}class Collector extends te.Writable{bufferedBytes=[];_write(i,d,p){this.bufferedBytes.push(i);p()}}const streamCollector=i=>{if(isReadableStreamInstance(i)){return collectReadableStream(i)}return new Promise(((d,p)=>{const v=new Collector;i.pipe(v);i.on("error",(i=>{v.end();p(i)}));v.on("error",p);v.on("finish",(function(){const i=new Uint8Array(Buffer.concat(this.bufferedBytes));d(i)}))}))};const isReadableStreamInstance=i=>typeof ReadableStream==="function"&&i instanceof ReadableStream;async function collectReadableStream(i){const d=[];const p=i.getReader();let v=false;let V=0;while(!v){const{done:i,value:K}=await p.read();if(K){d.push(K);V+=K.length}v=i}const K=new Uint8Array(V);let ee=0;for(const i of d){K.set(i,ee);ee+=i.length}return K}d.DEFAULT_REQUEST_TIMEOUT=le;d.NodeHttp2Handler=NodeHttp2Handler;d.NodeHttpHandler=NodeHttpHandler;d.streamCollector=streamCollector},71238:(i,d)=>{class ProviderError extends Error{name="ProviderError";tryNextLink;constructor(i,d=true){let p;let v=true;if(typeof d==="boolean"){p=undefined;v=d}else if(d!=null&&typeof d==="object"){p=d.logger;v=d.tryNextLink??true}super(i);this.tryNextLink=v;Object.setPrototypeOf(this,ProviderError.prototype);p?.debug?.(`@smithy/property-provider ${v?"->":"(!)"} ${i}`)}static from(i,d=true){return Object.assign(new this(i.message,d),i)}}class CredentialsProviderError extends ProviderError{name="CredentialsProviderError";constructor(i,d=true){super(i,d);Object.setPrototypeOf(this,CredentialsProviderError.prototype)}}class TokenProviderError extends ProviderError{name="TokenProviderError";constructor(i,d=true){super(i,d);Object.setPrototypeOf(this,TokenProviderError.prototype)}}const chain=(...i)=>async()=>{if(i.length===0){throw new ProviderError("No providers in chain")}let d;for(const p of i){try{const i=await p();return i}catch(i){d=i;if(i?.tryNextLink){continue}throw i}}throw d};const fromStatic=i=>()=>Promise.resolve(i);const memoize=(i,d,p)=>{let v;let V;let K;let ee=false;const coalesceProvider=async()=>{if(!V){V=i()}try{v=await V;K=true;ee=false}finally{V=undefined}return v};if(d===undefined){return async i=>{if(!K||i?.forceRefresh){v=await coalesceProvider()}return v}}return async i=>{if(!K||i?.forceRefresh){v=await coalesceProvider()}if(ee){return v}if(p&&!p(v)){ee=true;return v}if(d(v)){await coalesceProvider();return v}return v}};d.CredentialsProviderError=CredentialsProviderError;d.ProviderError=ProviderError;d.TokenProviderError=TokenProviderError;d.chain=chain;d.fromStatic=fromStatic;d.memoize=memoize},72356:(i,d,p)=>{var v=p(90690);const getHttpHandlerExtensionConfiguration=i=>({setHttpHandler(d){i.httpHandler=d},httpHandler(){return i.httpHandler},updateHttpClientConfig(d,p){i.httpHandler?.updateHttpClientConfig(d,p)},httpHandlerConfigs(){return i.httpHandler.httpHandlerConfigs()}});const resolveHttpHandlerRuntimeConfig=i=>({httpHandler:i.httpHandler()});class Field{name;kind;values;constructor({name:i,kind:d=v.FieldPosition.HEADER,values:p=[]}){this.name=i;this.kind=d;this.values=p}add(i){this.values.push(i)}set(i){this.values=i}remove(i){this.values=this.values.filter((d=>d!==i))}toString(){return this.values.map((i=>i.includes(",")||i.includes(" ")?`"${i}"`:i)).join(", ")}get(){return this.values}}class Fields{entries={};encoding;constructor({fields:i=[],encoding:d="utf-8"}){i.forEach(this.setField.bind(this));this.encoding=d}setField(i){this.entries[i.name.toLowerCase()]=i}getField(i){return this.entries[i.toLowerCase()]}removeField(i){delete this.entries[i.toLowerCase()]}getByType(i){return Object.values(this.entries).filter((d=>d.kind===i))}}class HttpRequest{method;protocol;hostname;port;path;query;headers;username;password;fragment;body;constructor(i){this.method=i.method||"GET";this.hostname=i.hostname||"localhost";this.port=i.port;this.query=i.query||{};this.headers=i.headers||{};this.body=i.body;this.protocol=i.protocol?i.protocol.slice(-1)!==":"?`${i.protocol}:`:i.protocol:"https:";this.path=i.path?i.path.charAt(0)!=="/"?`/${i.path}`:i.path:"/";this.username=i.username;this.password=i.password;this.fragment=i.fragment}static clone(i){const d=new HttpRequest({...i,headers:{...i.headers}});if(d.query){d.query=cloneQuery(d.query)}return d}static isInstance(i){if(!i){return false}const d=i;return"method"in d&&"protocol"in d&&"hostname"in d&&"path"in d&&typeof d["query"]==="object"&&typeof d["headers"]==="object"}clone(){return HttpRequest.clone(this)}}function cloneQuery(i){return Object.keys(i).reduce(((d,p)=>{const v=i[p];return{...d,[p]:Array.isArray(v)?[...v]:v}}),{})}class HttpResponse{statusCode;reason;headers;body;constructor(i){this.statusCode=i.statusCode;this.reason=i.reason;this.headers=i.headers||{};this.body=i.body}static isInstance(i){if(!i)return false;const d=i;return typeof d.statusCode==="number"&&typeof d.headers==="object"}}function isValidHostname(i){const d=/^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/;return d.test(i)}d.Field=Field;d.Fields=Fields;d.HttpRequest=HttpRequest;d.HttpResponse=HttpResponse;d.getHttpHandlerExtensionConfiguration=getHttpHandlerExtensionConfiguration;d.isValidHostname=isValidHostname;d.resolveHttpHandlerRuntimeConfig=resolveHttpHandlerRuntimeConfig},18256:(i,d,p)=>{var v=p(80146);function buildQueryString(i){const d=[];for(let p of Object.keys(i).sort()){const V=i[p];p=v.escapeUri(p);if(Array.isArray(V)){for(let i=0,K=V.length;i{function parseQueryString(i){const d={};i=i.replace(/^\?/,"");if(i){for(const p of i.split("&")){let[i,v=null]=p.split("=");i=decodeURIComponent(i);if(v){v=decodeURIComponent(v)}if(!(i in d)){d[i]=v}else if(Array.isArray(d[i])){d[i].push(v)}else{d[i]=[d[i],v]}}}return d}d.parseQueryString=parseQueryString},42058:(i,d)=>{const p=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"];const v=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"];const V=["TimeoutError","RequestTimeout","RequestTimeoutException"];const K=[500,502,503,504];const ee=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"];const te=["EHOSTUNREACH","ENETUNREACH","ENOTFOUND"];const isRetryableByTrait=i=>i?.$retryable!==undefined;const isClockSkewError=i=>p.includes(i.name);const isClockSkewCorrectedError=i=>i.$metadata?.clockSkewCorrected;const isBrowserNetworkError=i=>{const d=new Set(["Failed to fetch","NetworkError when attempting to fetch resource","The Internet connection appears to be offline","Load failed","Network request failed"]);const p=i&&i instanceof TypeError;if(!p){return false}return d.has(i.message)};const isThrottlingError=i=>i.$metadata?.httpStatusCode===429||v.includes(i.name)||i.$retryable?.throttling==true;const isTransientError=(i,d=0)=>isRetryableByTrait(i)||isClockSkewCorrectedError(i)||V.includes(i.name)||ee.includes(i?.code||"")||te.includes(i?.code||"")||K.includes(i.$metadata?.httpStatusCode||0)||isBrowserNetworkError(i)||i.cause!==undefined&&d<=10&&isTransientError(i.cause,d+1);const isServerError=i=>{if(i.$metadata?.httpStatusCode!==undefined){const d=i.$metadata.httpStatusCode;if(500<=d&&d<=599&&!isTransientError(i)){return true}return false}return false};d.isBrowserNetworkError=isBrowserNetworkError;d.isClockSkewCorrectedError=isClockSkewCorrectedError;d.isClockSkewError=isClockSkewError;d.isRetryableByTrait=isRetryableByTrait;d.isServerError=isServerError;d.isThrottlingError=isThrottlingError;d.isTransientError=isTransientError},54172:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getHomeDir=void 0;const v=p(70857);const V=p(16928);const K={};const getHomeDirCacheKey=()=>{if(process&&process.geteuid){return`${process.geteuid()}`}return"DEFAULT"};const getHomeDir=()=>{const{HOME:i,USERPROFILE:d,HOMEPATH:p,HOMEDRIVE:ee=`C:${V.sep}`}=process.env;if(i)return i;if(d)return d;if(p)return`${ee}${p}`;const te=getHomeDirCacheKey();if(!K[te])K[te]=(0,v.homedir)();return K[te]};d.getHomeDir=getHomeDir},20269:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getSSOTokenFilepath=void 0;const v=p(76982);const V=p(16928);const K=p(54172);const getSSOTokenFilepath=i=>{const d=(0,v.createHash)("sha1");const p=d.update(i).digest("hex");return(0,V.join)((0,K.getHomeDir)(),".aws","sso","cache",`${p}.json`)};d.getSSOTokenFilepath=getSSOTokenFilepath},88945:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getSSOTokenFromFile=d.tokenIntercept=void 0;const v=p(91943);const V=p(20269);d.tokenIntercept={};const getSSOTokenFromFile=async i=>{if(d.tokenIntercept[i]){return d.tokenIntercept[i]}const p=(0,V.getSSOTokenFilepath)(i);const K=await(0,v.readFile)(p,"utf8");return JSON.parse(K)};d.getSSOTokenFromFile=getSSOTokenFromFile},94964:(i,d,p)=>{var v=p(54172);var V=p(20269);var K=p(88945);var ee=p(16928);var te=p(90690);var re=p(96684);const ne="AWS_PROFILE";const ie="default";const getProfileName=i=>i.profile||process.env[ne]||ie;const se=".";const getConfigData=i=>Object.entries(i).filter((([i])=>{const d=i.indexOf(se);if(d===-1){return false}return Object.values(te.IniSectionType).includes(i.substring(0,d))})).reduce(((i,[d,p])=>{const v=d.indexOf(se);const V=d.substring(0,v)===te.IniSectionType.PROFILE?d.substring(v+1):d;i[V]=p;return i}),{...i.default&&{default:i.default}});const oe="AWS_CONFIG_FILE";const getConfigFilepath=()=>process.env[oe]||ee.join(v.getHomeDir(),".aws","config");const ae="AWS_SHARED_CREDENTIALS_FILE";const getCredentialsFilepath=()=>process.env[ae]||ee.join(v.getHomeDir(),".aws","credentials");const ce=/^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/;const le=["__proto__","profile __proto__"];const parseIni=i=>{const d={};let p;let v;for(const V of i.split(/\r?\n/)){const i=V.split(/(^|\s)[;#]/)[0].trim();const K=i[0]==="["&&i[i.length-1]==="]";if(K){p=undefined;v=undefined;const d=i.substring(1,i.length-1);const V=ce.exec(d);if(V){const[,i,,d]=V;if(Object.values(te.IniSectionType).includes(i)){p=[i,d].join(se)}}else{p=d}if(le.includes(d)){throw new Error(`Found invalid profile name "${d}"`)}}else if(p){const K=i.indexOf("=");if(![0,-1].includes(K)){const[ee,te]=[i.substring(0,K).trim(),i.substring(K+1).trim()];if(te===""){v=ee}else{if(v&&V.trimStart()===V){v=undefined}d[p]=d[p]||{};const i=v?[v,ee].join(se):ee;d[p][i]=te}}}}return d};const swallowError$1=()=>({});const loadSharedConfigFiles=async(i={})=>{const{filepath:d=getCredentialsFilepath(),configFilepath:p=getConfigFilepath()}=i;const V=v.getHomeDir();const K="~/";let te=d;if(d.startsWith(K)){te=ee.join(V,d.slice(2))}let ne=p;if(p.startsWith(K)){ne=ee.join(V,p.slice(2))}const ie=await Promise.all([re.readFile(ne,{ignoreCache:i.ignoreCache}).then(parseIni).then(getConfigData).catch(swallowError$1),re.readFile(te,{ignoreCache:i.ignoreCache}).then(parseIni).catch(swallowError$1)]);return{configFile:ie[0],credentialsFile:ie[1]}};const getSsoSessionData=i=>Object.entries(i).filter((([i])=>i.startsWith(te.IniSectionType.SSO_SESSION+se))).reduce(((i,[d,p])=>({...i,[d.substring(d.indexOf(se)+1)]:p})),{});const swallowError=()=>({});const loadSsoSessionData=async(i={})=>re.readFile(i.configFilepath??getConfigFilepath()).then(parseIni).then(getSsoSessionData).catch(swallowError);const mergeConfigFiles=(...i)=>{const d={};for(const p of i){for(const[i,v]of Object.entries(p)){if(d[i]!==undefined){Object.assign(d[i],v)}else{d[i]=v}}}return d};const parseKnownFiles=async i=>{const d=await loadSharedConfigFiles(i);return mergeConfigFiles(d.configFile,d.credentialsFile)};const ue={getFileRecord(){return re.fileIntercept},interceptFile(i,d){re.fileIntercept[i]=Promise.resolve(d)},getTokenRecord(){return K.tokenIntercept},interceptToken(i,d){K.tokenIntercept[i]=d}};Object.defineProperty(d,"getSSOTokenFromFile",{enumerable:true,get:function(){return K.getSSOTokenFromFile}});Object.defineProperty(d,"readFile",{enumerable:true,get:function(){return re.readFile}});d.CONFIG_PREFIX_SEPARATOR=se;d.DEFAULT_PROFILE=ie;d.ENV_PROFILE=ne;d.externalDataInterceptor=ue;d.getProfileName=getProfileName;d.loadSharedConfigFiles=loadSharedConfigFiles;d.loadSsoSessionData=loadSsoSessionData;d.parseKnownFiles=parseKnownFiles;Object.keys(v).forEach((function(i){if(i!=="default"&&!Object.prototype.hasOwnProperty.call(d,i))Object.defineProperty(d,i,{enumerable:true,get:function(){return v[i]}})}));Object.keys(V).forEach((function(i){if(i!=="default"&&!Object.prototype.hasOwnProperty.call(d,i))Object.defineProperty(d,i,{enumerable:true,get:function(){return V[i]}})}))},96684:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.readFile=d.fileIntercept=d.filePromises=void 0;const v=p(51455);d.filePromises={};d.fileIntercept={};const readFile=(i,p)=>{if(d.fileIntercept[i]!==undefined){return d.fileIntercept[i]}if(!d.filePromises[i]||p?.ignoreCache){d.filePromises[i]=(0,v.readFile)(i,"utf8")}return d.filePromises[i]};d.readFile=readFile},75118:(i,d,p)=>{var v=p(96435);var V=p(71577);var K=p(86130);var ee=p(72356);var te=p(76324);var re=p(80146);const ne="X-Amz-Algorithm";const ie="X-Amz-Credential";const se="X-Amz-Date";const oe="X-Amz-SignedHeaders";const ae="X-Amz-Expires";const ce="X-Amz-Signature";const le="X-Amz-Security-Token";const ue="X-Amz-Region-Set";const Ae="authorization";const de=se.toLowerCase();const pe="date";const fe=[Ae,de,pe];const he=ce.toLowerCase();const ge="x-amz-content-sha256";const me=le.toLowerCase();const Ee="host";const ye={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};const Ce=/^proxy-/;const be=/^sec-/;const Ie=[/^proxy-/i,/^sec-/i];const Be="AWS4-HMAC-SHA256";const we="AWS4-ECDSA-P256-SHA256";const Se="AWS4-HMAC-SHA256-PAYLOAD";const Qe="UNSIGNED-PAYLOAD";const ve=50;const Re="aws4_request";const Te=60*60*24*7;const Ne={};const ke=[];const createScope=(i,d,p)=>`${i}/${d}/${p}/${Re}`;const getSigningKey=async(i,d,p,V,K)=>{const ee=await hmac(i,d.secretAccessKey,d.accessKeyId);const te=`${p}:${V}:${K}:${v.toHex(ee)}:${d.sessionToken}`;if(te in Ne){return Ne[te]}ke.push(te);while(ke.length>ve){delete Ne[ke.shift()]}let re=`AWS4${d.secretAccessKey}`;for(const d of[p,V,K,Re]){re=await hmac(i,re,d)}return Ne[te]=re};const clearCredentialCache=()=>{ke.length=0;Object.keys(Ne).forEach((i=>{delete Ne[i]}))};const hmac=(i,d,p)=>{const v=new i(d);v.update(V.toUint8Array(p));return v.digest()};const getCanonicalHeaders=({headers:i},d,p)=>{const v={};for(const V of Object.keys(i).sort()){if(i[V]==undefined){continue}const K=V.toLowerCase();if(K in ye||d?.has(K)||Ce.test(K)||be.test(K)){if(!p||p&&!p.has(K)){continue}}v[K]=i[V].trim().replace(/\s+/g," ")}return v};const getPayloadHash=async({headers:i,body:d},p)=>{for(const d of Object.keys(i)){if(d.toLowerCase()===ge){return i[d]}}if(d==undefined){return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}else if(typeof d==="string"||ArrayBuffer.isView(d)||K.isArrayBuffer(d)){const i=new p;i.update(V.toUint8Array(d));return v.toHex(await i.digest())}return Qe};class HeaderFormatter{format(i){const d=[];for(const p of Object.keys(i)){const v=V.fromUtf8(p);d.push(Uint8Array.from([v.byteLength]),v,this.formatHeaderValue(i[p]))}const p=new Uint8Array(d.reduce(((i,d)=>i+d.byteLength),0));let v=0;for(const i of d){p.set(i,v);v+=i.byteLength}return p}formatHeaderValue(i){switch(i.type){case"boolean":return Uint8Array.from([i.value?0:1]);case"byte":return Uint8Array.from([2,i.value]);case"short":const d=new DataView(new ArrayBuffer(3));d.setUint8(0,3);d.setInt16(1,i.value,false);return new Uint8Array(d.buffer);case"integer":const p=new DataView(new ArrayBuffer(5));p.setUint8(0,4);p.setInt32(1,i.value,false);return new Uint8Array(p.buffer);case"long":const K=new Uint8Array(9);K[0]=5;K.set(i.value.bytes,1);return K;case"binary":const ee=new DataView(new ArrayBuffer(3+i.value.byteLength));ee.setUint8(0,6);ee.setUint16(1,i.value.byteLength,false);const te=new Uint8Array(ee.buffer);te.set(i.value,3);return te;case"string":const re=V.fromUtf8(i.value);const ne=new DataView(new ArrayBuffer(3+re.byteLength));ne.setUint8(0,7);ne.setUint16(1,re.byteLength,false);const ie=new Uint8Array(ne.buffer);ie.set(re,3);return ie;case"timestamp":const se=new Uint8Array(9);se[0]=8;se.set(Int64.fromNumber(i.value.valueOf()).bytes,1);return se;case"uuid":if(!De.test(i.value)){throw new Error(`Invalid UUID received: ${i.value}`)}const oe=new Uint8Array(17);oe[0]=9;oe.set(v.fromHex(i.value.replace(/\-/g,"")),1);return oe}}}const De=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class Int64{bytes;constructor(i){this.bytes=i;if(i.byteLength!==8){throw new Error("Int64 buffers must be exactly 8 bytes")}}static fromNumber(i){if(i>0x8000000000000000||i<-0x8000000000000000){throw new Error(`${i} is too large (or, if negative, too small) to represent as an Int64`)}const d=new Uint8Array(8);for(let p=7,v=Math.abs(Math.round(i));p>-1&&v>0;p--,v/=256){d[p]=v}if(i<0){negate(d)}return new Int64(d)}valueOf(){const i=this.bytes.slice(0);const d=i[0]&128;if(d){negate(i)}return parseInt(v.toHex(i),16)*(d?-1:1)}toString(){return String(this.valueOf())}}function negate(i){for(let d=0;d<8;d++){i[d]^=255}for(let d=7;d>-1;d--){i[d]++;if(i[d]!==0)break}}const hasHeader=(i,d)=>{i=i.toLowerCase();for(const p of Object.keys(d)){if(i===p.toLowerCase()){return true}}return false};const moveHeadersToQuery=(i,d={})=>{const{headers:p,query:v={}}=ee.HttpRequest.clone(i);for(const i of Object.keys(p)){const V=i.toLowerCase();if(V.slice(0,6)==="x-amz-"&&!d.unhoistableHeaders?.has(V)||d.hoistableHeaders?.has(V)){v[i]=p[i];delete p[i]}}return{...i,headers:p,query:v}};const prepareRequest=i=>{i=ee.HttpRequest.clone(i);for(const d of Object.keys(i.headers)){if(fe.indexOf(d.toLowerCase())>-1){delete i.headers[d]}}return i};const getCanonicalQuery=({query:i={}})=>{const d=[];const p={};for(const v of Object.keys(i)){if(v.toLowerCase()===he){continue}const V=re.escapeUri(v);d.push(V);const K=i[v];if(typeof K==="string"){p[V]=`${V}=${re.escapeUri(K)}`}else if(Array.isArray(K)){p[V]=K.slice(0).reduce(((i,d)=>i.concat([`${V}=${re.escapeUri(d)}`])),[]).sort().join("&")}}return d.sort().map((i=>p[i])).filter((i=>i)).join("&")};const iso8601=i=>toDate(i).toISOString().replace(/\.\d{3}Z$/,"Z");const toDate=i=>{if(typeof i==="number"){return new Date(i*1e3)}if(typeof i==="string"){if(Number(i)){return new Date(Number(i)*1e3)}return new Date(i)}return i};class SignatureV4Base{service;regionProvider;credentialProvider;sha256;uriEscapePath;applyChecksum;constructor({applyChecksum:i,credentials:d,region:p,service:v,sha256:V,uriEscapePath:K=true}){this.service=v;this.sha256=V;this.uriEscapePath=K;this.applyChecksum=typeof i==="boolean"?i:true;this.regionProvider=te.normalizeProvider(p);this.credentialProvider=te.normalizeProvider(d)}createCanonicalRequest(i,d,p){const v=Object.keys(d).sort();return`${i.method}\n${this.getCanonicalPath(i)}\n${getCanonicalQuery(i)}\n${v.map((i=>`${i}:${d[i]}`)).join("\n")}\n\n${v.join(";")}\n${p}`}async createStringToSign(i,d,p,K){const ee=new this.sha256;ee.update(V.toUint8Array(p));const te=await ee.digest();return`${K}\n${i}\n${d}\n${v.toHex(te)}`}getCanonicalPath({path:i}){if(this.uriEscapePath){const d=[];for(const p of i.split("/")){if(p?.length===0)continue;if(p===".")continue;if(p===".."){d.pop()}else{d.push(p)}}const p=`${i?.startsWith("/")?"/":""}${d.join("/")}${d.length>0&&i?.endsWith("/")?"/":""}`;const v=re.escapeUri(p);return v.replace(/%2F/g,"/")}return i}validateResolvedCredentials(i){if(typeof i!=="object"||typeof i.accessKeyId!=="string"||typeof i.secretAccessKey!=="string"){throw new Error("Resolved credential object is not valid")}}formatDate(i){const d=iso8601(i).replace(/[\-:]/g,"");return{longDate:d,shortDate:d.slice(0,8)}}getCanonicalHeaderList(i){return Object.keys(i).sort().join(";")}}class SignatureV4 extends SignatureV4Base{headerFormatter=new HeaderFormatter;constructor({applyChecksum:i,credentials:d,region:p,service:v,sha256:V,uriEscapePath:K=true}){super({applyChecksum:i,credentials:d,region:p,service:v,sha256:V,uriEscapePath:K})}async presign(i,d={}){const{signingDate:p=new Date,expiresIn:v=3600,unsignableHeaders:V,unhoistableHeaders:K,signableHeaders:ee,hoistableHeaders:te,signingRegion:re,signingService:ue}=d;const Ae=await this.credentialProvider();this.validateResolvedCredentials(Ae);const de=re??await this.regionProvider();const{longDate:pe,shortDate:fe}=this.formatDate(p);if(v>Te){return Promise.reject("Signature version 4 presigned URLs"+" must have an expiration date less than one week in"+" the future")}const he=createScope(fe,de,ue??this.service);const ge=moveHeadersToQuery(prepareRequest(i),{unhoistableHeaders:K,hoistableHeaders:te});if(Ae.sessionToken){ge.query[le]=Ae.sessionToken}ge.query[ne]=Be;ge.query[ie]=`${Ae.accessKeyId}/${he}`;ge.query[se]=pe;ge.query[ae]=v.toString(10);const me=getCanonicalHeaders(ge,V,ee);ge.query[oe]=this.getCanonicalHeaderList(me);ge.query[ce]=await this.getSignature(pe,he,this.getSigningKey(Ae,de,fe,ue),this.createCanonicalRequest(ge,me,await getPayloadHash(i,this.sha256)));return ge}async sign(i,d){if(typeof i==="string"){return this.signString(i,d)}else if(i.headers&&i.payload){return this.signEvent(i,d)}else if(i.message){return this.signMessage(i,d)}else{return this.signRequest(i,d)}}async signEvent({headers:i,payload:d},{signingDate:p=new Date,priorSignature:V,signingRegion:K,signingService:ee}){const te=K??await this.regionProvider();const{shortDate:re,longDate:ne}=this.formatDate(p);const ie=createScope(re,te,ee??this.service);const se=await getPayloadHash({headers:{},body:d},this.sha256);const oe=new this.sha256;oe.update(i);const ae=v.toHex(await oe.digest());const ce=[Se,ne,ie,V,ae,se].join("\n");return this.signString(ce,{signingDate:p,signingRegion:te,signingService:ee})}async signMessage(i,{signingDate:d=new Date,signingRegion:p,signingService:v}){const V=this.signEvent({headers:this.headerFormatter.format(i.message.headers),payload:i.message.body},{signingDate:d,signingRegion:p,signingService:v,priorSignature:i.priorSignature});return V.then((d=>({message:i.message,signature:d})))}async signString(i,{signingDate:d=new Date,signingRegion:p,signingService:K}={}){const ee=await this.credentialProvider();this.validateResolvedCredentials(ee);const te=p??await this.regionProvider();const{shortDate:re}=this.formatDate(d);const ne=new this.sha256(await this.getSigningKey(ee,te,re,K));ne.update(V.toUint8Array(i));return v.toHex(await ne.digest())}async signRequest(i,{signingDate:d=new Date,signableHeaders:p,unsignableHeaders:v,signingRegion:V,signingService:K}={}){const ee=await this.credentialProvider();this.validateResolvedCredentials(ee);const te=V??await this.regionProvider();const re=prepareRequest(i);const{longDate:ne,shortDate:ie}=this.formatDate(d);const se=createScope(ie,te,K??this.service);re.headers[de]=ne;if(ee.sessionToken){re.headers[me]=ee.sessionToken}const oe=await getPayloadHash(re,this.sha256);if(!hasHeader(ge,re.headers)&&this.applyChecksum){re.headers[ge]=oe}const ae=getCanonicalHeaders(re,v,p);const ce=await this.getSignature(ne,se,this.getSigningKey(ee,te,ie,K),this.createCanonicalRequest(re,ae,oe));re.headers[Ae]=`${Be} `+`Credential=${ee.accessKeyId}/${se}, `+`SignedHeaders=${this.getCanonicalHeaderList(ae)}, `+`Signature=${ce}`;return re}async getSignature(i,d,p,K){const ee=await this.createStringToSign(i,d,K,Be);const te=new this.sha256(await p);te.update(V.toUint8Array(ee));return v.toHex(await te.digest())}getSigningKey(i,d,p,v){return getSigningKey(this.sha256,i,p,d,v||this.service)}}const xe={SignatureV4a:null};d.ALGORITHM_IDENTIFIER=Be;d.ALGORITHM_IDENTIFIER_V4A=we;d.ALGORITHM_QUERY_PARAM=ne;d.ALWAYS_UNSIGNABLE_HEADERS=ye;d.AMZ_DATE_HEADER=de;d.AMZ_DATE_QUERY_PARAM=se;d.AUTH_HEADER=Ae;d.CREDENTIAL_QUERY_PARAM=ie;d.DATE_HEADER=pe;d.EVENT_ALGORITHM_IDENTIFIER=Se;d.EXPIRES_QUERY_PARAM=ae;d.GENERATED_HEADERS=fe;d.HOST_HEADER=Ee;d.KEY_TYPE_IDENTIFIER=Re;d.MAX_CACHE_SIZE=ve;d.MAX_PRESIGNED_TTL=Te;d.PROXY_HEADER_PATTERN=Ce;d.REGION_SET_PARAM=ue;d.SEC_HEADER_PATTERN=be;d.SHA256_HEADER=ge;d.SIGNATURE_HEADER=he;d.SIGNATURE_QUERY_PARAM=ce;d.SIGNED_HEADERS_QUERY_PARAM=oe;d.SignatureV4=SignatureV4;d.SignatureV4Base=SignatureV4Base;d.TOKEN_HEADER=me;d.TOKEN_QUERY_PARAM=le;d.UNSIGNABLE_PATTERNS=Ie;d.UNSIGNED_PAYLOAD=Qe;d.clearCredentialCache=clearCredentialCache;d.createScope=createScope;d.getCanonicalHeaders=getCanonicalHeaders;d.getCanonicalQuery=getCanonicalQuery;d.getPayloadHash=getPayloadHash;d.getSigningKey=getSigningKey;d.hasHeader=hasHeader;d.moveHeadersToQuery=moveHeadersToQuery;d.prepareRequest=prepareRequest;d.signatureV4aContainer=xe},61411:(i,d,p)=>{var v=p(9208);var V=p(93422);var K=p(90690);var ee=p(26890);var te=p(92430);class Client{config;middlewareStack=v.constructStack();initConfig;handlers;constructor(i){this.config=i;const{protocol:d,protocolSettings:p}=i;if(p){if(typeof d==="function"){i.protocol=new d(p)}}}send(i,d,p){const v=typeof d!=="function"?d:undefined;const V=typeof d==="function"?d:p;const K=v===undefined&&this.config.cacheMiddleware===true;let ee;if(K){if(!this.handlers){this.handlers=new WeakMap}const d=this.handlers;if(d.has(i.constructor)){ee=d.get(i.constructor)}else{ee=i.resolveMiddleware(this.middlewareStack,this.config,v);d.set(i.constructor,ee)}}else{delete this.handlers;ee=i.resolveMiddleware(this.middlewareStack,this.config,v)}if(V){ee(i).then((i=>V(null,i.output)),(i=>V(i))).catch((()=>{}))}else{return ee(i).then((i=>i.output))}}destroy(){this.config?.requestHandler?.destroy?.();delete this.handlers}}const re="***SensitiveInformation***";function schemaLogFilter(i,d){if(d==null){return d}const p=ee.NormalizedSchema.of(i);if(p.getMergedTraits().sensitive){return re}if(p.isListSchema()){const i=!!p.getValueSchema().getMergedTraits().sensitive;if(i){return re}}else if(p.isMapSchema()){const i=!!p.getKeySchema().getMergedTraits().sensitive||!!p.getValueSchema().getMergedTraits().sensitive;if(i){return re}}else if(p.isStructSchema()&&typeof d==="object"){const i=d;const v={};for(const[d,V]of p.structIterator()){if(i[d]!=null){v[d]=schemaLogFilter(V,i[d])}}return v}return d}class Command{middlewareStack=v.constructStack();schema;static classBuilder(){return new ClassBuilder}resolveMiddlewareWithContext(i,d,p,{middlewareFn:v,clientName:V,commandName:ee,inputFilterSensitiveLog:te,outputFilterSensitiveLog:re,smithyContext:ne,additionalContext:ie,CommandCtor:se}){for(const V of v.bind(this)(se,i,d,p)){this.middlewareStack.use(V)}const oe=i.concat(this.middlewareStack);const{logger:ae}=d;const ce={logger:ae,clientName:V,commandName:ee,inputFilterSensitiveLog:te,outputFilterSensitiveLog:re,[K.SMITHY_CONTEXT_KEY]:{commandInstance:this,...ne},...ie};const{requestHandler:le}=d;return oe.resolve((i=>le.handle(i.request,p||{})),ce)}}class ClassBuilder{_init=()=>{};_ep={};_middlewareFn=()=>[];_commandName="";_clientName="";_additionalContext={};_smithyContext={};_inputFilterSensitiveLog=undefined;_outputFilterSensitiveLog=undefined;_serializer=null;_deserializer=null;_operationSchema;init(i){this._init=i}ep(i){this._ep=i;return this}m(i){this._middlewareFn=i;return this}s(i,d,p={}){this._smithyContext={service:i,operation:d,...p};return this}c(i={}){this._additionalContext=i;return this}n(i,d){this._clientName=i;this._commandName=d;return this}f(i=i=>i,d=i=>i){this._inputFilterSensitiveLog=i;this._outputFilterSensitiveLog=d;return this}ser(i){this._serializer=i;return this}de(i){this._deserializer=i;return this}sc(i){this._operationSchema=i;this._smithyContext.operationSchema=i;return this}build(){const i=this;let d;return d=class extends Command{input;static getEndpointParameterInstructions(){return i._ep}constructor(...[d]){super();this.input=d??{};i._init(this);this.schema=i._operationSchema}resolveMiddleware(p,v,V){const K=i._operationSchema;const ee=K?.[4]??K?.input;const te=K?.[5]??K?.output;return this.resolveMiddlewareWithContext(p,v,V,{CommandCtor:d,middlewareFn:i._middlewareFn,clientName:i._clientName,commandName:i._commandName,inputFilterSensitiveLog:i._inputFilterSensitiveLog??(K?schemaLogFilter.bind(null,ee):i=>i),outputFilterSensitiveLog:i._outputFilterSensitiveLog??(K?schemaLogFilter.bind(null,te):i=>i),smithyContext:i._smithyContext,additionalContext:i._additionalContext})}serialize=i._serializer;deserialize=i._deserializer}}}const ne="***SensitiveInformation***";const createAggregatedClient=(i,d,p)=>{for(const[p,v]of Object.entries(i)){const methodImpl=async function(i,d,p){const V=new v(i);if(typeof d==="function"){this.send(V,d)}else if(typeof p==="function"){if(typeof d!=="object")throw new Error(`Expected http options but got ${typeof d}`);this.send(V,d||{},p)}else{return this.send(V,d)}};const i=(p[0].toLowerCase()+p.slice(1)).replace(/Command$/,"");d.prototype[i]=methodImpl}const{paginators:v={},waiters:V={}}=p??{};for(const[i,p]of Object.entries(v)){if(d.prototype[i]===void 0){d.prototype[i]=function(i={},d,...v){return p({...d,client:this},i,...v)}}}for(const[i,p]of Object.entries(V)){if(d.prototype[i]===void 0){d.prototype[i]=async function(i={},d,...v){let V=d;if(typeof d==="number"){V={maxWaitTime:d}}return p({...V,client:this},i,...v)}}}};class ServiceException extends Error{$fault;$response;$retryable;$metadata;constructor(i){super(i.message);Object.setPrototypeOf(this,Object.getPrototypeOf(this).constructor.prototype);this.name=i.name;this.$fault=i.$fault;this.$metadata=i.$metadata}static isInstance(i){if(!i)return false;const d=i;return ServiceException.prototype.isPrototypeOf(d)||Boolean(d.$fault)&&Boolean(d.$metadata)&&(d.$fault==="client"||d.$fault==="server")}static[Symbol.hasInstance](i){if(!i)return false;const d=i;if(this===ServiceException){return ServiceException.isInstance(i)}if(ServiceException.isInstance(i)){if(d.name&&this.name){return this.prototype.isPrototypeOf(i)||d.name===this.name}return this.prototype.isPrototypeOf(i)}return false}}const decorateServiceException=(i,d={})=>{Object.entries(d).filter((([,i])=>i!==undefined)).forEach((([d,p])=>{if(i[d]==undefined||i[d]===""){i[d]=p}}));const p=i.message||i.Message||"UnknownError";i.message=p;delete i.Message;return i};const throwDefaultError=({output:i,parsedBody:d,exceptionCtor:p,errorCode:v})=>{const V=deserializeMetadata(i);const K=V.httpStatusCode?V.httpStatusCode+"":undefined;const ee=new p({name:d?.code||d?.Code||v||K||"UnknownError",$fault:"client",$metadata:V});throw decorateServiceException(ee,d)};const withBaseException=i=>({output:d,parsedBody:p,errorCode:v})=>{throwDefaultError({output:d,parsedBody:p,exceptionCtor:i,errorCode:v})};const deserializeMetadata=i=>({httpStatusCode:i.statusCode,requestId:i.headers["x-amzn-requestid"]??i.headers["x-amzn-request-id"]??i.headers["x-amz-request-id"],extendedRequestId:i.headers["x-amz-id-2"],cfId:i.headers["x-amz-cf-id"]});const loadConfigsForDefaultMode=i=>{switch(i){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{}}};let ie=false;const emitWarningIfUnsupportedVersion=i=>{if(i&&!ie&&parseInt(i.substring(1,i.indexOf(".")))<16){ie=true}};const getChecksumConfiguration=i=>{const d=[];for(const p in K.AlgorithmId){const v=K.AlgorithmId[p];if(i[v]===undefined){continue}d.push({algorithmId:()=>v,checksumConstructor:()=>i[v]})}return{addChecksumAlgorithm(i){d.push(i)},checksumAlgorithms(){return d}}};const resolveChecksumRuntimeConfig=i=>{const d={};i.checksumAlgorithms().forEach((i=>{d[i.algorithmId()]=i.checksumConstructor()}));return d};const getRetryConfiguration=i=>({setRetryStrategy(d){i.retryStrategy=d},retryStrategy(){return i.retryStrategy}});const resolveRetryRuntimeConfig=i=>{const d={};d.retryStrategy=i.retryStrategy();return d};const getDefaultExtensionConfiguration=i=>Object.assign(getChecksumConfiguration(i),getRetryConfiguration(i));const se=getDefaultExtensionConfiguration;const resolveDefaultRuntimeConfig=i=>Object.assign(resolveChecksumRuntimeConfig(i),resolveRetryRuntimeConfig(i));const getArrayIfSingleItem=i=>Array.isArray(i)?i:[i];const getValueFromTextNode=i=>{const d="#text";for(const p in i){if(i.hasOwnProperty(p)&&i[p][d]!==undefined){i[p]=i[p][d]}else if(typeof i[p]==="object"&&i[p]!==null){i[p]=getValueFromTextNode(i[p])}}return i};const isSerializableHeaderValue=i=>i!=null;class NoOpLogger{trace(){}debug(){}info(){}warn(){}error(){}}function map(i,d,p){let v;let V;let K;if(typeof d==="undefined"&&typeof p==="undefined"){v={};K=i}else{v=i;if(typeof d==="function"){V=d;K=p;return mapWithFilter(v,V,K)}else{K=d}}for(const i of Object.keys(K)){if(!Array.isArray(K[i])){v[i]=K[i];continue}applyInstruction(v,null,K,i)}return v}const convertMap=i=>{const d={};for(const[p,v]of Object.entries(i||{})){d[p]=[,v]}return d};const take=(i,d)=>{const p={};for(const v in d){applyInstruction(p,i,d,v)}return p};const mapWithFilter=(i,d,p)=>map(i,Object.entries(p).reduce(((i,[p,v])=>{if(Array.isArray(v)){i[p]=v}else{if(typeof v==="function"){i[p]=[d,v()]}else{i[p]=[d,v]}}return i}),{}));const applyInstruction=(i,d,p,v)=>{if(d!==null){let V=p[v];if(typeof V==="function"){V=[,V]}const[K=nonNullish,ee=pass,te=v]=V;if(typeof K==="function"&&K(d[te])||typeof K!=="function"&&!!K){i[v]=ee(d[te])}return}let[V,K]=p[v];if(typeof K==="function"){let d;const p=V===undefined&&(d=K())!=null;const ee=typeof V==="function"&&!!V(void 0)||typeof V!=="function"&&!!V;if(p){i[v]=d}else if(ee){i[v]=K()}}else{const d=V===undefined&&K!=null;const p=typeof V==="function"&&!!V(K)||typeof V!=="function"&&!!V;if(d||p){i[v]=K}}};const nonNullish=i=>i!=null;const pass=i=>i;const serializeFloat=i=>{if(i!==i){return"NaN"}switch(i){case Infinity:return"Infinity";case-Infinity:return"-Infinity";default:return i}};const serializeDateTime=i=>i.toISOString().replace(".000Z","Z");const _json=i=>{if(i==null){return{}}if(Array.isArray(i)){return i.filter((i=>i!=null)).map(_json)}if(typeof i==="object"){const d={};for(const p of Object.keys(i)){if(i[p]==null){continue}d[p]=_json(i[p])}return d}return i};Object.defineProperty(d,"collectBody",{enumerable:true,get:function(){return V.collectBody}});Object.defineProperty(d,"extendedEncodeURIComponent",{enumerable:true,get:function(){return V.extendedEncodeURIComponent}});Object.defineProperty(d,"resolvedPath",{enumerable:true,get:function(){return V.resolvedPath}});d.Client=Client;d.Command=Command;d.NoOpLogger=NoOpLogger;d.SENSITIVE_STRING=ne;d.ServiceException=ServiceException;d._json=_json;d.convertMap=convertMap;d.createAggregatedClient=createAggregatedClient;d.decorateServiceException=decorateServiceException;d.emitWarningIfUnsupportedVersion=emitWarningIfUnsupportedVersion;d.getArrayIfSingleItem=getArrayIfSingleItem;d.getDefaultClientConfiguration=se;d.getDefaultExtensionConfiguration=getDefaultExtensionConfiguration;d.getValueFromTextNode=getValueFromTextNode;d.isSerializableHeaderValue=isSerializableHeaderValue;d.loadConfigsForDefaultMode=loadConfigsForDefaultMode;d.map=map;d.resolveDefaultRuntimeConfig=resolveDefaultRuntimeConfig;d.serializeDateTime=serializeDateTime;d.serializeFloat=serializeFloat;d.take=take;d.throwDefaultError=throwDefaultError;d.withBaseException=withBaseException;Object.keys(te).forEach((function(i){if(i!=="default"&&!Object.prototype.hasOwnProperty.call(d,i))Object.defineProperty(d,i,{enumerable:true,get:function(){return te[i]}})}))},90690:(i,d)=>{d.HttpAuthLocation=void 0;(function(i){i["HEADER"]="header";i["QUERY"]="query"})(d.HttpAuthLocation||(d.HttpAuthLocation={}));d.HttpApiKeyAuthLocation=void 0;(function(i){i["HEADER"]="header";i["QUERY"]="query"})(d.HttpApiKeyAuthLocation||(d.HttpApiKeyAuthLocation={}));d.EndpointURLScheme=void 0;(function(i){i["HTTP"]="http";i["HTTPS"]="https"})(d.EndpointURLScheme||(d.EndpointURLScheme={}));d.AlgorithmId=void 0;(function(i){i["MD5"]="md5";i["CRC32"]="crc32";i["CRC32C"]="crc32c";i["SHA1"]="sha1";i["SHA256"]="sha256"})(d.AlgorithmId||(d.AlgorithmId={}));const getChecksumConfiguration=i=>{const p=[];if(i.sha256!==undefined){p.push({algorithmId:()=>d.AlgorithmId.SHA256,checksumConstructor:()=>i.sha256})}if(i.md5!=undefined){p.push({algorithmId:()=>d.AlgorithmId.MD5,checksumConstructor:()=>i.md5})}return{addChecksumAlgorithm(i){p.push(i)},checksumAlgorithms(){return p}}};const resolveChecksumRuntimeConfig=i=>{const d={};i.checksumAlgorithms().forEach((i=>{d[i.algorithmId()]=i.checksumConstructor()}));return d};const getDefaultClientConfiguration=i=>getChecksumConfiguration(i);const resolveDefaultRuntimeConfig=i=>resolveChecksumRuntimeConfig(i);d.FieldPosition=void 0;(function(i){i[i["HEADER"]=0]="HEADER";i[i["TRAILER"]=1]="TRAILER"})(d.FieldPosition||(d.FieldPosition={}));const p="__smithy_context";d.IniSectionType=void 0;(function(i){i["PROFILE"]="profile";i["SSO_SESSION"]="sso-session";i["SERVICES"]="services"})(d.IniSectionType||(d.IniSectionType={}));d.RequestHandlerProtocol=void 0;(function(i){i["HTTP_0_9"]="http/0.9";i["HTTP_1_0"]="http/1.0";i["TDS_8_0"]="tds/8.0"})(d.RequestHandlerProtocol||(d.RequestHandlerProtocol={}));d.SMITHY_CONTEXT_KEY=p;d.getDefaultClientConfiguration=getDefaultClientConfiguration;d.resolveDefaultRuntimeConfig=resolveDefaultRuntimeConfig},14494:(i,d,p)=>{var v=p(18822);const parseUrl=i=>{if(typeof i==="string"){return parseUrl(new URL(i))}const{hostname:d,pathname:p,port:V,protocol:K,search:ee}=i;let te;if(ee){te=v.parseQueryString(ee)}return{hostname:d,port:V?parseInt(V):undefined,protocol:K,path:p,query:te}};d.parseUrl=parseUrl},72674:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.fromBase64=void 0;const v=p(44151);const V=/^[A-Za-z0-9+/]*={0,2}$/;const fromBase64=i=>{if(i.length*3%4!==0){throw new TypeError(`Incorrect padding on base64 string.`)}if(!V.exec(i)){throw new TypeError(`Invalid base64 string.`)}const d=(0,v.fromString)(i,"base64");return new Uint8Array(d.buffer,d.byteOffset,d.byteLength)};d.fromBase64=fromBase64},68385:(i,d,p)=>{var v=p(72674);var V=p(14871);Object.keys(v).forEach((function(i){if(i!=="default"&&!Object.prototype.hasOwnProperty.call(d,i))Object.defineProperty(d,i,{enumerable:true,get:function(){return v[i]}})}));Object.keys(V).forEach((function(i){if(i!=="default"&&!Object.prototype.hasOwnProperty.call(d,i))Object.defineProperty(d,i,{enumerable:true,get:function(){return V[i]}})}))},14871:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.toBase64=void 0;const v=p(44151);const V=p(71577);const toBase64=i=>{let d;if(typeof i==="string"){d=(0,V.fromUtf8)(i)}else{d=i}if(typeof d!=="object"||typeof d.byteOffset!=="number"||typeof d.byteLength!=="number"){throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.")}return(0,v.fromArrayBuffer)(d.buffer,d.byteOffset,d.byteLength).toString("base64")};d.toBase64=toBase64},12098:(i,d)=>{const p=typeof TextEncoder=="function"?new TextEncoder:null;const calculateBodyLength=i=>{if(typeof i==="string"){if(p){return p.encode(i).byteLength}let d=i.length;for(let p=d-1;p>=0;p--){const v=i.charCodeAt(p);if(v>127&&v<=2047)d++;else if(v>2047&&v<=65535)d+=2;if(v>=56320&&v<=57343)p--}return d}else if(typeof i.byteLength==="number"){return i.byteLength}else if(typeof i.size==="number"){return i.size}throw new Error(`Body Length computation failed for ${i}`)};d.calculateBodyLength=calculateBodyLength},13638:(i,d,p)=>{var v=p(73024);const calculateBodyLength=i=>{if(!i){return 0}if(typeof i==="string"){return Buffer.byteLength(i)}else if(typeof i.byteLength==="number"){return i.byteLength}else if(typeof i.size==="number"){return i.size}else if(typeof i.start==="number"&&typeof i.end==="number"){return i.end+1-i.start}else if(i instanceof v.ReadStream){if(i.path!=null){return v.lstatSync(i.path).size}else if(typeof i.fd==="number"){return v.fstatSync(i.fd).size}}throw new Error(`Body Length computation failed for ${i}`)};d.calculateBodyLength=calculateBodyLength},44151:(i,d,p)=>{var v=p(86130);var V=p(20181);const fromArrayBuffer=(i,d=0,p=i.byteLength-d)=>{if(!v.isArrayBuffer(i)){throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof i} (${i})`)}return V.Buffer.from(i,d,p)};const fromString=(i,d)=>{if(typeof i!=="string"){throw new TypeError(`The "input" argument must be of type string. Received type ${typeof i} (${i})`)}return d?V.Buffer.from(i,d):V.Buffer.from(i)};d.fromArrayBuffer=fromArrayBuffer;d.fromString=fromString},56716:(i,d)=>{const booleanSelector=(i,d,p)=>{if(!(d in i))return undefined;if(i[d]==="true")return true;if(i[d]==="false")return false;throw new Error(`Cannot load ${p} "${d}". Expected "true" or "false", got ${i[d]}.`)};const numberSelector=(i,d,p)=>{if(!(d in i))return undefined;const v=parseInt(i[d],10);if(Number.isNaN(v)){throw new TypeError(`Cannot load ${p} '${d}'. Expected number, got '${i[d]}'.`)}return v};d.SelectorType=void 0;(function(i){i["ENV"]="env";i["CONFIG"]="shared config entry"})(d.SelectorType||(d.SelectorType={}));d.booleanSelector=booleanSelector;d.numberSelector=numberSelector},15435:(i,d,p)=>{var v=p(39316);var V=p(55704);var K=p(71238);const ee="AWS_EXECUTION_ENV";const te="AWS_REGION";const re="AWS_DEFAULT_REGION";const ne="AWS_EC2_METADATA_DISABLED";const ie=["in-region","cross-region","mobile","standard","legacy"];const se="/latest/meta-data/placement/region";const oe="AWS_DEFAULTS_MODE";const ae="defaults_mode";const ce={environmentVariableSelector:i=>i[oe],configFileSelector:i=>i[ae],default:"legacy"};const resolveDefaultsModeConfig=({region:i=V.loadConfig(v.NODE_REGION_CONFIG_OPTIONS),defaultsMode:d=V.loadConfig(ce)}={})=>K.memoize((async()=>{const p=typeof d==="function"?await d():d;switch(p?.toLowerCase()){case"auto":return resolveNodeDefaultsModeAuto(i);case"in-region":case"cross-region":case"mobile":case"standard":case"legacy":return Promise.resolve(p?.toLocaleLowerCase());case undefined:return Promise.resolve("legacy");default:throw new Error(`Invalid parameter for "defaultsMode", expect ${ie.join(", ")}, got ${p}`)}}));const resolveNodeDefaultsModeAuto=async i=>{if(i){const d=typeof i==="function"?await i():i;const p=await inferPhysicalRegion();if(!p){return"standard"}if(d===p){return"in-region"}else{return"cross-region"}}return"standard"};const inferPhysicalRegion=async()=>{if(process.env[ee]&&(process.env[te]||process.env[re])){return process.env[te]??process.env[re]}if(!process.env[ne]){try{const{getInstanceMetadataEndpoint:i,httpRequest:d}=await p.e(566).then(p.t.bind(p,40566,19));const v=await i();return(await d({...v,path:se})).toString()}catch(i){}}};d.resolveDefaultsModeConfig=resolveDefaultsModeConfig},79674:(i,d,p)=>{var v=p(90690);class EndpointCache{capacity;data=new Map;parameters=[];constructor({size:i,params:d}){this.capacity=i??50;if(d){this.parameters=d}}get(i,d){const p=this.hash(i);if(p===false){return d()}if(!this.data.has(p)){if(this.data.size>this.capacity+10){const i=this.data.keys();let d=0;while(true){const{value:p,done:v}=i.next();this.data.delete(p);if(v||++d>10){break}}}this.data.set(p,d())}return this.data.get(p)}size(){return this.data.size}hash(i){let d="";const{parameters:p}=this;if(p.length===0){return false}for(const v of p){const p=String(i[v]??"");if(p.includes("|;")){return false}d+=p+"|;"}return d}}const V=new RegExp(`^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$`);const isIpAddress=i=>V.test(i)||i.startsWith("[")&&i.endsWith("]");const K=new RegExp(`^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$`);const isValidHostLabel=(i,d=false)=>{if(!d){return K.test(i)}const p=i.split(".");for(const i of p){if(!isValidHostLabel(i)){return false}}return true};const ee={};const te="endpoints";function toDebugString(i){if(typeof i!=="object"||i==null){return i}if("ref"in i){return`$${toDebugString(i.ref)}`}if("fn"in i){return`${i.fn}(${(i.argv||[]).map(toDebugString).join(", ")})`}return JSON.stringify(i,null,2)}class EndpointError extends Error{constructor(i){super(i);this.name="EndpointError"}}const booleanEquals=(i,d)=>i===d;const getAttrPathList=i=>{const d=i.split(".");const p=[];for(const v of d){const d=v.indexOf("[");if(d!==-1){if(v.indexOf("]")!==v.length-1){throw new EndpointError(`Path: '${i}' does not end with ']'`)}const V=v.slice(d+1,-1);if(Number.isNaN(parseInt(V))){throw new EndpointError(`Invalid array index: '${V}' in path: '${i}'`)}if(d!==0){p.push(v.slice(0,d))}p.push(V)}else{p.push(v)}}return p};const getAttr=(i,d)=>getAttrPathList(d).reduce(((p,v)=>{if(typeof p!=="object"){throw new EndpointError(`Index '${v}' in '${d}' not found in '${JSON.stringify(i)}'`)}else if(Array.isArray(p)){return p[parseInt(v)]}return p[v]}),i);const isSet=i=>i!=null;const not=i=>!i;const re={[v.EndpointURLScheme.HTTP]:80,[v.EndpointURLScheme.HTTPS]:443};const parseURL=i=>{const d=(()=>{try{if(i instanceof URL){return i}if(typeof i==="object"&&"hostname"in i){const{hostname:d,port:p,protocol:v="",path:V="",query:K={}}=i;const ee=new URL(`${v}//${d}${p?`:${p}`:""}${V}`);ee.search=Object.entries(K).map((([i,d])=>`${i}=${d}`)).join("&");return ee}return new URL(i)}catch(i){return null}})();if(!d){console.error(`Unable to parse ${JSON.stringify(i)} as a whatwg URL.`);return null}const p=d.href;const{host:V,hostname:K,pathname:ee,protocol:te,search:ne}=d;if(ne){return null}const ie=te.slice(0,-1);if(!Object.values(v.EndpointURLScheme).includes(ie)){return null}const se=isIpAddress(K);const oe=p.includes(`${V}:${re[ie]}`)||typeof i==="string"&&i.includes(`${V}:${re[ie]}`);const ae=`${V}${oe?`:${re[ie]}`:``}`;return{scheme:ie,authority:ae,path:ee,normalizedPath:ee.endsWith("/")?ee:`${ee}/`,isIp:se}};const stringEquals=(i,d)=>i===d;const substring=(i,d,p,v)=>{if(d>=p||i.lengthencodeURIComponent(i).replace(/[!*'()]/g,(i=>`%${i.charCodeAt(0).toString(16).toUpperCase()}`));const ne={booleanEquals:booleanEquals,getAttr:getAttr,isSet:isSet,isValidHostLabel:isValidHostLabel,not:not,parseURL:parseURL,stringEquals:stringEquals,substring:substring,uriEncode:uriEncode};const evaluateTemplate=(i,d)=>{const p=[];const v={...d.endpointParams,...d.referenceRecord};let V=0;while(V{const p={...d.endpointParams,...d.referenceRecord};return p[i]};const evaluateExpression=(i,d,p)=>{if(typeof i==="string"){return evaluateTemplate(i,p)}else if(i["fn"]){return ie.callFunction(i,p)}else if(i["ref"]){return getReferenceValue(i,p)}throw new EndpointError(`'${d}': ${String(i)} is not a string, function or reference.`)};const callFunction=({fn:i,argv:d},p)=>{const v=d.map((i=>["boolean","number"].includes(typeof i)?i:ie.evaluateExpression(i,"arg",p)));const V=i.split(".");if(V[0]in ee&&V[1]!=null){return ee[V[0]][V[1]](...v)}return ne[i](...v)};const ie={evaluateExpression:evaluateExpression,callFunction:callFunction};const evaluateCondition=({assign:i,...d},p)=>{if(i&&i in p.referenceRecord){throw new EndpointError(`'${i}' is already defined in Reference Record.`)}const v=callFunction(d,p);p.logger?.debug?.(`${te} evaluateCondition: ${toDebugString(d)} = ${toDebugString(v)}`);return{result:v===""?true:!!v,...i!=null&&{toAssign:{name:i,value:v}}}};const evaluateConditions=(i=[],d)=>{const p={};for(const v of i){const{result:i,toAssign:V}=evaluateCondition(v,{...d,referenceRecord:{...d.referenceRecord,...p}});if(!i){return{result:i}}if(V){p[V.name]=V.value;d.logger?.debug?.(`${te} assign: ${V.name} := ${toDebugString(V.value)}`)}}return{result:true,referenceRecord:p}};const getEndpointHeaders=(i,d)=>Object.entries(i).reduce(((i,[p,v])=>({...i,[p]:v.map((i=>{const v=evaluateExpression(i,"Header value entry",d);if(typeof v!=="string"){throw new EndpointError(`Header '${p}' value '${v}' is not a string`)}return v}))})),{});const getEndpointProperties=(i,d)=>Object.entries(i).reduce(((i,[p,v])=>({...i,[p]:se.getEndpointProperty(v,d)})),{});const getEndpointProperty=(i,d)=>{if(Array.isArray(i)){return i.map((i=>getEndpointProperty(i,d)))}switch(typeof i){case"string":return evaluateTemplate(i,d);case"object":if(i===null){throw new EndpointError(`Unexpected endpoint property: ${i}`)}return se.getEndpointProperties(i,d);case"boolean":return i;default:throw new EndpointError(`Unexpected endpoint property type: ${typeof i}`)}};const se={getEndpointProperty:getEndpointProperty,getEndpointProperties:getEndpointProperties};const getEndpointUrl=(i,d)=>{const p=evaluateExpression(i,"Endpoint URL",d);if(typeof p==="string"){try{return new URL(p)}catch(i){console.error(`Failed to construct URL with ${p}`,i);throw i}}throw new EndpointError(`Endpoint URL must be a string, got ${typeof p}`)};const evaluateEndpointRule=(i,d)=>{const{conditions:p,endpoint:v}=i;const{result:V,referenceRecord:K}=evaluateConditions(p,d);if(!V){return}const ee={...d,referenceRecord:{...d.referenceRecord,...K}};const{url:re,properties:ne,headers:ie}=v;d.logger?.debug?.(`${te} Resolving endpoint from template: ${toDebugString(v)}`);return{...ie!=undefined&&{headers:getEndpointHeaders(ie,ee)},...ne!=undefined&&{properties:getEndpointProperties(ne,ee)},url:getEndpointUrl(re,ee)}};const evaluateErrorRule=(i,d)=>{const{conditions:p,error:v}=i;const{result:V,referenceRecord:K}=evaluateConditions(p,d);if(!V){return}throw new EndpointError(evaluateExpression(v,"Error",{...d,referenceRecord:{...d.referenceRecord,...K}}))};const evaluateRules=(i,d)=>{for(const p of i){if(p.type==="endpoint"){const i=evaluateEndpointRule(p,d);if(i){return i}}else if(p.type==="error"){evaluateErrorRule(p,d)}else if(p.type==="tree"){const i=oe.evaluateTreeRule(p,d);if(i){return i}}else{throw new EndpointError(`Unknown endpoint rule: ${p}`)}}throw new EndpointError(`Rules evaluation failed`)};const evaluateTreeRule=(i,d)=>{const{conditions:p,rules:v}=i;const{result:V,referenceRecord:K}=evaluateConditions(p,d);if(!V){return}return oe.evaluateRules(v,{...d,referenceRecord:{...d.referenceRecord,...K}})};const oe={evaluateRules:evaluateRules,evaluateTreeRule:evaluateTreeRule};const resolveEndpoint=(i,d)=>{const{endpointParams:p,logger:v}=d;const{parameters:V,rules:K}=i;d.logger?.debug?.(`${te} Initial EndpointParams: ${toDebugString(p)}`);const ee=Object.entries(V).filter((([,i])=>i.default!=null)).map((([i,d])=>[i,d.default]));if(ee.length>0){for(const[i,d]of ee){p[i]=p[i]??d}}const re=Object.entries(V).filter((([,i])=>i.required)).map((([i])=>i));for(const i of re){if(p[i]==null){throw new EndpointError(`Missing required parameter: '${i}'`)}}const ne=evaluateRules(K,{endpointParams:p,logger:v,referenceRecord:{}});d.logger?.debug?.(`${te} Resolved endpoint: ${toDebugString(ne)}`);return ne};d.EndpointCache=EndpointCache;d.EndpointError=EndpointError;d.customEndpointFunctions=ee;d.isIpAddress=isIpAddress;d.isValidHostLabel=isValidHostLabel;d.resolveEndpoint=resolveEndpoint},96435:(i,d)=>{const p={};const v={};for(let i=0;i<256;i++){let d=i.toString(16).toLowerCase();if(d.length===1){d=`0${d}`}p[i]=d;v[d]=i}function fromHex(i){if(i.length%2!==0){throw new Error("Hex encoded strings must have an even number length")}const d=new Uint8Array(i.length/2);for(let p=0;p{var v=p(90690);const getSmithyContext=i=>i[v.SMITHY_CONTEXT_KEY]||(i[v.SMITHY_CONTEXT_KEY]={});const normalizeProvider=i=>{if(typeof i==="function")return i;const d=Promise.resolve(i);return()=>d};d.getSmithyContext=getSmithyContext;d.normalizeProvider=normalizeProvider},15518:(i,d,p)=>{var v=p(42058);d.RETRY_MODES=void 0;(function(i){i["STANDARD"]="standard";i["ADAPTIVE"]="adaptive"})(d.RETRY_MODES||(d.RETRY_MODES={}));const V=3;const K=d.RETRY_MODES.STANDARD;class DefaultRateLimiter{static setTimeoutFn=setTimeout;beta;minCapacity;minFillRate;scaleConstant;smooth;currentCapacity=0;enabled=false;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor(i){this.beta=i?.beta??.7;this.minCapacity=i?.minCapacity??1;this.minFillRate=i?.minFillRate??.5;this.scaleConstant=i?.scaleConstant??.4;this.smooth=i?.smooth??.8;const d=this.getCurrentTimeInSeconds();this.lastThrottleTime=d;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(i){if(!this.enabled){return}this.refillTokenBucket();if(i>this.currentCapacity){const d=(i-this.currentCapacity)/this.fillRate*1e3;await new Promise((i=>DefaultRateLimiter.setTimeoutFn(i,d)))}this.currentCapacity=this.currentCapacity-i}refillTokenBucket(){const i=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=i;return}const d=(i-this.lastTimestamp)*this.fillRate;this.currentCapacity=Math.min(this.maxCapacity,this.currentCapacity+d);this.lastTimestamp=i}updateClientSendingRate(i){let d;this.updateMeasuredRate();if(v.isThrottlingError(i)){const i=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=i;this.calculateTimeWindow();this.lastThrottleTime=this.getCurrentTimeInSeconds();d=this.cubicThrottle(i);this.enableTokenBucket()}else{this.calculateTimeWindow();d=this.cubicSuccess(this.getCurrentTimeInSeconds())}const p=Math.min(d,2*this.measuredTxRate);this.updateTokenBucketRate(p)}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,1/3))}cubicThrottle(i){return this.getPrecise(i*this.beta)}cubicSuccess(i){return this.getPrecise(this.scaleConstant*Math.pow(i-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=true}updateTokenBucketRate(i){this.refillTokenBucket();this.fillRate=Math.max(i,this.minFillRate);this.maxCapacity=Math.max(i,this.minCapacity);this.currentCapacity=Math.min(this.currentCapacity,this.maxCapacity)}updateMeasuredRate(){const i=this.getCurrentTimeInSeconds();const d=Math.floor(i*2)/2;this.requestCount++;if(d>this.lastTxRateBucket){const i=this.requestCount/(d-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(i*this.smooth+this.measuredTxRate*(1-this.smooth));this.requestCount=0;this.lastTxRateBucket=d}}getPrecise(i){return parseFloat(i.toFixed(8))}}const ee=100;const te=20*1e3;const re=500;const ne=500;const ie=5;const se=10;const oe=1;const ae="amz-sdk-invocation-id";const ce="amz-sdk-request";const getDefaultRetryBackoffStrategy=()=>{let i=ee;const computeNextBackoffDelay=d=>Math.floor(Math.min(te,Math.random()*2**d*i));const setDelayBase=d=>{i=d};return{computeNextBackoffDelay:computeNextBackoffDelay,setDelayBase:setDelayBase}};const createDefaultRetryToken=({retryDelay:i,retryCount:d,retryCost:p})=>{const getRetryCount=()=>d;const getRetryDelay=()=>Math.min(te,i);const getRetryCost=()=>p;return{getRetryCount:getRetryCount,getRetryDelay:getRetryDelay,getRetryCost:getRetryCost}};class StandardRetryStrategy{maxAttempts;mode=d.RETRY_MODES.STANDARD;capacity=ne;retryBackoffStrategy=getDefaultRetryBackoffStrategy();maxAttemptsProvider;constructor(i){this.maxAttempts=i;this.maxAttemptsProvider=typeof i==="function"?i:async()=>i}async acquireInitialRetryToken(i){return createDefaultRetryToken({retryDelay:ee,retryCount:0})}async refreshRetryTokenForRetry(i,d){const p=await this.getMaxAttempts();if(this.shouldRetry(i,d,p)){const p=d.errorType;this.retryBackoffStrategy.setDelayBase(p==="THROTTLING"?re:ee);const v=this.retryBackoffStrategy.computeNextBackoffDelay(i.getRetryCount());const V=d.retryAfterHint?Math.max(d.retryAfterHint.getTime()-Date.now()||0,v):v;const K=this.getCapacityCost(p);this.capacity-=K;return createDefaultRetryToken({retryDelay:V,retryCount:i.getRetryCount()+1,retryCost:K})}throw new Error("No retry token available")}recordSuccess(i){this.capacity=Math.max(ne,this.capacity+(i.getRetryCost()??oe))}getCapacity(){return this.capacity}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(i){console.warn(`Max attempts provider could not resolve. Using default of ${V}`);return V}}shouldRetry(i,d,p){const v=i.getRetryCount()+1;return v=this.getCapacityCost(d.errorType)&&this.isRetryableError(d.errorType)}getCapacityCost(i){return i==="TRANSIENT"?se:ie}isRetryableError(i){return i==="THROTTLING"||i==="TRANSIENT"}}class AdaptiveRetryStrategy{maxAttemptsProvider;rateLimiter;standardRetryStrategy;mode=d.RETRY_MODES.ADAPTIVE;constructor(i,d){this.maxAttemptsProvider=i;const{rateLimiter:p}=d??{};this.rateLimiter=p??new DefaultRateLimiter;this.standardRetryStrategy=new StandardRetryStrategy(i)}async acquireInitialRetryToken(i){await this.rateLimiter.getSendToken();return this.standardRetryStrategy.acquireInitialRetryToken(i)}async refreshRetryTokenForRetry(i,d){this.rateLimiter.updateClientSendingRate(d);return this.standardRetryStrategy.refreshRetryTokenForRetry(i,d)}recordSuccess(i){this.rateLimiter.updateClientSendingRate({});this.standardRetryStrategy.recordSuccess(i)}}class ConfiguredRetryStrategy extends StandardRetryStrategy{computeNextBackoffDelay;constructor(i,d=ee){super(typeof i==="function"?i:async()=>i);if(typeof d==="number"){this.computeNextBackoffDelay=()=>d}else{this.computeNextBackoffDelay=d}}async refreshRetryTokenForRetry(i,d){const p=await super.refreshRetryTokenForRetry(i,d);p.getRetryDelay=()=>this.computeNextBackoffDelay(p.getRetryCount());return p}}d.AdaptiveRetryStrategy=AdaptiveRetryStrategy;d.ConfiguredRetryStrategy=ConfiguredRetryStrategy;d.DEFAULT_MAX_ATTEMPTS=V;d.DEFAULT_RETRY_DELAY_BASE=ee;d.DEFAULT_RETRY_MODE=K;d.DefaultRateLimiter=DefaultRateLimiter;d.INITIAL_RETRY_TOKENS=ne;d.INVOCATION_ID_HEADER=ae;d.MAXIMUM_RETRY_DELAY=te;d.NO_RETRY_INCREMENT=oe;d.REQUEST_HEADER=ce;d.RETRY_COST=ie;d.StandardRetryStrategy=StandardRetryStrategy;d.THROTTLING_RETRY_DELAY_BASE=re;d.TIMEOUT_RETRY_COST=se},31732:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.ByteArrayCollector=void 0;class ByteArrayCollector{allocByteArray;byteLength=0;byteArrays=[];constructor(i){this.allocByteArray=i}push(i){this.byteArrays.push(i);this.byteLength+=i.byteLength}flush(){if(this.byteArrays.length===1){const i=this.byteArrays[0];this.reset();return i}const i=this.allocByteArray(this.byteLength);let d=0;for(let p=0;p{Object.defineProperty(d,"__esModule",{value:true});d.ChecksumStream=void 0;const p=typeof ReadableStream==="function"?ReadableStream:function(){};class ChecksumStream extends p{}d.ChecksumStream=ChecksumStream},71775:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ChecksumStream=void 0;const v=p(68385);const V=p(2203);class ChecksumStream extends V.Duplex{expectedChecksum;checksumSourceLocation;checksum;source;base64Encoder;constructor({expectedChecksum:i,checksum:d,source:p,checksumSourceLocation:V,base64Encoder:K}){super();if(typeof p.pipe==="function"){this.source=p}else{throw new Error(`@smithy/util-stream: unsupported source type ${p?.constructor?.name??p} in ChecksumStream.`)}this.base64Encoder=K??v.toBase64;this.expectedChecksum=i;this.checksum=d;this.checksumSourceLocation=V;this.source.pipe(this)}_read(i){}_write(i,d,p){try{this.checksum.update(i);this.push(i)}catch(i){return p(i)}return p()}async _final(i){try{const d=await this.checksum.digest();const p=this.base64Encoder(d);if(this.expectedChecksum!==p){return i(new Error(`Checksum mismatch: expected "${this.expectedChecksum}" but received "${p}"`+` in response header "${this.checksumSourceLocation}".`))}}catch(d){return i(d)}this.push(null);return i()}}d.ChecksumStream=ChecksumStream},94129:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createChecksumStream=void 0;const v=p(68385);const V=p(4414);const K=p(87753);const createChecksumStream=({expectedChecksum:i,checksum:d,source:p,checksumSourceLocation:ee,base64Encoder:te})=>{if(!(0,V.isReadableStream)(p)){throw new Error(`@smithy/util-stream: unsupported source type ${p?.constructor?.name??p} in ChecksumStream.`)}const re=te??v.toBase64;if(typeof TransformStream!=="function"){throw new Error("@smithy/util-stream: unable to instantiate ChecksumStream because API unavailable: ReadableStream/TransformStream.")}const ne=new TransformStream({start(){},async transform(i,p){d.update(i);p.enqueue(i)},async flush(p){const v=await d.digest();const V=re(v);if(i!==V){const d=new Error(`Checksum mismatch: expected "${i}" but received "${V}"`+` in response header "${ee}".`);p.error(d)}else{p.terminate()}}});p.pipeThrough(ne);const ie=ne.readable;Object.setPrototypeOf(ie,K.ChecksumStream.prototype);return ie};d.createChecksumStream=createChecksumStream},5639:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createChecksumStream=createChecksumStream;const v=p(4414);const V=p(71775);const K=p(94129);function createChecksumStream(i){if(typeof ReadableStream==="function"&&(0,v.isReadableStream)(i.source)){return(0,K.createChecksumStream)(i)}return new V.ChecksumStream(i)}},72005:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createBufferedReadable=createBufferedReadable;const v=p(57075);const V=p(31732);const K=p(78213);const ee=p(4414);function createBufferedReadable(i,d,p){if((0,ee.isReadableStream)(i)){return(0,K.createBufferedReadableStream)(i,d,p)}const te=new v.Readable({read(){}});let re=false;let ne=0;const ie=["",new V.ByteArrayCollector((i=>new Uint8Array(i))),new V.ByteArrayCollector((i=>Buffer.from(new Uint8Array(i))))];let se=-1;i.on("data",(i=>{const v=(0,K.modeOf)(i,true);if(se!==v){if(se>=0){te.push((0,K.flush)(ie,se))}se=v}if(se===-1){te.push(i);return}const V=(0,K.sizeOf)(i);ne+=V;const ee=(0,K.sizeOf)(ie[se]);if(V>=d&&ee===0){te.push(i)}else{const v=(0,K.merge)(ie,se,i);if(!re&&ne>d*2){re=true;p?.warn(`@smithy/util-stream - stream chunk size ${V} is below threshold of ${d}, automatically buffering.`)}if(v>=d){te.push((0,K.flush)(ie,se))}}}));i.on("end",(()=>{if(se!==-1){const i=(0,K.flush)(ie,se);if((0,K.sizeOf)(i)>0){te.push(i)}}te.push(null)}));return te}},78213:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createBufferedReadable=void 0;d.createBufferedReadableStream=createBufferedReadableStream;d.merge=merge;d.flush=flush;d.sizeOf=sizeOf;d.modeOf=modeOf;const v=p(31732);function createBufferedReadableStream(i,d,p){const V=i.getReader();let K=false;let ee=0;const te=["",new v.ByteArrayCollector((i=>new Uint8Array(i)))];let re=-1;const pull=async i=>{const{value:v,done:ne}=await V.read();const ie=v;if(ne){if(re!==-1){const d=flush(te,re);if(sizeOf(d)>0){i.enqueue(d)}}i.close()}else{const v=modeOf(ie,false);if(re!==v){if(re>=0){i.enqueue(flush(te,re))}re=v}if(re===-1){i.enqueue(ie);return}const V=sizeOf(ie);ee+=V;const ne=sizeOf(te[re]);if(V>=d&&ne===0){i.enqueue(ie)}else{const v=merge(te,re,ie);if(!K&&ee>d*2){K=true;p?.warn(`@smithy/util-stream - stream chunk size ${V} is below threshold of ${d}, automatically buffering.`)}if(v>=d){i.enqueue(flush(te,re))}else{await pull(i)}}}};return new ReadableStream({pull:pull})}d.createBufferedReadable=createBufferedReadableStream;function merge(i,d,p){switch(d){case 0:i[0]+=p;return sizeOf(i[0]);case 1:case 2:i[d].push(p);return sizeOf(i[d])}}function flush(i,d){switch(d){case 0:const p=i[0];i[0]="";return p;case 1:case 2:return i[d].flush()}throw new Error(`@smithy/util-stream - invalid index ${d} given to flush()`)}function sizeOf(i){return i?.byteLength??i?.length??0}function modeOf(i,d=true){if(d&&typeof Buffer!=="undefined"&&i instanceof Buffer){return 2}if(i instanceof Uint8Array){return 1}if(typeof i==="string"){return 0}return-1}},93492:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.getAwsChunkedEncodingStream=void 0;const getAwsChunkedEncodingStream=(i,d)=>{const{base64Encoder:p,bodyLengthChecker:v,checksumAlgorithmFn:V,checksumLocationName:K,streamHasher:ee}=d;const te=p!==undefined&&v!==undefined&&V!==undefined&&K!==undefined&&ee!==undefined;const re=te?ee(V,i):undefined;const ne=i.getReader();return new ReadableStream({async pull(i){const{value:d,done:V}=await ne.read();if(V){i.enqueue(`0\r\n`);if(te){const d=p(await re);i.enqueue(`${K}:${d}\r\n`);i.enqueue(`\r\n`)}i.close()}else{i.enqueue(`${(v(d)||0).toString(16)}\r\n${d}\r\n`)}}})};d.getAwsChunkedEncodingStream=getAwsChunkedEncodingStream},6522:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getAwsChunkedEncodingStream=getAwsChunkedEncodingStream;const v=p(57075);const V=p(93492);const K=p(4414);function getAwsChunkedEncodingStream(i,d){const p=i;const ee=i;if((0,K.isReadableStream)(ee)){return(0,V.getAwsChunkedEncodingStream)(ee,d)}const{base64Encoder:te,bodyLengthChecker:re,checksumAlgorithmFn:ne,checksumLocationName:ie,streamHasher:se}=d;const oe=te!==undefined&&ne!==undefined&&ie!==undefined&&se!==undefined;const ae=oe?se(ne,p):undefined;const ce=new v.Readable({read:()=>{}});p.on("data",(i=>{const d=re(i)||0;if(d===0){return}ce.push(`${d.toString(16)}\r\n`);ce.push(i);ce.push("\r\n")}));p.on("end",(async()=>{ce.push(`0\r\n`);if(oe){const i=te(await ae);ce.push(`${ie}:${i}\r\n`);ce.push(`\r\n`)}ce.push(null)}));return ce}},80066:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.headStream=headStream;async function headStream(i,d){let p=0;const v=[];const V=i.getReader();let K=false;while(!K){const{done:i,value:ee}=await V.read();if(ee){v.push(ee);p+=ee?.byteLength??0}if(p>=d){break}K=i}V.releaseLock();const ee=new Uint8Array(Math.min(d,p));let te=0;for(const i of v){if(i.byteLength>ee.byteLength-te){ee.set(i.subarray(0,ee.byteLength-te),te);break}else{ee.set(i,te)}te+=i.length}return ee}},88412:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.headStream=void 0;const v=p(2203);const V=p(80066);const K=p(4414);const headStream=(i,d)=>{if((0,K.isReadableStream)(i)){return(0,V.headStream)(i,d)}return new Promise(((p,v)=>{const V=new Collector;V.limit=d;i.pipe(V);i.on("error",(i=>{V.end();v(i)}));V.on("error",v);V.on("finish",(function(){const i=new Uint8Array(Buffer.concat(this.buffers));p(i)}))}))};d.headStream=headStream;class Collector extends v.Writable{buffers=[];limit=Infinity;bytesBuffered=0;_write(i,d,p){this.buffers.push(i);this.bytesBuffered+=i.byteLength??0;if(this.bytesBuffered>=this.limit){const i=this.bytesBuffered-this.limit;const d=this.buffers[this.buffers.length-1];this.buffers[this.buffers.length-1]=d.subarray(0,d.byteLength-i);this.emit("finish")}p()}}},4252:(i,d,p)=>{var v=p(68385);var V=p(71577);var K=p(71775);var ee=p(5639);var te=p(72005);var re=p(6522);var ne=p(88412);var ie=p(77201);var se=p(82108);var oe=p(4414);class Uint8ArrayBlobAdapter extends Uint8Array{static fromString(i,d="utf-8"){if(typeof i==="string"){if(d==="base64"){return Uint8ArrayBlobAdapter.mutate(v.fromBase64(i))}return Uint8ArrayBlobAdapter.mutate(V.fromUtf8(i))}throw new Error(`Unsupported conversion from ${typeof i} to Uint8ArrayBlobAdapter.`)}static mutate(i){Object.setPrototypeOf(i,Uint8ArrayBlobAdapter.prototype);return i}transformToString(i="utf-8"){if(i==="base64"){return v.toBase64(this)}return V.toUtf8(this)}}Object.defineProperty(d,"isBlob",{enumerable:true,get:function(){return oe.isBlob}});Object.defineProperty(d,"isReadableStream",{enumerable:true,get:function(){return oe.isReadableStream}});d.Uint8ArrayBlobAdapter=Uint8ArrayBlobAdapter;Object.keys(K).forEach((function(i){if(i!=="default"&&!Object.prototype.hasOwnProperty.call(d,i))Object.defineProperty(d,i,{enumerable:true,get:function(){return K[i]}})}));Object.keys(ee).forEach((function(i){if(i!=="default"&&!Object.prototype.hasOwnProperty.call(d,i))Object.defineProperty(d,i,{enumerable:true,get:function(){return ee[i]}})}));Object.keys(te).forEach((function(i){if(i!=="default"&&!Object.prototype.hasOwnProperty.call(d,i))Object.defineProperty(d,i,{enumerable:true,get:function(){return te[i]}})}));Object.keys(re).forEach((function(i){if(i!=="default"&&!Object.prototype.hasOwnProperty.call(d,i))Object.defineProperty(d,i,{enumerable:true,get:function(){return re[i]}})}));Object.keys(ne).forEach((function(i){if(i!=="default"&&!Object.prototype.hasOwnProperty.call(d,i))Object.defineProperty(d,i,{enumerable:true,get:function(){return ne[i]}})}));Object.keys(ie).forEach((function(i){if(i!=="default"&&!Object.prototype.hasOwnProperty.call(d,i))Object.defineProperty(d,i,{enumerable:true,get:function(){return ie[i]}})}));Object.keys(se).forEach((function(i){if(i!=="default"&&!Object.prototype.hasOwnProperty.call(d,i))Object.defineProperty(d,i,{enumerable:true,get:function(){return se[i]}})}))},82207:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.sdkStreamMixin=void 0;const v=p(47809);const V=p(68385);const K=p(96435);const ee=p(71577);const te=p(4414);const re="The stream has already been transformed.";const sdkStreamMixin=i=>{if(!isBlobInstance(i)&&!(0,te.isReadableStream)(i)){const d=i?.__proto__?.constructor?.name||i;throw new Error(`Unexpected stream implementation, expect Blob or ReadableStream, got ${d}`)}let d=false;const transformToByteArray=async()=>{if(d){throw new Error(re)}d=true;return await(0,v.streamCollector)(i)};const blobToWebStream=i=>{if(typeof i.stream!=="function"){throw new Error("Cannot transform payload Blob to web stream. Please make sure the Blob.stream() is polyfilled.\n"+"If you are using React Native, this API is not yet supported, see: https://react-native.canny.io/feature-requests/p/fetch-streaming-body")}return i.stream()};return Object.assign(i,{transformToByteArray:transformToByteArray,transformToString:async i=>{const d=await transformToByteArray();if(i==="base64"){return(0,V.toBase64)(d)}else if(i==="hex"){return(0,K.toHex)(d)}else if(i===undefined||i==="utf8"||i==="utf-8"){return(0,ee.toUtf8)(d)}else if(typeof TextDecoder==="function"){return new TextDecoder(i).decode(d)}else{throw new Error("TextDecoder is not available, please make sure polyfill is provided.")}},transformToWebStream:()=>{if(d){throw new Error(re)}d=true;if(isBlobInstance(i)){return blobToWebStream(i)}else if((0,te.isReadableStream)(i)){return i}else{throw new Error(`Cannot transform payload to web stream, got ${i}`)}}})};d.sdkStreamMixin=sdkStreamMixin;const isBlobInstance=i=>typeof Blob==="function"&&i instanceof Blob},77201:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.sdkStreamMixin=void 0;const v=p(61279);const V=p(44151);const K=p(2203);const ee=p(82207);const te="The stream has already been transformed.";const sdkStreamMixin=i=>{if(!(i instanceof K.Readable)){try{return(0,ee.sdkStreamMixin)(i)}catch(d){const p=i?.__proto__?.constructor?.name||i;throw new Error(`Unexpected stream implementation, expect Stream.Readable instance, got ${p}`)}}let d=false;const transformToByteArray=async()=>{if(d){throw new Error(te)}d=true;return await(0,v.streamCollector)(i)};return Object.assign(i,{transformToByteArray:transformToByteArray,transformToString:async i=>{const d=await transformToByteArray();if(i===undefined||Buffer.isEncoding(i)){return(0,V.fromArrayBuffer)(d.buffer,d.byteOffset,d.byteLength).toString(i)}else{const p=new TextDecoder(i);return p.decode(d)}},transformToWebStream:()=>{if(d){throw new Error(te)}if(i.readableFlowing!==null){throw new Error("The stream has been consumed by other callbacks.")}if(typeof K.Readable.toWeb!=="function"){throw new Error("Readable.toWeb() is not supported. Please ensure a polyfill is available.")}d=true;return K.Readable.toWeb(i)}})};d.sdkStreamMixin=sdkStreamMixin},17570:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.splitStream=splitStream;async function splitStream(i){if(typeof i.stream==="function"){i=i.stream()}const d=i;return d.tee()}},82108:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.splitStream=splitStream;const v=p(2203);const V=p(17570);const K=p(4414);async function splitStream(i){if((0,K.isReadableStream)(i)||(0,K.isBlob)(i)){return(0,V.splitStream)(i)}const d=new v.PassThrough;const p=new v.PassThrough;i.pipe(d);i.pipe(p);return[d,p]}},4414:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.isBlob=d.isReadableStream=void 0;const isReadableStream=i=>typeof ReadableStream==="function"&&(i?.constructor?.name===ReadableStream.name||i instanceof ReadableStream);d.isReadableStream=isReadableStream;const isBlob=i=>typeof Blob==="function"&&(i?.constructor?.name===Blob.name||i instanceof Blob);d.isBlob=isBlob},80146:(i,d)=>{const escapeUri=i=>encodeURIComponent(i).replace(/[!'()*]/g,hexEncode);const hexEncode=i=>`%${i.charCodeAt(0).toString(16).toUpperCase()}`;const escapeUriPath=i=>i.split("/").map(escapeUri).join("/");d.escapeUri=escapeUri;d.escapeUriPath=escapeUriPath},71577:(i,d,p)=>{var v=p(44151);const fromUtf8=i=>{const d=v.fromString(i,"utf8");return new Uint8Array(d.buffer,d.byteOffset,d.byteLength/Uint8Array.BYTES_PER_ELEMENT)};const toUint8Array=i=>{if(typeof i==="string"){return fromUtf8(i)}if(ArrayBuffer.isView(i)){return new Uint8Array(i.buffer,i.byteOffset,i.byteLength/Uint8Array.BYTES_PER_ELEMENT)}return new Uint8Array(i)};const toUtf8=i=>{if(typeof i==="string"){return i}if(typeof i!=="object"||typeof i.byteOffset!=="number"||typeof i.byteLength!=="number"){throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.")}return v.fromArrayBuffer(i.buffer,i.byteOffset,i.byteLength).toString("utf8")};d.fromUtf8=fromUtf8;d.toUint8Array=toUint8Array;d.toUtf8=toUtf8},95290:(i,d)=>{const getCircularReplacer=()=>{const i=new WeakSet;return(d,p)=>{if(typeof p==="object"&&p!==null){if(i.has(p)){return"[Circular]"}i.add(p)}return p}};const sleep=i=>new Promise((d=>setTimeout(d,i*1e3)));const p={minDelay:2,maxDelay:120};d.WaiterState=void 0;(function(i){i["ABORTED"]="ABORTED";i["FAILURE"]="FAILURE";i["SUCCESS"]="SUCCESS";i["RETRY"]="RETRY";i["TIMEOUT"]="TIMEOUT"})(d.WaiterState||(d.WaiterState={}));const checkExceptions=i=>{if(i.state===d.WaiterState.ABORTED){const d=new Error(`${JSON.stringify({...i,reason:"Request was aborted"},getCircularReplacer())}`);d.name="AbortError";throw d}else if(i.state===d.WaiterState.TIMEOUT){const d=new Error(`${JSON.stringify({...i,reason:"Waiter has timed out"},getCircularReplacer())}`);d.name="TimeoutError";throw d}else if(i.state!==d.WaiterState.SUCCESS){throw new Error(`${JSON.stringify(i,getCircularReplacer())}`)}return i};const exponentialBackoffWithJitter=(i,d,p,v)=>{if(v>p)return d;const V=i*2**(v-1);return randomInRange(i,V)};const randomInRange=(i,d)=>i+Math.random()*(d-i);const runPolling=async({minDelay:i,maxDelay:p,maxWaitTime:v,abortController:V,client:K,abortSignal:ee},te,re)=>{const ne={};const{state:ie,reason:se}=await re(K,te);if(se){const i=createMessageFromResponse(se);ne[i]|=0;ne[i]+=1}if(ie!==d.WaiterState.RETRY){return{state:ie,reason:se,observedResponses:ne}}let oe=1;const ae=Date.now()+v*1e3;const ce=Math.log(p/i)/Math.log(2)+1;while(true){if(V?.signal?.aborted||ee?.aborted){const i="AbortController signal aborted.";ne[i]|=0;ne[i]+=1;return{state:d.WaiterState.ABORTED,observedResponses:ne}}const v=exponentialBackoffWithJitter(i,p,ce,oe);if(Date.now()+v*1e3>ae){return{state:d.WaiterState.TIMEOUT,observedResponses:ne}}await sleep(v);const{state:ie,reason:se}=await re(K,te);if(se){const i=createMessageFromResponse(se);ne[i]|=0;ne[i]+=1}if(ie!==d.WaiterState.RETRY){return{state:ie,reason:se,observedResponses:ne}}oe+=1}};const createMessageFromResponse=i=>{if(i?.$responseBodyText){return`Deserialization error for body: ${i.$responseBodyText}`}if(i?.$metadata?.httpStatusCode){if(i.$response||i.message){return`${i.$response.statusCode??i.$metadata.httpStatusCode??"Unknown"}: ${i.message}`}return`${i.$metadata.httpStatusCode}: OK`}return String(i?.message??JSON.stringify(i,getCircularReplacer())??"Unknown")};const validateWaiterOptions=i=>{if(i.maxWaitTime<=0){throw new Error(`WaiterConfiguration.maxWaitTime must be greater than 0`)}else if(i.minDelay<=0){throw new Error(`WaiterConfiguration.minDelay must be greater than 0`)}else if(i.maxDelay<=0){throw new Error(`WaiterConfiguration.maxDelay must be greater than 0`)}else if(i.maxWaitTime<=i.minDelay){throw new Error(`WaiterConfiguration.maxWaitTime [${i.maxWaitTime}] must be greater than WaiterConfiguration.minDelay [${i.minDelay}] for this waiter`)}else if(i.maxDelay{let p;const v=new Promise((v=>{p=()=>v({state:d.WaiterState.ABORTED});if(typeof i.addEventListener==="function"){i.addEventListener("abort",p)}else{i.onabort=p}}));return{clearListener(){if(typeof i.removeEventListener==="function"){i.removeEventListener("abort",p)}},aborted:v}};const createWaiter=async(i,d,v)=>{const V={...p,...i};validateWaiterOptions(V);const K=[runPolling(V,d,v)];const ee=[];if(i.abortSignal){const{aborted:d,clearListener:p}=abortTimeout(i.abortSignal);ee.push(p);K.push(d)}if(i.abortController?.signal){const{aborted:d,clearListener:p}=abortTimeout(i.abortController.signal);ee.push(p);K.push(d)}return Promise.race(K).then((i=>{for(const i of ee){i()}return i}))};d.checkExceptions=checkExceptions;d.createWaiter=createWaiter;d.waiterServiceDefaults=p},90266:(i,d,p)=>{var v=p(8492);const V=Array.from({length:256},((i,d)=>d.toString(16).padStart(2,"0")));const v4=()=>{if(v.randomUUID){return v.randomUUID()}const i=new Uint8Array(16);crypto.getRandomValues(i);i[6]=i[6]&15|64;i[8]=i[8]&63|128;return V[i[0]]+V[i[1]]+V[i[2]]+V[i[3]]+"-"+V[i[4]]+V[i[5]]+"-"+V[i[6]]+V[i[7]]+"-"+V[i[8]]+V[i[9]]+"-"+V[i[10]]+V[i[11]]+V[i[12]]+V[i[13]]+V[i[14]]+V[i[15]]};d.v4=v4},8492:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.randomUUID=void 0;const v=p(61860);const V=v.__importDefault(p(76982));d.randomUUID=V.default.randomUUID.bind(V.default)},17413:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});var v=p(16577);class AbortSignal extends v.EventTarget{constructor(){super();throw new TypeError("AbortSignal cannot be constructed directly")}get aborted(){const i=V.get(this);if(typeof i!=="boolean"){throw new TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this===null?"null":typeof this}`)}return i}}v.defineEventAttribute(AbortSignal.prototype,"abort");function createAbortSignal(){const i=Object.create(AbortSignal.prototype);v.EventTarget.call(i);V.set(i,false);return i}function abortSignal(i){if(V.get(i)!==false){return}V.set(i,true);i.dispatchEvent({type:"abort"})}const V=new WeakMap;Object.defineProperties(AbortSignal.prototype,{aborted:{enumerable:true}});if(typeof Symbol==="function"&&typeof Symbol.toStringTag==="symbol"){Object.defineProperty(AbortSignal.prototype,Symbol.toStringTag,{configurable:true,value:"AbortSignal"})}class AbortController{constructor(){K.set(this,createAbortSignal())}get signal(){return getSignal(this)}abort(){abortSignal(getSignal(this))}}const K=new WeakMap;function getSignal(i){const d=K.get(i);if(d==null){throw new TypeError(`Expected 'this' to be an 'AbortController' object, but got ${i===null?"null":typeof i}`)}return d}Object.defineProperties(AbortController.prototype,{signal:{enumerable:true},abort:{enumerable:true}});if(typeof Symbol==="function"&&typeof Symbol.toStringTag==="symbol"){Object.defineProperty(AbortController.prototype,Symbol.toStringTag,{configurable:true,value:"AbortController"})}d.AbortController=AbortController;d.AbortSignal=AbortSignal;d["default"]=AbortController;i.exports=AbortController;i.exports.AbortController=i.exports["default"]=AbortController;i.exports.AbortSignal=AbortSignal},15183:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};Object.defineProperty(d,"__esModule",{value:true});d.req=d.json=d.toBuffer=void 0;const ee=K(p(58611));const te=K(p(65692));async function toBuffer(i){let d=0;const p=[];for await(const v of i){d+=v.length;p.push(v)}return Buffer.concat(p,d)}d.toBuffer=toBuffer;async function json(i){const d=await toBuffer(i);const p=d.toString("utf8");try{return JSON.parse(p)}catch(i){const d=i;d.message+=` (input: ${p})`;throw d}}d.json=json;function req(i,d={}){const p=typeof i==="string"?i:i.href;const v=(p.startsWith("https:")?te:ee).request(i,d);const V=new Promise(((i,d)=>{v.once("response",i).once("error",d).end()}));v.then=V.then.bind(V);return v}d.req=req},98894:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};var ee=this&&this.__exportStar||function(i,d){for(var p in i)if(p!=="default"&&!Object.prototype.hasOwnProperty.call(d,p))v(d,i,p)};Object.defineProperty(d,"__esModule",{value:true});d.Agent=void 0;const te=K(p(58611));ee(p(15183),d);const re=Symbol("AgentBaseInternalState");class Agent extends te.Agent{constructor(i){super(i);this[re]={}}isSecureEndpoint(i){if(i){if(typeof i.secureEndpoint==="boolean"){return i.secureEndpoint}if(typeof i.protocol==="string"){return i.protocol==="https:"}}const{stack:d}=new Error;if(typeof d!=="string")return false;return d.split("\n").some((i=>i.indexOf("(https.js:")!==-1||i.indexOf("node:https:")!==-1))}createSocket(i,d,p){const v={...d,secureEndpoint:this.isSecureEndpoint(d)};Promise.resolve().then((()=>this.connect(i,v))).then((V=>{if(V instanceof te.Agent){return V.addRequest(i,v)}this[re].currentSocket=V;super.createSocket(i,d,p)}),p)}createConnection(){const i=this[re].currentSocket;this[re].currentSocket=undefined;if(!i){throw new Error("No socket was returned in the `connect()` function")}return i}get defaultPort(){return this[re].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(i){if(this[re]){this[re].defaultPort=i}}get protocol(){return this[re].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(i){if(this[re]){this[re].protocol=i}}}d.Agent=Agent},38816:(i,d,p)=>{var v=p(35744);var V=p(16928);var K=p(97047);var ee=p(57294);var te=p(73270);var re=p(36542);var ne=p(46171);var ie=i.exports={};var se=/[\/\\]/g;var processPatterns=function(i,d){var p=[];K(i).forEach((function(i){var v=i.indexOf("!")===0;if(v){i=i.slice(1)}var V=d(i);if(v){p=ee(p,V)}else{p=te(p,V)}}));return p};ie.exists=function(){var i=V.join.apply(V,arguments);return v.existsSync(i)};ie.expand=function(...i){var d=re(i[0])?i.shift():{};var p=Array.isArray(i[0])?i[0]:i;if(p.length===0){return[]}var K=processPatterns(p,(function(i){return ne.sync(i,d)}));if(d.filter){K=K.filter((function(i){i=V.join(d.cwd||"",i);try{if(typeof d.filter==="function"){return d.filter(i)}else{return v.statSync(i)[d.filter]()}}catch(i){return false}}))}return K};ie.expandMapping=function(i,d,p){p=Object.assign({rename:function(i,d){return V.join(i||"",d)}},p);var v=[];var K={};ie.expand(p,i).forEach((function(i){var ee=i;if(p.flatten){ee=V.basename(ee)}if(p.ext){ee=ee.replace(/(\.[^\/]*)?$/,p.ext)}var te=p.rename(d,ee,p);if(p.cwd){i=V.join(p.cwd,i)}te=te.replace(se,"/");i=i.replace(se,"/");if(K[te]){K[te].src.push(i)}else{v.push({src:[i],dest:te});K[te]=v[v.length-1]}}));return v};ie.normalizeFilesArray=function(i){var d=[];i.forEach((function(i){var p;if("src"in i||"dest"in i){d.push(i)}}));if(d.length===0){return[]}d=_(d).chain().forEach((function(i){if(!("src"in i)||!i.src){return}if(Array.isArray(i.src)){i.src=K(i.src)}else{i.src=[i.src]}})).map((function(i){var d=Object.assign({},i);delete d.src;delete d.dest;if(i.expand){return ie.expandMapping(i.src,i.dest,d).map((function(d){var p=Object.assign({},i);p.orig=Object.assign({},i);p.src=d.src;p.dest=d.dest;["expand","cwd","flatten","rename","ext"].forEach((function(i){delete p[i]}));return p}))}var p=Object.assign({},i);p.orig=Object.assign({},i);if("src"in p){Object.defineProperty(p,"src",{enumerable:true,get:function fn(){var p;if(!("result"in fn)){p=i.src;p=Array.isArray(p)?K(p):[p];fn.result=ie.expand(d,p)}return fn.result}})}if("dest"in p){p.dest=i.dest}return p})).flatten().value();return d}},53296:(i,d,p)=>{var v=p(35744);var V=p(16928);var K=p(96543);var ee=p(32126);var te=p(56133);var re=p(7511);var ne=p(2203).Stream;var ie=p(29963).PassThrough;var se=i.exports={};se.file=p(38816);se.collectStream=function(i,d){var p=[];var v=0;i.on("error",d);i.on("data",(function(i){p.push(i);v+=i.length}));i.on("end",(function(){var i=Buffer.alloc(v);var V=0;p.forEach((function(d){d.copy(i,V);V+=d.length}));d(null,i)}))};se.dateify=function(i){i=i||new Date;if(i instanceof Date){i=i}else if(typeof i==="string"){i=new Date(i)}else{i=new Date}return i};se.defaults=function(i,d,p){var v=arguments;v[0]=v[0]||{};return re(...v)};se.isStream=function(i){return K(i)};se.lazyReadStream=function(i){return new ee.Readable((function(){return v.createReadStream(i)}))};se.normalizeInputSource=function(i){if(i===null){return Buffer.alloc(0)}else if(typeof i==="string"){return Buffer.from(i)}else if(se.isStream(i)){return i.pipe(new ie)}return i};se.sanitizePath=function(i){return te(i,false).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")};se.trailingSlashIt=function(i){return i.slice(-1)!=="/"?i+"/":i};se.unixifyPath=function(i){return te(i,false).replace(/^\w+:/,"")};se.walkdir=function(i,d,p){var K=[];if(typeof d==="function"){p=d;d=i}v.readdir(i,(function(ee,te){var re=0;var ne;var ie;if(ee){return p(ee)}(function next(){ne=te[re++];if(!ne){return p(null,K)}ie=V.join(i,ne);v.stat(ie,(function(i,v){K.push({path:ie,relative:V.relative(d,ie).replace(/\\/g,"/"),stats:v});if(v&&v.isDirectory()){se.walkdir(ie,d,(function(i,d){if(i){return p(i)}d.forEach((function(i){K.push(i)}));next()}))}else{next()}}))})()}))}},99392:(i,d,p)=>{ +import './sourcemap-register.cjs';import{createRequire as i}from"module";var d={76846:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__exportStar||function(i,d){for(var p in i)if(p!=="default"&&!Object.prototype.hasOwnProperty.call(d,p))v(d,i,p)};Object.defineProperty(d,"__esModule",{value:true});const K=p(64487);V(p(13776),d);V(p(45655),d);V(p(64487),d);const ee=new K.DefaultArtifactClient;d["default"]=ee},35592:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.Timestamp=void 0;const v=p(68886);const V=p(68886);const K=p(68886);const ee=p(68886);const te=p(68886);const re=p(68886);const ne=p(68886);class Timestamp$Type extends ne.MessageType{constructor(){super("google.protobuf.Timestamp",[{no:1,name:"seconds",kind:"scalar",T:3},{no:2,name:"nanos",kind:"scalar",T:5}])}now(){const i=this.create();const d=Date.now();i.seconds=re.PbLong.from(Math.floor(d/1e3)).toString();i.nanos=d%1e3*1e6;return i}toDate(i){return new Date(re.PbLong.from(i.seconds).toNumber()*1e3+Math.ceil(i.nanos/1e6))}fromDate(i){const d=this.create();const p=i.getTime();d.seconds=re.PbLong.from(Math.floor(p/1e3)).toString();d.nanos=p%1e3*1e6;return d}internalJsonWrite(i,d){let p=re.PbLong.from(i.seconds).toNumber()*1e3;if(pDate.parse("9999-12-31T23:59:59Z"))throw new Error("Unable to encode Timestamp to JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.");if(i.nanos<0)throw new Error("Unable to encode invalid Timestamp to JSON. Nanos must not be negative.");let v="Z";if(i.nanos>0){let d=(i.nanos+1e9).toString().substring(1);if(d.substring(3)==="000000")v="."+d.substring(0,3)+"Z";else if(d.substring(6)==="000")v="."+d.substring(0,6)+"Z";else v="."+d+"Z"}return new Date(p).toISOString().replace(".000Z",v)}internalJsonRead(i,d,p){if(typeof i!=="string")throw new Error("Unable to parse Timestamp from JSON "+(0,te.typeofJsonValue)(i)+".");let v=i.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:Z|\.([0-9]{3,9})Z|([+-][0-9][0-9]:[0-9][0-9]))$/);if(!v)throw new Error("Unable to parse Timestamp from JSON. Invalid format.");let V=Date.parse(v[1]+"-"+v[2]+"-"+v[3]+"T"+v[4]+":"+v[5]+":"+v[6]+(v[8]?v[8]:"Z"));if(Number.isNaN(V))throw new Error("Unable to parse Timestamp from JSON. Invalid value.");if(VDate.parse("9999-12-31T23:59:59Z"))throw new globalThis.Error("Unable to parse Timestamp from JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.");if(!p)p=this.create();p.seconds=re.PbLong.from(V/1e3).toString();p.nanos=0;if(v[7])p.nanos=parseInt("1"+v[7]+"0".repeat(9-v[7].length))-1e9;return p}create(i){const d={seconds:"0",nanos:0};globalThis.Object.defineProperty(d,ee.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,K.reflectionMergePartial)(this,d,i);return d}internalBinaryRead(i,d,p,v){let K=v!==null&&v!==void 0?v:this.create(),ee=i.pos+d;while(i.pos{Object.defineProperty(d,"__esModule",{value:true});d.BytesValue=d.StringValue=d.BoolValue=d.UInt32Value=d.Int32Value=d.UInt64Value=d.Int64Value=d.FloatValue=d.DoubleValue=void 0;const v=p(68886);const V=p(68886);const K=p(68886);const ee=p(68886);const te=p(68886);const re=p(68886);const ne=p(68886);class DoubleValue$Type extends ne.MessageType{constructor(){super("google.protobuf.DoubleValue",[{no:1,name:"value",kind:"scalar",T:1}])}internalJsonWrite(i,d){return this.refJsonWriter.scalar(2,i.value,"value",false,true)}internalJsonRead(i,d,p){if(!p)p=this.create();p.value=this.refJsonReader.scalar(i,1,undefined,"value");return p}create(i){const d={value:0};globalThis.Object.defineProperty(d,re.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,te.reflectionMergePartial)(this,d,i);return d}internalBinaryRead(i,d,p,v){let V=v!==null&&v!==void 0?v:this.create(),K=i.pos+d;while(i.pos{Object.defineProperty(d,"__esModule",{value:true});d.ArtifactService=d.DeleteArtifactResponse=d.DeleteArtifactRequest=d.GetSignedArtifactURLResponse=d.GetSignedArtifactURLRequest=d.ListArtifactsResponse_MonolithArtifact=d.ListArtifactsResponse=d.ListArtifactsRequest=d.FinalizeArtifactResponse=d.FinalizeArtifactRequest=d.CreateArtifactResponse=d.CreateArtifactRequest=d.FinalizeMigratedArtifactResponse=d.FinalizeMigratedArtifactRequest=d.MigrateArtifactResponse=d.MigrateArtifactRequest=void 0;const v=p(44420);const V=p(68886);const K=p(68886);const ee=p(68886);const te=p(68886);const re=p(68886);const ne=p(78806);const se=p(78806);const ie=p(35592);class MigrateArtifactRequest$Type extends re.MessageType{constructor(){super("github.actions.results.api.v1.MigrateArtifactRequest",[{no:1,name:"workflow_run_backend_id",kind:"scalar",T:9},{no:2,name:"name",kind:"scalar",T:9},{no:3,name:"expires_at",kind:"message",T:()=>ie.Timestamp}])}create(i){const d={workflowRunBackendId:"",name:""};globalThis.Object.defineProperty(d,te.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,ee.reflectionMergePartial)(this,d,i);return d}internalBinaryRead(i,d,p,v){let V=v!==null&&v!==void 0?v:this.create(),ee=i.pos+d;while(i.posie.Timestamp},{no:5,name:"version",kind:"scalar",T:5}])}create(i){const d={workflowRunBackendId:"",workflowJobRunBackendId:"",name:"",version:0};globalThis.Object.defineProperty(d,te.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,ee.reflectionMergePartial)(this,d,i);return d}internalBinaryRead(i,d,p,v){let V=v!==null&&v!==void 0?v:this.create(),ee=i.pos+d;while(i.posse.StringValue}])}create(i){const d={workflowRunBackendId:"",workflowJobRunBackendId:"",name:"",size:"0"};globalThis.Object.defineProperty(d,te.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,ee.reflectionMergePartial)(this,d,i);return d}internalBinaryRead(i,d,p,v){let V=v!==null&&v!==void 0?v:this.create(),ee=i.pos+d;while(i.posse.StringValue},{no:4,name:"id_filter",kind:"message",T:()=>ne.Int64Value}])}create(i){const d={workflowRunBackendId:"",workflowJobRunBackendId:""};globalThis.Object.defineProperty(d,te.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,ee.reflectionMergePartial)(this,d,i);return d}internalBinaryRead(i,d,p,v){let V=v!==null&&v!==void 0?v:this.create(),ee=i.pos+d;while(i.posd.ListArtifactsResponse_MonolithArtifact}])}create(i){const d={artifacts:[]};globalThis.Object.defineProperty(d,te.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,ee.reflectionMergePartial)(this,d,i);return d}internalBinaryRead(i,p,v,V){let ee=V!==null&&V!==void 0?V:this.create(),te=i.pos+p;while(i.posie.Timestamp},{no:7,name:"digest",kind:"message",T:()=>se.StringValue}])}create(i){const d={workflowRunBackendId:"",workflowJobRunBackendId:"",databaseId:"0",name:"",size:"0"};globalThis.Object.defineProperty(d,te.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,ee.reflectionMergePartial)(this,d,i);return d}internalBinaryRead(i,d,p,v){let V=v!==null&&v!==void 0?v:this.create(),ee=i.pos+d;while(i.pos{Object.defineProperty(d,"__esModule",{value:true});d.ArtifactServiceClientProtobuf=d.ArtifactServiceClientJSON=void 0;const v=p(68614);class ArtifactServiceClientJSON{constructor(i){this.rpc=i;this.CreateArtifact.bind(this);this.FinalizeArtifact.bind(this);this.ListArtifacts.bind(this);this.GetSignedArtifactURL.bind(this);this.DeleteArtifact.bind(this)}CreateArtifact(i){const d=v.CreateArtifactRequest.toJson(i,{useProtoFieldName:true,emitDefaultValues:false});const p=this.rpc.request("github.actions.results.api.v1.ArtifactService","CreateArtifact","application/json",d);return p.then((i=>v.CreateArtifactResponse.fromJson(i,{ignoreUnknownFields:true})))}FinalizeArtifact(i){const d=v.FinalizeArtifactRequest.toJson(i,{useProtoFieldName:true,emitDefaultValues:false});const p=this.rpc.request("github.actions.results.api.v1.ArtifactService","FinalizeArtifact","application/json",d);return p.then((i=>v.FinalizeArtifactResponse.fromJson(i,{ignoreUnknownFields:true})))}ListArtifacts(i){const d=v.ListArtifactsRequest.toJson(i,{useProtoFieldName:true,emitDefaultValues:false});const p=this.rpc.request("github.actions.results.api.v1.ArtifactService","ListArtifacts","application/json",d);return p.then((i=>v.ListArtifactsResponse.fromJson(i,{ignoreUnknownFields:true})))}GetSignedArtifactURL(i){const d=v.GetSignedArtifactURLRequest.toJson(i,{useProtoFieldName:true,emitDefaultValues:false});const p=this.rpc.request("github.actions.results.api.v1.ArtifactService","GetSignedArtifactURL","application/json",d);return p.then((i=>v.GetSignedArtifactURLResponse.fromJson(i,{ignoreUnknownFields:true})))}DeleteArtifact(i){const d=v.DeleteArtifactRequest.toJson(i,{useProtoFieldName:true,emitDefaultValues:false});const p=this.rpc.request("github.actions.results.api.v1.ArtifactService","DeleteArtifact","application/json",d);return p.then((i=>v.DeleteArtifactResponse.fromJson(i,{ignoreUnknownFields:true})))}}d.ArtifactServiceClientJSON=ArtifactServiceClientJSON;class ArtifactServiceClientProtobuf{constructor(i){this.rpc=i;this.CreateArtifact.bind(this);this.FinalizeArtifact.bind(this);this.ListArtifacts.bind(this);this.GetSignedArtifactURL.bind(this);this.DeleteArtifact.bind(this)}CreateArtifact(i){const d=v.CreateArtifactRequest.toBinary(i);const p=this.rpc.request("github.actions.results.api.v1.ArtifactService","CreateArtifact","application/protobuf",d);return p.then((i=>v.CreateArtifactResponse.fromBinary(i)))}FinalizeArtifact(i){const d=v.FinalizeArtifactRequest.toBinary(i);const p=this.rpc.request("github.actions.results.api.v1.ArtifactService","FinalizeArtifact","application/protobuf",d);return p.then((i=>v.FinalizeArtifactResponse.fromBinary(i)))}ListArtifacts(i){const d=v.ListArtifactsRequest.toBinary(i);const p=this.rpc.request("github.actions.results.api.v1.ArtifactService","ListArtifacts","application/protobuf",d);return p.then((i=>v.ListArtifactsResponse.fromBinary(i)))}GetSignedArtifactURL(i){const d=v.GetSignedArtifactURLRequest.toBinary(i);const p=this.rpc.request("github.actions.results.api.v1.ArtifactService","GetSignedArtifactURL","application/protobuf",d);return p.then((i=>v.GetSignedArtifactURLResponse.fromBinary(i)))}DeleteArtifact(i){const d=v.DeleteArtifactRequest.toBinary(i);const p=this.rpc.request("github.actions.results.api.v1.ArtifactService","DeleteArtifact","application/protobuf",d);return p.then((i=>v.DeleteArtifactResponse.fromBinary(i)))}}d.ArtifactServiceClientProtobuf=ArtifactServiceClientProtobuf},64487:function(i,d,p){var v=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};var V=this&&this.__rest||function(i,d){var p={};for(var v in i)if(Object.prototype.hasOwnProperty.call(i,v)&&d.indexOf(v)<0)p[v]=i[v];if(i!=null&&typeof Object.getOwnPropertySymbols==="function")for(var V=0,v=Object.getOwnPropertySymbols(i);V1){te=ee.artifacts.sort(((i,d)=>Number(d.databaseId)-Number(i.databaseId)))[0];(0,V.debug)(`More than one artifact found for a single name, returning newest (id: ${te.databaseId})`)}const re={workflowRunBackendId:te.workflowRunBackendId,workflowJobRunBackendId:te.workflowJobRunBackendId,name:te.name};const ne=yield d.DeleteArtifact(re);(0,V.info)(`Artifact '${i}' (ID: ${ne.artifactId}) deleted`);return{id:Number(ne.artifactId)}}))}d.deleteArtifactInternal=deleteArtifactInternal},93542:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};var ee=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};var te=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(d,"__esModule",{value:true});d.downloadArtifactInternal=d.downloadArtifactPublic=d.streamExtractExternal=void 0;const re=te(p(91943));const ne=K(p(76982));const se=K(p(2203));const ie=K(p(93228));const oe=K(p(84086));const ae=K(p(54844));const Ae=te(p(33991));const ce=p(89387);const le=p(72938);const ue=p(87417);const de=p(44216);const he=p(41631);const fe=p(45655);const scrubQueryParameters=i=>{const d=new URL(i);d.search="";return d.toString()};function exists(i){return ee(this,void 0,void 0,(function*(){try{yield re.default.access(i);return true}catch(i){if(i.code==="ENOENT"){return false}else{throw i}}}))}function streamExtract(i,d){return ee(this,void 0,void 0,(function*(){let p=0;while(p<5){try{return yield streamExtractExternal(i,d)}catch(i){p++;oe.debug(`Failed to download artifact after ${p} retries due to ${i.message}. Retrying in 5 seconds...`);yield new Promise((i=>setTimeout(i,5e3)))}}throw new Error(`Artifact download failed after ${p} retries.`)}))}function streamExtractExternal(i,d){return ee(this,arguments,void 0,(function*(i,d,p={timeout:30*1e3}){const v=new ae.HttpClient((0,ce.getUserAgentString)());const V=yield v.get(i);if(V.message.statusCode!==200){throw new Error(`Unexpected HTTP response from blob storage: ${V.message.statusCode} ${V.message.statusMessage}`)}let K=undefined;return new Promise(((i,v)=>{const timerFn=()=>{const i=new Error(`Blob storage chunk did not respond in ${p.timeout}ms`);V.message.destroy(i);v(i)};const ee=setTimeout(timerFn,p.timeout);const te=ne.createHash("sha256").setEncoding("hex");const re=new se.PassThrough;V.message.pipe(re);re.pipe(te);const ie=re;ie.on("data",(()=>{ee.refresh()})).on("error",(i=>{oe.debug(`response.message: Artifact download failed: ${i.message}`);clearTimeout(ee);v(i)})).pipe(Ae.default.Extract({path:d})).on("close",(()=>{clearTimeout(ee);if(te){te.end();K=te.read();oe.info(`SHA256 digest of downloaded artifact is ${K}`)}i({sha256Digest:`sha256:${K}`})})).on("error",(i=>{v(i)}))}))}))}d.streamExtractExternal=streamExtractExternal;function downloadArtifactPublic(i,d,p,v,V){return ee(this,void 0,void 0,(function*(){const K=yield resolveOrCreateDirectory(V===null||V===void 0?void 0:V.path);const ee=ie.getOctokit(v);let te=false;oe.info(`Downloading artifact '${i}' from '${d}/${p}'`);const{headers:re,status:ne}=yield ee.rest.actions.downloadArtifact({owner:d,repo:p,artifact_id:i,archive_format:"zip",request:{redirect:"manual"}});if(ne!==302){throw new Error(`Unable to download artifact. Unexpected status: ${ne}`)}const{location:se}=re;if(!se){throw new Error(`Unable to redirect to artifact download url`)}oe.info(`Redirecting to blob download url: ${scrubQueryParameters(se)}`);try{oe.info(`Starting download of artifact to: ${K}`);const i=yield streamExtract(se,K);oe.info(`Artifact download completed successfully.`);if(V===null||V===void 0?void 0:V.expectedHash){if((V===null||V===void 0?void 0:V.expectedHash)!==i.sha256Digest){te=true;oe.debug(`Computed digest: ${i.sha256Digest}`);oe.debug(`Expected digest: ${V.expectedHash}`)}}}catch(i){throw new Error(`Unable to download and extract artifact: ${i.message}`)}return{downloadPath:K,digestMismatch:te}}))}d.downloadArtifactPublic=downloadArtifactPublic;function downloadArtifactInternal(i,d){return ee(this,void 0,void 0,(function*(){const p=yield resolveOrCreateDirectory(d===null||d===void 0?void 0:d.path);const v=(0,ue.internalArtifactTwirpClient)();let V=false;const{workflowRunBackendId:K,workflowJobRunBackendId:ee}=(0,he.getBackendIdsFromToken)();const te={workflowRunBackendId:K,workflowJobRunBackendId:ee,idFilter:de.Int64Value.create({value:i.toString()})};const{artifacts:re}=yield v.ListArtifacts(te);if(re.length===0){throw new fe.ArtifactNotFoundError(`No artifacts found for ID: ${i}\nAre you trying to download from a different run? Try specifying a github-token with \`actions:read\` scope.`)}if(re.length>1){oe.warning("Multiple artifacts found, defaulting to first.")}const ne={workflowRunBackendId:re[0].workflowRunBackendId,workflowJobRunBackendId:re[0].workflowJobRunBackendId,name:re[0].name};const{signedUrl:se}=yield v.GetSignedArtifactURL(ne);oe.info(`Redirecting to blob download url: ${scrubQueryParameters(se)}`);try{oe.info(`Starting download of artifact to: ${p}`);const i=yield streamExtract(se,p);oe.info(`Artifact download completed successfully.`);if(d===null||d===void 0?void 0:d.expectedHash){if((d===null||d===void 0?void 0:d.expectedHash)!==i.sha256Digest){V=true;oe.debug(`Computed digest: ${i.sha256Digest}`);oe.debug(`Expected digest: ${d.expectedHash}`)}}}catch(i){throw new Error(`Unable to download and extract artifact: ${i.message}`)}return{downloadPath:p,digestMismatch:V}}))}d.downloadArtifactInternal=downloadArtifactInternal;function resolveOrCreateDirectory(){return ee(this,arguments,void 0,(function*(i=(0,le.getGitHubWorkspaceDir)()){if(!(yield exists(i))){oe.debug(`Artifact destination folder does not exist, creating: ${i}`);yield re.default.mkdir(i,{recursive:true})}else{oe.debug(`Artifact destination folder already exists: ${i}`)}return i}))}},2327:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};var ee=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.getArtifactInternal=d.getArtifactPublic=void 0;const te=p(93228);const re=p(33450);const ne=K(p(84086));const se=p(38006);const ie=p(38361);const oe=p(26784);const ae=p(41631);const Ae=p(89387);const ce=p(87417);const le=p(44216);const ue=p(45655);function getArtifactPublic(i,d,p,v,V){return ee(this,void 0,void 0,(function*(){var K;const[ee,ae]=(0,ie.getRetryOptions)(se.defaults);const ce={log:undefined,userAgent:(0,Ae.getUserAgentString)(),previews:undefined,retry:ee,request:ae};const le=(0,te.getOctokit)(V,ce,re.retry,oe.requestLog);const de=yield le.request("GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts{?name}",{owner:p,repo:v,run_id:d,name:i});if(de.status!==200){throw new ue.InvalidResponseError(`Invalid response from GitHub API: ${de.status} (${(K=de===null||de===void 0?void 0:de.headers)===null||K===void 0?void 0:K["x-github-request-id"]})`)}if(de.data.artifacts.length===0){throw new ue.ArtifactNotFoundError(`Artifact not found for name: ${i}\n Please ensure that your artifact is not expired and the artifact was uploaded using a compatible version of toolkit/upload-artifact.\n For more information, visit the GitHub Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md`)}let he=de.data.artifacts[0];if(de.data.artifacts.length>1){he=de.data.artifacts.sort(((i,d)=>d.id-i.id))[0];ne.debug(`More than one artifact found for a single name, returning newest (id: ${he.id})`)}return{artifact:{name:he.name,id:he.id,size:he.size_in_bytes,createdAt:he.created_at?new Date(he.created_at):undefined,digest:he.digest}}}))}d.getArtifactPublic=getArtifactPublic;function getArtifactInternal(i){return ee(this,void 0,void 0,(function*(){var d;const p=(0,ce.internalArtifactTwirpClient)();const{workflowRunBackendId:v,workflowJobRunBackendId:V}=(0,ae.getBackendIdsFromToken)();const K={workflowRunBackendId:v,workflowJobRunBackendId:V,nameFilter:le.StringValue.create({value:i})};const ee=yield p.ListArtifacts(K);if(ee.artifacts.length===0){throw new ue.ArtifactNotFoundError(`Artifact not found for name: ${i}\n Please ensure that your artifact is not expired and the artifact was uploaded using a compatible version of toolkit/upload-artifact.\n For more information, visit the GitHub Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md`)}let te=ee.artifacts[0];if(ee.artifacts.length>1){te=ee.artifacts.sort(((i,d)=>Number(d.databaseId)-Number(i.databaseId)))[0];ne.debug(`More than one artifact found for a single name, returning newest (id: ${te.databaseId})`)}return{artifact:{name:te.name,id:Number(te.databaseId),size:Number(te.size),createdAt:te.createdAt?le.Timestamp.toDate(te.createdAt):undefined,digest:(d=te.digest)===null||d===void 0?void 0:d.value}}}))}d.getArtifactInternal=getArtifactInternal},8808:function(i,d,p){var v=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.listArtifactsInternal=d.listArtifactsPublic=void 0;const V=p(84086);const K=p(93228);const ee=p(89387);const te=p(38361);const re=p(38006);const ne=p(26784);const se=p(33450);const ie=p(87417);const oe=p(41631);const ae=p(72938);const Ae=p(44216);const ce=(0,ae.getMaxArtifactListCount)();const le=100;const ue=Math.ceil(ce/le);function listArtifactsPublic(i,d,p,ie){return v(this,arguments,void 0,(function*(i,d,p,v,ie=false){(0,V.info)(`Fetching artifact list for workflow run ${i} in repository ${d}/${p}`);let oe=[];const[ae,Ae]=(0,te.getRetryOptions)(re.defaults);const de={log:undefined,userAgent:(0,ee.getUserAgentString)(),previews:undefined,retry:ae,request:Ae};const he=(0,K.getOctokit)(v,de,se.retry,ne.requestLog);let fe=1;const{data:ge}=yield he.request("GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts",{owner:d,repo:p,run_id:i,per_page:le,page:fe});let pe=Math.ceil(ge.total_count/le);const me=ge.total_count;if(me>ce){(0,V.warning)(`Workflow run ${i} has ${me} artifacts, exceeding the limit of ${ce}. Results will be incomplete as only the first ${ce} artifacts will be returned`);pe=ue}for(const i of ge.artifacts){oe.push({name:i.name,id:i.id,size:i.size_in_bytes,createdAt:i.created_at?new Date(i.created_at):undefined,digest:i.digest})}fe++;for(fe;fe<=pe;fe++){(0,V.debug)(`Fetching page ${fe} of artifact list`);const{data:v}=yield he.request("GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts",{owner:d,repo:p,run_id:i,per_page:le,page:fe});for(const i of v.artifacts){oe.push({name:i.name,id:i.id,size:i.size_in_bytes,createdAt:i.created_at?new Date(i.created_at):undefined,digest:i.digest})}}if(ie){oe=filterLatest(oe)}(0,V.info)(`Found ${oe.length} artifact(s)`);return{artifacts:oe}}))}d.listArtifactsPublic=listArtifactsPublic;function listArtifactsInternal(){return v(this,arguments,void 0,(function*(i=false){const d=(0,ie.internalArtifactTwirpClient)();const{workflowRunBackendId:p,workflowJobRunBackendId:v}=(0,oe.getBackendIdsFromToken)();const K={workflowRunBackendId:p,workflowJobRunBackendId:v};const ee=yield d.ListArtifacts(K);let te=ee.artifacts.map((i=>{var d;return{name:i.name,id:Number(i.databaseId),size:Number(i.size),createdAt:i.createdAt?Ae.Timestamp.toDate(i.createdAt):undefined,digest:(d=i.digest)===null||d===void 0?void 0:d.value}}));if(i){te=filterLatest(te)}(0,V.info)(`Found ${te.length} artifact(s)`);return{artifacts:te}}))}d.listArtifactsInternal=listArtifactsInternal;function filterLatest(i){i.sort(((i,d)=>d.id-i.id));const d=[];const p=new Set;for(const v of i){if(!p.has(v.name)){d.push(v);p.add(v.name)}}return d}},38361:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};Object.defineProperty(d,"__esModule",{value:true});d.getRetryOptions=void 0;const ee=K(p(84086));const te=5;const re=[400,401,403,404,422];function getRetryOptions(i,d=te,p=re){var v;if(d<=0){return[{enabled:false},i.request]}const V={enabled:true};if(p.length>0){V.doNotRetry=p}const K=Object.assign(Object.assign({},i.request),{retries:d});ee.debug(`GitHub client configured with: (retries: ${K.retries}, retry-exempt-status-code: ${(v=V.doNotRetry)!==null&&v!==void 0?v:"octokit default: [400, 401, 403, 404, 422]"})`);return[V,K]}d.getRetryOptions=getRetryOptions},87417:function(i,d,p){var v=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.internalArtifactTwirpClient=void 0;const V=p(54844);const K=p(44552);const ee=p(84086);const te=p(44216);const re=p(72938);const ne=p(89387);const se=p(45655);const ie=p(41631);class ArtifactHttpClient{constructor(i,d,p,v){this.maxAttempts=5;this.baseRetryIntervalMilliseconds=3e3;this.retryMultiplier=1.5;const ee=(0,re.getRuntimeToken)();this.baseUrl=(0,re.getResultsServiceUrl)();if(d){this.maxAttempts=d}if(p){this.baseRetryIntervalMilliseconds=p}if(v){this.retryMultiplier=v}this.httpClient=new V.HttpClient(i,[new K.BearerCredentialHandler(ee)])}request(i,d,p,V){return v(this,void 0,void 0,(function*(){const K=new URL(`/twirp/${i}/${d}`,this.baseUrl).href;(0,ee.debug)(`[Request] ${d} ${K}`);const te={"Content-Type":p};try{const{body:i}=yield this.retryableRequest((()=>v(this,void 0,void 0,(function*(){return this.httpClient.post(K,JSON.stringify(V),te)}))));return i}catch(i){throw new Error(`Failed to ${d}: ${i.message}`)}}))}retryableRequest(i){return v(this,void 0,void 0,(function*(){let d=0;let p="";let v="";while(d=200&&i<300}isRetryableHttpStatusCode(i){if(!i)return false;const d=[V.HttpCodes.BadGateway,V.HttpCodes.GatewayTimeout,V.HttpCodes.InternalServerError,V.HttpCodes.ServiceUnavailable,V.HttpCodes.TooManyRequests];return d.includes(i)}sleep(i){return v(this,void 0,void 0,(function*(){return new Promise((d=>setTimeout(d,i)))}))}getExponentialRetryTimeMilliseconds(i){if(i<0){throw new Error("attempt should be a positive integer")}if(i===0){return this.baseRetryIntervalMilliseconds}const d=this.baseRetryIntervalMilliseconds*Math.pow(this.retryMultiplier,i);const p=d*this.retryMultiplier;return Math.trunc(Math.random()*(p-d)+d)}}function internalArtifactTwirpClient(i){const d=new ArtifactHttpClient((0,ne.getUserAgentString)(),i===null||i===void 0?void 0:i.maxAttempts,i===null||i===void 0?void 0:i.retryIntervalMs,i===null||i===void 0?void 0:i.retryMultiplier);return new te.ArtifactServiceClientJSON(d)}d.internalArtifactTwirpClient=internalArtifactTwirpClient},72938:function(i,d,p){var v=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(d,"__esModule",{value:true});d.getMaxArtifactListCount=d.getUploadChunkTimeout=d.getConcurrency=d.getGitHubWorkspaceDir=d.isGhes=d.getResultsServiceUrl=d.getRuntimeToken=d.getUploadChunkSize=void 0;const V=v(p(70857));const K=p(84086);function getUploadChunkSize(){return 8*1024*1024}d.getUploadChunkSize=getUploadChunkSize;function getRuntimeToken(){const i=process.env["ACTIONS_RUNTIME_TOKEN"];if(!i){throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable")}return i}d.getRuntimeToken=getRuntimeToken;function getResultsServiceUrl(){const i=process.env["ACTIONS_RESULTS_URL"];if(!i){throw new Error("Unable to get the ACTIONS_RESULTS_URL env variable")}return new URL(i).origin}d.getResultsServiceUrl=getResultsServiceUrl;function isGhes(){const i=new URL(process.env["GITHUB_SERVER_URL"]||"https://github.com");const d=i.hostname.trimEnd().toUpperCase();const p=d==="GITHUB.COM";const v=d.endsWith(".GHE.COM");const V=d.endsWith(".LOCALHOST");return!p&&!v&&!V}d.isGhes=isGhes;function getGitHubWorkspaceDir(){const i=process.env["GITHUB_WORKSPACE"];if(!i){throw new Error("Unable to get the GITHUB_WORKSPACE env variable")}return i}d.getGitHubWorkspaceDir=getGitHubWorkspaceDir;function getConcurrency(){const i=V.default.cpus().length;let d=32;if(i>4){const p=16*i;d=p>300?300:p}const p=process.env["ACTIONS_ARTIFACT_UPLOAD_CONCURRENCY"];if(p){const i=parseInt(p);if(isNaN(i)||i<1){throw new Error("Invalid value set for ACTIONS_ARTIFACT_UPLOAD_CONCURRENCY env variable")}if(i{Object.defineProperty(d,"__esModule",{value:true});d.UsageError=d.NetworkError=d.GHESNotSupportedError=d.ArtifactNotFoundError=d.InvalidResponseError=d.FilesNotFoundError=void 0;class FilesNotFoundError extends Error{constructor(i=[]){let d="No files were found to upload";if(i.length>0){d+=`: ${i.join(", ")}`}super(d);this.files=i;this.name="FilesNotFoundError"}}d.FilesNotFoundError=FilesNotFoundError;class InvalidResponseError extends Error{constructor(i){super(i);this.name="InvalidResponseError"}}d.InvalidResponseError=InvalidResponseError;class ArtifactNotFoundError extends Error{constructor(i="Artifact not found"){super(i);this.name="ArtifactNotFoundError"}}d.ArtifactNotFoundError=ArtifactNotFoundError;class GHESNotSupportedError extends Error{constructor(i="@actions/artifact v2.0.0+, upload-artifact@v4+ and download-artifact@v4+ are not currently supported on GHES."){super(i);this.name="GHESNotSupportedError"}}d.GHESNotSupportedError=GHESNotSupportedError;class NetworkError extends Error{constructor(i){const d=`Unable to make request: ${i}\nIf you are using self-hosted runners, please make sure your runner has access to all GitHub endpoints: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#communication-between-self-hosted-runners-and-github`;super(d);this.code=i;this.name="NetworkError"}}d.NetworkError=NetworkError;NetworkError.isNetworkErrorCode=i=>{if(!i)return false;return["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(i)};class UsageError extends Error{constructor(){const i=`Artifact storage quota has been hit. Unable to upload any new artifacts. Usage is recalculated every 6-12 hours.\nMore info on storage limits: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#calculating-minute-and-storage-spending`;super(i);this.name="UsageError"}}d.UsageError=UsageError;UsageError.isUsageErrorMessage=i=>{if(!i)return false;return i.includes("insufficient usage")}},13776:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true})},89387:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getUserAgentString=void 0;const v=p(2822);function getUserAgentString(){return`@actions/artifact-${v.version}`}d.getUserAgentString=getUserAgentString},41631:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};var ee=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(d,"__esModule",{value:true});d.maskSecretUrls=d.maskSigUrl=d.getBackendIdsFromToken=void 0;const te=K(p(84086));const re=p(72938);const ne=ee(p(79699));const se=p(84086);const ie=new Error("Failed to get backend IDs: The provided JWT token is invalid and/or missing claims");function getBackendIdsFromToken(){const i=(0,re.getRuntimeToken)();const d=(0,ne.default)(i);if(!d.scp){throw ie}const p=d.scp.split(" ");if(p.length===0){throw ie}for(const i of p){const d=i.split(":");if((d===null||d===void 0?void 0:d[0])!=="Actions.Results"){continue}if(d.length!==3){throw ie}const p={workflowRunBackendId:d[1],workflowJobRunBackendId:d[2]};te.debug(`Workflow Run Backend ID: ${p.workflowRunBackendId}`);te.debug(`Workflow Job Run Backend ID: ${p.workflowJobRunBackendId}`);return p}throw ie}d.getBackendIdsFromToken=getBackendIdsFromToken;function maskSigUrl(i){if(!i)return;try{const d=new URL(i);const p=d.searchParams.get("sig");if(p){(0,se.setSecret)(p);(0,se.setSecret)(encodeURIComponent(p))}}catch(d){(0,se.debug)(`Failed to parse URL: ${i} ${d instanceof Error?d.message:String(d)}`)}}d.maskSigUrl=maskSigUrl;function maskSecretUrls(i){if(typeof i!=="object"||i===null){(0,se.debug)("body is not an object or is null");return}if("signed_upload_url"in i&&typeof i.signed_upload_url==="string"){maskSigUrl(i.signed_upload_url)}if("signed_url"in i&&typeof i.signed_url==="string"){maskSigUrl(i.signed_url)}}d.maskSecretUrls=maskSecretUrls},30645:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};var ee=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.uploadZipToBlobStorage=void 0;const te=p(71400);const re=p(72938);const ne=K(p(84086));const se=K(p(76982));const ie=K(p(2203));const oe=p(45655);function uploadZipToBlobStorage(i,d){return ee(this,void 0,void 0,(function*(){let p=0;let v=Date.now();const V=new AbortController;const chunkTimer=i=>ee(this,void 0,void 0,(function*(){return new Promise(((d,p)=>{const K=setInterval((()=>{if(Date.now()-v>i){p(new Error("Upload progress stalled."))}}),i);V.signal.addEventListener("abort",(()=>{clearInterval(K);d()}))}))}));const K=(0,re.getConcurrency)();const ae=(0,re.getUploadChunkSize)();const Ae=new te.BlobClient(i);const ce=Ae.getBlockBlobClient();ne.debug(`Uploading artifact zip to blob storage with maxConcurrency: ${K}, bufferSize: ${ae}`);const uploadCallback=i=>{ne.info(`Uploaded bytes ${i.loadedBytes}`);p=i.loadedBytes;v=Date.now()};const le={blobHTTPHeaders:{blobContentType:"zip"},onProgress:uploadCallback,abortSignal:V.signal};let ue=undefined;const de=new ie.PassThrough;const he=se.createHash("sha256");d.pipe(de);d.pipe(he).setEncoding("hex");ne.info("Beginning upload of artifact content to blob storage");try{yield Promise.race([ce.uploadStream(de,ae,K,le),chunkTimer((0,re.getUploadChunkTimeout)())])}catch(i){if(oe.NetworkError.isNetworkErrorCode(i===null||i===void 0?void 0:i.code)){throw new oe.NetworkError(i===null||i===void 0?void 0:i.code)}throw i}finally{V.abort()}ne.info("Finished uploading artifact content to blob storage!");he.end();ue=he.read();ne.info(`SHA256 digest of uploaded artifact zip is ${ue}`);if(p===0){ne.warning(`No data was uploaded to blob storage. Reported upload byte count is 0.`)}return{uploadSize:p,sha256Hash:ue}}))}d.uploadZipToBlobStorage=uploadZipToBlobStorage},89190:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.validateFilePath=d.validateArtifactName=void 0;const v=p(84086);const V=new Map([['"',' Double quote "'],[":"," Colon :"],["<"," Less than <"],[">"," Greater than >"],["|"," Vertical bar |"],["*"," Asterisk *"],["?"," Question mark ?"],["\r"," Carriage return \\r"],["\n"," Line feed \\n"]]);const K=new Map([...V,["\\"," Backslash \\"],["/"," Forward slash /"]]);function validateArtifactName(i){if(!i){throw new Error(`Provided artifact name input during validation is empty`)}for(const[d,p]of K){if(i.includes(d)){throw new Error(`The artifact name is not valid: ${i}. Contains the following character: ${p}\n \nInvalid characters include: ${Array.from(K.values()).toString()}\n \nThese characters are not allowed in the artifact name due to limitations with certain file systems such as NTFS. To maintain file system agnostic behavior, these characters are intentionally not allowed to prevent potential problems with downloads on different file systems.`)}}(0,v.info)(`Artifact name is valid!`)}d.validateArtifactName=validateArtifactName;function validateFilePath(i){if(!i){throw new Error(`Provided file path input during validation is empty`)}for(const[d,p]of V){if(i.includes(d)){throw new Error(`The path for one of the files in artifact is not valid: ${i}. Contains the following character: ${p}\n \nInvalid characters include: ${Array.from(V.values()).toString()}\n \nThe following characters are not allowed in files that are uploaded due to limitations with certain file systems such as NTFS. To maintain file system agnostic behavior, these characters are intentionally not allowed to prevent potential problems with downloads on different file systems.\n `)}}}d.validateFilePath=validateFilePath},47252:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};Object.defineProperty(d,"__esModule",{value:true});d.getExpiration=void 0;const ee=p(44216);const te=K(p(84086));function getExpiration(i){if(!i){return undefined}const d=getRetentionDays();if(d&&di.sourcePath?[i.sourcePath]:[])))}const K=(0,oe.getBackendIdsFromToken)();const ee=(0,se.internalArtifactTwirpClient)();const ue={workflowRunBackendId:K.workflowRunBackendId,workflowJobRunBackendId:K.workflowJobRunBackendId,name:i,version:4};const de=(0,re.getExpiration)(v===null||v===void 0?void 0:v.retentionDays);if(de){ue.expiresAt=de}const he=yield ee.CreateArtifact(ue);if(!he.ok){throw new le.InvalidResponseError("CreateArtifact: response from backend was not ok")}const fe=yield(0,Ae.createZipUploadStream)(V,v===null||v===void 0?void 0:v.compressionLevel);const ge=yield(0,ae.uploadZipToBlobStorage)(he.signedUploadUrl,fe);const pe={workflowRunBackendId:K.workflowRunBackendId,workflowJobRunBackendId:K.workflowJobRunBackendId,name:i,size:ge.uploadSize?ge.uploadSize.toString():"0"};if(ge.sha256Hash){pe.hash=ce.StringValue.create({value:`sha256:${ge.sha256Hash}`})}te.info(`Finalizing artifact upload`);const me=yield ee.FinalizeArtifact(pe);if(!me.ok){throw new le.InvalidResponseError("FinalizeArtifact: response from backend was not ok")}const Ee=BigInt(me.artifactId);te.info(`Artifact ${i}.zip successfully finalized. Artifact ID ${Ee}`);return{size:ge.uploadSize,digest:ge.sha256Hash,id:Number(Ee)}}))}d.uploadArtifact=uploadArtifact},5067:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};Object.defineProperty(d,"__esModule",{value:true});d.getUploadZipSpecification=d.validateRootDirectory=void 0;const ee=K(p(79896));const te=p(84086);const re=p(16928);const ne=p(89190);function validateRootDirectory(i){if(!ee.existsSync(i)){throw new Error(`The provided rootDirectory ${i} does not exist`)}if(!ee.statSync(i).isDirectory()){throw new Error(`The provided rootDirectory ${i} is not a valid directory`)}(0,te.info)(`Root directory input is valid!`)}d.validateRootDirectory=validateRootDirectory;function getUploadZipSpecification(i,d){const p=[];d=(0,re.normalize)(d);d=(0,re.resolve)(d);for(let v of i){const i=ee.lstatSync(v,{throwIfNoEntry:false});if(!i){throw new Error(`File ${v} does not exist`)}if(!i.isDirectory()){v=(0,re.normalize)(v);v=(0,re.resolve)(v);if(!v.startsWith(d)){throw new Error(`The rootDirectory: ${d} is not a parent directory of the file: ${v}`)}const V=v.replace(d,"");(0,ne.validateFilePath)(V);p.push({sourcePath:v,destinationPath:V,stats:i})}else{const V=v.replace(d,"");(0,ne.validateFilePath)(V);p.push({sourcePath:null,destinationPath:V,stats:i})}}return p}d.getUploadZipSpecification=getUploadZipSpecification},37257:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};var ee=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.createZipUploadStream=d.ZipUploadStream=d.DEFAULT_COMPRESSION_LEVEL=void 0;const te=K(p(2203));const re=p(91943);const ne=K(p(99392));const se=K(p(84086));const ie=p(72938);d.DEFAULT_COMPRESSION_LEVEL=6;class ZipUploadStream extends te.Transform{constructor(i){super({highWaterMark:i})}_transform(i,d,p){p(null,i)}}d.ZipUploadStream=ZipUploadStream;function createZipUploadStream(i){return ee(this,arguments,void 0,(function*(i,p=d.DEFAULT_COMPRESSION_LEVEL){se.debug(`Creating Artifact archive with compressionLevel: ${p}`);const v=ne.create("zip",{highWaterMark:(0,ie.getUploadChunkSize)(),zlib:{level:p}});v.on("error",zipErrorCallback);v.on("warning",zipWarningCallback);v.on("finish",zipFinishCallback);v.on("end",zipEndCallback);for(const d of i){if(d.sourcePath!==null){let i=d.sourcePath;if(d.stats.isSymbolicLink()){i=yield(0,re.realpath)(d.sourcePath)}v.file(i,{name:d.destinationPath})}else{v.append("",{name:d.destinationPath})}}const V=(0,ie.getUploadChunkSize)();const K=new ZipUploadStream(V);se.debug(`Zip write high watermark value ${K.writableHighWaterMark}`);se.debug(`Zip read high watermark value ${K.readableHighWaterMark}`);v.pipe(K);v.finalize();return K}))}d.createZipUploadStream=createZipUploadStream;const zipErrorCallback=i=>{se.error("An error has occurred while creating the zip file for upload");se.info(i);throw new Error("An error has occurred during zip creation for the artifact")};const zipWarningCallback=i=>{if(i.code==="ENOENT"){se.warning("ENOENT warning during artifact zip creation. No such file or directory");se.info(i)}else{se.warning(`A non-blocking warning has occurred during artifact zip creation: ${i.code}`);se.info(i)}};const zipFinishCallback=()=>{se.debug("Zip stream for upload has finished.")};const zipEndCallback=()=>{se.debug("Zip stream for upload has ended.")}},61800:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K0){i+=" ";let d=true;for(const p in this.properties){if(this.properties.hasOwnProperty(p)){const v=this.properties[p];if(v){if(d){d=false}else{i+=","}i+=`${p}=${escapeProperty(v)}`}}}}i+=`${re}${escapeData(this.message)}`;return i}}function escapeData(i){return(0,te.toCommandValue)(i).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(i){return(0,te.toCommandValue)(i).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},84086:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Ki!==""));if(d&&d.trimWhitespace===false){return p}return p.map((i=>i.trim()))}function getBooleanInput(i,d){const p=["true","True","TRUE"];const v=["false","False","FALSE"];const V=getInput(i,d);if(p.includes(V))return true;if(v.includes(V))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${i}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}function setOutput(i,d){const p=process.env["GITHUB_OUTPUT"]||"";if(p){return(0,re.issueFileCommand)("OUTPUT",(0,re.prepareKeyValueMessage)(i,d))}process.stdout.write(se.EOL);(0,te.issueCommand)("set-output",{name:i},(0,ne.toCommandValue)(d))}function setCommandEcho(i){(0,te.issue)("echo",i?"on":"off")}function setFailed(i){process.exitCode=ae.Failure;error(i)}function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}function debug(i){(0,te.issueCommand)("debug",{},i)}function error(i,d={}){(0,te.issueCommand)("error",(0,ne.toCommandProperties)(d),i instanceof Error?i.toString():i)}function warning(i,d={}){(0,te.issueCommand)("warning",(0,ne.toCommandProperties)(d),i instanceof Error?i.toString():i)}function notice(i,d={}){(0,te.issueCommand)("notice",(0,ne.toCommandProperties)(d),i instanceof Error?i.toString():i)}function info(i){process.stdout.write(i+se.EOL)}function startGroup(i){(0,te.issue)("group",i)}function endGroup(){(0,te.issue)("endgroup")}function group(i,d){return ee(this,void 0,void 0,(function*(){startGroup(i);let p;try{p=yield d()}finally{endGroup()}return p}))}function saveState(i,d){const p=process.env["GITHUB_STATE"]||"";if(p){return(0,re.issueFileCommand)("STATE",(0,re.prepareKeyValueMessage)(i,d))}(0,te.issueCommand)("save-state",{name:i},(0,ne.toCommandValue)(d))}function getState(i){return process.env[`STATE_${i}`]||""}function getIDToken(i){return ee(this,void 0,void 0,(function*(){return yield oe.OidcClient.getIDToken(i)}))}var Ae=p(38073);Object.defineProperty(d,"summary",{enumerable:true,get:function(){return Ae.summary}});var ce=p(38073);Object.defineProperty(d,"markdownSummary",{enumerable:true,get:function(){return ce.markdownSummary}});var le=p(42674);Object.defineProperty(d,"toPosixPath",{enumerable:true,get:function(){return le.toPosixPath}});Object.defineProperty(d,"toWin32Path",{enumerable:true,get:function(){return le.toWin32Path}});Object.defineProperty(d,"toPlatformPath",{enumerable:true,get:function(){return le.toPlatformPath}});d.platform=K(p(90954))},86991:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K{throw new Error(`Failed to get ID Token. \n \n Error Code : ${i.statusCode}\n \n Error Message: ${i.message}`)}));const V=(d=v.result)===null||d===void 0?void 0:d.value;if(!V){throw new Error("Response json body do not have ID Token field")}return V}))}static getIDToken(i){return v(this,void 0,void 0,(function*(){try{let d=OidcClient.getIDTokenUrl();if(i){const p=encodeURIComponent(i);d=`${d}&audience=${p}`}(0,ee.debug)(`ID token url is ${d}`);const p=yield OidcClient.getCall(d);(0,ee.setSecret)(p);return p}catch(i){throw new Error(`Error message: ${i.message}`)}}))}}d.OidcClient=OidcClient},42674:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Kee(void 0,void 0,void 0,(function*(){const{stdout:i}=yield ne.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',undefined,{silent:true});const{stdout:d}=yield ne.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',undefined,{silent:true});return{name:d.trim(),version:i.trim()}}));const getMacOsInfo=()=>ee(void 0,void 0,void 0,(function*(){var i,d,p,v;const{stdout:V}=yield ne.getExecOutput("sw_vers",undefined,{silent:true});const K=(d=(i=V.match(/ProductVersion:\s*(.+)/))===null||i===void 0?void 0:i[1])!==null&&d!==void 0?d:"";const ee=(v=(p=V.match(/ProductName:\s*(.+)/))===null||p===void 0?void 0:p[1])!==null&&v!==void 0?v:"";return{name:ee,version:K}}));const getLinuxInfo=()=>ee(void 0,void 0,void 0,(function*(){const{stdout:i}=yield ne.getExecOutput("lsb_release",["-i","-r","-s"],{silent:true});const[d,p]=i.trim().split("\n");return{name:d,version:p}}));d.platform=re.default.platform();d.arch=re.default.arch();d.isWindows=d.platform==="win32";d.isMacOS=d.platform==="darwin";d.isLinux=d.platform==="linux";function getDetails(){return ee(this,void 0,void 0,(function*(){return Object.assign(Object.assign({},yield d.isWindows?getWindowsInfo():d.isMacOS?getMacOsInfo():getLinuxInfo()),{platform:d.platform,arch:d.arch,isWindows:d.isWindows,isMacOS:d.isMacOS,isLinux:d.isLinux})}))}},38073:function(i,d,p){var v=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.summary=d.markdownSummary=d.SUMMARY_DOCS_URL=d.SUMMARY_ENV_VAR=void 0;const V=p(70857);const K=p(79896);const{access:ee,appendFile:te,writeFile:re}=K.promises;d.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";d.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 v(this,void 0,void 0,(function*(){if(this._filePath){return this._filePath}const i=process.env[d.SUMMARY_ENV_VAR];if(!i){throw new Error(`Unable to find environment variable for $${d.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`)}try{yield ee(i,K.constants.R_OK|K.constants.W_OK)}catch(d){throw new Error(`Unable to access summary file: '${i}'. Check if the file has correct read/write permissions.`)}this._filePath=i;return this._filePath}))}wrap(i,d,p={}){const v=Object.entries(p).map((([i,d])=>` ${i}="${d}"`)).join("");if(!d){return`<${i}${v}>`}return`<${i}${v}>${d}`}write(i){return v(this,void 0,void 0,(function*(){const d=!!(i===null||i===void 0?void 0:i.overwrite);const p=yield this.filePath();const v=d?re:te;yield v(p,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return v(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(i,d=false){this._buffer+=i;return d?this.addEOL():this}addEOL(){return this.addRaw(V.EOL)}addCodeBlock(i,d){const p=Object.assign({},d&&{lang:d});const v=this.wrap("pre",this.wrap("code",i),p);return this.addRaw(v).addEOL()}addList(i,d=false){const p=d?"ol":"ul";const v=i.map((i=>this.wrap("li",i))).join("");const V=this.wrap(p,v);return this.addRaw(V).addEOL()}addTable(i){const d=i.map((i=>{const d=i.map((i=>{if(typeof i==="string"){return this.wrap("td",i)}const{header:d,data:p,colspan:v,rowspan:V}=i;const K=d?"th":"td";const ee=Object.assign(Object.assign({},v&&{colspan:v}),V&&{rowspan:V});return this.wrap(K,p,ee)})).join("");return this.wrap("tr",d)})).join("");const p=this.wrap("table",d);return this.addRaw(p).addEOL()}addDetails(i,d){const p=this.wrap("details",this.wrap("summary",i)+d);return this.addRaw(p).addEOL()}addImage(i,d,p){const{width:v,height:V}=p||{};const K=Object.assign(Object.assign({},v&&{width:v}),V&&{height:V});const ee=this.wrap("img",null,Object.assign({src:i,alt:d},K));return this.addRaw(ee).addEOL()}addHeading(i,d){const p=`h${d}`;const v=["h1","h2","h3","h4","h5","h6"].includes(p)?p:"h1";const V=this.wrap(v,i);return this.addRaw(V).addEOL()}addSeparator(){const i=this.wrap("hr",null);return this.addRaw(i).addEOL()}addBreak(){const i=this.wrap("br",null);return this.addRaw(i).addEOL()}addQuote(i,d){const p=Object.assign({},d&&{cite:d});const v=this.wrap("blockquote",i,p);return this.addRaw(v).addEOL()}addLink(i,d){const p=this.wrap("a",i,{href:d});return this.addRaw(p).addEOL()}}const ne=new Summary;d.markdownSummary=ne;d.summary=ne},57420:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.toCommandValue=toCommandValue;d.toCommandProperties=toCommandProperties;function toCommandValue(i){if(i===null||i===undefined){return""}else if(typeof i==="string"||i instanceof String){return i}return JSON.stringify(i)}function toCommandProperties(i){if(!Object.keys(i).length){return{}}return{title:i.title,file:i.file,line:i.startLine,endLine:i.endLine,col:i.startColumn,endColumn:i.endColumn}}},26784:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});const p="1.0.4";function requestLog(i){i.hook.wrap("request",((d,p)=>{i.log.debug("request",p);const v=Date.now();const V=i.request.endpoint.parse(p);const K=V.url.replace(p.baseUrl,"");return d(p).then((d=>{i.log.info(`${V.method} ${K} - ${d.status} in ${Date.now()-v}ms`);return d})).catch((d=>{i.log.info(`${V.method} ${K} - ${d.status} in ${Date.now()-v}ms`);throw d}))}))}requestLog.VERSION=p;d.requestLog=requestLog},5116:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K512){throw new ValidationError(`Key Validation Error: ${i} cannot be larger than 512 characters.`)}const d=/^[^,]*$/;if(!d.test(i)){throw new ValidationError(`Key Validation Error: ${i} cannot contain commas.`)}}function isFeatureAvailable(){const i=(0,oe.getCacheServiceVersion)();switch(i){case"v2":return!!process.env["ACTIONS_RESULTS_URL"];case"v1":default:return!!process.env["ACTIONS_CACHE_URL"]}}function restoreCache(i,d,p,v){return ee(this,arguments,void 0,(function*(i,d,p,v,V=false){const K=(0,oe.getCacheServiceVersion)();te.debug(`Cache service version: ${K}`);checkPaths(i);switch(K){case"v2":return yield restoreCacheV2(i,d,p,v,V);case"v1":default:return yield restoreCacheV1(i,d,p,v,V)}}))}function restoreCacheV1(i,d,p,v){return ee(this,arguments,void 0,(function*(i,d,p,v,V=false){p=p||[];const K=[d,...p];te.debug("Resolved Keys:");te.debug(JSON.stringify(K));if(K.length>10){throw new ValidationError(`Key Validation Error: Keys are limited to a maximum of 10.`)}for(const i of K){checkKey(i)}const ee=yield ne.getCompressionMethod();let ie="";try{const d=yield se.getCacheEntry(K,i,{compressionMethod:ee,enableCrossOsArchive:V});if(!(d===null||d===void 0?void 0:d.archiveLocation)){return undefined}if(v===null||v===void 0?void 0:v.lookupOnly){te.info("Lookup only - skipping download");return d.cacheKey}ie=re.join(yield ne.createTempDirectory(),ne.getCacheFileName(ee));te.debug(`Archive Path: ${ie}`);yield se.downloadCache(d.archiveLocation,ie,v);if(te.isDebug()){yield(0,ae.listTar)(ie,ee)}const p=ne.getArchiveFileSizeInBytes(ie);te.info(`Cache Size: ~${Math.round(p/(1024*1024))} MB (${p} B)`);yield(0,ae.extractTar)(ie,ee);te.info("Cache restored successfully");return d.cacheKey}catch(i){const d=i;if(d.name===ValidationError.name){throw i}else{if(d instanceof Ae.HttpClientError&&typeof d.statusCode==="number"&&d.statusCode>=500){te.error(`Failed to restore: ${i.message}`)}else{te.warning(`Failed to restore: ${i.message}`)}}}finally{try{yield ne.unlinkFile(ie)}catch(i){te.debug(`Failed to delete archive: ${i}`)}}return undefined}))}function restoreCacheV2(i,d,p,v){return ee(this,arguments,void 0,(function*(i,d,p,v,V=false){v=Object.assign(Object.assign({},v),{useAzureSdk:true});p=p||[];const K=[d,...p];te.debug("Resolved Keys:");te.debug(JSON.stringify(K));if(K.length>10){throw new ValidationError(`Key Validation Error: Keys are limited to a maximum of 10.`)}for(const i of K){checkKey(i)}let ee="";try{const oe=ie.internalCacheTwirpClient();const Ae=yield ne.getCompressionMethod();const ce={key:d,restoreKeys:p,version:ne.getCacheVersion(i,Ae,V)};const le=yield oe.GetCacheEntryDownloadURL(ce);if(!le.ok){te.debug(`Cache not found for version ${ce.version} of keys: ${K.join(", ")}`);return undefined}const ue=ce.key!==le.matchedKey;if(ue){te.info(`Cache hit for restore-key: ${le.matchedKey}`)}else{te.info(`Cache hit for: ${le.matchedKey}`)}if(v===null||v===void 0?void 0:v.lookupOnly){te.info("Lookup only - skipping download");return le.matchedKey}ee=re.join(yield ne.createTempDirectory(),ne.getCacheFileName(Ae));te.debug(`Archive path: ${ee}`);te.debug(`Starting download of archive to: ${ee}`);yield se.downloadCache(le.signedDownloadUrl,ee,v);const de=ne.getArchiveFileSizeInBytes(ee);te.info(`Cache Size: ~${Math.round(de/(1024*1024))} MB (${de} B)`);if(te.isDebug()){yield(0,ae.listTar)(ee,Ae)}yield(0,ae.extractTar)(ee,Ae);te.info("Cache restored successfully");return le.matchedKey}catch(i){const d=i;if(d.name===ValidationError.name){throw i}else{if(d instanceof Ae.HttpClientError&&typeof d.statusCode==="number"&&d.statusCode>=500){te.error(`Failed to restore: ${i.message}`)}else{te.warning(`Failed to restore: ${i.message}`)}}}finally{try{if(ee){yield ne.unlinkFile(ee)}}catch(i){te.debug(`Failed to delete archive: ${i}`)}}return undefined}))}function saveCache(i,d,p){return ee(this,arguments,void 0,(function*(i,d,p,v=false){const V=(0,oe.getCacheServiceVersion)();te.debug(`Cache service version: ${V}`);checkPaths(i);checkKey(d);switch(V){case"v2":return yield saveCacheV2(i,d,p,v);case"v1":default:return yield saveCacheV1(i,d,p,v)}}))}function saveCacheV1(i,d,p){return ee(this,arguments,void 0,(function*(i,d,p,v=false){var V,K,ee,ie,ce;const le=yield ne.getCompressionMethod();let ue=-1;const de=yield ne.resolvePaths(i);te.debug("Cache Paths:");te.debug(`${JSON.stringify(de)}`);if(de.length===0){throw new Error(`Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.`)}const he=yield ne.createTempDirectory();const fe=re.join(he,ne.getCacheFileName(le));te.debug(`Archive Path: ${fe}`);try{yield(0,ae.createTar)(he,de,le);if(te.isDebug()){yield(0,ae.listTar)(fe,le)}const re=10*1024*1024*1024;const Ae=ne.getArchiveFileSizeInBytes(fe);te.debug(`File Size: ${Ae}`);if(Ae>re&&!(0,oe.isGhes)()){throw new Error(`Cache size of ~${Math.round(Ae/(1024*1024))} MB (${Ae} B) is over the 10GB limit, not saving cache.`)}te.debug("Reserving Cache");const ge=yield se.reserveCache(d,i,{compressionMethod:le,enableCrossOsArchive:v,cacheSize:Ae});if((V=ge===null||ge===void 0?void 0:ge.result)===null||V===void 0?void 0:V.cacheId){ue=(K=ge===null||ge===void 0?void 0:ge.result)===null||K===void 0?void 0:K.cacheId}else if((ge===null||ge===void 0?void 0:ge.statusCode)===400){throw new Error((ie=(ee=ge===null||ge===void 0?void 0:ge.error)===null||ee===void 0?void 0:ee.message)!==null&&ie!==void 0?ie:`Cache size of ~${Math.round(Ae/(1024*1024))} MB (${Ae} B) is over the data cap limit, not saving cache.`)}else{throw new ReserveCacheError(`Unable to reserve cache with key ${d}, another job may be creating this cache. More details: ${(ce=ge===null||ge===void 0?void 0:ge.error)===null||ce===void 0?void 0:ce.message}`)}te.debug(`Saving Cache (ID: ${ue})`);yield se.saveCache(ue,fe,"",p)}catch(i){const d=i;if(d.name===ValidationError.name){throw i}else if(d.name===ReserveCacheError.name){te.info(`Failed to save: ${d.message}`)}else{if(d instanceof Ae.HttpClientError&&typeof d.statusCode==="number"&&d.statusCode>=500){te.error(`Failed to save: ${d.message}`)}else{te.warning(`Failed to save: ${d.message}`)}}}finally{try{yield ne.unlinkFile(fe)}catch(i){te.debug(`Failed to delete archive: ${i}`)}}return ue}))}function saveCacheV2(i,d,p){return ee(this,arguments,void 0,(function*(i,d,p,v=false){p=Object.assign(Object.assign({},p),{uploadChunkSize:64*1024*1024,uploadConcurrency:8,useAzureSdk:true});const V=yield ne.getCompressionMethod();const K=ie.internalCacheTwirpClient();let ee=-1;const oe=yield ne.resolvePaths(i);te.debug("Cache Paths:");te.debug(`${JSON.stringify(oe)}`);if(oe.length===0){throw new Error(`Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.`)}const ce=yield ne.createTempDirectory();const le=re.join(ce,ne.getCacheFileName(V));te.debug(`Archive Path: ${le}`);try{yield(0,ae.createTar)(ce,oe,V);if(te.isDebug()){yield(0,ae.listTar)(le,V)}const re=ne.getArchiveFileSizeInBytes(le);te.debug(`File Size: ${re}`);p.archiveSizeBytes=re;te.debug("Reserving Cache");const ie=ne.getCacheVersion(i,V,v);const Ae={key:d,version:ie};let ue;try{const i=yield K.CreateCacheEntry(Ae);if(!i.ok){if(i.message){te.warning(`Cache reservation failed: ${i.message}`)}throw new Error(i.message||"Response was not ok")}ue=i.signedUploadUrl}catch(i){te.debug(`Failed to reserve cache: ${i}`);throw new ReserveCacheError(`Unable to reserve cache with key ${d}, another job may be creating this cache.`)}te.debug(`Attempting to upload cache located at: ${le}`);yield se.saveCache(ee,le,ue,p);const de={key:d,version:ie,sizeBytes:`${re}`};const he=yield K.FinalizeCacheEntryUpload(de);te.debug(`FinalizeCacheEntryUploadResponse: ${he.ok}`);if(!he.ok){if(he.message){throw new FinalizeCacheError(he.message)}throw new Error(`Unable to finalize cache with key ${d}, another job may be finalizing this cache.`)}ee=parseInt(he.entryId)}catch(i){const d=i;if(d.name===ValidationError.name){throw i}else if(d.name===ReserveCacheError.name){te.info(`Failed to save: ${d.message}`)}else if(d.name===FinalizeCacheError.name){te.warning(d.message)}else{if(d instanceof Ae.HttpClientError&&typeof d.statusCode==="number"&&d.statusCode>=500){te.error(`Failed to save: ${d.message}`)}else{te.warning(`Failed to save: ${d.message}`)}}}finally{try{yield ne.unlinkFile(le)}catch(i){te.debug(`Failed to delete archive: ${i}`)}}return ee}))}},93156:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.CacheService=d.GetCacheEntryDownloadURLResponse=d.GetCacheEntryDownloadURLRequest=d.FinalizeCacheEntryUploadResponse=d.FinalizeCacheEntryUploadRequest=d.CreateCacheEntryResponse=d.CreateCacheEntryRequest=void 0;const v=p(76762);const V=p(88372);const K=p(88372);const ee=p(88372);const te=p(88372);const re=p(88372);const ne=p(89444);class CreateCacheEntryRequest$Type extends re.MessageType{constructor(){super("github.actions.results.api.v1.CreateCacheEntryRequest",[{no:1,name:"metadata",kind:"message",T:()=>ne.CacheMetadata},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"version",kind:"scalar",T:9}])}create(i){const d={key:"",version:""};globalThis.Object.defineProperty(d,te.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,ee.reflectionMergePartial)(this,d,i);return d}internalBinaryRead(i,d,p,v){let V=v!==null&&v!==void 0?v:this.create(),ee=i.pos+d;while(i.posne.CacheMetadata},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"size_bytes",kind:"scalar",T:3},{no:4,name:"version",kind:"scalar",T:9}])}create(i){const d={key:"",sizeBytes:"0",version:""};globalThis.Object.defineProperty(d,te.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,ee.reflectionMergePartial)(this,d,i);return d}internalBinaryRead(i,d,p,v){let V=v!==null&&v!==void 0?v:this.create(),ee=i.pos+d;while(i.posne.CacheMetadata},{no:2,name:"key",kind:"scalar",T:9},{no:3,name:"restore_keys",kind:"scalar",repeat:2,T:9},{no:4,name:"version",kind:"scalar",T:9}])}create(i){const d={key:"",restoreKeys:[],version:""};globalThis.Object.defineProperty(d,te.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,ee.reflectionMergePartial)(this,d,i);return d}internalBinaryRead(i,d,p,v){let V=v!==null&&v!==void 0?v:this.create(),ee=i.pos+d;while(i.pos{Object.defineProperty(d,"__esModule",{value:true});d.CacheServiceClientProtobuf=d.CacheServiceClientJSON=void 0;const v=p(93156);class CacheServiceClientJSON{constructor(i){this.rpc=i;this.CreateCacheEntry.bind(this);this.FinalizeCacheEntryUpload.bind(this);this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(i){const d=v.CreateCacheEntryRequest.toJson(i,{useProtoFieldName:true,emitDefaultValues:false});const p=this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/json",d);return p.then((i=>v.CreateCacheEntryResponse.fromJson(i,{ignoreUnknownFields:true})))}FinalizeCacheEntryUpload(i){const d=v.FinalizeCacheEntryUploadRequest.toJson(i,{useProtoFieldName:true,emitDefaultValues:false});const p=this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/json",d);return p.then((i=>v.FinalizeCacheEntryUploadResponse.fromJson(i,{ignoreUnknownFields:true})))}GetCacheEntryDownloadURL(i){const d=v.GetCacheEntryDownloadURLRequest.toJson(i,{useProtoFieldName:true,emitDefaultValues:false});const p=this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/json",d);return p.then((i=>v.GetCacheEntryDownloadURLResponse.fromJson(i,{ignoreUnknownFields:true})))}}d.CacheServiceClientJSON=CacheServiceClientJSON;class CacheServiceClientProtobuf{constructor(i){this.rpc=i;this.CreateCacheEntry.bind(this);this.FinalizeCacheEntryUpload.bind(this);this.GetCacheEntryDownloadURL.bind(this)}CreateCacheEntry(i){const d=v.CreateCacheEntryRequest.toBinary(i);const p=this.rpc.request("github.actions.results.api.v1.CacheService","CreateCacheEntry","application/protobuf",d);return p.then((i=>v.CreateCacheEntryResponse.fromBinary(i)))}FinalizeCacheEntryUpload(i){const d=v.FinalizeCacheEntryUploadRequest.toBinary(i);const p=this.rpc.request("github.actions.results.api.v1.CacheService","FinalizeCacheEntryUpload","application/protobuf",d);return p.then((i=>v.FinalizeCacheEntryUploadResponse.fromBinary(i)))}GetCacheEntryDownloadURL(i){const d=v.GetCacheEntryDownloadURLRequest.toBinary(i);const p=this.rpc.request("github.actions.results.api.v1.CacheService","GetCacheEntryDownloadURL","application/protobuf",d);return p.then((i=>v.GetCacheEntryDownloadURLResponse.fromBinary(i)))}}d.CacheServiceClientProtobuf=CacheServiceClientProtobuf},89444:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.CacheMetadata=void 0;const v=p(88372);const V=p(88372);const K=p(88372);const ee=p(88372);const te=p(88372);const re=p(29425);class CacheMetadata$Type extends te.MessageType{constructor(){super("github.actions.results.entities.v1.CacheMetadata",[{no:1,name:"repository_id",kind:"scalar",T:3},{no:2,name:"scope",kind:"message",repeat:1,T:()=>re.CacheScope}])}create(i){const d={repositoryId:"0",scope:[]};globalThis.Object.defineProperty(d,ee.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,K.reflectionMergePartial)(this,d,i);return d}internalBinaryRead(i,d,p,v){let K=v!==null&&v!==void 0?v:this.create(),ee=i.pos+d;while(i.pos{Object.defineProperty(d,"__esModule",{value:true});d.CacheScope=void 0;const v=p(88372);const V=p(88372);const K=p(88372);const ee=p(88372);const te=p(88372);class CacheScope$Type extends te.MessageType{constructor(){super("github.actions.results.entities.v1.CacheScope",[{no:1,name:"scope",kind:"scalar",T:9},{no:2,name:"permission",kind:"scalar",T:3}])}create(i){const d={scope:"",permission:"0"};globalThis.Object.defineProperty(d,ee.MESSAGE_TYPE,{enumerable:false,value:this});if(i!==undefined)(0,K.reflectionMergePartial)(this,d,i);return d}internalBinaryRead(i,d,p,v){let K=v!==null&&v!==void 0?v:this.create(),ee=i.pos+d;while(i.posee(this,void 0,void 0,(function*(){return v.getJson(getCacheApiUrl(K))}))));if(re.statusCode===204){if(te.isDebug()){yield printCachesListForDiagnostics(i[0],v,V)}return null}if(!(0,le.isSuccessStatusCode)(re.statusCode)){throw new Error(`Cache service responded with ${re.statusCode}`)}const ne=re.result;const se=ne===null||ne===void 0?void 0:ne.archiveLocation;if(!se){throw new Error("Cache not found.")}te.setSecret(se);te.debug(`Cache Result:`);te.debug(JSON.stringify(ne));return ne}))}function printCachesListForDiagnostics(i,d,p){return ee(this,void 0,void 0,(function*(){const v=`caches?key=${encodeURIComponent(i)}`;const V=yield(0,le.retryTypedResponse)("listCache",(()=>ee(this,void 0,void 0,(function*(){return d.getJson(getCacheApiUrl(v))}))));if(V.statusCode===200){const d=V.result;const v=d===null||d===void 0?void 0:d.totalCount;if(v&&v>0){te.debug(`No matching cache found for cache key '${i}', version '${p} and scope ${process.env["GITHUB_REF"]}. There exist one or more cache(s) with similar key but they have different version or scope. See more info on cache matching here: https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#matching-a-cache-key \nOther caches with similar key:`);for(const i of(d===null||d===void 0?void 0:d.artifactCaches)||[]){te.debug(`Cache Key: ${i===null||i===void 0?void 0:i.cacheKey}, Cache Version: ${i===null||i===void 0?void 0:i.cacheVersion}, Cache Scope: ${i===null||i===void 0?void 0:i.scope}, Cache Created: ${i===null||i===void 0?void 0:i.creationTime}`)}}}}))}function downloadCache(i,d,p){return ee(this,void 0,void 0,(function*(){const v=new ie.URL(i);const V=(0,ce.getDownloadOptions)(p);if(v.hostname.endsWith(".blob.core.windows.net")){if(V.useAzureSdk){yield(0,Ae.downloadCacheStorageSDK)(i,d,V)}else if(V.concurrentBlobDownloads){yield(0,Ae.downloadCacheHttpClientConcurrent)(i,d,V)}else{yield(0,Ae.downloadCacheHttpClient)(i,d)}}else{yield(0,Ae.downloadCacheHttpClient)(i,d)}}))}function reserveCache(i,d,p){return ee(this,void 0,void 0,(function*(){const v=createHttpClient();const V=oe.getCacheVersion(d,p===null||p===void 0?void 0:p.compressionMethod,p===null||p===void 0?void 0:p.enableCrossOsArchive);const K={key:i,version:V,cacheSize:p===null||p===void 0?void 0:p.cacheSize};const te=yield(0,le.retryTypedResponse)("reserveCache",(()=>ee(this,void 0,void 0,(function*(){return v.postJson(getCacheApiUrl("caches"),K)}))));return te}))}function getContentRange(i,d){return`bytes ${i}-${d}/*`}function uploadChunk(i,d,p,v,V){return ee(this,void 0,void 0,(function*(){te.debug(`Uploading chunk of size ${V-v+1} bytes at offset ${v} with content range: ${getContentRange(v,V)}`);const K={"Content-Type":"application/octet-stream","Content-Range":getContentRange(v,V)};const re=yield(0,le.retryHttpClientResponse)(`uploadChunk (start: ${v}, end: ${V})`,(()=>ee(this,void 0,void 0,(function*(){return i.sendStream("PATCH",d,p(),K)}))));if(!(0,le.isSuccessStatusCode)(re.message.statusCode)){throw new Error(`Cache service responded with ${re.message.statusCode} during upload chunk.`)}}))}function uploadFile(i,d,p,v){return ee(this,void 0,void 0,(function*(){const V=oe.getArchiveFileSizeInBytes(p);const K=getCacheApiUrl(`caches/${d.toString()}`);const re=se.openSync(p,"r");const ne=(0,ce.getUploadOptions)(v);const ie=oe.assertDefined("uploadConcurrency",ne.uploadConcurrency);const ae=oe.assertDefined("uploadChunkSize",ne.uploadChunkSize);const Ae=[...new Array(ie).keys()];te.debug("Awaiting all uploads");let le=0;try{yield Promise.all(Ae.map((()=>ee(this,void 0,void 0,(function*(){while(lese.createReadStream(p,{fd:re,start:v,end:ee,autoClose:false}).on("error",(i=>{throw new Error(`Cache upload failed because file read failed with ${i.message}`)}))),v,ee)}})))))}finally{se.closeSync(re)}return}))}function commitCache(i,d,p){return ee(this,void 0,void 0,(function*(){const v={size:p};return yield(0,le.retryTypedResponse)("commitCache",(()=>ee(this,void 0,void 0,(function*(){return i.postJson(getCacheApiUrl(`caches/${d.toString()}`),v)}))))}))}function saveCache(i,d,p,v){return ee(this,void 0,void 0,(function*(){const V=(0,ce.getUploadOptions)(v);if(V.useAzureSdk){if(!p){throw new Error("Azure Storage SDK can only be used when a signed URL is provided.")}yield(0,ae.uploadCacheArchiveSDK)(p,d,v)}else{const p=createHttpClient();te.debug("Upload cache");yield uploadFile(p,i,d,v);te.debug("Commiting cache");const V=oe.getArchiveFileSizeInBytes(d);te.info(`Cache Size: ~${Math.round(V/(1024*1024))} MB (${V} B)`);const K=yield commitCache(p,i,V);if(!(0,le.isSuccessStatusCode)(K.statusCode)){throw new Error(`Cache service responded with ${K.statusCode} during commit cache.`)}te.info("Cache saved successfully")}}))}},98299:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Kp+=i.toString(),stderr:i=>p+=i.toString()}})}catch(i){re.debug(i.message)}p=p.trim();re.debug(p);return p}))}function getCompressionMethod(){return ee(this,void 0,void 0,(function*(){const i=yield getVersion("zstd",["--quiet"]);const d=ce.clean(i);re.debug(`zstd version: ${d}`);if(i===""){return ue.CompressionMethod.Gzip}else{return ue.CompressionMethod.ZstdWithoutLong}}))}function getCacheFileName(i){return i===ue.CompressionMethod.Gzip?ue.CacheFilename.Gzip:ue.CacheFilename.Zstd}function getGnuTarPathOnWindows(){return ee(this,void 0,void 0,(function*(){if(ae.existsSync(ue.GnuTarPathOnWindows)){return ue.GnuTarPathOnWindows}const i=yield getVersion("tar");return i.toLowerCase().includes("gnu tar")?ie.which("tar"):""}))}function assertDefined(i,d){if(d===undefined){throw Error(`Expected ${i} but value was undefiend`)}return d}function getCacheVersion(i,d,p=false){const v=i.slice();if(d){v.push(d)}if(process.platform==="win32"&&!p){v.push("windows-only")}v.push(de);return oe.createHash("sha256").update(v.join("|")).digest("hex")}function getRuntimeToken(){const i=process.env["ACTIONS_RUNTIME_TOKEN"];if(!i){throw new Error("Unable to get the ACTIONS_RUNTIME_TOKEN env variable")}return i}},17606:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.isGhes=isGhes;d.getCacheServiceVersion=getCacheServiceVersion;d.getCacheServiceURL=getCacheServiceURL;function isGhes(){const i=new URL(process.env["GITHUB_SERVER_URL"]||"https://github.com");const d=i.hostname.trimEnd().toUpperCase();const p=d==="GITHUB.COM";const v=d.endsWith(".GHE.COM");const V=d.endsWith(".LOCALHOST");return!p&&!v&&!V}function getCacheServiceVersion(){if(isGhes())return"v1";return process.env["ACTIONS_CACHE_SERVICE_V2"]?"v2":"v1"}function getCacheServiceURL(){const i=getCacheServiceVersion();switch(i){case"v1":return process.env["ACTIONS_CACHE_URL"]||process.env["ACTIONS_RESULTS_URL"]||"";case"v2":return process.env["ACTIONS_RESULTS_URL"]||"";default:throw new Error(`Unsupported cache service version: ${i}`)}}},58287:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.CacheFileSizeLimit=d.ManifestFilename=d.TarFilename=d.SystemTarPathOnWindows=d.GnuTarPathOnWindows=d.SocketTimeout=d.DefaultRetryDelay=d.DefaultRetryAttempts=d.ArchiveToolType=d.CompressionMethod=d.CacheFilename=void 0;var p;(function(i){i["Gzip"]="cache.tgz";i["Zstd"]="cache.tzst"})(p||(d.CacheFilename=p={}));var v;(function(i){i["Gzip"]="gzip";i["ZstdWithoutLong"]="zstd-without-long";i["Zstd"]="zstd"})(v||(d.CompressionMethod=v={}));var V;(function(i){i["GNU"]="gnu";i["BSD"]="bsd"})(V||(d.ArchiveToolType=V={}));d.DefaultRetryAttempts=2;d.DefaultRetryDelay=5e3;d.SocketTimeout=5e3;d.GnuTarPathOnWindows=`${process.env["PROGRAMFILES"]}\\Git\\usr\\bin\\tar.exe`;d.SystemTarPathOnWindows=`${process.env["SYSTEMDRIVE"]}\\Windows\\System32\\tar.exe`;d.TarFilename="cache.tar";d.ManifestFilename="manifest.txt";d.CacheFileSizeLimit=10*Math.pow(1024,3)},75067:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K{this.setReceivedBytes(i.loadedBytes)}}startDisplayTimer(i=1e3){const displayCallback=()=>{this.display();if(!this.isDone()){this.timeoutHandle=setTimeout(displayCallback,i)}};this.timeoutHandle=setTimeout(displayCallback,i)}stopDisplayTimer(){if(this.timeoutHandle){clearTimeout(this.timeoutHandle);this.timeoutHandle=undefined}this.display()}}d.DownloadProgress=DownloadProgress;function downloadCacheHttpClient(i,d){return ee(this,void 0,void 0,(function*(){const p=ie.createWriteStream(d);const v=new re.HttpClient("actions/cache");const V=yield(0,le.retryHttpClientResponse)("downloadCache",(()=>ee(this,void 0,void 0,(function*(){return v.get(i)}))));V.message.socket.setTimeout(ce.SocketTimeout,(()=>{V.message.destroy();te.debug(`Aborting download, socket timed out after ${ce.SocketTimeout} ms`)}));yield pipeResponseToStream(V,p);const K=V.message.headers["content-length"];if(K){const i=parseInt(K);const p=Ae.getArchiveFileSizeInBytes(d);if(p!==i){throw new Error(`Incomplete download. Expected file size: ${i}, actual file size: ${p}`)}}else{te.debug("Unable to validate download, no Content-Length header")}}))}function downloadCacheHttpClientConcurrent(i,d,p){return ee(this,void 0,void 0,(function*(){var v;const V=yield ie.promises.open(d,"w");const K=new re.HttpClient("actions/cache",undefined,{socketTimeout:p.timeoutInMs,keepAlive:true});try{const d=yield(0,le.retryHttpClientResponse)("downloadCacheMetadata",(()=>ee(this,void 0,void 0,(function*(){return yield K.request("HEAD",i,null,{})}))));const te=d.message.headers["content-length"];if(te===undefined||te===null){throw new Error("Content-Length not found on blob response")}const re=parseInt(te);if(Number.isNaN(re)){throw new Error(`Could not interpret Content-Length: ${re}`)}const ne=[];const se=4*1024*1024;for(let d=0;dee(this,void 0,void 0,(function*(){return yield downloadSegmentRetry(K,i,d,p)}))})}ne.reverse();let ie=0;let oe=0;const ae=new DownloadProgress(re);ae.startDisplayTimer();const Ae=ae.onProgress();const ce=[];let ue;const waitAndWrite=()=>ee(this,void 0,void 0,(function*(){const i=yield Promise.race(Object.values(ce));yield V.write(i.buffer,0,i.count,i.offset);ie--;delete ce[i.offset];oe+=i.count;Ae({loadedBytes:oe})}));while(ue=ne.pop()){ce[ue.offset]=ue.promiseGetter();ie++;if(ie>=((v=p.downloadConcurrency)!==null&&v!==void 0?v:10)){yield waitAndWrite()}}while(ie>0){yield waitAndWrite()}}finally{K.dispose();yield V.close()}}))}function downloadSegmentRetry(i,d,p,v){return ee(this,void 0,void 0,(function*(){const V=5;let K=0;while(true){try{const V=3e4;const K=yield promiseWithTimeout(V,downloadSegment(i,d,p,v));if(typeof K==="string"){throw new Error("downloadSegmentRetry failed due to timeout")}return K}catch(i){if(K>=V){throw i}K++}}}))}function downloadSegment(i,d,p,v){return ee(this,void 0,void 0,(function*(){const V=yield(0,le.retryHttpClientResponse)("downloadCachePart",(()=>ee(this,void 0,void 0,(function*(){return yield i.get(d,{Range:`bytes=${p}-${p+v-1}`})}))));if(!V.readBodyBuffer){throw new Error("Expected HttpClientResponse to implement readBodyBuffer")}return{offset:p,count:v,buffer:yield V.readBodyBuffer()}}))}function downloadCacheStorageSDK(i,d,p){return ee(this,void 0,void 0,(function*(){var v;const V=new ne.BlockBlobClient(i,undefined,{retryOptions:{tryTimeoutInMs:p.timeoutInMs}});const K=yield V.getProperties();const ee=(v=K.contentLength)!==null&&v!==void 0?v:-1;if(ee<0){te.debug("Unable to determine content length, downloading file with http-client...");yield downloadCacheHttpClient(i,d)}else{const i=Math.min(134217728,se.constants.MAX_LENGTH);const v=new DownloadProgress(ee);const K=ie.openSync(d,"w");try{v.startDisplayTimer();const d=new ue.AbortController;const te=d.signal;while(!v.isDone()){const re=v.segmentOffset+v.segmentSize;const ne=Math.min(i,ee-re);v.nextSegment(ne);const se=yield promiseWithTimeout(p.segmentTimeoutInMs||36e5,V.downloadToBuffer(re,ne,{abortSignal:te,concurrency:p.downloadConcurrency,onProgress:v.onProgress()}));if(se==="timeout"){d.abort();throw new Error("Aborting cache download as the download time exceeded the timeout.")}else if(Buffer.isBuffer(se)){ie.writeFileSync(K,se)}}}finally{v.stopDisplayTimer();ie.closeSync(K)}}}))}const promiseWithTimeout=(i,d)=>ee(void 0,void 0,void 0,(function*(){let p;const v=new Promise((d=>{p=setTimeout((()=>d("timeout")),i)}));return Promise.race([d,v]).then((i=>{clearTimeout(p);return i}))}))},32846:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K=200&&i<300}function isServerErrorStatusCode(i){if(!i){return true}return i>=500}function isRetryableStatusCode(i){if(!i){return false}const d=[re.HttpCodes.BadGateway,re.HttpCodes.ServiceUnavailable,re.HttpCodes.GatewayTimeout];return d.includes(i)}function sleep(i){return ee(this,void 0,void 0,(function*(){return new Promise((d=>setTimeout(d,i)))}))}function retry(i,d,p){return ee(this,arguments,void 0,(function*(i,d,p,v=ne.DefaultRetryAttempts,V=ne.DefaultRetryDelay,K=undefined){let ee="";let re=1;while(re<=v){let ne=undefined;let se=undefined;let ie=false;try{ne=yield d()}catch(i){if(K){ne=K(i)}ie=true;ee=i.message}if(ne){se=p(ne);if(!isServerErrorStatusCode(se)){return ne}}if(se){ie=isRetryableStatusCode(se);ee=`Cache service responded with ${se}`}te.debug(`${i} - Attempt ${re} of ${v} failed with error: ${ee}`);if(!ie){te.debug(`${i} - Error is not retryable`);break}yield sleep(V);re++}throw Error(`${i} failed: ${ee}`)}))}function retryTypedResponse(i,d){return ee(this,arguments,void 0,(function*(i,d,p=ne.DefaultRetryAttempts,v=ne.DefaultRetryDelay){return yield retry(i,d,(i=>i.statusCode),p,v,(i=>{if(i instanceof re.HttpClientError){return{statusCode:i.statusCode,result:null,headers:{},error:i}}else{return undefined}}))}))}function retryHttpClientResponse(i,d){return ee(this,arguments,void 0,(function*(i,d,p=ne.DefaultRetryAttempts,v=ne.DefaultRetryDelay){return yield retry(i,d,(i=>i.message.statusCode),p,v)}))}},96819:function(i,d,p){var v=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.internalCacheTwirpClient=internalCacheTwirpClient;const V=p(81206);const K=p(41899);const ee=p(50263);const te=p(17606);const re=p(98299);const ne=p(44552);const se=p(54844);const ie=p(11486);const oe=p(27564);class CacheServiceClient{constructor(i,d,p,v){this.maxAttempts=5;this.baseRetryIntervalMilliseconds=3e3;this.retryMultiplier=1.5;const V=(0,re.getRuntimeToken)();this.baseUrl=(0,te.getCacheServiceURL)();if(d){this.maxAttempts=d}if(p){this.baseRetryIntervalMilliseconds=p}if(v){this.retryMultiplier=v}this.httpClient=new se.HttpClient(i,[new ne.BearerCredentialHandler(V)])}request(i,d,p,K){return v(this,void 0,void 0,(function*(){const ee=new URL(`/twirp/${i}/${d}`,this.baseUrl).href;(0,V.debug)(`[Request] ${d} ${ee}`);const te={"Content-Type":p};try{const{body:i}=yield this.retryableRequest((()=>v(this,void 0,void 0,(function*(){return this.httpClient.post(ee,JSON.stringify(K),te)}))));return i}catch(i){throw new Error(`Failed to ${d}: ${i.message}`)}}))}retryableRequest(i){return v(this,void 0,void 0,(function*(){let d=0;let p="";let v="";while(d0){(0,V.warning)(`You've hit a rate limit, your rate limit will reset in ${d} seconds`)}}throw new ee.RateLimitError(`Rate limited: ${p}`)}}catch(i){if(i instanceof SyntaxError){(0,V.debug)(`Raw Body: ${v}`)}if(i instanceof ee.UsageError){throw i}if(i instanceof ee.RateLimitError){throw i}if(ee.NetworkError.isNetworkErrorCode(i===null||i===void 0?void 0:i.code)){throw new ee.NetworkError(i===null||i===void 0?void 0:i.code)}K=true;p=i.message}if(!K){throw new Error(`Received non-retryable error: ${p}`)}if(d+1===this.maxAttempts){throw new Error(`Failed to make request after ${this.maxAttempts} attempts: ${p}`)}const te=this.getExponentialRetryTimeMilliseconds(d);(0,V.info)(`Attempt ${d+1} of ${this.maxAttempts} failed with error: ${p}. Retrying request in ${te} ms...`);yield this.sleep(te);d++}throw new Error(`Request failed`)}))}isSuccessStatusCode(i){if(!i)return false;return i>=200&&i<300}isRetryableHttpStatusCode(i){if(!i)return false;const d=[se.HttpCodes.BadGateway,se.HttpCodes.GatewayTimeout,se.HttpCodes.InternalServerError,se.HttpCodes.ServiceUnavailable];return d.includes(i)}sleep(i){return v(this,void 0,void 0,(function*(){return new Promise((d=>setTimeout(d,i)))}))}getExponentialRetryTimeMilliseconds(i){if(i<0){throw new Error("attempt should be a positive integer")}if(i===0){return this.baseRetryIntervalMilliseconds}const d=this.baseRetryIntervalMilliseconds*Math.pow(this.retryMultiplier,i);const p=d*this.retryMultiplier;return Math.trunc(Math.random()*(p-d)+d)}}function internalCacheTwirpClient(i){const d=new CacheServiceClient((0,K.getUserAgentString)(),i===null||i===void 0?void 0:i.maxAttempts,i===null||i===void 0?void 0:i.retryIntervalMs,i===null||i===void 0?void 0:i.retryMultiplier);return new ie.CacheServiceClientJSON(d)}},50263:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.RateLimitError=d.UsageError=d.NetworkError=d.GHESNotSupportedError=d.CacheNotFoundError=d.InvalidResponseError=d.FilesNotFoundError=void 0;class FilesNotFoundError extends Error{constructor(i=[]){let d="No files were found to upload";if(i.length>0){d+=`: ${i.join(", ")}`}super(d);this.files=i;this.name="FilesNotFoundError"}}d.FilesNotFoundError=FilesNotFoundError;class InvalidResponseError extends Error{constructor(i){super(i);this.name="InvalidResponseError"}}d.InvalidResponseError=InvalidResponseError;class CacheNotFoundError extends Error{constructor(i="Cache not found"){super(i);this.name="CacheNotFoundError"}}d.CacheNotFoundError=CacheNotFoundError;class GHESNotSupportedError extends Error{constructor(i="@actions/cache v4.1.4+, actions/cache/save@v4+ and actions/cache/restore@v4+ are not currently supported on GHES."){super(i);this.name="GHESNotSupportedError"}}d.GHESNotSupportedError=GHESNotSupportedError;class NetworkError extends Error{constructor(i){const d=`Unable to make request: ${i}\nIf you are using self-hosted runners, please make sure your runner has access to all GitHub endpoints: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#communication-between-self-hosted-runners-and-github`;super(d);this.code=i;this.name="NetworkError"}}d.NetworkError=NetworkError;NetworkError.isNetworkErrorCode=i=>{if(!i)return false;return["ECONNRESET","ENOTFOUND","ETIMEDOUT","ECONNREFUSED","EHOSTUNREACH"].includes(i)};class UsageError extends Error{constructor(){const i=`Cache storage quota has been hit. Unable to upload any new cache entries. Usage is recalculated every 6-12 hours.\nMore info on storage limits: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#calculating-minute-and-storage-spending`;super(i);this.name="UsageError"}}d.UsageError=UsageError;UsageError.isUsageErrorMessage=i=>{if(!i)return false;return i.includes("insufficient usage")};class RateLimitError extends Error{constructor(i){super(i);this.name="RateLimitError"}}d.RateLimitError=RateLimitError},41899:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getUserAgentString=getUserAgentString;const v=p(64012);function getUserAgentString(){return`@actions/cache-${v.version}`}},27564:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.maskSigUrl=maskSigUrl;d.maskSecretUrls=maskSecretUrls;const v=p(81206);function maskSigUrl(i){if(!i)return;try{const d=new URL(i);const p=d.searchParams.get("sig");if(p){(0,v.setSecret)(p);(0,v.setSecret)(encodeURIComponent(p))}}catch(d){(0,v.debug)(`Failed to parse URL: ${i} ${d instanceof Error?d.message:String(d)}`)}}function maskSecretUrls(i){if(typeof i!=="object"||i===null){(0,v.debug)("body is not an object or is null");return}if("signed_upload_url"in i&&typeof i.signed_upload_url==="string"){maskSigUrl(i.signed_upload_url)}if("signed_download_url"in i&&typeof i.signed_download_url==="string"){maskSigUrl(i.signed_download_url)}}},95321:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K{this.setSentBytes(i.loadedBytes)}}startDisplayTimer(i=1e3){const displayCallback=()=>{this.display();if(!this.isDone()){this.timeoutHandle=setTimeout(displayCallback,i)}};this.timeoutHandle=setTimeout(displayCallback,i)}stopDisplayTimer(){if(this.timeoutHandle){clearTimeout(this.timeoutHandle);this.timeoutHandle=undefined}this.display()}}d.UploadProgress=UploadProgress;function uploadCacheArchiveSDK(i,d,p){return ee(this,void 0,void 0,(function*(){var v;const V=new re.BlobClient(i);const K=V.getBlockBlobClient();const ee=new UploadProgress((v=p===null||p===void 0?void 0:p.archiveSizeBytes)!==null&&v!==void 0?v:0);const se={blockSize:p===null||p===void 0?void 0:p.uploadChunkSize,concurrency:p===null||p===void 0?void 0:p.uploadConcurrency,maxSingleShotSize:128*1024*1024,onProgress:ee.onProgress()};try{ee.startDisplayTimer();te.debug(`BlobClient: ${V.name}:${V.accountName}:${V.containerName}`);const i=yield K.uploadFile(d,se);if(i._response.status>=400){throw new ne.InvalidResponseError(`uploadCacheArchiveSDK: upload failed with status code ${i._response.status}`)}return i}catch(i){te.warning(`uploadCacheArchiveSDK: internal error uploading cache archive: ${i.message}`);throw i}finally{ee.stopDisplayTimer()}}))}},98356:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K0){i+=" ";let d=true;for(const p in this.properties){if(this.properties.hasOwnProperty(p)){const v=this.properties[p];if(v){if(d){d=false}else{i+=","}i+=`${p}=${escapeProperty(v)}`}}}}i+=`${re}${escapeData(this.message)}`;return i}}function escapeData(i){return(0,te.toCommandValue)(i).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(i){return(0,te.toCommandValue)(i).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},81206:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Ki!==""));if(d&&d.trimWhitespace===false){return p}return p.map((i=>i.trim()))}function getBooleanInput(i,d){const p=["true","True","TRUE"];const v=["false","False","FALSE"];const V=getInput(i,d);if(p.includes(V))return true;if(v.includes(V))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${i}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}function setOutput(i,d){const p=process.env["GITHUB_OUTPUT"]||"";if(p){return(0,re.issueFileCommand)("OUTPUT",(0,re.prepareKeyValueMessage)(i,d))}process.stdout.write(se.EOL);(0,te.issueCommand)("set-output",{name:i},(0,ne.toCommandValue)(d))}function setCommandEcho(i){(0,te.issue)("echo",i?"on":"off")}function setFailed(i){process.exitCode=ae.Failure;error(i)}function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}function debug(i){(0,te.issueCommand)("debug",{},i)}function error(i,d={}){(0,te.issueCommand)("error",(0,ne.toCommandProperties)(d),i instanceof Error?i.toString():i)}function warning(i,d={}){(0,te.issueCommand)("warning",(0,ne.toCommandProperties)(d),i instanceof Error?i.toString():i)}function notice(i,d={}){(0,te.issueCommand)("notice",(0,ne.toCommandProperties)(d),i instanceof Error?i.toString():i)}function info(i){process.stdout.write(i+se.EOL)}function startGroup(i){(0,te.issue)("group",i)}function endGroup(){(0,te.issue)("endgroup")}function group(i,d){return ee(this,void 0,void 0,(function*(){startGroup(i);let p;try{p=yield d()}finally{endGroup()}return p}))}function saveState(i,d){const p=process.env["GITHUB_STATE"]||"";if(p){return(0,re.issueFileCommand)("STATE",(0,re.prepareKeyValueMessage)(i,d))}(0,te.issueCommand)("save-state",{name:i},(0,ne.toCommandValue)(d))}function getState(i){return process.env[`STATE_${i}`]||""}function getIDToken(i){return ee(this,void 0,void 0,(function*(){return yield oe.OidcClient.getIDToken(i)}))}var Ae=p(97401);Object.defineProperty(d,"summary",{enumerable:true,get:function(){return Ae.summary}});var ce=p(97401);Object.defineProperty(d,"markdownSummary",{enumerable:true,get:function(){return ce.markdownSummary}});var le=p(18546);Object.defineProperty(d,"toPosixPath",{enumerable:true,get:function(){return le.toPosixPath}});Object.defineProperty(d,"toWin32Path",{enumerable:true,get:function(){return le.toWin32Path}});Object.defineProperty(d,"toPlatformPath",{enumerable:true,get:function(){return le.toPlatformPath}});d.platform=K(p(98218))},74799:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K{throw new Error(`Failed to get ID Token. \n \n Error Code : ${i.statusCode}\n \n Error Message: ${i.message}`)}));const V=(d=v.result)===null||d===void 0?void 0:d.value;if(!V){throw new Error("Response json body do not have ID Token field")}return V}))}static getIDToken(i){return v(this,void 0,void 0,(function*(){try{let d=OidcClient.getIDTokenUrl();if(i){const p=encodeURIComponent(i);d=`${d}&audience=${p}`}(0,ee.debug)(`ID token url is ${d}`);const p=yield OidcClient.getCall(d);(0,ee.setSecret)(p);return p}catch(i){throw new Error(`Error message: ${i.message}`)}}))}}d.OidcClient=OidcClient},18546:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Kee(void 0,void 0,void 0,(function*(){const{stdout:i}=yield ne.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',undefined,{silent:true});const{stdout:d}=yield ne.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',undefined,{silent:true});return{name:d.trim(),version:i.trim()}}));const getMacOsInfo=()=>ee(void 0,void 0,void 0,(function*(){var i,d,p,v;const{stdout:V}=yield ne.getExecOutput("sw_vers",undefined,{silent:true});const K=(d=(i=V.match(/ProductVersion:\s*(.+)/))===null||i===void 0?void 0:i[1])!==null&&d!==void 0?d:"";const ee=(v=(p=V.match(/ProductName:\s*(.+)/))===null||p===void 0?void 0:p[1])!==null&&v!==void 0?v:"";return{name:ee,version:K}}));const getLinuxInfo=()=>ee(void 0,void 0,void 0,(function*(){const{stdout:i}=yield ne.getExecOutput("lsb_release",["-i","-r","-s"],{silent:true});const[d,p]=i.trim().split("\n");return{name:d,version:p}}));d.platform=re.default.platform();d.arch=re.default.arch();d.isWindows=d.platform==="win32";d.isMacOS=d.platform==="darwin";d.isLinux=d.platform==="linux";function getDetails(){return ee(this,void 0,void 0,(function*(){return Object.assign(Object.assign({},yield d.isWindows?getWindowsInfo():d.isMacOS?getMacOsInfo():getLinuxInfo()),{platform:d.platform,arch:d.arch,isWindows:d.isWindows,isMacOS:d.isMacOS,isLinux:d.isLinux})}))}},97401:function(i,d,p){var v=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.summary=d.markdownSummary=d.SUMMARY_DOCS_URL=d.SUMMARY_ENV_VAR=void 0;const V=p(70857);const K=p(79896);const{access:ee,appendFile:te,writeFile:re}=K.promises;d.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";d.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 v(this,void 0,void 0,(function*(){if(this._filePath){return this._filePath}const i=process.env[d.SUMMARY_ENV_VAR];if(!i){throw new Error(`Unable to find environment variable for $${d.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`)}try{yield ee(i,K.constants.R_OK|K.constants.W_OK)}catch(d){throw new Error(`Unable to access summary file: '${i}'. Check if the file has correct read/write permissions.`)}this._filePath=i;return this._filePath}))}wrap(i,d,p={}){const v=Object.entries(p).map((([i,d])=>` ${i}="${d}"`)).join("");if(!d){return`<${i}${v}>`}return`<${i}${v}>${d}`}write(i){return v(this,void 0,void 0,(function*(){const d=!!(i===null||i===void 0?void 0:i.overwrite);const p=yield this.filePath();const v=d?re:te;yield v(p,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return v(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(i,d=false){this._buffer+=i;return d?this.addEOL():this}addEOL(){return this.addRaw(V.EOL)}addCodeBlock(i,d){const p=Object.assign({},d&&{lang:d});const v=this.wrap("pre",this.wrap("code",i),p);return this.addRaw(v).addEOL()}addList(i,d=false){const p=d?"ol":"ul";const v=i.map((i=>this.wrap("li",i))).join("");const V=this.wrap(p,v);return this.addRaw(V).addEOL()}addTable(i){const d=i.map((i=>{const d=i.map((i=>{if(typeof i==="string"){return this.wrap("td",i)}const{header:d,data:p,colspan:v,rowspan:V}=i;const K=d?"th":"td";const ee=Object.assign(Object.assign({},v&&{colspan:v}),V&&{rowspan:V});return this.wrap(K,p,ee)})).join("");return this.wrap("tr",d)})).join("");const p=this.wrap("table",d);return this.addRaw(p).addEOL()}addDetails(i,d){const p=this.wrap("details",this.wrap("summary",i)+d);return this.addRaw(p).addEOL()}addImage(i,d,p){const{width:v,height:V}=p||{};const K=Object.assign(Object.assign({},v&&{width:v}),V&&{height:V});const ee=this.wrap("img",null,Object.assign({src:i,alt:d},K));return this.addRaw(ee).addEOL()}addHeading(i,d){const p=`h${d}`;const v=["h1","h2","h3","h4","h5","h6"].includes(p)?p:"h1";const V=this.wrap(v,i);return this.addRaw(V).addEOL()}addSeparator(){const i=this.wrap("hr",null);return this.addRaw(i).addEOL()}addBreak(){const i=this.wrap("br",null);return this.addRaw(i).addEOL()}addQuote(i,d){const p=Object.assign({},d&&{cite:d});const v=this.wrap("blockquote",i,p);return this.addRaw(v).addEOL()}addLink(i,d){const p=this.wrap("a",i,{href:d});return this.addRaw(p).addEOL()}}const ne=new Summary;d.markdownSummary=ne;d.summary=ne},90604:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.toCommandValue=toCommandValue;d.toCommandProperties=toCommandProperties;function toCommandValue(i){if(i===null||i===undefined){return""}else if(typeof i==="string"||i instanceof String){return i}return JSON.stringify(i)}function toCommandProperties(i){if(!Object.keys(i).length){return{}}return{title:i.title,file:i.file,line:i.startLine,endLine:i.endLine,col:i.startColumn,endColumn:i.endColumn}}},39048:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});const p=new WeakMap;const v=new WeakMap;class AbortSignal{constructor(){this.onabort=null;p.set(this,[]);v.set(this,false)}get aborted(){if(!v.has(this)){throw new TypeError("Expected `this` to be an instance of AbortSignal.")}return v.get(this)}static get none(){return new AbortSignal}addEventListener(i,d){if(!p.has(this)){throw new TypeError("Expected `this` to be an instance of AbortSignal.")}const v=p.get(this);v.push(d)}removeEventListener(i,d){if(!p.has(this)){throw new TypeError("Expected `this` to be an instance of AbortSignal.")}const v=p.get(this);const V=v.indexOf(d);if(V>-1){v.splice(V,1)}}dispatchEvent(i){throw new Error("This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes.")}}function abortSignal(i){if(i.aborted){return}if(i.onabort){i.onabort.call(i)}const d=p.get(i);if(d){d.slice().forEach((d=>{d.call(i,{type:"abort"})}))}v.set(i,true)}class AbortError extends Error{constructor(i){super(i);this.name="AbortError"}}class AbortController{constructor(i){this._signal=new AbortSignal;if(!i){return}if(!Array.isArray(i)){i=arguments}for(const d of i){if(d.aborted){this.abort()}else{d.addEventListener("abort",(()=>{this.abort()}))}}}get signal(){return this._signal}abort(){abortSignal(this._signal)}static timeout(i){const d=new AbortSignal;const p=setTimeout(abortSignal,i,d);if(typeof p.unref==="function"){p.unref()}return d}}d.AbortController=AbortController;d.AbortError=AbortError;d.AbortSignal=AbortSignal},23311:function(i,d){var p=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.ClientStreamingCall=void 0;class ClientStreamingCall{constructor(i,d,p,v,V,K,ee){this.method=i;this.requestHeaders=d;this.requests=p;this.headers=v;this.response=V;this.status=K;this.trailers=ee}then(i,d){return this.promiseFinished().then((d=>i?Promise.resolve(i(d)):d),(i=>d?Promise.resolve(d(i)):Promise.reject(i)))}promiseFinished(){return p(this,void 0,void 0,(function*(){let[i,d,p,v]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:i,response:d,status:p,trailers:v}}))}}d.ClientStreamingCall=ClientStreamingCall},69499:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.Deferred=d.DeferredState=void 0;var p;(function(i){i[i["PENDING"]=0]="PENDING";i[i["REJECTED"]=1]="REJECTED";i[i["RESOLVED"]=2]="RESOLVED"})(p=d.DeferredState||(d.DeferredState={}));class Deferred{constructor(i=true){this._state=p.PENDING;this._promise=new Promise(((i,d)=>{this._resolve=i;this._reject=d}));if(i){this._promise.catch((i=>{}))}}get state(){return this._state}get promise(){return this._promise}resolve(i){if(this.state!==p.PENDING)throw new Error(`cannot resolve ${p[this.state].toLowerCase()}`);this._resolve(i);this._state=p.RESOLVED}reject(i){if(this.state!==p.PENDING)throw new Error(`cannot reject ${p[this.state].toLowerCase()}`);this._reject(i);this._state=p.REJECTED}resolvePending(i){if(this._state===p.PENDING)this.resolve(i)}rejectPending(i){if(this._state===p.PENDING)this.reject(i)}}d.Deferred=Deferred},40800:function(i,d){var p=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.DuplexStreamingCall=void 0;class DuplexStreamingCall{constructor(i,d,p,v,V,K,ee){this.method=i;this.requestHeaders=d;this.requests=p;this.headers=v;this.responses=V;this.status=K;this.trailers=ee}then(i,d){return this.promiseFinished().then((d=>i?Promise.resolve(i(d)):d),(i=>d?Promise.resolve(d(i)):Promise.reject(i)))}promiseFinished(){return p(this,void 0,void 0,(function*(){let[i,d,p]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:i,status:d,trailers:p}}))}}d.DuplexStreamingCall=DuplexStreamingCall},76762:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});var v=p(42554);Object.defineProperty(d,"ServiceType",{enumerable:true,get:function(){return v.ServiceType}});var V=p(83402);Object.defineProperty(d,"readMethodOptions",{enumerable:true,get:function(){return V.readMethodOptions}});Object.defineProperty(d,"readMethodOption",{enumerable:true,get:function(){return V.readMethodOption}});Object.defineProperty(d,"readServiceOption",{enumerable:true,get:function(){return V.readServiceOption}});var K=p(50422);Object.defineProperty(d,"RpcError",{enumerable:true,get:function(){return K.RpcError}});var ee=p(63474);Object.defineProperty(d,"mergeRpcOptions",{enumerable:true,get:function(){return ee.mergeRpcOptions}});var te=p(58788);Object.defineProperty(d,"RpcOutputStreamController",{enumerable:true,get:function(){return te.RpcOutputStreamController}});var re=p(37816);Object.defineProperty(d,"TestTransport",{enumerable:true,get:function(){return re.TestTransport}});var ne=p(69499);Object.defineProperty(d,"Deferred",{enumerable:true,get:function(){return ne.Deferred}});Object.defineProperty(d,"DeferredState",{enumerable:true,get:function(){return ne.DeferredState}});var se=p(40800);Object.defineProperty(d,"DuplexStreamingCall",{enumerable:true,get:function(){return se.DuplexStreamingCall}});var ie=p(23311);Object.defineProperty(d,"ClientStreamingCall",{enumerable:true,get:function(){return ie.ClientStreamingCall}});var oe=p(22715);Object.defineProperty(d,"ServerStreamingCall",{enumerable:true,get:function(){return oe.ServerStreamingCall}});var ae=p(80738);Object.defineProperty(d,"UnaryCall",{enumerable:true,get:function(){return ae.UnaryCall}});var Ae=p(84359);Object.defineProperty(d,"stackIntercept",{enumerable:true,get:function(){return Ae.stackIntercept}});Object.defineProperty(d,"stackDuplexStreamingInterceptors",{enumerable:true,get:function(){return Ae.stackDuplexStreamingInterceptors}});Object.defineProperty(d,"stackClientStreamingInterceptors",{enumerable:true,get:function(){return Ae.stackClientStreamingInterceptors}});Object.defineProperty(d,"stackServerStreamingInterceptors",{enumerable:true,get:function(){return Ae.stackServerStreamingInterceptors}});Object.defineProperty(d,"stackUnaryInterceptors",{enumerable:true,get:function(){return Ae.stackUnaryInterceptors}});var ce=p(44626);Object.defineProperty(d,"ServerCallContextController",{enumerable:true,get:function(){return ce.ServerCallContextController}})},83402:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.readServiceOption=d.readMethodOption=d.readMethodOptions=d.normalizeMethodInfo=void 0;const v=p(88372);function normalizeMethodInfo(i,d){var p,V,K;let ee=i;ee.service=d;ee.localName=(p=ee.localName)!==null&&p!==void 0?p:v.lowerCamelCase(ee.name);ee.serverStreaming=!!ee.serverStreaming;ee.clientStreaming=!!ee.clientStreaming;ee.options=(V=ee.options)!==null&&V!==void 0?V:{};ee.idempotency=(K=ee.idempotency)!==null&&K!==void 0?K:undefined;return ee}d.normalizeMethodInfo=normalizeMethodInfo;function readMethodOptions(i,d,p,v){var V;const K=(V=i.methods.find(((i,p)=>i.localName===d||p===d)))===null||V===void 0?void 0:V.options;return K&&K[p]?v.fromJson(K[p]):undefined}d.readMethodOptions=readMethodOptions;function readMethodOption(i,d,p,v){var V;const K=(V=i.methods.find(((i,p)=>i.localName===d||p===d)))===null||V===void 0?void 0:V.options;if(!K){return undefined}const ee=K[p];if(ee===undefined){return ee}return v?v.fromJson(ee):ee}d.readMethodOption=readMethodOption;function readServiceOption(i,d,p){const v=i.options;if(!v){return undefined}const V=v[d];if(V===undefined){return V}return p?p.fromJson(V):V}d.readServiceOption=readServiceOption},50422:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.RpcError=void 0;class RpcError extends Error{constructor(i,d="UNKNOWN",p){super(i);this.name="RpcError";Object.setPrototypeOf(this,new.target.prototype);this.code=d;this.meta=p!==null&&p!==void 0?p:{}}toString(){const i=[this.name+": "+this.message];if(this.code){i.push("");i.push("Code: "+this.code)}if(this.serviceName&&this.methodName){i.push("Method: "+this.serviceName+"/"+this.methodName)}let d=Object.entries(this.meta);if(d.length){i.push("");i.push("Meta:");for(let[p,v]of d){i.push(` ${p}: ${v}`)}}return i.join("\n")}}d.RpcError=RpcError},84359:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.stackDuplexStreamingInterceptors=d.stackClientStreamingInterceptors=d.stackServerStreamingInterceptors=d.stackUnaryInterceptors=d.stackIntercept=void 0;const v=p(88372);function stackIntercept(i,d,p,V,K){var ee,te,re,ne;if(i=="unary"){let tail=(i,p,v)=>d.unary(i,p,v);for(const i of((ee=V.interceptors)!==null&&ee!==void 0?ee:[]).filter((i=>i.interceptUnary)).reverse()){const d=tail;tail=(p,v,V)=>i.interceptUnary(d,p,v,V)}return tail(p,K,V)}if(i=="serverStreaming"){let tail=(i,p,v)=>d.serverStreaming(i,p,v);for(const i of((te=V.interceptors)!==null&&te!==void 0?te:[]).filter((i=>i.interceptServerStreaming)).reverse()){const d=tail;tail=(p,v,V)=>i.interceptServerStreaming(d,p,v,V)}return tail(p,K,V)}if(i=="clientStreaming"){let tail=(i,p)=>d.clientStreaming(i,p);for(const i of((re=V.interceptors)!==null&&re!==void 0?re:[]).filter((i=>i.interceptClientStreaming)).reverse()){const d=tail;tail=(p,v)=>i.interceptClientStreaming(d,p,v)}return tail(p,V)}if(i=="duplex"){let tail=(i,p)=>d.duplex(i,p);for(const i of((ne=V.interceptors)!==null&&ne!==void 0?ne:[]).filter((i=>i.interceptDuplex)).reverse()){const d=tail;tail=(p,v)=>i.interceptDuplex(d,p,v)}return tail(p,V)}v.assertNever(i)}d.stackIntercept=stackIntercept;function stackUnaryInterceptors(i,d,p,v){return stackIntercept("unary",i,d,v,p)}d.stackUnaryInterceptors=stackUnaryInterceptors;function stackServerStreamingInterceptors(i,d,p,v){return stackIntercept("serverStreaming",i,d,v,p)}d.stackServerStreamingInterceptors=stackServerStreamingInterceptors;function stackClientStreamingInterceptors(i,d,p){return stackIntercept("clientStreaming",i,d,p)}d.stackClientStreamingInterceptors=stackClientStreamingInterceptors;function stackDuplexStreamingInterceptors(i,d,p){return stackIntercept("duplex",i,d,p)}d.stackDuplexStreamingInterceptors=stackDuplexStreamingInterceptors},63474:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.mergeRpcOptions=void 0;const v=p(88372);function mergeRpcOptions(i,d){if(!d)return i;let p={};copy(i,p);copy(d,p);for(let V of Object.keys(d)){let K=d[V];switch(V){case"jsonOptions":p.jsonOptions=v.mergeJsonOptions(i.jsonOptions,p.jsonOptions);break;case"binaryOptions":p.binaryOptions=v.mergeBinaryOptions(i.binaryOptions,p.binaryOptions);break;case"meta":p.meta={};copy(i.meta,p.meta);copy(d.meta,p.meta);break;case"interceptors":p.interceptors=i.interceptors?i.interceptors.concat(K):K.concat();break}}return p}d.mergeRpcOptions=mergeRpcOptions;function copy(i,d){if(!i)return;let p=d;for(let[d,v]of Object.entries(i)){if(v instanceof Date)p[d]=new Date(v.getTime());else if(Array.isArray(v))p[d]=v.concat();else p[d]=v}}},58788:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.RpcOutputStreamController=void 0;const v=p(69499);const V=p(88372);class RpcOutputStreamController{constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]};this._closed=false;this._itState={q:[]}}onNext(i){return this.addLis(i,this._lis.nxt)}onMessage(i){return this.addLis(i,this._lis.msg)}onError(i){return this.addLis(i,this._lis.err)}onComplete(i){return this.addLis(i,this._lis.cmp)}addLis(i,d){d.push(i);return()=>{let p=d.indexOf(i);if(p>=0)d.splice(p,1)}}clearLis(){for(let i of Object.values(this._lis))i.splice(0,i.length)}get closed(){return this._closed!==false}notifyNext(i,d,p){V.assert((i?1:0)+(d?1:0)+(p?1:0)<=1,"only one emission at a time");if(i)this.notifyMessage(i);if(d)this.notifyError(d);if(p)this.notifyComplete()}notifyMessage(i){V.assert(!this.closed,"stream is closed");this.pushIt({value:i,done:false});this._lis.msg.forEach((d=>d(i)));this._lis.nxt.forEach((d=>d(i,undefined,false)))}notifyError(i){V.assert(!this.closed,"stream is closed");this._closed=i;this.pushIt(i);this._lis.err.forEach((d=>d(i)));this._lis.nxt.forEach((d=>d(undefined,i,false)));this.clearLis()}notifyComplete(){V.assert(!this.closed,"stream is closed");this._closed=true;this.pushIt({value:null,done:true});this._lis.cmp.forEach((i=>i()));this._lis.nxt.forEach((i=>i(undefined,undefined,true)));this.clearLis()}[Symbol.asyncIterator](){if(this._closed===true)this.pushIt({value:null,done:true});else if(this._closed!==false)this.pushIt(this._closed);return{next:()=>{let i=this._itState;V.assert(i,"bad state");V.assert(!i.p,"iterator contract broken");let d=i.q.shift();if(d)return"value"in d?Promise.resolve(d):Promise.reject(d);i.p=new v.Deferred;return i.p.promise}}}pushIt(i){let d=this._itState;if(d.p){const p=d.p;V.assert(p.state==v.DeferredState.PENDING,"iterator contract broken");"value"in i?p.resolve(i):p.reject(i);delete d.p}else{d.q.push(i)}}}d.RpcOutputStreamController=RpcOutputStreamController},44626:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.ServerCallContextController=void 0;class ServerCallContextController{constructor(i,d,p,v,V={code:"OK",detail:""}){this._cancelled=false;this._listeners=[];this.method=i;this.headers=d;this.deadline=p;this.trailers={};this._sendRH=v;this.status=V}notifyCancelled(){if(!this._cancelled){this._cancelled=true;for(let i of this._listeners){i()}}}sendResponseHeaders(i){this._sendRH(i)}get cancelled(){return this._cancelled}onCancel(i){const d=this._listeners;d.push(i);return()=>{let p=d.indexOf(i);if(p>=0)d.splice(p,1)}}}d.ServerCallContextController=ServerCallContextController},22715:function(i,d){var p=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.ServerStreamingCall=void 0;class ServerStreamingCall{constructor(i,d,p,v,V,K,ee){this.method=i;this.requestHeaders=d;this.request=p;this.headers=v;this.responses=V;this.status=K;this.trailers=ee}then(i,d){return this.promiseFinished().then((d=>i?Promise.resolve(i(d)):d),(i=>d?Promise.resolve(d(i)):Promise.reject(i)))}promiseFinished(){return p(this,void 0,void 0,(function*(){let[i,d,p]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:i,status:d,trailers:p}}))}}d.ServerStreamingCall=ServerStreamingCall},42554:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ServiceType=void 0;const v=p(83402);class ServiceType{constructor(i,d,p){this.typeName=i;this.methods=d.map((i=>v.normalizeMethodInfo(i,this)));this.options=p!==null&&p!==void 0?p:{}}}d.ServiceType=ServiceType},37816:function(i,d,p){var v=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.TestTransport=void 0;const V=p(50422);const K=p(88372);const ee=p(58788);const te=p(63474);const re=p(80738);const ne=p(22715);const se=p(23311);const ie=p(40800);class TestTransport{constructor(i){this.suppressUncaughtRejections=true;this.headerDelay=10;this.responseDelay=50;this.betweenResponseDelay=10;this.afterResponseDelay=10;this.data=i!==null&&i!==void 0?i:{}}get sentMessages(){if(this.lastInput instanceof TestInputStream){return this.lastInput.sent}else if(typeof this.lastInput=="object"){return[this.lastInput.single]}return[]}get sendComplete(){if(this.lastInput instanceof TestInputStream){return this.lastInput.completed}else if(typeof this.lastInput=="object"){return true}return false}promiseHeaders(){var i;const d=(i=this.data.headers)!==null&&i!==void 0?i:TestTransport.defaultHeaders;return d instanceof V.RpcError?Promise.reject(d):Promise.resolve(d)}promiseSingleResponse(i){if(this.data.response instanceof V.RpcError){return Promise.reject(this.data.response)}let d;if(Array.isArray(this.data.response)){K.assert(this.data.response.length>0);d=this.data.response[0]}else if(this.data.response!==undefined){d=this.data.response}else{d=i.O.create()}K.assert(i.O.is(d));return Promise.resolve(d)}streamResponses(i,d,p){return v(this,void 0,void 0,(function*(){const v=[];if(this.data.response===undefined){v.push(i.O.create())}else if(Array.isArray(this.data.response)){for(let d of this.data.response){K.assert(i.O.is(d));v.push(d)}}else if(!(this.data.response instanceof V.RpcError)){K.assert(i.O.is(this.data.response));v.push(this.data.response)}try{yield delay(this.responseDelay,p)(undefined)}catch(i){d.notifyError(i);return}if(this.data.response instanceof V.RpcError){d.notifyError(this.data.response);return}for(let i of v){d.notifyMessage(i);try{yield delay(this.betweenResponseDelay,p)(undefined)}catch(i){d.notifyError(i);return}}if(this.data.status instanceof V.RpcError){d.notifyError(this.data.status);return}if(this.data.trailers instanceof V.RpcError){d.notifyError(this.data.trailers);return}d.notifyComplete()}))}promiseStatus(){var i;const d=(i=this.data.status)!==null&&i!==void 0?i:TestTransport.defaultStatus;return d instanceof V.RpcError?Promise.reject(d):Promise.resolve(d)}promiseTrailers(){var i;const d=(i=this.data.trailers)!==null&&i!==void 0?i:TestTransport.defaultTrailers;return d instanceof V.RpcError?Promise.reject(d):Promise.resolve(d)}maybeSuppressUncaught(...i){if(this.suppressUncaughtRejections){for(let d of i){d.catch((()=>{}))}}}mergeOptions(i){return te.mergeRpcOptions({},i)}unary(i,d,p){var v;const V=(v=p.meta)!==null&&v!==void 0?v:{},K=this.promiseHeaders().then(delay(this.headerDelay,p.abort)),ee=K.catch((i=>{})).then(delay(this.responseDelay,p.abort)).then((d=>this.promiseSingleResponse(i))),te=ee.catch((i=>{})).then(delay(this.afterResponseDelay,p.abort)).then((i=>this.promiseStatus())),ne=ee.catch((i=>{})).then(delay(this.afterResponseDelay,p.abort)).then((i=>this.promiseTrailers()));this.maybeSuppressUncaught(te,ne);this.lastInput={single:d};return new re.UnaryCall(i,V,d,K,ee,te,ne)}serverStreaming(i,d,p){var v;const V=(v=p.meta)!==null&&v!==void 0?v:{},K=this.promiseHeaders().then(delay(this.headerDelay,p.abort)),te=new ee.RpcOutputStreamController,re=K.then(delay(this.responseDelay,p.abort)).catch((()=>{})).then((()=>this.streamResponses(i,te,p.abort))).then(delay(this.afterResponseDelay,p.abort)),se=re.then((()=>this.promiseStatus())),ie=re.then((()=>this.promiseTrailers()));this.maybeSuppressUncaught(se,ie);this.lastInput={single:d};return new ne.ServerStreamingCall(i,V,d,K,te,se,ie)}clientStreaming(i,d){var p;const v=(p=d.meta)!==null&&p!==void 0?p:{},V=this.promiseHeaders().then(delay(this.headerDelay,d.abort)),K=V.catch((i=>{})).then(delay(this.responseDelay,d.abort)).then((d=>this.promiseSingleResponse(i))),ee=K.catch((i=>{})).then(delay(this.afterResponseDelay,d.abort)).then((i=>this.promiseStatus())),te=K.catch((i=>{})).then(delay(this.afterResponseDelay,d.abort)).then((i=>this.promiseTrailers()));this.maybeSuppressUncaught(ee,te);this.lastInput=new TestInputStream(this.data,d.abort);return new se.ClientStreamingCall(i,v,this.lastInput,V,K,ee,te)}duplex(i,d){var p;const v=(p=d.meta)!==null&&p!==void 0?p:{},V=this.promiseHeaders().then(delay(this.headerDelay,d.abort)),K=new ee.RpcOutputStreamController,te=V.then(delay(this.responseDelay,d.abort)).catch((()=>{})).then((()=>this.streamResponses(i,K,d.abort))).then(delay(this.afterResponseDelay,d.abort)),re=te.then((()=>this.promiseStatus())),ne=te.then((()=>this.promiseTrailers()));this.maybeSuppressUncaught(re,ne);this.lastInput=new TestInputStream(this.data,d.abort);return new ie.DuplexStreamingCall(i,v,this.lastInput,V,K,re,ne)}}d.TestTransport=TestTransport;TestTransport.defaultHeaders={responseHeader:"test"};TestTransport.defaultStatus={code:"OK",detail:"all good"};TestTransport.defaultTrailers={responseTrailer:"test"};function delay(i,d){return p=>new Promise(((v,K)=>{if(d===null||d===void 0?void 0:d.aborted){K(new V.RpcError("user cancel","CANCELLED"))}else{const ee=setTimeout((()=>v(p)),i);if(d){d.addEventListener("abort",(i=>{clearTimeout(ee);K(new V.RpcError("user cancel","CANCELLED"))}))}}}))}class TestInputStream{constructor(i,d){this._completed=false;this._sent=[];this.data=i;this.abort=d}get sent(){return this._sent}get completed(){return this._completed}send(i){if(this.data.inputMessage instanceof V.RpcError){return Promise.reject(this.data.inputMessage)}const d=this.data.inputMessage===undefined?10:this.data.inputMessage;return Promise.resolve(undefined).then((()=>{this._sent.push(i)})).then(delay(d,this.abort))}complete(){if(this.data.inputComplete instanceof V.RpcError){return Promise.reject(this.data.inputComplete)}const i=this.data.inputComplete===undefined?10:this.data.inputComplete;return Promise.resolve(undefined).then((()=>{this._completed=true})).then(delay(i,this.abort))}}},80738:function(i,d){var p=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.UnaryCall=void 0;class UnaryCall{constructor(i,d,p,v,V,K,ee){this.method=i;this.requestHeaders=d;this.request=p;this.headers=v;this.response=V;this.status=K;this.trailers=ee}then(i,d){return this.promiseFinished().then((d=>i?Promise.resolve(i(d)):d),(i=>d?Promise.resolve(d(i)):Promise.reject(i)))}promiseFinished(){return p(this,void 0,void 0,(function*(){let[i,d,p,v]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:i,response:d,status:p,trailers:v}}))}}d.UnaryCall=UnaryCall},46468:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.assertFloat32=d.assertUInt32=d.assertInt32=d.assertNever=d.assert=void 0;function assert(i,d){if(!i){throw new Error(d)}}d.assert=assert;function assertNever(i,d){throw new Error(d!==null&&d!==void 0?d:"Unexpected object: "+i)}d.assertNever=assertNever;const p=34028234663852886e22,v=-34028234663852886e22,V=4294967295,K=2147483647,ee=-2147483648;function assertInt32(i){if(typeof i!=="number")throw new Error("invalid int 32: "+typeof i);if(!Number.isInteger(i)||i>K||iV||i<0)throw new Error("invalid uint 32: "+i)}d.assertUInt32=assertUInt32;function assertFloat32(i){if(typeof i!=="number")throw new Error("invalid float 32: "+typeof i);if(!Number.isFinite(i))return;if(i>p||i{Object.defineProperty(d,"__esModule",{value:true});d.base64encode=d.base64decode=void 0;let p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");let v=[];for(let i=0;i>4;te=ee;K=2;break;case 2:p[V++]=(te&15)<<4|(ee&60)>>2;te=ee;K=3;break;case 3:p[V++]=(te&3)<<6|ee;K=0;break}}if(K==1)throw Error(`invalid base64 string.`);return p.subarray(0,V)}d.base64decode=base64decode;function base64encode(i){let d="",v=0,V,K=0;for(let ee=0;ee>2];K=(V&3)<<4;v=1;break;case 1:d+=p[K|V>>4];K=(V&15)<<2;v=2;break;case 2:d+=p[K|V>>6];d+=p[V&63];v=0;break}}if(v){d+=p[K];d+="=";if(v==1)d+="="}return d}d.base64encode=base64encode},66690:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.WireType=d.mergeBinaryOptions=d.UnknownFieldHandler=void 0;var p;(function(i){i.symbol=Symbol.for("protobuf-ts/unknown");i.onRead=(d,p,v,V,K)=>{let ee=is(p)?p[i.symbol]:p[i.symbol]=[];ee.push({no:v,wireType:V,data:K})};i.onWrite=(d,p,v)=>{for(let{no:d,wireType:V,data:K}of i.list(p))v.tag(d,V).raw(K)};i.list=(d,p)=>{if(is(d)){let v=d[i.symbol];return p?v.filter((i=>i.no==p)):v}return[]};i.last=(d,p)=>i.list(d,p).slice(-1)[0];const is=d=>d&&Array.isArray(d[i.symbol])})(p=d.UnknownFieldHandler||(d.UnknownFieldHandler={}));function mergeBinaryOptions(i,d){return Object.assign(Object.assign({},i),d)}d.mergeBinaryOptions=mergeBinaryOptions;var v;(function(i){i[i["Varint"]=0]="Varint";i[i["Bit64"]=1]="Bit64";i[i["LengthDelimited"]=2]="LengthDelimited";i[i["StartGroup"]=3]="StartGroup";i[i["EndGroup"]=4]="EndGroup";i[i["Bit32"]=5]="Bit32"})(v=d.WireType||(d.WireType={}))},8887:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BinaryReader=d.binaryReadOptions=void 0;const v=p(66690);const V=p(55579);const K=p(20365);const ee={readUnknownField:true,readerFactory:i=>new BinaryReader(i)};function binaryReadOptions(i){return i?Object.assign(Object.assign({},ee),i):ee}d.binaryReadOptions=binaryReadOptions;class BinaryReader{constructor(i,d){this.varint64=K.varint64read;this.uint32=K.varint32read;this.buf=i;this.len=i.length;this.pos=0;this.view=new DataView(i.buffer,i.byteOffset,i.byteLength);this.textDecoder=d!==null&&d!==void 0?d:new TextDecoder("utf-8",{fatal:true,ignoreBOM:true})}tag(){let i=this.uint32(),d=i>>>3,p=i&7;if(d<=0||p<0||p>5)throw new Error("illegal tag: field no "+d+" wire type "+p);return[d,p]}skip(i){let d=this.pos;switch(i){case v.WireType.Varint:while(this.buf[this.pos++]&128){}break;case v.WireType.Bit64:this.pos+=4;case v.WireType.Bit32:this.pos+=4;break;case v.WireType.LengthDelimited:let d=this.uint32();this.pos+=d;break;case v.WireType.StartGroup:let p;while((p=this.tag()[1])!==v.WireType.EndGroup){this.skip(p)}break;default:throw new Error("cant skip wire type "+i)}this.assertBounds();return this.buf.subarray(d,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let i=this.uint32();return i>>>1^-(i&1)}int64(){return new V.PbLong(...this.varint64())}uint64(){return new V.PbULong(...this.varint64())}sint64(){let[i,d]=this.varint64();let p=-(i&1);i=(i>>>1|(d&1)<<31)^p;d=d>>>1^p;return new V.PbLong(i,d)}bool(){let[i,d]=this.varint64();return i!==0||d!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,true)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,true)}fixed64(){return new V.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new V.PbLong(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,true)}double(){return this.view.getFloat64((this.pos+=8)-8,true)}bytes(){let i=this.uint32();let d=this.pos;this.pos+=i;this.assertBounds();return this.buf.subarray(d,d+i)}string(){return this.textDecoder.decode(this.bytes())}}d.BinaryReader=BinaryReader},4839:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BinaryWriter=d.binaryWriteOptions=void 0;const v=p(55579);const V=p(20365);const K=p(46468);const ee={writeUnknownFields:true,writerFactory:()=>new BinaryWriter};function binaryWriteOptions(i){return i?Object.assign(Object.assign({},ee),i):ee}d.binaryWriteOptions=binaryWriteOptions;class BinaryWriter{constructor(i){this.stack=[];this.textEncoder=i!==null&&i!==void 0?i:new TextEncoder;this.chunks=[];this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let i=0;for(let d=0;d>>0)}raw(i){if(this.buf.length){this.chunks.push(new Uint8Array(this.buf));this.buf=[]}this.chunks.push(i);return this}uint32(i){K.assertUInt32(i);while(i>127){this.buf.push(i&127|128);i=i>>>7}this.buf.push(i);return this}int32(i){K.assertInt32(i);V.varint32write(i,this.buf);return this}bool(i){this.buf.push(i?1:0);return this}bytes(i){this.uint32(i.byteLength);return this.raw(i)}string(i){let d=this.textEncoder.encode(i);this.uint32(d.byteLength);return this.raw(d)}float(i){K.assertFloat32(i);let d=new Uint8Array(4);new DataView(d.buffer).setFloat32(0,i,true);return this.raw(d)}double(i){let d=new Uint8Array(8);new DataView(d.buffer).setFloat64(0,i,true);return this.raw(d)}fixed32(i){K.assertUInt32(i);let d=new Uint8Array(4);new DataView(d.buffer).setUint32(0,i,true);return this.raw(d)}sfixed32(i){K.assertInt32(i);let d=new Uint8Array(4);new DataView(d.buffer).setInt32(0,i,true);return this.raw(d)}sint32(i){K.assertInt32(i);i=(i<<1^i>>31)>>>0;V.varint32write(i,this.buf);return this}sfixed64(i){let d=new Uint8Array(8);let p=new DataView(d.buffer);let V=v.PbLong.from(i);p.setInt32(0,V.lo,true);p.setInt32(4,V.hi,true);return this.raw(d)}fixed64(i){let d=new Uint8Array(8);let p=new DataView(d.buffer);let V=v.PbULong.from(i);p.setInt32(0,V.lo,true);p.setInt32(4,V.hi,true);return this.raw(d)}int64(i){let d=v.PbLong.from(i);V.varint64write(d.lo,d.hi,this.buf);return this}sint64(i){let d=v.PbLong.from(i),p=d.hi>>31,K=d.lo<<1^p,ee=(d.hi<<1|d.lo>>>31)^p;V.varint64write(K,ee,this.buf);return this}uint64(i){let d=v.PbULong.from(i);V.varint64write(d.lo,d.hi,this.buf);return this}}d.BinaryWriter=BinaryWriter},46959:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.listEnumNumbers=d.listEnumNames=d.listEnumValues=d.isEnumObject=void 0;function isEnumObject(i){if(typeof i!="object"||i===null){return false}if(!i.hasOwnProperty(0)){return false}for(let d of Object.keys(i)){let p=parseInt(d);if(!Number.isNaN(p)){let d=i[p];if(d===undefined)return false;if(i[d]!==p)return false}else{let p=i[d];if(p===undefined)return false;if(typeof p!=="number")return false;if(i[p]===undefined)return false}}return true}d.isEnumObject=isEnumObject;function listEnumValues(i){if(!isEnumObject(i))throw new Error("not a typescript enum object");let d=[];for(let[p,v]of Object.entries(i))if(typeof v=="number")d.push({name:p,number:v});return d}d.listEnumValues=listEnumValues;function listEnumNames(i){return listEnumValues(i).map((i=>i.name))}d.listEnumNames=listEnumNames;function listEnumNumbers(i){return listEnumValues(i).map((i=>i.number)).filter(((i,d,p)=>p.indexOf(i)==d))}d.listEnumNumbers=listEnumNumbers},20365:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.varint32read=d.varint32write=d.int64toString=d.int64fromString=d.varint64write=d.varint64read=void 0;function varint64read(){let i=0;let d=0;for(let p=0;p<28;p+=7){let v=this.buf[this.pos++];i|=(v&127)<>4;if((p&128)==0){this.assertBounds();return[i,d]}for(let p=3;p<=31;p+=7){let v=this.buf[this.pos++];d|=(v&127)<>>v;const K=!(V>>>7==0&&d==0);const ee=(K?V|128:V)&255;p.push(ee);if(!K){return}}const v=i>>>28&15|(d&7)<<4;const V=!(d>>3==0);p.push((V?v|128:v)&255);if(!V){return}for(let i=3;i<31;i=i+7){const v=d>>>i;const V=!(v>>>7==0);const K=(V?v|128:v)&255;p.push(K);if(!V){return}}p.push(d>>>31&1)}d.varint64write=varint64write;const p=(1<<16)*(1<<16);function int64fromString(i){let d=i[0]=="-";if(d)i=i.slice(1);const v=1e6;let V=0;let K=0;function add1e6digit(d,ee){const te=Number(i.slice(d,ee));K*=v;V=V*v+te;if(V>=p){K=K+(V/p|0);V=V%p}}add1e6digit(-24,-18);add1e6digit(-18,-12);add1e6digit(-12,-6);add1e6digit(-6);return[d,V,K]}d.int64fromString=int64fromString;function int64toString(i,d){if(d>>>0<=2097151){return""+(p*d+(i>>>0))}let v=i&16777215;let V=(i>>>24|d<<8)>>>0&16777215;let K=d>>16&65535;let ee=v+V*6777216+K*6710656;let te=V+K*8147497;let re=K*2;let ne=1e7;if(ee>=ne){te+=Math.floor(ee/ne);ee%=ne}if(te>=ne){re+=Math.floor(te/ne);te%=ne}function decimalFrom1e7(i,d){let p=i?String(i):"";if(d){return"0000000".slice(p.length)+p}return p}return decimalFrom1e7(re,0)+decimalFrom1e7(te,re)+decimalFrom1e7(ee,1)}d.int64toString=int64toString;function varint32write(i,d){if(i>=0){while(i>127){d.push(i&127|128);i=i>>>7}d.push(i)}else{for(let p=0;p<9;p++){d.push(i&127|128);i=i>>7}d.push(1)}}d.varint32write=varint32write;function varint32read(){let i=this.buf[this.pos++];let d=i&127;if((i&128)==0){this.assertBounds();return d}i=this.buf[this.pos++];d|=(i&127)<<7;if((i&128)==0){this.assertBounds();return d}i=this.buf[this.pos++];d|=(i&127)<<14;if((i&128)==0){this.assertBounds();return d}i=this.buf[this.pos++];d|=(i&127)<<21;if((i&128)==0){this.assertBounds();return d}i=this.buf[this.pos++];d|=(i&15)<<28;for(let d=5;(i&128)!==0&&d<10;d++)i=this.buf[this.pos++];if((i&128)!=0)throw new Error("invalid varint");this.assertBounds();return d>>>0}d.varint32read=varint32read},88372:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});var v=p(58369);Object.defineProperty(d,"typeofJsonValue",{enumerable:true,get:function(){return v.typeofJsonValue}});Object.defineProperty(d,"isJsonObject",{enumerable:true,get:function(){return v.isJsonObject}});var V=p(36689);Object.defineProperty(d,"base64decode",{enumerable:true,get:function(){return V.base64decode}});Object.defineProperty(d,"base64encode",{enumerable:true,get:function(){return V.base64encode}});var K=p(55424);Object.defineProperty(d,"utf8read",{enumerable:true,get:function(){return K.utf8read}});var ee=p(66690);Object.defineProperty(d,"WireType",{enumerable:true,get:function(){return ee.WireType}});Object.defineProperty(d,"mergeBinaryOptions",{enumerable:true,get:function(){return ee.mergeBinaryOptions}});Object.defineProperty(d,"UnknownFieldHandler",{enumerable:true,get:function(){return ee.UnknownFieldHandler}});var te=p(8887);Object.defineProperty(d,"BinaryReader",{enumerable:true,get:function(){return te.BinaryReader}});Object.defineProperty(d,"binaryReadOptions",{enumerable:true,get:function(){return te.binaryReadOptions}});var re=p(4839);Object.defineProperty(d,"BinaryWriter",{enumerable:true,get:function(){return re.BinaryWriter}});Object.defineProperty(d,"binaryWriteOptions",{enumerable:true,get:function(){return re.binaryWriteOptions}});var ne=p(55579);Object.defineProperty(d,"PbLong",{enumerable:true,get:function(){return ne.PbLong}});Object.defineProperty(d,"PbULong",{enumerable:true,get:function(){return ne.PbULong}});var se=p(33389);Object.defineProperty(d,"jsonReadOptions",{enumerable:true,get:function(){return se.jsonReadOptions}});Object.defineProperty(d,"jsonWriteOptions",{enumerable:true,get:function(){return se.jsonWriteOptions}});Object.defineProperty(d,"mergeJsonOptions",{enumerable:true,get:function(){return se.mergeJsonOptions}});var ie=p(41371);Object.defineProperty(d,"MESSAGE_TYPE",{enumerable:true,get:function(){return ie.MESSAGE_TYPE}});var oe=p(4172);Object.defineProperty(d,"MessageType",{enumerable:true,get:function(){return oe.MessageType}});var ae=p(40528);Object.defineProperty(d,"ScalarType",{enumerable:true,get:function(){return ae.ScalarType}});Object.defineProperty(d,"LongType",{enumerable:true,get:function(){return ae.LongType}});Object.defineProperty(d,"RepeatType",{enumerable:true,get:function(){return ae.RepeatType}});Object.defineProperty(d,"normalizeFieldInfo",{enumerable:true,get:function(){return ae.normalizeFieldInfo}});Object.defineProperty(d,"readFieldOptions",{enumerable:true,get:function(){return ae.readFieldOptions}});Object.defineProperty(d,"readFieldOption",{enumerable:true,get:function(){return ae.readFieldOption}});Object.defineProperty(d,"readMessageOption",{enumerable:true,get:function(){return ae.readMessageOption}});var Ae=p(55649);Object.defineProperty(d,"ReflectionTypeCheck",{enumerable:true,get:function(){return Ae.ReflectionTypeCheck}});var ce=p(40868);Object.defineProperty(d,"reflectionCreate",{enumerable:true,get:function(){return ce.reflectionCreate}});var le=p(412);Object.defineProperty(d,"reflectionScalarDefault",{enumerable:true,get:function(){return le.reflectionScalarDefault}});var ue=p(48674);Object.defineProperty(d,"reflectionMergePartial",{enumerable:true,get:function(){return ue.reflectionMergePartial}});var de=p(78197);Object.defineProperty(d,"reflectionEquals",{enumerable:true,get:function(){return de.reflectionEquals}});var he=p(72161);Object.defineProperty(d,"ReflectionBinaryReader",{enumerable:true,get:function(){return he.ReflectionBinaryReader}});var fe=p(45325);Object.defineProperty(d,"ReflectionBinaryWriter",{enumerable:true,get:function(){return fe.ReflectionBinaryWriter}});var ge=p(85240);Object.defineProperty(d,"ReflectionJsonReader",{enumerable:true,get:function(){return ge.ReflectionJsonReader}});var pe=p(55572);Object.defineProperty(d,"ReflectionJsonWriter",{enumerable:true,get:function(){return pe.ReflectionJsonWriter}});var me=p(75556);Object.defineProperty(d,"containsMessageType",{enumerable:true,get:function(){return me.containsMessageType}});var Ee=p(74857);Object.defineProperty(d,"isOneofGroup",{enumerable:true,get:function(){return Ee.isOneofGroup}});Object.defineProperty(d,"setOneofValue",{enumerable:true,get:function(){return Ee.setOneofValue}});Object.defineProperty(d,"getOneofValue",{enumerable:true,get:function(){return Ee.getOneofValue}});Object.defineProperty(d,"clearOneofValue",{enumerable:true,get:function(){return Ee.clearOneofValue}});Object.defineProperty(d,"getSelectedOneofValue",{enumerable:true,get:function(){return Ee.getSelectedOneofValue}});var Ce=p(46959);Object.defineProperty(d,"listEnumValues",{enumerable:true,get:function(){return Ce.listEnumValues}});Object.defineProperty(d,"listEnumNames",{enumerable:true,get:function(){return Ce.listEnumNames}});Object.defineProperty(d,"listEnumNumbers",{enumerable:true,get:function(){return Ce.listEnumNumbers}});Object.defineProperty(d,"isEnumObject",{enumerable:true,get:function(){return Ce.isEnumObject}});var ye=p(54959);Object.defineProperty(d,"lowerCamelCase",{enumerable:true,get:function(){return ye.lowerCamelCase}});var Ie=p(46468);Object.defineProperty(d,"assert",{enumerable:true,get:function(){return Ie.assert}});Object.defineProperty(d,"assertNever",{enumerable:true,get:function(){return Ie.assertNever}});Object.defineProperty(d,"assertInt32",{enumerable:true,get:function(){return Ie.assertInt32}});Object.defineProperty(d,"assertUInt32",{enumerable:true,get:function(){return Ie.assertUInt32}});Object.defineProperty(d,"assertFloat32",{enumerable:true,get:function(){return Ie.assertFloat32}})},33389:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.mergeJsonOptions=d.jsonWriteOptions=d.jsonReadOptions=void 0;const p={emitDefaultValues:false,enumAsInteger:false,useProtoFieldName:false,prettySpaces:0},v={ignoreUnknownFields:false};function jsonReadOptions(i){return i?Object.assign(Object.assign({},v),i):v}d.jsonReadOptions=jsonReadOptions;function jsonWriteOptions(i){return i?Object.assign(Object.assign({},p),i):p}d.jsonWriteOptions=jsonWriteOptions;function mergeJsonOptions(i,d){var p,v;let V=Object.assign(Object.assign({},i),d);V.typeRegistry=[...(p=i===null||i===void 0?void 0:i.typeRegistry)!==null&&p!==void 0?p:[],...(v=d===null||d===void 0?void 0:d.typeRegistry)!==null&&v!==void 0?v:[]];return V}d.mergeJsonOptions=mergeJsonOptions},58369:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.isJsonObject=d.typeofJsonValue=void 0;function typeofJsonValue(i){let d=typeof i;if(d=="object"){if(Array.isArray(i))return"array";if(i===null)return"null"}return d}d.typeofJsonValue=typeofJsonValue;function isJsonObject(i){return i!==null&&typeof i=="object"&&!Array.isArray(i)}d.isJsonObject=isJsonObject},54959:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.lowerCamelCase=void 0;function lowerCamelCase(i){let d=false;const p=[];for(let v=0;v{Object.defineProperty(d,"__esModule",{value:true});d.MESSAGE_TYPE=void 0;d.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")},4172:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.MessageType=void 0;const v=p(41371);const V=p(40528);const K=p(55649);const ee=p(85240);const te=p(55572);const re=p(72161);const ne=p(45325);const se=p(40868);const ie=p(48674);const oe=p(58369);const ae=p(33389);const Ae=p(78197);const ce=p(4839);const le=p(8887);const ue=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({}));const de=ue[v.MESSAGE_TYPE]={};class MessageType{constructor(i,d,p){this.defaultCheckDepth=16;this.typeName=i;this.fields=d.map(V.normalizeFieldInfo);this.options=p!==null&&p!==void 0?p:{};de.value=this;this.messagePrototype=Object.create(null,ue);this.refTypeCheck=new K.ReflectionTypeCheck(this);this.refJsonReader=new ee.ReflectionJsonReader(this);this.refJsonWriter=new te.ReflectionJsonWriter(this);this.refBinReader=new re.ReflectionBinaryReader(this);this.refBinWriter=new ne.ReflectionBinaryWriter(this)}create(i){let d=se.reflectionCreate(this);if(i!==undefined){ie.reflectionMergePartial(this,d,i)}return d}clone(i){let d=this.create();ie.reflectionMergePartial(this,d,i);return d}equals(i,d){return Ae.reflectionEquals(this,i,d)}is(i,d=this.defaultCheckDepth){return this.refTypeCheck.is(i,d,false)}isAssignable(i,d=this.defaultCheckDepth){return this.refTypeCheck.is(i,d,true)}mergePartial(i,d){ie.reflectionMergePartial(this,i,d)}fromBinary(i,d){let p=le.binaryReadOptions(d);return this.internalBinaryRead(p.readerFactory(i),i.byteLength,p)}fromJson(i,d){return this.internalJsonRead(i,ae.jsonReadOptions(d))}fromJsonString(i,d){let p=JSON.parse(i);return this.fromJson(p,d)}toJson(i,d){return this.internalJsonWrite(i,ae.jsonWriteOptions(d))}toJsonString(i,d){var p;let v=this.toJson(i,d);return JSON.stringify(v,null,(p=d===null||d===void 0?void 0:d.prettySpaces)!==null&&p!==void 0?p:0)}toBinary(i,d){let p=ce.binaryWriteOptions(d);return this.internalBinaryWrite(i,p.writerFactory(),p).finish()}internalJsonRead(i,d,p){if(i!==null&&typeof i=="object"&&!Array.isArray(i)){let v=p!==null&&p!==void 0?p:this.create();this.refJsonReader.read(i,v,d);return v}throw new Error(`Unable to parse message ${this.typeName} from JSON ${oe.typeofJsonValue(i)}.`)}internalJsonWrite(i,d){return this.refJsonWriter.write(i,d)}internalBinaryWrite(i,d,p){this.refBinWriter.write(i,d,p);return d}internalBinaryRead(i,d,p,v){let V=v!==null&&v!==void 0?v:this.create();this.refBinReader.read(i,V,p,d);return V}}d.MessageType=MessageType},74857:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.getSelectedOneofValue=d.clearOneofValue=d.setUnknownOneofValue=d.setOneofValue=d.getOneofValue=d.isOneofGroup=void 0;function isOneofGroup(i){if(typeof i!="object"||i===null||!i.hasOwnProperty("oneofKind")){return false}switch(typeof i.oneofKind){case"string":if(i[i.oneofKind]===undefined)return false;return Object.keys(i).length==2;case"undefined":return Object.keys(i).length==1;default:return false}}d.isOneofGroup=isOneofGroup;function getOneofValue(i,d){return i[d]}d.getOneofValue=getOneofValue;function setOneofValue(i,d,p){if(i.oneofKind!==undefined){delete i[i.oneofKind]}i.oneofKind=d;if(p!==undefined){i[d]=p}}d.setOneofValue=setOneofValue;function setUnknownOneofValue(i,d,p){if(i.oneofKind!==undefined){delete i[i.oneofKind]}i.oneofKind=d;if(p!==undefined&&d!==undefined){i[d]=p}}d.setUnknownOneofValue=setUnknownOneofValue;function clearOneofValue(i){if(i.oneofKind!==undefined){delete i[i.oneofKind]}i.oneofKind=undefined}d.clearOneofValue=clearOneofValue;function getSelectedOneofValue(i){if(i.oneofKind===undefined){return undefined}return i[i.oneofKind]}d.getSelectedOneofValue=getSelectedOneofValue},55579:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.PbLong=d.PbULong=d.detectBi=void 0;const v=p(20365);let V;function detectBi(){const i=new DataView(new ArrayBuffer(8));const d=globalThis.BigInt!==undefined&&typeof i.getBigInt64==="function"&&typeof i.getBigUint64==="function"&&typeof i.setBigInt64==="function"&&typeof i.setBigUint64==="function";V=d?{MIN:BigInt("-9223372036854775808"),MAX:BigInt("9223372036854775807"),UMIN:BigInt("0"),UMAX:BigInt("18446744073709551615"),C:BigInt,V:i}:undefined}d.detectBi=detectBi;detectBi();function assertBi(i){if(!i)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}const K=/^-?[0-9]+$/;const ee=4294967296;const te=2147483648;class SharedPbLong{constructor(i,d){this.lo=i|0;this.hi=d|0}isZero(){return this.lo==0&&this.hi==0}toNumber(){let i=this.hi*ee+(this.lo>>>0);if(!Number.isSafeInteger(i))throw new Error("cannot convert to safe number");return i}}class PbULong extends SharedPbLong{static from(i){if(V)switch(typeof i){case"string":if(i=="0")return this.ZERO;if(i=="")throw new Error("string is no integer");i=V.C(i);case"number":if(i===0)return this.ZERO;i=V.C(i);case"bigint":if(!i)return this.ZERO;if(iV.UMAX)throw new Error("ulong too large");V.V.setBigUint64(0,i,true);return new PbULong(V.V.getInt32(0,true),V.V.getInt32(4,true))}else switch(typeof i){case"string":if(i=="0")return this.ZERO;i=i.trim();if(!K.test(i))throw new Error("string is no integer");let[d,p,V]=v.int64fromString(i);if(d)throw new Error("signed value for ulong");return new PbULong(p,V);case"number":if(i==0)return this.ZERO;if(!Number.isSafeInteger(i))throw new Error("number is no integer");if(i<0)throw new Error("signed value for ulong");return new PbULong(i,i/ee)}throw new Error("unknown value "+typeof i)}toString(){return V?this.toBigInt().toString():v.int64toString(this.lo,this.hi)}toBigInt(){assertBi(V);V.V.setInt32(0,this.lo,true);V.V.setInt32(4,this.hi,true);return V.V.getBigUint64(0,true)}}d.PbULong=PbULong;PbULong.ZERO=new PbULong(0,0);class PbLong extends SharedPbLong{static from(i){if(V)switch(typeof i){case"string":if(i=="0")return this.ZERO;if(i=="")throw new Error("string is no integer");i=V.C(i);case"number":if(i===0)return this.ZERO;i=V.C(i);case"bigint":if(!i)return this.ZERO;if(iV.MAX)throw new Error("signed long too large");V.V.setBigInt64(0,i,true);return new PbLong(V.V.getInt32(0,true),V.V.getInt32(4,true))}else switch(typeof i){case"string":if(i=="0")return this.ZERO;i=i.trim();if(!K.test(i))throw new Error("string is no integer");let[d,p,V]=v.int64fromString(i);if(d){if(V>te||V==te&&p!=0)throw new Error("signed long too small")}else if(V>=te)throw new Error("signed long too large");let re=new PbLong(p,V);return d?re.negate():re;case"number":if(i==0)return this.ZERO;if(!Number.isSafeInteger(i))throw new Error("number is no integer");return i>0?new PbLong(i,i/ee):new PbLong(-i,-i/ee).negate()}throw new Error("unknown value "+typeof i)}isNegative(){return(this.hi&te)!==0}negate(){let i=~this.hi,d=this.lo;if(d)d=~d+1;else i+=1;return new PbLong(d,i)}toString(){if(V)return this.toBigInt().toString();if(this.isNegative()){let i=this.negate();return"-"+v.int64toString(i.lo,i.hi)}return v.int64toString(this.lo,this.hi)}toBigInt(){assertBi(V);V.V.setInt32(0,this.lo,true);V.V.setInt32(4,this.hi,true);return V.V.getBigInt64(0,true)}}d.PbLong=PbLong;PbLong.ZERO=new PbLong(0,0)},55424:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.utf8read=void 0;const fromCharCodes=i=>String.fromCharCode.apply(String,i);function utf8read(i){if(i.length<1)return"";let d=0,p=[],v=[],V=0,K;let ee=i.length;while(d191&&K<224)v[V++]=(K&31)<<6|i[d++]&63;else if(K>239&&K<365){K=((K&7)<<18|(i[d++]&63)<<12|(i[d++]&63)<<6|i[d++]&63)-65536;v[V++]=55296+(K>>10);v[V++]=56320+(K&1023)}else v[V++]=(K&15)<<12|(i[d++]&63)<<6|i[d++]&63;if(V>8191){p.push(fromCharCodes(v));V=0}}if(p.length){if(V)p.push(fromCharCodes(v.slice(0,V)));return p.join("")}return fromCharCodes(v.slice(0,V))}d.utf8read=utf8read},72161:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ReflectionBinaryReader=void 0;const v=p(66690);const V=p(40528);const K=p(32344);const ee=p(412);class ReflectionBinaryReader{constructor(i){this.info=i}prepare(){var i;if(!this.fieldNoToField){const d=(i=this.info.fields)!==null&&i!==void 0?i:[];this.fieldNoToField=new Map(d.map((i=>[i.no,i])))}}read(i,d,p,K){this.prepare();const ee=K===undefined?i.len:i.pos+K;while(i.pos{Object.defineProperty(d,"__esModule",{value:true});d.ReflectionBinaryWriter=void 0;const v=p(66690);const V=p(40528);const K=p(46468);const ee=p(55579);class ReflectionBinaryWriter{constructor(i){this.info=i}prepare(){if(!this.fields){const i=this.info.fields?this.info.fields.concat():[];this.fields=i.sort(((i,d)=>i.no-d.no))}}write(i,d,p){this.prepare();for(const v of this.fields){let ee,te,re=v.repeat,ne=v.localName;if(v.oneof){const d=i[v.oneof];if(d.oneofKind!==ne)continue;ee=d[ne];te=true}else{ee=i[ne];te=false}switch(v.kind){case"scalar":case"enum":let i=v.kind=="enum"?V.ScalarType.INT32:v.T;if(re){K.assert(Array.isArray(ee));if(re==V.RepeatType.PACKED)this.packed(d,i,v.no,ee);else for(const p of ee)this.scalar(d,i,v.no,p,true)}else if(ee===undefined)K.assert(v.opt);else this.scalar(d,i,v.no,ee,te||v.opt);break;case"message":if(re){K.assert(Array.isArray(ee));for(const i of ee)this.message(d,p,v.T(),v.no,i)}else{this.message(d,p,v.T(),v.no,ee)}break;case"map":K.assert(typeof ee=="object"&&ee!==null);for(const[i,V]of Object.entries(ee))this.mapEntry(d,p,v,i,V);break}}let ee=p.writeUnknownFields;if(ee!==false)(ee===true?v.UnknownFieldHandler.onWrite:ee)(this.info.typeName,i,d)}mapEntry(i,d,p,ee,te){i.tag(p.no,v.WireType.LengthDelimited);i.fork();let re=ee;switch(p.K){case V.ScalarType.INT32:case V.ScalarType.FIXED32:case V.ScalarType.UINT32:case V.ScalarType.SFIXED32:case V.ScalarType.SINT32:re=Number.parseInt(ee);break;case V.ScalarType.BOOL:K.assert(ee=="true"||ee=="false");re=ee=="true";break}this.scalar(i,p.K,1,re,true);switch(p.V.kind){case"scalar":this.scalar(i,p.V.T,2,te,true);break;case"enum":this.scalar(i,V.ScalarType.INT32,2,te,true);break;case"message":this.message(i,d,p.V.T(),2,te);break}i.join()}message(i,d,p,V,K){if(K===undefined)return;p.internalBinaryWrite(K,i.tag(V,v.WireType.LengthDelimited).fork(),d);i.join()}scalar(i,d,p,v,V){let[K,ee,te]=this.scalarInfo(d,v);if(!te||V){i.tag(p,K);i[ee](v)}}packed(i,d,p,ee){if(!ee.length)return;K.assert(d!==V.ScalarType.BYTES&&d!==V.ScalarType.STRING);i.tag(p,v.WireType.LengthDelimited);i.fork();let[,te]=this.scalarInfo(d);for(let d=0;d{Object.defineProperty(d,"__esModule",{value:true});d.containsMessageType=void 0;const v=p(41371);function containsMessageType(i){return i[v.MESSAGE_TYPE]!=null}d.containsMessageType=containsMessageType},40868:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.reflectionCreate=void 0;const v=p(412);const V=p(41371);function reflectionCreate(i){const d=i.messagePrototype?Object.create(i.messagePrototype):Object.defineProperty({},V.MESSAGE_TYPE,{value:i});for(let p of i.fields){let i=p.localName;if(p.opt)continue;if(p.oneof)d[p.oneof]={oneofKind:undefined};else if(p.repeat)d[i]=[];else switch(p.kind){case"scalar":d[i]=v.reflectionScalarDefault(p.T,p.L);break;case"enum":d[i]=0;break;case"map":d[i]={};break}}return d}d.reflectionCreate=reflectionCreate},78197:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.reflectionEquals=void 0;const v=p(40528);function reflectionEquals(i,d,p){if(d===p)return true;if(!d||!p)return false;for(let K of i.fields){let i=K.localName;let ee=K.oneof?d[K.oneof][i]:d[i];let te=K.oneof?p[K.oneof][i]:p[i];switch(K.kind){case"enum":case"scalar":let i=K.kind=="enum"?v.ScalarType.INT32:K.T;if(!(K.repeat?repeatedPrimitiveEq(i,ee,te):primitiveEq(i,ee,te)))return false;break;case"map":if(!(K.V.kind=="message"?repeatedMsgEq(K.V.T(),V(ee),V(te)):repeatedPrimitiveEq(K.V.kind=="enum"?v.ScalarType.INT32:K.V.T,V(ee),V(te))))return false;break;case"message":let d=K.T();if(!(K.repeat?repeatedMsgEq(d,ee,te):d.equals(ee,te)))return false;break}}return true}d.reflectionEquals=reflectionEquals;const V=Object.values;function primitiveEq(i,d,p){if(d===p)return true;if(i!==v.ScalarType.BYTES)return false;let V=d;let K=p;if(V.length!==K.length)return false;for(let i=0;i{Object.defineProperty(d,"__esModule",{value:true});d.readMessageOption=d.readFieldOption=d.readFieldOptions=d.normalizeFieldInfo=d.RepeatType=d.LongType=d.ScalarType=void 0;const v=p(54959);var V;(function(i){i[i["DOUBLE"]=1]="DOUBLE";i[i["FLOAT"]=2]="FLOAT";i[i["INT64"]=3]="INT64";i[i["UINT64"]=4]="UINT64";i[i["INT32"]=5]="INT32";i[i["FIXED64"]=6]="FIXED64";i[i["FIXED32"]=7]="FIXED32";i[i["BOOL"]=8]="BOOL";i[i["STRING"]=9]="STRING";i[i["BYTES"]=12]="BYTES";i[i["UINT32"]=13]="UINT32";i[i["SFIXED32"]=15]="SFIXED32";i[i["SFIXED64"]=16]="SFIXED64";i[i["SINT32"]=17]="SINT32";i[i["SINT64"]=18]="SINT64"})(V=d.ScalarType||(d.ScalarType={}));var K;(function(i){i[i["BIGINT"]=0]="BIGINT";i[i["STRING"]=1]="STRING";i[i["NUMBER"]=2]="NUMBER"})(K=d.LongType||(d.LongType={}));var ee;(function(i){i[i["NO"]=0]="NO";i[i["PACKED"]=1]="PACKED";i[i["UNPACKED"]=2]="UNPACKED"})(ee=d.RepeatType||(d.RepeatType={}));function normalizeFieldInfo(i){var d,p,V,K;i.localName=(d=i.localName)!==null&&d!==void 0?d:v.lowerCamelCase(i.name);i.jsonName=(p=i.jsonName)!==null&&p!==void 0?p:v.lowerCamelCase(i.name);i.repeat=(V=i.repeat)!==null&&V!==void 0?V:ee.NO;i.opt=(K=i.opt)!==null&&K!==void 0?K:i.repeat?false:i.oneof?false:i.kind=="message";return i}d.normalizeFieldInfo=normalizeFieldInfo;function readFieldOptions(i,d,p,v){var V;const K=(V=i.fields.find(((i,p)=>i.localName==d||p==d)))===null||V===void 0?void 0:V.options;return K&&K[p]?v.fromJson(K[p]):undefined}d.readFieldOptions=readFieldOptions;function readFieldOption(i,d,p,v){var V;const K=(V=i.fields.find(((i,p)=>i.localName==d||p==d)))===null||V===void 0?void 0:V.options;if(!K){return undefined}const ee=K[p];if(ee===undefined){return ee}return v?v.fromJson(ee):ee}d.readFieldOption=readFieldOption;function readMessageOption(i,d,p){const v=i.options;const V=v[d];if(V===undefined){return V}return p?p.fromJson(V):V}d.readMessageOption=readMessageOption},85240:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ReflectionJsonReader=void 0;const v=p(58369);const V=p(36689);const K=p(40528);const ee=p(55579);const te=p(46468);const re=p(32344);class ReflectionJsonReader{constructor(i){this.info=i}prepare(){var i;if(this.fMap===undefined){this.fMap={};const d=(i=this.info.fields)!==null&&i!==void 0?i:[];for(const i of d){this.fMap[i.name]=i;this.fMap[i.jsonName]=i;this.fMap[i.localName]=i}}}assert(i,d,p){if(!i){let i=v.typeofJsonValue(p);if(i=="number"||i=="boolean")i=p.toString();throw new Error(`Cannot parse JSON ${i} for ${this.info.typeName}#${d}`)}}read(i,d,p){this.prepare();const V=[];for(const[ee,te]of Object.entries(i)){const i=this.fMap[ee];if(!i){if(!p.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${ee}`);continue}const re=i.localName;let ne;if(i.oneof){if(te===null&&(i.kind!=="enum"||i.T()[0]!=="google.protobuf.NullValue")){continue}if(V.includes(i.oneof))throw new Error(`Multiple members of the oneof group "${i.oneof}" of ${this.info.typeName} are present in JSON.`);V.push(i.oneof);ne=d[i.oneof]={oneofKind:re}}else{ne=d}if(i.kind=="map"){if(te===null){continue}this.assert(v.isJsonObject(te),i.name,te);const d=ne[re];for(const[v,V]of Object.entries(te)){this.assert(V!==null,i.name+" map value",null);let ee;switch(i.V.kind){case"message":ee=i.V.T().internalJsonRead(V,p);break;case"enum":ee=this.enum(i.V.T(),V,i.name,p.ignoreUnknownFields);if(ee===false)continue;break;case"scalar":ee=this.scalar(V,i.V.T,i.V.L,i.name);break}this.assert(ee!==undefined,i.name+" map value",V);let te=v;if(i.K==K.ScalarType.BOOL)te=te=="true"?true:te=="false"?false:te;te=this.scalar(te,i.K,K.LongType.STRING,i.name).toString();d[te]=ee}}else if(i.repeat){if(te===null)continue;this.assert(Array.isArray(te),i.name,te);const d=ne[re];for(const v of te){this.assert(v!==null,i.name,null);let V;switch(i.kind){case"message":V=i.T().internalJsonRead(v,p);break;case"enum":V=this.enum(i.T(),v,i.name,p.ignoreUnknownFields);if(V===false)continue;break;case"scalar":V=this.scalar(v,i.T,i.L,i.name);break}this.assert(V!==undefined,i.name,te);d.push(V)}}else{switch(i.kind){case"message":if(te===null&&i.T().typeName!="google.protobuf.Value"){this.assert(i.oneof===undefined,i.name+" (oneof member)",null);continue}ne[re]=i.T().internalJsonRead(te,p,ne[re]);break;case"enum":if(te===null)continue;let d=this.enum(i.T(),te,i.name,p.ignoreUnknownFields);if(d===false)continue;ne[re]=d;break;case"scalar":if(te===null)continue;ne[re]=this.scalar(te,i.T,i.L,i.name);break}}}}enum(i,d,p,v){if(i[0]=="google.protobuf.NullValue")te.assert(d===null||d==="NULL_VALUE",`Unable to parse field ${this.info.typeName}#${p}, enum ${i[0]} only accepts null.`);if(d===null)return 0;switch(typeof d){case"number":te.assert(Number.isInteger(d),`Unable to parse field ${this.info.typeName}#${p}, enum can only be integral number, got ${d}.`);return d;case"string":let V=d;if(i[2]&&d.substring(0,i[2].length)===i[2])V=d.substring(i[2].length);let K=i[1][V];if(typeof K==="undefined"&&v){return false}te.assert(typeof K=="number",`Unable to parse field ${this.info.typeName}#${p}, enum ${i[0]} has no value for "${d}".`);return K}te.assert(false,`Unable to parse field ${this.info.typeName}#${p}, cannot parse enum value from ${typeof d}".`)}scalar(i,d,p,v){let ne;try{switch(d){case K.ScalarType.DOUBLE:case K.ScalarType.FLOAT:if(i===null)return 0;if(i==="NaN")return Number.NaN;if(i==="Infinity")return Number.POSITIVE_INFINITY;if(i==="-Infinity")return Number.NEGATIVE_INFINITY;if(i===""){ne="empty string";break}if(typeof i=="string"&&i.trim().length!==i.length){ne="extra whitespace";break}if(typeof i!="string"&&typeof i!="number"){break}let v=Number(i);if(Number.isNaN(v)){ne="not a number";break}if(!Number.isFinite(v)){ne="too large or small";break}if(d==K.ScalarType.FLOAT)te.assertFloat32(v);return v;case K.ScalarType.INT32:case K.ScalarType.FIXED32:case K.ScalarType.SFIXED32:case K.ScalarType.SINT32:case K.ScalarType.UINT32:if(i===null)return 0;let se;if(typeof i=="number")se=i;else if(i==="")ne="empty string";else if(typeof i=="string"){if(i.trim().length!==i.length)ne="extra whitespace";else se=Number(i)}if(se===undefined)break;if(d==K.ScalarType.UINT32)te.assertUInt32(se);else te.assertInt32(se);return se;case K.ScalarType.INT64:case K.ScalarType.SFIXED64:case K.ScalarType.SINT64:if(i===null)return re.reflectionLongConvert(ee.PbLong.ZERO,p);if(typeof i!="number"&&typeof i!="string")break;return re.reflectionLongConvert(ee.PbLong.from(i),p);case K.ScalarType.FIXED64:case K.ScalarType.UINT64:if(i===null)return re.reflectionLongConvert(ee.PbULong.ZERO,p);if(typeof i!="number"&&typeof i!="string")break;return re.reflectionLongConvert(ee.PbULong.from(i),p);case K.ScalarType.BOOL:if(i===null)return false;if(typeof i!=="boolean")break;return i;case K.ScalarType.STRING:if(i===null)return"";if(typeof i!=="string"){ne="extra whitespace";break}try{encodeURIComponent(i)}catch(ne){ne="invalid UTF8";break}return i;case K.ScalarType.BYTES:if(i===null||i==="")return new Uint8Array(0);if(typeof i!=="string")break;return V.base64decode(i)}}catch(i){ne=i.message}this.assert(false,v+(ne?" - "+ne:""),i)}}d.ReflectionJsonReader=ReflectionJsonReader},55572:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ReflectionJsonWriter=void 0;const v=p(36689);const V=p(55579);const K=p(40528);const ee=p(46468);class ReflectionJsonWriter{constructor(i){var d;this.fields=(d=i.fields)!==null&&d!==void 0?d:[]}write(i,d){const p={},v=i;for(const i of this.fields){if(!i.oneof){let V=this.field(i,v[i.localName],d);if(V!==undefined)p[d.useProtoFieldName?i.name:i.jsonName]=V;continue}const V=v[i.oneof];if(V.oneofKind!==i.localName)continue;const K=i.kind=="scalar"||i.kind=="enum"?Object.assign(Object.assign({},d),{emitDefaultValues:true}):d;let te=this.field(i,V[i.localName],K);ee.assert(te!==undefined);p[d.useProtoFieldName?i.name:i.jsonName]=te}return p}field(i,d,p){let v=undefined;if(i.kind=="map"){ee.assert(typeof d=="object"&&d!==null);const V={};switch(i.V.kind){case"scalar":for(const[p,v]of Object.entries(d)){const d=this.scalar(i.V.T,v,i.name,false,true);ee.assert(d!==undefined);V[p.toString()]=d}break;case"message":const v=i.V.T();for(const[K,te]of Object.entries(d)){const d=this.message(v,te,i.name,p);ee.assert(d!==undefined);V[K.toString()]=d}break;case"enum":const K=i.V.T();for(const[v,te]of Object.entries(d)){ee.assert(te===undefined||typeof te=="number");const d=this.enum(K,te,i.name,false,true,p.enumAsInteger);ee.assert(d!==undefined);V[v.toString()]=d}break}if(p.emitDefaultValues||Object.keys(V).length>0)v=V}else if(i.repeat){ee.assert(Array.isArray(d));const V=[];switch(i.kind){case"scalar":for(let p=0;p0||p.emitDefaultValues)v=V}else{switch(i.kind){case"scalar":v=this.scalar(i.T,d,i.name,i.opt,p.emitDefaultValues);break;case"enum":v=this.enum(i.T(),d,i.name,i.opt,p.emitDefaultValues,p.enumAsInteger);break;case"message":v=this.message(i.T(),d,i.name,p);break}}return v}enum(i,d,p,v,V,K){if(i[0]=="google.protobuf.NullValue")return!V&&!v?undefined:null;if(d===undefined){ee.assert(v);return undefined}if(d===0&&!V&&!v)return undefined;ee.assert(typeof d=="number");ee.assert(Number.isInteger(d));if(K||!i[1].hasOwnProperty(d))return d;if(i[2])return i[2]+i[1][d];return i[1][d]}message(i,d,p,v){if(d===undefined)return v.emitDefaultValues?null:undefined;return i.internalJsonWrite(d,v)}scalar(i,d,p,te,re){if(d===undefined){ee.assert(te);return undefined}const ne=re||te;switch(i){case K.ScalarType.INT32:case K.ScalarType.SFIXED32:case K.ScalarType.SINT32:if(d===0)return ne?0:undefined;ee.assertInt32(d);return d;case K.ScalarType.FIXED32:case K.ScalarType.UINT32:if(d===0)return ne?0:undefined;ee.assertUInt32(d);return d;case K.ScalarType.FLOAT:ee.assertFloat32(d);case K.ScalarType.DOUBLE:if(d===0)return ne?0:undefined;ee.assert(typeof d=="number");if(Number.isNaN(d))return"NaN";if(d===Number.POSITIVE_INFINITY)return"Infinity";if(d===Number.NEGATIVE_INFINITY)return"-Infinity";return d;case K.ScalarType.STRING:if(d==="")return ne?"":undefined;ee.assert(typeof d=="string");return d;case K.ScalarType.BOOL:if(d===false)return ne?false:undefined;ee.assert(typeof d=="boolean");return d;case K.ScalarType.UINT64:case K.ScalarType.FIXED64:ee.assert(typeof d=="number"||typeof d=="string"||typeof d=="bigint");let i=V.PbULong.from(d);if(i.isZero()&&!ne)return undefined;return i.toString();case K.ScalarType.INT64:case K.ScalarType.SFIXED64:case K.ScalarType.SINT64:ee.assert(typeof d=="number"||typeof d=="string"||typeof d=="bigint");let p=V.PbLong.from(d);if(p.isZero()&&!ne)return undefined;return p.toString();case K.ScalarType.BYTES:ee.assert(d instanceof Uint8Array);if(!d.byteLength)return ne?"":undefined;return v.base64encode(d)}}}d.ReflectionJsonWriter=ReflectionJsonWriter},32344:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.reflectionLongConvert=void 0;const v=p(40528);function reflectionLongConvert(i,d){switch(d){case v.LongType.BIGINT:return i.toBigInt();case v.LongType.NUMBER:return i.toNumber();default:return i.toString()}}d.reflectionLongConvert=reflectionLongConvert},48674:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.reflectionMergePartial=void 0;function reflectionMergePartial(i,d,p){let v,V=p,K;for(let p of i.fields){let i=p.localName;if(p.oneof){const ee=V[p.oneof];if((ee===null||ee===void 0?void 0:ee.oneofKind)==undefined){continue}v=ee[i];K=d[p.oneof];K.oneofKind=ee.oneofKind;if(v==undefined){delete K[i];continue}}else{v=V[i];K=d;if(v==undefined){continue}}if(p.repeat)K[i].length=v.length;switch(p.kind){case"scalar":case"enum":if(p.repeat)for(let d=0;d{Object.defineProperty(d,"__esModule",{value:true});d.reflectionScalarDefault=void 0;const v=p(40528);const V=p(32344);const K=p(55579);function reflectionScalarDefault(i,d=v.LongType.STRING){switch(i){case v.ScalarType.BOOL:return false;case v.ScalarType.UINT64:case v.ScalarType.FIXED64:return V.reflectionLongConvert(K.PbULong.ZERO,d);case v.ScalarType.INT64:case v.ScalarType.SFIXED64:case v.ScalarType.SINT64:return V.reflectionLongConvert(K.PbLong.ZERO,d);case v.ScalarType.DOUBLE:case v.ScalarType.FLOAT:return 0;case v.ScalarType.BYTES:return new Uint8Array(0);case v.ScalarType.STRING:return"";default:return 0}}d.reflectionScalarDefault=reflectionScalarDefault},55649:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ReflectionTypeCheck=void 0;const v=p(40528);const V=p(74857);class ReflectionTypeCheck{constructor(i){var d;this.fields=(d=i.fields)!==null&&d!==void 0?d:[]}prepare(){if(this.data)return;const i=[],d=[],p=[];for(let v of this.fields){if(v.oneof){if(!p.includes(v.oneof)){p.push(v.oneof);i.push(v.oneof);d.push(v.oneof)}}else{d.push(v.localName);switch(v.kind){case"scalar":case"enum":if(!v.opt||v.repeat)i.push(v.localName);break;case"message":if(v.repeat)i.push(v.localName);break;case"map":i.push(v.localName);break}}}this.data={req:i,known:d,oneofs:Object.values(p)}}is(i,d,p=false){if(d<0)return true;if(i===null||i===undefined||typeof i!="object")return false;this.prepare();let v=Object.keys(i),K=this.data;if(v.length!v.includes(i))))return false;if(!p){if(v.some((i=>!K.known.includes(i))))return false}if(d<1){return true}for(const v of K.oneofs){const K=i[v];if(!V.isOneofGroup(K))return false;if(K.oneofKind===undefined)continue;const ee=this.fields.find((i=>i.localName===K.oneofKind));if(!ee)return false;if(!this.field(K[K.oneofKind],ee,p,d))return false}for(const v of this.fields){if(v.oneof!==undefined)continue;if(!this.field(i[v.localName],v,p,d))return false}return true}field(i,d,p,V){let K=d.repeat;switch(d.kind){case"scalar":if(i===undefined)return d.opt;if(K)return this.scalars(i,d.T,V,d.L);return this.scalar(i,d.T,d.L);case"enum":if(i===undefined)return d.opt;if(K)return this.scalars(i,v.ScalarType.INT32,V);return this.scalar(i,v.ScalarType.INT32);case"message":if(i===undefined)return true;if(K)return this.messages(i,d.T(),p,V);return this.message(i,d.T(),p,V);case"map":if(typeof i!="object"||i===null)return false;if(V<2)return true;if(!this.mapKeys(i,d.K,V))return false;switch(d.V.kind){case"scalar":return this.scalars(Object.values(i),d.V.T,V,d.V.L);case"enum":return this.scalars(Object.values(i),v.ScalarType.INT32,V);case"message":return this.messages(Object.values(i),d.V.T(),p,V)}break}return true}message(i,d,p,v){if(p){return d.isAssignable(i,v)}return d.is(i,v)}messages(i,d,p,v){if(!Array.isArray(i))return false;if(v<2)return true;if(p){for(let p=0;pparseInt(i))),d,p);case v.ScalarType.BOOL:return this.scalars(V.slice(0,p).map((i=>i=="true"?true:i=="false"?false:i)),d,p);default:return this.scalars(V,d,p,v.LongType.STRING)}}}d.ReflectionTypeCheck=ReflectionTypeCheck},99239:(i,d,p)=>{var v;const V=p(49202);const K=p(32640);const ee=p(73071);const te=p(72820);const re=p(94084);const ne=p(22949);const se=p(58758);const ie=p(74923);const oe=p(68480);const ae=p(61671);const{InvalidArgumentError:Ae}=oe;const ce=p(36924);const le=p(75237);const ue=p(99008);const de=p(72318);const he=p(15549);const fe=p(77472);const ge=p(17439);const{getGlobalDispatcher:pe,setGlobalDispatcher:me}=p(97256);const Ee=p(62004);const Ce=p(70511);const ye=p(87449);Object.assign(K.prototype,ce);v=K;v=V;v=ee;v=te;v=re;v=ne;v=se;v=ie;v=ge;v=Ee;v=Ce;v=ye;v={redirect:p(23191),retry:p(34653),dump:p(9049),dns:p(92532)};v=le;v=oe;v={parseHeaders:ae.parseHeaders,headerNameToString:ae.headerNameToString};function makeDispatcher(i){return(d,p,v)=>{if(typeof p==="function"){v=p;p=null}if(!d||typeof d!=="string"&&typeof d!=="object"&&!(d instanceof URL)){throw new Ae("invalid url")}if(p!=null&&typeof p!=="object"){throw new Ae("invalid opts")}if(p&&p.path!=null){if(typeof p.path!=="string"){throw new Ae("invalid opts.path")}let i=p.path;if(!p.path.startsWith("/")){i=`/${i}`}d=new URL(ae.parseOrigin(d).origin+i)}else{if(!p){p=typeof d==="object"?d:{}}d=ae.parseURL(d)}const{agent:V,dispatcher:K=pe()}=p;if(V){throw new Ae("unsupported opts.agent. Did you mean opts.client?")}return i.call(K,{...p,origin:d.origin,path:d.search?`${d.pathname}${d.search}`:d.pathname,method:p.method||(p.body?"PUT":"GET")},v)}}v=me;v=pe;const Ie=p(21609).fetch;v=async function fetch(i,d=undefined){try{return await Ie(i,d)}catch(i){if(i&&typeof i==="object"){Error.captureStackTrace(i)}throw i}};p(54591).Headers;p(60318).Response;p(83772).Request;p(86947).FormData;v=globalThis.File??p(4573).File;p(7230).FileReader;const{setGlobalOrigin:Be,getGlobalOrigin:Qe}=p(70262);v=Be;v=Qe;const{CacheStorage:be}=p(75488);const{kConstruct:we}=p(38362);v=new be(we);const{deleteCookie:Se,getCookies:Re,getSetCookies:ve,setCookie:ke}=p(85762);v=Se;v=Re;v=ve;v=ke;const{parseMIMEType:Te,serializeAMimeType:Ne}=p(37953);v=Te;v=Ne;const{CloseEvent:De,ErrorEvent:xe,MessageEvent:Fe}=p(97049);p(58029).WebSocket;v=De;v=xe;v=Fe;v=makeDispatcher(ce.request);v=makeDispatcher(ce.stream);v=makeDispatcher(ce.pipeline);v=makeDispatcher(ce.connect);v=makeDispatcher(ce.upgrade);v=ue;v=he;v=de;v=fe;const{EventSource:Pe}=p(39917);v=Pe},18259:(i,d,p)=>{const{addAbortListener:v}=p(61671);const{RequestAbortedError:V}=p(68480);const K=Symbol("kListener");const ee=Symbol("kSignal");function abort(i){if(i.abort){i.abort(i[ee]?.reason)}else{i.reason=i[ee]?.reason??new V}removeSignal(i)}function addSignal(i,d){i.reason=null;i[ee]=null;i[K]=null;if(!d){return}if(d.aborted){abort(i);return}i[ee]=d;i[K]=()=>{abort(i)};v(i[ee],i[K])}function removeSignal(i){if(!i[ee]){return}if("removeEventListener"in i[ee]){i[ee].removeEventListener("abort",i[K])}else{i[ee].removeListener("abort",i[K])}i[ee]=null;i[K]=null}i.exports={addSignal:addSignal,removeSignal:removeSignal}},83631:(i,d,p)=>{const v=p(34589);const{AsyncResource:V}=p(16698);const{InvalidArgumentError:K,SocketError:ee}=p(68480);const te=p(61671);const{addSignal:re,removeSignal:ne}=p(18259);class ConnectHandler extends V{constructor(i,d){if(!i||typeof i!=="object"){throw new K("invalid opts")}if(typeof d!=="function"){throw new K("invalid callback")}const{signal:p,opaque:v,responseHeaders:V}=i;if(p&&typeof p.on!=="function"&&typeof p.addEventListener!=="function"){throw new K("signal must be an EventEmitter or EventTarget")}super("UNDICI_CONNECT");this.opaque=v||null;this.responseHeaders=V||null;this.callback=d;this.abort=null;re(this,p)}onConnect(i,d){if(this.reason){i(this.reason);return}v(this.callback);this.abort=i;this.context=d}onHeaders(){throw new ee("bad connect",null)}onUpgrade(i,d,p){const{callback:v,opaque:V,context:K}=this;ne(this);this.callback=null;let ee=d;if(ee!=null){ee=this.responseHeaders==="raw"?te.parseRawHeaders(d):te.parseHeaders(d)}this.runInAsyncScope(v,null,null,{statusCode:i,headers:ee,socket:p,opaque:V,context:K})}onError(i){const{callback:d,opaque:p}=this;ne(this);if(d){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(d,null,i,{opaque:p})}))}}}function connect(i,d){if(d===undefined){return new Promise(((d,p)=>{connect.call(this,i,((i,v)=>i?p(i):d(v)))}))}try{const p=new ConnectHandler(i,d);this.dispatch({...i,method:"CONNECT"},p)}catch(p){if(typeof d!=="function"){throw p}const v=i?.opaque;queueMicrotask((()=>d(p,{opaque:v})))}}i.exports=connect},90515:(i,d,p)=>{const{Readable:v,Duplex:V,PassThrough:K}=p(57075);const{InvalidArgumentError:ee,InvalidReturnValueError:te,RequestAbortedError:re}=p(68480);const ne=p(61671);const{AsyncResource:se}=p(16698);const{addSignal:ie,removeSignal:oe}=p(18259);const ae=p(34589);const Ae=Symbol("resume");class PipelineRequest extends v{constructor(){super({autoDestroy:true});this[Ae]=null}_read(){const{[Ae]:i}=this;if(i){this[Ae]=null;i()}}_destroy(i,d){this._read();d(i)}}class PipelineResponse extends v{constructor(i){super({autoDestroy:true});this[Ae]=i}_read(){this[Ae]()}_destroy(i,d){if(!i&&!this._readableState.endEmitted){i=new re}d(i)}}class PipelineHandler extends se{constructor(i,d){if(!i||typeof i!=="object"){throw new ee("invalid opts")}if(typeof d!=="function"){throw new ee("invalid handler")}const{signal:p,method:v,opaque:K,onInfo:te,responseHeaders:se}=i;if(p&&typeof p.on!=="function"&&typeof p.addEventListener!=="function"){throw new ee("signal must be an EventEmitter or EventTarget")}if(v==="CONNECT"){throw new ee("invalid method")}if(te&&typeof te!=="function"){throw new ee("invalid onInfo callback")}super("UNDICI_PIPELINE");this.opaque=K||null;this.responseHeaders=se||null;this.handler=d;this.abort=null;this.context=null;this.onInfo=te||null;this.req=(new PipelineRequest).on("error",ne.nop);this.ret=new V({readableObjectMode:i.objectMode,autoDestroy:true,read:()=>{const{body:i}=this;if(i?.resume){i.resume()}},write:(i,d,p)=>{const{req:v}=this;if(v.push(i,d)||v._readableState.destroyed){p()}else{v[Ae]=p}},destroy:(i,d)=>{const{body:p,req:v,res:V,ret:K,abort:ee}=this;if(!i&&!K._readableState.endEmitted){i=new re}if(ee&&i){ee()}ne.destroy(p,i);ne.destroy(v,i);ne.destroy(V,i);oe(this);d(i)}}).on("prefinish",(()=>{const{req:i}=this;i.push(null)}));this.res=null;ie(this,p)}onConnect(i,d){const{ret:p,res:v}=this;if(this.reason){i(this.reason);return}ae(!v,"pipeline cannot be retried");ae(!p.destroyed);this.abort=i;this.context=d}onHeaders(i,d,p){const{opaque:v,handler:V,context:K}=this;if(i<200){if(this.onInfo){const p=this.responseHeaders==="raw"?ne.parseRawHeaders(d):ne.parseHeaders(d);this.onInfo({statusCode:i,headers:p})}return}this.res=new PipelineResponse(p);let ee;try{this.handler=null;const p=this.responseHeaders==="raw"?ne.parseRawHeaders(d):ne.parseHeaders(d);ee=this.runInAsyncScope(V,null,{statusCode:i,headers:p,opaque:v,body:this.res,context:K})}catch(i){this.res.on("error",ne.nop);throw i}if(!ee||typeof ee.on!=="function"){throw new te("expected Readable")}ee.on("data",(i=>{const{ret:d,body:p}=this;if(!d.push(i)&&p.pause){p.pause()}})).on("error",(i=>{const{ret:d}=this;ne.destroy(d,i)})).on("end",(()=>{const{ret:i}=this;i.push(null)})).on("close",(()=>{const{ret:i}=this;if(!i._readableState.ended){ne.destroy(i,new re)}}));this.body=ee}onData(i){const{res:d}=this;return d.push(i)}onComplete(i){const{res:d}=this;d.push(null)}onError(i){const{ret:d}=this;this.handler=null;ne.destroy(d,i)}}function pipeline(i,d){try{const p=new PipelineHandler(i,d);this.dispatch({...i,body:p.req},p);return p.ret}catch(i){return(new K).destroy(i)}}i.exports=pipeline},23172:(i,d,p)=>{const v=p(34589);const{Readable:V}=p(60274);const{InvalidArgumentError:K,RequestAbortedError:ee}=p(68480);const te=p(61671);const{getResolveErrorBodyCallback:re}=p(91678);const{AsyncResource:ne}=p(16698);class RequestHandler extends ne{constructor(i,d){if(!i||typeof i!=="object"){throw new K("invalid opts")}const{signal:p,method:v,opaque:V,body:re,onInfo:ne,responseHeaders:se,throwOnError:ie,highWaterMark:oe}=i;try{if(typeof d!=="function"){throw new K("invalid callback")}if(oe&&(typeof oe!=="number"||oe<0)){throw new K("invalid highWaterMark")}if(p&&typeof p.on!=="function"&&typeof p.addEventListener!=="function"){throw new K("signal must be an EventEmitter or EventTarget")}if(v==="CONNECT"){throw new K("invalid method")}if(ne&&typeof ne!=="function"){throw new K("invalid onInfo callback")}super("UNDICI_REQUEST")}catch(i){if(te.isStream(re)){te.destroy(re.on("error",te.nop),i)}throw i}this.method=v;this.responseHeaders=se||null;this.opaque=V||null;this.callback=d;this.res=null;this.abort=null;this.body=re;this.trailers={};this.context=null;this.onInfo=ne||null;this.throwOnError=ie;this.highWaterMark=oe;this.signal=p;this.reason=null;this.removeAbortListener=null;if(te.isStream(re)){re.on("error",(i=>{this.onError(i)}))}if(this.signal){if(this.signal.aborted){this.reason=this.signal.reason??new ee}else{this.removeAbortListener=te.addAbortListener(this.signal,(()=>{this.reason=this.signal.reason??new ee;if(this.res){te.destroy(this.res.on("error",te.nop),this.reason)}else if(this.abort){this.abort(this.reason)}if(this.removeAbortListener){this.res?.off("close",this.removeAbortListener);this.removeAbortListener();this.removeAbortListener=null}}))}}}onConnect(i,d){if(this.reason){i(this.reason);return}v(this.callback);this.abort=i;this.context=d}onHeaders(i,d,p,v){const{callback:K,opaque:ee,abort:ne,context:se,responseHeaders:ie,highWaterMark:oe}=this;const ae=ie==="raw"?te.parseRawHeaders(d):te.parseHeaders(d);if(i<200){if(this.onInfo){this.onInfo({statusCode:i,headers:ae})}return}const Ae=ie==="raw"?te.parseHeaders(d):ae;const ce=Ae["content-type"];const le=Ae["content-length"];const ue=new V({resume:p,abort:ne,contentType:ce,contentLength:this.method!=="HEAD"&&le?Number(le):null,highWaterMark:oe});if(this.removeAbortListener){ue.on("close",this.removeAbortListener)}this.callback=null;this.res=ue;if(K!==null){if(this.throwOnError&&i>=400){this.runInAsyncScope(re,null,{callback:K,body:ue,contentType:ce,statusCode:i,statusMessage:v,headers:ae})}else{this.runInAsyncScope(K,null,null,{statusCode:i,headers:ae,trailers:this.trailers,opaque:ee,body:ue,context:se})}}}onData(i){return this.res.push(i)}onComplete(i){te.parseHeaders(i,this.trailers);this.res.push(null)}onError(i){const{res:d,callback:p,body:v,opaque:V}=this;if(p){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(p,null,i,{opaque:V})}))}if(d){this.res=null;queueMicrotask((()=>{te.destroy(d,i)}))}if(v){this.body=null;te.destroy(v,i)}if(this.removeAbortListener){d?.off("close",this.removeAbortListener);this.removeAbortListener();this.removeAbortListener=null}}}function request(i,d){if(d===undefined){return new Promise(((d,p)=>{request.call(this,i,((i,v)=>i?p(i):d(v)))}))}try{this.dispatch(i,new RequestHandler(i,d))}catch(p){if(typeof d!=="function"){throw p}const v=i?.opaque;queueMicrotask((()=>d(p,{opaque:v})))}}i.exports=request;i.exports.RequestHandler=RequestHandler},10373:(i,d,p)=>{const v=p(34589);const{finished:V,PassThrough:K}=p(57075);const{InvalidArgumentError:ee,InvalidReturnValueError:te}=p(68480);const re=p(61671);const{getResolveErrorBodyCallback:ne}=p(91678);const{AsyncResource:se}=p(16698);const{addSignal:ie,removeSignal:oe}=p(18259);class StreamHandler extends se{constructor(i,d,p){if(!i||typeof i!=="object"){throw new ee("invalid opts")}const{signal:v,method:V,opaque:K,body:te,onInfo:ne,responseHeaders:se,throwOnError:oe}=i;try{if(typeof p!=="function"){throw new ee("invalid callback")}if(typeof d!=="function"){throw new ee("invalid factory")}if(v&&typeof v.on!=="function"&&typeof v.addEventListener!=="function"){throw new ee("signal must be an EventEmitter or EventTarget")}if(V==="CONNECT"){throw new ee("invalid method")}if(ne&&typeof ne!=="function"){throw new ee("invalid onInfo callback")}super("UNDICI_STREAM")}catch(i){if(re.isStream(te)){re.destroy(te.on("error",re.nop),i)}throw i}this.responseHeaders=se||null;this.opaque=K||null;this.factory=d;this.callback=p;this.res=null;this.abort=null;this.context=null;this.trailers=null;this.body=te;this.onInfo=ne||null;this.throwOnError=oe||false;if(re.isStream(te)){te.on("error",(i=>{this.onError(i)}))}ie(this,v)}onConnect(i,d){if(this.reason){i(this.reason);return}v(this.callback);this.abort=i;this.context=d}onHeaders(i,d,p,v){const{factory:ee,opaque:se,context:ie,callback:oe,responseHeaders:ae}=this;const Ae=ae==="raw"?re.parseRawHeaders(d):re.parseHeaders(d);if(i<200){if(this.onInfo){this.onInfo({statusCode:i,headers:Ae})}return}this.factory=null;let ce;if(this.throwOnError&&i>=400){const p=ae==="raw"?re.parseHeaders(d):Ae;const V=p["content-type"];ce=new K;this.callback=null;this.runInAsyncScope(ne,null,{callback:oe,body:ce,contentType:V,statusCode:i,statusMessage:v,headers:Ae})}else{if(ee===null){return}ce=this.runInAsyncScope(ee,null,{statusCode:i,headers:Ae,opaque:se,context:ie});if(!ce||typeof ce.write!=="function"||typeof ce.end!=="function"||typeof ce.on!=="function"){throw new te("expected Writable")}V(ce,{readable:false},(i=>{const{callback:d,res:p,opaque:v,trailers:V,abort:K}=this;this.res=null;if(i||!p.readable){re.destroy(p,i)}this.callback=null;this.runInAsyncScope(d,null,i||null,{opaque:v,trailers:V});if(i){K()}}))}ce.on("drain",p);this.res=ce;const le=ce.writableNeedDrain!==undefined?ce.writableNeedDrain:ce._writableState?.needDrain;return le!==true}onData(i){const{res:d}=this;return d?d.write(i):true}onComplete(i){const{res:d}=this;oe(this);if(!d){return}this.trailers=re.parseHeaders(i);d.end()}onError(i){const{res:d,callback:p,opaque:v,body:V}=this;oe(this);this.factory=null;if(d){this.res=null;re.destroy(d,i)}else if(p){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(p,null,i,{opaque:v})}))}if(V){this.body=null;re.destroy(V,i)}}}function stream(i,d,p){if(p===undefined){return new Promise(((p,v)=>{stream.call(this,i,d,((i,d)=>i?v(i):p(d)))}))}try{this.dispatch(i,new StreamHandler(i,d,p))}catch(d){if(typeof p!=="function"){throw d}const v=i?.opaque;queueMicrotask((()=>p(d,{opaque:v})))}}i.exports=stream},65765:(i,d,p)=>{const{InvalidArgumentError:v,SocketError:V}=p(68480);const{AsyncResource:K}=p(16698);const ee=p(61671);const{addSignal:te,removeSignal:re}=p(18259);const ne=p(34589);class UpgradeHandler extends K{constructor(i,d){if(!i||typeof i!=="object"){throw new v("invalid opts")}if(typeof d!=="function"){throw new v("invalid callback")}const{signal:p,opaque:V,responseHeaders:K}=i;if(p&&typeof p.on!=="function"&&typeof p.addEventListener!=="function"){throw new v("signal must be an EventEmitter or EventTarget")}super("UNDICI_UPGRADE");this.responseHeaders=K||null;this.opaque=V||null;this.callback=d;this.abort=null;this.context=null;te(this,p)}onConnect(i,d){if(this.reason){i(this.reason);return}ne(this.callback);this.abort=i;this.context=null}onHeaders(){throw new V("bad upgrade",null)}onUpgrade(i,d,p){ne(i===101);const{callback:v,opaque:V,context:K}=this;re(this);this.callback=null;const te=this.responseHeaders==="raw"?ee.parseRawHeaders(d):ee.parseHeaders(d);this.runInAsyncScope(v,null,null,{headers:te,socket:p,opaque:V,context:K})}onError(i){const{callback:d,opaque:p}=this;re(this);if(d){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(d,null,i,{opaque:p})}))}}}function upgrade(i,d){if(d===undefined){return new Promise(((d,p)=>{upgrade.call(this,i,((i,v)=>i?p(i):d(v)))}))}try{const p=new UpgradeHandler(i,d);this.dispatch({...i,method:i.method||"GET",upgrade:i.protocol||"Websocket"},p)}catch(p){if(typeof d!=="function"){throw p}const v=i?.opaque;queueMicrotask((()=>d(p,{opaque:v})))}}i.exports=upgrade},36924:(i,d,p)=>{i.exports.request=p(23172);i.exports.stream=p(10373);i.exports.pipeline=p(90515);i.exports.upgrade=p(65765);i.exports.connect=p(83631)},60274:(i,d,p)=>{const v=p(34589);const{Readable:V}=p(57075);const{RequestAbortedError:K,NotSupportedError:ee,InvalidArgumentError:te,AbortError:re}=p(68480);const ne=p(61671);const{ReadableStreamFrom:se}=p(61671);const ie=Symbol("kConsume");const oe=Symbol("kReading");const ae=Symbol("kBody");const Ae=Symbol("kAbort");const ce=Symbol("kContentType");const le=Symbol("kContentLength");const noop=()=>{};class BodyReadable extends V{constructor({resume:i,abort:d,contentType:p="",contentLength:v,highWaterMark:V=64*1024}){super({autoDestroy:true,read:i,highWaterMark:V});this._readableState.dataEmitted=false;this[Ae]=d;this[ie]=null;this[ae]=null;this[ce]=p;this[le]=v;this[oe]=false}destroy(i){if(!i&&!this._readableState.endEmitted){i=new K}if(i){this[Ae]()}return super.destroy(i)}_destroy(i,d){if(!this[oe]){setImmediate((()=>{d(i)}))}else{d(i)}}on(i,...d){if(i==="data"||i==="readable"){this[oe]=true}return super.on(i,...d)}addListener(i,...d){return this.on(i,...d)}off(i,...d){const p=super.off(i,...d);if(i==="data"||i==="readable"){this[oe]=this.listenerCount("data")>0||this.listenerCount("readable")>0}return p}removeListener(i,...d){return this.off(i,...d)}push(i){if(this[ie]&&i!==null){consumePush(this[ie],i);return this[oe]?super.push(i):true}return super.push(i)}async text(){return consume(this,"text")}async json(){return consume(this,"json")}async blob(){return consume(this,"blob")}async bytes(){return consume(this,"bytes")}async arrayBuffer(){return consume(this,"arrayBuffer")}async formData(){throw new ee}get bodyUsed(){return ne.isDisturbed(this)}get body(){if(!this[ae]){this[ae]=se(this);if(this[ie]){this[ae].getReader();v(this[ae].locked)}}return this[ae]}async dump(i){let d=Number.isFinite(i?.limit)?i.limit:128*1024;const p=i?.signal;if(p!=null&&(typeof p!=="object"||!("aborted"in p))){throw new te("signal must be an AbortSignal")}p?.throwIfAborted();if(this._readableState.closeEmitted){return null}return await new Promise(((i,v)=>{if(this[le]>d){this.destroy(new re)}const onAbort=()=>{this.destroy(p.reason??new re)};p?.addEventListener("abort",onAbort);this.on("close",(function(){p?.removeEventListener("abort",onAbort);if(p?.aborted){v(p.reason??new re)}else{i(null)}})).on("error",noop).on("data",(function(i){d-=i.length;if(d<=0){this.destroy()}})).resume()}))}}function isLocked(i){return i[ae]&&i[ae].locked===true||i[ie]}function isUnusable(i){return ne.isDisturbed(i)||isLocked(i)}async function consume(i,d){v(!i[ie]);return new Promise(((p,v)=>{if(isUnusable(i)){const d=i._readableState;if(d.destroyed&&d.closeEmitted===false){i.on("error",(i=>{v(i)})).on("close",(()=>{v(new TypeError("unusable"))}))}else{v(d.errored??new TypeError("unusable"))}}else{queueMicrotask((()=>{i[ie]={type:d,stream:i,resolve:p,reject:v,length:0,body:[]};i.on("error",(function(i){consumeFinish(this[ie],i)})).on("close",(function(){if(this[ie].body!==null){consumeFinish(this[ie],new K)}}));consumeStart(i[ie])}))}}))}function consumeStart(i){if(i.body===null){return}const{_readableState:d}=i.stream;if(d.bufferIndex){const p=d.bufferIndex;const v=d.buffer.length;for(let V=p;V2&&p[0]===239&&p[1]===187&&p[2]===191?3:0;return p.utf8Slice(V,v)}function chunksConcat(i,d){if(i.length===0||d===0){return new Uint8Array(0)}if(i.length===1){return new Uint8Array(i[0])}const p=new Uint8Array(Buffer.allocUnsafeSlow(d).buffer);let v=0;for(let d=0;d{const v=p(34589);const{ResponseStatusCodeError:V}=p(68480);const{chunksDecode:K}=p(60274);const ee=128*1024;async function getResolveErrorBodyCallback({callback:i,body:d,contentType:p,statusCode:te,statusMessage:re,headers:ne}){v(d);let se=[];let ie=0;try{for await(const i of d){se.push(i);ie+=i.length;if(ie>ee){se=[];ie=0;break}}}catch{se=[];ie=0}const oe=`Response status code ${te}${re?`: ${re}`:""}`;if(te===204||!p||!ie){queueMicrotask((()=>i(new V(oe,te,ne))));return}const ae=Error.stackTraceLimit;Error.stackTraceLimit=0;let Ae;try{if(isContentTypeApplicationJson(p)){Ae=JSON.parse(K(se,ie))}else if(isContentTypeText(p)){Ae=K(se,ie)}}catch{}finally{Error.stackTraceLimit=ae}queueMicrotask((()=>i(new V(oe,te,ne,Ae))))}const isContentTypeApplicationJson=i=>i.length>15&&i[11]==="/"&&i[0]==="a"&&i[1]==="p"&&i[2]==="p"&&i[3]==="l"&&i[4]==="i"&&i[5]==="c"&&i[6]==="a"&&i[7]==="t"&&i[8]==="i"&&i[9]==="o"&&i[10]==="n"&&i[12]==="j"&&i[13]==="s"&&i[14]==="o"&&i[15]==="n";const isContentTypeText=i=>i.length>4&&i[4]==="/"&&i[0]==="t"&&i[1]==="e"&&i[2]==="x"&&i[3]==="t";i.exports={getResolveErrorBodyCallback:getResolveErrorBodyCallback,isContentTypeApplicationJson:isContentTypeApplicationJson,isContentTypeText:isContentTypeText}},75237:(i,d,p)=>{const v=p(77030);const V=p(34589);const K=p(61671);const{InvalidArgumentError:ee,ConnectTimeoutError:te}=p(68480);const re=p(46416);function noop(){}let ne;let se;if(global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)){se=class WeakSessionCache{constructor(i){this._maxCachedSessions=i;this._sessionCache=new Map;this._sessionRegistry=new global.FinalizationRegistry((i=>{if(this._sessionCache.size=this._maxCachedSessions){const{value:i}=this._sessionCache.keys().next();this._sessionCache.delete(i)}this._sessionCache.set(i,d)}}}function buildConnector({allowH2:i,maxCachedSessions:d,socketPath:te,timeout:re,session:oe,...ae}){if(d!=null&&(!Number.isInteger(d)||d<0)){throw new ee("maxCachedSessions must be a positive integer or zero")}const Ae={path:te,...ae};const ce=new se(d==null?100:d);re=re==null?1e4:re;i=i!=null?i:false;return function connect({hostname:d,host:ee,protocol:te,port:se,servername:ae,localAddress:le,httpSocket:ue},de){let he;if(te==="https:"){if(!ne){ne=p(41692)}ae=ae||Ae.servername||K.getServerName(ee)||null;const v=ae||d;V(v);const te=oe||ce.get(v)||null;se=se||443;he=ne.connect({highWaterMark:16384,...Ae,servername:ae,session:te,localAddress:le,ALPNProtocols:i?["http/1.1","h2"]:["http/1.1"],socket:ue,port:se,host:d});he.on("session",(function(i){ce.set(v,i)}))}else{V(!ue,"httpSocket can only be sent on TLS update");se=se||80;he=v.connect({highWaterMark:64*1024,...Ae,localAddress:le,port:se,host:d})}if(Ae.keepAlive==null||Ae.keepAlive){const i=Ae.keepAliveInitialDelay===undefined?6e4:Ae.keepAliveInitialDelay;he.setKeepAlive(true,i)}const fe=ie(new WeakRef(he),{timeout:re,hostname:d,port:se});he.setNoDelay(true).once(te==="https:"?"secureConnect":"connect",(function(){queueMicrotask(fe);if(de){const i=de;de=null;i(null,this)}})).on("error",(function(i){queueMicrotask(fe);if(de){const d=de;de=null;d(i)}}));return he}}const ie=process.platform==="win32"?(i,d)=>{if(!d.timeout){return noop}let p=null;let v=null;const V=re.setFastTimeout((()=>{p=setImmediate((()=>{v=setImmediate((()=>onConnectTimeout(i.deref(),d)))}))}),d.timeout);return()=>{re.clearFastTimeout(V);clearImmediate(p);clearImmediate(v)}}:(i,d)=>{if(!d.timeout){return noop}let p=null;const v=re.setFastTimeout((()=>{p=setImmediate((()=>{onConnectTimeout(i.deref(),d)}))}),d.timeout);return()=>{re.clearFastTimeout(v);clearImmediate(p)}};function onConnectTimeout(i,d){if(i==null){return}let p="Connect Timeout Error";if(Array.isArray(i.autoSelectFamilyAttemptedAddresses)){p+=` (attempted addresses: ${i.autoSelectFamilyAttemptedAddresses.join(", ")},`}else{p+=` (attempted address: ${d.hostname}:${d.port},`}p+=` timeout: ${d.timeout}ms)`;K.destroy(i,new te(p))}i.exports=buildConnector},11530:i=>{const d={};const p=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"];for(let i=0;i{const v=p(53053);const V=p(57975);const K=V.debuglog("undici");const ee=V.debuglog("fetch");const te=V.debuglog("websocket");let re=false;const ne={beforeConnect:v.channel("undici:client:beforeConnect"),connected:v.channel("undici:client:connected"),connectError:v.channel("undici:client:connectError"),sendHeaders:v.channel("undici:client:sendHeaders"),create:v.channel("undici:request:create"),bodySent:v.channel("undici:request:bodySent"),headers:v.channel("undici:request:headers"),trailers:v.channel("undici:request:trailers"),error:v.channel("undici:request:error"),open:v.channel("undici:websocket:open"),close:v.channel("undici:websocket:close"),socketError:v.channel("undici:websocket:socket_error"),ping:v.channel("undici:websocket:ping"),pong:v.channel("undici:websocket:pong")};if(K.enabled||ee.enabled){const i=ee.enabled?ee:K;v.channel("undici:client:beforeConnect").subscribe((d=>{const{connectParams:{version:p,protocol:v,port:V,host:K}}=d;i("connecting to %s using %s%s",`${K}${V?`:${V}`:""}`,v,p)}));v.channel("undici:client:connected").subscribe((d=>{const{connectParams:{version:p,protocol:v,port:V,host:K}}=d;i("connected to %s using %s%s",`${K}${V?`:${V}`:""}`,v,p)}));v.channel("undici:client:connectError").subscribe((d=>{const{connectParams:{version:p,protocol:v,port:V,host:K},error:ee}=d;i("connection to %s using %s%s errored - %s",`${K}${V?`:${V}`:""}`,v,p,ee.message)}));v.channel("undici:client:sendHeaders").subscribe((d=>{const{request:{method:p,path:v,origin:V}}=d;i("sending request to %s %s/%s",p,V,v)}));v.channel("undici:request:headers").subscribe((d=>{const{request:{method:p,path:v,origin:V},response:{statusCode:K}}=d;i("received response to %s %s/%s - HTTP %d",p,V,v,K)}));v.channel("undici:request:trailers").subscribe((d=>{const{request:{method:p,path:v,origin:V}}=d;i("trailers received from %s %s/%s",p,V,v)}));v.channel("undici:request:error").subscribe((d=>{const{request:{method:p,path:v,origin:V},error:K}=d;i("request to %s %s/%s errored - %s",p,V,v,K.message)}));re=true}if(te.enabled){if(!re){const i=K.enabled?K:te;v.channel("undici:client:beforeConnect").subscribe((d=>{const{connectParams:{version:p,protocol:v,port:V,host:K}}=d;i("connecting to %s%s using %s%s",K,V?`:${V}`:"",v,p)}));v.channel("undici:client:connected").subscribe((d=>{const{connectParams:{version:p,protocol:v,port:V,host:K}}=d;i("connected to %s%s using %s%s",K,V?`:${V}`:"",v,p)}));v.channel("undici:client:connectError").subscribe((d=>{const{connectParams:{version:p,protocol:v,port:V,host:K},error:ee}=d;i("connection to %s%s using %s%s errored - %s",K,V?`:${V}`:"",v,p,ee.message)}));v.channel("undici:client:sendHeaders").subscribe((d=>{const{request:{method:p,path:v,origin:V}}=d;i("sending request to %s %s/%s",p,V,v)}))}v.channel("undici:websocket:open").subscribe((i=>{const{address:{address:d,port:p}}=i;te("connection opened %s%s",d,p?`:${p}`:"")}));v.channel("undici:websocket:close").subscribe((i=>{const{websocket:d,code:p,reason:v}=i;te("closed connection to %s - %s %s",d.url,p,v)}));v.channel("undici:websocket:socket_error").subscribe((i=>{te("connection errored - %s",i.message)}));v.channel("undici:websocket:ping").subscribe((i=>{te("ping received")}));v.channel("undici:websocket:pong").subscribe((i=>{te("pong received")}))}i.exports={channels:ne}},68480:i=>{const d=Symbol.for("undici.error.UND_ERR");class UndiciError extends Error{constructor(i){super(i);this.name="UndiciError";this.code="UND_ERR"}static[Symbol.hasInstance](i){return i&&i[d]===true}[d]=true}const p=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT");class ConnectTimeoutError extends UndiciError{constructor(i){super(i);this.name="ConnectTimeoutError";this.message=i||"Connect Timeout Error";this.code="UND_ERR_CONNECT_TIMEOUT"}static[Symbol.hasInstance](i){return i&&i[p]===true}[p]=true}const v=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT");class HeadersTimeoutError extends UndiciError{constructor(i){super(i);this.name="HeadersTimeoutError";this.message=i||"Headers Timeout Error";this.code="UND_ERR_HEADERS_TIMEOUT"}static[Symbol.hasInstance](i){return i&&i[v]===true}[v]=true}const V=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW");class HeadersOverflowError extends UndiciError{constructor(i){super(i);this.name="HeadersOverflowError";this.message=i||"Headers Overflow Error";this.code="UND_ERR_HEADERS_OVERFLOW"}static[Symbol.hasInstance](i){return i&&i[V]===true}[V]=true}const K=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT");class BodyTimeoutError extends UndiciError{constructor(i){super(i);this.name="BodyTimeoutError";this.message=i||"Body Timeout Error";this.code="UND_ERR_BODY_TIMEOUT"}static[Symbol.hasInstance](i){return i&&i[K]===true}[K]=true}const ee=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE");class ResponseStatusCodeError extends UndiciError{constructor(i,d,p,v){super(i);this.name="ResponseStatusCodeError";this.message=i||"Response Status Code Error";this.code="UND_ERR_RESPONSE_STATUS_CODE";this.body=v;this.status=d;this.statusCode=d;this.headers=p}static[Symbol.hasInstance](i){return i&&i[ee]===true}[ee]=true}const te=Symbol.for("undici.error.UND_ERR_INVALID_ARG");class InvalidArgumentError extends UndiciError{constructor(i){super(i);this.name="InvalidArgumentError";this.message=i||"Invalid Argument Error";this.code="UND_ERR_INVALID_ARG"}static[Symbol.hasInstance](i){return i&&i[te]===true}[te]=true}const re=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE");class InvalidReturnValueError extends UndiciError{constructor(i){super(i);this.name="InvalidReturnValueError";this.message=i||"Invalid Return Value Error";this.code="UND_ERR_INVALID_RETURN_VALUE"}static[Symbol.hasInstance](i){return i&&i[re]===true}[re]=true}const ne=Symbol.for("undici.error.UND_ERR_ABORT");class AbortError extends UndiciError{constructor(i){super(i);this.name="AbortError";this.message=i||"The operation was aborted";this.code="UND_ERR_ABORT"}static[Symbol.hasInstance](i){return i&&i[ne]===true}[ne]=true}const se=Symbol.for("undici.error.UND_ERR_ABORTED");class RequestAbortedError extends AbortError{constructor(i){super(i);this.name="AbortError";this.message=i||"Request aborted";this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](i){return i&&i[se]===true}[se]=true}const ie=Symbol.for("undici.error.UND_ERR_INFO");class InformationalError extends UndiciError{constructor(i){super(i);this.name="InformationalError";this.message=i||"Request information";this.code="UND_ERR_INFO"}static[Symbol.hasInstance](i){return i&&i[ie]===true}[ie]=true}const oe=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH");class RequestContentLengthMismatchError extends UndiciError{constructor(i){super(i);this.name="RequestContentLengthMismatchError";this.message=i||"Request body length does not match content-length header";this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](i){return i&&i[oe]===true}[oe]=true}const ae=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH");class ResponseContentLengthMismatchError extends UndiciError{constructor(i){super(i);this.name="ResponseContentLengthMismatchError";this.message=i||"Response body length does not match content-length header";this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](i){return i&&i[ae]===true}[ae]=true}const Ae=Symbol.for("undici.error.UND_ERR_DESTROYED");class ClientDestroyedError extends UndiciError{constructor(i){super(i);this.name="ClientDestroyedError";this.message=i||"The client is destroyed";this.code="UND_ERR_DESTROYED"}static[Symbol.hasInstance](i){return i&&i[Ae]===true}[Ae]=true}const ce=Symbol.for("undici.error.UND_ERR_CLOSED");class ClientClosedError extends UndiciError{constructor(i){super(i);this.name="ClientClosedError";this.message=i||"The client is closed";this.code="UND_ERR_CLOSED"}static[Symbol.hasInstance](i){return i&&i[ce]===true}[ce]=true}const le=Symbol.for("undici.error.UND_ERR_SOCKET");class SocketError extends UndiciError{constructor(i,d){super(i);this.name="SocketError";this.message=i||"Socket error";this.code="UND_ERR_SOCKET";this.socket=d}static[Symbol.hasInstance](i){return i&&i[le]===true}[le]=true}const ue=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED");class NotSupportedError extends UndiciError{constructor(i){super(i);this.name="NotSupportedError";this.message=i||"Not supported error";this.code="UND_ERR_NOT_SUPPORTED"}static[Symbol.hasInstance](i){return i&&i[ue]===true}[ue]=true}const de=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM");class BalancedPoolMissingUpstreamError extends UndiciError{constructor(i){super(i);this.name="MissingUpstreamError";this.message=i||"No upstream has been added to the BalancedPool";this.code="UND_ERR_BPL_MISSING_UPSTREAM"}static[Symbol.hasInstance](i){return i&&i[de]===true}[de]=true}const he=Symbol.for("undici.error.UND_ERR_HTTP_PARSER");class HTTPParserError extends Error{constructor(i,d,p){super(i);this.name="HTTPParserError";this.code=d?`HPE_${d}`:undefined;this.data=p?p.toString():undefined}static[Symbol.hasInstance](i){return i&&i[he]===true}[he]=true}const fe=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE");class ResponseExceededMaxSizeError extends UndiciError{constructor(i){super(i);this.name="ResponseExceededMaxSizeError";this.message=i||"Response content exceeded max size";this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}static[Symbol.hasInstance](i){return i&&i[fe]===true}[fe]=true}const ge=Symbol.for("undici.error.UND_ERR_REQ_RETRY");class RequestRetryError extends UndiciError{constructor(i,d,{headers:p,data:v}){super(i);this.name="RequestRetryError";this.message=i||"Request retry error";this.code="UND_ERR_REQ_RETRY";this.statusCode=d;this.data=v;this.headers=p}static[Symbol.hasInstance](i){return i&&i[ge]===true}[ge]=true}const pe=Symbol.for("undici.error.UND_ERR_RESPONSE");class ResponseError extends UndiciError{constructor(i,d,{headers:p,data:v}){super(i);this.name="ResponseError";this.message=i||"Response error";this.code="UND_ERR_RESPONSE";this.statusCode=d;this.data=v;this.headers=p}static[Symbol.hasInstance](i){return i&&i[pe]===true}[pe]=true}const me=Symbol.for("undici.error.UND_ERR_PRX_TLS");class SecureProxyConnectionError extends UndiciError{constructor(i,d,p){super(d,{cause:i,...p??{}});this.name="SecureProxyConnectionError";this.message=d||"Secure Proxy Connection failed";this.code="UND_ERR_PRX_TLS";this.cause=i}static[Symbol.hasInstance](i){return i&&i[me]===true}[me]=true}i.exports={AbortError:AbortError,HTTPParserError:HTTPParserError,UndiciError:UndiciError,HeadersTimeoutError:HeadersTimeoutError,HeadersOverflowError:HeadersOverflowError,BodyTimeoutError:BodyTimeoutError,RequestContentLengthMismatchError:RequestContentLengthMismatchError,ConnectTimeoutError:ConnectTimeoutError,ResponseStatusCodeError:ResponseStatusCodeError,InvalidArgumentError:InvalidArgumentError,InvalidReturnValueError:InvalidReturnValueError,RequestAbortedError:RequestAbortedError,ClientDestroyedError:ClientDestroyedError,ClientClosedError:ClientClosedError,InformationalError:InformationalError,SocketError:SocketError,NotSupportedError:NotSupportedError,ResponseContentLengthMismatchError:ResponseContentLengthMismatchError,BalancedPoolMissingUpstreamError:BalancedPoolMissingUpstreamError,ResponseExceededMaxSizeError:ResponseExceededMaxSizeError,RequestRetryError:RequestRetryError,ResponseError:ResponseError,SecureProxyConnectionError:SecureProxyConnectionError}},52590:(i,d,p)=>{const{InvalidArgumentError:v,NotSupportedError:V}=p(68480);const K=p(34589);const{isValidHTTPToken:ee,isValidHeaderValue:te,isStream:re,destroy:ne,isBuffer:se,isFormDataLike:ie,isIterable:oe,isBlobLike:ae,buildURL:Ae,validateHandler:ce,getServerName:le,normalizedMethodRecords:ue}=p(61671);const{channels:de}=p(92527);const{headerNameLowerCasedRecord:he}=p(11530);const fe=/[^\u0021-\u00ff]/;const ge=Symbol("handler");class Request{constructor(i,{path:d,method:p,body:V,headers:K,query:te,idempotent:he,blocking:pe,upgrade:me,headersTimeout:Ee,bodyTimeout:Ce,reset:ye,throwOnError:Ie,expectContinue:Be,servername:Qe},be){if(typeof d!=="string"){throw new v("path must be a string")}else if(d[0]!=="/"&&!(d.startsWith("http://")||d.startsWith("https://"))&&p!=="CONNECT"){throw new v("path must be an absolute URL or start with a slash")}else if(fe.test(d)){throw new v("invalid request path")}if(typeof p!=="string"){throw new v("method must be a string")}else if(ue[p]===undefined&&!ee(p)){throw new v("invalid request method")}if(me&&typeof me!=="string"){throw new v("upgrade must be a string")}if(Ee!=null&&(!Number.isFinite(Ee)||Ee<0)){throw new v("invalid headersTimeout")}if(Ce!=null&&(!Number.isFinite(Ce)||Ce<0)){throw new v("invalid bodyTimeout")}if(ye!=null&&typeof ye!=="boolean"){throw new v("invalid reset")}if(Be!=null&&typeof Be!=="boolean"){throw new v("invalid expectContinue")}this.headersTimeout=Ee;this.bodyTimeout=Ce;this.throwOnError=Ie===true;this.method=p;this.abort=null;if(V==null){this.body=null}else if(re(V)){this.body=V;const i=this.body._readableState;if(!i||!i.autoDestroy){this.endHandler=function autoDestroy(){ne(this)};this.body.on("end",this.endHandler)}this.errorHandler=i=>{if(this.abort){this.abort(i)}else{this.error=i}};this.body.on("error",this.errorHandler)}else if(se(V)){this.body=V.byteLength?V:null}else if(ArrayBuffer.isView(V)){this.body=V.buffer.byteLength?Buffer.from(V.buffer,V.byteOffset,V.byteLength):null}else if(V instanceof ArrayBuffer){this.body=V.byteLength?Buffer.from(V):null}else if(typeof V==="string"){this.body=V.length?Buffer.from(V):null}else if(ie(V)||oe(V)||ae(V)){this.body=V}else{throw new v("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable")}this.completed=false;this.aborted=false;this.upgrade=me||null;this.path=te?Ae(d,te):d;this.origin=i;this.idempotent=he==null?p==="HEAD"||p==="GET":he;this.blocking=pe==null?false:pe;this.reset=ye==null?null:ye;this.host=null;this.contentLength=null;this.contentType=null;this.headers=[];this.expectContinue=Be!=null?Be:false;if(Array.isArray(K)){if(K.length%2!==0){throw new v("headers array must be even")}for(let i=0;i{i.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kBody:Symbol("abstracted request body"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kResume:Symbol("resume"),kOnError:Symbol("on error"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable"),kListeners:Symbol("listeners"),kHTTPContext:Symbol("http context"),kMaxConcurrentStreams:Symbol("max concurrent streams"),kNoProxyAgent:Symbol("no proxy agent"),kHttpProxyAgent:Symbol("http proxy agent"),kHttpsProxyAgent:Symbol("https proxy agent")}},42651:(i,d,p)=>{const{wellknownHeaderNames:v,headerNameLowerCasedRecord:V}=p(11530);class TstNode{value=null;left=null;middle=null;right=null;code;constructor(i,d,p){if(p===undefined||p>=i.length){throw new TypeError("Unreachable")}const v=this.code=i.charCodeAt(p);if(v>127){throw new TypeError("key must be ascii string")}if(i.length!==++p){this.middle=new TstNode(i,d,p)}else{this.value=d}}add(i,d){const p=i.length;if(p===0){throw new TypeError("Unreachable")}let v=0;let V=this;while(true){const K=i.charCodeAt(v);if(K>127){throw new TypeError("key must be ascii string")}if(V.code===K){if(p===++v){V.value=d;break}else if(V.middle!==null){V=V.middle}else{V.middle=new TstNode(i,d,v);break}}else if(V.code=65){V|=32}while(v!==null){if(V===v.code){if(d===++p){return v}v=v.middle;break}v=v.code{const v=p(34589);const{kDestroyed:V,kBodyUsed:K,kListeners:ee,kBody:te}=p(65082);const{IncomingMessage:re}=p(37067);const ne=p(57075);const se=p(77030);const{Blob:ie}=p(4573);const oe=p(57975);const{stringify:ae}=p(41792);const{EventEmitter:Ae}=p(78474);const{InvalidArgumentError:ce}=p(68480);const{headerNameLowerCasedRecord:le}=p(11530);const{tree:ue}=p(42651);const[de,he]=process.versions.node.split(".").map((i=>Number(i)));class BodyAsyncIterable{constructor(i){this[te]=i;this[K]=false}async*[Symbol.asyncIterator](){v(!this[K],"disturbed");this[K]=true;yield*this[te]}}function wrapRequestBody(i){if(isStream(i)){if(bodyLength(i)===0){i.on("data",(function(){v(false)}))}if(typeof i.readableDidRead!=="boolean"){i[K]=false;Ae.prototype.on.call(i,"data",(function(){this[K]=true}))}return i}else if(i&&typeof i.pipeTo==="function"){return new BodyAsyncIterable(i)}else if(i&&typeof i!=="string"&&!ArrayBuffer.isView(i)&&isIterable(i)){return new BodyAsyncIterable(i)}else{return i}}function nop(){}function isStream(i){return i&&typeof i==="object"&&typeof i.pipe==="function"&&typeof i.on==="function"}function isBlobLike(i){if(i===null){return false}else if(i instanceof ie){return true}else if(typeof i!=="object"){return false}else{const d=i[Symbol.toStringTag];return(d==="Blob"||d==="File")&&("stream"in i&&typeof i.stream==="function"||"arrayBuffer"in i&&typeof i.arrayBuffer==="function")}}function buildURL(i,d){if(i.includes("?")||i.includes("#")){throw new Error('Query params cannot be passed when url already contains "?" or "#".')}const p=ae(d);if(p){i+="?"+p}return i}function isValidPort(i){const d=parseInt(i,10);return d===Number(i)&&d>=0&&d<=65535}function isHttpOrHttpsPrefixed(i){return i!=null&&i[0]==="h"&&i[1]==="t"&&i[2]==="t"&&i[3]==="p"&&(i[4]===":"||i[4]==="s"&&i[5]===":")}function parseURL(i){if(typeof i==="string"){i=new URL(i);if(!isHttpOrHttpsPrefixed(i.origin||i.protocol)){throw new ce("Invalid URL protocol: the URL must start with `http:` or `https:`.")}return i}if(!i||typeof i!=="object"){throw new ce("Invalid URL: The URL argument must be a non-null object.")}if(!(i instanceof URL)){if(i.port!=null&&i.port!==""&&isValidPort(i.port)===false){throw new ce("Invalid URL: port must be a valid integer or a string representation of an integer.")}if(i.path!=null&&typeof i.path!=="string"){throw new ce("Invalid URL path: the path must be a string or null/undefined.")}if(i.pathname!=null&&typeof i.pathname!=="string"){throw new ce("Invalid URL pathname: the pathname must be a string or null/undefined.")}if(i.hostname!=null&&typeof i.hostname!=="string"){throw new ce("Invalid URL hostname: the hostname must be a string or null/undefined.")}if(i.origin!=null&&typeof i.origin!=="string"){throw new ce("Invalid URL origin: the origin must be a string or null/undefined.")}if(!isHttpOrHttpsPrefixed(i.origin||i.protocol)){throw new ce("Invalid URL protocol: the URL must start with `http:` or `https:`.")}const d=i.port!=null?i.port:i.protocol==="https:"?443:80;let p=i.origin!=null?i.origin:`${i.protocol||""}//${i.hostname||""}:${d}`;let v=i.path!=null?i.path:`${i.pathname||""}${i.search||""}`;if(p[p.length-1]==="/"){p=p.slice(0,p.length-1)}if(v&&v[0]!=="/"){v=`/${v}`}return new URL(`${p}${v}`)}if(!isHttpOrHttpsPrefixed(i.origin||i.protocol)){throw new ce("Invalid URL protocol: the URL must start with `http:` or `https:`.")}return i}function parseOrigin(i){i=parseURL(i);if(i.pathname!=="/"||i.search||i.hash){throw new ce("invalid url")}return i}function getHostname(i){if(i[0]==="["){const d=i.indexOf("]");v(d!==-1);return i.substring(1,d)}const d=i.indexOf(":");if(d===-1)return i;return i.substring(0,d)}function getServerName(i){if(!i){return null}v(typeof i==="string");const d=getHostname(i);if(se.isIP(d)){return""}return d}function deepClone(i){return JSON.parse(JSON.stringify(i))}function isAsyncIterable(i){return!!(i!=null&&typeof i[Symbol.asyncIterator]==="function")}function isIterable(i){return!!(i!=null&&(typeof i[Symbol.iterator]==="function"||typeof i[Symbol.asyncIterator]==="function"))}function bodyLength(i){if(i==null){return 0}else if(isStream(i)){const d=i._readableState;return d&&d.objectMode===false&&d.ended===true&&Number.isFinite(d.length)?d.length:null}else if(isBlobLike(i)){return i.size!=null?i.size:null}else if(isBuffer(i)){return i.byteLength}return null}function isDestroyed(i){return i&&!!(i.destroyed||i[V]||ne.isDestroyed?.(i))}function destroy(i,d){if(i==null||!isStream(i)||isDestroyed(i)){return}if(typeof i.destroy==="function"){if(Object.getPrototypeOf(i).constructor===re){i.socket=null}i.destroy(d)}else if(d){queueMicrotask((()=>{i.emit("error",d)}))}if(i.destroyed!==true){i[V]=true}}const fe=/timeout=(\d+)/;function parseKeepAliveTimeout(i){const d=i.toString().match(fe);return d?parseInt(d[1],10)*1e3:null}function headerNameToString(i){return typeof i==="string"?le[i]??i.toLowerCase():ue.lookup(i)??i.toString("latin1").toLowerCase()}function bufferToLowerCasedHeaderName(i){return ue.lookup(i)??i.toString("latin1").toLowerCase()}function parseHeaders(i,d){if(d===undefined)d={};for(let p=0;pi.toString("utf8"))):V.toString("utf8")}}}if("content-length"in d&&"content-disposition"in d){d["content-disposition"]=Buffer.from(d["content-disposition"]).toString("latin1")}return d}function parseRawHeaders(i){const d=i.length;const p=new Array(d);let v=false;let V=-1;let K;let ee;let te=0;for(let d=0;d{i.close();i.byobRequest?.respond(0)}))}else{const d=Buffer.isBuffer(v)?v:Buffer.from(v);if(d.byteLength){i.enqueue(new Uint8Array(d))}}return i.desiredSize>0},async cancel(i){await d.return()},type:"bytes"})}function isFormDataLike(i){return i&&typeof i==="object"&&typeof i.append==="function"&&typeof i.delete==="function"&&typeof i.get==="function"&&typeof i.getAll==="function"&&typeof i.has==="function"&&typeof i.set==="function"&&i[Symbol.toStringTag]==="FormData"}function addAbortListener(i,d){if("addEventListener"in i){i.addEventListener("abort",d,{once:true});return()=>i.removeEventListener("abort",d)}i.addListener("abort",d);return()=>i.removeListener("abort",d)}const ge=typeof String.prototype.toWellFormed==="function";const pe=typeof String.prototype.isWellFormed==="function";function toUSVString(i){return ge?`${i}`.toWellFormed():oe.toUSVString(i)}function isUSVString(i){return pe?`${i}`.isWellFormed():toUSVString(i)===`${i}`}function isTokenCharCode(i){switch(i){case 34:case 40:case 41:case 44:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 123:case 125:return false;default:return i>=33&&i<=126}}function isValidHTTPToken(i){if(i.length===0){return false}for(let d=0;d{const{InvalidArgumentError:v}=p(68480);const{kClients:V,kRunning:K,kClose:ee,kDestroy:te,kDispatch:re,kInterceptors:ne}=p(65082);const se=p(50100);const ie=p(73071);const oe=p(49202);const ae=p(61671);const Ae=p(87449);const ce=Symbol("onConnect");const le=Symbol("onDisconnect");const ue=Symbol("onConnectionError");const de=Symbol("maxRedirections");const he=Symbol("onDrain");const fe=Symbol("factory");const ge=Symbol("options");function defaultFactory(i,d){return d&&d.connections===1?new oe(i,d):new ie(i,d)}class Agent extends se{constructor({factory:i=defaultFactory,maxRedirections:d=0,connect:p,...K}={}){super();if(typeof i!=="function"){throw new v("factory must be a function.")}if(p!=null&&typeof p!=="function"&&typeof p!=="object"){throw new v("connect must be a function or an object")}if(!Number.isInteger(d)||d<0){throw new v("maxRedirections must be a positive number")}if(p&&typeof p!=="function"){p={...p}}this[ne]=K.interceptors?.Agent&&Array.isArray(K.interceptors.Agent)?K.interceptors.Agent:[Ae({maxRedirections:d})];this[ge]={...ae.deepClone(K),connect:p};this[ge].interceptors=K.interceptors?{...K.interceptors}:undefined;this[de]=d;this[fe]=i;this[V]=new Map;this[he]=(i,d)=>{this.emit("drain",i,[this,...d])};this[ce]=(i,d)=>{this.emit("connect",i,[this,...d])};this[le]=(i,d,p)=>{this.emit("disconnect",i,[this,...d],p)};this[ue]=(i,d,p)=>{this.emit("connectionError",i,[this,...d],p)}}get[K](){let i=0;for(const d of this[V].values()){i+=d[K]}return i}[re](i,d){let p;if(i.origin&&(typeof i.origin==="string"||i.origin instanceof URL)){p=String(i.origin)}else{throw new v("opts.origin must be a non-empty string or URL.")}let K=this[V].get(p);if(!K){K=this[fe](i.origin,this[ge]).on("drain",this[he]).on("connect",this[ce]).on("disconnect",this[le]).on("connectionError",this[ue]);this[V].set(p,K)}return K.dispatch(i,d)}async[ee](){const i=[];for(const d of this[V].values()){i.push(d.close())}this[V].clear();await Promise.all(i)}async[te](i){const d=[];for(const p of this[V].values()){d.push(p.destroy(i))}this[V].clear();await Promise.all(d)}}i.exports=Agent},72820:(i,d,p)=>{const{BalancedPoolMissingUpstreamError:v,InvalidArgumentError:V}=p(68480);const{PoolBase:K,kClients:ee,kNeedDrain:te,kAddClient:re,kRemoveClient:ne,kGetDispatcher:se}=p(49413);const ie=p(73071);const{kUrl:oe,kInterceptors:ae}=p(65082);const{parseOrigin:Ae}=p(61671);const ce=Symbol("factory");const le=Symbol("options");const ue=Symbol("kGreatestCommonDivisor");const de=Symbol("kCurrentWeight");const he=Symbol("kIndex");const fe=Symbol("kWeight");const ge=Symbol("kMaxWeightPerServer");const pe=Symbol("kErrorPenalty");function getGreatestCommonDivisor(i,d){if(i===0)return d;while(d!==0){const p=d;d=i%d;i=p}return i}function defaultFactory(i,d){return new ie(i,d)}class BalancedPool extends K{constructor(i=[],{factory:d=defaultFactory,...p}={}){super();this[le]=p;this[he]=-1;this[de]=0;this[ge]=this[le].maxWeightPerServer||100;this[pe]=this[le].errorPenalty||15;if(!Array.isArray(i)){i=[i]}if(typeof d!=="function"){throw new V("factory must be a function.")}this[ae]=p.interceptors?.BalancedPool&&Array.isArray(p.interceptors.BalancedPool)?p.interceptors.BalancedPool:[];this[ce]=d;for(const d of i){this.addUpstream(d)}this._updateBalancedPoolStats()}addUpstream(i){const d=Ae(i).origin;if(this[ee].find((i=>i[oe].origin===d&&i.closed!==true&&i.destroyed!==true))){return this}const p=this[ce](d,Object.assign({},this[le]));this[re](p);p.on("connect",(()=>{p[fe]=Math.min(this[ge],p[fe]+this[pe])}));p.on("connectionError",(()=>{p[fe]=Math.max(1,p[fe]-this[pe]);this._updateBalancedPoolStats()}));p.on("disconnect",((...i)=>{const d=i[2];if(d&&d.code==="UND_ERR_SOCKET"){p[fe]=Math.max(1,p[fe]-this[pe]);this._updateBalancedPoolStats()}}));for(const i of this[ee]){i[fe]=this[ge]}this._updateBalancedPoolStats();return this}_updateBalancedPoolStats(){let i=0;for(let d=0;di[oe].origin===d&&i.closed!==true&&i.destroyed!==true));if(p){this[ne](p)}return this}get upstreams(){return this[ee].filter((i=>i.closed!==true&&i.destroyed!==true)).map((i=>i[oe].origin))}[se](){if(this[ee].length===0){throw new v}const i=this[ee].find((i=>!i[te]&&i.closed!==true&&i.destroyed!==true));if(!i){return}const d=this[ee].map((i=>i[te])).reduce(((i,d)=>i&&d),true);if(d){return}let p=0;let V=this[ee].findIndex((i=>!i[te]));while(p++this[ee][V][fe]&&!i[te]){V=this[he]}if(this[he]===0){this[de]=this[de]-this[ue];if(this[de]<=0){this[de]=this[ge]}}if(i[fe]>=this[de]&&!i[te]){return i}}this[de]=this[ee][V][fe];this[he]=V;return this[ee][V]}}i.exports=BalancedPool},31988:(i,d,p)=>{const v=p(34589);const V=p(61671);const{channels:K}=p(92527);const ee=p(46416);const{RequestContentLengthMismatchError:te,ResponseContentLengthMismatchError:re,RequestAbortedError:ne,HeadersTimeoutError:se,HeadersOverflowError:ie,SocketError:oe,InformationalError:ae,BodyTimeoutError:Ae,HTTPParserError:ce,ResponseExceededMaxSizeError:le}=p(68480);const{kUrl:ue,kReset:de,kClient:he,kParser:fe,kBlocking:ge,kRunning:pe,kPending:me,kSize:Ee,kWriting:Ce,kQueue:ye,kNoRef:Ie,kKeepAliveDefaultTimeout:Be,kHostHeader:Qe,kPendingIdx:be,kRunningIdx:we,kError:Se,kPipelining:Re,kSocket:ve,kKeepAliveTimeoutValue:ke,kMaxHeadersSize:Te,kKeepAliveMaxTimeout:Ne,kKeepAliveTimeoutThreshold:De,kHeadersTimeout:xe,kBodyTimeout:Fe,kStrictContentLength:Pe,kMaxRequests:Le,kCounter:_e,kMaxResponseSize:Me,kOnError:Ue,kResume:Oe,kHTTPContext:He}=p(65082);const Ge=p(42505);const Ve=Buffer.alloc(0);const qe=Buffer[Symbol.species];const Ye=V.addListener;const je=V.removeAllListeners;let Je;async function lazyllhttp(){const i=process.env.JEST_WORKER_ID?p(44203):undefined;let d;try{d=await WebAssembly.compile(p(88465))}catch(v){d=await WebAssembly.compile(i||p(44203))}return await WebAssembly.instantiate(d,{env:{wasm_on_url:(i,d,p)=>0,wasm_on_status:(i,d,p)=>{v($e.ptr===i);const V=d-Ze+Ke.byteOffset;return $e.onStatus(new qe(Ke.buffer,V,p))||0},wasm_on_message_begin:i=>{v($e.ptr===i);return $e.onMessageBegin()||0},wasm_on_header_field:(i,d,p)=>{v($e.ptr===i);const V=d-Ze+Ke.byteOffset;return $e.onHeaderField(new qe(Ke.buffer,V,p))||0},wasm_on_header_value:(i,d,p)=>{v($e.ptr===i);const V=d-Ze+Ke.byteOffset;return $e.onHeaderValue(new qe(Ke.buffer,V,p))||0},wasm_on_headers_complete:(i,d,p,V)=>{v($e.ptr===i);return $e.onHeadersComplete(d,Boolean(p),Boolean(V))||0},wasm_on_body:(i,d,p)=>{v($e.ptr===i);const V=d-Ze+Ke.byteOffset;return $e.onBody(new qe(Ke.buffer,V,p))||0},wasm_on_message_complete:i=>{v($e.ptr===i);return $e.onMessageComplete()||0}}})}let We=null;let ze=lazyllhttp();ze.catch();let $e=null;let Ke=null;let Xe=0;let Ze=null;const At=0;const mt=1;const Et=2|mt;const Ct=4|mt;const yt=8|At;class Parser{constructor(i,d,{exports:p}){v(Number.isFinite(i[Te])&&i[Te]>0);this.llhttp=p;this.ptr=this.llhttp.llhttp_alloc(Ge.TYPE.RESPONSE);this.client=i;this.socket=d;this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.statusCode=null;this.statusText="";this.upgrade=false;this.headers=[];this.headersSize=0;this.headersMaxSize=i[Te];this.shouldKeepAlive=false;this.paused=false;this.resume=this.resume.bind(this);this.bytesRead=0;this.keepAlive="";this.contentLength="";this.connection="";this.maxResponseSize=i[Me]}setTimeout(i,d){if(i!==this.timeoutValue||d&mt^this.timeoutType&mt){if(this.timeout){ee.clearTimeout(this.timeout);this.timeout=null}if(i){if(d&mt){this.timeout=ee.setFastTimeout(onParserTimeout,i,new WeakRef(this))}else{this.timeout=setTimeout(onParserTimeout,i,new WeakRef(this));this.timeout.unref()}}this.timeoutValue=i}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.timeoutType=d}resume(){if(this.socket.destroyed||!this.paused){return}v(this.ptr!=null);v($e==null);this.llhttp.llhttp_resume(this.ptr);v(this.timeoutType===Ct);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.paused=false;this.execute(this.socket.read()||Ve);this.readMore()}readMore(){while(!this.paused&&this.ptr){const i=this.socket.read();if(i===null){break}this.execute(i)}}execute(i){v(this.ptr!=null);v($e==null);v(!this.paused);const{socket:d,llhttp:p}=this;if(i.length>Xe){if(Ze){p.free(Ze)}Xe=Math.ceil(i.length/4096)*4096;Ze=p.malloc(Xe)}new Uint8Array(p.memory.buffer,Ze,Xe).set(i);try{let v;try{Ke=i;$e=this;v=p.llhttp_execute(this.ptr,Ze,i.length)}catch(i){throw i}finally{$e=null;Ke=null}const V=p.llhttp_get_error_pos(this.ptr)-Ze;if(v===Ge.ERROR.PAUSED_UPGRADE){this.onUpgrade(i.slice(V))}else if(v===Ge.ERROR.PAUSED){this.paused=true;d.unshift(i.slice(V))}else if(v!==Ge.ERROR.OK){const d=p.llhttp_get_error_reason(this.ptr);let K="";if(d){const i=new Uint8Array(p.memory.buffer,d).indexOf(0);K="Response does not match the HTTP/1.1 protocol ("+Buffer.from(p.memory.buffer,d,i).toString()+")"}throw new ce(K,Ge.ERROR[v],i.slice(V))}}catch(i){V.destroy(d,i)}}destroy(){v(this.ptr!=null);v($e==null);this.llhttp.llhttp_free(this.ptr);this.ptr=null;this.timeout&&ee.clearTimeout(this.timeout);this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.paused=false}onStatus(i){this.statusText=i.toString()}onMessageBegin(){const{socket:i,client:d}=this;if(i.destroyed){return-1}const p=d[ye][d[we]];if(!p){return-1}p.onResponseStarted()}onHeaderField(i){const d=this.headers.length;if((d&1)===0){this.headers.push(i)}else{this.headers[d-1]=Buffer.concat([this.headers[d-1],i])}this.trackHeader(i.length)}onHeaderValue(i){let d=this.headers.length;if((d&1)===1){this.headers.push(i);d+=1}else{this.headers[d-1]=Buffer.concat([this.headers[d-1],i])}const p=this.headers[d-2];if(p.length===10){const d=V.bufferToLowerCasedHeaderName(p);if(d==="keep-alive"){this.keepAlive+=i.toString()}else if(d==="connection"){this.connection+=i.toString()}}else if(p.length===14&&V.bufferToLowerCasedHeaderName(p)==="content-length"){this.contentLength+=i.toString()}this.trackHeader(i.length)}trackHeader(i){this.headersSize+=i;if(this.headersSize>=this.headersMaxSize){V.destroy(this.socket,new ie)}}onUpgrade(i){const{upgrade:d,client:p,socket:K,headers:ee,statusCode:te}=this;v(d);v(p[ve]===K);v(!K.destroyed);v(!this.paused);v((ee.length&1)===0);const re=p[ye][p[we]];v(re);v(re.upgrade||re.method==="CONNECT");this.statusCode=null;this.statusText="";this.shouldKeepAlive=null;this.headers=[];this.headersSize=0;K.unshift(i);K[fe].destroy();K[fe]=null;K[he]=null;K[Se]=null;je(K);p[ve]=null;p[He]=null;p[ye][p[we]++]=null;p.emit("disconnect",p[ue],[p],new ae("upgrade"));try{re.onUpgrade(te,ee,K)}catch(i){V.destroy(K,i)}p[Oe]()}onHeadersComplete(i,d,p){const{client:K,socket:ee,headers:te,statusText:re}=this;if(ee.destroyed){return-1}const ne=K[ye][K[we]];if(!ne){return-1}v(!this.upgrade);v(this.statusCode<200);if(i===100){V.destroy(ee,new oe("bad response",V.getSocketInfo(ee)));return-1}if(d&&!ne.upgrade){V.destroy(ee,new oe("bad upgrade",V.getSocketInfo(ee)));return-1}v(this.timeoutType===Et);this.statusCode=i;this.shouldKeepAlive=p||ne.method==="HEAD"&&!ee[de]&&this.connection.toLowerCase()==="keep-alive";if(this.statusCode>=200){const i=ne.bodyTimeout!=null?ne.bodyTimeout:K[Fe];this.setTimeout(i,Ct)}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}if(ne.method==="CONNECT"){v(K[pe]===1);this.upgrade=true;return 2}if(d){v(K[pe]===1);this.upgrade=true;return 2}v((this.headers.length&1)===0);this.headers=[];this.headersSize=0;if(this.shouldKeepAlive&&K[Re]){const i=this.keepAlive?V.parseKeepAliveTimeout(this.keepAlive):null;if(i!=null){const d=Math.min(i-K[De],K[Ne]);if(d<=0){ee[de]=true}else{K[ke]=d}}else{K[ke]=K[Be]}}else{ee[de]=true}const se=ne.onHeaders(i,te,this.resume,re)===false;if(ne.aborted){return-1}if(ne.method==="HEAD"){return 1}if(i<200){return 1}if(ee[ge]){ee[ge]=false;K[Oe]()}return se?Ge.ERROR.PAUSED:0}onBody(i){const{client:d,socket:p,statusCode:K,maxResponseSize:ee}=this;if(p.destroyed){return-1}const te=d[ye][d[we]];v(te);v(this.timeoutType===Ct);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}v(K>=200);if(ee>-1&&this.bytesRead+i.length>ee){V.destroy(p,new le);return-1}this.bytesRead+=i.length;if(te.onData(i)===false){return Ge.ERROR.PAUSED}}onMessageComplete(){const{client:i,socket:d,statusCode:p,upgrade:K,headers:ee,contentLength:te,bytesRead:ne,shouldKeepAlive:se}=this;if(d.destroyed&&(!p||se)){return-1}if(K){return}v(p>=100);v((this.headers.length&1)===0);const ie=i[ye][i[we]];v(ie);this.statusCode=null;this.statusText="";this.bytesRead=0;this.contentLength="";this.keepAlive="";this.connection="";this.headers=[];this.headersSize=0;if(p<200){return}if(ie.method!=="HEAD"&&te&&ne!==parseInt(te,10)){V.destroy(d,new re);return-1}ie.onComplete(ee);i[ye][i[we]++]=null;if(d[Ce]){v(i[pe]===0);V.destroy(d,new ae("reset"));return Ge.ERROR.PAUSED}else if(!se){V.destroy(d,new ae("reset"));return Ge.ERROR.PAUSED}else if(d[de]&&i[pe]===0){V.destroy(d,new ae("reset"));return Ge.ERROR.PAUSED}else if(i[Re]==null||i[Re]===1){setImmediate((()=>i[Oe]()))}else{i[Oe]()}}}function onParserTimeout(i){const{socket:d,timeoutType:p,client:K,paused:ee}=i.deref();if(p===Et){if(!d[Ce]||d.writableNeedDrain||K[pe]>1){v(!ee,"cannot be paused while waiting for headers");V.destroy(d,new se)}}else if(p===Ct){if(!ee){V.destroy(d,new Ae)}}else if(p===yt){v(K[pe]===0&&K[ke]);V.destroy(d,new ae("socket idle timeout"))}}async function connectH1(i,d){i[ve]=d;if(!We){We=await ze;ze=null}d[Ie]=false;d[Ce]=false;d[de]=false;d[ge]=false;d[fe]=new Parser(i,d,We);Ye(d,"error",(function(i){v(i.code!=="ERR_TLS_CERT_ALTNAME_INVALID");const d=this[fe];if(i.code==="ECONNRESET"&&d.statusCode&&!d.shouldKeepAlive){d.onMessageComplete();return}this[Se]=i;this[he][Ue](i)}));Ye(d,"readable",(function(){const i=this[fe];if(i){i.readMore()}}));Ye(d,"end",(function(){const i=this[fe];if(i.statusCode&&!i.shouldKeepAlive){i.onMessageComplete();return}V.destroy(this,new oe("other side closed",V.getSocketInfo(this)))}));Ye(d,"close",(function(){const i=this[he];const d=this[fe];if(d){if(!this[Se]&&d.statusCode&&!d.shouldKeepAlive){d.onMessageComplete()}this[fe].destroy();this[fe]=null}const p=this[Se]||new oe("closed",V.getSocketInfo(this));i[ve]=null;i[He]=null;if(i.destroyed){v(i[me]===0);const d=i[ye].splice(i[we]);for(let v=0;v0&&p.code!=="UND_ERR_INFO"){const d=i[ye][i[we]];i[ye][i[we]++]=null;V.errorRequest(i,d,p)}i[be]=i[we];v(i[pe]===0);i.emit("disconnect",i[ue],[i],p);i[Oe]()}));let p=false;d.on("close",(()=>{p=true}));return{version:"h1",defaultPipelining:1,write(...d){return writeH1(i,...d)},resume(){resumeH1(i)},destroy(i,v){if(p){queueMicrotask(v)}else{d.destroy(i).on("close",v)}},get destroyed(){return d.destroyed},busy(p){if(d[Ce]||d[de]||d[ge]){return true}if(p){if(i[pe]>0&&!p.idempotent){return true}if(i[pe]>0&&(p.upgrade||p.method==="CONNECT")){return true}if(i[pe]>0&&V.bodyLength(p.body)!==0&&(V.isStream(p.body)||V.isAsyncIterable(p.body)||V.isFormDataLike(p.body))){return true}}return false}}}function resumeH1(i){const d=i[ve];if(d&&!d.destroyed){if(i[Ee]===0){if(!d[Ie]&&d.unref){d.unref();d[Ie]=true}}else if(d[Ie]&&d.ref){d.ref();d[Ie]=false}if(i[Ee]===0){if(d[fe].timeoutType!==yt){d[fe].setTimeout(i[ke],yt)}}else if(i[pe]>0&&d[fe].statusCode<200){if(d[fe].timeoutType!==Et){const p=i[ye][i[we]];const v=p.headersTimeout!=null?p.headersTimeout:i[xe];d[fe].setTimeout(v,Et)}}}}function shouldSendContentLength(i){return i!=="GET"&&i!=="HEAD"&&i!=="OPTIONS"&&i!=="TRACE"&&i!=="CONNECT"}function writeH1(i,d){const{method:ee,path:re,host:se,upgrade:ie,blocking:oe,reset:Ae}=d;let{body:ce,headers:le,contentLength:ue}=d;const he=ee==="PUT"||ee==="POST"||ee==="PATCH"||ee==="QUERY"||ee==="PROPFIND"||ee==="PROPPATCH";if(V.isFormDataLike(ce)){if(!Je){Je=p(99161).extractBody}const[i,v]=Je(ce);if(d.contentType==null){le.push("content-type",v)}ce=i.stream;ue=i.length}else if(V.isBlobLike(ce)&&d.contentType==null&&ce.type){le.push("content-type",ce.type)}if(ce&&typeof ce.read==="function"){ce.read(0)}const fe=V.bodyLength(ce);ue=fe??ue;if(ue===null){ue=d.contentLength}if(ue===0&&!he){ue=null}if(shouldSendContentLength(ee)&&ue>0&&d.contentLength!==null&&d.contentLength!==ue){if(i[Pe]){V.errorRequest(i,d,new te);return false}process.emitWarning(new te)}const pe=i[ve];const abort=p=>{if(d.aborted||d.completed){return}V.errorRequest(i,d,p||new ne);V.destroy(ce);V.destroy(pe,new ae("aborted"))};try{d.onConnect(abort)}catch(p){V.errorRequest(i,d,p)}if(d.aborted){return false}if(ee==="HEAD"){pe[de]=true}if(ie||ee==="CONNECT"){pe[de]=true}if(Ae!=null){pe[de]=Ae}if(i[Le]&&pe[_e]++>=i[Le]){pe[de]=true}if(oe){pe[ge]=true}let me=`${ee} ${re} HTTP/1.1\r\n`;if(typeof se==="string"){me+=`host: ${se}\r\n`}else{me+=i[Qe]}if(ie){me+=`connection: upgrade\r\nupgrade: ${ie}\r\n`}else if(i[Re]&&!pe[de]){me+="connection: keep-alive\r\n"}else{me+="connection: close\r\n"}if(Array.isArray(le)){for(let i=0;i{d.removeListener("error",onFinished)}));if(!ie){const i=new ne;queueMicrotask((()=>onFinished(i)))}};const onFinished=function(i){if(ie){return}ie=true;v(ee.destroyed||ee[Ce]&&p[pe]<=1);ee.off("drain",onDrain).off("error",onFinished);d.removeListener("data",onData).removeListener("end",onFinished).removeListener("close",onClose);if(!i){try{oe.end()}catch(d){i=d}}oe.destroy(i);if(i&&(i.code!=="UND_ERR_INFO"||i.message!=="reset")){V.destroy(d,i)}else{V.destroy(d)}};d.on("data",onData).on("end",onFinished).on("error",onFinished).on("close",onClose);if(d.resume){d.resume()}ee.on("drain",onDrain).on("error",onFinished);if(d.errorEmitted??d.errored){setImmediate((()=>onFinished(d.errored)))}else if(d.endEmitted??d.readableEnded){setImmediate((()=>onFinished(null)))}if(d.closeEmitted??d.closed){setImmediate(onClose)}}function writeBuffer(i,d,p,K,ee,te,re,ne){try{if(!d){if(te===0){ee.write(`${re}content-length: 0\r\n\r\n`,"latin1")}else{v(te===null,"no body must not have content length");ee.write(`${re}\r\n`,"latin1")}}else if(V.isBuffer(d)){v(te===d.byteLength,"buffer body must have content length");ee.cork();ee.write(`${re}content-length: ${te}\r\n\r\n`,"latin1");ee.write(d);ee.uncork();K.onBodySent(d);if(!ne&&K.reset!==false){ee[de]=true}}K.onRequestSent();p[Oe]()}catch(d){i(d)}}async function writeBlob(i,d,p,V,K,ee,re,ne){v(ee===d.size,"blob body must have content length");try{if(ee!=null&&ee!==d.size){throw new te}const i=Buffer.from(await d.arrayBuffer());K.cork();K.write(`${re}content-length: ${ee}\r\n\r\n`,"latin1");K.write(i);K.uncork();V.onBodySent(i);V.onRequestSent();if(!ne&&V.reset!==false){K[de]=true}p[Oe]()}catch(d){i(d)}}async function writeIterable(i,d,p,V,K,ee,te,re){v(ee!==0||p[pe]===0,"iterator body cannot be pipelined");let ne=null;function onDrain(){if(ne){const i=ne;ne=null;i()}}const waitForDrain=()=>new Promise(((i,d)=>{v(ne===null);if(K[Se]){d(K[Se])}else{ne=i}}));K.on("close",onDrain).on("drain",onDrain);const se=new AsyncWriter({abort:i,socket:K,request:V,contentLength:ee,client:p,expectsPayload:re,header:te});try{for await(const i of d){if(K[Se]){throw K[Se]}if(!se.write(i)){await waitForDrain()}}se.end()}catch(i){se.destroy(i)}finally{K.off("close",onDrain).off("drain",onDrain)}}class AsyncWriter{constructor({abort:i,socket:d,request:p,contentLength:v,client:V,expectsPayload:K,header:ee}){this.socket=d;this.request=p;this.contentLength=v;this.client=V;this.bytesWritten=0;this.expectsPayload=K;this.header=ee;this.abort=i;d[Ce]=true}write(i){const{socket:d,request:p,contentLength:v,client:V,bytesWritten:K,expectsPayload:ee,header:re}=this;if(d[Se]){throw d[Se]}if(d.destroyed){return false}const ne=Buffer.byteLength(i);if(!ne){return true}if(v!==null&&K+ne>v){if(V[Pe]){throw new te}process.emitWarning(new te)}d.cork();if(K===0){if(!ee&&p.reset!==false){d[de]=true}if(v===null){d.write(`${re}transfer-encoding: chunked\r\n`,"latin1")}else{d.write(`${re}content-length: ${v}\r\n\r\n`,"latin1")}}if(v===null){d.write(`\r\n${ne.toString(16)}\r\n`,"latin1")}this.bytesWritten+=ne;const se=d.write(i);d.uncork();p.onBodySent(i);if(!se){if(d[fe].timeout&&d[fe].timeoutType===Et){if(d[fe].timeout.refresh){d[fe].timeout.refresh()}}}return se}end(){const{socket:i,contentLength:d,client:p,bytesWritten:v,expectsPayload:V,header:K,request:ee}=this;ee.onRequestSent();i[Ce]=false;if(i[Se]){throw i[Se]}if(i.destroyed){return}if(v===0){if(V){i.write(`${K}content-length: 0\r\n\r\n`,"latin1")}else{i.write(`${K}\r\n`,"latin1")}}else if(d===null){i.write("\r\n0\r\n\r\n","latin1")}if(d!==null&&v!==d){if(p[Pe]){throw new te}else{process.emitWarning(new te)}}if(i[fe].timeout&&i[fe].timeoutType===Et){if(i[fe].timeout.refresh){i[fe].timeout.refresh()}}p[Oe]()}destroy(i){const{socket:d,client:p,abort:V}=this;d[Ce]=false;if(i){v(p[pe]<=1,"pipeline should only contain this request");V(i)}}}i.exports=connectH1},43837:(i,d,p)=>{const v=p(34589);const{pipeline:V}=p(57075);const K=p(61671);const{RequestContentLengthMismatchError:ee,RequestAbortedError:te,SocketError:re,InformationalError:ne}=p(68480);const{kUrl:se,kReset:ie,kClient:oe,kRunning:ae,kPending:Ae,kQueue:ce,kPendingIdx:le,kRunningIdx:ue,kError:de,kSocket:he,kStrictContentLength:fe,kOnError:ge,kMaxConcurrentStreams:pe,kHTTP2Session:me,kResume:Ee,kSize:Ce,kHTTPContext:ye}=p(65082);const Ie=Symbol("open streams");let Be;let Qe=false;let be;try{be=p(32467)}catch{be={constants:{}}}const{constants:{HTTP2_HEADER_AUTHORITY:we,HTTP2_HEADER_METHOD:Se,HTTP2_HEADER_PATH:Re,HTTP2_HEADER_SCHEME:ve,HTTP2_HEADER_CONTENT_LENGTH:ke,HTTP2_HEADER_EXPECT:Te,HTTP2_HEADER_STATUS:Ne}}=be;function parseH2Headers(i){const d=[];for(const[p,v]of Object.entries(i)){if(Array.isArray(v)){for(const i of v){d.push(Buffer.from(p),Buffer.from(i))}}else{d.push(Buffer.from(p),Buffer.from(v))}}return d}async function connectH2(i,d){i[he]=d;if(!Qe){Qe=true;process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"})}const p=be.connect(i[se],{createConnection:()=>d,peerMaxConcurrentStreams:i[pe]});p[Ie]=0;p[oe]=i;p[he]=d;K.addListener(p,"error",onHttp2SessionError);K.addListener(p,"frameError",onHttp2FrameError);K.addListener(p,"end",onHttp2SessionEnd);K.addListener(p,"goaway",onHTTP2GoAway);K.addListener(p,"close",(function(){const{[oe]:i}=this;const{[he]:d}=i;const p=this[he][de]||this[de]||new re("closed",K.getSocketInfo(d));i[me]=null;if(i.destroyed){v(i[Ae]===0);const d=i[ce].splice(i[ue]);for(let v=0;v{V=true}));return{version:"h2",defaultPipelining:Infinity,write(...d){return writeH2(i,...d)},resume(){resumeH2(i)},destroy(i,p){if(V){queueMicrotask(p)}else{d.destroy(i).on("close",p)}},get destroyed(){return d.destroyed},busy(){return false}}}function resumeH2(i){const d=i[he];if(d?.destroyed===false){if(i[Ce]===0&&i[pe]===0){d.unref();i[me].unref()}else{d.ref();i[me].ref()}}}function onHttp2SessionError(i){v(i.code!=="ERR_TLS_CERT_ALTNAME_INVALID");this[he][de]=i;this[oe][ge](i)}function onHttp2FrameError(i,d,p){if(p===0){const p=new ne(`HTTP/2: "frameError" received - type ${i}, code ${d}`);this[he][de]=p;this[oe][ge](p)}}function onHttp2SessionEnd(){const i=new re("other side closed",K.getSocketInfo(this[he]));this.destroy(i);K.destroy(this[he],i)}function onHTTP2GoAway(i){const d=this[de]||new re(`HTTP/2: "GOAWAY" frame received with code ${i}`,K.getSocketInfo(this));const p=this[oe];p[he]=null;p[ye]=null;if(this[me]!=null){this[me].destroy(d);this[me]=null}K.destroy(this[he],d);if(p[ue]{if(d.aborted||d.completed){return}p=p||new te;K.errorRequest(i,d,p);if(ye!=null){K.destroy(ye,p)}K.destroy(pe,p);i[ce][i[ue]++]=null;i[Ee]()};try{d.onConnect(abort)}catch(p){K.errorRequest(i,d,p)}if(d.aborted){return false}if(re==="CONNECT"){V.ref();ye=V.request(Ce,{endStream:false,signal:de});if(ye.id&&!ye.pending){d.onUpgrade(null,null,ye);++V[Ie];i[ce][i[ue]++]=null}else{ye.once("ready",(()=>{d.onUpgrade(null,null,ye);++V[Ie];i[ce][i[ue]++]=null}))}ye.once("close",(()=>{V[Ie]-=1;if(V[Ie]===0)V.unref()}));return true}Ce[Re]=ie;Ce[ve]="https";const De=re==="PUT"||re==="POST"||re==="PATCH";if(pe&&typeof pe.read==="function"){pe.read(0)}let xe=K.bodyLength(pe);if(K.isFormDataLike(pe)){Be??=p(99161).extractBody;const[i,d]=Be(pe);Ce["content-type"]=d;pe=i.stream;xe=i.length}if(xe==null){xe=d.contentLength}if(xe===0||!De){xe=null}if(shouldSendContentLength(re)&&xe>0&&d.contentLength!=null&&d.contentLength!==xe){if(i[fe]){K.errorRequest(i,d,new ee);return false}process.emitWarning(new ee)}if(xe!=null){v(pe,"no body must not have content length");Ce[ke]=`${xe}`}V.ref();const Fe=re==="GET"||re==="HEAD"||pe===null;if(Ae){Ce[Te]="100-continue";ye=V.request(Ce,{endStream:Fe,signal:de});ye.once("continue",writeBodyH2)}else{ye=V.request(Ce,{endStream:Fe,signal:de});writeBodyH2()}++V[Ie];ye.once("response",(p=>{const{[Ne]:v,...V}=p;d.onResponseStarted();if(d.aborted){const p=new te;K.errorRequest(i,d,p);K.destroy(ye,p);return}if(d.onHeaders(Number(v),parseH2Headers(V),ye.resume.bind(ye),"")===false){ye.pause()}ye.on("data",(i=>{if(d.onData(i)===false){ye.pause()}}))}));ye.once("end",(()=>{if(ye.state?.state==null||ye.state.state<6){d.onComplete([])}if(V[Ie]===0){V.unref()}abort(new ne("HTTP/2: stream half-closed (remote)"));i[ce][i[ue]++]=null;i[le]=i[ue];i[Ee]()}));ye.once("close",(()=>{V[Ie]-=1;if(V[Ie]===0){V.unref()}}));ye.once("error",(function(i){abort(i)}));ye.once("frameError",((i,d)=>{abort(new ne(`HTTP/2: "frameError" received - type ${i}, code ${d}`))}));return true;function writeBodyH2(){if(!pe||xe===0){writeBuffer(abort,ye,null,i,d,i[he],xe,De)}else if(K.isBuffer(pe)){writeBuffer(abort,ye,pe,i,d,i[he],xe,De)}else if(K.isBlobLike(pe)){if(typeof pe.stream==="function"){writeIterable(abort,ye,pe.stream(),i,d,i[he],xe,De)}else{writeBlob(abort,ye,pe,i,d,i[he],xe,De)}}else if(K.isStream(pe)){writeStream(abort,i[he],De,ye,pe,i,d,xe)}else if(K.isIterable(pe)){writeIterable(abort,ye,pe,i,d,i[he],xe,De)}else{v(false)}}}function writeBuffer(i,d,p,V,ee,te,re,ne){try{if(p!=null&&K.isBuffer(p)){v(re===p.byteLength,"buffer body must have content length");d.cork();d.write(p);d.uncork();d.end();ee.onBodySent(p)}if(!ne){te[ie]=true}ee.onRequestSent();V[Ee]()}catch(d){i(d)}}function writeStream(i,d,p,ee,te,re,ne,se){v(se!==0||re[ae]===0,"stream body cannot be pipelined");const oe=V(te,ee,(v=>{if(v){K.destroy(oe,v);i(v)}else{K.removeAllListeners(oe);ne.onRequestSent();if(!p){d[ie]=true}re[Ee]()}}));K.addListener(oe,"data",onPipeData);function onPipeData(i){ne.onBodySent(i)}}async function writeBlob(i,d,p,V,K,te,re,ne){v(re===p.size,"blob body must have content length");try{if(re!=null&&re!==p.size){throw new ee}const i=Buffer.from(await p.arrayBuffer());d.cork();d.write(i);d.uncork();d.end();K.onBodySent(i);K.onRequestSent();if(!ne){te[ie]=true}V[Ee]()}catch(d){i(d)}}async function writeIterable(i,d,p,V,K,ee,te,re){v(te!==0||V[ae]===0,"iterator body cannot be pipelined");let ne=null;function onDrain(){if(ne){const i=ne;ne=null;i()}}const waitForDrain=()=>new Promise(((i,d)=>{v(ne===null);if(ee[de]){d(ee[de])}else{ne=i}}));d.on("close",onDrain).on("drain",onDrain);try{for await(const i of p){if(ee[de]){throw ee[de]}const p=d.write(i);K.onBodySent(i);if(!p){await waitForDrain()}}d.end();K.onRequestSent();if(!re){ee[ie]=true}V[Ee]()}catch(d){i(d)}finally{d.off("close",onDrain).off("drain",onDrain)}}i.exports=connectH2},49202:(i,d,p)=>{const v=p(34589);const V=p(77030);const K=p(37067);const ee=p(61671);const{channels:te}=p(92527);const re=p(52590);const ne=p(50100);const{InvalidArgumentError:se,InformationalError:ie,ClientDestroyedError:oe}=p(68480);const ae=p(75237);const{kUrl:Ae,kServerName:ce,kClient:le,kBusy:ue,kConnect:de,kResuming:he,kRunning:fe,kPending:ge,kSize:pe,kQueue:me,kConnected:Ee,kConnecting:Ce,kNeedDrain:ye,kKeepAliveDefaultTimeout:Ie,kHostHeader:Be,kPendingIdx:Qe,kRunningIdx:be,kError:we,kPipelining:Se,kKeepAliveTimeoutValue:Re,kMaxHeadersSize:ve,kKeepAliveMaxTimeout:ke,kKeepAliveTimeoutThreshold:Te,kHeadersTimeout:Ne,kBodyTimeout:De,kStrictContentLength:xe,kConnector:Fe,kMaxRedirections:Pe,kMaxRequests:Le,kCounter:_e,kClose:Me,kDestroy:Ue,kDispatch:Oe,kInterceptors:He,kLocalAddress:Ge,kMaxResponseSize:Ve,kOnError:qe,kHTTPContext:Ye,kMaxConcurrentStreams:je,kResume:Je}=p(65082);const We=p(31988);const ze=p(43837);let $e=false;const Ke=Symbol("kClosedResolve");const noop=()=>{};function getPipelining(i){return i[Se]??i[Ye]?.defaultPipelining??1}class Client extends ne{constructor(i,{interceptors:d,maxHeaderSize:p,headersTimeout:v,socketTimeout:te,requestTimeout:re,connectTimeout:ne,bodyTimeout:ie,idleTimeout:oe,keepAlive:le,keepAliveTimeout:ue,maxKeepAliveTimeout:de,keepAliveMaxTimeout:fe,keepAliveTimeoutThreshold:ge,socketPath:pe,pipelining:Ee,tls:Ce,strictContentLength:we,maxCachedSessions:_e,maxRedirections:Me,connect:Ue,maxRequestsPerClient:Oe,localAddress:We,maxResponseSize:ze,autoSelectFamily:Ze,autoSelectFamilyAttemptTimeout:At,maxConcurrentStreams:mt,allowH2:Et}={}){super();if(le!==undefined){throw new se("unsupported keepAlive, use pipelining=0 instead")}if(te!==undefined){throw new se("unsupported socketTimeout, use headersTimeout & bodyTimeout instead")}if(re!==undefined){throw new se("unsupported requestTimeout, use headersTimeout & bodyTimeout instead")}if(oe!==undefined){throw new se("unsupported idleTimeout, use keepAliveTimeout instead")}if(de!==undefined){throw new se("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead")}if(p!=null&&!Number.isFinite(p)){throw new se("invalid maxHeaderSize")}if(pe!=null&&typeof pe!=="string"){throw new se("invalid socketPath")}if(ne!=null&&(!Number.isFinite(ne)||ne<0)){throw new se("invalid connectTimeout")}if(ue!=null&&(!Number.isFinite(ue)||ue<=0)){throw new se("invalid keepAliveTimeout")}if(fe!=null&&(!Number.isFinite(fe)||fe<=0)){throw new se("invalid keepAliveMaxTimeout")}if(ge!=null&&!Number.isFinite(ge)){throw new se("invalid keepAliveTimeoutThreshold")}if(v!=null&&(!Number.isInteger(v)||v<0)){throw new se("headersTimeout must be a positive integer or zero")}if(ie!=null&&(!Number.isInteger(ie)||ie<0)){throw new se("bodyTimeout must be a positive integer or zero")}if(Ue!=null&&typeof Ue!=="function"&&typeof Ue!=="object"){throw new se("connect must be a function or an object")}if(Me!=null&&(!Number.isInteger(Me)||Me<0)){throw new se("maxRedirections must be a positive number")}if(Oe!=null&&(!Number.isInteger(Oe)||Oe<0)){throw new se("maxRequestsPerClient must be a positive number")}if(We!=null&&(typeof We!=="string"||V.isIP(We)===0)){throw new se("localAddress must be valid string IP address")}if(ze!=null&&(!Number.isInteger(ze)||ze<-1)){throw new se("maxResponseSize must be a positive number")}if(At!=null&&(!Number.isInteger(At)||At<-1)){throw new se("autoSelectFamilyAttemptTimeout must be a positive number")}if(Et!=null&&typeof Et!=="boolean"){throw new se("allowH2 must be a valid boolean value")}if(mt!=null&&(typeof mt!=="number"||mt<1)){throw new se("maxConcurrentStreams must be a positive integer, greater than 0")}if(typeof Ue!=="function"){Ue=ae({...Ce,maxCachedSessions:_e,allowH2:Et,socketPath:pe,timeout:ne,...Ze?{autoSelectFamily:Ze,autoSelectFamilyAttemptTimeout:At}:undefined,...Ue})}if(d?.Client&&Array.isArray(d.Client)){this[He]=d.Client;if(!$e){$e=true;process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"})}}else{this[He]=[Xe({maxRedirections:Me})]}this[Ae]=ee.parseOrigin(i);this[Fe]=Ue;this[Se]=Ee!=null?Ee:1;this[ve]=p||K.maxHeaderSize;this[Ie]=ue==null?4e3:ue;this[ke]=fe==null?6e5:fe;this[Te]=ge==null?2e3:ge;this[Re]=this[Ie];this[ce]=null;this[Ge]=We!=null?We:null;this[he]=0;this[ye]=0;this[Be]=`host: ${this[Ae].hostname}${this[Ae].port?`:${this[Ae].port}`:""}\r\n`;this[De]=ie!=null?ie:3e5;this[Ne]=v!=null?v:3e5;this[xe]=we==null?true:we;this[Pe]=Me;this[Le]=Oe;this[Ke]=null;this[Ve]=ze>-1?ze:-1;this[je]=mt!=null?mt:100;this[Ye]=null;this[me]=[];this[be]=0;this[Qe]=0;this[Je]=i=>resume(this,i);this[qe]=i=>onError(this,i)}get pipelining(){return this[Se]}set pipelining(i){this[Se]=i;this[Je](true)}get[ge](){return this[me].length-this[Qe]}get[fe](){return this[Qe]-this[be]}get[pe](){return this[me].length-this[be]}get[Ee](){return!!this[Ye]&&!this[Ce]&&!this[Ye].destroyed}get[ue](){return Boolean(this[Ye]?.busy(null)||this[pe]>=(getPipelining(this)||1)||this[ge]>0)}[de](i){connect(this);this.once("connect",i)}[Oe](i,d){const p=i.origin||this[Ae].origin;const v=new re(p,i,d);this[me].push(v);if(this[he]){}else if(ee.bodyLength(v.body)==null&&ee.isIterable(v.body)){this[he]=1;queueMicrotask((()=>resume(this)))}else{this[Je](true)}if(this[he]&&this[ye]!==2&&this[ue]){this[ye]=2}return this[ye]<2}async[Me](){return new Promise((i=>{if(this[pe]){this[Ke]=i}else{i(null)}}))}async[Ue](i){return new Promise((d=>{const p=this[me].splice(this[Qe]);for(let d=0;d{if(this[Ke]){this[Ke]();this[Ke]=null}d(null)};if(this[Ye]){this[Ye].destroy(i,callback);this[Ye]=null}else{queueMicrotask(callback)}this[Je]()}))}}const Xe=p(87449);function onError(i,d){if(i[fe]===0&&d.code!=="UND_ERR_INFO"&&d.code!=="UND_ERR_SOCKET"){v(i[Qe]===i[be]);const p=i[me].splice(i[be]);for(let v=0;v{i[Fe]({host:d,hostname:p,protocol:K,port:re,servername:i[ce],localAddress:i[Ge]},((i,d)=>{if(i){V(i)}else{v(d)}}))}));if(i.destroyed){ee.destroy(V.on("error",noop),new oe);return}v(V);try{i[Ye]=V.alpnProtocol==="h2"?await ze(i,V):await We(i,V)}catch(i){V.destroy().on("error",noop);throw i}i[Ce]=false;V[_e]=0;V[Le]=i[Le];V[le]=i;V[we]=null;if(te.connected.hasSubscribers){te.connected.publish({connectParams:{host:d,hostname:p,protocol:K,port:re,version:i[Ye]?.version,servername:i[ce],localAddress:i[Ge]},connector:i[Fe],socket:V})}i.emit("connect",i[Ae],[i])}catch(V){if(i.destroyed){return}i[Ce]=false;if(te.connectError.hasSubscribers){te.connectError.publish({connectParams:{host:d,hostname:p,protocol:K,port:re,version:i[Ye]?.version,servername:i[ce],localAddress:i[Ge]},connector:i[Fe],error:V})}if(V.code==="ERR_TLS_CERT_ALTNAME_INVALID"){v(i[fe]===0);while(i[ge]>0&&i[me][i[Qe]].servername===i[ce]){const d=i[me][i[Qe]++];ee.errorRequest(i,d,V)}}else{onError(i,V)}i.emit("connectionError",i[Ae],[i],V)}i[Je]()}function emitDrain(i){i[ye]=0;i.emit("drain",i[Ae],[i])}function resume(i,d){if(i[he]===2){return}i[he]=2;_resume(i,d);i[he]=0;if(i[be]>256){i[me].splice(0,i[be]);i[Qe]-=i[be];i[be]=0}}function _resume(i,d){while(true){if(i.destroyed){v(i[ge]===0);return}if(i[Ke]&&!i[pe]){i[Ke]();i[Ke]=null;return}if(i[Ye]){i[Ye].resume()}if(i[ue]){i[ye]=2}else if(i[ye]===2){if(d){i[ye]=1;queueMicrotask((()=>emitDrain(i)))}else{emitDrain(i)}continue}if(i[ge]===0){return}if(i[fe]>=(getPipelining(i)||1)){return}const p=i[me][i[Qe]];if(i[Ae].protocol==="https:"&&i[ce]!==p.servername){if(i[fe]>0){return}i[ce]=p.servername;i[Ye]?.destroy(new ie("servername changed"),(()=>{i[Ye]=null;resume(i)}))}if(i[Ce]){return}if(!i[Ye]){connect(i);return}if(i[Ye].destroyed){return}if(i[Ye].busy(p)){return}if(!p.aborted&&i[Ye].write(p)){i[Qe]++}else{i[me].splice(i[Qe],1)}}}i.exports=Client},50100:(i,d,p)=>{const v=p(32640);const{ClientDestroyedError:V,ClientClosedError:K,InvalidArgumentError:ee}=p(68480);const{kDestroy:te,kClose:re,kClosed:ne,kDestroyed:se,kDispatch:ie,kInterceptors:oe}=p(65082);const ae=Symbol("onDestroyed");const Ae=Symbol("onClosed");const ce=Symbol("Intercepted Dispatch");class DispatcherBase extends v{constructor(){super();this[se]=false;this[ae]=null;this[ne]=false;this[Ae]=[]}get destroyed(){return this[se]}get closed(){return this[ne]}get interceptors(){return this[oe]}set interceptors(i){if(i){for(let d=i.length-1;d>=0;d--){const i=this[oe][d];if(typeof i!=="function"){throw new ee("interceptor must be an function")}}}this[oe]=i}close(i){if(i===undefined){return new Promise(((i,d)=>{this.close(((p,v)=>p?d(p):i(v)))}))}if(typeof i!=="function"){throw new ee("invalid callback")}if(this[se]){queueMicrotask((()=>i(new V,null)));return}if(this[ne]){if(this[Ae]){this[Ae].push(i)}else{queueMicrotask((()=>i(null,null)))}return}this[ne]=true;this[Ae].push(i);const onClosed=()=>{const i=this[Ae];this[Ae]=null;for(let d=0;dthis.destroy())).then((()=>{queueMicrotask(onClosed)}))}destroy(i,d){if(typeof i==="function"){d=i;i=null}if(d===undefined){return new Promise(((d,p)=>{this.destroy(i,((i,v)=>i?p(i):d(v)))}))}if(typeof d!=="function"){throw new ee("invalid callback")}if(this[se]){if(this[ae]){this[ae].push(d)}else{queueMicrotask((()=>d(null,null)))}return}if(!i){i=new V}this[se]=true;this[ae]=this[ae]||[];this[ae].push(d);const onDestroyed=()=>{const i=this[ae];this[ae]=null;for(let d=0;d{queueMicrotask(onDestroyed)}))}[ce](i,d){if(!this[oe]||this[oe].length===0){this[ce]=this[ie];return this[ie](i,d)}let p=this[ie].bind(this);for(let i=this[oe].length-1;i>=0;i--){p=this[oe][i](p)}this[ce]=p;return p(i,d)}dispatch(i,d){if(!d||typeof d!=="object"){throw new ee("handler must be an object")}try{if(!i||typeof i!=="object"){throw new ee("opts must be an object.")}if(this[se]||this[ae]){throw new V}if(this[ne]){throw new K}return this[ce](i,d)}catch(i){if(typeof d.onError!=="function"){throw new ee("invalid onError method")}d.onError(i);return false}}}i.exports=DispatcherBase},32640:(i,d,p)=>{const v=p(78474);class Dispatcher extends v{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}compose(...i){const d=Array.isArray(i[0])?i[0]:i;let p=this.dispatch.bind(this);for(const i of d){if(i==null){continue}if(typeof i!=="function"){throw new TypeError(`invalid interceptor, expected function received ${typeof i}`)}p=i(p);if(p==null||typeof p!=="function"||p.length!==2){throw new TypeError("invalid interceptor")}}return new ComposedDispatcher(this,p)}}class ComposedDispatcher extends Dispatcher{#e=null;#t=null;constructor(i,d){super();this.#e=i;this.#t=d}dispatch(...i){this.#t(...i)}close(...i){return this.#e.close(...i)}destroy(...i){return this.#e.destroy(...i)}}i.exports=Dispatcher},58758:(i,d,p)=>{const v=p(50100);const{kClose:V,kDestroy:K,kClosed:ee,kDestroyed:te,kDispatch:re,kNoProxyAgent:ne,kHttpProxyAgent:se,kHttpsProxyAgent:ie}=p(65082);const oe=p(22949);const ae=p(94084);const Ae={"http:":80,"https:":443};let ce=false;class EnvHttpProxyAgent extends v{#r=null;#n=null;#s=null;constructor(i={}){super();this.#s=i;if(!ce){ce=true;process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.",{code:"UNDICI-EHPA"})}const{httpProxy:d,httpsProxy:p,noProxy:v,...V}=i;this[ne]=new ae(V);const K=d??process.env.http_proxy??process.env.HTTP_PROXY;if(K){this[se]=new oe({...V,uri:K})}else{this[se]=this[ne]}const ee=p??process.env.https_proxy??process.env.HTTPS_PROXY;if(ee){this[ie]=new oe({...V,uri:ee})}else{this[ie]=this[se]}this.#i()}[re](i,d){const p=new URL(i.origin);const v=this.#o(p);return v.dispatch(i,d)}async[V](){await this[ne].close();if(!this[se][ee]){await this[se].close()}if(!this[ie][ee]){await this[ie].close()}}async[K](i){await this[ne].destroy(i);if(!this[se][te]){await this[se].destroy(i)}if(!this[ie][te]){await this[ie].destroy(i)}}#o(i){let{protocol:d,host:p,port:v}=i;p=p.replace(/:\d*$/,"").toLowerCase();v=Number.parseInt(v,10)||Ae[d]||0;if(!this.#a(p,v)){return this[ne]}if(d==="https:"){return this[ie]}return this[se]}#a(i,d){if(this.#A){this.#i()}if(this.#n.length===0){return true}if(this.#r==="*"){return false}for(let p=0;p{const d=2048;const p=d-1;class FixedCircularBuffer{constructor(){this.bottom=0;this.top=0;this.list=new Array(d);this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&p)===this.bottom}push(i){this.list[this.top]=i;this.top=this.top+1&p}shift(){const i=this.list[this.bottom];if(i===undefined)return null;this.list[this.bottom]=undefined;this.bottom=this.bottom+1&p;return i}}i.exports=class FixedQueue{constructor(){this.head=this.tail=new FixedCircularBuffer}isEmpty(){return this.head.isEmpty()}push(i){if(this.head.isFull()){this.head=this.head.next=new FixedCircularBuffer}this.head.push(i)}shift(){const i=this.tail;const d=i.shift();if(i.isEmpty()&&i.next!==null){this.tail=i.next}return d}}},49413:(i,d,p)=>{const v=p(50100);const V=p(41605);const{kConnected:K,kSize:ee,kRunning:te,kPending:re,kQueued:ne,kBusy:se,kFree:ie,kUrl:oe,kClose:ae,kDestroy:Ae,kDispatch:ce}=p(65082);const le=p(48501);const ue=Symbol("clients");const de=Symbol("needDrain");const he=Symbol("queue");const fe=Symbol("closed resolve");const ge=Symbol("onDrain");const pe=Symbol("onConnect");const me=Symbol("onDisconnect");const Ee=Symbol("onConnectionError");const Ce=Symbol("get dispatcher");const ye=Symbol("add client");const Ie=Symbol("remove client");const Be=Symbol("stats");class PoolBase extends v{constructor(){super();this[he]=new V;this[ue]=[];this[ne]=0;const i=this;this[ge]=function onDrain(d,p){const v=i[he];let V=false;while(!V){const d=v.shift();if(!d){break}i[ne]--;V=!this.dispatch(d.opts,d.handler)}this[de]=V;if(!this[de]&&i[de]){i[de]=false;i.emit("drain",d,[i,...p])}if(i[fe]&&v.isEmpty()){Promise.all(i[ue].map((i=>i.close()))).then(i[fe])}};this[pe]=(d,p)=>{i.emit("connect",d,[i,...p])};this[me]=(d,p,v)=>{i.emit("disconnect",d,[i,...p],v)};this[Ee]=(d,p,v)=>{i.emit("connectionError",d,[i,...p],v)};this[Be]=new le(this)}get[se](){return this[de]}get[K](){return this[ue].filter((i=>i[K])).length}get[ie](){return this[ue].filter((i=>i[K]&&!i[de])).length}get[re](){let i=this[ne];for(const{[re]:d}of this[ue]){i+=d}return i}get[te](){let i=0;for(const{[te]:d}of this[ue]){i+=d}return i}get[ee](){let i=this[ne];for(const{[ee]:d}of this[ue]){i+=d}return i}get stats(){return this[Be]}async[ae](){if(this[he].isEmpty()){await Promise.all(this[ue].map((i=>i.close())))}else{await new Promise((i=>{this[fe]=i}))}}async[Ae](i){while(true){const d=this[he].shift();if(!d){break}d.handler.onError(i)}await Promise.all(this[ue].map((d=>d.destroy(i))))}[ce](i,d){const p=this[Ce]();if(!p){this[de]=true;this[he].push({opts:i,handler:d});this[ne]++}else if(!p.dispatch(i,d)){p[de]=true;this[de]=!this[Ce]()}return!this[de]}[ye](i){i.on("drain",this[ge]).on("connect",this[pe]).on("disconnect",this[me]).on("connectionError",this[Ee]);this[ue].push(i);if(this[de]){queueMicrotask((()=>{if(this[de]){this[ge](i[oe],[this,i])}}))}return this}[Ie](i){i.close((()=>{const d=this[ue].indexOf(i);if(d!==-1){this[ue].splice(d,1)}}));this[de]=this[ue].some((i=>!i[de]&&i.closed!==true&&i.destroyed!==true))}}i.exports={PoolBase:PoolBase,kClients:ue,kNeedDrain:de,kAddClient:ye,kRemoveClient:Ie,kGetDispatcher:Ce}},48501:(i,d,p)=>{const{kFree:v,kConnected:V,kPending:K,kQueued:ee,kRunning:te,kSize:re}=p(65082);const ne=Symbol("pool");class PoolStats{constructor(i){this[ne]=i}get connected(){return this[ne][V]}get free(){return this[ne][v]}get pending(){return this[ne][K]}get queued(){return this[ne][ee]}get running(){return this[ne][te]}get size(){return this[ne][re]}}i.exports=PoolStats},73071:(i,d,p)=>{const{PoolBase:v,kClients:V,kNeedDrain:K,kAddClient:ee,kGetDispatcher:te}=p(49413);const re=p(49202);const{InvalidArgumentError:ne}=p(68480);const se=p(61671);const{kUrl:ie,kInterceptors:oe}=p(65082);const ae=p(75237);const Ae=Symbol("options");const ce=Symbol("connections");const le=Symbol("factory");function defaultFactory(i,d){return new re(i,d)}class Pool extends v{constructor(i,{connections:d,factory:p=defaultFactory,connect:v,connectTimeout:K,tls:ee,maxCachedSessions:te,socketPath:re,autoSelectFamily:ue,autoSelectFamilyAttemptTimeout:de,allowH2:he,...fe}={}){super();if(d!=null&&(!Number.isFinite(d)||d<0)){throw new ne("invalid connections")}if(typeof p!=="function"){throw new ne("factory must be a function.")}if(v!=null&&typeof v!=="function"&&typeof v!=="object"){throw new ne("connect must be a function or an object")}if(typeof v!=="function"){v=ae({...ee,maxCachedSessions:te,allowH2:he,socketPath:re,timeout:K,...ue?{autoSelectFamily:ue,autoSelectFamilyAttemptTimeout:de}:undefined,...v})}this[oe]=fe.interceptors?.Pool&&Array.isArray(fe.interceptors.Pool)?fe.interceptors.Pool:[];this[ce]=d||null;this[ie]=se.parseOrigin(i);this[Ae]={...se.deepClone(fe),connect:v,allowH2:he};this[Ae].interceptors=fe.interceptors?{...fe.interceptors}:undefined;this[le]=p;this.on("connectionError",((i,d,p)=>{for(const i of d){const d=this[V].indexOf(i);if(d!==-1){this[V].splice(d,1)}}}))}[te](){for(const i of this[V]){if(!i[K]){return i}}if(!this[ce]||this[V].length{const{kProxy:v,kClose:V,kDestroy:K,kDispatch:ee,kInterceptors:te}=p(65082);const{URL:re}=p(73136);const ne=p(94084);const se=p(73071);const ie=p(50100);const{InvalidArgumentError:oe,RequestAbortedError:ae,SecureProxyConnectionError:Ae}=p(68480);const ce=p(75237);const le=p(49202);const ue=Symbol("proxy agent");const de=Symbol("proxy client");const he=Symbol("proxy headers");const fe=Symbol("request tls settings");const ge=Symbol("proxy tls settings");const pe=Symbol("connect endpoint function");const me=Symbol("tunnel proxy");function defaultProtocolPort(i){return i==="https:"?443:80}function defaultFactory(i,d){return new se(i,d)}const noop=()=>{};function defaultAgentFactory(i,d){if(d.connections===1){return new le(i,d)}return new se(i,d)}class Http1ProxyWrapper extends ie{#l;constructor(i,{headers:d={},connect:p,factory:v}){super();if(!i){throw new oe("Proxy URL is mandatory")}this[he]=d;if(v){this.#l=v(i,{connect:p})}else{this.#l=new le(i,{connect:p})}}[ee](i,d){const p=d.onHeaders;d.onHeaders=function(i,v,V){if(i===407){if(typeof d.onError==="function"){d.onError(new oe("Proxy Authentication Required (407)"))}return}if(p)p.call(this,i,v,V)};const{origin:v,path:V="/",headers:K={}}=i;i.path=v+V;if(!("host"in K)&&!("Host"in K)){const{host:i}=new re(v);K.host=i}i.headers={...this[he],...K};return this.#l[ee](i,d)}async[V](){return this.#l.close()}async[K](i){return this.#l.destroy(i)}}class ProxyAgent extends ie{constructor(i){super();if(!i||typeof i==="object"&&!(i instanceof re)&&!i.uri){throw new oe("Proxy uri is mandatory")}const{clientFactory:d=defaultFactory}=i;if(typeof d!=="function"){throw new oe("Proxy opts.clientFactory must be a function.")}const{proxyTunnel:p=true}=i;const V=this.#u(i);const{href:K,origin:ee,port:se,protocol:ie,username:le,password:Ee,hostname:Ce}=V;this[v]={uri:K,protocol:ie};this[te]=i.interceptors?.ProxyAgent&&Array.isArray(i.interceptors.ProxyAgent)?i.interceptors.ProxyAgent:[];this[fe]=i.requestTls;this[ge]=i.proxyTls;this[he]=i.headers||{};this[me]=p;if(i.auth&&i.token){throw new oe("opts.auth cannot be used in combination with opts.token")}else if(i.auth){this[he]["proxy-authorization"]=`Basic ${i.auth}`}else if(i.token){this[he]["proxy-authorization"]=i.token}else if(le&&Ee){this[he]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(le)}:${decodeURIComponent(Ee)}`).toString("base64")}`}const ye=ce({...i.proxyTls});this[pe]=ce({...i.requestTls});const Ie=i.factory||defaultAgentFactory;const factory=(i,d)=>{const{protocol:p}=new re(i);if(!this[me]&&p==="http:"&&this[v].protocol==="http:"){return new Http1ProxyWrapper(this[v].uri,{headers:this[he],connect:ye,factory:Ie})}return Ie(i,d)};this[de]=d(V,{connect:ye});this[ue]=new ne({...i,factory:factory,connect:async(i,d)=>{let p=i.host;if(!i.port){p+=`:${defaultProtocolPort(i.protocol)}`}try{const{socket:v,statusCode:V}=await this[de].connect({origin:ee,port:se,path:p,signal:i.signal,headers:{...this[he],host:i.host},servername:this[ge]?.servername||Ce});if(V!==200){v.on("error",noop).destroy();d(new ae(`Proxy response (${V}) !== 200 when HTTP Tunneling`))}if(i.protocol!=="https:"){d(null,v);return}let K;if(this[fe]){K=this[fe].servername}else{K=i.servername}this[pe]({...i,servername:K,httpSocket:v},d)}catch(i){if(i.code==="ERR_TLS_CERT_ALTNAME_INVALID"){d(new Ae(i))}else{d(i)}}}})}dispatch(i,d){const p=buildHeaders(i.headers);throwIfProxyAuthIsSent(p);if(p&&!("host"in p)&&!("Host"in p)){const{host:d}=new re(i.origin);p.host=d}return this[ue].dispatch({...i,headers:p},d)}#u(i){if(typeof i==="string"){return new re(i)}else if(i instanceof re){return i}else{return new re(i.uri)}}async[V](){await this[ue].close();await this[de].close()}async[K](){await this[ue].destroy();await this[de].destroy()}}function buildHeaders(i){if(Array.isArray(i)){const d={};for(let p=0;pi.toLowerCase()==="proxy-authorization"));if(d){throw new oe("Proxy-Authorization should be sent in ProxyAgent constructor")}}i.exports=ProxyAgent},74923:(i,d,p)=>{const v=p(32640);const V=p(17439);class RetryAgent extends v{#d=null;#h=null;constructor(i,d={}){super(d);this.#d=i;this.#h=d}dispatch(i,d){const p=new V({...i,retryOptions:this.#h},{dispatch:this.#d.dispatch.bind(this.#d),handler:d});return this.#d.dispatch(i,p)}close(){return this.#d.close()}destroy(){return this.#d.destroy()}}i.exports=RetryAgent},97256:(i,d,p)=>{const v=Symbol.for("undici.globalDispatcher.1");const{InvalidArgumentError:V}=p(68480);const K=p(94084);if(getGlobalDispatcher()===undefined){setGlobalDispatcher(new K)}function setGlobalDispatcher(i){if(!i||typeof i.dispatch!=="function"){throw new V("Argument agent must implement Agent")}Object.defineProperty(globalThis,v,{value:i,writable:true,enumerable:false,configurable:false})}function getGlobalDispatcher(){return globalThis[v]}i.exports={setGlobalDispatcher:setGlobalDispatcher,getGlobalDispatcher:getGlobalDispatcher}},62004:i=>{i.exports=class DecoratorHandler{#f;constructor(i){if(typeof i!=="object"||i===null){throw new TypeError("handler must be an object")}this.#f=i}onConnect(...i){return this.#f.onConnect?.(...i)}onError(...i){return this.#f.onError?.(...i)}onUpgrade(...i){return this.#f.onUpgrade?.(...i)}onResponseStarted(...i){return this.#f.onResponseStarted?.(...i)}onHeaders(...i){return this.#f.onHeaders?.(...i)}onData(...i){return this.#f.onData?.(...i)}onComplete(...i){return this.#f.onComplete?.(...i)}onBodySent(...i){return this.#f.onBodySent?.(...i)}}},70511:(i,d,p)=>{const v=p(61671);const{kBodyUsed:V}=p(65082);const K=p(34589);const{InvalidArgumentError:ee}=p(68480);const te=p(78474);const re=[300,301,302,303,307,308];const ne=Symbol("body");class BodyAsyncIterable{constructor(i){this[ne]=i;this[V]=false}async*[Symbol.asyncIterator](){K(!this[V],"disturbed");this[V]=true;yield*this[ne]}}class RedirectHandler{constructor(i,d,p,re){if(d!=null&&(!Number.isInteger(d)||d<0)){throw new ee("maxRedirections must be a positive number")}v.validateHandler(re,p.method,p.upgrade);this.dispatch=i;this.location=null;this.abort=null;this.opts={...p,maxRedirections:0};this.maxRedirections=d;this.handler=re;this.history=[];this.redirectionLimitReached=false;if(v.isStream(this.opts.body)){if(v.bodyLength(this.opts.body)===0){this.opts.body.on("data",(function(){K(false)}))}if(typeof this.opts.body.readableDidRead!=="boolean"){this.opts.body[V]=false;te.prototype.on.call(this.opts.body,"data",(function(){this[V]=true}))}}else if(this.opts.body&&typeof this.opts.body.pipeTo==="function"){this.opts.body=new BodyAsyncIterable(this.opts.body)}else if(this.opts.body&&typeof this.opts.body!=="string"&&!ArrayBuffer.isView(this.opts.body)&&v.isIterable(this.opts.body)){this.opts.body=new BodyAsyncIterable(this.opts.body)}}onConnect(i){this.abort=i;this.handler.onConnect(i,{history:this.history})}onUpgrade(i,d,p){this.handler.onUpgrade(i,d,p)}onError(i){this.handler.onError(i)}onHeaders(i,d,p,V){this.location=this.history.length>=this.maxRedirections||v.isDisturbed(this.opts.body)?null:parseLocation(i,d);if(this.opts.throwOnMaxRedirect&&this.history.length>=this.maxRedirections){if(this.request){this.request.abort(new Error("max redirects"))}this.redirectionLimitReached=true;this.abort(new Error("max redirects"));return}if(this.opts.origin){this.history.push(new URL(this.opts.path,this.opts.origin))}if(!this.location){return this.handler.onHeaders(i,d,p,V)}const{origin:K,pathname:ee,search:te}=v.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin)));const re=te?`${ee}${te}`:ee;this.opts.headers=cleanRequestHeaders(this.opts.headers,i===303,this.opts.origin!==K);this.opts.path=re;this.opts.origin=K;this.opts.maxRedirections=0;this.opts.query=null;if(i===303&&this.opts.method!=="HEAD"){this.opts.method="GET";this.opts.body=null}}onData(i){if(this.location){}else{return this.handler.onData(i)}}onComplete(i){if(this.location){this.location=null;this.abort=null;this.dispatch(this.opts,this)}else{this.handler.onComplete(i)}}onBodySent(i){if(this.handler.onBodySent){this.handler.onBodySent(i)}}}function parseLocation(i,d){if(re.indexOf(i)===-1){return null}for(let i=0;i{const v=p(34589);const{kRetryHandlerDefaultRetry:V}=p(65082);const{RequestRetryError:K}=p(68480);const{isDisturbed:ee,parseHeaders:te,parseRangeHeader:re,wrapRequestBody:ne}=p(61671);function calculateRetryAfterHeader(i){const d=Date.now();return new Date(i).getTime()-d}class RetryHandler{constructor(i,d){const{retryOptions:p,...v}=i;const{retry:K,maxRetries:ee,maxTimeout:te,minTimeout:re,timeoutFactor:se,methods:ie,errorCodes:oe,retryAfter:ae,statusCodes:Ae}=p??{};this.dispatch=d.dispatch;this.handler=d.handler;this.opts={...v,body:ne(i.body)};this.abort=null;this.aborted=false;this.retryOpts={retry:K??RetryHandler[V],retryAfter:ae??true,maxTimeout:te??30*1e3,minTimeout:re??500,timeoutFactor:se??2,maxRetries:ee??5,methods:ie??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:Ae??[500,502,503,504,429],errorCodes:oe??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE","UND_ERR_SOCKET"]};this.retryCount=0;this.retryCountCheckpoint=0;this.start=0;this.end=null;this.etag=null;this.resume=null;this.handler.onConnect((i=>{this.aborted=true;if(this.abort){this.abort(i)}else{this.reason=i}}))}onRequestSent(){if(this.handler.onRequestSent){this.handler.onRequestSent()}}onUpgrade(i,d,p){if(this.handler.onUpgrade){this.handler.onUpgrade(i,d,p)}}onConnect(i){if(this.aborted){i(this.reason)}else{this.abort=i}}onBodySent(i){if(this.handler.onBodySent)return this.handler.onBodySent(i)}static[V](i,{state:d,opts:p},v){const{statusCode:V,code:K,headers:ee}=i;const{method:te,retryOptions:re}=p;const{maxRetries:ne,minTimeout:se,maxTimeout:ie,timeoutFactor:oe,statusCodes:ae,errorCodes:Ae,methods:ce}=re;const{counter:le}=d;if(K&&K!=="UND_ERR_REQ_RETRY"&&!Ae.includes(K)){v(i);return}if(Array.isArray(ce)&&!ce.includes(te)){v(i);return}if(V!=null&&Array.isArray(ae)&&!ae.includes(V)){v(i);return}if(le>ne){v(i);return}let ue=ee?.["retry-after"];if(ue){ue=Number(ue);ue=Number.isNaN(ue)?calculateRetryAfterHeader(ue):ue*1e3}const de=ue>0?Math.min(ue,ie):Math.min(se*oe**(le-1),ie);setTimeout((()=>v(null)),de)}onHeaders(i,d,p,V){const ee=te(d);this.retryCount+=1;if(i>=300){if(this.retryOpts.statusCodes.includes(i)===false){return this.handler.onHeaders(i,d,p,V)}else{this.abort(new K("Request failed",i,{headers:ee,data:{count:this.retryCount}}));return false}}if(this.resume!=null){this.resume=null;if(i!==206&&(this.start>0||i!==200)){this.abort(new K("server does not support the range header and the payload was partially consumed",i,{headers:ee,data:{count:this.retryCount}}));return false}const d=re(ee["content-range"]);if(!d){this.abort(new K("Content-Range mismatch",i,{headers:ee,data:{count:this.retryCount}}));return false}if(this.etag!=null&&this.etag!==ee.etag){this.abort(new K("ETag mismatch",i,{headers:ee,data:{count:this.retryCount}}));return false}const{start:V,size:te,end:ne=te-1}=d;v(this.start===V,"content-range mismatch");v(this.end==null||this.end===ne,"content-range mismatch");this.resume=p;return true}if(this.end==null){if(i===206){const K=re(ee["content-range"]);if(K==null){return this.handler.onHeaders(i,d,p,V)}const{start:te,size:ne,end:se=ne-1}=K;v(te!=null&&Number.isFinite(te),"content-range mismatch");v(se!=null&&Number.isFinite(se),"invalid content-length");this.start=te;this.end=se}if(this.end==null){const i=ee["content-length"];this.end=i!=null?Number(i)-1:null}v(Number.isFinite(this.start));v(this.end==null||Number.isFinite(this.end),"invalid content-length");this.resume=p;this.etag=ee.etag!=null?ee.etag:null;if(this.etag!=null&&this.etag.startsWith("W/")){this.etag=null}return this.handler.onHeaders(i,d,p,V)}const ne=new K("Request failed",i,{headers:ee,data:{count:this.retryCount}});this.abort(ne);return false}onData(i){this.start+=i.length;return this.handler.onData(i)}onComplete(i){this.retryCount=0;return this.handler.onComplete(i)}onError(i){if(this.aborted||ee(this.opts.body)){return this.handler.onError(i)}if(this.retryCount-this.retryCountCheckpoint>0){this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint)}else{this.retryCount+=1}this.retryOpts.retry(i,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},onRetry.bind(this));function onRetry(i){if(i!=null||this.aborted||ee(this.opts.body)){return this.handler.onError(i)}if(this.start!==0){const i={range:`bytes=${this.start}-${this.end??""}`};if(this.etag!=null){i["if-match"]=this.etag}this.opts={...this.opts,headers:{...this.opts.headers,...i}}}try{this.retryCountCheckpoint=this.retryCount;this.dispatch(this.opts,this)}catch(i){this.handler.onError(i)}}}}i.exports=RetryHandler},92532:(i,d,p)=>{const{isIP:v}=p(77030);const{lookup:V}=p(40610);const K=p(62004);const{InvalidArgumentError:ee,InformationalError:te}=p(68480);const re=Math.pow(2,31)-1;class DNSInstance{#g=0;#p=0;#m=new Map;dualStack=true;affinity=null;lookup=null;pick=null;constructor(i){this.#g=i.maxTTL;this.#p=i.maxItems;this.dualStack=i.dualStack;this.affinity=i.affinity;this.lookup=i.lookup??this.#E;this.pick=i.pick??this.#C}get full(){return this.#m.size===this.#p}runLookup(i,d,p){const v=this.#m.get(i.hostname);if(v==null&&this.full){p(null,i.origin);return}const V={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...d.dns,maxTTL:this.#g,maxItems:this.#p};if(v==null){this.lookup(i,V,((d,v)=>{if(d||v==null||v.length===0){p(d??new te("No DNS entries found"));return}this.setRecords(i,v);const K=this.#m.get(i.hostname);const ee=this.pick(i,K,V.affinity);let re;if(typeof ee.port==="number"){re=`:${ee.port}`}else if(i.port!==""){re=`:${i.port}`}else{re=""}p(null,`${i.protocol}//${ee.family===6?`[${ee.address}]`:ee.address}${re}`)}))}else{const K=this.pick(i,v,V.affinity);if(K==null){this.#m.delete(i.hostname);this.runLookup(i,d,p);return}let ee;if(typeof K.port==="number"){ee=`:${K.port}`}else if(i.port!==""){ee=`:${i.port}`}else{ee=""}p(null,`${i.protocol}//${K.family===6?`[${K.address}]`:K.address}${ee}`)}}#E(i,d,p){V(i.hostname,{all:true,family:this.dualStack===false?this.affinity:0,order:"ipv4first"},((i,d)=>{if(i){return p(i)}const v=new Map;for(const i of d){v.set(`${i.address}:${i.family}`,i)}p(null,v.values())}))}#C(i,d,p){let v=null;const{records:V,offset:K}=d;let ee;if(this.dualStack){if(p==null){if(K==null||K===re){d.offset=0;p=4}else{d.offset++;p=(d.offset&1)===1?6:4}}if(V[p]!=null&&V[p].ips.length>0){ee=V[p]}else{ee=V[p===4?6:4]}}else{ee=V[p]}if(ee==null||ee.ips.length===0){return v}if(ee.offset==null||ee.offset===re){ee.offset=0}else{ee.offset++}const te=ee.offset%ee.ips.length;v=ee.ips[te]??null;if(v==null){return v}if(Date.now()-v.timestamp>v.ttl){ee.ips.splice(te,1);return this.pick(i,d,p)}return v}setRecords(i,d){const p=Date.now();const v={records:{4:null,6:null}};for(const i of d){i.timestamp=p;if(typeof i.ttl==="number"){i.ttl=Math.min(i.ttl,this.#g)}else{i.ttl=this.#g}const d=v.records[i.family]??{ips:[]};d.ips.push(i);v.records[i.family]=d}this.#m.set(i.hostname,v)}getHandler(i,d){return new DNSDispatchHandler(this,i,d)}}class DNSDispatchHandler extends K{#y=null;#s=null;#t=null;#f=null;#I=null;constructor(i,{origin:d,handler:p,dispatch:v},V){super(p);this.#I=d;this.#f=p;this.#s={...V};this.#y=i;this.#t=v}onError(i){switch(i.code){case"ETIMEDOUT":case"ECONNREFUSED":{if(this.#y.dualStack){this.#y.runLookup(this.#I,this.#s,((i,d)=>{if(i){return this.#f.onError(i)}const p={...this.#s,origin:d};this.#t(p,this)}));return}this.#f.onError(i);return}case"ENOTFOUND":this.#y.deleteRecord(this.#I);default:this.#f.onError(i);break}}}i.exports=i=>{if(i?.maxTTL!=null&&(typeof i?.maxTTL!=="number"||i?.maxTTL<0)){throw new ee("Invalid maxTTL. Must be a positive number")}if(i?.maxItems!=null&&(typeof i?.maxItems!=="number"||i?.maxItems<1)){throw new ee("Invalid maxItems. Must be a positive number and greater than zero")}if(i?.affinity!=null&&i?.affinity!==4&&i?.affinity!==6){throw new ee("Invalid affinity. Must be either 4 or 6")}if(i?.dualStack!=null&&typeof i?.dualStack!=="boolean"){throw new ee("Invalid dualStack. Must be a boolean")}if(i?.lookup!=null&&typeof i?.lookup!=="function"){throw new ee("Invalid lookup. Must be a function")}if(i?.pick!=null&&typeof i?.pick!=="function"){throw new ee("Invalid pick. Must be a function")}const d=i?.dualStack??true;let p;if(d){p=i?.affinity??null}else{p=i?.affinity??4}const V={maxTTL:i?.maxTTL??1e4,lookup:i?.lookup??null,pick:i?.pick??null,dualStack:d,affinity:p,maxItems:i?.maxItems??Infinity};const K=new DNSInstance(V);return i=>function dnsInterceptor(d,p){const V=d.origin.constructor===URL?d.origin:new URL(d.origin);if(v(V.hostname)!==0){return i(d,p)}K.runLookup(V,d,((v,ee)=>{if(v){return p.onError(v)}let te=null;te={...d,servername:V.hostname,origin:ee,headers:{host:V.hostname,...d.headers}};i(te,K.getHandler({origin:V,dispatch:i,handler:p},d))}));return true}}},9049:(i,d,p)=>{const v=p(61671);const{InvalidArgumentError:V,RequestAbortedError:K}=p(68480);const ee=p(62004);class DumpHandler extends ee{#B=1024*1024;#Q=null;#b=false;#w=false;#S=0;#R=null;#f=null;constructor({maxSize:i},d){super(d);if(i!=null&&(!Number.isFinite(i)||i<1)){throw new V("maxSize must be a number greater than 0")}this.#B=i??this.#B;this.#f=d}onConnect(i){this.#Q=i;this.#f.onConnect(this.#v.bind(this))}#v(i){this.#w=true;this.#R=i}onHeaders(i,d,p,V){const ee=v.parseHeaders(d);const te=ee["content-length"];if(te!=null&&te>this.#B){throw new K(`Response size (${te}) larger than maxSize (${this.#B})`)}if(this.#w){return true}return this.#f.onHeaders(i,d,p,V)}onError(i){if(this.#b){return}i=this.#R??i;this.#f.onError(i)}onData(i){this.#S=this.#S+i.length;if(this.#S>=this.#B){this.#b=true;if(this.#w){this.#f.onError(this.#R)}else{this.#f.onComplete([])}}return true}onComplete(i){if(this.#b){return}if(this.#w){this.#f.onError(this.reason);return}this.#f.onComplete(i)}}function createDumpInterceptor({maxSize:i}={maxSize:1024*1024}){return d=>function Intercept(p,v){const{dumpMaxSize:V=i}=p;const K=new DumpHandler({maxSize:V},v);return d(p,K)}}i.exports=createDumpInterceptor},87449:(i,d,p)=>{const v=p(70511);function createRedirectInterceptor({maxRedirections:i}){return d=>function Intercept(p,V){const{maxRedirections:K=i}=p;if(!K){return d(p,V)}const ee=new v(d,K,p,V);p={...p,maxRedirections:0};return d(p,ee)}}i.exports=createRedirectInterceptor},23191:(i,d,p)=>{const v=p(70511);i.exports=i=>{const d=i?.maxRedirections;return i=>function redirectInterceptor(p,V){const{maxRedirections:K=d,...ee}=p;if(!K){return i(p,V)}const te=new v(i,K,p,V);return i(ee,te)}}},34653:(i,d,p)=>{const v=p(17439);i.exports=i=>d=>function retryInterceptor(p,V){return d(p,new v({...p,retryOptions:{...i,...p.retryOptions}},{handler:V,dispatch:d}))}},42505:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.SPECIAL_HEADERS=d.HEADER_STATE=d.MINOR=d.MAJOR=d.CONNECTION_TOKEN_CHARS=d.HEADER_CHARS=d.TOKEN=d.STRICT_TOKEN=d.HEX=d.URL_CHAR=d.STRICT_URL_CHAR=d.USERINFO_CHARS=d.MARK=d.ALPHANUM=d.NUM=d.HEX_MAP=d.NUM_MAP=d.ALPHA=d.FINISH=d.H_METHOD_MAP=d.METHOD_MAP=d.METHODS_RTSP=d.METHODS_ICE=d.METHODS_HTTP=d.METHODS=d.LENIENT_FLAGS=d.FLAGS=d.TYPE=d.ERROR=void 0;const v=p(2573);var V;(function(i){i[i["OK"]=0]="OK";i[i["INTERNAL"]=1]="INTERNAL";i[i["STRICT"]=2]="STRICT";i[i["LF_EXPECTED"]=3]="LF_EXPECTED";i[i["UNEXPECTED_CONTENT_LENGTH"]=4]="UNEXPECTED_CONTENT_LENGTH";i[i["CLOSED_CONNECTION"]=5]="CLOSED_CONNECTION";i[i["INVALID_METHOD"]=6]="INVALID_METHOD";i[i["INVALID_URL"]=7]="INVALID_URL";i[i["INVALID_CONSTANT"]=8]="INVALID_CONSTANT";i[i["INVALID_VERSION"]=9]="INVALID_VERSION";i[i["INVALID_HEADER_TOKEN"]=10]="INVALID_HEADER_TOKEN";i[i["INVALID_CONTENT_LENGTH"]=11]="INVALID_CONTENT_LENGTH";i[i["INVALID_CHUNK_SIZE"]=12]="INVALID_CHUNK_SIZE";i[i["INVALID_STATUS"]=13]="INVALID_STATUS";i[i["INVALID_EOF_STATE"]=14]="INVALID_EOF_STATE";i[i["INVALID_TRANSFER_ENCODING"]=15]="INVALID_TRANSFER_ENCODING";i[i["CB_MESSAGE_BEGIN"]=16]="CB_MESSAGE_BEGIN";i[i["CB_HEADERS_COMPLETE"]=17]="CB_HEADERS_COMPLETE";i[i["CB_MESSAGE_COMPLETE"]=18]="CB_MESSAGE_COMPLETE";i[i["CB_CHUNK_HEADER"]=19]="CB_CHUNK_HEADER";i[i["CB_CHUNK_COMPLETE"]=20]="CB_CHUNK_COMPLETE";i[i["PAUSED"]=21]="PAUSED";i[i["PAUSED_UPGRADE"]=22]="PAUSED_UPGRADE";i[i["PAUSED_H2_UPGRADE"]=23]="PAUSED_H2_UPGRADE";i[i["USER"]=24]="USER"})(V=d.ERROR||(d.ERROR={}));var K;(function(i){i[i["BOTH"]=0]="BOTH";i[i["REQUEST"]=1]="REQUEST";i[i["RESPONSE"]=2]="RESPONSE"})(K=d.TYPE||(d.TYPE={}));var ee;(function(i){i[i["CONNECTION_KEEP_ALIVE"]=1]="CONNECTION_KEEP_ALIVE";i[i["CONNECTION_CLOSE"]=2]="CONNECTION_CLOSE";i[i["CONNECTION_UPGRADE"]=4]="CONNECTION_UPGRADE";i[i["CHUNKED"]=8]="CHUNKED";i[i["UPGRADE"]=16]="UPGRADE";i[i["CONTENT_LENGTH"]=32]="CONTENT_LENGTH";i[i["SKIPBODY"]=64]="SKIPBODY";i[i["TRAILING"]=128]="TRAILING";i[i["TRANSFER_ENCODING"]=512]="TRANSFER_ENCODING"})(ee=d.FLAGS||(d.FLAGS={}));var te;(function(i){i[i["HEADERS"]=1]="HEADERS";i[i["CHUNKED_LENGTH"]=2]="CHUNKED_LENGTH";i[i["KEEP_ALIVE"]=4]="KEEP_ALIVE"})(te=d.LENIENT_FLAGS||(d.LENIENT_FLAGS={}));var re;(function(i){i[i["DELETE"]=0]="DELETE";i[i["GET"]=1]="GET";i[i["HEAD"]=2]="HEAD";i[i["POST"]=3]="POST";i[i["PUT"]=4]="PUT";i[i["CONNECT"]=5]="CONNECT";i[i["OPTIONS"]=6]="OPTIONS";i[i["TRACE"]=7]="TRACE";i[i["COPY"]=8]="COPY";i[i["LOCK"]=9]="LOCK";i[i["MKCOL"]=10]="MKCOL";i[i["MOVE"]=11]="MOVE";i[i["PROPFIND"]=12]="PROPFIND";i[i["PROPPATCH"]=13]="PROPPATCH";i[i["SEARCH"]=14]="SEARCH";i[i["UNLOCK"]=15]="UNLOCK";i[i["BIND"]=16]="BIND";i[i["REBIND"]=17]="REBIND";i[i["UNBIND"]=18]="UNBIND";i[i["ACL"]=19]="ACL";i[i["REPORT"]=20]="REPORT";i[i["MKACTIVITY"]=21]="MKACTIVITY";i[i["CHECKOUT"]=22]="CHECKOUT";i[i["MERGE"]=23]="MERGE";i[i["M-SEARCH"]=24]="M-SEARCH";i[i["NOTIFY"]=25]="NOTIFY";i[i["SUBSCRIBE"]=26]="SUBSCRIBE";i[i["UNSUBSCRIBE"]=27]="UNSUBSCRIBE";i[i["PATCH"]=28]="PATCH";i[i["PURGE"]=29]="PURGE";i[i["MKCALENDAR"]=30]="MKCALENDAR";i[i["LINK"]=31]="LINK";i[i["UNLINK"]=32]="UNLINK";i[i["SOURCE"]=33]="SOURCE";i[i["PRI"]=34]="PRI";i[i["DESCRIBE"]=35]="DESCRIBE";i[i["ANNOUNCE"]=36]="ANNOUNCE";i[i["SETUP"]=37]="SETUP";i[i["PLAY"]=38]="PLAY";i[i["PAUSE"]=39]="PAUSE";i[i["TEARDOWN"]=40]="TEARDOWN";i[i["GET_PARAMETER"]=41]="GET_PARAMETER";i[i["SET_PARAMETER"]=42]="SET_PARAMETER";i[i["REDIRECT"]=43]="REDIRECT";i[i["RECORD"]=44]="RECORD";i[i["FLUSH"]=45]="FLUSH"})(re=d.METHODS||(d.METHODS={}));d.METHODS_HTTP=[re.DELETE,re.GET,re.HEAD,re.POST,re.PUT,re.CONNECT,re.OPTIONS,re.TRACE,re.COPY,re.LOCK,re.MKCOL,re.MOVE,re.PROPFIND,re.PROPPATCH,re.SEARCH,re.UNLOCK,re.BIND,re.REBIND,re.UNBIND,re.ACL,re.REPORT,re.MKACTIVITY,re.CHECKOUT,re.MERGE,re["M-SEARCH"],re.NOTIFY,re.SUBSCRIBE,re.UNSUBSCRIBE,re.PATCH,re.PURGE,re.MKCALENDAR,re.LINK,re.UNLINK,re.PRI,re.SOURCE];d.METHODS_ICE=[re.SOURCE];d.METHODS_RTSP=[re.OPTIONS,re.DESCRIBE,re.ANNOUNCE,re.SETUP,re.PLAY,re.PAUSE,re.TEARDOWN,re.GET_PARAMETER,re.SET_PARAMETER,re.REDIRECT,re.RECORD,re.FLUSH,re.GET,re.POST];d.METHOD_MAP=v.enumToMap(re);d.H_METHOD_MAP={};Object.keys(d.METHOD_MAP).forEach((i=>{if(/^H/.test(i)){d.H_METHOD_MAP[i]=d.METHOD_MAP[i]}}));var ne;(function(i){i[i["SAFE"]=0]="SAFE";i[i["SAFE_WITH_CB"]=1]="SAFE_WITH_CB";i[i["UNSAFE"]=2]="UNSAFE"})(ne=d.FINISH||(d.FINISH={}));d.ALPHA=[];for(let i="A".charCodeAt(0);i<="Z".charCodeAt(0);i++){d.ALPHA.push(String.fromCharCode(i));d.ALPHA.push(String.fromCharCode(i+32))}d.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};d.HEX_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15};d.NUM=["0","1","2","3","4","5","6","7","8","9"];d.ALPHANUM=d.ALPHA.concat(d.NUM);d.MARK=["-","_",".","!","~","*","'","(",")"];d.USERINFO_CHARS=d.ALPHANUM.concat(d.MARK).concat(["%",";",":","&","=","+","$",","]);d.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(d.ALPHANUM);d.URL_CHAR=d.STRICT_URL_CHAR.concat(["\t","\f"]);for(let i=128;i<=255;i++){d.URL_CHAR.push(i)}d.HEX=d.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);d.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(d.ALPHANUM);d.TOKEN=d.STRICT_TOKEN.concat([" "]);d.HEADER_CHARS=["\t"];for(let i=32;i<=255;i++){if(i!==127){d.HEADER_CHARS.push(i)}}d.CONNECTION_TOKEN_CHARS=d.HEADER_CHARS.filter((i=>i!==44));d.MAJOR=d.NUM_MAP;d.MINOR=d.MAJOR;var se;(function(i){i[i["GENERAL"]=0]="GENERAL";i[i["CONNECTION"]=1]="CONNECTION";i[i["CONTENT_LENGTH"]=2]="CONTENT_LENGTH";i[i["TRANSFER_ENCODING"]=3]="TRANSFER_ENCODING";i[i["UPGRADE"]=4]="UPGRADE";i[i["CONNECTION_KEEP_ALIVE"]=5]="CONNECTION_KEEP_ALIVE";i[i["CONNECTION_CLOSE"]=6]="CONNECTION_CLOSE";i[i["CONNECTION_UPGRADE"]=7]="CONNECTION_UPGRADE";i[i["TRANSFER_ENCODING_CHUNKED"]=8]="TRANSFER_ENCODING_CHUNKED"})(se=d.HEADER_STATE||(d.HEADER_STATE={}));d.SPECIAL_HEADERS={connection:se.CONNECTION,"content-length":se.CONTENT_LENGTH,"proxy-connection":se.CONNECTION,"transfer-encoding":se.TRANSFER_ENCODING,upgrade:se.UPGRADE}},44203:(i,d,p)=>{const{Buffer:v}=p(4573);i.exports=v.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAy0sBQYAAAIAAAAAAAACAQIAAgICAAADAAAAAAMDAwMBAQEBAQEBAQEAAAIAA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hwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJBADYCHCACIAE2AhQgAkH3CTYCECACQQg2AgwMoAEL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B0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMsgELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0OIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJ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QEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQBB+sgACwQBAAACAEGQyQALXwMEAAAEBAQEBAQEBAQEBAUEBAQEBAQEBAQEBAQABAAGBwQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEAAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAEAEH6ygALBAEAAAEAQZDLAAsBAQBBqssAC0ECAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBB+swACwQBAAABAEGQzQALAQEAQZrNAAsGAgAAAAACAEGxzQALOgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQfDOAAuWAU5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")},2573:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.enumToMap=void 0;function enumToMap(i){const d={};Object.keys(i).forEach((p=>{const v=i[p];if(typeof v==="number"){d[p]=v}}));return d}d.enumToMap=enumToMap},72318:(i,d,p)=>{const{kClients:v}=p(65082);const V=p(94084);const{kAgent:K,kMockAgentSet:ee,kMockAgentGet:te,kDispatches:re,kIsMockActive:ne,kNetConnect:se,kGetNetConnect:ie,kOptions:oe,kFactory:ae}=p(31034);const Ae=p(99008);const ce=p(15549);const{matchValue:le,buildMockOptions:ue}=p(71154);const{InvalidArgumentError:de,UndiciError:he}=p(68480);const fe=p(32640);const ge=p(40422);const pe=p(20613);class MockAgent extends fe{constructor(i){super(i);this[se]=true;this[ne]=true;if(i?.agent&&typeof i.agent.dispatch!=="function"){throw new de("Argument opts.agent must implement Agent")}const d=i?.agent?i.agent:new V(i);this[K]=d;this[v]=d[v];this[oe]=ue(i)}get(i){let d=this[te](i);if(!d){d=this[ae](i);this[ee](i,d)}return d}dispatch(i,d){this.get(i.origin);return this[K].dispatch(i,d)}async close(){await this[K].close();this[v].clear()}deactivate(){this[ne]=false}activate(){this[ne]=true}enableNetConnect(i){if(typeof i==="string"||typeof i==="function"||i instanceof RegExp){if(Array.isArray(this[se])){this[se].push(i)}else{this[se]=[i]}}else if(typeof i==="undefined"){this[se]=true}else{throw new de("Unsupported matcher. Must be one of String|Function|RegExp.")}}disableNetConnect(){this[se]=false}get isMockActive(){return this[ne]}[ee](i,d){this[v].set(i,d)}[ae](i){const d=Object.assign({agent:this},this[oe]);return this[oe]&&this[oe].connections===1?new Ae(i,d):new ce(i,d)}[te](i){const d=this[v].get(i);if(d){return d}if(typeof i!=="string"){const d=this[ae]("http://localhost:9999");this[ee](i,d);return d}for(const[d,p]of Array.from(this[v])){if(p&&typeof d!=="string"&&le(d,i)){const d=this[ae](i);this[ee](i,d);d[re]=p[re];return d}}}[ie](){return this[se]}pendingInterceptors(){const i=this[v];return Array.from(i.entries()).flatMap((([i,d])=>d[re].map((d=>({...d,origin:i}))))).filter((({pending:i})=>i))}assertNoPendingInterceptors({pendingInterceptorsFormatter:i=new pe}={}){const d=this.pendingInterceptors();if(d.length===0){return}const p=new ge("interceptor","interceptors").pluralize(d.length);throw new he(`\n${p.count} ${p.noun} ${p.is} pending:\n\n${i.format(d)}\n`.trim())}}i.exports=MockAgent},99008:(i,d,p)=>{const{promisify:v}=p(57975);const V=p(49202);const{buildMockDispatch:K}=p(71154);const{kDispatches:ee,kMockAgent:te,kClose:re,kOriginalClose:ne,kOrigin:se,kOriginalDispatch:ie,kConnected:oe}=p(31034);const{MockInterceptor:ae}=p(14988);const Ae=p(65082);const{InvalidArgumentError:ce}=p(68480);class MockClient extends V{constructor(i,d){super(i,d);if(!d||!d.agent||typeof d.agent.dispatch!=="function"){throw new ce("Argument opts.agent must implement Agent")}this[te]=d.agent;this[se]=i;this[ee]=[];this[oe]=1;this[ie]=this.dispatch;this[ne]=this.close.bind(this);this.dispatch=K.call(this);this.close=this[re]}get[Ae.kConnected](){return this[oe]}intercept(i){return new ae(i,this[ee])}async[re](){await v(this[ne])();this[oe]=0;this[te][Ae.kClients].delete(this[se])}}i.exports=MockClient},77472:(i,d,p)=>{const{UndiciError:v}=p(68480);const V=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED");class MockNotMatchedError extends v{constructor(i){super(i);Error.captureStackTrace(this,MockNotMatchedError);this.name="MockNotMatchedError";this.message=i||"The request does not match any registered mock dispatches";this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}static[Symbol.hasInstance](i){return i&&i[V]===true}[V]=true}i.exports={MockNotMatchedError:MockNotMatchedError}},14988:(i,d,p)=>{const{getResponseData:v,buildKey:V,addMockDispatch:K}=p(71154);const{kDispatches:ee,kDispatchKey:te,kDefaultHeaders:re,kDefaultTrailers:ne,kContentLength:se,kMockDispatch:ie}=p(31034);const{InvalidArgumentError:oe}=p(68480);const{buildURL:ae}=p(61671);class MockScope{constructor(i){this[ie]=i}delay(i){if(typeof i!=="number"||!Number.isInteger(i)||i<=0){throw new oe("waitInMs must be a valid integer > 0")}this[ie].delay=i;return this}persist(){this[ie].persist=true;return this}times(i){if(typeof i!=="number"||!Number.isInteger(i)||i<=0){throw new oe("repeatTimes must be a valid integer > 0")}this[ie].times=i;return this}}class MockInterceptor{constructor(i,d){if(typeof i!=="object"){throw new oe("opts must be an object")}if(typeof i.path==="undefined"){throw new oe("opts.path must be defined")}if(typeof i.method==="undefined"){i.method="GET"}if(typeof i.path==="string"){if(i.query){i.path=ae(i.path,i.query)}else{const d=new URL(i.path,"data://");i.path=d.pathname+d.search}}if(typeof i.method==="string"){i.method=i.method.toUpperCase()}this[te]=V(i);this[ee]=d;this[re]={};this[ne]={};this[se]=false}createMockScopeDispatchData({statusCode:i,data:d,responseOptions:p}){const V=v(d);const K=this[se]?{"content-length":V.length}:{};const ee={...this[re],...K,...p.headers};const te={...this[ne],...p.trailers};return{statusCode:i,data:d,headers:ee,trailers:te}}validateReplyParameters(i){if(typeof i.statusCode==="undefined"){throw new oe("statusCode must be defined")}if(typeof i.responseOptions!=="object"||i.responseOptions===null){throw new oe("responseOptions must be an object")}}reply(i){if(typeof i==="function"){const wrappedDefaultsCallback=d=>{const p=i(d);if(typeof p!=="object"||p===null){throw new oe("reply options callback must return an object")}const v={data:"",responseOptions:{},...p};this.validateReplyParameters(v);return{...this.createMockScopeDispatchData(v)}};const d=K(this[ee],this[te],wrappedDefaultsCallback);return new MockScope(d)}const d={statusCode:i,data:arguments[1]===undefined?"":arguments[1],responseOptions:arguments[2]===undefined?{}:arguments[2]};this.validateReplyParameters(d);const p=this.createMockScopeDispatchData(d);const v=K(this[ee],this[te],p);return new MockScope(v)}replyWithError(i){if(typeof i==="undefined"){throw new oe("error must be defined")}const d=K(this[ee],this[te],{error:i});return new MockScope(d)}defaultReplyHeaders(i){if(typeof i==="undefined"){throw new oe("headers must be defined")}this[re]=i;return this}defaultReplyTrailers(i){if(typeof i==="undefined"){throw new oe("trailers must be defined")}this[ne]=i;return this}replyContentLength(){this[se]=true;return this}}i.exports.MockInterceptor=MockInterceptor;i.exports.MockScope=MockScope},15549:(i,d,p)=>{const{promisify:v}=p(57975);const V=p(73071);const{buildMockDispatch:K}=p(71154);const{kDispatches:ee,kMockAgent:te,kClose:re,kOriginalClose:ne,kOrigin:se,kOriginalDispatch:ie,kConnected:oe}=p(31034);const{MockInterceptor:ae}=p(14988);const Ae=p(65082);const{InvalidArgumentError:ce}=p(68480);class MockPool extends V{constructor(i,d){super(i,d);if(!d||!d.agent||typeof d.agent.dispatch!=="function"){throw new ce("Argument opts.agent must implement Agent")}this[te]=d.agent;this[se]=i;this[ee]=[];this[oe]=1;this[ie]=this.dispatch;this[ne]=this.close.bind(this);this.dispatch=K.call(this);this.close=this[re]}get[Ae.kConnected](){return this[oe]}intercept(i){return new ae(i,this[ee])}async[re](){await v(this[ne])();this[oe]=0;this[te][Ae.kClients].delete(this[se])}}i.exports=MockPool},31034:i=>{i.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected")}},71154:(i,d,p)=>{const{MockNotMatchedError:v}=p(77472);const{kDispatches:V,kMockAgent:K,kOriginalDispatch:ee,kOrigin:te,kGetNetConnect:re}=p(31034);const{buildURL:ne}=p(61671);const{STATUS_CODES:se}=p(37067);const{types:{isPromise:ie}}=p(57975);function matchValue(i,d){if(typeof i==="string"){return i===d}if(i instanceof RegExp){return i.test(d)}if(typeof i==="function"){return i(d)===true}return false}function lowerCaseEntries(i){return Object.fromEntries(Object.entries(i).map((([i,d])=>[i.toLocaleLowerCase(),d])))}function getHeaderByName(i,d){if(Array.isArray(i)){for(let p=0;p!i)).filter((({path:i})=>matchValue(safeUrl(i),V)));if(K.length===0){throw new v(`Mock dispatch not matched for path '${V}'`)}K=K.filter((({method:i})=>matchValue(i,d.method)));if(K.length===0){throw new v(`Mock dispatch not matched for method '${d.method}' on path '${V}'`)}K=K.filter((({body:i})=>typeof i!=="undefined"?matchValue(i,d.body):true));if(K.length===0){throw new v(`Mock dispatch not matched for body '${d.body}' on path '${V}'`)}K=K.filter((i=>matchHeaders(i,d.headers)));if(K.length===0){const i=typeof d.headers==="object"?JSON.stringify(d.headers):d.headers;throw new v(`Mock dispatch not matched for headers '${i}' on path '${V}'`)}return K[0]}function addMockDispatch(i,d,p){const v={timesInvoked:0,times:1,persist:false,consumed:false};const V=typeof p==="function"?{callback:p}:{...p};const K={...v,...d,pending:true,data:{error:null,...V}};i.push(K);return K}function deleteMockDispatch(i,d){const p=i.findIndex((i=>{if(!i.consumed){return false}return matchKey(i,d)}));if(p!==-1){i.splice(p,1)}}function buildKey(i){const{path:d,method:p,body:v,headers:V,query:K}=i;return{path:d,method:p,body:v,headers:V,query:K}}function generateKeyValues(i){const d=Object.keys(i);const p=[];for(let v=0;v=Ae;v.pending=ae0){setTimeout((()=>{handleReply(this[V])}),se)}else{handleReply(this[V])}function handleReply(v,V=ee){const ne=Array.isArray(i.headers)?buildHeadersFromArray(i.headers):i.headers;const se=typeof V==="function"?V({...i,headers:ne}):V;if(ie(se)){se.then((i=>handleReply(v,i)));return}const oe=getResponseData(se);const ae=generateKeyValues(te);const Ae=generateKeyValues(re);d.onConnect?.((i=>d.onError(i)),null);d.onHeaders?.(K,ae,resume,getStatusText(K));d.onData?.(Buffer.from(oe));d.onComplete?.(Ae);deleteMockDispatch(v,p)}function resume(){}return true}function buildMockDispatch(){const i=this[K];const d=this[te];const p=this[ee];return function dispatch(V,K){if(i.isMockActive){try{mockDispatch.call(this,V,K)}catch(ee){if(ee instanceof v){const te=i[re]();if(te===false){throw new v(`${ee.message}: subsequent request to origin ${d} was not allowed (net.connect disabled)`)}if(checkNetConnect(te,d)){p.call(this,V,K)}else{throw new v(`${ee.message}: subsequent request to origin ${d} was not allowed (net.connect is not enabled for this origin)`)}}else{throw ee}}}else{p.call(this,V,K)}}}function checkNetConnect(i,d){const p=new URL(d);if(i===true){return true}else if(Array.isArray(i)&&i.some((i=>matchValue(i,p.host)))){return true}return false}function buildMockOptions(i){if(i){const{agent:d,...p}=i;return p}}i.exports={getResponseData:getResponseData,getMockDispatch:getMockDispatch,addMockDispatch:addMockDispatch,deleteMockDispatch:deleteMockDispatch,buildKey:buildKey,generateKeyValues:generateKeyValues,matchValue:matchValue,getResponse:getResponse,getStatusText:getStatusText,mockDispatch:mockDispatch,buildMockDispatch:buildMockDispatch,checkNetConnect:checkNetConnect,buildMockOptions:buildMockOptions,getHeaderByName:getHeaderByName,buildHeadersFromArray:buildHeadersFromArray}},20613:(i,d,p)=>{const{Transform:v}=p(57075);const{Console:V}=p(37540);const K=process.versions.icu?"✅":"Y ";const ee=process.versions.icu?"❌":"N ";i.exports=class PendingInterceptorsFormatter{constructor({disableColors:i}={}){this.transform=new v({transform(i,d,p){p(null,i)}});this.logger=new V({stdout:this.transform,inspectOptions:{colors:!i&&!process.env.CI}})}format(i){const d=i.map((({method:i,path:d,data:{statusCode:p},persist:v,times:V,timesInvoked:te,origin:re})=>({Method:i,Origin:re,Path:d,"Status code":p,Persistent:v?K:ee,Invocations:te,Remaining:v?Infinity:V-te})));this.logger.table(d);return this.transform.read().toString()}}},40422:i=>{const d={pronoun:"it",is:"is",was:"was",this:"this"};const p={pronoun:"they",is:"are",was:"were",this:"these"};i.exports=class Pluralizer{constructor(i,d){this.singular=i;this.plural=d}pluralize(i){const v=i===1;const V=v?d:p;const K=v?this.singular:this.plural;return{...V,count:i,noun:K}}}},46416:i=>{let d=0;const p=1e3;const v=(p>>1)-1;let V;const K=Symbol("kFastTimer");const ee=[];const te=-2;const re=-1;const ne=0;const se=1;function onTick(){d+=v;let i=0;let p=ee.length;while(i=V._idleStart+V._idleTimeout){V._state=re;V._idleStart=-1;V._onTimeout(V._timerArg)}if(V._state===re){V._state=te;if(--p!==0){ee[i]=ee[p]}}else{++i}}ee.length=p;if(ee.length!==0){refreshTimeout()}}function refreshTimeout(){if(V){V.refresh()}else{clearTimeout(V);V=setTimeout(onTick,v);if(V.unref){V.unref()}}}class FastTimer{[K]=true;_state=te;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(i,d,p){this._onTimeout=i;this._idleTimeout=d;this._timerArg=p;this.refresh()}refresh(){if(this._state===te){ee.push(this)}if(!V||ee.length===1){refreshTimeout()}this._state=ne}clear(){this._state=re;this._idleStart=-1}}i.exports={setTimeout(i,d,v){return d<=p?setTimeout(i,d,v):new FastTimer(i,d,v)},clearTimeout(i){if(i[K]){i.clear()}else{clearTimeout(i)}},setFastTimeout(i,d,p){return new FastTimer(i,d,p)},clearFastTimeout(i){i.clear()},now(){return d},tick(i=0){d+=i-p+1;onTick();onTick()},reset(){d=0;ee.length=0;clearTimeout(V);V=null},kFastTimer:K}},48097:(i,d,p)=>{const{kConstruct:v}=p(38362);const{urlEquals:V,getFieldValues:K}=p(3047);const{kEnumerableProperty:ee,isDisturbed:te}=p(61671);const{webidl:re}=p(17092);const{Response:ne,cloneResponse:se,fromInnerResponse:ie}=p(60318);const{Request:oe,fromInnerRequest:ae}=p(83772);const{kState:Ae}=p(23216);const{fetching:ce}=p(21609);const{urlIsHttpHttpsScheme:le,createDeferredPromise:ue,readAllBytes:de}=p(39921);const he=p(34589);class Cache{#k;constructor(){if(arguments[0]!==v){re.illegalConstructor()}re.util.markAsUncloneable(this);this.#k=arguments[1]}async match(i,d={}){re.brandCheck(this,Cache);const p="Cache.match";re.argumentLengthCheck(arguments,1,p);i=re.converters.RequestInfo(i,p,"request");d=re.converters.CacheQueryOptions(d,p,"options");const v=this.#T(i,d,1);if(v.length===0){return}return v[0]}async matchAll(i=undefined,d={}){re.brandCheck(this,Cache);const p="Cache.matchAll";if(i!==undefined)i=re.converters.RequestInfo(i,p,"request");d=re.converters.CacheQueryOptions(d,p,"options");return this.#T(i,d)}async add(i){re.brandCheck(this,Cache);const d="Cache.add";re.argumentLengthCheck(arguments,1,d);i=re.converters.RequestInfo(i,d,"request");const p=[i];const v=this.addAll(p);return await v}async addAll(i){re.brandCheck(this,Cache);const d="Cache.addAll";re.argumentLengthCheck(arguments,1,d);const p=[];const v=[];for(let p of i){if(p===undefined){throw re.errors.conversionFailed({prefix:d,argument:"Argument 1",types:["undefined is not allowed"]})}p=re.converters.RequestInfo(p);if(typeof p==="string"){continue}const i=p[Ae];if(!le(i.url)||i.method!=="GET"){throw re.errors.exception({header:d,message:"Expected http/s scheme when method is not GET."})}}const V=[];for(const ee of i){const i=new oe(ee)[Ae];if(!le(i.url)){throw re.errors.exception({header:d,message:"Expected http/s scheme."})}i.initiator="fetch";i.destination="subresource";v.push(i);const te=ue();V.push(ce({request:i,processResponse(i){if(i.type==="error"||i.status===206||i.status<200||i.status>299){te.reject(re.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}))}else if(i.headersList.contains("vary")){const d=K(i.headersList.get("vary"));for(const i of d){if(i==="*"){te.reject(re.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(const i of V){i.abort()}return}}}},processResponseEndOfBody(i){if(i.aborted){te.reject(new DOMException("aborted","AbortError"));return}te.resolve(i)}}));p.push(te.promise)}const ee=Promise.all(p);const te=await ee;const ne=[];let se=0;for(const i of te){const d={type:"put",request:v[se],response:i};ne.push(d);se++}const ie=ue();let ae=null;try{this.#N(ne)}catch(i){ae=i}queueMicrotask((()=>{if(ae===null){ie.resolve(undefined)}else{ie.reject(ae)}}));return ie.promise}async put(i,d){re.brandCheck(this,Cache);const p="Cache.put";re.argumentLengthCheck(arguments,2,p);i=re.converters.RequestInfo(i,p,"request");d=re.converters.Response(d,p,"response");let v=null;if(i instanceof oe){v=i[Ae]}else{v=new oe(i)[Ae]}if(!le(v.url)||v.method!=="GET"){throw re.errors.exception({header:p,message:"Expected an http/s scheme when method is not GET"})}const V=d[Ae];if(V.status===206){throw re.errors.exception({header:p,message:"Got 206 status"})}if(V.headersList.contains("vary")){const i=K(V.headersList.get("vary"));for(const d of i){if(d==="*"){throw re.errors.exception({header:p,message:"Got * vary field value"})}}}if(V.body&&(te(V.body.stream)||V.body.stream.locked)){throw re.errors.exception({header:p,message:"Response body is locked or disturbed"})}const ee=se(V);const ne=ue();if(V.body!=null){const i=V.body.stream;const d=i.getReader();de(d).then(ne.resolve,ne.reject)}else{ne.resolve(undefined)}const ie=[];const ae={type:"put",request:v,response:ee};ie.push(ae);const ce=await ne.promise;if(ee.body!=null){ee.body.source=ce}const he=ue();let fe=null;try{this.#N(ie)}catch(i){fe=i}queueMicrotask((()=>{if(fe===null){he.resolve()}else{he.reject(fe)}}));return he.promise}async delete(i,d={}){re.brandCheck(this,Cache);const p="Cache.delete";re.argumentLengthCheck(arguments,1,p);i=re.converters.RequestInfo(i,p,"request");d=re.converters.CacheQueryOptions(d,p,"options");let v=null;if(i instanceof oe){v=i[Ae];if(v.method!=="GET"&&!d.ignoreMethod){return false}}else{he(typeof i==="string");v=new oe(i)[Ae]}const V=[];const K={type:"delete",request:v,options:d};V.push(K);const ee=ue();let te=null;let ne;try{ne=this.#N(V)}catch(i){te=i}queueMicrotask((()=>{if(te===null){ee.resolve(!!ne?.length)}else{ee.reject(te)}}));return ee.promise}async keys(i=undefined,d={}){re.brandCheck(this,Cache);const p="Cache.keys";if(i!==undefined)i=re.converters.RequestInfo(i,p,"request");d=re.converters.CacheQueryOptions(d,p,"options");let v=null;if(i!==undefined){if(i instanceof oe){v=i[Ae];if(v.method!=="GET"&&!d.ignoreMethod){return[]}}else if(typeof i==="string"){v=new oe(i)[Ae]}}const V=ue();const K=[];if(i===undefined){for(const i of this.#k){K.push(i[0])}}else{const i=this.#D(v,d);for(const d of i){K.push(d[0])}}queueMicrotask((()=>{const i=[];for(const d of K){const p=ae(d,(new AbortController).signal,"immutable");i.push(p)}V.resolve(Object.freeze(i))}));return V.promise}#N(i){const d=this.#k;const p=[...d];const v=[];const V=[];try{for(const p of i){if(p.type!=="delete"&&p.type!=="put"){throw re.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'})}if(p.type==="delete"&&p.response!=null){throw re.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"})}if(this.#D(p.request,p.options,v).length){throw new DOMException("???","InvalidStateError")}let i;if(p.type==="delete"){i=this.#D(p.request,p.options);if(i.length===0){return[]}for(const p of i){const i=d.indexOf(p);he(i!==-1);d.splice(i,1)}}else if(p.type==="put"){if(p.response==null){throw re.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"})}const V=p.request;if(!le(V.url)){throw re.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"})}if(V.method!=="GET"){throw re.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"})}if(p.options!=null){throw re.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"})}i=this.#D(p.request);for(const p of i){const i=d.indexOf(p);he(i!==-1);d.splice(i,1)}d.push([p.request,p.response]);v.push([p.request,p.response])}V.push([p.request,p.response])}return V}catch(i){this.#k.length=0;this.#k=p;throw i}}#D(i,d,p){const v=[];const V=p??this.#k;for(const p of V){const[V,K]=p;if(this.#x(i,V,K,d)){v.push(p)}}return v}#x(i,d,p=null,v){const ee=new URL(i.url);const te=new URL(d.url);if(v?.ignoreSearch){te.search="";ee.search=""}if(!V(ee,te,true)){return false}if(p==null||v?.ignoreVary||!p.headersList.contains("vary")){return true}const re=K(p.headersList.get("vary"));for(const p of re){if(p==="*"){return false}const v=d.headersList.get(p);const V=i.headersList.get(p);if(v!==V){return false}}return true}#T(i,d,p=Infinity){let v=null;if(i!==undefined){if(i instanceof oe){v=i[Ae];if(v.method!=="GET"&&!d.ignoreMethod){return[]}}else if(typeof i==="string"){v=new oe(i)[Ae]}}const V=[];if(i===undefined){for(const i of this.#k){V.push(i[1])}}else{const i=this.#D(v,d);for(const d of i){V.push(d[1])}}const K=[];for(const i of V){const d=ie(i,"immutable");K.push(d.clone());if(K.length>=p){break}}return Object.freeze(K)}}Object.defineProperties(Cache.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:true},match:ee,matchAll:ee,add:ee,addAll:ee,put:ee,delete:ee,keys:ee});const fe=[{key:"ignoreSearch",converter:re.converters.boolean,defaultValue:()=>false},{key:"ignoreMethod",converter:re.converters.boolean,defaultValue:()=>false},{key:"ignoreVary",converter:re.converters.boolean,defaultValue:()=>false}];re.converters.CacheQueryOptions=re.dictionaryConverter(fe);re.converters.MultiCacheQueryOptions=re.dictionaryConverter([...fe,{key:"cacheName",converter:re.converters.DOMString}]);re.converters.Response=re.interfaceConverter(ne);re.converters["sequence"]=re.sequenceConverter(re.converters.RequestInfo);i.exports={Cache:Cache}},75488:(i,d,p)=>{const{kConstruct:v}=p(38362);const{Cache:V}=p(48097);const{webidl:K}=p(17092);const{kEnumerableProperty:ee}=p(61671);class CacheStorage{#F=new Map;constructor(){if(arguments[0]!==v){K.illegalConstructor()}K.util.markAsUncloneable(this)}async match(i,d={}){K.brandCheck(this,CacheStorage);K.argumentLengthCheck(arguments,1,"CacheStorage.match");i=K.converters.RequestInfo(i);d=K.converters.MultiCacheQueryOptions(d);if(d.cacheName!=null){if(this.#F.has(d.cacheName)){const p=this.#F.get(d.cacheName);const K=new V(v,p);return await K.match(i,d)}}else{for(const p of this.#F.values()){const K=new V(v,p);const ee=await K.match(i,d);if(ee!==undefined){return ee}}}}async has(i){K.brandCheck(this,CacheStorage);const d="CacheStorage.has";K.argumentLengthCheck(arguments,1,d);i=K.converters.DOMString(i,d,"cacheName");return this.#F.has(i)}async open(i){K.brandCheck(this,CacheStorage);const d="CacheStorage.open";K.argumentLengthCheck(arguments,1,d);i=K.converters.DOMString(i,d,"cacheName");if(this.#F.has(i)){const d=this.#F.get(i);return new V(v,d)}const p=[];this.#F.set(i,p);return new V(v,p)}async delete(i){K.brandCheck(this,CacheStorage);const d="CacheStorage.delete";K.argumentLengthCheck(arguments,1,d);i=K.converters.DOMString(i,d,"cacheName");return this.#F.delete(i)}async keys(){K.brandCheck(this,CacheStorage);const i=this.#F.keys();return[...i]}}Object.defineProperties(CacheStorage.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:true},match:ee,has:ee,open:ee,delete:ee,keys:ee});i.exports={CacheStorage:CacheStorage}},38362:(i,d,p)=>{i.exports={kConstruct:p(65082).kConstruct}},3047:(i,d,p)=>{const v=p(34589);const{URLSerializer:V}=p(37953);const{isValidHeaderName:K}=p(39921);function urlEquals(i,d,p=false){const v=V(i,p);const K=V(d,p);return v===K}function getFieldValues(i){v(i!==null);const d=[];for(let p of i.split(",")){p=p.trim();if(K(p)){d.push(p)}}return d}i.exports={urlEquals:urlEquals,getFieldValues:getFieldValues}},90835:i=>{const d=1024;const p=4096;i.exports={maxAttributeValueSize:d,maxNameValuePairSize:p}},85762:(i,d,p)=>{const{parseSetCookie:v}=p(75905);const{stringify:V}=p(16300);const{webidl:K}=p(17092);const{Headers:ee}=p(54591);function getCookies(i){K.argumentLengthCheck(arguments,1,"getCookies");K.brandCheck(i,ee,{strict:false});const d=i.get("cookie");const p={};if(!d){return p}for(const i of d.split(";")){const[d,...v]=i.split("=");p[d.trim()]=v.join("=")}return p}function deleteCookie(i,d,p){K.brandCheck(i,ee,{strict:false});const v="deleteCookie";K.argumentLengthCheck(arguments,2,v);d=K.converters.DOMString(d,v,"name");p=K.converters.DeleteCookieAttributes(p);setCookie(i,{name:d,value:"",expires:new Date(0),...p})}function getSetCookies(i){K.argumentLengthCheck(arguments,1,"getSetCookies");K.brandCheck(i,ee,{strict:false});const d=i.getSetCookie();if(!d){return[]}return d.map((i=>v(i)))}function setCookie(i,d){K.argumentLengthCheck(arguments,2,"setCookie");K.brandCheck(i,ee,{strict:false});d=K.converters.Cookie(d);const p=V(d);if(p){i.append("Set-Cookie",p)}}K.converters.DeleteCookieAttributes=K.dictionaryConverter([{converter:K.nullableConverter(K.converters.DOMString),key:"path",defaultValue:()=>null},{converter:K.nullableConverter(K.converters.DOMString),key:"domain",defaultValue:()=>null}]);K.converters.Cookie=K.dictionaryConverter([{converter:K.converters.DOMString,key:"name"},{converter:K.converters.DOMString,key:"value"},{converter:K.nullableConverter((i=>{if(typeof i==="number"){return K.converters["unsigned long long"](i)}return new Date(i)})),key:"expires",defaultValue:()=>null},{converter:K.nullableConverter(K.converters["long long"]),key:"maxAge",defaultValue:()=>null},{converter:K.nullableConverter(K.converters.DOMString),key:"domain",defaultValue:()=>null},{converter:K.nullableConverter(K.converters.DOMString),key:"path",defaultValue:()=>null},{converter:K.nullableConverter(K.converters.boolean),key:"secure",defaultValue:()=>null},{converter:K.nullableConverter(K.converters.boolean),key:"httpOnly",defaultValue:()=>null},{converter:K.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:K.sequenceConverter(K.converters.DOMString),key:"unparsed",defaultValue:()=>new Array(0)}]);i.exports={getCookies:getCookies,deleteCookie:deleteCookie,getSetCookies:getSetCookies,setCookie:setCookie}},75905:(i,d,p)=>{const{maxNameValuePairSize:v,maxAttributeValueSize:V}=p(90835);const{isCTLExcludingHtab:K}=p(16300);const{collectASequenceOfCodePointsFast:ee}=p(37953);const te=p(34589);function parseSetCookie(i){if(K(i)){return null}let d="";let p="";let V="";let te="";if(i.includes(";")){const v={position:0};d=ee(";",i,v);p=i.slice(v.position)}else{d=i}if(!d.includes("=")){te=d}else{const i={position:0};V=ee("=",d,i);te=d.slice(i.position+1)}V=V.trim();te=te.trim();if(V.length+te.length>v){return null}return{name:V,value:te,...parseUnparsedAttributes(p)}}function parseUnparsedAttributes(i,d={}){if(i.length===0){return d}te(i[0]===";");i=i.slice(1);let p="";if(i.includes(";")){p=ee(";",i,{position:0});i=i.slice(p.length)}else{p=i;i=""}let v="";let K="";if(p.includes("=")){const i={position:0};v=ee("=",p,i);K=p.slice(i.position+1)}else{v=p}v=v.trim();K=K.trim();if(K.length>V){return parseUnparsedAttributes(i,d)}const re=v.toLowerCase();if(re==="expires"){const i=new Date(K);d.expires=i}else if(re==="max-age"){const p=K.charCodeAt(0);if((p<48||p>57)&&K[0]!=="-"){return parseUnparsedAttributes(i,d)}if(!/^\d+$/.test(K)){return parseUnparsedAttributes(i,d)}const v=Number(K);d.maxAge=v}else if(re==="domain"){let i=K;if(i[0]==="."){i=i.slice(1)}i=i.toLowerCase();d.domain=i}else if(re==="path"){let i="";if(K.length===0||K[0]!=="/"){i="/"}else{i=K}d.path=i}else if(re==="secure"){d.secure=true}else if(re==="httponly"){d.httpOnly=true}else if(re==="samesite"){let i="Default";const p=K.toLowerCase();if(p.includes("none")){i="None"}if(p.includes("strict")){i="Strict"}if(p.includes("lax")){i="Lax"}d.sameSite=i}else{d.unparsed??=[];d.unparsed.push(`${v}=${K}`)}return parseUnparsedAttributes(i,d)}i.exports={parseSetCookie:parseSetCookie,parseUnparsedAttributes:parseUnparsedAttributes}},16300:i=>{function isCTLExcludingHtab(i){for(let d=0;d=0&&p<=8||p>=10&&p<=31||p===127){return true}}return false}function validateCookieName(i){for(let d=0;d126||p===34||p===40||p===41||p===60||p===62||p===64||p===44||p===59||p===58||p===92||p===47||p===91||p===93||p===63||p===61||p===123||p===125){throw new Error("Invalid cookie name")}}}function validateCookieValue(i){let d=i.length;let p=0;if(i[0]==='"'){if(d===1||i[d-1]!=='"'){throw new Error("Invalid cookie value")}--d;++p}while(p126||d===34||d===44||d===59||d===92){throw new Error("Invalid cookie value")}}}function validateCookiePath(i){for(let d=0;dd.toString().padStart(2,"0")));function toIMFDate(i){if(typeof i==="number"){i=new Date(i)}return`${d[i.getUTCDay()]}, ${v[i.getUTCDate()]} ${p[i.getUTCMonth()]} ${i.getUTCFullYear()} ${v[i.getUTCHours()]}:${v[i.getUTCMinutes()]}:${v[i.getUTCSeconds()]} GMT`}function validateCookieMaxAge(i){if(i<0){throw new Error("Invalid cookie max-age")}}function stringify(i){if(i.name.length===0){return null}validateCookieName(i.name);validateCookieValue(i.value);const d=[`${i.name}=${i.value}`];if(i.name.startsWith("__Secure-")){i.secure=true}if(i.name.startsWith("__Host-")){i.secure=true;i.domain=null;i.path="/"}if(i.secure){d.push("Secure")}if(i.httpOnly){d.push("HttpOnly")}if(typeof i.maxAge==="number"){validateCookieMaxAge(i.maxAge);d.push(`Max-Age=${i.maxAge}`)}if(i.domain){validateCookieDomain(i.domain);d.push(`Domain=${i.domain}`)}if(i.path){validateCookiePath(i.path);d.push(`Path=${i.path}`)}if(i.expires&&i.expires.toString()!=="Invalid Date"){d.push(`Expires=${toIMFDate(i.expires)}`)}if(i.sameSite){d.push(`SameSite=${i.sameSite}`)}for(const p of i.unparsed){if(!p.includes("=")){throw new Error("Invalid unparsed")}const[i,...v]=p.split("=");d.push(`${i.trim()}=${v.join("=")}`)}return d.join("; ")}i.exports={isCTLExcludingHtab:isCTLExcludingHtab,validateCookieName:validateCookieName,validateCookiePath:validateCookiePath,validateCookieValue:validateCookieValue,toIMFDate:toIMFDate,stringify:stringify}},48510:(i,d,p)=>{const{Transform:v}=p(57075);const{isASCIINumber:V,isValidLastEventId:K}=p(8114);const ee=[239,187,191];const te=10;const re=13;const ne=58;const se=32;class EventSourceStream extends v{state=null;checkBOM=true;crlfCheck=false;eventEndCheck=false;buffer=null;pos=0;event={data:undefined,event:undefined,id:undefined,retry:undefined};constructor(i={}){i.readableObjectMode=true;super(i);this.state=i.eventSourceSettings||{};if(i.push){this.push=i.push}}_transform(i,d,p){if(i.length===0){p();return}if(this.buffer){this.buffer=Buffer.concat([this.buffer,i])}else{this.buffer=i}if(this.checkBOM){switch(this.buffer.length){case 1:if(this.buffer[0]===ee[0]){p();return}this.checkBOM=false;p();return;case 2:if(this.buffer[0]===ee[0]&&this.buffer[1]===ee[1]){p();return}this.checkBOM=false;break;case 3:if(this.buffer[0]===ee[0]&&this.buffer[1]===ee[1]&&this.buffer[2]===ee[2]){this.buffer=Buffer.alloc(0);this.checkBOM=false;p();return}this.checkBOM=false;break;default:if(this.buffer[0]===ee[0]&&this.buffer[1]===ee[1]&&this.buffer[2]===ee[2]){this.buffer=this.buffer.subarray(3)}this.checkBOM=false;break}}while(this.pos0){d[v]=ee}break}}processEvent(i){if(i.retry&&V(i.retry)){this.state.reconnectionTime=parseInt(i.retry,10)}if(i.id&&K(i.id)){this.state.lastEventId=i.id}if(i.data!==undefined){this.push({type:i.event||"message",options:{data:i.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}}clearEvent(){this.event={data:undefined,event:undefined,id:undefined,retry:undefined}}}i.exports={EventSourceStream:EventSourceStream}},39917:(i,d,p)=>{const{pipeline:v}=p(57075);const{fetching:V}=p(21609);const{makeRequest:K}=p(83772);const{webidl:ee}=p(17092);const{EventSourceStream:te}=p(48510);const{parseMIMEType:re}=p(37953);const{createFastMessageEvent:ne}=p(97049);const{isNetworkError:se}=p(60318);const{delay:ie}=p(8114);const{kEnumerableProperty:oe}=p(61671);const{environmentSettingsObject:ae}=p(39921);let Ae=false;const ce=3e3;const le=0;const ue=1;const de=2;const he="anonymous";const fe="use-credentials";class EventSource extends EventTarget{#P={open:null,error:null,message:null};#L=null;#_=false;#M=le;#U=null;#O=null;#e;#y;constructor(i,d={}){super();ee.util.markAsUncloneable(this);const p="EventSource constructor";ee.argumentLengthCheck(arguments,1,p);if(!Ae){Ae=true;process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})}i=ee.converters.USVString(i,p,"url");d=ee.converters.EventSourceInitDict(d,p,"eventSourceInitDict");this.#e=d.dispatcher;this.#y={lastEventId:"",reconnectionTime:ce};const v=ae;let V;try{V=new URL(i,v.settingsObject.baseUrl);this.#y.origin=V.origin}catch(i){throw new DOMException(i,"SyntaxError")}this.#L=V.href;let te=he;if(d.withCredentials){te=fe;this.#_=true}const re={redirect:"follow",keepalive:true,mode:"cors",credentials:te==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};re.client=ae.settingsObject;re.headersList=[["accept",{name:"accept",value:"text/event-stream"}]];re.cache="no-store";re.initiator="other";re.urlList=[new URL(this.#L)];this.#U=K(re);this.#H()}get readyState(){return this.#M}get url(){return this.#L}get withCredentials(){return this.#_}#H(){if(this.#M===de)return;this.#M=le;const i={request:this.#U,dispatcher:this.#e};const processEventSourceEndOfBody=i=>{if(se(i)){this.dispatchEvent(new Event("error"));this.close()}this.#G()};i.processResponseEndOfBody=processEventSourceEndOfBody;i.processResponse=i=>{if(se(i)){if(i.aborted){this.close();this.dispatchEvent(new Event("error"));return}else{this.#G();return}}const d=i.headersList.get("content-type",true);const p=d!==null?re(d):"failure";const V=p!=="failure"&&p.essence==="text/event-stream";if(i.status!==200||V===false){this.close();this.dispatchEvent(new Event("error"));return}this.#M=ue;this.dispatchEvent(new Event("open"));this.#y.origin=i.urlList[i.urlList.length-1].origin;const K=new te({eventSourceSettings:this.#y,push:i=>{this.dispatchEvent(ne(i.type,i.options))}});v(i.body.stream,K,(i=>{if(i?.aborted===false){this.close();this.dispatchEvent(new Event("error"))}}))};this.#O=V(i)}async#G(){if(this.#M===de)return;this.#M=le;this.dispatchEvent(new Event("error"));await ie(this.#y.reconnectionTime);if(this.#M!==le)return;if(this.#y.lastEventId.length){this.#U.headersList.set("last-event-id",this.#y.lastEventId,true)}this.#H()}close(){ee.brandCheck(this,EventSource);if(this.#M===de)return;this.#M=de;this.#O.abort();this.#U=null}get onopen(){return this.#P.open}set onopen(i){if(this.#P.open){this.removeEventListener("open",this.#P.open)}if(typeof i==="function"){this.#P.open=i;this.addEventListener("open",i)}else{this.#P.open=null}}get onmessage(){return this.#P.message}set onmessage(i){if(this.#P.message){this.removeEventListener("message",this.#P.message)}if(typeof i==="function"){this.#P.message=i;this.addEventListener("message",i)}else{this.#P.message=null}}get onerror(){return this.#P.error}set onerror(i){if(this.#P.error){this.removeEventListener("error",this.#P.error)}if(typeof i==="function"){this.#P.error=i;this.addEventListener("error",i)}else{this.#P.error=null}}}const ge={CONNECTING:{__proto__:null,configurable:false,enumerable:true,value:le,writable:false},OPEN:{__proto__:null,configurable:false,enumerable:true,value:ue,writable:false},CLOSED:{__proto__:null,configurable:false,enumerable:true,value:de,writable:false}};Object.defineProperties(EventSource,ge);Object.defineProperties(EventSource.prototype,ge);Object.defineProperties(EventSource.prototype,{close:oe,onerror:oe,onmessage:oe,onopen:oe,readyState:oe,url:oe,withCredentials:oe});ee.converters.EventSourceInitDict=ee.dictionaryConverter([{key:"withCredentials",converter:ee.converters.boolean,defaultValue:()=>false},{key:"dispatcher",converter:ee.converters.any}]);i.exports={EventSource:EventSource,defaultReconnectionTime:ce}},8114:i=>{function isValidLastEventId(i){return i.indexOf("\0")===-1}function isASCIINumber(i){if(i.length===0)return false;for(let d=0;d57)return false}return true}function delay(i){return new Promise((d=>{setTimeout(d,i).unref()}))}i.exports={isValidLastEventId:isValidLastEventId,isASCIINumber:isASCIINumber,delay:delay}},99161:(i,d,p)=>{const v=p(61671);const{ReadableStreamFrom:V,isBlobLike:K,isReadableStreamLike:ee,readableStreamClose:te,createDeferredPromise:re,fullyReadBody:ne,extractMimeType:se,utf8DecodeBytes:ie}=p(39921);const{FormData:oe}=p(86947);const{kState:ae}=p(23216);const{webidl:Ae}=p(17092);const{Blob:ce}=p(4573);const le=p(34589);const{isErrored:ue,isDisturbed:de}=p(57075);const{isArrayBuffer:he}=p(73429);const{serializeAMimeType:fe}=p(37953);const{multipartFormDataParser:ge}=p(48075);let pe;try{const i=p(77598);pe=d=>i.randomInt(0,d)}catch{pe=i=>Math.floor(Math.random(i))}const me=new TextEncoder;function noop(){}const Ee=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0;let Ce;if(Ee){Ce=new FinalizationRegistry((i=>{const d=i.deref();if(d&&!d.locked&&!de(d)&&!ue(d)){d.cancel("Response object has been garbage collected").catch(noop)}}))}function extractBody(i,d=false){let p=null;if(i instanceof ReadableStream){p=i}else if(K(i)){p=i.stream()}else{p=new ReadableStream({async pull(i){const d=typeof ne==="string"?me.encode(ne):ne;if(d.byteLength){i.enqueue(d)}queueMicrotask((()=>te(i)))},start(){},type:"bytes"})}le(ee(p));let re=null;let ne=null;let se=null;let ie=null;if(typeof i==="string"){ne=i;ie="text/plain;charset=UTF-8"}else if(i instanceof URLSearchParams){ne=i.toString();ie="application/x-www-form-urlencoded;charset=UTF-8"}else if(he(i)){ne=new Uint8Array(i.slice())}else if(ArrayBuffer.isView(i)){ne=new Uint8Array(i.buffer.slice(i.byteOffset,i.byteOffset+i.byteLength))}else if(v.isFormDataLike(i)){const d=`----formdata-undici-0${`${pe(1e11)}`.padStart(11,"0")}`;const p=`--${d}\r\nContent-Disposition: form-data` +/*! formdata-polyfill. MIT License. Jimmy Wärting */;const escape=i=>i.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=i=>i.replace(/\r?\n|\r/g,"\r\n");const v=[];const V=new Uint8Array([13,10]);se=0;let K=false;for(const[d,ee]of i){if(typeof ee==="string"){const i=me.encode(p+`; name="${escape(normalizeLinefeeds(d))}"`+`\r\n\r\n${normalizeLinefeeds(ee)}\r\n`);v.push(i);se+=i.byteLength}else{const i=me.encode(`${p}; name="${escape(normalizeLinefeeds(d))}"`+(ee.name?`; filename="${escape(ee.name)}"`:"")+"\r\n"+`Content-Type: ${ee.type||"application/octet-stream"}\r\n\r\n`);v.push(i,ee,V);if(typeof ee.size==="number"){se+=i.byteLength+ee.size+V.byteLength}else{K=true}}}const ee=me.encode(`--${d}--\r\n`);v.push(ee);se+=ee.byteLength;if(K){se=null}ne=i;re=async function*(){for(const i of v){if(i.stream){yield*i.stream()}else{yield i}}};ie=`multipart/form-data; boundary=${d}`}else if(K(i)){ne=i;se=i.size;if(i.type){ie=i.type}}else if(typeof i[Symbol.asyncIterator]==="function"){if(d){throw new TypeError("keepalive")}if(v.isDisturbed(i)||i.locked){throw new TypeError("Response body object should not be disturbed or locked")}p=i instanceof ReadableStream?i:V(i)}if(typeof ne==="string"||v.isBuffer(ne)){se=Buffer.byteLength(ne)}if(re!=null){let d;p=new ReadableStream({async start(){d=re(i)[Symbol.asyncIterator]()},async pull(i){const{value:v,done:V}=await d.next();if(V){queueMicrotask((()=>{i.close();i.byobRequest?.respond(0)}))}else{if(!ue(p)){const d=new Uint8Array(v);if(d.byteLength){i.enqueue(d)}}}return i.desiredSize>0},async cancel(i){await d.return()},type:"bytes"})}const oe={stream:p,source:ne,length:se};return[oe,ie]}function safelyExtractBody(i,d=false){if(i instanceof ReadableStream){le(!v.isDisturbed(i),"The body has already been consumed.");le(!i.locked,"The stream is locked.")}return extractBody(i,d)}function cloneBody(i,d){const[p,v]=d.stream.tee();d.stream=p;return{stream:v,length:d.length,source:d.source}}function throwIfAborted(i){if(i.aborted){throw new DOMException("The operation was aborted.","AbortError")}}function bodyMixinMethods(i){const d={blob(){return consumeBody(this,(i=>{let d=bodyMimeType(this);if(d===null){d=""}else if(d){d=fe(d)}return new ce([i],{type:d})}),i)},arrayBuffer(){return consumeBody(this,(i=>new Uint8Array(i).buffer),i)},text(){return consumeBody(this,ie,i)},json(){return consumeBody(this,parseJSONFromBytes,i)},formData(){return consumeBody(this,(i=>{const d=bodyMimeType(this);if(d!==null){switch(d.essence){case"multipart/form-data":{const p=ge(i,d);if(p==="failure"){throw new TypeError("Failed to parse body as FormData.")}const v=new oe;v[ae]=p;return v}case"application/x-www-form-urlencoded":{const d=new URLSearchParams(i.toString());const p=new oe;for(const[i,v]of d){p.append(i,v)}return p}}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')}),i)},bytes(){return consumeBody(this,(i=>new Uint8Array(i)),i)}};return d}function mixinBody(i){Object.assign(i.prototype,bodyMixinMethods(i))}async function consumeBody(i,d,p){Ae.brandCheck(i,p);if(bodyUnusable(i)){throw new TypeError("Body is unusable: Body has already been read")}throwIfAborted(i[ae]);const v=re();const errorSteps=i=>v.reject(i);const successSteps=i=>{try{v.resolve(d(i))}catch(i){errorSteps(i)}};if(i[ae].body==null){successSteps(Buffer.allocUnsafe(0));return v.promise}await ne(i[ae].body,successSteps,errorSteps);return v.promise}function bodyUnusable(i){const d=i[ae].body;return d!=null&&(d.stream.locked||v.isDisturbed(d.stream))}function parseJSONFromBytes(i){return JSON.parse(ie(i))}function bodyMimeType(i){const d=i[ae].headersList;const p=se(d);if(p==="failure"){return null}return p}i.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody,streamRegistry:Ce,hasFinalizationRegistry:Ee,bodyUnusable:bodyUnusable}},74832:i=>{const d=["GET","HEAD","POST"];const p=new Set(d);const v=[101,204,205,304];const V=[301,302,303,307,308];const K=new Set(V);const ee=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","4190","5060","5061","6000","6566","6665","6666","6667","6668","6669","6679","6697","10080"];const te=new Set(ee);const re=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"];const ne=new Set(re);const se=["follow","manual","error"];const ie=["GET","HEAD","OPTIONS","TRACE"];const oe=new Set(ie);const ae=["navigate","same-origin","no-cors","cors"];const Ae=["omit","same-origin","include"];const ce=["default","no-store","reload","no-cache","force-cache","only-if-cached"];const le=["content-encoding","content-language","content-location","content-type","content-length"];const ue=["half"];const de=["CONNECT","TRACE","TRACK"];const he=new Set(de);const fe=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""];const ge=new Set(fe);i.exports={subresource:fe,forbiddenMethods:de,requestBodyHeader:le,referrerPolicy:re,requestRedirect:se,requestMode:ae,requestCredentials:Ae,requestCache:ce,redirectStatus:V,corsSafeListedMethods:d,nullBodyStatus:v,safeMethods:ie,badPorts:ee,requestDuplex:ue,subresourceSet:ge,badPortsSet:te,redirectStatusSet:K,corsSafeListedMethodsSet:p,safeMethodsSet:oe,forbiddenMethodsSet:he,referrerPolicySet:ne}},37953:(i,d,p)=>{const v=p(34589);const V=new TextEncoder;const K=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/;const ee=/[\u000A\u000D\u0009\u0020]/;const te=/[\u0009\u000A\u000C\u000D\u0020]/g;const re=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function dataURLProcessor(i){v(i.protocol==="data:");let d=URLSerializer(i,true);d=d.slice(5);const p={position:0};let V=collectASequenceOfCodePointsFast(",",d,p);const K=V.length;V=removeASCIIWhitespace(V,true,true);if(p.position>=d.length){return"failure"}p.position++;const ee=d.slice(K+1);let te=stringPercentDecode(ee);if(/;(\u0020){0,}base64$/i.test(V)){const i=isomorphicDecode(te);te=forgivingBase64(i);if(te==="failure"){return"failure"}V=V.slice(0,-6);V=V.replace(/(\u0020)+$/,"");V=V.slice(0,-1)}if(V.startsWith(";")){V="text/plain"+V}let re=parseMIMEType(V);if(re==="failure"){re=parseMIMEType("text/plain;charset=US-ASCII")}return{mimeType:re,body:te}}function URLSerializer(i,d=false){if(!d){return i.href}const p=i.href;const v=i.hash.length;const V=v===0?p:p.substring(0,p.length-v);if(!v&&p.endsWith("#")){return V.slice(0,-1)}return V}function collectASequenceOfCodePoints(i,d,p){let v="";while(p.position=48&&i<=57||i>=65&&i<=70||i>=97&&i<=102}function hexByteToNumber(i){return i>=48&&i<=57?i-48:(i&223)-55}function percentDecode(i){const d=i.length;const p=new Uint8Array(d);let v=0;for(let V=0;Vi.length){return"failure"}d.position++;let v=collectASequenceOfCodePointsFast(";",i,d);v=removeHTTPWhitespace(v,false,true);if(v.length===0||!K.test(v)){return"failure"}const V=p.toLowerCase();const te=v.toLowerCase();const ne={type:V,subtype:te,parameters:new Map,essence:`${V}/${te}`};while(d.positionee.test(i)),i,d);let p=collectASequenceOfCodePoints((i=>i!==";"&&i!=="="),i,d);p=p.toLowerCase();if(d.positioni.length){break}let v=null;if(i[d.position]==='"'){v=collectAnHTTPQuotedString(i,d,true);collectASequenceOfCodePointsFast(";",i,d)}else{v=collectASequenceOfCodePointsFast(";",i,d);v=removeHTTPWhitespace(v,false,true);if(v.length===0){continue}}if(p.length!==0&&K.test(p)&&(v.length===0||re.test(v))&&!ne.parameters.has(p)){ne.parameters.set(p,v)}}return ne}function forgivingBase64(i){i=i.replace(te,"");let d=i.length;if(d%4===0){if(i.charCodeAt(d-1)===61){--d;if(i.charCodeAt(d-1)===61){--d}}}if(d%4===1){return"failure"}if(/[^+/0-9A-Za-z]/.test(i.length===d?i:i.substring(0,d))){return"failure"}const p=Buffer.from(i,"base64");return new Uint8Array(p.buffer,p.byteOffset,p.byteLength)}function collectAnHTTPQuotedString(i,d,p){const V=d.position;let K="";v(i[d.position]==='"');d.position++;while(true){K+=collectASequenceOfCodePoints((i=>i!=='"'&&i!=="\\"),i,d);if(d.position>=i.length){break}const p=i[d.position];d.position++;if(p==="\\"){if(d.position>=i.length){K+="\\";break}K+=i[d.position];d.position++}else{v(p==='"');break}}if(p){return K}return i.slice(V,d.position)}function serializeAMimeType(i){v(i!=="failure");const{parameters:d,essence:p}=i;let V=p;for(let[i,p]of d.entries()){V+=";";V+=i;V+="=";if(!K.test(p)){p=p.replace(/(\\|")/g,"\\$1");p='"'+p;p+='"'}V+=p}return V}function isHTTPWhiteSpace(i){return i===13||i===10||i===9||i===32}function removeHTTPWhitespace(i,d=true,p=true){return removeChars(i,d,p,isHTTPWhiteSpace)}function isASCIIWhitespace(i){return i===13||i===10||i===9||i===12||i===32}function removeASCIIWhitespace(i,d=true,p=true){return removeChars(i,d,p,isASCIIWhitespace)}function removeChars(i,d,p,v){let V=0;let K=i.length-1;if(d){while(V0&&v(i.charCodeAt(K)))K--}return V===0&&K===i.length-1?i:i.slice(V,K+1)}function isomorphicDecode(i){const d=i.length;if((2<<15)-1>d){return String.fromCharCode.apply(null,i)}let p="";let v=0;let V=(2<<15)-1;while(vd){V=d-v}p+=String.fromCharCode.apply(null,i.subarray(v,v+=V))}return p}function minimizeSupportedMimeType(i){switch(i.essence){case"application/ecmascript":case"application/javascript":case"application/x-ecmascript":case"application/x-javascript":case"text/ecmascript":case"text/javascript":case"text/javascript1.0":case"text/javascript1.1":case"text/javascript1.2":case"text/javascript1.3":case"text/javascript1.4":case"text/javascript1.5":case"text/jscript":case"text/livescript":case"text/x-ecmascript":case"text/x-javascript":return"text/javascript";case"application/json":case"text/json":return"application/json";case"image/svg+xml":return"image/svg+xml";case"text/xml":case"application/xml":return"application/xml"}if(i.subtype.endsWith("+json")){return"application/json"}if(i.subtype.endsWith("+xml")){return"application/xml"}return""}i.exports={dataURLProcessor:dataURLProcessor,URLSerializer:URLSerializer,collectASequenceOfCodePoints:collectASequenceOfCodePoints,collectASequenceOfCodePointsFast:collectASequenceOfCodePointsFast,stringPercentDecode:stringPercentDecode,parseMIMEType:parseMIMEType,collectAnHTTPQuotedString:collectAnHTTPQuotedString,serializeAMimeType:serializeAMimeType,removeChars:removeChars,removeHTTPWhitespace:removeHTTPWhitespace,minimizeSupportedMimeType:minimizeSupportedMimeType,HTTP_TOKEN_CODEPOINTS:K,isomorphicDecode:isomorphicDecode}},60248:(i,d,p)=>{const{kConnected:v,kSize:V}=p(65082);class CompatWeakRef{constructor(i){this.value=i}deref(){return this.value[v]===0&&this.value[V]===0?undefined:this.value}}class CompatFinalizer{constructor(i){this.finalizer=i}register(i,d){if(i.on){i.on("disconnect",(()=>{if(i[v]===0&&i[V]===0){this.finalizer(d)}}))}}unregister(i){}}i.exports=function(){if(process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")){process._rawDebug("Using compatibility WeakRef and FinalizationRegistry");return{WeakRef:CompatWeakRef,FinalizationRegistry:CompatFinalizer}}return{WeakRef:WeakRef,FinalizationRegistry:FinalizationRegistry}}},92267:(i,d,p)=>{const{Blob:v,File:V}=p(4573);const{kState:K}=p(23216);const{webidl:ee}=p(17092);class FileLike{constructor(i,d,p={}){const v=d;const V=p.type;const ee=p.lastModified??Date.now();this[K]={blobLike:i,name:v,type:V,lastModified:ee}}stream(...i){ee.brandCheck(this,FileLike);return this[K].blobLike.stream(...i)}arrayBuffer(...i){ee.brandCheck(this,FileLike);return this[K].blobLike.arrayBuffer(...i)}slice(...i){ee.brandCheck(this,FileLike);return this[K].blobLike.slice(...i)}text(...i){ee.brandCheck(this,FileLike);return this[K].blobLike.text(...i)}get size(){ee.brandCheck(this,FileLike);return this[K].blobLike.size}get type(){ee.brandCheck(this,FileLike);return this[K].blobLike.type}get name(){ee.brandCheck(this,FileLike);return this[K].name}get lastModified(){ee.brandCheck(this,FileLike);return this[K].lastModified}get[Symbol.toStringTag](){return"File"}}ee.converters.Blob=ee.interfaceConverter(v);function isFileLike(i){return i instanceof V||i&&(typeof i.stream==="function"||typeof i.arrayBuffer==="function")&&i[Symbol.toStringTag]==="File"}i.exports={FileLike:FileLike,isFileLike:isFileLike}},48075:(i,d,p)=>{const{isUSVString:v,bufferToLowerCasedHeaderName:V}=p(61671);const{utf8DecodeBytes:K}=p(39921);const{HTTP_TOKEN_CODEPOINTS:ee,isomorphicDecode:te}=p(37953);const{isFileLike:re}=p(92267);const{makeEntry:ne}=p(86947);const se=p(34589);const{File:ie}=p(4573);const oe=globalThis.File??ie;const ae=Buffer.from('form-data; name="');const Ae=Buffer.from("; filename");const ce=Buffer.from("--");const le=Buffer.from("--\r\n");function isAsciiString(i){for(let d=0;d70){return false}for(let p=0;p=48&&d<=57||d>=65&&d<=90||d>=97&&d<=122||d===39||d===45||d===95)){return false}}return true}function multipartFormDataParser(i,d){se(d!=="failure"&&d.essence==="multipart/form-data");const p=d.parameters.get("boundary");if(p===undefined){return"failure"}const V=Buffer.from(`--${p}`,"utf8");const ee=[];const te={position:0};while(i[te.position]===13&&i[te.position+1]===10){te.position+=2}let ie=i.length;while(i[ie-1]===10&&i[ie-2]===13){ie-=2}if(ie!==i.length){i=i.subarray(0,ie)}while(true){if(i.subarray(te.position,te.position+V.length).equals(V)){te.position+=V.length}else{return"failure"}if(te.position===i.length-2&&bufferStartsWith(i,ce,te)||te.position===i.length-4&&bufferStartsWith(i,le,te)){return ee}if(i[te.position]!==13||i[te.position+1]!==10){return"failure"}te.position+=2;const d=parseMultipartFormDataHeaders(i,te);if(d==="failure"){return"failure"}let{name:p,filename:ie,contentType:ae,encoding:Ae}=d;te.position+=2;let ue;{const d=i.indexOf(V.subarray(2),te.position);if(d===-1){return"failure"}ue=i.subarray(te.position,d-4);te.position+=ue.length;if(Ae==="base64"){ue=Buffer.from(ue.toString(),"base64")}}if(i[te.position]!==13||i[te.position+1]!==10){return"failure"}else{te.position+=2}let de;if(ie!==null){ae??="text/plain";if(!isAsciiString(ae)){ae=""}de=new oe([ue],ie,{type:ae})}else{de=K(Buffer.from(ue))}se(v(p));se(typeof de==="string"&&v(de)||re(de));ee.push(ne(p,de,ie))}}function parseMultipartFormDataHeaders(i,d){let p=null;let v=null;let K=null;let re=null;while(true){if(i[d.position]===13&&i[d.position+1]===10){if(p===null){return"failure"}return{name:p,filename:v,contentType:K,encoding:re}}let ne=collectASequenceOfBytes((i=>i!==10&&i!==13&&i!==58),i,d);ne=removeChars(ne,true,true,(i=>i===9||i===32));if(!ee.test(ne.toString())){return"failure"}if(i[d.position]!==58){return"failure"}d.position++;collectASequenceOfBytes((i=>i===32||i===9),i,d);switch(V(ne)){case"content-disposition":{p=v=null;if(!bufferStartsWith(i,ae,d)){return"failure"}d.position+=17;p=parseMultipartFormDataName(i,d);if(p===null){return"failure"}if(bufferStartsWith(i,Ae,d)){let p=d.position+Ae.length;if(i[p]===42){d.position+=1;p+=1}if(i[p]!==61||i[p+1]!==34){return"failure"}d.position+=12;v=parseMultipartFormDataName(i,d);if(v===null){return"failure"}}break}case"content-type":{let p=collectASequenceOfBytes((i=>i!==10&&i!==13),i,d);p=removeChars(p,false,true,(i=>i===9||i===32));K=te(p);break}case"content-transfer-encoding":{let p=collectASequenceOfBytes((i=>i!==10&&i!==13),i,d);p=removeChars(p,false,true,(i=>i===9||i===32));re=te(p);break}default:{collectASequenceOfBytes((i=>i!==10&&i!==13),i,d)}}if(i[d.position]!==13&&i[d.position+1]!==10){return"failure"}else{d.position+=2}}}function parseMultipartFormDataName(i,d){se(i[d.position-1]===34);let p=collectASequenceOfBytes((i=>i!==10&&i!==13&&i!==34),i,d);if(i[d.position]!==34){return null}else{d.position++}p=(new TextDecoder).decode(p).replace(/%0A/gi,"\n").replace(/%0D/gi,"\r").replace(/%22/g,'"');return p}function collectASequenceOfBytes(i,d,p){let v=p.position;while(v0&&v(i[K]))K--}return V===0&&K===i.length-1?i:i.subarray(V,K+1)}function bufferStartsWith(i,d,p){if(i.length{const{isBlobLike:v,iteratorMixin:V}=p(39921);const{kState:K}=p(23216);const{kEnumerableProperty:ee}=p(61671);const{FileLike:te,isFileLike:re}=p(92267);const{webidl:ne}=p(17092);const{File:se}=p(4573);const ie=p(57975);const oe=globalThis.File??se;class FormData{constructor(i){ne.util.markAsUncloneable(this);if(i!==undefined){throw ne.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}this[K]=[]}append(i,d,p=undefined){ne.brandCheck(this,FormData);const V="FormData.append";ne.argumentLengthCheck(arguments,2,V);if(arguments.length===3&&!v(d)){throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'")}i=ne.converters.USVString(i,V,"name");d=v(d)?ne.converters.Blob(d,V,"value",{strict:false}):ne.converters.USVString(d,V,"value");p=arguments.length===3?ne.converters.USVString(p,V,"filename"):undefined;const ee=makeEntry(i,d,p);this[K].push(ee)}delete(i){ne.brandCheck(this,FormData);const d="FormData.delete";ne.argumentLengthCheck(arguments,1,d);i=ne.converters.USVString(i,d,"name");this[K]=this[K].filter((d=>d.name!==i))}get(i){ne.brandCheck(this,FormData);const d="FormData.get";ne.argumentLengthCheck(arguments,1,d);i=ne.converters.USVString(i,d,"name");const p=this[K].findIndex((d=>d.name===i));if(p===-1){return null}return this[K][p].value}getAll(i){ne.brandCheck(this,FormData);const d="FormData.getAll";ne.argumentLengthCheck(arguments,1,d);i=ne.converters.USVString(i,d,"name");return this[K].filter((d=>d.name===i)).map((i=>i.value))}has(i){ne.brandCheck(this,FormData);const d="FormData.has";ne.argumentLengthCheck(arguments,1,d);i=ne.converters.USVString(i,d,"name");return this[K].findIndex((d=>d.name===i))!==-1}set(i,d,p=undefined){ne.brandCheck(this,FormData);const V="FormData.set";ne.argumentLengthCheck(arguments,2,V);if(arguments.length===3&&!v(d)){throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'")}i=ne.converters.USVString(i,V,"name");d=v(d)?ne.converters.Blob(d,V,"name",{strict:false}):ne.converters.USVString(d,V,"name");p=arguments.length===3?ne.converters.USVString(p,V,"name"):undefined;const ee=makeEntry(i,d,p);const te=this[K].findIndex((d=>d.name===i));if(te!==-1){this[K]=[...this[K].slice(0,te),ee,...this[K].slice(te+1).filter((d=>d.name!==i))]}else{this[K].push(ee)}}[ie.inspect.custom](i,d){const p=this[K].reduce(((i,d)=>{if(i[d.name]){if(Array.isArray(i[d.name])){i[d.name].push(d.value)}else{i[d.name]=[i[d.name],d.value]}}else{i[d.name]=d.value}return i}),{__proto__:null});d.depth??=i;d.colors??=true;const v=ie.formatWithOptions(d,p);return`FormData ${v.slice(v.indexOf("]")+2)}`}}V("FormData",FormData,K,"name","value");Object.defineProperties(FormData.prototype,{append:ee,delete:ee,get:ee,getAll:ee,has:ee,set:ee,[Symbol.toStringTag]:{value:"FormData",configurable:true}});function makeEntry(i,d,p){if(typeof d==="string"){}else{if(!re(d)){d=d instanceof Blob?new oe([d],"blob",{type:d.type}):new te(d,"blob",{type:d.type})}if(p!==undefined){const i={type:d.type,lastModified:d.lastModified};d=d instanceof se?new oe([d],p,i):new te(d,p,i)}}return{name:i,value:d}}i.exports={FormData:FormData,makeEntry:makeEntry}},70262:i=>{const d=Symbol.for("undici.globalOrigin.1");function getGlobalOrigin(){return globalThis[d]}function setGlobalOrigin(i){if(i===undefined){Object.defineProperty(globalThis,d,{value:undefined,writable:true,enumerable:false,configurable:false});return}const p=new URL(i);if(p.protocol!=="http:"&&p.protocol!=="https:"){throw new TypeError(`Only http & https urls are allowed, received ${p.protocol}`)}Object.defineProperty(globalThis,d,{value:p,writable:true,enumerable:false,configurable:false})}i.exports={getGlobalOrigin:getGlobalOrigin,setGlobalOrigin:setGlobalOrigin}},54591:(i,d,p)=>{const{kConstruct:v}=p(65082);const{kEnumerableProperty:V}=p(61671);const{iteratorMixin:K,isValidHeaderName:ee,isValidHeaderValue:te}=p(39921);const{webidl:re}=p(17092);const ne=p(34589);const se=p(57975);const ie=Symbol("headers map");const oe=Symbol("headers map sorted");function isHTTPWhiteSpaceCharCode(i){return i===10||i===13||i===9||i===32}function headerValueNormalize(i){let d=0;let p=i.length;while(p>d&&isHTTPWhiteSpaceCharCode(i.charCodeAt(p-1)))--p;while(p>d&&isHTTPWhiteSpaceCharCode(i.charCodeAt(d)))++d;return d===0&&p===i.length?i:i.substring(d,p)}function fill(i,d){if(Array.isArray(d)){for(let p=0;p>","record"]})}}function appendHeader(i,d,p){p=headerValueNormalize(p);if(!ee(d)){throw re.errors.invalidArgument({prefix:"Headers.append",value:d,type:"header name"})}else if(!te(p)){throw re.errors.invalidArgument({prefix:"Headers.append",value:p,type:"header value"})}if(ae(i)==="immutable"){throw new TypeError("immutable")}return ce(i).append(d,p,false)}function compareHeaderName(i,d){return i[0]>1);if(d[te][0]<=re[0]){ee=te+1}else{K=te}}if(v!==te){V=v;while(V>ee){d[V]=d[--V]}d[ee]=re}}if(!p.next().done){throw new TypeError("Unreachable")}return d}else{let i=0;for(const{0:p,1:{value:v}}of this[ie]){d[i++]=[p,v];ne(v!==null)}return d.sort(compareHeaderName)}}}class Headers{#V;#q;constructor(i=undefined){re.util.markAsUncloneable(this);if(i===v){return}this.#q=new HeadersList;this.#V="none";if(i!==undefined){i=re.converters.HeadersInit(i,"Headers contructor","init");fill(this,i)}}append(i,d){re.brandCheck(this,Headers);re.argumentLengthCheck(arguments,2,"Headers.append");const p="Headers.append";i=re.converters.ByteString(i,p,"name");d=re.converters.ByteString(d,p,"value");return appendHeader(this,i,d)}delete(i){re.brandCheck(this,Headers);re.argumentLengthCheck(arguments,1,"Headers.delete");const d="Headers.delete";i=re.converters.ByteString(i,d,"name");if(!ee(i)){throw re.errors.invalidArgument({prefix:"Headers.delete",value:i,type:"header name"})}if(this.#V==="immutable"){throw new TypeError("immutable")}if(!this.#q.contains(i,false)){return}this.#q.delete(i,false)}get(i){re.brandCheck(this,Headers);re.argumentLengthCheck(arguments,1,"Headers.get");const d="Headers.get";i=re.converters.ByteString(i,d,"name");if(!ee(i)){throw re.errors.invalidArgument({prefix:d,value:i,type:"header name"})}return this.#q.get(i,false)}has(i){re.brandCheck(this,Headers);re.argumentLengthCheck(arguments,1,"Headers.has");const d="Headers.has";i=re.converters.ByteString(i,d,"name");if(!ee(i)){throw re.errors.invalidArgument({prefix:d,value:i,type:"header name"})}return this.#q.contains(i,false)}set(i,d){re.brandCheck(this,Headers);re.argumentLengthCheck(arguments,2,"Headers.set");const p="Headers.set";i=re.converters.ByteString(i,p,"name");d=re.converters.ByteString(d,p,"value");d=headerValueNormalize(d);if(!ee(i)){throw re.errors.invalidArgument({prefix:p,value:i,type:"header name"})}else if(!te(d)){throw re.errors.invalidArgument({prefix:p,value:d,type:"header value"})}if(this.#V==="immutable"){throw new TypeError("immutable")}this.#q.set(i,d,false)}getSetCookie(){re.brandCheck(this,Headers);const i=this.#q.cookies;if(i){return[...i]}return[]}get[oe](){if(this.#q[oe]){return this.#q[oe]}const i=[];const d=this.#q.toSortedArray();const p=this.#q.cookies;if(p===null||p.length===1){return this.#q[oe]=d}for(let v=0;v>"](i,d,p,v.bind(i))}return re.converters["record"](i,d,p)}throw re.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};i.exports={fill:fill,compareHeaderName:compareHeaderName,Headers:Headers,HeadersList:HeadersList,getHeadersGuard:ae,setHeadersGuard:Ae,setHeadersList:le,getHeadersList:ce}},21609:(i,d,p)=>{const{makeNetworkError:v,makeAppropriateNetworkError:V,filterResponse:K,makeResponse:ee,fromInnerResponse:te}=p(60318);const{HeadersList:re}=p(54591);const{Request:ne,cloneRequest:se}=p(83772);const ie=p(38522);const{bytesMatch:oe,makePolicyContainer:ae,clonePolicyContainer:Ae,requestBadPort:ce,TAOCheck:le,appendRequestOriginHeader:ue,responseLocationURL:de,requestCurrentURL:he,setRequestReferrerPolicyOnRedirect:fe,tryUpgradeRequestToAPotentiallyTrustworthyURL:ge,createOpaqueTimingInfo:pe,appendFetchMetadata:me,corsCheck:Ee,crossOriginResourcePolicyCheck:Ce,determineRequestsReferrer:ye,coarsenedSharedCurrentTime:Ie,createDeferredPromise:Be,isBlobLike:Qe,sameOrigin:be,isCancelled:we,isAborted:Se,isErrorLike:Re,fullyReadBody:ve,readableStreamClose:ke,isomorphicEncode:Te,urlIsLocal:Ne,urlIsHttpHttpsScheme:De,urlHasHttpsScheme:xe,clampAndCoarsenConnectionTimingInfo:Fe,simpleRangeHeaderValue:Pe,buildContentRange:Le,createInflate:_e,extractMimeType:Me}=p(39921);const{kState:Ue,kDispatcher:Oe}=p(23216);const He=p(34589);const{safelyExtractBody:Ge,extractBody:Ve}=p(99161);const{redirectStatusSet:qe,nullBodyStatus:Ye,safeMethodsSet:je,requestBodyHeader:Je,subresourceSet:We}=p(74832);const ze=p(78474);const{Readable:$e,pipeline:Ke,finished:Xe}=p(57075);const{addAbortListener:Ze,isErrored:At,isReadable:mt,bufferToLowerCasedHeaderName:Et}=p(61671);const{dataURLProcessor:Ct,serializeAMimeType:yt,minimizeSupportedMimeType:It}=p(37953);const{getGlobalDispatcher:Bt}=p(97256);const{webidl:Qt}=p(17092);const{STATUS_CODES:bt}=p(37067);const wt=["GET","HEAD"];const St=typeof __UNDICI_IS_NODE__!=="undefined"||typeof esbuildDetection!=="undefined"?"node":"undici";let Rt;class Fetch extends ze{constructor(i){super();this.dispatcher=i;this.connection=null;this.dump=false;this.state="ongoing"}terminate(i){if(this.state!=="ongoing"){return}this.state="terminated";this.connection?.destroy(i);this.emit("terminated",i)}abort(i){if(this.state!=="ongoing"){return}this.state="aborted";if(!i){i=new DOMException("The operation was aborted.","AbortError")}this.serializedAbortReason=i;this.connection?.destroy(i);this.emit("terminated",i)}}function handleFetchDone(i){finalizeAndReportTiming(i,"fetch")}function fetch(i,d=undefined){Qt.argumentLengthCheck(arguments,1,"globalThis.fetch");let p=Be();let v;try{v=new ne(i,d)}catch(i){p.reject(i);return p.promise}const V=v[Ue];if(v.signal.aborted){abortFetch(p,V,null,v.signal.reason);return p.promise}const K=V.client.globalObject;if(K?.constructor?.name==="ServiceWorkerGlobalScope"){V.serviceWorkers="none"}let ee=null;let re=false;let se=null;Ze(v.signal,(()=>{re=true;He(se!=null);se.abort(v.signal.reason);const i=ee?.deref();abortFetch(p,V,i,v.signal.reason)}));const processResponse=i=>{if(re){return}if(i.aborted){abortFetch(p,V,ee,se.serializedAbortReason);return}if(i.type==="error"){p.reject(new TypeError("fetch failed",{cause:i.error}));return}ee=new WeakRef(te(i,"immutable"));p.resolve(ee.deref());p=null};se=fetching({request:V,processResponseEndOfBody:handleFetchDone,processResponse:processResponse,dispatcher:v[Oe]});return p.promise}function finalizeAndReportTiming(i,d="other"){if(i.type==="error"&&i.aborted){return}if(!i.urlList?.length){return}const p=i.urlList[0];let v=i.timingInfo;let V=i.cacheState;if(!De(p)){return}if(v===null){return}if(!i.timingAllowPassed){v=pe({startTime:v.startTime});V=""}v.endTime=Ie();i.timingInfo=v;vt(v,p.href,d,globalThis,V)}const vt=performance.markResourceTiming;function abortFetch(i,d,p,v){if(i){i.reject(v)}if(d.body!=null&&mt(d.body?.stream)){d.body.stream.cancel(v).catch((i=>{if(i.code==="ERR_INVALID_STATE"){return}throw i}))}if(p==null){return}const V=p[Ue];if(V.body!=null&&mt(V.body?.stream)){V.body.stream.cancel(v).catch((i=>{if(i.code==="ERR_INVALID_STATE"){return}throw i}))}}function fetching({request:i,processRequestBodyChunkLength:d,processRequestEndOfBody:p,processResponse:v,processResponseEndOfBody:V,processResponseConsumeBody:K,useParallelQueue:ee=false,dispatcher:te=Bt()}){He(te);let re=null;let ne=false;if(i.client!=null){re=i.client.globalObject;ne=i.client.crossOriginIsolatedCapability}const se=Ie(ne);const ie=pe({startTime:se});const oe={controller:new Fetch(te),request:i,timingInfo:ie,processRequestBodyChunkLength:d,processRequestEndOfBody:p,processResponse:v,processResponseConsumeBody:K,processResponseEndOfBody:V,taskDestination:re,crossOriginIsolatedCapability:ne};He(!i.body||i.body.stream);if(i.window==="client"){i.window=i.client?.globalObject?.constructor?.name==="Window"?i.client:"no-window"}if(i.origin==="client"){i.origin=i.client.origin}if(i.policyContainer==="client"){if(i.client!=null){i.policyContainer=Ae(i.client.policyContainer)}else{i.policyContainer=ae()}}if(!i.headersList.contains("accept",true)){const d="*/*";i.headersList.append("accept",d,true)}if(!i.headersList.contains("accept-language",true)){i.headersList.append("accept-language","*",true)}if(i.priority===null){}if(We.has(i.destination)){}mainFetch(oe).catch((i=>{oe.controller.terminate(i)}));return oe.controller}async function mainFetch(i,d=false){const p=i.request;let V=null;if(p.localURLsOnly&&!Ne(he(p))){V=v("local URLs only")}ge(p);if(ce(p)==="blocked"){V=v("bad port")}if(p.referrerPolicy===""){p.referrerPolicy=p.policyContainer.referrerPolicy}if(p.referrer!=="no-referrer"){p.referrer=ye(p)}if(V===null){V=await(async()=>{const d=he(p);if(be(d,p.url)&&p.responseTainting==="basic"||d.protocol==="data:"||(p.mode==="navigate"||p.mode==="websocket")){p.responseTainting="basic";return await schemeFetch(i)}if(p.mode==="same-origin"){return v('request mode cannot be "same-origin"')}if(p.mode==="no-cors"){if(p.redirect!=="follow"){return v('redirect mode cannot be "follow" for "no-cors" request')}p.responseTainting="opaque";return await schemeFetch(i)}if(!De(he(p))){return v("URL scheme must be a HTTP(S) scheme")}p.responseTainting="cors";return await httpFetch(i)})()}if(d){return V}if(V.status!==0&&!V.internalResponse){if(p.responseTainting==="cors"){}if(p.responseTainting==="basic"){V=K(V,"basic")}else if(p.responseTainting==="cors"){V=K(V,"cors")}else if(p.responseTainting==="opaque"){V=K(V,"opaque")}else{He(false)}}let ee=V.status===0?V:V.internalResponse;if(ee.urlList.length===0){ee.urlList.push(...p.urlList)}if(!p.timingAllowFailed){V.timingAllowPassed=true}if(V.type==="opaque"&&ee.status===206&&ee.rangeRequested&&!p.headers.contains("range",true)){V=ee=v()}if(V.status!==0&&(p.method==="HEAD"||p.method==="CONNECT"||Ye.includes(ee.status))){ee.body=null;i.controller.dump=true}if(p.integrity){const processBodyError=d=>fetchFinale(i,v(d));if(p.responseTainting==="opaque"||V.body==null){processBodyError(V.error);return}const processBody=d=>{if(!oe(d,p.integrity)){processBodyError("integrity mismatch");return}V.body=Ge(d)[0];fetchFinale(i,V)};await ve(V.body,processBody,processBodyError)}else{fetchFinale(i,V)}}function schemeFetch(i){if(we(i)&&i.request.redirectCount===0){return Promise.resolve(V(i))}const{request:d}=i;const{protocol:K}=he(d);switch(K){case"about:":{return Promise.resolve(v("about scheme is not supported"))}case"blob:":{if(!Rt){Rt=p(4573).resolveObjectURL}const i=he(d);if(i.search.length!==0){return Promise.resolve(v("NetworkError when attempting to fetch resource."))}const V=Rt(i.toString());if(d.method!=="GET"||!Qe(V)){return Promise.resolve(v("invalid method"))}const K=ee();const te=V.size;const re=Te(`${te}`);const ne=V.type;if(!d.headersList.contains("range",true)){const i=Ve(V);K.statusText="OK";K.body=i[0];K.headersList.set("content-length",re,true);K.headersList.set("content-type",ne,true)}else{K.rangeRequested=true;const i=d.headersList.get("range",true);const p=Pe(i,true);if(p==="failure"){return Promise.resolve(v("failed to fetch the data URL"))}let{rangeStartValue:ee,rangeEndValue:re}=p;if(ee===null){ee=te-re;re=ee+re-1}else{if(ee>=te){return Promise.resolve(v("Range start is greater than the blob's size."))}if(re===null||re>=te){re=te-1}}const se=V.slice(ee,re,ne);const ie=Ve(se);K.body=ie[0];const oe=Te(`${se.size}`);const ae=Le(ee,re,te);K.status=206;K.statusText="Partial Content";K.headersList.set("content-length",oe,true);K.headersList.set("content-type",ne,true);K.headersList.set("content-range",ae,true)}return Promise.resolve(K)}case"data:":{const i=he(d);const p=Ct(i);if(p==="failure"){return Promise.resolve(v("failed to fetch the data URL"))}const V=yt(p.mimeType);return Promise.resolve(ee({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:V}]],body:Ge(p.body)[0]}))}case"file:":{return Promise.resolve(v("not implemented... yet..."))}case"http:":case"https:":{return httpFetch(i).catch((i=>v(i)))}default:{return Promise.resolve(v("unknown scheme"))}}}function finalizeResponse(i,d){i.request.done=true;if(i.processResponseDone!=null){queueMicrotask((()=>i.processResponseDone(d)))}}function fetchFinale(i,d){let p=i.timingInfo;const processResponseEndOfBody=()=>{const v=Date.now();if(i.request.destination==="document"){i.controller.fullTimingInfo=p}i.controller.reportTimingSteps=()=>{if(i.request.url.protocol!=="https:"){return}p.endTime=v;let V=d.cacheState;const K=d.bodyInfo;if(!d.timingAllowPassed){p=pe(p);V=""}let ee=0;if(i.request.mode!=="navigator"||!d.hasCrossOriginRedirects){ee=d.status;const i=Me(d.headersList);if(i!=="failure"){K.contentType=It(i)}}if(i.request.initiatorType!=null){vt(p,i.request.url.href,i.request.initiatorType,globalThis,V,K,ee)}};const processResponseEndOfBodyTask=()=>{i.request.done=true;if(i.processResponseEndOfBody!=null){queueMicrotask((()=>i.processResponseEndOfBody(d)))}if(i.request.initiatorType!=null){i.controller.reportTimingSteps()}};queueMicrotask((()=>processResponseEndOfBodyTask()))};if(i.processResponse!=null){queueMicrotask((()=>{i.processResponse(d);i.processResponse=null}))}const v=d.type==="error"?d:d.internalResponse??d;if(v.body==null){processResponseEndOfBody()}else{Xe(v.body.stream,(()=>{processResponseEndOfBody()}))}}async function httpFetch(i){const d=i.request;let p=null;let V=null;const K=i.timingInfo;if(d.serviceWorkers==="all"){}if(p===null){if(d.redirect==="follow"){d.serviceWorkers="none"}V=p=await httpNetworkOrCacheFetch(i);if(d.responseTainting==="cors"&&Ee(d,p)==="failure"){return v("cors failure")}if(le(d,p)==="failure"){d.timingAllowFailed=true}}if((d.responseTainting==="opaque"||p.type==="opaque")&&Ce(d.origin,d.client,d.destination,V)==="blocked"){return v("blocked")}if(qe.has(V.status)){if(d.redirect!=="manual"){i.controller.connection.destroy(undefined,false)}if(d.redirect==="error"){p=v("unexpected redirect")}else if(d.redirect==="manual"){p=V}else if(d.redirect==="follow"){p=await httpRedirectFetch(i,p)}else{He(false)}}p.timingInfo=K;return p}function httpRedirectFetch(i,d){const p=i.request;const V=d.internalResponse?d.internalResponse:d;let K;try{K=de(V,he(p).hash);if(K==null){return d}}catch(i){return Promise.resolve(v(i))}if(!De(K)){return Promise.resolve(v("URL scheme must be a HTTP(S) scheme"))}if(p.redirectCount===20){return Promise.resolve(v("redirect count exceeded"))}p.redirectCount+=1;if(p.mode==="cors"&&(K.username||K.password)&&!be(p,K)){return Promise.resolve(v('cross origin not allowed for request mode "cors"'))}if(p.responseTainting==="cors"&&(K.username||K.password)){return Promise.resolve(v('URL cannot contain credentials for request mode "cors"'))}if(V.status!==303&&p.body!=null&&p.body.source==null){return Promise.resolve(v())}if([301,302].includes(V.status)&&p.method==="POST"||V.status===303&&!wt.includes(p.method)){p.method="GET";p.body=null;for(const i of Je){p.headersList.delete(i)}}if(!be(he(p),K)){p.headersList.delete("authorization",true);p.headersList.delete("proxy-authorization",true);p.headersList.delete("cookie",true);p.headersList.delete("host",true)}if(p.body!=null){He(p.body.source!=null);p.body=Ge(p.body.source)[0]}const ee=i.timingInfo;ee.redirectEndTime=ee.postRedirectStartTime=Ie(i.crossOriginIsolatedCapability);if(ee.redirectStartTime===0){ee.redirectStartTime=ee.startTime}p.urlList.push(K);fe(p,V);return mainFetch(i,true)}async function httpNetworkOrCacheFetch(i,d=false,p=false){const K=i.request;let ee=null;let te=null;let re=null;const ne=null;const ie=false;if(K.window==="no-window"&&K.redirect==="error"){ee=i;te=K}else{te=se(K);ee={...i};ee.request=te}const oe=K.credentials==="include"||K.credentials==="same-origin"&&K.responseTainting==="basic";const ae=te.body?te.body.length:null;let Ae=null;if(te.body==null&&["POST","PUT"].includes(te.method)){Ae="0"}if(ae!=null){Ae=Te(`${ae}`)}if(Ae!=null){te.headersList.append("content-length",Ae,true)}if(ae!=null&&te.keepalive){}if(te.referrer instanceof URL){te.headersList.append("referer",Te(te.referrer.href),true)}ue(te);me(te);if(!te.headersList.contains("user-agent",true)){te.headersList.append("user-agent",St)}if(te.cache==="default"&&(te.headersList.contains("if-modified-since",true)||te.headersList.contains("if-none-match",true)||te.headersList.contains("if-unmodified-since",true)||te.headersList.contains("if-match",true)||te.headersList.contains("if-range",true))){te.cache="no-store"}if(te.cache==="no-cache"&&!te.preventNoCacheCacheControlHeaderModification&&!te.headersList.contains("cache-control",true)){te.headersList.append("cache-control","max-age=0",true)}if(te.cache==="no-store"||te.cache==="reload"){if(!te.headersList.contains("pragma",true)){te.headersList.append("pragma","no-cache",true)}if(!te.headersList.contains("cache-control",true)){te.headersList.append("cache-control","no-cache",true)}}if(te.headersList.contains("range",true)){te.headersList.append("accept-encoding","identity",true)}if(!te.headersList.contains("accept-encoding",true)){if(xe(he(te))){te.headersList.append("accept-encoding","br, gzip, deflate",true)}else{te.headersList.append("accept-encoding","gzip, deflate",true)}}te.headersList.delete("host",true);if(oe){}if(ne==null){te.cache="no-store"}if(te.cache!=="no-store"&&te.cache!=="reload"){}if(re==null){if(te.cache==="only-if-cached"){return v("only if cached")}const i=await httpNetworkFetch(ee,oe,p);if(!je.has(te.method)&&i.status>=200&&i.status<=399){}if(ie&&i.status===304){}if(re==null){re=i}}re.urlList=[...te.urlList];if(te.headersList.contains("range",true)){re.rangeRequested=true}re.requestIncludesCredentials=oe;if(re.status===407){if(K.window==="no-window"){return v()}if(we(i)){return V(i)}return v("proxy authentication required")}if(re.status===421&&!p&&(K.body==null||K.body.source!=null)){if(we(i)){return V(i)}i.controller.connection.destroy();re=await httpNetworkOrCacheFetch(i,d,true)}if(d){}return re}async function httpNetworkFetch(i,d=false,p=false){He(!i.controller.connection||i.controller.connection.destroyed);i.controller.connection={abort:null,destroyed:false,destroy(i,d=true){if(!this.destroyed){this.destroyed=true;if(d){this.abort?.(i??new DOMException("The operation was aborted.","AbortError"))}}}};const K=i.request;let te=null;const ne=i.timingInfo;const se=null;if(se==null){K.cache="no-store"}const oe=p?"yes":"no";if(K.mode==="websocket"){}else{}let ae=null;if(K.body==null&&i.processRequestEndOfBody){queueMicrotask((()=>i.processRequestEndOfBody()))}else if(K.body!=null){const processBodyChunk=async function*(d){if(we(i)){return}yield d;i.processRequestBodyChunkLength?.(d.byteLength)};const processEndOfBody=()=>{if(we(i)){return}if(i.processRequestEndOfBody){i.processRequestEndOfBody()}};const processBodyError=d=>{if(we(i)){return}if(d.name==="AbortError"){i.controller.abort()}else{i.controller.terminate(d)}};ae=async function*(){try{for await(const i of K.body.stream){yield*processBodyChunk(i)}processEndOfBody()}catch(i){processBodyError(i)}}()}try{const{body:d,status:p,statusText:v,headersList:V,socket:K}=await dispatch({body:ae});if(K){te=ee({status:p,statusText:v,headersList:V,socket:K})}else{const K=d[Symbol.asyncIterator]();i.controller.next=()=>K.next();te=ee({status:p,statusText:v,headersList:V})}}catch(d){if(d.name==="AbortError"){i.controller.connection.destroy();return V(i,d)}return v(d)}const pullAlgorithm=async()=>{await i.controller.resume()};const cancelAlgorithm=d=>{if(!we(i)){i.controller.abort(d)}};const Ae=new ReadableStream({async start(d){i.controller.controller=d},async pull(i){await pullAlgorithm(i)},async cancel(i){await cancelAlgorithm(i)},type:"bytes"});te.body={stream:Ae,source:null,length:null};i.controller.onAborted=onAborted;i.controller.on("terminated",onAborted);i.controller.resume=async()=>{while(true){let d;let p;try{const{done:p,value:v}=await i.controller.next();if(Se(i)){break}d=p?undefined:v}catch(v){if(i.controller.ended&&!ne.encodedBodySize){d=undefined}else{d=v;p=true}}if(d===undefined){ke(i.controller.controller);finalizeResponse(i,te);return}ne.decodedBodySize+=d?.byteLength??0;if(p){i.controller.terminate(d);return}const v=new Uint8Array(d);if(v.byteLength){i.controller.controller.enqueue(v)}if(At(Ae)){i.controller.terminate();return}if(i.controller.controller.desiredSize<=0){return}}};function onAborted(d){if(Se(i)){te.aborted=true;if(mt(Ae)){i.controller.controller.error(i.controller.serializedAbortReason)}}else{if(mt(Ae)){i.controller.controller.error(new TypeError("terminated",{cause:Re(d)?d:undefined}))}}i.controller.connection.destroy()}return te;function dispatch({body:d}){const p=he(K);const v=i.controller.dispatcher;return new Promise(((V,ee)=>v.dispatch({path:p.pathname+p.search,origin:p.origin,method:K.method,body:v.isMockActive?K.body&&(K.body.source||K.body.stream):d,headers:K.headersList.entries,maxRedirections:0,upgrade:K.mode==="websocket"?"websocket":undefined},{body:null,abort:null,onConnect(d){const{connection:p}=i.controller;ne.finalConnectionTimingInfo=Fe(undefined,ne.postRedirectStartTime,i.crossOriginIsolatedCapability);if(p.destroyed){d(new DOMException("The operation was aborted.","AbortError"))}else{i.controller.on("terminated",d);this.abort=p.abort=d}ne.finalNetworkRequestStartTime=Ie(i.crossOriginIsolatedCapability)},onResponseStarted(){ne.finalNetworkResponseStartTime=Ie(i.crossOriginIsolatedCapability)},onHeaders(i,d,p,v){if(i<200){return}let te="";const ne=new re;for(let i=0;ip){ee(new Error(`too many content-encodings in response: ${d.length}, maximum allowed is ${p}`));return true}for(let i=d.length-1;i>=0;--i){const p=d[i].trim();if(p==="x-gzip"||p==="gzip"){se.push(ie.createGunzip({flush:ie.constants.Z_SYNC_FLUSH,finishFlush:ie.constants.Z_SYNC_FLUSH}))}else if(p==="deflate"){se.push(_e({flush:ie.constants.Z_SYNC_FLUSH,finishFlush:ie.constants.Z_SYNC_FLUSH}))}else if(p==="br"){se.push(ie.createBrotliDecompress({flush:ie.constants.BROTLI_OPERATION_FLUSH,finishFlush:ie.constants.BROTLI_OPERATION_FLUSH}))}else{se.length=0;break}}}const ae=this.onError.bind(this);V({status:i,statusText:v,headersList:ne,body:se.length?Ke(this.body,...se,(i=>{if(i){this.onError(i)}})).on("error",ae):this.body.on("error",ae)});return true},onData(d){if(i.controller.dump){return}const p=d;ne.encodedBodySize+=p.byteLength;return this.body.push(p)},onComplete(){if(this.abort){i.controller.off("terminated",this.abort)}if(i.controller.onAborted){i.controller.off("terminated",i.controller.onAborted)}i.controller.ended=true;this.body.push(null)},onError(d){if(this.abort){i.controller.off("terminated",this.abort)}this.body?.destroy(d);i.controller.terminate(d);ee(d)},onUpgrade(i,d,p){if(i!==101){return}const v=new re;for(let i=0;i{const{extractBody:v,mixinBody:V,cloneBody:K,bodyUnusable:ee}=p(99161);const{Headers:te,fill:re,HeadersList:ne,setHeadersGuard:se,getHeadersGuard:ie,setHeadersList:oe,getHeadersList:ae}=p(54591);const{FinalizationRegistry:Ae}=p(60248)();const ce=p(61671);const le=p(57975);const{isValidHTTPToken:ue,sameOrigin:de,environmentSettingsObject:he}=p(39921);const{forbiddenMethodsSet:fe,corsSafeListedMethodsSet:ge,referrerPolicy:pe,requestRedirect:me,requestMode:Ee,requestCredentials:Ce,requestCache:ye,requestDuplex:Ie}=p(74832);const{kEnumerableProperty:Be,normalizedMethodRecordsBase:Qe,normalizedMethodRecords:be}=ce;const{kHeaders:we,kSignal:Se,kState:Re,kDispatcher:ve}=p(23216);const{webidl:ke}=p(17092);const{URLSerializer:Te}=p(37953);const{kConstruct:Ne}=p(65082);const De=p(34589);const{getMaxListeners:xe,setMaxListeners:Fe,getEventListeners:Pe,defaultMaxListeners:Le}=p(78474);const _e=Symbol("abortController");const Me=new Ae((({signal:i,abort:d})=>{i.removeEventListener("abort",d)}));const Ue=new WeakMap;function buildAbort(i){return abort;function abort(){const d=i.deref();if(d!==undefined){Me.unregister(abort);this.removeEventListener("abort",abort);d.abort(this.reason);const i=Ue.get(d.signal);if(i!==undefined){if(i.size!==0){for(const d of i){const i=d.deref();if(i!==undefined){i.abort(this.reason)}}i.clear()}Ue.delete(d.signal)}}}}let Oe=false;class Request{constructor(i,d={}){ke.util.markAsUncloneable(this);if(i===Ne){return}const p="Request constructor";ke.argumentLengthCheck(arguments,1,p);i=ke.converters.RequestInfo(i,p,"input");d=ke.converters.RequestInit(d,p,"init");let V=null;let K=null;const ie=he.settingsObject.baseUrl;let Ae=null;if(typeof i==="string"){this[ve]=d.dispatcher;let p;try{p=new URL(i,ie)}catch(d){throw new TypeError("Failed to parse URL from "+i,{cause:d})}if(p.username||p.password){throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+i)}V=makeRequest({urlList:[p]});K="cors"}else{this[ve]=d.dispatcher||i[ve];De(i instanceof Request);V=i[Re];Ae=i[Se]}const le=he.settingsObject.origin;let pe="client";if(V.window?.constructor?.name==="EnvironmentSettingsObject"&&de(V.window,le)){pe=V.window}if(d.window!=null){throw new TypeError(`'window' option '${pe}' must be null`)}if("window"in d){pe="no-window"}V=makeRequest({method:V.method,headersList:V.headersList,unsafeRequest:V.unsafeRequest,client:he.settingsObject,window:pe,priority:V.priority,origin:V.origin,referrer:V.referrer,referrerPolicy:V.referrerPolicy,mode:V.mode,credentials:V.credentials,cache:V.cache,redirect:V.redirect,integrity:V.integrity,keepalive:V.keepalive,reloadNavigation:V.reloadNavigation,historyNavigation:V.historyNavigation,urlList:[...V.urlList]});const me=Object.keys(d).length!==0;if(me){if(V.mode==="navigate"){V.mode="same-origin"}V.reloadNavigation=false;V.historyNavigation=false;V.origin="client";V.referrer="client";V.referrerPolicy="";V.url=V.urlList[V.urlList.length-1];V.urlList=[V.url]}if(d.referrer!==undefined){const i=d.referrer;if(i===""){V.referrer="no-referrer"}else{let d;try{d=new URL(i,ie)}catch(d){throw new TypeError(`Referrer "${i}" is not a valid URL.`,{cause:d})}if(d.protocol==="about:"&&d.hostname==="client"||le&&!de(d,he.settingsObject.baseUrl)){V.referrer="client"}else{V.referrer=d}}}if(d.referrerPolicy!==undefined){V.referrerPolicy=d.referrerPolicy}let Ee;if(d.mode!==undefined){Ee=d.mode}else{Ee=K}if(Ee==="navigate"){throw ke.errors.exception({header:"Request constructor",message:"invalid request mode navigate."})}if(Ee!=null){V.mode=Ee}if(d.credentials!==undefined){V.credentials=d.credentials}if(d.cache!==undefined){V.cache=d.cache}if(V.cache==="only-if-cached"&&V.mode!=="same-origin"){throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode")}if(d.redirect!==undefined){V.redirect=d.redirect}if(d.integrity!=null){V.integrity=String(d.integrity)}if(d.keepalive!==undefined){V.keepalive=Boolean(d.keepalive)}if(d.method!==undefined){let i=d.method;const p=be[i];if(p!==undefined){V.method=p}else{if(!ue(i)){throw new TypeError(`'${i}' is not a valid HTTP method.`)}const d=i.toUpperCase();if(fe.has(d)){throw new TypeError(`'${i}' HTTP method is unsupported.`)}i=Qe[d]??i;V.method=i}if(!Oe&&V.method==="patch"){process.emitWarning("Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.",{code:"UNDICI-FETCH-patch"});Oe=true}}if(d.signal!==undefined){Ae=d.signal}this[Re]=V;const Ce=new AbortController;this[Se]=Ce.signal;if(Ae!=null){if(!Ae||typeof Ae.aborted!=="boolean"||typeof Ae.addEventListener!=="function"){throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.")}if(Ae.aborted){Ce.abort(Ae.reason)}else{this[_e]=Ce;const i=new WeakRef(Ce);const d=buildAbort(i);try{if(typeof xe==="function"&&xe(Ae)===Le){Fe(1500,Ae)}else if(Pe(Ae,"abort").length>=Le){Fe(1500,Ae)}}catch{}ce.addAbortListener(Ae,d);Me.register(Ce,{signal:Ae,abort:d},d)}}this[we]=new te(Ne);oe(this[we],V.headersList);se(this[we],"request");if(Ee==="no-cors"){if(!ge.has(V.method)){throw new TypeError(`'${V.method} is unsupported in no-cors mode.`)}se(this[we],"request-no-cors")}if(me){const i=ae(this[we]);const p=d.headers!==undefined?d.headers:new ne(i);i.clear();if(p instanceof ne){for(const{name:d,value:v}of p.rawValues()){i.append(d,v,false)}i.cookies=p.cookies}else{re(this[we],p)}}const ye=i instanceof Request?i[Re].body:null;if((d.body!=null||ye!=null)&&(V.method==="GET"||V.method==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body.")}let Ie=null;if(d.body!=null){const[i,p]=v(d.body,V.keepalive);Ie=i;if(p&&!ae(this[we]).contains("content-type",true)){this[we].append("content-type",p)}}const Be=Ie??ye;if(Be!=null&&Be.source==null){if(Ie!=null&&d.duplex==null){throw new TypeError("RequestInit: duplex option is required when sending a body.")}if(V.mode!=="same-origin"&&V.mode!=="cors"){throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"')}V.useCORSPreflightFlag=true}let Te=Be;if(Ie==null&&ye!=null){if(ee(i)){throw new TypeError("Cannot construct a Request with a Request object that has already been used.")}const d=new TransformStream;ye.stream.pipeThrough(d);Te={source:ye.source,length:ye.length,stream:d.readable}}this[Re].body=Te}get method(){ke.brandCheck(this,Request);return this[Re].method}get url(){ke.brandCheck(this,Request);return Te(this[Re].url)}get headers(){ke.brandCheck(this,Request);return this[we]}get destination(){ke.brandCheck(this,Request);return this[Re].destination}get referrer(){ke.brandCheck(this,Request);if(this[Re].referrer==="no-referrer"){return""}if(this[Re].referrer==="client"){return"about:client"}return this[Re].referrer.toString()}get referrerPolicy(){ke.brandCheck(this,Request);return this[Re].referrerPolicy}get mode(){ke.brandCheck(this,Request);return this[Re].mode}get credentials(){return this[Re].credentials}get cache(){ke.brandCheck(this,Request);return this[Re].cache}get redirect(){ke.brandCheck(this,Request);return this[Re].redirect}get integrity(){ke.brandCheck(this,Request);return this[Re].integrity}get keepalive(){ke.brandCheck(this,Request);return this[Re].keepalive}get isReloadNavigation(){ke.brandCheck(this,Request);return this[Re].reloadNavigation}get isHistoryNavigation(){ke.brandCheck(this,Request);return this[Re].historyNavigation}get signal(){ke.brandCheck(this,Request);return this[Se]}get body(){ke.brandCheck(this,Request);return this[Re].body?this[Re].body.stream:null}get bodyUsed(){ke.brandCheck(this,Request);return!!this[Re].body&&ce.isDisturbed(this[Re].body.stream)}get duplex(){ke.brandCheck(this,Request);return"half"}clone(){ke.brandCheck(this,Request);if(ee(this)){throw new TypeError("unusable")}const i=cloneRequest(this[Re]);const d=new AbortController;if(this.signal.aborted){d.abort(this.signal.reason)}else{let i=Ue.get(this.signal);if(i===undefined){i=new Set;Ue.set(this.signal,i)}const p=new WeakRef(d);i.add(p);ce.addAbortListener(d.signal,buildAbort(p))}return fromInnerRequest(i,d.signal,ie(this[we]))}[le.inspect.custom](i,d){if(d.depth===null){d.depth=2}d.colors??=true;const p={method:this.method,url:this.url,headers:this.headers,destination:this.destination,referrer:this.referrer,referrerPolicy:this.referrerPolicy,mode:this.mode,credentials:this.credentials,cache:this.cache,redirect:this.redirect,integrity:this.integrity,keepalive:this.keepalive,isReloadNavigation:this.isReloadNavigation,isHistoryNavigation:this.isHistoryNavigation,signal:this.signal};return`Request ${le.formatWithOptions(d,p)}`}}V(Request);function makeRequest(i){return{method:i.method??"GET",localURLsOnly:i.localURLsOnly??false,unsafeRequest:i.unsafeRequest??false,body:i.body??null,client:i.client??null,reservedClient:i.reservedClient??null,replacesClientId:i.replacesClientId??"",window:i.window??"client",keepalive:i.keepalive??false,serviceWorkers:i.serviceWorkers??"all",initiator:i.initiator??"",destination:i.destination??"",priority:i.priority??null,origin:i.origin??"client",policyContainer:i.policyContainer??"client",referrer:i.referrer??"client",referrerPolicy:i.referrerPolicy??"",mode:i.mode??"no-cors",useCORSPreflightFlag:i.useCORSPreflightFlag??false,credentials:i.credentials??"same-origin",useCredentials:i.useCredentials??false,cache:i.cache??"default",redirect:i.redirect??"follow",integrity:i.integrity??"",cryptoGraphicsNonceMetadata:i.cryptoGraphicsNonceMetadata??"",parserMetadata:i.parserMetadata??"",reloadNavigation:i.reloadNavigation??false,historyNavigation:i.historyNavigation??false,userActivation:i.userActivation??false,taintedOrigin:i.taintedOrigin??false,redirectCount:i.redirectCount??0,responseTainting:i.responseTainting??"basic",preventNoCacheCacheControlHeaderModification:i.preventNoCacheCacheControlHeaderModification??false,done:i.done??false,timingAllowFailed:i.timingAllowFailed??false,urlList:i.urlList,url:i.urlList[0],headersList:i.headersList?new ne(i.headersList):new ne}}function cloneRequest(i){const d=makeRequest({...i,body:null});if(i.body!=null){d.body=K(d,i.body)}return d}function fromInnerRequest(i,d,p){const v=new Request(Ne);v[Re]=i;v[Se]=d;v[we]=new te(Ne);oe(v[we],i.headersList);se(v[we],p);return v}Object.defineProperties(Request.prototype,{method:Be,url:Be,headers:Be,redirect:Be,clone:Be,signal:Be,duplex:Be,destination:Be,body:Be,bodyUsed:Be,isHistoryNavigation:Be,isReloadNavigation:Be,keepalive:Be,integrity:Be,cache:Be,credentials:Be,attribute:Be,referrerPolicy:Be,referrer:Be,mode:Be,[Symbol.toStringTag]:{value:"Request",configurable:true}});ke.converters.Request=ke.interfaceConverter(Request);ke.converters.RequestInfo=function(i,d,p){if(typeof i==="string"){return ke.converters.USVString(i,d,p)}if(i instanceof Request){return ke.converters.Request(i,d,p)}return ke.converters.USVString(i,d,p)};ke.converters.AbortSignal=ke.interfaceConverter(AbortSignal);ke.converters.RequestInit=ke.dictionaryConverter([{key:"method",converter:ke.converters.ByteString},{key:"headers",converter:ke.converters.HeadersInit},{key:"body",converter:ke.nullableConverter(ke.converters.BodyInit)},{key:"referrer",converter:ke.converters.USVString},{key:"referrerPolicy",converter:ke.converters.DOMString,allowedValues:pe},{key:"mode",converter:ke.converters.DOMString,allowedValues:Ee},{key:"credentials",converter:ke.converters.DOMString,allowedValues:Ce},{key:"cache",converter:ke.converters.DOMString,allowedValues:ye},{key:"redirect",converter:ke.converters.DOMString,allowedValues:me},{key:"integrity",converter:ke.converters.DOMString},{key:"keepalive",converter:ke.converters.boolean},{key:"signal",converter:ke.nullableConverter((i=>ke.converters.AbortSignal(i,"RequestInit","signal",{strict:false})))},{key:"window",converter:ke.converters.any},{key:"duplex",converter:ke.converters.DOMString,allowedValues:Ie},{key:"dispatcher",converter:ke.converters.any}]);i.exports={Request:Request,makeRequest:makeRequest,fromInnerRequest:fromInnerRequest,cloneRequest:cloneRequest}},60318:(i,d,p)=>{const{Headers:v,HeadersList:V,fill:K,getHeadersGuard:ee,setHeadersGuard:te,setHeadersList:re}=p(54591);const{extractBody:ne,cloneBody:se,mixinBody:ie,hasFinalizationRegistry:oe,streamRegistry:ae,bodyUnusable:Ae}=p(99161);const ce=p(61671);const le=p(57975);const{kEnumerableProperty:ue}=ce;const{isValidReasonPhrase:de,isCancelled:he,isAborted:fe,isBlobLike:ge,serializeJavascriptValueToJSONString:pe,isErrorLike:me,isomorphicEncode:Ee,environmentSettingsObject:Ce}=p(39921);const{redirectStatusSet:ye,nullBodyStatus:Ie}=p(74832);const{kState:Be,kHeaders:Qe}=p(23216);const{webidl:be}=p(17092);const{FormData:we}=p(86947);const{URLSerializer:Se}=p(37953);const{kConstruct:Re}=p(65082);const ve=p(34589);const{types:ke}=p(57975);const Te=new TextEncoder("utf-8");class Response{static error(){const i=fromInnerResponse(makeNetworkError(),"immutable");return i}static json(i,d={}){be.argumentLengthCheck(arguments,1,"Response.json");if(d!==null){d=be.converters.ResponseInit(d)}const p=Te.encode(pe(i));const v=ne(p);const V=fromInnerResponse(makeResponse({}),"response");initializeResponse(V,d,{body:v[0],type:"application/json"});return V}static redirect(i,d=302){be.argumentLengthCheck(arguments,1,"Response.redirect");i=be.converters.USVString(i);d=be.converters["unsigned short"](d);let p;try{p=new URL(i,Ce.settingsObject.baseUrl)}catch(d){throw new TypeError(`Failed to parse URL from ${i}`,{cause:d})}if(!ye.has(d)){throw new RangeError(`Invalid status code ${d}`)}const v=fromInnerResponse(makeResponse({}),"immutable");v[Be].status=d;const V=Ee(Se(p));v[Be].headersList.append("location",V,true);return v}constructor(i=null,d={}){be.util.markAsUncloneable(this);if(i===Re){return}if(i!==null){i=be.converters.BodyInit(i)}d=be.converters.ResponseInit(d);this[Be]=makeResponse({});this[Qe]=new v(Re);te(this[Qe],"response");re(this[Qe],this[Be].headersList);let p=null;if(i!=null){const[d,v]=ne(i);p={body:d,type:v}}initializeResponse(this,d,p)}get type(){be.brandCheck(this,Response);return this[Be].type}get url(){be.brandCheck(this,Response);const i=this[Be].urlList;const d=i[i.length-1]??null;if(d===null){return""}return Se(d,true)}get redirected(){be.brandCheck(this,Response);return this[Be].urlList.length>1}get status(){be.brandCheck(this,Response);return this[Be].status}get ok(){be.brandCheck(this,Response);return this[Be].status>=200&&this[Be].status<=299}get statusText(){be.brandCheck(this,Response);return this[Be].statusText}get headers(){be.brandCheck(this,Response);return this[Qe]}get body(){be.brandCheck(this,Response);return this[Be].body?this[Be].body.stream:null}get bodyUsed(){be.brandCheck(this,Response);return!!this[Be].body&&ce.isDisturbed(this[Be].body.stream)}clone(){be.brandCheck(this,Response);if(Ae(this)){throw be.errors.exception({header:"Response.clone",message:"Body has already been consumed."})}const i=cloneResponse(this[Be]);if(oe&&this[Be].body?.stream){ae.register(this,new WeakRef(this[Be].body.stream))}return fromInnerResponse(i,ee(this[Qe]))}[le.inspect.custom](i,d){if(d.depth===null){d.depth=2}d.colors??=true;const p={status:this.status,statusText:this.statusText,headers:this.headers,body:this.body,bodyUsed:this.bodyUsed,ok:this.ok,redirected:this.redirected,type:this.type,url:this.url};return`Response ${le.formatWithOptions(d,p)}`}}ie(Response);Object.defineProperties(Response.prototype,{type:ue,url:ue,status:ue,ok:ue,redirected:ue,statusText:ue,headers:ue,clone:ue,body:ue,bodyUsed:ue,[Symbol.toStringTag]:{value:"Response",configurable:true}});Object.defineProperties(Response,{json:ue,redirect:ue,error:ue});function cloneResponse(i){if(i.internalResponse){return filterResponse(cloneResponse(i.internalResponse),i.type)}const d=makeResponse({...i,body:null});if(i.body!=null){d.body=se(d,i.body)}return d}function makeResponse(i){return{aborted:false,rangeRequested:false,timingAllowPassed:false,requestIncludesCredentials:false,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...i,headersList:i?.headersList?new V(i?.headersList):new V,urlList:i?.urlList?[...i.urlList]:[]}}function makeNetworkError(i){const d=me(i);return makeResponse({type:"error",status:0,error:d?i:new Error(i?String(i):i),aborted:i&&i.name==="AbortError"})}function isNetworkError(i){return i.type==="error"&&i.status===0}function makeFilteredResponse(i,d){d={internalResponse:i,...d};return new Proxy(i,{get(i,p){return p in d?d[p]:i[p]},set(i,p,v){ve(!(p in d));i[p]=v;return true}})}function filterResponse(i,d){if(d==="basic"){return makeFilteredResponse(i,{type:"basic",headersList:i.headersList})}else if(d==="cors"){return makeFilteredResponse(i,{type:"cors",headersList:i.headersList})}else if(d==="opaque"){return makeFilteredResponse(i,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null})}else if(d==="opaqueredirect"){return makeFilteredResponse(i,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null})}else{ve(false)}}function makeAppropriateNetworkError(i,d=null){ve(he(i));return fe(i)?makeNetworkError(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:d})):makeNetworkError(Object.assign(new DOMException("Request was cancelled."),{cause:d}))}function initializeResponse(i,d,p){if(d.status!==null&&(d.status<200||d.status>599)){throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.')}if("statusText"in d&&d.statusText!=null){if(!de(String(d.statusText))){throw new TypeError("Invalid statusText")}}if("status"in d&&d.status!=null){i[Be].status=d.status}if("statusText"in d&&d.statusText!=null){i[Be].statusText=d.statusText}if("headers"in d&&d.headers!=null){K(i[Qe],d.headers)}if(p){if(Ie.includes(i.status)){throw be.errors.exception({header:"Response constructor",message:`Invalid response status code ${i.status}`})}i[Be].body=p.body;if(p.type!=null&&!i[Be].headersList.contains("content-type",true)){i[Be].headersList.append("content-type",p.type,true)}}}function fromInnerResponse(i,d){const p=new Response(Re);p[Be]=i;p[Qe]=new v(Re);re(p[Qe],i.headersList);te(p[Qe],d);if(oe&&i.body?.stream){ae.register(p,new WeakRef(i.body.stream))}return p}be.converters.ReadableStream=be.interfaceConverter(ReadableStream);be.converters.FormData=be.interfaceConverter(we);be.converters.URLSearchParams=be.interfaceConverter(URLSearchParams);be.converters.XMLHttpRequestBodyInit=function(i,d,p){if(typeof i==="string"){return be.converters.USVString(i,d,p)}if(ge(i)){return be.converters.Blob(i,d,p,{strict:false})}if(ArrayBuffer.isView(i)||ke.isArrayBuffer(i)){return be.converters.BufferSource(i,d,p)}if(ce.isFormDataLike(i)){return be.converters.FormData(i,d,p,{strict:false})}if(i instanceof URLSearchParams){return be.converters.URLSearchParams(i,d,p)}return be.converters.DOMString(i,d,p)};be.converters.BodyInit=function(i,d,p){if(i instanceof ReadableStream){return be.converters.ReadableStream(i,d,p)}if(i?.[Symbol.asyncIterator]){return i}return be.converters.XMLHttpRequestBodyInit(i,d,p)};be.converters.ResponseInit=be.dictionaryConverter([{key:"status",converter:be.converters["unsigned short"],defaultValue:()=>200},{key:"statusText",converter:be.converters.ByteString,defaultValue:()=>""},{key:"headers",converter:be.converters.HeadersInit}]);i.exports={isNetworkError:isNetworkError,makeNetworkError:makeNetworkError,makeResponse:makeResponse,makeAppropriateNetworkError:makeAppropriateNetworkError,filterResponse:filterResponse,Response:Response,cloneResponse:cloneResponse,fromInnerResponse:fromInnerResponse}},23216:i=>{i.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}},39921:(i,d,p)=>{const{Transform:v}=p(57075);const V=p(38522);const{redirectStatusSet:K,referrerPolicySet:ee,badPortsSet:te}=p(74832);const{getGlobalOrigin:re}=p(70262);const{collectASequenceOfCodePoints:ne,collectAnHTTPQuotedString:se,removeChars:ie,parseMIMEType:oe}=p(37953);const{performance:ae}=p(643);const{isBlobLike:Ae,ReadableStreamFrom:ce,isValidHTTPToken:le,normalizedMethodRecordsBase:ue}=p(61671);const de=p(34589);const{isUint8Array:he}=p(73429);const{webidl:fe}=p(17092);let ge=[];let pe;try{pe=p(77598);const i=["sha256","sha384","sha512"];ge=pe.getHashes().filter((d=>i.includes(d)))}catch{}function responseURL(i){const d=i.urlList;const p=d.length;return p===0?null:d[p-1].toString()}function responseLocationURL(i,d){if(!K.has(i.status)){return null}let p=i.headersList.get("location",true);if(p!==null&&isValidHeaderValue(p)){if(!isValidEncodedURL(p)){p=normalizeBinaryStringToUtf8(p)}p=new URL(p,responseURL(i))}if(p&&!p.hash){p.hash=d}return p}function isValidEncodedURL(i){for(let d=0;d126||p<32){return false}}return true}function normalizeBinaryStringToUtf8(i){return Buffer.from(i,"binary").toString("utf8")}function requestCurrentURL(i){return i.urlList[i.urlList.length-1]}function requestBadPort(i){const d=requestCurrentURL(i);if(urlIsHttpHttpsScheme(d)&&te.has(d.port)){return"blocked"}return"allowed"}function isErrorLike(i){return i instanceof Error||(i?.constructor?.name==="Error"||i?.constructor?.name==="DOMException")}function isValidReasonPhrase(i){for(let d=0;d=32&&p<=126||p>=128&&p<=255)){return false}}return true}const me=le;function isValidHeaderValue(i){return(i[0]==="\t"||i[0]===" "||i[i.length-1]==="\t"||i[i.length-1]===" "||i.includes("\n")||i.includes("\r")||i.includes("\0"))===false}function setRequestReferrerPolicyOnRedirect(i,d){const{headersList:p}=d;const v=(p.get("referrer-policy",true)??"").split(",");let V="";if(v.length>0){for(let i=v.length;i!==0;i--){const d=v[i-1].trim();if(ee.has(d)){V=d;break}}}if(V!==""){i.referrerPolicy=V}}function crossOriginResourcePolicyCheck(){return"allowed"}function corsCheck(){return"success"}function TAOCheck(){return"success"}function appendFetchMetadata(i){let d=null;d=i.mode;i.headersList.set("sec-fetch-mode",d,true)}function appendRequestOriginHeader(i){let d=i.origin;if(d==="client"||d===undefined){return}if(i.responseTainting==="cors"||i.mode==="websocket"){i.headersList.append("origin",d,true)}else if(i.method!=="GET"&&i.method!=="HEAD"){switch(i.referrerPolicy){case"no-referrer":d=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":if(i.origin&&urlHasHttpsScheme(i.origin)&&!urlHasHttpsScheme(requestCurrentURL(i))){d=null}break;case"same-origin":if(!sameOrigin(i,requestCurrentURL(i))){d=null}break;default:}i.headersList.append("origin",d,true)}}function coarsenTime(i,d){return i}function clampAndCoarsenConnectionTimingInfo(i,d,p){if(!i?.startTime||i.startTime4096){v=V}const K=sameOrigin(i,v);const ee=isURLPotentiallyTrustworthy(v)&&!isURLPotentiallyTrustworthy(i.url);switch(d){case"origin":return V!=null?V:stripURLForReferrer(p,true);case"unsafe-url":return v;case"same-origin":return K?V:"no-referrer";case"origin-when-cross-origin":return K?v:V;case"strict-origin-when-cross-origin":{const d=requestCurrentURL(i);if(sameOrigin(v,d)){return v}if(isURLPotentiallyTrustworthy(v)&&!isURLPotentiallyTrustworthy(d)){return"no-referrer"}return V}case"strict-origin":case"no-referrer-when-downgrade":default:return ee?"no-referrer":V}}function stripURLForReferrer(i,d){de(i instanceof URL);i=new URL(i);if(i.protocol==="file:"||i.protocol==="about:"||i.protocol==="blank:"){return"no-referrer"}i.username="";i.password="";i.hash="";if(d){i.pathname="";i.search=""}return i}function isURLPotentiallyTrustworthy(i){if(!(i instanceof URL)){return false}if(i.href==="about:blank"||i.href==="about:srcdoc"){return true}if(i.protocol==="data:")return true;if(i.protocol==="file:")return true;return isOriginPotentiallyTrustworthy(i.origin);function isOriginPotentiallyTrustworthy(i){if(i==null||i==="null")return false;const d=new URL(i);if(d.protocol==="https:"||d.protocol==="wss:"){return true}if(/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(d.hostname)||(d.hostname==="localhost"||d.hostname.includes("localhost."))||d.hostname.endsWith(".localhost")){return true}return false}}function bytesMatch(i,d){if(pe===undefined){return true}const p=parseMetadata(d);if(p==="no metadata"){return true}if(p.length===0){return true}const v=getStrongestMetadata(p);const V=filterMetadataListByAlgorithm(p,v);for(const d of V){const p=d.algo;const v=d.hash;let V=pe.createHash(p).update(i).digest("base64");if(V[V.length-1]==="="){if(V[V.length-2]==="="){V=V.slice(0,-2)}else{V=V.slice(0,-1)}}if(compareBase64Mixed(V,v)){return true}}return false}const Ee=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function parseMetadata(i){const d=[];let p=true;for(const v of i.split(" ")){p=false;const i=Ee.exec(v);if(i===null||i.groups===undefined||i.groups.algo===undefined){continue}const V=i.groups.algo.toLowerCase();if(ge.includes(V)){d.push(i.groups)}}if(p===true){return"no metadata"}return d}function getStrongestMetadata(i){let d=i[0].algo;if(d[3]==="5"){return d}for(let p=1;p{i=p;d=v}));return{promise:p,resolve:i,reject:d}}function isAborted(i){return i.controller.state==="aborted"}function isCancelled(i){return i.controller.state==="aborted"||i.controller.state==="terminated"}function normalizeMethod(i){return ue[i.toLowerCase()]??i}function serializeJavascriptValueToJSONString(i){const d=JSON.stringify(i);if(d===undefined){throw new TypeError("Value is not JSON serializable")}de(typeof d==="string");return d}const Ce=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function createIterator(i,d,p=0,v=1){class FastIterableIterator{#Y;#j;#J;constructor(i,d){this.#Y=i;this.#j=d;this.#J=0}next(){if(typeof this!=="object"||this===null||!(#Y in this)){throw new TypeError(`'next' called on an object that does not implement interface ${i} Iterator.`)}const V=this.#J;const K=this.#Y[d];const ee=K.length;if(V>=ee){return{value:undefined,done:true}}const{[p]:te,[v]:re}=K[V];this.#J=V+1;let ne;switch(this.#j){case"key":ne=te;break;case"value":ne=re;break;case"key+value":ne=[te,re];break}return{value:ne,done:false}}}delete FastIterableIterator.prototype.constructor;Object.setPrototypeOf(FastIterableIterator.prototype,Ce);Object.defineProperties(FastIterableIterator.prototype,{[Symbol.toStringTag]:{writable:false,enumerable:false,configurable:true,value:`${i} Iterator`},next:{writable:true,enumerable:true,configurable:true}});return function(i,d){return new FastIterableIterator(i,d)}}function iteratorMixin(i,d,p,v=0,V=1){const K=createIterator(i,p,v,V);const ee={keys:{writable:true,enumerable:true,configurable:true,value:function keys(){fe.brandCheck(this,d);return K(this,"key")}},values:{writable:true,enumerable:true,configurable:true,value:function values(){fe.brandCheck(this,d);return K(this,"value")}},entries:{writable:true,enumerable:true,configurable:true,value:function entries(){fe.brandCheck(this,d);return K(this,"key+value")}},forEach:{writable:true,enumerable:true,configurable:true,value:function forEach(p,v=globalThis){fe.brandCheck(this,d);fe.argumentLengthCheck(arguments,1,`${i}.forEach`);if(typeof p!=="function"){throw new TypeError(`Failed to execute 'forEach' on '${i}': parameter 1 is not of type 'Function'.`)}for(const{0:i,1:d}of K(this,"key+value")){p.call(v,d,i,this)}}}};return Object.defineProperties(d.prototype,{...ee,[Symbol.iterator]:{writable:true,enumerable:false,configurable:true,value:ee.entries.value}})}async function fullyReadBody(i,d,p){const v=d;const V=p;let K;try{K=i.stream.getReader()}catch(i){V(i);return}try{v(await readAllBytes(K))}catch(i){V(i)}}function isReadableStreamLike(i){return i instanceof ReadableStream||i[Symbol.toStringTag]==="ReadableStream"&&typeof i.tee==="function"}function readableStreamClose(i){try{i.close();i.byobRequest?.respond(0)}catch(i){if(!i.message.includes("Controller is already closed")&&!i.message.includes("ReadableStream is already closed")){throw i}}}const ye=/[^\x00-\xFF]/;function isomorphicEncode(i){de(!ye.test(i));return i}async function readAllBytes(i){const d=[];let p=0;while(true){const{done:v,value:V}=await i.read();if(v){return Buffer.concat(d,p)}if(!he(V)){throw new TypeError("Received non-Uint8Array chunk")}d.push(V);p+=V.length}}function urlIsLocal(i){de("protocol"in i);const d=i.protocol;return d==="about:"||d==="blob:"||d==="data:"}function urlHasHttpsScheme(i){return typeof i==="string"&&i[5]===":"&&i[0]==="h"&&i[1]==="t"&&i[2]==="t"&&i[3]==="p"&&i[4]==="s"||i.protocol==="https:"}function urlIsHttpHttpsScheme(i){de("protocol"in i);const d=i.protocol;return d==="http:"||d==="https:"}function simpleRangeHeaderValue(i,d){const p=i;if(!p.startsWith("bytes")){return"failure"}const v={position:5};if(d){ne((i=>i==="\t"||i===" "),p,v)}if(p.charCodeAt(v.position)!==61){return"failure"}v.position++;if(d){ne((i=>i==="\t"||i===" "),p,v)}const V=ne((i=>{const d=i.charCodeAt(0);return d>=48&&d<=57}),p,v);const K=V.length?Number(V):null;if(d){ne((i=>i==="\t"||i===" "),p,v)}if(p.charCodeAt(v.position)!==45){return"failure"}v.position++;if(d){ne((i=>i==="\t"||i===" "),p,v)}const ee=ne((i=>{const d=i.charCodeAt(0);return d>=48&&d<=57}),p,v);const te=ee.length?Number(ee):null;if(v.positionte){return"failure"}return{rangeStartValue:K,rangeEndValue:te}}function buildContentRange(i,d,p){let v="bytes ";v+=isomorphicEncode(`${i}`);v+="-";v+=isomorphicEncode(`${d}`);v+="/";v+=isomorphicEncode(`${p}`);return v}class InflateStream extends v{#W;constructor(i){super();this.#W=i}_transform(i,d,p){if(!this._inflateStream){if(i.length===0){p();return}this._inflateStream=(i[0]&15)===8?V.createInflate(this.#W):V.createInflateRaw(this.#W);this._inflateStream.on("data",this.push.bind(this));this._inflateStream.on("end",(()=>this.push(null)));this._inflateStream.on("error",(i=>this.destroy(i)))}this._inflateStream.write(i,d,p)}_final(i){if(this._inflateStream){this._inflateStream.end();this._inflateStream=null}i()}}function createInflate(i){return new InflateStream(i)}function extractMimeType(i){let d=null;let p=null;let v=null;const V=getDecodeSplit("content-type",i);if(V===null){return"failure"}for(const i of V){const V=oe(i);if(V==="failure"||V.essence==="*/*"){continue}v=V;if(v.essence!==p){d=null;if(v.parameters.has("charset")){d=v.parameters.get("charset")}p=v.essence}else if(!v.parameters.has("charset")&&d!==null){v.parameters.set("charset",d)}}if(v==null){return"failure"}return v}function gettingDecodingSplitting(i){const d=i;const p={position:0};const v=[];let V="";while(p.positioni!=='"'&&i!==","),d,p);if(p.positioni===9||i===32));v.push(V);V=""}return v}function getDecodeSplit(i,d){const p=d.get(i,true);if(p===null){return null}return gettingDecodingSplitting(p)}const Ie=new TextDecoder;function utf8DecodeBytes(i){if(i.length===0){return""}if(i[0]===239&&i[1]===187&&i[2]===191){i=i.subarray(3)}const d=Ie.decode(i);return d}class EnvironmentSettingsObjectBase{get baseUrl(){return re()}get origin(){return this.baseUrl?.origin}policyContainer=makePolicyContainer()}class EnvironmentSettingsObject{settingsObject=new EnvironmentSettingsObjectBase}const Be=new EnvironmentSettingsObject;i.exports={isAborted:isAborted,isCancelled:isCancelled,isValidEncodedURL:isValidEncodedURL,createDeferredPromise:createDeferredPromise,ReadableStreamFrom:ce,tryUpgradeRequestToAPotentiallyTrustworthyURL:tryUpgradeRequestToAPotentiallyTrustworthyURL,clampAndCoarsenConnectionTimingInfo:clampAndCoarsenConnectionTimingInfo,coarsenedSharedCurrentTime:coarsenedSharedCurrentTime,determineRequestsReferrer:determineRequestsReferrer,makePolicyContainer:makePolicyContainer,clonePolicyContainer:clonePolicyContainer,appendFetchMetadata:appendFetchMetadata,appendRequestOriginHeader:appendRequestOriginHeader,TAOCheck:TAOCheck,corsCheck:corsCheck,crossOriginResourcePolicyCheck:crossOriginResourcePolicyCheck,createOpaqueTimingInfo:createOpaqueTimingInfo,setRequestReferrerPolicyOnRedirect:setRequestReferrerPolicyOnRedirect,isValidHTTPToken:le,requestBadPort:requestBadPort,requestCurrentURL:requestCurrentURL,responseURL:responseURL,responseLocationURL:responseLocationURL,isBlobLike:Ae,isURLPotentiallyTrustworthy:isURLPotentiallyTrustworthy,isValidReasonPhrase:isValidReasonPhrase,sameOrigin:sameOrigin,normalizeMethod:normalizeMethod,serializeJavascriptValueToJSONString:serializeJavascriptValueToJSONString,iteratorMixin:iteratorMixin,createIterator:createIterator,isValidHeaderName:me,isValidHeaderValue:isValidHeaderValue,isErrorLike:isErrorLike,fullyReadBody:fullyReadBody,bytesMatch:bytesMatch,isReadableStreamLike:isReadableStreamLike,readableStreamClose:readableStreamClose,isomorphicEncode:isomorphicEncode,urlIsLocal:urlIsLocal,urlHasHttpsScheme:urlHasHttpsScheme,urlIsHttpHttpsScheme:urlIsHttpHttpsScheme,readAllBytes:readAllBytes,simpleRangeHeaderValue:simpleRangeHeaderValue,buildContentRange:buildContentRange,parseMetadata:parseMetadata,createInflate:createInflate,extractMimeType:extractMimeType,getDecodeSplit:getDecodeSplit,utf8DecodeBytes:utf8DecodeBytes,environmentSettingsObject:Be}},17092:(i,d,p)=>{const{types:v,inspect:V}=p(57975);const{markAsUncloneable:K}=p(75919);const{toUSVString:ee}=p(61671);const te={};te.converters={};te.util={};te.errors={};te.errors.exception=function(i){return new TypeError(`${i.header}: ${i.message}`)};te.errors.conversionFailed=function(i){const d=i.types.length===1?"":" one of";const p=`${i.argument} could not be converted to`+`${d}: ${i.types.join(", ")}.`;return te.errors.exception({header:i.prefix,message:p})};te.errors.invalidArgument=function(i){return te.errors.exception({header:i.prefix,message:`"${i.value}" is an invalid ${i.type}.`})};te.brandCheck=function(i,d,p){if(p?.strict!==false){if(!(i instanceof d)){const i=new TypeError("Illegal invocation");i.code="ERR_INVALID_THIS";throw i}}else{if(i?.[Symbol.toStringTag]!==d.prototype[Symbol.toStringTag]){const i=new TypeError("Illegal invocation");i.code="ERR_INVALID_THIS";throw i}}};te.argumentLengthCheck=function({length:i},d,p){if(i{});te.util.ConvertToInt=function(i,d,p,v){let V;let K;if(d===64){V=Math.pow(2,53)-1;if(p==="unsigned"){K=0}else{K=Math.pow(-2,53)+1}}else if(p==="unsigned"){K=0;V=Math.pow(2,d)-1}else{K=Math.pow(-2,d)-1;V=Math.pow(2,d-1)-1}let ee=Number(i);if(ee===0){ee=0}if(v?.enforceRange===true){if(Number.isNaN(ee)||ee===Number.POSITIVE_INFINITY||ee===Number.NEGATIVE_INFINITY){throw te.errors.exception({header:"Integer conversion",message:`Could not convert ${te.util.Stringify(i)} to an integer.`})}ee=te.util.IntegerPart(ee);if(eeV){throw te.errors.exception({header:"Integer conversion",message:`Value must be between ${K}-${V}, got ${ee}.`})}return ee}if(!Number.isNaN(ee)&&v?.clamp===true){ee=Math.min(Math.max(ee,K),V);if(Math.floor(ee)%2===0){ee=Math.floor(ee)}else{ee=Math.ceil(ee)}return ee}if(Number.isNaN(ee)||ee===0&&Object.is(0,ee)||ee===Number.POSITIVE_INFINITY||ee===Number.NEGATIVE_INFINITY){return 0}ee=te.util.IntegerPart(ee);ee=ee%Math.pow(2,d);if(p==="signed"&&ee>=Math.pow(2,d)-1){return ee-Math.pow(2,d)}return ee};te.util.IntegerPart=function(i){const d=Math.floor(Math.abs(i));if(i<0){return-1*d}return d};te.util.Stringify=function(i){const d=te.util.Type(i);switch(d){case"Symbol":return`Symbol(${i.description})`;case"Object":return V(i);case"String":return`"${i}"`;default:return`${i}`}};te.sequenceConverter=function(i){return(d,p,v,V)=>{if(te.util.Type(d)!=="Object"){throw te.errors.exception({header:p,message:`${v} (${te.util.Stringify(d)}) is not iterable.`})}const K=typeof V==="function"?V():d?.[Symbol.iterator]?.();const ee=[];let re=0;if(K===undefined||typeof K.next!=="function"){throw te.errors.exception({header:p,message:`${v} is not iterable.`})}while(true){const{done:d,value:V}=K.next();if(d){break}ee.push(i(V,p,`${v}[${re++}]`))}return ee}};te.recordConverter=function(i,d){return(p,V,K)=>{if(te.util.Type(p)!=="Object"){throw te.errors.exception({header:V,message:`${K} ("${te.util.Type(p)}") is not an Object.`})}const ee={};if(!v.isProxy(p)){const v=[...Object.getOwnPropertyNames(p),...Object.getOwnPropertySymbols(p)];for(const te of v){const v=i(te,V,K);const re=d(p[te],V,K);ee[v]=re}return ee}const re=Reflect.ownKeys(p);for(const v of re){const te=Reflect.getOwnPropertyDescriptor(p,v);if(te?.enumerable){const te=i(v,V,K);const re=d(p[v],V,K);ee[te]=re}}return ee}};te.interfaceConverter=function(i){return(d,p,v,V)=>{if(V?.strict!==false&&!(d instanceof i)){throw te.errors.exception({header:p,message:`Expected ${v} ("${te.util.Stringify(d)}") to be an instance of ${i.name}.`})}return d}};te.dictionaryConverter=function(i){return(d,p,v)=>{const V=te.util.Type(d);const K={};if(V==="Null"||V==="Undefined"){return K}else if(V!=="Object"){throw te.errors.exception({header:p,message:`Expected ${d} to be one of: Null, Undefined, Object.`})}for(const V of i){const{key:i,defaultValue:ee,required:re,converter:ne}=V;if(re===true){if(!Object.hasOwn(d,i)){throw te.errors.exception({header:p,message:`Missing required key "${i}".`})}}let se=d[i];const ie=Object.hasOwn(V,"defaultValue");if(ie&&se!==null){se??=ee()}if(re||ie||se!==undefined){se=ne(se,p,`${v}.${i}`);if(V.allowedValues&&!V.allowedValues.includes(se)){throw te.errors.exception({header:p,message:`${se} is not an accepted type. Expected one of ${V.allowedValues.join(", ")}.`})}K[i]=se}}return K}};te.nullableConverter=function(i){return(d,p,v)=>{if(d===null){return d}return i(d,p,v)}};te.converters.DOMString=function(i,d,p,v){if(i===null&&v?.legacyNullToEmptyString){return""}if(typeof i==="symbol"){throw te.errors.exception({header:d,message:`${p} is a symbol, which cannot be converted to a DOMString.`})}return String(i)};te.converters.ByteString=function(i,d,p){const v=te.converters.DOMString(i,d,p);for(let i=0;i255){throw new TypeError("Cannot convert argument to a ByteString because the character at "+`index ${i} has a value of ${v.charCodeAt(i)} which is greater than 255.`)}}return v};te.converters.USVString=ee;te.converters.boolean=function(i){const d=Boolean(i);return d};te.converters.any=function(i){return i};te.converters["long long"]=function(i,d,p){const v=te.util.ConvertToInt(i,64,"signed",undefined,d,p);return v};te.converters["unsigned long long"]=function(i,d,p){const v=te.util.ConvertToInt(i,64,"unsigned",undefined,d,p);return v};te.converters["unsigned long"]=function(i,d,p){const v=te.util.ConvertToInt(i,32,"unsigned",undefined,d,p);return v};te.converters["unsigned short"]=function(i,d,p,v){const V=te.util.ConvertToInt(i,16,"unsigned",v,d,p);return V};te.converters.ArrayBuffer=function(i,d,p,V){if(te.util.Type(i)!=="Object"||!v.isAnyArrayBuffer(i)){throw te.errors.conversionFailed({prefix:d,argument:`${p} ("${te.util.Stringify(i)}")`,types:["ArrayBuffer"]})}if(V?.allowShared===false&&v.isSharedArrayBuffer(i)){throw te.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}if(i.resizable||i.growable){throw te.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."})}return i};te.converters.TypedArray=function(i,d,p,V,K){if(te.util.Type(i)!=="Object"||!v.isTypedArray(i)||i.constructor.name!==d.name){throw te.errors.conversionFailed({prefix:p,argument:`${V} ("${te.util.Stringify(i)}")`,types:[d.name]})}if(K?.allowShared===false&&v.isSharedArrayBuffer(i.buffer)){throw te.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}if(i.buffer.resizable||i.buffer.growable){throw te.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."})}return i};te.converters.DataView=function(i,d,p,V){if(te.util.Type(i)!=="Object"||!v.isDataView(i)){throw te.errors.exception({header:d,message:`${p} is not a DataView.`})}if(V?.allowShared===false&&v.isSharedArrayBuffer(i.buffer)){throw te.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}if(i.buffer.resizable||i.buffer.growable){throw te.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."})}return i};te.converters.BufferSource=function(i,d,p,V){if(v.isAnyArrayBuffer(i)){return te.converters.ArrayBuffer(i,d,p,{...V,allowShared:false})}if(v.isTypedArray(i)){return te.converters.TypedArray(i,i.constructor,d,p,{...V,allowShared:false})}if(v.isDataView(i)){return te.converters.DataView(i,d,p,{...V,allowShared:false})}throw te.errors.conversionFailed({prefix:d,argument:`${p} ("${te.util.Stringify(i)}")`,types:["BufferSource"]})};te.converters["sequence"]=te.sequenceConverter(te.converters.ByteString);te.converters["sequence>"]=te.sequenceConverter(te.converters["sequence"]);te.converters["record"]=te.recordConverter(te.converters.ByteString,te.converters.ByteString);i.exports={webidl:te}},93066:i=>{function getEncoding(i){if(!i){return"failure"}switch(i.trim().toLowerCase()){case"unicode-1-1-utf-8":case"unicode11utf8":case"unicode20utf8":case"utf-8":case"utf8":case"x-unicode20utf8":return"UTF-8";case"866":case"cp866":case"csibm866":case"ibm866":return"IBM866";case"csisolatin2":case"iso-8859-2":case"iso-ir-101":case"iso8859-2":case"iso88592":case"iso_8859-2":case"iso_8859-2:1987":case"l2":case"latin2":return"ISO-8859-2";case"csisolatin3":case"iso-8859-3":case"iso-ir-109":case"iso8859-3":case"iso88593":case"iso_8859-3":case"iso_8859-3:1988":case"l3":case"latin3":return"ISO-8859-3";case"csisolatin4":case"iso-8859-4":case"iso-ir-110":case"iso8859-4":case"iso88594":case"iso_8859-4":case"iso_8859-4:1988":case"l4":case"latin4":return"ISO-8859-4";case"csisolatincyrillic":case"cyrillic":case"iso-8859-5":case"iso-ir-144":case"iso8859-5":case"iso88595":case"iso_8859-5":case"iso_8859-5:1988":return"ISO-8859-5";case"arabic":case"asmo-708":case"csiso88596e":case"csiso88596i":case"csisolatinarabic":case"ecma-114":case"iso-8859-6":case"iso-8859-6-e":case"iso-8859-6-i":case"iso-ir-127":case"iso8859-6":case"iso88596":case"iso_8859-6":case"iso_8859-6:1987":return"ISO-8859-6";case"csisolatingreek":case"ecma-118":case"elot_928":case"greek":case"greek8":case"iso-8859-7":case"iso-ir-126":case"iso8859-7":case"iso88597":case"iso_8859-7":case"iso_8859-7:1987":case"sun_eu_greek":return"ISO-8859-7";case"csiso88598e":case"csisolatinhebrew":case"hebrew":case"iso-8859-8":case"iso-8859-8-e":case"iso-ir-138":case"iso8859-8":case"iso88598":case"iso_8859-8":case"iso_8859-8:1988":case"visual":return"ISO-8859-8";case"csiso88598i":case"iso-8859-8-i":case"logical":return"ISO-8859-8-I";case"csisolatin6":case"iso-8859-10":case"iso-ir-157":case"iso8859-10":case"iso885910":case"l6":case"latin6":return"ISO-8859-10";case"iso-8859-13":case"iso8859-13":case"iso885913":return"ISO-8859-13";case"iso-8859-14":case"iso8859-14":case"iso885914":return"ISO-8859-14";case"csisolatin9":case"iso-8859-15":case"iso8859-15":case"iso885915":case"iso_8859-15":case"l9":return"ISO-8859-15";case"iso-8859-16":return"ISO-8859-16";case"cskoi8r":case"koi":case"koi8":case"koi8-r":case"koi8_r":return"KOI8-R";case"koi8-ru":case"koi8-u":return"KOI8-U";case"csmacintosh":case"mac":case"macintosh":case"x-mac-roman":return"macintosh";case"iso-8859-11":case"iso8859-11":case"iso885911":case"tis-620":case"windows-874":return"windows-874";case"cp1250":case"windows-1250":case"x-cp1250":return"windows-1250";case"cp1251":case"windows-1251":case"x-cp1251":return"windows-1251";case"ansi_x3.4-1968":case"ascii":case"cp1252":case"cp819":case"csisolatin1":case"ibm819":case"iso-8859-1":case"iso-ir-100":case"iso8859-1":case"iso88591":case"iso_8859-1":case"iso_8859-1:1987":case"l1":case"latin1":case"us-ascii":case"windows-1252":case"x-cp1252":return"windows-1252";case"cp1253":case"windows-1253":case"x-cp1253":return"windows-1253";case"cp1254":case"csisolatin5":case"iso-8859-9":case"iso-ir-148":case"iso8859-9":case"iso88599":case"iso_8859-9":case"iso_8859-9:1989":case"l5":case"latin5":case"windows-1254":case"x-cp1254":return"windows-1254";case"cp1255":case"windows-1255":case"x-cp1255":return"windows-1255";case"cp1256":case"windows-1256":case"x-cp1256":return"windows-1256";case"cp1257":case"windows-1257":case"x-cp1257":return"windows-1257";case"cp1258":case"windows-1258":case"x-cp1258":return"windows-1258";case"x-mac-cyrillic":case"x-mac-ukrainian":return"x-mac-cyrillic";case"chinese":case"csgb2312":case"csiso58gb231280":case"gb2312":case"gb_2312":case"gb_2312-80":case"gbk":case"iso-ir-58":case"x-gbk":return"GBK";case"gb18030":return"gb18030";case"big5":case"big5-hkscs":case"cn-big5":case"csbig5":case"x-x-big5":return"Big5";case"cseucpkdfmtjapanese":case"euc-jp":case"x-euc-jp":return"EUC-JP";case"csiso2022jp":case"iso-2022-jp":return"ISO-2022-JP";case"csshiftjis":case"ms932":case"ms_kanji":case"shift-jis":case"shift_jis":case"sjis":case"windows-31j":case"x-sjis":return"Shift_JIS";case"cseuckr":case"csksc56011987":case"euc-kr":case"iso-ir-149":case"korean":case"ks_c_5601-1987":case"ks_c_5601-1989":case"ksc5601":case"ksc_5601":case"windows-949":return"EUC-KR";case"csiso2022kr":case"hz-gb-2312":case"iso-2022-cn":case"iso-2022-cn-ext":case"iso-2022-kr":case"replacement":return"replacement";case"unicodefffe":case"utf-16be":return"UTF-16BE";case"csunicode":case"iso-10646-ucs-2":case"ucs-2":case"unicode":case"unicodefeff":case"utf-16":case"utf-16le":return"UTF-16LE";case"x-user-defined":return"x-user-defined";default:return"failure"}}i.exports={getEncoding:getEncoding}},7230:(i,d,p)=>{const{staticPropertyDescriptors:v,readOperation:V,fireAProgressEvent:K}=p(38319);const{kState:ee,kError:te,kResult:re,kEvents:ne,kAborted:se}=p(79570);const{webidl:ie}=p(17092);const{kEnumerableProperty:oe}=p(61671);class FileReader extends EventTarget{constructor(){super();this[ee]="empty";this[re]=null;this[te]=null;this[ne]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(i){ie.brandCheck(this,FileReader);ie.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer");i=ie.converters.Blob(i,{strict:false});V(this,i,"ArrayBuffer")}readAsBinaryString(i){ie.brandCheck(this,FileReader);ie.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString");i=ie.converters.Blob(i,{strict:false});V(this,i,"BinaryString")}readAsText(i,d=undefined){ie.brandCheck(this,FileReader);ie.argumentLengthCheck(arguments,1,"FileReader.readAsText");i=ie.converters.Blob(i,{strict:false});if(d!==undefined){d=ie.converters.DOMString(d,"FileReader.readAsText","encoding")}V(this,i,"Text",d)}readAsDataURL(i){ie.brandCheck(this,FileReader);ie.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL");i=ie.converters.Blob(i,{strict:false});V(this,i,"DataURL")}abort(){if(this[ee]==="empty"||this[ee]==="done"){this[re]=null;return}if(this[ee]==="loading"){this[ee]="done";this[re]=null}this[se]=true;K("abort",this);if(this[ee]!=="loading"){K("loadend",this)}}get readyState(){ie.brandCheck(this,FileReader);switch(this[ee]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){ie.brandCheck(this,FileReader);return this[re]}get error(){ie.brandCheck(this,FileReader);return this[te]}get onloadend(){ie.brandCheck(this,FileReader);return this[ne].loadend}set onloadend(i){ie.brandCheck(this,FileReader);if(this[ne].loadend){this.removeEventListener("loadend",this[ne].loadend)}if(typeof i==="function"){this[ne].loadend=i;this.addEventListener("loadend",i)}else{this[ne].loadend=null}}get onerror(){ie.brandCheck(this,FileReader);return this[ne].error}set onerror(i){ie.brandCheck(this,FileReader);if(this[ne].error){this.removeEventListener("error",this[ne].error)}if(typeof i==="function"){this[ne].error=i;this.addEventListener("error",i)}else{this[ne].error=null}}get onloadstart(){ie.brandCheck(this,FileReader);return this[ne].loadstart}set onloadstart(i){ie.brandCheck(this,FileReader);if(this[ne].loadstart){this.removeEventListener("loadstart",this[ne].loadstart)}if(typeof i==="function"){this[ne].loadstart=i;this.addEventListener("loadstart",i)}else{this[ne].loadstart=null}}get onprogress(){ie.brandCheck(this,FileReader);return this[ne].progress}set onprogress(i){ie.brandCheck(this,FileReader);if(this[ne].progress){this.removeEventListener("progress",this[ne].progress)}if(typeof i==="function"){this[ne].progress=i;this.addEventListener("progress",i)}else{this[ne].progress=null}}get onload(){ie.brandCheck(this,FileReader);return this[ne].load}set onload(i){ie.brandCheck(this,FileReader);if(this[ne].load){this.removeEventListener("load",this[ne].load)}if(typeof i==="function"){this[ne].load=i;this.addEventListener("load",i)}else{this[ne].load=null}}get onabort(){ie.brandCheck(this,FileReader);return this[ne].abort}set onabort(i){ie.brandCheck(this,FileReader);if(this[ne].abort){this.removeEventListener("abort",this[ne].abort)}if(typeof i==="function"){this[ne].abort=i;this.addEventListener("abort",i)}else{this[ne].abort=null}}}FileReader.EMPTY=FileReader.prototype.EMPTY=0;FileReader.LOADING=FileReader.prototype.LOADING=1;FileReader.DONE=FileReader.prototype.DONE=2;Object.defineProperties(FileReader.prototype,{EMPTY:v,LOADING:v,DONE:v,readAsArrayBuffer:oe,readAsBinaryString:oe,readAsText:oe,readAsDataURL:oe,abort:oe,readyState:oe,result:oe,error:oe,onloadstart:oe,onprogress:oe,onload:oe,onabort:oe,onerror:oe,onloadend:oe,[Symbol.toStringTag]:{value:"FileReader",writable:false,enumerable:false,configurable:true}});Object.defineProperties(FileReader,{EMPTY:v,LOADING:v,DONE:v});i.exports={FileReader:FileReader}},56886:(i,d,p)=>{const{webidl:v}=p(17092);const V=Symbol("ProgressEvent state");class ProgressEvent extends Event{constructor(i,d={}){i=v.converters.DOMString(i,"ProgressEvent constructor","type");d=v.converters.ProgressEventInit(d??{});super(i,d);this[V]={lengthComputable:d.lengthComputable,loaded:d.loaded,total:d.total}}get lengthComputable(){v.brandCheck(this,ProgressEvent);return this[V].lengthComputable}get loaded(){v.brandCheck(this,ProgressEvent);return this[V].loaded}get total(){v.brandCheck(this,ProgressEvent);return this[V].total}}v.converters.ProgressEventInit=v.dictionaryConverter([{key:"lengthComputable",converter:v.converters.boolean,defaultValue:()=>false},{key:"loaded",converter:v.converters["unsigned long long"],defaultValue:()=>0},{key:"total",converter:v.converters["unsigned long long"],defaultValue:()=>0},{key:"bubbles",converter:v.converters.boolean,defaultValue:()=>false},{key:"cancelable",converter:v.converters.boolean,defaultValue:()=>false},{key:"composed",converter:v.converters.boolean,defaultValue:()=>false}]);i.exports={ProgressEvent:ProgressEvent}},79570:i=>{i.exports={kState:Symbol("FileReader state"),kResult:Symbol("FileReader result"),kError:Symbol("FileReader error"),kLastProgressEventFired:Symbol("FileReader last progress event fired timestamp"),kEvents:Symbol("FileReader events"),kAborted:Symbol("FileReader aborted")}},38319:(i,d,p)=>{const{kState:v,kError:V,kResult:K,kAborted:ee,kLastProgressEventFired:te}=p(79570);const{ProgressEvent:re}=p(56886);const{getEncoding:ne}=p(93066);const{serializeAMimeType:se,parseMIMEType:ie}=p(37953);const{types:oe}=p(57975);const{StringDecoder:ae}=p(13193);const{btoa:Ae}=p(4573);const ce={enumerable:true,writable:false,configurable:false};function readOperation(i,d,p,re){if(i[v]==="loading"){throw new DOMException("Invalid state","InvalidStateError")}i[v]="loading";i[K]=null;i[V]=null;const ne=d.stream();const se=ne.getReader();const ie=[];let ae=se.read();let Ae=true;(async()=>{while(!i[ee]){try{const{done:ne,value:ce}=await ae;if(Ae&&!i[ee]){queueMicrotask((()=>{fireAProgressEvent("loadstart",i)}))}Ae=false;if(!ne&&oe.isUint8Array(ce)){ie.push(ce);if((i[te]===undefined||Date.now()-i[te]>=50)&&!i[ee]){i[te]=Date.now();queueMicrotask((()=>{fireAProgressEvent("progress",i)}))}ae=se.read()}else if(ne){queueMicrotask((()=>{i[v]="done";try{const v=packageData(ie,p,d.type,re);if(i[ee]){return}i[K]=v;fireAProgressEvent("load",i)}catch(d){i[V]=d;fireAProgressEvent("error",i)}if(i[v]!=="loading"){fireAProgressEvent("loadend",i)}}));break}}catch(d){if(i[ee]){return}queueMicrotask((()=>{i[v]="done";i[V]=d;fireAProgressEvent("error",i);if(i[v]!=="loading"){fireAProgressEvent("loadend",i)}}));break}}})()}function fireAProgressEvent(i,d){const p=new re(i,{bubbles:false,cancelable:false});d.dispatchEvent(p)}function packageData(i,d,p,v){switch(d){case"DataURL":{let d="data:";const v=ie(p||"application/octet-stream");if(v!=="failure"){d+=se(v)}d+=";base64,";const V=new ae("latin1");for(const p of i){d+=Ae(V.write(p))}d+=Ae(V.end());return d}case"Text":{let d="failure";if(v){d=ne(v)}if(d==="failure"&&p){const i=ie(p);if(i!=="failure"){d=ne(i.parameters.get("charset"))}}if(d==="failure"){d="UTF-8"}return decode(i,d)}case"ArrayBuffer":{const d=combineByteSequences(i);return d.buffer}case"BinaryString":{let d="";const p=new ae("latin1");for(const v of i){d+=p.write(v)}d+=p.end();return d}}}function decode(i,d){const p=combineByteSequences(i);const v=BOMSniffing(p);let V=0;if(v!==null){d=v;V=v==="UTF-8"?3:2}const K=p.slice(V);return new TextDecoder(d).decode(K)}function BOMSniffing(i){const[d,p,v]=i;if(d===239&&p===187&&v===191){return"UTF-8"}else if(d===254&&p===255){return"UTF-16BE"}else if(d===255&&p===254){return"UTF-16LE"}return null}function combineByteSequences(i){const d=i.reduce(((i,d)=>i+d.byteLength),0);let p=0;return i.reduce(((i,d)=>{i.set(d,p);p+=d.byteLength;return i}),new Uint8Array(d))}i.exports={staticPropertyDescriptors:ce,readOperation:readOperation,fireAProgressEvent:fireAProgressEvent}},60896:(i,d,p)=>{const{uid:v,states:V,sentCloseFrameState:K,emptyBuffer:ee,opcodes:te}=p(23715);const{kReadyState:re,kSentClose:ne,kByteParser:se,kReceivedClose:ie,kResponse:oe}=p(21503);const{fireEvent:ae,failWebsocketConnection:Ae,isClosing:ce,isClosed:le,isEstablished:ue,parseExtensions:de}=p(51484);const{channels:he}=p(92527);const{CloseEvent:fe}=p(97049);const{makeRequest:ge}=p(83772);const{fetching:pe}=p(21609);const{Headers:me,getHeadersList:Ee}=p(54591);const{getDecodeSplit:Ce}=p(39921);const{WebsocketFrameSend:ye}=p(29879);let Ie;try{Ie=p(77598)}catch{}function establishWebSocketConnection(i,d,p,V,K,ee){const te=i;te.protocol=i.protocol==="ws:"?"http:":"https:";const re=ge({urlList:[te],client:p,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(ee.headers){const i=Ee(new me(ee.headers));re.headersList=i}const ne=Ie.randomBytes(16).toString("base64");re.headersList.append("sec-websocket-key",ne);re.headersList.append("sec-websocket-version","13");for(const i of d){re.headersList.append("sec-websocket-protocol",i)}const se="permessage-deflate; client_max_window_bits";re.headersList.append("sec-websocket-extensions",se);const ie=pe({request:re,useParallelQueue:true,dispatcher:ee.dispatcher,processResponse(i){if(i.type==="error"||i.status!==101){Ae(V,"Received network error or non-101 status code.");return}if(d.length!==0&&!i.headersList.get("Sec-WebSocket-Protocol")){Ae(V,"Server did not respond with sent protocols.");return}if(i.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){Ae(V,'Server did not set Upgrade header to "websocket".');return}if(i.headersList.get("Connection")?.toLowerCase()!=="upgrade"){Ae(V,'Server did not set Connection header to "upgrade".');return}const p=i.headersList.get("Sec-WebSocket-Accept");const ee=Ie.createHash("sha1").update(ne+v).digest("base64");if(p!==ee){Ae(V,"Incorrect hash received in Sec-WebSocket-Accept header.");return}const te=i.headersList.get("Sec-WebSocket-Extensions");let se;if(te!==null){se=de(te);if(!se.has("permessage-deflate")){Ae(V,"Sec-WebSocket-Extensions header does not match.");return}}const ie=i.headersList.get("Sec-WebSocket-Protocol");if(ie!==null){const i=Ce("sec-websocket-protocol",re.headersList);if(!i.includes(ie)){Ae(V,"Protocol was not set in the opening handshake.");return}}i.socket.on("data",onSocketData);i.socket.on("close",onSocketClose);i.socket.on("error",onSocketError);if(he.open.hasSubscribers){he.open.publish({address:i.socket.address(),protocol:ie,extensions:te})}K(i,se)}});return ie}function closeWebSocketConnection(i,d,p,v){if(ce(i)||le(i)){}else if(!ue(i)){Ae(i,"Connection was closed before it was established.");i[re]=V.CLOSING}else if(i[ne]===K.NOT_SENT){i[ne]=K.PROCESSING;const se=new ye;if(d!==undefined&&p===undefined){se.frameData=Buffer.allocUnsafe(2);se.frameData.writeUInt16BE(d,0)}else if(d!==undefined&&p!==undefined){se.frameData=Buffer.allocUnsafe(2+v);se.frameData.writeUInt16BE(d,0);se.frameData.write(p,2,"utf-8")}else{se.frameData=ee}const ie=i[oe].socket;ie.write(se.createFrame(te.CLOSE));i[ne]=K.SENT;i[re]=V.CLOSING}else{i[re]=V.CLOSING}}function onSocketData(i){if(!this.ws[se].write(i)){this.pause()}}function onSocketClose(){const{ws:i}=this;const{[oe]:d}=i;d.socket.off("data",onSocketData);d.socket.off("close",onSocketClose);d.socket.off("error",onSocketError);const p=i[ne]===K.SENT&&i[ie];let v=1005;let ee="";const te=i[se].closingInfo;if(te&&!te.error){v=te.code??1005;ee=te.reason}else if(!i[ie]){v=1006}i[re]=V.CLOSED;ae("close",i,((i,d)=>new fe(i,d)),{wasClean:p,code:v,reason:ee});if(he.close.hasSubscribers){he.close.publish({websocket:i,code:v,reason:ee})}}function onSocketError(i){const{ws:d}=this;d[re]=V.CLOSING;if(he.socketError.hasSubscribers){he.socketError.publish(i)}this.destroy()}i.exports={establishWebSocketConnection:establishWebSocketConnection,closeWebSocketConnection:closeWebSocketConnection}},23715:i=>{const d="258EAFA5-E914-47DA-95CA-C5AB0DC85B11";const p={enumerable:true,writable:false,configurable:false};const v={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3};const V={NOT_SENT:0,PROCESSING:1,SENT:2};const K={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10};const ee=2**16-1;const te={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4};const re=Buffer.allocUnsafe(0);const ne={string:1,typedArray:2,arrayBuffer:3,blob:4};i.exports={uid:d,sentCloseFrameState:V,staticPropertyDescriptors:p,states:v,opcodes:K,maxUnsigned16Bit:ee,parserStates:te,emptyBuffer:re,sendHints:ne}},97049:(i,d,p)=>{const{webidl:v}=p(17092);const{kEnumerableProperty:V}=p(61671);const{kConstruct:K}=p(65082);const{MessagePort:ee}=p(75919);class MessageEvent extends Event{#z;constructor(i,d={}){if(i===K){super(arguments[1],arguments[2]);v.util.markAsUncloneable(this);return}const p="MessageEvent constructor";v.argumentLengthCheck(arguments,1,p);i=v.converters.DOMString(i,p,"type");d=v.converters.MessageEventInit(d,p,"eventInitDict");super(i,d);this.#z=d;v.util.markAsUncloneable(this)}get data(){v.brandCheck(this,MessageEvent);return this.#z.data}get origin(){v.brandCheck(this,MessageEvent);return this.#z.origin}get lastEventId(){v.brandCheck(this,MessageEvent);return this.#z.lastEventId}get source(){v.brandCheck(this,MessageEvent);return this.#z.source}get ports(){v.brandCheck(this,MessageEvent);if(!Object.isFrozen(this.#z.ports)){Object.freeze(this.#z.ports)}return this.#z.ports}initMessageEvent(i,d=false,p=false,V=null,K="",ee="",te=null,re=[]){v.brandCheck(this,MessageEvent);v.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent");return new MessageEvent(i,{bubbles:d,cancelable:p,data:V,origin:K,lastEventId:ee,source:te,ports:re})}static createFastMessageEvent(i,d){const p=new MessageEvent(K,i,d);p.#z=d;p.#z.data??=null;p.#z.origin??="";p.#z.lastEventId??="";p.#z.source??=null;p.#z.ports??=[];return p}}const{createFastMessageEvent:te}=MessageEvent;delete MessageEvent.createFastMessageEvent;class CloseEvent extends Event{#z;constructor(i,d={}){const p="CloseEvent constructor";v.argumentLengthCheck(arguments,1,p);i=v.converters.DOMString(i,p,"type");d=v.converters.CloseEventInit(d);super(i,d);this.#z=d;v.util.markAsUncloneable(this)}get wasClean(){v.brandCheck(this,CloseEvent);return this.#z.wasClean}get code(){v.brandCheck(this,CloseEvent);return this.#z.code}get reason(){v.brandCheck(this,CloseEvent);return this.#z.reason}}class ErrorEvent extends Event{#z;constructor(i,d){const p="ErrorEvent constructor";v.argumentLengthCheck(arguments,1,p);super(i,d);v.util.markAsUncloneable(this);i=v.converters.DOMString(i,p,"type");d=v.converters.ErrorEventInit(d??{});this.#z=d}get message(){v.brandCheck(this,ErrorEvent);return this.#z.message}get filename(){v.brandCheck(this,ErrorEvent);return this.#z.filename}get lineno(){v.brandCheck(this,ErrorEvent);return this.#z.lineno}get colno(){v.brandCheck(this,ErrorEvent);return this.#z.colno}get error(){v.brandCheck(this,ErrorEvent);return this.#z.error}}Object.defineProperties(MessageEvent.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:true},data:V,origin:V,lastEventId:V,source:V,ports:V,initMessageEvent:V});Object.defineProperties(CloseEvent.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:true},reason:V,code:V,wasClean:V});Object.defineProperties(ErrorEvent.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:true},message:V,filename:V,lineno:V,colno:V,error:V});v.converters.MessagePort=v.interfaceConverter(ee);v.converters["sequence"]=v.sequenceConverter(v.converters.MessagePort);const re=[{key:"bubbles",converter:v.converters.boolean,defaultValue:()=>false},{key:"cancelable",converter:v.converters.boolean,defaultValue:()=>false},{key:"composed",converter:v.converters.boolean,defaultValue:()=>false}];v.converters.MessageEventInit=v.dictionaryConverter([...re,{key:"data",converter:v.converters.any,defaultValue:()=>null},{key:"origin",converter:v.converters.USVString,defaultValue:()=>""},{key:"lastEventId",converter:v.converters.DOMString,defaultValue:()=>""},{key:"source",converter:v.nullableConverter(v.converters.MessagePort),defaultValue:()=>null},{key:"ports",converter:v.converters["sequence"],defaultValue:()=>new Array(0)}]);v.converters.CloseEventInit=v.dictionaryConverter([...re,{key:"wasClean",converter:v.converters.boolean,defaultValue:()=>false},{key:"code",converter:v.converters["unsigned short"],defaultValue:()=>0},{key:"reason",converter:v.converters.USVString,defaultValue:()=>""}]);v.converters.ErrorEventInit=v.dictionaryConverter([...re,{key:"message",converter:v.converters.DOMString,defaultValue:()=>""},{key:"filename",converter:v.converters.USVString,defaultValue:()=>""},{key:"lineno",converter:v.converters["unsigned long"],defaultValue:()=>0},{key:"colno",converter:v.converters["unsigned long"],defaultValue:()=>0},{key:"error",converter:v.converters.any}]);i.exports={MessageEvent:MessageEvent,CloseEvent:CloseEvent,ErrorEvent:ErrorEvent,createFastMessageEvent:te}},29879:(i,d,p)=>{const{maxUnsigned16Bit:v}=p(23715);const V=16386;let K;let ee=null;let te=V;try{K=p(77598)}catch{K={randomFillSync:function randomFillSync(i,d,p){for(let d=0;dv){ee+=8;K=127}else if(V>125){ee+=2;K=126}const te=Buffer.allocUnsafe(V+ee);te[0]=te[1]=0;te[0]|=128;te[0]=(te[0]&240)+i; +/*! ws. MIT License. Einar Otto Stangvik */te[ee-4]=p[0];te[ee-3]=p[1];te[ee-2]=p[2];te[ee-1]=p[3];te[1]=K;if(K===126){te.writeUInt16BE(V,2)}else if(K===127){te[2]=te[3]=0;te.writeUIntBE(V,4,6)}te[1]|=128;for(let i=0;i{const{createInflateRaw:v,Z_DEFAULT_WINDOWBITS:V}=p(38522);const{isValidClientWindowBits:K}=p(51484);const ee=Buffer.from([0,0,255,255]);const te=Symbol("kBuffer");const re=Symbol("kLength");class PerMessageDeflate{#$;#h={};constructor(i){this.#h.serverNoContextTakeover=i.has("server_no_context_takeover");this.#h.serverMaxWindowBits=i.get("server_max_window_bits")}decompress(i,d,p){if(!this.#$){let i=V;if(this.#h.serverMaxWindowBits){if(!K(this.#h.serverMaxWindowBits)){p(new Error("Invalid server_max_window_bits"));return}i=Number.parseInt(this.#h.serverMaxWindowBits)}this.#$=v({windowBits:i});this.#$[te]=[];this.#$[re]=0;this.#$.on("data",(i=>{this.#$[te].push(i);this.#$[re]+=i.length}));this.#$.on("error",(i=>{this.#$=null;p(i)}))}this.#$.write(i);if(d){this.#$.write(ee)}this.#$.flush((()=>{const i=Buffer.concat(this.#$[te],this.#$[re]);this.#$[te].length=0;this.#$[re]=0;p(null,i)}))}}i.exports={PerMessageDeflate:PerMessageDeflate}},21601:(i,d,p)=>{const{Writable:v}=p(57075);const V=p(34589);const{parserStates:K,opcodes:ee,states:te,emptyBuffer:re,sentCloseFrameState:ne}=p(23715);const{kReadyState:se,kSentClose:ie,kResponse:oe,kReceivedClose:ae}=p(21503);const{channels:Ae}=p(92527);const{isValidStatusCode:ce,isValidOpcode:le,failWebsocketConnection:ue,websocketMessageReceived:de,utf8Decode:he,isControlFrame:fe,isTextBinaryFrame:ge,isContinuationFrame:pe}=p(51484);const{WebsocketFrameSend:me}=p(29879);const{closeWebSocketConnection:Ee}=p(60896);const{PerMessageDeflate:Ce}=p(10908);class ByteParser extends v{#K=[];#X=0;#Z=false;#y=K.INFO;#ee={};#te=[];#re;constructor(i,d){super();this.ws=i;this.#re=d==null?new Map:d;if(this.#re.has("permessage-deflate")){this.#re.set("permessage-deflate",new Ce(d))}}_write(i,d,p){this.#K.push(i);this.#X+=i.length;this.#Z=true;this.run(p)}run(i){while(this.#Z){if(this.#y===K.INFO){if(this.#X<2){return i()}const d=this.consume(2);const p=(d[0]&128)!==0;const v=d[0]&15;const V=(d[1]&128)===128;const te=!p&&v!==ee.CONTINUATION;const re=d[1]&127;const ne=d[0]&64;const se=d[0]&32;const ie=d[0]&16;if(!le(v)){ue(this.ws,"Invalid opcode received");return i()}if(V){ue(this.ws,"Frame cannot be masked");return i()}if(ne!==0&&!this.#re.has("permessage-deflate")){ue(this.ws,"Expected RSV1 to be clear.");return}if(se!==0||ie!==0){ue(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(te&&!ge(v)){ue(this.ws,"Invalid frame type was fragmented.");return}if(ge(v)&&this.#te.length>0){ue(this.ws,"Expected continuation frame");return}if(this.#ee.fragmented&&te){ue(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((re>125||te)&&fe(v)){ue(this.ws,"Control frame either too large or fragmented");return}if(pe(v)&&this.#te.length===0&&!this.#ee.compressed){ue(this.ws,"Unexpected continuation frame");return}if(re<=125){this.#ee.payloadLength=re;this.#y=K.READ_DATA}else if(re===126){this.#y=K.PAYLOADLENGTH_16}else if(re===127){this.#y=K.PAYLOADLENGTH_64}if(ge(v)){this.#ee.binaryType=v;this.#ee.compressed=ne!==0}this.#ee.opcode=v;this.#ee.masked=V;this.#ee.fin=p;this.#ee.fragmented=te}else if(this.#y===K.PAYLOADLENGTH_16){if(this.#X<2){return i()}const d=this.consume(2);this.#ee.payloadLength=d.readUInt16BE(0);this.#y=K.READ_DATA}else if(this.#y===K.PAYLOADLENGTH_64){if(this.#X<8){return i()}const d=this.consume(8);const p=d.readUInt32BE(0);if(p>2**31-1){ue(this.ws,"Received payload length > 2^31 bytes.");return}const v=d.readUInt32BE(4);this.#ee.payloadLength=(p<<8)+v;this.#y=K.READ_DATA}else if(this.#y===K.READ_DATA){if(this.#X{if(d){Ee(this.ws,1007,d.message,d.message.length);return}this.#te.push(p);if(!this.#ee.fin){this.#y=K.INFO;this.#Z=true;this.run(i);return}de(this.ws,this.#ee.binaryType,Buffer.concat(this.#te));this.#Z=true;this.#y=K.INFO;this.#te.length=0;this.run(i)}));this.#Z=false;break}}}}}consume(i){if(i>this.#X){throw new Error("Called consume() before buffers satiated.")}else if(i===0){return re}if(this.#K[0].length===i){this.#X-=this.#K[0].length;return this.#K.shift()}const d=Buffer.allocUnsafe(i);let p=0;while(p!==i){const v=this.#K[0];const{length:V}=v;if(V+p===i){d.set(this.#K.shift(),p);break}else if(V+p>i){d.set(v.subarray(0,i-p),p);this.#K[0]=v.subarray(i-p);break}else{d.set(this.#K.shift(),p);p+=v.length}}this.#X-=i;return d}parseCloseBody(i){V(i.length!==1);let d;if(i.length>=2){d=i.readUInt16BE(0)}if(d!==undefined&&!ce(d)){return{code:1002,reason:"Invalid status code",error:true}}let p=i.subarray(2);if(p[0]===239&&p[1]===187&&p[2]===191){p=p.subarray(3)}try{p=he(p)}catch{return{code:1007,reason:"Invalid UTF-8",error:true}}return{code:d,reason:p,error:false}}parseControlFrame(i){const{opcode:d,payloadLength:p}=this.#ee;if(d===ee.CLOSE){if(p===1){ue(this.ws,"Received close frame with a 1-byte body.");return false}this.#ee.closeInfo=this.parseCloseBody(i);if(this.#ee.closeInfo.error){const{code:i,reason:d}=this.#ee.closeInfo;Ee(this.ws,i,d,d.length);ue(this.ws,d);return false}if(this.ws[ie]!==ne.SENT){let i=re;if(this.#ee.closeInfo.code){i=Buffer.allocUnsafe(2);i.writeUInt16BE(this.#ee.closeInfo.code,0)}const d=new me(i);this.ws[oe].socket.write(d.createFrame(ee.CLOSE),(i=>{if(!i){this.ws[ie]=ne.SENT}}))}this.ws[se]=te.CLOSING;this.ws[ae]=true;return false}else if(d===ee.PING){if(!this.ws[ae]){const d=new me(i);this.ws[oe].socket.write(d.createFrame(ee.PONG));if(Ae.ping.hasSubscribers){Ae.ping.publish({payload:i})}}}else if(d===ee.PONG){if(Ae.pong.hasSubscribers){Ae.pong.publish({payload:i})}}return true}get closingInfo(){return this.#ee.closeInfo}}i.exports={ByteParser:ByteParser}},6657:(i,d,p)=>{const{WebsocketFrameSend:v}=p(29879);const{opcodes:V,sendHints:K}=p(23715);const ee=p(41605);const te=Buffer[Symbol.species];class SendQueue{#ne=new ee;#se=false;#ie;constructor(i){this.#ie=i}add(i,d,p){if(p!==K.blob){const v=createFrame(i,p);if(!this.#se){this.#ie.write(v,d)}else{const i={promise:null,callback:d,frame:v};this.#ne.push(i)}return}const v={promise:i.arrayBuffer().then((i=>{v.promise=null;v.frame=createFrame(i,p)})),callback:d,frame:null};this.#ne.push(v);if(!this.#se){this.#oe()}}async#oe(){this.#se=true;const i=this.#ne;while(!i.isEmpty()){const d=i.shift();if(d.promise!==null){await d.promise}this.#ie.write(d.frame,d.callback);d.callback=d.frame=null}this.#se=false}}function createFrame(i,d){return new v(toBuffer(i,d)).createFrame(d===K.string?V.TEXT:V.BINARY)}function toBuffer(i,d){switch(d){case K.string:return Buffer.from(i);case K.arrayBuffer:case K.blob:return new te(i);case K.typedArray:return new te(i.buffer,i.byteOffset,i.byteLength)}}i.exports={SendQueue:SendQueue}},21503:i=>{i.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},51484:(i,d,p)=>{const{kReadyState:v,kController:V,kResponse:K,kBinaryType:ee,kWebSocketURL:te}=p(21503);const{states:re,opcodes:ne}=p(23715);const{ErrorEvent:se,createFastMessageEvent:ie}=p(97049);const{isUtf8:oe}=p(4573);const{collectASequenceOfCodePointsFast:ae,removeHTTPWhitespace:Ae}=p(37953);function isConnecting(i){return i[v]===re.CONNECTING}function isEstablished(i){return i[v]===re.OPEN}function isClosing(i){return i[v]===re.CLOSING}function isClosed(i){return i[v]===re.CLOSED}function fireEvent(i,d,p=(i,d)=>new Event(i,d),v={}){const V=p(i,v);d.dispatchEvent(V)}function websocketMessageReceived(i,d,p){if(i[v]!==re.OPEN){return}let V;if(d===ne.TEXT){try{V=ue(p)}catch{failWebsocketConnection(i,"Received invalid UTF-8 in text frame.");return}}else if(d===ne.BINARY){if(i[ee]==="blob"){V=new Blob([p])}else{V=toArrayBuffer(p)}}fireEvent("message",i,ie,{origin:i[te].origin,data:V})}function toArrayBuffer(i){if(i.byteLength===i.buffer.byteLength){return i.buffer}return i.buffer.slice(i.byteOffset,i.byteOffset+i.byteLength)}function isValidSubprotocol(i){if(i.length===0){return false}for(let d=0;d126||p===34||p===40||p===41||p===44||p===47||p===58||p===59||p===60||p===61||p===62||p===63||p===64||p===91||p===92||p===93||p===123||p===125){return false}}return true}function isValidStatusCode(i){if(i>=1e3&&i<1015){return i!==1004&&i!==1005&&i!==1006}return i>=3e3&&i<=4999}function failWebsocketConnection(i,d){const{[V]:p,[K]:v}=i;p.abort();if(v?.socket&&!v.socket.destroyed){v.socket.destroy()}if(d){fireEvent("error",i,((i,d)=>new se(i,d)),{error:new Error(d),message:d})}}function isControlFrame(i){return i===ne.CLOSE||i===ne.PING||i===ne.PONG}function isContinuationFrame(i){return i===ne.CONTINUATION}function isTextBinaryFrame(i){return i===ne.TEXT||i===ne.BINARY}function isValidOpcode(i){return isTextBinaryFrame(i)||isContinuationFrame(i)||isControlFrame(i)}function parseExtensions(i){const d={position:0};const p=new Map;while(d.position57){return false}}return true}const ce=typeof process.versions.icu==="string";const le=ce?new TextDecoder("utf-8",{fatal:true}):undefined;const ue=ce?le.decode.bind(le):function(i){if(oe(i)){return i.toString("utf-8")}throw new TypeError("Invalid utf-8 received.")};i.exports={isConnecting:isConnecting,isEstablished:isEstablished,isClosing:isClosing,isClosed:isClosed,fireEvent:fireEvent,isValidSubprotocol:isValidSubprotocol,isValidStatusCode:isValidStatusCode,failWebsocketConnection:failWebsocketConnection,websocketMessageReceived:websocketMessageReceived,utf8Decode:ue,isControlFrame:isControlFrame,isContinuationFrame:isContinuationFrame,isTextBinaryFrame:isTextBinaryFrame,isValidOpcode:isValidOpcode,parseExtensions:parseExtensions,isValidClientWindowBits:isValidClientWindowBits}},58029:(i,d,p)=>{const{webidl:v}=p(17092);const{URLSerializer:V}=p(37953);const{environmentSettingsObject:K}=p(39921);const{staticPropertyDescriptors:ee,states:te,sentCloseFrameState:re,sendHints:ne}=p(23715);const{kWebSocketURL:se,kReadyState:ie,kController:oe,kBinaryType:ae,kResponse:Ae,kSentClose:ce,kByteParser:le}=p(21503);const{isConnecting:ue,isEstablished:de,isClosing:he,isValidSubprotocol:fe,fireEvent:ge}=p(51484);const{establishWebSocketConnection:pe,closeWebSocketConnection:me}=p(60896);const{ByteParser:Ee}=p(21601);const{kEnumerableProperty:Ce,isBlobLike:ye}=p(61671);const{getGlobalDispatcher:Ie}=p(97256);const{types:Be}=p(57975);const{ErrorEvent:Qe,CloseEvent:be}=p(97049);const{SendQueue:we}=p(6657);class WebSocket extends EventTarget{#P={open:null,error:null,close:null,message:null};#ae=0;#Ae="";#re="";#ce;constructor(i,d=[]){super();v.util.markAsUncloneable(this);const p="WebSocket constructor";v.argumentLengthCheck(arguments,1,p);const V=v.converters["DOMString or sequence or WebSocketInit"](d,p,"options");i=v.converters.USVString(i,p,"url");d=V.protocols;const ee=K.settingsObject.baseUrl;let te;try{te=new URL(i,ee)}catch(i){throw new DOMException(i,"SyntaxError")}if(te.protocol==="http:"){te.protocol="ws:"}else if(te.protocol==="https:"){te.protocol="wss:"}if(te.protocol!=="ws:"&&te.protocol!=="wss:"){throw new DOMException(`Expected a ws: or wss: protocol, got ${te.protocol}`,"SyntaxError")}if(te.hash||te.href.endsWith("#")){throw new DOMException("Got fragment","SyntaxError")}if(typeof d==="string"){d=[d]}if(d.length!==new Set(d.map((i=>i.toLowerCase()))).size){throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError")}if(d.length>0&&!d.every((i=>fe(i)))){throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError")}this[se]=new URL(te.href);const ne=K.settingsObject;this[oe]=pe(te,d,ne,this,((i,d)=>this.#le(i,d)),V);this[ie]=WebSocket.CONNECTING;this[ce]=re.NOT_SENT;this[ae]="blob"}close(i=undefined,d=undefined){v.brandCheck(this,WebSocket);const p="WebSocket.close";if(i!==undefined){i=v.converters["unsigned short"](i,p,"code",{clamp:true})}if(d!==undefined){d=v.converters.USVString(d,p,"reason")}if(i!==undefined){if(i!==1e3&&(i<3e3||i>4999)){throw new DOMException("invalid code","InvalidAccessError")}}let V=0;if(d!==undefined){V=Buffer.byteLength(d);if(V>123){throw new DOMException(`Reason must be less than 123 bytes; received ${V}`,"SyntaxError")}}me(this,i,d,V)}send(i){v.brandCheck(this,WebSocket);const d="WebSocket.send";v.argumentLengthCheck(arguments,1,d);i=v.converters.WebSocketSendData(i,d,"data");if(ue(this)){throw new DOMException("Sent before connected.","InvalidStateError")}if(!de(this)||he(this)){return}if(typeof i==="string"){const d=Buffer.byteLength(i);this.#ae+=d;this.#ce.add(i,(()=>{this.#ae-=d}),ne.string)}else if(Be.isArrayBuffer(i)){this.#ae+=i.byteLength;this.#ce.add(i,(()=>{this.#ae-=i.byteLength}),ne.arrayBuffer)}else if(ArrayBuffer.isView(i)){this.#ae+=i.byteLength;this.#ce.add(i,(()=>{this.#ae-=i.byteLength}),ne.typedArray)}else if(ye(i)){this.#ae+=i.size;this.#ce.add(i,(()=>{this.#ae-=i.size}),ne.blob)}}get readyState(){v.brandCheck(this,WebSocket);return this[ie]}get bufferedAmount(){v.brandCheck(this,WebSocket);return this.#ae}get url(){v.brandCheck(this,WebSocket);return V(this[se])}get extensions(){v.brandCheck(this,WebSocket);return this.#re}get protocol(){v.brandCheck(this,WebSocket);return this.#Ae}get onopen(){v.brandCheck(this,WebSocket);return this.#P.open}set onopen(i){v.brandCheck(this,WebSocket);if(this.#P.open){this.removeEventListener("open",this.#P.open)}if(typeof i==="function"){this.#P.open=i;this.addEventListener("open",i)}else{this.#P.open=null}}get onerror(){v.brandCheck(this,WebSocket);return this.#P.error}set onerror(i){v.brandCheck(this,WebSocket);if(this.#P.error){this.removeEventListener("error",this.#P.error)}if(typeof i==="function"){this.#P.error=i;this.addEventListener("error",i)}else{this.#P.error=null}}get onclose(){v.brandCheck(this,WebSocket);return this.#P.close}set onclose(i){v.brandCheck(this,WebSocket);if(this.#P.close){this.removeEventListener("close",this.#P.close)}if(typeof i==="function"){this.#P.close=i;this.addEventListener("close",i)}else{this.#P.close=null}}get onmessage(){v.brandCheck(this,WebSocket);return this.#P.message}set onmessage(i){v.brandCheck(this,WebSocket);if(this.#P.message){this.removeEventListener("message",this.#P.message)}if(typeof i==="function"){this.#P.message=i;this.addEventListener("message",i)}else{this.#P.message=null}}get binaryType(){v.brandCheck(this,WebSocket);return this[ae]}set binaryType(i){v.brandCheck(this,WebSocket);if(i!=="blob"&&i!=="arraybuffer"){this[ae]="blob"}else{this[ae]=i}}#le(i,d){this[Ae]=i;const p=new Ee(this,d);p.on("drain",onParserDrain);p.on("error",onParserError.bind(this));i.socket.ws=this;this[le]=p;this.#ce=new we(i.socket);this[ie]=te.OPEN;const v=i.headersList.get("sec-websocket-extensions");if(v!==null){this.#re=v}const V=i.headersList.get("sec-websocket-protocol");if(V!==null){this.#Ae=V}ge("open",this)}}WebSocket.CONNECTING=WebSocket.prototype.CONNECTING=te.CONNECTING;WebSocket.OPEN=WebSocket.prototype.OPEN=te.OPEN;WebSocket.CLOSING=WebSocket.prototype.CLOSING=te.CLOSING;WebSocket.CLOSED=WebSocket.prototype.CLOSED=te.CLOSED;Object.defineProperties(WebSocket.prototype,{CONNECTING:ee,OPEN:ee,CLOSING:ee,CLOSED:ee,url:Ce,readyState:Ce,bufferedAmount:Ce,onopen:Ce,onerror:Ce,onclose:Ce,close:Ce,onmessage:Ce,binaryType:Ce,send:Ce,extensions:Ce,protocol:Ce,[Symbol.toStringTag]:{value:"WebSocket",writable:false,enumerable:false,configurable:true}});Object.defineProperties(WebSocket,{CONNECTING:ee,OPEN:ee,CLOSING:ee,CLOSED:ee});v.converters["sequence"]=v.sequenceConverter(v.converters.DOMString);v.converters["DOMString or sequence"]=function(i,d,p){if(v.util.Type(i)==="Object"&&Symbol.iterator in i){return v.converters["sequence"](i)}return v.converters.DOMString(i,d,p)};v.converters.WebSocketInit=v.dictionaryConverter([{key:"protocols",converter:v.converters["DOMString or sequence"],defaultValue:()=>new Array(0)},{key:"dispatcher",converter:v.converters.any,defaultValue:()=>Ie()},{key:"headers",converter:v.nullableConverter(v.converters.HeadersInit)}]);v.converters["DOMString or sequence or WebSocketInit"]=function(i){if(v.util.Type(i)==="Object"&&!(Symbol.iterator in i)){return v.converters.WebSocketInit(i)}return{protocols:v.converters["DOMString or sequence"](i)}};v.converters.WebSocketSendData=function(i){if(v.util.Type(i)==="Object"){if(ye(i)){return v.converters.Blob(i,{strict:false})}if(ArrayBuffer.isView(i)||Be.isArrayBuffer(i)){return v.converters.BufferSource(i)}}return v.converters.USVString(i)};function onParserDrain(){this.ws[Ae].socket.resume()}function onParserError(i){let d;let p;if(i instanceof be){d=i.reason;p=i.code}else{d=i.message}ge("error",this,(()=>new Qe("error",{error:i,message:d})));me(this,p)}i.exports={WebSocket:WebSocket}},95236:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K{ee+=ne.write(i);if(ie){ie(i)}};const stdOutListener=i=>{K+=re.write(i);if(se){se(i)}};const oe=Object.assign(Object.assign({},p===null||p===void 0?void 0:p.listeners),{stdout:stdOutListener,stderr:stdErrListener});const ae=yield exec(i,d,Object.assign(Object.assign({},p),{listeners:oe}));K+=re.end();ee+=ne.end();return{exitCode:ae,stdout:K,stderr:ee}}))}},6665:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K-1){const i=v.substring(0,V);p(i);v=v.substring(V+te.EOL.length);V=v.indexOf(te.EOL)}return v}catch(i){this._debug(`error processing line. Failed with error ${i}`);return""}}_getSpawnFileName(){if(Ae){if(this._isCmdFile()){return process.env["COMSPEC"]||"cmd.exe"}}return this.toolPath}_getSpawnArgs(i){if(Ae){if(this._isCmdFile()){let d=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(const p of this.args){d+=" ";d+=i.windowsVerbatimArguments?p:this._windowsQuoteCmdArg(p)}d+='"';return[d]}}return this.args}_endsWith(i,d){return i.endsWith(d)}_isCmdFile(){const i=this.toolPath.toUpperCase();return this._endsWith(i,".CMD")||this._endsWith(i,".BAT")}_windowsQuoteCmdArg(i){if(!this._isCmdFile()){return this._uvQuoteCmdArg(i)}if(!i){return'""'}const d=[" ","\t","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'];let p=false;for(const v of i){if(d.some((i=>i===v))){p=true;break}}if(!p){return i}let v='"';let V=true;for(let d=i.length;d>0;d--){v+=i[d-1];if(V&&i[d-1]==="\\"){v+="\\"}else if(i[d-1]==='"'){V=true;v+='"'}else{V=false}}v+='"';return v.split("").reverse().join("")}_uvQuoteCmdArg(i){if(!i){return'""'}if(!i.includes(" ")&&!i.includes("\t")&&!i.includes('"')){return i}if(!i.includes('"')&&!i.includes("\\")){return`"${i}"`}let d='"';let p=true;for(let v=i.length;v>0;v--){d+=i[v-1];if(p&&i[v-1]==="\\"){d+="\\"}else if(i[v-1]==='"'){p=true;d+="\\"}else{p=false}}d+='"';return d.split("").reverse().join("")}_cloneExecOptions(i){i=i||{};const d={cwd:i.cwd||process.cwd(),env:i.env||process.env,silent:i.silent||false,windowsVerbatimArguments:i.windowsVerbatimArguments||false,failOnStdErr:i.failOnStdErr||false,ignoreReturnCode:i.ignoreReturnCode||false,delay:i.delay||1e4};d.outStream=i.outStream||process.stdout;d.errStream=i.errStream||process.stderr;return d}_getSpawnOptions(i,d){i=i||{};const p={};p.cwd=i.cwd;p.env=i.env;p["windowsVerbatimArguments"]=i.windowsVerbatimArguments||this._isCmdFile();if(i.windowsVerbatimArguments){p.argv0=`"${d}"`}return p}exec(){return ee(this,void 0,void 0,(function*(){if(!oe.isRooted(this.toolPath)&&(this.toolPath.includes("/")||Ae&&this.toolPath.includes("\\"))){this.toolPath=se.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)}this.toolPath=yield ie.which(this.toolPath,true);return new Promise(((i,d)=>ee(this,void 0,void 0,(function*(){this._debug(`exec tool: ${this.toolPath}`);this._debug("arguments:");for(const i of this.args){this._debug(` ${i}`)}const p=this._cloneExecOptions(this.options);if(!p.silent&&p.outStream){p.outStream.write(this._getCommandString(p)+te.EOL)}const v=new ExecState(p,this.toolPath);v.on("debug",(i=>{this._debug(i)}));if(this.options.cwd&&!(yield oe.exists(this.options.cwd))){return d(new Error(`The cwd: ${this.options.cwd} does not exist!`))}const V=this._getSpawnFileName();const K=ne.spawn(V,this._getSpawnArgs(p),this._getSpawnOptions(this.options,V));let ee="";if(K.stdout){K.stdout.on("data",(i=>{if(this.options.listeners&&this.options.listeners.stdout){this.options.listeners.stdout(i)}if(!p.silent&&p.outStream){p.outStream.write(i)}ee=this._processLineBuffer(i,ee,(i=>{if(this.options.listeners&&this.options.listeners.stdline){this.options.listeners.stdline(i)}}))}))}let re="";if(K.stderr){K.stderr.on("data",(i=>{v.processStderr=true;if(this.options.listeners&&this.options.listeners.stderr){this.options.listeners.stderr(i)}if(!p.silent&&p.errStream&&p.outStream){const d=p.failOnStdErr?p.errStream:p.outStream;d.write(i)}re=this._processLineBuffer(i,re,(i=>{if(this.options.listeners&&this.options.listeners.errline){this.options.listeners.errline(i)}}))}))}K.on("error",(i=>{v.processError=i.message;v.processExited=true;v.processClosed=true;v.CheckComplete()}));K.on("exit",(i=>{v.processExitCode=i;v.processExited=true;this._debug(`Exit code ${i} received from tool '${this.toolPath}'`);v.CheckComplete()}));K.on("close",(i=>{v.processExitCode=i;v.processExited=true;v.processClosed=true;this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);v.CheckComplete()}));v.on("done",((p,v)=>{if(ee.length>0){this.emit("stdline",ee)}if(re.length>0){this.emit("errline",re)}K.removeAllListeners();if(p){d(p)}else{i(v)}}));if(this.options.input){if(!K.stdin){throw new Error("child process missing stdin")}K.stdin.end(this.options.input)}}))))}))}}d.ToolRunner=ToolRunner;function argStringToArray(i){const d=[];let p=false;let v=false;let V="";function append(i){if(v&&i!=='"'){V+="\\"}V+=i;v=false}for(let K=0;K0){d.push(V);V=""}continue}append(ee)}if(V.length>0){d.push(V.trim())}return d}class ExecState extends re.EventEmitter{constructor(i,d){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(!d){throw new Error("toolPath must not be empty")}this.options=i;this.toolPath=d;if(i.delay){this.delay=i.delay}}CheckComplete(){if(this.done){return}if(this.processClosed){this._setResult()}else if(this.processExited){this.timeout=(0,ae.setTimeout)(ExecState.HandleTimeout,this.delay,this)}}_debug(i){this.emit("debug",i)}_setResult(){let i;if(this.processExited){if(this.processError){i=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){i=new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`)}else if(this.processStderr&&this.options.failOnStdErr){i=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",i,this.processExitCode)}static HandleTimeout(i){if(i.done){return}if(!i.processClosed&&i.processExited){const d=`The STDIO streams did not close within ${i.delay/1e3} seconds of the exit event from process '${i.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;i._debug(d)}i._setResult()}}},51648:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.Context=void 0;const v=p(79896);const V=p(70857);class Context{constructor(){var i,d,p;this.payload={};if(process.env.GITHUB_EVENT_PATH){if((0,v.existsSync)(process.env.GITHUB_EVENT_PATH)){this.payload=JSON.parse((0,v.readFileSync)(process.env.GITHUB_EVENT_PATH,{encoding:"utf8"}))}else{const i=process.env.GITHUB_EVENT_PATH;process.stdout.write(`GITHUB_EVENT_PATH ${i} does not exist${V.EOL}`)}}this.eventName=process.env.GITHUB_EVENT_NAME;this.sha=process.env.GITHUB_SHA;this.ref=process.env.GITHUB_REF;this.workflow=process.env.GITHUB_WORKFLOW;this.action=process.env.GITHUB_ACTION;this.actor=process.env.GITHUB_ACTOR;this.job=process.env.GITHUB_JOB;this.runAttempt=parseInt(process.env.GITHUB_RUN_ATTEMPT,10);this.runNumber=parseInt(process.env.GITHUB_RUN_NUMBER,10);this.runId=parseInt(process.env.GITHUB_RUN_ID,10);this.apiUrl=(i=process.env.GITHUB_API_URL)!==null&&i!==void 0?i:`https://api.github.com`;this.serverUrl=(d=process.env.GITHUB_SERVER_URL)!==null&&d!==void 0?d:`https://github.com`;this.graphqlUrl=(p=process.env.GITHUB_GRAPHQL_URL)!==null&&p!==void 0?p:`https://api.github.com/graphql`}get issue(){const i=this.payload;return Object.assign(Object.assign({},this.repo),{number:(i.issue||i.pull_request||i).number})}get repo(){if(process.env.GITHUB_REPOSITORY){const[i,d]=process.env.GITHUB_REPOSITORY.split("/");return{owner:i,repo:d}}if(this.payload.repository){return{owner:this.payload.repository.owner.login,repo:this.payload.repository.name}}throw new Error("context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'")}}d.Context=Context},93228:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};Object.defineProperty(d,"__esModule",{value:true});d.getOctokit=d.context=void 0;const ee=K(p(51648));const te=p(38006);d.context=new ee.Context;function getOctokit(i,d,...p){const v=te.GitHub.plugin(...p);return new v((0,te.getOctokitOptions)(i,d))}d.getOctokit=getOctokit},65156:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};var ee=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.getApiBaseUrl=d.getProxyFetch=d.getProxyAgentDispatcher=d.getProxyAgent=d.getAuthString=void 0;const te=K(p(89659));const re=p(46752);function getAuthString(i,d){if(!i&&!d.auth){throw new Error("Parameter token or opts.auth is required")}else if(i&&d.auth){throw new Error("Parameters token and opts.auth may not both be specified")}return typeof d.auth==="string"?d.auth:`token ${i}`}d.getAuthString=getAuthString;function getProxyAgent(i){const d=new te.HttpClient;return d.getAgent(i)}d.getProxyAgent=getProxyAgent;function getProxyAgentDispatcher(i){const d=new te.HttpClient;return d.getAgentDispatcher(i)}d.getProxyAgentDispatcher=getProxyAgentDispatcher;function getProxyFetch(i){const d=getProxyAgentDispatcher(i);const proxyFetch=(i,p)=>ee(this,void 0,void 0,(function*(){return(0,re.fetch)(i,Object.assign(Object.assign({},p),{dispatcher:d}))}));return proxyFetch}d.getProxyFetch=getProxyFetch;function getApiBaseUrl(){return process.env["GITHUB_API_URL"]||"https://api.github.com"}d.getApiBaseUrl=getApiBaseUrl},38006:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};Object.defineProperty(d,"__esModule",{value:true});d.getOctokitOptions=d.GitHub=d.defaults=d.context=void 0;const ee=K(p(51648));const te=K(p(65156));const re=p(61897);const ne=p(84935);const se=p(38082);d.context=new ee.Context;const ie=te.getApiBaseUrl();d.defaults={baseUrl:ie,request:{agent:te.getProxyAgent(ie),fetch:te.getProxyFetch(ie)}};d.GitHub=re.Octokit.plugin(ne.restEndpointMethods,se.paginateRest).defaults(d.defaults);function getOctokitOptions(i,d){const p=Object.assign({},d||{});const v=te.getAuthString(i,p);if(v){p.auth=v}return p}d.getOctokitOptions=getOctokitOptions},89659:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};var ee=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.HttpClient=d.isHttps=d.HttpClientResponse=d.HttpClientError=d.getProxyUrl=d.MediaTypes=d.Headers=d.HttpCodes=void 0;const te=K(p(58611));const re=K(p(65692));const ne=K(p(83335));const se=K(p(20770));const ie=p(46752);var oe;(function(i){i[i["OK"]=200]="OK";i[i["MultipleChoices"]=300]="MultipleChoices";i[i["MovedPermanently"]=301]="MovedPermanently";i[i["ResourceMoved"]=302]="ResourceMoved";i[i["SeeOther"]=303]="SeeOther";i[i["NotModified"]=304]="NotModified";i[i["UseProxy"]=305]="UseProxy";i[i["SwitchProxy"]=306]="SwitchProxy";i[i["TemporaryRedirect"]=307]="TemporaryRedirect";i[i["PermanentRedirect"]=308]="PermanentRedirect";i[i["BadRequest"]=400]="BadRequest";i[i["Unauthorized"]=401]="Unauthorized";i[i["PaymentRequired"]=402]="PaymentRequired";i[i["Forbidden"]=403]="Forbidden";i[i["NotFound"]=404]="NotFound";i[i["MethodNotAllowed"]=405]="MethodNotAllowed";i[i["NotAcceptable"]=406]="NotAcceptable";i[i["ProxyAuthenticationRequired"]=407]="ProxyAuthenticationRequired";i[i["RequestTimeout"]=408]="RequestTimeout";i[i["Conflict"]=409]="Conflict";i[i["Gone"]=410]="Gone";i[i["TooManyRequests"]=429]="TooManyRequests";i[i["InternalServerError"]=500]="InternalServerError";i[i["NotImplemented"]=501]="NotImplemented";i[i["BadGateway"]=502]="BadGateway";i[i["ServiceUnavailable"]=503]="ServiceUnavailable";i[i["GatewayTimeout"]=504]="GatewayTimeout"})(oe||(d.HttpCodes=oe={}));var ae;(function(i){i["Accept"]="accept";i["ContentType"]="content-type"})(ae||(d.Headers=ae={}));var Ae;(function(i){i["ApplicationJson"]="application/json"})(Ae||(d.MediaTypes=Ae={}));function getProxyUrl(i){const d=ne.getProxyUrl(new URL(i));return d?d.href:""}d.getProxyUrl=getProxyUrl;const ce=[oe.MovedPermanently,oe.ResourceMoved,oe.SeeOther,oe.TemporaryRedirect,oe.PermanentRedirect];const le=[oe.BadGateway,oe.ServiceUnavailable,oe.GatewayTimeout];const ue=["OPTIONS","GET","DELETE","HEAD"];const de=10;const he=5;class HttpClientError extends Error{constructor(i,d){super(i);this.name="HttpClientError";this.statusCode=d;Object.setPrototypeOf(this,HttpClientError.prototype)}}d.HttpClientError=HttpClientError;class HttpClientResponse{constructor(i){this.message=i}readBody(){return ee(this,void 0,void 0,(function*(){return new Promise((i=>ee(this,void 0,void 0,(function*(){let d=Buffer.alloc(0);this.message.on("data",(i=>{d=Buffer.concat([d,i])}));this.message.on("end",(()=>{i(d.toString())}))}))))}))}readBodyBuffer(){return ee(this,void 0,void 0,(function*(){return new Promise((i=>ee(this,void 0,void 0,(function*(){const d=[];this.message.on("data",(i=>{d.push(i)}));this.message.on("end",(()=>{i(Buffer.concat(d))}))}))))}))}}d.HttpClientResponse=HttpClientResponse;function isHttps(i){const d=new URL(i);return d.protocol==="https:"}d.isHttps=isHttps;class HttpClient{constructor(i,d,p){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=i;this.handlers=d||[];this.requestOptions=p;if(p){if(p.ignoreSslError!=null){this._ignoreSslError=p.ignoreSslError}this._socketTimeout=p.socketTimeout;if(p.allowRedirects!=null){this._allowRedirects=p.allowRedirects}if(p.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=p.allowRedirectDowngrade}if(p.maxRedirects!=null){this._maxRedirects=Math.max(p.maxRedirects,0)}if(p.keepAlive!=null){this._keepAlive=p.keepAlive}if(p.allowRetries!=null){this._allowRetries=p.allowRetries}if(p.maxRetries!=null){this._maxRetries=p.maxRetries}}}options(i,d){return ee(this,void 0,void 0,(function*(){return this.request("OPTIONS",i,null,d||{})}))}get(i,d){return ee(this,void 0,void 0,(function*(){return this.request("GET",i,null,d||{})}))}del(i,d){return ee(this,void 0,void 0,(function*(){return this.request("DELETE",i,null,d||{})}))}post(i,d,p){return ee(this,void 0,void 0,(function*(){return this.request("POST",i,d,p||{})}))}patch(i,d,p){return ee(this,void 0,void 0,(function*(){return this.request("PATCH",i,d,p||{})}))}put(i,d,p){return ee(this,void 0,void 0,(function*(){return this.request("PUT",i,d,p||{})}))}head(i,d){return ee(this,void 0,void 0,(function*(){return this.request("HEAD",i,null,d||{})}))}sendStream(i,d,p,v){return ee(this,void 0,void 0,(function*(){return this.request(i,d,p,v)}))}getJson(i,d={}){return ee(this,void 0,void 0,(function*(){d[ae.Accept]=this._getExistingOrDefaultHeader(d,ae.Accept,Ae.ApplicationJson);const p=yield this.get(i,d);return this._processResponse(p,this.requestOptions)}))}postJson(i,d,p={}){return ee(this,void 0,void 0,(function*(){const v=JSON.stringify(d,null,2);p[ae.Accept]=this._getExistingOrDefaultHeader(p,ae.Accept,Ae.ApplicationJson);p[ae.ContentType]=this._getExistingOrDefaultHeader(p,ae.ContentType,Ae.ApplicationJson);const V=yield this.post(i,v,p);return this._processResponse(V,this.requestOptions)}))}putJson(i,d,p={}){return ee(this,void 0,void 0,(function*(){const v=JSON.stringify(d,null,2);p[ae.Accept]=this._getExistingOrDefaultHeader(p,ae.Accept,Ae.ApplicationJson);p[ae.ContentType]=this._getExistingOrDefaultHeader(p,ae.ContentType,Ae.ApplicationJson);const V=yield this.put(i,v,p);return this._processResponse(V,this.requestOptions)}))}patchJson(i,d,p={}){return ee(this,void 0,void 0,(function*(){const v=JSON.stringify(d,null,2);p[ae.Accept]=this._getExistingOrDefaultHeader(p,ae.Accept,Ae.ApplicationJson);p[ae.ContentType]=this._getExistingOrDefaultHeader(p,ae.ContentType,Ae.ApplicationJson);const V=yield this.patch(i,v,p);return this._processResponse(V,this.requestOptions)}))}request(i,d,p,v){return ee(this,void 0,void 0,(function*(){if(this._disposed){throw new Error("Client has already been disposed.")}const V=new URL(d);let K=this._prepareRequest(i,V,v);const ee=this._allowRetries&&ue.includes(i)?this._maxRetries+1:1;let te=0;let re;do{re=yield this.requestRaw(K,p);if(re&&re.message&&re.message.statusCode===oe.Unauthorized){let i;for(const d of this.handlers){if(d.canHandleAuthentication(re)){i=d;break}}if(i){return i.handleAuthentication(this,K,p)}else{return re}}let d=this._maxRedirects;while(re.message.statusCode&&ce.includes(re.message.statusCode)&&this._allowRedirects&&d>0){const ee=re.message.headers["location"];if(!ee){break}const te=new URL(ee);if(V.protocol==="https:"&&V.protocol!==te.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 re.readBody();if(te.hostname!==V.hostname){for(const i in v){if(i.toLowerCase()==="authorization"){delete v[i]}}}K=this._prepareRequest(i,te,v);re=yield this.requestRaw(K,p);d--}if(!re.message.statusCode||!le.includes(re.message.statusCode)){return re}te+=1;if(te{function callbackForResult(i,d){if(i){v(i)}else if(!d){v(new Error("Unknown error"))}else{p(d)}}this.requestRawWithCallback(i,d,callbackForResult)}))}))}requestRawWithCallback(i,d,p){if(typeof d==="string"){if(!i.options.headers){i.options.headers={}}i.options.headers["Content-Length"]=Buffer.byteLength(d,"utf8")}let v=false;function handleResult(i,d){if(!v){v=true;p(i,d)}}const V=i.httpModule.request(i.options,(i=>{const d=new HttpClientResponse(i);handleResult(undefined,d)}));let K;V.on("socket",(i=>{K=i}));V.setTimeout(this._socketTimeout||3*6e4,(()=>{if(K){K.end()}handleResult(new Error(`Request timeout: ${i.options.path}`))}));V.on("error",(function(i){handleResult(i)}));if(d&&typeof d==="string"){V.write(d,"utf8")}if(d&&typeof d!=="string"){d.on("close",(function(){V.end()}));d.pipe(V)}else{V.end()}}getAgent(i){const d=new URL(i);return this._getAgent(d)}getAgentDispatcher(i){const d=new URL(i);const p=ne.getProxyUrl(d);const v=p&&p.hostname;if(!v){return}return this._getProxyAgentDispatcher(d,p)}_prepareRequest(i,d,p){const v={};v.parsedUrl=d;const V=v.parsedUrl.protocol==="https:";v.httpModule=V?re:te;const K=V?443:80;v.options={};v.options.host=v.parsedUrl.hostname;v.options.port=v.parsedUrl.port?parseInt(v.parsedUrl.port):K;v.options.path=(v.parsedUrl.pathname||"")+(v.parsedUrl.search||"");v.options.method=i;v.options.headers=this._mergeHeaders(p);if(this.userAgent!=null){v.options.headers["user-agent"]=this.userAgent}v.options.agent=this._getAgent(v.parsedUrl);if(this.handlers){for(const i of this.handlers){i.prepareRequest(v.options)}}return v}_mergeHeaders(i){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(i||{}))}return lowercaseKeys(i||{})}_getExistingOrDefaultHeader(i,d,p){let v;if(this.requestOptions&&this.requestOptions.headers){v=lowercaseKeys(this.requestOptions.headers)[d]}return i[d]||v||p}_getAgent(i){let d;const p=ne.getProxyUrl(i);const v=p&&p.hostname;if(this._keepAlive&&v){d=this._proxyAgent}if(this._keepAlive&&!v){d=this._agent}if(d){return d}const V=i.protocol==="https:";let K=100;if(this.requestOptions){K=this.requestOptions.maxSockets||te.globalAgent.maxSockets}if(p&&p.hostname){const i={maxSockets:K,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(p.username||p.password)&&{proxyAuth:`${p.username}:${p.password}`}),{host:p.hostname,port:p.port})};let v;const ee=p.protocol==="https:";if(V){v=ee?se.httpsOverHttps:se.httpsOverHttp}else{v=ee?se.httpOverHttps:se.httpOverHttp}d=v(i);this._proxyAgent=d}if(this._keepAlive&&!d){const i={keepAlive:this._keepAlive,maxSockets:K};d=V?new re.Agent(i):new te.Agent(i);this._agent=d}if(!d){d=V?re.globalAgent:te.globalAgent}if(V&&this._ignoreSslError){d.options=Object.assign(d.options||{},{rejectUnauthorized:false})}return d}_getProxyAgentDispatcher(i,d){let p;if(this._keepAlive){p=this._proxyAgentDispatcher}if(p){return p}const v=i.protocol==="https:";p=new ie.ProxyAgent(Object.assign({uri:d.href,pipelining:!this._keepAlive?0:1},(d.username||d.password)&&{token:`${d.username}:${d.password}`}));this._proxyAgentDispatcher=p;if(v&&this._ignoreSslError){p.options=Object.assign(p.options.requestTls||{},{rejectUnauthorized:false})}return p}_performExponentialBackoff(i){return ee(this,void 0,void 0,(function*(){i=Math.min(de,i);const d=he*Math.pow(2,i);return new Promise((i=>setTimeout((()=>i()),d)))}))}_processResponse(i,d){return ee(this,void 0,void 0,(function*(){return new Promise(((p,v)=>ee(this,void 0,void 0,(function*(){const V=i.message.statusCode||0;const K={statusCode:V,result:null,headers:{}};if(V===oe.NotFound){p(K)}function dateTimeDeserializer(i,d){if(typeof d==="string"){const i=new Date(d);if(!isNaN(i.valueOf())){return i}}return d}let ee;let te;try{te=yield i.readBody();if(te&&te.length>0){if(d&&d.deserializeDates){ee=JSON.parse(te,dateTimeDeserializer)}else{ee=JSON.parse(te)}K.result=ee}K.headers=i.message.headers}catch(i){}if(V>299){let i;if(ee&&ee.message){i=ee.message}else if(te&&te.length>0){i=te}else{i=`Failed request: (${V})`}const d=new HttpClientError(i,V);d.result=K.result;v(d)}else{p(K)}}))))}))}}d.HttpClient=HttpClient;const lowercaseKeys=i=>Object.keys(i).reduce(((d,p)=>(d[p.toLowerCase()]=i[p],d)),{})},83335:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.checkBypass=d.getProxyUrl=void 0;function getProxyUrl(i){const d=i.protocol==="https:";if(checkBypass(i)){return undefined}const p=(()=>{if(d){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(p){try{return new URL(p)}catch(i){if(!p.startsWith("http://")&&!p.startsWith("https://"))return new URL(`http://${p}`)}}else{return undefined}}d.getProxyUrl=getProxyUrl;function checkBypass(i){if(!i.hostname){return false}const d=i.hostname;if(isLoopbackAddress(d)){return true}const p=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!p){return false}let v;if(i.port){v=Number(i.port)}else if(i.protocol==="http:"){v=80}else if(i.protocol==="https:"){v=443}const V=[i.hostname.toUpperCase()];if(typeof v==="number"){V.push(`${V[0]}:${v}`)}for(const i of p.split(",").map((i=>i.trim().toUpperCase())).filter((i=>i))){if(i==="*"||V.some((d=>d===i||d.endsWith(`.${i}`)||i.startsWith(".")&&d.endsWith(`${i}`)))){return true}}return false}d.checkBypass=checkBypass;function isLoopbackAddress(i){const d=i.toLowerCase();return d==="localhost"||d.startsWith("127.")||d.startsWith("[::1]")||d.startsWith("[0:0:0:0:0:0:0:1]")}},47206:function(i,d,p){var v=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.create=create;d.hashFiles=hashFiles;const V=p(10103);const K=p(73608);function create(i,d){return v(this,void 0,void 0,(function*(){return yield V.DefaultGlobber.create(i,d)}))}function hashFiles(i){return v(this,arguments,void 0,(function*(i,d="",p,v=false){let V=true;if(p&&typeof p.followSymbolicLinks==="boolean"){V=p.followSymbolicLinks}const ee=yield create(i,{followSymbolicLinks:V});return(0,K.hashFiles)(ee,d,v)}))}},18164:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K1||resume(i,d)}))};if(d)V[i]=d(V[i])}}function resume(i,d){try{step(v[i](d))}catch(i){settle(K[0][3],i)}}function step(i){i.value instanceof re?Promise.resolve(i.value.v).then(fulfill,reject):settle(K[0][2],i)}function fulfill(i){resume("next",i)}function reject(i){resume("throw",i)}function settle(i,d){if(i(d),K.shift(),K.length)resume(K[0][0],K[0][1])}};Object.defineProperty(d,"__esModule",{value:true});d.DefaultGlobber=void 0;const se=K(p(54270));const ie=K(p(79896));const oe=K(p(18164));const ae=K(p(16928));const Ae=K(p(98891));const ce=p(62644);const le=p(25370);const ue=p(79890);const de=process.platform==="win32";class DefaultGlobber{constructor(i){this.patterns=[];this.searchPaths=[];this.options=oe.getOptions(i)}getSearchPaths(){return this.searchPaths.slice()}glob(){return ee(this,void 0,void 0,(function*(){var i,d,p,v;const V=[];try{for(var K=true,ee=te(this.globGenerator()),re;re=yield ee.next(),i=re.done,!i;K=true){v=re.value;K=false;const i=v;V.push(i)}}catch(i){d={error:i}}finally{try{if(!K&&!i&&(p=ee.return))yield p.call(ee)}finally{if(d)throw d.error}}return V}))}globGenerator(){return ne(this,arguments,(function*globGenerator_1(){const i=oe.getOptions(this.options);const d=[];for(const p of this.patterns){d.push(p);if(i.implicitDescendants&&(p.trailingSeparator||p.segments[p.segments.length-1]!=="**")){d.push(new le.Pattern(p.negate,true,p.segments.concat("**")))}}const p=[];for(const i of Ae.getSearchPaths(d)){se.debug(`Search path '${i}'`);try{yield re(ie.promises.lstat(i))}catch(i){if(i.code==="ENOENT"){continue}throw i}p.unshift(new ue.SearchState(i,1))}const v=[];while(p.length){const V=p.pop();const K=Ae.match(d,V.path);const ee=!!K||Ae.partialMatch(d,V.path);if(!K&&!ee){continue}const te=yield re(DefaultGlobber.stat(V,i,v));if(!te){continue}if(i.excludeHiddenFiles&&ae.basename(V.path).match(/^\./)){continue}if(te.isDirectory()){if(K&ce.MatchKind.Directory&&i.matchDirectories){yield yield re(V.path)}else if(!ee){continue}const d=V.level+1;const v=(yield re(ie.promises.readdir(V.path))).map((i=>new ue.SearchState(ae.join(V.path,i),d)));p.push(...v.reverse())}else if(K&ce.MatchKind.File){yield yield re(V.path)}}}))}static create(i,d){return ee(this,void 0,void 0,(function*(){const p=new DefaultGlobber(d);if(de){i=i.replace(/\r\n/g,"\n");i=i.replace(/\r/g,"\n")}const v=i.split("\n").map((i=>i.trim()));for(const i of v){if(!i||i.startsWith("#")){continue}else{p.patterns.push(new le.Pattern(i))}}p.searchPaths.push(...Ae.getSearchPaths(p.patterns));return p}))}static stat(i,d,p){return ee(this,void 0,void 0,(function*(){let v;if(d.followSymbolicLinks){try{v=yield ie.promises.stat(i.path)}catch(p){if(p.code==="ENOENT"){if(d.omitBrokenSymbolicLinks){se.debug(`Broken symlink '${i.path}'`);return undefined}throw new Error(`No information found for the path '${i.path}'. This may indicate a broken symbolic link.`)}throw p}}else{v=yield ie.promises.lstat(i.path)}if(v.isDirectory()&&d.followSymbolicLinks){const d=yield ie.promises.realpath(i.path);while(p.length>=i.level){p.pop()}if(p.some((i=>i===d))){se.debug(`Symlink cycle detected for path '${i.path}' and realpath '${d}'`);return undefined}p.push(d)}return v}))}}d.DefaultGlobber=DefaultGlobber},73608:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K{Object.defineProperty(d,"__esModule",{value:true});d.MatchKind=void 0;var p;(function(i){i[i["None"]=0]="None";i[i["Directory"]=1]="Directory";i[i["File"]=2]="File";i[i["All"]=3]="All"})(p||(d.MatchKind=p={}))},84138:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K0,`Parameter 'itemPath' must not be an empty array`);for(let d=0;d!i.negate));const d={};for(const p of i){const i=re?p.searchPath.toUpperCase():p.searchPath;d[i]="candidate"}const p=[];for(const v of i){const i=re?v.searchPath.toUpperCase():v.searchPath;if(d[i]==="included"){continue}let V=false;let K=i;let te=ee.dirname(K);while(te!==K){if(d[te]){V=true;break}K=te;te=ee.dirname(K)}if(!V){p.push(v.searchPath);d[i]="included"}}return p}function match(i,d){let p=te.MatchKind.None;for(const v of i){if(v.negate){p&=~v.match(d)}else{p|=v.match(d)}}return p}function partialMatch(i,d){return i.some((i=>!i.negate&&i.partialMatch(d)))}},25370:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;KPattern.getLiteral(i))).filter((i=>!K&&!(K=i==="")));this.searchPath=new ae.Path(ee).toString();this.rootRegExp=new RegExp(Pattern.regExpEscape(ee[0]),Ae?"i":"");this.isImplicitPattern=d;const te={dot:true,nobrace:true,nocase:Ae,nocomment:true,noext:true,nonegate:true};V=Ae?V.replace(/\\/g,"/"):V;this.minimatch=new ie.Minimatch(V,te)}match(i){if(this.segments[this.segments.length-1]==="**"){i=ne.normalizeSeparators(i);if(!i.endsWith(re.sep)&&this.isImplicitPattern===false){i=`${i}${re.sep}`}}else{i=ne.safeTrimTrailingSeparator(i)}if(this.minimatch.match(i)){return this.trailingSeparator?oe.MatchKind.Directory:oe.MatchKind.All}return oe.MatchKind.None}partialMatch(i){i=ne.safeTrimTrailingSeparator(i);if(ne.dirname(i)===i){return this.rootRegExp.test(i)}return this.minimatch.matchOne(i.split(Ae?/\\+/:/\/+/),this.minimatch.set[0],true)}static globEscape(i){return(Ae?i:i.replace(/\\/g,"\\\\")).replace(/(\[)(?=[^/]+\])/g,"[[]").replace(/\?/g,"[?]").replace(/\*/g,"[*]")}static fixupPattern(i,d){(0,se.default)(i,"pattern cannot be empty");const p=new ae.Path(i).segments.map((i=>Pattern.getLiteral(i)));(0,se.default)(p.every(((i,d)=>(i!=="."||d===0)&&i!=="..")),`Invalid pattern '${i}'. Relative pathing '.' and '..' is not allowed.`);(0,se.default)(!ne.hasRoot(i)||p[0],`Invalid pattern '${i}'. Root segment must not contain globs.`);i=ne.normalizeSeparators(i);if(i==="."||i.startsWith(`.${re.sep}`)){i=Pattern.globEscape(process.cwd())+i.substr(1)}else if(i==="~"||i.startsWith(`~${re.sep}`)){d=d||te.homedir();(0,se.default)(d,"Unable to determine HOME directory");(0,se.default)(ne.hasAbsoluteRoot(d),`Expected HOME directory to be a rooted path. Actual '${d}'`);i=Pattern.globEscape(d)+i.substr(1)}else if(Ae&&(i.match(/^[A-Z]:$/i)||i.match(/^[A-Z]:[^\\]/i))){let d=ne.ensureAbsoluteRoot("C:\\dummy-root",i.substr(0,2));if(i.length>2&&!d.endsWith("\\")){d+="\\"}i=Pattern.globEscape(d)+i.substr(2)}else if(Ae&&(i==="\\"||i.match(/^\\[^\\]/))){let d=ne.ensureAbsoluteRoot("C:\\dummy-root","\\");if(!d.endsWith("\\")){d+="\\"}i=Pattern.globEscape(d)+i.substr(1)}else{i=ne.ensureAbsoluteRoot(Pattern.globEscape(process.cwd()),i)}return ne.normalizeSeparators(i)}static getLiteral(i){let d="";for(let p=0;p=0){if(v.length>1){return""}if(v){d+=v;p=V;continue}}}d+=v}return d}static regExpEscape(i){return i.replace(/[[\\^$.|?*+()]/g,"\\$&")}}d.Pattern=Pattern},79890:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.SearchState=void 0;class SearchState{constructor(i,d){this.path=i;this.level=d}}d.SearchState=SearchState},76240:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K0){i+=" ";let d=true;for(const p in this.properties){if(this.properties.hasOwnProperty(p)){const v=this.properties[p];if(v){if(d){d=false}else{i+=","}i+=`${p}=${escapeProperty(v)}`}}}}i+=`${re}${escapeData(this.message)}`;return i}}function escapeData(i){return(0,te.toCommandValue)(i).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(i){return(0,te.toCommandValue)(i).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},54270:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Ki!==""));if(d&&d.trimWhitespace===false){return p}return p.map((i=>i.trim()))}function getBooleanInput(i,d){const p=["true","True","TRUE"];const v=["false","False","FALSE"];const V=getInput(i,d);if(p.includes(V))return true;if(v.includes(V))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${i}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}function setOutput(i,d){const p=process.env["GITHUB_OUTPUT"]||"";if(p){return(0,re.issueFileCommand)("OUTPUT",(0,re.prepareKeyValueMessage)(i,d))}process.stdout.write(se.EOL);(0,te.issueCommand)("set-output",{name:i},(0,ne.toCommandValue)(d))}function setCommandEcho(i){(0,te.issue)("echo",i?"on":"off")}function setFailed(i){process.exitCode=ae.Failure;error(i)}function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}function debug(i){(0,te.issueCommand)("debug",{},i)}function error(i,d={}){(0,te.issueCommand)("error",(0,ne.toCommandProperties)(d),i instanceof Error?i.toString():i)}function warning(i,d={}){(0,te.issueCommand)("warning",(0,ne.toCommandProperties)(d),i instanceof Error?i.toString():i)}function notice(i,d={}){(0,te.issueCommand)("notice",(0,ne.toCommandProperties)(d),i instanceof Error?i.toString():i)}function info(i){process.stdout.write(i+se.EOL)}function startGroup(i){(0,te.issue)("group",i)}function endGroup(){(0,te.issue)("endgroup")}function group(i,d){return ee(this,void 0,void 0,(function*(){startGroup(i);let p;try{p=yield d()}finally{endGroup()}return p}))}function saveState(i,d){const p=process.env["GITHUB_STATE"]||"";if(p){return(0,re.issueFileCommand)("STATE",(0,re.prepareKeyValueMessage)(i,d))}(0,te.issueCommand)("save-state",{name:i},(0,ne.toCommandValue)(d))}function getState(i){return process.env[`STATE_${i}`]||""}function getIDToken(i){return ee(this,void 0,void 0,(function*(){return yield oe.OidcClient.getIDToken(i)}))}var Ae=p(3345);Object.defineProperty(d,"summary",{enumerable:true,get:function(){return Ae.summary}});var ce=p(3345);Object.defineProperty(d,"markdownSummary",{enumerable:true,get:function(){return ce.markdownSummary}});var le=p(85642);Object.defineProperty(d,"toPosixPath",{enumerable:true,get:function(){return le.toPosixPath}});Object.defineProperty(d,"toWin32Path",{enumerable:true,get:function(){return le.toWin32Path}});Object.defineProperty(d,"toPlatformPath",{enumerable:true,get:function(){return le.toPlatformPath}});d.platform=K(p(93458))},86359:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K{throw new Error(`Failed to get ID Token. \n \n Error Code : ${i.statusCode}\n \n Error Message: ${i.message}`)}));const V=(d=v.result)===null||d===void 0?void 0:d.value;if(!V){throw new Error("Response json body do not have ID Token field")}return V}))}static getIDToken(i){return v(this,void 0,void 0,(function*(){try{let d=OidcClient.getIDTokenUrl();if(i){const p=encodeURIComponent(i);d=`${d}&audience=${p}`}(0,ee.debug)(`ID token url is ${d}`);const p=yield OidcClient.getCall(d);(0,ee.setSecret)(p);return p}catch(i){throw new Error(`Error message: ${i.message}`)}}))}}d.OidcClient=OidcClient},85642:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Kee(void 0,void 0,void 0,(function*(){const{stdout:i}=yield ne.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',undefined,{silent:true});const{stdout:d}=yield ne.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',undefined,{silent:true});return{name:d.trim(),version:i.trim()}}));const getMacOsInfo=()=>ee(void 0,void 0,void 0,(function*(){var i,d,p,v;const{stdout:V}=yield ne.getExecOutput("sw_vers",undefined,{silent:true});const K=(d=(i=V.match(/ProductVersion:\s*(.+)/))===null||i===void 0?void 0:i[1])!==null&&d!==void 0?d:"";const ee=(v=(p=V.match(/ProductName:\s*(.+)/))===null||p===void 0?void 0:p[1])!==null&&v!==void 0?v:"";return{name:ee,version:K}}));const getLinuxInfo=()=>ee(void 0,void 0,void 0,(function*(){const{stdout:i}=yield ne.getExecOutput("lsb_release",["-i","-r","-s"],{silent:true});const[d,p]=i.trim().split("\n");return{name:d,version:p}}));d.platform=re.default.platform();d.arch=re.default.arch();d.isWindows=d.platform==="win32";d.isMacOS=d.platform==="darwin";d.isLinux=d.platform==="linux";function getDetails(){return ee(this,void 0,void 0,(function*(){return Object.assign(Object.assign({},yield d.isWindows?getWindowsInfo():d.isMacOS?getMacOsInfo():getLinuxInfo()),{platform:d.platform,arch:d.arch,isWindows:d.isWindows,isMacOS:d.isMacOS,isLinux:d.isLinux})}))}},3345:function(i,d,p){var v=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.summary=d.markdownSummary=d.SUMMARY_DOCS_URL=d.SUMMARY_ENV_VAR=void 0;const V=p(70857);const K=p(79896);const{access:ee,appendFile:te,writeFile:re}=K.promises;d.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";d.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 v(this,void 0,void 0,(function*(){if(this._filePath){return this._filePath}const i=process.env[d.SUMMARY_ENV_VAR];if(!i){throw new Error(`Unable to find environment variable for $${d.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`)}try{yield ee(i,K.constants.R_OK|K.constants.W_OK)}catch(d){throw new Error(`Unable to access summary file: '${i}'. Check if the file has correct read/write permissions.`)}this._filePath=i;return this._filePath}))}wrap(i,d,p={}){const v=Object.entries(p).map((([i,d])=>` ${i}="${d}"`)).join("");if(!d){return`<${i}${v}>`}return`<${i}${v}>${d}`}write(i){return v(this,void 0,void 0,(function*(){const d=!!(i===null||i===void 0?void 0:i.overwrite);const p=yield this.filePath();const v=d?re:te;yield v(p,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return v(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(i,d=false){this._buffer+=i;return d?this.addEOL():this}addEOL(){return this.addRaw(V.EOL)}addCodeBlock(i,d){const p=Object.assign({},d&&{lang:d});const v=this.wrap("pre",this.wrap("code",i),p);return this.addRaw(v).addEOL()}addList(i,d=false){const p=d?"ol":"ul";const v=i.map((i=>this.wrap("li",i))).join("");const V=this.wrap(p,v);return this.addRaw(V).addEOL()}addTable(i){const d=i.map((i=>{const d=i.map((i=>{if(typeof i==="string"){return this.wrap("td",i)}const{header:d,data:p,colspan:v,rowspan:V}=i;const K=d?"th":"td";const ee=Object.assign(Object.assign({},v&&{colspan:v}),V&&{rowspan:V});return this.wrap(K,p,ee)})).join("");return this.wrap("tr",d)})).join("");const p=this.wrap("table",d);return this.addRaw(p).addEOL()}addDetails(i,d){const p=this.wrap("details",this.wrap("summary",i)+d);return this.addRaw(p).addEOL()}addImage(i,d,p){const{width:v,height:V}=p||{};const K=Object.assign(Object.assign({},v&&{width:v}),V&&{height:V});const ee=this.wrap("img",null,Object.assign({src:i,alt:d},K));return this.addRaw(ee).addEOL()}addHeading(i,d){const p=`h${d}`;const v=["h1","h2","h3","h4","h5","h6"].includes(p)?p:"h1";const V=this.wrap(v,i);return this.addRaw(V).addEOL()}addSeparator(){const i=this.wrap("hr",null);return this.addRaw(i).addEOL()}addBreak(){const i=this.wrap("br",null);return this.addRaw(i).addEOL()}addQuote(i,d){const p=Object.assign({},d&&{cite:d});const v=this.wrap("blockquote",i,p);return this.addRaw(v).addEOL()}addLink(i,d){const p=this.wrap("a",i,{href:d});return this.addRaw(p).addEOL()}}const ne=new Summary;d.markdownSummary=ne;d.summary=ne},6804:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.toCommandValue=toCommandValue;d.toCommandProperties=toCommandProperties;function toCommandValue(i){if(i===null||i===undefined){return""}else if(typeof i==="string"||i instanceof String){return i}return JSON.stringify(i)}function toCommandProperties(i){if(!Object.keys(i).length){return{}}return{title:i.title,file:i.file,line:i.startLine,endLine:i.endLine,col:i.startColumn,endColumn:i.endColumn}}},44552:function(i,d){var p=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.PersonalAccessTokenCredentialHandler=d.BearerCredentialHandler=d.BasicCredentialHandler=void 0;class BasicCredentialHandler{constructor(i,d){this.username=i;this.password=d}prepareRequest(i){if(!i.headers){throw Error("The request has no headers")}i.headers["Authorization"]=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return p(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}d.BasicCredentialHandler=BasicCredentialHandler;class BearerCredentialHandler{constructor(i){this.token=i}prepareRequest(i){if(!i.headers){throw Error("The request has no headers")}i.headers["Authorization"]=`Bearer ${this.token}`}canHandleAuthentication(){return false}handleAuthentication(){return p(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}d.BearerCredentialHandler=BearerCredentialHandler;class PersonalAccessTokenCredentialHandler{constructor(i){this.token=i}prepareRequest(i){if(!i.headers){throw Error("The request has no headers")}i.headers["Authorization"]=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return p(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}d.PersonalAccessTokenCredentialHandler=PersonalAccessTokenCredentialHandler},54844:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Kee(this,void 0,void 0,(function*(){let d=Buffer.alloc(0);this.message.on("data",(i=>{d=Buffer.concat([d,i])}));this.message.on("end",(()=>{i(d.toString())}))}))))}))}readBodyBuffer(){return ee(this,void 0,void 0,(function*(){return new Promise((i=>ee(this,void 0,void 0,(function*(){const d=[];this.message.on("data",(i=>{d.push(i)}));this.message.on("end",(()=>{i(Buffer.concat(d))}))}))))}))}}d.HttpClientResponse=HttpClientResponse;function isHttps(i){const d=new URL(i);return d.protocol==="https:"}class HttpClient{constructor(i,d,p){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=this._getUserAgentWithOrchestrationId(i);this.handlers=d||[];this.requestOptions=p;if(p){if(p.ignoreSslError!=null){this._ignoreSslError=p.ignoreSslError}this._socketTimeout=p.socketTimeout;if(p.allowRedirects!=null){this._allowRedirects=p.allowRedirects}if(p.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=p.allowRedirectDowngrade}if(p.maxRedirects!=null){this._maxRedirects=Math.max(p.maxRedirects,0)}if(p.keepAlive!=null){this._keepAlive=p.keepAlive}if(p.allowRetries!=null){this._allowRetries=p.allowRetries}if(p.maxRetries!=null){this._maxRetries=p.maxRetries}}}options(i,d){return ee(this,void 0,void 0,(function*(){return this.request("OPTIONS",i,null,d||{})}))}get(i,d){return ee(this,void 0,void 0,(function*(){return this.request("GET",i,null,d||{})}))}del(i,d){return ee(this,void 0,void 0,(function*(){return this.request("DELETE",i,null,d||{})}))}post(i,d,p){return ee(this,void 0,void 0,(function*(){return this.request("POST",i,d,p||{})}))}patch(i,d,p){return ee(this,void 0,void 0,(function*(){return this.request("PATCH",i,d,p||{})}))}put(i,d,p){return ee(this,void 0,void 0,(function*(){return this.request("PUT",i,d,p||{})}))}head(i,d){return ee(this,void 0,void 0,(function*(){return this.request("HEAD",i,null,d||{})}))}sendStream(i,d,p,v){return ee(this,void 0,void 0,(function*(){return this.request(i,d,p,v)}))}getJson(i){return ee(this,arguments,void 0,(function*(i,d={}){d[ae.Accept]=this._getExistingOrDefaultHeader(d,ae.Accept,Ae.ApplicationJson);const p=yield this.get(i,d);return this._processResponse(p,this.requestOptions)}))}postJson(i,d){return ee(this,arguments,void 0,(function*(i,d,p={}){const v=JSON.stringify(d,null,2);p[ae.Accept]=this._getExistingOrDefaultHeader(p,ae.Accept,Ae.ApplicationJson);p[ae.ContentType]=this._getExistingOrDefaultContentTypeHeader(p,Ae.ApplicationJson);const V=yield this.post(i,v,p);return this._processResponse(V,this.requestOptions)}))}putJson(i,d){return ee(this,arguments,void 0,(function*(i,d,p={}){const v=JSON.stringify(d,null,2);p[ae.Accept]=this._getExistingOrDefaultHeader(p,ae.Accept,Ae.ApplicationJson);p[ae.ContentType]=this._getExistingOrDefaultContentTypeHeader(p,Ae.ApplicationJson);const V=yield this.put(i,v,p);return this._processResponse(V,this.requestOptions)}))}patchJson(i,d){return ee(this,arguments,void 0,(function*(i,d,p={}){const v=JSON.stringify(d,null,2);p[ae.Accept]=this._getExistingOrDefaultHeader(p,ae.Accept,Ae.ApplicationJson);p[ae.ContentType]=this._getExistingOrDefaultContentTypeHeader(p,Ae.ApplicationJson);const V=yield this.patch(i,v,p);return this._processResponse(V,this.requestOptions)}))}request(i,d,p,v){return ee(this,void 0,void 0,(function*(){if(this._disposed){throw new Error("Client has already been disposed.")}const V=new URL(d);let K=this._prepareRequest(i,V,v);const ee=this._allowRetries&&ue.includes(i)?this._maxRetries+1:1;let te=0;let re;do{re=yield this.requestRaw(K,p);if(re&&re.message&&re.message.statusCode===oe.Unauthorized){let i;for(const d of this.handlers){if(d.canHandleAuthentication(re)){i=d;break}}if(i){return i.handleAuthentication(this,K,p)}else{return re}}let d=this._maxRedirects;while(re.message.statusCode&&ce.includes(re.message.statusCode)&&this._allowRedirects&&d>0){const ee=re.message.headers["location"];if(!ee){break}const te=new URL(ee);if(V.protocol==="https:"&&V.protocol!==te.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 re.readBody();if(te.hostname!==V.hostname){for(const i in v){if(i.toLowerCase()==="authorization"){delete v[i]}}}K=this._prepareRequest(i,te,v);re=yield this.requestRaw(K,p);d--}if(!re.message.statusCode||!le.includes(re.message.statusCode)){return re}te+=1;if(te{function callbackForResult(i,d){if(i){v(i)}else if(!d){v(new Error("Unknown error"))}else{p(d)}}this.requestRawWithCallback(i,d,callbackForResult)}))}))}requestRawWithCallback(i,d,p){if(typeof d==="string"){if(!i.options.headers){i.options.headers={}}i.options.headers["Content-Length"]=Buffer.byteLength(d,"utf8")}let v=false;function handleResult(i,d){if(!v){v=true;p(i,d)}}const V=i.httpModule.request(i.options,(i=>{const d=new HttpClientResponse(i);handleResult(undefined,d)}));let K;V.on("socket",(i=>{K=i}));V.setTimeout(this._socketTimeout||3*6e4,(()=>{if(K){K.end()}handleResult(new Error(`Request timeout: ${i.options.path}`))}));V.on("error",(function(i){handleResult(i)}));if(d&&typeof d==="string"){V.write(d,"utf8")}if(d&&typeof d!=="string"){d.on("close",(function(){V.end()}));d.pipe(V)}else{V.end()}}getAgent(i){const d=new URL(i);return this._getAgent(d)}getAgentDispatcher(i){const d=new URL(i);const p=ne.getProxyUrl(d);const v=p&&p.hostname;if(!v){return}return this._getProxyAgentDispatcher(d,p)}_prepareRequest(i,d,p){const v={};v.parsedUrl=d;const V=v.parsedUrl.protocol==="https:";v.httpModule=V?re:te;const K=V?443:80;v.options={};v.options.host=v.parsedUrl.hostname;v.options.port=v.parsedUrl.port?parseInt(v.parsedUrl.port):K;v.options.path=(v.parsedUrl.pathname||"")+(v.parsedUrl.search||"");v.options.method=i;v.options.headers=this._mergeHeaders(p);if(this.userAgent!=null){v.options.headers["user-agent"]=this.userAgent}v.options.agent=this._getAgent(v.parsedUrl);if(this.handlers){for(const i of this.handlers){i.prepareRequest(v.options)}}return v}_mergeHeaders(i){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(i||{}))}return lowercaseKeys(i||{})}_getExistingOrDefaultHeader(i,d,p){let v;if(this.requestOptions&&this.requestOptions.headers){const i=lowercaseKeys(this.requestOptions.headers)[d];if(i){v=typeof i==="number"?i.toString():i}}const V=i[d];if(V!==undefined){return typeof V==="number"?V.toString():V}if(v!==undefined){return v}return p}_getExistingOrDefaultContentTypeHeader(i,d){let p;if(this.requestOptions&&this.requestOptions.headers){const i=lowercaseKeys(this.requestOptions.headers)[ae.ContentType];if(i){if(typeof i==="number"){p=String(i)}else if(Array.isArray(i)){p=i.join(", ")}else{p=i}}}const v=i[ae.ContentType];if(v!==undefined){if(typeof v==="number"){return String(v)}else if(Array.isArray(v)){return v.join(", ")}else{return v}}if(p!==undefined){return p}return d}_getAgent(i){let d;const p=ne.getProxyUrl(i);const v=p&&p.hostname;if(this._keepAlive&&v){d=this._proxyAgent}if(!v){d=this._agent}if(d){return d}const V=i.protocol==="https:";let K=100;if(this.requestOptions){K=this.requestOptions.maxSockets||te.globalAgent.maxSockets}if(p&&p.hostname){const i={maxSockets:K,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(p.username||p.password)&&{proxyAuth:`${p.username}:${p.password}`}),{host:p.hostname,port:p.port})};let v;const ee=p.protocol==="https:";if(V){v=ee?se.httpsOverHttps:se.httpsOverHttp}else{v=ee?se.httpOverHttps:se.httpOverHttp}d=v(i);this._proxyAgent=d}if(!d){const i={keepAlive:this._keepAlive,maxSockets:K};d=V?new re.Agent(i):new te.Agent(i);this._agent=d}if(V&&this._ignoreSslError){d.options=Object.assign(d.options||{},{rejectUnauthorized:false})}return d}_getProxyAgentDispatcher(i,d){let p;if(this._keepAlive){p=this._proxyAgentDispatcher}if(p){return p}const v=i.protocol==="https:";p=new ie.ProxyAgent(Object.assign({uri:d.href,pipelining:!this._keepAlive?0:1},(d.username||d.password)&&{token:`Basic ${Buffer.from(`${d.username}:${d.password}`).toString("base64")}`}));this._proxyAgentDispatcher=p;if(v&&this._ignoreSslError){p.options=Object.assign(p.options.requestTls||{},{rejectUnauthorized:false})}return p}_getUserAgentWithOrchestrationId(i){const d=i||"actions/http-client";const p=process.env["ACTIONS_ORCHESTRATION_ID"];if(p){const i=p.replace(/[^a-z0-9_.-]/gi,"_");return`${d} actions_orchestration_id/${i}`}return d}_performExponentialBackoff(i){return ee(this,void 0,void 0,(function*(){i=Math.min(de,i);const d=he*Math.pow(2,i);return new Promise((i=>setTimeout((()=>i()),d)))}))}_processResponse(i,d){return ee(this,void 0,void 0,(function*(){return new Promise(((p,v)=>ee(this,void 0,void 0,(function*(){const V=i.message.statusCode||0;const K={statusCode:V,result:null,headers:{}};if(V===oe.NotFound){p(K)}function dateTimeDeserializer(i,d){if(typeof d==="string"){const i=new Date(d);if(!isNaN(i.valueOf())){return i}}return d}let ee;let te;try{te=yield i.readBody();if(te&&te.length>0){if(d&&d.deserializeDates){ee=JSON.parse(te,dateTimeDeserializer)}else{ee=JSON.parse(te)}K.result=ee}K.headers=i.message.headers}catch(i){}if(V>299){let i;if(ee&&ee.message){i=ee.message}else if(te&&te.length>0){i=te}else{i=`Failed request: (${V})`}const d=new HttpClientError(i,V);d.result=K.result;v(d)}else{p(K)}}))))}))}}d.HttpClient=HttpClient;const lowercaseKeys=i=>Object.keys(i).reduce(((d,p)=>(d[p.toLowerCase()]=i[p],d)),{})},54988:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.getProxyUrl=getProxyUrl;d.checkBypass=checkBypass;function getProxyUrl(i){const d=i.protocol==="https:";if(checkBypass(i)){return undefined}const p=(()=>{if(d){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(p){try{return new DecodedURL(p)}catch(i){if(!p.startsWith("http://")&&!p.startsWith("https://"))return new DecodedURL(`http://${p}`)}}else{return undefined}}function checkBypass(i){if(!i.hostname){return false}const d=i.hostname;if(isLoopbackAddress(d)){return true}const p=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!p){return false}let v;if(i.port){v=Number(i.port)}else if(i.protocol==="http:"){v=80}else if(i.protocol==="https:"){v=443}const V=[i.hostname.toUpperCase()];if(typeof v==="number"){V.push(`${V[0]}:${v}`)}for(const i of p.split(",").map((i=>i.trim().toUpperCase())).filter((i=>i))){if(i==="*"||V.some((d=>d===i||d.endsWith(`.${i}`)||i.startsWith(".")&&d.endsWith(`${i}`)))){return true}}return false}function isLoopbackAddress(i){const d=i.toLowerCase();return d==="localhost"||d.startsWith("127.")||d.startsWith("[::1]")||d.startsWith("[0:0:0:0:0:0:0:1]")}class DecodedURL extends URL{constructor(i,d){super(i,d);this._decodedUsername=decodeURIComponent(super.username);this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}},23368:(i,d,p)=>{const v=p(43069);const V=p(72091);const K=p(27404);const ee=p(48973);const te=p(86261);const re=p(69848);const ne=p(7897);const se=p(21882);const ie=p(48091);const oe=p(31544);const{InvalidArgumentError:ae}=ie;const Ae=p(65407);const ce=p(72296);const le=p(78957);const ue=p(15973);const de=p(78780);const he=p(35445);const fe=p(60112);const{getGlobalDispatcher:ge,setGlobalDispatcher:pe}=p(5837);const me=p(57011);const Ee=p(25050);const Ce=p(21676);Object.assign(V.prototype,Ae);i.exports.Dispatcher=V;i.exports.Client=v;i.exports.Pool=K;i.exports.BalancedPool=ee;i.exports.Agent=te;i.exports.ProxyAgent=re;i.exports.EnvHttpProxyAgent=ne;i.exports.RetryAgent=se;i.exports.RetryHandler=fe;i.exports.DecoratorHandler=me;i.exports.RedirectHandler=Ee;i.exports.createRedirectInterceptor=Ce;i.exports.interceptors={redirect:p(53650),retry:p(73874),dump:p(14756),dns:p(97251)};i.exports.buildConnector=ce;i.exports.errors=ie;i.exports.util={parseHeaders:oe.parseHeaders,headerNameToString:oe.headerNameToString};function makeDispatcher(i){return(d,p,v)=>{if(typeof p==="function"){v=p;p=null}if(!d||typeof d!=="string"&&typeof d!=="object"&&!(d instanceof URL)){throw new ae("invalid url")}if(p!=null&&typeof p!=="object"){throw new ae("invalid opts")}if(p&&p.path!=null){if(typeof p.path!=="string"){throw new ae("invalid opts.path")}let i=p.path;if(!p.path.startsWith("/")){i=`/${i}`}d=new URL(oe.parseOrigin(d).origin+i)}else{if(!p){p=typeof d==="object"?d:{}}d=oe.parseURL(d)}const{agent:V,dispatcher:K=ge()}=p;if(V){throw new ae("unsupported opts.agent. Did you mean opts.client?")}return i.call(K,{...p,origin:d.origin,path:d.search?`${d.pathname}${d.search}`:d.pathname,method:p.method||(p.body?"PUT":"GET")},v)}}i.exports.setGlobalDispatcher=pe;i.exports.getGlobalDispatcher=ge;const ye=p(47302).fetch;i.exports.fetch=async function fetch(i,d=undefined){try{return await ye(i,d)}catch(i){if(i&&typeof i==="object"){Error.captureStackTrace(i)}throw i}};i.exports.Headers=p(83676).Headers;i.exports.Response=p(9107).Response;i.exports.Request=p(46055).Request;i.exports.FormData=p(79662).FormData;i.exports.File=globalThis.File??p(4573).File;i.exports.FileReader=p(96299).FileReader;const{setGlobalOrigin:Ie,getGlobalOrigin:Be}=p(42443);i.exports.setGlobalOrigin=Ie;i.exports.getGlobalOrigin=Be;const{CacheStorage:Qe}=p(76949);const{kConstruct:be}=p(87589);i.exports.caches=new Qe(be);const{deleteCookie:we,getCookies:Se,getSetCookies:Re,setCookie:ve}=p(35437);i.exports.deleteCookie=we;i.exports.getCookies=Se;i.exports.getSetCookies=Re;i.exports.setCookie=ve;const{parseMIMEType:ke,serializeAMimeType:Te}=p(90980);i.exports.parseMIMEType=ke;i.exports.serializeAMimeType=Te;const{CloseEvent:Ne,ErrorEvent:De,MessageEvent:xe}=p(50044);i.exports.WebSocket=p(55366).WebSocket;i.exports.CloseEvent=Ne;i.exports.ErrorEvent=De;i.exports.MessageEvent=xe;i.exports.request=makeDispatcher(Ae.request);i.exports.stream=makeDispatcher(Ae.stream);i.exports.pipeline=makeDispatcher(Ae.pipeline);i.exports.connect=makeDispatcher(Ae.connect);i.exports.upgrade=makeDispatcher(Ae.upgrade);i.exports.MockClient=le;i.exports.MockPool=de;i.exports.MockAgent=ue;i.exports.mockErrors=he;const{EventSource:Fe}=p(46942);i.exports.EventSource=Fe},9318:(i,d,p)=>{const{addAbortListener:v}=p(31544);const{RequestAbortedError:V}=p(48091);const K=Symbol("kListener");const ee=Symbol("kSignal");function abort(i){if(i.abort){i.abort(i[ee]?.reason)}else{i.reason=i[ee]?.reason??new V}removeSignal(i)}function addSignal(i,d){i.reason=null;i[ee]=null;i[K]=null;if(!d){return}if(d.aborted){abort(i);return}i[ee]=d;i[K]=()=>{abort(i)};v(i[ee],i[K])}function removeSignal(i){if(!i[ee]){return}if("removeEventListener"in i[ee]){i[ee].removeEventListener("abort",i[K])}else{i[ee].removeListener("abort",i[K])}i[ee]=null;i[K]=null}i.exports={addSignal:addSignal,removeSignal:removeSignal}},89724:(i,d,p)=>{const v=p(34589);const{AsyncResource:V}=p(16698);const{InvalidArgumentError:K,SocketError:ee}=p(48091);const te=p(31544);const{addSignal:re,removeSignal:ne}=p(9318);class ConnectHandler extends V{constructor(i,d){if(!i||typeof i!=="object"){throw new K("invalid opts")}if(typeof d!=="function"){throw new K("invalid callback")}const{signal:p,opaque:v,responseHeaders:V}=i;if(p&&typeof p.on!=="function"&&typeof p.addEventListener!=="function"){throw new K("signal must be an EventEmitter or EventTarget")}super("UNDICI_CONNECT");this.opaque=v||null;this.responseHeaders=V||null;this.callback=d;this.abort=null;re(this,p)}onConnect(i,d){if(this.reason){i(this.reason);return}v(this.callback);this.abort=i;this.context=d}onHeaders(){throw new ee("bad connect",null)}onUpgrade(i,d,p){const{callback:v,opaque:V,context:K}=this;ne(this);this.callback=null;let ee=d;if(ee!=null){ee=this.responseHeaders==="raw"?te.parseRawHeaders(d):te.parseHeaders(d)}this.runInAsyncScope(v,null,null,{statusCode:i,headers:ee,socket:p,opaque:V,context:K})}onError(i){const{callback:d,opaque:p}=this;ne(this);if(d){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(d,null,i,{opaque:p})}))}}}function connect(i,d){if(d===undefined){return new Promise(((d,p)=>{connect.call(this,i,((i,v)=>i?p(i):d(v)))}))}try{const p=new ConnectHandler(i,d);this.dispatch({...i,method:"CONNECT"},p)}catch(p){if(typeof d!=="function"){throw p}const v=i?.opaque;queueMicrotask((()=>d(p,{opaque:v})))}}i.exports=connect},86998:(i,d,p)=>{const{Readable:v,Duplex:V,PassThrough:K}=p(57075);const{InvalidArgumentError:ee,InvalidReturnValueError:te,RequestAbortedError:re}=p(48091);const ne=p(31544);const{AsyncResource:se}=p(16698);const{addSignal:ie,removeSignal:oe}=p(9318);const ae=p(34589);const Ae=Symbol("resume");class PipelineRequest extends v{constructor(){super({autoDestroy:true});this[Ae]=null}_read(){const{[Ae]:i}=this;if(i){this[Ae]=null;i()}}_destroy(i,d){this._read();d(i)}}class PipelineResponse extends v{constructor(i){super({autoDestroy:true});this[Ae]=i}_read(){this[Ae]()}_destroy(i,d){if(!i&&!this._readableState.endEmitted){i=new re}d(i)}}class PipelineHandler extends se{constructor(i,d){if(!i||typeof i!=="object"){throw new ee("invalid opts")}if(typeof d!=="function"){throw new ee("invalid handler")}const{signal:p,method:v,opaque:K,onInfo:te,responseHeaders:se}=i;if(p&&typeof p.on!=="function"&&typeof p.addEventListener!=="function"){throw new ee("signal must be an EventEmitter or EventTarget")}if(v==="CONNECT"){throw new ee("invalid method")}if(te&&typeof te!=="function"){throw new ee("invalid onInfo callback")}super("UNDICI_PIPELINE");this.opaque=K||null;this.responseHeaders=se||null;this.handler=d;this.abort=null;this.context=null;this.onInfo=te||null;this.req=(new PipelineRequest).on("error",ne.nop);this.ret=new V({readableObjectMode:i.objectMode,autoDestroy:true,read:()=>{const{body:i}=this;if(i?.resume){i.resume()}},write:(i,d,p)=>{const{req:v}=this;if(v.push(i,d)||v._readableState.destroyed){p()}else{v[Ae]=p}},destroy:(i,d)=>{const{body:p,req:v,res:V,ret:K,abort:ee}=this;if(!i&&!K._readableState.endEmitted){i=new re}if(ee&&i){ee()}ne.destroy(p,i);ne.destroy(v,i);ne.destroy(V,i);oe(this);d(i)}}).on("prefinish",(()=>{const{req:i}=this;i.push(null)}));this.res=null;ie(this,p)}onConnect(i,d){const{ret:p,res:v}=this;if(this.reason){i(this.reason);return}ae(!v,"pipeline cannot be retried");ae(!p.destroyed);this.abort=i;this.context=d}onHeaders(i,d,p){const{opaque:v,handler:V,context:K}=this;if(i<200){if(this.onInfo){const p=this.responseHeaders==="raw"?ne.parseRawHeaders(d):ne.parseHeaders(d);this.onInfo({statusCode:i,headers:p})}return}this.res=new PipelineResponse(p);let ee;try{this.handler=null;const p=this.responseHeaders==="raw"?ne.parseRawHeaders(d):ne.parseHeaders(d);ee=this.runInAsyncScope(V,null,{statusCode:i,headers:p,opaque:v,body:this.res,context:K})}catch(i){this.res.on("error",ne.nop);throw i}if(!ee||typeof ee.on!=="function"){throw new te("expected Readable")}ee.on("data",(i=>{const{ret:d,body:p}=this;if(!d.push(i)&&p.pause){p.pause()}})).on("error",(i=>{const{ret:d}=this;ne.destroy(d,i)})).on("end",(()=>{const{ret:i}=this;i.push(null)})).on("close",(()=>{const{ret:i}=this;if(!i._readableState.ended){ne.destroy(i,new re)}}));this.body=ee}onData(i){const{res:d}=this;return d.push(i)}onComplete(i){const{res:d}=this;d.push(null)}onError(i){const{ret:d}=this;this.handler=null;ne.destroy(d,i)}}function pipeline(i,d){try{const p=new PipelineHandler(i,d);this.dispatch({...i,body:p.req},p);return p.ret}catch(i){return(new K).destroy(i)}}i.exports=pipeline},8675:(i,d,p)=>{const v=p(34589);const{Readable:V}=p(13135);const{InvalidArgumentError:K,RequestAbortedError:ee}=p(48091);const te=p(31544);const{getResolveErrorBodyCallback:re}=p(28447);const{AsyncResource:ne}=p(16698);class RequestHandler extends ne{constructor(i,d){if(!i||typeof i!=="object"){throw new K("invalid opts")}const{signal:p,method:v,opaque:V,body:re,onInfo:ne,responseHeaders:se,throwOnError:ie,highWaterMark:oe}=i;try{if(typeof d!=="function"){throw new K("invalid callback")}if(oe&&(typeof oe!=="number"||oe<0)){throw new K("invalid highWaterMark")}if(p&&typeof p.on!=="function"&&typeof p.addEventListener!=="function"){throw new K("signal must be an EventEmitter or EventTarget")}if(v==="CONNECT"){throw new K("invalid method")}if(ne&&typeof ne!=="function"){throw new K("invalid onInfo callback")}super("UNDICI_REQUEST")}catch(i){if(te.isStream(re)){te.destroy(re.on("error",te.nop),i)}throw i}this.method=v;this.responseHeaders=se||null;this.opaque=V||null;this.callback=d;this.res=null;this.abort=null;this.body=re;this.trailers={};this.context=null;this.onInfo=ne||null;this.throwOnError=ie;this.highWaterMark=oe;this.signal=p;this.reason=null;this.removeAbortListener=null;if(te.isStream(re)){re.on("error",(i=>{this.onError(i)}))}if(this.signal){if(this.signal.aborted){this.reason=this.signal.reason??new ee}else{this.removeAbortListener=te.addAbortListener(this.signal,(()=>{this.reason=this.signal.reason??new ee;if(this.res){te.destroy(this.res.on("error",te.nop),this.reason)}else if(this.abort){this.abort(this.reason)}if(this.removeAbortListener){this.res?.off("close",this.removeAbortListener);this.removeAbortListener();this.removeAbortListener=null}}))}}}onConnect(i,d){if(this.reason){i(this.reason);return}v(this.callback);this.abort=i;this.context=d}onHeaders(i,d,p,v){const{callback:K,opaque:ee,abort:ne,context:se,responseHeaders:ie,highWaterMark:oe}=this;const ae=ie==="raw"?te.parseRawHeaders(d):te.parseHeaders(d);if(i<200){if(this.onInfo){this.onInfo({statusCode:i,headers:ae})}return}const Ae=ie==="raw"?te.parseHeaders(d):ae;const ce=Ae["content-type"];const le=Ae["content-length"];const ue=new V({resume:p,abort:ne,contentType:ce,contentLength:this.method!=="HEAD"&&le?Number(le):null,highWaterMark:oe});if(this.removeAbortListener){ue.on("close",this.removeAbortListener)}this.callback=null;this.res=ue;if(K!==null){if(this.throwOnError&&i>=400){this.runInAsyncScope(re,null,{callback:K,body:ue,contentType:ce,statusCode:i,statusMessage:v,headers:ae})}else{this.runInAsyncScope(K,null,null,{statusCode:i,headers:ae,trailers:this.trailers,opaque:ee,body:ue,context:se})}}}onData(i){return this.res.push(i)}onComplete(i){te.parseHeaders(i,this.trailers);this.res.push(null)}onError(i){const{res:d,callback:p,body:v,opaque:V}=this;if(p){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(p,null,i,{opaque:V})}))}if(d){this.res=null;queueMicrotask((()=>{te.destroy(d,i)}))}if(v){this.body=null;te.destroy(v,i)}if(this.removeAbortListener){d?.off("close",this.removeAbortListener);this.removeAbortListener();this.removeAbortListener=null}}}function request(i,d){if(d===undefined){return new Promise(((d,p)=>{request.call(this,i,((i,v)=>i?p(i):d(v)))}))}try{this.dispatch(i,new RequestHandler(i,d))}catch(p){if(typeof d!=="function"){throw p}const v=i?.opaque;queueMicrotask((()=>d(p,{opaque:v})))}}i.exports=request;i.exports.RequestHandler=RequestHandler},90576:(i,d,p)=>{const v=p(34589);const{finished:V,PassThrough:K}=p(57075);const{InvalidArgumentError:ee,InvalidReturnValueError:te}=p(48091);const re=p(31544);const{getResolveErrorBodyCallback:ne}=p(28447);const{AsyncResource:se}=p(16698);const{addSignal:ie,removeSignal:oe}=p(9318);class StreamHandler extends se{constructor(i,d,p){if(!i||typeof i!=="object"){throw new ee("invalid opts")}const{signal:v,method:V,opaque:K,body:te,onInfo:ne,responseHeaders:se,throwOnError:oe}=i;try{if(typeof p!=="function"){throw new ee("invalid callback")}if(typeof d!=="function"){throw new ee("invalid factory")}if(v&&typeof v.on!=="function"&&typeof v.addEventListener!=="function"){throw new ee("signal must be an EventEmitter or EventTarget")}if(V==="CONNECT"){throw new ee("invalid method")}if(ne&&typeof ne!=="function"){throw new ee("invalid onInfo callback")}super("UNDICI_STREAM")}catch(i){if(re.isStream(te)){re.destroy(te.on("error",re.nop),i)}throw i}this.responseHeaders=se||null;this.opaque=K||null;this.factory=d;this.callback=p;this.res=null;this.abort=null;this.context=null;this.trailers=null;this.body=te;this.onInfo=ne||null;this.throwOnError=oe||false;if(re.isStream(te)){te.on("error",(i=>{this.onError(i)}))}ie(this,v)}onConnect(i,d){if(this.reason){i(this.reason);return}v(this.callback);this.abort=i;this.context=d}onHeaders(i,d,p,v){const{factory:ee,opaque:se,context:ie,callback:oe,responseHeaders:ae}=this;const Ae=ae==="raw"?re.parseRawHeaders(d):re.parseHeaders(d);if(i<200){if(this.onInfo){this.onInfo({statusCode:i,headers:Ae})}return}this.factory=null;let ce;if(this.throwOnError&&i>=400){const p=ae==="raw"?re.parseHeaders(d):Ae;const V=p["content-type"];ce=new K;this.callback=null;this.runInAsyncScope(ne,null,{callback:oe,body:ce,contentType:V,statusCode:i,statusMessage:v,headers:Ae})}else{if(ee===null){return}ce=this.runInAsyncScope(ee,null,{statusCode:i,headers:Ae,opaque:se,context:ie});if(!ce||typeof ce.write!=="function"||typeof ce.end!=="function"||typeof ce.on!=="function"){throw new te("expected Writable")}V(ce,{readable:false},(i=>{const{callback:d,res:p,opaque:v,trailers:V,abort:K}=this;this.res=null;if(i||!p.readable){re.destroy(p,i)}this.callback=null;this.runInAsyncScope(d,null,i||null,{opaque:v,trailers:V});if(i){K()}}))}ce.on("drain",p);this.res=ce;const le=ce.writableNeedDrain!==undefined?ce.writableNeedDrain:ce._writableState?.needDrain;return le!==true}onData(i){const{res:d}=this;return d?d.write(i):true}onComplete(i){const{res:d}=this;oe(this);if(!d){return}this.trailers=re.parseHeaders(i);d.end()}onError(i){const{res:d,callback:p,opaque:v,body:V}=this;oe(this);this.factory=null;if(d){this.res=null;re.destroy(d,i)}else if(p){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(p,null,i,{opaque:v})}))}if(V){this.body=null;re.destroy(V,i)}}}function stream(i,d,p){if(p===undefined){return new Promise(((p,v)=>{stream.call(this,i,d,((i,d)=>i?v(i):p(d)))}))}try{this.dispatch(i,new StreamHandler(i,d,p))}catch(d){if(typeof p!=="function"){throw d}const v=i?.opaque;queueMicrotask((()=>p(d,{opaque:v})))}}i.exports=stream},42274:(i,d,p)=>{const{InvalidArgumentError:v,SocketError:V}=p(48091);const{AsyncResource:K}=p(16698);const ee=p(31544);const{addSignal:te,removeSignal:re}=p(9318);const ne=p(34589);class UpgradeHandler extends K{constructor(i,d){if(!i||typeof i!=="object"){throw new v("invalid opts")}if(typeof d!=="function"){throw new v("invalid callback")}const{signal:p,opaque:V,responseHeaders:K}=i;if(p&&typeof p.on!=="function"&&typeof p.addEventListener!=="function"){throw new v("signal must be an EventEmitter or EventTarget")}super("UNDICI_UPGRADE");this.responseHeaders=K||null;this.opaque=V||null;this.callback=d;this.abort=null;this.context=null;te(this,p)}onConnect(i,d){if(this.reason){i(this.reason);return}ne(this.callback);this.abort=i;this.context=null}onHeaders(){throw new V("bad upgrade",null)}onUpgrade(i,d,p){ne(i===101);const{callback:v,opaque:V,context:K}=this;re(this);this.callback=null;const te=this.responseHeaders==="raw"?ee.parseRawHeaders(d):ee.parseHeaders(d);this.runInAsyncScope(v,null,null,{headers:te,socket:p,opaque:V,context:K})}onError(i){const{callback:d,opaque:p}=this;re(this);if(d){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(d,null,i,{opaque:p})}))}}}function upgrade(i,d){if(d===undefined){return new Promise(((d,p)=>{upgrade.call(this,i,((i,v)=>i?p(i):d(v)))}))}try{const p=new UpgradeHandler(i,d);this.dispatch({...i,method:i.method||"GET",upgrade:i.protocol||"Websocket"},p)}catch(p){if(typeof d!=="function"){throw p}const v=i?.opaque;queueMicrotask((()=>d(p,{opaque:v})))}}i.exports=upgrade},65407:(i,d,p)=>{i.exports.request=p(8675);i.exports.stream=p(90576);i.exports.pipeline=p(86998);i.exports.upgrade=p(42274);i.exports.connect=p(89724)},13135:(i,d,p)=>{const v=p(34589);const{Readable:V}=p(57075);const{RequestAbortedError:K,NotSupportedError:ee,InvalidArgumentError:te,AbortError:re}=p(48091);const ne=p(31544);const{ReadableStreamFrom:se}=p(31544);const ie=Symbol("kConsume");const oe=Symbol("kReading");const ae=Symbol("kBody");const Ae=Symbol("kAbort");const ce=Symbol("kContentType");const le=Symbol("kContentLength");const noop=()=>{};class BodyReadable extends V{constructor({resume:i,abort:d,contentType:p="",contentLength:v,highWaterMark:V=64*1024}){super({autoDestroy:true,read:i,highWaterMark:V});this._readableState.dataEmitted=false;this[Ae]=d;this[ie]=null;this[ae]=null;this[ce]=p;this[le]=v;this[oe]=false}destroy(i){if(!i&&!this._readableState.endEmitted){i=new K}if(i){this[Ae]()}return super.destroy(i)}_destroy(i,d){if(!this[oe]){setImmediate((()=>{d(i)}))}else{d(i)}}on(i,...d){if(i==="data"||i==="readable"){this[oe]=true}return super.on(i,...d)}addListener(i,...d){return this.on(i,...d)}off(i,...d){const p=super.off(i,...d);if(i==="data"||i==="readable"){this[oe]=this.listenerCount("data")>0||this.listenerCount("readable")>0}return p}removeListener(i,...d){return this.off(i,...d)}push(i){if(this[ie]&&i!==null){consumePush(this[ie],i);return this[oe]?super.push(i):true}return super.push(i)}async text(){return consume(this,"text")}async json(){return consume(this,"json")}async blob(){return consume(this,"blob")}async bytes(){return consume(this,"bytes")}async arrayBuffer(){return consume(this,"arrayBuffer")}async formData(){throw new ee}get bodyUsed(){return ne.isDisturbed(this)}get body(){if(!this[ae]){this[ae]=se(this);if(this[ie]){this[ae].getReader();v(this[ae].locked)}}return this[ae]}async dump(i){let d=Number.isFinite(i?.limit)?i.limit:128*1024;const p=i?.signal;if(p!=null&&(typeof p!=="object"||!("aborted"in p))){throw new te("signal must be an AbortSignal")}p?.throwIfAborted();if(this._readableState.closeEmitted){return null}return await new Promise(((i,v)=>{if(this[le]>d){this.destroy(new re)}const onAbort=()=>{this.destroy(p.reason??new re)};p?.addEventListener("abort",onAbort);this.on("close",(function(){p?.removeEventListener("abort",onAbort);if(p?.aborted){v(p.reason??new re)}else{i(null)}})).on("error",noop).on("data",(function(i){d-=i.length;if(d<=0){this.destroy()}})).resume()}))}}function isLocked(i){return i[ae]&&i[ae].locked===true||i[ie]}function isUnusable(i){return ne.isDisturbed(i)||isLocked(i)}async function consume(i,d){v(!i[ie]);return new Promise(((p,v)=>{if(isUnusable(i)){const d=i._readableState;if(d.destroyed&&d.closeEmitted===false){i.on("error",(i=>{v(i)})).on("close",(()=>{v(new TypeError("unusable"))}))}else{v(d.errored??new TypeError("unusable"))}}else{queueMicrotask((()=>{i[ie]={type:d,stream:i,resolve:p,reject:v,length:0,body:[]};i.on("error",(function(i){consumeFinish(this[ie],i)})).on("close",(function(){if(this[ie].body!==null){consumeFinish(this[ie],new K)}}));consumeStart(i[ie])}))}}))}function consumeStart(i){if(i.body===null){return}const{_readableState:d}=i.stream;if(d.bufferIndex){const p=d.bufferIndex;const v=d.buffer.length;for(let V=p;V2&&p[0]===239&&p[1]===187&&p[2]===191?3:0;return p.utf8Slice(V,v)}function chunksConcat(i,d){if(i.length===0||d===0){return new Uint8Array(0)}if(i.length===1){return new Uint8Array(i[0])}const p=new Uint8Array(Buffer.allocUnsafeSlow(d).buffer);let v=0;for(let d=0;d{const v=p(34589);const{ResponseStatusCodeError:V}=p(48091);const{chunksDecode:K}=p(13135);const ee=128*1024;async function getResolveErrorBodyCallback({callback:i,body:d,contentType:p,statusCode:te,statusMessage:re,headers:ne}){v(d);let se=[];let ie=0;try{for await(const i of d){se.push(i);ie+=i.length;if(ie>ee){se=[];ie=0;break}}}catch{se=[];ie=0}const oe=`Response status code ${te}${re?`: ${re}`:""}`;if(te===204||!p||!ie){queueMicrotask((()=>i(new V(oe,te,ne))));return}const ae=Error.stackTraceLimit;Error.stackTraceLimit=0;let Ae;try{if(isContentTypeApplicationJson(p)){Ae=JSON.parse(K(se,ie))}else if(isContentTypeText(p)){Ae=K(se,ie)}}catch{}finally{Error.stackTraceLimit=ae}queueMicrotask((()=>i(new V(oe,te,ne,Ae))))}const isContentTypeApplicationJson=i=>i.length>15&&i[11]==="/"&&i[0]==="a"&&i[1]==="p"&&i[2]==="p"&&i[3]==="l"&&i[4]==="i"&&i[5]==="c"&&i[6]==="a"&&i[7]==="t"&&i[8]==="i"&&i[9]==="o"&&i[10]==="n"&&i[12]==="j"&&i[13]==="s"&&i[14]==="o"&&i[15]==="n";const isContentTypeText=i=>i.length>4&&i[4]==="/"&&i[0]==="t"&&i[1]==="e"&&i[2]==="x"&&i[3]==="t";i.exports={getResolveErrorBodyCallback:getResolveErrorBodyCallback,isContentTypeApplicationJson:isContentTypeApplicationJson,isContentTypeText:isContentTypeText}},72296:(i,d,p)=>{const v=p(77030);const V=p(34589);const K=p(31544);const{InvalidArgumentError:ee,ConnectTimeoutError:te}=p(48091);const re=p(92563);function noop(){}let ne;let se;if(global.FinalizationRegistry&&!(process.env.NODE_V8_COVERAGE||process.env.UNDICI_NO_FG)){se=class WeakSessionCache{constructor(i){this._maxCachedSessions=i;this._sessionCache=new Map;this._sessionRegistry=new global.FinalizationRegistry((i=>{if(this._sessionCache.size=this._maxCachedSessions){const{value:i}=this._sessionCache.keys().next();this._sessionCache.delete(i)}this._sessionCache.set(i,d)}}}function buildConnector({allowH2:i,maxCachedSessions:d,socketPath:te,timeout:re,session:oe,...ae}){if(d!=null&&(!Number.isInteger(d)||d<0)){throw new ee("maxCachedSessions must be a positive integer or zero")}const Ae={path:te,...ae};const ce=new se(d==null?100:d);re=re==null?1e4:re;i=i!=null?i:false;return function connect({hostname:d,host:ee,protocol:te,port:se,servername:ae,localAddress:le,httpSocket:ue},de){let he;if(te==="https:"){if(!ne){ne=p(41692)}ae=ae||Ae.servername||K.getServerName(ee)||null;const v=ae||d;V(v);const te=oe||ce.get(v)||null;se=se||443;he=ne.connect({highWaterMark:16384,...Ae,servername:ae,session:te,localAddress:le,ALPNProtocols:i?["http/1.1","h2"]:["http/1.1"],socket:ue,port:se,host:d});he.on("session",(function(i){ce.set(v,i)}))}else{V(!ue,"httpSocket can only be sent on TLS update");se=se||80;he=v.connect({highWaterMark:64*1024,...Ae,localAddress:le,port:se,host:d})}if(Ae.keepAlive==null||Ae.keepAlive){const i=Ae.keepAliveInitialDelay===undefined?6e4:Ae.keepAliveInitialDelay;he.setKeepAlive(true,i)}const fe=ie(new WeakRef(he),{timeout:re,hostname:d,port:se});he.setNoDelay(true).once(te==="https:"?"secureConnect":"connect",(function(){queueMicrotask(fe);if(de){const i=de;de=null;i(null,this)}})).on("error",(function(i){queueMicrotask(fe);if(de){const d=de;de=null;d(i)}}));return he}}const ie=process.platform==="win32"?(i,d)=>{if(!d.timeout){return noop}let p=null;let v=null;const V=re.setFastTimeout((()=>{p=setImmediate((()=>{v=setImmediate((()=>onConnectTimeout(i.deref(),d)))}))}),d.timeout);return()=>{re.clearFastTimeout(V);clearImmediate(p);clearImmediate(v)}}:(i,d)=>{if(!d.timeout){return noop}let p=null;const v=re.setFastTimeout((()=>{p=setImmediate((()=>{onConnectTimeout(i.deref(),d)}))}),d.timeout);return()=>{re.clearFastTimeout(v);clearImmediate(p)}};function onConnectTimeout(i,d){if(i==null){return}let p="Connect Timeout Error";if(Array.isArray(i.autoSelectFamilyAttemptedAddresses)){p+=` (attempted addresses: ${i.autoSelectFamilyAttemptedAddresses.join(", ")},`}else{p+=` (attempted address: ${d.hostname}:${d.port},`}p+=` timeout: ${d.timeout}ms)`;K.destroy(i,new te(p))}i.exports=buildConnector},61303:i=>{const d={};const p=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"];for(let i=0;i{const v=p(53053);const V=p(57975);const K=V.debuglog("undici");const ee=V.debuglog("fetch");const te=V.debuglog("websocket");let re=false;const ne={beforeConnect:v.channel("undici:client:beforeConnect"),connected:v.channel("undici:client:connected"),connectError:v.channel("undici:client:connectError"),sendHeaders:v.channel("undici:client:sendHeaders"),create:v.channel("undici:request:create"),bodySent:v.channel("undici:request:bodySent"),headers:v.channel("undici:request:headers"),trailers:v.channel("undici:request:trailers"),error:v.channel("undici:request:error"),open:v.channel("undici:websocket:open"),close:v.channel("undici:websocket:close"),socketError:v.channel("undici:websocket:socket_error"),ping:v.channel("undici:websocket:ping"),pong:v.channel("undici:websocket:pong")};if(K.enabled||ee.enabled){const i=ee.enabled?ee:K;v.channel("undici:client:beforeConnect").subscribe((d=>{const{connectParams:{version:p,protocol:v,port:V,host:K}}=d;i("connecting to %s using %s%s",`${K}${V?`:${V}`:""}`,v,p)}));v.channel("undici:client:connected").subscribe((d=>{const{connectParams:{version:p,protocol:v,port:V,host:K}}=d;i("connected to %s using %s%s",`${K}${V?`:${V}`:""}`,v,p)}));v.channel("undici:client:connectError").subscribe((d=>{const{connectParams:{version:p,protocol:v,port:V,host:K},error:ee}=d;i("connection to %s using %s%s errored - %s",`${K}${V?`:${V}`:""}`,v,p,ee.message)}));v.channel("undici:client:sendHeaders").subscribe((d=>{const{request:{method:p,path:v,origin:V}}=d;i("sending request to %s %s/%s",p,V,v)}));v.channel("undici:request:headers").subscribe((d=>{const{request:{method:p,path:v,origin:V},response:{statusCode:K}}=d;i("received response to %s %s/%s - HTTP %d",p,V,v,K)}));v.channel("undici:request:trailers").subscribe((d=>{const{request:{method:p,path:v,origin:V}}=d;i("trailers received from %s %s/%s",p,V,v)}));v.channel("undici:request:error").subscribe((d=>{const{request:{method:p,path:v,origin:V},error:K}=d;i("request to %s %s/%s errored - %s",p,V,v,K.message)}));re=true}if(te.enabled){if(!re){const i=K.enabled?K:te;v.channel("undici:client:beforeConnect").subscribe((d=>{const{connectParams:{version:p,protocol:v,port:V,host:K}}=d;i("connecting to %s%s using %s%s",K,V?`:${V}`:"",v,p)}));v.channel("undici:client:connected").subscribe((d=>{const{connectParams:{version:p,protocol:v,port:V,host:K}}=d;i("connected to %s%s using %s%s",K,V?`:${V}`:"",v,p)}));v.channel("undici:client:connectError").subscribe((d=>{const{connectParams:{version:p,protocol:v,port:V,host:K},error:ee}=d;i("connection to %s%s using %s%s errored - %s",K,V?`:${V}`:"",v,p,ee.message)}));v.channel("undici:client:sendHeaders").subscribe((d=>{const{request:{method:p,path:v,origin:V}}=d;i("sending request to %s %s/%s",p,V,v)}))}v.channel("undici:websocket:open").subscribe((i=>{const{address:{address:d,port:p}}=i;te("connection opened %s%s",d,p?`:${p}`:"")}));v.channel("undici:websocket:close").subscribe((i=>{const{websocket:d,code:p,reason:v}=i;te("closed connection to %s - %s %s",d.url,p,v)}));v.channel("undici:websocket:socket_error").subscribe((i=>{te("connection errored - %s",i.message)}));v.channel("undici:websocket:ping").subscribe((i=>{te("ping received")}));v.channel("undici:websocket:pong").subscribe((i=>{te("pong received")}))}i.exports={channels:ne}},48091:i=>{const d=Symbol.for("undici.error.UND_ERR");class UndiciError extends Error{constructor(i){super(i);this.name="UndiciError";this.code="UND_ERR"}static[Symbol.hasInstance](i){return i&&i[d]===true}[d]=true}const p=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT");class ConnectTimeoutError extends UndiciError{constructor(i){super(i);this.name="ConnectTimeoutError";this.message=i||"Connect Timeout Error";this.code="UND_ERR_CONNECT_TIMEOUT"}static[Symbol.hasInstance](i){return i&&i[p]===true}[p]=true}const v=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT");class HeadersTimeoutError extends UndiciError{constructor(i){super(i);this.name="HeadersTimeoutError";this.message=i||"Headers Timeout Error";this.code="UND_ERR_HEADERS_TIMEOUT"}static[Symbol.hasInstance](i){return i&&i[v]===true}[v]=true}const V=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW");class HeadersOverflowError extends UndiciError{constructor(i){super(i);this.name="HeadersOverflowError";this.message=i||"Headers Overflow Error";this.code="UND_ERR_HEADERS_OVERFLOW"}static[Symbol.hasInstance](i){return i&&i[V]===true}[V]=true}const K=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT");class BodyTimeoutError extends UndiciError{constructor(i){super(i);this.name="BodyTimeoutError";this.message=i||"Body Timeout Error";this.code="UND_ERR_BODY_TIMEOUT"}static[Symbol.hasInstance](i){return i&&i[K]===true}[K]=true}const ee=Symbol.for("undici.error.UND_ERR_RESPONSE_STATUS_CODE");class ResponseStatusCodeError extends UndiciError{constructor(i,d,p,v){super(i);this.name="ResponseStatusCodeError";this.message=i||"Response Status Code Error";this.code="UND_ERR_RESPONSE_STATUS_CODE";this.body=v;this.status=d;this.statusCode=d;this.headers=p}static[Symbol.hasInstance](i){return i&&i[ee]===true}[ee]=true}const te=Symbol.for("undici.error.UND_ERR_INVALID_ARG");class InvalidArgumentError extends UndiciError{constructor(i){super(i);this.name="InvalidArgumentError";this.message=i||"Invalid Argument Error";this.code="UND_ERR_INVALID_ARG"}static[Symbol.hasInstance](i){return i&&i[te]===true}[te]=true}const re=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE");class InvalidReturnValueError extends UndiciError{constructor(i){super(i);this.name="InvalidReturnValueError";this.message=i||"Invalid Return Value Error";this.code="UND_ERR_INVALID_RETURN_VALUE"}static[Symbol.hasInstance](i){return i&&i[re]===true}[re]=true}const ne=Symbol.for("undici.error.UND_ERR_ABORT");class AbortError extends UndiciError{constructor(i){super(i);this.name="AbortError";this.message=i||"The operation was aborted";this.code="UND_ERR_ABORT"}static[Symbol.hasInstance](i){return i&&i[ne]===true}[ne]=true}const se=Symbol.for("undici.error.UND_ERR_ABORTED");class RequestAbortedError extends AbortError{constructor(i){super(i);this.name="AbortError";this.message=i||"Request aborted";this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](i){return i&&i[se]===true}[se]=true}const ie=Symbol.for("undici.error.UND_ERR_INFO");class InformationalError extends UndiciError{constructor(i){super(i);this.name="InformationalError";this.message=i||"Request information";this.code="UND_ERR_INFO"}static[Symbol.hasInstance](i){return i&&i[ie]===true}[ie]=true}const oe=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH");class RequestContentLengthMismatchError extends UndiciError{constructor(i){super(i);this.name="RequestContentLengthMismatchError";this.message=i||"Request body length does not match content-length header";this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](i){return i&&i[oe]===true}[oe]=true}const ae=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH");class ResponseContentLengthMismatchError extends UndiciError{constructor(i){super(i);this.name="ResponseContentLengthMismatchError";this.message=i||"Response body length does not match content-length header";this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](i){return i&&i[ae]===true}[ae]=true}const Ae=Symbol.for("undici.error.UND_ERR_DESTROYED");class ClientDestroyedError extends UndiciError{constructor(i){super(i);this.name="ClientDestroyedError";this.message=i||"The client is destroyed";this.code="UND_ERR_DESTROYED"}static[Symbol.hasInstance](i){return i&&i[Ae]===true}[Ae]=true}const ce=Symbol.for("undici.error.UND_ERR_CLOSED");class ClientClosedError extends UndiciError{constructor(i){super(i);this.name="ClientClosedError";this.message=i||"The client is closed";this.code="UND_ERR_CLOSED"}static[Symbol.hasInstance](i){return i&&i[ce]===true}[ce]=true}const le=Symbol.for("undici.error.UND_ERR_SOCKET");class SocketError extends UndiciError{constructor(i,d){super(i);this.name="SocketError";this.message=i||"Socket error";this.code="UND_ERR_SOCKET";this.socket=d}static[Symbol.hasInstance](i){return i&&i[le]===true}[le]=true}const ue=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED");class NotSupportedError extends UndiciError{constructor(i){super(i);this.name="NotSupportedError";this.message=i||"Not supported error";this.code="UND_ERR_NOT_SUPPORTED"}static[Symbol.hasInstance](i){return i&&i[ue]===true}[ue]=true}const de=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM");class BalancedPoolMissingUpstreamError extends UndiciError{constructor(i){super(i);this.name="MissingUpstreamError";this.message=i||"No upstream has been added to the BalancedPool";this.code="UND_ERR_BPL_MISSING_UPSTREAM"}static[Symbol.hasInstance](i){return i&&i[de]===true}[de]=true}const he=Symbol.for("undici.error.UND_ERR_HTTP_PARSER");class HTTPParserError extends Error{constructor(i,d,p){super(i);this.name="HTTPParserError";this.code=d?`HPE_${d}`:undefined;this.data=p?p.toString():undefined}static[Symbol.hasInstance](i){return i&&i[he]===true}[he]=true}const fe=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE");class ResponseExceededMaxSizeError extends UndiciError{constructor(i){super(i);this.name="ResponseExceededMaxSizeError";this.message=i||"Response content exceeded max size";this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}static[Symbol.hasInstance](i){return i&&i[fe]===true}[fe]=true}const ge=Symbol.for("undici.error.UND_ERR_REQ_RETRY");class RequestRetryError extends UndiciError{constructor(i,d,{headers:p,data:v}){super(i);this.name="RequestRetryError";this.message=i||"Request retry error";this.code="UND_ERR_REQ_RETRY";this.statusCode=d;this.data=v;this.headers=p}static[Symbol.hasInstance](i){return i&&i[ge]===true}[ge]=true}const pe=Symbol.for("undici.error.UND_ERR_RESPONSE");class ResponseError extends UndiciError{constructor(i,d,{headers:p,data:v}){super(i);this.name="ResponseError";this.message=i||"Response error";this.code="UND_ERR_RESPONSE";this.statusCode=d;this.data=v;this.headers=p}static[Symbol.hasInstance](i){return i&&i[pe]===true}[pe]=true}const me=Symbol.for("undici.error.UND_ERR_PRX_TLS");class SecureProxyConnectionError extends UndiciError{constructor(i,d,p){super(d,{cause:i,...p??{}});this.name="SecureProxyConnectionError";this.message=d||"Secure Proxy Connection failed";this.code="UND_ERR_PRX_TLS";this.cause=i}static[Symbol.hasInstance](i){return i&&i[me]===true}[me]=true}i.exports={AbortError:AbortError,HTTPParserError:HTTPParserError,UndiciError:UndiciError,HeadersTimeoutError:HeadersTimeoutError,HeadersOverflowError:HeadersOverflowError,BodyTimeoutError:BodyTimeoutError,RequestContentLengthMismatchError:RequestContentLengthMismatchError,ConnectTimeoutError:ConnectTimeoutError,ResponseStatusCodeError:ResponseStatusCodeError,InvalidArgumentError:InvalidArgumentError,InvalidReturnValueError:InvalidReturnValueError,RequestAbortedError:RequestAbortedError,ClientDestroyedError:ClientDestroyedError,ClientClosedError:ClientClosedError,InformationalError:InformationalError,SocketError:SocketError,NotSupportedError:NotSupportedError,ResponseContentLengthMismatchError:ResponseContentLengthMismatchError,BalancedPoolMissingUpstreamError:BalancedPoolMissingUpstreamError,ResponseExceededMaxSizeError:ResponseExceededMaxSizeError,RequestRetryError:RequestRetryError,ResponseError:ResponseError,SecureProxyConnectionError:SecureProxyConnectionError}},98823:(i,d,p)=>{const{InvalidArgumentError:v,NotSupportedError:V}=p(48091);const K=p(34589);const{isValidHTTPToken:ee,isValidHeaderValue:te,isStream:re,destroy:ne,isBuffer:se,isFormDataLike:ie,isIterable:oe,isBlobLike:ae,buildURL:Ae,validateHandler:ce,getServerName:le,normalizedMethodRecords:ue}=p(31544);const{channels:de}=p(78150);const{headerNameLowerCasedRecord:he}=p(61303);const fe=/[^\u0021-\u00ff]/;const ge=Symbol("handler");class Request{constructor(i,{path:d,method:p,body:V,headers:K,query:te,idempotent:he,blocking:pe,upgrade:me,headersTimeout:Ee,bodyTimeout:Ce,reset:ye,throwOnError:Ie,expectContinue:Be,servername:Qe},be){if(typeof d!=="string"){throw new v("path must be a string")}else if(d[0]!=="/"&&!(d.startsWith("http://")||d.startsWith("https://"))&&p!=="CONNECT"){throw new v("path must be an absolute URL or start with a slash")}else if(fe.test(d)){throw new v("invalid request path")}if(typeof p!=="string"){throw new v("method must be a string")}else if(ue[p]===undefined&&!ee(p)){throw new v("invalid request method")}if(me&&typeof me!=="string"){throw new v("upgrade must be a string")}if(Ee!=null&&(!Number.isFinite(Ee)||Ee<0)){throw new v("invalid headersTimeout")}if(Ce!=null&&(!Number.isFinite(Ce)||Ce<0)){throw new v("invalid bodyTimeout")}if(ye!=null&&typeof ye!=="boolean"){throw new v("invalid reset")}if(Be!=null&&typeof Be!=="boolean"){throw new v("invalid expectContinue")}this.headersTimeout=Ee;this.bodyTimeout=Ce;this.throwOnError=Ie===true;this.method=p;this.abort=null;if(V==null){this.body=null}else if(re(V)){this.body=V;const i=this.body._readableState;if(!i||!i.autoDestroy){this.endHandler=function autoDestroy(){ne(this)};this.body.on("end",this.endHandler)}this.errorHandler=i=>{if(this.abort){this.abort(i)}else{this.error=i}};this.body.on("error",this.errorHandler)}else if(se(V)){this.body=V.byteLength?V:null}else if(ArrayBuffer.isView(V)){this.body=V.buffer.byteLength?Buffer.from(V.buffer,V.byteOffset,V.byteLength):null}else if(V instanceof ArrayBuffer){this.body=V.byteLength?Buffer.from(V):null}else if(typeof V==="string"){this.body=V.length?Buffer.from(V):null}else if(ie(V)||oe(V)||ae(V)){this.body=V}else{throw new v("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable")}this.completed=false;this.aborted=false;this.upgrade=me||null;this.path=te?Ae(d,te):d;this.origin=i;this.idempotent=he==null?p==="HEAD"||p==="GET":he;this.blocking=pe==null?false:pe;this.reset=ye==null?null:ye;this.host=null;this.contentLength=null;this.contentType=null;this.headers=[];this.expectContinue=Be!=null?Be:false;if(Array.isArray(K)){if(K.length%2!==0){throw new v("headers array must be even")}for(let i=0;i{i.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kBody:Symbol("abstracted request body"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kResume:Symbol("resume"),kOnError:Symbol("on error"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable"),kListeners:Symbol("listeners"),kHTTPContext:Symbol("http context"),kMaxConcurrentStreams:Symbol("max concurrent streams"),kNoProxyAgent:Symbol("no proxy agent"),kHttpProxyAgent:Symbol("http proxy agent"),kHttpsProxyAgent:Symbol("https proxy agent")}},23568:(i,d,p)=>{const{wellknownHeaderNames:v,headerNameLowerCasedRecord:V}=p(61303);class TstNode{value=null;left=null;middle=null;right=null;code;constructor(i,d,p){if(p===undefined||p>=i.length){throw new TypeError("Unreachable")}const v=this.code=i.charCodeAt(p);if(v>127){throw new TypeError("key must be ascii string")}if(i.length!==++p){this.middle=new TstNode(i,d,p)}else{this.value=d}}add(i,d){const p=i.length;if(p===0){throw new TypeError("Unreachable")}let v=0;let V=this;while(true){const K=i.charCodeAt(v);if(K>127){throw new TypeError("key must be ascii string")}if(V.code===K){if(p===++v){V.value=d;break}else if(V.middle!==null){V=V.middle}else{V.middle=new TstNode(i,d,v);break}}else if(V.code=65){V|=32}while(v!==null){if(V===v.code){if(d===++p){return v}v=v.middle;break}v=v.code{const v=p(34589);const{kDestroyed:V,kBodyUsed:K,kListeners:ee,kBody:te}=p(99411);const{IncomingMessage:re}=p(37067);const ne=p(57075);const se=p(77030);const{Blob:ie}=p(4573);const oe=p(57975);const{stringify:ae}=p(41792);const{EventEmitter:Ae}=p(78474);const{InvalidArgumentError:ce}=p(48091);const{headerNameLowerCasedRecord:le}=p(61303);const{tree:ue}=p(23568);const[de,he]=process.versions.node.split(".").map((i=>Number(i)));class BodyAsyncIterable{constructor(i){this[te]=i;this[K]=false}async*[Symbol.asyncIterator](){v(!this[K],"disturbed");this[K]=true;yield*this[te]}}function wrapRequestBody(i){if(isStream(i)){if(bodyLength(i)===0){i.on("data",(function(){v(false)}))}if(typeof i.readableDidRead!=="boolean"){i[K]=false;Ae.prototype.on.call(i,"data",(function(){this[K]=true}))}return i}else if(i&&typeof i.pipeTo==="function"){return new BodyAsyncIterable(i)}else if(i&&typeof i!=="string"&&!ArrayBuffer.isView(i)&&isIterable(i)){return new BodyAsyncIterable(i)}else{return i}}function nop(){}function isStream(i){return i&&typeof i==="object"&&typeof i.pipe==="function"&&typeof i.on==="function"}function isBlobLike(i){if(i===null){return false}else if(i instanceof ie){return true}else if(typeof i!=="object"){return false}else{const d=i[Symbol.toStringTag];return(d==="Blob"||d==="File")&&("stream"in i&&typeof i.stream==="function"||"arrayBuffer"in i&&typeof i.arrayBuffer==="function")}}function buildURL(i,d){if(i.includes("?")||i.includes("#")){throw new Error('Query params cannot be passed when url already contains "?" or "#".')}const p=ae(d);if(p){i+="?"+p}return i}function isValidPort(i){const d=parseInt(i,10);return d===Number(i)&&d>=0&&d<=65535}function isHttpOrHttpsPrefixed(i){return i!=null&&i[0]==="h"&&i[1]==="t"&&i[2]==="t"&&i[3]==="p"&&(i[4]===":"||i[4]==="s"&&i[5]===":")}function parseURL(i){if(typeof i==="string"){i=new URL(i);if(!isHttpOrHttpsPrefixed(i.origin||i.protocol)){throw new ce("Invalid URL protocol: the URL must start with `http:` or `https:`.")}return i}if(!i||typeof i!=="object"){throw new ce("Invalid URL: The URL argument must be a non-null object.")}if(!(i instanceof URL)){if(i.port!=null&&i.port!==""&&isValidPort(i.port)===false){throw new ce("Invalid URL: port must be a valid integer or a string representation of an integer.")}if(i.path!=null&&typeof i.path!=="string"){throw new ce("Invalid URL path: the path must be a string or null/undefined.")}if(i.pathname!=null&&typeof i.pathname!=="string"){throw new ce("Invalid URL pathname: the pathname must be a string or null/undefined.")}if(i.hostname!=null&&typeof i.hostname!=="string"){throw new ce("Invalid URL hostname: the hostname must be a string or null/undefined.")}if(i.origin!=null&&typeof i.origin!=="string"){throw new ce("Invalid URL origin: the origin must be a string or null/undefined.")}if(!isHttpOrHttpsPrefixed(i.origin||i.protocol)){throw new ce("Invalid URL protocol: the URL must start with `http:` or `https:`.")}const d=i.port!=null?i.port:i.protocol==="https:"?443:80;let p=i.origin!=null?i.origin:`${i.protocol||""}//${i.hostname||""}:${d}`;let v=i.path!=null?i.path:`${i.pathname||""}${i.search||""}`;if(p[p.length-1]==="/"){p=p.slice(0,p.length-1)}if(v&&v[0]!=="/"){v=`/${v}`}return new URL(`${p}${v}`)}if(!isHttpOrHttpsPrefixed(i.origin||i.protocol)){throw new ce("Invalid URL protocol: the URL must start with `http:` or `https:`.")}return i}function parseOrigin(i){i=parseURL(i);if(i.pathname!=="/"||i.search||i.hash){throw new ce("invalid url")}return i}function getHostname(i){if(i[0]==="["){const d=i.indexOf("]");v(d!==-1);return i.substring(1,d)}const d=i.indexOf(":");if(d===-1)return i;return i.substring(0,d)}function getServerName(i){if(!i){return null}v(typeof i==="string");const d=getHostname(i);if(se.isIP(d)){return""}return d}function deepClone(i){return JSON.parse(JSON.stringify(i))}function isAsyncIterable(i){return!!(i!=null&&typeof i[Symbol.asyncIterator]==="function")}function isIterable(i){return!!(i!=null&&(typeof i[Symbol.iterator]==="function"||typeof i[Symbol.asyncIterator]==="function"))}function bodyLength(i){if(i==null){return 0}else if(isStream(i)){const d=i._readableState;return d&&d.objectMode===false&&d.ended===true&&Number.isFinite(d.length)?d.length:null}else if(isBlobLike(i)){return i.size!=null?i.size:null}else if(isBuffer(i)){return i.byteLength}return null}function isDestroyed(i){return i&&!!(i.destroyed||i[V]||ne.isDestroyed?.(i))}function destroy(i,d){if(i==null||!isStream(i)||isDestroyed(i)){return}if(typeof i.destroy==="function"){if(Object.getPrototypeOf(i).constructor===re){i.socket=null}i.destroy(d)}else if(d){queueMicrotask((()=>{i.emit("error",d)}))}if(i.destroyed!==true){i[V]=true}}const fe=/timeout=(\d+)/;function parseKeepAliveTimeout(i){const d=i.toString().match(fe);return d?parseInt(d[1],10)*1e3:null}function headerNameToString(i){return typeof i==="string"?le[i]??i.toLowerCase():ue.lookup(i)??i.toString("latin1").toLowerCase()}function bufferToLowerCasedHeaderName(i){return ue.lookup(i)??i.toString("latin1").toLowerCase()}function parseHeaders(i,d){if(d===undefined)d={};for(let p=0;pi.toString("utf8"))):V.toString("utf8")}}}if("content-length"in d&&"content-disposition"in d){d["content-disposition"]=Buffer.from(d["content-disposition"]).toString("latin1")}return d}function parseRawHeaders(i){const d=i.length;const p=new Array(d);let v=false;let V=-1;let K;let ee;let te=0;for(let d=0;d{i.close();i.byobRequest?.respond(0)}))}else{const d=Buffer.isBuffer(v)?v:Buffer.from(v);if(d.byteLength){i.enqueue(new Uint8Array(d))}}return i.desiredSize>0},async cancel(i){await d.return()},type:"bytes"})}function isFormDataLike(i){return i&&typeof i==="object"&&typeof i.append==="function"&&typeof i.delete==="function"&&typeof i.get==="function"&&typeof i.getAll==="function"&&typeof i.has==="function"&&typeof i.set==="function"&&i[Symbol.toStringTag]==="FormData"}function addAbortListener(i,d){if("addEventListener"in i){i.addEventListener("abort",d,{once:true});return()=>i.removeEventListener("abort",d)}i.addListener("abort",d);return()=>i.removeListener("abort",d)}const ge=typeof String.prototype.toWellFormed==="function";const pe=typeof String.prototype.isWellFormed==="function";function toUSVString(i){return ge?`${i}`.toWellFormed():oe.toUSVString(i)}function isUSVString(i){return pe?`${i}`.isWellFormed():toUSVString(i)===`${i}`}function isTokenCharCode(i){switch(i){case 34:case 40:case 41:case 44:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 123:case 125:return false;default:return i>=33&&i<=126}}function isValidHTTPToken(i){if(i.length===0){return false}for(let d=0;d{const{InvalidArgumentError:v}=p(48091);const{kClients:V,kRunning:K,kClose:ee,kDestroy:te,kDispatch:re,kInterceptors:ne}=p(99411);const se=p(44745);const ie=p(27404);const oe=p(43069);const ae=p(31544);const Ae=p(21676);const ce=Symbol("onConnect");const le=Symbol("onDisconnect");const ue=Symbol("onConnectionError");const de=Symbol("maxRedirections");const he=Symbol("onDrain");const fe=Symbol("factory");const ge=Symbol("options");function defaultFactory(i,d){return d&&d.connections===1?new oe(i,d):new ie(i,d)}class Agent extends se{constructor({factory:i=defaultFactory,maxRedirections:d=0,connect:p,...K}={}){super();if(typeof i!=="function"){throw new v("factory must be a function.")}if(p!=null&&typeof p!=="function"&&typeof p!=="object"){throw new v("connect must be a function or an object")}if(!Number.isInteger(d)||d<0){throw new v("maxRedirections must be a positive number")}if(p&&typeof p!=="function"){p={...p}}this[ne]=K.interceptors?.Agent&&Array.isArray(K.interceptors.Agent)?K.interceptors.Agent:[Ae({maxRedirections:d})];this[ge]={...ae.deepClone(K),connect:p};this[ge].interceptors=K.interceptors?{...K.interceptors}:undefined;this[de]=d;this[fe]=i;this[V]=new Map;this[he]=(i,d)=>{this.emit("drain",i,[this,...d])};this[ce]=(i,d)=>{this.emit("connect",i,[this,...d])};this[le]=(i,d,p)=>{this.emit("disconnect",i,[this,...d],p)};this[ue]=(i,d,p)=>{this.emit("connectionError",i,[this,...d],p)}}get[K](){let i=0;for(const d of this[V].values()){i+=d[K]}return i}[re](i,d){let p;if(i.origin&&(typeof i.origin==="string"||i.origin instanceof URL)){p=String(i.origin)}else{throw new v("opts.origin must be a non-empty string or URL.")}let K=this[V].get(p);if(!K){K=this[fe](i.origin,this[ge]).on("drain",this[he]).on("connect",this[ce]).on("disconnect",this[le]).on("connectionError",this[ue]);this[V].set(p,K)}return K.dispatch(i,d)}async[ee](){const i=[];for(const d of this[V].values()){i.push(d.close())}this[V].clear();await Promise.all(i)}async[te](i){const d=[];for(const p of this[V].values()){d.push(p.destroy(i))}this[V].clear();await Promise.all(d)}}i.exports=Agent},48973:(i,d,p)=>{const{BalancedPoolMissingUpstreamError:v,InvalidArgumentError:V}=p(48091);const{PoolBase:K,kClients:ee,kNeedDrain:te,kAddClient:re,kRemoveClient:ne,kGetDispatcher:se}=p(93272);const ie=p(27404);const{kUrl:oe,kInterceptors:ae}=p(99411);const{parseOrigin:Ae}=p(31544);const ce=Symbol("factory");const le=Symbol("options");const ue=Symbol("kGreatestCommonDivisor");const de=Symbol("kCurrentWeight");const he=Symbol("kIndex");const fe=Symbol("kWeight");const ge=Symbol("kMaxWeightPerServer");const pe=Symbol("kErrorPenalty");function getGreatestCommonDivisor(i,d){if(i===0)return d;while(d!==0){const p=d;d=i%d;i=p}return i}function defaultFactory(i,d){return new ie(i,d)}class BalancedPool extends K{constructor(i=[],{factory:d=defaultFactory,...p}={}){super();this[le]=p;this[he]=-1;this[de]=0;this[ge]=this[le].maxWeightPerServer||100;this[pe]=this[le].errorPenalty||15;if(!Array.isArray(i)){i=[i]}if(typeof d!=="function"){throw new V("factory must be a function.")}this[ae]=p.interceptors?.BalancedPool&&Array.isArray(p.interceptors.BalancedPool)?p.interceptors.BalancedPool:[];this[ce]=d;for(const d of i){this.addUpstream(d)}this._updateBalancedPoolStats()}addUpstream(i){const d=Ae(i).origin;if(this[ee].find((i=>i[oe].origin===d&&i.closed!==true&&i.destroyed!==true))){return this}const p=this[ce](d,Object.assign({},this[le]));this[re](p);p.on("connect",(()=>{p[fe]=Math.min(this[ge],p[fe]+this[pe])}));p.on("connectionError",(()=>{p[fe]=Math.max(1,p[fe]-this[pe]);this._updateBalancedPoolStats()}));p.on("disconnect",((...i)=>{const d=i[2];if(d&&d.code==="UND_ERR_SOCKET"){p[fe]=Math.max(1,p[fe]-this[pe]);this._updateBalancedPoolStats()}}));for(const i of this[ee]){i[fe]=this[ge]}this._updateBalancedPoolStats();return this}_updateBalancedPoolStats(){let i=0;for(let d=0;di[oe].origin===d&&i.closed!==true&&i.destroyed!==true));if(p){this[ne](p)}return this}get upstreams(){return this[ee].filter((i=>i.closed!==true&&i.destroyed!==true)).map((i=>i[oe].origin))}[se](){if(this[ee].length===0){throw new v}const i=this[ee].find((i=>!i[te]&&i.closed!==true&&i.destroyed!==true));if(!i){return}const d=this[ee].map((i=>i[te])).reduce(((i,d)=>i&&d),true);if(d){return}let p=0;let V=this[ee].findIndex((i=>!i[te]));while(p++this[ee][V][fe]&&!i[te]){V=this[he]}if(this[he]===0){this[de]=this[de]-this[ue];if(this[de]<=0){this[de]=this[ge]}}if(i[fe]>=this[de]&&!i[te]){return i}}this[de]=this[ee][V][fe];this[he]=V;return this[ee][V]}}i.exports=BalancedPool},81557:(i,d,p)=>{const v=p(34589);const V=p(31544);const{channels:K}=p(78150);const ee=p(92563);const{RequestContentLengthMismatchError:te,ResponseContentLengthMismatchError:re,RequestAbortedError:ne,HeadersTimeoutError:se,HeadersOverflowError:ie,SocketError:oe,InformationalError:ae,BodyTimeoutError:Ae,HTTPParserError:ce,ResponseExceededMaxSizeError:le}=p(48091);const{kUrl:ue,kReset:de,kClient:he,kParser:fe,kBlocking:ge,kRunning:pe,kPending:me,kSize:Ee,kWriting:Ce,kQueue:ye,kNoRef:Ie,kKeepAliveDefaultTimeout:Be,kHostHeader:Qe,kPendingIdx:be,kRunningIdx:we,kError:Se,kPipelining:Re,kSocket:ve,kKeepAliveTimeoutValue:ke,kMaxHeadersSize:Te,kKeepAliveMaxTimeout:Ne,kKeepAliveTimeoutThreshold:De,kHeadersTimeout:xe,kBodyTimeout:Fe,kStrictContentLength:Pe,kMaxRequests:Le,kCounter:_e,kMaxResponseSize:Me,kOnError:Ue,kResume:Oe,kHTTPContext:He}=p(99411);const Ge=p(67424);const Ve=Buffer.alloc(0);const qe=Buffer[Symbol.species];const Ye=V.addListener;const je=V.removeAllListeners;let Je;async function lazyllhttp(){const i=process.env.JEST_WORKER_ID?p(87846):undefined;let d;try{d=await WebAssembly.compile(p(9474))}catch(v){d=await WebAssembly.compile(i||p(87846))}return await WebAssembly.instantiate(d,{env:{wasm_on_url:(i,d,p)=>0,wasm_on_status:(i,d,p)=>{v($e.ptr===i);const V=d-Ze+Ke.byteOffset;return $e.onStatus(new qe(Ke.buffer,V,p))||0},wasm_on_message_begin:i=>{v($e.ptr===i);return $e.onMessageBegin()||0},wasm_on_header_field:(i,d,p)=>{v($e.ptr===i);const V=d-Ze+Ke.byteOffset;return $e.onHeaderField(new qe(Ke.buffer,V,p))||0},wasm_on_header_value:(i,d,p)=>{v($e.ptr===i);const V=d-Ze+Ke.byteOffset;return $e.onHeaderValue(new qe(Ke.buffer,V,p))||0},wasm_on_headers_complete:(i,d,p,V)=>{v($e.ptr===i);return $e.onHeadersComplete(d,Boolean(p),Boolean(V))||0},wasm_on_body:(i,d,p)=>{v($e.ptr===i);const V=d-Ze+Ke.byteOffset;return $e.onBody(new qe(Ke.buffer,V,p))||0},wasm_on_message_complete:i=>{v($e.ptr===i);return $e.onMessageComplete()||0}}})}let We=null;let ze=lazyllhttp();ze.catch();let $e=null;let Ke=null;let Xe=0;let Ze=null;const At=0;const mt=1;const Et=2|mt;const Ct=4|mt;const yt=8|At;class Parser{constructor(i,d,{exports:p}){v(Number.isFinite(i[Te])&&i[Te]>0);this.llhttp=p;this.ptr=this.llhttp.llhttp_alloc(Ge.TYPE.RESPONSE);this.client=i;this.socket=d;this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.statusCode=null;this.statusText="";this.upgrade=false;this.headers=[];this.headersSize=0;this.headersMaxSize=i[Te];this.shouldKeepAlive=false;this.paused=false;this.resume=this.resume.bind(this);this.bytesRead=0;this.keepAlive="";this.contentLength="";this.connection="";this.maxResponseSize=i[Me]}setTimeout(i,d){if(i!==this.timeoutValue||d&mt^this.timeoutType&mt){if(this.timeout){ee.clearTimeout(this.timeout);this.timeout=null}if(i){if(d&mt){this.timeout=ee.setFastTimeout(onParserTimeout,i,new WeakRef(this))}else{this.timeout=setTimeout(onParserTimeout,i,new WeakRef(this));this.timeout.unref()}}this.timeoutValue=i}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.timeoutType=d}resume(){if(this.socket.destroyed||!this.paused){return}v(this.ptr!=null);v($e==null);this.llhttp.llhttp_resume(this.ptr);v(this.timeoutType===Ct);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.paused=false;this.execute(this.socket.read()||Ve);this.readMore()}readMore(){while(!this.paused&&this.ptr){const i=this.socket.read();if(i===null){break}this.execute(i)}}execute(i){v(this.ptr!=null);v($e==null);v(!this.paused);const{socket:d,llhttp:p}=this;if(i.length>Xe){if(Ze){p.free(Ze)}Xe=Math.ceil(i.length/4096)*4096;Ze=p.malloc(Xe)}new Uint8Array(p.memory.buffer,Ze,Xe).set(i);try{let v;try{Ke=i;$e=this;v=p.llhttp_execute(this.ptr,Ze,i.length)}catch(i){throw i}finally{$e=null;Ke=null}const V=p.llhttp_get_error_pos(this.ptr)-Ze;if(v===Ge.ERROR.PAUSED_UPGRADE){this.onUpgrade(i.slice(V))}else if(v===Ge.ERROR.PAUSED){this.paused=true;d.unshift(i.slice(V))}else if(v!==Ge.ERROR.OK){const d=p.llhttp_get_error_reason(this.ptr);let K="";if(d){const i=new Uint8Array(p.memory.buffer,d).indexOf(0);K="Response does not match the HTTP/1.1 protocol ("+Buffer.from(p.memory.buffer,d,i).toString()+")"}throw new ce(K,Ge.ERROR[v],i.slice(V))}}catch(i){V.destroy(d,i)}}destroy(){v(this.ptr!=null);v($e==null);this.llhttp.llhttp_free(this.ptr);this.ptr=null;this.timeout&&ee.clearTimeout(this.timeout);this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.paused=false}onStatus(i){this.statusText=i.toString()}onMessageBegin(){const{socket:i,client:d}=this;if(i.destroyed){return-1}const p=d[ye][d[we]];if(!p){return-1}p.onResponseStarted()}onHeaderField(i){const d=this.headers.length;if((d&1)===0){this.headers.push(i)}else{this.headers[d-1]=Buffer.concat([this.headers[d-1],i])}this.trackHeader(i.length)}onHeaderValue(i){let d=this.headers.length;if((d&1)===1){this.headers.push(i);d+=1}else{this.headers[d-1]=Buffer.concat([this.headers[d-1],i])}const p=this.headers[d-2];if(p.length===10){const d=V.bufferToLowerCasedHeaderName(p);if(d==="keep-alive"){this.keepAlive+=i.toString()}else if(d==="connection"){this.connection+=i.toString()}}else if(p.length===14&&V.bufferToLowerCasedHeaderName(p)==="content-length"){this.contentLength+=i.toString()}this.trackHeader(i.length)}trackHeader(i){this.headersSize+=i;if(this.headersSize>=this.headersMaxSize){V.destroy(this.socket,new ie)}}onUpgrade(i){const{upgrade:d,client:p,socket:K,headers:ee,statusCode:te}=this;v(d);v(p[ve]===K);v(!K.destroyed);v(!this.paused);v((ee.length&1)===0);const re=p[ye][p[we]];v(re);v(re.upgrade||re.method==="CONNECT");this.statusCode=null;this.statusText="";this.shouldKeepAlive=null;this.headers=[];this.headersSize=0;K.unshift(i);K[fe].destroy();K[fe]=null;K[he]=null;K[Se]=null;je(K);p[ve]=null;p[He]=null;p[ye][p[we]++]=null;p.emit("disconnect",p[ue],[p],new ae("upgrade"));try{re.onUpgrade(te,ee,K)}catch(i){V.destroy(K,i)}p[Oe]()}onHeadersComplete(i,d,p){const{client:K,socket:ee,headers:te,statusText:re}=this;if(ee.destroyed){return-1}const ne=K[ye][K[we]];if(!ne){return-1}v(!this.upgrade);v(this.statusCode<200);if(i===100){V.destroy(ee,new oe("bad response",V.getSocketInfo(ee)));return-1}if(d&&!ne.upgrade){V.destroy(ee,new oe("bad upgrade",V.getSocketInfo(ee)));return-1}v(this.timeoutType===Et);this.statusCode=i;this.shouldKeepAlive=p||ne.method==="HEAD"&&!ee[de]&&this.connection.toLowerCase()==="keep-alive";if(this.statusCode>=200){const i=ne.bodyTimeout!=null?ne.bodyTimeout:K[Fe];this.setTimeout(i,Ct)}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}if(ne.method==="CONNECT"){v(K[pe]===1);this.upgrade=true;return 2}if(d){v(K[pe]===1);this.upgrade=true;return 2}v((this.headers.length&1)===0);this.headers=[];this.headersSize=0;if(this.shouldKeepAlive&&K[Re]){const i=this.keepAlive?V.parseKeepAliveTimeout(this.keepAlive):null;if(i!=null){const d=Math.min(i-K[De],K[Ne]);if(d<=0){ee[de]=true}else{K[ke]=d}}else{K[ke]=K[Be]}}else{ee[de]=true}const se=ne.onHeaders(i,te,this.resume,re)===false;if(ne.aborted){return-1}if(ne.method==="HEAD"){return 1}if(i<200){return 1}if(ee[ge]){ee[ge]=false;K[Oe]()}return se?Ge.ERROR.PAUSED:0}onBody(i){const{client:d,socket:p,statusCode:K,maxResponseSize:ee}=this;if(p.destroyed){return-1}const te=d[ye][d[we]];v(te);v(this.timeoutType===Ct);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}v(K>=200);if(ee>-1&&this.bytesRead+i.length>ee){V.destroy(p,new le);return-1}this.bytesRead+=i.length;if(te.onData(i)===false){return Ge.ERROR.PAUSED}}onMessageComplete(){const{client:i,socket:d,statusCode:p,upgrade:K,headers:ee,contentLength:te,bytesRead:ne,shouldKeepAlive:se}=this;if(d.destroyed&&(!p||se)){return-1}if(K){return}v(p>=100);v((this.headers.length&1)===0);const ie=i[ye][i[we]];v(ie);this.statusCode=null;this.statusText="";this.bytesRead=0;this.contentLength="";this.keepAlive="";this.connection="";this.headers=[];this.headersSize=0;if(p<200){return}if(ie.method!=="HEAD"&&te&&ne!==parseInt(te,10)){V.destroy(d,new re);return-1}ie.onComplete(ee);i[ye][i[we]++]=null;if(d[Ce]){v(i[pe]===0);V.destroy(d,new ae("reset"));return Ge.ERROR.PAUSED}else if(!se){V.destroy(d,new ae("reset"));return Ge.ERROR.PAUSED}else if(d[de]&&i[pe]===0){V.destroy(d,new ae("reset"));return Ge.ERROR.PAUSED}else if(i[Re]==null||i[Re]===1){setImmediate((()=>i[Oe]()))}else{i[Oe]()}}}function onParserTimeout(i){const{socket:d,timeoutType:p,client:K,paused:ee}=i.deref();if(p===Et){if(!d[Ce]||d.writableNeedDrain||K[pe]>1){v(!ee,"cannot be paused while waiting for headers");V.destroy(d,new se)}}else if(p===Ct){if(!ee){V.destroy(d,new Ae)}}else if(p===yt){v(K[pe]===0&&K[ke]);V.destroy(d,new ae("socket idle timeout"))}}async function connectH1(i,d){i[ve]=d;if(!We){We=await ze;ze=null}d[Ie]=false;d[Ce]=false;d[de]=false;d[ge]=false;d[fe]=new Parser(i,d,We);Ye(d,"error",(function(i){v(i.code!=="ERR_TLS_CERT_ALTNAME_INVALID");const d=this[fe];if(i.code==="ECONNRESET"&&d.statusCode&&!d.shouldKeepAlive){d.onMessageComplete();return}this[Se]=i;this[he][Ue](i)}));Ye(d,"readable",(function(){const i=this[fe];if(i){i.readMore()}}));Ye(d,"end",(function(){const i=this[fe];if(i.statusCode&&!i.shouldKeepAlive){i.onMessageComplete();return}V.destroy(this,new oe("other side closed",V.getSocketInfo(this)))}));Ye(d,"close",(function(){const i=this[he];const d=this[fe];if(d){if(!this[Se]&&d.statusCode&&!d.shouldKeepAlive){d.onMessageComplete()}this[fe].destroy();this[fe]=null}const p=this[Se]||new oe("closed",V.getSocketInfo(this));i[ve]=null;i[He]=null;if(i.destroyed){v(i[me]===0);const d=i[ye].splice(i[we]);for(let v=0;v0&&p.code!=="UND_ERR_INFO"){const d=i[ye][i[we]];i[ye][i[we]++]=null;V.errorRequest(i,d,p)}i[be]=i[we];v(i[pe]===0);i.emit("disconnect",i[ue],[i],p);i[Oe]()}));let p=false;d.on("close",(()=>{p=true}));return{version:"h1",defaultPipelining:1,write(...d){return writeH1(i,...d)},resume(){resumeH1(i)},destroy(i,v){if(p){queueMicrotask(v)}else{d.destroy(i).on("close",v)}},get destroyed(){return d.destroyed},busy(p){if(d[Ce]||d[de]||d[ge]){return true}if(p){if(i[pe]>0&&!p.idempotent){return true}if(i[pe]>0&&(p.upgrade||p.method==="CONNECT")){return true}if(i[pe]>0&&V.bodyLength(p.body)!==0&&(V.isStream(p.body)||V.isAsyncIterable(p.body)||V.isFormDataLike(p.body))){return true}}return false}}}function resumeH1(i){const d=i[ve];if(d&&!d.destroyed){if(i[Ee]===0){if(!d[Ie]&&d.unref){d.unref();d[Ie]=true}}else if(d[Ie]&&d.ref){d.ref();d[Ie]=false}if(i[Ee]===0){if(d[fe].timeoutType!==yt){d[fe].setTimeout(i[ke],yt)}}else if(i[pe]>0&&d[fe].statusCode<200){if(d[fe].timeoutType!==Et){const p=i[ye][i[we]];const v=p.headersTimeout!=null?p.headersTimeout:i[xe];d[fe].setTimeout(v,Et)}}}}function shouldSendContentLength(i){return i!=="GET"&&i!=="HEAD"&&i!=="OPTIONS"&&i!=="TRACE"&&i!=="CONNECT"}function writeH1(i,d){const{method:ee,path:re,host:se,upgrade:ie,blocking:oe,reset:Ae}=d;let{body:ce,headers:le,contentLength:ue}=d;const he=ee==="PUT"||ee==="POST"||ee==="PATCH"||ee==="QUERY"||ee==="PROPFIND"||ee==="PROPPATCH";if(V.isFormDataLike(ce)){if(!Je){Je=p(18900).extractBody}const[i,v]=Je(ce);if(d.contentType==null){le.push("content-type",v)}ce=i.stream;ue=i.length}else if(V.isBlobLike(ce)&&d.contentType==null&&ce.type){le.push("content-type",ce.type)}if(ce&&typeof ce.read==="function"){ce.read(0)}const fe=V.bodyLength(ce);ue=fe??ue;if(ue===null){ue=d.contentLength}if(ue===0&&!he){ue=null}if(shouldSendContentLength(ee)&&ue>0&&d.contentLength!==null&&d.contentLength!==ue){if(i[Pe]){V.errorRequest(i,d,new te);return false}process.emitWarning(new te)}const pe=i[ve];const abort=p=>{if(d.aborted||d.completed){return}V.errorRequest(i,d,p||new ne);V.destroy(ce);V.destroy(pe,new ae("aborted"))};try{d.onConnect(abort)}catch(p){V.errorRequest(i,d,p)}if(d.aborted){return false}if(ee==="HEAD"){pe[de]=true}if(ie||ee==="CONNECT"){pe[de]=true}if(Ae!=null){pe[de]=Ae}if(i[Le]&&pe[_e]++>=i[Le]){pe[de]=true}if(oe){pe[ge]=true}let me=`${ee} ${re} HTTP/1.1\r\n`;if(typeof se==="string"){me+=`host: ${se}\r\n`}else{me+=i[Qe]}if(ie){me+=`connection: upgrade\r\nupgrade: ${ie}\r\n`}else if(i[Re]&&!pe[de]){me+="connection: keep-alive\r\n"}else{me+="connection: close\r\n"}if(Array.isArray(le)){for(let i=0;i{d.removeListener("error",onFinished)}));if(!ie){const i=new ne;queueMicrotask((()=>onFinished(i)))}};const onFinished=function(i){if(ie){return}ie=true;v(ee.destroyed||ee[Ce]&&p[pe]<=1);ee.off("drain",onDrain).off("error",onFinished);d.removeListener("data",onData).removeListener("end",onFinished).removeListener("close",onClose);if(!i){try{oe.end()}catch(d){i=d}}oe.destroy(i);if(i&&(i.code!=="UND_ERR_INFO"||i.message!=="reset")){V.destroy(d,i)}else{V.destroy(d)}};d.on("data",onData).on("end",onFinished).on("error",onFinished).on("close",onClose);if(d.resume){d.resume()}ee.on("drain",onDrain).on("error",onFinished);if(d.errorEmitted??d.errored){setImmediate((()=>onFinished(d.errored)))}else if(d.endEmitted??d.readableEnded){setImmediate((()=>onFinished(null)))}if(d.closeEmitted??d.closed){setImmediate(onClose)}}function writeBuffer(i,d,p,K,ee,te,re,ne){try{if(!d){if(te===0){ee.write(`${re}content-length: 0\r\n\r\n`,"latin1")}else{v(te===null,"no body must not have content length");ee.write(`${re}\r\n`,"latin1")}}else if(V.isBuffer(d)){v(te===d.byteLength,"buffer body must have content length");ee.cork();ee.write(`${re}content-length: ${te}\r\n\r\n`,"latin1");ee.write(d);ee.uncork();K.onBodySent(d);if(!ne&&K.reset!==false){ee[de]=true}}K.onRequestSent();p[Oe]()}catch(d){i(d)}}async function writeBlob(i,d,p,V,K,ee,re,ne){v(ee===d.size,"blob body must have content length");try{if(ee!=null&&ee!==d.size){throw new te}const i=Buffer.from(await d.arrayBuffer());K.cork();K.write(`${re}content-length: ${ee}\r\n\r\n`,"latin1");K.write(i);K.uncork();V.onBodySent(i);V.onRequestSent();if(!ne&&V.reset!==false){K[de]=true}p[Oe]()}catch(d){i(d)}}async function writeIterable(i,d,p,V,K,ee,te,re){v(ee!==0||p[pe]===0,"iterator body cannot be pipelined");let ne=null;function onDrain(){if(ne){const i=ne;ne=null;i()}}const waitForDrain=()=>new Promise(((i,d)=>{v(ne===null);if(K[Se]){d(K[Se])}else{ne=i}}));K.on("close",onDrain).on("drain",onDrain);const se=new AsyncWriter({abort:i,socket:K,request:V,contentLength:ee,client:p,expectsPayload:re,header:te});try{for await(const i of d){if(K[Se]){throw K[Se]}if(!se.write(i)){await waitForDrain()}}se.end()}catch(i){se.destroy(i)}finally{K.off("close",onDrain).off("drain",onDrain)}}class AsyncWriter{constructor({abort:i,socket:d,request:p,contentLength:v,client:V,expectsPayload:K,header:ee}){this.socket=d;this.request=p;this.contentLength=v;this.client=V;this.bytesWritten=0;this.expectsPayload=K;this.header=ee;this.abort=i;d[Ce]=true}write(i){const{socket:d,request:p,contentLength:v,client:V,bytesWritten:K,expectsPayload:ee,header:re}=this;if(d[Se]){throw d[Se]}if(d.destroyed){return false}const ne=Buffer.byteLength(i);if(!ne){return true}if(v!==null&&K+ne>v){if(V[Pe]){throw new te}process.emitWarning(new te)}d.cork();if(K===0){if(!ee&&p.reset!==false){d[de]=true}if(v===null){d.write(`${re}transfer-encoding: chunked\r\n`,"latin1")}else{d.write(`${re}content-length: ${v}\r\n\r\n`,"latin1")}}if(v===null){d.write(`\r\n${ne.toString(16)}\r\n`,"latin1")}this.bytesWritten+=ne;const se=d.write(i);d.uncork();p.onBodySent(i);if(!se){if(d[fe].timeout&&d[fe].timeoutType===Et){if(d[fe].timeout.refresh){d[fe].timeout.refresh()}}}return se}end(){const{socket:i,contentLength:d,client:p,bytesWritten:v,expectsPayload:V,header:K,request:ee}=this;ee.onRequestSent();i[Ce]=false;if(i[Se]){throw i[Se]}if(i.destroyed){return}if(v===0){if(V){i.write(`${K}content-length: 0\r\n\r\n`,"latin1")}else{i.write(`${K}\r\n`,"latin1")}}else if(d===null){i.write("\r\n0\r\n\r\n","latin1")}if(d!==null&&v!==d){if(p[Pe]){throw new te}else{process.emitWarning(new te)}}if(i[fe].timeout&&i[fe].timeoutType===Et){if(i[fe].timeout.refresh){i[fe].timeout.refresh()}}p[Oe]()}destroy(i){const{socket:d,client:p,abort:V}=this;d[Ce]=false;if(i){v(p[pe]<=1,"pipeline should only contain this request");V(i)}}}i.exports=connectH1},94092:(i,d,p)=>{const v=p(34589);const{pipeline:V}=p(57075);const K=p(31544);const{RequestContentLengthMismatchError:ee,RequestAbortedError:te,SocketError:re,InformationalError:ne}=p(48091);const{kUrl:se,kReset:ie,kClient:oe,kRunning:ae,kPending:Ae,kQueue:ce,kPendingIdx:le,kRunningIdx:ue,kError:de,kSocket:he,kStrictContentLength:fe,kOnError:ge,kMaxConcurrentStreams:pe,kHTTP2Session:me,kResume:Ee,kSize:Ce,kHTTPContext:ye}=p(99411);const Ie=Symbol("open streams");let Be;let Qe=false;let be;try{be=p(32467)}catch{be={constants:{}}}const{constants:{HTTP2_HEADER_AUTHORITY:we,HTTP2_HEADER_METHOD:Se,HTTP2_HEADER_PATH:Re,HTTP2_HEADER_SCHEME:ve,HTTP2_HEADER_CONTENT_LENGTH:ke,HTTP2_HEADER_EXPECT:Te,HTTP2_HEADER_STATUS:Ne}}=be;function parseH2Headers(i){const d=[];for(const[p,v]of Object.entries(i)){if(Array.isArray(v)){for(const i of v){d.push(Buffer.from(p),Buffer.from(i))}}else{d.push(Buffer.from(p),Buffer.from(v))}}return d}async function connectH2(i,d){i[he]=d;if(!Qe){Qe=true;process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"})}const p=be.connect(i[se],{createConnection:()=>d,peerMaxConcurrentStreams:i[pe]});p[Ie]=0;p[oe]=i;p[he]=d;K.addListener(p,"error",onHttp2SessionError);K.addListener(p,"frameError",onHttp2FrameError);K.addListener(p,"end",onHttp2SessionEnd);K.addListener(p,"goaway",onHTTP2GoAway);K.addListener(p,"close",(function(){const{[oe]:i}=this;const{[he]:d}=i;const p=this[he][de]||this[de]||new re("closed",K.getSocketInfo(d));i[me]=null;if(i.destroyed){v(i[Ae]===0);const d=i[ce].splice(i[ue]);for(let v=0;v{V=true}));return{version:"h2",defaultPipelining:Infinity,write(...d){return writeH2(i,...d)},resume(){resumeH2(i)},destroy(i,p){if(V){queueMicrotask(p)}else{d.destroy(i).on("close",p)}},get destroyed(){return d.destroyed},busy(){return false}}}function resumeH2(i){const d=i[he];if(d?.destroyed===false){if(i[Ce]===0&&i[pe]===0){d.unref();i[me].unref()}else{d.ref();i[me].ref()}}}function onHttp2SessionError(i){v(i.code!=="ERR_TLS_CERT_ALTNAME_INVALID");this[he][de]=i;this[oe][ge](i)}function onHttp2FrameError(i,d,p){if(p===0){const p=new ne(`HTTP/2: "frameError" received - type ${i}, code ${d}`);this[he][de]=p;this[oe][ge](p)}}function onHttp2SessionEnd(){const i=new re("other side closed",K.getSocketInfo(this[he]));this.destroy(i);K.destroy(this[he],i)}function onHTTP2GoAway(i){const d=this[de]||new re(`HTTP/2: "GOAWAY" frame received with code ${i}`,K.getSocketInfo(this));const p=this[oe];p[he]=null;p[ye]=null;if(this[me]!=null){this[me].destroy(d);this[me]=null}K.destroy(this[he],d);if(p[ue]{if(d.aborted||d.completed){return}p=p||new te;K.errorRequest(i,d,p);if(ye!=null){K.destroy(ye,p)}K.destroy(pe,p);i[ce][i[ue]++]=null;i[Ee]()};try{d.onConnect(abort)}catch(p){K.errorRequest(i,d,p)}if(d.aborted){return false}if(re==="CONNECT"){V.ref();ye=V.request(Ce,{endStream:false,signal:de});if(ye.id&&!ye.pending){d.onUpgrade(null,null,ye);++V[Ie];i[ce][i[ue]++]=null}else{ye.once("ready",(()=>{d.onUpgrade(null,null,ye);++V[Ie];i[ce][i[ue]++]=null}))}ye.once("close",(()=>{V[Ie]-=1;if(V[Ie]===0)V.unref()}));return true}Ce[Re]=ie;Ce[ve]="https";const De=re==="PUT"||re==="POST"||re==="PATCH";if(pe&&typeof pe.read==="function"){pe.read(0)}let xe=K.bodyLength(pe);if(K.isFormDataLike(pe)){Be??=p(18900).extractBody;const[i,d]=Be(pe);Ce["content-type"]=d;pe=i.stream;xe=i.length}if(xe==null){xe=d.contentLength}if(xe===0||!De){xe=null}if(shouldSendContentLength(re)&&xe>0&&d.contentLength!=null&&d.contentLength!==xe){if(i[fe]){K.errorRequest(i,d,new ee);return false}process.emitWarning(new ee)}if(xe!=null){v(pe,"no body must not have content length");Ce[ke]=`${xe}`}V.ref();const Fe=re==="GET"||re==="HEAD"||pe===null;if(Ae){Ce[Te]="100-continue";ye=V.request(Ce,{endStream:Fe,signal:de});ye.once("continue",writeBodyH2)}else{ye=V.request(Ce,{endStream:Fe,signal:de});writeBodyH2()}++V[Ie];ye.once("response",(p=>{const{[Ne]:v,...V}=p;d.onResponseStarted();if(d.aborted){const p=new te;K.errorRequest(i,d,p);K.destroy(ye,p);return}if(d.onHeaders(Number(v),parseH2Headers(V),ye.resume.bind(ye),"")===false){ye.pause()}ye.on("data",(i=>{if(d.onData(i)===false){ye.pause()}}))}));ye.once("end",(()=>{if(ye.state?.state==null||ye.state.state<6){d.onComplete([])}if(V[Ie]===0){V.unref()}abort(new ne("HTTP/2: stream half-closed (remote)"));i[ce][i[ue]++]=null;i[le]=i[ue];i[Ee]()}));ye.once("close",(()=>{V[Ie]-=1;if(V[Ie]===0){V.unref()}}));ye.once("error",(function(i){abort(i)}));ye.once("frameError",((i,d)=>{abort(new ne(`HTTP/2: "frameError" received - type ${i}, code ${d}`))}));return true;function writeBodyH2(){if(!pe||xe===0){writeBuffer(abort,ye,null,i,d,i[he],xe,De)}else if(K.isBuffer(pe)){writeBuffer(abort,ye,pe,i,d,i[he],xe,De)}else if(K.isBlobLike(pe)){if(typeof pe.stream==="function"){writeIterable(abort,ye,pe.stream(),i,d,i[he],xe,De)}else{writeBlob(abort,ye,pe,i,d,i[he],xe,De)}}else if(K.isStream(pe)){writeStream(abort,i[he],De,ye,pe,i,d,xe)}else if(K.isIterable(pe)){writeIterable(abort,ye,pe,i,d,i[he],xe,De)}else{v(false)}}}function writeBuffer(i,d,p,V,ee,te,re,ne){try{if(p!=null&&K.isBuffer(p)){v(re===p.byteLength,"buffer body must have content length");d.cork();d.write(p);d.uncork();d.end();ee.onBodySent(p)}if(!ne){te[ie]=true}ee.onRequestSent();V[Ee]()}catch(d){i(d)}}function writeStream(i,d,p,ee,te,re,ne,se){v(se!==0||re[ae]===0,"stream body cannot be pipelined");const oe=V(te,ee,(v=>{if(v){K.destroy(oe,v);i(v)}else{K.removeAllListeners(oe);ne.onRequestSent();if(!p){d[ie]=true}re[Ee]()}}));K.addListener(oe,"data",onPipeData);function onPipeData(i){ne.onBodySent(i)}}async function writeBlob(i,d,p,V,K,te,re,ne){v(re===p.size,"blob body must have content length");try{if(re!=null&&re!==p.size){throw new ee}const i=Buffer.from(await p.arrayBuffer());d.cork();d.write(i);d.uncork();d.end();K.onBodySent(i);K.onRequestSent();if(!ne){te[ie]=true}V[Ee]()}catch(d){i(d)}}async function writeIterable(i,d,p,V,K,ee,te,re){v(te!==0||V[ae]===0,"iterator body cannot be pipelined");let ne=null;function onDrain(){if(ne){const i=ne;ne=null;i()}}const waitForDrain=()=>new Promise(((i,d)=>{v(ne===null);if(ee[de]){d(ee[de])}else{ne=i}}));d.on("close",onDrain).on("drain",onDrain);try{for await(const i of p){if(ee[de]){throw ee[de]}const p=d.write(i);K.onBodySent(i);if(!p){await waitForDrain()}}d.end();K.onRequestSent();if(!re){ee[ie]=true}V[Ee]()}catch(d){i(d)}finally{d.off("close",onDrain).off("drain",onDrain)}}i.exports=connectH2},43069:(i,d,p)=>{const v=p(34589);const V=p(77030);const K=p(37067);const ee=p(31544);const{channels:te}=p(78150);const re=p(98823);const ne=p(44745);const{InvalidArgumentError:se,InformationalError:ie,ClientDestroyedError:oe}=p(48091);const ae=p(72296);const{kUrl:Ae,kServerName:ce,kClient:le,kBusy:ue,kConnect:de,kResuming:he,kRunning:fe,kPending:ge,kSize:pe,kQueue:me,kConnected:Ee,kConnecting:Ce,kNeedDrain:ye,kKeepAliveDefaultTimeout:Ie,kHostHeader:Be,kPendingIdx:Qe,kRunningIdx:be,kError:we,kPipelining:Se,kKeepAliveTimeoutValue:Re,kMaxHeadersSize:ve,kKeepAliveMaxTimeout:ke,kKeepAliveTimeoutThreshold:Te,kHeadersTimeout:Ne,kBodyTimeout:De,kStrictContentLength:xe,kConnector:Fe,kMaxRedirections:Pe,kMaxRequests:Le,kCounter:_e,kClose:Me,kDestroy:Ue,kDispatch:Oe,kInterceptors:He,kLocalAddress:Ge,kMaxResponseSize:Ve,kOnError:qe,kHTTPContext:Ye,kMaxConcurrentStreams:je,kResume:Je}=p(99411);const We=p(81557);const ze=p(94092);let $e=false;const Ke=Symbol("kClosedResolve");const noop=()=>{};function getPipelining(i){return i[Se]??i[Ye]?.defaultPipelining??1}class Client extends ne{constructor(i,{interceptors:d,maxHeaderSize:p,headersTimeout:v,socketTimeout:te,requestTimeout:re,connectTimeout:ne,bodyTimeout:ie,idleTimeout:oe,keepAlive:le,keepAliveTimeout:ue,maxKeepAliveTimeout:de,keepAliveMaxTimeout:fe,keepAliveTimeoutThreshold:ge,socketPath:pe,pipelining:Ee,tls:Ce,strictContentLength:we,maxCachedSessions:_e,maxRedirections:Me,connect:Ue,maxRequestsPerClient:Oe,localAddress:We,maxResponseSize:ze,autoSelectFamily:Ze,autoSelectFamilyAttemptTimeout:At,maxConcurrentStreams:mt,allowH2:Et}={}){super();if(le!==undefined){throw new se("unsupported keepAlive, use pipelining=0 instead")}if(te!==undefined){throw new se("unsupported socketTimeout, use headersTimeout & bodyTimeout instead")}if(re!==undefined){throw new se("unsupported requestTimeout, use headersTimeout & bodyTimeout instead")}if(oe!==undefined){throw new se("unsupported idleTimeout, use keepAliveTimeout instead")}if(de!==undefined){throw new se("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead")}if(p!=null&&!Number.isFinite(p)){throw new se("invalid maxHeaderSize")}if(pe!=null&&typeof pe!=="string"){throw new se("invalid socketPath")}if(ne!=null&&(!Number.isFinite(ne)||ne<0)){throw new se("invalid connectTimeout")}if(ue!=null&&(!Number.isFinite(ue)||ue<=0)){throw new se("invalid keepAliveTimeout")}if(fe!=null&&(!Number.isFinite(fe)||fe<=0)){throw new se("invalid keepAliveMaxTimeout")}if(ge!=null&&!Number.isFinite(ge)){throw new se("invalid keepAliveTimeoutThreshold")}if(v!=null&&(!Number.isInteger(v)||v<0)){throw new se("headersTimeout must be a positive integer or zero")}if(ie!=null&&(!Number.isInteger(ie)||ie<0)){throw new se("bodyTimeout must be a positive integer or zero")}if(Ue!=null&&typeof Ue!=="function"&&typeof Ue!=="object"){throw new se("connect must be a function or an object")}if(Me!=null&&(!Number.isInteger(Me)||Me<0)){throw new se("maxRedirections must be a positive number")}if(Oe!=null&&(!Number.isInteger(Oe)||Oe<0)){throw new se("maxRequestsPerClient must be a positive number")}if(We!=null&&(typeof We!=="string"||V.isIP(We)===0)){throw new se("localAddress must be valid string IP address")}if(ze!=null&&(!Number.isInteger(ze)||ze<-1)){throw new se("maxResponseSize must be a positive number")}if(At!=null&&(!Number.isInteger(At)||At<-1)){throw new se("autoSelectFamilyAttemptTimeout must be a positive number")}if(Et!=null&&typeof Et!=="boolean"){throw new se("allowH2 must be a valid boolean value")}if(mt!=null&&(typeof mt!=="number"||mt<1)){throw new se("maxConcurrentStreams must be a positive integer, greater than 0")}if(typeof Ue!=="function"){Ue=ae({...Ce,maxCachedSessions:_e,allowH2:Et,socketPath:pe,timeout:ne,...Ze?{autoSelectFamily:Ze,autoSelectFamilyAttemptTimeout:At}:undefined,...Ue})}if(d?.Client&&Array.isArray(d.Client)){this[He]=d.Client;if(!$e){$e=true;process.emitWarning("Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.",{code:"UNDICI-CLIENT-INTERCEPTOR-DEPRECATED"})}}else{this[He]=[Xe({maxRedirections:Me})]}this[Ae]=ee.parseOrigin(i);this[Fe]=Ue;this[Se]=Ee!=null?Ee:1;this[ve]=p||K.maxHeaderSize;this[Ie]=ue==null?4e3:ue;this[ke]=fe==null?6e5:fe;this[Te]=ge==null?2e3:ge;this[Re]=this[Ie];this[ce]=null;this[Ge]=We!=null?We:null;this[he]=0;this[ye]=0;this[Be]=`host: ${this[Ae].hostname}${this[Ae].port?`:${this[Ae].port}`:""}\r\n`;this[De]=ie!=null?ie:3e5;this[Ne]=v!=null?v:3e5;this[xe]=we==null?true:we;this[Pe]=Me;this[Le]=Oe;this[Ke]=null;this[Ve]=ze>-1?ze:-1;this[je]=mt!=null?mt:100;this[Ye]=null;this[me]=[];this[be]=0;this[Qe]=0;this[Je]=i=>resume(this,i);this[qe]=i=>onError(this,i)}get pipelining(){return this[Se]}set pipelining(i){this[Se]=i;this[Je](true)}get[ge](){return this[me].length-this[Qe]}get[fe](){return this[Qe]-this[be]}get[pe](){return this[me].length-this[be]}get[Ee](){return!!this[Ye]&&!this[Ce]&&!this[Ye].destroyed}get[ue](){return Boolean(this[Ye]?.busy(null)||this[pe]>=(getPipelining(this)||1)||this[ge]>0)}[de](i){connect(this);this.once("connect",i)}[Oe](i,d){const p=i.origin||this[Ae].origin;const v=new re(p,i,d);this[me].push(v);if(this[he]){}else if(ee.bodyLength(v.body)==null&&ee.isIterable(v.body)){this[he]=1;queueMicrotask((()=>resume(this)))}else{this[Je](true)}if(this[he]&&this[ye]!==2&&this[ue]){this[ye]=2}return this[ye]<2}async[Me](){return new Promise((i=>{if(this[pe]){this[Ke]=i}else{i(null)}}))}async[Ue](i){return new Promise((d=>{const p=this[me].splice(this[Qe]);for(let d=0;d{if(this[Ke]){this[Ke]();this[Ke]=null}d(null)};if(this[Ye]){this[Ye].destroy(i,callback);this[Ye]=null}else{queueMicrotask(callback)}this[Je]()}))}}const Xe=p(21676);function onError(i,d){if(i[fe]===0&&d.code!=="UND_ERR_INFO"&&d.code!=="UND_ERR_SOCKET"){v(i[Qe]===i[be]);const p=i[me].splice(i[be]);for(let v=0;v{i[Fe]({host:d,hostname:p,protocol:K,port:re,servername:i[ce],localAddress:i[Ge]},((i,d)=>{if(i){V(i)}else{v(d)}}))}));if(i.destroyed){ee.destroy(V.on("error",noop),new oe);return}v(V);try{i[Ye]=V.alpnProtocol==="h2"?await ze(i,V):await We(i,V)}catch(i){V.destroy().on("error",noop);throw i}i[Ce]=false;V[_e]=0;V[Le]=i[Le];V[le]=i;V[we]=null;if(te.connected.hasSubscribers){te.connected.publish({connectParams:{host:d,hostname:p,protocol:K,port:re,version:i[Ye]?.version,servername:i[ce],localAddress:i[Ge]},connector:i[Fe],socket:V})}i.emit("connect",i[Ae],[i])}catch(V){if(i.destroyed){return}i[Ce]=false;if(te.connectError.hasSubscribers){te.connectError.publish({connectParams:{host:d,hostname:p,protocol:K,port:re,version:i[Ye]?.version,servername:i[ce],localAddress:i[Ge]},connector:i[Fe],error:V})}if(V.code==="ERR_TLS_CERT_ALTNAME_INVALID"){v(i[fe]===0);while(i[ge]>0&&i[me][i[Qe]].servername===i[ce]){const d=i[me][i[Qe]++];ee.errorRequest(i,d,V)}}else{onError(i,V)}i.emit("connectionError",i[Ae],[i],V)}i[Je]()}function emitDrain(i){i[ye]=0;i.emit("drain",i[Ae],[i])}function resume(i,d){if(i[he]===2){return}i[he]=2;_resume(i,d);i[he]=0;if(i[be]>256){i[me].splice(0,i[be]);i[Qe]-=i[be];i[be]=0}}function _resume(i,d){while(true){if(i.destroyed){v(i[ge]===0);return}if(i[Ke]&&!i[pe]){i[Ke]();i[Ke]=null;return}if(i[Ye]){i[Ye].resume()}if(i[ue]){i[ye]=2}else if(i[ye]===2){if(d){i[ye]=1;queueMicrotask((()=>emitDrain(i)))}else{emitDrain(i)}continue}if(i[ge]===0){return}if(i[fe]>=(getPipelining(i)||1)){return}const p=i[me][i[Qe]];if(i[Ae].protocol==="https:"&&i[ce]!==p.servername){if(i[fe]>0){return}i[ce]=p.servername;i[Ye]?.destroy(new ie("servername changed"),(()=>{i[Ye]=null;resume(i)}))}if(i[Ce]){return}if(!i[Ye]){connect(i);return}if(i[Ye].destroyed){return}if(i[Ye].busy(p)){return}if(!p.aborted&&i[Ye].write(p)){i[Qe]++}else{i[me].splice(i[Qe],1)}}}i.exports=Client},44745:(i,d,p)=>{const v=p(72091);const{ClientDestroyedError:V,ClientClosedError:K,InvalidArgumentError:ee}=p(48091);const{kDestroy:te,kClose:re,kClosed:ne,kDestroyed:se,kDispatch:ie,kInterceptors:oe}=p(99411);const ae=Symbol("onDestroyed");const Ae=Symbol("onClosed");const ce=Symbol("Intercepted Dispatch");class DispatcherBase extends v{constructor(){super();this[se]=false;this[ae]=null;this[ne]=false;this[Ae]=[]}get destroyed(){return this[se]}get closed(){return this[ne]}get interceptors(){return this[oe]}set interceptors(i){if(i){for(let d=i.length-1;d>=0;d--){const i=this[oe][d];if(typeof i!=="function"){throw new ee("interceptor must be an function")}}}this[oe]=i}close(i){if(i===undefined){return new Promise(((i,d)=>{this.close(((p,v)=>p?d(p):i(v)))}))}if(typeof i!=="function"){throw new ee("invalid callback")}if(this[se]){queueMicrotask((()=>i(new V,null)));return}if(this[ne]){if(this[Ae]){this[Ae].push(i)}else{queueMicrotask((()=>i(null,null)))}return}this[ne]=true;this[Ae].push(i);const onClosed=()=>{const i=this[Ae];this[Ae]=null;for(let d=0;dthis.destroy())).then((()=>{queueMicrotask(onClosed)}))}destroy(i,d){if(typeof i==="function"){d=i;i=null}if(d===undefined){return new Promise(((d,p)=>{this.destroy(i,((i,v)=>i?p(i):d(v)))}))}if(typeof d!=="function"){throw new ee("invalid callback")}if(this[se]){if(this[ae]){this[ae].push(d)}else{queueMicrotask((()=>d(null,null)))}return}if(!i){i=new V}this[se]=true;this[ae]=this[ae]||[];this[ae].push(d);const onDestroyed=()=>{const i=this[ae];this[ae]=null;for(let d=0;d{queueMicrotask(onDestroyed)}))}[ce](i,d){if(!this[oe]||this[oe].length===0){this[ce]=this[ie];return this[ie](i,d)}let p=this[ie].bind(this);for(let i=this[oe].length-1;i>=0;i--){p=this[oe][i](p)}this[ce]=p;return p(i,d)}dispatch(i,d){if(!d||typeof d!=="object"){throw new ee("handler must be an object")}try{if(!i||typeof i!=="object"){throw new ee("opts must be an object.")}if(this[se]||this[ae]){throw new V}if(this[ne]){throw new K}return this[ce](i,d)}catch(i){if(typeof d.onError!=="function"){throw new ee("invalid onError method")}d.onError(i);return false}}}i.exports=DispatcherBase},72091:(i,d,p)=>{const v=p(78474);class Dispatcher extends v{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}compose(...i){const d=Array.isArray(i[0])?i[0]:i;let p=this.dispatch.bind(this);for(const i of d){if(i==null){continue}if(typeof i!=="function"){throw new TypeError(`invalid interceptor, expected function received ${typeof i}`)}p=i(p);if(p==null||typeof p!=="function"||p.length!==2){throw new TypeError("invalid interceptor")}}return new ComposedDispatcher(this,p)}}class ComposedDispatcher extends Dispatcher{#e=null;#t=null;constructor(i,d){super();this.#e=i;this.#t=d}dispatch(...i){this.#t(...i)}close(...i){return this.#e.close(...i)}destroy(...i){return this.#e.destroy(...i)}}i.exports=Dispatcher},7897:(i,d,p)=>{const v=p(44745);const{kClose:V,kDestroy:K,kClosed:ee,kDestroyed:te,kDispatch:re,kNoProxyAgent:ne,kHttpProxyAgent:se,kHttpsProxyAgent:ie}=p(99411);const oe=p(69848);const ae=p(86261);const Ae={"http:":80,"https:":443};let ce=false;class EnvHttpProxyAgent extends v{#r=null;#n=null;#s=null;constructor(i={}){super();this.#s=i;if(!ce){ce=true;process.emitWarning("EnvHttpProxyAgent is experimental, expect them to change at any time.",{code:"UNDICI-EHPA"})}const{httpProxy:d,httpsProxy:p,noProxy:v,...V}=i;this[ne]=new ae(V);const K=d??process.env.http_proxy??process.env.HTTP_PROXY;if(K){this[se]=new oe({...V,uri:K})}else{this[se]=this[ne]}const ee=p??process.env.https_proxy??process.env.HTTPS_PROXY;if(ee){this[ie]=new oe({...V,uri:ee})}else{this[ie]=this[se]}this.#i()}[re](i,d){const p=new URL(i.origin);const v=this.#o(p);return v.dispatch(i,d)}async[V](){await this[ne].close();if(!this[se][ee]){await this[se].close()}if(!this[ie][ee]){await this[ie].close()}}async[K](i){await this[ne].destroy(i);if(!this[se][te]){await this[se].destroy(i)}if(!this[ie][te]){await this[ie].destroy(i)}}#o(i){let{protocol:d,host:p,port:v}=i;p=p.replace(/:\d*$/,"").toLowerCase();v=Number.parseInt(v,10)||Ae[d]||0;if(!this.#a(p,v)){return this[ne]}if(d==="https:"){return this[ie]}return this[se]}#a(i,d){if(this.#A){this.#i()}if(this.#n.length===0){return true}if(this.#r==="*"){return false}for(let p=0;p{const d=2048;const p=d-1;class FixedCircularBuffer{constructor(){this.bottom=0;this.top=0;this.list=new Array(d);this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&p)===this.bottom}push(i){this.list[this.top]=i;this.top=this.top+1&p}shift(){const i=this.list[this.bottom];if(i===undefined)return null;this.list[this.bottom]=undefined;this.bottom=this.bottom+1&p;return i}}i.exports=class FixedQueue{constructor(){this.head=this.tail=new FixedCircularBuffer}isEmpty(){return this.head.isEmpty()}push(i){if(this.head.isFull()){this.head=this.head.next=new FixedCircularBuffer}this.head.push(i)}shift(){const i=this.tail;const d=i.shift();if(i.isEmpty()&&i.next!==null){this.tail=i.next}return d}}},93272:(i,d,p)=>{const v=p(44745);const V=p(96524);const{kConnected:K,kSize:ee,kRunning:te,kPending:re,kQueued:ne,kBusy:se,kFree:ie,kUrl:oe,kClose:ae,kDestroy:Ae,kDispatch:ce}=p(99411);const le=p(39686);const ue=Symbol("clients");const de=Symbol("needDrain");const he=Symbol("queue");const fe=Symbol("closed resolve");const ge=Symbol("onDrain");const pe=Symbol("onConnect");const me=Symbol("onDisconnect");const Ee=Symbol("onConnectionError");const Ce=Symbol("get dispatcher");const ye=Symbol("add client");const Ie=Symbol("remove client");const Be=Symbol("stats");class PoolBase extends v{constructor(){super();this[he]=new V;this[ue]=[];this[ne]=0;const i=this;this[ge]=function onDrain(d,p){const v=i[he];let V=false;while(!V){const d=v.shift();if(!d){break}i[ne]--;V=!this.dispatch(d.opts,d.handler)}this[de]=V;if(!this[de]&&i[de]){i[de]=false;i.emit("drain",d,[i,...p])}if(i[fe]&&v.isEmpty()){Promise.all(i[ue].map((i=>i.close()))).then(i[fe])}};this[pe]=(d,p)=>{i.emit("connect",d,[i,...p])};this[me]=(d,p,v)=>{i.emit("disconnect",d,[i,...p],v)};this[Ee]=(d,p,v)=>{i.emit("connectionError",d,[i,...p],v)};this[Be]=new le(this)}get[se](){return this[de]}get[K](){return this[ue].filter((i=>i[K])).length}get[ie](){return this[ue].filter((i=>i[K]&&!i[de])).length}get[re](){let i=this[ne];for(const{[re]:d}of this[ue]){i+=d}return i}get[te](){let i=0;for(const{[te]:d}of this[ue]){i+=d}return i}get[ee](){let i=this[ne];for(const{[ee]:d}of this[ue]){i+=d}return i}get stats(){return this[Be]}async[ae](){if(this[he].isEmpty()){await Promise.all(this[ue].map((i=>i.close())))}else{await new Promise((i=>{this[fe]=i}))}}async[Ae](i){while(true){const d=this[he].shift();if(!d){break}d.handler.onError(i)}await Promise.all(this[ue].map((d=>d.destroy(i))))}[ce](i,d){const p=this[Ce]();if(!p){this[de]=true;this[he].push({opts:i,handler:d});this[ne]++}else if(!p.dispatch(i,d)){p[de]=true;this[de]=!this[Ce]()}return!this[de]}[ye](i){i.on("drain",this[ge]).on("connect",this[pe]).on("disconnect",this[me]).on("connectionError",this[Ee]);this[ue].push(i);if(this[de]){queueMicrotask((()=>{if(this[de]){this[ge](i[oe],[this,i])}}))}return this}[Ie](i){i.close((()=>{const d=this[ue].indexOf(i);if(d!==-1){this[ue].splice(d,1)}}));this[de]=this[ue].some((i=>!i[de]&&i.closed!==true&&i.destroyed!==true))}}i.exports={PoolBase:PoolBase,kClients:ue,kNeedDrain:de,kAddClient:ye,kRemoveClient:Ie,kGetDispatcher:Ce}},39686:(i,d,p)=>{const{kFree:v,kConnected:V,kPending:K,kQueued:ee,kRunning:te,kSize:re}=p(99411);const ne=Symbol("pool");class PoolStats{constructor(i){this[ne]=i}get connected(){return this[ne][V]}get free(){return this[ne][v]}get pending(){return this[ne][K]}get queued(){return this[ne][ee]}get running(){return this[ne][te]}get size(){return this[ne][re]}}i.exports=PoolStats},27404:(i,d,p)=>{const{PoolBase:v,kClients:V,kNeedDrain:K,kAddClient:ee,kGetDispatcher:te}=p(93272);const re=p(43069);const{InvalidArgumentError:ne}=p(48091);const se=p(31544);const{kUrl:ie,kInterceptors:oe}=p(99411);const ae=p(72296);const Ae=Symbol("options");const ce=Symbol("connections");const le=Symbol("factory");function defaultFactory(i,d){return new re(i,d)}class Pool extends v{constructor(i,{connections:d,factory:p=defaultFactory,connect:v,connectTimeout:K,tls:ee,maxCachedSessions:te,socketPath:re,autoSelectFamily:ue,autoSelectFamilyAttemptTimeout:de,allowH2:he,...fe}={}){super();if(d!=null&&(!Number.isFinite(d)||d<0)){throw new ne("invalid connections")}if(typeof p!=="function"){throw new ne("factory must be a function.")}if(v!=null&&typeof v!=="function"&&typeof v!=="object"){throw new ne("connect must be a function or an object")}if(typeof v!=="function"){v=ae({...ee,maxCachedSessions:te,allowH2:he,socketPath:re,timeout:K,...ue?{autoSelectFamily:ue,autoSelectFamilyAttemptTimeout:de}:undefined,...v})}this[oe]=fe.interceptors?.Pool&&Array.isArray(fe.interceptors.Pool)?fe.interceptors.Pool:[];this[ce]=d||null;this[ie]=se.parseOrigin(i);this[Ae]={...se.deepClone(fe),connect:v,allowH2:he};this[Ae].interceptors=fe.interceptors?{...fe.interceptors}:undefined;this[le]=p;this.on("connectionError",((i,d,p)=>{for(const i of d){const d=this[V].indexOf(i);if(d!==-1){this[V].splice(d,1)}}}))}[te](){for(const i of this[V]){if(!i[K]){return i}}if(!this[ce]||this[V].length{const{kProxy:v,kClose:V,kDestroy:K,kDispatch:ee,kInterceptors:te}=p(99411);const{URL:re}=p(73136);const ne=p(86261);const se=p(27404);const ie=p(44745);const{InvalidArgumentError:oe,RequestAbortedError:ae,SecureProxyConnectionError:Ae}=p(48091);const ce=p(72296);const le=p(43069);const ue=Symbol("proxy agent");const de=Symbol("proxy client");const he=Symbol("proxy headers");const fe=Symbol("request tls settings");const ge=Symbol("proxy tls settings");const pe=Symbol("connect endpoint function");const me=Symbol("tunnel proxy");function defaultProtocolPort(i){return i==="https:"?443:80}function defaultFactory(i,d){return new se(i,d)}const noop=()=>{};function defaultAgentFactory(i,d){if(d.connections===1){return new le(i,d)}return new se(i,d)}class Http1ProxyWrapper extends ie{#l;constructor(i,{headers:d={},connect:p,factory:v}){super();if(!i){throw new oe("Proxy URL is mandatory")}this[he]=d;if(v){this.#l=v(i,{connect:p})}else{this.#l=new le(i,{connect:p})}}[ee](i,d){const p=d.onHeaders;d.onHeaders=function(i,v,V){if(i===407){if(typeof d.onError==="function"){d.onError(new oe("Proxy Authentication Required (407)"))}return}if(p)p.call(this,i,v,V)};const{origin:v,path:V="/",headers:K={}}=i;i.path=v+V;if(!("host"in K)&&!("Host"in K)){const{host:i}=new re(v);K.host=i}i.headers={...this[he],...K};return this.#l[ee](i,d)}async[V](){return this.#l.close()}async[K](i){return this.#l.destroy(i)}}class ProxyAgent extends ie{constructor(i){super();if(!i||typeof i==="object"&&!(i instanceof re)&&!i.uri){throw new oe("Proxy uri is mandatory")}const{clientFactory:d=defaultFactory}=i;if(typeof d!=="function"){throw new oe("Proxy opts.clientFactory must be a function.")}const{proxyTunnel:p=true}=i;const V=this.#u(i);const{href:K,origin:ee,port:se,protocol:ie,username:le,password:Ee,hostname:Ce}=V;this[v]={uri:K,protocol:ie};this[te]=i.interceptors?.ProxyAgent&&Array.isArray(i.interceptors.ProxyAgent)?i.interceptors.ProxyAgent:[];this[fe]=i.requestTls;this[ge]=i.proxyTls;this[he]=i.headers||{};this[me]=p;if(i.auth&&i.token){throw new oe("opts.auth cannot be used in combination with opts.token")}else if(i.auth){this[he]["proxy-authorization"]=`Basic ${i.auth}`}else if(i.token){this[he]["proxy-authorization"]=i.token}else if(le&&Ee){this[he]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(le)}:${decodeURIComponent(Ee)}`).toString("base64")}`}const ye=ce({...i.proxyTls});this[pe]=ce({...i.requestTls});const Ie=i.factory||defaultAgentFactory;const factory=(i,d)=>{const{protocol:p}=new re(i);if(!this[me]&&p==="http:"&&this[v].protocol==="http:"){return new Http1ProxyWrapper(this[v].uri,{headers:this[he],connect:ye,factory:Ie})}return Ie(i,d)};this[de]=d(V,{connect:ye});this[ue]=new ne({...i,factory:factory,connect:async(i,d)=>{let p=i.host;if(!i.port){p+=`:${defaultProtocolPort(i.protocol)}`}try{const{socket:v,statusCode:V}=await this[de].connect({origin:ee,port:se,path:p,signal:i.signal,headers:{...this[he],host:i.host},servername:this[ge]?.servername||Ce});if(V!==200){v.on("error",noop).destroy();d(new ae(`Proxy response (${V}) !== 200 when HTTP Tunneling`))}if(i.protocol!=="https:"){d(null,v);return}let K;if(this[fe]){K=this[fe].servername}else{K=i.servername}this[pe]({...i,servername:K,httpSocket:v},d)}catch(i){if(i.code==="ERR_TLS_CERT_ALTNAME_INVALID"){d(new Ae(i))}else{d(i)}}}})}dispatch(i,d){const p=buildHeaders(i.headers);throwIfProxyAuthIsSent(p);if(p&&!("host"in p)&&!("Host"in p)){const{host:d}=new re(i.origin);p.host=d}return this[ue].dispatch({...i,headers:p},d)}#u(i){if(typeof i==="string"){return new re(i)}else if(i instanceof re){return i}else{return new re(i.uri)}}async[V](){await this[ue].close();await this[de].close()}async[K](){await this[ue].destroy();await this[de].destroy()}}function buildHeaders(i){if(Array.isArray(i)){const d={};for(let p=0;pi.toLowerCase()==="proxy-authorization"));if(d){throw new oe("Proxy-Authorization should be sent in ProxyAgent constructor")}}i.exports=ProxyAgent},21882:(i,d,p)=>{const v=p(72091);const V=p(60112);class RetryAgent extends v{#d=null;#h=null;constructor(i,d={}){super(d);this.#d=i;this.#h=d}dispatch(i,d){const p=new V({...i,retryOptions:this.#h},{dispatch:this.#d.dispatch.bind(this.#d),handler:d});return this.#d.dispatch(i,p)}close(){return this.#d.close()}destroy(){return this.#d.destroy()}}i.exports=RetryAgent},5837:(i,d,p)=>{const v=Symbol.for("undici.globalDispatcher.1");const{InvalidArgumentError:V}=p(48091);const K=p(86261);if(getGlobalDispatcher()===undefined){setGlobalDispatcher(new K)}function setGlobalDispatcher(i){if(!i||typeof i.dispatch!=="function"){throw new V("Argument agent must implement Agent")}Object.defineProperty(globalThis,v,{value:i,writable:true,enumerable:false,configurable:false})}function getGlobalDispatcher(){return globalThis[v]}i.exports={setGlobalDispatcher:setGlobalDispatcher,getGlobalDispatcher:getGlobalDispatcher}},57011:i=>{i.exports=class DecoratorHandler{#f;constructor(i){if(typeof i!=="object"||i===null){throw new TypeError("handler must be an object")}this.#f=i}onConnect(...i){return this.#f.onConnect?.(...i)}onError(...i){return this.#f.onError?.(...i)}onUpgrade(...i){return this.#f.onUpgrade?.(...i)}onResponseStarted(...i){return this.#f.onResponseStarted?.(...i)}onHeaders(...i){return this.#f.onHeaders?.(...i)}onData(...i){return this.#f.onData?.(...i)}onComplete(...i){return this.#f.onComplete?.(...i)}onBodySent(...i){return this.#f.onBodySent?.(...i)}}},25050:(i,d,p)=>{const v=p(31544);const{kBodyUsed:V}=p(99411);const K=p(34589);const{InvalidArgumentError:ee}=p(48091);const te=p(78474);const re=[300,301,302,303,307,308];const ne=Symbol("body");class BodyAsyncIterable{constructor(i){this[ne]=i;this[V]=false}async*[Symbol.asyncIterator](){K(!this[V],"disturbed");this[V]=true;yield*this[ne]}}class RedirectHandler{constructor(i,d,p,re){if(d!=null&&(!Number.isInteger(d)||d<0)){throw new ee("maxRedirections must be a positive number")}v.validateHandler(re,p.method,p.upgrade);this.dispatch=i;this.location=null;this.abort=null;this.opts={...p,maxRedirections:0};this.maxRedirections=d;this.handler=re;this.history=[];this.redirectionLimitReached=false;if(v.isStream(this.opts.body)){if(v.bodyLength(this.opts.body)===0){this.opts.body.on("data",(function(){K(false)}))}if(typeof this.opts.body.readableDidRead!=="boolean"){this.opts.body[V]=false;te.prototype.on.call(this.opts.body,"data",(function(){this[V]=true}))}}else if(this.opts.body&&typeof this.opts.body.pipeTo==="function"){this.opts.body=new BodyAsyncIterable(this.opts.body)}else if(this.opts.body&&typeof this.opts.body!=="string"&&!ArrayBuffer.isView(this.opts.body)&&v.isIterable(this.opts.body)){this.opts.body=new BodyAsyncIterable(this.opts.body)}}onConnect(i){this.abort=i;this.handler.onConnect(i,{history:this.history})}onUpgrade(i,d,p){this.handler.onUpgrade(i,d,p)}onError(i){this.handler.onError(i)}onHeaders(i,d,p,V){this.location=this.history.length>=this.maxRedirections||v.isDisturbed(this.opts.body)?null:parseLocation(i,d);if(this.opts.throwOnMaxRedirect&&this.history.length>=this.maxRedirections){if(this.request){this.request.abort(new Error("max redirects"))}this.redirectionLimitReached=true;this.abort(new Error("max redirects"));return}if(this.opts.origin){this.history.push(new URL(this.opts.path,this.opts.origin))}if(!this.location){return this.handler.onHeaders(i,d,p,V)}const{origin:K,pathname:ee,search:te}=v.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin)));const re=te?`${ee}${te}`:ee;this.opts.headers=cleanRequestHeaders(this.opts.headers,i===303,this.opts.origin!==K);this.opts.path=re;this.opts.origin=K;this.opts.maxRedirections=0;this.opts.query=null;if(i===303&&this.opts.method!=="HEAD"){this.opts.method="GET";this.opts.body=null}}onData(i){if(this.location){}else{return this.handler.onData(i)}}onComplete(i){if(this.location){this.location=null;this.abort=null;this.dispatch(this.opts,this)}else{this.handler.onComplete(i)}}onBodySent(i){if(this.handler.onBodySent){this.handler.onBodySent(i)}}}function parseLocation(i,d){if(re.indexOf(i)===-1){return null}for(let i=0;i{const v=p(34589);const{kRetryHandlerDefaultRetry:V}=p(99411);const{RequestRetryError:K}=p(48091);const{isDisturbed:ee,parseHeaders:te,parseRangeHeader:re,wrapRequestBody:ne}=p(31544);function calculateRetryAfterHeader(i){const d=Date.now();return new Date(i).getTime()-d}class RetryHandler{constructor(i,d){const{retryOptions:p,...v}=i;const{retry:K,maxRetries:ee,maxTimeout:te,minTimeout:re,timeoutFactor:se,methods:ie,errorCodes:oe,retryAfter:ae,statusCodes:Ae}=p??{};this.dispatch=d.dispatch;this.handler=d.handler;this.opts={...v,body:ne(i.body)};this.abort=null;this.aborted=false;this.retryOpts={retry:K??RetryHandler[V],retryAfter:ae??true,maxTimeout:te??30*1e3,minTimeout:re??500,timeoutFactor:se??2,maxRetries:ee??5,methods:ie??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:Ae??[500,502,503,504,429],errorCodes:oe??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE","UND_ERR_SOCKET"]};this.retryCount=0;this.retryCountCheckpoint=0;this.start=0;this.end=null;this.etag=null;this.resume=null;this.handler.onConnect((i=>{this.aborted=true;if(this.abort){this.abort(i)}else{this.reason=i}}))}onRequestSent(){if(this.handler.onRequestSent){this.handler.onRequestSent()}}onUpgrade(i,d,p){if(this.handler.onUpgrade){this.handler.onUpgrade(i,d,p)}}onConnect(i){if(this.aborted){i(this.reason)}else{this.abort=i}}onBodySent(i){if(this.handler.onBodySent)return this.handler.onBodySent(i)}static[V](i,{state:d,opts:p},v){const{statusCode:V,code:K,headers:ee}=i;const{method:te,retryOptions:re}=p;const{maxRetries:ne,minTimeout:se,maxTimeout:ie,timeoutFactor:oe,statusCodes:ae,errorCodes:Ae,methods:ce}=re;const{counter:le}=d;if(K&&K!=="UND_ERR_REQ_RETRY"&&!Ae.includes(K)){v(i);return}if(Array.isArray(ce)&&!ce.includes(te)){v(i);return}if(V!=null&&Array.isArray(ae)&&!ae.includes(V)){v(i);return}if(le>ne){v(i);return}let ue=ee?.["retry-after"];if(ue){ue=Number(ue);ue=Number.isNaN(ue)?calculateRetryAfterHeader(ue):ue*1e3}const de=ue>0?Math.min(ue,ie):Math.min(se*oe**(le-1),ie);setTimeout((()=>v(null)),de)}onHeaders(i,d,p,V){const ee=te(d);this.retryCount+=1;if(i>=300){if(this.retryOpts.statusCodes.includes(i)===false){return this.handler.onHeaders(i,d,p,V)}else{this.abort(new K("Request failed",i,{headers:ee,data:{count:this.retryCount}}));return false}}if(this.resume!=null){this.resume=null;if(i!==206&&(this.start>0||i!==200)){this.abort(new K("server does not support the range header and the payload was partially consumed",i,{headers:ee,data:{count:this.retryCount}}));return false}const d=re(ee["content-range"]);if(!d){this.abort(new K("Content-Range mismatch",i,{headers:ee,data:{count:this.retryCount}}));return false}if(this.etag!=null&&this.etag!==ee.etag){this.abort(new K("ETag mismatch",i,{headers:ee,data:{count:this.retryCount}}));return false}const{start:V,size:te,end:ne=te-1}=d;v(this.start===V,"content-range mismatch");v(this.end==null||this.end===ne,"content-range mismatch");this.resume=p;return true}if(this.end==null){if(i===206){const K=re(ee["content-range"]);if(K==null){return this.handler.onHeaders(i,d,p,V)}const{start:te,size:ne,end:se=ne-1}=K;v(te!=null&&Number.isFinite(te),"content-range mismatch");v(se!=null&&Number.isFinite(se),"invalid content-length");this.start=te;this.end=se}if(this.end==null){const i=ee["content-length"];this.end=i!=null?Number(i)-1:null}v(Number.isFinite(this.start));v(this.end==null||Number.isFinite(this.end),"invalid content-length");this.resume=p;this.etag=ee.etag!=null?ee.etag:null;if(this.etag!=null&&this.etag.startsWith("W/")){this.etag=null}return this.handler.onHeaders(i,d,p,V)}const ne=new K("Request failed",i,{headers:ee,data:{count:this.retryCount}});this.abort(ne);return false}onData(i){this.start+=i.length;return this.handler.onData(i)}onComplete(i){this.retryCount=0;return this.handler.onComplete(i)}onError(i){if(this.aborted||ee(this.opts.body)){return this.handler.onError(i)}if(this.retryCount-this.retryCountCheckpoint>0){this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint)}else{this.retryCount+=1}this.retryOpts.retry(i,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},onRetry.bind(this));function onRetry(i){if(i!=null||this.aborted||ee(this.opts.body)){return this.handler.onError(i)}if(this.start!==0){const i={range:`bytes=${this.start}-${this.end??""}`};if(this.etag!=null){i["if-match"]=this.etag}this.opts={...this.opts,headers:{...this.opts.headers,...i}}}try{this.retryCountCheckpoint=this.retryCount;this.dispatch(this.opts,this)}catch(i){this.handler.onError(i)}}}}i.exports=RetryHandler},97251:(i,d,p)=>{const{isIP:v}=p(77030);const{lookup:V}=p(40610);const K=p(57011);const{InvalidArgumentError:ee,InformationalError:te}=p(48091);const re=Math.pow(2,31)-1;class DNSInstance{#g=0;#p=0;#m=new Map;dualStack=true;affinity=null;lookup=null;pick=null;constructor(i){this.#g=i.maxTTL;this.#p=i.maxItems;this.dualStack=i.dualStack;this.affinity=i.affinity;this.lookup=i.lookup??this.#E;this.pick=i.pick??this.#C}get full(){return this.#m.size===this.#p}runLookup(i,d,p){const v=this.#m.get(i.hostname);if(v==null&&this.full){p(null,i.origin);return}const V={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...d.dns,maxTTL:this.#g,maxItems:this.#p};if(v==null){this.lookup(i,V,((d,v)=>{if(d||v==null||v.length===0){p(d??new te("No DNS entries found"));return}this.setRecords(i,v);const K=this.#m.get(i.hostname);const ee=this.pick(i,K,V.affinity);let re;if(typeof ee.port==="number"){re=`:${ee.port}`}else if(i.port!==""){re=`:${i.port}`}else{re=""}p(null,`${i.protocol}//${ee.family===6?`[${ee.address}]`:ee.address}${re}`)}))}else{const K=this.pick(i,v,V.affinity);if(K==null){this.#m.delete(i.hostname);this.runLookup(i,d,p);return}let ee;if(typeof K.port==="number"){ee=`:${K.port}`}else if(i.port!==""){ee=`:${i.port}`}else{ee=""}p(null,`${i.protocol}//${K.family===6?`[${K.address}]`:K.address}${ee}`)}}#E(i,d,p){V(i.hostname,{all:true,family:this.dualStack===false?this.affinity:0,order:"ipv4first"},((i,d)=>{if(i){return p(i)}const v=new Map;for(const i of d){v.set(`${i.address}:${i.family}`,i)}p(null,v.values())}))}#C(i,d,p){let v=null;const{records:V,offset:K}=d;let ee;if(this.dualStack){if(p==null){if(K==null||K===re){d.offset=0;p=4}else{d.offset++;p=(d.offset&1)===1?6:4}}if(V[p]!=null&&V[p].ips.length>0){ee=V[p]}else{ee=V[p===4?6:4]}}else{ee=V[p]}if(ee==null||ee.ips.length===0){return v}if(ee.offset==null||ee.offset===re){ee.offset=0}else{ee.offset++}const te=ee.offset%ee.ips.length;v=ee.ips[te]??null;if(v==null){return v}if(Date.now()-v.timestamp>v.ttl){ee.ips.splice(te,1);return this.pick(i,d,p)}return v}setRecords(i,d){const p=Date.now();const v={records:{4:null,6:null}};for(const i of d){i.timestamp=p;if(typeof i.ttl==="number"){i.ttl=Math.min(i.ttl,this.#g)}else{i.ttl=this.#g}const d=v.records[i.family]??{ips:[]};d.ips.push(i);v.records[i.family]=d}this.#m.set(i.hostname,v)}getHandler(i,d){return new DNSDispatchHandler(this,i,d)}}class DNSDispatchHandler extends K{#y=null;#s=null;#t=null;#f=null;#I=null;constructor(i,{origin:d,handler:p,dispatch:v},V){super(p);this.#I=d;this.#f=p;this.#s={...V};this.#y=i;this.#t=v}onError(i){switch(i.code){case"ETIMEDOUT":case"ECONNREFUSED":{if(this.#y.dualStack){this.#y.runLookup(this.#I,this.#s,((i,d)=>{if(i){return this.#f.onError(i)}const p={...this.#s,origin:d};this.#t(p,this)}));return}this.#f.onError(i);return}case"ENOTFOUND":this.#y.deleteRecord(this.#I);default:this.#f.onError(i);break}}}i.exports=i=>{if(i?.maxTTL!=null&&(typeof i?.maxTTL!=="number"||i?.maxTTL<0)){throw new ee("Invalid maxTTL. Must be a positive number")}if(i?.maxItems!=null&&(typeof i?.maxItems!=="number"||i?.maxItems<1)){throw new ee("Invalid maxItems. Must be a positive number and greater than zero")}if(i?.affinity!=null&&i?.affinity!==4&&i?.affinity!==6){throw new ee("Invalid affinity. Must be either 4 or 6")}if(i?.dualStack!=null&&typeof i?.dualStack!=="boolean"){throw new ee("Invalid dualStack. Must be a boolean")}if(i?.lookup!=null&&typeof i?.lookup!=="function"){throw new ee("Invalid lookup. Must be a function")}if(i?.pick!=null&&typeof i?.pick!=="function"){throw new ee("Invalid pick. Must be a function")}const d=i?.dualStack??true;let p;if(d){p=i?.affinity??null}else{p=i?.affinity??4}const V={maxTTL:i?.maxTTL??1e4,lookup:i?.lookup??null,pick:i?.pick??null,dualStack:d,affinity:p,maxItems:i?.maxItems??Infinity};const K=new DNSInstance(V);return i=>function dnsInterceptor(d,p){const V=d.origin.constructor===URL?d.origin:new URL(d.origin);if(v(V.hostname)!==0){return i(d,p)}K.runLookup(V,d,((v,ee)=>{if(v){return p.onError(v)}let te=null;te={...d,servername:V.hostname,origin:ee,headers:{host:V.hostname,...d.headers}};i(te,K.getHandler({origin:V,dispatch:i,handler:p},d))}));return true}}},14756:(i,d,p)=>{const v=p(31544);const{InvalidArgumentError:V,RequestAbortedError:K}=p(48091);const ee=p(57011);class DumpHandler extends ee{#B=1024*1024;#Q=null;#b=false;#w=false;#S=0;#R=null;#f=null;constructor({maxSize:i},d){super(d);if(i!=null&&(!Number.isFinite(i)||i<1)){throw new V("maxSize must be a number greater than 0")}this.#B=i??this.#B;this.#f=d}onConnect(i){this.#Q=i;this.#f.onConnect(this.#v.bind(this))}#v(i){this.#w=true;this.#R=i}onHeaders(i,d,p,V){const ee=v.parseHeaders(d);const te=ee["content-length"];if(te!=null&&te>this.#B){throw new K(`Response size (${te}) larger than maxSize (${this.#B})`)}if(this.#w){return true}return this.#f.onHeaders(i,d,p,V)}onError(i){if(this.#b){return}i=this.#R??i;this.#f.onError(i)}onData(i){this.#S=this.#S+i.length;if(this.#S>=this.#B){this.#b=true;if(this.#w){this.#f.onError(this.#R)}else{this.#f.onComplete([])}}return true}onComplete(i){if(this.#b){return}if(this.#w){this.#f.onError(this.reason);return}this.#f.onComplete(i)}}function createDumpInterceptor({maxSize:i}={maxSize:1024*1024}){return d=>function Intercept(p,v){const{dumpMaxSize:V=i}=p;const K=new DumpHandler({maxSize:V},v);return d(p,K)}}i.exports=createDumpInterceptor},21676:(i,d,p)=>{const v=p(25050);function createRedirectInterceptor({maxRedirections:i}){return d=>function Intercept(p,V){const{maxRedirections:K=i}=p;if(!K){return d(p,V)}const ee=new v(d,K,p,V);p={...p,maxRedirections:0};return d(p,ee)}}i.exports=createRedirectInterceptor},53650:(i,d,p)=>{const v=p(25050);i.exports=i=>{const d=i?.maxRedirections;return i=>function redirectInterceptor(p,V){const{maxRedirections:K=d,...ee}=p;if(!K){return i(p,V)}const te=new v(i,K,p,V);return i(ee,te)}}},73874:(i,d,p)=>{const v=p(60112);i.exports=i=>d=>function retryInterceptor(p,V){return d(p,new v({...p,retryOptions:{...i,...p.retryOptions}},{handler:V,dispatch:d}))}},67424:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.SPECIAL_HEADERS=d.HEADER_STATE=d.MINOR=d.MAJOR=d.CONNECTION_TOKEN_CHARS=d.HEADER_CHARS=d.TOKEN=d.STRICT_TOKEN=d.HEX=d.URL_CHAR=d.STRICT_URL_CHAR=d.USERINFO_CHARS=d.MARK=d.ALPHANUM=d.NUM=d.HEX_MAP=d.NUM_MAP=d.ALPHA=d.FINISH=d.H_METHOD_MAP=d.METHOD_MAP=d.METHODS_RTSP=d.METHODS_ICE=d.METHODS_HTTP=d.METHODS=d.LENIENT_FLAGS=d.FLAGS=d.TYPE=d.ERROR=void 0;const v=p(8916);var V;(function(i){i[i["OK"]=0]="OK";i[i["INTERNAL"]=1]="INTERNAL";i[i["STRICT"]=2]="STRICT";i[i["LF_EXPECTED"]=3]="LF_EXPECTED";i[i["UNEXPECTED_CONTENT_LENGTH"]=4]="UNEXPECTED_CONTENT_LENGTH";i[i["CLOSED_CONNECTION"]=5]="CLOSED_CONNECTION";i[i["INVALID_METHOD"]=6]="INVALID_METHOD";i[i["INVALID_URL"]=7]="INVALID_URL";i[i["INVALID_CONSTANT"]=8]="INVALID_CONSTANT";i[i["INVALID_VERSION"]=9]="INVALID_VERSION";i[i["INVALID_HEADER_TOKEN"]=10]="INVALID_HEADER_TOKEN";i[i["INVALID_CONTENT_LENGTH"]=11]="INVALID_CONTENT_LENGTH";i[i["INVALID_CHUNK_SIZE"]=12]="INVALID_CHUNK_SIZE";i[i["INVALID_STATUS"]=13]="INVALID_STATUS";i[i["INVALID_EOF_STATE"]=14]="INVALID_EOF_STATE";i[i["INVALID_TRANSFER_ENCODING"]=15]="INVALID_TRANSFER_ENCODING";i[i["CB_MESSAGE_BEGIN"]=16]="CB_MESSAGE_BEGIN";i[i["CB_HEADERS_COMPLETE"]=17]="CB_HEADERS_COMPLETE";i[i["CB_MESSAGE_COMPLETE"]=18]="CB_MESSAGE_COMPLETE";i[i["CB_CHUNK_HEADER"]=19]="CB_CHUNK_HEADER";i[i["CB_CHUNK_COMPLETE"]=20]="CB_CHUNK_COMPLETE";i[i["PAUSED"]=21]="PAUSED";i[i["PAUSED_UPGRADE"]=22]="PAUSED_UPGRADE";i[i["PAUSED_H2_UPGRADE"]=23]="PAUSED_H2_UPGRADE";i[i["USER"]=24]="USER"})(V=d.ERROR||(d.ERROR={}));var K;(function(i){i[i["BOTH"]=0]="BOTH";i[i["REQUEST"]=1]="REQUEST";i[i["RESPONSE"]=2]="RESPONSE"})(K=d.TYPE||(d.TYPE={}));var ee;(function(i){i[i["CONNECTION_KEEP_ALIVE"]=1]="CONNECTION_KEEP_ALIVE";i[i["CONNECTION_CLOSE"]=2]="CONNECTION_CLOSE";i[i["CONNECTION_UPGRADE"]=4]="CONNECTION_UPGRADE";i[i["CHUNKED"]=8]="CHUNKED";i[i["UPGRADE"]=16]="UPGRADE";i[i["CONTENT_LENGTH"]=32]="CONTENT_LENGTH";i[i["SKIPBODY"]=64]="SKIPBODY";i[i["TRAILING"]=128]="TRAILING";i[i["TRANSFER_ENCODING"]=512]="TRANSFER_ENCODING"})(ee=d.FLAGS||(d.FLAGS={}));var te;(function(i){i[i["HEADERS"]=1]="HEADERS";i[i["CHUNKED_LENGTH"]=2]="CHUNKED_LENGTH";i[i["KEEP_ALIVE"]=4]="KEEP_ALIVE"})(te=d.LENIENT_FLAGS||(d.LENIENT_FLAGS={}));var re;(function(i){i[i["DELETE"]=0]="DELETE";i[i["GET"]=1]="GET";i[i["HEAD"]=2]="HEAD";i[i["POST"]=3]="POST";i[i["PUT"]=4]="PUT";i[i["CONNECT"]=5]="CONNECT";i[i["OPTIONS"]=6]="OPTIONS";i[i["TRACE"]=7]="TRACE";i[i["COPY"]=8]="COPY";i[i["LOCK"]=9]="LOCK";i[i["MKCOL"]=10]="MKCOL";i[i["MOVE"]=11]="MOVE";i[i["PROPFIND"]=12]="PROPFIND";i[i["PROPPATCH"]=13]="PROPPATCH";i[i["SEARCH"]=14]="SEARCH";i[i["UNLOCK"]=15]="UNLOCK";i[i["BIND"]=16]="BIND";i[i["REBIND"]=17]="REBIND";i[i["UNBIND"]=18]="UNBIND";i[i["ACL"]=19]="ACL";i[i["REPORT"]=20]="REPORT";i[i["MKACTIVITY"]=21]="MKACTIVITY";i[i["CHECKOUT"]=22]="CHECKOUT";i[i["MERGE"]=23]="MERGE";i[i["M-SEARCH"]=24]="M-SEARCH";i[i["NOTIFY"]=25]="NOTIFY";i[i["SUBSCRIBE"]=26]="SUBSCRIBE";i[i["UNSUBSCRIBE"]=27]="UNSUBSCRIBE";i[i["PATCH"]=28]="PATCH";i[i["PURGE"]=29]="PURGE";i[i["MKCALENDAR"]=30]="MKCALENDAR";i[i["LINK"]=31]="LINK";i[i["UNLINK"]=32]="UNLINK";i[i["SOURCE"]=33]="SOURCE";i[i["PRI"]=34]="PRI";i[i["DESCRIBE"]=35]="DESCRIBE";i[i["ANNOUNCE"]=36]="ANNOUNCE";i[i["SETUP"]=37]="SETUP";i[i["PLAY"]=38]="PLAY";i[i["PAUSE"]=39]="PAUSE";i[i["TEARDOWN"]=40]="TEARDOWN";i[i["GET_PARAMETER"]=41]="GET_PARAMETER";i[i["SET_PARAMETER"]=42]="SET_PARAMETER";i[i["REDIRECT"]=43]="REDIRECT";i[i["RECORD"]=44]="RECORD";i[i["FLUSH"]=45]="FLUSH"})(re=d.METHODS||(d.METHODS={}));d.METHODS_HTTP=[re.DELETE,re.GET,re.HEAD,re.POST,re.PUT,re.CONNECT,re.OPTIONS,re.TRACE,re.COPY,re.LOCK,re.MKCOL,re.MOVE,re.PROPFIND,re.PROPPATCH,re.SEARCH,re.UNLOCK,re.BIND,re.REBIND,re.UNBIND,re.ACL,re.REPORT,re.MKACTIVITY,re.CHECKOUT,re.MERGE,re["M-SEARCH"],re.NOTIFY,re.SUBSCRIBE,re.UNSUBSCRIBE,re.PATCH,re.PURGE,re.MKCALENDAR,re.LINK,re.UNLINK,re.PRI,re.SOURCE];d.METHODS_ICE=[re.SOURCE];d.METHODS_RTSP=[re.OPTIONS,re.DESCRIBE,re.ANNOUNCE,re.SETUP,re.PLAY,re.PAUSE,re.TEARDOWN,re.GET_PARAMETER,re.SET_PARAMETER,re.REDIRECT,re.RECORD,re.FLUSH,re.GET,re.POST];d.METHOD_MAP=v.enumToMap(re);d.H_METHOD_MAP={};Object.keys(d.METHOD_MAP).forEach((i=>{if(/^H/.test(i)){d.H_METHOD_MAP[i]=d.METHOD_MAP[i]}}));var ne;(function(i){i[i["SAFE"]=0]="SAFE";i[i["SAFE_WITH_CB"]=1]="SAFE_WITH_CB";i[i["UNSAFE"]=2]="UNSAFE"})(ne=d.FINISH||(d.FINISH={}));d.ALPHA=[];for(let i="A".charCodeAt(0);i<="Z".charCodeAt(0);i++){d.ALPHA.push(String.fromCharCode(i));d.ALPHA.push(String.fromCharCode(i+32))}d.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};d.HEX_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15};d.NUM=["0","1","2","3","4","5","6","7","8","9"];d.ALPHANUM=d.ALPHA.concat(d.NUM);d.MARK=["-","_",".","!","~","*","'","(",")"];d.USERINFO_CHARS=d.ALPHANUM.concat(d.MARK).concat(["%",";",":","&","=","+","$",","]);d.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(d.ALPHANUM);d.URL_CHAR=d.STRICT_URL_CHAR.concat(["\t","\f"]);for(let i=128;i<=255;i++){d.URL_CHAR.push(i)}d.HEX=d.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);d.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(d.ALPHANUM);d.TOKEN=d.STRICT_TOKEN.concat([" "]);d.HEADER_CHARS=["\t"];for(let i=32;i<=255;i++){if(i!==127){d.HEADER_CHARS.push(i)}}d.CONNECTION_TOKEN_CHARS=d.HEADER_CHARS.filter((i=>i!==44));d.MAJOR=d.NUM_MAP;d.MINOR=d.MAJOR;var se;(function(i){i[i["GENERAL"]=0]="GENERAL";i[i["CONNECTION"]=1]="CONNECTION";i[i["CONTENT_LENGTH"]=2]="CONTENT_LENGTH";i[i["TRANSFER_ENCODING"]=3]="TRANSFER_ENCODING";i[i["UPGRADE"]=4]="UPGRADE";i[i["CONNECTION_KEEP_ALIVE"]=5]="CONNECTION_KEEP_ALIVE";i[i["CONNECTION_CLOSE"]=6]="CONNECTION_CLOSE";i[i["CONNECTION_UPGRADE"]=7]="CONNECTION_UPGRADE";i[i["TRANSFER_ENCODING_CHUNKED"]=8]="TRANSFER_ENCODING_CHUNKED"})(se=d.HEADER_STATE||(d.HEADER_STATE={}));d.SPECIAL_HEADERS={connection:se.CONNECTION,"content-length":se.CONTENT_LENGTH,"proxy-connection":se.CONNECTION,"transfer-encoding":se.TRANSFER_ENCODING,upgrade:se.UPGRADE}},87846:(i,d,p)=>{const{Buffer:v}=p(4573);i.exports=v.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAy0sBQYAAAIAAAAAAAACAQIAAgICAAADAAAAAAMDAwMBAQEBAQEBAQEAAAIAAAAEBQFwARISBQMBAAIGCAF/AUGA1AQLB9EFIgZtZW1vcnkCAAtfaW5pdGlhbGl6ZQAIGV9faW5kaXJlY3RfZnVuY3Rpb25fdGFibGUBAAtsbGh0dHBfaW5pdAAJGGxsaHR0cF9zaG91bGRfa2VlcF9hbGl2ZQAvDGxsaHR0cF9hbGxvYwALBm1hbGxvYwAxC2xsaHR0cF9mcmVlAAwEZnJlZQAMD2xsaHR0cF9nZXRfdHlwZQANFWxsaHR0cF9nZXRfaHR0cF9tYWpvcgAOFWxsaHR0cF9nZXR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U2AgAMogILQYsBIQMgASAERg2hAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGOzwBqLQAARw1kIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyiAgsgAkEANgIAIAZBAWohAUECDGULQYwBIQMgASAERg2gAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHwzwBqLQAARw1jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyhAgsgAkEANgIAIAZBAWohAUEfDGQLQY0BIQMgASAERg2fAiACKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHyzwBqLQAARw1iIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAygAgsgAkEANgIAIAZBAWohAUEJDGMLIAEgBEYEQEGOASEDDJ8CCwJAAkAgAS0AAEHJAGsOBwBiYmJiYgFiCyABQQFqIQFB+AAhAwyGAgsgAUEBaiEBQfkAIQMMhQILQY8BIQMgASAERg2dAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGRzwBqLQAARw1gIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAyeAgsgAkEANgIAIAZBAWohAUEYDGELQZABIQMgASAERg2cAiACKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGXzwBqLQAARw1fIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAydAgsgAkEANgIAIAZBAWohAUEXDGALQZEBIQMgASAERg2bAiACKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIAEtAAAgAEGazwBqLQAARw1eIABBBkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAIgBTYCAAycAgsgAkEANgIAIAZBAWohAUEVDF8LQZIBIQMgASAERg2aAiACKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGhzwBqLQAARw1dIABBBUYN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yACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJBADYCHCACIAE2AhQgAkH3CTYCECACQQg2AgwMoAELIAJBADYCACAGQQFqIQEgAi0AKUEhRg0DIAJBADYCHCACIAE2AhQgAkGbCjYCECACQQg2AgxBACEDDJ8BCyACQQA2AgALQQAhAyACQQA2AhwgAiABNgIUIAJBkDM2AhAgAkEINgIMDJ0BCyACQQA2AgAgBkEBaiEBIAItAClBI0kNACACQQA2AhwgAiABNgIUIAJB0wk2AhAgAkEINgIMQQAhAwycAQtB0QAhAwyCAQsgAS0AAEEwayIAQf8BcUEKSQRAIAIgADoAKiABQQFqIQFBzwAhAwyCAQsgAigCBCEAIAJBADYC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yACQQA2AgAgBkEBaiEBQQUMcQsgASAERgRAQYABIQMMrQILIAEtAABB2QBHDW4gAUEBaiEBQQgMcAsgASAERgRAQYEBIQMMrAILAkACQCABLQAAQc4Aaw4DAG8BbwsgAUEBaiEBQesAIQMMkwILIAFBAWohAUHsACEDDJICCyABIARGBEBBggEhAwyrAgsCQAJAIAEtAABByABrDggAbm5ubm5uAW4LIAFBAWohAUHqACEDDJICCyABQQFqIQFB7QAhAwyRAgtBgwEhAyABIARGDakCIAIoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQYDPAGotAABHDWwgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKoCCyACQQA2AgAgBkEBaiEBQQAMbQtBhAEhAyABIARGDagCIAIoAgAiACAEIAFraiEFIAEgAGtBBGohBgJAA0AgAS0AACAAQYPPAGotAABHDWsgAEEERg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKkCCyACQQA2AgAgBkEBaiEBQSMMbAsgASAERgRAQYUBIQMMqAILAkACQCABLQAAQcwAaw4IAGtra2trawFrCyABQQFqIQFB7wAhAwyPAgsgAUEBaiEBQfAAIQMMjgILIAEgBEYEQEGGASEDDKcCCyABLQAAQcUARw1oIAFBAWohAQxgC0GHASEDIAEgBEYNpQIgAigCACIAIAQgAWtqIQUgASAAa0EDaiEGAkADQCABLQAAIABBiM8Aai0AAEcNaCAAQQNGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMpgILIAJBADYCACAGQQFqIQFBLQxpC0GIASEDIAEgBEYNpAIgAigCACIAIAQgAWtqIQUgASAAa0EIaiEGAkADQCABLQAAIABB0M8Aai0AAEcNZyAAQQhGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyACIAU2AgAMpQILIAJBADYCACAGQQFqIQFBKQxoCyABIARGBEBBiQEhAwykAgtBASABLQAAQd8ARw1nGiABQQFqIQEMXgtBigEhAyABIARGDaICIAIoAgAiACAEIAFraiEFI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CHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJBADYCHCACIAE2AhQgAkH3CTYCECACQQg2AgwMoAELIAJBADYCACAGQQFqIQEgAi0AKUEhRg0DIAJBADYCHCACIAE2AhQgAkGbCjYCECACQQg2AgxBACEDDJ8BCyACQQA2AgALQQAhAyACQQA2AhwgAiABNgIUIAJBkDM2AhAgAkEINgIMDJ0BCyACQQA2AgAgBkEBaiEBIAItAClBI0kNACACQQA2AhwgAiABNgIUIAJB0wk2AhAgAkEINgIMQQAhAwycAQtB0Q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QEBAQEBAUEBAQEBAQEBAQEBAQABAAGBwQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEAAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAEAEH6ygALBAEAAAEAQZDLAAsBAQBBqssAC0ECAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBB+swACwQBAAABAEGQzQALAQEAQZrNAAsGAgAAAAACAEGxzQALOgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQfDOAAuWAU5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==","base64")},8916:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.enumToMap=void 0;function enumToMap(i){const d={};Object.keys(i).forEach((p=>{const v=i[p];if(typeof v==="number"){d[p]=v}}));return d}d.enumToMap=enumToMap},15973:(i,d,p)=>{const{kClients:v}=p(99411);const V=p(86261);const{kAgent:K,kMockAgentSet:ee,kMockAgentGet:te,kDispatches:re,kIsMockActive:ne,kNetConnect:se,kGetNetConnect:ie,kOptions:oe,kFactory:ae}=p(28149);const Ae=p(78957);const ce=p(78780);const{matchValue:le,buildMockOptions:ue}=p(61725);const{InvalidArgumentError:de,UndiciError:he}=p(48091);const fe=p(72091);const ge=p(98353);const pe=p(31030);class MockAgent extends fe{constructor(i){super(i);this[se]=true;this[ne]=true;if(i?.agent&&typeof i.agent.dispatch!=="function"){throw new de("Argument opts.agent must implement Agent")}const d=i?.agent?i.agent:new V(i);this[K]=d;this[v]=d[v];this[oe]=ue(i)}get(i){let d=this[te](i);if(!d){d=this[ae](i);this[ee](i,d)}return d}dispatch(i,d){this.get(i.origin);return this[K].dispatch(i,d)}async close(){await this[K].close();this[v].clear()}deactivate(){this[ne]=false}activate(){this[ne]=true}enableNetConnect(i){if(typeof i==="string"||typeof i==="function"||i instanceof RegExp){if(Array.isArray(this[se])){this[se].push(i)}else{this[se]=[i]}}else if(typeof i==="undefined"){this[se]=true}else{throw new de("Unsupported matcher. Must be one of String|Function|RegExp.")}}disableNetConnect(){this[se]=false}get isMockActive(){return this[ne]}[ee](i,d){this[v].set(i,d)}[ae](i){const d=Object.assign({agent:this},this[oe]);return this[oe]&&this[oe].connections===1?new Ae(i,d):new ce(i,d)}[te](i){const d=this[v].get(i);if(d){return d}if(typeof i!=="string"){const d=this[ae]("http://localhost:9999");this[ee](i,d);return d}for(const[d,p]of Array.from(this[v])){if(p&&typeof d!=="string"&&le(d,i)){const d=this[ae](i);this[ee](i,d);d[re]=p[re];return d}}}[ie](){return this[se]}pendingInterceptors(){const i=this[v];return Array.from(i.entries()).flatMap((([i,d])=>d[re].map((d=>({...d,origin:i}))))).filter((({pending:i})=>i))}assertNoPendingInterceptors({pendingInterceptorsFormatter:i=new pe}={}){const d=this.pendingInterceptors();if(d.length===0){return}const p=new ge("interceptor","interceptors").pluralize(d.length);throw new he(`\n${p.count} ${p.noun} ${p.is} pending:\n\n${i.format(d)}\n`.trim())}}i.exports=MockAgent},78957:(i,d,p)=>{const{promisify:v}=p(57975);const V=p(43069);const{buildMockDispatch:K}=p(61725);const{kDispatches:ee,kMockAgent:te,kClose:re,kOriginalClose:ne,kOrigin:se,kOriginalDispatch:ie,kConnected:oe}=p(28149);const{MockInterceptor:ae}=p(71599);const Ae=p(99411);const{InvalidArgumentError:ce}=p(48091);class MockClient extends V{constructor(i,d){super(i,d);if(!d||!d.agent||typeof d.agent.dispatch!=="function"){throw new ce("Argument opts.agent must implement Agent")}this[te]=d.agent;this[se]=i;this[ee]=[];this[oe]=1;this[ie]=this.dispatch;this[ne]=this.close.bind(this);this.dispatch=K.call(this);this.close=this[re]}get[Ae.kConnected](){return this[oe]}intercept(i){return new ae(i,this[ee])}async[re](){await v(this[ne])();this[oe]=0;this[te][Ae.kClients].delete(this[se])}}i.exports=MockClient},35445:(i,d,p)=>{const{UndiciError:v}=p(48091);const V=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED");class MockNotMatchedError extends v{constructor(i){super(i);Error.captureStackTrace(this,MockNotMatchedError);this.name="MockNotMatchedError";this.message=i||"The request does not match any registered mock dispatches";this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}static[Symbol.hasInstance](i){return i&&i[V]===true}[V]=true}i.exports={MockNotMatchedError:MockNotMatchedError}},71599:(i,d,p)=>{const{getResponseData:v,buildKey:V,addMockDispatch:K}=p(61725);const{kDispatches:ee,kDispatchKey:te,kDefaultHeaders:re,kDefaultTrailers:ne,kContentLength:se,kMockDispatch:ie}=p(28149);const{InvalidArgumentError:oe}=p(48091);const{buildURL:ae}=p(31544);class MockScope{constructor(i){this[ie]=i}delay(i){if(typeof i!=="number"||!Number.isInteger(i)||i<=0){throw new oe("waitInMs must be a valid integer > 0")}this[ie].delay=i;return this}persist(){this[ie].persist=true;return this}times(i){if(typeof i!=="number"||!Number.isInteger(i)||i<=0){throw new oe("repeatTimes must be a valid integer > 0")}this[ie].times=i;return this}}class MockInterceptor{constructor(i,d){if(typeof i!=="object"){throw new oe("opts must be an object")}if(typeof i.path==="undefined"){throw new oe("opts.path must be defined")}if(typeof i.method==="undefined"){i.method="GET"}if(typeof i.path==="string"){if(i.query){i.path=ae(i.path,i.query)}else{const d=new URL(i.path,"data://");i.path=d.pathname+d.search}}if(typeof i.method==="string"){i.method=i.method.toUpperCase()}this[te]=V(i);this[ee]=d;this[re]={};this[ne]={};this[se]=false}createMockScopeDispatchData({statusCode:i,data:d,responseOptions:p}){const V=v(d);const K=this[se]?{"content-length":V.length}:{};const ee={...this[re],...K,...p.headers};const te={...this[ne],...p.trailers};return{statusCode:i,data:d,headers:ee,trailers:te}}validateReplyParameters(i){if(typeof i.statusCode==="undefined"){throw new oe("statusCode must be defined")}if(typeof i.responseOptions!=="object"||i.responseOptions===null){throw new oe("responseOptions must be an object")}}reply(i){if(typeof i==="function"){const wrappedDefaultsCallback=d=>{const p=i(d);if(typeof p!=="object"||p===null){throw new oe("reply options callback must return an object")}const v={data:"",responseOptions:{},...p};this.validateReplyParameters(v);return{...this.createMockScopeDispatchData(v)}};const d=K(this[ee],this[te],wrappedDefaultsCallback);return new MockScope(d)}const d={statusCode:i,data:arguments[1]===undefined?"":arguments[1],responseOptions:arguments[2]===undefined?{}:arguments[2]};this.validateReplyParameters(d);const p=this.createMockScopeDispatchData(d);const v=K(this[ee],this[te],p);return new MockScope(v)}replyWithError(i){if(typeof i==="undefined"){throw new oe("error must be defined")}const d=K(this[ee],this[te],{error:i});return new MockScope(d)}defaultReplyHeaders(i){if(typeof i==="undefined"){throw new oe("headers must be defined")}this[re]=i;return this}defaultReplyTrailers(i){if(typeof i==="undefined"){throw new oe("trailers must be defined")}this[ne]=i;return this}replyContentLength(){this[se]=true;return this}}i.exports.MockInterceptor=MockInterceptor;i.exports.MockScope=MockScope},78780:(i,d,p)=>{const{promisify:v}=p(57975);const V=p(27404);const{buildMockDispatch:K}=p(61725);const{kDispatches:ee,kMockAgent:te,kClose:re,kOriginalClose:ne,kOrigin:se,kOriginalDispatch:ie,kConnected:oe}=p(28149);const{MockInterceptor:ae}=p(71599);const Ae=p(99411);const{InvalidArgumentError:ce}=p(48091);class MockPool extends V{constructor(i,d){super(i,d);if(!d||!d.agent||typeof d.agent.dispatch!=="function"){throw new ce("Argument opts.agent must implement Agent")}this[te]=d.agent;this[se]=i;this[ee]=[];this[oe]=1;this[ie]=this.dispatch;this[ne]=this.close.bind(this);this.dispatch=K.call(this);this.close=this[re]}get[Ae.kConnected](){return this[oe]}intercept(i){return new ae(i,this[ee])}async[re](){await v(this[ne])();this[oe]=0;this[te][Ae.kClients].delete(this[se])}}i.exports=MockPool},28149:i=>{i.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected")}},61725:(i,d,p)=>{const{MockNotMatchedError:v}=p(35445);const{kDispatches:V,kMockAgent:K,kOriginalDispatch:ee,kOrigin:te,kGetNetConnect:re}=p(28149);const{buildURL:ne}=p(31544);const{STATUS_CODES:se}=p(37067);const{types:{isPromise:ie}}=p(57975);function matchValue(i,d){if(typeof i==="string"){return i===d}if(i instanceof RegExp){return i.test(d)}if(typeof i==="function"){return i(d)===true}return false}function lowerCaseEntries(i){return Object.fromEntries(Object.entries(i).map((([i,d])=>[i.toLocaleLowerCase(),d])))}function getHeaderByName(i,d){if(Array.isArray(i)){for(let p=0;p!i)).filter((({path:i})=>matchValue(safeUrl(i),V)));if(K.length===0){throw new v(`Mock dispatch not matched for path '${V}'`)}K=K.filter((({method:i})=>matchValue(i,d.method)));if(K.length===0){throw new v(`Mock dispatch not matched for method '${d.method}' on path '${V}'`)}K=K.filter((({body:i})=>typeof i!=="undefined"?matchValue(i,d.body):true));if(K.length===0){throw new v(`Mock dispatch not matched for body '${d.body}' on path '${V}'`)}K=K.filter((i=>matchHeaders(i,d.headers)));if(K.length===0){const i=typeof d.headers==="object"?JSON.stringify(d.headers):d.headers;throw new v(`Mock dispatch not matched for headers '${i}' on path '${V}'`)}return K[0]}function addMockDispatch(i,d,p){const v={timesInvoked:0,times:1,persist:false,consumed:false};const V=typeof p==="function"?{callback:p}:{...p};const K={...v,...d,pending:true,data:{error:null,...V}};i.push(K);return K}function deleteMockDispatch(i,d){const p=i.findIndex((i=>{if(!i.consumed){return false}return matchKey(i,d)}));if(p!==-1){i.splice(p,1)}}function buildKey(i){const{path:d,method:p,body:v,headers:V,query:K}=i;return{path:d,method:p,body:v,headers:V,query:K}}function generateKeyValues(i){const d=Object.keys(i);const p=[];for(let v=0;v=Ae;v.pending=ae0){setTimeout((()=>{handleReply(this[V])}),se)}else{handleReply(this[V])}function handleReply(v,V=ee){const ne=Array.isArray(i.headers)?buildHeadersFromArray(i.headers):i.headers;const se=typeof V==="function"?V({...i,headers:ne}):V;if(ie(se)){se.then((i=>handleReply(v,i)));return}const oe=getResponseData(se);const ae=generateKeyValues(te);const Ae=generateKeyValues(re);d.onConnect?.((i=>d.onError(i)),null);d.onHeaders?.(K,ae,resume,getStatusText(K));d.onData?.(Buffer.from(oe));d.onComplete?.(Ae);deleteMockDispatch(v,p)}function resume(){}return true}function buildMockDispatch(){const i=this[K];const d=this[te];const p=this[ee];return function dispatch(V,K){if(i.isMockActive){try{mockDispatch.call(this,V,K)}catch(ee){if(ee instanceof v){const te=i[re]();if(te===false){throw new v(`${ee.message}: subsequent request to origin ${d} was not allowed (net.connect disabled)`)}if(checkNetConnect(te,d)){p.call(this,V,K)}else{throw new v(`${ee.message}: subsequent request to origin ${d} was not allowed (net.connect is not enabled for this origin)`)}}else{throw ee}}}else{p.call(this,V,K)}}}function checkNetConnect(i,d){const p=new URL(d);if(i===true){return true}else if(Array.isArray(i)&&i.some((i=>matchValue(i,p.host)))){return true}return false}function buildMockOptions(i){if(i){const{agent:d,...p}=i;return p}}i.exports={getResponseData:getResponseData,getMockDispatch:getMockDispatch,addMockDispatch:addMockDispatch,deleteMockDispatch:deleteMockDispatch,buildKey:buildKey,generateKeyValues:generateKeyValues,matchValue:matchValue,getResponse:getResponse,getStatusText:getStatusText,mockDispatch:mockDispatch,buildMockDispatch:buildMockDispatch,checkNetConnect:checkNetConnect,buildMockOptions:buildMockOptions,getHeaderByName:getHeaderByName,buildHeadersFromArray:buildHeadersFromArray}},31030:(i,d,p)=>{const{Transform:v}=p(57075);const{Console:V}=p(37540);const K=process.versions.icu?"✅":"Y ";const ee=process.versions.icu?"❌":"N ";i.exports=class PendingInterceptorsFormatter{constructor({disableColors:i}={}){this.transform=new v({transform(i,d,p){p(null,i)}});this.logger=new V({stdout:this.transform,inspectOptions:{colors:!i&&!process.env.CI}})}format(i){const d=i.map((({method:i,path:d,data:{statusCode:p},persist:v,times:V,timesInvoked:te,origin:re})=>({Method:i,Origin:re,Path:d,"Status code":p,Persistent:v?K:ee,Invocations:te,Remaining:v?Infinity:V-te})));this.logger.table(d);return this.transform.read().toString()}}},98353:i=>{const d={pronoun:"it",is:"is",was:"was",this:"this"};const p={pronoun:"they",is:"are",was:"were",this:"these"};i.exports=class Pluralizer{constructor(i,d){this.singular=i;this.plural=d}pluralize(i){const v=i===1;const V=v?d:p;const K=v?this.singular:this.plural;return{...V,count:i,noun:K}}}},92563:i=>{let d=0;const p=1e3;const v=(p>>1)-1;let V;const K=Symbol("kFastTimer");const ee=[];const te=-2;const re=-1;const ne=0;const se=1;function onTick(){d+=v;let i=0;let p=ee.length;while(i=V._idleStart+V._idleTimeout){V._state=re;V._idleStart=-1;V._onTimeout(V._timerArg)}if(V._state===re){V._state=te;if(--p!==0){ee[i]=ee[p]}}else{++i}}ee.length=p;if(ee.length!==0){refreshTimeout()}}function refreshTimeout(){if(V){V.refresh()}else{clearTimeout(V);V=setTimeout(onTick,v);if(V.unref){V.unref()}}}class FastTimer{[K]=true;_state=te;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(i,d,p){this._onTimeout=i;this._idleTimeout=d;this._timerArg=p;this.refresh()}refresh(){if(this._state===te){ee.push(this)}if(!V||ee.length===1){refreshTimeout()}this._state=ne}clear(){this._state=re;this._idleStart=-1}}i.exports={setTimeout(i,d,v){return d<=p?setTimeout(i,d,v):new FastTimer(i,d,v)},clearTimeout(i){if(i[K]){i.clear()}else{clearTimeout(i)}},setFastTimeout(i,d,p){return new FastTimer(i,d,p)},clearFastTimeout(i){i.clear()},now(){return d},tick(i=0){d+=i-p+1;onTick();onTick()},reset(){d=0;ee.length=0;clearTimeout(V);V=null},kFastTimer:K}},4330:(i,d,p)=>{const{kConstruct:v}=p(87589);const{urlEquals:V,getFieldValues:K}=p(40102);const{kEnumerableProperty:ee,isDisturbed:te}=p(31544);const{webidl:re}=p(10253);const{Response:ne,cloneResponse:se,fromInnerResponse:ie}=p(9107);const{Request:oe,fromInnerRequest:ae}=p(46055);const{kState:Ae}=p(64883);const{fetching:ce}=p(47302);const{urlIsHttpHttpsScheme:le,createDeferredPromise:ue,readAllBytes:de}=p(14296);const he=p(34589);class Cache{#k;constructor(){if(arguments[0]!==v){re.illegalConstructor()}re.util.markAsUncloneable(this);this.#k=arguments[1]}async match(i,d={}){re.brandCheck(this,Cache);const p="Cache.match";re.argumentLengthCheck(arguments,1,p);i=re.converters.RequestInfo(i,p,"request");d=re.converters.CacheQueryOptions(d,p,"options");const v=this.#T(i,d,1);if(v.length===0){return}return v[0]}async matchAll(i=undefined,d={}){re.brandCheck(this,Cache);const p="Cache.matchAll";if(i!==undefined)i=re.converters.RequestInfo(i,p,"request");d=re.converters.CacheQueryOptions(d,p,"options");return this.#T(i,d)}async add(i){re.brandCheck(this,Cache);const d="Cache.add";re.argumentLengthCheck(arguments,1,d);i=re.converters.RequestInfo(i,d,"request");const p=[i];const v=this.addAll(p);return await v}async addAll(i){re.brandCheck(this,Cache);const d="Cache.addAll";re.argumentLengthCheck(arguments,1,d);const p=[];const v=[];for(let p of i){if(p===undefined){throw re.errors.conversionFailed({prefix:d,argument:"Argument 1",types:["undefined is not allowed"]})}p=re.converters.RequestInfo(p);if(typeof p==="string"){continue}const i=p[Ae];if(!le(i.url)||i.method!=="GET"){throw re.errors.exception({header:d,message:"Expected http/s scheme when method is not GET."})}}const V=[];for(const ee of i){const i=new oe(ee)[Ae];if(!le(i.url)){throw re.errors.exception({header:d,message:"Expected http/s scheme."})}i.initiator="fetch";i.destination="subresource";v.push(i);const te=ue();V.push(ce({request:i,processResponse(i){if(i.type==="error"||i.status===206||i.status<200||i.status>299){te.reject(re.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}))}else if(i.headersList.contains("vary")){const d=K(i.headersList.get("vary"));for(const i of d){if(i==="*"){te.reject(re.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(const i of V){i.abort()}return}}}},processResponseEndOfBody(i){if(i.aborted){te.reject(new DOMException("aborted","AbortError"));return}te.resolve(i)}}));p.push(te.promise)}const ee=Promise.all(p);const te=await ee;const ne=[];let se=0;for(const i of te){const d={type:"put",request:v[se],response:i};ne.push(d);se++}const ie=ue();let ae=null;try{this.#N(ne)}catch(i){ae=i}queueMicrotask((()=>{if(ae===null){ie.resolve(undefined)}else{ie.reject(ae)}}));return ie.promise}async put(i,d){re.brandCheck(this,Cache);const p="Cache.put";re.argumentLengthCheck(arguments,2,p);i=re.converters.RequestInfo(i,p,"request");d=re.converters.Response(d,p,"response");let v=null;if(i instanceof oe){v=i[Ae]}else{v=new oe(i)[Ae]}if(!le(v.url)||v.method!=="GET"){throw re.errors.exception({header:p,message:"Expected an http/s scheme when method is not GET"})}const V=d[Ae];if(V.status===206){throw re.errors.exception({header:p,message:"Got 206 status"})}if(V.headersList.contains("vary")){const i=K(V.headersList.get("vary"));for(const d of i){if(d==="*"){throw re.errors.exception({header:p,message:"Got * vary field value"})}}}if(V.body&&(te(V.body.stream)||V.body.stream.locked)){throw re.errors.exception({header:p,message:"Response body is locked or disturbed"})}const ee=se(V);const ne=ue();if(V.body!=null){const i=V.body.stream;const d=i.getReader();de(d).then(ne.resolve,ne.reject)}else{ne.resolve(undefined)}const ie=[];const ae={type:"put",request:v,response:ee};ie.push(ae);const ce=await ne.promise;if(ee.body!=null){ee.body.source=ce}const he=ue();let fe=null;try{this.#N(ie)}catch(i){fe=i}queueMicrotask((()=>{if(fe===null){he.resolve()}else{he.reject(fe)}}));return he.promise}async delete(i,d={}){re.brandCheck(this,Cache);const p="Cache.delete";re.argumentLengthCheck(arguments,1,p);i=re.converters.RequestInfo(i,p,"request");d=re.converters.CacheQueryOptions(d,p,"options");let v=null;if(i instanceof oe){v=i[Ae];if(v.method!=="GET"&&!d.ignoreMethod){return false}}else{he(typeof i==="string");v=new oe(i)[Ae]}const V=[];const K={type:"delete",request:v,options:d};V.push(K);const ee=ue();let te=null;let ne;try{ne=this.#N(V)}catch(i){te=i}queueMicrotask((()=>{if(te===null){ee.resolve(!!ne?.length)}else{ee.reject(te)}}));return ee.promise}async keys(i=undefined,d={}){re.brandCheck(this,Cache);const p="Cache.keys";if(i!==undefined)i=re.converters.RequestInfo(i,p,"request");d=re.converters.CacheQueryOptions(d,p,"options");let v=null;if(i!==undefined){if(i instanceof oe){v=i[Ae];if(v.method!=="GET"&&!d.ignoreMethod){return[]}}else if(typeof i==="string"){v=new oe(i)[Ae]}}const V=ue();const K=[];if(i===undefined){for(const i of this.#k){K.push(i[0])}}else{const i=this.#D(v,d);for(const d of i){K.push(d[0])}}queueMicrotask((()=>{const i=[];for(const d of K){const p=ae(d,(new AbortController).signal,"immutable");i.push(p)}V.resolve(Object.freeze(i))}));return V.promise}#N(i){const d=this.#k;const p=[...d];const v=[];const V=[];try{for(const p of i){if(p.type!=="delete"&&p.type!=="put"){throw re.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'})}if(p.type==="delete"&&p.response!=null){throw re.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"})}if(this.#D(p.request,p.options,v).length){throw new DOMException("???","InvalidStateError")}let i;if(p.type==="delete"){i=this.#D(p.request,p.options);if(i.length===0){return[]}for(const p of i){const i=d.indexOf(p);he(i!==-1);d.splice(i,1)}}else if(p.type==="put"){if(p.response==null){throw re.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"})}const V=p.request;if(!le(V.url)){throw re.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"})}if(V.method!=="GET"){throw re.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"})}if(p.options!=null){throw re.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"})}i=this.#D(p.request);for(const p of i){const i=d.indexOf(p);he(i!==-1);d.splice(i,1)}d.push([p.request,p.response]);v.push([p.request,p.response])}V.push([p.request,p.response])}return V}catch(i){this.#k.length=0;this.#k=p;throw i}}#D(i,d,p){const v=[];const V=p??this.#k;for(const p of V){const[V,K]=p;if(this.#x(i,V,K,d)){v.push(p)}}return v}#x(i,d,p=null,v){const ee=new URL(i.url);const te=new URL(d.url);if(v?.ignoreSearch){te.search="";ee.search=""}if(!V(ee,te,true)){return false}if(p==null||v?.ignoreVary||!p.headersList.contains("vary")){return true}const re=K(p.headersList.get("vary"));for(const p of re){if(p==="*"){return false}const v=d.headersList.get(p);const V=i.headersList.get(p);if(v!==V){return false}}return true}#T(i,d,p=Infinity){let v=null;if(i!==undefined){if(i instanceof oe){v=i[Ae];if(v.method!=="GET"&&!d.ignoreMethod){return[]}}else if(typeof i==="string"){v=new oe(i)[Ae]}}const V=[];if(i===undefined){for(const i of this.#k){V.push(i[1])}}else{const i=this.#D(v,d);for(const d of i){V.push(d[1])}}const K=[];for(const i of V){const d=ie(i,"immutable");K.push(d.clone());if(K.length>=p){break}}return Object.freeze(K)}}Object.defineProperties(Cache.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:true},match:ee,matchAll:ee,add:ee,addAll:ee,put:ee,delete:ee,keys:ee});const fe=[{key:"ignoreSearch",converter:re.converters.boolean,defaultValue:()=>false},{key:"ignoreMethod",converter:re.converters.boolean,defaultValue:()=>false},{key:"ignoreVary",converter:re.converters.boolean,defaultValue:()=>false}];re.converters.CacheQueryOptions=re.dictionaryConverter(fe);re.converters.MultiCacheQueryOptions=re.dictionaryConverter([...fe,{key:"cacheName",converter:re.converters.DOMString}]);re.converters.Response=re.interfaceConverter(ne);re.converters["sequence"]=re.sequenceConverter(re.converters.RequestInfo);i.exports={Cache:Cache}},76949:(i,d,p)=>{const{kConstruct:v}=p(87589);const{Cache:V}=p(4330);const{webidl:K}=p(10253);const{kEnumerableProperty:ee}=p(31544);class CacheStorage{#F=new Map;constructor(){if(arguments[0]!==v){K.illegalConstructor()}K.util.markAsUncloneable(this)}async match(i,d={}){K.brandCheck(this,CacheStorage);K.argumentLengthCheck(arguments,1,"CacheStorage.match");i=K.converters.RequestInfo(i);d=K.converters.MultiCacheQueryOptions(d);if(d.cacheName!=null){if(this.#F.has(d.cacheName)){const p=this.#F.get(d.cacheName);const K=new V(v,p);return await K.match(i,d)}}else{for(const p of this.#F.values()){const K=new V(v,p);const ee=await K.match(i,d);if(ee!==undefined){return ee}}}}async has(i){K.brandCheck(this,CacheStorage);const d="CacheStorage.has";K.argumentLengthCheck(arguments,1,d);i=K.converters.DOMString(i,d,"cacheName");return this.#F.has(i)}async open(i){K.brandCheck(this,CacheStorage);const d="CacheStorage.open";K.argumentLengthCheck(arguments,1,d);i=K.converters.DOMString(i,d,"cacheName");if(this.#F.has(i)){const d=this.#F.get(i);return new V(v,d)}const p=[];this.#F.set(i,p);return new V(v,p)}async delete(i){K.brandCheck(this,CacheStorage);const d="CacheStorage.delete";K.argumentLengthCheck(arguments,1,d);i=K.converters.DOMString(i,d,"cacheName");return this.#F.delete(i)}async keys(){K.brandCheck(this,CacheStorage);const i=this.#F.keys();return[...i]}}Object.defineProperties(CacheStorage.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:true},match:ee,has:ee,open:ee,delete:ee,keys:ee});i.exports={CacheStorage:CacheStorage}},87589:(i,d,p)=>{i.exports={kConstruct:p(99411).kConstruct}},40102:(i,d,p)=>{const v=p(34589);const{URLSerializer:V}=p(90980);const{isValidHeaderName:K}=p(14296);function urlEquals(i,d,p=false){const v=V(i,p);const K=V(d,p);return v===K}function getFieldValues(i){v(i!==null);const d=[];for(let p of i.split(",")){p=p.trim();if(K(p)){d.push(p)}}return d}i.exports={urlEquals:urlEquals,getFieldValues:getFieldValues}},6820:i=>{const d=1024;const p=4096;i.exports={maxAttributeValueSize:d,maxNameValuePairSize:p}},35437:(i,d,p)=>{const{parseSetCookie:v}=p(42802);const{stringify:V}=p(35613);const{webidl:K}=p(10253);const{Headers:ee}=p(83676);function getCookies(i){K.argumentLengthCheck(arguments,1,"getCookies");K.brandCheck(i,ee,{strict:false});const d=i.get("cookie");const p={};if(!d){return p}for(const i of d.split(";")){const[d,...v]=i.split("=");p[d.trim()]=v.join("=")}return p}function deleteCookie(i,d,p){K.brandCheck(i,ee,{strict:false});const v="deleteCookie";K.argumentLengthCheck(arguments,2,v);d=K.converters.DOMString(d,v,"name");p=K.converters.DeleteCookieAttributes(p);setCookie(i,{name:d,value:"",expires:new Date(0),...p})}function getSetCookies(i){K.argumentLengthCheck(arguments,1,"getSetCookies");K.brandCheck(i,ee,{strict:false});const d=i.getSetCookie();if(!d){return[]}return d.map((i=>v(i)))}function setCookie(i,d){K.argumentLengthCheck(arguments,2,"setCookie");K.brandCheck(i,ee,{strict:false});d=K.converters.Cookie(d);const p=V(d);if(p){i.append("Set-Cookie",p)}}K.converters.DeleteCookieAttributes=K.dictionaryConverter([{converter:K.nullableConverter(K.converters.DOMString),key:"path",defaultValue:()=>null},{converter:K.nullableConverter(K.converters.DOMString),key:"domain",defaultValue:()=>null}]);K.converters.Cookie=K.dictionaryConverter([{converter:K.converters.DOMString,key:"name"},{converter:K.converters.DOMString,key:"value"},{converter:K.nullableConverter((i=>{if(typeof i==="number"){return K.converters["unsigned long long"](i)}return new Date(i)})),key:"expires",defaultValue:()=>null},{converter:K.nullableConverter(K.converters["long long"]),key:"maxAge",defaultValue:()=>null},{converter:K.nullableConverter(K.converters.DOMString),key:"domain",defaultValue:()=>null},{converter:K.nullableConverter(K.converters.DOMString),key:"path",defaultValue:()=>null},{converter:K.nullableConverter(K.converters.boolean),key:"secure",defaultValue:()=>null},{converter:K.nullableConverter(K.converters.boolean),key:"httpOnly",defaultValue:()=>null},{converter:K.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:K.sequenceConverter(K.converters.DOMString),key:"unparsed",defaultValue:()=>new Array(0)}]);i.exports={getCookies:getCookies,deleteCookie:deleteCookie,getSetCookies:getSetCookies,setCookie:setCookie}},42802:(i,d,p)=>{const{maxNameValuePairSize:v,maxAttributeValueSize:V}=p(6820);const{isCTLExcludingHtab:K}=p(35613);const{collectASequenceOfCodePointsFast:ee}=p(90980);const te=p(34589);function parseSetCookie(i){if(K(i)){return null}let d="";let p="";let V="";let te="";if(i.includes(";")){const v={position:0};d=ee(";",i,v);p=i.slice(v.position)}else{d=i}if(!d.includes("=")){te=d}else{const i={position:0};V=ee("=",d,i);te=d.slice(i.position+1)}V=V.trim();te=te.trim();if(V.length+te.length>v){return null}return{name:V,value:te,...parseUnparsedAttributes(p)}}function parseUnparsedAttributes(i,d={}){if(i.length===0){return d}te(i[0]===";");i=i.slice(1);let p="";if(i.includes(";")){p=ee(";",i,{position:0});i=i.slice(p.length)}else{p=i;i=""}let v="";let K="";if(p.includes("=")){const i={position:0};v=ee("=",p,i);K=p.slice(i.position+1)}else{v=p}v=v.trim();K=K.trim();if(K.length>V){return parseUnparsedAttributes(i,d)}const re=v.toLowerCase();if(re==="expires"){const i=new Date(K);d.expires=i}else if(re==="max-age"){const p=K.charCodeAt(0);if((p<48||p>57)&&K[0]!=="-"){return parseUnparsedAttributes(i,d)}if(!/^\d+$/.test(K)){return parseUnparsedAttributes(i,d)}const v=Number(K);d.maxAge=v}else if(re==="domain"){let i=K;if(i[0]==="."){i=i.slice(1)}i=i.toLowerCase();d.domain=i}else if(re==="path"){let i="";if(K.length===0||K[0]!=="/"){i="/"}else{i=K}d.path=i}else if(re==="secure"){d.secure=true}else if(re==="httponly"){d.httpOnly=true}else if(re==="samesite"){let i="Default";const p=K.toLowerCase();if(p.includes("none")){i="None"}if(p.includes("strict")){i="Strict"}if(p.includes("lax")){i="Lax"}d.sameSite=i}else{d.unparsed??=[];d.unparsed.push(`${v}=${K}`)}return parseUnparsedAttributes(i,d)}i.exports={parseSetCookie:parseSetCookie,parseUnparsedAttributes:parseUnparsedAttributes}},35613:i=>{function isCTLExcludingHtab(i){for(let d=0;d=0&&p<=8||p>=10&&p<=31||p===127){return true}}return false}function validateCookieName(i){for(let d=0;d126||p===34||p===40||p===41||p===60||p===62||p===64||p===44||p===59||p===58||p===92||p===47||p===91||p===93||p===63||p===61||p===123||p===125){throw new Error("Invalid cookie name")}}}function validateCookieValue(i){let d=i.length;let p=0;if(i[0]==='"'){if(d===1||i[d-1]!=='"'){throw new Error("Invalid cookie value")}--d;++p}while(p126||d===34||d===44||d===59||d===92){throw new Error("Invalid cookie value")}}}function validateCookiePath(i){for(let d=0;dd.toString().padStart(2,"0")));function toIMFDate(i){if(typeof i==="number"){i=new Date(i)}return`${d[i.getUTCDay()]}, ${v[i.getUTCDate()]} ${p[i.getUTCMonth()]} ${i.getUTCFullYear()} ${v[i.getUTCHours()]}:${v[i.getUTCMinutes()]}:${v[i.getUTCSeconds()]} GMT`}function validateCookieMaxAge(i){if(i<0){throw new Error("Invalid cookie max-age")}}function stringify(i){if(i.name.length===0){return null}validateCookieName(i.name);validateCookieValue(i.value);const d=[`${i.name}=${i.value}`];if(i.name.startsWith("__Secure-")){i.secure=true}if(i.name.startsWith("__Host-")){i.secure=true;i.domain=null;i.path="/"}if(i.secure){d.push("Secure")}if(i.httpOnly){d.push("HttpOnly")}if(typeof i.maxAge==="number"){validateCookieMaxAge(i.maxAge);d.push(`Max-Age=${i.maxAge}`)}if(i.domain){validateCookieDomain(i.domain);d.push(`Domain=${i.domain}`)}if(i.path){validateCookiePath(i.path);d.push(`Path=${i.path}`)}if(i.expires&&i.expires.toString()!=="Invalid Date"){d.push(`Expires=${toIMFDate(i.expires)}`)}if(i.sameSite){d.push(`SameSite=${i.sameSite}`)}for(const p of i.unparsed){if(!p.includes("=")){throw new Error("Invalid unparsed")}const[i,...v]=p.split("=");d.push(`${i.trim()}=${v.join("=")}`)}return d.join("; ")}i.exports={isCTLExcludingHtab:isCTLExcludingHtab,validateCookieName:validateCookieName,validateCookiePath:validateCookiePath,validateCookieValue:validateCookieValue,toIMFDate:toIMFDate,stringify:stringify}},82455:(i,d,p)=>{const{Transform:v}=p(57075);const{isASCIINumber:V,isValidLastEventId:K}=p(76627);const ee=[239,187,191];const te=10;const re=13;const ne=58;const se=32;class EventSourceStream extends v{state=null;checkBOM=true;crlfCheck=false;eventEndCheck=false;buffer=null;pos=0;event={data:undefined,event:undefined,id:undefined,retry:undefined};constructor(i={}){i.readableObjectMode=true;super(i);this.state=i.eventSourceSettings||{};if(i.push){this.push=i.push}}_transform(i,d,p){if(i.length===0){p();return}if(this.buffer){this.buffer=Buffer.concat([this.buffer,i])}else{this.buffer=i}if(this.checkBOM){switch(this.buffer.length){case 1:if(this.buffer[0]===ee[0]){p();return}this.checkBOM=false;p();return;case 2:if(this.buffer[0]===ee[0]&&this.buffer[1]===ee[1]){p();return}this.checkBOM=false;break;case 3:if(this.buffer[0]===ee[0]&&this.buffer[1]===ee[1]&&this.buffer[2]===ee[2]){this.buffer=Buffer.alloc(0);this.checkBOM=false;p();return}this.checkBOM=false;break;default:if(this.buffer[0]===ee[0]&&this.buffer[1]===ee[1]&&this.buffer[2]===ee[2]){this.buffer=this.buffer.subarray(3)}this.checkBOM=false;break}}while(this.pos0){d[v]=ee}break}}processEvent(i){if(i.retry&&V(i.retry)){this.state.reconnectionTime=parseInt(i.retry,10)}if(i.id&&K(i.id)){this.state.lastEventId=i.id}if(i.data!==undefined){this.push({type:i.event||"message",options:{data:i.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}}clearEvent(){this.event={data:undefined,event:undefined,id:undefined,retry:undefined}}}i.exports={EventSourceStream:EventSourceStream}},46942:(i,d,p)=>{const{pipeline:v}=p(57075);const{fetching:V}=p(47302);const{makeRequest:K}=p(46055);const{webidl:ee}=p(10253);const{EventSourceStream:te}=p(82455);const{parseMIMEType:re}=p(90980);const{createFastMessageEvent:ne}=p(50044);const{isNetworkError:se}=p(9107);const{delay:ie}=p(76627);const{kEnumerableProperty:oe}=p(31544);const{environmentSettingsObject:ae}=p(14296);let Ae=false;const ce=3e3;const le=0;const ue=1;const de=2;const he="anonymous";const fe="use-credentials";class EventSource extends EventTarget{#P={open:null,error:null,message:null};#L=null;#_=false;#M=le;#U=null;#O=null;#e;#y;constructor(i,d={}){super();ee.util.markAsUncloneable(this);const p="EventSource constructor";ee.argumentLengthCheck(arguments,1,p);if(!Ae){Ae=true;process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})}i=ee.converters.USVString(i,p,"url");d=ee.converters.EventSourceInitDict(d,p,"eventSourceInitDict");this.#e=d.dispatcher;this.#y={lastEventId:"",reconnectionTime:ce};const v=ae;let V;try{V=new URL(i,v.settingsObject.baseUrl);this.#y.origin=V.origin}catch(i){throw new DOMException(i,"SyntaxError")}this.#L=V.href;let te=he;if(d.withCredentials){te=fe;this.#_=true}const re={redirect:"follow",keepalive:true,mode:"cors",credentials:te==="anonymous"?"same-origin":"omit",referrer:"no-referrer"};re.client=ae.settingsObject;re.headersList=[["accept",{name:"accept",value:"text/event-stream"}]];re.cache="no-store";re.initiator="other";re.urlList=[new URL(this.#L)];this.#U=K(re);this.#H()}get readyState(){return this.#M}get url(){return this.#L}get withCredentials(){return this.#_}#H(){if(this.#M===de)return;this.#M=le;const i={request:this.#U,dispatcher:this.#e};const processEventSourceEndOfBody=i=>{if(se(i)){this.dispatchEvent(new Event("error"));this.close()}this.#G()};i.processResponseEndOfBody=processEventSourceEndOfBody;i.processResponse=i=>{if(se(i)){if(i.aborted){this.close();this.dispatchEvent(new Event("error"));return}else{this.#G();return}}const d=i.headersList.get("content-type",true);const p=d!==null?re(d):"failure";const V=p!=="failure"&&p.essence==="text/event-stream";if(i.status!==200||V===false){this.close();this.dispatchEvent(new Event("error"));return}this.#M=ue;this.dispatchEvent(new Event("open"));this.#y.origin=i.urlList[i.urlList.length-1].origin;const K=new te({eventSourceSettings:this.#y,push:i=>{this.dispatchEvent(ne(i.type,i.options))}});v(i.body.stream,K,(i=>{if(i?.aborted===false){this.close();this.dispatchEvent(new Event("error"))}}))};this.#O=V(i)}async#G(){if(this.#M===de)return;this.#M=le;this.dispatchEvent(new Event("error"));await ie(this.#y.reconnectionTime);if(this.#M!==le)return;if(this.#y.lastEventId.length){this.#U.headersList.set("last-event-id",this.#y.lastEventId,true)}this.#H()}close(){ee.brandCheck(this,EventSource);if(this.#M===de)return;this.#M=de;this.#O.abort();this.#U=null}get onopen(){return this.#P.open}set onopen(i){if(this.#P.open){this.removeEventListener("open",this.#P.open)}if(typeof i==="function"){this.#P.open=i;this.addEventListener("open",i)}else{this.#P.open=null}}get onmessage(){return this.#P.message}set onmessage(i){if(this.#P.message){this.removeEventListener("message",this.#P.message)}if(typeof i==="function"){this.#P.message=i;this.addEventListener("message",i)}else{this.#P.message=null}}get onerror(){return this.#P.error}set onerror(i){if(this.#P.error){this.removeEventListener("error",this.#P.error)}if(typeof i==="function"){this.#P.error=i;this.addEventListener("error",i)}else{this.#P.error=null}}}const ge={CONNECTING:{__proto__:null,configurable:false,enumerable:true,value:le,writable:false},OPEN:{__proto__:null,configurable:false,enumerable:true,value:ue,writable:false},CLOSED:{__proto__:null,configurable:false,enumerable:true,value:de,writable:false}};Object.defineProperties(EventSource,ge);Object.defineProperties(EventSource.prototype,ge);Object.defineProperties(EventSource.prototype,{close:oe,onerror:oe,onmessage:oe,onopen:oe,readyState:oe,url:oe,withCredentials:oe});ee.converters.EventSourceInitDict=ee.dictionaryConverter([{key:"withCredentials",converter:ee.converters.boolean,defaultValue:()=>false},{key:"dispatcher",converter:ee.converters.any}]);i.exports={EventSource:EventSource,defaultReconnectionTime:ce}},76627:i=>{function isValidLastEventId(i){return i.indexOf("\0")===-1}function isASCIINumber(i){if(i.length===0)return false;for(let d=0;d57)return false}return true}function delay(i){return new Promise((d=>{setTimeout(d,i).unref()}))}i.exports={isValidLastEventId:isValidLastEventId,isASCIINumber:isASCIINumber,delay:delay}},18900:(i,d,p)=>{const v=p(31544);const{ReadableStreamFrom:V,isBlobLike:K,isReadableStreamLike:ee,readableStreamClose:te,createDeferredPromise:re,fullyReadBody:ne,extractMimeType:se,utf8DecodeBytes:ie}=p(14296);const{FormData:oe}=p(79662);const{kState:ae}=p(64883);const{webidl:Ae}=p(10253);const{Blob:ce}=p(4573);const le=p(34589);const{isErrored:ue,isDisturbed:de}=p(57075);const{isArrayBuffer:he}=p(73429);const{serializeAMimeType:fe}=p(90980);const{multipartFormDataParser:ge}=p(93100);let pe;try{const i=p(77598);pe=d=>i.randomInt(0,d)}catch{pe=i=>Math.floor(Math.random(i))}const me=new TextEncoder;function noop(){}const Ee=globalThis.FinalizationRegistry&&process.version.indexOf("v18")!==0;let Ce;if(Ee){Ce=new FinalizationRegistry((i=>{const d=i.deref();if(d&&!d.locked&&!de(d)&&!ue(d)){d.cancel("Response object has been garbage collected").catch(noop)}}))}function extractBody(i,d=false){let p=null;if(i instanceof ReadableStream){p=i}else if(K(i)){p=i.stream()}else{p=new ReadableStream({async pull(i){const d=typeof ne==="string"?me.encode(ne):ne;if(d.byteLength){i.enqueue(d)}queueMicrotask((()=>te(i)))},start(){},type:"bytes"})}le(ee(p));let re=null;let ne=null;let se=null;let ie=null;if(typeof i==="string"){ne=i;ie="text/plain;charset=UTF-8"}else if(i instanceof URLSearchParams){ne=i.toString();ie="application/x-www-form-urlencoded;charset=UTF-8"}else if(he(i)){ne=new Uint8Array(i.slice())}else if(ArrayBuffer.isView(i)){ne=new Uint8Array(i.buffer.slice(i.byteOffset,i.byteOffset+i.byteLength))}else if(v.isFormDataLike(i)){const d=`----formdata-undici-0${`${pe(1e11)}`.padStart(11,"0")}`;const p=`--${d}\r\nContent-Disposition: form-data` +/*! formdata-polyfill. MIT License. Jimmy Wärting */;const escape=i=>i.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=i=>i.replace(/\r?\n|\r/g,"\r\n");const v=[];const V=new Uint8Array([13,10]);se=0;let K=false;for(const[d,ee]of i){if(typeof ee==="string"){const i=me.encode(p+`; name="${escape(normalizeLinefeeds(d))}"`+`\r\n\r\n${normalizeLinefeeds(ee)}\r\n`);v.push(i);se+=i.byteLength}else{const i=me.encode(`${p}; name="${escape(normalizeLinefeeds(d))}"`+(ee.name?`; filename="${escape(ee.name)}"`:"")+"\r\n"+`Content-Type: ${ee.type||"application/octet-stream"}\r\n\r\n`);v.push(i,ee,V);if(typeof ee.size==="number"){se+=i.byteLength+ee.size+V.byteLength}else{K=true}}}const ee=me.encode(`--${d}--\r\n`);v.push(ee);se+=ee.byteLength;if(K){se=null}ne=i;re=async function*(){for(const i of v){if(i.stream){yield*i.stream()}else{yield i}}};ie=`multipart/form-data; boundary=${d}`}else if(K(i)){ne=i;se=i.size;if(i.type){ie=i.type}}else if(typeof i[Symbol.asyncIterator]==="function"){if(d){throw new TypeError("keepalive")}if(v.isDisturbed(i)||i.locked){throw new TypeError("Response body object should not be disturbed or locked")}p=i instanceof ReadableStream?i:V(i)}if(typeof ne==="string"||v.isBuffer(ne)){se=Buffer.byteLength(ne)}if(re!=null){let d;p=new ReadableStream({async start(){d=re(i)[Symbol.asyncIterator]()},async pull(i){const{value:v,done:V}=await d.next();if(V){queueMicrotask((()=>{i.close();i.byobRequest?.respond(0)}))}else{if(!ue(p)){const d=new Uint8Array(v);if(d.byteLength){i.enqueue(d)}}}return i.desiredSize>0},async cancel(i){await d.return()},type:"bytes"})}const oe={stream:p,source:ne,length:se};return[oe,ie]}function safelyExtractBody(i,d=false){if(i instanceof ReadableStream){le(!v.isDisturbed(i),"The body has already been consumed.");le(!i.locked,"The stream is locked.")}return extractBody(i,d)}function cloneBody(i,d){const[p,v]=d.stream.tee();d.stream=p;return{stream:v,length:d.length,source:d.source}}function throwIfAborted(i){if(i.aborted){throw new DOMException("The operation was aborted.","AbortError")}}function bodyMixinMethods(i){const d={blob(){return consumeBody(this,(i=>{let d=bodyMimeType(this);if(d===null){d=""}else if(d){d=fe(d)}return new ce([i],{type:d})}),i)},arrayBuffer(){return consumeBody(this,(i=>new Uint8Array(i).buffer),i)},text(){return consumeBody(this,ie,i)},json(){return consumeBody(this,parseJSONFromBytes,i)},formData(){return consumeBody(this,(i=>{const d=bodyMimeType(this);if(d!==null){switch(d.essence){case"multipart/form-data":{const p=ge(i,d);if(p==="failure"){throw new TypeError("Failed to parse body as FormData.")}const v=new oe;v[ae]=p;return v}case"application/x-www-form-urlencoded":{const d=new URLSearchParams(i.toString());const p=new oe;for(const[i,v]of d){p.append(i,v)}return p}}}throw new TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')}),i)},bytes(){return consumeBody(this,(i=>new Uint8Array(i)),i)}};return d}function mixinBody(i){Object.assign(i.prototype,bodyMixinMethods(i))}async function consumeBody(i,d,p){Ae.brandCheck(i,p);if(bodyUnusable(i)){throw new TypeError("Body is unusable: Body has already been read")}throwIfAborted(i[ae]);const v=re();const errorSteps=i=>v.reject(i);const successSteps=i=>{try{v.resolve(d(i))}catch(i){errorSteps(i)}};if(i[ae].body==null){successSteps(Buffer.allocUnsafe(0));return v.promise}await ne(i[ae].body,successSteps,errorSteps);return v.promise}function bodyUnusable(i){const d=i[ae].body;return d!=null&&(d.stream.locked||v.isDisturbed(d.stream))}function parseJSONFromBytes(i){return JSON.parse(ie(i))}function bodyMimeType(i){const d=i[ae].headersList;const p=se(d);if(p==="failure"){return null}return p}i.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody,streamRegistry:Ce,hasFinalizationRegistry:Ee,bodyUnusable:bodyUnusable}},61207:i=>{const d=["GET","HEAD","POST"];const p=new Set(d);const v=[101,204,205,304];const V=[301,302,303,307,308];const K=new Set(V);const ee=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","4190","5060","5061","6000","6566","6665","6666","6667","6668","6669","6679","6697","10080"];const te=new Set(ee);const re=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"];const ne=new Set(re);const se=["follow","manual","error"];const ie=["GET","HEAD","OPTIONS","TRACE"];const oe=new Set(ie);const ae=["navigate","same-origin","no-cors","cors"];const Ae=["omit","same-origin","include"];const ce=["default","no-store","reload","no-cache","force-cache","only-if-cached"];const le=["content-encoding","content-language","content-location","content-type","content-length"];const ue=["half"];const de=["CONNECT","TRACE","TRACK"];const he=new Set(de);const fe=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""];const ge=new Set(fe);i.exports={subresource:fe,forbiddenMethods:de,requestBodyHeader:le,referrerPolicy:re,requestRedirect:se,requestMode:ae,requestCredentials:Ae,requestCache:ce,redirectStatus:V,corsSafeListedMethods:d,nullBodyStatus:v,safeMethods:ie,badPorts:ee,requestDuplex:ue,subresourceSet:ge,badPortsSet:te,redirectStatusSet:K,corsSafeListedMethodsSet:p,safeMethodsSet:oe,forbiddenMethodsSet:he,referrerPolicySet:ne}},90980:(i,d,p)=>{const v=p(34589);const V=new TextEncoder;const K=/^[!#$%&'*+\-.^_|~A-Za-z0-9]+$/;const ee=/[\u000A\u000D\u0009\u0020]/;const te=/[\u0009\u000A\u000C\u000D\u0020]/g;const re=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/;function dataURLProcessor(i){v(i.protocol==="data:");let d=URLSerializer(i,true);d=d.slice(5);const p={position:0};let V=collectASequenceOfCodePointsFast(",",d,p);const K=V.length;V=removeASCIIWhitespace(V,true,true);if(p.position>=d.length){return"failure"}p.position++;const ee=d.slice(K+1);let te=stringPercentDecode(ee);if(/;(\u0020){0,}base64$/i.test(V)){const i=isomorphicDecode(te);te=forgivingBase64(i);if(te==="failure"){return"failure"}V=V.slice(0,-6);V=V.replace(/(\u0020)+$/,"");V=V.slice(0,-1)}if(V.startsWith(";")){V="text/plain"+V}let re=parseMIMEType(V);if(re==="failure"){re=parseMIMEType("text/plain;charset=US-ASCII")}return{mimeType:re,body:te}}function URLSerializer(i,d=false){if(!d){return i.href}const p=i.href;const v=i.hash.length;const V=v===0?p:p.substring(0,p.length-v);if(!v&&p.endsWith("#")){return V.slice(0,-1)}return V}function collectASequenceOfCodePoints(i,d,p){let v="";while(p.position=48&&i<=57||i>=65&&i<=70||i>=97&&i<=102}function hexByteToNumber(i){return i>=48&&i<=57?i-48:(i&223)-55}function percentDecode(i){const d=i.length;const p=new Uint8Array(d);let v=0;for(let V=0;Vi.length){return"failure"}d.position++;let v=collectASequenceOfCodePointsFast(";",i,d);v=removeHTTPWhitespace(v,false,true);if(v.length===0||!K.test(v)){return"failure"}const V=p.toLowerCase();const te=v.toLowerCase();const ne={type:V,subtype:te,parameters:new Map,essence:`${V}/${te}`};while(d.positionee.test(i)),i,d);let p=collectASequenceOfCodePoints((i=>i!==";"&&i!=="="),i,d);p=p.toLowerCase();if(d.positioni.length){break}let v=null;if(i[d.position]==='"'){v=collectAnHTTPQuotedString(i,d,true);collectASequenceOfCodePointsFast(";",i,d)}else{v=collectASequenceOfCodePointsFast(";",i,d);v=removeHTTPWhitespace(v,false,true);if(v.length===0){continue}}if(p.length!==0&&K.test(p)&&(v.length===0||re.test(v))&&!ne.parameters.has(p)){ne.parameters.set(p,v)}}return ne}function forgivingBase64(i){i=i.replace(te,"");let d=i.length;if(d%4===0){if(i.charCodeAt(d-1)===61){--d;if(i.charCodeAt(d-1)===61){--d}}}if(d%4===1){return"failure"}if(/[^+/0-9A-Za-z]/.test(i.length===d?i:i.substring(0,d))){return"failure"}const p=Buffer.from(i,"base64");return new Uint8Array(p.buffer,p.byteOffset,p.byteLength)}function collectAnHTTPQuotedString(i,d,p){const V=d.position;let K="";v(i[d.position]==='"');d.position++;while(true){K+=collectASequenceOfCodePoints((i=>i!=='"'&&i!=="\\"),i,d);if(d.position>=i.length){break}const p=i[d.position];d.position++;if(p==="\\"){if(d.position>=i.length){K+="\\";break}K+=i[d.position];d.position++}else{v(p==='"');break}}if(p){return K}return i.slice(V,d.position)}function serializeAMimeType(i){v(i!=="failure");const{parameters:d,essence:p}=i;let V=p;for(let[i,p]of d.entries()){V+=";";V+=i;V+="=";if(!K.test(p)){p=p.replace(/(\\|")/g,"\\$1");p='"'+p;p+='"'}V+=p}return V}function isHTTPWhiteSpace(i){return i===13||i===10||i===9||i===32}function removeHTTPWhitespace(i,d=true,p=true){return removeChars(i,d,p,isHTTPWhiteSpace)}function isASCIIWhitespace(i){return i===13||i===10||i===9||i===12||i===32}function removeASCIIWhitespace(i,d=true,p=true){return removeChars(i,d,p,isASCIIWhitespace)}function removeChars(i,d,p,v){let V=0;let K=i.length-1;if(d){while(V0&&v(i.charCodeAt(K)))K--}return V===0&&K===i.length-1?i:i.slice(V,K+1)}function isomorphicDecode(i){const d=i.length;if((2<<15)-1>d){return String.fromCharCode.apply(null,i)}let p="";let v=0;let V=(2<<15)-1;while(vd){V=d-v}p+=String.fromCharCode.apply(null,i.subarray(v,v+=V))}return p}function minimizeSupportedMimeType(i){switch(i.essence){case"application/ecmascript":case"application/javascript":case"application/x-ecmascript":case"application/x-javascript":case"text/ecmascript":case"text/javascript":case"text/javascript1.0":case"text/javascript1.1":case"text/javascript1.2":case"text/javascript1.3":case"text/javascript1.4":case"text/javascript1.5":case"text/jscript":case"text/livescript":case"text/x-ecmascript":case"text/x-javascript":return"text/javascript";case"application/json":case"text/json":return"application/json";case"image/svg+xml":return"image/svg+xml";case"text/xml":case"application/xml":return"application/xml"}if(i.subtype.endsWith("+json")){return"application/json"}if(i.subtype.endsWith("+xml")){return"application/xml"}return""}i.exports={dataURLProcessor:dataURLProcessor,URLSerializer:URLSerializer,collectASequenceOfCodePoints:collectASequenceOfCodePoints,collectASequenceOfCodePointsFast:collectASequenceOfCodePointsFast,stringPercentDecode:stringPercentDecode,parseMIMEType:parseMIMEType,collectAnHTTPQuotedString:collectAnHTTPQuotedString,serializeAMimeType:serializeAMimeType,removeChars:removeChars,removeHTTPWhitespace:removeHTTPWhitespace,minimizeSupportedMimeType:minimizeSupportedMimeType,HTTP_TOKEN_CODEPOINTS:K,isomorphicDecode:isomorphicDecode}},40933:(i,d,p)=>{const{kConnected:v,kSize:V}=p(99411);class CompatWeakRef{constructor(i){this.value=i}deref(){return this.value[v]===0&&this.value[V]===0?undefined:this.value}}class CompatFinalizer{constructor(i){this.finalizer=i}register(i,d){if(i.on){i.on("disconnect",(()=>{if(i[v]===0&&i[V]===0){this.finalizer(d)}}))}}unregister(i){}}i.exports=function(){if(process.env.NODE_V8_COVERAGE&&process.version.startsWith("v18")){process._rawDebug("Using compatibility WeakRef and FinalizationRegistry");return{WeakRef:CompatWeakRef,FinalizationRegistry:CompatFinalizer}}return{WeakRef:WeakRef,FinalizationRegistry:FinalizationRegistry}}},11506:(i,d,p)=>{const{Blob:v,File:V}=p(4573);const{kState:K}=p(64883);const{webidl:ee}=p(10253);class FileLike{constructor(i,d,p={}){const v=d;const V=p.type;const ee=p.lastModified??Date.now();this[K]={blobLike:i,name:v,type:V,lastModified:ee}}stream(...i){ee.brandCheck(this,FileLike);return this[K].blobLike.stream(...i)}arrayBuffer(...i){ee.brandCheck(this,FileLike);return this[K].blobLike.arrayBuffer(...i)}slice(...i){ee.brandCheck(this,FileLike);return this[K].blobLike.slice(...i)}text(...i){ee.brandCheck(this,FileLike);return this[K].blobLike.text(...i)}get size(){ee.brandCheck(this,FileLike);return this[K].blobLike.size}get type(){ee.brandCheck(this,FileLike);return this[K].blobLike.type}get name(){ee.brandCheck(this,FileLike);return this[K].name}get lastModified(){ee.brandCheck(this,FileLike);return this[K].lastModified}get[Symbol.toStringTag](){return"File"}}ee.converters.Blob=ee.interfaceConverter(v);function isFileLike(i){return i instanceof V||i&&(typeof i.stream==="function"||typeof i.arrayBuffer==="function")&&i[Symbol.toStringTag]==="File"}i.exports={FileLike:FileLike,isFileLike:isFileLike}},93100:(i,d,p)=>{const{isUSVString:v,bufferToLowerCasedHeaderName:V}=p(31544);const{utf8DecodeBytes:K}=p(14296);const{HTTP_TOKEN_CODEPOINTS:ee,isomorphicDecode:te}=p(90980);const{isFileLike:re}=p(11506);const{makeEntry:ne}=p(79662);const se=p(34589);const{File:ie}=p(4573);const oe=globalThis.File??ie;const ae=Buffer.from('form-data; name="');const Ae=Buffer.from("; filename");const ce=Buffer.from("--");const le=Buffer.from("--\r\n");function isAsciiString(i){for(let d=0;d70){return false}for(let p=0;p=48&&d<=57||d>=65&&d<=90||d>=97&&d<=122||d===39||d===45||d===95)){return false}}return true}function multipartFormDataParser(i,d){se(d!=="failure"&&d.essence==="multipart/form-data");const p=d.parameters.get("boundary");if(p===undefined){return"failure"}const V=Buffer.from(`--${p}`,"utf8");const ee=[];const te={position:0};while(i[te.position]===13&&i[te.position+1]===10){te.position+=2}let ie=i.length;while(i[ie-1]===10&&i[ie-2]===13){ie-=2}if(ie!==i.length){i=i.subarray(0,ie)}while(true){if(i.subarray(te.position,te.position+V.length).equals(V)){te.position+=V.length}else{return"failure"}if(te.position===i.length-2&&bufferStartsWith(i,ce,te)||te.position===i.length-4&&bufferStartsWith(i,le,te)){return ee}if(i[te.position]!==13||i[te.position+1]!==10){return"failure"}te.position+=2;const d=parseMultipartFormDataHeaders(i,te);if(d==="failure"){return"failure"}let{name:p,filename:ie,contentType:ae,encoding:Ae}=d;te.position+=2;let ue;{const d=i.indexOf(V.subarray(2),te.position);if(d===-1){return"failure"}ue=i.subarray(te.position,d-4);te.position+=ue.length;if(Ae==="base64"){ue=Buffer.from(ue.toString(),"base64")}}if(i[te.position]!==13||i[te.position+1]!==10){return"failure"}else{te.position+=2}let de;if(ie!==null){ae??="text/plain";if(!isAsciiString(ae)){ae=""}de=new oe([ue],ie,{type:ae})}else{de=K(Buffer.from(ue))}se(v(p));se(typeof de==="string"&&v(de)||re(de));ee.push(ne(p,de,ie))}}function parseMultipartFormDataHeaders(i,d){let p=null;let v=null;let K=null;let re=null;while(true){if(i[d.position]===13&&i[d.position+1]===10){if(p===null){return"failure"}return{name:p,filename:v,contentType:K,encoding:re}}let ne=collectASequenceOfBytes((i=>i!==10&&i!==13&&i!==58),i,d);ne=removeChars(ne,true,true,(i=>i===9||i===32));if(!ee.test(ne.toString())){return"failure"}if(i[d.position]!==58){return"failure"}d.position++;collectASequenceOfBytes((i=>i===32||i===9),i,d);switch(V(ne)){case"content-disposition":{p=v=null;if(!bufferStartsWith(i,ae,d)){return"failure"}d.position+=17;p=parseMultipartFormDataName(i,d);if(p===null){return"failure"}if(bufferStartsWith(i,Ae,d)){let p=d.position+Ae.length;if(i[p]===42){d.position+=1;p+=1}if(i[p]!==61||i[p+1]!==34){return"failure"}d.position+=12;v=parseMultipartFormDataName(i,d);if(v===null){return"failure"}}break}case"content-type":{let p=collectASequenceOfBytes((i=>i!==10&&i!==13),i,d);p=removeChars(p,false,true,(i=>i===9||i===32));K=te(p);break}case"content-transfer-encoding":{let p=collectASequenceOfBytes((i=>i!==10&&i!==13),i,d);p=removeChars(p,false,true,(i=>i===9||i===32));re=te(p);break}default:{collectASequenceOfBytes((i=>i!==10&&i!==13),i,d)}}if(i[d.position]!==13&&i[d.position+1]!==10){return"failure"}else{d.position+=2}}}function parseMultipartFormDataName(i,d){se(i[d.position-1]===34);let p=collectASequenceOfBytes((i=>i!==10&&i!==13&&i!==34),i,d);if(i[d.position]!==34){return null}else{d.position++}p=(new TextDecoder).decode(p).replace(/%0A/gi,"\n").replace(/%0D/gi,"\r").replace(/%22/g,'"');return p}function collectASequenceOfBytes(i,d,p){let v=p.position;while(v0&&v(i[K]))K--}return V===0&&K===i.length-1?i:i.subarray(V,K+1)}function bufferStartsWith(i,d,p){if(i.length{const{isBlobLike:v,iteratorMixin:V}=p(14296);const{kState:K}=p(64883);const{kEnumerableProperty:ee}=p(31544);const{FileLike:te,isFileLike:re}=p(11506);const{webidl:ne}=p(10253);const{File:se}=p(4573);const ie=p(57975);const oe=globalThis.File??se;class FormData{constructor(i){ne.util.markAsUncloneable(this);if(i!==undefined){throw ne.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}this[K]=[]}append(i,d,p=undefined){ne.brandCheck(this,FormData);const V="FormData.append";ne.argumentLengthCheck(arguments,2,V);if(arguments.length===3&&!v(d)){throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'")}i=ne.converters.USVString(i,V,"name");d=v(d)?ne.converters.Blob(d,V,"value",{strict:false}):ne.converters.USVString(d,V,"value");p=arguments.length===3?ne.converters.USVString(p,V,"filename"):undefined;const ee=makeEntry(i,d,p);this[K].push(ee)}delete(i){ne.brandCheck(this,FormData);const d="FormData.delete";ne.argumentLengthCheck(arguments,1,d);i=ne.converters.USVString(i,d,"name");this[K]=this[K].filter((d=>d.name!==i))}get(i){ne.brandCheck(this,FormData);const d="FormData.get";ne.argumentLengthCheck(arguments,1,d);i=ne.converters.USVString(i,d,"name");const p=this[K].findIndex((d=>d.name===i));if(p===-1){return null}return this[K][p].value}getAll(i){ne.brandCheck(this,FormData);const d="FormData.getAll";ne.argumentLengthCheck(arguments,1,d);i=ne.converters.USVString(i,d,"name");return this[K].filter((d=>d.name===i)).map((i=>i.value))}has(i){ne.brandCheck(this,FormData);const d="FormData.has";ne.argumentLengthCheck(arguments,1,d);i=ne.converters.USVString(i,d,"name");return this[K].findIndex((d=>d.name===i))!==-1}set(i,d,p=undefined){ne.brandCheck(this,FormData);const V="FormData.set";ne.argumentLengthCheck(arguments,2,V);if(arguments.length===3&&!v(d)){throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'")}i=ne.converters.USVString(i,V,"name");d=v(d)?ne.converters.Blob(d,V,"name",{strict:false}):ne.converters.USVString(d,V,"name");p=arguments.length===3?ne.converters.USVString(p,V,"name"):undefined;const ee=makeEntry(i,d,p);const te=this[K].findIndex((d=>d.name===i));if(te!==-1){this[K]=[...this[K].slice(0,te),ee,...this[K].slice(te+1).filter((d=>d.name!==i))]}else{this[K].push(ee)}}[ie.inspect.custom](i,d){const p=this[K].reduce(((i,d)=>{if(i[d.name]){if(Array.isArray(i[d.name])){i[d.name].push(d.value)}else{i[d.name]=[i[d.name],d.value]}}else{i[d.name]=d.value}return i}),{__proto__:null});d.depth??=i;d.colors??=true;const v=ie.formatWithOptions(d,p);return`FormData ${v.slice(v.indexOf("]")+2)}`}}V("FormData",FormData,K,"name","value");Object.defineProperties(FormData.prototype,{append:ee,delete:ee,get:ee,getAll:ee,has:ee,set:ee,[Symbol.toStringTag]:{value:"FormData",configurable:true}});function makeEntry(i,d,p){if(typeof d==="string"){}else{if(!re(d)){d=d instanceof Blob?new oe([d],"blob",{type:d.type}):new te(d,"blob",{type:d.type})}if(p!==undefined){const i={type:d.type,lastModified:d.lastModified};d=d instanceof se?new oe([d],p,i):new te(d,p,i)}}return{name:i,value:d}}i.exports={FormData:FormData,makeEntry:makeEntry}},42443:i=>{const d=Symbol.for("undici.globalOrigin.1");function getGlobalOrigin(){return globalThis[d]}function setGlobalOrigin(i){if(i===undefined){Object.defineProperty(globalThis,d,{value:undefined,writable:true,enumerable:false,configurable:false});return}const p=new URL(i);if(p.protocol!=="http:"&&p.protocol!=="https:"){throw new TypeError(`Only http & https urls are allowed, received ${p.protocol}`)}Object.defineProperty(globalThis,d,{value:p,writable:true,enumerable:false,configurable:false})}i.exports={getGlobalOrigin:getGlobalOrigin,setGlobalOrigin:setGlobalOrigin}},83676:(i,d,p)=>{const{kConstruct:v}=p(99411);const{kEnumerableProperty:V}=p(31544);const{iteratorMixin:K,isValidHeaderName:ee,isValidHeaderValue:te}=p(14296);const{webidl:re}=p(10253);const ne=p(34589);const se=p(57975);const ie=Symbol("headers map");const oe=Symbol("headers map sorted");function isHTTPWhiteSpaceCharCode(i){return i===10||i===13||i===9||i===32}function headerValueNormalize(i){let d=0;let p=i.length;while(p>d&&isHTTPWhiteSpaceCharCode(i.charCodeAt(p-1)))--p;while(p>d&&isHTTPWhiteSpaceCharCode(i.charCodeAt(d)))++d;return d===0&&p===i.length?i:i.substring(d,p)}function fill(i,d){if(Array.isArray(d)){for(let p=0;p>","record"]})}}function appendHeader(i,d,p){p=headerValueNormalize(p);if(!ee(d)){throw re.errors.invalidArgument({prefix:"Headers.append",value:d,type:"header name"})}else if(!te(p)){throw re.errors.invalidArgument({prefix:"Headers.append",value:p,type:"header value"})}if(ae(i)==="immutable"){throw new TypeError("immutable")}return ce(i).append(d,p,false)}function compareHeaderName(i,d){return i[0]>1);if(d[te][0]<=re[0]){ee=te+1}else{K=te}}if(v!==te){V=v;while(V>ee){d[V]=d[--V]}d[ee]=re}}if(!p.next().done){throw new TypeError("Unreachable")}return d}else{let i=0;for(const{0:p,1:{value:v}}of this[ie]){d[i++]=[p,v];ne(v!==null)}return d.sort(compareHeaderName)}}}class Headers{#V;#q;constructor(i=undefined){re.util.markAsUncloneable(this);if(i===v){return}this.#q=new HeadersList;this.#V="none";if(i!==undefined){i=re.converters.HeadersInit(i,"Headers contructor","init");fill(this,i)}}append(i,d){re.brandCheck(this,Headers);re.argumentLengthCheck(arguments,2,"Headers.append");const p="Headers.append";i=re.converters.ByteString(i,p,"name");d=re.converters.ByteString(d,p,"value");return appendHeader(this,i,d)}delete(i){re.brandCheck(this,Headers);re.argumentLengthCheck(arguments,1,"Headers.delete");const d="Headers.delete";i=re.converters.ByteString(i,d,"name");if(!ee(i)){throw re.errors.invalidArgument({prefix:"Headers.delete",value:i,type:"header name"})}if(this.#V==="immutable"){throw new TypeError("immutable")}if(!this.#q.contains(i,false)){return}this.#q.delete(i,false)}get(i){re.brandCheck(this,Headers);re.argumentLengthCheck(arguments,1,"Headers.get");const d="Headers.get";i=re.converters.ByteString(i,d,"name");if(!ee(i)){throw re.errors.invalidArgument({prefix:d,value:i,type:"header name"})}return this.#q.get(i,false)}has(i){re.brandCheck(this,Headers);re.argumentLengthCheck(arguments,1,"Headers.has");const d="Headers.has";i=re.converters.ByteString(i,d,"name");if(!ee(i)){throw re.errors.invalidArgument({prefix:d,value:i,type:"header name"})}return this.#q.contains(i,false)}set(i,d){re.brandCheck(this,Headers);re.argumentLengthCheck(arguments,2,"Headers.set");const p="Headers.set";i=re.converters.ByteString(i,p,"name");d=re.converters.ByteString(d,p,"value");d=headerValueNormalize(d);if(!ee(i)){throw re.errors.invalidArgument({prefix:p,value:i,type:"header name"})}else if(!te(d)){throw re.errors.invalidArgument({prefix:p,value:d,type:"header value"})}if(this.#V==="immutable"){throw new TypeError("immutable")}this.#q.set(i,d,false)}getSetCookie(){re.brandCheck(this,Headers);const i=this.#q.cookies;if(i){return[...i]}return[]}get[oe](){if(this.#q[oe]){return this.#q[oe]}const i=[];const d=this.#q.toSortedArray();const p=this.#q.cookies;if(p===null||p.length===1){return this.#q[oe]=d}for(let v=0;v>"](i,d,p,v.bind(i))}return re.converters["record"](i,d,p)}throw re.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};i.exports={fill:fill,compareHeaderName:compareHeaderName,Headers:Headers,HeadersList:HeadersList,getHeadersGuard:ae,setHeadersGuard:Ae,setHeadersList:le,getHeadersList:ce}},47302:(i,d,p)=>{const{makeNetworkError:v,makeAppropriateNetworkError:V,filterResponse:K,makeResponse:ee,fromInnerResponse:te}=p(9107);const{HeadersList:re}=p(83676);const{Request:ne,cloneRequest:se}=p(46055);const ie=p(38522);const{bytesMatch:oe,makePolicyContainer:ae,clonePolicyContainer:Ae,requestBadPort:ce,TAOCheck:le,appendRequestOriginHeader:ue,responseLocationURL:de,requestCurrentURL:he,setRequestReferrerPolicyOnRedirect:fe,tryUpgradeRequestToAPotentiallyTrustworthyURL:ge,createOpaqueTimingInfo:pe,appendFetchMetadata:me,corsCheck:Ee,crossOriginResourcePolicyCheck:Ce,determineRequestsReferrer:ye,coarsenedSharedCurrentTime:Ie,createDeferredPromise:Be,isBlobLike:Qe,sameOrigin:be,isCancelled:we,isAborted:Se,isErrorLike:Re,fullyReadBody:ve,readableStreamClose:ke,isomorphicEncode:Te,urlIsLocal:Ne,urlIsHttpHttpsScheme:De,urlHasHttpsScheme:xe,clampAndCoarsenConnectionTimingInfo:Fe,simpleRangeHeaderValue:Pe,buildContentRange:Le,createInflate:_e,extractMimeType:Me}=p(14296);const{kState:Ue,kDispatcher:Oe}=p(64883);const He=p(34589);const{safelyExtractBody:Ge,extractBody:Ve}=p(18900);const{redirectStatusSet:qe,nullBodyStatus:Ye,safeMethodsSet:je,requestBodyHeader:Je,subresourceSet:We}=p(61207);const ze=p(78474);const{Readable:$e,pipeline:Ke,finished:Xe}=p(57075);const{addAbortListener:Ze,isErrored:At,isReadable:mt,bufferToLowerCasedHeaderName:Et}=p(31544);const{dataURLProcessor:Ct,serializeAMimeType:yt,minimizeSupportedMimeType:It}=p(90980);const{getGlobalDispatcher:Bt}=p(5837);const{webidl:Qt}=p(10253);const{STATUS_CODES:bt}=p(37067);const wt=["GET","HEAD"];const St=typeof __UNDICI_IS_NODE__!=="undefined"||typeof esbuildDetection!=="undefined"?"node":"undici";let Rt;class Fetch extends ze{constructor(i){super();this.dispatcher=i;this.connection=null;this.dump=false;this.state="ongoing"}terminate(i){if(this.state!=="ongoing"){return}this.state="terminated";this.connection?.destroy(i);this.emit("terminated",i)}abort(i){if(this.state!=="ongoing"){return}this.state="aborted";if(!i){i=new DOMException("The operation was aborted.","AbortError")}this.serializedAbortReason=i;this.connection?.destroy(i);this.emit("terminated",i)}}function handleFetchDone(i){finalizeAndReportTiming(i,"fetch")}function fetch(i,d=undefined){Qt.argumentLengthCheck(arguments,1,"globalThis.fetch");let p=Be();let v;try{v=new ne(i,d)}catch(i){p.reject(i);return p.promise}const V=v[Ue];if(v.signal.aborted){abortFetch(p,V,null,v.signal.reason);return p.promise}const K=V.client.globalObject;if(K?.constructor?.name==="ServiceWorkerGlobalScope"){V.serviceWorkers="none"}let ee=null;let re=false;let se=null;Ze(v.signal,(()=>{re=true;He(se!=null);se.abort(v.signal.reason);const i=ee?.deref();abortFetch(p,V,i,v.signal.reason)}));const processResponse=i=>{if(re){return}if(i.aborted){abortFetch(p,V,ee,se.serializedAbortReason);return}if(i.type==="error"){p.reject(new TypeError("fetch failed",{cause:i.error}));return}ee=new WeakRef(te(i,"immutable"));p.resolve(ee.deref());p=null};se=fetching({request:V,processResponseEndOfBody:handleFetchDone,processResponse:processResponse,dispatcher:v[Oe]});return p.promise}function finalizeAndReportTiming(i,d="other"){if(i.type==="error"&&i.aborted){return}if(!i.urlList?.length){return}const p=i.urlList[0];let v=i.timingInfo;let V=i.cacheState;if(!De(p)){return}if(v===null){return}if(!i.timingAllowPassed){v=pe({startTime:v.startTime});V=""}v.endTime=Ie();i.timingInfo=v;vt(v,p.href,d,globalThis,V)}const vt=performance.markResourceTiming;function abortFetch(i,d,p,v){if(i){i.reject(v)}if(d.body!=null&&mt(d.body?.stream)){d.body.stream.cancel(v).catch((i=>{if(i.code==="ERR_INVALID_STATE"){return}throw i}))}if(p==null){return}const V=p[Ue];if(V.body!=null&&mt(V.body?.stream)){V.body.stream.cancel(v).catch((i=>{if(i.code==="ERR_INVALID_STATE"){return}throw i}))}}function fetching({request:i,processRequestBodyChunkLength:d,processRequestEndOfBody:p,processResponse:v,processResponseEndOfBody:V,processResponseConsumeBody:K,useParallelQueue:ee=false,dispatcher:te=Bt()}){He(te);let re=null;let ne=false;if(i.client!=null){re=i.client.globalObject;ne=i.client.crossOriginIsolatedCapability}const se=Ie(ne);const ie=pe({startTime:se});const oe={controller:new Fetch(te),request:i,timingInfo:ie,processRequestBodyChunkLength:d,processRequestEndOfBody:p,processResponse:v,processResponseConsumeBody:K,processResponseEndOfBody:V,taskDestination:re,crossOriginIsolatedCapability:ne};He(!i.body||i.body.stream);if(i.window==="client"){i.window=i.client?.globalObject?.constructor?.name==="Window"?i.client:"no-window"}if(i.origin==="client"){i.origin=i.client.origin}if(i.policyContainer==="client"){if(i.client!=null){i.policyContainer=Ae(i.client.policyContainer)}else{i.policyContainer=ae()}}if(!i.headersList.contains("accept",true)){const d="*/*";i.headersList.append("accept",d,true)}if(!i.headersList.contains("accept-language",true)){i.headersList.append("accept-language","*",true)}if(i.priority===null){}if(We.has(i.destination)){}mainFetch(oe).catch((i=>{oe.controller.terminate(i)}));return oe.controller}async function mainFetch(i,d=false){const p=i.request;let V=null;if(p.localURLsOnly&&!Ne(he(p))){V=v("local URLs only")}ge(p);if(ce(p)==="blocked"){V=v("bad port")}if(p.referrerPolicy===""){p.referrerPolicy=p.policyContainer.referrerPolicy}if(p.referrer!=="no-referrer"){p.referrer=ye(p)}if(V===null){V=await(async()=>{const d=he(p);if(be(d,p.url)&&p.responseTainting==="basic"||d.protocol==="data:"||(p.mode==="navigate"||p.mode==="websocket")){p.responseTainting="basic";return await schemeFetch(i)}if(p.mode==="same-origin"){return v('request mode cannot be "same-origin"')}if(p.mode==="no-cors"){if(p.redirect!=="follow"){return v('redirect mode cannot be "follow" for "no-cors" request')}p.responseTainting="opaque";return await schemeFetch(i)}if(!De(he(p))){return v("URL scheme must be a HTTP(S) scheme")}p.responseTainting="cors";return await httpFetch(i)})()}if(d){return V}if(V.status!==0&&!V.internalResponse){if(p.responseTainting==="cors"){}if(p.responseTainting==="basic"){V=K(V,"basic")}else if(p.responseTainting==="cors"){V=K(V,"cors")}else if(p.responseTainting==="opaque"){V=K(V,"opaque")}else{He(false)}}let ee=V.status===0?V:V.internalResponse;if(ee.urlList.length===0){ee.urlList.push(...p.urlList)}if(!p.timingAllowFailed){V.timingAllowPassed=true}if(V.type==="opaque"&&ee.status===206&&ee.rangeRequested&&!p.headers.contains("range",true)){V=ee=v()}if(V.status!==0&&(p.method==="HEAD"||p.method==="CONNECT"||Ye.includes(ee.status))){ee.body=null;i.controller.dump=true}if(p.integrity){const processBodyError=d=>fetchFinale(i,v(d));if(p.responseTainting==="opaque"||V.body==null){processBodyError(V.error);return}const processBody=d=>{if(!oe(d,p.integrity)){processBodyError("integrity mismatch");return}V.body=Ge(d)[0];fetchFinale(i,V)};await ve(V.body,processBody,processBodyError)}else{fetchFinale(i,V)}}function schemeFetch(i){if(we(i)&&i.request.redirectCount===0){return Promise.resolve(V(i))}const{request:d}=i;const{protocol:K}=he(d);switch(K){case"about:":{return Promise.resolve(v("about scheme is not supported"))}case"blob:":{if(!Rt){Rt=p(4573).resolveObjectURL}const i=he(d);if(i.search.length!==0){return Promise.resolve(v("NetworkError when attempting to fetch resource."))}const V=Rt(i.toString());if(d.method!=="GET"||!Qe(V)){return Promise.resolve(v("invalid method"))}const K=ee();const te=V.size;const re=Te(`${te}`);const ne=V.type;if(!d.headersList.contains("range",true)){const i=Ve(V);K.statusText="OK";K.body=i[0];K.headersList.set("content-length",re,true);K.headersList.set("content-type",ne,true)}else{K.rangeRequested=true;const i=d.headersList.get("range",true);const p=Pe(i,true);if(p==="failure"){return Promise.resolve(v("failed to fetch the data URL"))}let{rangeStartValue:ee,rangeEndValue:re}=p;if(ee===null){ee=te-re;re=ee+re-1}else{if(ee>=te){return Promise.resolve(v("Range start is greater than the blob's size."))}if(re===null||re>=te){re=te-1}}const se=V.slice(ee,re,ne);const ie=Ve(se);K.body=ie[0];const oe=Te(`${se.size}`);const ae=Le(ee,re,te);K.status=206;K.statusText="Partial Content";K.headersList.set("content-length",oe,true);K.headersList.set("content-type",ne,true);K.headersList.set("content-range",ae,true)}return Promise.resolve(K)}case"data:":{const i=he(d);const p=Ct(i);if(p==="failure"){return Promise.resolve(v("failed to fetch the data URL"))}const V=yt(p.mimeType);return Promise.resolve(ee({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:V}]],body:Ge(p.body)[0]}))}case"file:":{return Promise.resolve(v("not implemented... yet..."))}case"http:":case"https:":{return httpFetch(i).catch((i=>v(i)))}default:{return Promise.resolve(v("unknown scheme"))}}}function finalizeResponse(i,d){i.request.done=true;if(i.processResponseDone!=null){queueMicrotask((()=>i.processResponseDone(d)))}}function fetchFinale(i,d){let p=i.timingInfo;const processResponseEndOfBody=()=>{const v=Date.now();if(i.request.destination==="document"){i.controller.fullTimingInfo=p}i.controller.reportTimingSteps=()=>{if(i.request.url.protocol!=="https:"){return}p.endTime=v;let V=d.cacheState;const K=d.bodyInfo;if(!d.timingAllowPassed){p=pe(p);V=""}let ee=0;if(i.request.mode!=="navigator"||!d.hasCrossOriginRedirects){ee=d.status;const i=Me(d.headersList);if(i!=="failure"){K.contentType=It(i)}}if(i.request.initiatorType!=null){vt(p,i.request.url.href,i.request.initiatorType,globalThis,V,K,ee)}};const processResponseEndOfBodyTask=()=>{i.request.done=true;if(i.processResponseEndOfBody!=null){queueMicrotask((()=>i.processResponseEndOfBody(d)))}if(i.request.initiatorType!=null){i.controller.reportTimingSteps()}};queueMicrotask((()=>processResponseEndOfBodyTask()))};if(i.processResponse!=null){queueMicrotask((()=>{i.processResponse(d);i.processResponse=null}))}const v=d.type==="error"?d:d.internalResponse??d;if(v.body==null){processResponseEndOfBody()}else{Xe(v.body.stream,(()=>{processResponseEndOfBody()}))}}async function httpFetch(i){const d=i.request;let p=null;let V=null;const K=i.timingInfo;if(d.serviceWorkers==="all"){}if(p===null){if(d.redirect==="follow"){d.serviceWorkers="none"}V=p=await httpNetworkOrCacheFetch(i);if(d.responseTainting==="cors"&&Ee(d,p)==="failure"){return v("cors failure")}if(le(d,p)==="failure"){d.timingAllowFailed=true}}if((d.responseTainting==="opaque"||p.type==="opaque")&&Ce(d.origin,d.client,d.destination,V)==="blocked"){return v("blocked")}if(qe.has(V.status)){if(d.redirect!=="manual"){i.controller.connection.destroy(undefined,false)}if(d.redirect==="error"){p=v("unexpected redirect")}else if(d.redirect==="manual"){p=V}else if(d.redirect==="follow"){p=await httpRedirectFetch(i,p)}else{He(false)}}p.timingInfo=K;return p}function httpRedirectFetch(i,d){const p=i.request;const V=d.internalResponse?d.internalResponse:d;let K;try{K=de(V,he(p).hash);if(K==null){return d}}catch(i){return Promise.resolve(v(i))}if(!De(K)){return Promise.resolve(v("URL scheme must be a HTTP(S) scheme"))}if(p.redirectCount===20){return Promise.resolve(v("redirect count exceeded"))}p.redirectCount+=1;if(p.mode==="cors"&&(K.username||K.password)&&!be(p,K)){return Promise.resolve(v('cross origin not allowed for request mode "cors"'))}if(p.responseTainting==="cors"&&(K.username||K.password)){return Promise.resolve(v('URL cannot contain credentials for request mode "cors"'))}if(V.status!==303&&p.body!=null&&p.body.source==null){return Promise.resolve(v())}if([301,302].includes(V.status)&&p.method==="POST"||V.status===303&&!wt.includes(p.method)){p.method="GET";p.body=null;for(const i of Je){p.headersList.delete(i)}}if(!be(he(p),K)){p.headersList.delete("authorization",true);p.headersList.delete("proxy-authorization",true);p.headersList.delete("cookie",true);p.headersList.delete("host",true)}if(p.body!=null){He(p.body.source!=null);p.body=Ge(p.body.source)[0]}const ee=i.timingInfo;ee.redirectEndTime=ee.postRedirectStartTime=Ie(i.crossOriginIsolatedCapability);if(ee.redirectStartTime===0){ee.redirectStartTime=ee.startTime}p.urlList.push(K);fe(p,V);return mainFetch(i,true)}async function httpNetworkOrCacheFetch(i,d=false,p=false){const K=i.request;let ee=null;let te=null;let re=null;const ne=null;const ie=false;if(K.window==="no-window"&&K.redirect==="error"){ee=i;te=K}else{te=se(K);ee={...i};ee.request=te}const oe=K.credentials==="include"||K.credentials==="same-origin"&&K.responseTainting==="basic";const ae=te.body?te.body.length:null;let Ae=null;if(te.body==null&&["POST","PUT"].includes(te.method)){Ae="0"}if(ae!=null){Ae=Te(`${ae}`)}if(Ae!=null){te.headersList.append("content-length",Ae,true)}if(ae!=null&&te.keepalive){}if(te.referrer instanceof URL){te.headersList.append("referer",Te(te.referrer.href),true)}ue(te);me(te);if(!te.headersList.contains("user-agent",true)){te.headersList.append("user-agent",St)}if(te.cache==="default"&&(te.headersList.contains("if-modified-since",true)||te.headersList.contains("if-none-match",true)||te.headersList.contains("if-unmodified-since",true)||te.headersList.contains("if-match",true)||te.headersList.contains("if-range",true))){te.cache="no-store"}if(te.cache==="no-cache"&&!te.preventNoCacheCacheControlHeaderModification&&!te.headersList.contains("cache-control",true)){te.headersList.append("cache-control","max-age=0",true)}if(te.cache==="no-store"||te.cache==="reload"){if(!te.headersList.contains("pragma",true)){te.headersList.append("pragma","no-cache",true)}if(!te.headersList.contains("cache-control",true)){te.headersList.append("cache-control","no-cache",true)}}if(te.headersList.contains("range",true)){te.headersList.append("accept-encoding","identity",true)}if(!te.headersList.contains("accept-encoding",true)){if(xe(he(te))){te.headersList.append("accept-encoding","br, gzip, deflate",true)}else{te.headersList.append("accept-encoding","gzip, deflate",true)}}te.headersList.delete("host",true);if(oe){}if(ne==null){te.cache="no-store"}if(te.cache!=="no-store"&&te.cache!=="reload"){}if(re==null){if(te.cache==="only-if-cached"){return v("only if cached")}const i=await httpNetworkFetch(ee,oe,p);if(!je.has(te.method)&&i.status>=200&&i.status<=399){}if(ie&&i.status===304){}if(re==null){re=i}}re.urlList=[...te.urlList];if(te.headersList.contains("range",true)){re.rangeRequested=true}re.requestIncludesCredentials=oe;if(re.status===407){if(K.window==="no-window"){return v()}if(we(i)){return V(i)}return v("proxy authentication required")}if(re.status===421&&!p&&(K.body==null||K.body.source!=null)){if(we(i)){return V(i)}i.controller.connection.destroy();re=await httpNetworkOrCacheFetch(i,d,true)}if(d){}return re}async function httpNetworkFetch(i,d=false,p=false){He(!i.controller.connection||i.controller.connection.destroyed);i.controller.connection={abort:null,destroyed:false,destroy(i,d=true){if(!this.destroyed){this.destroyed=true;if(d){this.abort?.(i??new DOMException("The operation was aborted.","AbortError"))}}}};const K=i.request;let te=null;const ne=i.timingInfo;const se=null;if(se==null){K.cache="no-store"}const oe=p?"yes":"no";if(K.mode==="websocket"){}else{}let ae=null;if(K.body==null&&i.processRequestEndOfBody){queueMicrotask((()=>i.processRequestEndOfBody()))}else if(K.body!=null){const processBodyChunk=async function*(d){if(we(i)){return}yield d;i.processRequestBodyChunkLength?.(d.byteLength)};const processEndOfBody=()=>{if(we(i)){return}if(i.processRequestEndOfBody){i.processRequestEndOfBody()}};const processBodyError=d=>{if(we(i)){return}if(d.name==="AbortError"){i.controller.abort()}else{i.controller.terminate(d)}};ae=async function*(){try{for await(const i of K.body.stream){yield*processBodyChunk(i)}processEndOfBody()}catch(i){processBodyError(i)}}()}try{const{body:d,status:p,statusText:v,headersList:V,socket:K}=await dispatch({body:ae});if(K){te=ee({status:p,statusText:v,headersList:V,socket:K})}else{const K=d[Symbol.asyncIterator]();i.controller.next=()=>K.next();te=ee({status:p,statusText:v,headersList:V})}}catch(d){if(d.name==="AbortError"){i.controller.connection.destroy();return V(i,d)}return v(d)}const pullAlgorithm=async()=>{await i.controller.resume()};const cancelAlgorithm=d=>{if(!we(i)){i.controller.abort(d)}};const Ae=new ReadableStream({async start(d){i.controller.controller=d},async pull(i){await pullAlgorithm(i)},async cancel(i){await cancelAlgorithm(i)},type:"bytes"});te.body={stream:Ae,source:null,length:null};i.controller.onAborted=onAborted;i.controller.on("terminated",onAborted);i.controller.resume=async()=>{while(true){let d;let p;try{const{done:p,value:v}=await i.controller.next();if(Se(i)){break}d=p?undefined:v}catch(v){if(i.controller.ended&&!ne.encodedBodySize){d=undefined}else{d=v;p=true}}if(d===undefined){ke(i.controller.controller);finalizeResponse(i,te);return}ne.decodedBodySize+=d?.byteLength??0;if(p){i.controller.terminate(d);return}const v=new Uint8Array(d);if(v.byteLength){i.controller.controller.enqueue(v)}if(At(Ae)){i.controller.terminate();return}if(i.controller.controller.desiredSize<=0){return}}};function onAborted(d){if(Se(i)){te.aborted=true;if(mt(Ae)){i.controller.controller.error(i.controller.serializedAbortReason)}}else{if(mt(Ae)){i.controller.controller.error(new TypeError("terminated",{cause:Re(d)?d:undefined}))}}i.controller.connection.destroy()}return te;function dispatch({body:d}){const p=he(K);const v=i.controller.dispatcher;return new Promise(((V,ee)=>v.dispatch({path:p.pathname+p.search,origin:p.origin,method:K.method,body:v.isMockActive?K.body&&(K.body.source||K.body.stream):d,headers:K.headersList.entries,maxRedirections:0,upgrade:K.mode==="websocket"?"websocket":undefined},{body:null,abort:null,onConnect(d){const{connection:p}=i.controller;ne.finalConnectionTimingInfo=Fe(undefined,ne.postRedirectStartTime,i.crossOriginIsolatedCapability);if(p.destroyed){d(new DOMException("The operation was aborted.","AbortError"))}else{i.controller.on("terminated",d);this.abort=p.abort=d}ne.finalNetworkRequestStartTime=Ie(i.crossOriginIsolatedCapability)},onResponseStarted(){ne.finalNetworkResponseStartTime=Ie(i.crossOriginIsolatedCapability)},onHeaders(i,d,p,v){if(i<200){return}let te="";const ne=new re;for(let i=0;ip){ee(new Error(`too many content-encodings in response: ${d.length}, maximum allowed is ${p}`));return true}for(let i=d.length-1;i>=0;--i){const p=d[i].trim();if(p==="x-gzip"||p==="gzip"){se.push(ie.createGunzip({flush:ie.constants.Z_SYNC_FLUSH,finishFlush:ie.constants.Z_SYNC_FLUSH}))}else if(p==="deflate"){se.push(_e({flush:ie.constants.Z_SYNC_FLUSH,finishFlush:ie.constants.Z_SYNC_FLUSH}))}else if(p==="br"){se.push(ie.createBrotliDecompress({flush:ie.constants.BROTLI_OPERATION_FLUSH,finishFlush:ie.constants.BROTLI_OPERATION_FLUSH}))}else{se.length=0;break}}}const ae=this.onError.bind(this);V({status:i,statusText:v,headersList:ne,body:se.length?Ke(this.body,...se,(i=>{if(i){this.onError(i)}})).on("error",ae):this.body.on("error",ae)});return true},onData(d){if(i.controller.dump){return}const p=d;ne.encodedBodySize+=p.byteLength;return this.body.push(p)},onComplete(){if(this.abort){i.controller.off("terminated",this.abort)}if(i.controller.onAborted){i.controller.off("terminated",i.controller.onAborted)}i.controller.ended=true;this.body.push(null)},onError(d){if(this.abort){i.controller.off("terminated",this.abort)}this.body?.destroy(d);i.controller.terminate(d);ee(d)},onUpgrade(i,d,p){if(i!==101){return}const v=new re;for(let i=0;i{const{extractBody:v,mixinBody:V,cloneBody:K,bodyUnusable:ee}=p(18900);const{Headers:te,fill:re,HeadersList:ne,setHeadersGuard:se,getHeadersGuard:ie,setHeadersList:oe,getHeadersList:ae}=p(83676);const{FinalizationRegistry:Ae}=p(40933)();const ce=p(31544);const le=p(57975);const{isValidHTTPToken:ue,sameOrigin:de,environmentSettingsObject:he}=p(14296);const{forbiddenMethodsSet:fe,corsSafeListedMethodsSet:ge,referrerPolicy:pe,requestRedirect:me,requestMode:Ee,requestCredentials:Ce,requestCache:ye,requestDuplex:Ie}=p(61207);const{kEnumerableProperty:Be,normalizedMethodRecordsBase:Qe,normalizedMethodRecords:be}=ce;const{kHeaders:we,kSignal:Se,kState:Re,kDispatcher:ve}=p(64883);const{webidl:ke}=p(10253);const{URLSerializer:Te}=p(90980);const{kConstruct:Ne}=p(99411);const De=p(34589);const{getMaxListeners:xe,setMaxListeners:Fe,getEventListeners:Pe,defaultMaxListeners:Le}=p(78474);const _e=Symbol("abortController");const Me=new Ae((({signal:i,abort:d})=>{i.removeEventListener("abort",d)}));const Ue=new WeakMap;function buildAbort(i){return abort;function abort(){const d=i.deref();if(d!==undefined){Me.unregister(abort);this.removeEventListener("abort",abort);d.abort(this.reason);const i=Ue.get(d.signal);if(i!==undefined){if(i.size!==0){for(const d of i){const i=d.deref();if(i!==undefined){i.abort(this.reason)}}i.clear()}Ue.delete(d.signal)}}}}let Oe=false;class Request{constructor(i,d={}){ke.util.markAsUncloneable(this);if(i===Ne){return}const p="Request constructor";ke.argumentLengthCheck(arguments,1,p);i=ke.converters.RequestInfo(i,p,"input");d=ke.converters.RequestInit(d,p,"init");let V=null;let K=null;const ie=he.settingsObject.baseUrl;let Ae=null;if(typeof i==="string"){this[ve]=d.dispatcher;let p;try{p=new URL(i,ie)}catch(d){throw new TypeError("Failed to parse URL from "+i,{cause:d})}if(p.username||p.password){throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+i)}V=makeRequest({urlList:[p]});K="cors"}else{this[ve]=d.dispatcher||i[ve];De(i instanceof Request);V=i[Re];Ae=i[Se]}const le=he.settingsObject.origin;let pe="client";if(V.window?.constructor?.name==="EnvironmentSettingsObject"&&de(V.window,le)){pe=V.window}if(d.window!=null){throw new TypeError(`'window' option '${pe}' must be null`)}if("window"in d){pe="no-window"}V=makeRequest({method:V.method,headersList:V.headersList,unsafeRequest:V.unsafeRequest,client:he.settingsObject,window:pe,priority:V.priority,origin:V.origin,referrer:V.referrer,referrerPolicy:V.referrerPolicy,mode:V.mode,credentials:V.credentials,cache:V.cache,redirect:V.redirect,integrity:V.integrity,keepalive:V.keepalive,reloadNavigation:V.reloadNavigation,historyNavigation:V.historyNavigation,urlList:[...V.urlList]});const me=Object.keys(d).length!==0;if(me){if(V.mode==="navigate"){V.mode="same-origin"}V.reloadNavigation=false;V.historyNavigation=false;V.origin="client";V.referrer="client";V.referrerPolicy="";V.url=V.urlList[V.urlList.length-1];V.urlList=[V.url]}if(d.referrer!==undefined){const i=d.referrer;if(i===""){V.referrer="no-referrer"}else{let d;try{d=new URL(i,ie)}catch(d){throw new TypeError(`Referrer "${i}" is not a valid URL.`,{cause:d})}if(d.protocol==="about:"&&d.hostname==="client"||le&&!de(d,he.settingsObject.baseUrl)){V.referrer="client"}else{V.referrer=d}}}if(d.referrerPolicy!==undefined){V.referrerPolicy=d.referrerPolicy}let Ee;if(d.mode!==undefined){Ee=d.mode}else{Ee=K}if(Ee==="navigate"){throw ke.errors.exception({header:"Request constructor",message:"invalid request mode navigate."})}if(Ee!=null){V.mode=Ee}if(d.credentials!==undefined){V.credentials=d.credentials}if(d.cache!==undefined){V.cache=d.cache}if(V.cache==="only-if-cached"&&V.mode!=="same-origin"){throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode")}if(d.redirect!==undefined){V.redirect=d.redirect}if(d.integrity!=null){V.integrity=String(d.integrity)}if(d.keepalive!==undefined){V.keepalive=Boolean(d.keepalive)}if(d.method!==undefined){let i=d.method;const p=be[i];if(p!==undefined){V.method=p}else{if(!ue(i)){throw new TypeError(`'${i}' is not a valid HTTP method.`)}const d=i.toUpperCase();if(fe.has(d)){throw new TypeError(`'${i}' HTTP method is unsupported.`)}i=Qe[d]??i;V.method=i}if(!Oe&&V.method==="patch"){process.emitWarning("Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.",{code:"UNDICI-FETCH-patch"});Oe=true}}if(d.signal!==undefined){Ae=d.signal}this[Re]=V;const Ce=new AbortController;this[Se]=Ce.signal;if(Ae!=null){if(!Ae||typeof Ae.aborted!=="boolean"||typeof Ae.addEventListener!=="function"){throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.")}if(Ae.aborted){Ce.abort(Ae.reason)}else{this[_e]=Ce;const i=new WeakRef(Ce);const d=buildAbort(i);try{if(typeof xe==="function"&&xe(Ae)===Le){Fe(1500,Ae)}else if(Pe(Ae,"abort").length>=Le){Fe(1500,Ae)}}catch{}ce.addAbortListener(Ae,d);Me.register(Ce,{signal:Ae,abort:d},d)}}this[we]=new te(Ne);oe(this[we],V.headersList);se(this[we],"request");if(Ee==="no-cors"){if(!ge.has(V.method)){throw new TypeError(`'${V.method} is unsupported in no-cors mode.`)}se(this[we],"request-no-cors")}if(me){const i=ae(this[we]);const p=d.headers!==undefined?d.headers:new ne(i);i.clear();if(p instanceof ne){for(const{name:d,value:v}of p.rawValues()){i.append(d,v,false)}i.cookies=p.cookies}else{re(this[we],p)}}const ye=i instanceof Request?i[Re].body:null;if((d.body!=null||ye!=null)&&(V.method==="GET"||V.method==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body.")}let Ie=null;if(d.body!=null){const[i,p]=v(d.body,V.keepalive);Ie=i;if(p&&!ae(this[we]).contains("content-type",true)){this[we].append("content-type",p)}}const Be=Ie??ye;if(Be!=null&&Be.source==null){if(Ie!=null&&d.duplex==null){throw new TypeError("RequestInit: duplex option is required when sending a body.")}if(V.mode!=="same-origin"&&V.mode!=="cors"){throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"')}V.useCORSPreflightFlag=true}let Te=Be;if(Ie==null&&ye!=null){if(ee(i)){throw new TypeError("Cannot construct a Request with a Request object that has already been used.")}const d=new TransformStream;ye.stream.pipeThrough(d);Te={source:ye.source,length:ye.length,stream:d.readable}}this[Re].body=Te}get method(){ke.brandCheck(this,Request);return this[Re].method}get url(){ke.brandCheck(this,Request);return Te(this[Re].url)}get headers(){ke.brandCheck(this,Request);return this[we]}get destination(){ke.brandCheck(this,Request);return this[Re].destination}get referrer(){ke.brandCheck(this,Request);if(this[Re].referrer==="no-referrer"){return""}if(this[Re].referrer==="client"){return"about:client"}return this[Re].referrer.toString()}get referrerPolicy(){ke.brandCheck(this,Request);return this[Re].referrerPolicy}get mode(){ke.brandCheck(this,Request);return this[Re].mode}get credentials(){return this[Re].credentials}get cache(){ke.brandCheck(this,Request);return this[Re].cache}get redirect(){ke.brandCheck(this,Request);return this[Re].redirect}get integrity(){ke.brandCheck(this,Request);return this[Re].integrity}get keepalive(){ke.brandCheck(this,Request);return this[Re].keepalive}get isReloadNavigation(){ke.brandCheck(this,Request);return this[Re].reloadNavigation}get isHistoryNavigation(){ke.brandCheck(this,Request);return this[Re].historyNavigation}get signal(){ke.brandCheck(this,Request);return this[Se]}get body(){ke.brandCheck(this,Request);return this[Re].body?this[Re].body.stream:null}get bodyUsed(){ke.brandCheck(this,Request);return!!this[Re].body&&ce.isDisturbed(this[Re].body.stream)}get duplex(){ke.brandCheck(this,Request);return"half"}clone(){ke.brandCheck(this,Request);if(ee(this)){throw new TypeError("unusable")}const i=cloneRequest(this[Re]);const d=new AbortController;if(this.signal.aborted){d.abort(this.signal.reason)}else{let i=Ue.get(this.signal);if(i===undefined){i=new Set;Ue.set(this.signal,i)}const p=new WeakRef(d);i.add(p);ce.addAbortListener(d.signal,buildAbort(p))}return fromInnerRequest(i,d.signal,ie(this[we]))}[le.inspect.custom](i,d){if(d.depth===null){d.depth=2}d.colors??=true;const p={method:this.method,url:this.url,headers:this.headers,destination:this.destination,referrer:this.referrer,referrerPolicy:this.referrerPolicy,mode:this.mode,credentials:this.credentials,cache:this.cache,redirect:this.redirect,integrity:this.integrity,keepalive:this.keepalive,isReloadNavigation:this.isReloadNavigation,isHistoryNavigation:this.isHistoryNavigation,signal:this.signal};return`Request ${le.formatWithOptions(d,p)}`}}V(Request);function makeRequest(i){return{method:i.method??"GET",localURLsOnly:i.localURLsOnly??false,unsafeRequest:i.unsafeRequest??false,body:i.body??null,client:i.client??null,reservedClient:i.reservedClient??null,replacesClientId:i.replacesClientId??"",window:i.window??"client",keepalive:i.keepalive??false,serviceWorkers:i.serviceWorkers??"all",initiator:i.initiator??"",destination:i.destination??"",priority:i.priority??null,origin:i.origin??"client",policyContainer:i.policyContainer??"client",referrer:i.referrer??"client",referrerPolicy:i.referrerPolicy??"",mode:i.mode??"no-cors",useCORSPreflightFlag:i.useCORSPreflightFlag??false,credentials:i.credentials??"same-origin",useCredentials:i.useCredentials??false,cache:i.cache??"default",redirect:i.redirect??"follow",integrity:i.integrity??"",cryptoGraphicsNonceMetadata:i.cryptoGraphicsNonceMetadata??"",parserMetadata:i.parserMetadata??"",reloadNavigation:i.reloadNavigation??false,historyNavigation:i.historyNavigation??false,userActivation:i.userActivation??false,taintedOrigin:i.taintedOrigin??false,redirectCount:i.redirectCount??0,responseTainting:i.responseTainting??"basic",preventNoCacheCacheControlHeaderModification:i.preventNoCacheCacheControlHeaderModification??false,done:i.done??false,timingAllowFailed:i.timingAllowFailed??false,urlList:i.urlList,url:i.urlList[0],headersList:i.headersList?new ne(i.headersList):new ne}}function cloneRequest(i){const d=makeRequest({...i,body:null});if(i.body!=null){d.body=K(d,i.body)}return d}function fromInnerRequest(i,d,p){const v=new Request(Ne);v[Re]=i;v[Se]=d;v[we]=new te(Ne);oe(v[we],i.headersList);se(v[we],p);return v}Object.defineProperties(Request.prototype,{method:Be,url:Be,headers:Be,redirect:Be,clone:Be,signal:Be,duplex:Be,destination:Be,body:Be,bodyUsed:Be,isHistoryNavigation:Be,isReloadNavigation:Be,keepalive:Be,integrity:Be,cache:Be,credentials:Be,attribute:Be,referrerPolicy:Be,referrer:Be,mode:Be,[Symbol.toStringTag]:{value:"Request",configurable:true}});ke.converters.Request=ke.interfaceConverter(Request);ke.converters.RequestInfo=function(i,d,p){if(typeof i==="string"){return ke.converters.USVString(i,d,p)}if(i instanceof Request){return ke.converters.Request(i,d,p)}return ke.converters.USVString(i,d,p)};ke.converters.AbortSignal=ke.interfaceConverter(AbortSignal);ke.converters.RequestInit=ke.dictionaryConverter([{key:"method",converter:ke.converters.ByteString},{key:"headers",converter:ke.converters.HeadersInit},{key:"body",converter:ke.nullableConverter(ke.converters.BodyInit)},{key:"referrer",converter:ke.converters.USVString},{key:"referrerPolicy",converter:ke.converters.DOMString,allowedValues:pe},{key:"mode",converter:ke.converters.DOMString,allowedValues:Ee},{key:"credentials",converter:ke.converters.DOMString,allowedValues:Ce},{key:"cache",converter:ke.converters.DOMString,allowedValues:ye},{key:"redirect",converter:ke.converters.DOMString,allowedValues:me},{key:"integrity",converter:ke.converters.DOMString},{key:"keepalive",converter:ke.converters.boolean},{key:"signal",converter:ke.nullableConverter((i=>ke.converters.AbortSignal(i,"RequestInit","signal",{strict:false})))},{key:"window",converter:ke.converters.any},{key:"duplex",converter:ke.converters.DOMString,allowedValues:Ie},{key:"dispatcher",converter:ke.converters.any}]);i.exports={Request:Request,makeRequest:makeRequest,fromInnerRequest:fromInnerRequest,cloneRequest:cloneRequest}},9107:(i,d,p)=>{const{Headers:v,HeadersList:V,fill:K,getHeadersGuard:ee,setHeadersGuard:te,setHeadersList:re}=p(83676);const{extractBody:ne,cloneBody:se,mixinBody:ie,hasFinalizationRegistry:oe,streamRegistry:ae,bodyUnusable:Ae}=p(18900);const ce=p(31544);const le=p(57975);const{kEnumerableProperty:ue}=ce;const{isValidReasonPhrase:de,isCancelled:he,isAborted:fe,isBlobLike:ge,serializeJavascriptValueToJSONString:pe,isErrorLike:me,isomorphicEncode:Ee,environmentSettingsObject:Ce}=p(14296);const{redirectStatusSet:ye,nullBodyStatus:Ie}=p(61207);const{kState:Be,kHeaders:Qe}=p(64883);const{webidl:be}=p(10253);const{FormData:we}=p(79662);const{URLSerializer:Se}=p(90980);const{kConstruct:Re}=p(99411);const ve=p(34589);const{types:ke}=p(57975);const Te=new TextEncoder("utf-8");class Response{static error(){const i=fromInnerResponse(makeNetworkError(),"immutable");return i}static json(i,d={}){be.argumentLengthCheck(arguments,1,"Response.json");if(d!==null){d=be.converters.ResponseInit(d)}const p=Te.encode(pe(i));const v=ne(p);const V=fromInnerResponse(makeResponse({}),"response");initializeResponse(V,d,{body:v[0],type:"application/json"});return V}static redirect(i,d=302){be.argumentLengthCheck(arguments,1,"Response.redirect");i=be.converters.USVString(i);d=be.converters["unsigned short"](d);let p;try{p=new URL(i,Ce.settingsObject.baseUrl)}catch(d){throw new TypeError(`Failed to parse URL from ${i}`,{cause:d})}if(!ye.has(d)){throw new RangeError(`Invalid status code ${d}`)}const v=fromInnerResponse(makeResponse({}),"immutable");v[Be].status=d;const V=Ee(Se(p));v[Be].headersList.append("location",V,true);return v}constructor(i=null,d={}){be.util.markAsUncloneable(this);if(i===Re){return}if(i!==null){i=be.converters.BodyInit(i)}d=be.converters.ResponseInit(d);this[Be]=makeResponse({});this[Qe]=new v(Re);te(this[Qe],"response");re(this[Qe],this[Be].headersList);let p=null;if(i!=null){const[d,v]=ne(i);p={body:d,type:v}}initializeResponse(this,d,p)}get type(){be.brandCheck(this,Response);return this[Be].type}get url(){be.brandCheck(this,Response);const i=this[Be].urlList;const d=i[i.length-1]??null;if(d===null){return""}return Se(d,true)}get redirected(){be.brandCheck(this,Response);return this[Be].urlList.length>1}get status(){be.brandCheck(this,Response);return this[Be].status}get ok(){be.brandCheck(this,Response);return this[Be].status>=200&&this[Be].status<=299}get statusText(){be.brandCheck(this,Response);return this[Be].statusText}get headers(){be.brandCheck(this,Response);return this[Qe]}get body(){be.brandCheck(this,Response);return this[Be].body?this[Be].body.stream:null}get bodyUsed(){be.brandCheck(this,Response);return!!this[Be].body&&ce.isDisturbed(this[Be].body.stream)}clone(){be.brandCheck(this,Response);if(Ae(this)){throw be.errors.exception({header:"Response.clone",message:"Body has already been consumed."})}const i=cloneResponse(this[Be]);if(oe&&this[Be].body?.stream){ae.register(this,new WeakRef(this[Be].body.stream))}return fromInnerResponse(i,ee(this[Qe]))}[le.inspect.custom](i,d){if(d.depth===null){d.depth=2}d.colors??=true;const p={status:this.status,statusText:this.statusText,headers:this.headers,body:this.body,bodyUsed:this.bodyUsed,ok:this.ok,redirected:this.redirected,type:this.type,url:this.url};return`Response ${le.formatWithOptions(d,p)}`}}ie(Response);Object.defineProperties(Response.prototype,{type:ue,url:ue,status:ue,ok:ue,redirected:ue,statusText:ue,headers:ue,clone:ue,body:ue,bodyUsed:ue,[Symbol.toStringTag]:{value:"Response",configurable:true}});Object.defineProperties(Response,{json:ue,redirect:ue,error:ue});function cloneResponse(i){if(i.internalResponse){return filterResponse(cloneResponse(i.internalResponse),i.type)}const d=makeResponse({...i,body:null});if(i.body!=null){d.body=se(d,i.body)}return d}function makeResponse(i){return{aborted:false,rangeRequested:false,timingAllowPassed:false,requestIncludesCredentials:false,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...i,headersList:i?.headersList?new V(i?.headersList):new V,urlList:i?.urlList?[...i.urlList]:[]}}function makeNetworkError(i){const d=me(i);return makeResponse({type:"error",status:0,error:d?i:new Error(i?String(i):i),aborted:i&&i.name==="AbortError"})}function isNetworkError(i){return i.type==="error"&&i.status===0}function makeFilteredResponse(i,d){d={internalResponse:i,...d};return new Proxy(i,{get(i,p){return p in d?d[p]:i[p]},set(i,p,v){ve(!(p in d));i[p]=v;return true}})}function filterResponse(i,d){if(d==="basic"){return makeFilteredResponse(i,{type:"basic",headersList:i.headersList})}else if(d==="cors"){return makeFilteredResponse(i,{type:"cors",headersList:i.headersList})}else if(d==="opaque"){return makeFilteredResponse(i,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null})}else if(d==="opaqueredirect"){return makeFilteredResponse(i,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null})}else{ve(false)}}function makeAppropriateNetworkError(i,d=null){ve(he(i));return fe(i)?makeNetworkError(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:d})):makeNetworkError(Object.assign(new DOMException("Request was cancelled."),{cause:d}))}function initializeResponse(i,d,p){if(d.status!==null&&(d.status<200||d.status>599)){throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.')}if("statusText"in d&&d.statusText!=null){if(!de(String(d.statusText))){throw new TypeError("Invalid statusText")}}if("status"in d&&d.status!=null){i[Be].status=d.status}if("statusText"in d&&d.statusText!=null){i[Be].statusText=d.statusText}if("headers"in d&&d.headers!=null){K(i[Qe],d.headers)}if(p){if(Ie.includes(i.status)){throw be.errors.exception({header:"Response constructor",message:`Invalid response status code ${i.status}`})}i[Be].body=p.body;if(p.type!=null&&!i[Be].headersList.contains("content-type",true)){i[Be].headersList.append("content-type",p.type,true)}}}function fromInnerResponse(i,d){const p=new Response(Re);p[Be]=i;p[Qe]=new v(Re);re(p[Qe],i.headersList);te(p[Qe],d);if(oe&&i.body?.stream){ae.register(p,new WeakRef(i.body.stream))}return p}be.converters.ReadableStream=be.interfaceConverter(ReadableStream);be.converters.FormData=be.interfaceConverter(we);be.converters.URLSearchParams=be.interfaceConverter(URLSearchParams);be.converters.XMLHttpRequestBodyInit=function(i,d,p){if(typeof i==="string"){return be.converters.USVString(i,d,p)}if(ge(i)){return be.converters.Blob(i,d,p,{strict:false})}if(ArrayBuffer.isView(i)||ke.isArrayBuffer(i)){return be.converters.BufferSource(i,d,p)}if(ce.isFormDataLike(i)){return be.converters.FormData(i,d,p,{strict:false})}if(i instanceof URLSearchParams){return be.converters.URLSearchParams(i,d,p)}return be.converters.DOMString(i,d,p)};be.converters.BodyInit=function(i,d,p){if(i instanceof ReadableStream){return be.converters.ReadableStream(i,d,p)}if(i?.[Symbol.asyncIterator]){return i}return be.converters.XMLHttpRequestBodyInit(i,d,p)};be.converters.ResponseInit=be.dictionaryConverter([{key:"status",converter:be.converters["unsigned short"],defaultValue:()=>200},{key:"statusText",converter:be.converters.ByteString,defaultValue:()=>""},{key:"headers",converter:be.converters.HeadersInit}]);i.exports={isNetworkError:isNetworkError,makeNetworkError:makeNetworkError,makeResponse:makeResponse,makeAppropriateNetworkError:makeAppropriateNetworkError,filterResponse:filterResponse,Response:Response,cloneResponse:cloneResponse,fromInnerResponse:fromInnerResponse}},64883:i=>{i.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kDispatcher:Symbol("dispatcher")}},14296:(i,d,p)=>{const{Transform:v}=p(57075);const V=p(38522);const{redirectStatusSet:K,referrerPolicySet:ee,badPortsSet:te}=p(61207);const{getGlobalOrigin:re}=p(42443);const{collectASequenceOfCodePoints:ne,collectAnHTTPQuotedString:se,removeChars:ie,parseMIMEType:oe}=p(90980);const{performance:ae}=p(643);const{isBlobLike:Ae,ReadableStreamFrom:ce,isValidHTTPToken:le,normalizedMethodRecordsBase:ue}=p(31544);const de=p(34589);const{isUint8Array:he}=p(73429);const{webidl:fe}=p(10253);let ge=[];let pe;try{pe=p(77598);const i=["sha256","sha384","sha512"];ge=pe.getHashes().filter((d=>i.includes(d)))}catch{}function responseURL(i){const d=i.urlList;const p=d.length;return p===0?null:d[p-1].toString()}function responseLocationURL(i,d){if(!K.has(i.status)){return null}let p=i.headersList.get("location",true);if(p!==null&&isValidHeaderValue(p)){if(!isValidEncodedURL(p)){p=normalizeBinaryStringToUtf8(p)}p=new URL(p,responseURL(i))}if(p&&!p.hash){p.hash=d}return p}function isValidEncodedURL(i){for(let d=0;d126||p<32){return false}}return true}function normalizeBinaryStringToUtf8(i){return Buffer.from(i,"binary").toString("utf8")}function requestCurrentURL(i){return i.urlList[i.urlList.length-1]}function requestBadPort(i){const d=requestCurrentURL(i);if(urlIsHttpHttpsScheme(d)&&te.has(d.port)){return"blocked"}return"allowed"}function isErrorLike(i){return i instanceof Error||(i?.constructor?.name==="Error"||i?.constructor?.name==="DOMException")}function isValidReasonPhrase(i){for(let d=0;d=32&&p<=126||p>=128&&p<=255)){return false}}return true}const me=le;function isValidHeaderValue(i){return(i[0]==="\t"||i[0]===" "||i[i.length-1]==="\t"||i[i.length-1]===" "||i.includes("\n")||i.includes("\r")||i.includes("\0"))===false}function setRequestReferrerPolicyOnRedirect(i,d){const{headersList:p}=d;const v=(p.get("referrer-policy",true)??"").split(",");let V="";if(v.length>0){for(let i=v.length;i!==0;i--){const d=v[i-1].trim();if(ee.has(d)){V=d;break}}}if(V!==""){i.referrerPolicy=V}}function crossOriginResourcePolicyCheck(){return"allowed"}function corsCheck(){return"success"}function TAOCheck(){return"success"}function appendFetchMetadata(i){let d=null;d=i.mode;i.headersList.set("sec-fetch-mode",d,true)}function appendRequestOriginHeader(i){let d=i.origin;if(d==="client"||d===undefined){return}if(i.responseTainting==="cors"||i.mode==="websocket"){i.headersList.append("origin",d,true)}else if(i.method!=="GET"&&i.method!=="HEAD"){switch(i.referrerPolicy){case"no-referrer":d=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":if(i.origin&&urlHasHttpsScheme(i.origin)&&!urlHasHttpsScheme(requestCurrentURL(i))){d=null}break;case"same-origin":if(!sameOrigin(i,requestCurrentURL(i))){d=null}break;default:}i.headersList.append("origin",d,true)}}function coarsenTime(i,d){return i}function clampAndCoarsenConnectionTimingInfo(i,d,p){if(!i?.startTime||i.startTime4096){v=V}const K=sameOrigin(i,v);const ee=isURLPotentiallyTrustworthy(v)&&!isURLPotentiallyTrustworthy(i.url);switch(d){case"origin":return V!=null?V:stripURLForReferrer(p,true);case"unsafe-url":return v;case"same-origin":return K?V:"no-referrer";case"origin-when-cross-origin":return K?v:V;case"strict-origin-when-cross-origin":{const d=requestCurrentURL(i);if(sameOrigin(v,d)){return v}if(isURLPotentiallyTrustworthy(v)&&!isURLPotentiallyTrustworthy(d)){return"no-referrer"}return V}case"strict-origin":case"no-referrer-when-downgrade":default:return ee?"no-referrer":V}}function stripURLForReferrer(i,d){de(i instanceof URL);i=new URL(i);if(i.protocol==="file:"||i.protocol==="about:"||i.protocol==="blank:"){return"no-referrer"}i.username="";i.password="";i.hash="";if(d){i.pathname="";i.search=""}return i}function isURLPotentiallyTrustworthy(i){if(!(i instanceof URL)){return false}if(i.href==="about:blank"||i.href==="about:srcdoc"){return true}if(i.protocol==="data:")return true;if(i.protocol==="file:")return true;return isOriginPotentiallyTrustworthy(i.origin);function isOriginPotentiallyTrustworthy(i){if(i==null||i==="null")return false;const d=new URL(i);if(d.protocol==="https:"||d.protocol==="wss:"){return true}if(/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(d.hostname)||(d.hostname==="localhost"||d.hostname.includes("localhost."))||d.hostname.endsWith(".localhost")){return true}return false}}function bytesMatch(i,d){if(pe===undefined){return true}const p=parseMetadata(d);if(p==="no metadata"){return true}if(p.length===0){return true}const v=getStrongestMetadata(p);const V=filterMetadataListByAlgorithm(p,v);for(const d of V){const p=d.algo;const v=d.hash;let V=pe.createHash(p).update(i).digest("base64");if(V[V.length-1]==="="){if(V[V.length-2]==="="){V=V.slice(0,-2)}else{V=V.slice(0,-1)}}if(compareBase64Mixed(V,v)){return true}}return false}const Ee=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function parseMetadata(i){const d=[];let p=true;for(const v of i.split(" ")){p=false;const i=Ee.exec(v);if(i===null||i.groups===undefined||i.groups.algo===undefined){continue}const V=i.groups.algo.toLowerCase();if(ge.includes(V)){d.push(i.groups)}}if(p===true){return"no metadata"}return d}function getStrongestMetadata(i){let d=i[0].algo;if(d[3]==="5"){return d}for(let p=1;p{i=p;d=v}));return{promise:p,resolve:i,reject:d}}function isAborted(i){return i.controller.state==="aborted"}function isCancelled(i){return i.controller.state==="aborted"||i.controller.state==="terminated"}function normalizeMethod(i){return ue[i.toLowerCase()]??i}function serializeJavascriptValueToJSONString(i){const d=JSON.stringify(i);if(d===undefined){throw new TypeError("Value is not JSON serializable")}de(typeof d==="string");return d}const Ce=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function createIterator(i,d,p=0,v=1){class FastIterableIterator{#Y;#j;#J;constructor(i,d){this.#Y=i;this.#j=d;this.#J=0}next(){if(typeof this!=="object"||this===null||!(#Y in this)){throw new TypeError(`'next' called on an object that does not implement interface ${i} Iterator.`)}const V=this.#J;const K=this.#Y[d];const ee=K.length;if(V>=ee){return{value:undefined,done:true}}const{[p]:te,[v]:re}=K[V];this.#J=V+1;let ne;switch(this.#j){case"key":ne=te;break;case"value":ne=re;break;case"key+value":ne=[te,re];break}return{value:ne,done:false}}}delete FastIterableIterator.prototype.constructor;Object.setPrototypeOf(FastIterableIterator.prototype,Ce);Object.defineProperties(FastIterableIterator.prototype,{[Symbol.toStringTag]:{writable:false,enumerable:false,configurable:true,value:`${i} Iterator`},next:{writable:true,enumerable:true,configurable:true}});return function(i,d){return new FastIterableIterator(i,d)}}function iteratorMixin(i,d,p,v=0,V=1){const K=createIterator(i,p,v,V);const ee={keys:{writable:true,enumerable:true,configurable:true,value:function keys(){fe.brandCheck(this,d);return K(this,"key")}},values:{writable:true,enumerable:true,configurable:true,value:function values(){fe.brandCheck(this,d);return K(this,"value")}},entries:{writable:true,enumerable:true,configurable:true,value:function entries(){fe.brandCheck(this,d);return K(this,"key+value")}},forEach:{writable:true,enumerable:true,configurable:true,value:function forEach(p,v=globalThis){fe.brandCheck(this,d);fe.argumentLengthCheck(arguments,1,`${i}.forEach`);if(typeof p!=="function"){throw new TypeError(`Failed to execute 'forEach' on '${i}': parameter 1 is not of type 'Function'.`)}for(const{0:i,1:d}of K(this,"key+value")){p.call(v,d,i,this)}}}};return Object.defineProperties(d.prototype,{...ee,[Symbol.iterator]:{writable:true,enumerable:false,configurable:true,value:ee.entries.value}})}async function fullyReadBody(i,d,p){const v=d;const V=p;let K;try{K=i.stream.getReader()}catch(i){V(i);return}try{v(await readAllBytes(K))}catch(i){V(i)}}function isReadableStreamLike(i){return i instanceof ReadableStream||i[Symbol.toStringTag]==="ReadableStream"&&typeof i.tee==="function"}function readableStreamClose(i){try{i.close();i.byobRequest?.respond(0)}catch(i){if(!i.message.includes("Controller is already closed")&&!i.message.includes("ReadableStream is already closed")){throw i}}}const ye=/[^\x00-\xFF]/;function isomorphicEncode(i){de(!ye.test(i));return i}async function readAllBytes(i){const d=[];let p=0;while(true){const{done:v,value:V}=await i.read();if(v){return Buffer.concat(d,p)}if(!he(V)){throw new TypeError("Received non-Uint8Array chunk")}d.push(V);p+=V.length}}function urlIsLocal(i){de("protocol"in i);const d=i.protocol;return d==="about:"||d==="blob:"||d==="data:"}function urlHasHttpsScheme(i){return typeof i==="string"&&i[5]===":"&&i[0]==="h"&&i[1]==="t"&&i[2]==="t"&&i[3]==="p"&&i[4]==="s"||i.protocol==="https:"}function urlIsHttpHttpsScheme(i){de("protocol"in i);const d=i.protocol;return d==="http:"||d==="https:"}function simpleRangeHeaderValue(i,d){const p=i;if(!p.startsWith("bytes")){return"failure"}const v={position:5};if(d){ne((i=>i==="\t"||i===" "),p,v)}if(p.charCodeAt(v.position)!==61){return"failure"}v.position++;if(d){ne((i=>i==="\t"||i===" "),p,v)}const V=ne((i=>{const d=i.charCodeAt(0);return d>=48&&d<=57}),p,v);const K=V.length?Number(V):null;if(d){ne((i=>i==="\t"||i===" "),p,v)}if(p.charCodeAt(v.position)!==45){return"failure"}v.position++;if(d){ne((i=>i==="\t"||i===" "),p,v)}const ee=ne((i=>{const d=i.charCodeAt(0);return d>=48&&d<=57}),p,v);const te=ee.length?Number(ee):null;if(v.positionte){return"failure"}return{rangeStartValue:K,rangeEndValue:te}}function buildContentRange(i,d,p){let v="bytes ";v+=isomorphicEncode(`${i}`);v+="-";v+=isomorphicEncode(`${d}`);v+="/";v+=isomorphicEncode(`${p}`);return v}class InflateStream extends v{#W;constructor(i){super();this.#W=i}_transform(i,d,p){if(!this._inflateStream){if(i.length===0){p();return}this._inflateStream=(i[0]&15)===8?V.createInflate(this.#W):V.createInflateRaw(this.#W);this._inflateStream.on("data",this.push.bind(this));this._inflateStream.on("end",(()=>this.push(null)));this._inflateStream.on("error",(i=>this.destroy(i)))}this._inflateStream.write(i,d,p)}_final(i){if(this._inflateStream){this._inflateStream.end();this._inflateStream=null}i()}}function createInflate(i){return new InflateStream(i)}function extractMimeType(i){let d=null;let p=null;let v=null;const V=getDecodeSplit("content-type",i);if(V===null){return"failure"}for(const i of V){const V=oe(i);if(V==="failure"||V.essence==="*/*"){continue}v=V;if(v.essence!==p){d=null;if(v.parameters.has("charset")){d=v.parameters.get("charset")}p=v.essence}else if(!v.parameters.has("charset")&&d!==null){v.parameters.set("charset",d)}}if(v==null){return"failure"}return v}function gettingDecodingSplitting(i){const d=i;const p={position:0};const v=[];let V="";while(p.positioni!=='"'&&i!==","),d,p);if(p.positioni===9||i===32));v.push(V);V=""}return v}function getDecodeSplit(i,d){const p=d.get(i,true);if(p===null){return null}return gettingDecodingSplitting(p)}const Ie=new TextDecoder;function utf8DecodeBytes(i){if(i.length===0){return""}if(i[0]===239&&i[1]===187&&i[2]===191){i=i.subarray(3)}const d=Ie.decode(i);return d}class EnvironmentSettingsObjectBase{get baseUrl(){return re()}get origin(){return this.baseUrl?.origin}policyContainer=makePolicyContainer()}class EnvironmentSettingsObject{settingsObject=new EnvironmentSettingsObjectBase}const Be=new EnvironmentSettingsObject;i.exports={isAborted:isAborted,isCancelled:isCancelled,isValidEncodedURL:isValidEncodedURL,createDeferredPromise:createDeferredPromise,ReadableStreamFrom:ce,tryUpgradeRequestToAPotentiallyTrustworthyURL:tryUpgradeRequestToAPotentiallyTrustworthyURL,clampAndCoarsenConnectionTimingInfo:clampAndCoarsenConnectionTimingInfo,coarsenedSharedCurrentTime:coarsenedSharedCurrentTime,determineRequestsReferrer:determineRequestsReferrer,makePolicyContainer:makePolicyContainer,clonePolicyContainer:clonePolicyContainer,appendFetchMetadata:appendFetchMetadata,appendRequestOriginHeader:appendRequestOriginHeader,TAOCheck:TAOCheck,corsCheck:corsCheck,crossOriginResourcePolicyCheck:crossOriginResourcePolicyCheck,createOpaqueTimingInfo:createOpaqueTimingInfo,setRequestReferrerPolicyOnRedirect:setRequestReferrerPolicyOnRedirect,isValidHTTPToken:le,requestBadPort:requestBadPort,requestCurrentURL:requestCurrentURL,responseURL:responseURL,responseLocationURL:responseLocationURL,isBlobLike:Ae,isURLPotentiallyTrustworthy:isURLPotentiallyTrustworthy,isValidReasonPhrase:isValidReasonPhrase,sameOrigin:sameOrigin,normalizeMethod:normalizeMethod,serializeJavascriptValueToJSONString:serializeJavascriptValueToJSONString,iteratorMixin:iteratorMixin,createIterator:createIterator,isValidHeaderName:me,isValidHeaderValue:isValidHeaderValue,isErrorLike:isErrorLike,fullyReadBody:fullyReadBody,bytesMatch:bytesMatch,isReadableStreamLike:isReadableStreamLike,readableStreamClose:readableStreamClose,isomorphicEncode:isomorphicEncode,urlIsLocal:urlIsLocal,urlHasHttpsScheme:urlHasHttpsScheme,urlIsHttpHttpsScheme:urlIsHttpHttpsScheme,readAllBytes:readAllBytes,simpleRangeHeaderValue:simpleRangeHeaderValue,buildContentRange:buildContentRange,parseMetadata:parseMetadata,createInflate:createInflate,extractMimeType:extractMimeType,getDecodeSplit:getDecodeSplit,utf8DecodeBytes:utf8DecodeBytes,environmentSettingsObject:Be}},10253:(i,d,p)=>{const{types:v,inspect:V}=p(57975);const{markAsUncloneable:K}=p(75919);const{toUSVString:ee}=p(31544);const te={};te.converters={};te.util={};te.errors={};te.errors.exception=function(i){return new TypeError(`${i.header}: ${i.message}`)};te.errors.conversionFailed=function(i){const d=i.types.length===1?"":" one of";const p=`${i.argument} could not be converted to`+`${d}: ${i.types.join(", ")}.`;return te.errors.exception({header:i.prefix,message:p})};te.errors.invalidArgument=function(i){return te.errors.exception({header:i.prefix,message:`"${i.value}" is an invalid ${i.type}.`})};te.brandCheck=function(i,d,p){if(p?.strict!==false){if(!(i instanceof d)){const i=new TypeError("Illegal invocation");i.code="ERR_INVALID_THIS";throw i}}else{if(i?.[Symbol.toStringTag]!==d.prototype[Symbol.toStringTag]){const i=new TypeError("Illegal invocation");i.code="ERR_INVALID_THIS";throw i}}};te.argumentLengthCheck=function({length:i},d,p){if(i{});te.util.ConvertToInt=function(i,d,p,v){let V;let K;if(d===64){V=Math.pow(2,53)-1;if(p==="unsigned"){K=0}else{K=Math.pow(-2,53)+1}}else if(p==="unsigned"){K=0;V=Math.pow(2,d)-1}else{K=Math.pow(-2,d)-1;V=Math.pow(2,d-1)-1}let ee=Number(i);if(ee===0){ee=0}if(v?.enforceRange===true){if(Number.isNaN(ee)||ee===Number.POSITIVE_INFINITY||ee===Number.NEGATIVE_INFINITY){throw te.errors.exception({header:"Integer conversion",message:`Could not convert ${te.util.Stringify(i)} to an integer.`})}ee=te.util.IntegerPart(ee);if(eeV){throw te.errors.exception({header:"Integer conversion",message:`Value must be between ${K}-${V}, got ${ee}.`})}return ee}if(!Number.isNaN(ee)&&v?.clamp===true){ee=Math.min(Math.max(ee,K),V);if(Math.floor(ee)%2===0){ee=Math.floor(ee)}else{ee=Math.ceil(ee)}return ee}if(Number.isNaN(ee)||ee===0&&Object.is(0,ee)||ee===Number.POSITIVE_INFINITY||ee===Number.NEGATIVE_INFINITY){return 0}ee=te.util.IntegerPart(ee);ee=ee%Math.pow(2,d);if(p==="signed"&&ee>=Math.pow(2,d)-1){return ee-Math.pow(2,d)}return ee};te.util.IntegerPart=function(i){const d=Math.floor(Math.abs(i));if(i<0){return-1*d}return d};te.util.Stringify=function(i){const d=te.util.Type(i);switch(d){case"Symbol":return`Symbol(${i.description})`;case"Object":return V(i);case"String":return`"${i}"`;default:return`${i}`}};te.sequenceConverter=function(i){return(d,p,v,V)=>{if(te.util.Type(d)!=="Object"){throw te.errors.exception({header:p,message:`${v} (${te.util.Stringify(d)}) is not iterable.`})}const K=typeof V==="function"?V():d?.[Symbol.iterator]?.();const ee=[];let re=0;if(K===undefined||typeof K.next!=="function"){throw te.errors.exception({header:p,message:`${v} is not iterable.`})}while(true){const{done:d,value:V}=K.next();if(d){break}ee.push(i(V,p,`${v}[${re++}]`))}return ee}};te.recordConverter=function(i,d){return(p,V,K)=>{if(te.util.Type(p)!=="Object"){throw te.errors.exception({header:V,message:`${K} ("${te.util.Type(p)}") is not an Object.`})}const ee={};if(!v.isProxy(p)){const v=[...Object.getOwnPropertyNames(p),...Object.getOwnPropertySymbols(p)];for(const te of v){const v=i(te,V,K);const re=d(p[te],V,K);ee[v]=re}return ee}const re=Reflect.ownKeys(p);for(const v of re){const te=Reflect.getOwnPropertyDescriptor(p,v);if(te?.enumerable){const te=i(v,V,K);const re=d(p[v],V,K);ee[te]=re}}return ee}};te.interfaceConverter=function(i){return(d,p,v,V)=>{if(V?.strict!==false&&!(d instanceof i)){throw te.errors.exception({header:p,message:`Expected ${v} ("${te.util.Stringify(d)}") to be an instance of ${i.name}.`})}return d}};te.dictionaryConverter=function(i){return(d,p,v)=>{const V=te.util.Type(d);const K={};if(V==="Null"||V==="Undefined"){return K}else if(V!=="Object"){throw te.errors.exception({header:p,message:`Expected ${d} to be one of: Null, Undefined, Object.`})}for(const V of i){const{key:i,defaultValue:ee,required:re,converter:ne}=V;if(re===true){if(!Object.hasOwn(d,i)){throw te.errors.exception({header:p,message:`Missing required key "${i}".`})}}let se=d[i];const ie=Object.hasOwn(V,"defaultValue");if(ie&&se!==null){se??=ee()}if(re||ie||se!==undefined){se=ne(se,p,`${v}.${i}`);if(V.allowedValues&&!V.allowedValues.includes(se)){throw te.errors.exception({header:p,message:`${se} is not an accepted type. Expected one of ${V.allowedValues.join(", ")}.`})}K[i]=se}}return K}};te.nullableConverter=function(i){return(d,p,v)=>{if(d===null){return d}return i(d,p,v)}};te.converters.DOMString=function(i,d,p,v){if(i===null&&v?.legacyNullToEmptyString){return""}if(typeof i==="symbol"){throw te.errors.exception({header:d,message:`${p} is a symbol, which cannot be converted to a DOMString.`})}return String(i)};te.converters.ByteString=function(i,d,p){const v=te.converters.DOMString(i,d,p);for(let i=0;i255){throw new TypeError("Cannot convert argument to a ByteString because the character at "+`index ${i} has a value of ${v.charCodeAt(i)} which is greater than 255.`)}}return v};te.converters.USVString=ee;te.converters.boolean=function(i){const d=Boolean(i);return d};te.converters.any=function(i){return i};te.converters["long long"]=function(i,d,p){const v=te.util.ConvertToInt(i,64,"signed",undefined,d,p);return v};te.converters["unsigned long long"]=function(i,d,p){const v=te.util.ConvertToInt(i,64,"unsigned",undefined,d,p);return v};te.converters["unsigned long"]=function(i,d,p){const v=te.util.ConvertToInt(i,32,"unsigned",undefined,d,p);return v};te.converters["unsigned short"]=function(i,d,p,v){const V=te.util.ConvertToInt(i,16,"unsigned",v,d,p);return V};te.converters.ArrayBuffer=function(i,d,p,V){if(te.util.Type(i)!=="Object"||!v.isAnyArrayBuffer(i)){throw te.errors.conversionFailed({prefix:d,argument:`${p} ("${te.util.Stringify(i)}")`,types:["ArrayBuffer"]})}if(V?.allowShared===false&&v.isSharedArrayBuffer(i)){throw te.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}if(i.resizable||i.growable){throw te.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."})}return i};te.converters.TypedArray=function(i,d,p,V,K){if(te.util.Type(i)!=="Object"||!v.isTypedArray(i)||i.constructor.name!==d.name){throw te.errors.conversionFailed({prefix:p,argument:`${V} ("${te.util.Stringify(i)}")`,types:[d.name]})}if(K?.allowShared===false&&v.isSharedArrayBuffer(i.buffer)){throw te.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}if(i.buffer.resizable||i.buffer.growable){throw te.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."})}return i};te.converters.DataView=function(i,d,p,V){if(te.util.Type(i)!=="Object"||!v.isDataView(i)){throw te.errors.exception({header:d,message:`${p} is not a DataView.`})}if(V?.allowShared===false&&v.isSharedArrayBuffer(i.buffer)){throw te.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}if(i.buffer.resizable||i.buffer.growable){throw te.errors.exception({header:"ArrayBuffer",message:"Received a resizable ArrayBuffer."})}return i};te.converters.BufferSource=function(i,d,p,V){if(v.isAnyArrayBuffer(i)){return te.converters.ArrayBuffer(i,d,p,{...V,allowShared:false})}if(v.isTypedArray(i)){return te.converters.TypedArray(i,i.constructor,d,p,{...V,allowShared:false})}if(v.isDataView(i)){return te.converters.DataView(i,d,p,{...V,allowShared:false})}throw te.errors.conversionFailed({prefix:d,argument:`${p} ("${te.util.Stringify(i)}")`,types:["BufferSource"]})};te.converters["sequence"]=te.sequenceConverter(te.converters.ByteString);te.converters["sequence>"]=te.sequenceConverter(te.converters["sequence"]);te.converters["record"]=te.recordConverter(te.converters.ByteString,te.converters.ByteString);i.exports={webidl:te}},65207:i=>{function getEncoding(i){if(!i){return"failure"}switch(i.trim().toLowerCase()){case"unicode-1-1-utf-8":case"unicode11utf8":case"unicode20utf8":case"utf-8":case"utf8":case"x-unicode20utf8":return"UTF-8";case"866":case"cp866":case"csibm866":case"ibm866":return"IBM866";case"csisolatin2":case"iso-8859-2":case"iso-ir-101":case"iso8859-2":case"iso88592":case"iso_8859-2":case"iso_8859-2:1987":case"l2":case"latin2":return"ISO-8859-2";case"csisolatin3":case"iso-8859-3":case"iso-ir-109":case"iso8859-3":case"iso88593":case"iso_8859-3":case"iso_8859-3:1988":case"l3":case"latin3":return"ISO-8859-3";case"csisolatin4":case"iso-8859-4":case"iso-ir-110":case"iso8859-4":case"iso88594":case"iso_8859-4":case"iso_8859-4:1988":case"l4":case"latin4":return"ISO-8859-4";case"csisolatincyrillic":case"cyrillic":case"iso-8859-5":case"iso-ir-144":case"iso8859-5":case"iso88595":case"iso_8859-5":case"iso_8859-5:1988":return"ISO-8859-5";case"arabic":case"asmo-708":case"csiso88596e":case"csiso88596i":case"csisolatinarabic":case"ecma-114":case"iso-8859-6":case"iso-8859-6-e":case"iso-8859-6-i":case"iso-ir-127":case"iso8859-6":case"iso88596":case"iso_8859-6":case"iso_8859-6:1987":return"ISO-8859-6";case"csisolatingreek":case"ecma-118":case"elot_928":case"greek":case"greek8":case"iso-8859-7":case"iso-ir-126":case"iso8859-7":case"iso88597":case"iso_8859-7":case"iso_8859-7:1987":case"sun_eu_greek":return"ISO-8859-7";case"csiso88598e":case"csisolatinhebrew":case"hebrew":case"iso-8859-8":case"iso-8859-8-e":case"iso-ir-138":case"iso8859-8":case"iso88598":case"iso_8859-8":case"iso_8859-8:1988":case"visual":return"ISO-8859-8";case"csiso88598i":case"iso-8859-8-i":case"logical":return"ISO-8859-8-I";case"csisolatin6":case"iso-8859-10":case"iso-ir-157":case"iso8859-10":case"iso885910":case"l6":case"latin6":return"ISO-8859-10";case"iso-8859-13":case"iso8859-13":case"iso885913":return"ISO-8859-13";case"iso-8859-14":case"iso8859-14":case"iso885914":return"ISO-8859-14";case"csisolatin9":case"iso-8859-15":case"iso8859-15":case"iso885915":case"iso_8859-15":case"l9":return"ISO-8859-15";case"iso-8859-16":return"ISO-8859-16";case"cskoi8r":case"koi":case"koi8":case"koi8-r":case"koi8_r":return"KOI8-R";case"koi8-ru":case"koi8-u":return"KOI8-U";case"csmacintosh":case"mac":case"macintosh":case"x-mac-roman":return"macintosh";case"iso-8859-11":case"iso8859-11":case"iso885911":case"tis-620":case"windows-874":return"windows-874";case"cp1250":case"windows-1250":case"x-cp1250":return"windows-1250";case"cp1251":case"windows-1251":case"x-cp1251":return"windows-1251";case"ansi_x3.4-1968":case"ascii":case"cp1252":case"cp819":case"csisolatin1":case"ibm819":case"iso-8859-1":case"iso-ir-100":case"iso8859-1":case"iso88591":case"iso_8859-1":case"iso_8859-1:1987":case"l1":case"latin1":case"us-ascii":case"windows-1252":case"x-cp1252":return"windows-1252";case"cp1253":case"windows-1253":case"x-cp1253":return"windows-1253";case"cp1254":case"csisolatin5":case"iso-8859-9":case"iso-ir-148":case"iso8859-9":case"iso88599":case"iso_8859-9":case"iso_8859-9:1989":case"l5":case"latin5":case"windows-1254":case"x-cp1254":return"windows-1254";case"cp1255":case"windows-1255":case"x-cp1255":return"windows-1255";case"cp1256":case"windows-1256":case"x-cp1256":return"windows-1256";case"cp1257":case"windows-1257":case"x-cp1257":return"windows-1257";case"cp1258":case"windows-1258":case"x-cp1258":return"windows-1258";case"x-mac-cyrillic":case"x-mac-ukrainian":return"x-mac-cyrillic";case"chinese":case"csgb2312":case"csiso58gb231280":case"gb2312":case"gb_2312":case"gb_2312-80":case"gbk":case"iso-ir-58":case"x-gbk":return"GBK";case"gb18030":return"gb18030";case"big5":case"big5-hkscs":case"cn-big5":case"csbig5":case"x-x-big5":return"Big5";case"cseucpkdfmtjapanese":case"euc-jp":case"x-euc-jp":return"EUC-JP";case"csiso2022jp":case"iso-2022-jp":return"ISO-2022-JP";case"csshiftjis":case"ms932":case"ms_kanji":case"shift-jis":case"shift_jis":case"sjis":case"windows-31j":case"x-sjis":return"Shift_JIS";case"cseuckr":case"csksc56011987":case"euc-kr":case"iso-ir-149":case"korean":case"ks_c_5601-1987":case"ks_c_5601-1989":case"ksc5601":case"ksc_5601":case"windows-949":return"EUC-KR";case"csiso2022kr":case"hz-gb-2312":case"iso-2022-cn":case"iso-2022-cn-ext":case"iso-2022-kr":case"replacement":return"replacement";case"unicodefffe":case"utf-16be":return"UTF-16BE";case"csunicode":case"iso-10646-ucs-2":case"ucs-2":case"unicode":case"unicodefeff":case"utf-16":case"utf-16le":return"UTF-16LE";case"x-user-defined":return"x-user-defined";default:return"failure"}}i.exports={getEncoding:getEncoding}},96299:(i,d,p)=>{const{staticPropertyDescriptors:v,readOperation:V,fireAProgressEvent:K}=p(77522);const{kState:ee,kError:te,kResult:re,kEvents:ne,kAborted:se}=p(9657);const{webidl:ie}=p(10253);const{kEnumerableProperty:oe}=p(31544);class FileReader extends EventTarget{constructor(){super();this[ee]="empty";this[re]=null;this[te]=null;this[ne]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(i){ie.brandCheck(this,FileReader);ie.argumentLengthCheck(arguments,1,"FileReader.readAsArrayBuffer");i=ie.converters.Blob(i,{strict:false});V(this,i,"ArrayBuffer")}readAsBinaryString(i){ie.brandCheck(this,FileReader);ie.argumentLengthCheck(arguments,1,"FileReader.readAsBinaryString");i=ie.converters.Blob(i,{strict:false});V(this,i,"BinaryString")}readAsText(i,d=undefined){ie.brandCheck(this,FileReader);ie.argumentLengthCheck(arguments,1,"FileReader.readAsText");i=ie.converters.Blob(i,{strict:false});if(d!==undefined){d=ie.converters.DOMString(d,"FileReader.readAsText","encoding")}V(this,i,"Text",d)}readAsDataURL(i){ie.brandCheck(this,FileReader);ie.argumentLengthCheck(arguments,1,"FileReader.readAsDataURL");i=ie.converters.Blob(i,{strict:false});V(this,i,"DataURL")}abort(){if(this[ee]==="empty"||this[ee]==="done"){this[re]=null;return}if(this[ee]==="loading"){this[ee]="done";this[re]=null}this[se]=true;K("abort",this);if(this[ee]!=="loading"){K("loadend",this)}}get readyState(){ie.brandCheck(this,FileReader);switch(this[ee]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){ie.brandCheck(this,FileReader);return this[re]}get error(){ie.brandCheck(this,FileReader);return this[te]}get onloadend(){ie.brandCheck(this,FileReader);return this[ne].loadend}set onloadend(i){ie.brandCheck(this,FileReader);if(this[ne].loadend){this.removeEventListener("loadend",this[ne].loadend)}if(typeof i==="function"){this[ne].loadend=i;this.addEventListener("loadend",i)}else{this[ne].loadend=null}}get onerror(){ie.brandCheck(this,FileReader);return this[ne].error}set onerror(i){ie.brandCheck(this,FileReader);if(this[ne].error){this.removeEventListener("error",this[ne].error)}if(typeof i==="function"){this[ne].error=i;this.addEventListener("error",i)}else{this[ne].error=null}}get onloadstart(){ie.brandCheck(this,FileReader);return this[ne].loadstart}set onloadstart(i){ie.brandCheck(this,FileReader);if(this[ne].loadstart){this.removeEventListener("loadstart",this[ne].loadstart)}if(typeof i==="function"){this[ne].loadstart=i;this.addEventListener("loadstart",i)}else{this[ne].loadstart=null}}get onprogress(){ie.brandCheck(this,FileReader);return this[ne].progress}set onprogress(i){ie.brandCheck(this,FileReader);if(this[ne].progress){this.removeEventListener("progress",this[ne].progress)}if(typeof i==="function"){this[ne].progress=i;this.addEventListener("progress",i)}else{this[ne].progress=null}}get onload(){ie.brandCheck(this,FileReader);return this[ne].load}set onload(i){ie.brandCheck(this,FileReader);if(this[ne].load){this.removeEventListener("load",this[ne].load)}if(typeof i==="function"){this[ne].load=i;this.addEventListener("load",i)}else{this[ne].load=null}}get onabort(){ie.brandCheck(this,FileReader);return this[ne].abort}set onabort(i){ie.brandCheck(this,FileReader);if(this[ne].abort){this.removeEventListener("abort",this[ne].abort)}if(typeof i==="function"){this[ne].abort=i;this.addEventListener("abort",i)}else{this[ne].abort=null}}}FileReader.EMPTY=FileReader.prototype.EMPTY=0;FileReader.LOADING=FileReader.prototype.LOADING=1;FileReader.DONE=FileReader.prototype.DONE=2;Object.defineProperties(FileReader.prototype,{EMPTY:v,LOADING:v,DONE:v,readAsArrayBuffer:oe,readAsBinaryString:oe,readAsText:oe,readAsDataURL:oe,abort:oe,readyState:oe,result:oe,error:oe,onloadstart:oe,onprogress:oe,onload:oe,onabort:oe,onerror:oe,onloadend:oe,[Symbol.toStringTag]:{value:"FileReader",writable:false,enumerable:false,configurable:true}});Object.defineProperties(FileReader,{EMPTY:v,LOADING:v,DONE:v});i.exports={FileReader:FileReader}},32981:(i,d,p)=>{const{webidl:v}=p(10253);const V=Symbol("ProgressEvent state");class ProgressEvent extends Event{constructor(i,d={}){i=v.converters.DOMString(i,"ProgressEvent constructor","type");d=v.converters.ProgressEventInit(d??{});super(i,d);this[V]={lengthComputable:d.lengthComputable,loaded:d.loaded,total:d.total}}get lengthComputable(){v.brandCheck(this,ProgressEvent);return this[V].lengthComputable}get loaded(){v.brandCheck(this,ProgressEvent);return this[V].loaded}get total(){v.brandCheck(this,ProgressEvent);return this[V].total}}v.converters.ProgressEventInit=v.dictionaryConverter([{key:"lengthComputable",converter:v.converters.boolean,defaultValue:()=>false},{key:"loaded",converter:v.converters["unsigned long long"],defaultValue:()=>0},{key:"total",converter:v.converters["unsigned long long"],defaultValue:()=>0},{key:"bubbles",converter:v.converters.boolean,defaultValue:()=>false},{key:"cancelable",converter:v.converters.boolean,defaultValue:()=>false},{key:"composed",converter:v.converters.boolean,defaultValue:()=>false}]);i.exports={ProgressEvent:ProgressEvent}},9657:i=>{i.exports={kState:Symbol("FileReader state"),kResult:Symbol("FileReader result"),kError:Symbol("FileReader error"),kLastProgressEventFired:Symbol("FileReader last progress event fired timestamp"),kEvents:Symbol("FileReader events"),kAborted:Symbol("FileReader aborted")}},77522:(i,d,p)=>{const{kState:v,kError:V,kResult:K,kAborted:ee,kLastProgressEventFired:te}=p(9657);const{ProgressEvent:re}=p(32981);const{getEncoding:ne}=p(65207);const{serializeAMimeType:se,parseMIMEType:ie}=p(90980);const{types:oe}=p(57975);const{StringDecoder:ae}=p(13193);const{btoa:Ae}=p(4573);const ce={enumerable:true,writable:false,configurable:false};function readOperation(i,d,p,re){if(i[v]==="loading"){throw new DOMException("Invalid state","InvalidStateError")}i[v]="loading";i[K]=null;i[V]=null;const ne=d.stream();const se=ne.getReader();const ie=[];let ae=se.read();let Ae=true;(async()=>{while(!i[ee]){try{const{done:ne,value:ce}=await ae;if(Ae&&!i[ee]){queueMicrotask((()=>{fireAProgressEvent("loadstart",i)}))}Ae=false;if(!ne&&oe.isUint8Array(ce)){ie.push(ce);if((i[te]===undefined||Date.now()-i[te]>=50)&&!i[ee]){i[te]=Date.now();queueMicrotask((()=>{fireAProgressEvent("progress",i)}))}ae=se.read()}else if(ne){queueMicrotask((()=>{i[v]="done";try{const v=packageData(ie,p,d.type,re);if(i[ee]){return}i[K]=v;fireAProgressEvent("load",i)}catch(d){i[V]=d;fireAProgressEvent("error",i)}if(i[v]!=="loading"){fireAProgressEvent("loadend",i)}}));break}}catch(d){if(i[ee]){return}queueMicrotask((()=>{i[v]="done";i[V]=d;fireAProgressEvent("error",i);if(i[v]!=="loading"){fireAProgressEvent("loadend",i)}}));break}}})()}function fireAProgressEvent(i,d){const p=new re(i,{bubbles:false,cancelable:false});d.dispatchEvent(p)}function packageData(i,d,p,v){switch(d){case"DataURL":{let d="data:";const v=ie(p||"application/octet-stream");if(v!=="failure"){d+=se(v)}d+=";base64,";const V=new ae("latin1");for(const p of i){d+=Ae(V.write(p))}d+=Ae(V.end());return d}case"Text":{let d="failure";if(v){d=ne(v)}if(d==="failure"&&p){const i=ie(p);if(i!=="failure"){d=ne(i.parameters.get("charset"))}}if(d==="failure"){d="UTF-8"}return decode(i,d)}case"ArrayBuffer":{const d=combineByteSequences(i);return d.buffer}case"BinaryString":{let d="";const p=new ae("latin1");for(const v of i){d+=p.write(v)}d+=p.end();return d}}}function decode(i,d){const p=combineByteSequences(i);const v=BOMSniffing(p);let V=0;if(v!==null){d=v;V=v==="UTF-8"?3:2}const K=p.slice(V);return new TextDecoder(d).decode(K)}function BOMSniffing(i){const[d,p,v]=i;if(d===239&&p===187&&v===191){return"UTF-8"}else if(d===254&&p===255){return"UTF-16BE"}else if(d===255&&p===254){return"UTF-16LE"}return null}function combineByteSequences(i){const d=i.reduce(((i,d)=>i+d.byteLength),0);let p=0;return i.reduce(((i,d)=>{i.set(d,p);p+=d.byteLength;return i}),new Uint8Array(d))}i.exports={staticPropertyDescriptors:ce,readOperation:readOperation,fireAProgressEvent:fireAProgressEvent}},2569:(i,d,p)=>{const{uid:v,states:V,sentCloseFrameState:K,emptyBuffer:ee,opcodes:te}=p(21816);const{kReadyState:re,kSentClose:ne,kByteParser:se,kReceivedClose:ie,kResponse:oe}=p(32456);const{fireEvent:ae,failWebsocketConnection:Ae,isClosing:ce,isClosed:le,isEstablished:ue,parseExtensions:de}=p(95673);const{channels:he}=p(78150);const{CloseEvent:fe}=p(50044);const{makeRequest:ge}=p(46055);const{fetching:pe}=p(47302);const{Headers:me,getHeadersList:Ee}=p(83676);const{getDecodeSplit:Ce}=p(14296);const{WebsocketFrameSend:ye}=p(69272);let Ie;try{Ie=p(77598)}catch{}function establishWebSocketConnection(i,d,p,V,K,ee){const te=i;te.protocol=i.protocol==="ws:"?"http:":"https:";const re=ge({urlList:[te],client:p,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(ee.headers){const i=Ee(new me(ee.headers));re.headersList=i}const ne=Ie.randomBytes(16).toString("base64");re.headersList.append("sec-websocket-key",ne);re.headersList.append("sec-websocket-version","13");for(const i of d){re.headersList.append("sec-websocket-protocol",i)}const se="permessage-deflate; client_max_window_bits";re.headersList.append("sec-websocket-extensions",se);const ie=pe({request:re,useParallelQueue:true,dispatcher:ee.dispatcher,processResponse(i){if(i.type==="error"||i.status!==101){Ae(V,"Received network error or non-101 status code.");return}if(d.length!==0&&!i.headersList.get("Sec-WebSocket-Protocol")){Ae(V,"Server did not respond with sent protocols.");return}if(i.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){Ae(V,'Server did not set Upgrade header to "websocket".');return}if(i.headersList.get("Connection")?.toLowerCase()!=="upgrade"){Ae(V,'Server did not set Connection header to "upgrade".');return}const p=i.headersList.get("Sec-WebSocket-Accept");const ee=Ie.createHash("sha1").update(ne+v).digest("base64");if(p!==ee){Ae(V,"Incorrect hash received in Sec-WebSocket-Accept header.");return}const te=i.headersList.get("Sec-WebSocket-Extensions");let se;if(te!==null){se=de(te);if(!se.has("permessage-deflate")){Ae(V,"Sec-WebSocket-Extensions header does not match.");return}}const ie=i.headersList.get("Sec-WebSocket-Protocol");if(ie!==null){const i=Ce("sec-websocket-protocol",re.headersList);if(!i.includes(ie)){Ae(V,"Protocol was not set in the opening handshake.");return}}i.socket.on("data",onSocketData);i.socket.on("close",onSocketClose);i.socket.on("error",onSocketError);if(he.open.hasSubscribers){he.open.publish({address:i.socket.address(),protocol:ie,extensions:te})}K(i,se)}});return ie}function closeWebSocketConnection(i,d,p,v){if(ce(i)||le(i)){}else if(!ue(i)){Ae(i,"Connection was closed before it was established.");i[re]=V.CLOSING}else if(i[ne]===K.NOT_SENT){i[ne]=K.PROCESSING;const se=new ye;if(d!==undefined&&p===undefined){se.frameData=Buffer.allocUnsafe(2);se.frameData.writeUInt16BE(d,0)}else if(d!==undefined&&p!==undefined){se.frameData=Buffer.allocUnsafe(2+v);se.frameData.writeUInt16BE(d,0);se.frameData.write(p,2,"utf-8")}else{se.frameData=ee}const ie=i[oe].socket;ie.write(se.createFrame(te.CLOSE));i[ne]=K.SENT;i[re]=V.CLOSING}else{i[re]=V.CLOSING}}function onSocketData(i){if(!this.ws[se].write(i)){this.pause()}}function onSocketClose(){const{ws:i}=this;const{[oe]:d}=i;d.socket.off("data",onSocketData);d.socket.off("close",onSocketClose);d.socket.off("error",onSocketError);const p=i[ne]===K.SENT&&i[ie];let v=1005;let ee="";const te=i[se].closingInfo;if(te&&!te.error){v=te.code??1005;ee=te.reason}else if(!i[ie]){v=1006}i[re]=V.CLOSED;ae("close",i,((i,d)=>new fe(i,d)),{wasClean:p,code:v,reason:ee});if(he.close.hasSubscribers){he.close.publish({websocket:i,code:v,reason:ee})}}function onSocketError(i){const{ws:d}=this;d[re]=V.CLOSING;if(he.socketError.hasSubscribers){he.socketError.publish(i)}this.destroy()}i.exports={establishWebSocketConnection:establishWebSocketConnection,closeWebSocketConnection:closeWebSocketConnection}},21816:i=>{const d="258EAFA5-E914-47DA-95CA-C5AB0DC85B11";const p={enumerable:true,writable:false,configurable:false};const v={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3};const V={NOT_SENT:0,PROCESSING:1,SENT:2};const K={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10};const ee=2**16-1;const te={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4};const re=Buffer.allocUnsafe(0);const ne={string:1,typedArray:2,arrayBuffer:3,blob:4};i.exports={uid:d,sentCloseFrameState:V,staticPropertyDescriptors:p,states:v,opcodes:K,maxUnsigned16Bit:ee,parserStates:te,emptyBuffer:re,sendHints:ne}},50044:(i,d,p)=>{const{webidl:v}=p(10253);const{kEnumerableProperty:V}=p(31544);const{kConstruct:K}=p(99411);const{MessagePort:ee}=p(75919);class MessageEvent extends Event{#z;constructor(i,d={}){if(i===K){super(arguments[1],arguments[2]);v.util.markAsUncloneable(this);return}const p="MessageEvent constructor";v.argumentLengthCheck(arguments,1,p);i=v.converters.DOMString(i,p,"type");d=v.converters.MessageEventInit(d,p,"eventInitDict");super(i,d);this.#z=d;v.util.markAsUncloneable(this)}get data(){v.brandCheck(this,MessageEvent);return this.#z.data}get origin(){v.brandCheck(this,MessageEvent);return this.#z.origin}get lastEventId(){v.brandCheck(this,MessageEvent);return this.#z.lastEventId}get source(){v.brandCheck(this,MessageEvent);return this.#z.source}get ports(){v.brandCheck(this,MessageEvent);if(!Object.isFrozen(this.#z.ports)){Object.freeze(this.#z.ports)}return this.#z.ports}initMessageEvent(i,d=false,p=false,V=null,K="",ee="",te=null,re=[]){v.brandCheck(this,MessageEvent);v.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent");return new MessageEvent(i,{bubbles:d,cancelable:p,data:V,origin:K,lastEventId:ee,source:te,ports:re})}static createFastMessageEvent(i,d){const p=new MessageEvent(K,i,d);p.#z=d;p.#z.data??=null;p.#z.origin??="";p.#z.lastEventId??="";p.#z.source??=null;p.#z.ports??=[];return p}}const{createFastMessageEvent:te}=MessageEvent;delete MessageEvent.createFastMessageEvent;class CloseEvent extends Event{#z;constructor(i,d={}){const p="CloseEvent constructor";v.argumentLengthCheck(arguments,1,p);i=v.converters.DOMString(i,p,"type");d=v.converters.CloseEventInit(d);super(i,d);this.#z=d;v.util.markAsUncloneable(this)}get wasClean(){v.brandCheck(this,CloseEvent);return this.#z.wasClean}get code(){v.brandCheck(this,CloseEvent);return this.#z.code}get reason(){v.brandCheck(this,CloseEvent);return this.#z.reason}}class ErrorEvent extends Event{#z;constructor(i,d){const p="ErrorEvent constructor";v.argumentLengthCheck(arguments,1,p);super(i,d);v.util.markAsUncloneable(this);i=v.converters.DOMString(i,p,"type");d=v.converters.ErrorEventInit(d??{});this.#z=d}get message(){v.brandCheck(this,ErrorEvent);return this.#z.message}get filename(){v.brandCheck(this,ErrorEvent);return this.#z.filename}get lineno(){v.brandCheck(this,ErrorEvent);return this.#z.lineno}get colno(){v.brandCheck(this,ErrorEvent);return this.#z.colno}get error(){v.brandCheck(this,ErrorEvent);return this.#z.error}}Object.defineProperties(MessageEvent.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:true},data:V,origin:V,lastEventId:V,source:V,ports:V,initMessageEvent:V});Object.defineProperties(CloseEvent.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:true},reason:V,code:V,wasClean:V});Object.defineProperties(ErrorEvent.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:true},message:V,filename:V,lineno:V,colno:V,error:V});v.converters.MessagePort=v.interfaceConverter(ee);v.converters["sequence"]=v.sequenceConverter(v.converters.MessagePort);const re=[{key:"bubbles",converter:v.converters.boolean,defaultValue:()=>false},{key:"cancelable",converter:v.converters.boolean,defaultValue:()=>false},{key:"composed",converter:v.converters.boolean,defaultValue:()=>false}];v.converters.MessageEventInit=v.dictionaryConverter([...re,{key:"data",converter:v.converters.any,defaultValue:()=>null},{key:"origin",converter:v.converters.USVString,defaultValue:()=>""},{key:"lastEventId",converter:v.converters.DOMString,defaultValue:()=>""},{key:"source",converter:v.nullableConverter(v.converters.MessagePort),defaultValue:()=>null},{key:"ports",converter:v.converters["sequence"],defaultValue:()=>new Array(0)}]);v.converters.CloseEventInit=v.dictionaryConverter([...re,{key:"wasClean",converter:v.converters.boolean,defaultValue:()=>false},{key:"code",converter:v.converters["unsigned short"],defaultValue:()=>0},{key:"reason",converter:v.converters.USVString,defaultValue:()=>""}]);v.converters.ErrorEventInit=v.dictionaryConverter([...re,{key:"message",converter:v.converters.DOMString,defaultValue:()=>""},{key:"filename",converter:v.converters.USVString,defaultValue:()=>""},{key:"lineno",converter:v.converters["unsigned long"],defaultValue:()=>0},{key:"colno",converter:v.converters["unsigned long"],defaultValue:()=>0},{key:"error",converter:v.converters.any}]);i.exports={MessageEvent:MessageEvent,CloseEvent:CloseEvent,ErrorEvent:ErrorEvent,createFastMessageEvent:te}},69272:(i,d,p)=>{const{maxUnsigned16Bit:v}=p(21816);const V=16386;let K;let ee=null;let te=V;try{K=p(77598)}catch{K={randomFillSync:function randomFillSync(i,d,p){for(let d=0;dv){ee+=8;K=127}else if(V>125){ee+=2;K=126}const te=Buffer.allocUnsafe(V+ee);te[0]=te[1]=0;te[0]|=128;te[0]=(te[0]&240)+i; +/*! ws. MIT License. Einar Otto Stangvik */te[ee-4]=p[0];te[ee-3]=p[1];te[ee-2]=p[2];te[ee-1]=p[3];te[1]=K;if(K===126){te.writeUInt16BE(V,2)}else if(K===127){te[2]=te[3]=0;te.writeUIntBE(V,4,6)}te[1]|=128;for(let i=0;i{const{createInflateRaw:v,Z_DEFAULT_WINDOWBITS:V}=p(38522);const{isValidClientWindowBits:K}=p(95673);const ee=Buffer.from([0,0,255,255]);const te=Symbol("kBuffer");const re=Symbol("kLength");class PerMessageDeflate{#$;#h={};constructor(i){this.#h.serverNoContextTakeover=i.has("server_no_context_takeover");this.#h.serverMaxWindowBits=i.get("server_max_window_bits")}decompress(i,d,p){if(!this.#$){let i=V;if(this.#h.serverMaxWindowBits){if(!K(this.#h.serverMaxWindowBits)){p(new Error("Invalid server_max_window_bits"));return}i=Number.parseInt(this.#h.serverMaxWindowBits)}this.#$=v({windowBits:i});this.#$[te]=[];this.#$[re]=0;this.#$.on("data",(i=>{this.#$[te].push(i);this.#$[re]+=i.length}));this.#$.on("error",(i=>{this.#$=null;p(i)}))}this.#$.write(i);if(d){this.#$.write(ee)}this.#$.flush((()=>{const i=Buffer.concat(this.#$[te],this.#$[re]);this.#$[te].length=0;this.#$[re]=0;p(null,i)}))}}i.exports={PerMessageDeflate:PerMessageDeflate}},74588:(i,d,p)=>{const{Writable:v}=p(57075);const V=p(34589);const{parserStates:K,opcodes:ee,states:te,emptyBuffer:re,sentCloseFrameState:ne}=p(21816);const{kReadyState:se,kSentClose:ie,kResponse:oe,kReceivedClose:ae}=p(32456);const{channels:Ae}=p(78150);const{isValidStatusCode:ce,isValidOpcode:le,failWebsocketConnection:ue,websocketMessageReceived:de,utf8Decode:he,isControlFrame:fe,isTextBinaryFrame:ge,isContinuationFrame:pe}=p(95673);const{WebsocketFrameSend:me}=p(69272);const{closeWebSocketConnection:Ee}=p(2569);const{PerMessageDeflate:Ce}=p(62869);class ByteParser extends v{#K=[];#X=0;#Z=false;#y=K.INFO;#ee={};#te=[];#re;constructor(i,d){super();this.ws=i;this.#re=d==null?new Map:d;if(this.#re.has("permessage-deflate")){this.#re.set("permessage-deflate",new Ce(d))}}_write(i,d,p){this.#K.push(i);this.#X+=i.length;this.#Z=true;this.run(p)}run(i){while(this.#Z){if(this.#y===K.INFO){if(this.#X<2){return i()}const d=this.consume(2);const p=(d[0]&128)!==0;const v=d[0]&15;const V=(d[1]&128)===128;const te=!p&&v!==ee.CONTINUATION;const re=d[1]&127;const ne=d[0]&64;const se=d[0]&32;const ie=d[0]&16;if(!le(v)){ue(this.ws,"Invalid opcode received");return i()}if(V){ue(this.ws,"Frame cannot be masked");return i()}if(ne!==0&&!this.#re.has("permessage-deflate")){ue(this.ws,"Expected RSV1 to be clear.");return}if(se!==0||ie!==0){ue(this.ws,"RSV1, RSV2, RSV3 must be clear");return}if(te&&!ge(v)){ue(this.ws,"Invalid frame type was fragmented.");return}if(ge(v)&&this.#te.length>0){ue(this.ws,"Expected continuation frame");return}if(this.#ee.fragmented&&te){ue(this.ws,"Fragmented frame exceeded 125 bytes.");return}if((re>125||te)&&fe(v)){ue(this.ws,"Control frame either too large or fragmented");return}if(pe(v)&&this.#te.length===0&&!this.#ee.compressed){ue(this.ws,"Unexpected continuation frame");return}if(re<=125){this.#ee.payloadLength=re;this.#y=K.READ_DATA}else if(re===126){this.#y=K.PAYLOADLENGTH_16}else if(re===127){this.#y=K.PAYLOADLENGTH_64}if(ge(v)){this.#ee.binaryType=v;this.#ee.compressed=ne!==0}this.#ee.opcode=v;this.#ee.masked=V;this.#ee.fin=p;this.#ee.fragmented=te}else if(this.#y===K.PAYLOADLENGTH_16){if(this.#X<2){return i()}const d=this.consume(2);this.#ee.payloadLength=d.readUInt16BE(0);this.#y=K.READ_DATA}else if(this.#y===K.PAYLOADLENGTH_64){if(this.#X<8){return i()}const d=this.consume(8);const p=d.readUInt32BE(0);if(p>2**31-1){ue(this.ws,"Received payload length > 2^31 bytes.");return}const v=d.readUInt32BE(4);this.#ee.payloadLength=(p<<8)+v;this.#y=K.READ_DATA}else if(this.#y===K.READ_DATA){if(this.#X{if(d){Ee(this.ws,1007,d.message,d.message.length);return}this.#te.push(p);if(!this.#ee.fin){this.#y=K.INFO;this.#Z=true;this.run(i);return}de(this.ws,this.#ee.binaryType,Buffer.concat(this.#te));this.#Z=true;this.#y=K.INFO;this.#te.length=0;this.run(i)}));this.#Z=false;break}}}}}consume(i){if(i>this.#X){throw new Error("Called consume() before buffers satiated.")}else if(i===0){return re}if(this.#K[0].length===i){this.#X-=this.#K[0].length;return this.#K.shift()}const d=Buffer.allocUnsafe(i);let p=0;while(p!==i){const v=this.#K[0];const{length:V}=v;if(V+p===i){d.set(this.#K.shift(),p);break}else if(V+p>i){d.set(v.subarray(0,i-p),p);this.#K[0]=v.subarray(i-p);break}else{d.set(this.#K.shift(),p);p+=v.length}}this.#X-=i;return d}parseCloseBody(i){V(i.length!==1);let d;if(i.length>=2){d=i.readUInt16BE(0)}if(d!==undefined&&!ce(d)){return{code:1002,reason:"Invalid status code",error:true}}let p=i.subarray(2);if(p[0]===239&&p[1]===187&&p[2]===191){p=p.subarray(3)}try{p=he(p)}catch{return{code:1007,reason:"Invalid UTF-8",error:true}}return{code:d,reason:p,error:false}}parseControlFrame(i){const{opcode:d,payloadLength:p}=this.#ee;if(d===ee.CLOSE){if(p===1){ue(this.ws,"Received close frame with a 1-byte body.");return false}this.#ee.closeInfo=this.parseCloseBody(i);if(this.#ee.closeInfo.error){const{code:i,reason:d}=this.#ee.closeInfo;Ee(this.ws,i,d,d.length);ue(this.ws,d);return false}if(this.ws[ie]!==ne.SENT){let i=re;if(this.#ee.closeInfo.code){i=Buffer.allocUnsafe(2);i.writeUInt16BE(this.#ee.closeInfo.code,0)}const d=new me(i);this.ws[oe].socket.write(d.createFrame(ee.CLOSE),(i=>{if(!i){this.ws[ie]=ne.SENT}}))}this.ws[se]=te.CLOSING;this.ws[ae]=true;return false}else if(d===ee.PING){if(!this.ws[ae]){const d=new me(i);this.ws[oe].socket.write(d.createFrame(ee.PONG));if(Ae.ping.hasSubscribers){Ae.ping.publish({payload:i})}}}else if(d===ee.PONG){if(Ae.pong.hasSubscribers){Ae.pong.publish({payload:i})}}return true}get closingInfo(){return this.#ee.closeInfo}}i.exports={ByteParser:ByteParser}},90228:(i,d,p)=>{const{WebsocketFrameSend:v}=p(69272);const{opcodes:V,sendHints:K}=p(21816);const ee=p(96524);const te=Buffer[Symbol.species];class SendQueue{#ne=new ee;#se=false;#ie;constructor(i){this.#ie=i}add(i,d,p){if(p!==K.blob){const v=createFrame(i,p);if(!this.#se){this.#ie.write(v,d)}else{const i={promise:null,callback:d,frame:v};this.#ne.push(i)}return}const v={promise:i.arrayBuffer().then((i=>{v.promise=null;v.frame=createFrame(i,p)})),callback:d,frame:null};this.#ne.push(v);if(!this.#se){this.#oe()}}async#oe(){this.#se=true;const i=this.#ne;while(!i.isEmpty()){const d=i.shift();if(d.promise!==null){await d.promise}this.#ie.write(d.frame,d.callback);d.callback=d.frame=null}this.#se=false}}function createFrame(i,d){return new v(toBuffer(i,d)).createFrame(d===K.string?V.TEXT:V.BINARY)}function toBuffer(i,d){switch(d){case K.string:return Buffer.from(i);case K.arrayBuffer:case K.blob:return new te(i);case K.typedArray:return new te(i.buffer,i.byteOffset,i.byteLength)}}i.exports={SendQueue:SendQueue}},32456:i=>{i.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},95673:(i,d,p)=>{const{kReadyState:v,kController:V,kResponse:K,kBinaryType:ee,kWebSocketURL:te}=p(32456);const{states:re,opcodes:ne}=p(21816);const{ErrorEvent:se,createFastMessageEvent:ie}=p(50044);const{isUtf8:oe}=p(4573);const{collectASequenceOfCodePointsFast:ae,removeHTTPWhitespace:Ae}=p(90980);function isConnecting(i){return i[v]===re.CONNECTING}function isEstablished(i){return i[v]===re.OPEN}function isClosing(i){return i[v]===re.CLOSING}function isClosed(i){return i[v]===re.CLOSED}function fireEvent(i,d,p=(i,d)=>new Event(i,d),v={}){const V=p(i,v);d.dispatchEvent(V)}function websocketMessageReceived(i,d,p){if(i[v]!==re.OPEN){return}let V;if(d===ne.TEXT){try{V=ue(p)}catch{failWebsocketConnection(i,"Received invalid UTF-8 in text frame.");return}}else if(d===ne.BINARY){if(i[ee]==="blob"){V=new Blob([p])}else{V=toArrayBuffer(p)}}fireEvent("message",i,ie,{origin:i[te].origin,data:V})}function toArrayBuffer(i){if(i.byteLength===i.buffer.byteLength){return i.buffer}return i.buffer.slice(i.byteOffset,i.byteOffset+i.byteLength)}function isValidSubprotocol(i){if(i.length===0){return false}for(let d=0;d126||p===34||p===40||p===41||p===44||p===47||p===58||p===59||p===60||p===61||p===62||p===63||p===64||p===91||p===92||p===93||p===123||p===125){return false}}return true}function isValidStatusCode(i){if(i>=1e3&&i<1015){return i!==1004&&i!==1005&&i!==1006}return i>=3e3&&i<=4999}function failWebsocketConnection(i,d){const{[V]:p,[K]:v}=i;p.abort();if(v?.socket&&!v.socket.destroyed){v.socket.destroy()}if(d){fireEvent("error",i,((i,d)=>new se(i,d)),{error:new Error(d),message:d})}}function isControlFrame(i){return i===ne.CLOSE||i===ne.PING||i===ne.PONG}function isContinuationFrame(i){return i===ne.CONTINUATION}function isTextBinaryFrame(i){return i===ne.TEXT||i===ne.BINARY}function isValidOpcode(i){return isTextBinaryFrame(i)||isContinuationFrame(i)||isControlFrame(i)}function parseExtensions(i){const d={position:0};const p=new Map;while(d.position57){return false}}return true}const ce=typeof process.versions.icu==="string";const le=ce?new TextDecoder("utf-8",{fatal:true}):undefined;const ue=ce?le.decode.bind(le):function(i){if(oe(i)){return i.toString("utf-8")}throw new TypeError("Invalid utf-8 received.")};i.exports={isConnecting:isConnecting,isEstablished:isEstablished,isClosing:isClosing,isClosed:isClosed,fireEvent:fireEvent,isValidSubprotocol:isValidSubprotocol,isValidStatusCode:isValidStatusCode,failWebsocketConnection:failWebsocketConnection,websocketMessageReceived:websocketMessageReceived,utf8Decode:ue,isControlFrame:isControlFrame,isContinuationFrame:isContinuationFrame,isTextBinaryFrame:isTextBinaryFrame,isValidOpcode:isValidOpcode,parseExtensions:parseExtensions,isValidClientWindowBits:isValidClientWindowBits}},55366:(i,d,p)=>{const{webidl:v}=p(10253);const{URLSerializer:V}=p(90980);const{environmentSettingsObject:K}=p(14296);const{staticPropertyDescriptors:ee,states:te,sentCloseFrameState:re,sendHints:ne}=p(21816);const{kWebSocketURL:se,kReadyState:ie,kController:oe,kBinaryType:ae,kResponse:Ae,kSentClose:ce,kByteParser:le}=p(32456);const{isConnecting:ue,isEstablished:de,isClosing:he,isValidSubprotocol:fe,fireEvent:ge}=p(95673);const{establishWebSocketConnection:pe,closeWebSocketConnection:me}=p(2569);const{ByteParser:Ee}=p(74588);const{kEnumerableProperty:Ce,isBlobLike:ye}=p(31544);const{getGlobalDispatcher:Ie}=p(5837);const{types:Be}=p(57975);const{ErrorEvent:Qe,CloseEvent:be}=p(50044);const{SendQueue:we}=p(90228);class WebSocket extends EventTarget{#P={open:null,error:null,close:null,message:null};#ae=0;#Ae="";#re="";#ce;constructor(i,d=[]){super();v.util.markAsUncloneable(this);const p="WebSocket constructor";v.argumentLengthCheck(arguments,1,p);const V=v.converters["DOMString or sequence or WebSocketInit"](d,p,"options");i=v.converters.USVString(i,p,"url");d=V.protocols;const ee=K.settingsObject.baseUrl;let te;try{te=new URL(i,ee)}catch(i){throw new DOMException(i,"SyntaxError")}if(te.protocol==="http:"){te.protocol="ws:"}else if(te.protocol==="https:"){te.protocol="wss:"}if(te.protocol!=="ws:"&&te.protocol!=="wss:"){throw new DOMException(`Expected a ws: or wss: protocol, got ${te.protocol}`,"SyntaxError")}if(te.hash||te.href.endsWith("#")){throw new DOMException("Got fragment","SyntaxError")}if(typeof d==="string"){d=[d]}if(d.length!==new Set(d.map((i=>i.toLowerCase()))).size){throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError")}if(d.length>0&&!d.every((i=>fe(i)))){throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError")}this[se]=new URL(te.href);const ne=K.settingsObject;this[oe]=pe(te,d,ne,this,((i,d)=>this.#le(i,d)),V);this[ie]=WebSocket.CONNECTING;this[ce]=re.NOT_SENT;this[ae]="blob"}close(i=undefined,d=undefined){v.brandCheck(this,WebSocket);const p="WebSocket.close";if(i!==undefined){i=v.converters["unsigned short"](i,p,"code",{clamp:true})}if(d!==undefined){d=v.converters.USVString(d,p,"reason")}if(i!==undefined){if(i!==1e3&&(i<3e3||i>4999)){throw new DOMException("invalid code","InvalidAccessError")}}let V=0;if(d!==undefined){V=Buffer.byteLength(d);if(V>123){throw new DOMException(`Reason must be less than 123 bytes; received ${V}`,"SyntaxError")}}me(this,i,d,V)}send(i){v.brandCheck(this,WebSocket);const d="WebSocket.send";v.argumentLengthCheck(arguments,1,d);i=v.converters.WebSocketSendData(i,d,"data");if(ue(this)){throw new DOMException("Sent before connected.","InvalidStateError")}if(!de(this)||he(this)){return}if(typeof i==="string"){const d=Buffer.byteLength(i);this.#ae+=d;this.#ce.add(i,(()=>{this.#ae-=d}),ne.string)}else if(Be.isArrayBuffer(i)){this.#ae+=i.byteLength;this.#ce.add(i,(()=>{this.#ae-=i.byteLength}),ne.arrayBuffer)}else if(ArrayBuffer.isView(i)){this.#ae+=i.byteLength;this.#ce.add(i,(()=>{this.#ae-=i.byteLength}),ne.typedArray)}else if(ye(i)){this.#ae+=i.size;this.#ce.add(i,(()=>{this.#ae-=i.size}),ne.blob)}}get readyState(){v.brandCheck(this,WebSocket);return this[ie]}get bufferedAmount(){v.brandCheck(this,WebSocket);return this.#ae}get url(){v.brandCheck(this,WebSocket);return V(this[se])}get extensions(){v.brandCheck(this,WebSocket);return this.#re}get protocol(){v.brandCheck(this,WebSocket);return this.#Ae}get onopen(){v.brandCheck(this,WebSocket);return this.#P.open}set onopen(i){v.brandCheck(this,WebSocket);if(this.#P.open){this.removeEventListener("open",this.#P.open)}if(typeof i==="function"){this.#P.open=i;this.addEventListener("open",i)}else{this.#P.open=null}}get onerror(){v.brandCheck(this,WebSocket);return this.#P.error}set onerror(i){v.brandCheck(this,WebSocket);if(this.#P.error){this.removeEventListener("error",this.#P.error)}if(typeof i==="function"){this.#P.error=i;this.addEventListener("error",i)}else{this.#P.error=null}}get onclose(){v.brandCheck(this,WebSocket);return this.#P.close}set onclose(i){v.brandCheck(this,WebSocket);if(this.#P.close){this.removeEventListener("close",this.#P.close)}if(typeof i==="function"){this.#P.close=i;this.addEventListener("close",i)}else{this.#P.close=null}}get onmessage(){v.brandCheck(this,WebSocket);return this.#P.message}set onmessage(i){v.brandCheck(this,WebSocket);if(this.#P.message){this.removeEventListener("message",this.#P.message)}if(typeof i==="function"){this.#P.message=i;this.addEventListener("message",i)}else{this.#P.message=null}}get binaryType(){v.brandCheck(this,WebSocket);return this[ae]}set binaryType(i){v.brandCheck(this,WebSocket);if(i!=="blob"&&i!=="arraybuffer"){this[ae]="blob"}else{this[ae]=i}}#le(i,d){this[Ae]=i;const p=new Ee(this,d);p.on("drain",onParserDrain);p.on("error",onParserError.bind(this));i.socket.ws=this;this[le]=p;this.#ce=new we(i.socket);this[ie]=te.OPEN;const v=i.headersList.get("sec-websocket-extensions");if(v!==null){this.#re=v}const V=i.headersList.get("sec-websocket-protocol");if(V!==null){this.#Ae=V}ge("open",this)}}WebSocket.CONNECTING=WebSocket.prototype.CONNECTING=te.CONNECTING;WebSocket.OPEN=WebSocket.prototype.OPEN=te.OPEN;WebSocket.CLOSING=WebSocket.prototype.CLOSING=te.CLOSING;WebSocket.CLOSED=WebSocket.prototype.CLOSED=te.CLOSED;Object.defineProperties(WebSocket.prototype,{CONNECTING:ee,OPEN:ee,CLOSING:ee,CLOSED:ee,url:Ce,readyState:Ce,bufferedAmount:Ce,onopen:Ce,onerror:Ce,onclose:Ce,close:Ce,onmessage:Ce,binaryType:Ce,send:Ce,extensions:Ce,protocol:Ce,[Symbol.toStringTag]:{value:"WebSocket",writable:false,enumerable:false,configurable:true}});Object.defineProperties(WebSocket,{CONNECTING:ee,OPEN:ee,CLOSING:ee,CLOSED:ee});v.converters["sequence"]=v.sequenceConverter(v.converters.DOMString);v.converters["DOMString or sequence"]=function(i,d,p){if(v.util.Type(i)==="Object"&&Symbol.iterator in i){return v.converters["sequence"](i)}return v.converters.DOMString(i,d,p)};v.converters.WebSocketInit=v.dictionaryConverter([{key:"protocols",converter:v.converters["DOMString or sequence"],defaultValue:()=>new Array(0)},{key:"dispatcher",converter:v.converters.any,defaultValue:()=>Ie()},{key:"headers",converter:v.nullableConverter(v.converters.HeadersInit)}]);v.converters["DOMString or sequence or WebSocketInit"]=function(i){if(v.util.Type(i)==="Object"&&!(Symbol.iterator in i)){return v.converters.WebSocketInit(i)}return{protocols:v.converters["DOMString or sequence"](i)}};v.converters.WebSocketSendData=function(i){if(v.util.Type(i)==="Object"){if(ye(i)){return v.converters.Blob(i,{strict:false})}if(ArrayBuffer.isView(i)||Be.isArrayBuffer(i)){return v.converters.BufferSource(i)}}return v.converters.USVString(i)};function onParserDrain(){this.ws[Ae].socket.resume()}function onParserError(i){let d;let p;if(i instanceof be){d=i.reason;p=i.code}else{d=i.message}ge("error",this,(()=>new Qe("error",{error:i,message:d})));me(this,p)}i.exports={WebSocket:WebSocket}},75207:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Ki.toUpperCase()===d))){return i}}else{if(isUnixExecutable(v)){return i}}}const V=i;for(const K of p){i=V+K;v=undefined;try{v=yield(0,d.stat)(i)}catch(d){if(d.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${i}': ${d}`)}}if(v&&v.isFile()){if(d.IS_WINDOWS){try{const p=ne.dirname(i);const v=ne.basename(i).toUpperCase();for(const V of yield(0,d.readdir)(p)){if(v===V.toUpperCase()){i=ne.join(p,V);break}}}catch(d){console.log(`Unexpected error attempting to determine the actual case of the file '${i}': ${d}`)}return i}else{if(isUnixExecutable(v)){return i}}}}return""}))}function normalizeSeparators(i){i=i||"";if(d.IS_WINDOWS){i=i.replace(/\//g,"\\");return i.replace(/\\\\+/g,"\\")}return i.replace(/\/\/+/g,"/")}function isUnixExecutable(i){return(i.mode&1)>0||(i.mode&8)>0&&process.getgid!==undefined&&i.gid===process.getgid()||(i.mode&64)>0&&process.getuid!==undefined&&i.uid===process.getuid()}function getCmdPath(){var i;return(i=process.env["COMSPEC"])!==null&&i!==void 0?i:`cmd.exe`}},94994:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K|]/.test(i)){throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows')}}try{yield ne.rm(i,{force:true,maxRetries:3,recursive:true,retryDelay:300})}catch(i){throw new Error(`File was unable to be removed ${i}`)}}))}function mkdirP(i){return ee(this,void 0,void 0,(function*(){(0,te.ok)(i,"a path argument must be provided");yield ne.mkdir(i,{recursive:true})}))}function which(i,d){return ee(this,void 0,void 0,(function*(){if(!i){throw new Error("parameter 'tool' is required")}if(d){const d=yield which(i,false);if(!d){if(ne.IS_WINDOWS){throw new Error(`Unable to locate executable file: ${i}. 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: ${i}. 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 d}const p=yield findInPath(i);if(p&&p.length>0){return p[0]}return""}))}function findInPath(i){return ee(this,void 0,void 0,(function*(){if(!i){throw new Error("parameter 'tool' is required")}const d=[];if(ne.IS_WINDOWS&&process.env["PATHEXT"]){for(const i of process.env["PATHEXT"].split(re.delimiter)){if(i){d.push(i)}}}if(ne.isRooted(i)){const p=yield ne.tryGetExecutablePath(i,d);if(p){return[p]}return[]}if(i.includes(re.sep)){return[]}const p=[];if(process.env.PATH){for(const i of process.env.PATH.split(re.delimiter)){if(i){p.push(i)}}}const v=[];for(const V of p){const p=yield ne.tryGetExecutablePath(re.join(V,i),d);if(p){v.push(p)}}return v}))}function readCopyOptions(i){const d=i.force==null?true:i.force;const p=Boolean(i.recursive);const v=i.copySourceDirectory==null?true:Boolean(i.copySourceDirectory);return{force:d,recursive:p,copySourceDirectory:v}}function cpDirRecursive(i,d,p,v){return ee(this,void 0,void 0,(function*(){if(p>=255)return;p++;yield mkdirP(d);const V=yield ne.readdir(i);for(const K of V){const V=`${i}/${K}`;const ee=`${d}/${K}`;const te=yield ne.lstat(V);if(te.isDirectory()){yield cpDirRecursive(V,ee,p,v)}else{yield copyFile(V,ee,v)}}yield ne.chmod(d,(yield ne.stat(i)).mode)}))}function copyFile(i,d,p){return ee(this,void 0,void 0,(function*(){if((yield ne.lstat(i)).isSymbolicLink()){try{yield ne.lstat(d);yield ne.unlink(d)}catch(i){if(i.code==="EPERM"){yield ne.chmod(d,"0666");yield ne.unlink(d)}}const p=yield ne.readlink(i);yield ne.symlink(p,d,ne.IS_WINDOWS?"junction":null)}else if(!(yield ne.exists(d))||p){yield ne.copyFile(i,d)}}))}},58036:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K{(0,re.debug)(`${d.arch}===${V} && ${d.platform}===${K}`);let p=d.arch===V&&d.platform===K;if(p&&d.platform_version){const v=i.exports._getOsVersion();if(v===d.platform_version){p=true}else{p=te.satisfies(v,d.platform_version)}}return p}));if(ie){(0,re.debug)(`matched ${ee.version}`);se=ee;break}}}if(se&&ie){ee=Object.assign({},se);ee.files=[ie]}return ee}))}function _getOsVersion(){const d=ne.platform();let p="";if(d==="darwin"){p=se.execSync("sw_vers -productVersion").toString()}else if(d==="linux"){const d=i.exports._readLinuxVersionFile();if(d){const i=d.split("\n");for(const d of i){const i=d.split("=");if(i.length===2&&(i[0].trim()==="VERSION_ID"||i[0].trim()==="DISTRIB_RELEASE")){p=i[1].trim().replace(/^"/,"").replace(/"$/,"");break}}}}return p}function _readLinuxVersionFile(){const i="/etc/lsb-release";const d="/etc/os-release";let p="";if(ie.existsSync(i)){p=ie.readFileSync(i).toString()}else if(ie.existsSync(d)){p=ie.readFileSync(d).toString()}return p}},67380:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Kthis.maxSeconds){throw new Error("min seconds should be less than or equal to max seconds")}}execute(i,d){return ee(this,void 0,void 0,(function*(){let p=1;while(psetTimeout(d,i*1e3)))}))}}d.RetryHelper=RetryHelper},33472:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Kee(this,void 0,void 0,(function*(){return yield downloadToolAttempt(i,d||"",p,v)}))),(i=>{if(i instanceof HTTPError&&i.httpStatusCode){if(i.httpStatusCode<500&&i.httpStatusCode!==408&&i.httpStatusCode!==429){return false}}return true}))}))}function downloadToolAttempt(i,d,p,v){return ee(this,void 0,void 0,(function*(){if(se.existsSync(d)){throw new Error(`Destination file path ${d} already exists`)}const V=new Ae.HttpClient(me,[],{allowRetries:false});if(p){te.debug("set auth");if(v===undefined){v={}}v.authorization=p}const K=yield V.get(i,v);if(K.message.statusCode!==200){const d=new HTTPError(K.message.statusCode);te.debug(`Failed to download from "${i}". Code(${K.message.statusCode}) Message(${K.message.statusMessage})`);throw d}const ee=ue.promisify(le.pipeline);const ne=_getGlobal("TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY",(()=>K.message));const ie=ne();let oe=false;try{yield ee(ie,se.createWriteStream(d));te.debug("download complete");oe=true;return d}finally{if(!oe){te.debug("download failed");try{yield re.rmRF(d)}catch(i){te.debug(`Failed to delete '${d}'. ${i.message}`)}}}}))}function extract7z(i,d,p){return ee(this,void 0,void 0,(function*(){(0,de.ok)(ge,"extract7z() not supported on current OS");(0,de.ok)(i,'parameter "file" is required');d=yield _createExtractFolder(d);const v=process.cwd();process.chdir(d);if(p){try{const d=te.isDebug()?"-bb1":"-bb0";const v=["x",d,"-bd","-sccUTF-8",i];const V={silent:true};yield(0,he.exec)(`"${p}"`,v,V)}finally{process.chdir(v)}}else{const p=ae.join(__dirname,"..","scripts","Invoke-7zdec.ps1").replace(/'/g,"''").replace(/"|\n|\r/g,"");const V=i.replace(/'/g,"''").replace(/"|\n|\r/g,"");const K=d.replace(/'/g,"''").replace(/"|\n|\r/g,"");const ee=`& '${p}' -Source '${V}' -Target '${K}'`;const te=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",ee];const ne={silent:true};try{const i=yield re.which("powershell",true);yield(0,he.exec)(`"${i}"`,te,ne)}finally{process.chdir(v)}}return d}))}function extractTar(i,d){return ee(this,arguments,void 0,(function*(i,d,p="xz"){if(!i){throw new Error("parameter 'file' is required")}d=yield _createExtractFolder(d);te.debug("Checking tar --version");let v="";yield(0,he.exec)("tar --version",[],{ignoreReturnCode:true,silent:true,listeners:{stdout:i=>v+=i.toString(),stderr:i=>v+=i.toString()}});te.debug(v.trim());const V=v.toUpperCase().includes("GNU TAR");let K;if(p instanceof Array){K=p}else{K=[p]}if(te.isDebug()&&!p.includes("v")){K.push("-v")}let ee=d;let re=i;if(ge&&V){K.push("--force-local");ee=d.replace(/\\/g,"/");re=i.replace(/\\/g,"/")}if(V){K.push("--warning=no-unknown-keyword");K.push("--overwrite")}K.push("-C",ee,"-f",re);yield(0,he.exec)(`tar`,K);return d}))}function extractXar(i,d){return ee(this,arguments,void 0,(function*(i,d,p=[]){(0,de.ok)(pe,"extractXar() not supported on current OS");(0,de.ok)(i,'parameter "file" is required');d=yield _createExtractFolder(d);let v;if(p instanceof Array){v=p}else{v=[p]}v.push("-x","-C",d,"-f",i);if(te.isDebug()){v.push("-v")}const V=yield re.which("xar",true);yield(0,he.exec)(`"${V}"`,_unique(v));return d}))}function extractZip(i,d){return ee(this,void 0,void 0,(function*(){if(!i){throw new Error("parameter 'file' is required")}d=yield _createExtractFolder(d);if(ge){yield extractZipWin(i,d)}else{yield extractZipNix(i,d)}return d}))}function extractZipWin(i,d){return ee(this,void 0,void 0,(function*(){const p=i.replace(/'/g,"''").replace(/"|\n|\r/g,"");const v=d.replace(/'/g,"''").replace(/"|\n|\r/g,"");const V=yield re.which("pwsh",false);if(V){const i=[`$ErrorActionPreference = 'Stop' ;`,`try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;`,`try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${p}', '${v}', $true) }`,`catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${p}' -DestinationPath '${v}' -Force } else { throw $_ } } ;`].join(" ");const d=["-NoLogo","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",i];te.debug(`Using pwsh at path: ${V}`);yield(0,he.exec)(`"${V}"`,d)}else{const i=[`$ErrorActionPreference = 'Stop' ;`,`try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;`,`if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${p}' -DestinationPath '${v}' -Force }`,`else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${p}', '${v}', $true) }`].join(" ");const d=["-NoLogo","-Sta","-NoProfile","-NonInteractive","-ExecutionPolicy","Unrestricted","-Command",i];const V=yield re.which("powershell",true);te.debug(`Using powershell at path: ${V}`);yield(0,he.exec)(`"${V}"`,d)}}))}function extractZipNix(i,d){return ee(this,void 0,void 0,(function*(){const p=yield re.which("unzip",true);const v=[i];if(!te.isDebug()){v.unshift("-q")}v.unshift("-o");yield(0,he.exec)(`"${p}"`,v,{cwd:d})}))}function cacheDir(i,d,p,v){return ee(this,void 0,void 0,(function*(){p=ce.clean(p)||p;v=v||oe.arch();te.debug(`Caching tool ${d} ${p} ${v}`);te.debug(`source dir: ${i}`);if(!se.statSync(i).isDirectory()){throw new Error("sourceDir is not a directory")}const V=yield _createToolPath(d,p,v);for(const d of se.readdirSync(i)){const p=ae.join(i,d);yield re.cp(p,V,{recursive:true})}_completeToolPath(d,p,v);return V}))}function cacheFile(i,d,p,v,V){return ee(this,void 0,void 0,(function*(){v=ce.clean(v)||v;V=V||oe.arch();te.debug(`Caching tool ${p} ${v} ${V}`);te.debug(`source file: ${i}`);if(!se.statSync(i).isFile()){throw new Error("sourceFile is not a file")}const K=yield _createToolPath(p,v,V);const ee=ae.join(K,d);te.debug(`destination file ${ee}`);yield re.cp(i,ee);_completeToolPath(p,v,V);return K}))}function find(i,d,p){if(!i){throw new Error("toolName parameter is required")}if(!d){throw new Error("versionSpec parameter is required")}p=p||oe.arch();if(!isExplicitVersion(d)){const v=findAllVersions(i,p);const V=evaluateVersions(v,d);d=V}let v="";if(d){d=ce.clean(d)||"";const V=ae.join(_getCacheDirectory(),i,d,p);te.debug(`checking cache: ${V}`);if(se.existsSync(V)&&se.existsSync(`${V}.complete`)){te.debug(`Found tool in cache ${i} ${d} ${p}`);v=V}else{te.debug("not found")}}return v}function findAllVersions(i,d){const p=[];d=d||oe.arch();const v=ae.join(_getCacheDirectory(),i);if(se.existsSync(v)){const i=se.readdirSync(v);for(const V of i){if(isExplicitVersion(V)){const i=ae.join(v,V,d||"");if(se.existsSync(i)&&se.existsSync(`${i}.complete`)){p.push(V)}}}}return p}function getManifestFromRepo(i,d,p){return ee(this,arguments,void 0,(function*(i,d,p,v="master"){let V=[];const K=`https://api.github.com/repos/${i}/${d}/git/trees/${v}`;const ee=new Ae.HttpClient("tool-cache");const re={};if(p){te.debug("set auth");re.authorization=p}const ne=yield ee.getJson(K,re);if(!ne.result){return V}let se="";for(const i of ne.result.tree){if(i.path==="versions-manifest.json"){se=i.url;break}}re["accept"]="application/vnd.github.VERSION.raw";let ie=yield(yield ee.get(se,re)).readBody();if(ie){ie=ie.replace(/^\uFEFF/,"");try{V=JSON.parse(ie)}catch(i){te.debug("Invalid json")}}return V}))}function findFromManifest(i,d,p){return ee(this,arguments,void 0,(function*(i,d,p,v=oe.arch()){const V=yield ie._findMatch(i,d,p,v);return V}))}function _createExtractFolder(i){return ee(this,void 0,void 0,(function*(){if(!i){i=ae.join(_getTempDirectory(),ne.randomUUID())}yield re.mkdirP(i);return i}))}function _createToolPath(i,d,p){return ee(this,void 0,void 0,(function*(){const v=ae.join(_getCacheDirectory(),i,ce.clean(d)||d,p||"");te.debug(`destination ${v}`);const V=`${v}.complete`;yield re.rmRF(v);yield re.rmRF(V);yield re.mkdirP(v);return v}))}function _completeToolPath(i,d,p){const v=ae.join(_getCacheDirectory(),i,ce.clean(d)||d,p||"");const V=`${v}.complete`;se.writeFileSync(V,"");te.debug("finished caching tool")}function isExplicitVersion(i){const d=ce.clean(i)||"";te.debug(`isExplicit: ${d}`);const p=ce.valid(d)!=null;te.debug(`explicit? ${p}`);return p}function evaluateVersions(i,d){let p="";te.debug(`evaluating ${i.length} versions`);i=i.sort(((i,d)=>{if(ce.gt(i,d)){return 1}return-1}));for(let v=i.length-1;v>=0;v--){const V=i[v];const K=ce.satisfies(V,d);if(K){p=V;break}}if(p){te.debug(`matched: ${p}`)}else{te.debug("match not found")}return p}function _getCacheDirectory(){const i=process.env["RUNNER_TOOL_CACHE"]||"";(0,de.ok)(i,"Expected RUNNER_TOOL_CACHE to be defined");return i}function _getTempDirectory(){const i=process.env["RUNNER_TEMP"]||"";(0,de.ok)(i,"Expected RUNNER_TEMP to be defined");return i}function _getGlobal(i,d){const p=global[i];return p!==undefined?p:d}function _unique(i){return Array.from(new Set(i))}},91069:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K0){i+=" ";let d=true;for(const p in this.properties){if(this.properties.hasOwnProperty(p)){const v=this.properties[p];if(v){if(d){d=false}else{i+=","}i+=`${p}=${escapeProperty(v)}`}}}}i+=`${re}${escapeData(this.message)}`;return i}}function escapeData(i){return(0,te.toCommandValue)(i).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(i){return(0,te.toCommandValue)(i).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},77409:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Ki!==""));if(d&&d.trimWhitespace===false){return p}return p.map((i=>i.trim()))}function getBooleanInput(i,d){const p=["true","True","TRUE"];const v=["false","False","FALSE"];const V=getInput(i,d);if(p.includes(V))return true;if(v.includes(V))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${i}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}function setOutput(i,d){const p=process.env["GITHUB_OUTPUT"]||"";if(p){return(0,re.issueFileCommand)("OUTPUT",(0,re.prepareKeyValueMessage)(i,d))}process.stdout.write(se.EOL);(0,te.issueCommand)("set-output",{name:i},(0,ne.toCommandValue)(d))}function setCommandEcho(i){(0,te.issue)("echo",i?"on":"off")}function setFailed(i){process.exitCode=ae.Failure;error(i)}function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}function debug(i){(0,te.issueCommand)("debug",{},i)}function error(i,d={}){(0,te.issueCommand)("error",(0,ne.toCommandProperties)(d),i instanceof Error?i.toString():i)}function warning(i,d={}){(0,te.issueCommand)("warning",(0,ne.toCommandProperties)(d),i instanceof Error?i.toString():i)}function notice(i,d={}){(0,te.issueCommand)("notice",(0,ne.toCommandProperties)(d),i instanceof Error?i.toString():i)}function info(i){process.stdout.write(i+se.EOL)}function startGroup(i){(0,te.issue)("group",i)}function endGroup(){(0,te.issue)("endgroup")}function group(i,d){return ee(this,void 0,void 0,(function*(){startGroup(i);let p;try{p=yield d()}finally{endGroup()}return p}))}function saveState(i,d){const p=process.env["GITHUB_STATE"]||"";if(p){return(0,re.issueFileCommand)("STATE",(0,re.prepareKeyValueMessage)(i,d))}(0,te.issueCommand)("save-state",{name:i},(0,ne.toCommandValue)(d))}function getState(i){return process.env[`STATE_${i}`]||""}function getIDToken(i){return ee(this,void 0,void 0,(function*(){return yield oe.OidcClient.getIDToken(i)}))}var Ae=p(98544);Object.defineProperty(d,"summary",{enumerable:true,get:function(){return Ae.summary}});var ce=p(98544);Object.defineProperty(d,"markdownSummary",{enumerable:true,get:function(){return ce.markdownSummary}});var le=p(58205);Object.defineProperty(d,"toPosixPath",{enumerable:true,get:function(){return le.toPosixPath}});Object.defineProperty(d,"toWin32Path",{enumerable:true,get:function(){return le.toWin32Path}});Object.defineProperty(d,"toPlatformPath",{enumerable:true,get:function(){return le.toPlatformPath}});d.platform=K(p(50069))},24528:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K{throw new Error(`Failed to get ID Token. \n \n Error Code : ${i.statusCode}\n \n Error Message: ${i.message}`)}));const V=(d=v.result)===null||d===void 0?void 0:d.value;if(!V){throw new Error("Response json body do not have ID Token field")}return V}))}static getIDToken(i){return v(this,void 0,void 0,(function*(){try{let d=OidcClient.getIDTokenUrl();if(i){const p=encodeURIComponent(i);d=`${d}&audience=${p}`}(0,ee.debug)(`ID token url is ${d}`);const p=yield OidcClient.getCall(d);(0,ee.setSecret)(p);return p}catch(i){throw new Error(`Error message: ${i.message}`)}}))}}d.OidcClient=OidcClient},58205:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Kee(void 0,void 0,void 0,(function*(){const{stdout:i}=yield ne.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',undefined,{silent:true});const{stdout:d}=yield ne.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',undefined,{silent:true});return{name:d.trim(),version:i.trim()}}));const getMacOsInfo=()=>ee(void 0,void 0,void 0,(function*(){var i,d,p,v;const{stdout:V}=yield ne.getExecOutput("sw_vers",undefined,{silent:true});const K=(d=(i=V.match(/ProductVersion:\s*(.+)/))===null||i===void 0?void 0:i[1])!==null&&d!==void 0?d:"";const ee=(v=(p=V.match(/ProductName:\s*(.+)/))===null||p===void 0?void 0:p[1])!==null&&v!==void 0?v:"";return{name:ee,version:K}}));const getLinuxInfo=()=>ee(void 0,void 0,void 0,(function*(){const{stdout:i}=yield ne.getExecOutput("lsb_release",["-i","-r","-s"],{silent:true});const[d,p]=i.trim().split("\n");return{name:d,version:p}}));d.platform=re.default.platform();d.arch=re.default.arch();d.isWindows=d.platform==="win32";d.isMacOS=d.platform==="darwin";d.isLinux=d.platform==="linux";function getDetails(){return ee(this,void 0,void 0,(function*(){return Object.assign(Object.assign({},yield d.isWindows?getWindowsInfo():d.isMacOS?getMacOsInfo():getLinuxInfo()),{platform:d.platform,arch:d.arch,isWindows:d.isWindows,isMacOS:d.isMacOS,isLinux:d.isLinux})}))}},98544:function(i,d,p){var v=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.summary=d.markdownSummary=d.SUMMARY_DOCS_URL=d.SUMMARY_ENV_VAR=void 0;const V=p(70857);const K=p(79896);const{access:ee,appendFile:te,writeFile:re}=K.promises;d.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";d.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 v(this,void 0,void 0,(function*(){if(this._filePath){return this._filePath}const i=process.env[d.SUMMARY_ENV_VAR];if(!i){throw new Error(`Unable to find environment variable for $${d.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`)}try{yield ee(i,K.constants.R_OK|K.constants.W_OK)}catch(d){throw new Error(`Unable to access summary file: '${i}'. Check if the file has correct read/write permissions.`)}this._filePath=i;return this._filePath}))}wrap(i,d,p={}){const v=Object.entries(p).map((([i,d])=>` ${i}="${d}"`)).join("");if(!d){return`<${i}${v}>`}return`<${i}${v}>${d}`}write(i){return v(this,void 0,void 0,(function*(){const d=!!(i===null||i===void 0?void 0:i.overwrite);const p=yield this.filePath();const v=d?re:te;yield v(p,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return v(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(i,d=false){this._buffer+=i;return d?this.addEOL():this}addEOL(){return this.addRaw(V.EOL)}addCodeBlock(i,d){const p=Object.assign({},d&&{lang:d});const v=this.wrap("pre",this.wrap("code",i),p);return this.addRaw(v).addEOL()}addList(i,d=false){const p=d?"ol":"ul";const v=i.map((i=>this.wrap("li",i))).join("");const V=this.wrap(p,v);return this.addRaw(V).addEOL()}addTable(i){const d=i.map((i=>{const d=i.map((i=>{if(typeof i==="string"){return this.wrap("td",i)}const{header:d,data:p,colspan:v,rowspan:V}=i;const K=d?"th":"td";const ee=Object.assign(Object.assign({},v&&{colspan:v}),V&&{rowspan:V});return this.wrap(K,p,ee)})).join("");return this.wrap("tr",d)})).join("");const p=this.wrap("table",d);return this.addRaw(p).addEOL()}addDetails(i,d){const p=this.wrap("details",this.wrap("summary",i)+d);return this.addRaw(p).addEOL()}addImage(i,d,p){const{width:v,height:V}=p||{};const K=Object.assign(Object.assign({},v&&{width:v}),V&&{height:V});const ee=this.wrap("img",null,Object.assign({src:i,alt:d},K));return this.addRaw(ee).addEOL()}addHeading(i,d){const p=`h${d}`;const v=["h1","h2","h3","h4","h5","h6"].includes(p)?p:"h1";const V=this.wrap(v,i);return this.addRaw(V).addEOL()}addSeparator(){const i=this.wrap("hr",null);return this.addRaw(i).addEOL()}addBreak(){const i=this.wrap("br",null);return this.addRaw(i).addEOL()}addQuote(i,d){const p=Object.assign({},d&&{cite:d});const v=this.wrap("blockquote",i,p);return this.addRaw(v).addEOL()}addLink(i,d){const p=this.wrap("a",i,{href:d});return this.addRaw(p).addEOL()}}const ne=new Summary;d.markdownSummary=ne;d.summary=ne},48529:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.toCommandValue=toCommandValue;d.toCommandProperties=toCommandProperties;function toCommandValue(i){if(i===null||i===undefined){return""}else if(typeof i==="string"||i instanceof String){return i}return JSON.stringify(i)}function toCommandProperties(i){if(!Object.keys(i).length){return{}}return{title:i.title,file:i.file,line:i.startLine,endLine:i.endLine,col:i.startColumn,endColumn:i.endColumn}}},93182:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.resolveHttpAuthSchemeConfig=d.defaultECRPUBLICHttpAuthSchemeProvider=d.defaultECRPUBLICHttpAuthSchemeParametersProvider=void 0;const v=p(8704);const V=p(76324);const defaultECRPUBLICHttpAuthSchemeParametersProvider=async(i,d,p)=>({operation:(0,V.getSmithyContext)(d).operation,region:await(0,V.normalizeProvider)(i.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()});d.defaultECRPUBLICHttpAuthSchemeParametersProvider=defaultECRPUBLICHttpAuthSchemeParametersProvider;function createAwsAuthSigv4HttpAuthOption(i){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"ecr-public",region:i.region},propertiesExtractor:(i,d)=>({signingProperties:{config:i,context:d}})}}const defaultECRPUBLICHttpAuthSchemeProvider=i=>{const d=[];switch(i.operation){default:{d.push(createAwsAuthSigv4HttpAuthOption(i))}}return d};d.defaultECRPUBLICHttpAuthSchemeProvider=defaultECRPUBLICHttpAuthSchemeProvider;const resolveHttpAuthSchemeConfig=i=>{const d=(0,v.resolveAwsSdkSigV4Config)(i);return Object.assign(d,{authSchemePreference:(0,V.normalizeProvider)(i.authSchemePreference??[])})};d.resolveHttpAuthSchemeConfig=resolveHttpAuthSchemeConfig},96072:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.defaultEndpointResolver=void 0;const v=p(83068);const V=p(79674);const K=p(41829);const ee=new V.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]});const defaultEndpointResolver=(i,d={})=>ee.get(i,(()=>(0,V.resolveEndpoint)(K.ruleSet,{endpointParams:i,logger:d.logger})));d.defaultEndpointResolver=defaultEndpointResolver;V.customEndpointFunctions.aws=v.awsEndpointFunctions},41829:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.ruleSet=void 0;const p="required",v="fn",V="argv",K="ref";const ee=true,te="isSet",re="booleanEquals",ne="error",se="endpoint",ie="tree",oe="PartitionResult",ae="getAttr",Ae={[p]:false,type:"string"},ce={[p]:true,default:false,type:"boolean"},le={[K]:"Endpoint"},ue={[v]:re,[V]:[{[K]:"UseFIPS"},true]},de={[v]:re,[V]:[{[K]:"UseDualStack"},true]},he={},fe={[v]:ae,[V]:[{[K]:oe},"supportsFIPS"]},ge={[K]:oe},pe={[v]:re,[V]:[true,{[v]:ae,[V]:[ge,"supportsDualStack"]}]},me=[ue],Ee=[de],Ce=[{[K]:"Region"}];const ye={version:"1.0",parameters:{Region:Ae,UseDualStack:ce,UseFIPS:ce,Endpoint:Ae},rules:[{conditions:[{[v]:te,[V]:[le]}],rules:[{conditions:me,error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:ne},{conditions:Ee,error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:ne},{endpoint:{url:le,properties:he,headers:he},type:se}],type:ie},{conditions:[{[v]:te,[V]:Ce}],rules:[{conditions:[{[v]:"aws.partition",[V]:Ce,assign:oe}],rules:[{conditions:[ue,de],rules:[{conditions:[{[v]:re,[V]:[ee,fe]},pe],rules:[{endpoint:{url:"https://api.ecr-public-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:he,headers:he},type:se}],type:ie},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:ne}],type:ie},{conditions:me,rules:[{conditions:[{[v]:re,[V]:[fe,ee]}],rules:[{endpoint:{url:"https://api.ecr-public-fips.{Region}.{PartitionResult#dnsSuffix}",properties:he,headers:he},type:se}],type:ie},{error:"FIPS is enabled but this partition does not support FIPS",type:ne}],type:ie},{conditions:Ee,rules:[{conditions:[pe],rules:[{conditions:[{[v]:"stringEquals",[V]:["aws",{[v]:ae,[V]:[ge,"name"]}]}],endpoint:{url:"https://ecr-public.{Region}.api.aws",properties:he,headers:he},type:se},{endpoint:{url:"https://api.ecr-public.{Region}.{PartitionResult#dualStackDnsSuffix}",properties:he,headers:he},type:se}],type:ie},{error:"DualStack is enabled but this partition does not support DualStack",type:ne}],type:ie},{endpoint:{url:"https://api.ecr-public.{Region}.{PartitionResult#dnsSuffix}",properties:he,headers:he},type:se}],type:ie}],type:ie},{error:"Invalid Configuration: Missing Region",type:ne}]};d.ruleSet=ye},29821:(i,d,p)=>{var v;var V=p(30209);var K=p(85242);var ee=p(81568);var te=p(32959);var re=p(39316);var ne=p(90402);var se=p(26890);var ie=p(47212);var oe=p(40099);var ae=p(19618);var Ae=p(61411);var ce=p(93182);var le=p(58199);var ue=p(36463);var de=p(72356);const resolveClientEndpointParameters=i=>Object.assign(i,{useDualstackEndpoint:i.useDualstackEndpoint??false,useFipsEndpoint:i.useFipsEndpoint??false,defaultSigningName:"ecr-public"});const he={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}};const getHttpAuthExtensionConfiguration=i=>{const d=i.httpAuthSchemes;let p=i.httpAuthSchemeProvider;let v=i.credentials;return{setHttpAuthScheme(i){const p=d.findIndex((d=>d.schemeId===i.schemeId));if(p===-1){d.push(i)}else{d.splice(p,1,i)}},httpAuthSchemes(){return d},setHttpAuthSchemeProvider(i){p=i},httpAuthSchemeProvider(){return p},setCredentials(i){v=i},credentials(){return v}}};const resolveHttpAuthRuntimeConfig=i=>({httpAuthSchemes:i.httpAuthSchemes(),httpAuthSchemeProvider:i.httpAuthSchemeProvider(),credentials:i.credentials()});const resolveRuntimeExtensions=(i,d)=>{const p=Object.assign(ue.getAwsRegionExtensionConfiguration(i),Ae.getDefaultExtensionConfiguration(i),de.getHttpHandlerExtensionConfiguration(i),getHttpAuthExtensionConfiguration(i));d.forEach((i=>i.configure(p)));return Object.assign(i,ue.resolveAwsRegionExtensionConfiguration(p),Ae.resolveDefaultRuntimeConfig(p),de.resolveHttpHandlerRuntimeConfig(p),resolveHttpAuthRuntimeConfig(p))};class ECRPUBLICClient extends Ae.Client{config;constructor(...[i]){const d=le.getRuntimeConfig(i||{});super(d);this.initConfig=d;const p=resolveClientEndpointParameters(d);const v=te.resolveUserAgentConfig(p);const Ae=ae.resolveRetryConfig(v);const ue=re.resolveRegionConfig(Ae);const de=V.resolveHostHeaderConfig(ue);const he=oe.resolveEndpointConfig(de);const fe=ce.resolveHttpAuthSchemeConfig(he);const ge=resolveRuntimeExtensions(fe,i?.extensions||[]);this.config=ge;this.middlewareStack.use(se.getSchemaSerdePlugin(this.config));this.middlewareStack.use(te.getUserAgentPlugin(this.config));this.middlewareStack.use(ae.getRetryPlugin(this.config));this.middlewareStack.use(ie.getContentLengthPlugin(this.config));this.middlewareStack.use(V.getHostHeaderPlugin(this.config));this.middlewareStack.use(K.getLoggerPlugin(this.config));this.middlewareStack.use(ee.getRecursionDetectionPlugin(this.config));this.middlewareStack.use(ne.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:ce.defaultECRPUBLICHttpAuthSchemeParametersProvider,identityProviderConfigProvider:async i=>new ne.DefaultIdentityProviderConfig({"aws.auth#sigv4":i.credentials})}));this.middlewareStack.use(ne.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class ECRPUBLICServiceException extends Ae.ServiceException{constructor(i){super(i);Object.setPrototypeOf(this,ECRPUBLICServiceException.prototype)}}class InvalidParameterException extends ECRPUBLICServiceException{name="InvalidParameterException";$fault="client";constructor(i){super({name:"InvalidParameterException",$fault:"client",...i});Object.setPrototypeOf(this,InvalidParameterException.prototype)}}class RegistryNotFoundException extends ECRPUBLICServiceException{name="RegistryNotFoundException";$fault="client";constructor(i){super({name:"RegistryNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,RegistryNotFoundException.prototype)}}class RepositoryNotFoundException extends ECRPUBLICServiceException{name="RepositoryNotFoundException";$fault="client";constructor(i){super({name:"RepositoryNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,RepositoryNotFoundException.prototype)}}class ServerException extends ECRPUBLICServiceException{name="ServerException";$fault="server";constructor(i){super({name:"ServerException",$fault:"server",...i});Object.setPrototypeOf(this,ServerException.prototype)}}class UnsupportedCommandException extends ECRPUBLICServiceException{name="UnsupportedCommandException";$fault="client";constructor(i){super({name:"UnsupportedCommandException",$fault:"client",...i});Object.setPrototypeOf(this,UnsupportedCommandException.prototype)}}class EmptyUploadException extends ECRPUBLICServiceException{name="EmptyUploadException";$fault="client";constructor(i){super({name:"EmptyUploadException",$fault:"client",...i});Object.setPrototypeOf(this,EmptyUploadException.prototype)}}class InvalidLayerException extends ECRPUBLICServiceException{name="InvalidLayerException";$fault="client";constructor(i){super({name:"InvalidLayerException",$fault:"client",...i});Object.setPrototypeOf(this,InvalidLayerException.prototype)}}class LayerAlreadyExistsException extends ECRPUBLICServiceException{name="LayerAlreadyExistsException";$fault="client";constructor(i){super({name:"LayerAlreadyExistsException",$fault:"client",...i});Object.setPrototypeOf(this,LayerAlreadyExistsException.prototype)}}class LayerPartTooSmallException extends ECRPUBLICServiceException{name="LayerPartTooSmallException";$fault="client";constructor(i){super({name:"LayerPartTooSmallException",$fault:"client",...i});Object.setPrototypeOf(this,LayerPartTooSmallException.prototype)}}class UploadNotFoundException extends ECRPUBLICServiceException{name="UploadNotFoundException";$fault="client";constructor(i){super({name:"UploadNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,UploadNotFoundException.prototype)}}class InvalidTagParameterException extends ECRPUBLICServiceException{name="InvalidTagParameterException";$fault="client";constructor(i){super({name:"InvalidTagParameterException",$fault:"client",...i});Object.setPrototypeOf(this,InvalidTagParameterException.prototype)}}class LimitExceededException extends ECRPUBLICServiceException{name="LimitExceededException";$fault="client";constructor(i){super({name:"LimitExceededException",$fault:"client",...i});Object.setPrototypeOf(this,LimitExceededException.prototype)}}class RepositoryAlreadyExistsException extends ECRPUBLICServiceException{name="RepositoryAlreadyExistsException";$fault="client";constructor(i){super({name:"RepositoryAlreadyExistsException",$fault:"client",...i});Object.setPrototypeOf(this,RepositoryAlreadyExistsException.prototype)}}class TooManyTagsException extends ECRPUBLICServiceException{name="TooManyTagsException";$fault="client";constructor(i){super({name:"TooManyTagsException",$fault:"client",...i});Object.setPrototypeOf(this,TooManyTagsException.prototype)}}class RepositoryNotEmptyException extends ECRPUBLICServiceException{name="RepositoryNotEmptyException";$fault="client";constructor(i){super({name:"RepositoryNotEmptyException",$fault:"client",...i});Object.setPrototypeOf(this,RepositoryNotEmptyException.prototype)}}class RepositoryPolicyNotFoundException extends ECRPUBLICServiceException{name="RepositoryPolicyNotFoundException";$fault="client";constructor(i){super({name:"RepositoryPolicyNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,RepositoryPolicyNotFoundException.prototype)}}class ImageNotFoundException extends ECRPUBLICServiceException{name="ImageNotFoundException";$fault="client";constructor(i){super({name:"ImageNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,ImageNotFoundException.prototype)}}class RepositoryCatalogDataNotFoundException extends ECRPUBLICServiceException{name="RepositoryCatalogDataNotFoundException";$fault="client";constructor(i){super({name:"RepositoryCatalogDataNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,RepositoryCatalogDataNotFoundException.prototype)}}class ImageAlreadyExistsException extends ECRPUBLICServiceException{name="ImageAlreadyExistsException";$fault="client";constructor(i){super({name:"ImageAlreadyExistsException",$fault:"client",...i});Object.setPrototypeOf(this,ImageAlreadyExistsException.prototype)}}class ImageDigestDoesNotMatchException extends ECRPUBLICServiceException{name="ImageDigestDoesNotMatchException";$fault="client";constructor(i){super({name:"ImageDigestDoesNotMatchException",$fault:"client",...i});Object.setPrototypeOf(this,ImageDigestDoesNotMatchException.prototype)}}class ImageTagAlreadyExistsException extends ECRPUBLICServiceException{name="ImageTagAlreadyExistsException";$fault="client";constructor(i){super({name:"ImageTagAlreadyExistsException",$fault:"client",...i});Object.setPrototypeOf(this,ImageTagAlreadyExistsException.prototype)}}class InvalidLayerPartException extends ECRPUBLICServiceException{name="InvalidLayerPartException";$fault="client";registryId;repositoryName;uploadId;lastValidByteReceived;constructor(i){super({name:"InvalidLayerPartException",$fault:"client",...i});Object.setPrototypeOf(this,InvalidLayerPartException.prototype);this.registryId=i.registryId;this.repositoryName=i.repositoryName;this.uploadId=i.uploadId;this.lastValidByteReceived=i.lastValidByteReceived}}class LayersNotFoundException extends ECRPUBLICServiceException{name="LayersNotFoundException";$fault="client";constructor(i){super({name:"LayersNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,LayersNotFoundException.prototype)}}class ReferencedImagesNotFoundException extends ECRPUBLICServiceException{name="ReferencedImagesNotFoundException";$fault="client";constructor(i){super({name:"ReferencedImagesNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,ReferencedImagesNotFoundException.prototype)}}const fe="AuthorizationData";const ge="BatchCheckLayerAvailability";const pe="BatchCheckLayerAvailabilityRequest";const me="BatchCheckLayerAvailabilityResponse";const Ee="BatchDeleteImage";const Ce="BatchDeleteImageRequest";const ye="BatchDeleteImageResponse";const Ie="CompleteLayerUpload";const Be="CompleteLayerUploadRequest";const Qe="CompleteLayerUploadResponse";const be="CreateRepository";const we="CreateRepositoryRequest";const Se="CreateRepositoryResponse";const Re="DescribeImages";const ve="DescribeImagesRequest";const ke="DescribeImagesResponse";const Te="DescribeImageTags";const Ne="DescribeImageTagsRequest";const De="DescribeImageTagsResponse";const xe="DeleteRepository";const Fe="DeleteRepositoryPolicy";const Pe="DeleteRepositoryPolicyRequest";const Le="DeleteRepositoryPolicyResponse";const _e="DeleteRepositoryRequest";const Me="DeleteRepositoryResponse";const Ue="DescribeRegistriesRequest";const Oe="DescribeRegistriesResponse";const He="DescribeRepositoriesRequest";const Ge="DescribeRepositoriesResponse";const Ve="DescribeRegistries";const qe="DescribeRepositories";const Ye="EmptyUploadException";const je="GetAuthorizationToken";const Je="GetAuthorizationTokenRequest";const We="GetAuthorizationTokenResponse";const ze="GetRegistryCatalogData";const $e="GetRegistryCatalogDataRequest";const Ke="GetRegistryCatalogDataResponse";const Xe="GetRepositoryCatalogDataRequest";const Ze="GetRepositoryCatalogDataResponse";const At="GetRepositoryCatalogData";const mt="GetRepositoryPolicy";const Et="GetRepositoryPolicyRequest";const Ct="GetRepositoryPolicyResponse";const yt="Image";const It="ImageAlreadyExistsException";const Bt="ImageDetail";const Qt="ImageDigestDoesNotMatchException";const bt="ImageDetailList";const wt="ImageFailure";const St="ImageFailureList";const Rt="ImageIdentifier";const vt="ImageIdentifierList";const kt="InvalidLayerException";const Tt="InvalidLayerPartException";const Nt="InitiateLayerUpload";const Dt="InitiateLayerUploadRequest";const xt="InitiateLayerUploadResponse";const Ft="ImageNotFoundException";const Pt="InvalidParameterException";const Lt="ImageTagAlreadyExistsException";const _t="ImageTagDetail";const Mt="ImageTagDetailList";const Ut="InvalidTagParameterException";const Ot="Key";const Ht="Layer";const Gt="LayerAlreadyExistsException";const Vt="LimitExceededException";const qt="LayerFailure";const Yt="LayerFailureList";const jt="LayerList";const Jt="LayersNotFoundException";const Wt="LayerPartTooSmallException";const zt="ListTagsForResource";const $t="ListTagsForResourceRequest";const Kt="ListTagsForResourceResponse";const Xt="PutImage";const Zt="PutImageRequest";const er="PutImageResponse";const tr="PutRegistryCatalogData";const rr="PutRegistryCatalogDataRequest";const nr="PutRegistryCatalogDataResponse";const sr="PutRepositoryCatalogDataRequest";const ir="PutRepositoryCatalogDataResponse";const or="PutRepositoryCatalogData";const ar="Registry";const Ar="RegistryAlias";const cr="RepositoryAlreadyExistsException";const lr="RegistryAliasList";const ur="RegistryCatalogData";const dr="RepositoryCatalogDataInput";const hr="RepositoryCatalogDataNotFoundException";const fr="RepositoryCatalogData";const gr="ReferencedImageDetail";const pr="ReferencedImagesNotFoundException";const mr="RegistryList";const Er="RepositoryList";const Cr="RepositoryNotEmptyException";const yr="RegistryNotFoundException";const Ir="RepositoryNotFoundException";const Br="RepositoryPolicyNotFoundException";const Qr="Repository";const br="ServerException";const wr="SetRepositoryPolicy";const Sr="SetRepositoryPolicyRequest";const Rr="SetRepositoryPolicyResponse";const vr="Tag";const kr="TagList";const Tr="TooManyTagsException";const Nr="TagResource";const Dr="TagResourceRequest";const xr="TagResourceResponse";const Fr="UnsupportedCommandException";const Pr="UploadLayerPart";const Lr="UploadLayerPartRequest";const _r="UploadLayerPartResponse";const Mr="UploadNotFoundException";const Ur="UntagResource";const Or="UntagResourceRequest";const Hr="UntagResourceResponse";const Gr="Value";const Vr="aliases";const qr="authorizationData";const Yr="artifactMediaType";const jr="authorizationToken";const Jr="aboutText";const Wr="architectures";const zr="client";const $r="createdAt";const Kr="catalogData";const Xr="description";const Zr="displayName";const en="defaultRegistryAlias";const tn="error";const rn="expiresAt";const nn="failures";const sn="failureCode";const an="failureReason";const An="force";const cn="image";const ln="imageDetails";const un="imageDigest";const dn="imageDetail";const hn="imageIds";const gn="imageId";const pn="imageManifest";const mn="imageManifestMediaType";const En="imagePushedAt";const Cn="imageSizeInBytes";const yn="imageTags";const In="imageTagDetails";const Bn="imageTag";const Qn="layers";const bn="layerAvailability";const wn="lastByteReceived";const Sn="layerDigests";const Rn="layerDigest";const vn="logoImageBlob";const kn="layerPartBlob";const Tn="layerSize";const Nn="logoUrl";const Dn="lastValidByteReceived";const xn="message";const Fn="marketplaceCertified";const Pn="maxResults";const Ln="mediaType";const _n="name";const Mn="nextToken";const Un="operatingSystems";const On="partFirstByte";const Hn="partLastByte";const Gn="primaryRegistryAlias";const Vn="partSize";const qn="policyText";const Yn="repository";const jn="resourceArn";const Jn="registryArn";const Wn="repositoryArn";const zn="registryCatalogData";const $n="registryId";const Kn="repositoryName";const Xn="repositoryNames";const Zn="registryUri";const es="repositoryUri";const ts="registries";const rs="repositories";const ns="status";const ss="server";const os="smithy.ts.sdk.synthetic.com.amazonaws.ecrpublic";const as="tags";const As="tagKeys";const cs="uploadId";const ls="usageText";const us="verified";const ds="com.amazonaws.ecrpublic";var hs=[3,ds,fe,0,[jr,rn],[0,4]];var fs=[3,ds,pe,0,[Kn,Sn,$n],[0,64|0,0],2];var gs=[3,ds,me,0,[Qn,nn],[()=>Ki,()=>$i]];var ps=[3,ds,Ce,0,[Kn,hn,$n],[0,()=>Wi,0],2];var ms=[3,ds,ye,0,[hn,nn],[()=>Wi,()=>Ji]];var Es=[3,ds,Be,0,[Kn,cs,Sn,$n],[0,0,64|0,0],3];var Cs=[3,ds,Qe,0,[$n,Kn,cs,Rn],[0,0,0,0]];var ys=[3,ds,we,0,[Kn,Kr,as],[0,()=>Ri,()=>to],1];var Is=[3,ds,Se,0,[Yn,Kr],[()=>bi,()=>Si]];var Bs=[3,ds,Pe,0,[Kn,$n],[0,0],1];var Qs=[3,ds,Le,0,[$n,Kn,qn],[0,0,0]];var bs=[3,ds,_e,0,[Kn,$n,An],[0,0,2],1];var ws=[3,ds,Me,0,[Yn],[()=>bi]];var Ss=[3,ds,ve,0,[Kn,$n,hn,Mn,Pn],[0,0,()=>Wi,0,1],1];var Rs=[3,ds,ke,0,[ln,Mn],[()=>ji,0]];var vs=[3,ds,Ne,0,[Kn,$n,Mn,Pn],[0,0,0,1],1];var ks=[3,ds,De,0,[In,Mn],[()=>zi,0]];var Ts=[3,ds,Ue,0,[Mn,Pn],[0,1]];var Ns=[3,ds,Oe,0,[ts,Mn],[()=>Zi,0],1];var Ds=[3,ds,He,0,[$n,Xn,Mn,Pn],[0,64|0,0,1]];var xs=[3,ds,Ge,0,[rs,Mn],[()=>eo,0]];var Fs=[-3,ds,Ye,{[tn]:zr},[xn],[0]];se.TypeRegistry.for(ds).registerError(Fs,EmptyUploadException);var Ps=[3,ds,Je,0,[],[]];var Ls=[3,ds,We,0,[qr],[()=>hs]];var _s=[3,ds,$e,0,[],[]];var Ms=[3,ds,Ke,0,[zn],[()=>Bi],1];var Us=[3,ds,Xe,0,[Kn,$n],[0,0],1];var Os=[3,ds,Ze,0,[Kr],[()=>Si]];var Hs=[3,ds,Et,0,[Kn,$n],[0,0],1];var Gs=[3,ds,Ct,0,[$n,Kn,qn],[0,0,0]];var Vs=[3,ds,yt,0,[$n,Kn,gn,pn,mn],[0,0,()=>Ws,0,0]];var qs=[-3,ds,It,{[tn]:zr},[xn],[0]];se.TypeRegistry.for(ds).registerError(qs,ImageAlreadyExistsException);var Ys=[3,ds,Bt,0,[$n,Kn,un,yn,Cn,En,mn,Yr],[0,0,0,64|0,1,4,0,0]];var js=[-3,ds,Qt,{[tn]:zr},[xn],[0]];se.TypeRegistry.for(ds).registerError(js,ImageDigestDoesNotMatchException);var Js=[3,ds,wt,0,[gn,sn,an],[()=>Ws,0,0]];var Ws=[3,ds,Rt,0,[un,Bn],[0,0]];var zs=[-3,ds,Ft,{[tn]:zr},[xn],[0]];se.TypeRegistry.for(ds).registerError(zs,ImageNotFoundException);var $s=[-3,ds,Lt,{[tn]:zr},[xn],[0]];se.TypeRegistry.for(ds).registerError($s,ImageTagAlreadyExistsException);var Ks=[3,ds,_t,0,[Bn,$r,dn],[0,4,()=>Ei]];var Xs=[3,ds,Dt,0,[Kn,$n],[0,0],1];var Zs=[3,ds,xt,0,[cs,Vn],[0,1]];var ei=[-3,ds,kt,{[tn]:zr},[xn],[0]];se.TypeRegistry.for(ds).registerError(ei,InvalidLayerException);var ti=[-3,ds,Tt,{[tn]:zr},[$n,Kn,cs,Dn,xn],[0,0,0,1,0]];se.TypeRegistry.for(ds).registerError(ti,InvalidLayerPartException);var ri=[-3,ds,Pt,{[tn]:zr},[xn],[0]];se.TypeRegistry.for(ds).registerError(ri,InvalidParameterException);var ni=[-3,ds,Ut,{[tn]:zr},[xn],[0]];se.TypeRegistry.for(ds).registerError(ni,InvalidTagParameterException);var si=[3,ds,Ht,0,[Rn,bn,Tn,Ln],[0,0,1,0]];var ii=[-3,ds,Gt,{[tn]:zr},[xn],[0]];se.TypeRegistry.for(ds).registerError(ii,LayerAlreadyExistsException);var oi=[3,ds,qt,0,[Rn,sn,an],[0,0,0]];var ai=[-3,ds,Wt,{[tn]:zr},[xn],[0]];se.TypeRegistry.for(ds).registerError(ai,LayerPartTooSmallException);var Ai=[-3,ds,Jt,{[tn]:zr},[xn],[0]];se.TypeRegistry.for(ds).registerError(Ai,LayersNotFoundException);var ci=[-3,ds,Vt,{[tn]:zr},[xn],[0]];se.TypeRegistry.for(ds).registerError(ci,LimitExceededException);var li=[3,ds,$t,0,[jn],[0],1];var ui=[3,ds,Kt,0,[as],[()=>to]];var di=[3,ds,Zt,0,[Kn,pn,$n,mn,Bn,un],[0,0,0,0,0,0],2];var hi=[3,ds,er,0,[cn],[()=>Vs]];var fi=[3,ds,rr,0,[Zr],[0]];var gi=[3,ds,nr,0,[zn],[()=>Bi],1];var pi=[3,ds,sr,0,[Kn,Kr,$n],[0,()=>Ri,0],2];var mi=[3,ds,ir,0,[Kr],[()=>Si]];var Ei=[3,ds,gr,0,[un,Cn,En,mn,Yr],[0,1,4,0,0]];var Ci=[-3,ds,pr,{[tn]:zr},[xn],[0]];se.TypeRegistry.for(ds).registerError(Ci,ReferencedImagesNotFoundException);var yi=[3,ds,ar,0,[$n,Jn,Zn,us,Vr],[0,0,0,2,()=>Xi],5];var Ii=[3,ds,Ar,0,[_n,ns,Gn,en],[0,0,2,2],4];var Bi=[3,ds,ur,0,[Zr],[0]];var Qi=[-3,ds,yr,{[tn]:zr},[xn],[0]];se.TypeRegistry.for(ds).registerError(Qi,RegistryNotFoundException);var bi=[3,ds,Qr,0,[Wn,$n,Kn,es,$r],[0,0,0,0,4]];var wi=[-3,ds,cr,{[tn]:zr},[xn],[0]];se.TypeRegistry.for(ds).registerError(wi,RepositoryAlreadyExistsException);var Si=[3,ds,fr,0,[Xr,Wr,Un,Nn,Jr,ls,Fn],[0,64|0,64|0,0,0,0,2]];var Ri=[3,ds,dr,0,[Xr,Wr,Un,vn,Jr,ls],[0,64|0,64|0,21,0,0]];var vi=[-3,ds,hr,{[tn]:zr},[xn],[0]];se.TypeRegistry.for(ds).registerError(vi,RepositoryCatalogDataNotFoundException);var ki=[-3,ds,Cr,{[tn]:zr},[xn],[0]];se.TypeRegistry.for(ds).registerError(ki,RepositoryNotEmptyException);var Ti=[-3,ds,Ir,{[tn]:zr},[xn],[0]];se.TypeRegistry.for(ds).registerError(Ti,RepositoryNotFoundException);var Ni=[-3,ds,Br,{[tn]:zr},[xn],[0]];se.TypeRegistry.for(ds).registerError(Ni,RepositoryPolicyNotFoundException);var Di=[-3,ds,br,{[tn]:ss},[xn],[0]];se.TypeRegistry.for(ds).registerError(Di,ServerException);var xi=[3,ds,Sr,0,[Kn,qn,$n,An],[0,0,0,2],2];var Fi=[3,ds,Rr,0,[$n,Kn,qn],[0,0,0]];var Pi=[3,ds,vr,0,[Ot,Gr],[0,0]];var Li=[3,ds,Dr,0,[jn,as],[0,()=>to],2];var _i=[3,ds,xr,0,[],[]];var Mi=[-3,ds,Tr,{[tn]:zr},[xn],[0]];se.TypeRegistry.for(ds).registerError(Mi,TooManyTagsException);var Ui=[-3,ds,Fr,{[tn]:zr},[xn],[0]];se.TypeRegistry.for(ds).registerError(Ui,UnsupportedCommandException);var Oi=[3,ds,Or,0,[jn,As],[0,64|0],2];var Hi=[3,ds,Hr,0,[],[]];var Gi=[3,ds,Lr,0,[Kn,cs,On,Hn,kn,$n],[0,0,1,1,21,0],5];var Vi=[3,ds,_r,0,[$n,Kn,cs,wn],[0,0,0,1]];var qi=[-3,ds,Mr,{[tn]:zr},[xn],[0]];se.TypeRegistry.for(ds).registerError(qi,UploadNotFoundException);var Yi=[-3,os,"ECRPUBLICServiceException",0,[],[]];se.TypeRegistry.for(os).registerError(Yi,ECRPUBLICServiceException);var ji=[1,ds,bt,0,()=>Ys];var Ji=[1,ds,St,0,()=>Js];var Wi=[1,ds,vt,0,()=>Ws];var zi=[1,ds,Mt,0,()=>Ks];var $i=[1,ds,Yt,0,()=>oi];var Ki=[1,ds,jt,0,()=>si];var Xi=[1,ds,lr,0,()=>Ii];var Zi=[1,ds,mr,0,()=>yi];var eo=[1,ds,Er,0,()=>bi];var to=[1,ds,kr,0,()=>Pi];var ro=[9,ds,ge,0,()=>fs,()=>gs];var no=[9,ds,Ee,0,()=>ps,()=>ms];var so=[9,ds,Ie,0,()=>Es,()=>Cs];var io=[9,ds,be,0,()=>ys,()=>Is];var oo=[9,ds,xe,0,()=>bs,()=>ws];var ao=[9,ds,Fe,0,()=>Bs,()=>Qs];var Ao=[9,ds,Re,0,()=>Ss,()=>Rs];var co=[9,ds,Te,0,()=>vs,()=>ks];var lo=[9,ds,Ve,0,()=>Ts,()=>Ns];var uo=[9,ds,qe,0,()=>Ds,()=>xs];var ho=[9,ds,je,0,()=>Ps,()=>Ls];var fo=[9,ds,ze,0,()=>_s,()=>Ms];var go=[9,ds,At,0,()=>Us,()=>Os];var po=[9,ds,mt,0,()=>Hs,()=>Gs];var mo=[9,ds,Nt,0,()=>Xs,()=>Zs];var Eo=[9,ds,zt,0,()=>li,()=>ui];var Co=[9,ds,Xt,0,()=>di,()=>hi];var yo=[9,ds,tr,0,()=>fi,()=>gi];var Io=[9,ds,or,0,()=>pi,()=>mi];var Bo=[9,ds,wr,0,()=>xi,()=>Fi];var Qo=[9,ds,Nr,0,()=>Li,()=>_i];var bo=[9,ds,Ur,0,()=>Oi,()=>Hi];var wo=[9,ds,Pr,0,()=>Gi,()=>Vi];class BatchCheckLayerAvailabilityCommand extends(Ae.Command.classBuilder().ep(he).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","BatchCheckLayerAvailability",{}).n("ECRPUBLICClient","BatchCheckLayerAvailabilityCommand").sc(ro).build()){}class BatchDeleteImageCommand extends(Ae.Command.classBuilder().ep(he).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","BatchDeleteImage",{}).n("ECRPUBLICClient","BatchDeleteImageCommand").sc(no).build()){}class CompleteLayerUploadCommand extends(Ae.Command.classBuilder().ep(he).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","CompleteLayerUpload",{}).n("ECRPUBLICClient","CompleteLayerUploadCommand").sc(so).build()){}class CreateRepositoryCommand extends(Ae.Command.classBuilder().ep(he).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","CreateRepository",{}).n("ECRPUBLICClient","CreateRepositoryCommand").sc(io).build()){}class DeleteRepositoryCommand extends(Ae.Command.classBuilder().ep(he).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","DeleteRepository",{}).n("ECRPUBLICClient","DeleteRepositoryCommand").sc(oo).build()){}class DeleteRepositoryPolicyCommand extends(Ae.Command.classBuilder().ep(he).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","DeleteRepositoryPolicy",{}).n("ECRPUBLICClient","DeleteRepositoryPolicyCommand").sc(ao).build()){}class DescribeImagesCommand extends(Ae.Command.classBuilder().ep(he).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","DescribeImages",{}).n("ECRPUBLICClient","DescribeImagesCommand").sc(Ao).build()){}class DescribeImageTagsCommand extends(Ae.Command.classBuilder().ep(he).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","DescribeImageTags",{}).n("ECRPUBLICClient","DescribeImageTagsCommand").sc(co).build()){}class DescribeRegistriesCommand extends(Ae.Command.classBuilder().ep(he).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","DescribeRegistries",{}).n("ECRPUBLICClient","DescribeRegistriesCommand").sc(lo).build()){}class DescribeRepositoriesCommand extends(Ae.Command.classBuilder().ep(he).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","DescribeRepositories",{}).n("ECRPUBLICClient","DescribeRepositoriesCommand").sc(uo).build()){}class GetAuthorizationTokenCommand extends(Ae.Command.classBuilder().ep(he).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","GetAuthorizationToken",{}).n("ECRPUBLICClient","GetAuthorizationTokenCommand").sc(ho).build()){}class GetRegistryCatalogDataCommand extends(Ae.Command.classBuilder().ep(he).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","GetRegistryCatalogData",{}).n("ECRPUBLICClient","GetRegistryCatalogDataCommand").sc(fo).build()){}class GetRepositoryCatalogDataCommand extends(Ae.Command.classBuilder().ep(he).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","GetRepositoryCatalogData",{}).n("ECRPUBLICClient","GetRepositoryCatalogDataCommand").sc(go).build()){}class GetRepositoryPolicyCommand extends(Ae.Command.classBuilder().ep(he).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","GetRepositoryPolicy",{}).n("ECRPUBLICClient","GetRepositoryPolicyCommand").sc(po).build()){}class InitiateLayerUploadCommand extends(Ae.Command.classBuilder().ep(he).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","InitiateLayerUpload",{}).n("ECRPUBLICClient","InitiateLayerUploadCommand").sc(mo).build()){}class ListTagsForResourceCommand extends(Ae.Command.classBuilder().ep(he).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","ListTagsForResource",{}).n("ECRPUBLICClient","ListTagsForResourceCommand").sc(Eo).build()){}class PutImageCommand extends(Ae.Command.classBuilder().ep(he).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","PutImage",{}).n("ECRPUBLICClient","PutImageCommand").sc(Co).build()){}class PutRegistryCatalogDataCommand extends(Ae.Command.classBuilder().ep(he).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","PutRegistryCatalogData",{}).n("ECRPUBLICClient","PutRegistryCatalogDataCommand").sc(yo).build()){}class PutRepositoryCatalogDataCommand extends(Ae.Command.classBuilder().ep(he).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","PutRepositoryCatalogData",{}).n("ECRPUBLICClient","PutRepositoryCatalogDataCommand").sc(Io).build()){}class SetRepositoryPolicyCommand extends(Ae.Command.classBuilder().ep(he).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","SetRepositoryPolicy",{}).n("ECRPUBLICClient","SetRepositoryPolicyCommand").sc(Bo).build()){}class TagResourceCommand extends(Ae.Command.classBuilder().ep(he).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","TagResource",{}).n("ECRPUBLICClient","TagResourceCommand").sc(Qo).build()){}class UntagResourceCommand extends(Ae.Command.classBuilder().ep(he).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","UntagResource",{}).n("ECRPUBLICClient","UntagResourceCommand").sc(bo).build()){}class UploadLayerPartCommand extends(Ae.Command.classBuilder().ep(he).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("SpencerFrontendService","UploadLayerPart",{}).n("ECRPUBLICClient","UploadLayerPartCommand").sc(wo).build()){}const So=ne.createPaginator(ECRPUBLICClient,DescribeImagesCommand,"nextToken","nextToken","maxResults");const Ro=ne.createPaginator(ECRPUBLICClient,DescribeImageTagsCommand,"nextToken","nextToken","maxResults");const vo=ne.createPaginator(ECRPUBLICClient,DescribeRegistriesCommand,"nextToken","nextToken","maxResults");const ko=ne.createPaginator(ECRPUBLICClient,DescribeRepositoriesCommand,"nextToken","nextToken","maxResults");const To={BatchCheckLayerAvailabilityCommand:BatchCheckLayerAvailabilityCommand,BatchDeleteImageCommand:BatchDeleteImageCommand,CompleteLayerUploadCommand:CompleteLayerUploadCommand,CreateRepositoryCommand:CreateRepositoryCommand,DeleteRepositoryCommand:DeleteRepositoryCommand,DeleteRepositoryPolicyCommand:DeleteRepositoryPolicyCommand,DescribeImagesCommand:DescribeImagesCommand,DescribeImageTagsCommand:DescribeImageTagsCommand,DescribeRegistriesCommand:DescribeRegistriesCommand,DescribeRepositoriesCommand:DescribeRepositoriesCommand,GetAuthorizationTokenCommand:GetAuthorizationTokenCommand,GetRegistryCatalogDataCommand:GetRegistryCatalogDataCommand,GetRepositoryCatalogDataCommand:GetRepositoryCatalogDataCommand,GetRepositoryPolicyCommand:GetRepositoryPolicyCommand,InitiateLayerUploadCommand:InitiateLayerUploadCommand,ListTagsForResourceCommand:ListTagsForResourceCommand,PutImageCommand:PutImageCommand,PutRegistryCatalogDataCommand:PutRegistryCatalogDataCommand,PutRepositoryCatalogDataCommand:PutRepositoryCatalogDataCommand,SetRepositoryPolicyCommand:SetRepositoryPolicyCommand,TagResourceCommand:TagResourceCommand,UntagResourceCommand:UntagResourceCommand,UploadLayerPartCommand:UploadLayerPartCommand};const No={paginateDescribeImages:So,paginateDescribeImageTags:Ro,paginateDescribeRegistries:vo,paginateDescribeRepositories:ko};class ECRPUBLIC extends ECRPUBLICClient{}Ae.createAggregatedClient(To,ECRPUBLIC,{paginators:No});const Do={InvalidLayerDigest:"InvalidLayerDigest",MissingLayerDigest:"MissingLayerDigest"};const xo={AVAILABLE:"AVAILABLE",UNAVAILABLE:"UNAVAILABLE"};const Fo={ImageNotFound:"ImageNotFound",ImageReferencedByManifestList:"ImageReferencedByManifestList",ImageTagDoesNotMatchDigest:"ImageTagDoesNotMatchDigest",InvalidImageDigest:"InvalidImageDigest",InvalidImageTag:"InvalidImageTag",KmsError:"KmsError",MissingDigestAndTag:"MissingDigestAndTag"};const Po={ACTIVE:"ACTIVE",PENDING:"PENDING",REJECTED:"REJECTED"};v={enumerable:true,get:function(){return Ae.Command}};v={enumerable:true,get:function(){return Ae.Client}};v=hs;v=ro;v=BatchCheckLayerAvailabilityCommand;v=fs;v=gs;v=no;v=BatchDeleteImageCommand;v=ps;v=ms;v=so;v=CompleteLayerUploadCommand;v=Es;v=Cs;v=io;v=CreateRepositoryCommand;v=ys;v=Is;v=oo;v=DeleteRepositoryCommand;v=ao;v=DeleteRepositoryPolicyCommand;v=Bs;v=Qs;v=bs;v=ws;v=co;v=DescribeImageTagsCommand;v=vs;v=ks;v=Ao;v=DescribeImagesCommand;v=Ss;v=Rs;v=lo;v=DescribeRegistriesCommand;v=Ts;v=Ns;v=uo;v=DescribeRepositoriesCommand;v=Ds;v=xs;d.Uz=ECRPUBLIC;v=ECRPUBLICClient;v=ECRPUBLICServiceException;v=Yi;v=EmptyUploadException;v=Fs;v=ho;v=GetAuthorizationTokenCommand;v=Ps;v=Ls;v=fo;v=GetRegistryCatalogDataCommand;v=_s;v=Ms;v=go;v=GetRepositoryCatalogDataCommand;v=Us;v=Os;v=po;v=GetRepositoryPolicyCommand;v=Hs;v=Gs;v=Vs;v=ImageAlreadyExistsException;v=qs;v=Ys;v=ImageDigestDoesNotMatchException;v=js;v=Js;v=Fo;v=Ws;v=ImageNotFoundException;v=zs;v=ImageTagAlreadyExistsException;v=$s;v=Ks;v=mo;v=InitiateLayerUploadCommand;v=Xs;v=Zs;v=InvalidLayerException;v=ei;v=InvalidLayerPartException;v=ti;v=InvalidParameterException;v=ri;v=InvalidTagParameterException;v=ni;v=si;v=LayerAlreadyExistsException;v=ii;v=xo;v=oi;v=Do;v=LayerPartTooSmallException;v=ai;v=LayersNotFoundException;v=Ai;v=LimitExceededException;v=ci;v=Eo;v=ListTagsForResourceCommand;v=li;v=ui;v=Co;v=PutImageCommand;v=di;v=hi;v=yo;v=PutRegistryCatalogDataCommand;v=fi;v=gi;v=Io;v=PutRepositoryCatalogDataCommand;v=pi;v=mi;v=Ei;v=ReferencedImagesNotFoundException;v=Ci;v=yi;v=Ii;v=Po;v=Bi;v=RegistryNotFoundException;v=Qi;v=bi;v=RepositoryAlreadyExistsException;v=wi;v=Si;v=Ri;v=RepositoryCatalogDataNotFoundException;v=vi;v=RepositoryNotEmptyException;v=ki;v=RepositoryNotFoundException;v=Ti;v=RepositoryPolicyNotFoundException;v=Ni;v=ServerException;v=Di;v=Bo;v=SetRepositoryPolicyCommand;v=xi;v=Fi;v=Pi;v=Qo;v=TagResourceCommand;v=Li;v=_i;v=TooManyTagsException;v=Mi;v=UnsupportedCommandException;v=Ui;v=bo;v=UntagResourceCommand;v=Oi;v=Hi;v=wo;v=UploadLayerPartCommand;v=Gi;v=Vi;v=UploadNotFoundException;v=qi;v=Ro;v=So;v=vo;v=ko},58199:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getRuntimeConfig=void 0;const v=p(61860);const V=v.__importDefault(p(47643));const K=p(8704);const ee=p(5861);const te=p(51656);const re=p(39316);const ne=p(5092);const se=p(19618);const ie=p(55704);const oe=p(61279);const ae=p(61411);const Ae=p(13638);const ce=p(15435);const le=p(15518);const ue=p(92180);const getRuntimeConfig=i=>{(0,ae.emitWarningIfUnsupportedVersion)(process.version);const d=(0,ce.resolveDefaultsModeConfig)(i);const defaultConfigProvider=()=>d().then(ae.loadConfigsForDefaultMode);const p=(0,ue.getRuntimeConfig)(i);(0,K.emitWarningIfUnsupportedVersion)(process.version);const v={profile:i?.profile,logger:p.logger};return{...p,...i,runtime:"node",defaultsMode:d,authSchemePreference:i?.authSchemePreference??(0,ie.loadConfig)(K.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,v),bodyLengthChecker:i?.bodyLengthChecker??Ae.calculateBodyLength,credentialDefaultProvider:i?.credentialDefaultProvider??ee.defaultProvider,defaultUserAgentProvider:i?.defaultUserAgentProvider??(0,te.createDefaultUserAgentProvider)({serviceId:p.serviceId,clientVersion:V.default.version}),maxAttempts:i?.maxAttempts??(0,ie.loadConfig)(se.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,i),region:i?.region??(0,ie.loadConfig)(re.NODE_REGION_CONFIG_OPTIONS,{...re.NODE_REGION_CONFIG_FILE_OPTIONS,...v}),requestHandler:oe.NodeHttpHandler.create(i?.requestHandler??defaultConfigProvider),retryMode:i?.retryMode??(0,ie.loadConfig)({...se.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await defaultConfigProvider()).retryMode||le.DEFAULT_RETRY_MODE},i),sha256:i?.sha256??ne.Hash.bind(null,"sha256"),streamCollector:i?.streamCollector??oe.streamCollector,useDualstackEndpoint:i?.useDualstackEndpoint??(0,ie.loadConfig)(re.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,v),useFipsEndpoint:i?.useFipsEndpoint??(0,ie.loadConfig)(re.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,v),userAgentAppId:i?.userAgentAppId??(0,ie.loadConfig)(te.NODE_APP_ID_CONFIG_OPTIONS,v)}};d.getRuntimeConfig=getRuntimeConfig},92180:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getRuntimeConfig=void 0;const v=p(8704);const V=p(37288);const K=p(61411);const ee=p(14494);const te=p(68385);const re=p(71577);const ne=p(93182);const se=p(96072);const getRuntimeConfig=i=>({apiVersion:"2020-10-30",base64Decoder:i?.base64Decoder??te.fromBase64,base64Encoder:i?.base64Encoder??te.toBase64,disableHostPrefix:i?.disableHostPrefix??false,endpointProvider:i?.endpointProvider??se.defaultEndpointResolver,extensions:i?.extensions??[],httpAuthSchemeProvider:i?.httpAuthSchemeProvider??ne.defaultECRPUBLICHttpAuthSchemeProvider,httpAuthSchemes:i?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:i=>i.getIdentityProvider("aws.auth#sigv4"),signer:new v.AwsSdkSigV4Signer}],logger:i?.logger??new K.NoOpLogger,protocol:i?.protocol??V.AwsJson1_1Protocol,protocolSettings:i?.protocolSettings??{defaultNamespace:"com.amazonaws.ecrpublic",xmlNamespace:"http://ecr-public.amazonaws.com/doc/2020-12-02/",version:"2020-10-30",serviceTarget:"SpencerFrontendService"},serviceId:i?.serviceId??"ECR PUBLIC",urlParser:i?.urlParser??ee.parseUrl,utf8Decoder:i?.utf8Decoder??re.fromUtf8,utf8Encoder:i?.utf8Encoder??re.toUtf8});d.getRuntimeConfig=getRuntimeConfig},73218:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.resolveHttpAuthSchemeConfig=d.defaultECRHttpAuthSchemeProvider=d.defaultECRHttpAuthSchemeParametersProvider=void 0;const v=p(8704);const V=p(76324);const defaultECRHttpAuthSchemeParametersProvider=async(i,d,p)=>({operation:(0,V.getSmithyContext)(d).operation,region:await(0,V.normalizeProvider)(i.region)()||(()=>{throw new Error("expected `region` to be configured for `aws.auth#sigv4`")})()});d.defaultECRHttpAuthSchemeParametersProvider=defaultECRHttpAuthSchemeParametersProvider;function createAwsAuthSigv4HttpAuthOption(i){return{schemeId:"aws.auth#sigv4",signingProperties:{name:"ecr",region:i.region},propertiesExtractor:(i,d)=>({signingProperties:{config:i,context:d}})}}const defaultECRHttpAuthSchemeProvider=i=>{const d=[];switch(i.operation){default:{d.push(createAwsAuthSigv4HttpAuthOption(i))}}return d};d.defaultECRHttpAuthSchemeProvider=defaultECRHttpAuthSchemeProvider;const resolveHttpAuthSchemeConfig=i=>{const d=(0,v.resolveAwsSdkSigV4Config)(i);return Object.assign(d,{authSchemePreference:(0,V.normalizeProvider)(i.authSchemePreference??[])})};d.resolveHttpAuthSchemeConfig=resolveHttpAuthSchemeConfig},33628:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.defaultEndpointResolver=void 0;const v=p(83068);const V=p(79674);const K=p(94193);const ee=new V.EndpointCache({size:50,params:["Endpoint","Region","UseDualStack","UseFIPS"]});const defaultEndpointResolver=(i,d={})=>ee.get(i,(()=>(0,V.resolveEndpoint)(K.ruleSet,{endpointParams:i,logger:d.logger})));d.defaultEndpointResolver=defaultEndpointResolver;V.customEndpointFunctions.aws=v.awsEndpointFunctions},94193:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.ruleSet=void 0;const p="required",v="fn",V="argv",K="ref",ee="url",te="properties",re="headers";const ne=true,se="isSet",ie="booleanEquals",oe="error",ae="endpoint",Ae="tree",ce="PartitionResult",le={[p]:true,default:false,type:"boolean"},ue={[p]:false,type:"string"},de={[K]:"Endpoint"},he={[v]:ie,[V]:[{[K]:"UseFIPS"},true]},fe={[v]:ie,[V]:[{[K]:"UseDualStack"},true]},ge={},pe={[v]:"stringEquals",[V]:[{[v]:"getAttr",[V]:[{[K]:ce},"name"]},"aws"]},me={[v]:ie,[V]:[{[K]:"UseFIPS"},false]},Ee={[v]:ie,[V]:[{[K]:"UseDualStack"},false]},Ce={[ee]:"https://api.ecr.{Region}.{PartitionResult#dnsSuffix}",[te]:{},[re]:{}},ye={[ee]:"https://ecr.{Region}.{PartitionResult#dualStackDnsSuffix}",[te]:{},[re]:{}},Ie={[ee]:"https://api.ecr-fips.{Region}.{PartitionResult#dnsSuffix}",[te]:{},[re]:{}},Be={[ee]:"https://ecr-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",[te]:{},[re]:{}},Qe={[v]:"stringEquals",[V]:[{[v]:"getAttr",[V]:[{[K]:ce},"name"]},"aws-us-gov"]},be={[v]:"stringEquals",[V]:[{[v]:"getAttr",[V]:[{[K]:ce},"name"]},"aws-cn"]},we={[v]:"stringEquals",[V]:[{[v]:"getAttr",[V]:[{[K]:ce},"name"]},"aws-iso"]},Se={[v]:"stringEquals",[V]:[{[v]:"getAttr",[V]:[{[K]:ce},"name"]},"aws-iso-b"]},Re={[v]:"stringEquals",[V]:[{[v]:"getAttr",[V]:[{[K]:ce},"name"]},"aws-iso-e"]},ve={[v]:"stringEquals",[V]:[{[v]:"getAttr",[V]:[{[K]:ce},"name"]},"aws-iso-f"]},ke={[v]:"stringEquals",[V]:[{[v]:"getAttr",[V]:[{[K]:ce},"name"]},"aws-eusc"]},Te={[v]:"getAttr",[V]:[{[K]:ce},"supportsFIPS"]},Ne={[v]:ie,[V]:[true,{[v]:"getAttr",[V]:[{[K]:ce},"supportsDualStack"]}]},De=[{[K]:"Region"}];const xe={version:"1.0",parameters:{UseDualStack:le,UseFIPS:le,Endpoint:ue,Region:ue},rules:[{conditions:[{[v]:se,[V]:[de]}],rules:[{conditions:[he],error:"Invalid Configuration: FIPS and custom endpoint are not supported",type:oe},{rules:[{conditions:[fe],error:"Invalid Configuration: Dualstack and custom endpoint are not supported",type:oe},{endpoint:{[ee]:de,[te]:ge,[re]:ge},type:ae}],type:Ae}],type:Ae},{rules:[{conditions:[{[v]:se,[V]:De}],rules:[{conditions:[{[v]:"aws.partition",[V]:De,assign:ce}],rules:[{conditions:[pe,me,Ee],endpoint:Ce,type:ae},{conditions:[pe,me,fe],endpoint:ye,type:ae},{conditions:[pe,he,Ee],endpoint:Ie,type:ae},{conditions:[pe,he,fe],endpoint:Be,type:ae},{conditions:[Qe,me,Ee],endpoint:Ce,type:ae},{conditions:[Qe,me,fe],endpoint:ye,type:ae},{conditions:[Qe,he,Ee],endpoint:Ie,type:ae},{conditions:[Qe,he,fe],endpoint:Be,type:ae},{conditions:[be,me,Ee],endpoint:Ce,type:ae},{conditions:[be,me,fe],endpoint:ye,type:ae},{conditions:[be,he,Ee],endpoint:Ie,type:ae},{conditions:[be,he,fe],endpoint:Be,type:ae},{conditions:[we,me,Ee],endpoint:Ce,type:ae},{conditions:[we,me,fe],endpoint:ye,type:ae},{conditions:[we,he,Ee],endpoint:Ie,type:ae},{conditions:[we,he,fe],endpoint:Be,type:ae},{conditions:[Se,me,Ee],endpoint:Ce,type:ae},{conditions:[Se,me,fe],endpoint:ye,type:ae},{conditions:[Se,he,Ee],endpoint:Ie,type:ae},{conditions:[Se,he,fe],endpoint:Be,type:ae},{conditions:[Re,me,Ee],endpoint:Ce,type:ae},{conditions:[Re,me,fe],endpoint:ye,type:ae},{conditions:[Re,he,Ee],endpoint:Ie,type:ae},{conditions:[Re,he,fe],endpoint:Be,type:ae},{conditions:[ve,me,Ee],endpoint:Ce,type:ae},{conditions:[ve,me,fe],endpoint:ye,type:ae},{conditions:[ve,he,Ee],endpoint:Ie,type:ae},{conditions:[ve,he,fe],endpoint:Be,type:ae},{conditions:[ke,me,Ee],endpoint:Ce,type:ae},{conditions:[ke,me,fe],endpoint:ye,type:ae},{conditions:[ke,he,Ee],endpoint:Ie,type:ae},{conditions:[ke,he,fe],endpoint:Be,type:ae},{conditions:[he,fe],rules:[{conditions:[{[v]:ie,[V]:[ne,Te]},Ne],rules:[{endpoint:{[ee]:"https://api.ecr-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",[te]:ge,[re]:ge},type:ae}],type:Ae},{error:"FIPS and DualStack are enabled, but this partition does not support one or both",type:oe}],type:Ae},{conditions:[he,Ee],rules:[{conditions:[{[v]:ie,[V]:[Te,ne]}],rules:[{endpoint:Ie,type:ae}],type:Ae},{error:"FIPS is enabled but this partition does not support FIPS",type:oe}],type:Ae},{conditions:[me,fe],rules:[{conditions:[Ne],rules:[{endpoint:{[ee]:"https://api.ecr.{Region}.{PartitionResult#dualStackDnsSuffix}",[te]:ge,[re]:ge},type:ae}],type:Ae},{error:"DualStack is enabled but this partition does not support DualStack",type:oe}],type:Ae},{endpoint:Ce,type:ae}],type:Ae}],type:Ae},{error:"Invalid Configuration: Missing Region",type:oe}],type:Ae}]};d.ruleSet=xe},28249:(i,d,p)=>{var v;var V=p(30209);var K=p(85242);var ee=p(81568);var te=p(32959);var re=p(39316);var ne=p(90402);var se=p(26890);var ie=p(47212);var oe=p(40099);var ae=p(19618);var Ae=p(61411);var ce=p(73218);var le=p(93107);var ue=p(36463);var de=p(72356);var he=p(95290);const resolveClientEndpointParameters=i=>Object.assign(i,{useDualstackEndpoint:i.useDualstackEndpoint??false,useFipsEndpoint:i.useFipsEndpoint??false,defaultSigningName:"ecr"});const fe={UseFIPS:{type:"builtInParams",name:"useFipsEndpoint"},Endpoint:{type:"builtInParams",name:"endpoint"},Region:{type:"builtInParams",name:"region"},UseDualStack:{type:"builtInParams",name:"useDualstackEndpoint"}};const getHttpAuthExtensionConfiguration=i=>{const d=i.httpAuthSchemes;let p=i.httpAuthSchemeProvider;let v=i.credentials;return{setHttpAuthScheme(i){const p=d.findIndex((d=>d.schemeId===i.schemeId));if(p===-1){d.push(i)}else{d.splice(p,1,i)}},httpAuthSchemes(){return d},setHttpAuthSchemeProvider(i){p=i},httpAuthSchemeProvider(){return p},setCredentials(i){v=i},credentials(){return v}}};const resolveHttpAuthRuntimeConfig=i=>({httpAuthSchemes:i.httpAuthSchemes(),httpAuthSchemeProvider:i.httpAuthSchemeProvider(),credentials:i.credentials()});const resolveRuntimeExtensions=(i,d)=>{const p=Object.assign(ue.getAwsRegionExtensionConfiguration(i),Ae.getDefaultExtensionConfiguration(i),de.getHttpHandlerExtensionConfiguration(i),getHttpAuthExtensionConfiguration(i));d.forEach((i=>i.configure(p)));return Object.assign(i,ue.resolveAwsRegionExtensionConfiguration(p),Ae.resolveDefaultRuntimeConfig(p),de.resolveHttpHandlerRuntimeConfig(p),resolveHttpAuthRuntimeConfig(p))};class ECRClient extends Ae.Client{config;constructor(...[i]){const d=le.getRuntimeConfig(i||{});super(d);this.initConfig=d;const p=resolveClientEndpointParameters(d);const v=te.resolveUserAgentConfig(p);const Ae=ae.resolveRetryConfig(v);const ue=re.resolveRegionConfig(Ae);const de=V.resolveHostHeaderConfig(ue);const he=oe.resolveEndpointConfig(de);const fe=ce.resolveHttpAuthSchemeConfig(he);const ge=resolveRuntimeExtensions(fe,i?.extensions||[]);this.config=ge;this.middlewareStack.use(se.getSchemaSerdePlugin(this.config));this.middlewareStack.use(te.getUserAgentPlugin(this.config));this.middlewareStack.use(ae.getRetryPlugin(this.config));this.middlewareStack.use(ie.getContentLengthPlugin(this.config));this.middlewareStack.use(V.getHostHeaderPlugin(this.config));this.middlewareStack.use(K.getLoggerPlugin(this.config));this.middlewareStack.use(ee.getRecursionDetectionPlugin(this.config));this.middlewareStack.use(ne.getHttpAuthSchemeEndpointRuleSetPlugin(this.config,{httpAuthSchemeParametersProvider:ce.defaultECRHttpAuthSchemeParametersProvider,identityProviderConfigProvider:async i=>new ne.DefaultIdentityProviderConfig({"aws.auth#sigv4":i.credentials})}));this.middlewareStack.use(ne.getHttpSigningPlugin(this.config))}destroy(){super.destroy()}}class ECRServiceException extends Ae.ServiceException{constructor(i){super(i);Object.setPrototypeOf(this,ECRServiceException.prototype)}}class InvalidParameterException extends ECRServiceException{name="InvalidParameterException";$fault="client";constructor(i){super({name:"InvalidParameterException",$fault:"client",...i});Object.setPrototypeOf(this,InvalidParameterException.prototype)}}class RepositoryNotFoundException extends ECRServiceException{name="RepositoryNotFoundException";$fault="client";constructor(i){super({name:"RepositoryNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,RepositoryNotFoundException.prototype)}}class ServerException extends ECRServiceException{name="ServerException";$fault="server";constructor(i){super({name:"ServerException",$fault:"server",...i});Object.setPrototypeOf(this,ServerException.prototype)}}class LimitExceededException extends ECRServiceException{name="LimitExceededException";$fault="client";constructor(i){super({name:"LimitExceededException",$fault:"client",...i});Object.setPrototypeOf(this,LimitExceededException.prototype)}}class UnableToGetUpstreamImageException extends ECRServiceException{name="UnableToGetUpstreamImageException";$fault="client";constructor(i){super({name:"UnableToGetUpstreamImageException",$fault:"client",...i});Object.setPrototypeOf(this,UnableToGetUpstreamImageException.prototype)}}class ValidationException extends ECRServiceException{name="ValidationException";$fault="client";constructor(i){super({name:"ValidationException",$fault:"client",...i});Object.setPrototypeOf(this,ValidationException.prototype)}}class EmptyUploadException extends ECRServiceException{name="EmptyUploadException";$fault="client";constructor(i){super({name:"EmptyUploadException",$fault:"client",...i});Object.setPrototypeOf(this,EmptyUploadException.prototype)}}class InvalidLayerException extends ECRServiceException{name="InvalidLayerException";$fault="client";constructor(i){super({name:"InvalidLayerException",$fault:"client",...i});Object.setPrototypeOf(this,InvalidLayerException.prototype)}}class KmsException extends ECRServiceException{name="KmsException";$fault="client";kmsError;constructor(i){super({name:"KmsException",$fault:"client",...i});Object.setPrototypeOf(this,KmsException.prototype);this.kmsError=i.kmsError}}class LayerAlreadyExistsException extends ECRServiceException{name="LayerAlreadyExistsException";$fault="client";constructor(i){super({name:"LayerAlreadyExistsException",$fault:"client",...i});Object.setPrototypeOf(this,LayerAlreadyExistsException.prototype)}}class LayerPartTooSmallException extends ECRServiceException{name="LayerPartTooSmallException";$fault="client";constructor(i){super({name:"LayerPartTooSmallException",$fault:"client",...i});Object.setPrototypeOf(this,LayerPartTooSmallException.prototype)}}class UploadNotFoundException extends ECRServiceException{name="UploadNotFoundException";$fault="client";constructor(i){super({name:"UploadNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,UploadNotFoundException.prototype)}}class PullThroughCacheRuleAlreadyExistsException extends ECRServiceException{name="PullThroughCacheRuleAlreadyExistsException";$fault="client";constructor(i){super({name:"PullThroughCacheRuleAlreadyExistsException",$fault:"client",...i});Object.setPrototypeOf(this,PullThroughCacheRuleAlreadyExistsException.prototype)}}class SecretNotFoundException extends ECRServiceException{name="SecretNotFoundException";$fault="client";constructor(i){super({name:"SecretNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,SecretNotFoundException.prototype)}}class UnableToAccessSecretException extends ECRServiceException{name="UnableToAccessSecretException";$fault="client";constructor(i){super({name:"UnableToAccessSecretException",$fault:"client",...i});Object.setPrototypeOf(this,UnableToAccessSecretException.prototype)}}class UnableToDecryptSecretValueException extends ECRServiceException{name="UnableToDecryptSecretValueException";$fault="client";constructor(i){super({name:"UnableToDecryptSecretValueException",$fault:"client",...i});Object.setPrototypeOf(this,UnableToDecryptSecretValueException.prototype)}}class UnsupportedUpstreamRegistryException extends ECRServiceException{name="UnsupportedUpstreamRegistryException";$fault="client";constructor(i){super({name:"UnsupportedUpstreamRegistryException",$fault:"client",...i});Object.setPrototypeOf(this,UnsupportedUpstreamRegistryException.prototype)}}class InvalidTagParameterException extends ECRServiceException{name="InvalidTagParameterException";$fault="client";constructor(i){super({name:"InvalidTagParameterException",$fault:"client",...i});Object.setPrototypeOf(this,InvalidTagParameterException.prototype)}}class RepositoryAlreadyExistsException extends ECRServiceException{name="RepositoryAlreadyExistsException";$fault="client";constructor(i){super({name:"RepositoryAlreadyExistsException",$fault:"client",...i});Object.setPrototypeOf(this,RepositoryAlreadyExistsException.prototype)}}class TooManyTagsException extends ECRServiceException{name="TooManyTagsException";$fault="client";constructor(i){super({name:"TooManyTagsException",$fault:"client",...i});Object.setPrototypeOf(this,TooManyTagsException.prototype)}}class TemplateAlreadyExistsException extends ECRServiceException{name="TemplateAlreadyExistsException";$fault="client";constructor(i){super({name:"TemplateAlreadyExistsException",$fault:"client",...i});Object.setPrototypeOf(this,TemplateAlreadyExistsException.prototype)}}class LifecyclePolicyNotFoundException extends ECRServiceException{name="LifecyclePolicyNotFoundException";$fault="client";constructor(i){super({name:"LifecyclePolicyNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,LifecyclePolicyNotFoundException.prototype)}}class PullThroughCacheRuleNotFoundException extends ECRServiceException{name="PullThroughCacheRuleNotFoundException";$fault="client";constructor(i){super({name:"PullThroughCacheRuleNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,PullThroughCacheRuleNotFoundException.prototype)}}class RegistryPolicyNotFoundException extends ECRServiceException{name="RegistryPolicyNotFoundException";$fault="client";constructor(i){super({name:"RegistryPolicyNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,RegistryPolicyNotFoundException.prototype)}}class RepositoryNotEmptyException extends ECRServiceException{name="RepositoryNotEmptyException";$fault="client";constructor(i){super({name:"RepositoryNotEmptyException",$fault:"client",...i});Object.setPrototypeOf(this,RepositoryNotEmptyException.prototype)}}class TemplateNotFoundException extends ECRServiceException{name="TemplateNotFoundException";$fault="client";constructor(i){super({name:"TemplateNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,TemplateNotFoundException.prototype)}}class RepositoryPolicyNotFoundException extends ECRServiceException{name="RepositoryPolicyNotFoundException";$fault="client";constructor(i){super({name:"RepositoryPolicyNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,RepositoryPolicyNotFoundException.prototype)}}class SigningConfigurationNotFoundException extends ECRServiceException{name="SigningConfigurationNotFoundException";$fault="client";constructor(i){super({name:"SigningConfigurationNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,SigningConfigurationNotFoundException.prototype)}}class ExclusionNotFoundException extends ECRServiceException{name="ExclusionNotFoundException";$fault="client";constructor(i){super({name:"ExclusionNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,ExclusionNotFoundException.prototype)}}class ImageNotFoundException extends ECRServiceException{name="ImageNotFoundException";$fault="client";constructor(i){super({name:"ImageNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,ImageNotFoundException.prototype)}}class ScanNotFoundException extends ECRServiceException{name="ScanNotFoundException";$fault="client";constructor(i){super({name:"ScanNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,ScanNotFoundException.prototype)}}class LayerInaccessibleException extends ECRServiceException{name="LayerInaccessibleException";$fault="client";constructor(i){super({name:"LayerInaccessibleException",$fault:"client",...i});Object.setPrototypeOf(this,LayerInaccessibleException.prototype)}}class LayersNotFoundException extends ECRServiceException{name="LayersNotFoundException";$fault="client";constructor(i){super({name:"LayersNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,LayersNotFoundException.prototype)}}class UnableToGetUpstreamLayerException extends ECRServiceException{name="UnableToGetUpstreamLayerException";$fault="client";constructor(i){super({name:"UnableToGetUpstreamLayerException",$fault:"client",...i});Object.setPrototypeOf(this,UnableToGetUpstreamLayerException.prototype)}}class LifecyclePolicyPreviewNotFoundException extends ECRServiceException{name="LifecyclePolicyPreviewNotFoundException";$fault="client";constructor(i){super({name:"LifecyclePolicyPreviewNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,LifecyclePolicyPreviewNotFoundException.prototype)}}class ImageAlreadyExistsException extends ECRServiceException{name="ImageAlreadyExistsException";$fault="client";constructor(i){super({name:"ImageAlreadyExistsException",$fault:"client",...i});Object.setPrototypeOf(this,ImageAlreadyExistsException.prototype)}}class ImageDigestDoesNotMatchException extends ECRServiceException{name="ImageDigestDoesNotMatchException";$fault="client";constructor(i){super({name:"ImageDigestDoesNotMatchException",$fault:"client",...i});Object.setPrototypeOf(this,ImageDigestDoesNotMatchException.prototype)}}class ImageTagAlreadyExistsException extends ECRServiceException{name="ImageTagAlreadyExistsException";$fault="client";constructor(i){super({name:"ImageTagAlreadyExistsException",$fault:"client",...i});Object.setPrototypeOf(this,ImageTagAlreadyExistsException.prototype)}}class ReferencedImagesNotFoundException extends ECRServiceException{name="ReferencedImagesNotFoundException";$fault="client";constructor(i){super({name:"ReferencedImagesNotFoundException",$fault:"client",...i});Object.setPrototypeOf(this,ReferencedImagesNotFoundException.prototype)}}class BlockedByOrganizationPolicyException extends ECRServiceException{name="BlockedByOrganizationPolicyException";$fault="client";constructor(i){super({name:"BlockedByOrganizationPolicyException",$fault:"client",...i});Object.setPrototypeOf(this,BlockedByOrganizationPolicyException.prototype)}}class ExclusionAlreadyExistsException extends ECRServiceException{name="ExclusionAlreadyExistsException";$fault="client";constructor(i){super({name:"ExclusionAlreadyExistsException",$fault:"client",...i});Object.setPrototypeOf(this,ExclusionAlreadyExistsException.prototype)}}class ImageArchivedException extends ECRServiceException{name="ImageArchivedException";$fault="client";constructor(i){super({name:"ImageArchivedException",$fault:"client",...i});Object.setPrototypeOf(this,ImageArchivedException.prototype)}}class UnsupportedImageTypeException extends ECRServiceException{name="UnsupportedImageTypeException";$fault="client";constructor(i){super({name:"UnsupportedImageTypeException",$fault:"client",...i});Object.setPrototypeOf(this,UnsupportedImageTypeException.prototype)}}class LifecyclePolicyPreviewInProgressException extends ECRServiceException{name="LifecyclePolicyPreviewInProgressException";$fault="client";constructor(i){super({name:"LifecyclePolicyPreviewInProgressException",$fault:"client",...i});Object.setPrototypeOf(this,LifecyclePolicyPreviewInProgressException.prototype)}}class ImageStorageClassUpdateNotSupportedException extends ECRServiceException{name="ImageStorageClassUpdateNotSupportedException";$fault="client";constructor(i){super({name:"ImageStorageClassUpdateNotSupportedException",$fault:"client",...i});Object.setPrototypeOf(this,ImageStorageClassUpdateNotSupportedException.prototype)}}class InvalidLayerPartException extends ECRServiceException{name="InvalidLayerPartException";$fault="client";registryId;repositoryName;uploadId;lastValidByteReceived;constructor(i){super({name:"InvalidLayerPartException",$fault:"client",...i});Object.setPrototypeOf(this,InvalidLayerPartException.prototype);this.registryId=i.registryId;this.repositoryName=i.repositoryName;this.uploadId=i.uploadId;this.lastValidByteReceived=i.lastValidByteReceived}}const ge="Attribute";const pe="AuthorizationData";const me="AuthorizationDataList";const Ee="AwsEcrContainerImageDetails";const Ce="AttributeList";const ye="BlockedByOrganizationPolicyException";const Ie="BatchCheckLayerAvailability";const Be="BatchCheckLayerAvailabilityRequest";const Qe="BatchCheckLayerAvailabilityResponse";const be="BatchDeleteImage";const we="BatchDeleteImageRequest";const Se="BatchDeleteImageResponse";const Re="BatchGetImage";const ve="BatchGetImageRequest";const ke="BatchGetImageResponse";const Te="BatchGetRepositoryScanningConfiguration";const Ne="BatchGetRepositoryScanningConfigurationRequest";const De="BatchGetRepositoryScanningConfigurationResponse";const xe="CompleteLayerUpload";const Fe="CompleteLayerUploadRequest";const Pe="CompleteLayerUploadResponse";const Le="CreatePullThroughCacheRule";const _e="CreatePullThroughCacheRuleRequest";const Me="CreatePullThroughCacheRuleResponse";const Ue="CreateRepository";const Oe="CreateRepositoryCreationTemplate";const He="CreateRepositoryCreationTemplateRequest";const Ge="CreateRepositoryCreationTemplateResponse";const Ve="CreateRepositoryRequest";const qe="CreateRepositoryResponse";const Ye="CvssScore";const je="CvssScoreAdjustment";const Je="CvssScoreAdjustmentList";const We="CvssScoreDetails";const ze="CvssScoreList";const $e="DescribeImages";const Ke="DescribeImagesFilter";const Xe="DescribeImagesRequest";const Ze="DescribeImageReplicationStatus";const At="DescribeImageReplicationStatusRequest";const mt="DescribeImageReplicationStatusResponse";const Et="DescribeImagesResponse";const Ct="DescribeImageScanFindings";const yt="DescribeImageScanFindingsRequest";const It="DescribeImageScanFindingsResponse";const Bt="DescribeImageSigningStatus";const Qt="DescribeImageSigningStatusRequest";const bt="DescribeImageSigningStatusResponse";const wt="DeleteLifecyclePolicy";const St="DeleteLifecyclePolicyRequest";const Rt="DeleteLifecyclePolicyResponse";const vt="DeletePullThroughCacheRule";const kt="DeletePullThroughCacheRuleRequest";const Tt="DeletePullThroughCacheRuleResponse";const Nt="DescribePullThroughCacheRulesRequest";const Dt="DescribePullThroughCacheRulesResponse";const xt="DescribePullThroughCacheRules";const Ft="DeregisterPullTimeUpdateExclusion";const Pt="DeregisterPullTimeUpdateExclusionRequest";const Lt="DeregisterPullTimeUpdateExclusionResponse";const _t="DeleteRepository";const Mt="DeleteRepositoryCreationTemplate";const Ut="DeleteRepositoryCreationTemplateRequest";const Ot="DeleteRepositoryCreationTemplateResponse";const Ht="DescribeRepositoryCreationTemplatesRequest";const Gt="DescribeRepositoryCreationTemplatesResponse";const Vt="DescribeRepositoryCreationTemplates";const qt="DeleteRegistryPolicy";const Yt="DeleteRegistryPolicyRequest";const jt="DeleteRegistryPolicyResponse";const Jt="DeleteRepositoryPolicyRequest";const Wt="DeleteRepositoryPolicyResponse";const zt="DeleteRepositoryPolicy";const $t="DeleteRepositoryRequest";const Kt="DeleteRepositoryResponse";const Xt="DescribeRegistryRequest";const Zt="DescribeRegistryResponse";const er="DescribeRepositoriesRequest";const tr="DescribeRepositoriesResponse";const rr="DescribeRegistry";const nr="DescribeRepositories";const sr="DeleteSigningConfiguration";const ir="DeleteSigningConfigurationRequest";const or="DeleteSigningConfigurationResponse";const ar="ExclusionAlreadyExistsException";const Ar="EncryptionConfiguration";const cr="EncryptionConfigurationForRepositoryCreationTemplate";const lr="EnhancedImageScanFinding";const ur="EnhancedImageScanFindingList";const dr="ExclusionNotFoundException";const hr="EmptyUploadException";const fr="GetAccountSetting";const gr="GetAccountSettingRequest";const pr="GetAccountSettingResponse";const mr="GetAuthorizationToken";const Er="GetAuthorizationTokenRequest";const Cr="GetAuthorizationTokenResponse";const yr="GetDownloadUrlForLayer";const Ir="GetDownloadUrlForLayerRequest";const Br="GetDownloadUrlForLayerResponse";const Qr="GetLifecyclePolicy";const br="GetLifecyclePolicyPreview";const wr="GetLifecyclePolicyPreviewRequest";const Sr="GetLifecyclePolicyPreviewResponse";const Rr="GetLifecyclePolicyRequest";const vr="GetLifecyclePolicyResponse";const kr="GetRegistryPolicy";const Tr="GetRegistryPolicyRequest";const Nr="GetRegistryPolicyResponse";const Dr="GetRepositoryPolicyRequest";const xr="GetRepositoryPolicyResponse";const Fr="GetRepositoryPolicy";const Pr="GetRegistryScanningConfiguration";const Lr="GetRegistryScanningConfigurationRequest";const _r="GetRegistryScanningConfigurationResponse";const Mr="GetSigningConfiguration";const Ur="GetSigningConfigurationRequest";const Or="GetSigningConfigurationResponse";const Hr="Image";const Gr="ImageArchivedException";const Vr="ImageAlreadyExistsException";const qr="ImageDetail";const Yr="ImageDigestDoesNotMatchException";const jr="ImageDetailList";const Jr="ImageFailure";const Wr="ImageFailureList";const zr="ImageIdentifier";const $r="ImageIdentifierList";const Kr="ImageList";const Xr="InvalidLayerException";const Zr="InvalidLayerPartException";const en="InitiateLayerUpload";const tn="InitiateLayerUploadRequest";const rn="InitiateLayerUploadResponse";const nn="ImageNotFoundException";const sn="InvalidParameterException";const an="ImageReferrer";const An="ImageReferrerList";const cn="ImageReplicationStatus";const ln="ImageReplicationStatusList";const un="ImageScanningConfiguration";const dn="ImageStorageClassUpdateNotSupportedException";const hn="ImageScanFinding";const gn="ImageScanFindingList";const pn="ImageScanFindingsSummary";const mn="ImageScanFindings";const En="ImageScanStatus";const Cn="ImageSigningStatusList";const yn="ImageSigningStatus";const In="ImageTagAlreadyExistsException";const Bn="ImageTagMutabilityExclusionFilter";const Qn="ImageTagMutabilityExclusionFilters";const bn="InvalidTagParameterException";const wn="Key";const Sn="KmsException";const Rn="Layer";const vn="LayerAlreadyExistsException";const kn="LimitExceededException";const Tn="LayerFailure";const Nn="LayerFailureList";const Dn="ListImages";const xn="LayerInaccessibleException";const Fn="ListImagesFilter";const Pn="ListImagesRequest";const Ln="ListImageReferrersFilter";const _n="ListImageReferrersRequest";const Mn="ListImageReferrersResponse";const Un="ListImagesResponse";const On="ListImageReferrers";const Hn="LayerList";const Gn="LayersNotFoundException";const Vn="LifecyclePolicyNotFoundException";const qn="LifecyclePolicyPreviewFilter";const Yn="LifecyclePolicyPreviewInProgressException";const jn="LifecyclePolicyPreviewNotFoundException";const Jn="LifecyclePolicyPreviewResult";const Wn="LifecyclePolicyPreviewResultList";const zn="LifecyclePolicyPreviewSummary";const $n="LifecyclePolicyRuleAction";const Kn="LayerPartTooSmallException";const Xn="ListPullTimeUpdateExclusions";const Zn="ListPullTimeUpdateExclusionsRequest";const es="ListPullTimeUpdateExclusionsResponse";const ts="ListTagsForResource";const rs="ListTagsForResourceRequest";const ns="ListTagsForResourceResponse";const ss="PutAccountSetting";const os="PutAccountSettingRequest";const as="PutAccountSettingResponse";const As="PutImage";const cs="PutImageRequest";const ls="PutImageResponse";const us="PutImageScanningConfiguration";const ds="PutImageScanningConfigurationRequest";const hs="PutImageScanningConfigurationResponse";const fs="PutImageTagMutability";const gs="PutImageTagMutabilityRequest";const ps="PutImageTagMutabilityResponse";const ms="PutLifecyclePolicy";const Es="PutLifecyclePolicyRequest";const Cs="PutLifecyclePolicyResponse";const ys="PutReplicationConfiguration";const Is="PutReplicationConfigurationRequest";const Bs="PutReplicationConfigurationResponse";const Qs="PutRegistryPolicy";const bs="PutRegistryPolicyRequest";const ws="PutRegistryPolicyResponse";const Ss="PutRegistryScanningConfiguration";const Rs="PutRegistryScanningConfigurationRequest";const vs="PutRegistryScanningConfigurationResponse";const ks="PutSigningConfiguration";const Ts="PutSigningConfigurationRequest";const Ns="PutSigningConfigurationResponse";const Ds="PullThroughCacheRule";const xs="PullThroughCacheRuleAlreadyExistsException";const Fs="PullThroughCacheRuleList";const Ps="PullThroughCacheRuleNotFoundException";const Ls="PackageVulnerabilityDetails";const _s="Recommendation";const Ms="RepositoryAlreadyExistsException";const Us="ReplicationConfiguration";const Os="RepositoryCreationTemplate";const Hs="RepositoryCreationTemplateList";const Gs="ReplicationDestination";const Vs="ReplicationDestinationList";const qs="ResourceDetails";const Ys="RepositoryFilter";const js="RepositoryFilterList";const Js="ReferencedImagesNotFoundException";const Ws="RepositoryList";const zs="ResourceList";const $s="RepositoryNotEmptyException";const Ks="RepositoryNotFoundException";const Xs="RegistryPolicyNotFoundException";const Zs="RepositoryPolicyNotFoundException";const ei="RegisterPullTimeUpdateExclusion";const ti="RegisterPullTimeUpdateExclusionRequest";const ri="RegisterPullTimeUpdateExclusionResponse";const ni="ReplicationRule";const si="ReplicationRuleList";const ii="RegistryScanningConfiguration";const oi="RepositoryScanningConfigurationFailure";const ai="RepositoryScanningConfigurationFailureList";const Ai="RepositoryScanningConfigurationList";const ci="RepositoryScanningConfiguration";const li="RegistryScanningRule";const ui="RegistryScanningRuleList";const di="Remediation";const hi="Repository";const fi="Resource";const gi="SigningConfiguration";const pi="SigningConfigurationNotFoundException";const mi="ScoreDetails";const Ei="ServerException";const Ci="SubjectIdentifier";const yi="StartImageScan";const Ii="StartImageScanRequest";const Bi="StartImageScanResponse";const Qi="StartLifecyclePolicyPreview";const bi="StartLifecyclePolicyPreviewRequest";const wi="StartLifecyclePolicyPreviewResponse";const Si="ScanNotFoundException";const Ri="SecretNotFoundException";const vi="SigningRule";const ki="ScanningRepositoryFilter";const Ti="ScanningRepositoryFilterList";const Ni="SigningRepositoryFilterList";const Di="SigningRepositoryFilter";const xi="SigningRuleList";const Fi="SetRepositoryPolicy";const Pi="SetRepositoryPolicyRequest";const Li="SetRepositoryPolicyResponse";const _i="Tag";const Mi="TemplateAlreadyExistsException";const Ui="TransitioningImageTotalCount";const Oi="TransitioningImageTotalCounts";const Hi="TagList";const Gi="TooManyTagsException";const Vi="TemplateNotFoundException";const qi="TagResource";const Yi="TagResourceRequest";const ji="TagResourceResponse";const Ji="UpdateImageStorageClass";const Wi="UpdateImageStorageClassRequest";const zi="UpdateImageStorageClassResponse";const $i="UnsupportedImageTypeException";const Ki="UploadLayerPart";const Xi="UploadLayerPartRequest";const Zi="UploadLayerPartResponse";const eo="UploadNotFoundException";const to="UpdatePullThroughCacheRule";const ro="UpdatePullThroughCacheRuleRequest";const no="UpdatePullThroughCacheRuleResponse";const so="UntagResource";const io="UpdateRepositoryCreationTemplate";const oo="UpdateRepositoryCreationTemplateRequest";const ao="UpdateRepositoryCreationTemplateResponse";const Ao="UntagResourceRequest";const co="UntagResourceResponse";const lo="UnableToAccessSecretException";const uo="UnableToDecryptSecretValueException";const ho="UnableToGetUpstreamImageException";const fo="UnableToGetUpstreamLayerException";const go="UnsupportedUpstreamRegistryException";const po="Value";const mo="ValidationException";const Eo="VulnerablePackage";const Co="VulnerablePackagesList";const yo="ValidatePullThroughCacheRule";const Io="ValidatePullThroughCacheRuleRequest";const Bo="ValidatePullThroughCacheRuleResponse";const Qo="architecture";const bo="awsAccountId";const wo="authorizationData";const So="awsEcrContainerImage";const Ro="appliedFor";const vo="acceptedMediaTypes";const ko="artifactMediaType";const To="appliedRulePriority";const No="artifactStatus";const Do="appliedScanFilters";const xo="authorizationToken";const Fo="artifactType";const Po="artifactTypes";const Lo="action";const _o="adjustments";const Mo="annotations";const Uo="arch";const Oo="attributes";const Ho="author";const Go="baseScore";const Vo="client";const qo="credentialArn";const Yo="createdAt";const jo="customRoleArn";const Jo="cvss";const Wo="description";const zo="downloadUrl";const $o="destinations";const Ko="details";const Xo="digest";const Zo="error";const ea="expiresAt";const ta="exploitAvailable";const ra="encryptionConfiguration";const na="enhancedFindings";const sa="expiringImageTotalCount";const ia="ecrRepositoryPrefix";const oa="ecrRepositoryPrefixes";const aa="encryptionType";const Aa="epoch";const ca="failures";const la="findingArn";const ua="fixAvailable";const da="failureCode";const ha="fixedInVersion";const fa="firstObservedAt";const ga="filePath";const pa="failureReason";const ma="findingSeverityCounts";const Ea="filterType";const Ca="failure";const ya="filter";const Ia="findings";const Ba="force";const Qa="httpError";const ba="images";const wa="imageDetails";const Sa="imageDigest";const Ra="imageHash";const va="imageIds";const ka="imageId";const Ta="imageManifest";const Na="imageManifestMediaType";const Da="imagePushedAt";const xa="imageStatus";const Fa="imageScanningConfiguration";const Pa="imageScanCompletedAt";const La="imageScanFindings";const _a="imageScanFindingsSummary";const Ma="imageSizeInBytes";const Ua="imageScanStatus";const Oa="imageTags";const Ha="imageTotalCount";const Ga="imageTagMutability";const Va="imageTagMutabilityExclusionFilters";const qa="imageTag";const Ya="inUseCount";const ja="isValid";const Ja="id";const Wa="image";const za="key";const $a="kmsError";const Ka="kmsKey";const Xa="layers";const Za="layerAvailability";const eA="lastArchivedAt";const tA="lastActivatedAt";const rA="lastByteReceived";const nA="layerDigests";const sA="layerDigest";const iA="lastEvaluatedAt";const oA="lastInUseAt";const aA="lastObservedAt";const AA="lifecyclePolicy";const cA="layerPartBlob";const lA="lifecyclePolicyText";const uA="lastRecordedPullTime";const dA="layerSize";const hA="lastValidByteReceived";const fA="message";const gA="maxResults";const pA="mediaType";const mA="metric";const EA="name";const CA="nextToken";const yA="platform";const IA="pushedAt";const BA="principalArn";const QA="proxyEndpoint";const bA="partFirstByte";const wA="partLastByte";const SA="packageManager";const RA="previewResults";const vA="partSize";const kA="policyText";const TA="pullThroughCacheRules";const NA="pullTimeUpdateExclusions";const DA="packageVulnerabilityDetails";const xA="prefix";const FA="prefixes";const PA="registry";const LA="resourceArn";const _A="repositoryArn";const MA="replicationConfiguration";const UA="repositoryCreationTemplate";const OA="repositoryCreationTemplates";const HA="repositoryFilters";const GA="registryId";const VA="registryIds";const qA="repositoryName";const YA="repositoryNames";const jA="repositoryPolicy";const JA="replicationStatuses";const WA="registryScanningConfiguration";const zA="resourceTags";const $A="referenceUrls";const KA="repositoryUri";const XA="relatedVulnerabilities";const ZA="repository";const ec="reason";const tc="recommendation";const rc="referrers";const nc="region";const sc="release";const ic="remediation";const oc="repositories";const ac="resources";const Ac="rules";const cc="source";const lc="scanningConfigurations";const uc="scanningConfiguration";const dc="signingConfiguration";const hc="storageClass";const fc="scoreDetails";const gc="scanFrequency";const pc="subjectId";const mc="sourceLayerHash";const Ec="subjectManifestDigest";const Cc="scanOnPush";const yc="signingProfileArn";const Ic="scoreSource";const Bc="signingStatuses";const Qc="scanType";const bc="sourceUrl";const wc="scoringVector";const Sc="score";const Rc="severity";const vc="server";const kc="size";const Tc="smithy.ts.sdk.synthetic.com.amazonaws.ecr";const Nc="status";const Dc="summary";const xc="tags";const Fc="transitioningImageTotalCounts";const Pc="tagKeys";const Lc="tagStatus";const _c="targetStorageClass";const Mc="text";const Uc="title";const Oc="type";const Hc="uri";const Gc="updatedAt";const Vc="uploadId";const qc="upstreamRegistry";const Yc="upstreamRepositoryPrefix";const jc="upstreamRegistryUrl";const Jc="url";const Wc="value";const zc="vendorCreatedAt";const $c="vulnerabilityId";const Kc="vulnerablePackages";const Xc="vendorSeverity";const Zc="vulnerabilitySourceUpdatedAt";const el="vendorUpdatedAt";const tl="version";const rl="com.amazonaws.ecr";var nl=[3,rl,ge,0,[za,Wc],[0,0],1];var sl=[3,rl,pe,0,[xo,ea,QA],[0,4,0]];var il=[3,rl,Ee,0,[Qo,Ho,Ra,Oa,yA,IA,oA,Ya,PA,qA],[0,0,0,64|0,0,4,4,1,0,0]];var ol=[3,rl,Be,0,[qA,nA,GA],[0,64|0,0],2];var al=[3,rl,Qe,0,[Xa,ca],[()=>Qf,()=>Bf]];var Al=[3,rl,we,0,[qA,va,GA],[0,()=>gf,0],2];var cl=[3,rl,Se,0,[va,ca],[()=>gf,()=>ff]];var ll=[3,rl,ve,0,[qA,va,GA,vo],[0,()=>gf,0,64|0],2];var ul=[3,rl,ke,0,[ba,ca],[()=>pf,()=>ff]];var dl=[3,rl,Ne,0,[YA],[64|0],1];var hl=[3,rl,De,0,[lc,ca],[()=>xf,()=>Df]];var fl=[-3,rl,ye,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(fl,BlockedByOrganizationPolicyException);var gl=[3,rl,Fe,0,[qA,Vc,nA,GA],[0,0,64|0,0],3];var pl=[3,rl,Pe,0,[GA,qA,Vc,sA],[0,0,0,0]];var ml=[3,rl,_e,0,[ia,jc,GA,qc,qo,jo,Yc],[0,0,0,0,0,0,0],2];var El=[3,rl,Me,0,[ia,jc,Yo,GA,qc,qo,jo,Yc],[0,0,4,0,0,0,0,0]];var Cl=[3,rl,He,0,[xA,Ro,Wo,ra,zA,Ga,Va,jA,AA,jo],[0,64|0,0,()=>au,()=>Mf,0,()=>If,0,0,0],2];var yl=[3,rl,Ge,0,[GA,UA],[0,()=>ah]];var Il=[3,rl,Ve,0,[qA,GA,xc,Ga,Va,Fa,ra],[0,0,()=>Mf,0,()=>If,()=>Gu,()=>ou],1];var Bl=[3,rl,qe,0,[ZA],[()=>ih]];var Ql=[3,rl,Ye,0,[Go,wc,cc,tl],[1,0,0,0]];var bl=[3,rl,je,0,[mA,ec],[0,0]];var wl=[3,rl,We,0,[_o,Sc,Ic,wc,tl],[()=>lf,1,0,0,0]];var Sl=[3,rl,St,0,[qA,GA],[0,0],1];var Rl=[3,rl,Rt,0,[GA,qA,lA,iA],[0,0,0,4]];var vl=[3,rl,kt,0,[ia,GA],[0,0],1];var kl=[3,rl,Tt,0,[ia,jc,Yo,GA,qo,jo,Yc],[0,0,4,0,0,0,0]];var Tl=[3,rl,Yt,0,[],[]];var Nl=[3,rl,jt,0,[GA,kA],[0,0]];var Dl=[3,rl,Ut,0,[xA],[0],1];var xl=[3,rl,Ot,0,[GA,UA],[0,()=>ah]];var Fl=[3,rl,Jt,0,[qA,GA],[0,0],1];var Pl=[3,rl,Wt,0,[GA,qA,kA],[0,0,0]];var Ll=[3,rl,$t,0,[qA,GA,Ba],[0,0,2],1];var _l=[3,rl,Kt,0,[ZA],[()=>ih]];var Ml=[3,rl,ir,0,[],[]];var Ul=[3,rl,or,0,[GA,dc],[0,()=>Qh]];var Ol=[3,rl,Pt,0,[BA],[0],1];var Hl=[3,rl,Lt,0,[BA],[0]];var Gl=[3,rl,At,0,[qA,ka,GA],[0,()=>Pu,0],2];var Vl=[3,rl,mt,0,[qA,ka,JA],[0,()=>Pu,()=>Ef]];var ql=[3,rl,yt,0,[qA,ka,GA,CA,gA],[0,()=>Pu,0,0,1],2];var Yl=[3,rl,It,0,[GA,qA,ka,Ua,La,CA],[0,0,()=>Pu,()=>Vu,()=>Ou,0]];var jl=[3,rl,Ke,0,[Lc,xa],[0,0]];var Jl=[3,rl,Qt,0,[qA,ka,GA],[0,()=>Pu,0],2];var Wl=[3,rl,bt,0,[qA,ka,GA,Bc],[0,()=>Pu,0,()=>yf]];var zl=[3,rl,Xe,0,[qA,GA,va,CA,gA,ya],[0,0,()=>gf,0,1,()=>jl],1];var $l=[3,rl,Et,0,[wa,CA],[()=>hf,0]];var Kl=[3,rl,Nt,0,[GA,oa,CA,gA],[0,64|0,0,1]];var Xl=[3,rl,Dt,0,[TA,CA],[()=>wf,0]];var Zl=[3,rl,Xt,0,[],[]];var eu=[3,rl,Zt,0,[GA,MA],[0,()=>rh]];var tu=[3,rl,er,0,[GA,YA,CA,gA],[0,64|0,0,1]];var ru=[3,rl,tr,0,[oc,CA],[()=>Nf,0]];var nu=[3,rl,Ht,0,[FA,CA,gA],[64|0,0,1]];var su=[3,rl,Gt,0,[GA,OA,CA],[0,()=>kf,0]];var iu=[-3,rl,hr,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(iu,EmptyUploadException);var ou=[3,rl,Ar,0,[aa,Ka],[0,0],1];var au=[3,rl,cr,0,[aa,Ka],[0,0],1];var Au=[3,rl,lr,0,[bo,Wo,la,fa,aA,DA,ic,ac,Sc,fc,Rc,Nc,Uc,Oc,Gc,ua,ta],[0,0,0,4,4,()=>Sd,()=>th,()=>Ff,1,()=>Eh,0,0,0,0,4,0,0]];var cu=[-3,rl,ar,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(cu,ExclusionAlreadyExistsException);var lu=[-3,rl,dr,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(lu,ExclusionNotFoundException);var uu=[3,rl,gr,0,[EA],[0],1];var du=[3,rl,pr,0,[EA,Wc],[0,0]];var hu=[3,rl,Er,0,[VA],[64|0]];var fu=[3,rl,Cr,0,[wo],[()=>cf]];var gu=[3,rl,Ir,0,[qA,sA,GA],[0,0,0],2];var pu=[3,rl,Br,0,[zo,sA],[0,0]];var mu=[3,rl,wr,0,[qA,GA,va,CA,gA,ya],[0,0,()=>gf,0,1,()=>Ad],1];var Eu=[3,rl,Sr,0,[GA,qA,lA,Nc,CA,RA,Dc],[0,0,0,0,0,()=>bf,()=>dd]];var Cu=[3,rl,Rr,0,[qA,GA],[0,0],1];var yu=[3,rl,vr,0,[GA,qA,lA,iA],[0,0,0,4]];var Iu=[3,rl,Tr,0,[],[]];var Bu=[3,rl,Nr,0,[GA,kA],[0,0]];var Qu=[3,rl,Lr,0,[],[]];var bu=[3,rl,_r,0,[GA,uc],[0,()=>Zd]];var wu=[3,rl,Dr,0,[qA,GA],[0,0],1];var Su=[3,rl,xr,0,[GA,qA,kA],[0,0,0]];var Ru=[3,rl,Ur,0,[],[]];var vu=[3,rl,Or,0,[GA,dc],[0,()=>Qh]];var ku=[3,rl,Hr,0,[GA,qA,ka,Ta,Na],[0,0,()=>Pu,0,0]];var Tu=[-3,rl,Vr,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(Tu,ImageAlreadyExistsException);var Nu=[-3,rl,Gr,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(Nu,ImageArchivedException);var Du=[3,rl,qr,0,[GA,qA,Sa,Oa,Ma,Da,Ua,_a,Na,ko,uA,Ec,xa,eA,tA],[0,0,0,64|0,1,4,()=>Vu,()=>Hu,0,0,4,0,0,4,4]];var xu=[-3,rl,Yr,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(xu,ImageDigestDoesNotMatchException);var Fu=[3,rl,Jr,0,[ka,da,pa],[()=>Pu,0,0]];var Pu=[3,rl,zr,0,[Sa,qa],[0,0]];var Lu=[-3,rl,nn,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(Lu,ImageNotFoundException);var _u=[3,rl,an,0,[Xo,pA,kc,Fo,Mo,No],[0,0,1,0,128|0,0],3];var Mu=[3,rl,cn,0,[nc,GA,Nc,da],[0,0,0,0]];var Uu=[3,rl,hn,0,[EA,Wo,Hc,Rc,Oo],[0,0,0,0,()=>Af]];var Ou=[3,rl,mn,0,[Pa,Zc,ma,Ia,na],[4,4,128|1,()=>Cf,()=>df]];var Hu=[3,rl,pn,0,[Pa,Zc,ma],[4,4,128|1]];var Gu=[3,rl,un,0,[Cc],[2]];var Vu=[3,rl,En,0,[Nc,Wo],[0,0]];var qu=[3,rl,yn,0,[yc,da,pa,Nc],[0,0,0,0]];var Yu=[-3,rl,dn,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(Yu,ImageStorageClassUpdateNotSupportedException);var ju=[-3,rl,In,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(ju,ImageTagAlreadyExistsException);var Ju=[3,rl,Bn,0,[Ea,ya],[0,0],2];var Wu=[3,rl,tn,0,[qA,GA],[0,0],1];var zu=[3,rl,rn,0,[Vc,vA],[0,1]];var $u=[-3,rl,Xr,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError($u,InvalidLayerException);var Ku=[-3,rl,Zr,{[Zo]:Vo},[GA,qA,Vc,hA,fA],[0,0,0,1,0]];se.TypeRegistry.for(rl).registerError(Ku,InvalidLayerPartException);var Xu=[-3,rl,sn,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(Xu,InvalidParameterException);var Zu=[-3,rl,bn,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(Zu,InvalidTagParameterException);var ed=[-3,rl,Sn,{[Zo]:Vo},[fA,$a],[0,0]];se.TypeRegistry.for(rl).registerError(ed,KmsException);var td=[3,rl,Rn,0,[sA,Za,dA,pA],[0,0,1,0]];var rd=[-3,rl,vn,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(rd,LayerAlreadyExistsException);var nd=[3,rl,Tn,0,[sA,da,pa],[0,0,0]];var sd=[-3,rl,xn,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(sd,LayerInaccessibleException);var id=[-3,rl,Kn,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(id,LayerPartTooSmallException);var od=[-3,rl,Gn,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(od,LayersNotFoundException);var ad=[-3,rl,Vn,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(ad,LifecyclePolicyNotFoundException);var Ad=[3,rl,qn,0,[Lc],[0]];var cd=[-3,rl,Yn,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(cd,LifecyclePolicyPreviewInProgressException);var ld=[-3,rl,jn,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(ld,LifecyclePolicyPreviewNotFoundException);var ud=[3,rl,Jn,0,[Oa,Sa,Da,Lo,To,hc],[64|0,0,4,()=>hd,1,0]];var dd=[3,rl,zn,0,[sa,Fc],[1,()=>Uf]];var hd=[3,rl,$n,0,[Oc,_c],[0,0]];var fd=[-3,rl,kn,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(fd,LimitExceededException);var gd=[3,rl,Ln,0,[Po,No],[64|0,0]];var md=[3,rl,_n,0,[qA,pc,GA,ya,CA,gA],[0,()=>Nh,0,()=>gd,0,1],2];var Ed=[3,rl,Mn,0,[rc,CA],[()=>mf,0]];var Cd=[3,rl,Fn,0,[Lc,xa],[0,0]];var yd=[3,rl,Pn,0,[qA,GA,CA,gA,ya],[0,0,0,1,()=>Cd],1];var Id=[3,rl,Un,0,[va,CA],[()=>gf,0]];var Bd=[3,rl,Zn,0,[gA,CA],[1,0]];var Qd=[3,rl,es,0,[NA,CA],[64|0,0]];var bd=[3,rl,rs,0,[LA],[0],1];var wd=[3,rl,ns,0,[xc],[()=>Mf]];var Sd=[3,rl,Ls,0,[Jo,$A,XA,cc,bc,zc,Xc,el,$c,Kc],[()=>uf,64|0,64|0,0,0,4,0,4,0,()=>Of]];var Rd=[3,rl,Ds,0,[ia,jc,Yo,GA,qo,jo,Yc,qc,Gc],[0,0,4,0,0,0,0,0,4]];var vd=[-3,rl,xs,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(vd,PullThroughCacheRuleAlreadyExistsException);var kd=[-3,rl,Ps,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(kd,PullThroughCacheRuleNotFoundException);var Td=[3,rl,os,0,[EA,Wc],[0,0],2];var Nd=[3,rl,as,0,[EA,Wc],[0,0]];var Dd=[3,rl,cs,0,[qA,Ta,GA,Na,qa,Sa],[0,0,0,0,0,0],2];var xd=[3,rl,ls,0,[Wa],[()=>ku]];var Fd=[3,rl,ds,0,[qA,Fa,GA],[0,()=>Gu,0],2];var Pd=[3,rl,hs,0,[GA,qA,Fa],[0,0,()=>Gu]];var Ld=[3,rl,gs,0,[qA,Ga,GA,Va],[0,0,0,()=>If],2];var _d=[3,rl,ps,0,[GA,qA,Ga,Va],[0,0,0,()=>If]];var Md=[3,rl,Es,0,[qA,lA,GA],[0,0,0],2];var Ud=[3,rl,Cs,0,[GA,qA,lA],[0,0,0]];var Od=[3,rl,bs,0,[kA],[0],1];var Hd=[3,rl,ws,0,[GA,kA],[0,0]];var Gd=[3,rl,Rs,0,[Qc,Ac],[0,()=>Sf]];var Vd=[3,rl,vs,0,[WA],[()=>Zd]];var qd=[3,rl,Is,0,[MA],[()=>rh],1];var Yd=[3,rl,Bs,0,[MA],[()=>rh]];var jd=[3,rl,Ts,0,[dc],[()=>Qh],1];var Jd=[3,rl,Ns,0,[dc],[()=>Qh]];var Wd=[3,rl,_s,0,[Jc,Mc],[0,0]];var zd=[-3,rl,Js,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(zd,ReferencedImagesNotFoundException);var $d=[3,rl,ti,0,[BA],[0],1];var Kd=[3,rl,ri,0,[BA,Yo],[0,4]];var Xd=[-3,rl,Xs,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(Xd,RegistryPolicyNotFoundException);var Zd=[3,rl,ii,0,[Qc,Ac],[0,()=>Sf]];var eh=[3,rl,li,0,[gc,HA],[0,()=>Pf],2];var th=[3,rl,di,0,[tc],[()=>Wd]];var rh=[3,rl,Us,0,[Ac],[()=>vf],1];var nh=[3,rl,Gs,0,[nc,GA],[0,0],2];var sh=[3,rl,ni,0,[$o,HA],[()=>Rf,()=>Tf],1];var ih=[3,rl,hi,0,[_A,GA,qA,KA,Yo,Ga,Va,Fa,ra],[0,0,0,0,4,0,()=>If,()=>Gu,()=>ou]];var oh=[-3,rl,Ms,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(oh,RepositoryAlreadyExistsException);var ah=[3,rl,Os,0,[xA,Wo,ra,zA,Ga,Va,jA,AA,Ro,jo,Yo,Gc],[0,0,()=>au,()=>Mf,0,()=>If,0,0,64|0,0,4,4]];var Ah=[3,rl,Ys,0,[ya,Ea],[0,0],2];var ch=[-3,rl,$s,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(ch,RepositoryNotEmptyException);var lh=[-3,rl,Ks,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(lh,RepositoryNotFoundException);var uh=[-3,rl,Zs,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(uh,RepositoryPolicyNotFoundException);var dh=[3,rl,ci,0,[_A,qA,Cc,gc,Do],[0,0,2,0,()=>Pf]];var hh=[3,rl,oi,0,[qA,da,pa],[0,0,0]];var fh=[3,rl,fi,0,[Ko,Ja,xc,Oc],[()=>gh,0,128|0,0]];var gh=[3,rl,qs,0,[So],[()=>il]];var ph=[3,rl,ki,0,[ya,Ea],[0,0],2];var mh=[-3,rl,Si,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(mh,ScanNotFoundException);var Eh=[3,rl,mi,0,[Jo],[()=>wl]];var Ch=[-3,rl,Ri,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(Ch,SecretNotFoundException);var yh=[-3,rl,Ei,{[Zo]:vc},[fA],[0]];se.TypeRegistry.for(rl).registerError(yh,ServerException);var Ih=[3,rl,Pi,0,[qA,kA,GA,Ba],[0,0,0,2],2];var Bh=[3,rl,Li,0,[GA,qA,kA],[0,0,0]];var Qh=[3,rl,gi,0,[Ac],[()=>_f],1];var bh=[-3,rl,pi,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(bh,SigningConfigurationNotFoundException);var wh=[3,rl,Di,0,[ya,Ea],[0,0],2];var Sh=[3,rl,vi,0,[yc,HA],[0,()=>Lf],1];var Rh=[3,rl,Ii,0,[qA,ka,GA],[0,()=>Pu,0],2];var vh=[3,rl,Bi,0,[GA,qA,ka,Ua],[0,0,()=>Pu,()=>Vu]];var kh=[3,rl,bi,0,[qA,GA,lA],[0,0,0],1];var Th=[3,rl,wi,0,[GA,qA,lA,Nc],[0,0,0,0]];var Nh=[3,rl,Ci,0,[Sa],[0],1];var Dh=[3,rl,_i,0,[wn,po],[0,0],2];var xh=[3,rl,Yi,0,[LA,xc],[0,()=>Mf],2];var Fh=[3,rl,ji,0,[],[]];var Ph=[-3,rl,Mi,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(Ph,TemplateAlreadyExistsException);var Lh=[-3,rl,Vi,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(Lh,TemplateNotFoundException);var _h=[-3,rl,Gi,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(_h,TooManyTagsException);var Mh=[3,rl,Ui,0,[_c,Ha],[0,1]];var Uh=[-3,rl,lo,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(Uh,UnableToAccessSecretException);var Oh=[-3,rl,uo,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(Oh,UnableToDecryptSecretValueException);var Hh=[-3,rl,ho,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(Hh,UnableToGetUpstreamImageException);var Gh=[-3,rl,fo,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(Gh,UnableToGetUpstreamLayerException);var Vh=[-3,rl,$i,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(Vh,UnsupportedImageTypeException);var qh=[-3,rl,go,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(qh,UnsupportedUpstreamRegistryException);var Yh=[3,rl,Ao,0,[LA,Pc],[0,64|0],2];var jh=[3,rl,co,0,[],[]];var Jh=[3,rl,Wi,0,[qA,ka,_c,GA],[0,()=>Pu,0,0],3];var Wh=[3,rl,zi,0,[GA,qA,ka,xa],[0,0,()=>Pu,0]];var zh=[3,rl,ro,0,[ia,GA,qo,jo],[0,0,0,0],1];var $h=[3,rl,no,0,[ia,GA,Gc,qo,jo,Yc],[0,0,4,0,0,0]];var Kh=[3,rl,oo,0,[xA,Wo,ra,zA,Ga,Va,jA,AA,Ro,jo],[0,0,()=>au,()=>Mf,0,()=>If,0,0,64|0,0],1];var Xh=[3,rl,ao,0,[GA,UA],[0,()=>ah]];var Zh=[3,rl,Xi,0,[qA,Vc,bA,wA,cA,GA],[0,0,1,1,21,0],5];var ef=[3,rl,Zi,0,[GA,qA,Vc,rA],[0,0,0,1]];var tf=[-3,rl,eo,{[Zo]:Vo},[fA],[0]];se.TypeRegistry.for(rl).registerError(tf,UploadNotFoundException);var rf=[3,rl,Io,0,[ia,GA],[0,0],1];var nf=[3,rl,Bo,0,[ia,GA,jc,qo,jo,Yc,ja,Ca],[0,0,0,0,0,0,2,0]];var sf=[-3,rl,mo,{[Zo]:Vo,[Qa]:400},[fA],[0]];se.TypeRegistry.for(rl).registerError(sf,ValidationException);var of=[3,rl,Eo,0,[Uo,Aa,ga,EA,SA,sc,mc,tl,ha],[0,1,0,0,0,0,0,0,0]];var af=[-3,Tc,"ECRServiceException",0,[],[]];se.TypeRegistry.for(Tc).registerError(af,ECRServiceException);var Af=[1,rl,Ce,0,()=>nl];var cf=[1,rl,me,0,()=>sl];var lf=[1,rl,Je,0,()=>bl];var uf=[1,rl,ze,0,()=>Ql];var df=[1,rl,ur,0,()=>Au];var hf=[1,rl,jr,0,()=>Du];var ff=[1,rl,Wr,0,()=>Fu];var gf=[1,rl,$r,0,()=>Pu];var pf=[1,rl,Kr,0,()=>ku];var mf=[1,rl,An,0,()=>_u];var Ef=[1,rl,ln,0,()=>Mu];var Cf=[1,rl,gn,0,()=>Uu];var yf=[1,rl,Cn,0,()=>qu];var If=[1,rl,Qn,0,()=>Ju];var Bf=[1,rl,Nn,0,()=>nd];var Qf=[1,rl,Hn,0,()=>td];var bf=[1,rl,Wn,0,()=>ud];var wf=[1,rl,Fs,0,()=>Rd];var Sf=[1,rl,ui,0,()=>eh];var Rf=[1,rl,Vs,0,()=>nh];var vf=[1,rl,si,0,()=>sh];var kf=[1,rl,Hs,0,()=>ah];var Tf=[1,rl,js,0,()=>Ah];var Nf=[1,rl,Ws,0,()=>ih];var Df=[1,rl,ai,0,()=>hh];var xf=[1,rl,Ai,0,()=>dh];var Ff=[1,rl,zs,0,()=>fh];var Pf=[1,rl,Ti,0,()=>ph];var Lf=[1,rl,Ni,0,()=>wh];var _f=[1,rl,xi,0,()=>Sh];var Mf=[1,rl,Hi,0,()=>Dh];var Uf=[1,rl,Oi,0,()=>Mh];var Of=[1,rl,Co,0,()=>of];var Hf=[9,rl,Ie,0,()=>ol,()=>al];var Gf=[9,rl,be,0,()=>Al,()=>cl];var Vf=[9,rl,Re,0,()=>ll,()=>ul];var qf=[9,rl,Te,0,()=>dl,()=>hl];var Yf=[9,rl,xe,0,()=>gl,()=>pl];var jf=[9,rl,Le,0,()=>ml,()=>El];var Jf=[9,rl,Ue,0,()=>Il,()=>Bl];var Wf=[9,rl,Oe,0,()=>Cl,()=>yl];var zf=[9,rl,wt,0,()=>Sl,()=>Rl];var $f=[9,rl,vt,0,()=>vl,()=>kl];var Kf=[9,rl,qt,0,()=>Tl,()=>Nl];var Xf=[9,rl,_t,0,()=>Ll,()=>_l];var Zf=[9,rl,Mt,0,()=>Dl,()=>xl];var eg=[9,rl,zt,0,()=>Fl,()=>Pl];var tg=[9,rl,sr,0,()=>Ml,()=>Ul];var rg=[9,rl,Ft,0,()=>Ol,()=>Hl];var ng=[9,rl,Ze,0,()=>Gl,()=>Vl];var sg=[9,rl,$e,0,()=>zl,()=>$l];var ig=[9,rl,Ct,0,()=>ql,()=>Yl];var og=[9,rl,Bt,0,()=>Jl,()=>Wl];var ag=[9,rl,xt,0,()=>Kl,()=>Xl];var Ag=[9,rl,rr,0,()=>Zl,()=>eu];var cg=[9,rl,nr,0,()=>tu,()=>ru];var lg=[9,rl,Vt,0,()=>nu,()=>su];var ug=[9,rl,fr,0,()=>uu,()=>du];var dg=[9,rl,mr,0,()=>hu,()=>fu];var hg=[9,rl,yr,0,()=>gu,()=>pu];var fg=[9,rl,Qr,0,()=>Cu,()=>yu];var gg=[9,rl,br,0,()=>mu,()=>Eu];var pg=[9,rl,kr,0,()=>Iu,()=>Bu];var mg=[9,rl,Pr,0,()=>Qu,()=>bu];var Eg=[9,rl,Fr,0,()=>wu,()=>Su];var Cg=[9,rl,Mr,0,()=>Ru,()=>vu];var yg=[9,rl,en,0,()=>Wu,()=>zu];var Ig=[9,rl,On,0,()=>md,()=>Ed];var Bg=[9,rl,Dn,0,()=>yd,()=>Id];var Qg=[9,rl,Xn,0,()=>Bd,()=>Qd];var bg=[9,rl,ts,0,()=>bd,()=>wd];var wg=[9,rl,ss,0,()=>Td,()=>Nd];var Sg=[9,rl,As,0,()=>Dd,()=>xd];var Rg=[9,rl,us,0,()=>Fd,()=>Pd];var vg=[9,rl,fs,0,()=>Ld,()=>_d];var kg=[9,rl,ms,0,()=>Md,()=>Ud];var Tg=[9,rl,Qs,0,()=>Od,()=>Hd];var Ng=[9,rl,Ss,0,()=>Gd,()=>Vd];var Dg=[9,rl,ys,0,()=>qd,()=>Yd];var xg=[9,rl,ks,0,()=>jd,()=>Jd];var Fg=[9,rl,ei,0,()=>$d,()=>Kd];var Pg=[9,rl,Fi,0,()=>Ih,()=>Bh];var Lg=[9,rl,yi,0,()=>Rh,()=>vh];var _g=[9,rl,Qi,0,()=>kh,()=>Th];var Mg=[9,rl,qi,0,()=>xh,()=>Fh];var Ug=[9,rl,so,0,()=>Yh,()=>jh];var Og=[9,rl,Ji,0,()=>Jh,()=>Wh];var Hg=[9,rl,to,0,()=>zh,()=>$h];var Gg=[9,rl,io,0,()=>Kh,()=>Xh];var Vg=[9,rl,Ki,0,()=>Zh,()=>ef];var qg=[9,rl,yo,0,()=>rf,()=>nf];class BatchCheckLayerAvailabilityCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","BatchCheckLayerAvailability",{}).n("ECRClient","BatchCheckLayerAvailabilityCommand").sc(Hf).build()){}class BatchDeleteImageCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","BatchDeleteImage",{}).n("ECRClient","BatchDeleteImageCommand").sc(Gf).build()){}class BatchGetImageCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","BatchGetImage",{}).n("ECRClient","BatchGetImageCommand").sc(Vf).build()){}class BatchGetRepositoryScanningConfigurationCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","BatchGetRepositoryScanningConfiguration",{}).n("ECRClient","BatchGetRepositoryScanningConfigurationCommand").sc(qf).build()){}class CompleteLayerUploadCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","CompleteLayerUpload",{}).n("ECRClient","CompleteLayerUploadCommand").sc(Yf).build()){}class CreatePullThroughCacheRuleCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","CreatePullThroughCacheRule",{}).n("ECRClient","CreatePullThroughCacheRuleCommand").sc(jf).build()){}class CreateRepositoryCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","CreateRepository",{}).n("ECRClient","CreateRepositoryCommand").sc(Jf).build()){}class CreateRepositoryCreationTemplateCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","CreateRepositoryCreationTemplate",{}).n("ECRClient","CreateRepositoryCreationTemplateCommand").sc(Wf).build()){}class DeleteLifecyclePolicyCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","DeleteLifecyclePolicy",{}).n("ECRClient","DeleteLifecyclePolicyCommand").sc(zf).build()){}class DeletePullThroughCacheRuleCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","DeletePullThroughCacheRule",{}).n("ECRClient","DeletePullThroughCacheRuleCommand").sc($f).build()){}class DeleteRegistryPolicyCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","DeleteRegistryPolicy",{}).n("ECRClient","DeleteRegistryPolicyCommand").sc(Kf).build()){}class DeleteRepositoryCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","DeleteRepository",{}).n("ECRClient","DeleteRepositoryCommand").sc(Xf).build()){}class DeleteRepositoryCreationTemplateCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","DeleteRepositoryCreationTemplate",{}).n("ECRClient","DeleteRepositoryCreationTemplateCommand").sc(Zf).build()){}class DeleteRepositoryPolicyCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","DeleteRepositoryPolicy",{}).n("ECRClient","DeleteRepositoryPolicyCommand").sc(eg).build()){}class DeleteSigningConfigurationCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","DeleteSigningConfiguration",{}).n("ECRClient","DeleteSigningConfigurationCommand").sc(tg).build()){}class DeregisterPullTimeUpdateExclusionCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","DeregisterPullTimeUpdateExclusion",{}).n("ECRClient","DeregisterPullTimeUpdateExclusionCommand").sc(rg).build()){}class DescribeImageReplicationStatusCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","DescribeImageReplicationStatus",{}).n("ECRClient","DescribeImageReplicationStatusCommand").sc(ng).build()){}class DescribeImageScanFindingsCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","DescribeImageScanFindings",{}).n("ECRClient","DescribeImageScanFindingsCommand").sc(ig).build()){}class DescribeImagesCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","DescribeImages",{}).n("ECRClient","DescribeImagesCommand").sc(sg).build()){}class DescribeImageSigningStatusCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","DescribeImageSigningStatus",{}).n("ECRClient","DescribeImageSigningStatusCommand").sc(og).build()){}class DescribePullThroughCacheRulesCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","DescribePullThroughCacheRules",{}).n("ECRClient","DescribePullThroughCacheRulesCommand").sc(ag).build()){}class DescribeRegistryCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","DescribeRegistry",{}).n("ECRClient","DescribeRegistryCommand").sc(Ag).build()){}class DescribeRepositoriesCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","DescribeRepositories",{}).n("ECRClient","DescribeRepositoriesCommand").sc(cg).build()){}class DescribeRepositoryCreationTemplatesCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","DescribeRepositoryCreationTemplates",{}).n("ECRClient","DescribeRepositoryCreationTemplatesCommand").sc(lg).build()){}class GetAccountSettingCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","GetAccountSetting",{}).n("ECRClient","GetAccountSettingCommand").sc(ug).build()){}class GetAuthorizationTokenCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","GetAuthorizationToken",{}).n("ECRClient","GetAuthorizationTokenCommand").sc(dg).build()){}class GetDownloadUrlForLayerCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","GetDownloadUrlForLayer",{}).n("ECRClient","GetDownloadUrlForLayerCommand").sc(hg).build()){}class GetLifecyclePolicyCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","GetLifecyclePolicy",{}).n("ECRClient","GetLifecyclePolicyCommand").sc(fg).build()){}class GetLifecyclePolicyPreviewCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","GetLifecyclePolicyPreview",{}).n("ECRClient","GetLifecyclePolicyPreviewCommand").sc(gg).build()){}class GetRegistryPolicyCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","GetRegistryPolicy",{}).n("ECRClient","GetRegistryPolicyCommand").sc(pg).build()){}class GetRegistryScanningConfigurationCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","GetRegistryScanningConfiguration",{}).n("ECRClient","GetRegistryScanningConfigurationCommand").sc(mg).build()){}class GetRepositoryPolicyCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","GetRepositoryPolicy",{}).n("ECRClient","GetRepositoryPolicyCommand").sc(Eg).build()){}class GetSigningConfigurationCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","GetSigningConfiguration",{}).n("ECRClient","GetSigningConfigurationCommand").sc(Cg).build()){}class InitiateLayerUploadCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","InitiateLayerUpload",{}).n("ECRClient","InitiateLayerUploadCommand").sc(yg).build()){}class ListImageReferrersCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","ListImageReferrers",{}).n("ECRClient","ListImageReferrersCommand").sc(Ig).build()){}class ListImagesCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","ListImages",{}).n("ECRClient","ListImagesCommand").sc(Bg).build()){}class ListPullTimeUpdateExclusionsCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","ListPullTimeUpdateExclusions",{}).n("ECRClient","ListPullTimeUpdateExclusionsCommand").sc(Qg).build()){}class ListTagsForResourceCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","ListTagsForResource",{}).n("ECRClient","ListTagsForResourceCommand").sc(bg).build()){}class PutAccountSettingCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","PutAccountSetting",{}).n("ECRClient","PutAccountSettingCommand").sc(wg).build()){}class PutImageCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","PutImage",{}).n("ECRClient","PutImageCommand").sc(Sg).build()){}class PutImageScanningConfigurationCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","PutImageScanningConfiguration",{}).n("ECRClient","PutImageScanningConfigurationCommand").sc(Rg).build()){}class PutImageTagMutabilityCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","PutImageTagMutability",{}).n("ECRClient","PutImageTagMutabilityCommand").sc(vg).build()){}class PutLifecyclePolicyCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","PutLifecyclePolicy",{}).n("ECRClient","PutLifecyclePolicyCommand").sc(kg).build()){}class PutRegistryPolicyCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","PutRegistryPolicy",{}).n("ECRClient","PutRegistryPolicyCommand").sc(Tg).build()){}class PutRegistryScanningConfigurationCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","PutRegistryScanningConfiguration",{}).n("ECRClient","PutRegistryScanningConfigurationCommand").sc(Ng).build()){}class PutReplicationConfigurationCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","PutReplicationConfiguration",{}).n("ECRClient","PutReplicationConfigurationCommand").sc(Dg).build()){}class PutSigningConfigurationCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","PutSigningConfiguration",{}).n("ECRClient","PutSigningConfigurationCommand").sc(xg).build()){}class RegisterPullTimeUpdateExclusionCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","RegisterPullTimeUpdateExclusion",{}).n("ECRClient","RegisterPullTimeUpdateExclusionCommand").sc(Fg).build()){}class SetRepositoryPolicyCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","SetRepositoryPolicy",{}).n("ECRClient","SetRepositoryPolicyCommand").sc(Pg).build()){}class StartImageScanCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","StartImageScan",{}).n("ECRClient","StartImageScanCommand").sc(Lg).build()){}class StartLifecyclePolicyPreviewCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","StartLifecyclePolicyPreview",{}).n("ECRClient","StartLifecyclePolicyPreviewCommand").sc(_g).build()){}class TagResourceCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","TagResource",{}).n("ECRClient","TagResourceCommand").sc(Mg).build()){}class UntagResourceCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","UntagResource",{}).n("ECRClient","UntagResourceCommand").sc(Ug).build()){}class UpdateImageStorageClassCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","UpdateImageStorageClass",{}).n("ECRClient","UpdateImageStorageClassCommand").sc(Og).build()){}class UpdatePullThroughCacheRuleCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","UpdatePullThroughCacheRule",{}).n("ECRClient","UpdatePullThroughCacheRuleCommand").sc(Hg).build()){}class UpdateRepositoryCreationTemplateCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","UpdateRepositoryCreationTemplate",{}).n("ECRClient","UpdateRepositoryCreationTemplateCommand").sc(Gg).build()){}class UploadLayerPartCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","UploadLayerPart",{}).n("ECRClient","UploadLayerPartCommand").sc(Vg).build()){}class ValidatePullThroughCacheRuleCommand extends(Ae.Command.classBuilder().ep(fe).m((function(i,d,p,v){return[oe.getEndpointPlugin(p,i.getEndpointParameterInstructions())]})).s("AmazonEC2ContainerRegistry_V20150921","ValidatePullThroughCacheRule",{}).n("ECRClient","ValidatePullThroughCacheRuleCommand").sc(qg).build()){}const Yg=ne.createPaginator(ECRClient,DescribeImageScanFindingsCommand,"nextToken","nextToken","maxResults");const jg=ne.createPaginator(ECRClient,DescribeImagesCommand,"nextToken","nextToken","maxResults");const Jg=ne.createPaginator(ECRClient,DescribePullThroughCacheRulesCommand,"nextToken","nextToken","maxResults");const Wg=ne.createPaginator(ECRClient,DescribeRepositoriesCommand,"nextToken","nextToken","maxResults");const zg=ne.createPaginator(ECRClient,DescribeRepositoryCreationTemplatesCommand,"nextToken","nextToken","maxResults");const $g=ne.createPaginator(ECRClient,GetLifecyclePolicyPreviewCommand,"nextToken","nextToken","maxResults");const Kg=ne.createPaginator(ECRClient,ListImagesCommand,"nextToken","nextToken","maxResults");const checkState$1=async(i,d)=>{let p;try{let v=await i.send(new DescribeImageScanFindingsCommand(d));p=v;try{const returnComparator=()=>v.imageScanStatus.status;if(returnComparator()==="COMPLETE"){return{state:he.WaiterState.SUCCESS,reason:p}}}catch(i){}try{const returnComparator=()=>v.imageScanStatus.status;if(returnComparator()==="FAILED"){return{state:he.WaiterState.FAILURE,reason:p}}}catch(i){}}catch(i){p=i}return{state:he.WaiterState.RETRY,reason:p}};const waitForImageScanComplete=async(i,d)=>{const p={minDelay:5,maxDelay:120};return he.createWaiter({...p,...i},d,checkState$1)};const waitUntilImageScanComplete=async(i,d)=>{const p={minDelay:5,maxDelay:120};const v=await he.createWaiter({...p,...i},d,checkState$1);return he.checkExceptions(v)};const checkState=async(i,d)=>{let p;try{let v=await i.send(new GetLifecyclePolicyPreviewCommand(d));p=v;try{const returnComparator=()=>v.status;if(returnComparator()==="COMPLETE"){return{state:he.WaiterState.SUCCESS,reason:p}}}catch(i){}try{const returnComparator=()=>v.status;if(returnComparator()==="FAILED"){return{state:he.WaiterState.FAILURE,reason:p}}}catch(i){}}catch(i){p=i}return{state:he.WaiterState.RETRY,reason:p}};const waitForLifecyclePolicyPreviewComplete=async(i,d)=>{const p={minDelay:5,maxDelay:120};return he.createWaiter({...p,...i},d,checkState)};const waitUntilLifecyclePolicyPreviewComplete=async(i,d)=>{const p={minDelay:5,maxDelay:120};const v=await he.createWaiter({...p,...i},d,checkState);return he.checkExceptions(v)};const Xg={BatchCheckLayerAvailabilityCommand:BatchCheckLayerAvailabilityCommand,BatchDeleteImageCommand:BatchDeleteImageCommand,BatchGetImageCommand:BatchGetImageCommand,BatchGetRepositoryScanningConfigurationCommand:BatchGetRepositoryScanningConfigurationCommand,CompleteLayerUploadCommand:CompleteLayerUploadCommand,CreatePullThroughCacheRuleCommand:CreatePullThroughCacheRuleCommand,CreateRepositoryCommand:CreateRepositoryCommand,CreateRepositoryCreationTemplateCommand:CreateRepositoryCreationTemplateCommand,DeleteLifecyclePolicyCommand:DeleteLifecyclePolicyCommand,DeletePullThroughCacheRuleCommand:DeletePullThroughCacheRuleCommand,DeleteRegistryPolicyCommand:DeleteRegistryPolicyCommand,DeleteRepositoryCommand:DeleteRepositoryCommand,DeleteRepositoryCreationTemplateCommand:DeleteRepositoryCreationTemplateCommand,DeleteRepositoryPolicyCommand:DeleteRepositoryPolicyCommand,DeleteSigningConfigurationCommand:DeleteSigningConfigurationCommand,DeregisterPullTimeUpdateExclusionCommand:DeregisterPullTimeUpdateExclusionCommand,DescribeImageReplicationStatusCommand:DescribeImageReplicationStatusCommand,DescribeImagesCommand:DescribeImagesCommand,DescribeImageScanFindingsCommand:DescribeImageScanFindingsCommand,DescribeImageSigningStatusCommand:DescribeImageSigningStatusCommand,DescribePullThroughCacheRulesCommand:DescribePullThroughCacheRulesCommand,DescribeRegistryCommand:DescribeRegistryCommand,DescribeRepositoriesCommand:DescribeRepositoriesCommand,DescribeRepositoryCreationTemplatesCommand:DescribeRepositoryCreationTemplatesCommand,GetAccountSettingCommand:GetAccountSettingCommand,GetAuthorizationTokenCommand:GetAuthorizationTokenCommand,GetDownloadUrlForLayerCommand:GetDownloadUrlForLayerCommand,GetLifecyclePolicyCommand:GetLifecyclePolicyCommand,GetLifecyclePolicyPreviewCommand:GetLifecyclePolicyPreviewCommand,GetRegistryPolicyCommand:GetRegistryPolicyCommand,GetRegistryScanningConfigurationCommand:GetRegistryScanningConfigurationCommand,GetRepositoryPolicyCommand:GetRepositoryPolicyCommand,GetSigningConfigurationCommand:GetSigningConfigurationCommand,InitiateLayerUploadCommand:InitiateLayerUploadCommand,ListImageReferrersCommand:ListImageReferrersCommand,ListImagesCommand:ListImagesCommand,ListPullTimeUpdateExclusionsCommand:ListPullTimeUpdateExclusionsCommand,ListTagsForResourceCommand:ListTagsForResourceCommand,PutAccountSettingCommand:PutAccountSettingCommand,PutImageCommand:PutImageCommand,PutImageScanningConfigurationCommand:PutImageScanningConfigurationCommand,PutImageTagMutabilityCommand:PutImageTagMutabilityCommand,PutLifecyclePolicyCommand:PutLifecyclePolicyCommand,PutRegistryPolicyCommand:PutRegistryPolicyCommand,PutRegistryScanningConfigurationCommand:PutRegistryScanningConfigurationCommand,PutReplicationConfigurationCommand:PutReplicationConfigurationCommand,PutSigningConfigurationCommand:PutSigningConfigurationCommand,RegisterPullTimeUpdateExclusionCommand:RegisterPullTimeUpdateExclusionCommand,SetRepositoryPolicyCommand:SetRepositoryPolicyCommand,StartImageScanCommand:StartImageScanCommand,StartLifecyclePolicyPreviewCommand:StartLifecyclePolicyPreviewCommand,TagResourceCommand:TagResourceCommand,UntagResourceCommand:UntagResourceCommand,UpdateImageStorageClassCommand:UpdateImageStorageClassCommand,UpdatePullThroughCacheRuleCommand:UpdatePullThroughCacheRuleCommand,UpdateRepositoryCreationTemplateCommand:UpdateRepositoryCreationTemplateCommand,UploadLayerPartCommand:UploadLayerPartCommand,ValidatePullThroughCacheRuleCommand:ValidatePullThroughCacheRuleCommand};const Zg={paginateDescribeImages:jg,paginateDescribeImageScanFindings:Yg,paginateDescribePullThroughCacheRules:Jg,paginateDescribeRepositories:Wg,paginateDescribeRepositoryCreationTemplates:zg,paginateGetLifecyclePolicyPreview:$g,paginateListImages:Kg};const ep={waitUntilImageScanComplete:waitUntilImageScanComplete,waitUntilLifecyclePolicyPreviewComplete:waitUntilLifecyclePolicyPreviewComplete};class ECR extends ECRClient{}Ae.createAggregatedClient(Xg,ECR,{paginators:Zg,waiters:ep});const tp={InvalidLayerDigest:"InvalidLayerDigest",MissingLayerDigest:"MissingLayerDigest"};const rp={ARCHIVED:"ARCHIVED",AVAILABLE:"AVAILABLE",UNAVAILABLE:"UNAVAILABLE"};const np={ImageInaccessible:"ImageInaccessible",ImageNotFound:"ImageNotFound",ImageReferencedByManifestList:"ImageReferencedByManifestList",ImageTagDoesNotMatchDigest:"ImageTagDoesNotMatchDigest",InvalidImageDigest:"InvalidImageDigest",InvalidImageTag:"InvalidImageTag",KmsError:"KmsError",MissingDigestAndTag:"MissingDigestAndTag",UpstreamAccessDenied:"UpstreamAccessDenied",UpstreamTooManyRequests:"UpstreamTooManyRequests",UpstreamUnavailable:"UpstreamUnavailable"};const sp={REPOSITORY_NOT_FOUND:"REPOSITORY_NOT_FOUND"};const ip={WILDCARD:"WILDCARD"};const ap={CONTINUOUS_SCAN:"CONTINUOUS_SCAN",MANUAL:"MANUAL",SCAN_ON_PUSH:"SCAN_ON_PUSH"};const Ap={AzureContainerRegistry:"azure-container-registry",DockerHub:"docker-hub",Ecr:"ecr",EcrPublic:"ecr-public",GitHubContainerRegistry:"github-container-registry",GitLabContainerRegistry:"gitlab-container-registry",K8s:"k8s",Quay:"quay"};const lp={AES256:"AES256",KMS:"KMS",KMS_DSSE:"KMS_DSSE"};const up={IMMUTABLE:"IMMUTABLE",IMMUTABLE_WITH_EXCLUSION:"IMMUTABLE_WITH_EXCLUSION",MUTABLE:"MUTABLE",MUTABLE_WITH_EXCLUSION:"MUTABLE_WITH_EXCLUSION"};const dp={WILDCARD:"WILDCARD"};const hp={CREATE_ON_PUSH:"CREATE_ON_PUSH",PULL_THROUGH_CACHE:"PULL_THROUGH_CACHE",REPLICATION:"REPLICATION"};const fp={WILDCARD_MATCH:"WILDCARD_MATCH"};const gp={COMPLETE:"COMPLETE",FAILED:"FAILED",IN_PROGRESS:"IN_PROGRESS"};const pp={ACTIVATING:"ACTIVATING",ACTIVE:"ACTIVE",ANY:"ANY",ARCHIVED:"ARCHIVED"};const mp={ANY:"ANY",TAGGED:"TAGGED",UNTAGGED:"UNTAGGED"};const Ep={CRITICAL:"CRITICAL",HIGH:"HIGH",INFORMATIONAL:"INFORMATIONAL",LOW:"LOW",MEDIUM:"MEDIUM",UNDEFINED:"UNDEFINED"};const Cp={ACTIVE:"ACTIVE",COMPLETE:"COMPLETE",FAILED:"FAILED",FINDINGS_UNAVAILABLE:"FINDINGS_UNAVAILABLE",IMAGE_ARCHIVED:"IMAGE_ARCHIVED",IN_PROGRESS:"IN_PROGRESS",LIMIT_EXCEEDED:"LIMIT_EXCEEDED",PENDING:"PENDING",SCAN_ELIGIBILITY_EXPIRED:"SCAN_ELIGIBILITY_EXPIRED",UNSUPPORTED_IMAGE:"UNSUPPORTED_IMAGE"};const yp={ACTIVATING:"ACTIVATING",ACTIVE:"ACTIVE",ARCHIVED:"ARCHIVED"};const Ip={COMPLETE:"COMPLETE",FAILED:"FAILED",IN_PROGRESS:"IN_PROGRESS"};const Bp={PREFIX_MATCH:"PREFIX_MATCH"};const Qp={ARCHIVE:"ARCHIVE"};const bp={EXPIRE:"EXPIRE",TRANSITION:"TRANSITION"};const wp={ARCHIVE:"ARCHIVE",STANDARD:"STANDARD"};const Sp={COMPLETE:"COMPLETE",EXPIRED:"EXPIRED",FAILED:"FAILED",IN_PROGRESS:"IN_PROGRESS"};const Rp={BASIC:"BASIC",ENHANCED:"ENHANCED"};const vp={ACTIVATING:"ACTIVATING",ACTIVE:"ACTIVE",ANY:"ANY",ARCHIVED:"ARCHIVED"};const kp={ACTIVATING:"ACTIVATING",ACTIVE:"ACTIVE",ARCHIVED:"ARCHIVED"};const Tp={ARCHIVE:"ARCHIVE",STANDARD:"STANDARD"};v={enumerable:true,get:function(){return Ae.Command}};v={enumerable:true,get:function(){return Ae.Client}};v=kp;v=vp;v=nl;v=sl;v=il;v=Hf;v=BatchCheckLayerAvailabilityCommand;v=ol;v=al;v=Gf;v=BatchDeleteImageCommand;v=Al;v=cl;v=Vf;v=BatchGetImageCommand;v=ll;v=ul;v=qf;v=BatchGetRepositoryScanningConfigurationCommand;v=dl;v=hl;v=BlockedByOrganizationPolicyException;v=fl;v=Yf;v=CompleteLayerUploadCommand;v=gl;v=pl;v=jf;v=CreatePullThroughCacheRuleCommand;v=ml;v=El;v=Jf;v=CreateRepositoryCommand;v=Wf;v=CreateRepositoryCreationTemplateCommand;v=Cl;v=yl;v=Il;v=Bl;v=Ql;v=bl;v=wl;v=zf;v=DeleteLifecyclePolicyCommand;v=Sl;v=Rl;v=$f;v=DeletePullThroughCacheRuleCommand;v=vl;v=kl;v=Kf;v=DeleteRegistryPolicyCommand;v=Tl;v=Nl;v=Xf;v=DeleteRepositoryCommand;v=Zf;v=DeleteRepositoryCreationTemplateCommand;v=Dl;v=xl;v=eg;v=DeleteRepositoryPolicyCommand;v=Fl;v=Pl;v=Ll;v=_l;v=tg;v=DeleteSigningConfigurationCommand;v=Ml;v=Ul;v=rg;v=DeregisterPullTimeUpdateExclusionCommand;v=Ol;v=Hl;v=ng;v=DescribeImageReplicationStatusCommand;v=Gl;v=Vl;v=ig;v=DescribeImageScanFindingsCommand;v=ql;v=Yl;v=og;v=DescribeImageSigningStatusCommand;v=Jl;v=Wl;v=sg;v=DescribeImagesCommand;v=jl;v=zl;v=$l;v=ag;v=DescribePullThroughCacheRulesCommand;v=Kl;v=Xl;v=Ag;v=DescribeRegistryCommand;v=Zl;v=eu;v=cg;v=DescribeRepositoriesCommand;v=tu;v=ru;v=lg;v=DescribeRepositoryCreationTemplatesCommand;v=nu;v=su;d.Tjd=ECR;v=ECRClient;v=ECRServiceException;v=af;v=EmptyUploadException;v=iu;v=ou;v=au;v=lp;v=Au;v=ExclusionAlreadyExistsException;v=cu;v=ExclusionNotFoundException;v=lu;v=Ep;v=ug;v=GetAccountSettingCommand;v=uu;v=du;v=dg;v=GetAuthorizationTokenCommand;v=hu;v=fu;v=hg;v=GetDownloadUrlForLayerCommand;v=gu;v=pu;v=fg;v=GetLifecyclePolicyCommand;v=gg;v=GetLifecyclePolicyPreviewCommand;v=mu;v=Eu;v=Cu;v=yu;v=pg;v=GetRegistryPolicyCommand;v=Iu;v=Bu;v=mg;v=GetRegistryScanningConfigurationCommand;v=Qu;v=bu;v=Eg;v=GetRepositoryPolicyCommand;v=wu;v=Su;v=Cg;v=GetSigningConfigurationCommand;v=Ru;v=vu;v=ku;v=bp;v=ImageAlreadyExistsException;v=Tu;v=ImageArchivedException;v=Nu;v=Du;v=ImageDigestDoesNotMatchException;v=xu;v=Fu;v=np;v=Pu;v=ImageNotFoundException;v=Lu;v=_u;v=Mu;v=Uu;v=Ou;v=Hu;v=Vu;v=Gu;v=qu;v=yp;v=pp;v=ImageStorageClassUpdateNotSupportedException;v=Yu;v=ImageTagAlreadyExistsException;v=ju;v=up;v=Ju;v=dp;v=yg;v=InitiateLayerUploadCommand;v=Wu;v=zu;v=InvalidLayerException;v=$u;v=InvalidLayerPartException;v=Ku;v=InvalidParameterException;v=Xu;v=InvalidTagParameterException;v=Zu;v=KmsException;v=ed;v=td;v=LayerAlreadyExistsException;v=rd;v=rp;v=nd;v=tp;v=LayerInaccessibleException;v=sd;v=LayerPartTooSmallException;v=id;v=LayersNotFoundException;v=od;v=LifecyclePolicyNotFoundException;v=ad;v=Ad;v=LifecyclePolicyPreviewInProgressException;v=cd;v=LifecyclePolicyPreviewNotFoundException;v=ld;v=ud;v=Sp;v=dd;v=hd;v=wp;v=Qp;v=LimitExceededException;v=fd;v=Ig;v=ListImageReferrersCommand;v=gd;v=md;v=Ed;v=Bg;v=ListImagesCommand;v=Cd;v=yd;v=Id;v=Qg;v=ListPullTimeUpdateExclusionsCommand;v=Bd;v=Qd;v=bg;v=ListTagsForResourceCommand;v=bd;v=wd;v=Sd;v=Rd;v=PullThroughCacheRuleAlreadyExistsException;v=vd;v=PullThroughCacheRuleNotFoundException;v=kd;v=wg;v=PutAccountSettingCommand;v=Td;v=Nd;v=Sg;v=PutImageCommand;v=Dd;v=xd;v=Rg;v=PutImageScanningConfigurationCommand;v=Fd;v=Pd;v=vg;v=PutImageTagMutabilityCommand;v=Ld;v=_d;v=kg;v=PutLifecyclePolicyCommand;v=Md;v=Ud;v=Tg;v=PutRegistryPolicyCommand;v=Od;v=Hd;v=Ng;v=PutRegistryScanningConfigurationCommand;v=Gd;v=Vd;v=Dg;v=PutReplicationConfigurationCommand;v=qd;v=Yd;v=xg;v=PutSigningConfigurationCommand;v=jd;v=Jd;v=hp;v=Wd;v=ReferencedImagesNotFoundException;v=zd;v=Fg;v=RegisterPullTimeUpdateExclusionCommand;v=$d;v=Kd;v=RegistryPolicyNotFoundException;v=Xd;v=Zd;v=eh;v=th;v=rh;v=nh;v=sh;v=gp;v=ih;v=RepositoryAlreadyExistsException;v=oh;v=ah;v=Ah;v=Bp;v=RepositoryNotEmptyException;v=ch;v=RepositoryNotFoundException;v=lh;v=RepositoryPolicyNotFoundException;v=uh;v=dh;v=hh;v=fh;v=gh;v=ap;v=ScanNotFoundException;v=mh;v=Cp;v=Rp;v=sp;v=ph;v=ip;v=Eh;v=SecretNotFoundException;v=Ch;v=ServerException;v=yh;v=Pg;v=SetRepositoryPolicyCommand;v=Ih;v=Bh;v=Qh;v=SigningConfigurationNotFoundException;v=bh;v=wh;v=fp;v=Sh;v=Ip;v=Lg;v=StartImageScanCommand;v=Rh;v=vh;v=_g;v=StartLifecyclePolicyPreviewCommand;v=kh;v=Th;v=Nh;v=Dh;v=Mg;v=TagResourceCommand;v=xh;v=Fh;v=mp;v=Tp;v=TemplateAlreadyExistsException;v=Ph;v=TemplateNotFoundException;v=Lh;v=TooManyTagsException;v=_h;v=Mh;v=UnableToAccessSecretException;v=Uh;v=UnableToDecryptSecretValueException;v=Oh;v=UnableToGetUpstreamImageException;v=Hh;v=UnableToGetUpstreamLayerException;v=Gh;v=UnsupportedImageTypeException;v=Vh;v=UnsupportedUpstreamRegistryException;v=qh;v=Ug;v=UntagResourceCommand;v=Yh;v=jh;v=Og;v=UpdateImageStorageClassCommand;v=Jh;v=Wh;v=Hg;v=UpdatePullThroughCacheRuleCommand;v=zh;v=$h;v=Gg;v=UpdateRepositoryCreationTemplateCommand;v=Kh;v=Xh;v=Vg;v=UploadLayerPartCommand;v=Zh;v=ef;v=UploadNotFoundException;v=tf;v=Ap;v=qg;v=ValidatePullThroughCacheRuleCommand;v=rf;v=nf;v=ValidationException;v=sf;v=of;v=Yg;v=jg;v=Jg;v=Wg;v=zg;v=$g;v=Kg;v=waitForImageScanComplete;v=waitForLifecyclePolicyPreviewComplete;v=waitUntilImageScanComplete;v=waitUntilLifecyclePolicyPreviewComplete},93107:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getRuntimeConfig=void 0;const v=p(61860);const V=v.__importDefault(p(40121));const K=p(8704);const ee=p(5861);const te=p(51656);const re=p(39316);const ne=p(5092);const se=p(19618);const ie=p(55704);const oe=p(61279);const ae=p(61411);const Ae=p(13638);const ce=p(15435);const le=p(15518);const ue=p(19344);const getRuntimeConfig=i=>{(0,ae.emitWarningIfUnsupportedVersion)(process.version);const d=(0,ce.resolveDefaultsModeConfig)(i);const defaultConfigProvider=()=>d().then(ae.loadConfigsForDefaultMode);const p=(0,ue.getRuntimeConfig)(i);(0,K.emitWarningIfUnsupportedVersion)(process.version);const v={profile:i?.profile,logger:p.logger};return{...p,...i,runtime:"node",defaultsMode:d,authSchemePreference:i?.authSchemePreference??(0,ie.loadConfig)(K.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,v),bodyLengthChecker:i?.bodyLengthChecker??Ae.calculateBodyLength,credentialDefaultProvider:i?.credentialDefaultProvider??ee.defaultProvider,defaultUserAgentProvider:i?.defaultUserAgentProvider??(0,te.createDefaultUserAgentProvider)({serviceId:p.serviceId,clientVersion:V.default.version}),maxAttempts:i?.maxAttempts??(0,ie.loadConfig)(se.NODE_MAX_ATTEMPT_CONFIG_OPTIONS,i),region:i?.region??(0,ie.loadConfig)(re.NODE_REGION_CONFIG_OPTIONS,{...re.NODE_REGION_CONFIG_FILE_OPTIONS,...v}),requestHandler:oe.NodeHttpHandler.create(i?.requestHandler??defaultConfigProvider),retryMode:i?.retryMode??(0,ie.loadConfig)({...se.NODE_RETRY_MODE_CONFIG_OPTIONS,default:async()=>(await defaultConfigProvider()).retryMode||le.DEFAULT_RETRY_MODE},i),sha256:i?.sha256??ne.Hash.bind(null,"sha256"),streamCollector:i?.streamCollector??oe.streamCollector,useDualstackEndpoint:i?.useDualstackEndpoint??(0,ie.loadConfig)(re.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS,v),useFipsEndpoint:i?.useFipsEndpoint??(0,ie.loadConfig)(re.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS,v),userAgentAppId:i?.userAgentAppId??(0,ie.loadConfig)(te.NODE_APP_ID_CONFIG_OPTIONS,v)}};d.getRuntimeConfig=getRuntimeConfig},19344:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getRuntimeConfig=void 0;const v=p(8704);const V=p(37288);const K=p(61411);const ee=p(14494);const te=p(68385);const re=p(71577);const ne=p(73218);const se=p(33628);const getRuntimeConfig=i=>({apiVersion:"2015-09-21",base64Decoder:i?.base64Decoder??te.fromBase64,base64Encoder:i?.base64Encoder??te.toBase64,disableHostPrefix:i?.disableHostPrefix??false,endpointProvider:i?.endpointProvider??se.defaultEndpointResolver,extensions:i?.extensions??[],httpAuthSchemeProvider:i?.httpAuthSchemeProvider??ne.defaultECRHttpAuthSchemeProvider,httpAuthSchemes:i?.httpAuthSchemes??[{schemeId:"aws.auth#sigv4",identityProvider:i=>i.getIdentityProvider("aws.auth#sigv4"),signer:new v.AwsSdkSigV4Signer}],logger:i?.logger??new K.NoOpLogger,protocol:i?.protocol??V.AwsJson1_1Protocol,protocolSettings:i?.protocolSettings??{defaultNamespace:"com.amazonaws.ecr",xmlNamespace:"http://ecr.amazonaws.com/doc/2015-09-21/",version:"2015-09-21",serviceTarget:"AmazonEC2ContainerRegistry_V20150921"},serviceId:i?.serviceId??"ECR",urlParser:i?.urlParser??ee.parseUrl,utf8Decoder:i?.utf8Decoder??re.fromUtf8,utf8Encoder:i?.utf8Encoder??re.toUtf8});d.getRuntimeConfig=getRuntimeConfig},8704:(i,d,p)=>{var v=p(72356);var V=p(90402);var K=p(71238);var ee=p(5152);var te=p(75118);var re=p(64645);var ne=p(26890);var se=p(61411);var ie=p(93422);var oe=p(92430);var ae=p(68385);var Ae=p(71577);var ce=p(94274);const le={warningEmitted:false};const emitWarningIfUnsupportedVersion=i=>{if(i&&!le.warningEmitted&&parseInt(i.substring(1,i.indexOf(".")))<20){le.warningEmitted=true;process.emitWarning(`NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will\nno longer support Node.js ${i} in January 2026.\n\nTo continue receiving updates to AWS services, bug fixes, and security\nupdates please upgrade to a supported Node.js LTS version.\n\nMore information can be found at: https://a.co/c895JFp`)}};function setCredentialFeature(i,d,p){if(!i.$source){i.$source={}}i.$source[d]=p;return i}function setFeature(i,d,p){if(!i.__aws_sdk_context){i.__aws_sdk_context={features:{}}}else if(!i.__aws_sdk_context.features){i.__aws_sdk_context.features={}}i.__aws_sdk_context.features[d]=p}function setTokenFeature(i,d,p){if(!i.$source){i.$source={}}i.$source[d]=p;return i}const getDateHeader=i=>v.HttpResponse.isInstance(i)?i.headers?.date??i.headers?.Date:undefined;const getSkewCorrectedDate=i=>new Date(Date.now()+i);const isClockSkewed=(i,d)=>Math.abs(getSkewCorrectedDate(d).getTime()-i)>=3e5;const getUpdatedSystemClockOffset=(i,d)=>{const p=Date.parse(i);if(isClockSkewed(p,d)){return p-Date.now()}return d};const throwSigningPropertyError=(i,d)=>{if(!d){throw new Error(`Property \`${i}\` is not resolved for AWS SDK SigV4Auth`)}return d};const validateSigningProperties=async i=>{const d=throwSigningPropertyError("context",i.context);const p=throwSigningPropertyError("config",i.config);const v=d.endpointV2?.properties?.authSchemes?.[0];const V=throwSigningPropertyError("signer",p.signer);const K=await V(v);const ee=i?.signingRegion;const te=i?.signingRegionSet;const re=i?.signingName;return{config:p,signer:K,signingRegion:ee,signingRegionSet:te,signingName:re}};class AwsSdkSigV4Signer{async sign(i,d,p){if(!v.HttpRequest.isInstance(i)){throw new Error("The request is not an instance of `HttpRequest` and cannot be signed")}const V=await validateSigningProperties(p);const{config:K,signer:ee}=V;let{signingRegion:te,signingName:re}=V;const ne=p.context;if(ne?.authSchemes?.length??0>1){const[i,d]=ne.authSchemes;if(i?.name==="sigv4a"&&d?.name==="sigv4"){te=d?.signingRegion??te;re=d?.signingName??re}}const se=await ee.sign(i,{signingDate:getSkewCorrectedDate(K.systemClockOffset),signingRegion:te,signingService:re});return se}errorHandler(i){return d=>{const p=d.ServerTime??getDateHeader(d.$response);if(p){const v=throwSigningPropertyError("config",i.config);const V=v.systemClockOffset;v.systemClockOffset=getUpdatedSystemClockOffset(p,v.systemClockOffset);const K=v.systemClockOffset!==V;if(K&&d.$metadata){d.$metadata.clockSkewCorrected=true}}throw d}}successHandler(i,d){const p=getDateHeader(i);if(p){const i=throwSigningPropertyError("config",d.config);i.systemClockOffset=getUpdatedSystemClockOffset(p,i.systemClockOffset)}}}const ue=AwsSdkSigV4Signer;class AwsSdkSigV4ASigner extends AwsSdkSigV4Signer{async sign(i,d,p){if(!v.HttpRequest.isInstance(i)){throw new Error("The request is not an instance of `HttpRequest` and cannot be signed")}const{config:V,signer:K,signingRegion:ee,signingRegionSet:te,signingName:re}=await validateSigningProperties(p);const ne=await(V.sigv4aSigningRegionSet?.());const se=(ne??te??[ee]).join(",");const ie=await K.sign(i,{signingDate:getSkewCorrectedDate(V.systemClockOffset),signingRegion:se,signingService:re});return ie}}const getArrayForCommaSeparatedString=i=>typeof i==="string"&&i.length>0?i.split(",").map((i=>i.trim())):[];const getBearerTokenEnvKey=i=>`AWS_BEARER_TOKEN_${i.replace(/[\s-]/g,"_").toUpperCase()}`;const de="AWS_AUTH_SCHEME_PREFERENCE";const he="auth_scheme_preference";const fe={environmentVariableSelector:(i,d)=>{if(d?.signingName){const p=getBearerTokenEnvKey(d.signingName);if(p in i)return["httpBearerAuth"]}if(!(de in i))return undefined;return getArrayForCommaSeparatedString(i[de])},configFileSelector:i=>{if(!(he in i))return undefined;return getArrayForCommaSeparatedString(i[he])},default:[]};const resolveAwsSdkSigV4AConfig=i=>{i.sigv4aSigningRegionSet=V.normalizeProvider(i.sigv4aSigningRegionSet);return i};const ge={environmentVariableSelector(i){if(i.AWS_SIGV4A_SIGNING_REGION_SET){return i.AWS_SIGV4A_SIGNING_REGION_SET.split(",").map((i=>i.trim()))}throw new K.ProviderError("AWS_SIGV4A_SIGNING_REGION_SET not set in env.",{tryNextLink:true})},configFileSelector(i){if(i.sigv4a_signing_region_set){return(i.sigv4a_signing_region_set??"").split(",").map((i=>i.trim()))}throw new K.ProviderError("sigv4a_signing_region_set not set in profile.",{tryNextLink:true})},default:undefined};const resolveAwsSdkSigV4Config=i=>{let d=i.credentials;let p=!!i.credentials;let v=undefined;Object.defineProperty(i,"credentials",{set(V){if(V&&V!==d&&V!==v){p=true}d=V;const K=normalizeCredentialProvider(i,{credentials:d,credentialDefaultProvider:i.credentialDefaultProvider});const te=bindCallerConfig(i,K);if(p&&!te.attributed){const i=typeof d==="object"&&d!==null;v=async d=>{const p=await te(d);const v=p;if(i&&(!v.$source||Object.keys(v.$source).length===0)){return ee.setCredentialFeature(v,"CREDENTIALS_CODE","e")}return v};v.memoized=te.memoized;v.configBound=te.configBound;v.attributed=true}else{v=te}},get(){return v},enumerable:true,configurable:true});i.credentials=d;const{signingEscapePath:K=true,systemClockOffset:re=i.systemClockOffset||0,sha256:ne}=i;let se;if(i.signer){se=V.normalizeProvider(i.signer)}else if(i.regionInfoProvider){se=()=>V.normalizeProvider(i.region)().then((async d=>[await i.regionInfoProvider(d,{useFipsEndpoint:await i.useFipsEndpoint(),useDualstackEndpoint:await i.useDualstackEndpoint()})||{},d])).then((([d,p])=>{const{signingRegion:v,signingService:V}=d;i.signingRegion=i.signingRegion||v||p;i.signingName=i.signingName||V||i.serviceId;const ee={...i,credentials:i.credentials,region:i.signingRegion,service:i.signingName,sha256:ne,uriEscapePath:K};const re=i.signerConstructor||te.SignatureV4;return new re(ee)}))}else{se=async d=>{d=Object.assign({},{name:"sigv4",signingName:i.signingName||i.defaultSigningName,signingRegion:await V.normalizeProvider(i.region)(),properties:{}},d);const p=d.signingRegion;const v=d.signingName;i.signingRegion=i.signingRegion||p;i.signingName=i.signingName||v||i.serviceId;const ee={...i,credentials:i.credentials,region:i.signingRegion,service:i.signingName,sha256:ne,uriEscapePath:K};const re=i.signerConstructor||te.SignatureV4;return new re(ee)}}const ie=Object.assign(i,{systemClockOffset:re,signingEscapePath:K,signer:se});return ie};const pe=resolveAwsSdkSigV4Config;function normalizeCredentialProvider(i,{credentials:d,credentialDefaultProvider:p}){let v;if(d){if(!d?.memoized){v=V.memoizeIdentityProvider(d,V.isIdentityExpired,V.doesIdentityRequireRefresh)}else{v=d}}else{if(p){v=V.normalizeProvider(p(Object.assign({},i,{parentClientConfig:i})))}else{v=async()=>{throw new Error("@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured.")}}}v.memoized=true;return v}function bindCallerConfig(i,d){if(d.configBound){return d}const fn=async p=>d({...p,callerClientConfig:i});fn.memoized=d.memoized;fn.configBound=true;return fn}class ProtocolLib{queryCompat;constructor(i=false){this.queryCompat=i}resolveRestContentType(i,d){const p=d.getMemberSchemas();const v=Object.values(p).find((i=>!!i.getMergedTraits().httpPayload));if(v){const d=v.getMergedTraits().mediaType;if(d){return d}else if(v.isStringSchema()){return"text/plain"}else if(v.isBlobSchema()){return"application/octet-stream"}else{return i}}else if(!d.isUnitSchema()){const d=Object.values(p).find((i=>{const{httpQuery:d,httpQueryParams:p,httpHeader:v,httpLabel:V,httpPrefixHeaders:K}=i.getMergedTraits();const ee=K===void 0;return!d&&!p&&!v&&!V&&ee}));if(d){return i}}}async getErrorSchemaOrThrowBaseException(i,d,p,v,V,K){let ee=d;let te=i;if(i.includes("#")){[ee,te]=i.split("#")}const re={$metadata:V,$fault:p.statusCode<500?"client":"server"};const se=ne.TypeRegistry.for(ee);try{const d=K?.(se,te)??se.getSchema(i);return{errorSchema:d,errorMetadata:re}}catch(i){v.message=v.message??v.Message??"UnknownError";const d=ne.TypeRegistry.for("smithy.ts.sdk.synthetic."+ee);const p=d.getBaseException();if(p){const i=d.getErrorCtor(p)??Error;throw this.decorateServiceException(Object.assign(new i({name:te}),re),v)}throw this.decorateServiceException(Object.assign(new Error(te),re),v)}}decorateServiceException(i,d={}){if(this.queryCompat){const p=i.Message??d.Message;const v=se.decorateServiceException(i,d);if(p){v.message=p}v.Error={...v.Error,Type:v.Error.Type,Code:v.Error.Code,Message:v.Error.message??v.Error.Message??p};const V=v.$metadata.requestId;if(V){v.RequestId=V}return v}return se.decorateServiceException(i,d)}setQueryCompatError(i,d){const p=d.headers?.["x-amzn-query-error"];if(i!==undefined&&p!=null){const[d,v]=p.split(";");const V=Object.entries(i);const K={Code:d,Type:v};Object.assign(i,K);for(const[i,d]of V){K[i==="message"?"Message":i]=d}delete K.__type;i.Error=K}}queryCompatOutput(i,d){if(i.Error){d.Error=i.Error}if(i.Type){d.Type=i.Type}if(i.Code){d.Code=i.Code}}findQueryCompatibleError(i,d){try{return i.getSchema(d)}catch(p){return i.find((i=>ne.NormalizedSchema.of(i).getMergedTraits().awsQueryError?.[0]===d))}}}class AwsSmithyRpcV2CborProtocol extends re.SmithyRpcV2CborProtocol{awsQueryCompatible;mixin;constructor({defaultNamespace:i,awsQueryCompatible:d}){super({defaultNamespace:i});this.awsQueryCompatible=!!d;this.mixin=new ProtocolLib(this.awsQueryCompatible)}async serializeRequest(i,d,p){const v=await super.serializeRequest(i,d,p);if(this.awsQueryCompatible){v.headers["x-amzn-query-mode"]="true"}return v}async handleError(i,d,p,v,V){if(this.awsQueryCompatible){this.mixin.setQueryCompatError(v,p)}const K=(()=>{const i=p.headers["x-amzn-query-error"];if(i&&this.awsQueryCompatible){return i.split(";")[0]}return re.loadSmithyRpcV2CborErrorCode(p,v)??"Unknown"})();const{errorSchema:ee,errorMetadata:te}=await this.mixin.getErrorSchemaOrThrowBaseException(K,this.options.defaultNamespace,p,v,V,this.awsQueryCompatible?this.mixin.findQueryCompatibleError:undefined);const se=ne.NormalizedSchema.of(ee);const ie=v.message??v.Message??"Unknown";const oe=ne.TypeRegistry.for(ee[1]).getErrorCtor(ee)??Error;const ae=new oe(ie);const Ae={};for(const[i,d]of se.structIterator()){if(v[i]!=null){Ae[i]=this.deserializer.readValue(d,v[i])}}if(this.awsQueryCompatible){this.mixin.queryCompatOutput(v,Ae)}throw this.mixin.decorateServiceException(Object.assign(ae,te,{$fault:se.getMergedTraits().error,message:ie},Ae),v)}}const _toStr=i=>{if(i==null){return i}if(typeof i==="number"||typeof i==="bigint"){const d=new Error(`Received number ${i} where a string was expected.`);d.name="Warning";console.warn(d);return String(i)}if(typeof i==="boolean"){const d=new Error(`Received boolean ${i} where a string was expected.`);d.name="Warning";console.warn(d);return String(i)}return i};const _toBool=i=>{if(i==null){return i}if(typeof i==="string"){const d=i.toLowerCase();if(i!==""&&d!=="false"&&d!=="true"){const d=new Error(`Received string "${i}" where a boolean was expected.`);d.name="Warning";console.warn(d)}return i!==""&&d!=="false"}return i};const _toNum=i=>{if(i==null){return i}if(typeof i==="string"){const d=Number(i);if(d.toString()!==i){const d=new Error(`Received string "${i}" where a number was expected.`);d.name="Warning";console.warn(d);return i}return d}return i};class SerdeContextConfig{serdeContext;setSerdeContext(i){this.serdeContext=i}}class UnionSerde{from;to;keys;constructor(i,d){this.from=i;this.to=d;this.keys=new Set(Object.keys(this.from).filter((i=>i!=="__type")))}mark(i){this.keys.delete(i)}hasUnknown(){return this.keys.size===1&&Object.keys(this.to).length===0}writeUnknown(){if(this.hasUnknown()){const i=this.keys.values().next().value;const d=this.from[i];this.to.$unknown=[i,d]}}}function jsonReviver(i,d,p){if(p?.source){const i=p.source;if(typeof d==="number"){if(d>Number.MAX_SAFE_INTEGER||dse.collectBody(i,d).then((i=>(d?.utf8Encoder??Ae.toUtf8)(i)));const parseJsonBody=(i,d)=>collectBodyString(i,d).then((i=>{if(i.length){try{return JSON.parse(i)}catch(d){if(d?.name==="SyntaxError"){Object.defineProperty(d,"$responseBodyText",{value:i})}throw d}}return{}}));const parseJsonErrorBody=async(i,d)=>{const p=await parseJsonBody(i,d);p.message=p.message??p.Message;return p};const loadRestJsonErrorCode=(i,d)=>{const findKey=(i,d)=>Object.keys(i).find((i=>i.toLowerCase()===d.toLowerCase()));const sanitizeErrorCode=i=>{let d=i;if(typeof d==="number"){d=d.toString()}if(d.indexOf(",")>=0){d=d.split(",")[0]}if(d.indexOf(":")>=0){d=d.split(":")[0]}if(d.indexOf("#")>=0){d=d.split("#")[1]}return d};const p=findKey(i.headers,"x-amzn-errortype");if(p!==undefined){return sanitizeErrorCode(i.headers[p])}if(d&&typeof d==="object"){const i=findKey(d,"code");if(i&&d[i]!==undefined){return sanitizeErrorCode(d[i])}if(d["__type"]!==undefined){return sanitizeErrorCode(d["__type"])}}};class JsonShapeDeserializer extends SerdeContextConfig{settings;constructor(i){super();this.settings=i}async read(i,d){return this._read(i,typeof d==="string"?JSON.parse(d,jsonReviver):await parseJsonBody(d,this.serdeContext))}readObject(i,d){return this._read(i,d)}_read(i,d){const p=d!==null&&typeof d==="object";const v=ne.NormalizedSchema.of(i);if(p){if(v.isStructSchema()){const i=d;const p=v.isUnionSchema();const V={};let K=void 0;const{jsonName:ee}=this.settings;if(ee){K={}}let te;if(p){te=new UnionSerde(i,V)}for(const[d,re]of v.structIterator()){let v=d;if(ee){v=re.getMergedTraits().jsonName??v;K[v]=d}if(p){te.mark(v)}if(i[v]!=null){V[d]=this._read(re,i[v])}}if(p){te.writeUnknown()}else if(typeof i.__type==="string"){for(const[d,p]of Object.entries(i)){const i=ee?K[d]??d:d;if(!(i in V)){V[i]=p}}}return V}if(Array.isArray(d)&&v.isListSchema()){const i=v.getValueSchema();const p=[];const V=!!v.getMergedTraits().sparse;for(const v of d){if(V||v!=null){p.push(this._read(i,v))}}return p}if(v.isMapSchema()){const i=v.getValueSchema();const p={};const V=!!v.getMergedTraits().sparse;for(const[v,K]of Object.entries(d)){if(V||K!=null){p[v]=this._read(i,K)}}return p}}if(v.isBlobSchema()&&typeof d==="string"){return ae.fromBase64(d)}const V=v.getMergedTraits().mediaType;if(v.isStringSchema()&&typeof d==="string"&&V){const i=V==="application/json"||V.endsWith("+json");if(i){return oe.LazyJsonString.from(d)}return d}if(v.isTimestampSchema()&&d!=null){const i=ie.determineTimestampFormat(v,this.settings);switch(i){case 5:return oe.parseRfc3339DateTimeWithOffset(d);case 6:return oe.parseRfc7231DateTime(d);case 7:return oe.parseEpochTimestamp(d);default:console.warn("Missing timestamp format, parsing value with Date constructor:",d);return new Date(d)}}if(v.isBigIntegerSchema()&&(typeof d==="number"||typeof d==="string")){return BigInt(d)}if(v.isBigDecimalSchema()&&d!=undefined){if(d instanceof oe.NumericValue){return d}const i=d;if(i.type==="bigDecimal"&&"string"in i){return new oe.NumericValue(i.string,i.type)}return new oe.NumericValue(String(d),"bigDecimal")}if(v.isNumericSchema()&&typeof d==="string"){switch(d){case"Infinity":return Infinity;case"-Infinity":return-Infinity;case"NaN":return NaN}return d}if(v.isDocumentSchema()){if(p){const i=Array.isArray(d)?[]:{};for(const[p,V]of Object.entries(d)){if(V instanceof oe.NumericValue){i[p]=V}else{i[p]=this._read(v,V)}}return i}else{return structuredClone(d)}}return d}}const me=String.fromCharCode(925);class JsonReplacer{values=new Map;counter=0;stage=0;createReplacer(){if(this.stage===1){throw new Error("@aws-sdk/core/protocols - JsonReplacer already created.")}if(this.stage===2){throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted.")}this.stage=1;return(i,d)=>{if(d instanceof oe.NumericValue){const i=`${me+"nv"+this.counter++}_`+d.string;this.values.set(`"${i}"`,d.string);return i}if(typeof d==="bigint"){const i=d.toString();const p=`${me+"b"+this.counter++}_`+i;this.values.set(`"${p}"`,i);return p}return d}}replaceInJson(i){if(this.stage===0){throw new Error("@aws-sdk/core/protocols - JsonReplacer not created yet.")}if(this.stage===2){throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted.")}this.stage=2;if(this.counter===0){return i}for(const[d,p]of this.values){i=i.replace(d,p)}return i}}class JsonShapeSerializer extends SerdeContextConfig{settings;buffer;useReplacer=false;rootSchema;constructor(i){super();this.settings=i}write(i,d){this.rootSchema=ne.NormalizedSchema.of(i);this.buffer=this._write(this.rootSchema,d)}writeDiscriminatedDocument(i,d){this.write(i,d);if(typeof this.buffer==="object"){this.buffer.__type=ne.NormalizedSchema.of(i).getName(true)}}flush(){const{rootSchema:i,useReplacer:d}=this;this.rootSchema=undefined;this.useReplacer=false;if(i?.isStructSchema()||i?.isDocumentSchema()){if(!d){return JSON.stringify(this.buffer)}const i=new JsonReplacer;return i.replaceInJson(JSON.stringify(this.buffer,i.createReplacer(),0))}return this.buffer}_write(i,d,p){const v=d!==null&&typeof d==="object";const V=ne.NormalizedSchema.of(i);if(v){if(V.isStructSchema()){const i=d;const p={};const{jsonName:v}=this.settings;let K=void 0;if(v){K={}}for(const[d,ee]of V.structIterator()){const te=this._write(ee,i[d],V);if(te!==undefined){let i=d;if(v){i=ee.getMergedTraits().jsonName??d;K[d]=i}p[i]=te}}if(V.isUnionSchema()&&Object.keys(p).length===0){const{$unknown:d}=i;if(Array.isArray(d)){const[i,v]=d;p[i]=this._write(15,v)}}else if(typeof i.__type==="string"){for(const[d,V]of Object.entries(i)){const i=v?K[d]??d:d;if(!(i in p)){p[i]=this._write(15,V)}}}return p}if(Array.isArray(d)&&V.isListSchema()){const i=V.getValueSchema();const p=[];const v=!!V.getMergedTraits().sparse;for(const V of d){if(v||V!=null){p.push(this._write(i,V))}}return p}if(V.isMapSchema()){const i=V.getValueSchema();const p={};const v=!!V.getMergedTraits().sparse;for(const[V,K]of Object.entries(d)){if(v||K!=null){p[V]=this._write(i,K)}}return p}if(d instanceof Uint8Array&&(V.isBlobSchema()||V.isDocumentSchema())){if(V===this.rootSchema){return d}return(this.serdeContext?.base64Encoder??ae.toBase64)(d)}if(d instanceof Date&&(V.isTimestampSchema()||V.isDocumentSchema())){const i=ie.determineTimestampFormat(V,this.settings);switch(i){case 5:return d.toISOString().replace(".000Z","Z");case 6:return oe.dateToUtcString(d);case 7:return d.getTime()/1e3;default:console.warn("Missing timestamp format, using epoch seconds",d);return d.getTime()/1e3}}if(d instanceof oe.NumericValue){this.useReplacer=true}}if(d===null&&p?.isStructSchema()){return void 0}if(V.isStringSchema()){if(typeof d==="undefined"&&V.isIdempotencyToken()){return oe.generateIdempotencyToken()}const i=V.getMergedTraits().mediaType;if(d!=null&&i){const p=i==="application/json"||i.endsWith("+json");if(p){return oe.LazyJsonString.from(d)}}return d}if(typeof d==="number"&&V.isNumericSchema()){if(Math.abs(d)===Infinity||isNaN(d)){return String(d)}return d}if(typeof d==="string"&&V.isBlobSchema()){if(V===this.rootSchema){return d}return(this.serdeContext?.base64Encoder??ae.toBase64)(d)}if(typeof d==="bigint"){this.useReplacer=true}if(V.isDocumentSchema()){if(v){const i=Array.isArray(d)?[]:{};for(const[p,v]of Object.entries(d)){if(v instanceof oe.NumericValue){this.useReplacer=true;i[p]=v}else{i[p]=this._write(V,v)}}return i}else{return structuredClone(d)}}return d}}class JsonCodec extends SerdeContextConfig{settings;constructor(i){super();this.settings=i}createSerializer(){const i=new JsonShapeSerializer(this.settings);i.setSerdeContext(this.serdeContext);return i}createDeserializer(){const i=new JsonShapeDeserializer(this.settings);i.setSerdeContext(this.serdeContext);return i}}class AwsJsonRpcProtocol extends ie.RpcProtocol{serializer;deserializer;serviceTarget;codec;mixin;awsQueryCompatible;constructor({defaultNamespace:i,serviceTarget:d,awsQueryCompatible:p,jsonCodec:v}){super({defaultNamespace:i});this.serviceTarget=d;this.codec=v??new JsonCodec({timestampFormat:{useTrait:true,default:7},jsonName:false});this.serializer=this.codec.createSerializer();this.deserializer=this.codec.createDeserializer();this.awsQueryCompatible=!!p;this.mixin=new ProtocolLib(this.awsQueryCompatible)}async serializeRequest(i,d,p){const v=await super.serializeRequest(i,d,p);if(!v.path.endsWith("/")){v.path+="/"}Object.assign(v.headers,{"content-type":`application/x-amz-json-${this.getJsonRpcVersion()}`,"x-amz-target":`${this.serviceTarget}.${i.name}`});if(this.awsQueryCompatible){v.headers["x-amzn-query-mode"]="true"}if(ne.deref(i.input)==="unit"||!v.body){v.body="{}"}return v}getPayloadCodec(){return this.codec}async handleError(i,d,p,v,V){if(this.awsQueryCompatible){this.mixin.setQueryCompatError(v,p)}const K=loadRestJsonErrorCode(p,v)??"Unknown";const{errorSchema:ee,errorMetadata:te}=await this.mixin.getErrorSchemaOrThrowBaseException(K,this.options.defaultNamespace,p,v,V,this.awsQueryCompatible?this.mixin.findQueryCompatibleError:undefined);const re=ne.NormalizedSchema.of(ee);const se=v.message??v.Message??"Unknown";const ie=ne.TypeRegistry.for(ee[1]).getErrorCtor(ee)??Error;const oe=new ie(se);const ae={};for(const[i,d]of re.structIterator()){if(v[i]!=null){ae[i]=this.codec.createDeserializer().readObject(d,v[i])}}if(this.awsQueryCompatible){this.mixin.queryCompatOutput(v,ae)}throw this.mixin.decorateServiceException(Object.assign(oe,te,{$fault:re.getMergedTraits().error,message:se},ae),v)}}class AwsJson1_0Protocol extends AwsJsonRpcProtocol{constructor({defaultNamespace:i,serviceTarget:d,awsQueryCompatible:p,jsonCodec:v}){super({defaultNamespace:i,serviceTarget:d,awsQueryCompatible:p,jsonCodec:v})}getShapeId(){return"aws.protocols#awsJson1_0"}getJsonRpcVersion(){return"1.0"}getDefaultContentType(){return"application/x-amz-json-1.0"}}class AwsJson1_1Protocol extends AwsJsonRpcProtocol{constructor({defaultNamespace:i,serviceTarget:d,awsQueryCompatible:p,jsonCodec:v}){super({defaultNamespace:i,serviceTarget:d,awsQueryCompatible:p,jsonCodec:v})}getShapeId(){return"aws.protocols#awsJson1_1"}getJsonRpcVersion(){return"1.1"}getDefaultContentType(){return"application/x-amz-json-1.1"}}class AwsRestJsonProtocol extends ie.HttpBindingProtocol{serializer;deserializer;codec;mixin=new ProtocolLib;constructor({defaultNamespace:i}){super({defaultNamespace:i});const d={timestampFormat:{useTrait:true,default:7},httpBindings:true,jsonName:true};this.codec=new JsonCodec(d);this.serializer=new ie.HttpInterceptingShapeSerializer(this.codec.createSerializer(),d);this.deserializer=new ie.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(),d)}getShapeId(){return"aws.protocols#restJson1"}getPayloadCodec(){return this.codec}setSerdeContext(i){this.codec.setSerdeContext(i);super.setSerdeContext(i)}async serializeRequest(i,d,p){const v=await super.serializeRequest(i,d,p);const V=ne.NormalizedSchema.of(i.input);if(!v.headers["content-type"]){const i=this.mixin.resolveRestContentType(this.getDefaultContentType(),V);if(i){v.headers["content-type"]=i}}if(v.body==null&&v.headers["content-type"]===this.getDefaultContentType()){v.body="{}"}return v}async deserializeResponse(i,d,p){const v=await super.deserializeResponse(i,d,p);const V=ne.NormalizedSchema.of(i.output);for(const[i,d]of V.structIterator()){if(d.getMemberTraits().httpPayload&&!(i in v)){v[i]=null}}return v}async handleError(i,d,p,v,V){const K=loadRestJsonErrorCode(p,v)??"Unknown";const{errorSchema:ee,errorMetadata:te}=await this.mixin.getErrorSchemaOrThrowBaseException(K,this.options.defaultNamespace,p,v,V);const re=ne.NormalizedSchema.of(ee);const se=v.message??v.Message??"Unknown";const ie=ne.TypeRegistry.for(ee[1]).getErrorCtor(ee)??Error;const oe=new ie(se);await this.deserializeHttpMessage(ee,d,p,v);const ae={};for(const[i,d]of re.structIterator()){const p=d.getMergedTraits().jsonName??i;ae[i]=this.codec.createDeserializer().readObject(d,v[p])}throw this.mixin.decorateServiceException(Object.assign(oe,te,{$fault:re.getMergedTraits().error,message:se},ae),v)}getDefaultContentType(){return"application/json"}}const awsExpectUnion=i=>{if(i==null){return undefined}if(typeof i==="object"&&"__type"in i){delete i.__type}return se.expectUnion(i)};class XmlShapeDeserializer extends SerdeContextConfig{settings;stringDeserializer;constructor(i){super();this.settings=i;this.stringDeserializer=new ie.FromStringShapeDeserializer(i)}setSerdeContext(i){this.serdeContext=i;this.stringDeserializer.setSerdeContext(i)}read(i,d,p){const v=ne.NormalizedSchema.of(i);const V=v.getMemberSchemas();const K=v.isStructSchema()&&v.isMemberSchema()&&!!Object.values(V).find((i=>!!i.getMemberTraits().eventPayload));if(K){const i={};const p=Object.keys(V)[0];const v=V[p];if(v.isBlobSchema()){i[p]=d}else{i[p]=this.read(V[p],d)}return i}const ee=(this.serdeContext?.utf8Encoder??Ae.toUtf8)(d);const te=this.parseXml(ee);return this.readSchema(i,p?te[p]:te)}readSchema(i,d){const p=ne.NormalizedSchema.of(i);if(p.isUnitSchema()){return}const v=p.getMergedTraits();if(p.isListSchema()&&!Array.isArray(d)){return this.readSchema(p,[d])}if(d==null){return d}if(typeof d==="object"){const i=!!v.sparse;const V=!!v.xmlFlattened;if(p.isListSchema()){const v=p.getValueSchema();const K=[];const ee=v.getMergedTraits().xmlName??"member";const te=V?d:(d[0]??d)[ee];const re=Array.isArray(te)?te:[te];for(const d of re){if(d!=null||i){K.push(this.readSchema(v,d))}}return K}const K={};if(p.isMapSchema()){const v=p.getKeySchema();const ee=p.getValueSchema();let te;if(V){te=Array.isArray(d)?d:[d]}else{te=Array.isArray(d.entry)?d.entry:[d.entry]}const re=v.getMergedTraits().xmlName??"key";const ne=ee.getMergedTraits().xmlName??"value";for(const d of te){const p=d[re];const v=d[ne];if(v!=null||i){K[p]=this.readSchema(ee,v)}}return K}if(p.isStructSchema()){const i=p.isUnionSchema();let v;if(i){v=new UnionSerde(d,K)}for(const[V,ee]of p.structIterator()){const p=ee.getMergedTraits();const te=!p.httpPayload?ee.getMemberTraits().xmlName??V:p.xmlName??ee.getName();if(i){v.mark(te)}if(d[te]!=null){K[V]=this.readSchema(ee,d[te])}}if(i){v.writeUnknown()}return K}if(p.isDocumentSchema()){return d}throw new Error(`@aws-sdk/core/protocols - xml deserializer unhandled schema type for ${p.getName(true)}`)}if(p.isListSchema()){return[]}if(p.isMapSchema()||p.isStructSchema()){return{}}return this.stringDeserializer.read(p,d)}parseXml(i){if(i.length){let d;try{d=ce.parseXML(i)}catch(d){if(d&&typeof d==="object"){Object.defineProperty(d,"$responseBodyText",{value:i})}throw d}const p="#text";const v=Object.keys(d)[0];const V=d[v];if(V[p]){V[v]=V[p];delete V[p]}return se.getValueFromTextNode(V)}return{}}}class QueryShapeSerializer extends SerdeContextConfig{settings;buffer;constructor(i){super();this.settings=i}write(i,d,p=""){if(this.buffer===undefined){this.buffer=""}const v=ne.NormalizedSchema.of(i);if(p&&!p.endsWith(".")){p+="."}if(v.isBlobSchema()){if(typeof d==="string"||d instanceof Uint8Array){this.writeKey(p);this.writeValue((this.serdeContext?.base64Encoder??ae.toBase64)(d))}}else if(v.isBooleanSchema()||v.isNumericSchema()||v.isStringSchema()){if(d!=null){this.writeKey(p);this.writeValue(String(d))}else if(v.isIdempotencyToken()){this.writeKey(p);this.writeValue(oe.generateIdempotencyToken())}}else if(v.isBigIntegerSchema()){if(d!=null){this.writeKey(p);this.writeValue(String(d))}}else if(v.isBigDecimalSchema()){if(d!=null){this.writeKey(p);this.writeValue(d instanceof oe.NumericValue?d.string:String(d))}}else if(v.isTimestampSchema()){if(d instanceof Date){this.writeKey(p);const i=ie.determineTimestampFormat(v,this.settings);switch(i){case 5:this.writeValue(d.toISOString().replace(".000Z","Z"));break;case 6:this.writeValue(se.dateToUtcString(d));break;case 7:this.writeValue(String(d.getTime()/1e3));break}}}else if(v.isDocumentSchema()){if(Array.isArray(d)){this.write(64|15,d,p)}else if(d instanceof Date){this.write(4,d,p)}else if(d instanceof Uint8Array){this.write(21,d,p)}else if(d&&typeof d==="object"){this.write(128|15,d,p)}else{this.writeKey(p);this.writeValue(String(d))}}else if(v.isListSchema()){if(Array.isArray(d)){if(d.length===0){if(this.settings.serializeEmptyLists){this.writeKey(p);this.writeValue("")}}else{const i=v.getValueSchema();const V=this.settings.flattenLists||v.getMergedTraits().xmlFlattened;let K=1;for(const v of d){if(v==null){continue}const d=this.getKey("member",i.getMergedTraits().xmlName);const ee=V?`${p}${K}`:`${p}${d}.${K}`;this.write(i,v,ee);++K}}}}else if(v.isMapSchema()){if(d&&typeof d==="object"){const i=v.getKeySchema();const V=v.getValueSchema();const K=v.getMergedTraits().xmlFlattened;let ee=1;for(const[v,te]of Object.entries(d)){if(te==null){continue}const d=this.getKey("key",i.getMergedTraits().xmlName);const re=K?`${p}${ee}.${d}`:`${p}entry.${ee}.${d}`;const ne=this.getKey("value",V.getMergedTraits().xmlName);const se=K?`${p}${ee}.${ne}`:`${p}entry.${ee}.${ne}`;this.write(i,v,re);this.write(V,te,se);++ee}}}else if(v.isStructSchema()){if(d&&typeof d==="object"){let i=false;for(const[V,K]of v.structIterator()){if(d[V]==null&&!K.isIdempotencyToken()){continue}const v=this.getKey(V,K.getMergedTraits().xmlName);const ee=`${p}${v}`;this.write(K,d[V],ee);i=true}if(!i&&v.isUnionSchema()){const{$unknown:i}=d;if(Array.isArray(i)){const[d,v]=i;const V=`${p}${d}`;this.write(15,v,V)}}}}else if(v.isUnitSchema());else{throw new Error(`@aws-sdk/core/protocols - QuerySerializer unrecognized schema type ${v.getName(true)}`)}}flush(){if(this.buffer===undefined){throw new Error("@aws-sdk/core/protocols - QuerySerializer cannot flush with nothing written to buffer.")}const i=this.buffer;delete this.buffer;return i}getKey(i,d){const p=d??i;if(this.settings.capitalizeKeys){return p[0].toUpperCase()+p.slice(1)}return p}writeKey(i){if(i.endsWith(".")){i=i.slice(0,i.length-1)}this.buffer+=`&${ie.extendedEncodeURIComponent(i)}=`}writeValue(i){this.buffer+=ie.extendedEncodeURIComponent(i)}}class AwsQueryProtocol extends ie.RpcProtocol{options;serializer;deserializer;mixin=new ProtocolLib;constructor(i){super({defaultNamespace:i.defaultNamespace});this.options=i;const d={timestampFormat:{useTrait:true,default:5},httpBindings:false,xmlNamespace:i.xmlNamespace,serviceNamespace:i.defaultNamespace,serializeEmptyLists:true};this.serializer=new QueryShapeSerializer(d);this.deserializer=new XmlShapeDeserializer(d)}getShapeId(){return"aws.protocols#awsQuery"}setSerdeContext(i){this.serializer.setSerdeContext(i);this.deserializer.setSerdeContext(i)}getPayloadCodec(){throw new Error("AWSQuery protocol has no payload codec.")}async serializeRequest(i,d,p){const v=await super.serializeRequest(i,d,p);if(!v.path.endsWith("/")){v.path+="/"}Object.assign(v.headers,{"content-type":`application/x-www-form-urlencoded`});if(ne.deref(i.input)==="unit"||!v.body){v.body=""}const V=i.name.split("#")[1]??i.name;v.body=`Action=${V}&Version=${this.options.version}`+v.body;if(v.body.endsWith("&")){v.body=v.body.slice(-1)}return v}async deserializeResponse(i,d,p){const v=this.deserializer;const V=ne.NormalizedSchema.of(i.output);const K={};if(p.statusCode>=300){const V=await ie.collectBody(p.body,d);if(V.byteLength>0){Object.assign(K,await v.read(15,V))}await this.handleError(i,d,p,K,this.deserializeMetadata(p))}for(const i in p.headers){const d=p.headers[i];delete p.headers[i];p.headers[i.toLowerCase()]=d}const ee=i.name.split("#")[1]??i.name;const te=V.isStructSchema()&&this.useNestedResult()?ee+"Result":undefined;const re=await ie.collectBody(p.body,d);if(re.byteLength>0){Object.assign(K,await v.read(V,re,te))}const se={$metadata:this.deserializeMetadata(p),...K};return se}useNestedResult(){return true}async handleError(i,d,p,v,V){const K=this.loadQueryErrorCode(p,v)??"Unknown";const ee=this.loadQueryError(v);const te=this.loadQueryErrorMessage(v);ee.message=te;ee.Error={Type:ee.Type,Code:ee.Code,Message:te};const{errorSchema:re,errorMetadata:se}=await this.mixin.getErrorSchemaOrThrowBaseException(K,this.options.defaultNamespace,p,ee,V,this.mixin.findQueryCompatibleError);const ie=ne.NormalizedSchema.of(re);const oe=ne.TypeRegistry.for(re[1]).getErrorCtor(re)??Error;const ae=new oe(te);const Ae={Type:ee.Error.Type,Code:ee.Error.Code,Error:ee.Error};for(const[i,d]of ie.structIterator()){const p=d.getMergedTraits().xmlName??i;const V=ee[p]??v[p];Ae[i]=this.deserializer.readSchema(d,V)}throw this.mixin.decorateServiceException(Object.assign(ae,se,{$fault:ie.getMergedTraits().error,message:te},Ae),v)}loadQueryErrorCode(i,d){const p=(d.Errors?.[0]?.Error??d.Errors?.Error??d.Error)?.Code;if(p!==undefined){return p}if(i.statusCode==404){return"NotFound"}}loadQueryError(i){return i.Errors?.[0]?.Error??i.Errors?.Error??i.Error}loadQueryErrorMessage(i){const d=this.loadQueryError(i);return d?.message??d?.Message??i.message??i.Message??"Unknown"}getDefaultContentType(){return"application/x-www-form-urlencoded"}}class AwsEc2QueryProtocol extends AwsQueryProtocol{options;constructor(i){super(i);this.options=i;const d={capitalizeKeys:true,flattenLists:true,serializeEmptyLists:false};Object.assign(this.serializer.settings,d)}useNestedResult(){return false}}const parseXmlBody=(i,d)=>collectBodyString(i,d).then((i=>{if(i.length){let d;try{d=ce.parseXML(i)}catch(d){if(d&&typeof d==="object"){Object.defineProperty(d,"$responseBodyText",{value:i})}throw d}const p="#text";const v=Object.keys(d)[0];const V=d[v];if(V[p]){V[v]=V[p];delete V[p]}return se.getValueFromTextNode(V)}return{}}));const parseXmlErrorBody=async(i,d)=>{const p=await parseXmlBody(i,d);if(p.Error){p.Error.message=p.Error.message??p.Error.Message}return p};const loadRestXmlErrorCode=(i,d)=>{if(d?.Error?.Code!==undefined){return d.Error.Code}if(d?.Code!==undefined){return d.Code}if(i.statusCode==404){return"NotFound"}};class XmlShapeSerializer extends SerdeContextConfig{settings;stringBuffer;byteBuffer;buffer;constructor(i){super();this.settings=i}write(i,d){const p=ne.NormalizedSchema.of(i);if(p.isStringSchema()&&typeof d==="string"){this.stringBuffer=d}else if(p.isBlobSchema()){this.byteBuffer="byteLength"in d?d:(this.serdeContext?.base64Decoder??ae.fromBase64)(d)}else{this.buffer=this.writeStruct(p,d,undefined);const i=p.getMergedTraits();if(i.httpPayload&&!i.xmlName){this.buffer.withName(p.getName())}}}flush(){if(this.byteBuffer!==undefined){const i=this.byteBuffer;delete this.byteBuffer;return i}if(this.stringBuffer!==undefined){const i=this.stringBuffer;delete this.stringBuffer;return i}const i=this.buffer;if(this.settings.xmlNamespace){if(!i?.attributes?.["xmlns"]){i.addAttribute("xmlns",this.settings.xmlNamespace)}}delete this.buffer;return i.toString()}writeStruct(i,d,p){const v=i.getMergedTraits();const V=i.isMemberSchema()&&!v.httpPayload?i.getMemberTraits().xmlName??i.getMemberName():v.xmlName??i.getName();if(!V||!i.isStructSchema()){throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write struct with empty name or non-struct, schema=${i.getName(true)}.`)}const K=ce.XmlNode.of(V);const[ee,te]=this.getXmlnsAttribute(i,p);for(const[p,v]of i.structIterator()){const i=d[p];if(i!=null||v.isIdempotencyToken()){if(v.getMergedTraits().xmlAttribute){K.addAttribute(v.getMergedTraits().xmlName??p,this.writeSimple(v,i));continue}if(v.isListSchema()){this.writeList(v,i,K,te)}else if(v.isMapSchema()){this.writeMap(v,i,K,te)}else if(v.isStructSchema()){K.addChildNode(this.writeStruct(v,i,te))}else{const d=ce.XmlNode.of(v.getMergedTraits().xmlName??v.getMemberName());this.writeSimpleInto(v,i,d,te);K.addChildNode(d)}}}const{$unknown:re}=d;if(re&&i.isUnionSchema()&&Array.isArray(re)&&Object.keys(d).length===1){const[i,p]=re;const v=ce.XmlNode.of(i);if(typeof p!=="string"){if(d instanceof ce.XmlNode||d instanceof ce.XmlText){K.addChildNode(d)}else{throw new Error(`@aws-sdk - $unknown union member in XML requires `+`value of type string, @aws-sdk/xml-builder::XmlNode or XmlText.`)}}this.writeSimpleInto(0,p,v,te);K.addChildNode(v)}if(te){K.addAttribute(ee,te)}return K}writeList(i,d,p,v){if(!i.isMemberSchema()){throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member list: ${i.getName(true)}`)}const V=i.getMergedTraits();const K=i.getValueSchema();const ee=K.getMergedTraits();const te=!!ee.sparse;const re=!!V.xmlFlattened;const[ne,se]=this.getXmlnsAttribute(i,v);const writeItem=(d,p)=>{if(K.isListSchema()){this.writeList(K,Array.isArray(p)?p:[p],d,se)}else if(K.isMapSchema()){this.writeMap(K,p,d,se)}else if(K.isStructSchema()){const v=this.writeStruct(K,p,se);d.addChildNode(v.withName(re?V.xmlName??i.getMemberName():ee.xmlName??"member"))}else{const v=ce.XmlNode.of(re?V.xmlName??i.getMemberName():ee.xmlName??"member");this.writeSimpleInto(K,p,v,se);d.addChildNode(v)}};if(re){for(const i of d){if(te||i!=null){writeItem(p,i)}}}else{const v=ce.XmlNode.of(V.xmlName??i.getMemberName());if(se){v.addAttribute(ne,se)}for(const i of d){if(te||i!=null){writeItem(v,i)}}p.addChildNode(v)}}writeMap(i,d,p,v,V=false){if(!i.isMemberSchema()){throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member map: ${i.getName(true)}`)}const K=i.getMergedTraits();const ee=i.getKeySchema();const te=ee.getMergedTraits();const re=te.xmlName??"key";const ne=i.getValueSchema();const se=ne.getMergedTraits();const ie=se.xmlName??"value";const oe=!!se.sparse;const ae=!!K.xmlFlattened;const[Ae,le]=this.getXmlnsAttribute(i,v);const addKeyValue=(i,d,p)=>{const v=ce.XmlNode.of(re,d);const[V,K]=this.getXmlnsAttribute(ee,le);if(K){v.addAttribute(V,K)}i.addChildNode(v);let te=ce.XmlNode.of(ie);if(ne.isListSchema()){this.writeList(ne,p,te,le)}else if(ne.isMapSchema()){this.writeMap(ne,p,te,le,true)}else if(ne.isStructSchema()){te=this.writeStruct(ne,p,le)}else{this.writeSimpleInto(ne,p,te,le)}i.addChildNode(te)};if(ae){for(const[v,V]of Object.entries(d)){if(oe||V!=null){const d=ce.XmlNode.of(K.xmlName??i.getMemberName());addKeyValue(d,v,V);p.addChildNode(d)}}}else{let v;if(!V){v=ce.XmlNode.of(K.xmlName??i.getMemberName());if(le){v.addAttribute(Ae,le)}p.addChildNode(v)}for(const[i,K]of Object.entries(d)){if(oe||K!=null){const d=ce.XmlNode.of("entry");addKeyValue(d,i,K);(V?p:v).addChildNode(d)}}}}writeSimple(i,d){if(null===d){throw new Error("@aws-sdk/core/protocols - (XML serializer) cannot write null value.")}const p=ne.NormalizedSchema.of(i);let v=null;if(d&&typeof d==="object"){if(p.isBlobSchema()){v=(this.serdeContext?.base64Encoder??ae.toBase64)(d)}else if(p.isTimestampSchema()&&d instanceof Date){const i=ie.determineTimestampFormat(p,this.settings);switch(i){case 5:v=d.toISOString().replace(".000Z","Z");break;case 6:v=se.dateToUtcString(d);break;case 7:v=String(d.getTime()/1e3);break;default:console.warn("Missing timestamp format, using http date",d);v=se.dateToUtcString(d);break}}else if(p.isBigDecimalSchema()&&d){if(d instanceof oe.NumericValue){return d.string}return String(d)}else if(p.isMapSchema()||p.isListSchema()){throw new Error("@aws-sdk/core/protocols - xml serializer, cannot call _write() on List/Map schema, call writeList or writeMap() instead.")}else{throw new Error(`@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${p.getName(true)}`)}}if(p.isBooleanSchema()||p.isNumericSchema()||p.isBigIntegerSchema()||p.isBigDecimalSchema()){v=String(d)}if(p.isStringSchema()){if(d===undefined&&p.isIdempotencyToken()){v=oe.generateIdempotencyToken()}else{v=String(d)}}if(v===null){throw new Error(`Unhandled schema-value pair ${p.getName(true)}=${d}`)}return v}writeSimpleInto(i,d,p,v){const V=this.writeSimple(i,d);const K=ne.NormalizedSchema.of(i);const ee=new ce.XmlText(V);const[te,re]=this.getXmlnsAttribute(K,v);if(re){p.addAttribute(te,re)}p.addChildNode(ee)}getXmlnsAttribute(i,d){const p=i.getMergedTraits();const[v,V]=p.xmlNamespace??[];if(V&&V!==d){return[v?`xmlns:${v}`:"xmlns",V]}return[void 0,void 0]}}class XmlCodec extends SerdeContextConfig{settings;constructor(i){super();this.settings=i}createSerializer(){const i=new XmlShapeSerializer(this.settings);i.setSerdeContext(this.serdeContext);return i}createDeserializer(){const i=new XmlShapeDeserializer(this.settings);i.setSerdeContext(this.serdeContext);return i}}class AwsRestXmlProtocol extends ie.HttpBindingProtocol{codec;serializer;deserializer;mixin=new ProtocolLib;constructor(i){super(i);const d={timestampFormat:{useTrait:true,default:5},httpBindings:true,xmlNamespace:i.xmlNamespace,serviceNamespace:i.defaultNamespace};this.codec=new XmlCodec(d);this.serializer=new ie.HttpInterceptingShapeSerializer(this.codec.createSerializer(),d);this.deserializer=new ie.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(),d)}getPayloadCodec(){return this.codec}getShapeId(){return"aws.protocols#restXml"}async serializeRequest(i,d,p){const v=await super.serializeRequest(i,d,p);const V=ne.NormalizedSchema.of(i.input);if(!v.headers["content-type"]){const i=this.mixin.resolveRestContentType(this.getDefaultContentType(),V);if(i){v.headers["content-type"]=i}}if(typeof v.body==="string"&&v.headers["content-type"]===this.getDefaultContentType()&&!v.body.startsWith("'+v.body}return v}async deserializeResponse(i,d,p){return super.deserializeResponse(i,d,p)}async handleError(i,d,p,v,V){const K=loadRestXmlErrorCode(p,v)??"Unknown";const{errorSchema:ee,errorMetadata:te}=await this.mixin.getErrorSchemaOrThrowBaseException(K,this.options.defaultNamespace,p,v,V);const re=ne.NormalizedSchema.of(ee);const se=v.Error?.message??v.Error?.Message??v.message??v.Message??"Unknown";const ie=ne.TypeRegistry.for(ee[1]).getErrorCtor(ee)??Error;const oe=new ie(se);await this.deserializeHttpMessage(ee,d,p,v);const ae={};for(const[i,d]of re.structIterator()){const p=d.getMergedTraits().xmlName??i;const V=v.Error?.[p]??v[p];ae[i]=this.codec.createDeserializer().readSchema(d,V)}throw this.mixin.decorateServiceException(Object.assign(oe,te,{$fault:re.getMergedTraits().error,message:se},ae),v)}getDefaultContentType(){return"application/xml"}hasUnstructuredPayloadBinding(i){for(const[,d]of i.structIterator()){if(d.getMergedTraits().httpPayload){return!(d.isStructSchema()||d.isMapSchema()||d.isListSchema())}}return false}}d.AWSSDKSigV4Signer=ue;d.AwsEc2QueryProtocol=AwsEc2QueryProtocol;d.AwsJson1_0Protocol=AwsJson1_0Protocol;d.AwsJson1_1Protocol=AwsJson1_1Protocol;d.AwsJsonRpcProtocol=AwsJsonRpcProtocol;d.AwsQueryProtocol=AwsQueryProtocol;d.AwsRestJsonProtocol=AwsRestJsonProtocol;d.AwsRestXmlProtocol=AwsRestXmlProtocol;d.AwsSdkSigV4ASigner=AwsSdkSigV4ASigner;d.AwsSdkSigV4Signer=AwsSdkSigV4Signer;d.AwsSmithyRpcV2CborProtocol=AwsSmithyRpcV2CborProtocol;d.JsonCodec=JsonCodec;d.JsonShapeDeserializer=JsonShapeDeserializer;d.JsonShapeSerializer=JsonShapeSerializer;d.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS=fe;d.NODE_SIGV4A_CONFIG_OPTIONS=ge;d.XmlCodec=XmlCodec;d.XmlShapeDeserializer=XmlShapeDeserializer;d.XmlShapeSerializer=XmlShapeSerializer;d._toBool=_toBool;d._toNum=_toNum;d._toStr=_toStr;d.awsExpectUnion=awsExpectUnion;d.emitWarningIfUnsupportedVersion=emitWarningIfUnsupportedVersion;d.getBearerTokenEnvKey=getBearerTokenEnvKey;d.loadRestJsonErrorCode=loadRestJsonErrorCode;d.loadRestXmlErrorCode=loadRestXmlErrorCode;d.parseJsonBody=parseJsonBody;d.parseJsonErrorBody=parseJsonErrorBody;d.parseXmlBody=parseXmlBody;d.parseXmlErrorBody=parseXmlErrorBody;d.resolveAWSSDKSigV4Config=pe;d.resolveAwsSdkSigV4AConfig=resolveAwsSdkSigV4AConfig;d.resolveAwsSdkSigV4Config=resolveAwsSdkSigV4Config;d.setCredentialFeature=setCredentialFeature;d.setFeature=setFeature;d.setTokenFeature=setTokenFeature;d.state=le;d.validateSigningProperties=validateSigningProperties},5152:(i,d)=>{const p={warningEmitted:false};const emitWarningIfUnsupportedVersion=i=>{if(i&&!p.warningEmitted&&parseInt(i.substring(1,i.indexOf(".")))<20){p.warningEmitted=true;process.emitWarning(`NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will\nno longer support Node.js ${i} in January 2026.\n\nTo continue receiving updates to AWS services, bug fixes, and security\nupdates please upgrade to a supported Node.js LTS version.\n\nMore information can be found at: https://a.co/c895JFp`)}};function setCredentialFeature(i,d,p){if(!i.$source){i.$source={}}i.$source[d]=p;return i}function setFeature(i,d,p){if(!i.__aws_sdk_context){i.__aws_sdk_context={features:{}}}else if(!i.__aws_sdk_context.features){i.__aws_sdk_context.features={}}i.__aws_sdk_context.features[d]=p}function setTokenFeature(i,d,p){if(!i.$source){i.$source={}}i.$source[d]=p;return i}d.emitWarningIfUnsupportedVersion=emitWarningIfUnsupportedVersion;d.setCredentialFeature=setCredentialFeature;d.setFeature=setFeature;d.setTokenFeature=setTokenFeature;d.state=p},37288:(i,d,p)=>{var v=p(64645);var V=p(26890);var K=p(61411);var ee=p(93422);var te=p(92430);var re=p(68385);var ne=p(71577);var se=p(94274);class ProtocolLib{queryCompat;constructor(i=false){this.queryCompat=i}resolveRestContentType(i,d){const p=d.getMemberSchemas();const v=Object.values(p).find((i=>!!i.getMergedTraits().httpPayload));if(v){const d=v.getMergedTraits().mediaType;if(d){return d}else if(v.isStringSchema()){return"text/plain"}else if(v.isBlobSchema()){return"application/octet-stream"}else{return i}}else if(!d.isUnitSchema()){const d=Object.values(p).find((i=>{const{httpQuery:d,httpQueryParams:p,httpHeader:v,httpLabel:V,httpPrefixHeaders:K}=i.getMergedTraits();const ee=K===void 0;return!d&&!p&&!v&&!V&&ee}));if(d){return i}}}async getErrorSchemaOrThrowBaseException(i,d,p,v,K,ee){let te=d;let re=i;if(i.includes("#")){[te,re]=i.split("#")}const ne={$metadata:K,$fault:p.statusCode<500?"client":"server"};const se=V.TypeRegistry.for(te);try{const d=ee?.(se,re)??se.getSchema(i);return{errorSchema:d,errorMetadata:ne}}catch(i){v.message=v.message??v.Message??"UnknownError";const d=V.TypeRegistry.for("smithy.ts.sdk.synthetic."+te);const p=d.getBaseException();if(p){const i=d.getErrorCtor(p)??Error;throw this.decorateServiceException(Object.assign(new i({name:re}),ne),v)}throw this.decorateServiceException(Object.assign(new Error(re),ne),v)}}decorateServiceException(i,d={}){if(this.queryCompat){const p=i.Message??d.Message;const v=K.decorateServiceException(i,d);if(p){v.message=p}v.Error={...v.Error,Type:v.Error.Type,Code:v.Error.Code,Message:v.Error.message??v.Error.Message??p};const V=v.$metadata.requestId;if(V){v.RequestId=V}return v}return K.decorateServiceException(i,d)}setQueryCompatError(i,d){const p=d.headers?.["x-amzn-query-error"];if(i!==undefined&&p!=null){const[d,v]=p.split(";");const V=Object.entries(i);const K={Code:d,Type:v};Object.assign(i,K);for(const[i,d]of V){K[i==="message"?"Message":i]=d}delete K.__type;i.Error=K}}queryCompatOutput(i,d){if(i.Error){d.Error=i.Error}if(i.Type){d.Type=i.Type}if(i.Code){d.Code=i.Code}}findQueryCompatibleError(i,d){try{return i.getSchema(d)}catch(p){return i.find((i=>V.NormalizedSchema.of(i).getMergedTraits().awsQueryError?.[0]===d))}}}class AwsSmithyRpcV2CborProtocol extends v.SmithyRpcV2CborProtocol{awsQueryCompatible;mixin;constructor({defaultNamespace:i,awsQueryCompatible:d}){super({defaultNamespace:i});this.awsQueryCompatible=!!d;this.mixin=new ProtocolLib(this.awsQueryCompatible)}async serializeRequest(i,d,p){const v=await super.serializeRequest(i,d,p);if(this.awsQueryCompatible){v.headers["x-amzn-query-mode"]="true"}return v}async handleError(i,d,p,K,ee){if(this.awsQueryCompatible){this.mixin.setQueryCompatError(K,p)}const te=(()=>{const i=p.headers["x-amzn-query-error"];if(i&&this.awsQueryCompatible){return i.split(";")[0]}return v.loadSmithyRpcV2CborErrorCode(p,K)??"Unknown"})();const{errorSchema:re,errorMetadata:ne}=await this.mixin.getErrorSchemaOrThrowBaseException(te,this.options.defaultNamespace,p,K,ee,this.awsQueryCompatible?this.mixin.findQueryCompatibleError:undefined);const se=V.NormalizedSchema.of(re);const ie=K.message??K.Message??"Unknown";const oe=V.TypeRegistry.for(re[1]).getErrorCtor(re)??Error;const ae=new oe(ie);const Ae={};for(const[i,d]of se.structIterator()){if(K[i]!=null){Ae[i]=this.deserializer.readValue(d,K[i])}}if(this.awsQueryCompatible){this.mixin.queryCompatOutput(K,Ae)}throw this.mixin.decorateServiceException(Object.assign(ae,ne,{$fault:se.getMergedTraits().error,message:ie},Ae),K)}}const _toStr=i=>{if(i==null){return i}if(typeof i==="number"||typeof i==="bigint"){const d=new Error(`Received number ${i} where a string was expected.`);d.name="Warning";console.warn(d);return String(i)}if(typeof i==="boolean"){const d=new Error(`Received boolean ${i} where a string was expected.`);d.name="Warning";console.warn(d);return String(i)}return i};const _toBool=i=>{if(i==null){return i}if(typeof i==="string"){const d=i.toLowerCase();if(i!==""&&d!=="false"&&d!=="true"){const d=new Error(`Received string "${i}" where a boolean was expected.`);d.name="Warning";console.warn(d)}return i!==""&&d!=="false"}return i};const _toNum=i=>{if(i==null){return i}if(typeof i==="string"){const d=Number(i);if(d.toString()!==i){const d=new Error(`Received string "${i}" where a number was expected.`);d.name="Warning";console.warn(d);return i}return d}return i};class SerdeContextConfig{serdeContext;setSerdeContext(i){this.serdeContext=i}}class UnionSerde{from;to;keys;constructor(i,d){this.from=i;this.to=d;this.keys=new Set(Object.keys(this.from).filter((i=>i!=="__type")))}mark(i){this.keys.delete(i)}hasUnknown(){return this.keys.size===1&&Object.keys(this.to).length===0}writeUnknown(){if(this.hasUnknown()){const i=this.keys.values().next().value;const d=this.from[i];this.to.$unknown=[i,d]}}}function jsonReviver(i,d,p){if(p?.source){const i=p.source;if(typeof d==="number"){if(d>Number.MAX_SAFE_INTEGER||dK.collectBody(i,d).then((i=>(d?.utf8Encoder??ne.toUtf8)(i)));const parseJsonBody=(i,d)=>collectBodyString(i,d).then((i=>{if(i.length){try{return JSON.parse(i)}catch(d){if(d?.name==="SyntaxError"){Object.defineProperty(d,"$responseBodyText",{value:i})}throw d}}return{}}));const parseJsonErrorBody=async(i,d)=>{const p=await parseJsonBody(i,d);p.message=p.message??p.Message;return p};const loadRestJsonErrorCode=(i,d)=>{const findKey=(i,d)=>Object.keys(i).find((i=>i.toLowerCase()===d.toLowerCase()));const sanitizeErrorCode=i=>{let d=i;if(typeof d==="number"){d=d.toString()}if(d.indexOf(",")>=0){d=d.split(",")[0]}if(d.indexOf(":")>=0){d=d.split(":")[0]}if(d.indexOf("#")>=0){d=d.split("#")[1]}return d};const p=findKey(i.headers,"x-amzn-errortype");if(p!==undefined){return sanitizeErrorCode(i.headers[p])}if(d&&typeof d==="object"){const i=findKey(d,"code");if(i&&d[i]!==undefined){return sanitizeErrorCode(d[i])}if(d["__type"]!==undefined){return sanitizeErrorCode(d["__type"])}}};class JsonShapeDeserializer extends SerdeContextConfig{settings;constructor(i){super();this.settings=i}async read(i,d){return this._read(i,typeof d==="string"?JSON.parse(d,jsonReviver):await parseJsonBody(d,this.serdeContext))}readObject(i,d){return this._read(i,d)}_read(i,d){const p=d!==null&&typeof d==="object";const v=V.NormalizedSchema.of(i);if(p){if(v.isStructSchema()){const i=d;const p=v.isUnionSchema();const V={};let K=void 0;const{jsonName:ee}=this.settings;if(ee){K={}}let te;if(p){te=new UnionSerde(i,V)}for(const[d,re]of v.structIterator()){let v=d;if(ee){v=re.getMergedTraits().jsonName??v;K[v]=d}if(p){te.mark(v)}if(i[v]!=null){V[d]=this._read(re,i[v])}}if(p){te.writeUnknown()}else if(typeof i.__type==="string"){for(const[d,p]of Object.entries(i)){const i=ee?K[d]??d:d;if(!(i in V)){V[i]=p}}}return V}if(Array.isArray(d)&&v.isListSchema()){const i=v.getValueSchema();const p=[];const V=!!v.getMergedTraits().sparse;for(const v of d){if(V||v!=null){p.push(this._read(i,v))}}return p}if(v.isMapSchema()){const i=v.getValueSchema();const p={};const V=!!v.getMergedTraits().sparse;for(const[v,K]of Object.entries(d)){if(V||K!=null){p[v]=this._read(i,K)}}return p}}if(v.isBlobSchema()&&typeof d==="string"){return re.fromBase64(d)}const K=v.getMergedTraits().mediaType;if(v.isStringSchema()&&typeof d==="string"&&K){const i=K==="application/json"||K.endsWith("+json");if(i){return te.LazyJsonString.from(d)}return d}if(v.isTimestampSchema()&&d!=null){const i=ee.determineTimestampFormat(v,this.settings);switch(i){case 5:return te.parseRfc3339DateTimeWithOffset(d);case 6:return te.parseRfc7231DateTime(d);case 7:return te.parseEpochTimestamp(d);default:console.warn("Missing timestamp format, parsing value with Date constructor:",d);return new Date(d)}}if(v.isBigIntegerSchema()&&(typeof d==="number"||typeof d==="string")){return BigInt(d)}if(v.isBigDecimalSchema()&&d!=undefined){if(d instanceof te.NumericValue){return d}const i=d;if(i.type==="bigDecimal"&&"string"in i){return new te.NumericValue(i.string,i.type)}return new te.NumericValue(String(d),"bigDecimal")}if(v.isNumericSchema()&&typeof d==="string"){switch(d){case"Infinity":return Infinity;case"-Infinity":return-Infinity;case"NaN":return NaN}return d}if(v.isDocumentSchema()){if(p){const i=Array.isArray(d)?[]:{};for(const[p,V]of Object.entries(d)){if(V instanceof te.NumericValue){i[p]=V}else{i[p]=this._read(v,V)}}return i}else{return structuredClone(d)}}return d}}const ie=String.fromCharCode(925);class JsonReplacer{values=new Map;counter=0;stage=0;createReplacer(){if(this.stage===1){throw new Error("@aws-sdk/core/protocols - JsonReplacer already created.")}if(this.stage===2){throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted.")}this.stage=1;return(i,d)=>{if(d instanceof te.NumericValue){const i=`${ie+"nv"+this.counter++}_`+d.string;this.values.set(`"${i}"`,d.string);return i}if(typeof d==="bigint"){const i=d.toString();const p=`${ie+"b"+this.counter++}_`+i;this.values.set(`"${p}"`,i);return p}return d}}replaceInJson(i){if(this.stage===0){throw new Error("@aws-sdk/core/protocols - JsonReplacer not created yet.")}if(this.stage===2){throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted.")}this.stage=2;if(this.counter===0){return i}for(const[d,p]of this.values){i=i.replace(d,p)}return i}}class JsonShapeSerializer extends SerdeContextConfig{settings;buffer;useReplacer=false;rootSchema;constructor(i){super();this.settings=i}write(i,d){this.rootSchema=V.NormalizedSchema.of(i);this.buffer=this._write(this.rootSchema,d)}writeDiscriminatedDocument(i,d){this.write(i,d);if(typeof this.buffer==="object"){this.buffer.__type=V.NormalizedSchema.of(i).getName(true)}}flush(){const{rootSchema:i,useReplacer:d}=this;this.rootSchema=undefined;this.useReplacer=false;if(i?.isStructSchema()||i?.isDocumentSchema()){if(!d){return JSON.stringify(this.buffer)}const i=new JsonReplacer;return i.replaceInJson(JSON.stringify(this.buffer,i.createReplacer(),0))}return this.buffer}_write(i,d,p){const v=d!==null&&typeof d==="object";const K=V.NormalizedSchema.of(i);if(v){if(K.isStructSchema()){const i=d;const p={};const{jsonName:v}=this.settings;let V=void 0;if(v){V={}}for(const[d,ee]of K.structIterator()){const te=this._write(ee,i[d],K);if(te!==undefined){let i=d;if(v){i=ee.getMergedTraits().jsonName??d;V[d]=i}p[i]=te}}if(K.isUnionSchema()&&Object.keys(p).length===0){const{$unknown:d}=i;if(Array.isArray(d)){const[i,v]=d;p[i]=this._write(15,v)}}else if(typeof i.__type==="string"){for(const[d,K]of Object.entries(i)){const i=v?V[d]??d:d;if(!(i in p)){p[i]=this._write(15,K)}}}return p}if(Array.isArray(d)&&K.isListSchema()){const i=K.getValueSchema();const p=[];const v=!!K.getMergedTraits().sparse;for(const V of d){if(v||V!=null){p.push(this._write(i,V))}}return p}if(K.isMapSchema()){const i=K.getValueSchema();const p={};const v=!!K.getMergedTraits().sparse;for(const[V,K]of Object.entries(d)){if(v||K!=null){p[V]=this._write(i,K)}}return p}if(d instanceof Uint8Array&&(K.isBlobSchema()||K.isDocumentSchema())){if(K===this.rootSchema){return d}return(this.serdeContext?.base64Encoder??re.toBase64)(d)}if(d instanceof Date&&(K.isTimestampSchema()||K.isDocumentSchema())){const i=ee.determineTimestampFormat(K,this.settings);switch(i){case 5:return d.toISOString().replace(".000Z","Z");case 6:return te.dateToUtcString(d);case 7:return d.getTime()/1e3;default:console.warn("Missing timestamp format, using epoch seconds",d);return d.getTime()/1e3}}if(d instanceof te.NumericValue){this.useReplacer=true}}if(d===null&&p?.isStructSchema()){return void 0}if(K.isStringSchema()){if(typeof d==="undefined"&&K.isIdempotencyToken()){return te.generateIdempotencyToken()}const i=K.getMergedTraits().mediaType;if(d!=null&&i){const p=i==="application/json"||i.endsWith("+json");if(p){return te.LazyJsonString.from(d)}}return d}if(typeof d==="number"&&K.isNumericSchema()){if(Math.abs(d)===Infinity||isNaN(d)){return String(d)}return d}if(typeof d==="string"&&K.isBlobSchema()){if(K===this.rootSchema){return d}return(this.serdeContext?.base64Encoder??re.toBase64)(d)}if(typeof d==="bigint"){this.useReplacer=true}if(K.isDocumentSchema()){if(v){const i=Array.isArray(d)?[]:{};for(const[p,v]of Object.entries(d)){if(v instanceof te.NumericValue){this.useReplacer=true;i[p]=v}else{i[p]=this._write(K,v)}}return i}else{return structuredClone(d)}}return d}}class JsonCodec extends SerdeContextConfig{settings;constructor(i){super();this.settings=i}createSerializer(){const i=new JsonShapeSerializer(this.settings);i.setSerdeContext(this.serdeContext);return i}createDeserializer(){const i=new JsonShapeDeserializer(this.settings);i.setSerdeContext(this.serdeContext);return i}}class AwsJsonRpcProtocol extends ee.RpcProtocol{serializer;deserializer;serviceTarget;codec;mixin;awsQueryCompatible;constructor({defaultNamespace:i,serviceTarget:d,awsQueryCompatible:p,jsonCodec:v}){super({defaultNamespace:i});this.serviceTarget=d;this.codec=v??new JsonCodec({timestampFormat:{useTrait:true,default:7},jsonName:false});this.serializer=this.codec.createSerializer();this.deserializer=this.codec.createDeserializer();this.awsQueryCompatible=!!p;this.mixin=new ProtocolLib(this.awsQueryCompatible)}async serializeRequest(i,d,p){const v=await super.serializeRequest(i,d,p);if(!v.path.endsWith("/")){v.path+="/"}Object.assign(v.headers,{"content-type":`application/x-amz-json-${this.getJsonRpcVersion()}`,"x-amz-target":`${this.serviceTarget}.${i.name}`});if(this.awsQueryCompatible){v.headers["x-amzn-query-mode"]="true"}if(V.deref(i.input)==="unit"||!v.body){v.body="{}"}return v}getPayloadCodec(){return this.codec}async handleError(i,d,p,v,K){if(this.awsQueryCompatible){this.mixin.setQueryCompatError(v,p)}const ee=loadRestJsonErrorCode(p,v)??"Unknown";const{errorSchema:te,errorMetadata:re}=await this.mixin.getErrorSchemaOrThrowBaseException(ee,this.options.defaultNamespace,p,v,K,this.awsQueryCompatible?this.mixin.findQueryCompatibleError:undefined);const ne=V.NormalizedSchema.of(te);const se=v.message??v.Message??"Unknown";const ie=V.TypeRegistry.for(te[1]).getErrorCtor(te)??Error;const oe=new ie(se);const ae={};for(const[i,d]of ne.structIterator()){if(v[i]!=null){ae[i]=this.codec.createDeserializer().readObject(d,v[i])}}if(this.awsQueryCompatible){this.mixin.queryCompatOutput(v,ae)}throw this.mixin.decorateServiceException(Object.assign(oe,re,{$fault:ne.getMergedTraits().error,message:se},ae),v)}}class AwsJson1_0Protocol extends AwsJsonRpcProtocol{constructor({defaultNamespace:i,serviceTarget:d,awsQueryCompatible:p,jsonCodec:v}){super({defaultNamespace:i,serviceTarget:d,awsQueryCompatible:p,jsonCodec:v})}getShapeId(){return"aws.protocols#awsJson1_0"}getJsonRpcVersion(){return"1.0"}getDefaultContentType(){return"application/x-amz-json-1.0"}}class AwsJson1_1Protocol extends AwsJsonRpcProtocol{constructor({defaultNamespace:i,serviceTarget:d,awsQueryCompatible:p,jsonCodec:v}){super({defaultNamespace:i,serviceTarget:d,awsQueryCompatible:p,jsonCodec:v})}getShapeId(){return"aws.protocols#awsJson1_1"}getJsonRpcVersion(){return"1.1"}getDefaultContentType(){return"application/x-amz-json-1.1"}}class AwsRestJsonProtocol extends ee.HttpBindingProtocol{serializer;deserializer;codec;mixin=new ProtocolLib;constructor({defaultNamespace:i}){super({defaultNamespace:i});const d={timestampFormat:{useTrait:true,default:7},httpBindings:true,jsonName:true};this.codec=new JsonCodec(d);this.serializer=new ee.HttpInterceptingShapeSerializer(this.codec.createSerializer(),d);this.deserializer=new ee.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(),d)}getShapeId(){return"aws.protocols#restJson1"}getPayloadCodec(){return this.codec}setSerdeContext(i){this.codec.setSerdeContext(i);super.setSerdeContext(i)}async serializeRequest(i,d,p){const v=await super.serializeRequest(i,d,p);const K=V.NormalizedSchema.of(i.input);if(!v.headers["content-type"]){const i=this.mixin.resolveRestContentType(this.getDefaultContentType(),K);if(i){v.headers["content-type"]=i}}if(v.body==null&&v.headers["content-type"]===this.getDefaultContentType()){v.body="{}"}return v}async deserializeResponse(i,d,p){const v=await super.deserializeResponse(i,d,p);const K=V.NormalizedSchema.of(i.output);for(const[i,d]of K.structIterator()){if(d.getMemberTraits().httpPayload&&!(i in v)){v[i]=null}}return v}async handleError(i,d,p,v,K){const ee=loadRestJsonErrorCode(p,v)??"Unknown";const{errorSchema:te,errorMetadata:re}=await this.mixin.getErrorSchemaOrThrowBaseException(ee,this.options.defaultNamespace,p,v,K);const ne=V.NormalizedSchema.of(te);const se=v.message??v.Message??"Unknown";const ie=V.TypeRegistry.for(te[1]).getErrorCtor(te)??Error;const oe=new ie(se);await this.deserializeHttpMessage(te,d,p,v);const ae={};for(const[i,d]of ne.structIterator()){const p=d.getMergedTraits().jsonName??i;ae[i]=this.codec.createDeserializer().readObject(d,v[p])}throw this.mixin.decorateServiceException(Object.assign(oe,re,{$fault:ne.getMergedTraits().error,message:se},ae),v)}getDefaultContentType(){return"application/json"}}const awsExpectUnion=i=>{if(i==null){return undefined}if(typeof i==="object"&&"__type"in i){delete i.__type}return K.expectUnion(i)};class XmlShapeDeserializer extends SerdeContextConfig{settings;stringDeserializer;constructor(i){super();this.settings=i;this.stringDeserializer=new ee.FromStringShapeDeserializer(i)}setSerdeContext(i){this.serdeContext=i;this.stringDeserializer.setSerdeContext(i)}read(i,d,p){const v=V.NormalizedSchema.of(i);const K=v.getMemberSchemas();const ee=v.isStructSchema()&&v.isMemberSchema()&&!!Object.values(K).find((i=>!!i.getMemberTraits().eventPayload));if(ee){const i={};const p=Object.keys(K)[0];const v=K[p];if(v.isBlobSchema()){i[p]=d}else{i[p]=this.read(K[p],d)}return i}const te=(this.serdeContext?.utf8Encoder??ne.toUtf8)(d);const re=this.parseXml(te);return this.readSchema(i,p?re[p]:re)}readSchema(i,d){const p=V.NormalizedSchema.of(i);if(p.isUnitSchema()){return}const v=p.getMergedTraits();if(p.isListSchema()&&!Array.isArray(d)){return this.readSchema(p,[d])}if(d==null){return d}if(typeof d==="object"){const i=!!v.sparse;const V=!!v.xmlFlattened;if(p.isListSchema()){const v=p.getValueSchema();const K=[];const ee=v.getMergedTraits().xmlName??"member";const te=V?d:(d[0]??d)[ee];const re=Array.isArray(te)?te:[te];for(const d of re){if(d!=null||i){K.push(this.readSchema(v,d))}}return K}const K={};if(p.isMapSchema()){const v=p.getKeySchema();const ee=p.getValueSchema();let te;if(V){te=Array.isArray(d)?d:[d]}else{te=Array.isArray(d.entry)?d.entry:[d.entry]}const re=v.getMergedTraits().xmlName??"key";const ne=ee.getMergedTraits().xmlName??"value";for(const d of te){const p=d[re];const v=d[ne];if(v!=null||i){K[p]=this.readSchema(ee,v)}}return K}if(p.isStructSchema()){const i=p.isUnionSchema();let v;if(i){v=new UnionSerde(d,K)}for(const[V,ee]of p.structIterator()){const p=ee.getMergedTraits();const te=!p.httpPayload?ee.getMemberTraits().xmlName??V:p.xmlName??ee.getName();if(i){v.mark(te)}if(d[te]!=null){K[V]=this.readSchema(ee,d[te])}}if(i){v.writeUnknown()}return K}if(p.isDocumentSchema()){return d}throw new Error(`@aws-sdk/core/protocols - xml deserializer unhandled schema type for ${p.getName(true)}`)}if(p.isListSchema()){return[]}if(p.isMapSchema()||p.isStructSchema()){return{}}return this.stringDeserializer.read(p,d)}parseXml(i){if(i.length){let d;try{d=se.parseXML(i)}catch(d){if(d&&typeof d==="object"){Object.defineProperty(d,"$responseBodyText",{value:i})}throw d}const p="#text";const v=Object.keys(d)[0];const V=d[v];if(V[p]){V[v]=V[p];delete V[p]}return K.getValueFromTextNode(V)}return{}}}class QueryShapeSerializer extends SerdeContextConfig{settings;buffer;constructor(i){super();this.settings=i}write(i,d,p=""){if(this.buffer===undefined){this.buffer=""}const v=V.NormalizedSchema.of(i);if(p&&!p.endsWith(".")){p+="."}if(v.isBlobSchema()){if(typeof d==="string"||d instanceof Uint8Array){this.writeKey(p);this.writeValue((this.serdeContext?.base64Encoder??re.toBase64)(d))}}else if(v.isBooleanSchema()||v.isNumericSchema()||v.isStringSchema()){if(d!=null){this.writeKey(p);this.writeValue(String(d))}else if(v.isIdempotencyToken()){this.writeKey(p);this.writeValue(te.generateIdempotencyToken())}}else if(v.isBigIntegerSchema()){if(d!=null){this.writeKey(p);this.writeValue(String(d))}}else if(v.isBigDecimalSchema()){if(d!=null){this.writeKey(p);this.writeValue(d instanceof te.NumericValue?d.string:String(d))}}else if(v.isTimestampSchema()){if(d instanceof Date){this.writeKey(p);const i=ee.determineTimestampFormat(v,this.settings);switch(i){case 5:this.writeValue(d.toISOString().replace(".000Z","Z"));break;case 6:this.writeValue(K.dateToUtcString(d));break;case 7:this.writeValue(String(d.getTime()/1e3));break}}}else if(v.isDocumentSchema()){if(Array.isArray(d)){this.write(64|15,d,p)}else if(d instanceof Date){this.write(4,d,p)}else if(d instanceof Uint8Array){this.write(21,d,p)}else if(d&&typeof d==="object"){this.write(128|15,d,p)}else{this.writeKey(p);this.writeValue(String(d))}}else if(v.isListSchema()){if(Array.isArray(d)){if(d.length===0){if(this.settings.serializeEmptyLists){this.writeKey(p);this.writeValue("")}}else{const i=v.getValueSchema();const V=this.settings.flattenLists||v.getMergedTraits().xmlFlattened;let K=1;for(const v of d){if(v==null){continue}const d=this.getKey("member",i.getMergedTraits().xmlName);const ee=V?`${p}${K}`:`${p}${d}.${K}`;this.write(i,v,ee);++K}}}}else if(v.isMapSchema()){if(d&&typeof d==="object"){const i=v.getKeySchema();const V=v.getValueSchema();const K=v.getMergedTraits().xmlFlattened;let ee=1;for(const[v,te]of Object.entries(d)){if(te==null){continue}const d=this.getKey("key",i.getMergedTraits().xmlName);const re=K?`${p}${ee}.${d}`:`${p}entry.${ee}.${d}`;const ne=this.getKey("value",V.getMergedTraits().xmlName);const se=K?`${p}${ee}.${ne}`:`${p}entry.${ee}.${ne}`;this.write(i,v,re);this.write(V,te,se);++ee}}}else if(v.isStructSchema()){if(d&&typeof d==="object"){let i=false;for(const[V,K]of v.structIterator()){if(d[V]==null&&!K.isIdempotencyToken()){continue}const v=this.getKey(V,K.getMergedTraits().xmlName);const ee=`${p}${v}`;this.write(K,d[V],ee);i=true}if(!i&&v.isUnionSchema()){const{$unknown:i}=d;if(Array.isArray(i)){const[d,v]=i;const V=`${p}${d}`;this.write(15,v,V)}}}}else if(v.isUnitSchema());else{throw new Error(`@aws-sdk/core/protocols - QuerySerializer unrecognized schema type ${v.getName(true)}`)}}flush(){if(this.buffer===undefined){throw new Error("@aws-sdk/core/protocols - QuerySerializer cannot flush with nothing written to buffer.")}const i=this.buffer;delete this.buffer;return i}getKey(i,d){const p=d??i;if(this.settings.capitalizeKeys){return p[0].toUpperCase()+p.slice(1)}return p}writeKey(i){if(i.endsWith(".")){i=i.slice(0,i.length-1)}this.buffer+=`&${ee.extendedEncodeURIComponent(i)}=`}writeValue(i){this.buffer+=ee.extendedEncodeURIComponent(i)}}class AwsQueryProtocol extends ee.RpcProtocol{options;serializer;deserializer;mixin=new ProtocolLib;constructor(i){super({defaultNamespace:i.defaultNamespace});this.options=i;const d={timestampFormat:{useTrait:true,default:5},httpBindings:false,xmlNamespace:i.xmlNamespace,serviceNamespace:i.defaultNamespace,serializeEmptyLists:true};this.serializer=new QueryShapeSerializer(d);this.deserializer=new XmlShapeDeserializer(d)}getShapeId(){return"aws.protocols#awsQuery"}setSerdeContext(i){this.serializer.setSerdeContext(i);this.deserializer.setSerdeContext(i)}getPayloadCodec(){throw new Error("AWSQuery protocol has no payload codec.")}async serializeRequest(i,d,p){const v=await super.serializeRequest(i,d,p);if(!v.path.endsWith("/")){v.path+="/"}Object.assign(v.headers,{"content-type":`application/x-www-form-urlencoded`});if(V.deref(i.input)==="unit"||!v.body){v.body=""}const K=i.name.split("#")[1]??i.name;v.body=`Action=${K}&Version=${this.options.version}`+v.body;if(v.body.endsWith("&")){v.body=v.body.slice(-1)}return v}async deserializeResponse(i,d,p){const v=this.deserializer;const K=V.NormalizedSchema.of(i.output);const te={};if(p.statusCode>=300){const V=await ee.collectBody(p.body,d);if(V.byteLength>0){Object.assign(te,await v.read(15,V))}await this.handleError(i,d,p,te,this.deserializeMetadata(p))}for(const i in p.headers){const d=p.headers[i];delete p.headers[i];p.headers[i.toLowerCase()]=d}const re=i.name.split("#")[1]??i.name;const ne=K.isStructSchema()&&this.useNestedResult()?re+"Result":undefined;const se=await ee.collectBody(p.body,d);if(se.byteLength>0){Object.assign(te,await v.read(K,se,ne))}const ie={$metadata:this.deserializeMetadata(p),...te};return ie}useNestedResult(){return true}async handleError(i,d,p,v,K){const ee=this.loadQueryErrorCode(p,v)??"Unknown";const te=this.loadQueryError(v);const re=this.loadQueryErrorMessage(v);te.message=re;te.Error={Type:te.Type,Code:te.Code,Message:re};const{errorSchema:ne,errorMetadata:se}=await this.mixin.getErrorSchemaOrThrowBaseException(ee,this.options.defaultNamespace,p,te,K,this.mixin.findQueryCompatibleError);const ie=V.NormalizedSchema.of(ne);const oe=V.TypeRegistry.for(ne[1]).getErrorCtor(ne)??Error;const ae=new oe(re);const Ae={Type:te.Error.Type,Code:te.Error.Code,Error:te.Error};for(const[i,d]of ie.structIterator()){const p=d.getMergedTraits().xmlName??i;const V=te[p]??v[p];Ae[i]=this.deserializer.readSchema(d,V)}throw this.mixin.decorateServiceException(Object.assign(ae,se,{$fault:ie.getMergedTraits().error,message:re},Ae),v)}loadQueryErrorCode(i,d){const p=(d.Errors?.[0]?.Error??d.Errors?.Error??d.Error)?.Code;if(p!==undefined){return p}if(i.statusCode==404){return"NotFound"}}loadQueryError(i){return i.Errors?.[0]?.Error??i.Errors?.Error??i.Error}loadQueryErrorMessage(i){const d=this.loadQueryError(i);return d?.message??d?.Message??i.message??i.Message??"Unknown"}getDefaultContentType(){return"application/x-www-form-urlencoded"}}class AwsEc2QueryProtocol extends AwsQueryProtocol{options;constructor(i){super(i);this.options=i;const d={capitalizeKeys:true,flattenLists:true,serializeEmptyLists:false};Object.assign(this.serializer.settings,d)}useNestedResult(){return false}}const parseXmlBody=(i,d)=>collectBodyString(i,d).then((i=>{if(i.length){let d;try{d=se.parseXML(i)}catch(d){if(d&&typeof d==="object"){Object.defineProperty(d,"$responseBodyText",{value:i})}throw d}const p="#text";const v=Object.keys(d)[0];const V=d[v];if(V[p]){V[v]=V[p];delete V[p]}return K.getValueFromTextNode(V)}return{}}));const parseXmlErrorBody=async(i,d)=>{const p=await parseXmlBody(i,d);if(p.Error){p.Error.message=p.Error.message??p.Error.Message}return p};const loadRestXmlErrorCode=(i,d)=>{if(d?.Error?.Code!==undefined){return d.Error.Code}if(d?.Code!==undefined){return d.Code}if(i.statusCode==404){return"NotFound"}};class XmlShapeSerializer extends SerdeContextConfig{settings;stringBuffer;byteBuffer;buffer;constructor(i){super();this.settings=i}write(i,d){const p=V.NormalizedSchema.of(i);if(p.isStringSchema()&&typeof d==="string"){this.stringBuffer=d}else if(p.isBlobSchema()){this.byteBuffer="byteLength"in d?d:(this.serdeContext?.base64Decoder??re.fromBase64)(d)}else{this.buffer=this.writeStruct(p,d,undefined);const i=p.getMergedTraits();if(i.httpPayload&&!i.xmlName){this.buffer.withName(p.getName())}}}flush(){if(this.byteBuffer!==undefined){const i=this.byteBuffer;delete this.byteBuffer;return i}if(this.stringBuffer!==undefined){const i=this.stringBuffer;delete this.stringBuffer;return i}const i=this.buffer;if(this.settings.xmlNamespace){if(!i?.attributes?.["xmlns"]){i.addAttribute("xmlns",this.settings.xmlNamespace)}}delete this.buffer;return i.toString()}writeStruct(i,d,p){const v=i.getMergedTraits();const V=i.isMemberSchema()&&!v.httpPayload?i.getMemberTraits().xmlName??i.getMemberName():v.xmlName??i.getName();if(!V||!i.isStructSchema()){throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write struct with empty name or non-struct, schema=${i.getName(true)}.`)}const K=se.XmlNode.of(V);const[ee,te]=this.getXmlnsAttribute(i,p);for(const[p,v]of i.structIterator()){const i=d[p];if(i!=null||v.isIdempotencyToken()){if(v.getMergedTraits().xmlAttribute){K.addAttribute(v.getMergedTraits().xmlName??p,this.writeSimple(v,i));continue}if(v.isListSchema()){this.writeList(v,i,K,te)}else if(v.isMapSchema()){this.writeMap(v,i,K,te)}else if(v.isStructSchema()){K.addChildNode(this.writeStruct(v,i,te))}else{const d=se.XmlNode.of(v.getMergedTraits().xmlName??v.getMemberName());this.writeSimpleInto(v,i,d,te);K.addChildNode(d)}}}const{$unknown:re}=d;if(re&&i.isUnionSchema()&&Array.isArray(re)&&Object.keys(d).length===1){const[i,p]=re;const v=se.XmlNode.of(i);if(typeof p!=="string"){if(d instanceof se.XmlNode||d instanceof se.XmlText){K.addChildNode(d)}else{throw new Error(`@aws-sdk - $unknown union member in XML requires `+`value of type string, @aws-sdk/xml-builder::XmlNode or XmlText.`)}}this.writeSimpleInto(0,p,v,te);K.addChildNode(v)}if(te){K.addAttribute(ee,te)}return K}writeList(i,d,p,v){if(!i.isMemberSchema()){throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member list: ${i.getName(true)}`)}const V=i.getMergedTraits();const K=i.getValueSchema();const ee=K.getMergedTraits();const te=!!ee.sparse;const re=!!V.xmlFlattened;const[ne,ie]=this.getXmlnsAttribute(i,v);const writeItem=(d,p)=>{if(K.isListSchema()){this.writeList(K,Array.isArray(p)?p:[p],d,ie)}else if(K.isMapSchema()){this.writeMap(K,p,d,ie)}else if(K.isStructSchema()){const v=this.writeStruct(K,p,ie);d.addChildNode(v.withName(re?V.xmlName??i.getMemberName():ee.xmlName??"member"))}else{const v=se.XmlNode.of(re?V.xmlName??i.getMemberName():ee.xmlName??"member");this.writeSimpleInto(K,p,v,ie);d.addChildNode(v)}};if(re){for(const i of d){if(te||i!=null){writeItem(p,i)}}}else{const v=se.XmlNode.of(V.xmlName??i.getMemberName());if(ie){v.addAttribute(ne,ie)}for(const i of d){if(te||i!=null){writeItem(v,i)}}p.addChildNode(v)}}writeMap(i,d,p,v,V=false){if(!i.isMemberSchema()){throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member map: ${i.getName(true)}`)}const K=i.getMergedTraits();const ee=i.getKeySchema();const te=ee.getMergedTraits();const re=te.xmlName??"key";const ne=i.getValueSchema();const ie=ne.getMergedTraits();const oe=ie.xmlName??"value";const ae=!!ie.sparse;const Ae=!!K.xmlFlattened;const[ce,le]=this.getXmlnsAttribute(i,v);const addKeyValue=(i,d,p)=>{const v=se.XmlNode.of(re,d);const[V,K]=this.getXmlnsAttribute(ee,le);if(K){v.addAttribute(V,K)}i.addChildNode(v);let te=se.XmlNode.of(oe);if(ne.isListSchema()){this.writeList(ne,p,te,le)}else if(ne.isMapSchema()){this.writeMap(ne,p,te,le,true)}else if(ne.isStructSchema()){te=this.writeStruct(ne,p,le)}else{this.writeSimpleInto(ne,p,te,le)}i.addChildNode(te)};if(Ae){for(const[v,V]of Object.entries(d)){if(ae||V!=null){const d=se.XmlNode.of(K.xmlName??i.getMemberName());addKeyValue(d,v,V);p.addChildNode(d)}}}else{let v;if(!V){v=se.XmlNode.of(K.xmlName??i.getMemberName());if(le){v.addAttribute(ce,le)}p.addChildNode(v)}for(const[i,K]of Object.entries(d)){if(ae||K!=null){const d=se.XmlNode.of("entry");addKeyValue(d,i,K);(V?p:v).addChildNode(d)}}}}writeSimple(i,d){if(null===d){throw new Error("@aws-sdk/core/protocols - (XML serializer) cannot write null value.")}const p=V.NormalizedSchema.of(i);let v=null;if(d&&typeof d==="object"){if(p.isBlobSchema()){v=(this.serdeContext?.base64Encoder??re.toBase64)(d)}else if(p.isTimestampSchema()&&d instanceof Date){const i=ee.determineTimestampFormat(p,this.settings);switch(i){case 5:v=d.toISOString().replace(".000Z","Z");break;case 6:v=K.dateToUtcString(d);break;case 7:v=String(d.getTime()/1e3);break;default:console.warn("Missing timestamp format, using http date",d);v=K.dateToUtcString(d);break}}else if(p.isBigDecimalSchema()&&d){if(d instanceof te.NumericValue){return d.string}return String(d)}else if(p.isMapSchema()||p.isListSchema()){throw new Error("@aws-sdk/core/protocols - xml serializer, cannot call _write() on List/Map schema, call writeList or writeMap() instead.")}else{throw new Error(`@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${p.getName(true)}`)}}if(p.isBooleanSchema()||p.isNumericSchema()||p.isBigIntegerSchema()||p.isBigDecimalSchema()){v=String(d)}if(p.isStringSchema()){if(d===undefined&&p.isIdempotencyToken()){v=te.generateIdempotencyToken()}else{v=String(d)}}if(v===null){throw new Error(`Unhandled schema-value pair ${p.getName(true)}=${d}`)}return v}writeSimpleInto(i,d,p,v){const K=this.writeSimple(i,d);const ee=V.NormalizedSchema.of(i);const te=new se.XmlText(K);const[re,ne]=this.getXmlnsAttribute(ee,v);if(ne){p.addAttribute(re,ne)}p.addChildNode(te)}getXmlnsAttribute(i,d){const p=i.getMergedTraits();const[v,V]=p.xmlNamespace??[];if(V&&V!==d){return[v?`xmlns:${v}`:"xmlns",V]}return[void 0,void 0]}}class XmlCodec extends SerdeContextConfig{settings;constructor(i){super();this.settings=i}createSerializer(){const i=new XmlShapeSerializer(this.settings);i.setSerdeContext(this.serdeContext);return i}createDeserializer(){const i=new XmlShapeDeserializer(this.settings);i.setSerdeContext(this.serdeContext);return i}}class AwsRestXmlProtocol extends ee.HttpBindingProtocol{codec;serializer;deserializer;mixin=new ProtocolLib;constructor(i){super(i);const d={timestampFormat:{useTrait:true,default:5},httpBindings:true,xmlNamespace:i.xmlNamespace,serviceNamespace:i.defaultNamespace};this.codec=new XmlCodec(d);this.serializer=new ee.HttpInterceptingShapeSerializer(this.codec.createSerializer(),d);this.deserializer=new ee.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(),d)}getPayloadCodec(){return this.codec}getShapeId(){return"aws.protocols#restXml"}async serializeRequest(i,d,p){const v=await super.serializeRequest(i,d,p);const K=V.NormalizedSchema.of(i.input);if(!v.headers["content-type"]){const i=this.mixin.resolveRestContentType(this.getDefaultContentType(),K);if(i){v.headers["content-type"]=i}}if(typeof v.body==="string"&&v.headers["content-type"]===this.getDefaultContentType()&&!v.body.startsWith("'+v.body}return v}async deserializeResponse(i,d,p){return super.deserializeResponse(i,d,p)}async handleError(i,d,p,v,K){const ee=loadRestXmlErrorCode(p,v)??"Unknown";const{errorSchema:te,errorMetadata:re}=await this.mixin.getErrorSchemaOrThrowBaseException(ee,this.options.defaultNamespace,p,v,K);const ne=V.NormalizedSchema.of(te);const se=v.Error?.message??v.Error?.Message??v.message??v.Message??"Unknown";const ie=V.TypeRegistry.for(te[1]).getErrorCtor(te)??Error;const oe=new ie(se);await this.deserializeHttpMessage(te,d,p,v);const ae={};for(const[i,d]of ne.structIterator()){const p=d.getMergedTraits().xmlName??i;const V=v.Error?.[p]??v[p];ae[i]=this.codec.createDeserializer().readSchema(d,V)}throw this.mixin.decorateServiceException(Object.assign(oe,re,{$fault:ne.getMergedTraits().error,message:se},ae),v)}getDefaultContentType(){return"application/xml"}hasUnstructuredPayloadBinding(i){for(const[,d]of i.structIterator()){if(d.getMergedTraits().httpPayload){return!(d.isStructSchema()||d.isMapSchema()||d.isListSchema())}}return false}}d.AwsEc2QueryProtocol=AwsEc2QueryProtocol;d.AwsJson1_0Protocol=AwsJson1_0Protocol;d.AwsJson1_1Protocol=AwsJson1_1Protocol;d.AwsJsonRpcProtocol=AwsJsonRpcProtocol;d.AwsQueryProtocol=AwsQueryProtocol;d.AwsRestJsonProtocol=AwsRestJsonProtocol;d.AwsRestXmlProtocol=AwsRestXmlProtocol;d.AwsSmithyRpcV2CborProtocol=AwsSmithyRpcV2CborProtocol;d.JsonCodec=JsonCodec;d.JsonShapeDeserializer=JsonShapeDeserializer;d.JsonShapeSerializer=JsonShapeSerializer;d.XmlCodec=XmlCodec;d.XmlShapeDeserializer=XmlShapeDeserializer;d.XmlShapeSerializer=XmlShapeSerializer;d._toBool=_toBool;d._toNum=_toNum;d._toStr=_toStr;d.awsExpectUnion=awsExpectUnion;d.loadRestJsonErrorCode=loadRestJsonErrorCode;d.loadRestXmlErrorCode=loadRestXmlErrorCode;d.parseJsonBody=parseJsonBody;d.parseJsonErrorBody=parseJsonErrorBody;d.parseXmlBody=parseXmlBody;d.parseXmlErrorBody=parseXmlErrorBody},55606:(i,d,p)=>{var v=p(5152);var V=p(71238);const K="AWS_ACCESS_KEY_ID";const ee="AWS_SECRET_ACCESS_KEY";const te="AWS_SESSION_TOKEN";const re="AWS_CREDENTIAL_EXPIRATION";const ne="AWS_CREDENTIAL_SCOPE";const se="AWS_ACCOUNT_ID";const fromEnv=i=>async()=>{i?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv");const d=process.env[K];const p=process.env[ee];const ie=process.env[te];const oe=process.env[re];const ae=process.env[ne];const Ae=process.env[se];if(d&&p){const i={accessKeyId:d,secretAccessKey:p,...ie&&{sessionToken:ie},...oe&&{expiration:new Date(oe)},...ae&&{credentialScope:ae},...Ae&&{accountId:Ae}};v.setCredentialFeature(i,"CREDENTIALS_ENV_VARS","g");return i}throw new V.CredentialsProviderError("Unable to find environment variable credentials.",{logger:i?.logger})};d.ENV_ACCOUNT_ID=se;d.ENV_CREDENTIAL_SCOPE=ne;d.ENV_EXPIRATION=re;d.ENV_KEY=K;d.ENV_SECRET=ee;d.ENV_SESSION=te;d.fromEnv=fromEnv},5861:(i,d,p)=>{var v=p(55606);var V=p(71238);var K=p(94964);const ee="AWS_EC2_METADATA_DISABLED";const remoteProvider=async i=>{const{ENV_CMDS_FULL_URI:d,ENV_CMDS_RELATIVE_URI:v,fromContainerMetadata:K,fromInstanceMetadata:te}=await p.e(566).then(p.t.bind(p,40566,19));if(process.env[v]||process.env[d]){i.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");const{fromHttp:d}=await p.e(605).then(p.bind(p,98605));return V.chain(d(i),K(i))}if(process.env[ee]&&process.env[ee]!=="false"){return async()=>{throw new V.CredentialsProviderError("EC2 Instance Metadata Service access disabled",{logger:i.logger})}}i.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata");return te(i)};function memoizeChain(i,d){const p=internalCreateChain(i);let v;let V;let K;const provider=async i=>{if(i?.forceRefresh){return await p(i)}if(K?.expiration){if(K?.expiration?.getTime(){K=i})).finally((()=>{V=undefined}))}}else{v=p(i).then((i=>{K=i})).finally((()=>{v=undefined}));return provider(i)}}return K};return provider}const internalCreateChain=i=>async d=>{let p;for(const v of i){try{return await v(d)}catch(i){p=i;if(i?.tryNextLink){continue}throw i}}throw p};let te=false;const defaultProvider=(i={})=>memoizeChain([async()=>{const d=i.profile??process.env[K.ENV_PROFILE];if(d){const d=process.env[v.ENV_KEY]&&process.env[v.ENV_SECRET];if(d){if(!te){const d=i.logger?.warn&&i.logger?.constructor?.name!=="NoOpLogger"?i.logger.warn.bind(i.logger):console.warn;d(`@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:\n Multiple credential sources detected: \n Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set.\n This SDK will proceed with the AWS_PROFILE value.\n \n However, a future version may change this behavior to prefer the ENV static credentials.\n Please ensure that your environment only sets either the AWS_PROFILE or the\n AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair.\n`);te=true}}throw new V.CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.",{logger:i.logger,tryNextLink:true})}i.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv");return v.fromEnv(i)()},async d=>{i.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");const{ssoStartUrl:v,ssoAccountId:K,ssoRegion:ee,ssoRoleName:te,ssoSession:re}=i;if(!v&&!K&&!ee&&!te&&!re){throw new V.CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).",{logger:i.logger})}const{fromSSO:ne}=await p.e(998).then(p.t.bind(p,60998,19));return ne(i)(d)},async d=>{i.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");const{fromIni:v}=await p.e(869).then(p.t.bind(p,75869,19));return v(i)(d)},async d=>{i.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");const{fromProcess:v}=await p.e(360).then(p.t.bind(p,75360,19));return v(i)(d)},async d=>{i.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");const{fromTokenFile:v}=await p.e(956).then(p.t.bind(p,29956,23));return v(i)(d)},async()=>{i.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider");return(await remoteProvider(i))()},async()=>{throw new V.CredentialsProviderError("Could not load credentials from any providers",{tryNextLink:false,logger:i.logger})}],credentialsTreatedAsExpired);const credentialsWillNeedRefresh=i=>i?.expiration!==undefined;const credentialsTreatedAsExpired=i=>i?.expiration!==undefined&&i.expiration.getTime()-Date.now()<3e5;d.credentialsTreatedAsExpired=credentialsTreatedAsExpired;d.credentialsWillNeedRefresh=credentialsWillNeedRefresh;d.defaultProvider=defaultProvider},30209:(i,d,p)=>{var v=p(72356);function resolveHostHeaderConfig(i){return i}const hostHeaderMiddleware=i=>d=>async p=>{if(!v.HttpRequest.isInstance(p.request))return d(p);const{request:V}=p;const{handlerProtocol:K=""}=i.requestHandler.metadata||{};if(K.indexOf("h2")>=0&&!V.headers[":authority"]){delete V.headers["host"];V.headers[":authority"]=V.hostname+(V.port?":"+V.port:"")}else if(!V.headers["host"]){let i=V.hostname;if(V.port!=null)i+=`:${V.port}`;V.headers["host"]=i}return d(p)};const V={name:"hostHeaderMiddleware",step:"build",priority:"low",tags:["HOST"],override:true};const getHostHeaderPlugin=i=>({applyToStack:d=>{d.add(hostHeaderMiddleware(i),V)}});d.getHostHeaderPlugin=getHostHeaderPlugin;d.hostHeaderMiddleware=hostHeaderMiddleware;d.hostHeaderMiddlewareOptions=V;d.resolveHostHeaderConfig=resolveHostHeaderConfig},85242:(i,d)=>{const loggerMiddleware=()=>(i,d)=>async p=>{try{const v=await i(p);const{clientName:V,commandName:K,logger:ee,dynamoDbDocumentClientOptions:te={}}=d;const{overrideInputFilterSensitiveLog:re,overrideOutputFilterSensitiveLog:ne}=te;const se=re??d.inputFilterSensitiveLog;const ie=ne??d.outputFilterSensitiveLog;const{$metadata:oe,...ae}=v.output;ee?.info?.({clientName:V,commandName:K,input:se(p.input),output:ie(ae),metadata:oe});return v}catch(i){const{clientName:v,commandName:V,logger:K,dynamoDbDocumentClientOptions:ee={}}=d;const{overrideInputFilterSensitiveLog:te}=ee;const re=te??d.inputFilterSensitiveLog;K?.error?.({clientName:v,commandName:V,input:re(p.input),error:i,metadata:i.$metadata});throw i}};const p={name:"loggerMiddleware",tags:["LOGGER"],step:"initialize",override:true};const getLoggerPlugin=i=>({applyToStack:i=>{i.add(loggerMiddleware(),p)}});d.getLoggerPlugin=getLoggerPlugin;d.loggerMiddleware=loggerMiddleware;d.loggerMiddlewareOptions=p},81568:(i,d,p)=>{var v=p(22521);const V={step:"build",tags:["RECURSION_DETECTION"],name:"recursionDetectionMiddleware",override:true,priority:"low"};const getRecursionDetectionPlugin=i=>({applyToStack:i=>{i.add(v.recursionDetectionMiddleware(),V)}});d.getRecursionDetectionPlugin=getRecursionDetectionPlugin;Object.keys(v).forEach((function(i){if(i!=="default"&&!Object.prototype.hasOwnProperty.call(d,i))Object.defineProperty(d,i,{enumerable:true,get:function(){return v[i]}})}))},22521:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.recursionDetectionMiddleware=void 0;const v=p(29320);const V=p(72356);const K="X-Amzn-Trace-Id";const ee="AWS_LAMBDA_FUNCTION_NAME";const te="_X_AMZN_TRACE_ID";const recursionDetectionMiddleware=()=>i=>async d=>{const{request:p}=d;if(!V.HttpRequest.isInstance(p)){return i(d)}const re=Object.keys(p.headers??{}).find((i=>i.toLowerCase()===K.toLowerCase()))??K;if(p.headers.hasOwnProperty(re)){return i(d)}const ne=process.env[ee];const se=process.env[te];const ie=await v.InvokeStore.getInstanceAsync();const oe=ie?.getXRayTraceId();const ae=oe??se;const nonEmptyString=i=>typeof i==="string"&&i.length>0;if(nonEmptyString(ne)&&nonEmptyString(ae)){p.headers[K]=ae}return i({...d,request:p})};d.recursionDetectionMiddleware=recursionDetectionMiddleware},32959:(i,d,p)=>{var v=p(90402);var V=p(83068);var K=p(72356);var ee=p(8704);const te=undefined;function isValidUserAgentAppId(i){if(i===undefined){return true}return typeof i==="string"&&i.length<=50}function resolveUserAgentConfig(i){const d=v.normalizeProvider(i.userAgentAppId??te);const{customUserAgent:p}=i;return Object.assign(i,{customUserAgent:typeof p==="string"?[[p]]:p,userAgentAppId:async()=>{const p=await d();if(!isValidUserAgentAppId(p)){const d=i.logger?.constructor?.name==="NoOpLogger"||!i.logger?console:i.logger;if(typeof p!=="string"){d?.warn("userAgentAppId must be a string or undefined.")}else if(p.length>50){d?.warn("The provided userAgentAppId exceeds the maximum length of 50 characters.")}}return p}})}const re=/\d{12}\.ddb/;async function checkFeatures(i,d,p){const v=p.request;if(v?.headers?.["smithy-protocol"]==="rpc-v2-cbor"){ee.setFeature(i,"PROTOCOL_RPC_V2_CBOR","M")}if(typeof d.retryStrategy==="function"){const p=await d.retryStrategy();if(typeof p.acquireInitialRetryToken==="function"){if(p.constructor?.name?.includes("Adaptive")){ee.setFeature(i,"RETRY_MODE_ADAPTIVE","F")}else{ee.setFeature(i,"RETRY_MODE_STANDARD","E")}}else{ee.setFeature(i,"RETRY_MODE_LEGACY","D")}}if(typeof d.accountIdEndpointMode==="function"){const p=i.endpointV2;if(String(p?.url?.hostname).match(re)){ee.setFeature(i,"ACCOUNT_ID_ENDPOINT","O")}switch(await(d.accountIdEndpointMode?.())){case"disabled":ee.setFeature(i,"ACCOUNT_ID_MODE_DISABLED","Q");break;case"preferred":ee.setFeature(i,"ACCOUNT_ID_MODE_PREFERRED","P");break;case"required":ee.setFeature(i,"ACCOUNT_ID_MODE_REQUIRED","R");break}}const V=i.__smithy_context?.selectedHttpAuthScheme?.identity;if(V?.$source){const d=V;if(d.accountId){ee.setFeature(i,"RESOLVED_ACCOUNT_ID","T")}for(const[p,v]of Object.entries(d.$source??{})){ee.setFeature(i,p,v)}}}const ne="user-agent";const se="x-amz-user-agent";const ie=" ";const oe="/";const ae=/[^!$%&'*+\-.^_`|~\w]/g;const Ae=/[^!$%&'*+\-.^_`|~\w#]/g;const ce="-";const le=1024;function encodeFeatures(i){let d="";for(const p in i){const v=i[p];if(d.length+v.length+1<=le){if(d.length){d+=","+v}else{d+=v}continue}break}return d}const userAgentMiddleware=i=>(d,p)=>async v=>{const{request:ee}=v;if(!K.HttpRequest.isInstance(ee)){return d(v)}const{headers:te}=ee;const re=p?.userAgent?.map(escapeUserAgent)||[];const oe=(await i.defaultUserAgentProvider()).map(escapeUserAgent);await checkFeatures(p,i,v);const ae=p;oe.push(`m/${encodeFeatures(Object.assign({},p.__smithy_context?.features,ae.__aws_sdk_context?.features))}`);const Ae=i?.customUserAgent?.map(escapeUserAgent)||[];const ce=await i.userAgentAppId();if(ce){oe.push(escapeUserAgent([`app`,`${ce}`]))}const le=V.getUserAgentPrefix();const ue=(le?[le]:[]).concat([...oe,...re,...Ae]).join(ie);const de=[...oe.filter((i=>i.startsWith("aws-sdk-"))),...Ae].join(ie);if(i.runtime!=="browser"){if(de){te[se]=te[se]?`${te[ne]} ${de}`:de}te[ne]=ue}else{te[se]=ue}return d({...v,request:ee})};const escapeUserAgent=i=>{const d=i[0].split(oe).map((i=>i.replace(ae,ce))).join(oe);const p=i[1]?.replace(Ae,ce);const v=d.indexOf(oe);const V=d.substring(0,v);let K=d.substring(v+1);if(V==="api"){K=K.toLowerCase()}return[V,K,p].filter((i=>i&&i.length>0)).reduce(((i,d,p)=>{switch(p){case 0:return d;case 1:return`${i}/${d}`;default:return`${i}#${d}`}}),"")};const ue={name:"getUserAgentMiddleware",step:"build",priority:"low",tags:["SET_USER_AGENT","USER_AGENT"],override:true};const getUserAgentPlugin=i=>({applyToStack:d=>{d.add(userAgentMiddleware(i),ue)}});d.DEFAULT_UA_APP_ID=te;d.getUserAgentMiddlewareOptions=ue;d.getUserAgentPlugin=getUserAgentPlugin;d.resolveUserAgentConfig=resolveUserAgentConfig;d.userAgentMiddleware=userAgentMiddleware},36463:(i,d,p)=>{var v=p(5779);var V=p(39316);const getAwsRegionExtensionConfiguration=i=>({setRegion(d){i.region=d},region(){return i.region}});const resolveAwsRegionExtensionConfiguration=i=>({region:i.region()});Object.defineProperty(d,"NODE_REGION_CONFIG_FILE_OPTIONS",{enumerable:true,get:function(){return V.NODE_REGION_CONFIG_FILE_OPTIONS}});Object.defineProperty(d,"NODE_REGION_CONFIG_OPTIONS",{enumerable:true,get:function(){return V.NODE_REGION_CONFIG_OPTIONS}});Object.defineProperty(d,"REGION_ENV_NAME",{enumerable:true,get:function(){return V.REGION_ENV_NAME}});Object.defineProperty(d,"REGION_INI_NAME",{enumerable:true,get:function(){return V.REGION_INI_NAME}});Object.defineProperty(d,"resolveRegionConfig",{enumerable:true,get:function(){return V.resolveRegionConfig}});d.getAwsRegionExtensionConfiguration=getAwsRegionExtensionConfiguration;d.resolveAwsRegionExtensionConfiguration=resolveAwsRegionExtensionConfiguration;Object.keys(v).forEach((function(i){if(i!=="default"&&!Object.prototype.hasOwnProperty.call(d,i))Object.defineProperty(d,i,{enumerable:true,get:function(){return v[i]}})}))},5779:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.warning=void 0;d.stsRegionDefaultResolver=stsRegionDefaultResolver;const v=p(39316);const V=p(55704);function stsRegionDefaultResolver(i={}){return(0,V.loadConfig)({...v.NODE_REGION_CONFIG_OPTIONS,async default(){if(!d.warning.silence){console.warn("@aws-sdk - WARN - default STS region of us-east-1 used. See @aws-sdk/credential-providers README and set a region explicitly.")}return"us-east-1"}},{...v.NODE_REGION_CONFIG_FILE_OPTIONS,...i})}d.warning={silence:false}},83068:(i,d,p)=>{var v=p(79674);var V=p(14494);const isVirtualHostableS3Bucket=(i,d=false)=>{if(d){for(const d of i.split(".")){if(!isVirtualHostableS3Bucket(d)){return false}}return true}if(!v.isValidHostLabel(i)){return false}if(i.length<3||i.length>63){return false}if(i!==i.toLowerCase()){return false}if(v.isIpAddress(i)){return false}return true};const K=":";const ee="/";const parseArn=i=>{const d=i.split(K);if(d.length<6)return null;const[p,v,V,te,re,...ne]=d;if(p!=="arn"||v===""||V===""||ne.join(K)==="")return null;const se=ne.map((i=>i.split(ee))).flat();return{partition:v,service:V,region:te,accountId:re,resourceId:se}};var te=[{id:"aws",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-east-1",name:"aws",supportsDualStack:true,supportsFIPS:true},regionRegex:"^(us|eu|ap|sa|ca|me|af|il|mx)\\-\\w+\\-\\d+$",regions:{"af-south-1":{description:"Africa (Cape Town)"},"ap-east-1":{description:"Asia Pacific (Hong Kong)"},"ap-east-2":{description:"Asia Pacific (Taipei)"},"ap-northeast-1":{description:"Asia Pacific (Tokyo)"},"ap-northeast-2":{description:"Asia Pacific (Seoul)"},"ap-northeast-3":{description:"Asia Pacific (Osaka)"},"ap-south-1":{description:"Asia Pacific (Mumbai)"},"ap-south-2":{description:"Asia Pacific (Hyderabad)"},"ap-southeast-1":{description:"Asia Pacific (Singapore)"},"ap-southeast-2":{description:"Asia Pacific (Sydney)"},"ap-southeast-3":{description:"Asia Pacific (Jakarta)"},"ap-southeast-4":{description:"Asia Pacific (Melbourne)"},"ap-southeast-5":{description:"Asia Pacific (Malaysia)"},"ap-southeast-6":{description:"Asia Pacific (New Zealand)"},"ap-southeast-7":{description:"Asia Pacific (Thailand)"},"aws-global":{description:"aws global region"},"ca-central-1":{description:"Canada (Central)"},"ca-west-1":{description:"Canada West (Calgary)"},"eu-central-1":{description:"Europe (Frankfurt)"},"eu-central-2":{description:"Europe (Zurich)"},"eu-north-1":{description:"Europe (Stockholm)"},"eu-south-1":{description:"Europe (Milan)"},"eu-south-2":{description:"Europe (Spain)"},"eu-west-1":{description:"Europe (Ireland)"},"eu-west-2":{description:"Europe (London)"},"eu-west-3":{description:"Europe (Paris)"},"il-central-1":{description:"Israel (Tel Aviv)"},"me-central-1":{description:"Middle East (UAE)"},"me-south-1":{description:"Middle East (Bahrain)"},"mx-central-1":{description:"Mexico (Central)"},"sa-east-1":{description:"South America (Sao Paulo)"},"us-east-1":{description:"US East (N. Virginia)"},"us-east-2":{description:"US East (Ohio)"},"us-west-1":{description:"US West (N. California)"},"us-west-2":{description:"US West (Oregon)"}}},{id:"aws-cn",outputs:{dnsSuffix:"amazonaws.com.cn",dualStackDnsSuffix:"api.amazonwebservices.com.cn",implicitGlobalRegion:"cn-northwest-1",name:"aws-cn",supportsDualStack:true,supportsFIPS:true},regionRegex:"^cn\\-\\w+\\-\\d+$",regions:{"aws-cn-global":{description:"aws-cn global region"},"cn-north-1":{description:"China (Beijing)"},"cn-northwest-1":{description:"China (Ningxia)"}}},{id:"aws-eusc",outputs:{dnsSuffix:"amazonaws.eu",dualStackDnsSuffix:"api.amazonwebservices.eu",implicitGlobalRegion:"eusc-de-east-1",name:"aws-eusc",supportsDualStack:true,supportsFIPS:true},regionRegex:"^eusc\\-(de)\\-\\w+\\-\\d+$",regions:{"eusc-de-east-1":{description:"AWS European Sovereign Cloud (Germany)"}}},{id:"aws-iso",outputs:{dnsSuffix:"c2s.ic.gov",dualStackDnsSuffix:"api.aws.ic.gov",implicitGlobalRegion:"us-iso-east-1",name:"aws-iso",supportsDualStack:true,supportsFIPS:true},regionRegex:"^us\\-iso\\-\\w+\\-\\d+$",regions:{"aws-iso-global":{description:"aws-iso global region"},"us-iso-east-1":{description:"US ISO East"},"us-iso-west-1":{description:"US ISO WEST"}}},{id:"aws-iso-b",outputs:{dnsSuffix:"sc2s.sgov.gov",dualStackDnsSuffix:"api.aws.scloud",implicitGlobalRegion:"us-isob-east-1",name:"aws-iso-b",supportsDualStack:true,supportsFIPS:true},regionRegex:"^us\\-isob\\-\\w+\\-\\d+$",regions:{"aws-iso-b-global":{description:"aws-iso-b global region"},"us-isob-east-1":{description:"US ISOB East (Ohio)"},"us-isob-west-1":{description:"US ISOB West"}}},{id:"aws-iso-e",outputs:{dnsSuffix:"cloud.adc-e.uk",dualStackDnsSuffix:"api.cloud-aws.adc-e.uk",implicitGlobalRegion:"eu-isoe-west-1",name:"aws-iso-e",supportsDualStack:true,supportsFIPS:true},regionRegex:"^eu\\-isoe\\-\\w+\\-\\d+$",regions:{"aws-iso-e-global":{description:"aws-iso-e global region"},"eu-isoe-west-1":{description:"EU ISOE West"}}},{id:"aws-iso-f",outputs:{dnsSuffix:"csp.hci.ic.gov",dualStackDnsSuffix:"api.aws.hci.ic.gov",implicitGlobalRegion:"us-isof-south-1",name:"aws-iso-f",supportsDualStack:true,supportsFIPS:true},regionRegex:"^us\\-isof\\-\\w+\\-\\d+$",regions:{"aws-iso-f-global":{description:"aws-iso-f global region"},"us-isof-east-1":{description:"US ISOF EAST"},"us-isof-south-1":{description:"US ISOF SOUTH"}}},{id:"aws-us-gov",outputs:{dnsSuffix:"amazonaws.com",dualStackDnsSuffix:"api.aws",implicitGlobalRegion:"us-gov-west-1",name:"aws-us-gov",supportsDualStack:true,supportsFIPS:true},regionRegex:"^us\\-gov\\-\\w+\\-\\d+$",regions:{"aws-us-gov-global":{description:"aws-us-gov global region"},"us-gov-east-1":{description:"AWS GovCloud (US-East)"},"us-gov-west-1":{description:"AWS GovCloud (US-West)"}}}];var re="1.1";var ne={partitions:te,version:re};let se=ne;let ie="";const partition=i=>{const{partitions:d}=se;for(const p of d){const{regions:d,outputs:v}=p;for(const[p,V]of Object.entries(d)){if(p===i){return{...v,...V}}}}for(const p of d){const{regionRegex:d,outputs:v}=p;if(new RegExp(d).test(i)){return{...v}}}const p=d.find((i=>i.id==="aws"));if(!p){throw new Error("Provided region was not found in the partition array or regex,"+" and default partition with id 'aws' doesn't exist.")}return{...p.outputs}};const setPartitionInfo=(i,d="")=>{se=i;ie=d};const useDefaultPartitionInfo=()=>{setPartitionInfo(ne,"")};const getUserAgentPrefix=()=>ie;const oe={isVirtualHostableS3Bucket:isVirtualHostableS3Bucket,parseArn:parseArn,partition:partition};v.customEndpointFunctions.aws=oe;const resolveDefaultAwsRegionalEndpointsConfig=i=>{if(typeof i.endpointProvider!=="function"){throw new Error("@aws-sdk/util-endpoint - endpointProvider and endpoint missing in config for this client.")}const{endpoint:d}=i;if(d===undefined){i.endpoint=async()=>toEndpointV1(i.endpointProvider({Region:typeof i.region==="function"?await i.region():i.region,UseDualStack:typeof i.useDualstackEndpoint==="function"?await i.useDualstackEndpoint():i.useDualstackEndpoint,UseFIPS:typeof i.useFipsEndpoint==="function"?await i.useFipsEndpoint():i.useFipsEndpoint,Endpoint:undefined},{logger:i.logger}))}return i};const toEndpointV1=i=>V.parseUrl(i.url);Object.defineProperty(d,"EndpointError",{enumerable:true,get:function(){return v.EndpointError}});Object.defineProperty(d,"isIpAddress",{enumerable:true,get:function(){return v.isIpAddress}});Object.defineProperty(d,"resolveEndpoint",{enumerable:true,get:function(){return v.resolveEndpoint}});d.awsEndpointFunctions=oe;d.getUserAgentPrefix=getUserAgentPrefix;d.partition=partition;d.resolveDefaultAwsRegionalEndpointsConfig=resolveDefaultAwsRegionalEndpointsConfig;d.setPartitionInfo=setPartitionInfo;d.toEndpointV1=toEndpointV1;d.useDefaultPartitionInfo=useDefaultPartitionInfo},51656:(i,d,p)=>{var v=p(70857);var V=p(932);var K=p(32959);const ee={isCrtAvailable:false};const isCrtAvailable=()=>{if(ee.isCrtAvailable){return["md/crt-avail"]}return null};const createDefaultUserAgentProvider=({serviceId:i,clientVersion:d})=>async p=>{const K=[["aws-sdk-js",d],["ua","2.1"],[`os/${v.platform()}`,v.release()],["lang/js"],["md/nodejs",`${V.versions.node}`]];const ee=isCrtAvailable();if(ee){K.push(ee)}if(i){K.push([`api/${i}`,d])}if(V.env.AWS_EXECUTION_ENV){K.push([`exec-env/${V.env.AWS_EXECUTION_ENV}`])}const te=await(p?.userAgentAppId?.());const re=te?[...K,[`app/${te}`]]:[...K];return re};const te=createDefaultUserAgentProvider;const re="AWS_SDK_UA_APP_ID";const ne="sdk_ua_app_id";const se="sdk-ua-app-id";const ie={environmentVariableSelector:i=>i[re],configFileSelector:i=>i[ne]??i[se],default:K.DEFAULT_UA_APP_ID};d.NODE_APP_ID_CONFIG_OPTIONS=ie;d.UA_APP_ID_ENV_NAME=re;d.UA_APP_ID_INI_NAME=ne;d.createDefaultUserAgentProvider=createDefaultUserAgentProvider;d.crtAvailability=ee;d.defaultUserAgent=te},94274:(i,d,p)=>{var v=p(43343);function escapeAttribute(i){return i.replace(/&/g,"&").replace(//g,">").replace(/"/g,""")}function escapeElement(i){return i.replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">").replace(/\r/g," ").replace(/\n/g," ").replace(/\u0085/g,"…").replace(/\u2028/,"
")}class XmlText{value;constructor(i){this.value=i}toString(){return escapeElement(""+this.value)}}class XmlNode{name;children;attributes={};static of(i,d,p){const v=new XmlNode(i);if(d!==undefined){v.addChildNode(new XmlText(d))}if(p!==undefined){v.withName(p)}return v}constructor(i,d=[]){this.name=i;this.children=d}withName(i){this.name=i;return this}addAttribute(i,d){this.attributes[i]=d;return this}addChildNode(i){this.children.push(i);return this}removeAttribute(i){delete this.attributes[i];return this}n(i){this.name=i;return this}c(i){this.children.push(i);return this}a(i,d){if(d!=null){this.attributes[i]=d}return this}cc(i,d,p=d){if(i[d]!=null){const v=XmlNode.of(d,i[d]).withName(p);this.c(v)}}l(i,d,p,v){if(i[d]!=null){const i=v();i.map((i=>{i.withName(p);this.c(i)}))}}lc(i,d,p,v){if(i[d]!=null){const i=v();const d=new XmlNode(p);i.map((i=>{d.c(i)}));this.c(d)}}toString(){const i=Boolean(this.children.length);let d=`<${this.name}`;const p=this.attributes;for(const i of Object.keys(p)){const v=p[i];if(v!=null){d+=` ${i}="${escapeAttribute(""+v)}"`}}return d+=!i?"/>":`>${this.children.map((i=>i.toString())).join("")}`}}Object.defineProperty(d,"parseXML",{enumerable:true,get:function(){return v.parseXML}});d.XmlNode=XmlNode;d.XmlText=XmlText},43343:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.parseXML=parseXML;const v=p(50591);const V=new v.XMLParser({attributeNamePrefix:"",htmlEntities:true,ignoreAttributes:false,ignoreDeclaration:true,parseTagValue:false,trimValues:false,tagValueProcessor:(i,d)=>d.trim()===""&&d.includes("\n")?"":undefined});V.addEntity("#xD","\r");V.addEntity("#10","\n");function parseXML(i){return V.parse(i,true)}},29320:(i,d,p)=>{const v={REQUEST_ID:Symbol.for("_AWS_LAMBDA_REQUEST_ID"),X_RAY_TRACE_ID:Symbol.for("_AWS_LAMBDA_X_RAY_TRACE_ID"),TENANT_ID:Symbol.for("_AWS_LAMBDA_TENANT_ID")};const V=["true","1"].includes(process.env?.AWS_LAMBDA_NODEJS_NO_GLOBAL_AWSLAMBDA??"");if(!V){globalThis.awslambda=globalThis.awslambda||{}}class InvokeStoreBase{static PROTECTED_KEYS=v;isProtectedKey(i){return Object.values(v).includes(i)}getRequestId(){return this.get(v.REQUEST_ID)??"-"}getXRayTraceId(){return this.get(v.X_RAY_TRACE_ID)}getTenantId(){return this.get(v.TENANT_ID)}}class InvokeStoreSingle extends InvokeStoreBase{currentContext;getContext(){return this.currentContext}hasContext(){return this.currentContext!==undefined}get(i){return this.currentContext?.[i]}set(i,d){if(this.isProtectedKey(i)){throw new Error(`Cannot modify protected Lambda context field: ${String(i)}`)}this.currentContext=this.currentContext||{};this.currentContext[i]=d}run(i,d){this.currentContext=i;return d()}}class InvokeStoreMulti extends InvokeStoreBase{als;static async create(){const i=new InvokeStoreMulti;const d=await Promise.resolve().then(p.t.bind(p,16698,23));i.als=new d.AsyncLocalStorage;return i}getContext(){return this.als.getStore()}hasContext(){return this.als.getStore()!==undefined}get(i){return this.als.getStore()?.[i]}set(i,d){if(this.isProtectedKey(i)){throw new Error(`Cannot modify protected Lambda context field: ${String(i)}`)}const p=this.als.getStore();if(!p){throw new Error("No context available")}p[i]=d}run(i,d){return this.als.run(i,d)}}d.InvokeStore=void 0;(function(i){let d=null;async function getInstanceAsync(){if(!d){d=(async()=>{const i="AWS_LAMBDA_MAX_CONCURRENCY"in process.env;const d=i?await InvokeStoreMulti.create():new InvokeStoreSingle;if(!V&&globalThis.awslambda?.InvokeStore){return globalThis.awslambda.InvokeStore}else if(!V&&globalThis.awslambda){globalThis.awslambda.InvokeStore=d;return d}else{return d}})()}return d}i.getInstanceAsync=getInstanceAsync;i._testing=process.env.AWS_LAMBDA_BENCHMARK_MODE==="1"?{reset:()=>{d=null;if(globalThis.awslambda?.InvokeStore){delete globalThis.awslambda.InvokeStore}globalThis.awslambda={InvokeStore:undefined}}}:undefined})(d.InvokeStore||(d.InvokeStore={}));d.InvokeStoreBase=InvokeStoreBase},15862:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});var v=p(45004);var V=p(81391);var K=p(7132);const ee=v.createClientLogger("core-lro");const te=2e3;const re=["succeeded","canceled","failed"];function deserializeState(i){try{return JSON.parse(i).state}catch(d){throw new Error(`Unable to deserialize input state: ${i}`)}}function setStateError(i){const{state:d,stateProxy:p,isOperationError:v}=i;return i=>{if(v(i)){p.setError(d,i);p.setFailed(d)}throw i}}function appendReadableErrorMessage(i,d){let p=i;if(p.slice(-1)!=="."){p=p+"."}return p+" "+d}function simplifyError(i){let d=i.message;let p=i.code;let v=i;while(v.innererror){v=v.innererror;p=v.code;d=appendReadableErrorMessage(d,v.message)}return{code:p,message:d}}function processOperationStatus(i){const{state:d,stateProxy:p,status:v,isDone:V,processResult:K,getError:te,response:re,setErrorAsResult:ne}=i;switch(v){case"succeeded":{p.setSucceeded(d);break}case"failed":{const i=te===null||te===void 0?void 0:te(re);let v="";if(i){const{code:d,message:p}=simplifyError(i);v=`. ${d}. ${p}`}const V=`The long-running operation has failed${v}`;p.setError(d,new Error(V));p.setFailed(d);ee.warning(V);break}case"canceled":{p.setCanceled(d);break}}if((V===null||V===void 0?void 0:V(re,d))||V===undefined&&["succeeded","canceled"].concat(ne?[]:["failed"]).includes(v)){p.setResult(d,buildResult({response:re,state:d,processResult:K}))}}function buildResult(i){const{processResult:d,response:p,state:v}=i;return d?d(p,v):p}async function initOperation(i){const{init:d,stateProxy:p,processResult:v,getOperationStatus:V,withOperationLocation:K,setErrorAsResult:te}=i;const{operationLocation:re,resourceLocation:ne,metadata:se,response:ie}=await d();if(re)K===null||K===void 0?void 0:K(re,false);const oe={metadata:se,operationLocation:re,resourceLocation:ne};ee.verbose(`LRO: Operation description:`,oe);const ae=p.initState(oe);const Ae=V({response:ie,state:ae,operationLocation:re});processOperationStatus({state:ae,status:Ae,stateProxy:p,response:ie,setErrorAsResult:te,processResult:v});return ae}async function pollOperationHelper(i){const{poll:d,state:p,stateProxy:v,operationLocation:V,getOperationStatus:K,getResourceLocation:te,isOperationError:ne,options:se}=i;const ie=await d(V,se).catch(setStateError({state:p,stateProxy:v,isOperationError:ne}));const oe=K(ie,p);ee.verbose(`LRO: Status:\n\tPolling from: ${p.config.operationLocation}\n\tOperation status: ${oe}\n\tPolling status: ${re.includes(oe)?"Stopped":"Running"}`);if(oe==="succeeded"){const i=te(ie,p);if(i!==undefined){return{response:await d(i).catch(setStateError({state:p,stateProxy:v,isOperationError:ne})),status:oe}}}return{response:ie,status:oe}}async function pollOperation(i){const{poll:d,state:p,stateProxy:v,options:V,getOperationStatus:K,getResourceLocation:ee,getOperationLocation:te,isOperationError:ne,withOperationLocation:se,getPollingInterval:ie,processResult:oe,getError:ae,updateState:Ae,setDelay:ce,isDone:le,setErrorAsResult:ue}=i;const{operationLocation:de}=p.config;if(de!==undefined){const{response:i,status:he}=await pollOperationHelper({poll:d,getOperationStatus:K,state:p,stateProxy:v,operationLocation:de,getResourceLocation:ee,isOperationError:ne,options:V});processOperationStatus({status:he,response:i,state:p,stateProxy:v,isDone:le,processResult:oe,getError:ae,setErrorAsResult:ue});if(!re.includes(he)){const d=ie===null||ie===void 0?void 0:ie(i);if(d)ce(d);const v=te===null||te===void 0?void 0:te(i,p);if(v!==undefined){const i=de!==v;p.config.operationLocation=v;se===null||se===void 0?void 0:se(v,i)}else se===null||se===void 0?void 0:se(de,false)}Ae===null||Ae===void 0?void 0:Ae(p,i)}}function getOperationLocationPollingUrl(i){const{azureAsyncOperation:d,operationLocation:p}=i;return p!==null&&p!==void 0?p:d}function getLocationHeader(i){return i.headers["location"]}function getOperationLocationHeader(i){return i.headers["operation-location"]}function getAzureAsyncOperationHeader(i){return i.headers["azure-asyncoperation"]}function findResourceLocation(i){const{location:d,requestMethod:p,requestPath:v,resourceLocationConfig:V}=i;switch(p){case"PUT":{return v}case"DELETE":{return undefined}default:{switch(V){case"azure-async-operation":{return undefined}case"original-uri":{return v}case"location":default:{return d}}}}}function inferLroMode(i){const{rawResponse:d,requestMethod:p,requestPath:v,resourceLocationConfig:V}=i;const K=getOperationLocationHeader(d);const ee=getAzureAsyncOperationHeader(d);const te=getOperationLocationPollingUrl({operationLocation:K,azureAsyncOperation:ee});const re=getLocationHeader(d);const ne=p===null||p===void 0?void 0:p.toLocaleUpperCase();if(te!==undefined){return{mode:"OperationLocation",operationLocation:te,resourceLocation:findResourceLocation({requestMethod:ne,location:re,requestPath:v,resourceLocationConfig:V})}}else if(re!==undefined){return{mode:"ResourceLocation",operationLocation:re}}else if(ne==="PUT"&&v){return{mode:"Body",operationLocation:v}}else{return undefined}}function transformStatus(i){const{status:d,statusCode:p}=i;if(typeof d!=="string"&&d!==undefined){throw new Error(`Polling was unsuccessful. Expected status to have a string value or no value but it has instead: ${d}. This doesn't necessarily indicate the operation has failed. Check your Azure subscription or resource status for more information.`)}switch(d===null||d===void 0?void 0:d.toLocaleLowerCase()){case undefined:return toOperationStatus(p);case"succeeded":return"succeeded";case"failed":return"failed";case"running":case"accepted":case"started":case"canceling":case"cancelling":return"running";case"canceled":case"cancelled":return"canceled";default:{ee.verbose(`LRO: unrecognized operation status: ${d}`);return d}}}function getStatus(i){var d;const{status:p}=(d=i.body)!==null&&d!==void 0?d:{};return transformStatus({status:p,statusCode:i.statusCode})}function getProvisioningState(i){var d,p;const{properties:v,provisioningState:V}=(d=i.body)!==null&&d!==void 0?d:{};const K=(p=v===null||v===void 0?void 0:v.provisioningState)!==null&&p!==void 0?p:V;return transformStatus({status:K,statusCode:i.statusCode})}function toOperationStatus(i){if(i===202){return"running"}else if(i<300){return"succeeded"}else{return"failed"}}function parseRetryAfter({rawResponse:i}){const d=i.headers["retry-after"];if(d!==undefined){const i=parseInt(d);return isNaN(i)?calculatePollingIntervalFromDate(new Date(d)):i*1e3}return undefined}function getErrorFromResponse(i){const d=i.flatResponse.error;if(!d){ee.warning(`The long-running operation failed but there is no error property in the response's body`);return}if(!d.code||!d.message){ee.warning(`The long-running operation failed but the error property in the response's body doesn't contain code or message`);return}return d}function calculatePollingIntervalFromDate(i){const d=Math.floor((new Date).getTime());const p=i.getTime();if(d{const i=await V.sendInitialRequest();const d=inferLroMode({rawResponse:i.rawResponse,requestPath:V.requestPath,requestMethod:V.requestMethod,resourceLocationConfig:p});return Object.assign({response:i,operationLocation:d===null||d===void 0?void 0:d.operationLocation,resourceLocation:d===null||d===void 0?void 0:d.resourceLocation},(d===null||d===void 0?void 0:d.mode)?{metadata:{mode:d.mode}}:{})},stateProxy:d,processResult:v?({flatResponse:i},d)=>v(i,d):({flatResponse:i})=>i,getOperationStatus:getStatusFromInitialResponse,setErrorAsResult:K})}function getOperationLocation({rawResponse:i},d){var p;const v=(p=d.config.metadata)===null||p===void 0?void 0:p["mode"];switch(v){case"OperationLocation":{return getOperationLocationPollingUrl({operationLocation:getOperationLocationHeader(i),azureAsyncOperation:getAzureAsyncOperationHeader(i)})}case"ResourceLocation":{return getLocationHeader(i)}case"Body":default:{return undefined}}}function getOperationStatus({rawResponse:i},d){var p;const v=(p=d.config.metadata)===null||p===void 0?void 0:p["mode"];switch(v){case"OperationLocation":{return getStatus(i)}case"ResourceLocation":{return toOperationStatus(i.statusCode)}case"Body":{return getProvisioningState(i)}default:throw new Error(`Internal error: Unexpected operation mode: ${v}`)}}function getResourceLocation({flatResponse:i},d){if(typeof i==="object"){const p=i.resourceLocation;if(p!==undefined){d.config.resourceLocation=p}}return d.config.resourceLocation}function isOperationError(i){return i.name==="RestError"}async function pollHttpOperation(i){const{lro:d,stateProxy:p,options:v,processResult:V,updateState:K,setDelay:ee,state:te,setErrorAsResult:re}=i;return pollOperation({state:te,stateProxy:p,setDelay:ee,processResult:V?({flatResponse:i},d)=>V(i,d):({flatResponse:i})=>i,getError:getErrorFromResponse,updateState:K,getPollingInterval:parseRetryAfter,getOperationLocation:getOperationLocation,getOperationStatus:getOperationStatus,isOperationError:isOperationError,getResourceLocation:getResourceLocation,options:v,poll:async(i,p)=>d.sendPollRequest(i,p),setErrorAsResult:re})}const createStateProxy$1=()=>({initState:i=>({status:"running",config:i}),setCanceled:i=>i.status="canceled",setError:(i,d)=>i.error=d,setResult:(i,d)=>i.result=d,setRunning:i=>i.status="running",setSucceeded:i=>i.status="succeeded",setFailed:i=>i.status="failed",getError:i=>i.error,getResult:i=>i.result,isCanceled:i=>i.status==="canceled",isFailed:i=>i.status==="failed",isRunning:i=>i.status==="running",isSucceeded:i=>i.status==="succeeded"});function buildCreatePoller(i){const{getOperationLocation:d,getStatusFromInitialResponse:p,getStatusFromPollResponse:v,isOperationError:ee,getResourceLocation:re,getPollingInterval:ne,getError:se,resolveOnUnsuccessful:ie}=i;return async({init:i,poll:oe},ae)=>{const{processResult:Ae,updateState:ce,withOperationLocation:le,intervalInMs:ue=te,restoreFrom:de}=ae||{};const he=createStateProxy$1();const fe=le?(()=>{let i=false;return(d,p)=>{if(p)le(d);else if(!i)le(d);i=true}})():undefined;const ge=de?deserializeState(de):await initOperation({init:i,stateProxy:he,processResult:Ae,getOperationStatus:p,withOperationLocation:fe,setErrorAsResult:!ie});let pe;const me=new V.AbortController;const Ee=new Map;const handleProgressEvents=async()=>Ee.forEach((i=>i(ge)));const Ce="Operation was canceled";let ye=ue;const Ie={getOperationState:()=>ge,getResult:()=>ge.result,isDone:()=>["succeeded","failed","canceled"].includes(ge.status),isStopped:()=>pe===undefined,stopPolling:()=>{me.abort()},toString:()=>JSON.stringify({state:ge}),onProgress:i=>{const d=Symbol();Ee.set(d,i);return()=>Ee.delete(d)},pollUntilDone:i=>pe!==null&&pe!==void 0?pe:pe=(async()=>{const{abortSignal:d}=i||{};const{signal:p}=d?new V.AbortController([d,me.signal]):me;if(!Ie.isDone()){await Ie.poll({abortSignal:p});while(!Ie.isDone()){await K.delay(ye,{abortSignal:p});await Ie.poll({abortSignal:p})}}if(ie){return Ie.getResult()}else{switch(ge.status){case"succeeded":return Ie.getResult();case"canceled":throw new Error(Ce);case"failed":throw ge.error;case"notStarted":case"running":throw new Error(`Polling completed without succeeding or failing`)}}})().finally((()=>{pe=undefined})),async poll(i){if(ie){if(Ie.isDone())return}else{switch(ge.status){case"succeeded":return;case"canceled":throw new Error(Ce);case"failed":throw ge.error}}await pollOperation({poll:oe,state:ge,stateProxy:he,getOperationLocation:d,isOperationError:ee,withOperationLocation:fe,getPollingInterval:ne,getOperationStatus:v,getResourceLocation:re,processResult:Ae,getError:se,updateState:ce,options:i,setDelay:i=>{ye=i},setErrorAsResult:!ie});await handleProgressEvents();if(!ie){switch(ge.status){case"canceled":throw new Error(Ce);case"failed":throw ge.error}}}};return Ie}}async function createHttpPoller(i,d){const{resourceLocationConfig:p,intervalInMs:v,processResult:V,restoreFrom:K,updateState:ee,withOperationLocation:te,resolveOnUnsuccessful:re=false}=d||{};return buildCreatePoller({getStatusFromInitialResponse:getStatusFromInitialResponse,getStatusFromPollResponse:getOperationStatus,isOperationError:isOperationError,getOperationLocation:getOperationLocation,getResourceLocation:getResourceLocation,getPollingInterval:parseRetryAfter,getError:getErrorFromResponse,resolveOnUnsuccessful:re})({init:async()=>{const d=await i.sendInitialRequest();const v=inferLroMode({rawResponse:d.rawResponse,requestPath:i.requestPath,requestMethod:i.requestMethod,resourceLocationConfig:p});return Object.assign({response:d,operationLocation:v===null||v===void 0?void 0:v.operationLocation,resourceLocation:v===null||v===void 0?void 0:v.resourceLocation},(v===null||v===void 0?void 0:v.mode)?{metadata:{mode:v.mode}}:{})},poll:i.sendPollRequest},{intervalInMs:v,withOperationLocation:te,restoreFrom:K,updateState:ee,processResult:V?({flatResponse:i},d)=>V(i,d):({flatResponse:i})=>i})}const createStateProxy=()=>({initState:i=>({config:i,isStarted:true}),setCanceled:i=>i.isCancelled=true,setError:(i,d)=>i.error=d,setResult:(i,d)=>i.result=d,setRunning:i=>i.isStarted=true,setSucceeded:i=>i.isCompleted=true,setFailed:()=>{},getError:i=>i.error,getResult:i=>i.result,isCanceled:i=>!!i.isCancelled,isFailed:i=>!!i.error,isRunning:i=>!!i.isStarted,isSucceeded:i=>Boolean(i.isCompleted&&!i.isCancelled&&!i.error)});class GenericPollOperation{constructor(i,d,p,v,V,K,ee){this.state=i;this.lro=d;this.setErrorAsResult=p;this.lroResourceLocationConfig=v;this.processResult=V;this.updateState=K;this.isDone=ee}setPollerConfig(i){this.pollerConfig=i}async update(i){var d;const p=createStateProxy();if(!this.state.isStarted){this.state=Object.assign(Object.assign({},this.state),await initHttpOperation({lro:this.lro,stateProxy:p,resourceLocationConfig:this.lroResourceLocationConfig,processResult:this.processResult,setErrorAsResult:this.setErrorAsResult}))}const v=this.updateState;const V=this.isDone;if(!this.state.isCompleted&&this.state.error===undefined){await pollHttpOperation({lro:this.lro,state:this.state,stateProxy:p,processResult:this.processResult,updateState:v?(i,{rawResponse:d})=>v(i,d):undefined,isDone:V?({flatResponse:i},d)=>V(i,d):undefined,options:i,setDelay:i=>{this.pollerConfig.intervalInMs=i},setErrorAsResult:this.setErrorAsResult})}(d=i===null||i===void 0?void 0:i.fireProgress)===null||d===void 0?void 0:d.call(i,this.state);return this}async cancel(){ee.error("`cancelOperation` is deprecated because it wasn't implemented");return this}toString(){return JSON.stringify({state:this.state})}}class PollerStoppedError extends Error{constructor(i){super(i);this.name="PollerStoppedError";Object.setPrototypeOf(this,PollerStoppedError.prototype)}}class PollerCancelledError extends Error{constructor(i){super(i);this.name="PollerCancelledError";Object.setPrototypeOf(this,PollerCancelledError.prototype)}}class Poller{constructor(i){this.resolveOnUnsuccessful=false;this.stopped=true;this.pollProgressCallbacks=[];this.operation=i;this.promise=new Promise(((i,d)=>{this.resolve=i;this.reject=d}));this.promise.catch((()=>{}))}async startPolling(i={}){if(this.stopped){this.stopped=false}while(!this.isStopped()&&!this.isDone()){await this.poll(i);await this.delay()}}async pollOnce(i={}){if(!this.isDone()){this.operation=await this.operation.update({abortSignal:i.abortSignal,fireProgress:this.fireProgress.bind(this)})}this.processUpdatedState()}fireProgress(i){for(const d of this.pollProgressCallbacks){d(i)}}async cancelOnce(i={}){this.operation=await this.operation.cancel(i)}poll(i={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(i);const clearPollOncePromise=()=>{this.pollOncePromise=undefined};this.pollOncePromise.then(clearPollOncePromise,clearPollOncePromise).catch(this.reject)}return this.pollOncePromise}processUpdatedState(){if(this.operation.state.error){this.stopped=true;if(!this.resolveOnUnsuccessful){this.reject(this.operation.state.error);throw this.operation.state.error}}if(this.operation.state.isCancelled){this.stopped=true;if(!this.resolveOnUnsuccessful){const i=new PollerCancelledError("Operation was canceled");this.reject(i);throw i}}if(this.isDone()&&this.resolve){this.resolve(this.getResult())}}async pollUntilDone(i={}){if(this.stopped){this.startPolling(i).catch(this.reject)}this.processUpdatedState();return this.promise}onProgress(i){this.pollProgressCallbacks.push(i);return()=>{this.pollProgressCallbacks=this.pollProgressCallbacks.filter((d=>d!==i))}}isDone(){const i=this.operation.state;return Boolean(i.isCompleted||i.isCancelled||i.error)}stopPolling(){if(!this.stopped){this.stopped=true;if(this.reject){this.reject(new PollerStoppedError("This poller is already stopped"))}}}isStopped(){return this.stopped}cancelOperation(i={}){if(!this.cancelPromise){this.cancelPromise=this.cancelOnce(i)}else if(i.abortSignal){throw new Error("A cancel request is currently pending")}return this.cancelPromise}getOperationState(){return this.operation.state}getResult(){const i=this.operation.state;return i.result}toString(){return this.operation.toString()}}class LroEngine extends Poller{constructor(i,d){const{intervalInMs:p=te,resumeFrom:v,resolveOnUnsuccessful:V=false,isDone:K,lroResourceLocationConfig:ee,processResult:re,updateState:ne}=d||{};const se=v?deserializeState(v):{};const ie=new GenericPollOperation(se,i,!V,ee,re,ne,K);super(ie);this.resolveOnUnsuccessful=V;this.config={intervalInMs:p};ie.setPollerConfig(this.config)}delay(){return new Promise((i=>setTimeout((()=>i()),this.config.intervalInMs)))}}d.LroEngine=LroEngine;d.Poller=Poller;d.PollerCancelledError=PollerCancelledError;d.PollerStoppedError=PollerStoppedError;d.createHttpPoller=createHttpPoller},81391:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});const p=new WeakMap;const v=new WeakMap;class AbortSignal{constructor(){this.onabort=null;p.set(this,[]);v.set(this,false)}get aborted(){if(!v.has(this)){throw new TypeError("Expected `this` to be an instance of AbortSignal.")}return v.get(this)}static get none(){return new AbortSignal}addEventListener(i,d){if(!p.has(this)){throw new TypeError("Expected `this` to be an instance of AbortSignal.")}const v=p.get(this);v.push(d)}removeEventListener(i,d){if(!p.has(this)){throw new TypeError("Expected `this` to be an instance of AbortSignal.")}const v=p.get(this);const V=v.indexOf(d);if(V>-1){v.splice(V,1)}}dispatchEvent(i){throw new Error("This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes.")}}function abortSignal(i){if(i.aborted){return}if(i.onabort){i.onabort.call(i)}const d=p.get(i);if(d){d.slice().forEach((d=>{d.call(i,{type:"abort"})}))}v.set(i,true)}class AbortError extends Error{constructor(i){super(i);this.name="AbortError"}}class AbortController{constructor(i){this._signal=new AbortSignal;if(!i){return}if(!Array.isArray(i)){i=arguments}for(const d of i){if(d.aborted){this.abort()}else{d.addEventListener("abort",(()=>{this.abort()}))}}}get signal(){return this._signal}abort(){abortSignal(this._signal)}static timeout(i){const d=new AbortSignal;const p=setTimeout(abortSignal,i,d);if(typeof p.unref==="function"){p.unref()}return d}}d.AbortController=AbortController;d.AbortError=AbortError;d.AbortSignal=AbortSignal},7132:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});var v=p(81391);var V=p(76982);var K;const ee=typeof process!=="undefined"&&Boolean(process.version)&&Boolean((K=process.versions)===null||K===void 0?void 0:K.node);function createAbortablePromise(i,d){const{cleanupBeforeAbort:p,abortSignal:V,abortErrorMsg:K}=d!==null&&d!==void 0?d:{};return new Promise(((d,ee)=>{function rejectOnAbort(){ee(new v.AbortError(K!==null&&K!==void 0?K:"The operation was aborted."))}function removeListeners(){V===null||V===void 0?void 0:V.removeEventListener("abort",onAbort)}function onAbort(){p===null||p===void 0?void 0:p();removeListeners();rejectOnAbort()}if(V===null||V===void 0?void 0:V.aborted){return rejectOnAbort()}try{i((i=>{removeListeners();d(i)}),(i=>{removeListeners();ee(i)}))}catch(i){ee(i)}V===null||V===void 0?void 0:V.addEventListener("abort",onAbort)}))}const te="The delay was aborted.";function delay(i,d){let p;const{abortSignal:v,abortErrorMsg:V}=d!==null&&d!==void 0?d:{};return createAbortablePromise((d=>{p=setTimeout(d,i)}),{cleanupBeforeAbort:()=>clearTimeout(p),abortSignal:v,abortErrorMsg:V!==null&&V!==void 0?V:te})}function getRandomIntegerInclusive(i,d){i=Math.ceil(i);d=Math.floor(d);const p=Math.floor(Math.random()*(d-i+1));return p+i}function isObject(i){return typeof i==="object"&&i!==null&&!Array.isArray(i)&&!(i instanceof RegExp)&&!(i instanceof Date)}function isError(i){if(isObject(i)){const d=typeof i.name==="string";const p=typeof i.message==="string";return d&&p}return false}function getErrorMessage(i){if(isError(i)){return i.message}else{let d;try{if(typeof i==="object"&&i){d=JSON.stringify(i)}else{d=String(i)}}catch(i){d="[unable to stringify input]"}return`Unknown error ${d}`}}async function computeSha256Hmac(i,d,p){const v=Buffer.from(i,"base64");return V.createHmac("sha256",v).update(d).digest(p)}async function computeSha256Hash(i,d){return V.createHash("sha256").update(i).digest(d)}function isDefined(i){return typeof i!=="undefined"&&i!==null}function isObjectWithProperties(i,d){if(!isDefined(i)||typeof i!=="object"){return false}for(const p of d){if(!objectHasProperty(i,p)){return false}}return true}function objectHasProperty(i,d){return isDefined(i)&&typeof i==="object"&&d in i}function generateUUID(){let i="";for(let d=0;d<32;d++){const p=Math.floor(Math.random()*16);if(d===12){i+="4"}else if(d===16){i+=p&3|8}else{i+=p.toString(16)}if(d===7||d===11||d===15||d===19){i+="-"}}return i}var re;let ne=typeof((re=globalThis===null||globalThis===void 0?void 0:globalThis.crypto)===null||re===void 0?void 0:re.randomUUID)==="function"?globalThis.crypto.randomUUID.bind(globalThis.crypto):V.randomUUID;if(!ne){ne=generateUUID}function randomUUID(){return ne()}d.computeSha256Hash=computeSha256Hash;d.computeSha256Hmac=computeSha256Hmac;d.createAbortablePromise=createAbortablePromise;d.delay=delay;d.getErrorMessage=getErrorMessage;d.getRandomIntegerInclusive=getRandomIntegerInclusive;d.isDefined=isDefined;d.isError=isError;d.isNode=ee;d.isObject=isObject;d.isObjectWithProperties=isObjectWithProperties;d.objectHasProperty=objectHasProperty;d.randomUUID=randomUUID},45004:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});var v=p(70857);var V=p(39023);function _interopDefaultLegacy(i){return i&&typeof i==="object"&&"default"in i?i:{default:i}}var K=_interopDefaultLegacy(V);function log(i,...d){process.stderr.write(`${K["default"].format(i,...d)}${v.EOL}`)}const ee=typeof process!=="undefined"&&process.env&&process.env.DEBUG||undefined;let te;let re=[];let ne=[];const se=[];if(ee){enable(ee)}const ie=Object.assign((i=>createDebugger(i)),{enable:enable,enabled:enabled,disable:disable,log:log});function enable(i){te=i;re=[];ne=[];const d=/\*/g;const p=i.split(",").map((i=>i.trim().replace(d,".*?")));for(const i of p){if(i.startsWith("-")){ne.push(new RegExp(`^${i.substr(1)}$`))}else{re.push(new RegExp(`^${i}$`))}}for(const i of se){i.enabled=enabled(i.namespace)}}function enabled(i){if(i.endsWith("*")){return true}for(const d of ne){if(d.test(i)){return false}}for(const d of re){if(d.test(i)){return true}}return false}function disable(){const i=te||"";enable("");return i}function createDebugger(i){const d=Object.assign(debug,{enabled:enabled(i),destroy:destroy,log:ie.log,namespace:i,extend:extend});function debug(...p){if(!d.enabled){return}if(p.length>0){p[0]=`${i} ${p[0]}`}d.log(...p)}se.push(d);return d}function destroy(){const i=se.indexOf(this);if(i>=0){se.splice(i,1);return true}return false}function extend(i){const d=createDebugger(`${this.namespace}:${i}`);d.log=this.log;return d}var oe=ie;const ae=new Set;const Ae=typeof process!=="undefined"&&process.env&&process.env.AZURE_LOG_LEVEL||undefined;let ce;const le=oe("azure");le.log=(...i)=>{oe.log(...i)};const ue=["verbose","info","warning","error"];if(Ae){if(isAzureLogLevel(Ae)){setLogLevel(Ae)}else{console.error(`AZURE_LOG_LEVEL set to unknown log level '${Ae}'; logging is not enabled. Acceptable values: ${ue.join(", ")}.`)}}function setLogLevel(i){if(i&&!isAzureLogLevel(i)){throw new Error(`Unknown log level '${i}'. Acceptable values: ${ue.join(",")}`)}ce=i;const d=[];for(const i of ae){if(shouldEnable(i)){d.push(i.namespace)}}oe.enable(d.join(","))}function getLogLevel(){return ce}const de={verbose:400,info:300,warning:200,error:100};function createClientLogger(i){const d=le.extend(i);patchLogMethod(le,d);return{error:createLogger(d,"error"),warning:createLogger(d,"warning"),info:createLogger(d,"info"),verbose:createLogger(d,"verbose")}}function patchLogMethod(i,d){d.log=(...d)=>{i.log(...d)}}function createLogger(i,d){const p=Object.assign(i.extend(d),{level:d});patchLogMethod(i,p);if(shouldEnable(p)){const i=oe.disable();oe.enable(i+","+p.namespace)}ae.add(p);return p}function shouldEnable(i){return Boolean(ce&&de[i.level]<=de[ce])}function isAzureLogLevel(i){return ue.includes(i)}d.AzureLogger=le;d.createClientLogger=createClientLogger;d.getLogLevel=getLogLevel;d.setLogLevel=setLogLevel},93849:i=>{var d;var p;var v;var V;var K;var ee;var te;var re;var ne;var se;var ie;var oe;var ae;var Ae;var ce;var le;var ue;var de;var he;var fe;var ge;var pe;var me;var Ee;var Ce;var ye;var Ie;var Be;var Qe;var be;var we;var Se;(function(d){var p=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(i){d(createExporter(p,createExporter(i)))}))}else if(true&&typeof i.exports==="object"){d(createExporter(p,createExporter(i.exports)))}else{d(createExporter(p))}function createExporter(i,d){if(i!==p){if(typeof Object.create==="function"){Object.defineProperty(i,"__esModule",{value:true})}else{i.__esModule=true}}return function(p,v){return i[p]=d?d(p,v):v}}})((function(i){var Re=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,d){i.__proto__=d}||function(i,d){for(var p in d)if(Object.prototype.hasOwnProperty.call(d,p))i[p]=d[p]};d=function(i,d){if(typeof d!=="function"&&d!==null)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");Re(i,d);function __(){this.constructor=i}i.prototype=d===null?Object.create(d):(__.prototype=d.prototype,new __)};p=Object.assign||function(i){for(var d,p=1,v=arguments.length;p=0;te--)if(ee=i[te])K=(V<3?ee(K):V>3?ee(d,p,K):ee(d,p))||K;return V>3&&K&&Object.defineProperty(d,p,K),K};K=function(i,d){return function(p,v){d(p,v,i)}};ee=function(i,d,p,v,V,K){function accept(i){if(i!==void 0&&typeof i!=="function")throw new TypeError("Function expected");return i}var ee=v.kind,te=ee==="getter"?"get":ee==="setter"?"set":"value";var re=!d&&i?v["static"]?i:i.prototype:null;var ne=d||(re?Object.getOwnPropertyDescriptor(re,v.name):{});var se,ie=false;for(var oe=p.length-1;oe>=0;oe--){var ae={};for(var Ae in v)ae[Ae]=Ae==="access"?{}:v[Ae];for(var Ae in v.access)ae.access[Ae]=v.access[Ae];ae.addInitializer=function(i){if(ie)throw new TypeError("Cannot add initializers after decoration has completed");K.push(accept(i||null))};var ce=(0,p[oe])(ee==="accessor"?{get:ne.get,set:ne.set}:ne[te],ae);if(ee==="accessor"){if(ce===void 0)continue;if(ce===null||typeof ce!=="object")throw new TypeError("Object expected");if(se=accept(ce.get))ne.get=se;if(se=accept(ce.set))ne.set=se;if(se=accept(ce.init))V.unshift(se)}else if(se=accept(ce)){if(ee==="field")V.unshift(se);else ne[te]=se}}if(re)Object.defineProperty(re,v.name,ne);ie=true};te=function(i,d,p){var v=arguments.length>2;for(var V=0;V0&&K[K.length-1])&&(te[0]===6||te[0]===2)){p=0;continue}if(te[0]===3&&(!K||te[1]>K[0]&&te[1]=i.length)i=void 0;return{value:i&&i[v++],done:!i}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};ce=function(i,d){var p=typeof Symbol==="function"&&i[Symbol.iterator];if(!p)return i;var v=p.call(i),V,K=[],ee;try{while((d===void 0||d-- >0)&&!(V=v.next()).done)K.push(V.value)}catch(i){ee={error:i}}finally{try{if(V&&!V.done&&(p=v["return"]))p.call(v)}finally{if(ee)throw ee.error}}return K};le=function(){for(var i=[],d=0;d1||resume(i,d)}))};if(d)V[i]=d(V[i])}}function resume(i,d){try{step(v[i](d))}catch(i){settle(K[0][3],i)}}function step(i){i.value instanceof he?Promise.resolve(i.value.v).then(fulfill,reject):settle(K[0][2],i)}function fulfill(i){resume("next",i)}function reject(i){resume("throw",i)}function settle(i,d){if(i(d),K.shift(),K.length)resume(K[0][0],K[0][1])}};ge=function(i){var d,p;return d={},verb("next"),verb("throw",(function(i){throw i})),verb("return"),d[Symbol.iterator]=function(){return this},d;function verb(v,V){d[v]=i[v]?function(d){return(p=!p)?{value:he(i[v](d)),done:false}:V?V(d):d}:V}};pe=function(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var d=i[Symbol.asyncIterator],p;return d?d.call(i):(i=typeof Ae==="function"?Ae(i):i[Symbol.iterator](),p={},verb("next"),verb("throw"),verb("return"),p[Symbol.asyncIterator]=function(){return this},p);function verb(d){p[d]=i[d]&&function(p){return new Promise((function(v,V){p=i[d](p),settle(v,V,p.done,p.value)}))}}function settle(i,d,p,v){Promise.resolve(v).then((function(d){i({value:d,done:p})}),d)}};me=function(i,d){if(Object.defineProperty){Object.defineProperty(i,"raw",{value:d})}else{i.raw=d}return i};var ve=Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d};var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};Ee=function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),v=0;v{var d;var p;var v;var V;var K;var ee;var te;var re;var ne;var se;var ie;var oe;var ae;var Ae;var ce;var le;var ue;var de;var he;var fe;var ge;var pe;var me;var Ee;var Ce;var ye;var Ie;var Be;var Qe;var be;var we;var Se;(function(d){var p=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(i){d(createExporter(p,createExporter(i)))}))}else if(true&&typeof i.exports==="object"){d(createExporter(p,createExporter(i.exports)))}else{d(createExporter(p))}function createExporter(i,d){if(i!==p){if(typeof Object.create==="function"){Object.defineProperty(i,"__esModule",{value:true})}else{i.__esModule=true}}return function(p,v){return i[p]=d?d(p,v):v}}})((function(i){var Re=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,d){i.__proto__=d}||function(i,d){for(var p in d)if(Object.prototype.hasOwnProperty.call(d,p))i[p]=d[p]};d=function(i,d){if(typeof d!=="function"&&d!==null)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");Re(i,d);function __(){this.constructor=i}i.prototype=d===null?Object.create(d):(__.prototype=d.prototype,new __)};p=Object.assign||function(i){for(var d,p=1,v=arguments.length;p=0;te--)if(ee=i[te])K=(V<3?ee(K):V>3?ee(d,p,K):ee(d,p))||K;return V>3&&K&&Object.defineProperty(d,p,K),K};K=function(i,d){return function(p,v){d(p,v,i)}};ee=function(i,d,p,v,V,K){function accept(i){if(i!==void 0&&typeof i!=="function")throw new TypeError("Function expected");return i}var ee=v.kind,te=ee==="getter"?"get":ee==="setter"?"set":"value";var re=!d&&i?v["static"]?i:i.prototype:null;var ne=d||(re?Object.getOwnPropertyDescriptor(re,v.name):{});var se,ie=false;for(var oe=p.length-1;oe>=0;oe--){var ae={};for(var Ae in v)ae[Ae]=Ae==="access"?{}:v[Ae];for(var Ae in v.access)ae.access[Ae]=v.access[Ae];ae.addInitializer=function(i){if(ie)throw new TypeError("Cannot add initializers after decoration has completed");K.push(accept(i||null))};var ce=(0,p[oe])(ee==="accessor"?{get:ne.get,set:ne.set}:ne[te],ae);if(ee==="accessor"){if(ce===void 0)continue;if(ce===null||typeof ce!=="object")throw new TypeError("Object expected");if(se=accept(ce.get))ne.get=se;if(se=accept(ce.set))ne.set=se;if(se=accept(ce.init))V.unshift(se)}else if(se=accept(ce)){if(ee==="field")V.unshift(se);else ne[te]=se}}if(re)Object.defineProperty(re,v.name,ne);ie=true};te=function(i,d,p){var v=arguments.length>2;for(var V=0;V0&&K[K.length-1])&&(te[0]===6||te[0]===2)){p=0;continue}if(te[0]===3&&(!K||te[1]>K[0]&&te[1]=i.length)i=void 0;return{value:i&&i[v++],done:!i}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};ce=function(i,d){var p=typeof Symbol==="function"&&i[Symbol.iterator];if(!p)return i;var v=p.call(i),V,K=[],ee;try{while((d===void 0||d-- >0)&&!(V=v.next()).done)K.push(V.value)}catch(i){ee={error:i}}finally{try{if(V&&!V.done&&(p=v["return"]))p.call(v)}finally{if(ee)throw ee.error}}return K};le=function(){for(var i=[],d=0;d1||resume(i,d)}))};if(d)V[i]=d(V[i])}}function resume(i,d){try{step(v[i](d))}catch(i){settle(K[0][3],i)}}function step(i){i.value instanceof he?Promise.resolve(i.value.v).then(fulfill,reject):settle(K[0][2],i)}function fulfill(i){resume("next",i)}function reject(i){resume("throw",i)}function settle(i,d){if(i(d),K.shift(),K.length)resume(K[0][0],K[0][1])}};ge=function(i){var d,p;return d={},verb("next"),verb("throw",(function(i){throw i})),verb("return"),d[Symbol.iterator]=function(){return this},d;function verb(v,V){d[v]=i[v]?function(d){return(p=!p)?{value:he(i[v](d)),done:false}:V?V(d):d}:V}};pe=function(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var d=i[Symbol.asyncIterator],p;return d?d.call(i):(i=typeof Ae==="function"?Ae(i):i[Symbol.iterator](),p={},verb("next"),verb("throw"),verb("return"),p[Symbol.asyncIterator]=function(){return this},p);function verb(d){p[d]=i[d]&&function(p){return new Promise((function(v,V){p=i[d](p),settle(v,V,p.done,p.value)}))}}function settle(i,d,p,v){Promise.resolve(v).then((function(d){i({value:d,done:p})}),d)}};me=function(i,d){if(Object.defineProperty){Object.defineProperty(i,"raw",{value:d})}else{i.raw=d}return i};var ve=Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d};var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};Ee=function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),v=0;v{Object.defineProperty(d,"__esModule",{value:true});d.Git=void 0;class Git{static parseURL(i){const d=i.match(Git.protoRegexp);if(d&&d.length>0){let p=d[0].toLowerCase();p=p.slice(0,p.lastIndexOf("://"));if(!(p in Git.supportedProtos)){throw new Error(`Invalid protocol: ${p}`)}return Git.fromURL(new URL(i))}throw new Error("Unknown protocol")}static fromURL(i){const d=new URL(i.toString());d.hash="";let p;if(i.username||i.password){p={username:i.username,password:i.password,passwordSet:i.password!==""}}return{scheme:i.protocol.slice(0,-1),user:p,host:`${i.hostname}${i.port?":"+i.port:""}`,path:i.pathname,fragment:Git.splitGitFragment(i.hash),remote:d.toString()}}static splitGitFragment(i){if(i===""){return undefined}const[d,p]=i.slice(1).split(":");return{ref:d,subdir:p}}static parseRef(i){const d={};let p;if(i.startsWith("./")||i.startsWith("../")){throw new Error("Invalid argument")}else if(i.startsWith("github.com/")){d.indistinguishableFromLocal=true;p=Git.fromURL(new URL("https://"+i))}else{p=Git.parseURL(i);if(["http","git"].includes(p.scheme)){d.unencryptedTCP=true}if(["http","https"].includes(p.scheme)&&!p.path.endsWith(".git")){throw new Error("Invalid argument")}}d.remote=p.remote;if(d.indistinguishableFromLocal){d.remote=d.remote.split("://")[1]}if(p.fragment){d.commit=p.fragment.ref;d.subDir=p.fragment.subdir}const v=d.remote.split("/");d.shortName=v[v.length-1].replace(".git","");return d}}d.Git=Git;Git.protoRegexp=new RegExp("^[a-zA-Z0-9]+://");Git.supportedProtos={http:{},https:{},ssh:{},git:{}}},53954:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K{if(i.stderr.length>0&&i.exitCode!=0){se.debug(`Buildx.isAvailable cmd err: ${i.stderr.trim()}`);return false}return i.exitCode==0})).catch((i=>{se.debug(`Buildx.isAvailable error: ${i}`);return false}));se.debug(`Buildx.isAvailable: ${d}`);return d}))}version(){return ee(this,void 0,void 0,(function*(){if(this._versionOnce){return this._version}this._versionOnce=true;const i=yield this.getCommand(["version"]);this._version=yield ce.Exec.getExecOutput(i.command,i.args,{ignoreReturnCode:true,silent:true}).then((i=>{if(i.stderr.length>0&&i.exitCode!=0){throw new Error(i.stderr.trim())}return Buildx.parseVersion(i.stdout.trim())}));return this._version}))}printVersion(){return ee(this,void 0,void 0,(function*(){const i=yield this.getCommand(["version"]);yield ce.Exec.exec(i.command,i.args,{failOnStdErr:false})}))}static parseVersion(i){const d=/\sv?([0-9a-f]{7}|[0-9.]+)/.exec(i);if(!d){throw new Error(`Cannot parse buildx version`)}return d[1]}versionSatisfies(i,d){return ee(this,void 0,void 0,(function*(){const p=d!==null&&d!==void 0?d:yield this.version();if(!p){se.debug(`Buildx.versionSatisfies false: undefined version`);return false}const v=ie.satisfies(p,i)||/^[0-9a-f]{7}$/.exec(p)!==null;se.debug(`Buildx.versionSatisfies ${p} statisfies ${i}: ${v}`);return v}))}static resolveCertsDriverOpts(i,d,p){let v;try{v=new URL(d)}catch(i){return[]}if(v.protocol!="tcp:"){return[]}const V=[];if(Object.keys(p).length==0){return V}let K=v.hostname;if(v.port.length>0){K+=`-${v.port}`}if(p.cacert!==undefined){const i=ne.default.join(Buildx.certsDir,`cacert_${K}.pem`);re.default.writeFileSync(i,p.cacert);V.push(`cacert=${i}`)}if(p.cert!==undefined){const i=ne.default.join(Buildx.certsDir,`cert_${K}.pem`);re.default.writeFileSync(i,p.cert);V.push(`cert=${i}`)}if(p.key!==undefined){const i=ne.default.join(Buildx.certsDir,`key_${K}.pem`);re.default.writeFileSync(i,p.key);V.push(`key=${i}`)}if(i!="remote"){return[]}return V}static localState(i,d){const[p,v,V]=i.split("/");if(!p||!v||!V){throw new Error(`Invalid build reference: ${i}`)}const K=ne.default.join(d||Buildx.refsDir,p,v,V);if(!re.default.existsSync(K)){throw new Error(`Local state not found in ${K}`)}return Buildx.fixLocalState(JSON.parse(re.default.readFileSync(K,"utf8")))}static fixLocalState(i){const fnTrimToValidContext=function(i){const d=i.match(/(.*)(https?:\/{1,2}\S+|ssh:\/{1,2}\S+|git:\/{1,2}\S+)/i);if(d&&d.length==3){const i=d[1];let p=d[2];if(p.startsWith("https:/")&&!p.startsWith("https://")){p=p.replace("https:/","https://")}if(p.startsWith("http:/")&&!p.startsWith("http://")){p=p.replace("http:/","http://")}if(p.startsWith("ssh:/")&&!p.startsWith("ssh://")){p=p.replace("ssh:/","ssh://")}if(p.startsWith("git:/")&&!p.startsWith("git://")){p=p.replace("git:/","git://")}return[p,i,true]}return[i,"",false]};const[d,p,v]=fnTrimToValidContext(i.LocalPath);if(v){i.LocalPath=d;if(i.DockerfilePath.indexOf(p)===0){i.DockerfilePath=i.DockerfilePath.substring(p.length)}}i.LocalPath=i.LocalPath.endsWith("/-")?"-":i.LocalPath;i.DockerfilePath=i.DockerfilePath.endsWith("/-")?"-":i.DockerfilePath;return i}static refs(i,d={}){const{dir:p,builderName:v,nodeName:V,since:K}=i;let ee=ne.default.resolve(p);if(i.builderName){ee=ne.default.join(ee,i.builderName)}if(i.nodeName){ee=ne.default.join(ee,i.nodeName)}if(!re.default.existsSync(ee)){return d}const te=re.default.readdirSync(ee);for(const p of te){const te=ne.default.join(ee,p);const se=re.default.statSync(te);if(se.isDirectory()){const K=Object.assign({},i);if(!v){if(p==="__group__"){continue}K.builderName=p}else if(!V){K.nodeName=p}Buildx.refs(K,d)}else{if(K&&se.mtimeatob(i))).join(" ");let ne=atob(d.short).replace(/\s\(line \d+\)$/,"");if(d.url){ne+=`\nMore info: ${d.url}`}const ie=d.range&&d.range.length>0?(K=d.range[0])===null||K===void 0?void 0:K.start.line:undefined;let oe=false;for(const d of ee){if(d.remote||d.path.endsWith(i)&&d.content===p){te.push({title:re,message:ne,file:d.path,startLine:ie});oe=true;break}}if(!oe){se.debug(`Buildx.convertWarningsToGitHubAnnotations: skipping warning without matching Dockerfile ${i}: ${re}`)}}return te}))}}d.Buildx=Buildx;Buildx.containerNamePrefix="buildx_buildkit_"},70581:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K{ie.debug(`Docker.isAvailable ok: ${i}`);return true})).catch((i=>{ie.debug(`Docker.isAvailable error: ${i}`);return false}))}))}static isDaemonRunning(){return ee(this,void 0,void 0,(function*(){try{yield Docker.getExecOutput([`version`],{silent:true});return true}catch(i){return false}}))}static exec(i,d){return ee(this,void 0,void 0,(function*(){return ce.Exec.exec("docker",i,Docker.execOptions(d))}))}static getExecOutput(i,d){return ee(this,void 0,void 0,(function*(){return ce.Exec.getExecOutput("docker",i,Docker.execOptions(d))}))}static execOptions(i){if(!i){i={}}if(!i.env){i.env=Object.assign({},process.env,{DOCKER_CONTENT_TRUST:"false"})}else{i.env.DOCKER_CONTENT_TRUST="false"}return i}static context(i){return ee(this,void 0,void 0,(function*(){const d=["context","inspect","--format","{{.Name}}"];if(i){d.push(i)}return yield Docker.getExecOutput(d,{ignoreReturnCode:true,silent:true}).then((i=>{if(i.stderr.length>0&&i.exitCode!=0){throw new Error(i.stderr)}return i.stdout.trim()}))}))}static contextInspect(i){return ee(this,void 0,void 0,(function*(){const d=["context","inspect","--format=json"];if(i){d.push(i)}return yield Docker.getExecOutput(d,{ignoreReturnCode:true,silent:true}).then((i=>{if(i.stderr.length>0&&i.exitCode!=0){throw new Error(i.stderr.trim())}return JSON.parse(i.stdout.trim())[0]}))}))}static printVersion(){return ee(this,void 0,void 0,(function*(){yield Docker.exec(["version"])}))}static printInfo(){return ee(this,void 0,void 0,(function*(){yield Docker.exec(["info"])}))}static parseRepoTag(i){let d;const p=i.indexOf("@");const v=i.lastIndexOf(":");if(p>=0){d=p}else if(v>=0){d=v}else{return{repository:i,tag:"latest"}}const V=i.slice(d+1);if(V.indexOf("/")===-1){return{repository:i.slice(0,d),tag:V}}return{repository:i,tag:"latest"}}static pull(i,d){return ee(this,void 0,void 0,(function*(){const p=Docker.parseRepoTag(i);const v=p.repository.replace(/[^a-zA-Z0-9.]+/g,"--");const V=p.tag.replace(/[^a-zA-Z0-9.]+/g,"--");const K=new Ae.Cache({htcName:v,htcVersion:V,baseCacheDir:se.default.join(Docker.configDir,".cache","images",v),cacheFile:"image.tar"});let te;if(d){te=yield K.find();if(te){ie.info(`Image found from cache in ${te}`);yield Docker.getExecOutput(["load","-i",te],{ignoreReturnCode:true}).then((i=>{var d,p,v;if(i.stderr.length>0&&i.exitCode!=0){ie.warning(`Failed to load image from cache: ${(v=(p=(d=i.stderr.match(/(.*)\s*$/))===null||d===void 0?void 0:d[0])===null||p===void 0?void 0:p.trim())!==null&&v!==void 0?v:"unknown error"}`)}}))}}let re=true;yield Docker.getExecOutput(["pull",i],{ignoreReturnCode:true}).then((i=>{var d,p,v;if(i.stderr.length>0&&i.exitCode!=0){re=false;const V=(v=(p=(d=i.stderr.match(/(.*)\s*$/))===null||d===void 0?void 0:d[0])===null||p===void 0?void 0:p.trim())!==null&&v!==void 0?v:"unknown error";if(te){ie.warning(`Failed to pull image, using one from cache: ${V}`)}else{throw new Error(V)}}}));if(d&&re){const d=se.default.join(ae.Context.tmpDir(),`${le.Util.hash(i)}.tar`);yield Docker.getExecOutput(["save","-o",d,i],{ignoreReturnCode:true}).then((i=>ee(this,void 0,void 0,(function*(){var p,v,V;if(i.stderr.length>0&&i.exitCode!=0){ie.warning(`Failed to save image: ${(V=(v=(p=i.stderr.match(/(.*)\s*$/))===null||p===void 0?void 0:p[0])===null||v===void 0?void 0:v.trim())!==null&&V!==void 0?V:"unknown error"}`)}else{const i=yield K.save(d);ie.info(`Image cached to ${i}`)}}))))}}))}}d.Docker=Docker},55162:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Ki.data))}releases(i,d){return ee(this,void 0,void 0,(function*(){let p;try{p=yield this.releasesRaw(i,d)}catch(v){if(!this.githubToken){throw v}p=yield this.releasesRaw(i,d,this.githubToken)}return p}))}releasesRaw(i,d,p){return ee(this,void 0,void 0,(function*(){const v=`https://raw.githubusercontent.com/${d.owner}/${d.repo}/${d.ref}/${d.path}`;const V=new pe.HttpClient("docker-actions-toolkit");const K=yield V.get(v,p?{Authorization:`token ${p}`}:undefined);const ee=yield K.readBody();const te=K.message.statusCode||500;if(te>=400){throw new Error(`Failed to get ${i} releases from ${v} with status code ${te}: ${ee}`)}return JSON.parse(ee)}))}static get context(){return ge.context}static get serverURL(){return process.env.GITHUB_SERVER_URL||"https://github.com"}static get apiURL(){return process.env.GITHUB_API_URL||"https://api.github.com"}static get isGHES(){return(0,le.isGhes)()}static get repository(){return`${ge.context.repo.owner}/${ge.context.repo.repo}`}static get workspace(){return process.env.GITHUB_WORKSPACE||process.cwd()}static get runId(){return process.env.GITHUB_RUN_ID?+process.env.GITHUB_RUN_ID:ge.context.runId}static get runAttempt(){return process.env.GITHUB_RUN_ATTEMPT?+process.env.GITHUB_RUN_ATTEMPT:1}static workflowRunURL(i){return`${GitHub.serverURL}/${GitHub.repository}/actions/runs/${GitHub.runId}${i?`/attempts/${GitHub.runAttempt}`:""}`}static get actionsRuntimeToken(){const i=process.env["ACTIONS_RUNTIME_TOKEN"]||"";return i?(0,Ee.jwtDecode)(i):undefined}static printActionsRuntimeTokenACs(){return ee(this,void 0,void 0,(function*(){let i;try{i=GitHub.actionsRuntimeToken}catch(i){throw new Error(`Cannot parse GitHub Actions Runtime Token: ${i.message}`)}if(!i){throw new Error(`ACTIONS_RUNTIME_TOKEN not set`)}try{JSON.parse(`${i.ac}`).forEach((i=>{let d;switch(i.Permission){case 1:d="read";break;case 2:d="write";break;case 3:d="read/write";break;default:d=`unimplemented (${i.Permission})`}fe.info(`${i.Scope}: ${d}`)}))}catch(i){throw new Error(`Cannot parse GitHub Actions Runtime Token ACs: ${i.message}`)}}))}static uploadArtifact(i){return ee(this,void 0,void 0,(function*(){if(GitHub.isGHES){throw new Error("@actions/artifact v2.0.0+ is currently not supported on GHES.")}const d=ae.default.basename(i.filename);const p=(0,ue.getBackendIdsFromToken)();const v=(0,ce.internalArtifactTwirpClient)();fe.info(`Uploading ${d} to blob storage`);const V={workflowRunBackendId:p.workflowRunBackendId,workflowJobRunBackendId:p.workflowJobRunBackendId,name:d,version:4};const K=(0,de.getExpiration)(i===null||i===void 0?void 0:i.retentionDays);if(K){V.expiresAt=K}const ee=yield v.CreateArtifact(V);if(!ee.ok){throw new he.InvalidResponseError("cannot create artifact client")}let te=0;const se=new me.BlobClient(ee.signedUploadUrl);const ie=se.getBlockBlobClient();const oe={blobContentDisposition:`attachment; filename="${d}"`};if(i.mimeType){oe.blobContentType=i.mimeType}fe.debug(`Upload headers: ${JSON.stringify(oe)}`);try{fe.info("Beginning upload of artifact content to blob storage");yield ie.uploadFile(i.filename,{blobHTTPHeaders:oe,onProgress:i=>{fe.info(`Uploaded bytes ${i.loadedBytes}`);te=i.loadedBytes}})}catch(i){if(he.NetworkError.isNetworkErrorCode(i===null||i===void 0?void 0:i.code)){throw new he.NetworkError(i===null||i===void 0?void 0:i.code)}throw i}fe.info("Finished uploading artifact content to blob storage!");const le=re.default.createHash("sha256").update(ne.default.readFileSync(i.filename)).digest("hex");fe.info(`SHA256 hash of uploaded artifact is ${le}`);const ge={workflowRunBackendId:p.workflowRunBackendId,workflowJobRunBackendId:p.workflowJobRunBackendId,name:d,size:te?te.toString():"0"};if(le){ge.hash=Ae.StringValue.create({value:`sha256:${le}`})}fe.info(`Finalizing artifact upload`);const pe=yield v.FinalizeArtifact(ge);if(!pe.ok){throw new he.InvalidResponseError("Cannot finalize artifact upload")}const Ee=BigInt(pe.artifactId);fe.info(`Artifact successfully finalized (${Ee})`);const Ce=`${GitHub.workflowRunURL()}/artifacts/${Ee}`;fe.info(`Artifact download URL: ${Ce}`);return{id:Number(Ee),filename:d,size:te,url:Ce}}))}static writeBuildSummary(i){return ee(this,void 0,void 0,(function*(){var d,p,v;const addLink=function(i,d,p=false){return`${i}`+(p?oe.default.EOL:"")};const V=i.exportRes.refs.length;const K=V>0?(d=i.exportRes.refs)===null||d===void 0?void 0:d[0]:undefined;const ee=K?(p=i.exportRes.summaries)===null||p===void 0?void 0:p[K]:undefined;const te=i.driver==="cloud"&&i.endpoint?(v=i.endpoint)===null||v===void 0?void 0:v.replace(/^cloud:\/\//,"").split("/")[0]:undefined;const re=fe.summary.addHeading("Docker Build summary",2);if(te&&V===1&&K&&ee){const i=GitHub.formatDBCBuildURL(te,K,ee.defaultPlatform);re.addRaw(`

`).addRaw(`For a detailed look at the build, you can check the results at:`).addRaw("

").addRaw(`

`).addRaw(`:whale: ${addLink(`${i}`,i)}`).addRaw(`

`)}if(i.uploadRes){const d=`./${GitHub.runId}/${i.uploadRes.url.split("/").slice(-2).join("/")}`;if(te&&V===1){re.addRaw(`

`).addRaw(`You can also download the following build record archive and import it into Docker Desktop's Builds view. `).addBreak().addRaw(`Build records include details such as timing, dependencies, results, logs, traces, and other information about a build. `).addRaw(addLink("Learn more","https://www.docker.com/blog/new-beta-feature-deep-dive-into-github-actions-docker-builds-with-docker-desktop/?utm_source=github&utm_medium=actions")).addRaw("

")}else{re.addRaw(`

`).addRaw(`For a detailed look at the build, download the following build record archive and import it into Docker Desktop's Builds view. `).addBreak().addRaw(`Build records include details such as timing, dependencies, results, logs, traces, and other information about a build. `).addRaw(addLink("Learn more","https://www.docker.com/blog/new-beta-feature-deep-dive-into-github-actions-docker-builds-with-docker-desktop/?utm_source=github&utm_medium=actions")).addRaw("

")}re.addRaw(`

`).addRaw(`:arrow_down: ${addLink(`${Ce.Util.stringToUnicodeEntities(i.uploadRes.filename)}`,d)} (${Ce.Util.formatFileSize(i.uploadRes.size)} - includes ${V} build record${V>1?"s":""})`).addRaw(`

`)}else if(i.exportRes.summaries){re.addRaw(`

`).addRaw(`The following table provides a brief summary of your build.`).addBreak().addRaw(`For a detailed look at the build, including timing, dependencies, results, logs, traces, and other information, consider enabling the export of the build record so you can import it into Docker Desktop's Builds view. `).addRaw(addLink("Learn more","https://www.docker.com/blog/new-beta-feature-deep-dive-into-github-actions-docker-builds-with-docker-desktop/?utm_source=github&utm_medium=actions")).addRaw(`

`)}re.addRaw(`

`).addRaw(`Find this useful? `).addRaw(addLink("Let us know","https://docs.docker.com/feedback/gha-build-summary")).addRaw("

");if(i.exportRes.summaries){re.addRaw("

");const d=[[{header:true,data:"ID"},{header:true,data:"Name"},{header:true,data:"Status"},{header:true,data:"Cached"},{header:true,data:"Duration"},...te&&V>1?[{header:true,data:"Build result URL"}]:[]]];let p;for(const v in i.exportRes.summaries){if(Object.prototype.hasOwnProperty.call(i.exportRes.summaries,v)){const K=i.exportRes.summaries[v];d.push([{data:`${v.substring(0,6).toUpperCase()}`},{data:`${Ce.Util.stringToUnicodeEntities(K.name)}`},{data:`${K.status==="completed"?":white_check_mark:":K.status==="canceled"?":no_entry_sign:":":x:"} ${K.status}`},{data:`${K.numCachedSteps>0?Math.round(K.numCachedSteps/K.numTotalSteps*100):0}%`},{data:K.duration},...te&&V>1?[{data:addLink(":whale: Open",GitHub.formatDBCBuildURL(te,v,K.defaultPlatform))}]:[]]);if(K.error){p=K.error}}}re.addTable([...d]);re.addRaw(`

`);if(p){re.addRaw(`
`);if(Ce.Util.countLines(p)>10){re.addRaw(`
Error`).addCodeBlock(se.default.encode(p),"text").addRaw(`
`)}else{re.addRaw(`Error`).addBreak().addRaw(`

`).addCodeBlock(se.default.encode(p),"text").addRaw(`

`)}re.addRaw(`
`)}}if(i.inputs){re.addRaw(`
Build inputs`).addCodeBlock((0,ie.dump)(i.inputs,{indent:2,lineWidth:-1}),"yaml").addRaw(`
`)}if(i.bakeDefinition){re.addRaw(`
Bake definition`).addCodeBlock(JSON.stringify(i.bakeDefinition,null,2),"json").addRaw(`
`)}fe.info(`Writing summary`);yield re.addSeparator().write()}))}static formatDBCBuildURL(i,d,p){return`https://app.docker.com/build/accounts/${i}/builds/${(p!==null&&p!==void 0?p:"linux/amd64").replace("/","-")}/${d}`}}d.GitHub=GitHub},19995:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Kee(this,void 0,void 0,(function*(){yield re.Cache.post()}))))}}))}},23651:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Ki)).map((i=>i.trim()))}static getInputNumber(i){const d=ie.getInput(i);if(!d){return undefined}return parseInt(d)}static asyncForEach(i,d){return ee(this,void 0,void 0,(function*(){for(let p=0;psetTimeout(d,i*1e3)))}static hash(i){return re.default.createHash("sha256").update(i).digest("hex")}static parseBool(i){switch(i){case"1":case"t":case"T":case"true":case"TRUE":case"True":return true;case"0":case"f":case"F":case"false":case"FALSE":case"False":return false;default:throw new Error(`parseBool syntax error: ${i}`)}}static formatFileSize(i){if(i===0)return"0 Bytes";const d=1024;const p=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"];const v=Math.floor(Math.log(i)/Math.log(d));return parseFloat((i/Math.pow(d,v)).toFixed(2))+" "+p[v]}static generateRandomString(i=10){const d=re.default.randomBytes(Math.ceil(i/2));return d.toString("hex").slice(0,i)}static stringToUnicodeEntities(i){return Array.from(i).map((i=>`&#x${i.charCodeAt(0).toString(16)};`)).join("")}static countLines(i){return i.split(/\r\n|\r|\n/).length}static isPathRelativeTo(i,d){const p=se.default.resolve(i);const v=se.default.resolve(d);return v.startsWith(p.endsWith(se.default.sep)?p:`${p}${se.default.sep}`)}static formatDuration(i){if(i===0)return"0s";const d=Math.floor(i/1e9);const p=Math.floor(d/3600);const v=Math.floor(d%3600/60);const V=d%60;const K=[];if(p)K.push(`${p}h`);if(v)K.push(`${v}m`);if(V||K.length===0)K.push(`${V}s`);return K.join("")}}d.Util=Util},58099:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K0){i+=" ";let d=true;for(const p in this.properties){if(this.properties.hasOwnProperty(p)){const v=this.properties[p];if(v){if(d){d=false}else{i+=","}i+=`${p}=${escapeProperty(v)}`}}}}i+=`${re}${escapeData(this.message)}`;return i}}function escapeData(i){return(0,te.toCommandValue)(i).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(i){return(0,te.toCommandValue)(i).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}},76267:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Ki!==""));if(d&&d.trimWhitespace===false){return p}return p.map((i=>i.trim()))}function getBooleanInput(i,d){const p=["true","True","TRUE"];const v=["false","False","FALSE"];const V=getInput(i,d);if(p.includes(V))return true;if(v.includes(V))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${i}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}function setOutput(i,d){const p=process.env["GITHUB_OUTPUT"]||"";if(p){return(0,re.issueFileCommand)("OUTPUT",(0,re.prepareKeyValueMessage)(i,d))}process.stdout.write(se.EOL);(0,te.issueCommand)("set-output",{name:i},(0,ne.toCommandValue)(d))}function setCommandEcho(i){(0,te.issue)("echo",i?"on":"off")}function setFailed(i){process.exitCode=ae.Failure;error(i)}function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}function debug(i){(0,te.issueCommand)("debug",{},i)}function error(i,d={}){(0,te.issueCommand)("error",(0,ne.toCommandProperties)(d),i instanceof Error?i.toString():i)}function warning(i,d={}){(0,te.issueCommand)("warning",(0,ne.toCommandProperties)(d),i instanceof Error?i.toString():i)}function notice(i,d={}){(0,te.issueCommand)("notice",(0,ne.toCommandProperties)(d),i instanceof Error?i.toString():i)}function info(i){process.stdout.write(i+se.EOL)}function startGroup(i){(0,te.issue)("group",i)}function endGroup(){(0,te.issue)("endgroup")}function group(i,d){return ee(this,void 0,void 0,(function*(){startGroup(i);let p;try{p=yield d()}finally{endGroup()}return p}))}function saveState(i,d){const p=process.env["GITHUB_STATE"]||"";if(p){return(0,re.issueFileCommand)("STATE",(0,re.prepareKeyValueMessage)(i,d))}(0,te.issueCommand)("save-state",{name:i},(0,ne.toCommandValue)(d))}function getState(i){return process.env[`STATE_${i}`]||""}function getIDToken(i){return ee(this,void 0,void 0,(function*(){return yield oe.OidcClient.getIDToken(i)}))}var Ae=p(79554);Object.defineProperty(d,"summary",{enumerable:true,get:function(){return Ae.summary}});var ce=p(79554);Object.defineProperty(d,"markdownSummary",{enumerable:true,get:function(){return ce.markdownSummary}});var le=p(87423);Object.defineProperty(d,"toPosixPath",{enumerable:true,get:function(){return le.toPosixPath}});Object.defineProperty(d,"toWin32Path",{enumerable:true,get:function(){return le.toWin32Path}});Object.defineProperty(d,"toPlatformPath",{enumerable:true,get:function(){return le.toPlatformPath}});d.platform=K(p(56247))},34694:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K{throw new Error(`Failed to get ID Token. \n \n Error Code : ${i.statusCode}\n \n Error Message: ${i.message}`)}));const V=(d=v.result)===null||d===void 0?void 0:d.value;if(!V){throw new Error("Response json body do not have ID Token field")}return V}))}static getIDToken(i){return v(this,void 0,void 0,(function*(){try{let d=OidcClient.getIDTokenUrl();if(i){const p=encodeURIComponent(i);d=`${d}&audience=${p}`}(0,ee.debug)(`ID token url is ${d}`);const p=yield OidcClient.getCall(d);(0,ee.setSecret)(p);return p}catch(i){throw new Error(`Error message: ${i.message}`)}}))}}d.OidcClient=OidcClient},87423:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Kee(void 0,void 0,void 0,(function*(){const{stdout:i}=yield ne.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',undefined,{silent:true});const{stdout:d}=yield ne.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',undefined,{silent:true});return{name:d.trim(),version:i.trim()}}));const getMacOsInfo=()=>ee(void 0,void 0,void 0,(function*(){var i,d,p,v;const{stdout:V}=yield ne.getExecOutput("sw_vers",undefined,{silent:true});const K=(d=(i=V.match(/ProductVersion:\s*(.+)/))===null||i===void 0?void 0:i[1])!==null&&d!==void 0?d:"";const ee=(v=(p=V.match(/ProductName:\s*(.+)/))===null||p===void 0?void 0:p[1])!==null&&v!==void 0?v:"";return{name:ee,version:K}}));const getLinuxInfo=()=>ee(void 0,void 0,void 0,(function*(){const{stdout:i}=yield ne.getExecOutput("lsb_release",["-i","-r","-s"],{silent:true});const[d,p]=i.trim().split("\n");return{name:d,version:p}}));d.platform=re.default.platform();d.arch=re.default.arch();d.isWindows=d.platform==="win32";d.isMacOS=d.platform==="darwin";d.isLinux=d.platform==="linux";function getDetails(){return ee(this,void 0,void 0,(function*(){return Object.assign(Object.assign({},yield d.isWindows?getWindowsInfo():d.isMacOS?getMacOsInfo():getLinuxInfo()),{platform:d.platform,arch:d.arch,isWindows:d.isWindows,isMacOS:d.isMacOS,isLinux:d.isLinux})}))}},79554:function(i,d,p){var v=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.summary=d.markdownSummary=d.SUMMARY_DOCS_URL=d.SUMMARY_ENV_VAR=void 0;const V=p(70857);const K=p(79896);const{access:ee,appendFile:te,writeFile:re}=K.promises;d.SUMMARY_ENV_VAR="GITHUB_STEP_SUMMARY";d.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 v(this,void 0,void 0,(function*(){if(this._filePath){return this._filePath}const i=process.env[d.SUMMARY_ENV_VAR];if(!i){throw new Error(`Unable to find environment variable for $${d.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`)}try{yield ee(i,K.constants.R_OK|K.constants.W_OK)}catch(d){throw new Error(`Unable to access summary file: '${i}'. Check if the file has correct read/write permissions.`)}this._filePath=i;return this._filePath}))}wrap(i,d,p={}){const v=Object.entries(p).map((([i,d])=>` ${i}="${d}"`)).join("");if(!d){return`<${i}${v}>`}return`<${i}${v}>${d}`}write(i){return v(this,void 0,void 0,(function*(){const d=!!(i===null||i===void 0?void 0:i.overwrite);const p=yield this.filePath();const v=d?re:te;yield v(p,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return v(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(i,d=false){this._buffer+=i;return d?this.addEOL():this}addEOL(){return this.addRaw(V.EOL)}addCodeBlock(i,d){const p=Object.assign({},d&&{lang:d});const v=this.wrap("pre",this.wrap("code",i),p);return this.addRaw(v).addEOL()}addList(i,d=false){const p=d?"ol":"ul";const v=i.map((i=>this.wrap("li",i))).join("");const V=this.wrap(p,v);return this.addRaw(V).addEOL()}addTable(i){const d=i.map((i=>{const d=i.map((i=>{if(typeof i==="string"){return this.wrap("td",i)}const{header:d,data:p,colspan:v,rowspan:V}=i;const K=d?"th":"td";const ee=Object.assign(Object.assign({},v&&{colspan:v}),V&&{rowspan:V});return this.wrap(K,p,ee)})).join("");return this.wrap("tr",d)})).join("");const p=this.wrap("table",d);return this.addRaw(p).addEOL()}addDetails(i,d){const p=this.wrap("details",this.wrap("summary",i)+d);return this.addRaw(p).addEOL()}addImage(i,d,p){const{width:v,height:V}=p||{};const K=Object.assign(Object.assign({},v&&{width:v}),V&&{height:V});const ee=this.wrap("img",null,Object.assign({src:i,alt:d},K));return this.addRaw(ee).addEOL()}addHeading(i,d){const p=`h${d}`;const v=["h1","h2","h3","h4","h5","h6"].includes(p)?p:"h1";const V=this.wrap(v,i);return this.addRaw(V).addEOL()}addSeparator(){const i=this.wrap("hr",null);return this.addRaw(i).addEOL()}addBreak(){const i=this.wrap("br",null);return this.addRaw(i).addEOL()}addQuote(i,d){const p=Object.assign({},d&&{cite:d});const v=this.wrap("blockquote",i,p);return this.addRaw(v).addEOL()}addLink(i,d){const p=this.wrap("a",i,{href:d});return this.addRaw(p).addEOL()}}const ne=new Summary;d.markdownSummary=ne;d.summary=ne},98167:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.toCommandValue=toCommandValue;d.toCommandProperties=toCommandProperties;function toCommandValue(i){if(i===null||i===undefined){return""}else if(typeof i==="string"||i instanceof String){return i}return JSON.stringify(i)}function toCommandProperties(i){if(!Object.keys(i).length){return{}}return{title:i.title,file:i.file,line:i.startLine,endLine:i.endLine,col:i.startColumn,endColumn:i.endColumn}}},63989:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.Context=void 0;const v=p(79896);const V=p(70857);class Context{constructor(){var i,d,p;this.payload={};if(process.env.GITHUB_EVENT_PATH){if((0,v.existsSync)(process.env.GITHUB_EVENT_PATH)){this.payload=JSON.parse((0,v.readFileSync)(process.env.GITHUB_EVENT_PATH,{encoding:"utf8"}))}else{const i=process.env.GITHUB_EVENT_PATH;process.stdout.write(`GITHUB_EVENT_PATH ${i} does not exist${V.EOL}`)}}this.eventName=process.env.GITHUB_EVENT_NAME;this.sha=process.env.GITHUB_SHA;this.ref=process.env.GITHUB_REF;this.workflow=process.env.GITHUB_WORKFLOW;this.action=process.env.GITHUB_ACTION;this.actor=process.env.GITHUB_ACTOR;this.job=process.env.GITHUB_JOB;this.runAttempt=parseInt(process.env.GITHUB_RUN_ATTEMPT,10);this.runNumber=parseInt(process.env.GITHUB_RUN_NUMBER,10);this.runId=parseInt(process.env.GITHUB_RUN_ID,10);this.apiUrl=(i=process.env.GITHUB_API_URL)!==null&&i!==void 0?i:`https://api.github.com`;this.serverUrl=(d=process.env.GITHUB_SERVER_URL)!==null&&d!==void 0?d:`https://github.com`;this.graphqlUrl=(p=process.env.GITHUB_GRAPHQL_URL)!==null&&p!==void 0?p:`https://api.github.com/graphql`}get issue(){const i=this.payload;return Object.assign(Object.assign({},this.repo),{number:(i.issue||i.pull_request||i).number})}get repo(){if(process.env.GITHUB_REPOSITORY){const[i,d]=process.env.GITHUB_REPOSITORY.split("/");return{owner:i,repo:d}}if(this.payload.repository){return{owner:this.payload.repository.owner.login,repo:this.payload.repository.name}}throw new Error("context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'")}}d.Context=Context},24055:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;Kee(this,void 0,void 0,(function*(){return(0,re.fetch)(i,Object.assign(Object.assign({},p),{dispatcher:d}))}));return proxyFetch}function getApiBaseUrl(){return process.env["GITHUB_API_URL"]||"https://api.github.com"}},42555:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(){var ownKeys=function(i){ownKeys=Object.getOwnPropertyNames||function(i){var d=[];for(var p in i)if(Object.prototype.hasOwnProperty.call(i,p))d[d.length]=p;return d};return ownKeys(i)};return function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p=ownKeys(i),K=0;K{var v=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var K=Object.getOwnPropertyNames;var ee=Object.prototype.hasOwnProperty;var __export=(i,d)=>{for(var p in d)v(i,p,{get:d[p],enumerable:true})};var __copyProps=(i,d,p,te)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let re of K(d))if(!ee.call(i,re)&&re!==p)v(i,re,{get:()=>d[re],enumerable:!(te=V(d,re))||te.enumerable})}return i};var __toCommonJS=i=>__copyProps(v({},"__esModule",{value:true}),i);var te={};__export(te,{Octokit:()=>ue});i.exports=__toCommonJS(te);var re=p(33843);var ne=p(52732);var se=p(44324);var ie=p(70007);var oe=p(77864);var ae="5.1.0";var noop=()=>{};var Ae=console.warn.bind(console);var ce=console.error.bind(console);var le=`octokit-core.js/${ae} ${(0,re.getUserAgent)()}`;var ue=class{static{this.VERSION=ae}static defaults(i){const d=class extends(this){constructor(...d){const p=d[0]||{};if(typeof i==="function"){super(i(p));return}super(Object.assign({},i,p,p.userAgent&&i.userAgent?{userAgent:`${p.userAgent} ${i.userAgent}`}:null))}};return d}static{this.plugins=[]}static plugin(...i){const d=this.plugins;const p=class extends(this){static{this.plugins=d.concat(i.filter((i=>!d.includes(i))))}};return p}constructor(i={}){const d=new ne.Collection;const p={baseUrl:se.request.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},i.request,{hook:d.bind(null,"request")}),mediaType:{previews:[],format:""}};p.headers["user-agent"]=i.userAgent?`${i.userAgent} ${le}`:le;if(i.baseUrl){p.baseUrl=i.baseUrl}if(i.previews){p.mediaType.previews=i.previews}if(i.timeZone){p.headers["time-zone"]=i.timeZone}this.request=se.request.defaults(p);this.graphql=(0,ie.withCustomRequest)(this.request).defaults(p);this.log=Object.assign({debug:noop,info:noop,warn:Ae,error:ce},i.log);this.hook=d;if(!i.authStrategy){if(!i.auth){this.auth=async()=>({type:"unauthenticated"})}else{const p=(0,oe.createTokenAuth)(i.auth);d.wrap("request",p.hook);this.auth=p}}else{const{authStrategy:p,...v}=i;const V=p(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:v},i.auth));d.wrap("request",V.hook);this.auth=V}const v=this.constructor;for(let d=0;d{var v=Object.create;var V=Object.defineProperty;var K=Object.getOwnPropertyDescriptor;var ee=Object.getOwnPropertyNames;var te=Object.getPrototypeOf;var re=Object.prototype.hasOwnProperty;var __export=(i,d)=>{for(var p in d)V(i,p,{get:d[p],enumerable:true})};var __copyProps=(i,d,p,v)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let te of ee(d))if(!re.call(i,te)&&te!==p)V(i,te,{get:()=>d[te],enumerable:!(v=K(d,te))||v.enumerable})}return i};var __toESM=(i,d,p)=>(p=i!=null?v(te(i)):{},__copyProps(d||!i||!i.__esModule?V(p,"default",{value:i,enumerable:true}):p,i));var __toCommonJS=i=>__copyProps(V({},"__esModule",{value:true}),i);var ne={};__export(ne,{RequestError:()=>Ae});i.exports=__toCommonJS(ne);var se=p(14150);var ie=__toESM(p(55560));var oe=(0,ie.default)((i=>console.warn(i)));var ae=(0,ie.default)((i=>console.warn(i)));var Ae=class extends Error{constructor(i,d,p){super(i);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="HttpError";this.status=d;let v;if("headers"in p&&typeof p.headers!=="undefined"){v=p.headers}if("response"in p){this.response=p.response;v=p.response.headers}const V=Object.assign({},p.request);if(p.request.headers.authorization){V.headers=Object.assign({},p.request.headers,{authorization:p.request.headers.authorization.replace(/ .*$/," [REDACTED]")})}V.url=V.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]");this.request=V;Object.defineProperty(this,"code",{get(){oe(new se.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`."));return d}});Object.defineProperty(this,"headers",{get(){ae(new se.Deprecation("[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`."));return v||{}}})}};0&&0},44324:(i,d,p)=>{var v=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var K=Object.getOwnPropertyNames;var ee=Object.prototype.hasOwnProperty;var __export=(i,d)=>{for(var p in d)v(i,p,{get:d[p],enumerable:true})};var __copyProps=(i,d,p,te)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let re of K(d))if(!ee.call(i,re)&&re!==p)v(i,re,{get:()=>d[re],enumerable:!(te=V(d,re))||te.enumerable})}return i};var __toCommonJS=i=>__copyProps(v({},"__esModule",{value:true}),i);var te={};__export(te,{request:()=>ae});i.exports=__toCommonJS(te);var re=p(54471);var ne=p(33843);var se="8.1.4";var ie=p(93407);var oe=p(96831);function getBufferResponse(i){return i.arrayBuffer()}function fetchWrapper(i){var d,p,v;const V=i.request&&i.request.log?i.request.log:console;const K=((d=i.request)==null?void 0:d.parseSuccessResponseBody)!==false;if((0,ie.isPlainObject)(i.body)||Array.isArray(i.body)){i.body=JSON.stringify(i.body)}let ee={};let te;let re;let{fetch:ne}=globalThis;if((p=i.request)==null?void 0:p.fetch){ne=i.request.fetch}if(!ne){throw new Error("fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing")}return ne(i.url,{method:i.method,body:i.body,headers:i.headers,signal:(v=i.request)==null?void 0:v.signal,...i.body&&{duplex:"half"}}).then((async d=>{re=d.url;te=d.status;for(const i of d.headers){ee[i[0]]=i[1]}if("deprecation"in ee){const d=ee.link&&ee.link.match(/<([^>]+)>; rel="deprecation"/);const p=d&&d.pop();V.warn(`[@octokit/request] "${i.method} ${i.url}" is deprecated. It is scheduled to be removed on ${ee.sunset}${p?`. See ${p}`:""}`)}if(te===204||te===205){return}if(i.method==="HEAD"){if(te<400){return}throw new oe.RequestError(d.statusText,te,{response:{url:re,status:te,headers:ee,data:void 0},request:i})}if(te===304){throw new oe.RequestError("Not modified",te,{response:{url:re,status:te,headers:ee,data:await getResponseData(d)},request:i})}if(te>=400){const p=await getResponseData(d);const v=new oe.RequestError(toErrorMessage(p),te,{response:{url:re,status:te,headers:ee,data:p},request:i});throw v}return K?await getResponseData(d):d.body})).then((i=>({status:te,url:re,headers:ee,data:i}))).catch((d=>{if(d instanceof oe.RequestError)throw d;else if(d.name==="AbortError")throw d;let p=d.message;if(d.name==="TypeError"&&"cause"in d){if(d.cause instanceof Error){p=d.cause.message}else if(typeof d.cause==="string"){p=d.cause}}throw new oe.RequestError(p,500,{request:i})}))}async function getResponseData(i){const d=i.headers.get("content-type");if(/application\/json/.test(d)){return i.json()}if(!d||/^text\/|charset=utf-8$/.test(d)){return i.text()}return getBufferResponse(i)}function toErrorMessage(i){if(typeof i==="string")return i;if("message"in i){if(Array.isArray(i.errors)){return`${i.message}: ${i.errors.map(JSON.stringify).join(", ")}`}return i.message}return`Unknown error: ${JSON.stringify(i)}`}function withDefaults(i,d){const p=i.defaults(d);const newApi=function(i,d){const v=p.merge(i,d);if(!v.request||!v.request.hook){return fetchWrapper(p.parse(v))}const request2=(i,d)=>fetchWrapper(p.parse(p.merge(i,d)));Object.assign(request2,{endpoint:p,defaults:withDefaults.bind(null,p)});return v.request.hook(request2,v)};return Object.assign(newApi,{endpoint:p,defaults:withDefaults.bind(null,p)})}var ae=withDefaults(re.endpoint,{headers:{"user-agent":`octokit-request.js/${se} ${(0,ne.getUserAgent)()}`}});0&&0},12788:i=>{var d=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var V=Object.prototype.hasOwnProperty;var __export=(i,p)=>{for(var v in p)d(i,v,{get:p[v],enumerable:true})};var __copyProps=(i,K,ee,te)=>{if(K&&typeof K==="object"||typeof K==="function"){for(let re of v(K))if(!V.call(i,re)&&re!==ee)d(i,re,{get:()=>K[re],enumerable:!(te=p(K,re))||te.enumerable})}return i};var __toCommonJS=i=>__copyProps(d({},"__esModule",{value:true}),i);var K={};__export(K,{composePaginateRest:()=>te,isPaginatingEndpoint:()=>isPaginatingEndpoint,paginateRest:()=>paginateRest,paginatingEndpoints:()=>re});i.exports=__toCommonJS(K);var ee="9.2.2";function normalizePaginatedListResponse(i){if(!i.data){return{...i,data:[]}}const d="total_count"in i.data&&!("url"in i.data);if(!d)return i;const p=i.data.incomplete_results;const v=i.data.repository_selection;const V=i.data.total_count;delete i.data.incomplete_results;delete i.data.repository_selection;delete i.data.total_count;const K=Object.keys(i.data)[0];const ee=i.data[K];i.data=ee;if(typeof p!=="undefined"){i.data.incomplete_results=p}if(typeof v!=="undefined"){i.data.repository_selection=v}i.data.total_count=V;return i}function iterator(i,d,p){const v=typeof d==="function"?d.endpoint(p):i.request.endpoint(d,p);const V=typeof d==="function"?d:i.request;const K=v.method;const ee=v.headers;let te=v.url;return{[Symbol.asyncIterator]:()=>({async next(){if(!te)return{done:true};try{const i=await V({method:K,url:te,headers:ee});const d=normalizePaginatedListResponse(i);te=((d.headers.link||"").match(/<([^<>]+)>;\s*rel="next"/)||[])[1];return{value:d}}catch(i){if(i.status!==409)throw i;te="";return{value:{status:200,headers:{},data:[]}}}}})}}function paginate(i,d,p,v){if(typeof p==="function"){v=p;p=void 0}return gather(i,[],iterator(i,d,p)[Symbol.asyncIterator](),v)}function gather(i,d,p,v){return p.next().then((V=>{if(V.done){return d}let K=false;function done(){K=true}d=d.concat(v?v(V.value,done):V.value.data);if(K){return d}return gather(i,d,p,v)}))}var te=Object.assign(paginate,{iterator:iterator});var re=["GET /advisories","GET /app/hook/deliveries","GET /app/installation-requests","GET /app/installations","GET /assignments/{assignment_id}/accepted_assignments","GET /classrooms","GET /classrooms/{classroom_id}/assignments","GET /enterprises/{enterprise}/dependabot/alerts","GET /enterprises/{enterprise}/secret-scanning/alerts","GET /events","GET /gists","GET /gists/public","GET /gists/starred","GET /gists/{gist_id}/comments","GET /gists/{gist_id}/commits","GET /gists/{gist_id}/forks","GET /installation/repositories","GET /issues","GET /licenses","GET /marketplace_listing/plans","GET /marketplace_listing/plans/{plan_id}/accounts","GET /marketplace_listing/stubbed/plans","GET /marketplace_listing/stubbed/plans/{plan_id}/accounts","GET /networks/{owner}/{repo}/events","GET /notifications","GET /organizations","GET /orgs/{org}/actions/cache/usage-by-repository","GET /orgs/{org}/actions/permissions/repositories","GET /orgs/{org}/actions/runners","GET /orgs/{org}/actions/secrets","GET /orgs/{org}/actions/secrets/{secret_name}/repositories","GET /orgs/{org}/actions/variables","GET /orgs/{org}/actions/variables/{name}/repositories","GET /orgs/{org}/blocks","GET /orgs/{org}/code-scanning/alerts","GET /orgs/{org}/codespaces","GET /orgs/{org}/codespaces/secrets","GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories","GET /orgs/{org}/copilot/billing/seats","GET /orgs/{org}/dependabot/alerts","GET /orgs/{org}/dependabot/secrets","GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories","GET /orgs/{org}/events","GET /orgs/{org}/failed_invitations","GET /orgs/{org}/hooks","GET /orgs/{org}/hooks/{hook_id}/deliveries","GET /orgs/{org}/installations","GET /orgs/{org}/invitations","GET /orgs/{org}/invitations/{invitation_id}/teams","GET /orgs/{org}/issues","GET /orgs/{org}/members","GET /orgs/{org}/members/{username}/codespaces","GET /orgs/{org}/migrations","GET /orgs/{org}/migrations/{migration_id}/repositories","GET /orgs/{org}/organization-roles/{role_id}/teams","GET /orgs/{org}/organization-roles/{role_id}/users","GET /orgs/{org}/outside_collaborators","GET /orgs/{org}/packages","GET /orgs/{org}/packages/{package_type}/{package_name}/versions","GET /orgs/{org}/personal-access-token-requests","GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories","GET /orgs/{org}/personal-access-tokens","GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories","GET /orgs/{org}/projects","GET /orgs/{org}/properties/values","GET /orgs/{org}/public_members","GET /orgs/{org}/repos","GET /orgs/{org}/rulesets","GET /orgs/{org}/rulesets/rule-suites","GET /orgs/{org}/secret-scanning/alerts","GET /orgs/{org}/security-advisories","GET /orgs/{org}/teams","GET /orgs/{org}/teams/{team_slug}/discussions","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions","GET /orgs/{org}/teams/{team_slug}/invitations","GET /orgs/{org}/teams/{team_slug}/members","GET /orgs/{org}/teams/{team_slug}/projects","GET /orgs/{org}/teams/{team_slug}/repos","GET /orgs/{org}/teams/{team_slug}/teams","GET /projects/columns/{column_id}/cards","GET /projects/{project_id}/collaborators","GET /projects/{project_id}/columns","GET /repos/{owner}/{repo}/actions/artifacts","GET /repos/{owner}/{repo}/actions/caches","GET /repos/{owner}/{repo}/actions/organization-secrets","GET /repos/{owner}/{repo}/actions/organization-variables","GET /repos/{owner}/{repo}/actions/runners","GET /repos/{owner}/{repo}/actions/runs","GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts","GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs","GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs","GET /repos/{owner}/{repo}/actions/secrets","GET /repos/{owner}/{repo}/actions/variables","GET /repos/{owner}/{repo}/actions/workflows","GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs","GET /repos/{owner}/{repo}/activity","GET /repos/{owner}/{repo}/assignees","GET /repos/{owner}/{repo}/branches","GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations","GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs","GET /repos/{owner}/{repo}/code-scanning/alerts","GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances","GET /repos/{owner}/{repo}/code-scanning/analyses","GET /repos/{owner}/{repo}/codespaces","GET /repos/{owner}/{repo}/codespaces/devcontainers","GET /repos/{owner}/{repo}/codespaces/secrets","GET /repos/{owner}/{repo}/collaborators","GET /repos/{owner}/{repo}/comments","GET /repos/{owner}/{repo}/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/commits","GET /repos/{owner}/{repo}/commits/{commit_sha}/comments","GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls","GET /repos/{owner}/{repo}/commits/{ref}/check-runs","GET /repos/{owner}/{repo}/commits/{ref}/check-suites","GET /repos/{owner}/{repo}/commits/{ref}/status","GET /repos/{owner}/{repo}/commits/{ref}/statuses","GET /repos/{owner}/{repo}/contributors","GET /repos/{owner}/{repo}/dependabot/alerts","GET /repos/{owner}/{repo}/dependabot/secrets","GET /repos/{owner}/{repo}/deployments","GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses","GET /repos/{owner}/{repo}/environments","GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies","GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps","GET /repos/{owner}/{repo}/events","GET /repos/{owner}/{repo}/forks","GET /repos/{owner}/{repo}/hooks","GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries","GET /repos/{owner}/{repo}/invitations","GET /repos/{owner}/{repo}/issues","GET /repos/{owner}/{repo}/issues/comments","GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/issues/events","GET /repos/{owner}/{repo}/issues/{issue_number}/comments","GET /repos/{owner}/{repo}/issues/{issue_number}/events","GET /repos/{owner}/{repo}/issues/{issue_number}/labels","GET /repos/{owner}/{repo}/issues/{issue_number}/reactions","GET /repos/{owner}/{repo}/issues/{issue_number}/timeline","GET /repos/{owner}/{repo}/keys","GET /repos/{owner}/{repo}/labels","GET /repos/{owner}/{repo}/milestones","GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels","GET /repos/{owner}/{repo}/notifications","GET /repos/{owner}/{repo}/pages/builds","GET /repos/{owner}/{repo}/projects","GET /repos/{owner}/{repo}/pulls","GET /repos/{owner}/{repo}/pulls/comments","GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/pulls/{pull_number}/comments","GET /repos/{owner}/{repo}/pulls/{pull_number}/commits","GET /repos/{owner}/{repo}/pulls/{pull_number}/files","GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews","GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments","GET /repos/{owner}/{repo}/releases","GET /repos/{owner}/{repo}/releases/{release_id}/assets","GET /repos/{owner}/{repo}/releases/{release_id}/reactions","GET /repos/{owner}/{repo}/rules/branches/{branch}","GET /repos/{owner}/{repo}/rulesets","GET /repos/{owner}/{repo}/rulesets/rule-suites","GET /repos/{owner}/{repo}/secret-scanning/alerts","GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations","GET /repos/{owner}/{repo}/security-advisories","GET /repos/{owner}/{repo}/stargazers","GET /repos/{owner}/{repo}/subscribers","GET /repos/{owner}/{repo}/tags","GET /repos/{owner}/{repo}/teams","GET /repos/{owner}/{repo}/topics","GET /repositories","GET /repositories/{repository_id}/environments/{environment_name}/secrets","GET /repositories/{repository_id}/environments/{environment_name}/variables","GET /search/code","GET /search/commits","GET /search/issues","GET /search/labels","GET /search/repositories","GET /search/topics","GET /search/users","GET /teams/{team_id}/discussions","GET /teams/{team_id}/discussions/{discussion_number}/comments","GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions","GET /teams/{team_id}/discussions/{discussion_number}/reactions","GET /teams/{team_id}/invitations","GET /teams/{team_id}/members","GET /teams/{team_id}/projects","GET /teams/{team_id}/repos","GET /teams/{team_id}/teams","GET /user/blocks","GET /user/codespaces","GET /user/codespaces/secrets","GET /user/emails","GET /user/followers","GET /user/following","GET /user/gpg_keys","GET /user/installations","GET /user/installations/{installation_id}/repositories","GET /user/issues","GET /user/keys","GET /user/marketplace_purchases","GET /user/marketplace_purchases/stubbed","GET /user/memberships/orgs","GET /user/migrations","GET /user/migrations/{migration_id}/repositories","GET /user/orgs","GET /user/packages","GET /user/packages/{package_type}/{package_name}/versions","GET /user/public_emails","GET /user/repos","GET /user/repository_invitations","GET /user/social_accounts","GET /user/ssh_signing_keys","GET /user/starred","GET /user/subscriptions","GET /user/teams","GET /users","GET /users/{username}/events","GET /users/{username}/events/orgs/{org}","GET /users/{username}/events/public","GET /users/{username}/followers","GET /users/{username}/following","GET /users/{username}/gists","GET /users/{username}/gpg_keys","GET /users/{username}/keys","GET /users/{username}/orgs","GET /users/{username}/packages","GET /users/{username}/projects","GET /users/{username}/received_events","GET /users/{username}/received_events/public","GET /users/{username}/repos","GET /users/{username}/social_accounts","GET /users/{username}/ssh_signing_keys","GET /users/{username}/starred","GET /users/{username}/subscriptions"];function isPaginatingEndpoint(i){if(typeof i==="string"){return re.includes(i)}else{return false}}function paginateRest(i){return{paginate:Object.assign(paginate.bind(null,i),{iterator:iterator.bind(null,i)})}}paginateRest.VERSION=ee;0&&0},11493:i=>{var d=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var V=Object.prototype.hasOwnProperty;var __export=(i,p)=>{for(var v in p)d(i,v,{get:p[v],enumerable:true})};var __copyProps=(i,K,ee,te)=>{if(K&&typeof K==="object"||typeof K==="function"){for(let re of v(K))if(!V.call(i,re)&&re!==ee)d(i,re,{get:()=>K[re],enumerable:!(te=p(K,re))||te.enumerable})}return i};var __toCommonJS=i=>__copyProps(d({},"__esModule",{value:true}),i);var K={};__export(K,{legacyRestEndpointMethods:()=>legacyRestEndpointMethods,restEndpointMethods:()=>restEndpointMethods});i.exports=__toCommonJS(K);var ee="10.4.0";var te={actions:{addCustomLabelsToSelfHostedRunnerForOrg:["POST /orgs/{org}/actions/runners/{runner_id}/labels"],addCustomLabelsToSelfHostedRunnerForRepo:["POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],approveWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve"],cancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"],createEnvironmentVariable:["POST /repositories/{repository_id}/environments/{environment_name}/variables"],createOrUpdateEnvironmentSecret:["PUT /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}"],createOrgVariable:["POST /orgs/{org}/actions/variables"],createRegistrationTokenForOrg:["POST /orgs/{org}/actions/runners/registration-token"],createRegistrationTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/registration-token"],createRemoveTokenForOrg:["POST /orgs/{org}/actions/runners/remove-token"],createRemoveTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/remove-token"],createRepoVariable:["POST /repos/{owner}/{repo}/actions/variables"],createWorkflowDispatch:["POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches"],deleteActionsCacheById:["DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}"],deleteActionsCacheByKey:["DELETE /repos/{owner}/{repo}/actions/caches{?key,ref}"],deleteArtifact:["DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],deleteEnvironmentSecret:["DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],deleteEnvironmentVariable:["DELETE /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],deleteOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}"],deleteOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}"],deleteRepoVariable:["DELETE /repos/{owner}/{repo}/actions/variables/{name}"],deleteSelfHostedRunnerFromOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}"],deleteSelfHostedRunnerFromRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}"],deleteWorkflowRun:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"],deleteWorkflowRunLogs:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],disableSelectedRepositoryGithubActionsOrganization:["DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}"],disableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable"],downloadArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"],downloadJobLogsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"],downloadWorkflowRunAttemptLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs"],downloadWorkflowRunLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],enableSelectedRepositoryGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories/{repository_id}"],enableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"],forceCancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel"],generateRunnerJitconfigForOrg:["POST /orgs/{org}/actions/runners/generate-jitconfig"],generateRunnerJitconfigForRepo:["POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig"],getActionsCacheList:["GET /repos/{owner}/{repo}/actions/caches"],getActionsCacheUsage:["GET /repos/{owner}/{repo}/actions/cache/usage"],getActionsCacheUsageByRepoForOrg:["GET /orgs/{org}/actions/cache/usage-by-repository"],getActionsCacheUsageForOrg:["GET /orgs/{org}/actions/cache/usage"],getAllowedActionsOrganization:["GET /orgs/{org}/actions/permissions/selected-actions"],getAllowedActionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/selected-actions"],getArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],getCustomOidcSubClaimForRepo:["GET /repos/{owner}/{repo}/actions/oidc/customization/sub"],getEnvironmentPublicKey:["GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key"],getEnvironmentSecret:["GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],getEnvironmentVariable:["GET /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],getGithubActionsDefaultWorkflowPermissionsOrganization:["GET /orgs/{org}/actions/permissions/workflow"],getGithubActionsDefaultWorkflowPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/workflow"],getGithubActionsPermissionsOrganization:["GET /orgs/{org}/actions/permissions"],getGithubActionsPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions"],getJobForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"],getOrgPublicKey:["GET /orgs/{org}/actions/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}"],getOrgVariable:["GET /orgs/{org}/actions/variables/{name}"],getPendingDeploymentsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],getRepoPermissions:["GET /repos/{owner}/{repo}/actions/permissions",{},{renamed:["actions","getGithubActionsPermissionsRepository"]}],getRepoPublicKey:["GET /repos/{owner}/{repo}/actions/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"],getRepoVariable:["GET /repos/{owner}/{repo}/actions/variables/{name}"],getReviewsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals"],getSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}"],getSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}"],getWorkflow:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"],getWorkflowAccessToRepository:["GET /repos/{owner}/{repo}/actions/permissions/access"],getWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}"],getWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}"],getWorkflowRunUsage:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing"],getWorkflowUsage:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing"],listArtifactsForRepo:["GET /repos/{owner}/{repo}/actions/artifacts"],listEnvironmentSecrets:["GET /repositories/{repository_id}/environments/{environment_name}/secrets"],listEnvironmentVariables:["GET /repositories/{repository_id}/environments/{environment_name}/variables"],listJobsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"],listJobsForWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs"],listLabelsForSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}/labels"],listLabelsForSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],listOrgSecrets:["GET /orgs/{org}/actions/secrets"],listOrgVariables:["GET /orgs/{org}/actions/variables"],listRepoOrganizationSecrets:["GET /repos/{owner}/{repo}/actions/organization-secrets"],listRepoOrganizationVariables:["GET /repos/{owner}/{repo}/actions/organization-variables"],listRepoSecrets:["GET /repos/{owner}/{repo}/actions/secrets"],listRepoVariables:["GET /repos/{owner}/{repo}/actions/variables"],listRepoWorkflows:["GET /repos/{owner}/{repo}/actions/workflows"],listRunnerApplicationsForOrg:["GET /orgs/{org}/actions/runners/downloads"],listRunnerApplicationsForRepo:["GET /repos/{owner}/{repo}/actions/runners/downloads"],listSelectedReposForOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}/repositories"],listSelectedReposForOrgVariable:["GET /orgs/{org}/actions/variables/{name}/repositories"],listSelectedRepositoriesEnabledGithubActionsOrganization:["GET /orgs/{org}/actions/permissions/repositories"],listSelfHostedRunnersForOrg:["GET /orgs/{org}/actions/runners"],listSelfHostedRunnersForRepo:["GET /repos/{owner}/{repo}/actions/runners"],listWorkflowRunArtifacts:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts"],listWorkflowRuns:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"],listWorkflowRunsForRepo:["GET /repos/{owner}/{repo}/actions/runs"],reRunJobForWorkflowRun:["POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun"],reRunWorkflow:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"],reRunWorkflowFailedJobs:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs"],removeAllCustomLabelsFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels"],removeAllCustomLabelsFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],removeCustomLabelFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}"],removeCustomLabelFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],reviewCustomGatesForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule"],reviewPendingDeploymentsForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],setAllowedActionsOrganization:["PUT /orgs/{org}/actions/permissions/selected-actions"],setAllowedActionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/selected-actions"],setCustomLabelsForSelfHostedRunnerForOrg:["PUT /orgs/{org}/actions/runners/{runner_id}/labels"],setCustomLabelsForSelfHostedRunnerForRepo:["PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],setCustomOidcSubClaimForRepo:["PUT /repos/{owner}/{repo}/actions/oidc/customization/sub"],setGithubActionsDefaultWorkflowPermissionsOrganization:["PUT /orgs/{org}/actions/permissions/workflow"],setGithubActionsDefaultWorkflowPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/workflow"],setGithubActionsPermissionsOrganization:["PUT /orgs/{org}/actions/permissions"],setGithubActionsPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"],setSelectedReposForOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories"],setSelectedRepositoriesEnabledGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories"],setWorkflowAccessToRepository:["PUT /repos/{owner}/{repo}/actions/permissions/access"],updateEnvironmentVariable:["PATCH /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],updateOrgVariable:["PATCH /orgs/{org}/actions/variables/{name}"],updateRepoVariable:["PATCH /repos/{owner}/{repo}/actions/variables/{name}"]},activity:{checkRepoIsStarredByAuthenticatedUser:["GET /user/starred/{owner}/{repo}"],deleteRepoSubscription:["DELETE /repos/{owner}/{repo}/subscription"],deleteThreadSubscription:["DELETE /notifications/threads/{thread_id}/subscription"],getFeeds:["GET /feeds"],getRepoSubscription:["GET /repos/{owner}/{repo}/subscription"],getThread:["GET /notifications/threads/{thread_id}"],getThreadSubscriptionForAuthenticatedUser:["GET /notifications/threads/{thread_id}/subscription"],listEventsForAuthenticatedUser:["GET /users/{username}/events"],listNotificationsForAuthenticatedUser:["GET /notifications"],listOrgEventsForAuthenticatedUser:["GET /users/{username}/events/orgs/{org}"],listPublicEvents:["GET /events"],listPublicEventsForRepoNetwork:["GET /networks/{owner}/{repo}/events"],listPublicEventsForUser:["GET /users/{username}/events/public"],listPublicOrgEvents:["GET /orgs/{org}/events"],listReceivedEventsForUser:["GET /users/{username}/received_events"],listReceivedPublicEventsForUser:["GET /users/{username}/received_events/public"],listRepoEvents:["GET /repos/{owner}/{repo}/events"],listRepoNotificationsForAuthenticatedUser:["GET /repos/{owner}/{repo}/notifications"],listReposStarredByAuthenticatedUser:["GET /user/starred"],listReposStarredByUser:["GET /users/{username}/starred"],listReposWatchedByUser:["GET /users/{username}/subscriptions"],listStargazersForRepo:["GET /repos/{owner}/{repo}/stargazers"],listWatchedReposForAuthenticatedUser:["GET /user/subscriptions"],listWatchersForRepo:["GET /repos/{owner}/{repo}/subscribers"],markNotificationsAsRead:["PUT /notifications"],markRepoNotificationsAsRead:["PUT /repos/{owner}/{repo}/notifications"],markThreadAsDone:["DELETE /notifications/threads/{thread_id}"],markThreadAsRead:["PATCH /notifications/threads/{thread_id}"],setRepoSubscription:["PUT /repos/{owner}/{repo}/subscription"],setThreadSubscription:["PUT /notifications/threads/{thread_id}/subscription"],starRepoForAuthenticatedUser:["PUT /user/starred/{owner}/{repo}"],unstarRepoForAuthenticatedUser:["DELETE /user/starred/{owner}/{repo}"]},apps:{addRepoToInstallation:["PUT /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","addRepoToInstallationForAuthenticatedUser"]}],addRepoToInstallationForAuthenticatedUser:["PUT /user/installations/{installation_id}/repositories/{repository_id}"],checkToken:["POST /applications/{client_id}/token"],createFromManifest:["POST /app-manifests/{code}/conversions"],createInstallationAccessToken:["POST /app/installations/{installation_id}/access_tokens"],deleteAuthorization:["DELETE /applications/{client_id}/grant"],deleteInstallation:["DELETE /app/installations/{installation_id}"],deleteToken:["DELETE /applications/{client_id}/token"],getAuthenticated:["GET /app"],getBySlug:["GET /apps/{app_slug}"],getInstallation:["GET /app/installations/{installation_id}"],getOrgInstallation:["GET /orgs/{org}/installation"],getRepoInstallation:["GET /repos/{owner}/{repo}/installation"],getSubscriptionPlanForAccount:["GET /marketplace_listing/accounts/{account_id}"],getSubscriptionPlanForAccountStubbed:["GET /marketplace_listing/stubbed/accounts/{account_id}"],getUserInstallation:["GET /users/{username}/installation"],getWebhookConfigForApp:["GET /app/hook/config"],getWebhookDelivery:["GET /app/hook/deliveries/{delivery_id}"],listAccountsForPlan:["GET /marketplace_listing/plans/{plan_id}/accounts"],listAccountsForPlanStubbed:["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"],listInstallationReposForAuthenticatedUser:["GET /user/installations/{installation_id}/repositories"],listInstallationRequestsForAuthenticatedApp:["GET /app/installation-requests"],listInstallations:["GET /app/installations"],listInstallationsForAuthenticatedUser:["GET /user/installations"],listPlans:["GET /marketplace_listing/plans"],listPlansStubbed:["GET /marketplace_listing/stubbed/plans"],listReposAccessibleToInstallation:["GET /installation/repositories"],listSubscriptionsForAuthenticatedUser:["GET /user/marketplace_purchases"],listSubscriptionsForAuthenticatedUserStubbed:["GET /user/marketplace_purchases/stubbed"],listWebhookDeliveries:["GET /app/hook/deliveries"],redeliverWebhookDelivery:["POST /app/hook/deliveries/{delivery_id}/attempts"],removeRepoFromInstallation:["DELETE /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","removeRepoFromInstallationForAuthenticatedUser"]}],removeRepoFromInstallationForAuthenticatedUser:["DELETE /user/installations/{installation_id}/repositories/{repository_id}"],resetToken:["PATCH /applications/{client_id}/token"],revokeInstallationAccessToken:["DELETE /installation/token"],scopeToken:["POST /applications/{client_id}/token/scoped"],suspendInstallation:["PUT /app/installations/{installation_id}/suspended"],unsuspendInstallation:["DELETE /app/installations/{installation_id}/suspended"],updateWebhookConfigForApp:["PATCH /app/hook/config"]},billing:{getGithubActionsBillingOrg:["GET /orgs/{org}/settings/billing/actions"],getGithubActionsBillingUser:["GET /users/{username}/settings/billing/actions"],getGithubPackagesBillingOrg:["GET /orgs/{org}/settings/billing/packages"],getGithubPackagesBillingUser:["GET /users/{username}/settings/billing/packages"],getSharedStorageBillingOrg:["GET /orgs/{org}/settings/billing/shared-storage"],getSharedStorageBillingUser:["GET /users/{username}/settings/billing/shared-storage"]},checks:{create:["POST /repos/{owner}/{repo}/check-runs"],createSuite:["POST /repos/{owner}/{repo}/check-suites"],get:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}"],getSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}"],listAnnotations:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations"],listForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"],listForSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs"],listSuitesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"],rerequestRun:["POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest"],rerequestSuite:["POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest"],setSuitesPreferences:["PATCH /repos/{owner}/{repo}/check-suites/preferences"],update:["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}"]},codeScanning:{deleteAnalysis:["DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}"],getAlert:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}",{},{renamedParameters:{alert_id:"alert_number"}}],getAnalysis:["GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}"],getCodeqlDatabase:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}"],getDefaultSetup:["GET /repos/{owner}/{repo}/code-scanning/default-setup"],getSarif:["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"],listAlertInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances"],listAlertsForOrg:["GET /orgs/{org}/code-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/code-scanning/alerts"],listAlertsInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances",{},{renamed:["codeScanning","listAlertInstances"]}],listCodeqlDatabases:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases"],listRecentAnalyses:["GET /repos/{owner}/{repo}/code-scanning/analyses"],updateAlert:["PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}"],updateDefaultSetup:["PATCH /repos/{owner}/{repo}/code-scanning/default-setup"],uploadSarif:["POST /repos/{owner}/{repo}/code-scanning/sarifs"]},codesOfConduct:{getAllCodesOfConduct:["GET /codes_of_conduct"],getConductCode:["GET /codes_of_conduct/{key}"]},codespaces:{addRepositoryForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],checkPermissionsForDevcontainer:["GET /repos/{owner}/{repo}/codespaces/permissions_check"],codespaceMachinesForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/machines"],createForAuthenticatedUser:["POST /user/codespaces"],createOrUpdateOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],createOrUpdateSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}"],createWithPrForAuthenticatedUser:["POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces"],createWithRepoForAuthenticatedUser:["POST /repos/{owner}/{repo}/codespaces"],deleteForAuthenticatedUser:["DELETE /user/codespaces/{codespace_name}"],deleteFromOrganization:["DELETE /orgs/{org}/members/{username}/codespaces/{codespace_name}"],deleteOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],deleteSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}"],exportForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/exports"],getCodespacesForUserInOrg:["GET /orgs/{org}/members/{username}/codespaces"],getExportDetailsForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/exports/{export_id}"],getForAuthenticatedUser:["GET /user/codespaces/{codespace_name}"],getOrgPublicKey:["GET /orgs/{org}/codespaces/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}"],getPublicKeyForAuthenticatedUser:["GET /user/codespaces/secrets/public-key"],getRepoPublicKey:["GET /repos/{owner}/{repo}/codespaces/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],getSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}"],listDevcontainersInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/devcontainers"],listForAuthenticatedUser:["GET /user/codespaces"],listInOrganization:["GET /orgs/{org}/codespaces",{},{renamedParameters:{org_id:"org"}}],listInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces"],listOrgSecrets:["GET /orgs/{org}/codespaces/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/codespaces/secrets"],listRepositoriesForSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}/repositories"],listSecretsForAuthenticatedUser:["GET /user/codespaces/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],preFlightWithRepoForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/new"],publishForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/publish"],removeRepositoryForSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],repoMachinesForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/machines"],setRepositoriesForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],startForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/start"],stopForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/stop"],stopInOrganization:["POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop"],updateForAuthenticatedUser:["PATCH /user/codespaces/{codespace_name}"]},copilot:{addCopilotSeatsForTeams:["POST /orgs/{org}/copilot/billing/selected_teams"],addCopilotSeatsForUsers:["POST /orgs/{org}/copilot/billing/selected_users"],cancelCopilotSeatAssignmentForTeams:["DELETE /orgs/{org}/copilot/billing/selected_teams"],cancelCopilotSeatAssignmentForUsers:["DELETE /orgs/{org}/copilot/billing/selected_users"],getCopilotOrganizationDetails:["GET /orgs/{org}/copilot/billing"],getCopilotSeatDetailsForUser:["GET /orgs/{org}/members/{username}/copilot"],listCopilotSeats:["GET /orgs/{org}/copilot/billing/seats"]},dependabot:{addSelectedRepoToOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],deleteOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],getAlert:["GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"],getOrgPublicKey:["GET /orgs/{org}/dependabot/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}"],getRepoPublicKey:["GET /repos/{owner}/{repo}/dependabot/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/dependabot/alerts"],listAlertsForOrg:["GET /orgs/{org}/dependabot/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/dependabot/alerts"],listOrgSecrets:["GET /orgs/{org}/dependabot/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/dependabot/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],updateAlert:["PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"]},dependencyGraph:{createRepositorySnapshot:["POST /repos/{owner}/{repo}/dependency-graph/snapshots"],diffRange:["GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}"],exportSbom:["GET /repos/{owner}/{repo}/dependency-graph/sbom"]},emojis:{get:["GET /emojis"]},gists:{checkIsStarred:["GET /gists/{gist_id}/star"],create:["POST /gists"],createComment:["POST /gists/{gist_id}/comments"],delete:["DELETE /gists/{gist_id}"],deleteComment:["DELETE /gists/{gist_id}/comments/{comment_id}"],fork:["POST /gists/{gist_id}/forks"],get:["GET /gists/{gist_id}"],getComment:["GET /gists/{gist_id}/comments/{comment_id}"],getRevision:["GET /gists/{gist_id}/{sha}"],list:["GET /gists"],listComments:["GET /gists/{gist_id}/comments"],listCommits:["GET /gists/{gist_id}/commits"],listForUser:["GET /users/{username}/gists"],listForks:["GET /gists/{gist_id}/forks"],listPublic:["GET /gists/public"],listStarred:["GET /gists/starred"],star:["PUT /gists/{gist_id}/star"],unstar:["DELETE /gists/{gist_id}/star"],update:["PATCH /gists/{gist_id}"],updateComment:["PATCH /gists/{gist_id}/comments/{comment_id}"]},git:{createBlob:["POST /repos/{owner}/{repo}/git/blobs"],createCommit:["POST /repos/{owner}/{repo}/git/commits"],createRef:["POST /repos/{owner}/{repo}/git/refs"],createTag:["POST /repos/{owner}/{repo}/git/tags"],createTree:["POST /repos/{owner}/{repo}/git/trees"],deleteRef:["DELETE /repos/{owner}/{repo}/git/refs/{ref}"],getBlob:["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"],getCommit:["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"],getRef:["GET /repos/{owner}/{repo}/git/ref/{ref}"],getTag:["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"],getTree:["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"],listMatchingRefs:["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"],updateRef:["PATCH /repos/{owner}/{repo}/git/refs/{ref}"]},gitignore:{getAllTemplates:["GET /gitignore/templates"],getTemplate:["GET /gitignore/templates/{name}"]},interactions:{getRestrictionsForAuthenticatedUser:["GET /user/interaction-limits"],getRestrictionsForOrg:["GET /orgs/{org}/interaction-limits"],getRestrictionsForRepo:["GET /repos/{owner}/{repo}/interaction-limits"],getRestrictionsForYourPublicRepos:["GET /user/interaction-limits",{},{renamed:["interactions","getRestrictionsForAuthenticatedUser"]}],removeRestrictionsForAuthenticatedUser:["DELETE /user/interaction-limits"],removeRestrictionsForOrg:["DELETE /orgs/{org}/interaction-limits"],removeRestrictionsForRepo:["DELETE /repos/{owner}/{repo}/interaction-limits"],removeRestrictionsForYourPublicRepos:["DELETE /user/interaction-limits",{},{renamed:["interactions","removeRestrictionsForAuthenticatedUser"]}],setRestrictionsForAuthenticatedUser:["PUT /user/interaction-limits"],setRestrictionsForOrg:["PUT /orgs/{org}/interaction-limits"],setRestrictionsForRepo:["PUT /repos/{owner}/{repo}/interaction-limits"],setRestrictionsForYourPublicRepos:["PUT /user/interaction-limits",{},{renamed:["interactions","setRestrictionsForAuthenticatedUser"]}]},issues:{addAssignees:["POST /repos/{owner}/{repo}/issues/{issue_number}/assignees"],addLabels:["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"],checkUserCanBeAssigned:["GET /repos/{owner}/{repo}/assignees/{assignee}"],checkUserCanBeAssignedToIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}"],create:["POST /repos/{owner}/{repo}/issues"],createComment:["POST /repos/{owner}/{repo}/issues/{issue_number}/comments"],createLabel:["POST /repos/{owner}/{repo}/labels"],createMilestone:["POST /repos/{owner}/{repo}/milestones"],deleteComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}"],deleteLabel:["DELETE /repos/{owner}/{repo}/labels/{name}"],deleteMilestone:["DELETE /repos/{owner}/{repo}/milestones/{milestone_number}"],get:["GET /repos/{owner}/{repo}/issues/{issue_number}"],getComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"],getEvent:["GET /repos/{owner}/{repo}/issues/events/{event_id}"],getLabel:["GET /repos/{owner}/{repo}/labels/{name}"],getMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}"],list:["GET /issues"],listAssignees:["GET /repos/{owner}/{repo}/assignees"],listComments:["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"],listCommentsForRepo:["GET /repos/{owner}/{repo}/issues/comments"],listEvents:["GET /repos/{owner}/{repo}/issues/{issue_number}/events"],listEventsForRepo:["GET /repos/{owner}/{repo}/issues/events"],listEventsForTimeline:["GET /repos/{owner}/{repo}/issues/{issue_number}/timeline"],listForAuthenticatedUser:["GET /user/issues"],listForOrg:["GET /orgs/{org}/issues"],listForRepo:["GET /repos/{owner}/{repo}/issues"],listLabelsForMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels"],listLabelsForRepo:["GET /repos/{owner}/{repo}/labels"],listLabelsOnIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/labels"],listMilestones:["GET /repos/{owner}/{repo}/milestones"],lock:["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"],removeAllLabels:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels"],removeAssignees:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees"],removeLabel:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}"],setLabels:["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"],unlock:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"],update:["PATCH /repos/{owner}/{repo}/issues/{issue_number}"],updateComment:["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"],updateLabel:["PATCH /repos/{owner}/{repo}/labels/{name}"],updateMilestone:["PATCH /repos/{owner}/{repo}/milestones/{milestone_number}"]},licenses:{get:["GET /licenses/{license}"],getAllCommonlyUsed:["GET /licenses"],getForRepo:["GET /repos/{owner}/{repo}/license"]},markdown:{render:["POST /markdown"],renderRaw:["POST /markdown/raw",{headers:{"content-type":"text/plain; charset=utf-8"}}]},meta:{get:["GET /meta"],getAllVersions:["GET /versions"],getOctocat:["GET /octocat"],getZen:["GET /zen"],root:["GET /"]},migrations:{cancelImport:["DELETE /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.cancelImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#cancel-an-import"}],deleteArchiveForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/archive"],deleteArchiveForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/archive"],downloadArchiveForOrg:["GET /orgs/{org}/migrations/{migration_id}/archive"],getArchiveForAuthenticatedUser:["GET /user/migrations/{migration_id}/archive"],getCommitAuthors:["GET /repos/{owner}/{repo}/import/authors",{},{deprecated:"octokit.rest.migrations.getCommitAuthors() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-commit-authors"}],getImportStatus:["GET /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.getImportStatus() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-an-import-status"}],getLargeFiles:["GET /repos/{owner}/{repo}/import/large_files",{},{deprecated:"octokit.rest.migrations.getLargeFiles() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-large-files"}],getStatusForAuthenticatedUser:["GET /user/migrations/{migration_id}"],getStatusForOrg:["GET /orgs/{org}/migrations/{migration_id}"],listForAuthenticatedUser:["GET /user/migrations"],listForOrg:["GET /orgs/{org}/migrations"],listReposForAuthenticatedUser:["GET /user/migrations/{migration_id}/repositories"],listReposForOrg:["GET /orgs/{org}/migrations/{migration_id}/repositories"],listReposForUser:["GET /user/migrations/{migration_id}/repositories",{},{renamed:["migrations","listReposForAuthenticatedUser"]}],mapCommitAuthor:["PATCH /repos/{owner}/{repo}/import/authors/{author_id}",{},{deprecated:"octokit.rest.migrations.mapCommitAuthor() is deprecated, see https://docs.github.com/rest/migrations/source-imports#map-a-commit-author"}],setLfsPreference:["PATCH /repos/{owner}/{repo}/import/lfs",{},{deprecated:"octokit.rest.migrations.setLfsPreference() is deprecated, see https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference"}],startForAuthenticatedUser:["POST /user/migrations"],startForOrg:["POST /orgs/{org}/migrations"],startImport:["PUT /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.startImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#start-an-import"}],unlockRepoForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock"],unlockRepoForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock"],updateImport:["PATCH /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.updateImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#update-an-import"}]},oidc:{getOidcCustomSubTemplateForOrg:["GET /orgs/{org}/actions/oidc/customization/sub"],updateOidcCustomSubTemplateForOrg:["PUT /orgs/{org}/actions/oidc/customization/sub"]},orgs:{addSecurityManagerTeam:["PUT /orgs/{org}/security-managers/teams/{team_slug}"],assignTeamToOrgRole:["PUT /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],assignUserToOrgRole:["PUT /orgs/{org}/organization-roles/users/{username}/{role_id}"],blockUser:["PUT /orgs/{org}/blocks/{username}"],cancelInvitation:["DELETE /orgs/{org}/invitations/{invitation_id}"],checkBlockedUser:["GET /orgs/{org}/blocks/{username}"],checkMembershipForUser:["GET /orgs/{org}/members/{username}"],checkPublicMembershipForUser:["GET /orgs/{org}/public_members/{username}"],convertMemberToOutsideCollaborator:["PUT /orgs/{org}/outside_collaborators/{username}"],createCustomOrganizationRole:["POST /orgs/{org}/organization-roles"],createInvitation:["POST /orgs/{org}/invitations"],createOrUpdateCustomProperties:["PATCH /orgs/{org}/properties/schema"],createOrUpdateCustomPropertiesValuesForRepos:["PATCH /orgs/{org}/properties/values"],createOrUpdateCustomProperty:["PUT /orgs/{org}/properties/schema/{custom_property_name}"],createWebhook:["POST /orgs/{org}/hooks"],delete:["DELETE /orgs/{org}"],deleteCustomOrganizationRole:["DELETE /orgs/{org}/organization-roles/{role_id}"],deleteWebhook:["DELETE /orgs/{org}/hooks/{hook_id}"],enableOrDisableSecurityProductOnAllOrgRepos:["POST /orgs/{org}/{security_product}/{enablement}"],get:["GET /orgs/{org}"],getAllCustomProperties:["GET /orgs/{org}/properties/schema"],getCustomProperty:["GET /orgs/{org}/properties/schema/{custom_property_name}"],getMembershipForAuthenticatedUser:["GET /user/memberships/orgs/{org}"],getMembershipForUser:["GET /orgs/{org}/memberships/{username}"],getOrgRole:["GET /orgs/{org}/organization-roles/{role_id}"],getWebhook:["GET /orgs/{org}/hooks/{hook_id}"],getWebhookConfigForOrg:["GET /orgs/{org}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}"],list:["GET /organizations"],listAppInstallations:["GET /orgs/{org}/installations"],listBlockedUsers:["GET /orgs/{org}/blocks"],listCustomPropertiesValuesForRepos:["GET /orgs/{org}/properties/values"],listFailedInvitations:["GET /orgs/{org}/failed_invitations"],listForAuthenticatedUser:["GET /user/orgs"],listForUser:["GET /users/{username}/orgs"],listInvitationTeams:["GET /orgs/{org}/invitations/{invitation_id}/teams"],listMembers:["GET /orgs/{org}/members"],listMembershipsForAuthenticatedUser:["GET /user/memberships/orgs"],listOrgRoleTeams:["GET /orgs/{org}/organization-roles/{role_id}/teams"],listOrgRoleUsers:["GET /orgs/{org}/organization-roles/{role_id}/users"],listOrgRoles:["GET /orgs/{org}/organization-roles"],listOrganizationFineGrainedPermissions:["GET /orgs/{org}/organization-fine-grained-permissions"],listOutsideCollaborators:["GET /orgs/{org}/outside_collaborators"],listPatGrantRepositories:["GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories"],listPatGrantRequestRepositories:["GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories"],listPatGrantRequests:["GET /orgs/{org}/personal-access-token-requests"],listPatGrants:["GET /orgs/{org}/personal-access-tokens"],listPendingInvitations:["GET /orgs/{org}/invitations"],listPublicMembers:["GET /orgs/{org}/public_members"],listSecurityManagerTeams:["GET /orgs/{org}/security-managers"],listWebhookDeliveries:["GET /orgs/{org}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /orgs/{org}/hooks"],patchCustomOrganizationRole:["PATCH /orgs/{org}/organization-roles/{role_id}"],pingWebhook:["POST /orgs/{org}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeCustomProperty:["DELETE /orgs/{org}/properties/schema/{custom_property_name}"],removeMember:["DELETE /orgs/{org}/members/{username}"],removeMembershipForUser:["DELETE /orgs/{org}/memberships/{username}"],removeOutsideCollaborator:["DELETE /orgs/{org}/outside_collaborators/{username}"],removePublicMembershipForAuthenticatedUser:["DELETE /orgs/{org}/public_members/{username}"],removeSecurityManagerTeam:["DELETE /orgs/{org}/security-managers/teams/{team_slug}"],reviewPatGrantRequest:["POST /orgs/{org}/personal-access-token-requests/{pat_request_id}"],reviewPatGrantRequestsInBulk:["POST /orgs/{org}/personal-access-token-requests"],revokeAllOrgRolesTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}"],revokeAllOrgRolesUser:["DELETE /orgs/{org}/organization-roles/users/{username}"],revokeOrgRoleTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],revokeOrgRoleUser:["DELETE /orgs/{org}/organization-roles/users/{username}/{role_id}"],setMembershipForUser:["PUT /orgs/{org}/memberships/{username}"],setPublicMembershipForAuthenticatedUser:["PUT /orgs/{org}/public_members/{username}"],unblockUser:["DELETE /orgs/{org}/blocks/{username}"],update:["PATCH /orgs/{org}"],updateMembershipForAuthenticatedUser:["PATCH /user/memberships/orgs/{org}"],updatePatAccess:["POST /orgs/{org}/personal-access-tokens/{pat_id}"],updatePatAccesses:["POST /orgs/{org}/personal-access-tokens"],updateWebhook:["PATCH /orgs/{org}/hooks/{hook_id}"],updateWebhookConfigForOrg:["PATCH /orgs/{org}/hooks/{hook_id}/config"]},packages:{deletePackageForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}"],deletePackageForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}"],deletePackageForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}"],deletePackageVersionForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getAllPackageVersionsForAPackageOwnedByAnOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByOrg"]}],getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByAuthenticatedUser"]}],getAllPackageVersionsForPackageOwnedByAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions"],getPackageForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}"],getPackageForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}"],getPackageForUser:["GET /users/{username}/packages/{package_type}/{package_name}"],getPackageVersionForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],listDockerMigrationConflictingPackagesForAuthenticatedUser:["GET /user/docker/conflicts"],listDockerMigrationConflictingPackagesForOrganization:["GET /orgs/{org}/docker/conflicts"],listDockerMigrationConflictingPackagesForUser:["GET /users/{username}/docker/conflicts"],listPackagesForAuthenticatedUser:["GET /user/packages"],listPackagesForOrganization:["GET /orgs/{org}/packages"],listPackagesForUser:["GET /users/{username}/packages"],restorePackageForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForUser:["POST /users/{username}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageVersionForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForUser:["POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"]},projects:{addCollaborator:["PUT /projects/{project_id}/collaborators/{username}"],createCard:["POST /projects/columns/{column_id}/cards"],createColumn:["POST /projects/{project_id}/columns"],createForAuthenticatedUser:["POST /user/projects"],createForOrg:["POST /orgs/{org}/projects"],createForRepo:["POST /repos/{owner}/{repo}/projects"],delete:["DELETE /projects/{project_id}"],deleteCard:["DELETE /projects/columns/cards/{card_id}"],deleteColumn:["DELETE /projects/columns/{column_id}"],get:["GET /projects/{project_id}"],getCard:["GET /projects/columns/cards/{card_id}"],getColumn:["GET /projects/columns/{column_id}"],getPermissionForUser:["GET /projects/{project_id}/collaborators/{username}/permission"],listCards:["GET /projects/columns/{column_id}/cards"],listCollaborators:["GET /projects/{project_id}/collaborators"],listColumns:["GET /projects/{project_id}/columns"],listForOrg:["GET /orgs/{org}/projects"],listForRepo:["GET /repos/{owner}/{repo}/projects"],listForUser:["GET /users/{username}/projects"],moveCard:["POST /projects/columns/cards/{card_id}/moves"],moveColumn:["POST /projects/columns/{column_id}/moves"],removeCollaborator:["DELETE /projects/{project_id}/collaborators/{username}"],update:["PATCH /projects/{project_id}"],updateCard:["PATCH /projects/columns/cards/{card_id}"],updateColumn:["PATCH /projects/columns/{column_id}"]},pulls:{checkIfMerged:["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],create:["POST /repos/{owner}/{repo}/pulls"],createReplyForReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies"],createReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],createReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments"],deletePendingReview:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],deleteReviewComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}"],dismissReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals"],get:["GET /repos/{owner}/{repo}/pulls/{pull_number}"],getReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],getReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"],list:["GET /repos/{owner}/{repo}/pulls"],listCommentsForReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments"],listCommits:["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"],listFiles:["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"],listRequestedReviewers:["GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],listReviewComments:["GET /repos/{owner}/{repo}/pulls/{pull_number}/comments"],listReviewCommentsForRepo:["GET /repos/{owner}/{repo}/pulls/comments"],listReviews:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],merge:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"],removeRequestedReviewers:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],requestReviewers:["POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],submitReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events"],update:["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"],updateBranch:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch"],updateReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],updateReviewComment:["PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}"]},rateLimit:{get:["GET /rate_limit"]},reactions:{createForCommitComment:["POST /repos/{owner}/{repo}/comments/{comment_id}/reactions"],createForIssue:["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions"],createForIssueComment:["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],createForPullRequestReviewComment:["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],createForRelease:["POST /repos/{owner}/{repo}/releases/{release_id}/reactions"],createForTeamDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],createForTeamDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"],deleteForCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}"],deleteForIssue:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}"],deleteForIssueComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}"],deleteForPullRequestComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}"],deleteForRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}"],deleteForTeamDiscussion:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}"],deleteForTeamDiscussionComment:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}"],listForCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions"],listForIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions"],listForIssueComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],listForPullRequestReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],listForRelease:["GET /repos/{owner}/{repo}/releases/{release_id}/reactions"],listForTeamDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],listForTeamDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"]},repos:{acceptInvitation:["PATCH /user/repository_invitations/{invitation_id}",{},{renamed:["repos","acceptInvitationForAuthenticatedUser"]}],acceptInvitationForAuthenticatedUser:["PATCH /user/repository_invitations/{invitation_id}"],addAppAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],addCollaborator:["PUT /repos/{owner}/{repo}/collaborators/{username}"],addStatusCheckContexts:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],addTeamAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],addUserAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],cancelPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel"],checkAutomatedSecurityFixes:["GET /repos/{owner}/{repo}/automated-security-fixes"],checkCollaborator:["GET /repos/{owner}/{repo}/collaborators/{username}"],checkVulnerabilityAlerts:["GET /repos/{owner}/{repo}/vulnerability-alerts"],codeownersErrors:["GET /repos/{owner}/{repo}/codeowners/errors"],compareCommits:["GET /repos/{owner}/{repo}/compare/{base}...{head}"],compareCommitsWithBasehead:["GET /repos/{owner}/{repo}/compare/{basehead}"],createAutolink:["POST /repos/{owner}/{repo}/autolinks"],createCommitComment:["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"],createCommitSignatureProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],createCommitStatus:["POST /repos/{owner}/{repo}/statuses/{sha}"],createDeployKey:["POST /repos/{owner}/{repo}/keys"],createDeployment:["POST /repos/{owner}/{repo}/deployments"],createDeploymentBranchPolicy:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],createDeploymentProtectionRule:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],createDeploymentStatus:["POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],createDispatchEvent:["POST /repos/{owner}/{repo}/dispatches"],createForAuthenticatedUser:["POST /user/repos"],createFork:["POST /repos/{owner}/{repo}/forks"],createInOrg:["POST /orgs/{org}/repos"],createOrUpdateCustomPropertiesValues:["PATCH /repos/{owner}/{repo}/properties/values"],createOrUpdateEnvironment:["PUT /repos/{owner}/{repo}/environments/{environment_name}"],createOrUpdateFileContents:["PUT /repos/{owner}/{repo}/contents/{path}"],createOrgRuleset:["POST /orgs/{org}/rulesets"],createPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments"],createPagesSite:["POST /repos/{owner}/{repo}/pages"],createRelease:["POST /repos/{owner}/{repo}/releases"],createRepoRuleset:["POST /repos/{owner}/{repo}/rulesets"],createTagProtection:["POST /repos/{owner}/{repo}/tags/protection"],createUsingTemplate:["POST /repos/{template_owner}/{template_repo}/generate"],createWebhook:["POST /repos/{owner}/{repo}/hooks"],declineInvitation:["DELETE /user/repository_invitations/{invitation_id}",{},{renamed:["repos","declineInvitationForAuthenticatedUser"]}],declineInvitationForAuthenticatedUser:["DELETE /user/repository_invitations/{invitation_id}"],delete:["DELETE /repos/{owner}/{repo}"],deleteAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],deleteAdminBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],deleteAnEnvironment:["DELETE /repos/{owner}/{repo}/environments/{environment_name}"],deleteAutolink:["DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}"],deleteBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection"],deleteCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}"],deleteCommitSignatureProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],deleteDeployKey:["DELETE /repos/{owner}/{repo}/keys/{key_id}"],deleteDeployment:["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"],deleteDeploymentBranchPolicy:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],deleteFile:["DELETE /repos/{owner}/{repo}/contents/{path}"],deleteInvitation:["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"],deleteOrgRuleset:["DELETE /orgs/{org}/rulesets/{ruleset_id}"],deletePagesSite:["DELETE /repos/{owner}/{repo}/pages"],deletePullRequestReviewProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],deleteRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}"],deleteReleaseAsset:["DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}"],deleteRepoRuleset:["DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}"],deleteTagProtection:["DELETE /repos/{owner}/{repo}/tags/protection/{tag_protection_id}"],deleteWebhook:["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"],disableAutomatedSecurityFixes:["DELETE /repos/{owner}/{repo}/automated-security-fixes"],disableDeploymentProtectionRule:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],disablePrivateVulnerabilityReporting:["DELETE /repos/{owner}/{repo}/private-vulnerability-reporting"],disableVulnerabilityAlerts:["DELETE /repos/{owner}/{repo}/vulnerability-alerts"],downloadArchive:["GET /repos/{owner}/{repo}/zipball/{ref}",{},{renamed:["repos","downloadZipballArchive"]}],downloadTarballArchive:["GET /repos/{owner}/{repo}/tarball/{ref}"],downloadZipballArchive:["GET /repos/{owner}/{repo}/zipball/{ref}"],enableAutomatedSecurityFixes:["PUT /repos/{owner}/{repo}/automated-security-fixes"],enablePrivateVulnerabilityReporting:["PUT /repos/{owner}/{repo}/private-vulnerability-reporting"],enableVulnerabilityAlerts:["PUT /repos/{owner}/{repo}/vulnerability-alerts"],generateReleaseNotes:["POST /repos/{owner}/{repo}/releases/generate-notes"],get:["GET /repos/{owner}/{repo}"],getAccessRestrictions:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],getAdminBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],getAllDeploymentProtectionRules:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],getAllEnvironments:["GET /repos/{owner}/{repo}/environments"],getAllStatusCheckContexts:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"],getAllTopics:["GET /repos/{owner}/{repo}/topics"],getAppsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"],getAutolink:["GET /repos/{owner}/{repo}/autolinks/{autolink_id}"],getBranch:["GET /repos/{owner}/{repo}/branches/{branch}"],getBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection"],getBranchRules:["GET /repos/{owner}/{repo}/rules/branches/{branch}"],getClones:["GET /repos/{owner}/{repo}/traffic/clones"],getCodeFrequencyStats:["GET /repos/{owner}/{repo}/stats/code_frequency"],getCollaboratorPermissionLevel:["GET /repos/{owner}/{repo}/collaborators/{username}/permission"],getCombinedStatusForRef:["GET /repos/{owner}/{repo}/commits/{ref}/status"],getCommit:["GET /repos/{owner}/{repo}/commits/{ref}"],getCommitActivityStats:["GET /repos/{owner}/{repo}/stats/commit_activity"],getCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}"],getCommitSignatureProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],getCommunityProfileMetrics:["GET /repos/{owner}/{repo}/community/profile"],getContent:["GET /repos/{owner}/{repo}/contents/{path}"],getContributorsStats:["GET /repos/{owner}/{repo}/stats/contributors"],getCustomDeploymentProtectionRule:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],getCustomPropertiesValues:["GET /repos/{owner}/{repo}/properties/values"],getDeployKey:["GET /repos/{owner}/{repo}/keys/{key_id}"],getDeployment:["GET /repos/{owner}/{repo}/deployments/{deployment_id}"],getDeploymentBranchPolicy:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],getDeploymentStatus:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"],getEnvironment:["GET /repos/{owner}/{repo}/environments/{environment_name}"],getLatestPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/latest"],getLatestRelease:["GET /repos/{owner}/{repo}/releases/latest"],getOrgRuleSuite:["GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id}"],getOrgRuleSuites:["GET /orgs/{org}/rulesets/rule-suites"],getOrgRuleset:["GET /orgs/{org}/rulesets/{ruleset_id}"],getOrgRulesets:["GET /orgs/{org}/rulesets"],getPages:["GET /repos/{owner}/{repo}/pages"],getPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/{build_id}"],getPagesDeployment:["GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}"],getPagesHealthCheck:["GET /repos/{owner}/{repo}/pages/health"],getParticipationStats:["GET /repos/{owner}/{repo}/stats/participation"],getPullRequestReviewProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],getPunchCardStats:["GET /repos/{owner}/{repo}/stats/punch_card"],getReadme:["GET /repos/{owner}/{repo}/readme"],getReadmeInDirectory:["GET /repos/{owner}/{repo}/readme/{dir}"],getRelease:["GET /repos/{owner}/{repo}/releases/{release_id}"],getReleaseAsset:["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"],getReleaseByTag:["GET /repos/{owner}/{repo}/releases/tags/{tag}"],getRepoRuleSuite:["GET /repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id}"],getRepoRuleSuites:["GET /repos/{owner}/{repo}/rulesets/rule-suites"],getRepoRuleset:["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"],getRepoRulesets:["GET /repos/{owner}/{repo}/rulesets"],getStatusChecksProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],getTeamsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"],getTopPaths:["GET /repos/{owner}/{repo}/traffic/popular/paths"],getTopReferrers:["GET /repos/{owner}/{repo}/traffic/popular/referrers"],getUsersWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"],getViews:["GET /repos/{owner}/{repo}/traffic/views"],getWebhook:["GET /repos/{owner}/{repo}/hooks/{hook_id}"],getWebhookConfigForRepo:["GET /repos/{owner}/{repo}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}"],listActivities:["GET /repos/{owner}/{repo}/activity"],listAutolinks:["GET /repos/{owner}/{repo}/autolinks"],listBranches:["GET /repos/{owner}/{repo}/branches"],listBranchesForHeadCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head"],listCollaborators:["GET /repos/{owner}/{repo}/collaborators"],listCommentsForCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"],listCommitCommentsForRepo:["GET /repos/{owner}/{repo}/comments"],listCommitStatusesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/statuses"],listCommits:["GET /repos/{owner}/{repo}/commits"],listContributors:["GET /repos/{owner}/{repo}/contributors"],listCustomDeploymentRuleIntegrations:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps"],listDeployKeys:["GET /repos/{owner}/{repo}/keys"],listDeploymentBranchPolicies:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],listDeploymentStatuses:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],listDeployments:["GET /repos/{owner}/{repo}/deployments"],listForAuthenticatedUser:["GET /user/repos"],listForOrg:["GET /orgs/{org}/repos"],listForUser:["GET /users/{username}/repos"],listForks:["GET /repos/{owner}/{repo}/forks"],listInvitations:["GET /repos/{owner}/{repo}/invitations"],listInvitationsForAuthenticatedUser:["GET /user/repository_invitations"],listLanguages:["GET /repos/{owner}/{repo}/languages"],listPagesBuilds:["GET /repos/{owner}/{repo}/pages/builds"],listPublic:["GET /repositories"],listPullRequestsAssociatedWithCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls"],listReleaseAssets:["GET /repos/{owner}/{repo}/releases/{release_id}/assets"],listReleases:["GET /repos/{owner}/{repo}/releases"],listTagProtection:["GET /repos/{owner}/{repo}/tags/protection"],listTags:["GET /repos/{owner}/{repo}/tags"],listTeams:["GET /repos/{owner}/{repo}/teams"],listWebhookDeliveries:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /repos/{owner}/{repo}/hooks"],merge:["POST /repos/{owner}/{repo}/merges"],mergeUpstream:["POST /repos/{owner}/{repo}/merge-upstream"],pingWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeAppAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],removeCollaborator:["DELETE /repos/{owner}/{repo}/collaborators/{username}"],removeStatusCheckContexts:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],removeStatusCheckProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],removeTeamAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],removeUserAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],renameBranch:["POST /repos/{owner}/{repo}/branches/{branch}/rename"],replaceAllTopics:["PUT /repos/{owner}/{repo}/topics"],requestPagesBuild:["POST /repos/{owner}/{repo}/pages/builds"],setAdminBranchProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],setAppAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],setStatusCheckContexts:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],setTeamAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],setUserAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],testPushWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"],transfer:["POST /repos/{owner}/{repo}/transfer"],update:["PATCH /repos/{owner}/{repo}"],updateBranchProtection:["PUT /repos/{owner}/{repo}/branches/{branch}/protection"],updateCommitComment:["PATCH /repos/{owner}/{repo}/comments/{comment_id}"],updateDeploymentBranchPolicy:["PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],updateInformationAboutPagesSite:["PUT /repos/{owner}/{repo}/pages"],updateInvitation:["PATCH /repos/{owner}/{repo}/invitations/{invitation_id}"],updateOrgRuleset:["PUT /orgs/{org}/rulesets/{ruleset_id}"],updatePullRequestReviewProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],updateRelease:["PATCH /repos/{owner}/{repo}/releases/{release_id}"],updateReleaseAsset:["PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}"],updateRepoRuleset:["PUT /repos/{owner}/{repo}/rulesets/{ruleset_id}"],updateStatusCheckPotection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks",{},{renamed:["repos","updateStatusCheckProtection"]}],updateStatusCheckProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],updateWebhook:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"],updateWebhookConfigForRepo:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config"],uploadReleaseAsset:["POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}",{baseUrl:"https://uploads.github.com"}]},search:{code:["GET /search/code"],commits:["GET /search/commits"],issuesAndPullRequests:["GET /search/issues"],labels:["GET /search/labels"],repos:["GET /search/repositories"],topics:["GET /search/topics"],users:["GET /search/users"]},secretScanning:{getAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/secret-scanning/alerts"],listAlertsForOrg:["GET /orgs/{org}/secret-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/secret-scanning/alerts"],listLocationsForAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations"],updateAlert:["PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"]},securityAdvisories:{createFork:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks"],createPrivateVulnerabilityReport:["POST /repos/{owner}/{repo}/security-advisories/reports"],createRepositoryAdvisory:["POST /repos/{owner}/{repo}/security-advisories"],createRepositoryAdvisoryCveRequest:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve"],getGlobalAdvisory:["GET /advisories/{ghsa_id}"],getRepositoryAdvisory:["GET /repos/{owner}/{repo}/security-advisories/{ghsa_id}"],listGlobalAdvisories:["GET /advisories"],listOrgRepositoryAdvisories:["GET /orgs/{org}/security-advisories"],listRepositoryAdvisories:["GET /repos/{owner}/{repo}/security-advisories"],updateRepositoryAdvisory:["PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id}"]},teams:{addOrUpdateMembershipForUserInOrg:["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"],addOrUpdateProjectPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}"],addOrUpdateRepoPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],checkPermissionsForProjectInOrg:["GET /orgs/{org}/teams/{team_slug}/projects/{project_id}"],checkPermissionsForRepoInOrg:["GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],create:["POST /orgs/{org}/teams"],createDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],createDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions"],deleteDiscussionCommentInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],deleteDiscussionInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],deleteInOrg:["DELETE /orgs/{org}/teams/{team_slug}"],getByName:["GET /orgs/{org}/teams/{team_slug}"],getDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],getDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],getMembershipForUserInOrg:["GET /orgs/{org}/teams/{team_slug}/memberships/{username}"],list:["GET /orgs/{org}/teams"],listChildInOrg:["GET /orgs/{org}/teams/{team_slug}/teams"],listDiscussionCommentsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],listDiscussionsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions"],listForAuthenticatedUser:["GET /user/teams"],listMembersInOrg:["GET /orgs/{org}/teams/{team_slug}/members"],listPendingInvitationsInOrg:["GET /orgs/{org}/teams/{team_slug}/invitations"],listProjectsInOrg:["GET /orgs/{org}/teams/{team_slug}/projects"],listReposInOrg:["GET /orgs/{org}/teams/{team_slug}/repos"],removeMembershipForUserInOrg:["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"],removeProjectInOrg:["DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}"],removeRepoInOrg:["DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],updateDiscussionCommentInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],updateDiscussionInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],updateInOrg:["PATCH /orgs/{org}/teams/{team_slug}"]},users:{addEmailForAuthenticated:["POST /user/emails",{},{renamed:["users","addEmailForAuthenticatedUser"]}],addEmailForAuthenticatedUser:["POST /user/emails"],addSocialAccountForAuthenticatedUser:["POST /user/social_accounts"],block:["PUT /user/blocks/{username}"],checkBlocked:["GET /user/blocks/{username}"],checkFollowingForUser:["GET /users/{username}/following/{target_user}"],checkPersonIsFollowedByAuthenticated:["GET /user/following/{username}"],createGpgKeyForAuthenticated:["POST /user/gpg_keys",{},{renamed:["users","createGpgKeyForAuthenticatedUser"]}],createGpgKeyForAuthenticatedUser:["POST /user/gpg_keys"],createPublicSshKeyForAuthenticated:["POST /user/keys",{},{renamed:["users","createPublicSshKeyForAuthenticatedUser"]}],createPublicSshKeyForAuthenticatedUser:["POST /user/keys"],createSshSigningKeyForAuthenticatedUser:["POST /user/ssh_signing_keys"],deleteEmailForAuthenticated:["DELETE /user/emails",{},{renamed:["users","deleteEmailForAuthenticatedUser"]}],deleteEmailForAuthenticatedUser:["DELETE /user/emails"],deleteGpgKeyForAuthenticated:["DELETE /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","deleteGpgKeyForAuthenticatedUser"]}],deleteGpgKeyForAuthenticatedUser:["DELETE /user/gpg_keys/{gpg_key_id}"],deletePublicSshKeyForAuthenticated:["DELETE /user/keys/{key_id}",{},{renamed:["users","deletePublicSshKeyForAuthenticatedUser"]}],deletePublicSshKeyForAuthenticatedUser:["DELETE /user/keys/{key_id}"],deleteSocialAccountForAuthenticatedUser:["DELETE /user/social_accounts"],deleteSshSigningKeyForAuthenticatedUser:["DELETE /user/ssh_signing_keys/{ssh_signing_key_id}"],follow:["PUT /user/following/{username}"],getAuthenticated:["GET /user"],getByUsername:["GET /users/{username}"],getContextForUser:["GET /users/{username}/hovercard"],getGpgKeyForAuthenticated:["GET /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","getGpgKeyForAuthenticatedUser"]}],getGpgKeyForAuthenticatedUser:["GET /user/gpg_keys/{gpg_key_id}"],getPublicSshKeyForAuthenticated:["GET /user/keys/{key_id}",{},{renamed:["users","getPublicSshKeyForAuthenticatedUser"]}],getPublicSshKeyForAuthenticatedUser:["GET /user/keys/{key_id}"],getSshSigningKeyForAuthenticatedUser:["GET /user/ssh_signing_keys/{ssh_signing_key_id}"],list:["GET /users"],listBlockedByAuthenticated:["GET /user/blocks",{},{renamed:["users","listBlockedByAuthenticatedUser"]}],listBlockedByAuthenticatedUser:["GET /user/blocks"],listEmailsForAuthenticated:["GET /user/emails",{},{renamed:["users","listEmailsForAuthenticatedUser"]}],listEmailsForAuthenticatedUser:["GET /user/emails"],listFollowedByAuthenticated:["GET /user/following",{},{renamed:["users","listFollowedByAuthenticatedUser"]}],listFollowedByAuthenticatedUser:["GET /user/following"],listFollowersForAuthenticatedUser:["GET /user/followers"],listFollowersForUser:["GET /users/{username}/followers"],listFollowingForUser:["GET /users/{username}/following"],listGpgKeysForAuthenticated:["GET /user/gpg_keys",{},{renamed:["users","listGpgKeysForAuthenticatedUser"]}],listGpgKeysForAuthenticatedUser:["GET /user/gpg_keys"],listGpgKeysForUser:["GET /users/{username}/gpg_keys"],listPublicEmailsForAuthenticated:["GET /user/public_emails",{},{renamed:["users","listPublicEmailsForAuthenticatedUser"]}],listPublicEmailsForAuthenticatedUser:["GET /user/public_emails"],listPublicKeysForUser:["GET /users/{username}/keys"],listPublicSshKeysForAuthenticated:["GET /user/keys",{},{renamed:["users","listPublicSshKeysForAuthenticatedUser"]}],listPublicSshKeysForAuthenticatedUser:["GET /user/keys"],listSocialAccountsForAuthenticatedUser:["GET /user/social_accounts"],listSocialAccountsForUser:["GET /users/{username}/social_accounts"],listSshSigningKeysForAuthenticatedUser:["GET /user/ssh_signing_keys"],listSshSigningKeysForUser:["GET /users/{username}/ssh_signing_keys"],setPrimaryEmailVisibilityForAuthenticated:["PATCH /user/email/visibility",{},{renamed:["users","setPrimaryEmailVisibilityForAuthenticatedUser"]}],setPrimaryEmailVisibilityForAuthenticatedUser:["PATCH /user/email/visibility"],unblock:["DELETE /user/blocks/{username}"],unfollow:["DELETE /user/following/{username}"],updateAuthenticated:["PATCH /user"]}};var re=te;var ne=new Map;for(const[i,d]of Object.entries(re)){for(const[p,v]of Object.entries(d)){const[d,V,K]=v;const[ee,te]=d.split(/ /);const re=Object.assign({method:ee,url:te},V);if(!ne.has(i)){ne.set(i,new Map)}ne.get(i).set(p,{scope:i,methodName:p,endpointDefaults:re,decorations:K})}}var se={has({scope:i},d){return ne.get(i).has(d)},getOwnPropertyDescriptor(i,d){return{value:this.get(i,d),configurable:true,writable:true,enumerable:true}},defineProperty(i,d,p){Object.defineProperty(i.cache,d,p);return true},deleteProperty(i,d){delete i.cache[d];return true},ownKeys({scope:i}){return[...ne.get(i).keys()]},set(i,d,p){return i.cache[d]=p},get({octokit:i,scope:d,cache:p},v){if(p[v]){return p[v]}const V=ne.get(d).get(v);if(!V){return void 0}const{endpointDefaults:K,decorations:ee}=V;if(ee){p[v]=decorate(i,d,v,K,ee)}else{p[v]=i.request.defaults(K)}return p[v]}};function endpointsToMethods(i){const d={};for(const p of ne.keys()){d[p]=new Proxy({octokit:i,scope:p,cache:{}},se)}return d}function decorate(i,d,p,v,V){const K=i.request.defaults(v);function withDecorations(...v){let ee=K.endpoint.merge(...v);if(V.mapToData){ee=Object.assign({},ee,{data:ee[V.mapToData],[V.mapToData]:void 0});return K(ee)}if(V.renamed){const[v,K]=V.renamed;i.log.warn(`octokit.${d}.${p}() has been renamed to octokit.${v}.${K}()`)}if(V.deprecated){i.log.warn(V.deprecated)}if(V.renamedParameters){const ee=K.endpoint.merge(...v);for(const[v,K]of Object.entries(V.renamedParameters)){if(v in ee){i.log.warn(`"${v}" parameter is deprecated for "octokit.${d}.${p}()". Use "${K}" instead`);if(!(K in ee)){ee[K]=ee[v]}delete ee[v]}}return K(ee)}return K(...v)}return Object.assign(withDecorations,K)}function restEndpointMethods(i){const d=endpointsToMethods(i);return{rest:d}}restEndpointMethods.VERSION=ee;function legacyRestEndpointMethods(i){const d=endpointsToMethods(i);return{...d,rest:d}}legacyRestEndpointMethods.VERSION=ee;0&&0},81046:(i,d,p)=>{const v=Symbol("SemVer ANY");class Comparator{static get ANY(){return v}constructor(i,d){d=V(d);if(i instanceof Comparator){if(i.loose===!!d.loose){return i}else{i=i.value}}i=i.trim().split(/\s+/).join(" ");re("comparator",i,d);this.options=d;this.loose=!!d.loose;this.parse(i);if(this.semver===v){this.value=""}else{this.value=this.operator+this.semver.version}re("comp",this)}parse(i){const d=this.options.loose?K[ee.COMPARATORLOOSE]:K[ee.COMPARATOR];const p=i.match(d);if(!p){throw new TypeError(`Invalid comparator: ${i}`)}this.operator=p[1]!==undefined?p[1]:"";if(this.operator==="="){this.operator=""}if(!p[2]){this.semver=v}else{this.semver=new ne(p[2],this.options.loose)}}toString(){return this.value}test(i){re("Comparator.test",i,this.options.loose);if(this.semver===v||i===v){return true}if(typeof i==="string"){try{i=new ne(i,this.options)}catch(i){return false}}return te(i,this.operator,this.semver,this.options)}intersects(i,d){if(!(i instanceof Comparator)){throw new TypeError("a Comparator is required")}if(this.operator===""){if(this.value===""){return true}return new se(i.value,d).test(this.value)}else if(i.operator===""){if(i.value===""){return true}return new se(this.value,d).test(i.semver)}d=V(d);if(d.includePrerelease&&(this.value==="<0.0.0-0"||i.value==="<0.0.0-0")){return false}if(!d.includePrerelease&&(this.value.startsWith("<0.0.0")||i.value.startsWith("<0.0.0"))){return false}if(this.operator.startsWith(">")&&i.operator.startsWith(">")){return true}if(this.operator.startsWith("<")&&i.operator.startsWith("<")){return true}if(this.semver.version===i.semver.version&&this.operator.includes("=")&&i.operator.includes("=")){return true}if(te(this.semver,"<",i.semver,d)&&this.operator.startsWith(">")&&i.operator.startsWith("<")){return true}if(te(this.semver,">",i.semver,d)&&this.operator.startsWith("<")&&i.operator.startsWith(">")){return true}return false}}i.exports=Comparator;const V=p(5385);const{safeRe:K,t:ee}=p(74836);const te=p(47721);const re=p(12814);const ne=p(55186);const se=p(13177)},13177:(i,d,p)=>{const v=/\s+/g;class Range{constructor(i,d){d=ee(d);if(i instanceof Range){if(i.loose===!!d.loose&&i.includePrerelease===!!d.includePrerelease){return i}else{return new Range(i.raw,d)}}if(i instanceof te){this.raw=i.value;this.set=[[i]];this.formatted=undefined;return this}this.options=d;this.loose=!!d.loose;this.includePrerelease=!!d.includePrerelease;this.raw=i.trim().replace(v," ");this.set=this.raw.split("||").map((i=>this.parseRange(i.trim()))).filter((i=>i.length));if(!this.set.length){throw new TypeError(`Invalid SemVer Range: ${this.raw}`)}if(this.set.length>1){const i=this.set[0];this.set=this.set.filter((i=>!isNullSet(i[0])));if(this.set.length===0){this.set=[i]}else if(this.set.length>1){for(const i of this.set){if(i.length===1&&isAny(i[0])){this.set=[i];break}}}}this.formatted=undefined}get range(){if(this.formatted===undefined){this.formatted="";for(let i=0;i0){this.formatted+="||"}const d=this.set[i];for(let i=0;i0){this.formatted+=" "}this.formatted+=d[i].toString().trim()}}}return this.formatted}format(){return this.range}toString(){return this.range}parseRange(i){const d=(this.options.includePrerelease&&ce)|(this.options.loose&&le);const p=d+":"+i;const v=K.get(p);if(v){return v}const V=this.options.loose;const ee=V?se[ie.HYPHENRANGELOOSE]:se[ie.HYPHENRANGE];i=i.replace(ee,hyphenReplace(this.options.includePrerelease));re("hyphen replace",i);i=i.replace(se[ie.COMPARATORTRIM],oe);re("comparator trim",i);i=i.replace(se[ie.TILDETRIM],ae);re("tilde trim",i);i=i.replace(se[ie.CARETTRIM],Ae);re("caret trim",i);let ne=i.split(" ").map((i=>parseComparator(i,this.options))).join(" ").split(/\s+/).map((i=>replaceGTE0(i,this.options)));if(V){ne=ne.filter((i=>{re("loose invalid filter",i,this.options);return!!i.match(se[ie.COMPARATORLOOSE])}))}re("range list",ne);const ue=new Map;const de=ne.map((i=>new te(i,this.options)));for(const i of de){if(isNullSet(i)){return[i]}ue.set(i.value,i)}if(ue.size>1&&ue.has("")){ue.delete("")}const he=[...ue.values()];K.set(p,he);return he}intersects(i,d){if(!(i instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((p=>isSatisfiable(p,d)&&i.set.some((i=>isSatisfiable(i,d)&&p.every((p=>i.every((i=>p.intersects(i,d)))))))))}test(i){if(!i){return false}if(typeof i==="string"){try{i=new ne(i,this.options)}catch(i){return false}}for(let d=0;di.value==="<0.0.0-0";const isAny=i=>i.value==="";const isSatisfiable=(i,d)=>{let p=true;const v=i.slice();let V=v.pop();while(p&&v.length){p=v.every((i=>V.intersects(i,d)));V=v.pop()}return p};const parseComparator=(i,d)=>{i=i.replace(se[ie.BUILD],"");re("comp",i,d);i=replaceCarets(i,d);re("caret",i);i=replaceTildes(i,d);re("tildes",i);i=replaceXRanges(i,d);re("xrange",i);i=replaceStars(i,d);re("stars",i);return i};const isX=i=>!i||i.toLowerCase()==="x"||i==="*";const replaceTildes=(i,d)=>i.trim().split(/\s+/).map((i=>replaceTilde(i,d))).join(" ");const replaceTilde=(i,d)=>{const p=d.loose?se[ie.TILDELOOSE]:se[ie.TILDE];return i.replace(p,((d,p,v,V,K)=>{re("tilde",i,d,p,v,V,K);let ee;if(isX(p)){ee=""}else if(isX(v)){ee=`>=${p}.0.0 <${+p+1}.0.0-0`}else if(isX(V)){ee=`>=${p}.${v}.0 <${p}.${+v+1}.0-0`}else if(K){re("replaceTilde pr",K);ee=`>=${p}.${v}.${V}-${K} <${p}.${+v+1}.0-0`}else{ee=`>=${p}.${v}.${V} <${p}.${+v+1}.0-0`}re("tilde return",ee);return ee}))};const replaceCarets=(i,d)=>i.trim().split(/\s+/).map((i=>replaceCaret(i,d))).join(" ");const replaceCaret=(i,d)=>{re("caret",i,d);const p=d.loose?se[ie.CARETLOOSE]:se[ie.CARET];const v=d.includePrerelease?"-0":"";return i.replace(p,((d,p,V,K,ee)=>{re("caret",i,d,p,V,K,ee);let te;if(isX(p)){te=""}else if(isX(V)){te=`>=${p}.0.0${v} <${+p+1}.0.0-0`}else if(isX(K)){if(p==="0"){te=`>=${p}.${V}.0${v} <${p}.${+V+1}.0-0`}else{te=`>=${p}.${V}.0${v} <${+p+1}.0.0-0`}}else if(ee){re("replaceCaret pr",ee);if(p==="0"){if(V==="0"){te=`>=${p}.${V}.${K}-${ee} <${p}.${V}.${+K+1}-0`}else{te=`>=${p}.${V}.${K}-${ee} <${p}.${+V+1}.0-0`}}else{te=`>=${p}.${V}.${K}-${ee} <${+p+1}.0.0-0`}}else{re("no pr");if(p==="0"){if(V==="0"){te=`>=${p}.${V}.${K}${v} <${p}.${V}.${+K+1}-0`}else{te=`>=${p}.${V}.${K}${v} <${p}.${+V+1}.0-0`}}else{te=`>=${p}.${V}.${K} <${+p+1}.0.0-0`}}re("caret return",te);return te}))};const replaceXRanges=(i,d)=>{re("replaceXRanges",i,d);return i.split(/\s+/).map((i=>replaceXRange(i,d))).join(" ")};const replaceXRange=(i,d)=>{i=i.trim();const p=d.loose?se[ie.XRANGELOOSE]:se[ie.XRANGE];return i.replace(p,((p,v,V,K,ee,te)=>{re("xRange",i,p,v,V,K,ee,te);const ne=isX(V);const se=ne||isX(K);const ie=se||isX(ee);const oe=ie;if(v==="="&&oe){v=""}te=d.includePrerelease?"-0":"";if(ne){if(v===">"||v==="<"){p="<0.0.0-0"}else{p="*"}}else if(v&&oe){if(se){K=0}ee=0;if(v===">"){v=">=";if(se){V=+V+1;K=0;ee=0}else{K=+K+1;ee=0}}else if(v==="<="){v="<";if(se){V=+V+1}else{K=+K+1}}if(v==="<"){te="-0"}p=`${v+V}.${K}.${ee}${te}`}else if(se){p=`>=${V}.0.0${te} <${+V+1}.0.0-0`}else if(ie){p=`>=${V}.${K}.0${te} <${V}.${+K+1}.0-0`}re("xRange return",p);return p}))};const replaceStars=(i,d)=>{re("replaceStars",i,d);return i.trim().replace(se[ie.STAR],"")};const replaceGTE0=(i,d)=>{re("replaceGTE0",i,d);return i.trim().replace(se[d.includePrerelease?ie.GTE0PRE:ie.GTE0],"")};const hyphenReplace=i=>(d,p,v,V,K,ee,te,re,ne,se,ie,oe)=>{if(isX(v)){p=""}else if(isX(V)){p=`>=${v}.0.0${i?"-0":""}`}else if(isX(K)){p=`>=${v}.${V}.0${i?"-0":""}`}else if(ee){p=`>=${p}`}else{p=`>=${p}${i?"-0":""}`}if(isX(ne)){re=""}else if(isX(se)){re=`<${+ne+1}.0.0-0`}else if(isX(ie)){re=`<${ne}.${+se+1}.0-0`}else if(oe){re=`<=${ne}.${se}.${ie}-${oe}`}else if(i){re=`<${ne}.${se}.${+ie+1}-0`}else{re=`<=${re}`}return`${p} ${re}`.trim()};const testSet=(i,d,p)=>{for(let p=0;p0){const v=i[p].semver;if(v.major===d.major&&v.minor===d.minor&&v.patch===d.patch){return true}}}return false}return true}},55186:(i,d,p)=>{const v=p(12814);const{MAX_LENGTH:V,MAX_SAFE_INTEGER:K}=p(68504);const{safeRe:ee,t:te}=p(74836);const re=p(5385);const{compareIdentifiers:ne}=p(77865);class SemVer{constructor(i,d){d=re(d);if(i instanceof SemVer){if(i.loose===!!d.loose&&i.includePrerelease===!!d.includePrerelease){return i}else{i=i.version}}else if(typeof i!=="string"){throw new TypeError(`Invalid version. Must be a string. Got type "${typeof i}".`)}if(i.length>V){throw new TypeError(`version is longer than ${V} characters`)}v("SemVer",i,d);this.options=d;this.loose=!!d.loose;this.includePrerelease=!!d.includePrerelease;const p=i.trim().match(d.loose?ee[te.LOOSE]:ee[te.FULL]);if(!p){throw new TypeError(`Invalid Version: ${i}`)}this.raw=i;this.major=+p[1];this.minor=+p[2];this.patch=+p[3];if(this.major>K||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>K||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>K||this.patch<0){throw new TypeError("Invalid patch version")}if(!p[4]){this.prerelease=[]}else{this.prerelease=p[4].split(".").map((i=>{if(/^[0-9]+$/.test(i)){const d=+i;if(d>=0&&di.major){return 1}if(this.minori.minor){return 1}if(this.patchi.patch){return 1}return 0}comparePre(i){if(!(i instanceof SemVer)){i=new SemVer(i,this.options)}if(this.prerelease.length&&!i.prerelease.length){return-1}else if(!this.prerelease.length&&i.prerelease.length){return 1}else if(!this.prerelease.length&&!i.prerelease.length){return 0}let d=0;do{const p=this.prerelease[d];const V=i.prerelease[d];v("prerelease compare",d,p,V);if(p===undefined&&V===undefined){return 0}else if(V===undefined){return 1}else if(p===undefined){return-1}else if(p===V){continue}else{return ne(p,V)}}while(++d)}compareBuild(i){if(!(i instanceof SemVer)){i=new SemVer(i,this.options)}let d=0;do{const p=this.build[d];const V=i.build[d];v("build compare",d,p,V);if(p===undefined&&V===undefined){return 0}else if(V===undefined){return 1}else if(p===undefined){return-1}else if(p===V){continue}else{return ne(p,V)}}while(++d)}inc(i,d,p){if(i.startsWith("pre")){if(!d&&p===false){throw new Error("invalid increment argument: identifier is empty")}if(d){const i=`-${d}`.match(this.options.loose?ee[te.PRERELEASELOOSE]:ee[te.PRERELEASE]);if(!i||i[1]!==d){throw new Error(`invalid identifier: ${d}`)}}}switch(i){case"premajor":this.prerelease.length=0;this.patch=0;this.minor=0;this.major++;this.inc("pre",d,p);break;case"preminor":this.prerelease.length=0;this.patch=0;this.minor++;this.inc("pre",d,p);break;case"prepatch":this.prerelease.length=0;this.inc("patch",d,p);this.inc("pre",d,p);break;case"prerelease":if(this.prerelease.length===0){this.inc("patch",d,p)}this.inc("pre",d,p);break;case"release":if(this.prerelease.length===0){throw new Error(`version ${this.raw} is not a prerelease`)}this.prerelease.length=0;break;case"major":if(this.minor!==0||this.patch!==0||this.prerelease.length===0){this.major++}this.minor=0;this.patch=0;this.prerelease=[];break;case"minor":if(this.patch!==0||this.prerelease.length===0){this.minor++}this.patch=0;this.prerelease=[];break;case"patch":if(this.prerelease.length===0){this.patch++}this.prerelease=[];break;case"pre":{const i=Number(p)?1:0;if(this.prerelease.length===0){this.prerelease=[i]}else{let v=this.prerelease.length;while(--v>=0){if(typeof this.prerelease[v]==="number"){this.prerelease[v]++;v=-2}}if(v===-1){if(d===this.prerelease.join(".")&&p===false){throw new Error("invalid increment argument: identifier already exists")}this.prerelease.push(i)}}if(d){let v=[d,i];if(p===false){v=[d]}if(ne(this.prerelease[0],d)===0){if(isNaN(this.prerelease[1])){this.prerelease=v}}else{this.prerelease=v}}break}default:throw new Error(`invalid increment argument: ${i}`)}this.raw=this.format();if(this.build.length){this.raw+=`+${this.build.join(".")}`}return this}}i.exports=SemVer},85436:(i,d,p)=>{const v=p(57526);const clean=(i,d)=>{const p=v(i.trim().replace(/^[=v]+/,""),d);return p?p.version:null};i.exports=clean},47721:(i,d,p)=>{const v=p(14107);const V=p(7705);const K=p(87962);const ee=p(55603);const te=p(40525);const re=p(13966);const cmp=(i,d,p,ne)=>{switch(d){case"===":if(typeof i==="object"){i=i.version}if(typeof p==="object"){p=p.version}return i===p;case"!==":if(typeof i==="object"){i=i.version}if(typeof p==="object"){p=p.version}return i!==p;case"":case"=":case"==":return v(i,p,ne);case"!=":return V(i,p,ne);case">":return K(i,p,ne);case">=":return ee(i,p,ne);case"<":return te(i,p,ne);case"<=":return re(i,p,ne);default:throw new TypeError(`Invalid operator: ${d}`)}};i.exports=cmp},76356:(i,d,p)=>{const v=p(55186);const V=p(57526);const{safeRe:K,t:ee}=p(74836);const coerce=(i,d)=>{if(i instanceof v){return i}if(typeof i==="number"){i=String(i)}if(typeof i!=="string"){return null}d=d||{};let p=null;if(!d.rtl){p=i.match(d.includePrerelease?K[ee.COERCEFULL]:K[ee.COERCE])}else{const v=d.includePrerelease?K[ee.COERCERTLFULL]:K[ee.COERCERTL];let V;while((V=v.exec(i))&&(!p||p.index+p[0].length!==i.length)){if(!p||V.index+V[0].length!==p.index+p[0].length){p=V}v.lastIndex=V.index+V[1].length+V[2].length}v.lastIndex=-1}if(p===null){return null}const te=p[2];const re=p[3]||"0";const ne=p[4]||"0";const se=d.includePrerelease&&p[5]?`-${p[5]}`:"";const ie=d.includePrerelease&&p[6]?`+${p[6]}`:"";return V(`${te}.${re}.${ne}${se}${ie}`,d)};i.exports=coerce},72147:(i,d,p)=>{const v=p(55186);const compareBuild=(i,d,p)=>{const V=new v(i,p);const K=new v(d,p);return V.compare(K)||V.compareBuild(K)};i.exports=compareBuild},28545:(i,d,p)=>{const v=p(10018);const compareLoose=(i,d)=>v(i,d,true);i.exports=compareLoose},10018:(i,d,p)=>{const v=p(55186);const compare=(i,d,p)=>new v(i,p).compare(new v(d,p));i.exports=compare},17290:(i,d,p)=>{const v=p(57526);const diff=(i,d)=>{const p=v(i,null,true);const V=v(d,null,true);const K=p.compare(V);if(K===0){return null}const ee=K>0;const te=ee?p:V;const re=ee?V:p;const ne=!!te.prerelease.length;const se=!!re.prerelease.length;if(se&&!ne){if(!re.patch&&!re.minor){return"major"}if(re.compareMain(te)===0){if(re.minor&&!re.patch){return"minor"}return"patch"}}const ie=ne?"pre":"";if(p.major!==V.major){return ie+"major"}if(p.minor!==V.minor){return ie+"minor"}if(p.patch!==V.patch){return ie+"patch"}return"prerelease"};i.exports=diff},14107:(i,d,p)=>{const v=p(10018);const eq=(i,d,p)=>v(i,d,p)===0;i.exports=eq},87962:(i,d,p)=>{const v=p(10018);const gt=(i,d,p)=>v(i,d,p)>0;i.exports=gt},55603:(i,d,p)=>{const v=p(10018);const gte=(i,d,p)=>v(i,d,p)>=0;i.exports=gte},2317:(i,d,p)=>{const v=p(55186);const inc=(i,d,p,V,K)=>{if(typeof p==="string"){K=V;V=p;p=undefined}try{return new v(i instanceof v?i.version:i,p).inc(d,V,K).version}catch(i){return null}};i.exports=inc},40525:(i,d,p)=>{const v=p(10018);const lt=(i,d,p)=>v(i,d,p)<0;i.exports=lt},13966:(i,d,p)=>{const v=p(10018);const lte=(i,d,p)=>v(i,d,p)<=0;i.exports=lte},14716:(i,d,p)=>{const v=p(55186);const major=(i,d)=>new v(i,d).major;i.exports=major},97968:(i,d,p)=>{const v=p(55186);const minor=(i,d)=>new v(i,d).minor;i.exports=minor},7705:(i,d,p)=>{const v=p(10018);const neq=(i,d,p)=>v(i,d,p)!==0;i.exports=neq},57526:(i,d,p)=>{const v=p(55186);const parse=(i,d,p=false)=>{if(i instanceof v){return i}try{return new v(i,d)}catch(i){if(!p){return null}throw i}};i.exports=parse},34807:(i,d,p)=>{const v=p(55186);const patch=(i,d)=>new v(i,d).patch;i.exports=patch},5039:(i,d,p)=>{const v=p(57526);const prerelease=(i,d)=>{const p=v(i,d);return p&&p.prerelease.length?p.prerelease:null};i.exports=prerelease},85236:(i,d,p)=>{const v=p(10018);const rcompare=(i,d,p)=>v(d,i,p);i.exports=rcompare},49547:(i,d,p)=>{const v=p(72147);const rsort=(i,d)=>i.sort(((i,p)=>v(p,i,d)));i.exports=rsort},36076:(i,d,p)=>{const v=p(13177);const satisfies=(i,d,p)=>{try{d=new v(d,p)}catch(i){return false}return d.test(i)};i.exports=satisfies},26293:(i,d,p)=>{const v=p(72147);const sort=(i,d)=>i.sort(((i,p)=>v(i,p,d)));i.exports=sort},32475:(i,d,p)=>{const v=p(57526);const valid=(i,d)=>{const p=v(i,d);return p?p.version:null};i.exports=valid},91955:(i,d,p)=>{const v=p(74836);const V=p(68504);const K=p(55186);const ee=p(77865);const te=p(57526);const re=p(32475);const ne=p(85436);const se=p(2317);const ie=p(17290);const oe=p(14716);const ae=p(97968);const Ae=p(34807);const ce=p(5039);const le=p(10018);const ue=p(85236);const de=p(28545);const he=p(72147);const fe=p(26293);const ge=p(49547);const pe=p(87962);const me=p(40525);const Ee=p(14107);const Ce=p(7705);const ye=p(55603);const Ie=p(13966);const Be=p(47721);const Qe=p(76356);const be=p(81046);const we=p(13177);const Se=p(36076);const Re=p(48465);const ve=p(11550);const ke=p(29820);const Te=p(82271);const Ne=p(88816);const De=p(26317);const xe=p(45133);const Fe=p(58548);const Pe=p(69118);const Le=p(43139);const _e=p(13474);i.exports={parse:te,valid:re,clean:ne,inc:se,diff:ie,major:oe,minor:ae,patch:Ae,prerelease:ce,compare:le,rcompare:ue,compareLoose:de,compareBuild:he,sort:fe,rsort:ge,gt:pe,lt:me,eq:Ee,neq:Ce,gte:ye,lte:Ie,cmp:Be,coerce:Qe,Comparator:be,Range:we,satisfies:Se,toComparators:Re,maxSatisfying:ve,minSatisfying:ke,minVersion:Te,validRange:Ne,outside:De,gtr:xe,ltr:Fe,intersects:Pe,simplifyRange:Le,subset:_e,SemVer:K,re:v.re,src:v.src,tokens:v.t,SEMVER_SPEC_VERSION:V.SEMVER_SPEC_VERSION,RELEASE_TYPES:V.RELEASE_TYPES,compareIdentifiers:ee.compareIdentifiers,rcompareIdentifiers:ee.rcompareIdentifiers}},68504:i=>{const d="2.0.0";const p=256;const v=Number.MAX_SAFE_INTEGER||9007199254740991;const V=16;const K=p-6;const ee=["major","premajor","minor","preminor","patch","prepatch","prerelease"];i.exports={MAX_LENGTH:p,MAX_SAFE_COMPONENT_LENGTH:V,MAX_SAFE_BUILD_LENGTH:K,MAX_SAFE_INTEGER:v,RELEASE_TYPES:ee,SEMVER_SPEC_VERSION:d,FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},12814:i=>{const d=typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)?(...i)=>console.error("SEMVER",...i):()=>{};i.exports=d},77865:i=>{const d=/^[0-9]+$/;const compareIdentifiers=(i,p)=>{if(typeof i==="number"&&typeof p==="number"){return i===p?0:icompareIdentifiers(d,i);i.exports={compareIdentifiers:compareIdentifiers,rcompareIdentifiers:rcompareIdentifiers}},59896:i=>{class LRUCache{constructor(){this.max=1e3;this.map=new Map}get(i){const d=this.map.get(i);if(d===undefined){return undefined}else{this.map.delete(i);this.map.set(i,d);return d}}delete(i){return this.map.delete(i)}set(i,d){const p=this.delete(i);if(!p&&d!==undefined){if(this.map.size>=this.max){const i=this.map.keys().next().value;this.delete(i)}this.map.set(i,d)}return this}}i.exports=LRUCache},5385:i=>{const d=Object.freeze({loose:true});const p=Object.freeze({});const parseOptions=i=>{if(!i){return p}if(typeof i!=="object"){return d}return i};i.exports=parseOptions},74836:(i,d,p)=>{const{MAX_SAFE_COMPONENT_LENGTH:v,MAX_SAFE_BUILD_LENGTH:V,MAX_LENGTH:K}=p(68504);const ee=p(12814);d=i.exports={};const te=d.re=[];const re=d.safeRe=[];const ne=d.src=[];const se=d.safeSrc=[];const ie=d.t={};let oe=0;const ae="[a-zA-Z0-9-]";const Ae=[["\\s",1],["\\d",K],[ae,V]];const makeSafeRegex=i=>{for(const[d,p]of Ae){i=i.split(`${d}*`).join(`${d}{0,${p}}`).split(`${d}+`).join(`${d}{1,${p}}`)}return i};const createToken=(i,d,p)=>{const v=makeSafeRegex(d);const V=oe++;ee(i,V,d);ie[i]=V;ne[V]=d;se[V]=v;te[V]=new RegExp(d,p?"g":undefined);re[V]=new RegExp(v,p?"g":undefined)};createToken("NUMERICIDENTIFIER","0|[1-9]\\d*");createToken("NUMERICIDENTIFIERLOOSE","\\d+");createToken("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${ae}*`);createToken("MAINVERSION",`(${ne[ie.NUMERICIDENTIFIER]})\\.`+`(${ne[ie.NUMERICIDENTIFIER]})\\.`+`(${ne[ie.NUMERICIDENTIFIER]})`);createToken("MAINVERSIONLOOSE",`(${ne[ie.NUMERICIDENTIFIERLOOSE]})\\.`+`(${ne[ie.NUMERICIDENTIFIERLOOSE]})\\.`+`(${ne[ie.NUMERICIDENTIFIERLOOSE]})`);createToken("PRERELEASEIDENTIFIER",`(?:${ne[ie.NONNUMERICIDENTIFIER]}|${ne[ie.NUMERICIDENTIFIER]})`);createToken("PRERELEASEIDENTIFIERLOOSE",`(?:${ne[ie.NONNUMERICIDENTIFIER]}|${ne[ie.NUMERICIDENTIFIERLOOSE]})`);createToken("PRERELEASE",`(?:-(${ne[ie.PRERELEASEIDENTIFIER]}(?:\\.${ne[ie.PRERELEASEIDENTIFIER]})*))`);createToken("PRERELEASELOOSE",`(?:-?(${ne[ie.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${ne[ie.PRERELEASEIDENTIFIERLOOSE]})*))`);createToken("BUILDIDENTIFIER",`${ae}+`);createToken("BUILD",`(?:\\+(${ne[ie.BUILDIDENTIFIER]}(?:\\.${ne[ie.BUILDIDENTIFIER]})*))`);createToken("FULLPLAIN",`v?${ne[ie.MAINVERSION]}${ne[ie.PRERELEASE]}?${ne[ie.BUILD]}?`);createToken("FULL",`^${ne[ie.FULLPLAIN]}$`);createToken("LOOSEPLAIN",`[v=\\s]*${ne[ie.MAINVERSIONLOOSE]}${ne[ie.PRERELEASELOOSE]}?${ne[ie.BUILD]}?`);createToken("LOOSE",`^${ne[ie.LOOSEPLAIN]}$`);createToken("GTLT","((?:<|>)?=?)");createToken("XRANGEIDENTIFIERLOOSE",`${ne[ie.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`);createToken("XRANGEIDENTIFIER",`${ne[ie.NUMERICIDENTIFIER]}|x|X|\\*`);createToken("XRANGEPLAIN",`[v=\\s]*(${ne[ie.XRANGEIDENTIFIER]})`+`(?:\\.(${ne[ie.XRANGEIDENTIFIER]})`+`(?:\\.(${ne[ie.XRANGEIDENTIFIER]})`+`(?:${ne[ie.PRERELEASE]})?${ne[ie.BUILD]}?`+`)?)?`);createToken("XRANGEPLAINLOOSE",`[v=\\s]*(${ne[ie.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${ne[ie.XRANGEIDENTIFIERLOOSE]})`+`(?:\\.(${ne[ie.XRANGEIDENTIFIERLOOSE]})`+`(?:${ne[ie.PRERELEASELOOSE]})?${ne[ie.BUILD]}?`+`)?)?`);createToken("XRANGE",`^${ne[ie.GTLT]}\\s*${ne[ie.XRANGEPLAIN]}$`);createToken("XRANGELOOSE",`^${ne[ie.GTLT]}\\s*${ne[ie.XRANGEPLAINLOOSE]}$`);createToken("COERCEPLAIN",`${"(^|[^\\d])"+"(\\d{1,"}${v}})`+`(?:\\.(\\d{1,${v}}))?`+`(?:\\.(\\d{1,${v}}))?`);createToken("COERCE",`${ne[ie.COERCEPLAIN]}(?:$|[^\\d])`);createToken("COERCEFULL",ne[ie.COERCEPLAIN]+`(?:${ne[ie.PRERELEASE]})?`+`(?:${ne[ie.BUILD]})?`+`(?:$|[^\\d])`);createToken("COERCERTL",ne[ie.COERCE],true);createToken("COERCERTLFULL",ne[ie.COERCEFULL],true);createToken("LONETILDE","(?:~>?)");createToken("TILDETRIM",`(\\s*)${ne[ie.LONETILDE]}\\s+`,true);d.tildeTrimReplace="$1~";createToken("TILDE",`^${ne[ie.LONETILDE]}${ne[ie.XRANGEPLAIN]}$`);createToken("TILDELOOSE",`^${ne[ie.LONETILDE]}${ne[ie.XRANGEPLAINLOOSE]}$`);createToken("LONECARET","(?:\\^)");createToken("CARETTRIM",`(\\s*)${ne[ie.LONECARET]}\\s+`,true);d.caretTrimReplace="$1^";createToken("CARET",`^${ne[ie.LONECARET]}${ne[ie.XRANGEPLAIN]}$`);createToken("CARETLOOSE",`^${ne[ie.LONECARET]}${ne[ie.XRANGEPLAINLOOSE]}$`);createToken("COMPARATORLOOSE",`^${ne[ie.GTLT]}\\s*(${ne[ie.LOOSEPLAIN]})$|^$`);createToken("COMPARATOR",`^${ne[ie.GTLT]}\\s*(${ne[ie.FULLPLAIN]})$|^$`);createToken("COMPARATORTRIM",`(\\s*)${ne[ie.GTLT]}\\s*(${ne[ie.LOOSEPLAIN]}|${ne[ie.XRANGEPLAIN]})`,true);d.comparatorTrimReplace="$1$2$3";createToken("HYPHENRANGE",`^\\s*(${ne[ie.XRANGEPLAIN]})`+`\\s+-\\s+`+`(${ne[ie.XRANGEPLAIN]})`+`\\s*$`);createToken("HYPHENRANGELOOSE",`^\\s*(${ne[ie.XRANGEPLAINLOOSE]})`+`\\s+-\\s+`+`(${ne[ie.XRANGEPLAINLOOSE]})`+`\\s*$`);createToken("STAR","(<|>)?=?\\s*\\*");createToken("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$");createToken("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},45133:(i,d,p)=>{const v=p(26317);const gtr=(i,d,p)=>v(i,d,">",p);i.exports=gtr},69118:(i,d,p)=>{const v=p(13177);const intersects=(i,d,p)=>{i=new v(i,p);d=new v(d,p);return i.intersects(d,p)};i.exports=intersects},58548:(i,d,p)=>{const v=p(26317);const ltr=(i,d,p)=>v(i,d,"<",p);i.exports=ltr},11550:(i,d,p)=>{const v=p(55186);const V=p(13177);const maxSatisfying=(i,d,p)=>{let K=null;let ee=null;let te=null;try{te=new V(d,p)}catch(i){return null}i.forEach((i=>{if(te.test(i)){if(!K||ee.compare(i)===-1){K=i;ee=new v(K,p)}}}));return K};i.exports=maxSatisfying},29820:(i,d,p)=>{const v=p(55186);const V=p(13177);const minSatisfying=(i,d,p)=>{let K=null;let ee=null;let te=null;try{te=new V(d,p)}catch(i){return null}i.forEach((i=>{if(te.test(i)){if(!K||ee.compare(i)===1){K=i;ee=new v(K,p)}}}));return K};i.exports=minSatisfying},82271:(i,d,p)=>{const v=p(55186);const V=p(13177);const K=p(87962);const minVersion=(i,d)=>{i=new V(i,d);let p=new v("0.0.0");if(i.test(p)){return p}p=new v("0.0.0-0");if(i.test(p)){return p}p=null;for(let d=0;d{const d=new v(i.semver.version);switch(i.operator){case">":if(d.prerelease.length===0){d.patch++}else{d.prerelease.push(0)}d.raw=d.format();case"":case">=":if(!ee||K(d,ee)){ee=d}break;case"<":case"<=":break;default:throw new Error(`Unexpected operation: ${i.operator}`)}}));if(ee&&(!p||K(p,ee))){p=ee}}if(p&&i.test(p)){return p}return null};i.exports=minVersion},26317:(i,d,p)=>{const v=p(55186);const V=p(81046);const{ANY:K}=V;const ee=p(13177);const te=p(36076);const re=p(87962);const ne=p(40525);const se=p(13966);const ie=p(55603);const outside=(i,d,p,oe)=>{i=new v(i,oe);d=new ee(d,oe);let ae,Ae,ce,le,ue;switch(p){case">":ae=re;Ae=se;ce=ne;le=">";ue=">=";break;case"<":ae=ne;Ae=ie;ce=re;le="<";ue="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(te(i,d,oe)){return false}for(let p=0;p{if(i.semver===K){i=new V(">=0.0.0")}ee=ee||i;te=te||i;if(ae(i.semver,ee.semver,oe)){ee=i}else if(ce(i.semver,te.semver,oe)){te=i}}));if(ee.operator===le||ee.operator===ue){return false}if((!te.operator||te.operator===le)&&Ae(i,te.semver)){return false}else if(te.operator===ue&&ce(i,te.semver)){return false}}return true};i.exports=outside},43139:(i,d,p)=>{const v=p(36076);const V=p(10018);i.exports=(i,d,p)=>{const K=[];let ee=null;let te=null;const re=i.sort(((i,d)=>V(i,d,p)));for(const i of re){const V=v(i,d,p);if(V){te=i;if(!ee){ee=i}}else{if(te){K.push([ee,te])}te=null;ee=null}}if(ee){K.push([ee,null])}const ne=[];for(const[i,d]of K){if(i===d){ne.push(i)}else if(!d&&i===re[0]){ne.push("*")}else if(!d){ne.push(`>=${i}`)}else if(i===re[0]){ne.push(`<=${d}`)}else{ne.push(`${i} - ${d}`)}}const se=ne.join(" || ");const ie=typeof d.raw==="string"?d.raw:String(d);return se.length{const v=p(13177);const V=p(81046);const{ANY:K}=V;const ee=p(36076);const te=p(10018);const subset=(i,d,p={})=>{if(i===d){return true}i=new v(i,p);d=new v(d,p);let V=false;e:for(const v of i.set){for(const i of d.set){const d=simpleSubset(v,i,p);V=V||d!==null;if(d){continue e}}if(V){return false}}return true};const re=[new V(">=0.0.0-0")];const ne=[new V(">=0.0.0")];const simpleSubset=(i,d,p)=>{if(i===d){return true}if(i.length===1&&i[0].semver===K){if(d.length===1&&d[0].semver===K){return true}else if(p.includePrerelease){i=re}else{i=ne}}if(d.length===1&&d[0].semver===K){if(p.includePrerelease){return true}else{d=ne}}const v=new Set;let V,se;for(const d of i){if(d.operator===">"||d.operator===">="){V=higherGT(V,d,p)}else if(d.operator==="<"||d.operator==="<="){se=lowerLT(se,d,p)}else{v.add(d.semver)}}if(v.size>1){return null}let ie;if(V&&se){ie=te(V.semver,se.semver,p);if(ie>0){return null}else if(ie===0&&(V.operator!==">="||se.operator!=="<=")){return null}}for(const i of v){if(V&&!ee(i,String(V),p)){return null}if(se&&!ee(i,String(se),p)){return null}for(const v of d){if(!ee(i,String(v),p)){return false}}return true}let oe,ae;let Ae,ce;let le=se&&!p.includePrerelease&&se.semver.prerelease.length?se.semver:false;let ue=V&&!p.includePrerelease&&V.semver.prerelease.length?V.semver:false;if(le&&le.prerelease.length===1&&se.operator==="<"&&le.prerelease[0]===0){le=false}for(const i of d){ce=ce||i.operator===">"||i.operator===">=";Ae=Ae||i.operator==="<"||i.operator==="<=";if(V){if(ue){if(i.semver.prerelease&&i.semver.prerelease.length&&i.semver.major===ue.major&&i.semver.minor===ue.minor&&i.semver.patch===ue.patch){ue=false}}if(i.operator===">"||i.operator===">="){oe=higherGT(V,i,p);if(oe===i&&oe!==V){return false}}else if(V.operator===">="&&!ee(V.semver,String(i),p)){return false}}if(se){if(le){if(i.semver.prerelease&&i.semver.prerelease.length&&i.semver.major===le.major&&i.semver.minor===le.minor&&i.semver.patch===le.patch){le=false}}if(i.operator==="<"||i.operator==="<="){ae=lowerLT(se,i,p);if(ae===i&&ae!==se){return false}}else if(se.operator==="<="&&!ee(se.semver,String(i),p)){return false}}if(!i.operator&&(se||V)&&ie!==0){return false}}if(V&&Ae&&!se&&ie!==0){return false}if(se&&ce&&!V&&ie!==0){return false}if(ue||le){return false}return true};const higherGT=(i,d,p)=>{if(!i){return d}const v=te(i.semver,d.semver,p);return v>0?i:v<0?d:d.operator===">"&&i.operator===">="?d:i};const lowerLT=(i,d,p)=>{if(!i){return d}const v=te(i.semver,d.semver,p);return v<0?i:v>0?d:d.operator==="<"&&i.operator==="<="?d:i};i.exports=subset},48465:(i,d,p)=>{const v=p(13177);const toComparators=(i,d)=>new v(i,d).set.map((i=>i.map((i=>i.value)).join(" ").trim().split(" ")));i.exports=toComparators},88816:(i,d,p)=>{const v=p(13177);const validRange=(i,d)=>{try{return new v(i,d).range||"*"}catch(i){return null}};i.exports=validRange},11715:(i,d,p)=>{const v=p(57075).Writable;const V=p(57975).inherits;const K=p(51601);const ee=p(91403);const te=p(66604);const re=45;const ne=Buffer.from("-");const se=Buffer.from("\r\n");const EMPTY_FN=function(){};function Dicer(i){if(!(this instanceof Dicer)){return new Dicer(i)}v.call(this,i);if(!i||!i.headerFirst&&typeof i.boundary!=="string"){throw new TypeError("Boundary required")}if(typeof i.boundary==="string"){this.setBoundary(i.boundary)}else{this._bparser=undefined}this._headerFirst=i.headerFirst;this._dashes=0;this._parts=0;this._finished=false;this._realFinish=false;this._isPreamble=true;this._justMatched=false;this._firstWrite=true;this._inHeader=true;this._part=undefined;this._cb=undefined;this._ignoreData=false;this._partOpts={highWaterMark:i.partHwm};this._pause=false;const d=this;this._hparser=new te(i);this._hparser.on("header",(function(i){d._inHeader=false;d._part.emit("header",i)}))}V(Dicer,v);Dicer.prototype.emit=function(i){if(i==="finish"&&!this._realFinish){if(!this._finished){const i=this;process.nextTick((function(){i.emit("error",new Error("Unexpected end of multipart data"));if(i._part&&!i._ignoreData){const d=i._isPreamble?"Preamble":"Part";i._part.emit("error",new Error(d+" terminated early due to unexpected end of multipart data"));i._part.push(null);process.nextTick((function(){i._realFinish=true;i.emit("finish");i._realFinish=false}));return}i._realFinish=true;i.emit("finish");i._realFinish=false}))}}else{v.prototype.emit.apply(this,arguments)}};Dicer.prototype._write=function(i,d,p){if(!this._hparser&&!this._bparser){return p()}if(this._headerFirst&&this._isPreamble){if(!this._part){this._part=new ee(this._partOpts);if(this._events.preamble){this.emit("preamble",this._part)}else{this._ignore()}}const d=this._hparser.push(i);if(!this._inHeader&&d!==undefined&&d{const v=p(78474).EventEmitter;const V=p(57975).inherits;const K=p(96424);const ee=p(51601);const te=Buffer.from("\r\n\r\n");const re=/\r\n/g;const ne=/^([^:]+):[ \t]?([\x00-\xFF]+)?$/;function HeaderParser(i){v.call(this);i=i||{};const d=this;this.nread=0;this.maxed=false;this.npairs=0;this.maxHeaderPairs=K(i,"maxHeaderPairs",2e3);this.maxHeaderSize=K(i,"maxHeaderSize",80*1024);this.buffer="";this.header={};this.finished=false;this.ss=new ee(te);this.ss.on("info",(function(i,p,v,V){if(p&&!d.maxed){if(d.nread+V-v>=d.maxHeaderSize){V=d.maxHeaderSize-d.nread+v;d.nread=d.maxHeaderSize;d.maxed=true}else{d.nread+=V-v}d.buffer+=p.toString("binary",v,V)}if(i){d._finish()}}))}V(HeaderParser,v);HeaderParser.prototype.push=function(i){const d=this.ss.push(i);if(this.finished){return d}};HeaderParser.prototype.reset=function(){this.finished=false;this.buffer="";this.header={};this.ss.reset()};HeaderParser.prototype._finish=function(){if(this.buffer){this._parseHeader()}this.ss.matches=this.ss.maxMatches;const i=this.header;this.header={};this.buffer="";this.finished=true;this.nread=this.npairs=0;this.maxed=false;this.emit("header",i)};HeaderParser.prototype._parseHeader=function(){if(this.npairs===this.maxHeaderPairs){return}const i=this.buffer.split(re);const d=i.length;let p,v;for(var V=0;V{const v=p(57975).inherits;const V=p(57075).Readable;function PartStream(i){V.call(this,i)}v(PartStream,V);PartStream.prototype._read=function(i){};i.exports=PartStream},51601:(i,d,p)=>{const v=p(78474).EventEmitter;const V=p(57975).inherits;function SBMH(i){if(typeof i==="string"){i=Buffer.from(i)}if(!Buffer.isBuffer(i)){throw new TypeError("The needle has to be a String or a Buffer.")}const d=i.length;if(d===0){throw new Error("The needle cannot be an empty String/Buffer.")}if(d>256){throw new Error("The needle cannot have a length bigger than 256.")}this.maxMatches=Infinity;this.matches=0;this._occ=new Array(256).fill(d);this._lookbehind_size=0;this._needle=i;this._bufpos=0;this._lookbehind=Buffer.alloc(d);for(var p=0;p=0){this.emit("info",false,this._lookbehind,0,this._lookbehind_size);this._lookbehind_size=0}else{const p=this._lookbehind_size+K;if(p>0){this.emit("info",false,this._lookbehind,0,p)}this._lookbehind.copy(this._lookbehind,0,p,this._lookbehind_size-p);this._lookbehind_size-=p;i.copy(this._lookbehind,this._lookbehind_size);this._lookbehind_size+=d;this._bufpos=d;return d}}K+=(K>=0)*this._bufpos;if(i.indexOf(p,K)!==-1){K=i.indexOf(p,K);++this.matches;if(K>0){this.emit("info",true,i,this._bufpos,K)}else{this.emit("info",true)}return this._bufpos=K+v}else{K=d-v}while(K0){this.emit("info",false,i,this._bufpos,K{const v=p(57075).Writable;const{inherits:V}=p(57975);const K=p(11715);const ee=p(46419);const te=p(55670);const re=p(28106);function Busboy(i){if(!(this instanceof Busboy)){return new Busboy(i)}if(typeof i!=="object"){throw new TypeError("Busboy expected an options-Object.")}if(typeof i.headers!=="object"){throw new TypeError("Busboy expected an options-Object with headers-attribute.")}if(typeof i.headers["content-type"]!=="string"){throw new TypeError("Missing Content-Type-header.")}const{headers:d,...p}=i;this.opts={autoDestroy:false,...p};v.call(this,this.opts);this._done=false;this._parser=this.getParserByHeaders(d);this._finished=false}V(Busboy,v);Busboy.prototype.emit=function(i){if(i==="finish"){if(!this._done){this._parser?.end();return}else if(this._finished){return}this._finished=true}v.prototype.emit.apply(this,arguments)};Busboy.prototype.getParserByHeaders=function(i){const d=re(i["content-type"]);const p={defCharset:this.opts.defCharset,fileHwm:this.opts.fileHwm,headers:i,highWaterMark:this.opts.highWaterMark,isPartAFile:this.opts.isPartAFile,limits:this.opts.limits,parsedConType:d,preservePath:this.opts.preservePath};if(ee.detect.test(d[0])){return new ee(this,p)}if(te.detect.test(d[0])){return new te(this,p)}throw new Error("Unsupported Content-Type.")};Busboy.prototype._write=function(i,d,p){this._parser.write(i,p)};i.exports=Busboy;i.exports["default"]=Busboy;i.exports.Busboy=Busboy;i.exports.Dicer=K},46419:(i,d,p)=>{const{Readable:v}=p(57075);const{inherits:V}=p(57975);const K=p(11715);const ee=p(28106);const te=p(15422);const re=p(54045);const ne=p(96424);const se=/^boundary$/i;const ie=/^form-data$/i;const oe=/^charset$/i;const ae=/^filename$/i;const Ae=/^name$/i;Multipart.detect=/^multipart\/form-data/i;function Multipart(i,d){let p;let v;const V=this;let ce;const le=d.limits;const ue=d.isPartAFile||((i,d,p)=>d==="application/octet-stream"||p!==undefined);const de=d.parsedConType||[];const he=d.defCharset||"utf8";const fe=d.preservePath;const ge={highWaterMark:d.fileHwm};for(p=0,v=de.length;pye){V.parser.removeListener("part",onPart);V.parser.on("part",skipPart);i.hitPartsLimit=true;i.emit("partsLimit");return skipPart(d)}if(Re){const i=Re;i.emit("end");i.removeAllListeners("end")}d.on("header",(function(K){let ne;let se;let ce;let le;let de;let ye;let Ie=0;if(K["content-type"]){ce=ee(K["content-type"][0]);if(ce[0]){ne=ce[0].toLowerCase();for(p=0,v=ce.length;pme){const v=me-Ie+i.length;if(v>0){p.push(i.slice(0,v))}p.truncated=true;p.bytesRead=me;d.removeAllListeners("data");p.emit("limit");return}else if(!p.push(i)){V._pause=true}p.bytesRead=Ie};ve=function(){Se=undefined;p.push(null)}}else{if(be===Ce){if(!i.hitFieldsLimit){i.hitFieldsLimit=true;i.emit("fieldsLimit")}return skipPart(d)}++be;++we;let p="";let v=false;Re=d;Be=function(i){if((Ie+=i.length)>pe){const V=pe-(Ie-i.length);p+=i.toString("binary",0,V);v=true;d.removeAllListeners("data")}else{p+=i.toString("binary")}};ve=function(){Re=undefined;if(p.length){p=te(p,"binary",le)}i.emit("field",se,p,false,v,de,ne);--we;checkFinished()}}d._readableState.sync=false;d.on("data",Be);d.on("end",ve)})).on("error",(function(i){if(Se){Se.emit("error",i)}}))})).on("error",(function(d){i.emit("error",d)})).on("finish",(function(){ve=true;checkFinished()}))}Multipart.prototype.write=function(i,d){const p=this.parser.write(i);if(p&&!this._pause){d()}else{this._needDrain=!p;this._cb=d}};Multipart.prototype.end=function(){const i=this;if(i.parser.writable){i.parser.end()}else if(!i._boy._done){process.nextTick((function(){i._boy._done=true;i._boy.emit("finish")}))}};function skipPart(i){i.resume()}function FileStream(i){v.call(this,i);this.bytesRead=0;this.truncated=false}V(FileStream,v);FileStream.prototype._read=function(i){};i.exports=Multipart},55670:(i,d,p)=>{const v=p(27259);const V=p(15422);const K=p(96424);const ee=/^charset$/i;UrlEncoded.detect=/^application\/x-www-form-urlencoded/i;function UrlEncoded(i,d){const p=d.limits;const V=d.parsedConType;this.boy=i;this.fieldSizeLimit=K(p,"fieldSize",1*1024*1024);this.fieldNameSizeLimit=K(p,"fieldNameSize",100);this.fieldsLimit=K(p,"fields",Infinity);let te;for(var re=0,ne=V.length;reee){this._key+=this.decoder.write(i.toString("binary",ee,p))}this._state="val";this._hitLimit=false;this._checkingBytes=true;this._val="";this._bytesVal=0;this._valTrunc=false;this.decoder.reset();ee=p+1}else if(v!==undefined){++this._fields;let p;const K=this._keyTrunc;if(v>ee){p=this._key+=this.decoder.write(i.toString("binary",ee,v))}else{p=this._key}this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();if(p.length){this.boy.emit("field",V(p,"binary",this.charset),"",K,false)}ee=v+1;if(this._fields===this.fieldsLimit){return d()}}else if(this._hitLimit){if(K>ee){this._key+=this.decoder.write(i.toString("binary",ee,K))}ee=K;if((this._bytesKey=this._key.length)===this.fieldNameSizeLimit){this._checkingBytes=false;this._keyTrunc=true}}else{if(eeee){this._val+=this.decoder.write(i.toString("binary",ee,v))}this.boy.emit("field",V(this._key,"binary",this.charset),V(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc);this._state="key";this._hitLimit=false;this._checkingBytes=true;this._key="";this._bytesKey=0;this._keyTrunc=false;this.decoder.reset();ee=v+1;if(this._fields===this.fieldsLimit){return d()}}else if(this._hitLimit){if(K>ee){this._val+=this.decoder.write(i.toString("binary",ee,K))}ee=K;if(this._val===""&&this.fieldSizeLimit===0||(this._bytesVal=this._val.length)===this.fieldSizeLimit){this._checkingBytes=false;this._valTrunc=true}}else{if(ee0){this.boy.emit("field",V(this._key,"binary",this.charset),"",this._keyTrunc,false)}else if(this._state==="val"){this.boy.emit("field",V(this._key,"binary",this.charset),V(this._val,"binary",this.charset),this._keyTrunc,this._valTrunc)}this.boy._done=true;this.boy.emit("finish")};i.exports=UrlEncoded},27259:i=>{const d=/\+/g;const p=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];function Decoder(){this.buffer=undefined}Decoder.prototype.write=function(i){i=i.replace(d," ");let v="";let V=0;let K=0;const ee=i.length;for(;VK){v+=i.substring(K,V);K=V}this.buffer="";++K}}if(K{i.exports=function basename(i){if(typeof i!=="string"){return""}for(var d=i.length-1;d>=0;--d){switch(i.charCodeAt(d)){case 47:case 92:i=i.slice(d+1);return i===".."||i==="."?"":i}}return i===".."||i==="."?"":i}},15422:i=>{const d=new TextDecoder("utf-8");const p=new Map([["utf-8",d],["utf8",d]]);function decodeText(i,d,v){if(i){if(p.has(v)){try{return p.get(v).decode(Buffer.from(i,d))}catch(i){}}else{try{p.set(v,new TextDecoder(v));return p.get(v).decode(Buffer.from(i,d))}catch(i){}}}return i}i.exports=decodeText},96424:i=>{i.exports=function getLimit(i,d,p){if(!i||i[d]===undefined||i[d]===null){return p}if(typeof i[d]!=="number"||isNaN(i[d])){throw new TypeError("Limit "+d+" is not a valid number")}return i[d]}},28106:(i,d,p)=>{const v=p(15422);const V=/%([a-fA-F0-9]{2})/g;function encodedReplacer(i,d){return String.fromCharCode(parseInt(d,16))}function parseParams(i){const d=[];let p="key";let K="";let ee=false;let te=false;let re=0;let ne="";for(var se=0,ie=i.length;se{var d=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var V=Object.prototype.hasOwnProperty;var __export=(i,p)=>{for(var v in p)d(i,v,{get:p[v],enumerable:true})};var __copyProps=(i,K,ee,te)=>{if(K&&typeof K==="object"||typeof K==="function"){for(let re of v(K))if(!V.call(i,re)&&re!==ee)d(i,re,{get:()=>K[re],enumerable:!(te=p(K,re))||te.enumerable})}return i};var __toCommonJS=i=>__copyProps(d({},"__esModule",{value:true}),i);var K={};__export(K,{createTokenAuth:()=>ne});i.exports=__toCommonJS(K);var ee=/^v1\./;var te=/^ghs_/;var re=/^ghu_/;async function auth(i){const d=i.split(/\./).length===3;const p=ee.test(i)||te.test(i);const v=re.test(i);const V=d?"app":p?"installation":v?"user-to-server":"oauth";return{type:"token",token:i,tokenType:V}}function withAuthorizationPrefix(i){if(i.split(/\./).length===3){return`bearer ${i}`}return`token ${i}`}async function hook(i,d,p,v){const V=d.endpoint.merge(p,v);V.headers.authorization=withAuthorizationPrefix(i);return d(V)}var ne=function createTokenAuth2(i){if(!i){throw new Error("[@octokit/auth-token] No token passed to createTokenAuth")}if(typeof i!=="string"){throw new Error("[@octokit/auth-token] Token passed to createTokenAuth is not a string")}i=i.replace(/^(token|bearer) +/i,"");return Object.assign(auth.bind(null,i),{hook:hook.bind(null,i)})};0&&0},61897:(i,d,p)=>{var v=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var K=Object.getOwnPropertyNames;var ee=Object.prototype.hasOwnProperty;var __export=(i,d)=>{for(var p in d)v(i,p,{get:d[p],enumerable:true})};var __copyProps=(i,d,p,te)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let re of K(d))if(!ee.call(i,re)&&re!==p)v(i,re,{get:()=>d[re],enumerable:!(te=V(d,re))||te.enumerable})}return i};var __toCommonJS=i=>__copyProps(v({},"__esModule",{value:true}),i);var te={};__export(te,{Octokit:()=>ue});i.exports=__toCommonJS(te);var re=p(33843);var ne=p(52732);var se=p(34558);var ie=p(70007);var oe=p(77864);var ae="5.1.0";var noop=()=>{};var Ae=console.warn.bind(console);var ce=console.error.bind(console);var le=`octokit-core.js/${ae} ${(0,re.getUserAgent)()}`;var ue=class{static{this.VERSION=ae}static defaults(i){const d=class extends(this){constructor(...d){const p=d[0]||{};if(typeof i==="function"){super(i(p));return}super(Object.assign({},i,p,p.userAgent&&i.userAgent?{userAgent:`${p.userAgent} ${i.userAgent}`}:null))}};return d}static{this.plugins=[]}static plugin(...i){const d=this.plugins;const p=class extends(this){static{this.plugins=d.concat(i.filter((i=>!d.includes(i))))}};return p}constructor(i={}){const d=new ne.Collection;const p={baseUrl:se.request.endpoint.DEFAULTS.baseUrl,headers:{},request:Object.assign({},i.request,{hook:d.bind(null,"request")}),mediaType:{previews:[],format:""}};p.headers["user-agent"]=i.userAgent?`${i.userAgent} ${le}`:le;if(i.baseUrl){p.baseUrl=i.baseUrl}if(i.previews){p.mediaType.previews=i.previews}if(i.timeZone){p.headers["time-zone"]=i.timeZone}this.request=se.request.defaults(p);this.graphql=(0,ie.withCustomRequest)(this.request).defaults(p);this.log=Object.assign({debug:noop,info:noop,warn:Ae,error:ce},i.log);this.hook=d;if(!i.authStrategy){if(!i.auth){this.auth=async()=>({type:"unauthenticated"})}else{const p=(0,oe.createTokenAuth)(i.auth);d.wrap("request",p.hook);this.auth=p}}else{const{authStrategy:p,...v}=i;const V=p(Object.assign({request:this.request,log:this.log,octokit:this,octokitOptions:v},i.auth));d.wrap("request",V.hook);this.auth=V}const v=this.constructor;for(let d=0;d{var v=Object.create;var V=Object.defineProperty;var K=Object.getOwnPropertyDescriptor;var ee=Object.getOwnPropertyNames;var te=Object.getPrototypeOf;var re=Object.prototype.hasOwnProperty;var __export=(i,d)=>{for(var p in d)V(i,p,{get:d[p],enumerable:true})};var __copyProps=(i,d,p,v)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let te of ee(d))if(!re.call(i,te)&&te!==p)V(i,te,{get:()=>d[te],enumerable:!(v=K(d,te))||v.enumerable})}return i};var __toESM=(i,d,p)=>(p=i!=null?v(te(i)):{},__copyProps(d||!i||!i.__esModule?V(p,"default",{value:i,enumerable:true}):p,i));var __toCommonJS=i=>__copyProps(V({},"__esModule",{value:true}),i);var ne={};__export(ne,{RequestError:()=>Ae});i.exports=__toCommonJS(ne);var se=p(14150);var ie=__toESM(p(55560));var oe=(0,ie.default)((i=>console.warn(i)));var ae=(0,ie.default)((i=>console.warn(i)));var Ae=class extends Error{constructor(i,d,p){super(i);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="HttpError";this.status=d;let v;if("headers"in p&&typeof p.headers!=="undefined"){v=p.headers}if("response"in p){this.response=p.response;v=p.response.headers}const V=Object.assign({},p.request);if(p.request.headers.authorization){V.headers=Object.assign({},p.request.headers,{authorization:p.request.headers.authorization.replace(/ .*$/," [REDACTED]")})}V.url=V.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]");this.request=V;Object.defineProperty(this,"code",{get(){oe(new se.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`."));return d}});Object.defineProperty(this,"headers",{get(){ae(new se.Deprecation("[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`."));return v||{}}})}};0&&0},34558:(i,d,p)=>{var v=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var K=Object.getOwnPropertyNames;var ee=Object.prototype.hasOwnProperty;var __export=(i,d)=>{for(var p in d)v(i,p,{get:d[p],enumerable:true})};var __copyProps=(i,d,p,te)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let re of K(d))if(!ee.call(i,re)&&re!==p)v(i,re,{get:()=>d[re],enumerable:!(te=V(d,re))||te.enumerable})}return i};var __toCommonJS=i=>__copyProps(v({},"__esModule",{value:true}),i);var te={};__export(te,{request:()=>ae});i.exports=__toCommonJS(te);var re=p(54471);var ne=p(33843);var se="8.1.4";var ie=p(93407);var oe=p(80497);function getBufferResponse(i){return i.arrayBuffer()}function fetchWrapper(i){var d,p,v;const V=i.request&&i.request.log?i.request.log:console;const K=((d=i.request)==null?void 0:d.parseSuccessResponseBody)!==false;if((0,ie.isPlainObject)(i.body)||Array.isArray(i.body)){i.body=JSON.stringify(i.body)}let ee={};let te;let re;let{fetch:ne}=globalThis;if((p=i.request)==null?void 0:p.fetch){ne=i.request.fetch}if(!ne){throw new Error("fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing")}return ne(i.url,{method:i.method,body:i.body,headers:i.headers,signal:(v=i.request)==null?void 0:v.signal,...i.body&&{duplex:"half"}}).then((async d=>{re=d.url;te=d.status;for(const i of d.headers){ee[i[0]]=i[1]}if("deprecation"in ee){const d=ee.link&&ee.link.match(/<([^>]+)>; rel="deprecation"/);const p=d&&d.pop();V.warn(`[@octokit/request] "${i.method} ${i.url}" is deprecated. It is scheduled to be removed on ${ee.sunset}${p?`. See ${p}`:""}`)}if(te===204||te===205){return}if(i.method==="HEAD"){if(te<400){return}throw new oe.RequestError(d.statusText,te,{response:{url:re,status:te,headers:ee,data:void 0},request:i})}if(te===304){throw new oe.RequestError("Not modified",te,{response:{url:re,status:te,headers:ee,data:await getResponseData(d)},request:i})}if(te>=400){const p=await getResponseData(d);const v=new oe.RequestError(toErrorMessage(p),te,{response:{url:re,status:te,headers:ee,data:p},request:i});throw v}return K?await getResponseData(d):d.body})).then((i=>({status:te,url:re,headers:ee,data:i}))).catch((d=>{if(d instanceof oe.RequestError)throw d;else if(d.name==="AbortError")throw d;let p=d.message;if(d.name==="TypeError"&&"cause"in d){if(d.cause instanceof Error){p=d.cause.message}else if(typeof d.cause==="string"){p=d.cause}}throw new oe.RequestError(p,500,{request:i})}))}async function getResponseData(i){const d=i.headers.get("content-type");if(/application\/json/.test(d)){return i.json()}if(!d||/^text\/|charset=utf-8$/.test(d)){return i.text()}return getBufferResponse(i)}function toErrorMessage(i){if(typeof i==="string")return i;if("message"in i){if(Array.isArray(i.errors)){return`${i.message}: ${i.errors.map(JSON.stringify).join(", ")}`}return i.message}return`Unknown error: ${JSON.stringify(i)}`}function withDefaults(i,d){const p=i.defaults(d);const newApi=function(i,d){const v=p.merge(i,d);if(!v.request||!v.request.hook){return fetchWrapper(p.parse(v))}const request2=(i,d)=>fetchWrapper(p.parse(p.merge(i,d)));Object.assign(request2,{endpoint:p,defaults:withDefaults.bind(null,p)});return v.request.hook(request2,v)};return Object.assign(newApi,{endpoint:p,defaults:withDefaults.bind(null,p)})}var ae=withDefaults(re.endpoint,{headers:{"user-agent":`octokit-request.js/${se} ${(0,ne.getUserAgent)()}`}});0&&0},54471:(i,d,p)=>{var v=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var K=Object.getOwnPropertyNames;var ee=Object.prototype.hasOwnProperty;var __export=(i,d)=>{for(var p in d)v(i,p,{get:d[p],enumerable:true})};var __copyProps=(i,d,p,te)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let re of K(d))if(!ee.call(i,re)&&re!==p)v(i,re,{get:()=>d[re],enumerable:!(te=V(d,re))||te.enumerable})}return i};var __toCommonJS=i=>__copyProps(v({},"__esModule",{value:true}),i);var te={};__export(te,{endpoint:()=>Ae});i.exports=__toCommonJS(te);var re=p(33843);var ne="9.0.1";var se=`octokit-endpoint.js/${ne} ${(0,re.getUserAgent)()}`;var ie={method:"GET",baseUrl:"https://api.github.com",headers:{accept:"application/vnd.github.v3+json","user-agent":se},mediaType:{format:""}};function lowercaseKeys(i){if(!i){return{}}return Object.keys(i).reduce(((d,p)=>{d[p.toLowerCase()]=i[p];return d}),{})}var oe=p(93407);function mergeDeep(i,d){const p=Object.assign({},i);Object.keys(d).forEach((v=>{if((0,oe.isPlainObject)(d[v])){if(!(v in i))Object.assign(p,{[v]:d[v]});else p[v]=mergeDeep(i[v],d[v])}else{Object.assign(p,{[v]:d[v]})}}));return p}function removeUndefinedProperties(i){for(const d in i){if(i[d]===void 0){delete i[d]}}return i}function merge(i,d,p){if(typeof d==="string"){let[i,v]=d.split(" ");p=Object.assign(v?{method:i,url:v}:{url:i},p)}else{p=Object.assign({},d)}p.headers=lowercaseKeys(p.headers);removeUndefinedProperties(p);removeUndefinedProperties(p.headers);const v=mergeDeep(i||{},p);if(p.url==="/graphql"){if(i&&i.mediaType.previews?.length){v.mediaType.previews=i.mediaType.previews.filter((i=>!v.mediaType.previews.includes(i))).concat(v.mediaType.previews)}v.mediaType.previews=(v.mediaType.previews||[]).map((i=>i.replace(/-preview/,"")))}return v}function addQueryParameters(i,d){const p=/\?/.test(i)?"&":"?";const v=Object.keys(d);if(v.length===0){return i}return i+p+v.map((i=>{if(i==="q"){return"q="+d.q.split("+").map(encodeURIComponent).join("+")}return`${i}=${encodeURIComponent(d[i])}`})).join("&")}var ae=/\{[^}]+\}/g;function removeNonChars(i){return i.replace(/^\W+|\W+$/g,"").split(/,/)}function extractUrlVariableNames(i){const d=i.match(ae);if(!d){return[]}return d.map(removeNonChars).reduce(((i,d)=>i.concat(d)),[])}function omit(i,d){return Object.keys(i).filter((i=>!d.includes(i))).reduce(((d,p)=>{d[p]=i[p];return d}),{})}function encodeReserved(i){return i.split(/(%[0-9A-Fa-f]{2})/g).map((function(i){if(!/%[0-9A-Fa-f]/.test(i)){i=encodeURI(i).replace(/%5B/g,"[").replace(/%5D/g,"]")}return i})).join("")}function encodeUnreserved(i){return encodeURIComponent(i).replace(/[!'()*]/g,(function(i){return"%"+i.charCodeAt(0).toString(16).toUpperCase()}))}function encodeValue(i,d,p){d=i==="+"||i==="#"?encodeReserved(d):encodeUnreserved(d);if(p){return encodeUnreserved(p)+"="+d}else{return d}}function isDefined(i){return i!==void 0&&i!==null}function isKeyOperator(i){return i===";"||i==="&"||i==="?"}function getValues(i,d,p,v){var V=i[p],K=[];if(isDefined(V)&&V!==""){if(typeof V==="string"||typeof V==="number"||typeof V==="boolean"){V=V.toString();if(v&&v!=="*"){V=V.substring(0,parseInt(v,10))}K.push(encodeValue(d,V,isKeyOperator(d)?p:""))}else{if(v==="*"){if(Array.isArray(V)){V.filter(isDefined).forEach((function(i){K.push(encodeValue(d,i,isKeyOperator(d)?p:""))}))}else{Object.keys(V).forEach((function(i){if(isDefined(V[i])){K.push(encodeValue(d,V[i],i))}}))}}else{const i=[];if(Array.isArray(V)){V.filter(isDefined).forEach((function(p){i.push(encodeValue(d,p))}))}else{Object.keys(V).forEach((function(p){if(isDefined(V[p])){i.push(encodeUnreserved(p));i.push(encodeValue(d,V[p].toString()))}}))}if(isKeyOperator(d)){K.push(encodeUnreserved(p)+"="+i.join(","))}else if(i.length!==0){K.push(i.join(","))}}}}else{if(d===";"){if(isDefined(V)){K.push(encodeUnreserved(p))}}else if(V===""&&(d==="&"||d==="?")){K.push(encodeUnreserved(p)+"=")}else if(V===""){K.push("")}}return K}function parseUrl(i){return{expand:expand.bind(null,i)}}function expand(i,d){var p=["+","#",".","/",";","?","&"];return i.replace(/\{([^\{\}]+)\}|([^\{\}]+)/g,(function(i,v,V){if(v){let i="";const V=[];if(p.indexOf(v.charAt(0))!==-1){i=v.charAt(0);v=v.substr(1)}v.split(/,/g).forEach((function(p){var v=/([^:\*]*)(?::(\d+)|(\*))?/.exec(p);V.push(getValues(d,i,v[1],v[2]||v[3]))}));if(i&&i!=="+"){var K=",";if(i==="?"){K="&"}else if(i!=="#"){K=i}return(V.length!==0?i:"")+V.join(K)}else{return V.join(",")}}else{return encodeReserved(V)}}))}function parse(i){let d=i.method.toUpperCase();let p=(i.url||"/").replace(/:([a-z]\w+)/g,"{$1}");let v=Object.assign({},i.headers);let V;let K=omit(i,["method","baseUrl","url","headers","request","mediaType"]);const ee=extractUrlVariableNames(p);p=parseUrl(p).expand(K);if(!/^http/.test(p)){p=i.baseUrl+p}const te=Object.keys(i).filter((i=>ee.includes(i))).concat("baseUrl");const re=omit(K,te);const ne=/application\/octet-stream/i.test(v.accept);if(!ne){if(i.mediaType.format){v.accept=v.accept.split(/,/).map((d=>d.replace(/application\/vnd(\.\w+)(\.v3)?(\.\w+)?(\+json)?$/,`application/vnd$1$2.${i.mediaType.format}`))).join(",")}if(p.endsWith("/graphql")){if(i.mediaType.previews?.length){const d=v.accept.match(/[\w-]+(?=-preview)/g)||[];v.accept=d.concat(i.mediaType.previews).map((d=>{const p=i.mediaType.format?`.${i.mediaType.format}`:"+json";return`application/vnd.github.${d}-preview${p}`})).join(",")}}}if(["GET","HEAD"].includes(d)){p=addQueryParameters(p,re)}else{if("data"in re){V=re.data}else{if(Object.keys(re).length){V=re}}}if(!v["content-type"]&&typeof V!=="undefined"){v["content-type"]="application/json; charset=utf-8"}if(["PATCH","PUT"].includes(d)&&typeof V==="undefined"){V=""}return Object.assign({method:d,url:p,headers:v},typeof V!=="undefined"?{body:V}:null,i.request?{request:i.request}:null)}function endpointWithDefaults(i,d,p){return parse(merge(i,d,p))}function withDefaults(i,d){const p=merge(i,d);const v=endpointWithDefaults.bind(null,p);return Object.assign(v,{DEFAULTS:p,defaults:withDefaults.bind(null,p),merge:merge.bind(null,p),parse:parse})}var Ae=withDefaults(null,ie);0&&0},70007:(i,d,p)=>{var v=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var K=Object.getOwnPropertyNames;var ee=Object.prototype.hasOwnProperty;var __export=(i,d)=>{for(var p in d)v(i,p,{get:d[p],enumerable:true})};var __copyProps=(i,d,p,te)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let re of K(d))if(!ee.call(i,re)&&re!==p)v(i,re,{get:()=>d[re],enumerable:!(te=V(d,re))||te.enumerable})}return i};var __toCommonJS=i=>__copyProps(v({},"__esModule",{value:true}),i);var te={};__export(te,{GraphqlResponseError:()=>ae,graphql:()=>ue,withCustomRequest:()=>withCustomRequest});i.exports=__toCommonJS(te);var re=p(2804);var ne=p(33843);var se="7.0.2";var ie=p(2804);var oe=p(2804);function _buildMessageForResponseErrors(i){return`Request failed due to following response errors:\n`+i.errors.map((i=>` - ${i.message}`)).join("\n")}var ae=class extends Error{constructor(i,d,p){super(_buildMessageForResponseErrors(p));this.request=i;this.headers=d;this.response=p;this.name="GraphqlResponseError";this.errors=p.errors;this.data=p.data;if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}}};var Ae=["method","baseUrl","url","headers","request","query","mediaType"];var ce=["query","method","url"];var le=/\/api\/v3\/?$/;function graphql(i,d,p){if(p){if(typeof d==="string"&&"query"in p){return Promise.reject(new Error(`[@octokit/graphql] "query" cannot be used as variable name`))}for(const i in p){if(!ce.includes(i))continue;return Promise.reject(new Error(`[@octokit/graphql] "${i}" cannot be used as variable name`))}}const v=typeof d==="string"?Object.assign({query:d},p):d;const V=Object.keys(v).reduce(((i,d)=>{if(Ae.includes(d)){i[d]=v[d];return i}if(!i.variables){i.variables={}}i.variables[d]=v[d];return i}),{});const K=v.baseUrl||i.endpoint.DEFAULTS.baseUrl;if(le.test(K)){V.url=K.replace(le,"/api/graphql")}return i(V).then((i=>{if(i.data.errors){const d={};for(const p of Object.keys(i.headers)){d[p]=i.headers[p]}throw new ae(V,d,i.data)}return i.data.data}))}function withDefaults(i,d){const p=i.defaults(d);const newApi=(i,d)=>graphql(p,i,d);return Object.assign(newApi,{defaults:withDefaults.bind(null,p),endpoint:p.endpoint})}var ue=withDefaults(re.request,{headers:{"user-agent":`octokit-graphql.js/${se} ${(0,ne.getUserAgent)()}`},method:"POST",url:"/graphql"});function withCustomRequest(i){return withDefaults(i,{method:"POST",url:"/graphql"})}0&&0},4751:(i,d,p)=>{var v=Object.create;var V=Object.defineProperty;var K=Object.getOwnPropertyDescriptor;var ee=Object.getOwnPropertyNames;var te=Object.getPrototypeOf;var re=Object.prototype.hasOwnProperty;var __export=(i,d)=>{for(var p in d)V(i,p,{get:d[p],enumerable:true})};var __copyProps=(i,d,p,v)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let te of ee(d))if(!re.call(i,te)&&te!==p)V(i,te,{get:()=>d[te],enumerable:!(v=K(d,te))||v.enumerable})}return i};var __toESM=(i,d,p)=>(p=i!=null?v(te(i)):{},__copyProps(d||!i||!i.__esModule?V(p,"default",{value:i,enumerable:true}):p,i));var __toCommonJS=i=>__copyProps(V({},"__esModule",{value:true}),i);var ne={};__export(ne,{RequestError:()=>Ae});i.exports=__toCommonJS(ne);var se=p(14150);var ie=__toESM(p(55560));var oe=(0,ie.default)((i=>console.warn(i)));var ae=(0,ie.default)((i=>console.warn(i)));var Ae=class extends Error{constructor(i,d,p){super(i);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="HttpError";this.status=d;let v;if("headers"in p&&typeof p.headers!=="undefined"){v=p.headers}if("response"in p){this.response=p.response;v=p.response.headers}const V=Object.assign({},p.request);if(p.request.headers.authorization){V.headers=Object.assign({},p.request.headers,{authorization:p.request.headers.authorization.replace(/ .*$/," [REDACTED]")})}V.url=V.url.replace(/\bclient_secret=\w+/g,"client_secret=[REDACTED]").replace(/\baccess_token=\w+/g,"access_token=[REDACTED]");this.request=V;Object.defineProperty(this,"code",{get(){oe(new se.Deprecation("[@octokit/request-error] `error.code` is deprecated, use `error.status`."));return d}});Object.defineProperty(this,"headers",{get(){ae(new se.Deprecation("[@octokit/request-error] `error.headers` is deprecated, use `error.response.headers`."));return v||{}}})}};0&&0},2804:(i,d,p)=>{var v=Object.defineProperty;var V=Object.getOwnPropertyDescriptor;var K=Object.getOwnPropertyNames;var ee=Object.prototype.hasOwnProperty;var __export=(i,d)=>{for(var p in d)v(i,p,{get:d[p],enumerable:true})};var __copyProps=(i,d,p,te)=>{if(d&&typeof d==="object"||typeof d==="function"){for(let re of K(d))if(!ee.call(i,re)&&re!==p)v(i,re,{get:()=>d[re],enumerable:!(te=V(d,re))||te.enumerable})}return i};var __toCommonJS=i=>__copyProps(v({},"__esModule",{value:true}),i);var te={};__export(te,{request:()=>ae});i.exports=__toCommonJS(te);var re=p(54471);var ne=p(33843);var se="8.1.4";var ie=p(93407);var oe=p(4751);function getBufferResponse(i){return i.arrayBuffer()}function fetchWrapper(i){var d,p,v;const V=i.request&&i.request.log?i.request.log:console;const K=((d=i.request)==null?void 0:d.parseSuccessResponseBody)!==false;if((0,ie.isPlainObject)(i.body)||Array.isArray(i.body)){i.body=JSON.stringify(i.body)}let ee={};let te;let re;let{fetch:ne}=globalThis;if((p=i.request)==null?void 0:p.fetch){ne=i.request.fetch}if(!ne){throw new Error("fetch is not set. Please pass a fetch implementation as new Octokit({ request: { fetch }}). Learn more at https://github.com/octokit/octokit.js/#fetch-missing")}return ne(i.url,{method:i.method,body:i.body,headers:i.headers,signal:(v=i.request)==null?void 0:v.signal,...i.body&&{duplex:"half"}}).then((async d=>{re=d.url;te=d.status;for(const i of d.headers){ee[i[0]]=i[1]}if("deprecation"in ee){const d=ee.link&&ee.link.match(/<([^>]+)>; rel="deprecation"/);const p=d&&d.pop();V.warn(`[@octokit/request] "${i.method} ${i.url}" is deprecated. It is scheduled to be removed on ${ee.sunset}${p?`. See ${p}`:""}`)}if(te===204||te===205){return}if(i.method==="HEAD"){if(te<400){return}throw new oe.RequestError(d.statusText,te,{response:{url:re,status:te,headers:ee,data:void 0},request:i})}if(te===304){throw new oe.RequestError("Not modified",te,{response:{url:re,status:te,headers:ee,data:await getResponseData(d)},request:i})}if(te>=400){const p=await getResponseData(d);const v=new oe.RequestError(toErrorMessage(p),te,{response:{url:re,status:te,headers:ee,data:p},request:i});throw v}return K?await getResponseData(d):d.body})).then((i=>({status:te,url:re,headers:ee,data:i}))).catch((d=>{if(d instanceof oe.RequestError)throw d;else if(d.name==="AbortError")throw d;let p=d.message;if(d.name==="TypeError"&&"cause"in d){if(d.cause instanceof Error){p=d.cause.message}else if(typeof d.cause==="string"){p=d.cause}}throw new oe.RequestError(p,500,{request:i})}))}async function getResponseData(i){const d=i.headers.get("content-type");if(/application\/json/.test(d)){return i.json()}if(!d||/^text\/|charset=utf-8$/.test(d)){return i.text()}return getBufferResponse(i)}function toErrorMessage(i){if(typeof i==="string")return i;if("message"in i){if(Array.isArray(i.errors)){return`${i.message}: ${i.errors.map(JSON.stringify).join(", ")}`}return i.message}return`Unknown error: ${JSON.stringify(i)}`}function withDefaults(i,d){const p=i.defaults(d);const newApi=function(i,d){const v=p.merge(i,d);if(!v.request||!v.request.hook){return fetchWrapper(p.parse(v))}const request2=(i,d)=>fetchWrapper(p.parse(p.merge(i,d)));Object.assign(request2,{endpoint:p,defaults:withDefaults.bind(null,p)});return v.request.hook(request2,v)};return Object.assign(newApi,{endpoint:p,defaults:withDefaults.bind(null,p)})}var ae=withDefaults(re.endpoint,{headers:{"user-agent":`octokit-request.js/${se} ${(0,ne.getUserAgent)()}`}});0&&0},38082:i=>{var d=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var V=Object.prototype.hasOwnProperty;var __export=(i,p)=>{for(var v in p)d(i,v,{get:p[v],enumerable:true})};var __copyProps=(i,K,ee,te)=>{if(K&&typeof K==="object"||typeof K==="function"){for(let re of v(K))if(!V.call(i,re)&&re!==ee)d(i,re,{get:()=>K[re],enumerable:!(te=p(K,re))||te.enumerable})}return i};var __toCommonJS=i=>__copyProps(d({},"__esModule",{value:true}),i);var K={};__export(K,{composePaginateRest:()=>te,isPaginatingEndpoint:()=>isPaginatingEndpoint,paginateRest:()=>paginateRest,paginatingEndpoints:()=>re});i.exports=__toCommonJS(K);var ee="9.2.2";function normalizePaginatedListResponse(i){if(!i.data){return{...i,data:[]}}const d="total_count"in i.data&&!("url"in i.data);if(!d)return i;const p=i.data.incomplete_results;const v=i.data.repository_selection;const V=i.data.total_count;delete i.data.incomplete_results;delete i.data.repository_selection;delete i.data.total_count;const K=Object.keys(i.data)[0];const ee=i.data[K];i.data=ee;if(typeof p!=="undefined"){i.data.incomplete_results=p}if(typeof v!=="undefined"){i.data.repository_selection=v}i.data.total_count=V;return i}function iterator(i,d,p){const v=typeof d==="function"?d.endpoint(p):i.request.endpoint(d,p);const V=typeof d==="function"?d:i.request;const K=v.method;const ee=v.headers;let te=v.url;return{[Symbol.asyncIterator]:()=>({async next(){if(!te)return{done:true};try{const i=await V({method:K,url:te,headers:ee});const d=normalizePaginatedListResponse(i);te=((d.headers.link||"").match(/<([^<>]+)>;\s*rel="next"/)||[])[1];return{value:d}}catch(i){if(i.status!==409)throw i;te="";return{value:{status:200,headers:{},data:[]}}}}})}}function paginate(i,d,p,v){if(typeof p==="function"){v=p;p=void 0}return gather(i,[],iterator(i,d,p)[Symbol.asyncIterator](),v)}function gather(i,d,p,v){return p.next().then((V=>{if(V.done){return d}let K=false;function done(){K=true}d=d.concat(v?v(V.value,done):V.value.data);if(K){return d}return gather(i,d,p,v)}))}var te=Object.assign(paginate,{iterator:iterator});var re=["GET /advisories","GET /app/hook/deliveries","GET /app/installation-requests","GET /app/installations","GET /assignments/{assignment_id}/accepted_assignments","GET /classrooms","GET /classrooms/{classroom_id}/assignments","GET /enterprises/{enterprise}/dependabot/alerts","GET /enterprises/{enterprise}/secret-scanning/alerts","GET /events","GET /gists","GET /gists/public","GET /gists/starred","GET /gists/{gist_id}/comments","GET /gists/{gist_id}/commits","GET /gists/{gist_id}/forks","GET /installation/repositories","GET /issues","GET /licenses","GET /marketplace_listing/plans","GET /marketplace_listing/plans/{plan_id}/accounts","GET /marketplace_listing/stubbed/plans","GET /marketplace_listing/stubbed/plans/{plan_id}/accounts","GET /networks/{owner}/{repo}/events","GET /notifications","GET /organizations","GET /orgs/{org}/actions/cache/usage-by-repository","GET /orgs/{org}/actions/permissions/repositories","GET /orgs/{org}/actions/runners","GET /orgs/{org}/actions/secrets","GET /orgs/{org}/actions/secrets/{secret_name}/repositories","GET /orgs/{org}/actions/variables","GET /orgs/{org}/actions/variables/{name}/repositories","GET /orgs/{org}/blocks","GET /orgs/{org}/code-scanning/alerts","GET /orgs/{org}/codespaces","GET /orgs/{org}/codespaces/secrets","GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories","GET /orgs/{org}/copilot/billing/seats","GET /orgs/{org}/dependabot/alerts","GET /orgs/{org}/dependabot/secrets","GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories","GET /orgs/{org}/events","GET /orgs/{org}/failed_invitations","GET /orgs/{org}/hooks","GET /orgs/{org}/hooks/{hook_id}/deliveries","GET /orgs/{org}/installations","GET /orgs/{org}/invitations","GET /orgs/{org}/invitations/{invitation_id}/teams","GET /orgs/{org}/issues","GET /orgs/{org}/members","GET /orgs/{org}/members/{username}/codespaces","GET /orgs/{org}/migrations","GET /orgs/{org}/migrations/{migration_id}/repositories","GET /orgs/{org}/organization-roles/{role_id}/teams","GET /orgs/{org}/organization-roles/{role_id}/users","GET /orgs/{org}/outside_collaborators","GET /orgs/{org}/packages","GET /orgs/{org}/packages/{package_type}/{package_name}/versions","GET /orgs/{org}/personal-access-token-requests","GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories","GET /orgs/{org}/personal-access-tokens","GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories","GET /orgs/{org}/projects","GET /orgs/{org}/properties/values","GET /orgs/{org}/public_members","GET /orgs/{org}/repos","GET /orgs/{org}/rulesets","GET /orgs/{org}/rulesets/rule-suites","GET /orgs/{org}/secret-scanning/alerts","GET /orgs/{org}/security-advisories","GET /orgs/{org}/teams","GET /orgs/{org}/teams/{team_slug}/discussions","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions","GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions","GET /orgs/{org}/teams/{team_slug}/invitations","GET /orgs/{org}/teams/{team_slug}/members","GET /orgs/{org}/teams/{team_slug}/projects","GET /orgs/{org}/teams/{team_slug}/repos","GET /orgs/{org}/teams/{team_slug}/teams","GET /projects/columns/{column_id}/cards","GET /projects/{project_id}/collaborators","GET /projects/{project_id}/columns","GET /repos/{owner}/{repo}/actions/artifacts","GET /repos/{owner}/{repo}/actions/caches","GET /repos/{owner}/{repo}/actions/organization-secrets","GET /repos/{owner}/{repo}/actions/organization-variables","GET /repos/{owner}/{repo}/actions/runners","GET /repos/{owner}/{repo}/actions/runs","GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts","GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs","GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs","GET /repos/{owner}/{repo}/actions/secrets","GET /repos/{owner}/{repo}/actions/variables","GET /repos/{owner}/{repo}/actions/workflows","GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs","GET /repos/{owner}/{repo}/activity","GET /repos/{owner}/{repo}/assignees","GET /repos/{owner}/{repo}/branches","GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations","GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs","GET /repos/{owner}/{repo}/code-scanning/alerts","GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances","GET /repos/{owner}/{repo}/code-scanning/analyses","GET /repos/{owner}/{repo}/codespaces","GET /repos/{owner}/{repo}/codespaces/devcontainers","GET /repos/{owner}/{repo}/codespaces/secrets","GET /repos/{owner}/{repo}/collaborators","GET /repos/{owner}/{repo}/comments","GET /repos/{owner}/{repo}/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/commits","GET /repos/{owner}/{repo}/commits/{commit_sha}/comments","GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls","GET /repos/{owner}/{repo}/commits/{ref}/check-runs","GET /repos/{owner}/{repo}/commits/{ref}/check-suites","GET /repos/{owner}/{repo}/commits/{ref}/status","GET /repos/{owner}/{repo}/commits/{ref}/statuses","GET /repos/{owner}/{repo}/contributors","GET /repos/{owner}/{repo}/dependabot/alerts","GET /repos/{owner}/{repo}/dependabot/secrets","GET /repos/{owner}/{repo}/deployments","GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses","GET /repos/{owner}/{repo}/environments","GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies","GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps","GET /repos/{owner}/{repo}/events","GET /repos/{owner}/{repo}/forks","GET /repos/{owner}/{repo}/hooks","GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries","GET /repos/{owner}/{repo}/invitations","GET /repos/{owner}/{repo}/issues","GET /repos/{owner}/{repo}/issues/comments","GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/issues/events","GET /repos/{owner}/{repo}/issues/{issue_number}/comments","GET /repos/{owner}/{repo}/issues/{issue_number}/events","GET /repos/{owner}/{repo}/issues/{issue_number}/labels","GET /repos/{owner}/{repo}/issues/{issue_number}/reactions","GET /repos/{owner}/{repo}/issues/{issue_number}/timeline","GET /repos/{owner}/{repo}/keys","GET /repos/{owner}/{repo}/labels","GET /repos/{owner}/{repo}/milestones","GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels","GET /repos/{owner}/{repo}/notifications","GET /repos/{owner}/{repo}/pages/builds","GET /repos/{owner}/{repo}/projects","GET /repos/{owner}/{repo}/pulls","GET /repos/{owner}/{repo}/pulls/comments","GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions","GET /repos/{owner}/{repo}/pulls/{pull_number}/comments","GET /repos/{owner}/{repo}/pulls/{pull_number}/commits","GET /repos/{owner}/{repo}/pulls/{pull_number}/files","GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews","GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments","GET /repos/{owner}/{repo}/releases","GET /repos/{owner}/{repo}/releases/{release_id}/assets","GET /repos/{owner}/{repo}/releases/{release_id}/reactions","GET /repos/{owner}/{repo}/rules/branches/{branch}","GET /repos/{owner}/{repo}/rulesets","GET /repos/{owner}/{repo}/rulesets/rule-suites","GET /repos/{owner}/{repo}/secret-scanning/alerts","GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations","GET /repos/{owner}/{repo}/security-advisories","GET /repos/{owner}/{repo}/stargazers","GET /repos/{owner}/{repo}/subscribers","GET /repos/{owner}/{repo}/tags","GET /repos/{owner}/{repo}/teams","GET /repos/{owner}/{repo}/topics","GET /repositories","GET /repositories/{repository_id}/environments/{environment_name}/secrets","GET /repositories/{repository_id}/environments/{environment_name}/variables","GET /search/code","GET /search/commits","GET /search/issues","GET /search/labels","GET /search/repositories","GET /search/topics","GET /search/users","GET /teams/{team_id}/discussions","GET /teams/{team_id}/discussions/{discussion_number}/comments","GET /teams/{team_id}/discussions/{discussion_number}/comments/{comment_number}/reactions","GET /teams/{team_id}/discussions/{discussion_number}/reactions","GET /teams/{team_id}/invitations","GET /teams/{team_id}/members","GET /teams/{team_id}/projects","GET /teams/{team_id}/repos","GET /teams/{team_id}/teams","GET /user/blocks","GET /user/codespaces","GET /user/codespaces/secrets","GET /user/emails","GET /user/followers","GET /user/following","GET /user/gpg_keys","GET /user/installations","GET /user/installations/{installation_id}/repositories","GET /user/issues","GET /user/keys","GET /user/marketplace_purchases","GET /user/marketplace_purchases/stubbed","GET /user/memberships/orgs","GET /user/migrations","GET /user/migrations/{migration_id}/repositories","GET /user/orgs","GET /user/packages","GET /user/packages/{package_type}/{package_name}/versions","GET /user/public_emails","GET /user/repos","GET /user/repository_invitations","GET /user/social_accounts","GET /user/ssh_signing_keys","GET /user/starred","GET /user/subscriptions","GET /user/teams","GET /users","GET /users/{username}/events","GET /users/{username}/events/orgs/{org}","GET /users/{username}/events/public","GET /users/{username}/followers","GET /users/{username}/following","GET /users/{username}/gists","GET /users/{username}/gpg_keys","GET /users/{username}/keys","GET /users/{username}/orgs","GET /users/{username}/packages","GET /users/{username}/projects","GET /users/{username}/received_events","GET /users/{username}/received_events/public","GET /users/{username}/repos","GET /users/{username}/social_accounts","GET /users/{username}/ssh_signing_keys","GET /users/{username}/starred","GET /users/{username}/subscriptions"];function isPaginatingEndpoint(i){if(typeof i==="string"){return re.includes(i)}else{return false}}function paginateRest(i){return{paginate:Object.assign(paginate.bind(null,i),{iterator:iterator.bind(null,i)})}}paginateRest.VERSION=ee;0&&0},84935:i=>{var d=Object.defineProperty;var p=Object.getOwnPropertyDescriptor;var v=Object.getOwnPropertyNames;var V=Object.prototype.hasOwnProperty;var __export=(i,p)=>{for(var v in p)d(i,v,{get:p[v],enumerable:true})};var __copyProps=(i,K,ee,te)=>{if(K&&typeof K==="object"||typeof K==="function"){for(let re of v(K))if(!V.call(i,re)&&re!==ee)d(i,re,{get:()=>K[re],enumerable:!(te=p(K,re))||te.enumerable})}return i};var __toCommonJS=i=>__copyProps(d({},"__esModule",{value:true}),i);var K={};__export(K,{legacyRestEndpointMethods:()=>legacyRestEndpointMethods,restEndpointMethods:()=>restEndpointMethods});i.exports=__toCommonJS(K);var ee="10.4.0";var te={actions:{addCustomLabelsToSelfHostedRunnerForOrg:["POST /orgs/{org}/actions/runners/{runner_id}/labels"],addCustomLabelsToSelfHostedRunnerForRepo:["POST /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],approveWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/approve"],cancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/cancel"],createEnvironmentVariable:["POST /repositories/{repository_id}/environments/{environment_name}/variables"],createOrUpdateEnvironmentSecret:["PUT /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/actions/secrets/{secret_name}"],createOrgVariable:["POST /orgs/{org}/actions/variables"],createRegistrationTokenForOrg:["POST /orgs/{org}/actions/runners/registration-token"],createRegistrationTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/registration-token"],createRemoveTokenForOrg:["POST /orgs/{org}/actions/runners/remove-token"],createRemoveTokenForRepo:["POST /repos/{owner}/{repo}/actions/runners/remove-token"],createRepoVariable:["POST /repos/{owner}/{repo}/actions/variables"],createWorkflowDispatch:["POST /repos/{owner}/{repo}/actions/workflows/{workflow_id}/dispatches"],deleteActionsCacheById:["DELETE /repos/{owner}/{repo}/actions/caches/{cache_id}"],deleteActionsCacheByKey:["DELETE /repos/{owner}/{repo}/actions/caches{?key,ref}"],deleteArtifact:["DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],deleteEnvironmentSecret:["DELETE /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],deleteEnvironmentVariable:["DELETE /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],deleteOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}"],deleteOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/actions/secrets/{secret_name}"],deleteRepoVariable:["DELETE /repos/{owner}/{repo}/actions/variables/{name}"],deleteSelfHostedRunnerFromOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}"],deleteSelfHostedRunnerFromRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}"],deleteWorkflowRun:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}"],deleteWorkflowRunLogs:["DELETE /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],disableSelectedRepositoryGithubActionsOrganization:["DELETE /orgs/{org}/actions/permissions/repositories/{repository_id}"],disableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/disable"],downloadArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}/{archive_format}"],downloadJobLogsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}/logs"],downloadWorkflowRunAttemptLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/logs"],downloadWorkflowRunLogs:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/logs"],enableSelectedRepositoryGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories/{repository_id}"],enableWorkflow:["PUT /repos/{owner}/{repo}/actions/workflows/{workflow_id}/enable"],forceCancelWorkflowRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/force-cancel"],generateRunnerJitconfigForOrg:["POST /orgs/{org}/actions/runners/generate-jitconfig"],generateRunnerJitconfigForRepo:["POST /repos/{owner}/{repo}/actions/runners/generate-jitconfig"],getActionsCacheList:["GET /repos/{owner}/{repo}/actions/caches"],getActionsCacheUsage:["GET /repos/{owner}/{repo}/actions/cache/usage"],getActionsCacheUsageByRepoForOrg:["GET /orgs/{org}/actions/cache/usage-by-repository"],getActionsCacheUsageForOrg:["GET /orgs/{org}/actions/cache/usage"],getAllowedActionsOrganization:["GET /orgs/{org}/actions/permissions/selected-actions"],getAllowedActionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/selected-actions"],getArtifact:["GET /repos/{owner}/{repo}/actions/artifacts/{artifact_id}"],getCustomOidcSubClaimForRepo:["GET /repos/{owner}/{repo}/actions/oidc/customization/sub"],getEnvironmentPublicKey:["GET /repositories/{repository_id}/environments/{environment_name}/secrets/public-key"],getEnvironmentSecret:["GET /repositories/{repository_id}/environments/{environment_name}/secrets/{secret_name}"],getEnvironmentVariable:["GET /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],getGithubActionsDefaultWorkflowPermissionsOrganization:["GET /orgs/{org}/actions/permissions/workflow"],getGithubActionsDefaultWorkflowPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions/workflow"],getGithubActionsPermissionsOrganization:["GET /orgs/{org}/actions/permissions"],getGithubActionsPermissionsRepository:["GET /repos/{owner}/{repo}/actions/permissions"],getJobForWorkflowRun:["GET /repos/{owner}/{repo}/actions/jobs/{job_id}"],getOrgPublicKey:["GET /orgs/{org}/actions/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}"],getOrgVariable:["GET /orgs/{org}/actions/variables/{name}"],getPendingDeploymentsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],getRepoPermissions:["GET /repos/{owner}/{repo}/actions/permissions",{},{renamed:["actions","getGithubActionsPermissionsRepository"]}],getRepoPublicKey:["GET /repos/{owner}/{repo}/actions/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/actions/secrets/{secret_name}"],getRepoVariable:["GET /repos/{owner}/{repo}/actions/variables/{name}"],getReviewsForRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/approvals"],getSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}"],getSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}"],getWorkflow:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}"],getWorkflowAccessToRepository:["GET /repos/{owner}/{repo}/actions/permissions/access"],getWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}"],getWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}"],getWorkflowRunUsage:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/timing"],getWorkflowUsage:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/timing"],listArtifactsForRepo:["GET /repos/{owner}/{repo}/actions/artifacts"],listEnvironmentSecrets:["GET /repositories/{repository_id}/environments/{environment_name}/secrets"],listEnvironmentVariables:["GET /repositories/{repository_id}/environments/{environment_name}/variables"],listJobsForWorkflowRun:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/jobs"],listJobsForWorkflowRunAttempt:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/attempts/{attempt_number}/jobs"],listLabelsForSelfHostedRunnerForOrg:["GET /orgs/{org}/actions/runners/{runner_id}/labels"],listLabelsForSelfHostedRunnerForRepo:["GET /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],listOrgSecrets:["GET /orgs/{org}/actions/secrets"],listOrgVariables:["GET /orgs/{org}/actions/variables"],listRepoOrganizationSecrets:["GET /repos/{owner}/{repo}/actions/organization-secrets"],listRepoOrganizationVariables:["GET /repos/{owner}/{repo}/actions/organization-variables"],listRepoSecrets:["GET /repos/{owner}/{repo}/actions/secrets"],listRepoVariables:["GET /repos/{owner}/{repo}/actions/variables"],listRepoWorkflows:["GET /repos/{owner}/{repo}/actions/workflows"],listRunnerApplicationsForOrg:["GET /orgs/{org}/actions/runners/downloads"],listRunnerApplicationsForRepo:["GET /repos/{owner}/{repo}/actions/runners/downloads"],listSelectedReposForOrgSecret:["GET /orgs/{org}/actions/secrets/{secret_name}/repositories"],listSelectedReposForOrgVariable:["GET /orgs/{org}/actions/variables/{name}/repositories"],listSelectedRepositoriesEnabledGithubActionsOrganization:["GET /orgs/{org}/actions/permissions/repositories"],listSelfHostedRunnersForOrg:["GET /orgs/{org}/actions/runners"],listSelfHostedRunnersForRepo:["GET /repos/{owner}/{repo}/actions/runners"],listWorkflowRunArtifacts:["GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts"],listWorkflowRuns:["GET /repos/{owner}/{repo}/actions/workflows/{workflow_id}/runs"],listWorkflowRunsForRepo:["GET /repos/{owner}/{repo}/actions/runs"],reRunJobForWorkflowRun:["POST /repos/{owner}/{repo}/actions/jobs/{job_id}/rerun"],reRunWorkflow:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun"],reRunWorkflowFailedJobs:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/rerun-failed-jobs"],removeAllCustomLabelsFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels"],removeAllCustomLabelsFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],removeCustomLabelFromSelfHostedRunnerForOrg:["DELETE /orgs/{org}/actions/runners/{runner_id}/labels/{name}"],removeCustomLabelFromSelfHostedRunnerForRepo:["DELETE /repos/{owner}/{repo}/actions/runners/{runner_id}/labels/{name}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/actions/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgVariable:["DELETE /orgs/{org}/actions/variables/{name}/repositories/{repository_id}"],reviewCustomGatesForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/deployment_protection_rule"],reviewPendingDeploymentsForRun:["POST /repos/{owner}/{repo}/actions/runs/{run_id}/pending_deployments"],setAllowedActionsOrganization:["PUT /orgs/{org}/actions/permissions/selected-actions"],setAllowedActionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/selected-actions"],setCustomLabelsForSelfHostedRunnerForOrg:["PUT /orgs/{org}/actions/runners/{runner_id}/labels"],setCustomLabelsForSelfHostedRunnerForRepo:["PUT /repos/{owner}/{repo}/actions/runners/{runner_id}/labels"],setCustomOidcSubClaimForRepo:["PUT /repos/{owner}/{repo}/actions/oidc/customization/sub"],setGithubActionsDefaultWorkflowPermissionsOrganization:["PUT /orgs/{org}/actions/permissions/workflow"],setGithubActionsDefaultWorkflowPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions/workflow"],setGithubActionsPermissionsOrganization:["PUT /orgs/{org}/actions/permissions"],setGithubActionsPermissionsRepository:["PUT /repos/{owner}/{repo}/actions/permissions"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/actions/secrets/{secret_name}/repositories"],setSelectedReposForOrgVariable:["PUT /orgs/{org}/actions/variables/{name}/repositories"],setSelectedRepositoriesEnabledGithubActionsOrganization:["PUT /orgs/{org}/actions/permissions/repositories"],setWorkflowAccessToRepository:["PUT /repos/{owner}/{repo}/actions/permissions/access"],updateEnvironmentVariable:["PATCH /repositories/{repository_id}/environments/{environment_name}/variables/{name}"],updateOrgVariable:["PATCH /orgs/{org}/actions/variables/{name}"],updateRepoVariable:["PATCH /repos/{owner}/{repo}/actions/variables/{name}"]},activity:{checkRepoIsStarredByAuthenticatedUser:["GET /user/starred/{owner}/{repo}"],deleteRepoSubscription:["DELETE /repos/{owner}/{repo}/subscription"],deleteThreadSubscription:["DELETE /notifications/threads/{thread_id}/subscription"],getFeeds:["GET /feeds"],getRepoSubscription:["GET /repos/{owner}/{repo}/subscription"],getThread:["GET /notifications/threads/{thread_id}"],getThreadSubscriptionForAuthenticatedUser:["GET /notifications/threads/{thread_id}/subscription"],listEventsForAuthenticatedUser:["GET /users/{username}/events"],listNotificationsForAuthenticatedUser:["GET /notifications"],listOrgEventsForAuthenticatedUser:["GET /users/{username}/events/orgs/{org}"],listPublicEvents:["GET /events"],listPublicEventsForRepoNetwork:["GET /networks/{owner}/{repo}/events"],listPublicEventsForUser:["GET /users/{username}/events/public"],listPublicOrgEvents:["GET /orgs/{org}/events"],listReceivedEventsForUser:["GET /users/{username}/received_events"],listReceivedPublicEventsForUser:["GET /users/{username}/received_events/public"],listRepoEvents:["GET /repos/{owner}/{repo}/events"],listRepoNotificationsForAuthenticatedUser:["GET /repos/{owner}/{repo}/notifications"],listReposStarredByAuthenticatedUser:["GET /user/starred"],listReposStarredByUser:["GET /users/{username}/starred"],listReposWatchedByUser:["GET /users/{username}/subscriptions"],listStargazersForRepo:["GET /repos/{owner}/{repo}/stargazers"],listWatchedReposForAuthenticatedUser:["GET /user/subscriptions"],listWatchersForRepo:["GET /repos/{owner}/{repo}/subscribers"],markNotificationsAsRead:["PUT /notifications"],markRepoNotificationsAsRead:["PUT /repos/{owner}/{repo}/notifications"],markThreadAsDone:["DELETE /notifications/threads/{thread_id}"],markThreadAsRead:["PATCH /notifications/threads/{thread_id}"],setRepoSubscription:["PUT /repos/{owner}/{repo}/subscription"],setThreadSubscription:["PUT /notifications/threads/{thread_id}/subscription"],starRepoForAuthenticatedUser:["PUT /user/starred/{owner}/{repo}"],unstarRepoForAuthenticatedUser:["DELETE /user/starred/{owner}/{repo}"]},apps:{addRepoToInstallation:["PUT /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","addRepoToInstallationForAuthenticatedUser"]}],addRepoToInstallationForAuthenticatedUser:["PUT /user/installations/{installation_id}/repositories/{repository_id}"],checkToken:["POST /applications/{client_id}/token"],createFromManifest:["POST /app-manifests/{code}/conversions"],createInstallationAccessToken:["POST /app/installations/{installation_id}/access_tokens"],deleteAuthorization:["DELETE /applications/{client_id}/grant"],deleteInstallation:["DELETE /app/installations/{installation_id}"],deleteToken:["DELETE /applications/{client_id}/token"],getAuthenticated:["GET /app"],getBySlug:["GET /apps/{app_slug}"],getInstallation:["GET /app/installations/{installation_id}"],getOrgInstallation:["GET /orgs/{org}/installation"],getRepoInstallation:["GET /repos/{owner}/{repo}/installation"],getSubscriptionPlanForAccount:["GET /marketplace_listing/accounts/{account_id}"],getSubscriptionPlanForAccountStubbed:["GET /marketplace_listing/stubbed/accounts/{account_id}"],getUserInstallation:["GET /users/{username}/installation"],getWebhookConfigForApp:["GET /app/hook/config"],getWebhookDelivery:["GET /app/hook/deliveries/{delivery_id}"],listAccountsForPlan:["GET /marketplace_listing/plans/{plan_id}/accounts"],listAccountsForPlanStubbed:["GET /marketplace_listing/stubbed/plans/{plan_id}/accounts"],listInstallationReposForAuthenticatedUser:["GET /user/installations/{installation_id}/repositories"],listInstallationRequestsForAuthenticatedApp:["GET /app/installation-requests"],listInstallations:["GET /app/installations"],listInstallationsForAuthenticatedUser:["GET /user/installations"],listPlans:["GET /marketplace_listing/plans"],listPlansStubbed:["GET /marketplace_listing/stubbed/plans"],listReposAccessibleToInstallation:["GET /installation/repositories"],listSubscriptionsForAuthenticatedUser:["GET /user/marketplace_purchases"],listSubscriptionsForAuthenticatedUserStubbed:["GET /user/marketplace_purchases/stubbed"],listWebhookDeliveries:["GET /app/hook/deliveries"],redeliverWebhookDelivery:["POST /app/hook/deliveries/{delivery_id}/attempts"],removeRepoFromInstallation:["DELETE /user/installations/{installation_id}/repositories/{repository_id}",{},{renamed:["apps","removeRepoFromInstallationForAuthenticatedUser"]}],removeRepoFromInstallationForAuthenticatedUser:["DELETE /user/installations/{installation_id}/repositories/{repository_id}"],resetToken:["PATCH /applications/{client_id}/token"],revokeInstallationAccessToken:["DELETE /installation/token"],scopeToken:["POST /applications/{client_id}/token/scoped"],suspendInstallation:["PUT /app/installations/{installation_id}/suspended"],unsuspendInstallation:["DELETE /app/installations/{installation_id}/suspended"],updateWebhookConfigForApp:["PATCH /app/hook/config"]},billing:{getGithubActionsBillingOrg:["GET /orgs/{org}/settings/billing/actions"],getGithubActionsBillingUser:["GET /users/{username}/settings/billing/actions"],getGithubPackagesBillingOrg:["GET /orgs/{org}/settings/billing/packages"],getGithubPackagesBillingUser:["GET /users/{username}/settings/billing/packages"],getSharedStorageBillingOrg:["GET /orgs/{org}/settings/billing/shared-storage"],getSharedStorageBillingUser:["GET /users/{username}/settings/billing/shared-storage"]},checks:{create:["POST /repos/{owner}/{repo}/check-runs"],createSuite:["POST /repos/{owner}/{repo}/check-suites"],get:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}"],getSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}"],listAnnotations:["GET /repos/{owner}/{repo}/check-runs/{check_run_id}/annotations"],listForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-runs"],listForSuite:["GET /repos/{owner}/{repo}/check-suites/{check_suite_id}/check-runs"],listSuitesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/check-suites"],rerequestRun:["POST /repos/{owner}/{repo}/check-runs/{check_run_id}/rerequest"],rerequestSuite:["POST /repos/{owner}/{repo}/check-suites/{check_suite_id}/rerequest"],setSuitesPreferences:["PATCH /repos/{owner}/{repo}/check-suites/preferences"],update:["PATCH /repos/{owner}/{repo}/check-runs/{check_run_id}"]},codeScanning:{deleteAnalysis:["DELETE /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}{?confirm_delete}"],getAlert:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}",{},{renamedParameters:{alert_id:"alert_number"}}],getAnalysis:["GET /repos/{owner}/{repo}/code-scanning/analyses/{analysis_id}"],getCodeqlDatabase:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases/{language}"],getDefaultSetup:["GET /repos/{owner}/{repo}/code-scanning/default-setup"],getSarif:["GET /repos/{owner}/{repo}/code-scanning/sarifs/{sarif_id}"],listAlertInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances"],listAlertsForOrg:["GET /orgs/{org}/code-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/code-scanning/alerts"],listAlertsInstances:["GET /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}/instances",{},{renamed:["codeScanning","listAlertInstances"]}],listCodeqlDatabases:["GET /repos/{owner}/{repo}/code-scanning/codeql/databases"],listRecentAnalyses:["GET /repos/{owner}/{repo}/code-scanning/analyses"],updateAlert:["PATCH /repos/{owner}/{repo}/code-scanning/alerts/{alert_number}"],updateDefaultSetup:["PATCH /repos/{owner}/{repo}/code-scanning/default-setup"],uploadSarif:["POST /repos/{owner}/{repo}/code-scanning/sarifs"]},codesOfConduct:{getAllCodesOfConduct:["GET /codes_of_conduct"],getConductCode:["GET /codes_of_conduct/{key}"]},codespaces:{addRepositoryForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],addSelectedRepoToOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],checkPermissionsForDevcontainer:["GET /repos/{owner}/{repo}/codespaces/permissions_check"],codespaceMachinesForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/machines"],createForAuthenticatedUser:["POST /user/codespaces"],createOrUpdateOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],createOrUpdateSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}"],createWithPrForAuthenticatedUser:["POST /repos/{owner}/{repo}/pulls/{pull_number}/codespaces"],createWithRepoForAuthenticatedUser:["POST /repos/{owner}/{repo}/codespaces"],deleteForAuthenticatedUser:["DELETE /user/codespaces/{codespace_name}"],deleteFromOrganization:["DELETE /orgs/{org}/members/{username}/codespaces/{codespace_name}"],deleteOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],deleteSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}"],exportForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/exports"],getCodespacesForUserInOrg:["GET /orgs/{org}/members/{username}/codespaces"],getExportDetailsForAuthenticatedUser:["GET /user/codespaces/{codespace_name}/exports/{export_id}"],getForAuthenticatedUser:["GET /user/codespaces/{codespace_name}"],getOrgPublicKey:["GET /orgs/{org}/codespaces/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}"],getPublicKeyForAuthenticatedUser:["GET /user/codespaces/secrets/public-key"],getRepoPublicKey:["GET /repos/{owner}/{repo}/codespaces/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/codespaces/secrets/{secret_name}"],getSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}"],listDevcontainersInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/devcontainers"],listForAuthenticatedUser:["GET /user/codespaces"],listInOrganization:["GET /orgs/{org}/codespaces",{},{renamedParameters:{org_id:"org"}}],listInRepositoryForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces"],listOrgSecrets:["GET /orgs/{org}/codespaces/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/codespaces/secrets"],listRepositoriesForSecretForAuthenticatedUser:["GET /user/codespaces/secrets/{secret_name}/repositories"],listSecretsForAuthenticatedUser:["GET /user/codespaces/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],preFlightWithRepoForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/new"],publishForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/publish"],removeRepositoryForSecretForAuthenticatedUser:["DELETE /user/codespaces/secrets/{secret_name}/repositories/{repository_id}"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/codespaces/secrets/{secret_name}/repositories/{repository_id}"],repoMachinesForAuthenticatedUser:["GET /repos/{owner}/{repo}/codespaces/machines"],setRepositoriesForSecretForAuthenticatedUser:["PUT /user/codespaces/secrets/{secret_name}/repositories"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/codespaces/secrets/{secret_name}/repositories"],startForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/start"],stopForAuthenticatedUser:["POST /user/codespaces/{codespace_name}/stop"],stopInOrganization:["POST /orgs/{org}/members/{username}/codespaces/{codespace_name}/stop"],updateForAuthenticatedUser:["PATCH /user/codespaces/{codespace_name}"]},copilot:{addCopilotSeatsForTeams:["POST /orgs/{org}/copilot/billing/selected_teams"],addCopilotSeatsForUsers:["POST /orgs/{org}/copilot/billing/selected_users"],cancelCopilotSeatAssignmentForTeams:["DELETE /orgs/{org}/copilot/billing/selected_teams"],cancelCopilotSeatAssignmentForUsers:["DELETE /orgs/{org}/copilot/billing/selected_users"],getCopilotOrganizationDetails:["GET /orgs/{org}/copilot/billing"],getCopilotSeatDetailsForUser:["GET /orgs/{org}/members/{username}/copilot"],listCopilotSeats:["GET /orgs/{org}/copilot/billing/seats"]},dependabot:{addSelectedRepoToOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],createOrUpdateOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}"],createOrUpdateRepoSecret:["PUT /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],deleteOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}"],deleteRepoSecret:["DELETE /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],getAlert:["GET /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"],getOrgPublicKey:["GET /orgs/{org}/dependabot/secrets/public-key"],getOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}"],getRepoPublicKey:["GET /repos/{owner}/{repo}/dependabot/secrets/public-key"],getRepoSecret:["GET /repos/{owner}/{repo}/dependabot/secrets/{secret_name}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/dependabot/alerts"],listAlertsForOrg:["GET /orgs/{org}/dependabot/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/dependabot/alerts"],listOrgSecrets:["GET /orgs/{org}/dependabot/secrets"],listRepoSecrets:["GET /repos/{owner}/{repo}/dependabot/secrets"],listSelectedReposForOrgSecret:["GET /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],removeSelectedRepoFromOrgSecret:["DELETE /orgs/{org}/dependabot/secrets/{secret_name}/repositories/{repository_id}"],setSelectedReposForOrgSecret:["PUT /orgs/{org}/dependabot/secrets/{secret_name}/repositories"],updateAlert:["PATCH /repos/{owner}/{repo}/dependabot/alerts/{alert_number}"]},dependencyGraph:{createRepositorySnapshot:["POST /repos/{owner}/{repo}/dependency-graph/snapshots"],diffRange:["GET /repos/{owner}/{repo}/dependency-graph/compare/{basehead}"],exportSbom:["GET /repos/{owner}/{repo}/dependency-graph/sbom"]},emojis:{get:["GET /emojis"]},gists:{checkIsStarred:["GET /gists/{gist_id}/star"],create:["POST /gists"],createComment:["POST /gists/{gist_id}/comments"],delete:["DELETE /gists/{gist_id}"],deleteComment:["DELETE /gists/{gist_id}/comments/{comment_id}"],fork:["POST /gists/{gist_id}/forks"],get:["GET /gists/{gist_id}"],getComment:["GET /gists/{gist_id}/comments/{comment_id}"],getRevision:["GET /gists/{gist_id}/{sha}"],list:["GET /gists"],listComments:["GET /gists/{gist_id}/comments"],listCommits:["GET /gists/{gist_id}/commits"],listForUser:["GET /users/{username}/gists"],listForks:["GET /gists/{gist_id}/forks"],listPublic:["GET /gists/public"],listStarred:["GET /gists/starred"],star:["PUT /gists/{gist_id}/star"],unstar:["DELETE /gists/{gist_id}/star"],update:["PATCH /gists/{gist_id}"],updateComment:["PATCH /gists/{gist_id}/comments/{comment_id}"]},git:{createBlob:["POST /repos/{owner}/{repo}/git/blobs"],createCommit:["POST /repos/{owner}/{repo}/git/commits"],createRef:["POST /repos/{owner}/{repo}/git/refs"],createTag:["POST /repos/{owner}/{repo}/git/tags"],createTree:["POST /repos/{owner}/{repo}/git/trees"],deleteRef:["DELETE /repos/{owner}/{repo}/git/refs/{ref}"],getBlob:["GET /repos/{owner}/{repo}/git/blobs/{file_sha}"],getCommit:["GET /repos/{owner}/{repo}/git/commits/{commit_sha}"],getRef:["GET /repos/{owner}/{repo}/git/ref/{ref}"],getTag:["GET /repos/{owner}/{repo}/git/tags/{tag_sha}"],getTree:["GET /repos/{owner}/{repo}/git/trees/{tree_sha}"],listMatchingRefs:["GET /repos/{owner}/{repo}/git/matching-refs/{ref}"],updateRef:["PATCH /repos/{owner}/{repo}/git/refs/{ref}"]},gitignore:{getAllTemplates:["GET /gitignore/templates"],getTemplate:["GET /gitignore/templates/{name}"]},interactions:{getRestrictionsForAuthenticatedUser:["GET /user/interaction-limits"],getRestrictionsForOrg:["GET /orgs/{org}/interaction-limits"],getRestrictionsForRepo:["GET /repos/{owner}/{repo}/interaction-limits"],getRestrictionsForYourPublicRepos:["GET /user/interaction-limits",{},{renamed:["interactions","getRestrictionsForAuthenticatedUser"]}],removeRestrictionsForAuthenticatedUser:["DELETE /user/interaction-limits"],removeRestrictionsForOrg:["DELETE /orgs/{org}/interaction-limits"],removeRestrictionsForRepo:["DELETE /repos/{owner}/{repo}/interaction-limits"],removeRestrictionsForYourPublicRepos:["DELETE /user/interaction-limits",{},{renamed:["interactions","removeRestrictionsForAuthenticatedUser"]}],setRestrictionsForAuthenticatedUser:["PUT /user/interaction-limits"],setRestrictionsForOrg:["PUT /orgs/{org}/interaction-limits"],setRestrictionsForRepo:["PUT /repos/{owner}/{repo}/interaction-limits"],setRestrictionsForYourPublicRepos:["PUT /user/interaction-limits",{},{renamed:["interactions","setRestrictionsForAuthenticatedUser"]}]},issues:{addAssignees:["POST /repos/{owner}/{repo}/issues/{issue_number}/assignees"],addLabels:["POST /repos/{owner}/{repo}/issues/{issue_number}/labels"],checkUserCanBeAssigned:["GET /repos/{owner}/{repo}/assignees/{assignee}"],checkUserCanBeAssignedToIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/assignees/{assignee}"],create:["POST /repos/{owner}/{repo}/issues"],createComment:["POST /repos/{owner}/{repo}/issues/{issue_number}/comments"],createLabel:["POST /repos/{owner}/{repo}/labels"],createMilestone:["POST /repos/{owner}/{repo}/milestones"],deleteComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}"],deleteLabel:["DELETE /repos/{owner}/{repo}/labels/{name}"],deleteMilestone:["DELETE /repos/{owner}/{repo}/milestones/{milestone_number}"],get:["GET /repos/{owner}/{repo}/issues/{issue_number}"],getComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}"],getEvent:["GET /repos/{owner}/{repo}/issues/events/{event_id}"],getLabel:["GET /repos/{owner}/{repo}/labels/{name}"],getMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}"],list:["GET /issues"],listAssignees:["GET /repos/{owner}/{repo}/assignees"],listComments:["GET /repos/{owner}/{repo}/issues/{issue_number}/comments"],listCommentsForRepo:["GET /repos/{owner}/{repo}/issues/comments"],listEvents:["GET /repos/{owner}/{repo}/issues/{issue_number}/events"],listEventsForRepo:["GET /repos/{owner}/{repo}/issues/events"],listEventsForTimeline:["GET /repos/{owner}/{repo}/issues/{issue_number}/timeline"],listForAuthenticatedUser:["GET /user/issues"],listForOrg:["GET /orgs/{org}/issues"],listForRepo:["GET /repos/{owner}/{repo}/issues"],listLabelsForMilestone:["GET /repos/{owner}/{repo}/milestones/{milestone_number}/labels"],listLabelsForRepo:["GET /repos/{owner}/{repo}/labels"],listLabelsOnIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/labels"],listMilestones:["GET /repos/{owner}/{repo}/milestones"],lock:["PUT /repos/{owner}/{repo}/issues/{issue_number}/lock"],removeAllLabels:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels"],removeAssignees:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/assignees"],removeLabel:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/labels/{name}"],setLabels:["PUT /repos/{owner}/{repo}/issues/{issue_number}/labels"],unlock:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/lock"],update:["PATCH /repos/{owner}/{repo}/issues/{issue_number}"],updateComment:["PATCH /repos/{owner}/{repo}/issues/comments/{comment_id}"],updateLabel:["PATCH /repos/{owner}/{repo}/labels/{name}"],updateMilestone:["PATCH /repos/{owner}/{repo}/milestones/{milestone_number}"]},licenses:{get:["GET /licenses/{license}"],getAllCommonlyUsed:["GET /licenses"],getForRepo:["GET /repos/{owner}/{repo}/license"]},markdown:{render:["POST /markdown"],renderRaw:["POST /markdown/raw",{headers:{"content-type":"text/plain; charset=utf-8"}}]},meta:{get:["GET /meta"],getAllVersions:["GET /versions"],getOctocat:["GET /octocat"],getZen:["GET /zen"],root:["GET /"]},migrations:{cancelImport:["DELETE /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.cancelImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#cancel-an-import"}],deleteArchiveForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/archive"],deleteArchiveForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/archive"],downloadArchiveForOrg:["GET /orgs/{org}/migrations/{migration_id}/archive"],getArchiveForAuthenticatedUser:["GET /user/migrations/{migration_id}/archive"],getCommitAuthors:["GET /repos/{owner}/{repo}/import/authors",{},{deprecated:"octokit.rest.migrations.getCommitAuthors() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-commit-authors"}],getImportStatus:["GET /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.getImportStatus() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-an-import-status"}],getLargeFiles:["GET /repos/{owner}/{repo}/import/large_files",{},{deprecated:"octokit.rest.migrations.getLargeFiles() is deprecated, see https://docs.github.com/rest/migrations/source-imports#get-large-files"}],getStatusForAuthenticatedUser:["GET /user/migrations/{migration_id}"],getStatusForOrg:["GET /orgs/{org}/migrations/{migration_id}"],listForAuthenticatedUser:["GET /user/migrations"],listForOrg:["GET /orgs/{org}/migrations"],listReposForAuthenticatedUser:["GET /user/migrations/{migration_id}/repositories"],listReposForOrg:["GET /orgs/{org}/migrations/{migration_id}/repositories"],listReposForUser:["GET /user/migrations/{migration_id}/repositories",{},{renamed:["migrations","listReposForAuthenticatedUser"]}],mapCommitAuthor:["PATCH /repos/{owner}/{repo}/import/authors/{author_id}",{},{deprecated:"octokit.rest.migrations.mapCommitAuthor() is deprecated, see https://docs.github.com/rest/migrations/source-imports#map-a-commit-author"}],setLfsPreference:["PATCH /repos/{owner}/{repo}/import/lfs",{},{deprecated:"octokit.rest.migrations.setLfsPreference() is deprecated, see https://docs.github.com/rest/migrations/source-imports#update-git-lfs-preference"}],startForAuthenticatedUser:["POST /user/migrations"],startForOrg:["POST /orgs/{org}/migrations"],startImport:["PUT /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.startImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#start-an-import"}],unlockRepoForAuthenticatedUser:["DELETE /user/migrations/{migration_id}/repos/{repo_name}/lock"],unlockRepoForOrg:["DELETE /orgs/{org}/migrations/{migration_id}/repos/{repo_name}/lock"],updateImport:["PATCH /repos/{owner}/{repo}/import",{},{deprecated:"octokit.rest.migrations.updateImport() is deprecated, see https://docs.github.com/rest/migrations/source-imports#update-an-import"}]},oidc:{getOidcCustomSubTemplateForOrg:["GET /orgs/{org}/actions/oidc/customization/sub"],updateOidcCustomSubTemplateForOrg:["PUT /orgs/{org}/actions/oidc/customization/sub"]},orgs:{addSecurityManagerTeam:["PUT /orgs/{org}/security-managers/teams/{team_slug}"],assignTeamToOrgRole:["PUT /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],assignUserToOrgRole:["PUT /orgs/{org}/organization-roles/users/{username}/{role_id}"],blockUser:["PUT /orgs/{org}/blocks/{username}"],cancelInvitation:["DELETE /orgs/{org}/invitations/{invitation_id}"],checkBlockedUser:["GET /orgs/{org}/blocks/{username}"],checkMembershipForUser:["GET /orgs/{org}/members/{username}"],checkPublicMembershipForUser:["GET /orgs/{org}/public_members/{username}"],convertMemberToOutsideCollaborator:["PUT /orgs/{org}/outside_collaborators/{username}"],createCustomOrganizationRole:["POST /orgs/{org}/organization-roles"],createInvitation:["POST /orgs/{org}/invitations"],createOrUpdateCustomProperties:["PATCH /orgs/{org}/properties/schema"],createOrUpdateCustomPropertiesValuesForRepos:["PATCH /orgs/{org}/properties/values"],createOrUpdateCustomProperty:["PUT /orgs/{org}/properties/schema/{custom_property_name}"],createWebhook:["POST /orgs/{org}/hooks"],delete:["DELETE /orgs/{org}"],deleteCustomOrganizationRole:["DELETE /orgs/{org}/organization-roles/{role_id}"],deleteWebhook:["DELETE /orgs/{org}/hooks/{hook_id}"],enableOrDisableSecurityProductOnAllOrgRepos:["POST /orgs/{org}/{security_product}/{enablement}"],get:["GET /orgs/{org}"],getAllCustomProperties:["GET /orgs/{org}/properties/schema"],getCustomProperty:["GET /orgs/{org}/properties/schema/{custom_property_name}"],getMembershipForAuthenticatedUser:["GET /user/memberships/orgs/{org}"],getMembershipForUser:["GET /orgs/{org}/memberships/{username}"],getOrgRole:["GET /orgs/{org}/organization-roles/{role_id}"],getWebhook:["GET /orgs/{org}/hooks/{hook_id}"],getWebhookConfigForOrg:["GET /orgs/{org}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}"],list:["GET /organizations"],listAppInstallations:["GET /orgs/{org}/installations"],listBlockedUsers:["GET /orgs/{org}/blocks"],listCustomPropertiesValuesForRepos:["GET /orgs/{org}/properties/values"],listFailedInvitations:["GET /orgs/{org}/failed_invitations"],listForAuthenticatedUser:["GET /user/orgs"],listForUser:["GET /users/{username}/orgs"],listInvitationTeams:["GET /orgs/{org}/invitations/{invitation_id}/teams"],listMembers:["GET /orgs/{org}/members"],listMembershipsForAuthenticatedUser:["GET /user/memberships/orgs"],listOrgRoleTeams:["GET /orgs/{org}/organization-roles/{role_id}/teams"],listOrgRoleUsers:["GET /orgs/{org}/organization-roles/{role_id}/users"],listOrgRoles:["GET /orgs/{org}/organization-roles"],listOrganizationFineGrainedPermissions:["GET /orgs/{org}/organization-fine-grained-permissions"],listOutsideCollaborators:["GET /orgs/{org}/outside_collaborators"],listPatGrantRepositories:["GET /orgs/{org}/personal-access-tokens/{pat_id}/repositories"],listPatGrantRequestRepositories:["GET /orgs/{org}/personal-access-token-requests/{pat_request_id}/repositories"],listPatGrantRequests:["GET /orgs/{org}/personal-access-token-requests"],listPatGrants:["GET /orgs/{org}/personal-access-tokens"],listPendingInvitations:["GET /orgs/{org}/invitations"],listPublicMembers:["GET /orgs/{org}/public_members"],listSecurityManagerTeams:["GET /orgs/{org}/security-managers"],listWebhookDeliveries:["GET /orgs/{org}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /orgs/{org}/hooks"],patchCustomOrganizationRole:["PATCH /orgs/{org}/organization-roles/{role_id}"],pingWebhook:["POST /orgs/{org}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /orgs/{org}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeCustomProperty:["DELETE /orgs/{org}/properties/schema/{custom_property_name}"],removeMember:["DELETE /orgs/{org}/members/{username}"],removeMembershipForUser:["DELETE /orgs/{org}/memberships/{username}"],removeOutsideCollaborator:["DELETE /orgs/{org}/outside_collaborators/{username}"],removePublicMembershipForAuthenticatedUser:["DELETE /orgs/{org}/public_members/{username}"],removeSecurityManagerTeam:["DELETE /orgs/{org}/security-managers/teams/{team_slug}"],reviewPatGrantRequest:["POST /orgs/{org}/personal-access-token-requests/{pat_request_id}"],reviewPatGrantRequestsInBulk:["POST /orgs/{org}/personal-access-token-requests"],revokeAllOrgRolesTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}"],revokeAllOrgRolesUser:["DELETE /orgs/{org}/organization-roles/users/{username}"],revokeOrgRoleTeam:["DELETE /orgs/{org}/organization-roles/teams/{team_slug}/{role_id}"],revokeOrgRoleUser:["DELETE /orgs/{org}/organization-roles/users/{username}/{role_id}"],setMembershipForUser:["PUT /orgs/{org}/memberships/{username}"],setPublicMembershipForAuthenticatedUser:["PUT /orgs/{org}/public_members/{username}"],unblockUser:["DELETE /orgs/{org}/blocks/{username}"],update:["PATCH /orgs/{org}"],updateMembershipForAuthenticatedUser:["PATCH /user/memberships/orgs/{org}"],updatePatAccess:["POST /orgs/{org}/personal-access-tokens/{pat_id}"],updatePatAccesses:["POST /orgs/{org}/personal-access-tokens"],updateWebhook:["PATCH /orgs/{org}/hooks/{hook_id}"],updateWebhookConfigForOrg:["PATCH /orgs/{org}/hooks/{hook_id}/config"]},packages:{deletePackageForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}"],deletePackageForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}"],deletePackageForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}"],deletePackageVersionForAuthenticatedUser:["DELETE /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForOrg:["DELETE /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],deletePackageVersionForUser:["DELETE /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getAllPackageVersionsForAPackageOwnedByAnOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByOrg"]}],getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions",{},{renamed:["packages","getAllPackageVersionsForPackageOwnedByAuthenticatedUser"]}],getAllPackageVersionsForPackageOwnedByAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByOrg:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions"],getAllPackageVersionsForPackageOwnedByUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions"],getPackageForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}"],getPackageForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}"],getPackageForUser:["GET /users/{username}/packages/{package_type}/{package_name}"],getPackageVersionForAuthenticatedUser:["GET /user/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForOrganization:["GET /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}"],getPackageVersionForUser:["GET /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}"],listDockerMigrationConflictingPackagesForAuthenticatedUser:["GET /user/docker/conflicts"],listDockerMigrationConflictingPackagesForOrganization:["GET /orgs/{org}/docker/conflicts"],listDockerMigrationConflictingPackagesForUser:["GET /users/{username}/docker/conflicts"],listPackagesForAuthenticatedUser:["GET /user/packages"],listPackagesForOrganization:["GET /orgs/{org}/packages"],listPackagesForUser:["GET /users/{username}/packages"],restorePackageForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageForUser:["POST /users/{username}/packages/{package_type}/{package_name}/restore{?token}"],restorePackageVersionForAuthenticatedUser:["POST /user/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForOrg:["POST /orgs/{org}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"],restorePackageVersionForUser:["POST /users/{username}/packages/{package_type}/{package_name}/versions/{package_version_id}/restore"]},projects:{addCollaborator:["PUT /projects/{project_id}/collaborators/{username}"],createCard:["POST /projects/columns/{column_id}/cards"],createColumn:["POST /projects/{project_id}/columns"],createForAuthenticatedUser:["POST /user/projects"],createForOrg:["POST /orgs/{org}/projects"],createForRepo:["POST /repos/{owner}/{repo}/projects"],delete:["DELETE /projects/{project_id}"],deleteCard:["DELETE /projects/columns/cards/{card_id}"],deleteColumn:["DELETE /projects/columns/{column_id}"],get:["GET /projects/{project_id}"],getCard:["GET /projects/columns/cards/{card_id}"],getColumn:["GET /projects/columns/{column_id}"],getPermissionForUser:["GET /projects/{project_id}/collaborators/{username}/permission"],listCards:["GET /projects/columns/{column_id}/cards"],listCollaborators:["GET /projects/{project_id}/collaborators"],listColumns:["GET /projects/{project_id}/columns"],listForOrg:["GET /orgs/{org}/projects"],listForRepo:["GET /repos/{owner}/{repo}/projects"],listForUser:["GET /users/{username}/projects"],moveCard:["POST /projects/columns/cards/{card_id}/moves"],moveColumn:["POST /projects/columns/{column_id}/moves"],removeCollaborator:["DELETE /projects/{project_id}/collaborators/{username}"],update:["PATCH /projects/{project_id}"],updateCard:["PATCH /projects/columns/cards/{card_id}"],updateColumn:["PATCH /projects/columns/{column_id}"]},pulls:{checkIfMerged:["GET /repos/{owner}/{repo}/pulls/{pull_number}/merge"],create:["POST /repos/{owner}/{repo}/pulls"],createReplyForReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments/{comment_id}/replies"],createReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],createReviewComment:["POST /repos/{owner}/{repo}/pulls/{pull_number}/comments"],deletePendingReview:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],deleteReviewComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}"],dismissReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/dismissals"],get:["GET /repos/{owner}/{repo}/pulls/{pull_number}"],getReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],getReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}"],list:["GET /repos/{owner}/{repo}/pulls"],listCommentsForReview:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/comments"],listCommits:["GET /repos/{owner}/{repo}/pulls/{pull_number}/commits"],listFiles:["GET /repos/{owner}/{repo}/pulls/{pull_number}/files"],listRequestedReviewers:["GET /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],listReviewComments:["GET /repos/{owner}/{repo}/pulls/{pull_number}/comments"],listReviewCommentsForRepo:["GET /repos/{owner}/{repo}/pulls/comments"],listReviews:["GET /repos/{owner}/{repo}/pulls/{pull_number}/reviews"],merge:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/merge"],removeRequestedReviewers:["DELETE /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],requestReviewers:["POST /repos/{owner}/{repo}/pulls/{pull_number}/requested_reviewers"],submitReview:["POST /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}/events"],update:["PATCH /repos/{owner}/{repo}/pulls/{pull_number}"],updateBranch:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/update-branch"],updateReview:["PUT /repos/{owner}/{repo}/pulls/{pull_number}/reviews/{review_id}"],updateReviewComment:["PATCH /repos/{owner}/{repo}/pulls/comments/{comment_id}"]},rateLimit:{get:["GET /rate_limit"]},reactions:{createForCommitComment:["POST /repos/{owner}/{repo}/comments/{comment_id}/reactions"],createForIssue:["POST /repos/{owner}/{repo}/issues/{issue_number}/reactions"],createForIssueComment:["POST /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],createForPullRequestReviewComment:["POST /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],createForRelease:["POST /repos/{owner}/{repo}/releases/{release_id}/reactions"],createForTeamDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],createForTeamDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"],deleteForCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}/reactions/{reaction_id}"],deleteForIssue:["DELETE /repos/{owner}/{repo}/issues/{issue_number}/reactions/{reaction_id}"],deleteForIssueComment:["DELETE /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions/{reaction_id}"],deleteForPullRequestComment:["DELETE /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions/{reaction_id}"],deleteForRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}/reactions/{reaction_id}"],deleteForTeamDiscussion:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions/{reaction_id}"],deleteForTeamDiscussionComment:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions/{reaction_id}"],listForCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}/reactions"],listForIssue:["GET /repos/{owner}/{repo}/issues/{issue_number}/reactions"],listForIssueComment:["GET /repos/{owner}/{repo}/issues/comments/{comment_id}/reactions"],listForPullRequestReviewComment:["GET /repos/{owner}/{repo}/pulls/comments/{comment_id}/reactions"],listForRelease:["GET /repos/{owner}/{repo}/releases/{release_id}/reactions"],listForTeamDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}/reactions"],listForTeamDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/reactions"]},repos:{acceptInvitation:["PATCH /user/repository_invitations/{invitation_id}",{},{renamed:["repos","acceptInvitationForAuthenticatedUser"]}],acceptInvitationForAuthenticatedUser:["PATCH /user/repository_invitations/{invitation_id}"],addAppAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],addCollaborator:["PUT /repos/{owner}/{repo}/collaborators/{username}"],addStatusCheckContexts:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],addTeamAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],addUserAccessRestrictions:["POST /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],cancelPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}/cancel"],checkAutomatedSecurityFixes:["GET /repos/{owner}/{repo}/automated-security-fixes"],checkCollaborator:["GET /repos/{owner}/{repo}/collaborators/{username}"],checkVulnerabilityAlerts:["GET /repos/{owner}/{repo}/vulnerability-alerts"],codeownersErrors:["GET /repos/{owner}/{repo}/codeowners/errors"],compareCommits:["GET /repos/{owner}/{repo}/compare/{base}...{head}"],compareCommitsWithBasehead:["GET /repos/{owner}/{repo}/compare/{basehead}"],createAutolink:["POST /repos/{owner}/{repo}/autolinks"],createCommitComment:["POST /repos/{owner}/{repo}/commits/{commit_sha}/comments"],createCommitSignatureProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],createCommitStatus:["POST /repos/{owner}/{repo}/statuses/{sha}"],createDeployKey:["POST /repos/{owner}/{repo}/keys"],createDeployment:["POST /repos/{owner}/{repo}/deployments"],createDeploymentBranchPolicy:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],createDeploymentProtectionRule:["POST /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],createDeploymentStatus:["POST /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],createDispatchEvent:["POST /repos/{owner}/{repo}/dispatches"],createForAuthenticatedUser:["POST /user/repos"],createFork:["POST /repos/{owner}/{repo}/forks"],createInOrg:["POST /orgs/{org}/repos"],createOrUpdateCustomPropertiesValues:["PATCH /repos/{owner}/{repo}/properties/values"],createOrUpdateEnvironment:["PUT /repos/{owner}/{repo}/environments/{environment_name}"],createOrUpdateFileContents:["PUT /repos/{owner}/{repo}/contents/{path}"],createOrgRuleset:["POST /orgs/{org}/rulesets"],createPagesDeployment:["POST /repos/{owner}/{repo}/pages/deployments"],createPagesSite:["POST /repos/{owner}/{repo}/pages"],createRelease:["POST /repos/{owner}/{repo}/releases"],createRepoRuleset:["POST /repos/{owner}/{repo}/rulesets"],createTagProtection:["POST /repos/{owner}/{repo}/tags/protection"],createUsingTemplate:["POST /repos/{template_owner}/{template_repo}/generate"],createWebhook:["POST /repos/{owner}/{repo}/hooks"],declineInvitation:["DELETE /user/repository_invitations/{invitation_id}",{},{renamed:["repos","declineInvitationForAuthenticatedUser"]}],declineInvitationForAuthenticatedUser:["DELETE /user/repository_invitations/{invitation_id}"],delete:["DELETE /repos/{owner}/{repo}"],deleteAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],deleteAdminBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],deleteAnEnvironment:["DELETE /repos/{owner}/{repo}/environments/{environment_name}"],deleteAutolink:["DELETE /repos/{owner}/{repo}/autolinks/{autolink_id}"],deleteBranchProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection"],deleteCommitComment:["DELETE /repos/{owner}/{repo}/comments/{comment_id}"],deleteCommitSignatureProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],deleteDeployKey:["DELETE /repos/{owner}/{repo}/keys/{key_id}"],deleteDeployment:["DELETE /repos/{owner}/{repo}/deployments/{deployment_id}"],deleteDeploymentBranchPolicy:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],deleteFile:["DELETE /repos/{owner}/{repo}/contents/{path}"],deleteInvitation:["DELETE /repos/{owner}/{repo}/invitations/{invitation_id}"],deleteOrgRuleset:["DELETE /orgs/{org}/rulesets/{ruleset_id}"],deletePagesSite:["DELETE /repos/{owner}/{repo}/pages"],deletePullRequestReviewProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],deleteRelease:["DELETE /repos/{owner}/{repo}/releases/{release_id}"],deleteReleaseAsset:["DELETE /repos/{owner}/{repo}/releases/assets/{asset_id}"],deleteRepoRuleset:["DELETE /repos/{owner}/{repo}/rulesets/{ruleset_id}"],deleteTagProtection:["DELETE /repos/{owner}/{repo}/tags/protection/{tag_protection_id}"],deleteWebhook:["DELETE /repos/{owner}/{repo}/hooks/{hook_id}"],disableAutomatedSecurityFixes:["DELETE /repos/{owner}/{repo}/automated-security-fixes"],disableDeploymentProtectionRule:["DELETE /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],disablePrivateVulnerabilityReporting:["DELETE /repos/{owner}/{repo}/private-vulnerability-reporting"],disableVulnerabilityAlerts:["DELETE /repos/{owner}/{repo}/vulnerability-alerts"],downloadArchive:["GET /repos/{owner}/{repo}/zipball/{ref}",{},{renamed:["repos","downloadZipballArchive"]}],downloadTarballArchive:["GET /repos/{owner}/{repo}/tarball/{ref}"],downloadZipballArchive:["GET /repos/{owner}/{repo}/zipball/{ref}"],enableAutomatedSecurityFixes:["PUT /repos/{owner}/{repo}/automated-security-fixes"],enablePrivateVulnerabilityReporting:["PUT /repos/{owner}/{repo}/private-vulnerability-reporting"],enableVulnerabilityAlerts:["PUT /repos/{owner}/{repo}/vulnerability-alerts"],generateReleaseNotes:["POST /repos/{owner}/{repo}/releases/generate-notes"],get:["GET /repos/{owner}/{repo}"],getAccessRestrictions:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions"],getAdminBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],getAllDeploymentProtectionRules:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules"],getAllEnvironments:["GET /repos/{owner}/{repo}/environments"],getAllStatusCheckContexts:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts"],getAllTopics:["GET /repos/{owner}/{repo}/topics"],getAppsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps"],getAutolink:["GET /repos/{owner}/{repo}/autolinks/{autolink_id}"],getBranch:["GET /repos/{owner}/{repo}/branches/{branch}"],getBranchProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection"],getBranchRules:["GET /repos/{owner}/{repo}/rules/branches/{branch}"],getClones:["GET /repos/{owner}/{repo}/traffic/clones"],getCodeFrequencyStats:["GET /repos/{owner}/{repo}/stats/code_frequency"],getCollaboratorPermissionLevel:["GET /repos/{owner}/{repo}/collaborators/{username}/permission"],getCombinedStatusForRef:["GET /repos/{owner}/{repo}/commits/{ref}/status"],getCommit:["GET /repos/{owner}/{repo}/commits/{ref}"],getCommitActivityStats:["GET /repos/{owner}/{repo}/stats/commit_activity"],getCommitComment:["GET /repos/{owner}/{repo}/comments/{comment_id}"],getCommitSignatureProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_signatures"],getCommunityProfileMetrics:["GET /repos/{owner}/{repo}/community/profile"],getContent:["GET /repos/{owner}/{repo}/contents/{path}"],getContributorsStats:["GET /repos/{owner}/{repo}/stats/contributors"],getCustomDeploymentProtectionRule:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/{protection_rule_id}"],getCustomPropertiesValues:["GET /repos/{owner}/{repo}/properties/values"],getDeployKey:["GET /repos/{owner}/{repo}/keys/{key_id}"],getDeployment:["GET /repos/{owner}/{repo}/deployments/{deployment_id}"],getDeploymentBranchPolicy:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],getDeploymentStatus:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses/{status_id}"],getEnvironment:["GET /repos/{owner}/{repo}/environments/{environment_name}"],getLatestPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/latest"],getLatestRelease:["GET /repos/{owner}/{repo}/releases/latest"],getOrgRuleSuite:["GET /orgs/{org}/rulesets/rule-suites/{rule_suite_id}"],getOrgRuleSuites:["GET /orgs/{org}/rulesets/rule-suites"],getOrgRuleset:["GET /orgs/{org}/rulesets/{ruleset_id}"],getOrgRulesets:["GET /orgs/{org}/rulesets"],getPages:["GET /repos/{owner}/{repo}/pages"],getPagesBuild:["GET /repos/{owner}/{repo}/pages/builds/{build_id}"],getPagesDeployment:["GET /repos/{owner}/{repo}/pages/deployments/{pages_deployment_id}"],getPagesHealthCheck:["GET /repos/{owner}/{repo}/pages/health"],getParticipationStats:["GET /repos/{owner}/{repo}/stats/participation"],getPullRequestReviewProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],getPunchCardStats:["GET /repos/{owner}/{repo}/stats/punch_card"],getReadme:["GET /repos/{owner}/{repo}/readme"],getReadmeInDirectory:["GET /repos/{owner}/{repo}/readme/{dir}"],getRelease:["GET /repos/{owner}/{repo}/releases/{release_id}"],getReleaseAsset:["GET /repos/{owner}/{repo}/releases/assets/{asset_id}"],getReleaseByTag:["GET /repos/{owner}/{repo}/releases/tags/{tag}"],getRepoRuleSuite:["GET /repos/{owner}/{repo}/rulesets/rule-suites/{rule_suite_id}"],getRepoRuleSuites:["GET /repos/{owner}/{repo}/rulesets/rule-suites"],getRepoRuleset:["GET /repos/{owner}/{repo}/rulesets/{ruleset_id}"],getRepoRulesets:["GET /repos/{owner}/{repo}/rulesets"],getStatusChecksProtection:["GET /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],getTeamsWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams"],getTopPaths:["GET /repos/{owner}/{repo}/traffic/popular/paths"],getTopReferrers:["GET /repos/{owner}/{repo}/traffic/popular/referrers"],getUsersWithAccessToProtectedBranch:["GET /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users"],getViews:["GET /repos/{owner}/{repo}/traffic/views"],getWebhook:["GET /repos/{owner}/{repo}/hooks/{hook_id}"],getWebhookConfigForRepo:["GET /repos/{owner}/{repo}/hooks/{hook_id}/config"],getWebhookDelivery:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}"],listActivities:["GET /repos/{owner}/{repo}/activity"],listAutolinks:["GET /repos/{owner}/{repo}/autolinks"],listBranches:["GET /repos/{owner}/{repo}/branches"],listBranchesForHeadCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/branches-where-head"],listCollaborators:["GET /repos/{owner}/{repo}/collaborators"],listCommentsForCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/comments"],listCommitCommentsForRepo:["GET /repos/{owner}/{repo}/comments"],listCommitStatusesForRef:["GET /repos/{owner}/{repo}/commits/{ref}/statuses"],listCommits:["GET /repos/{owner}/{repo}/commits"],listContributors:["GET /repos/{owner}/{repo}/contributors"],listCustomDeploymentRuleIntegrations:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment_protection_rules/apps"],listDeployKeys:["GET /repos/{owner}/{repo}/keys"],listDeploymentBranchPolicies:["GET /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies"],listDeploymentStatuses:["GET /repos/{owner}/{repo}/deployments/{deployment_id}/statuses"],listDeployments:["GET /repos/{owner}/{repo}/deployments"],listForAuthenticatedUser:["GET /user/repos"],listForOrg:["GET /orgs/{org}/repos"],listForUser:["GET /users/{username}/repos"],listForks:["GET /repos/{owner}/{repo}/forks"],listInvitations:["GET /repos/{owner}/{repo}/invitations"],listInvitationsForAuthenticatedUser:["GET /user/repository_invitations"],listLanguages:["GET /repos/{owner}/{repo}/languages"],listPagesBuilds:["GET /repos/{owner}/{repo}/pages/builds"],listPublic:["GET /repositories"],listPullRequestsAssociatedWithCommit:["GET /repos/{owner}/{repo}/commits/{commit_sha}/pulls"],listReleaseAssets:["GET /repos/{owner}/{repo}/releases/{release_id}/assets"],listReleases:["GET /repos/{owner}/{repo}/releases"],listTagProtection:["GET /repos/{owner}/{repo}/tags/protection"],listTags:["GET /repos/{owner}/{repo}/tags"],listTeams:["GET /repos/{owner}/{repo}/teams"],listWebhookDeliveries:["GET /repos/{owner}/{repo}/hooks/{hook_id}/deliveries"],listWebhooks:["GET /repos/{owner}/{repo}/hooks"],merge:["POST /repos/{owner}/{repo}/merges"],mergeUpstream:["POST /repos/{owner}/{repo}/merge-upstream"],pingWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/pings"],redeliverWebhookDelivery:["POST /repos/{owner}/{repo}/hooks/{hook_id}/deliveries/{delivery_id}/attempts"],removeAppAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],removeCollaborator:["DELETE /repos/{owner}/{repo}/collaborators/{username}"],removeStatusCheckContexts:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],removeStatusCheckProtection:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],removeTeamAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],removeUserAccessRestrictions:["DELETE /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],renameBranch:["POST /repos/{owner}/{repo}/branches/{branch}/rename"],replaceAllTopics:["PUT /repos/{owner}/{repo}/topics"],requestPagesBuild:["POST /repos/{owner}/{repo}/pages/builds"],setAdminBranchProtection:["POST /repos/{owner}/{repo}/branches/{branch}/protection/enforce_admins"],setAppAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/apps",{},{mapToData:"apps"}],setStatusCheckContexts:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks/contexts",{},{mapToData:"contexts"}],setTeamAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/teams",{},{mapToData:"teams"}],setUserAccessRestrictions:["PUT /repos/{owner}/{repo}/branches/{branch}/protection/restrictions/users",{},{mapToData:"users"}],testPushWebhook:["POST /repos/{owner}/{repo}/hooks/{hook_id}/tests"],transfer:["POST /repos/{owner}/{repo}/transfer"],update:["PATCH /repos/{owner}/{repo}"],updateBranchProtection:["PUT /repos/{owner}/{repo}/branches/{branch}/protection"],updateCommitComment:["PATCH /repos/{owner}/{repo}/comments/{comment_id}"],updateDeploymentBranchPolicy:["PUT /repos/{owner}/{repo}/environments/{environment_name}/deployment-branch-policies/{branch_policy_id}"],updateInformationAboutPagesSite:["PUT /repos/{owner}/{repo}/pages"],updateInvitation:["PATCH /repos/{owner}/{repo}/invitations/{invitation_id}"],updateOrgRuleset:["PUT /orgs/{org}/rulesets/{ruleset_id}"],updatePullRequestReviewProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_pull_request_reviews"],updateRelease:["PATCH /repos/{owner}/{repo}/releases/{release_id}"],updateReleaseAsset:["PATCH /repos/{owner}/{repo}/releases/assets/{asset_id}"],updateRepoRuleset:["PUT /repos/{owner}/{repo}/rulesets/{ruleset_id}"],updateStatusCheckPotection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks",{},{renamed:["repos","updateStatusCheckProtection"]}],updateStatusCheckProtection:["PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks"],updateWebhook:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}"],updateWebhookConfigForRepo:["PATCH /repos/{owner}/{repo}/hooks/{hook_id}/config"],uploadReleaseAsset:["POST /repos/{owner}/{repo}/releases/{release_id}/assets{?name,label}",{baseUrl:"https://uploads.github.com"}]},search:{code:["GET /search/code"],commits:["GET /search/commits"],issuesAndPullRequests:["GET /search/issues"],labels:["GET /search/labels"],repos:["GET /search/repositories"],topics:["GET /search/topics"],users:["GET /search/users"]},secretScanning:{getAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"],listAlertsForEnterprise:["GET /enterprises/{enterprise}/secret-scanning/alerts"],listAlertsForOrg:["GET /orgs/{org}/secret-scanning/alerts"],listAlertsForRepo:["GET /repos/{owner}/{repo}/secret-scanning/alerts"],listLocationsForAlert:["GET /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}/locations"],updateAlert:["PATCH /repos/{owner}/{repo}/secret-scanning/alerts/{alert_number}"]},securityAdvisories:{createFork:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/forks"],createPrivateVulnerabilityReport:["POST /repos/{owner}/{repo}/security-advisories/reports"],createRepositoryAdvisory:["POST /repos/{owner}/{repo}/security-advisories"],createRepositoryAdvisoryCveRequest:["POST /repos/{owner}/{repo}/security-advisories/{ghsa_id}/cve"],getGlobalAdvisory:["GET /advisories/{ghsa_id}"],getRepositoryAdvisory:["GET /repos/{owner}/{repo}/security-advisories/{ghsa_id}"],listGlobalAdvisories:["GET /advisories"],listOrgRepositoryAdvisories:["GET /orgs/{org}/security-advisories"],listRepositoryAdvisories:["GET /repos/{owner}/{repo}/security-advisories"],updateRepositoryAdvisory:["PATCH /repos/{owner}/{repo}/security-advisories/{ghsa_id}"]},teams:{addOrUpdateMembershipForUserInOrg:["PUT /orgs/{org}/teams/{team_slug}/memberships/{username}"],addOrUpdateProjectPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/projects/{project_id}"],addOrUpdateRepoPermissionsInOrg:["PUT /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],checkPermissionsForProjectInOrg:["GET /orgs/{org}/teams/{team_slug}/projects/{project_id}"],checkPermissionsForRepoInOrg:["GET /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],create:["POST /orgs/{org}/teams"],createDiscussionCommentInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],createDiscussionInOrg:["POST /orgs/{org}/teams/{team_slug}/discussions"],deleteDiscussionCommentInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],deleteDiscussionInOrg:["DELETE /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],deleteInOrg:["DELETE /orgs/{org}/teams/{team_slug}"],getByName:["GET /orgs/{org}/teams/{team_slug}"],getDiscussionCommentInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],getDiscussionInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],getMembershipForUserInOrg:["GET /orgs/{org}/teams/{team_slug}/memberships/{username}"],list:["GET /orgs/{org}/teams"],listChildInOrg:["GET /orgs/{org}/teams/{team_slug}/teams"],listDiscussionCommentsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments"],listDiscussionsInOrg:["GET /orgs/{org}/teams/{team_slug}/discussions"],listForAuthenticatedUser:["GET /user/teams"],listMembersInOrg:["GET /orgs/{org}/teams/{team_slug}/members"],listPendingInvitationsInOrg:["GET /orgs/{org}/teams/{team_slug}/invitations"],listProjectsInOrg:["GET /orgs/{org}/teams/{team_slug}/projects"],listReposInOrg:["GET /orgs/{org}/teams/{team_slug}/repos"],removeMembershipForUserInOrg:["DELETE /orgs/{org}/teams/{team_slug}/memberships/{username}"],removeProjectInOrg:["DELETE /orgs/{org}/teams/{team_slug}/projects/{project_id}"],removeRepoInOrg:["DELETE /orgs/{org}/teams/{team_slug}/repos/{owner}/{repo}"],updateDiscussionCommentInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}/comments/{comment_number}"],updateDiscussionInOrg:["PATCH /orgs/{org}/teams/{team_slug}/discussions/{discussion_number}"],updateInOrg:["PATCH /orgs/{org}/teams/{team_slug}"]},users:{addEmailForAuthenticated:["POST /user/emails",{},{renamed:["users","addEmailForAuthenticatedUser"]}],addEmailForAuthenticatedUser:["POST /user/emails"],addSocialAccountForAuthenticatedUser:["POST /user/social_accounts"],block:["PUT /user/blocks/{username}"],checkBlocked:["GET /user/blocks/{username}"],checkFollowingForUser:["GET /users/{username}/following/{target_user}"],checkPersonIsFollowedByAuthenticated:["GET /user/following/{username}"],createGpgKeyForAuthenticated:["POST /user/gpg_keys",{},{renamed:["users","createGpgKeyForAuthenticatedUser"]}],createGpgKeyForAuthenticatedUser:["POST /user/gpg_keys"],createPublicSshKeyForAuthenticated:["POST /user/keys",{},{renamed:["users","createPublicSshKeyForAuthenticatedUser"]}],createPublicSshKeyForAuthenticatedUser:["POST /user/keys"],createSshSigningKeyForAuthenticatedUser:["POST /user/ssh_signing_keys"],deleteEmailForAuthenticated:["DELETE /user/emails",{},{renamed:["users","deleteEmailForAuthenticatedUser"]}],deleteEmailForAuthenticatedUser:["DELETE /user/emails"],deleteGpgKeyForAuthenticated:["DELETE /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","deleteGpgKeyForAuthenticatedUser"]}],deleteGpgKeyForAuthenticatedUser:["DELETE /user/gpg_keys/{gpg_key_id}"],deletePublicSshKeyForAuthenticated:["DELETE /user/keys/{key_id}",{},{renamed:["users","deletePublicSshKeyForAuthenticatedUser"]}],deletePublicSshKeyForAuthenticatedUser:["DELETE /user/keys/{key_id}"],deleteSocialAccountForAuthenticatedUser:["DELETE /user/social_accounts"],deleteSshSigningKeyForAuthenticatedUser:["DELETE /user/ssh_signing_keys/{ssh_signing_key_id}"],follow:["PUT /user/following/{username}"],getAuthenticated:["GET /user"],getByUsername:["GET /users/{username}"],getContextForUser:["GET /users/{username}/hovercard"],getGpgKeyForAuthenticated:["GET /user/gpg_keys/{gpg_key_id}",{},{renamed:["users","getGpgKeyForAuthenticatedUser"]}],getGpgKeyForAuthenticatedUser:["GET /user/gpg_keys/{gpg_key_id}"],getPublicSshKeyForAuthenticated:["GET /user/keys/{key_id}",{},{renamed:["users","getPublicSshKeyForAuthenticatedUser"]}],getPublicSshKeyForAuthenticatedUser:["GET /user/keys/{key_id}"],getSshSigningKeyForAuthenticatedUser:["GET /user/ssh_signing_keys/{ssh_signing_key_id}"],list:["GET /users"],listBlockedByAuthenticated:["GET /user/blocks",{},{renamed:["users","listBlockedByAuthenticatedUser"]}],listBlockedByAuthenticatedUser:["GET /user/blocks"],listEmailsForAuthenticated:["GET /user/emails",{},{renamed:["users","listEmailsForAuthenticatedUser"]}],listEmailsForAuthenticatedUser:["GET /user/emails"],listFollowedByAuthenticated:["GET /user/following",{},{renamed:["users","listFollowedByAuthenticatedUser"]}],listFollowedByAuthenticatedUser:["GET /user/following"],listFollowersForAuthenticatedUser:["GET /user/followers"],listFollowersForUser:["GET /users/{username}/followers"],listFollowingForUser:["GET /users/{username}/following"],listGpgKeysForAuthenticated:["GET /user/gpg_keys",{},{renamed:["users","listGpgKeysForAuthenticatedUser"]}],listGpgKeysForAuthenticatedUser:["GET /user/gpg_keys"],listGpgKeysForUser:["GET /users/{username}/gpg_keys"],listPublicEmailsForAuthenticated:["GET /user/public_emails",{},{renamed:["users","listPublicEmailsForAuthenticatedUser"]}],listPublicEmailsForAuthenticatedUser:["GET /user/public_emails"],listPublicKeysForUser:["GET /users/{username}/keys"],listPublicSshKeysForAuthenticated:["GET /user/keys",{},{renamed:["users","listPublicSshKeysForAuthenticatedUser"]}],listPublicSshKeysForAuthenticatedUser:["GET /user/keys"],listSocialAccountsForAuthenticatedUser:["GET /user/social_accounts"],listSocialAccountsForUser:["GET /users/{username}/social_accounts"],listSshSigningKeysForAuthenticatedUser:["GET /user/ssh_signing_keys"],listSshSigningKeysForUser:["GET /users/{username}/ssh_signing_keys"],setPrimaryEmailVisibilityForAuthenticated:["PATCH /user/email/visibility",{},{renamed:["users","setPrimaryEmailVisibilityForAuthenticatedUser"]}],setPrimaryEmailVisibilityForAuthenticatedUser:["PATCH /user/email/visibility"],unblock:["DELETE /user/blocks/{username}"],unfollow:["DELETE /user/following/{username}"],updateAuthenticated:["PATCH /user"]}};var re=te;var ne=new Map;for(const[i,d]of Object.entries(re)){for(const[p,v]of Object.entries(d)){const[d,V,K]=v;const[ee,te]=d.split(/ /);const re=Object.assign({method:ee,url:te},V);if(!ne.has(i)){ne.set(i,new Map)}ne.get(i).set(p,{scope:i,methodName:p,endpointDefaults:re,decorations:K})}}var se={has({scope:i},d){return ne.get(i).has(d)},getOwnPropertyDescriptor(i,d){return{value:this.get(i,d),configurable:true,writable:true,enumerable:true}},defineProperty(i,d,p){Object.defineProperty(i.cache,d,p);return true},deleteProperty(i,d){delete i.cache[d];return true},ownKeys({scope:i}){return[...ne.get(i).keys()]},set(i,d,p){return i.cache[d]=p},get({octokit:i,scope:d,cache:p},v){if(p[v]){return p[v]}const V=ne.get(d).get(v);if(!V){return void 0}const{endpointDefaults:K,decorations:ee}=V;if(ee){p[v]=decorate(i,d,v,K,ee)}else{p[v]=i.request.defaults(K)}return p[v]}};function endpointsToMethods(i){const d={};for(const p of ne.keys()){d[p]=new Proxy({octokit:i,scope:p,cache:{}},se)}return d}function decorate(i,d,p,v,V){const K=i.request.defaults(v);function withDecorations(...v){let ee=K.endpoint.merge(...v);if(V.mapToData){ee=Object.assign({},ee,{data:ee[V.mapToData],[V.mapToData]:void 0});return K(ee)}if(V.renamed){const[v,K]=V.renamed;i.log.warn(`octokit.${d}.${p}() has been renamed to octokit.${v}.${K}()`)}if(V.deprecated){i.log.warn(V.deprecated)}if(V.renamedParameters){const ee=K.endpoint.merge(...v);for(const[v,K]of Object.entries(V.renamedParameters)){if(v in ee){i.log.warn(`"${v}" parameter is deprecated for "octokit.${d}.${p}()". Use "${K}" instead`);if(!(K in ee)){ee[K]=ee[v]}delete ee[v]}}return K(ee)}return K(...v)}return Object.assign(withDecorations,K)}function restEndpointMethods(i){const d=endpointsToMethods(i);return{rest:d}}restEndpointMethods.VERSION=ee;function legacyRestEndpointMethods(i){const d=endpointsToMethods(i);return{...d,rest:d}}legacyRestEndpointMethods.VERSION=ee;0&&0},33450:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});function _interopDefault(i){return i&&typeof i==="object"&&"default"in i?i["default"]:i}var v=_interopDefault(p(63251));async function errorRequest(i,d,p,v){if(!p.request||!p.request.request){throw p}if(p.status>=400&&!d.doNotRetry.includes(p.status)){const V=v.request.retries!=null?v.request.retries:d.retries;const K=Math.pow((v.request.retryCount||0)+1,2);throw i.retry.retryRequest(p,V,K)}throw p}async function wrapRequest(i,d,p){const V=new v;V.on("failed",(function(d,v){const V=~~d.request.request.retries;const K=~~d.request.request.retryAfter;p.request.retryCount=v.retryCount+1;if(V>v.retryCount){return K*i.retryAfterBaseValue}}));return V.schedule(d,p)}const V="3.0.9";function retry(i,d){const p=Object.assign({enabled:true,retryAfterBaseValue:1e3,doNotRetry:[400,401,403,404,422],retries:3},d.retry);if(p.enabled){i.hook.error("request",errorRequest.bind(null,i,p));i.hook.wrap("request",wrapRequest.bind(null,p))}return{retry:{retryRequest:(i,d,p)=>{i.request.request=Object.assign({},i.request.request,{retries:d,retryAfter:p});return i}}}}retry.VERSION=V;d.VERSION=V;d.retry=retry},37889:function(i,d){var p=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.ClientStreamingCall=void 0;class ClientStreamingCall{constructor(i,d,p,v,V,K,ee){this.method=i;this.requestHeaders=d;this.requests=p;this.headers=v;this.response=V;this.status=K;this.trailers=ee}then(i,d){return this.promiseFinished().then((d=>i?Promise.resolve(i(d)):d),(i=>d?Promise.resolve(d(i)):Promise.reject(i)))}promiseFinished(){return p(this,void 0,void 0,(function*(){let[i,d,p,v]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:i,response:d,status:p,trailers:v}}))}}d.ClientStreamingCall=ClientStreamingCall},71409:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.Deferred=d.DeferredState=void 0;var p;(function(i){i[i["PENDING"]=0]="PENDING";i[i["REJECTED"]=1]="REJECTED";i[i["RESOLVED"]=2]="RESOLVED"})(p=d.DeferredState||(d.DeferredState={}));class Deferred{constructor(i=true){this._state=p.PENDING;this._promise=new Promise(((i,d)=>{this._resolve=i;this._reject=d}));if(i){this._promise.catch((i=>{}))}}get state(){return this._state}get promise(){return this._promise}resolve(i){if(this.state!==p.PENDING)throw new Error(`cannot resolve ${p[this.state].toLowerCase()}`);this._resolve(i);this._state=p.RESOLVED}reject(i){if(this.state!==p.PENDING)throw new Error(`cannot reject ${p[this.state].toLowerCase()}`);this._reject(i);this._state=p.REJECTED}resolvePending(i){if(this._state===p.PENDING)this.resolve(i)}rejectPending(i){if(this._state===p.PENDING)this.reject(i)}}d.Deferred=Deferred},36826:function(i,d){var p=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.DuplexStreamingCall=void 0;class DuplexStreamingCall{constructor(i,d,p,v,V,K,ee){this.method=i;this.requestHeaders=d;this.requests=p;this.headers=v;this.responses=V;this.status=K;this.trailers=ee}then(i,d){return this.promiseFinished().then((d=>i?Promise.resolve(i(d)):d),(i=>d?Promise.resolve(d(i)):Promise.reject(i)))}promiseFinished(){return p(this,void 0,void 0,(function*(){let[i,d,p]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,headers:i,status:d,trailers:p}}))}}d.DuplexStreamingCall=DuplexStreamingCall},44420:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});var v=p(56892);Object.defineProperty(d,"ServiceType",{enumerable:true,get:function(){return v.ServiceType}});var V=p(62496);Object.defineProperty(d,"readMethodOptions",{enumerable:true,get:function(){return V.readMethodOptions}});Object.defineProperty(d,"readMethodOption",{enumerable:true,get:function(){return V.readMethodOption}});Object.defineProperty(d,"readServiceOption",{enumerable:true,get:function(){return V.readServiceOption}});var K=p(78636);Object.defineProperty(d,"RpcError",{enumerable:true,get:function(){return K.RpcError}});var ee=p(28576);Object.defineProperty(d,"mergeRpcOptions",{enumerable:true,get:function(){return ee.mergeRpcOptions}});var te=p(72726);Object.defineProperty(d,"RpcOutputStreamController",{enumerable:true,get:function(){return te.RpcOutputStreamController}});var re=p(79122);Object.defineProperty(d,"TestTransport",{enumerable:true,get:function(){return re.TestTransport}});var ne=p(71409);Object.defineProperty(d,"Deferred",{enumerable:true,get:function(){return ne.Deferred}});Object.defineProperty(d,"DeferredState",{enumerable:true,get:function(){return ne.DeferredState}});var se=p(36826);Object.defineProperty(d,"DuplexStreamingCall",{enumerable:true,get:function(){return se.DuplexStreamingCall}});var ie=p(37889);Object.defineProperty(d,"ClientStreamingCall",{enumerable:true,get:function(){return ie.ClientStreamingCall}});var oe=p(46173);Object.defineProperty(d,"ServerStreamingCall",{enumerable:true,get:function(){return oe.ServerStreamingCall}});var ae=p(29288);Object.defineProperty(d,"UnaryCall",{enumerable:true,get:function(){return ae.UnaryCall}});var Ae=p(52849);Object.defineProperty(d,"stackIntercept",{enumerable:true,get:function(){return Ae.stackIntercept}});Object.defineProperty(d,"stackDuplexStreamingInterceptors",{enumerable:true,get:function(){return Ae.stackDuplexStreamingInterceptors}});Object.defineProperty(d,"stackClientStreamingInterceptors",{enumerable:true,get:function(){return Ae.stackClientStreamingInterceptors}});Object.defineProperty(d,"stackServerStreamingInterceptors",{enumerable:true,get:function(){return Ae.stackServerStreamingInterceptors}});Object.defineProperty(d,"stackUnaryInterceptors",{enumerable:true,get:function(){return Ae.stackUnaryInterceptors}});var ce=p(43352);Object.defineProperty(d,"ServerCallContextController",{enumerable:true,get:function(){return ce.ServerCallContextController}})},62496:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.readServiceOption=d.readMethodOption=d.readMethodOptions=d.normalizeMethodInfo=void 0;const v=p(68886);function normalizeMethodInfo(i,d){var p,V,K;let ee=i;ee.service=d;ee.localName=(p=ee.localName)!==null&&p!==void 0?p:v.lowerCamelCase(ee.name);ee.serverStreaming=!!ee.serverStreaming;ee.clientStreaming=!!ee.clientStreaming;ee.options=(V=ee.options)!==null&&V!==void 0?V:{};ee.idempotency=(K=ee.idempotency)!==null&&K!==void 0?K:undefined;return ee}d.normalizeMethodInfo=normalizeMethodInfo;function readMethodOptions(i,d,p,v){var V;const K=(V=i.methods.find(((i,p)=>i.localName===d||p===d)))===null||V===void 0?void 0:V.options;return K&&K[p]?v.fromJson(K[p]):undefined}d.readMethodOptions=readMethodOptions;function readMethodOption(i,d,p,v){var V;const K=(V=i.methods.find(((i,p)=>i.localName===d||p===d)))===null||V===void 0?void 0:V.options;if(!K){return undefined}const ee=K[p];if(ee===undefined){return ee}return v?v.fromJson(ee):ee}d.readMethodOption=readMethodOption;function readServiceOption(i,d,p){const v=i.options;if(!v){return undefined}const V=v[d];if(V===undefined){return V}return p?p.fromJson(V):V}d.readServiceOption=readServiceOption},78636:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.RpcError=void 0;class RpcError extends Error{constructor(i,d="UNKNOWN",p){super(i);this.name="RpcError";Object.setPrototypeOf(this,new.target.prototype);this.code=d;this.meta=p!==null&&p!==void 0?p:{}}toString(){const i=[this.name+": "+this.message];if(this.code){i.push("");i.push("Code: "+this.code)}if(this.serviceName&&this.methodName){i.push("Method: "+this.serviceName+"/"+this.methodName)}let d=Object.entries(this.meta);if(d.length){i.push("");i.push("Meta:");for(let[p,v]of d){i.push(` ${p}: ${v}`)}}return i.join("\n")}}d.RpcError=RpcError},52849:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.stackDuplexStreamingInterceptors=d.stackClientStreamingInterceptors=d.stackServerStreamingInterceptors=d.stackUnaryInterceptors=d.stackIntercept=void 0;const v=p(68886);function stackIntercept(i,d,p,V,K){var ee,te,re,ne;if(i=="unary"){let tail=(i,p,v)=>d.unary(i,p,v);for(const i of((ee=V.interceptors)!==null&&ee!==void 0?ee:[]).filter((i=>i.interceptUnary)).reverse()){const d=tail;tail=(p,v,V)=>i.interceptUnary(d,p,v,V)}return tail(p,K,V)}if(i=="serverStreaming"){let tail=(i,p,v)=>d.serverStreaming(i,p,v);for(const i of((te=V.interceptors)!==null&&te!==void 0?te:[]).filter((i=>i.interceptServerStreaming)).reverse()){const d=tail;tail=(p,v,V)=>i.interceptServerStreaming(d,p,v,V)}return tail(p,K,V)}if(i=="clientStreaming"){let tail=(i,p)=>d.clientStreaming(i,p);for(const i of((re=V.interceptors)!==null&&re!==void 0?re:[]).filter((i=>i.interceptClientStreaming)).reverse()){const d=tail;tail=(p,v)=>i.interceptClientStreaming(d,p,v)}return tail(p,V)}if(i=="duplex"){let tail=(i,p)=>d.duplex(i,p);for(const i of((ne=V.interceptors)!==null&&ne!==void 0?ne:[]).filter((i=>i.interceptDuplex)).reverse()){const d=tail;tail=(p,v)=>i.interceptDuplex(d,p,v)}return tail(p,V)}v.assertNever(i)}d.stackIntercept=stackIntercept;function stackUnaryInterceptors(i,d,p,v){return stackIntercept("unary",i,d,v,p)}d.stackUnaryInterceptors=stackUnaryInterceptors;function stackServerStreamingInterceptors(i,d,p,v){return stackIntercept("serverStreaming",i,d,v,p)}d.stackServerStreamingInterceptors=stackServerStreamingInterceptors;function stackClientStreamingInterceptors(i,d,p){return stackIntercept("clientStreaming",i,d,p)}d.stackClientStreamingInterceptors=stackClientStreamingInterceptors;function stackDuplexStreamingInterceptors(i,d,p){return stackIntercept("duplex",i,d,p)}d.stackDuplexStreamingInterceptors=stackDuplexStreamingInterceptors},28576:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.mergeRpcOptions=void 0;const v=p(68886);function mergeRpcOptions(i,d){if(!d)return i;let p={};copy(i,p);copy(d,p);for(let V of Object.keys(d)){let K=d[V];switch(V){case"jsonOptions":p.jsonOptions=v.mergeJsonOptions(i.jsonOptions,p.jsonOptions);break;case"binaryOptions":p.binaryOptions=v.mergeBinaryOptions(i.binaryOptions,p.binaryOptions);break;case"meta":p.meta={};copy(i.meta,p.meta);copy(d.meta,p.meta);break;case"interceptors":p.interceptors=i.interceptors?i.interceptors.concat(K):K.concat();break}}return p}d.mergeRpcOptions=mergeRpcOptions;function copy(i,d){if(!i)return;let p=d;for(let[d,v]of Object.entries(i)){if(v instanceof Date)p[d]=new Date(v.getTime());else if(Array.isArray(v))p[d]=v.concat();else p[d]=v}}},72726:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.RpcOutputStreamController=void 0;const v=p(71409);const V=p(68886);class RpcOutputStreamController{constructor(){this._lis={nxt:[],msg:[],err:[],cmp:[]};this._closed=false}onNext(i){return this.addLis(i,this._lis.nxt)}onMessage(i){return this.addLis(i,this._lis.msg)}onError(i){return this.addLis(i,this._lis.err)}onComplete(i){return this.addLis(i,this._lis.cmp)}addLis(i,d){d.push(i);return()=>{let p=d.indexOf(i);if(p>=0)d.splice(p,1)}}clearLis(){for(let i of Object.values(this._lis))i.splice(0,i.length)}get closed(){return this._closed!==false}notifyNext(i,d,p){V.assert((i?1:0)+(d?1:0)+(p?1:0)<=1,"only one emission at a time");if(i)this.notifyMessage(i);if(d)this.notifyError(d);if(p)this.notifyComplete()}notifyMessage(i){V.assert(!this.closed,"stream is closed");this.pushIt({value:i,done:false});this._lis.msg.forEach((d=>d(i)));this._lis.nxt.forEach((d=>d(i,undefined,false)))}notifyError(i){V.assert(!this.closed,"stream is closed");this._closed=i;this.pushIt(i);this._lis.err.forEach((d=>d(i)));this._lis.nxt.forEach((d=>d(undefined,i,false)));this.clearLis()}notifyComplete(){V.assert(!this.closed,"stream is closed");this._closed=true;this.pushIt({value:null,done:true});this._lis.cmp.forEach((i=>i()));this._lis.nxt.forEach((i=>i(undefined,undefined,true)));this.clearLis()}[Symbol.asyncIterator](){if(!this._itState){this._itState={q:[]}}if(this._closed===true)this.pushIt({value:null,done:true});else if(this._closed!==false)this.pushIt(this._closed);return{next:()=>{let i=this._itState;V.assert(i,"bad state");V.assert(!i.p,"iterator contract broken");let d=i.q.shift();if(d)return"value"in d?Promise.resolve(d):Promise.reject(d);i.p=new v.Deferred;return i.p.promise}}}pushIt(i){let d=this._itState;if(!d)return;if(d.p){const p=d.p;V.assert(p.state==v.DeferredState.PENDING,"iterator contract broken");"value"in i?p.resolve(i):p.reject(i);delete d.p}else{d.q.push(i)}}}d.RpcOutputStreamController=RpcOutputStreamController},43352:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.ServerCallContextController=void 0;class ServerCallContextController{constructor(i,d,p,v,V={code:"OK",detail:""}){this._cancelled=false;this._listeners=[];this.method=i;this.headers=d;this.deadline=p;this.trailers={};this._sendRH=v;this.status=V}notifyCancelled(){if(!this._cancelled){this._cancelled=true;for(let i of this._listeners){i()}}}sendResponseHeaders(i){this._sendRH(i)}get cancelled(){return this._cancelled}onCancel(i){const d=this._listeners;d.push(i);return()=>{let p=d.indexOf(i);if(p>=0)d.splice(p,1)}}}d.ServerCallContextController=ServerCallContextController},46173:function(i,d){var p=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.ServerStreamingCall=void 0;class ServerStreamingCall{constructor(i,d,p,v,V,K,ee){this.method=i;this.requestHeaders=d;this.request=p;this.headers=v;this.responses=V;this.status=K;this.trailers=ee}then(i,d){return this.promiseFinished().then((d=>i?Promise.resolve(i(d)):d),(i=>d?Promise.resolve(d(i)):Promise.reject(i)))}promiseFinished(){return p(this,void 0,void 0,(function*(){let[i,d,p]=yield Promise.all([this.headers,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:i,status:d,trailers:p}}))}}d.ServerStreamingCall=ServerStreamingCall},56892:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ServiceType=void 0;const v=p(62496);class ServiceType{constructor(i,d,p){this.typeName=i;this.methods=d.map((i=>v.normalizeMethodInfo(i,this)));this.options=p!==null&&p!==void 0?p:{}}}d.ServiceType=ServiceType},79122:function(i,d,p){var v=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.TestTransport=void 0;const V=p(78636);const K=p(68886);const ee=p(72726);const te=p(28576);const re=p(29288);const ne=p(46173);const se=p(37889);const ie=p(36826);class TestTransport{constructor(i){this.suppressUncaughtRejections=true;this.headerDelay=10;this.responseDelay=50;this.betweenResponseDelay=10;this.afterResponseDelay=10;this.data=i!==null&&i!==void 0?i:{}}get sentMessages(){if(this.lastInput instanceof TestInputStream){return this.lastInput.sent}else if(typeof this.lastInput=="object"){return[this.lastInput.single]}return[]}get sendComplete(){if(this.lastInput instanceof TestInputStream){return this.lastInput.completed}else if(typeof this.lastInput=="object"){return true}return false}promiseHeaders(){var i;const d=(i=this.data.headers)!==null&&i!==void 0?i:TestTransport.defaultHeaders;return d instanceof V.RpcError?Promise.reject(d):Promise.resolve(d)}promiseSingleResponse(i){if(this.data.response instanceof V.RpcError){return Promise.reject(this.data.response)}let d;if(Array.isArray(this.data.response)){K.assert(this.data.response.length>0);d=this.data.response[0]}else if(this.data.response!==undefined){d=this.data.response}else{d=i.O.create()}K.assert(i.O.is(d));return Promise.resolve(d)}streamResponses(i,d,p){return v(this,void 0,void 0,(function*(){const v=[];if(this.data.response===undefined){v.push(i.O.create())}else if(Array.isArray(this.data.response)){for(let d of this.data.response){K.assert(i.O.is(d));v.push(d)}}else if(!(this.data.response instanceof V.RpcError)){K.assert(i.O.is(this.data.response));v.push(this.data.response)}try{yield delay(this.responseDelay,p)(undefined)}catch(i){d.notifyError(i);return}if(this.data.response instanceof V.RpcError){d.notifyError(this.data.response);return}for(let i of v){d.notifyMessage(i);try{yield delay(this.betweenResponseDelay,p)(undefined)}catch(i){d.notifyError(i);return}}if(this.data.status instanceof V.RpcError){d.notifyError(this.data.status);return}if(this.data.trailers instanceof V.RpcError){d.notifyError(this.data.trailers);return}d.notifyComplete()}))}promiseStatus(){var i;const d=(i=this.data.status)!==null&&i!==void 0?i:TestTransport.defaultStatus;return d instanceof V.RpcError?Promise.reject(d):Promise.resolve(d)}promiseTrailers(){var i;const d=(i=this.data.trailers)!==null&&i!==void 0?i:TestTransport.defaultTrailers;return d instanceof V.RpcError?Promise.reject(d):Promise.resolve(d)}maybeSuppressUncaught(...i){if(this.suppressUncaughtRejections){for(let d of i){d.catch((()=>{}))}}}mergeOptions(i){return te.mergeRpcOptions({},i)}unary(i,d,p){var v;const V=(v=p.meta)!==null&&v!==void 0?v:{},K=this.promiseHeaders().then(delay(this.headerDelay,p.abort)),ee=K.catch((i=>{})).then(delay(this.responseDelay,p.abort)).then((d=>this.promiseSingleResponse(i))),te=ee.catch((i=>{})).then(delay(this.afterResponseDelay,p.abort)).then((i=>this.promiseStatus())),ne=ee.catch((i=>{})).then(delay(this.afterResponseDelay,p.abort)).then((i=>this.promiseTrailers()));this.maybeSuppressUncaught(te,ne);this.lastInput={single:d};return new re.UnaryCall(i,V,d,K,ee,te,ne)}serverStreaming(i,d,p){var v;const V=(v=p.meta)!==null&&v!==void 0?v:{},K=this.promiseHeaders().then(delay(this.headerDelay,p.abort)),te=new ee.RpcOutputStreamController,re=K.then(delay(this.responseDelay,p.abort)).catch((()=>{})).then((()=>this.streamResponses(i,te,p.abort))).then(delay(this.afterResponseDelay,p.abort)),se=re.then((()=>this.promiseStatus())),ie=re.then((()=>this.promiseTrailers()));this.maybeSuppressUncaught(se,ie);this.lastInput={single:d};return new ne.ServerStreamingCall(i,V,d,K,te,se,ie)}clientStreaming(i,d){var p;const v=(p=d.meta)!==null&&p!==void 0?p:{},V=this.promiseHeaders().then(delay(this.headerDelay,d.abort)),K=V.catch((i=>{})).then(delay(this.responseDelay,d.abort)).then((d=>this.promiseSingleResponse(i))),ee=K.catch((i=>{})).then(delay(this.afterResponseDelay,d.abort)).then((i=>this.promiseStatus())),te=K.catch((i=>{})).then(delay(this.afterResponseDelay,d.abort)).then((i=>this.promiseTrailers()));this.maybeSuppressUncaught(ee,te);this.lastInput=new TestInputStream(this.data,d.abort);return new se.ClientStreamingCall(i,v,this.lastInput,V,K,ee,te)}duplex(i,d){var p;const v=(p=d.meta)!==null&&p!==void 0?p:{},V=this.promiseHeaders().then(delay(this.headerDelay,d.abort)),K=new ee.RpcOutputStreamController,te=V.then(delay(this.responseDelay,d.abort)).catch((()=>{})).then((()=>this.streamResponses(i,K,d.abort))).then(delay(this.afterResponseDelay,d.abort)),re=te.then((()=>this.promiseStatus())),ne=te.then((()=>this.promiseTrailers()));this.maybeSuppressUncaught(re,ne);this.lastInput=new TestInputStream(this.data,d.abort);return new ie.DuplexStreamingCall(i,v,this.lastInput,V,K,re,ne)}}d.TestTransport=TestTransport;TestTransport.defaultHeaders={responseHeader:"test"};TestTransport.defaultStatus={code:"OK",detail:"all good"};TestTransport.defaultTrailers={responseTrailer:"test"};function delay(i,d){return p=>new Promise(((v,K)=>{if(d===null||d===void 0?void 0:d.aborted){K(new V.RpcError("user cancel","CANCELLED"))}else{const ee=setTimeout((()=>v(p)),i);if(d){d.addEventListener("abort",(i=>{clearTimeout(ee);K(new V.RpcError("user cancel","CANCELLED"))}))}}}))}class TestInputStream{constructor(i,d){this._completed=false;this._sent=[];this.data=i;this.abort=d}get sent(){return this._sent}get completed(){return this._completed}send(i){if(this.data.inputMessage instanceof V.RpcError){return Promise.reject(this.data.inputMessage)}const d=this.data.inputMessage===undefined?10:this.data.inputMessage;return Promise.resolve(undefined).then((()=>{this._sent.push(i)})).then(delay(d,this.abort))}complete(){if(this.data.inputComplete instanceof V.RpcError){return Promise.reject(this.data.inputComplete)}const i=this.data.inputComplete===undefined?10:this.data.inputComplete;return Promise.resolve(undefined).then((()=>{this._completed=true})).then(delay(i,this.abort))}}},29288:function(i,d){var p=this&&this.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};Object.defineProperty(d,"__esModule",{value:true});d.UnaryCall=void 0;class UnaryCall{constructor(i,d,p,v,V,K,ee){this.method=i;this.requestHeaders=d;this.request=p;this.headers=v;this.response=V;this.status=K;this.trailers=ee}then(i,d){return this.promiseFinished().then((d=>i?Promise.resolve(i(d)):d),(i=>d?Promise.resolve(d(i)):Promise.reject(i)))}promiseFinished(){return p(this,void 0,void 0,(function*(){let[i,d,p,v]=yield Promise.all([this.headers,this.response,this.status,this.trailers]);return{method:this.method,requestHeaders:this.requestHeaders,request:this.request,headers:i,response:d,status:p,trailers:v}}))}}d.UnaryCall=UnaryCall},8602:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.assertFloat32=d.assertUInt32=d.assertInt32=d.assertNever=d.assert=void 0;function assert(i,d){if(!i){throw new Error(d)}}d.assert=assert;function assertNever(i,d){throw new Error(d!==null&&d!==void 0?d:"Unexpected object: "+i)}d.assertNever=assertNever;const p=34028234663852886e22,v=-34028234663852886e22,V=4294967295,K=2147483647,ee=-2147483648;function assertInt32(i){if(typeof i!=="number")throw new Error("invalid int 32: "+typeof i);if(!Number.isInteger(i)||i>K||iV||i<0)throw new Error("invalid uint 32: "+i)}d.assertUInt32=assertUInt32;function assertFloat32(i){if(typeof i!=="number")throw new Error("invalid float 32: "+typeof i);if(!Number.isFinite(i))return;if(i>p||i{Object.defineProperty(d,"__esModule",{value:true});d.base64encode=d.base64decode=void 0;let p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");let v=[];for(let i=0;i>4;te=ee;K=2;break;case 2:p[V++]=(te&15)<<4|(ee&60)>>2;te=ee;K=3;break;case 3:p[V++]=(te&3)<<6|ee;K=0;break}}if(K==1)throw Error(`invalid base64 string.`);return p.subarray(0,V)}d.base64decode=base64decode;function base64encode(i){let d="",v=0,V,K=0;for(let ee=0;ee>2];K=(V&3)<<4;v=1;break;case 1:d+=p[K|V>>4];K=(V&15)<<2;v=2;break;case 2:d+=p[K|V>>6];d+=p[V&63];v=0;break}}if(v){d+=p[K];d+="=";if(v==1)d+="="}return d}d.base64encode=base64encode},54816:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.WireType=d.mergeBinaryOptions=d.UnknownFieldHandler=void 0;var p;(function(i){i.symbol=Symbol.for("protobuf-ts/unknown");i.onRead=(d,p,v,V,K)=>{let ee=is(p)?p[i.symbol]:p[i.symbol]=[];ee.push({no:v,wireType:V,data:K})};i.onWrite=(d,p,v)=>{for(let{no:d,wireType:V,data:K}of i.list(p))v.tag(d,V).raw(K)};i.list=(d,p)=>{if(is(d)){let v=d[i.symbol];return p?v.filter((i=>i.no==p)):v}return[]};i.last=(d,p)=>i.list(d,p).slice(-1)[0];const is=d=>d&&Array.isArray(d[i.symbol])})(p=d.UnknownFieldHandler||(d.UnknownFieldHandler={}));function mergeBinaryOptions(i,d){return Object.assign(Object.assign({},i),d)}d.mergeBinaryOptions=mergeBinaryOptions;var v;(function(i){i[i["Varint"]=0]="Varint";i[i["Bit64"]=1]="Bit64";i[i["LengthDelimited"]=2]="LengthDelimited";i[i["StartGroup"]=3]="StartGroup";i[i["EndGroup"]=4]="EndGroup";i[i["Bit32"]=5]="Bit32"})(v=d.WireType||(d.WireType={}))},92889:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BinaryReader=d.binaryReadOptions=void 0;const v=p(54816);const V=p(61753);const K=p(93223);const ee={readUnknownField:true,readerFactory:i=>new BinaryReader(i)};function binaryReadOptions(i){return i?Object.assign(Object.assign({},ee),i):ee}d.binaryReadOptions=binaryReadOptions;class BinaryReader{constructor(i,d){this.varint64=K.varint64read;this.uint32=K.varint32read;this.buf=i;this.len=i.length;this.pos=0;this.view=new DataView(i.buffer,i.byteOffset,i.byteLength);this.textDecoder=d!==null&&d!==void 0?d:new TextDecoder("utf-8",{fatal:true,ignoreBOM:true})}tag(){let i=this.uint32(),d=i>>>3,p=i&7;if(d<=0||p<0||p>5)throw new Error("illegal tag: field no "+d+" wire type "+p);return[d,p]}skip(i){let d=this.pos;switch(i){case v.WireType.Varint:while(this.buf[this.pos++]&128){}break;case v.WireType.Bit64:this.pos+=4;case v.WireType.Bit32:this.pos+=4;break;case v.WireType.LengthDelimited:let d=this.uint32();this.pos+=d;break;case v.WireType.StartGroup:let p;while((p=this.tag()[1])!==v.WireType.EndGroup){this.skip(p)}break;default:throw new Error("cant skip wire type "+i)}this.assertBounds();return this.buf.subarray(d,this.pos)}assertBounds(){if(this.pos>this.len)throw new RangeError("premature EOF")}int32(){return this.uint32()|0}sint32(){let i=this.uint32();return i>>>1^-(i&1)}int64(){return new V.PbLong(...this.varint64())}uint64(){return new V.PbULong(...this.varint64())}sint64(){let[i,d]=this.varint64();let p=-(i&1);i=(i>>>1|(d&1)<<31)^p;d=d>>>1^p;return new V.PbLong(i,d)}bool(){let[i,d]=this.varint64();return i!==0||d!==0}fixed32(){return this.view.getUint32((this.pos+=4)-4,true)}sfixed32(){return this.view.getInt32((this.pos+=4)-4,true)}fixed64(){return new V.PbULong(this.sfixed32(),this.sfixed32())}sfixed64(){return new V.PbLong(this.sfixed32(),this.sfixed32())}float(){return this.view.getFloat32((this.pos+=4)-4,true)}double(){return this.view.getFloat64((this.pos+=8)-8,true)}bytes(){let i=this.uint32();let d=this.pos;this.pos+=i;this.assertBounds();return this.buf.subarray(d,d+i)}string(){return this.textDecoder.decode(this.bytes())}}d.BinaryReader=BinaryReader},23957:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BinaryWriter=d.binaryWriteOptions=void 0;const v=p(61753);const V=p(93223);const K=p(8602);const ee={writeUnknownFields:true,writerFactory:()=>new BinaryWriter};function binaryWriteOptions(i){return i?Object.assign(Object.assign({},ee),i):ee}d.binaryWriteOptions=binaryWriteOptions;class BinaryWriter{constructor(i){this.stack=[];this.textEncoder=i!==null&&i!==void 0?i:new TextEncoder;this.chunks=[];this.buf=[]}finish(){this.chunks.push(new Uint8Array(this.buf));let i=0;for(let d=0;d>>0)}raw(i){if(this.buf.length){this.chunks.push(new Uint8Array(this.buf));this.buf=[]}this.chunks.push(i);return this}uint32(i){K.assertUInt32(i);while(i>127){this.buf.push(i&127|128);i=i>>>7}this.buf.push(i);return this}int32(i){K.assertInt32(i);V.varint32write(i,this.buf);return this}bool(i){this.buf.push(i?1:0);return this}bytes(i){this.uint32(i.byteLength);return this.raw(i)}string(i){let d=this.textEncoder.encode(i);this.uint32(d.byteLength);return this.raw(d)}float(i){K.assertFloat32(i);let d=new Uint8Array(4);new DataView(d.buffer).setFloat32(0,i,true);return this.raw(d)}double(i){let d=new Uint8Array(8);new DataView(d.buffer).setFloat64(0,i,true);return this.raw(d)}fixed32(i){K.assertUInt32(i);let d=new Uint8Array(4);new DataView(d.buffer).setUint32(0,i,true);return this.raw(d)}sfixed32(i){K.assertInt32(i);let d=new Uint8Array(4);new DataView(d.buffer).setInt32(0,i,true);return this.raw(d)}sint32(i){K.assertInt32(i);i=(i<<1^i>>31)>>>0;V.varint32write(i,this.buf);return this}sfixed64(i){let d=new Uint8Array(8);let p=new DataView(d.buffer);let V=v.PbLong.from(i);p.setInt32(0,V.lo,true);p.setInt32(4,V.hi,true);return this.raw(d)}fixed64(i){let d=new Uint8Array(8);let p=new DataView(d.buffer);let V=v.PbULong.from(i);p.setInt32(0,V.lo,true);p.setInt32(4,V.hi,true);return this.raw(d)}int64(i){let d=v.PbLong.from(i);V.varint64write(d.lo,d.hi,this.buf);return this}sint64(i){let d=v.PbLong.from(i),p=d.hi>>31,K=d.lo<<1^p,ee=(d.hi<<1|d.lo>>>31)^p;V.varint64write(K,ee,this.buf);return this}uint64(i){let d=v.PbULong.from(i);V.varint64write(d.lo,d.hi,this.buf);return this}}d.BinaryWriter=BinaryWriter},70257:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.listEnumNumbers=d.listEnumNames=d.listEnumValues=d.isEnumObject=void 0;function isEnumObject(i){if(typeof i!="object"||i===null){return false}if(!i.hasOwnProperty(0)){return false}for(let d of Object.keys(i)){let p=parseInt(d);if(!Number.isNaN(p)){let d=i[p];if(d===undefined)return false;if(i[d]!==p)return false}else{let p=i[d];if(p===undefined)return false;if(typeof p!=="number")return false;if(i[p]===undefined)return false}}return true}d.isEnumObject=isEnumObject;function listEnumValues(i){if(!isEnumObject(i))throw new Error("not a typescript enum object");let d=[];for(let[p,v]of Object.entries(i))if(typeof v=="number")d.push({name:p,number:v});return d}d.listEnumValues=listEnumValues;function listEnumNames(i){return listEnumValues(i).map((i=>i.name))}d.listEnumNames=listEnumNames;function listEnumNumbers(i){return listEnumValues(i).map((i=>i.number)).filter(((i,d,p)=>p.indexOf(i)==d))}d.listEnumNumbers=listEnumNumbers},93223:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.varint32read=d.varint32write=d.int64toString=d.int64fromString=d.varint64write=d.varint64read=void 0;function varint64read(){let i=0;let d=0;for(let p=0;p<28;p+=7){let v=this.buf[this.pos++];i|=(v&127)<>4;if((p&128)==0){this.assertBounds();return[i,d]}for(let p=3;p<=31;p+=7){let v=this.buf[this.pos++];d|=(v&127)<>>v;const K=!(V>>>7==0&&d==0);const ee=(K?V|128:V)&255;p.push(ee);if(!K){return}}const v=i>>>28&15|(d&7)<<4;const V=!(d>>3==0);p.push((V?v|128:v)&255);if(!V){return}for(let i=3;i<31;i=i+7){const v=d>>>i;const V=!(v>>>7==0);const K=(V?v|128:v)&255;p.push(K);if(!V){return}}p.push(d>>>31&1)}d.varint64write=varint64write;const p=(1<<16)*(1<<16);function int64fromString(i){let d=i[0]=="-";if(d)i=i.slice(1);const v=1e6;let V=0;let K=0;function add1e6digit(d,ee){const te=Number(i.slice(d,ee));K*=v;V=V*v+te;if(V>=p){K=K+(V/p|0);V=V%p}}add1e6digit(-24,-18);add1e6digit(-18,-12);add1e6digit(-12,-6);add1e6digit(-6);return[d,V,K]}d.int64fromString=int64fromString;function int64toString(i,d){if(d>>>0<=2097151){return""+(p*d+(i>>>0))}let v=i&16777215;let V=(i>>>24|d<<8)>>>0&16777215;let K=d>>16&65535;let ee=v+V*6777216+K*6710656;let te=V+K*8147497;let re=K*2;let ne=1e7;if(ee>=ne){te+=Math.floor(ee/ne);ee%=ne}if(te>=ne){re+=Math.floor(te/ne);te%=ne}function decimalFrom1e7(i,d){let p=i?String(i):"";if(d){return"0000000".slice(p.length)+p}return p}return decimalFrom1e7(re,0)+decimalFrom1e7(te,re)+decimalFrom1e7(ee,1)}d.int64toString=int64toString;function varint32write(i,d){if(i>=0){while(i>127){d.push(i&127|128);i=i>>>7}d.push(i)}else{for(let p=0;p<9;p++){d.push(i&127|128);i=i>>7}d.push(1)}}d.varint32write=varint32write;function varint32read(){let i=this.buf[this.pos++];let d=i&127;if((i&128)==0){this.assertBounds();return d}i=this.buf[this.pos++];d|=(i&127)<<7;if((i&128)==0){this.assertBounds();return d}i=this.buf[this.pos++];d|=(i&127)<<14;if((i&128)==0){this.assertBounds();return d}i=this.buf[this.pos++];d|=(i&127)<<21;if((i&128)==0){this.assertBounds();return d}i=this.buf[this.pos++];d|=(i&15)<<28;for(let d=5;(i&128)!==0&&d<10;d++)i=this.buf[this.pos++];if((i&128)!=0)throw new Error("invalid varint");this.assertBounds();return d>>>0}d.varint32read=varint32read},68886:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});var v=p(49999);Object.defineProperty(d,"typeofJsonValue",{enumerable:true,get:function(){return v.typeofJsonValue}});Object.defineProperty(d,"isJsonObject",{enumerable:true,get:function(){return v.isJsonObject}});var V=p(26335);Object.defineProperty(d,"base64decode",{enumerable:true,get:function(){return V.base64decode}});Object.defineProperty(d,"base64encode",{enumerable:true,get:function(){return V.base64encode}});var K=p(58950);Object.defineProperty(d,"utf8read",{enumerable:true,get:function(){return K.utf8read}});var ee=p(54816);Object.defineProperty(d,"WireType",{enumerable:true,get:function(){return ee.WireType}});Object.defineProperty(d,"mergeBinaryOptions",{enumerable:true,get:function(){return ee.mergeBinaryOptions}});Object.defineProperty(d,"UnknownFieldHandler",{enumerable:true,get:function(){return ee.UnknownFieldHandler}});var te=p(92889);Object.defineProperty(d,"BinaryReader",{enumerable:true,get:function(){return te.BinaryReader}});Object.defineProperty(d,"binaryReadOptions",{enumerable:true,get:function(){return te.binaryReadOptions}});var re=p(23957);Object.defineProperty(d,"BinaryWriter",{enumerable:true,get:function(){return re.BinaryWriter}});Object.defineProperty(d,"binaryWriteOptions",{enumerable:true,get:function(){return re.binaryWriteOptions}});var ne=p(61753);Object.defineProperty(d,"PbLong",{enumerable:true,get:function(){return ne.PbLong}});Object.defineProperty(d,"PbULong",{enumerable:true,get:function(){return ne.PbULong}});var se=p(29367);Object.defineProperty(d,"jsonReadOptions",{enumerable:true,get:function(){return se.jsonReadOptions}});Object.defineProperty(d,"jsonWriteOptions",{enumerable:true,get:function(){return se.jsonWriteOptions}});Object.defineProperty(d,"mergeJsonOptions",{enumerable:true,get:function(){return se.mergeJsonOptions}});var ie=p(43785);Object.defineProperty(d,"MESSAGE_TYPE",{enumerable:true,get:function(){return ie.MESSAGE_TYPE}});var oe=p(15106);Object.defineProperty(d,"MessageType",{enumerable:true,get:function(){return oe.MessageType}});var ae=p(67910);Object.defineProperty(d,"ScalarType",{enumerable:true,get:function(){return ae.ScalarType}});Object.defineProperty(d,"LongType",{enumerable:true,get:function(){return ae.LongType}});Object.defineProperty(d,"RepeatType",{enumerable:true,get:function(){return ae.RepeatType}});Object.defineProperty(d,"normalizeFieldInfo",{enumerable:true,get:function(){return ae.normalizeFieldInfo}});Object.defineProperty(d,"readFieldOptions",{enumerable:true,get:function(){return ae.readFieldOptions}});Object.defineProperty(d,"readFieldOption",{enumerable:true,get:function(){return ae.readFieldOption}});Object.defineProperty(d,"readMessageOption",{enumerable:true,get:function(){return ae.readMessageOption}});var Ae=p(25167);Object.defineProperty(d,"ReflectionTypeCheck",{enumerable:true,get:function(){return Ae.ReflectionTypeCheck}});var ce=p(75726);Object.defineProperty(d,"reflectionCreate",{enumerable:true,get:function(){return ce.reflectionCreate}});var le=p(19526);Object.defineProperty(d,"reflectionScalarDefault",{enumerable:true,get:function(){return le.reflectionScalarDefault}});var ue=p(98044);Object.defineProperty(d,"reflectionMergePartial",{enumerable:true,get:function(){return ue.reflectionMergePartial}});var de=p(4827);Object.defineProperty(d,"reflectionEquals",{enumerable:true,get:function(){return de.reflectionEquals}});var he=p(89611);Object.defineProperty(d,"ReflectionBinaryReader",{enumerable:true,get:function(){return he.ReflectionBinaryReader}});var fe=p(66907);Object.defineProperty(d,"ReflectionBinaryWriter",{enumerable:true,get:function(){return fe.ReflectionBinaryWriter}});var ge=p(46790);Object.defineProperty(d,"ReflectionJsonReader",{enumerable:true,get:function(){return ge.ReflectionJsonReader}});var pe=p(11094);Object.defineProperty(d,"ReflectionJsonWriter",{enumerable:true,get:function(){return pe.ReflectionJsonWriter}});var me=p(59946);Object.defineProperty(d,"containsMessageType",{enumerable:true,get:function(){return me.containsMessageType}});var Ee=p(18063);Object.defineProperty(d,"isOneofGroup",{enumerable:true,get:function(){return Ee.isOneofGroup}});Object.defineProperty(d,"setOneofValue",{enumerable:true,get:function(){return Ee.setOneofValue}});Object.defineProperty(d,"getOneofValue",{enumerable:true,get:function(){return Ee.getOneofValue}});Object.defineProperty(d,"clearOneofValue",{enumerable:true,get:function(){return Ee.clearOneofValue}});Object.defineProperty(d,"getSelectedOneofValue",{enumerable:true,get:function(){return Ee.getSelectedOneofValue}});var Ce=p(70257);Object.defineProperty(d,"listEnumValues",{enumerable:true,get:function(){return Ce.listEnumValues}});Object.defineProperty(d,"listEnumNames",{enumerable:true,get:function(){return Ce.listEnumNames}});Object.defineProperty(d,"listEnumNumbers",{enumerable:true,get:function(){return Ce.listEnumNumbers}});Object.defineProperty(d,"isEnumObject",{enumerable:true,get:function(){return Ce.isEnumObject}});var ye=p(4073);Object.defineProperty(d,"lowerCamelCase",{enumerable:true,get:function(){return ye.lowerCamelCase}});var Ie=p(8602);Object.defineProperty(d,"assert",{enumerable:true,get:function(){return Ie.assert}});Object.defineProperty(d,"assertNever",{enumerable:true,get:function(){return Ie.assertNever}});Object.defineProperty(d,"assertInt32",{enumerable:true,get:function(){return Ie.assertInt32}});Object.defineProperty(d,"assertUInt32",{enumerable:true,get:function(){return Ie.assertUInt32}});Object.defineProperty(d,"assertFloat32",{enumerable:true,get:function(){return Ie.assertFloat32}})},29367:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.mergeJsonOptions=d.jsonWriteOptions=d.jsonReadOptions=void 0;const p={emitDefaultValues:false,enumAsInteger:false,useProtoFieldName:false,prettySpaces:0},v={ignoreUnknownFields:false};function jsonReadOptions(i){return i?Object.assign(Object.assign({},v),i):v}d.jsonReadOptions=jsonReadOptions;function jsonWriteOptions(i){return i?Object.assign(Object.assign({},p),i):p}d.jsonWriteOptions=jsonWriteOptions;function mergeJsonOptions(i,d){var p,v;let V=Object.assign(Object.assign({},i),d);V.typeRegistry=[...(p=i===null||i===void 0?void 0:i.typeRegistry)!==null&&p!==void 0?p:[],...(v=d===null||d===void 0?void 0:d.typeRegistry)!==null&&v!==void 0?v:[]];return V}d.mergeJsonOptions=mergeJsonOptions},49999:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.isJsonObject=d.typeofJsonValue=void 0;function typeofJsonValue(i){let d=typeof i;if(d=="object"){if(Array.isArray(i))return"array";if(i===null)return"null"}return d}d.typeofJsonValue=typeofJsonValue;function isJsonObject(i){return i!==null&&typeof i=="object"&&!Array.isArray(i)}d.isJsonObject=isJsonObject},4073:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.lowerCamelCase=void 0;function lowerCamelCase(i){let d=false;const p=[];for(let v=0;v{Object.defineProperty(d,"__esModule",{value:true});d.MESSAGE_TYPE=void 0;d.MESSAGE_TYPE=Symbol.for("protobuf-ts/message-type")},15106:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.MessageType=void 0;const v=p(43785);const V=p(67910);const K=p(25167);const ee=p(46790);const te=p(11094);const re=p(89611);const ne=p(66907);const se=p(75726);const ie=p(98044);const oe=p(49999);const ae=p(29367);const Ae=p(4827);const ce=p(23957);const le=p(92889);const ue=Object.getOwnPropertyDescriptors(Object.getPrototypeOf({}));class MessageType{constructor(i,d,p){this.defaultCheckDepth=16;this.typeName=i;this.fields=d.map(V.normalizeFieldInfo);this.options=p!==null&&p!==void 0?p:{};this.messagePrototype=Object.create(null,Object.assign(Object.assign({},ue),{[v.MESSAGE_TYPE]:{value:this}}));this.refTypeCheck=new K.ReflectionTypeCheck(this);this.refJsonReader=new ee.ReflectionJsonReader(this);this.refJsonWriter=new te.ReflectionJsonWriter(this);this.refBinReader=new re.ReflectionBinaryReader(this);this.refBinWriter=new ne.ReflectionBinaryWriter(this)}create(i){let d=se.reflectionCreate(this);if(i!==undefined){ie.reflectionMergePartial(this,d,i)}return d}clone(i){let d=this.create();ie.reflectionMergePartial(this,d,i);return d}equals(i,d){return Ae.reflectionEquals(this,i,d)}is(i,d=this.defaultCheckDepth){return this.refTypeCheck.is(i,d,false)}isAssignable(i,d=this.defaultCheckDepth){return this.refTypeCheck.is(i,d,true)}mergePartial(i,d){ie.reflectionMergePartial(this,i,d)}fromBinary(i,d){let p=le.binaryReadOptions(d);return this.internalBinaryRead(p.readerFactory(i),i.byteLength,p)}fromJson(i,d){return this.internalJsonRead(i,ae.jsonReadOptions(d))}fromJsonString(i,d){let p=JSON.parse(i);return this.fromJson(p,d)}toJson(i,d){return this.internalJsonWrite(i,ae.jsonWriteOptions(d))}toJsonString(i,d){var p;let v=this.toJson(i,d);return JSON.stringify(v,null,(p=d===null||d===void 0?void 0:d.prettySpaces)!==null&&p!==void 0?p:0)}toBinary(i,d){let p=ce.binaryWriteOptions(d);return this.internalBinaryWrite(i,p.writerFactory(),p).finish()}internalJsonRead(i,d,p){if(i!==null&&typeof i=="object"&&!Array.isArray(i)){let v=p!==null&&p!==void 0?p:this.create();this.refJsonReader.read(i,v,d);return v}throw new Error(`Unable to parse message ${this.typeName} from JSON ${oe.typeofJsonValue(i)}.`)}internalJsonWrite(i,d){return this.refJsonWriter.write(i,d)}internalBinaryWrite(i,d,p){this.refBinWriter.write(i,d,p);return d}internalBinaryRead(i,d,p,v){let V=v!==null&&v!==void 0?v:this.create();this.refBinReader.read(i,V,p,d);return V}}d.MessageType=MessageType},18063:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.getSelectedOneofValue=d.clearOneofValue=d.setUnknownOneofValue=d.setOneofValue=d.getOneofValue=d.isOneofGroup=void 0;function isOneofGroup(i){if(typeof i!="object"||i===null||!i.hasOwnProperty("oneofKind")){return false}switch(typeof i.oneofKind){case"string":if(i[i.oneofKind]===undefined)return false;return Object.keys(i).length==2;case"undefined":return Object.keys(i).length==1;default:return false}}d.isOneofGroup=isOneofGroup;function getOneofValue(i,d){return i[d]}d.getOneofValue=getOneofValue;function setOneofValue(i,d,p){if(i.oneofKind!==undefined){delete i[i.oneofKind]}i.oneofKind=d;if(p!==undefined){i[d]=p}}d.setOneofValue=setOneofValue;function setUnknownOneofValue(i,d,p){if(i.oneofKind!==undefined){delete i[i.oneofKind]}i.oneofKind=d;if(p!==undefined&&d!==undefined){i[d]=p}}d.setUnknownOneofValue=setUnknownOneofValue;function clearOneofValue(i){if(i.oneofKind!==undefined){delete i[i.oneofKind]}i.oneofKind=undefined}d.clearOneofValue=clearOneofValue;function getSelectedOneofValue(i){if(i.oneofKind===undefined){return undefined}return i[i.oneofKind]}d.getSelectedOneofValue=getSelectedOneofValue},61753:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.PbLong=d.PbULong=d.detectBi=void 0;const v=p(93223);let V;function detectBi(){const i=new DataView(new ArrayBuffer(8));const d=globalThis.BigInt!==undefined&&typeof i.getBigInt64==="function"&&typeof i.getBigUint64==="function"&&typeof i.setBigInt64==="function"&&typeof i.setBigUint64==="function";V=d?{MIN:BigInt("-9223372036854775808"),MAX:BigInt("9223372036854775807"),UMIN:BigInt("0"),UMAX:BigInt("18446744073709551615"),C:BigInt,V:i}:undefined}d.detectBi=detectBi;detectBi();function assertBi(i){if(!i)throw new Error("BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support")}const K=/^-?[0-9]+$/;const ee=4294967296;const te=2147483648;class SharedPbLong{constructor(i,d){this.lo=i|0;this.hi=d|0}isZero(){return this.lo==0&&this.hi==0}toNumber(){let i=this.hi*ee+(this.lo>>>0);if(!Number.isSafeInteger(i))throw new Error("cannot convert to safe number");return i}}class PbULong extends SharedPbLong{static from(i){if(V)switch(typeof i){case"string":if(i=="0")return this.ZERO;if(i=="")throw new Error("string is no integer");i=V.C(i);case"number":if(i===0)return this.ZERO;i=V.C(i);case"bigint":if(!i)return this.ZERO;if(iV.UMAX)throw new Error("ulong too large");V.V.setBigUint64(0,i,true);return new PbULong(V.V.getInt32(0,true),V.V.getInt32(4,true))}else switch(typeof i){case"string":if(i=="0")return this.ZERO;i=i.trim();if(!K.test(i))throw new Error("string is no integer");let[d,p,V]=v.int64fromString(i);if(d)throw new Error("signed value for ulong");return new PbULong(p,V);case"number":if(i==0)return this.ZERO;if(!Number.isSafeInteger(i))throw new Error("number is no integer");if(i<0)throw new Error("signed value for ulong");return new PbULong(i,i/ee)}throw new Error("unknown value "+typeof i)}toString(){return V?this.toBigInt().toString():v.int64toString(this.lo,this.hi)}toBigInt(){assertBi(V);V.V.setInt32(0,this.lo,true);V.V.setInt32(4,this.hi,true);return V.V.getBigUint64(0,true)}}d.PbULong=PbULong;PbULong.ZERO=new PbULong(0,0);class PbLong extends SharedPbLong{static from(i){if(V)switch(typeof i){case"string":if(i=="0")return this.ZERO;if(i=="")throw new Error("string is no integer");i=V.C(i);case"number":if(i===0)return this.ZERO;i=V.C(i);case"bigint":if(!i)return this.ZERO;if(iV.MAX)throw new Error("signed long too large");V.V.setBigInt64(0,i,true);return new PbLong(V.V.getInt32(0,true),V.V.getInt32(4,true))}else switch(typeof i){case"string":if(i=="0")return this.ZERO;i=i.trim();if(!K.test(i))throw new Error("string is no integer");let[d,p,V]=v.int64fromString(i);if(d){if(V>te||V==te&&p!=0)throw new Error("signed long too small")}else if(V>=te)throw new Error("signed long too large");let re=new PbLong(p,V);return d?re.negate():re;case"number":if(i==0)return this.ZERO;if(!Number.isSafeInteger(i))throw new Error("number is no integer");return i>0?new PbLong(i,i/ee):new PbLong(-i,-i/ee).negate()}throw new Error("unknown value "+typeof i)}isNegative(){return(this.hi&te)!==0}negate(){let i=~this.hi,d=this.lo;if(d)d=~d+1;else i+=1;return new PbLong(d,i)}toString(){if(V)return this.toBigInt().toString();if(this.isNegative()){let i=this.negate();return"-"+v.int64toString(i.lo,i.hi)}return v.int64toString(this.lo,this.hi)}toBigInt(){assertBi(V);V.V.setInt32(0,this.lo,true);V.V.setInt32(4,this.hi,true);return V.V.getBigInt64(0,true)}}d.PbLong=PbLong;PbLong.ZERO=new PbLong(0,0)},58950:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.utf8read=void 0;const fromCharCodes=i=>String.fromCharCode.apply(String,i);function utf8read(i){if(i.length<1)return"";let d=0,p=[],v=[],V=0,K;let ee=i.length;while(d191&&K<224)v[V++]=(K&31)<<6|i[d++]&63;else if(K>239&&K<365){K=((K&7)<<18|(i[d++]&63)<<12|(i[d++]&63)<<6|i[d++]&63)-65536;v[V++]=55296+(K>>10);v[V++]=56320+(K&1023)}else v[V++]=(K&15)<<12|(i[d++]&63)<<6|i[d++]&63;if(V>8191){p.push(fromCharCodes(v));V=0}}if(p.length){if(V)p.push(fromCharCodes(v.slice(0,V)));return p.join("")}return fromCharCodes(v.slice(0,V))}d.utf8read=utf8read},89611:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ReflectionBinaryReader=void 0;const v=p(54816);const V=p(67910);const K=p(63402);const ee=p(19526);class ReflectionBinaryReader{constructor(i){this.info=i}prepare(){var i;if(!this.fieldNoToField){const d=(i=this.info.fields)!==null&&i!==void 0?i:[];this.fieldNoToField=new Map(d.map((i=>[i.no,i])))}}read(i,d,p,K){this.prepare();const ee=K===undefined?i.len:i.pos+K;while(i.pos{Object.defineProperty(d,"__esModule",{value:true});d.ReflectionBinaryWriter=void 0;const v=p(54816);const V=p(67910);const K=p(8602);const ee=p(61753);class ReflectionBinaryWriter{constructor(i){this.info=i}prepare(){if(!this.fields){const i=this.info.fields?this.info.fields.concat():[];this.fields=i.sort(((i,d)=>i.no-d.no))}}write(i,d,p){this.prepare();for(const v of this.fields){let ee,te,re=v.repeat,ne=v.localName;if(v.oneof){const d=i[v.oneof];if(d.oneofKind!==ne)continue;ee=d[ne];te=true}else{ee=i[ne];te=false}switch(v.kind){case"scalar":case"enum":let i=v.kind=="enum"?V.ScalarType.INT32:v.T;if(re){K.assert(Array.isArray(ee));if(re==V.RepeatType.PACKED)this.packed(d,i,v.no,ee);else for(const p of ee)this.scalar(d,i,v.no,p,true)}else if(ee===undefined)K.assert(v.opt);else this.scalar(d,i,v.no,ee,te||v.opt);break;case"message":if(re){K.assert(Array.isArray(ee));for(const i of ee)this.message(d,p,v.T(),v.no,i)}else{this.message(d,p,v.T(),v.no,ee)}break;case"map":K.assert(typeof ee=="object"&&ee!==null);for(const[i,V]of Object.entries(ee))this.mapEntry(d,p,v,i,V);break}}let ee=p.writeUnknownFields;if(ee!==false)(ee===true?v.UnknownFieldHandler.onWrite:ee)(this.info.typeName,i,d)}mapEntry(i,d,p,ee,te){i.tag(p.no,v.WireType.LengthDelimited);i.fork();let re=ee;switch(p.K){case V.ScalarType.INT32:case V.ScalarType.FIXED32:case V.ScalarType.UINT32:case V.ScalarType.SFIXED32:case V.ScalarType.SINT32:re=Number.parseInt(ee);break;case V.ScalarType.BOOL:K.assert(ee=="true"||ee=="false");re=ee=="true";break}this.scalar(i,p.K,1,re,true);switch(p.V.kind){case"scalar":this.scalar(i,p.V.T,2,te,true);break;case"enum":this.scalar(i,V.ScalarType.INT32,2,te,true);break;case"message":this.message(i,d,p.V.T(),2,te);break}i.join()}message(i,d,p,V,K){if(K===undefined)return;p.internalBinaryWrite(K,i.tag(V,v.WireType.LengthDelimited).fork(),d);i.join()}scalar(i,d,p,v,V){let[K,ee,te]=this.scalarInfo(d,v);if(!te||V){i.tag(p,K);i[ee](v)}}packed(i,d,p,ee){if(!ee.length)return;K.assert(d!==V.ScalarType.BYTES&&d!==V.ScalarType.STRING);i.tag(p,v.WireType.LengthDelimited);i.fork();let[,te]=this.scalarInfo(d);for(let d=0;d{Object.defineProperty(d,"__esModule",{value:true});d.containsMessageType=void 0;const v=p(43785);function containsMessageType(i){return i[v.MESSAGE_TYPE]!=null}d.containsMessageType=containsMessageType},75726:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.reflectionCreate=void 0;const v=p(19526);const V=p(43785);function reflectionCreate(i){const d=i.messagePrototype?Object.create(i.messagePrototype):Object.defineProperty({},V.MESSAGE_TYPE,{value:i});for(let p of i.fields){let i=p.localName;if(p.opt)continue;if(p.oneof)d[p.oneof]={oneofKind:undefined};else if(p.repeat)d[i]=[];else switch(p.kind){case"scalar":d[i]=v.reflectionScalarDefault(p.T,p.L);break;case"enum":d[i]=0;break;case"map":d[i]={};break}}return d}d.reflectionCreate=reflectionCreate},4827:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.reflectionEquals=void 0;const v=p(67910);function reflectionEquals(i,d,p){if(d===p)return true;if(!d||!p)return false;for(let K of i.fields){let i=K.localName;let ee=K.oneof?d[K.oneof][i]:d[i];let te=K.oneof?p[K.oneof][i]:p[i];switch(K.kind){case"enum":case"scalar":let i=K.kind=="enum"?v.ScalarType.INT32:K.T;if(!(K.repeat?repeatedPrimitiveEq(i,ee,te):primitiveEq(i,ee,te)))return false;break;case"map":if(!(K.V.kind=="message"?repeatedMsgEq(K.V.T(),V(ee),V(te)):repeatedPrimitiveEq(K.V.kind=="enum"?v.ScalarType.INT32:K.V.T,V(ee),V(te))))return false;break;case"message":let d=K.T();if(!(K.repeat?repeatedMsgEq(d,ee,te):d.equals(ee,te)))return false;break}}return true}d.reflectionEquals=reflectionEquals;const V=Object.values;function primitiveEq(i,d,p){if(d===p)return true;if(i!==v.ScalarType.BYTES)return false;let V=d;let K=p;if(V.length!==K.length)return false;for(let i=0;i{Object.defineProperty(d,"__esModule",{value:true});d.readMessageOption=d.readFieldOption=d.readFieldOptions=d.normalizeFieldInfo=d.RepeatType=d.LongType=d.ScalarType=void 0;const v=p(4073);var V;(function(i){i[i["DOUBLE"]=1]="DOUBLE";i[i["FLOAT"]=2]="FLOAT";i[i["INT64"]=3]="INT64";i[i["UINT64"]=4]="UINT64";i[i["INT32"]=5]="INT32";i[i["FIXED64"]=6]="FIXED64";i[i["FIXED32"]=7]="FIXED32";i[i["BOOL"]=8]="BOOL";i[i["STRING"]=9]="STRING";i[i["BYTES"]=12]="BYTES";i[i["UINT32"]=13]="UINT32";i[i["SFIXED32"]=15]="SFIXED32";i[i["SFIXED64"]=16]="SFIXED64";i[i["SINT32"]=17]="SINT32";i[i["SINT64"]=18]="SINT64"})(V=d.ScalarType||(d.ScalarType={}));var K;(function(i){i[i["BIGINT"]=0]="BIGINT";i[i["STRING"]=1]="STRING";i[i["NUMBER"]=2]="NUMBER"})(K=d.LongType||(d.LongType={}));var ee;(function(i){i[i["NO"]=0]="NO";i[i["PACKED"]=1]="PACKED";i[i["UNPACKED"]=2]="UNPACKED"})(ee=d.RepeatType||(d.RepeatType={}));function normalizeFieldInfo(i){var d,p,V,K;i.localName=(d=i.localName)!==null&&d!==void 0?d:v.lowerCamelCase(i.name);i.jsonName=(p=i.jsonName)!==null&&p!==void 0?p:v.lowerCamelCase(i.name);i.repeat=(V=i.repeat)!==null&&V!==void 0?V:ee.NO;i.opt=(K=i.opt)!==null&&K!==void 0?K:i.repeat?false:i.oneof?false:i.kind=="message";return i}d.normalizeFieldInfo=normalizeFieldInfo;function readFieldOptions(i,d,p,v){var V;const K=(V=i.fields.find(((i,p)=>i.localName==d||p==d)))===null||V===void 0?void 0:V.options;return K&&K[p]?v.fromJson(K[p]):undefined}d.readFieldOptions=readFieldOptions;function readFieldOption(i,d,p,v){var V;const K=(V=i.fields.find(((i,p)=>i.localName==d||p==d)))===null||V===void 0?void 0:V.options;if(!K){return undefined}const ee=K[p];if(ee===undefined){return ee}return v?v.fromJson(ee):ee}d.readFieldOption=readFieldOption;function readMessageOption(i,d,p){const v=i.options;const V=v[d];if(V===undefined){return V}return p?p.fromJson(V):V}d.readMessageOption=readMessageOption},46790:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ReflectionJsonReader=void 0;const v=p(49999);const V=p(26335);const K=p(67910);const ee=p(61753);const te=p(8602);const re=p(63402);class ReflectionJsonReader{constructor(i){this.info=i}prepare(){var i;if(this.fMap===undefined){this.fMap={};const d=(i=this.info.fields)!==null&&i!==void 0?i:[];for(const i of d){this.fMap[i.name]=i;this.fMap[i.jsonName]=i;this.fMap[i.localName]=i}}}assert(i,d,p){if(!i){let i=v.typeofJsonValue(p);if(i=="number"||i=="boolean")i=p.toString();throw new Error(`Cannot parse JSON ${i} for ${this.info.typeName}#${d}`)}}read(i,d,p){this.prepare();const V=[];for(const[ee,te]of Object.entries(i)){const i=this.fMap[ee];if(!i){if(!p.ignoreUnknownFields)throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${ee}`);continue}const re=i.localName;let ne;if(i.oneof){if(te===null&&(i.kind!=="enum"||i.T()[0]!=="google.protobuf.NullValue")){continue}if(V.includes(i.oneof))throw new Error(`Multiple members of the oneof group "${i.oneof}" of ${this.info.typeName} are present in JSON.`);V.push(i.oneof);ne=d[i.oneof]={oneofKind:re}}else{ne=d}if(i.kind=="map"){if(te===null){continue}this.assert(v.isJsonObject(te),i.name,te);const d=ne[re];for(const[v,V]of Object.entries(te)){this.assert(V!==null,i.name+" map value",null);let ee;switch(i.V.kind){case"message":ee=i.V.T().internalJsonRead(V,p);break;case"enum":ee=this.enum(i.V.T(),V,i.name,p.ignoreUnknownFields);if(ee===false)continue;break;case"scalar":ee=this.scalar(V,i.V.T,i.V.L,i.name);break}this.assert(ee!==undefined,i.name+" map value",V);let te=v;if(i.K==K.ScalarType.BOOL)te=te=="true"?true:te=="false"?false:te;te=this.scalar(te,i.K,K.LongType.STRING,i.name).toString();d[te]=ee}}else if(i.repeat){if(te===null)continue;this.assert(Array.isArray(te),i.name,te);const d=ne[re];for(const v of te){this.assert(v!==null,i.name,null);let V;switch(i.kind){case"message":V=i.T().internalJsonRead(v,p);break;case"enum":V=this.enum(i.T(),v,i.name,p.ignoreUnknownFields);if(V===false)continue;break;case"scalar":V=this.scalar(v,i.T,i.L,i.name);break}this.assert(V!==undefined,i.name,te);d.push(V)}}else{switch(i.kind){case"message":if(te===null&&i.T().typeName!="google.protobuf.Value"){this.assert(i.oneof===undefined,i.name+" (oneof member)",null);continue}ne[re]=i.T().internalJsonRead(te,p,ne[re]);break;case"enum":let d=this.enum(i.T(),te,i.name,p.ignoreUnknownFields);if(d===false)continue;ne[re]=d;break;case"scalar":ne[re]=this.scalar(te,i.T,i.L,i.name);break}}}}enum(i,d,p,v){if(i[0]=="google.protobuf.NullValue")te.assert(d===null||d==="NULL_VALUE",`Unable to parse field ${this.info.typeName}#${p}, enum ${i[0]} only accepts null.`);if(d===null)return 0;switch(typeof d){case"number":te.assert(Number.isInteger(d),`Unable to parse field ${this.info.typeName}#${p}, enum can only be integral number, got ${d}.`);return d;case"string":let V=d;if(i[2]&&d.substring(0,i[2].length)===i[2])V=d.substring(i[2].length);let K=i[1][V];if(typeof K==="undefined"&&v){return false}te.assert(typeof K=="number",`Unable to parse field ${this.info.typeName}#${p}, enum ${i[0]} has no value for "${d}".`);return K}te.assert(false,`Unable to parse field ${this.info.typeName}#${p}, cannot parse enum value from ${typeof d}".`)}scalar(i,d,p,v){let ne;try{switch(d){case K.ScalarType.DOUBLE:case K.ScalarType.FLOAT:if(i===null)return 0;if(i==="NaN")return Number.NaN;if(i==="Infinity")return Number.POSITIVE_INFINITY;if(i==="-Infinity")return Number.NEGATIVE_INFINITY;if(i===""){ne="empty string";break}if(typeof i=="string"&&i.trim().length!==i.length){ne="extra whitespace";break}if(typeof i!="string"&&typeof i!="number"){break}let v=Number(i);if(Number.isNaN(v)){ne="not a number";break}if(!Number.isFinite(v)){ne="too large or small";break}if(d==K.ScalarType.FLOAT)te.assertFloat32(v);return v;case K.ScalarType.INT32:case K.ScalarType.FIXED32:case K.ScalarType.SFIXED32:case K.ScalarType.SINT32:case K.ScalarType.UINT32:if(i===null)return 0;let se;if(typeof i=="number")se=i;else if(i==="")ne="empty string";else if(typeof i=="string"){if(i.trim().length!==i.length)ne="extra whitespace";else se=Number(i)}if(se===undefined)break;if(d==K.ScalarType.UINT32)te.assertUInt32(se);else te.assertInt32(se);return se;case K.ScalarType.INT64:case K.ScalarType.SFIXED64:case K.ScalarType.SINT64:if(i===null)return re.reflectionLongConvert(ee.PbLong.ZERO,p);if(typeof i!="number"&&typeof i!="string")break;return re.reflectionLongConvert(ee.PbLong.from(i),p);case K.ScalarType.FIXED64:case K.ScalarType.UINT64:if(i===null)return re.reflectionLongConvert(ee.PbULong.ZERO,p);if(typeof i!="number"&&typeof i!="string")break;return re.reflectionLongConvert(ee.PbULong.from(i),p);case K.ScalarType.BOOL:if(i===null)return false;if(typeof i!=="boolean")break;return i;case K.ScalarType.STRING:if(i===null)return"";if(typeof i!=="string"){ne="extra whitespace";break}try{encodeURIComponent(i)}catch(ne){ne="invalid UTF8";break}return i;case K.ScalarType.BYTES:if(i===null||i==="")return new Uint8Array(0);if(typeof i!=="string")break;return V.base64decode(i)}}catch(i){ne=i.message}this.assert(false,v+(ne?" - "+ne:""),i)}}d.ReflectionJsonReader=ReflectionJsonReader},11094:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ReflectionJsonWriter=void 0;const v=p(26335);const V=p(61753);const K=p(67910);const ee=p(8602);class ReflectionJsonWriter{constructor(i){var d;this.fields=(d=i.fields)!==null&&d!==void 0?d:[]}write(i,d){const p={},v=i;for(const i of this.fields){if(!i.oneof){let V=this.field(i,v[i.localName],d);if(V!==undefined)p[d.useProtoFieldName?i.name:i.jsonName]=V;continue}const V=v[i.oneof];if(V.oneofKind!==i.localName)continue;const K=i.kind=="scalar"||i.kind=="enum"?Object.assign(Object.assign({},d),{emitDefaultValues:true}):d;let te=this.field(i,V[i.localName],K);ee.assert(te!==undefined);p[d.useProtoFieldName?i.name:i.jsonName]=te}return p}field(i,d,p){let v=undefined;if(i.kind=="map"){ee.assert(typeof d=="object"&&d!==null);const V={};switch(i.V.kind){case"scalar":for(const[p,v]of Object.entries(d)){const d=this.scalar(i.V.T,v,i.name,false,true);ee.assert(d!==undefined);V[p.toString()]=d}break;case"message":const v=i.V.T();for(const[K,te]of Object.entries(d)){const d=this.message(v,te,i.name,p);ee.assert(d!==undefined);V[K.toString()]=d}break;case"enum":const K=i.V.T();for(const[v,te]of Object.entries(d)){ee.assert(te===undefined||typeof te=="number");const d=this.enum(K,te,i.name,false,true,p.enumAsInteger);ee.assert(d!==undefined);V[v.toString()]=d}break}if(p.emitDefaultValues||Object.keys(V).length>0)v=V}else if(i.repeat){ee.assert(Array.isArray(d));const V=[];switch(i.kind){case"scalar":for(let p=0;p0||p.emitDefaultValues)v=V}else{switch(i.kind){case"scalar":v=this.scalar(i.T,d,i.name,i.opt,p.emitDefaultValues);break;case"enum":v=this.enum(i.T(),d,i.name,i.opt,p.emitDefaultValues,p.enumAsInteger);break;case"message":v=this.message(i.T(),d,i.name,p);break}}return v}enum(i,d,p,v,V,K){if(i[0]=="google.protobuf.NullValue")return!V&&!v?undefined:null;if(d===undefined){ee.assert(v);return undefined}if(d===0&&!V&&!v)return undefined;ee.assert(typeof d=="number");ee.assert(Number.isInteger(d));if(K||!i[1].hasOwnProperty(d))return d;if(i[2])return i[2]+i[1][d];return i[1][d]}message(i,d,p,v){if(d===undefined)return v.emitDefaultValues?null:undefined;return i.internalJsonWrite(d,v)}scalar(i,d,p,te,re){if(d===undefined){ee.assert(te);return undefined}const ne=re||te;switch(i){case K.ScalarType.INT32:case K.ScalarType.SFIXED32:case K.ScalarType.SINT32:if(d===0)return ne?0:undefined;ee.assertInt32(d);return d;case K.ScalarType.FIXED32:case K.ScalarType.UINT32:if(d===0)return ne?0:undefined;ee.assertUInt32(d);return d;case K.ScalarType.FLOAT:ee.assertFloat32(d);case K.ScalarType.DOUBLE:if(d===0)return ne?0:undefined;ee.assert(typeof d=="number");if(Number.isNaN(d))return"NaN";if(d===Number.POSITIVE_INFINITY)return"Infinity";if(d===Number.NEGATIVE_INFINITY)return"-Infinity";return d;case K.ScalarType.STRING:if(d==="")return ne?"":undefined;ee.assert(typeof d=="string");return d;case K.ScalarType.BOOL:if(d===false)return ne?false:undefined;ee.assert(typeof d=="boolean");return d;case K.ScalarType.UINT64:case K.ScalarType.FIXED64:ee.assert(typeof d=="number"||typeof d=="string"||typeof d=="bigint");let i=V.PbULong.from(d);if(i.isZero()&&!ne)return undefined;return i.toString();case K.ScalarType.INT64:case K.ScalarType.SFIXED64:case K.ScalarType.SINT64:ee.assert(typeof d=="number"||typeof d=="string"||typeof d=="bigint");let p=V.PbLong.from(d);if(p.isZero()&&!ne)return undefined;return p.toString();case K.ScalarType.BYTES:ee.assert(d instanceof Uint8Array);if(!d.byteLength)return ne?"":undefined;return v.base64encode(d)}}}d.ReflectionJsonWriter=ReflectionJsonWriter},63402:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.reflectionLongConvert=void 0;const v=p(67910);function reflectionLongConvert(i,d){switch(d){case v.LongType.BIGINT:return i.toBigInt();case v.LongType.NUMBER:return i.toNumber();default:return i.toString()}}d.reflectionLongConvert=reflectionLongConvert},98044:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.reflectionMergePartial=void 0;function reflectionMergePartial(i,d,p){let v,V=p,K;for(let p of i.fields){let i=p.localName;if(p.oneof){const ee=V[p.oneof];if((ee===null||ee===void 0?void 0:ee.oneofKind)==undefined){continue}v=ee[i];K=d[p.oneof];K.oneofKind=ee.oneofKind;if(v==undefined){delete K[i];continue}}else{v=V[i];K=d;if(v==undefined){continue}}if(p.repeat)K[i].length=v.length;switch(p.kind){case"scalar":case"enum":if(p.repeat)for(let d=0;d{Object.defineProperty(d,"__esModule",{value:true});d.reflectionScalarDefault=void 0;const v=p(67910);const V=p(63402);const K=p(61753);function reflectionScalarDefault(i,d=v.LongType.STRING){switch(i){case v.ScalarType.BOOL:return false;case v.ScalarType.UINT64:case v.ScalarType.FIXED64:return V.reflectionLongConvert(K.PbULong.ZERO,d);case v.ScalarType.INT64:case v.ScalarType.SFIXED64:case v.ScalarType.SINT64:return V.reflectionLongConvert(K.PbLong.ZERO,d);case v.ScalarType.DOUBLE:case v.ScalarType.FLOAT:return 0;case v.ScalarType.BYTES:return new Uint8Array(0);case v.ScalarType.STRING:return"";default:return 0}}d.reflectionScalarDefault=reflectionScalarDefault},25167:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ReflectionTypeCheck=void 0;const v=p(67910);const V=p(18063);class ReflectionTypeCheck{constructor(i){var d;this.fields=(d=i.fields)!==null&&d!==void 0?d:[]}prepare(){if(this.data)return;const i=[],d=[],p=[];for(let v of this.fields){if(v.oneof){if(!p.includes(v.oneof)){p.push(v.oneof);i.push(v.oneof);d.push(v.oneof)}}else{d.push(v.localName);switch(v.kind){case"scalar":case"enum":if(!v.opt||v.repeat)i.push(v.localName);break;case"message":if(v.repeat)i.push(v.localName);break;case"map":i.push(v.localName);break}}}this.data={req:i,known:d,oneofs:Object.values(p)}}is(i,d,p=false){if(d<0)return true;if(i===null||i===undefined||typeof i!="object")return false;this.prepare();let v=Object.keys(i),K=this.data;if(v.length!v.includes(i))))return false;if(!p){if(v.some((i=>!K.known.includes(i))))return false}if(d<1){return true}for(const v of K.oneofs){const K=i[v];if(!V.isOneofGroup(K))return false;if(K.oneofKind===undefined)continue;const ee=this.fields.find((i=>i.localName===K.oneofKind));if(!ee)return false;if(!this.field(K[K.oneofKind],ee,p,d))return false}for(const v of this.fields){if(v.oneof!==undefined)continue;if(!this.field(i[v.localName],v,p,d))return false}return true}field(i,d,p,V){let K=d.repeat;switch(d.kind){case"scalar":if(i===undefined)return d.opt;if(K)return this.scalars(i,d.T,V,d.L);return this.scalar(i,d.T,d.L);case"enum":if(i===undefined)return d.opt;if(K)return this.scalars(i,v.ScalarType.INT32,V);return this.scalar(i,v.ScalarType.INT32);case"message":if(i===undefined)return true;if(K)return this.messages(i,d.T(),p,V);return this.message(i,d.T(),p,V);case"map":if(typeof i!="object"||i===null)return false;if(V<2)return true;if(!this.mapKeys(i,d.K,V))return false;switch(d.V.kind){case"scalar":return this.scalars(Object.values(i),d.V.T,V,d.V.L);case"enum":return this.scalars(Object.values(i),v.ScalarType.INT32,V);case"message":return this.messages(Object.values(i),d.V.T(),p,V)}break}return true}message(i,d,p,v){if(p){return d.isAssignable(i,v)}return d.is(i,v)}messages(i,d,p,v){if(!Array.isArray(i))return false;if(v<2)return true;if(p){for(let p=0;pparseInt(i))),d,p);case v.ScalarType.BOOL:return this.scalars(V.slice(0,p).map((i=>i=="true"?true:i=="false"?false:i)),d,p);default:return this.scalars(V,d,p,v.LongType.STRING)}}}d.ReflectionTypeCheck=ReflectionTypeCheck},39316:(i,d,p)=>{var v=p(56716);var V=p(76324);var K=p(79674);const ee="AWS_USE_DUALSTACK_ENDPOINT";const te="use_dualstack_endpoint";const re=false;const ne={environmentVariableSelector:i=>v.booleanSelector(i,ee,v.SelectorType.ENV),configFileSelector:i=>v.booleanSelector(i,te,v.SelectorType.CONFIG),default:false};const se="AWS_USE_FIPS_ENDPOINT";const ie="use_fips_endpoint";const oe=false;const ae={environmentVariableSelector:i=>v.booleanSelector(i,se,v.SelectorType.ENV),configFileSelector:i=>v.booleanSelector(i,ie,v.SelectorType.CONFIG),default:false};const resolveCustomEndpointsConfig=i=>{const{tls:d,endpoint:p,urlParser:v,useDualstackEndpoint:K}=i;return Object.assign(i,{tls:d??true,endpoint:V.normalizeProvider(typeof p==="string"?v(p):p),isCustomEndpoint:true,useDualstackEndpoint:V.normalizeProvider(K??false)})};const getEndpointFromRegion=async i=>{const{tls:d=true}=i;const p=await i.region();const v=new RegExp(/^([a-zA-Z0-9]|[a-zA-Z0-9][a-zA-Z0-9-]{0,61}[a-zA-Z0-9])$/);if(!v.test(p)){throw new Error("Invalid region in client config")}const V=await i.useDualstackEndpoint();const K=await i.useFipsEndpoint();const{hostname:ee}=await i.regionInfoProvider(p,{useDualstackEndpoint:V,useFipsEndpoint:K})??{};if(!ee){throw new Error("Cannot resolve hostname from client config")}return i.urlParser(`${d?"https:":"http:"}//${ee}`)};const resolveEndpointsConfig=i=>{const d=V.normalizeProvider(i.useDualstackEndpoint??false);const{endpoint:p,useFipsEndpoint:v,urlParser:K,tls:ee}=i;return Object.assign(i,{tls:ee??true,endpoint:p?V.normalizeProvider(typeof p==="string"?K(p):p):()=>getEndpointFromRegion({...i,useDualstackEndpoint:d,useFipsEndpoint:v}),isCustomEndpoint:!!p,useDualstackEndpoint:d})};const Ae="AWS_REGION";const ce="region";const le={environmentVariableSelector:i=>i[Ae],configFileSelector:i=>i[ce],default:()=>{throw new Error("Region is missing")}};const ue={preferredFile:"credentials"};const de=new Set;const checkRegion=(i,d=K.isValidHostLabel)=>{if(!de.has(i)&&!d(i)){if(i==="*"){console.warn(`@smithy/config-resolver WARN - Please use the caller region instead of "*". See "sigv4a" in https://github.com/aws/aws-sdk-js-v3/blob/main/supplemental-docs/CLIENTS.md.`)}else{throw new Error(`Region not accepted: region="${i}" is not a valid hostname component.`)}}else{de.add(i)}};const isFipsRegion=i=>typeof i==="string"&&(i.startsWith("fips-")||i.endsWith("-fips"));const getRealRegion=i=>isFipsRegion(i)?["fips-aws-global","aws-fips"].includes(i)?"us-east-1":i.replace(/fips-(dkr-|prod-)?|-fips/,""):i;const resolveRegionConfig=i=>{const{region:d,useFipsEndpoint:p}=i;if(!d){throw new Error("Region is missing")}return Object.assign(i,{region:async()=>{const i=typeof d==="function"?await d():d;const p=getRealRegion(i);checkRegion(p);return p},useFipsEndpoint:async()=>{const i=typeof d==="string"?d:await d();if(isFipsRegion(i)){return true}return typeof p!=="function"?Promise.resolve(!!p):p()}})};const getHostnameFromVariants=(i=[],{useFipsEndpoint:d,useDualstackEndpoint:p})=>i.find((({tags:i})=>d===i.includes("fips")&&p===i.includes("dualstack")))?.hostname;const getResolvedHostname=(i,{regionHostname:d,partitionHostname:p})=>d?d:p?p.replace("{region}",i):undefined;const getResolvedPartition=(i,{partitionHash:d})=>Object.keys(d||{}).find((p=>d[p].regions.includes(i)))??"aws";const getResolvedSigningRegion=(i,{signingRegion:d,regionRegex:p,useFipsEndpoint:v})=>{if(d){return d}else if(v){const d=p.replace("\\\\","\\").replace(/^\^/g,"\\.").replace(/\$$/g,"\\.");const v=i.match(d);if(v){return v[0].slice(1,-1)}}};const getRegionInfo=(i,{useFipsEndpoint:d=false,useDualstackEndpoint:p=false,signingService:v,regionHash:V,partitionHash:K})=>{const ee=getResolvedPartition(i,{partitionHash:K});const te=i in V?i:K[ee]?.endpoint??i;const re={useFipsEndpoint:d,useDualstackEndpoint:p};const ne=getHostnameFromVariants(V[te]?.variants,re);const se=getHostnameFromVariants(K[ee]?.variants,re);const ie=getResolvedHostname(te,{regionHostname:ne,partitionHostname:se});if(ie===undefined){throw new Error(`Endpoint resolution failed for: ${{resolvedRegion:te,useFipsEndpoint:d,useDualstackEndpoint:p}}`)}const oe=getResolvedSigningRegion(ie,{signingRegion:V[te]?.signingRegion,regionRegex:K[ee].regionRegex,useFipsEndpoint:d});return{partition:ee,signingService:v,hostname:ie,...oe&&{signingRegion:oe},...V[te]?.signingService&&{signingService:V[te].signingService}}};d.CONFIG_USE_DUALSTACK_ENDPOINT=te;d.CONFIG_USE_FIPS_ENDPOINT=ie;d.DEFAULT_USE_DUALSTACK_ENDPOINT=re;d.DEFAULT_USE_FIPS_ENDPOINT=oe;d.ENV_USE_DUALSTACK_ENDPOINT=ee;d.ENV_USE_FIPS_ENDPOINT=se;d.NODE_REGION_CONFIG_FILE_OPTIONS=ue;d.NODE_REGION_CONFIG_OPTIONS=le;d.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS=ne;d.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS=ae;d.REGION_ENV_NAME=Ae;d.REGION_INI_NAME=ce;d.getRegionInfo=getRegionInfo;d.resolveCustomEndpointsConfig=resolveCustomEndpointsConfig;d.resolveEndpointsConfig=resolveEndpointsConfig;d.resolveRegionConfig=resolveRegionConfig},90402:(i,d,p)=>{var v=p(90690);var V=p(76324);var K=p(83255);var ee=p(72356);var te=p(93422);const getSmithyContext=i=>i[v.SMITHY_CONTEXT_KEY]||(i[v.SMITHY_CONTEXT_KEY]={});const resolveAuthOptions=(i,d)=>{if(!d||d.length===0){return i}const p=[];for(const v of d){for(const d of i){const i=d.schemeId.split("#")[1];if(i===v){p.push(d)}}}for(const d of i){if(!p.find((({schemeId:i})=>i===d.schemeId))){p.push(d)}}return p};function convertHttpAuthSchemesToMap(i){const d=new Map;for(const p of i){d.set(p.schemeId,p)}return d}const httpAuthSchemeMiddleware=(i,d)=>(p,v)=>async K=>{const ee=i.httpAuthSchemeProvider(await d.httpAuthSchemeParametersProvider(i,v,K.input));const te=i.authSchemePreference?await i.authSchemePreference():[];const re=resolveAuthOptions(ee,te);const ne=convertHttpAuthSchemesToMap(i.httpAuthSchemes);const se=V.getSmithyContext(v);const ie=[];for(const p of re){const V=ne.get(p.schemeId);if(!V){ie.push(`HttpAuthScheme \`${p.schemeId}\` was not enabled for this service.`);continue}const K=V.identityProvider(await d.identityProviderConfigProvider(i));if(!K){ie.push(`HttpAuthScheme \`${p.schemeId}\` did not have an IdentityProvider configured.`);continue}const{identityProperties:ee={},signingProperties:te={}}=p.propertiesExtractor?.(i,v)||{};p.identityProperties=Object.assign(p.identityProperties||{},ee);p.signingProperties=Object.assign(p.signingProperties||{},te);se.selectedHttpAuthScheme={httpAuthOption:p,identity:await K(p.identityProperties),signer:V.signer};break}if(!se.selectedHttpAuthScheme){throw new Error(ie.join("\n"))}return p(K)};const re={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:true,relation:"before",toMiddleware:"endpointV2Middleware"};const getHttpAuthSchemeEndpointRuleSetPlugin=(i,{httpAuthSchemeParametersProvider:d,identityProviderConfigProvider:p})=>({applyToStack:v=>{v.addRelativeTo(httpAuthSchemeMiddleware(i,{httpAuthSchemeParametersProvider:d,identityProviderConfigProvider:p}),re)}});const ne={step:"serialize",tags:["HTTP_AUTH_SCHEME"],name:"httpAuthSchemeMiddleware",override:true,relation:"before",toMiddleware:K.serializerMiddlewareOption.name};const getHttpAuthSchemePlugin=(i,{httpAuthSchemeParametersProvider:d,identityProviderConfigProvider:p})=>({applyToStack:v=>{v.addRelativeTo(httpAuthSchemeMiddleware(i,{httpAuthSchemeParametersProvider:d,identityProviderConfigProvider:p}),ne)}});const defaultErrorHandler=i=>i=>{throw i};const defaultSuccessHandler=(i,d)=>{};const httpSigningMiddleware=i=>(i,d)=>async p=>{if(!ee.HttpRequest.isInstance(p.request)){return i(p)}const v=V.getSmithyContext(d);const K=v.selectedHttpAuthScheme;if(!K){throw new Error(`No HttpAuthScheme was selected: unable to sign request`)}const{httpAuthOption:{signingProperties:te={}},identity:re,signer:ne}=K;const se=await i({...p,request:await ne.sign(p.request,re,te)}).catch((ne.errorHandler||defaultErrorHandler)(te));(ne.successHandler||defaultSuccessHandler)(se.response,te);return se};const se={step:"finalizeRequest",tags:["HTTP_SIGNING"],name:"httpSigningMiddleware",aliases:["apiKeyMiddleware","tokenMiddleware","awsAuthMiddleware"],override:true,relation:"after",toMiddleware:"retryMiddleware"};const getHttpSigningPlugin=i=>({applyToStack:i=>{i.addRelativeTo(httpSigningMiddleware(),se)}});const normalizeProvider=i=>{if(typeof i==="function")return i;const d=Promise.resolve(i);return()=>d};const makePagedClientRequest=async(i,d,p,v=i=>i,...V)=>{let K=new i(p);K=v(K)??K;return await d.send(K,...V)};function createPaginator(i,d,p,v,V){return async function*paginateOperation(K,ee,...te){const re=ee;let ne=K.startingToken??re[p];let se=true;let ie;while(se){re[p]=ne;if(V){re[V]=re[V]??K.pageSize}if(K.client instanceof i){ie=await makePagedClientRequest(d,K.client,ee,K.withCommand,...te)}else{throw new Error(`Invalid client, expected instance of ${i.name}`)}yield ie;const oe=ne;ne=get(ie,v);se=!!(ne&&(!K.stopOnSameToken||ne!==oe))}return undefined}}const get=(i,d)=>{let p=i;const v=d.split(".");for(const i of v){if(!p||typeof p!=="object"){return undefined}p=p[i]}return p};function setFeature(i,d,p){if(!i.__smithy_context){i.__smithy_context={features:{}}}else if(!i.__smithy_context.features){i.__smithy_context.features={}}i.__smithy_context.features[d]=p}class DefaultIdentityProviderConfig{authSchemes=new Map;constructor(i){for(const[d,p]of Object.entries(i)){if(p!==undefined){this.authSchemes.set(d,p)}}}getIdentityProvider(i){return this.authSchemes.get(i)}}class HttpApiKeyAuthSigner{async sign(i,d,p){if(!p){throw new Error("request could not be signed with `apiKey` since the `name` and `in` signer properties are missing")}if(!p.name){throw new Error("request could not be signed with `apiKey` since the `name` signer property is missing")}if(!p.in){throw new Error("request could not be signed with `apiKey` since the `in` signer property is missing")}if(!d.apiKey){throw new Error("request could not be signed with `apiKey` since the `apiKey` is not defined")}const V=ee.HttpRequest.clone(i);if(p.in===v.HttpApiKeyAuthLocation.QUERY){V.query[p.name]=d.apiKey}else if(p.in===v.HttpApiKeyAuthLocation.HEADER){V.headers[p.name]=p.scheme?`${p.scheme} ${d.apiKey}`:d.apiKey}else{throw new Error("request can only be signed with `apiKey` locations `query` or `header`, "+"but found: `"+p.in+"`")}return V}}class HttpBearerAuthSigner{async sign(i,d,p){const v=ee.HttpRequest.clone(i);if(!d.token){throw new Error("request could not be signed with `token` since the `token` is not defined")}v.headers["Authorization"]=`Bearer ${d.token}`;return v}}class NoAuthSigner{async sign(i,d,p){return i}}const createIsIdentityExpiredFunction=i=>function isIdentityExpired(d){return doesIdentityRequireRefresh(d)&&d.expiration.getTime()-Date.now()i.expiration!==undefined;const memoizeIdentityProvider=(i,d,p)=>{if(i===undefined){return undefined}const v=typeof i!=="function"?async()=>Promise.resolve(i):i;let V;let K;let ee;let te=false;const coalesceProvider=async i=>{if(!K){K=v(i)}try{V=await K;ee=true;te=false}finally{K=undefined}return V};if(d===undefined){return async i=>{if(!ee||i?.forceRefresh){V=await coalesceProvider(i)}return V}}return async i=>{if(!ee||i?.forceRefresh){V=await coalesceProvider(i)}if(te){return V}if(!p(V)){te=true;return V}if(d(V)){await coalesceProvider(i);return V}return V}};Object.defineProperty(d,"requestBuilder",{enumerable:true,get:function(){return te.requestBuilder}});d.DefaultIdentityProviderConfig=DefaultIdentityProviderConfig;d.EXPIRATION_MS=ie;d.HttpApiKeyAuthSigner=HttpApiKeyAuthSigner;d.HttpBearerAuthSigner=HttpBearerAuthSigner;d.NoAuthSigner=NoAuthSigner;d.createIsIdentityExpiredFunction=createIsIdentityExpiredFunction;d.createPaginator=createPaginator;d.doesIdentityRequireRefresh=doesIdentityRequireRefresh;d.getHttpAuthSchemeEndpointRuleSetPlugin=getHttpAuthSchemeEndpointRuleSetPlugin;d.getHttpAuthSchemePlugin=getHttpAuthSchemePlugin;d.getHttpSigningPlugin=getHttpSigningPlugin;d.getSmithyContext=getSmithyContext;d.httpAuthSchemeEndpointRuleSetMiddlewareOptions=re;d.httpAuthSchemeMiddleware=httpAuthSchemeMiddleware;d.httpAuthSchemeMiddlewareOptions=ne;d.httpSigningMiddleware=httpSigningMiddleware;d.httpSigningMiddlewareOptions=se;d.isIdentityExpired=oe;d.memoizeIdentityProvider=memoizeIdentityProvider;d.normalizeProvider=normalizeProvider;d.setFeature=setFeature},64645:(i,d,p)=>{var v=p(92430);var V=p(71577);var K=p(93422);var ee=p(72356);var te=p(12098);var re=p(26890);var ne=p(76324);var se=p(68385);const ie=0;const oe=1;const ae=2;const Ae=3;const ce=4;const le=5;const ue=6;const de=7;const he=20;const fe=21;const ge=22;const pe=23;const me=24;const Ee=25;const Ce=26;const ye=27;const Ie=31;function alloc(i){return typeof Buffer!=="undefined"?Buffer.alloc(i):new Uint8Array(i)}const Be=Symbol("@smithy/core/cbor::tagSymbol");function tag(i){i[Be]=true;return i}const Qe=typeof TextDecoder!=="undefined";const be=typeof Buffer!=="undefined";let we=alloc(0);let Se=new DataView(we.buffer,we.byteOffset,we.byteLength);const Re=Qe?new TextDecoder:null;let ve=0;function setPayload(i){we=i;Se=new DataView(we.buffer,we.byteOffset,we.byteLength)}function decode(i,d){if(i>=d){throw new Error("unexpected end of (decode) payload.")}const p=(we[i]&224)>>5;const V=we[i]&31;switch(p){case ie:case oe:case ue:let K;let ee;if(V<24){K=V;ee=1}else{switch(V){case me:case Ee:case Ce:case ye:const p=ke[V];const v=p+1;ee=v;if(d-i>7;const v=(i&124)>>2;const V=(i&3)<<8|d;const K=p===0?1:-1;let ee;let te;if(v===0){if(V===0){return 0}else{ee=Math.pow(2,1-15);te=0}}else if(v===31){if(V===0){return K*Infinity}else{return NaN}}else{ee=Math.pow(2,v-15);te=1}te+=V/1024;return K*(ee*te)}function decodeCount(i,d){const p=we[i]&31;if(p<24){ve=1;return p}if(p===me||p===Ee||p===Ce||p===ye){const v=ke[p];ve=v+1;if(d-i>5;const K=we[i]&31;if(V!==Ae){throw new Error(`unexpected major type ${V} in indefinite string.`)}if(K===Ie){throw new Error("nested indefinite string.")}const ee=decodeUnstructuredByteString(i,d);const te=ve;i+=te;for(let i=0;i>5;const K=we[i]&31;if(V!==ae){throw new Error(`unexpected major type ${V} in indefinite string.`)}if(K===Ie){throw new Error("nested indefinite string.")}const ee=decodeUnstructuredByteString(i,d);const te=ve;i+=te;for(let i=0;i=d){throw new Error("unexpected end of map payload.")}const p=(we[i]&224)>>5;if(p!==Ae){throw new Error(`unexpected major type ${p} for map key at index ${i}.`)}const v=decode(i,d);i+=ve;const V=decode(i,d);i+=ve;K[v]=V}ve=v+(i-V);return K}function decodeMapIndefinite(i,d){i+=1;const p=i;const v={};for(;i=d){throw new Error("unexpected end of map payload.")}if(we[i]===255){ve=i-p+2;return v}const V=(we[i]&224)>>5;if(V!==Ae){throw new Error(`unexpected major type ${V} for map key.`)}const K=decode(i,d);i+=ve;const ee=decode(i,d);i+=ve;v[K]=ee}throw new Error("expected break marker.")}function decodeSpecial(i,d){const p=we[i]&31;switch(p){case fe:case he:ve=1;return p===fe;case ge:ve=1;return null;case pe:ve=1;return null;case Ee:if(d-i<3){throw new Error("incomplete float16 at end of buf.")}ve=3;return bytesToFloat16(we[i+1],we[i+2]);case Ce:if(d-i<5){throw new Error("incomplete float32 at end of buf.")}ve=5;return Se.getFloat32(i+1);case ye:if(d-i<9){throw new Error("incomplete float64 at end of buf.")}ve=9;return Se.getFloat64(i+1);default:throw new Error(`unexpected minor value ${p}.`)}}function castBigInt(i){if(typeof i==="number"){return i}const d=Number(i);if(Number.MIN_SAFE_INTEGER<=d&&d<=Number.MAX_SAFE_INTEGER){return d}return i}const Te=typeof Buffer!=="undefined";const Ne=2048;let De=alloc(Ne);let xe=new DataView(De.buffer,De.byteOffset,De.byteLength);let Fe=0;function ensureSpace(i){const d=De.byteLength-Fe;if(d=0;const p=d?ie:oe;const v=d?i:-i-1;if(v<24){De[Fe++]=p<<5|v}else if(v<256){De[Fe++]=p<<5|24;De[Fe++]=v}else if(v<65536){De[Fe++]=p<<5|Ee;De[Fe++]=v>>8;De[Fe++]=v}else if(v<4294967296){De[Fe++]=p<<5|Ce;xe.setUint32(Fe,v);Fe+=4}else{De[Fe++]=p<<5|ye;xe.setBigUint64(Fe,BigInt(v));Fe+=8}continue}De[Fe++]=de<<5|ye;xe.setFloat64(Fe,i);Fe+=8;continue}else if(typeof i==="bigint"){const d=i>=0;const p=d?ie:oe;const v=d?i:-i-BigInt(1);const V=Number(v);if(V<24){De[Fe++]=p<<5|V}else if(V<256){De[Fe++]=p<<5|24;De[Fe++]=V}else if(V<65536){De[Fe++]=p<<5|Ee;De[Fe++]=V>>8;De[Fe++]=V&255}else if(V<4294967296){De[Fe++]=p<<5|Ce;xe.setUint32(Fe,V);Fe+=4}else if(v=0){p[p.byteLength-K]=Number(V&BigInt(255));V>>=BigInt(8)}ensureSpace(p.byteLength*2);De[Fe++]=d?194:195;if(Te){encodeHeader(ae,Buffer.byteLength(p))}else{encodeHeader(ae,p.byteLength)}De.set(p,Fe);Fe+=p.byteLength}continue}else if(i===null){De[Fe++]=de<<5|ge;continue}else if(typeof i==="boolean"){De[Fe++]=de<<5|(i?fe:he);continue}else if(typeof i==="undefined"){throw new Error("@smithy/core/cbor: client may not serialize undefined value.")}else if(Array.isArray(i)){for(let p=i.length-1;p>=0;--p){d.push(i[p])}encodeHeader(ce,i.length);continue}else if(typeof i.byteLength==="number"){ensureSpace(i.length*2);encodeHeader(ae,i.length);De.set(i,Fe);Fe+=i.byteLength;continue}else if(typeof i==="object"){if(i instanceof v.NumericValue){const p=i.string.indexOf(".");const v=p===-1?0:p-i.string.length+1;const V=BigInt(i.string.replace(".",""));De[Fe++]=196;d.push(V);d.push(v);encodeHeader(ce,2);continue}if(i[Be]){if("tag"in i&&"value"in i){d.push(i.value);encodeHeader(ue,i.tag);continue}else{throw new Error("tag encountered with missing fields, need 'tag' and 'value', found: "+JSON.stringify(i))}}const p=Object.keys(i);for(let v=p.length-1;v>=0;--v){const V=p[v];d.push(i[V]);d.push(V)}encodeHeader(le,p.length);continue}throw new Error(`data type ${i?.constructor?.name??typeof i} not compatible for encoding.`)}}const Pe={deserialize(i){setPayload(i);return decode(0,i.length)},serialize(i){try{encode(i);return toUint8Array()}catch(i){toUint8Array();throw i}},resizeEncodingBuffer(i){resize(i)}};const parseCborBody=(i,d)=>K.collectBody(i,d).then((async i=>{if(i.length){try{return Pe.deserialize(i)}catch(p){Object.defineProperty(p,"$responseBodyText",{value:d.utf8Encoder(i)});throw p}}return{}}));const dateToTag=i=>tag({tag:1,value:i.getTime()/1e3});const parseCborErrorBody=async(i,d)=>{const p=await parseCborBody(i,d);p.message=p.message??p.Message;return p};const loadSmithyRpcV2CborErrorCode=(i,d)=>{const sanitizeErrorCode=i=>{let d=i;if(typeof d==="number"){d=d.toString()}if(d.indexOf(",")>=0){d=d.split(",")[0]}if(d.indexOf(":")>=0){d=d.split(":")[0]}if(d.indexOf("#")>=0){d=d.split("#")[1]}return d};if(d["__type"]!==undefined){return sanitizeErrorCode(d["__type"])}const p=Object.keys(d).find((i=>i.toLowerCase()==="code"));if(p&&d[p]!==undefined){return sanitizeErrorCode(d[p])}};const checkCborResponse=i=>{if(String(i.headers["smithy-protocol"]).toLowerCase()!=="rpc-v2-cbor"){throw new Error("Malformed RPCv2 CBOR response, status: "+i.statusCode)}};const buildHttpRpcRequest=async(i,d,p,v,V)=>{const{hostname:K,protocol:re="https",port:ne,path:se}=await i.endpoint();const ie={protocol:re,hostname:K,port:ne,method:"POST",path:se.endsWith("/")?se.slice(0,-1)+p:se+p,headers:{...d}};if(v!==undefined){ie.hostname=v}if(V!==undefined){ie.body=V;try{ie.headers["content-length"]=String(te.calculateBodyLength(V))}catch(i){}}return new ee.HttpRequest(ie)};class CborCodec extends K.SerdeContext{createSerializer(){const i=new CborShapeSerializer;i.setSerdeContext(this.serdeContext);return i}createDeserializer(){const i=new CborShapeDeserializer;i.setSerdeContext(this.serdeContext);return i}}class CborShapeSerializer extends K.SerdeContext{value;write(i,d){this.value=this.serialize(i,d)}serialize(i,d){const p=re.NormalizedSchema.of(i);if(d==null){if(p.isIdempotencyToken()){return v.generateIdempotencyToken()}return d}if(p.isBlobSchema()){if(typeof d==="string"){return(this.serdeContext?.base64Decoder??se.fromBase64)(d)}return d}if(p.isTimestampSchema()){if(typeof d==="number"||typeof d==="bigint"){return dateToTag(new Date(Number(d)/1e3|0))}return dateToTag(d)}if(typeof d==="function"||typeof d==="object"){const i=d;if(p.isListSchema()&&Array.isArray(i)){const d=!!p.getMergedTraits().sparse;const v=[];let V=0;for(const K of i){const i=this.serialize(p.getValueSchema(),K);if(i!=null||d){v[V++]=i}}return v}if(i instanceof Date){return dateToTag(i)}const v={};if(p.isMapSchema()){const d=!!p.getMergedTraits().sparse;for(const V of Object.keys(i)){const K=this.serialize(p.getValueSchema(),i[V]);if(K!=null||d){v[V]=K}}}else if(p.isStructSchema()){for(const[d,V]of p.structIterator()){const p=this.serialize(V,i[d]);if(p!=null){v[d]=p}}const d=p.isUnionSchema();if(d&&Array.isArray(i.$unknown)){const[d,p]=i.$unknown;v[d]=p}else if(typeof i.__type==="string"){for(const[d,p]of Object.entries(i)){if(!(d in v)){v[d]=this.serialize(15,p)}}}}else if(p.isDocumentSchema()){for(const d of Object.keys(i)){v[d]=this.serialize(p.getValueSchema(),i[d])}}else if(p.isBigDecimalSchema()){return i}return v}return d}flush(){const i=Pe.serialize(this.value);this.value=undefined;return i}}class CborShapeDeserializer extends K.SerdeContext{read(i,d){const p=Pe.deserialize(d);return this.readValue(i,p)}readValue(i,d){const p=re.NormalizedSchema.of(i);if(p.isTimestampSchema()){if(typeof d==="number"){return v._parseEpochTimestamp(d)}if(typeof d==="object"){if(d.tag===1&&"value"in d){return v._parseEpochTimestamp(d.value)}}}if(p.isBlobSchema()){if(typeof d==="string"){return(this.serdeContext?.base64Decoder??se.fromBase64)(d)}return d}if(typeof d==="undefined"||typeof d==="boolean"||typeof d==="number"||typeof d==="string"||typeof d==="bigint"||typeof d==="symbol"){return d}else if(typeof d==="object"){if(d===null){return null}if("byteLength"in d){return d}if(d instanceof Date){return d}if(p.isDocumentSchema()){return d}if(p.isListSchema()){const i=[];const v=p.getValueSchema();const V=!!p.getMergedTraits().sparse;for(const p of d){const d=this.readValue(v,p);if(d!=null||V){i.push(d)}}return i}const i={};if(p.isMapSchema()){const v=!!p.getMergedTraits().sparse;const V=p.getValueSchema();for(const p of Object.keys(d)){const K=this.readValue(V,d[p]);if(K!=null||v){i[p]=K}}}else if(p.isStructSchema()){const v=p.isUnionSchema();let V;if(v){V=new Set(Object.keys(d).filter((i=>i!=="__type")))}for(const[K,ee]of p.structIterator()){if(v){V.delete(K)}if(d[K]!=null){i[K]=this.readValue(ee,d[K])}}if(v&&V?.size===1&&Object.keys(i).length===0){const p=V.values().next().value;i.$unknown=[p,d[p]]}else if(typeof d.__type==="string"){for(const[p,v]of Object.entries(d)){if(!(p in i)){i[p]=v}}}}else if(d instanceof v.NumericValue){return d}return i}else{return d}}}class SmithyRpcV2CborProtocol extends K.RpcProtocol{codec=new CborCodec;serializer=this.codec.createSerializer();deserializer=this.codec.createDeserializer();constructor({defaultNamespace:i}){super({defaultNamespace:i})}getShapeId(){return"smithy.protocols#rpcv2Cbor"}getPayloadCodec(){return this.codec}async serializeRequest(i,d,p){const v=await super.serializeRequest(i,d,p);Object.assign(v.headers,{"content-type":this.getDefaultContentType(),"smithy-protocol":"rpc-v2-cbor",accept:this.getDefaultContentType()});if(re.deref(i.input)==="unit"){delete v.body;delete v.headers["content-type"]}else{if(!v.body){this.serializer.write(15,{});v.body=this.serializer.flush()}try{v.headers["content-length"]=String(v.body.byteLength)}catch(i){}}const{service:V,operation:K}=ne.getSmithyContext(p);const ee=`/service/${V}/operation/${K}`;if(v.path.endsWith("/")){v.path+=ee.slice(1)}else{v.path+=ee}return v}async deserializeResponse(i,d,p){return super.deserializeResponse(i,d,p)}async handleError(i,d,p,v,V){const K=loadSmithyRpcV2CborErrorCode(p,v)??"Unknown";let ee=this.options.defaultNamespace;if(K.includes("#")){[ee]=K.split("#")}const te={$metadata:V,$fault:p.statusCode<=500?"client":"server"};const ne=re.TypeRegistry.for(ee);let se;try{se=ne.getSchema(K)}catch(i){if(v.Message){v.message=v.Message}const d=re.TypeRegistry.for("smithy.ts.sdk.synthetic."+ee);const p=d.getBaseException();if(p){const i=d.getErrorCtor(p);throw Object.assign(new i({name:K}),te,v)}throw Object.assign(new Error(K),te,v)}const ie=re.NormalizedSchema.of(se);const oe=ne.getErrorCtor(se);const ae=v.message??v.Message??"Unknown";const Ae=new oe(ae);const ce={};for(const[i,d]of ie.structIterator()){ce[i]=this.deserializer.readValue(d,v[i])}throw Object.assign(Ae,te,{$fault:ie.getMergedTraits().error,message:ae},ce)}getDefaultContentType(){return"application/cbor"}}d.CborCodec=CborCodec;d.CborShapeDeserializer=CborShapeDeserializer;d.CborShapeSerializer=CborShapeSerializer;d.SmithyRpcV2CborProtocol=SmithyRpcV2CborProtocol;d.buildHttpRpcRequest=buildHttpRpcRequest;d.cbor=Pe;d.checkCborResponse=checkCborResponse;d.dateToTag=dateToTag;d.loadSmithyRpcV2CborErrorCode=loadSmithyRpcV2CborErrorCode;d.parseCborBody=parseCborBody;d.parseCborErrorBody=parseCborErrorBody;d.tag=tag;d.tagSymbol=Be},93422:(i,d,p)=>{var v=p(4252);var V=p(26890);var K=p(92430);var ee=p(72356);var te=p(68385);var re=p(71577);const collectBody=async(i=new Uint8Array,d)=>{if(i instanceof Uint8Array){return v.Uint8ArrayBlobAdapter.mutate(i)}if(!i){return v.Uint8ArrayBlobAdapter.mutate(new Uint8Array)}const p=d.streamCollector(i);return v.Uint8ArrayBlobAdapter.mutate(await p)};function extendedEncodeURIComponent(i){return encodeURIComponent(i).replace(/[!'()*]/g,(function(i){return"%"+i.charCodeAt(0).toString(16).toUpperCase()}))}class SerdeContext{serdeContext;setSerdeContext(i){this.serdeContext=i}}class HttpProtocol extends SerdeContext{options;constructor(i){super();this.options=i}getRequestType(){return ee.HttpRequest}getResponseType(){return ee.HttpResponse}setSerdeContext(i){this.serdeContext=i;this.serializer.setSerdeContext(i);this.deserializer.setSerdeContext(i);if(this.getPayloadCodec()){this.getPayloadCodec().setSerdeContext(i)}}updateServiceEndpoint(i,d){if("url"in d){i.protocol=d.url.protocol;i.hostname=d.url.hostname;i.port=d.url.port?Number(d.url.port):undefined;i.path=d.url.pathname;i.fragment=d.url.hash||void 0;i.username=d.url.username||void 0;i.password=d.url.password||void 0;if(!i.query){i.query={}}for(const[p,v]of d.url.searchParams.entries()){i.query[p]=v}return i}else{i.protocol=d.protocol;i.hostname=d.hostname;i.port=d.port?Number(d.port):undefined;i.path=d.path;i.query={...d.query};return i}}setHostPrefix(i,d,p){if(this.serdeContext?.disableHostPrefix){return}const v=V.NormalizedSchema.of(d.input);const K=V.translateTraits(d.traits??{});if(K.endpoint){let d=K.endpoint?.[0];if(typeof d==="string"){const V=[...v.structIterator()].filter((([,i])=>i.getMergedTraits().hostLabel));for(const[i]of V){const v=p[i];if(typeof v!=="string"){throw new Error(`@smithy/core/schema - ${i} in input must be a string as hostLabel.`)}d=d.replace(`{${i}}`,v)}i.hostname=d+i.hostname}}}deserializeMetadata(i){return{httpStatusCode:i.statusCode,requestId:i.headers["x-amzn-requestid"]??i.headers["x-amzn-request-id"]??i.headers["x-amz-request-id"],extendedRequestId:i.headers["x-amz-id-2"],cfId:i.headers["x-amz-cf-id"]}}async serializeEventStream({eventStream:i,requestSchema:d,initialRequest:p}){const v=await this.loadEventStreamCapability();return v.serializeEventStream({eventStream:i,requestSchema:d,initialRequest:p})}async deserializeEventStream({response:i,responseSchema:d,initialResponseContainer:p}){const v=await this.loadEventStreamCapability();return v.deserializeEventStream({response:i,responseSchema:d,initialResponseContainer:p})}async loadEventStreamCapability(){const{EventStreamSerde:i}=await p.e(579).then(p.t.bind(p,56579,19));return new i({marshaller:this.getEventStreamMarshaller(),serializer:this.serializer,deserializer:this.deserializer,serdeContext:this.serdeContext,defaultContentType:this.getDefaultContentType()})}getDefaultContentType(){throw new Error(`@smithy/core/protocols - ${this.constructor.name} getDefaultContentType() implementation missing.`)}async deserializeHttpMessage(i,d,p,v,V){return[]}getEventStreamMarshaller(){const i=this.serdeContext;if(!i.eventStreamMarshaller){throw new Error("@smithy/core - HttpProtocol: eventStreamMarshaller missing in serdeContext.")}return i.eventStreamMarshaller}}class HttpBindingProtocol extends HttpProtocol{async serializeRequest(i,d,p){const v={...d??{}};const K=this.serializer;const te={};const re={};const ne=await p.endpoint();const se=V.NormalizedSchema.of(i?.input);const ie=se.getSchema();let oe=false;let ae;const Ae=new ee.HttpRequest({protocol:"",hostname:"",port:undefined,path:"",fragment:undefined,query:te,headers:re,body:undefined});if(ne){this.updateServiceEndpoint(Ae,ne);this.setHostPrefix(Ae,i,v);const d=V.translateTraits(i.traits);if(d.http){Ae.method=d.http[0];const[i,p]=d.http[1].split("?");if(Ae.path=="/"){Ae.path=i}else{Ae.path+=i}const v=new URLSearchParams(p??"");Object.assign(te,Object.fromEntries(v))}}for(const[i,d]of se.structIterator()){const p=d.getMergedTraits()??{};const V=v[i];if(V==null&&!d.isIdempotencyToken()){if(p.httpLabel){if(Ae.path.includes(`{${i}+}`)||Ae.path.includes(`{${i}}`)){throw new Error(`No value provided for input HTTP label: ${i}.`)}}continue}if(p.httpPayload){const p=d.isStreaming();if(p){const p=d.isStructSchema();if(p){if(v[i]){ae=await this.serializeEventStream({eventStream:v[i],requestSchema:se})}}else{ae=V}}else{K.write(d,V);ae=K.flush()}delete v[i]}else if(p.httpLabel){K.write(d,V);const p=K.flush();if(Ae.path.includes(`{${i}+}`)){Ae.path=Ae.path.replace(`{${i}+}`,p.split("/").map(extendedEncodeURIComponent).join("/"))}else if(Ae.path.includes(`{${i}}`)){Ae.path=Ae.path.replace(`{${i}}`,extendedEncodeURIComponent(p))}delete v[i]}else if(p.httpHeader){K.write(d,V);re[p.httpHeader.toLowerCase()]=String(K.flush());delete v[i]}else if(typeof p.httpPrefixHeaders==="string"){for(const[i,v]of Object.entries(V)){const V=p.httpPrefixHeaders+i;K.write([d.getValueSchema(),{httpHeader:V}],v);re[V.toLowerCase()]=K.flush()}delete v[i]}else if(p.httpQuery||p.httpQueryParams){this.serializeQuery(d,V,te);delete v[i]}else{oe=true}}if(oe&&v){K.write(ie,v);ae=K.flush()}Ae.headers=re;Ae.query=te;Ae.body=ae;return Ae}serializeQuery(i,d,p){const v=this.serializer;const V=i.getMergedTraits();if(V.httpQueryParams){for(const[v,K]of Object.entries(d)){if(!(v in p)){const d=i.getValueSchema();Object.assign(d.getMergedTraits(),{...V,httpQuery:v,httpQueryParams:undefined});this.serializeQuery(d,K,p)}}return}if(i.isListSchema()){const K=!!i.getMergedTraits().sparse;const ee=[];for(const p of d){v.write([i.getValueSchema(),V],p);const d=v.flush();if(K||d!==undefined){ee.push(d)}}p[V.httpQuery]=ee}else{v.write([i,V],d);p[V.httpQuery]=v.flush()}}async deserializeResponse(i,d,p){const v=this.deserializer;const K=V.NormalizedSchema.of(i.output);const ee={};if(p.statusCode>=300){const V=await collectBody(p.body,d);if(V.byteLength>0){Object.assign(ee,await v.read(15,V))}await this.handleError(i,d,p,ee,this.deserializeMetadata(p));throw new Error("@smithy/core/protocols - HTTP Protocol error handler failed to throw.")}for(const i in p.headers){const d=p.headers[i];delete p.headers[i];p.headers[i.toLowerCase()]=d}const te=await this.deserializeHttpMessage(K,d,p,ee);if(te.length){const i=await collectBody(p.body,d);if(i.byteLength>0){const d=await v.read(K,i);for(const i of te){ee[i]=d[i]}}}else if(te.discardResponseBody){await collectBody(p.body,d)}ee.$metadata=this.deserializeMetadata(p);return ee}async deserializeHttpMessage(i,d,p,ee,te){let re;if(ee instanceof Set){re=te}else{re=ee}let ne=true;const se=this.deserializer;const ie=V.NormalizedSchema.of(i);const oe=[];for(const[i,V]of ie.structIterator()){const ee=V.getMemberTraits();if(ee.httpPayload){ne=false;const K=V.isStreaming();if(K){const d=V.isStructSchema();if(d){re[i]=await this.deserializeEventStream({response:p,responseSchema:ie})}else{re[i]=v.sdkStreamMixin(p.body)}}else if(p.body){const v=await collectBody(p.body,d);if(v.byteLength>0){re[i]=await se.read(V,v)}}}else if(ee.httpHeader){const d=String(ee.httpHeader).toLowerCase();const v=p.headers[d];if(null!=v){if(V.isListSchema()){const p=V.getValueSchema();p.getMergedTraits().httpHeader=d;let ee;if(p.isTimestampSchema()&&p.getSchema()===4){ee=K.splitEvery(v,",",2)}else{ee=K.splitHeader(v)}const te=[];for(const i of ee){te.push(await se.read(p,i.trim()))}re[i]=te}else{re[i]=await se.read(V,v)}}}else if(ee.httpPrefixHeaders!==undefined){re[i]={};for(const[d,v]of Object.entries(p.headers)){if(d.startsWith(ee.httpPrefixHeaders)){const p=V.getValueSchema();p.getMergedTraits().httpHeader=d;re[i][d.slice(ee.httpPrefixHeaders.length)]=await se.read(p,v)}}}else if(ee.httpResponseCode){re[i]=p.statusCode}else{oe.push(i)}}oe.discardResponseBody=ne;return oe}}class RpcProtocol extends HttpProtocol{async serializeRequest(i,d,p){const v=this.serializer;const K={};const te={};const re=await p.endpoint();const ne=V.NormalizedSchema.of(i?.input);const se=ne.getSchema();let ie;const oe=new ee.HttpRequest({protocol:"",hostname:"",port:undefined,path:"/",fragment:undefined,query:K,headers:te,body:undefined});if(re){this.updateServiceEndpoint(oe,re);this.setHostPrefix(oe,i,d)}const ae={...d};if(d){const i=ne.getEventStreamMember();if(i){if(ae[i]){const d={};for(const[p,V]of ne.structIterator()){if(p!==i&&ae[p]){v.write(V,ae[p]);d[p]=v.flush()}}ie=await this.serializeEventStream({eventStream:ae[i],requestSchema:ne,initialRequest:d})}}else{v.write(se,ae);ie=v.flush()}}oe.headers=te;oe.query=K;oe.body=ie;oe.method="POST";return oe}async deserializeResponse(i,d,p){const v=this.deserializer;const K=V.NormalizedSchema.of(i.output);const ee={};if(p.statusCode>=300){const V=await collectBody(p.body,d);if(V.byteLength>0){Object.assign(ee,await v.read(15,V))}await this.handleError(i,d,p,ee,this.deserializeMetadata(p));throw new Error("@smithy/core/protocols - RPC Protocol error handler failed to throw.")}for(const i in p.headers){const d=p.headers[i];delete p.headers[i];p.headers[i.toLowerCase()]=d}const te=K.getEventStreamMember();if(te){ee[te]=await this.deserializeEventStream({response:p,responseSchema:K,initialResponseContainer:ee})}else{const i=await collectBody(p.body,d);if(i.byteLength>0){Object.assign(ee,await v.read(K,i))}}ee.$metadata=this.deserializeMetadata(p);return ee}}const resolvedPath=(i,d,p,v,V,K)=>{if(d!=null&&d[p]!==undefined){const d=v();if(d.length<=0){throw new Error("Empty value provided for input HTTP label: "+p+".")}i=i.replace(V,K?d.split("/").map((i=>extendedEncodeURIComponent(i))).join("/"):extendedEncodeURIComponent(d))}else{throw new Error("No value provided for input HTTP label: "+p+".")}return i};function requestBuilder(i,d){return new RequestBuilder(i,d)}class RequestBuilder{input;context;query={};method="";headers={};path="";body=null;hostname="";resolvePathStack=[];constructor(i,d){this.input=i;this.context=d}async build(){const{hostname:i,protocol:d="https",port:p,path:v}=await this.context.endpoint();this.path=v;for(const i of this.resolvePathStack){i(this.path)}return new ee.HttpRequest({protocol:d,hostname:this.hostname||i,port:p,method:this.method,path:this.path,query:this.query,body:this.body,headers:this.headers})}hn(i){this.hostname=i;return this}bp(i){this.resolvePathStack.push((d=>{this.path=`${d?.endsWith("/")?d.slice(0,-1):d||""}`+i}));return this}p(i,d,p,v){this.resolvePathStack.push((V=>{this.path=resolvedPath(V,this.input,i,d,p,v)}));return this}h(i){this.headers=i;return this}q(i){this.query=i;return this}b(i){this.body=i;return this}m(i){this.method=i;return this}}function determineTimestampFormat(i,d){if(d.timestampFormat.useTrait){if(i.isTimestampSchema()&&(i.getSchema()===5||i.getSchema()===6||i.getSchema()===7)){return i.getSchema()}}const{httpLabel:p,httpPrefixHeaders:v,httpHeader:V,httpQuery:K}=i.getMergedTraits();const ee=d.httpBindings?typeof v==="string"||Boolean(V)?6:Boolean(K)||Boolean(p)?5:undefined:undefined;return ee??d.timestampFormat.default}class FromStringShapeDeserializer extends SerdeContext{settings;constructor(i){super();this.settings=i}read(i,d){const p=V.NormalizedSchema.of(i);if(p.isListSchema()){return K.splitHeader(d).map((i=>this.read(p.getValueSchema(),i)))}if(p.isBlobSchema()){return(this.serdeContext?.base64Decoder??te.fromBase64)(d)}if(p.isTimestampSchema()){const i=determineTimestampFormat(p,this.settings);switch(i){case 5:return K._parseRfc3339DateTimeWithOffset(d);case 6:return K._parseRfc7231DateTime(d);case 7:return K._parseEpochTimestamp(d);default:console.warn("Missing timestamp format, parsing value with Date constructor:",d);return new Date(d)}}if(p.isStringSchema()){const i=p.getMergedTraits().mediaType;let v=d;if(i){if(p.getMergedTraits().httpHeader){v=this.base64ToUtf8(v)}const d=i==="application/json"||i.endsWith("+json");if(d){v=K.LazyJsonString.from(v)}return v}}if(p.isNumericSchema()){return Number(d)}if(p.isBigIntegerSchema()){return BigInt(d)}if(p.isBigDecimalSchema()){return new K.NumericValue(d,"bigDecimal")}if(p.isBooleanSchema()){return String(d).toLowerCase()==="true"}return d}base64ToUtf8(i){return(this.serdeContext?.utf8Encoder??re.toUtf8)((this.serdeContext?.base64Decoder??te.fromBase64)(i))}}class HttpInterceptingShapeDeserializer extends SerdeContext{codecDeserializer;stringDeserializer;constructor(i,d){super();this.codecDeserializer=i;this.stringDeserializer=new FromStringShapeDeserializer(d)}setSerdeContext(i){this.stringDeserializer.setSerdeContext(i);this.codecDeserializer.setSerdeContext(i);this.serdeContext=i}read(i,d){const p=V.NormalizedSchema.of(i);const v=p.getMergedTraits();const K=this.serdeContext?.utf8Encoder??re.toUtf8;if(v.httpHeader||v.httpResponseCode){return this.stringDeserializer.read(p,K(d))}if(v.httpPayload){if(p.isBlobSchema()){const i=this.serdeContext?.utf8Decoder??re.fromUtf8;if(typeof d==="string"){return i(d)}return d}else if(p.isStringSchema()){if("byteLength"in d){return K(d)}return d}}return this.codecDeserializer.read(p,d)}}class ToStringShapeSerializer extends SerdeContext{settings;stringBuffer="";constructor(i){super();this.settings=i}write(i,d){const p=V.NormalizedSchema.of(i);switch(typeof d){case"object":if(d===null){this.stringBuffer="null";return}if(p.isTimestampSchema()){if(!(d instanceof Date)){throw new Error(`@smithy/core/protocols - received non-Date value ${d} when schema expected Date in ${p.getName(true)}`)}const i=determineTimestampFormat(p,this.settings);switch(i){case 5:this.stringBuffer=d.toISOString().replace(".000Z","Z");break;case 6:this.stringBuffer=K.dateToUtcString(d);break;case 7:this.stringBuffer=String(d.getTime()/1e3);break;default:console.warn("Missing timestamp format, using epoch seconds",d);this.stringBuffer=String(d.getTime()/1e3)}return}if(p.isBlobSchema()&&"byteLength"in d){this.stringBuffer=(this.serdeContext?.base64Encoder??te.toBase64)(d);return}if(p.isListSchema()&&Array.isArray(d)){let i="";for(const v of d){this.write([p.getValueSchema(),p.getMergedTraits()],v);const d=this.flush();const V=p.getValueSchema().isTimestampSchema()?d:K.quoteHeader(d);if(i!==""){i+=", "}i+=V}this.stringBuffer=i;return}this.stringBuffer=JSON.stringify(d,null,2);break;case"string":const i=p.getMergedTraits().mediaType;let v=d;if(i){const d=i==="application/json"||i.endsWith("+json");if(d){v=K.LazyJsonString.from(v)}if(p.getMergedTraits().httpHeader){this.stringBuffer=(this.serdeContext?.base64Encoder??te.toBase64)(v.toString());return}}this.stringBuffer=d;break;default:if(p.isIdempotencyToken()){this.stringBuffer=K.generateIdempotencyToken()}else{this.stringBuffer=String(d)}}}flush(){const i=this.stringBuffer;this.stringBuffer="";return i}}class HttpInterceptingShapeSerializer{codecSerializer;stringSerializer;buffer;constructor(i,d,p=new ToStringShapeSerializer(d)){this.codecSerializer=i;this.stringSerializer=p}setSerdeContext(i){this.codecSerializer.setSerdeContext(i);this.stringSerializer.setSerdeContext(i)}write(i,d){const p=V.NormalizedSchema.of(i);const v=p.getMergedTraits();if(v.httpHeader||v.httpLabel||v.httpQuery){this.stringSerializer.write(p,d);this.buffer=this.stringSerializer.flush();return}return this.codecSerializer.write(p,d)}flush(){if(this.buffer!==undefined){const i=this.buffer;this.buffer=undefined;return i}return this.codecSerializer.flush()}}d.FromStringShapeDeserializer=FromStringShapeDeserializer;d.HttpBindingProtocol=HttpBindingProtocol;d.HttpInterceptingShapeDeserializer=HttpInterceptingShapeDeserializer;d.HttpInterceptingShapeSerializer=HttpInterceptingShapeSerializer;d.HttpProtocol=HttpProtocol;d.RequestBuilder=RequestBuilder;d.RpcProtocol=RpcProtocol;d.SerdeContext=SerdeContext;d.ToStringShapeSerializer=ToStringShapeSerializer;d.collectBody=collectBody;d.determineTimestampFormat=determineTimestampFormat;d.extendedEncodeURIComponent=extendedEncodeURIComponent;d.requestBuilder=requestBuilder;d.resolvedPath=resolvedPath},26890:(i,d,p)=>{var v=p(72356);var V=p(76324);const deref=i=>{if(typeof i==="function"){return i()}return i};const operation=(i,d,p,v,V)=>({name:d,namespace:i,traits:p,input:v,output:V});const schemaDeserializationMiddleware=i=>(d,p)=>async K=>{const{response:ee}=await d(K);const{operationSchema:te}=V.getSmithyContext(p);const[,re,ne,se,ie,oe]=te??[];try{const d=await i.protocol.deserializeResponse(operation(re,ne,se,ie,oe),{...i,...p},ee);return{response:ee,output:d}}catch(i){Object.defineProperty(i,"$response",{value:ee,enumerable:false,writable:false,configurable:false});if(!("$metadata"in i)){const d=`Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`;try{i.message+="\n "+d}catch(i){if(!p.logger||p.logger?.constructor?.name==="NoOpLogger"){console.warn(d)}else{p.logger?.warn?.(d)}}if(typeof i.$responseBodyText!=="undefined"){if(i.$response){i.$response.body=i.$responseBodyText}}try{if(v.HttpResponse.isInstance(ee)){const{headers:d={}}=ee;const p=Object.entries(d);i.$metadata={httpStatusCode:ee.statusCode,requestId:findHeader(/^x-[\w-]+-request-?id$/,p),extendedRequestId:findHeader(/^x-[\w-]+-id-2$/,p),cfId:findHeader(/^x-[\w-]+-cf-id$/,p)}}}catch(i){}}throw i}};const findHeader=(i,d)=>(d.find((([d])=>d.match(i)))||[void 0,void 0])[1];const schemaSerializationMiddleware=i=>(d,p)=>async v=>{const{operationSchema:K}=V.getSmithyContext(p);const[,ee,te,re,ne,se]=K??[];const ie=p.endpointV2?.url&&i.urlParser?async()=>i.urlParser(p.endpointV2.url):i.endpoint;const oe=await i.protocol.serializeRequest(operation(ee,te,re,ne,se),v.input,{...i,...p,endpoint:ie});return d({...v,request:oe})};const K={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:true};const ee={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:true};function getSchemaSerdePlugin(i){return{applyToStack:d=>{d.add(schemaSerializationMiddleware(i),ee);d.add(schemaDeserializationMiddleware(i),K);i.protocol.setSerdeContext(i)}}}class Schema{name;namespace;traits;static assign(i,d){const p=Object.assign(i,d);return p}static[Symbol.hasInstance](i){const d=this.prototype.isPrototypeOf(i);if(!d&&typeof i==="object"&&i!==null){const d=i;return d.symbol===this.symbol}return d}getName(){return this.namespace+"#"+this.name}}class ListSchema extends Schema{static symbol=Symbol.for("@smithy/lis");name;traits;valueSchema;symbol=ListSchema.symbol}const list=(i,d,p,v)=>Schema.assign(new ListSchema,{name:d,namespace:i,traits:p,valueSchema:v});class MapSchema extends Schema{static symbol=Symbol.for("@smithy/map");name;traits;keySchema;valueSchema;symbol=MapSchema.symbol}const map=(i,d,p,v,V)=>Schema.assign(new MapSchema,{name:d,namespace:i,traits:p,keySchema:v,valueSchema:V});class OperationSchema extends Schema{static symbol=Symbol.for("@smithy/ope");name;traits;input;output;symbol=OperationSchema.symbol}const op=(i,d,p,v,V)=>Schema.assign(new OperationSchema,{name:d,namespace:i,traits:p,input:v,output:V});class StructureSchema extends Schema{static symbol=Symbol.for("@smithy/str");name;traits;memberNames;memberList;symbol=StructureSchema.symbol}const struct=(i,d,p,v,V)=>Schema.assign(new StructureSchema,{name:d,namespace:i,traits:p,memberNames:v,memberList:V});class ErrorSchema extends StructureSchema{static symbol=Symbol.for("@smithy/err");ctor;symbol=ErrorSchema.symbol}const error=(i,d,p,v,V,K)=>Schema.assign(new ErrorSchema,{name:d,namespace:i,traits:p,memberNames:v,memberList:V,ctor:null});function translateTraits(i){if(typeof i==="object"){return i}i=i|0;const d={};let p=0;for(const v of["httpLabel","idempotent","idempotencyToken","sensitive","httpPayload","httpResponseCode","httpQueryParams"]){if((i>>p++&1)===1){d[v]=1}}return d}const te={it:Symbol.for("@smithy/nor-struct-it")};class NormalizedSchema{ref;memberName;static symbol=Symbol.for("@smithy/nor");symbol=NormalizedSchema.symbol;name;schema;_isMemberSchema;traits;memberTraits;normalizedTraits;constructor(i,d){this.ref=i;this.memberName=d;const p=[];let v=i;let V=i;this._isMemberSchema=false;while(isMemberSchema(v)){p.push(v[1]);v=v[0];V=deref(v);this._isMemberSchema=true}if(p.length>0){this.memberTraits={};for(let i=p.length-1;i>=0;--i){const d=p[i];Object.assign(this.memberTraits,translateTraits(d))}}else{this.memberTraits=0}if(V instanceof NormalizedSchema){const i=this.memberTraits;Object.assign(this,V);this.memberTraits=Object.assign({},i,V.getMemberTraits(),this.getMemberTraits());this.normalizedTraits=void 0;this.memberName=d??V.memberName;return}this.schema=deref(V);if(isStaticSchema(this.schema)){this.name=`${this.schema[1]}#${this.schema[2]}`;this.traits=this.schema[3]}else{this.name=this.memberName??String(V);this.traits=0}if(this._isMemberSchema&&!d){throw new Error(`@smithy/core/schema - NormalizedSchema member init ${this.getName(true)} missing member name.`)}}static[Symbol.hasInstance](i){const d=this.prototype.isPrototypeOf(i);if(!d&&typeof i==="object"&&i!==null){const d=i;return d.symbol===this.symbol}return d}static of(i){const d=deref(i);if(d instanceof NormalizedSchema){return d}if(isMemberSchema(d)){const[p,v]=d;if(p instanceof NormalizedSchema){Object.assign(p.getMergedTraits(),translateTraits(v));return p}throw new Error(`@smithy/core/schema - may not init unwrapped member schema=${JSON.stringify(i,null,2)}.`)}return new NormalizedSchema(d)}getSchema(){const i=this.schema;if(Array.isArray(i)&&i[0]===0){return i[4]}return i}getName(i=false){const{name:d}=this;const p=!i&&d&&d.includes("#");return p?d.split("#")[1]:d||undefined}getMemberName(){return this.memberName}isMemberSchema(){return this._isMemberSchema}isListSchema(){const i=this.getSchema();return typeof i==="number"?i>=64&&i<128:i[0]===1}isMapSchema(){const i=this.getSchema();return typeof i==="number"?i>=128&&i<=255:i[0]===2}isStructSchema(){const i=this.getSchema();if(typeof i!=="object"){return false}const d=i[0];return d===3||d===-3||d===4}isUnionSchema(){const i=this.getSchema();if(typeof i!=="object"){return false}return i[0]===4}isBlobSchema(){const i=this.getSchema();return i===21||i===42}isTimestampSchema(){const i=this.getSchema();return typeof i==="number"&&i>=4&&i<=7}isUnitSchema(){return this.getSchema()==="unit"}isDocumentSchema(){return this.getSchema()===15}isStringSchema(){return this.getSchema()===0}isBooleanSchema(){return this.getSchema()===2}isNumericSchema(){return this.getSchema()===1}isBigIntegerSchema(){return this.getSchema()===17}isBigDecimalSchema(){return this.getSchema()===19}isStreaming(){const{streaming:i}=this.getMergedTraits();return!!i||this.getSchema()===42}isIdempotencyToken(){return!!this.getMergedTraits().idempotencyToken}getMergedTraits(){return this.normalizedTraits??(this.normalizedTraits={...this.getOwnTraits(),...this.getMemberTraits()})}getMemberTraits(){return translateTraits(this.memberTraits)}getOwnTraits(){return translateTraits(this.traits)}getKeySchema(){const[i,d]=[this.isDocumentSchema(),this.isMapSchema()];if(!i&&!d){throw new Error(`@smithy/core/schema - cannot get key for non-map: ${this.getName(true)}`)}const p=this.getSchema();const v=i?15:p[4]??0;return member([v,0],"key")}getValueSchema(){const i=this.getSchema();const[d,p,v]=[this.isDocumentSchema(),this.isMapSchema(),this.isListSchema()];const V=typeof i==="number"?63&i:i&&typeof i==="object"&&(p||v)?i[3+i[0]]:d?15:void 0;if(V!=null){return member([V,0],p?"value":"member")}throw new Error(`@smithy/core/schema - ${this.getName(true)} has no value member.`)}getMemberSchema(i){const d=this.getSchema();if(this.isStructSchema()&&d[4].includes(i)){const p=d[4].indexOf(i);const v=d[5][p];return member(isMemberSchema(v)?v:[v,0],i)}if(this.isDocumentSchema()){return member([15,0],i)}throw new Error(`@smithy/core/schema - ${this.getName(true)} has no no member=${i}.`)}getMemberSchemas(){const i={};try{for(const[d,p]of this.structIterator()){i[d]=p}}catch(i){}return i}getEventStreamMember(){if(this.isStructSchema()){for(const[i,d]of this.structIterator()){if(d.isStreaming()&&d.isStructSchema()){return i}}}return""}*structIterator(){if(this.isUnitSchema()){return}if(!this.isStructSchema()){throw new Error("@smithy/core/schema - cannot iterate non-struct schema.")}const i=this.getSchema();const d=i[4].length;let p=i[te.it];if(p&&d===p.length){yield*p;return}p=Array(d);for(let v=0;vArray.isArray(i)&&i.length===2;const isStaticSchema=i=>Array.isArray(i)&&i.length>=5;class SimpleSchema extends Schema{static symbol=Symbol.for("@smithy/sim");name;schemaRef;traits;symbol=SimpleSchema.symbol}const sim=(i,d,p,v)=>Schema.assign(new SimpleSchema,{name:d,namespace:i,traits:v,schemaRef:p});const simAdapter=(i,d,p,v)=>Schema.assign(new SimpleSchema,{name:d,namespace:i,traits:p,schemaRef:v});const re={BLOB:21,STREAMING_BLOB:42,BOOLEAN:2,STRING:0,NUMERIC:1,BIG_INTEGER:17,BIG_DECIMAL:19,DOCUMENT:15,TIMESTAMP_DEFAULT:4,TIMESTAMP_DATE_TIME:5,TIMESTAMP_HTTP_DATE:6,TIMESTAMP_EPOCH_SECONDS:7,LIST_MODIFIER:64,MAP_MODIFIER:128};class TypeRegistry{namespace;schemas;exceptions;static registries=new Map;constructor(i,d=new Map,p=new Map){this.namespace=i;this.schemas=d;this.exceptions=p}static for(i){if(!TypeRegistry.registries.has(i)){TypeRegistry.registries.set(i,new TypeRegistry(i))}return TypeRegistry.registries.get(i)}register(i,d){const p=this.normalizeShapeId(i);const v=TypeRegistry.for(p.split("#")[0]);v.schemas.set(p,d)}getSchema(i){const d=this.normalizeShapeId(i);if(!this.schemas.has(d)){throw new Error(`@smithy/core/schema - schema not found for ${d}`)}return this.schemas.get(d)}registerError(i,d){const p=i;const v=TypeRegistry.for(p[1]);v.schemas.set(p[1]+"#"+p[2],p);v.exceptions.set(p,d)}getErrorCtor(i){const d=i;const p=TypeRegistry.for(d[1]);return p.exceptions.get(d)}getBaseException(){for(const i of this.exceptions.keys()){if(Array.isArray(i)){const[,d,p]=i;const v=d+"#"+p;if(v.startsWith("smithy.ts.sdk.synthetic.")&&v.endsWith("ServiceException")){return i}}}return undefined}find(i){return[...this.schemas.values()].find(i)}clear(){this.schemas.clear();this.exceptions.clear()}normalizeShapeId(i){if(i.includes("#")){return i}return this.namespace+"#"+i}}d.ErrorSchema=ErrorSchema;d.ListSchema=ListSchema;d.MapSchema=MapSchema;d.NormalizedSchema=NormalizedSchema;d.OperationSchema=OperationSchema;d.SCHEMA=re;d.Schema=Schema;d.SimpleSchema=SimpleSchema;d.StructureSchema=StructureSchema;d.TypeRegistry=TypeRegistry;d.deref=deref;d.deserializerMiddlewareOption=K;d.error=error;d.getSchemaSerdePlugin=getSchemaSerdePlugin;d.isStaticSchema=isStaticSchema;d.list=list;d.map=map;d.op=op;d.operation=operation;d.serializerMiddlewareOption=ee;d.sim=sim;d.simAdapter=simAdapter;d.struct=struct;d.translateTraits=translateTraits},92430:(i,d,p)=>{var v=p(90266);const copyDocumentWithTransform=(i,d,p=i=>i)=>i;const parseBoolean=i=>{switch(i){case"true":return true;case"false":return false;default:throw new Error(`Unable to parse boolean value "${i}"`)}};const expectBoolean=i=>{if(i===null||i===undefined){return undefined}if(typeof i==="number"){if(i===0||i===1){ie.warn(stackTraceWarning(`Expected boolean, got ${typeof i}: ${i}`))}if(i===0){return false}if(i===1){return true}}if(typeof i==="string"){const d=i.toLowerCase();if(d==="false"||d==="true"){ie.warn(stackTraceWarning(`Expected boolean, got ${typeof i}: ${i}`))}if(d==="false"){return false}if(d==="true"){return true}}if(typeof i==="boolean"){return i}throw new TypeError(`Expected boolean, got ${typeof i}: ${i}`)};const expectNumber=i=>{if(i===null||i===undefined){return undefined}if(typeof i==="string"){const d=parseFloat(i);if(!Number.isNaN(d)){if(String(d)!==String(i)){ie.warn(stackTraceWarning(`Expected number but observed string: ${i}`))}return d}}if(typeof i==="number"){return i}throw new TypeError(`Expected number, got ${typeof i}: ${i}`)};const V=Math.ceil(2**127*(2-2**-23));const expectFloat32=i=>{const d=expectNumber(i);if(d!==undefined&&!Number.isNaN(d)&&d!==Infinity&&d!==-Infinity){if(Math.abs(d)>V){throw new TypeError(`Expected 32-bit float, got ${i}`)}}return d};const expectLong=i=>{if(i===null||i===undefined){return undefined}if(Number.isInteger(i)&&!Number.isNaN(i)){return i}throw new TypeError(`Expected integer, got ${typeof i}: ${i}`)};const K=expectLong;const expectInt32=i=>expectSizedInt(i,32);const expectShort=i=>expectSizedInt(i,16);const expectByte=i=>expectSizedInt(i,8);const expectSizedInt=(i,d)=>{const p=expectLong(i);if(p!==undefined&&castInt(p,d)!==p){throw new TypeError(`Expected ${d}-bit integer, got ${i}`)}return p};const castInt=(i,d)=>{switch(d){case 32:return Int32Array.of(i)[0];case 16:return Int16Array.of(i)[0];case 8:return Int8Array.of(i)[0]}};const expectNonNull=(i,d)=>{if(i===null||i===undefined){if(d){throw new TypeError(`Expected a non-null value for ${d}`)}throw new TypeError("Expected a non-null value")}return i};const expectObject=i=>{if(i===null||i===undefined){return undefined}if(typeof i==="object"&&!Array.isArray(i)){return i}const d=Array.isArray(i)?"array":typeof i;throw new TypeError(`Expected object, got ${d}: ${i}`)};const expectString=i=>{if(i===null||i===undefined){return undefined}if(typeof i==="string"){return i}if(["boolean","number","bigint"].includes(typeof i)){ie.warn(stackTraceWarning(`Expected string, got ${typeof i}: ${i}`));return String(i)}throw new TypeError(`Expected string, got ${typeof i}: ${i}`)};const expectUnion=i=>{if(i===null||i===undefined){return undefined}const d=expectObject(i);const p=Object.entries(d).filter((([,i])=>i!=null)).map((([i])=>i));if(p.length===0){throw new TypeError(`Unions must have exactly one non-null member. None were found.`)}if(p.length>1){throw new TypeError(`Unions must have exactly one non-null member. Keys ${p} were not null.`)}return d};const strictParseDouble=i=>{if(typeof i=="string"){return expectNumber(parseNumber(i))}return expectNumber(i)};const ee=strictParseDouble;const strictParseFloat32=i=>{if(typeof i=="string"){return expectFloat32(parseNumber(i))}return expectFloat32(i)};const te=/(-?(?:0|[1-9]\d*)(?:\.\d+)?(?:[eE][+-]?\d+)?)|(-?Infinity)|(NaN)/g;const parseNumber=i=>{const d=i.match(te);if(d===null||d[0].length!==i.length){throw new TypeError(`Expected real number, got implicit NaN`)}return parseFloat(i)};const limitedParseDouble=i=>{if(typeof i=="string"){return parseFloatString(i)}return expectNumber(i)};const re=limitedParseDouble;const ne=limitedParseDouble;const limitedParseFloat32=i=>{if(typeof i=="string"){return parseFloatString(i)}return expectFloat32(i)};const parseFloatString=i=>{switch(i){case"NaN":return NaN;case"Infinity":return Infinity;case"-Infinity":return-Infinity;default:throw new Error(`Unable to parse float value: ${i}`)}};const strictParseLong=i=>{if(typeof i==="string"){return expectLong(parseNumber(i))}return expectLong(i)};const se=strictParseLong;const strictParseInt32=i=>{if(typeof i==="string"){return expectInt32(parseNumber(i))}return expectInt32(i)};const strictParseShort=i=>{if(typeof i==="string"){return expectShort(parseNumber(i))}return expectShort(i)};const strictParseByte=i=>{if(typeof i==="string"){return expectByte(parseNumber(i))}return expectByte(i)};const stackTraceWarning=i=>String(new TypeError(i).stack||i).split("\n").slice(0,5).filter((i=>!i.includes("stackTraceWarning"))).join("\n");const ie={warn:console.warn};const oe=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];const ae=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function dateToUtcString(i){const d=i.getUTCFullYear();const p=i.getUTCMonth();const v=i.getUTCDay();const V=i.getUTCDate();const K=i.getUTCHours();const ee=i.getUTCMinutes();const te=i.getUTCSeconds();const re=V<10?`0${V}`:`${V}`;const ne=K<10?`0${K}`:`${K}`;const se=ee<10?`0${ee}`:`${ee}`;const ie=te<10?`0${te}`:`${te}`;return`${oe[v]}, ${re} ${ae[p]} ${d} ${ne}:${se}:${ie} GMT`}const Ae=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?[zZ]$/);const parseRfc3339DateTime=i=>{if(i===null||i===undefined){return undefined}if(typeof i!=="string"){throw new TypeError("RFC-3339 date-times must be expressed as strings")}const d=Ae.exec(i);if(!d){throw new TypeError("Invalid RFC-3339 date-time value")}const[p,v,V,K,ee,te,re,ne]=d;const se=strictParseShort(stripLeadingZeroes(v));const ie=parseDateValue(V,"month",1,12);const oe=parseDateValue(K,"day",1,31);return buildDate(se,ie,oe,{hours:ee,minutes:te,seconds:re,fractionalMilliseconds:ne})};const ce=new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(\d+))?(([-+]\d{2}\:\d{2})|[zZ])$/);const parseRfc3339DateTimeWithOffset=i=>{if(i===null||i===undefined){return undefined}if(typeof i!=="string"){throw new TypeError("RFC-3339 date-times must be expressed as strings")}const d=ce.exec(i);if(!d){throw new TypeError("Invalid RFC-3339 date-time value")}const[p,v,V,K,ee,te,re,ne,se]=d;const ie=strictParseShort(stripLeadingZeroes(v));const oe=parseDateValue(V,"month",1,12);const ae=parseDateValue(K,"day",1,31);const Ae=buildDate(ie,oe,ae,{hours:ee,minutes:te,seconds:re,fractionalMilliseconds:ne});if(se.toUpperCase()!="Z"){Ae.setTime(Ae.getTime()-parseOffsetToMilliseconds(se))}return Ae};const le=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 ue=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 de=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=i=>{if(i===null||i===undefined){return undefined}if(typeof i!=="string"){throw new TypeError("RFC-7231 date-times must be expressed as strings")}let d=le.exec(i);if(d){const[i,p,v,V,K,ee,te,re]=d;return buildDate(strictParseShort(stripLeadingZeroes(V)),parseMonthByShortName(v),parseDateValue(p,"day",1,31),{hours:K,minutes:ee,seconds:te,fractionalMilliseconds:re})}d=ue.exec(i);if(d){const[i,p,v,V,K,ee,te,re]=d;return adjustRfc850Year(buildDate(parseTwoDigitYear(V),parseMonthByShortName(v),parseDateValue(p,"day",1,31),{hours:K,minutes:ee,seconds:te,fractionalMilliseconds:re}))}d=de.exec(i);if(d){const[i,p,v,V,K,ee,te,re]=d;return buildDate(strictParseShort(stripLeadingZeroes(re)),parseMonthByShortName(p),parseDateValue(v.trimLeft(),"day",1,31),{hours:V,minutes:K,seconds:ee,fractionalMilliseconds:te})}throw new TypeError("Invalid RFC-7231 date-time value")};const parseEpochTimestamp=i=>{if(i===null||i===undefined){return undefined}let d;if(typeof i==="number"){d=i}else if(typeof i==="string"){d=strictParseDouble(i)}else if(typeof i==="object"&&i.tag===1){d=i.value}else{throw new TypeError("Epoch timestamps must be expressed as floating point numbers or their string representation")}if(Number.isNaN(d)||d===Infinity||d===-Infinity){throw new TypeError("Epoch timestamps must be valid, non-Infinite, non-NaN numerics")}return new Date(Math.round(d*1e3))};const buildDate=(i,d,p,v)=>{const V=d-1;validateDayOfMonth(i,V,p);return new Date(Date.UTC(i,V,p,parseDateValue(v.hours,"hour",0,23),parseDateValue(v.minutes,"minute",0,59),parseDateValue(v.seconds,"seconds",0,60),parseMilliseconds(v.fractionalMilliseconds)))};const parseTwoDigitYear=i=>{const d=(new Date).getUTCFullYear();const p=Math.floor(d/100)*100+strictParseShort(stripLeadingZeroes(i));if(p{if(i.getTime()-(new Date).getTime()>he){return new Date(Date.UTC(i.getUTCFullYear()-100,i.getUTCMonth(),i.getUTCDate(),i.getUTCHours(),i.getUTCMinutes(),i.getUTCSeconds(),i.getUTCMilliseconds()))}return i};const parseMonthByShortName=i=>{const d=ae.indexOf(i);if(d<0){throw new TypeError(`Invalid month: ${i}`)}return d+1};const fe=[31,28,31,30,31,30,31,31,30,31,30,31];const validateDayOfMonth=(i,d,p)=>{let v=fe[d];if(d===1&&isLeapYear(i)){v=29}if(p>v){throw new TypeError(`Invalid day for ${ae[d]} in ${i}: ${p}`)}};const isLeapYear=i=>i%4===0&&(i%100!==0||i%400===0);const parseDateValue=(i,d,p,v)=>{const V=strictParseByte(stripLeadingZeroes(i));if(Vv){throw new TypeError(`${d} must be between ${p} and ${v}, inclusive`)}return V};const parseMilliseconds=i=>{if(i===null||i===undefined){return 0}return strictParseFloat32("0."+i)*1e3};const parseOffsetToMilliseconds=i=>{const d=i[0];let p=1;if(d=="+"){p=1}else if(d=="-"){p=-1}else{throw new TypeError(`Offset direction, ${d}, must be "+" or "-"`)}const v=Number(i.substring(1,3));const V=Number(i.substring(4,6));return p*(v*60+V)*60*1e3};const stripLeadingZeroes=i=>{let d=0;while(d{if(i&&typeof i==="object"&&(i instanceof ge||"deserializeJSON"in i)){return i}else if(typeof i==="string"||Object.getPrototypeOf(i)===String.prototype){return ge(String(i))}return ge(JSON.stringify(i))};ge.fromObject=ge.from;function quoteHeader(i){if(i.includes(",")||i.includes('"')){i=`"${i.replace(/"/g,'\\"')}"`}return i}const pe=`(?:Mon|Tue|Wed|Thu|Fri|Sat|Sun)(?:[ne|u?r]?s?day)?`;const me=`(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)`;const Ee=`(\\d?\\d):(\\d{2}):(\\d{2})(?:\\.(\\d+))?`;const Ce=`(\\d?\\d)`;const ye=`(\\d{4})`;const Ie=new RegExp(/^(\d{4})-(\d\d)-(\d\d)[tT](\d\d):(\d\d):(\d\d)(\.(\d+))?(([-+]\d\d:\d\d)|[zZ])$/);const Be=new RegExp(`^${pe}, ${Ce} ${me} ${ye} ${Ee} GMT$`);const Qe=new RegExp(`^${pe}, ${Ce}-${me}-(\\d\\d) ${Ee} GMT$`);const be=new RegExp(`^${pe} ${me} ( [1-9]|\\d\\d) ${Ee} ${ye}$`);const we=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];const _parseEpochTimestamp=i=>{if(i==null){return void 0}let d=NaN;if(typeof i==="number"){d=i}else if(typeof i==="string"){if(!/^-?\d*\.?\d+$/.test(i)){throw new TypeError(`parseEpochTimestamp - numeric string invalid.`)}d=Number.parseFloat(i)}else if(typeof i==="object"&&i.tag===1){d=i.value}if(isNaN(d)||Math.abs(d)===Infinity){throw new TypeError("Epoch timestamps must be valid finite numbers.")}return new Date(Math.round(d*1e3))};const _parseRfc3339DateTimeWithOffset=i=>{if(i==null){return void 0}if(typeof i!=="string"){throw new TypeError("RFC3339 timestamps must be strings")}const d=Ie.exec(i);if(!d){throw new TypeError(`Invalid RFC3339 timestamp format ${i}`)}const[,p,v,V,K,ee,te,,re,ne]=d;range(v,1,12);range(V,1,31);range(K,0,23);range(ee,0,59);range(te,0,60);const se=new Date(Date.UTC(Number(p),Number(v)-1,Number(V),Number(K),Number(ee),Number(te),Number(re)?Math.round(parseFloat(`0.${re}`)*1e3):0));se.setUTCFullYear(Number(p));if(ne.toUpperCase()!="Z"){const[,i,d,p]=/([+-])(\d\d):(\d\d)/.exec(ne)||[void 0,"+",0,0];const v=i==="-"?1:-1;se.setTime(se.getTime()+v*(Number(d)*60*60*1e3+Number(p)*60*1e3))}return se};const _parseRfc7231DateTime=i=>{if(i==null){return void 0}if(typeof i!=="string"){throw new TypeError("RFC7231 timestamps must be strings.")}let d;let p;let v;let V;let K;let ee;let te;let re;if(re=Be.exec(i)){[,d,p,v,V,K,ee,te]=re}else if(re=Qe.exec(i)){[,d,p,v,V,K,ee,te]=re;v=(Number(v)+1900).toString()}else if(re=be.exec(i)){[,p,d,V,K,ee,te,v]=re}if(v&&ee){const i=Date.UTC(Number(v),we.indexOf(p),Number(d),Number(V),Number(K),Number(ee),te?Math.round(parseFloat(`0.${te}`)*1e3):0);range(d,1,31);range(V,0,23);range(K,0,59);range(ee,0,60);const re=new Date(i);re.setUTCFullYear(Number(v));return re}throw new TypeError(`Invalid RFC7231 date-time value ${i}.`)};function range(i,d,p){const v=Number(i);if(vp){throw new Error(`Value ${v} out of range [${d}, ${p}]`)}}function splitEvery(i,d,p){if(p<=0||!Number.isInteger(p)){throw new Error("Invalid number of delimiters ("+p+") for splitEvery.")}const v=i.split(d);if(p===1){return v}const V=[];let K="";for(let i=0;i{const d=i.length;const p=[];let v=false;let V=undefined;let K=0;for(let ee=0;ee{i=i.trim();const d=i.length;if(d<2){return i}if(i[0]===`"`&&i[d-1]===`"`){i=i.slice(1,d-1)}return i.replace(/\\"/g,'"')}))};const Se=/^-?\d*(\.\d+)?$/;class NumericValue{string;type;constructor(i,d){this.string=i;this.type=d;if(!Se.test(i)){throw new Error(`@smithy/core/serde - NumericValue must only contain [0-9], at most one decimal point ".", and an optional negation prefix "-".`)}}toString(){return this.string}static[Symbol.hasInstance](i){if(!i||typeof i!=="object"){return false}const d=i;return NumericValue.prototype.isPrototypeOf(i)||d.type==="bigDecimal"&&Se.test(d.string)}}function nv(i){return new NumericValue(String(i),"bigDecimal")}Object.defineProperty(d,"generateIdempotencyToken",{enumerable:true,get:function(){return v.v4}});d.LazyJsonString=ge;d.NumericValue=NumericValue;d._parseEpochTimestamp=_parseEpochTimestamp;d._parseRfc3339DateTimeWithOffset=_parseRfc3339DateTimeWithOffset;d._parseRfc7231DateTime=_parseRfc7231DateTime;d.copyDocumentWithTransform=copyDocumentWithTransform;d.dateToUtcString=dateToUtcString;d.expectBoolean=expectBoolean;d.expectByte=expectByte;d.expectFloat32=expectFloat32;d.expectInt=K;d.expectInt32=expectInt32;d.expectLong=expectLong;d.expectNonNull=expectNonNull;d.expectNumber=expectNumber;d.expectObject=expectObject;d.expectShort=expectShort;d.expectString=expectString;d.expectUnion=expectUnion;d.handleFloat=re;d.limitedParseDouble=limitedParseDouble;d.limitedParseFloat=ne;d.limitedParseFloat32=limitedParseFloat32;d.logger=ie;d.nv=nv;d.parseBoolean=parseBoolean;d.parseEpochTimestamp=parseEpochTimestamp;d.parseRfc3339DateTime=parseRfc3339DateTime;d.parseRfc3339DateTimeWithOffset=parseRfc3339DateTimeWithOffset;d.parseRfc7231DateTime=parseRfc7231DateTime;d.quoteHeader=quoteHeader;d.splitEvery=splitEvery;d.splitHeader=splitHeader;d.strictParseByte=strictParseByte;d.strictParseDouble=strictParseDouble;d.strictParseFloat=ee;d.strictParseFloat32=strictParseFloat32;d.strictParseInt=se;d.strictParseInt32=strictParseInt32;d.strictParseLong=strictParseLong;d.strictParseShort=strictParseShort},47809:(i,d,p)=>{var v=p(72356);var V=p(18256);var K=p(68385);function createRequest(i,d){return new Request(i,d)}function requestTimeout(i=0){return new Promise(((d,p)=>{if(i){setTimeout((()=>{const d=new Error(`Request did not complete within ${i} ms`);d.name="TimeoutError";p(d)}),i)}}))}const ee={supported:undefined};class FetchHttpHandler{config;configProvider;static create(i){if(typeof i?.handle==="function"){return i}return new FetchHttpHandler(i)}constructor(i){if(typeof i==="function"){this.configProvider=i().then((i=>i||{}))}else{this.config=i??{};this.configProvider=Promise.resolve(this.config)}if(ee.supported===undefined){ee.supported=Boolean(typeof Request!=="undefined"&&"keepalive"in createRequest("https://[::1]"))}}destroy(){}async handle(i,{abortSignal:d,requestTimeout:p}={}){if(!this.config){this.config=await this.configProvider}const K=p??this.config.requestTimeout;const te=this.config.keepAlive===true;const re=this.config.credentials;if(d?.aborted){const i=new Error("Request aborted");i.name="AbortError";return Promise.reject(i)}let ne=i.path;const se=V.buildQueryString(i.query||{});if(se){ne+=`?${se}`}if(i.fragment){ne+=`#${i.fragment}`}let ie="";if(i.username!=null||i.password!=null){const d=i.username??"";const p=i.password??"";ie=`${d}:${p}@`}const{port:oe,method:ae}=i;const Ae=`${i.protocol}//${ie}${i.hostname}${oe?`:${oe}`:""}${ne}`;const ce=ae==="GET"||ae==="HEAD"?undefined:i.body;const le={body:ce,headers:new Headers(i.headers),method:ae,credentials:re};if(this.config?.cache){le.cache=this.config.cache}if(ce){le.duplex="half"}if(typeof AbortController!=="undefined"){le.signal=d}if(ee.supported){le.keepalive=te}if(typeof this.config.requestInit==="function"){Object.assign(le,this.config.requestInit(i))}let removeSignalEventListener=()=>{};const ue=createRequest(Ae,le);const de=[fetch(ue).then((i=>{const d=i.headers;const p={};for(const i of d.entries()){p[i[0]]=i[1]}const V=i.body!=undefined;if(!V){return i.blob().then((d=>({response:new v.HttpResponse({headers:p,reason:i.statusText,statusCode:i.status,body:d})})))}return{response:new v.HttpResponse({headers:p,reason:i.statusText,statusCode:i.status,body:i.body})}})),requestTimeout(K)];if(d){de.push(new Promise(((i,p)=>{const onAbort=()=>{const i=new Error("Request aborted");i.name="AbortError";p(i)};if(typeof d.addEventListener==="function"){const i=d;i.addEventListener("abort",onAbort,{once:true});removeSignalEventListener=()=>i.removeEventListener("abort",onAbort)}else{d.onabort=onAbort}})))}return Promise.race(de).finally(removeSignalEventListener)}updateHttpClientConfig(i,d){this.config=undefined;this.configProvider=this.configProvider.then((p=>{p[i]=d;return p}))}httpHandlerConfigs(){return this.config??{}}}const streamCollector=async i=>{if(typeof Blob==="function"&&i instanceof Blob||i.constructor?.name==="Blob"){if(Blob.prototype.arrayBuffer!==undefined){return new Uint8Array(await i.arrayBuffer())}return collectBlob(i)}return collectStream(i)};async function collectBlob(i){const d=await readToBase64(i);const p=K.fromBase64(d);return new Uint8Array(p)}async function collectStream(i){const d=[];const p=i.getReader();let v=false;let V=0;while(!v){const{done:i,value:K}=await p.read();if(K){d.push(K);V+=K.length}v=i}const K=new Uint8Array(V);let ee=0;for(const i of d){K.set(i,ee);ee+=i.length}return K}function readToBase64(i){return new Promise(((d,p)=>{const v=new FileReader;v.onloadend=()=>{if(v.readyState!==2){return p(new Error("Reader aborted too early"))}const i=v.result??"";const V=i.indexOf(",");const K=V>-1?V+1:i.length;d(i.substring(K))};v.onabort=()=>p(new Error("Read aborted"));v.onerror=()=>p(v.error);v.readAsDataURL(i)}))}d.FetchHttpHandler=FetchHttpHandler;d.keepAliveSupport=ee;d.streamCollector=streamCollector},5092:(i,d,p)=>{var v=p(44151);var V=p(71577);var K=p(20181);var ee=p(76982);class Hash{algorithmIdentifier;secret;hash;constructor(i,d){this.algorithmIdentifier=i;this.secret=d;this.reset()}update(i,d){this.hash.update(V.toUint8Array(castSourceData(i,d)))}digest(){return Promise.resolve(this.hash.digest())}reset(){this.hash=this.secret?ee.createHmac(this.algorithmIdentifier,castSourceData(this.secret)):ee.createHash(this.algorithmIdentifier)}}function castSourceData(i,d){if(K.Buffer.isBuffer(i)){return i}if(typeof i==="string"){return v.fromString(i,d)}if(ArrayBuffer.isView(i)){return v.fromArrayBuffer(i.buffer,i.byteOffset,i.byteLength)}return v.fromArrayBuffer(i)}d.Hash=Hash},86130:(i,d)=>{const isArrayBuffer=i=>typeof ArrayBuffer==="function"&&i instanceof ArrayBuffer||Object.prototype.toString.call(i)==="[object ArrayBuffer]";d.isArrayBuffer=isArrayBuffer},47212:(i,d,p)=>{var v=p(72356);const V="content-length";function contentLengthMiddleware(i){return d=>async p=>{const K=p.request;if(v.HttpRequest.isInstance(K)){const{body:d,headers:p}=K;if(d&&Object.keys(p).map((i=>i.toLowerCase())).indexOf(V)===-1){try{const p=i(d);K.headers={...K.headers,[V]:String(p)}}catch(i){}}}return d({...p,request:K})}}const K={step:"build",tags:["SET_CONTENT_LENGTH","CONTENT_LENGTH"],name:"contentLengthMiddleware",override:true};const getContentLengthPlugin=i=>({applyToStack:d=>{d.add(contentLengthMiddleware(i.bodyLengthChecker),K)}});d.contentLengthMiddleware=contentLengthMiddleware;d.contentLengthMiddlewareOptions=K;d.getContentLengthPlugin=getContentLengthPlugin},76041:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getEndpointFromConfig=void 0;const v=p(55704);const V=p(18008);const getEndpointFromConfig=async i=>(0,v.loadConfig)((0,V.getEndpointUrlConfig)(i??""))();d.getEndpointFromConfig=getEndpointFromConfig},18008:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getEndpointUrlConfig=void 0;const v=p(94964);const V="AWS_ENDPOINT_URL";const K="endpoint_url";const getEndpointUrlConfig=i=>({environmentVariableSelector:d=>{const p=i.split(" ").map((i=>i.toUpperCase()));const v=d[[V,...p].join("_")];if(v)return v;const K=d[V];if(K)return K;return undefined},configFileSelector:(d,p)=>{if(p&&d.services){const V=p[["services",d.services].join(v.CONFIG_PREFIX_SEPARATOR)];if(V){const d=i.split(" ").map((i=>i.toLowerCase()));const p=V[[d.join("_"),K].join(v.CONFIG_PREFIX_SEPARATOR)];if(p)return p}}const V=d[K];if(V)return V;return undefined},default:undefined});d.getEndpointUrlConfig=getEndpointUrlConfig},40099:(i,d,p)=>{var v=p(76041);var V=p(14494);var K=p(90402);var ee=p(76324);var te=p(83255);const resolveParamsForS3=async i=>{const d=i?.Bucket||"";if(typeof i.Bucket==="string"){i.Bucket=d.replace(/#/g,encodeURIComponent("#")).replace(/\?/g,encodeURIComponent("?"))}if(isArnBucketName(d)){if(i.ForcePathStyle===true){throw new Error("Path-style addressing cannot be used with ARN buckets")}}else if(!isDnsCompatibleBucketName(d)||d.indexOf(".")!==-1&&!String(i.Endpoint).startsWith("http:")||d.toLowerCase()!==d||d.length<3){i.ForcePathStyle=true}if(i.DisableMultiRegionAccessPoints){i.disableMultiRegionAccessPoints=true;i.DisableMRAP=true}return i};const re=/^[a-z0-9][a-z0-9\.\-]{1,61}[a-z0-9]$/;const ne=/(\d+\.){3}\d+/;const se=/\.\./;const isDnsCompatibleBucketName=i=>re.test(i)&&!ne.test(i)&&!se.test(i);const isArnBucketName=i=>{const[d,p,v,,,V]=i.split(":");const K=d==="arn"&&i.split(":").length>=6;const ee=Boolean(K&&p&&v&&V);if(K&&!ee){throw new Error(`Invalid ARN: ${i} was an invalid ARN.`)}return ee};const createConfigValueProvider=(i,d,p,v=false)=>{const configProvider=async()=>{let V;if(v){const v=p.clientContextParams;const K=v?.[i];V=K??p[i]??p[d]}else{V=p[i]??p[d]}if(typeof V==="function"){return V()}return V};if(i==="credentialScope"||d==="CredentialScope"){return async()=>{const i=typeof p.credentials==="function"?await p.credentials():p.credentials;const d=i?.credentialScope??i?.CredentialScope;return d}}if(i==="accountId"||d==="AccountId"){return async()=>{const i=typeof p.credentials==="function"?await p.credentials():p.credentials;const d=i?.accountId??i?.AccountId;return d}}if(i==="endpoint"||d==="endpoint"){return async()=>{if(p.isCustomEndpoint===false){return undefined}const i=await configProvider();if(i&&typeof i==="object"){if("url"in i){return i.url.href}if("hostname"in i){const{protocol:d,hostname:p,port:v,path:V}=i;return`${d}//${p}${v?":"+v:""}${V}`}}return i}}return configProvider};const toEndpointV1=i=>{if(typeof i==="object"){if("url"in i){return V.parseUrl(i.url)}return i}return V.parseUrl(i)};const getEndpointFromInstructions=async(i,d,p,V)=>{if(!p.isCustomEndpoint){let i;if(p.serviceConfiguredEndpoint){i=await p.serviceConfiguredEndpoint()}else{i=await v.getEndpointFromConfig(p.serviceId)}if(i){p.endpoint=()=>Promise.resolve(toEndpointV1(i));p.isCustomEndpoint=true}}const K=await resolveParams(i,d,p);if(typeof p.endpointProvider!=="function"){throw new Error("config.endpointProvider is not set.")}const ee=p.endpointProvider(K,V);return ee};const resolveParams=async(i,d,p)=>{const v={};const V=d?.getEndpointParameterInstructions?.()||{};for(const[d,K]of Object.entries(V)){switch(K.type){case"staticContextParams":v[d]=K.value;break;case"contextParams":v[d]=i[K.name];break;case"clientContextParams":case"builtInParams":v[d]=await createConfigValueProvider(K.name,d,p,K.type!=="builtInParams")();break;case"operationContextParams":v[d]=K.get(i);break;default:throw new Error("Unrecognized endpoint parameter instruction: "+JSON.stringify(K))}}if(Object.keys(V).length===0){Object.assign(v,p)}if(String(p.serviceId).toLowerCase()==="s3"){await resolveParamsForS3(v)}return v};const endpointMiddleware=({config:i,instructions:d})=>(p,v)=>async V=>{if(i.isCustomEndpoint){K.setFeature(v,"ENDPOINT_OVERRIDE","N")}const te=await getEndpointFromInstructions(V.input,{getEndpointParameterInstructions(){return d}},{...i},v);v.endpointV2=te;v.authSchemes=te.properties?.authSchemes;const re=v.authSchemes?.[0];if(re){v["signing_region"]=re.signingRegion;v["signing_service"]=re.signingName;const i=ee.getSmithyContext(v);const d=i?.selectedHttpAuthScheme?.httpAuthOption;if(d){d.signingProperties=Object.assign(d.signingProperties||{},{signing_region:re.signingRegion,signingRegion:re.signingRegion,signing_service:re.signingName,signingName:re.signingName,signingRegionSet:re.signingRegionSet},re.properties)}}return p({...V})};const ie={step:"serialize",tags:["ENDPOINT_PARAMETERS","ENDPOINT_V2","ENDPOINT"],name:"endpointV2Middleware",override:true,relation:"before",toMiddleware:te.serializerMiddlewareOption.name};const getEndpointPlugin=(i,d)=>({applyToStack:p=>{p.addRelativeTo(endpointMiddleware({config:i,instructions:d}),ie)}});const resolveEndpointConfig=i=>{const d=i.tls??true;const{endpoint:p,useDualstackEndpoint:V,useFipsEndpoint:K}=i;const te=p!=null?async()=>toEndpointV1(await ee.normalizeProvider(p)()):undefined;const re=!!p;const ne=Object.assign(i,{endpoint:te,tls:d,isCustomEndpoint:re,useDualstackEndpoint:ee.normalizeProvider(V??false),useFipsEndpoint:ee.normalizeProvider(K??false)});let se=undefined;ne.serviceConfiguredEndpoint=async()=>{if(i.serviceId&&!se){se=v.getEndpointFromConfig(i.serviceId)}return se};return ne};const resolveEndpointRequiredConfig=i=>{const{endpoint:d}=i;if(d===undefined){i.endpoint=async()=>{throw new Error("@smithy/middleware-endpoint: (default endpointRuleSet) endpoint is not set - you must configure an endpoint.")}}return i};d.endpointMiddleware=endpointMiddleware;d.endpointMiddlewareOptions=ie;d.getEndpointFromInstructions=getEndpointFromInstructions;d.getEndpointPlugin=getEndpointPlugin;d.resolveEndpointConfig=resolveEndpointConfig;d.resolveEndpointRequiredConfig=resolveEndpointRequiredConfig;d.resolveParams=resolveParams;d.toEndpointV1=toEndpointV1},19618:(i,d,p)=>{var v=p(15518);var V=p(72356);var K=p(42058);var ee=p(90266);var te=p(76324);var re=p(61411);var ne=p(49831);const getDefaultRetryQuota=(i,d)=>{const p=i;const V=v.NO_RETRY_INCREMENT;const K=v.RETRY_COST;const ee=v.TIMEOUT_RETRY_COST;let te=i;const getCapacityAmount=i=>i.name==="TimeoutError"?ee:K;const hasRetryTokens=i=>getCapacityAmount(i)<=te;const retrieveRetryTokens=i=>{if(!hasRetryTokens(i)){throw new Error("No retry token available")}const d=getCapacityAmount(i);te-=d;return d};const releaseRetryTokens=i=>{te+=i??V;te=Math.min(te,p)};return Object.freeze({hasRetryTokens:hasRetryTokens,retrieveRetryTokens:retrieveRetryTokens,releaseRetryTokens:releaseRetryTokens})};const defaultDelayDecider=(i,d)=>Math.floor(Math.min(v.MAXIMUM_RETRY_DELAY,Math.random()*2**d*i));const defaultRetryDecider=i=>{if(!i){return false}return K.isRetryableByTrait(i)||K.isClockSkewError(i)||K.isThrottlingError(i)||K.isTransientError(i)};const asSdkError=i=>{if(i instanceof Error)return i;if(i instanceof Object)return Object.assign(new Error,i);if(typeof i==="string")return new Error(i);return new Error(`AWS SDK error wrapper for ${i}`)};class StandardRetryStrategy{maxAttemptsProvider;retryDecider;delayDecider;retryQuota;mode=v.RETRY_MODES.STANDARD;constructor(i,d){this.maxAttemptsProvider=i;this.retryDecider=d?.retryDecider??defaultRetryDecider;this.delayDecider=d?.delayDecider??defaultDelayDecider;this.retryQuota=d?.retryQuota??getDefaultRetryQuota(v.INITIAL_RETRY_TOKENS)}shouldRetry(i,d,p){return dsetTimeout(i,V)));continue}if(!d.$metadata){d.$metadata={}}d.$metadata.attempts=re;d.$metadata.totalRetryDelay=ne;throw d}}}}const getDelayFromRetryAfterHeader=i=>{if(!V.HttpResponse.isInstance(i))return;const d=Object.keys(i.headers).find((i=>i.toLowerCase()==="retry-after"));if(!d)return;const p=i.headers[d];const v=Number(p);if(!Number.isNaN(v))return v*1e3;const K=new Date(p);return K.getTime()-Date.now()};class AdaptiveRetryStrategy extends StandardRetryStrategy{rateLimiter;constructor(i,d){const{rateLimiter:p,...V}=d??{};super(i,V);this.rateLimiter=p??new v.DefaultRateLimiter;this.mode=v.RETRY_MODES.ADAPTIVE}async retry(i,d){return super.retry(i,d,{beforeRequest:async()=>this.rateLimiter.getSendToken(),afterRequest:i=>{this.rateLimiter.updateClientSendingRate(i)}})}}const se="AWS_MAX_ATTEMPTS";const ie="max_attempts";const oe={environmentVariableSelector:i=>{const d=i[se];if(!d)return undefined;const p=parseInt(d);if(Number.isNaN(p)){throw new Error(`Environment variable ${se} mast be a number, got "${d}"`)}return p},configFileSelector:i=>{const d=i[ie];if(!d)return undefined;const p=parseInt(d);if(Number.isNaN(p)){throw new Error(`Shared config file entry ${ie} mast be a number, got "${d}"`)}return p},default:v.DEFAULT_MAX_ATTEMPTS};const resolveRetryConfig=i=>{const{retryStrategy:d,retryMode:p,maxAttempts:V}=i;const K=te.normalizeProvider(V??v.DEFAULT_MAX_ATTEMPTS);return Object.assign(i,{maxAttempts:K,retryStrategy:async()=>{if(d){return d}const i=await te.normalizeProvider(p)();if(i===v.RETRY_MODES.ADAPTIVE){return new v.AdaptiveRetryStrategy(K)}return new v.StandardRetryStrategy(K)}})};const ae="AWS_RETRY_MODE";const Ae="retry_mode";const ce={environmentVariableSelector:i=>i[ae],configFileSelector:i=>i[Ae],default:v.DEFAULT_RETRY_MODE};const omitRetryHeadersMiddleware=()=>i=>async d=>{const{request:p}=d;if(V.HttpRequest.isInstance(p)){delete p.headers[v.INVOCATION_ID_HEADER];delete p.headers[v.REQUEST_HEADER]}return i(d)};const le={name:"omitRetryHeadersMiddleware",tags:["RETRY","HEADERS","OMIT_RETRY_HEADERS"],relation:"before",toMiddleware:"awsAuthMiddleware",override:true};const getOmitRetryHeadersPlugin=i=>({applyToStack:i=>{i.addRelativeTo(omitRetryHeadersMiddleware(),le)}});const retryMiddleware=i=>(d,p)=>async K=>{let te=await i.retryStrategy();const se=await i.maxAttempts();if(isRetryStrategyV2(te)){te=te;let i=await te.acquireInitialRetryToken(p["partition_id"]);let ie=new Error;let oe=0;let ae=0;const{request:Ae}=K;const ce=V.HttpRequest.isInstance(Ae);if(ce){Ae.headers[v.INVOCATION_ID_HEADER]=ee.v4()}while(true){try{if(ce){Ae.headers[v.REQUEST_HEADER]=`attempt=${oe+1}; max=${se}`}const{response:p,output:V}=await d(K);te.recordSuccess(i);V.$metadata.attempts=oe+1;V.$metadata.totalRetryDelay=ae;return{response:p,output:V}}catch(d){const v=getRetryErrorInfo(d);ie=asSdkError(d);if(ce&&ne.isStreamingPayload(Ae)){(p.logger instanceof re.NoOpLogger?console:p.logger)?.warn("An error was encountered in a non-retryable streaming request.");throw ie}try{i=await te.refreshRetryTokenForRetry(i,v)}catch(i){if(!ie.$metadata){ie.$metadata={}}ie.$metadata.attempts=oe+1;ie.$metadata.totalRetryDelay=ae;throw ie}oe=i.getRetryCount();const V=i.getRetryDelay();ae+=V;await new Promise((i=>setTimeout(i,V)))}}}else{te=te;if(te?.mode)p.userAgent=[...p.userAgent||[],["cfg/retry-mode",te.mode]];return te.retry(d,K)}};const isRetryStrategyV2=i=>typeof i.acquireInitialRetryToken!=="undefined"&&typeof i.refreshRetryTokenForRetry!=="undefined"&&typeof i.recordSuccess!=="undefined";const getRetryErrorInfo=i=>{const d={error:i,errorType:getRetryErrorType(i)};const p=getRetryAfterHint(i.$response);if(p){d.retryAfterHint=p}return d};const getRetryErrorType=i=>{if(K.isThrottlingError(i))return"THROTTLING";if(K.isTransientError(i))return"TRANSIENT";if(K.isServerError(i))return"SERVER_ERROR";return"CLIENT_ERROR"};const ue={name:"retryMiddleware",tags:["RETRY"],step:"finalizeRequest",priority:"high",override:true};const getRetryPlugin=i=>({applyToStack:d=>{d.add(retryMiddleware(i),ue)}});const getRetryAfterHint=i=>{if(!V.HttpResponse.isInstance(i))return;const d=Object.keys(i.headers).find((i=>i.toLowerCase()==="retry-after"));if(!d)return;const p=i.headers[d];const v=Number(p);if(!Number.isNaN(v))return new Date(v*1e3);const K=new Date(p);return K};d.AdaptiveRetryStrategy=AdaptiveRetryStrategy;d.CONFIG_MAX_ATTEMPTS=ie;d.CONFIG_RETRY_MODE=Ae;d.ENV_MAX_ATTEMPTS=se;d.ENV_RETRY_MODE=ae;d.NODE_MAX_ATTEMPT_CONFIG_OPTIONS=oe;d.NODE_RETRY_MODE_CONFIG_OPTIONS=ce;d.StandardRetryStrategy=StandardRetryStrategy;d.defaultDelayDecider=defaultDelayDecider;d.defaultRetryDecider=defaultRetryDecider;d.getOmitRetryHeadersPlugin=getOmitRetryHeadersPlugin;d.getRetryAfterHint=getRetryAfterHint;d.getRetryPlugin=getRetryPlugin;d.omitRetryHeadersMiddleware=omitRetryHeadersMiddleware;d.omitRetryHeadersMiddlewareOptions=le;d.resolveRetryConfig=resolveRetryConfig;d.retryMiddleware=retryMiddleware;d.retryMiddlewareOptions=ue},49831:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.isStreamingPayload=void 0;const v=p(2203);const isStreamingPayload=i=>i?.body instanceof v.Readable||typeof ReadableStream!=="undefined"&&i?.body instanceof ReadableStream;d.isStreamingPayload=isStreamingPayload},83255:(i,d,p)=>{var v=p(72356);const deserializerMiddleware=(i,d)=>(p,V)=>async K=>{const{response:ee}=await p(K);try{const p=await d(ee,i);return{response:ee,output:p}}catch(i){Object.defineProperty(i,"$response",{value:ee,enumerable:false,writable:false,configurable:false});if(!("$metadata"in i)){const d=`Deserialization error: to see the raw response, inspect the hidden field {error}.$response on this object.`;try{i.message+="\n "+d}catch(i){if(!V.logger||V.logger?.constructor?.name==="NoOpLogger"){console.warn(d)}else{V.logger?.warn?.(d)}}if(typeof i.$responseBodyText!=="undefined"){if(i.$response){i.$response.body=i.$responseBodyText}}try{if(v.HttpResponse.isInstance(ee)){const{headers:d={}}=ee;const p=Object.entries(d);i.$metadata={httpStatusCode:ee.statusCode,requestId:findHeader(/^x-[\w-]+-request-?id$/,p),extendedRequestId:findHeader(/^x-[\w-]+-id-2$/,p),cfId:findHeader(/^x-[\w-]+-cf-id$/,p)}}}catch(i){}}throw i}};const findHeader=(i,d)=>(d.find((([d])=>d.match(i)))||[void 0,void 0])[1];const serializerMiddleware=(i,d)=>(p,v)=>async V=>{const K=i;const ee=v.endpointV2?.url&&K.urlParser?async()=>K.urlParser(v.endpointV2.url):K.endpoint;if(!ee){throw new Error("No valid endpoint provider available.")}const te=await d(V.input,{...i,endpoint:ee});return p({...V,request:te})};const V={name:"deserializerMiddleware",step:"deserialize",tags:["DESERIALIZER"],override:true};const K={name:"serializerMiddleware",step:"serialize",tags:["SERIALIZER"],override:true};function getSerdePlugin(i,d,p){return{applyToStack:v=>{v.add(deserializerMiddleware(i,p),V);v.add(serializerMiddleware(i,d),K)}}}d.deserializerMiddleware=deserializerMiddleware;d.deserializerMiddlewareOption=V;d.getSerdePlugin=getSerdePlugin;d.serializerMiddleware=serializerMiddleware;d.serializerMiddlewareOption=K},9208:(i,d)=>{const getAllAliases=(i,d)=>{const p=[];if(i){p.push(i)}if(d){for(const i of d){p.push(i)}}return p};const getMiddlewareNameWithAliases=(i,d)=>`${i||"anonymous"}${d&&d.length>0?` (a.k.a. ${d.join(",")})`:""}`;const constructStack=()=>{let i=[];let d=[];let V=false;const K=new Set;const sort=i=>i.sort(((i,d)=>p[d.step]-p[i.step]||v[d.priority||"normal"]-v[i.priority||"normal"]));const removeByName=p=>{let v=false;const filterCb=i=>{const d=getAllAliases(i.name,i.aliases);if(d.includes(p)){v=true;for(const i of d){K.delete(i)}return false}return true};i=i.filter(filterCb);d=d.filter(filterCb);return v};const removeByReference=p=>{let v=false;const filterCb=i=>{if(i.middleware===p){v=true;for(const d of getAllAliases(i.name,i.aliases)){K.delete(d)}return false}return true};i=i.filter(filterCb);d=d.filter(filterCb);return v};const cloneTo=p=>{i.forEach((i=>{p.add(i.middleware,{...i})}));d.forEach((i=>{p.addRelativeTo(i.middleware,{...i})}));p.identifyOnResolve?.(ee.identifyOnResolve());return p};const expandRelativeMiddlewareList=i=>{const d=[];i.before.forEach((i=>{if(i.before.length===0&&i.after.length===0){d.push(i)}else{d.push(...expandRelativeMiddlewareList(i))}}));d.push(i);i.after.reverse().forEach((i=>{if(i.before.length===0&&i.after.length===0){d.push(i)}else{d.push(...expandRelativeMiddlewareList(i))}}));return d};const getMiddlewareList=(p=false)=>{const v=[];const V=[];const K={};i.forEach((i=>{const d={...i,before:[],after:[]};for(const i of getAllAliases(d.name,d.aliases)){K[i]=d}v.push(d)}));d.forEach((i=>{const d={...i,before:[],after:[]};for(const i of getAllAliases(d.name,d.aliases)){K[i]=d}V.push(d)}));V.forEach((i=>{if(i.toMiddleware){const d=K[i.toMiddleware];if(d===undefined){if(p){return}throw new Error(`${i.toMiddleware} is not found when adding `+`${getMiddlewareNameWithAliases(i.name,i.aliases)} `+`middleware ${i.relation} ${i.toMiddleware}`)}if(i.relation==="after"){d.after.push(i)}if(i.relation==="before"){d.before.push(i)}}}));const ee=sort(v).map(expandRelativeMiddlewareList).reduce(((i,d)=>{i.push(...d);return i}),[]);return ee};const ee={add:(d,p={})=>{const{name:v,override:V,aliases:ee}=p;const te={step:"initialize",priority:"normal",middleware:d,...p};const re=getAllAliases(v,ee);if(re.length>0){if(re.some((i=>K.has(i)))){if(!V)throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(v,ee)}'`);for(const d of re){const p=i.findIndex((i=>i.name===d||i.aliases?.some((i=>i===d))));if(p===-1){continue}const V=i[p];if(V.step!==te.step||te.priority!==V.priority){throw new Error(`"${getMiddlewareNameWithAliases(V.name,V.aliases)}" middleware with `+`${V.priority} priority in ${V.step} step cannot `+`be overridden by "${getMiddlewareNameWithAliases(v,ee)}" middleware with `+`${te.priority} priority in ${te.step} step.`)}i.splice(p,1)}}for(const i of re){K.add(i)}}i.push(te)},addRelativeTo:(i,p)=>{const{name:v,override:V,aliases:ee}=p;const te={middleware:i,...p};const re=getAllAliases(v,ee);if(re.length>0){if(re.some((i=>K.has(i)))){if(!V)throw new Error(`Duplicate middleware name '${getMiddlewareNameWithAliases(v,ee)}'`);for(const i of re){const p=d.findIndex((d=>d.name===i||d.aliases?.some((d=>d===i))));if(p===-1){continue}const V=d[p];if(V.toMiddleware!==te.toMiddleware||V.relation!==te.relation){throw new Error(`"${getMiddlewareNameWithAliases(V.name,V.aliases)}" middleware `+`${V.relation} "${V.toMiddleware}" middleware cannot be overridden `+`by "${getMiddlewareNameWithAliases(v,ee)}" middleware ${te.relation} `+`"${te.toMiddleware}" middleware.`)}d.splice(p,1)}}for(const i of re){K.add(i)}}d.push(te)},clone:()=>cloneTo(constructStack()),use:i=>{i.applyToStack(ee)},remove:i=>{if(typeof i==="string")return removeByName(i);else return removeByReference(i)},removeByTag:p=>{let v=false;const filterCb=i=>{const{tags:d,name:V,aliases:ee}=i;if(d&&d.includes(p)){const i=getAllAliases(V,ee);for(const d of i){K.delete(d)}v=true;return false}return true};i=i.filter(filterCb);d=d.filter(filterCb);return v},concat:i=>{const d=cloneTo(constructStack());d.use(i);d.identifyOnResolve(V||d.identifyOnResolve()||(i.identifyOnResolve?.()??false));return d},applyToStack:cloneTo,identify:()=>getMiddlewareList(true).map((i=>{const d=i.step??i.relation+" "+i.toMiddleware;return getMiddlewareNameWithAliases(i.name,i.aliases)+" - "+d})),identifyOnResolve(i){if(typeof i==="boolean")V=i;return V},resolve:(i,d)=>{for(const p of getMiddlewareList().map((i=>i.middleware)).reverse()){i=p(i,d)}if(V){console.log(ee.identify())}return i}};return ee};const p={initialize:5,serialize:4,build:3,finalizeRequest:2,deserialize:1};const v={high:3,normal:2,low:1};d.constructStack=constructStack},55704:(i,d,p)=>{var v=p(71238);var V=p(94964);function getSelectorName(i){try{const d=new Set(Array.from(i.match(/([A-Z_]){3,}/g)??[]));d.delete("CONFIG");d.delete("CONFIG_PREFIX_SEPARATOR");d.delete("ENV");return[...d].join(", ")}catch(d){return i}}const fromEnv=(i,d)=>async()=>{try{const p=i(process.env,d);if(p===undefined){throw new Error}return p}catch(p){throw new v.CredentialsProviderError(p.message||`Not found in ENV: ${getSelectorName(i.toString())}`,{logger:d?.logger})}};const fromSharedConfigFiles=(i,{preferredFile:d="config",...p}={})=>async()=>{const K=V.getProfileName(p);const{configFile:ee,credentialsFile:te}=await V.loadSharedConfigFiles(p);const re=te[K]||{};const ne=ee[K]||{};const se=d==="config"?{...re,...ne}:{...ne,...re};try{const p=d==="config"?ee:te;const v=i(se,p);if(v===undefined){throw new Error}return v}catch(d){throw new v.CredentialsProviderError(d.message||`Not found in config files w/ profile [${K}]: ${getSelectorName(i.toString())}`,{logger:p.logger})}};const isFunction=i=>typeof i==="function";const fromStatic=i=>isFunction(i)?async()=>await i():v.fromStatic(i);const loadConfig=({environmentVariableSelector:i,configFileSelector:d,default:p},V={})=>{const{signingName:K,logger:ee}=V;const te={signingName:K,logger:ee};return v.memoize(v.chain(fromEnv(i,te),fromSharedConfigFiles(d,V),fromStatic(p)))};d.loadConfig=loadConfig},61279:(i,d,p)=>{var v=p(72356);var V=p(18256);var K=p(58611);var ee=p(65692);var te=p(2203);var re=p(85675);const ne=["ECONNRESET","EPIPE","ETIMEDOUT"];const getTransformedHeaders=i=>{const d={};for(const p of Object.keys(i)){const v=i[p];d[p]=Array.isArray(v)?v.join(","):v}return d};const se={setTimeout:(i,d)=>setTimeout(i,d),clearTimeout:i=>clearTimeout(i)};const ie=1e3;const setConnectionTimeout=(i,d,p=0)=>{if(!p){return-1}const registerTimeout=v=>{const V=se.setTimeout((()=>{i.destroy();d(Object.assign(new Error(`@smithy/node-http-handler - the request socket did not establish a connection with the server within the configured timeout of ${p} ms.`),{name:"TimeoutError"}))}),p-v);const doWithSocket=i=>{if(i?.connecting){i.on("connect",(()=>{se.clearTimeout(V)}))}else{se.clearTimeout(V)}};if(i.socket){doWithSocket(i.socket)}else{i.on("socket",doWithSocket)}};if(p<2e3){registerTimeout(0);return 0}return se.setTimeout(registerTimeout.bind(null,ie),ie)};const setRequestTimeout=(i,d,p=0,v,V)=>{if(p){return se.setTimeout((()=>{let K=`@smithy/node-http-handler - [${v?"ERROR":"WARN"}] a request has exceeded the configured ${p} ms requestTimeout.`;if(v){const p=Object.assign(new Error(K),{name:"TimeoutError",code:"ETIMEDOUT"});i.destroy(p);d(p)}else{K+=` Init client requestHandler with throwOnRequestTimeout=true to turn this into an error.`;V?.warn?.(K)}}),p)}return-1};const oe=3e3;const setSocketKeepAlive=(i,{keepAlive:d,keepAliveMsecs:p},v=oe)=>{if(d!==true){return-1}const registerListener=()=>{if(i.socket){i.socket.setKeepAlive(d,p||0)}else{i.on("socket",(i=>{i.setKeepAlive(d,p||0)}))}};if(v===0){registerListener();return 0}return se.setTimeout(registerListener,v)};const ae=3e3;const setSocketTimeout=(i,d,p=0)=>{const registerTimeout=v=>{const V=p-v;const onTimeout=()=>{i.destroy();d(Object.assign(new Error(`@smithy/node-http-handler - the request socket timed out after ${p} ms of inactivity (configured by client requestHandler).`),{name:"TimeoutError"}))};if(i.socket){i.socket.setTimeout(V,onTimeout);i.on("close",(()=>i.socket?.removeListener("timeout",onTimeout)))}else{i.setTimeout(V,onTimeout)}};if(0{ee=Number(se.setTimeout((()=>i(true)),Math.max(Ae,p)))})),new Promise((d=>{i.on("continue",(()=>{se.clearTimeout(ee);d(true)}));i.on("response",(()=>{se.clearTimeout(ee);d(false)}));i.on("error",(()=>{se.clearTimeout(ee);d(false)}))}))])}if(te){writeBody(i,d.body)}}function writeBody(i,d){if(d instanceof te.Readable){d.pipe(i);return}if(d){if(Buffer.isBuffer(d)||typeof d==="string"){i.end(d);return}const p=d;if(typeof p==="object"&&p.buffer&&typeof p.byteOffset==="number"&&typeof p.byteLength==="number"){i.end(Buffer.from(p.buffer,p.byteOffset,p.byteLength));return}i.end(Buffer.from(d));return}i.end()}const ce=0;class NodeHttpHandler{config;configProvider;socketWarningTimestamp=0;externalAgent=false;metadata={handlerProtocol:"http/1.1"};static create(i){if(typeof i?.handle==="function"){return i}return new NodeHttpHandler(i)}static checkSocketUsage(i,d,p=console){const{sockets:v,requests:V,maxSockets:K}=i;if(typeof K!=="number"||K===Infinity){return d}const ee=15e3;if(Date.now()-ee=K&&ee>=2*K){p?.warn?.(`@smithy/node-http-handler:WARN - socket usage at capacity=${d} and ${ee} additional requests are enqueued.\nSee https://docs.aws.amazon.com/sdk-for-javascript/v3/developer-guide/node-configuring-maxsockets.html\nor increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler config.`);return Date.now()}}}return d}constructor(i){this.configProvider=new Promise(((d,p)=>{if(typeof i==="function"){i().then((i=>{d(this.resolveDefaultConfig(i))})).catch(p)}else{d(this.resolveDefaultConfig(i))}}))}resolveDefaultConfig(i){const{requestTimeout:d,connectionTimeout:p,socketTimeout:v,socketAcquisitionWarningTimeout:V,httpAgent:te,httpsAgent:re,throwOnRequestTimeout:ne}=i||{};const se=true;const ie=50;return{connectionTimeout:p,requestTimeout:d,socketTimeout:v,socketAcquisitionWarningTimeout:V,throwOnRequestTimeout:ne,httpAgent:(()=>{if(te instanceof K.Agent||typeof te?.destroy==="function"){this.externalAgent=true;return te}return new K.Agent({keepAlive:se,maxSockets:ie,...te})})(),httpsAgent:(()=>{if(re instanceof ee.Agent||typeof re?.destroy==="function"){this.externalAgent=true;return re}return new ee.Agent({keepAlive:se,maxSockets:ie,...re})})(),logger:console}}destroy(){this.config?.httpAgent?.destroy();this.config?.httpsAgent?.destroy()}async handle(i,{abortSignal:d,requestTimeout:p}={}){if(!this.config){this.config=await this.configProvider}return new Promise(((te,re)=>{const ie=this.config;let oe=undefined;const ae=[];const resolve=async i=>{await oe;ae.forEach(se.clearTimeout);te(i)};const reject=async i=>{await oe;ae.forEach(se.clearTimeout);re(i)};if(d?.aborted){const i=new Error("Request aborted");i.name="AbortError";reject(i);return}const Ae=i.protocol==="https:";const ce=i.headers??{};const le=(ce.Expect??ce.expect)==="100-continue";let ue=Ae?ie.httpsAgent:ie.httpAgent;if(le&&!this.externalAgent){ue=new(Ae?ee.Agent:K.Agent)({keepAlive:false,maxSockets:Infinity})}ae.push(se.setTimeout((()=>{this.socketWarningTimestamp=NodeHttpHandler.checkSocketUsage(ue,this.socketWarningTimestamp,ie.logger)}),ie.socketAcquisitionWarningTimeout??(ie.requestTimeout??2e3)+(ie.connectionTimeout??1e3)));const de=V.buildQueryString(i.query||{});let he=undefined;if(i.username!=null||i.password!=null){const d=i.username??"";const p=i.password??"";he=`${d}:${p}`}let fe=i.path;if(de){fe+=`?${de}`}if(i.fragment){fe+=`#${i.fragment}`}let ge=i.hostname??"";if(ge[0]==="["&&ge.endsWith("]")){ge=i.hostname.slice(1,-1)}else{ge=i.hostname}const pe={headers:i.headers,host:ge,method:i.method,path:fe,port:i.port,agent:ue,auth:he};const me=Ae?ee.request:K.request;const Ee=me(pe,(i=>{const d=new v.HttpResponse({statusCode:i.statusCode||-1,reason:i.statusMessage,headers:getTransformedHeaders(i.headers),body:i});resolve({response:d})}));Ee.on("error",(i=>{if(ne.includes(i.code)){reject(Object.assign(i,{name:"TimeoutError"}))}else{reject(i)}}));if(d){const onAbort=()=>{Ee.destroy();const i=new Error("Request aborted");i.name="AbortError";reject(i)};if(typeof d.addEventListener==="function"){const i=d;i.addEventListener("abort",onAbort,{once:true});Ee.once("close",(()=>i.removeEventListener("abort",onAbort)))}else{d.onabort=onAbort}}const Ce=p??ie.requestTimeout;ae.push(setConnectionTimeout(Ee,reject,ie.connectionTimeout));ae.push(setRequestTimeout(Ee,reject,Ce,ie.throwOnRequestTimeout,ie.logger??console));ae.push(setSocketTimeout(Ee,reject,ie.socketTimeout));const ye=pe.agent;if(typeof ye==="object"&&"keepAlive"in ye){ae.push(setSocketKeepAlive(Ee,{keepAlive:ye.keepAlive,keepAliveMsecs:ye.keepAliveMsecs}))}oe=writeRequestBody(Ee,i,Ce,this.externalAgent).catch((i=>{ae.forEach(se.clearTimeout);return re(i)}))}))}updateHttpClientConfig(i,d){this.config=undefined;this.configProvider=this.configProvider.then((p=>({...p,[i]:d})))}httpHandlerConfigs(){return this.config??{}}}class NodeHttp2ConnectionPool{sessions=[];constructor(i){this.sessions=i??[]}poll(){if(this.sessions.length>0){return this.sessions.shift()}}offerLast(i){this.sessions.push(i)}contains(i){return this.sessions.includes(i)}remove(i){this.sessions=this.sessions.filter((d=>d!==i))}[Symbol.iterator](){return this.sessions[Symbol.iterator]()}destroy(i){for(const d of this.sessions){if(d===i){if(!d.destroyed){d.destroy()}}}}}class NodeHttp2ConnectionManager{constructor(i){this.config=i;if(this.config.maxConcurrency&&this.config.maxConcurrency<=0){throw new RangeError("maxConcurrency must be greater than zero.")}}config;sessionCache=new Map;lease(i,d){const p=this.getUrlString(i);const v=this.sessionCache.get(p);if(v){const i=v.poll();if(i&&!this.config.disableConcurrency){return i}}const V=re.connect(p);if(this.config.maxConcurrency){V.settings({maxConcurrentStreams:this.config.maxConcurrency},(d=>{if(d){throw new Error("Fail to set maxConcurrentStreams to "+this.config.maxConcurrency+"when creating new session for "+i.destination.toString())}}))}V.unref();const destroySessionCb=()=>{V.destroy();this.deleteSession(p,V)};V.on("goaway",destroySessionCb);V.on("error",destroySessionCb);V.on("frameError",destroySessionCb);V.on("close",(()=>this.deleteSession(p,V)));if(d.requestTimeout){V.setTimeout(d.requestTimeout,destroySessionCb)}const K=this.sessionCache.get(p)||new NodeHttp2ConnectionPool;K.offerLast(V);this.sessionCache.set(p,K);return V}deleteSession(i,d){const p=this.sessionCache.get(i);if(!p){return}if(!p.contains(d)){return}p.remove(d);this.sessionCache.set(i,p)}release(i,d){const p=this.getUrlString(i);this.sessionCache.get(p)?.offerLast(d)}destroy(){for(const[i,d]of this.sessionCache){for(const i of d){if(!i.destroyed){i.destroy()}d.remove(i)}this.sessionCache.delete(i)}}setMaxConcurrentStreams(i){if(i&&i<=0){throw new RangeError("maxConcurrentStreams must be greater than zero.")}this.config.maxConcurrency=i}setDisableConcurrentStreams(i){this.config.disableConcurrency=i}getUrlString(i){return i.destination.toString()}}class NodeHttp2Handler{config;configProvider;metadata={handlerProtocol:"h2"};connectionManager=new NodeHttp2ConnectionManager({});static create(i){if(typeof i?.handle==="function"){return i}return new NodeHttp2Handler(i)}constructor(i){this.configProvider=new Promise(((d,p)=>{if(typeof i==="function"){i().then((i=>{d(i||{})})).catch(p)}else{d(i||{})}}))}destroy(){this.connectionManager.destroy()}async handle(i,{abortSignal:d,requestTimeout:p}={}){if(!this.config){this.config=await this.configProvider;this.connectionManager.setDisableConcurrentStreams(this.config.disableConcurrentStreams||false);if(this.config.maxConcurrentStreams){this.connectionManager.setMaxConcurrentStreams(this.config.maxConcurrentStreams)}}const{requestTimeout:K,disableConcurrentStreams:ee}=this.config;const te=p??K;return new Promise(((p,K)=>{let ne=false;let se=undefined;const resolve=async i=>{await se;p(i)};const reject=async i=>{await se;K(i)};if(d?.aborted){ne=true;const i=new Error("Request aborted");i.name="AbortError";reject(i);return}const{hostname:ie,method:oe,port:ae,protocol:Ae,query:ce}=i;let le="";if(i.username!=null||i.password!=null){const d=i.username??"";const p=i.password??"";le=`${d}:${p}@`}const ue=`${Ae}//${le}${ie}${ae?`:${ae}`:""}`;const de={destination:new URL(ue)};const he=this.connectionManager.lease(de,{requestTimeout:this.config?.sessionTimeout,disableConcurrentStreams:ee||false});const rejectWithDestroy=i=>{if(ee){this.destroySession(he)}ne=true;reject(i)};const fe=V.buildQueryString(ce||{});let ge=i.path;if(fe){ge+=`?${fe}`}if(i.fragment){ge+=`#${i.fragment}`}const pe=he.request({...i.headers,[re.constants.HTTP2_HEADER_PATH]:ge,[re.constants.HTTP2_HEADER_METHOD]:oe});he.ref();pe.on("response",(i=>{const d=new v.HttpResponse({statusCode:i[":status"]||-1,headers:getTransformedHeaders(i),body:pe});ne=true;resolve({response:d});if(ee){he.close();this.connectionManager.deleteSession(ue,he)}}));if(te){pe.setTimeout(te,(()=>{pe.close();const i=new Error(`Stream timed out because of no activity for ${te} ms`);i.name="TimeoutError";rejectWithDestroy(i)}))}if(d){const onAbort=()=>{pe.close();const i=new Error("Request aborted");i.name="AbortError";rejectWithDestroy(i)};if(typeof d.addEventListener==="function"){const i=d;i.addEventListener("abort",onAbort,{once:true});pe.once("close",(()=>i.removeEventListener("abort",onAbort)))}else{d.onabort=onAbort}}pe.on("frameError",((i,d,p)=>{rejectWithDestroy(new Error(`Frame type id ${i} in stream id ${p} has failed with code ${d}.`))}));pe.on("error",rejectWithDestroy);pe.on("aborted",(()=>{rejectWithDestroy(new Error(`HTTP/2 stream is abnormally aborted in mid-communication with result code ${pe.rstCode}.`))}));pe.on("close",(()=>{he.unref();if(ee){he.destroy()}if(!ne){rejectWithDestroy(new Error("Unexpected error: http2 request did not get a response"))}}));se=writeRequestBody(pe,i,te)}))}updateHttpClientConfig(i,d){this.config=undefined;this.configProvider=this.configProvider.then((p=>({...p,[i]:d})))}httpHandlerConfigs(){return this.config??{}}destroySession(i){if(!i.destroyed){i.destroy()}}}class Collector extends te.Writable{bufferedBytes=[];_write(i,d,p){this.bufferedBytes.push(i);p()}}const streamCollector=i=>{if(isReadableStreamInstance(i)){return collectReadableStream(i)}return new Promise(((d,p)=>{const v=new Collector;i.pipe(v);i.on("error",(i=>{v.end();p(i)}));v.on("error",p);v.on("finish",(function(){const i=new Uint8Array(Buffer.concat(this.bufferedBytes));d(i)}))}))};const isReadableStreamInstance=i=>typeof ReadableStream==="function"&&i instanceof ReadableStream;async function collectReadableStream(i){const d=[];const p=i.getReader();let v=false;let V=0;while(!v){const{done:i,value:K}=await p.read();if(K){d.push(K);V+=K.length}v=i}const K=new Uint8Array(V);let ee=0;for(const i of d){K.set(i,ee);ee+=i.length}return K}d.DEFAULT_REQUEST_TIMEOUT=ce;d.NodeHttp2Handler=NodeHttp2Handler;d.NodeHttpHandler=NodeHttpHandler;d.streamCollector=streamCollector},71238:(i,d)=>{class ProviderError extends Error{name="ProviderError";tryNextLink;constructor(i,d=true){let p;let v=true;if(typeof d==="boolean"){p=undefined;v=d}else if(d!=null&&typeof d==="object"){p=d.logger;v=d.tryNextLink??true}super(i);this.tryNextLink=v;Object.setPrototypeOf(this,ProviderError.prototype);p?.debug?.(`@smithy/property-provider ${v?"->":"(!)"} ${i}`)}static from(i,d=true){return Object.assign(new this(i.message,d),i)}}class CredentialsProviderError extends ProviderError{name="CredentialsProviderError";constructor(i,d=true){super(i,d);Object.setPrototypeOf(this,CredentialsProviderError.prototype)}}class TokenProviderError extends ProviderError{name="TokenProviderError";constructor(i,d=true){super(i,d);Object.setPrototypeOf(this,TokenProviderError.prototype)}}const chain=(...i)=>async()=>{if(i.length===0){throw new ProviderError("No providers in chain")}let d;for(const p of i){try{const i=await p();return i}catch(i){d=i;if(i?.tryNextLink){continue}throw i}}throw d};const fromStatic=i=>()=>Promise.resolve(i);const memoize=(i,d,p)=>{let v;let V;let K;let ee=false;const coalesceProvider=async()=>{if(!V){V=i()}try{v=await V;K=true;ee=false}finally{V=undefined}return v};if(d===undefined){return async i=>{if(!K||i?.forceRefresh){v=await coalesceProvider()}return v}}return async i=>{if(!K||i?.forceRefresh){v=await coalesceProvider()}if(ee){return v}if(p&&!p(v)){ee=true;return v}if(d(v)){await coalesceProvider();return v}return v}};d.CredentialsProviderError=CredentialsProviderError;d.ProviderError=ProviderError;d.TokenProviderError=TokenProviderError;d.chain=chain;d.fromStatic=fromStatic;d.memoize=memoize},72356:(i,d,p)=>{var v=p(90690);const getHttpHandlerExtensionConfiguration=i=>({setHttpHandler(d){i.httpHandler=d},httpHandler(){return i.httpHandler},updateHttpClientConfig(d,p){i.httpHandler?.updateHttpClientConfig(d,p)},httpHandlerConfigs(){return i.httpHandler.httpHandlerConfigs()}});const resolveHttpHandlerRuntimeConfig=i=>({httpHandler:i.httpHandler()});class Field{name;kind;values;constructor({name:i,kind:d=v.FieldPosition.HEADER,values:p=[]}){this.name=i;this.kind=d;this.values=p}add(i){this.values.push(i)}set(i){this.values=i}remove(i){this.values=this.values.filter((d=>d!==i))}toString(){return this.values.map((i=>i.includes(",")||i.includes(" ")?`"${i}"`:i)).join(", ")}get(){return this.values}}class Fields{entries={};encoding;constructor({fields:i=[],encoding:d="utf-8"}){i.forEach(this.setField.bind(this));this.encoding=d}setField(i){this.entries[i.name.toLowerCase()]=i}getField(i){return this.entries[i.toLowerCase()]}removeField(i){delete this.entries[i.toLowerCase()]}getByType(i){return Object.values(this.entries).filter((d=>d.kind===i))}}class HttpRequest{method;protocol;hostname;port;path;query;headers;username;password;fragment;body;constructor(i){this.method=i.method||"GET";this.hostname=i.hostname||"localhost";this.port=i.port;this.query=i.query||{};this.headers=i.headers||{};this.body=i.body;this.protocol=i.protocol?i.protocol.slice(-1)!==":"?`${i.protocol}:`:i.protocol:"https:";this.path=i.path?i.path.charAt(0)!=="/"?`/${i.path}`:i.path:"/";this.username=i.username;this.password=i.password;this.fragment=i.fragment}static clone(i){const d=new HttpRequest({...i,headers:{...i.headers}});if(d.query){d.query=cloneQuery(d.query)}return d}static isInstance(i){if(!i){return false}const d=i;return"method"in d&&"protocol"in d&&"hostname"in d&&"path"in d&&typeof d["query"]==="object"&&typeof d["headers"]==="object"}clone(){return HttpRequest.clone(this)}}function cloneQuery(i){return Object.keys(i).reduce(((d,p)=>{const v=i[p];return{...d,[p]:Array.isArray(v)?[...v]:v}}),{})}class HttpResponse{statusCode;reason;headers;body;constructor(i){this.statusCode=i.statusCode;this.reason=i.reason;this.headers=i.headers||{};this.body=i.body}static isInstance(i){if(!i)return false;const d=i;return typeof d.statusCode==="number"&&typeof d.headers==="object"}}function isValidHostname(i){const d=/^[a-z0-9][a-z0-9\.\-]*[a-z0-9]$/;return d.test(i)}d.Field=Field;d.Fields=Fields;d.HttpRequest=HttpRequest;d.HttpResponse=HttpResponse;d.getHttpHandlerExtensionConfiguration=getHttpHandlerExtensionConfiguration;d.isValidHostname=isValidHostname;d.resolveHttpHandlerRuntimeConfig=resolveHttpHandlerRuntimeConfig},18256:(i,d,p)=>{var v=p(80146);function buildQueryString(i){const d=[];for(let p of Object.keys(i).sort()){const V=i[p];p=v.escapeUri(p);if(Array.isArray(V)){for(let i=0,K=V.length;i{function parseQueryString(i){const d={};i=i.replace(/^\?/,"");if(i){for(const p of i.split("&")){let[i,v=null]=p.split("=");i=decodeURIComponent(i);if(v){v=decodeURIComponent(v)}if(!(i in d)){d[i]=v}else if(Array.isArray(d[i])){d[i].push(v)}else{d[i]=[d[i],v]}}}return d}d.parseQueryString=parseQueryString},42058:(i,d)=>{const p=["AuthFailure","InvalidSignatureException","RequestExpired","RequestInTheFuture","RequestTimeTooSkewed","SignatureDoesNotMatch"];const v=["BandwidthLimitExceeded","EC2ThrottledException","LimitExceededException","PriorRequestNotComplete","ProvisionedThroughputExceededException","RequestLimitExceeded","RequestThrottled","RequestThrottledException","SlowDown","ThrottledException","Throttling","ThrottlingException","TooManyRequestsException","TransactionInProgressException"];const V=["TimeoutError","RequestTimeout","RequestTimeoutException"];const K=[500,502,503,504];const ee=["ECONNRESET","ECONNREFUSED","EPIPE","ETIMEDOUT"];const te=["EHOSTUNREACH","ENETUNREACH","ENOTFOUND"];const isRetryableByTrait=i=>i?.$retryable!==undefined;const isClockSkewError=i=>p.includes(i.name);const isClockSkewCorrectedError=i=>i.$metadata?.clockSkewCorrected;const isBrowserNetworkError=i=>{const d=new Set(["Failed to fetch","NetworkError when attempting to fetch resource","The Internet connection appears to be offline","Load failed","Network request failed"]);const p=i&&i instanceof TypeError;if(!p){return false}return d.has(i.message)};const isThrottlingError=i=>i.$metadata?.httpStatusCode===429||v.includes(i.name)||i.$retryable?.throttling==true;const isTransientError=(i,d=0)=>isRetryableByTrait(i)||isClockSkewCorrectedError(i)||V.includes(i.name)||ee.includes(i?.code||"")||te.includes(i?.code||"")||K.includes(i.$metadata?.httpStatusCode||0)||isBrowserNetworkError(i)||i.cause!==undefined&&d<=10&&isTransientError(i.cause,d+1);const isServerError=i=>{if(i.$metadata?.httpStatusCode!==undefined){const d=i.$metadata.httpStatusCode;if(500<=d&&d<=599&&!isTransientError(i)){return true}return false}return false};d.isBrowserNetworkError=isBrowserNetworkError;d.isClockSkewCorrectedError=isClockSkewCorrectedError;d.isClockSkewError=isClockSkewError;d.isRetryableByTrait=isRetryableByTrait;d.isServerError=isServerError;d.isThrottlingError=isThrottlingError;d.isTransientError=isTransientError},54172:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getHomeDir=void 0;const v=p(70857);const V=p(16928);const K={};const getHomeDirCacheKey=()=>{if(process&&process.geteuid){return`${process.geteuid()}`}return"DEFAULT"};const getHomeDir=()=>{const{HOME:i,USERPROFILE:d,HOMEPATH:p,HOMEDRIVE:ee=`C:${V.sep}`}=process.env;if(i)return i;if(d)return d;if(p)return`${ee}${p}`;const te=getHomeDirCacheKey();if(!K[te])K[te]=(0,v.homedir)();return K[te]};d.getHomeDir=getHomeDir},20269:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getSSOTokenFilepath=void 0;const v=p(76982);const V=p(16928);const K=p(54172);const getSSOTokenFilepath=i=>{const d=(0,v.createHash)("sha1");const p=d.update(i).digest("hex");return(0,V.join)((0,K.getHomeDir)(),".aws","sso","cache",`${p}.json`)};d.getSSOTokenFilepath=getSSOTokenFilepath},88945:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getSSOTokenFromFile=d.tokenIntercept=void 0;const v=p(91943);const V=p(20269);d.tokenIntercept={};const getSSOTokenFromFile=async i=>{if(d.tokenIntercept[i]){return d.tokenIntercept[i]}const p=(0,V.getSSOTokenFilepath)(i);const K=await(0,v.readFile)(p,"utf8");return JSON.parse(K)};d.getSSOTokenFromFile=getSSOTokenFromFile},94964:(i,d,p)=>{var v=p(54172);var V=p(20269);var K=p(88945);var ee=p(16928);var te=p(90690);var re=p(96684);const ne="AWS_PROFILE";const se="default";const getProfileName=i=>i.profile||process.env[ne]||se;const ie=".";const getConfigData=i=>Object.entries(i).filter((([i])=>{const d=i.indexOf(ie);if(d===-1){return false}return Object.values(te.IniSectionType).includes(i.substring(0,d))})).reduce(((i,[d,p])=>{const v=d.indexOf(ie);const V=d.substring(0,v)===te.IniSectionType.PROFILE?d.substring(v+1):d;i[V]=p;return i}),{...i.default&&{default:i.default}});const oe="AWS_CONFIG_FILE";const getConfigFilepath=()=>process.env[oe]||ee.join(v.getHomeDir(),".aws","config");const ae="AWS_SHARED_CREDENTIALS_FILE";const getCredentialsFilepath=()=>process.env[ae]||ee.join(v.getHomeDir(),".aws","credentials");const Ae=/^([\w-]+)\s(["'])?([\w-@\+\.%:/]+)\2$/;const ce=["__proto__","profile __proto__"];const parseIni=i=>{const d={};let p;let v;for(const V of i.split(/\r?\n/)){const i=V.split(/(^|\s)[;#]/)[0].trim();const K=i[0]==="["&&i[i.length-1]==="]";if(K){p=undefined;v=undefined;const d=i.substring(1,i.length-1);const V=Ae.exec(d);if(V){const[,i,,d]=V;if(Object.values(te.IniSectionType).includes(i)){p=[i,d].join(ie)}}else{p=d}if(ce.includes(d)){throw new Error(`Found invalid profile name "${d}"`)}}else if(p){const K=i.indexOf("=");if(![0,-1].includes(K)){const[ee,te]=[i.substring(0,K).trim(),i.substring(K+1).trim()];if(te===""){v=ee}else{if(v&&V.trimStart()===V){v=undefined}d[p]=d[p]||{};const i=v?[v,ee].join(ie):ee;d[p][i]=te}}}}return d};const swallowError$1=()=>({});const loadSharedConfigFiles=async(i={})=>{const{filepath:d=getCredentialsFilepath(),configFilepath:p=getConfigFilepath()}=i;const V=v.getHomeDir();const K="~/";let te=d;if(d.startsWith(K)){te=ee.join(V,d.slice(2))}let ne=p;if(p.startsWith(K)){ne=ee.join(V,p.slice(2))}const se=await Promise.all([re.readFile(ne,{ignoreCache:i.ignoreCache}).then(parseIni).then(getConfigData).catch(swallowError$1),re.readFile(te,{ignoreCache:i.ignoreCache}).then(parseIni).catch(swallowError$1)]);return{configFile:se[0],credentialsFile:se[1]}};const getSsoSessionData=i=>Object.entries(i).filter((([i])=>i.startsWith(te.IniSectionType.SSO_SESSION+ie))).reduce(((i,[d,p])=>({...i,[d.substring(d.indexOf(ie)+1)]:p})),{});const swallowError=()=>({});const loadSsoSessionData=async(i={})=>re.readFile(i.configFilepath??getConfigFilepath()).then(parseIni).then(getSsoSessionData).catch(swallowError);const mergeConfigFiles=(...i)=>{const d={};for(const p of i){for(const[i,v]of Object.entries(p)){if(d[i]!==undefined){Object.assign(d[i],v)}else{d[i]=v}}}return d};const parseKnownFiles=async i=>{const d=await loadSharedConfigFiles(i);return mergeConfigFiles(d.configFile,d.credentialsFile)};const le={getFileRecord(){return re.fileIntercept},interceptFile(i,d){re.fileIntercept[i]=Promise.resolve(d)},getTokenRecord(){return K.tokenIntercept},interceptToken(i,d){K.tokenIntercept[i]=d}};Object.defineProperty(d,"getSSOTokenFromFile",{enumerable:true,get:function(){return K.getSSOTokenFromFile}});Object.defineProperty(d,"readFile",{enumerable:true,get:function(){return re.readFile}});d.CONFIG_PREFIX_SEPARATOR=ie;d.DEFAULT_PROFILE=se;d.ENV_PROFILE=ne;d.externalDataInterceptor=le;d.getProfileName=getProfileName;d.loadSharedConfigFiles=loadSharedConfigFiles;d.loadSsoSessionData=loadSsoSessionData;d.parseKnownFiles=parseKnownFiles;Object.keys(v).forEach((function(i){if(i!=="default"&&!Object.prototype.hasOwnProperty.call(d,i))Object.defineProperty(d,i,{enumerable:true,get:function(){return v[i]}})}));Object.keys(V).forEach((function(i){if(i!=="default"&&!Object.prototype.hasOwnProperty.call(d,i))Object.defineProperty(d,i,{enumerable:true,get:function(){return V[i]}})}))},96684:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.readFile=d.fileIntercept=d.filePromises=void 0;const v=p(51455);d.filePromises={};d.fileIntercept={};const readFile=(i,p)=>{if(d.fileIntercept[i]!==undefined){return d.fileIntercept[i]}if(!d.filePromises[i]||p?.ignoreCache){d.filePromises[i]=(0,v.readFile)(i,"utf8")}return d.filePromises[i]};d.readFile=readFile},75118:(i,d,p)=>{var v=p(96435);var V=p(71577);var K=p(86130);var ee=p(72356);var te=p(76324);var re=p(80146);const ne="X-Amz-Algorithm";const se="X-Amz-Credential";const ie="X-Amz-Date";const oe="X-Amz-SignedHeaders";const ae="X-Amz-Expires";const Ae="X-Amz-Signature";const ce="X-Amz-Security-Token";const le="X-Amz-Region-Set";const ue="authorization";const de=ie.toLowerCase();const he="date";const fe=[ue,de,he];const ge=Ae.toLowerCase();const pe="x-amz-content-sha256";const me=ce.toLowerCase();const Ee="host";const Ce={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};const ye=/^proxy-/;const Ie=/^sec-/;const Be=[/^proxy-/i,/^sec-/i];const Qe="AWS4-HMAC-SHA256";const be="AWS4-ECDSA-P256-SHA256";const we="AWS4-HMAC-SHA256-PAYLOAD";const Se="UNSIGNED-PAYLOAD";const Re=50;const ve="aws4_request";const ke=60*60*24*7;const Te={};const Ne=[];const createScope=(i,d,p)=>`${i}/${d}/${p}/${ve}`;const getSigningKey=async(i,d,p,V,K)=>{const ee=await hmac(i,d.secretAccessKey,d.accessKeyId);const te=`${p}:${V}:${K}:${v.toHex(ee)}:${d.sessionToken}`;if(te in Te){return Te[te]}Ne.push(te);while(Ne.length>Re){delete Te[Ne.shift()]}let re=`AWS4${d.secretAccessKey}`;for(const d of[p,V,K,ve]){re=await hmac(i,re,d)}return Te[te]=re};const clearCredentialCache=()=>{Ne.length=0;Object.keys(Te).forEach((i=>{delete Te[i]}))};const hmac=(i,d,p)=>{const v=new i(d);v.update(V.toUint8Array(p));return v.digest()};const getCanonicalHeaders=({headers:i},d,p)=>{const v={};for(const V of Object.keys(i).sort()){if(i[V]==undefined){continue}const K=V.toLowerCase();if(K in Ce||d?.has(K)||ye.test(K)||Ie.test(K)){if(!p||p&&!p.has(K)){continue}}v[K]=i[V].trim().replace(/\s+/g," ")}return v};const getPayloadHash=async({headers:i,body:d},p)=>{for(const d of Object.keys(i)){if(d.toLowerCase()===pe){return i[d]}}if(d==undefined){return"e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"}else if(typeof d==="string"||ArrayBuffer.isView(d)||K.isArrayBuffer(d)){const i=new p;i.update(V.toUint8Array(d));return v.toHex(await i.digest())}return Se};class HeaderFormatter{format(i){const d=[];for(const p of Object.keys(i)){const v=V.fromUtf8(p);d.push(Uint8Array.from([v.byteLength]),v,this.formatHeaderValue(i[p]))}const p=new Uint8Array(d.reduce(((i,d)=>i+d.byteLength),0));let v=0;for(const i of d){p.set(i,v);v+=i.byteLength}return p}formatHeaderValue(i){switch(i.type){case"boolean":return Uint8Array.from([i.value?0:1]);case"byte":return Uint8Array.from([2,i.value]);case"short":const d=new DataView(new ArrayBuffer(3));d.setUint8(0,3);d.setInt16(1,i.value,false);return new Uint8Array(d.buffer);case"integer":const p=new DataView(new ArrayBuffer(5));p.setUint8(0,4);p.setInt32(1,i.value,false);return new Uint8Array(p.buffer);case"long":const K=new Uint8Array(9);K[0]=5;K.set(i.value.bytes,1);return K;case"binary":const ee=new DataView(new ArrayBuffer(3+i.value.byteLength));ee.setUint8(0,6);ee.setUint16(1,i.value.byteLength,false);const te=new Uint8Array(ee.buffer);te.set(i.value,3);return te;case"string":const re=V.fromUtf8(i.value);const ne=new DataView(new ArrayBuffer(3+re.byteLength));ne.setUint8(0,7);ne.setUint16(1,re.byteLength,false);const se=new Uint8Array(ne.buffer);se.set(re,3);return se;case"timestamp":const ie=new Uint8Array(9);ie[0]=8;ie.set(Int64.fromNumber(i.value.valueOf()).bytes,1);return ie;case"uuid":if(!De.test(i.value)){throw new Error(`Invalid UUID received: ${i.value}`)}const oe=new Uint8Array(17);oe[0]=9;oe.set(v.fromHex(i.value.replace(/\-/g,"")),1);return oe}}}const De=/^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$/;class Int64{bytes;constructor(i){this.bytes=i;if(i.byteLength!==8){throw new Error("Int64 buffers must be exactly 8 bytes")}}static fromNumber(i){if(i>0x8000000000000000||i<-0x8000000000000000){throw new Error(`${i} is too large (or, if negative, too small) to represent as an Int64`)}const d=new Uint8Array(8);for(let p=7,v=Math.abs(Math.round(i));p>-1&&v>0;p--,v/=256){d[p]=v}if(i<0){negate(d)}return new Int64(d)}valueOf(){const i=this.bytes.slice(0);const d=i[0]&128;if(d){negate(i)}return parseInt(v.toHex(i),16)*(d?-1:1)}toString(){return String(this.valueOf())}}function negate(i){for(let d=0;d<8;d++){i[d]^=255}for(let d=7;d>-1;d--){i[d]++;if(i[d]!==0)break}}const hasHeader=(i,d)=>{i=i.toLowerCase();for(const p of Object.keys(d)){if(i===p.toLowerCase()){return true}}return false};const moveHeadersToQuery=(i,d={})=>{const{headers:p,query:v={}}=ee.HttpRequest.clone(i);for(const i of Object.keys(p)){const V=i.toLowerCase();if(V.slice(0,6)==="x-amz-"&&!d.unhoistableHeaders?.has(V)||d.hoistableHeaders?.has(V)){v[i]=p[i];delete p[i]}}return{...i,headers:p,query:v}};const prepareRequest=i=>{i=ee.HttpRequest.clone(i);for(const d of Object.keys(i.headers)){if(fe.indexOf(d.toLowerCase())>-1){delete i.headers[d]}}return i};const getCanonicalQuery=({query:i={}})=>{const d=[];const p={};for(const v of Object.keys(i)){if(v.toLowerCase()===ge){continue}const V=re.escapeUri(v);d.push(V);const K=i[v];if(typeof K==="string"){p[V]=`${V}=${re.escapeUri(K)}`}else if(Array.isArray(K)){p[V]=K.slice(0).reduce(((i,d)=>i.concat([`${V}=${re.escapeUri(d)}`])),[]).sort().join("&")}}return d.sort().map((i=>p[i])).filter((i=>i)).join("&")};const iso8601=i=>toDate(i).toISOString().replace(/\.\d{3}Z$/,"Z");const toDate=i=>{if(typeof i==="number"){return new Date(i*1e3)}if(typeof i==="string"){if(Number(i)){return new Date(Number(i)*1e3)}return new Date(i)}return i};class SignatureV4Base{service;regionProvider;credentialProvider;sha256;uriEscapePath;applyChecksum;constructor({applyChecksum:i,credentials:d,region:p,service:v,sha256:V,uriEscapePath:K=true}){this.service=v;this.sha256=V;this.uriEscapePath=K;this.applyChecksum=typeof i==="boolean"?i:true;this.regionProvider=te.normalizeProvider(p);this.credentialProvider=te.normalizeProvider(d)}createCanonicalRequest(i,d,p){const v=Object.keys(d).sort();return`${i.method}\n${this.getCanonicalPath(i)}\n${getCanonicalQuery(i)}\n${v.map((i=>`${i}:${d[i]}`)).join("\n")}\n\n${v.join(";")}\n${p}`}async createStringToSign(i,d,p,K){const ee=new this.sha256;ee.update(V.toUint8Array(p));const te=await ee.digest();return`${K}\n${i}\n${d}\n${v.toHex(te)}`}getCanonicalPath({path:i}){if(this.uriEscapePath){const d=[];for(const p of i.split("/")){if(p?.length===0)continue;if(p===".")continue;if(p===".."){d.pop()}else{d.push(p)}}const p=`${i?.startsWith("/")?"/":""}${d.join("/")}${d.length>0&&i?.endsWith("/")?"/":""}`;const v=re.escapeUri(p);return v.replace(/%2F/g,"/")}return i}validateResolvedCredentials(i){if(typeof i!=="object"||typeof i.accessKeyId!=="string"||typeof i.secretAccessKey!=="string"){throw new Error("Resolved credential object is not valid")}}formatDate(i){const d=iso8601(i).replace(/[\-:]/g,"");return{longDate:d,shortDate:d.slice(0,8)}}getCanonicalHeaderList(i){return Object.keys(i).sort().join(";")}}class SignatureV4 extends SignatureV4Base{headerFormatter=new HeaderFormatter;constructor({applyChecksum:i,credentials:d,region:p,service:v,sha256:V,uriEscapePath:K=true}){super({applyChecksum:i,credentials:d,region:p,service:v,sha256:V,uriEscapePath:K})}async presign(i,d={}){const{signingDate:p=new Date,expiresIn:v=3600,unsignableHeaders:V,unhoistableHeaders:K,signableHeaders:ee,hoistableHeaders:te,signingRegion:re,signingService:le}=d;const ue=await this.credentialProvider();this.validateResolvedCredentials(ue);const de=re??await this.regionProvider();const{longDate:he,shortDate:fe}=this.formatDate(p);if(v>ke){return Promise.reject("Signature version 4 presigned URLs"+" must have an expiration date less than one week in"+" the future")}const ge=createScope(fe,de,le??this.service);const pe=moveHeadersToQuery(prepareRequest(i),{unhoistableHeaders:K,hoistableHeaders:te});if(ue.sessionToken){pe.query[ce]=ue.sessionToken}pe.query[ne]=Qe;pe.query[se]=`${ue.accessKeyId}/${ge}`;pe.query[ie]=he;pe.query[ae]=v.toString(10);const me=getCanonicalHeaders(pe,V,ee);pe.query[oe]=this.getCanonicalHeaderList(me);pe.query[Ae]=await this.getSignature(he,ge,this.getSigningKey(ue,de,fe,le),this.createCanonicalRequest(pe,me,await getPayloadHash(i,this.sha256)));return pe}async sign(i,d){if(typeof i==="string"){return this.signString(i,d)}else if(i.headers&&i.payload){return this.signEvent(i,d)}else if(i.message){return this.signMessage(i,d)}else{return this.signRequest(i,d)}}async signEvent({headers:i,payload:d},{signingDate:p=new Date,priorSignature:V,signingRegion:K,signingService:ee}){const te=K??await this.regionProvider();const{shortDate:re,longDate:ne}=this.formatDate(p);const se=createScope(re,te,ee??this.service);const ie=await getPayloadHash({headers:{},body:d},this.sha256);const oe=new this.sha256;oe.update(i);const ae=v.toHex(await oe.digest());const Ae=[we,ne,se,V,ae,ie].join("\n");return this.signString(Ae,{signingDate:p,signingRegion:te,signingService:ee})}async signMessage(i,{signingDate:d=new Date,signingRegion:p,signingService:v}){const V=this.signEvent({headers:this.headerFormatter.format(i.message.headers),payload:i.message.body},{signingDate:d,signingRegion:p,signingService:v,priorSignature:i.priorSignature});return V.then((d=>({message:i.message,signature:d})))}async signString(i,{signingDate:d=new Date,signingRegion:p,signingService:K}={}){const ee=await this.credentialProvider();this.validateResolvedCredentials(ee);const te=p??await this.regionProvider();const{shortDate:re}=this.formatDate(d);const ne=new this.sha256(await this.getSigningKey(ee,te,re,K));ne.update(V.toUint8Array(i));return v.toHex(await ne.digest())}async signRequest(i,{signingDate:d=new Date,signableHeaders:p,unsignableHeaders:v,signingRegion:V,signingService:K}={}){const ee=await this.credentialProvider();this.validateResolvedCredentials(ee);const te=V??await this.regionProvider();const re=prepareRequest(i);const{longDate:ne,shortDate:se}=this.formatDate(d);const ie=createScope(se,te,K??this.service);re.headers[de]=ne;if(ee.sessionToken){re.headers[me]=ee.sessionToken}const oe=await getPayloadHash(re,this.sha256);if(!hasHeader(pe,re.headers)&&this.applyChecksum){re.headers[pe]=oe}const ae=getCanonicalHeaders(re,v,p);const Ae=await this.getSignature(ne,ie,this.getSigningKey(ee,te,se,K),this.createCanonicalRequest(re,ae,oe));re.headers[ue]=`${Qe} `+`Credential=${ee.accessKeyId}/${ie}, `+`SignedHeaders=${this.getCanonicalHeaderList(ae)}, `+`Signature=${Ae}`;return re}async getSignature(i,d,p,K){const ee=await this.createStringToSign(i,d,K,Qe);const te=new this.sha256(await p);te.update(V.toUint8Array(ee));return v.toHex(await te.digest())}getSigningKey(i,d,p,v){return getSigningKey(this.sha256,i,p,d,v||this.service)}}const xe={SignatureV4a:null};d.ALGORITHM_IDENTIFIER=Qe;d.ALGORITHM_IDENTIFIER_V4A=be;d.ALGORITHM_QUERY_PARAM=ne;d.ALWAYS_UNSIGNABLE_HEADERS=Ce;d.AMZ_DATE_HEADER=de;d.AMZ_DATE_QUERY_PARAM=ie;d.AUTH_HEADER=ue;d.CREDENTIAL_QUERY_PARAM=se;d.DATE_HEADER=he;d.EVENT_ALGORITHM_IDENTIFIER=we;d.EXPIRES_QUERY_PARAM=ae;d.GENERATED_HEADERS=fe;d.HOST_HEADER=Ee;d.KEY_TYPE_IDENTIFIER=ve;d.MAX_CACHE_SIZE=Re;d.MAX_PRESIGNED_TTL=ke;d.PROXY_HEADER_PATTERN=ye;d.REGION_SET_PARAM=le;d.SEC_HEADER_PATTERN=Ie;d.SHA256_HEADER=pe;d.SIGNATURE_HEADER=ge;d.SIGNATURE_QUERY_PARAM=Ae;d.SIGNED_HEADERS_QUERY_PARAM=oe;d.SignatureV4=SignatureV4;d.SignatureV4Base=SignatureV4Base;d.TOKEN_HEADER=me;d.TOKEN_QUERY_PARAM=ce;d.UNSIGNABLE_PATTERNS=Be;d.UNSIGNED_PAYLOAD=Se;d.clearCredentialCache=clearCredentialCache;d.createScope=createScope;d.getCanonicalHeaders=getCanonicalHeaders;d.getCanonicalQuery=getCanonicalQuery;d.getPayloadHash=getPayloadHash;d.getSigningKey=getSigningKey;d.hasHeader=hasHeader;d.moveHeadersToQuery=moveHeadersToQuery;d.prepareRequest=prepareRequest;d.signatureV4aContainer=xe},61411:(i,d,p)=>{var v=p(9208);var V=p(93422);var K=p(90690);var ee=p(26890);var te=p(92430);class Client{config;middlewareStack=v.constructStack();initConfig;handlers;constructor(i){this.config=i;const{protocol:d,protocolSettings:p}=i;if(p){if(typeof d==="function"){i.protocol=new d(p)}}}send(i,d,p){const v=typeof d!=="function"?d:undefined;const V=typeof d==="function"?d:p;const K=v===undefined&&this.config.cacheMiddleware===true;let ee;if(K){if(!this.handlers){this.handlers=new WeakMap}const d=this.handlers;if(d.has(i.constructor)){ee=d.get(i.constructor)}else{ee=i.resolveMiddleware(this.middlewareStack,this.config,v);d.set(i.constructor,ee)}}else{delete this.handlers;ee=i.resolveMiddleware(this.middlewareStack,this.config,v)}if(V){ee(i).then((i=>V(null,i.output)),(i=>V(i))).catch((()=>{}))}else{return ee(i).then((i=>i.output))}}destroy(){this.config?.requestHandler?.destroy?.();delete this.handlers}}const re="***SensitiveInformation***";function schemaLogFilter(i,d){if(d==null){return d}const p=ee.NormalizedSchema.of(i);if(p.getMergedTraits().sensitive){return re}if(p.isListSchema()){const i=!!p.getValueSchema().getMergedTraits().sensitive;if(i){return re}}else if(p.isMapSchema()){const i=!!p.getKeySchema().getMergedTraits().sensitive||!!p.getValueSchema().getMergedTraits().sensitive;if(i){return re}}else if(p.isStructSchema()&&typeof d==="object"){const i=d;const v={};for(const[d,V]of p.structIterator()){if(i[d]!=null){v[d]=schemaLogFilter(V,i[d])}}return v}return d}class Command{middlewareStack=v.constructStack();schema;static classBuilder(){return new ClassBuilder}resolveMiddlewareWithContext(i,d,p,{middlewareFn:v,clientName:V,commandName:ee,inputFilterSensitiveLog:te,outputFilterSensitiveLog:re,smithyContext:ne,additionalContext:se,CommandCtor:ie}){for(const V of v.bind(this)(ie,i,d,p)){this.middlewareStack.use(V)}const oe=i.concat(this.middlewareStack);const{logger:ae}=d;const Ae={logger:ae,clientName:V,commandName:ee,inputFilterSensitiveLog:te,outputFilterSensitiveLog:re,[K.SMITHY_CONTEXT_KEY]:{commandInstance:this,...ne},...se};const{requestHandler:ce}=d;return oe.resolve((i=>ce.handle(i.request,p||{})),Ae)}}class ClassBuilder{_init=()=>{};_ep={};_middlewareFn=()=>[];_commandName="";_clientName="";_additionalContext={};_smithyContext={};_inputFilterSensitiveLog=undefined;_outputFilterSensitiveLog=undefined;_serializer=null;_deserializer=null;_operationSchema;init(i){this._init=i}ep(i){this._ep=i;return this}m(i){this._middlewareFn=i;return this}s(i,d,p={}){this._smithyContext={service:i,operation:d,...p};return this}c(i={}){this._additionalContext=i;return this}n(i,d){this._clientName=i;this._commandName=d;return this}f(i=i=>i,d=i=>i){this._inputFilterSensitiveLog=i;this._outputFilterSensitiveLog=d;return this}ser(i){this._serializer=i;return this}de(i){this._deserializer=i;return this}sc(i){this._operationSchema=i;this._smithyContext.operationSchema=i;return this}build(){const i=this;let d;return d=class extends Command{input;static getEndpointParameterInstructions(){return i._ep}constructor(...[d]){super();this.input=d??{};i._init(this);this.schema=i._operationSchema}resolveMiddleware(p,v,V){const K=i._operationSchema;const ee=K?.[4]??K?.input;const te=K?.[5]??K?.output;return this.resolveMiddlewareWithContext(p,v,V,{CommandCtor:d,middlewareFn:i._middlewareFn,clientName:i._clientName,commandName:i._commandName,inputFilterSensitiveLog:i._inputFilterSensitiveLog??(K?schemaLogFilter.bind(null,ee):i=>i),outputFilterSensitiveLog:i._outputFilterSensitiveLog??(K?schemaLogFilter.bind(null,te):i=>i),smithyContext:i._smithyContext,additionalContext:i._additionalContext})}serialize=i._serializer;deserialize=i._deserializer}}}const ne="***SensitiveInformation***";const createAggregatedClient=(i,d,p)=>{for(const[p,v]of Object.entries(i)){const methodImpl=async function(i,d,p){const V=new v(i);if(typeof d==="function"){this.send(V,d)}else if(typeof p==="function"){if(typeof d!=="object")throw new Error(`Expected http options but got ${typeof d}`);this.send(V,d||{},p)}else{return this.send(V,d)}};const i=(p[0].toLowerCase()+p.slice(1)).replace(/Command$/,"");d.prototype[i]=methodImpl}const{paginators:v={},waiters:V={}}=p??{};for(const[i,p]of Object.entries(v)){if(d.prototype[i]===void 0){d.prototype[i]=function(i={},d,...v){return p({...d,client:this},i,...v)}}}for(const[i,p]of Object.entries(V)){if(d.prototype[i]===void 0){d.prototype[i]=async function(i={},d,...v){let V=d;if(typeof d==="number"){V={maxWaitTime:d}}return p({...V,client:this},i,...v)}}}};class ServiceException extends Error{$fault;$response;$retryable;$metadata;constructor(i){super(i.message);Object.setPrototypeOf(this,Object.getPrototypeOf(this).constructor.prototype);this.name=i.name;this.$fault=i.$fault;this.$metadata=i.$metadata}static isInstance(i){if(!i)return false;const d=i;return ServiceException.prototype.isPrototypeOf(d)||Boolean(d.$fault)&&Boolean(d.$metadata)&&(d.$fault==="client"||d.$fault==="server")}static[Symbol.hasInstance](i){if(!i)return false;const d=i;if(this===ServiceException){return ServiceException.isInstance(i)}if(ServiceException.isInstance(i)){if(d.name&&this.name){return this.prototype.isPrototypeOf(i)||d.name===this.name}return this.prototype.isPrototypeOf(i)}return false}}const decorateServiceException=(i,d={})=>{Object.entries(d).filter((([,i])=>i!==undefined)).forEach((([d,p])=>{if(i[d]==undefined||i[d]===""){i[d]=p}}));const p=i.message||i.Message||"UnknownError";i.message=p;delete i.Message;return i};const throwDefaultError=({output:i,parsedBody:d,exceptionCtor:p,errorCode:v})=>{const V=deserializeMetadata(i);const K=V.httpStatusCode?V.httpStatusCode+"":undefined;const ee=new p({name:d?.code||d?.Code||v||K||"UnknownError",$fault:"client",$metadata:V});throw decorateServiceException(ee,d)};const withBaseException=i=>({output:d,parsedBody:p,errorCode:v})=>{throwDefaultError({output:d,parsedBody:p,exceptionCtor:i,errorCode:v})};const deserializeMetadata=i=>({httpStatusCode:i.statusCode,requestId:i.headers["x-amzn-requestid"]??i.headers["x-amzn-request-id"]??i.headers["x-amz-request-id"],extendedRequestId:i.headers["x-amz-id-2"],cfId:i.headers["x-amz-cf-id"]});const loadConfigsForDefaultMode=i=>{switch(i){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{}}};let se=false;const emitWarningIfUnsupportedVersion=i=>{if(i&&!se&&parseInt(i.substring(1,i.indexOf(".")))<16){se=true}};const getChecksumConfiguration=i=>{const d=[];for(const p in K.AlgorithmId){const v=K.AlgorithmId[p];if(i[v]===undefined){continue}d.push({algorithmId:()=>v,checksumConstructor:()=>i[v]})}return{addChecksumAlgorithm(i){d.push(i)},checksumAlgorithms(){return d}}};const resolveChecksumRuntimeConfig=i=>{const d={};i.checksumAlgorithms().forEach((i=>{d[i.algorithmId()]=i.checksumConstructor()}));return d};const getRetryConfiguration=i=>({setRetryStrategy(d){i.retryStrategy=d},retryStrategy(){return i.retryStrategy}});const resolveRetryRuntimeConfig=i=>{const d={};d.retryStrategy=i.retryStrategy();return d};const getDefaultExtensionConfiguration=i=>Object.assign(getChecksumConfiguration(i),getRetryConfiguration(i));const ie=getDefaultExtensionConfiguration;const resolveDefaultRuntimeConfig=i=>Object.assign(resolveChecksumRuntimeConfig(i),resolveRetryRuntimeConfig(i));const getArrayIfSingleItem=i=>Array.isArray(i)?i:[i];const getValueFromTextNode=i=>{const d="#text";for(const p in i){if(i.hasOwnProperty(p)&&i[p][d]!==undefined){i[p]=i[p][d]}else if(typeof i[p]==="object"&&i[p]!==null){i[p]=getValueFromTextNode(i[p])}}return i};const isSerializableHeaderValue=i=>i!=null;class NoOpLogger{trace(){}debug(){}info(){}warn(){}error(){}}function map(i,d,p){let v;let V;let K;if(typeof d==="undefined"&&typeof p==="undefined"){v={};K=i}else{v=i;if(typeof d==="function"){V=d;K=p;return mapWithFilter(v,V,K)}else{K=d}}for(const i of Object.keys(K)){if(!Array.isArray(K[i])){v[i]=K[i];continue}applyInstruction(v,null,K,i)}return v}const convertMap=i=>{const d={};for(const[p,v]of Object.entries(i||{})){d[p]=[,v]}return d};const take=(i,d)=>{const p={};for(const v in d){applyInstruction(p,i,d,v)}return p};const mapWithFilter=(i,d,p)=>map(i,Object.entries(p).reduce(((i,[p,v])=>{if(Array.isArray(v)){i[p]=v}else{if(typeof v==="function"){i[p]=[d,v()]}else{i[p]=[d,v]}}return i}),{}));const applyInstruction=(i,d,p,v)=>{if(d!==null){let V=p[v];if(typeof V==="function"){V=[,V]}const[K=nonNullish,ee=pass,te=v]=V;if(typeof K==="function"&&K(d[te])||typeof K!=="function"&&!!K){i[v]=ee(d[te])}return}let[V,K]=p[v];if(typeof K==="function"){let d;const p=V===undefined&&(d=K())!=null;const ee=typeof V==="function"&&!!V(void 0)||typeof V!=="function"&&!!V;if(p){i[v]=d}else if(ee){i[v]=K()}}else{const d=V===undefined&&K!=null;const p=typeof V==="function"&&!!V(K)||typeof V!=="function"&&!!V;if(d||p){i[v]=K}}};const nonNullish=i=>i!=null;const pass=i=>i;const serializeFloat=i=>{if(i!==i){return"NaN"}switch(i){case Infinity:return"Infinity";case-Infinity:return"-Infinity";default:return i}};const serializeDateTime=i=>i.toISOString().replace(".000Z","Z");const _json=i=>{if(i==null){return{}}if(Array.isArray(i)){return i.filter((i=>i!=null)).map(_json)}if(typeof i==="object"){const d={};for(const p of Object.keys(i)){if(i[p]==null){continue}d[p]=_json(i[p])}return d}return i};Object.defineProperty(d,"collectBody",{enumerable:true,get:function(){return V.collectBody}});Object.defineProperty(d,"extendedEncodeURIComponent",{enumerable:true,get:function(){return V.extendedEncodeURIComponent}});Object.defineProperty(d,"resolvedPath",{enumerable:true,get:function(){return V.resolvedPath}});d.Client=Client;d.Command=Command;d.NoOpLogger=NoOpLogger;d.SENSITIVE_STRING=ne;d.ServiceException=ServiceException;d._json=_json;d.convertMap=convertMap;d.createAggregatedClient=createAggregatedClient;d.decorateServiceException=decorateServiceException;d.emitWarningIfUnsupportedVersion=emitWarningIfUnsupportedVersion;d.getArrayIfSingleItem=getArrayIfSingleItem;d.getDefaultClientConfiguration=ie;d.getDefaultExtensionConfiguration=getDefaultExtensionConfiguration;d.getValueFromTextNode=getValueFromTextNode;d.isSerializableHeaderValue=isSerializableHeaderValue;d.loadConfigsForDefaultMode=loadConfigsForDefaultMode;d.map=map;d.resolveDefaultRuntimeConfig=resolveDefaultRuntimeConfig;d.serializeDateTime=serializeDateTime;d.serializeFloat=serializeFloat;d.take=take;d.throwDefaultError=throwDefaultError;d.withBaseException=withBaseException;Object.keys(te).forEach((function(i){if(i!=="default"&&!Object.prototype.hasOwnProperty.call(d,i))Object.defineProperty(d,i,{enumerable:true,get:function(){return te[i]}})}))},90690:(i,d)=>{d.HttpAuthLocation=void 0;(function(i){i["HEADER"]="header";i["QUERY"]="query"})(d.HttpAuthLocation||(d.HttpAuthLocation={}));d.HttpApiKeyAuthLocation=void 0;(function(i){i["HEADER"]="header";i["QUERY"]="query"})(d.HttpApiKeyAuthLocation||(d.HttpApiKeyAuthLocation={}));d.EndpointURLScheme=void 0;(function(i){i["HTTP"]="http";i["HTTPS"]="https"})(d.EndpointURLScheme||(d.EndpointURLScheme={}));d.AlgorithmId=void 0;(function(i){i["MD5"]="md5";i["CRC32"]="crc32";i["CRC32C"]="crc32c";i["SHA1"]="sha1";i["SHA256"]="sha256"})(d.AlgorithmId||(d.AlgorithmId={}));const getChecksumConfiguration=i=>{const p=[];if(i.sha256!==undefined){p.push({algorithmId:()=>d.AlgorithmId.SHA256,checksumConstructor:()=>i.sha256})}if(i.md5!=undefined){p.push({algorithmId:()=>d.AlgorithmId.MD5,checksumConstructor:()=>i.md5})}return{addChecksumAlgorithm(i){p.push(i)},checksumAlgorithms(){return p}}};const resolveChecksumRuntimeConfig=i=>{const d={};i.checksumAlgorithms().forEach((i=>{d[i.algorithmId()]=i.checksumConstructor()}));return d};const getDefaultClientConfiguration=i=>getChecksumConfiguration(i);const resolveDefaultRuntimeConfig=i=>resolveChecksumRuntimeConfig(i);d.FieldPosition=void 0;(function(i){i[i["HEADER"]=0]="HEADER";i[i["TRAILER"]=1]="TRAILER"})(d.FieldPosition||(d.FieldPosition={}));const p="__smithy_context";d.IniSectionType=void 0;(function(i){i["PROFILE"]="profile";i["SSO_SESSION"]="sso-session";i["SERVICES"]="services"})(d.IniSectionType||(d.IniSectionType={}));d.RequestHandlerProtocol=void 0;(function(i){i["HTTP_0_9"]="http/0.9";i["HTTP_1_0"]="http/1.0";i["TDS_8_0"]="tds/8.0"})(d.RequestHandlerProtocol||(d.RequestHandlerProtocol={}));d.SMITHY_CONTEXT_KEY=p;d.getDefaultClientConfiguration=getDefaultClientConfiguration;d.resolveDefaultRuntimeConfig=resolveDefaultRuntimeConfig},14494:(i,d,p)=>{var v=p(18822);const parseUrl=i=>{if(typeof i==="string"){return parseUrl(new URL(i))}const{hostname:d,pathname:p,port:V,protocol:K,search:ee}=i;let te;if(ee){te=v.parseQueryString(ee)}return{hostname:d,port:V?parseInt(V):undefined,protocol:K,path:p,query:te}};d.parseUrl=parseUrl},72674:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.fromBase64=void 0;const v=p(44151);const V=/^[A-Za-z0-9+/]*={0,2}$/;const fromBase64=i=>{if(i.length*3%4!==0){throw new TypeError(`Incorrect padding on base64 string.`)}if(!V.exec(i)){throw new TypeError(`Invalid base64 string.`)}const d=(0,v.fromString)(i,"base64");return new Uint8Array(d.buffer,d.byteOffset,d.byteLength)};d.fromBase64=fromBase64},68385:(i,d,p)=>{var v=p(72674);var V=p(14871);Object.keys(v).forEach((function(i){if(i!=="default"&&!Object.prototype.hasOwnProperty.call(d,i))Object.defineProperty(d,i,{enumerable:true,get:function(){return v[i]}})}));Object.keys(V).forEach((function(i){if(i!=="default"&&!Object.prototype.hasOwnProperty.call(d,i))Object.defineProperty(d,i,{enumerable:true,get:function(){return V[i]}})}))},14871:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.toBase64=void 0;const v=p(44151);const V=p(71577);const toBase64=i=>{let d;if(typeof i==="string"){d=(0,V.fromUtf8)(i)}else{d=i}if(typeof d!=="object"||typeof d.byteOffset!=="number"||typeof d.byteLength!=="number"){throw new Error("@smithy/util-base64: toBase64 encoder function only accepts string | Uint8Array.")}return(0,v.fromArrayBuffer)(d.buffer,d.byteOffset,d.byteLength).toString("base64")};d.toBase64=toBase64},12098:(i,d)=>{const p=typeof TextEncoder=="function"?new TextEncoder:null;const calculateBodyLength=i=>{if(typeof i==="string"){if(p){return p.encode(i).byteLength}let d=i.length;for(let p=d-1;p>=0;p--){const v=i.charCodeAt(p);if(v>127&&v<=2047)d++;else if(v>2047&&v<=65535)d+=2;if(v>=56320&&v<=57343)p--}return d}else if(typeof i.byteLength==="number"){return i.byteLength}else if(typeof i.size==="number"){return i.size}throw new Error(`Body Length computation failed for ${i}`)};d.calculateBodyLength=calculateBodyLength},13638:(i,d,p)=>{var v=p(73024);const calculateBodyLength=i=>{if(!i){return 0}if(typeof i==="string"){return Buffer.byteLength(i)}else if(typeof i.byteLength==="number"){return i.byteLength}else if(typeof i.size==="number"){return i.size}else if(typeof i.start==="number"&&typeof i.end==="number"){return i.end+1-i.start}else if(i instanceof v.ReadStream){if(i.path!=null){return v.lstatSync(i.path).size}else if(typeof i.fd==="number"){return v.fstatSync(i.fd).size}}throw new Error(`Body Length computation failed for ${i}`)};d.calculateBodyLength=calculateBodyLength},44151:(i,d,p)=>{var v=p(86130);var V=p(20181);const fromArrayBuffer=(i,d=0,p=i.byteLength-d)=>{if(!v.isArrayBuffer(i)){throw new TypeError(`The "input" argument must be ArrayBuffer. Received type ${typeof i} (${i})`)}return V.Buffer.from(i,d,p)};const fromString=(i,d)=>{if(typeof i!=="string"){throw new TypeError(`The "input" argument must be of type string. Received type ${typeof i} (${i})`)}return d?V.Buffer.from(i,d):V.Buffer.from(i)};d.fromArrayBuffer=fromArrayBuffer;d.fromString=fromString},56716:(i,d)=>{const booleanSelector=(i,d,p)=>{if(!(d in i))return undefined;if(i[d]==="true")return true;if(i[d]==="false")return false;throw new Error(`Cannot load ${p} "${d}". Expected "true" or "false", got ${i[d]}.`)};const numberSelector=(i,d,p)=>{if(!(d in i))return undefined;const v=parseInt(i[d],10);if(Number.isNaN(v)){throw new TypeError(`Cannot load ${p} '${d}'. Expected number, got '${i[d]}'.`)}return v};d.SelectorType=void 0;(function(i){i["ENV"]="env";i["CONFIG"]="shared config entry"})(d.SelectorType||(d.SelectorType={}));d.booleanSelector=booleanSelector;d.numberSelector=numberSelector},15435:(i,d,p)=>{var v=p(39316);var V=p(55704);var K=p(71238);const ee="AWS_EXECUTION_ENV";const te="AWS_REGION";const re="AWS_DEFAULT_REGION";const ne="AWS_EC2_METADATA_DISABLED";const se=["in-region","cross-region","mobile","standard","legacy"];const ie="/latest/meta-data/placement/region";const oe="AWS_DEFAULTS_MODE";const ae="defaults_mode";const Ae={environmentVariableSelector:i=>i[oe],configFileSelector:i=>i[ae],default:"legacy"};const resolveDefaultsModeConfig=({region:i=V.loadConfig(v.NODE_REGION_CONFIG_OPTIONS),defaultsMode:d=V.loadConfig(Ae)}={})=>K.memoize((async()=>{const p=typeof d==="function"?await d():d;switch(p?.toLowerCase()){case"auto":return resolveNodeDefaultsModeAuto(i);case"in-region":case"cross-region":case"mobile":case"standard":case"legacy":return Promise.resolve(p?.toLocaleLowerCase());case undefined:return Promise.resolve("legacy");default:throw new Error(`Invalid parameter for "defaultsMode", expect ${se.join(", ")}, got ${p}`)}}));const resolveNodeDefaultsModeAuto=async i=>{if(i){const d=typeof i==="function"?await i():i;const p=await inferPhysicalRegion();if(!p){return"standard"}if(d===p){return"in-region"}else{return"cross-region"}}return"standard"};const inferPhysicalRegion=async()=>{if(process.env[ee]&&(process.env[te]||process.env[re])){return process.env[te]??process.env[re]}if(!process.env[ne]){try{const{getInstanceMetadataEndpoint:i,httpRequest:d}=await p.e(566).then(p.t.bind(p,40566,19));const v=await i();return(await d({...v,path:ie})).toString()}catch(i){}}};d.resolveDefaultsModeConfig=resolveDefaultsModeConfig},79674:(i,d,p)=>{var v=p(90690);class EndpointCache{capacity;data=new Map;parameters=[];constructor({size:i,params:d}){this.capacity=i??50;if(d){this.parameters=d}}get(i,d){const p=this.hash(i);if(p===false){return d()}if(!this.data.has(p)){if(this.data.size>this.capacity+10){const i=this.data.keys();let d=0;while(true){const{value:p,done:v}=i.next();this.data.delete(p);if(v||++d>10){break}}}this.data.set(p,d())}return this.data.get(p)}size(){return this.data.size}hash(i){let d="";const{parameters:p}=this;if(p.length===0){return false}for(const v of p){const p=String(i[v]??"");if(p.includes("|;")){return false}d+=p+"|;"}return d}}const V=new RegExp(`^(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}$`);const isIpAddress=i=>V.test(i)||i.startsWith("[")&&i.endsWith("]");const K=new RegExp(`^(?!.*-$)(?!-)[a-zA-Z0-9-]{1,63}$`);const isValidHostLabel=(i,d=false)=>{if(!d){return K.test(i)}const p=i.split(".");for(const i of p){if(!isValidHostLabel(i)){return false}}return true};const ee={};const te="endpoints";function toDebugString(i){if(typeof i!=="object"||i==null){return i}if("ref"in i){return`$${toDebugString(i.ref)}`}if("fn"in i){return`${i.fn}(${(i.argv||[]).map(toDebugString).join(", ")})`}return JSON.stringify(i,null,2)}class EndpointError extends Error{constructor(i){super(i);this.name="EndpointError"}}const booleanEquals=(i,d)=>i===d;const getAttrPathList=i=>{const d=i.split(".");const p=[];for(const v of d){const d=v.indexOf("[");if(d!==-1){if(v.indexOf("]")!==v.length-1){throw new EndpointError(`Path: '${i}' does not end with ']'`)}const V=v.slice(d+1,-1);if(Number.isNaN(parseInt(V))){throw new EndpointError(`Invalid array index: '${V}' in path: '${i}'`)}if(d!==0){p.push(v.slice(0,d))}p.push(V)}else{p.push(v)}}return p};const getAttr=(i,d)=>getAttrPathList(d).reduce(((p,v)=>{if(typeof p!=="object"){throw new EndpointError(`Index '${v}' in '${d}' not found in '${JSON.stringify(i)}'`)}else if(Array.isArray(p)){return p[parseInt(v)]}return p[v]}),i);const isSet=i=>i!=null;const not=i=>!i;const re={[v.EndpointURLScheme.HTTP]:80,[v.EndpointURLScheme.HTTPS]:443};const parseURL=i=>{const d=(()=>{try{if(i instanceof URL){return i}if(typeof i==="object"&&"hostname"in i){const{hostname:d,port:p,protocol:v="",path:V="",query:K={}}=i;const ee=new URL(`${v}//${d}${p?`:${p}`:""}${V}`);ee.search=Object.entries(K).map((([i,d])=>`${i}=${d}`)).join("&");return ee}return new URL(i)}catch(i){return null}})();if(!d){console.error(`Unable to parse ${JSON.stringify(i)} as a whatwg URL.`);return null}const p=d.href;const{host:V,hostname:K,pathname:ee,protocol:te,search:ne}=d;if(ne){return null}const se=te.slice(0,-1);if(!Object.values(v.EndpointURLScheme).includes(se)){return null}const ie=isIpAddress(K);const oe=p.includes(`${V}:${re[se]}`)||typeof i==="string"&&i.includes(`${V}:${re[se]}`);const ae=`${V}${oe?`:${re[se]}`:``}`;return{scheme:se,authority:ae,path:ee,normalizedPath:ee.endsWith("/")?ee:`${ee}/`,isIp:ie}};const stringEquals=(i,d)=>i===d;const substring=(i,d,p,v)=>{if(d>=p||i.lengthencodeURIComponent(i).replace(/[!*'()]/g,(i=>`%${i.charCodeAt(0).toString(16).toUpperCase()}`));const ne={booleanEquals:booleanEquals,getAttr:getAttr,isSet:isSet,isValidHostLabel:isValidHostLabel,not:not,parseURL:parseURL,stringEquals:stringEquals,substring:substring,uriEncode:uriEncode};const evaluateTemplate=(i,d)=>{const p=[];const v={...d.endpointParams,...d.referenceRecord};let V=0;while(V{const p={...d.endpointParams,...d.referenceRecord};return p[i]};const evaluateExpression=(i,d,p)=>{if(typeof i==="string"){return evaluateTemplate(i,p)}else if(i["fn"]){return se.callFunction(i,p)}else if(i["ref"]){return getReferenceValue(i,p)}throw new EndpointError(`'${d}': ${String(i)} is not a string, function or reference.`)};const callFunction=({fn:i,argv:d},p)=>{const v=d.map((i=>["boolean","number"].includes(typeof i)?i:se.evaluateExpression(i,"arg",p)));const V=i.split(".");if(V[0]in ee&&V[1]!=null){return ee[V[0]][V[1]](...v)}return ne[i](...v)};const se={evaluateExpression:evaluateExpression,callFunction:callFunction};const evaluateCondition=({assign:i,...d},p)=>{if(i&&i in p.referenceRecord){throw new EndpointError(`'${i}' is already defined in Reference Record.`)}const v=callFunction(d,p);p.logger?.debug?.(`${te} evaluateCondition: ${toDebugString(d)} = ${toDebugString(v)}`);return{result:v===""?true:!!v,...i!=null&&{toAssign:{name:i,value:v}}}};const evaluateConditions=(i=[],d)=>{const p={};for(const v of i){const{result:i,toAssign:V}=evaluateCondition(v,{...d,referenceRecord:{...d.referenceRecord,...p}});if(!i){return{result:i}}if(V){p[V.name]=V.value;d.logger?.debug?.(`${te} assign: ${V.name} := ${toDebugString(V.value)}`)}}return{result:true,referenceRecord:p}};const getEndpointHeaders=(i,d)=>Object.entries(i).reduce(((i,[p,v])=>({...i,[p]:v.map((i=>{const v=evaluateExpression(i,"Header value entry",d);if(typeof v!=="string"){throw new EndpointError(`Header '${p}' value '${v}' is not a string`)}return v}))})),{});const getEndpointProperties=(i,d)=>Object.entries(i).reduce(((i,[p,v])=>({...i,[p]:ie.getEndpointProperty(v,d)})),{});const getEndpointProperty=(i,d)=>{if(Array.isArray(i)){return i.map((i=>getEndpointProperty(i,d)))}switch(typeof i){case"string":return evaluateTemplate(i,d);case"object":if(i===null){throw new EndpointError(`Unexpected endpoint property: ${i}`)}return ie.getEndpointProperties(i,d);case"boolean":return i;default:throw new EndpointError(`Unexpected endpoint property type: ${typeof i}`)}};const ie={getEndpointProperty:getEndpointProperty,getEndpointProperties:getEndpointProperties};const getEndpointUrl=(i,d)=>{const p=evaluateExpression(i,"Endpoint URL",d);if(typeof p==="string"){try{return new URL(p)}catch(i){console.error(`Failed to construct URL with ${p}`,i);throw i}}throw new EndpointError(`Endpoint URL must be a string, got ${typeof p}`)};const evaluateEndpointRule=(i,d)=>{const{conditions:p,endpoint:v}=i;const{result:V,referenceRecord:K}=evaluateConditions(p,d);if(!V){return}const ee={...d,referenceRecord:{...d.referenceRecord,...K}};const{url:re,properties:ne,headers:se}=v;d.logger?.debug?.(`${te} Resolving endpoint from template: ${toDebugString(v)}`);return{...se!=undefined&&{headers:getEndpointHeaders(se,ee)},...ne!=undefined&&{properties:getEndpointProperties(ne,ee)},url:getEndpointUrl(re,ee)}};const evaluateErrorRule=(i,d)=>{const{conditions:p,error:v}=i;const{result:V,referenceRecord:K}=evaluateConditions(p,d);if(!V){return}throw new EndpointError(evaluateExpression(v,"Error",{...d,referenceRecord:{...d.referenceRecord,...K}}))};const evaluateRules=(i,d)=>{for(const p of i){if(p.type==="endpoint"){const i=evaluateEndpointRule(p,d);if(i){return i}}else if(p.type==="error"){evaluateErrorRule(p,d)}else if(p.type==="tree"){const i=oe.evaluateTreeRule(p,d);if(i){return i}}else{throw new EndpointError(`Unknown endpoint rule: ${p}`)}}throw new EndpointError(`Rules evaluation failed`)};const evaluateTreeRule=(i,d)=>{const{conditions:p,rules:v}=i;const{result:V,referenceRecord:K}=evaluateConditions(p,d);if(!V){return}return oe.evaluateRules(v,{...d,referenceRecord:{...d.referenceRecord,...K}})};const oe={evaluateRules:evaluateRules,evaluateTreeRule:evaluateTreeRule};const resolveEndpoint=(i,d)=>{const{endpointParams:p,logger:v}=d;const{parameters:V,rules:K}=i;d.logger?.debug?.(`${te} Initial EndpointParams: ${toDebugString(p)}`);const ee=Object.entries(V).filter((([,i])=>i.default!=null)).map((([i,d])=>[i,d.default]));if(ee.length>0){for(const[i,d]of ee){p[i]=p[i]??d}}const re=Object.entries(V).filter((([,i])=>i.required)).map((([i])=>i));for(const i of re){if(p[i]==null){throw new EndpointError(`Missing required parameter: '${i}'`)}}const ne=evaluateRules(K,{endpointParams:p,logger:v,referenceRecord:{}});d.logger?.debug?.(`${te} Resolved endpoint: ${toDebugString(ne)}`);return ne};d.EndpointCache=EndpointCache;d.EndpointError=EndpointError;d.customEndpointFunctions=ee;d.isIpAddress=isIpAddress;d.isValidHostLabel=isValidHostLabel;d.resolveEndpoint=resolveEndpoint},96435:(i,d)=>{const p={};const v={};for(let i=0;i<256;i++){let d=i.toString(16).toLowerCase();if(d.length===1){d=`0${d}`}p[i]=d;v[d]=i}function fromHex(i){if(i.length%2!==0){throw new Error("Hex encoded strings must have an even number length")}const d=new Uint8Array(i.length/2);for(let p=0;p{var v=p(90690);const getSmithyContext=i=>i[v.SMITHY_CONTEXT_KEY]||(i[v.SMITHY_CONTEXT_KEY]={});const normalizeProvider=i=>{if(typeof i==="function")return i;const d=Promise.resolve(i);return()=>d};d.getSmithyContext=getSmithyContext;d.normalizeProvider=normalizeProvider},15518:(i,d,p)=>{var v=p(42058);d.RETRY_MODES=void 0;(function(i){i["STANDARD"]="standard";i["ADAPTIVE"]="adaptive"})(d.RETRY_MODES||(d.RETRY_MODES={}));const V=3;const K=d.RETRY_MODES.STANDARD;class DefaultRateLimiter{static setTimeoutFn=setTimeout;beta;minCapacity;minFillRate;scaleConstant;smooth;currentCapacity=0;enabled=false;lastMaxRate=0;measuredTxRate=0;requestCount=0;fillRate;lastThrottleTime;lastTimestamp=0;lastTxRateBucket;maxCapacity;timeWindow=0;constructor(i){this.beta=i?.beta??.7;this.minCapacity=i?.minCapacity??1;this.minFillRate=i?.minFillRate??.5;this.scaleConstant=i?.scaleConstant??.4;this.smooth=i?.smooth??.8;const d=this.getCurrentTimeInSeconds();this.lastThrottleTime=d;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(i){if(!this.enabled){return}this.refillTokenBucket();if(i>this.currentCapacity){const d=(i-this.currentCapacity)/this.fillRate*1e3;await new Promise((i=>DefaultRateLimiter.setTimeoutFn(i,d)))}this.currentCapacity=this.currentCapacity-i}refillTokenBucket(){const i=this.getCurrentTimeInSeconds();if(!this.lastTimestamp){this.lastTimestamp=i;return}const d=(i-this.lastTimestamp)*this.fillRate;this.currentCapacity=Math.min(this.maxCapacity,this.currentCapacity+d);this.lastTimestamp=i}updateClientSendingRate(i){let d;this.updateMeasuredRate();if(v.isThrottlingError(i)){const i=!this.enabled?this.measuredTxRate:Math.min(this.measuredTxRate,this.fillRate);this.lastMaxRate=i;this.calculateTimeWindow();this.lastThrottleTime=this.getCurrentTimeInSeconds();d=this.cubicThrottle(i);this.enableTokenBucket()}else{this.calculateTimeWindow();d=this.cubicSuccess(this.getCurrentTimeInSeconds())}const p=Math.min(d,2*this.measuredTxRate);this.updateTokenBucketRate(p)}calculateTimeWindow(){this.timeWindow=this.getPrecise(Math.pow(this.lastMaxRate*(1-this.beta)/this.scaleConstant,1/3))}cubicThrottle(i){return this.getPrecise(i*this.beta)}cubicSuccess(i){return this.getPrecise(this.scaleConstant*Math.pow(i-this.lastThrottleTime-this.timeWindow,3)+this.lastMaxRate)}enableTokenBucket(){this.enabled=true}updateTokenBucketRate(i){this.refillTokenBucket();this.fillRate=Math.max(i,this.minFillRate);this.maxCapacity=Math.max(i,this.minCapacity);this.currentCapacity=Math.min(this.currentCapacity,this.maxCapacity)}updateMeasuredRate(){const i=this.getCurrentTimeInSeconds();const d=Math.floor(i*2)/2;this.requestCount++;if(d>this.lastTxRateBucket){const i=this.requestCount/(d-this.lastTxRateBucket);this.measuredTxRate=this.getPrecise(i*this.smooth+this.measuredTxRate*(1-this.smooth));this.requestCount=0;this.lastTxRateBucket=d}}getPrecise(i){return parseFloat(i.toFixed(8))}}const ee=100;const te=20*1e3;const re=500;const ne=500;const se=5;const ie=10;const oe=1;const ae="amz-sdk-invocation-id";const Ae="amz-sdk-request";const getDefaultRetryBackoffStrategy=()=>{let i=ee;const computeNextBackoffDelay=d=>Math.floor(Math.min(te,Math.random()*2**d*i));const setDelayBase=d=>{i=d};return{computeNextBackoffDelay:computeNextBackoffDelay,setDelayBase:setDelayBase}};const createDefaultRetryToken=({retryDelay:i,retryCount:d,retryCost:p})=>{const getRetryCount=()=>d;const getRetryDelay=()=>Math.min(te,i);const getRetryCost=()=>p;return{getRetryCount:getRetryCount,getRetryDelay:getRetryDelay,getRetryCost:getRetryCost}};class StandardRetryStrategy{maxAttempts;mode=d.RETRY_MODES.STANDARD;capacity=ne;retryBackoffStrategy=getDefaultRetryBackoffStrategy();maxAttemptsProvider;constructor(i){this.maxAttempts=i;this.maxAttemptsProvider=typeof i==="function"?i:async()=>i}async acquireInitialRetryToken(i){return createDefaultRetryToken({retryDelay:ee,retryCount:0})}async refreshRetryTokenForRetry(i,d){const p=await this.getMaxAttempts();if(this.shouldRetry(i,d,p)){const p=d.errorType;this.retryBackoffStrategy.setDelayBase(p==="THROTTLING"?re:ee);const v=this.retryBackoffStrategy.computeNextBackoffDelay(i.getRetryCount());const V=d.retryAfterHint?Math.max(d.retryAfterHint.getTime()-Date.now()||0,v):v;const K=this.getCapacityCost(p);this.capacity-=K;return createDefaultRetryToken({retryDelay:V,retryCount:i.getRetryCount()+1,retryCost:K})}throw new Error("No retry token available")}recordSuccess(i){this.capacity=Math.max(ne,this.capacity+(i.getRetryCost()??oe))}getCapacity(){return this.capacity}async getMaxAttempts(){try{return await this.maxAttemptsProvider()}catch(i){console.warn(`Max attempts provider could not resolve. Using default of ${V}`);return V}}shouldRetry(i,d,p){const v=i.getRetryCount()+1;return v=this.getCapacityCost(d.errorType)&&this.isRetryableError(d.errorType)}getCapacityCost(i){return i==="TRANSIENT"?ie:se}isRetryableError(i){return i==="THROTTLING"||i==="TRANSIENT"}}class AdaptiveRetryStrategy{maxAttemptsProvider;rateLimiter;standardRetryStrategy;mode=d.RETRY_MODES.ADAPTIVE;constructor(i,d){this.maxAttemptsProvider=i;const{rateLimiter:p}=d??{};this.rateLimiter=p??new DefaultRateLimiter;this.standardRetryStrategy=new StandardRetryStrategy(i)}async acquireInitialRetryToken(i){await this.rateLimiter.getSendToken();return this.standardRetryStrategy.acquireInitialRetryToken(i)}async refreshRetryTokenForRetry(i,d){this.rateLimiter.updateClientSendingRate(d);return this.standardRetryStrategy.refreshRetryTokenForRetry(i,d)}recordSuccess(i){this.rateLimiter.updateClientSendingRate({});this.standardRetryStrategy.recordSuccess(i)}}class ConfiguredRetryStrategy extends StandardRetryStrategy{computeNextBackoffDelay;constructor(i,d=ee){super(typeof i==="function"?i:async()=>i);if(typeof d==="number"){this.computeNextBackoffDelay=()=>d}else{this.computeNextBackoffDelay=d}}async refreshRetryTokenForRetry(i,d){const p=await super.refreshRetryTokenForRetry(i,d);p.getRetryDelay=()=>this.computeNextBackoffDelay(p.getRetryCount());return p}}d.AdaptiveRetryStrategy=AdaptiveRetryStrategy;d.ConfiguredRetryStrategy=ConfiguredRetryStrategy;d.DEFAULT_MAX_ATTEMPTS=V;d.DEFAULT_RETRY_DELAY_BASE=ee;d.DEFAULT_RETRY_MODE=K;d.DefaultRateLimiter=DefaultRateLimiter;d.INITIAL_RETRY_TOKENS=ne;d.INVOCATION_ID_HEADER=ae;d.MAXIMUM_RETRY_DELAY=te;d.NO_RETRY_INCREMENT=oe;d.REQUEST_HEADER=Ae;d.RETRY_COST=se;d.StandardRetryStrategy=StandardRetryStrategy;d.THROTTLING_RETRY_DELAY_BASE=re;d.TIMEOUT_RETRY_COST=ie},31732:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.ByteArrayCollector=void 0;class ByteArrayCollector{allocByteArray;byteLength=0;byteArrays=[];constructor(i){this.allocByteArray=i}push(i){this.byteArrays.push(i);this.byteLength+=i.byteLength}flush(){if(this.byteArrays.length===1){const i=this.byteArrays[0];this.reset();return i}const i=this.allocByteArray(this.byteLength);let d=0;for(let p=0;p{Object.defineProperty(d,"__esModule",{value:true});d.ChecksumStream=void 0;const p=typeof ReadableStream==="function"?ReadableStream:function(){};class ChecksumStream extends p{}d.ChecksumStream=ChecksumStream},71775:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ChecksumStream=void 0;const v=p(68385);const V=p(2203);class ChecksumStream extends V.Duplex{expectedChecksum;checksumSourceLocation;checksum;source;base64Encoder;constructor({expectedChecksum:i,checksum:d,source:p,checksumSourceLocation:V,base64Encoder:K}){super();if(typeof p.pipe==="function"){this.source=p}else{throw new Error(`@smithy/util-stream: unsupported source type ${p?.constructor?.name??p} in ChecksumStream.`)}this.base64Encoder=K??v.toBase64;this.expectedChecksum=i;this.checksum=d;this.checksumSourceLocation=V;this.source.pipe(this)}_read(i){}_write(i,d,p){try{this.checksum.update(i);this.push(i)}catch(i){return p(i)}return p()}async _final(i){try{const d=await this.checksum.digest();const p=this.base64Encoder(d);if(this.expectedChecksum!==p){return i(new Error(`Checksum mismatch: expected "${this.expectedChecksum}" but received "${p}"`+` in response header "${this.checksumSourceLocation}".`))}}catch(d){return i(d)}this.push(null);return i()}}d.ChecksumStream=ChecksumStream},94129:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createChecksumStream=void 0;const v=p(68385);const V=p(4414);const K=p(87753);const createChecksumStream=({expectedChecksum:i,checksum:d,source:p,checksumSourceLocation:ee,base64Encoder:te})=>{if(!(0,V.isReadableStream)(p)){throw new Error(`@smithy/util-stream: unsupported source type ${p?.constructor?.name??p} in ChecksumStream.`)}const re=te??v.toBase64;if(typeof TransformStream!=="function"){throw new Error("@smithy/util-stream: unable to instantiate ChecksumStream because API unavailable: ReadableStream/TransformStream.")}const ne=new TransformStream({start(){},async transform(i,p){d.update(i);p.enqueue(i)},async flush(p){const v=await d.digest();const V=re(v);if(i!==V){const d=new Error(`Checksum mismatch: expected "${i}" but received "${V}"`+` in response header "${ee}".`);p.error(d)}else{p.terminate()}}});p.pipeThrough(ne);const se=ne.readable;Object.setPrototypeOf(se,K.ChecksumStream.prototype);return se};d.createChecksumStream=createChecksumStream},5639:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createChecksumStream=createChecksumStream;const v=p(4414);const V=p(71775);const K=p(94129);function createChecksumStream(i){if(typeof ReadableStream==="function"&&(0,v.isReadableStream)(i.source)){return(0,K.createChecksumStream)(i)}return new V.ChecksumStream(i)}},72005:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createBufferedReadable=createBufferedReadable;const v=p(57075);const V=p(31732);const K=p(78213);const ee=p(4414);function createBufferedReadable(i,d,p){if((0,ee.isReadableStream)(i)){return(0,K.createBufferedReadableStream)(i,d,p)}const te=new v.Readable({read(){}});let re=false;let ne=0;const se=["",new V.ByteArrayCollector((i=>new Uint8Array(i))),new V.ByteArrayCollector((i=>Buffer.from(new Uint8Array(i))))];let ie=-1;i.on("data",(i=>{const v=(0,K.modeOf)(i,true);if(ie!==v){if(ie>=0){te.push((0,K.flush)(se,ie))}ie=v}if(ie===-1){te.push(i);return}const V=(0,K.sizeOf)(i);ne+=V;const ee=(0,K.sizeOf)(se[ie]);if(V>=d&&ee===0){te.push(i)}else{const v=(0,K.merge)(se,ie,i);if(!re&&ne>d*2){re=true;p?.warn(`@smithy/util-stream - stream chunk size ${V} is below threshold of ${d}, automatically buffering.`)}if(v>=d){te.push((0,K.flush)(se,ie))}}}));i.on("end",(()=>{if(ie!==-1){const i=(0,K.flush)(se,ie);if((0,K.sizeOf)(i)>0){te.push(i)}}te.push(null)}));return te}},78213:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createBufferedReadable=void 0;d.createBufferedReadableStream=createBufferedReadableStream;d.merge=merge;d.flush=flush;d.sizeOf=sizeOf;d.modeOf=modeOf;const v=p(31732);function createBufferedReadableStream(i,d,p){const V=i.getReader();let K=false;let ee=0;const te=["",new v.ByteArrayCollector((i=>new Uint8Array(i)))];let re=-1;const pull=async i=>{const{value:v,done:ne}=await V.read();const se=v;if(ne){if(re!==-1){const d=flush(te,re);if(sizeOf(d)>0){i.enqueue(d)}}i.close()}else{const v=modeOf(se,false);if(re!==v){if(re>=0){i.enqueue(flush(te,re))}re=v}if(re===-1){i.enqueue(se);return}const V=sizeOf(se);ee+=V;const ne=sizeOf(te[re]);if(V>=d&&ne===0){i.enqueue(se)}else{const v=merge(te,re,se);if(!K&&ee>d*2){K=true;p?.warn(`@smithy/util-stream - stream chunk size ${V} is below threshold of ${d}, automatically buffering.`)}if(v>=d){i.enqueue(flush(te,re))}else{await pull(i)}}}};return new ReadableStream({pull:pull})}d.createBufferedReadable=createBufferedReadableStream;function merge(i,d,p){switch(d){case 0:i[0]+=p;return sizeOf(i[0]);case 1:case 2:i[d].push(p);return sizeOf(i[d])}}function flush(i,d){switch(d){case 0:const p=i[0];i[0]="";return p;case 1:case 2:return i[d].flush()}throw new Error(`@smithy/util-stream - invalid index ${d} given to flush()`)}function sizeOf(i){return i?.byteLength??i?.length??0}function modeOf(i,d=true){if(d&&typeof Buffer!=="undefined"&&i instanceof Buffer){return 2}if(i instanceof Uint8Array){return 1}if(typeof i==="string"){return 0}return-1}},93492:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.getAwsChunkedEncodingStream=void 0;const getAwsChunkedEncodingStream=(i,d)=>{const{base64Encoder:p,bodyLengthChecker:v,checksumAlgorithmFn:V,checksumLocationName:K,streamHasher:ee}=d;const te=p!==undefined&&v!==undefined&&V!==undefined&&K!==undefined&&ee!==undefined;const re=te?ee(V,i):undefined;const ne=i.getReader();return new ReadableStream({async pull(i){const{value:d,done:V}=await ne.read();if(V){i.enqueue(`0\r\n`);if(te){const d=p(await re);i.enqueue(`${K}:${d}\r\n`);i.enqueue(`\r\n`)}i.close()}else{i.enqueue(`${(v(d)||0).toString(16)}\r\n${d}\r\n`)}}})};d.getAwsChunkedEncodingStream=getAwsChunkedEncodingStream},6522:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getAwsChunkedEncodingStream=getAwsChunkedEncodingStream;const v=p(57075);const V=p(93492);const K=p(4414);function getAwsChunkedEncodingStream(i,d){const p=i;const ee=i;if((0,K.isReadableStream)(ee)){return(0,V.getAwsChunkedEncodingStream)(ee,d)}const{base64Encoder:te,bodyLengthChecker:re,checksumAlgorithmFn:ne,checksumLocationName:se,streamHasher:ie}=d;const oe=te!==undefined&&ne!==undefined&&se!==undefined&&ie!==undefined;const ae=oe?ie(ne,p):undefined;const Ae=new v.Readable({read:()=>{}});p.on("data",(i=>{const d=re(i)||0;if(d===0){return}Ae.push(`${d.toString(16)}\r\n`);Ae.push(i);Ae.push("\r\n")}));p.on("end",(async()=>{Ae.push(`0\r\n`);if(oe){const i=te(await ae);Ae.push(`${se}:${i}\r\n`);Ae.push(`\r\n`)}Ae.push(null)}));return Ae}},80066:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.headStream=headStream;async function headStream(i,d){let p=0;const v=[];const V=i.getReader();let K=false;while(!K){const{done:i,value:ee}=await V.read();if(ee){v.push(ee);p+=ee?.byteLength??0}if(p>=d){break}K=i}V.releaseLock();const ee=new Uint8Array(Math.min(d,p));let te=0;for(const i of v){if(i.byteLength>ee.byteLength-te){ee.set(i.subarray(0,ee.byteLength-te),te);break}else{ee.set(i,te)}te+=i.length}return ee}},88412:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.headStream=void 0;const v=p(2203);const V=p(80066);const K=p(4414);const headStream=(i,d)=>{if((0,K.isReadableStream)(i)){return(0,V.headStream)(i,d)}return new Promise(((p,v)=>{const V=new Collector;V.limit=d;i.pipe(V);i.on("error",(i=>{V.end();v(i)}));V.on("error",v);V.on("finish",(function(){const i=new Uint8Array(Buffer.concat(this.buffers));p(i)}))}))};d.headStream=headStream;class Collector extends v.Writable{buffers=[];limit=Infinity;bytesBuffered=0;_write(i,d,p){this.buffers.push(i);this.bytesBuffered+=i.byteLength??0;if(this.bytesBuffered>=this.limit){const i=this.bytesBuffered-this.limit;const d=this.buffers[this.buffers.length-1];this.buffers[this.buffers.length-1]=d.subarray(0,d.byteLength-i);this.emit("finish")}p()}}},4252:(i,d,p)=>{var v=p(68385);var V=p(71577);var K=p(71775);var ee=p(5639);var te=p(72005);var re=p(6522);var ne=p(88412);var se=p(77201);var ie=p(82108);var oe=p(4414);class Uint8ArrayBlobAdapter extends Uint8Array{static fromString(i,d="utf-8"){if(typeof i==="string"){if(d==="base64"){return Uint8ArrayBlobAdapter.mutate(v.fromBase64(i))}return Uint8ArrayBlobAdapter.mutate(V.fromUtf8(i))}throw new Error(`Unsupported conversion from ${typeof i} to Uint8ArrayBlobAdapter.`)}static mutate(i){Object.setPrototypeOf(i,Uint8ArrayBlobAdapter.prototype);return i}transformToString(i="utf-8"){if(i==="base64"){return v.toBase64(this)}return V.toUtf8(this)}}Object.defineProperty(d,"isBlob",{enumerable:true,get:function(){return oe.isBlob}});Object.defineProperty(d,"isReadableStream",{enumerable:true,get:function(){return oe.isReadableStream}});d.Uint8ArrayBlobAdapter=Uint8ArrayBlobAdapter;Object.keys(K).forEach((function(i){if(i!=="default"&&!Object.prototype.hasOwnProperty.call(d,i))Object.defineProperty(d,i,{enumerable:true,get:function(){return K[i]}})}));Object.keys(ee).forEach((function(i){if(i!=="default"&&!Object.prototype.hasOwnProperty.call(d,i))Object.defineProperty(d,i,{enumerable:true,get:function(){return ee[i]}})}));Object.keys(te).forEach((function(i){if(i!=="default"&&!Object.prototype.hasOwnProperty.call(d,i))Object.defineProperty(d,i,{enumerable:true,get:function(){return te[i]}})}));Object.keys(re).forEach((function(i){if(i!=="default"&&!Object.prototype.hasOwnProperty.call(d,i))Object.defineProperty(d,i,{enumerable:true,get:function(){return re[i]}})}));Object.keys(ne).forEach((function(i){if(i!=="default"&&!Object.prototype.hasOwnProperty.call(d,i))Object.defineProperty(d,i,{enumerable:true,get:function(){return ne[i]}})}));Object.keys(se).forEach((function(i){if(i!=="default"&&!Object.prototype.hasOwnProperty.call(d,i))Object.defineProperty(d,i,{enumerable:true,get:function(){return se[i]}})}));Object.keys(ie).forEach((function(i){if(i!=="default"&&!Object.prototype.hasOwnProperty.call(d,i))Object.defineProperty(d,i,{enumerable:true,get:function(){return ie[i]}})}))},82207:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.sdkStreamMixin=void 0;const v=p(47809);const V=p(68385);const K=p(96435);const ee=p(71577);const te=p(4414);const re="The stream has already been transformed.";const sdkStreamMixin=i=>{if(!isBlobInstance(i)&&!(0,te.isReadableStream)(i)){const d=i?.__proto__?.constructor?.name||i;throw new Error(`Unexpected stream implementation, expect Blob or ReadableStream, got ${d}`)}let d=false;const transformToByteArray=async()=>{if(d){throw new Error(re)}d=true;return await(0,v.streamCollector)(i)};const blobToWebStream=i=>{if(typeof i.stream!=="function"){throw new Error("Cannot transform payload Blob to web stream. Please make sure the Blob.stream() is polyfilled.\n"+"If you are using React Native, this API is not yet supported, see: https://react-native.canny.io/feature-requests/p/fetch-streaming-body")}return i.stream()};return Object.assign(i,{transformToByteArray:transformToByteArray,transformToString:async i=>{const d=await transformToByteArray();if(i==="base64"){return(0,V.toBase64)(d)}else if(i==="hex"){return(0,K.toHex)(d)}else if(i===undefined||i==="utf8"||i==="utf-8"){return(0,ee.toUtf8)(d)}else if(typeof TextDecoder==="function"){return new TextDecoder(i).decode(d)}else{throw new Error("TextDecoder is not available, please make sure polyfill is provided.")}},transformToWebStream:()=>{if(d){throw new Error(re)}d=true;if(isBlobInstance(i)){return blobToWebStream(i)}else if((0,te.isReadableStream)(i)){return i}else{throw new Error(`Cannot transform payload to web stream, got ${i}`)}}})};d.sdkStreamMixin=sdkStreamMixin;const isBlobInstance=i=>typeof Blob==="function"&&i instanceof Blob},77201:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.sdkStreamMixin=void 0;const v=p(61279);const V=p(44151);const K=p(2203);const ee=p(82207);const te="The stream has already been transformed.";const sdkStreamMixin=i=>{if(!(i instanceof K.Readable)){try{return(0,ee.sdkStreamMixin)(i)}catch(d){const p=i?.__proto__?.constructor?.name||i;throw new Error(`Unexpected stream implementation, expect Stream.Readable instance, got ${p}`)}}let d=false;const transformToByteArray=async()=>{if(d){throw new Error(te)}d=true;return await(0,v.streamCollector)(i)};return Object.assign(i,{transformToByteArray:transformToByteArray,transformToString:async i=>{const d=await transformToByteArray();if(i===undefined||Buffer.isEncoding(i)){return(0,V.fromArrayBuffer)(d.buffer,d.byteOffset,d.byteLength).toString(i)}else{const p=new TextDecoder(i);return p.decode(d)}},transformToWebStream:()=>{if(d){throw new Error(te)}if(i.readableFlowing!==null){throw new Error("The stream has been consumed by other callbacks.")}if(typeof K.Readable.toWeb!=="function"){throw new Error("Readable.toWeb() is not supported. Please ensure a polyfill is available.")}d=true;return K.Readable.toWeb(i)}})};d.sdkStreamMixin=sdkStreamMixin},17570:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.splitStream=splitStream;async function splitStream(i){if(typeof i.stream==="function"){i=i.stream()}const d=i;return d.tee()}},82108:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.splitStream=splitStream;const v=p(2203);const V=p(17570);const K=p(4414);async function splitStream(i){if((0,K.isReadableStream)(i)||(0,K.isBlob)(i)){return(0,V.splitStream)(i)}const d=new v.PassThrough;const p=new v.PassThrough;i.pipe(d);i.pipe(p);return[d,p]}},4414:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.isBlob=d.isReadableStream=void 0;const isReadableStream=i=>typeof ReadableStream==="function"&&(i?.constructor?.name===ReadableStream.name||i instanceof ReadableStream);d.isReadableStream=isReadableStream;const isBlob=i=>typeof Blob==="function"&&(i?.constructor?.name===Blob.name||i instanceof Blob);d.isBlob=isBlob},80146:(i,d)=>{const escapeUri=i=>encodeURIComponent(i).replace(/[!'()*]/g,hexEncode);const hexEncode=i=>`%${i.charCodeAt(0).toString(16).toUpperCase()}`;const escapeUriPath=i=>i.split("/").map(escapeUri).join("/");d.escapeUri=escapeUri;d.escapeUriPath=escapeUriPath},71577:(i,d,p)=>{var v=p(44151);const fromUtf8=i=>{const d=v.fromString(i,"utf8");return new Uint8Array(d.buffer,d.byteOffset,d.byteLength/Uint8Array.BYTES_PER_ELEMENT)};const toUint8Array=i=>{if(typeof i==="string"){return fromUtf8(i)}if(ArrayBuffer.isView(i)){return new Uint8Array(i.buffer,i.byteOffset,i.byteLength/Uint8Array.BYTES_PER_ELEMENT)}return new Uint8Array(i)};const toUtf8=i=>{if(typeof i==="string"){return i}if(typeof i!=="object"||typeof i.byteOffset!=="number"||typeof i.byteLength!=="number"){throw new Error("@smithy/util-utf8: toUtf8 encoder function only accepts string | Uint8Array.")}return v.fromArrayBuffer(i.buffer,i.byteOffset,i.byteLength).toString("utf8")};d.fromUtf8=fromUtf8;d.toUint8Array=toUint8Array;d.toUtf8=toUtf8},95290:(i,d)=>{const getCircularReplacer=()=>{const i=new WeakSet;return(d,p)=>{if(typeof p==="object"&&p!==null){if(i.has(p)){return"[Circular]"}i.add(p)}return p}};const sleep=i=>new Promise((d=>setTimeout(d,i*1e3)));const p={minDelay:2,maxDelay:120};d.WaiterState=void 0;(function(i){i["ABORTED"]="ABORTED";i["FAILURE"]="FAILURE";i["SUCCESS"]="SUCCESS";i["RETRY"]="RETRY";i["TIMEOUT"]="TIMEOUT"})(d.WaiterState||(d.WaiterState={}));const checkExceptions=i=>{if(i.state===d.WaiterState.ABORTED){const d=new Error(`${JSON.stringify({...i,reason:"Request was aborted"},getCircularReplacer())}`);d.name="AbortError";throw d}else if(i.state===d.WaiterState.TIMEOUT){const d=new Error(`${JSON.stringify({...i,reason:"Waiter has timed out"},getCircularReplacer())}`);d.name="TimeoutError";throw d}else if(i.state!==d.WaiterState.SUCCESS){throw new Error(`${JSON.stringify(i,getCircularReplacer())}`)}return i};const exponentialBackoffWithJitter=(i,d,p,v)=>{if(v>p)return d;const V=i*2**(v-1);return randomInRange(i,V)};const randomInRange=(i,d)=>i+Math.random()*(d-i);const runPolling=async({minDelay:i,maxDelay:p,maxWaitTime:v,abortController:V,client:K,abortSignal:ee},te,re)=>{const ne={};const{state:se,reason:ie}=await re(K,te);if(ie){const i=createMessageFromResponse(ie);ne[i]|=0;ne[i]+=1}if(se!==d.WaiterState.RETRY){return{state:se,reason:ie,observedResponses:ne}}let oe=1;const ae=Date.now()+v*1e3;const Ae=Math.log(p/i)/Math.log(2)+1;while(true){if(V?.signal?.aborted||ee?.aborted){const i="AbortController signal aborted.";ne[i]|=0;ne[i]+=1;return{state:d.WaiterState.ABORTED,observedResponses:ne}}const v=exponentialBackoffWithJitter(i,p,Ae,oe);if(Date.now()+v*1e3>ae){return{state:d.WaiterState.TIMEOUT,observedResponses:ne}}await sleep(v);const{state:se,reason:ie}=await re(K,te);if(ie){const i=createMessageFromResponse(ie);ne[i]|=0;ne[i]+=1}if(se!==d.WaiterState.RETRY){return{state:se,reason:ie,observedResponses:ne}}oe+=1}};const createMessageFromResponse=i=>{if(i?.$responseBodyText){return`Deserialization error for body: ${i.$responseBodyText}`}if(i?.$metadata?.httpStatusCode){if(i.$response||i.message){return`${i.$response.statusCode??i.$metadata.httpStatusCode??"Unknown"}: ${i.message}`}return`${i.$metadata.httpStatusCode}: OK`}return String(i?.message??JSON.stringify(i,getCircularReplacer())??"Unknown")};const validateWaiterOptions=i=>{if(i.maxWaitTime<=0){throw new Error(`WaiterConfiguration.maxWaitTime must be greater than 0`)}else if(i.minDelay<=0){throw new Error(`WaiterConfiguration.minDelay must be greater than 0`)}else if(i.maxDelay<=0){throw new Error(`WaiterConfiguration.maxDelay must be greater than 0`)}else if(i.maxWaitTime<=i.minDelay){throw new Error(`WaiterConfiguration.maxWaitTime [${i.maxWaitTime}] must be greater than WaiterConfiguration.minDelay [${i.minDelay}] for this waiter`)}else if(i.maxDelay{let p;const v=new Promise((v=>{p=()=>v({state:d.WaiterState.ABORTED});if(typeof i.addEventListener==="function"){i.addEventListener("abort",p)}else{i.onabort=p}}));return{clearListener(){if(typeof i.removeEventListener==="function"){i.removeEventListener("abort",p)}},aborted:v}};const createWaiter=async(i,d,v)=>{const V={...p,...i};validateWaiterOptions(V);const K=[runPolling(V,d,v)];const ee=[];if(i.abortSignal){const{aborted:d,clearListener:p}=abortTimeout(i.abortSignal);ee.push(p);K.push(d)}if(i.abortController?.signal){const{aborted:d,clearListener:p}=abortTimeout(i.abortController.signal);ee.push(p);K.push(d)}return Promise.race(K).then((i=>{for(const i of ee){i()}return i}))};d.checkExceptions=checkExceptions;d.createWaiter=createWaiter;d.waiterServiceDefaults=p},90266:(i,d,p)=>{var v=p(8492);const V=Array.from({length:256},((i,d)=>d.toString(16).padStart(2,"0")));const v4=()=>{if(v.randomUUID){return v.randomUUID()}const i=new Uint8Array(16);crypto.getRandomValues(i);i[6]=i[6]&15|64;i[8]=i[8]&63|128;return V[i[0]]+V[i[1]]+V[i[2]]+V[i[3]]+"-"+V[i[4]]+V[i[5]]+"-"+V[i[6]]+V[i[7]]+"-"+V[i[8]]+V[i[9]]+"-"+V[i[10]]+V[i[11]]+V[i[12]]+V[i[13]]+V[i[14]]+V[i[15]]};d.v4=v4},8492:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.randomUUID=void 0;const v=p(61860);const V=v.__importDefault(p(76982));d.randomUUID=V.default.randomUUID.bind(V.default)},17413:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});var v=p(16577);class AbortSignal extends v.EventTarget{constructor(){super();throw new TypeError("AbortSignal cannot be constructed directly")}get aborted(){const i=V.get(this);if(typeof i!=="boolean"){throw new TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this===null?"null":typeof this}`)}return i}}v.defineEventAttribute(AbortSignal.prototype,"abort");function createAbortSignal(){const i=Object.create(AbortSignal.prototype);v.EventTarget.call(i);V.set(i,false);return i}function abortSignal(i){if(V.get(i)!==false){return}V.set(i,true);i.dispatchEvent({type:"abort"})}const V=new WeakMap;Object.defineProperties(AbortSignal.prototype,{aborted:{enumerable:true}});if(typeof Symbol==="function"&&typeof Symbol.toStringTag==="symbol"){Object.defineProperty(AbortSignal.prototype,Symbol.toStringTag,{configurable:true,value:"AbortSignal"})}class AbortController{constructor(){K.set(this,createAbortSignal())}get signal(){return getSignal(this)}abort(){abortSignal(getSignal(this))}}const K=new WeakMap;function getSignal(i){const d=K.get(i);if(d==null){throw new TypeError(`Expected 'this' to be an 'AbortController' object, but got ${i===null?"null":typeof i}`)}return d}Object.defineProperties(AbortController.prototype,{signal:{enumerable:true},abort:{enumerable:true}});if(typeof Symbol==="function"&&typeof Symbol.toStringTag==="symbol"){Object.defineProperty(AbortController.prototype,Symbol.toStringTag,{configurable:true,value:"AbortController"})}d.AbortController=AbortController;d.AbortSignal=AbortSignal;d["default"]=AbortController;i.exports=AbortController;i.exports.AbortController=i.exports["default"]=AbortController;i.exports.AbortSignal=AbortSignal},15183:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};Object.defineProperty(d,"__esModule",{value:true});d.req=d.json=d.toBuffer=void 0;const ee=K(p(58611));const te=K(p(65692));async function toBuffer(i){let d=0;const p=[];for await(const v of i){d+=v.length;p.push(v)}return Buffer.concat(p,d)}d.toBuffer=toBuffer;async function json(i){const d=await toBuffer(i);const p=d.toString("utf8");try{return JSON.parse(p)}catch(i){const d=i;d.message+=` (input: ${p})`;throw d}}d.json=json;function req(i,d={}){const p=typeof i==="string"?i:i.href;const v=(p.startsWith("https:")?te:ee).request(i,d);const V=new Promise(((i,d)=>{v.once("response",i).once("error",d).end()}));v.then=V.then.bind(V);return v}d.req=req},98894:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};var ee=this&&this.__exportStar||function(i,d){for(var p in i)if(p!=="default"&&!Object.prototype.hasOwnProperty.call(d,p))v(d,i,p)};Object.defineProperty(d,"__esModule",{value:true});d.Agent=void 0;const te=K(p(58611));ee(p(15183),d);const re=Symbol("AgentBaseInternalState");class Agent extends te.Agent{constructor(i){super(i);this[re]={}}isSecureEndpoint(i){if(i){if(typeof i.secureEndpoint==="boolean"){return i.secureEndpoint}if(typeof i.protocol==="string"){return i.protocol==="https:"}}const{stack:d}=new Error;if(typeof d!=="string")return false;return d.split("\n").some((i=>i.indexOf("(https.js:")!==-1||i.indexOf("node:https:")!==-1))}createSocket(i,d,p){const v={...d,secureEndpoint:this.isSecureEndpoint(d)};Promise.resolve().then((()=>this.connect(i,v))).then((V=>{if(V instanceof te.Agent){return V.addRequest(i,v)}this[re].currentSocket=V;super.createSocket(i,d,p)}),p)}createConnection(){const i=this[re].currentSocket;this[re].currentSocket=undefined;if(!i){throw new Error("No socket was returned in the `connect()` function")}return i}get defaultPort(){return this[re].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(i){if(this[re]){this[re].defaultPort=i}}get protocol(){return this[re].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(i){if(this[re]){this[re].protocol=i}}}d.Agent=Agent},38816:(i,d,p)=>{var v=p(35744);var V=p(16928);var K=p(97047);var ee=p(57294);var te=p(73270);var re=p(36542);var ne=p(46171);var se=i.exports={};var ie=/[\/\\]/g;var processPatterns=function(i,d){var p=[];K(i).forEach((function(i){var v=i.indexOf("!")===0;if(v){i=i.slice(1)}var V=d(i);if(v){p=ee(p,V)}else{p=te(p,V)}}));return p};se.exists=function(){var i=V.join.apply(V,arguments);return v.existsSync(i)};se.expand=function(...i){var d=re(i[0])?i.shift():{};var p=Array.isArray(i[0])?i[0]:i;if(p.length===0){return[]}var K=processPatterns(p,(function(i){return ne.sync(i,d)}));if(d.filter){K=K.filter((function(i){i=V.join(d.cwd||"",i);try{if(typeof d.filter==="function"){return d.filter(i)}else{return v.statSync(i)[d.filter]()}}catch(i){return false}}))}return K};se.expandMapping=function(i,d,p){p=Object.assign({rename:function(i,d){return V.join(i||"",d)}},p);var v=[];var K={};se.expand(p,i).forEach((function(i){var ee=i;if(p.flatten){ee=V.basename(ee)}if(p.ext){ee=ee.replace(/(\.[^\/]*)?$/,p.ext)}var te=p.rename(d,ee,p);if(p.cwd){i=V.join(p.cwd,i)}te=te.replace(ie,"/");i=i.replace(ie,"/");if(K[te]){K[te].src.push(i)}else{v.push({src:[i],dest:te});K[te]=v[v.length-1]}}));return v};se.normalizeFilesArray=function(i){var d=[];i.forEach((function(i){var p;if("src"in i||"dest"in i){d.push(i)}}));if(d.length===0){return[]}d=_(d).chain().forEach((function(i){if(!("src"in i)||!i.src){return}if(Array.isArray(i.src)){i.src=K(i.src)}else{i.src=[i.src]}})).map((function(i){var d=Object.assign({},i);delete d.src;delete d.dest;if(i.expand){return se.expandMapping(i.src,i.dest,d).map((function(d){var p=Object.assign({},i);p.orig=Object.assign({},i);p.src=d.src;p.dest=d.dest;["expand","cwd","flatten","rename","ext"].forEach((function(i){delete p[i]}));return p}))}var p=Object.assign({},i);p.orig=Object.assign({},i);if("src"in p){Object.defineProperty(p,"src",{enumerable:true,get:function fn(){var p;if(!("result"in fn)){p=i.src;p=Array.isArray(p)?K(p):[p];fn.result=se.expand(d,p)}return fn.result}})}if("dest"in p){p.dest=i.dest}return p})).flatten().value();return d}},53296:(i,d,p)=>{var v=p(35744);var V=p(16928);var K=p(96543);var ee=p(32126);var te=p(56133);var re=p(7511);var ne=p(2203).Stream;var se=p(29963).PassThrough;var ie=i.exports={};ie.file=p(38816);ie.collectStream=function(i,d){var p=[];var v=0;i.on("error",d);i.on("data",(function(i){p.push(i);v+=i.length}));i.on("end",(function(){var i=Buffer.alloc(v);var V=0;p.forEach((function(d){d.copy(i,V);V+=d.length}));d(null,i)}))};ie.dateify=function(i){i=i||new Date;if(i instanceof Date){i=i}else if(typeof i==="string"){i=new Date(i)}else{i=new Date}return i};ie.defaults=function(i,d,p){var v=arguments;v[0]=v[0]||{};return re(...v)};ie.isStream=function(i){return K(i)};ie.lazyReadStream=function(i){return new ee.Readable((function(){return v.createReadStream(i)}))};ie.normalizeInputSource=function(i){if(i===null){return Buffer.alloc(0)}else if(typeof i==="string"){return Buffer.from(i)}else if(ie.isStream(i)){return i.pipe(new se)}return i};ie.sanitizePath=function(i){return te(i,false).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"")};ie.trailingSlashIt=function(i){return i.slice(-1)!=="/"?i+"/":i};ie.unixifyPath=function(i){return te(i,false).replace(/^\w+:/,"")};ie.walkdir=function(i,d,p){var K=[];if(typeof d==="function"){p=d;d=i}v.readdir(i,(function(ee,te){var re=0;var ne;var se;if(ee){return p(ee)}(function next(){ne=te[re++];if(!ne){return p(null,K)}se=V.join(i,ne);v.stat(se,(function(i,v){K.push({path:se,relative:V.relative(d,se).replace(/\\/g,"/"),stats:v});if(v&&v.isDirectory()){ie.walkdir(se,d,(function(i,d){if(i){return p(i)}d.forEach((function(i){K.push(i)}));next()}))}else{next()}}))})()}))}},99392:(i,d,p)=>{ /** * Archiver Vending * @@ -16,7 +18,7 @@ var v=p(50549);var V={};var vending=function(i,d){return vending.create(i,d)};ve * @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE} * @copyright (c) 2012-2014 Chris Talkington, contributors. */ -var v=p(79896);var V=p(51364);var K=p(97329);var ee=p(16928);var te=p(53296);var re=p(39023).inherits;var ne=p(13110);var ie=p(29963).Transform;var se=process.platform==="win32";var Archiver=function(i,d){if(!(this instanceof Archiver)){return new Archiver(i,d)}if(typeof i!=="string"){d=i;i="zip"}d=this.options=te.defaults(d,{highWaterMark:1024*1024,statConcurrency:4});ie.call(this,d);this._format=false;this._module=false;this._pending=0;this._pointer=0;this._entriesCount=0;this._entriesProcessedCount=0;this._fsEntriesTotalBytes=0;this._fsEntriesProcessedBytes=0;this._queue=K.queue(this._onQueueTask.bind(this),1);this._queue.drain(this._onQueueDrain.bind(this));this._statQueue=K.queue(this._onStatQueueTask.bind(this),d.statConcurrency);this._statQueue.drain(this._onQueueDrain.bind(this));this._state={aborted:false,finalize:false,finalizing:false,finalized:false,modulePiped:false};this._streams=[]};re(Archiver,ie);Archiver.prototype._abort=function(){this._state.aborted=true;this._queue.kill();this._statQueue.kill();if(this._queue.idle()){this._shutdown()}};Archiver.prototype._append=function(i,d){d=d||{};var p={source:null,filepath:i};if(!d.name){d.name=i}d.sourcePath=i;p.data=d;this._entriesCount++;if(d.stats&&d.stats instanceof v.Stats){p=this._updateQueueTaskWithStats(p,d.stats);if(p){if(d.stats.size){this._fsEntriesTotalBytes+=d.stats.size}this._queue.push(p)}}else{this._statQueue.push(p)}};Archiver.prototype._finalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted){return}this._state.finalizing=true;this._moduleFinalize();this._state.finalizing=false;this._state.finalized=true};Archiver.prototype._maybeFinalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted){return false}if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle()){this._finalize();return true}return false};Archiver.prototype._moduleAppend=function(i,d,p){if(this._state.aborted){p();return}this._module.append(i,d,function(i){this._task=null;if(this._state.aborted){this._shutdown();return}if(i){this.emit("error",i);setImmediate(p);return}this.emit("entry",d);this._entriesProcessedCount++;if(d.stats&&d.stats.size){this._fsEntriesProcessedBytes+=d.stats.size}this.emit("progress",{entries:{total:this._entriesCount,processed:this._entriesProcessedCount},fs:{totalBytes:this._fsEntriesTotalBytes,processedBytes:this._fsEntriesProcessedBytes}});setImmediate(p)}.bind(this))};Archiver.prototype._moduleFinalize=function(){if(typeof this._module.finalize==="function"){this._module.finalize()}else if(typeof this._module.end==="function"){this._module.end()}else{this.emit("error",new ne("NOENDMETHOD"))}};Archiver.prototype._modulePipe=function(){this._module.on("error",this._onModuleError.bind(this));this._module.pipe(this);this._state.modulePiped=true};Archiver.prototype._moduleSupports=function(i){if(!this._module.supports||!this._module.supports[i]){return false}return this._module.supports[i]};Archiver.prototype._moduleUnpipe=function(){this._module.unpipe(this);this._state.modulePiped=false};Archiver.prototype._normalizeEntryData=function(i,d){i=te.defaults(i,{type:"file",name:null,date:null,mode:null,prefix:null,sourcePath:null,stats:false});if(d&&i.stats===false){i.stats=d}var p=i.type==="directory";if(i.name){if(typeof i.prefix==="string"&&""!==i.prefix){i.name=i.prefix+"/"+i.name;i.prefix=null}i.name=te.sanitizePath(i.name);if(i.type!=="symlink"&&i.name.slice(-1)==="/"){p=true;i.type="directory"}else if(p){i.name+="/"}}if(typeof i.mode==="number"){if(se){i.mode&=511}else{i.mode&=4095}}else if(i.stats&&i.mode===null){if(se){i.mode=i.stats.mode&511}else{i.mode=i.stats.mode&4095}if(se&&p){i.mode=493}}else if(i.mode===null){i.mode=p?493:420}if(i.stats&&i.date===null){i.date=i.stats.mtime}else{i.date=te.dateify(i.date)}return i};Archiver.prototype._onModuleError=function(i){this.emit("error",i)};Archiver.prototype._onQueueDrain=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted){return}if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle()){this._finalize()}};Archiver.prototype._onQueueTask=function(i,d){var fullCallback=()=>{if(i.data.callback){i.data.callback()}d()};if(this._state.finalizing||this._state.finalized||this._state.aborted){fullCallback();return}this._task=i;this._moduleAppend(i.source,i.data,fullCallback)};Archiver.prototype._onStatQueueTask=function(i,d){if(this._state.finalizing||this._state.finalized||this._state.aborted){d();return}v.lstat(i.filepath,function(p,v){if(this._state.aborted){setImmediate(d);return}if(p){this._entriesCount--;this.emit("warning",p);setImmediate(d);return}i=this._updateQueueTaskWithStats(i,v);if(i){if(v.size){this._fsEntriesTotalBytes+=v.size}this._queue.push(i)}setImmediate(d)}.bind(this))};Archiver.prototype._shutdown=function(){this._moduleUnpipe();this.end()};Archiver.prototype._transform=function(i,d,p){if(i){this._pointer+=i.length}p(null,i)};Archiver.prototype._updateQueueTaskWithStats=function(i,d){if(d.isFile()){i.data.type="file";i.data.sourceType="stream";i.source=te.lazyReadStream(i.filepath)}else if(d.isDirectory()&&this._moduleSupports("directory")){i.data.name=te.trailingSlashIt(i.data.name);i.data.type="directory";i.data.sourcePath=te.trailingSlashIt(i.filepath);i.data.sourceType="buffer";i.source=Buffer.concat([])}else if(d.isSymbolicLink()&&this._moduleSupports("symlink")){var p=v.readlinkSync(i.filepath);var V=ee.dirname(i.filepath);i.data.type="symlink";i.data.linkname=ee.relative(V,ee.resolve(V,p));i.data.sourceType="buffer";i.source=Buffer.concat([])}else{if(d.isDirectory()){this.emit("warning",new ne("DIRECTORYNOTSUPPORTED",i.data))}else if(d.isSymbolicLink()){this.emit("warning",new ne("SYMLINKNOTSUPPORTED",i.data))}else{this.emit("warning",new ne("ENTRYNOTSUPPORTED",i.data))}return null}i.data=this._normalizeEntryData(i.data,d);return i};Archiver.prototype.abort=function(){if(this._state.aborted||this._state.finalized){return this}this._abort();return this};Archiver.prototype.append=function(i,d){if(this._state.finalize||this._state.aborted){this.emit("error",new ne("QUEUECLOSED"));return this}d=this._normalizeEntryData(d);if(typeof d.name!=="string"||d.name.length===0){this.emit("error",new ne("ENTRYNAMEREQUIRED"));return this}if(d.type==="directory"&&!this._moduleSupports("directory")){this.emit("error",new ne("DIRECTORYNOTSUPPORTED",{name:d.name}));return this}i=te.normalizeInputSource(i);if(Buffer.isBuffer(i)){d.sourceType="buffer"}else if(te.isStream(i)){d.sourceType="stream"}else{this.emit("error",new ne("INPUTSTEAMBUFFERREQUIRED",{name:d.name}));return this}this._entriesCount++;this._queue.push({data:d,source:i});return this};Archiver.prototype.directory=function(i,d,p){if(this._state.finalize||this._state.aborted){this.emit("error",new ne("QUEUECLOSED"));return this}if(typeof i!=="string"||i.length===0){this.emit("error",new ne("DIRECTORYDIRPATHREQUIRED"));return this}this._pending++;if(d===false){d=""}else if(typeof d!=="string"){d=i}var v=false;if(typeof p==="function"){v=p;p={}}else if(typeof p!=="object"){p={}}var K={stat:true,dot:true};function onGlobEnd(){this._pending--;this._maybeFinalize()}function onGlobError(i){this.emit("error",i)}function onGlobMatch(V){ee.pause();var K=false;var te=Object.assign({},p);te.name=V.relative;te.prefix=d;te.stats=V.stat;te.callback=ee.resume.bind(ee);try{if(v){te=v(te);if(te===false){K=true}else if(typeof te!=="object"){throw new ne("DIRECTORYFUNCTIONINVALIDDATA",{dirpath:i})}}}catch(i){this.emit("error",i);return}if(K){ee.resume();return}this._append(V.absolute,te)}var ee=V(i,K);ee.on("error",onGlobError.bind(this));ee.on("match",onGlobMatch.bind(this));ee.on("end",onGlobEnd.bind(this));return this};Archiver.prototype.file=function(i,d){if(this._state.finalize||this._state.aborted){this.emit("error",new ne("QUEUECLOSED"));return this}if(typeof i!=="string"||i.length===0){this.emit("error",new ne("FILEFILEPATHREQUIRED"));return this}this._append(i,d);return this};Archiver.prototype.glob=function(i,d,p){this._pending++;d=te.defaults(d,{stat:true,pattern:i});function onGlobEnd(){this._pending--;this._maybeFinalize()}function onGlobError(i){this.emit("error",i)}function onGlobMatch(i){v.pause();var d=Object.assign({},p);d.callback=v.resume.bind(v);d.stats=i.stat;d.name=i.relative;this._append(i.absolute,d)}var v=V(d.cwd||".",d);v.on("error",onGlobError.bind(this));v.on("match",onGlobMatch.bind(this));v.on("end",onGlobEnd.bind(this));return this};Archiver.prototype.finalize=function(){if(this._state.aborted){var i=new ne("ABORTED");this.emit("error",i);return Promise.reject(i)}if(this._state.finalize){var d=new ne("FINALIZING");this.emit("error",d);return Promise.reject(d)}this._state.finalize=true;if(this._pending===0&&this._queue.idle()&&this._statQueue.idle()){this._finalize()}var p=this;return new Promise((function(i,d){var v;p._module.on("end",(function(){if(!v){i()}}));p._module.on("error",(function(i){v=true;d(i)}))}))};Archiver.prototype.setFormat=function(i){if(this._format){this.emit("error",new ne("FORMATSET"));return this}this._format=i;return this};Archiver.prototype.setModule=function(i){if(this._state.aborted){this.emit("error",new ne("ABORTED"));return this}if(this._state.module){this.emit("error",new ne("MODULESET"));return this}this._module=i;this._modulePipe();return this};Archiver.prototype.symlink=function(i,d,p){if(this._state.finalize||this._state.aborted){this.emit("error",new ne("QUEUECLOSED"));return this}if(typeof i!=="string"||i.length===0){this.emit("error",new ne("SYMLINKFILEPATHREQUIRED"));return this}if(typeof d!=="string"||d.length===0){this.emit("error",new ne("SYMLINKTARGETREQUIRED",{filepath:i}));return this}if(!this._moduleSupports("symlink")){this.emit("error",new ne("SYMLINKNOTSUPPORTED",{filepath:i}));return this}var v={};v.type="symlink";v.name=i.replace(/\\/g,"/");v.linkname=d.replace(/\\/g,"/");v.sourceType="buffer";if(typeof p==="number"){v.mode=p}this._entriesCount++;this._queue.push({data:v,source:Buffer.concat([])});return this};Archiver.prototype.pointer=function(){return this._pointer};Archiver.prototype.use=function(i){this._streams.push(i);return this};i.exports=Archiver},13110:(i,d,p)=>{ +var v=p(79896);var V=p(51364);var K=p(97329);var ee=p(16928);var te=p(53296);var re=p(39023).inherits;var ne=p(13110);var se=p(29963).Transform;var ie=process.platform==="win32";var Archiver=function(i,d){if(!(this instanceof Archiver)){return new Archiver(i,d)}if(typeof i!=="string"){d=i;i="zip"}d=this.options=te.defaults(d,{highWaterMark:1024*1024,statConcurrency:4});se.call(this,d);this._format=false;this._module=false;this._pending=0;this._pointer=0;this._entriesCount=0;this._entriesProcessedCount=0;this._fsEntriesTotalBytes=0;this._fsEntriesProcessedBytes=0;this._queue=K.queue(this._onQueueTask.bind(this),1);this._queue.drain(this._onQueueDrain.bind(this));this._statQueue=K.queue(this._onStatQueueTask.bind(this),d.statConcurrency);this._statQueue.drain(this._onQueueDrain.bind(this));this._state={aborted:false,finalize:false,finalizing:false,finalized:false,modulePiped:false};this._streams=[]};re(Archiver,se);Archiver.prototype._abort=function(){this._state.aborted=true;this._queue.kill();this._statQueue.kill();if(this._queue.idle()){this._shutdown()}};Archiver.prototype._append=function(i,d){d=d||{};var p={source:null,filepath:i};if(!d.name){d.name=i}d.sourcePath=i;p.data=d;this._entriesCount++;if(d.stats&&d.stats instanceof v.Stats){p=this._updateQueueTaskWithStats(p,d.stats);if(p){if(d.stats.size){this._fsEntriesTotalBytes+=d.stats.size}this._queue.push(p)}}else{this._statQueue.push(p)}};Archiver.prototype._finalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted){return}this._state.finalizing=true;this._moduleFinalize();this._state.finalizing=false;this._state.finalized=true};Archiver.prototype._maybeFinalize=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted){return false}if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle()){this._finalize();return true}return false};Archiver.prototype._moduleAppend=function(i,d,p){if(this._state.aborted){p();return}this._module.append(i,d,function(i){this._task=null;if(this._state.aborted){this._shutdown();return}if(i){this.emit("error",i);setImmediate(p);return}this.emit("entry",d);this._entriesProcessedCount++;if(d.stats&&d.stats.size){this._fsEntriesProcessedBytes+=d.stats.size}this.emit("progress",{entries:{total:this._entriesCount,processed:this._entriesProcessedCount},fs:{totalBytes:this._fsEntriesTotalBytes,processedBytes:this._fsEntriesProcessedBytes}});setImmediate(p)}.bind(this))};Archiver.prototype._moduleFinalize=function(){if(typeof this._module.finalize==="function"){this._module.finalize()}else if(typeof this._module.end==="function"){this._module.end()}else{this.emit("error",new ne("NOENDMETHOD"))}};Archiver.prototype._modulePipe=function(){this._module.on("error",this._onModuleError.bind(this));this._module.pipe(this);this._state.modulePiped=true};Archiver.prototype._moduleSupports=function(i){if(!this._module.supports||!this._module.supports[i]){return false}return this._module.supports[i]};Archiver.prototype._moduleUnpipe=function(){this._module.unpipe(this);this._state.modulePiped=false};Archiver.prototype._normalizeEntryData=function(i,d){i=te.defaults(i,{type:"file",name:null,date:null,mode:null,prefix:null,sourcePath:null,stats:false});if(d&&i.stats===false){i.stats=d}var p=i.type==="directory";if(i.name){if(typeof i.prefix==="string"&&""!==i.prefix){i.name=i.prefix+"/"+i.name;i.prefix=null}i.name=te.sanitizePath(i.name);if(i.type!=="symlink"&&i.name.slice(-1)==="/"){p=true;i.type="directory"}else if(p){i.name+="/"}}if(typeof i.mode==="number"){if(ie){i.mode&=511}else{i.mode&=4095}}else if(i.stats&&i.mode===null){if(ie){i.mode=i.stats.mode&511}else{i.mode=i.stats.mode&4095}if(ie&&p){i.mode=493}}else if(i.mode===null){i.mode=p?493:420}if(i.stats&&i.date===null){i.date=i.stats.mtime}else{i.date=te.dateify(i.date)}return i};Archiver.prototype._onModuleError=function(i){this.emit("error",i)};Archiver.prototype._onQueueDrain=function(){if(this._state.finalizing||this._state.finalized||this._state.aborted){return}if(this._state.finalize&&this._pending===0&&this._queue.idle()&&this._statQueue.idle()){this._finalize()}};Archiver.prototype._onQueueTask=function(i,d){var fullCallback=()=>{if(i.data.callback){i.data.callback()}d()};if(this._state.finalizing||this._state.finalized||this._state.aborted){fullCallback();return}this._task=i;this._moduleAppend(i.source,i.data,fullCallback)};Archiver.prototype._onStatQueueTask=function(i,d){if(this._state.finalizing||this._state.finalized||this._state.aborted){d();return}v.lstat(i.filepath,function(p,v){if(this._state.aborted){setImmediate(d);return}if(p){this._entriesCount--;this.emit("warning",p);setImmediate(d);return}i=this._updateQueueTaskWithStats(i,v);if(i){if(v.size){this._fsEntriesTotalBytes+=v.size}this._queue.push(i)}setImmediate(d)}.bind(this))};Archiver.prototype._shutdown=function(){this._moduleUnpipe();this.end()};Archiver.prototype._transform=function(i,d,p){if(i){this._pointer+=i.length}p(null,i)};Archiver.prototype._updateQueueTaskWithStats=function(i,d){if(d.isFile()){i.data.type="file";i.data.sourceType="stream";i.source=te.lazyReadStream(i.filepath)}else if(d.isDirectory()&&this._moduleSupports("directory")){i.data.name=te.trailingSlashIt(i.data.name);i.data.type="directory";i.data.sourcePath=te.trailingSlashIt(i.filepath);i.data.sourceType="buffer";i.source=Buffer.concat([])}else if(d.isSymbolicLink()&&this._moduleSupports("symlink")){var p=v.readlinkSync(i.filepath);var V=ee.dirname(i.filepath);i.data.type="symlink";i.data.linkname=ee.relative(V,ee.resolve(V,p));i.data.sourceType="buffer";i.source=Buffer.concat([])}else{if(d.isDirectory()){this.emit("warning",new ne("DIRECTORYNOTSUPPORTED",i.data))}else if(d.isSymbolicLink()){this.emit("warning",new ne("SYMLINKNOTSUPPORTED",i.data))}else{this.emit("warning",new ne("ENTRYNOTSUPPORTED",i.data))}return null}i.data=this._normalizeEntryData(i.data,d);return i};Archiver.prototype.abort=function(){if(this._state.aborted||this._state.finalized){return this}this._abort();return this};Archiver.prototype.append=function(i,d){if(this._state.finalize||this._state.aborted){this.emit("error",new ne("QUEUECLOSED"));return this}d=this._normalizeEntryData(d);if(typeof d.name!=="string"||d.name.length===0){this.emit("error",new ne("ENTRYNAMEREQUIRED"));return this}if(d.type==="directory"&&!this._moduleSupports("directory")){this.emit("error",new ne("DIRECTORYNOTSUPPORTED",{name:d.name}));return this}i=te.normalizeInputSource(i);if(Buffer.isBuffer(i)){d.sourceType="buffer"}else if(te.isStream(i)){d.sourceType="stream"}else{this.emit("error",new ne("INPUTSTEAMBUFFERREQUIRED",{name:d.name}));return this}this._entriesCount++;this._queue.push({data:d,source:i});return this};Archiver.prototype.directory=function(i,d,p){if(this._state.finalize||this._state.aborted){this.emit("error",new ne("QUEUECLOSED"));return this}if(typeof i!=="string"||i.length===0){this.emit("error",new ne("DIRECTORYDIRPATHREQUIRED"));return this}this._pending++;if(d===false){d=""}else if(typeof d!=="string"){d=i}var v=false;if(typeof p==="function"){v=p;p={}}else if(typeof p!=="object"){p={}}var K={stat:true,dot:true};function onGlobEnd(){this._pending--;this._maybeFinalize()}function onGlobError(i){this.emit("error",i)}function onGlobMatch(V){ee.pause();var K=false;var te=Object.assign({},p);te.name=V.relative;te.prefix=d;te.stats=V.stat;te.callback=ee.resume.bind(ee);try{if(v){te=v(te);if(te===false){K=true}else if(typeof te!=="object"){throw new ne("DIRECTORYFUNCTIONINVALIDDATA",{dirpath:i})}}}catch(i){this.emit("error",i);return}if(K){ee.resume();return}this._append(V.absolute,te)}var ee=V(i,K);ee.on("error",onGlobError.bind(this));ee.on("match",onGlobMatch.bind(this));ee.on("end",onGlobEnd.bind(this));return this};Archiver.prototype.file=function(i,d){if(this._state.finalize||this._state.aborted){this.emit("error",new ne("QUEUECLOSED"));return this}if(typeof i!=="string"||i.length===0){this.emit("error",new ne("FILEFILEPATHREQUIRED"));return this}this._append(i,d);return this};Archiver.prototype.glob=function(i,d,p){this._pending++;d=te.defaults(d,{stat:true,pattern:i});function onGlobEnd(){this._pending--;this._maybeFinalize()}function onGlobError(i){this.emit("error",i)}function onGlobMatch(i){v.pause();var d=Object.assign({},p);d.callback=v.resume.bind(v);d.stats=i.stat;d.name=i.relative;this._append(i.absolute,d)}var v=V(d.cwd||".",d);v.on("error",onGlobError.bind(this));v.on("match",onGlobMatch.bind(this));v.on("end",onGlobEnd.bind(this));return this};Archiver.prototype.finalize=function(){if(this._state.aborted){var i=new ne("ABORTED");this.emit("error",i);return Promise.reject(i)}if(this._state.finalize){var d=new ne("FINALIZING");this.emit("error",d);return Promise.reject(d)}this._state.finalize=true;if(this._pending===0&&this._queue.idle()&&this._statQueue.idle()){this._finalize()}var p=this;return new Promise((function(i,d){var v;p._module.on("end",(function(){if(!v){i()}}));p._module.on("error",(function(i){v=true;d(i)}))}))};Archiver.prototype.setFormat=function(i){if(this._format){this.emit("error",new ne("FORMATSET"));return this}this._format=i;return this};Archiver.prototype.setModule=function(i){if(this._state.aborted){this.emit("error",new ne("ABORTED"));return this}if(this._state.module){this.emit("error",new ne("MODULESET"));return this}this._module=i;this._modulePipe();return this};Archiver.prototype.symlink=function(i,d,p){if(this._state.finalize||this._state.aborted){this.emit("error",new ne("QUEUECLOSED"));return this}if(typeof i!=="string"||i.length===0){this.emit("error",new ne("SYMLINKFILEPATHREQUIRED"));return this}if(typeof d!=="string"||d.length===0){this.emit("error",new ne("SYMLINKTARGETREQUIRED",{filepath:i}));return this}if(!this._moduleSupports("symlink")){this.emit("error",new ne("SYMLINKNOTSUPPORTED",{filepath:i}));return this}var v={};v.type="symlink";v.name=i.replace(/\\/g,"/");v.linkname=d.replace(/\\/g,"/");v.sourceType="buffer";if(typeof p==="number"){v.mode=p}this._entriesCount++;this._queue.push({data:v,source:Buffer.concat([])});return this};Archiver.prototype.pointer=function(){return this._pointer};Archiver.prototype.use=function(i){this._streams.push(i);return this};i.exports=Archiver},13110:(i,d,p)=>{ /** * Archiver Core * @@ -48,29 +50,29 @@ var v=p(43106);var V=p(56118);var K=p(53296);var Tar=function(i){if(!(this insta * @license [MIT]{@link https://github.com/archiverjs/node-archiver/blob/master/LICENSE} * @copyright (c) 2012-2014 Chris Talkington, contributors. */ -var v=p(41622);var V=p(53296);var Zip=function(i){if(!(this instanceof Zip)){return new Zip(i)}i=this.options=V.defaults(i,{comment:"",forceUTC:false,namePrependSlash:false,store:false});this.supports={directory:true,symlink:true};this.engine=new v(i)};Zip.prototype.append=function(i,d,p){this.engine.entry(i,d,p)};Zip.prototype.finalize=function(){this.engine.finalize()};Zip.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};Zip.prototype.pipe=function(){return this.engine.pipe.apply(this.engine,arguments)};Zip.prototype.unpipe=function(){return this.engine.unpipe.apply(this.engine,arguments)};i.exports=Zip},97329:function(i,d){(function(i,p){true?p(d):0})(this,(function(i){"use strict";function apply(i,...d){return(...p)=>i(...d,...p)}function initialParams(i){return function(...d){var p=d.pop();return i.call(this,d,p)}}var d=typeof queueMicrotask==="function"&&queueMicrotask;var p=typeof setImmediate==="function"&&setImmediate;var v=typeof process==="object"&&typeof process.nextTick==="function";function fallback(i){setTimeout(i,0)}function wrap(i){return(d,...p)=>i((()=>d(...p)))}var V;if(d){V=queueMicrotask}else if(p){V=setImmediate}else if(v){V=process.nextTick}else{V=fallback}var K=wrap(V);function asyncify(i){if(isAsync(i)){return function(...d){const p=d.pop();const v=i.apply(this,d);return handlePromise(v,p)}}return initialParams((function(d,p){var v;try{v=i.apply(this,d)}catch(i){return p(i)}if(v&&typeof v.then==="function"){return handlePromise(v,p)}else{p(null,v)}}))}function handlePromise(i,d){return i.then((i=>{invokeCallback(d,null,i)}),(i=>{invokeCallback(d,i&&(i instanceof Error||i.message)?i:new Error(i))}))}function invokeCallback(i,d,p){try{i(d,p)}catch(i){K((i=>{throw i}),i)}}function isAsync(i){return i[Symbol.toStringTag]==="AsyncFunction"}function isAsyncGenerator(i){return i[Symbol.toStringTag]==="AsyncGenerator"}function isAsyncIterable(i){return typeof i[Symbol.asyncIterator]==="function"}function wrapAsync(i){if(typeof i!=="function")throw new Error("expected a function");return isAsync(i)?asyncify(i):i}function awaitify(i,d){if(!d)d=i.length;if(!d)throw new Error("arity is undefined");function awaitable(...p){if(typeof p[d-1]==="function"){return i.apply(this,p)}return new Promise(((v,V)=>{p[d-1]=(i,...d)=>{if(i)return V(i);v(d.length>1?d:d[0])};i.apply(this,p)}))}return awaitable}function applyEach$1(i){return function applyEach(d,...p){const v=awaitify((function(v){var V=this;return i(d,((i,d)=>{wrapAsync(i).apply(V,p.concat(d))}),v)}));return v}}function _asyncMap(i,d,p,v){d=d||[];var V=[];var K=0;var ee=wrapAsync(p);return i(d,((i,d,p)=>{var v=K++;ee(i,((i,d)=>{V[v]=d;p(i)}))}),(i=>{v(i,V)}))}function isArrayLike(i){return i&&typeof i.length==="number"&&i.length>=0&&i.length%1===0}const ee={};var te=ee;function once(i){function wrapper(...d){if(i===null)return;var p=i;i=null;p.apply(this,d)}Object.assign(wrapper,i);return wrapper}function getIterator(i){return i[Symbol.iterator]&&i[Symbol.iterator]()}function createArrayIterator(i){var d=-1;var p=i.length;return function next(){return++d=d||ee||V)return;ee=true;i.next().then((({value:i,done:d})=>{if(K||V)return;ee=false;if(d){V=true;if(re<=0){v(null)}return}re++;p(i,ne,iterateeCallback);ne++;replenish()})).catch(handleError)}function iterateeCallback(i,d){re-=1;if(K)return;if(i)return handleError(i);if(i===false){V=true;K=true;return}if(d===te||V&&re<=0){V=true;return v(null)}replenish()}function handleError(i){if(K)return;ee=false;V=true;v(i)}replenish()}var eachOfLimit$2=i=>(d,p,v)=>{v=once(v);if(i<=0){throw new RangeError("concurrency limit cannot be less than 1")}if(!d){return v(null)}if(isAsyncGenerator(d)){return asyncEachOfLimit(d,i,p,v)}if(isAsyncIterable(d)){return asyncEachOfLimit(d[Symbol.asyncIterator](),i,p,v)}var V=createIterator(d);var K=false;var ee=false;var re=0;var ne=false;function iterateeCallback(i,d){if(ee)return;re-=1;if(i){K=true;v(i)}else if(i===false){K=true;ee=true}else if(d===te||K&&re<=0){K=true;return v(null)}else if(!ne){replenish()}}function replenish(){ne=true;while(re1?v:v[0])}callback[le]=new Promise(((p,v)=>{i=p,d=v}));return callback}function auto(i,d,p){if(typeof d!=="number"){p=d;d=null}p=once(p||promiseCallback());var v=Object.keys(i).length;if(!v){return p(null)}if(!d){d=v}var V={};var K=0;var ee=false;var te=false;var re=Object.create(null);var ne=[];var ie=[];var se={};Object.keys(i).forEach((d=>{var p=i[d];if(!Array.isArray(p)){enqueueTask(d,[p]);ie.push(d);return}var v=p.slice(0,p.length-1);var V=v.length;if(V===0){enqueueTask(d,p);ie.push(d);return}se[d]=V;v.forEach((K=>{if(!i[K]){throw new Error("async.auto task `"+d+"` has a non-existent dependency `"+K+"` in "+v.join(", "))}addListener(K,(()=>{V--;if(V===0){enqueueTask(d,p)}}))}))}));checkForDeadlocks();processQueue();function enqueueTask(i,d){ne.push((()=>runTask(i,d)))}function processQueue(){if(ee)return;if(ne.length===0&&K===0){return p(null,V)}while(ne.length&&Ki()));processQueue()}function runTask(i,d){if(te)return;var v=onlyOnce(((d,...v)=>{K--;if(d===false){ee=true;return}if(v.length<2){[v]=v}if(d){var ne={};Object.keys(V).forEach((i=>{ne[i]=V[i]}));ne[i]=v;te=true;re=Object.create(null);if(ee)return;p(d,ne)}else{V[i]=v;taskComplete(i)}}));K++;var ne=wrapAsync(d[d.length-1]);if(d.length>1){ne(V,v)}else{ne(v)}}function checkForDeadlocks(){var i;var d=0;while(ie.length){i=ie.pop();d++;getDependents(i).forEach((i=>{if(--se[i]===0){ie.push(i)}}))}if(d!==v){throw new Error("async.auto cannot execute tasks due to a recursive dependency")}}function getDependents(d){var p=[];Object.keys(i).forEach((v=>{const V=i[v];if(Array.isArray(V)&&V.indexOf(d)>=0){p.push(v)}}));return p}return p[le]}var ue=/^(?:async\s+)?(?:function)?\s*\w*\s*\(\s*([^)]+)\s*\)(?:\s*{)/;var Ae=/^(?:async\s+)?\(?\s*([^)=]+)\s*\)?(?:\s*=>)/;var de=/,/;var pe=/(=.+)?(\s*)$/;function stripComments(i){let d="";let p=0;let v=i.indexOf("*/");while(pi.replace(pe,"").trim()))}function autoInject(i,d){var p={};Object.keys(i).forEach((d=>{var v=i[d];var V;var K=isAsync(v);var ee=!K&&v.length===1||K&&v.length===0;if(Array.isArray(v)){V=[...v];v=V.pop();p[d]=V.concat(V.length>0?newTask:v)}else if(ee){p[d]=v}else{V=parseParams(v);if(v.length===0&&!K&&V.length===0){throw new Error("autoInject task functions require explicit parameters.")}if(!K)V.pop();p[d]=V.concat(newTask)}function newTask(i,d){var p=V.map((d=>i[d]));p.push(d);wrapAsync(v)(...p)}}));return auto(p,d)}class DLL{constructor(){this.head=this.tail=null;this.length=0}removeLink(i){if(i.prev)i.prev.next=i.next;else this.head=i.next;if(i.next)i.next.prev=i.prev;else this.tail=i.prev;i.prev=i.next=null;this.length-=1;return i}empty(){while(this.head)this.shift();return this}insertAfter(i,d){d.prev=i;d.next=i.next;if(i.next)i.next.prev=d;else this.tail=d;i.next=d;this.length+=1}insertBefore(i,d){d.prev=i.prev;d.next=i;if(i.prev)i.prev.next=d;else this.head=d;i.prev=d;this.length+=1}unshift(i){if(this.head)this.insertBefore(this.head,i);else setInitial(this,i)}push(i){if(this.tail)this.insertAfter(this.tail,i);else setInitial(this,i)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){var i=this.head;while(i){yield i.data;i=i.next}}remove(i){var d=this.head;while(d){var{next:p}=d;if(i(d)){this.removeLink(d)}d=p}return this}}function setInitial(i,d){i.length=1;i.head=i.tail=d}function queue$1(i,d,p){if(d==null){d=1}else if(d===0){throw new RangeError("Concurrency must not be zero")}var v=wrapAsync(i);var V=0;var ee=[];const te={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function on(i,d){te[i].push(d)}function once(i,d){const handleAndRemove=(...p)=>{off(i,handleAndRemove);d(...p)};te[i].push(handleAndRemove)}function off(i,d){if(!i)return Object.keys(te).forEach((i=>te[i]=[]));if(!d)return te[i]=[];te[i]=te[i].filter((i=>i!==d))}function trigger(i,...d){te[i].forEach((i=>i(...d)))}var re=false;function _insert(i,d,p,v){if(v!=null&&typeof v!=="function"){throw new Error("task callback must be a function")}ie.started=true;var V,ee;function promiseCallback(i,...d){if(i)return p?ee(i):V();if(d.length<=1)return V(d[0]);V(d)}var te=ie._createTaskItem(i,p?promiseCallback:v||promiseCallback);if(d){ie._tasks.unshift(te)}else{ie._tasks.push(te)}if(!re){re=true;K((()=>{re=false;ie.process()}))}if(p||!v){return new Promise(((i,d)=>{V=i;ee=d}))}}function _createCB(i){return function(d,...p){V-=1;for(var v=0,K=i.length;v0){ee.splice(re,1)}te.callback(d,...p);if(d!=null){trigger("error",d,te.data)}}if(V<=ie.concurrency-ie.buffer){trigger("unsaturated")}if(ie.idle()){trigger("drain")}ie.process()}}function _maybeDrain(i){if(i.length===0&&ie.idle()){K((()=>trigger("drain")));return true}return false}const eventMethod=i=>d=>{if(!d){return new Promise(((d,p)=>{once(i,((i,v)=>{if(i)return p(i);d(v)}))}))}off(i);on(i,d)};var ne=false;var ie={_tasks:new DLL,_createTaskItem(i,d){return{data:i,callback:d}},*[Symbol.iterator](){yield*ie._tasks[Symbol.iterator]()},concurrency:d,payload:p,buffer:d/4,started:false,paused:false,push(i,d){if(Array.isArray(i)){if(_maybeDrain(i))return;return i.map((i=>_insert(i,false,false,d)))}return _insert(i,false,false,d)},pushAsync(i,d){if(Array.isArray(i)){if(_maybeDrain(i))return;return i.map((i=>_insert(i,false,true,d)))}return _insert(i,false,true,d)},kill(){off();ie._tasks.empty()},unshift(i,d){if(Array.isArray(i)){if(_maybeDrain(i))return;return i.map((i=>_insert(i,true,false,d)))}return _insert(i,true,false,d)},unshiftAsync(i,d){if(Array.isArray(i)){if(_maybeDrain(i))return;return i.map((i=>_insert(i,true,true,d)))}return _insert(i,true,true,d)},remove(i){ie._tasks.remove(i)},process(){if(ne){return}ne=true;while(!ie.paused&&V{V(d,i,((i,p)=>{d=p;v(i)}))}),(i=>v(i,d)))}var fe=awaitify(reduce,4);function seq(...i){var d=i.map(wrapAsync);return function(...i){var p=this;var v=i[i.length-1];if(typeof v=="function"){i.pop()}else{v=promiseCallback()}fe(d,i,((i,d,v)=>{d.apply(p,i.concat(((i,...d)=>{v(i,d)})))}),((i,d)=>v(i,...d)));return v[le]}}function compose(...i){return seq(...i.reverse())}function mapLimit(i,d,p,v){return _asyncMap(eachOfLimit$2(d),i,p,v)}var he=awaitify(mapLimit,4);function concatLimit(i,d,p,v){var V=wrapAsync(p);return he(i,d,((i,d)=>{V(i,((i,...p)=>{if(i)return d(i);return d(i,p)}))}),((i,d)=>{var p=[];for(var V=0;V{var ee=false;var re;const ne=wrapAsync(V);p(v,((p,v,V)=>{ne(p,((v,K)=>{if(v||v===false)return V(v);if(i(K)&&!re){ee=true;re=d(true,p);return V(null,te)}V()}))}),(i=>{if(i)return K(i);K(null,ee?re:d(false))}))}}function detect(i,d,p){return _createTester((i=>i),((i,d)=>d))(ne,i,d,p)}var ye=awaitify(detect,3);function detectLimit(i,d,p,v){return _createTester((i=>i),((i,d)=>d))(eachOfLimit$2(d),i,p,v)}var Ce=awaitify(detectLimit,4);function detectSeries(i,d,p){return _createTester((i=>i),((i,d)=>d))(eachOfLimit$2(1),i,d,p)}var be=awaitify(detectSeries,3);function consoleFunc(i){return(d,...p)=>wrapAsync(d)(...p,((d,...p)=>{if(typeof console==="object"){if(d){if(console.error){console.error(d)}}else if(console[i]){p.forEach((d=>console[i](d)))}}}))}var Ie=consoleFunc("dir");function doWhilst(i,d,p){p=onlyOnce(p);var v=wrapAsync(i);var V=wrapAsync(d);var K;function next(i,...d){if(i)return p(i);if(i===false)return;K=d;V(...d,check)}function check(i,d){if(i)return p(i);if(i===false)return;if(!d)return p(null,...K);v(next)}return check(null,true)}var Be=awaitify(doWhilst,3);function doUntil(i,d,p){const v=wrapAsync(d);return Be(i,((...i)=>{const d=i.pop();v(...i,((i,p)=>d(i,!p)))}),p)}function _withoutIndex(i){return(d,p,v)=>i(d,v)}function eachLimit$2(i,d,p){return ne(i,_withoutIndex(wrapAsync(d)),p)}var we=awaitify(eachLimit$2,3);function eachLimit(i,d,p,v){return eachOfLimit$2(d)(i,_withoutIndex(wrapAsync(p)),v)}var Se=awaitify(eachLimit,4);function eachSeries(i,d,p){return Se(i,1,d,p)}var Qe=awaitify(eachSeries,3);function ensureAsync(i){if(isAsync(i))return i;return function(...d){var p=d.pop();var v=true;d.push(((...i)=>{if(v){K((()=>p(...i)))}else{p(...i)}}));i.apply(this,d);v=false}}function every(i,d,p){return _createTester((i=>!i),(i=>!i))(ne,i,d,p)}var ve=awaitify(every,3);function everyLimit(i,d,p,v){return _createTester((i=>!i),(i=>!i))(eachOfLimit$2(d),i,p,v)}var Re=awaitify(everyLimit,4);function everySeries(i,d,p){return _createTester((i=>!i),(i=>!i))(oe,i,d,p)}var Te=awaitify(everySeries,3);function filterArray(i,d,p,v){var V=new Array(d.length);i(d,((i,d,v)=>{p(i,((i,p)=>{V[d]=!!p;v(i)}))}),(i=>{if(i)return v(i);var p=[];for(var K=0;K{p(i,((p,K)=>{if(p)return v(p);if(K){V.push({index:d,value:i})}v(p)}))}),(i=>{if(i)return v(i);v(null,V.sort(((i,d)=>i.index-d.index)).map((i=>i.value)))}))}function _filter(i,d,p,v){var V=isArrayLike(d)?filterArray:filterGeneric;return V(i,d,wrapAsync(p),v)}function filter(i,d,p){return _filter(ne,i,d,p)}var Ne=awaitify(filter,3);function filterLimit(i,d,p,v){return _filter(eachOfLimit$2(d),i,p,v)}var ke=awaitify(filterLimit,4);function filterSeries(i,d,p){return _filter(oe,i,d,p)}var De=awaitify(filterSeries,3);function forever(i,d){var p=onlyOnce(d);var v=wrapAsync(ensureAsync(i));function next(i){if(i)return p(i);if(i===false)return;v(next)}return next()}var xe=awaitify(forever,2);function groupByLimit(i,d,p,v){var V=wrapAsync(p);return he(i,d,((i,d)=>{V(i,((p,v)=>{if(p)return d(p);return d(p,{key:v,val:i})}))}),((i,d)=>{var p={};var{hasOwnProperty:V}=Object.prototype;for(var K=0;K{K(i,d,((i,v)=>{if(i)return p(i);V[d]=v;p(i)}))}),(i=>v(i,V)))}var Oe=awaitify(mapValuesLimit,4);function mapValues(i,d,p){return Oe(i,Infinity,d,p)}function mapValuesSeries(i,d,p){return Oe(i,1,d,p)}function memoize(i,d=i=>i){var p=Object.create(null);var v=Object.create(null);var V=wrapAsync(i);var ee=initialParams(((i,ee)=>{var te=d(...i);if(te in p){K((()=>ee(null,...p[te])))}else if(te in v){v[te].push(ee)}else{v[te]=[ee];V(...i,((i,...d)=>{if(!i){p[te]=d}var V=v[te];delete v[te];for(var K=0,ee=V.length;K{var v=isArrayLike(d)?[]:{};i(d,((i,d,p)=>{wrapAsync(i)(((i,...V)=>{if(V.length<2){[V]=V}v[d]=V;p(i)}))}),(i=>p(i,v)))}),3);function parallel(i,d){return Me(ne,i,d)}function parallelLimit(i,d,p){return Me(eachOfLimit$2(d),i,p)}function queue(i,d){var p=wrapAsync(i);return queue$1(((i,d)=>{p(i[0],d)}),d,1)}class Heap{constructor(){this.heap=[];this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){this.heap=[];return this}percUp(i){let d;while(i>0&&smaller(this.heap[i],this.heap[d=parent(i)])){let p=this.heap[i];this.heap[i]=this.heap[d];this.heap[d]=p;i=d}}percDown(i){let d;while((d=leftChi(i))=0;i--){this.percDown(i)}return this}}function leftChi(i){return(i<<1)+1}function parent(i){return(i+1>>1)-1}function smaller(i,d){if(i.priority!==d.priority){return i.priority({data:i,priority:d,callback:p});function createDataItems(i,d){if(!Array.isArray(i)){return{data:i,priority:d}}return i.map((i=>({data:i,priority:d})))}p.push=function(i,d=0,p){return v(createDataItems(i,d),p)};p.pushAsync=function(i,d=0,p){return V(createDataItems(i,d),p)};delete p.unshift;delete p.unshiftAsync;return p}function race(i,d){d=once(d);if(!Array.isArray(i))return d(new TypeError("First argument to race must be an array of functions"));if(!i.length)return d();for(var p=0,v=i.length;p{let v={};if(i){v.error=i}if(d.length>0){var V=d;if(d.length<=1){[V]=d}v.value=V}p(null,v)}));return d.apply(this,i)}))}function reflectAll(i){var d;if(Array.isArray(i)){d=i.map(reflect)}else{d={};Object.keys(i).forEach((p=>{d[p]=reflect.call(this,i[p])}))}return d}function reject$2(i,d,p,v){const V=wrapAsync(p);return _filter(i,d,((i,d)=>{V(i,((i,p)=>{d(i,!p)}))}),v)}function reject(i,d,p){return reject$2(ne,i,d,p)}var He=awaitify(reject,3);function rejectLimit(i,d,p,v){return reject$2(eachOfLimit$2(d),i,p,v)}var Ge=awaitify(rejectLimit,4);function rejectSeries(i,d,p){return reject$2(oe,i,d,p)}var qe=awaitify(rejectSeries,3);function constant(i){return function(){return i}}const je=5;const Ve=0;function retry(i,d,p){var v={times:je,intervalFunc:constant(Ve)};if(arguments.length<3&&typeof i==="function"){p=d||promiseCallback();d=i}else{parseTimes(v,i);p=p||promiseCallback()}if(typeof d!=="function"){throw new Error("Invalid arguments for async.retry")}var V=wrapAsync(d);var K=1;function retryAttempt(){V(((i,...d)=>{if(i===false)return;if(i&&K++{if(d.lengthi))(ne,i,d,p)}var ze=awaitify(some,3);function someLimit(i,d,p,v){return _createTester(Boolean,(i=>i))(eachOfLimit$2(d),i,p,v)}var Ye=awaitify(someLimit,4);function someSeries(i,d,p){return _createTester(Boolean,(i=>i))(oe,i,d,p)}var We=awaitify(someSeries,3);function sortBy(i,d,p){var v=wrapAsync(d);return ie(i,((i,d)=>{v(i,((p,v)=>{if(p)return d(p);d(p,{value:i,criteria:v})}))}),((i,d)=>{if(i)return p(i);p(null,d.sort(comparator).map((i=>i.value)))}));function comparator(i,d){var p=i.criteria,v=d.criteria;return pv?1:0}}var Je=awaitify(sortBy,3);function timeout(i,d,p){var v=wrapAsync(i);return initialParams(((V,K)=>{var ee=false;var te;function timeoutCallback(){var d=i.name||"anonymous";var v=new Error('Callback function "'+d+'" timed out.');v.code="ETIMEDOUT";if(p){v.info=p}ee=true;K(v)}V.push(((...i)=>{if(!ee){K(...i);clearTimeout(te)}}));te=setTimeout(timeoutCallback,d);v(...V)}))}function range(i){var d=Array(i);while(i--){d[i]=i}return d}function timesLimit(i,d,p,v){var V=wrapAsync(p);return he(range(i),d,V,v)}function times(i,d,p){return timesLimit(i,Infinity,d,p)}function timesSeries(i,d,p){return timesLimit(i,1,d,p)}function transform(i,d,p,v){if(arguments.length<=3&&typeof d==="function"){v=p;p=d;d=Array.isArray(i)?[]:{}}v=once(v||promiseCallback());var V=wrapAsync(p);ne(i,((i,p,v)=>{V(d,i,p,v)}),(i=>v(i,d)));return v[le]}function tryEach(i,d){var p=null;var v;return Qe(i,((i,d)=>{wrapAsync(i)(((i,...V)=>{if(i===false)return d(i);if(V.length<2){[v]=V}else{v=V}p=i;d(i?null:{})}))}),(()=>d(p,v)))}var $e=awaitify(tryEach);function unmemoize(i){return(...d)=>(i.unmemoized||i)(...d)}function whilst(i,d,p){p=onlyOnce(p);var v=wrapAsync(d);var V=wrapAsync(i);var K=[];function next(i,...d){if(i)return p(i);K=d;if(i===false)return;V(check)}function check(i,d){if(i)return p(i);if(i===false)return;if(!d)return p(null,...K);v(next)}return V(check)}var Ke=awaitify(whilst,3);function until(i,d,p){const v=wrapAsync(i);return Ke((i=>v(((d,p)=>i(d,!p)))),d,p)}function waterfall(i,d){d=once(d);if(!Array.isArray(i))return d(new Error("First argument to waterfall must be an array of functions"));if(!i.length)return d();var p=0;function nextTask(d){var v=wrapAsync(i[p++]);v(...d,onlyOnce(next))}function next(v,...V){if(v===false)return;if(v||p===i.length){return d(v,...V)}nextTask(V)}nextTask([])}var Xe=awaitify(waterfall);var Ze={apply:apply,applyEach:se,applyEachSeries:ce,asyncify:asyncify,auto:auto,autoInject:autoInject,cargo:cargo$1,cargoQueue:cargo,compose:compose,concat:me,concatLimit:ge,concatSeries:Ee,constant:constant$1,detect:ye,detectLimit:Ce,detectSeries:be,dir:Ie,doUntil:doUntil,doWhilst:Be,each:we,eachLimit:Se,eachOf:ne,eachOfLimit:re,eachOfSeries:oe,eachSeries:Qe,ensureAsync:ensureAsync,every:ve,everyLimit:Re,everySeries:Te,filter:Ne,filterLimit:ke,filterSeries:De,forever:xe,groupBy:groupBy,groupByLimit:_e,groupBySeries:groupBySeries,log:Pe,map:ie,mapLimit:he,mapSeries:ae,mapValues:mapValues,mapValuesLimit:Oe,mapValuesSeries:mapValuesSeries,memoize:memoize,nextTick:Fe,parallel:parallel,parallelLimit:parallelLimit,priorityQueue:priorityQueue,queue:queue,race:Ue,reduce:fe,reduceRight:reduceRight,reflect:reflect,reflectAll:reflectAll,reject:He,rejectLimit:Ge,rejectSeries:qe,retry:retry,retryable:retryable,seq:seq,series:series,setImmediate:K,some:ze,someLimit:Ye,someSeries:We,sortBy:Je,timeout:timeout,times:times,timesLimit:timesLimit,timesSeries:timesSeries,transform:transform,tryEach:$e,unmemoize:unmemoize,until:until,waterfall:Xe,whilst:Ke,all:ve,allLimit:Re,allSeries:Te,any:ze,anyLimit:Ye,anySeries:We,find:ye,findLimit:Ce,findSeries:be,flatMap:me,flatMapLimit:ge,flatMapSeries:Ee,forEach:we,forEachSeries:Qe,forEachLimit:Se,forEachOf:ne,forEachOfSeries:oe,forEachOfLimit:re,inject:fe,foldl:fe,foldr:reduceRight,select:Ne,selectLimit:ke,selectSeries:De,wrapSync:asyncify,during:Ke,doDuring:Be};i.all=ve;i.allLimit=Re;i.allSeries=Te;i.any=ze;i.anyLimit=Ye;i.anySeries=We;i.apply=apply;i.applyEach=se;i.applyEachSeries=ce;i.asyncify=asyncify;i.auto=auto;i.autoInject=autoInject;i.cargo=cargo$1;i.cargoQueue=cargo;i.compose=compose;i.concat=me;i.concatLimit=ge;i.concatSeries=Ee;i.constant=constant$1;i.default=Ze;i.detect=ye;i.detectLimit=Ce;i.detectSeries=be;i.dir=Ie;i.doDuring=Be;i.doUntil=doUntil;i.doWhilst=Be;i.during=Ke;i.each=we;i.eachLimit=Se;i.eachOf=ne;i.eachOfLimit=re;i.eachOfSeries=oe;i.eachSeries=Qe;i.ensureAsync=ensureAsync;i.every=ve;i.everyLimit=Re;i.everySeries=Te;i.filter=Ne;i.filterLimit=ke;i.filterSeries=De;i.find=ye;i.findLimit=Ce;i.findSeries=be;i.flatMap=me;i.flatMapLimit=ge;i.flatMapSeries=Ee;i.foldl=fe;i.foldr=reduceRight;i.forEach=we;i.forEachLimit=Se;i.forEachOf=ne;i.forEachOfLimit=re;i.forEachOfSeries=oe;i.forEachSeries=Qe;i.forever=xe;i.groupBy=groupBy;i.groupByLimit=_e;i.groupBySeries=groupBySeries;i.inject=fe;i.log=Pe;i.map=ie;i.mapLimit=he;i.mapSeries=ae;i.mapValues=mapValues;i.mapValuesLimit=Oe;i.mapValuesSeries=mapValuesSeries;i.memoize=memoize;i.nextTick=Fe;i.parallel=parallel;i.parallelLimit=parallelLimit;i.priorityQueue=priorityQueue;i.queue=queue;i.race=Ue;i.reduce=fe;i.reduceRight=reduceRight;i.reflect=reflect;i.reflectAll=reflectAll;i.reject=He;i.rejectLimit=Ge;i.rejectSeries=qe;i.retry=retry;i.retryable=retryable;i.select=Ne;i.selectLimit=ke;i.selectSeries=De;i.seq=seq;i.series=series;i.setImmediate=K;i.some=ze;i.someLimit=Ye;i.someSeries=We;i.sortBy=Je;i.timeout=timeout;i.times=times;i.timesLimit=timesLimit;i.timesSeries=timesSeries;i.transform=transform;i.tryEach=$e;i.unmemoize=unmemoize;i.until=until;i.waterfall=Xe;i.whilst=Ke;i.wrapSync=asyncify;Object.defineProperty(i,"__esModule",{value:true})}))},73057:i=>{function isBuffer(i){return Buffer.isBuffer(i)||i instanceof Uint8Array}function isEncoding(i){return Buffer.isEncoding(i)}function alloc(i,d,p){return Buffer.alloc(i,d,p)}function allocUnsafe(i){return Buffer.allocUnsafe(i)}function allocUnsafeSlow(i){return Buffer.allocUnsafeSlow(i)}function byteLength(i,d){return Buffer.byteLength(i,d)}function compare(i,d){return Buffer.compare(i,d)}function concat(i,d){return Buffer.concat(i,d)}function copy(i,d,p,v,V){return toBuffer(i).copy(d,p,v,V)}function equals(i,d){return toBuffer(i).equals(d)}function fill(i,d,p,v,V){return toBuffer(i).fill(d,p,v,V)}function from(i,d,p){return Buffer.from(i,d,p)}function includes(i,d,p,v){return toBuffer(i).includes(d,p,v)}function indexOf(i,d,p,v){return toBuffer(i).indexOf(d,p,v)}function lastIndexOf(i,d,p,v){return toBuffer(i).lastIndexOf(d,p,v)}function swap16(i){return toBuffer(i).swap16()}function swap32(i){return toBuffer(i).swap32()}function swap64(i){return toBuffer(i).swap64()}function toBuffer(i){if(Buffer.isBuffer(i))return i;return Buffer.from(i.buffer,i.byteOffset,i.byteLength)}function toString(i,d,p,v){return toBuffer(i).toString(d,p,v)}function write(i,d,p,v,V){return toBuffer(i).write(d,p,v,V)}function writeDoubleLE(i,d,p){return toBuffer(i).writeDoubleLE(d,p)}function writeFloatLE(i,d,p){return toBuffer(i).writeFloatLE(d,p)}function writeUInt32LE(i,d,p){return toBuffer(i).writeUInt32LE(d,p)}function writeInt32LE(i,d,p){return toBuffer(i).writeInt32LE(d,p)}function readDoubleLE(i,d){return toBuffer(i).readDoubleLE(d)}function readFloatLE(i,d){return toBuffer(i).readFloatLE(d)}function readUInt32LE(i,d){return toBuffer(i).readUInt32LE(d)}function readInt32LE(i,d){return toBuffer(i).readInt32LE(d)}i.exports={isBuffer:isBuffer,isEncoding:isEncoding,alloc:alloc,allocUnsafe:allocUnsafe,allocUnsafeSlow:allocUnsafeSlow,byteLength:byteLength,compare:compare,concat:concat,copy:copy,equals:equals,fill:fill,from:from,includes:includes,indexOf:indexOf,lastIndexOf:lastIndexOf,swap16:swap16,swap32:swap32,swap64:swap64,toBuffer:toBuffer,toString:toString,write:write,writeDoubleLE:writeDoubleLE,writeFloatLE:writeFloatLE,writeUInt32LE:writeUInt32LE,writeInt32LE:writeInt32LE,readDoubleLE:readDoubleLE,readFloatLE:readFloatLE,readUInt32LE:readUInt32LE,readInt32LE:readInt32LE}},59380:i=>{i.exports=balanced;function balanced(i,d,p){if(i instanceof RegExp)i=maybeMatch(i,p);if(d instanceof RegExp)d=maybeMatch(d,p);var v=range(i,d,p);return v&&{start:v[0],end:v[1],pre:p.slice(0,v[0]),body:p.slice(v[0]+i.length,v[1]),post:p.slice(v[1]+d.length)}}function maybeMatch(i,d){var p=d.match(i);return p?p[0]:null}balanced.range=range;function range(i,d,p){var v,V,K,ee,te;var re=p.indexOf(i);var ne=p.indexOf(d,re+1);var ie=re;if(re>=0&&ne>0){if(i===d){return[re,ne]}v=[];K=p.length;while(ie>=0&&!te){if(ie==re){v.push(ie);re=p.indexOf(i,ie+1)}else if(v.length==1){te=[v.pop(),ne]}else{V=v.pop();if(V=0?re:ne}if(v.length){te=[K,ee]}}return te}},52732:(i,d,p)=>{var v=p(11063);var V=p(22027);var K=p(59934);var ee=Function.bind;var te=ee.bind(ee);function bindApi(i,d,p){var v=te(K,null).apply(null,p?[d,p]:[d]);i.api={remove:v};i.remove=v;["before","error","after","wrap"].forEach((function(v){var K=p?[d,v,p]:[d,v];i[v]=i.api[v]=te(V,null).apply(null,K)}))}function HookSingular(){var i="h";var d={registry:{}};var p=v.bind(null,d,i);bindApi(p,d,i);return p}function HookCollection(){var i={registry:{}};var d=v.bind(null,i);bindApi(d,i);return d}var re=false;function Hook(){if(!re){console.warn('[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4');re=true}return HookCollection()}Hook.Singular=HookSingular.bind();Hook.Collection=HookCollection.bind();i.exports=Hook;i.exports.Hook=Hook;i.exports.Singular=Hook.Singular;i.exports.Collection=Hook.Collection},22027:i=>{i.exports=addHook;function addHook(i,d,p,v){var V=v;if(!i.registry[p]){i.registry[p]=[]}if(d==="before"){v=function(i,d){return Promise.resolve().then(V.bind(null,d)).then(i.bind(null,d))}}if(d==="after"){v=function(i,d){var p;return Promise.resolve().then(i.bind(null,d)).then((function(i){p=i;return V(p,d)})).then((function(){return p}))}}if(d==="error"){v=function(i,d){return Promise.resolve().then(i.bind(null,d)).catch((function(i){return V(i,d)}))}}i.registry[p].push({hook:v,orig:V})}},11063:i=>{i.exports=register;function register(i,d,p,v){if(typeof p!=="function"){throw new Error("method for before hook must be a function")}if(!v){v={}}if(Array.isArray(d)){return d.reverse().reduce((function(d,p){return register.bind(null,i,p,d,v)}),p)()}return Promise.resolve().then((function(){if(!i.registry[d]){return p(v)}return i.registry[d].reduce((function(i,d){return d.hook.bind(null,i,v)}),p)()}))}},59934:i=>{i.exports=removeHook;function removeHook(i,d,p){if(!i.registry[d]){return}var v=i.registry[d].map((function(i){return i.orig})).indexOf(p);if(v===-1){return}i.registry[d].splice(v,1)}},58769:(i,d,p)=>{var v=p(71710);var V=p(24434).EventEmitter;var K=p(86627);var ee=p(91259);var te=p(2203).Stream;d=i.exports=function(i,p){if(Buffer.isBuffer(i)){return d.parse(i)}var v=d.stream();if(i&&i.pipe){i.pipe(v)}else if(i){i.on(p||"data",(function(i){v.write(i)}));i.on("end",(function(){v.end()}))}return v};d.stream=function(i){if(i)return d.apply(null,arguments);var p=null;function getBytes(i,d,v){p={bytes:i,skip:v,cb:function(i){p=null;d(i)}};dispatch()}var re=null;function dispatch(){if(!p){if(ae)oe=true;return}if(typeof p==="function"){p()}else{var i=re+p.bytes;if(ie.length>=i){var d;if(re==null){d=ie.splice(0,i);if(!p.skip){d=d.slice()}}else{if(!p.skip){d=ie.slice(re,i)}re=i}if(p.skip){p.cb()}else{p.cb(d)}}}}function builder(i){function next(){if(!oe)i.next()}var d=words((function(i,d){return function(p){getBytes(i,(function(i){se.set(p,d(i));next()}))}}));d.tap=function(d){i.nest(d,se.store)};d.into=function(d,p){if(!se.get(d))se.set(d,{});var v=se;se=ee(v.get(d));i.nest((function(){p.apply(this,arguments);this.tap((function(){se=v}))}),se.store)};d.flush=function(){se.store={};next()};d.loop=function(d){var p=false;i.nest(false,(function loop(){this.vars=se.store;d.call(this,(function(){p=true;next()}),se.store);this.tap(function(){if(p)i.next();else loop.call(this)}.bind(this))}),se.store)};d.buffer=function(i,d){if(typeof d==="string"){d=se.get(d)}getBytes(d,(function(d){se.set(i,d);next()}))};d.skip=function(i){if(typeof i==="string"){i=se.get(i)}getBytes(i,(function(){next()}))};d.scan=function find(i,d){if(typeof d==="string"){d=new Buffer(d)}else if(!Buffer.isBuffer(d)){throw new Error("search must be a Buffer or a string")}var v=0;p=function(){var V=ie.indexOf(d,re+v);var K=V-re-v;if(V!==-1){p=null;if(re!=null){se.set(i,ie.slice(re,re+v+K));re+=v+K+d.length}else{se.set(i,ie.slice(0,v+K));ie.splice(0,v+K+d.length)}next();dispatch()}else{K=Math.max(ie.length-d.length-re-v,0)}v+=K};dispatch()};d.peek=function(d){re=0;i.nest((function(){d.call(this,se.store);this.tap((function(){re=null}))}))};return d}var ne=v.light(builder);ne.writable=true;var ie=K();ne.write=function(i){ie.push(i);dispatch()};var se=ee();var oe=false,ae=false;ne.end=function(){ae=true};ne.pipe=te.prototype.pipe;Object.getOwnPropertyNames(V.prototype).forEach((function(i){ne[i]=V.prototype[i]}));return ne};d.parse=function parse(i){var d=words((function(V,K){return function(ee){if(p+V<=i.length){var te=i.slice(p,p+V);p+=V;v.set(ee,K(te))}else{v.set(ee,null)}return d}}));var p=0;var v=ee();d.vars=v.store;d.tap=function(i){i.call(d,v.store);return d};d.into=function(i,p){if(!v.get(i)){v.set(i,{})}var V=v;v=ee(V.get(i));p.call(d,v.store);v=V;return d};d.loop=function(i){var p=false;var ender=function(){p=true};while(p===false){i.call(d,ender,v.store)}return d};d.buffer=function(V,K){if(typeof K==="string"){K=v.get(K)}var ee=i.slice(p,Math.min(i.length,p+K));p+=K;v.set(V,ee);return d};d.skip=function(i){if(typeof i==="string"){i=v.get(i)}p+=i;return d};d.scan=function(V,K){if(typeof K==="string"){K=new Buffer(K)}else if(!Buffer.isBuffer(K)){throw new Error("search must be a Buffer or a string")}v.set(V,null);for(var ee=0;ee+p<=i.length-K.length+1;ee++){for(var te=0;te=i.length};return d};function decodeLEu(i){var d=0;for(var p=0;p{i.exports=function(i){function getset(i,p){var v=d.store;var V=i.split(".");V.slice(0,-1).forEach((function(i){if(v[i]===undefined)v[i]={};v=v[i]}));var K=V[V.length-1];if(arguments.length==1){return v[K]}else{return v[K]=p}}var d={get:function(i){return getset(i)},set:function(i,d){return getset(i,d)},store:i||{}};return d}},63251:function(i){(function(d,p){true?i.exports=p():0})(this,(function(){"use strict";var i=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};function getCjsExportFromNamespace(i){return i&&i["default"]||i}var load=function(i,d,p={}){var v,V,K;for(v in d){K=d[v];p[v]=(V=i[v])!=null?V:K}return p};var overwrite=function(i,d,p={}){var v,V;for(v in i){V=i[v];if(d[v]!==void 0){p[v]=V}}return p};var d={load:load,overwrite:overwrite};var p;p=class DLList{constructor(i,d){this.incr=i;this.decr=d;this._first=null;this._last=null;this.length=0}push(i){var d;this.length++;if(typeof this.incr==="function"){this.incr()}d={value:i,prev:this._last,next:null};if(this._last!=null){this._last.next=d;this._last=d}else{this._first=this._last=d}return void 0}shift(){var i;if(this._first==null){return}else{this.length--;if(typeof this.decr==="function"){this.decr()}}i=this._first.value;if((this._first=this._first.next)!=null){this._first.prev=null}else{this._last=null}return i}first(){if(this._first!=null){return this._first.value}}getArray(){var i,d,p;i=this._first;p=[];while(i!=null){p.push((d=i,i=i.next,d.value))}return p}forEachShift(i){var d;d=this.shift();while(d!=null){i(d),d=this.shift()}return void 0}debug(){var i,d,p,v,V;i=this._first;V=[];while(i!=null){V.push((d=i,i=i.next,{value:d.value,prev:(p=d.prev)!=null?p.value:void 0,next:(v=d.next)!=null?v.value:void 0}))}return V}};var v=p;var V;V=class Events{constructor(i){this.instance=i;this._events={};if(this.instance.on!=null||this.instance.once!=null||this.instance.removeAllListeners!=null){throw new Error("An Emitter already exists for this object")}this.instance.on=(i,d)=>this._addListener(i,"many",d);this.instance.once=(i,d)=>this._addListener(i,"once",d);this.instance.removeAllListeners=(i=null)=>{if(i!=null){return delete this._events[i]}else{return this._events={}}}}_addListener(i,d,p){var v;if((v=this._events)[i]==null){v[i]=[]}this._events[i].push({cb:p,status:d});return this.instance}listenerCount(i){if(this._events[i]!=null){return this._events[i].length}else{return 0}}async trigger(i,...d){var p,v;try{if(i!=="debug"){this.trigger("debug",`Event triggered: ${i}`,d)}if(this._events[i]==null){return}this._events[i]=this._events[i].filter((function(i){return i.status!=="none"}));v=this._events[i].map((async i=>{var p,v;if(i.status==="none"){return}if(i.status==="once"){i.status="none"}try{v=typeof i.cb==="function"?i.cb(...d):void 0;if(typeof(v!=null?v.then:void 0)==="function"){return await v}else{return v}}catch(i){p=i;{this.trigger("error",p)}return null}}));return(await Promise.all(v)).find((function(i){return i!=null}))}catch(i){p=i;{this.trigger("error",p)}return null}}};var K=V;var ee,te,re;ee=v;te=K;re=class Queues{constructor(i){var d;this.Events=new te(this);this._length=0;this._lists=function(){var p,v,V;V=[];for(d=p=1,v=i;1<=v?p<=v:p>=v;d=1<=v?++p:--p){V.push(new ee((()=>this.incr()),(()=>this.decr())))}return V}.call(this)}incr(){if(this._length++===0){return this.Events.trigger("leftzero")}}decr(){if(--this._length===0){return this.Events.trigger("zero")}}push(i){return this._lists[i.options.priority].push(i)}queued(i){if(i!=null){return this._lists[i].length}else{return this._length}}shiftAll(i){return this._lists.forEach((function(d){return d.forEachShift(i)}))}getFirst(i=this._lists){var d,p,v;for(d=0,p=i.length;d0){return v}}return[]}shiftLastFrom(i){return this.getFirst(this._lists.slice(i).reverse()).shift()}};var ne=re;var ie;ie=class BottleneckError extends Error{};var se=ie;var oe,ae,ce,le,ue;le=10;ae=5;ue=d;oe=se;ce=class Job{constructor(i,d,p,v,V,K,ee,te){this.task=i;this.args=d;this.rejectOnDrop=V;this.Events=K;this._states=ee;this.Promise=te;this.options=ue.load(p,v);this.options.priority=this._sanitizePriority(this.options.priority);if(this.options.id===v.id){this.options.id=`${this.options.id}-${this._randomIndex()}`}this.promise=new this.Promise(((i,d)=>{this._resolve=i;this._reject=d}));this.retryCount=0}_sanitizePriority(i){var d;d=~~i!==i?ae:i;if(d<0){return 0}else if(d>le-1){return le-1}else{return d}}_randomIndex(){return Math.random().toString(36).slice(2)}doDrop({error:i,message:d="This job has been dropped by Bottleneck"}={}){if(this._states.remove(this.options.id)){if(this.rejectOnDrop){this._reject(i!=null?i:new oe(d))}this.Events.trigger("dropped",{args:this.args,options:this.options,task:this.task,promise:this.promise});return true}else{return false}}_assertStatus(i){var d;d=this._states.jobStatus(this.options.id);if(!(d===i||i==="DONE"&&d===null)){throw new oe(`Invalid job status ${d}, expected ${i}. Please open an issue at https://github.com/SGrondin/bottleneck/issues`)}}doReceive(){this._states.start(this.options.id);return this.Events.trigger("received",{args:this.args,options:this.options})}doQueue(i,d){this._assertStatus("RECEIVED");this._states.next(this.options.id);return this.Events.trigger("queued",{args:this.args,options:this.options,reachedHWM:i,blocked:d})}doRun(){if(this.retryCount===0){this._assertStatus("QUEUED");this._states.next(this.options.id)}else{this._assertStatus("EXECUTING")}return this.Events.trigger("scheduled",{args:this.args,options:this.options})}async doExecute(i,d,p,v){var V,K,ee;if(this.retryCount===0){this._assertStatus("RUNNING");this._states.next(this.options.id)}else{this._assertStatus("EXECUTING")}K={args:this.args,options:this.options,retryCount:this.retryCount};this.Events.trigger("executing",K);try{ee=await(i!=null?i.schedule(this.options,this.task,...this.args):this.task(...this.args));if(d()){this.doDone(K);await v(this.options,K);this._assertStatus("DONE");return this._resolve(ee)}}catch(i){V=i;return this._onFailure(V,K,d,p,v)}}doExpire(i,d,p){var v,V;if(this._states.jobStatus(this.options.id==="RUNNING")){this._states.next(this.options.id)}this._assertStatus("EXECUTING");V={args:this.args,options:this.options,retryCount:this.retryCount};v=new oe(`This job timed out after ${this.options.expiration} ms.`);return this._onFailure(v,V,i,d,p)}async _onFailure(i,d,p,v,V){var K,ee;if(p()){K=await this.Events.trigger("failed",i,d);if(K!=null){ee=~~K;this.Events.trigger("retry",`Retrying ${this.options.id} after ${ee} ms`,d);this.retryCount++;return v(ee)}else{this.doDone(d);await V(this.options,d);this._assertStatus("DONE");return this._reject(i)}}}doDone(i){this._assertStatus("EXECUTING");this._states.next(this.options.id);return this.Events.trigger("done",i)}};var Ae=ce;var de,pe,fe;fe=d;de=se;pe=class LocalDatastore{constructor(i,d,p){this.instance=i;this.storeOptions=d;this.clientId=this.instance._randomIndex();fe.load(p,p,this);this._nextRequest=this._lastReservoirRefresh=this._lastReservoirIncrease=Date.now();this._running=0;this._done=0;this._unblockTime=0;this.ready=this.Promise.resolve();this.clients={};this._startHeartbeat()}_startHeartbeat(){var i;if(this.heartbeat==null&&(this.storeOptions.reservoirRefreshInterval!=null&&this.storeOptions.reservoirRefreshAmount!=null||this.storeOptions.reservoirIncreaseInterval!=null&&this.storeOptions.reservoirIncreaseAmount!=null)){return typeof(i=this.heartbeat=setInterval((()=>{var i,d,p,v,V;v=Date.now();if(this.storeOptions.reservoirRefreshInterval!=null&&v>=this._lastReservoirRefresh+this.storeOptions.reservoirRefreshInterval){this._lastReservoirRefresh=v;this.storeOptions.reservoir=this.storeOptions.reservoirRefreshAmount;this.instance._drainAll(this.computeCapacity())}if(this.storeOptions.reservoirIncreaseInterval!=null&&v>=this._lastReservoirIncrease+this.storeOptions.reservoirIncreaseInterval){({reservoirIncreaseAmount:i,reservoirIncreaseMaximum:p,reservoir:V}=this.storeOptions);this._lastReservoirIncrease=v;d=p!=null?Math.min(i,p-V):i;if(d>0){this.storeOptions.reservoir+=d;return this.instance._drainAll(this.computeCapacity())}}}),this.heartbeatInterval)).unref==="function"?i.unref():void 0}else{return clearInterval(this.heartbeat)}}async __publish__(i){await this.yieldLoop();return this.instance.Events.trigger("message",i.toString())}async __disconnect__(i){await this.yieldLoop();clearInterval(this.heartbeat);return this.Promise.resolve()}yieldLoop(i=0){return new this.Promise((function(d,p){return setTimeout(d,i)}))}computePenalty(){var i;return(i=this.storeOptions.penalty)!=null?i:15*this.storeOptions.minTime||5e3}async __updateSettings__(i){await this.yieldLoop();fe.overwrite(i,i,this.storeOptions);this._startHeartbeat();this.instance._drainAll(this.computeCapacity());return true}async __running__(){await this.yieldLoop();return this._running}async __queued__(){await this.yieldLoop();return this.instance.queued()}async __done__(){await this.yieldLoop();return this._done}async __groupCheck__(i){await this.yieldLoop();return this._nextRequest+this.timeout=i}check(i,d){return this.conditionsCheck(i)&&this._nextRequest-d<=0}async __check__(i){var d;await this.yieldLoop();d=Date.now();return this.check(i,d)}async __register__(i,d,p){var v,V;await this.yieldLoop();v=Date.now();if(this.conditionsCheck(d)){this._running+=d;if(this.storeOptions.reservoir!=null){this.storeOptions.reservoir-=d}V=Math.max(this._nextRequest-v,0);this._nextRequest=v+V+this.storeOptions.minTime;return{success:true,wait:V,reservoir:this.storeOptions.reservoir}}else{return{success:false}}}strategyIsBlock(){return this.storeOptions.strategy===3}async __submit__(i,d){var p,v,V;await this.yieldLoop();if(this.storeOptions.maxConcurrent!=null&&d>this.storeOptions.maxConcurrent){throw new de(`Impossible to add a job having a weight of ${d} to a limiter having a maxConcurrent setting of ${this.storeOptions.maxConcurrent}`)}v=Date.now();V=this.storeOptions.highWater!=null&&i===this.storeOptions.highWater&&!this.check(d,v);p=this.strategyIsBlock()&&(V||this.isBlocked(v));if(p){this._unblockTime=v+this.computePenalty();this._nextRequest=this._unblockTime+this.storeOptions.minTime;this.instance._dropAllQueued()}return{reachedHWM:V,blocked:p,strategy:this.storeOptions.strategy}}async __free__(i,d){await this.yieldLoop();this._running-=d;this._done+=d;this.instance._drainAll(this.computeCapacity());return{running:this._running}}};var he=pe;var ge,me;ge=se;me=class States{constructor(i){this.status=i;this._jobs={};this.counts=this.status.map((function(){return 0}))}next(i){var d,p;d=this._jobs[i];p=d+1;if(d!=null&&p{i[this.status[p]]=d;return i}),{})}};var Ee=me;var ye,Ce;ye=v;Ce=class Sync{constructor(i,d){this.schedule=this.schedule.bind(this);this.name=i;this.Promise=d;this._running=0;this._queue=new ye}isEmpty(){return this._queue.length===0}async _tryToRun(){var i,d,p,v,V,K,ee;if(this._running<1&&this._queue.length>0){this._running++;({task:ee,args:i,resolve:V,reject:v}=this._queue.shift());d=await async function(){try{K=await ee(...i);return function(){return V(K)}}catch(i){p=i;return function(){return v(p)}}}();this._running--;this._tryToRun();return d()}}schedule(i,...d){var p,v,V;V=v=null;p=new this.Promise((function(i,d){V=i;return v=d}));this._queue.push({task:i,args:d,resolve:V,reject:v});this._tryToRun();return p}};var be=Ce;var Ie="2.19.5";var Be={version:Ie};var we=Object.freeze({version:Ie,default:Be});var require$$2=()=>console.log("You must import the full version of Bottleneck in order to use this feature.");var require$$3=()=>console.log("You must import the full version of Bottleneck in order to use this feature.");var require$$4=()=>console.log("You must import the full version of Bottleneck in order to use this feature.");var Se,Qe,ve,Re,Te,Ne;Ne=d;Se=K;Re=require$$2;ve=require$$3;Te=require$$4;Qe=function(){class Group{constructor(i={}){this.deleteKey=this.deleteKey.bind(this);this.limiterOptions=i;Ne.load(this.limiterOptions,this.defaults,this);this.Events=new Se(this);this.instances={};this.Bottleneck=Je;this._startAutoCleanup();this.sharedConnection=this.connection!=null;if(this.connection==null){if(this.limiterOptions.datastore==="redis"){this.connection=new Re(Object.assign({},this.limiterOptions,{Events:this.Events}))}else if(this.limiterOptions.datastore==="ioredis"){this.connection=new ve(Object.assign({},this.limiterOptions,{Events:this.Events}))}}}key(i=""){var d;return(d=this.instances[i])!=null?d:(()=>{var d;d=this.instances[i]=new this.Bottleneck(Object.assign(this.limiterOptions,{id:`${this.id}-${i}`,timeout:this.timeout,connection:this.connection}));this.Events.trigger("created",d,i);return d})()}async deleteKey(i=""){var d,p;p=this.instances[i];if(this.connection){d=await this.connection.__runCommand__(["del",...Te.allKeys(`${this.id}-${i}`)])}if(p!=null){delete this.instances[i];await p.disconnect()}return p!=null||d>0}limiters(){var i,d,p,v;d=this.instances;p=[];for(i in d){v=d[i];p.push({key:i,limiter:v})}return p}keys(){return Object.keys(this.instances)}async clusterKeys(){var i,d,p,v,V,K,ee,te,re;if(this.connection==null){return this.Promise.resolve(this.keys())}K=[];i=null;re=`b_${this.id}-`.length;d="_settings".length;while(i!==0){[te,p]=await this.connection.__runCommand__(["scan",i!=null?i:0,"match",`b_${this.id}-*_settings`,"count",1e4]);i=~~te;for(v=0,ee=p.length;v{var i,d,p,v,V,K;V=Date.now();p=this.instances;v=[];for(d in p){K=p[d];try{if(await K._store.__groupCheck__(V)){v.push(this.deleteKey(d))}else{v.push(void 0)}}catch(d){i=d;v.push(K.Events.trigger("error",i))}}return v}),this.timeout/2)).unref==="function"?i.unref():void 0}updateSettings(i={}){Ne.overwrite(i,this.defaults,this);Ne.overwrite(i,i,this.limiterOptions);if(i.timeout!=null){return this._startAutoCleanup()}}disconnect(i=true){var d;if(!this.sharedConnection){return(d=this.connection)!=null?d.disconnect(i):void 0}}}Group.prototype.defaults={timeout:1e3*60*5,connection:null,Promise:Promise,id:"group-key"};return Group}.call(i);var ke=Qe;var De,xe,_e;_e=d;xe=K;De=function(){class Batcher{constructor(i={}){this.options=i;_e.load(this.options,this.defaults,this);this.Events=new xe(this);this._arr=[];this._resetPromise();this._lastFlush=Date.now()}_resetPromise(){return this._promise=new this.Promise(((i,d)=>this._resolve=i))}_flush(){clearTimeout(this._timeout);this._lastFlush=Date.now();this._resolve();this.Events.trigger("batch",this._arr);this._arr=[];return this._resetPromise()}add(i){var d;this._arr.push(i);d=this._promise;if(this._arr.length===this.maxSize){this._flush()}else if(this.maxTime!=null&&this._arr.length===1){this._timeout=setTimeout((()=>this._flush()),this.maxTime)}return d}}Batcher.prototype.defaults={maxTime:null,maxSize:null,Promise:Promise};return Batcher}.call(i);var Pe=De;var require$$4$1=()=>console.log("You must import the full version of Bottleneck in order to use this feature.");var Oe=getCjsExportFromNamespace(we);var Le,Fe,Me,Ue,He,Ge,qe,je,Ve,ze,Ye,We=[].splice;Ge=10;Fe=5;Ye=d;qe=ne;Ue=Ae;He=he;je=require$$4$1;Me=K;Ve=Ee;ze=be;Le=function(){class Bottleneck{constructor(i={},...d){var p,v;this._addToQueue=this._addToQueue.bind(this);this._validateOptions(i,d);Ye.load(i,this.instanceDefaults,this);this._queues=new qe(Ge);this._scheduled={};this._states=new Ve(["RECEIVED","QUEUED","RUNNING","EXECUTING"].concat(this.trackDoneStatus?["DONE"]:[]));this._limiter=null;this.Events=new Me(this);this._submitLock=new ze("submit",this.Promise);this._registerLock=new ze("register",this.Promise);v=Ye.load(i,this.storeDefaults,{});this._store=function(){if(this.datastore==="redis"||this.datastore==="ioredis"||this.connection!=null){p=Ye.load(i,this.redisStoreDefaults,{});return new je(this,v,p)}else if(this.datastore==="local"){p=Ye.load(i,this.localStoreDefaults,{});return new He(this,v,p)}else{throw new Bottleneck.prototype.BottleneckError(`Invalid datastore type: ${this.datastore}`)}}.call(this);this._queues.on("leftzero",(()=>{var i;return(i=this._store.heartbeat)!=null?typeof i.ref==="function"?i.ref():void 0:void 0}));this._queues.on("zero",(()=>{var i;return(i=this._store.heartbeat)!=null?typeof i.unref==="function"?i.unref():void 0:void 0}))}_validateOptions(i,d){if(!(i!=null&&typeof i==="object"&&d.length===0)){throw new Bottleneck.prototype.BottleneckError("Bottleneck v2 takes a single object argument. Refer to https://github.com/SGrondin/bottleneck#upgrading-to-v2 if you're upgrading from Bottleneck v1.")}}ready(){return this._store.ready}clients(){return this._store.clients}channel(){return`b_${this.id}`}channel_client(){return`b_${this.id}_${this._store.clientId}`}publish(i){return this._store.__publish__(i)}disconnect(i=true){return this._store.__disconnect__(i)}chain(i){this._limiter=i;return this}queued(i){return this._queues.queued(i)}clusterQueued(){return this._store.__queued__()}empty(){return this.queued()===0&&this._submitLock.isEmpty()}running(){return this._store.__running__()}done(){return this._store.__done__()}jobStatus(i){return this._states.jobStatus(i)}jobs(i){return this._states.statusJobs(i)}counts(){return this._states.statusCounts()}_randomIndex(){return Math.random().toString(36).slice(2)}check(i=1){return this._store.__check__(i)}_clearGlobalState(i){if(this._scheduled[i]!=null){clearTimeout(this._scheduled[i].expiration);delete this._scheduled[i];return true}else{return false}}async _free(i,d,p,v){var V,K;try{({running:K}=await this._store.__free__(i,p.weight));this.Events.trigger("debug",`Freed ${p.id}`,v);if(K===0&&this.empty()){return this.Events.trigger("idle")}}catch(i){V=i;return this.Events.trigger("error",V)}}_run(i,d,p){var v,V,K;d.doRun();v=this._clearGlobalState.bind(this,i);K=this._run.bind(this,i,d);V=this._free.bind(this,i,d);return this._scheduled[i]={timeout:setTimeout((()=>d.doExecute(this._limiter,v,K,V)),p),expiration:d.options.expiration!=null?setTimeout((function(){return d.doExpire(v,K,V)}),p+d.options.expiration):void 0,job:d}}_drainOne(i){return this._registerLock.schedule((()=>{var d,p,v,V,K;if(this.queued()===0){return this.Promise.resolve(null)}K=this._queues.getFirst();({options:V,args:d}=v=K.first());if(i!=null&&V.weight>i){return this.Promise.resolve(null)}this.Events.trigger("debug",`Draining ${V.id}`,{args:d,options:V});p=this._randomIndex();return this._store.__register__(p,V.weight,V.expiration).then((({success:i,wait:ee,reservoir:te})=>{var re;this.Events.trigger("debug",`Drained ${V.id}`,{success:i,args:d,options:V});if(i){K.shift();re=this.empty();if(re){this.Events.trigger("empty")}if(te===0){this.Events.trigger("depleted",re)}this._run(p,v,ee);return this.Promise.resolve(V.weight)}else{return this.Promise.resolve(null)}}))}))}_drainAll(i,d=0){return this._drainOne(i).then((p=>{var v;if(p!=null){v=i!=null?i-p:i;return this._drainAll(v,d+p)}else{return this.Promise.resolve(d)}})).catch((i=>this.Events.trigger("error",i)))}_dropAllQueued(i){return this._queues.shiftAll((function(d){return d.doDrop({message:i})}))}stop(i={}){var d,p;i=Ye.load(i,this.stopDefaults);p=i=>{var d;d=()=>{var d;d=this._states.counts;return d[0]+d[1]+d[2]+d[3]===i};return new this.Promise(((i,p)=>{if(d()){return i()}else{return this.on("done",(()=>{if(d()){this.removeAllListeners("done");return i()}}))}}))};d=i.dropWaitingJobs?(this._run=function(d,p){return p.doDrop({message:i.dropErrorMessage})},this._drainOne=()=>this.Promise.resolve(null),this._registerLock.schedule((()=>this._submitLock.schedule((()=>{var d,v,V;v=this._scheduled;for(d in v){V=v[d];if(this.jobStatus(V.job.options.id)==="RUNNING"){clearTimeout(V.timeout);clearTimeout(V.expiration);V.job.doDrop({message:i.dropErrorMessage})}}this._dropAllQueued(i.dropErrorMessage);return p(0)}))))):this.schedule({priority:Ge-1,weight:0},(()=>p(1)));this._receive=function(d){return d._reject(new Bottleneck.prototype.BottleneckError(i.enqueueErrorMessage))};this.stop=()=>this.Promise.reject(new Bottleneck.prototype.BottleneckError("stop() has already been called"));return d}async _addToQueue(i){var d,p,v,V,K,ee,te;({args:d,options:V}=i);try{({reachedHWM:K,blocked:p,strategy:te}=await this._store.__submit__(this.queued(),V.weight))}catch(p){v=p;this.Events.trigger("debug",`Could not queue ${V.id}`,{args:d,options:V,error:v});i.doDrop({error:v});return false}if(p){i.doDrop();return true}else if(K){ee=te===Bottleneck.prototype.strategy.LEAK?this._queues.shiftLastFrom(V.priority):te===Bottleneck.prototype.strategy.OVERFLOW_PRIORITY?this._queues.shiftLastFrom(V.priority+1):te===Bottleneck.prototype.strategy.OVERFLOW?i:void 0;if(ee!=null){ee.doDrop()}if(ee==null||te===Bottleneck.prototype.strategy.OVERFLOW){if(ee==null){i.doDrop()}return K}}i.doQueue(K,p);this._queues.push(i);await this._drainAll();return K}_receive(i){if(this._states.jobStatus(i.options.id)!=null){i._reject(new Bottleneck.prototype.BottleneckError(`A job with the same id already exists (id=${i.options.id})`));return false}else{i.doReceive();return this._submitLock.schedule(this._addToQueue,i)}}submit(...i){var d,p,v,V,K,ee,te;if(typeof i[0]==="function"){K=i,[p,...i]=K,[d]=We.call(i,-1);V=Ye.load({},this.jobDefaults)}else{ee=i,[V,p,...i]=ee,[d]=We.call(i,-1);V=Ye.load(V,this.jobDefaults)}te=(...i)=>new this.Promise((function(d,v){return p(...i,(function(...i){return(i[0]!=null?v:d)(i)}))}));v=new Ue(te,i,V,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise);v.promise.then((function(i){return typeof d==="function"?d(...i):void 0})).catch((function(i){if(Array.isArray(i)){return typeof d==="function"?d(...i):void 0}else{return typeof d==="function"?d(i):void 0}}));return this._receive(v)}schedule(...i){var d,p,v;if(typeof i[0]==="function"){[v,...i]=i;p={}}else{[p,v,...i]=i}d=new Ue(v,i,p,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise);this._receive(d);return d.promise}wrap(i){var d,p;d=this.schedule.bind(this);p=function(...p){return d(i.bind(this),...p)};p.withOptions=function(p,...v){return d(p,i,...v)};return p}async updateSettings(i={}){await this._store.__updateSettings__(Ye.overwrite(i,this.storeDefaults));Ye.overwrite(i,this.instanceDefaults,this);return this}currentReservoir(){return this._store.__currentReservoir__()}incrementReservoir(i=0){return this._store.__incrementReservoir__(i)}}Bottleneck.default=Bottleneck;Bottleneck.Events=Me;Bottleneck.version=Bottleneck.prototype.version=Oe.version;Bottleneck.strategy=Bottleneck.prototype.strategy={LEAK:1,OVERFLOW:2,OVERFLOW_PRIORITY:4,BLOCK:3};Bottleneck.BottleneckError=Bottleneck.prototype.BottleneckError=se;Bottleneck.Group=Bottleneck.prototype.Group=ke;Bottleneck.RedisConnection=Bottleneck.prototype.RedisConnection=require$$2;Bottleneck.IORedisConnection=Bottleneck.prototype.IORedisConnection=require$$3;Bottleneck.Batcher=Bottleneck.prototype.Batcher=Pe;Bottleneck.prototype.jobDefaults={priority:Fe,weight:1,expiration:null,id:""};Bottleneck.prototype.storeDefaults={maxConcurrent:null,minTime:0,highWater:null,strategy:Bottleneck.prototype.strategy.LEAK,penalty:null,reservoir:null,reservoirRefreshInterval:null,reservoirRefreshAmount:null,reservoirIncreaseInterval:null,reservoirIncreaseAmount:null,reservoirIncreaseMaximum:null};Bottleneck.prototype.localStoreDefaults={Promise:Promise,timeout:null,heartbeatInterval:250};Bottleneck.prototype.redisStoreDefaults={Promise:Promise,timeout:null,heartbeatInterval:5e3,clientTimeout:1e4,Redis:null,clientOptions:{},clusterNodes:null,clearDatastore:false,connection:null};Bottleneck.prototype.instanceDefaults={datastore:"local",connection:null,id:"",rejectOnDrop:true,trackDoneStatus:false,Promise:Promise};Bottleneck.prototype.stopDefaults={enqueueErrorMessage:"This limiter has been stopped and cannot accept new jobs.",dropWaitingJobs:true,dropErrorMessage:"This limiter has been stopped."};return Bottleneck}.call(i);var Je=Le;var $e=Je;return $e}))},94691:(i,d,p)=>{var v=p(59380);i.exports=expandTop;var V="\0SLASH"+Math.random()+"\0";var K="\0OPEN"+Math.random()+"\0";var ee="\0CLOSE"+Math.random()+"\0";var te="\0COMMA"+Math.random()+"\0";var re="\0PERIOD"+Math.random()+"\0";function numeric(i){return parseInt(i,10)==i?parseInt(i,10):i.charCodeAt(0)}function escapeBraces(i){return i.split("\\\\").join(V).split("\\{").join(K).split("\\}").join(ee).split("\\,").join(te).split("\\.").join(re)}function unescapeBraces(i){return i.split(V).join("\\").split(K).join("{").split(ee).join("}").split(te).join(",").split(re).join(".")}function parseCommaParts(i){if(!i)return[""];var d=[];var p=v("{","}",i);if(!p)return i.split(",");var V=p.pre;var K=p.body;var ee=p.post;var te=V.split(",");te[te.length-1]+="{"+K+"}";var re=parseCommaParts(ee);if(ee.length){te[te.length-1]+=re.shift();te.push.apply(te,re)}d.push.apply(d,te);return d}function expandTop(i){if(!i)return[];if(i.substr(0,2)==="{}"){i="\\{\\}"+i.substr(2)}return expand(escapeBraces(i),true).map(unescapeBraces)}function embrace(i){return"{"+i+"}"}function isPadded(i){return/^-?0\d/.test(i)}function lte(i,d){return i<=d}function gte(i,d){return i>=d}function expand(i,d){var p=[];var V=v("{","}",i);if(!V)return[i];var K=V.pre;var te=V.post.length?expand(V.post,false):[""];if(/\$$/.test(V.pre)){for(var re=0;re=0;if(!oe&&!ae){if(V.post.match(/,.*\}/)){i=V.pre+"{"+V.body+ee+V.post;return expand(i)}return[i]}var ce;if(oe){ce=V.body.split(/\.\./)}else{ce=parseCommaParts(V.body);if(ce.length===1){ce=expand(ce[0],false).map(embrace);if(ce.length===1){return te.map((function(i){return V.pre+ce[0]+i}))}}}var le;if(oe){var ue=numeric(ce[0]);var Ae=numeric(ce[1]);var de=Math.max(ce[0].length,ce[1].length);var pe=ce.length==3?Math.abs(numeric(ce[2])):1;var fe=lte;var he=Ae0){var Ce=new Array(ye+1).join("0");if(me<0)Ee="-"+Ce+Ee.slice(1);else Ee=Ce+Ee}}}le.push(Ee)}}else{le=[];for(var be=0;be{i.exports=Buffers;function Buffers(i){if(!(this instanceof Buffers))return new Buffers(i);this.buffers=i||[];this.length=this.buffers.reduce((function(i,d){return i+d.length}),0)}Buffers.prototype.push=function(){for(var i=0;i=0?i:this.length-i;var V=[].slice.call(arguments,2);if(d===undefined){d=this.length-v}else if(d>this.length-v){d=this.length-v}for(var i=0;i0){var ne=v-te;if(ne+d0){var ae=V.slice();ae.unshift(se);ae.push(oe);p.splice.apply(p,[re,1].concat(ae));re+=ae.length;V=[]}else{p.splice(re,1,se,oe);re+=2}}else{K.push(p[re].slice(ne));p[re]=p[re].slice(0,ne);re++}}if(V.length>0){p.splice.apply(p,[re,0].concat(V));re+=V.length}while(K.lengththis.length)d=this.length;var v=0;for(var V=0;V=d-i?Math.min(ne+(d-i)-ee,re):re;p[te].copy(K,ee,ne,ie);ee+=ie-ne}return K};Buffers.prototype.pos=function(i){if(i<0||i>=this.length)throw new Error("oob");var d=i,p=0,v=null;for(;;){v=this.buffers[p];if(d=this.buffers[p].length){v=0;p++;if(p>=this.buffers.length){return-1}}var re=this.buffers[p][v];if(re==i[V]){if(V==0){K={i:p,j:v,pos:ee}}V++;if(V==i.length){return K.pos}}else if(V!=0){p=K.i;v=K.j;ee=K.pos;V=0}v++;ee++}};Buffers.prototype.toBuffer=function(){return this.slice()};Buffers.prototype.toString=function(i,d,p){return this.slice(d,p).toString(i)}},71710:(i,d,p)=>{var v=p(62958);var V=p(24434).EventEmitter;i.exports=Chainsaw;function Chainsaw(i){var d=Chainsaw.saw(i,{});var p=i.call(d.handlers,d);if(p!==undefined)d.handlers=p;d.record();return d.chain()}Chainsaw.light=function ChainsawLight(i){var d=Chainsaw.saw(i,{});var p=i.call(d.handlers,d);if(p!==undefined)d.handlers=p;return d.chain()};Chainsaw.saw=function(i,d){var p=new V;p.handlers=d;p.actions=[];p.chain=function(){var i=v(p.handlers).map((function(d){if(this.isRoot)return d;var v=this.path;if(typeof d==="function"){this.update((function(){p.actions.push({path:v,args:[].slice.call(arguments)});return i}))}}));process.nextTick((function(){p.emit("begin");p.next()}));return i};p.pop=function(){return p.actions.shift()};p.next=function(){var i=p.pop();if(!i){p.emit("end")}else if(!i.trap){var d=p.handlers;i.path.forEach((function(i){d=d[i]}));d.apply(p.handlers,i.args)}};p.nest=function(d){var v=[].slice.call(arguments,1);var V=true;if(typeof d==="boolean"){var V=d;d=v.shift()}var K=Chainsaw.saw(i,{});var ee=i.call(K.handlers,K);if(ee!==undefined)K.handlers=ee;if("undefined"!==typeof p.step){K.record()}d.apply(K.chain(),v);if(V!==false)K.on("end",p.next)};p.record=function(){upgradeChainsaw(p)};["trap","down","jump"].forEach((function(i){p[i]=function(){throw new Error("To use the trap, down and jump features, please "+"call record() first to start recording actions.")}}));return p};function upgradeChainsaw(i){i.step=0;i.pop=function(){return i.actions[i.step++]};i.trap=function(d,p){var v=Array.isArray(d)?d:[d];i.actions.push({path:v,step:i.step,cb:p,trap:true})};i.down=function(d){var p=(Array.isArray(d)?d:[d]).join("/");var v=i.actions.slice(i.step).map((function(d){if(d.trap&&d.step<=i.step)return false;return d.path.join("/")==p})).indexOf(true);if(v>=0)i.step+=v;else i.step=i.actions.length;var V=i.actions[i.step-1];if(V&&V.trap){i.step=V.step;V.cb()}else i.next()};i.jump=function(d){i.step=d;i.next()}}},96070:i=>{var d=i.exports=function(){};d.prototype.getName=function(){};d.prototype.getSize=function(){};d.prototype.getLastModifiedDate=function(){};d.prototype.isDirectory=function(){}},36306:(i,d,p)=>{var v=p(39023).inherits;var V=p(96543);var K=p(29963).Transform;var ee=p(96070);var te=p(18300);var re=i.exports=function(i){if(!(this instanceof re)){return new re(i)}K.call(this,i);this.offset=0;this._archive={finish:false,finished:false,processing:false}};v(re,K);re.prototype._appendBuffer=function(i,d,p){};re.prototype._appendStream=function(i,d,p){};re.prototype._emitErrorCallback=function(i){if(i){this.emit("error",i)}};re.prototype._finish=function(i){};re.prototype._normalizeEntry=function(i){};re.prototype._transform=function(i,d,p){p(null,i)};re.prototype.entry=function(i,d,p){d=d||null;if(typeof p!=="function"){p=this._emitErrorCallback.bind(this)}if(!(i instanceof ee)){p(new Error("not a valid instance of ArchiveEntry"));return}if(this._archive.finish||this._archive.finished){p(new Error("unacceptable entry after finish"));return}if(this._archive.processing){p(new Error("already processing an entry"));return}this._archive.processing=true;this._normalizeEntry(i);this._entry=i;d=te.normalizeInputSource(d);if(Buffer.isBuffer(d)){this._appendBuffer(i,d,p)}else if(V(d)){this._appendStream(i,d,p)}else{this._archive.processing=false;p(new Error("input source must be valid Stream or Buffer instance"));return}return this};re.prototype.finish=function(){if(this._archive.processing){this._archive.finish=true;return}this._finish()};re.prototype.getBytesWritten=function(){return this.offset};re.prototype.write=function(i,d){if(i){this.offset+=i.length}return K.prototype.write.call(this,i,d)}},94908:i=>{i.exports={WORD:4,DWORD:8,EMPTY:Buffer.alloc(0),SHORT:2,SHORT_MASK:65535,SHORT_SHIFT:16,SHORT_ZERO:Buffer.from(Array(2)),LONG:4,LONG_ZERO:Buffer.from(Array(4)),MIN_VERSION_INITIAL:10,MIN_VERSION_DATA_DESCRIPTOR:20,MIN_VERSION_ZIP64:45,VERSION_MADEBY:45,METHOD_STORED:0,METHOD_DEFLATED:8,PLATFORM_UNIX:3,PLATFORM_FAT:0,SIG_LFH:67324752,SIG_DD:134695760,SIG_CFH:33639248,SIG_EOCD:101010256,SIG_ZIP64_EOCD:101075792,SIG_ZIP64_EOCD_LOC:117853008,ZIP64_MAGIC_SHORT:65535,ZIP64_MAGIC:4294967295,ZIP64_EXTRA_ID:1,ZLIB_NO_COMPRESSION:0,ZLIB_BEST_SPEED:1,ZLIB_BEST_COMPRESSION:9,ZLIB_DEFAULT_COMPRESSION:-1,MODE_MASK:4095,DEFAULT_FILE_MODE:33188,DEFAULT_DIR_MODE:16877,EXT_FILE_ATTR_DIR:1106051088,EXT_FILE_ATTR_FILE:2175008800,S_IFMT:61440,S_IFIFO:4096,S_IFCHR:8192,S_IFDIR:16384,S_IFBLK:24576,S_IFREG:32768,S_IFLNK:40960,S_IFSOCK:49152,S_DOS_A:32,S_DOS_D:16,S_DOS_V:8,S_DOS_S:4,S_DOS_H:2,S_DOS_R:1}},97632:(i,d,p)=>{var v=p(6453);var V=1<<3;var K=1<<0;var ee=1<<2;var te=1<<1;var re=1<<6;var ne=1<<11;var ie=i.exports=function(){if(!(this instanceof ie)){return new ie}this.descriptor=false;this.encryption=false;this.utf8=false;this.numberOfShannonFanoTrees=0;this.strongEncryption=false;this.slidingDictionarySize=0;return this};ie.prototype.encode=function(){return v.getShortBytes((this.descriptor?V:0)|(this.utf8?ne:0)|(this.encryption?K:0)|(this.strongEncryption?re:0))};ie.prototype.parse=function(i,d){var p=v.getShortBytesValue(i,d);var se=new ie;se.useDataDescriptor((p&V)!==0);se.useUTF8ForNames((p&ne)!==0);se.useStrongEncryption((p&re)!==0);se.useEncryption((p&K)!==0);se.setSlidingDictionarySize((p&te)!==0?8192:4096);se.setNumberOfShannonFanoTrees((p&ee)!==0?3:2);return se};ie.prototype.setNumberOfShannonFanoTrees=function(i){this.numberOfShannonFanoTrees=i};ie.prototype.getNumberOfShannonFanoTrees=function(){return this.numberOfShannonFanoTrees};ie.prototype.setSlidingDictionarySize=function(i){this.slidingDictionarySize=i};ie.prototype.getSlidingDictionarySize=function(){return this.slidingDictionarySize};ie.prototype.useDataDescriptor=function(i){this.descriptor=i};ie.prototype.usesDataDescriptor=function(){return this.descriptor};ie.prototype.useEncryption=function(i){this.encryption=i};ie.prototype.usesEncryption=function(){return this.encryption};ie.prototype.useStrongEncryption=function(i){this.strongEncryption=i};ie.prototype.usesStrongEncryption=function(){return this.strongEncryption};ie.prototype.useUTF8ForNames=function(i){this.utf8=i};ie.prototype.usesUTF8ForNames=function(){return this.utf8}},23810:i=>{i.exports={PERM_MASK:4095,FILE_TYPE_FLAG:61440,LINK_FLAG:40960,FILE_FLAG:32768,DIR_FLAG:16384,DEFAULT_LINK_PERM:511,DEFAULT_DIR_PERM:493,DEFAULT_FILE_PERM:420}},6453:i=>{var d=i.exports={};d.dateToDos=function(i,d){d=d||false;var p=d?i.getFullYear():i.getUTCFullYear();if(p<1980){return 2162688}else if(p>=2044){return 2141175677}var v={year:p,month:d?i.getMonth():i.getUTCMonth(),date:d?i.getDate():i.getUTCDate(),hours:d?i.getHours():i.getUTCHours(),minutes:d?i.getMinutes():i.getUTCMinutes(),seconds:d?i.getSeconds():i.getUTCSeconds()};return v.year-1980<<25|v.month+1<<21|v.date<<16|v.hours<<11|v.minutes<<5|v.seconds/2};d.dosToDate=function(i){return new Date((i>>25&127)+1980,(i>>21&15)-1,i>>16&31,i>>11&31,i>>5&63,(i&31)<<1)};d.fromDosTime=function(i){return d.dosToDate(i.readUInt32LE(0))};d.getEightBytes=function(i){var d=Buffer.alloc(8);d.writeUInt32LE(i%4294967296,0);d.writeUInt32LE(i/4294967296|0,4);return d};d.getShortBytes=function(i){var d=Buffer.alloc(2);d.writeUInt16LE((i&65535)>>>0,0);return d};d.getShortBytesValue=function(i,d){return i.readUInt16LE(d)};d.getLongBytes=function(i){var d=Buffer.alloc(4);d.writeUInt32LE((i&4294967295)>>>0,0);return d};d.getLongBytesValue=function(i,d){return i.readUInt32LE(d)};d.toDosTime=function(i){return d.getLongBytes(d.dateToDos(i))}},73380:(i,d,p)=>{var v=p(39023).inherits;var V=p(56133);var K=p(96070);var ee=p(97632);var te=p(23810);var re=p(94908);var ne=p(6453);var ie=i.exports=function(i){if(!(this instanceof ie)){return new ie(i)}K.call(this);this.platform=re.PLATFORM_FAT;this.method=-1;this.name=null;this.size=0;this.csize=0;this.gpb=new ee;this.crc=0;this.time=-1;this.minver=re.MIN_VERSION_INITIAL;this.mode=-1;this.extra=null;this.exattr=0;this.inattr=0;this.comment=null;if(i){this.setName(i)}};v(ie,K);ie.prototype.getCentralDirectoryExtra=function(){return this.getExtra()};ie.prototype.getComment=function(){return this.comment!==null?this.comment:""};ie.prototype.getCompressedSize=function(){return this.csize};ie.prototype.getCrc=function(){return this.crc};ie.prototype.getExternalAttributes=function(){return this.exattr};ie.prototype.getExtra=function(){return this.extra!==null?this.extra:re.EMPTY};ie.prototype.getGeneralPurposeBit=function(){return this.gpb};ie.prototype.getInternalAttributes=function(){return this.inattr};ie.prototype.getLastModifiedDate=function(){return this.getTime()};ie.prototype.getLocalFileDataExtra=function(){return this.getExtra()};ie.prototype.getMethod=function(){return this.method};ie.prototype.getName=function(){return this.name};ie.prototype.getPlatform=function(){return this.platform};ie.prototype.getSize=function(){return this.size};ie.prototype.getTime=function(){return this.time!==-1?ne.dosToDate(this.time):-1};ie.prototype.getTimeDos=function(){return this.time!==-1?this.time:0};ie.prototype.getUnixMode=function(){return this.platform!==re.PLATFORM_UNIX?0:this.getExternalAttributes()>>re.SHORT_SHIFT&re.SHORT_MASK};ie.prototype.getVersionNeededToExtract=function(){return this.minver};ie.prototype.setComment=function(i){if(Buffer.byteLength(i)!==i.length){this.getGeneralPurposeBit().useUTF8ForNames(true)}this.comment=i};ie.prototype.setCompressedSize=function(i){if(i<0){throw new Error("invalid entry compressed size")}this.csize=i};ie.prototype.setCrc=function(i){if(i<0){throw new Error("invalid entry crc32")}this.crc=i};ie.prototype.setExternalAttributes=function(i){this.exattr=i>>>0};ie.prototype.setExtra=function(i){this.extra=i};ie.prototype.setGeneralPurposeBit=function(i){if(!(i instanceof ee)){throw new Error("invalid entry GeneralPurposeBit")}this.gpb=i};ie.prototype.setInternalAttributes=function(i){this.inattr=i};ie.prototype.setMethod=function(i){if(i<0){throw new Error("invalid entry compression method")}this.method=i};ie.prototype.setName=function(i,d=false){i=V(i,false).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"");if(d){i=`/${i}`}if(Buffer.byteLength(i)!==i.length){this.getGeneralPurposeBit().useUTF8ForNames(true)}this.name=i};ie.prototype.setPlatform=function(i){this.platform=i};ie.prototype.setSize=function(i){if(i<0){throw new Error("invalid entry size")}this.size=i};ie.prototype.setTime=function(i,d){if(!(i instanceof Date)){throw new Error("invalid entry time")}this.time=ne.dateToDos(i,d)};ie.prototype.setUnixMode=function(i){i|=this.isDirectory()?re.S_IFDIR:re.S_IFREG;var d=0;d|=i<re.ZIP64_MAGIC||this.size>re.ZIP64_MAGIC}},82132:(i,d,p)=>{var v=p(39023).inherits;var V=p(84891);var{CRC32Stream:K}=p(82770);var{DeflateCRC32Stream:ee}=p(82770);var te=p(36306);var re=p(73380);var ne=p(97632);var ie=p(94908);var se=p(18300);var oe=p(6453);var ae=i.exports=function(i){if(!(this instanceof ae)){return new ae(i)}i=this.options=this._defaults(i);te.call(this,i);this._entry=null;this._entries=[];this._archive={centralLength:0,centralOffset:0,comment:"",finish:false,finished:false,processing:false,forceZip64:i.forceZip64,forceLocalTime:i.forceLocalTime}};v(ae,te);ae.prototype._afterAppend=function(i){this._entries.push(i);if(i.getGeneralPurposeBit().usesDataDescriptor()){this._writeDataDescriptor(i)}this._archive.processing=false;this._entry=null;if(this._archive.finish&&!this._archive.finished){this._finish()}};ae.prototype._appendBuffer=function(i,d,p){if(d.length===0){i.setMethod(ie.METHOD_STORED)}var v=i.getMethod();if(v===ie.METHOD_STORED){i.setSize(d.length);i.setCompressedSize(d.length);i.setCrc(V.buf(d)>>>0)}this._writeLocalFileHeader(i);if(v===ie.METHOD_STORED){this.write(d);this._afterAppend(i);p(null,i);return}else if(v===ie.METHOD_DEFLATED){this._smartStream(i,p).end(d);return}else{p(new Error("compression method "+v+" not implemented"));return}};ae.prototype._appendStream=function(i,d,p){i.getGeneralPurposeBit().useDataDescriptor(true);i.setVersionNeededToExtract(ie.MIN_VERSION_DATA_DESCRIPTOR);this._writeLocalFileHeader(i);var v=this._smartStream(i,p);d.once("error",(function(i){v.emit("error",i);v.end()}));d.pipe(v)};ae.prototype._defaults=function(i){if(typeof i!=="object"){i={}}if(typeof i.zlib!=="object"){i.zlib={}}if(typeof i.zlib.level!=="number"){i.zlib.level=ie.ZLIB_BEST_SPEED}i.forceZip64=!!i.forceZip64;i.forceLocalTime=!!i.forceLocalTime;return i};ae.prototype._finish=function(){this._archive.centralOffset=this.offset;this._entries.forEach(function(i){this._writeCentralFileHeader(i)}.bind(this));this._archive.centralLength=this.offset-this._archive.centralOffset;if(this.isZip64()){this._writeCentralDirectoryZip64()}this._writeCentralDirectoryEnd();this._archive.processing=false;this._archive.finish=true;this._archive.finished=true;this.end()};ae.prototype._normalizeEntry=function(i){if(i.getMethod()===-1){i.setMethod(ie.METHOD_DEFLATED)}if(i.getMethod()===ie.METHOD_DEFLATED){i.getGeneralPurposeBit().useDataDescriptor(true);i.setVersionNeededToExtract(ie.MIN_VERSION_DATA_DESCRIPTOR)}if(i.getTime()===-1){i.setTime(new Date,this._archive.forceLocalTime)}i._offsets={file:0,data:0,contents:0}};ae.prototype._smartStream=function(i,d){var p=i.getMethod()===ie.METHOD_DEFLATED;var v=p?new ee(this.options.zlib):new K;var V=null;function handleStuff(){var p=v.digest().readUInt32BE(0);i.setCrc(p);i.setSize(v.size());i.setCompressedSize(v.size(true));this._afterAppend(i);d(V,i)}v.once("end",handleStuff.bind(this));v.once("error",(function(i){V=i}));v.pipe(this,{end:false});return v};ae.prototype._writeCentralDirectoryEnd=function(){var i=this._entries.length;var d=this._archive.centralLength;var p=this._archive.centralOffset;if(this.isZip64()){i=ie.ZIP64_MAGIC_SHORT;d=ie.ZIP64_MAGIC;p=ie.ZIP64_MAGIC}this.write(oe.getLongBytes(ie.SIG_EOCD));this.write(ie.SHORT_ZERO);this.write(ie.SHORT_ZERO);this.write(oe.getShortBytes(i));this.write(oe.getShortBytes(i));this.write(oe.getLongBytes(d));this.write(oe.getLongBytes(p));var v=this.getComment();var V=Buffer.byteLength(v);this.write(oe.getShortBytes(V));this.write(v)};ae.prototype._writeCentralDirectoryZip64=function(){this.write(oe.getLongBytes(ie.SIG_ZIP64_EOCD));this.write(oe.getEightBytes(44));this.write(oe.getShortBytes(ie.MIN_VERSION_ZIP64));this.write(oe.getShortBytes(ie.MIN_VERSION_ZIP64));this.write(ie.LONG_ZERO);this.write(ie.LONG_ZERO);this.write(oe.getEightBytes(this._entries.length));this.write(oe.getEightBytes(this._entries.length));this.write(oe.getEightBytes(this._archive.centralLength));this.write(oe.getEightBytes(this._archive.centralOffset));this.write(oe.getLongBytes(ie.SIG_ZIP64_EOCD_LOC));this.write(ie.LONG_ZERO);this.write(oe.getEightBytes(this._archive.centralOffset+this._archive.centralLength));this.write(oe.getLongBytes(1))};ae.prototype._writeCentralFileHeader=function(i){var d=i.getGeneralPurposeBit();var p=i.getMethod();var v=i._offsets.file;var V=i.getSize();var K=i.getCompressedSize();if(i.isZip64()||v>ie.ZIP64_MAGIC){V=ie.ZIP64_MAGIC;K=ie.ZIP64_MAGIC;v=ie.ZIP64_MAGIC;i.setVersionNeededToExtract(ie.MIN_VERSION_ZIP64);var ee=Buffer.concat([oe.getShortBytes(ie.ZIP64_EXTRA_ID),oe.getShortBytes(24),oe.getEightBytes(i.getSize()),oe.getEightBytes(i.getCompressedSize()),oe.getEightBytes(i._offsets.file)],28);i.setExtra(ee)}this.write(oe.getLongBytes(ie.SIG_CFH));this.write(oe.getShortBytes(i.getPlatform()<<8|ie.VERSION_MADEBY));this.write(oe.getShortBytes(i.getVersionNeededToExtract()));this.write(d.encode());this.write(oe.getShortBytes(p));this.write(oe.getLongBytes(i.getTimeDos()));this.write(oe.getLongBytes(i.getCrc()));this.write(oe.getLongBytes(K));this.write(oe.getLongBytes(V));var te=i.getName();var re=i.getComment();var ne=i.getCentralDirectoryExtra();if(d.usesUTF8ForNames()){te=Buffer.from(te);re=Buffer.from(re)}this.write(oe.getShortBytes(te.length));this.write(oe.getShortBytes(ne.length));this.write(oe.getShortBytes(re.length));this.write(ie.SHORT_ZERO);this.write(oe.getShortBytes(i.getInternalAttributes()));this.write(oe.getLongBytes(i.getExternalAttributes()));this.write(oe.getLongBytes(v));this.write(te);this.write(ne);this.write(re)};ae.prototype._writeDataDescriptor=function(i){this.write(oe.getLongBytes(ie.SIG_DD));this.write(oe.getLongBytes(i.getCrc()));if(i.isZip64()){this.write(oe.getEightBytes(i.getCompressedSize()));this.write(oe.getEightBytes(i.getSize()))}else{this.write(oe.getLongBytes(i.getCompressedSize()));this.write(oe.getLongBytes(i.getSize()))}};ae.prototype._writeLocalFileHeader=function(i){var d=i.getGeneralPurposeBit();var p=i.getMethod();var v=i.getName();var V=i.getLocalFileDataExtra();if(i.isZip64()){d.useDataDescriptor(true);i.setVersionNeededToExtract(ie.MIN_VERSION_ZIP64)}if(d.usesUTF8ForNames()){v=Buffer.from(v)}i._offsets.file=this.offset;this.write(oe.getLongBytes(ie.SIG_LFH));this.write(oe.getShortBytes(i.getVersionNeededToExtract()));this.write(d.encode());this.write(oe.getShortBytes(p));this.write(oe.getLongBytes(i.getTimeDos()));i._offsets.data=this.offset;if(d.usesDataDescriptor()){this.write(ie.LONG_ZERO);this.write(ie.LONG_ZERO);this.write(ie.LONG_ZERO)}else{this.write(oe.getLongBytes(i.getCrc()));this.write(oe.getLongBytes(i.getCompressedSize()));this.write(oe.getLongBytes(i.getSize()))}this.write(oe.getShortBytes(v.length));this.write(oe.getShortBytes(V.length));this.write(v);this.write(V);i._offsets.contents=this.offset};ae.prototype.getComment=function(i){return this._archive.comment!==null?this._archive.comment:""};ae.prototype.isZip64=function(){return this._archive.forceZip64||this._entries.length>ie.ZIP64_MAGIC_SHORT||this._archive.centralLength>ie.ZIP64_MAGIC||this._archive.centralOffset>ie.ZIP64_MAGIC};ae.prototype.setComment=function(i){this._archive.comment=i}},47544:(i,d,p)=>{i.exports={ArchiveEntry:p(96070),ZipArchiveEntry:p(73380),ArchiveOutputStream:p(36306),ZipArchiveOutputStream:p(82132)}},18300:(i,d,p)=>{var v=p(2203).Stream;var V=p(29963).PassThrough;var K=p(96543);var ee=i.exports={};ee.normalizeInputSource=function(i){if(i===null){return Buffer.alloc(0)}else if(typeof i==="string"){return Buffer.from(i)}else if(K(i)&&!i._readableState){var d=new V;i.pipe(d);return d}return i}},97087:i=>{i.exports=function(i,p){var v=[];for(var V=0;V{function isArray(i){if(Array.isArray){return Array.isArray(i)}return objectToString(i)==="[object Array]"}d.isArray=isArray;function isBoolean(i){return typeof i==="boolean"}d.isBoolean=isBoolean;function isNull(i){return i===null}d.isNull=isNull;function isNullOrUndefined(i){return i==null}d.isNullOrUndefined=isNullOrUndefined;function isNumber(i){return typeof i==="number"}d.isNumber=isNumber;function isString(i){return typeof i==="string"}d.isString=isString;function isSymbol(i){return typeof i==="symbol"}d.isSymbol=isSymbol;function isUndefined(i){return i===void 0}d.isUndefined=isUndefined;function isRegExp(i){return objectToString(i)==="[object RegExp]"}d.isRegExp=isRegExp;function isObject(i){return typeof i==="object"&&i!==null}d.isObject=isObject;function isDate(i){return objectToString(i)==="[object Date]"}d.isDate=isDate;function isError(i){return objectToString(i)==="[object Error]"||i instanceof Error}d.isError=isError;function isFunction(i){return typeof i==="function"}d.isFunction=isFunction;function isPrimitive(i){return i===null||typeof i==="boolean"||typeof i==="number"||typeof i==="string"||typeof i==="symbol"||typeof i==="undefined"}d.isPrimitive=isPrimitive;d.isBuffer=p(20181).Buffer.isBuffer;function objectToString(i){return Object.prototype.toString.call(i)}},84891:(i,d)=>{ +var v=p(41622);var V=p(53296);var Zip=function(i){if(!(this instanceof Zip)){return new Zip(i)}i=this.options=V.defaults(i,{comment:"",forceUTC:false,namePrependSlash:false,store:false});this.supports={directory:true,symlink:true};this.engine=new v(i)};Zip.prototype.append=function(i,d,p){this.engine.entry(i,d,p)};Zip.prototype.finalize=function(){this.engine.finalize()};Zip.prototype.on=function(){return this.engine.on.apply(this.engine,arguments)};Zip.prototype.pipe=function(){return this.engine.pipe.apply(this.engine,arguments)};Zip.prototype.unpipe=function(){return this.engine.unpipe.apply(this.engine,arguments)};i.exports=Zip},97329:function(i,d){(function(i,p){true?p(d):0})(this,(function(i){"use strict";function apply(i,...d){return(...p)=>i(...d,...p)}function initialParams(i){return function(...d){var p=d.pop();return i.call(this,d,p)}}var d=typeof queueMicrotask==="function"&&queueMicrotask;var p=typeof setImmediate==="function"&&setImmediate;var v=typeof process==="object"&&typeof process.nextTick==="function";function fallback(i){setTimeout(i,0)}function wrap(i){return(d,...p)=>i((()=>d(...p)))}var V;if(d){V=queueMicrotask}else if(p){V=setImmediate}else if(v){V=process.nextTick}else{V=fallback}var K=wrap(V);function asyncify(i){if(isAsync(i)){return function(...d){const p=d.pop();const v=i.apply(this,d);return handlePromise(v,p)}}return initialParams((function(d,p){var v;try{v=i.apply(this,d)}catch(i){return p(i)}if(v&&typeof v.then==="function"){return handlePromise(v,p)}else{p(null,v)}}))}function handlePromise(i,d){return i.then((i=>{invokeCallback(d,null,i)}),(i=>{invokeCallback(d,i&&(i instanceof Error||i.message)?i:new Error(i))}))}function invokeCallback(i,d,p){try{i(d,p)}catch(i){K((i=>{throw i}),i)}}function isAsync(i){return i[Symbol.toStringTag]==="AsyncFunction"}function isAsyncGenerator(i){return i[Symbol.toStringTag]==="AsyncGenerator"}function isAsyncIterable(i){return typeof i[Symbol.asyncIterator]==="function"}function wrapAsync(i){if(typeof i!=="function")throw new Error("expected a function");return isAsync(i)?asyncify(i):i}function awaitify(i,d){if(!d)d=i.length;if(!d)throw new Error("arity is undefined");function awaitable(...p){if(typeof p[d-1]==="function"){return i.apply(this,p)}return new Promise(((v,V)=>{p[d-1]=(i,...d)=>{if(i)return V(i);v(d.length>1?d:d[0])};i.apply(this,p)}))}return awaitable}function applyEach$1(i){return function applyEach(d,...p){const v=awaitify((function(v){var V=this;return i(d,((i,d)=>{wrapAsync(i).apply(V,p.concat(d))}),v)}));return v}}function _asyncMap(i,d,p,v){d=d||[];var V=[];var K=0;var ee=wrapAsync(p);return i(d,((i,d,p)=>{var v=K++;ee(i,((i,d)=>{V[v]=d;p(i)}))}),(i=>{v(i,V)}))}function isArrayLike(i){return i&&typeof i.length==="number"&&i.length>=0&&i.length%1===0}const ee={};var te=ee;function once(i){function wrapper(...d){if(i===null)return;var p=i;i=null;p.apply(this,d)}Object.assign(wrapper,i);return wrapper}function getIterator(i){return i[Symbol.iterator]&&i[Symbol.iterator]()}function createArrayIterator(i){var d=-1;var p=i.length;return function next(){return++d=d||ee||V)return;ee=true;i.next().then((({value:i,done:d})=>{if(K||V)return;ee=false;if(d){V=true;if(re<=0){v(null)}return}re++;p(i,ne,iterateeCallback);ne++;replenish()})).catch(handleError)}function iterateeCallback(i,d){re-=1;if(K)return;if(i)return handleError(i);if(i===false){V=true;K=true;return}if(d===te||V&&re<=0){V=true;return v(null)}replenish()}function handleError(i){if(K)return;ee=false;V=true;v(i)}replenish()}var eachOfLimit$2=i=>(d,p,v)=>{v=once(v);if(i<=0){throw new RangeError("concurrency limit cannot be less than 1")}if(!d){return v(null)}if(isAsyncGenerator(d)){return asyncEachOfLimit(d,i,p,v)}if(isAsyncIterable(d)){return asyncEachOfLimit(d[Symbol.asyncIterator](),i,p,v)}var V=createIterator(d);var K=false;var ee=false;var re=0;var ne=false;function iterateeCallback(i,d){if(ee)return;re-=1;if(i){K=true;v(i)}else if(i===false){K=true;ee=true}else if(d===te||K&&re<=0){K=true;return v(null)}else if(!ne){replenish()}}function replenish(){ne=true;while(re1?v:v[0])}callback[ce]=new Promise(((p,v)=>{i=p,d=v}));return callback}function auto(i,d,p){if(typeof d!=="number"){p=d;d=null}p=once(p||promiseCallback());var v=Object.keys(i).length;if(!v){return p(null)}if(!d){d=v}var V={};var K=0;var ee=false;var te=false;var re=Object.create(null);var ne=[];var se=[];var ie={};Object.keys(i).forEach((d=>{var p=i[d];if(!Array.isArray(p)){enqueueTask(d,[p]);se.push(d);return}var v=p.slice(0,p.length-1);var V=v.length;if(V===0){enqueueTask(d,p);se.push(d);return}ie[d]=V;v.forEach((K=>{if(!i[K]){throw new Error("async.auto task `"+d+"` has a non-existent dependency `"+K+"` in "+v.join(", "))}addListener(K,(()=>{V--;if(V===0){enqueueTask(d,p)}}))}))}));checkForDeadlocks();processQueue();function enqueueTask(i,d){ne.push((()=>runTask(i,d)))}function processQueue(){if(ee)return;if(ne.length===0&&K===0){return p(null,V)}while(ne.length&&Ki()));processQueue()}function runTask(i,d){if(te)return;var v=onlyOnce(((d,...v)=>{K--;if(d===false){ee=true;return}if(v.length<2){[v]=v}if(d){var ne={};Object.keys(V).forEach((i=>{ne[i]=V[i]}));ne[i]=v;te=true;re=Object.create(null);if(ee)return;p(d,ne)}else{V[i]=v;taskComplete(i)}}));K++;var ne=wrapAsync(d[d.length-1]);if(d.length>1){ne(V,v)}else{ne(v)}}function checkForDeadlocks(){var i;var d=0;while(se.length){i=se.pop();d++;getDependents(i).forEach((i=>{if(--ie[i]===0){se.push(i)}}))}if(d!==v){throw new Error("async.auto cannot execute tasks due to a recursive dependency")}}function getDependents(d){var p=[];Object.keys(i).forEach((v=>{const V=i[v];if(Array.isArray(V)&&V.indexOf(d)>=0){p.push(v)}}));return p}return p[ce]}var le=/^(?:async\s+)?(?:function)?\s*\w*\s*\(\s*([^)]+)\s*\)(?:\s*{)/;var ue=/^(?:async\s+)?\(?\s*([^)=]+)\s*\)?(?:\s*=>)/;var de=/,/;var he=/(=.+)?(\s*)$/;function stripComments(i){let d="";let p=0;let v=i.indexOf("*/");while(pi.replace(he,"").trim()))}function autoInject(i,d){var p={};Object.keys(i).forEach((d=>{var v=i[d];var V;var K=isAsync(v);var ee=!K&&v.length===1||K&&v.length===0;if(Array.isArray(v)){V=[...v];v=V.pop();p[d]=V.concat(V.length>0?newTask:v)}else if(ee){p[d]=v}else{V=parseParams(v);if(v.length===0&&!K&&V.length===0){throw new Error("autoInject task functions require explicit parameters.")}if(!K)V.pop();p[d]=V.concat(newTask)}function newTask(i,d){var p=V.map((d=>i[d]));p.push(d);wrapAsync(v)(...p)}}));return auto(p,d)}class DLL{constructor(){this.head=this.tail=null;this.length=0}removeLink(i){if(i.prev)i.prev.next=i.next;else this.head=i.next;if(i.next)i.next.prev=i.prev;else this.tail=i.prev;i.prev=i.next=null;this.length-=1;return i}empty(){while(this.head)this.shift();return this}insertAfter(i,d){d.prev=i;d.next=i.next;if(i.next)i.next.prev=d;else this.tail=d;i.next=d;this.length+=1}insertBefore(i,d){d.prev=i.prev;d.next=i;if(i.prev)i.prev.next=d;else this.head=d;i.prev=d;this.length+=1}unshift(i){if(this.head)this.insertBefore(this.head,i);else setInitial(this,i)}push(i){if(this.tail)this.insertAfter(this.tail,i);else setInitial(this,i)}shift(){return this.head&&this.removeLink(this.head)}pop(){return this.tail&&this.removeLink(this.tail)}toArray(){return[...this]}*[Symbol.iterator](){var i=this.head;while(i){yield i.data;i=i.next}}remove(i){var d=this.head;while(d){var{next:p}=d;if(i(d)){this.removeLink(d)}d=p}return this}}function setInitial(i,d){i.length=1;i.head=i.tail=d}function queue$1(i,d,p){if(d==null){d=1}else if(d===0){throw new RangeError("Concurrency must not be zero")}var v=wrapAsync(i);var V=0;var ee=[];const te={error:[],drain:[],saturated:[],unsaturated:[],empty:[]};function on(i,d){te[i].push(d)}function once(i,d){const handleAndRemove=(...p)=>{off(i,handleAndRemove);d(...p)};te[i].push(handleAndRemove)}function off(i,d){if(!i)return Object.keys(te).forEach((i=>te[i]=[]));if(!d)return te[i]=[];te[i]=te[i].filter((i=>i!==d))}function trigger(i,...d){te[i].forEach((i=>i(...d)))}var re=false;function _insert(i,d,p,v){if(v!=null&&typeof v!=="function"){throw new Error("task callback must be a function")}se.started=true;var V,ee;function promiseCallback(i,...d){if(i)return p?ee(i):V();if(d.length<=1)return V(d[0]);V(d)}var te=se._createTaskItem(i,p?promiseCallback:v||promiseCallback);if(d){se._tasks.unshift(te)}else{se._tasks.push(te)}if(!re){re=true;K((()=>{re=false;se.process()}))}if(p||!v){return new Promise(((i,d)=>{V=i;ee=d}))}}function _createCB(i){return function(d,...p){V-=1;for(var v=0,K=i.length;v0){ee.splice(re,1)}te.callback(d,...p);if(d!=null){trigger("error",d,te.data)}}if(V<=se.concurrency-se.buffer){trigger("unsaturated")}if(se.idle()){trigger("drain")}se.process()}}function _maybeDrain(i){if(i.length===0&&se.idle()){K((()=>trigger("drain")));return true}return false}const eventMethod=i=>d=>{if(!d){return new Promise(((d,p)=>{once(i,((i,v)=>{if(i)return p(i);d(v)}))}))}off(i);on(i,d)};var ne=false;var se={_tasks:new DLL,_createTaskItem(i,d){return{data:i,callback:d}},*[Symbol.iterator](){yield*se._tasks[Symbol.iterator]()},concurrency:d,payload:p,buffer:d/4,started:false,paused:false,push(i,d){if(Array.isArray(i)){if(_maybeDrain(i))return;return i.map((i=>_insert(i,false,false,d)))}return _insert(i,false,false,d)},pushAsync(i,d){if(Array.isArray(i)){if(_maybeDrain(i))return;return i.map((i=>_insert(i,false,true,d)))}return _insert(i,false,true,d)},kill(){off();se._tasks.empty()},unshift(i,d){if(Array.isArray(i)){if(_maybeDrain(i))return;return i.map((i=>_insert(i,true,false,d)))}return _insert(i,true,false,d)},unshiftAsync(i,d){if(Array.isArray(i)){if(_maybeDrain(i))return;return i.map((i=>_insert(i,true,true,d)))}return _insert(i,true,true,d)},remove(i){se._tasks.remove(i)},process(){if(ne){return}ne=true;while(!se.paused&&V{V(d,i,((i,p)=>{d=p;v(i)}))}),(i=>v(i,d)))}var fe=awaitify(reduce,4);function seq(...i){var d=i.map(wrapAsync);return function(...i){var p=this;var v=i[i.length-1];if(typeof v=="function"){i.pop()}else{v=promiseCallback()}fe(d,i,((i,d,v)=>{d.apply(p,i.concat(((i,...d)=>{v(i,d)})))}),((i,d)=>v(i,...d)));return v[ce]}}function compose(...i){return seq(...i.reverse())}function mapLimit(i,d,p,v){return _asyncMap(eachOfLimit$2(d),i,p,v)}var ge=awaitify(mapLimit,4);function concatLimit(i,d,p,v){var V=wrapAsync(p);return ge(i,d,((i,d)=>{V(i,((i,...p)=>{if(i)return d(i);return d(i,p)}))}),((i,d)=>{var p=[];for(var V=0;V{var ee=false;var re;const ne=wrapAsync(V);p(v,((p,v,V)=>{ne(p,((v,K)=>{if(v||v===false)return V(v);if(i(K)&&!re){ee=true;re=d(true,p);return V(null,te)}V()}))}),(i=>{if(i)return K(i);K(null,ee?re:d(false))}))}}function detect(i,d,p){return _createTester((i=>i),((i,d)=>d))(ne,i,d,p)}var Ce=awaitify(detect,3);function detectLimit(i,d,p,v){return _createTester((i=>i),((i,d)=>d))(eachOfLimit$2(d),i,p,v)}var ye=awaitify(detectLimit,4);function detectSeries(i,d,p){return _createTester((i=>i),((i,d)=>d))(eachOfLimit$2(1),i,d,p)}var Ie=awaitify(detectSeries,3);function consoleFunc(i){return(d,...p)=>wrapAsync(d)(...p,((d,...p)=>{if(typeof console==="object"){if(d){if(console.error){console.error(d)}}else if(console[i]){p.forEach((d=>console[i](d)))}}}))}var Be=consoleFunc("dir");function doWhilst(i,d,p){p=onlyOnce(p);var v=wrapAsync(i);var V=wrapAsync(d);var K;function next(i,...d){if(i)return p(i);if(i===false)return;K=d;V(...d,check)}function check(i,d){if(i)return p(i);if(i===false)return;if(!d)return p(null,...K);v(next)}return check(null,true)}var Qe=awaitify(doWhilst,3);function doUntil(i,d,p){const v=wrapAsync(d);return Qe(i,((...i)=>{const d=i.pop();v(...i,((i,p)=>d(i,!p)))}),p)}function _withoutIndex(i){return(d,p,v)=>i(d,v)}function eachLimit$2(i,d,p){return ne(i,_withoutIndex(wrapAsync(d)),p)}var be=awaitify(eachLimit$2,3);function eachLimit(i,d,p,v){return eachOfLimit$2(d)(i,_withoutIndex(wrapAsync(p)),v)}var we=awaitify(eachLimit,4);function eachSeries(i,d,p){return we(i,1,d,p)}var Se=awaitify(eachSeries,3);function ensureAsync(i){if(isAsync(i))return i;return function(...d){var p=d.pop();var v=true;d.push(((...i)=>{if(v){K((()=>p(...i)))}else{p(...i)}}));i.apply(this,d);v=false}}function every(i,d,p){return _createTester((i=>!i),(i=>!i))(ne,i,d,p)}var Re=awaitify(every,3);function everyLimit(i,d,p,v){return _createTester((i=>!i),(i=>!i))(eachOfLimit$2(d),i,p,v)}var ve=awaitify(everyLimit,4);function everySeries(i,d,p){return _createTester((i=>!i),(i=>!i))(oe,i,d,p)}var ke=awaitify(everySeries,3);function filterArray(i,d,p,v){var V=new Array(d.length);i(d,((i,d,v)=>{p(i,((i,p)=>{V[d]=!!p;v(i)}))}),(i=>{if(i)return v(i);var p=[];for(var K=0;K{p(i,((p,K)=>{if(p)return v(p);if(K){V.push({index:d,value:i})}v(p)}))}),(i=>{if(i)return v(i);v(null,V.sort(((i,d)=>i.index-d.index)).map((i=>i.value)))}))}function _filter(i,d,p,v){var V=isArrayLike(d)?filterArray:filterGeneric;return V(i,d,wrapAsync(p),v)}function filter(i,d,p){return _filter(ne,i,d,p)}var Te=awaitify(filter,3);function filterLimit(i,d,p,v){return _filter(eachOfLimit$2(d),i,p,v)}var Ne=awaitify(filterLimit,4);function filterSeries(i,d,p){return _filter(oe,i,d,p)}var De=awaitify(filterSeries,3);function forever(i,d){var p=onlyOnce(d);var v=wrapAsync(ensureAsync(i));function next(i){if(i)return p(i);if(i===false)return;v(next)}return next()}var xe=awaitify(forever,2);function groupByLimit(i,d,p,v){var V=wrapAsync(p);return ge(i,d,((i,d)=>{V(i,((p,v)=>{if(p)return d(p);return d(p,{key:v,val:i})}))}),((i,d)=>{var p={};var{hasOwnProperty:V}=Object.prototype;for(var K=0;K{K(i,d,((i,v)=>{if(i)return p(i);V[d]=v;p(i)}))}),(i=>v(i,V)))}var Le=awaitify(mapValuesLimit,4);function mapValues(i,d,p){return Le(i,Infinity,d,p)}function mapValuesSeries(i,d,p){return Le(i,1,d,p)}function memoize(i,d=i=>i){var p=Object.create(null);var v=Object.create(null);var V=wrapAsync(i);var ee=initialParams(((i,ee)=>{var te=d(...i);if(te in p){K((()=>ee(null,...p[te])))}else if(te in v){v[te].push(ee)}else{v[te]=[ee];V(...i,((i,...d)=>{if(!i){p[te]=d}var V=v[te];delete v[te];for(var K=0,ee=V.length;K{var v=isArrayLike(d)?[]:{};i(d,((i,d,p)=>{wrapAsync(i)(((i,...V)=>{if(V.length<2){[V]=V}v[d]=V;p(i)}))}),(i=>p(i,v)))}),3);function parallel(i,d){return Ue(ne,i,d)}function parallelLimit(i,d,p){return Ue(eachOfLimit$2(d),i,p)}function queue(i,d){var p=wrapAsync(i);return queue$1(((i,d)=>{p(i[0],d)}),d,1)}class Heap{constructor(){this.heap=[];this.pushCount=Number.MIN_SAFE_INTEGER}get length(){return this.heap.length}empty(){this.heap=[];return this}percUp(i){let d;while(i>0&&smaller(this.heap[i],this.heap[d=parent(i)])){let p=this.heap[i];this.heap[i]=this.heap[d];this.heap[d]=p;i=d}}percDown(i){let d;while((d=leftChi(i))=0;i--){this.percDown(i)}return this}}function leftChi(i){return(i<<1)+1}function parent(i){return(i+1>>1)-1}function smaller(i,d){if(i.priority!==d.priority){return i.priority({data:i,priority:d,callback:p});function createDataItems(i,d){if(!Array.isArray(i)){return{data:i,priority:d}}return i.map((i=>({data:i,priority:d})))}p.push=function(i,d=0,p){return v(createDataItems(i,d),p)};p.pushAsync=function(i,d=0,p){return V(createDataItems(i,d),p)};delete p.unshift;delete p.unshiftAsync;return p}function race(i,d){d=once(d);if(!Array.isArray(i))return d(new TypeError("First argument to race must be an array of functions"));if(!i.length)return d();for(var p=0,v=i.length;p{let v={};if(i){v.error=i}if(d.length>0){var V=d;if(d.length<=1){[V]=d}v.value=V}p(null,v)}));return d.apply(this,i)}))}function reflectAll(i){var d;if(Array.isArray(i)){d=i.map(reflect)}else{d={};Object.keys(i).forEach((p=>{d[p]=reflect.call(this,i[p])}))}return d}function reject$2(i,d,p,v){const V=wrapAsync(p);return _filter(i,d,((i,d)=>{V(i,((i,p)=>{d(i,!p)}))}),v)}function reject(i,d,p){return reject$2(ne,i,d,p)}var He=awaitify(reject,3);function rejectLimit(i,d,p,v){return reject$2(eachOfLimit$2(d),i,p,v)}var Ge=awaitify(rejectLimit,4);function rejectSeries(i,d,p){return reject$2(oe,i,d,p)}var Ve=awaitify(rejectSeries,3);function constant(i){return function(){return i}}const qe=5;const Ye=0;function retry(i,d,p){var v={times:qe,intervalFunc:constant(Ye)};if(arguments.length<3&&typeof i==="function"){p=d||promiseCallback();d=i}else{parseTimes(v,i);p=p||promiseCallback()}if(typeof d!=="function"){throw new Error("Invalid arguments for async.retry")}var V=wrapAsync(d);var K=1;function retryAttempt(){V(((i,...d)=>{if(i===false)return;if(i&&K++{if(d.lengthi))(ne,i,d,p)}var je=awaitify(some,3);function someLimit(i,d,p,v){return _createTester(Boolean,(i=>i))(eachOfLimit$2(d),i,p,v)}var Je=awaitify(someLimit,4);function someSeries(i,d,p){return _createTester(Boolean,(i=>i))(oe,i,d,p)}var We=awaitify(someSeries,3);function sortBy(i,d,p){var v=wrapAsync(d);return se(i,((i,d)=>{v(i,((p,v)=>{if(p)return d(p);d(p,{value:i,criteria:v})}))}),((i,d)=>{if(i)return p(i);p(null,d.sort(comparator).map((i=>i.value)))}));function comparator(i,d){var p=i.criteria,v=d.criteria;return pv?1:0}}var ze=awaitify(sortBy,3);function timeout(i,d,p){var v=wrapAsync(i);return initialParams(((V,K)=>{var ee=false;var te;function timeoutCallback(){var d=i.name||"anonymous";var v=new Error('Callback function "'+d+'" timed out.');v.code="ETIMEDOUT";if(p){v.info=p}ee=true;K(v)}V.push(((...i)=>{if(!ee){K(...i);clearTimeout(te)}}));te=setTimeout(timeoutCallback,d);v(...V)}))}function range(i){var d=Array(i);while(i--){d[i]=i}return d}function timesLimit(i,d,p,v){var V=wrapAsync(p);return ge(range(i),d,V,v)}function times(i,d,p){return timesLimit(i,Infinity,d,p)}function timesSeries(i,d,p){return timesLimit(i,1,d,p)}function transform(i,d,p,v){if(arguments.length<=3&&typeof d==="function"){v=p;p=d;d=Array.isArray(i)?[]:{}}v=once(v||promiseCallback());var V=wrapAsync(p);ne(i,((i,p,v)=>{V(d,i,p,v)}),(i=>v(i,d)));return v[ce]}function tryEach(i,d){var p=null;var v;return Se(i,((i,d)=>{wrapAsync(i)(((i,...V)=>{if(i===false)return d(i);if(V.length<2){[v]=V}else{v=V}p=i;d(i?null:{})}))}),(()=>d(p,v)))}var $e=awaitify(tryEach);function unmemoize(i){return(...d)=>(i.unmemoized||i)(...d)}function whilst(i,d,p){p=onlyOnce(p);var v=wrapAsync(d);var V=wrapAsync(i);var K=[];function next(i,...d){if(i)return p(i);K=d;if(i===false)return;V(check)}function check(i,d){if(i)return p(i);if(i===false)return;if(!d)return p(null,...K);v(next)}return V(check)}var Ke=awaitify(whilst,3);function until(i,d,p){const v=wrapAsync(i);return Ke((i=>v(((d,p)=>i(d,!p)))),d,p)}function waterfall(i,d){d=once(d);if(!Array.isArray(i))return d(new Error("First argument to waterfall must be an array of functions"));if(!i.length)return d();var p=0;function nextTask(d){var v=wrapAsync(i[p++]);v(...d,onlyOnce(next))}function next(v,...V){if(v===false)return;if(v||p===i.length){return d(v,...V)}nextTask(V)}nextTask([])}var Xe=awaitify(waterfall);var Ze={apply:apply,applyEach:ie,applyEachSeries:Ae,asyncify:asyncify,auto:auto,autoInject:autoInject,cargo:cargo$1,cargoQueue:cargo,compose:compose,concat:me,concatLimit:pe,concatSeries:Ee,constant:constant$1,detect:Ce,detectLimit:ye,detectSeries:Ie,dir:Be,doUntil:doUntil,doWhilst:Qe,each:be,eachLimit:we,eachOf:ne,eachOfLimit:re,eachOfSeries:oe,eachSeries:Se,ensureAsync:ensureAsync,every:Re,everyLimit:ve,everySeries:ke,filter:Te,filterLimit:Ne,filterSeries:De,forever:xe,groupBy:groupBy,groupByLimit:Fe,groupBySeries:groupBySeries,log:Pe,map:se,mapLimit:ge,mapSeries:ae,mapValues:mapValues,mapValuesLimit:Le,mapValuesSeries:mapValuesSeries,memoize:memoize,nextTick:Me,parallel:parallel,parallelLimit:parallelLimit,priorityQueue:priorityQueue,queue:queue,race:Oe,reduce:fe,reduceRight:reduceRight,reflect:reflect,reflectAll:reflectAll,reject:He,rejectLimit:Ge,rejectSeries:Ve,retry:retry,retryable:retryable,seq:seq,series:series,setImmediate:K,some:je,someLimit:Je,someSeries:We,sortBy:ze,timeout:timeout,times:times,timesLimit:timesLimit,timesSeries:timesSeries,transform:transform,tryEach:$e,unmemoize:unmemoize,until:until,waterfall:Xe,whilst:Ke,all:Re,allLimit:ve,allSeries:ke,any:je,anyLimit:Je,anySeries:We,find:Ce,findLimit:ye,findSeries:Ie,flatMap:me,flatMapLimit:pe,flatMapSeries:Ee,forEach:be,forEachSeries:Se,forEachLimit:we,forEachOf:ne,forEachOfSeries:oe,forEachOfLimit:re,inject:fe,foldl:fe,foldr:reduceRight,select:Te,selectLimit:Ne,selectSeries:De,wrapSync:asyncify,during:Ke,doDuring:Qe};i.all=Re;i.allLimit=ve;i.allSeries=ke;i.any=je;i.anyLimit=Je;i.anySeries=We;i.apply=apply;i.applyEach=ie;i.applyEachSeries=Ae;i.asyncify=asyncify;i.auto=auto;i.autoInject=autoInject;i.cargo=cargo$1;i.cargoQueue=cargo;i.compose=compose;i.concat=me;i.concatLimit=pe;i.concatSeries=Ee;i.constant=constant$1;i.default=Ze;i.detect=Ce;i.detectLimit=ye;i.detectSeries=Ie;i.dir=Be;i.doDuring=Qe;i.doUntil=doUntil;i.doWhilst=Qe;i.during=Ke;i.each=be;i.eachLimit=we;i.eachOf=ne;i.eachOfLimit=re;i.eachOfSeries=oe;i.eachSeries=Se;i.ensureAsync=ensureAsync;i.every=Re;i.everyLimit=ve;i.everySeries=ke;i.filter=Te;i.filterLimit=Ne;i.filterSeries=De;i.find=Ce;i.findLimit=ye;i.findSeries=Ie;i.flatMap=me;i.flatMapLimit=pe;i.flatMapSeries=Ee;i.foldl=fe;i.foldr=reduceRight;i.forEach=be;i.forEachLimit=we;i.forEachOf=ne;i.forEachOfLimit=re;i.forEachOfSeries=oe;i.forEachSeries=Se;i.forever=xe;i.groupBy=groupBy;i.groupByLimit=Fe;i.groupBySeries=groupBySeries;i.inject=fe;i.log=Pe;i.map=se;i.mapLimit=ge;i.mapSeries=ae;i.mapValues=mapValues;i.mapValuesLimit=Le;i.mapValuesSeries=mapValuesSeries;i.memoize=memoize;i.nextTick=Me;i.parallel=parallel;i.parallelLimit=parallelLimit;i.priorityQueue=priorityQueue;i.queue=queue;i.race=Oe;i.reduce=fe;i.reduceRight=reduceRight;i.reflect=reflect;i.reflectAll=reflectAll;i.reject=He;i.rejectLimit=Ge;i.rejectSeries=Ve;i.retry=retry;i.retryable=retryable;i.select=Te;i.selectLimit=Ne;i.selectSeries=De;i.seq=seq;i.series=series;i.setImmediate=K;i.some=je;i.someLimit=Je;i.someSeries=We;i.sortBy=ze;i.timeout=timeout;i.times=times;i.timesLimit=timesLimit;i.timesSeries=timesSeries;i.transform=transform;i.tryEach=$e;i.unmemoize=unmemoize;i.until=until;i.waterfall=Xe;i.whilst=Ke;i.wrapSync=asyncify;Object.defineProperty(i,"__esModule",{value:true})}))},73057:i=>{function isBuffer(i){return Buffer.isBuffer(i)||i instanceof Uint8Array}function isEncoding(i){return Buffer.isEncoding(i)}function alloc(i,d,p){return Buffer.alloc(i,d,p)}function allocUnsafe(i){return Buffer.allocUnsafe(i)}function allocUnsafeSlow(i){return Buffer.allocUnsafeSlow(i)}function byteLength(i,d){return Buffer.byteLength(i,d)}function compare(i,d){return Buffer.compare(i,d)}function concat(i,d){return Buffer.concat(i,d)}function copy(i,d,p,v,V){return toBuffer(i).copy(d,p,v,V)}function equals(i,d){return toBuffer(i).equals(d)}function fill(i,d,p,v,V){return toBuffer(i).fill(d,p,v,V)}function from(i,d,p){return Buffer.from(i,d,p)}function includes(i,d,p,v){return toBuffer(i).includes(d,p,v)}function indexOf(i,d,p,v){return toBuffer(i).indexOf(d,p,v)}function lastIndexOf(i,d,p,v){return toBuffer(i).lastIndexOf(d,p,v)}function swap16(i){return toBuffer(i).swap16()}function swap32(i){return toBuffer(i).swap32()}function swap64(i){return toBuffer(i).swap64()}function toBuffer(i){if(Buffer.isBuffer(i))return i;return Buffer.from(i.buffer,i.byteOffset,i.byteLength)}function toString(i,d,p,v){return toBuffer(i).toString(d,p,v)}function write(i,d,p,v,V){return toBuffer(i).write(d,p,v,V)}function writeDoubleLE(i,d,p){return toBuffer(i).writeDoubleLE(d,p)}function writeFloatLE(i,d,p){return toBuffer(i).writeFloatLE(d,p)}function writeUInt32LE(i,d,p){return toBuffer(i).writeUInt32LE(d,p)}function writeInt32LE(i,d,p){return toBuffer(i).writeInt32LE(d,p)}function readDoubleLE(i,d){return toBuffer(i).readDoubleLE(d)}function readFloatLE(i,d){return toBuffer(i).readFloatLE(d)}function readUInt32LE(i,d){return toBuffer(i).readUInt32LE(d)}function readInt32LE(i,d){return toBuffer(i).readInt32LE(d)}i.exports={isBuffer:isBuffer,isEncoding:isEncoding,alloc:alloc,allocUnsafe:allocUnsafe,allocUnsafeSlow:allocUnsafeSlow,byteLength:byteLength,compare:compare,concat:concat,copy:copy,equals:equals,fill:fill,from:from,includes:includes,indexOf:indexOf,lastIndexOf:lastIndexOf,swap16:swap16,swap32:swap32,swap64:swap64,toBuffer:toBuffer,toString:toString,write:write,writeDoubleLE:writeDoubleLE,writeFloatLE:writeFloatLE,writeUInt32LE:writeUInt32LE,writeInt32LE:writeInt32LE,readDoubleLE:readDoubleLE,readFloatLE:readFloatLE,readUInt32LE:readUInt32LE,readInt32LE:readInt32LE}},59380:i=>{i.exports=balanced;function balanced(i,d,p){if(i instanceof RegExp)i=maybeMatch(i,p);if(d instanceof RegExp)d=maybeMatch(d,p);var v=range(i,d,p);return v&&{start:v[0],end:v[1],pre:p.slice(0,v[0]),body:p.slice(v[0]+i.length,v[1]),post:p.slice(v[1]+d.length)}}function maybeMatch(i,d){var p=d.match(i);return p?p[0]:null}balanced.range=range;function range(i,d,p){var v,V,K,ee,te;var re=p.indexOf(i);var ne=p.indexOf(d,re+1);var se=re;if(re>=0&&ne>0){if(i===d){return[re,ne]}v=[];K=p.length;while(se>=0&&!te){if(se==re){v.push(se);re=p.indexOf(i,se+1)}else if(v.length==1){te=[v.pop(),ne]}else{V=v.pop();if(V=0?re:ne}if(v.length){te=[K,ee]}}return te}},52732:(i,d,p)=>{var v=p(11063);var V=p(22027);var K=p(59934);var ee=Function.bind;var te=ee.bind(ee);function bindApi(i,d,p){var v=te(K,null).apply(null,p?[d,p]:[d]);i.api={remove:v};i.remove=v;["before","error","after","wrap"].forEach((function(v){var K=p?[d,v,p]:[d,v];i[v]=i.api[v]=te(V,null).apply(null,K)}))}function HookSingular(){var i="h";var d={registry:{}};var p=v.bind(null,d,i);bindApi(p,d,i);return p}function HookCollection(){var i={registry:{}};var d=v.bind(null,i);bindApi(d,i);return d}var re=false;function Hook(){if(!re){console.warn('[before-after-hook]: "Hook()" repurposing warning, use "Hook.Collection()". Read more: https://git.io/upgrade-before-after-hook-to-1.4');re=true}return HookCollection()}Hook.Singular=HookSingular.bind();Hook.Collection=HookCollection.bind();i.exports=Hook;i.exports.Hook=Hook;i.exports.Singular=Hook.Singular;i.exports.Collection=Hook.Collection},22027:i=>{i.exports=addHook;function addHook(i,d,p,v){var V=v;if(!i.registry[p]){i.registry[p]=[]}if(d==="before"){v=function(i,d){return Promise.resolve().then(V.bind(null,d)).then(i.bind(null,d))}}if(d==="after"){v=function(i,d){var p;return Promise.resolve().then(i.bind(null,d)).then((function(i){p=i;return V(p,d)})).then((function(){return p}))}}if(d==="error"){v=function(i,d){return Promise.resolve().then(i.bind(null,d)).catch((function(i){return V(i,d)}))}}i.registry[p].push({hook:v,orig:V})}},11063:i=>{i.exports=register;function register(i,d,p,v){if(typeof p!=="function"){throw new Error("method for before hook must be a function")}if(!v){v={}}if(Array.isArray(d)){return d.reverse().reduce((function(d,p){return register.bind(null,i,p,d,v)}),p)()}return Promise.resolve().then((function(){if(!i.registry[d]){return p(v)}return i.registry[d].reduce((function(i,d){return d.hook.bind(null,i,v)}),p)()}))}},59934:i=>{i.exports=removeHook;function removeHook(i,d,p){if(!i.registry[d]){return}var v=i.registry[d].map((function(i){return i.orig})).indexOf(p);if(v===-1){return}i.registry[d].splice(v,1)}},58769:(i,d,p)=>{var v=p(71710);var V=p(24434).EventEmitter;var K=p(86627);var ee=p(91259);var te=p(2203).Stream;d=i.exports=function(i,p){if(Buffer.isBuffer(i)){return d.parse(i)}var v=d.stream();if(i&&i.pipe){i.pipe(v)}else if(i){i.on(p||"data",(function(i){v.write(i)}));i.on("end",(function(){v.end()}))}return v};d.stream=function(i){if(i)return d.apply(null,arguments);var p=null;function getBytes(i,d,v){p={bytes:i,skip:v,cb:function(i){p=null;d(i)}};dispatch()}var re=null;function dispatch(){if(!p){if(ae)oe=true;return}if(typeof p==="function"){p()}else{var i=re+p.bytes;if(se.length>=i){var d;if(re==null){d=se.splice(0,i);if(!p.skip){d=d.slice()}}else{if(!p.skip){d=se.slice(re,i)}re=i}if(p.skip){p.cb()}else{p.cb(d)}}}}function builder(i){function next(){if(!oe)i.next()}var d=words((function(i,d){return function(p){getBytes(i,(function(i){ie.set(p,d(i));next()}))}}));d.tap=function(d){i.nest(d,ie.store)};d.into=function(d,p){if(!ie.get(d))ie.set(d,{});var v=ie;ie=ee(v.get(d));i.nest((function(){p.apply(this,arguments);this.tap((function(){ie=v}))}),ie.store)};d.flush=function(){ie.store={};next()};d.loop=function(d){var p=false;i.nest(false,(function loop(){this.vars=ie.store;d.call(this,(function(){p=true;next()}),ie.store);this.tap(function(){if(p)i.next();else loop.call(this)}.bind(this))}),ie.store)};d.buffer=function(i,d){if(typeof d==="string"){d=ie.get(d)}getBytes(d,(function(d){ie.set(i,d);next()}))};d.skip=function(i){if(typeof i==="string"){i=ie.get(i)}getBytes(i,(function(){next()}))};d.scan=function find(i,d){if(typeof d==="string"){d=new Buffer(d)}else if(!Buffer.isBuffer(d)){throw new Error("search must be a Buffer or a string")}var v=0;p=function(){var V=se.indexOf(d,re+v);var K=V-re-v;if(V!==-1){p=null;if(re!=null){ie.set(i,se.slice(re,re+v+K));re+=v+K+d.length}else{ie.set(i,se.slice(0,v+K));se.splice(0,v+K+d.length)}next();dispatch()}else{K=Math.max(se.length-d.length-re-v,0)}v+=K};dispatch()};d.peek=function(d){re=0;i.nest((function(){d.call(this,ie.store);this.tap((function(){re=null}))}))};return d}var ne=v.light(builder);ne.writable=true;var se=K();ne.write=function(i){se.push(i);dispatch()};var ie=ee();var oe=false,ae=false;ne.end=function(){ae=true};ne.pipe=te.prototype.pipe;Object.getOwnPropertyNames(V.prototype).forEach((function(i){ne[i]=V.prototype[i]}));return ne};d.parse=function parse(i){var d=words((function(V,K){return function(ee){if(p+V<=i.length){var te=i.slice(p,p+V);p+=V;v.set(ee,K(te))}else{v.set(ee,null)}return d}}));var p=0;var v=ee();d.vars=v.store;d.tap=function(i){i.call(d,v.store);return d};d.into=function(i,p){if(!v.get(i)){v.set(i,{})}var V=v;v=ee(V.get(i));p.call(d,v.store);v=V;return d};d.loop=function(i){var p=false;var ender=function(){p=true};while(p===false){i.call(d,ender,v.store)}return d};d.buffer=function(V,K){if(typeof K==="string"){K=v.get(K)}var ee=i.slice(p,Math.min(i.length,p+K));p+=K;v.set(V,ee);return d};d.skip=function(i){if(typeof i==="string"){i=v.get(i)}p+=i;return d};d.scan=function(V,K){if(typeof K==="string"){K=new Buffer(K)}else if(!Buffer.isBuffer(K)){throw new Error("search must be a Buffer or a string")}v.set(V,null);for(var ee=0;ee+p<=i.length-K.length+1;ee++){for(var te=0;te=i.length};return d};function decodeLEu(i){var d=0;for(var p=0;p{i.exports=function(i){function getset(i,p){var v=d.store;var V=i.split(".");V.slice(0,-1).forEach((function(i){if(v[i]===undefined)v[i]={};v=v[i]}));var K=V[V.length-1];if(arguments.length==1){return v[K]}else{return v[K]=p}}var d={get:function(i){return getset(i)},set:function(i,d){return getset(i,d)},store:i||{}};return d}},63251:function(i){(function(d,p){true?i.exports=p():0})(this,(function(){"use strict";var i=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};function getCjsExportFromNamespace(i){return i&&i["default"]||i}var load=function(i,d,p={}){var v,V,K;for(v in d){K=d[v];p[v]=(V=i[v])!=null?V:K}return p};var overwrite=function(i,d,p={}){var v,V;for(v in i){V=i[v];if(d[v]!==void 0){p[v]=V}}return p};var d={load:load,overwrite:overwrite};var p;p=class DLList{constructor(i,d){this.incr=i;this.decr=d;this._first=null;this._last=null;this.length=0}push(i){var d;this.length++;if(typeof this.incr==="function"){this.incr()}d={value:i,prev:this._last,next:null};if(this._last!=null){this._last.next=d;this._last=d}else{this._first=this._last=d}return void 0}shift(){var i;if(this._first==null){return}else{this.length--;if(typeof this.decr==="function"){this.decr()}}i=this._first.value;if((this._first=this._first.next)!=null){this._first.prev=null}else{this._last=null}return i}first(){if(this._first!=null){return this._first.value}}getArray(){var i,d,p;i=this._first;p=[];while(i!=null){p.push((d=i,i=i.next,d.value))}return p}forEachShift(i){var d;d=this.shift();while(d!=null){i(d),d=this.shift()}return void 0}debug(){var i,d,p,v,V;i=this._first;V=[];while(i!=null){V.push((d=i,i=i.next,{value:d.value,prev:(p=d.prev)!=null?p.value:void 0,next:(v=d.next)!=null?v.value:void 0}))}return V}};var v=p;var V;V=class Events{constructor(i){this.instance=i;this._events={};if(this.instance.on!=null||this.instance.once!=null||this.instance.removeAllListeners!=null){throw new Error("An Emitter already exists for this object")}this.instance.on=(i,d)=>this._addListener(i,"many",d);this.instance.once=(i,d)=>this._addListener(i,"once",d);this.instance.removeAllListeners=(i=null)=>{if(i!=null){return delete this._events[i]}else{return this._events={}}}}_addListener(i,d,p){var v;if((v=this._events)[i]==null){v[i]=[]}this._events[i].push({cb:p,status:d});return this.instance}listenerCount(i){if(this._events[i]!=null){return this._events[i].length}else{return 0}}async trigger(i,...d){var p,v;try{if(i!=="debug"){this.trigger("debug",`Event triggered: ${i}`,d)}if(this._events[i]==null){return}this._events[i]=this._events[i].filter((function(i){return i.status!=="none"}));v=this._events[i].map((async i=>{var p,v;if(i.status==="none"){return}if(i.status==="once"){i.status="none"}try{v=typeof i.cb==="function"?i.cb(...d):void 0;if(typeof(v!=null?v.then:void 0)==="function"){return await v}else{return v}}catch(i){p=i;{this.trigger("error",p)}return null}}));return(await Promise.all(v)).find((function(i){return i!=null}))}catch(i){p=i;{this.trigger("error",p)}return null}}};var K=V;var ee,te,re;ee=v;te=K;re=class Queues{constructor(i){var d;this.Events=new te(this);this._length=0;this._lists=function(){var p,v,V;V=[];for(d=p=1,v=i;1<=v?p<=v:p>=v;d=1<=v?++p:--p){V.push(new ee((()=>this.incr()),(()=>this.decr())))}return V}.call(this)}incr(){if(this._length++===0){return this.Events.trigger("leftzero")}}decr(){if(--this._length===0){return this.Events.trigger("zero")}}push(i){return this._lists[i.options.priority].push(i)}queued(i){if(i!=null){return this._lists[i].length}else{return this._length}}shiftAll(i){return this._lists.forEach((function(d){return d.forEachShift(i)}))}getFirst(i=this._lists){var d,p,v;for(d=0,p=i.length;d0){return v}}return[]}shiftLastFrom(i){return this.getFirst(this._lists.slice(i).reverse()).shift()}};var ne=re;var se;se=class BottleneckError extends Error{};var ie=se;var oe,ae,Ae,ce,le;ce=10;ae=5;le=d;oe=ie;Ae=class Job{constructor(i,d,p,v,V,K,ee,te){this.task=i;this.args=d;this.rejectOnDrop=V;this.Events=K;this._states=ee;this.Promise=te;this.options=le.load(p,v);this.options.priority=this._sanitizePriority(this.options.priority);if(this.options.id===v.id){this.options.id=`${this.options.id}-${this._randomIndex()}`}this.promise=new this.Promise(((i,d)=>{this._resolve=i;this._reject=d}));this.retryCount=0}_sanitizePriority(i){var d;d=~~i!==i?ae:i;if(d<0){return 0}else if(d>ce-1){return ce-1}else{return d}}_randomIndex(){return Math.random().toString(36).slice(2)}doDrop({error:i,message:d="This job has been dropped by Bottleneck"}={}){if(this._states.remove(this.options.id)){if(this.rejectOnDrop){this._reject(i!=null?i:new oe(d))}this.Events.trigger("dropped",{args:this.args,options:this.options,task:this.task,promise:this.promise});return true}else{return false}}_assertStatus(i){var d;d=this._states.jobStatus(this.options.id);if(!(d===i||i==="DONE"&&d===null)){throw new oe(`Invalid job status ${d}, expected ${i}. Please open an issue at https://github.com/SGrondin/bottleneck/issues`)}}doReceive(){this._states.start(this.options.id);return this.Events.trigger("received",{args:this.args,options:this.options})}doQueue(i,d){this._assertStatus("RECEIVED");this._states.next(this.options.id);return this.Events.trigger("queued",{args:this.args,options:this.options,reachedHWM:i,blocked:d})}doRun(){if(this.retryCount===0){this._assertStatus("QUEUED");this._states.next(this.options.id)}else{this._assertStatus("EXECUTING")}return this.Events.trigger("scheduled",{args:this.args,options:this.options})}async doExecute(i,d,p,v){var V,K,ee;if(this.retryCount===0){this._assertStatus("RUNNING");this._states.next(this.options.id)}else{this._assertStatus("EXECUTING")}K={args:this.args,options:this.options,retryCount:this.retryCount};this.Events.trigger("executing",K);try{ee=await(i!=null?i.schedule(this.options,this.task,...this.args):this.task(...this.args));if(d()){this.doDone(K);await v(this.options,K);this._assertStatus("DONE");return this._resolve(ee)}}catch(i){V=i;return this._onFailure(V,K,d,p,v)}}doExpire(i,d,p){var v,V;if(this._states.jobStatus(this.options.id==="RUNNING")){this._states.next(this.options.id)}this._assertStatus("EXECUTING");V={args:this.args,options:this.options,retryCount:this.retryCount};v=new oe(`This job timed out after ${this.options.expiration} ms.`);return this._onFailure(v,V,i,d,p)}async _onFailure(i,d,p,v,V){var K,ee;if(p()){K=await this.Events.trigger("failed",i,d);if(K!=null){ee=~~K;this.Events.trigger("retry",`Retrying ${this.options.id} after ${ee} ms`,d);this.retryCount++;return v(ee)}else{this.doDone(d);await V(this.options,d);this._assertStatus("DONE");return this._reject(i)}}}doDone(i){this._assertStatus("EXECUTING");this._states.next(this.options.id);return this.Events.trigger("done",i)}};var ue=Ae;var de,he,fe;fe=d;de=ie;he=class LocalDatastore{constructor(i,d,p){this.instance=i;this.storeOptions=d;this.clientId=this.instance._randomIndex();fe.load(p,p,this);this._nextRequest=this._lastReservoirRefresh=this._lastReservoirIncrease=Date.now();this._running=0;this._done=0;this._unblockTime=0;this.ready=this.Promise.resolve();this.clients={};this._startHeartbeat()}_startHeartbeat(){var i;if(this.heartbeat==null&&(this.storeOptions.reservoirRefreshInterval!=null&&this.storeOptions.reservoirRefreshAmount!=null||this.storeOptions.reservoirIncreaseInterval!=null&&this.storeOptions.reservoirIncreaseAmount!=null)){return typeof(i=this.heartbeat=setInterval((()=>{var i,d,p,v,V;v=Date.now();if(this.storeOptions.reservoirRefreshInterval!=null&&v>=this._lastReservoirRefresh+this.storeOptions.reservoirRefreshInterval){this._lastReservoirRefresh=v;this.storeOptions.reservoir=this.storeOptions.reservoirRefreshAmount;this.instance._drainAll(this.computeCapacity())}if(this.storeOptions.reservoirIncreaseInterval!=null&&v>=this._lastReservoirIncrease+this.storeOptions.reservoirIncreaseInterval){({reservoirIncreaseAmount:i,reservoirIncreaseMaximum:p,reservoir:V}=this.storeOptions);this._lastReservoirIncrease=v;d=p!=null?Math.min(i,p-V):i;if(d>0){this.storeOptions.reservoir+=d;return this.instance._drainAll(this.computeCapacity())}}}),this.heartbeatInterval)).unref==="function"?i.unref():void 0}else{return clearInterval(this.heartbeat)}}async __publish__(i){await this.yieldLoop();return this.instance.Events.trigger("message",i.toString())}async __disconnect__(i){await this.yieldLoop();clearInterval(this.heartbeat);return this.Promise.resolve()}yieldLoop(i=0){return new this.Promise((function(d,p){return setTimeout(d,i)}))}computePenalty(){var i;return(i=this.storeOptions.penalty)!=null?i:15*this.storeOptions.minTime||5e3}async __updateSettings__(i){await this.yieldLoop();fe.overwrite(i,i,this.storeOptions);this._startHeartbeat();this.instance._drainAll(this.computeCapacity());return true}async __running__(){await this.yieldLoop();return this._running}async __queued__(){await this.yieldLoop();return this.instance.queued()}async __done__(){await this.yieldLoop();return this._done}async __groupCheck__(i){await this.yieldLoop();return this._nextRequest+this.timeout=i}check(i,d){return this.conditionsCheck(i)&&this._nextRequest-d<=0}async __check__(i){var d;await this.yieldLoop();d=Date.now();return this.check(i,d)}async __register__(i,d,p){var v,V;await this.yieldLoop();v=Date.now();if(this.conditionsCheck(d)){this._running+=d;if(this.storeOptions.reservoir!=null){this.storeOptions.reservoir-=d}V=Math.max(this._nextRequest-v,0);this._nextRequest=v+V+this.storeOptions.minTime;return{success:true,wait:V,reservoir:this.storeOptions.reservoir}}else{return{success:false}}}strategyIsBlock(){return this.storeOptions.strategy===3}async __submit__(i,d){var p,v,V;await this.yieldLoop();if(this.storeOptions.maxConcurrent!=null&&d>this.storeOptions.maxConcurrent){throw new de(`Impossible to add a job having a weight of ${d} to a limiter having a maxConcurrent setting of ${this.storeOptions.maxConcurrent}`)}v=Date.now();V=this.storeOptions.highWater!=null&&i===this.storeOptions.highWater&&!this.check(d,v);p=this.strategyIsBlock()&&(V||this.isBlocked(v));if(p){this._unblockTime=v+this.computePenalty();this._nextRequest=this._unblockTime+this.storeOptions.minTime;this.instance._dropAllQueued()}return{reachedHWM:V,blocked:p,strategy:this.storeOptions.strategy}}async __free__(i,d){await this.yieldLoop();this._running-=d;this._done+=d;this.instance._drainAll(this.computeCapacity());return{running:this._running}}};var ge=he;var pe,me;pe=ie;me=class States{constructor(i){this.status=i;this._jobs={};this.counts=this.status.map((function(){return 0}))}next(i){var d,p;d=this._jobs[i];p=d+1;if(d!=null&&p{i[this.status[p]]=d;return i}),{})}};var Ee=me;var Ce,ye;Ce=v;ye=class Sync{constructor(i,d){this.schedule=this.schedule.bind(this);this.name=i;this.Promise=d;this._running=0;this._queue=new Ce}isEmpty(){return this._queue.length===0}async _tryToRun(){var i,d,p,v,V,K,ee;if(this._running<1&&this._queue.length>0){this._running++;({task:ee,args:i,resolve:V,reject:v}=this._queue.shift());d=await async function(){try{K=await ee(...i);return function(){return V(K)}}catch(i){p=i;return function(){return v(p)}}}();this._running--;this._tryToRun();return d()}}schedule(i,...d){var p,v,V;V=v=null;p=new this.Promise((function(i,d){V=i;return v=d}));this._queue.push({task:i,args:d,resolve:V,reject:v});this._tryToRun();return p}};var Ie=ye;var Be="2.19.5";var Qe={version:Be};var be=Object.freeze({version:Be,default:Qe});var require$$2=()=>console.log("You must import the full version of Bottleneck in order to use this feature.");var require$$3=()=>console.log("You must import the full version of Bottleneck in order to use this feature.");var require$$4=()=>console.log("You must import the full version of Bottleneck in order to use this feature.");var we,Se,Re,ve,ke,Te;Te=d;we=K;ve=require$$2;Re=require$$3;ke=require$$4;Se=function(){class Group{constructor(i={}){this.deleteKey=this.deleteKey.bind(this);this.limiterOptions=i;Te.load(this.limiterOptions,this.defaults,this);this.Events=new we(this);this.instances={};this.Bottleneck=ze;this._startAutoCleanup();this.sharedConnection=this.connection!=null;if(this.connection==null){if(this.limiterOptions.datastore==="redis"){this.connection=new ve(Object.assign({},this.limiterOptions,{Events:this.Events}))}else if(this.limiterOptions.datastore==="ioredis"){this.connection=new Re(Object.assign({},this.limiterOptions,{Events:this.Events}))}}}key(i=""){var d;return(d=this.instances[i])!=null?d:(()=>{var d;d=this.instances[i]=new this.Bottleneck(Object.assign(this.limiterOptions,{id:`${this.id}-${i}`,timeout:this.timeout,connection:this.connection}));this.Events.trigger("created",d,i);return d})()}async deleteKey(i=""){var d,p;p=this.instances[i];if(this.connection){d=await this.connection.__runCommand__(["del",...ke.allKeys(`${this.id}-${i}`)])}if(p!=null){delete this.instances[i];await p.disconnect()}return p!=null||d>0}limiters(){var i,d,p,v;d=this.instances;p=[];for(i in d){v=d[i];p.push({key:i,limiter:v})}return p}keys(){return Object.keys(this.instances)}async clusterKeys(){var i,d,p,v,V,K,ee,te,re;if(this.connection==null){return this.Promise.resolve(this.keys())}K=[];i=null;re=`b_${this.id}-`.length;d="_settings".length;while(i!==0){[te,p]=await this.connection.__runCommand__(["scan",i!=null?i:0,"match",`b_${this.id}-*_settings`,"count",1e4]);i=~~te;for(v=0,ee=p.length;v{var i,d,p,v,V,K;V=Date.now();p=this.instances;v=[];for(d in p){K=p[d];try{if(await K._store.__groupCheck__(V)){v.push(this.deleteKey(d))}else{v.push(void 0)}}catch(d){i=d;v.push(K.Events.trigger("error",i))}}return v}),this.timeout/2)).unref==="function"?i.unref():void 0}updateSettings(i={}){Te.overwrite(i,this.defaults,this);Te.overwrite(i,i,this.limiterOptions);if(i.timeout!=null){return this._startAutoCleanup()}}disconnect(i=true){var d;if(!this.sharedConnection){return(d=this.connection)!=null?d.disconnect(i):void 0}}}Group.prototype.defaults={timeout:1e3*60*5,connection:null,Promise:Promise,id:"group-key"};return Group}.call(i);var Ne=Se;var De,xe,Fe;Fe=d;xe=K;De=function(){class Batcher{constructor(i={}){this.options=i;Fe.load(this.options,this.defaults,this);this.Events=new xe(this);this._arr=[];this._resetPromise();this._lastFlush=Date.now()}_resetPromise(){return this._promise=new this.Promise(((i,d)=>this._resolve=i))}_flush(){clearTimeout(this._timeout);this._lastFlush=Date.now();this._resolve();this.Events.trigger("batch",this._arr);this._arr=[];return this._resetPromise()}add(i){var d;this._arr.push(i);d=this._promise;if(this._arr.length===this.maxSize){this._flush()}else if(this.maxTime!=null&&this._arr.length===1){this._timeout=setTimeout((()=>this._flush()),this.maxTime)}return d}}Batcher.prototype.defaults={maxTime:null,maxSize:null,Promise:Promise};return Batcher}.call(i);var Pe=De;var require$$4$1=()=>console.log("You must import the full version of Bottleneck in order to use this feature.");var Le=getCjsExportFromNamespace(be);var _e,Me,Ue,Oe,He,Ge,Ve,qe,Ye,je,Je,We=[].splice;Ge=10;Me=5;Je=d;Ve=ne;Oe=ue;He=ge;qe=require$$4$1;Ue=K;Ye=Ee;je=Ie;_e=function(){class Bottleneck{constructor(i={},...d){var p,v;this._addToQueue=this._addToQueue.bind(this);this._validateOptions(i,d);Je.load(i,this.instanceDefaults,this);this._queues=new Ve(Ge);this._scheduled={};this._states=new Ye(["RECEIVED","QUEUED","RUNNING","EXECUTING"].concat(this.trackDoneStatus?["DONE"]:[]));this._limiter=null;this.Events=new Ue(this);this._submitLock=new je("submit",this.Promise);this._registerLock=new je("register",this.Promise);v=Je.load(i,this.storeDefaults,{});this._store=function(){if(this.datastore==="redis"||this.datastore==="ioredis"||this.connection!=null){p=Je.load(i,this.redisStoreDefaults,{});return new qe(this,v,p)}else if(this.datastore==="local"){p=Je.load(i,this.localStoreDefaults,{});return new He(this,v,p)}else{throw new Bottleneck.prototype.BottleneckError(`Invalid datastore type: ${this.datastore}`)}}.call(this);this._queues.on("leftzero",(()=>{var i;return(i=this._store.heartbeat)!=null?typeof i.ref==="function"?i.ref():void 0:void 0}));this._queues.on("zero",(()=>{var i;return(i=this._store.heartbeat)!=null?typeof i.unref==="function"?i.unref():void 0:void 0}))}_validateOptions(i,d){if(!(i!=null&&typeof i==="object"&&d.length===0)){throw new Bottleneck.prototype.BottleneckError("Bottleneck v2 takes a single object argument. Refer to https://github.com/SGrondin/bottleneck#upgrading-to-v2 if you're upgrading from Bottleneck v1.")}}ready(){return this._store.ready}clients(){return this._store.clients}channel(){return`b_${this.id}`}channel_client(){return`b_${this.id}_${this._store.clientId}`}publish(i){return this._store.__publish__(i)}disconnect(i=true){return this._store.__disconnect__(i)}chain(i){this._limiter=i;return this}queued(i){return this._queues.queued(i)}clusterQueued(){return this._store.__queued__()}empty(){return this.queued()===0&&this._submitLock.isEmpty()}running(){return this._store.__running__()}done(){return this._store.__done__()}jobStatus(i){return this._states.jobStatus(i)}jobs(i){return this._states.statusJobs(i)}counts(){return this._states.statusCounts()}_randomIndex(){return Math.random().toString(36).slice(2)}check(i=1){return this._store.__check__(i)}_clearGlobalState(i){if(this._scheduled[i]!=null){clearTimeout(this._scheduled[i].expiration);delete this._scheduled[i];return true}else{return false}}async _free(i,d,p,v){var V,K;try{({running:K}=await this._store.__free__(i,p.weight));this.Events.trigger("debug",`Freed ${p.id}`,v);if(K===0&&this.empty()){return this.Events.trigger("idle")}}catch(i){V=i;return this.Events.trigger("error",V)}}_run(i,d,p){var v,V,K;d.doRun();v=this._clearGlobalState.bind(this,i);K=this._run.bind(this,i,d);V=this._free.bind(this,i,d);return this._scheduled[i]={timeout:setTimeout((()=>d.doExecute(this._limiter,v,K,V)),p),expiration:d.options.expiration!=null?setTimeout((function(){return d.doExpire(v,K,V)}),p+d.options.expiration):void 0,job:d}}_drainOne(i){return this._registerLock.schedule((()=>{var d,p,v,V,K;if(this.queued()===0){return this.Promise.resolve(null)}K=this._queues.getFirst();({options:V,args:d}=v=K.first());if(i!=null&&V.weight>i){return this.Promise.resolve(null)}this.Events.trigger("debug",`Draining ${V.id}`,{args:d,options:V});p=this._randomIndex();return this._store.__register__(p,V.weight,V.expiration).then((({success:i,wait:ee,reservoir:te})=>{var re;this.Events.trigger("debug",`Drained ${V.id}`,{success:i,args:d,options:V});if(i){K.shift();re=this.empty();if(re){this.Events.trigger("empty")}if(te===0){this.Events.trigger("depleted",re)}this._run(p,v,ee);return this.Promise.resolve(V.weight)}else{return this.Promise.resolve(null)}}))}))}_drainAll(i,d=0){return this._drainOne(i).then((p=>{var v;if(p!=null){v=i!=null?i-p:i;return this._drainAll(v,d+p)}else{return this.Promise.resolve(d)}})).catch((i=>this.Events.trigger("error",i)))}_dropAllQueued(i){return this._queues.shiftAll((function(d){return d.doDrop({message:i})}))}stop(i={}){var d,p;i=Je.load(i,this.stopDefaults);p=i=>{var d;d=()=>{var d;d=this._states.counts;return d[0]+d[1]+d[2]+d[3]===i};return new this.Promise(((i,p)=>{if(d()){return i()}else{return this.on("done",(()=>{if(d()){this.removeAllListeners("done");return i()}}))}}))};d=i.dropWaitingJobs?(this._run=function(d,p){return p.doDrop({message:i.dropErrorMessage})},this._drainOne=()=>this.Promise.resolve(null),this._registerLock.schedule((()=>this._submitLock.schedule((()=>{var d,v,V;v=this._scheduled;for(d in v){V=v[d];if(this.jobStatus(V.job.options.id)==="RUNNING"){clearTimeout(V.timeout);clearTimeout(V.expiration);V.job.doDrop({message:i.dropErrorMessage})}}this._dropAllQueued(i.dropErrorMessage);return p(0)}))))):this.schedule({priority:Ge-1,weight:0},(()=>p(1)));this._receive=function(d){return d._reject(new Bottleneck.prototype.BottleneckError(i.enqueueErrorMessage))};this.stop=()=>this.Promise.reject(new Bottleneck.prototype.BottleneckError("stop() has already been called"));return d}async _addToQueue(i){var d,p,v,V,K,ee,te;({args:d,options:V}=i);try{({reachedHWM:K,blocked:p,strategy:te}=await this._store.__submit__(this.queued(),V.weight))}catch(p){v=p;this.Events.trigger("debug",`Could not queue ${V.id}`,{args:d,options:V,error:v});i.doDrop({error:v});return false}if(p){i.doDrop();return true}else if(K){ee=te===Bottleneck.prototype.strategy.LEAK?this._queues.shiftLastFrom(V.priority):te===Bottleneck.prototype.strategy.OVERFLOW_PRIORITY?this._queues.shiftLastFrom(V.priority+1):te===Bottleneck.prototype.strategy.OVERFLOW?i:void 0;if(ee!=null){ee.doDrop()}if(ee==null||te===Bottleneck.prototype.strategy.OVERFLOW){if(ee==null){i.doDrop()}return K}}i.doQueue(K,p);this._queues.push(i);await this._drainAll();return K}_receive(i){if(this._states.jobStatus(i.options.id)!=null){i._reject(new Bottleneck.prototype.BottleneckError(`A job with the same id already exists (id=${i.options.id})`));return false}else{i.doReceive();return this._submitLock.schedule(this._addToQueue,i)}}submit(...i){var d,p,v,V,K,ee,te;if(typeof i[0]==="function"){K=i,[p,...i]=K,[d]=We.call(i,-1);V=Je.load({},this.jobDefaults)}else{ee=i,[V,p,...i]=ee,[d]=We.call(i,-1);V=Je.load(V,this.jobDefaults)}te=(...i)=>new this.Promise((function(d,v){return p(...i,(function(...i){return(i[0]!=null?v:d)(i)}))}));v=new Oe(te,i,V,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise);v.promise.then((function(i){return typeof d==="function"?d(...i):void 0})).catch((function(i){if(Array.isArray(i)){return typeof d==="function"?d(...i):void 0}else{return typeof d==="function"?d(i):void 0}}));return this._receive(v)}schedule(...i){var d,p,v;if(typeof i[0]==="function"){[v,...i]=i;p={}}else{[p,v,...i]=i}d=new Oe(v,i,p,this.jobDefaults,this.rejectOnDrop,this.Events,this._states,this.Promise);this._receive(d);return d.promise}wrap(i){var d,p;d=this.schedule.bind(this);p=function(...p){return d(i.bind(this),...p)};p.withOptions=function(p,...v){return d(p,i,...v)};return p}async updateSettings(i={}){await this._store.__updateSettings__(Je.overwrite(i,this.storeDefaults));Je.overwrite(i,this.instanceDefaults,this);return this}currentReservoir(){return this._store.__currentReservoir__()}incrementReservoir(i=0){return this._store.__incrementReservoir__(i)}}Bottleneck.default=Bottleneck;Bottleneck.Events=Ue;Bottleneck.version=Bottleneck.prototype.version=Le.version;Bottleneck.strategy=Bottleneck.prototype.strategy={LEAK:1,OVERFLOW:2,OVERFLOW_PRIORITY:4,BLOCK:3};Bottleneck.BottleneckError=Bottleneck.prototype.BottleneckError=ie;Bottleneck.Group=Bottleneck.prototype.Group=Ne;Bottleneck.RedisConnection=Bottleneck.prototype.RedisConnection=require$$2;Bottleneck.IORedisConnection=Bottleneck.prototype.IORedisConnection=require$$3;Bottleneck.Batcher=Bottleneck.prototype.Batcher=Pe;Bottleneck.prototype.jobDefaults={priority:Me,weight:1,expiration:null,id:""};Bottleneck.prototype.storeDefaults={maxConcurrent:null,minTime:0,highWater:null,strategy:Bottleneck.prototype.strategy.LEAK,penalty:null,reservoir:null,reservoirRefreshInterval:null,reservoirRefreshAmount:null,reservoirIncreaseInterval:null,reservoirIncreaseAmount:null,reservoirIncreaseMaximum:null};Bottleneck.prototype.localStoreDefaults={Promise:Promise,timeout:null,heartbeatInterval:250};Bottleneck.prototype.redisStoreDefaults={Promise:Promise,timeout:null,heartbeatInterval:5e3,clientTimeout:1e4,Redis:null,clientOptions:{},clusterNodes:null,clearDatastore:false,connection:null};Bottleneck.prototype.instanceDefaults={datastore:"local",connection:null,id:"",rejectOnDrop:true,trackDoneStatus:false,Promise:Promise};Bottleneck.prototype.stopDefaults={enqueueErrorMessage:"This limiter has been stopped and cannot accept new jobs.",dropWaitingJobs:true,dropErrorMessage:"This limiter has been stopped."};return Bottleneck}.call(i);var ze=_e;var $e=ze;return $e}))},94691:(i,d,p)=>{var v=p(59380);i.exports=expandTop;var V="\0SLASH"+Math.random()+"\0";var K="\0OPEN"+Math.random()+"\0";var ee="\0CLOSE"+Math.random()+"\0";var te="\0COMMA"+Math.random()+"\0";var re="\0PERIOD"+Math.random()+"\0";function numeric(i){return parseInt(i,10)==i?parseInt(i,10):i.charCodeAt(0)}function escapeBraces(i){return i.split("\\\\").join(V).split("\\{").join(K).split("\\}").join(ee).split("\\,").join(te).split("\\.").join(re)}function unescapeBraces(i){return i.split(V).join("\\").split(K).join("{").split(ee).join("}").split(te).join(",").split(re).join(".")}function parseCommaParts(i){if(!i)return[""];var d=[];var p=v("{","}",i);if(!p)return i.split(",");var V=p.pre;var K=p.body;var ee=p.post;var te=V.split(",");te[te.length-1]+="{"+K+"}";var re=parseCommaParts(ee);if(ee.length){te[te.length-1]+=re.shift();te.push.apply(te,re)}d.push.apply(d,te);return d}function expandTop(i){if(!i)return[];if(i.substr(0,2)==="{}"){i="\\{\\}"+i.substr(2)}return expand(escapeBraces(i),true).map(unescapeBraces)}function embrace(i){return"{"+i+"}"}function isPadded(i){return/^-?0\d/.test(i)}function lte(i,d){return i<=d}function gte(i,d){return i>=d}function expand(i,d){var p=[];var V=v("{","}",i);if(!V)return[i];var K=V.pre;var te=V.post.length?expand(V.post,false):[""];if(/\$$/.test(V.pre)){for(var re=0;re=0;if(!oe&&!ae){if(V.post.match(/,.*\}/)){i=V.pre+"{"+V.body+ee+V.post;return expand(i)}return[i]}var Ae;if(oe){Ae=V.body.split(/\.\./)}else{Ae=parseCommaParts(V.body);if(Ae.length===1){Ae=expand(Ae[0],false).map(embrace);if(Ae.length===1){return te.map((function(i){return V.pre+Ae[0]+i}))}}}var ce;if(oe){var le=numeric(Ae[0]);var ue=numeric(Ae[1]);var de=Math.max(Ae[0].length,Ae[1].length);var he=Ae.length==3?Math.abs(numeric(Ae[2])):1;var fe=lte;var ge=ue0){var ye=new Array(Ce+1).join("0");if(me<0)Ee="-"+ye+Ee.slice(1);else Ee=ye+Ee}}}ce.push(Ee)}}else{ce=[];for(var Ie=0;Ie{i.exports=Buffers;function Buffers(i){if(!(this instanceof Buffers))return new Buffers(i);this.buffers=i||[];this.length=this.buffers.reduce((function(i,d){return i+d.length}),0)}Buffers.prototype.push=function(){for(var i=0;i=0?i:this.length-i;var V=[].slice.call(arguments,2);if(d===undefined){d=this.length-v}else if(d>this.length-v){d=this.length-v}for(var i=0;i0){var ne=v-te;if(ne+d0){var ae=V.slice();ae.unshift(ie);ae.push(oe);p.splice.apply(p,[re,1].concat(ae));re+=ae.length;V=[]}else{p.splice(re,1,ie,oe);re+=2}}else{K.push(p[re].slice(ne));p[re]=p[re].slice(0,ne);re++}}if(V.length>0){p.splice.apply(p,[re,0].concat(V));re+=V.length}while(K.lengththis.length)d=this.length;var v=0;for(var V=0;V=d-i?Math.min(ne+(d-i)-ee,re):re;p[te].copy(K,ee,ne,se);ee+=se-ne}return K};Buffers.prototype.pos=function(i){if(i<0||i>=this.length)throw new Error("oob");var d=i,p=0,v=null;for(;;){v=this.buffers[p];if(d=this.buffers[p].length){v=0;p++;if(p>=this.buffers.length){return-1}}var re=this.buffers[p][v];if(re==i[V]){if(V==0){K={i:p,j:v,pos:ee}}V++;if(V==i.length){return K.pos}}else if(V!=0){p=K.i;v=K.j;ee=K.pos;V=0}v++;ee++}};Buffers.prototype.toBuffer=function(){return this.slice()};Buffers.prototype.toString=function(i,d,p){return this.slice(d,p).toString(i)}},71710:(i,d,p)=>{var v=p(62958);var V=p(24434).EventEmitter;i.exports=Chainsaw;function Chainsaw(i){var d=Chainsaw.saw(i,{});var p=i.call(d.handlers,d);if(p!==undefined)d.handlers=p;d.record();return d.chain()}Chainsaw.light=function ChainsawLight(i){var d=Chainsaw.saw(i,{});var p=i.call(d.handlers,d);if(p!==undefined)d.handlers=p;return d.chain()};Chainsaw.saw=function(i,d){var p=new V;p.handlers=d;p.actions=[];p.chain=function(){var i=v(p.handlers).map((function(d){if(this.isRoot)return d;var v=this.path;if(typeof d==="function"){this.update((function(){p.actions.push({path:v,args:[].slice.call(arguments)});return i}))}}));process.nextTick((function(){p.emit("begin");p.next()}));return i};p.pop=function(){return p.actions.shift()};p.next=function(){var i=p.pop();if(!i){p.emit("end")}else if(!i.trap){var d=p.handlers;i.path.forEach((function(i){d=d[i]}));d.apply(p.handlers,i.args)}};p.nest=function(d){var v=[].slice.call(arguments,1);var V=true;if(typeof d==="boolean"){var V=d;d=v.shift()}var K=Chainsaw.saw(i,{});var ee=i.call(K.handlers,K);if(ee!==undefined)K.handlers=ee;if("undefined"!==typeof p.step){K.record()}d.apply(K.chain(),v);if(V!==false)K.on("end",p.next)};p.record=function(){upgradeChainsaw(p)};["trap","down","jump"].forEach((function(i){p[i]=function(){throw new Error("To use the trap, down and jump features, please "+"call record() first to start recording actions.")}}));return p};function upgradeChainsaw(i){i.step=0;i.pop=function(){return i.actions[i.step++]};i.trap=function(d,p){var v=Array.isArray(d)?d:[d];i.actions.push({path:v,step:i.step,cb:p,trap:true})};i.down=function(d){var p=(Array.isArray(d)?d:[d]).join("/");var v=i.actions.slice(i.step).map((function(d){if(d.trap&&d.step<=i.step)return false;return d.path.join("/")==p})).indexOf(true);if(v>=0)i.step+=v;else i.step=i.actions.length;var V=i.actions[i.step-1];if(V&&V.trap){i.step=V.step;V.cb()}else i.next()};i.jump=function(d){i.step=d;i.next()}}},96070:i=>{var d=i.exports=function(){};d.prototype.getName=function(){};d.prototype.getSize=function(){};d.prototype.getLastModifiedDate=function(){};d.prototype.isDirectory=function(){}},36306:(i,d,p)=>{var v=p(39023).inherits;var V=p(96543);var K=p(29963).Transform;var ee=p(96070);var te=p(18300);var re=i.exports=function(i){if(!(this instanceof re)){return new re(i)}K.call(this,i);this.offset=0;this._archive={finish:false,finished:false,processing:false}};v(re,K);re.prototype._appendBuffer=function(i,d,p){};re.prototype._appendStream=function(i,d,p){};re.prototype._emitErrorCallback=function(i){if(i){this.emit("error",i)}};re.prototype._finish=function(i){};re.prototype._normalizeEntry=function(i){};re.prototype._transform=function(i,d,p){p(null,i)};re.prototype.entry=function(i,d,p){d=d||null;if(typeof p!=="function"){p=this._emitErrorCallback.bind(this)}if(!(i instanceof ee)){p(new Error("not a valid instance of ArchiveEntry"));return}if(this._archive.finish||this._archive.finished){p(new Error("unacceptable entry after finish"));return}if(this._archive.processing){p(new Error("already processing an entry"));return}this._archive.processing=true;this._normalizeEntry(i);this._entry=i;d=te.normalizeInputSource(d);if(Buffer.isBuffer(d)){this._appendBuffer(i,d,p)}else if(V(d)){this._appendStream(i,d,p)}else{this._archive.processing=false;p(new Error("input source must be valid Stream or Buffer instance"));return}return this};re.prototype.finish=function(){if(this._archive.processing){this._archive.finish=true;return}this._finish()};re.prototype.getBytesWritten=function(){return this.offset};re.prototype.write=function(i,d){if(i){this.offset+=i.length}return K.prototype.write.call(this,i,d)}},94908:i=>{i.exports={WORD:4,DWORD:8,EMPTY:Buffer.alloc(0),SHORT:2,SHORT_MASK:65535,SHORT_SHIFT:16,SHORT_ZERO:Buffer.from(Array(2)),LONG:4,LONG_ZERO:Buffer.from(Array(4)),MIN_VERSION_INITIAL:10,MIN_VERSION_DATA_DESCRIPTOR:20,MIN_VERSION_ZIP64:45,VERSION_MADEBY:45,METHOD_STORED:0,METHOD_DEFLATED:8,PLATFORM_UNIX:3,PLATFORM_FAT:0,SIG_LFH:67324752,SIG_DD:134695760,SIG_CFH:33639248,SIG_EOCD:101010256,SIG_ZIP64_EOCD:101075792,SIG_ZIP64_EOCD_LOC:117853008,ZIP64_MAGIC_SHORT:65535,ZIP64_MAGIC:4294967295,ZIP64_EXTRA_ID:1,ZLIB_NO_COMPRESSION:0,ZLIB_BEST_SPEED:1,ZLIB_BEST_COMPRESSION:9,ZLIB_DEFAULT_COMPRESSION:-1,MODE_MASK:4095,DEFAULT_FILE_MODE:33188,DEFAULT_DIR_MODE:16877,EXT_FILE_ATTR_DIR:1106051088,EXT_FILE_ATTR_FILE:2175008800,S_IFMT:61440,S_IFIFO:4096,S_IFCHR:8192,S_IFDIR:16384,S_IFBLK:24576,S_IFREG:32768,S_IFLNK:40960,S_IFSOCK:49152,S_DOS_A:32,S_DOS_D:16,S_DOS_V:8,S_DOS_S:4,S_DOS_H:2,S_DOS_R:1}},97632:(i,d,p)=>{var v=p(6453);var V=1<<3;var K=1<<0;var ee=1<<2;var te=1<<1;var re=1<<6;var ne=1<<11;var se=i.exports=function(){if(!(this instanceof se)){return new se}this.descriptor=false;this.encryption=false;this.utf8=false;this.numberOfShannonFanoTrees=0;this.strongEncryption=false;this.slidingDictionarySize=0;return this};se.prototype.encode=function(){return v.getShortBytes((this.descriptor?V:0)|(this.utf8?ne:0)|(this.encryption?K:0)|(this.strongEncryption?re:0))};se.prototype.parse=function(i,d){var p=v.getShortBytesValue(i,d);var ie=new se;ie.useDataDescriptor((p&V)!==0);ie.useUTF8ForNames((p&ne)!==0);ie.useStrongEncryption((p&re)!==0);ie.useEncryption((p&K)!==0);ie.setSlidingDictionarySize((p&te)!==0?8192:4096);ie.setNumberOfShannonFanoTrees((p&ee)!==0?3:2);return ie};se.prototype.setNumberOfShannonFanoTrees=function(i){this.numberOfShannonFanoTrees=i};se.prototype.getNumberOfShannonFanoTrees=function(){return this.numberOfShannonFanoTrees};se.prototype.setSlidingDictionarySize=function(i){this.slidingDictionarySize=i};se.prototype.getSlidingDictionarySize=function(){return this.slidingDictionarySize};se.prototype.useDataDescriptor=function(i){this.descriptor=i};se.prototype.usesDataDescriptor=function(){return this.descriptor};se.prototype.useEncryption=function(i){this.encryption=i};se.prototype.usesEncryption=function(){return this.encryption};se.prototype.useStrongEncryption=function(i){this.strongEncryption=i};se.prototype.usesStrongEncryption=function(){return this.strongEncryption};se.prototype.useUTF8ForNames=function(i){this.utf8=i};se.prototype.usesUTF8ForNames=function(){return this.utf8}},23810:i=>{i.exports={PERM_MASK:4095,FILE_TYPE_FLAG:61440,LINK_FLAG:40960,FILE_FLAG:32768,DIR_FLAG:16384,DEFAULT_LINK_PERM:511,DEFAULT_DIR_PERM:493,DEFAULT_FILE_PERM:420}},6453:i=>{var d=i.exports={};d.dateToDos=function(i,d){d=d||false;var p=d?i.getFullYear():i.getUTCFullYear();if(p<1980){return 2162688}else if(p>=2044){return 2141175677}var v={year:p,month:d?i.getMonth():i.getUTCMonth(),date:d?i.getDate():i.getUTCDate(),hours:d?i.getHours():i.getUTCHours(),minutes:d?i.getMinutes():i.getUTCMinutes(),seconds:d?i.getSeconds():i.getUTCSeconds()};return v.year-1980<<25|v.month+1<<21|v.date<<16|v.hours<<11|v.minutes<<5|v.seconds/2};d.dosToDate=function(i){return new Date((i>>25&127)+1980,(i>>21&15)-1,i>>16&31,i>>11&31,i>>5&63,(i&31)<<1)};d.fromDosTime=function(i){return d.dosToDate(i.readUInt32LE(0))};d.getEightBytes=function(i){var d=Buffer.alloc(8);d.writeUInt32LE(i%4294967296,0);d.writeUInt32LE(i/4294967296|0,4);return d};d.getShortBytes=function(i){var d=Buffer.alloc(2);d.writeUInt16LE((i&65535)>>>0,0);return d};d.getShortBytesValue=function(i,d){return i.readUInt16LE(d)};d.getLongBytes=function(i){var d=Buffer.alloc(4);d.writeUInt32LE((i&4294967295)>>>0,0);return d};d.getLongBytesValue=function(i,d){return i.readUInt32LE(d)};d.toDosTime=function(i){return d.getLongBytes(d.dateToDos(i))}},73380:(i,d,p)=>{var v=p(39023).inherits;var V=p(56133);var K=p(96070);var ee=p(97632);var te=p(23810);var re=p(94908);var ne=p(6453);var se=i.exports=function(i){if(!(this instanceof se)){return new se(i)}K.call(this);this.platform=re.PLATFORM_FAT;this.method=-1;this.name=null;this.size=0;this.csize=0;this.gpb=new ee;this.crc=0;this.time=-1;this.minver=re.MIN_VERSION_INITIAL;this.mode=-1;this.extra=null;this.exattr=0;this.inattr=0;this.comment=null;if(i){this.setName(i)}};v(se,K);se.prototype.getCentralDirectoryExtra=function(){return this.getExtra()};se.prototype.getComment=function(){return this.comment!==null?this.comment:""};se.prototype.getCompressedSize=function(){return this.csize};se.prototype.getCrc=function(){return this.crc};se.prototype.getExternalAttributes=function(){return this.exattr};se.prototype.getExtra=function(){return this.extra!==null?this.extra:re.EMPTY};se.prototype.getGeneralPurposeBit=function(){return this.gpb};se.prototype.getInternalAttributes=function(){return this.inattr};se.prototype.getLastModifiedDate=function(){return this.getTime()};se.prototype.getLocalFileDataExtra=function(){return this.getExtra()};se.prototype.getMethod=function(){return this.method};se.prototype.getName=function(){return this.name};se.prototype.getPlatform=function(){return this.platform};se.prototype.getSize=function(){return this.size};se.prototype.getTime=function(){return this.time!==-1?ne.dosToDate(this.time):-1};se.prototype.getTimeDos=function(){return this.time!==-1?this.time:0};se.prototype.getUnixMode=function(){return this.platform!==re.PLATFORM_UNIX?0:this.getExternalAttributes()>>re.SHORT_SHIFT&re.SHORT_MASK};se.prototype.getVersionNeededToExtract=function(){return this.minver};se.prototype.setComment=function(i){if(Buffer.byteLength(i)!==i.length){this.getGeneralPurposeBit().useUTF8ForNames(true)}this.comment=i};se.prototype.setCompressedSize=function(i){if(i<0){throw new Error("invalid entry compressed size")}this.csize=i};se.prototype.setCrc=function(i){if(i<0){throw new Error("invalid entry crc32")}this.crc=i};se.prototype.setExternalAttributes=function(i){this.exattr=i>>>0};se.prototype.setExtra=function(i){this.extra=i};se.prototype.setGeneralPurposeBit=function(i){if(!(i instanceof ee)){throw new Error("invalid entry GeneralPurposeBit")}this.gpb=i};se.prototype.setInternalAttributes=function(i){this.inattr=i};se.prototype.setMethod=function(i){if(i<0){throw new Error("invalid entry compression method")}this.method=i};se.prototype.setName=function(i,d=false){i=V(i,false).replace(/^\w+:/,"").replace(/^(\.\.\/|\/)+/,"");if(d){i=`/${i}`}if(Buffer.byteLength(i)!==i.length){this.getGeneralPurposeBit().useUTF8ForNames(true)}this.name=i};se.prototype.setPlatform=function(i){this.platform=i};se.prototype.setSize=function(i){if(i<0){throw new Error("invalid entry size")}this.size=i};se.prototype.setTime=function(i,d){if(!(i instanceof Date)){throw new Error("invalid entry time")}this.time=ne.dateToDos(i,d)};se.prototype.setUnixMode=function(i){i|=this.isDirectory()?re.S_IFDIR:re.S_IFREG;var d=0;d|=i<re.ZIP64_MAGIC||this.size>re.ZIP64_MAGIC}},82132:(i,d,p)=>{var v=p(39023).inherits;var V=p(84891);var{CRC32Stream:K}=p(82770);var{DeflateCRC32Stream:ee}=p(82770);var te=p(36306);var re=p(73380);var ne=p(97632);var se=p(94908);var ie=p(18300);var oe=p(6453);var ae=i.exports=function(i){if(!(this instanceof ae)){return new ae(i)}i=this.options=this._defaults(i);te.call(this,i);this._entry=null;this._entries=[];this._archive={centralLength:0,centralOffset:0,comment:"",finish:false,finished:false,processing:false,forceZip64:i.forceZip64,forceLocalTime:i.forceLocalTime}};v(ae,te);ae.prototype._afterAppend=function(i){this._entries.push(i);if(i.getGeneralPurposeBit().usesDataDescriptor()){this._writeDataDescriptor(i)}this._archive.processing=false;this._entry=null;if(this._archive.finish&&!this._archive.finished){this._finish()}};ae.prototype._appendBuffer=function(i,d,p){if(d.length===0){i.setMethod(se.METHOD_STORED)}var v=i.getMethod();if(v===se.METHOD_STORED){i.setSize(d.length);i.setCompressedSize(d.length);i.setCrc(V.buf(d)>>>0)}this._writeLocalFileHeader(i);if(v===se.METHOD_STORED){this.write(d);this._afterAppend(i);p(null,i);return}else if(v===se.METHOD_DEFLATED){this._smartStream(i,p).end(d);return}else{p(new Error("compression method "+v+" not implemented"));return}};ae.prototype._appendStream=function(i,d,p){i.getGeneralPurposeBit().useDataDescriptor(true);i.setVersionNeededToExtract(se.MIN_VERSION_DATA_DESCRIPTOR);this._writeLocalFileHeader(i);var v=this._smartStream(i,p);d.once("error",(function(i){v.emit("error",i);v.end()}));d.pipe(v)};ae.prototype._defaults=function(i){if(typeof i!=="object"){i={}}if(typeof i.zlib!=="object"){i.zlib={}}if(typeof i.zlib.level!=="number"){i.zlib.level=se.ZLIB_BEST_SPEED}i.forceZip64=!!i.forceZip64;i.forceLocalTime=!!i.forceLocalTime;return i};ae.prototype._finish=function(){this._archive.centralOffset=this.offset;this._entries.forEach(function(i){this._writeCentralFileHeader(i)}.bind(this));this._archive.centralLength=this.offset-this._archive.centralOffset;if(this.isZip64()){this._writeCentralDirectoryZip64()}this._writeCentralDirectoryEnd();this._archive.processing=false;this._archive.finish=true;this._archive.finished=true;this.end()};ae.prototype._normalizeEntry=function(i){if(i.getMethod()===-1){i.setMethod(se.METHOD_DEFLATED)}if(i.getMethod()===se.METHOD_DEFLATED){i.getGeneralPurposeBit().useDataDescriptor(true);i.setVersionNeededToExtract(se.MIN_VERSION_DATA_DESCRIPTOR)}if(i.getTime()===-1){i.setTime(new Date,this._archive.forceLocalTime)}i._offsets={file:0,data:0,contents:0}};ae.prototype._smartStream=function(i,d){var p=i.getMethod()===se.METHOD_DEFLATED;var v=p?new ee(this.options.zlib):new K;var V=null;function handleStuff(){var p=v.digest().readUInt32BE(0);i.setCrc(p);i.setSize(v.size());i.setCompressedSize(v.size(true));this._afterAppend(i);d(V,i)}v.once("end",handleStuff.bind(this));v.once("error",(function(i){V=i}));v.pipe(this,{end:false});return v};ae.prototype._writeCentralDirectoryEnd=function(){var i=this._entries.length;var d=this._archive.centralLength;var p=this._archive.centralOffset;if(this.isZip64()){i=se.ZIP64_MAGIC_SHORT;d=se.ZIP64_MAGIC;p=se.ZIP64_MAGIC}this.write(oe.getLongBytes(se.SIG_EOCD));this.write(se.SHORT_ZERO);this.write(se.SHORT_ZERO);this.write(oe.getShortBytes(i));this.write(oe.getShortBytes(i));this.write(oe.getLongBytes(d));this.write(oe.getLongBytes(p));var v=this.getComment();var V=Buffer.byteLength(v);this.write(oe.getShortBytes(V));this.write(v)};ae.prototype._writeCentralDirectoryZip64=function(){this.write(oe.getLongBytes(se.SIG_ZIP64_EOCD));this.write(oe.getEightBytes(44));this.write(oe.getShortBytes(se.MIN_VERSION_ZIP64));this.write(oe.getShortBytes(se.MIN_VERSION_ZIP64));this.write(se.LONG_ZERO);this.write(se.LONG_ZERO);this.write(oe.getEightBytes(this._entries.length));this.write(oe.getEightBytes(this._entries.length));this.write(oe.getEightBytes(this._archive.centralLength));this.write(oe.getEightBytes(this._archive.centralOffset));this.write(oe.getLongBytes(se.SIG_ZIP64_EOCD_LOC));this.write(se.LONG_ZERO);this.write(oe.getEightBytes(this._archive.centralOffset+this._archive.centralLength));this.write(oe.getLongBytes(1))};ae.prototype._writeCentralFileHeader=function(i){var d=i.getGeneralPurposeBit();var p=i.getMethod();var v=i._offsets.file;var V=i.getSize();var K=i.getCompressedSize();if(i.isZip64()||v>se.ZIP64_MAGIC){V=se.ZIP64_MAGIC;K=se.ZIP64_MAGIC;v=se.ZIP64_MAGIC;i.setVersionNeededToExtract(se.MIN_VERSION_ZIP64);var ee=Buffer.concat([oe.getShortBytes(se.ZIP64_EXTRA_ID),oe.getShortBytes(24),oe.getEightBytes(i.getSize()),oe.getEightBytes(i.getCompressedSize()),oe.getEightBytes(i._offsets.file)],28);i.setExtra(ee)}this.write(oe.getLongBytes(se.SIG_CFH));this.write(oe.getShortBytes(i.getPlatform()<<8|se.VERSION_MADEBY));this.write(oe.getShortBytes(i.getVersionNeededToExtract()));this.write(d.encode());this.write(oe.getShortBytes(p));this.write(oe.getLongBytes(i.getTimeDos()));this.write(oe.getLongBytes(i.getCrc()));this.write(oe.getLongBytes(K));this.write(oe.getLongBytes(V));var te=i.getName();var re=i.getComment();var ne=i.getCentralDirectoryExtra();if(d.usesUTF8ForNames()){te=Buffer.from(te);re=Buffer.from(re)}this.write(oe.getShortBytes(te.length));this.write(oe.getShortBytes(ne.length));this.write(oe.getShortBytes(re.length));this.write(se.SHORT_ZERO);this.write(oe.getShortBytes(i.getInternalAttributes()));this.write(oe.getLongBytes(i.getExternalAttributes()));this.write(oe.getLongBytes(v));this.write(te);this.write(ne);this.write(re)};ae.prototype._writeDataDescriptor=function(i){this.write(oe.getLongBytes(se.SIG_DD));this.write(oe.getLongBytes(i.getCrc()));if(i.isZip64()){this.write(oe.getEightBytes(i.getCompressedSize()));this.write(oe.getEightBytes(i.getSize()))}else{this.write(oe.getLongBytes(i.getCompressedSize()));this.write(oe.getLongBytes(i.getSize()))}};ae.prototype._writeLocalFileHeader=function(i){var d=i.getGeneralPurposeBit();var p=i.getMethod();var v=i.getName();var V=i.getLocalFileDataExtra();if(i.isZip64()){d.useDataDescriptor(true);i.setVersionNeededToExtract(se.MIN_VERSION_ZIP64)}if(d.usesUTF8ForNames()){v=Buffer.from(v)}i._offsets.file=this.offset;this.write(oe.getLongBytes(se.SIG_LFH));this.write(oe.getShortBytes(i.getVersionNeededToExtract()));this.write(d.encode());this.write(oe.getShortBytes(p));this.write(oe.getLongBytes(i.getTimeDos()));i._offsets.data=this.offset;if(d.usesDataDescriptor()){this.write(se.LONG_ZERO);this.write(se.LONG_ZERO);this.write(se.LONG_ZERO)}else{this.write(oe.getLongBytes(i.getCrc()));this.write(oe.getLongBytes(i.getCompressedSize()));this.write(oe.getLongBytes(i.getSize()))}this.write(oe.getShortBytes(v.length));this.write(oe.getShortBytes(V.length));this.write(v);this.write(V);i._offsets.contents=this.offset};ae.prototype.getComment=function(i){return this._archive.comment!==null?this._archive.comment:""};ae.prototype.isZip64=function(){return this._archive.forceZip64||this._entries.length>se.ZIP64_MAGIC_SHORT||this._archive.centralLength>se.ZIP64_MAGIC||this._archive.centralOffset>se.ZIP64_MAGIC};ae.prototype.setComment=function(i){this._archive.comment=i}},47544:(i,d,p)=>{i.exports={ArchiveEntry:p(96070),ZipArchiveEntry:p(73380),ArchiveOutputStream:p(36306),ZipArchiveOutputStream:p(82132)}},18300:(i,d,p)=>{var v=p(2203).Stream;var V=p(29963).PassThrough;var K=p(96543);var ee=i.exports={};ee.normalizeInputSource=function(i){if(i===null){return Buffer.alloc(0)}else if(typeof i==="string"){return Buffer.from(i)}else if(K(i)&&!i._readableState){var d=new V;i.pipe(d);return d}return i}},97087:i=>{i.exports=function(i,p){var v=[];for(var V=0;V{function isArray(i){if(Array.isArray){return Array.isArray(i)}return objectToString(i)==="[object Array]"}d.isArray=isArray;function isBoolean(i){return typeof i==="boolean"}d.isBoolean=isBoolean;function isNull(i){return i===null}d.isNull=isNull;function isNullOrUndefined(i){return i==null}d.isNullOrUndefined=isNullOrUndefined;function isNumber(i){return typeof i==="number"}d.isNumber=isNumber;function isString(i){return typeof i==="string"}d.isString=isString;function isSymbol(i){return typeof i==="symbol"}d.isSymbol=isSymbol;function isUndefined(i){return i===void 0}d.isUndefined=isUndefined;function isRegExp(i){return objectToString(i)==="[object RegExp]"}d.isRegExp=isRegExp;function isObject(i){return typeof i==="object"&&i!==null}d.isObject=isObject;function isDate(i){return objectToString(i)==="[object Date]"}d.isDate=isDate;function isError(i){return objectToString(i)==="[object Error]"||i instanceof Error}d.isError=isError;function isFunction(i){return typeof i==="function"}d.isFunction=isFunction;function isPrimitive(i){return i===null||typeof i==="boolean"||typeof i==="number"||typeof i==="string"||typeof i==="symbol"||typeof i==="undefined"}d.isPrimitive=isPrimitive;d.isBuffer=p(20181).Buffer.isBuffer;function objectToString(i){return Object.prototype.toString.call(i)}},84891:(i,d)=>{ /*! crc32.js (C) 2014-present SheetJS -- http://sheetjs.com */ -var p;(function(i){if(typeof DO_NOT_EXPORT_CRC==="undefined"){if(true){i(d)}else{}}else{i(p={})}})((function(i){i.version="1.2.2";function signed_crc_table(){var i=0,d=new Array(256);for(var p=0;p!=256;++p){i=p;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;d[p]=i}return typeof Int32Array!=="undefined"?new Int32Array(d):d}var d=signed_crc_table();function slice_by_16_tables(i){var d=0,p=0,v=0,V=typeof Int32Array!=="undefined"?new Int32Array(4096):new Array(4096);for(v=0;v!=256;++v)V[v]=i[v];for(v=0;v!=256;++v){p=i[v];for(d=256+v;d<4096;d+=256)p=V[d]=p>>>8^i[p&255]}var K=[];for(v=1;v!=16;++v)K[v-1]=typeof Int32Array!=="undefined"?V.subarray(v*256,v*256+256):V.slice(v*256,v*256+256);return K}var p=slice_by_16_tables(d);var v=p[0],V=p[1],K=p[2],ee=p[3],te=p[4];var re=p[5],ne=p[6],ie=p[7],se=p[8],oe=p[9];var ae=p[10],ce=p[11],le=p[12],ue=p[13],Ae=p[14];function crc32_bstr(i,p){var v=p^-1;for(var V=0,K=i.length;V>>8^d[(v^i.charCodeAt(V++))&255];return~v}function crc32_buf(i,p){var de=p^-1,pe=i.length-15,fe=0;for(;fe>8&255]^le[i[fe++]^de>>16&255]^ce[i[fe++]^de>>>24]^ae[i[fe++]]^oe[i[fe++]]^se[i[fe++]]^ie[i[fe++]]^ne[i[fe++]]^re[i[fe++]]^te[i[fe++]]^ee[i[fe++]]^K[i[fe++]]^V[i[fe++]]^v[i[fe++]]^d[i[fe++]];pe+=15;while(fe>>8^d[(de^i[fe++])&255];return~de}function crc32_str(i,p){var v=p^-1;for(var V=0,K=i.length,ee=0,te=0;V>>8^d[(v^ee)&255]}else if(ee<2048){v=v>>>8^d[(v^(192|ee>>6&31))&255];v=v>>>8^d[(v^(128|ee&63))&255]}else if(ee>=55296&&ee<57344){ee=(ee&1023)+64;te=i.charCodeAt(V++)&1023;v=v>>>8^d[(v^(240|ee>>8&7))&255];v=v>>>8^d[(v^(128|ee>>2&63))&255];v=v>>>8^d[(v^(128|te>>6&15|(ee&3)<<4))&255];v=v>>>8^d[(v^(128|te&63))&255]}else{v=v>>>8^d[(v^(224|ee>>12&15))&255];v=v>>>8^d[(v^(128|ee>>6&63))&255];v=v>>>8^d[(v^(128|ee&63))&255]}}return~v}i.table=d;i.bstr=crc32_bstr;i.buf=crc32_buf;i.str=crc32_str}))},3662:(i,d,p)=>{const{Transform:v}=p(29963);const V=p(84891);class CRC32Stream extends v{constructor(i){super(i);this.checksum=Buffer.allocUnsafe(4);this.checksum.writeInt32BE(0,0);this.rawSize=0}_transform(i,d,p){if(i){this.checksum=V.buf(i,this.checksum)>>>0;this.rawSize+=i.length}p(null,i)}digest(i){const d=Buffer.allocUnsafe(4);d.writeUInt32BE(this.checksum>>>0,0);return i?d.toString(i):d}hex(){return this.digest("hex").toUpperCase()}size(){return this.rawSize}}i.exports=CRC32Stream},76252:(i,d,p)=>{const{DeflateRaw:v}=p(43106);const V=p(84891);class DeflateCRC32Stream extends v{constructor(i){super(i);this.checksum=Buffer.allocUnsafe(4);this.checksum.writeInt32BE(0,0);this.rawSize=0;this.compressedSize=0}push(i,d){if(i){this.compressedSize+=i.length}return super.push(i,d)}_transform(i,d,p){if(i){this.checksum=V.buf(i,this.checksum)>>>0;this.rawSize+=i.length}super._transform(i,d,p)}digest(i){const d=Buffer.allocUnsafe(4);d.writeUInt32BE(this.checksum>>>0,0);return i?d.toString(i):d}hex(){return this.digest("hex").toUpperCase()}size(i=false){if(i){return this.compressedSize}else{return this.rawSize}}}i.exports=DeflateCRC32Stream},82770:(i,d,p)=>{i.exports={CRC32Stream:p(3662),DeflateCRC32Stream:p(76252)}},6110:(i,d,p)=>{d.formatArgs=formatArgs;d.save=save;d.load=load;d.useColors=useColors;d.storage=localstorage();d.destroy=(()=>{let i=false;return()=>{if(!i){i=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`.")}}})();d.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(d){d[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+d[0]+(this.useColors?"%c ":" ")+"+"+i.exports.humanize(this.diff);if(!this.useColors){return}const p="color: "+this.color;d.splice(1,0,p,"color: inherit");let v=0;let V=0;d[0].replace(/%[a-zA-Z%]/g,(i=>{if(i==="%%"){return}v++;if(i==="%c"){V=v}}));d.splice(V,0,p)}d.log=console.debug||console.log||(()=>{});function save(i){try{if(i){d.storage.setItem("debug",i)}else{d.storage.removeItem("debug")}}catch(i){}}function load(){let i;try{i=d.storage.getItem("debug")}catch(i){}if(!i&&typeof process!=="undefined"&&"env"in process){i=process.env.DEBUG}return i}function localstorage(){try{return localStorage}catch(i){}}i.exports=p(40897)(d);const{formatters:v}=i.exports;v.j=function(i){try{return JSON.stringify(i)}catch(i){return"[UnexpectedJSONParseError]: "+i.message}}},40897:(i,d,p)=>{function setup(i){createDebug.debug=createDebug;createDebug.default=createDebug;createDebug.coerce=coerce;createDebug.disable=disable;createDebug.enable=enable;createDebug.enabled=enabled;createDebug.humanize=p(70744);createDebug.destroy=destroy;Object.keys(i).forEach((d=>{createDebug[d]=i[d]}));createDebug.names=[];createDebug.skips=[];createDebug.formatters={};function selectColor(i){let d=0;for(let p=0;p{if(d==="%%"){return"%"}K++;const V=createDebug.formatters[v];if(typeof V==="function"){const v=i[K];d=V.call(p,v);i.splice(K,1);K--}return d}));createDebug.formatArgs.call(p,i);const ee=p.log||createDebug.log;ee.apply(p,i)}debug.namespace=i;debug.useColors=createDebug.useColors();debug.color=createDebug.selectColor(i);debug.extend=extend;debug.destroy=createDebug.destroy;Object.defineProperty(debug,"enabled",{enumerable:true,configurable:false,get:()=>{if(p!==null){return p}if(v!==createDebug.namespaces){v=createDebug.namespaces;V=createDebug.enabled(i)}return V},set:i=>{p=i}});if(typeof createDebug.init==="function"){createDebug.init(debug)}return debug}function extend(i,d){const p=createDebug(this.namespace+(typeof d==="undefined"?":":d)+i);p.log=this.log;return p}function enable(i){createDebug.save(i);createDebug.namespaces=i;createDebug.names=[];createDebug.skips=[];let d;const p=(typeof i==="string"?i:"").split(/[\s,]+/);const v=p.length;for(d=0;d"-"+i))].join(",");createDebug.enable("");return i}function enabled(i){if(i[i.length-1]==="*"){return true}let d;let p;for(d=0,p=createDebug.skips.length;d{if(typeof process==="undefined"||process.type==="renderer"||process.browser===true||process.__nwjs){i.exports=p(6110)}else{i.exports=p(95108)}},95108:(i,d,p)=>{const v=p(52018);const V=p(39023);d.init=init;d.log=log;d.formatArgs=formatArgs;d.save=save;d.load=load;d.useColors=useColors;d.destroy=V.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");d.colors=[6,2,3,4,5,1];try{const i=p(21450);if(i&&(i.stderr||i).level>=2){d.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(i){}d.inspectOpts=Object.keys(process.env).filter((i=>/^debug_/i.test(i))).reduce(((i,d)=>{const p=d.substring(6).toLowerCase().replace(/_([a-z])/g,((i,d)=>d.toUpperCase()));let v=process.env[d];if(/^(yes|on|true|enabled)$/i.test(v)){v=true}else if(/^(no|off|false|disabled)$/i.test(v)){v=false}else if(v==="null"){v=null}else{v=Number(v)}i[p]=v;return i}),{});function useColors(){return"colors"in d.inspectOpts?Boolean(d.inspectOpts.colors):v.isatty(process.stderr.fd)}function formatArgs(d){const{namespace:p,useColors:v}=this;if(v){const v=this.color;const V="[3"+(v<8?v:"8;5;"+v);const K=` ${V};1m${p} `;d[0]=K+d[0].split("\n").join("\n"+K);d.push(V+"m+"+i.exports.humanize(this.diff)+"")}else{d[0]=getDate()+p+" "+d[0]}}function getDate(){if(d.inspectOpts.hideDate){return""}return(new Date).toISOString()+" "}function log(...i){return process.stderr.write(V.format(...i)+"\n")}function save(i){if(i){process.env.DEBUG=i}else{delete process.env.DEBUG}}function load(){return process.env.DEBUG}function init(i){i.inspectOpts={};const p=Object.keys(d.inspectOpts);for(let v=0;vi.trim())).join(" ")};K.O=function(i){this.inspectOpts.colors=this.useColors;return V.inspect(i,this.inspectOpts)}},14150:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});class Deprecation extends Error{constructor(i){super(i);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="Deprecation"}}d.Deprecation=Deprecation},16577:(i,d)=>{ +var p;(function(i){if(typeof DO_NOT_EXPORT_CRC==="undefined"){if(true){i(d)}else{}}else{i(p={})}})((function(i){i.version="1.2.2";function signed_crc_table(){var i=0,d=new Array(256);for(var p=0;p!=256;++p){i=p;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;i=i&1?-306674912^i>>>1:i>>>1;d[p]=i}return typeof Int32Array!=="undefined"?new Int32Array(d):d}var d=signed_crc_table();function slice_by_16_tables(i){var d=0,p=0,v=0,V=typeof Int32Array!=="undefined"?new Int32Array(4096):new Array(4096);for(v=0;v!=256;++v)V[v]=i[v];for(v=0;v!=256;++v){p=i[v];for(d=256+v;d<4096;d+=256)p=V[d]=p>>>8^i[p&255]}var K=[];for(v=1;v!=16;++v)K[v-1]=typeof Int32Array!=="undefined"?V.subarray(v*256,v*256+256):V.slice(v*256,v*256+256);return K}var p=slice_by_16_tables(d);var v=p[0],V=p[1],K=p[2],ee=p[3],te=p[4];var re=p[5],ne=p[6],se=p[7],ie=p[8],oe=p[9];var ae=p[10],Ae=p[11],ce=p[12],le=p[13],ue=p[14];function crc32_bstr(i,p){var v=p^-1;for(var V=0,K=i.length;V>>8^d[(v^i.charCodeAt(V++))&255];return~v}function crc32_buf(i,p){var de=p^-1,he=i.length-15,fe=0;for(;fe>8&255]^ce[i[fe++]^de>>16&255]^Ae[i[fe++]^de>>>24]^ae[i[fe++]]^oe[i[fe++]]^ie[i[fe++]]^se[i[fe++]]^ne[i[fe++]]^re[i[fe++]]^te[i[fe++]]^ee[i[fe++]]^K[i[fe++]]^V[i[fe++]]^v[i[fe++]]^d[i[fe++]];he+=15;while(fe>>8^d[(de^i[fe++])&255];return~de}function crc32_str(i,p){var v=p^-1;for(var V=0,K=i.length,ee=0,te=0;V>>8^d[(v^ee)&255]}else if(ee<2048){v=v>>>8^d[(v^(192|ee>>6&31))&255];v=v>>>8^d[(v^(128|ee&63))&255]}else if(ee>=55296&&ee<57344){ee=(ee&1023)+64;te=i.charCodeAt(V++)&1023;v=v>>>8^d[(v^(240|ee>>8&7))&255];v=v>>>8^d[(v^(128|ee>>2&63))&255];v=v>>>8^d[(v^(128|te>>6&15|(ee&3)<<4))&255];v=v>>>8^d[(v^(128|te&63))&255]}else{v=v>>>8^d[(v^(224|ee>>12&15))&255];v=v>>>8^d[(v^(128|ee>>6&63))&255];v=v>>>8^d[(v^(128|ee&63))&255]}}return~v}i.table=d;i.bstr=crc32_bstr;i.buf=crc32_buf;i.str=crc32_str}))},3662:(i,d,p)=>{const{Transform:v}=p(29963);const V=p(84891);class CRC32Stream extends v{constructor(i){super(i);this.checksum=Buffer.allocUnsafe(4);this.checksum.writeInt32BE(0,0);this.rawSize=0}_transform(i,d,p){if(i){this.checksum=V.buf(i,this.checksum)>>>0;this.rawSize+=i.length}p(null,i)}digest(i){const d=Buffer.allocUnsafe(4);d.writeUInt32BE(this.checksum>>>0,0);return i?d.toString(i):d}hex(){return this.digest("hex").toUpperCase()}size(){return this.rawSize}}i.exports=CRC32Stream},76252:(i,d,p)=>{const{DeflateRaw:v}=p(43106);const V=p(84891);class DeflateCRC32Stream extends v{constructor(i){super(i);this.checksum=Buffer.allocUnsafe(4);this.checksum.writeInt32BE(0,0);this.rawSize=0;this.compressedSize=0}push(i,d){if(i){this.compressedSize+=i.length}return super.push(i,d)}_transform(i,d,p){if(i){this.checksum=V.buf(i,this.checksum)>>>0;this.rawSize+=i.length}super._transform(i,d,p)}digest(i){const d=Buffer.allocUnsafe(4);d.writeUInt32BE(this.checksum>>>0,0);return i?d.toString(i):d}hex(){return this.digest("hex").toUpperCase()}size(i=false){if(i){return this.compressedSize}else{return this.rawSize}}}i.exports=DeflateCRC32Stream},82770:(i,d,p)=>{i.exports={CRC32Stream:p(3662),DeflateCRC32Stream:p(76252)}},6110:(i,d,p)=>{d.formatArgs=formatArgs;d.save=save;d.load=load;d.useColors=useColors;d.storage=localstorage();d.destroy=(()=>{let i=false;return()=>{if(!i){i=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`.")}}})();d.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(d){d[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+d[0]+(this.useColors?"%c ":" ")+"+"+i.exports.humanize(this.diff);if(!this.useColors){return}const p="color: "+this.color;d.splice(1,0,p,"color: inherit");let v=0;let V=0;d[0].replace(/%[a-zA-Z%]/g,(i=>{if(i==="%%"){return}v++;if(i==="%c"){V=v}}));d.splice(V,0,p)}d.log=console.debug||console.log||(()=>{});function save(i){try{if(i){d.storage.setItem("debug",i)}else{d.storage.removeItem("debug")}}catch(i){}}function load(){let i;try{i=d.storage.getItem("debug")}catch(i){}if(!i&&typeof process!=="undefined"&&"env"in process){i=process.env.DEBUG}return i}function localstorage(){try{return localStorage}catch(i){}}i.exports=p(40897)(d);const{formatters:v}=i.exports;v.j=function(i){try{return JSON.stringify(i)}catch(i){return"[UnexpectedJSONParseError]: "+i.message}}},40897:(i,d,p)=>{function setup(i){createDebug.debug=createDebug;createDebug.default=createDebug;createDebug.coerce=coerce;createDebug.disable=disable;createDebug.enable=enable;createDebug.enabled=enabled;createDebug.humanize=p(70744);createDebug.destroy=destroy;Object.keys(i).forEach((d=>{createDebug[d]=i[d]}));createDebug.names=[];createDebug.skips=[];createDebug.formatters={};function selectColor(i){let d=0;for(let p=0;p{if(d==="%%"){return"%"}K++;const V=createDebug.formatters[v];if(typeof V==="function"){const v=i[K];d=V.call(p,v);i.splice(K,1);K--}return d}));createDebug.formatArgs.call(p,i);const ee=p.log||createDebug.log;ee.apply(p,i)}debug.namespace=i;debug.useColors=createDebug.useColors();debug.color=createDebug.selectColor(i);debug.extend=extend;debug.destroy=createDebug.destroy;Object.defineProperty(debug,"enabled",{enumerable:true,configurable:false,get:()=>{if(p!==null){return p}if(v!==createDebug.namespaces){v=createDebug.namespaces;V=createDebug.enabled(i)}return V},set:i=>{p=i}});if(typeof createDebug.init==="function"){createDebug.init(debug)}return debug}function extend(i,d){const p=createDebug(this.namespace+(typeof d==="undefined"?":":d)+i);p.log=this.log;return p}function enable(i){createDebug.save(i);createDebug.namespaces=i;createDebug.names=[];createDebug.skips=[];let d;const p=(typeof i==="string"?i:"").split(/[\s,]+/);const v=p.length;for(d=0;d"-"+i))].join(",");createDebug.enable("");return i}function enabled(i){if(i[i.length-1]==="*"){return true}let d;let p;for(d=0,p=createDebug.skips.length;d{if(typeof process==="undefined"||process.type==="renderer"||process.browser===true||process.__nwjs){i.exports=p(6110)}else{i.exports=p(95108)}},95108:(i,d,p)=>{const v=p(52018);const V=p(39023);d.init=init;d.log=log;d.formatArgs=formatArgs;d.save=save;d.load=load;d.useColors=useColors;d.destroy=V.deprecate((()=>{}),"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");d.colors=[6,2,3,4,5,1];try{const i=p(21450);if(i&&(i.stderr||i).level>=2){d.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(i){}d.inspectOpts=Object.keys(process.env).filter((i=>/^debug_/i.test(i))).reduce(((i,d)=>{const p=d.substring(6).toLowerCase().replace(/_([a-z])/g,((i,d)=>d.toUpperCase()));let v=process.env[d];if(/^(yes|on|true|enabled)$/i.test(v)){v=true}else if(/^(no|off|false|disabled)$/i.test(v)){v=false}else if(v==="null"){v=null}else{v=Number(v)}i[p]=v;return i}),{});function useColors(){return"colors"in d.inspectOpts?Boolean(d.inspectOpts.colors):v.isatty(process.stderr.fd)}function formatArgs(d){const{namespace:p,useColors:v}=this;if(v){const v=this.color;const V="[3"+(v<8?v:"8;5;"+v);const K=` ${V};1m${p} `;d[0]=K+d[0].split("\n").join("\n"+K);d.push(V+"m+"+i.exports.humanize(this.diff)+"")}else{d[0]=getDate()+p+" "+d[0]}}function getDate(){if(d.inspectOpts.hideDate){return""}return(new Date).toISOString()+" "}function log(...i){return process.stderr.write(V.format(...i)+"\n")}function save(i){if(i){process.env.DEBUG=i}else{delete process.env.DEBUG}}function load(){return process.env.DEBUG}function init(i){i.inspectOpts={};const p=Object.keys(d.inspectOpts);for(let v=0;vi.trim())).join(" ")};K.O=function(i){this.inspectOpts.colors=this.useColors;return V.inspect(i,this.inspectOpts)}},14150:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});class Deprecation extends Error{constructor(i){super(i);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}this.name="Deprecation"}}d.Deprecation=Deprecation},16577:(i,d)=>{ /** * @author Toru Nagashima * @copyright 2015 Toru Nagashima. All rights reserved. * See LICENSE file in root directory for full license. */ -Object.defineProperty(d,"__esModule",{value:true});const p=new WeakMap;const v=new WeakMap;function pd(i){const d=p.get(i);console.assert(d!=null,"'this' is expected an Event object, but got",i);return d}function setCancelFlag(i){if(i.passiveListener!=null){if(typeof console!=="undefined"&&typeof console.error==="function"){console.error("Unable to preventDefault inside passive event listener invocation.",i.passiveListener)}return}if(!i.event.cancelable){return}i.canceled=true;if(typeof i.event.preventDefault==="function"){i.event.preventDefault()}}function Event(i,d){p.set(this,{eventTarget:i,event:d,eventPhase:2,currentTarget:i,canceled:false,stopped:false,immediateStopped:false,passiveListener:null,timeStamp:d.timeStamp||Date.now()});Object.defineProperty(this,"isTrusted",{value:false,enumerable:true});const v=Object.keys(d);for(let i=0;i0){const i=new Array(arguments.length);for(let d=0;d{i.exports=class FixedFIFO{constructor(i){if(!(i>0)||(i-1&i)!==0)throw new Error("Max size for a FixedFIFO should be a power of two");this.buffer=new Array(i);this.mask=i-1;this.top=0;this.btm=0;this.next=null}clear(){this.top=this.btm=0;this.next=null;this.buffer.fill(undefined)}push(i){if(this.buffer[this.top]!==undefined)return false;this.buffer[this.top]=i;this.top=this.top+1&this.mask;return true}shift(){const i=this.buffer[this.btm];if(i===undefined)return undefined;this.buffer[this.btm]=undefined;this.btm=this.btm+1&this.mask;return i}peek(){return this.buffer[this.btm]}isEmpty(){return this.buffer[this.btm]===undefined}}},83867:(i,d,p)=>{const v=p(13587);i.exports=class FastFIFO{constructor(i){this.hwm=i||16;this.head=new v(this.hwm);this.tail=this.head;this.length=0}clear(){this.head=this.tail;this.head.clear();this.length=0}push(i){this.length++;if(!this.head.push(i)){const d=this.head;this.head=d.next=new v(2*this.head.buffer.length);this.head.push(i)}}shift(){if(this.length!==0)this.length--;const i=this.tail.shift();if(i===undefined&&this.tail.next){const i=this.tail.next;this.tail.next=null;this.tail=i;return this.tail.shift()}return i}peek(){const i=this.tail.peek();if(i===undefined&&this.tail.next)return this.tail.next.peek();return i}isEmpty(){return this.length===0}}},73964:i=>{i.exports=clone;var d=Object.getPrototypeOf||function(i){return i.__proto__};function clone(i){if(i===null||typeof i!=="object")return i;if(i instanceof Object)var p={__proto__:d(i)};else var p=Object.create(null);Object.getOwnPropertyNames(i).forEach((function(d){Object.defineProperty(p,d,Object.getOwnPropertyDescriptor(i,d))}));return p}},35744:(i,d,p)=>{var v=p(79896);var V=p(83501);var K=p(12270);var ee=p(73964);var te=p(39023);var re;var ne;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){re=Symbol.for("graceful-fs.queue");ne=Symbol.for("graceful-fs.previous")}else{re="___graceful-fs.queue";ne="___graceful-fs.previous"}function noop(){}function publishQueue(i,d){Object.defineProperty(i,re,{get:function(){return d}})}var ie=noop;if(te.debuglog)ie=te.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))ie=function(){var i=te.format.apply(te,arguments);i="GFS4: "+i.split(/\n/).join("\nGFS4: ");console.error(i)};if(!v[re]){var se=global[re]||[];publishQueue(v,se);v.close=function(i){function close(d,p){return i.call(v,d,(function(i){if(!i){resetQueue()}if(typeof p==="function")p.apply(this,arguments)}))}Object.defineProperty(close,ne,{value:i});return close}(v.close);v.closeSync=function(i){function closeSync(d){i.apply(v,arguments);resetQueue()}Object.defineProperty(closeSync,ne,{value:i});return closeSync}(v.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",(function(){ie(v[re]);p(42613).equal(v[re].length,0)}))}}if(!global[re]){publishQueue(global,v[re])}i.exports=patch(ee(v));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!v.__patched){i.exports=patch(v);v.__patched=true}function patch(i){V(i);i.gracefulify=patch;i.createReadStream=createReadStream;i.createWriteStream=createWriteStream;var d=i.readFile;i.readFile=readFile;function readFile(i,p,v){if(typeof p==="function")v=p,p=null;return go$readFile(i,p,v);function go$readFile(i,p,v,V){return d(i,p,(function(d){if(d&&(d.code==="EMFILE"||d.code==="ENFILE"))enqueue([go$readFile,[i,p,v],d,V||Date.now(),Date.now()]);else{if(typeof v==="function")v.apply(this,arguments)}}))}}var p=i.writeFile;i.writeFile=writeFile;function writeFile(i,d,v,V){if(typeof v==="function")V=v,v=null;return go$writeFile(i,d,v,V);function go$writeFile(i,d,v,V,K){return p(i,d,v,(function(p){if(p&&(p.code==="EMFILE"||p.code==="ENFILE"))enqueue([go$writeFile,[i,d,v,V],p,K||Date.now(),Date.now()]);else{if(typeof V==="function")V.apply(this,arguments)}}))}}var v=i.appendFile;if(v)i.appendFile=appendFile;function appendFile(i,d,p,V){if(typeof p==="function")V=p,p=null;return go$appendFile(i,d,p,V);function go$appendFile(i,d,p,V,K){return v(i,d,p,(function(v){if(v&&(v.code==="EMFILE"||v.code==="ENFILE"))enqueue([go$appendFile,[i,d,p,V],v,K||Date.now(),Date.now()]);else{if(typeof V==="function")V.apply(this,arguments)}}))}}var ee=i.copyFile;if(ee)i.copyFile=copyFile;function copyFile(i,d,p,v){if(typeof p==="function"){v=p;p=0}return go$copyFile(i,d,p,v);function go$copyFile(i,d,p,v,V){return ee(i,d,p,(function(K){if(K&&(K.code==="EMFILE"||K.code==="ENFILE"))enqueue([go$copyFile,[i,d,p,v],K,V||Date.now(),Date.now()]);else{if(typeof v==="function")v.apply(this,arguments)}}))}}var te=i.readdir;i.readdir=readdir;var re=/^v[0-5]\./;function readdir(i,d,p){if(typeof d==="function")p=d,d=null;var v=re.test(process.version)?function go$readdir(i,d,p,v){return te(i,fs$readdirCallback(i,d,p,v))}:function go$readdir(i,d,p,v){return te(i,d,fs$readdirCallback(i,d,p,v))};return v(i,d,p);function fs$readdirCallback(i,d,p,V){return function(K,ee){if(K&&(K.code==="EMFILE"||K.code==="ENFILE"))enqueue([v,[i,d,p],K,V||Date.now(),Date.now()]);else{if(ee&&ee.sort)ee.sort();if(typeof p==="function")p.call(this,K,ee)}}}}if(process.version.substr(0,4)==="v0.8"){var ne=K(i);ReadStream=ne.ReadStream;WriteStream=ne.WriteStream}var ie=i.ReadStream;if(ie){ReadStream.prototype=Object.create(ie.prototype);ReadStream.prototype.open=ReadStream$open}var se=i.WriteStream;if(se){WriteStream.prototype=Object.create(se.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(i,"ReadStream",{get:function(){return ReadStream},set:function(i){ReadStream=i},enumerable:true,configurable:true});Object.defineProperty(i,"WriteStream",{get:function(){return WriteStream},set:function(i){WriteStream=i},enumerable:true,configurable:true});var oe=ReadStream;Object.defineProperty(i,"FileReadStream",{get:function(){return oe},set:function(i){oe=i},enumerable:true,configurable:true});var ae=WriteStream;Object.defineProperty(i,"FileWriteStream",{get:function(){return ae},set:function(i){ae=i},enumerable:true,configurable:true});function ReadStream(i,d){if(this instanceof ReadStream)return ie.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var i=this;open(i.path,i.flags,i.mode,(function(d,p){if(d){if(i.autoClose)i.destroy();i.emit("error",d)}else{i.fd=p;i.emit("open",p);i.read()}}))}function WriteStream(i,d){if(this instanceof WriteStream)return se.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var i=this;open(i.path,i.flags,i.mode,(function(d,p){if(d){i.destroy();i.emit("error",d)}else{i.fd=p;i.emit("open",p)}}))}function createReadStream(d,p){return new i.ReadStream(d,p)}function createWriteStream(d,p){return new i.WriteStream(d,p)}var ce=i.open;i.open=open;function open(i,d,p,v){if(typeof p==="function")v=p,p=null;return go$open(i,d,p,v);function go$open(i,d,p,v,V){return ce(i,d,p,(function(K,ee){if(K&&(K.code==="EMFILE"||K.code==="ENFILE"))enqueue([go$open,[i,d,p,v],K,V||Date.now(),Date.now()]);else{if(typeof v==="function")v.apply(this,arguments)}}))}}return i}function enqueue(i){ie("ENQUEUE",i[0].name,i[1]);v[re].push(i);retry()}var oe;function resetQueue(){var i=Date.now();for(var d=0;d2){v[re][d][3]=i;v[re][d][4]=i}}retry()}function retry(){clearTimeout(oe);oe=undefined;if(v[re].length===0)return;var i=v[re].shift();var d=i[0];var p=i[1];var V=i[2];var K=i[3];var ee=i[4];if(K===undefined){ie("RETRY",d.name,p);d.apply(null,p)}else if(Date.now()-K>=6e4){ie("TIMEOUT",d.name,p);var te=p.pop();if(typeof te==="function")te.call(null,V)}else{var ne=Date.now()-ee;var se=Math.max(ee-K,1);var ae=Math.min(se*1.2,100);if(ne>=ae){ie("RETRY",d.name,p);d.apply(null,p.concat([K]))}else{v[re].push(i)}}if(oe===undefined){oe=setTimeout(retry,0)}}},12270:(i,d,p)=>{var v=p(2203).Stream;i.exports=legacy;function legacy(i){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(d,p){if(!(this instanceof ReadStream))return new ReadStream(d,p);v.call(this);var V=this;this.path=d;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;p=p||{};var K=Object.keys(p);for(var ee=0,te=K.length;eethis.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick((function(){V._read()}));return}i.open(this.path,this.flags,this.mode,(function(i,d){if(i){V.emit("error",i);V.readable=false;return}V.fd=d;V.emit("open",d);V._read()}))}function WriteStream(d,p){if(!(this instanceof WriteStream))return new WriteStream(d,p);v.call(this);this.path=d;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;p=p||{};var V=Object.keys(p);for(var K=0,ee=V.length;K= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=i.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},83501:(i,d,p)=>{var v=p(49140);var V=process.cwd;var K=null;var ee=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!K)K=V.call(process);return K};try{process.cwd()}catch(i){}if(typeof process.chdir==="function"){var te=process.chdir;process.chdir=function(i){K=null;te.call(process,i)};if(Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,te)}i.exports=patch;function patch(i){if(v.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(i)}if(!i.lutimes){patchLutimes(i)}i.chown=chownFix(i.chown);i.fchown=chownFix(i.fchown);i.lchown=chownFix(i.lchown);i.chmod=chmodFix(i.chmod);i.fchmod=chmodFix(i.fchmod);i.lchmod=chmodFix(i.lchmod);i.chownSync=chownFixSync(i.chownSync);i.fchownSync=chownFixSync(i.fchownSync);i.lchownSync=chownFixSync(i.lchownSync);i.chmodSync=chmodFixSync(i.chmodSync);i.fchmodSync=chmodFixSync(i.fchmodSync);i.lchmodSync=chmodFixSync(i.lchmodSync);i.stat=statFix(i.stat);i.fstat=statFix(i.fstat);i.lstat=statFix(i.lstat);i.statSync=statFixSync(i.statSync);i.fstatSync=statFixSync(i.fstatSync);i.lstatSync=statFixSync(i.lstatSync);if(i.chmod&&!i.lchmod){i.lchmod=function(i,d,p){if(p)process.nextTick(p)};i.lchmodSync=function(){}}if(i.chown&&!i.lchown){i.lchown=function(i,d,p,v){if(v)process.nextTick(v)};i.lchownSync=function(){}}if(ee==="win32"){i.rename=typeof i.rename!=="function"?i.rename:function(d){function rename(p,v,V){var K=Date.now();var ee=0;d(p,v,(function CB(te){if(te&&(te.code==="EACCES"||te.code==="EPERM"||te.code==="EBUSY")&&Date.now()-K<6e4){setTimeout((function(){i.stat(v,(function(i,K){if(i&&i.code==="ENOENT")d(p,v,CB);else V(te)}))}),ee);if(ee<100)ee+=10;return}if(V)V(te)}))}if(Object.setPrototypeOf)Object.setPrototypeOf(rename,d);return rename}(i.rename)}i.read=typeof i.read!=="function"?i.read:function(d){function read(p,v,V,K,ee,te){var re;if(te&&typeof te==="function"){var ne=0;re=function(ie,se,oe){if(ie&&ie.code==="EAGAIN"&&ne<10){ne++;return d.call(i,p,v,V,K,ee,re)}te.apply(this,arguments)}}return d.call(i,p,v,V,K,ee,re)}if(Object.setPrototypeOf)Object.setPrototypeOf(read,d);return read}(i.read);i.readSync=typeof i.readSync!=="function"?i.readSync:function(d){return function(p,v,V,K,ee){var te=0;while(true){try{return d.call(i,p,v,V,K,ee)}catch(i){if(i.code==="EAGAIN"&&te<10){te++;continue}throw i}}}}(i.readSync);function patchLchmod(i){i.lchmod=function(d,p,V){i.open(d,v.O_WRONLY|v.O_SYMLINK,p,(function(d,v){if(d){if(V)V(d);return}i.fchmod(v,p,(function(d){i.close(v,(function(i){if(V)V(d||i)}))}))}))};i.lchmodSync=function(d,p){var V=i.openSync(d,v.O_WRONLY|v.O_SYMLINK,p);var K=true;var ee;try{ee=i.fchmodSync(V,p);K=false}finally{if(K){try{i.closeSync(V)}catch(i){}}else{i.closeSync(V)}}return ee}}function patchLutimes(i){if(v.hasOwnProperty("O_SYMLINK")&&i.futimes){i.lutimes=function(d,p,V,K){i.open(d,v.O_SYMLINK,(function(d,v){if(d){if(K)K(d);return}i.futimes(v,p,V,(function(d){i.close(v,(function(i){if(K)K(d||i)}))}))}))};i.lutimesSync=function(d,p,V){var K=i.openSync(d,v.O_SYMLINK);var ee;var te=true;try{ee=i.futimesSync(K,p,V);te=false}finally{if(te){try{i.closeSync(K)}catch(i){}}else{i.closeSync(K)}}return ee}}else if(i.futimes){i.lutimes=function(i,d,p,v){if(v)process.nextTick(v)};i.lutimesSync=function(){}}}function chmodFix(d){if(!d)return d;return function(p,v,V){return d.call(i,p,v,(function(i){if(chownErOk(i))i=null;if(V)V.apply(this,arguments)}))}}function chmodFixSync(d){if(!d)return d;return function(p,v){try{return d.call(i,p,v)}catch(i){if(!chownErOk(i))throw i}}}function chownFix(d){if(!d)return d;return function(p,v,V,K){return d.call(i,p,v,V,(function(i){if(chownErOk(i))i=null;if(K)K.apply(this,arguments)}))}}function chownFixSync(d){if(!d)return d;return function(p,v,V){try{return d.call(i,p,v,V)}catch(i){if(!chownErOk(i))throw i}}}function statFix(d){if(!d)return d;return function(p,v,V){if(typeof v==="function"){V=v;v=null}function callback(i,d){if(d){if(d.uid<0)d.uid+=4294967296;if(d.gid<0)d.gid+=4294967296}if(V)V.apply(this,arguments)}return v?d.call(i,p,v,callback):d.call(i,p,callback)}}function statFixSync(d){if(!d)return d;return function(p,v){var V=v?d.call(i,p,v):d.call(i,p);if(V){if(V.uid<0)V.uid+=4294967296;if(V.gid<0)V.gid+=4294967296}return V}}function chownErOk(i){if(!i)return true;if(i.code==="ENOSYS")return true;var d=!process.getuid||process.getuid()!==0;if(d){if(i.code==="EINVAL"||i.code==="EPERM")return true}return false}}},83813:i=>{i.exports=(i,d=process.argv)=>{const p=i.startsWith("-")?"":i.length===1?"-":"--";const v=d.indexOf(p+i);const V=d.indexOf("--");return v!==-1&&(V===-1||v\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g;var ie={"­":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr","ª":"ordf","á":"aacute","Á":"Aacute","à":"agrave","À":"Agrave","ă":"abreve","Ă":"Abreve","â":"acirc","Â":"Acirc","å":"aring","Å":"angst","ä":"auml","Ä":"Auml","ã":"atilde","Ã":"Atilde","ą":"aogon","Ą":"Aogon","ā":"amacr","Ā":"Amacr","æ":"aelig","Æ":"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf","ℬ":"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf","ℭ":"Cfr","𝒞":"Cscr","ℂ":"Copf","ć":"cacute","Ć":"Cacute","ĉ":"ccirc","Ĉ":"Ccirc","č":"ccaron","Č":"Ccaron","ċ":"cdot","Ċ":"Cdot","ç":"ccedil","Ç":"Ccedil","℅":"incare","𝔡":"dfr","ⅆ":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","ⅅ":"DD","𝔻":"Dopf","ď":"dcaron","Ď":"Dcaron","đ":"dstrok","Đ":"Dstrok","ð":"eth","Ð":"ETH","ⅇ":"ee","ℯ":"escr","𝔢":"efr","𝕖":"eopf","ℰ":"Escr","𝔈":"Efr","𝔼":"Eopf","é":"eacute","É":"Eacute","è":"egrave","È":"Egrave","ê":"ecirc","Ê":"Ecirc","ě":"ecaron","Ě":"Ecaron","ë":"euml","Ë":"Euml","ė":"edot","Ė":"Edot","ę":"eogon","Ę":"Eogon","ē":"emacr","Ē":"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf","ℱ":"Fscr","ff":"fflig","ffi":"ffilig","ffl":"ffllig","fi":"filig",fj:"fjlig","fl":"fllig","ƒ":"fnof","ℊ":"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr","ǵ":"gacute","ğ":"gbreve","Ğ":"Gbreve","ĝ":"gcirc","Ĝ":"Gcirc","ġ":"gdot","Ġ":"Gdot","Ģ":"Gcedil","𝔥":"hfr","ℎ":"planckh","𝒽":"hscr","𝕙":"hopf","ℋ":"Hscr","ℌ":"Hfr","ℍ":"Hopf","ĥ":"hcirc","Ĥ":"Hcirc","ℏ":"hbar","ħ":"hstrok","Ħ":"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","ⅈ":"ii","𝕀":"Iopf","ℐ":"Iscr","ℑ":"Im","í":"iacute","Í":"Iacute","ì":"igrave","Ì":"Igrave","î":"icirc","Î":"Icirc","ï":"iuml","Ï":"Iuml","ĩ":"itilde","Ĩ":"Itilde","İ":"Idot","į":"iogon","Į":"Iogon","ī":"imacr","Ī":"Imacr","ij":"ijlig","IJ":"IJlig","ı":"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf","ĵ":"jcirc","Ĵ":"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr","ķ":"kcedil","Ķ":"Kcedil","𝔩":"lfr","𝓁":"lscr","ℓ":"ell","𝕝":"lopf","ℒ":"Lscr","𝔏":"Lfr","𝕃":"Lopf","ĺ":"lacute","Ĺ":"Lacute","ľ":"lcaron","Ľ":"Lcaron","ļ":"lcedil","Ļ":"Lcedil","ł":"lstrok","Ł":"Lstrok","ŀ":"lmidot","Ŀ":"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf","ℳ":"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr","ℕ":"Nopf","𝒩":"Nscr","𝔑":"Nfr","ń":"nacute","Ń":"Nacute","ň":"ncaron","Ň":"Ncaron","ñ":"ntilde","Ñ":"Ntilde","ņ":"ncedil","Ņ":"Ncedil","№":"numero","ŋ":"eng","Ŋ":"ENG","𝕠":"oopf","𝔬":"ofr","ℴ":"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf","º":"ordm","ó":"oacute","Ó":"Oacute","ò":"ograve","Ò":"Ograve","ô":"ocirc","Ô":"Ocirc","ö":"ouml","Ö":"Ouml","ő":"odblac","Ő":"Odblac","õ":"otilde","Õ":"Otilde","ø":"oslash","Ø":"Oslash","ō":"omacr","Ō":"Omacr","œ":"oelig","Œ":"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf","ℙ":"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr","ℚ":"Qopf","ĸ":"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr","ℛ":"Rscr","ℜ":"Re","ℝ":"Ropf","ŕ":"racute","Ŕ":"Racute","ř":"rcaron","Ř":"Rcaron","ŗ":"rcedil","Ŗ":"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS","ś":"sacute","Ś":"Sacute","ŝ":"scirc","Ŝ":"Scirc","š":"scaron","Š":"Scaron","ş":"scedil","Ş":"Scedil","ß":"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf","ť":"tcaron","Ť":"Tcaron","ţ":"tcedil","Ţ":"Tcedil","™":"trade","ŧ":"tstrok","Ŧ":"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr","ú":"uacute","Ú":"Uacute","ù":"ugrave","Ù":"Ugrave","ŭ":"ubreve","Ŭ":"Ubreve","û":"ucirc","Û":"Ucirc","ů":"uring","Ů":"Uring","ü":"uuml","Ü":"Uuml","ű":"udblac","Ű":"Udblac","ũ":"utilde","Ũ":"Utilde","ų":"uogon","Ų":"Uogon","ū":"umacr","Ū":"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr","ŵ":"wcirc","Ŵ":"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf","ý":"yacute","Ý":"Yacute","ŷ":"ycirc","Ŷ":"Ycirc","ÿ":"yuml","Ÿ":"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf","ℨ":"Zfr","ℤ":"Zopf","𝒵":"Zscr","ź":"zacute","Ź":"Zacute","ž":"zcaron","Ž":"Zcaron","ż":"zdot","Ż":"Zdot","Ƶ":"imped","þ":"thorn","Þ":"THORN","ʼn":"napos","α":"alpha","Α":"Alpha","β":"beta","Β":"Beta","γ":"gamma","Γ":"Gamma","δ":"delta","Δ":"Delta","ε":"epsi","ϵ":"epsiv","Ε":"Epsilon","ϝ":"gammad","Ϝ":"Gammad","ζ":"zeta","Ζ":"Zeta","η":"eta","Η":"Eta","θ":"theta","ϑ":"thetav","Θ":"Theta","ι":"iota","Ι":"Iota","κ":"kappa","ϰ":"kappav","Κ":"Kappa","λ":"lambda","Λ":"Lambda","μ":"mu","µ":"micro","Μ":"Mu","ν":"nu","Ν":"Nu","ξ":"xi","Ξ":"Xi","ο":"omicron","Ο":"Omicron","π":"pi","ϖ":"piv","Π":"Pi","ρ":"rho","ϱ":"rhov","Ρ":"Rho","σ":"sigma","Σ":"Sigma","ς":"sigmaf","τ":"tau","Τ":"Tau","υ":"upsi","Υ":"Upsilon","ϒ":"Upsi","φ":"phi","ϕ":"phiv","Φ":"Phi","χ":"chi","Χ":"Chi","ψ":"psi","Ψ":"Psi","ω":"omega","Ω":"ohm","а":"acy","А":"Acy","б":"bcy","Б":"Bcy","в":"vcy","В":"Vcy","г":"gcy","Г":"Gcy","ѓ":"gjcy","Ѓ":"GJcy","д":"dcy","Д":"Dcy","ђ":"djcy","Ђ":"DJcy","е":"iecy","Е":"IEcy","ё":"iocy","Ё":"IOcy","є":"jukcy","Є":"Jukcy","ж":"zhcy","Ж":"ZHcy","з":"zcy","З":"Zcy","ѕ":"dscy","Ѕ":"DScy","и":"icy","И":"Icy","і":"iukcy","І":"Iukcy","ї":"yicy","Ї":"YIcy","й":"jcy","Й":"Jcy","ј":"jsercy","Ј":"Jsercy","к":"kcy","К":"Kcy","ќ":"kjcy","Ќ":"KJcy","л":"lcy","Л":"Lcy","љ":"ljcy","Љ":"LJcy","м":"mcy","М":"Mcy","н":"ncy","Н":"Ncy","њ":"njcy","Њ":"NJcy","о":"ocy","О":"Ocy","п":"pcy","П":"Pcy","р":"rcy","Р":"Rcy","с":"scy","С":"Scy","т":"tcy","Т":"Tcy","ћ":"tshcy","Ћ":"TSHcy","у":"ucy","У":"Ucy","ў":"ubrcy","Ў":"Ubrcy","ф":"fcy","Ф":"Fcy","х":"khcy","Х":"KHcy","ц":"tscy","Ц":"TScy","ч":"chcy","Ч":"CHcy","џ":"dzcy","Џ":"DZcy","ш":"shcy","Ш":"SHcy","щ":"shchcy","Щ":"SHCHcy","ъ":"hardcy","Ъ":"HARDcy","ы":"ycy","Ы":"Ycy","ь":"softcy","Ь":"SOFTcy","э":"ecy","Э":"Ecy","ю":"yucy","Ю":"YUcy","я":"yacy","Я":"YAcy","ℵ":"aleph","ℶ":"beth","ℷ":"gimel","ℸ":"daleth"};var se=/["&'<>`]/g;var oe={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"};var ae=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/;var ce=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;var le=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g;var ue={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:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",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:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",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:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",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:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",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:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",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:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",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:"▫",emsp:" ",emsp13:" ",emsp14:" ",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:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",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",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",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:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",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:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",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:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",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:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",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:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",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:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",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:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",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:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",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:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",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:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",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:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",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:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",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:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",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:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",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:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",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:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",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:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",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:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",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:"‌"};var Ae={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:"ÿ"};var de={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};var pe=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111];var fe=String.fromCharCode;var he={};var ge=he.hasOwnProperty;var has=function(i,d){return ge.call(i,d)};var contains=function(i,d){var p=-1;var v=i.length;while(++p=55296&&i<=57343||i>1114111){if(d){parseError("character reference outside the permissible Unicode range")}return"�"}if(has(de,i)){if(d){parseError("disallowed character reference")}return de[i]}if(d&&contains(pe,i)){parseError("disallowed character reference")}if(i>65535){i-=65536;p+=fe(i>>>10&1023|55296);i=56320|i&1023}p+=fe(i);return p};var hexEscape=function(i){return"&#x"+i.toString(16).toUpperCase()+";"};var decEscape=function(i){return"&#"+i+";"};var parseError=function(i){throw Error("Parse error: "+i)};var encode=function(i,d){d=merge(d,encode.options);var p=d.strict;if(p&&ce.test(i)){parseError("forbidden code point")}var v=d.encodeEverything;var V=d.useNamedReferences;var K=d.allowUnsafeSymbols;var oe=d.decimal?decEscape:hexEscape;var escapeBmpSymbol=function(i){return oe(i.charCodeAt(0))};if(v){i=i.replace(te,(function(i){if(V&&has(ie,i)){return"&"+ie[i]+";"}return escapeBmpSymbol(i)}));if(V){i=i.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")}if(V){i=i.replace(ne,(function(i){return"&"+ie[i]+";"}))}}else if(V){if(!K){i=i.replace(se,(function(i){return"&"+ie[i]+";"}))}i=i.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒");i=i.replace(ne,(function(i){return"&"+ie[i]+";"}))}else if(!K){i=i.replace(se,escapeBmpSymbol)}return i.replace(ee,(function(i){var d=i.charCodeAt(0);var p=i.charCodeAt(1);var v=(d-55296)*1024+p-56320+65536;return oe(v)})).replace(re,escapeBmpSymbol)};encode.options={allowUnsafeSymbols:false,encodeEverything:false,strict:false,useNamedReferences:false,decimal:false};var decode=function(i,d){d=merge(d,decode.options);var p=d.strict;if(p&&ae.test(i)){parseError("malformed character reference")}return i.replace(le,(function(i,v,V,K,ee,te,re,ne,ie){var se;var oe;var ae;var ce;var le;var de;if(v){le=v;return ue[le]}if(V){le=V;de=K;if(de&&d.isAttributeValue){if(p&&de=="="){parseError("`&` did not start a character reference")}return i}else{if(p){parseError("named character reference was not terminated by a semicolon")}return Ae[le]+(de||"")}}if(ee){ae=ee;oe=te;if(p&&!oe){parseError("character reference was not terminated by a semicolon")}se=parseInt(ae,10);return codePointToSymbol(se,p)}if(re){ce=re;oe=ne;if(p&&!oe){parseError("character reference was not terminated by a semicolon")}se=parseInt(ce,16);return codePointToSymbol(se,p)}if(p){parseError("named character reference was not terminated by a semicolon")}return i}))};decode.options={isAttributeValue:false,strict:false};var escape=function(i){return i.replace(se,(function(i){return oe[i]}))};var me={version:"1.2.0",encode:encode,decode:decode,escape:escape,unescape:decode};if(typeof define=="function"&&typeof define.amd=="object"&&define.amd){define((function(){return me}))}else if(v&&!v.nodeType){if(V){V.exports=me}else{for(var Ee in me){has(me,Ee)&&(v[Ee]=me[Ee])}}}else{p.he=me}})(this)},81970:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};var ee=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(d,"__esModule",{value:true});d.HttpProxyAgent=void 0;const te=K(p(69278));const re=K(p(64756));const ne=ee(p(2830));const ie=p(24434);const se=p(98894);const oe=p(87016);const ae=(0,ne.default)("http-proxy-agent");class HttpProxyAgent extends se.Agent{constructor(i,d){super(d);this.proxy=typeof i==="string"?new oe.URL(i):i;this.proxyHeaders=d?.headers??{};ae("Creating new HttpProxyAgent instance: %o",this.proxy.href);const p=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,"");const v=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={...d?omit(d,"headers"):null,host:p,port:v}}addRequest(i,d){i._header=null;this.setRequestProps(i,d);super.addRequest(i,d)}setRequestProps(i,d){const{proxy:p}=this;const v=d.secureEndpoint?"https:":"http:";const V=i.getHeader("host")||"localhost";const K=`${v}//${V}`;const ee=new oe.URL(i.path,K);if(d.port!==80){ee.port=String(d.port)}i.path=String(ee);const te=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders};if(p.username||p.password){const i=`${decodeURIComponent(p.username)}:${decodeURIComponent(p.password)}`;te["Proxy-Authorization"]=`Basic ${Buffer.from(i).toString("base64")}`}if(!te["Proxy-Connection"]){te["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"}for(const d of Object.keys(te)){const p=te[d];if(p){i.setHeader(d,p)}}}async connect(i,d){i._header=null;if(!i.path.includes("://")){this.setRequestProps(i,d)}let p;let v;ae("Regenerating stored HTTP header string for request");i._implicitHeader();if(i.outputData&&i.outputData.length>0){ae("Patching connection write() output buffer with updated header");p=i.outputData[0].data;v=p.indexOf("\r\n\r\n")+4;i.outputData[0].data=i._header+p.substring(v);ae("Output buffer: %o",i.outputData[0].data)}let V;if(this.proxy.protocol==="https:"){ae("Creating `tls.Socket`: %o",this.connectOpts);V=re.connect(this.connectOpts)}else{ae("Creating `net.Socket`: %o",this.connectOpts);V=te.connect(this.connectOpts)}await(0,ie.once)(V,"connect");return V}}HttpProxyAgent.protocols=["http","https"];d.HttpProxyAgent=HttpProxyAgent;function omit(i,...d){const p={};let v;for(v in i){if(!d.includes(v)){p[v]=i[v]}}return p}},3669:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};var ee=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(d,"__esModule",{value:true});d.HttpsProxyAgent=void 0;const te=K(p(69278));const re=K(p(64756));const ne=ee(p(42613));const ie=ee(p(2830));const se=p(65714);const oe=p(87016);const ae=p(37943);const ce=(0,ie.default)("https-proxy-agent");const setServernameFromNonIpHost=i=>{if(i.servername===undefined&&i.host&&!te.isIP(i.host)){return{...i,servername:i.host}}return i};class HttpsProxyAgent extends se.Agent{constructor(i,d){super(d);this.options={path:undefined};this.proxy=typeof i==="string"?new oe.URL(i):i;this.proxyHeaders=d?.headers??{};ce("Creating new HttpsProxyAgent instance: %o",this.proxy.href);const p=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,"");const v=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...d?omit(d,"headers"):null,host:p,port:v}}async connect(i,d){const{proxy:p}=this;if(!d.host){throw new TypeError('No "host" provided')}let v;if(p.protocol==="https:"){ce("Creating `tls.Socket`: %o",this.connectOpts);v=re.connect(setServernameFromNonIpHost(this.connectOpts))}else{ce("Creating `net.Socket`: %o",this.connectOpts);v=te.connect(this.connectOpts)}const V=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders};const K=te.isIPv6(d.host)?`[${d.host}]`:d.host;let ee=`CONNECT ${K}:${d.port} HTTP/1.1\r\n`;if(p.username||p.password){const i=`${decodeURIComponent(p.username)}:${decodeURIComponent(p.password)}`;V["Proxy-Authorization"]=`Basic ${Buffer.from(i).toString("base64")}`}V.Host=`${K}:${d.port}`;if(!V["Proxy-Connection"]){V["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"}for(const i of Object.keys(V)){ee+=`${i}: ${V[i]}\r\n`}const ie=(0,ae.parseProxyResponse)(v);v.write(`${ee}\r\n`);const{connect:se,buffered:oe}=await ie;i.emit("proxyConnect",se);this.emit("proxyConnect",se,i);if(se.statusCode===200){i.once("socket",resume);if(d.secureEndpoint){ce("Upgrading socket connection to TLS");return re.connect({...omit(setServernameFromNonIpHost(d),"host","path","port"),socket:v})}return v}v.destroy();const le=new te.Socket({writable:false});le.readable=true;i.once("socket",(i=>{ce("Replaying proxy buffer for failed request");(0,ne.default)(i.listenerCount("data")>0);i.push(oe);i.push(null)}));return le}}HttpsProxyAgent.protocols=["http","https"];d.HttpsProxyAgent=HttpsProxyAgent;function resume(i){i.resume()}function omit(i,...d){const p={};let v;for(v in i){if(!d.includes(v)){p[v]=i[v]}}return p}},37943:function(i,d,p){var v=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(d,"__esModule",{value:true});d.parseProxyResponse=void 0;const V=v(p(2830));const K=(0,V.default)("https-proxy-agent:parse-proxy-response");function parseProxyResponse(i){return new Promise(((d,p)=>{let v=0;const V=[];function read(){const d=i.read();if(d)ondata(d);else i.once("readable",read)}function cleanup(){i.removeListener("end",onend);i.removeListener("error",onerror);i.removeListener("readable",read)}function onend(){cleanup();K("onend");p(new Error("Proxy connection ended before receiving CONNECT response"))}function onerror(i){cleanup();K("onerror %o",i);p(i)}function ondata(ee){V.push(ee);v+=ee.length;const te=Buffer.concat(V,v);const re=te.indexOf("\r\n\r\n");if(re===-1){K("have not received end of HTTP headers yet...");read();return}const ne=te.slice(0,re).toString("ascii").split("\r\n");const ie=ne.shift();if(!ie){i.destroy();return p(new Error("No header received from proxy CONNECT response"))}const se=ie.split(" ");const oe=+se[1];const ae=se.slice(2).join(" ");const ce={};for(const d of ne){if(!d)continue;const v=d.indexOf(":");if(v===-1){i.destroy();return p(new Error(`Invalid header from proxy CONNECT response: "${d}"`))}const V=d.slice(0,v).toLowerCase();const K=d.slice(v+1).trimStart();const ee=ce[V];if(typeof ee==="string"){ce[V]=[ee,K]}else if(Array.isArray(ee)){ee.push(K)}else{ce[V]=K}}K("got proxy server response: %o %o",ie,ce);cleanup();d({connect:{statusCode:oe,statusText:ae,headers:ce},buffered:te})}i.on("error",onerror);i.on("end",onend);read()}))}d.parseProxyResponse=parseProxyResponse},58515:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};Object.defineProperty(d,"__esModule",{value:true});d.req=d.json=d.toBuffer=void 0;const ee=K(p(58611));const te=K(p(65692));async function toBuffer(i){let d=0;const p=[];for await(const v of i){d+=v.length;p.push(v)}return Buffer.concat(p,d)}d.toBuffer=toBuffer;async function json(i){const d=await toBuffer(i);const p=d.toString("utf8");try{return JSON.parse(p)}catch(i){const d=i;d.message+=` (input: ${p})`;throw d}}d.json=json;function req(i,d={}){const p=typeof i==="string"?i:i.href;const v=(p.startsWith("https:")?te:ee).request(i,d);const V=new Promise(((i,d)=>{v.once("response",i).once("error",d).end()}));v.then=V.then.bind(V);return v}d.req=req},65714:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};var ee=this&&this.__exportStar||function(i,d){for(var p in i)if(p!=="default"&&!Object.prototype.hasOwnProperty.call(d,p))v(d,i,p)};Object.defineProperty(d,"__esModule",{value:true});d.Agent=void 0;const te=K(p(69278));const re=K(p(58611));const ne=p(65692);ee(p(58515),d);const ie=Symbol("AgentBaseInternalState");class Agent extends re.Agent{constructor(i){super(i);this[ie]={}}isSecureEndpoint(i){if(i){if(typeof i.secureEndpoint==="boolean"){return i.secureEndpoint}if(typeof i.protocol==="string"){return i.protocol==="https:"}}const{stack:d}=new Error;if(typeof d!=="string")return false;return d.split("\n").some((i=>i.indexOf("(https.js:")!==-1||i.indexOf("node:https:")!==-1))}incrementSockets(i){if(this.maxSockets===Infinity&&this.maxTotalSockets===Infinity){return null}if(!this.sockets[i]){this.sockets[i]=[]}const d=new te.Socket({writable:false});this.sockets[i].push(d);this.totalSocketCount++;return d}decrementSockets(i,d){if(!this.sockets[i]||d===null){return}const p=this.sockets[i];const v=p.indexOf(d);if(v!==-1){p.splice(v,1);this.totalSocketCount--;if(p.length===0){delete this.sockets[i]}}}getName(i){const d=typeof i.secureEndpoint==="boolean"?i.secureEndpoint:this.isSecureEndpoint(i);if(d){return ne.Agent.prototype.getName.call(this,i)}return super.getName(i)}createSocket(i,d,p){const v={...d,secureEndpoint:this.isSecureEndpoint(d)};const V=this.getName(v);const K=this.incrementSockets(V);Promise.resolve().then((()=>this.connect(i,v))).then((ee=>{this.decrementSockets(V,K);if(ee instanceof re.Agent){try{return ee.addRequest(i,v)}catch(i){return p(i)}}this[ie].currentSocket=ee;super.createSocket(i,d,p)}),(i=>{this.decrementSockets(V,K);p(i)}))}createConnection(){const i=this[ie].currentSocket;this[ie].currentSocket=undefined;if(!i){throw new Error("No socket was returned in the `connect()` function")}return i}get defaultPort(){return this[ie].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(i){if(this[ie]){this[ie].defaultPort=i}}get protocol(){return this[ie].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(i){if(this[ie]){this[ie].protocol=i}}}d.Agent=Agent},39598:(i,d,p)=>{try{var v=p(39023);if(typeof v.inherits!=="function")throw"";i.exports=v.inherits}catch(d){i.exports=p(26589)}},26589:i=>{if(typeof Object.create==="function"){i.exports=function inherits(i,d){if(d){i.super_=d;i.prototype=Object.create(d.prototype,{constructor:{value:i,enumerable:false,writable:true,configurable:true}})}}}else{i.exports=function inherits(i,d){if(d){i.super_=d;var TempCtor=function(){};TempCtor.prototype=d.prototype;i.prototype=new TempCtor;i.prototype.constructor=i}}}},93407:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true}); +Object.defineProperty(d,"__esModule",{value:true});const p=new WeakMap;const v=new WeakMap;function pd(i){const d=p.get(i);console.assert(d!=null,"'this' is expected an Event object, but got",i);return d}function setCancelFlag(i){if(i.passiveListener!=null){if(typeof console!=="undefined"&&typeof console.error==="function"){console.error("Unable to preventDefault inside passive event listener invocation.",i.passiveListener)}return}if(!i.event.cancelable){return}i.canceled=true;if(typeof i.event.preventDefault==="function"){i.event.preventDefault()}}function Event(i,d){p.set(this,{eventTarget:i,event:d,eventPhase:2,currentTarget:i,canceled:false,stopped:false,immediateStopped:false,passiveListener:null,timeStamp:d.timeStamp||Date.now()});Object.defineProperty(this,"isTrusted",{value:false,enumerable:true});const v=Object.keys(d);for(let i=0;i0){const i=new Array(arguments.length);for(let d=0;d{i.exports=class FixedFIFO{constructor(i){if(!(i>0)||(i-1&i)!==0)throw new Error("Max size for a FixedFIFO should be a power of two");this.buffer=new Array(i);this.mask=i-1;this.top=0;this.btm=0;this.next=null}clear(){this.top=this.btm=0;this.next=null;this.buffer.fill(undefined)}push(i){if(this.buffer[this.top]!==undefined)return false;this.buffer[this.top]=i;this.top=this.top+1&this.mask;return true}shift(){const i=this.buffer[this.btm];if(i===undefined)return undefined;this.buffer[this.btm]=undefined;this.btm=this.btm+1&this.mask;return i}peek(){return this.buffer[this.btm]}isEmpty(){return this.buffer[this.btm]===undefined}}},83867:(i,d,p)=>{const v=p(13587);i.exports=class FastFIFO{constructor(i){this.hwm=i||16;this.head=new v(this.hwm);this.tail=this.head;this.length=0}clear(){this.head=this.tail;this.head.clear();this.length=0}push(i){this.length++;if(!this.head.push(i)){const d=this.head;this.head=d.next=new v(2*this.head.buffer.length);this.head.push(i)}}shift(){if(this.length!==0)this.length--;const i=this.tail.shift();if(i===undefined&&this.tail.next){const i=this.tail.next;this.tail.next=null;this.tail=i;return this.tail.shift()}return i}peek(){const i=this.tail.peek();if(i===undefined&&this.tail.next)return this.tail.next.peek();return i}isEmpty(){return this.length===0}}},73964:i=>{i.exports=clone;var d=Object.getPrototypeOf||function(i){return i.__proto__};function clone(i){if(i===null||typeof i!=="object")return i;if(i instanceof Object)var p={__proto__:d(i)};else var p=Object.create(null);Object.getOwnPropertyNames(i).forEach((function(d){Object.defineProperty(p,d,Object.getOwnPropertyDescriptor(i,d))}));return p}},35744:(i,d,p)=>{var v=p(79896);var V=p(83501);var K=p(12270);var ee=p(73964);var te=p(39023);var re;var ne;if(typeof Symbol==="function"&&typeof Symbol.for==="function"){re=Symbol.for("graceful-fs.queue");ne=Symbol.for("graceful-fs.previous")}else{re="___graceful-fs.queue";ne="___graceful-fs.previous"}function noop(){}function publishQueue(i,d){Object.defineProperty(i,re,{get:function(){return d}})}var se=noop;if(te.debuglog)se=te.debuglog("gfs4");else if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||""))se=function(){var i=te.format.apply(te,arguments);i="GFS4: "+i.split(/\n/).join("\nGFS4: ");console.error(i)};if(!v[re]){var ie=global[re]||[];publishQueue(v,ie);v.close=function(i){function close(d,p){return i.call(v,d,(function(i){if(!i){resetQueue()}if(typeof p==="function")p.apply(this,arguments)}))}Object.defineProperty(close,ne,{value:i});return close}(v.close);v.closeSync=function(i){function closeSync(d){i.apply(v,arguments);resetQueue()}Object.defineProperty(closeSync,ne,{value:i});return closeSync}(v.closeSync);if(/\bgfs4\b/i.test(process.env.NODE_DEBUG||"")){process.on("exit",(function(){se(v[re]);p(42613).equal(v[re].length,0)}))}}if(!global[re]){publishQueue(global,v[re])}i.exports=patch(ee(v));if(process.env.TEST_GRACEFUL_FS_GLOBAL_PATCH&&!v.__patched){i.exports=patch(v);v.__patched=true}function patch(i){V(i);i.gracefulify=patch;i.createReadStream=createReadStream;i.createWriteStream=createWriteStream;var d=i.readFile;i.readFile=readFile;function readFile(i,p,v){if(typeof p==="function")v=p,p=null;return go$readFile(i,p,v);function go$readFile(i,p,v,V){return d(i,p,(function(d){if(d&&(d.code==="EMFILE"||d.code==="ENFILE"))enqueue([go$readFile,[i,p,v],d,V||Date.now(),Date.now()]);else{if(typeof v==="function")v.apply(this,arguments)}}))}}var p=i.writeFile;i.writeFile=writeFile;function writeFile(i,d,v,V){if(typeof v==="function")V=v,v=null;return go$writeFile(i,d,v,V);function go$writeFile(i,d,v,V,K){return p(i,d,v,(function(p){if(p&&(p.code==="EMFILE"||p.code==="ENFILE"))enqueue([go$writeFile,[i,d,v,V],p,K||Date.now(),Date.now()]);else{if(typeof V==="function")V.apply(this,arguments)}}))}}var v=i.appendFile;if(v)i.appendFile=appendFile;function appendFile(i,d,p,V){if(typeof p==="function")V=p,p=null;return go$appendFile(i,d,p,V);function go$appendFile(i,d,p,V,K){return v(i,d,p,(function(v){if(v&&(v.code==="EMFILE"||v.code==="ENFILE"))enqueue([go$appendFile,[i,d,p,V],v,K||Date.now(),Date.now()]);else{if(typeof V==="function")V.apply(this,arguments)}}))}}var ee=i.copyFile;if(ee)i.copyFile=copyFile;function copyFile(i,d,p,v){if(typeof p==="function"){v=p;p=0}return go$copyFile(i,d,p,v);function go$copyFile(i,d,p,v,V){return ee(i,d,p,(function(K){if(K&&(K.code==="EMFILE"||K.code==="ENFILE"))enqueue([go$copyFile,[i,d,p,v],K,V||Date.now(),Date.now()]);else{if(typeof v==="function")v.apply(this,arguments)}}))}}var te=i.readdir;i.readdir=readdir;var re=/^v[0-5]\./;function readdir(i,d,p){if(typeof d==="function")p=d,d=null;var v=re.test(process.version)?function go$readdir(i,d,p,v){return te(i,fs$readdirCallback(i,d,p,v))}:function go$readdir(i,d,p,v){return te(i,d,fs$readdirCallback(i,d,p,v))};return v(i,d,p);function fs$readdirCallback(i,d,p,V){return function(K,ee){if(K&&(K.code==="EMFILE"||K.code==="ENFILE"))enqueue([v,[i,d,p],K,V||Date.now(),Date.now()]);else{if(ee&&ee.sort)ee.sort();if(typeof p==="function")p.call(this,K,ee)}}}}if(process.version.substr(0,4)==="v0.8"){var ne=K(i);ReadStream=ne.ReadStream;WriteStream=ne.WriteStream}var se=i.ReadStream;if(se){ReadStream.prototype=Object.create(se.prototype);ReadStream.prototype.open=ReadStream$open}var ie=i.WriteStream;if(ie){WriteStream.prototype=Object.create(ie.prototype);WriteStream.prototype.open=WriteStream$open}Object.defineProperty(i,"ReadStream",{get:function(){return ReadStream},set:function(i){ReadStream=i},enumerable:true,configurable:true});Object.defineProperty(i,"WriteStream",{get:function(){return WriteStream},set:function(i){WriteStream=i},enumerable:true,configurable:true});var oe=ReadStream;Object.defineProperty(i,"FileReadStream",{get:function(){return oe},set:function(i){oe=i},enumerable:true,configurable:true});var ae=WriteStream;Object.defineProperty(i,"FileWriteStream",{get:function(){return ae},set:function(i){ae=i},enumerable:true,configurable:true});function ReadStream(i,d){if(this instanceof ReadStream)return se.apply(this,arguments),this;else return ReadStream.apply(Object.create(ReadStream.prototype),arguments)}function ReadStream$open(){var i=this;open(i.path,i.flags,i.mode,(function(d,p){if(d){if(i.autoClose)i.destroy();i.emit("error",d)}else{i.fd=p;i.emit("open",p);i.read()}}))}function WriteStream(i,d){if(this instanceof WriteStream)return ie.apply(this,arguments),this;else return WriteStream.apply(Object.create(WriteStream.prototype),arguments)}function WriteStream$open(){var i=this;open(i.path,i.flags,i.mode,(function(d,p){if(d){i.destroy();i.emit("error",d)}else{i.fd=p;i.emit("open",p)}}))}function createReadStream(d,p){return new i.ReadStream(d,p)}function createWriteStream(d,p){return new i.WriteStream(d,p)}var Ae=i.open;i.open=open;function open(i,d,p,v){if(typeof p==="function")v=p,p=null;return go$open(i,d,p,v);function go$open(i,d,p,v,V){return Ae(i,d,p,(function(K,ee){if(K&&(K.code==="EMFILE"||K.code==="ENFILE"))enqueue([go$open,[i,d,p,v],K,V||Date.now(),Date.now()]);else{if(typeof v==="function")v.apply(this,arguments)}}))}}return i}function enqueue(i){se("ENQUEUE",i[0].name,i[1]);v[re].push(i);retry()}var oe;function resetQueue(){var i=Date.now();for(var d=0;d2){v[re][d][3]=i;v[re][d][4]=i}}retry()}function retry(){clearTimeout(oe);oe=undefined;if(v[re].length===0)return;var i=v[re].shift();var d=i[0];var p=i[1];var V=i[2];var K=i[3];var ee=i[4];if(K===undefined){se("RETRY",d.name,p);d.apply(null,p)}else if(Date.now()-K>=6e4){se("TIMEOUT",d.name,p);var te=p.pop();if(typeof te==="function")te.call(null,V)}else{var ne=Date.now()-ee;var ie=Math.max(ee-K,1);var ae=Math.min(ie*1.2,100);if(ne>=ae){se("RETRY",d.name,p);d.apply(null,p.concat([K]))}else{v[re].push(i)}}if(oe===undefined){oe=setTimeout(retry,0)}}},12270:(i,d,p)=>{var v=p(2203).Stream;i.exports=legacy;function legacy(i){return{ReadStream:ReadStream,WriteStream:WriteStream};function ReadStream(d,p){if(!(this instanceof ReadStream))return new ReadStream(d,p);v.call(this);var V=this;this.path=d;this.fd=null;this.readable=true;this.paused=false;this.flags="r";this.mode=438;this.bufferSize=64*1024;p=p||{};var K=Object.keys(p);for(var ee=0,te=K.length;eethis.end){throw new Error("start must be <= end")}this.pos=this.start}if(this.fd!==null){process.nextTick((function(){V._read()}));return}i.open(this.path,this.flags,this.mode,(function(i,d){if(i){V.emit("error",i);V.readable=false;return}V.fd=d;V.emit("open",d);V._read()}))}function WriteStream(d,p){if(!(this instanceof WriteStream))return new WriteStream(d,p);v.call(this);this.path=d;this.fd=null;this.writable=true;this.flags="w";this.encoding="binary";this.mode=438;this.bytesWritten=0;p=p||{};var V=Object.keys(p);for(var K=0,ee=V.length;K= zero")}this.pos=this.start}this.busy=false;this._queue=[];if(this.fd===null){this._open=i.open;this._queue.push([this._open,this.path,this.flags,this.mode,undefined]);this.flush()}}}},83501:(i,d,p)=>{var v=p(49140);var V=process.cwd;var K=null;var ee=process.env.GRACEFUL_FS_PLATFORM||process.platform;process.cwd=function(){if(!K)K=V.call(process);return K};try{process.cwd()}catch(i){}if(typeof process.chdir==="function"){var te=process.chdir;process.chdir=function(i){K=null;te.call(process,i)};if(Object.setPrototypeOf)Object.setPrototypeOf(process.chdir,te)}i.exports=patch;function patch(i){if(v.hasOwnProperty("O_SYMLINK")&&process.version.match(/^v0\.6\.[0-2]|^v0\.5\./)){patchLchmod(i)}if(!i.lutimes){patchLutimes(i)}i.chown=chownFix(i.chown);i.fchown=chownFix(i.fchown);i.lchown=chownFix(i.lchown);i.chmod=chmodFix(i.chmod);i.fchmod=chmodFix(i.fchmod);i.lchmod=chmodFix(i.lchmod);i.chownSync=chownFixSync(i.chownSync);i.fchownSync=chownFixSync(i.fchownSync);i.lchownSync=chownFixSync(i.lchownSync);i.chmodSync=chmodFixSync(i.chmodSync);i.fchmodSync=chmodFixSync(i.fchmodSync);i.lchmodSync=chmodFixSync(i.lchmodSync);i.stat=statFix(i.stat);i.fstat=statFix(i.fstat);i.lstat=statFix(i.lstat);i.statSync=statFixSync(i.statSync);i.fstatSync=statFixSync(i.fstatSync);i.lstatSync=statFixSync(i.lstatSync);if(i.chmod&&!i.lchmod){i.lchmod=function(i,d,p){if(p)process.nextTick(p)};i.lchmodSync=function(){}}if(i.chown&&!i.lchown){i.lchown=function(i,d,p,v){if(v)process.nextTick(v)};i.lchownSync=function(){}}if(ee==="win32"){i.rename=typeof i.rename!=="function"?i.rename:function(d){function rename(p,v,V){var K=Date.now();var ee=0;d(p,v,(function CB(te){if(te&&(te.code==="EACCES"||te.code==="EPERM"||te.code==="EBUSY")&&Date.now()-K<6e4){setTimeout((function(){i.stat(v,(function(i,K){if(i&&i.code==="ENOENT")d(p,v,CB);else V(te)}))}),ee);if(ee<100)ee+=10;return}if(V)V(te)}))}if(Object.setPrototypeOf)Object.setPrototypeOf(rename,d);return rename}(i.rename)}i.read=typeof i.read!=="function"?i.read:function(d){function read(p,v,V,K,ee,te){var re;if(te&&typeof te==="function"){var ne=0;re=function(se,ie,oe){if(se&&se.code==="EAGAIN"&&ne<10){ne++;return d.call(i,p,v,V,K,ee,re)}te.apply(this,arguments)}}return d.call(i,p,v,V,K,ee,re)}if(Object.setPrototypeOf)Object.setPrototypeOf(read,d);return read}(i.read);i.readSync=typeof i.readSync!=="function"?i.readSync:function(d){return function(p,v,V,K,ee){var te=0;while(true){try{return d.call(i,p,v,V,K,ee)}catch(i){if(i.code==="EAGAIN"&&te<10){te++;continue}throw i}}}}(i.readSync);function patchLchmod(i){i.lchmod=function(d,p,V){i.open(d,v.O_WRONLY|v.O_SYMLINK,p,(function(d,v){if(d){if(V)V(d);return}i.fchmod(v,p,(function(d){i.close(v,(function(i){if(V)V(d||i)}))}))}))};i.lchmodSync=function(d,p){var V=i.openSync(d,v.O_WRONLY|v.O_SYMLINK,p);var K=true;var ee;try{ee=i.fchmodSync(V,p);K=false}finally{if(K){try{i.closeSync(V)}catch(i){}}else{i.closeSync(V)}}return ee}}function patchLutimes(i){if(v.hasOwnProperty("O_SYMLINK")&&i.futimes){i.lutimes=function(d,p,V,K){i.open(d,v.O_SYMLINK,(function(d,v){if(d){if(K)K(d);return}i.futimes(v,p,V,(function(d){i.close(v,(function(i){if(K)K(d||i)}))}))}))};i.lutimesSync=function(d,p,V){var K=i.openSync(d,v.O_SYMLINK);var ee;var te=true;try{ee=i.futimesSync(K,p,V);te=false}finally{if(te){try{i.closeSync(K)}catch(i){}}else{i.closeSync(K)}}return ee}}else if(i.futimes){i.lutimes=function(i,d,p,v){if(v)process.nextTick(v)};i.lutimesSync=function(){}}}function chmodFix(d){if(!d)return d;return function(p,v,V){return d.call(i,p,v,(function(i){if(chownErOk(i))i=null;if(V)V.apply(this,arguments)}))}}function chmodFixSync(d){if(!d)return d;return function(p,v){try{return d.call(i,p,v)}catch(i){if(!chownErOk(i))throw i}}}function chownFix(d){if(!d)return d;return function(p,v,V,K){return d.call(i,p,v,V,(function(i){if(chownErOk(i))i=null;if(K)K.apply(this,arguments)}))}}function chownFixSync(d){if(!d)return d;return function(p,v,V){try{return d.call(i,p,v,V)}catch(i){if(!chownErOk(i))throw i}}}function statFix(d){if(!d)return d;return function(p,v,V){if(typeof v==="function"){V=v;v=null}function callback(i,d){if(d){if(d.uid<0)d.uid+=4294967296;if(d.gid<0)d.gid+=4294967296}if(V)V.apply(this,arguments)}return v?d.call(i,p,v,callback):d.call(i,p,callback)}}function statFixSync(d){if(!d)return d;return function(p,v){var V=v?d.call(i,p,v):d.call(i,p);if(V){if(V.uid<0)V.uid+=4294967296;if(V.gid<0)V.gid+=4294967296}return V}}function chownErOk(i){if(!i)return true;if(i.code==="ENOSYS")return true;var d=!process.getuid||process.getuid()!==0;if(d){if(i.code==="EINVAL"||i.code==="EPERM")return true}return false}}},83813:i=>{i.exports=(i,d=process.argv)=>{const p=i.startsWith("-")?"":i.length===1?"-":"--";const v=d.indexOf(p+i);const V=d.indexOf("--");return v!==-1&&(V===-1||v\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g;var se={"­":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr","ª":"ordf","á":"aacute","Á":"Aacute","à":"agrave","À":"Agrave","ă":"abreve","Ă":"Abreve","â":"acirc","Â":"Acirc","å":"aring","Å":"angst","ä":"auml","Ä":"Auml","ã":"atilde","Ã":"Atilde","ą":"aogon","Ą":"Aogon","ā":"amacr","Ā":"Amacr","æ":"aelig","Æ":"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf","ℬ":"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf","ℭ":"Cfr","𝒞":"Cscr","ℂ":"Copf","ć":"cacute","Ć":"Cacute","ĉ":"ccirc","Ĉ":"Ccirc","č":"ccaron","Č":"Ccaron","ċ":"cdot","Ċ":"Cdot","ç":"ccedil","Ç":"Ccedil","℅":"incare","𝔡":"dfr","ⅆ":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","ⅅ":"DD","𝔻":"Dopf","ď":"dcaron","Ď":"Dcaron","đ":"dstrok","Đ":"Dstrok","ð":"eth","Ð":"ETH","ⅇ":"ee","ℯ":"escr","𝔢":"efr","𝕖":"eopf","ℰ":"Escr","𝔈":"Efr","𝔼":"Eopf","é":"eacute","É":"Eacute","è":"egrave","È":"Egrave","ê":"ecirc","Ê":"Ecirc","ě":"ecaron","Ě":"Ecaron","ë":"euml","Ë":"Euml","ė":"edot","Ė":"Edot","ę":"eogon","Ę":"Eogon","ē":"emacr","Ē":"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf","ℱ":"Fscr","ff":"fflig","ffi":"ffilig","ffl":"ffllig","fi":"filig",fj:"fjlig","fl":"fllig","ƒ":"fnof","ℊ":"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr","ǵ":"gacute","ğ":"gbreve","Ğ":"Gbreve","ĝ":"gcirc","Ĝ":"Gcirc","ġ":"gdot","Ġ":"Gdot","Ģ":"Gcedil","𝔥":"hfr","ℎ":"planckh","𝒽":"hscr","𝕙":"hopf","ℋ":"Hscr","ℌ":"Hfr","ℍ":"Hopf","ĥ":"hcirc","Ĥ":"Hcirc","ℏ":"hbar","ħ":"hstrok","Ħ":"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","ⅈ":"ii","𝕀":"Iopf","ℐ":"Iscr","ℑ":"Im","í":"iacute","Í":"Iacute","ì":"igrave","Ì":"Igrave","î":"icirc","Î":"Icirc","ï":"iuml","Ï":"Iuml","ĩ":"itilde","Ĩ":"Itilde","İ":"Idot","į":"iogon","Į":"Iogon","ī":"imacr","Ī":"Imacr","ij":"ijlig","IJ":"IJlig","ı":"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf","ĵ":"jcirc","Ĵ":"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr","ķ":"kcedil","Ķ":"Kcedil","𝔩":"lfr","𝓁":"lscr","ℓ":"ell","𝕝":"lopf","ℒ":"Lscr","𝔏":"Lfr","𝕃":"Lopf","ĺ":"lacute","Ĺ":"Lacute","ľ":"lcaron","Ľ":"Lcaron","ļ":"lcedil","Ļ":"Lcedil","ł":"lstrok","Ł":"Lstrok","ŀ":"lmidot","Ŀ":"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf","ℳ":"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr","ℕ":"Nopf","𝒩":"Nscr","𝔑":"Nfr","ń":"nacute","Ń":"Nacute","ň":"ncaron","Ň":"Ncaron","ñ":"ntilde","Ñ":"Ntilde","ņ":"ncedil","Ņ":"Ncedil","№":"numero","ŋ":"eng","Ŋ":"ENG","𝕠":"oopf","𝔬":"ofr","ℴ":"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf","º":"ordm","ó":"oacute","Ó":"Oacute","ò":"ograve","Ò":"Ograve","ô":"ocirc","Ô":"Ocirc","ö":"ouml","Ö":"Ouml","ő":"odblac","Ő":"Odblac","õ":"otilde","Õ":"Otilde","ø":"oslash","Ø":"Oslash","ō":"omacr","Ō":"Omacr","œ":"oelig","Œ":"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf","ℙ":"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr","ℚ":"Qopf","ĸ":"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr","ℛ":"Rscr","ℜ":"Re","ℝ":"Ropf","ŕ":"racute","Ŕ":"Racute","ř":"rcaron","Ř":"Rcaron","ŗ":"rcedil","Ŗ":"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS","ś":"sacute","Ś":"Sacute","ŝ":"scirc","Ŝ":"Scirc","š":"scaron","Š":"Scaron","ş":"scedil","Ş":"Scedil","ß":"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf","ť":"tcaron","Ť":"Tcaron","ţ":"tcedil","Ţ":"Tcedil","™":"trade","ŧ":"tstrok","Ŧ":"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr","ú":"uacute","Ú":"Uacute","ù":"ugrave","Ù":"Ugrave","ŭ":"ubreve","Ŭ":"Ubreve","û":"ucirc","Û":"Ucirc","ů":"uring","Ů":"Uring","ü":"uuml","Ü":"Uuml","ű":"udblac","Ű":"Udblac","ũ":"utilde","Ũ":"Utilde","ų":"uogon","Ų":"Uogon","ū":"umacr","Ū":"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr","ŵ":"wcirc","Ŵ":"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf","ý":"yacute","Ý":"Yacute","ŷ":"ycirc","Ŷ":"Ycirc","ÿ":"yuml","Ÿ":"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf","ℨ":"Zfr","ℤ":"Zopf","𝒵":"Zscr","ź":"zacute","Ź":"Zacute","ž":"zcaron","Ž":"Zcaron","ż":"zdot","Ż":"Zdot","Ƶ":"imped","þ":"thorn","Þ":"THORN","ʼn":"napos","α":"alpha","Α":"Alpha","β":"beta","Β":"Beta","γ":"gamma","Γ":"Gamma","δ":"delta","Δ":"Delta","ε":"epsi","ϵ":"epsiv","Ε":"Epsilon","ϝ":"gammad","Ϝ":"Gammad","ζ":"zeta","Ζ":"Zeta","η":"eta","Η":"Eta","θ":"theta","ϑ":"thetav","Θ":"Theta","ι":"iota","Ι":"Iota","κ":"kappa","ϰ":"kappav","Κ":"Kappa","λ":"lambda","Λ":"Lambda","μ":"mu","µ":"micro","Μ":"Mu","ν":"nu","Ν":"Nu","ξ":"xi","Ξ":"Xi","ο":"omicron","Ο":"Omicron","π":"pi","ϖ":"piv","Π":"Pi","ρ":"rho","ϱ":"rhov","Ρ":"Rho","σ":"sigma","Σ":"Sigma","ς":"sigmaf","τ":"tau","Τ":"Tau","υ":"upsi","Υ":"Upsilon","ϒ":"Upsi","φ":"phi","ϕ":"phiv","Φ":"Phi","χ":"chi","Χ":"Chi","ψ":"psi","Ψ":"Psi","ω":"omega","Ω":"ohm","а":"acy","А":"Acy","б":"bcy","Б":"Bcy","в":"vcy","В":"Vcy","г":"gcy","Г":"Gcy","ѓ":"gjcy","Ѓ":"GJcy","д":"dcy","Д":"Dcy","ђ":"djcy","Ђ":"DJcy","е":"iecy","Е":"IEcy","ё":"iocy","Ё":"IOcy","є":"jukcy","Є":"Jukcy","ж":"zhcy","Ж":"ZHcy","з":"zcy","З":"Zcy","ѕ":"dscy","Ѕ":"DScy","и":"icy","И":"Icy","і":"iukcy","І":"Iukcy","ї":"yicy","Ї":"YIcy","й":"jcy","Й":"Jcy","ј":"jsercy","Ј":"Jsercy","к":"kcy","К":"Kcy","ќ":"kjcy","Ќ":"KJcy","л":"lcy","Л":"Lcy","љ":"ljcy","Љ":"LJcy","м":"mcy","М":"Mcy","н":"ncy","Н":"Ncy","њ":"njcy","Њ":"NJcy","о":"ocy","О":"Ocy","п":"pcy","П":"Pcy","р":"rcy","Р":"Rcy","с":"scy","С":"Scy","т":"tcy","Т":"Tcy","ћ":"tshcy","Ћ":"TSHcy","у":"ucy","У":"Ucy","ў":"ubrcy","Ў":"Ubrcy","ф":"fcy","Ф":"Fcy","х":"khcy","Х":"KHcy","ц":"tscy","Ц":"TScy","ч":"chcy","Ч":"CHcy","џ":"dzcy","Џ":"DZcy","ш":"shcy","Ш":"SHcy","щ":"shchcy","Щ":"SHCHcy","ъ":"hardcy","Ъ":"HARDcy","ы":"ycy","Ы":"Ycy","ь":"softcy","Ь":"SOFTcy","э":"ecy","Э":"Ecy","ю":"yucy","Ю":"YUcy","я":"yacy","Я":"YAcy","ℵ":"aleph","ℶ":"beth","ℷ":"gimel","ℸ":"daleth"};var ie=/["&'<>`]/g;var oe={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"};var ae=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/;var Ae=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;var ce=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g;var le={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:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",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:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",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:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",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:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",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:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",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:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",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:"▫",emsp:" ",emsp13:" ",emsp14:" ",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:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",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",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",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:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",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:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",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:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",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:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",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:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",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:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",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:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",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:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",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:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",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:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",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:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",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:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",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:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",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:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",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:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",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:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",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:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",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:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",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:"‌"};var ue={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:"ÿ"};var de={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"};var he=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111];var fe=String.fromCharCode;var ge={};var pe=ge.hasOwnProperty;var has=function(i,d){return pe.call(i,d)};var contains=function(i,d){var p=-1;var v=i.length;while(++p=55296&&i<=57343||i>1114111){if(d){parseError("character reference outside the permissible Unicode range")}return"�"}if(has(de,i)){if(d){parseError("disallowed character reference")}return de[i]}if(d&&contains(he,i)){parseError("disallowed character reference")}if(i>65535){i-=65536;p+=fe(i>>>10&1023|55296);i=56320|i&1023}p+=fe(i);return p};var hexEscape=function(i){return"&#x"+i.toString(16).toUpperCase()+";"};var decEscape=function(i){return"&#"+i+";"};var parseError=function(i){throw Error("Parse error: "+i)};var encode=function(i,d){d=merge(d,encode.options);var p=d.strict;if(p&&Ae.test(i)){parseError("forbidden code point")}var v=d.encodeEverything;var V=d.useNamedReferences;var K=d.allowUnsafeSymbols;var oe=d.decimal?decEscape:hexEscape;var escapeBmpSymbol=function(i){return oe(i.charCodeAt(0))};if(v){i=i.replace(te,(function(i){if(V&&has(se,i)){return"&"+se[i]+";"}return escapeBmpSymbol(i)}));if(V){i=i.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")}if(V){i=i.replace(ne,(function(i){return"&"+se[i]+";"}))}}else if(V){if(!K){i=i.replace(ie,(function(i){return"&"+se[i]+";"}))}i=i.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒");i=i.replace(ne,(function(i){return"&"+se[i]+";"}))}else if(!K){i=i.replace(ie,escapeBmpSymbol)}return i.replace(ee,(function(i){var d=i.charCodeAt(0);var p=i.charCodeAt(1);var v=(d-55296)*1024+p-56320+65536;return oe(v)})).replace(re,escapeBmpSymbol)};encode.options={allowUnsafeSymbols:false,encodeEverything:false,strict:false,useNamedReferences:false,decimal:false};var decode=function(i,d){d=merge(d,decode.options);var p=d.strict;if(p&&ae.test(i)){parseError("malformed character reference")}return i.replace(ce,(function(i,v,V,K,ee,te,re,ne,se){var ie;var oe;var ae;var Ae;var ce;var de;if(v){ce=v;return le[ce]}if(V){ce=V;de=K;if(de&&d.isAttributeValue){if(p&&de=="="){parseError("`&` did not start a character reference")}return i}else{if(p){parseError("named character reference was not terminated by a semicolon")}return ue[ce]+(de||"")}}if(ee){ae=ee;oe=te;if(p&&!oe){parseError("character reference was not terminated by a semicolon")}ie=parseInt(ae,10);return codePointToSymbol(ie,p)}if(re){Ae=re;oe=ne;if(p&&!oe){parseError("character reference was not terminated by a semicolon")}ie=parseInt(Ae,16);return codePointToSymbol(ie,p)}if(p){parseError("named character reference was not terminated by a semicolon")}return i}))};decode.options={isAttributeValue:false,strict:false};var escape=function(i){return i.replace(ie,(function(i){return oe[i]}))};var me={version:"1.2.0",encode:encode,decode:decode,escape:escape,unescape:decode};if(typeof define=="function"&&typeof define.amd=="object"&&define.amd){define((function(){return me}))}else if(v&&!v.nodeType){if(V){V.exports=me}else{for(var Ee in me){has(me,Ee)&&(v[Ee]=me[Ee])}}}else{p.he=me}})(this)},81970:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};var ee=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(d,"__esModule",{value:true});d.HttpProxyAgent=void 0;const te=K(p(69278));const re=K(p(64756));const ne=ee(p(2830));const se=p(24434);const ie=p(98894);const oe=p(87016);const ae=(0,ne.default)("http-proxy-agent");class HttpProxyAgent extends ie.Agent{constructor(i,d){super(d);this.proxy=typeof i==="string"?new oe.URL(i):i;this.proxyHeaders=d?.headers??{};ae("Creating new HttpProxyAgent instance: %o",this.proxy.href);const p=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,"");const v=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={...d?omit(d,"headers"):null,host:p,port:v}}addRequest(i,d){i._header=null;this.setRequestProps(i,d);super.addRequest(i,d)}setRequestProps(i,d){const{proxy:p}=this;const v=d.secureEndpoint?"https:":"http:";const V=i.getHeader("host")||"localhost";const K=`${v}//${V}`;const ee=new oe.URL(i.path,K);if(d.port!==80){ee.port=String(d.port)}i.path=String(ee);const te=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders};if(p.username||p.password){const i=`${decodeURIComponent(p.username)}:${decodeURIComponent(p.password)}`;te["Proxy-Authorization"]=`Basic ${Buffer.from(i).toString("base64")}`}if(!te["Proxy-Connection"]){te["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"}for(const d of Object.keys(te)){const p=te[d];if(p){i.setHeader(d,p)}}}async connect(i,d){i._header=null;if(!i.path.includes("://")){this.setRequestProps(i,d)}let p;let v;ae("Regenerating stored HTTP header string for request");i._implicitHeader();if(i.outputData&&i.outputData.length>0){ae("Patching connection write() output buffer with updated header");p=i.outputData[0].data;v=p.indexOf("\r\n\r\n")+4;i.outputData[0].data=i._header+p.substring(v);ae("Output buffer: %o",i.outputData[0].data)}let V;if(this.proxy.protocol==="https:"){ae("Creating `tls.Socket`: %o",this.connectOpts);V=re.connect(this.connectOpts)}else{ae("Creating `net.Socket`: %o",this.connectOpts);V=te.connect(this.connectOpts)}await(0,se.once)(V,"connect");return V}}HttpProxyAgent.protocols=["http","https"];d.HttpProxyAgent=HttpProxyAgent;function omit(i,...d){const p={};let v;for(v in i){if(!d.includes(v)){p[v]=i[v]}}return p}},3669:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};var ee=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(d,"__esModule",{value:true});d.HttpsProxyAgent=void 0;const te=K(p(69278));const re=K(p(64756));const ne=ee(p(42613));const se=ee(p(2830));const ie=p(65714);const oe=p(87016);const ae=p(37943);const Ae=(0,se.default)("https-proxy-agent");const setServernameFromNonIpHost=i=>{if(i.servername===undefined&&i.host&&!te.isIP(i.host)){return{...i,servername:i.host}}return i};class HttpsProxyAgent extends ie.Agent{constructor(i,d){super(d);this.options={path:undefined};this.proxy=typeof i==="string"?new oe.URL(i):i;this.proxyHeaders=d?.headers??{};Ae("Creating new HttpsProxyAgent instance: %o",this.proxy.href);const p=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,"");const v=this.proxy.port?parseInt(this.proxy.port,10):this.proxy.protocol==="https:"?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...d?omit(d,"headers"):null,host:p,port:v}}async connect(i,d){const{proxy:p}=this;if(!d.host){throw new TypeError('No "host" provided')}let v;if(p.protocol==="https:"){Ae("Creating `tls.Socket`: %o",this.connectOpts);v=re.connect(setServernameFromNonIpHost(this.connectOpts))}else{Ae("Creating `net.Socket`: %o",this.connectOpts);v=te.connect(this.connectOpts)}const V=typeof this.proxyHeaders==="function"?this.proxyHeaders():{...this.proxyHeaders};const K=te.isIPv6(d.host)?`[${d.host}]`:d.host;let ee=`CONNECT ${K}:${d.port} HTTP/1.1\r\n`;if(p.username||p.password){const i=`${decodeURIComponent(p.username)}:${decodeURIComponent(p.password)}`;V["Proxy-Authorization"]=`Basic ${Buffer.from(i).toString("base64")}`}V.Host=`${K}:${d.port}`;if(!V["Proxy-Connection"]){V["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"}for(const i of Object.keys(V)){ee+=`${i}: ${V[i]}\r\n`}const se=(0,ae.parseProxyResponse)(v);v.write(`${ee}\r\n`);const{connect:ie,buffered:oe}=await se;i.emit("proxyConnect",ie);this.emit("proxyConnect",ie,i);if(ie.statusCode===200){i.once("socket",resume);if(d.secureEndpoint){Ae("Upgrading socket connection to TLS");return re.connect({...omit(setServernameFromNonIpHost(d),"host","path","port"),socket:v})}return v}v.destroy();const ce=new te.Socket({writable:false});ce.readable=true;i.once("socket",(i=>{Ae("Replaying proxy buffer for failed request");(0,ne.default)(i.listenerCount("data")>0);i.push(oe);i.push(null)}));return ce}}HttpsProxyAgent.protocols=["http","https"];d.HttpsProxyAgent=HttpsProxyAgent;function resume(i){i.resume()}function omit(i,...d){const p={};let v;for(v in i){if(!d.includes(v)){p[v]=i[v]}}return p}},37943:function(i,d,p){var v=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(d,"__esModule",{value:true});d.parseProxyResponse=void 0;const V=v(p(2830));const K=(0,V.default)("https-proxy-agent:parse-proxy-response");function parseProxyResponse(i){return new Promise(((d,p)=>{let v=0;const V=[];function read(){const d=i.read();if(d)ondata(d);else i.once("readable",read)}function cleanup(){i.removeListener("end",onend);i.removeListener("error",onerror);i.removeListener("readable",read)}function onend(){cleanup();K("onend");p(new Error("Proxy connection ended before receiving CONNECT response"))}function onerror(i){cleanup();K("onerror %o",i);p(i)}function ondata(ee){V.push(ee);v+=ee.length;const te=Buffer.concat(V,v);const re=te.indexOf("\r\n\r\n");if(re===-1){K("have not received end of HTTP headers yet...");read();return}const ne=te.slice(0,re).toString("ascii").split("\r\n");const se=ne.shift();if(!se){i.destroy();return p(new Error("No header received from proxy CONNECT response"))}const ie=se.split(" ");const oe=+ie[1];const ae=ie.slice(2).join(" ");const Ae={};for(const d of ne){if(!d)continue;const v=d.indexOf(":");if(v===-1){i.destroy();return p(new Error(`Invalid header from proxy CONNECT response: "${d}"`))}const V=d.slice(0,v).toLowerCase();const K=d.slice(v+1).trimStart();const ee=Ae[V];if(typeof ee==="string"){Ae[V]=[ee,K]}else if(Array.isArray(ee)){ee.push(K)}else{Ae[V]=K}}K("got proxy server response: %o %o",se,Ae);cleanup();d({connect:{statusCode:oe,statusText:ae,headers:Ae},buffered:te})}i.on("error",onerror);i.on("end",onend);read()}))}d.parseProxyResponse=parseProxyResponse},58515:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};Object.defineProperty(d,"__esModule",{value:true});d.req=d.json=d.toBuffer=void 0;const ee=K(p(58611));const te=K(p(65692));async function toBuffer(i){let d=0;const p=[];for await(const v of i){d+=v.length;p.push(v)}return Buffer.concat(p,d)}d.toBuffer=toBuffer;async function json(i){const d=await toBuffer(i);const p=d.toString("utf8");try{return JSON.parse(p)}catch(i){const d=i;d.message+=` (input: ${p})`;throw d}}d.json=json;function req(i,d={}){const p=typeof i==="string"?i:i.href;const v=(p.startsWith("https:")?te:ee).request(i,d);const V=new Promise(((i,d)=>{v.once("response",i).once("error",d).end()}));v.then=V.then.bind(V);return v}d.req=req},65714:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};var ee=this&&this.__exportStar||function(i,d){for(var p in i)if(p!=="default"&&!Object.prototype.hasOwnProperty.call(d,p))v(d,i,p)};Object.defineProperty(d,"__esModule",{value:true});d.Agent=void 0;const te=K(p(69278));const re=K(p(58611));const ne=p(65692);ee(p(58515),d);const se=Symbol("AgentBaseInternalState");class Agent extends re.Agent{constructor(i){super(i);this[se]={}}isSecureEndpoint(i){if(i){if(typeof i.secureEndpoint==="boolean"){return i.secureEndpoint}if(typeof i.protocol==="string"){return i.protocol==="https:"}}const{stack:d}=new Error;if(typeof d!=="string")return false;return d.split("\n").some((i=>i.indexOf("(https.js:")!==-1||i.indexOf("node:https:")!==-1))}incrementSockets(i){if(this.maxSockets===Infinity&&this.maxTotalSockets===Infinity){return null}if(!this.sockets[i]){this.sockets[i]=[]}const d=new te.Socket({writable:false});this.sockets[i].push(d);this.totalSocketCount++;return d}decrementSockets(i,d){if(!this.sockets[i]||d===null){return}const p=this.sockets[i];const v=p.indexOf(d);if(v!==-1){p.splice(v,1);this.totalSocketCount--;if(p.length===0){delete this.sockets[i]}}}getName(i){const d=typeof i.secureEndpoint==="boolean"?i.secureEndpoint:this.isSecureEndpoint(i);if(d){return ne.Agent.prototype.getName.call(this,i)}return super.getName(i)}createSocket(i,d,p){const v={...d,secureEndpoint:this.isSecureEndpoint(d)};const V=this.getName(v);const K=this.incrementSockets(V);Promise.resolve().then((()=>this.connect(i,v))).then((ee=>{this.decrementSockets(V,K);if(ee instanceof re.Agent){try{return ee.addRequest(i,v)}catch(i){return p(i)}}this[se].currentSocket=ee;super.createSocket(i,d,p)}),(i=>{this.decrementSockets(V,K);p(i)}))}createConnection(){const i=this[se].currentSocket;this[se].currentSocket=undefined;if(!i){throw new Error("No socket was returned in the `connect()` function")}return i}get defaultPort(){return this[se].defaultPort??(this.protocol==="https:"?443:80)}set defaultPort(i){if(this[se]){this[se].defaultPort=i}}get protocol(){return this[se].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(i){if(this[se]){this[se].protocol=i}}}d.Agent=Agent},39598:(i,d,p)=>{try{var v=p(39023);if(typeof v.inherits!=="function")throw"";i.exports=v.inherits}catch(d){i.exports=p(26589)}},26589:i=>{if(typeof Object.create==="function"){i.exports=function inherits(i,d){if(d){i.super_=d;i.prototype=Object.create(d.prototype,{constructor:{value:i,enumerable:false,writable:true,configurable:true}})}}}else{i.exports=function inherits(i,d){if(d){i.super_=d;var TempCtor=function(){};TempCtor.prototype=d.prototype;i.prototype=new TempCtor;i.prototype.constructor=i}}}},93407:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true}); /*! * is-plain-object * * Copyright (c) 2014-2017, Jon Schlinkert. * Released under the MIT License. - */function isObject(i){return Object.prototype.toString.call(i)==="[object Object]"}function isPlainObject(i){var d,p;if(isObject(i)===false)return false;d=i.constructor;if(d===undefined)return true;p=d.prototype;if(isObject(p)===false)return false;if(p.hasOwnProperty("isPrototypeOf")===false){return false}return true}d.isPlainObject=isPlainObject},96543:i=>{const isStream=i=>i!==null&&typeof i==="object"&&typeof i.pipe==="function";isStream.writable=i=>isStream(i)&&i.writable!==false&&typeof i._write==="function"&&typeof i._writableState==="object";isStream.readable=i=>isStream(i)&&i.readable!==false&&typeof i._read==="function"&&typeof i._readableState==="object";isStream.duplex=i=>isStream.writable(i)&&isStream.readable(i);isStream.transform=i=>isStream.duplex(i)&&typeof i._transform==="function";i.exports=isStream},82513:i=>{var d={}.toString;i.exports=Array.isArray||function(i){return d.call(i)=="[object Array]"}},74281:(i,d,p)=>{var v=p(91950);var V=p(59980);function renamed(i,d){return function(){throw new Error("Function yaml."+i+" is removed in js-yaml 4. "+"Use yaml."+d+" instead, which is now safe by default.")}}i.exports.Type=p(9557);i.exports.Schema=p(62046);i.exports.FAILSAFE_SCHEMA=p(69832);i.exports.JSON_SCHEMA=p(58927);i.exports.CORE_SCHEMA=p(55746);i.exports.DEFAULT_SCHEMA=p(97336);i.exports.load=v.load;i.exports.loadAll=v.loadAll;i.exports.dump=V.dump;i.exports.YAMLException=p(41248);i.exports.types={binary:p(8149),float:p(57584),map:p(47316),null:p(4333),pairs:p(16267),set:p(78758),timestamp:p(28966),bool:p(67296),int:p(62271),merge:p(76854),omap:p(58649),seq:p(77161),str:p(53929)};i.exports.safeLoad=renamed("safeLoad","load");i.exports.safeLoadAll=renamed("safeLoadAll","loadAll");i.exports.safeDump=renamed("safeDump","dump")},19816:i=>{function isNothing(i){return typeof i==="undefined"||i===null}function isObject(i){return typeof i==="object"&&i!==null}function toArray(i){if(Array.isArray(i))return i;else if(isNothing(i))return[];return[i]}function extend(i,d){var p,v,V,K;if(d){K=Object.keys(d);for(p=0,v=K.length;p{var v=p(19816);var V=p(41248);var K=p(97336);var ee=Object.prototype.toString;var te=Object.prototype.hasOwnProperty;var re=65279;var ne=9;var ie=10;var se=13;var oe=32;var ae=33;var ce=34;var le=35;var ue=37;var Ae=38;var de=39;var pe=42;var fe=44;var he=45;var ge=58;var me=61;var Ee=62;var ye=63;var Ce=64;var be=91;var Ie=93;var Be=96;var we=123;var Se=124;var Qe=125;var ve={};ve[0]="\\0";ve[7]="\\a";ve[8]="\\b";ve[9]="\\t";ve[10]="\\n";ve[11]="\\v";ve[12]="\\f";ve[13]="\\r";ve[27]="\\e";ve[34]='\\"';ve[92]="\\\\";ve[133]="\\N";ve[160]="\\_";ve[8232]="\\L";ve[8233]="\\P";var Re=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];var Te=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function compileStyleMap(i,d){var p,v,V,K,ee,re,ne;if(d===null)return{};p={};v=Object.keys(d);for(V=0,K=v.length;V=55296&&p<=56319&&d+1=56320&&v<=57343){return(p-55296)*1024+v-56320+65536}}return p}function needIndentIndicator(i){var d=/^\n* /;return d.test(i)}var De=1,xe=2,_e=3,Pe=4,Oe=5;function chooseScalarStyle(i,d,p,v,V,K,ee,te){var re;var ne=0;var se=null;var oe=false;var ae=false;var ce=v!==-1;var le=-1;var ue=isPlainSafeFirst(codePointAt(i,0))&&isPlainSafeLast(codePointAt(i,i.length-1));if(d||ee){for(re=0;re=65536?re+=2:re++){ne=codePointAt(i,re);if(!isPrintable(ne)){return Oe}ue=ue&&isPlainSafe(ne,se,te);se=ne}}else{for(re=0;re=65536?re+=2:re++){ne=codePointAt(i,re);if(ne===ie){oe=true;if(ce){ae=ae||re-le-1>v&&i[le+1]!==" ";le=re}}else if(!isPrintable(ne)){return Oe}ue=ue&&isPlainSafe(ne,se,te);se=ne}ae=ae||ce&&(re-le-1>v&&i[le+1]!==" ")}if(!oe&&!ae){if(ue&&!ee&&!V(i)){return De}return K===ke?Oe:xe}if(p>9&&needIndentIndicator(i)){return Oe}if(!ee){return ae?Pe:_e}return K===ke?Oe:xe}function writeScalar(i,d,p,v,K){i.dump=function(){if(d.length===0){return i.quotingType===ke?'""':"''"}if(!i.noCompatMode){if(Re.indexOf(d)!==-1||Te.test(d)){return i.quotingType===ke?'"'+d+'"':"'"+d+"'"}}var ee=i.indent*Math.max(1,p);var te=i.lineWidth===-1?-1:Math.max(Math.min(i.lineWidth,40),i.lineWidth-ee);var re=v||i.flowLevel>-1&&p>=i.flowLevel;function testAmbiguity(d){return testImplicitResolving(i,d)}switch(chooseScalarStyle(d,re,i.indent,te,testAmbiguity,i.quotingType,i.forceQuotes&&!v,K)){case De:return d;case xe:return"'"+d.replace(/'/g,"''")+"'";case _e:return"|"+blockHeader(d,i.indent)+dropEndingNewline(indentString(d,ee));case Pe:return">"+blockHeader(d,i.indent)+dropEndingNewline(indentString(foldString(d,te),ee));case Oe:return'"'+escapeString(d,te)+'"';default:throw new V("impossible error: invalid scalar style")}}()}function blockHeader(i,d){var p=needIndentIndicator(i)?String(d):"";var v=i[i.length-1]==="\n";var V=v&&(i[i.length-2]==="\n"||i==="\n");var K=V?"+":v?"":"-";return p+K+"\n"}function dropEndingNewline(i){return i[i.length-1]==="\n"?i.slice(0,-1):i}function foldString(i,d){var p=/(\n+)([^\n]*)/g;var v=function(){var v=i.indexOf("\n");v=v!==-1?v:i.length;p.lastIndex=v;return foldLine(i.slice(0,v),d)}();var V=i[0]==="\n"||i[0]===" ";var K;var ee;while(ee=p.exec(i)){var te=ee[1],re=ee[2];K=re[0]===" ";v+=te+(!V&&!K&&re!==""?"\n":"")+foldLine(re,d);V=K}return v}function foldLine(i,d){if(i===""||i[0]===" ")return i;var p=/ [^ ]/g;var v;var V=0,K,ee=0,te=0;var re="";while(v=p.exec(i)){te=v.index;if(te-V>d){K=ee>V?ee:te;re+="\n"+i.slice(V,K);V=K+1}ee=te}re+="\n";if(i.length-V>d&&ee>V){re+=i.slice(V,ee)+"\n"+i.slice(ee+1)}else{re+=i.slice(V)}return re.slice(1)}function escapeString(i){var d="";var p=0;var v;for(var V=0;V=65536?V+=2:V++){p=codePointAt(i,V);v=ve[p];if(!v&&isPrintable(p)){d+=i[V];if(p>=65536)d+=i[V+1]}else{d+=v||encodeHex(p)}}return d}function writeFlowSequence(i,d,p){var v="",V=i.tag,K,ee,te;for(K=0,ee=p.length;K1024)ie+="? ";ie+=i.dump+(i.condenseFlow?'"':"")+":"+(i.condenseFlow?"":" ");if(!writeNode(i,d,ne,false,false)){continue}ie+=i.dump;v+=ie}i.tag=V;i.dump="{"+v+"}"}function writeBlockMapping(i,d,p,v){var K="",ee=i.tag,te=Object.keys(p),re,ne,se,oe,ae,ce;if(i.sortKeys===true){te.sort()}else if(typeof i.sortKeys==="function"){te.sort(i.sortKeys)}else if(i.sortKeys){throw new V("sortKeys must be a boolean or a function")}for(re=0,ne=te.length;re1024;if(ae){if(i.dump&&ie===i.dump.charCodeAt(0)){ce+="?"}else{ce+="? "}}ce+=i.dump;if(ae){ce+=generateNextLine(i,d)}if(!writeNode(i,d+1,oe,true,ae)){continue}if(i.dump&&ie===i.dump.charCodeAt(0)){ce+=":"}else{ce+=": "}ce+=i.dump;K+=ce}i.tag=ee;i.dump=K||"{}"}function detectType(i,d,p){var v,K,re,ne,ie,se;K=p?i.explicitTypes:i.implicitTypes;for(re=0,ne=K.length;re tag resolver accepts not "'+se+'" style')}i.dump=v}return true}}return false}function writeNode(i,d,p,v,K,te,re){i.tag=null;i.dump=p;if(!detectType(i,p,false)){detectType(i,p,true)}var ne=ee.call(i.dump);var ie=v;var se;if(v){v=i.flowLevel<0||i.flowLevel>d}var oe=ne==="[object Object]"||ne==="[object Array]",ae,ce;if(oe){ae=i.duplicates.indexOf(p);ce=ae!==-1}if(i.tag!==null&&i.tag!=="?"||ce||i.indent!==2&&d>0){K=false}if(ce&&i.usedDuplicates[ae]){i.dump="*ref_"+ae}else{if(oe&&ce&&!i.usedDuplicates[ae]){i.usedDuplicates[ae]=true}if(ne==="[object Object]"){if(v&&Object.keys(i.dump).length!==0){writeBlockMapping(i,d,i.dump,K);if(ce){i.dump="&ref_"+ae+i.dump}}else{writeFlowMapping(i,d,i.dump);if(ce){i.dump="&ref_"+ae+" "+i.dump}}}else if(ne==="[object Array]"){if(v&&i.dump.length!==0){if(i.noArrayIndent&&!re&&d>0){writeBlockSequence(i,d-1,i.dump,K)}else{writeBlockSequence(i,d,i.dump,K)}if(ce){i.dump="&ref_"+ae+i.dump}}else{writeFlowSequence(i,d,i.dump);if(ce){i.dump="&ref_"+ae+" "+i.dump}}}else if(ne==="[object String]"){if(i.tag!=="?"){writeScalar(i,i.dump,d,te,ie)}}else if(ne==="[object Undefined]"){return false}else{if(i.skipInvalid)return false;throw new V("unacceptable kind of an object to dump "+ne)}if(i.tag!==null&&i.tag!=="?"){se=encodeURI(i.tag[0]==="!"?i.tag.slice(1):i.tag).replace(/!/g,"%21");if(i.tag[0]==="!"){se="!"+se}else if(se.slice(0,18)==="tag:yaml.org,2002:"){se="!!"+se.slice(18)}else{se="!<"+se+">"}i.dump=se+" "+i.dump}}return true}function getDuplicateReferences(i,d){var p=[],v=[],V,K;inspectNode(i,p,v);for(V=0,K=v.length;V{function formatError(i,d){var p="",v=i.reason||"(unknown reason)";if(!i.mark)return v;if(i.mark.name){p+='in "'+i.mark.name+'" '}p+="("+(i.mark.line+1)+":"+(i.mark.column+1)+")";if(!d&&i.mark.snippet){p+="\n\n"+i.mark.snippet}return v+" "+p}function YAMLException(i,d){Error.call(this);this.name="YAMLException";this.reason=i;this.mark=d;this.message=formatError(this,false);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}else{this.stack=(new Error).stack||""}}YAMLException.prototype=Object.create(Error.prototype);YAMLException.prototype.constructor=YAMLException;YAMLException.prototype.toString=function toString(i){return this.name+": "+formatError(this,i)};i.exports=YAMLException},91950:(i,d,p)=>{var v=p(19816);var V=p(41248);var K=p(9440);var ee=p(97336);var te=Object.prototype.hasOwnProperty;var re=1;var ne=2;var ie=3;var se=4;var oe=1;var ae=2;var ce=3;var le=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;var ue=/[\x85\u2028\u2029]/;var Ae=/[,\[\]\{\}]/;var de=/^(?:!|!!|![a-z\-]+!)$/i;var pe=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function _class(i){return Object.prototype.toString.call(i)}function is_EOL(i){return i===10||i===13}function is_WHITE_SPACE(i){return i===9||i===32}function is_WS_OR_EOL(i){return i===9||i===32||i===10||i===13}function is_FLOW_INDICATOR(i){return i===44||i===91||i===93||i===123||i===125}function fromHexCode(i){var d;if(48<=i&&i<=57){return i-48}d=i|32;if(97<=d&&d<=102){return d-97+10}return-1}function escapedHexLen(i){if(i===120){return 2}if(i===117){return 4}if(i===85){return 8}return 0}function fromDecimalCode(i){if(48<=i&&i<=57){return i-48}return-1}function simpleEscapeSequence(i){return i===48?"\0":i===97?"":i===98?"\b":i===116?"\t":i===9?"\t":i===110?"\n":i===118?"\v":i===102?"\f":i===114?"\r":i===101?"":i===32?" ":i===34?'"':i===47?"/":i===92?"\\":i===78?"…":i===95?" ":i===76?"\u2028":i===80?"\u2029":""}function charFromCodepoint(i){if(i<=65535){return String.fromCharCode(i)}return String.fromCharCode((i-65536>>10)+55296,(i-65536&1023)+56320)}function setProperty(i,d,p){if(d==="__proto__"){Object.defineProperty(i,d,{configurable:true,enumerable:true,writable:true,value:p})}else{i[d]=p}}var fe=new Array(256);var he=new Array(256);for(var ge=0;ge<256;ge++){fe[ge]=simpleEscapeSequence(ge)?1:0;he[ge]=simpleEscapeSequence(ge)}function State(i,d){this.input=i;this.filename=d["filename"]||null;this.schema=d["schema"]||ee;this.onWarning=d["onWarning"]||null;this.legacy=d["legacy"]||false;this.json=d["json"]||false;this.listener=d["listener"]||null;this.implicitTypes=this.schema.compiledImplicit;this.typeMap=this.schema.compiledTypeMap;this.length=i.length;this.position=0;this.line=0;this.lineStart=0;this.lineIndent=0;this.firstTabInLine=-1;this.documents=[]}function generateError(i,d){var p={name:i.filename,buffer:i.input.slice(0,-1),position:i.position,line:i.line,column:i.position-i.lineStart};p.snippet=K(p);return new V(d,p)}function throwError(i,d){throw generateError(i,d)}function throwWarning(i,d){if(i.onWarning){i.onWarning.call(null,generateError(i,d))}}var me={YAML:function handleYamlDirective(i,d,p){var v,V,K;if(i.version!==null){throwError(i,"duplication of %YAML directive")}if(p.length!==1){throwError(i,"YAML directive accepts exactly one argument")}v=/^([0-9]+)\.([0-9]+)$/.exec(p[0]);if(v===null){throwError(i,"ill-formed argument of the YAML directive")}V=parseInt(v[1],10);K=parseInt(v[2],10);if(V!==1){throwError(i,"unacceptable YAML version of the document")}i.version=p[0];i.checkLineBreaks=K<2;if(K!==1&&K!==2){throwWarning(i,"unsupported YAML version of the document")}},TAG:function handleTagDirective(i,d,p){var v,V;if(p.length!==2){throwError(i,"TAG directive accepts exactly two arguments")}v=p[0];V=p[1];if(!de.test(v)){throwError(i,"ill-formed tag handle (first argument) of the TAG directive")}if(te.call(i.tagMap,v)){throwError(i,'there is a previously declared suffix for "'+v+'" tag handle')}if(!pe.test(V)){throwError(i,"ill-formed tag prefix (second argument) of the TAG directive")}try{V=decodeURIComponent(V)}catch(d){throwError(i,"tag prefix is malformed: "+V)}i.tagMap[v]=V}};function captureSegment(i,d,p,v){var V,K,ee,te;if(d1){i.result+=v.repeat("\n",d-1)}}function readPlainScalar(i,d,p){var v,V,K,ee,te,re,ne,ie,se=i.kind,oe=i.result,ae;ae=i.input.charCodeAt(i.position);if(is_WS_OR_EOL(ae)||is_FLOW_INDICATOR(ae)||ae===35||ae===38||ae===42||ae===33||ae===124||ae===62||ae===39||ae===34||ae===37||ae===64||ae===96){return false}if(ae===63||ae===45){V=i.input.charCodeAt(i.position+1);if(is_WS_OR_EOL(V)||p&&is_FLOW_INDICATOR(V)){return false}}i.kind="scalar";i.result="";K=ee=i.position;te=false;while(ae!==0){if(ae===58){V=i.input.charCodeAt(i.position+1);if(is_WS_OR_EOL(V)||p&&is_FLOW_INDICATOR(V)){break}}else if(ae===35){v=i.input.charCodeAt(i.position-1);if(is_WS_OR_EOL(v)){break}}else if(i.position===i.lineStart&&testDocumentSeparator(i)||p&&is_FLOW_INDICATOR(ae)){break}else if(is_EOL(ae)){re=i.line;ne=i.lineStart;ie=i.lineIndent;skipSeparationSpace(i,false,-1);if(i.lineIndent>=d){te=true;ae=i.input.charCodeAt(i.position);continue}else{i.position=ee;i.line=re;i.lineStart=ne;i.lineIndent=ie;break}}if(te){captureSegment(i,K,ee,false);writeFoldedLines(i,i.line-re);K=ee=i.position;te=false}if(!is_WHITE_SPACE(ae)){ee=i.position+1}ae=i.input.charCodeAt(++i.position)}captureSegment(i,K,ee,false);if(i.result){return true}i.kind=se;i.result=oe;return false}function readSingleQuotedScalar(i,d){var p,v,V;p=i.input.charCodeAt(i.position);if(p!==39){return false}i.kind="scalar";i.result="";i.position++;v=V=i.position;while((p=i.input.charCodeAt(i.position))!==0){if(p===39){captureSegment(i,v,i.position,true);p=i.input.charCodeAt(++i.position);if(p===39){v=i.position;i.position++;V=i.position}else{return true}}else if(is_EOL(p)){captureSegment(i,v,V,true);writeFoldedLines(i,skipSeparationSpace(i,false,d));v=V=i.position}else if(i.position===i.lineStart&&testDocumentSeparator(i)){throwError(i,"unexpected end of the document within a single quoted scalar")}else{i.position++;V=i.position}}throwError(i,"unexpected end of the stream within a single quoted scalar")}function readDoubleQuotedScalar(i,d){var p,v,V,K,ee,te;te=i.input.charCodeAt(i.position);if(te!==34){return false}i.kind="scalar";i.result="";i.position++;p=v=i.position;while((te=i.input.charCodeAt(i.position))!==0){if(te===34){captureSegment(i,p,i.position,true);i.position++;return true}else if(te===92){captureSegment(i,p,i.position,true);te=i.input.charCodeAt(++i.position);if(is_EOL(te)){skipSeparationSpace(i,false,d)}else if(te<256&&fe[te]){i.result+=he[te];i.position++}else if((ee=escapedHexLen(te))>0){V=ee;K=0;for(;V>0;V--){te=i.input.charCodeAt(++i.position);if((ee=fromHexCode(te))>=0){K=(K<<4)+ee}else{throwError(i,"expected hexadecimal character")}}i.result+=charFromCodepoint(K);i.position++}else{throwError(i,"unknown escape sequence")}p=v=i.position}else if(is_EOL(te)){captureSegment(i,p,v,true);writeFoldedLines(i,skipSeparationSpace(i,false,d));p=v=i.position}else if(i.position===i.lineStart&&testDocumentSeparator(i)){throwError(i,"unexpected end of the document within a double quoted scalar")}else{i.position++;v=i.position}}throwError(i,"unexpected end of the stream within a double quoted scalar")}function readFlowCollection(i,d){var p=true,v,V,K,ee=i.tag,te,ne=i.anchor,ie,se,oe,ae,ce,le=Object.create(null),ue,Ae,de,pe;pe=i.input.charCodeAt(i.position);if(pe===91){se=93;ce=false;te=[]}else if(pe===123){se=125;ce=true;te={}}else{return false}if(i.anchor!==null){i.anchorMap[i.anchor]=te}pe=i.input.charCodeAt(++i.position);while(pe!==0){skipSeparationSpace(i,true,d);pe=i.input.charCodeAt(i.position);if(pe===se){i.position++;i.tag=ee;i.anchor=ne;i.kind=ce?"mapping":"sequence";i.result=te;return true}else if(!p){throwError(i,"missed comma between flow collection entries")}else if(pe===44){throwError(i,"expected the node content, but found ','")}Ae=ue=de=null;oe=ae=false;if(pe===63){ie=i.input.charCodeAt(i.position+1);if(is_WS_OR_EOL(ie)){oe=ae=true;i.position++;skipSeparationSpace(i,true,d)}}v=i.line;V=i.lineStart;K=i.position;composeNode(i,d,re,false,true);Ae=i.tag;ue=i.result;skipSeparationSpace(i,true,d);pe=i.input.charCodeAt(i.position);if((ae||i.line===v)&&pe===58){oe=true;pe=i.input.charCodeAt(++i.position);skipSeparationSpace(i,true,d);composeNode(i,d,re,false,true);de=i.result}if(ce){storeMappingPair(i,te,le,Ae,ue,de,v,V,K)}else if(oe){te.push(storeMappingPair(i,null,le,Ae,ue,de,v,V,K))}else{te.push(ue)}skipSeparationSpace(i,true,d);pe=i.input.charCodeAt(i.position);if(pe===44){p=true;pe=i.input.charCodeAt(++i.position)}else{p=false}}throwError(i,"unexpected end of the stream within a flow collection")}function readBlockScalar(i,d){var p,V,K=oe,ee=false,te=false,re=d,ne=0,ie=false,se,le;le=i.input.charCodeAt(i.position);if(le===124){V=false}else if(le===62){V=true}else{return false}i.kind="scalar";i.result="";while(le!==0){le=i.input.charCodeAt(++i.position);if(le===43||le===45){if(oe===K){K=le===43?ce:ae}else{throwError(i,"repeat of a chomping mode identifier")}}else if((se=fromDecimalCode(le))>=0){if(se===0){throwError(i,"bad explicit indentation width of a block scalar; it cannot be less than one")}else if(!te){re=d+se-1;te=true}else{throwError(i,"repeat of an indentation width identifier")}}else{break}}if(is_WHITE_SPACE(le)){do{le=i.input.charCodeAt(++i.position)}while(is_WHITE_SPACE(le));if(le===35){do{le=i.input.charCodeAt(++i.position)}while(!is_EOL(le)&&le!==0)}}while(le!==0){readLineBreak(i);i.lineIndent=0;le=i.input.charCodeAt(i.position);while((!te||i.lineIndentre){re=i.lineIndent}if(is_EOL(le)){ne++;continue}if(i.lineIndentd)&&re!==0){throwError(i,"bad indentation of a sequence entry")}else if(i.lineIndentd){if(de){ee=i.line;te=i.lineStart;re=i.position}if(composeNode(i,d,se,true,V)){if(de){ue=i.result}else{Ae=i.result}}if(!de){storeMappingPair(i,ae,ce,le,ue,Ae,ee,te,re);le=ue=Ae=null}skipSeparationSpace(i,true,-1);fe=i.input.charCodeAt(i.position)}if((i.line===K||i.lineIndent>d)&&fe!==0){throwError(i,"bad indentation of a mapping entry")}else if(i.lineIndentd){ae=1}else if(i.lineIndent===d){ae=0}else if(i.lineIndentd){ae=1}else if(i.lineIndent===d){ae=0}else if(i.lineIndent tag; it should be "scalar", not "'+i.kind+'"')}for(ue=0,Ae=i.implicitTypes.length;ue")}if(i.result!==null&&pe.kind!==i.kind){throwError(i,"unacceptable node kind for !<"+i.tag+'> tag; it should be "'+pe.kind+'", not "'+i.kind+'"')}if(!pe.resolve(i.result,i.tag)){throwError(i,"cannot resolve a node with !<"+i.tag+"> explicit tag")}else{i.result=pe.construct(i.result,i.tag);if(i.anchor!==null){i.anchorMap[i.anchor]=i.result}}}if(i.listener!==null){i.listener("close",i)}return i.tag!==null||i.anchor!==null||le}function readDocument(i){var d=i.position,p,v,V,K=false,ee;i.version=null;i.checkLineBreaks=i.legacy;i.tagMap=Object.create(null);i.anchorMap=Object.create(null);while((ee=i.input.charCodeAt(i.position))!==0){skipSeparationSpace(i,true,-1);ee=i.input.charCodeAt(i.position);if(i.lineIndent>0||ee!==37){break}K=true;ee=i.input.charCodeAt(++i.position);p=i.position;while(ee!==0&&!is_WS_OR_EOL(ee)){ee=i.input.charCodeAt(++i.position)}v=i.input.slice(p,i.position);V=[];if(v.length<1){throwError(i,"directive name must not be less than one character in length")}while(ee!==0){while(is_WHITE_SPACE(ee)){ee=i.input.charCodeAt(++i.position)}if(ee===35){do{ee=i.input.charCodeAt(++i.position)}while(ee!==0&&!is_EOL(ee));break}if(is_EOL(ee))break;p=i.position;while(ee!==0&&!is_WS_OR_EOL(ee)){ee=i.input.charCodeAt(++i.position)}V.push(i.input.slice(p,i.position))}if(ee!==0)readLineBreak(i);if(te.call(me,v)){me[v](i,v,V)}else{throwWarning(i,'unknown document directive "'+v+'"')}}skipSeparationSpace(i,true,-1);if(i.lineIndent===0&&i.input.charCodeAt(i.position)===45&&i.input.charCodeAt(i.position+1)===45&&i.input.charCodeAt(i.position+2)===45){i.position+=3;skipSeparationSpace(i,true,-1)}else if(K){throwError(i,"directives end mark is expected")}composeNode(i,i.lineIndent-1,se,false,true);skipSeparationSpace(i,true,-1);if(i.checkLineBreaks&&ue.test(i.input.slice(d,i.position))){throwWarning(i,"non-ASCII line breaks are interpreted as content")}i.documents.push(i.result);if(i.position===i.lineStart&&testDocumentSeparator(i)){if(i.input.charCodeAt(i.position)===46){i.position+=3;skipSeparationSpace(i,true,-1)}return}if(i.position{var v=p(41248);var V=p(9557);function compileList(i,d){var p=[];i[d].forEach((function(i){var d=p.length;p.forEach((function(p,v){if(p.tag===i.tag&&p.kind===i.kind&&p.multi===i.multi){d=v}}));p[d]=i}));return p}function compileMap(){var i={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},d,p;function collectType(d){if(d.multi){i.multi[d.kind].push(d);i.multi["fallback"].push(d)}else{i[d.kind][d.tag]=i["fallback"][d.tag]=d}}for(d=0,p=arguments.length;d{i.exports=p(58927)},97336:(i,d,p)=>{i.exports=p(55746).extend({implicit:[p(28966),p(76854)],explicit:[p(8149),p(58649),p(16267),p(78758)]})},69832:(i,d,p)=>{var v=p(62046);i.exports=new v({explicit:[p(53929),p(77161),p(47316)]})},58927:(i,d,p)=>{i.exports=p(69832).extend({implicit:[p(4333),p(67296),p(62271),p(57584)]})},9440:(i,d,p)=>{var v=p(19816);function getLine(i,d,p,v,V){var K="";var ee="";var te=Math.floor(V/2)-1;if(v-d>te){K=" ... ";d=v-te+K.length}if(p-v>te){ee=" ...";p=v+te-ee.length}return{str:K+i.slice(d,p).replace(/\t/g,"→")+ee,pos:v-d+K.length}}function padStart(i,d){return v.repeat(" ",d-i.length)+i}function makeSnippet(i,d){d=Object.create(d||null);if(!i.buffer)return null;if(!d.maxLength)d.maxLength=79;if(typeof d.indent!=="number")d.indent=1;if(typeof d.linesBefore!=="number")d.linesBefore=3;if(typeof d.linesAfter!=="number")d.linesAfter=2;var p=/\r?\n|\r|\0/g;var V=[0];var K=[];var ee;var te=-1;while(ee=p.exec(i.buffer)){K.push(ee.index);V.push(ee.index+ee[0].length);if(i.position<=ee.index&&te<0){te=V.length-2}}if(te<0)te=V.length-1;var re="",ne,ie;var se=Math.min(i.line+d.linesAfter,K.length).toString().length;var oe=d.maxLength-(d.indent+se+3);for(ne=1;ne<=d.linesBefore;ne++){if(te-ne<0)break;ie=getLine(i.buffer,V[te-ne],K[te-ne],i.position-(V[te]-V[te-ne]),oe);re=v.repeat(" ",d.indent)+padStart((i.line-ne+1).toString(),se)+" | "+ie.str+"\n"+re}ie=getLine(i.buffer,V[te],K[te],i.position,oe);re+=v.repeat(" ",d.indent)+padStart((i.line+1).toString(),se)+" | "+ie.str+"\n";re+=v.repeat("-",d.indent+se+3+ie.pos)+"^"+"\n";for(ne=1;ne<=d.linesAfter;ne++){if(te+ne>=K.length)break;ie=getLine(i.buffer,V[te+ne],K[te+ne],i.position-(V[te]-V[te+ne]),oe);re+=v.repeat(" ",d.indent)+padStart((i.line+ne+1).toString(),se)+" | "+ie.str+"\n"}return re.replace(/\n$/,"")}i.exports=makeSnippet},9557:(i,d,p)=>{var v=p(41248);var V=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"];var K=["scalar","sequence","mapping"];function compileStyleAliases(i){var d={};if(i!==null){Object.keys(i).forEach((function(p){i[p].forEach((function(i){d[String(i)]=p}))}))}return d}function Type(i,d){d=d||{};Object.keys(d).forEach((function(d){if(V.indexOf(d)===-1){throw new v('Unknown option "'+d+'" is met in definition of "'+i+'" YAML type.')}}));this.options=d;this.tag=i;this.kind=d["kind"]||null;this.resolve=d["resolve"]||function(){return true};this.construct=d["construct"]||function(i){return i};this.instanceOf=d["instanceOf"]||null;this.predicate=d["predicate"]||null;this.represent=d["represent"]||null;this.representName=d["representName"]||null;this.defaultStyle=d["defaultStyle"]||null;this.multi=d["multi"]||false;this.styleAliases=compileStyleAliases(d["styleAliases"]||null);if(K.indexOf(this.kind)===-1){throw new v('Unknown kind "'+this.kind+'" is specified for "'+i+'" YAML type.')}}i.exports=Type},8149:(i,d,p)=>{var v=p(9557);var V="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function resolveYamlBinary(i){if(i===null)return false;var d,p,v=0,K=i.length,ee=V;for(p=0;p64)continue;if(d<0)return false;v+=6}return v%8===0}function constructYamlBinary(i){var d,p,v=i.replace(/[\r\n=]/g,""),K=v.length,ee=V,te=0,re=[];for(d=0;d>16&255);re.push(te>>8&255);re.push(te&255)}te=te<<6|ee.indexOf(v.charAt(d))}p=K%4*6;if(p===0){re.push(te>>16&255);re.push(te>>8&255);re.push(te&255)}else if(p===18){re.push(te>>10&255);re.push(te>>2&255)}else if(p===12){re.push(te>>4&255)}return new Uint8Array(re)}function representYamlBinary(i){var d="",p=0,v,K,ee=i.length,te=V;for(v=0;v>18&63];d+=te[p>>12&63];d+=te[p>>6&63];d+=te[p&63]}p=(p<<8)+i[v]}K=ee%3;if(K===0){d+=te[p>>18&63];d+=te[p>>12&63];d+=te[p>>6&63];d+=te[p&63]}else if(K===2){d+=te[p>>10&63];d+=te[p>>4&63];d+=te[p<<2&63];d+=te[64]}else if(K===1){d+=te[p>>2&63];d+=te[p<<4&63];d+=te[64];d+=te[64]}return d}function isBinary(i){return Object.prototype.toString.call(i)==="[object Uint8Array]"}i.exports=new v("tag:yaml.org,2002:binary",{kind:"scalar",resolve:resolveYamlBinary,construct:constructYamlBinary,predicate:isBinary,represent:representYamlBinary})},67296:(i,d,p)=>{var v=p(9557);function resolveYamlBoolean(i){if(i===null)return false;var d=i.length;return d===4&&(i==="true"||i==="True"||i==="TRUE")||d===5&&(i==="false"||i==="False"||i==="FALSE")}function constructYamlBoolean(i){return i==="true"||i==="True"||i==="TRUE"}function isBoolean(i){return Object.prototype.toString.call(i)==="[object Boolean]"}i.exports=new v("tag:yaml.org,2002:bool",{kind:"scalar",resolve:resolveYamlBoolean,construct:constructYamlBoolean,predicate:isBoolean,represent:{lowercase:function(i){return i?"true":"false"},uppercase:function(i){return i?"TRUE":"FALSE"},camelcase:function(i){return i?"True":"False"}},defaultStyle:"lowercase"})},57584:(i,d,p)=>{var v=p(19816);var V=p(9557);var K=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?"+"|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?"+"|[-+]?\\.(?:inf|Inf|INF)"+"|\\.(?:nan|NaN|NAN))$");function resolveYamlFloat(i){if(i===null)return false;if(!K.test(i)||i[i.length-1]==="_"){return false}return true}function constructYamlFloat(i){var d,p;d=i.replace(/_/g,"").toLowerCase();p=d[0]==="-"?-1:1;if("+-".indexOf(d[0])>=0){d=d.slice(1)}if(d===".inf"){return p===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY}else if(d===".nan"){return NaN}return p*parseFloat(d,10)}var ee=/^[-+]?[0-9]+e/;function representYamlFloat(i,d){var p;if(isNaN(i)){switch(d){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}}else if(Number.POSITIVE_INFINITY===i){switch(d){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}}else if(Number.NEGATIVE_INFINITY===i){switch(d){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}}else if(v.isNegativeZero(i)){return"-0.0"}p=i.toString(10);return ee.test(p)?p.replace("e",".e"):p}function isFloat(i){return Object.prototype.toString.call(i)==="[object Number]"&&(i%1!==0||v.isNegativeZero(i))}i.exports=new V("tag:yaml.org,2002:float",{kind:"scalar",resolve:resolveYamlFloat,construct:constructYamlFloat,predicate:isFloat,represent:representYamlFloat,defaultStyle:"lowercase"})},62271:(i,d,p)=>{var v=p(19816);var V=p(9557);function isHexCode(i){return 48<=i&&i<=57||65<=i&&i<=70||97<=i&&i<=102}function isOctCode(i){return 48<=i&&i<=55}function isDecCode(i){return 48<=i&&i<=57}function resolveYamlInteger(i){if(i===null)return false;var d=i.length,p=0,v=false,V;if(!d)return false;V=i[p];if(V==="-"||V==="+"){V=i[++p]}if(V==="0"){if(p+1===d)return true;V=i[++p];if(V==="b"){p++;for(;p=0?"0b"+i.toString(2):"-0b"+i.toString(2).slice(1)},octal:function(i){return i>=0?"0o"+i.toString(8):"-0o"+i.toString(8).slice(1)},decimal:function(i){return i.toString(10)},hexadecimal:function(i){return i>=0?"0x"+i.toString(16).toUpperCase():"-0x"+i.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},47316:(i,d,p)=>{var v=p(9557);i.exports=new v("tag:yaml.org,2002:map",{kind:"mapping",construct:function(i){return i!==null?i:{}}})},76854:(i,d,p)=>{var v=p(9557);function resolveYamlMerge(i){return i==="<<"||i===null}i.exports=new v("tag:yaml.org,2002:merge",{kind:"scalar",resolve:resolveYamlMerge})},4333:(i,d,p)=>{var v=p(9557);function resolveYamlNull(i){if(i===null)return true;var d=i.length;return d===1&&i==="~"||d===4&&(i==="null"||i==="Null"||i==="NULL")}function constructYamlNull(){return null}function isNull(i){return i===null}i.exports=new v("tag:yaml.org,2002:null",{kind:"scalar",resolve:resolveYamlNull,construct:constructYamlNull,predicate:isNull,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"})},58649:(i,d,p)=>{var v=p(9557);var V=Object.prototype.hasOwnProperty;var K=Object.prototype.toString;function resolveYamlOmap(i){if(i===null)return true;var d=[],p,v,ee,te,re,ne=i;for(p=0,v=ne.length;p{var v=p(9557);var V=Object.prototype.toString;function resolveYamlPairs(i){if(i===null)return true;var d,p,v,K,ee,te=i;ee=new Array(te.length);for(d=0,p=te.length;d{var v=p(9557);i.exports=new v("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(i){return i!==null?i:[]}})},78758:(i,d,p)=>{var v=p(9557);var V=Object.prototype.hasOwnProperty;function resolveYamlSet(i){if(i===null)return true;var d,p=i;for(d in p){if(V.call(p,d)){if(p[d]!==null)return false}}return true}function constructYamlSet(i){return i!==null?i:{}}i.exports=new v("tag:yaml.org,2002:set",{kind:"mapping",resolve:resolveYamlSet,construct:constructYamlSet})},53929:(i,d,p)=>{var v=p(9557);i.exports=new v("tag:yaml.org,2002:str",{kind:"scalar",construct:function(i){return i!==null?i:""}})},28966:(i,d,p)=>{var v=p(9557);var V=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9])"+"-([0-9][0-9])$");var K=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9]?)"+"-([0-9][0-9]?)"+"(?:[Tt]|[ \\t]+)"+"([0-9][0-9]?)"+":([0-9][0-9])"+":([0-9][0-9])"+"(?:\\.([0-9]*))?"+"(?:[ \\t]*(Z|([-+])([0-9][0-9]?)"+"(?::([0-9][0-9]))?))?$");function resolveYamlTimestamp(i){if(i===null)return false;if(V.exec(i)!==null)return true;if(K.exec(i)!==null)return true;return false}function constructYamlTimestamp(i){var d,p,v,ee,te,re,ne,ie=0,se=null,oe,ae,ce;d=V.exec(i);if(d===null)d=K.exec(i);if(d===null)throw new Error("Date resolve error");p=+d[1];v=+d[2]-1;ee=+d[3];if(!d[4]){return new Date(Date.UTC(p,v,ee))}te=+d[4];re=+d[5];ne=+d[6];if(d[7]){ie=d[7].slice(0,3);while(ie.length<3){ie+="0"}ie=+ie}if(d[9]){oe=+d[10];ae=+(d[11]||0);se=(oe*60+ae)*6e4;if(d[9]==="-")se=-se}ce=new Date(Date.UTC(p,v,ee,te,re,ne,ie));if(se)ce.setTime(ce.getTime()-se);return ce}function representYamlTimestamp(i){return i.toISOString()}i.exports=new v("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:resolveYamlTimestamp,construct:constructYamlTimestamp,instanceOf:Date,represent:representYamlTimestamp})},79699:i=>{function e(i){this.message=i}e.prototype=new Error,e.prototype.name="InvalidCharacterError";var d="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(i){var d=String(i).replace(/=+$/,"");if(d.length%4==1)throw new e("'atob' failed: The string to be decoded is not correctly encoded.");for(var p,v,V=0,K=0,ee="";v=d.charAt(K++);~v&&(p=V%4?64*p+v:v,V++%4)?ee+=String.fromCharCode(255&p>>(-2*V&6)):0)v="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(v);return ee};function t(i){var p=i.replace(/-/g,"+").replace(/_/g,"/");switch(p.length%4){case 0:break;case 2:p+="==";break;case 3:p+="=";break;default:throw"Illegal base64url string!"}try{return function(i){return decodeURIComponent(d(i).replace(/(.)/g,(function(i,d){var p=d.charCodeAt(0).toString(16).toUpperCase();return p.length<2&&(p="0"+p),"%"+p})))}(p)}catch(i){return d(p)}}function n(i){this.message=i}function o(i,d){if("string"!=typeof i)throw new n("Invalid token specified");var p=!0===(d=d||{}).header?0:1;try{return JSON.parse(t(i.split(".")[p]))}catch(i){throw new n("Invalid token specified: "+i.message)}}n.prototype=new Error,n.prototype.name="InvalidTokenError";const p=o;p.default=o,p.InvalidTokenError=n,i.exports=p},32126:(i,d,p)=>{var v=p(39023);var V=p(1835);i.exports={Readable:Readable,Writable:Writable};v.inherits(Readable,V);v.inherits(Writable,V);function beforeFirstCall(i,d,p){i[d]=function(){delete i[d];p.apply(this,arguments);return this[d].apply(this,arguments)}}function Readable(i,d){if(!(this instanceof Readable))return new Readable(i,d);V.call(this,d);beforeFirstCall(this,"_read",(function(){var p=i.call(this,d);var v=this.emit.bind(this,"error");p.on("error",v);p.pipe(this)}));this.emit("readable")}function Writable(i,d){if(!(this instanceof Writable))return new Writable(i,d);V.call(this,d);beforeFirstCall(this,"_write",(function(){var p=i.call(this,d);var v=this.emit.bind(this,"error");p.on("error",v);this.pipe(p)}));this.emit("writable")}},34793:(i,d,p)=>{var v=p(19183);var V=Object.keys||function(i){var d=[];for(var p in i){d.push(p)}return d};i.exports=Duplex;var K=Object.create(p(45481));K.inherits=p(39598);var ee=p(74559);var te=p(54579);K.inherits(Duplex,ee);{var re=V(te.prototype);for(var ne=0;ne{i.exports=PassThrough;var v=p(69343);var V=Object.create(p(45481));V.inherits=p(39598);V.inherits(PassThrough,v);function PassThrough(i){if(!(this instanceof PassThrough))return new PassThrough(i);v.call(this,i)}PassThrough.prototype._transform=function(i,d,p){p(null,i)}},74559:(i,d,p)=>{var v=p(19183);i.exports=Readable;var V=p(82513);var K;Readable.ReadableState=ReadableState;var ee=p(24434).EventEmitter;var EElistenerCount=function(i,d){return i.listeners(d).length};var te=p(87137);var re=p(93058).Buffer;var ne=(typeof global!=="undefined"?global:typeof window!=="undefined"?window:typeof self!=="undefined"?self:{}).Uint8Array||function(){};function _uint8ArrayToBuffer(i){return re.from(i)}function _isUint8Array(i){return re.isBuffer(i)||i instanceof ne}var ie=Object.create(p(45481));ie.inherits=p(39598);var se=p(39023);var oe=void 0;if(se&&se.debuglog){oe=se.debuglog("stream")}else{oe=function(){}}var ae=p(46127);var ce=p(91031);var le;ie.inherits(Readable,te);var ue=["error","close","destroy","pause","resume"];function prependListener(i,d,p){if(typeof i.prependListener==="function")return i.prependListener(d,p);if(!i._events||!i._events[d])i.on(d,p);else if(V(i._events[d]))i._events[d].unshift(p);else i._events[d]=[p,i._events[d]]}function ReadableState(i,d){K=K||p(34793);i=i||{};var v=d instanceof K;this.objectMode=!!i.objectMode;if(v)this.objectMode=this.objectMode||!!i.readableObjectMode;var V=i.highWaterMark;var ee=i.readableHighWaterMark;var te=this.objectMode?16:16*1024;if(V||V===0)this.highWaterMark=V;else if(v&&(ee||ee===0))this.highWaterMark=ee;else this.highWaterMark=te;this.highWaterMark=Math.floor(this.highWaterMark);this.buffer=new ae;this.length=0;this.pipes=null;this.pipesCount=0;this.flowing=null;this.ended=false;this.endEmitted=false;this.reading=false;this.sync=true;this.needReadable=false;this.emittedReadable=false;this.readableListening=false;this.resumeScheduled=false;this.destroyed=false;this.defaultEncoding=i.defaultEncoding||"utf8";this.awaitDrain=0;this.readingMore=false;this.decoder=null;this.encoding=null;if(i.encoding){if(!le)le=p(80634).I;this.decoder=new le(i.encoding);this.encoding=i.encoding}}function Readable(i){K=K||p(34793);if(!(this instanceof Readable))return new Readable(i);this._readableState=new ReadableState(i,this);this.readable=true;if(i){if(typeof i.read==="function")this._read=i.read;if(typeof i.destroy==="function")this._destroy=i.destroy}te.call(this)}Object.defineProperty(Readable.prototype,"destroyed",{get:function(){if(this._readableState===undefined){return false}return this._readableState.destroyed},set:function(i){if(!this._readableState){return}this._readableState.destroyed=i}});Readable.prototype.destroy=ce.destroy;Readable.prototype._undestroy=ce.undestroy;Readable.prototype._destroy=function(i,d){this.push(null);d(i)};Readable.prototype.push=function(i,d){var p=this._readableState;var v;if(!p.objectMode){if(typeof i==="string"){d=d||p.defaultEncoding;if(d!==p.encoding){i=re.from(i,d);d=""}v=true}}else{v=true}return readableAddChunk(this,i,d,false,v)};Readable.prototype.unshift=function(i){return readableAddChunk(this,i,null,true,false)};function readableAddChunk(i,d,p,v,V){var K=i._readableState;if(d===null){K.reading=false;onEofChunk(i,K)}else{var ee;if(!V)ee=chunkInvalid(K,d);if(ee){i.emit("error",ee)}else if(K.objectMode||d&&d.length>0){if(typeof d!=="string"&&!K.objectMode&&Object.getPrototypeOf(d)!==re.prototype){d=_uint8ArrayToBuffer(d)}if(v){if(K.endEmitted)i.emit("error",new Error("stream.unshift() after end event"));else addChunk(i,K,d,true)}else if(K.ended){i.emit("error",new Error("stream.push() after EOF"))}else{K.reading=false;if(K.decoder&&!p){d=K.decoder.write(d);if(K.objectMode||d.length!==0)addChunk(i,K,d,false);else maybeReadMore(i,K)}else{addChunk(i,K,d,false)}}}else if(!v){K.reading=false}}return needMoreData(K)}function addChunk(i,d,p,v){if(d.flowing&&d.length===0&&!d.sync){i.emit("data",p);i.read(0)}else{d.length+=d.objectMode?1:p.length;if(v)d.buffer.unshift(p);else d.buffer.push(p);if(d.needReadable)emitReadable(i)}maybeReadMore(i,d)}function chunkInvalid(i,d){var p;if(!_isUint8Array(d)&&typeof d!=="string"&&d!==undefined&&!i.objectMode){p=new TypeError("Invalid non-string/buffer chunk")}return p}function needMoreData(i){return!i.ended&&(i.needReadable||i.length=Ae){i=Ae}else{i--;i|=i>>>1;i|=i>>>2;i|=i>>>4;i|=i>>>8;i|=i>>>16;i++}return i}function howMuchToRead(i,d){if(i<=0||d.length===0&&d.ended)return 0;if(d.objectMode)return 1;if(i!==i){if(d.flowing&&d.length)return d.buffer.head.data.length;else return d.length}if(i>d.highWaterMark)d.highWaterMark=computeNewHighWaterMark(i);if(i<=d.length)return i;if(!d.ended){d.needReadable=true;return 0}return d.length}Readable.prototype.read=function(i){oe("read",i);i=parseInt(i,10);var d=this._readableState;var p=i;if(i!==0)d.emittedReadable=false;if(i===0&&d.needReadable&&(d.length>=d.highWaterMark||d.ended)){oe("read: emitReadable",d.length,d.ended);if(d.length===0&&d.ended)endReadable(this);else emitReadable(this);return null}i=howMuchToRead(i,d);if(i===0&&d.ended){if(d.length===0)endReadable(this);return null}var v=d.needReadable;oe("need readable",v);if(d.length===0||d.length-i0)V=fromList(i,d);else V=null;if(V===null){d.needReadable=true;i=0}else{d.length-=i}if(d.length===0){if(!d.ended)d.needReadable=true;if(p!==i&&d.ended)endReadable(this)}if(V!==null)this.emit("data",V);return V};function onEofChunk(i,d){if(d.ended)return;if(d.decoder){var p=d.decoder.end();if(p&&p.length){d.buffer.push(p);d.length+=d.objectMode?1:p.length}}d.ended=true;emitReadable(i)}function emitReadable(i){var d=i._readableState;d.needReadable=false;if(!d.emittedReadable){oe("emitReadable",d.flowing);d.emittedReadable=true;if(d.sync)v.nextTick(emitReadable_,i);else emitReadable_(i)}}function emitReadable_(i){oe("emit readable");i.emit("readable");flow(i)}function maybeReadMore(i,d){if(!d.readingMore){d.readingMore=true;v.nextTick(maybeReadMore_,i,d)}}function maybeReadMore_(i,d){var p=d.length;while(!d.reading&&!d.flowing&&!d.ended&&d.length1&&indexOf(V.pipes,i)!==-1)&&!re){oe("false write response, pause",V.awaitDrain);V.awaitDrain++;ne=true}p.pause()}}function onerror(d){oe("onerror",d);unpipe();i.removeListener("error",onerror);if(EElistenerCount(i,"error")===0)i.emit("error",d)}prependListener(i,"error",onerror);function onclose(){i.removeListener("finish",onfinish);unpipe()}i.once("close",onclose);function onfinish(){oe("onfinish");i.removeListener("close",onclose);unpipe()}i.once("finish",onfinish);function unpipe(){oe("unpipe");p.unpipe(i)}i.emit("pipe",p);if(!V.flowing){oe("pipe resume");p.resume()}return i};function pipeOnDrain(i){return function(){var d=i._readableState;oe("pipeOnDrain",d.awaitDrain);if(d.awaitDrain)d.awaitDrain--;if(d.awaitDrain===0&&EElistenerCount(i,"data")){d.flowing=true;flow(i)}}}Readable.prototype.unpipe=function(i){var d=this._readableState;var p={hasUnpiped:false};if(d.pipesCount===0)return this;if(d.pipesCount===1){if(i&&i!==d.pipes)return this;if(!i)i=d.pipes;d.pipes=null;d.pipesCount=0;d.flowing=false;if(i)i.emit("unpipe",this,p);return this}if(!i){var v=d.pipes;var V=d.pipesCount;d.pipes=null;d.pipesCount=0;d.flowing=false;for(var K=0;K=d.length){if(d.decoder)p=d.buffer.join("");else if(d.buffer.length===1)p=d.buffer.head.data;else p=d.buffer.concat(d.length);d.buffer.clear()}else{p=fromListPartial(i,d.buffer,d.decoder)}return p}function fromListPartial(i,d,p){var v;if(iK.length?K.length:i;if(ee===K.length)V+=K;else V+=K.slice(0,i);i-=ee;if(i===0){if(ee===K.length){++v;if(p.next)d.head=p.next;else d.head=d.tail=null}else{d.head=p;p.data=K.slice(ee)}break}++v}d.length-=v;return V}function copyFromBuffer(i,d){var p=re.allocUnsafe(i);var v=d.head;var V=1;v.data.copy(p);i-=v.data.length;while(v=v.next){var K=v.data;var ee=i>K.length?K.length:i;K.copy(p,p.length-i,0,ee);i-=ee;if(i===0){if(ee===K.length){++V;if(v.next)d.head=v.next;else d.head=d.tail=null}else{d.head=v;v.data=K.slice(ee)}break}++V}d.length-=V;return p}function endReadable(i){var d=i._readableState;if(d.length>0)throw new Error('"endReadable()" called on non-empty stream');if(!d.endEmitted){d.ended=true;v.nextTick(endReadableNT,d,i)}}function endReadableNT(i,d){if(!i.endEmitted&&i.length===0){i.endEmitted=true;d.readable=false;d.emit("end")}}function indexOf(i,d){for(var p=0,v=i.length;p{i.exports=Transform;var v=p(34793);var V=Object.create(p(45481));V.inherits=p(39598);V.inherits(Transform,v);function afterTransform(i,d){var p=this._transformState;p.transforming=false;var v=p.writecb;if(!v){return this.emit("error",new Error("write callback called multiple times"))}p.writechunk=null;p.writecb=null;if(d!=null)this.push(d);v(i);var V=this._readableState;V.reading=false;if(V.needReadable||V.length{var v=p(19183);i.exports=Writable;function WriteReq(i,d,p){this.chunk=i;this.encoding=d;this.callback=p;this.next=null}function CorkedRequest(i){var d=this;this.next=null;this.entry=null;this.finish=function(){onCorkedFinish(d,i)}}var V=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:v.nextTick;var K;Writable.WritableState=WritableState;var ee=Object.create(p(45481));ee.inherits=p(39598);var te={deprecate:p(24488)};var re=p(87137);var ne=p(93058).Buffer;var ie=(typeof global!=="undefined"?global:typeof window!=="undefined"?window:typeof self!=="undefined"?self:{}).Uint8Array||function(){};function _uint8ArrayToBuffer(i){return ne.from(i)}function _isUint8Array(i){return ne.isBuffer(i)||i instanceof ie}var se=p(91031);ee.inherits(Writable,re);function nop(){}function WritableState(i,d){K=K||p(34793);i=i||{};var v=d instanceof K;this.objectMode=!!i.objectMode;if(v)this.objectMode=this.objectMode||!!i.writableObjectMode;var V=i.highWaterMark;var ee=i.writableHighWaterMark;var te=this.objectMode?16:16*1024;if(V||V===0)this.highWaterMark=V;else if(v&&(ee||ee===0))this.highWaterMark=ee;else this.highWaterMark=te;this.highWaterMark=Math.floor(this.highWaterMark);this.finalCalled=false;this.needDrain=false;this.ending=false;this.ended=false;this.finished=false;this.destroyed=false;var re=i.decodeStrings===false;this.decodeStrings=!re;this.defaultEncoding=i.defaultEncoding||"utf8";this.length=0;this.writing=false;this.corked=0;this.sync=true;this.bufferProcessing=false;this.onwrite=function(i){onwrite(d,i)};this.writecb=null;this.writelen=0;this.bufferedRequest=null;this.lastBufferedRequest=null;this.pendingcb=0;this.prefinished=false;this.errorEmitted=false;this.bufferedRequestCount=0;this.corkedRequestsFree=new CorkedRequest(this)}WritableState.prototype.getBuffer=function getBuffer(){var i=this.bufferedRequest;var d=[];while(i){d.push(i);i=i.next}return d};(function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:te.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer "+"instead.","DEP0003")})}catch(i){}})();var oe;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function"){oe=Function.prototype[Symbol.hasInstance];Object.defineProperty(Writable,Symbol.hasInstance,{value:function(i){if(oe.call(this,i))return true;if(this!==Writable)return false;return i&&i._writableState instanceof WritableState}})}else{oe=function(i){return i instanceof this}}function Writable(i){K=K||p(34793);if(!oe.call(Writable,this)&&!(this instanceof K)){return new Writable(i)}this._writableState=new WritableState(i,this);this.writable=true;if(i){if(typeof i.write==="function")this._write=i.write;if(typeof i.writev==="function")this._writev=i.writev;if(typeof i.destroy==="function")this._destroy=i.destroy;if(typeof i.final==="function")this._final=i.final}re.call(this)}Writable.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function writeAfterEnd(i,d){var p=new Error("write after end");i.emit("error",p);v.nextTick(d,p)}function validChunk(i,d,p,V){var K=true;var ee=false;if(p===null){ee=new TypeError("May not write null values to stream")}else if(typeof p!=="string"&&p!==undefined&&!d.objectMode){ee=new TypeError("Invalid non-string/buffer chunk")}if(ee){i.emit("error",ee);v.nextTick(V,ee);K=false}return K}Writable.prototype.write=function(i,d,p){var v=this._writableState;var V=false;var K=!v.objectMode&&_isUint8Array(i);if(K&&!ne.isBuffer(i)){i=_uint8ArrayToBuffer(i)}if(typeof d==="function"){p=d;d=null}if(K)d="buffer";else if(!d)d=v.defaultEncoding;if(typeof p!=="function")p=nop;if(v.ended)writeAfterEnd(this,p);else if(K||validChunk(this,v,i,p)){v.pendingcb++;V=writeOrBuffer(this,v,K,i,d,p)}return V};Writable.prototype.cork=function(){var i=this._writableState;i.corked++};Writable.prototype.uncork=function(){var i=this._writableState;if(i.corked){i.corked--;if(!i.writing&&!i.corked&&!i.bufferProcessing&&i.bufferedRequest)clearBuffer(this,i)}};Writable.prototype.setDefaultEncoding=function setDefaultEncoding(i){if(typeof i==="string")i=i.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((i+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+i);this._writableState.defaultEncoding=i;return this};function decodeChunk(i,d,p){if(!i.objectMode&&i.decodeStrings!==false&&typeof d==="string"){d=ne.from(d,p)}return d}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:false,get:function(){return this._writableState.highWaterMark}});function writeOrBuffer(i,d,p,v,V,K){if(!p){var ee=decodeChunk(d,v,V);if(v!==ee){p=true;V="buffer";v=ee}}var te=d.objectMode?1:v.length;d.length+=te;var re=d.length{function _classCallCheck(i,d){if(!(i instanceof d)){throw new TypeError("Cannot call a class as a function")}}var v=p(93058).Buffer;var V=p(39023);function copyBuffer(i,d,p){i.copy(d,p)}i.exports=function(){function BufferList(){_classCallCheck(this,BufferList);this.head=null;this.tail=null;this.length=0}BufferList.prototype.push=function push(i){var d={data:i,next:null};if(this.length>0)this.tail.next=d;else this.head=d;this.tail=d;++this.length};BufferList.prototype.unshift=function unshift(i){var d={data:i,next:this.head};if(this.length===0)this.tail=d;this.head=d;++this.length};BufferList.prototype.shift=function shift(){if(this.length===0)return;var i=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return i};BufferList.prototype.clear=function clear(){this.head=this.tail=null;this.length=0};BufferList.prototype.join=function join(i){if(this.length===0)return"";var d=this.head;var p=""+d.data;while(d=d.next){p+=i+d.data}return p};BufferList.prototype.concat=function concat(i){if(this.length===0)return v.alloc(0);var d=v.allocUnsafe(i>>>0);var p=this.head;var V=0;while(p){copyBuffer(p.data,d,V);V+=p.data.length;p=p.next}return d};return BufferList}();if(V&&V.inspect&&V.inspect.custom){i.exports.prototype[V.inspect.custom]=function(){var i=V.inspect({length:this.length});return this.constructor.name+" "+i}}},91031:(i,d,p)=>{var v=p(19183);function destroy(i,d){var p=this;var V=this._readableState&&this._readableState.destroyed;var K=this._writableState&&this._writableState.destroyed;if(V||K){if(d){d(i)}else if(i){if(!this._writableState){v.nextTick(emitErrorNT,this,i)}else if(!this._writableState.errorEmitted){this._writableState.errorEmitted=true;v.nextTick(emitErrorNT,this,i)}}return this}if(this._readableState){this._readableState.destroyed=true}if(this._writableState){this._writableState.destroyed=true}this._destroy(i||null,(function(i){if(!d&&i){if(!p._writableState){v.nextTick(emitErrorNT,p,i)}else if(!p._writableState.errorEmitted){p._writableState.errorEmitted=true;v.nextTick(emitErrorNT,p,i)}}else if(d){d(i)}}));return this}function undestroy(){if(this._readableState){this._readableState.destroyed=false;this._readableState.reading=false;this._readableState.ended=false;this._readableState.endEmitted=false}if(this._writableState){this._writableState.destroyed=false;this._writableState.ended=false;this._writableState.ending=false;this._writableState.finalCalled=false;this._writableState.prefinished=false;this._writableState.finished=false;this._writableState.errorEmitted=false}}function emitErrorNT(i,d){i.emit("error",d)}i.exports={destroy:destroy,undestroy:undestroy}},87137:(i,d,p)=>{i.exports=p(2203)},1835:(i,d,p)=>{i.exports=p(73109).PassThrough},73109:(i,d,p)=>{var v=p(2203);if(process.env.READABLE_STREAM==="disable"&&v){i.exports=v;d=i.exports=v.Readable;d.Readable=v.Readable;d.Writable=v.Writable;d.Duplex=v.Duplex;d.Transform=v.Transform;d.PassThrough=v.PassThrough;d.Stream=v}else{d=i.exports=p(74559);d.Stream=v||d;d.Readable=d;d.Writable=p(54579);d.Duplex=p(34793);d.Transform=p(69343);d.PassThrough=p(72029)}},66320:(i,d,p)=>{var v=p(48051),V=p(15431),K=p(26934),ee=p(64306),te=p(17226);function Hash(i){var d=-1,p=i==null?0:i.length;this.clear();while(++d{var v=p(99791),V=p(24555),K=p(86634),ee=p(8430),te=p(36918);function ListCache(i){var d=-1,p=i==null?0:i.length;this.clear();while(++d{var v=p(68573),V=p(6748);var K=v(V,"Map");i.exports=K},79660:(i,d,p)=>{var v=p(88487),V=p(36275),K=p(30130),ee=p(69254),te=p(59806);function MapCache(i){var d=-1,p=i==null?0:i.length;this.clear();while(++d{var v=p(68573),V=p(6748);var K=v(V,"Set");i.exports=K},23706:(i,d,p)=>{var v=p(79660),V=p(44671),K=p(71884);function SetCache(i){var d=-1,p=i==null?0:i.length;this.__data__=new v;while(++d{var v=p(6748);var V=v.Symbol;i.exports=V},59678:i=>{function apply(i,d,p){switch(p.length){case 0:return i.call(d);case 1:return i.call(d,p[0]);case 2:return i.call(d,p[0],p[1]);case 3:return i.call(d,p[0],p[1],p[2])}return i.apply(d,p)}i.exports=apply},70534:(i,d,p)=>{var v=p(84760);function arrayIncludes(i,d){var p=i==null?0:i.length;return!!p&&v(i,d,0)>-1}i.exports=arrayIncludes},37314:i=>{function arrayIncludesWith(i,d,p){var v=-1,V=i==null?0:i.length;while(++v{var v=p(21299),V=p(60541),K=p(77192),ee=p(43739),te=p(37446),re=p(35e3);var ne=Object.prototype;var ie=ne.hasOwnProperty;function arrayLikeKeys(i,d){var p=K(i),ne=!p&&V(i),se=!p&&!ne&&ee(i),oe=!p&&!ne&&!se&&re(i),ae=p||ne||se||oe,ce=ae?v(i.length,String):[],le=ce.length;for(var ue in i){if((d||ie.call(i,ue))&&!(ae&&(ue=="length"||se&&(ue=="offset"||ue=="parent")||oe&&(ue=="buffer"||ue=="byteLength"||ue=="byteOffset")||te(ue,le)))){ce.push(ue)}}return ce}i.exports=arrayLikeKeys},56649:i=>{function arrayMap(i,d){var p=-1,v=i==null?0:i.length,V=Array(v);while(++p{function arrayPush(i,d){var p=-1,v=d.length,V=i.length;while(++p{var v=p(75199);function assocIndexOf(i,d){var p=i.length;while(p--){if(v(i[p][0],d)){return p}}return-1}i.exports=assocIndexOf},3126:(i,d,p)=>{var v=p(23706),V=p(70534),K=p(37314),ee=p(56649),te=p(55506),re=p(64486);var ne=200;function baseDifference(i,d,p,ie){var se=-1,oe=V,ae=true,ce=i.length,le=[],ue=d.length;if(!ce){return le}if(p){d=ee(d,te(p))}if(ie){oe=K;ae=false}else if(d.length>=ne){oe=re;ae=false;d=new v(d)}e:while(++se{function baseFindIndex(i,d,p,v){var V=i.length,K=p+(v?1:-1);while(v?K--:++K{var v=p(50827),V=p(45088);function baseFlatten(i,d,p,K,ee){var te=-1,re=i.length;p||(p=V);ee||(ee=[]);while(++te0&&p(ne)){if(d>1){baseFlatten(ne,d-1,p,K,ee)}else{v(ee,ne)}}else if(!K){ee[ee.length]=ne}}return ee}i.exports=baseFlatten},29117:(i,d,p)=>{var v=p(38584),V=p(95292),K=p(71723);var ee="[object Null]",te="[object Undefined]";var re=v?v.toStringTag:undefined;function baseGetTag(i){if(i==null){return i===undefined?te:ee}return re&&re in Object(i)?V(i):K(i)}i.exports=baseGetTag},84760:(i,d,p)=>{var v=p(35588),V=p(34352),K=p(95232);function baseIndexOf(i,d,p){return d===d?K(i,d,p):v(i,V,p)}i.exports=baseIndexOf},93605:(i,d,p)=>{var v=p(29117),V=p(51645);var K="[object Arguments]";function baseIsArguments(i){return V(i)&&v(i)==K}i.exports=baseIsArguments},34352:i=>{function baseIsNaN(i){return i!==i}i.exports=baseIsNaN},92334:(i,d,p)=>{var v=p(34329),V=p(46613),K=p(96482),ee=p(57192);var te=/[\\^$.*+?()[\]{}|]/g;var re=/^\[object .+?Constructor\]$/;var ne=Function.prototype,ie=Object.prototype;var se=ne.toString;var oe=ie.hasOwnProperty;var ae=RegExp("^"+se.call(oe).replace(te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(i){if(!K(i)||V(i)){return false}var d=v(i)?ae:re;return d.test(ee(i))}i.exports=baseIsNative},16880:(i,d,p)=>{var v=p(29117),V=p(56657),K=p(51645);var ee="[object Arguments]",te="[object Array]",re="[object Boolean]",ne="[object Date]",ie="[object Error]",se="[object Function]",oe="[object Map]",ae="[object Number]",ce="[object Object]",le="[object RegExp]",ue="[object Set]",Ae="[object String]",de="[object WeakMap]";var pe="[object ArrayBuffer]",fe="[object DataView]",he="[object Float32Array]",ge="[object Float64Array]",me="[object Int8Array]",Ee="[object Int16Array]",ye="[object Int32Array]",Ce="[object Uint8Array]",be="[object Uint8ClampedArray]",Ie="[object Uint16Array]",Be="[object Uint32Array]";var we={};we[he]=we[ge]=we[me]=we[Ee]=we[ye]=we[Ce]=we[be]=we[Ie]=we[Be]=true;we[ee]=we[te]=we[pe]=we[re]=we[fe]=we[ne]=we[ie]=we[se]=we[oe]=we[ae]=we[ce]=we[le]=we[ue]=we[Ae]=we[de]=false;function baseIsTypedArray(i){return K(i)&&V(i.length)&&!!we[v(i)]}i.exports=baseIsTypedArray},82094:(i,d,p)=>{var v=p(96482),V=p(55944),K=p(94008);var ee=Object.prototype;var te=ee.hasOwnProperty;function baseKeysIn(i){if(!v(i)){return K(i)}var d=V(i),p=[];for(var ee in i){if(!(ee=="constructor"&&(d||!te.call(i,ee)))){p.push(ee)}}return p}i.exports=baseKeysIn},22035:(i,d,p)=>{var v=p(46851),V=p(20168),K=p(59402);function baseRest(i,d){return K(V(i,d,v),i+"")}i.exports=baseRest},64953:(i,d,p)=>{var v=p(85089),V=p(83106),K=p(46851);var ee=!V?K:function(i,d){return V(i,"toString",{configurable:true,enumerable:false,value:v(d),writable:true})};i.exports=ee},21299:i=>{function baseTimes(i,d){var p=-1,v=Array(i);while(++p{function baseUnary(i){return function(d){return i(d)}}i.exports=baseUnary},32772:(i,d,p)=>{var v=p(23706),V=p(70534),K=p(37314),ee=p(64486),te=p(48242),re=p(11894);var ne=200;function baseUniq(i,d,p){var ie=-1,se=V,oe=i.length,ae=true,ce=[],le=ce;if(p){ae=false;se=K}else if(oe>=ne){var ue=d?null:te(i);if(ue){return re(ue)}ae=false;se=ee;le=new v}else{le=d?[]:ce}e:while(++ie{function cacheHas(i,d){return i.has(d)}i.exports=cacheHas},60252:(i,d,p)=>{var v=p(6748);var V=v["__core-js_shared__"];i.exports=V},48242:(i,d,p)=>{var v=p(84986),V=p(89029),K=p(11894);var ee=1/0;var te=!(v&&1/K(new v([,-0]))[1]==ee)?V:function(i){return new v(i)};i.exports=te},83106:(i,d,p)=>{var v=p(68573);var V=function(){try{var i=v(Object,"defineProperty");i({},"",{});return i}catch(i){}}();i.exports=V},78997:i=>{var d=typeof global=="object"&&global&&global.Object===Object&&global;i.exports=d},1194:(i,d,p)=>{var v=p(93245);function getMapData(i,d){var p=i.__data__;return v(d)?p[typeof d=="string"?"string":"hash"]:p.map}i.exports=getMapData},68573:(i,d,p)=>{var v=p(92334),V=p(8293);function getNative(i,d){var p=V(i,d);return v(p)?p:undefined}i.exports=getNative},86194:(i,d,p)=>{var v=p(61128);var V=v(Object.getPrototypeOf,Object);i.exports=V},95292:(i,d,p)=>{var v=p(38584);var V=Object.prototype;var K=V.hasOwnProperty;var ee=V.toString;var te=v?v.toStringTag:undefined;function getRawTag(i){var d=K.call(i,te),p=i[te];try{i[te]=undefined;var v=true}catch(i){}var V=ee.call(i);if(v){if(d){i[te]=p}else{delete i[te]}}return V}i.exports=getRawTag},8293:i=>{function getValue(i,d){return i==null?undefined:i[d]}i.exports=getValue},48051:(i,d,p)=>{var v=p(71563);function hashClear(){this.__data__=v?v(null):{};this.size=0}i.exports=hashClear},15431:i=>{function hashDelete(i){var d=this.has(i)&&delete this.__data__[i];this.size-=d?1:0;return d}i.exports=hashDelete},26934:(i,d,p)=>{var v=p(71563);var V="__lodash_hash_undefined__";var K=Object.prototype;var ee=K.hasOwnProperty;function hashGet(i){var d=this.__data__;if(v){var p=d[i];return p===V?undefined:p}return ee.call(d,i)?d[i]:undefined}i.exports=hashGet},64306:(i,d,p)=>{var v=p(71563);var V=Object.prototype;var K=V.hasOwnProperty;function hashHas(i){var d=this.__data__;return v?d[i]!==undefined:K.call(d,i)}i.exports=hashHas},17226:(i,d,p)=>{var v=p(71563);var V="__lodash_hash_undefined__";function hashSet(i,d){var p=this.__data__;this.size+=this.has(i)?0:1;p[i]=v&&d===undefined?V:d;return this}i.exports=hashSet},45088:(i,d,p)=>{var v=p(38584),V=p(60541),K=p(77192);var ee=v?v.isConcatSpreadable:undefined;function isFlattenable(i){return K(i)||V(i)||!!(ee&&i&&i[ee])}i.exports=isFlattenable},37446:i=>{var d=9007199254740991;var p=/^(?:0|[1-9]\d*)$/;function isIndex(i,v){var V=typeof i;v=v==null?d:v;return!!v&&(V=="number"||V!="symbol"&&p.test(i))&&(i>-1&&i%1==0&&i{var v=p(75199),V=p(75119),K=p(37446),ee=p(96482);function isIterateeCall(i,d,p){if(!ee(p)){return false}var te=typeof d;if(te=="number"?V(p)&&K(d,p.length):te=="string"&&d in p){return v(p[d],i)}return false}i.exports=isIterateeCall},93245:i=>{function isKeyable(i){var d=typeof i;return d=="string"||d=="number"||d=="symbol"||d=="boolean"?i!=="__proto__":i===null}i.exports=isKeyable},46613:(i,d,p)=>{var v=p(60252);var V=function(){var i=/[^.]+$/.exec(v&&v.keys&&v.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}();function isMasked(i){return!!V&&V in i}i.exports=isMasked},55944:i=>{var d=Object.prototype;function isPrototype(i){var p=i&&i.constructor,v=typeof p=="function"&&p.prototype||d;return i===v}i.exports=isPrototype},99791:i=>{function listCacheClear(){this.__data__=[];this.size=0}i.exports=listCacheClear},24555:(i,d,p)=>{var v=p(74024);var V=Array.prototype;var K=V.splice;function listCacheDelete(i){var d=this.__data__,p=v(d,i);if(p<0){return false}var V=d.length-1;if(p==V){d.pop()}else{K.call(d,p,1)}--this.size;return true}i.exports=listCacheDelete},86634:(i,d,p)=>{var v=p(74024);function listCacheGet(i){var d=this.__data__,p=v(d,i);return p<0?undefined:d[p][1]}i.exports=listCacheGet},8430:(i,d,p)=>{var v=p(74024);function listCacheHas(i){return v(this.__data__,i)>-1}i.exports=listCacheHas},36918:(i,d,p)=>{var v=p(74024);function listCacheSet(i,d){var p=this.__data__,V=v(p,i);if(V<0){++this.size;p.push([i,d])}else{p[V][1]=d}return this}i.exports=listCacheSet},88487:(i,d,p)=>{var v=p(66320),V=p(68884),K=p(98272);function mapCacheClear(){this.size=0;this.__data__={hash:new v,map:new(K||V),string:new v}}i.exports=mapCacheClear},36275:(i,d,p)=>{var v=p(1194);function mapCacheDelete(i){var d=v(this,i)["delete"](i);this.size-=d?1:0;return d}i.exports=mapCacheDelete},30130:(i,d,p)=>{var v=p(1194);function mapCacheGet(i){return v(this,i).get(i)}i.exports=mapCacheGet},69254:(i,d,p)=>{var v=p(1194);function mapCacheHas(i){return v(this,i).has(i)}i.exports=mapCacheHas},59806:(i,d,p)=>{var v=p(1194);function mapCacheSet(i,d){var p=v(this,i),V=p.size;p.set(i,d);this.size+=p.size==V?0:1;return this}i.exports=mapCacheSet},71563:(i,d,p)=>{var v=p(68573);var V=v(Object,"create");i.exports=V},94008:i=>{function nativeKeysIn(i){var d=[];if(i!=null){for(var p in Object(i)){d.push(p)}}return d}i.exports=nativeKeysIn},88724:(i,d,p)=>{i=p.nmd(i);var v=p(78997);var V=true&&d&&!d.nodeType&&d;var K=V&&"object"=="object"&&i&&!i.nodeType&&i;var ee=K&&K.exports===V;var te=ee&&v.process;var re=function(){try{var i=K&&K.require&&K.require("util").types;if(i){return i}return te&&te.binding&&te.binding("util")}catch(i){}}();i.exports=re},71723:i=>{var d=Object.prototype;var p=d.toString;function objectToString(i){return p.call(i)}i.exports=objectToString},61128:i=>{function overArg(i,d){return function(p){return i(d(p))}}i.exports=overArg},20168:(i,d,p)=>{var v=p(59678);var V=Math.max;function overRest(i,d,p){d=V(d===undefined?i.length-1:d,0);return function(){var K=arguments,ee=-1,te=V(K.length-d,0),re=Array(te);while(++ee{var v=p(78997);var V=typeof self=="object"&&self&&self.Object===Object&&self;var K=v||V||Function("return this")();i.exports=K},44671:i=>{var d="__lodash_hash_undefined__";function setCacheAdd(i){this.__data__.set(i,d);return this}i.exports=setCacheAdd},71884:i=>{function setCacheHas(i){return this.__data__.has(i)}i.exports=setCacheHas},11894:i=>{function setToArray(i){var d=-1,p=Array(i.size);i.forEach((function(i){p[++d]=i}));return p}i.exports=setToArray},59402:(i,d,p)=>{var v=p(64953),V=p(83286);var K=V(v);i.exports=K},83286:i=>{var d=800,p=16;var v=Date.now;function shortOut(i){var V=0,K=0;return function(){var ee=v(),te=p-(ee-K);K=ee;if(te>0){if(++V>=d){return arguments[0]}}else{V=0}return i.apply(undefined,arguments)}}i.exports=shortOut},95232:i=>{function strictIndexOf(i,d,p){var v=p-1,V=i.length;while(++v{var d=Function.prototype;var p=d.toString;function toSource(i){if(i!=null){try{return p.call(i)}catch(i){}try{return i+""}catch(i){}}return""}i.exports=toSource},85089:i=>{function constant(i){return function(){return i}}i.exports=constant},7511:(i,d,p)=>{var v=p(22035),V=p(75199),K=p(3349),ee=p(19430);var te=Object.prototype;var re=te.hasOwnProperty;var ne=v((function(i,d){i=Object(i);var p=-1;var v=d.length;var ne=v>2?d[2]:undefined;if(ne&&K(d[0],d[1],ne)){v=1}while(++p{var v=p(3126),V=p(63183),K=p(22035),ee=p(97100);var te=K((function(i,d){return ee(i)?v(i,V(d,1,ee,true)):[]}));i.exports=te},75199:i=>{function eq(i,d){return i===d||i!==i&&d!==d}i.exports=eq},97047:(i,d,p)=>{var v=p(63183);function flatten(i){var d=i==null?0:i.length;return d?v(i,1):[]}i.exports=flatten},46851:i=>{function identity(i){return i}i.exports=identity},60541:(i,d,p)=>{var v=p(93605),V=p(51645);var K=Object.prototype;var ee=K.hasOwnProperty;var te=K.propertyIsEnumerable;var re=v(function(){return arguments}())?v:function(i){return V(i)&&ee.call(i,"callee")&&!te.call(i,"callee")};i.exports=re},77192:i=>{var d=Array.isArray;i.exports=d},75119:(i,d,p)=>{var v=p(34329),V=p(56657);function isArrayLike(i){return i!=null&&V(i.length)&&!v(i)}i.exports=isArrayLike},97100:(i,d,p)=>{var v=p(75119),V=p(51645);function isArrayLikeObject(i){return V(i)&&v(i)}i.exports=isArrayLikeObject},43739:(i,d,p)=>{i=p.nmd(i);var v=p(6748),V=p(92074);var K=true&&d&&!d.nodeType&&d;var ee=K&&"object"=="object"&&i&&!i.nodeType&&i;var te=ee&&ee.exports===K;var re=te?v.Buffer:undefined;var ne=re?re.isBuffer:undefined;var ie=ne||V;i.exports=ie},34329:(i,d,p)=>{var v=p(29117),V=p(96482);var K="[object AsyncFunction]",ee="[object Function]",te="[object GeneratorFunction]",re="[object Proxy]";function isFunction(i){if(!V(i)){return false}var d=v(i);return d==ee||d==te||d==K||d==re}i.exports=isFunction},56657:i=>{var d=9007199254740991;function isLength(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=d}i.exports=isLength},96482:i=>{function isObject(i){var d=typeof i;return i!=null&&(d=="object"||d=="function")}i.exports=isObject},51645:i=>{function isObjectLike(i){return i!=null&&typeof i=="object"}i.exports=isObjectLike},36542:(i,d,p)=>{var v=p(29117),V=p(86194),K=p(51645);var ee="[object Object]";var te=Function.prototype,re=Object.prototype;var ne=te.toString;var ie=re.hasOwnProperty;var se=ne.call(Object);function isPlainObject(i){if(!K(i)||v(i)!=ee){return false}var d=V(i);if(d===null){return true}var p=ie.call(d,"constructor")&&d.constructor;return typeof p=="function"&&p instanceof p&&ne.call(p)==se}i.exports=isPlainObject},35e3:(i,d,p)=>{var v=p(16880),V=p(55506),K=p(88724);var ee=K&&K.isTypedArray;var te=ee?V(ee):v;i.exports=te},19430:(i,d,p)=>{var v=p(62e3),V=p(82094),K=p(75119);function keysIn(i){return K(i)?v(i,true):V(i)}i.exports=keysIn},89029:i=>{function noop(){}i.exports=noop},92074:i=>{function stubFalse(){return false}i.exports=stubFalse},73270:(i,d,p)=>{var v=p(63183),V=p(22035),K=p(32772),ee=p(97100);var te=V((function(i){return K(v(i,1,ee,true))}));i.exports=te},43772:(i,d,p)=>{i.exports=minimatch;minimatch.Minimatch=Minimatch;var v=function(){try{return p(16928)}catch(i){}}()||{sep:"/"};minimatch.sep=v.sep;var V=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var K=p(73783);var ee={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var te="[^/]";var re=te+"*?";var ne="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var ie="(?:(?!(?:\\/|^)\\.).)*?";var se=charSet("().*{}+?[]^$\\!");function charSet(i){return i.split("").reduce((function(i,d){i[d]=true;return i}),{})}var oe=/\/+/;minimatch.filter=filter;function filter(i,d){d=d||{};return function(p,v,V){return minimatch(p,i,d)}}function ext(i,d){d=d||{};var p={};Object.keys(i).forEach((function(d){p[d]=i[d]}));Object.keys(d).forEach((function(i){p[i]=d[i]}));return p}minimatch.defaults=function(i){if(!i||typeof i!=="object"||!Object.keys(i).length){return minimatch}var d=minimatch;var p=function minimatch(p,v,V){return d(p,v,ext(i,V))};p.Minimatch=function Minimatch(p,v){return new d.Minimatch(p,ext(i,v))};p.Minimatch.defaults=function defaults(p){return d.defaults(ext(i,p)).Minimatch};p.filter=function filter(p,v){return d.filter(p,ext(i,v))};p.defaults=function defaults(p){return d.defaults(ext(i,p))};p.makeRe=function makeRe(p,v){return d.makeRe(p,ext(i,v))};p.braceExpand=function braceExpand(p,v){return d.braceExpand(p,ext(i,v))};p.match=function(p,v,V){return d.match(p,v,ext(i,V))};return p};Minimatch.defaults=function(i){return minimatch.defaults(i).Minimatch};function minimatch(i,d,p){assertValidPattern(d);if(!p)p={};if(!p.nocomment&&d.charAt(0)==="#"){return false}return new Minimatch(d,p).match(i)}function Minimatch(i,d){if(!(this instanceof Minimatch)){return new Minimatch(i,d)}assertValidPattern(i);if(!d)d={};i=i.trim();if(!d.allowWindowsEscape&&v.sep!=="/"){i=i.split(v.sep).join("/")}this.options=d;this.set=[];this.pattern=i;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.partial=!!d.partial;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){var i=this.pattern;var d=this.options;if(!d.nocomment&&i.charAt(0)==="#"){this.comment=true;return}if(!i){this.empty=true;return}this.parseNegate();var p=this.globSet=this.braceExpand();if(d.debug)this.debug=function debug(){console.error.apply(console,arguments)};this.debug(this.pattern,p);p=this.globParts=p.map((function(i){return i.split(oe)}));this.debug(this.pattern,p);p=p.map((function(i,d,p){return i.map(this.parse,this)}),this);this.debug(this.pattern,p);p=p.filter((function(i){return i.indexOf(false)===-1}));this.debug(this.pattern,p);this.set=p}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var i=this.pattern;var d=false;var p=this.options;var v=0;if(p.nonegate)return;for(var V=0,K=i.length;Vae){throw new TypeError("pattern is too long")}};Minimatch.prototype.parse=parse;var ce={};function parse(i,d){assertValidPattern(i);var p=this.options;if(i==="**"){if(!p.noglobstar)return V;else i="*"}if(i==="")return"";var v="";var K=!!p.nocase;var ne=false;var ie=[];var oe=[];var ae;var le=false;var ue=-1;var Ae=-1;var de=i.charAt(0)==="."?"":p.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";var pe=this;function clearStateChar(){if(ae){switch(ae){case"*":v+=re;K=true;break;case"?":v+=te;K=true;break;default:v+="\\"+ae;break}pe.debug("clearStateChar %j %j",ae,v);ae=false}}for(var fe=0,he=i.length,ge;fe-1;Be--){var we=oe[Be];var Se=v.slice(0,we.reStart);var Qe=v.slice(we.reStart,we.reEnd-8);var ve=v.slice(we.reEnd-8,we.reEnd);var Re=v.slice(we.reEnd);ve+=Re;var Te=Se.split("(").length-1;var Ne=Re;for(fe=0;fe=0;ee--){K=i[ee];if(K)break}for(ee=0;ee>> no match, partial?",i,se,d,oe);if(se===te)return true}return false}var ce;if(typeof ne==="string"){ce=ie===ne;this.debug("string match",ne,ie,ce)}else{ce=ie.match(ne);this.debug("pattern match",ne,ie,ce)}if(!ce)return false}if(K===te&&ee===re){return true}else if(K===te){return p}else if(ee===re){return K===te-1&&i[K]===""}throw new Error("wtf?")};function globUnescape(i){return i.replace(/\\(.)/g,"$1")}function regExpEscape(i){return i.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}},73783:(i,d,p)=>{var v=p(97087);var V=p(59380);i.exports=expandTop;var K="\0SLASH"+Math.random()+"\0";var ee="\0OPEN"+Math.random()+"\0";var te="\0CLOSE"+Math.random()+"\0";var re="\0COMMA"+Math.random()+"\0";var ne="\0PERIOD"+Math.random()+"\0";function numeric(i){return parseInt(i,10)==i?parseInt(i,10):i.charCodeAt(0)}function escapeBraces(i){return i.split("\\\\").join(K).split("\\{").join(ee).split("\\}").join(te).split("\\,").join(re).split("\\.").join(ne)}function unescapeBraces(i){return i.split(K).join("\\").split(ee).join("{").split(te).join("}").split(re).join(",").split(ne).join(".")}function parseCommaParts(i){if(!i)return[""];var d=[];var p=V("{","}",i);if(!p)return i.split(",");var v=p.pre;var K=p.body;var ee=p.post;var te=v.split(",");te[te.length-1]+="{"+K+"}";var re=parseCommaParts(ee);if(ee.length){te[te.length-1]+=re.shift();te.push.apply(te,re)}d.push.apply(d,te);return d}function expandTop(i){if(!i)return[];if(i.substr(0,2)==="{}"){i="\\{\\}"+i.substr(2)}return expand(escapeBraces(i),true).map(unescapeBraces)}function identity(i){return i}function embrace(i){return"{"+i+"}"}function isPadded(i){return/^-?0\d/.test(i)}function lte(i,d){return i<=d}function gte(i,d){return i>=d}function expand(i,d){var p=[];var K=V("{","}",i);if(!K||/\$$/.test(K.pre))return[i];var ee=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(K.body);var re=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(K.body);var ne=ee||re;var ie=K.body.indexOf(",")>=0;if(!ne&&!ie){if(K.post.match(/,(?!,).*\}/)){i=K.pre+"{"+K.body+te+K.post;return expand(i)}return[i]}var se;if(ne){se=K.body.split(/\.\./)}else{se=parseCommaParts(K.body);if(se.length===1){se=expand(se[0],false).map(embrace);if(se.length===1){var oe=K.post.length?expand(K.post,false):[""];return oe.map((function(i){return K.pre+se[0]+i}))}}}var ae=K.pre;var oe=K.post.length?expand(K.post,false):[""];var ce;if(ne){var le=numeric(se[0]);var ue=numeric(se[1]);var Ae=Math.max(se[0].length,se[1].length);var de=se.length==3?Math.abs(numeric(se[2])):1;var pe=lte;var fe=ue0){var ye=new Array(Ee+1).join("0");if(ge<0)me="-"+ye+me.slice(1);else me=ye+me}}}ce.push(me)}}else{ce=v(se,(function(i){return expand(i,false)}))}for(var Ce=0;Ce{var v=p(16928);var V=p(79896);var K=parseInt("0777",8);i.exports=mkdirP.mkdirp=mkdirP.mkdirP=mkdirP;function mkdirP(i,d,p,ee){if(typeof d==="function"){p=d;d={}}else if(!d||typeof d!=="object"){d={mode:d}}var te=d.mode;var re=d.fs||V;if(te===undefined){te=K}if(!ee)ee=null;var ne=p||function(){};i=v.resolve(i);re.mkdir(i,te,(function(p){if(!p){ee=ee||i;return ne(null,ee)}switch(p.code){case"ENOENT":if(v.dirname(i)===i)return ne(p);mkdirP(v.dirname(i),d,(function(p,v){if(p)ne(p,v);else mkdirP(i,d,ne,v)}));break;default:re.stat(i,(function(i,d){if(i||!d.isDirectory())ne(p,ee);else ne(null,ee)}));break}}))}mkdirP.sync=function sync(i,d,p){if(!d||typeof d!=="object"){d={mode:d}}var ee=d.mode;var te=d.fs||V;if(ee===undefined){ee=K}if(!p)p=null;i=v.resolve(i);try{te.mkdirSync(i,ee);p=p||i}catch(V){switch(V.code){case"ENOENT":p=sync(v.dirname(i),d,p);sync(i,d,p);break;default:var re;try{re=te.statSync(i)}catch(i){throw V}if(!re.isDirectory())throw V;break}}return p}},70744:i=>{var d=1e3;var p=d*60;var v=p*60;var V=v*24;var K=V*7;var ee=V*365.25;i.exports=function(i,d){d=d||{};var p=typeof i;if(p==="string"&&i.length>0){return parse(i)}else if(p==="number"&&isFinite(i)){return d.long?fmtLong(i):fmtShort(i)}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(i))};function parse(i){i=String(i);if(i.length>100){return}var te=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(i);if(!te){return}var re=parseFloat(te[1]);var ne=(te[2]||"ms").toLowerCase();switch(ne){case"years":case"year":case"yrs":case"yr":case"y":return re*ee;case"weeks":case"week":case"w":return re*K;case"days":case"day":case"d":return re*V;case"hours":case"hour":case"hrs":case"hr":case"h":return re*v;case"minutes":case"minute":case"mins":case"min":case"m":return re*p;case"seconds":case"second":case"secs":case"sec":case"s":return re*d;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return re;default:return undefined}}function fmtShort(i){var K=Math.abs(i);if(K>=V){return Math.round(i/V)+"d"}if(K>=v){return Math.round(i/v)+"h"}if(K>=p){return Math.round(i/p)+"m"}if(K>=d){return Math.round(i/d)+"s"}return i+"ms"}function fmtLong(i){var K=Math.abs(i);if(K>=V){return plural(i,K,V,"day")}if(K>=v){return plural(i,K,v,"hour")}if(K>=p){return plural(i,K,p,"minute")}if(K>=d){return plural(i,K,d,"second")}return i+" ms"}function plural(i,d,p,v){var V=d>=p*1.5;return Math.round(i/p)+" "+v+(V?"s":"")}},56133:i=>{ + */function isObject(i){return Object.prototype.toString.call(i)==="[object Object]"}function isPlainObject(i){var d,p;if(isObject(i)===false)return false;d=i.constructor;if(d===undefined)return true;p=d.prototype;if(isObject(p)===false)return false;if(p.hasOwnProperty("isPrototypeOf")===false){return false}return true}d.isPlainObject=isPlainObject},96543:i=>{const isStream=i=>i!==null&&typeof i==="object"&&typeof i.pipe==="function";isStream.writable=i=>isStream(i)&&i.writable!==false&&typeof i._write==="function"&&typeof i._writableState==="object";isStream.readable=i=>isStream(i)&&i.readable!==false&&typeof i._read==="function"&&typeof i._readableState==="object";isStream.duplex=i=>isStream.writable(i)&&isStream.readable(i);isStream.transform=i=>isStream.duplex(i)&&typeof i._transform==="function";i.exports=isStream},82513:i=>{var d={}.toString;i.exports=Array.isArray||function(i){return d.call(i)=="[object Array]"}},74281:(i,d,p)=>{var v=p(91950);var V=p(59980);function renamed(i,d){return function(){throw new Error("Function yaml."+i+" is removed in js-yaml 4. "+"Use yaml."+d+" instead, which is now safe by default.")}}i.exports.Type=p(9557);i.exports.Schema=p(62046);i.exports.FAILSAFE_SCHEMA=p(69832);i.exports.JSON_SCHEMA=p(58927);i.exports.CORE_SCHEMA=p(55746);i.exports.DEFAULT_SCHEMA=p(97336);i.exports.load=v.load;i.exports.loadAll=v.loadAll;i.exports.dump=V.dump;i.exports.YAMLException=p(41248);i.exports.types={binary:p(8149),float:p(57584),map:p(47316),null:p(4333),pairs:p(16267),set:p(78758),timestamp:p(28966),bool:p(67296),int:p(62271),merge:p(76854),omap:p(58649),seq:p(77161),str:p(53929)};i.exports.safeLoad=renamed("safeLoad","load");i.exports.safeLoadAll=renamed("safeLoadAll","loadAll");i.exports.safeDump=renamed("safeDump","dump")},19816:i=>{function isNothing(i){return typeof i==="undefined"||i===null}function isObject(i){return typeof i==="object"&&i!==null}function toArray(i){if(Array.isArray(i))return i;else if(isNothing(i))return[];return[i]}function extend(i,d){var p,v,V,K;if(d){K=Object.keys(d);for(p=0,v=K.length;p{var v=p(19816);var V=p(41248);var K=p(97336);var ee=Object.prototype.toString;var te=Object.prototype.hasOwnProperty;var re=65279;var ne=9;var se=10;var ie=13;var oe=32;var ae=33;var Ae=34;var ce=35;var le=37;var ue=38;var de=39;var he=42;var fe=44;var ge=45;var pe=58;var me=61;var Ee=62;var Ce=63;var ye=64;var Ie=91;var Be=93;var Qe=96;var be=123;var we=124;var Se=125;var Re={};Re[0]="\\0";Re[7]="\\a";Re[8]="\\b";Re[9]="\\t";Re[10]="\\n";Re[11]="\\v";Re[12]="\\f";Re[13]="\\r";Re[27]="\\e";Re[34]='\\"';Re[92]="\\\\";Re[133]="\\N";Re[160]="\\_";Re[8232]="\\L";Re[8233]="\\P";var ve=["y","Y","yes","Yes","YES","on","On","ON","n","N","no","No","NO","off","Off","OFF"];var ke=/^[-+]?[0-9_]+(?::[0-9_]+)+(?:\.[0-9_]*)?$/;function compileStyleMap(i,d){var p,v,V,K,ee,re,ne;if(d===null)return{};p={};v=Object.keys(d);for(V=0,K=v.length;V=55296&&p<=56319&&d+1=56320&&v<=57343){return(p-55296)*1024+v-56320+65536}}return p}function needIndentIndicator(i){var d=/^\n* /;return d.test(i)}var De=1,xe=2,Fe=3,Pe=4,Le=5;function chooseScalarStyle(i,d,p,v,V,K,ee,te){var re;var ne=0;var ie=null;var oe=false;var ae=false;var Ae=v!==-1;var ce=-1;var le=isPlainSafeFirst(codePointAt(i,0))&&isPlainSafeLast(codePointAt(i,i.length-1));if(d||ee){for(re=0;re=65536?re+=2:re++){ne=codePointAt(i,re);if(!isPrintable(ne)){return Le}le=le&&isPlainSafe(ne,ie,te);ie=ne}}else{for(re=0;re=65536?re+=2:re++){ne=codePointAt(i,re);if(ne===se){oe=true;if(Ae){ae=ae||re-ce-1>v&&i[ce+1]!==" ";ce=re}}else if(!isPrintable(ne)){return Le}le=le&&isPlainSafe(ne,ie,te);ie=ne}ae=ae||Ae&&(re-ce-1>v&&i[ce+1]!==" ")}if(!oe&&!ae){if(le&&!ee&&!V(i)){return De}return K===Ne?Le:xe}if(p>9&&needIndentIndicator(i)){return Le}if(!ee){return ae?Pe:Fe}return K===Ne?Le:xe}function writeScalar(i,d,p,v,K){i.dump=function(){if(d.length===0){return i.quotingType===Ne?'""':"''"}if(!i.noCompatMode){if(ve.indexOf(d)!==-1||ke.test(d)){return i.quotingType===Ne?'"'+d+'"':"'"+d+"'"}}var ee=i.indent*Math.max(1,p);var te=i.lineWidth===-1?-1:Math.max(Math.min(i.lineWidth,40),i.lineWidth-ee);var re=v||i.flowLevel>-1&&p>=i.flowLevel;function testAmbiguity(d){return testImplicitResolving(i,d)}switch(chooseScalarStyle(d,re,i.indent,te,testAmbiguity,i.quotingType,i.forceQuotes&&!v,K)){case De:return d;case xe:return"'"+d.replace(/'/g,"''")+"'";case Fe:return"|"+blockHeader(d,i.indent)+dropEndingNewline(indentString(d,ee));case Pe:return">"+blockHeader(d,i.indent)+dropEndingNewline(indentString(foldString(d,te),ee));case Le:return'"'+escapeString(d,te)+'"';default:throw new V("impossible error: invalid scalar style")}}()}function blockHeader(i,d){var p=needIndentIndicator(i)?String(d):"";var v=i[i.length-1]==="\n";var V=v&&(i[i.length-2]==="\n"||i==="\n");var K=V?"+":v?"":"-";return p+K+"\n"}function dropEndingNewline(i){return i[i.length-1]==="\n"?i.slice(0,-1):i}function foldString(i,d){var p=/(\n+)([^\n]*)/g;var v=function(){var v=i.indexOf("\n");v=v!==-1?v:i.length;p.lastIndex=v;return foldLine(i.slice(0,v),d)}();var V=i[0]==="\n"||i[0]===" ";var K;var ee;while(ee=p.exec(i)){var te=ee[1],re=ee[2];K=re[0]===" ";v+=te+(!V&&!K&&re!==""?"\n":"")+foldLine(re,d);V=K}return v}function foldLine(i,d){if(i===""||i[0]===" ")return i;var p=/ [^ ]/g;var v;var V=0,K,ee=0,te=0;var re="";while(v=p.exec(i)){te=v.index;if(te-V>d){K=ee>V?ee:te;re+="\n"+i.slice(V,K);V=K+1}ee=te}re+="\n";if(i.length-V>d&&ee>V){re+=i.slice(V,ee)+"\n"+i.slice(ee+1)}else{re+=i.slice(V)}return re.slice(1)}function escapeString(i){var d="";var p=0;var v;for(var V=0;V=65536?V+=2:V++){p=codePointAt(i,V);v=Re[p];if(!v&&isPrintable(p)){d+=i[V];if(p>=65536)d+=i[V+1]}else{d+=v||encodeHex(p)}}return d}function writeFlowSequence(i,d,p){var v="",V=i.tag,K,ee,te;for(K=0,ee=p.length;K1024)se+="? ";se+=i.dump+(i.condenseFlow?'"':"")+":"+(i.condenseFlow?"":" ");if(!writeNode(i,d,ne,false,false)){continue}se+=i.dump;v+=se}i.tag=V;i.dump="{"+v+"}"}function writeBlockMapping(i,d,p,v){var K="",ee=i.tag,te=Object.keys(p),re,ne,ie,oe,ae,Ae;if(i.sortKeys===true){te.sort()}else if(typeof i.sortKeys==="function"){te.sort(i.sortKeys)}else if(i.sortKeys){throw new V("sortKeys must be a boolean or a function")}for(re=0,ne=te.length;re1024;if(ae){if(i.dump&&se===i.dump.charCodeAt(0)){Ae+="?"}else{Ae+="? "}}Ae+=i.dump;if(ae){Ae+=generateNextLine(i,d)}if(!writeNode(i,d+1,oe,true,ae)){continue}if(i.dump&&se===i.dump.charCodeAt(0)){Ae+=":"}else{Ae+=": "}Ae+=i.dump;K+=Ae}i.tag=ee;i.dump=K||"{}"}function detectType(i,d,p){var v,K,re,ne,se,ie;K=p?i.explicitTypes:i.implicitTypes;for(re=0,ne=K.length;re tag resolver accepts not "'+ie+'" style')}i.dump=v}return true}}return false}function writeNode(i,d,p,v,K,te,re){i.tag=null;i.dump=p;if(!detectType(i,p,false)){detectType(i,p,true)}var ne=ee.call(i.dump);var se=v;var ie;if(v){v=i.flowLevel<0||i.flowLevel>d}var oe=ne==="[object Object]"||ne==="[object Array]",ae,Ae;if(oe){ae=i.duplicates.indexOf(p);Ae=ae!==-1}if(i.tag!==null&&i.tag!=="?"||Ae||i.indent!==2&&d>0){K=false}if(Ae&&i.usedDuplicates[ae]){i.dump="*ref_"+ae}else{if(oe&&Ae&&!i.usedDuplicates[ae]){i.usedDuplicates[ae]=true}if(ne==="[object Object]"){if(v&&Object.keys(i.dump).length!==0){writeBlockMapping(i,d,i.dump,K);if(Ae){i.dump="&ref_"+ae+i.dump}}else{writeFlowMapping(i,d,i.dump);if(Ae){i.dump="&ref_"+ae+" "+i.dump}}}else if(ne==="[object Array]"){if(v&&i.dump.length!==0){if(i.noArrayIndent&&!re&&d>0){writeBlockSequence(i,d-1,i.dump,K)}else{writeBlockSequence(i,d,i.dump,K)}if(Ae){i.dump="&ref_"+ae+i.dump}}else{writeFlowSequence(i,d,i.dump);if(Ae){i.dump="&ref_"+ae+" "+i.dump}}}else if(ne==="[object String]"){if(i.tag!=="?"){writeScalar(i,i.dump,d,te,se)}}else if(ne==="[object Undefined]"){return false}else{if(i.skipInvalid)return false;throw new V("unacceptable kind of an object to dump "+ne)}if(i.tag!==null&&i.tag!=="?"){ie=encodeURI(i.tag[0]==="!"?i.tag.slice(1):i.tag).replace(/!/g,"%21");if(i.tag[0]==="!"){ie="!"+ie}else if(ie.slice(0,18)==="tag:yaml.org,2002:"){ie="!!"+ie.slice(18)}else{ie="!<"+ie+">"}i.dump=ie+" "+i.dump}}return true}function getDuplicateReferences(i,d){var p=[],v=[],V,K;inspectNode(i,p,v);for(V=0,K=v.length;V{function formatError(i,d){var p="",v=i.reason||"(unknown reason)";if(!i.mark)return v;if(i.mark.name){p+='in "'+i.mark.name+'" '}p+="("+(i.mark.line+1)+":"+(i.mark.column+1)+")";if(!d&&i.mark.snippet){p+="\n\n"+i.mark.snippet}return v+" "+p}function YAMLException(i,d){Error.call(this);this.name="YAMLException";this.reason=i;this.mark=d;this.message=formatError(this,false);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor)}else{this.stack=(new Error).stack||""}}YAMLException.prototype=Object.create(Error.prototype);YAMLException.prototype.constructor=YAMLException;YAMLException.prototype.toString=function toString(i){return this.name+": "+formatError(this,i)};i.exports=YAMLException},91950:(i,d,p)=>{var v=p(19816);var V=p(41248);var K=p(9440);var ee=p(97336);var te=Object.prototype.hasOwnProperty;var re=1;var ne=2;var se=3;var ie=4;var oe=1;var ae=2;var Ae=3;var ce=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/;var le=/[\x85\u2028\u2029]/;var ue=/[,\[\]\{\}]/;var de=/^(?:!|!!|![a-z\-]+!)$/i;var he=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function _class(i){return Object.prototype.toString.call(i)}function is_EOL(i){return i===10||i===13}function is_WHITE_SPACE(i){return i===9||i===32}function is_WS_OR_EOL(i){return i===9||i===32||i===10||i===13}function is_FLOW_INDICATOR(i){return i===44||i===91||i===93||i===123||i===125}function fromHexCode(i){var d;if(48<=i&&i<=57){return i-48}d=i|32;if(97<=d&&d<=102){return d-97+10}return-1}function escapedHexLen(i){if(i===120){return 2}if(i===117){return 4}if(i===85){return 8}return 0}function fromDecimalCode(i){if(48<=i&&i<=57){return i-48}return-1}function simpleEscapeSequence(i){return i===48?"\0":i===97?"":i===98?"\b":i===116?"\t":i===9?"\t":i===110?"\n":i===118?"\v":i===102?"\f":i===114?"\r":i===101?"":i===32?" ":i===34?'"':i===47?"/":i===92?"\\":i===78?"…":i===95?" ":i===76?"\u2028":i===80?"\u2029":""}function charFromCodepoint(i){if(i<=65535){return String.fromCharCode(i)}return String.fromCharCode((i-65536>>10)+55296,(i-65536&1023)+56320)}function setProperty(i,d,p){if(d==="__proto__"){Object.defineProperty(i,d,{configurable:true,enumerable:true,writable:true,value:p})}else{i[d]=p}}var fe=new Array(256);var ge=new Array(256);for(var pe=0;pe<256;pe++){fe[pe]=simpleEscapeSequence(pe)?1:0;ge[pe]=simpleEscapeSequence(pe)}function State(i,d){this.input=i;this.filename=d["filename"]||null;this.schema=d["schema"]||ee;this.onWarning=d["onWarning"]||null;this.legacy=d["legacy"]||false;this.json=d["json"]||false;this.listener=d["listener"]||null;this.implicitTypes=this.schema.compiledImplicit;this.typeMap=this.schema.compiledTypeMap;this.length=i.length;this.position=0;this.line=0;this.lineStart=0;this.lineIndent=0;this.firstTabInLine=-1;this.documents=[]}function generateError(i,d){var p={name:i.filename,buffer:i.input.slice(0,-1),position:i.position,line:i.line,column:i.position-i.lineStart};p.snippet=K(p);return new V(d,p)}function throwError(i,d){throw generateError(i,d)}function throwWarning(i,d){if(i.onWarning){i.onWarning.call(null,generateError(i,d))}}var me={YAML:function handleYamlDirective(i,d,p){var v,V,K;if(i.version!==null){throwError(i,"duplication of %YAML directive")}if(p.length!==1){throwError(i,"YAML directive accepts exactly one argument")}v=/^([0-9]+)\.([0-9]+)$/.exec(p[0]);if(v===null){throwError(i,"ill-formed argument of the YAML directive")}V=parseInt(v[1],10);K=parseInt(v[2],10);if(V!==1){throwError(i,"unacceptable YAML version of the document")}i.version=p[0];i.checkLineBreaks=K<2;if(K!==1&&K!==2){throwWarning(i,"unsupported YAML version of the document")}},TAG:function handleTagDirective(i,d,p){var v,V;if(p.length!==2){throwError(i,"TAG directive accepts exactly two arguments")}v=p[0];V=p[1];if(!de.test(v)){throwError(i,"ill-formed tag handle (first argument) of the TAG directive")}if(te.call(i.tagMap,v)){throwError(i,'there is a previously declared suffix for "'+v+'" tag handle')}if(!he.test(V)){throwError(i,"ill-formed tag prefix (second argument) of the TAG directive")}try{V=decodeURIComponent(V)}catch(d){throwError(i,"tag prefix is malformed: "+V)}i.tagMap[v]=V}};function captureSegment(i,d,p,v){var V,K,ee,te;if(d1){i.result+=v.repeat("\n",d-1)}}function readPlainScalar(i,d,p){var v,V,K,ee,te,re,ne,se,ie=i.kind,oe=i.result,ae;ae=i.input.charCodeAt(i.position);if(is_WS_OR_EOL(ae)||is_FLOW_INDICATOR(ae)||ae===35||ae===38||ae===42||ae===33||ae===124||ae===62||ae===39||ae===34||ae===37||ae===64||ae===96){return false}if(ae===63||ae===45){V=i.input.charCodeAt(i.position+1);if(is_WS_OR_EOL(V)||p&&is_FLOW_INDICATOR(V)){return false}}i.kind="scalar";i.result="";K=ee=i.position;te=false;while(ae!==0){if(ae===58){V=i.input.charCodeAt(i.position+1);if(is_WS_OR_EOL(V)||p&&is_FLOW_INDICATOR(V)){break}}else if(ae===35){v=i.input.charCodeAt(i.position-1);if(is_WS_OR_EOL(v)){break}}else if(i.position===i.lineStart&&testDocumentSeparator(i)||p&&is_FLOW_INDICATOR(ae)){break}else if(is_EOL(ae)){re=i.line;ne=i.lineStart;se=i.lineIndent;skipSeparationSpace(i,false,-1);if(i.lineIndent>=d){te=true;ae=i.input.charCodeAt(i.position);continue}else{i.position=ee;i.line=re;i.lineStart=ne;i.lineIndent=se;break}}if(te){captureSegment(i,K,ee,false);writeFoldedLines(i,i.line-re);K=ee=i.position;te=false}if(!is_WHITE_SPACE(ae)){ee=i.position+1}ae=i.input.charCodeAt(++i.position)}captureSegment(i,K,ee,false);if(i.result){return true}i.kind=ie;i.result=oe;return false}function readSingleQuotedScalar(i,d){var p,v,V;p=i.input.charCodeAt(i.position);if(p!==39){return false}i.kind="scalar";i.result="";i.position++;v=V=i.position;while((p=i.input.charCodeAt(i.position))!==0){if(p===39){captureSegment(i,v,i.position,true);p=i.input.charCodeAt(++i.position);if(p===39){v=i.position;i.position++;V=i.position}else{return true}}else if(is_EOL(p)){captureSegment(i,v,V,true);writeFoldedLines(i,skipSeparationSpace(i,false,d));v=V=i.position}else if(i.position===i.lineStart&&testDocumentSeparator(i)){throwError(i,"unexpected end of the document within a single quoted scalar")}else{i.position++;V=i.position}}throwError(i,"unexpected end of the stream within a single quoted scalar")}function readDoubleQuotedScalar(i,d){var p,v,V,K,ee,te;te=i.input.charCodeAt(i.position);if(te!==34){return false}i.kind="scalar";i.result="";i.position++;p=v=i.position;while((te=i.input.charCodeAt(i.position))!==0){if(te===34){captureSegment(i,p,i.position,true);i.position++;return true}else if(te===92){captureSegment(i,p,i.position,true);te=i.input.charCodeAt(++i.position);if(is_EOL(te)){skipSeparationSpace(i,false,d)}else if(te<256&&fe[te]){i.result+=ge[te];i.position++}else if((ee=escapedHexLen(te))>0){V=ee;K=0;for(;V>0;V--){te=i.input.charCodeAt(++i.position);if((ee=fromHexCode(te))>=0){K=(K<<4)+ee}else{throwError(i,"expected hexadecimal character")}}i.result+=charFromCodepoint(K);i.position++}else{throwError(i,"unknown escape sequence")}p=v=i.position}else if(is_EOL(te)){captureSegment(i,p,v,true);writeFoldedLines(i,skipSeparationSpace(i,false,d));p=v=i.position}else if(i.position===i.lineStart&&testDocumentSeparator(i)){throwError(i,"unexpected end of the document within a double quoted scalar")}else{i.position++;v=i.position}}throwError(i,"unexpected end of the stream within a double quoted scalar")}function readFlowCollection(i,d){var p=true,v,V,K,ee=i.tag,te,ne=i.anchor,se,ie,oe,ae,Ae,ce=Object.create(null),le,ue,de,he;he=i.input.charCodeAt(i.position);if(he===91){ie=93;Ae=false;te=[]}else if(he===123){ie=125;Ae=true;te={}}else{return false}if(i.anchor!==null){i.anchorMap[i.anchor]=te}he=i.input.charCodeAt(++i.position);while(he!==0){skipSeparationSpace(i,true,d);he=i.input.charCodeAt(i.position);if(he===ie){i.position++;i.tag=ee;i.anchor=ne;i.kind=Ae?"mapping":"sequence";i.result=te;return true}else if(!p){throwError(i,"missed comma between flow collection entries")}else if(he===44){throwError(i,"expected the node content, but found ','")}ue=le=de=null;oe=ae=false;if(he===63){se=i.input.charCodeAt(i.position+1);if(is_WS_OR_EOL(se)){oe=ae=true;i.position++;skipSeparationSpace(i,true,d)}}v=i.line;V=i.lineStart;K=i.position;composeNode(i,d,re,false,true);ue=i.tag;le=i.result;skipSeparationSpace(i,true,d);he=i.input.charCodeAt(i.position);if((ae||i.line===v)&&he===58){oe=true;he=i.input.charCodeAt(++i.position);skipSeparationSpace(i,true,d);composeNode(i,d,re,false,true);de=i.result}if(Ae){storeMappingPair(i,te,ce,ue,le,de,v,V,K)}else if(oe){te.push(storeMappingPair(i,null,ce,ue,le,de,v,V,K))}else{te.push(le)}skipSeparationSpace(i,true,d);he=i.input.charCodeAt(i.position);if(he===44){p=true;he=i.input.charCodeAt(++i.position)}else{p=false}}throwError(i,"unexpected end of the stream within a flow collection")}function readBlockScalar(i,d){var p,V,K=oe,ee=false,te=false,re=d,ne=0,se=false,ie,ce;ce=i.input.charCodeAt(i.position);if(ce===124){V=false}else if(ce===62){V=true}else{return false}i.kind="scalar";i.result="";while(ce!==0){ce=i.input.charCodeAt(++i.position);if(ce===43||ce===45){if(oe===K){K=ce===43?Ae:ae}else{throwError(i,"repeat of a chomping mode identifier")}}else if((ie=fromDecimalCode(ce))>=0){if(ie===0){throwError(i,"bad explicit indentation width of a block scalar; it cannot be less than one")}else if(!te){re=d+ie-1;te=true}else{throwError(i,"repeat of an indentation width identifier")}}else{break}}if(is_WHITE_SPACE(ce)){do{ce=i.input.charCodeAt(++i.position)}while(is_WHITE_SPACE(ce));if(ce===35){do{ce=i.input.charCodeAt(++i.position)}while(!is_EOL(ce)&&ce!==0)}}while(ce!==0){readLineBreak(i);i.lineIndent=0;ce=i.input.charCodeAt(i.position);while((!te||i.lineIndentre){re=i.lineIndent}if(is_EOL(ce)){ne++;continue}if(i.lineIndentd)&&re!==0){throwError(i,"bad indentation of a sequence entry")}else if(i.lineIndentd){if(de){ee=i.line;te=i.lineStart;re=i.position}if(composeNode(i,d,ie,true,V)){if(de){le=i.result}else{ue=i.result}}if(!de){storeMappingPair(i,ae,Ae,ce,le,ue,ee,te,re);ce=le=ue=null}skipSeparationSpace(i,true,-1);fe=i.input.charCodeAt(i.position)}if((i.line===K||i.lineIndent>d)&&fe!==0){throwError(i,"bad indentation of a mapping entry")}else if(i.lineIndentd){ae=1}else if(i.lineIndent===d){ae=0}else if(i.lineIndentd){ae=1}else if(i.lineIndent===d){ae=0}else if(i.lineIndent tag; it should be "scalar", not "'+i.kind+'"')}for(le=0,ue=i.implicitTypes.length;le")}if(i.result!==null&&he.kind!==i.kind){throwError(i,"unacceptable node kind for !<"+i.tag+'> tag; it should be "'+he.kind+'", not "'+i.kind+'"')}if(!he.resolve(i.result,i.tag)){throwError(i,"cannot resolve a node with !<"+i.tag+"> explicit tag")}else{i.result=he.construct(i.result,i.tag);if(i.anchor!==null){i.anchorMap[i.anchor]=i.result}}}if(i.listener!==null){i.listener("close",i)}return i.tag!==null||i.anchor!==null||ce}function readDocument(i){var d=i.position,p,v,V,K=false,ee;i.version=null;i.checkLineBreaks=i.legacy;i.tagMap=Object.create(null);i.anchorMap=Object.create(null);while((ee=i.input.charCodeAt(i.position))!==0){skipSeparationSpace(i,true,-1);ee=i.input.charCodeAt(i.position);if(i.lineIndent>0||ee!==37){break}K=true;ee=i.input.charCodeAt(++i.position);p=i.position;while(ee!==0&&!is_WS_OR_EOL(ee)){ee=i.input.charCodeAt(++i.position)}v=i.input.slice(p,i.position);V=[];if(v.length<1){throwError(i,"directive name must not be less than one character in length")}while(ee!==0){while(is_WHITE_SPACE(ee)){ee=i.input.charCodeAt(++i.position)}if(ee===35){do{ee=i.input.charCodeAt(++i.position)}while(ee!==0&&!is_EOL(ee));break}if(is_EOL(ee))break;p=i.position;while(ee!==0&&!is_WS_OR_EOL(ee)){ee=i.input.charCodeAt(++i.position)}V.push(i.input.slice(p,i.position))}if(ee!==0)readLineBreak(i);if(te.call(me,v)){me[v](i,v,V)}else{throwWarning(i,'unknown document directive "'+v+'"')}}skipSeparationSpace(i,true,-1);if(i.lineIndent===0&&i.input.charCodeAt(i.position)===45&&i.input.charCodeAt(i.position+1)===45&&i.input.charCodeAt(i.position+2)===45){i.position+=3;skipSeparationSpace(i,true,-1)}else if(K){throwError(i,"directives end mark is expected")}composeNode(i,i.lineIndent-1,ie,false,true);skipSeparationSpace(i,true,-1);if(i.checkLineBreaks&&le.test(i.input.slice(d,i.position))){throwWarning(i,"non-ASCII line breaks are interpreted as content")}i.documents.push(i.result);if(i.position===i.lineStart&&testDocumentSeparator(i)){if(i.input.charCodeAt(i.position)===46){i.position+=3;skipSeparationSpace(i,true,-1)}return}if(i.position{var v=p(41248);var V=p(9557);function compileList(i,d){var p=[];i[d].forEach((function(i){var d=p.length;p.forEach((function(p,v){if(p.tag===i.tag&&p.kind===i.kind&&p.multi===i.multi){d=v}}));p[d]=i}));return p}function compileMap(){var i={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},d,p;function collectType(d){if(d.multi){i.multi[d.kind].push(d);i.multi["fallback"].push(d)}else{i[d.kind][d.tag]=i["fallback"][d.tag]=d}}for(d=0,p=arguments.length;d{i.exports=p(58927)},97336:(i,d,p)=>{i.exports=p(55746).extend({implicit:[p(28966),p(76854)],explicit:[p(8149),p(58649),p(16267),p(78758)]})},69832:(i,d,p)=>{var v=p(62046);i.exports=new v({explicit:[p(53929),p(77161),p(47316)]})},58927:(i,d,p)=>{i.exports=p(69832).extend({implicit:[p(4333),p(67296),p(62271),p(57584)]})},9440:(i,d,p)=>{var v=p(19816);function getLine(i,d,p,v,V){var K="";var ee="";var te=Math.floor(V/2)-1;if(v-d>te){K=" ... ";d=v-te+K.length}if(p-v>te){ee=" ...";p=v+te-ee.length}return{str:K+i.slice(d,p).replace(/\t/g,"→")+ee,pos:v-d+K.length}}function padStart(i,d){return v.repeat(" ",d-i.length)+i}function makeSnippet(i,d){d=Object.create(d||null);if(!i.buffer)return null;if(!d.maxLength)d.maxLength=79;if(typeof d.indent!=="number")d.indent=1;if(typeof d.linesBefore!=="number")d.linesBefore=3;if(typeof d.linesAfter!=="number")d.linesAfter=2;var p=/\r?\n|\r|\0/g;var V=[0];var K=[];var ee;var te=-1;while(ee=p.exec(i.buffer)){K.push(ee.index);V.push(ee.index+ee[0].length);if(i.position<=ee.index&&te<0){te=V.length-2}}if(te<0)te=V.length-1;var re="",ne,se;var ie=Math.min(i.line+d.linesAfter,K.length).toString().length;var oe=d.maxLength-(d.indent+ie+3);for(ne=1;ne<=d.linesBefore;ne++){if(te-ne<0)break;se=getLine(i.buffer,V[te-ne],K[te-ne],i.position-(V[te]-V[te-ne]),oe);re=v.repeat(" ",d.indent)+padStart((i.line-ne+1).toString(),ie)+" | "+se.str+"\n"+re}se=getLine(i.buffer,V[te],K[te],i.position,oe);re+=v.repeat(" ",d.indent)+padStart((i.line+1).toString(),ie)+" | "+se.str+"\n";re+=v.repeat("-",d.indent+ie+3+se.pos)+"^"+"\n";for(ne=1;ne<=d.linesAfter;ne++){if(te+ne>=K.length)break;se=getLine(i.buffer,V[te+ne],K[te+ne],i.position-(V[te]-V[te+ne]),oe);re+=v.repeat(" ",d.indent)+padStart((i.line+ne+1).toString(),ie)+" | "+se.str+"\n"}return re.replace(/\n$/,"")}i.exports=makeSnippet},9557:(i,d,p)=>{var v=p(41248);var V=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"];var K=["scalar","sequence","mapping"];function compileStyleAliases(i){var d={};if(i!==null){Object.keys(i).forEach((function(p){i[p].forEach((function(i){d[String(i)]=p}))}))}return d}function Type(i,d){d=d||{};Object.keys(d).forEach((function(d){if(V.indexOf(d)===-1){throw new v('Unknown option "'+d+'" is met in definition of "'+i+'" YAML type.')}}));this.options=d;this.tag=i;this.kind=d["kind"]||null;this.resolve=d["resolve"]||function(){return true};this.construct=d["construct"]||function(i){return i};this.instanceOf=d["instanceOf"]||null;this.predicate=d["predicate"]||null;this.represent=d["represent"]||null;this.representName=d["representName"]||null;this.defaultStyle=d["defaultStyle"]||null;this.multi=d["multi"]||false;this.styleAliases=compileStyleAliases(d["styleAliases"]||null);if(K.indexOf(this.kind)===-1){throw new v('Unknown kind "'+this.kind+'" is specified for "'+i+'" YAML type.')}}i.exports=Type},8149:(i,d,p)=>{var v=p(9557);var V="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function resolveYamlBinary(i){if(i===null)return false;var d,p,v=0,K=i.length,ee=V;for(p=0;p64)continue;if(d<0)return false;v+=6}return v%8===0}function constructYamlBinary(i){var d,p,v=i.replace(/[\r\n=]/g,""),K=v.length,ee=V,te=0,re=[];for(d=0;d>16&255);re.push(te>>8&255);re.push(te&255)}te=te<<6|ee.indexOf(v.charAt(d))}p=K%4*6;if(p===0){re.push(te>>16&255);re.push(te>>8&255);re.push(te&255)}else if(p===18){re.push(te>>10&255);re.push(te>>2&255)}else if(p===12){re.push(te>>4&255)}return new Uint8Array(re)}function representYamlBinary(i){var d="",p=0,v,K,ee=i.length,te=V;for(v=0;v>18&63];d+=te[p>>12&63];d+=te[p>>6&63];d+=te[p&63]}p=(p<<8)+i[v]}K=ee%3;if(K===0){d+=te[p>>18&63];d+=te[p>>12&63];d+=te[p>>6&63];d+=te[p&63]}else if(K===2){d+=te[p>>10&63];d+=te[p>>4&63];d+=te[p<<2&63];d+=te[64]}else if(K===1){d+=te[p>>2&63];d+=te[p<<4&63];d+=te[64];d+=te[64]}return d}function isBinary(i){return Object.prototype.toString.call(i)==="[object Uint8Array]"}i.exports=new v("tag:yaml.org,2002:binary",{kind:"scalar",resolve:resolveYamlBinary,construct:constructYamlBinary,predicate:isBinary,represent:representYamlBinary})},67296:(i,d,p)=>{var v=p(9557);function resolveYamlBoolean(i){if(i===null)return false;var d=i.length;return d===4&&(i==="true"||i==="True"||i==="TRUE")||d===5&&(i==="false"||i==="False"||i==="FALSE")}function constructYamlBoolean(i){return i==="true"||i==="True"||i==="TRUE"}function isBoolean(i){return Object.prototype.toString.call(i)==="[object Boolean]"}i.exports=new v("tag:yaml.org,2002:bool",{kind:"scalar",resolve:resolveYamlBoolean,construct:constructYamlBoolean,predicate:isBoolean,represent:{lowercase:function(i){return i?"true":"false"},uppercase:function(i){return i?"TRUE":"FALSE"},camelcase:function(i){return i?"True":"False"}},defaultStyle:"lowercase"})},57584:(i,d,p)=>{var v=p(19816);var V=p(9557);var K=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?"+"|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?"+"|[-+]?\\.(?:inf|Inf|INF)"+"|\\.(?:nan|NaN|NAN))$");function resolveYamlFloat(i){if(i===null)return false;if(!K.test(i)||i[i.length-1]==="_"){return false}return true}function constructYamlFloat(i){var d,p;d=i.replace(/_/g,"").toLowerCase();p=d[0]==="-"?-1:1;if("+-".indexOf(d[0])>=0){d=d.slice(1)}if(d===".inf"){return p===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY}else if(d===".nan"){return NaN}return p*parseFloat(d,10)}var ee=/^[-+]?[0-9]+e/;function representYamlFloat(i,d){var p;if(isNaN(i)){switch(d){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}}else if(Number.POSITIVE_INFINITY===i){switch(d){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}}else if(Number.NEGATIVE_INFINITY===i){switch(d){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}}else if(v.isNegativeZero(i)){return"-0.0"}p=i.toString(10);return ee.test(p)?p.replace("e",".e"):p}function isFloat(i){return Object.prototype.toString.call(i)==="[object Number]"&&(i%1!==0||v.isNegativeZero(i))}i.exports=new V("tag:yaml.org,2002:float",{kind:"scalar",resolve:resolveYamlFloat,construct:constructYamlFloat,predicate:isFloat,represent:representYamlFloat,defaultStyle:"lowercase"})},62271:(i,d,p)=>{var v=p(19816);var V=p(9557);function isHexCode(i){return 48<=i&&i<=57||65<=i&&i<=70||97<=i&&i<=102}function isOctCode(i){return 48<=i&&i<=55}function isDecCode(i){return 48<=i&&i<=57}function resolveYamlInteger(i){if(i===null)return false;var d=i.length,p=0,v=false,V;if(!d)return false;V=i[p];if(V==="-"||V==="+"){V=i[++p]}if(V==="0"){if(p+1===d)return true;V=i[++p];if(V==="b"){p++;for(;p=0?"0b"+i.toString(2):"-0b"+i.toString(2).slice(1)},octal:function(i){return i>=0?"0o"+i.toString(8):"-0o"+i.toString(8).slice(1)},decimal:function(i){return i.toString(10)},hexadecimal:function(i){return i>=0?"0x"+i.toString(16).toUpperCase():"-0x"+i.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}})},47316:(i,d,p)=>{var v=p(9557);i.exports=new v("tag:yaml.org,2002:map",{kind:"mapping",construct:function(i){return i!==null?i:{}}})},76854:(i,d,p)=>{var v=p(9557);function resolveYamlMerge(i){return i==="<<"||i===null}i.exports=new v("tag:yaml.org,2002:merge",{kind:"scalar",resolve:resolveYamlMerge})},4333:(i,d,p)=>{var v=p(9557);function resolveYamlNull(i){if(i===null)return true;var d=i.length;return d===1&&i==="~"||d===4&&(i==="null"||i==="Null"||i==="NULL")}function constructYamlNull(){return null}function isNull(i){return i===null}i.exports=new v("tag:yaml.org,2002:null",{kind:"scalar",resolve:resolveYamlNull,construct:constructYamlNull,predicate:isNull,represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"})},58649:(i,d,p)=>{var v=p(9557);var V=Object.prototype.hasOwnProperty;var K=Object.prototype.toString;function resolveYamlOmap(i){if(i===null)return true;var d=[],p,v,ee,te,re,ne=i;for(p=0,v=ne.length;p{var v=p(9557);var V=Object.prototype.toString;function resolveYamlPairs(i){if(i===null)return true;var d,p,v,K,ee,te=i;ee=new Array(te.length);for(d=0,p=te.length;d{var v=p(9557);i.exports=new v("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(i){return i!==null?i:[]}})},78758:(i,d,p)=>{var v=p(9557);var V=Object.prototype.hasOwnProperty;function resolveYamlSet(i){if(i===null)return true;var d,p=i;for(d in p){if(V.call(p,d)){if(p[d]!==null)return false}}return true}function constructYamlSet(i){return i!==null?i:{}}i.exports=new v("tag:yaml.org,2002:set",{kind:"mapping",resolve:resolveYamlSet,construct:constructYamlSet})},53929:(i,d,p)=>{var v=p(9557);i.exports=new v("tag:yaml.org,2002:str",{kind:"scalar",construct:function(i){return i!==null?i:""}})},28966:(i,d,p)=>{var v=p(9557);var V=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9])"+"-([0-9][0-9])$");var K=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9]?)"+"-([0-9][0-9]?)"+"(?:[Tt]|[ \\t]+)"+"([0-9][0-9]?)"+":([0-9][0-9])"+":([0-9][0-9])"+"(?:\\.([0-9]*))?"+"(?:[ \\t]*(Z|([-+])([0-9][0-9]?)"+"(?::([0-9][0-9]))?))?$");function resolveYamlTimestamp(i){if(i===null)return false;if(V.exec(i)!==null)return true;if(K.exec(i)!==null)return true;return false}function constructYamlTimestamp(i){var d,p,v,ee,te,re,ne,se=0,ie=null,oe,ae,Ae;d=V.exec(i);if(d===null)d=K.exec(i);if(d===null)throw new Error("Date resolve error");p=+d[1];v=+d[2]-1;ee=+d[3];if(!d[4]){return new Date(Date.UTC(p,v,ee))}te=+d[4];re=+d[5];ne=+d[6];if(d[7]){se=d[7].slice(0,3);while(se.length<3){se+="0"}se=+se}if(d[9]){oe=+d[10];ae=+(d[11]||0);ie=(oe*60+ae)*6e4;if(d[9]==="-")ie=-ie}Ae=new Date(Date.UTC(p,v,ee,te,re,ne,se));if(ie)Ae.setTime(Ae.getTime()-ie);return Ae}function representYamlTimestamp(i){return i.toISOString()}i.exports=new v("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:resolveYamlTimestamp,construct:constructYamlTimestamp,instanceOf:Date,represent:representYamlTimestamp})},79699:i=>{function e(i){this.message=i}e.prototype=new Error,e.prototype.name="InvalidCharacterError";var d="undefined"!=typeof window&&window.atob&&window.atob.bind(window)||function(i){var d=String(i).replace(/=+$/,"");if(d.length%4==1)throw new e("'atob' failed: The string to be decoded is not correctly encoded.");for(var p,v,V=0,K=0,ee="";v=d.charAt(K++);~v&&(p=V%4?64*p+v:v,V++%4)?ee+=String.fromCharCode(255&p>>(-2*V&6)):0)v="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(v);return ee};function t(i){var p=i.replace(/-/g,"+").replace(/_/g,"/");switch(p.length%4){case 0:break;case 2:p+="==";break;case 3:p+="=";break;default:throw"Illegal base64url string!"}try{return function(i){return decodeURIComponent(d(i).replace(/(.)/g,(function(i,d){var p=d.charCodeAt(0).toString(16).toUpperCase();return p.length<2&&(p="0"+p),"%"+p})))}(p)}catch(i){return d(p)}}function n(i){this.message=i}function o(i,d){if("string"!=typeof i)throw new n("Invalid token specified");var p=!0===(d=d||{}).header?0:1;try{return JSON.parse(t(i.split(".")[p]))}catch(i){throw new n("Invalid token specified: "+i.message)}}n.prototype=new Error,n.prototype.name="InvalidTokenError";const p=o;p.default=o,p.InvalidTokenError=n,i.exports=p},32126:(i,d,p)=>{var v=p(39023);var V=p(1835);i.exports={Readable:Readable,Writable:Writable};v.inherits(Readable,V);v.inherits(Writable,V);function beforeFirstCall(i,d,p){i[d]=function(){delete i[d];p.apply(this,arguments);return this[d].apply(this,arguments)}}function Readable(i,d){if(!(this instanceof Readable))return new Readable(i,d);V.call(this,d);beforeFirstCall(this,"_read",(function(){var p=i.call(this,d);var v=this.emit.bind(this,"error");p.on("error",v);p.pipe(this)}));this.emit("readable")}function Writable(i,d){if(!(this instanceof Writable))return new Writable(i,d);V.call(this,d);beforeFirstCall(this,"_write",(function(){var p=i.call(this,d);var v=this.emit.bind(this,"error");p.on("error",v);this.pipe(p)}));this.emit("writable")}},34793:(i,d,p)=>{var v=p(19183);var V=Object.keys||function(i){var d=[];for(var p in i){d.push(p)}return d};i.exports=Duplex;var K=Object.create(p(45481));K.inherits=p(39598);var ee=p(74559);var te=p(54579);K.inherits(Duplex,ee);{var re=V(te.prototype);for(var ne=0;ne{i.exports=PassThrough;var v=p(69343);var V=Object.create(p(45481));V.inherits=p(39598);V.inherits(PassThrough,v);function PassThrough(i){if(!(this instanceof PassThrough))return new PassThrough(i);v.call(this,i)}PassThrough.prototype._transform=function(i,d,p){p(null,i)}},74559:(i,d,p)=>{var v=p(19183);i.exports=Readable;var V=p(82513);var K;Readable.ReadableState=ReadableState;var ee=p(24434).EventEmitter;var EElistenerCount=function(i,d){return i.listeners(d).length};var te=p(87137);var re=p(93058).Buffer;var ne=(typeof global!=="undefined"?global:typeof window!=="undefined"?window:typeof self!=="undefined"?self:{}).Uint8Array||function(){};function _uint8ArrayToBuffer(i){return re.from(i)}function _isUint8Array(i){return re.isBuffer(i)||i instanceof ne}var se=Object.create(p(45481));se.inherits=p(39598);var ie=p(39023);var oe=void 0;if(ie&&ie.debuglog){oe=ie.debuglog("stream")}else{oe=function(){}}var ae=p(46127);var Ae=p(91031);var ce;se.inherits(Readable,te);var le=["error","close","destroy","pause","resume"];function prependListener(i,d,p){if(typeof i.prependListener==="function")return i.prependListener(d,p);if(!i._events||!i._events[d])i.on(d,p);else if(V(i._events[d]))i._events[d].unshift(p);else i._events[d]=[p,i._events[d]]}function ReadableState(i,d){K=K||p(34793);i=i||{};var v=d instanceof K;this.objectMode=!!i.objectMode;if(v)this.objectMode=this.objectMode||!!i.readableObjectMode;var V=i.highWaterMark;var ee=i.readableHighWaterMark;var te=this.objectMode?16:16*1024;if(V||V===0)this.highWaterMark=V;else if(v&&(ee||ee===0))this.highWaterMark=ee;else this.highWaterMark=te;this.highWaterMark=Math.floor(this.highWaterMark);this.buffer=new ae;this.length=0;this.pipes=null;this.pipesCount=0;this.flowing=null;this.ended=false;this.endEmitted=false;this.reading=false;this.sync=true;this.needReadable=false;this.emittedReadable=false;this.readableListening=false;this.resumeScheduled=false;this.destroyed=false;this.defaultEncoding=i.defaultEncoding||"utf8";this.awaitDrain=0;this.readingMore=false;this.decoder=null;this.encoding=null;if(i.encoding){if(!ce)ce=p(80634).I;this.decoder=new ce(i.encoding);this.encoding=i.encoding}}function Readable(i){K=K||p(34793);if(!(this instanceof Readable))return new Readable(i);this._readableState=new ReadableState(i,this);this.readable=true;if(i){if(typeof i.read==="function")this._read=i.read;if(typeof i.destroy==="function")this._destroy=i.destroy}te.call(this)}Object.defineProperty(Readable.prototype,"destroyed",{get:function(){if(this._readableState===undefined){return false}return this._readableState.destroyed},set:function(i){if(!this._readableState){return}this._readableState.destroyed=i}});Readable.prototype.destroy=Ae.destroy;Readable.prototype._undestroy=Ae.undestroy;Readable.prototype._destroy=function(i,d){this.push(null);d(i)};Readable.prototype.push=function(i,d){var p=this._readableState;var v;if(!p.objectMode){if(typeof i==="string"){d=d||p.defaultEncoding;if(d!==p.encoding){i=re.from(i,d);d=""}v=true}}else{v=true}return readableAddChunk(this,i,d,false,v)};Readable.prototype.unshift=function(i){return readableAddChunk(this,i,null,true,false)};function readableAddChunk(i,d,p,v,V){var K=i._readableState;if(d===null){K.reading=false;onEofChunk(i,K)}else{var ee;if(!V)ee=chunkInvalid(K,d);if(ee){i.emit("error",ee)}else if(K.objectMode||d&&d.length>0){if(typeof d!=="string"&&!K.objectMode&&Object.getPrototypeOf(d)!==re.prototype){d=_uint8ArrayToBuffer(d)}if(v){if(K.endEmitted)i.emit("error",new Error("stream.unshift() after end event"));else addChunk(i,K,d,true)}else if(K.ended){i.emit("error",new Error("stream.push() after EOF"))}else{K.reading=false;if(K.decoder&&!p){d=K.decoder.write(d);if(K.objectMode||d.length!==0)addChunk(i,K,d,false);else maybeReadMore(i,K)}else{addChunk(i,K,d,false)}}}else if(!v){K.reading=false}}return needMoreData(K)}function addChunk(i,d,p,v){if(d.flowing&&d.length===0&&!d.sync){i.emit("data",p);i.read(0)}else{d.length+=d.objectMode?1:p.length;if(v)d.buffer.unshift(p);else d.buffer.push(p);if(d.needReadable)emitReadable(i)}maybeReadMore(i,d)}function chunkInvalid(i,d){var p;if(!_isUint8Array(d)&&typeof d!=="string"&&d!==undefined&&!i.objectMode){p=new TypeError("Invalid non-string/buffer chunk")}return p}function needMoreData(i){return!i.ended&&(i.needReadable||i.length=ue){i=ue}else{i--;i|=i>>>1;i|=i>>>2;i|=i>>>4;i|=i>>>8;i|=i>>>16;i++}return i}function howMuchToRead(i,d){if(i<=0||d.length===0&&d.ended)return 0;if(d.objectMode)return 1;if(i!==i){if(d.flowing&&d.length)return d.buffer.head.data.length;else return d.length}if(i>d.highWaterMark)d.highWaterMark=computeNewHighWaterMark(i);if(i<=d.length)return i;if(!d.ended){d.needReadable=true;return 0}return d.length}Readable.prototype.read=function(i){oe("read",i);i=parseInt(i,10);var d=this._readableState;var p=i;if(i!==0)d.emittedReadable=false;if(i===0&&d.needReadable&&(d.length>=d.highWaterMark||d.ended)){oe("read: emitReadable",d.length,d.ended);if(d.length===0&&d.ended)endReadable(this);else emitReadable(this);return null}i=howMuchToRead(i,d);if(i===0&&d.ended){if(d.length===0)endReadable(this);return null}var v=d.needReadable;oe("need readable",v);if(d.length===0||d.length-i0)V=fromList(i,d);else V=null;if(V===null){d.needReadable=true;i=0}else{d.length-=i}if(d.length===0){if(!d.ended)d.needReadable=true;if(p!==i&&d.ended)endReadable(this)}if(V!==null)this.emit("data",V);return V};function onEofChunk(i,d){if(d.ended)return;if(d.decoder){var p=d.decoder.end();if(p&&p.length){d.buffer.push(p);d.length+=d.objectMode?1:p.length}}d.ended=true;emitReadable(i)}function emitReadable(i){var d=i._readableState;d.needReadable=false;if(!d.emittedReadable){oe("emitReadable",d.flowing);d.emittedReadable=true;if(d.sync)v.nextTick(emitReadable_,i);else emitReadable_(i)}}function emitReadable_(i){oe("emit readable");i.emit("readable");flow(i)}function maybeReadMore(i,d){if(!d.readingMore){d.readingMore=true;v.nextTick(maybeReadMore_,i,d)}}function maybeReadMore_(i,d){var p=d.length;while(!d.reading&&!d.flowing&&!d.ended&&d.length1&&indexOf(V.pipes,i)!==-1)&&!re){oe("false write response, pause",V.awaitDrain);V.awaitDrain++;ne=true}p.pause()}}function onerror(d){oe("onerror",d);unpipe();i.removeListener("error",onerror);if(EElistenerCount(i,"error")===0)i.emit("error",d)}prependListener(i,"error",onerror);function onclose(){i.removeListener("finish",onfinish);unpipe()}i.once("close",onclose);function onfinish(){oe("onfinish");i.removeListener("close",onclose);unpipe()}i.once("finish",onfinish);function unpipe(){oe("unpipe");p.unpipe(i)}i.emit("pipe",p);if(!V.flowing){oe("pipe resume");p.resume()}return i};function pipeOnDrain(i){return function(){var d=i._readableState;oe("pipeOnDrain",d.awaitDrain);if(d.awaitDrain)d.awaitDrain--;if(d.awaitDrain===0&&EElistenerCount(i,"data")){d.flowing=true;flow(i)}}}Readable.prototype.unpipe=function(i){var d=this._readableState;var p={hasUnpiped:false};if(d.pipesCount===0)return this;if(d.pipesCount===1){if(i&&i!==d.pipes)return this;if(!i)i=d.pipes;d.pipes=null;d.pipesCount=0;d.flowing=false;if(i)i.emit("unpipe",this,p);return this}if(!i){var v=d.pipes;var V=d.pipesCount;d.pipes=null;d.pipesCount=0;d.flowing=false;for(var K=0;K=d.length){if(d.decoder)p=d.buffer.join("");else if(d.buffer.length===1)p=d.buffer.head.data;else p=d.buffer.concat(d.length);d.buffer.clear()}else{p=fromListPartial(i,d.buffer,d.decoder)}return p}function fromListPartial(i,d,p){var v;if(iK.length?K.length:i;if(ee===K.length)V+=K;else V+=K.slice(0,i);i-=ee;if(i===0){if(ee===K.length){++v;if(p.next)d.head=p.next;else d.head=d.tail=null}else{d.head=p;p.data=K.slice(ee)}break}++v}d.length-=v;return V}function copyFromBuffer(i,d){var p=re.allocUnsafe(i);var v=d.head;var V=1;v.data.copy(p);i-=v.data.length;while(v=v.next){var K=v.data;var ee=i>K.length?K.length:i;K.copy(p,p.length-i,0,ee);i-=ee;if(i===0){if(ee===K.length){++V;if(v.next)d.head=v.next;else d.head=d.tail=null}else{d.head=v;v.data=K.slice(ee)}break}++V}d.length-=V;return p}function endReadable(i){var d=i._readableState;if(d.length>0)throw new Error('"endReadable()" called on non-empty stream');if(!d.endEmitted){d.ended=true;v.nextTick(endReadableNT,d,i)}}function endReadableNT(i,d){if(!i.endEmitted&&i.length===0){i.endEmitted=true;d.readable=false;d.emit("end")}}function indexOf(i,d){for(var p=0,v=i.length;p{i.exports=Transform;var v=p(34793);var V=Object.create(p(45481));V.inherits=p(39598);V.inherits(Transform,v);function afterTransform(i,d){var p=this._transformState;p.transforming=false;var v=p.writecb;if(!v){return this.emit("error",new Error("write callback called multiple times"))}p.writechunk=null;p.writecb=null;if(d!=null)this.push(d);v(i);var V=this._readableState;V.reading=false;if(V.needReadable||V.length{var v=p(19183);i.exports=Writable;function WriteReq(i,d,p){this.chunk=i;this.encoding=d;this.callback=p;this.next=null}function CorkedRequest(i){var d=this;this.next=null;this.entry=null;this.finish=function(){onCorkedFinish(d,i)}}var V=!process.browser&&["v0.10","v0.9."].indexOf(process.version.slice(0,5))>-1?setImmediate:v.nextTick;var K;Writable.WritableState=WritableState;var ee=Object.create(p(45481));ee.inherits=p(39598);var te={deprecate:p(24488)};var re=p(87137);var ne=p(93058).Buffer;var se=(typeof global!=="undefined"?global:typeof window!=="undefined"?window:typeof self!=="undefined"?self:{}).Uint8Array||function(){};function _uint8ArrayToBuffer(i){return ne.from(i)}function _isUint8Array(i){return ne.isBuffer(i)||i instanceof se}var ie=p(91031);ee.inherits(Writable,re);function nop(){}function WritableState(i,d){K=K||p(34793);i=i||{};var v=d instanceof K;this.objectMode=!!i.objectMode;if(v)this.objectMode=this.objectMode||!!i.writableObjectMode;var V=i.highWaterMark;var ee=i.writableHighWaterMark;var te=this.objectMode?16:16*1024;if(V||V===0)this.highWaterMark=V;else if(v&&(ee||ee===0))this.highWaterMark=ee;else this.highWaterMark=te;this.highWaterMark=Math.floor(this.highWaterMark);this.finalCalled=false;this.needDrain=false;this.ending=false;this.ended=false;this.finished=false;this.destroyed=false;var re=i.decodeStrings===false;this.decodeStrings=!re;this.defaultEncoding=i.defaultEncoding||"utf8";this.length=0;this.writing=false;this.corked=0;this.sync=true;this.bufferProcessing=false;this.onwrite=function(i){onwrite(d,i)};this.writecb=null;this.writelen=0;this.bufferedRequest=null;this.lastBufferedRequest=null;this.pendingcb=0;this.prefinished=false;this.errorEmitted=false;this.bufferedRequestCount=0;this.corkedRequestsFree=new CorkedRequest(this)}WritableState.prototype.getBuffer=function getBuffer(){var i=this.bufferedRequest;var d=[];while(i){d.push(i);i=i.next}return d};(function(){try{Object.defineProperty(WritableState.prototype,"buffer",{get:te.deprecate((function(){return this.getBuffer()}),"_writableState.buffer is deprecated. Use _writableState.getBuffer "+"instead.","DEP0003")})}catch(i){}})();var oe;if(typeof Symbol==="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==="function"){oe=Function.prototype[Symbol.hasInstance];Object.defineProperty(Writable,Symbol.hasInstance,{value:function(i){if(oe.call(this,i))return true;if(this!==Writable)return false;return i&&i._writableState instanceof WritableState}})}else{oe=function(i){return i instanceof this}}function Writable(i){K=K||p(34793);if(!oe.call(Writable,this)&&!(this instanceof K)){return new Writable(i)}this._writableState=new WritableState(i,this);this.writable=true;if(i){if(typeof i.write==="function")this._write=i.write;if(typeof i.writev==="function")this._writev=i.writev;if(typeof i.destroy==="function")this._destroy=i.destroy;if(typeof i.final==="function")this._final=i.final}re.call(this)}Writable.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function writeAfterEnd(i,d){var p=new Error("write after end");i.emit("error",p);v.nextTick(d,p)}function validChunk(i,d,p,V){var K=true;var ee=false;if(p===null){ee=new TypeError("May not write null values to stream")}else if(typeof p!=="string"&&p!==undefined&&!d.objectMode){ee=new TypeError("Invalid non-string/buffer chunk")}if(ee){i.emit("error",ee);v.nextTick(V,ee);K=false}return K}Writable.prototype.write=function(i,d,p){var v=this._writableState;var V=false;var K=!v.objectMode&&_isUint8Array(i);if(K&&!ne.isBuffer(i)){i=_uint8ArrayToBuffer(i)}if(typeof d==="function"){p=d;d=null}if(K)d="buffer";else if(!d)d=v.defaultEncoding;if(typeof p!=="function")p=nop;if(v.ended)writeAfterEnd(this,p);else if(K||validChunk(this,v,i,p)){v.pendingcb++;V=writeOrBuffer(this,v,K,i,d,p)}return V};Writable.prototype.cork=function(){var i=this._writableState;i.corked++};Writable.prototype.uncork=function(){var i=this._writableState;if(i.corked){i.corked--;if(!i.writing&&!i.corked&&!i.bufferProcessing&&i.bufferedRequest)clearBuffer(this,i)}};Writable.prototype.setDefaultEncoding=function setDefaultEncoding(i){if(typeof i==="string")i=i.toLowerCase();if(!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((i+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+i);this._writableState.defaultEncoding=i;return this};function decodeChunk(i,d,p){if(!i.objectMode&&i.decodeStrings!==false&&typeof d==="string"){d=ne.from(d,p)}return d}Object.defineProperty(Writable.prototype,"writableHighWaterMark",{enumerable:false,get:function(){return this._writableState.highWaterMark}});function writeOrBuffer(i,d,p,v,V,K){if(!p){var ee=decodeChunk(d,v,V);if(v!==ee){p=true;V="buffer";v=ee}}var te=d.objectMode?1:v.length;d.length+=te;var re=d.length{function _classCallCheck(i,d){if(!(i instanceof d)){throw new TypeError("Cannot call a class as a function")}}var v=p(93058).Buffer;var V=p(39023);function copyBuffer(i,d,p){i.copy(d,p)}i.exports=function(){function BufferList(){_classCallCheck(this,BufferList);this.head=null;this.tail=null;this.length=0}BufferList.prototype.push=function push(i){var d={data:i,next:null};if(this.length>0)this.tail.next=d;else this.head=d;this.tail=d;++this.length};BufferList.prototype.unshift=function unshift(i){var d={data:i,next:this.head};if(this.length===0)this.tail=d;this.head=d;++this.length};BufferList.prototype.shift=function shift(){if(this.length===0)return;var i=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return i};BufferList.prototype.clear=function clear(){this.head=this.tail=null;this.length=0};BufferList.prototype.join=function join(i){if(this.length===0)return"";var d=this.head;var p=""+d.data;while(d=d.next){p+=i+d.data}return p};BufferList.prototype.concat=function concat(i){if(this.length===0)return v.alloc(0);var d=v.allocUnsafe(i>>>0);var p=this.head;var V=0;while(p){copyBuffer(p.data,d,V);V+=p.data.length;p=p.next}return d};return BufferList}();if(V&&V.inspect&&V.inspect.custom){i.exports.prototype[V.inspect.custom]=function(){var i=V.inspect({length:this.length});return this.constructor.name+" "+i}}},91031:(i,d,p)=>{var v=p(19183);function destroy(i,d){var p=this;var V=this._readableState&&this._readableState.destroyed;var K=this._writableState&&this._writableState.destroyed;if(V||K){if(d){d(i)}else if(i){if(!this._writableState){v.nextTick(emitErrorNT,this,i)}else if(!this._writableState.errorEmitted){this._writableState.errorEmitted=true;v.nextTick(emitErrorNT,this,i)}}return this}if(this._readableState){this._readableState.destroyed=true}if(this._writableState){this._writableState.destroyed=true}this._destroy(i||null,(function(i){if(!d&&i){if(!p._writableState){v.nextTick(emitErrorNT,p,i)}else if(!p._writableState.errorEmitted){p._writableState.errorEmitted=true;v.nextTick(emitErrorNT,p,i)}}else if(d){d(i)}}));return this}function undestroy(){if(this._readableState){this._readableState.destroyed=false;this._readableState.reading=false;this._readableState.ended=false;this._readableState.endEmitted=false}if(this._writableState){this._writableState.destroyed=false;this._writableState.ended=false;this._writableState.ending=false;this._writableState.finalCalled=false;this._writableState.prefinished=false;this._writableState.finished=false;this._writableState.errorEmitted=false}}function emitErrorNT(i,d){i.emit("error",d)}i.exports={destroy:destroy,undestroy:undestroy}},87137:(i,d,p)=>{i.exports=p(2203)},1835:(i,d,p)=>{i.exports=p(73109).PassThrough},73109:(i,d,p)=>{var v=p(2203);if(process.env.READABLE_STREAM==="disable"&&v){i.exports=v;d=i.exports=v.Readable;d.Readable=v.Readable;d.Writable=v.Writable;d.Duplex=v.Duplex;d.Transform=v.Transform;d.PassThrough=v.PassThrough;d.Stream=v}else{d=i.exports=p(74559);d.Stream=v||d;d.Readable=d;d.Writable=p(54579);d.Duplex=p(34793);d.Transform=p(69343);d.PassThrough=p(72029)}},66320:(i,d,p)=>{var v=p(48051),V=p(15431),K=p(26934),ee=p(64306),te=p(17226);function Hash(i){var d=-1,p=i==null?0:i.length;this.clear();while(++d{var v=p(99791),V=p(24555),K=p(86634),ee=p(8430),te=p(36918);function ListCache(i){var d=-1,p=i==null?0:i.length;this.clear();while(++d{var v=p(68573),V=p(6748);var K=v(V,"Map");i.exports=K},79660:(i,d,p)=>{var v=p(88487),V=p(36275),K=p(30130),ee=p(69254),te=p(59806);function MapCache(i){var d=-1,p=i==null?0:i.length;this.clear();while(++d{var v=p(68573),V=p(6748);var K=v(V,"Set");i.exports=K},23706:(i,d,p)=>{var v=p(79660),V=p(44671),K=p(71884);function SetCache(i){var d=-1,p=i==null?0:i.length;this.__data__=new v;while(++d{var v=p(6748);var V=v.Symbol;i.exports=V},59678:i=>{function apply(i,d,p){switch(p.length){case 0:return i.call(d);case 1:return i.call(d,p[0]);case 2:return i.call(d,p[0],p[1]);case 3:return i.call(d,p[0],p[1],p[2])}return i.apply(d,p)}i.exports=apply},70534:(i,d,p)=>{var v=p(84760);function arrayIncludes(i,d){var p=i==null?0:i.length;return!!p&&v(i,d,0)>-1}i.exports=arrayIncludes},37314:i=>{function arrayIncludesWith(i,d,p){var v=-1,V=i==null?0:i.length;while(++v{var v=p(21299),V=p(60541),K=p(77192),ee=p(43739),te=p(37446),re=p(35e3);var ne=Object.prototype;var se=ne.hasOwnProperty;function arrayLikeKeys(i,d){var p=K(i),ne=!p&&V(i),ie=!p&&!ne&&ee(i),oe=!p&&!ne&&!ie&&re(i),ae=p||ne||ie||oe,Ae=ae?v(i.length,String):[],ce=Ae.length;for(var le in i){if((d||se.call(i,le))&&!(ae&&(le=="length"||ie&&(le=="offset"||le=="parent")||oe&&(le=="buffer"||le=="byteLength"||le=="byteOffset")||te(le,ce)))){Ae.push(le)}}return Ae}i.exports=arrayLikeKeys},56649:i=>{function arrayMap(i,d){var p=-1,v=i==null?0:i.length,V=Array(v);while(++p{function arrayPush(i,d){var p=-1,v=d.length,V=i.length;while(++p{var v=p(75199);function assocIndexOf(i,d){var p=i.length;while(p--){if(v(i[p][0],d)){return p}}return-1}i.exports=assocIndexOf},3126:(i,d,p)=>{var v=p(23706),V=p(70534),K=p(37314),ee=p(56649),te=p(55506),re=p(64486);var ne=200;function baseDifference(i,d,p,se){var ie=-1,oe=V,ae=true,Ae=i.length,ce=[],le=d.length;if(!Ae){return ce}if(p){d=ee(d,te(p))}if(se){oe=K;ae=false}else if(d.length>=ne){oe=re;ae=false;d=new v(d)}e:while(++ie{function baseFindIndex(i,d,p,v){var V=i.length,K=p+(v?1:-1);while(v?K--:++K{var v=p(50827),V=p(45088);function baseFlatten(i,d,p,K,ee){var te=-1,re=i.length;p||(p=V);ee||(ee=[]);while(++te0&&p(ne)){if(d>1){baseFlatten(ne,d-1,p,K,ee)}else{v(ee,ne)}}else if(!K){ee[ee.length]=ne}}return ee}i.exports=baseFlatten},29117:(i,d,p)=>{var v=p(38584),V=p(95292),K=p(71723);var ee="[object Null]",te="[object Undefined]";var re=v?v.toStringTag:undefined;function baseGetTag(i){if(i==null){return i===undefined?te:ee}return re&&re in Object(i)?V(i):K(i)}i.exports=baseGetTag},84760:(i,d,p)=>{var v=p(35588),V=p(34352),K=p(95232);function baseIndexOf(i,d,p){return d===d?K(i,d,p):v(i,V,p)}i.exports=baseIndexOf},93605:(i,d,p)=>{var v=p(29117),V=p(51645);var K="[object Arguments]";function baseIsArguments(i){return V(i)&&v(i)==K}i.exports=baseIsArguments},34352:i=>{function baseIsNaN(i){return i!==i}i.exports=baseIsNaN},92334:(i,d,p)=>{var v=p(34329),V=p(46613),K=p(96482),ee=p(57192);var te=/[\\^$.*+?()[\]{}|]/g;var re=/^\[object .+?Constructor\]$/;var ne=Function.prototype,se=Object.prototype;var ie=ne.toString;var oe=se.hasOwnProperty;var ae=RegExp("^"+ie.call(oe).replace(te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(i){if(!K(i)||V(i)){return false}var d=v(i)?ae:re;return d.test(ee(i))}i.exports=baseIsNative},16880:(i,d,p)=>{var v=p(29117),V=p(56657),K=p(51645);var ee="[object Arguments]",te="[object Array]",re="[object Boolean]",ne="[object Date]",se="[object Error]",ie="[object Function]",oe="[object Map]",ae="[object Number]",Ae="[object Object]",ce="[object RegExp]",le="[object Set]",ue="[object String]",de="[object WeakMap]";var he="[object ArrayBuffer]",fe="[object DataView]",ge="[object Float32Array]",pe="[object Float64Array]",me="[object Int8Array]",Ee="[object Int16Array]",Ce="[object Int32Array]",ye="[object Uint8Array]",Ie="[object Uint8ClampedArray]",Be="[object Uint16Array]",Qe="[object Uint32Array]";var be={};be[ge]=be[pe]=be[me]=be[Ee]=be[Ce]=be[ye]=be[Ie]=be[Be]=be[Qe]=true;be[ee]=be[te]=be[he]=be[re]=be[fe]=be[ne]=be[se]=be[ie]=be[oe]=be[ae]=be[Ae]=be[ce]=be[le]=be[ue]=be[de]=false;function baseIsTypedArray(i){return K(i)&&V(i.length)&&!!be[v(i)]}i.exports=baseIsTypedArray},82094:(i,d,p)=>{var v=p(96482),V=p(55944),K=p(94008);var ee=Object.prototype;var te=ee.hasOwnProperty;function baseKeysIn(i){if(!v(i)){return K(i)}var d=V(i),p=[];for(var ee in i){if(!(ee=="constructor"&&(d||!te.call(i,ee)))){p.push(ee)}}return p}i.exports=baseKeysIn},22035:(i,d,p)=>{var v=p(46851),V=p(20168),K=p(59402);function baseRest(i,d){return K(V(i,d,v),i+"")}i.exports=baseRest},64953:(i,d,p)=>{var v=p(85089),V=p(83106),K=p(46851);var ee=!V?K:function(i,d){return V(i,"toString",{configurable:true,enumerable:false,value:v(d),writable:true})};i.exports=ee},21299:i=>{function baseTimes(i,d){var p=-1,v=Array(i);while(++p{function baseUnary(i){return function(d){return i(d)}}i.exports=baseUnary},32772:(i,d,p)=>{var v=p(23706),V=p(70534),K=p(37314),ee=p(64486),te=p(48242),re=p(11894);var ne=200;function baseUniq(i,d,p){var se=-1,ie=V,oe=i.length,ae=true,Ae=[],ce=Ae;if(p){ae=false;ie=K}else if(oe>=ne){var le=d?null:te(i);if(le){return re(le)}ae=false;ie=ee;ce=new v}else{ce=d?[]:Ae}e:while(++se{function cacheHas(i,d){return i.has(d)}i.exports=cacheHas},60252:(i,d,p)=>{var v=p(6748);var V=v["__core-js_shared__"];i.exports=V},48242:(i,d,p)=>{var v=p(84986),V=p(89029),K=p(11894);var ee=1/0;var te=!(v&&1/K(new v([,-0]))[1]==ee)?V:function(i){return new v(i)};i.exports=te},83106:(i,d,p)=>{var v=p(68573);var V=function(){try{var i=v(Object,"defineProperty");i({},"",{});return i}catch(i){}}();i.exports=V},78997:i=>{var d=typeof global=="object"&&global&&global.Object===Object&&global;i.exports=d},1194:(i,d,p)=>{var v=p(93245);function getMapData(i,d){var p=i.__data__;return v(d)?p[typeof d=="string"?"string":"hash"]:p.map}i.exports=getMapData},68573:(i,d,p)=>{var v=p(92334),V=p(8293);function getNative(i,d){var p=V(i,d);return v(p)?p:undefined}i.exports=getNative},86194:(i,d,p)=>{var v=p(61128);var V=v(Object.getPrototypeOf,Object);i.exports=V},95292:(i,d,p)=>{var v=p(38584);var V=Object.prototype;var K=V.hasOwnProperty;var ee=V.toString;var te=v?v.toStringTag:undefined;function getRawTag(i){var d=K.call(i,te),p=i[te];try{i[te]=undefined;var v=true}catch(i){}var V=ee.call(i);if(v){if(d){i[te]=p}else{delete i[te]}}return V}i.exports=getRawTag},8293:i=>{function getValue(i,d){return i==null?undefined:i[d]}i.exports=getValue},48051:(i,d,p)=>{var v=p(71563);function hashClear(){this.__data__=v?v(null):{};this.size=0}i.exports=hashClear},15431:i=>{function hashDelete(i){var d=this.has(i)&&delete this.__data__[i];this.size-=d?1:0;return d}i.exports=hashDelete},26934:(i,d,p)=>{var v=p(71563);var V="__lodash_hash_undefined__";var K=Object.prototype;var ee=K.hasOwnProperty;function hashGet(i){var d=this.__data__;if(v){var p=d[i];return p===V?undefined:p}return ee.call(d,i)?d[i]:undefined}i.exports=hashGet},64306:(i,d,p)=>{var v=p(71563);var V=Object.prototype;var K=V.hasOwnProperty;function hashHas(i){var d=this.__data__;return v?d[i]!==undefined:K.call(d,i)}i.exports=hashHas},17226:(i,d,p)=>{var v=p(71563);var V="__lodash_hash_undefined__";function hashSet(i,d){var p=this.__data__;this.size+=this.has(i)?0:1;p[i]=v&&d===undefined?V:d;return this}i.exports=hashSet},45088:(i,d,p)=>{var v=p(38584),V=p(60541),K=p(77192);var ee=v?v.isConcatSpreadable:undefined;function isFlattenable(i){return K(i)||V(i)||!!(ee&&i&&i[ee])}i.exports=isFlattenable},37446:i=>{var d=9007199254740991;var p=/^(?:0|[1-9]\d*)$/;function isIndex(i,v){var V=typeof i;v=v==null?d:v;return!!v&&(V=="number"||V!="symbol"&&p.test(i))&&(i>-1&&i%1==0&&i{var v=p(75199),V=p(75119),K=p(37446),ee=p(96482);function isIterateeCall(i,d,p){if(!ee(p)){return false}var te=typeof d;if(te=="number"?V(p)&&K(d,p.length):te=="string"&&d in p){return v(p[d],i)}return false}i.exports=isIterateeCall},93245:i=>{function isKeyable(i){var d=typeof i;return d=="string"||d=="number"||d=="symbol"||d=="boolean"?i!=="__proto__":i===null}i.exports=isKeyable},46613:(i,d,p)=>{var v=p(60252);var V=function(){var i=/[^.]+$/.exec(v&&v.keys&&v.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}();function isMasked(i){return!!V&&V in i}i.exports=isMasked},55944:i=>{var d=Object.prototype;function isPrototype(i){var p=i&&i.constructor,v=typeof p=="function"&&p.prototype||d;return i===v}i.exports=isPrototype},99791:i=>{function listCacheClear(){this.__data__=[];this.size=0}i.exports=listCacheClear},24555:(i,d,p)=>{var v=p(74024);var V=Array.prototype;var K=V.splice;function listCacheDelete(i){var d=this.__data__,p=v(d,i);if(p<0){return false}var V=d.length-1;if(p==V){d.pop()}else{K.call(d,p,1)}--this.size;return true}i.exports=listCacheDelete},86634:(i,d,p)=>{var v=p(74024);function listCacheGet(i){var d=this.__data__,p=v(d,i);return p<0?undefined:d[p][1]}i.exports=listCacheGet},8430:(i,d,p)=>{var v=p(74024);function listCacheHas(i){return v(this.__data__,i)>-1}i.exports=listCacheHas},36918:(i,d,p)=>{var v=p(74024);function listCacheSet(i,d){var p=this.__data__,V=v(p,i);if(V<0){++this.size;p.push([i,d])}else{p[V][1]=d}return this}i.exports=listCacheSet},88487:(i,d,p)=>{var v=p(66320),V=p(68884),K=p(98272);function mapCacheClear(){this.size=0;this.__data__={hash:new v,map:new(K||V),string:new v}}i.exports=mapCacheClear},36275:(i,d,p)=>{var v=p(1194);function mapCacheDelete(i){var d=v(this,i)["delete"](i);this.size-=d?1:0;return d}i.exports=mapCacheDelete},30130:(i,d,p)=>{var v=p(1194);function mapCacheGet(i){return v(this,i).get(i)}i.exports=mapCacheGet},69254:(i,d,p)=>{var v=p(1194);function mapCacheHas(i){return v(this,i).has(i)}i.exports=mapCacheHas},59806:(i,d,p)=>{var v=p(1194);function mapCacheSet(i,d){var p=v(this,i),V=p.size;p.set(i,d);this.size+=p.size==V?0:1;return this}i.exports=mapCacheSet},71563:(i,d,p)=>{var v=p(68573);var V=v(Object,"create");i.exports=V},94008:i=>{function nativeKeysIn(i){var d=[];if(i!=null){for(var p in Object(i)){d.push(p)}}return d}i.exports=nativeKeysIn},88724:(i,d,p)=>{i=p.nmd(i);var v=p(78997);var V=true&&d&&!d.nodeType&&d;var K=V&&"object"=="object"&&i&&!i.nodeType&&i;var ee=K&&K.exports===V;var te=ee&&v.process;var re=function(){try{var i=K&&K.require&&K.require("util").types;if(i){return i}return te&&te.binding&&te.binding("util")}catch(i){}}();i.exports=re},71723:i=>{var d=Object.prototype;var p=d.toString;function objectToString(i){return p.call(i)}i.exports=objectToString},61128:i=>{function overArg(i,d){return function(p){return i(d(p))}}i.exports=overArg},20168:(i,d,p)=>{var v=p(59678);var V=Math.max;function overRest(i,d,p){d=V(d===undefined?i.length-1:d,0);return function(){var K=arguments,ee=-1,te=V(K.length-d,0),re=Array(te);while(++ee{var v=p(78997);var V=typeof self=="object"&&self&&self.Object===Object&&self;var K=v||V||Function("return this")();i.exports=K},44671:i=>{var d="__lodash_hash_undefined__";function setCacheAdd(i){this.__data__.set(i,d);return this}i.exports=setCacheAdd},71884:i=>{function setCacheHas(i){return this.__data__.has(i)}i.exports=setCacheHas},11894:i=>{function setToArray(i){var d=-1,p=Array(i.size);i.forEach((function(i){p[++d]=i}));return p}i.exports=setToArray},59402:(i,d,p)=>{var v=p(64953),V=p(83286);var K=V(v);i.exports=K},83286:i=>{var d=800,p=16;var v=Date.now;function shortOut(i){var V=0,K=0;return function(){var ee=v(),te=p-(ee-K);K=ee;if(te>0){if(++V>=d){return arguments[0]}}else{V=0}return i.apply(undefined,arguments)}}i.exports=shortOut},95232:i=>{function strictIndexOf(i,d,p){var v=p-1,V=i.length;while(++v{var d=Function.prototype;var p=d.toString;function toSource(i){if(i!=null){try{return p.call(i)}catch(i){}try{return i+""}catch(i){}}return""}i.exports=toSource},85089:i=>{function constant(i){return function(){return i}}i.exports=constant},7511:(i,d,p)=>{var v=p(22035),V=p(75199),K=p(3349),ee=p(19430);var te=Object.prototype;var re=te.hasOwnProperty;var ne=v((function(i,d){i=Object(i);var p=-1;var v=d.length;var ne=v>2?d[2]:undefined;if(ne&&K(d[0],d[1],ne)){v=1}while(++p{var v=p(3126),V=p(63183),K=p(22035),ee=p(97100);var te=K((function(i,d){return ee(i)?v(i,V(d,1,ee,true)):[]}));i.exports=te},75199:i=>{function eq(i,d){return i===d||i!==i&&d!==d}i.exports=eq},97047:(i,d,p)=>{var v=p(63183);function flatten(i){var d=i==null?0:i.length;return d?v(i,1):[]}i.exports=flatten},46851:i=>{function identity(i){return i}i.exports=identity},60541:(i,d,p)=>{var v=p(93605),V=p(51645);var K=Object.prototype;var ee=K.hasOwnProperty;var te=K.propertyIsEnumerable;var re=v(function(){return arguments}())?v:function(i){return V(i)&&ee.call(i,"callee")&&!te.call(i,"callee")};i.exports=re},77192:i=>{var d=Array.isArray;i.exports=d},75119:(i,d,p)=>{var v=p(34329),V=p(56657);function isArrayLike(i){return i!=null&&V(i.length)&&!v(i)}i.exports=isArrayLike},97100:(i,d,p)=>{var v=p(75119),V=p(51645);function isArrayLikeObject(i){return V(i)&&v(i)}i.exports=isArrayLikeObject},43739:(i,d,p)=>{i=p.nmd(i);var v=p(6748),V=p(92074);var K=true&&d&&!d.nodeType&&d;var ee=K&&"object"=="object"&&i&&!i.nodeType&&i;var te=ee&&ee.exports===K;var re=te?v.Buffer:undefined;var ne=re?re.isBuffer:undefined;var se=ne||V;i.exports=se},34329:(i,d,p)=>{var v=p(29117),V=p(96482);var K="[object AsyncFunction]",ee="[object Function]",te="[object GeneratorFunction]",re="[object Proxy]";function isFunction(i){if(!V(i)){return false}var d=v(i);return d==ee||d==te||d==K||d==re}i.exports=isFunction},56657:i=>{var d=9007199254740991;function isLength(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=d}i.exports=isLength},96482:i=>{function isObject(i){var d=typeof i;return i!=null&&(d=="object"||d=="function")}i.exports=isObject},51645:i=>{function isObjectLike(i){return i!=null&&typeof i=="object"}i.exports=isObjectLike},36542:(i,d,p)=>{var v=p(29117),V=p(86194),K=p(51645);var ee="[object Object]";var te=Function.prototype,re=Object.prototype;var ne=te.toString;var se=re.hasOwnProperty;var ie=ne.call(Object);function isPlainObject(i){if(!K(i)||v(i)!=ee){return false}var d=V(i);if(d===null){return true}var p=se.call(d,"constructor")&&d.constructor;return typeof p=="function"&&p instanceof p&&ne.call(p)==ie}i.exports=isPlainObject},35e3:(i,d,p)=>{var v=p(16880),V=p(55506),K=p(88724);var ee=K&&K.isTypedArray;var te=ee?V(ee):v;i.exports=te},19430:(i,d,p)=>{var v=p(62e3),V=p(82094),K=p(75119);function keysIn(i){return K(i)?v(i,true):V(i)}i.exports=keysIn},89029:i=>{function noop(){}i.exports=noop},92074:i=>{function stubFalse(){return false}i.exports=stubFalse},73270:(i,d,p)=>{var v=p(63183),V=p(22035),K=p(32772),ee=p(97100);var te=V((function(i){return K(v(i,1,ee,true))}));i.exports=te},43772:(i,d,p)=>{i.exports=minimatch;minimatch.Minimatch=Minimatch;var v=function(){try{return p(16928)}catch(i){}}()||{sep:"/"};minimatch.sep=v.sep;var V=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={};var K=p(73783);var ee={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};var te="[^/]";var re=te+"*?";var ne="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";var se="(?:(?!(?:\\/|^)\\.).)*?";var ie=charSet("().*{}+?[]^$\\!");function charSet(i){return i.split("").reduce((function(i,d){i[d]=true;return i}),{})}var oe=/\/+/;minimatch.filter=filter;function filter(i,d){d=d||{};return function(p,v,V){return minimatch(p,i,d)}}function ext(i,d){d=d||{};var p={};Object.keys(i).forEach((function(d){p[d]=i[d]}));Object.keys(d).forEach((function(i){p[i]=d[i]}));return p}minimatch.defaults=function(i){if(!i||typeof i!=="object"||!Object.keys(i).length){return minimatch}var d=minimatch;var p=function minimatch(p,v,V){return d(p,v,ext(i,V))};p.Minimatch=function Minimatch(p,v){return new d.Minimatch(p,ext(i,v))};p.Minimatch.defaults=function defaults(p){return d.defaults(ext(i,p)).Minimatch};p.filter=function filter(p,v){return d.filter(p,ext(i,v))};p.defaults=function defaults(p){return d.defaults(ext(i,p))};p.makeRe=function makeRe(p,v){return d.makeRe(p,ext(i,v))};p.braceExpand=function braceExpand(p,v){return d.braceExpand(p,ext(i,v))};p.match=function(p,v,V){return d.match(p,v,ext(i,V))};return p};Minimatch.defaults=function(i){return minimatch.defaults(i).Minimatch};function minimatch(i,d,p){assertValidPattern(d);if(!p)p={};if(!p.nocomment&&d.charAt(0)==="#"){return false}return new Minimatch(d,p).match(i)}function Minimatch(i,d){if(!(this instanceof Minimatch)){return new Minimatch(i,d)}assertValidPattern(i);if(!d)d={};i=i.trim();if(!d.allowWindowsEscape&&v.sep!=="/"){i=i.split(v.sep).join("/")}this.options=d;this.set=[];this.pattern=i;this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.partial=!!d.partial;this.make()}Minimatch.prototype.debug=function(){};Minimatch.prototype.make=make;function make(){var i=this.pattern;var d=this.options;if(!d.nocomment&&i.charAt(0)==="#"){this.comment=true;return}if(!i){this.empty=true;return}this.parseNegate();var p=this.globSet=this.braceExpand();if(d.debug)this.debug=function debug(){console.error.apply(console,arguments)};this.debug(this.pattern,p);p=this.globParts=p.map((function(i){return i.split(oe)}));this.debug(this.pattern,p);p=p.map((function(i,d,p){return i.map(this.parse,this)}),this);this.debug(this.pattern,p);p=p.filter((function(i){return i.indexOf(false)===-1}));this.debug(this.pattern,p);this.set=p}Minimatch.prototype.parseNegate=parseNegate;function parseNegate(){var i=this.pattern;var d=false;var p=this.options;var v=0;if(p.nonegate)return;for(var V=0,K=i.length;Vae){throw new TypeError("pattern is too long")}};Minimatch.prototype.parse=parse;var Ae={};function parse(i,d){assertValidPattern(i);var p=this.options;if(i==="**"){if(!p.noglobstar)return V;else i="*"}if(i==="")return"";var v="";var K=!!p.nocase;var ne=false;var se=[];var oe=[];var ae;var ce=false;var le=-1;var ue=-1;var de=i.charAt(0)==="."?"":p.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";var he=this;function clearStateChar(){if(ae){switch(ae){case"*":v+=re;K=true;break;case"?":v+=te;K=true;break;default:v+="\\"+ae;break}he.debug("clearStateChar %j %j",ae,v);ae=false}}for(var fe=0,ge=i.length,pe;fe-1;Qe--){var be=oe[Qe];var we=v.slice(0,be.reStart);var Se=v.slice(be.reStart,be.reEnd-8);var Re=v.slice(be.reEnd-8,be.reEnd);var ve=v.slice(be.reEnd);Re+=ve;var ke=we.split("(").length-1;var Te=ve;for(fe=0;fe=0;ee--){K=i[ee];if(K)break}for(ee=0;ee>> no match, partial?",i,ie,d,oe);if(ie===te)return true}return false}var Ae;if(typeof ne==="string"){Ae=se===ne;this.debug("string match",ne,se,Ae)}else{Ae=se.match(ne);this.debug("pattern match",ne,se,Ae)}if(!Ae)return false}if(K===te&&ee===re){return true}else if(K===te){return p}else if(ee===re){return K===te-1&&i[K]===""}throw new Error("wtf?")};function globUnescape(i){return i.replace(/\\(.)/g,"$1")}function regExpEscape(i){return i.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}},73783:(i,d,p)=>{var v=p(97087);var V=p(59380);i.exports=expandTop;var K="\0SLASH"+Math.random()+"\0";var ee="\0OPEN"+Math.random()+"\0";var te="\0CLOSE"+Math.random()+"\0";var re="\0COMMA"+Math.random()+"\0";var ne="\0PERIOD"+Math.random()+"\0";function numeric(i){return parseInt(i,10)==i?parseInt(i,10):i.charCodeAt(0)}function escapeBraces(i){return i.split("\\\\").join(K).split("\\{").join(ee).split("\\}").join(te).split("\\,").join(re).split("\\.").join(ne)}function unescapeBraces(i){return i.split(K).join("\\").split(ee).join("{").split(te).join("}").split(re).join(",").split(ne).join(".")}function parseCommaParts(i){if(!i)return[""];var d=[];var p=V("{","}",i);if(!p)return i.split(",");var v=p.pre;var K=p.body;var ee=p.post;var te=v.split(",");te[te.length-1]+="{"+K+"}";var re=parseCommaParts(ee);if(ee.length){te[te.length-1]+=re.shift();te.push.apply(te,re)}d.push.apply(d,te);return d}function expandTop(i){if(!i)return[];if(i.substr(0,2)==="{}"){i="\\{\\}"+i.substr(2)}return expand(escapeBraces(i),true).map(unescapeBraces)}function identity(i){return i}function embrace(i){return"{"+i+"}"}function isPadded(i){return/^-?0\d/.test(i)}function lte(i,d){return i<=d}function gte(i,d){return i>=d}function expand(i,d){var p=[];var K=V("{","}",i);if(!K||/\$$/.test(K.pre))return[i];var ee=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(K.body);var re=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(K.body);var ne=ee||re;var se=K.body.indexOf(",")>=0;if(!ne&&!se){if(K.post.match(/,(?!,).*\}/)){i=K.pre+"{"+K.body+te+K.post;return expand(i)}return[i]}var ie;if(ne){ie=K.body.split(/\.\./)}else{ie=parseCommaParts(K.body);if(ie.length===1){ie=expand(ie[0],false).map(embrace);if(ie.length===1){var oe=K.post.length?expand(K.post,false):[""];return oe.map((function(i){return K.pre+ie[0]+i}))}}}var ae=K.pre;var oe=K.post.length?expand(K.post,false):[""];var Ae;if(ne){var ce=numeric(ie[0]);var le=numeric(ie[1]);var ue=Math.max(ie[0].length,ie[1].length);var de=ie.length==3?Math.abs(numeric(ie[2])):1;var he=lte;var fe=le0){var Ce=new Array(Ee+1).join("0");if(pe<0)me="-"+Ce+me.slice(1);else me=Ce+me}}}Ae.push(me)}}else{Ae=v(ie,(function(i){return expand(i,false)}))}for(var ye=0;ye{var v=p(16928);var V=p(79896);var K=parseInt("0777",8);i.exports=mkdirP.mkdirp=mkdirP.mkdirP=mkdirP;function mkdirP(i,d,p,ee){if(typeof d==="function"){p=d;d={}}else if(!d||typeof d!=="object"){d={mode:d}}var te=d.mode;var re=d.fs||V;if(te===undefined){te=K}if(!ee)ee=null;var ne=p||function(){};i=v.resolve(i);re.mkdir(i,te,(function(p){if(!p){ee=ee||i;return ne(null,ee)}switch(p.code){case"ENOENT":if(v.dirname(i)===i)return ne(p);mkdirP(v.dirname(i),d,(function(p,v){if(p)ne(p,v);else mkdirP(i,d,ne,v)}));break;default:re.stat(i,(function(i,d){if(i||!d.isDirectory())ne(p,ee);else ne(null,ee)}));break}}))}mkdirP.sync=function sync(i,d,p){if(!d||typeof d!=="object"){d={mode:d}}var ee=d.mode;var te=d.fs||V;if(ee===undefined){ee=K}if(!p)p=null;i=v.resolve(i);try{te.mkdirSync(i,ee);p=p||i}catch(V){switch(V.code){case"ENOENT":p=sync(v.dirname(i),d,p);sync(i,d,p);break;default:var re;try{re=te.statSync(i)}catch(i){throw V}if(!re.isDirectory())throw V;break}}return p}},70744:i=>{var d=1e3;var p=d*60;var v=p*60;var V=v*24;var K=V*7;var ee=V*365.25;i.exports=function(i,d){d=d||{};var p=typeof i;if(p==="string"&&i.length>0){return parse(i)}else if(p==="number"&&isFinite(i)){return d.long?fmtLong(i):fmtShort(i)}throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(i))};function parse(i){i=String(i);if(i.length>100){return}var te=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(i);if(!te){return}var re=parseFloat(te[1]);var ne=(te[2]||"ms").toLowerCase();switch(ne){case"years":case"year":case"yrs":case"yr":case"y":return re*ee;case"weeks":case"week":case"w":return re*K;case"days":case"day":case"d":return re*V;case"hours":case"hour":case"hrs":case"hr":case"h":return re*v;case"minutes":case"minute":case"mins":case"min":case"m":return re*p;case"seconds":case"second":case"secs":case"sec":case"s":return re*d;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return re;default:return undefined}}function fmtShort(i){var K=Math.abs(i);if(K>=V){return Math.round(i/V)+"d"}if(K>=v){return Math.round(i/v)+"h"}if(K>=p){return Math.round(i/p)+"m"}if(K>=d){return Math.round(i/d)+"s"}return i+"ms"}function fmtLong(i){var K=Math.abs(i);if(K>=V){return plural(i,K,V,"day")}if(K>=v){return plural(i,K,v,"hour")}if(K>=p){return plural(i,K,p,"minute")}if(K>=d){return plural(i,K,d,"second")}return i+" ms"}function plural(i,d,p,v){var V=d>=p*1.5;return Math.round(i/p)+" "+v+(V?"s":"")}},56133:i=>{ /*! * normalize-path * * Copyright (c) 2014-2018, Jon Schlinkert. * Released under the MIT License. */ -i.exports=function(i,d){if(typeof i!=="string"){throw new TypeError("expected path to be a string")}if(i==="\\"||i==="/")return"/";var p=i.length;if(p<=1)return i;var v="";if(p>4&&i[3]==="\\"){var V=i[2];if((V==="?"||V===".")&&i.slice(0,2)==="\\\\"){i=i.slice(2);v="//"}}var K=i.split(/[/\\]+/);if(d!==false&&K[K.length-1]===""){K.pop()}return v+K.join("/")}},55560:(i,d,p)=>{var v=p(58264);i.exports=v(once);i.exports.strict=v(onceStrict);once.proto=once((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return once(this)},configurable:true});Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return onceStrict(this)},configurable:true})}));function once(i){var f=function(){if(f.called)return f.value;f.called=true;return f.value=i.apply(this,arguments)};f.called=false;return f}function onceStrict(i){var f=function(){if(f.called)throw new Error(f.onceError);f.called=true;return f.value=i.apply(this,arguments)};var d=i.name||"Function wrapped with `once`";f.onceError=d+" shouldn't be called more than once";f.called=false;return f}},19183:i=>{if(typeof process==="undefined"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0){i.exports={nextTick:nextTick}}else{i.exports=process}function nextTick(i,d,p,v){if(typeof i!=="function"){throw new TypeError('"callback" argument must be a function')}var V=arguments.length;var K,ee;switch(V){case 0:case 1:return process.nextTick(i);case 2:return process.nextTick((function afterTickOne(){i.call(null,d)}));case 3:return process.nextTick((function afterTickTwo(){i.call(null,d,p)}));case 4:return process.nextTick((function afterTickThree(){i.call(null,d,p,v)}));default:K=new Array(V-1);ee=0;while(ee{i.exports=global.process},5506:(i,d,p)=>{i.exports=typeof process!=="undefined"&&typeof process.nextTick==="function"?process.nextTick.bind(process):p(36828)},36828:i=>{i.exports=typeof queueMicrotask==="function"?queueMicrotask:i=>Promise.resolve().then(i)},80652:(i,d,p)=>{const{SymbolDispose:v}=p(50999);const{AbortError:V,codes:K}=p(69220);const{isNodeStream:ee,isWebStream:te,kControllerErrorFunction:re}=p(83426);const ne=p(36815);const{ERR_INVALID_ARG_TYPE:ie}=K;let se;const validateAbortSignal=(i,d)=>{if(typeof i!=="object"||!("aborted"in i)){throw new ie(d,"AbortSignal",i)}};i.exports.addAbortSignal=function addAbortSignal(d,p){validateAbortSignal(d,"signal");if(!ee(p)&&!te(p)){throw new ie("stream",["ReadableStream","WritableStream","Stream"],p)}return i.exports.addAbortSignalNoValidate(d,p)};i.exports.addAbortSignalNoValidate=function(i,d){if(typeof i!=="object"||!("aborted"in i)){return d}const K=ee(d)?()=>{d.destroy(new V(undefined,{cause:i.reason}))}:()=>{d[re](new V(undefined,{cause:i.reason}))};if(i.aborted){K()}else{se=se||p(23539).addAbortListener;const V=se(i,K);ne(d,V[v])}return d}},77336:(i,d,p)=>{const{StringPrototypeSlice:v,SymbolIterator:V,TypedArrayPrototypeSet:K,Uint8Array:ee}=p(50999);const{Buffer:te}=p(20181);const{inspect:re}=p(23539);i.exports=class BufferList{constructor(){this.head=null;this.tail=null;this.length=0}push(i){const d={data:i,next:null};if(this.length>0)this.tail.next=d;else this.head=d;this.tail=d;++this.length}unshift(i){const d={data:i,next:this.head};if(this.length===0)this.tail=d;this.head=d;++this.length}shift(){if(this.length===0)return;const i=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return i}clear(){this.head=this.tail=null;this.length=0}join(i){if(this.length===0)return"";let d=this.head;let p=""+d.data;while((d=d.next)!==null)p+=i+d.data;return p}concat(i){if(this.length===0)return te.alloc(0);const d=te.allocUnsafe(i>>>0);let p=this.head;let v=0;while(p){K(d,p.data,v);v+=p.data.length;p=p.next}return d}consume(i,d){const p=this.head.data;if(iK.length){d+=K;i-=K.length}else{if(i===K.length){d+=K;++V;if(p.next)this.head=p.next;else this.head=this.tail=null}else{d+=v(K,0,i);this.head=p;p.data=v(K,i)}break}++V}while((p=p.next)!==null);this.length-=V;return d}_getBuffer(i){const d=te.allocUnsafe(i);const p=i;let v=this.head;let V=0;do{const te=v.data;if(i>te.length){K(d,te,p-i);i-=te.length}else{if(i===te.length){K(d,te,p-i);++V;if(v.next)this.head=v.next;else this.head=this.tail=null}else{K(d,new ee(te.buffer,te.byteOffset,i),p-i);this.head=v;v.data=te.slice(i)}break}++V}while((v=v.next)!==null);this.length-=V;return d}[Symbol.for("nodejs.util.inspect.custom")](i,d){return re(this,{...d,depth:0,customInspect:false})}}},64999:(i,d,p)=>{const{pipeline:v}=p(16701);const V=p(94449);const{destroyer:K}=p(65089);const{isNodeStream:ee,isReadable:te,isWritable:re,isWebStream:ne,isTransformStream:ie,isWritableStream:se,isReadableStream:oe}=p(83426);const{AbortError:ae,codes:{ERR_INVALID_ARG_VALUE:ce,ERR_MISSING_ARGS:le}}=p(69220);const ue=p(36815);i.exports=function compose(...i){if(i.length===0){throw new le("streams")}if(i.length===1){return V.from(i[0])}const d=[...i];if(typeof i[0]==="function"){i[0]=V.from(i[0])}if(typeof i[i.length-1]==="function"){const d=i.length-1;i[d]=V.from(i[d])}for(let p=0;p0&&!(re(i[p])||se(i[p])||ie(i[p]))){throw new ce(`streams[${p}]`,d[p],"must be writable")}}let p;let Ae;let de;let pe;let fe;function onfinished(i){const d=pe;pe=null;if(d){d(i)}else if(i){fe.destroy(i)}else if(!Ee&&!me){fe.destroy()}}const he=i[0];const ge=v(i,onfinished);const me=!!(re(he)||se(he)||ie(he));const Ee=!!(te(ge)||oe(ge)||ie(ge));fe=new V({writableObjectMode:!!(he!==null&&he!==undefined&&he.writableObjectMode),readableObjectMode:!!(ge!==null&&ge!==undefined&&ge.readableObjectMode),writable:me,readable:Ee});if(me){if(ee(he)){fe._write=function(i,d,v){if(he.write(i,d)){v()}else{p=v}};fe._final=function(i){he.end();Ae=i};he.on("drain",(function(){if(p){const i=p;p=null;i()}}))}else if(ne(he)){const i=ie(he)?he.writable:he;const d=i.getWriter();fe._write=async function(i,p,v){try{await d.ready;d.write(i).catch((()=>{}));v()}catch(i){v(i)}};fe._final=async function(i){try{await d.ready;d.close().catch((()=>{}));Ae=i}catch(d){i(d)}}}const i=ie(ge)?ge.readable:ge;ue(i,(()=>{if(Ae){const i=Ae;Ae=null;i()}}))}if(Ee){if(ee(ge)){ge.on("readable",(function(){if(de){const i=de;de=null;i()}}));ge.on("end",(function(){fe.push(null)}));fe._read=function(){while(true){const i=ge.read();if(i===null){de=fe._read;return}if(!fe.push(i)){return}}}}else if(ne(ge)){const i=ie(ge)?ge.readable:ge;const d=i.getReader();fe._read=async function(){while(true){try{const{value:i,done:p}=await d.read();if(!fe.push(i)){return}if(p){fe.push(null);return}}catch{return}}}}}fe._destroy=function(i,d){if(!i&&pe!==null){i=new ae}de=null;p=null;Ae=null;if(pe===null){d(i)}else{pe=d;if(ee(ge)){K(ge,i)}}};return fe}},65089:(i,d,p)=>{const v=p(7945);const{aggregateTwoErrors:V,codes:{ERR_MULTIPLE_CALLBACK:K},AbortError:ee}=p(69220);const{Symbol:te}=p(50999);const{kIsDestroyed:re,isDestroyed:ne,isFinished:ie,isServerRequest:se}=p(83426);const oe=te("kDestroy");const ae=te("kConstruct");function checkError(i,d,p){if(i){i.stack;if(d&&!d.errored){d.errored=i}if(p&&!p.errored){p.errored=i}}}function destroy(i,d){const p=this._readableState;const v=this._writableState;const K=v||p;if(v!==null&&v!==undefined&&v.destroyed||p!==null&&p!==undefined&&p.destroyed){if(typeof d==="function"){d()}return this}checkError(i,v,p);if(v){v.destroyed=true}if(p){p.destroyed=true}if(!K.constructed){this.once(oe,(function(p){_destroy(this,V(p,i),d)}))}else{_destroy(this,i,d)}return this}function _destroy(i,d,p){let V=false;function onDestroy(d){if(V){return}V=true;const K=i._readableState;const ee=i._writableState;checkError(d,ee,K);if(ee){ee.closed=true}if(K){K.closed=true}if(typeof p==="function"){p(d)}if(d){v.nextTick(emitErrorCloseNT,i,d)}else{v.nextTick(emitCloseNT,i)}}try{i._destroy(d||null,onDestroy)}catch(d){onDestroy(d)}}function emitErrorCloseNT(i,d){emitErrorNT(i,d);emitCloseNT(i)}function emitCloseNT(i){const d=i._readableState;const p=i._writableState;if(p){p.closeEmitted=true}if(d){d.closeEmitted=true}if(p!==null&&p!==undefined&&p.emitClose||d!==null&&d!==undefined&&d.emitClose){i.emit("close")}}function emitErrorNT(i,d){const p=i._readableState;const v=i._writableState;if(v!==null&&v!==undefined&&v.errorEmitted||p!==null&&p!==undefined&&p.errorEmitted){return}if(v){v.errorEmitted=true}if(p){p.errorEmitted=true}i.emit("error",d)}function undestroy(){const i=this._readableState;const d=this._writableState;if(i){i.constructed=true;i.closed=false;i.closeEmitted=false;i.destroyed=false;i.errored=null;i.errorEmitted=false;i.reading=false;i.ended=i.readable===false;i.endEmitted=i.readable===false}if(d){d.constructed=true;d.destroyed=false;d.closed=false;d.closeEmitted=false;d.errored=null;d.errorEmitted=false;d.finalCalled=false;d.prefinished=false;d.ended=d.writable===false;d.ending=d.writable===false;d.finished=d.writable===false}}function errorOrDestroy(i,d,p){const V=i._readableState;const K=i._writableState;if(K!==null&&K!==undefined&&K.destroyed||V!==null&&V!==undefined&&V.destroyed){return this}if(V!==null&&V!==undefined&&V.autoDestroy||K!==null&&K!==undefined&&K.autoDestroy)i.destroy(d);else if(d){d.stack;if(K&&!K.errored){K.errored=d}if(V&&!V.errored){V.errored=d}if(p){v.nextTick(emitErrorNT,i,d)}else{emitErrorNT(i,d)}}}function construct(i,d){if(typeof i._construct!=="function"){return}const p=i._readableState;const V=i._writableState;if(p){p.constructed=false}if(V){V.constructed=false}i.once(ae,d);if(i.listenerCount(ae)>1){return}v.nextTick(constructNT,i)}function constructNT(i){let d=false;function onConstruct(p){if(d){errorOrDestroy(i,p!==null&&p!==undefined?p:new K);return}d=true;const V=i._readableState;const ee=i._writableState;const te=ee||V;if(V){V.constructed=true}if(ee){ee.constructed=true}if(te.destroyed){i.emit(oe,p)}else if(p){errorOrDestroy(i,p,true)}else{v.nextTick(emitConstructNT,i)}}try{i._construct((i=>{v.nextTick(onConstruct,i)}))}catch(i){v.nextTick(onConstruct,i)}}function emitConstructNT(i){i.emit(ae)}function isRequest(i){return(i===null||i===undefined?undefined:i.setHeader)&&typeof i.abort==="function"}function emitCloseLegacy(i){i.emit("close")}function emitErrorCloseLegacy(i,d){i.emit("error",d);v.nextTick(emitCloseLegacy,i)}function destroyer(i,d){if(!i||ne(i)){return}if(!d&&!ie(i)){d=new ee}if(se(i)){i.socket=null;i.destroy(d)}else if(isRequest(i)){i.abort()}else if(isRequest(i.req)){i.req.abort()}else if(typeof i.destroy==="function"){i.destroy(d)}else if(typeof i.close==="function"){i.close()}else if(d){v.nextTick(emitErrorCloseLegacy,i,d)}else{v.nextTick(emitCloseLegacy,i)}if(!i.destroyed){i[re]=true}}i.exports={construct:construct,destroyer:destroyer,destroy:destroy,undestroy:undestroy,errorOrDestroy:errorOrDestroy}},94449:(i,d,p)=>{const{ObjectDefineProperties:v,ObjectGetOwnPropertyDescriptor:V,ObjectKeys:K,ObjectSetPrototypeOf:ee}=p(50999);i.exports=Duplex;const te=p(17783);const re=p(58939);ee(Duplex.prototype,te.prototype);ee(Duplex,te);{const i=K(re.prototype);for(let d=0;d{const v=p(7945);"use strict";const V=p(20181);const{isReadable:K,isWritable:ee,isIterable:te,isNodeStream:re,isReadableNodeStream:ne,isWritableNodeStream:ie,isDuplexNodeStream:se,isReadableStream:oe,isWritableStream:ae}=p(83426);const ce=p(36815);const{AbortError:le,codes:{ERR_INVALID_ARG_TYPE:ue,ERR_INVALID_RETURN_VALUE:Ae}}=p(69220);const{destroyer:de}=p(65089);const pe=p(94449);const fe=p(17783);const he=p(58939);const{createDeferredPromise:ge}=p(23539);const me=p(4659);const Ee=globalThis.Blob||V.Blob;const ye=typeof Ee!=="undefined"?function isBlob(i){return i instanceof Ee}:function isBlob(i){return false};const Ce=globalThis.AbortController||p(17413).AbortController;const{FunctionPrototypeCall:be}=p(50999);class Duplexify extends pe{constructor(i){super(i);if((i===null||i===undefined?undefined:i.readable)===false){this._readableState.readable=false;this._readableState.ended=true;this._readableState.endEmitted=true}if((i===null||i===undefined?undefined:i.writable)===false){this._writableState.writable=false;this._writableState.ending=true;this._writableState.ended=true;this._writableState.finished=true}}}i.exports=function duplexify(i,d){if(se(i)){return i}if(ne(i)){return _duplexify({readable:i})}if(ie(i)){return _duplexify({writable:i})}if(re(i)){return _duplexify({writable:false,readable:false})}if(oe(i)){return _duplexify({readable:fe.fromWeb(i)})}if(ae(i)){return _duplexify({writable:he.fromWeb(i)})}if(typeof i==="function"){const{value:p,write:V,final:K,destroy:ee}=fromAsyncGen(i);if(te(p)){return me(Duplexify,p,{objectMode:true,write:V,final:K,destroy:ee})}const re=p===null||p===undefined?undefined:p.then;if(typeof re==="function"){let i;const d=be(re,p,(i=>{if(i!=null){throw new Ae("nully","body",i)}}),(d=>{de(i,d)}));return i=new Duplexify({objectMode:true,readable:false,write:V,final(i){K((async()=>{try{await d;v.nextTick(i,null)}catch(d){v.nextTick(i,d)}}))},destroy:ee})}throw new Ae("Iterable, AsyncIterable or AsyncFunction",d,p)}if(ye(i)){return duplexify(i.arrayBuffer())}if(te(i)){return me(Duplexify,i,{objectMode:true,writable:false})}if(oe(i===null||i===undefined?undefined:i.readable)&&ae(i===null||i===undefined?undefined:i.writable)){return Duplexify.fromWeb(i)}if(typeof(i===null||i===undefined?undefined:i.writable)==="object"||typeof(i===null||i===undefined?undefined:i.readable)==="object"){const d=i!==null&&i!==undefined&&i.readable?ne(i===null||i===undefined?undefined:i.readable)?i===null||i===undefined?undefined:i.readable:duplexify(i.readable):undefined;const p=i!==null&&i!==undefined&&i.writable?ie(i===null||i===undefined?undefined:i.writable)?i===null||i===undefined?undefined:i.writable:duplexify(i.writable):undefined;return _duplexify({readable:d,writable:p})}const p=i===null||i===undefined?undefined:i.then;if(typeof p==="function"){let d;be(p,i,(i=>{if(i!=null){d.push(i)}d.push(null)}),(i=>{de(d,i)}));return d=new Duplexify({objectMode:true,writable:false,read(){}})}throw new ue(d,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],i)};function fromAsyncGen(i){let{promise:d,resolve:p}=ge();const V=new Ce;const K=V.signal;const ee=i(async function*(){while(true){const i=d;d=null;const{chunk:V,done:ee,cb:te}=await i;v.nextTick(te);if(ee)return;if(K.aborted)throw new le(undefined,{cause:K.reason});({promise:d,resolve:p}=ge());yield V}}(),{signal:K});return{value:ee,write(i,d,v){const V=p;p=null;V({chunk:i,done:false,cb:v})},final(i){const d=p;p=null;d({done:true,cb:i})},destroy(i,d){V.abort();d(i)}}}function _duplexify(i){const d=i.readable&&typeof i.readable.read!=="function"?fe.wrap(i.readable):i.readable;const p=i.writable;let v=!!K(d);let V=!!ee(p);let te;let re;let ne;let ie;let se;function onfinished(i){const d=ie;ie=null;if(d){d(i)}else if(i){se.destroy(i)}}se=new Duplexify({readableObjectMode:!!(d!==null&&d!==undefined&&d.readableObjectMode),writableObjectMode:!!(p!==null&&p!==undefined&&p.writableObjectMode),readable:v,writable:V});if(V){ce(p,(i=>{V=false;if(i){de(d,i)}onfinished(i)}));se._write=function(i,d,v){if(p.write(i,d)){v()}else{te=v}};se._final=function(i){p.end();re=i};p.on("drain",(function(){if(te){const i=te;te=null;i()}}));p.on("finish",(function(){if(re){const i=re;re=null;i()}}))}if(v){ce(d,(i=>{v=false;if(i){de(d,i)}onfinished(i)}));d.on("readable",(function(){if(ne){const i=ne;ne=null;i()}}));d.on("end",(function(){se.push(null)}));se._read=function(){while(true){const i=d.read();if(i===null){ne=se._read;return}if(!se.push(i)){return}}}}se._destroy=function(i,v){if(!i&&ie!==null){i=new le}ne=null;te=null;re=null;if(ie===null){v(i)}else{ie=v;de(p,i);de(d,i)}};return se}},36815:(i,d,p)=>{const v=p(7945);"use strict";const{AbortError:V,codes:K}=p(69220);const{ERR_INVALID_ARG_TYPE:ee,ERR_STREAM_PREMATURE_CLOSE:te}=K;const{kEmptyObject:re,once:ne}=p(23539);const{validateAbortSignal:ie,validateFunction:se,validateObject:oe,validateBoolean:ae}=p(49554);const{Promise:ce,PromisePrototypeThen:le,SymbolDispose:ue}=p(50999);const{isClosed:Ae,isReadable:de,isReadableNodeStream:pe,isReadableStream:fe,isReadableFinished:he,isReadableErrored:ge,isWritable:me,isWritableNodeStream:Ee,isWritableStream:ye,isWritableFinished:Ce,isWritableErrored:be,isNodeStream:Ie,willEmitClose:Be,kIsClosedPromise:we}=p(83426);let Se;function isRequest(i){return i.setHeader&&typeof i.abort==="function"}const nop=()=>{};function eos(i,d,K){var ae,ce;if(arguments.length===2){K=d;d=re}else if(d==null){d=re}else{oe(d,"options")}se(K,"callback");ie(d.signal,"options.signal");K=ne(K);if(fe(i)||ye(i)){return eosWeb(i,d,K)}if(!Ie(i)){throw new ee("stream",["ReadableStream","WritableStream","Stream"],i)}const le=(ae=d.readable)!==null&&ae!==undefined?ae:pe(i);const we=(ce=d.writable)!==null&&ce!==undefined?ce:Ee(i);const Qe=i._writableState;const ve=i._readableState;const onlegacyfinish=()=>{if(!i.writable){onfinish()}};let Re=Be(i)&&pe(i)===le&&Ee(i)===we;let Te=Ce(i,false);const onfinish=()=>{Te=true;if(i.destroyed){Re=false}if(Re&&(!i.readable||le)){return}if(!le||Ne){K.call(i)}};let Ne=he(i,false);const onend=()=>{Ne=true;if(i.destroyed){Re=false}if(Re&&(!i.writable||we)){return}if(!we||Te){K.call(i)}};const onerror=d=>{K.call(i,d)};let ke=Ae(i);const onclose=()=>{ke=true;const d=be(i)||ge(i);if(d&&typeof d!=="boolean"){return K.call(i,d)}if(le&&!Ne&&pe(i,true)){if(!he(i,false))return K.call(i,new te)}if(we&&!Te){if(!Ce(i,false))return K.call(i,new te)}K.call(i)};const onclosed=()=>{ke=true;const d=be(i)||ge(i);if(d&&typeof d!=="boolean"){return K.call(i,d)}K.call(i)};const onrequest=()=>{i.req.on("finish",onfinish)};if(isRequest(i)){i.on("complete",onfinish);if(!Re){i.on("abort",onclose)}if(i.req){onrequest()}else{i.on("request",onrequest)}}else if(we&&!Qe){i.on("end",onlegacyfinish);i.on("close",onlegacyfinish)}if(!Re&&typeof i.aborted==="boolean"){i.on("aborted",onclose)}i.on("end",onend);i.on("finish",onfinish);if(d.error!==false){i.on("error",onerror)}i.on("close",onclose);if(ke){v.nextTick(onclose)}else if(Qe!==null&&Qe!==undefined&&Qe.errorEmitted||ve!==null&&ve!==undefined&&ve.errorEmitted){if(!Re){v.nextTick(onclosed)}}else if(!le&&(!Re||de(i))&&(Te||me(i)===false)){v.nextTick(onclosed)}else if(!we&&(!Re||me(i))&&(Ne||de(i)===false)){v.nextTick(onclosed)}else if(ve&&i.req&&i.aborted){v.nextTick(onclosed)}const cleanup=()=>{K=nop;i.removeListener("aborted",onclose);i.removeListener("complete",onfinish);i.removeListener("abort",onclose);i.removeListener("request",onrequest);if(i.req)i.req.removeListener("finish",onfinish);i.removeListener("end",onlegacyfinish);i.removeListener("close",onlegacyfinish);i.removeListener("finish",onfinish);i.removeListener("end",onend);i.removeListener("error",onerror);i.removeListener("close",onclose)};if(d.signal&&!ke){const abort=()=>{const p=K;cleanup();p.call(i,new V(undefined,{cause:d.signal.reason}))};if(d.signal.aborted){v.nextTick(abort)}else{Se=Se||p(23539).addAbortListener;const v=Se(d.signal,abort);const V=K;K=ne(((...d)=>{v[ue]();V.apply(i,d)}))}}return cleanup}function eosWeb(i,d,K){let ee=false;let te=nop;if(d.signal){te=()=>{ee=true;K.call(i,new V(undefined,{cause:d.signal.reason}))};if(d.signal.aborted){v.nextTick(te)}else{Se=Se||p(23539).addAbortListener;const v=Se(d.signal,te);const V=K;K=ne(((...d)=>{v[ue]();V.apply(i,d)}))}}const resolverFn=(...d)=>{if(!ee){v.nextTick((()=>K.apply(i,d)))}};le(i[we].promise,resolverFn,resolverFn);return nop}function finished(i,d){var p;let v=false;if(d===null){d=re}if((p=d)!==null&&p!==undefined&&p.cleanup){ae(d.cleanup,"cleanup");v=d.cleanup}return new ce(((p,V)=>{const K=eos(i,d,(i=>{if(v){K()}if(i){V(i)}else{p()}}))}))}i.exports=eos;i.exports.finished=finished},4659:(i,d,p)=>{const v=p(7945);const{PromisePrototypeThen:V,SymbolAsyncIterator:K,SymbolIterator:ee}=p(50999);const{Buffer:te}=p(20181);const{ERR_INVALID_ARG_TYPE:re,ERR_STREAM_NULL_VALUES:ne}=p(69220).codes;function from(i,d,p){let ie;if(typeof d==="string"||d instanceof te){return new i({objectMode:true,...p,read(){this.push(d);this.push(null)}})}let se;if(d&&d[K]){se=true;ie=d[K]()}else if(d&&d[ee]){se=false;ie=d[ee]()}else{throw new re("iterable",["Iterable"],d)}const oe=new i({objectMode:true,highWaterMark:1,...p});let ae=false;oe._read=function(){if(!ae){ae=true;next()}};oe._destroy=function(i,d){V(close(i),(()=>v.nextTick(d,i)),(p=>v.nextTick(d,p||i)))};async function close(i){const d=i!==undefined&&i!==null;const p=typeof ie.throw==="function";if(d&&p){const{value:d,done:p}=await ie.throw(i);await d;if(p){return}}if(typeof ie.return==="function"){const{value:i}=await ie.return();await i}}async function next(){for(;;){try{const{value:i,done:d}=se?await ie.next():ie.next();if(d){oe.push(null)}else{const d=i&&typeof i.then==="function"?await i:i;if(d===null){ae=false;throw new ne}else if(oe.push(d)){continue}else{ae=false}}}catch(i){oe.destroy(i)}break}}return oe}i.exports=from},84128:(i,d,p)=>{const{ArrayIsArray:v,ObjectSetPrototypeOf:V}=p(50999);const{EventEmitter:K}=p(24434);function Stream(i){K.call(this,i)}V(Stream.prototype,K.prototype);V(Stream,K);Stream.prototype.pipe=function(i,d){const p=this;function ondata(d){if(i.writable&&i.write(d)===false&&p.pause){p.pause()}}p.on("data",ondata);function ondrain(){if(p.readable&&p.resume){p.resume()}}i.on("drain",ondrain);if(!i._isStdio&&(!d||d.end!==false)){p.on("end",onend);p.on("close",onclose)}let v=false;function onend(){if(v)return;v=true;i.end()}function onclose(){if(v)return;v=true;if(typeof i.destroy==="function")i.destroy()}function onerror(i){cleanup();if(K.listenerCount(this,"error")===0){this.emit("error",i)}}prependListener(p,"error",onerror);prependListener(i,"error",onerror);function cleanup(){p.removeListener("data",ondata);i.removeListener("drain",ondrain);p.removeListener("end",onend);p.removeListener("close",onclose);p.removeListener("error",onerror);i.removeListener("error",onerror);p.removeListener("end",cleanup);p.removeListener("close",cleanup);i.removeListener("close",cleanup)}p.on("end",cleanup);p.on("close",cleanup);i.on("close",cleanup);i.emit("pipe",p);return i};function prependListener(i,d,p){if(typeof i.prependListener==="function")return i.prependListener(d,p);if(!i._events||!i._events[d])i.on(d,p);else if(v(i._events[d]))i._events[d].unshift(p);else i._events[d]=[p,i._events[d]]}i.exports={Stream:Stream,prependListener:prependListener}},11222:(i,d,p)=>{const v=globalThis.AbortController||p(17413).AbortController;const{codes:{ERR_INVALID_ARG_VALUE:V,ERR_INVALID_ARG_TYPE:K,ERR_MISSING_ARGS:ee,ERR_OUT_OF_RANGE:te},AbortError:re}=p(69220);const{validateAbortSignal:ne,validateInteger:ie,validateObject:se}=p(49554);const oe=p(50999).Symbol("kWeak");const ae=p(50999).Symbol("kResistStopPropagation");const{finished:ce}=p(36815);const le=p(64999);const{addAbortSignalNoValidate:ue}=p(80652);const{isWritable:Ae,isNodeStream:de}=p(83426);const{deprecate:pe}=p(23539);const{ArrayPrototypePush:fe,Boolean:he,MathFloor:ge,Number:me,NumberIsNaN:Ee,Promise:ye,PromiseReject:Ce,PromiseResolve:be,PromisePrototypeThen:Ie,Symbol:Be}=p(50999);const we=Be("kEmpty");const Se=Be("kEof");function compose(i,d){if(d!=null){se(d,"options")}if((d===null||d===undefined?undefined:d.signal)!=null){ne(d.signal,"options.signal")}if(de(i)&&!Ae(i)){throw new V("stream",i,"must be writable")}const p=le(this,i);if(d!==null&&d!==undefined&&d.signal){ue(d.signal,p)}return p}function map(i,d){if(typeof i!=="function"){throw new K("fn",["Function","AsyncFunction"],i)}if(d!=null){se(d,"options")}if((d===null||d===undefined?undefined:d.signal)!=null){ne(d.signal,"options.signal")}let v=1;if((d===null||d===undefined?undefined:d.concurrency)!=null){v=ge(d.concurrency)}let V=v-1;if((d===null||d===undefined?undefined:d.highWaterMark)!=null){V=ge(d.highWaterMark)}ie(v,"options.concurrency",1);ie(V,"options.highWaterMark",0);V+=v;return async function*map(){const K=p(23539).AbortSignalAny([d===null||d===undefined?undefined:d.signal].filter(he));const ee=this;const te=[];const ne={signal:K};let ie;let se;let oe=false;let ae=0;function onCatch(){oe=true;afterItemProcessed()}function afterItemProcessed(){ae-=1;maybeResume()}function maybeResume(){if(se&&!oe&&ae=V||ae>=v)){await new ye((i=>{se=i}))}}te.push(Se)}catch(i){const d=Ce(i);Ie(d,afterItemProcessed,onCatch);te.push(d)}finally{oe=true;if(ie){ie();ie=null}}}pump();try{while(true){while(te.length>0){const i=await te[0];if(i===Se){return}if(K.aborted){throw new re}if(i!==we){yield i}te.shift();maybeResume()}await new ye((i=>{ie=i}))}}finally{oe=true;if(se){se();se=null}}}.call(this)}function asIndexedPairs(i=undefined){if(i!=null){se(i,"options")}if((i===null||i===undefined?undefined:i.signal)!=null){ne(i.signal,"options.signal")}return async function*asIndexedPairs(){let d=0;for await(const v of this){var p;if(i!==null&&i!==undefined&&(p=i.signal)!==null&&p!==undefined&&p.aborted){throw new re({cause:i.signal.reason})}yield[d++,v]}}.call(this)}async function some(i,d=undefined){for await(const p of filter.call(this,i,d)){return true}return false}async function every(i,d=undefined){if(typeof i!=="function"){throw new K("fn",["Function","AsyncFunction"],i)}return!await some.call(this,(async(...d)=>!await i(...d)),d)}async function find(i,d){for await(const p of filter.call(this,i,d)){return p}return undefined}async function forEach(i,d){if(typeof i!=="function"){throw new K("fn",["Function","AsyncFunction"],i)}async function forEachFn(d,p){await i(d,p);return we}for await(const i of map.call(this,forEachFn,d));}function filter(i,d){if(typeof i!=="function"){throw new K("fn",["Function","AsyncFunction"],i)}async function filterFn(d,p){if(await i(d,p)){return d}return we}return map.call(this,filterFn,d)}class ReduceAwareErrMissingArgs extends ee{constructor(){super("reduce");this.message="Reduce of an empty stream requires an initial value"}}async function reduce(i,d,p){var V;if(typeof i!=="function"){throw new K("reducer",["Function","AsyncFunction"],i)}if(p!=null){se(p,"options")}if((p===null||p===undefined?undefined:p.signal)!=null){ne(p.signal,"options.signal")}let ee=arguments.length>1;if(p!==null&&p!==undefined&&(V=p.signal)!==null&&V!==undefined&&V.aborted){const i=new re(undefined,{cause:p.signal.reason});this.once("error",(()=>{}));await ce(this.destroy(i));throw i}const te=new v;const ie=te.signal;if(p!==null&&p!==undefined&&p.signal){const i={once:true,[oe]:this,[ae]:true};p.signal.addEventListener("abort",(()=>te.abort()),i)}let le=false;try{for await(const v of this){var ue;le=true;if(p!==null&&p!==undefined&&(ue=p.signal)!==null&&ue!==undefined&&ue.aborted){throw new re}if(!ee){d=v;ee=true}else{d=await i(d,v,{signal:ie})}}if(!le&&!ee){throw new ReduceAwareErrMissingArgs}}finally{te.abort()}return d}async function toArray(i){if(i!=null){se(i,"options")}if((i===null||i===undefined?undefined:i.signal)!=null){ne(i.signal,"options.signal")}const d=[];for await(const v of this){var p;if(i!==null&&i!==undefined&&(p=i.signal)!==null&&p!==undefined&&p.aborted){throw new re(undefined,{cause:i.signal.reason})}fe(d,v)}return d}function flatMap(i,d){const p=map.call(this,i,d);return async function*flatMap(){for await(const i of p){yield*i}}.call(this)}function toIntegerOrInfinity(i){i=me(i);if(Ee(i)){return 0}if(i<0){throw new te("number",">= 0",i)}return i}function drop(i,d=undefined){if(d!=null){se(d,"options")}if((d===null||d===undefined?undefined:d.signal)!=null){ne(d.signal,"options.signal")}i=toIntegerOrInfinity(i);return async function*drop(){var p;if(d!==null&&d!==undefined&&(p=d.signal)!==null&&p!==undefined&&p.aborted){throw new re}for await(const p of this){var v;if(d!==null&&d!==undefined&&(v=d.signal)!==null&&v!==undefined&&v.aborted){throw new re}if(i--<=0){yield p}}}.call(this)}function take(i,d=undefined){if(d!=null){se(d,"options")}if((d===null||d===undefined?undefined:d.signal)!=null){ne(d.signal,"options.signal")}i=toIntegerOrInfinity(i);return async function*take(){var p;if(d!==null&&d!==undefined&&(p=d.signal)!==null&&p!==undefined&&p.aborted){throw new re}for await(const p of this){var v;if(d!==null&&d!==undefined&&(v=d.signal)!==null&&v!==undefined&&v.aborted){throw new re}if(i-- >0){yield p}if(i<=0){return}}}.call(this)}i.exports.streamReturningOperators={asIndexedPairs:pe(asIndexedPairs,"readable.asIndexedPairs will be removed in a future version."),drop:drop,filter:filter,flatMap:flatMap,map:map,take:take,compose:compose};i.exports.promiseReturningOperators={every:every,forEach:forEach,reduce:reduce,toArray:toArray,some:some,find:find}},19173:(i,d,p)=>{const{ObjectSetPrototypeOf:v}=p(50999);i.exports=PassThrough;const V=p(12135);v(PassThrough.prototype,V.prototype);v(PassThrough,V);function PassThrough(i){if(!(this instanceof PassThrough))return new PassThrough(i);V.call(this,i)}PassThrough.prototype._transform=function(i,d,p){p(null,i)}},16701:(i,d,p)=>{const v=p(7945);"use strict";const{ArrayIsArray:V,Promise:K,SymbolAsyncIterator:ee,SymbolDispose:te}=p(50999);const re=p(36815);const{once:ne}=p(23539);const ie=p(65089);const se=p(94449);const{aggregateTwoErrors:oe,codes:{ERR_INVALID_ARG_TYPE:ae,ERR_INVALID_RETURN_VALUE:ce,ERR_MISSING_ARGS:le,ERR_STREAM_DESTROYED:ue,ERR_STREAM_PREMATURE_CLOSE:Ae},AbortError:de}=p(69220);const{validateFunction:pe,validateAbortSignal:fe}=p(49554);const{isIterable:he,isReadable:ge,isReadableNodeStream:me,isNodeStream:Ee,isTransformStream:ye,isWebStream:Ce,isReadableStream:be,isReadableFinished:Ie}=p(83426);const Be=globalThis.AbortController||p(17413).AbortController;let we;let Se;let Qe;function destroyer(i,d,p){let v=false;i.on("close",(()=>{v=true}));const V=re(i,{readable:d,writable:p},(i=>{v=!i}));return{destroy:d=>{if(v)return;v=true;ie.destroyer(i,d||new ue("pipe"))},cleanup:V}}function popCallback(i){pe(i[i.length-1],"streams[stream.length - 1]");return i.pop()}function makeAsyncIterable(i){if(he(i)){return i}else if(me(i)){return fromReadable(i)}throw new ae("val",["Readable","Iterable","AsyncIterable"],i)}async function*fromReadable(i){if(!Se){Se=p(17783)}yield*Se.prototype[ee].call(i)}async function pumpToNode(i,d,p,{end:v}){let V;let ee=null;const resume=i=>{if(i){V=i}if(ee){const i=ee;ee=null;i()}};const wait=()=>new K(((i,d)=>{if(V){d(V)}else{ee=()=>{if(V){d(V)}else{i()}}}}));d.on("drain",resume);const te=re(d,{readable:false},resume);try{if(d.writableNeedDrain){await wait()}for await(const p of i){if(!d.write(p)){await wait()}}if(v){d.end();await wait()}p()}catch(i){p(V!==i?oe(V,i):i)}finally{te();d.off("drain",resume)}}async function pumpToWeb(i,d,p,{end:v}){if(ye(d)){d=d.writable}const V=d.getWriter();try{for await(const d of i){await V.ready;V.write(d).catch((()=>{}))}await V.ready;if(v){await V.close()}p()}catch(i){try{await V.abort(i);p(i)}catch(i){p(i)}}}function pipeline(...i){return pipelineImpl(i,ne(popCallback(i)))}function pipelineImpl(i,d,K){if(i.length===1&&V(i[0])){i=i[0]}if(i.length<2){throw new le("streams")}const ee=new Be;const re=ee.signal;const ne=K===null||K===undefined?undefined:K.signal;const ie=[];fe(ne,"options.signal");function abort(){finishImpl(new de)}Qe=Qe||p(23539).addAbortListener;let oe;if(ne){oe=Qe(ne,abort)}let ue;let Ae;const pe=[];let Ie=0;function finish(i){finishImpl(i,--Ie===0)}function finishImpl(i,p){var V;if(i&&(!ue||ue.code==="ERR_STREAM_PREMATURE_CLOSE")){ue=i}if(!ue&&!p){return}while(pe.length){pe.shift()(ue)}(V=oe)===null||V===undefined?undefined:V[te]();ee.abort();if(p){if(!ue){ie.forEach((i=>i()))}v.nextTick(d,ue,Ae)}}let Se;for(let Te=0;Te0;const xe=ke||(K===null||K===undefined?undefined:K.end)!==false;const _e=Te===i.length-1;if(Ee(Ne)){if(xe){const{destroy:Pe,cleanup:Oe}=destroyer(Ne,ke,De);pe.push(Pe);if(ge(Ne)&&_e){ie.push(Oe)}}function onError(i){if(i&&i.name!=="AbortError"&&i.code!=="ERR_STREAM_PREMATURE_CLOSE"){finish(i)}}Ne.on("error",onError);if(ge(Ne)&&_e){ie.push((()=>{Ne.removeListener("error",onError)}))}}if(Te===0){if(typeof Ne==="function"){Se=Ne({signal:re});if(!he(Se)){throw new ce("Iterable, AsyncIterable or Stream","source",Se)}}else if(he(Ne)||me(Ne)||ye(Ne)){Se=Ne}else{Se=se.from(Ne)}}else if(typeof Ne==="function"){if(ye(Se)){var ve;Se=makeAsyncIterable((ve=Se)===null||ve===undefined?undefined:ve.readable)}else{Se=makeAsyncIterable(Se)}Se=Ne(Se,{signal:re});if(ke){if(!he(Se,true)){throw new ce("AsyncIterable",`transform[${Te-1}]`,Se)}}else{var Re;if(!we){we=p(19173)}const Le=new we({objectMode:true});const Fe=(Re=Se)===null||Re===undefined?undefined:Re.then;if(typeof Fe==="function"){Ie++;Fe.call(Se,(i=>{Ae=i;if(i!=null){Le.write(i)}if(xe){Le.end()}v.nextTick(finish)}),(i=>{Le.destroy(i);v.nextTick(finish,i)}))}else if(he(Se,true)){Ie++;pumpToNode(Se,Le,finish,{end:xe})}else if(be(Se)||ye(Se)){const He=Se.readable||Se;Ie++;pumpToNode(He,Le,finish,{end:xe})}else{throw new ce("AsyncIterable or Promise","destination",Se)}Se=Le;const{destroy:Me,cleanup:Ue}=destroyer(Se,false,true);pe.push(Me);if(_e){ie.push(Ue)}}}else if(Ee(Ne)){if(me(Se)){Ie+=2;const Ge=pipe(Se,Ne,finish,{end:xe});if(ge(Ne)&&_e){ie.push(Ge)}}else if(ye(Se)||be(Se)){const qe=Se.readable||Se;Ie++;pumpToNode(qe,Ne,finish,{end:xe})}else if(he(Se)){Ie++;pumpToNode(Se,Ne,finish,{end:xe})}else{throw new ae("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],Se)}Se=Ne}else if(Ce(Ne)){if(me(Se)){Ie++;pumpToWeb(makeAsyncIterable(Se),Ne,finish,{end:xe})}else if(be(Se)||he(Se)){Ie++;pumpToWeb(Se,Ne,finish,{end:xe})}else if(ye(Se)){Ie++;pumpToWeb(Se.readable,Ne,finish,{end:xe})}else{throw new ae("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],Se)}Se=Ne}else{Se=se.from(Ne)}}if(re!==null&&re!==undefined&&re.aborted||ne!==null&&ne!==undefined&&ne.aborted){v.nextTick(abort)}return Se}function pipe(i,d,p,{end:V}){let K=false;d.on("close",(()=>{if(!K){p(new Ae)}}));i.pipe(d,{end:false});if(V){function endFn(){K=true;d.end()}if(Ie(i)){v.nextTick(endFn)}else{i.once("end",endFn)}}else{p()}re(i,{readable:true,writable:false},(d=>{const v=i._readableState;if(d&&d.code==="ERR_STREAM_PREMATURE_CLOSE"&&v&&v.ended&&!v.errored&&!v.errorEmitted){i.once("end",p).once("error",p)}else{p(d)}}));return re(d,{readable:false,writable:true},p)}i.exports={pipelineImpl:pipelineImpl,pipeline:pipeline}},17783:(i,d,p)=>{const v=p(7945);"use strict";const{ArrayPrototypeIndexOf:V,NumberIsInteger:K,NumberIsNaN:ee,NumberParseInt:te,ObjectDefineProperties:re,ObjectKeys:ne,ObjectSetPrototypeOf:ie,Promise:se,SafeSet:oe,SymbolAsyncDispose:ae,SymbolAsyncIterator:ce,Symbol:le}=p(50999);i.exports=Readable;Readable.ReadableState=ReadableState;const{EventEmitter:ue}=p(24434);const{Stream:Ae,prependListener:de}=p(84128);const{Buffer:pe}=p(20181);const{addAbortSignal:fe}=p(80652);const he=p(36815);let ge=p(23539).debuglog("stream",(i=>{ge=i}));const me=p(77336);const Ee=p(65089);const{getHighWaterMark:ye,getDefaultHighWaterMark:Ce}=p(54874);const{aggregateTwoErrors:be,codes:{ERR_INVALID_ARG_TYPE:Ie,ERR_METHOD_NOT_IMPLEMENTED:Be,ERR_OUT_OF_RANGE:we,ERR_STREAM_PUSH_AFTER_EOF:Se,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:Qe},AbortError:ve}=p(69220);const{validateObject:Re}=p(49554);const Te=le("kPaused");const{StringDecoder:Ne}=p(13193);const ke=p(4659);ie(Readable.prototype,Ae.prototype);ie(Readable,Ae);const nop=()=>{};const{errorOrDestroy:De}=Ee;const xe=1<<0;const _e=1<<1;const Pe=1<<2;const Oe=1<<3;const Le=1<<4;const Fe=1<<5;const Me=1<<6;const Ue=1<<7;const He=1<<8;const Ge=1<<9;const qe=1<<10;const je=1<<11;const Ve=1<<12;const ze=1<<13;const Ye=1<<14;const We=1<<15;const Je=1<<16;const $e=1<<17;const Ke=1<<18;function makeBitMapDescriptor(i){return{enumerable:false,get(){return(this.state&i)!==0},set(d){if(d)this.state|=i;else this.state&=~i}}}re(ReadableState.prototype,{objectMode:makeBitMapDescriptor(xe),ended:makeBitMapDescriptor(_e),endEmitted:makeBitMapDescriptor(Pe),reading:makeBitMapDescriptor(Oe),constructed:makeBitMapDescriptor(Le),sync:makeBitMapDescriptor(Fe),needReadable:makeBitMapDescriptor(Me),emittedReadable:makeBitMapDescriptor(Ue),readableListening:makeBitMapDescriptor(He),resumeScheduled:makeBitMapDescriptor(Ge),errorEmitted:makeBitMapDescriptor(qe),emitClose:makeBitMapDescriptor(je),autoDestroy:makeBitMapDescriptor(Ve),destroyed:makeBitMapDescriptor(ze),closed:makeBitMapDescriptor(Ye),closeEmitted:makeBitMapDescriptor(We),multiAwaitDrain:makeBitMapDescriptor(Je),readingMore:makeBitMapDescriptor($e),dataEmitted:makeBitMapDescriptor(Ke)});function ReadableState(i,d,v){if(typeof v!=="boolean")v=d instanceof p(94449);this.state=je|Ve|Le|Fe;if(i&&i.objectMode)this.state|=xe;if(v&&i&&i.readableObjectMode)this.state|=xe;this.highWaterMark=i?ye(this,i,"readableHighWaterMark",v):Ce(false);this.buffer=new me;this.length=0;this.pipes=[];this.flowing=null;this[Te]=null;if(i&&i.emitClose===false)this.state&=~je;if(i&&i.autoDestroy===false)this.state&=~Ve;this.errored=null;this.defaultEncoding=i&&i.defaultEncoding||"utf8";this.awaitDrainWriters=null;this.decoder=null;this.encoding=null;if(i&&i.encoding){this.decoder=new Ne(i.encoding);this.encoding=i.encoding}}function Readable(i){if(!(this instanceof Readable))return new Readable(i);const d=this instanceof p(94449);this._readableState=new ReadableState(i,this,d);if(i){if(typeof i.read==="function")this._read=i.read;if(typeof i.destroy==="function")this._destroy=i.destroy;if(typeof i.construct==="function")this._construct=i.construct;if(i.signal&&!d)fe(i.signal,this)}Ae.call(this,i);Ee.construct(this,(()=>{if(this._readableState.needReadable){maybeReadMore(this,this._readableState)}}))}Readable.prototype.destroy=Ee.destroy;Readable.prototype._undestroy=Ee.undestroy;Readable.prototype._destroy=function(i,d){d(i)};Readable.prototype[ue.captureRejectionSymbol]=function(i){this.destroy(i)};Readable.prototype[ae]=function(){let i;if(!this.destroyed){i=this.readableEnded?null:new ve;this.destroy(i)}return new se(((d,p)=>he(this,(v=>v&&v!==i?p(v):d(null)))))};Readable.prototype.push=function(i,d){return readableAddChunk(this,i,d,false)};Readable.prototype.unshift=function(i,d){return readableAddChunk(this,i,d,true)};function readableAddChunk(i,d,p,v){ge("readableAddChunk",d);const V=i._readableState;let K;if((V.state&xe)===0){if(typeof d==="string"){p=p||V.defaultEncoding;if(V.encoding!==p){if(v&&V.encoding){d=pe.from(d,p).toString(V.encoding)}else{d=pe.from(d,p);p=""}}}else if(d instanceof pe){p=""}else if(Ae._isUint8Array(d)){d=Ae._uint8ArrayToBuffer(d);p=""}else if(d!=null){K=new Ie("chunk",["string","Buffer","Uint8Array"],d)}}if(K){De(i,K)}else if(d===null){V.state&=~Oe;onEofChunk(i,V)}else if((V.state&xe)!==0||d&&d.length>0){if(v){if((V.state&Pe)!==0)De(i,new Qe);else if(V.destroyed||V.errored)return false;else addChunk(i,V,d,true)}else if(V.ended){De(i,new Se)}else if(V.destroyed||V.errored){return false}else{V.state&=~Oe;if(V.decoder&&!p){d=V.decoder.write(d);if(V.objectMode||d.length!==0)addChunk(i,V,d,false);else maybeReadMore(i,V)}else{addChunk(i,V,d,false)}}}else if(!v){V.state&=~Oe;maybeReadMore(i,V)}return!V.ended&&(V.length0){if((d.state&Je)!==0){d.awaitDrainWriters.clear()}else{d.awaitDrainWriters=null}d.dataEmitted=true;i.emit("data",p)}else{d.length+=d.objectMode?1:p.length;if(v)d.buffer.unshift(p);else d.buffer.push(p);if((d.state&Me)!==0)emitReadable(i)}maybeReadMore(i,d)}Readable.prototype.isPaused=function(){const i=this._readableState;return i[Te]===true||i.flowing===false};Readable.prototype.setEncoding=function(i){const d=new Ne(i);this._readableState.decoder=d;this._readableState.encoding=this._readableState.decoder.encoding;const p=this._readableState.buffer;let v="";for(const i of p){v+=d.write(i)}p.clear();if(v!=="")p.push(v);this._readableState.length=v.length;return this};const Xe=1073741824;function computeNewHighWaterMark(i){if(i>Xe){throw new we("size","<= 1GiB",i)}else{i--;i|=i>>>1;i|=i>>>2;i|=i>>>4;i|=i>>>8;i|=i>>>16;i++}return i}function howMuchToRead(i,d){if(i<=0||d.length===0&&d.ended)return 0;if((d.state&xe)!==0)return 1;if(ee(i)){if(d.flowing&&d.length)return d.buffer.first().length;return d.length}if(i<=d.length)return i;return d.ended?d.length:0}Readable.prototype.read=function(i){ge("read",i);if(i===undefined){i=NaN}else if(!K(i)){i=te(i,10)}const d=this._readableState;const p=i;if(i>d.highWaterMark)d.highWaterMark=computeNewHighWaterMark(i);if(i!==0)d.state&=~Ue;if(i===0&&d.needReadable&&((d.highWaterMark!==0?d.length>=d.highWaterMark:d.length>0)||d.ended)){ge("read: emitReadable",d.length,d.ended);if(d.length===0&&d.ended)endReadable(this);else emitReadable(this);return null}i=howMuchToRead(i,d);if(i===0&&d.ended){if(d.length===0)endReadable(this);return null}let v=(d.state&Me)!==0;ge("need readable",v);if(d.length===0||d.length-i0)V=fromList(i,d);else V=null;if(V===null){d.needReadable=d.length<=d.highWaterMark;i=0}else{d.length-=i;if(d.multiAwaitDrain){d.awaitDrainWriters.clear()}else{d.awaitDrainWriters=null}}if(d.length===0){if(!d.ended)d.needReadable=true;if(p!==i&&d.ended)endReadable(this)}if(V!==null&&!d.errorEmitted&&!d.closeEmitted){d.dataEmitted=true;this.emit("data",V)}return V};function onEofChunk(i,d){ge("onEofChunk");if(d.ended)return;if(d.decoder){const i=d.decoder.end();if(i&&i.length){d.buffer.push(i);d.length+=d.objectMode?1:i.length}}d.ended=true;if(d.sync){emitReadable(i)}else{d.needReadable=false;d.emittedReadable=true;emitReadable_(i)}}function emitReadable(i){const d=i._readableState;ge("emitReadable",d.needReadable,d.emittedReadable);d.needReadable=false;if(!d.emittedReadable){ge("emitReadable",d.flowing);d.emittedReadable=true;v.nextTick(emitReadable_,i)}}function emitReadable_(i){const d=i._readableState;ge("emitReadable_",d.destroyed,d.length,d.ended);if(!d.destroyed&&!d.errored&&(d.length||d.ended)){i.emit("readable");d.emittedReadable=false}d.needReadable=!d.flowing&&!d.ended&&d.length<=d.highWaterMark;flow(i)}function maybeReadMore(i,d){if(!d.readingMore&&d.constructed){d.readingMore=true;v.nextTick(maybeReadMore_,i,d)}}function maybeReadMore_(i,d){while(!d.reading&&!d.ended&&(d.length1&&V.pipes.includes(i)){ge("false write response, pause",V.awaitDrainWriters.size);V.awaitDrainWriters.add(i)}p.pause()}if(!te){te=pipeOnDrain(p,i);i.on("drain",te)}}p.on("data",ondata);function ondata(d){ge("ondata");const p=i.write(d);ge("dest.write",p);if(p===false){pause()}}function onerror(d){ge("onerror",d);unpipe();i.removeListener("error",onerror);if(i.listenerCount("error")===0){const p=i._writableState||i._readableState;if(p&&!p.errorEmitted){De(i,d)}else{i.emit("error",d)}}}de(i,"error",onerror);function onclose(){i.removeListener("finish",onfinish);unpipe()}i.once("close",onclose);function onfinish(){ge("onfinish");i.removeListener("close",onclose);unpipe()}i.once("finish",onfinish);function unpipe(){ge("unpipe");p.unpipe(i)}i.emit("pipe",p);if(i.writableNeedDrain===true){pause()}else if(!V.flowing){ge("pipe resume");p.resume()}return i};function pipeOnDrain(i,d){return function pipeOnDrainFunctionResult(){const p=i._readableState;if(p.awaitDrainWriters===d){ge("pipeOnDrain",1);p.awaitDrainWriters=null}else if(p.multiAwaitDrain){ge("pipeOnDrain",p.awaitDrainWriters.size);p.awaitDrainWriters.delete(d)}if((!p.awaitDrainWriters||p.awaitDrainWriters.size===0)&&i.listenerCount("data")){i.resume()}}}Readable.prototype.unpipe=function(i){const d=this._readableState;const p={hasUnpiped:false};if(d.pipes.length===0)return this;if(!i){const i=d.pipes;d.pipes=[];this.pause();for(let d=0;d0;if(V.flowing!==false)this.resume()}else if(i==="readable"){if(!V.endEmitted&&!V.readableListening){V.readableListening=V.needReadable=true;V.flowing=false;V.emittedReadable=false;ge("on readable",V.length,V.reading);if(V.length){emitReadable(this)}else if(!V.reading){v.nextTick(nReadingNextTick,this)}}}return p};Readable.prototype.addListener=Readable.prototype.on;Readable.prototype.removeListener=function(i,d){const p=Ae.prototype.removeListener.call(this,i,d);if(i==="readable"){v.nextTick(updateReadableListening,this)}return p};Readable.prototype.off=Readable.prototype.removeListener;Readable.prototype.removeAllListeners=function(i){const d=Ae.prototype.removeAllListeners.apply(this,arguments);if(i==="readable"||i===undefined){v.nextTick(updateReadableListening,this)}return d};function updateReadableListening(i){const d=i._readableState;d.readableListening=i.listenerCount("readable")>0;if(d.resumeScheduled&&d[Te]===false){d.flowing=true}else if(i.listenerCount("data")>0){i.resume()}else if(!d.readableListening){d.flowing=null}}function nReadingNextTick(i){ge("readable nexttick read 0");i.read(0)}Readable.prototype.resume=function(){const i=this._readableState;if(!i.flowing){ge("resume");i.flowing=!i.readableListening;resume(this,i)}i[Te]=false;return this};function resume(i,d){if(!d.resumeScheduled){d.resumeScheduled=true;v.nextTick(resume_,i,d)}}function resume_(i,d){ge("resume",d.reading);if(!d.reading){i.read(0)}d.resumeScheduled=false;i.emit("resume");flow(i);if(d.flowing&&!d.reading)i.read(0)}Readable.prototype.pause=function(){ge("call pause flowing=%j",this._readableState.flowing);if(this._readableState.flowing!==false){ge("pause");this._readableState.flowing=false;this.emit("pause")}this._readableState[Te]=true;return this};function flow(i){const d=i._readableState;ge("flow",d.flowing);while(d.flowing&&i.read()!==null);}Readable.prototype.wrap=function(i){let d=false;i.on("data",(p=>{if(!this.push(p)&&i.pause){d=true;i.pause()}}));i.on("end",(()=>{this.push(null)}));i.on("error",(i=>{De(this,i)}));i.on("close",(()=>{this.destroy()}));i.on("destroy",(()=>{this.destroy()}));this._read=()=>{if(d&&i.resume){d=false;i.resume()}};const p=ne(i);for(let d=1;d{v=i?be(v,i):null;p();p=nop}));try{while(true){const d=i.destroyed?null:i.read();if(d!==null){yield d}else if(v){throw v}else if(v===null){return}else{await new se(next)}}}catch(i){v=be(v,i);throw v}finally{if((v||(d===null||d===undefined?undefined:d.destroyOnReturn)!==false)&&(v===undefined||i._readableState.autoDestroy)){Ee.destroyer(i,null)}else{i.off("readable",next);V()}}}re(Readable.prototype,{readable:{__proto__:null,get(){const i=this._readableState;return!!i&&i.readable!==false&&!i.destroyed&&!i.errorEmitted&&!i.endEmitted},set(i){if(this._readableState){this._readableState.readable=!!i}}},readableDidRead:{__proto__:null,enumerable:false,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:false,get:function(){return!!(this._readableState.readable!==false&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:false,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:false,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:false,get:function(){return this._readableState.flowing},set:function(i){if(this._readableState){this._readableState.flowing=i}}},readableLength:{__proto__:null,enumerable:false,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:false,get(){return this._readableState?this._readableState.objectMode:false}},readableEncoding:{__proto__:null,enumerable:false,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:false,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:false}},destroyed:{__proto__:null,enumerable:false,get(){return this._readableState?this._readableState.destroyed:false},set(i){if(!this._readableState){return}this._readableState.destroyed=i}},readableEnded:{__proto__:null,enumerable:false,get(){return this._readableState?this._readableState.endEmitted:false}}});re(ReadableState.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[Te]!==false},set(i){this[Te]=!!i}}});Readable._fromList=fromList;function fromList(i,d){if(d.length===0)return null;let p;if(d.objectMode)p=d.buffer.shift();else if(!i||i>=d.length){if(d.decoder)p=d.buffer.join("");else if(d.buffer.length===1)p=d.buffer.first();else p=d.buffer.concat(d.length);d.buffer.clear()}else{p=d.buffer.consume(i,d.decoder)}return p}function endReadable(i){const d=i._readableState;ge("endReadable",d.endEmitted);if(!d.endEmitted){d.ended=true;v.nextTick(endReadableNT,d,i)}}function endReadableNT(i,d){ge("endReadableNT",i.endEmitted,i.length);if(!i.errored&&!i.closeEmitted&&!i.endEmitted&&i.length===0){i.endEmitted=true;d.emit("end");if(d.writable&&d.allowHalfOpen===false){v.nextTick(endWritableNT,d)}else if(i.autoDestroy){const i=d._writableState;const p=!i||i.autoDestroy&&(i.finished||i.writable===false);if(p){d.destroy()}}}}function endWritableNT(i){const d=i.writable&&!i.writableEnded&&!i.destroyed;if(d){i.end()}}Readable.from=function(i,d){return ke(Readable,i,d)};let Ze;function lazyWebStreams(){if(Ze===undefined)Ze={};return Ze}Readable.fromWeb=function(i,d){return lazyWebStreams().newStreamReadableFromReadableStream(i,d)};Readable.toWeb=function(i,d){return lazyWebStreams().newReadableStreamFromStreamReadable(i,d)};Readable.wrap=function(i,d){var p,v;return new Readable({objectMode:(p=(v=i.readableObjectMode)!==null&&v!==undefined?v:i.objectMode)!==null&&p!==undefined?p:true,...d,destroy(d,p){Ee.destroyer(i,d);p(d)}}).wrap(i)}},54874:(i,d,p)=>{const{MathFloor:v,NumberIsInteger:V}=p(50999);const{validateInteger:K}=p(49554);const{ERR_INVALID_ARG_VALUE:ee}=p(69220).codes;let te=16*1024;let re=16;function highWaterMarkFrom(i,d,p){return i.highWaterMark!=null?i.highWaterMark:d?i[p]:null}function getDefaultHighWaterMark(i){return i?re:te}function setDefaultHighWaterMark(i,d){K(d,"value",0);if(i){re=d}else{te=d}}function getHighWaterMark(i,d,p,K){const te=highWaterMarkFrom(d,K,p);if(te!=null){if(!V(te)||te<0){const i=K?`options.${p}`:"options.highWaterMark";throw new ee(i,te)}return v(te)}return getDefaultHighWaterMark(i.objectMode)}i.exports={getHighWaterMark:getHighWaterMark,getDefaultHighWaterMark:getDefaultHighWaterMark,setDefaultHighWaterMark:setDefaultHighWaterMark}},12135:(i,d,p)=>{const{ObjectSetPrototypeOf:v,Symbol:V}=p(50999);i.exports=Transform;const{ERR_METHOD_NOT_IMPLEMENTED:K}=p(69220).codes;const ee=p(94449);const{getHighWaterMark:te}=p(54874);v(Transform.prototype,ee.prototype);v(Transform,ee);const re=V("kCallback");function Transform(i){if(!(this instanceof Transform))return new Transform(i);const d=i?te(this,i,"readableHighWaterMark",true):null;if(d===0){i={...i,highWaterMark:null,readableHighWaterMark:d,writableHighWaterMark:i.writableHighWaterMark||0}}ee.call(this,i);this._readableState.sync=false;this[re]=null;if(i){if(typeof i.transform==="function")this._transform=i.transform;if(typeof i.flush==="function")this._flush=i.flush}this.on("prefinish",prefinish)}function final(i){if(typeof this._flush==="function"&&!this.destroyed){this._flush(((d,p)=>{if(d){if(i){i(d)}else{this.destroy(d)}return}if(p!=null){this.push(p)}this.push(null);if(i){i()}}))}else{this.push(null);if(i){i()}}}function prefinish(){if(this._final!==final){final.call(this)}}Transform.prototype._final=final;Transform.prototype._transform=function(i,d,p){throw new K("_transform()")};Transform.prototype._write=function(i,d,p){const v=this._readableState;const V=this._writableState;const K=v.length;this._transform(i,d,((i,d)=>{if(i){p(i);return}if(d!=null){this.push(d)}if(V.ended||K===v.length||v.length{const{SymbolAsyncIterator:v,SymbolIterator:V,SymbolFor:K}=p(50999);const ee=K("nodejs.stream.destroyed");const te=K("nodejs.stream.errored");const re=K("nodejs.stream.readable");const ne=K("nodejs.stream.writable");const ie=K("nodejs.stream.disturbed");const se=K("nodejs.webstream.isClosedPromise");const oe=K("nodejs.webstream.controllerErrorFunction");function isReadableNodeStream(i,d=false){var p;return!!(i&&typeof i.pipe==="function"&&typeof i.on==="function"&&(!d||typeof i.pause==="function"&&typeof i.resume==="function")&&(!i._writableState||((p=i._readableState)===null||p===undefined?undefined:p.readable)!==false)&&(!i._writableState||i._readableState))}function isWritableNodeStream(i){var d;return!!(i&&typeof i.write==="function"&&typeof i.on==="function"&&(!i._readableState||((d=i._writableState)===null||d===undefined?undefined:d.writable)!==false))}function isDuplexNodeStream(i){return!!(i&&typeof i.pipe==="function"&&i._readableState&&typeof i.on==="function"&&typeof i.write==="function")}function isNodeStream(i){return i&&(i._readableState||i._writableState||typeof i.write==="function"&&typeof i.on==="function"||typeof i.pipe==="function"&&typeof i.on==="function")}function isReadableStream(i){return!!(i&&!isNodeStream(i)&&typeof i.pipeThrough==="function"&&typeof i.getReader==="function"&&typeof i.cancel==="function")}function isWritableStream(i){return!!(i&&!isNodeStream(i)&&typeof i.getWriter==="function"&&typeof i.abort==="function")}function isTransformStream(i){return!!(i&&!isNodeStream(i)&&typeof i.readable==="object"&&typeof i.writable==="object")}function isWebStream(i){return isReadableStream(i)||isWritableStream(i)||isTransformStream(i)}function isIterable(i,d){if(i==null)return false;if(d===true)return typeof i[v]==="function";if(d===false)return typeof i[V]==="function";return typeof i[v]==="function"||typeof i[V]==="function"}function isDestroyed(i){if(!isNodeStream(i))return null;const d=i._writableState;const p=i._readableState;const v=d||p;return!!(i.destroyed||i[ee]||v!==null&&v!==undefined&&v.destroyed)}function isWritableEnded(i){if(!isWritableNodeStream(i))return null;if(i.writableEnded===true)return true;const d=i._writableState;if(d!==null&&d!==undefined&&d.errored)return false;if(typeof(d===null||d===undefined?undefined:d.ended)!=="boolean")return null;return d.ended}function isWritableFinished(i,d){if(!isWritableNodeStream(i))return null;if(i.writableFinished===true)return true;const p=i._writableState;if(p!==null&&p!==undefined&&p.errored)return false;if(typeof(p===null||p===undefined?undefined:p.finished)!=="boolean")return null;return!!(p.finished||d===false&&p.ended===true&&p.length===0)}function isReadableEnded(i){if(!isReadableNodeStream(i))return null;if(i.readableEnded===true)return true;const d=i._readableState;if(!d||d.errored)return false;if(typeof(d===null||d===undefined?undefined:d.ended)!=="boolean")return null;return d.ended}function isReadableFinished(i,d){if(!isReadableNodeStream(i))return null;const p=i._readableState;if(p!==null&&p!==undefined&&p.errored)return false;if(typeof(p===null||p===undefined?undefined:p.endEmitted)!=="boolean")return null;return!!(p.endEmitted||d===false&&p.ended===true&&p.length===0)}function isReadable(i){if(i&&i[re]!=null)return i[re];if(typeof(i===null||i===undefined?undefined:i.readable)!=="boolean")return null;if(isDestroyed(i))return false;return isReadableNodeStream(i)&&i.readable&&!isReadableFinished(i)}function isWritable(i){if(i&&i[ne]!=null)return i[ne];if(typeof(i===null||i===undefined?undefined:i.writable)!=="boolean")return null;if(isDestroyed(i))return false;return isWritableNodeStream(i)&&i.writable&&!isWritableEnded(i)}function isFinished(i,d){if(!isNodeStream(i)){return null}if(isDestroyed(i)){return true}if((d===null||d===undefined?undefined:d.readable)!==false&&isReadable(i)){return false}if((d===null||d===undefined?undefined:d.writable)!==false&&isWritable(i)){return false}return true}function isWritableErrored(i){var d,p;if(!isNodeStream(i)){return null}if(i.writableErrored){return i.writableErrored}return(d=(p=i._writableState)===null||p===undefined?undefined:p.errored)!==null&&d!==undefined?d:null}function isReadableErrored(i){var d,p;if(!isNodeStream(i)){return null}if(i.readableErrored){return i.readableErrored}return(d=(p=i._readableState)===null||p===undefined?undefined:p.errored)!==null&&d!==undefined?d:null}function isClosed(i){if(!isNodeStream(i)){return null}if(typeof i.closed==="boolean"){return i.closed}const d=i._writableState;const p=i._readableState;if(typeof(d===null||d===undefined?undefined:d.closed)==="boolean"||typeof(p===null||p===undefined?undefined:p.closed)==="boolean"){return(d===null||d===undefined?undefined:d.closed)||(p===null||p===undefined?undefined:p.closed)}if(typeof i._closed==="boolean"&&isOutgoingMessage(i)){return i._closed}return null}function isOutgoingMessage(i){return typeof i._closed==="boolean"&&typeof i._defaultKeepAlive==="boolean"&&typeof i._removedConnection==="boolean"&&typeof i._removedContLen==="boolean"}function isServerResponse(i){return typeof i._sent100==="boolean"&&isOutgoingMessage(i)}function isServerRequest(i){var d;return typeof i._consuming==="boolean"&&typeof i._dumped==="boolean"&&((d=i.req)===null||d===undefined?undefined:d.upgradeOrConnect)===undefined}function willEmitClose(i){if(!isNodeStream(i))return null;const d=i._writableState;const p=i._readableState;const v=d||p;return!v&&isServerResponse(i)||!!(v&&v.autoDestroy&&v.emitClose&&v.closed===false)}function isDisturbed(i){var d;return!!(i&&((d=i[ie])!==null&&d!==undefined?d:i.readableDidRead||i.readableAborted))}function isErrored(i){var d,p,v,V,K,ee,re,ne,ie,se;return!!(i&&((d=(p=(v=(V=(K=(ee=i[te])!==null&&ee!==undefined?ee:i.readableErrored)!==null&&K!==undefined?K:i.writableErrored)!==null&&V!==undefined?V:(re=i._readableState)===null||re===undefined?undefined:re.errorEmitted)!==null&&v!==undefined?v:(ne=i._writableState)===null||ne===undefined?undefined:ne.errorEmitted)!==null&&p!==undefined?p:(ie=i._readableState)===null||ie===undefined?undefined:ie.errored)!==null&&d!==undefined?d:(se=i._writableState)===null||se===undefined?undefined:se.errored))}i.exports={isDestroyed:isDestroyed,kIsDestroyed:ee,isDisturbed:isDisturbed,kIsDisturbed:ie,isErrored:isErrored,kIsErrored:te,isReadable:isReadable,kIsReadable:re,kIsClosedPromise:se,kControllerErrorFunction:oe,kIsWritable:ne,isClosed:isClosed,isDuplexNodeStream:isDuplexNodeStream,isFinished:isFinished,isIterable:isIterable,isReadableNodeStream:isReadableNodeStream,isReadableStream:isReadableStream,isReadableEnded:isReadableEnded,isReadableFinished:isReadableFinished,isReadableErrored:isReadableErrored,isNodeStream:isNodeStream,isWebStream:isWebStream,isWritable:isWritable,isWritableNodeStream:isWritableNodeStream,isWritableStream:isWritableStream,isWritableEnded:isWritableEnded,isWritableFinished:isWritableFinished,isWritableErrored:isWritableErrored,isServerRequest:isServerRequest,isServerResponse:isServerResponse,willEmitClose:willEmitClose,isTransformStream:isTransformStream}},58939:(i,d,p)=>{const v=p(7945);"use strict";const{ArrayPrototypeSlice:V,Error:K,FunctionPrototypeSymbolHasInstance:ee,ObjectDefineProperty:te,ObjectDefineProperties:re,ObjectSetPrototypeOf:ne,StringPrototypeToLowerCase:ie,Symbol:se,SymbolHasInstance:oe}=p(50999);i.exports=Writable;Writable.WritableState=WritableState;const{EventEmitter:ae}=p(24434);const ce=p(84128).Stream;const{Buffer:le}=p(20181);const ue=p(65089);const{addAbortSignal:Ae}=p(80652);const{getHighWaterMark:de,getDefaultHighWaterMark:pe}=p(54874);const{ERR_INVALID_ARG_TYPE:fe,ERR_METHOD_NOT_IMPLEMENTED:he,ERR_MULTIPLE_CALLBACK:ge,ERR_STREAM_CANNOT_PIPE:me,ERR_STREAM_DESTROYED:Ee,ERR_STREAM_ALREADY_FINISHED:ye,ERR_STREAM_NULL_VALUES:Ce,ERR_STREAM_WRITE_AFTER_END:be,ERR_UNKNOWN_ENCODING:Ie}=p(69220).codes;const{errorOrDestroy:Be}=ue;ne(Writable.prototype,ce.prototype);ne(Writable,ce);function nop(){}const we=se("kOnFinished");function WritableState(i,d,v){if(typeof v!=="boolean")v=d instanceof p(94449);this.objectMode=!!(i&&i.objectMode);if(v)this.objectMode=this.objectMode||!!(i&&i.writableObjectMode);this.highWaterMark=i?de(this,i,"writableHighWaterMark",v):pe(false);this.finalCalled=false;this.needDrain=false;this.ending=false;this.ended=false;this.finished=false;this.destroyed=false;const V=!!(i&&i.decodeStrings===false);this.decodeStrings=!V;this.defaultEncoding=i&&i.defaultEncoding||"utf8";this.length=0;this.writing=false;this.corked=0;this.sync=true;this.bufferProcessing=false;this.onwrite=onwrite.bind(undefined,d);this.writecb=null;this.writelen=0;this.afterWriteTickInfo=null;resetBuffer(this);this.pendingcb=0;this.constructed=true;this.prefinished=false;this.errorEmitted=false;this.emitClose=!i||i.emitClose!==false;this.autoDestroy=!i||i.autoDestroy!==false;this.errored=null;this.closed=false;this.closeEmitted=false;this[we]=[]}function resetBuffer(i){i.buffered=[];i.bufferedIndex=0;i.allBuffers=true;i.allNoop=true}WritableState.prototype.getBuffer=function getBuffer(){return V(this.buffered,this.bufferedIndex)};te(WritableState.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function Writable(i){const d=this instanceof p(94449);if(!d&&!ee(Writable,this))return new Writable(i);this._writableState=new WritableState(i,this,d);if(i){if(typeof i.write==="function")this._write=i.write;if(typeof i.writev==="function")this._writev=i.writev;if(typeof i.destroy==="function")this._destroy=i.destroy;if(typeof i.final==="function")this._final=i.final;if(typeof i.construct==="function")this._construct=i.construct;if(i.signal)Ae(i.signal,this)}ce.call(this,i);ue.construct(this,(()=>{const i=this._writableState;if(!i.writing){clearBuffer(this,i)}finishMaybe(this,i)}))}te(Writable,oe,{__proto__:null,value:function(i){if(ee(this,i))return true;if(this!==Writable)return false;return i&&i._writableState instanceof WritableState}});Writable.prototype.pipe=function(){Be(this,new me)};function _write(i,d,p,V){const K=i._writableState;if(typeof p==="function"){V=p;p=K.defaultEncoding}else{if(!p)p=K.defaultEncoding;else if(p!=="buffer"&&!le.isEncoding(p))throw new Ie(p);if(typeof V!=="function")V=nop}if(d===null){throw new Ce}else if(!K.objectMode){if(typeof d==="string"){if(K.decodeStrings!==false){d=le.from(d,p);p="buffer"}}else if(d instanceof le){p="buffer"}else if(ce._isUint8Array(d)){d=ce._uint8ArrayToBuffer(d);p="buffer"}else{throw new fe("chunk",["string","Buffer","Uint8Array"],d)}}let ee;if(K.ending){ee=new be}else if(K.destroyed){ee=new Ee("write")}if(ee){v.nextTick(V,ee);Be(i,ee,true);return ee}K.pendingcb++;return writeOrBuffer(i,K,d,p,V)}Writable.prototype.write=function(i,d,p){return _write(this,i,d,p)===true};Writable.prototype.cork=function(){this._writableState.corked++};Writable.prototype.uncork=function(){const i=this._writableState;if(i.corked){i.corked--;if(!i.writing)clearBuffer(this,i)}};Writable.prototype.setDefaultEncoding=function setDefaultEncoding(i){if(typeof i==="string")i=ie(i);if(!le.isEncoding(i))throw new Ie(i);this._writableState.defaultEncoding=i;return this};function writeOrBuffer(i,d,p,v,V){const K=d.objectMode?1:p.length;d.length+=K;const ee=d.lengthp.bufferedIndex){clearBuffer(i,p)}if(V){if(p.afterWriteTickInfo!==null&&p.afterWriteTickInfo.cb===K){p.afterWriteTickInfo.count++}else{p.afterWriteTickInfo={count:1,cb:K,stream:i,state:p};v.nextTick(afterWriteTick,p.afterWriteTickInfo)}}else{afterWrite(i,p,1,K)}}}function afterWriteTick({stream:i,state:d,count:p,cb:v}){d.afterWriteTickInfo=null;return afterWrite(i,d,p,v)}function afterWrite(i,d,p,v){const V=!d.ending&&!i.destroyed&&d.length===0&&d.needDrain;if(V){d.needDrain=false;i.emit("drain")}while(p-- >0){d.pendingcb--;v()}if(d.destroyed){errorBuffer(d)}finishMaybe(i,d)}function errorBuffer(i){if(i.writing){return}for(let p=i.bufferedIndex;p1&&i._writev){d.pendingcb-=ee-1;const v=d.allNoop?nop:i=>{for(let d=te;d256){p.splice(0,te);d.bufferedIndex=0}else{d.bufferedIndex=te}}d.bufferProcessing=false}Writable.prototype._write=function(i,d,p){if(this._writev){this._writev([{chunk:i,encoding:d}],p)}else{throw new he("_write()")}};Writable.prototype._writev=null;Writable.prototype.end=function(i,d,p){const V=this._writableState;if(typeof i==="function"){p=i;i=null;d=null}else if(typeof d==="function"){p=d;d=null}let ee;if(i!==null&&i!==undefined){const p=_write(this,i,d);if(p instanceof K){ee=p}}if(V.corked){V.corked=1;this.uncork()}if(ee){}else if(!V.errored&&!V.ending){V.ending=true;finishMaybe(this,V,true);V.ended=true}else if(V.finished){ee=new ye("end")}else if(V.destroyed){ee=new Ee("end")}if(typeof p==="function"){if(ee||V.finished){v.nextTick(p,ee)}else{V[we].push(p)}}return this};function needFinish(i){return i.ending&&!i.destroyed&&i.constructed&&i.length===0&&!i.errored&&i.buffered.length===0&&!i.finished&&!i.writing&&!i.errorEmitted&&!i.closeEmitted}function callFinal(i,d){let p=false;function onFinish(V){if(p){Be(i,V!==null&&V!==undefined?V:ge());return}p=true;d.pendingcb--;if(V){const p=d[we].splice(0);for(let i=0;i{if(needFinish(d)){finish(i,d)}else{d.pendingcb--}}),i,d)}else if(needFinish(d)){d.pendingcb++;finish(i,d)}}}}function finish(i,d){d.pendingcb--;d.finished=true;const p=d[we].splice(0);for(let i=0;i{const{ArrayIsArray:v,ArrayPrototypeIncludes:V,ArrayPrototypeJoin:K,ArrayPrototypeMap:ee,NumberIsInteger:te,NumberIsNaN:re,NumberMAX_SAFE_INTEGER:ne,NumberMIN_SAFE_INTEGER:ie,NumberParseInt:se,ObjectPrototypeHasOwnProperty:oe,RegExpPrototypeExec:ae,String:ce,StringPrototypeToUpperCase:le,StringPrototypeTrim:ue}=p(50999);const{hideStackFrames:Ae,codes:{ERR_SOCKET_BAD_PORT:de,ERR_INVALID_ARG_TYPE:pe,ERR_INVALID_ARG_VALUE:fe,ERR_OUT_OF_RANGE:he,ERR_UNKNOWN_SIGNAL:ge}}=p(69220);const{normalizeEncoding:me}=p(23539);const{isAsyncFunction:Ee,isArrayBufferView:ye}=p(23539).types;const Ce={};function isInt32(i){return i===(i|0)}function isUint32(i){return i===i>>>0}const be=/^[0-7]+$/;const Ie="must be a 32-bit unsigned integer or an octal string";function parseFileMode(i,d,p){if(typeof i==="undefined"){i=p}if(typeof i==="string"){if(ae(be,i)===null){throw new fe(d,i,Ie)}i=se(i,8)}Se(i,d);return i}const Be=Ae(((i,d,p=ie,v=ne)=>{if(typeof i!=="number")throw new pe(d,"number",i);if(!te(i))throw new he(d,"an integer",i);if(iv)throw new he(d,`>= ${p} && <= ${v}`,i)}));const we=Ae(((i,d,p=-2147483648,v=2147483647)=>{if(typeof i!=="number"){throw new pe(d,"number",i)}if(!te(i)){throw new he(d,"an integer",i)}if(iv){throw new he(d,`>= ${p} && <= ${v}`,i)}}));const Se=Ae(((i,d,p=false)=>{if(typeof i!=="number"){throw new pe(d,"number",i)}if(!te(i)){throw new he(d,"an integer",i)}const v=p?1:0;const V=4294967295;if(iV){throw new he(d,`>= ${v} && <= ${V}`,i)}}));function validateString(i,d){if(typeof i!=="string")throw new pe(d,"string",i)}function validateNumber(i,d,p=undefined,v){if(typeof i!=="number")throw new pe(d,"number",i);if(p!=null&&iv||(p!=null||v!=null)&&re(i)){throw new he(d,`${p!=null?`>= ${p}`:""}${p!=null&&v!=null?" && ":""}${v!=null?`<= ${v}`:""}`,i)}}const Qe=Ae(((i,d,p)=>{if(!V(p,i)){const v=K(ee(p,(i=>typeof i==="string"?`'${i}'`:ce(i))),", ");const V="must be one of: "+v;throw new fe(d,i,V)}}));function validateBoolean(i,d){if(typeof i!=="boolean")throw new pe(d,"boolean",i)}function getOwnPropertyValueOrDefault(i,d,p){return i==null||!oe(i,d)?p:i[d]}const ve=Ae(((i,d,p=null)=>{const V=getOwnPropertyValueOrDefault(p,"allowArray",false);const K=getOwnPropertyValueOrDefault(p,"allowFunction",false);const ee=getOwnPropertyValueOrDefault(p,"nullable",false);if(!ee&&i===null||!V&&v(i)||typeof i!=="object"&&(!K||typeof i!=="function")){throw new pe(d,"Object",i)}}));const Re=Ae(((i,d)=>{if(i!=null&&typeof i!=="object"&&typeof i!=="function"){throw new pe(d,"a dictionary",i)}}));const Te=Ae(((i,d,p=0)=>{if(!v(i)){throw new pe(d,"Array",i)}if(i.length{if(!ye(i)){throw new pe(d,["Buffer","TypedArray","DataView"],i)}}));function validateEncoding(i,d){const p=me(d);const v=i.length;if(p==="hex"&&v%2!==0){throw new fe("encoding",d,`is invalid for data of length ${v}`)}}function validatePort(i,d="Port",p=true){if(typeof i!=="number"&&typeof i!=="string"||typeof i==="string"&&ue(i).length===0||+i!==+i>>>0||i>65535||i===0&&!p){throw new de(d,i,p)}return i|0}const ke=Ae(((i,d)=>{if(i!==undefined&&(i===null||typeof i!=="object"||!("aborted"in i))){throw new pe(d,"AbortSignal",i)}}));const De=Ae(((i,d)=>{if(typeof i!=="function")throw new pe(d,"Function",i)}));const xe=Ae(((i,d)=>{if(typeof i!=="function"||Ee(i))throw new pe(d,"Function",i)}));const _e=Ae(((i,d)=>{if(i!==undefined)throw new pe(d,"undefined",i)}));function validateUnion(i,d,p){if(!V(p,i)){throw new pe(d,`('${K(p,"|")}')`,i)}}const Pe=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function validateLinkHeaderFormat(i,d){if(typeof i==="undefined"||!ae(Pe,i)){throw new fe(d,i,'must be an array or string of format "; rel=preload; as=style"')}}function validateLinkHeaderValue(i){if(typeof i==="string"){validateLinkHeaderFormat(i,"hints");return i}else if(v(i)){const d=i.length;let p="";if(d===0){return p}for(let v=0;v; rel=preload; as=style"')}i.exports={isInt32:isInt32,isUint32:isUint32,parseFileMode:parseFileMode,validateArray:Te,validateStringArray:validateStringArray,validateBooleanArray:validateBooleanArray,validateAbortSignalArray:validateAbortSignalArray,validateBoolean:validateBoolean,validateBuffer:Ne,validateDictionary:Re,validateEncoding:validateEncoding,validateFunction:De,validateInt32:we,validateInteger:Be,validateNumber:validateNumber,validateObject:ve,validateOneOf:Qe,validatePlainFunction:xe,validatePort:validatePort,validateSignalName:validateSignalName,validateString:validateString,validateUint32:Se,validateUndefined:_e,validateUnion:validateUnion,validateAbortSignal:ke,validateLinkHeaderValue:validateLinkHeaderValue}},69220:(i,d,p)=>{const{format:v,inspect:V,AggregateError:K}=p(23539);const ee=globalThis.AggregateError||K;const te=Symbol("kIsNodeError");const re=["string","function","number","object","Function","Object","boolean","bigint","symbol"];const ne=/^([A-Z][a-z0-9]*)+$/;const ie="__node_internal_";const se={};function assert(i,d){if(!i){throw new se.ERR_INTERNAL_ASSERTION(d)}}function addNumericalSeparator(i){let d="";let p=i.length;const v=i[0]==="-"?1:0;for(;p>=v+4;p-=3){d=`_${i.slice(p-3,p)}${d}`}return`${i.slice(0,p)}${d}`}function getMessage(i,d,p){if(typeof d==="function"){assert(d.length<=p.length,`Code: ${i}; The provided arguments length (${p.length}) does not match the required ones (${d.length}).`);return d(...p)}const V=(d.match(/%[dfijoOs]/g)||[]).length;assert(V===p.length,`Code: ${i}; The provided arguments length (${p.length}) does not match the required ones (${V}).`);if(p.length===0){return d}return v(d,...p)}function E(i,d,p){if(!p){p=Error}class NodeError extends p{constructor(...p){super(getMessage(i,d,p))}toString(){return`${this.name} [${i}]: ${this.message}`}}Object.defineProperties(NodeError.prototype,{name:{value:p.name,writable:true,enumerable:false,configurable:true},toString:{value(){return`${this.name} [${i}]: ${this.message}`},writable:true,enumerable:false,configurable:true}});NodeError.prototype.code=i;NodeError.prototype[te]=true;se[i]=NodeError}function hideStackFrames(i){const d=ie+i.name;Object.defineProperty(i,"name",{value:d});return i}function aggregateTwoErrors(i,d){if(i&&d&&i!==d){if(Array.isArray(d.errors)){d.errors.push(i);return d}const p=new ee([d,i],d.message);p.code=d.code;return p}return i||d}class AbortError extends Error{constructor(i="The operation was aborted",d=undefined){if(d!==undefined&&typeof d!=="object"){throw new se.ERR_INVALID_ARG_TYPE("options","Object",d)}super(i,d);this.code="ABORT_ERR";this.name="AbortError"}}E("ERR_ASSERTION","%s",Error);E("ERR_INVALID_ARG_TYPE",((i,d,p)=>{assert(typeof i==="string","'name' must be a string");if(!Array.isArray(d)){d=[d]}let v="The ";if(i.endsWith(" argument")){v+=`${i} `}else{v+=`"${i}" ${i.includes(".")?"property":"argument"} `}v+="must be ";const K=[];const ee=[];const te=[];for(const i of d){assert(typeof i==="string","All expected entries have to be of type string");if(re.includes(i)){K.push(i.toLowerCase())}else if(ne.test(i)){ee.push(i)}else{assert(i!=="object",'The value "object" should be written as "Object"');te.push(i)}}if(ee.length>0){const i=K.indexOf("object");if(i!==-1){K.splice(K,i,1);ee.push("Object")}}if(K.length>0){switch(K.length){case 1:v+=`of type ${K[0]}`;break;case 2:v+=`one of type ${K[0]} or ${K[1]}`;break;default:{const i=K.pop();v+=`one of type ${K.join(", ")}, or ${i}`}}if(ee.length>0||te.length>0){v+=" or "}}if(ee.length>0){switch(ee.length){case 1:v+=`an instance of ${ee[0]}`;break;case 2:v+=`an instance of ${ee[0]} or ${ee[1]}`;break;default:{const i=ee.pop();v+=`an instance of ${ee.join(", ")}, or ${i}`}}if(te.length>0){v+=" or "}}switch(te.length){case 0:break;case 1:if(te[0].toLowerCase()!==te[0]){v+="an "}v+=`${te[0]}`;break;case 2:v+=`one of ${te[0]} or ${te[1]}`;break;default:{const i=te.pop();v+=`one of ${te.join(", ")}, or ${i}`}}if(p==null){v+=`. Received ${p}`}else if(typeof p==="function"&&p.name){v+=`. Received function ${p.name}`}else if(typeof p==="object"){var ie;if((ie=p.constructor)!==null&&ie!==undefined&&ie.name){v+=`. Received an instance of ${p.constructor.name}`}else{const i=V(p,{depth:-1});v+=`. Received ${i}`}}else{let i=V(p,{colors:false});if(i.length>25){i=`${i.slice(0,25)}...`}v+=`. Received type ${typeof p} (${i})`}return v}),TypeError);E("ERR_INVALID_ARG_VALUE",((i,d,p="is invalid")=>{let v=V(d);if(v.length>128){v=v.slice(0,128)+"..."}const K=i.includes(".")?"property":"argument";return`The ${K} '${i}' ${p}. Received ${v}`}),TypeError);E("ERR_INVALID_RETURN_VALUE",((i,d,p)=>{var v;const V=p!==null&&p!==undefined&&(v=p.constructor)!==null&&v!==undefined&&v.name?`instance of ${p.constructor.name}`:`type ${typeof p}`;return`Expected ${i} to be returned from the "${d}"`+` function but got ${V}.`}),TypeError);E("ERR_MISSING_ARGS",((...i)=>{assert(i.length>0,"At least one arg needs to be specified");let d;const p=i.length;i=(Array.isArray(i)?i:[i]).map((i=>`"${i}"`)).join(" or ");switch(p){case 1:d+=`The ${i[0]} argument`;break;case 2:d+=`The ${i[0]} and ${i[1]} arguments`;break;default:{const p=i.pop();d+=`The ${i.join(", ")}, and ${p} arguments`}break}return`${d} must be specified`}),TypeError);E("ERR_OUT_OF_RANGE",((i,d,p)=>{assert(d,'Missing "range" argument');let v;if(Number.isInteger(p)&&Math.abs(p)>2**32){v=addNumericalSeparator(String(p))}else if(typeof p==="bigint"){v=String(p);if(p>2n**32n||p<-(2n**32n)){v=addNumericalSeparator(v)}v+="n"}else{v=V(p)}return`The value of "${i}" is out of range. It must be ${d}. Received ${v}`}),RangeError);E("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);E("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);E("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);E("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);E("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);E("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);E("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);E("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);E("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);E("ERR_STREAM_WRITE_AFTER_END","write after end",Error);E("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);i.exports={AbortError:AbortError,aggregateTwoErrors:hideStackFrames(aggregateTwoErrors),hideStackFrames:hideStackFrames,codes:se}},29963:(i,d,p)=>{const v=p(2203);if(v&&process.env.READABLE_STREAM==="disable"){const d=v.promises;i.exports._uint8ArrayToBuffer=v._uint8ArrayToBuffer;i.exports._isUint8Array=v._isUint8Array;i.exports.isDisturbed=v.isDisturbed;i.exports.isErrored=v.isErrored;i.exports.isReadable=v.isReadable;i.exports.Readable=v.Readable;i.exports.Writable=v.Writable;i.exports.Duplex=v.Duplex;i.exports.Transform=v.Transform;i.exports.PassThrough=v.PassThrough;i.exports.addAbortSignal=v.addAbortSignal;i.exports.finished=v.finished;i.exports.destroy=v.destroy;i.exports.pipeline=v.pipeline;i.exports.compose=v.compose;Object.defineProperty(v,"promises",{configurable:true,enumerable:true,get(){return d}});i.exports.Stream=v.Stream}else{const d=p(12375);const v=p(65904);const V=d.Readable.destroy;i.exports=d.Readable;i.exports._uint8ArrayToBuffer=d._uint8ArrayToBuffer;i.exports._isUint8Array=d._isUint8Array;i.exports.isDisturbed=d.isDisturbed;i.exports.isErrored=d.isErrored;i.exports.isReadable=d.isReadable;i.exports.Readable=d.Readable;i.exports.Writable=d.Writable;i.exports.Duplex=d.Duplex;i.exports.Transform=d.Transform;i.exports.PassThrough=d.PassThrough;i.exports.addAbortSignal=d.addAbortSignal;i.exports.finished=d.finished;i.exports.destroy=d.destroy;i.exports.destroy=V;i.exports.pipeline=d.pipeline;i.exports.compose=d.compose;Object.defineProperty(d,"promises",{configurable:true,enumerable:true,get(){return v}});i.exports.Stream=d.Stream}i.exports["default"]=i.exports},50999:i=>{i.exports={ArrayIsArray(i){return Array.isArray(i)},ArrayPrototypeIncludes(i,d){return i.includes(d)},ArrayPrototypeIndexOf(i,d){return i.indexOf(d)},ArrayPrototypeJoin(i,d){return i.join(d)},ArrayPrototypeMap(i,d){return i.map(d)},ArrayPrototypePop(i,d){return i.pop(d)},ArrayPrototypePush(i,d){return i.push(d)},ArrayPrototypeSlice(i,d,p){return i.slice(d,p)},Error:Error,FunctionPrototypeCall(i,d,...p){return i.call(d,...p)},FunctionPrototypeSymbolHasInstance(i,d){return Function.prototype[Symbol.hasInstance].call(i,d)},MathFloor:Math.floor,Number:Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(i,d){return Object.defineProperties(i,d)},ObjectDefineProperty(i,d,p){return Object.defineProperty(i,d,p)},ObjectGetOwnPropertyDescriptor(i,d){return Object.getOwnPropertyDescriptor(i,d)},ObjectKeys(i){return Object.keys(i)},ObjectSetPrototypeOf(i,d){return Object.setPrototypeOf(i,d)},Promise:Promise,PromisePrototypeCatch(i,d){return i.catch(d)},PromisePrototypeThen(i,d,p){return i.then(d,p)},PromiseReject(i){return Promise.reject(i)},PromiseResolve(i){return Promise.resolve(i)},ReflectApply:Reflect.apply,RegExpPrototypeTest(i,d){return i.test(d)},SafeSet:Set,String:String,StringPrototypeSlice(i,d,p){return i.slice(d,p)},StringPrototypeToLowerCase(i){return i.toLowerCase()},StringPrototypeToUpperCase(i){return i.toUpperCase()},StringPrototypeTrim(i){return i.trim()},Symbol:Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet(i,d,p){return i.set(d,p)},Boolean:Boolean,Uint8Array:Uint8Array}},23539:(i,d,p)=>{const v=p(20181);const{kResistStopPropagation:V,SymbolDispose:K}=p(50999);const ee=globalThis.AbortSignal||p(17413).AbortSignal;const te=globalThis.AbortController||p(17413).AbortController;const re=Object.getPrototypeOf((async function(){})).constructor;const ne=globalThis.Blob||v.Blob;const ie=typeof ne!=="undefined"?function isBlob(i){return i instanceof ne}:function isBlob(i){return false};const validateAbortSignal=(i,d)=>{if(i!==undefined&&(i===null||typeof i!=="object"||!("aborted"in i))){throw new ERR_INVALID_ARG_TYPE(d,"AbortSignal",i)}};const validateFunction=(i,d)=>{if(typeof i!=="function")throw new ERR_INVALID_ARG_TYPE(d,"Function",i)};class AggregateError extends Error{constructor(i){if(!Array.isArray(i)){throw new TypeError(`Expected input to be an Array, got ${typeof i}`)}let d="";for(let p=0;p{i=p;d=v}));return{promise:p,resolve:i,reject:d}},promisify(i){return new Promise(((d,p)=>{i(((i,...v)=>{if(i){return p(i)}return d(...v)}))}))},debuglog(){return function(){}},format(i,...d){return i.replace(/%([sdifj])/g,(function(...[i,p]){const v=d.shift();if(p==="f"){return v.toFixed(6)}else if(p==="j"){return JSON.stringify(v)}else if(p==="s"&&typeof v==="object"){const i=v.constructor!==Object?v.constructor.name:"";return`${i} {}`.trim()}else{return v.toString()}}))},inspect(i){switch(typeof i){case"string":if(i.includes("'")){if(!i.includes('"')){return`"${i}"`}else if(!i.includes("`")&&!i.includes("${")){return`\`${i}\``}}return`'${i}'`;case"number":if(isNaN(i)){return"NaN"}else if(Object.is(i,-0)){return String(i)}return i;case"bigint":return`${String(i)}n`;case"boolean":case"undefined":return String(i);case"object":return"{}"}},types:{isAsyncFunction(i){return i instanceof re},isArrayBufferView(i){return ArrayBuffer.isView(i)}},isBlob:ie,deprecate(i,d){return i},addAbortListener:p(24434).addAbortListener||function addAbortListener(i,d){if(i===undefined){throw new ERR_INVALID_ARG_TYPE("signal","AbortSignal",i)}validateAbortSignal(i,"signal");validateFunction(d,"listener");let p;if(i.aborted){queueMicrotask((()=>d()))}else{i.addEventListener("abort",d,{__proto__:null,once:true,[V]:true});p=()=>{i.removeEventListener("abort",d)}}return{__proto__:null,[K](){var i;(i=p)===null||i===undefined?undefined:i()}}},AbortSignalAny:ee.any||function AbortSignalAny(i){if(i.length===1){return i[0]}const d=new te;const abort=()=>d.abort();i.forEach((i=>{validateAbortSignal(i,"signals");i.addEventListener("abort",abort,{once:true})}));d.signal.addEventListener("abort",(()=>{i.forEach((i=>i.removeEventListener("abort",abort)))}),{once:true});return d.signal}};i.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")},12375:(i,d,p)=>{const{Buffer:v}=p(20181);"use strict";const{ObjectDefineProperty:V,ObjectKeys:K,ReflectApply:ee}=p(50999);const{promisify:{custom:te}}=p(23539);const{streamReturningOperators:re,promiseReturningOperators:ne}=p(11222);const{codes:{ERR_ILLEGAL_CONSTRUCTOR:ie}}=p(69220);const se=p(64999);const{setDefaultHighWaterMark:oe,getDefaultHighWaterMark:ae}=p(54874);const{pipeline:ce}=p(16701);const{destroyer:le}=p(65089);const ue=p(36815);const Ae={};const de=p(65904);const pe=p(83426);const fe=i.exports=p(84128).Stream;fe.isDestroyed=pe.isDestroyed;fe.isDisturbed=pe.isDisturbed;fe.isErrored=pe.isErrored;fe.isReadable=pe.isReadable;fe.isWritable=pe.isWritable;fe.Readable=p(17783);for(const ge of K(re)){const me=re[ge];function fn(...i){if(new.target){throw ie()}return fe.Readable.from(ee(me,this,i))}V(fn,"name",{__proto__:null,value:me.name});V(fn,"length",{__proto__:null,value:me.length});V(fe.Readable.prototype,ge,{__proto__:null,value:fn,enumerable:false,configurable:true,writable:true})}for(const Ee of K(ne)){const ye=ne[Ee];function fn(...i){if(new.target){throw ie()}return ee(ye,this,i)}V(fn,"name",{__proto__:null,value:ye.name});V(fn,"length",{__proto__:null,value:ye.length});V(fe.Readable.prototype,Ee,{__proto__:null,value:fn,enumerable:false,configurable:true,writable:true})}fe.Writable=p(58939);fe.Duplex=p(94449);fe.Transform=p(12135);fe.PassThrough=p(19173);fe.pipeline=ce;const{addAbortSignal:he}=p(80652);fe.addAbortSignal=he;fe.finished=ue;fe.destroy=le;fe.compose=se;fe.setDefaultHighWaterMark=oe;fe.getDefaultHighWaterMark=ae;V(fe,"promises",{__proto__:null,configurable:true,enumerable:true,get(){return de}});V(ce,te,{__proto__:null,enumerable:true,get(){return de.pipeline}});V(ue,te,{__proto__:null,enumerable:true,get(){return de.finished}});fe.Stream=fe;fe._isUint8Array=function isUint8Array(i){return i instanceof Uint8Array};fe._uint8ArrayToBuffer=function _uint8ArrayToBuffer(i){return v.from(i.buffer,i.byteOffset,i.byteLength)}},65904:(i,d,p)=>{const{ArrayPrototypePop:v,Promise:V}=p(50999);const{isIterable:K,isNodeStream:ee,isWebStream:te}=p(83426);const{pipelineImpl:re}=p(16701);const{finished:ne}=p(36815);p(12375);function pipeline(...i){return new V(((d,p)=>{let V;let ne;const ie=i[i.length-1];if(ie&&typeof ie==="object"&&!ee(ie)&&!K(ie)&&!te(ie)){const d=v(i);V=d.signal;ne=d.end}re(i,((i,v)=>{if(i){p(i)}else{d(v)}}),{signal:V,end:ne})}))}i.exports={finished:ne,pipeline:pipeline}},51364:(i,d,p)=>{i.exports=readdirGlob;const v=p(79896);const{EventEmitter:V}=p(24434);const{Minimatch:K}=p(6944);const{resolve:ee}=p(16928);function readdir(i,d){return new Promise(((p,V)=>{v.readdir(i,{withFileTypes:true},((i,v)=>{if(i){switch(i.code){case"ENOTDIR":if(d){V(i)}else{p([])}break;case"ENOTSUP":case"ENOENT":case"ENAMETOOLONG":case"UNKNOWN":p([]);break;case"ELOOP":default:V(i);break}}else{p(v)}}))}))}function stat(i,d){return new Promise(((p,V)=>{const K=d?v.stat:v.lstat;K(i,((v,V)=>{if(v){switch(v.code){case"ENOENT":if(d){p(stat(i,false))}else{p(null)}break;default:p(null);break}}else{p(V)}}))}))}async function*exploreWalkAsync(i,d,p,v,V,K){let ee=await readdir(d+i,K);for(const K of ee){let ee=K.name;if(ee===undefined){ee=K;v=true}const te=i+"/"+ee;const re=te.slice(1);const ne=d+"/"+re;let ie=null;if(v||p){ie=await stat(ne,p)}if(!ie&&K.name!==undefined){ie=K}if(ie===null){ie={isDirectory:()=>false}}if(ie.isDirectory()){if(!V(re)){yield{relative:re,absolute:ne,stats:ie};yield*exploreWalkAsync(te,d,p,v,V,false)}}else{yield{relative:re,absolute:ne,stats:ie}}}}async function*explore(i,d,p,v){yield*exploreWalkAsync("",i,d,p,v,true)}function readOptions(i){return{pattern:i.pattern,dot:!!i.dot,noglobstar:!!i.noglobstar,matchBase:!!i.matchBase,nocase:!!i.nocase,ignore:i.ignore,skip:i.skip,follow:!!i.follow,stat:!!i.stat,nodir:!!i.nodir,mark:!!i.mark,silent:!!i.silent,absolute:!!i.absolute}}class ReaddirGlob extends V{constructor(i,d,p){super();if(typeof d==="function"){p=d;d=null}this.options=readOptions(d||{});this.matchers=[];if(this.options.pattern){const i=Array.isArray(this.options.pattern)?this.options.pattern:[this.options.pattern];this.matchers=i.map((i=>new K(i,{dot:this.options.dot,noglobstar:this.options.noglobstar,matchBase:this.options.matchBase,nocase:this.options.nocase})))}this.ignoreMatchers=[];if(this.options.ignore){const i=Array.isArray(this.options.ignore)?this.options.ignore:[this.options.ignore];this.ignoreMatchers=i.map((i=>new K(i,{dot:true})))}this.skipMatchers=[];if(this.options.skip){const i=Array.isArray(this.options.skip)?this.options.skip:[this.options.skip];this.skipMatchers=i.map((i=>new K(i,{dot:true})))}this.iterator=explore(ee(i||"."),this.options.follow,this.options.stat,this._shouldSkipDirectory.bind(this));this.paused=false;this.inactive=false;this.aborted=false;if(p){this._matches=[];this.on("match",(i=>this._matches.push(this.options.absolute?i.absolute:i.relative)));this.on("error",(i=>p(i)));this.on("end",(()=>p(null,this._matches)))}setTimeout((()=>this._next()),0)}_shouldSkipDirectory(i){return this.skipMatchers.some((d=>d.match(i)))}_fileMatches(i,d){const p=i+(d?"/":"");return(this.matchers.length===0||this.matchers.some((i=>i.match(p))))&&!this.ignoreMatchers.some((i=>i.match(p)))&&(!this.options.nodir||!d)}_next(){if(!this.paused&&!this.aborted){this.iterator.next().then((i=>{if(!i.done){const d=i.value.stats.isDirectory();if(this._fileMatches(i.value.relative,d)){let p=i.value.relative;let v=i.value.absolute;if(this.options.mark&&d){p+="/";v+="/"}if(this.options.stat){this.emit("match",{relative:p,absolute:v,stat:i.value.stats})}else{this.emit("match",{relative:p,absolute:v})}}this._next(this.iterator)}else{this.emit("end")}})).catch((i=>{this.abort();this.emit("error",i);if(!i.code&&!this.options.silent){console.error(i)}}))}else{this.inactive=true}}abort(){this.aborted=true}pause(){this.paused=true}resume(){this.paused=false;if(this.inactive){this.inactive=false;this._next()}}}function readdirGlob(i,d,p){return new ReaddirGlob(i,d,p)}readdirGlob.ReaddirGlob=ReaddirGlob},63669:i=>{const d=typeof process==="object"&&process&&process.platform==="win32";i.exports=d?{sep:"\\"}:{sep:"/"}},6944:(i,d,p)=>{const v=i.exports=(i,d,p={})=>{assertValidPattern(d);if(!p.nocomment&&d.charAt(0)==="#"){return false}return new Minimatch(d,p).match(i)};i.exports=v;const V=p(63669);v.sep=V.sep;const K=Symbol("globstar **");v.GLOBSTAR=K;const ee=p(94691);const te={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};const re="[^/]";const ne=re+"*?";const ie="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";const se="(?:(?!(?:\\/|^)\\.).)*?";const charSet=i=>i.split("").reduce(((i,d)=>{i[d]=true;return i}),{});const oe=charSet("().*{}+?[]^$\\!");const ae=charSet("[.(");const ce=/\/+/;v.filter=(i,d={})=>(p,V,K)=>v(p,i,d);const ext=(i,d={})=>{const p={};Object.keys(i).forEach((d=>p[d]=i[d]));Object.keys(d).forEach((i=>p[i]=d[i]));return p};v.defaults=i=>{if(!i||typeof i!=="object"||!Object.keys(i).length){return v}const d=v;const m=(p,v,V)=>d(p,v,ext(i,V));m.Minimatch=class Minimatch extends d.Minimatch{constructor(d,p){super(d,ext(i,p))}};m.Minimatch.defaults=p=>d.defaults(ext(i,p)).Minimatch;m.filter=(p,v)=>d.filter(p,ext(i,v));m.defaults=p=>d.defaults(ext(i,p));m.makeRe=(p,v)=>d.makeRe(p,ext(i,v));m.braceExpand=(p,v)=>d.braceExpand(p,ext(i,v));m.match=(p,v,V)=>d.match(p,v,ext(i,V));return m};v.braceExpand=(i,d)=>braceExpand(i,d);const braceExpand=(i,d={})=>{assertValidPattern(i);if(d.nobrace||!/\{(?:(?!\{).)*\}/.test(i)){return[i]}return ee(i)};const le=1024*64;const assertValidPattern=i=>{if(typeof i!=="string"){throw new TypeError("invalid pattern")}if(i.length>le){throw new TypeError("pattern is too long")}};const ue=Symbol("subparse");v.makeRe=(i,d)=>new Minimatch(i,d||{}).makeRe();v.match=(i,d,p={})=>{const v=new Minimatch(d,p);i=i.filter((i=>v.match(i)));if(v.options.nonull&&!i.length){i.push(d)}return i};const globUnescape=i=>i.replace(/\\(.)/g,"$1");const charUnescape=i=>i.replace(/\\([^-\]])/g,"$1");const regExpEscape=i=>i.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");const braExpEscape=i=>i.replace(/[[\]\\]/g,"\\$&");class Minimatch{constructor(i,d){assertValidPattern(i);if(!d)d={};this.options=d;this.set=[];this.pattern=i;this.windowsPathsNoEscape=!!d.windowsPathsNoEscape||d.allowWindowsEscape===false;if(this.windowsPathsNoEscape){this.pattern=this.pattern.replace(/\\/g,"/")}this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.partial=!!d.partial;this.make()}debug(){}make(){const i=this.pattern;const d=this.options;if(!d.nocomment&&i.charAt(0)==="#"){this.comment=true;return}if(!i){this.empty=true;return}this.parseNegate();let p=this.globSet=this.braceExpand();if(d.debug)this.debug=(...i)=>console.error(...i);this.debug(this.pattern,p);p=this.globParts=p.map((i=>i.split(ce)));this.debug(this.pattern,p);p=p.map(((i,d,p)=>i.map(this.parse,this)));this.debug(this.pattern,p);p=p.filter((i=>i.indexOf(false)===-1));this.debug(this.pattern,p);this.set=p}parseNegate(){if(this.options.nonegate)return;const i=this.pattern;let d=false;let p=0;for(let v=0;v>> no match, partial?",i,se,d,oe);if(se===te)return true}return false}var ce;if(typeof ne==="string"){ce=ie===ne;this.debug("string match",ne,ie,ce)}else{ce=ie.match(ne);this.debug("pattern match",ne,ie,ce)}if(!ce)return false}if(V===te&&ee===re){return true}else if(V===te){return p}else if(ee===re){return V===te-1&&i[V]===""}throw new Error("wtf?")}braceExpand(){return braceExpand(this.pattern,this.options)}parse(i,d){assertValidPattern(i);const p=this.options;if(i==="**"){if(!p.noglobstar)return K;else i="*"}if(i==="")return"";let v="";let V=false;let ee=false;const ie=[];const se=[];let ce;let le=false;let Ae=-1;let de=-1;let pe;let fe;let he;let ge=i.charAt(0)===".";let me=p.dot||ge;const patternStart=()=>ge?"":me?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";const subPatternStart=i=>i.charAt(0)==="."?"":p.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";const clearStateChar=()=>{if(ce){switch(ce){case"*":v+=ne;V=true;break;case"?":v+=re;V=true;break;default:v+="\\"+ce;break}this.debug("clearStateChar %j %j",ce,v);ce=false}};for(let d=0,K;d{if(!p){p="\\"}return d+d+p+"|"}));this.debug("tail=%j\n %s",i,i,fe,v);const d=fe.type==="*"?ne:fe.type==="?"?re:"\\"+fe.type;V=true;v=v.slice(0,fe.reStart)+d+"\\("+i}clearStateChar();if(ee){v+="\\\\"}const Ee=ae[v.charAt(0)];for(let i=se.length-1;i>-1;i--){const p=se[i];const V=v.slice(0,p.reStart);const K=v.slice(p.reStart,p.reEnd-8);let ee=v.slice(p.reEnd);const te=v.slice(p.reEnd-8,p.reEnd)+ee;const re=V.split(")").length;const ne=V.split("(").length-re;let ie=ee;for(let i=0;i{i=i.map((i=>typeof i==="string"?regExpEscape(i):i===K?K:i._src)).reduce(((i,d)=>{if(!(i[i.length-1]===K&&d===K)){i.push(d)}return i}),[]);i.forEach(((d,v)=>{if(d!==K||i[v-1]===K){return}if(v===0){if(i.length>1){i[v+1]="(?:\\/|"+p+"\\/)?"+i[v+1]}else{i[v]=p}}else if(v===i.length-1){i[v-1]+="(?:\\/|"+p+")?"}else{i[v-1]+="(?:\\/|\\/"+p+"\\/)"+i[v+1];i[v+1]=K}}));return i.filter((i=>i!==K)).join("/")})).join("|");V="^(?:"+V+")$";if(this.negate)V="^(?!"+V+").*$";try{this.regexp=new RegExp(V,v)}catch(i){this.regexp=false}return this.regexp}match(i,d=this.partial){this.debug("match",i,this.pattern);if(this.comment)return false;if(this.empty)return i==="";if(i==="/"&&d)return true;const p=this.options;if(V.sep!=="/"){i=i.split(V.sep).join("/")}i=i.split(ce);this.debug(this.pattern,"split",i);const v=this.set;this.debug(this.pattern,"set",v);let K;for(let d=i.length-1;d>=0;d--){K=i[d];if(K)break}for(let V=0;V{var v=p(20181);var V=v.Buffer;function copyProps(i,d){for(var p in i){d[p]=i[p]}}if(V.from&&V.alloc&&V.allocUnsafe&&V.allocUnsafeSlow){i.exports=v}else{copyProps(v,d);d.Buffer=SafeBuffer}function SafeBuffer(i,d,p){return V(i,d,p)}copyProps(V,SafeBuffer);SafeBuffer.from=function(i,d,p){if(typeof i==="number"){throw new TypeError("Argument must not be a number")}return V(i,d,p)};SafeBuffer.alloc=function(i,d,p){if(typeof i!=="number"){throw new TypeError("Argument must be a number")}var v=V(i);if(d!==undefined){if(typeof p==="string"){v.fill(d,p)}else{v.fill(d)}}else{v.fill(0)}return v};SafeBuffer.allocUnsafe=function(i){if(typeof i!=="number"){throw new TypeError("Argument must be a number")}return V(i)};SafeBuffer.allocUnsafeSlow=function(i){if(typeof i!=="number"){throw new TypeError("Argument must be a number")}return v.SlowBuffer(i)}},39318:(i,d)=>{d=i.exports=SemVer;var p;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){p=function(){var i=Array.prototype.slice.call(arguments,0);i.unshift("SEMVER");console.log.apply(console,i)}}else{p=function(){}}d.SEMVER_SPEC_VERSION="2.0.0";var v=256;var V=Number.MAX_SAFE_INTEGER||9007199254740991;var K=16;var ee=v-6;var te=d.re=[];var re=d.safeRe=[];var ne=d.src=[];var ie=d.tokens={};var se=0;function tok(i){ie[i]=se++}var oe="[a-zA-Z0-9-]";var ae=[["\\s",1],["\\d",v],[oe,ee]];function makeSafeRe(i){for(var d=0;d)?=?)";tok("XRANGEIDENTIFIERLOOSE");ne[ie.XRANGEIDENTIFIERLOOSE]=ne[ie.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";tok("XRANGEIDENTIFIER");ne[ie.XRANGEIDENTIFIER]=ne[ie.NUMERICIDENTIFIER]+"|x|X|\\*";tok("XRANGEPLAIN");ne[ie.XRANGEPLAIN]="[v=\\s]*("+ne[ie.XRANGEIDENTIFIER]+")"+"(?:\\.("+ne[ie.XRANGEIDENTIFIER]+")"+"(?:\\.("+ne[ie.XRANGEIDENTIFIER]+")"+"(?:"+ne[ie.PRERELEASE]+")?"+ne[ie.BUILD]+"?"+")?)?";tok("XRANGEPLAINLOOSE");ne[ie.XRANGEPLAINLOOSE]="[v=\\s]*("+ne[ie.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+ne[ie.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+ne[ie.XRANGEIDENTIFIERLOOSE]+")"+"(?:"+ne[ie.PRERELEASELOOSE]+")?"+ne[ie.BUILD]+"?"+")?)?";tok("XRANGE");ne[ie.XRANGE]="^"+ne[ie.GTLT]+"\\s*"+ne[ie.XRANGEPLAIN]+"$";tok("XRANGELOOSE");ne[ie.XRANGELOOSE]="^"+ne[ie.GTLT]+"\\s*"+ne[ie.XRANGEPLAINLOOSE]+"$";tok("COERCE");ne[ie.COERCE]="(^|[^\\d])"+"(\\d{1,"+K+"})"+"(?:\\.(\\d{1,"+K+"}))?"+"(?:\\.(\\d{1,"+K+"}))?"+"(?:$|[^\\d])";tok("COERCERTL");te[ie.COERCERTL]=new RegExp(ne[ie.COERCE],"g");re[ie.COERCERTL]=new RegExp(makeSafeRe(ne[ie.COERCE]),"g");tok("LONETILDE");ne[ie.LONETILDE]="(?:~>?)";tok("TILDETRIM");ne[ie.TILDETRIM]="(\\s*)"+ne[ie.LONETILDE]+"\\s+";te[ie.TILDETRIM]=new RegExp(ne[ie.TILDETRIM],"g");re[ie.TILDETRIM]=new RegExp(makeSafeRe(ne[ie.TILDETRIM]),"g");var ce="$1~";tok("TILDE");ne[ie.TILDE]="^"+ne[ie.LONETILDE]+ne[ie.XRANGEPLAIN]+"$";tok("TILDELOOSE");ne[ie.TILDELOOSE]="^"+ne[ie.LONETILDE]+ne[ie.XRANGEPLAINLOOSE]+"$";tok("LONECARET");ne[ie.LONECARET]="(?:\\^)";tok("CARETTRIM");ne[ie.CARETTRIM]="(\\s*)"+ne[ie.LONECARET]+"\\s+";te[ie.CARETTRIM]=new RegExp(ne[ie.CARETTRIM],"g");re[ie.CARETTRIM]=new RegExp(makeSafeRe(ne[ie.CARETTRIM]),"g");var le="$1^";tok("CARET");ne[ie.CARET]="^"+ne[ie.LONECARET]+ne[ie.XRANGEPLAIN]+"$";tok("CARETLOOSE");ne[ie.CARETLOOSE]="^"+ne[ie.LONECARET]+ne[ie.XRANGEPLAINLOOSE]+"$";tok("COMPARATORLOOSE");ne[ie.COMPARATORLOOSE]="^"+ne[ie.GTLT]+"\\s*("+ne[ie.LOOSEPLAIN]+")$|^$";tok("COMPARATOR");ne[ie.COMPARATOR]="^"+ne[ie.GTLT]+"\\s*("+ne[ie.FULLPLAIN]+")$|^$";tok("COMPARATORTRIM");ne[ie.COMPARATORTRIM]="(\\s*)"+ne[ie.GTLT]+"\\s*("+ne[ie.LOOSEPLAIN]+"|"+ne[ie.XRANGEPLAIN]+")";te[ie.COMPARATORTRIM]=new RegExp(ne[ie.COMPARATORTRIM],"g");re[ie.COMPARATORTRIM]=new RegExp(makeSafeRe(ne[ie.COMPARATORTRIM]),"g");var ue="$1$2$3";tok("HYPHENRANGE");ne[ie.HYPHENRANGE]="^\\s*("+ne[ie.XRANGEPLAIN]+")"+"\\s+-\\s+"+"("+ne[ie.XRANGEPLAIN]+")"+"\\s*$";tok("HYPHENRANGELOOSE");ne[ie.HYPHENRANGELOOSE]="^\\s*("+ne[ie.XRANGEPLAINLOOSE]+")"+"\\s+-\\s+"+"("+ne[ie.XRANGEPLAINLOOSE]+")"+"\\s*$";tok("STAR");ne[ie.STAR]="(<|>)?=?\\s*\\*";for(var Ae=0;Aev){return null}var p=d.loose?re[ie.LOOSE]:re[ie.FULL];if(!p.test(i)){return null}try{return new SemVer(i,d)}catch(i){return null}}d.valid=valid;function valid(i,d){var p=parse(i,d);return p?p.version:null}d.clean=clean;function clean(i,d){var p=parse(i.trim().replace(/^[=v]+/,""),d);return p?p.version:null}d.SemVer=SemVer;function SemVer(i,d){if(!d||typeof d!=="object"){d={loose:!!d,includePrerelease:false}}if(i instanceof SemVer){if(i.loose===d.loose){return i}else{i=i.version}}else if(typeof i!=="string"){throw new TypeError("Invalid Version: "+i)}if(i.length>v){throw new TypeError("version is longer than "+v+" characters")}if(!(this instanceof SemVer)){return new SemVer(i,d)}p("SemVer",i,d);this.options=d;this.loose=!!d.loose;var K=i.trim().match(d.loose?re[ie.LOOSE]:re[ie.FULL]);if(!K){throw new TypeError("Invalid Version: "+i)}this.raw=i;this.major=+K[1];this.minor=+K[2];this.patch=+K[3];if(this.major>V||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>V||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>V||this.patch<0){throw new TypeError("Invalid patch version")}if(!K[4]){this.prerelease=[]}else{this.prerelease=K[4].split(".").map((function(i){if(/^[0-9]+$/.test(i)){var d=+i;if(d>=0&&d=0){if(typeof this.prerelease[p]==="number"){this.prerelease[p]++;p=-2}}if(p===-1){this.prerelease.push(0)}}if(d){if(this.prerelease[0]===d){if(isNaN(this.prerelease[1])){this.prerelease=[d,0]}}else{this.prerelease=[d,0]}}break;default:throw new Error("invalid increment argument: "+i)}this.format();this.raw=this.version;return this};d.inc=inc;function inc(i,d,p,v){if(typeof p==="string"){v=p;p=undefined}try{return new SemVer(i,p).inc(d,v).version}catch(i){return null}}d.diff=diff;function diff(i,d){if(eq(i,d)){return null}else{var p=parse(i);var v=parse(d);var V="";if(p.prerelease.length||v.prerelease.length){V="pre";var K="prerelease"}for(var ee in p){if(ee==="major"||ee==="minor"||ee==="patch"){if(p[ee]!==v[ee]){return V+ee}}}return K}}d.compareIdentifiers=compareIdentifiers;var de=/^[0-9]+$/;function compareIdentifiers(i,d){var p=de.test(i);var v=de.test(d);if(p&&v){i=+i;d=+d}return i===d?0:p&&!v?-1:v&&!p?1:i0}d.lt=lt;function lt(i,d,p){return compare(i,d,p)<0}d.eq=eq;function eq(i,d,p){return compare(i,d,p)===0}d.neq=neq;function neq(i,d,p){return compare(i,d,p)!==0}d.gte=gte;function gte(i,d,p){return compare(i,d,p)>=0}d.lte=lte;function lte(i,d,p){return compare(i,d,p)<=0}d.cmp=cmp;function cmp(i,d,p,v){switch(d){case"===":if(typeof i==="object")i=i.version;if(typeof p==="object")p=p.version;return i===p;case"!==":if(typeof i==="object")i=i.version;if(typeof p==="object")p=p.version;return i!==p;case"":case"=":case"==":return eq(i,p,v);case"!=":return neq(i,p,v);case">":return gt(i,p,v);case">=":return gte(i,p,v);case"<":return lt(i,p,v);case"<=":return lte(i,p,v);default:throw new TypeError("Invalid operator: "+d)}}d.Comparator=Comparator;function Comparator(i,d){if(!d||typeof d!=="object"){d={loose:!!d,includePrerelease:false}}if(i instanceof Comparator){if(i.loose===!!d.loose){return i}else{i=i.value}}if(!(this instanceof Comparator)){return new Comparator(i,d)}i=i.trim().split(/\s+/).join(" ");p("comparator",i,d);this.options=d;this.loose=!!d.loose;this.parse(i);if(this.semver===pe){this.value=""}else{this.value=this.operator+this.semver.version}p("comp",this)}var pe={};Comparator.prototype.parse=function(i){var d=this.options.loose?re[ie.COMPARATORLOOSE]:re[ie.COMPARATOR];var p=i.match(d);if(!p){throw new TypeError("Invalid comparator: "+i)}this.operator=p[1]!==undefined?p[1]:"";if(this.operator==="="){this.operator=""}if(!p[2]){this.semver=pe}else{this.semver=new SemVer(p[2],this.options.loose)}};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(i){p("Comparator.test",i,this.options.loose);if(this.semver===pe||i===pe){return true}if(typeof i==="string"){try{i=new SemVer(i,this.options)}catch(i){return false}}return cmp(i,this.operator,this.semver,this.options)};Comparator.prototype.intersects=function(i,d){if(!(i instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!d||typeof d!=="object"){d={loose:!!d,includePrerelease:false}}var p;if(this.operator===""){if(this.value===""){return true}p=new Range(i.value,d);return satisfies(this.value,p,d)}else if(i.operator===""){if(i.value===""){return true}p=new Range(this.value,d);return satisfies(i.semver,p,d)}var v=(this.operator===">="||this.operator===">")&&(i.operator===">="||i.operator===">");var V=(this.operator==="<="||this.operator==="<")&&(i.operator==="<="||i.operator==="<");var K=this.semver.version===i.semver.version;var ee=(this.operator===">="||this.operator==="<=")&&(i.operator===">="||i.operator==="<=");var te=cmp(this.semver,"<",i.semver,d)&&((this.operator===">="||this.operator===">")&&(i.operator==="<="||i.operator==="<"));var re=cmp(this.semver,">",i.semver,d)&&((this.operator==="<="||this.operator==="<")&&(i.operator===">="||i.operator===">"));return v||V||K&&ee||te||re};d.Range=Range;function Range(i,d){if(!d||typeof d!=="object"){d={loose:!!d,includePrerelease:false}}if(i instanceof Range){if(i.loose===!!d.loose&&i.includePrerelease===!!d.includePrerelease){return i}else{return new Range(i.raw,d)}}if(i instanceof Comparator){return new Range(i.value,d)}if(!(this instanceof Range)){return new Range(i,d)}this.options=d;this.loose=!!d.loose;this.includePrerelease=!!d.includePrerelease;this.raw=i.trim().split(/\s+/).join(" ");this.set=this.raw.split("||").map((function(i){return this.parseRange(i.trim())}),this).filter((function(i){return i.length}));if(!this.set.length){throw new TypeError("Invalid SemVer Range: "+this.raw)}this.format()}Range.prototype.format=function(){this.range=this.set.map((function(i){return i.join(" ").trim()})).join("||").trim();return this.range};Range.prototype.toString=function(){return this.range};Range.prototype.parseRange=function(i){var d=this.options.loose;var v=d?re[ie.HYPHENRANGELOOSE]:re[ie.HYPHENRANGE];i=i.replace(v,hyphenReplace);p("hyphen replace",i);i=i.replace(re[ie.COMPARATORTRIM],ue);p("comparator trim",i,re[ie.COMPARATORTRIM]);i=i.replace(re[ie.TILDETRIM],ce);i=i.replace(re[ie.CARETTRIM],le);i=i.split(/\s+/).join(" ");var V=d?re[ie.COMPARATORLOOSE]:re[ie.COMPARATOR];var K=i.split(" ").map((function(i){return parseComparator(i,this.options)}),this).join(" ").split(/\s+/);if(this.options.loose){K=K.filter((function(i){return!!i.match(V)}))}K=K.map((function(i){return new Comparator(i,this.options)}),this);return K};Range.prototype.intersects=function(i,d){if(!(i instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((function(p){return isSatisfiable(p,d)&&i.set.some((function(i){return isSatisfiable(i,d)&&p.every((function(p){return i.every((function(i){return p.intersects(i,d)}))}))}))}))};function isSatisfiable(i,d){var p=true;var v=i.slice();var V=v.pop();while(p&&v.length){p=v.every((function(i){return V.intersects(i,d)}));V=v.pop()}return p}d.toComparators=toComparators;function toComparators(i,d){return new Range(i,d).set.map((function(i){return i.map((function(i){return i.value})).join(" ").trim().split(" ")}))}function parseComparator(i,d){p("comp",i,d);i=replaceCarets(i,d);p("caret",i);i=replaceTildes(i,d);p("tildes",i);i=replaceXRanges(i,d);p("xrange",i);i=replaceStars(i,d);p("stars",i);return i}function isX(i){return!i||i.toLowerCase()==="x"||i==="*"}function replaceTildes(i,d){return i.trim().split(/\s+/).map((function(i){return replaceTilde(i,d)})).join(" ")}function replaceTilde(i,d){var v=d.loose?re[ie.TILDELOOSE]:re[ie.TILDE];return i.replace(v,(function(d,v,V,K,ee){p("tilde",i,d,v,V,K,ee);var te;if(isX(v)){te=""}else if(isX(V)){te=">="+v+".0.0 <"+(+v+1)+".0.0"}else if(isX(K)){te=">="+v+"."+V+".0 <"+v+"."+(+V+1)+".0"}else if(ee){p("replaceTilde pr",ee);te=">="+v+"."+V+"."+K+"-"+ee+" <"+v+"."+(+V+1)+".0"}else{te=">="+v+"."+V+"."+K+" <"+v+"."+(+V+1)+".0"}p("tilde return",te);return te}))}function replaceCarets(i,d){return i.trim().split(/\s+/).map((function(i){return replaceCaret(i,d)})).join(" ")}function replaceCaret(i,d){p("caret",i,d);var v=d.loose?re[ie.CARETLOOSE]:re[ie.CARET];return i.replace(v,(function(d,v,V,K,ee){p("caret",i,d,v,V,K,ee);var te;if(isX(v)){te=""}else if(isX(V)){te=">="+v+".0.0 <"+(+v+1)+".0.0"}else if(isX(K)){if(v==="0"){te=">="+v+"."+V+".0 <"+v+"."+(+V+1)+".0"}else{te=">="+v+"."+V+".0 <"+(+v+1)+".0.0"}}else if(ee){p("replaceCaret pr",ee);if(v==="0"){if(V==="0"){te=">="+v+"."+V+"."+K+"-"+ee+" <"+v+"."+V+"."+(+K+1)}else{te=">="+v+"."+V+"."+K+"-"+ee+" <"+v+"."+(+V+1)+".0"}}else{te=">="+v+"."+V+"."+K+"-"+ee+" <"+(+v+1)+".0.0"}}else{p("no pr");if(v==="0"){if(V==="0"){te=">="+v+"."+V+"."+K+" <"+v+"."+V+"."+(+K+1)}else{te=">="+v+"."+V+"."+K+" <"+v+"."+(+V+1)+".0"}}else{te=">="+v+"."+V+"."+K+" <"+(+v+1)+".0.0"}}p("caret return",te);return te}))}function replaceXRanges(i,d){p("replaceXRanges",i,d);return i.split(/\s+/).map((function(i){return replaceXRange(i,d)})).join(" ")}function replaceXRange(i,d){i=i.trim();var v=d.loose?re[ie.XRANGELOOSE]:re[ie.XRANGE];return i.replace(v,(function(v,V,K,ee,te,re){p("xRange",i,v,V,K,ee,te,re);var ne=isX(K);var ie=ne||isX(ee);var se=ie||isX(te);var oe=se;if(V==="="&&oe){V=""}re=d.includePrerelease?"-0":"";if(ne){if(V===">"||V==="<"){v="<0.0.0-0"}else{v="*"}}else if(V&&oe){if(ie){ee=0}te=0;if(V===">"){V=">=";if(ie){K=+K+1;ee=0;te=0}else{ee=+ee+1;te=0}}else if(V==="<="){V="<";if(ie){K=+K+1}else{ee=+ee+1}}v=V+K+"."+ee+"."+te+re}else if(ie){v=">="+K+".0.0"+re+" <"+(+K+1)+".0.0"+re}else if(se){v=">="+K+"."+ee+".0"+re+" <"+K+"."+(+ee+1)+".0"+re}p("xRange return",v);return v}))}function replaceStars(i,d){p("replaceStars",i,d);return i.trim().replace(re[ie.STAR],"")}function hyphenReplace(i,d,p,v,V,K,ee,te,re,ne,ie,se,oe){if(isX(p)){d=""}else if(isX(v)){d=">="+p+".0.0"}else if(isX(V)){d=">="+p+"."+v+".0"}else{d=">="+d}if(isX(re)){te=""}else if(isX(ne)){te="<"+(+re+1)+".0.0"}else if(isX(ie)){te="<"+re+"."+(+ne+1)+".0"}else if(se){te="<="+re+"."+ne+"."+ie+"-"+se}else{te="<="+te}return(d+" "+te).trim()}Range.prototype.test=function(i){if(!i){return false}if(typeof i==="string"){try{i=new SemVer(i,this.options)}catch(i){return false}}for(var d=0;d0){var K=i[V].semver;if(K.major===d.major&&K.minor===d.minor&&K.patch===d.patch){return true}}}return false}return true}d.satisfies=satisfies;function satisfies(i,d,p){try{d=new Range(d,p)}catch(i){return false}return d.test(i)}d.maxSatisfying=maxSatisfying;function maxSatisfying(i,d,p){var v=null;var V=null;try{var K=new Range(d,p)}catch(i){return null}i.forEach((function(i){if(K.test(i)){if(!v||V.compare(i)===-1){v=i;V=new SemVer(v,p)}}}));return v}d.minSatisfying=minSatisfying;function minSatisfying(i,d,p){var v=null;var V=null;try{var K=new Range(d,p)}catch(i){return null}i.forEach((function(i){if(K.test(i)){if(!v||V.compare(i)===1){v=i;V=new SemVer(v,p)}}}));return v}d.minVersion=minVersion;function minVersion(i,d){i=new Range(i,d);var p=new SemVer("0.0.0");if(i.test(p)){return p}p=new SemVer("0.0.0-0");if(i.test(p)){return p}p=null;for(var v=0;v":if(d.prerelease.length===0){d.patch++}else{d.prerelease.push(0)}d.raw=d.format();case"":case">=":if(!p||gt(p,d)){p=d}break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+i.operator)}}))}if(p&&i.test(p)){return p}return null}d.validRange=validRange;function validRange(i,d){try{return new Range(i,d).range||"*"}catch(i){return null}}d.ltr=ltr;function ltr(i,d,p){return outside(i,d,"<",p)}d.gtr=gtr;function gtr(i,d,p){return outside(i,d,">",p)}d.outside=outside;function outside(i,d,p,v){i=new SemVer(i,v);d=new Range(d,v);var V,K,ee,te,re;switch(p){case">":V=gt;K=lte;ee=lt;te=">";re=">=";break;case"<":V=lt;K=gte;ee=gt;te="<";re="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(i,d,v)){return false}for(var ne=0;ne=0.0.0")}se=se||i;oe=oe||i;if(V(i.semver,se.semver,v)){se=i}else if(ee(i.semver,oe.semver,v)){oe=i}}));if(se.operator===te||se.operator===re){return false}if((!oe.operator||oe.operator===te)&&K(i,oe.semver)){return false}else if(oe.operator===re&&ee(i,oe.semver)){return false}}return true}d.prerelease=prerelease;function prerelease(i,d){var p=parse(i,d);return p&&p.prerelease.length?p.prerelease:null}d.intersects=intersects;function intersects(i,d,p){i=new Range(i,p);d=new Range(d,p);return i.intersects(d)}d.coerce=coerce;function coerce(i,d){if(i instanceof SemVer){return i}if(typeof i==="number"){i=String(i)}if(typeof i!=="string"){return null}d=d||{};var p=null;if(!d.rtl){p=i.match(re[ie.COERCE])}else{var v;while((v=re[ie.COERCERTL].exec(i))&&(!p||p.index+p[0].length!==i.length)){if(!p||v.index+v[0].length!==p.index+p[0].length){p=v}re[ie.COERCERTL].lastIndex=v.index+v[1].length+v[2].length}re[ie.COERCERTL].lastIndex=-1}if(p===null){return null}return parse(p[2]+"."+(p[3]||"0")+"."+(p[4]||"0"),d)}},36204:(i,d,p)=>{const{EventEmitter:v}=p(24434);const V=new Error("Stream was destroyed");const K=new Error("Premature close");const ee=p(5506);const te=p(83867);const re=(1<<28)-1;const ne=1;const ie=2;const se=4;const oe=8;const ae=re^ne;const ce=re^ie;const le=1<<4;const ue=2<<4;const Ae=4<<4;const de=8<<4;const pe=16<<4;const fe=32<<4;const he=64<<4;const ge=128<<4;const me=256<<4;const Ee=512<<4;const ye=1024<<4;const Ce=2048<<4;const be=4096<<4;const Ie=8192<<4;const Be=pe|fe;const we=le|be;const Se=Ae|le;const Qe=me|de;const ve=pe|Ie;const Re=re^le;const Te=re^Ae;const Ne=re^(Ae|be);const ke=re^be;const De=re^pe;const xe=re^(de|Ee);const _e=re^he;const Pe=re^Be;const Oe=re^Ce;const Le=re^ue;const Fe=re^Ie;const Me=re^ve;const Ue=1<<18;const He=2<<18;const Ge=4<<18;const qe=8<<18;const je=16<<18;const Ve=32<<18;const ze=64<<18;const Ye=128<<18;const We=256<<18;const Je=512<<18;const $e=re^(Ue|We);const Ke=re^Ge;const Xe=re^Je;const Ze=re^je;const At=re^qe;const mt=re^Ye;const Et=re^He;const yt=le|Ue;const Ct=re^yt;const bt=ye|Ve;const It=se|oe|ie;const Bt=It|ne;const wt=It|bt;const St=Ke&Te;const Qt=Ye|Ce;const vt=Qt&Ct;const Rt=Bt|vt;const Tt=Bt|he|ye;const Nt=Bt|ye|de;const kt=Bt|he|de;const Dt=Bt|me|de|Ee;const xt=Bt|le|he|ye|be|Ie;const _t=It|he|ye;const Pt=ue|Bt|Ce|Ae;const Ot=Bt|Je|Ve;const Lt=qe|je;const Ft=qe|Ue;const Mt=qe|je|Bt|Ue;const Ut=Bt|Ue|qe;const Ht=Ge|Ue;const Gt=Ue|We;const qt=Bt|Je|Ft|Ve;const jt=je|It|Je|Ve;const Vt=He|Bt|Ye|Ge;const zt=Symbol.asyncIterator||Symbol("asyncIterator");class WritableState{constructor(i,{highWaterMark:d=16384,map:p=null,mapWritable:v,byteLength:V,byteLengthWritable:K}={}){this.stream=i;this.queue=new te;this.highWaterMark=d;this.buffered=0;this.error=null;this.pipeline=null;this.drains=null;this.byteLength=K||V||defaultByteLength;this.map=v||p;this.afterWrite=afterWrite.bind(this);this.afterUpdateNextTick=updateWriteNT.bind(this)}get ended(){return(this.stream._duplexState&Ve)!==0}push(i){if(this.map!==null)i=this.map(i);this.buffered+=this.byteLength(i);this.queue.push(i);if(this.buffered0;this.error=null;this.pipeline=null;this.byteLength=K||V||defaultByteLength;this.map=v||p;this.pipeTo=null;this.afterRead=afterRead.bind(this);this.afterUpdateNextTick=updateReadNT.bind(this)}get ended(){return(this.stream._duplexState&ye)!==0}pipe(i,d){if(this.pipeTo!==null)throw new Error("Can only pipe to one destination");if(typeof d!=="function")d=null;this.stream._duplexState|=fe;this.pipeTo=i;this.pipeline=new Pipeline(this.stream,i,d);if(d)this.stream.on("error",noop);if(isStreamx(i)){i._writableState.pipeline=this.pipeline;if(d)i.on("error",noop);i.on("finish",this.pipeline.finished.bind(this.pipeline))}else{const d=this.pipeline.done.bind(this.pipeline,i);const p=this.pipeline.done.bind(this.pipeline,i,null);i.on("error",d);i.on("close",p);i.on("finish",this.pipeline.finished.bind(this.pipeline))}i.on("drain",afterDrain.bind(this));this.stream.emit("piping",i);i.emit("pipe",this.stream)}push(i){const d=this.stream;if(i===null){this.highWaterMark=0;d._duplexState=(d._duplexState|he)&Ne;return false}if(this.map!==null)i=this.map(i);this.buffered+=this.byteLength(i);this.queue.push(i);d._duplexState=(d._duplexState|de)&ke;return this.buffered0)d.push(this.shift());for(let i=0;i0)v.drains.shift().resolve(false);if(v.pipeline!==null)v.pipeline.done(d,i)}}function afterWrite(i){const d=this.stream;if(i)d.destroy(i);d._duplexState&=$e;if(this.drains!==null)tickDrains(this.drains);if((d._duplexState&Mt)===je){d._duplexState&=Ze;if((d._duplexState&ze)===ze){d.emit("drain")}}this.updateCallback()}function afterRead(i){if(i)this.stream.destroy(i);this.stream._duplexState&=Re;if(this.readAhead===false&&(this.stream._duplexState&pe)===0)this.stream._duplexState&=Fe;this.updateCallback()}function updateReadNT(){if((this.stream._duplexState&ue)===0){this.stream._duplexState&=Oe;this.update()}}function updateWriteNT(){if((this.stream._duplexState&He)===0){this.stream._duplexState&=mt;this.update()}}function tickDrains(i){for(let d=0;d=i._readableState.highWaterMark}static isPaused(i){return(i._duplexState&pe)===0}[zt](){const i=this;let d=null;let p=null;let v=null;this.on("error",(i=>{d=i}));this.on("readable",onreadable);this.on("close",onclose);return{[zt](){return this},next(){return new Promise((function(d,V){p=d;v=V;const K=i.read();if(K!==null)ondata(K);else if((i._duplexState&oe)!==0)ondata(null)}))},return(){return destroy(null)},throw(i){return destroy(i)}};function onreadable(){if(p!==null)ondata(i.read())}function onclose(){if(p!==null)ondata(null)}function ondata(K){if(v===null)return;if(d)v(d);else if(K===null&&(i._duplexState&ye)===0)v(V);else p({value:K,done:K===null});v=p=null}function destroy(d){i.destroy(d);return new Promise(((p,v)=>{if(i._duplexState&oe)return p({value:undefined,done:true});i.once("close",(function(){if(d)v(d);else p({value:undefined,done:true})}))}))}}}class Writable extends Stream{constructor(i){super(i);this._duplexState|=ne|ye;this._writableState=new WritableState(this,i);if(i){if(i.writev)this._writev=i.writev;if(i.write)this._write=i.write;if(i.final)this._final=i.final;if(i.eagerOpen)this._writableState.updateNextTick()}}_writev(i,d){d(null)}_write(i,d){this._writableState.autoBatch(i,d)}_final(i){i(null)}static isBackpressured(i){return(i._duplexState&jt)!==0}static drained(i){if(i.destroyed)return Promise.resolve(false);const d=i._writableState;const p=isWritev(i)?Math.min(1,d.queue.length):d.queue.length;const v=p+(i._duplexState&We?1:0);if(v===0)return Promise.resolve(true);if(d.drains===null)d.drains=[];return new Promise((i=>{d.drains.push({writes:v,resolve:i})}))}write(i){this._writableState.updateNextTick();return this._writableState.push(i)}end(i){this._writableState.updateNextTick();this._writableState.end(i);return this}}class Duplex extends Readable{constructor(i){super(i);this._duplexState=ne|this._duplexState&Ie;this._writableState=new WritableState(this,i);if(i){if(i.writev)this._writev=i.writev;if(i.write)this._write=i.write;if(i.final)this._final=i.final}}_writev(i,d){d(null)}_write(i,d){this._writableState.autoBatch(i,d)}_final(i){i(null)}write(i){this._writableState.updateNextTick();return this._writableState.push(i)}end(i){this._writableState.updateNextTick();this._writableState.end(i);return this}}class Transform extends Duplex{constructor(i){super(i);this._transformState=new TransformState(this);if(i){if(i.transform)this._transform=i.transform;if(i.flush)this._flush=i.flush}}_write(i,d){if(this._readableState.buffered>=this._readableState.highWaterMark){this._transformState.data=i}else{this._transform(i,this._transformState.afterTransform)}}_read(i){if(this._transformState.data!==null){const d=this._transformState.data;this._transformState.data=null;i(null);this._transform(d,this._transformState.afterTransform)}else{i(null)}}destroy(i){super.destroy(i);if(this._transformState.data!==null){this._transformState.data=null;this._transformState.afterTransform()}}_transform(i,d){d(null,i)}_flush(i){i(null)}_final(i){this._transformState.afterFinal=i;this._flush(transformAfterFlush.bind(this))}}class PassThrough extends Transform{}function transformAfterFlush(i,d){const p=this._transformState.afterFinal;if(i)return p(i);if(d!==null&&d!==undefined)this.push(d);this.push(null);p(null)}function pipelinePromise(...i){return new Promise(((d,p)=>pipeline(...i,(i=>{if(i)return p(i);d()}))))}function pipeline(i,...d){const p=Array.isArray(i)?[...i,...d]:[i,...d];const v=p.length&&typeof p[p.length-1]==="function"?p.pop():null;if(p.length<2)throw new Error("Pipeline requires at least 2 streams");let V=p[0];let ee=null;let te=null;for(let i=1;i1,onerror);V.pipe(ee)}V=ee}if(v){let i=false;const d=isStreamx(ee)||!!(ee._writableState&&ee._writableState.autoDestroy);ee.on("error",(i=>{if(te===null)te=i}));ee.on("finish",(()=>{i=true;if(!d)v(te)}));if(d){ee.on("close",(()=>v(te||(i?null:K))))}}return ee;function errorHandle(i,d,p,v){i.on("error",v);i.on("close",onclose);function onclose(){if(d&&i._readableState&&!i._readableState.ended)return v(K);if(p&&i._writableState&&!i._writableState.ended)return v(K)}}function onerror(i){if(!i||te)return;te=i;for(const d of p){d.destroy(i)}}}function isStream(i){return!!i._readableState||!!i._writableState}function isStreamx(i){return typeof i._duplexState==="number"&&isStream(i)}function getStreamError(i){const d=i._readableState&&i._readableState.error||i._writableState&&i._writableState.error;return d===V?null:d}function isReadStreamx(i){return isStreamx(i)&&i.readable}function isTypedArray(i){return typeof i==="object"&&i!==null&&typeof i.byteLength==="number"}function defaultByteLength(i){return isTypedArray(i)?i.byteLength:1024}function noop(){}function abort(){this.destroy(new Error("Stream aborted."))}function isWritev(i){return i._writev!==Writable.prototype._writev&&i._writev!==Duplex.prototype._writev}i.exports={pipeline:pipeline,pipelinePromise:pipelinePromise,isStream:isStream,isStreamx:isStreamx,getStreamError:getStreamError,Stream:Stream,Writable:Writable,Readable:Readable,Duplex:Duplex,Transform:Transform,PassThrough:PassThrough}},80634:(i,d,p)=>{var v=p(93058).Buffer;var V=v.isEncoding||function(i){i=""+i;switch(i&&i.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return true;default:return false}};function _normalizeEncoding(i){if(!i)return"utf8";var d;while(true){switch(i){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return i;default:if(d)return;i=(""+i).toLowerCase();d=true}}}function normalizeEncoding(i){var d=_normalizeEncoding(i);if(typeof d!=="string"&&(v.isEncoding===V||!V(i)))throw new Error("Unknown encoding: "+i);return d||i}d.I=StringDecoder;function StringDecoder(i){this.encoding=normalizeEncoding(i);var d;switch(this.encoding){case"utf16le":this.text=utf16Text;this.end=utf16End;d=4;break;case"utf8":this.fillLast=utf8FillLast;d=4;break;case"base64":this.text=base64Text;this.end=base64End;d=3;break;default:this.write=simpleWrite;this.end=simpleEnd;return}this.lastNeed=0;this.lastTotal=0;this.lastChar=v.allocUnsafe(d)}StringDecoder.prototype.write=function(i){if(i.length===0)return"";var d;var p;if(this.lastNeed){d=this.fillLast(i);if(d===undefined)return"";p=this.lastNeed;this.lastNeed=0}else{p=0}if(p>5===6)return 2;else if(i>>4===14)return 3;else if(i>>3===30)return 4;return i>>6===2?-1:-2}function utf8CheckIncomplete(i,d,p){var v=d.length-1;if(v=0){if(V>0)i.lastNeed=V-1;return V}if(--v=0){if(V>0)i.lastNeed=V-2;return V}if(--v=0){if(V>0){if(V===2)V=0;else i.lastNeed=V-3}return V}return 0}function utf8CheckExtraBytes(i,d,p){if((d[0]&192)!==128){i.lastNeed=0;return"�"}if(i.lastNeed>1&&d.length>1){if((d[1]&192)!==128){i.lastNeed=1;return"�"}if(i.lastNeed>2&&d.length>2){if((d[2]&192)!==128){i.lastNeed=2;return"�"}}}}function utf8FillLast(i){var d=this.lastTotal-this.lastNeed;var p=utf8CheckExtraBytes(this,i,d);if(p!==undefined)return p;if(this.lastNeed<=i.length){i.copy(this.lastChar,d,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}i.copy(this.lastChar,d,0,i.length);this.lastNeed-=i.length}function utf8Text(i,d){var p=utf8CheckIncomplete(this,i,d);if(!this.lastNeed)return i.toString("utf8",d);this.lastTotal=p;var v=i.length-(p-this.lastNeed);i.copy(this.lastChar,0,v);return i.toString("utf8",d,v)}function utf8End(i){var d=i&&i.length?this.write(i):"";if(this.lastNeed)return d+"�";return d}function utf16Text(i,d){if((i.length-d)%2===0){var p=i.toString("utf16le",d);if(p){var v=p.charCodeAt(p.length-1);if(v>=55296&&v<=56319){this.lastNeed=2;this.lastTotal=4;this.lastChar[0]=i[i.length-2];this.lastChar[1]=i[i.length-1];return p.slice(0,-1)}}return p}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=i[i.length-1];return i.toString("utf16le",d,i.length-1)}function utf16End(i){var d=i&&i.length?this.write(i):"";if(this.lastNeed){var p=this.lastTotal-this.lastNeed;return d+this.lastChar.toString("utf16le",0,p)}return d}function base64Text(i,d){var p=(i.length-d)%3;if(p===0)return i.toString("base64",d);this.lastNeed=3-p;this.lastTotal=3;if(p===1){this.lastChar[0]=i[i.length-1]}else{this.lastChar[0]=i[i.length-2];this.lastChar[1]=i[i.length-1]}return i.toString("base64",d,i.length-p)}function base64End(i){var d=i&&i.length?this.write(i):"";if(this.lastNeed)return d+this.lastChar.toString("base64",0,3-this.lastNeed);return d}function simpleWrite(i){return i.toString(this.encoding)}function simpleEnd(i){return i&&i.length?this.write(i):""}},21450:(i,d,p)=>{const v=p(70857);const V=p(52018);const K=p(83813);const{env:ee}=process;let te;if(K("no-color")||K("no-colors")||K("color=false")||K("color=never")){te=0}else if(K("color")||K("colors")||K("color=true")||K("color=always")){te=1}if("FORCE_COLOR"in ee){if(ee.FORCE_COLOR==="true"){te=1}else if(ee.FORCE_COLOR==="false"){te=0}else{te=ee.FORCE_COLOR.length===0?1:Math.min(parseInt(ee.FORCE_COLOR,10),3)}}function translateLevel(i){if(i===0){return false}return{level:i,hasBasic:true,has256:i>=2,has16m:i>=3}}function supportsColor(i,d){if(te===0){return 0}if(K("color=16m")||K("color=full")||K("color=truecolor")){return 3}if(K("color=256")){return 2}if(i&&!d&&te===undefined){return 0}const p=te||0;if(ee.TERM==="dumb"){return p}if(process.platform==="win32"){const i=v.release().split(".");if(Number(i[0])>=10&&Number(i[2])>=10586){return Number(i[2])>=14931?3:2}return 1}if("CI"in ee){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((i=>i in ee))||ee.CI_NAME==="codeship"){return 1}return p}if("TEAMCITY_VERSION"in ee){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(ee.TEAMCITY_VERSION)?1:0}if(ee.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in ee){const i=parseInt((ee.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(ee.TERM_PROGRAM){case"iTerm.app":return i>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(ee.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(ee.TERM)){return 1}if("COLORTERM"in ee){return 1}return p}function getSupportLevel(i){const d=supportsColor(i,i&&i.isTTY);return translateLevel(d)}i.exports={supportsColor:getSupportLevel,stdout:translateLevel(supportsColor(true,V.isatty(1))),stderr:translateLevel(supportsColor(true,V.isatty(2)))}},20775:(i,d,p)=>{const v={S_IFMT:61440,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960};try{i.exports=p(79896).constants||v}catch{i.exports=v}},35763:(i,d,p)=>{const{Writable:v,Readable:V,getStreamError:K}=p(36204);const ee=p(83867);const te=p(73057);const re=p(88428);const ne=te.alloc(0);class BufferList{constructor(){this.buffered=0;this.shifted=0;this.queue=new ee;this._offset=0}push(i){this.buffered+=i.byteLength;this.queue.push(i)}shiftFirst(i){return this._buffered===0?null:this._next(i)}shift(i){if(i>this.buffered)return null;if(i===0)return ne;let d=this._next(i);if(i===d.byteLength)return d;const p=[d];while((i-=d.byteLength)>0){d=this._next(i);p.push(d)}return te.concat(p)}_next(i){const d=this.queue.peek();const p=d.byteLength-this._offset;if(i>=p){const i=this._offset?d.subarray(this._offset,d.byteLength):d;this.queue.shift();this._offset=0;this.buffered-=p;this.shifted+=p;return i}this.buffered-=i;this.shifted+=i;return d.subarray(this._offset,this._offset+=i)}}class Source extends V{constructor(i,d,p){super();this.header=d;this.offset=p;this._parent=i}_read(i){if(this.header.size===0){this.push(null)}if(this._parent._stream===this){this._parent._update()}i(null)}_predestroy(){this._parent.destroy(K(this))}_detach(){if(this._parent._stream===this){this._parent._stream=null;this._parent._missing=overflow(this.header.size);this._parent._update()}}_destroy(i){this._detach();i(null)}}class Extract extends v{constructor(i){super(i);if(!i)i={};this._buffer=new BufferList;this._offset=0;this._header=null;this._stream=null;this._missing=0;this._longHeader=false;this._callback=noop;this._locked=false;this._finished=false;this._pax=null;this._paxGlobal=null;this._gnuLongPath=null;this._gnuLongLinkPath=null;this._filenameEncoding=i.filenameEncoding||"utf-8";this._allowUnknownFormat=!!i.allowUnknownFormat;this._unlockBound=this._unlock.bind(this)}_unlock(i){this._locked=false;if(i){this.destroy(i);this._continueWrite(i);return}this._update()}_consumeHeader(){if(this._locked)return false;this._offset=this._buffer.shifted;try{this._header=re.decode(this._buffer.shift(512),this._filenameEncoding,this._allowUnknownFormat)}catch(i){this._continueWrite(i);return false}if(!this._header)return true;switch(this._header.type){case"gnu-long-path":case"gnu-long-link-path":case"pax-global-header":case"pax-header":this._longHeader=true;this._missing=this._header.size;return true}this._locked=true;this._applyLongHeaders();if(this._header.size===0||this._header.type==="directory"){this.emit("entry",this._header,this._createStream(),this._unlockBound);return true}this._stream=this._createStream();this._missing=this._header.size;this.emit("entry",this._header,this._stream,this._unlockBound);return true}_applyLongHeaders(){if(this._gnuLongPath){this._header.name=this._gnuLongPath;this._gnuLongPath=null}if(this._gnuLongLinkPath){this._header.linkname=this._gnuLongLinkPath;this._gnuLongLinkPath=null}if(this._pax){if(this._pax.path)this._header.name=this._pax.path;if(this._pax.linkpath)this._header.linkname=this._pax.linkpath;if(this._pax.size)this._header.size=parseInt(this._pax.size,10);this._header.pax=this._pax;this._pax=null}}_decodeLongHeader(i){switch(this._header.type){case"gnu-long-path":this._gnuLongPath=re.decodeLongPath(i,this._filenameEncoding);break;case"gnu-long-link-path":this._gnuLongLinkPath=re.decodeLongPath(i,this._filenameEncoding);break;case"pax-global-header":this._paxGlobal=re.decodePax(i);break;case"pax-header":this._pax=this._paxGlobal===null?re.decodePax(i):Object.assign({},this._paxGlobal,re.decodePax(i));break}}_consumeLongHeader(){this._longHeader=false;this._missing=overflow(this._header.size);const i=this._buffer.shift(this._header.size);try{this._decodeLongHeader(i)}catch(i){this._continueWrite(i);return false}return true}_consumeStream(){const i=this._buffer.shiftFirst(this._missing);if(i===null)return false;this._missing-=i.byteLength;const d=this._stream.push(i);if(this._missing===0){this._stream.push(null);if(d)this._stream._detach();return d&&this._locked===false}return d}_createStream(){return new Source(this,this._header,this._offset)}_update(){while(this._buffer.buffered>0&&!this.destroying){if(this._missing>0){if(this._stream!==null){if(this._consumeStream()===false)return;continue}if(this._longHeader===true){if(this._missing>this._buffer.buffered)break;if(this._consumeLongHeader()===false)return false;continue}const i=this._buffer.shiftFirst(this._missing);if(i!==null)this._missing-=i.byteLength;continue}if(this._buffer.buffered<512)break;if(this._stream!==null||this._consumeHeader()===false)return}this._continueWrite(null)}_continueWrite(i){const d=this._callback;this._callback=noop;d(i)}_write(i,d){this._callback=d;this._buffer.push(i);this._update()}_final(i){this._finished=this._missing===0&&this._buffer.buffered===0;i(this._finished?null:new Error("Unexpected end of data"))}_predestroy(){this._continueWrite(null)}_destroy(i){if(this._stream)this._stream.destroy(K(this));i(null)}[Symbol.asyncIterator](){let i=null;let d=null;let p=null;let v=null;let V=null;const K=this;this.on("entry",onentry);this.on("error",(d=>{i=d}));this.on("close",onclose);return{[Symbol.asyncIterator](){return this},next(){return new Promise(onnext)},return(){return destroy(null)},throw(i){return destroy(i)}};function consumeCallback(i){if(!V)return;const d=V;V=null;d(i)}function onnext(V,ee){if(i){return ee(i)}if(v){V({value:v,done:false});v=null;return}d=V;p=ee;consumeCallback(null);if(K._finished&&d){d({value:undefined,done:true});d=p=null}}function onentry(i,K,ee){V=ee;K.on("error",noop);if(d){d({value:K,done:false});d=p=null}else{v=K}}function onclose(){consumeCallback(i);if(!d)return;if(i)p(i);else d({value:undefined,done:true});d=p=null}function destroy(i){K.destroy(i);consumeCallback(i);return new Promise(((d,p)=>{if(K.destroyed)return d({value:undefined,done:true});K.once("close",(function(){if(i)p(i);else d({value:undefined,done:true})}))}))}}}i.exports=function extract(i){return new Extract(i)};function noop(){}function overflow(i){i&=511;return i&&512-i}},88428:(i,d,p)=>{const v=p(73057);const V="0000000000000000000";const K="7777777777777777777";const ee="0".charCodeAt(0);const te=v.from([117,115,116,97,114,0]);const re=v.from([ee,ee]);const ne=v.from([117,115,116,97,114,32]);const ie=v.from([32,0]);const se=4095;const oe=257;const ae=263;d.decodeLongPath=function decodeLongPath(i,d){return decodeStr(i,0,i.length,d)};d.encodePax=function encodePax(i){let d="";if(i.name)d+=addLength(" path="+i.name+"\n");if(i.linkname)d+=addLength(" linkpath="+i.linkname+"\n");const p=i.pax;if(p){for(const i in p){d+=addLength(" "+i+"="+p[i]+"\n")}}return v.from(d)};d.decodePax=function decodePax(i){const d={};while(i.length){let p=0;while(p100){const i=p.indexOf("/");if(i===-1)return null;V+=V?"/"+p.slice(0,i):p.slice(0,i);p=p.slice(i+1)}if(v.byteLength(p)>100||v.byteLength(V)>155)return null;if(i.linkname&&v.byteLength(i.linkname)>100)return null;v.write(d,p);v.write(d,encodeOct(i.mode&se,6),100);v.write(d,encodeOct(i.uid,6),108);v.write(d,encodeOct(i.gid,6),116);encodeSize(i.size,d,124);v.write(d,encodeOct(i.mtime.getTime()/1e3|0,11),136);d[156]=ee+toTypeflag(i.type);if(i.linkname)v.write(d,i.linkname,157);v.copy(te,d,oe);v.copy(re,d,ae);if(i.uname)v.write(d,i.uname,265);if(i.gname)v.write(d,i.gname,297);v.write(d,encodeOct(i.devmajor||0,6),329);v.write(d,encodeOct(i.devminor||0,6),337);if(V)v.write(d,V,345);v.write(d,encodeOct(cksum(d),6),148);return d};d.decode=function decode(i,d,p){let v=i[156]===0?0:i[156]-ee;let V=decodeStr(i,0,100,d);const K=decodeOct(i,100,8);const te=decodeOct(i,108,8);const re=decodeOct(i,116,8);const ne=decodeOct(i,124,12);const ie=decodeOct(i,136,12);const se=toType(v);const oe=i[157]===0?null:decodeStr(i,157,100,d);const ae=decodeStr(i,265,32);const ce=decodeStr(i,297,32);const le=decodeOct(i,329,8);const ue=decodeOct(i,337,8);const Ae=cksum(i);if(Ae===8*32)return null;if(Ae!==decodeOct(i,148,8))throw new Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");if(isUSTAR(i)){if(i[345])V=decodeStr(i,345,155,d)+"/"+V}else if(isGNU(i)){}else{if(!p){throw new Error("Invalid tar header: unknown format.")}}if(v===0&&V&&V[V.length-1]==="/")v=5;return{name:V,mode:K,uid:te,gid:re,size:ne,mtime:new Date(1e3*ie),type:se,linkname:oe,uname:ae,gname:ce,devmajor:le,devminor:ue,pax:null}};function isUSTAR(i){return v.equals(te,i.subarray(oe,oe+6))}function isGNU(i){return v.equals(ne,i.subarray(oe,oe+6))&&v.equals(ie,i.subarray(ae,ae+2))}function clamp(i,d,p){if(typeof i!=="number")return p;i=~~i;if(i>=d)return d;if(i>=0)return i;i+=d;if(i>=0)return i;return 0}function toType(i){switch(i){case 0:return"file";case 1:return"link";case 2:return"symlink";case 3:return"character-device";case 4:return"block-device";case 5:return"directory";case 6:return"fifo";case 7:return"contiguous-file";case 72:return"pax-header";case 55:return"pax-global-header";case 27:return"gnu-long-link-path";case 28:case 30:return"gnu-long-path"}return null}function toTypeflag(i){switch(i){case"file":return 0;case"link":return 1;case"symlink":return 2;case"character-device":return 3;case"block-device":return 4;case"directory":return 5;case"fifo":return 6;case"contiguous-file":return 7;case"pax-header":return 72}return 0}function indexOf(i,d,p,v){for(;pd)return K.slice(0,d)+" ";return V.slice(0,d-i.length)+i+" "}function encodeSizeBin(i,d,p){d[p]=128;for(let v=11;v>0;v--){d[p+v]=i&255;i=Math.floor(i/256)}}function encodeSize(i,d,p){if(i.toString(8).length>11){encodeSizeBin(i,d,p)}else{v.write(d,encodeOct(i,11),p)}}function parse256(i){let d;if(i[0]===128)d=true;else if(i[0]===255)d=false;else return null;const p=[];let v;for(v=i.length-1;v>0;v--){const V=i[v];if(d)p.push(V);else p.push(255-V)}let V=0;const K=p.length;for(v=0;v=Math.pow(10,p))p++;return d+p+i}},56118:(i,d,p)=>{d.extract=p(35763);d.pack=p(80861)},80861:(i,d,p)=>{const{Readable:v,Writable:V,getStreamError:K}=p(36204);const ee=p(73057);const te=p(20775);const re=p(88428);const ne=493;const ie=420;const se=ee.alloc(1024);class Sink extends V{constructor(i,d,p){super({mapWritable:mapWritable,eagerOpen:true});this.written=0;this.header=d;this._callback=p;this._linkname=null;this._isLinkname=d.type==="symlink"&&!d.linkname;this._isVoid=d.type!=="file"&&d.type!=="contiguous-file";this._finished=false;this._pack=i;this._openCallback=null;if(this._pack._stream===null)this._pack._stream=this;else this._pack._pending.push(this)}_open(i){this._openCallback=i;if(this._pack._stream===this)this._continueOpen()}_continuePack(i){if(this._callback===null)return;const d=this._callback;this._callback=null;d(i)}_continueOpen(){if(this._pack._stream===null)this._pack._stream=this;const i=this._openCallback;this._openCallback=null;if(i===null)return;if(this._pack.destroying)return i(new Error("pack stream destroyed"));if(this._pack._finalized)return i(new Error("pack stream is already finalized"));this._pack._stream=this;if(!this._isLinkname){this._pack._encode(this.header)}if(this._isVoid){this._finish();this._continuePack(null)}i(null)}_write(i,d){if(this._isLinkname){this._linkname=this._linkname?ee.concat([this._linkname,i]):i;return d(null)}if(this._isVoid){if(i.byteLength>0){return d(new Error("No body allowed for this entry"))}return d()}this.written+=i.byteLength;if(this._pack.push(i))return d();this._pack._drain=d}_finish(){if(this._finished)return;this._finished=true;if(this._isLinkname){this.header.linkname=this._linkname?ee.toString(this._linkname,"utf-8"):"";this._pack._encode(this.header)}overflow(this._pack,this.header.size);this._pack._done(this)}_final(i){if(this.written!==this.header.size){return i(new Error("Size mismatch"))}this._finish();i(null)}_getError(){return K(this)||new Error("tar entry destroyed")}_predestroy(){this._pack.destroy(this._getError())}_destroy(i){this._pack._done(this);this._continuePack(this._finished?null:this._getError());i()}}class Pack extends v{constructor(i){super(i);this._drain=noop;this._finalized=false;this._finalizing=false;this._pending=[];this._stream=null}entry(i,d,p){if(this._finalized||this.destroying)throw new Error("already finalized or destroyed");if(typeof d==="function"){p=d;d=null}if(!p)p=noop;if(!i.size||i.type==="symlink")i.size=0;if(!i.type)i.type=modeToType(i.mode);if(!i.mode)i.mode=i.type==="directory"?ne:ie;if(!i.uid)i.uid=0;if(!i.gid)i.gid=0;if(!i.mtime)i.mtime=new Date;if(typeof d==="string")d=ee.from(d);const v=new Sink(this,i,p);if(ee.isBuffer(d)){i.size=d.byteLength;v.write(d);v.end();return v}if(v._isVoid){return v}return v}finalize(){if(this._stream||this._pending.length>0){this._finalizing=true;return}if(this._finalized)return;this._finalized=true;this.push(se);this.push(null)}_done(i){if(i!==this._stream)return;this._stream=null;if(this._finalizing)this.finalize();if(this._pending.length)this._pending.shift()._continueOpen()}_encode(i){if(!i.pax){const d=re.encode(i);if(d){this.push(d);return}}this._encodePax(i)}_encodePax(i){const d=re.encodePax({name:i.name,linkname:i.linkname,pax:i.pax});const p={name:"PaxHeader",mode:i.mode,uid:i.uid,gid:i.gid,size:d.byteLength,mtime:i.mtime,type:"pax-header",linkname:i.linkname&&"PaxHeader",uname:i.uname,gname:i.gname,devmajor:i.devmajor,devminor:i.devminor};this.push(re.encode(p));this.push(d);overflow(this,d.byteLength);p.size=i.size;p.type=i.type;this.push(re.encode(p))}_doDrain(){const i=this._drain;this._drain=noop;i()}_predestroy(){const i=K(this);if(this._stream)this._stream.destroy(i);while(this._pending.length){const d=this._pending.shift();d.destroy(i);d._continueOpen()}this._doDrain()}_read(i){this._doDrain();i()}}i.exports=function pack(i){return new Pack(i)};function modeToType(i){switch(i&te.S_IFMT){case te.S_IFBLK:return"block-device";case te.S_IFCHR:return"character-device";case te.S_IFDIR:return"directory";case te.S_IFIFO:return"fifo";case te.S_IFLNK:return"symlink"}return"file"}function noop(){}function overflow(i,d){d&=511;if(d)i.push(se.subarray(0,512-d))}function mapWritable(i){return ee.isBuffer(i)?i:ee.from(i)}},51288:(i,d,p)=>{ +i.exports=function(i,d){if(typeof i!=="string"){throw new TypeError("expected path to be a string")}if(i==="\\"||i==="/")return"/";var p=i.length;if(p<=1)return i;var v="";if(p>4&&i[3]==="\\"){var V=i[2];if((V==="?"||V===".")&&i.slice(0,2)==="\\\\"){i=i.slice(2);v="//"}}var K=i.split(/[/\\]+/);if(d!==false&&K[K.length-1]===""){K.pop()}return v+K.join("/")}},55560:(i,d,p)=>{var v=p(58264);i.exports=v(once);i.exports.strict=v(onceStrict);once.proto=once((function(){Object.defineProperty(Function.prototype,"once",{value:function(){return once(this)},configurable:true});Object.defineProperty(Function.prototype,"onceStrict",{value:function(){return onceStrict(this)},configurable:true})}));function once(i){var f=function(){if(f.called)return f.value;f.called=true;return f.value=i.apply(this,arguments)};f.called=false;return f}function onceStrict(i){var f=function(){if(f.called)throw new Error(f.onceError);f.called=true;return f.value=i.apply(this,arguments)};var d=i.name||"Function wrapped with `once`";f.onceError=d+" shouldn't be called more than once";f.called=false;return f}},19183:i=>{if(typeof process==="undefined"||!process.version||process.version.indexOf("v0.")===0||process.version.indexOf("v1.")===0&&process.version.indexOf("v1.8.")!==0){i.exports={nextTick:nextTick}}else{i.exports=process}function nextTick(i,d,p,v){if(typeof i!=="function"){throw new TypeError('"callback" argument must be a function')}var V=arguments.length;var K,ee;switch(V){case 0:case 1:return process.nextTick(i);case 2:return process.nextTick((function afterTickOne(){i.call(null,d)}));case 3:return process.nextTick((function afterTickTwo(){i.call(null,d,p)}));case 4:return process.nextTick((function afterTickThree(){i.call(null,d,p,v)}));default:K=new Array(V-1);ee=0;while(ee{i.exports=global.process},5506:(i,d,p)=>{i.exports=typeof process!=="undefined"&&typeof process.nextTick==="function"?process.nextTick.bind(process):p(36828)},36828:i=>{i.exports=typeof queueMicrotask==="function"?queueMicrotask:i=>Promise.resolve().then(i)},80652:(i,d,p)=>{const{SymbolDispose:v}=p(50999);const{AbortError:V,codes:K}=p(69220);const{isNodeStream:ee,isWebStream:te,kControllerErrorFunction:re}=p(83426);const ne=p(36815);const{ERR_INVALID_ARG_TYPE:se}=K;let ie;const validateAbortSignal=(i,d)=>{if(typeof i!=="object"||!("aborted"in i)){throw new se(d,"AbortSignal",i)}};i.exports.addAbortSignal=function addAbortSignal(d,p){validateAbortSignal(d,"signal");if(!ee(p)&&!te(p)){throw new se("stream",["ReadableStream","WritableStream","Stream"],p)}return i.exports.addAbortSignalNoValidate(d,p)};i.exports.addAbortSignalNoValidate=function(i,d){if(typeof i!=="object"||!("aborted"in i)){return d}const K=ee(d)?()=>{d.destroy(new V(undefined,{cause:i.reason}))}:()=>{d[re](new V(undefined,{cause:i.reason}))};if(i.aborted){K()}else{ie=ie||p(23539).addAbortListener;const V=ie(i,K);ne(d,V[v])}return d}},77336:(i,d,p)=>{const{StringPrototypeSlice:v,SymbolIterator:V,TypedArrayPrototypeSet:K,Uint8Array:ee}=p(50999);const{Buffer:te}=p(20181);const{inspect:re}=p(23539);i.exports=class BufferList{constructor(){this.head=null;this.tail=null;this.length=0}push(i){const d={data:i,next:null};if(this.length>0)this.tail.next=d;else this.head=d;this.tail=d;++this.length}unshift(i){const d={data:i,next:this.head};if(this.length===0)this.tail=d;this.head=d;++this.length}shift(){if(this.length===0)return;const i=this.head.data;if(this.length===1)this.head=this.tail=null;else this.head=this.head.next;--this.length;return i}clear(){this.head=this.tail=null;this.length=0}join(i){if(this.length===0)return"";let d=this.head;let p=""+d.data;while((d=d.next)!==null)p+=i+d.data;return p}concat(i){if(this.length===0)return te.alloc(0);const d=te.allocUnsafe(i>>>0);let p=this.head;let v=0;while(p){K(d,p.data,v);v+=p.data.length;p=p.next}return d}consume(i,d){const p=this.head.data;if(iK.length){d+=K;i-=K.length}else{if(i===K.length){d+=K;++V;if(p.next)this.head=p.next;else this.head=this.tail=null}else{d+=v(K,0,i);this.head=p;p.data=v(K,i)}break}++V}while((p=p.next)!==null);this.length-=V;return d}_getBuffer(i){const d=te.allocUnsafe(i);const p=i;let v=this.head;let V=0;do{const te=v.data;if(i>te.length){K(d,te,p-i);i-=te.length}else{if(i===te.length){K(d,te,p-i);++V;if(v.next)this.head=v.next;else this.head=this.tail=null}else{K(d,new ee(te.buffer,te.byteOffset,i),p-i);this.head=v;v.data=te.slice(i)}break}++V}while((v=v.next)!==null);this.length-=V;return d}[Symbol.for("nodejs.util.inspect.custom")](i,d){return re(this,{...d,depth:0,customInspect:false})}}},64999:(i,d,p)=>{const{pipeline:v}=p(16701);const V=p(94449);const{destroyer:K}=p(65089);const{isNodeStream:ee,isReadable:te,isWritable:re,isWebStream:ne,isTransformStream:se,isWritableStream:ie,isReadableStream:oe}=p(83426);const{AbortError:ae,codes:{ERR_INVALID_ARG_VALUE:Ae,ERR_MISSING_ARGS:ce}}=p(69220);const le=p(36815);i.exports=function compose(...i){if(i.length===0){throw new ce("streams")}if(i.length===1){return V.from(i[0])}const d=[...i];if(typeof i[0]==="function"){i[0]=V.from(i[0])}if(typeof i[i.length-1]==="function"){const d=i.length-1;i[d]=V.from(i[d])}for(let p=0;p0&&!(re(i[p])||ie(i[p])||se(i[p]))){throw new Ae(`streams[${p}]`,d[p],"must be writable")}}let p;let ue;let de;let he;let fe;function onfinished(i){const d=he;he=null;if(d){d(i)}else if(i){fe.destroy(i)}else if(!Ee&&!me){fe.destroy()}}const ge=i[0];const pe=v(i,onfinished);const me=!!(re(ge)||ie(ge)||se(ge));const Ee=!!(te(pe)||oe(pe)||se(pe));fe=new V({writableObjectMode:!!(ge!==null&&ge!==undefined&&ge.writableObjectMode),readableObjectMode:!!(pe!==null&&pe!==undefined&&pe.readableObjectMode),writable:me,readable:Ee});if(me){if(ee(ge)){fe._write=function(i,d,v){if(ge.write(i,d)){v()}else{p=v}};fe._final=function(i){ge.end();ue=i};ge.on("drain",(function(){if(p){const i=p;p=null;i()}}))}else if(ne(ge)){const i=se(ge)?ge.writable:ge;const d=i.getWriter();fe._write=async function(i,p,v){try{await d.ready;d.write(i).catch((()=>{}));v()}catch(i){v(i)}};fe._final=async function(i){try{await d.ready;d.close().catch((()=>{}));ue=i}catch(d){i(d)}}}const i=se(pe)?pe.readable:pe;le(i,(()=>{if(ue){const i=ue;ue=null;i()}}))}if(Ee){if(ee(pe)){pe.on("readable",(function(){if(de){const i=de;de=null;i()}}));pe.on("end",(function(){fe.push(null)}));fe._read=function(){while(true){const i=pe.read();if(i===null){de=fe._read;return}if(!fe.push(i)){return}}}}else if(ne(pe)){const i=se(pe)?pe.readable:pe;const d=i.getReader();fe._read=async function(){while(true){try{const{value:i,done:p}=await d.read();if(!fe.push(i)){return}if(p){fe.push(null);return}}catch{return}}}}}fe._destroy=function(i,d){if(!i&&he!==null){i=new ae}de=null;p=null;ue=null;if(he===null){d(i)}else{he=d;if(ee(pe)){K(pe,i)}}};return fe}},65089:(i,d,p)=>{const v=p(7945);const{aggregateTwoErrors:V,codes:{ERR_MULTIPLE_CALLBACK:K},AbortError:ee}=p(69220);const{Symbol:te}=p(50999);const{kIsDestroyed:re,isDestroyed:ne,isFinished:se,isServerRequest:ie}=p(83426);const oe=te("kDestroy");const ae=te("kConstruct");function checkError(i,d,p){if(i){i.stack;if(d&&!d.errored){d.errored=i}if(p&&!p.errored){p.errored=i}}}function destroy(i,d){const p=this._readableState;const v=this._writableState;const K=v||p;if(v!==null&&v!==undefined&&v.destroyed||p!==null&&p!==undefined&&p.destroyed){if(typeof d==="function"){d()}return this}checkError(i,v,p);if(v){v.destroyed=true}if(p){p.destroyed=true}if(!K.constructed){this.once(oe,(function(p){_destroy(this,V(p,i),d)}))}else{_destroy(this,i,d)}return this}function _destroy(i,d,p){let V=false;function onDestroy(d){if(V){return}V=true;const K=i._readableState;const ee=i._writableState;checkError(d,ee,K);if(ee){ee.closed=true}if(K){K.closed=true}if(typeof p==="function"){p(d)}if(d){v.nextTick(emitErrorCloseNT,i,d)}else{v.nextTick(emitCloseNT,i)}}try{i._destroy(d||null,onDestroy)}catch(d){onDestroy(d)}}function emitErrorCloseNT(i,d){emitErrorNT(i,d);emitCloseNT(i)}function emitCloseNT(i){const d=i._readableState;const p=i._writableState;if(p){p.closeEmitted=true}if(d){d.closeEmitted=true}if(p!==null&&p!==undefined&&p.emitClose||d!==null&&d!==undefined&&d.emitClose){i.emit("close")}}function emitErrorNT(i,d){const p=i._readableState;const v=i._writableState;if(v!==null&&v!==undefined&&v.errorEmitted||p!==null&&p!==undefined&&p.errorEmitted){return}if(v){v.errorEmitted=true}if(p){p.errorEmitted=true}i.emit("error",d)}function undestroy(){const i=this._readableState;const d=this._writableState;if(i){i.constructed=true;i.closed=false;i.closeEmitted=false;i.destroyed=false;i.errored=null;i.errorEmitted=false;i.reading=false;i.ended=i.readable===false;i.endEmitted=i.readable===false}if(d){d.constructed=true;d.destroyed=false;d.closed=false;d.closeEmitted=false;d.errored=null;d.errorEmitted=false;d.finalCalled=false;d.prefinished=false;d.ended=d.writable===false;d.ending=d.writable===false;d.finished=d.writable===false}}function errorOrDestroy(i,d,p){const V=i._readableState;const K=i._writableState;if(K!==null&&K!==undefined&&K.destroyed||V!==null&&V!==undefined&&V.destroyed){return this}if(V!==null&&V!==undefined&&V.autoDestroy||K!==null&&K!==undefined&&K.autoDestroy)i.destroy(d);else if(d){d.stack;if(K&&!K.errored){K.errored=d}if(V&&!V.errored){V.errored=d}if(p){v.nextTick(emitErrorNT,i,d)}else{emitErrorNT(i,d)}}}function construct(i,d){if(typeof i._construct!=="function"){return}const p=i._readableState;const V=i._writableState;if(p){p.constructed=false}if(V){V.constructed=false}i.once(ae,d);if(i.listenerCount(ae)>1){return}v.nextTick(constructNT,i)}function constructNT(i){let d=false;function onConstruct(p){if(d){errorOrDestroy(i,p!==null&&p!==undefined?p:new K);return}d=true;const V=i._readableState;const ee=i._writableState;const te=ee||V;if(V){V.constructed=true}if(ee){ee.constructed=true}if(te.destroyed){i.emit(oe,p)}else if(p){errorOrDestroy(i,p,true)}else{v.nextTick(emitConstructNT,i)}}try{i._construct((i=>{v.nextTick(onConstruct,i)}))}catch(i){v.nextTick(onConstruct,i)}}function emitConstructNT(i){i.emit(ae)}function isRequest(i){return(i===null||i===undefined?undefined:i.setHeader)&&typeof i.abort==="function"}function emitCloseLegacy(i){i.emit("close")}function emitErrorCloseLegacy(i,d){i.emit("error",d);v.nextTick(emitCloseLegacy,i)}function destroyer(i,d){if(!i||ne(i)){return}if(!d&&!se(i)){d=new ee}if(ie(i)){i.socket=null;i.destroy(d)}else if(isRequest(i)){i.abort()}else if(isRequest(i.req)){i.req.abort()}else if(typeof i.destroy==="function"){i.destroy(d)}else if(typeof i.close==="function"){i.close()}else if(d){v.nextTick(emitErrorCloseLegacy,i,d)}else{v.nextTick(emitCloseLegacy,i)}if(!i.destroyed){i[re]=true}}i.exports={construct:construct,destroyer:destroyer,destroy:destroy,undestroy:undestroy,errorOrDestroy:errorOrDestroy}},94449:(i,d,p)=>{const{ObjectDefineProperties:v,ObjectGetOwnPropertyDescriptor:V,ObjectKeys:K,ObjectSetPrototypeOf:ee}=p(50999);i.exports=Duplex;const te=p(17783);const re=p(58939);ee(Duplex.prototype,te.prototype);ee(Duplex,te);{const i=K(re.prototype);for(let d=0;d{const v=p(7945);"use strict";const V=p(20181);const{isReadable:K,isWritable:ee,isIterable:te,isNodeStream:re,isReadableNodeStream:ne,isWritableNodeStream:se,isDuplexNodeStream:ie,isReadableStream:oe,isWritableStream:ae}=p(83426);const Ae=p(36815);const{AbortError:ce,codes:{ERR_INVALID_ARG_TYPE:le,ERR_INVALID_RETURN_VALUE:ue}}=p(69220);const{destroyer:de}=p(65089);const he=p(94449);const fe=p(17783);const ge=p(58939);const{createDeferredPromise:pe}=p(23539);const me=p(4659);const Ee=globalThis.Blob||V.Blob;const Ce=typeof Ee!=="undefined"?function isBlob(i){return i instanceof Ee}:function isBlob(i){return false};const ye=globalThis.AbortController||p(17413).AbortController;const{FunctionPrototypeCall:Ie}=p(50999);class Duplexify extends he{constructor(i){super(i);if((i===null||i===undefined?undefined:i.readable)===false){this._readableState.readable=false;this._readableState.ended=true;this._readableState.endEmitted=true}if((i===null||i===undefined?undefined:i.writable)===false){this._writableState.writable=false;this._writableState.ending=true;this._writableState.ended=true;this._writableState.finished=true}}}i.exports=function duplexify(i,d){if(ie(i)){return i}if(ne(i)){return _duplexify({readable:i})}if(se(i)){return _duplexify({writable:i})}if(re(i)){return _duplexify({writable:false,readable:false})}if(oe(i)){return _duplexify({readable:fe.fromWeb(i)})}if(ae(i)){return _duplexify({writable:ge.fromWeb(i)})}if(typeof i==="function"){const{value:p,write:V,final:K,destroy:ee}=fromAsyncGen(i);if(te(p)){return me(Duplexify,p,{objectMode:true,write:V,final:K,destroy:ee})}const re=p===null||p===undefined?undefined:p.then;if(typeof re==="function"){let i;const d=Ie(re,p,(i=>{if(i!=null){throw new ue("nully","body",i)}}),(d=>{de(i,d)}));return i=new Duplexify({objectMode:true,readable:false,write:V,final(i){K((async()=>{try{await d;v.nextTick(i,null)}catch(d){v.nextTick(i,d)}}))},destroy:ee})}throw new ue("Iterable, AsyncIterable or AsyncFunction",d,p)}if(Ce(i)){return duplexify(i.arrayBuffer())}if(te(i)){return me(Duplexify,i,{objectMode:true,writable:false})}if(oe(i===null||i===undefined?undefined:i.readable)&&ae(i===null||i===undefined?undefined:i.writable)){return Duplexify.fromWeb(i)}if(typeof(i===null||i===undefined?undefined:i.writable)==="object"||typeof(i===null||i===undefined?undefined:i.readable)==="object"){const d=i!==null&&i!==undefined&&i.readable?ne(i===null||i===undefined?undefined:i.readable)?i===null||i===undefined?undefined:i.readable:duplexify(i.readable):undefined;const p=i!==null&&i!==undefined&&i.writable?se(i===null||i===undefined?undefined:i.writable)?i===null||i===undefined?undefined:i.writable:duplexify(i.writable):undefined;return _duplexify({readable:d,writable:p})}const p=i===null||i===undefined?undefined:i.then;if(typeof p==="function"){let d;Ie(p,i,(i=>{if(i!=null){d.push(i)}d.push(null)}),(i=>{de(d,i)}));return d=new Duplexify({objectMode:true,writable:false,read(){}})}throw new le(d,["Blob","ReadableStream","WritableStream","Stream","Iterable","AsyncIterable","Function","{ readable, writable } pair","Promise"],i)};function fromAsyncGen(i){let{promise:d,resolve:p}=pe();const V=new ye;const K=V.signal;const ee=i(async function*(){while(true){const i=d;d=null;const{chunk:V,done:ee,cb:te}=await i;v.nextTick(te);if(ee)return;if(K.aborted)throw new ce(undefined,{cause:K.reason});({promise:d,resolve:p}=pe());yield V}}(),{signal:K});return{value:ee,write(i,d,v){const V=p;p=null;V({chunk:i,done:false,cb:v})},final(i){const d=p;p=null;d({done:true,cb:i})},destroy(i,d){V.abort();d(i)}}}function _duplexify(i){const d=i.readable&&typeof i.readable.read!=="function"?fe.wrap(i.readable):i.readable;const p=i.writable;let v=!!K(d);let V=!!ee(p);let te;let re;let ne;let se;let ie;function onfinished(i){const d=se;se=null;if(d){d(i)}else if(i){ie.destroy(i)}}ie=new Duplexify({readableObjectMode:!!(d!==null&&d!==undefined&&d.readableObjectMode),writableObjectMode:!!(p!==null&&p!==undefined&&p.writableObjectMode),readable:v,writable:V});if(V){Ae(p,(i=>{V=false;if(i){de(d,i)}onfinished(i)}));ie._write=function(i,d,v){if(p.write(i,d)){v()}else{te=v}};ie._final=function(i){p.end();re=i};p.on("drain",(function(){if(te){const i=te;te=null;i()}}));p.on("finish",(function(){if(re){const i=re;re=null;i()}}))}if(v){Ae(d,(i=>{v=false;if(i){de(d,i)}onfinished(i)}));d.on("readable",(function(){if(ne){const i=ne;ne=null;i()}}));d.on("end",(function(){ie.push(null)}));ie._read=function(){while(true){const i=d.read();if(i===null){ne=ie._read;return}if(!ie.push(i)){return}}}}ie._destroy=function(i,v){if(!i&&se!==null){i=new ce}ne=null;te=null;re=null;if(se===null){v(i)}else{se=v;de(p,i);de(d,i)}};return ie}},36815:(i,d,p)=>{const v=p(7945);"use strict";const{AbortError:V,codes:K}=p(69220);const{ERR_INVALID_ARG_TYPE:ee,ERR_STREAM_PREMATURE_CLOSE:te}=K;const{kEmptyObject:re,once:ne}=p(23539);const{validateAbortSignal:se,validateFunction:ie,validateObject:oe,validateBoolean:ae}=p(49554);const{Promise:Ae,PromisePrototypeThen:ce,SymbolDispose:le}=p(50999);const{isClosed:ue,isReadable:de,isReadableNodeStream:he,isReadableStream:fe,isReadableFinished:ge,isReadableErrored:pe,isWritable:me,isWritableNodeStream:Ee,isWritableStream:Ce,isWritableFinished:ye,isWritableErrored:Ie,isNodeStream:Be,willEmitClose:Qe,kIsClosedPromise:be}=p(83426);let we;function isRequest(i){return i.setHeader&&typeof i.abort==="function"}const nop=()=>{};function eos(i,d,K){var ae,Ae;if(arguments.length===2){K=d;d=re}else if(d==null){d=re}else{oe(d,"options")}ie(K,"callback");se(d.signal,"options.signal");K=ne(K);if(fe(i)||Ce(i)){return eosWeb(i,d,K)}if(!Be(i)){throw new ee("stream",["ReadableStream","WritableStream","Stream"],i)}const ce=(ae=d.readable)!==null&&ae!==undefined?ae:he(i);const be=(Ae=d.writable)!==null&&Ae!==undefined?Ae:Ee(i);const Se=i._writableState;const Re=i._readableState;const onlegacyfinish=()=>{if(!i.writable){onfinish()}};let ve=Qe(i)&&he(i)===ce&&Ee(i)===be;let ke=ye(i,false);const onfinish=()=>{ke=true;if(i.destroyed){ve=false}if(ve&&(!i.readable||ce)){return}if(!ce||Te){K.call(i)}};let Te=ge(i,false);const onend=()=>{Te=true;if(i.destroyed){ve=false}if(ve&&(!i.writable||be)){return}if(!be||ke){K.call(i)}};const onerror=d=>{K.call(i,d)};let Ne=ue(i);const onclose=()=>{Ne=true;const d=Ie(i)||pe(i);if(d&&typeof d!=="boolean"){return K.call(i,d)}if(ce&&!Te&&he(i,true)){if(!ge(i,false))return K.call(i,new te)}if(be&&!ke){if(!ye(i,false))return K.call(i,new te)}K.call(i)};const onclosed=()=>{Ne=true;const d=Ie(i)||pe(i);if(d&&typeof d!=="boolean"){return K.call(i,d)}K.call(i)};const onrequest=()=>{i.req.on("finish",onfinish)};if(isRequest(i)){i.on("complete",onfinish);if(!ve){i.on("abort",onclose)}if(i.req){onrequest()}else{i.on("request",onrequest)}}else if(be&&!Se){i.on("end",onlegacyfinish);i.on("close",onlegacyfinish)}if(!ve&&typeof i.aborted==="boolean"){i.on("aborted",onclose)}i.on("end",onend);i.on("finish",onfinish);if(d.error!==false){i.on("error",onerror)}i.on("close",onclose);if(Ne){v.nextTick(onclose)}else if(Se!==null&&Se!==undefined&&Se.errorEmitted||Re!==null&&Re!==undefined&&Re.errorEmitted){if(!ve){v.nextTick(onclosed)}}else if(!ce&&(!ve||de(i))&&(ke||me(i)===false)){v.nextTick(onclosed)}else if(!be&&(!ve||me(i))&&(Te||de(i)===false)){v.nextTick(onclosed)}else if(Re&&i.req&&i.aborted){v.nextTick(onclosed)}const cleanup=()=>{K=nop;i.removeListener("aborted",onclose);i.removeListener("complete",onfinish);i.removeListener("abort",onclose);i.removeListener("request",onrequest);if(i.req)i.req.removeListener("finish",onfinish);i.removeListener("end",onlegacyfinish);i.removeListener("close",onlegacyfinish);i.removeListener("finish",onfinish);i.removeListener("end",onend);i.removeListener("error",onerror);i.removeListener("close",onclose)};if(d.signal&&!Ne){const abort=()=>{const p=K;cleanup();p.call(i,new V(undefined,{cause:d.signal.reason}))};if(d.signal.aborted){v.nextTick(abort)}else{we=we||p(23539).addAbortListener;const v=we(d.signal,abort);const V=K;K=ne(((...d)=>{v[le]();V.apply(i,d)}))}}return cleanup}function eosWeb(i,d,K){let ee=false;let te=nop;if(d.signal){te=()=>{ee=true;K.call(i,new V(undefined,{cause:d.signal.reason}))};if(d.signal.aborted){v.nextTick(te)}else{we=we||p(23539).addAbortListener;const v=we(d.signal,te);const V=K;K=ne(((...d)=>{v[le]();V.apply(i,d)}))}}const resolverFn=(...d)=>{if(!ee){v.nextTick((()=>K.apply(i,d)))}};ce(i[be].promise,resolverFn,resolverFn);return nop}function finished(i,d){var p;let v=false;if(d===null){d=re}if((p=d)!==null&&p!==undefined&&p.cleanup){ae(d.cleanup,"cleanup");v=d.cleanup}return new Ae(((p,V)=>{const K=eos(i,d,(i=>{if(v){K()}if(i){V(i)}else{p()}}))}))}i.exports=eos;i.exports.finished=finished},4659:(i,d,p)=>{const v=p(7945);const{PromisePrototypeThen:V,SymbolAsyncIterator:K,SymbolIterator:ee}=p(50999);const{Buffer:te}=p(20181);const{ERR_INVALID_ARG_TYPE:re,ERR_STREAM_NULL_VALUES:ne}=p(69220).codes;function from(i,d,p){let se;if(typeof d==="string"||d instanceof te){return new i({objectMode:true,...p,read(){this.push(d);this.push(null)}})}let ie;if(d&&d[K]){ie=true;se=d[K]()}else if(d&&d[ee]){ie=false;se=d[ee]()}else{throw new re("iterable",["Iterable"],d)}const oe=new i({objectMode:true,highWaterMark:1,...p});let ae=false;oe._read=function(){if(!ae){ae=true;next()}};oe._destroy=function(i,d){V(close(i),(()=>v.nextTick(d,i)),(p=>v.nextTick(d,p||i)))};async function close(i){const d=i!==undefined&&i!==null;const p=typeof se.throw==="function";if(d&&p){const{value:d,done:p}=await se.throw(i);await d;if(p){return}}if(typeof se.return==="function"){const{value:i}=await se.return();await i}}async function next(){for(;;){try{const{value:i,done:d}=ie?await se.next():se.next();if(d){oe.push(null)}else{const d=i&&typeof i.then==="function"?await i:i;if(d===null){ae=false;throw new ne}else if(oe.push(d)){continue}else{ae=false}}}catch(i){oe.destroy(i)}break}}return oe}i.exports=from},84128:(i,d,p)=>{const{ArrayIsArray:v,ObjectSetPrototypeOf:V}=p(50999);const{EventEmitter:K}=p(24434);function Stream(i){K.call(this,i)}V(Stream.prototype,K.prototype);V(Stream,K);Stream.prototype.pipe=function(i,d){const p=this;function ondata(d){if(i.writable&&i.write(d)===false&&p.pause){p.pause()}}p.on("data",ondata);function ondrain(){if(p.readable&&p.resume){p.resume()}}i.on("drain",ondrain);if(!i._isStdio&&(!d||d.end!==false)){p.on("end",onend);p.on("close",onclose)}let v=false;function onend(){if(v)return;v=true;i.end()}function onclose(){if(v)return;v=true;if(typeof i.destroy==="function")i.destroy()}function onerror(i){cleanup();if(K.listenerCount(this,"error")===0){this.emit("error",i)}}prependListener(p,"error",onerror);prependListener(i,"error",onerror);function cleanup(){p.removeListener("data",ondata);i.removeListener("drain",ondrain);p.removeListener("end",onend);p.removeListener("close",onclose);p.removeListener("error",onerror);i.removeListener("error",onerror);p.removeListener("end",cleanup);p.removeListener("close",cleanup);i.removeListener("close",cleanup)}p.on("end",cleanup);p.on("close",cleanup);i.on("close",cleanup);i.emit("pipe",p);return i};function prependListener(i,d,p){if(typeof i.prependListener==="function")return i.prependListener(d,p);if(!i._events||!i._events[d])i.on(d,p);else if(v(i._events[d]))i._events[d].unshift(p);else i._events[d]=[p,i._events[d]]}i.exports={Stream:Stream,prependListener:prependListener}},11222:(i,d,p)=>{const v=globalThis.AbortController||p(17413).AbortController;const{codes:{ERR_INVALID_ARG_VALUE:V,ERR_INVALID_ARG_TYPE:K,ERR_MISSING_ARGS:ee,ERR_OUT_OF_RANGE:te},AbortError:re}=p(69220);const{validateAbortSignal:ne,validateInteger:se,validateObject:ie}=p(49554);const oe=p(50999).Symbol("kWeak");const ae=p(50999).Symbol("kResistStopPropagation");const{finished:Ae}=p(36815);const ce=p(64999);const{addAbortSignalNoValidate:le}=p(80652);const{isWritable:ue,isNodeStream:de}=p(83426);const{deprecate:he}=p(23539);const{ArrayPrototypePush:fe,Boolean:ge,MathFloor:pe,Number:me,NumberIsNaN:Ee,Promise:Ce,PromiseReject:ye,PromiseResolve:Ie,PromisePrototypeThen:Be,Symbol:Qe}=p(50999);const be=Qe("kEmpty");const we=Qe("kEof");function compose(i,d){if(d!=null){ie(d,"options")}if((d===null||d===undefined?undefined:d.signal)!=null){ne(d.signal,"options.signal")}if(de(i)&&!ue(i)){throw new V("stream",i,"must be writable")}const p=ce(this,i);if(d!==null&&d!==undefined&&d.signal){le(d.signal,p)}return p}function map(i,d){if(typeof i!=="function"){throw new K("fn",["Function","AsyncFunction"],i)}if(d!=null){ie(d,"options")}if((d===null||d===undefined?undefined:d.signal)!=null){ne(d.signal,"options.signal")}let v=1;if((d===null||d===undefined?undefined:d.concurrency)!=null){v=pe(d.concurrency)}let V=v-1;if((d===null||d===undefined?undefined:d.highWaterMark)!=null){V=pe(d.highWaterMark)}se(v,"options.concurrency",1);se(V,"options.highWaterMark",0);V+=v;return async function*map(){const K=p(23539).AbortSignalAny([d===null||d===undefined?undefined:d.signal].filter(ge));const ee=this;const te=[];const ne={signal:K};let se;let ie;let oe=false;let ae=0;function onCatch(){oe=true;afterItemProcessed()}function afterItemProcessed(){ae-=1;maybeResume()}function maybeResume(){if(ie&&!oe&&ae=V||ae>=v)){await new Ce((i=>{ie=i}))}}te.push(we)}catch(i){const d=ye(i);Be(d,afterItemProcessed,onCatch);te.push(d)}finally{oe=true;if(se){se();se=null}}}pump();try{while(true){while(te.length>0){const i=await te[0];if(i===we){return}if(K.aborted){throw new re}if(i!==be){yield i}te.shift();maybeResume()}await new Ce((i=>{se=i}))}}finally{oe=true;if(ie){ie();ie=null}}}.call(this)}function asIndexedPairs(i=undefined){if(i!=null){ie(i,"options")}if((i===null||i===undefined?undefined:i.signal)!=null){ne(i.signal,"options.signal")}return async function*asIndexedPairs(){let d=0;for await(const v of this){var p;if(i!==null&&i!==undefined&&(p=i.signal)!==null&&p!==undefined&&p.aborted){throw new re({cause:i.signal.reason})}yield[d++,v]}}.call(this)}async function some(i,d=undefined){for await(const p of filter.call(this,i,d)){return true}return false}async function every(i,d=undefined){if(typeof i!=="function"){throw new K("fn",["Function","AsyncFunction"],i)}return!await some.call(this,(async(...d)=>!await i(...d)),d)}async function find(i,d){for await(const p of filter.call(this,i,d)){return p}return undefined}async function forEach(i,d){if(typeof i!=="function"){throw new K("fn",["Function","AsyncFunction"],i)}async function forEachFn(d,p){await i(d,p);return be}for await(const i of map.call(this,forEachFn,d));}function filter(i,d){if(typeof i!=="function"){throw new K("fn",["Function","AsyncFunction"],i)}async function filterFn(d,p){if(await i(d,p)){return d}return be}return map.call(this,filterFn,d)}class ReduceAwareErrMissingArgs extends ee{constructor(){super("reduce");this.message="Reduce of an empty stream requires an initial value"}}async function reduce(i,d,p){var V;if(typeof i!=="function"){throw new K("reducer",["Function","AsyncFunction"],i)}if(p!=null){ie(p,"options")}if((p===null||p===undefined?undefined:p.signal)!=null){ne(p.signal,"options.signal")}let ee=arguments.length>1;if(p!==null&&p!==undefined&&(V=p.signal)!==null&&V!==undefined&&V.aborted){const i=new re(undefined,{cause:p.signal.reason});this.once("error",(()=>{}));await Ae(this.destroy(i));throw i}const te=new v;const se=te.signal;if(p!==null&&p!==undefined&&p.signal){const i={once:true,[oe]:this,[ae]:true};p.signal.addEventListener("abort",(()=>te.abort()),i)}let ce=false;try{for await(const v of this){var le;ce=true;if(p!==null&&p!==undefined&&(le=p.signal)!==null&&le!==undefined&&le.aborted){throw new re}if(!ee){d=v;ee=true}else{d=await i(d,v,{signal:se})}}if(!ce&&!ee){throw new ReduceAwareErrMissingArgs}}finally{te.abort()}return d}async function toArray(i){if(i!=null){ie(i,"options")}if((i===null||i===undefined?undefined:i.signal)!=null){ne(i.signal,"options.signal")}const d=[];for await(const v of this){var p;if(i!==null&&i!==undefined&&(p=i.signal)!==null&&p!==undefined&&p.aborted){throw new re(undefined,{cause:i.signal.reason})}fe(d,v)}return d}function flatMap(i,d){const p=map.call(this,i,d);return async function*flatMap(){for await(const i of p){yield*i}}.call(this)}function toIntegerOrInfinity(i){i=me(i);if(Ee(i)){return 0}if(i<0){throw new te("number",">= 0",i)}return i}function drop(i,d=undefined){if(d!=null){ie(d,"options")}if((d===null||d===undefined?undefined:d.signal)!=null){ne(d.signal,"options.signal")}i=toIntegerOrInfinity(i);return async function*drop(){var p;if(d!==null&&d!==undefined&&(p=d.signal)!==null&&p!==undefined&&p.aborted){throw new re}for await(const p of this){var v;if(d!==null&&d!==undefined&&(v=d.signal)!==null&&v!==undefined&&v.aborted){throw new re}if(i--<=0){yield p}}}.call(this)}function take(i,d=undefined){if(d!=null){ie(d,"options")}if((d===null||d===undefined?undefined:d.signal)!=null){ne(d.signal,"options.signal")}i=toIntegerOrInfinity(i);return async function*take(){var p;if(d!==null&&d!==undefined&&(p=d.signal)!==null&&p!==undefined&&p.aborted){throw new re}for await(const p of this){var v;if(d!==null&&d!==undefined&&(v=d.signal)!==null&&v!==undefined&&v.aborted){throw new re}if(i-- >0){yield p}if(i<=0){return}}}.call(this)}i.exports.streamReturningOperators={asIndexedPairs:he(asIndexedPairs,"readable.asIndexedPairs will be removed in a future version."),drop:drop,filter:filter,flatMap:flatMap,map:map,take:take,compose:compose};i.exports.promiseReturningOperators={every:every,forEach:forEach,reduce:reduce,toArray:toArray,some:some,find:find}},19173:(i,d,p)=>{const{ObjectSetPrototypeOf:v}=p(50999);i.exports=PassThrough;const V=p(12135);v(PassThrough.prototype,V.prototype);v(PassThrough,V);function PassThrough(i){if(!(this instanceof PassThrough))return new PassThrough(i);V.call(this,i)}PassThrough.prototype._transform=function(i,d,p){p(null,i)}},16701:(i,d,p)=>{const v=p(7945);"use strict";const{ArrayIsArray:V,Promise:K,SymbolAsyncIterator:ee,SymbolDispose:te}=p(50999);const re=p(36815);const{once:ne}=p(23539);const se=p(65089);const ie=p(94449);const{aggregateTwoErrors:oe,codes:{ERR_INVALID_ARG_TYPE:ae,ERR_INVALID_RETURN_VALUE:Ae,ERR_MISSING_ARGS:ce,ERR_STREAM_DESTROYED:le,ERR_STREAM_PREMATURE_CLOSE:ue},AbortError:de}=p(69220);const{validateFunction:he,validateAbortSignal:fe}=p(49554);const{isIterable:ge,isReadable:pe,isReadableNodeStream:me,isNodeStream:Ee,isTransformStream:Ce,isWebStream:ye,isReadableStream:Ie,isReadableFinished:Be}=p(83426);const Qe=globalThis.AbortController||p(17413).AbortController;let be;let we;let Se;function destroyer(i,d,p){let v=false;i.on("close",(()=>{v=true}));const V=re(i,{readable:d,writable:p},(i=>{v=!i}));return{destroy:d=>{if(v)return;v=true;se.destroyer(i,d||new le("pipe"))},cleanup:V}}function popCallback(i){he(i[i.length-1],"streams[stream.length - 1]");return i.pop()}function makeAsyncIterable(i){if(ge(i)){return i}else if(me(i)){return fromReadable(i)}throw new ae("val",["Readable","Iterable","AsyncIterable"],i)}async function*fromReadable(i){if(!we){we=p(17783)}yield*we.prototype[ee].call(i)}async function pumpToNode(i,d,p,{end:v}){let V;let ee=null;const resume=i=>{if(i){V=i}if(ee){const i=ee;ee=null;i()}};const wait=()=>new K(((i,d)=>{if(V){d(V)}else{ee=()=>{if(V){d(V)}else{i()}}}}));d.on("drain",resume);const te=re(d,{readable:false},resume);try{if(d.writableNeedDrain){await wait()}for await(const p of i){if(!d.write(p)){await wait()}}if(v){d.end();await wait()}p()}catch(i){p(V!==i?oe(V,i):i)}finally{te();d.off("drain",resume)}}async function pumpToWeb(i,d,p,{end:v}){if(Ce(d)){d=d.writable}const V=d.getWriter();try{for await(const d of i){await V.ready;V.write(d).catch((()=>{}))}await V.ready;if(v){await V.close()}p()}catch(i){try{await V.abort(i);p(i)}catch(i){p(i)}}}function pipeline(...i){return pipelineImpl(i,ne(popCallback(i)))}function pipelineImpl(i,d,K){if(i.length===1&&V(i[0])){i=i[0]}if(i.length<2){throw new ce("streams")}const ee=new Qe;const re=ee.signal;const ne=K===null||K===undefined?undefined:K.signal;const se=[];fe(ne,"options.signal");function abort(){finishImpl(new de)}Se=Se||p(23539).addAbortListener;let oe;if(ne){oe=Se(ne,abort)}let le;let ue;const he=[];let Be=0;function finish(i){finishImpl(i,--Be===0)}function finishImpl(i,p){var V;if(i&&(!le||le.code==="ERR_STREAM_PREMATURE_CLOSE")){le=i}if(!le&&!p){return}while(he.length){he.shift()(le)}(V=oe)===null||V===undefined?undefined:V[te]();ee.abort();if(p){if(!le){se.forEach((i=>i()))}v.nextTick(d,le,ue)}}let we;for(let ke=0;ke0;const xe=Ne||(K===null||K===undefined?undefined:K.end)!==false;const Fe=ke===i.length-1;if(Ee(Te)){if(xe){const{destroy:Pe,cleanup:Le}=destroyer(Te,Ne,De);he.push(Pe);if(pe(Te)&&Fe){se.push(Le)}}function onError(i){if(i&&i.name!=="AbortError"&&i.code!=="ERR_STREAM_PREMATURE_CLOSE"){finish(i)}}Te.on("error",onError);if(pe(Te)&&Fe){se.push((()=>{Te.removeListener("error",onError)}))}}if(ke===0){if(typeof Te==="function"){we=Te({signal:re});if(!ge(we)){throw new Ae("Iterable, AsyncIterable or Stream","source",we)}}else if(ge(Te)||me(Te)||Ce(Te)){we=Te}else{we=ie.from(Te)}}else if(typeof Te==="function"){if(Ce(we)){var Re;we=makeAsyncIterable((Re=we)===null||Re===undefined?undefined:Re.readable)}else{we=makeAsyncIterable(we)}we=Te(we,{signal:re});if(Ne){if(!ge(we,true)){throw new Ae("AsyncIterable",`transform[${ke-1}]`,we)}}else{var ve;if(!be){be=p(19173)}const _e=new be({objectMode:true});const Me=(ve=we)===null||ve===undefined?undefined:ve.then;if(typeof Me==="function"){Be++;Me.call(we,(i=>{ue=i;if(i!=null){_e.write(i)}if(xe){_e.end()}v.nextTick(finish)}),(i=>{_e.destroy(i);v.nextTick(finish,i)}))}else if(ge(we,true)){Be++;pumpToNode(we,_e,finish,{end:xe})}else if(Ie(we)||Ce(we)){const He=we.readable||we;Be++;pumpToNode(He,_e,finish,{end:xe})}else{throw new Ae("AsyncIterable or Promise","destination",we)}we=_e;const{destroy:Ue,cleanup:Oe}=destroyer(we,false,true);he.push(Ue);if(Fe){se.push(Oe)}}}else if(Ee(Te)){if(me(we)){Be+=2;const Ge=pipe(we,Te,finish,{end:xe});if(pe(Te)&&Fe){se.push(Ge)}}else if(Ce(we)||Ie(we)){const Ve=we.readable||we;Be++;pumpToNode(Ve,Te,finish,{end:xe})}else if(ge(we)){Be++;pumpToNode(we,Te,finish,{end:xe})}else{throw new ae("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],we)}we=Te}else if(ye(Te)){if(me(we)){Be++;pumpToWeb(makeAsyncIterable(we),Te,finish,{end:xe})}else if(Ie(we)||ge(we)){Be++;pumpToWeb(we,Te,finish,{end:xe})}else if(Ce(we)){Be++;pumpToWeb(we.readable,Te,finish,{end:xe})}else{throw new ae("val",["Readable","Iterable","AsyncIterable","ReadableStream","TransformStream"],we)}we=Te}else{we=ie.from(Te)}}if(re!==null&&re!==undefined&&re.aborted||ne!==null&&ne!==undefined&&ne.aborted){v.nextTick(abort)}return we}function pipe(i,d,p,{end:V}){let K=false;d.on("close",(()=>{if(!K){p(new ue)}}));i.pipe(d,{end:false});if(V){function endFn(){K=true;d.end()}if(Be(i)){v.nextTick(endFn)}else{i.once("end",endFn)}}else{p()}re(i,{readable:true,writable:false},(d=>{const v=i._readableState;if(d&&d.code==="ERR_STREAM_PREMATURE_CLOSE"&&v&&v.ended&&!v.errored&&!v.errorEmitted){i.once("end",p).once("error",p)}else{p(d)}}));return re(d,{readable:false,writable:true},p)}i.exports={pipelineImpl:pipelineImpl,pipeline:pipeline}},17783:(i,d,p)=>{const v=p(7945);"use strict";const{ArrayPrototypeIndexOf:V,NumberIsInteger:K,NumberIsNaN:ee,NumberParseInt:te,ObjectDefineProperties:re,ObjectKeys:ne,ObjectSetPrototypeOf:se,Promise:ie,SafeSet:oe,SymbolAsyncDispose:ae,SymbolAsyncIterator:Ae,Symbol:ce}=p(50999);i.exports=Readable;Readable.ReadableState=ReadableState;const{EventEmitter:le}=p(24434);const{Stream:ue,prependListener:de}=p(84128);const{Buffer:he}=p(20181);const{addAbortSignal:fe}=p(80652);const ge=p(36815);let pe=p(23539).debuglog("stream",(i=>{pe=i}));const me=p(77336);const Ee=p(65089);const{getHighWaterMark:Ce,getDefaultHighWaterMark:ye}=p(54874);const{aggregateTwoErrors:Ie,codes:{ERR_INVALID_ARG_TYPE:Be,ERR_METHOD_NOT_IMPLEMENTED:Qe,ERR_OUT_OF_RANGE:be,ERR_STREAM_PUSH_AFTER_EOF:we,ERR_STREAM_UNSHIFT_AFTER_END_EVENT:Se},AbortError:Re}=p(69220);const{validateObject:ve}=p(49554);const ke=ce("kPaused");const{StringDecoder:Te}=p(13193);const Ne=p(4659);se(Readable.prototype,ue.prototype);se(Readable,ue);const nop=()=>{};const{errorOrDestroy:De}=Ee;const xe=1<<0;const Fe=1<<1;const Pe=1<<2;const Le=1<<3;const _e=1<<4;const Me=1<<5;const Ue=1<<6;const Oe=1<<7;const He=1<<8;const Ge=1<<9;const Ve=1<<10;const qe=1<<11;const Ye=1<<12;const je=1<<13;const Je=1<<14;const We=1<<15;const ze=1<<16;const $e=1<<17;const Ke=1<<18;function makeBitMapDescriptor(i){return{enumerable:false,get(){return(this.state&i)!==0},set(d){if(d)this.state|=i;else this.state&=~i}}}re(ReadableState.prototype,{objectMode:makeBitMapDescriptor(xe),ended:makeBitMapDescriptor(Fe),endEmitted:makeBitMapDescriptor(Pe),reading:makeBitMapDescriptor(Le),constructed:makeBitMapDescriptor(_e),sync:makeBitMapDescriptor(Me),needReadable:makeBitMapDescriptor(Ue),emittedReadable:makeBitMapDescriptor(Oe),readableListening:makeBitMapDescriptor(He),resumeScheduled:makeBitMapDescriptor(Ge),errorEmitted:makeBitMapDescriptor(Ve),emitClose:makeBitMapDescriptor(qe),autoDestroy:makeBitMapDescriptor(Ye),destroyed:makeBitMapDescriptor(je),closed:makeBitMapDescriptor(Je),closeEmitted:makeBitMapDescriptor(We),multiAwaitDrain:makeBitMapDescriptor(ze),readingMore:makeBitMapDescriptor($e),dataEmitted:makeBitMapDescriptor(Ke)});function ReadableState(i,d,v){if(typeof v!=="boolean")v=d instanceof p(94449);this.state=qe|Ye|_e|Me;if(i&&i.objectMode)this.state|=xe;if(v&&i&&i.readableObjectMode)this.state|=xe;this.highWaterMark=i?Ce(this,i,"readableHighWaterMark",v):ye(false);this.buffer=new me;this.length=0;this.pipes=[];this.flowing=null;this[ke]=null;if(i&&i.emitClose===false)this.state&=~qe;if(i&&i.autoDestroy===false)this.state&=~Ye;this.errored=null;this.defaultEncoding=i&&i.defaultEncoding||"utf8";this.awaitDrainWriters=null;this.decoder=null;this.encoding=null;if(i&&i.encoding){this.decoder=new Te(i.encoding);this.encoding=i.encoding}}function Readable(i){if(!(this instanceof Readable))return new Readable(i);const d=this instanceof p(94449);this._readableState=new ReadableState(i,this,d);if(i){if(typeof i.read==="function")this._read=i.read;if(typeof i.destroy==="function")this._destroy=i.destroy;if(typeof i.construct==="function")this._construct=i.construct;if(i.signal&&!d)fe(i.signal,this)}ue.call(this,i);Ee.construct(this,(()=>{if(this._readableState.needReadable){maybeReadMore(this,this._readableState)}}))}Readable.prototype.destroy=Ee.destroy;Readable.prototype._undestroy=Ee.undestroy;Readable.prototype._destroy=function(i,d){d(i)};Readable.prototype[le.captureRejectionSymbol]=function(i){this.destroy(i)};Readable.prototype[ae]=function(){let i;if(!this.destroyed){i=this.readableEnded?null:new Re;this.destroy(i)}return new ie(((d,p)=>ge(this,(v=>v&&v!==i?p(v):d(null)))))};Readable.prototype.push=function(i,d){return readableAddChunk(this,i,d,false)};Readable.prototype.unshift=function(i,d){return readableAddChunk(this,i,d,true)};function readableAddChunk(i,d,p,v){pe("readableAddChunk",d);const V=i._readableState;let K;if((V.state&xe)===0){if(typeof d==="string"){p=p||V.defaultEncoding;if(V.encoding!==p){if(v&&V.encoding){d=he.from(d,p).toString(V.encoding)}else{d=he.from(d,p);p=""}}}else if(d instanceof he){p=""}else if(ue._isUint8Array(d)){d=ue._uint8ArrayToBuffer(d);p=""}else if(d!=null){K=new Be("chunk",["string","Buffer","Uint8Array"],d)}}if(K){De(i,K)}else if(d===null){V.state&=~Le;onEofChunk(i,V)}else if((V.state&xe)!==0||d&&d.length>0){if(v){if((V.state&Pe)!==0)De(i,new Se);else if(V.destroyed||V.errored)return false;else addChunk(i,V,d,true)}else if(V.ended){De(i,new we)}else if(V.destroyed||V.errored){return false}else{V.state&=~Le;if(V.decoder&&!p){d=V.decoder.write(d);if(V.objectMode||d.length!==0)addChunk(i,V,d,false);else maybeReadMore(i,V)}else{addChunk(i,V,d,false)}}}else if(!v){V.state&=~Le;maybeReadMore(i,V)}return!V.ended&&(V.length0){if((d.state&ze)!==0){d.awaitDrainWriters.clear()}else{d.awaitDrainWriters=null}d.dataEmitted=true;i.emit("data",p)}else{d.length+=d.objectMode?1:p.length;if(v)d.buffer.unshift(p);else d.buffer.push(p);if((d.state&Ue)!==0)emitReadable(i)}maybeReadMore(i,d)}Readable.prototype.isPaused=function(){const i=this._readableState;return i[ke]===true||i.flowing===false};Readable.prototype.setEncoding=function(i){const d=new Te(i);this._readableState.decoder=d;this._readableState.encoding=this._readableState.decoder.encoding;const p=this._readableState.buffer;let v="";for(const i of p){v+=d.write(i)}p.clear();if(v!=="")p.push(v);this._readableState.length=v.length;return this};const Xe=1073741824;function computeNewHighWaterMark(i){if(i>Xe){throw new be("size","<= 1GiB",i)}else{i--;i|=i>>>1;i|=i>>>2;i|=i>>>4;i|=i>>>8;i|=i>>>16;i++}return i}function howMuchToRead(i,d){if(i<=0||d.length===0&&d.ended)return 0;if((d.state&xe)!==0)return 1;if(ee(i)){if(d.flowing&&d.length)return d.buffer.first().length;return d.length}if(i<=d.length)return i;return d.ended?d.length:0}Readable.prototype.read=function(i){pe("read",i);if(i===undefined){i=NaN}else if(!K(i)){i=te(i,10)}const d=this._readableState;const p=i;if(i>d.highWaterMark)d.highWaterMark=computeNewHighWaterMark(i);if(i!==0)d.state&=~Oe;if(i===0&&d.needReadable&&((d.highWaterMark!==0?d.length>=d.highWaterMark:d.length>0)||d.ended)){pe("read: emitReadable",d.length,d.ended);if(d.length===0&&d.ended)endReadable(this);else emitReadable(this);return null}i=howMuchToRead(i,d);if(i===0&&d.ended){if(d.length===0)endReadable(this);return null}let v=(d.state&Ue)!==0;pe("need readable",v);if(d.length===0||d.length-i0)V=fromList(i,d);else V=null;if(V===null){d.needReadable=d.length<=d.highWaterMark;i=0}else{d.length-=i;if(d.multiAwaitDrain){d.awaitDrainWriters.clear()}else{d.awaitDrainWriters=null}}if(d.length===0){if(!d.ended)d.needReadable=true;if(p!==i&&d.ended)endReadable(this)}if(V!==null&&!d.errorEmitted&&!d.closeEmitted){d.dataEmitted=true;this.emit("data",V)}return V};function onEofChunk(i,d){pe("onEofChunk");if(d.ended)return;if(d.decoder){const i=d.decoder.end();if(i&&i.length){d.buffer.push(i);d.length+=d.objectMode?1:i.length}}d.ended=true;if(d.sync){emitReadable(i)}else{d.needReadable=false;d.emittedReadable=true;emitReadable_(i)}}function emitReadable(i){const d=i._readableState;pe("emitReadable",d.needReadable,d.emittedReadable);d.needReadable=false;if(!d.emittedReadable){pe("emitReadable",d.flowing);d.emittedReadable=true;v.nextTick(emitReadable_,i)}}function emitReadable_(i){const d=i._readableState;pe("emitReadable_",d.destroyed,d.length,d.ended);if(!d.destroyed&&!d.errored&&(d.length||d.ended)){i.emit("readable");d.emittedReadable=false}d.needReadable=!d.flowing&&!d.ended&&d.length<=d.highWaterMark;flow(i)}function maybeReadMore(i,d){if(!d.readingMore&&d.constructed){d.readingMore=true;v.nextTick(maybeReadMore_,i,d)}}function maybeReadMore_(i,d){while(!d.reading&&!d.ended&&(d.length1&&V.pipes.includes(i)){pe("false write response, pause",V.awaitDrainWriters.size);V.awaitDrainWriters.add(i)}p.pause()}if(!te){te=pipeOnDrain(p,i);i.on("drain",te)}}p.on("data",ondata);function ondata(d){pe("ondata");const p=i.write(d);pe("dest.write",p);if(p===false){pause()}}function onerror(d){pe("onerror",d);unpipe();i.removeListener("error",onerror);if(i.listenerCount("error")===0){const p=i._writableState||i._readableState;if(p&&!p.errorEmitted){De(i,d)}else{i.emit("error",d)}}}de(i,"error",onerror);function onclose(){i.removeListener("finish",onfinish);unpipe()}i.once("close",onclose);function onfinish(){pe("onfinish");i.removeListener("close",onclose);unpipe()}i.once("finish",onfinish);function unpipe(){pe("unpipe");p.unpipe(i)}i.emit("pipe",p);if(i.writableNeedDrain===true){pause()}else if(!V.flowing){pe("pipe resume");p.resume()}return i};function pipeOnDrain(i,d){return function pipeOnDrainFunctionResult(){const p=i._readableState;if(p.awaitDrainWriters===d){pe("pipeOnDrain",1);p.awaitDrainWriters=null}else if(p.multiAwaitDrain){pe("pipeOnDrain",p.awaitDrainWriters.size);p.awaitDrainWriters.delete(d)}if((!p.awaitDrainWriters||p.awaitDrainWriters.size===0)&&i.listenerCount("data")){i.resume()}}}Readable.prototype.unpipe=function(i){const d=this._readableState;const p={hasUnpiped:false};if(d.pipes.length===0)return this;if(!i){const i=d.pipes;d.pipes=[];this.pause();for(let d=0;d0;if(V.flowing!==false)this.resume()}else if(i==="readable"){if(!V.endEmitted&&!V.readableListening){V.readableListening=V.needReadable=true;V.flowing=false;V.emittedReadable=false;pe("on readable",V.length,V.reading);if(V.length){emitReadable(this)}else if(!V.reading){v.nextTick(nReadingNextTick,this)}}}return p};Readable.prototype.addListener=Readable.prototype.on;Readable.prototype.removeListener=function(i,d){const p=ue.prototype.removeListener.call(this,i,d);if(i==="readable"){v.nextTick(updateReadableListening,this)}return p};Readable.prototype.off=Readable.prototype.removeListener;Readable.prototype.removeAllListeners=function(i){const d=ue.prototype.removeAllListeners.apply(this,arguments);if(i==="readable"||i===undefined){v.nextTick(updateReadableListening,this)}return d};function updateReadableListening(i){const d=i._readableState;d.readableListening=i.listenerCount("readable")>0;if(d.resumeScheduled&&d[ke]===false){d.flowing=true}else if(i.listenerCount("data")>0){i.resume()}else if(!d.readableListening){d.flowing=null}}function nReadingNextTick(i){pe("readable nexttick read 0");i.read(0)}Readable.prototype.resume=function(){const i=this._readableState;if(!i.flowing){pe("resume");i.flowing=!i.readableListening;resume(this,i)}i[ke]=false;return this};function resume(i,d){if(!d.resumeScheduled){d.resumeScheduled=true;v.nextTick(resume_,i,d)}}function resume_(i,d){pe("resume",d.reading);if(!d.reading){i.read(0)}d.resumeScheduled=false;i.emit("resume");flow(i);if(d.flowing&&!d.reading)i.read(0)}Readable.prototype.pause=function(){pe("call pause flowing=%j",this._readableState.flowing);if(this._readableState.flowing!==false){pe("pause");this._readableState.flowing=false;this.emit("pause")}this._readableState[ke]=true;return this};function flow(i){const d=i._readableState;pe("flow",d.flowing);while(d.flowing&&i.read()!==null);}Readable.prototype.wrap=function(i){let d=false;i.on("data",(p=>{if(!this.push(p)&&i.pause){d=true;i.pause()}}));i.on("end",(()=>{this.push(null)}));i.on("error",(i=>{De(this,i)}));i.on("close",(()=>{this.destroy()}));i.on("destroy",(()=>{this.destroy()}));this._read=()=>{if(d&&i.resume){d=false;i.resume()}};const p=ne(i);for(let d=1;d{v=i?Ie(v,i):null;p();p=nop}));try{while(true){const d=i.destroyed?null:i.read();if(d!==null){yield d}else if(v){throw v}else if(v===null){return}else{await new ie(next)}}}catch(i){v=Ie(v,i);throw v}finally{if((v||(d===null||d===undefined?undefined:d.destroyOnReturn)!==false)&&(v===undefined||i._readableState.autoDestroy)){Ee.destroyer(i,null)}else{i.off("readable",next);V()}}}re(Readable.prototype,{readable:{__proto__:null,get(){const i=this._readableState;return!!i&&i.readable!==false&&!i.destroyed&&!i.errorEmitted&&!i.endEmitted},set(i){if(this._readableState){this._readableState.readable=!!i}}},readableDidRead:{__proto__:null,enumerable:false,get:function(){return this._readableState.dataEmitted}},readableAborted:{__proto__:null,enumerable:false,get:function(){return!!(this._readableState.readable!==false&&(this._readableState.destroyed||this._readableState.errored)&&!this._readableState.endEmitted)}},readableHighWaterMark:{__proto__:null,enumerable:false,get:function(){return this._readableState.highWaterMark}},readableBuffer:{__proto__:null,enumerable:false,get:function(){return this._readableState&&this._readableState.buffer}},readableFlowing:{__proto__:null,enumerable:false,get:function(){return this._readableState.flowing},set:function(i){if(this._readableState){this._readableState.flowing=i}}},readableLength:{__proto__:null,enumerable:false,get(){return this._readableState.length}},readableObjectMode:{__proto__:null,enumerable:false,get(){return this._readableState?this._readableState.objectMode:false}},readableEncoding:{__proto__:null,enumerable:false,get(){return this._readableState?this._readableState.encoding:null}},errored:{__proto__:null,enumerable:false,get(){return this._readableState?this._readableState.errored:null}},closed:{__proto__:null,get(){return this._readableState?this._readableState.closed:false}},destroyed:{__proto__:null,enumerable:false,get(){return this._readableState?this._readableState.destroyed:false},set(i){if(!this._readableState){return}this._readableState.destroyed=i}},readableEnded:{__proto__:null,enumerable:false,get(){return this._readableState?this._readableState.endEmitted:false}}});re(ReadableState.prototype,{pipesCount:{__proto__:null,get(){return this.pipes.length}},paused:{__proto__:null,get(){return this[ke]!==false},set(i){this[ke]=!!i}}});Readable._fromList=fromList;function fromList(i,d){if(d.length===0)return null;let p;if(d.objectMode)p=d.buffer.shift();else if(!i||i>=d.length){if(d.decoder)p=d.buffer.join("");else if(d.buffer.length===1)p=d.buffer.first();else p=d.buffer.concat(d.length);d.buffer.clear()}else{p=d.buffer.consume(i,d.decoder)}return p}function endReadable(i){const d=i._readableState;pe("endReadable",d.endEmitted);if(!d.endEmitted){d.ended=true;v.nextTick(endReadableNT,d,i)}}function endReadableNT(i,d){pe("endReadableNT",i.endEmitted,i.length);if(!i.errored&&!i.closeEmitted&&!i.endEmitted&&i.length===0){i.endEmitted=true;d.emit("end");if(d.writable&&d.allowHalfOpen===false){v.nextTick(endWritableNT,d)}else if(i.autoDestroy){const i=d._writableState;const p=!i||i.autoDestroy&&(i.finished||i.writable===false);if(p){d.destroy()}}}}function endWritableNT(i){const d=i.writable&&!i.writableEnded&&!i.destroyed;if(d){i.end()}}Readable.from=function(i,d){return Ne(Readable,i,d)};let Ze;function lazyWebStreams(){if(Ze===undefined)Ze={};return Ze}Readable.fromWeb=function(i,d){return lazyWebStreams().newStreamReadableFromReadableStream(i,d)};Readable.toWeb=function(i,d){return lazyWebStreams().newReadableStreamFromStreamReadable(i,d)};Readable.wrap=function(i,d){var p,v;return new Readable({objectMode:(p=(v=i.readableObjectMode)!==null&&v!==undefined?v:i.objectMode)!==null&&p!==undefined?p:true,...d,destroy(d,p){Ee.destroyer(i,d);p(d)}}).wrap(i)}},54874:(i,d,p)=>{const{MathFloor:v,NumberIsInteger:V}=p(50999);const{validateInteger:K}=p(49554);const{ERR_INVALID_ARG_VALUE:ee}=p(69220).codes;let te=16*1024;let re=16;function highWaterMarkFrom(i,d,p){return i.highWaterMark!=null?i.highWaterMark:d?i[p]:null}function getDefaultHighWaterMark(i){return i?re:te}function setDefaultHighWaterMark(i,d){K(d,"value",0);if(i){re=d}else{te=d}}function getHighWaterMark(i,d,p,K){const te=highWaterMarkFrom(d,K,p);if(te!=null){if(!V(te)||te<0){const i=K?`options.${p}`:"options.highWaterMark";throw new ee(i,te)}return v(te)}return getDefaultHighWaterMark(i.objectMode)}i.exports={getHighWaterMark:getHighWaterMark,getDefaultHighWaterMark:getDefaultHighWaterMark,setDefaultHighWaterMark:setDefaultHighWaterMark}},12135:(i,d,p)=>{const{ObjectSetPrototypeOf:v,Symbol:V}=p(50999);i.exports=Transform;const{ERR_METHOD_NOT_IMPLEMENTED:K}=p(69220).codes;const ee=p(94449);const{getHighWaterMark:te}=p(54874);v(Transform.prototype,ee.prototype);v(Transform,ee);const re=V("kCallback");function Transform(i){if(!(this instanceof Transform))return new Transform(i);const d=i?te(this,i,"readableHighWaterMark",true):null;if(d===0){i={...i,highWaterMark:null,readableHighWaterMark:d,writableHighWaterMark:i.writableHighWaterMark||0}}ee.call(this,i);this._readableState.sync=false;this[re]=null;if(i){if(typeof i.transform==="function")this._transform=i.transform;if(typeof i.flush==="function")this._flush=i.flush}this.on("prefinish",prefinish)}function final(i){if(typeof this._flush==="function"&&!this.destroyed){this._flush(((d,p)=>{if(d){if(i){i(d)}else{this.destroy(d)}return}if(p!=null){this.push(p)}this.push(null);if(i){i()}}))}else{this.push(null);if(i){i()}}}function prefinish(){if(this._final!==final){final.call(this)}}Transform.prototype._final=final;Transform.prototype._transform=function(i,d,p){throw new K("_transform()")};Transform.prototype._write=function(i,d,p){const v=this._readableState;const V=this._writableState;const K=v.length;this._transform(i,d,((i,d)=>{if(i){p(i);return}if(d!=null){this.push(d)}if(V.ended||K===v.length||v.length{const{SymbolAsyncIterator:v,SymbolIterator:V,SymbolFor:K}=p(50999);const ee=K("nodejs.stream.destroyed");const te=K("nodejs.stream.errored");const re=K("nodejs.stream.readable");const ne=K("nodejs.stream.writable");const se=K("nodejs.stream.disturbed");const ie=K("nodejs.webstream.isClosedPromise");const oe=K("nodejs.webstream.controllerErrorFunction");function isReadableNodeStream(i,d=false){var p;return!!(i&&typeof i.pipe==="function"&&typeof i.on==="function"&&(!d||typeof i.pause==="function"&&typeof i.resume==="function")&&(!i._writableState||((p=i._readableState)===null||p===undefined?undefined:p.readable)!==false)&&(!i._writableState||i._readableState))}function isWritableNodeStream(i){var d;return!!(i&&typeof i.write==="function"&&typeof i.on==="function"&&(!i._readableState||((d=i._writableState)===null||d===undefined?undefined:d.writable)!==false))}function isDuplexNodeStream(i){return!!(i&&typeof i.pipe==="function"&&i._readableState&&typeof i.on==="function"&&typeof i.write==="function")}function isNodeStream(i){return i&&(i._readableState||i._writableState||typeof i.write==="function"&&typeof i.on==="function"||typeof i.pipe==="function"&&typeof i.on==="function")}function isReadableStream(i){return!!(i&&!isNodeStream(i)&&typeof i.pipeThrough==="function"&&typeof i.getReader==="function"&&typeof i.cancel==="function")}function isWritableStream(i){return!!(i&&!isNodeStream(i)&&typeof i.getWriter==="function"&&typeof i.abort==="function")}function isTransformStream(i){return!!(i&&!isNodeStream(i)&&typeof i.readable==="object"&&typeof i.writable==="object")}function isWebStream(i){return isReadableStream(i)||isWritableStream(i)||isTransformStream(i)}function isIterable(i,d){if(i==null)return false;if(d===true)return typeof i[v]==="function";if(d===false)return typeof i[V]==="function";return typeof i[v]==="function"||typeof i[V]==="function"}function isDestroyed(i){if(!isNodeStream(i))return null;const d=i._writableState;const p=i._readableState;const v=d||p;return!!(i.destroyed||i[ee]||v!==null&&v!==undefined&&v.destroyed)}function isWritableEnded(i){if(!isWritableNodeStream(i))return null;if(i.writableEnded===true)return true;const d=i._writableState;if(d!==null&&d!==undefined&&d.errored)return false;if(typeof(d===null||d===undefined?undefined:d.ended)!=="boolean")return null;return d.ended}function isWritableFinished(i,d){if(!isWritableNodeStream(i))return null;if(i.writableFinished===true)return true;const p=i._writableState;if(p!==null&&p!==undefined&&p.errored)return false;if(typeof(p===null||p===undefined?undefined:p.finished)!=="boolean")return null;return!!(p.finished||d===false&&p.ended===true&&p.length===0)}function isReadableEnded(i){if(!isReadableNodeStream(i))return null;if(i.readableEnded===true)return true;const d=i._readableState;if(!d||d.errored)return false;if(typeof(d===null||d===undefined?undefined:d.ended)!=="boolean")return null;return d.ended}function isReadableFinished(i,d){if(!isReadableNodeStream(i))return null;const p=i._readableState;if(p!==null&&p!==undefined&&p.errored)return false;if(typeof(p===null||p===undefined?undefined:p.endEmitted)!=="boolean")return null;return!!(p.endEmitted||d===false&&p.ended===true&&p.length===0)}function isReadable(i){if(i&&i[re]!=null)return i[re];if(typeof(i===null||i===undefined?undefined:i.readable)!=="boolean")return null;if(isDestroyed(i))return false;return isReadableNodeStream(i)&&i.readable&&!isReadableFinished(i)}function isWritable(i){if(i&&i[ne]!=null)return i[ne];if(typeof(i===null||i===undefined?undefined:i.writable)!=="boolean")return null;if(isDestroyed(i))return false;return isWritableNodeStream(i)&&i.writable&&!isWritableEnded(i)}function isFinished(i,d){if(!isNodeStream(i)){return null}if(isDestroyed(i)){return true}if((d===null||d===undefined?undefined:d.readable)!==false&&isReadable(i)){return false}if((d===null||d===undefined?undefined:d.writable)!==false&&isWritable(i)){return false}return true}function isWritableErrored(i){var d,p;if(!isNodeStream(i)){return null}if(i.writableErrored){return i.writableErrored}return(d=(p=i._writableState)===null||p===undefined?undefined:p.errored)!==null&&d!==undefined?d:null}function isReadableErrored(i){var d,p;if(!isNodeStream(i)){return null}if(i.readableErrored){return i.readableErrored}return(d=(p=i._readableState)===null||p===undefined?undefined:p.errored)!==null&&d!==undefined?d:null}function isClosed(i){if(!isNodeStream(i)){return null}if(typeof i.closed==="boolean"){return i.closed}const d=i._writableState;const p=i._readableState;if(typeof(d===null||d===undefined?undefined:d.closed)==="boolean"||typeof(p===null||p===undefined?undefined:p.closed)==="boolean"){return(d===null||d===undefined?undefined:d.closed)||(p===null||p===undefined?undefined:p.closed)}if(typeof i._closed==="boolean"&&isOutgoingMessage(i)){return i._closed}return null}function isOutgoingMessage(i){return typeof i._closed==="boolean"&&typeof i._defaultKeepAlive==="boolean"&&typeof i._removedConnection==="boolean"&&typeof i._removedContLen==="boolean"}function isServerResponse(i){return typeof i._sent100==="boolean"&&isOutgoingMessage(i)}function isServerRequest(i){var d;return typeof i._consuming==="boolean"&&typeof i._dumped==="boolean"&&((d=i.req)===null||d===undefined?undefined:d.upgradeOrConnect)===undefined}function willEmitClose(i){if(!isNodeStream(i))return null;const d=i._writableState;const p=i._readableState;const v=d||p;return!v&&isServerResponse(i)||!!(v&&v.autoDestroy&&v.emitClose&&v.closed===false)}function isDisturbed(i){var d;return!!(i&&((d=i[se])!==null&&d!==undefined?d:i.readableDidRead||i.readableAborted))}function isErrored(i){var d,p,v,V,K,ee,re,ne,se,ie;return!!(i&&((d=(p=(v=(V=(K=(ee=i[te])!==null&&ee!==undefined?ee:i.readableErrored)!==null&&K!==undefined?K:i.writableErrored)!==null&&V!==undefined?V:(re=i._readableState)===null||re===undefined?undefined:re.errorEmitted)!==null&&v!==undefined?v:(ne=i._writableState)===null||ne===undefined?undefined:ne.errorEmitted)!==null&&p!==undefined?p:(se=i._readableState)===null||se===undefined?undefined:se.errored)!==null&&d!==undefined?d:(ie=i._writableState)===null||ie===undefined?undefined:ie.errored))}i.exports={isDestroyed:isDestroyed,kIsDestroyed:ee,isDisturbed:isDisturbed,kIsDisturbed:se,isErrored:isErrored,kIsErrored:te,isReadable:isReadable,kIsReadable:re,kIsClosedPromise:ie,kControllerErrorFunction:oe,kIsWritable:ne,isClosed:isClosed,isDuplexNodeStream:isDuplexNodeStream,isFinished:isFinished,isIterable:isIterable,isReadableNodeStream:isReadableNodeStream,isReadableStream:isReadableStream,isReadableEnded:isReadableEnded,isReadableFinished:isReadableFinished,isReadableErrored:isReadableErrored,isNodeStream:isNodeStream,isWebStream:isWebStream,isWritable:isWritable,isWritableNodeStream:isWritableNodeStream,isWritableStream:isWritableStream,isWritableEnded:isWritableEnded,isWritableFinished:isWritableFinished,isWritableErrored:isWritableErrored,isServerRequest:isServerRequest,isServerResponse:isServerResponse,willEmitClose:willEmitClose,isTransformStream:isTransformStream}},58939:(i,d,p)=>{const v=p(7945);"use strict";const{ArrayPrototypeSlice:V,Error:K,FunctionPrototypeSymbolHasInstance:ee,ObjectDefineProperty:te,ObjectDefineProperties:re,ObjectSetPrototypeOf:ne,StringPrototypeToLowerCase:se,Symbol:ie,SymbolHasInstance:oe}=p(50999);i.exports=Writable;Writable.WritableState=WritableState;const{EventEmitter:ae}=p(24434);const Ae=p(84128).Stream;const{Buffer:ce}=p(20181);const le=p(65089);const{addAbortSignal:ue}=p(80652);const{getHighWaterMark:de,getDefaultHighWaterMark:he}=p(54874);const{ERR_INVALID_ARG_TYPE:fe,ERR_METHOD_NOT_IMPLEMENTED:ge,ERR_MULTIPLE_CALLBACK:pe,ERR_STREAM_CANNOT_PIPE:me,ERR_STREAM_DESTROYED:Ee,ERR_STREAM_ALREADY_FINISHED:Ce,ERR_STREAM_NULL_VALUES:ye,ERR_STREAM_WRITE_AFTER_END:Ie,ERR_UNKNOWN_ENCODING:Be}=p(69220).codes;const{errorOrDestroy:Qe}=le;ne(Writable.prototype,Ae.prototype);ne(Writable,Ae);function nop(){}const be=ie("kOnFinished");function WritableState(i,d,v){if(typeof v!=="boolean")v=d instanceof p(94449);this.objectMode=!!(i&&i.objectMode);if(v)this.objectMode=this.objectMode||!!(i&&i.writableObjectMode);this.highWaterMark=i?de(this,i,"writableHighWaterMark",v):he(false);this.finalCalled=false;this.needDrain=false;this.ending=false;this.ended=false;this.finished=false;this.destroyed=false;const V=!!(i&&i.decodeStrings===false);this.decodeStrings=!V;this.defaultEncoding=i&&i.defaultEncoding||"utf8";this.length=0;this.writing=false;this.corked=0;this.sync=true;this.bufferProcessing=false;this.onwrite=onwrite.bind(undefined,d);this.writecb=null;this.writelen=0;this.afterWriteTickInfo=null;resetBuffer(this);this.pendingcb=0;this.constructed=true;this.prefinished=false;this.errorEmitted=false;this.emitClose=!i||i.emitClose!==false;this.autoDestroy=!i||i.autoDestroy!==false;this.errored=null;this.closed=false;this.closeEmitted=false;this[be]=[]}function resetBuffer(i){i.buffered=[];i.bufferedIndex=0;i.allBuffers=true;i.allNoop=true}WritableState.prototype.getBuffer=function getBuffer(){return V(this.buffered,this.bufferedIndex)};te(WritableState.prototype,"bufferedRequestCount",{__proto__:null,get(){return this.buffered.length-this.bufferedIndex}});function Writable(i){const d=this instanceof p(94449);if(!d&&!ee(Writable,this))return new Writable(i);this._writableState=new WritableState(i,this,d);if(i){if(typeof i.write==="function")this._write=i.write;if(typeof i.writev==="function")this._writev=i.writev;if(typeof i.destroy==="function")this._destroy=i.destroy;if(typeof i.final==="function")this._final=i.final;if(typeof i.construct==="function")this._construct=i.construct;if(i.signal)ue(i.signal,this)}Ae.call(this,i);le.construct(this,(()=>{const i=this._writableState;if(!i.writing){clearBuffer(this,i)}finishMaybe(this,i)}))}te(Writable,oe,{__proto__:null,value:function(i){if(ee(this,i))return true;if(this!==Writable)return false;return i&&i._writableState instanceof WritableState}});Writable.prototype.pipe=function(){Qe(this,new me)};function _write(i,d,p,V){const K=i._writableState;if(typeof p==="function"){V=p;p=K.defaultEncoding}else{if(!p)p=K.defaultEncoding;else if(p!=="buffer"&&!ce.isEncoding(p))throw new Be(p);if(typeof V!=="function")V=nop}if(d===null){throw new ye}else if(!K.objectMode){if(typeof d==="string"){if(K.decodeStrings!==false){d=ce.from(d,p);p="buffer"}}else if(d instanceof ce){p="buffer"}else if(Ae._isUint8Array(d)){d=Ae._uint8ArrayToBuffer(d);p="buffer"}else{throw new fe("chunk",["string","Buffer","Uint8Array"],d)}}let ee;if(K.ending){ee=new Ie}else if(K.destroyed){ee=new Ee("write")}if(ee){v.nextTick(V,ee);Qe(i,ee,true);return ee}K.pendingcb++;return writeOrBuffer(i,K,d,p,V)}Writable.prototype.write=function(i,d,p){return _write(this,i,d,p)===true};Writable.prototype.cork=function(){this._writableState.corked++};Writable.prototype.uncork=function(){const i=this._writableState;if(i.corked){i.corked--;if(!i.writing)clearBuffer(this,i)}};Writable.prototype.setDefaultEncoding=function setDefaultEncoding(i){if(typeof i==="string")i=se(i);if(!ce.isEncoding(i))throw new Be(i);this._writableState.defaultEncoding=i;return this};function writeOrBuffer(i,d,p,v,V){const K=d.objectMode?1:p.length;d.length+=K;const ee=d.lengthp.bufferedIndex){clearBuffer(i,p)}if(V){if(p.afterWriteTickInfo!==null&&p.afterWriteTickInfo.cb===K){p.afterWriteTickInfo.count++}else{p.afterWriteTickInfo={count:1,cb:K,stream:i,state:p};v.nextTick(afterWriteTick,p.afterWriteTickInfo)}}else{afterWrite(i,p,1,K)}}}function afterWriteTick({stream:i,state:d,count:p,cb:v}){d.afterWriteTickInfo=null;return afterWrite(i,d,p,v)}function afterWrite(i,d,p,v){const V=!d.ending&&!i.destroyed&&d.length===0&&d.needDrain;if(V){d.needDrain=false;i.emit("drain")}while(p-- >0){d.pendingcb--;v()}if(d.destroyed){errorBuffer(d)}finishMaybe(i,d)}function errorBuffer(i){if(i.writing){return}for(let p=i.bufferedIndex;p1&&i._writev){d.pendingcb-=ee-1;const v=d.allNoop?nop:i=>{for(let d=te;d256){p.splice(0,te);d.bufferedIndex=0}else{d.bufferedIndex=te}}d.bufferProcessing=false}Writable.prototype._write=function(i,d,p){if(this._writev){this._writev([{chunk:i,encoding:d}],p)}else{throw new ge("_write()")}};Writable.prototype._writev=null;Writable.prototype.end=function(i,d,p){const V=this._writableState;if(typeof i==="function"){p=i;i=null;d=null}else if(typeof d==="function"){p=d;d=null}let ee;if(i!==null&&i!==undefined){const p=_write(this,i,d);if(p instanceof K){ee=p}}if(V.corked){V.corked=1;this.uncork()}if(ee){}else if(!V.errored&&!V.ending){V.ending=true;finishMaybe(this,V,true);V.ended=true}else if(V.finished){ee=new Ce("end")}else if(V.destroyed){ee=new Ee("end")}if(typeof p==="function"){if(ee||V.finished){v.nextTick(p,ee)}else{V[be].push(p)}}return this};function needFinish(i){return i.ending&&!i.destroyed&&i.constructed&&i.length===0&&!i.errored&&i.buffered.length===0&&!i.finished&&!i.writing&&!i.errorEmitted&&!i.closeEmitted}function callFinal(i,d){let p=false;function onFinish(V){if(p){Qe(i,V!==null&&V!==undefined?V:pe());return}p=true;d.pendingcb--;if(V){const p=d[be].splice(0);for(let i=0;i{if(needFinish(d)){finish(i,d)}else{d.pendingcb--}}),i,d)}else if(needFinish(d)){d.pendingcb++;finish(i,d)}}}}function finish(i,d){d.pendingcb--;d.finished=true;const p=d[be].splice(0);for(let i=0;i{const{ArrayIsArray:v,ArrayPrototypeIncludes:V,ArrayPrototypeJoin:K,ArrayPrototypeMap:ee,NumberIsInteger:te,NumberIsNaN:re,NumberMAX_SAFE_INTEGER:ne,NumberMIN_SAFE_INTEGER:se,NumberParseInt:ie,ObjectPrototypeHasOwnProperty:oe,RegExpPrototypeExec:ae,String:Ae,StringPrototypeToUpperCase:ce,StringPrototypeTrim:le}=p(50999);const{hideStackFrames:ue,codes:{ERR_SOCKET_BAD_PORT:de,ERR_INVALID_ARG_TYPE:he,ERR_INVALID_ARG_VALUE:fe,ERR_OUT_OF_RANGE:ge,ERR_UNKNOWN_SIGNAL:pe}}=p(69220);const{normalizeEncoding:me}=p(23539);const{isAsyncFunction:Ee,isArrayBufferView:Ce}=p(23539).types;const ye={};function isInt32(i){return i===(i|0)}function isUint32(i){return i===i>>>0}const Ie=/^[0-7]+$/;const Be="must be a 32-bit unsigned integer or an octal string";function parseFileMode(i,d,p){if(typeof i==="undefined"){i=p}if(typeof i==="string"){if(ae(Ie,i)===null){throw new fe(d,i,Be)}i=ie(i,8)}we(i,d);return i}const Qe=ue(((i,d,p=se,v=ne)=>{if(typeof i!=="number")throw new he(d,"number",i);if(!te(i))throw new ge(d,"an integer",i);if(iv)throw new ge(d,`>= ${p} && <= ${v}`,i)}));const be=ue(((i,d,p=-2147483648,v=2147483647)=>{if(typeof i!=="number"){throw new he(d,"number",i)}if(!te(i)){throw new ge(d,"an integer",i)}if(iv){throw new ge(d,`>= ${p} && <= ${v}`,i)}}));const we=ue(((i,d,p=false)=>{if(typeof i!=="number"){throw new he(d,"number",i)}if(!te(i)){throw new ge(d,"an integer",i)}const v=p?1:0;const V=4294967295;if(iV){throw new ge(d,`>= ${v} && <= ${V}`,i)}}));function validateString(i,d){if(typeof i!=="string")throw new he(d,"string",i)}function validateNumber(i,d,p=undefined,v){if(typeof i!=="number")throw new he(d,"number",i);if(p!=null&&iv||(p!=null||v!=null)&&re(i)){throw new ge(d,`${p!=null?`>= ${p}`:""}${p!=null&&v!=null?" && ":""}${v!=null?`<= ${v}`:""}`,i)}}const Se=ue(((i,d,p)=>{if(!V(p,i)){const v=K(ee(p,(i=>typeof i==="string"?`'${i}'`:Ae(i))),", ");const V="must be one of: "+v;throw new fe(d,i,V)}}));function validateBoolean(i,d){if(typeof i!=="boolean")throw new he(d,"boolean",i)}function getOwnPropertyValueOrDefault(i,d,p){return i==null||!oe(i,d)?p:i[d]}const Re=ue(((i,d,p=null)=>{const V=getOwnPropertyValueOrDefault(p,"allowArray",false);const K=getOwnPropertyValueOrDefault(p,"allowFunction",false);const ee=getOwnPropertyValueOrDefault(p,"nullable",false);if(!ee&&i===null||!V&&v(i)||typeof i!=="object"&&(!K||typeof i!=="function")){throw new he(d,"Object",i)}}));const ve=ue(((i,d)=>{if(i!=null&&typeof i!=="object"&&typeof i!=="function"){throw new he(d,"a dictionary",i)}}));const ke=ue(((i,d,p=0)=>{if(!v(i)){throw new he(d,"Array",i)}if(i.length{if(!Ce(i)){throw new he(d,["Buffer","TypedArray","DataView"],i)}}));function validateEncoding(i,d){const p=me(d);const v=i.length;if(p==="hex"&&v%2!==0){throw new fe("encoding",d,`is invalid for data of length ${v}`)}}function validatePort(i,d="Port",p=true){if(typeof i!=="number"&&typeof i!=="string"||typeof i==="string"&&le(i).length===0||+i!==+i>>>0||i>65535||i===0&&!p){throw new de(d,i,p)}return i|0}const Ne=ue(((i,d)=>{if(i!==undefined&&(i===null||typeof i!=="object"||!("aborted"in i))){throw new he(d,"AbortSignal",i)}}));const De=ue(((i,d)=>{if(typeof i!=="function")throw new he(d,"Function",i)}));const xe=ue(((i,d)=>{if(typeof i!=="function"||Ee(i))throw new he(d,"Function",i)}));const Fe=ue(((i,d)=>{if(i!==undefined)throw new he(d,"undefined",i)}));function validateUnion(i,d,p){if(!V(p,i)){throw new he(d,`('${K(p,"|")}')`,i)}}const Pe=/^(?:<[^>]*>)(?:\s*;\s*[^;"\s]+(?:=(")?[^;"\s]*\1)?)*$/;function validateLinkHeaderFormat(i,d){if(typeof i==="undefined"||!ae(Pe,i)){throw new fe(d,i,'must be an array or string of format "; rel=preload; as=style"')}}function validateLinkHeaderValue(i){if(typeof i==="string"){validateLinkHeaderFormat(i,"hints");return i}else if(v(i)){const d=i.length;let p="";if(d===0){return p}for(let v=0;v; rel=preload; as=style"')}i.exports={isInt32:isInt32,isUint32:isUint32,parseFileMode:parseFileMode,validateArray:ke,validateStringArray:validateStringArray,validateBooleanArray:validateBooleanArray,validateAbortSignalArray:validateAbortSignalArray,validateBoolean:validateBoolean,validateBuffer:Te,validateDictionary:ve,validateEncoding:validateEncoding,validateFunction:De,validateInt32:be,validateInteger:Qe,validateNumber:validateNumber,validateObject:Re,validateOneOf:Se,validatePlainFunction:xe,validatePort:validatePort,validateSignalName:validateSignalName,validateString:validateString,validateUint32:we,validateUndefined:Fe,validateUnion:validateUnion,validateAbortSignal:Ne,validateLinkHeaderValue:validateLinkHeaderValue}},69220:(i,d,p)=>{const{format:v,inspect:V,AggregateError:K}=p(23539);const ee=globalThis.AggregateError||K;const te=Symbol("kIsNodeError");const re=["string","function","number","object","Function","Object","boolean","bigint","symbol"];const ne=/^([A-Z][a-z0-9]*)+$/;const se="__node_internal_";const ie={};function assert(i,d){if(!i){throw new ie.ERR_INTERNAL_ASSERTION(d)}}function addNumericalSeparator(i){let d="";let p=i.length;const v=i[0]==="-"?1:0;for(;p>=v+4;p-=3){d=`_${i.slice(p-3,p)}${d}`}return`${i.slice(0,p)}${d}`}function getMessage(i,d,p){if(typeof d==="function"){assert(d.length<=p.length,`Code: ${i}; The provided arguments length (${p.length}) does not match the required ones (${d.length}).`);return d(...p)}const V=(d.match(/%[dfijoOs]/g)||[]).length;assert(V===p.length,`Code: ${i}; The provided arguments length (${p.length}) does not match the required ones (${V}).`);if(p.length===0){return d}return v(d,...p)}function E(i,d,p){if(!p){p=Error}class NodeError extends p{constructor(...p){super(getMessage(i,d,p))}toString(){return`${this.name} [${i}]: ${this.message}`}}Object.defineProperties(NodeError.prototype,{name:{value:p.name,writable:true,enumerable:false,configurable:true},toString:{value(){return`${this.name} [${i}]: ${this.message}`},writable:true,enumerable:false,configurable:true}});NodeError.prototype.code=i;NodeError.prototype[te]=true;ie[i]=NodeError}function hideStackFrames(i){const d=se+i.name;Object.defineProperty(i,"name",{value:d});return i}function aggregateTwoErrors(i,d){if(i&&d&&i!==d){if(Array.isArray(d.errors)){d.errors.push(i);return d}const p=new ee([d,i],d.message);p.code=d.code;return p}return i||d}class AbortError extends Error{constructor(i="The operation was aborted",d=undefined){if(d!==undefined&&typeof d!=="object"){throw new ie.ERR_INVALID_ARG_TYPE("options","Object",d)}super(i,d);this.code="ABORT_ERR";this.name="AbortError"}}E("ERR_ASSERTION","%s",Error);E("ERR_INVALID_ARG_TYPE",((i,d,p)=>{assert(typeof i==="string","'name' must be a string");if(!Array.isArray(d)){d=[d]}let v="The ";if(i.endsWith(" argument")){v+=`${i} `}else{v+=`"${i}" ${i.includes(".")?"property":"argument"} `}v+="must be ";const K=[];const ee=[];const te=[];for(const i of d){assert(typeof i==="string","All expected entries have to be of type string");if(re.includes(i)){K.push(i.toLowerCase())}else if(ne.test(i)){ee.push(i)}else{assert(i!=="object",'The value "object" should be written as "Object"');te.push(i)}}if(ee.length>0){const i=K.indexOf("object");if(i!==-1){K.splice(K,i,1);ee.push("Object")}}if(K.length>0){switch(K.length){case 1:v+=`of type ${K[0]}`;break;case 2:v+=`one of type ${K[0]} or ${K[1]}`;break;default:{const i=K.pop();v+=`one of type ${K.join(", ")}, or ${i}`}}if(ee.length>0||te.length>0){v+=" or "}}if(ee.length>0){switch(ee.length){case 1:v+=`an instance of ${ee[0]}`;break;case 2:v+=`an instance of ${ee[0]} or ${ee[1]}`;break;default:{const i=ee.pop();v+=`an instance of ${ee.join(", ")}, or ${i}`}}if(te.length>0){v+=" or "}}switch(te.length){case 0:break;case 1:if(te[0].toLowerCase()!==te[0]){v+="an "}v+=`${te[0]}`;break;case 2:v+=`one of ${te[0]} or ${te[1]}`;break;default:{const i=te.pop();v+=`one of ${te.join(", ")}, or ${i}`}}if(p==null){v+=`. Received ${p}`}else if(typeof p==="function"&&p.name){v+=`. Received function ${p.name}`}else if(typeof p==="object"){var se;if((se=p.constructor)!==null&&se!==undefined&&se.name){v+=`. Received an instance of ${p.constructor.name}`}else{const i=V(p,{depth:-1});v+=`. Received ${i}`}}else{let i=V(p,{colors:false});if(i.length>25){i=`${i.slice(0,25)}...`}v+=`. Received type ${typeof p} (${i})`}return v}),TypeError);E("ERR_INVALID_ARG_VALUE",((i,d,p="is invalid")=>{let v=V(d);if(v.length>128){v=v.slice(0,128)+"..."}const K=i.includes(".")?"property":"argument";return`The ${K} '${i}' ${p}. Received ${v}`}),TypeError);E("ERR_INVALID_RETURN_VALUE",((i,d,p)=>{var v;const V=p!==null&&p!==undefined&&(v=p.constructor)!==null&&v!==undefined&&v.name?`instance of ${p.constructor.name}`:`type ${typeof p}`;return`Expected ${i} to be returned from the "${d}"`+` function but got ${V}.`}),TypeError);E("ERR_MISSING_ARGS",((...i)=>{assert(i.length>0,"At least one arg needs to be specified");let d;const p=i.length;i=(Array.isArray(i)?i:[i]).map((i=>`"${i}"`)).join(" or ");switch(p){case 1:d+=`The ${i[0]} argument`;break;case 2:d+=`The ${i[0]} and ${i[1]} arguments`;break;default:{const p=i.pop();d+=`The ${i.join(", ")}, and ${p} arguments`}break}return`${d} must be specified`}),TypeError);E("ERR_OUT_OF_RANGE",((i,d,p)=>{assert(d,'Missing "range" argument');let v;if(Number.isInteger(p)&&Math.abs(p)>2**32){v=addNumericalSeparator(String(p))}else if(typeof p==="bigint"){v=String(p);if(p>2n**32n||p<-(2n**32n)){v=addNumericalSeparator(v)}v+="n"}else{v=V(p)}return`The value of "${i}" is out of range. It must be ${d}. Received ${v}`}),RangeError);E("ERR_MULTIPLE_CALLBACK","Callback called multiple times",Error);E("ERR_METHOD_NOT_IMPLEMENTED","The %s method is not implemented",Error);E("ERR_STREAM_ALREADY_FINISHED","Cannot call %s after a stream was finished",Error);E("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable",Error);E("ERR_STREAM_DESTROYED","Cannot call %s after a stream was destroyed",Error);E("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError);E("ERR_STREAM_PREMATURE_CLOSE","Premature close",Error);E("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF",Error);E("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event",Error);E("ERR_STREAM_WRITE_AFTER_END","write after end",Error);E("ERR_UNKNOWN_ENCODING","Unknown encoding: %s",TypeError);i.exports={AbortError:AbortError,aggregateTwoErrors:hideStackFrames(aggregateTwoErrors),hideStackFrames:hideStackFrames,codes:ie}},29963:(i,d,p)=>{const v=p(2203);if(v&&process.env.READABLE_STREAM==="disable"){const d=v.promises;i.exports._uint8ArrayToBuffer=v._uint8ArrayToBuffer;i.exports._isUint8Array=v._isUint8Array;i.exports.isDisturbed=v.isDisturbed;i.exports.isErrored=v.isErrored;i.exports.isReadable=v.isReadable;i.exports.Readable=v.Readable;i.exports.Writable=v.Writable;i.exports.Duplex=v.Duplex;i.exports.Transform=v.Transform;i.exports.PassThrough=v.PassThrough;i.exports.addAbortSignal=v.addAbortSignal;i.exports.finished=v.finished;i.exports.destroy=v.destroy;i.exports.pipeline=v.pipeline;i.exports.compose=v.compose;Object.defineProperty(v,"promises",{configurable:true,enumerable:true,get(){return d}});i.exports.Stream=v.Stream}else{const d=p(12375);const v=p(65904);const V=d.Readable.destroy;i.exports=d.Readable;i.exports._uint8ArrayToBuffer=d._uint8ArrayToBuffer;i.exports._isUint8Array=d._isUint8Array;i.exports.isDisturbed=d.isDisturbed;i.exports.isErrored=d.isErrored;i.exports.isReadable=d.isReadable;i.exports.Readable=d.Readable;i.exports.Writable=d.Writable;i.exports.Duplex=d.Duplex;i.exports.Transform=d.Transform;i.exports.PassThrough=d.PassThrough;i.exports.addAbortSignal=d.addAbortSignal;i.exports.finished=d.finished;i.exports.destroy=d.destroy;i.exports.destroy=V;i.exports.pipeline=d.pipeline;i.exports.compose=d.compose;Object.defineProperty(d,"promises",{configurable:true,enumerable:true,get(){return v}});i.exports.Stream=d.Stream}i.exports["default"]=i.exports},50999:i=>{i.exports={ArrayIsArray(i){return Array.isArray(i)},ArrayPrototypeIncludes(i,d){return i.includes(d)},ArrayPrototypeIndexOf(i,d){return i.indexOf(d)},ArrayPrototypeJoin(i,d){return i.join(d)},ArrayPrototypeMap(i,d){return i.map(d)},ArrayPrototypePop(i,d){return i.pop(d)},ArrayPrototypePush(i,d){return i.push(d)},ArrayPrototypeSlice(i,d,p){return i.slice(d,p)},Error:Error,FunctionPrototypeCall(i,d,...p){return i.call(d,...p)},FunctionPrototypeSymbolHasInstance(i,d){return Function.prototype[Symbol.hasInstance].call(i,d)},MathFloor:Math.floor,Number:Number,NumberIsInteger:Number.isInteger,NumberIsNaN:Number.isNaN,NumberMAX_SAFE_INTEGER:Number.MAX_SAFE_INTEGER,NumberMIN_SAFE_INTEGER:Number.MIN_SAFE_INTEGER,NumberParseInt:Number.parseInt,ObjectDefineProperties(i,d){return Object.defineProperties(i,d)},ObjectDefineProperty(i,d,p){return Object.defineProperty(i,d,p)},ObjectGetOwnPropertyDescriptor(i,d){return Object.getOwnPropertyDescriptor(i,d)},ObjectKeys(i){return Object.keys(i)},ObjectSetPrototypeOf(i,d){return Object.setPrototypeOf(i,d)},Promise:Promise,PromisePrototypeCatch(i,d){return i.catch(d)},PromisePrototypeThen(i,d,p){return i.then(d,p)},PromiseReject(i){return Promise.reject(i)},PromiseResolve(i){return Promise.resolve(i)},ReflectApply:Reflect.apply,RegExpPrototypeTest(i,d){return i.test(d)},SafeSet:Set,String:String,StringPrototypeSlice(i,d,p){return i.slice(d,p)},StringPrototypeToLowerCase(i){return i.toLowerCase()},StringPrototypeToUpperCase(i){return i.toUpperCase()},StringPrototypeTrim(i){return i.trim()},Symbol:Symbol,SymbolFor:Symbol.for,SymbolAsyncIterator:Symbol.asyncIterator,SymbolHasInstance:Symbol.hasInstance,SymbolIterator:Symbol.iterator,SymbolDispose:Symbol.dispose||Symbol("Symbol.dispose"),SymbolAsyncDispose:Symbol.asyncDispose||Symbol("Symbol.asyncDispose"),TypedArrayPrototypeSet(i,d,p){return i.set(d,p)},Boolean:Boolean,Uint8Array:Uint8Array}},23539:(i,d,p)=>{const v=p(20181);const{kResistStopPropagation:V,SymbolDispose:K}=p(50999);const ee=globalThis.AbortSignal||p(17413).AbortSignal;const te=globalThis.AbortController||p(17413).AbortController;const re=Object.getPrototypeOf((async function(){})).constructor;const ne=globalThis.Blob||v.Blob;const se=typeof ne!=="undefined"?function isBlob(i){return i instanceof ne}:function isBlob(i){return false};const validateAbortSignal=(i,d)=>{if(i!==undefined&&(i===null||typeof i!=="object"||!("aborted"in i))){throw new ERR_INVALID_ARG_TYPE(d,"AbortSignal",i)}};const validateFunction=(i,d)=>{if(typeof i!=="function")throw new ERR_INVALID_ARG_TYPE(d,"Function",i)};class AggregateError extends Error{constructor(i){if(!Array.isArray(i)){throw new TypeError(`Expected input to be an Array, got ${typeof i}`)}let d="";for(let p=0;p{i=p;d=v}));return{promise:p,resolve:i,reject:d}},promisify(i){return new Promise(((d,p)=>{i(((i,...v)=>{if(i){return p(i)}return d(...v)}))}))},debuglog(){return function(){}},format(i,...d){return i.replace(/%([sdifj])/g,(function(...[i,p]){const v=d.shift();if(p==="f"){return v.toFixed(6)}else if(p==="j"){return JSON.stringify(v)}else if(p==="s"&&typeof v==="object"){const i=v.constructor!==Object?v.constructor.name:"";return`${i} {}`.trim()}else{return v.toString()}}))},inspect(i){switch(typeof i){case"string":if(i.includes("'")){if(!i.includes('"')){return`"${i}"`}else if(!i.includes("`")&&!i.includes("${")){return`\`${i}\``}}return`'${i}'`;case"number":if(isNaN(i)){return"NaN"}else if(Object.is(i,-0)){return String(i)}return i;case"bigint":return`${String(i)}n`;case"boolean":case"undefined":return String(i);case"object":return"{}"}},types:{isAsyncFunction(i){return i instanceof re},isArrayBufferView(i){return ArrayBuffer.isView(i)}},isBlob:se,deprecate(i,d){return i},addAbortListener:p(24434).addAbortListener||function addAbortListener(i,d){if(i===undefined){throw new ERR_INVALID_ARG_TYPE("signal","AbortSignal",i)}validateAbortSignal(i,"signal");validateFunction(d,"listener");let p;if(i.aborted){queueMicrotask((()=>d()))}else{i.addEventListener("abort",d,{__proto__:null,once:true,[V]:true});p=()=>{i.removeEventListener("abort",d)}}return{__proto__:null,[K](){var i;(i=p)===null||i===undefined?undefined:i()}}},AbortSignalAny:ee.any||function AbortSignalAny(i){if(i.length===1){return i[0]}const d=new te;const abort=()=>d.abort();i.forEach((i=>{validateAbortSignal(i,"signals");i.addEventListener("abort",abort,{once:true})}));d.signal.addEventListener("abort",(()=>{i.forEach((i=>i.removeEventListener("abort",abort)))}),{once:true});return d.signal}};i.exports.promisify.custom=Symbol.for("nodejs.util.promisify.custom")},12375:(i,d,p)=>{const{Buffer:v}=p(20181);"use strict";const{ObjectDefineProperty:V,ObjectKeys:K,ReflectApply:ee}=p(50999);const{promisify:{custom:te}}=p(23539);const{streamReturningOperators:re,promiseReturningOperators:ne}=p(11222);const{codes:{ERR_ILLEGAL_CONSTRUCTOR:se}}=p(69220);const ie=p(64999);const{setDefaultHighWaterMark:oe,getDefaultHighWaterMark:ae}=p(54874);const{pipeline:Ae}=p(16701);const{destroyer:ce}=p(65089);const le=p(36815);const ue={};const de=p(65904);const he=p(83426);const fe=i.exports=p(84128).Stream;fe.isDestroyed=he.isDestroyed;fe.isDisturbed=he.isDisturbed;fe.isErrored=he.isErrored;fe.isReadable=he.isReadable;fe.isWritable=he.isWritable;fe.Readable=p(17783);for(const pe of K(re)){const me=re[pe];function fn(...i){if(new.target){throw se()}return fe.Readable.from(ee(me,this,i))}V(fn,"name",{__proto__:null,value:me.name});V(fn,"length",{__proto__:null,value:me.length});V(fe.Readable.prototype,pe,{__proto__:null,value:fn,enumerable:false,configurable:true,writable:true})}for(const Ee of K(ne)){const Ce=ne[Ee];function fn(...i){if(new.target){throw se()}return ee(Ce,this,i)}V(fn,"name",{__proto__:null,value:Ce.name});V(fn,"length",{__proto__:null,value:Ce.length});V(fe.Readable.prototype,Ee,{__proto__:null,value:fn,enumerable:false,configurable:true,writable:true})}fe.Writable=p(58939);fe.Duplex=p(94449);fe.Transform=p(12135);fe.PassThrough=p(19173);fe.pipeline=Ae;const{addAbortSignal:ge}=p(80652);fe.addAbortSignal=ge;fe.finished=le;fe.destroy=ce;fe.compose=ie;fe.setDefaultHighWaterMark=oe;fe.getDefaultHighWaterMark=ae;V(fe,"promises",{__proto__:null,configurable:true,enumerable:true,get(){return de}});V(Ae,te,{__proto__:null,enumerable:true,get(){return de.pipeline}});V(le,te,{__proto__:null,enumerable:true,get(){return de.finished}});fe.Stream=fe;fe._isUint8Array=function isUint8Array(i){return i instanceof Uint8Array};fe._uint8ArrayToBuffer=function _uint8ArrayToBuffer(i){return v.from(i.buffer,i.byteOffset,i.byteLength)}},65904:(i,d,p)=>{const{ArrayPrototypePop:v,Promise:V}=p(50999);const{isIterable:K,isNodeStream:ee,isWebStream:te}=p(83426);const{pipelineImpl:re}=p(16701);const{finished:ne}=p(36815);p(12375);function pipeline(...i){return new V(((d,p)=>{let V;let ne;const se=i[i.length-1];if(se&&typeof se==="object"&&!ee(se)&&!K(se)&&!te(se)){const d=v(i);V=d.signal;ne=d.end}re(i,((i,v)=>{if(i){p(i)}else{d(v)}}),{signal:V,end:ne})}))}i.exports={finished:ne,pipeline:pipeline}},51364:(i,d,p)=>{i.exports=readdirGlob;const v=p(79896);const{EventEmitter:V}=p(24434);const{Minimatch:K}=p(6944);const{resolve:ee}=p(16928);function readdir(i,d){return new Promise(((p,V)=>{v.readdir(i,{withFileTypes:true},((i,v)=>{if(i){switch(i.code){case"ENOTDIR":if(d){V(i)}else{p([])}break;case"ENOTSUP":case"ENOENT":case"ENAMETOOLONG":case"UNKNOWN":p([]);break;case"ELOOP":default:V(i);break}}else{p(v)}}))}))}function stat(i,d){return new Promise(((p,V)=>{const K=d?v.stat:v.lstat;K(i,((v,V)=>{if(v){switch(v.code){case"ENOENT":if(d){p(stat(i,false))}else{p(null)}break;default:p(null);break}}else{p(V)}}))}))}async function*exploreWalkAsync(i,d,p,v,V,K){let ee=await readdir(d+i,K);for(const K of ee){let ee=K.name;if(ee===undefined){ee=K;v=true}const te=i+"/"+ee;const re=te.slice(1);const ne=d+"/"+re;let se=null;if(v||p){se=await stat(ne,p)}if(!se&&K.name!==undefined){se=K}if(se===null){se={isDirectory:()=>false}}if(se.isDirectory()){if(!V(re)){yield{relative:re,absolute:ne,stats:se};yield*exploreWalkAsync(te,d,p,v,V,false)}}else{yield{relative:re,absolute:ne,stats:se}}}}async function*explore(i,d,p,v){yield*exploreWalkAsync("",i,d,p,v,true)}function readOptions(i){return{pattern:i.pattern,dot:!!i.dot,noglobstar:!!i.noglobstar,matchBase:!!i.matchBase,nocase:!!i.nocase,ignore:i.ignore,skip:i.skip,follow:!!i.follow,stat:!!i.stat,nodir:!!i.nodir,mark:!!i.mark,silent:!!i.silent,absolute:!!i.absolute}}class ReaddirGlob extends V{constructor(i,d,p){super();if(typeof d==="function"){p=d;d=null}this.options=readOptions(d||{});this.matchers=[];if(this.options.pattern){const i=Array.isArray(this.options.pattern)?this.options.pattern:[this.options.pattern];this.matchers=i.map((i=>new K(i,{dot:this.options.dot,noglobstar:this.options.noglobstar,matchBase:this.options.matchBase,nocase:this.options.nocase})))}this.ignoreMatchers=[];if(this.options.ignore){const i=Array.isArray(this.options.ignore)?this.options.ignore:[this.options.ignore];this.ignoreMatchers=i.map((i=>new K(i,{dot:true})))}this.skipMatchers=[];if(this.options.skip){const i=Array.isArray(this.options.skip)?this.options.skip:[this.options.skip];this.skipMatchers=i.map((i=>new K(i,{dot:true})))}this.iterator=explore(ee(i||"."),this.options.follow,this.options.stat,this._shouldSkipDirectory.bind(this));this.paused=false;this.inactive=false;this.aborted=false;if(p){this._matches=[];this.on("match",(i=>this._matches.push(this.options.absolute?i.absolute:i.relative)));this.on("error",(i=>p(i)));this.on("end",(()=>p(null,this._matches)))}setTimeout((()=>this._next()),0)}_shouldSkipDirectory(i){return this.skipMatchers.some((d=>d.match(i)))}_fileMatches(i,d){const p=i+(d?"/":"");return(this.matchers.length===0||this.matchers.some((i=>i.match(p))))&&!this.ignoreMatchers.some((i=>i.match(p)))&&(!this.options.nodir||!d)}_next(){if(!this.paused&&!this.aborted){this.iterator.next().then((i=>{if(!i.done){const d=i.value.stats.isDirectory();if(this._fileMatches(i.value.relative,d)){let p=i.value.relative;let v=i.value.absolute;if(this.options.mark&&d){p+="/";v+="/"}if(this.options.stat){this.emit("match",{relative:p,absolute:v,stat:i.value.stats})}else{this.emit("match",{relative:p,absolute:v})}}this._next(this.iterator)}else{this.emit("end")}})).catch((i=>{this.abort();this.emit("error",i);if(!i.code&&!this.options.silent){console.error(i)}}))}else{this.inactive=true}}abort(){this.aborted=true}pause(){this.paused=true}resume(){this.paused=false;if(this.inactive){this.inactive=false;this._next()}}}function readdirGlob(i,d,p){return new ReaddirGlob(i,d,p)}readdirGlob.ReaddirGlob=ReaddirGlob},63669:i=>{const d=typeof process==="object"&&process&&process.platform==="win32";i.exports=d?{sep:"\\"}:{sep:"/"}},6944:(i,d,p)=>{const v=i.exports=(i,d,p={})=>{assertValidPattern(d);if(!p.nocomment&&d.charAt(0)==="#"){return false}return new Minimatch(d,p).match(i)};i.exports=v;const V=p(63669);v.sep=V.sep;const K=Symbol("globstar **");v.GLOBSTAR=K;const ee=p(94691);const te={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}};const re="[^/]";const ne=re+"*?";const se="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";const ie="(?:(?!(?:\\/|^)\\.).)*?";const charSet=i=>i.split("").reduce(((i,d)=>{i[d]=true;return i}),{});const oe=charSet("().*{}+?[]^$\\!");const ae=charSet("[.(");const Ae=/\/+/;v.filter=(i,d={})=>(p,V,K)=>v(p,i,d);const ext=(i,d={})=>{const p={};Object.keys(i).forEach((d=>p[d]=i[d]));Object.keys(d).forEach((i=>p[i]=d[i]));return p};v.defaults=i=>{if(!i||typeof i!=="object"||!Object.keys(i).length){return v}const d=v;const m=(p,v,V)=>d(p,v,ext(i,V));m.Minimatch=class Minimatch extends d.Minimatch{constructor(d,p){super(d,ext(i,p))}};m.Minimatch.defaults=p=>d.defaults(ext(i,p)).Minimatch;m.filter=(p,v)=>d.filter(p,ext(i,v));m.defaults=p=>d.defaults(ext(i,p));m.makeRe=(p,v)=>d.makeRe(p,ext(i,v));m.braceExpand=(p,v)=>d.braceExpand(p,ext(i,v));m.match=(p,v,V)=>d.match(p,v,ext(i,V));return m};v.braceExpand=(i,d)=>braceExpand(i,d);const braceExpand=(i,d={})=>{assertValidPattern(i);if(d.nobrace||!/\{(?:(?!\{).)*\}/.test(i)){return[i]}return ee(i)};const ce=1024*64;const assertValidPattern=i=>{if(typeof i!=="string"){throw new TypeError("invalid pattern")}if(i.length>ce){throw new TypeError("pattern is too long")}};const le=Symbol("subparse");v.makeRe=(i,d)=>new Minimatch(i,d||{}).makeRe();v.match=(i,d,p={})=>{const v=new Minimatch(d,p);i=i.filter((i=>v.match(i)));if(v.options.nonull&&!i.length){i.push(d)}return i};const globUnescape=i=>i.replace(/\\(.)/g,"$1");const charUnescape=i=>i.replace(/\\([^-\]])/g,"$1");const regExpEscape=i=>i.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");const braExpEscape=i=>i.replace(/[[\]\\]/g,"\\$&");class Minimatch{constructor(i,d){assertValidPattern(i);if(!d)d={};this.options=d;this.set=[];this.pattern=i;this.windowsPathsNoEscape=!!d.windowsPathsNoEscape||d.allowWindowsEscape===false;if(this.windowsPathsNoEscape){this.pattern=this.pattern.replace(/\\/g,"/")}this.regexp=null;this.negate=false;this.comment=false;this.empty=false;this.partial=!!d.partial;this.make()}debug(){}make(){const i=this.pattern;const d=this.options;if(!d.nocomment&&i.charAt(0)==="#"){this.comment=true;return}if(!i){this.empty=true;return}this.parseNegate();let p=this.globSet=this.braceExpand();if(d.debug)this.debug=(...i)=>console.error(...i);this.debug(this.pattern,p);p=this.globParts=p.map((i=>i.split(Ae)));this.debug(this.pattern,p);p=p.map(((i,d,p)=>i.map(this.parse,this)));this.debug(this.pattern,p);p=p.filter((i=>i.indexOf(false)===-1));this.debug(this.pattern,p);this.set=p}parseNegate(){if(this.options.nonegate)return;const i=this.pattern;let d=false;let p=0;for(let v=0;v>> no match, partial?",i,ie,d,oe);if(ie===te)return true}return false}var Ae;if(typeof ne==="string"){Ae=se===ne;this.debug("string match",ne,se,Ae)}else{Ae=se.match(ne);this.debug("pattern match",ne,se,Ae)}if(!Ae)return false}if(V===te&&ee===re){return true}else if(V===te){return p}else if(ee===re){return V===te-1&&i[V]===""}throw new Error("wtf?")}braceExpand(){return braceExpand(this.pattern,this.options)}parse(i,d){assertValidPattern(i);const p=this.options;if(i==="**"){if(!p.noglobstar)return K;else i="*"}if(i==="")return"";let v="";let V=false;let ee=false;const se=[];const ie=[];let Ae;let ce=false;let ue=-1;let de=-1;let he;let fe;let ge;let pe=i.charAt(0)===".";let me=p.dot||pe;const patternStart=()=>pe?"":me?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";const subPatternStart=i=>i.charAt(0)==="."?"":p.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)";const clearStateChar=()=>{if(Ae){switch(Ae){case"*":v+=ne;V=true;break;case"?":v+=re;V=true;break;default:v+="\\"+Ae;break}this.debug("clearStateChar %j %j",Ae,v);Ae=false}};for(let d=0,K;d{if(!p){p="\\"}return d+d+p+"|"}));this.debug("tail=%j\n %s",i,i,fe,v);const d=fe.type==="*"?ne:fe.type==="?"?re:"\\"+fe.type;V=true;v=v.slice(0,fe.reStart)+d+"\\("+i}clearStateChar();if(ee){v+="\\\\"}const Ee=ae[v.charAt(0)];for(let i=ie.length-1;i>-1;i--){const p=ie[i];const V=v.slice(0,p.reStart);const K=v.slice(p.reStart,p.reEnd-8);let ee=v.slice(p.reEnd);const te=v.slice(p.reEnd-8,p.reEnd)+ee;const re=V.split(")").length;const ne=V.split("(").length-re;let se=ee;for(let i=0;i{i=i.map((i=>typeof i==="string"?regExpEscape(i):i===K?K:i._src)).reduce(((i,d)=>{if(!(i[i.length-1]===K&&d===K)){i.push(d)}return i}),[]);i.forEach(((d,v)=>{if(d!==K||i[v-1]===K){return}if(v===0){if(i.length>1){i[v+1]="(?:\\/|"+p+"\\/)?"+i[v+1]}else{i[v]=p}}else if(v===i.length-1){i[v-1]+="(?:\\/|"+p+")?"}else{i[v-1]+="(?:\\/|\\/"+p+"\\/)"+i[v+1];i[v+1]=K}}));return i.filter((i=>i!==K)).join("/")})).join("|");V="^(?:"+V+")$";if(this.negate)V="^(?!"+V+").*$";try{this.regexp=new RegExp(V,v)}catch(i){this.regexp=false}return this.regexp}match(i,d=this.partial){this.debug("match",i,this.pattern);if(this.comment)return false;if(this.empty)return i==="";if(i==="/"&&d)return true;const p=this.options;if(V.sep!=="/"){i=i.split(V.sep).join("/")}i=i.split(Ae);this.debug(this.pattern,"split",i);const v=this.set;this.debug(this.pattern,"set",v);let K;for(let d=i.length-1;d>=0;d--){K=i[d];if(K)break}for(let V=0;V{var v=p(20181);var V=v.Buffer;function copyProps(i,d){for(var p in i){d[p]=i[p]}}if(V.from&&V.alloc&&V.allocUnsafe&&V.allocUnsafeSlow){i.exports=v}else{copyProps(v,d);d.Buffer=SafeBuffer}function SafeBuffer(i,d,p){return V(i,d,p)}copyProps(V,SafeBuffer);SafeBuffer.from=function(i,d,p){if(typeof i==="number"){throw new TypeError("Argument must not be a number")}return V(i,d,p)};SafeBuffer.alloc=function(i,d,p){if(typeof i!=="number"){throw new TypeError("Argument must be a number")}var v=V(i);if(d!==undefined){if(typeof p==="string"){v.fill(d,p)}else{v.fill(d)}}else{v.fill(0)}return v};SafeBuffer.allocUnsafe=function(i){if(typeof i!=="number"){throw new TypeError("Argument must be a number")}return V(i)};SafeBuffer.allocUnsafeSlow=function(i){if(typeof i!=="number"){throw new TypeError("Argument must be a number")}return v.SlowBuffer(i)}},39318:(i,d)=>{d=i.exports=SemVer;var p;if(typeof process==="object"&&process.env&&process.env.NODE_DEBUG&&/\bsemver\b/i.test(process.env.NODE_DEBUG)){p=function(){var i=Array.prototype.slice.call(arguments,0);i.unshift("SEMVER");console.log.apply(console,i)}}else{p=function(){}}d.SEMVER_SPEC_VERSION="2.0.0";var v=256;var V=Number.MAX_SAFE_INTEGER||9007199254740991;var K=16;var ee=v-6;var te=d.re=[];var re=d.safeRe=[];var ne=d.src=[];var se=d.tokens={};var ie=0;function tok(i){se[i]=ie++}var oe="[a-zA-Z0-9-]";var ae=[["\\s",1],["\\d",v],[oe,ee]];function makeSafeRe(i){for(var d=0;d)?=?)";tok("XRANGEIDENTIFIERLOOSE");ne[se.XRANGEIDENTIFIERLOOSE]=ne[se.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*";tok("XRANGEIDENTIFIER");ne[se.XRANGEIDENTIFIER]=ne[se.NUMERICIDENTIFIER]+"|x|X|\\*";tok("XRANGEPLAIN");ne[se.XRANGEPLAIN]="[v=\\s]*("+ne[se.XRANGEIDENTIFIER]+")"+"(?:\\.("+ne[se.XRANGEIDENTIFIER]+")"+"(?:\\.("+ne[se.XRANGEIDENTIFIER]+")"+"(?:"+ne[se.PRERELEASE]+")?"+ne[se.BUILD]+"?"+")?)?";tok("XRANGEPLAINLOOSE");ne[se.XRANGEPLAINLOOSE]="[v=\\s]*("+ne[se.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+ne[se.XRANGEIDENTIFIERLOOSE]+")"+"(?:\\.("+ne[se.XRANGEIDENTIFIERLOOSE]+")"+"(?:"+ne[se.PRERELEASELOOSE]+")?"+ne[se.BUILD]+"?"+")?)?";tok("XRANGE");ne[se.XRANGE]="^"+ne[se.GTLT]+"\\s*"+ne[se.XRANGEPLAIN]+"$";tok("XRANGELOOSE");ne[se.XRANGELOOSE]="^"+ne[se.GTLT]+"\\s*"+ne[se.XRANGEPLAINLOOSE]+"$";tok("COERCE");ne[se.COERCE]="(^|[^\\d])"+"(\\d{1,"+K+"})"+"(?:\\.(\\d{1,"+K+"}))?"+"(?:\\.(\\d{1,"+K+"}))?"+"(?:$|[^\\d])";tok("COERCERTL");te[se.COERCERTL]=new RegExp(ne[se.COERCE],"g");re[se.COERCERTL]=new RegExp(makeSafeRe(ne[se.COERCE]),"g");tok("LONETILDE");ne[se.LONETILDE]="(?:~>?)";tok("TILDETRIM");ne[se.TILDETRIM]="(\\s*)"+ne[se.LONETILDE]+"\\s+";te[se.TILDETRIM]=new RegExp(ne[se.TILDETRIM],"g");re[se.TILDETRIM]=new RegExp(makeSafeRe(ne[se.TILDETRIM]),"g");var Ae="$1~";tok("TILDE");ne[se.TILDE]="^"+ne[se.LONETILDE]+ne[se.XRANGEPLAIN]+"$";tok("TILDELOOSE");ne[se.TILDELOOSE]="^"+ne[se.LONETILDE]+ne[se.XRANGEPLAINLOOSE]+"$";tok("LONECARET");ne[se.LONECARET]="(?:\\^)";tok("CARETTRIM");ne[se.CARETTRIM]="(\\s*)"+ne[se.LONECARET]+"\\s+";te[se.CARETTRIM]=new RegExp(ne[se.CARETTRIM],"g");re[se.CARETTRIM]=new RegExp(makeSafeRe(ne[se.CARETTRIM]),"g");var ce="$1^";tok("CARET");ne[se.CARET]="^"+ne[se.LONECARET]+ne[se.XRANGEPLAIN]+"$";tok("CARETLOOSE");ne[se.CARETLOOSE]="^"+ne[se.LONECARET]+ne[se.XRANGEPLAINLOOSE]+"$";tok("COMPARATORLOOSE");ne[se.COMPARATORLOOSE]="^"+ne[se.GTLT]+"\\s*("+ne[se.LOOSEPLAIN]+")$|^$";tok("COMPARATOR");ne[se.COMPARATOR]="^"+ne[se.GTLT]+"\\s*("+ne[se.FULLPLAIN]+")$|^$";tok("COMPARATORTRIM");ne[se.COMPARATORTRIM]="(\\s*)"+ne[se.GTLT]+"\\s*("+ne[se.LOOSEPLAIN]+"|"+ne[se.XRANGEPLAIN]+")";te[se.COMPARATORTRIM]=new RegExp(ne[se.COMPARATORTRIM],"g");re[se.COMPARATORTRIM]=new RegExp(makeSafeRe(ne[se.COMPARATORTRIM]),"g");var le="$1$2$3";tok("HYPHENRANGE");ne[se.HYPHENRANGE]="^\\s*("+ne[se.XRANGEPLAIN]+")"+"\\s+-\\s+"+"("+ne[se.XRANGEPLAIN]+")"+"\\s*$";tok("HYPHENRANGELOOSE");ne[se.HYPHENRANGELOOSE]="^\\s*("+ne[se.XRANGEPLAINLOOSE]+")"+"\\s+-\\s+"+"("+ne[se.XRANGEPLAINLOOSE]+")"+"\\s*$";tok("STAR");ne[se.STAR]="(<|>)?=?\\s*\\*";for(var ue=0;uev){return null}var p=d.loose?re[se.LOOSE]:re[se.FULL];if(!p.test(i)){return null}try{return new SemVer(i,d)}catch(i){return null}}d.valid=valid;function valid(i,d){var p=parse(i,d);return p?p.version:null}d.clean=clean;function clean(i,d){var p=parse(i.trim().replace(/^[=v]+/,""),d);return p?p.version:null}d.SemVer=SemVer;function SemVer(i,d){if(!d||typeof d!=="object"){d={loose:!!d,includePrerelease:false}}if(i instanceof SemVer){if(i.loose===d.loose){return i}else{i=i.version}}else if(typeof i!=="string"){throw new TypeError("Invalid Version: "+i)}if(i.length>v){throw new TypeError("version is longer than "+v+" characters")}if(!(this instanceof SemVer)){return new SemVer(i,d)}p("SemVer",i,d);this.options=d;this.loose=!!d.loose;var K=i.trim().match(d.loose?re[se.LOOSE]:re[se.FULL]);if(!K){throw new TypeError("Invalid Version: "+i)}this.raw=i;this.major=+K[1];this.minor=+K[2];this.patch=+K[3];if(this.major>V||this.major<0){throw new TypeError("Invalid major version")}if(this.minor>V||this.minor<0){throw new TypeError("Invalid minor version")}if(this.patch>V||this.patch<0){throw new TypeError("Invalid patch version")}if(!K[4]){this.prerelease=[]}else{this.prerelease=K[4].split(".").map((function(i){if(/^[0-9]+$/.test(i)){var d=+i;if(d>=0&&d=0){if(typeof this.prerelease[p]==="number"){this.prerelease[p]++;p=-2}}if(p===-1){this.prerelease.push(0)}}if(d){if(this.prerelease[0]===d){if(isNaN(this.prerelease[1])){this.prerelease=[d,0]}}else{this.prerelease=[d,0]}}break;default:throw new Error("invalid increment argument: "+i)}this.format();this.raw=this.version;return this};d.inc=inc;function inc(i,d,p,v){if(typeof p==="string"){v=p;p=undefined}try{return new SemVer(i,p).inc(d,v).version}catch(i){return null}}d.diff=diff;function diff(i,d){if(eq(i,d)){return null}else{var p=parse(i);var v=parse(d);var V="";if(p.prerelease.length||v.prerelease.length){V="pre";var K="prerelease"}for(var ee in p){if(ee==="major"||ee==="minor"||ee==="patch"){if(p[ee]!==v[ee]){return V+ee}}}return K}}d.compareIdentifiers=compareIdentifiers;var de=/^[0-9]+$/;function compareIdentifiers(i,d){var p=de.test(i);var v=de.test(d);if(p&&v){i=+i;d=+d}return i===d?0:p&&!v?-1:v&&!p?1:i0}d.lt=lt;function lt(i,d,p){return compare(i,d,p)<0}d.eq=eq;function eq(i,d,p){return compare(i,d,p)===0}d.neq=neq;function neq(i,d,p){return compare(i,d,p)!==0}d.gte=gte;function gte(i,d,p){return compare(i,d,p)>=0}d.lte=lte;function lte(i,d,p){return compare(i,d,p)<=0}d.cmp=cmp;function cmp(i,d,p,v){switch(d){case"===":if(typeof i==="object")i=i.version;if(typeof p==="object")p=p.version;return i===p;case"!==":if(typeof i==="object")i=i.version;if(typeof p==="object")p=p.version;return i!==p;case"":case"=":case"==":return eq(i,p,v);case"!=":return neq(i,p,v);case">":return gt(i,p,v);case">=":return gte(i,p,v);case"<":return lt(i,p,v);case"<=":return lte(i,p,v);default:throw new TypeError("Invalid operator: "+d)}}d.Comparator=Comparator;function Comparator(i,d){if(!d||typeof d!=="object"){d={loose:!!d,includePrerelease:false}}if(i instanceof Comparator){if(i.loose===!!d.loose){return i}else{i=i.value}}if(!(this instanceof Comparator)){return new Comparator(i,d)}i=i.trim().split(/\s+/).join(" ");p("comparator",i,d);this.options=d;this.loose=!!d.loose;this.parse(i);if(this.semver===he){this.value=""}else{this.value=this.operator+this.semver.version}p("comp",this)}var he={};Comparator.prototype.parse=function(i){var d=this.options.loose?re[se.COMPARATORLOOSE]:re[se.COMPARATOR];var p=i.match(d);if(!p){throw new TypeError("Invalid comparator: "+i)}this.operator=p[1]!==undefined?p[1]:"";if(this.operator==="="){this.operator=""}if(!p[2]){this.semver=he}else{this.semver=new SemVer(p[2],this.options.loose)}};Comparator.prototype.toString=function(){return this.value};Comparator.prototype.test=function(i){p("Comparator.test",i,this.options.loose);if(this.semver===he||i===he){return true}if(typeof i==="string"){try{i=new SemVer(i,this.options)}catch(i){return false}}return cmp(i,this.operator,this.semver,this.options)};Comparator.prototype.intersects=function(i,d){if(!(i instanceof Comparator)){throw new TypeError("a Comparator is required")}if(!d||typeof d!=="object"){d={loose:!!d,includePrerelease:false}}var p;if(this.operator===""){if(this.value===""){return true}p=new Range(i.value,d);return satisfies(this.value,p,d)}else if(i.operator===""){if(i.value===""){return true}p=new Range(this.value,d);return satisfies(i.semver,p,d)}var v=(this.operator===">="||this.operator===">")&&(i.operator===">="||i.operator===">");var V=(this.operator==="<="||this.operator==="<")&&(i.operator==="<="||i.operator==="<");var K=this.semver.version===i.semver.version;var ee=(this.operator===">="||this.operator==="<=")&&(i.operator===">="||i.operator==="<=");var te=cmp(this.semver,"<",i.semver,d)&&((this.operator===">="||this.operator===">")&&(i.operator==="<="||i.operator==="<"));var re=cmp(this.semver,">",i.semver,d)&&((this.operator==="<="||this.operator==="<")&&(i.operator===">="||i.operator===">"));return v||V||K&&ee||te||re};d.Range=Range;function Range(i,d){if(!d||typeof d!=="object"){d={loose:!!d,includePrerelease:false}}if(i instanceof Range){if(i.loose===!!d.loose&&i.includePrerelease===!!d.includePrerelease){return i}else{return new Range(i.raw,d)}}if(i instanceof Comparator){return new Range(i.value,d)}if(!(this instanceof Range)){return new Range(i,d)}this.options=d;this.loose=!!d.loose;this.includePrerelease=!!d.includePrerelease;this.raw=i.trim().split(/\s+/).join(" ");this.set=this.raw.split("||").map((function(i){return this.parseRange(i.trim())}),this).filter((function(i){return i.length}));if(!this.set.length){throw new TypeError("Invalid SemVer Range: "+this.raw)}this.format()}Range.prototype.format=function(){this.range=this.set.map((function(i){return i.join(" ").trim()})).join("||").trim();return this.range};Range.prototype.toString=function(){return this.range};Range.prototype.parseRange=function(i){var d=this.options.loose;var v=d?re[se.HYPHENRANGELOOSE]:re[se.HYPHENRANGE];i=i.replace(v,hyphenReplace);p("hyphen replace",i);i=i.replace(re[se.COMPARATORTRIM],le);p("comparator trim",i,re[se.COMPARATORTRIM]);i=i.replace(re[se.TILDETRIM],Ae);i=i.replace(re[se.CARETTRIM],ce);i=i.split(/\s+/).join(" ");var V=d?re[se.COMPARATORLOOSE]:re[se.COMPARATOR];var K=i.split(" ").map((function(i){return parseComparator(i,this.options)}),this).join(" ").split(/\s+/);if(this.options.loose){K=K.filter((function(i){return!!i.match(V)}))}K=K.map((function(i){return new Comparator(i,this.options)}),this);return K};Range.prototype.intersects=function(i,d){if(!(i instanceof Range)){throw new TypeError("a Range is required")}return this.set.some((function(p){return isSatisfiable(p,d)&&i.set.some((function(i){return isSatisfiable(i,d)&&p.every((function(p){return i.every((function(i){return p.intersects(i,d)}))}))}))}))};function isSatisfiable(i,d){var p=true;var v=i.slice();var V=v.pop();while(p&&v.length){p=v.every((function(i){return V.intersects(i,d)}));V=v.pop()}return p}d.toComparators=toComparators;function toComparators(i,d){return new Range(i,d).set.map((function(i){return i.map((function(i){return i.value})).join(" ").trim().split(" ")}))}function parseComparator(i,d){p("comp",i,d);i=replaceCarets(i,d);p("caret",i);i=replaceTildes(i,d);p("tildes",i);i=replaceXRanges(i,d);p("xrange",i);i=replaceStars(i,d);p("stars",i);return i}function isX(i){return!i||i.toLowerCase()==="x"||i==="*"}function replaceTildes(i,d){return i.trim().split(/\s+/).map((function(i){return replaceTilde(i,d)})).join(" ")}function replaceTilde(i,d){var v=d.loose?re[se.TILDELOOSE]:re[se.TILDE];return i.replace(v,(function(d,v,V,K,ee){p("tilde",i,d,v,V,K,ee);var te;if(isX(v)){te=""}else if(isX(V)){te=">="+v+".0.0 <"+(+v+1)+".0.0"}else if(isX(K)){te=">="+v+"."+V+".0 <"+v+"."+(+V+1)+".0"}else if(ee){p("replaceTilde pr",ee);te=">="+v+"."+V+"."+K+"-"+ee+" <"+v+"."+(+V+1)+".0"}else{te=">="+v+"."+V+"."+K+" <"+v+"."+(+V+1)+".0"}p("tilde return",te);return te}))}function replaceCarets(i,d){return i.trim().split(/\s+/).map((function(i){return replaceCaret(i,d)})).join(" ")}function replaceCaret(i,d){p("caret",i,d);var v=d.loose?re[se.CARETLOOSE]:re[se.CARET];return i.replace(v,(function(d,v,V,K,ee){p("caret",i,d,v,V,K,ee);var te;if(isX(v)){te=""}else if(isX(V)){te=">="+v+".0.0 <"+(+v+1)+".0.0"}else if(isX(K)){if(v==="0"){te=">="+v+"."+V+".0 <"+v+"."+(+V+1)+".0"}else{te=">="+v+"."+V+".0 <"+(+v+1)+".0.0"}}else if(ee){p("replaceCaret pr",ee);if(v==="0"){if(V==="0"){te=">="+v+"."+V+"."+K+"-"+ee+" <"+v+"."+V+"."+(+K+1)}else{te=">="+v+"."+V+"."+K+"-"+ee+" <"+v+"."+(+V+1)+".0"}}else{te=">="+v+"."+V+"."+K+"-"+ee+" <"+(+v+1)+".0.0"}}else{p("no pr");if(v==="0"){if(V==="0"){te=">="+v+"."+V+"."+K+" <"+v+"."+V+"."+(+K+1)}else{te=">="+v+"."+V+"."+K+" <"+v+"."+(+V+1)+".0"}}else{te=">="+v+"."+V+"."+K+" <"+(+v+1)+".0.0"}}p("caret return",te);return te}))}function replaceXRanges(i,d){p("replaceXRanges",i,d);return i.split(/\s+/).map((function(i){return replaceXRange(i,d)})).join(" ")}function replaceXRange(i,d){i=i.trim();var v=d.loose?re[se.XRANGELOOSE]:re[se.XRANGE];return i.replace(v,(function(v,V,K,ee,te,re){p("xRange",i,v,V,K,ee,te,re);var ne=isX(K);var se=ne||isX(ee);var ie=se||isX(te);var oe=ie;if(V==="="&&oe){V=""}re=d.includePrerelease?"-0":"";if(ne){if(V===">"||V==="<"){v="<0.0.0-0"}else{v="*"}}else if(V&&oe){if(se){ee=0}te=0;if(V===">"){V=">=";if(se){K=+K+1;ee=0;te=0}else{ee=+ee+1;te=0}}else if(V==="<="){V="<";if(se){K=+K+1}else{ee=+ee+1}}v=V+K+"."+ee+"."+te+re}else if(se){v=">="+K+".0.0"+re+" <"+(+K+1)+".0.0"+re}else if(ie){v=">="+K+"."+ee+".0"+re+" <"+K+"."+(+ee+1)+".0"+re}p("xRange return",v);return v}))}function replaceStars(i,d){p("replaceStars",i,d);return i.trim().replace(re[se.STAR],"")}function hyphenReplace(i,d,p,v,V,K,ee,te,re,ne,se,ie,oe){if(isX(p)){d=""}else if(isX(v)){d=">="+p+".0.0"}else if(isX(V)){d=">="+p+"."+v+".0"}else{d=">="+d}if(isX(re)){te=""}else if(isX(ne)){te="<"+(+re+1)+".0.0"}else if(isX(se)){te="<"+re+"."+(+ne+1)+".0"}else if(ie){te="<="+re+"."+ne+"."+se+"-"+ie}else{te="<="+te}return(d+" "+te).trim()}Range.prototype.test=function(i){if(!i){return false}if(typeof i==="string"){try{i=new SemVer(i,this.options)}catch(i){return false}}for(var d=0;d0){var K=i[V].semver;if(K.major===d.major&&K.minor===d.minor&&K.patch===d.patch){return true}}}return false}return true}d.satisfies=satisfies;function satisfies(i,d,p){try{d=new Range(d,p)}catch(i){return false}return d.test(i)}d.maxSatisfying=maxSatisfying;function maxSatisfying(i,d,p){var v=null;var V=null;try{var K=new Range(d,p)}catch(i){return null}i.forEach((function(i){if(K.test(i)){if(!v||V.compare(i)===-1){v=i;V=new SemVer(v,p)}}}));return v}d.minSatisfying=minSatisfying;function minSatisfying(i,d,p){var v=null;var V=null;try{var K=new Range(d,p)}catch(i){return null}i.forEach((function(i){if(K.test(i)){if(!v||V.compare(i)===1){v=i;V=new SemVer(v,p)}}}));return v}d.minVersion=minVersion;function minVersion(i,d){i=new Range(i,d);var p=new SemVer("0.0.0");if(i.test(p)){return p}p=new SemVer("0.0.0-0");if(i.test(p)){return p}p=null;for(var v=0;v":if(d.prerelease.length===0){d.patch++}else{d.prerelease.push(0)}d.raw=d.format();case"":case">=":if(!p||gt(p,d)){p=d}break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+i.operator)}}))}if(p&&i.test(p)){return p}return null}d.validRange=validRange;function validRange(i,d){try{return new Range(i,d).range||"*"}catch(i){return null}}d.ltr=ltr;function ltr(i,d,p){return outside(i,d,"<",p)}d.gtr=gtr;function gtr(i,d,p){return outside(i,d,">",p)}d.outside=outside;function outside(i,d,p,v){i=new SemVer(i,v);d=new Range(d,v);var V,K,ee,te,re;switch(p){case">":V=gt;K=lte;ee=lt;te=">";re=">=";break;case"<":V=lt;K=gte;ee=gt;te="<";re="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(satisfies(i,d,v)){return false}for(var ne=0;ne=0.0.0")}ie=ie||i;oe=oe||i;if(V(i.semver,ie.semver,v)){ie=i}else if(ee(i.semver,oe.semver,v)){oe=i}}));if(ie.operator===te||ie.operator===re){return false}if((!oe.operator||oe.operator===te)&&K(i,oe.semver)){return false}else if(oe.operator===re&&ee(i,oe.semver)){return false}}return true}d.prerelease=prerelease;function prerelease(i,d){var p=parse(i,d);return p&&p.prerelease.length?p.prerelease:null}d.intersects=intersects;function intersects(i,d,p){i=new Range(i,p);d=new Range(d,p);return i.intersects(d)}d.coerce=coerce;function coerce(i,d){if(i instanceof SemVer){return i}if(typeof i==="number"){i=String(i)}if(typeof i!=="string"){return null}d=d||{};var p=null;if(!d.rtl){p=i.match(re[se.COERCE])}else{var v;while((v=re[se.COERCERTL].exec(i))&&(!p||p.index+p[0].length!==i.length)){if(!p||v.index+v[0].length!==p.index+p[0].length){p=v}re[se.COERCERTL].lastIndex=v.index+v[1].length+v[2].length}re[se.COERCERTL].lastIndex=-1}if(p===null){return null}return parse(p[2]+"."+(p[3]||"0")+"."+(p[4]||"0"),d)}},36204:(i,d,p)=>{const{EventEmitter:v}=p(24434);const V=new Error("Stream was destroyed");const K=new Error("Premature close");const ee=p(5506);const te=p(83867);const re=(1<<28)-1;const ne=1;const se=2;const ie=4;const oe=8;const ae=re^ne;const Ae=re^se;const ce=1<<4;const le=2<<4;const ue=4<<4;const de=8<<4;const he=16<<4;const fe=32<<4;const ge=64<<4;const pe=128<<4;const me=256<<4;const Ee=512<<4;const Ce=1024<<4;const ye=2048<<4;const Ie=4096<<4;const Be=8192<<4;const Qe=he|fe;const be=ce|Ie;const we=ue|ce;const Se=me|de;const Re=he|Be;const ve=re^ce;const ke=re^ue;const Te=re^(ue|Ie);const Ne=re^Ie;const De=re^he;const xe=re^(de|Ee);const Fe=re^ge;const Pe=re^Qe;const Le=re^ye;const _e=re^le;const Me=re^Be;const Ue=re^Re;const Oe=1<<18;const He=2<<18;const Ge=4<<18;const Ve=8<<18;const qe=16<<18;const Ye=32<<18;const je=64<<18;const Je=128<<18;const We=256<<18;const ze=512<<18;const $e=re^(Oe|We);const Ke=re^Ge;const Xe=re^ze;const Ze=re^qe;const At=re^Ve;const mt=re^Je;const Et=re^He;const Ct=ce|Oe;const yt=re^Ct;const It=Ce|Ye;const Bt=ie|oe|se;const Qt=Bt|ne;const bt=Bt|It;const wt=Ke&ke;const St=Je|ye;const Rt=St&yt;const vt=Qt|Rt;const kt=Qt|ge|Ce;const Tt=Qt|Ce|de;const Nt=Qt|ge|de;const Dt=Qt|me|de|Ee;const xt=Qt|ce|ge|Ce|Ie|Be;const Ft=Bt|ge|Ce;const Pt=le|Qt|ye|ue;const Lt=Qt|ze|Ye;const _t=Ve|qe;const Mt=Ve|Oe;const Ut=Ve|qe|Qt|Oe;const Ot=Qt|Oe|Ve;const Ht=Ge|Oe;const Gt=Oe|We;const Vt=Qt|ze|Mt|Ye;const qt=qe|Bt|ze|Ye;const Yt=He|Qt|Je|Ge;const jt=Symbol.asyncIterator||Symbol("asyncIterator");class WritableState{constructor(i,{highWaterMark:d=16384,map:p=null,mapWritable:v,byteLength:V,byteLengthWritable:K}={}){this.stream=i;this.queue=new te;this.highWaterMark=d;this.buffered=0;this.error=null;this.pipeline=null;this.drains=null;this.byteLength=K||V||defaultByteLength;this.map=v||p;this.afterWrite=afterWrite.bind(this);this.afterUpdateNextTick=updateWriteNT.bind(this)}get ended(){return(this.stream._duplexState&Ye)!==0}push(i){if(this.map!==null)i=this.map(i);this.buffered+=this.byteLength(i);this.queue.push(i);if(this.buffered0;this.error=null;this.pipeline=null;this.byteLength=K||V||defaultByteLength;this.map=v||p;this.pipeTo=null;this.afterRead=afterRead.bind(this);this.afterUpdateNextTick=updateReadNT.bind(this)}get ended(){return(this.stream._duplexState&Ce)!==0}pipe(i,d){if(this.pipeTo!==null)throw new Error("Can only pipe to one destination");if(typeof d!=="function")d=null;this.stream._duplexState|=fe;this.pipeTo=i;this.pipeline=new Pipeline(this.stream,i,d);if(d)this.stream.on("error",noop);if(isStreamx(i)){i._writableState.pipeline=this.pipeline;if(d)i.on("error",noop);i.on("finish",this.pipeline.finished.bind(this.pipeline))}else{const d=this.pipeline.done.bind(this.pipeline,i);const p=this.pipeline.done.bind(this.pipeline,i,null);i.on("error",d);i.on("close",p);i.on("finish",this.pipeline.finished.bind(this.pipeline))}i.on("drain",afterDrain.bind(this));this.stream.emit("piping",i);i.emit("pipe",this.stream)}push(i){const d=this.stream;if(i===null){this.highWaterMark=0;d._duplexState=(d._duplexState|ge)&Te;return false}if(this.map!==null)i=this.map(i);this.buffered+=this.byteLength(i);this.queue.push(i);d._duplexState=(d._duplexState|de)&Ne;return this.buffered0)d.push(this.shift());for(let i=0;i0)v.drains.shift().resolve(false);if(v.pipeline!==null)v.pipeline.done(d,i)}}function afterWrite(i){const d=this.stream;if(i)d.destroy(i);d._duplexState&=$e;if(this.drains!==null)tickDrains(this.drains);if((d._duplexState&Ut)===qe){d._duplexState&=Ze;if((d._duplexState&je)===je){d.emit("drain")}}this.updateCallback()}function afterRead(i){if(i)this.stream.destroy(i);this.stream._duplexState&=ve;if(this.readAhead===false&&(this.stream._duplexState&he)===0)this.stream._duplexState&=Me;this.updateCallback()}function updateReadNT(){if((this.stream._duplexState&le)===0){this.stream._duplexState&=Le;this.update()}}function updateWriteNT(){if((this.stream._duplexState&He)===0){this.stream._duplexState&=mt;this.update()}}function tickDrains(i){for(let d=0;d=i._readableState.highWaterMark}static isPaused(i){return(i._duplexState&he)===0}[jt](){const i=this;let d=null;let p=null;let v=null;this.on("error",(i=>{d=i}));this.on("readable",onreadable);this.on("close",onclose);return{[jt](){return this},next(){return new Promise((function(d,V){p=d;v=V;const K=i.read();if(K!==null)ondata(K);else if((i._duplexState&oe)!==0)ondata(null)}))},return(){return destroy(null)},throw(i){return destroy(i)}};function onreadable(){if(p!==null)ondata(i.read())}function onclose(){if(p!==null)ondata(null)}function ondata(K){if(v===null)return;if(d)v(d);else if(K===null&&(i._duplexState&Ce)===0)v(V);else p({value:K,done:K===null});v=p=null}function destroy(d){i.destroy(d);return new Promise(((p,v)=>{if(i._duplexState&oe)return p({value:undefined,done:true});i.once("close",(function(){if(d)v(d);else p({value:undefined,done:true})}))}))}}}class Writable extends Stream{constructor(i){super(i);this._duplexState|=ne|Ce;this._writableState=new WritableState(this,i);if(i){if(i.writev)this._writev=i.writev;if(i.write)this._write=i.write;if(i.final)this._final=i.final;if(i.eagerOpen)this._writableState.updateNextTick()}}_writev(i,d){d(null)}_write(i,d){this._writableState.autoBatch(i,d)}_final(i){i(null)}static isBackpressured(i){return(i._duplexState&qt)!==0}static drained(i){if(i.destroyed)return Promise.resolve(false);const d=i._writableState;const p=isWritev(i)?Math.min(1,d.queue.length):d.queue.length;const v=p+(i._duplexState&We?1:0);if(v===0)return Promise.resolve(true);if(d.drains===null)d.drains=[];return new Promise((i=>{d.drains.push({writes:v,resolve:i})}))}write(i){this._writableState.updateNextTick();return this._writableState.push(i)}end(i){this._writableState.updateNextTick();this._writableState.end(i);return this}}class Duplex extends Readable{constructor(i){super(i);this._duplexState=ne|this._duplexState&Be;this._writableState=new WritableState(this,i);if(i){if(i.writev)this._writev=i.writev;if(i.write)this._write=i.write;if(i.final)this._final=i.final}}_writev(i,d){d(null)}_write(i,d){this._writableState.autoBatch(i,d)}_final(i){i(null)}write(i){this._writableState.updateNextTick();return this._writableState.push(i)}end(i){this._writableState.updateNextTick();this._writableState.end(i);return this}}class Transform extends Duplex{constructor(i){super(i);this._transformState=new TransformState(this);if(i){if(i.transform)this._transform=i.transform;if(i.flush)this._flush=i.flush}}_write(i,d){if(this._readableState.buffered>=this._readableState.highWaterMark){this._transformState.data=i}else{this._transform(i,this._transformState.afterTransform)}}_read(i){if(this._transformState.data!==null){const d=this._transformState.data;this._transformState.data=null;i(null);this._transform(d,this._transformState.afterTransform)}else{i(null)}}destroy(i){super.destroy(i);if(this._transformState.data!==null){this._transformState.data=null;this._transformState.afterTransform()}}_transform(i,d){d(null,i)}_flush(i){i(null)}_final(i){this._transformState.afterFinal=i;this._flush(transformAfterFlush.bind(this))}}class PassThrough extends Transform{}function transformAfterFlush(i,d){const p=this._transformState.afterFinal;if(i)return p(i);if(d!==null&&d!==undefined)this.push(d);this.push(null);p(null)}function pipelinePromise(...i){return new Promise(((d,p)=>pipeline(...i,(i=>{if(i)return p(i);d()}))))}function pipeline(i,...d){const p=Array.isArray(i)?[...i,...d]:[i,...d];const v=p.length&&typeof p[p.length-1]==="function"?p.pop():null;if(p.length<2)throw new Error("Pipeline requires at least 2 streams");let V=p[0];let ee=null;let te=null;for(let i=1;i1,onerror);V.pipe(ee)}V=ee}if(v){let i=false;const d=isStreamx(ee)||!!(ee._writableState&&ee._writableState.autoDestroy);ee.on("error",(i=>{if(te===null)te=i}));ee.on("finish",(()=>{i=true;if(!d)v(te)}));if(d){ee.on("close",(()=>v(te||(i?null:K))))}}return ee;function errorHandle(i,d,p,v){i.on("error",v);i.on("close",onclose);function onclose(){if(d&&i._readableState&&!i._readableState.ended)return v(K);if(p&&i._writableState&&!i._writableState.ended)return v(K)}}function onerror(i){if(!i||te)return;te=i;for(const d of p){d.destroy(i)}}}function isStream(i){return!!i._readableState||!!i._writableState}function isStreamx(i){return typeof i._duplexState==="number"&&isStream(i)}function getStreamError(i){const d=i._readableState&&i._readableState.error||i._writableState&&i._writableState.error;return d===V?null:d}function isReadStreamx(i){return isStreamx(i)&&i.readable}function isTypedArray(i){return typeof i==="object"&&i!==null&&typeof i.byteLength==="number"}function defaultByteLength(i){return isTypedArray(i)?i.byteLength:1024}function noop(){}function abort(){this.destroy(new Error("Stream aborted."))}function isWritev(i){return i._writev!==Writable.prototype._writev&&i._writev!==Duplex.prototype._writev}i.exports={pipeline:pipeline,pipelinePromise:pipelinePromise,isStream:isStream,isStreamx:isStreamx,getStreamError:getStreamError,Stream:Stream,Writable:Writable,Readable:Readable,Duplex:Duplex,Transform:Transform,PassThrough:PassThrough}},80634:(i,d,p)=>{var v=p(93058).Buffer;var V=v.isEncoding||function(i){i=""+i;switch(i&&i.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return true;default:return false}};function _normalizeEncoding(i){if(!i)return"utf8";var d;while(true){switch(i){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return i;default:if(d)return;i=(""+i).toLowerCase();d=true}}}function normalizeEncoding(i){var d=_normalizeEncoding(i);if(typeof d!=="string"&&(v.isEncoding===V||!V(i)))throw new Error("Unknown encoding: "+i);return d||i}d.I=StringDecoder;function StringDecoder(i){this.encoding=normalizeEncoding(i);var d;switch(this.encoding){case"utf16le":this.text=utf16Text;this.end=utf16End;d=4;break;case"utf8":this.fillLast=utf8FillLast;d=4;break;case"base64":this.text=base64Text;this.end=base64End;d=3;break;default:this.write=simpleWrite;this.end=simpleEnd;return}this.lastNeed=0;this.lastTotal=0;this.lastChar=v.allocUnsafe(d)}StringDecoder.prototype.write=function(i){if(i.length===0)return"";var d;var p;if(this.lastNeed){d=this.fillLast(i);if(d===undefined)return"";p=this.lastNeed;this.lastNeed=0}else{p=0}if(p>5===6)return 2;else if(i>>4===14)return 3;else if(i>>3===30)return 4;return i>>6===2?-1:-2}function utf8CheckIncomplete(i,d,p){var v=d.length-1;if(v=0){if(V>0)i.lastNeed=V-1;return V}if(--v=0){if(V>0)i.lastNeed=V-2;return V}if(--v=0){if(V>0){if(V===2)V=0;else i.lastNeed=V-3}return V}return 0}function utf8CheckExtraBytes(i,d,p){if((d[0]&192)!==128){i.lastNeed=0;return"�"}if(i.lastNeed>1&&d.length>1){if((d[1]&192)!==128){i.lastNeed=1;return"�"}if(i.lastNeed>2&&d.length>2){if((d[2]&192)!==128){i.lastNeed=2;return"�"}}}}function utf8FillLast(i){var d=this.lastTotal-this.lastNeed;var p=utf8CheckExtraBytes(this,i,d);if(p!==undefined)return p;if(this.lastNeed<=i.length){i.copy(this.lastChar,d,0,this.lastNeed);return this.lastChar.toString(this.encoding,0,this.lastTotal)}i.copy(this.lastChar,d,0,i.length);this.lastNeed-=i.length}function utf8Text(i,d){var p=utf8CheckIncomplete(this,i,d);if(!this.lastNeed)return i.toString("utf8",d);this.lastTotal=p;var v=i.length-(p-this.lastNeed);i.copy(this.lastChar,0,v);return i.toString("utf8",d,v)}function utf8End(i){var d=i&&i.length?this.write(i):"";if(this.lastNeed)return d+"�";return d}function utf16Text(i,d){if((i.length-d)%2===0){var p=i.toString("utf16le",d);if(p){var v=p.charCodeAt(p.length-1);if(v>=55296&&v<=56319){this.lastNeed=2;this.lastTotal=4;this.lastChar[0]=i[i.length-2];this.lastChar[1]=i[i.length-1];return p.slice(0,-1)}}return p}this.lastNeed=1;this.lastTotal=2;this.lastChar[0]=i[i.length-1];return i.toString("utf16le",d,i.length-1)}function utf16End(i){var d=i&&i.length?this.write(i):"";if(this.lastNeed){var p=this.lastTotal-this.lastNeed;return d+this.lastChar.toString("utf16le",0,p)}return d}function base64Text(i,d){var p=(i.length-d)%3;if(p===0)return i.toString("base64",d);this.lastNeed=3-p;this.lastTotal=3;if(p===1){this.lastChar[0]=i[i.length-1]}else{this.lastChar[0]=i[i.length-2];this.lastChar[1]=i[i.length-1]}return i.toString("base64",d,i.length-p)}function base64End(i){var d=i&&i.length?this.write(i):"";if(this.lastNeed)return d+this.lastChar.toString("base64",0,3-this.lastNeed);return d}function simpleWrite(i){return i.toString(this.encoding)}function simpleEnd(i){return i&&i.length?this.write(i):""}},21450:(i,d,p)=>{const v=p(70857);const V=p(52018);const K=p(83813);const{env:ee}=process;let te;if(K("no-color")||K("no-colors")||K("color=false")||K("color=never")){te=0}else if(K("color")||K("colors")||K("color=true")||K("color=always")){te=1}if("FORCE_COLOR"in ee){if(ee.FORCE_COLOR==="true"){te=1}else if(ee.FORCE_COLOR==="false"){te=0}else{te=ee.FORCE_COLOR.length===0?1:Math.min(parseInt(ee.FORCE_COLOR,10),3)}}function translateLevel(i){if(i===0){return false}return{level:i,hasBasic:true,has256:i>=2,has16m:i>=3}}function supportsColor(i,d){if(te===0){return 0}if(K("color=16m")||K("color=full")||K("color=truecolor")){return 3}if(K("color=256")){return 2}if(i&&!d&&te===undefined){return 0}const p=te||0;if(ee.TERM==="dumb"){return p}if(process.platform==="win32"){const i=v.release().split(".");if(Number(i[0])>=10&&Number(i[2])>=10586){return Number(i[2])>=14931?3:2}return 1}if("CI"in ee){if(["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some((i=>i in ee))||ee.CI_NAME==="codeship"){return 1}return p}if("TEAMCITY_VERSION"in ee){return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(ee.TEAMCITY_VERSION)?1:0}if(ee.COLORTERM==="truecolor"){return 3}if("TERM_PROGRAM"in ee){const i=parseInt((ee.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(ee.TERM_PROGRAM){case"iTerm.app":return i>=3?3:2;case"Apple_Terminal":return 2}}if(/-256(color)?$/i.test(ee.TERM)){return 2}if(/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(ee.TERM)){return 1}if("COLORTERM"in ee){return 1}return p}function getSupportLevel(i){const d=supportsColor(i,i&&i.isTTY);return translateLevel(d)}i.exports={supportsColor:getSupportLevel,stdout:translateLevel(supportsColor(true,V.isatty(1))),stderr:translateLevel(supportsColor(true,V.isatty(2)))}},20775:(i,d,p)=>{const v={S_IFMT:61440,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960};try{i.exports=p(79896).constants||v}catch{i.exports=v}},35763:(i,d,p)=>{const{Writable:v,Readable:V,getStreamError:K}=p(36204);const ee=p(83867);const te=p(73057);const re=p(88428);const ne=te.alloc(0);class BufferList{constructor(){this.buffered=0;this.shifted=0;this.queue=new ee;this._offset=0}push(i){this.buffered+=i.byteLength;this.queue.push(i)}shiftFirst(i){return this._buffered===0?null:this._next(i)}shift(i){if(i>this.buffered)return null;if(i===0)return ne;let d=this._next(i);if(i===d.byteLength)return d;const p=[d];while((i-=d.byteLength)>0){d=this._next(i);p.push(d)}return te.concat(p)}_next(i){const d=this.queue.peek();const p=d.byteLength-this._offset;if(i>=p){const i=this._offset?d.subarray(this._offset,d.byteLength):d;this.queue.shift();this._offset=0;this.buffered-=p;this.shifted+=p;return i}this.buffered-=i;this.shifted+=i;return d.subarray(this._offset,this._offset+=i)}}class Source extends V{constructor(i,d,p){super();this.header=d;this.offset=p;this._parent=i}_read(i){if(this.header.size===0){this.push(null)}if(this._parent._stream===this){this._parent._update()}i(null)}_predestroy(){this._parent.destroy(K(this))}_detach(){if(this._parent._stream===this){this._parent._stream=null;this._parent._missing=overflow(this.header.size);this._parent._update()}}_destroy(i){this._detach();i(null)}}class Extract extends v{constructor(i){super(i);if(!i)i={};this._buffer=new BufferList;this._offset=0;this._header=null;this._stream=null;this._missing=0;this._longHeader=false;this._callback=noop;this._locked=false;this._finished=false;this._pax=null;this._paxGlobal=null;this._gnuLongPath=null;this._gnuLongLinkPath=null;this._filenameEncoding=i.filenameEncoding||"utf-8";this._allowUnknownFormat=!!i.allowUnknownFormat;this._unlockBound=this._unlock.bind(this)}_unlock(i){this._locked=false;if(i){this.destroy(i);this._continueWrite(i);return}this._update()}_consumeHeader(){if(this._locked)return false;this._offset=this._buffer.shifted;try{this._header=re.decode(this._buffer.shift(512),this._filenameEncoding,this._allowUnknownFormat)}catch(i){this._continueWrite(i);return false}if(!this._header)return true;switch(this._header.type){case"gnu-long-path":case"gnu-long-link-path":case"pax-global-header":case"pax-header":this._longHeader=true;this._missing=this._header.size;return true}this._locked=true;this._applyLongHeaders();if(this._header.size===0||this._header.type==="directory"){this.emit("entry",this._header,this._createStream(),this._unlockBound);return true}this._stream=this._createStream();this._missing=this._header.size;this.emit("entry",this._header,this._stream,this._unlockBound);return true}_applyLongHeaders(){if(this._gnuLongPath){this._header.name=this._gnuLongPath;this._gnuLongPath=null}if(this._gnuLongLinkPath){this._header.linkname=this._gnuLongLinkPath;this._gnuLongLinkPath=null}if(this._pax){if(this._pax.path)this._header.name=this._pax.path;if(this._pax.linkpath)this._header.linkname=this._pax.linkpath;if(this._pax.size)this._header.size=parseInt(this._pax.size,10);this._header.pax=this._pax;this._pax=null}}_decodeLongHeader(i){switch(this._header.type){case"gnu-long-path":this._gnuLongPath=re.decodeLongPath(i,this._filenameEncoding);break;case"gnu-long-link-path":this._gnuLongLinkPath=re.decodeLongPath(i,this._filenameEncoding);break;case"pax-global-header":this._paxGlobal=re.decodePax(i);break;case"pax-header":this._pax=this._paxGlobal===null?re.decodePax(i):Object.assign({},this._paxGlobal,re.decodePax(i));break}}_consumeLongHeader(){this._longHeader=false;this._missing=overflow(this._header.size);const i=this._buffer.shift(this._header.size);try{this._decodeLongHeader(i)}catch(i){this._continueWrite(i);return false}return true}_consumeStream(){const i=this._buffer.shiftFirst(this._missing);if(i===null)return false;this._missing-=i.byteLength;const d=this._stream.push(i);if(this._missing===0){this._stream.push(null);if(d)this._stream._detach();return d&&this._locked===false}return d}_createStream(){return new Source(this,this._header,this._offset)}_update(){while(this._buffer.buffered>0&&!this.destroying){if(this._missing>0){if(this._stream!==null){if(this._consumeStream()===false)return;continue}if(this._longHeader===true){if(this._missing>this._buffer.buffered)break;if(this._consumeLongHeader()===false)return false;continue}const i=this._buffer.shiftFirst(this._missing);if(i!==null)this._missing-=i.byteLength;continue}if(this._buffer.buffered<512)break;if(this._stream!==null||this._consumeHeader()===false)return}this._continueWrite(null)}_continueWrite(i){const d=this._callback;this._callback=noop;d(i)}_write(i,d){this._callback=d;this._buffer.push(i);this._update()}_final(i){this._finished=this._missing===0&&this._buffer.buffered===0;i(this._finished?null:new Error("Unexpected end of data"))}_predestroy(){this._continueWrite(null)}_destroy(i){if(this._stream)this._stream.destroy(K(this));i(null)}[Symbol.asyncIterator](){let i=null;let d=null;let p=null;let v=null;let V=null;const K=this;this.on("entry",onentry);this.on("error",(d=>{i=d}));this.on("close",onclose);return{[Symbol.asyncIterator](){return this},next(){return new Promise(onnext)},return(){return destroy(null)},throw(i){return destroy(i)}};function consumeCallback(i){if(!V)return;const d=V;V=null;d(i)}function onnext(V,ee){if(i){return ee(i)}if(v){V({value:v,done:false});v=null;return}d=V;p=ee;consumeCallback(null);if(K._finished&&d){d({value:undefined,done:true});d=p=null}}function onentry(i,K,ee){V=ee;K.on("error",noop);if(d){d({value:K,done:false});d=p=null}else{v=K}}function onclose(){consumeCallback(i);if(!d)return;if(i)p(i);else d({value:undefined,done:true});d=p=null}function destroy(i){K.destroy(i);consumeCallback(i);return new Promise(((d,p)=>{if(K.destroyed)return d({value:undefined,done:true});K.once("close",(function(){if(i)p(i);else d({value:undefined,done:true})}))}))}}}i.exports=function extract(i){return new Extract(i)};function noop(){}function overflow(i){i&=511;return i&&512-i}},88428:(i,d,p)=>{const v=p(73057);const V="0000000000000000000";const K="7777777777777777777";const ee="0".charCodeAt(0);const te=v.from([117,115,116,97,114,0]);const re=v.from([ee,ee]);const ne=v.from([117,115,116,97,114,32]);const se=v.from([32,0]);const ie=4095;const oe=257;const ae=263;d.decodeLongPath=function decodeLongPath(i,d){return decodeStr(i,0,i.length,d)};d.encodePax=function encodePax(i){let d="";if(i.name)d+=addLength(" path="+i.name+"\n");if(i.linkname)d+=addLength(" linkpath="+i.linkname+"\n");const p=i.pax;if(p){for(const i in p){d+=addLength(" "+i+"="+p[i]+"\n")}}return v.from(d)};d.decodePax=function decodePax(i){const d={};while(i.length){let p=0;while(p100){const i=p.indexOf("/");if(i===-1)return null;V+=V?"/"+p.slice(0,i):p.slice(0,i);p=p.slice(i+1)}if(v.byteLength(p)>100||v.byteLength(V)>155)return null;if(i.linkname&&v.byteLength(i.linkname)>100)return null;v.write(d,p);v.write(d,encodeOct(i.mode&ie,6),100);v.write(d,encodeOct(i.uid,6),108);v.write(d,encodeOct(i.gid,6),116);encodeSize(i.size,d,124);v.write(d,encodeOct(i.mtime.getTime()/1e3|0,11),136);d[156]=ee+toTypeflag(i.type);if(i.linkname)v.write(d,i.linkname,157);v.copy(te,d,oe);v.copy(re,d,ae);if(i.uname)v.write(d,i.uname,265);if(i.gname)v.write(d,i.gname,297);v.write(d,encodeOct(i.devmajor||0,6),329);v.write(d,encodeOct(i.devminor||0,6),337);if(V)v.write(d,V,345);v.write(d,encodeOct(cksum(d),6),148);return d};d.decode=function decode(i,d,p){let v=i[156]===0?0:i[156]-ee;let V=decodeStr(i,0,100,d);const K=decodeOct(i,100,8);const te=decodeOct(i,108,8);const re=decodeOct(i,116,8);const ne=decodeOct(i,124,12);const se=decodeOct(i,136,12);const ie=toType(v);const oe=i[157]===0?null:decodeStr(i,157,100,d);const ae=decodeStr(i,265,32);const Ae=decodeStr(i,297,32);const ce=decodeOct(i,329,8);const le=decodeOct(i,337,8);const ue=cksum(i);if(ue===8*32)return null;if(ue!==decodeOct(i,148,8))throw new Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");if(isUSTAR(i)){if(i[345])V=decodeStr(i,345,155,d)+"/"+V}else if(isGNU(i)){}else{if(!p){throw new Error("Invalid tar header: unknown format.")}}if(v===0&&V&&V[V.length-1]==="/")v=5;return{name:V,mode:K,uid:te,gid:re,size:ne,mtime:new Date(1e3*se),type:ie,linkname:oe,uname:ae,gname:Ae,devmajor:ce,devminor:le,pax:null}};function isUSTAR(i){return v.equals(te,i.subarray(oe,oe+6))}function isGNU(i){return v.equals(ne,i.subarray(oe,oe+6))&&v.equals(se,i.subarray(ae,ae+2))}function clamp(i,d,p){if(typeof i!=="number")return p;i=~~i;if(i>=d)return d;if(i>=0)return i;i+=d;if(i>=0)return i;return 0}function toType(i){switch(i){case 0:return"file";case 1:return"link";case 2:return"symlink";case 3:return"character-device";case 4:return"block-device";case 5:return"directory";case 6:return"fifo";case 7:return"contiguous-file";case 72:return"pax-header";case 55:return"pax-global-header";case 27:return"gnu-long-link-path";case 28:case 30:return"gnu-long-path"}return null}function toTypeflag(i){switch(i){case"file":return 0;case"link":return 1;case"symlink":return 2;case"character-device":return 3;case"block-device":return 4;case"directory":return 5;case"fifo":return 6;case"contiguous-file":return 7;case"pax-header":return 72}return 0}function indexOf(i,d,p,v){for(;pd)return K.slice(0,d)+" ";return V.slice(0,d-i.length)+i+" "}function encodeSizeBin(i,d,p){d[p]=128;for(let v=11;v>0;v--){d[p+v]=i&255;i=Math.floor(i/256)}}function encodeSize(i,d,p){if(i.toString(8).length>11){encodeSizeBin(i,d,p)}else{v.write(d,encodeOct(i,11),p)}}function parse256(i){let d;if(i[0]===128)d=true;else if(i[0]===255)d=false;else return null;const p=[];let v;for(v=i.length-1;v>0;v--){const V=i[v];if(d)p.push(V);else p.push(255-V)}let V=0;const K=p.length;for(v=0;v=Math.pow(10,p))p++;return d+p+i}},56118:(i,d,p)=>{d.extract=p(35763);d.pack=p(80861)},80861:(i,d,p)=>{const{Readable:v,Writable:V,getStreamError:K}=p(36204);const ee=p(73057);const te=p(20775);const re=p(88428);const ne=493;const se=420;const ie=ee.alloc(1024);class Sink extends V{constructor(i,d,p){super({mapWritable:mapWritable,eagerOpen:true});this.written=0;this.header=d;this._callback=p;this._linkname=null;this._isLinkname=d.type==="symlink"&&!d.linkname;this._isVoid=d.type!=="file"&&d.type!=="contiguous-file";this._finished=false;this._pack=i;this._openCallback=null;if(this._pack._stream===null)this._pack._stream=this;else this._pack._pending.push(this)}_open(i){this._openCallback=i;if(this._pack._stream===this)this._continueOpen()}_continuePack(i){if(this._callback===null)return;const d=this._callback;this._callback=null;d(i)}_continueOpen(){if(this._pack._stream===null)this._pack._stream=this;const i=this._openCallback;this._openCallback=null;if(i===null)return;if(this._pack.destroying)return i(new Error("pack stream destroyed"));if(this._pack._finalized)return i(new Error("pack stream is already finalized"));this._pack._stream=this;if(!this._isLinkname){this._pack._encode(this.header)}if(this._isVoid){this._finish();this._continuePack(null)}i(null)}_write(i,d){if(this._isLinkname){this._linkname=this._linkname?ee.concat([this._linkname,i]):i;return d(null)}if(this._isVoid){if(i.byteLength>0){return d(new Error("No body allowed for this entry"))}return d()}this.written+=i.byteLength;if(this._pack.push(i))return d();this._pack._drain=d}_finish(){if(this._finished)return;this._finished=true;if(this._isLinkname){this.header.linkname=this._linkname?ee.toString(this._linkname,"utf-8"):"";this._pack._encode(this.header)}overflow(this._pack,this.header.size);this._pack._done(this)}_final(i){if(this.written!==this.header.size){return i(new Error("Size mismatch"))}this._finish();i(null)}_getError(){return K(this)||new Error("tar entry destroyed")}_predestroy(){this._pack.destroy(this._getError())}_destroy(i){this._pack._done(this);this._continuePack(this._finished?null:this._getError());i()}}class Pack extends v{constructor(i){super(i);this._drain=noop;this._finalized=false;this._finalizing=false;this._pending=[];this._stream=null}entry(i,d,p){if(this._finalized||this.destroying)throw new Error("already finalized or destroyed");if(typeof d==="function"){p=d;d=null}if(!p)p=noop;if(!i.size||i.type==="symlink")i.size=0;if(!i.type)i.type=modeToType(i.mode);if(!i.mode)i.mode=i.type==="directory"?ne:se;if(!i.uid)i.uid=0;if(!i.gid)i.gid=0;if(!i.mtime)i.mtime=new Date;if(typeof d==="string")d=ee.from(d);const v=new Sink(this,i,p);if(ee.isBuffer(d)){i.size=d.byteLength;v.write(d);v.end();return v}if(v._isVoid){return v}return v}finalize(){if(this._stream||this._pending.length>0){this._finalizing=true;return}if(this._finalized)return;this._finalized=true;this.push(ie);this.push(null)}_done(i){if(i!==this._stream)return;this._stream=null;if(this._finalizing)this.finalize();if(this._pending.length)this._pending.shift()._continueOpen()}_encode(i){if(!i.pax){const d=re.encode(i);if(d){this.push(d);return}}this._encodePax(i)}_encodePax(i){const d=re.encodePax({name:i.name,linkname:i.linkname,pax:i.pax});const p={name:"PaxHeader",mode:i.mode,uid:i.uid,gid:i.gid,size:d.byteLength,mtime:i.mtime,type:"pax-header",linkname:i.linkname&&"PaxHeader",uname:i.uname,gname:i.gname,devmajor:i.devmajor,devminor:i.devminor};this.push(re.encode(p));this.push(d);overflow(this,d.byteLength);p.size=i.size;p.type=i.type;this.push(re.encode(p))}_doDrain(){const i=this._drain;this._drain=noop;i()}_predestroy(){const i=K(this);if(this._stream)this._stream.destroy(i);while(this._pending.length){const d=this._pending.shift();d.destroy(i);d._continueOpen()}this._doDrain()}_read(i){this._doDrain();i()}}i.exports=function pack(i){return new Pack(i)};function modeToType(i){switch(i&te.S_IFMT){case te.S_IFBLK:return"block-device";case te.S_IFCHR:return"character-device";case te.S_IFDIR:return"directory";case te.S_IFIFO:return"fifo";case te.S_IFLNK:return"symlink"}return"file"}function noop(){}function overflow(i,d){d&=511;if(d)i.push(ie.subarray(0,512-d))}function mapWritable(i){return ee.isBuffer(i)?i:ee.from(i)}},51288:(i,d,p)=>{ /*! * Tmp * @@ -78,9 +80,9 @@ i.exports=function(i,d){if(typeof i!=="string"){throw new TypeError("expected pa * * MIT Licensed */ -const v=p(79896);const V=p(70857);const K=p(16928);const ee=p(76982);const te={fs:v.constants,os:V.constants};const re="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",ne=/XXXXXX/,ie=3,se=(te.O_CREAT||te.fs.O_CREAT)|(te.O_EXCL||te.fs.O_EXCL)|(te.O_RDWR||te.fs.O_RDWR),oe=V.platform()==="win32",ae=te.EBADF||te.os.errno.EBADF,ce=te.ENOENT||te.os.errno.ENOENT,le=448,ue=384,Ae="exit",de=[],pe=v.rmdirSync.bind(v);let fe=false;function rimraf(i,d){return v.rm(i,{recursive:true},d)}function FN_RIMRAF_SYNC(i){return v.rmSync(i,{recursive:true})}function tmpName(i,d){const p=_parseArguments(i,d),V=p[0],K=p[1];_assertAndSanitizeOptions(V,(function(i,d){if(i)return K(i);let p=d.tries;(function _getUniqueName(){try{const i=_generateTmpName(d);v.stat(i,(function(d){if(!d){if(p-- >0)return _getUniqueName();return K(new Error("Could not get a unique tmp filename, max tries reached "+i))}K(null,i)}))}catch(i){K(i)}})()}))}function tmpNameSync(i){const d=_parseArguments(i),p=d[0];const V=_assertAndSanitizeOptionsSync(p);let K=V.tries;do{const i=_generateTmpName(V);try{v.statSync(i)}catch(d){return i}}while(K-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}function file(i,d){const p=_parseArguments(i,d),V=p[0],K=p[1];tmpName(V,(function _tmpNameCreated(i,d){if(i)return K(i);v.open(d,se,V.mode||ue,(function _fileCreated(i,p){if(i)return K(i);if(V.discardDescriptor){return v.close(p,(function _discardCallback(i){return K(i,d,undefined,_prepareTmpFileRemoveCallback(d,-1,V,false))}))}else{const i=V.discardDescriptor||V.detachDescriptor;K(null,d,p,_prepareTmpFileRemoveCallback(d,i?-1:p,V,false))}}))}))}function fileSync(i){const d=_parseArguments(i),p=d[0];const V=p.discardDescriptor||p.detachDescriptor;const K=tmpNameSync(p);let ee=v.openSync(K,se,p.mode||ue);if(p.discardDescriptor){v.closeSync(ee);ee=undefined}return{name:K,fd:ee,removeCallback:_prepareTmpFileRemoveCallback(K,V?-1:ee,p,true)}}function dir(i,d){const p=_parseArguments(i,d),V=p[0],K=p[1];tmpName(V,(function _tmpNameCreated(i,d){if(i)return K(i);v.mkdir(d,V.mode||le,(function _dirCreated(i){if(i)return K(i);K(null,d,_prepareTmpDirRemoveCallback(d,V,false))}))}))}function dirSync(i){const d=_parseArguments(i),p=d[0];const V=tmpNameSync(p);v.mkdirSync(V,p.mode||le);return{name:V,removeCallback:_prepareTmpDirRemoveCallback(V,p,true)}}function _removeFileAsync(i,d){const _handler=function(i){if(i&&!_isENOENT(i)){return d(i)}d()};if(0<=i[0])v.close(i[0],(function(){v.unlink(i[1],_handler)}));else v.unlink(i[1],_handler)}function _removeFileSync(i){let d=null;try{if(0<=i[0])v.closeSync(i[0])}catch(i){if(!_isEBADF(i)&&!_isENOENT(i))throw i}finally{try{v.unlinkSync(i[1])}catch(i){if(!_isENOENT(i))d=i}}if(d!==null){throw d}}function _prepareTmpFileRemoveCallback(i,d,p,v){const V=_prepareRemoveCallback(_removeFileSync,[d,i],v);const K=_prepareRemoveCallback(_removeFileAsync,[d,i],v,V);if(!p.keep)de.unshift(V);return v?V:K}function _prepareTmpDirRemoveCallback(i,d,p){const V=d.unsafeCleanup?rimraf:v.rmdir.bind(v);const K=d.unsafeCleanup?FN_RIMRAF_SYNC:pe;const ee=_prepareRemoveCallback(K,i,p);const te=_prepareRemoveCallback(V,i,p,ee);if(!d.keep)de.unshift(ee);return p?ee:te}function _prepareRemoveCallback(i,d,p,v){let V=false;return function _cleanupCallback(K){if(!V){const ee=v||_cleanupCallback;const te=de.indexOf(ee);if(te>=0)de.splice(te,1);V=true;if(p||i===pe||i===FN_RIMRAF_SYNC){return i(d)}else{return i(d,K||function(){})}}}}function _garbageCollector(){if(!fe)return;while(de.length){try{de[0]()}catch(i){}}}function _randomChars(i){let d=[],p=null;try{p=ee.randomBytes(i)}catch(d){p=ee.pseudoRandomBytes(i)}for(let v=0;v{i.exports=Traverse;function Traverse(i){if(!(this instanceof Traverse))return new Traverse(i);this.value=i}Traverse.prototype.get=function(i){var d=this.value;for(var p=0;p{var d;var p;var v;var V;var K;var ee;var te;var re;var ne;var ie;var se;var oe;var ae;var ce;var le;var ue;var Ae;var de;var pe;var fe;var he;var ge;var me;var Ee;var ye;var Ce;var be;var Ie;var Be;var we;var Se;(function(d){var p=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(i){d(createExporter(p,createExporter(i)))}))}else if(true&&typeof i.exports==="object"){d(createExporter(p,createExporter(i.exports)))}else{d(createExporter(p))}function createExporter(i,d){if(i!==p){if(typeof Object.create==="function"){Object.defineProperty(i,"__esModule",{value:true})}else{i.__esModule=true}}return function(p,v){return i[p]=d?d(p,v):v}}})((function(i){var Qe=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,d){i.__proto__=d}||function(i,d){for(var p in d)if(Object.prototype.hasOwnProperty.call(d,p))i[p]=d[p]};d=function(i,d){if(typeof d!=="function"&&d!==null)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");Qe(i,d);function __(){this.constructor=i}i.prototype=d===null?Object.create(d):(__.prototype=d.prototype,new __)};p=Object.assign||function(i){for(var d,p=1,v=arguments.length;p=0;te--)if(ee=i[te])K=(V<3?ee(K):V>3?ee(d,p,K):ee(d,p))||K;return V>3&&K&&Object.defineProperty(d,p,K),K};K=function(i,d){return function(p,v){d(p,v,i)}};ee=function(i,d,p,v,V,K){function accept(i){if(i!==void 0&&typeof i!=="function")throw new TypeError("Function expected");return i}var ee=v.kind,te=ee==="getter"?"get":ee==="setter"?"set":"value";var re=!d&&i?v["static"]?i:i.prototype:null;var ne=d||(re?Object.getOwnPropertyDescriptor(re,v.name):{});var ie,se=false;for(var oe=p.length-1;oe>=0;oe--){var ae={};for(var ce in v)ae[ce]=ce==="access"?{}:v[ce];for(var ce in v.access)ae.access[ce]=v.access[ce];ae.addInitializer=function(i){if(se)throw new TypeError("Cannot add initializers after decoration has completed");K.push(accept(i||null))};var le=(0,p[oe])(ee==="accessor"?{get:ne.get,set:ne.set}:ne[te],ae);if(ee==="accessor"){if(le===void 0)continue;if(le===null||typeof le!=="object")throw new TypeError("Object expected");if(ie=accept(le.get))ne.get=ie;if(ie=accept(le.set))ne.set=ie;if(ie=accept(le.init))V.unshift(ie)}else if(ie=accept(le)){if(ee==="field")V.unshift(ie);else ne[te]=ie}}if(re)Object.defineProperty(re,v.name,ne);se=true};te=function(i,d,p){var v=arguments.length>2;for(var V=0;V0&&K[K.length-1])&&(te[0]===6||te[0]===2)){p=0;continue}if(te[0]===3&&(!K||te[1]>K[0]&&te[1]=i.length)i=void 0;return{value:i&&i[v++],done:!i}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};le=function(i,d){var p=typeof Symbol==="function"&&i[Symbol.iterator];if(!p)return i;var v=p.call(i),V,K=[],ee;try{while((d===void 0||d-- >0)&&!(V=v.next()).done)K.push(V.value)}catch(i){ee={error:i}}finally{try{if(V&&!V.done&&(p=v["return"]))p.call(v)}finally{if(ee)throw ee.error}}return K};ue=function(){for(var i=[],d=0;d1||resume(i,d)}))}}function resume(i,d){try{step(v[i](d))}catch(i){settle(K[0][3],i)}}function step(i){i.value instanceof pe?Promise.resolve(i.value.v).then(fulfill,reject):settle(K[0][2],i)}function fulfill(i){resume("next",i)}function reject(i){resume("throw",i)}function settle(i,d){if(i(d),K.shift(),K.length)resume(K[0][0],K[0][1])}};he=function(i){var d,p;return d={},verb("next"),verb("throw",(function(i){throw i})),verb("return"),d[Symbol.iterator]=function(){return this},d;function verb(v,V){d[v]=i[v]?function(d){return(p=!p)?{value:pe(i[v](d)),done:false}:V?V(d):d}:V}};ge=function(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var d=i[Symbol.asyncIterator],p;return d?d.call(i):(i=typeof ce==="function"?ce(i):i[Symbol.iterator](),p={},verb("next"),verb("throw"),verb("return"),p[Symbol.asyncIterator]=function(){return this},p);function verb(d){p[d]=i[d]&&function(p){return new Promise((function(v,V){p=i[d](p),settle(v,V,p.done,p.value)}))}}function settle(i,d,p,v){Promise.resolve(v).then((function(d){i({value:d,done:p})}),d)}};me=function(i,d){if(Object.defineProperty){Object.defineProperty(i,"raw",{value:d})}else{i.raw=d}return i};var ve=Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d};Ee=function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))Be(d,i,p);ve(d,i);return d};ye=function(i){return i&&i.__esModule?i:{default:i}};Ce=function(i,d,p,v){if(p==="a"&&!v)throw new TypeError("Private accessor was defined without a getter");if(typeof d==="function"?i!==d||!v:!d.has(i))throw new TypeError("Cannot read private member from an object whose class did not declare it");return p==="m"?v:p==="a"?v.call(i):v?v.value:d.get(i)};be=function(i,d,p,v,V){if(v==="m")throw new TypeError("Private method is not writable");if(v==="a"&&!V)throw new TypeError("Private accessor was defined without a setter");if(typeof d==="function"?i!==d||!V:!d.has(i))throw new TypeError("Cannot write private member to an object whose class did not declare it");return v==="a"?V.call(i,p):V?V.value=p:d.set(i,p),p};Ie=function(i,d){if(d===null||typeof d!=="object"&&typeof d!=="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof i==="function"?d===i:i.has(d)};we=function(i,d,p){if(d!==null&&d!==void 0){if(typeof d!=="object"&&typeof d!=="function")throw new TypeError("Object expected.");var v;if(p){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");v=d[Symbol.asyncDispose]}if(v===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");v=d[Symbol.dispose]}if(typeof v!=="function")throw new TypeError("Object not disposable.");i.stack.push({value:d,dispose:v,async:p})}else if(p){i.stack.push({async:true})}return d};var Re=typeof SuppressedError==="function"?SuppressedError:function(i,d,p){var v=new Error(p);return v.name="SuppressedError",v.error=i,v.suppressed=d,v};Se=function(i){function fail(d){i.error=i.hasError?new Re(d,i.error,"An error was suppressed during disposal."):d;i.hasError=true}function next(){while(i.stack.length){var d=i.stack.pop();try{var p=d.dispose&&d.dispose.call(d.value);if(d.async)return Promise.resolve(p).then(next,(function(i){fail(i);return next()}))}catch(i){fail(i)}}if(i.hasError)throw i.error}return next()};i("__extends",d);i("__assign",p);i("__rest",v);i("__decorate",V);i("__param",K);i("__esDecorate",ee);i("__runInitializers",te);i("__propKey",re);i("__setFunctionName",ne);i("__metadata",ie);i("__awaiter",se);i("__generator",oe);i("__exportStar",ae);i("__createBinding",Be);i("__values",ce);i("__read",le);i("__spread",ue);i("__spreadArrays",Ae);i("__spreadArray",de);i("__await",pe);i("__asyncGenerator",fe);i("__asyncDelegator",he);i("__asyncValues",ge);i("__makeTemplateObject",me);i("__importStar",Ee);i("__importDefault",ye);i("__classPrivateFieldGet",Ce);i("__classPrivateFieldSet",be);i("__classPrivateFieldIn",Ie);i("__addDisposableResource",we);i("__disposeResources",Se)}))},20770:(i,d,p)=>{i.exports=p(20218)},20218:(i,d,p)=>{var v=p(69278);var V=p(64756);var K=p(58611);var ee=p(65692);var te=p(24434);var re=p(42613);var ne=p(39023);d.httpOverHttp=httpOverHttp;d.httpsOverHttp=httpsOverHttp;d.httpOverHttps=httpOverHttps;d.httpsOverHttps=httpsOverHttps;function httpOverHttp(i){var d=new TunnelingAgent(i);d.request=K.request;return d}function httpsOverHttp(i){var d=new TunnelingAgent(i);d.request=K.request;d.createSocket=createSecureSocket;d.defaultPort=443;return d}function httpOverHttps(i){var d=new TunnelingAgent(i);d.request=ee.request;return d}function httpsOverHttps(i){var d=new TunnelingAgent(i);d.request=ee.request;d.createSocket=createSecureSocket;d.defaultPort=443;return d}function TunnelingAgent(i){var d=this;d.options=i||{};d.proxyOptions=d.options.proxy||{};d.maxSockets=d.options.maxSockets||K.Agent.defaultMaxSockets;d.requests=[];d.sockets=[];d.on("free",(function onFree(i,p,v,V){var K=toOptions(p,v,V);for(var ee=0,te=d.requests.length;ee=this.maxSockets){V.requests.push(K);return}V.createSocket(K,(function(d){d.on("free",onFree);d.on("close",onCloseOrRemove);d.on("agentRemove",onCloseOrRemove);i.onSocket(d);function onFree(){V.emit("free",d,K)}function onCloseOrRemove(i){V.removeSocket(d);d.removeListener("free",onFree);d.removeListener("close",onCloseOrRemove);d.removeListener("agentRemove",onCloseOrRemove)}}))};TunnelingAgent.prototype.createSocket=function createSocket(i,d){var p=this;var v={};p.sockets.push(v);var V=mergeOptions({},p.proxyOptions,{method:"CONNECT",path:i.host+":"+i.port,agent:false,headers:{host:i.host+":"+i.port}});if(i.localAddress){V.localAddress=i.localAddress}if(V.proxyAuth){V.headers=V.headers||{};V.headers["Proxy-Authorization"]="Basic "+new Buffer(V.proxyAuth).toString("base64")}ie("making CONNECT request");var K=p.request(V);K.useChunkedEncodingByDefault=false;K.once("response",onResponse);K.once("upgrade",onUpgrade);K.once("connect",onConnect);K.once("error",onError);K.end();function onResponse(i){i.upgrade=true}function onUpgrade(i,d,p){process.nextTick((function(){onConnect(i,d,p)}))}function onConnect(V,ee,te){K.removeAllListeners();ee.removeAllListeners();if(V.statusCode!==200){ie("tunneling socket could not be established, statusCode=%d",V.statusCode);ee.destroy();var re=new Error("tunneling socket could not be established, "+"statusCode="+V.statusCode);re.code="ECONNRESET";i.request.emit("error",re);p.removeSocket(v);return}if(te.length>0){ie("got illegal response body from proxy");ee.destroy();var re=new Error("got illegal response body from proxy");re.code="ECONNRESET";i.request.emit("error",re);p.removeSocket(v);return}ie("tunneling connection has established");p.sockets[p.sockets.indexOf(v)]=ee;return d(ee)}function onError(d){K.removeAllListeners();ie("tunneling socket could not be established, cause=%s\n",d.message,d.stack);var V=new Error("tunneling socket could not be established, "+"cause="+d.message);V.code="ECONNRESET";i.request.emit("error",V);p.removeSocket(v)}};TunnelingAgent.prototype.removeSocket=function removeSocket(i){var d=this.sockets.indexOf(i);if(d===-1){return}this.sockets.splice(d,1);var p=this.requests.shift();if(p){this.createSocket(p,(function(i){p.request.onSocket(i)}))}};function createSecureSocket(i,d){var p=this;TunnelingAgent.prototype.createSocket.call(p,i,(function(v){var K=i.request.getHeader("host");var ee=mergeOptions({},p.options,{socket:v,servername:K?K.replace(/:.*$/,""):i.host});var te=V.connect(0,ee);p.sockets[p.sockets.indexOf(v)]=te;d(te)}))}function toOptions(i,d,p){if(typeof i==="string"){return{host:i,port:d,localAddress:p}}return i}function mergeOptions(i){for(var d=1,p=arguments.length;d{const v=p(86197);const V=p(28611);const K=p(68707);const ee=p(35076);const te=p(81093);const re=p(59965);const ne=p(3440);const{InvalidArgumentError:ie}=K;const se=p(56615);const oe=p(59136);const ae=p(47365);const ce=p(47501);const le=p(94004);const ue=p(52429);const Ae=p(22720);const de=p(53573);const{getGlobalDispatcher:pe,setGlobalDispatcher:fe}=p(32581);const he=p(78840);const ge=p(48299);const me=p(64415);let Ee;try{p(76982);Ee=true}catch{Ee=false}Object.assign(V.prototype,se);i.exports.Dispatcher=V;i.exports.Client=v;i.exports.Pool=ee;i.exports.BalancedPool=te;i.exports.Agent=re;i.exports.ProxyAgent=Ae;i.exports.RetryHandler=de;i.exports.DecoratorHandler=he;i.exports.RedirectHandler=ge;i.exports.createRedirectInterceptor=me;i.exports.buildConnector=oe;i.exports.errors=K;function makeDispatcher(i){return(d,p,v)=>{if(typeof p==="function"){v=p;p=null}if(!d||typeof d!=="string"&&typeof d!=="object"&&!(d instanceof URL)){throw new ie("invalid url")}if(p!=null&&typeof p!=="object"){throw new ie("invalid opts")}if(p&&p.path!=null){if(typeof p.path!=="string"){throw new ie("invalid opts.path")}let i=p.path;if(!p.path.startsWith("/")){i=`/${i}`}d=new URL(ne.parseOrigin(d).origin+i)}else{if(!p){p=typeof d==="object"?d:{}}d=ne.parseURL(d)}const{agent:V,dispatcher:K=pe()}=p;if(V){throw new ie("unsupported opts.agent. Did you mean opts.client?")}return i.call(K,{...p,origin:d.origin,path:d.search?`${d.pathname}${d.search}`:d.pathname,method:p.method||(p.body?"PUT":"GET")},v)}}i.exports.setGlobalDispatcher=fe;i.exports.getGlobalDispatcher=pe;if(ne.nodeMajor>16||ne.nodeMajor===16&&ne.nodeMinor>=8){let d=null;i.exports.fetch=async function fetch(i){if(!d){d=p(12315).fetch}try{return await d(...arguments)}catch(i){if(typeof i==="object"){Error.captureStackTrace(i,this)}throw i}};i.exports.Headers=p(26349).Headers;i.exports.Response=p(48676).Response;i.exports.Request=p(25194).Request;i.exports.FormData=p(43073).FormData;i.exports.File=p(63041).File;i.exports.FileReader=p(82160).FileReader;const{setGlobalOrigin:v,getGlobalOrigin:V}=p(75628);i.exports.setGlobalOrigin=v;i.exports.getGlobalOrigin=V;const{CacheStorage:K}=p(44738);const{kConstruct:ee}=p(80296);i.exports.caches=new K(ee)}if(ne.nodeMajor>=16){const{deleteCookie:d,getCookies:v,getSetCookies:V,setCookie:K}=p(53168);i.exports.deleteCookie=d;i.exports.getCookies=v;i.exports.getSetCookies=V;i.exports.setCookie=K;const{parseMIMEType:ee,serializeAMimeType:te}=p(94322);i.exports.parseMIMEType=ee;i.exports.serializeAMimeType=te}if(ne.nodeMajor>=18&&Ee){const{WebSocket:d}=p(55171);i.exports.WebSocket=d}i.exports.request=makeDispatcher(se.request);i.exports.stream=makeDispatcher(se.stream);i.exports.pipeline=makeDispatcher(se.pipeline);i.exports.connect=makeDispatcher(se.connect);i.exports.upgrade=makeDispatcher(se.upgrade);i.exports.MockClient=ae;i.exports.MockPool=le;i.exports.MockAgent=ce;i.exports.mockErrors=ue},59965:(i,d,p)=>{const{InvalidArgumentError:v}=p(68707);const{kClients:V,kRunning:K,kClose:ee,kDestroy:te,kDispatch:re,kInterceptors:ne}=p(36443);const ie=p(50001);const se=p(35076);const oe=p(86197);const ae=p(3440);const ce=p(64415);const{WeakRef:le,FinalizationRegistry:ue}=p(13194)();const Ae=Symbol("onConnect");const de=Symbol("onDisconnect");const pe=Symbol("onConnectionError");const fe=Symbol("maxRedirections");const he=Symbol("onDrain");const ge=Symbol("factory");const me=Symbol("finalizer");const Ee=Symbol("options");function defaultFactory(i,d){return d&&d.connections===1?new oe(i,d):new se(i,d)}class Agent extends ie{constructor({factory:i=defaultFactory,maxRedirections:d=0,connect:p,...K}={}){super();if(typeof i!=="function"){throw new v("factory must be a function.")}if(p!=null&&typeof p!=="function"&&typeof p!=="object"){throw new v("connect must be a function or an object")}if(!Number.isInteger(d)||d<0){throw new v("maxRedirections must be a positive number")}if(p&&typeof p!=="function"){p={...p}}this[ne]=K.interceptors&&K.interceptors.Agent&&Array.isArray(K.interceptors.Agent)?K.interceptors.Agent:[ce({maxRedirections:d})];this[Ee]={...ae.deepClone(K),connect:p};this[Ee].interceptors=K.interceptors?{...K.interceptors}:undefined;this[fe]=d;this[ge]=i;this[V]=new Map;this[me]=new ue((i=>{const d=this[V].get(i);if(d!==undefined&&d.deref()===undefined){this[V].delete(i)}}));const ee=this;this[he]=(i,d)=>{ee.emit("drain",i,[ee,...d])};this[Ae]=(i,d)=>{ee.emit("connect",i,[ee,...d])};this[de]=(i,d,p)=>{ee.emit("disconnect",i,[ee,...d],p)};this[pe]=(i,d,p)=>{ee.emit("connectionError",i,[ee,...d],p)}}get[K](){let i=0;for(const d of this[V].values()){const p=d.deref();if(p){i+=p[K]}}return i}[re](i,d){let p;if(i.origin&&(typeof i.origin==="string"||i.origin instanceof URL)){p=String(i.origin)}else{throw new v("opts.origin must be a non-empty string or URL.")}const K=this[V].get(p);let ee=K?K.deref():null;if(!ee){ee=this[ge](i.origin,this[Ee]).on("drain",this[he]).on("connect",this[Ae]).on("disconnect",this[de]).on("connectionError",this[pe]);this[V].set(p,new le(ee));this[me].register(ee,p)}return ee.dispatch(i,d)}async[ee](){const i=[];for(const d of this[V].values()){const p=d.deref();if(p){i.push(p.close())}}await Promise.all(i)}async[te](i){const d=[];for(const p of this[V].values()){const v=p.deref();if(v){d.push(v.destroy(i))}}await Promise.all(d)}}i.exports=Agent},80158:(i,d,p)=>{const{addAbortListener:v}=p(3440);const{RequestAbortedError:V}=p(68707);const K=Symbol("kListener");const ee=Symbol("kSignal");function abort(i){if(i.abort){i.abort()}else{i.onError(new V)}}function addSignal(i,d){i[ee]=null;i[K]=null;if(!d){return}if(d.aborted){abort(i);return}i[ee]=d;i[K]=()=>{abort(i)};v(i[ee],i[K])}function removeSignal(i){if(!i[ee]){return}if("removeEventListener"in i[ee]){i[ee].removeEventListener("abort",i[K])}else{i[ee].removeListener("abort",i[K])}i[ee]=null;i[K]=null}i.exports={addSignal:addSignal,removeSignal:removeSignal}},34660:(i,d,p)=>{const{AsyncResource:v}=p(90290);const{InvalidArgumentError:V,RequestAbortedError:K,SocketError:ee}=p(68707);const te=p(3440);const{addSignal:re,removeSignal:ne}=p(80158);class ConnectHandler extends v{constructor(i,d){if(!i||typeof i!=="object"){throw new V("invalid opts")}if(typeof d!=="function"){throw new V("invalid callback")}const{signal:p,opaque:v,responseHeaders:K}=i;if(p&&typeof p.on!=="function"&&typeof p.addEventListener!=="function"){throw new V("signal must be an EventEmitter or EventTarget")}super("UNDICI_CONNECT");this.opaque=v||null;this.responseHeaders=K||null;this.callback=d;this.abort=null;re(this,p)}onConnect(i,d){if(!this.callback){throw new K}this.abort=i;this.context=d}onHeaders(){throw new ee("bad connect",null)}onUpgrade(i,d,p){const{callback:v,opaque:V,context:K}=this;ne(this);this.callback=null;let ee=d;if(ee!=null){ee=this.responseHeaders==="raw"?te.parseRawHeaders(d):te.parseHeaders(d)}this.runInAsyncScope(v,null,null,{statusCode:i,headers:ee,socket:p,opaque:V,context:K})}onError(i){const{callback:d,opaque:p}=this;ne(this);if(d){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(d,null,i,{opaque:p})}))}}}function connect(i,d){if(d===undefined){return new Promise(((d,p)=>{connect.call(this,i,((i,v)=>i?p(i):d(v)))}))}try{const p=new ConnectHandler(i,d);this.dispatch({...i,method:"CONNECT"},p)}catch(p){if(typeof d!=="function"){throw p}const v=i&&i.opaque;queueMicrotask((()=>d(p,{opaque:v})))}}i.exports=connect},76862:(i,d,p)=>{const{Readable:v,Duplex:V,PassThrough:K}=p(2203);const{InvalidArgumentError:ee,InvalidReturnValueError:te,RequestAbortedError:re}=p(68707);const ne=p(3440);const{AsyncResource:ie}=p(90290);const{addSignal:se,removeSignal:oe}=p(80158);const ae=p(42613);const ce=Symbol("resume");class PipelineRequest extends v{constructor(){super({autoDestroy:true});this[ce]=null}_read(){const{[ce]:i}=this;if(i){this[ce]=null;i()}}_destroy(i,d){this._read();d(i)}}class PipelineResponse extends v{constructor(i){super({autoDestroy:true});this[ce]=i}_read(){this[ce]()}_destroy(i,d){if(!i&&!this._readableState.endEmitted){i=new re}d(i)}}class PipelineHandler extends ie{constructor(i,d){if(!i||typeof i!=="object"){throw new ee("invalid opts")}if(typeof d!=="function"){throw new ee("invalid handler")}const{signal:p,method:v,opaque:K,onInfo:te,responseHeaders:ie}=i;if(p&&typeof p.on!=="function"&&typeof p.addEventListener!=="function"){throw new ee("signal must be an EventEmitter or EventTarget")}if(v==="CONNECT"){throw new ee("invalid method")}if(te&&typeof te!=="function"){throw new ee("invalid onInfo callback")}super("UNDICI_PIPELINE");this.opaque=K||null;this.responseHeaders=ie||null;this.handler=d;this.abort=null;this.context=null;this.onInfo=te||null;this.req=(new PipelineRequest).on("error",ne.nop);this.ret=new V({readableObjectMode:i.objectMode,autoDestroy:true,read:()=>{const{body:i}=this;if(i&&i.resume){i.resume()}},write:(i,d,p)=>{const{req:v}=this;if(v.push(i,d)||v._readableState.destroyed){p()}else{v[ce]=p}},destroy:(i,d)=>{const{body:p,req:v,res:V,ret:K,abort:ee}=this;if(!i&&!K._readableState.endEmitted){i=new re}if(ee&&i){ee()}ne.destroy(p,i);ne.destroy(v,i);ne.destroy(V,i);oe(this);d(i)}}).on("prefinish",(()=>{const{req:i}=this;i.push(null)}));this.res=null;se(this,p)}onConnect(i,d){const{ret:p,res:v}=this;ae(!v,"pipeline cannot be retried");if(p.destroyed){throw new re}this.abort=i;this.context=d}onHeaders(i,d,p){const{opaque:v,handler:V,context:K}=this;if(i<200){if(this.onInfo){const p=this.responseHeaders==="raw"?ne.parseRawHeaders(d):ne.parseHeaders(d);this.onInfo({statusCode:i,headers:p})}return}this.res=new PipelineResponse(p);let ee;try{this.handler=null;const p=this.responseHeaders==="raw"?ne.parseRawHeaders(d):ne.parseHeaders(d);ee=this.runInAsyncScope(V,null,{statusCode:i,headers:p,opaque:v,body:this.res,context:K})}catch(i){this.res.on("error",ne.nop);throw i}if(!ee||typeof ee.on!=="function"){throw new te("expected Readable")}ee.on("data",(i=>{const{ret:d,body:p}=this;if(!d.push(i)&&p.pause){p.pause()}})).on("error",(i=>{const{ret:d}=this;ne.destroy(d,i)})).on("end",(()=>{const{ret:i}=this;i.push(null)})).on("close",(()=>{const{ret:i}=this;if(!i._readableState.ended){ne.destroy(i,new re)}}));this.body=ee}onData(i){const{res:d}=this;return d.push(i)}onComplete(i){const{res:d}=this;d.push(null)}onError(i){const{ret:d}=this;this.handler=null;ne.destroy(d,i)}}function pipeline(i,d){try{const p=new PipelineHandler(i,d);this.dispatch({...i,body:p.req},p);return p.ret}catch(i){return(new K).destroy(i)}}i.exports=pipeline},14043:(i,d,p)=>{const v=p(49927);const{InvalidArgumentError:V,RequestAbortedError:K}=p(68707);const ee=p(3440);const{getResolveErrorBodyCallback:te}=p(87655);const{AsyncResource:re}=p(90290);const{addSignal:ne,removeSignal:ie}=p(80158);class RequestHandler extends re{constructor(i,d){if(!i||typeof i!=="object"){throw new V("invalid opts")}const{signal:p,method:v,opaque:K,body:te,onInfo:re,responseHeaders:ie,throwOnError:se,highWaterMark:oe}=i;try{if(typeof d!=="function"){throw new V("invalid callback")}if(oe&&(typeof oe!=="number"||oe<0)){throw new V("invalid highWaterMark")}if(p&&typeof p.on!=="function"&&typeof p.addEventListener!=="function"){throw new V("signal must be an EventEmitter or EventTarget")}if(v==="CONNECT"){throw new V("invalid method")}if(re&&typeof re!=="function"){throw new V("invalid onInfo callback")}super("UNDICI_REQUEST")}catch(i){if(ee.isStream(te)){ee.destroy(te.on("error",ee.nop),i)}throw i}this.responseHeaders=ie||null;this.opaque=K||null;this.callback=d;this.res=null;this.abort=null;this.body=te;this.trailers={};this.context=null;this.onInfo=re||null;this.throwOnError=se;this.highWaterMark=oe;if(ee.isStream(te)){te.on("error",(i=>{this.onError(i)}))}ne(this,p)}onConnect(i,d){if(!this.callback){throw new K}this.abort=i;this.context=d}onHeaders(i,d,p,V){const{callback:K,opaque:re,abort:ne,context:ie,responseHeaders:se,highWaterMark:oe}=this;const ae=se==="raw"?ee.parseRawHeaders(d):ee.parseHeaders(d);if(i<200){if(this.onInfo){this.onInfo({statusCode:i,headers:ae})}return}const ce=se==="raw"?ee.parseHeaders(d):ae;const le=ce["content-type"];const ue=new v({resume:p,abort:ne,contentType:le,highWaterMark:oe});this.callback=null;this.res=ue;if(K!==null){if(this.throwOnError&&i>=400){this.runInAsyncScope(te,null,{callback:K,body:ue,contentType:le,statusCode:i,statusMessage:V,headers:ae})}else{this.runInAsyncScope(K,null,null,{statusCode:i,headers:ae,trailers:this.trailers,opaque:re,body:ue,context:ie})}}}onData(i){const{res:d}=this;return d.push(i)}onComplete(i){const{res:d}=this;ie(this);ee.parseHeaders(i,this.trailers);d.push(null)}onError(i){const{res:d,callback:p,body:v,opaque:V}=this;ie(this);if(p){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(p,null,i,{opaque:V})}))}if(d){this.res=null;queueMicrotask((()=>{ee.destroy(d,i)}))}if(v){this.body=null;ee.destroy(v,i)}}}function request(i,d){if(d===undefined){return new Promise(((d,p)=>{request.call(this,i,((i,v)=>i?p(i):d(v)))}))}try{this.dispatch(i,new RequestHandler(i,d))}catch(p){if(typeof d!=="function"){throw p}const v=i&&i.opaque;queueMicrotask((()=>d(p,{opaque:v})))}}i.exports=request;i.exports.RequestHandler=RequestHandler},3560:(i,d,p)=>{const{finished:v,PassThrough:V}=p(2203);const{InvalidArgumentError:K,InvalidReturnValueError:ee,RequestAbortedError:te}=p(68707);const re=p(3440);const{getResolveErrorBodyCallback:ne}=p(87655);const{AsyncResource:ie}=p(90290);const{addSignal:se,removeSignal:oe}=p(80158);class StreamHandler extends ie{constructor(i,d,p){if(!i||typeof i!=="object"){throw new K("invalid opts")}const{signal:v,method:V,opaque:ee,body:te,onInfo:ne,responseHeaders:ie,throwOnError:oe}=i;try{if(typeof p!=="function"){throw new K("invalid callback")}if(typeof d!=="function"){throw new K("invalid factory")}if(v&&typeof v.on!=="function"&&typeof v.addEventListener!=="function"){throw new K("signal must be an EventEmitter or EventTarget")}if(V==="CONNECT"){throw new K("invalid method")}if(ne&&typeof ne!=="function"){throw new K("invalid onInfo callback")}super("UNDICI_STREAM")}catch(i){if(re.isStream(te)){re.destroy(te.on("error",re.nop),i)}throw i}this.responseHeaders=ie||null;this.opaque=ee||null;this.factory=d;this.callback=p;this.res=null;this.abort=null;this.context=null;this.trailers=null;this.body=te;this.onInfo=ne||null;this.throwOnError=oe||false;if(re.isStream(te)){te.on("error",(i=>{this.onError(i)}))}se(this,v)}onConnect(i,d){if(!this.callback){throw new te}this.abort=i;this.context=d}onHeaders(i,d,p,K){const{factory:te,opaque:ie,context:se,callback:oe,responseHeaders:ae}=this;const ce=ae==="raw"?re.parseRawHeaders(d):re.parseHeaders(d);if(i<200){if(this.onInfo){this.onInfo({statusCode:i,headers:ce})}return}this.factory=null;let le;if(this.throwOnError&&i>=400){const p=ae==="raw"?re.parseHeaders(d):ce;const v=p["content-type"];le=new V;this.callback=null;this.runInAsyncScope(ne,null,{callback:oe,body:le,contentType:v,statusCode:i,statusMessage:K,headers:ce})}else{if(te===null){return}le=this.runInAsyncScope(te,null,{statusCode:i,headers:ce,opaque:ie,context:se});if(!le||typeof le.write!=="function"||typeof le.end!=="function"||typeof le.on!=="function"){throw new ee("expected Writable")}v(le,{readable:false},(i=>{const{callback:d,res:p,opaque:v,trailers:V,abort:K}=this;this.res=null;if(i||!p.readable){re.destroy(p,i)}this.callback=null;this.runInAsyncScope(d,null,i||null,{opaque:v,trailers:V});if(i){K()}}))}le.on("drain",p);this.res=le;const ue=le.writableNeedDrain!==undefined?le.writableNeedDrain:le._writableState&&le._writableState.needDrain;return ue!==true}onData(i){const{res:d}=this;return d?d.write(i):true}onComplete(i){const{res:d}=this;oe(this);if(!d){return}this.trailers=re.parseHeaders(i);d.end()}onError(i){const{res:d,callback:p,opaque:v,body:V}=this;oe(this);this.factory=null;if(d){this.res=null;re.destroy(d,i)}else if(p){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(p,null,i,{opaque:v})}))}if(V){this.body=null;re.destroy(V,i)}}}function stream(i,d,p){if(p===undefined){return new Promise(((p,v)=>{stream.call(this,i,d,((i,d)=>i?v(i):p(d)))}))}try{this.dispatch(i,new StreamHandler(i,d,p))}catch(d){if(typeof p!=="function"){throw d}const v=i&&i.opaque;queueMicrotask((()=>p(d,{opaque:v})))}}i.exports=stream},61882:(i,d,p)=>{const{InvalidArgumentError:v,RequestAbortedError:V,SocketError:K}=p(68707);const{AsyncResource:ee}=p(90290);const te=p(3440);const{addSignal:re,removeSignal:ne}=p(80158);const ie=p(42613);class UpgradeHandler extends ee{constructor(i,d){if(!i||typeof i!=="object"){throw new v("invalid opts")}if(typeof d!=="function"){throw new v("invalid callback")}const{signal:p,opaque:V,responseHeaders:K}=i;if(p&&typeof p.on!=="function"&&typeof p.addEventListener!=="function"){throw new v("signal must be an EventEmitter or EventTarget")}super("UNDICI_UPGRADE");this.responseHeaders=K||null;this.opaque=V||null;this.callback=d;this.abort=null;this.context=null;re(this,p)}onConnect(i,d){if(!this.callback){throw new V}this.abort=i;this.context=null}onHeaders(){throw new K("bad upgrade",null)}onUpgrade(i,d,p){const{callback:v,opaque:V,context:K}=this;ie.strictEqual(i,101);ne(this);this.callback=null;const ee=this.responseHeaders==="raw"?te.parseRawHeaders(d):te.parseHeaders(d);this.runInAsyncScope(v,null,null,{headers:ee,socket:p,opaque:V,context:K})}onError(i){const{callback:d,opaque:p}=this;ne(this);if(d){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(d,null,i,{opaque:p})}))}}}function upgrade(i,d){if(d===undefined){return new Promise(((d,p)=>{upgrade.call(this,i,((i,v)=>i?p(i):d(v)))}))}try{const p=new UpgradeHandler(i,d);this.dispatch({...i,method:i.method||"GET",upgrade:i.protocol||"Websocket"},p)}catch(p){if(typeof d!=="function"){throw p}const v=i&&i.opaque;queueMicrotask((()=>d(p,{opaque:v})))}}i.exports=upgrade},56615:(i,d,p)=>{i.exports.request=p(14043);i.exports.stream=p(3560);i.exports.pipeline=p(76862);i.exports.upgrade=p(61882);i.exports.connect=p(34660)},49927:(i,d,p)=>{const v=p(42613);const{Readable:V}=p(2203);const{RequestAbortedError:K,NotSupportedError:ee,InvalidArgumentError:te}=p(68707);const re=p(3440);const{ReadableStreamFrom:ne,toUSVString:ie}=p(3440);let se;const oe=Symbol("kConsume");const ae=Symbol("kReading");const ce=Symbol("kBody");const le=Symbol("abort");const ue=Symbol("kContentType");const noop=()=>{};i.exports=class BodyReadable extends V{constructor({resume:i,abort:d,contentType:p="",highWaterMark:v=64*1024}){super({autoDestroy:true,read:i,highWaterMark:v});this._readableState.dataEmitted=false;this[le]=d;this[oe]=null;this[ce]=null;this[ue]=p;this[ae]=false}destroy(i){if(this.destroyed){return this}if(!i&&!this._readableState.endEmitted){i=new K}if(i){this[le]()}return super.destroy(i)}emit(i,...d){if(i==="data"){this._readableState.dataEmitted=true}else if(i==="error"){this._readableState.errorEmitted=true}return super.emit(i,...d)}on(i,...d){if(i==="data"||i==="readable"){this[ae]=true}return super.on(i,...d)}addListener(i,...d){return this.on(i,...d)}off(i,...d){const p=super.off(i,...d);if(i==="data"||i==="readable"){this[ae]=this.listenerCount("data")>0||this.listenerCount("readable")>0}return p}removeListener(i,...d){return this.off(i,...d)}push(i){if(this[oe]&&i!==null&&this.readableLength===0){consumePush(this[oe],i);return this[ae]?super.push(i):true}return super.push(i)}async text(){return consume(this,"text")}async json(){return consume(this,"json")}async blob(){return consume(this,"blob")}async arrayBuffer(){return consume(this,"arrayBuffer")}async formData(){throw new ee}get bodyUsed(){return re.isDisturbed(this)}get body(){if(!this[ce]){this[ce]=ne(this);if(this[oe]){this[ce].getReader();v(this[ce].locked)}}return this[ce]}dump(i){let d=i&&Number.isFinite(i.limit)?i.limit:262144;const p=i&&i.signal;if(p){try{if(typeof p!=="object"||!("aborted"in p)){throw new te("signal must be an AbortSignal")}re.throwIfAborted(p)}catch(i){return Promise.reject(i)}}if(this.closed){return Promise.resolve(null)}return new Promise(((i,v)=>{const V=p?re.addAbortListener(p,(()=>{this.destroy()})):noop;this.on("close",(function(){V();if(p&&p.aborted){v(p.reason||Object.assign(new Error("The operation was aborted"),{name:"AbortError"}))}else{i(null)}})).on("error",noop).on("data",(function(i){d-=i.length;if(d<=0){this.destroy()}})).resume()}))}};function isLocked(i){return i[ce]&&i[ce].locked===true||i[oe]}function isUnusable(i){return re.isDisturbed(i)||isLocked(i)}async function consume(i,d){if(isUnusable(i)){throw new TypeError("unusable")}v(!i[oe]);return new Promise(((p,v)=>{i[oe]={type:d,stream:i,resolve:p,reject:v,length:0,body:[]};i.on("error",(function(i){consumeFinish(this[oe],i)})).on("close",(function(){if(this[oe].body!==null){consumeFinish(this[oe],new K)}}));process.nextTick(consumeStart,i[oe])}))}function consumeStart(i){if(i.body===null){return}const{_readableState:d}=i.stream;for(const p of d.buffer){consumePush(i,p)}if(d.endEmitted){consumeEnd(this[oe])}else{i.stream.on("end",(function(){consumeEnd(this[oe])}))}i.stream.resume();while(i.stream.read()!=null){}}function consumeEnd(i){const{type:d,body:v,resolve:V,stream:K,length:ee}=i;try{if(d==="text"){V(ie(Buffer.concat(v)))}else if(d==="json"){V(JSON.parse(Buffer.concat(v)))}else if(d==="arrayBuffer"){const i=new Uint8Array(ee);let d=0;for(const p of v){i.set(p,d);d+=p.byteLength}V(i.buffer)}else if(d==="blob"){if(!se){se=p(20181).Blob}V(new se(v,{type:K[ue]}))}consumeFinish(i)}catch(i){K.destroy(i)}}function consumePush(i,d){i.length+=d.length;i.body.push(d)}function consumeFinish(i,d){if(i.body===null){return}if(d){i.reject(d)}else{i.resolve()}i.type=null;i.stream=null;i.resolve=null;i.reject=null;i.length=0;i.body=null}},87655:(i,d,p)=>{const v=p(42613);const{ResponseStatusCodeError:V}=p(68707);const{toUSVString:K}=p(3440);async function getResolveErrorBodyCallback({callback:i,body:d,contentType:p,statusCode:ee,statusMessage:te,headers:re}){v(d);let ne=[];let ie=0;for await(const i of d){ne.push(i);ie+=i.length;if(ie>128*1024){ne=null;break}}if(ee===204||!p||!ne){process.nextTick(i,new V(`Response status code ${ee}${te?`: ${te}`:""}`,ee,re));return}try{if(p.startsWith("application/json")){const d=JSON.parse(K(Buffer.concat(ne)));process.nextTick(i,new V(`Response status code ${ee}${te?`: ${te}`:""}`,ee,re,d));return}if(p.startsWith("text/")){const d=K(Buffer.concat(ne));process.nextTick(i,new V(`Response status code ${ee}${te?`: ${te}`:""}`,ee,re,d));return}}catch(i){}process.nextTick(i,new V(`Response status code ${ee}${te?`: ${te}`:""}`,ee,re))}i.exports={getResolveErrorBodyCallback:getResolveErrorBodyCallback}},81093:(i,d,p)=>{const{BalancedPoolMissingUpstreamError:v,InvalidArgumentError:V}=p(68707);const{PoolBase:K,kClients:ee,kNeedDrain:te,kAddClient:re,kRemoveClient:ne,kGetDispatcher:ie}=p(58640);const se=p(35076);const{kUrl:oe,kInterceptors:ae}=p(36443);const{parseOrigin:ce}=p(3440);const le=Symbol("factory");const ue=Symbol("options");const Ae=Symbol("kGreatestCommonDivisor");const de=Symbol("kCurrentWeight");const pe=Symbol("kIndex");const fe=Symbol("kWeight");const he=Symbol("kMaxWeightPerServer");const ge=Symbol("kErrorPenalty");function getGreatestCommonDivisor(i,d){if(d===0)return i;return getGreatestCommonDivisor(d,i%d)}function defaultFactory(i,d){return new se(i,d)}class BalancedPool extends K{constructor(i=[],{factory:d=defaultFactory,...p}={}){super();this[ue]=p;this[pe]=-1;this[de]=0;this[he]=this[ue].maxWeightPerServer||100;this[ge]=this[ue].errorPenalty||15;if(!Array.isArray(i)){i=[i]}if(typeof d!=="function"){throw new V("factory must be a function.")}this[ae]=p.interceptors&&p.interceptors.BalancedPool&&Array.isArray(p.interceptors.BalancedPool)?p.interceptors.BalancedPool:[];this[le]=d;for(const d of i){this.addUpstream(d)}this._updateBalancedPoolStats()}addUpstream(i){const d=ce(i).origin;if(this[ee].find((i=>i[oe].origin===d&&i.closed!==true&&i.destroyed!==true))){return this}const p=this[le](d,Object.assign({},this[ue]));this[re](p);p.on("connect",(()=>{p[fe]=Math.min(this[he],p[fe]+this[ge])}));p.on("connectionError",(()=>{p[fe]=Math.max(1,p[fe]-this[ge]);this._updateBalancedPoolStats()}));p.on("disconnect",((...i)=>{const d=i[2];if(d&&d.code==="UND_ERR_SOCKET"){p[fe]=Math.max(1,p[fe]-this[ge]);this._updateBalancedPoolStats()}}));for(const i of this[ee]){i[fe]=this[he]}this._updateBalancedPoolStats();return this}_updateBalancedPoolStats(){this[Ae]=this[ee].map((i=>i[fe])).reduce(getGreatestCommonDivisor,0)}removeUpstream(i){const d=ce(i).origin;const p=this[ee].find((i=>i[oe].origin===d&&i.closed!==true&&i.destroyed!==true));if(p){this[ne](p)}return this}get upstreams(){return this[ee].filter((i=>i.closed!==true&&i.destroyed!==true)).map((i=>i[oe].origin))}[ie](){if(this[ee].length===0){throw new v}const i=this[ee].find((i=>!i[te]&&i.closed!==true&&i.destroyed!==true));if(!i){return}const d=this[ee].map((i=>i[te])).reduce(((i,d)=>i&&d),true);if(d){return}let p=0;let V=this[ee].findIndex((i=>!i[te]));while(p++this[ee][V][fe]&&!i[te]){V=this[pe]}if(this[pe]===0){this[de]=this[de]-this[Ae];if(this[de]<=0){this[de]=this[he]}}if(i[fe]>=this[de]&&!i[te]){return i}}this[de]=this[ee][V][fe];this[pe]=V;return this[ee][V]}}i.exports=BalancedPool},50479:(i,d,p)=>{const{kConstruct:v}=p(80296);const{urlEquals:V,fieldValues:K}=p(23993);const{kEnumerableProperty:ee,isDisturbed:te}=p(3440);const{kHeadersList:re}=p(36443);const{webidl:ne}=p(74222);const{Response:ie,cloneResponse:se}=p(48676);const{Request:oe}=p(25194);const{kState:ae,kHeaders:ce,kGuard:le,kRealm:ue}=p(89710);const{fetching:Ae}=p(12315);const{urlIsHttpHttpsScheme:de,createDeferredPromise:pe,readAllBytes:fe}=p(15523);const he=p(42613);const{getGlobalDispatcher:ge}=p(32581);class Cache{#T;constructor(){if(arguments[0]!==v){ne.illegalConstructor()}this.#T=arguments[1]}async match(i,d={}){ne.brandCheck(this,Cache);ne.argumentLengthCheck(arguments,1,{header:"Cache.match"});i=ne.converters.RequestInfo(i);d=ne.converters.CacheQueryOptions(d);const p=await this.matchAll(i,d);if(p.length===0){return}return p[0]}async matchAll(i=undefined,d={}){ne.brandCheck(this,Cache);if(i!==undefined)i=ne.converters.RequestInfo(i);d=ne.converters.CacheQueryOptions(d);let p=null;if(i!==undefined){if(i instanceof oe){p=i[ae];if(p.method!=="GET"&&!d.ignoreMethod){return[]}}else if(typeof i==="string"){p=new oe(i)[ae]}}const v=[];if(i===undefined){for(const i of this.#T){v.push(i[1])}}else{const i=this.#D(p,d);for(const d of i){v.push(d[1])}}const V=[];for(const i of v){const d=new ie(i.body?.source??null);const p=d[ae].body;d[ae]=i;d[ae].body=p;d[ce][re]=i.headersList;d[ce][le]="immutable";V.push(d)}return Object.freeze(V)}async add(i){ne.brandCheck(this,Cache);ne.argumentLengthCheck(arguments,1,{header:"Cache.add"});i=ne.converters.RequestInfo(i);const d=[i];const p=this.addAll(d);return await p}async addAll(i){ne.brandCheck(this,Cache);ne.argumentLengthCheck(arguments,1,{header:"Cache.addAll"});i=ne.converters["sequence"](i);const d=[];const p=[];for(const d of i){if(typeof d==="string"){continue}const i=d[ae];if(!de(i.url)||i.method!=="GET"){throw ne.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme when method is not GET."})}}const v=[];for(const V of i){const i=new oe(V)[ae];if(!de(i.url)){throw ne.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme."})}i.initiator="fetch";i.destination="subresource";p.push(i);const ee=pe();v.push(Ae({request:i,dispatcher:ge(),processResponse(i){if(i.type==="error"||i.status===206||i.status<200||i.status>299){ee.reject(ne.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}))}else if(i.headersList.contains("vary")){const d=K(i.headersList.get("vary"));for(const i of d){if(i==="*"){ee.reject(ne.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(const i of v){i.abort()}return}}}},processResponseEndOfBody(i){if(i.aborted){ee.reject(new DOMException("aborted","AbortError"));return}ee.resolve(i)}}));d.push(ee.promise)}const V=Promise.all(d);const ee=await V;const te=[];let re=0;for(const i of ee){const d={type:"put",request:p[re],response:i};te.push(d);re++}const ie=pe();let se=null;try{this.#k(te)}catch(i){se=i}queueMicrotask((()=>{if(se===null){ie.resolve(undefined)}else{ie.reject(se)}}));return ie.promise}async put(i,d){ne.brandCheck(this,Cache);ne.argumentLengthCheck(arguments,2,{header:"Cache.put"});i=ne.converters.RequestInfo(i);d=ne.converters.Response(d);let p=null;if(i instanceof oe){p=i[ae]}else{p=new oe(i)[ae]}if(!de(p.url)||p.method!=="GET"){throw ne.errors.exception({header:"Cache.put",message:"Expected an http/s scheme when method is not GET"})}const v=d[ae];if(v.status===206){throw ne.errors.exception({header:"Cache.put",message:"Got 206 status"})}if(v.headersList.contains("vary")){const i=K(v.headersList.get("vary"));for(const d of i){if(d==="*"){throw ne.errors.exception({header:"Cache.put",message:"Got * vary field value"})}}}if(v.body&&(te(v.body.stream)||v.body.stream.locked)){throw ne.errors.exception({header:"Cache.put",message:"Response body is locked or disturbed"})}const V=se(v);const ee=pe();if(v.body!=null){const i=v.body.stream;const d=i.getReader();fe(d).then(ee.resolve,ee.reject)}else{ee.resolve(undefined)}const re=[];const ie={type:"put",request:p,response:V};re.push(ie);const ce=await ee.promise;if(V.body!=null){V.body.source=ce}const le=pe();let ue=null;try{this.#k(re)}catch(i){ue=i}queueMicrotask((()=>{if(ue===null){le.resolve()}else{le.reject(ue)}}));return le.promise}async delete(i,d={}){ne.brandCheck(this,Cache);ne.argumentLengthCheck(arguments,1,{header:"Cache.delete"});i=ne.converters.RequestInfo(i);d=ne.converters.CacheQueryOptions(d);let p=null;if(i instanceof oe){p=i[ae];if(p.method!=="GET"&&!d.ignoreMethod){return false}}else{he(typeof i==="string");p=new oe(i)[ae]}const v=[];const V={type:"delete",request:p,options:d};v.push(V);const K=pe();let ee=null;let te;try{te=this.#k(v)}catch(i){ee=i}queueMicrotask((()=>{if(ee===null){K.resolve(!!te?.length)}else{K.reject(ee)}}));return K.promise}async keys(i=undefined,d={}){ne.brandCheck(this,Cache);if(i!==undefined)i=ne.converters.RequestInfo(i);d=ne.converters.CacheQueryOptions(d);let p=null;if(i!==undefined){if(i instanceof oe){p=i[ae];if(p.method!=="GET"&&!d.ignoreMethod){return[]}}else if(typeof i==="string"){p=new oe(i)[ae]}}const v=pe();const V=[];if(i===undefined){for(const i of this.#T){V.push(i[0])}}else{const i=this.#D(p,d);for(const d of i){V.push(d[0])}}queueMicrotask((()=>{const i=[];for(const d of V){const p=new oe("https://a");p[ae]=d;p[ce][re]=d.headersList;p[ce][le]="immutable";p[ue]=d.client;i.push(p)}v.resolve(Object.freeze(i))}));return v.promise}#k(i){const d=this.#T;const p=[...d];const v=[];const V=[];try{for(const p of i){if(p.type!=="delete"&&p.type!=="put"){throw ne.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'})}if(p.type==="delete"&&p.response!=null){throw ne.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"})}if(this.#D(p.request,p.options,v).length){throw new DOMException("???","InvalidStateError")}let i;if(p.type==="delete"){i=this.#D(p.request,p.options);if(i.length===0){return[]}for(const p of i){const i=d.indexOf(p);he(i!==-1);d.splice(i,1)}}else if(p.type==="put"){if(p.response==null){throw ne.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"})}const V=p.request;if(!de(V.url)){throw ne.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"})}if(V.method!=="GET"){throw ne.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"})}if(p.options!=null){throw ne.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"})}i=this.#D(p.request);for(const p of i){const i=d.indexOf(p);he(i!==-1);d.splice(i,1)}d.push([p.request,p.response]);v.push([p.request,p.response])}V.push([p.request,p.response])}return V}catch(i){this.#T.length=0;this.#T=p;throw i}}#D(i,d,p){const v=[];const V=p??this.#T;for(const p of V){const[V,K]=p;if(this.#x(i,V,K,d)){v.push(p)}}return v}#x(i,d,p=null,v){const ee=new URL(i.url);const te=new URL(d.url);if(v?.ignoreSearch){te.search="";ee.search=""}if(!V(ee,te,true)){return false}if(p==null||v?.ignoreVary||!p.headersList.contains("vary")){return true}const re=K(p.headersList.get("vary"));for(const p of re){if(p==="*"){return false}const v=d.headersList.get(p);const V=i.headersList.get(p);if(v!==V){return false}}return true}}Object.defineProperties(Cache.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:true},match:ee,matchAll:ee,add:ee,addAll:ee,put:ee,delete:ee,keys:ee});const me=[{key:"ignoreSearch",converter:ne.converters.boolean,defaultValue:false},{key:"ignoreMethod",converter:ne.converters.boolean,defaultValue:false},{key:"ignoreVary",converter:ne.converters.boolean,defaultValue:false}];ne.converters.CacheQueryOptions=ne.dictionaryConverter(me);ne.converters.MultiCacheQueryOptions=ne.dictionaryConverter([...me,{key:"cacheName",converter:ne.converters.DOMString}]);ne.converters.Response=ne.interfaceConverter(ie);ne.converters["sequence"]=ne.sequenceConverter(ne.converters.RequestInfo);i.exports={Cache:Cache}},44738:(i,d,p)=>{const{kConstruct:v}=p(80296);const{Cache:V}=p(50479);const{webidl:K}=p(74222);const{kEnumerableProperty:ee}=p(3440);class CacheStorage{#_=new Map;constructor(){if(arguments[0]!==v){K.illegalConstructor()}}async match(i,d={}){K.brandCheck(this,CacheStorage);K.argumentLengthCheck(arguments,1,{header:"CacheStorage.match"});i=K.converters.RequestInfo(i);d=K.converters.MultiCacheQueryOptions(d);if(d.cacheName!=null){if(this.#_.has(d.cacheName)){const p=this.#_.get(d.cacheName);const K=new V(v,p);return await K.match(i,d)}}else{for(const p of this.#_.values()){const K=new V(v,p);const ee=await K.match(i,d);if(ee!==undefined){return ee}}}}async has(i){K.brandCheck(this,CacheStorage);K.argumentLengthCheck(arguments,1,{header:"CacheStorage.has"});i=K.converters.DOMString(i);return this.#_.has(i)}async open(i){K.brandCheck(this,CacheStorage);K.argumentLengthCheck(arguments,1,{header:"CacheStorage.open"});i=K.converters.DOMString(i);if(this.#_.has(i)){const d=this.#_.get(i);return new V(v,d)}const d=[];this.#_.set(i,d);return new V(v,d)}async delete(i){K.brandCheck(this,CacheStorage);K.argumentLengthCheck(arguments,1,{header:"CacheStorage.delete"});i=K.converters.DOMString(i);return this.#_.delete(i)}async keys(){K.brandCheck(this,CacheStorage);const i=this.#_.keys();return[...i]}}Object.defineProperties(CacheStorage.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:true},match:ee,has:ee,open:ee,delete:ee,keys:ee});i.exports={CacheStorage:CacheStorage}},80296:(i,d,p)=>{i.exports={kConstruct:p(36443).kConstruct}},23993:(i,d,p)=>{const v=p(42613);const{URLSerializer:V}=p(94322);const{isValidHeaderName:K}=p(15523);function urlEquals(i,d,p=false){const v=V(i,p);const K=V(d,p);return v===K}function fieldValues(i){v(i!==null);const d=[];for(let p of i.split(",")){p=p.trim();if(!p.length){continue}else if(!K(p)){continue}d.push(p)}return d}i.exports={urlEquals:urlEquals,fieldValues:fieldValues}},86197:(i,d,p)=>{const v=p(42613);const V=p(69278);const K=p(58611);const{pipeline:ee}=p(2203);const te=p(3440);const re=p(28804);const ne=p(44655);const ie=p(50001);const{RequestContentLengthMismatchError:se,ResponseContentLengthMismatchError:oe,InvalidArgumentError:ae,RequestAbortedError:ce,HeadersTimeoutError:le,HeadersOverflowError:ue,SocketError:Ae,InformationalError:de,BodyTimeoutError:pe,HTTPParserError:fe,ResponseExceededMaxSizeError:he,ClientDestroyedError:ge}=p(68707);const me=p(59136);const{kUrl:Ee,kReset:ye,kServerName:Ce,kClient:be,kBusy:Ie,kParser:Be,kConnect:we,kBlocking:Se,kResuming:Qe,kRunning:ve,kPending:Re,kSize:Te,kWriting:Ne,kQueue:ke,kConnected:De,kConnecting:xe,kNeedDrain:_e,kNoRef:Pe,kKeepAliveDefaultTimeout:Oe,kHostHeader:Le,kPendingIdx:Fe,kRunningIdx:Me,kError:Ue,kPipelining:He,kSocket:Ge,kKeepAliveTimeoutValue:qe,kMaxHeadersSize:je,kKeepAliveMaxTimeout:Ve,kKeepAliveTimeoutThreshold:ze,kHeadersTimeout:Ye,kBodyTimeout:We,kStrictContentLength:Je,kConnector:$e,kMaxRedirections:Ke,kMaxRequests:Xe,kCounter:Ze,kClose:At,kDestroy:mt,kDispatch:Et,kInterceptors:yt,kLocalAddress:Ct,kMaxResponseSize:bt,kHTTPConnVersion:It,kHost:Bt,kHTTP2Session:wt,kHTTP2SessionState:St,kHTTP2BuildRequest:Qt,kHTTP2CopyHeaders:vt,kHTTP1BuildRequest:Rt}=p(36443);let Tt;try{Tt=p(85675)}catch{Tt={constants:{}}}const{constants:{HTTP2_HEADER_AUTHORITY:Nt,HTTP2_HEADER_METHOD:kt,HTTP2_HEADER_PATH:Dt,HTTP2_HEADER_SCHEME:xt,HTTP2_HEADER_CONTENT_LENGTH:_t,HTTP2_HEADER_EXPECT:Pt,HTTP2_HEADER_STATUS:Ot}}=Tt;let Lt=false;const Ft=Buffer[Symbol.species];const Mt=Symbol("kClosedResolve");const Ut={};try{const i=p(31637);Ut.sendHeaders=i.channel("undici:client:sendHeaders");Ut.beforeConnect=i.channel("undici:client:beforeConnect");Ut.connectError=i.channel("undici:client:connectError");Ut.connected=i.channel("undici:client:connected")}catch{Ut.sendHeaders={hasSubscribers:false};Ut.beforeConnect={hasSubscribers:false};Ut.connectError={hasSubscribers:false};Ut.connected={hasSubscribers:false}}class Client extends ie{constructor(i,{interceptors:d,maxHeaderSize:p,headersTimeout:v,socketTimeout:ee,requestTimeout:re,connectTimeout:ne,bodyTimeout:ie,idleTimeout:se,keepAlive:oe,keepAliveTimeout:ce,maxKeepAliveTimeout:le,keepAliveMaxTimeout:ue,keepAliveTimeoutThreshold:Ae,socketPath:de,pipelining:pe,tls:fe,strictContentLength:he,maxCachedSessions:ge,maxRedirections:ye,connect:be,maxRequestsPerClient:Ie,localAddress:Be,maxResponseSize:we,autoSelectFamily:Se,autoSelectFamilyAttemptTimeout:ve,allowH2:Re,maxConcurrentStreams:Te}={}){super();if(oe!==undefined){throw new ae("unsupported keepAlive, use pipelining=0 instead")}if(ee!==undefined){throw new ae("unsupported socketTimeout, use headersTimeout & bodyTimeout instead")}if(re!==undefined){throw new ae("unsupported requestTimeout, use headersTimeout & bodyTimeout instead")}if(se!==undefined){throw new ae("unsupported idleTimeout, use keepAliveTimeout instead")}if(le!==undefined){throw new ae("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead")}if(p!=null&&!Number.isFinite(p)){throw new ae("invalid maxHeaderSize")}if(de!=null&&typeof de!=="string"){throw new ae("invalid socketPath")}if(ne!=null&&(!Number.isFinite(ne)||ne<0)){throw new ae("invalid connectTimeout")}if(ce!=null&&(!Number.isFinite(ce)||ce<=0)){throw new ae("invalid keepAliveTimeout")}if(ue!=null&&(!Number.isFinite(ue)||ue<=0)){throw new ae("invalid keepAliveMaxTimeout")}if(Ae!=null&&!Number.isFinite(Ae)){throw new ae("invalid keepAliveTimeoutThreshold")}if(v!=null&&(!Number.isInteger(v)||v<0)){throw new ae("headersTimeout must be a positive integer or zero")}if(ie!=null&&(!Number.isInteger(ie)||ie<0)){throw new ae("bodyTimeout must be a positive integer or zero")}if(be!=null&&typeof be!=="function"&&typeof be!=="object"){throw new ae("connect must be a function or an object")}if(ye!=null&&(!Number.isInteger(ye)||ye<0)){throw new ae("maxRedirections must be a positive number")}if(Ie!=null&&(!Number.isInteger(Ie)||Ie<0)){throw new ae("maxRequestsPerClient must be a positive number")}if(Be!=null&&(typeof Be!=="string"||V.isIP(Be)===0)){throw new ae("localAddress must be valid string IP address")}if(we!=null&&(!Number.isInteger(we)||we<-1)){throw new ae("maxResponseSize must be a positive number")}if(ve!=null&&(!Number.isInteger(ve)||ve<-1)){throw new ae("autoSelectFamilyAttemptTimeout must be a positive number")}if(Re!=null&&typeof Re!=="boolean"){throw new ae("allowH2 must be a valid boolean value")}if(Te!=null&&(typeof Te!=="number"||Te<1)){throw new ae("maxConcurrentStreams must be a possitive integer, greater than 0")}if(typeof be!=="function"){be=me({...fe,maxCachedSessions:ge,allowH2:Re,socketPath:de,timeout:ne,...te.nodeHasAutoSelectFamily&&Se?{autoSelectFamily:Se,autoSelectFamilyAttemptTimeout:ve}:undefined,...be})}this[yt]=d&&d.Client&&Array.isArray(d.Client)?d.Client:[Gt({maxRedirections:ye})];this[Ee]=te.parseOrigin(i);this[$e]=be;this[Ge]=null;this[He]=pe!=null?pe:1;this[je]=p||K.maxHeaderSize;this[Oe]=ce==null?4e3:ce;this[Ve]=ue==null?6e5:ue;this[ze]=Ae==null?1e3:Ae;this[qe]=this[Oe];this[Ce]=null;this[Ct]=Be!=null?Be:null;this[Qe]=0;this[_e]=0;this[Le]=`host: ${this[Ee].hostname}${this[Ee].port?`:${this[Ee].port}`:""}\r\n`;this[We]=ie!=null?ie:3e5;this[Ye]=v!=null?v:3e5;this[Je]=he==null?true:he;this[Ke]=ye;this[Xe]=Ie;this[Mt]=null;this[bt]=we>-1?we:-1;this[It]="h1";this[wt]=null;this[St]=!Re?null:{openStreams:0,maxConcurrentStreams:Te!=null?Te:100};this[Bt]=`${this[Ee].hostname}${this[Ee].port?`:${this[Ee].port}`:""}`;this[ke]=[];this[Me]=0;this[Fe]=0}get pipelining(){return this[He]}set pipelining(i){this[He]=i;resume(this,true)}get[Re](){return this[ke].length-this[Fe]}get[ve](){return this[Fe]-this[Me]}get[Te](){return this[ke].length-this[Me]}get[De](){return!!this[Ge]&&!this[xe]&&!this[Ge].destroyed}get[Ie](){const i=this[Ge];return i&&(i[ye]||i[Ne]||i[Se])||this[Te]>=(this[He]||1)||this[Re]>0}[we](i){connect(this);this.once("connect",i)}[Et](i,d){const p=i.origin||this[Ee].origin;const v=this[It]==="h2"?ne[Qt](p,i,d):ne[Rt](p,i,d);this[ke].push(v);if(this[Qe]){}else if(te.bodyLength(v.body)==null&&te.isIterable(v.body)){this[Qe]=1;process.nextTick(resume,this)}else{resume(this,true)}if(this[Qe]&&this[_e]!==2&&this[Ie]){this[_e]=2}return this[_e]<2}async[At](){return new Promise((i=>{if(!this[Te]){i(null)}else{this[Mt]=i}}))}async[mt](i){return new Promise((d=>{const p=this[ke].splice(this[Fe]);for(let d=0;d{if(this[Mt]){this[Mt]();this[Mt]=null}d()};if(this[wt]!=null){te.destroy(this[wt],i);this[wt]=null;this[St]=null}if(!this[Ge]){queueMicrotask(callback)}else{te.destroy(this[Ge].on("close",callback),i)}resume(this)}))}}function onHttp2SessionError(i){v(i.code!=="ERR_TLS_CERT_ALTNAME_INVALID");this[Ge][Ue]=i;onError(this[be],i)}function onHttp2FrameError(i,d,p){const v=new de(`HTTP/2: "frameError" received - type ${i}, code ${d}`);if(p===0){this[Ge][Ue]=v;onError(this[be],v)}}function onHttp2SessionEnd(){te.destroy(this,new Ae("other side closed"));te.destroy(this[Ge],new Ae("other side closed"))}function onHTTP2GoAway(i){const d=this[be];const p=new de(`HTTP/2: "GOAWAY" frame received with code ${i}`);d[Ge]=null;d[wt]=null;if(d.destroyed){v(this[Re]===0);const i=d[ke].splice(d[Me]);for(let d=0;d0){const i=d[ke][d[Me]];d[ke][d[Me]++]=null;errorRequest(d,i,p)}d[Fe]=d[Me];v(d[ve]===0);d.emit("disconnect",d[Ee],[d],p);resume(d)}const Ht=p(52824);const Gt=p(64415);const qt=Buffer.alloc(0);async function lazyllhttp(){const i=process.env.JEST_WORKER_ID?p(63870):undefined;let d;try{d=await WebAssembly.compile(Buffer.from(p(53434),"base64"))}catch(v){d=await WebAssembly.compile(Buffer.from(i||p(63870),"base64"))}return await WebAssembly.instantiate(d,{env:{wasm_on_url:(i,d,p)=>0,wasm_on_status:(i,d,p)=>{v.strictEqual(zt.ptr,i);const V=d-Jt+Yt.byteOffset;return zt.onStatus(new Ft(Yt.buffer,V,p))||0},wasm_on_message_begin:i=>{v.strictEqual(zt.ptr,i);return zt.onMessageBegin()||0},wasm_on_header_field:(i,d,p)=>{v.strictEqual(zt.ptr,i);const V=d-Jt+Yt.byteOffset;return zt.onHeaderField(new Ft(Yt.buffer,V,p))||0},wasm_on_header_value:(i,d,p)=>{v.strictEqual(zt.ptr,i);const V=d-Jt+Yt.byteOffset;return zt.onHeaderValue(new Ft(Yt.buffer,V,p))||0},wasm_on_headers_complete:(i,d,p,V)=>{v.strictEqual(zt.ptr,i);return zt.onHeadersComplete(d,Boolean(p),Boolean(V))||0},wasm_on_body:(i,d,p)=>{v.strictEqual(zt.ptr,i);const V=d-Jt+Yt.byteOffset;return zt.onBody(new Ft(Yt.buffer,V,p))||0},wasm_on_message_complete:i=>{v.strictEqual(zt.ptr,i);return zt.onMessageComplete()||0}}})}let jt=null;let Vt=lazyllhttp();Vt.catch();let zt=null;let Yt=null;let Wt=0;let Jt=null;const $t=1;const Kt=2;const Xt=3;class Parser{constructor(i,d,{exports:p}){v(Number.isFinite(i[je])&&i[je]>0);this.llhttp=p;this.ptr=this.llhttp.llhttp_alloc(Ht.TYPE.RESPONSE);this.client=i;this.socket=d;this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.statusCode=null;this.statusText="";this.upgrade=false;this.headers=[];this.headersSize=0;this.headersMaxSize=i[je];this.shouldKeepAlive=false;this.paused=false;this.resume=this.resume.bind(this);this.bytesRead=0;this.keepAlive="";this.contentLength="";this.connection="";this.maxResponseSize=i[bt]}setTimeout(i,d){this.timeoutType=d;if(i!==this.timeoutValue){re.clearTimeout(this.timeout);if(i){this.timeout=re.setTimeout(onParserTimeout,i,this);if(this.timeout.unref){this.timeout.unref()}}else{this.timeout=null}this.timeoutValue=i}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}}resume(){if(this.socket.destroyed||!this.paused){return}v(this.ptr!=null);v(zt==null);this.llhttp.llhttp_resume(this.ptr);v(this.timeoutType===Kt);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.paused=false;this.execute(this.socket.read()||qt);this.readMore()}readMore(){while(!this.paused&&this.ptr){const i=this.socket.read();if(i===null){break}this.execute(i)}}execute(i){v(this.ptr!=null);v(zt==null);v(!this.paused);const{socket:d,llhttp:p}=this;if(i.length>Wt){if(Jt){p.free(Jt)}Wt=Math.ceil(i.length/4096)*4096;Jt=p.malloc(Wt)}new Uint8Array(p.memory.buffer,Jt,Wt).set(i);try{let v;try{Yt=i;zt=this;v=p.llhttp_execute(this.ptr,Jt,i.length)}catch(i){throw i}finally{zt=null;Yt=null}const V=p.llhttp_get_error_pos(this.ptr)-Jt;if(v===Ht.ERROR.PAUSED_UPGRADE){this.onUpgrade(i.slice(V))}else if(v===Ht.ERROR.PAUSED){this.paused=true;d.unshift(i.slice(V))}else if(v!==Ht.ERROR.OK){const d=p.llhttp_get_error_reason(this.ptr);let K="";if(d){const i=new Uint8Array(p.memory.buffer,d).indexOf(0);K="Response does not match the HTTP/1.1 protocol ("+Buffer.from(p.memory.buffer,d,i).toString()+")"}throw new fe(K,Ht.ERROR[v],i.slice(V))}}catch(i){te.destroy(d,i)}}destroy(){v(this.ptr!=null);v(zt==null);this.llhttp.llhttp_free(this.ptr);this.ptr=null;re.clearTimeout(this.timeout);this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.paused=false}onStatus(i){this.statusText=i.toString()}onMessageBegin(){const{socket:i,client:d}=this;if(i.destroyed){return-1}const p=d[ke][d[Me]];if(!p){return-1}}onHeaderField(i){const d=this.headers.length;if((d&1)===0){this.headers.push(i)}else{this.headers[d-1]=Buffer.concat([this.headers[d-1],i])}this.trackHeader(i.length)}onHeaderValue(i){let d=this.headers.length;if((d&1)===1){this.headers.push(i);d+=1}else{this.headers[d-1]=Buffer.concat([this.headers[d-1],i])}const p=this.headers[d-2];if(p.length===10&&p.toString().toLowerCase()==="keep-alive"){this.keepAlive+=i.toString()}else if(p.length===10&&p.toString().toLowerCase()==="connection"){this.connection+=i.toString()}else if(p.length===14&&p.toString().toLowerCase()==="content-length"){this.contentLength+=i.toString()}this.trackHeader(i.length)}trackHeader(i){this.headersSize+=i;if(this.headersSize>=this.headersMaxSize){te.destroy(this.socket,new ue)}}onUpgrade(i){const{upgrade:d,client:p,socket:V,headers:K,statusCode:ee}=this;v(d);const re=p[ke][p[Me]];v(re);v(!V.destroyed);v(V===p[Ge]);v(!this.paused);v(re.upgrade||re.method==="CONNECT");this.statusCode=null;this.statusText="";this.shouldKeepAlive=null;v(this.headers.length%2===0);this.headers=[];this.headersSize=0;V.unshift(i);V[Be].destroy();V[Be]=null;V[be]=null;V[Ue]=null;V.removeListener("error",onSocketError).removeListener("readable",onSocketReadable).removeListener("end",onSocketEnd).removeListener("close",onSocketClose);p[Ge]=null;p[ke][p[Me]++]=null;p.emit("disconnect",p[Ee],[p],new de("upgrade"));try{re.onUpgrade(ee,K,V)}catch(i){te.destroy(V,i)}resume(p)}onHeadersComplete(i,d,p){const{client:V,socket:K,headers:ee,statusText:re}=this;if(K.destroyed){return-1}const ne=V[ke][V[Me]];if(!ne){return-1}v(!this.upgrade);v(this.statusCode<200);if(i===100){te.destroy(K,new Ae("bad response",te.getSocketInfo(K)));return-1}if(d&&!ne.upgrade){te.destroy(K,new Ae("bad upgrade",te.getSocketInfo(K)));return-1}v.strictEqual(this.timeoutType,$t);this.statusCode=i;this.shouldKeepAlive=p||ne.method==="HEAD"&&!K[ye]&&this.connection.toLowerCase()==="keep-alive";if(this.statusCode>=200){const i=ne.bodyTimeout!=null?ne.bodyTimeout:V[We];this.setTimeout(i,Kt)}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}if(ne.method==="CONNECT"){v(V[ve]===1);this.upgrade=true;return 2}if(d){v(V[ve]===1);this.upgrade=true;return 2}v(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(this.shouldKeepAlive&&V[He]){const i=this.keepAlive?te.parseKeepAliveTimeout(this.keepAlive):null;if(i!=null){const d=Math.min(i-V[ze],V[Ve]);if(d<=0){K[ye]=true}else{V[qe]=d}}else{V[qe]=V[Oe]}}else{K[ye]=true}const ie=ne.onHeaders(i,ee,this.resume,re)===false;if(ne.aborted){return-1}if(ne.method==="HEAD"){return 1}if(i<200){return 1}if(K[Se]){K[Se]=false;resume(V)}return ie?Ht.ERROR.PAUSED:0}onBody(i){const{client:d,socket:p,statusCode:V,maxResponseSize:K}=this;if(p.destroyed){return-1}const ee=d[ke][d[Me]];v(ee);v.strictEqual(this.timeoutType,Kt);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}v(V>=200);if(K>-1&&this.bytesRead+i.length>K){te.destroy(p,new he);return-1}this.bytesRead+=i.length;if(ee.onData(i)===false){return Ht.ERROR.PAUSED}}onMessageComplete(){const{client:i,socket:d,statusCode:p,upgrade:V,headers:K,contentLength:ee,bytesRead:re,shouldKeepAlive:ne}=this;if(d.destroyed&&(!p||ne)){return-1}if(V){return}const ie=i[ke][i[Me]];v(ie);v(p>=100);this.statusCode=null;this.statusText="";this.bytesRead=0;this.contentLength="";this.keepAlive="";this.connection="";v(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(p<200){return}if(ie.method!=="HEAD"&&ee&&re!==parseInt(ee,10)){te.destroy(d,new oe);return-1}ie.onComplete(K);i[ke][i[Me]++]=null;if(d[Ne]){v.strictEqual(i[ve],0);te.destroy(d,new de("reset"));return Ht.ERROR.PAUSED}else if(!ne){te.destroy(d,new de("reset"));return Ht.ERROR.PAUSED}else if(d[ye]&&i[ve]===0){te.destroy(d,new de("reset"));return Ht.ERROR.PAUSED}else if(i[He]===1){setImmediate(resume,i)}else{resume(i)}}}function onParserTimeout(i){const{socket:d,timeoutType:p,client:V}=i;if(p===$t){if(!d[Ne]||d.writableNeedDrain||V[ve]>1){v(!i.paused,"cannot be paused while waiting for headers");te.destroy(d,new le)}}else if(p===Kt){if(!i.paused){te.destroy(d,new pe)}}else if(p===Xt){v(V[ve]===0&&V[qe]);te.destroy(d,new de("socket idle timeout"))}}function onSocketReadable(){const{[Be]:i}=this;if(i){i.readMore()}}function onSocketError(i){const{[be]:d,[Be]:p}=this;v(i.code!=="ERR_TLS_CERT_ALTNAME_INVALID");if(d[It]!=="h2"){if(i.code==="ECONNRESET"&&p.statusCode&&!p.shouldKeepAlive){p.onMessageComplete();return}}this[Ue]=i;onError(this[be],i)}function onError(i,d){if(i[ve]===0&&d.code!=="UND_ERR_INFO"&&d.code!=="UND_ERR_SOCKET"){v(i[Fe]===i[Me]);const p=i[ke].splice(i[Me]);for(let v=0;v0&&p.code!=="UND_ERR_INFO"){const d=i[ke][i[Me]];i[ke][i[Me]++]=null;errorRequest(i,d,p)}i[Fe]=i[Me];v(i[ve]===0);i.emit("disconnect",i[Ee],[i],p);resume(i)}async function connect(i){v(!i[xe]);v(!i[Ge]);let{host:d,hostname:p,protocol:K,port:ee}=i[Ee];if(p[0]==="["){const i=p.indexOf("]");v(i!==-1);const d=p.substring(1,i);v(V.isIP(d));p=d}i[xe]=true;if(Ut.beforeConnect.hasSubscribers){Ut.beforeConnect.publish({connectParams:{host:d,hostname:p,protocol:K,port:ee,servername:i[Ce],localAddress:i[Ct]},connector:i[$e]})}try{const V=await new Promise(((v,V)=>{i[$e]({host:d,hostname:p,protocol:K,port:ee,servername:i[Ce],localAddress:i[Ct]},((i,d)=>{if(i){V(i)}else{v(d)}}))}));if(i.destroyed){te.destroy(V.on("error",(()=>{})),new ge);return}i[xe]=false;v(V);const re=V.alpnProtocol==="h2";if(re){if(!Lt){Lt=true;process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"})}const d=Tt.connect(i[Ee],{createConnection:()=>V,peerMaxConcurrentStreams:i[St].maxConcurrentStreams});i[It]="h2";d[be]=i;d[Ge]=V;d.on("error",onHttp2SessionError);d.on("frameError",onHttp2FrameError);d.on("end",onHttp2SessionEnd);d.on("goaway",onHTTP2GoAway);d.on("close",onSocketClose);d.unref();i[wt]=d;V[wt]=d}else{if(!jt){jt=await Vt;Vt=null}V[Pe]=false;V[Ne]=false;V[ye]=false;V[Se]=false;V[Be]=new Parser(i,V,jt)}V[Ze]=0;V[Xe]=i[Xe];V[be]=i;V[Ue]=null;V.on("error",onSocketError).on("readable",onSocketReadable).on("end",onSocketEnd).on("close",onSocketClose);i[Ge]=V;if(Ut.connected.hasSubscribers){Ut.connected.publish({connectParams:{host:d,hostname:p,protocol:K,port:ee,servername:i[Ce],localAddress:i[Ct]},connector:i[$e],socket:V})}i.emit("connect",i[Ee],[i])}catch(V){if(i.destroyed){return}i[xe]=false;if(Ut.connectError.hasSubscribers){Ut.connectError.publish({connectParams:{host:d,hostname:p,protocol:K,port:ee,servername:i[Ce],localAddress:i[Ct]},connector:i[$e],error:V})}if(V.code==="ERR_TLS_CERT_ALTNAME_INVALID"){v(i[ve]===0);while(i[Re]>0&&i[ke][i[Fe]].servername===i[Ce]){const d=i[ke][i[Fe]++];errorRequest(i,d,V)}}else{onError(i,V)}i.emit("connectionError",i[Ee],[i],V)}resume(i)}function emitDrain(i){i[_e]=0;i.emit("drain",i[Ee],[i])}function resume(i,d){if(i[Qe]===2){return}i[Qe]=2;_resume(i,d);i[Qe]=0;if(i[Me]>256){i[ke].splice(0,i[Me]);i[Fe]-=i[Me];i[Me]=0}}function _resume(i,d){while(true){if(i.destroyed){v(i[Re]===0);return}if(i[Mt]&&!i[Te]){i[Mt]();i[Mt]=null;return}const p=i[Ge];if(p&&!p.destroyed&&p.alpnProtocol!=="h2"){if(i[Te]===0){if(!p[Pe]&&p.unref){p.unref();p[Pe]=true}}else if(p[Pe]&&p.ref){p.ref();p[Pe]=false}if(i[Te]===0){if(p[Be].timeoutType!==Xt){p[Be].setTimeout(i[qe],Xt)}}else if(i[ve]>0&&p[Be].statusCode<200){if(p[Be].timeoutType!==$t){const d=i[ke][i[Me]];const v=d.headersTimeout!=null?d.headersTimeout:i[Ye];p[Be].setTimeout(v,$t)}}}if(i[Ie]){i[_e]=2}else if(i[_e]===2){if(d){i[_e]=1;process.nextTick(emitDrain,i)}else{emitDrain(i)}continue}if(i[Re]===0){return}if(i[ve]>=(i[He]||1)){return}const V=i[ke][i[Fe]];if(i[Ee].protocol==="https:"&&i[Ce]!==V.servername){if(i[ve]>0){return}i[Ce]=V.servername;if(p&&p.servername!==V.servername){te.destroy(p,new de("servername changed"));return}}if(i[xe]){return}if(!p&&!i[wt]){connect(i);return}if(p.destroyed||p[Ne]||p[ye]||p[Se]){return}if(i[ve]>0&&!V.idempotent){return}if(i[ve]>0&&(V.upgrade||V.method==="CONNECT")){return}if(i[ve]>0&&te.bodyLength(V.body)!==0&&(te.isStream(V.body)||te.isAsyncIterable(V.body))){return}if(!V.aborted&&write(i,V)){i[Fe]++}else{i[ke].splice(i[Fe],1)}}}function shouldSendContentLength(i){return i!=="GET"&&i!=="HEAD"&&i!=="OPTIONS"&&i!=="TRACE"&&i!=="CONNECT"}function write(i,d){if(i[It]==="h2"){writeH2(i,i[wt],d);return}const{body:p,method:V,path:K,host:ee,upgrade:re,headers:ne,blocking:ie,reset:oe}=d;const ae=V==="PUT"||V==="POST"||V==="PATCH";if(p&&typeof p.read==="function"){p.read(0)}const le=te.bodyLength(p);let ue=le;if(ue===null){ue=d.contentLength}if(ue===0&&!ae){ue=null}if(shouldSendContentLength(V)&&ue>0&&d.contentLength!==null&&d.contentLength!==ue){if(i[Je]){errorRequest(i,d,new se);return false}process.emitWarning(new se)}const Ae=i[Ge];try{d.onConnect((p=>{if(d.aborted||d.completed){return}errorRequest(i,d,p||new ce);te.destroy(Ae,new de("aborted"))}))}catch(p){errorRequest(i,d,p)}if(d.aborted){return false}if(V==="HEAD"){Ae[ye]=true}if(re||V==="CONNECT"){Ae[ye]=true}if(oe!=null){Ae[ye]=oe}if(i[Xe]&&Ae[Ze]++>=i[Xe]){Ae[ye]=true}if(ie){Ae[Se]=true}let pe=`${V} ${K} HTTP/1.1\r\n`;if(typeof ee==="string"){pe+=`host: ${ee}\r\n`}else{pe+=i[Le]}if(re){pe+=`connection: upgrade\r\nupgrade: ${re}\r\n`}else if(i[He]&&!Ae[ye]){pe+="connection: keep-alive\r\n"}else{pe+="connection: close\r\n"}if(ne){pe+=ne}if(Ut.sendHeaders.hasSubscribers){Ut.sendHeaders.publish({request:d,headers:pe,socket:Ae})}if(!p||le===0){if(ue===0){Ae.write(`${pe}content-length: 0\r\n\r\n`,"latin1")}else{v(ue===null,"no body must not have content length");Ae.write(`${pe}\r\n`,"latin1")}d.onRequestSent()}else if(te.isBuffer(p)){v(ue===p.byteLength,"buffer body must have content length");Ae.cork();Ae.write(`${pe}content-length: ${ue}\r\n\r\n`,"latin1");Ae.write(p);Ae.uncork();d.onBodySent(p);d.onRequestSent();if(!ae){Ae[ye]=true}}else if(te.isBlobLike(p)){if(typeof p.stream==="function"){writeIterable({body:p.stream(),client:i,request:d,socket:Ae,contentLength:ue,header:pe,expectsPayload:ae})}else{writeBlob({body:p,client:i,request:d,socket:Ae,contentLength:ue,header:pe,expectsPayload:ae})}}else if(te.isStream(p)){writeStream({body:p,client:i,request:d,socket:Ae,contentLength:ue,header:pe,expectsPayload:ae})}else if(te.isIterable(p)){writeIterable({body:p,client:i,request:d,socket:Ae,contentLength:ue,header:pe,expectsPayload:ae})}else{v(false)}return true}function writeH2(i,d,p){const{body:V,method:K,path:ee,host:re,upgrade:ie,expectContinue:oe,signal:ae,headers:le}=p;let ue;if(typeof le==="string")ue=ne[vt](le.trim());else ue=le;if(ie){errorRequest(i,p,new Error("Upgrade not supported for H2"));return false}try{p.onConnect((d=>{if(p.aborted||p.completed){return}errorRequest(i,p,d||new ce)}))}catch(d){errorRequest(i,p,d)}if(p.aborted){return false}let Ae;const pe=i[St];ue[Nt]=re||i[Bt];ue[kt]=K;if(K==="CONNECT"){d.ref();Ae=d.request(ue,{endStream:false,signal:ae});if(Ae.id&&!Ae.pending){p.onUpgrade(null,null,Ae);++pe.openStreams}else{Ae.once("ready",(()=>{p.onUpgrade(null,null,Ae);++pe.openStreams}))}Ae.once("close",(()=>{pe.openStreams-=1;if(pe.openStreams===0)d.unref()}));return true}ue[Dt]=ee;ue[xt]="https";const fe=K==="PUT"||K==="POST"||K==="PATCH";if(V&&typeof V.read==="function"){V.read(0)}let he=te.bodyLength(V);if(he==null){he=p.contentLength}if(he===0||!fe){he=null}if(shouldSendContentLength(K)&&he>0&&p.contentLength!=null&&p.contentLength!==he){if(i[Je]){errorRequest(i,p,new se);return false}process.emitWarning(new se)}if(he!=null){v(V,"no body must not have content length");ue[_t]=`${he}`}d.ref();const ge=K==="GET"||K==="HEAD";if(oe){ue[Pt]="100-continue";Ae=d.request(ue,{endStream:ge,signal:ae});Ae.once("continue",writeBodyH2)}else{Ae=d.request(ue,{endStream:ge,signal:ae});writeBodyH2()}++pe.openStreams;Ae.once("response",(i=>{const{[Ot]:d,...v}=i;if(p.onHeaders(Number(d),v,Ae.resume.bind(Ae),"")===false){Ae.pause()}}));Ae.once("end",(()=>{p.onComplete([])}));Ae.on("data",(i=>{if(p.onData(i)===false){Ae.pause()}}));Ae.once("close",(()=>{pe.openStreams-=1;if(pe.openStreams===0){d.unref()}}));Ae.once("error",(function(d){if(i[wt]&&!i[wt].destroyed&&!this.closed&&!this.destroyed){pe.streams-=1;te.destroy(Ae,d)}}));Ae.once("frameError",((d,v)=>{const V=new de(`HTTP/2: "frameError" received - type ${d}, code ${v}`);errorRequest(i,p,V);if(i[wt]&&!i[wt].destroyed&&!this.closed&&!this.destroyed){pe.streams-=1;te.destroy(Ae,V)}}));return true;function writeBodyH2(){if(!V){p.onRequestSent()}else if(te.isBuffer(V)){v(he===V.byteLength,"buffer body must have content length");Ae.cork();Ae.write(V);Ae.uncork();Ae.end();p.onBodySent(V);p.onRequestSent()}else if(te.isBlobLike(V)){if(typeof V.stream==="function"){writeIterable({client:i,request:p,contentLength:he,h2stream:Ae,expectsPayload:fe,body:V.stream(),socket:i[Ge],header:""})}else{writeBlob({body:V,client:i,request:p,contentLength:he,expectsPayload:fe,h2stream:Ae,header:"",socket:i[Ge]})}}else if(te.isStream(V)){writeStream({body:V,client:i,request:p,contentLength:he,expectsPayload:fe,socket:i[Ge],h2stream:Ae,header:""})}else if(te.isIterable(V)){writeIterable({body:V,client:i,request:p,contentLength:he,expectsPayload:fe,header:"",h2stream:Ae,socket:i[Ge]})}else{v(false)}}}function writeStream({h2stream:i,body:d,client:p,request:V,socket:K,contentLength:re,header:ne,expectsPayload:ie}){v(re!==0||p[ve]===0,"stream body cannot be pipelined");if(p[It]==="h2"){const ae=ee(d,i,(p=>{if(p){te.destroy(d,p);te.destroy(i,p)}else{V.onRequestSent()}}));ae.on("data",onPipeData);ae.once("end",(()=>{ae.removeListener("data",onPipeData);te.destroy(ae)}));function onPipeData(i){V.onBodySent(i)}return}let se=false;const oe=new AsyncWriter({socket:K,request:V,contentLength:re,client:p,expectsPayload:ie,header:ne});const onData=function(i){if(se){return}try{if(!oe.write(i)&&this.pause){this.pause()}}catch(i){te.destroy(this,i)}};const onDrain=function(){if(se){return}if(d.resume){d.resume()}};const onAbort=function(){if(se){return}const i=new ce;queueMicrotask((()=>onFinished(i)))};const onFinished=function(i){if(se){return}se=true;v(K.destroyed||K[Ne]&&p[ve]<=1);K.off("drain",onDrain).off("error",onFinished);d.removeListener("data",onData).removeListener("end",onFinished).removeListener("error",onFinished).removeListener("close",onAbort);if(!i){try{oe.end()}catch(d){i=d}}oe.destroy(i);if(i&&(i.code!=="UND_ERR_INFO"||i.message!=="reset")){te.destroy(d,i)}else{te.destroy(d)}};d.on("data",onData).on("end",onFinished).on("error",onFinished).on("close",onAbort);if(d.resume){d.resume()}K.on("drain",onDrain).on("error",onFinished)}async function writeBlob({h2stream:i,body:d,client:p,request:V,socket:K,contentLength:ee,header:re,expectsPayload:ne}){v(ee===d.size,"blob body must have content length");const ie=p[It]==="h2";try{if(ee!=null&&ee!==d.size){throw new se}const v=Buffer.from(await d.arrayBuffer());if(ie){i.cork();i.write(v);i.uncork()}else{K.cork();K.write(`${re}content-length: ${ee}\r\n\r\n`,"latin1");K.write(v);K.uncork()}V.onBodySent(v);V.onRequestSent();if(!ne){K[ye]=true}resume(p)}catch(d){te.destroy(ie?i:K,d)}}async function writeIterable({h2stream:i,body:d,client:p,request:V,socket:K,contentLength:ee,header:te,expectsPayload:re}){v(ee!==0||p[ve]===0,"iterator body cannot be pipelined");let ne=null;function onDrain(){if(ne){const i=ne;ne=null;i()}}const waitForDrain=()=>new Promise(((i,d)=>{v(ne===null);if(K[Ue]){d(K[Ue])}else{ne=i}}));if(p[It]==="h2"){i.on("close",onDrain).on("drain",onDrain);try{for await(const p of d){if(K[Ue]){throw K[Ue]}const d=i.write(p);V.onBodySent(p);if(!d){await waitForDrain()}}}catch(d){i.destroy(d)}finally{V.onRequestSent();i.end();i.off("close",onDrain).off("drain",onDrain)}return}K.on("close",onDrain).on("drain",onDrain);const ie=new AsyncWriter({socket:K,request:V,contentLength:ee,client:p,expectsPayload:re,header:te});try{for await(const i of d){if(K[Ue]){throw K[Ue]}if(!ie.write(i)){await waitForDrain()}}ie.end()}catch(i){ie.destroy(i)}finally{K.off("close",onDrain).off("drain",onDrain)}}class AsyncWriter{constructor({socket:i,request:d,contentLength:p,client:v,expectsPayload:V,header:K}){this.socket=i;this.request=d;this.contentLength=p;this.client=v;this.bytesWritten=0;this.expectsPayload=V;this.header=K;i[Ne]=true}write(i){const{socket:d,request:p,contentLength:v,client:V,bytesWritten:K,expectsPayload:ee,header:te}=this;if(d[Ue]){throw d[Ue]}if(d.destroyed){return false}const re=Buffer.byteLength(i);if(!re){return true}if(v!==null&&K+re>v){if(V[Je]){throw new se}process.emitWarning(new se)}d.cork();if(K===0){if(!ee){d[ye]=true}if(v===null){d.write(`${te}transfer-encoding: chunked\r\n`,"latin1")}else{d.write(`${te}content-length: ${v}\r\n\r\n`,"latin1")}}if(v===null){d.write(`\r\n${re.toString(16)}\r\n`,"latin1")}this.bytesWritten+=re;const ne=d.write(i);d.uncork();p.onBodySent(i);if(!ne){if(d[Be].timeout&&d[Be].timeoutType===$t){if(d[Be].timeout.refresh){d[Be].timeout.refresh()}}}return ne}end(){const{socket:i,contentLength:d,client:p,bytesWritten:v,expectsPayload:V,header:K,request:ee}=this;ee.onRequestSent();i[Ne]=false;if(i[Ue]){throw i[Ue]}if(i.destroyed){return}if(v===0){if(V){i.write(`${K}content-length: 0\r\n\r\n`,"latin1")}else{i.write(`${K}\r\n`,"latin1")}}else if(d===null){i.write("\r\n0\r\n\r\n","latin1")}if(d!==null&&v!==d){if(p[Je]){throw new se}else{process.emitWarning(new se)}}if(i[Be].timeout&&i[Be].timeoutType===$t){if(i[Be].timeout.refresh){i[Be].timeout.refresh()}}resume(p)}destroy(i){const{socket:d,client:p}=this;d[Ne]=false;if(i){v(p[ve]<=1,"pipeline should only contain this request");te.destroy(d,i)}}}function errorRequest(i,d,p){try{d.onError(p);v(d.aborted)}catch(p){i.emit("error",p)}}i.exports=Client},13194:(i,d,p)=>{const{kConnected:v,kSize:V}=p(36443);class CompatWeakRef{constructor(i){this.value=i}deref(){return this.value[v]===0&&this.value[V]===0?undefined:this.value}}class CompatFinalizer{constructor(i){this.finalizer=i}register(i,d){if(i.on){i.on("disconnect",(()=>{if(i[v]===0&&i[V]===0){this.finalizer(d)}}))}}}i.exports=function(){if(process.env.NODE_V8_COVERAGE){return{WeakRef:CompatWeakRef,FinalizationRegistry:CompatFinalizer}}return{WeakRef:global.WeakRef||CompatWeakRef,FinalizationRegistry:global.FinalizationRegistry||CompatFinalizer}}},19237:i=>{const d=1024;const p=4096;i.exports={maxAttributeValueSize:d,maxNameValuePairSize:p}},53168:(i,d,p)=>{const{parseSetCookie:v}=p(8915);const{stringify:V}=p(3834);const{webidl:K}=p(74222);const{Headers:ee}=p(26349);function getCookies(i){K.argumentLengthCheck(arguments,1,{header:"getCookies"});K.brandCheck(i,ee,{strict:false});const d=i.get("cookie");const p={};if(!d){return p}for(const i of d.split(";")){const[d,...v]=i.split("=");p[d.trim()]=v.join("=")}return p}function deleteCookie(i,d,p){K.argumentLengthCheck(arguments,2,{header:"deleteCookie"});K.brandCheck(i,ee,{strict:false});d=K.converters.DOMString(d);p=K.converters.DeleteCookieAttributes(p);setCookie(i,{name:d,value:"",expires:new Date(0),...p})}function getSetCookies(i){K.argumentLengthCheck(arguments,1,{header:"getSetCookies"});K.brandCheck(i,ee,{strict:false});const d=i.getSetCookie();if(!d){return[]}return d.map((i=>v(i)))}function setCookie(i,d){K.argumentLengthCheck(arguments,2,{header:"setCookie"});K.brandCheck(i,ee,{strict:false});d=K.converters.Cookie(d);const p=V(d);if(p){i.append("Set-Cookie",V(d))}}K.converters.DeleteCookieAttributes=K.dictionaryConverter([{converter:K.nullableConverter(K.converters.DOMString),key:"path",defaultValue:null},{converter:K.nullableConverter(K.converters.DOMString),key:"domain",defaultValue:null}]);K.converters.Cookie=K.dictionaryConverter([{converter:K.converters.DOMString,key:"name"},{converter:K.converters.DOMString,key:"value"},{converter:K.nullableConverter((i=>{if(typeof i==="number"){return K.converters["unsigned long long"](i)}return new Date(i)})),key:"expires",defaultValue:null},{converter:K.nullableConverter(K.converters["long long"]),key:"maxAge",defaultValue:null},{converter:K.nullableConverter(K.converters.DOMString),key:"domain",defaultValue:null},{converter:K.nullableConverter(K.converters.DOMString),key:"path",defaultValue:null},{converter:K.nullableConverter(K.converters.boolean),key:"secure",defaultValue:null},{converter:K.nullableConverter(K.converters.boolean),key:"httpOnly",defaultValue:null},{converter:K.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:K.sequenceConverter(K.converters.DOMString),key:"unparsed",defaultValue:[]}]);i.exports={getCookies:getCookies,deleteCookie:deleteCookie,getSetCookies:getSetCookies,setCookie:setCookie}},8915:(i,d,p)=>{const{maxNameValuePairSize:v,maxAttributeValueSize:V}=p(19237);const{isCTLExcludingHtab:K}=p(3834);const{collectASequenceOfCodePointsFast:ee}=p(94322);const te=p(42613);function parseSetCookie(i){if(K(i)){return null}let d="";let p="";let V="";let te="";if(i.includes(";")){const v={position:0};d=ee(";",i,v);p=i.slice(v.position)}else{d=i}if(!d.includes("=")){te=d}else{const i={position:0};V=ee("=",d,i);te=d.slice(i.position+1)}V=V.trim();te=te.trim();if(V.length+te.length>v){return null}return{name:V,value:te,...parseUnparsedAttributes(p)}}function parseUnparsedAttributes(i,d={}){if(i.length===0){return d}te(i[0]===";");i=i.slice(1);let p="";if(i.includes(";")){p=ee(";",i,{position:0});i=i.slice(p.length)}else{p=i;i=""}let v="";let K="";if(p.includes("=")){const i={position:0};v=ee("=",p,i);K=p.slice(i.position+1)}else{v=p}v=v.trim();K=K.trim();if(K.length>V){return parseUnparsedAttributes(i,d)}const re=v.toLowerCase();if(re==="expires"){const i=new Date(K);d.expires=i}else if(re==="max-age"){const p=K.charCodeAt(0);if((p<48||p>57)&&K[0]!=="-"){return parseUnparsedAttributes(i,d)}if(!/^\d+$/.test(K)){return parseUnparsedAttributes(i,d)}const v=Number(K);d.maxAge=v}else if(re==="domain"){let i=K;if(i[0]==="."){i=i.slice(1)}i=i.toLowerCase();d.domain=i}else if(re==="path"){let i="";if(K.length===0||K[0]!=="/"){i="/"}else{i=K}d.path=i}else if(re==="secure"){d.secure=true}else if(re==="httponly"){d.httpOnly=true}else if(re==="samesite"){let i="Default";const p=K.toLowerCase();if(p.includes("none")){i="None"}if(p.includes("strict")){i="Strict"}if(p.includes("lax")){i="Lax"}d.sameSite=i}else{d.unparsed??=[];d.unparsed.push(`${v}=${K}`)}return parseUnparsedAttributes(i,d)}i.exports={parseSetCookie:parseSetCookie,parseUnparsedAttributes:parseUnparsedAttributes}},3834:i=>{function isCTLExcludingHtab(i){if(i.length===0){return false}for(const d of i){const i=d.charCodeAt(0);if(i>=0||i<=8||(i>=10||i<=31)||i===127){return false}}}function validateCookieName(i){for(const d of i){const i=d.charCodeAt(0);if(i<=32||i>127||d==="("||d===")"||d===">"||d==="<"||d==="@"||d===","||d===";"||d===":"||d==="\\"||d==='"'||d==="/"||d==="["||d==="]"||d==="?"||d==="="||d==="{"||d==="}"){throw new Error("Invalid cookie name")}}}function validateCookieValue(i){for(const d of i){const i=d.charCodeAt(0);if(i<33||i===34||i===44||i===59||i===92||i>126){throw new Error("Invalid header value")}}}function validateCookiePath(i){for(const d of i){const i=d.charCodeAt(0);if(i<33||d===";"){throw new Error("Invalid cookie path")}}}function validateCookieDomain(i){if(i.startsWith("-")||i.endsWith(".")||i.endsWith("-")){throw new Error("Invalid cookie domain")}}function toIMFDate(i){if(typeof i==="number"){i=new Date(i)}const d=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];const p=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];const v=d[i.getUTCDay()];const V=i.getUTCDate().toString().padStart(2,"0");const K=p[i.getUTCMonth()];const ee=i.getUTCFullYear();const te=i.getUTCHours().toString().padStart(2,"0");const re=i.getUTCMinutes().toString().padStart(2,"0");const ne=i.getUTCSeconds().toString().padStart(2,"0");return`${v}, ${V} ${K} ${ee} ${te}:${re}:${ne} GMT`}function validateCookieMaxAge(i){if(i<0){throw new Error("Invalid cookie max-age")}}function stringify(i){if(i.name.length===0){return null}validateCookieName(i.name);validateCookieValue(i.value);const d=[`${i.name}=${i.value}`];if(i.name.startsWith("__Secure-")){i.secure=true}if(i.name.startsWith("__Host-")){i.secure=true;i.domain=null;i.path="/"}if(i.secure){d.push("Secure")}if(i.httpOnly){d.push("HttpOnly")}if(typeof i.maxAge==="number"){validateCookieMaxAge(i.maxAge);d.push(`Max-Age=${i.maxAge}`)}if(i.domain){validateCookieDomain(i.domain);d.push(`Domain=${i.domain}`)}if(i.path){validateCookiePath(i.path);d.push(`Path=${i.path}`)}if(i.expires&&i.expires.toString()!=="Invalid Date"){d.push(`Expires=${toIMFDate(i.expires)}`)}if(i.sameSite){d.push(`SameSite=${i.sameSite}`)}for(const p of i.unparsed){if(!p.includes("=")){throw new Error("Invalid unparsed")}const[i,...v]=p.split("=");d.push(`${i.trim()}=${v.join("=")}`)}return d.join("; ")}i.exports={isCTLExcludingHtab:isCTLExcludingHtab,validateCookieName:validateCookieName,validateCookiePath:validateCookiePath,validateCookieValue:validateCookieValue,toIMFDate:toIMFDate,stringify:stringify}},59136:(i,d,p)=>{const v=p(69278);const V=p(42613);const K=p(3440);const{InvalidArgumentError:ee,ConnectTimeoutError:te}=p(68707);let re;let ne;if(global.FinalizationRegistry&&!process.env.NODE_V8_COVERAGE){ne=class WeakSessionCache{constructor(i){this._maxCachedSessions=i;this._sessionCache=new Map;this._sessionRegistry=new global.FinalizationRegistry((i=>{if(this._sessionCache.size=this._maxCachedSessions){const{value:i}=this._sessionCache.keys().next();this._sessionCache.delete(i)}this._sessionCache.set(i,d)}}}function buildConnector({allowH2:i,maxCachedSessions:d,socketPath:te,timeout:ie,...se}){if(d!=null&&(!Number.isInteger(d)||d<0)){throw new ee("maxCachedSessions must be a positive integer or zero")}const oe={path:te,...se};const ae=new ne(d==null?100:d);ie=ie==null?1e4:ie;i=i!=null?i:false;return function connect({hostname:d,host:ee,protocol:te,port:ne,servername:se,localAddress:ce,httpSocket:le},ue){let Ae;if(te==="https:"){if(!re){re=p(64756)}se=se||oe.servername||K.getServerName(ee)||null;const v=se||d;const te=ae.get(v)||null;V(v);Ae=re.connect({highWaterMark:16384,...oe,servername:se,session:te,localAddress:ce,ALPNProtocols:i?["http/1.1","h2"]:["http/1.1"],socket:le,port:ne||443,host:d});Ae.on("session",(function(i){ae.set(v,i)}))}else{V(!le,"httpSocket can only be sent on TLS update");Ae=v.connect({highWaterMark:64*1024,...oe,localAddress:ce,port:ne||80,host:d})}if(oe.keepAlive==null||oe.keepAlive){const i=oe.keepAliveInitialDelay===undefined?6e4:oe.keepAliveInitialDelay;Ae.setKeepAlive(true,i)}const de=setupTimeout((()=>onConnectTimeout(Ae)),ie);Ae.setNoDelay(true).once(te==="https:"?"secureConnect":"connect",(function(){de();if(ue){const i=ue;ue=null;i(null,this)}})).on("error",(function(i){de();if(ue){const d=ue;ue=null;d(i)}}));return Ae}}function setupTimeout(i,d){if(!d){return()=>{}}let p=null;let v=null;const V=setTimeout((()=>{p=setImmediate((()=>{if(process.platform==="win32"){v=setImmediate((()=>i()))}else{i()}}))}),d);return()=>{clearTimeout(V);clearImmediate(p);clearImmediate(v)}}function onConnectTimeout(i){K.destroy(i,new te)}i.exports=buildConnector},10735:i=>{const d={};const p=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"];for(let i=0;i{class UndiciError extends Error{constructor(i){super(i);this.name="UndiciError";this.code="UND_ERR"}}class ConnectTimeoutError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,ConnectTimeoutError);this.name="ConnectTimeoutError";this.message=i||"Connect Timeout Error";this.code="UND_ERR_CONNECT_TIMEOUT"}}class HeadersTimeoutError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,HeadersTimeoutError);this.name="HeadersTimeoutError";this.message=i||"Headers Timeout Error";this.code="UND_ERR_HEADERS_TIMEOUT"}}class HeadersOverflowError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,HeadersOverflowError);this.name="HeadersOverflowError";this.message=i||"Headers Overflow Error";this.code="UND_ERR_HEADERS_OVERFLOW"}}class BodyTimeoutError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,BodyTimeoutError);this.name="BodyTimeoutError";this.message=i||"Body Timeout Error";this.code="UND_ERR_BODY_TIMEOUT"}}class ResponseStatusCodeError extends UndiciError{constructor(i,d,p,v){super(i);Error.captureStackTrace(this,ResponseStatusCodeError);this.name="ResponseStatusCodeError";this.message=i||"Response Status Code Error";this.code="UND_ERR_RESPONSE_STATUS_CODE";this.body=v;this.status=d;this.statusCode=d;this.headers=p}}class InvalidArgumentError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,InvalidArgumentError);this.name="InvalidArgumentError";this.message=i||"Invalid Argument Error";this.code="UND_ERR_INVALID_ARG"}}class InvalidReturnValueError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,InvalidReturnValueError);this.name="InvalidReturnValueError";this.message=i||"Invalid Return Value Error";this.code="UND_ERR_INVALID_RETURN_VALUE"}}class RequestAbortedError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,RequestAbortedError);this.name="AbortError";this.message=i||"Request aborted";this.code="UND_ERR_ABORTED"}}class InformationalError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,InformationalError);this.name="InformationalError";this.message=i||"Request information";this.code="UND_ERR_INFO"}}class RequestContentLengthMismatchError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,RequestContentLengthMismatchError);this.name="RequestContentLengthMismatchError";this.message=i||"Request body length does not match content-length header";this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}}class ResponseContentLengthMismatchError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,ResponseContentLengthMismatchError);this.name="ResponseContentLengthMismatchError";this.message=i||"Response body length does not match content-length header";this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}}class ClientDestroyedError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,ClientDestroyedError);this.name="ClientDestroyedError";this.message=i||"The client is destroyed";this.code="UND_ERR_DESTROYED"}}class ClientClosedError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,ClientClosedError);this.name="ClientClosedError";this.message=i||"The client is closed";this.code="UND_ERR_CLOSED"}}class SocketError extends UndiciError{constructor(i,d){super(i);Error.captureStackTrace(this,SocketError);this.name="SocketError";this.message=i||"Socket error";this.code="UND_ERR_SOCKET";this.socket=d}}class NotSupportedError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,NotSupportedError);this.name="NotSupportedError";this.message=i||"Not supported error";this.code="UND_ERR_NOT_SUPPORTED"}}class BalancedPoolMissingUpstreamError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,NotSupportedError);this.name="MissingUpstreamError";this.message=i||"No upstream has been added to the BalancedPool";this.code="UND_ERR_BPL_MISSING_UPSTREAM"}}class HTTPParserError extends Error{constructor(i,d,p){super(i);Error.captureStackTrace(this,HTTPParserError);this.name="HTTPParserError";this.code=d?`HPE_${d}`:undefined;this.data=p?p.toString():undefined}}class ResponseExceededMaxSizeError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,ResponseExceededMaxSizeError);this.name="ResponseExceededMaxSizeError";this.message=i||"Response content exceeded max size";this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}}class RequestRetryError extends UndiciError{constructor(i,d,{headers:p,data:v}){super(i);Error.captureStackTrace(this,RequestRetryError);this.name="RequestRetryError";this.message=i||"Request retry error";this.code="UND_ERR_REQ_RETRY";this.statusCode=d;this.data=v;this.headers=p}}i.exports={HTTPParserError:HTTPParserError,UndiciError:UndiciError,HeadersTimeoutError:HeadersTimeoutError,HeadersOverflowError:HeadersOverflowError,BodyTimeoutError:BodyTimeoutError,RequestContentLengthMismatchError:RequestContentLengthMismatchError,ConnectTimeoutError:ConnectTimeoutError,ResponseStatusCodeError:ResponseStatusCodeError,InvalidArgumentError:InvalidArgumentError,InvalidReturnValueError:InvalidReturnValueError,RequestAbortedError:RequestAbortedError,ClientDestroyedError:ClientDestroyedError,ClientClosedError:ClientClosedError,InformationalError:InformationalError,SocketError:SocketError,NotSupportedError:NotSupportedError,ResponseContentLengthMismatchError:ResponseContentLengthMismatchError,BalancedPoolMissingUpstreamError:BalancedPoolMissingUpstreamError,ResponseExceededMaxSizeError:ResponseExceededMaxSizeError,RequestRetryError:RequestRetryError}},44655:(i,d,p)=>{const{InvalidArgumentError:v,NotSupportedError:V}=p(68707);const K=p(42613);const{kHTTP2BuildRequest:ee,kHTTP2CopyHeaders:te,kHTTP1BuildRequest:re}=p(36443);const ne=p(3440);const ie=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/;const se=/[^\t\x20-\x7e\x80-\xff]/;const oe=/[^\u0021-\u00ff]/;const ae=Symbol("handler");const ce={};let le;try{const i=p(31637);ce.create=i.channel("undici:request:create");ce.bodySent=i.channel("undici:request:bodySent");ce.headers=i.channel("undici:request:headers");ce.trailers=i.channel("undici:request:trailers");ce.error=i.channel("undici:request:error")}catch{ce.create={hasSubscribers:false};ce.bodySent={hasSubscribers:false};ce.headers={hasSubscribers:false};ce.trailers={hasSubscribers:false};ce.error={hasSubscribers:false}}class Request{constructor(i,{path:d,method:V,body:K,headers:ee,query:te,idempotent:re,blocking:se,upgrade:ue,headersTimeout:Ae,bodyTimeout:de,reset:pe,throwOnError:fe,expectContinue:he},ge){if(typeof d!=="string"){throw new v("path must be a string")}else if(d[0]!=="/"&&!(d.startsWith("http://")||d.startsWith("https://"))&&V!=="CONNECT"){throw new v("path must be an absolute URL or start with a slash")}else if(oe.exec(d)!==null){throw new v("invalid request path")}if(typeof V!=="string"){throw new v("method must be a string")}else if(ie.exec(V)===null){throw new v("invalid request method")}if(ue&&typeof ue!=="string"){throw new v("upgrade must be a string")}if(Ae!=null&&(!Number.isFinite(Ae)||Ae<0)){throw new v("invalid headersTimeout")}if(de!=null&&(!Number.isFinite(de)||de<0)){throw new v("invalid bodyTimeout")}if(pe!=null&&typeof pe!=="boolean"){throw new v("invalid reset")}if(he!=null&&typeof he!=="boolean"){throw new v("invalid expectContinue")}this.headersTimeout=Ae;this.bodyTimeout=de;this.throwOnError=fe===true;this.method=V;this.abort=null;if(K==null){this.body=null}else if(ne.isStream(K)){this.body=K;const i=this.body._readableState;if(!i||!i.autoDestroy){this.endHandler=function autoDestroy(){ne.destroy(this)};this.body.on("end",this.endHandler)}this.errorHandler=i=>{if(this.abort){this.abort(i)}else{this.error=i}};this.body.on("error",this.errorHandler)}else if(ne.isBuffer(K)){this.body=K.byteLength?K:null}else if(ArrayBuffer.isView(K)){this.body=K.buffer.byteLength?Buffer.from(K.buffer,K.byteOffset,K.byteLength):null}else if(K instanceof ArrayBuffer){this.body=K.byteLength?Buffer.from(K):null}else if(typeof K==="string"){this.body=K.length?Buffer.from(K):null}else if(ne.isFormDataLike(K)||ne.isIterable(K)||ne.isBlobLike(K)){this.body=K}else{throw new v("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable")}this.completed=false;this.aborted=false;this.upgrade=ue||null;this.path=te?ne.buildURL(d,te):d;this.origin=i;this.idempotent=re==null?V==="HEAD"||V==="GET":re;this.blocking=se==null?false:se;this.reset=pe==null?null:pe;this.host=null;this.contentLength=null;this.contentType=null;this.headers="";this.expectContinue=he!=null?he:false;if(Array.isArray(ee)){if(ee.length%2!==0){throw new v("headers array must be even")}for(let i=0;i{i.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kHeadersList:Symbol("headers list"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kHTTP2BuildRequest:Symbol("http2 build request"),kHTTP1BuildRequest:Symbol("http1 build request"),kHTTP2CopyHeaders:Symbol("http2 copy headers"),kHTTPConnVersion:Symbol("http connection version"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable")}},3440:(i,d,p)=>{const v=p(42613);const{kDestroyed:V,kBodyUsed:K}=p(36443);const{IncomingMessage:ee}=p(58611);const te=p(2203);const re=p(69278);const{InvalidArgumentError:ne}=p(68707);const{Blob:ie}=p(20181);const se=p(39023);const{stringify:oe}=p(83480);const{headerNameLowerCasedRecord:ae}=p(10735);const[ce,le]=process.versions.node.split(".").map((i=>Number(i)));function nop(){}function isStream(i){return i&&typeof i==="object"&&typeof i.pipe==="function"&&typeof i.on==="function"}function isBlobLike(i){return ie&&i instanceof ie||i&&typeof i==="object"&&(typeof i.stream==="function"||typeof i.arrayBuffer==="function")&&/^(Blob|File)$/.test(i[Symbol.toStringTag])}function buildURL(i,d){if(i.includes("?")||i.includes("#")){throw new Error('Query params cannot be passed when url already contains "?" or "#".')}const p=oe(d);if(p){i+="?"+p}return i}function parseURL(i){if(typeof i==="string"){i=new URL(i);if(!/^https?:/.test(i.origin||i.protocol)){throw new ne("Invalid URL protocol: the URL must start with `http:` or `https:`.")}return i}if(!i||typeof i!=="object"){throw new ne("Invalid URL: The URL argument must be a non-null object.")}if(!/^https?:/.test(i.origin||i.protocol)){throw new ne("Invalid URL protocol: the URL must start with `http:` or `https:`.")}if(!(i instanceof URL)){if(i.port!=null&&i.port!==""&&!Number.isFinite(parseInt(i.port))){throw new ne("Invalid URL: port must be a valid integer or a string representation of an integer.")}if(i.path!=null&&typeof i.path!=="string"){throw new ne("Invalid URL path: the path must be a string or null/undefined.")}if(i.pathname!=null&&typeof i.pathname!=="string"){throw new ne("Invalid URL pathname: the pathname must be a string or null/undefined.")}if(i.hostname!=null&&typeof i.hostname!=="string"){throw new ne("Invalid URL hostname: the hostname must be a string or null/undefined.")}if(i.origin!=null&&typeof i.origin!=="string"){throw new ne("Invalid URL origin: the origin must be a string or null/undefined.")}const d=i.port!=null?i.port:i.protocol==="https:"?443:80;let p=i.origin!=null?i.origin:`${i.protocol}//${i.hostname}:${d}`;let v=i.path!=null?i.path:`${i.pathname||""}${i.search||""}`;if(p.endsWith("/")){p=p.substring(0,p.length-1)}if(v&&!v.startsWith("/")){v=`/${v}`}i=new URL(p+v)}return i}function parseOrigin(i){i=parseURL(i);if(i.pathname!=="/"||i.search||i.hash){throw new ne("invalid url")}return i}function getHostname(i){if(i[0]==="["){const d=i.indexOf("]");v(d!==-1);return i.substring(1,d)}const d=i.indexOf(":");if(d===-1)return i;return i.substring(0,d)}function getServerName(i){if(!i){return null}v.strictEqual(typeof i,"string");const d=getHostname(i);if(re.isIP(d)){return""}return d}function deepClone(i){return JSON.parse(JSON.stringify(i))}function isAsyncIterable(i){return!!(i!=null&&typeof i[Symbol.asyncIterator]==="function")}function isIterable(i){return!!(i!=null&&(typeof i[Symbol.iterator]==="function"||typeof i[Symbol.asyncIterator]==="function"))}function bodyLength(i){if(i==null){return 0}else if(isStream(i)){const d=i._readableState;return d&&d.objectMode===false&&d.ended===true&&Number.isFinite(d.length)?d.length:null}else if(isBlobLike(i)){return i.size!=null?i.size:null}else if(isBuffer(i)){return i.byteLength}return null}function isDestroyed(i){return!i||!!(i.destroyed||i[V])}function isReadableAborted(i){const d=i&&i._readableState;return isDestroyed(i)&&d&&!d.endEmitted}function destroy(i,d){if(i==null||!isStream(i)||isDestroyed(i)){return}if(typeof i.destroy==="function"){if(Object.getPrototypeOf(i).constructor===ee){i.socket=null}i.destroy(d)}else if(d){process.nextTick(((i,d)=>{i.emit("error",d)}),i,d)}if(i.destroyed!==true){i[V]=true}}const ue=/timeout=(\d+)/;function parseKeepAliveTimeout(i){const d=i.toString().match(ue);return d?parseInt(d[1],10)*1e3:null}function headerNameToString(i){return ae[i]||i.toLowerCase()}function parseHeaders(i,d={}){if(!Array.isArray(i))return i;for(let p=0;pi.toString("utf8")))}else{d[v]=i[p+1].toString("utf8")}}else{if(!Array.isArray(V)){V=[V];d[v]=V}V.push(i[p+1].toString("utf8"))}}if("content-length"in d&&"content-disposition"in d){d["content-disposition"]=Buffer.from(d["content-disposition"]).toString("latin1")}return d}function parseRawHeaders(i){const d=[];let p=false;let v=-1;for(let V=0;V{i.close()}))}else{const d=Buffer.isBuffer(v)?v:Buffer.from(v);i.enqueue(new Uint8Array(d))}return i.desiredSize>0},async cancel(i){await d.return()}},0)}function isFormDataLike(i){return i&&typeof i==="object"&&typeof i.append==="function"&&typeof i.delete==="function"&&typeof i.get==="function"&&typeof i.getAll==="function"&&typeof i.has==="function"&&typeof i.set==="function"&&i[Symbol.toStringTag]==="FormData"}function throwIfAborted(i){if(!i){return}if(typeof i.throwIfAborted==="function"){i.throwIfAborted()}else{if(i.aborted){const i=new Error("The operation was aborted");i.name="AbortError";throw i}}}function addAbortListener(i,d){if("addEventListener"in i){i.addEventListener("abort",d,{once:true});return()=>i.removeEventListener("abort",d)}i.addListener("abort",d);return()=>i.removeListener("abort",d)}const de=!!String.prototype.toWellFormed;function toUSVString(i){if(de){return`${i}`.toWellFormed()}else if(se.toUSVString){return se.toUSVString(i)}return`${i}`}function parseRangeHeader(i){if(i==null||i==="")return{start:0,end:null,size:null};const d=i?i.match(/^bytes (\d+)-(\d+)\/(\d+)?$/):null;return d?{start:parseInt(d[1]),end:d[2]?parseInt(d[2]):null,size:d[3]?parseInt(d[3]):null}:null}const pe=Object.create(null);pe.enumerable=true;i.exports={kEnumerableProperty:pe,nop:nop,isDisturbed:isDisturbed,isErrored:isErrored,isReadable:isReadable,toUSVString:toUSVString,isReadableAborted:isReadableAborted,isBlobLike:isBlobLike,parseOrigin:parseOrigin,parseURL:parseURL,getServerName:getServerName,isStream:isStream,isIterable:isIterable,isAsyncIterable:isAsyncIterable,isDestroyed:isDestroyed,headerNameToString:headerNameToString,parseRawHeaders:parseRawHeaders,parseHeaders:parseHeaders,parseKeepAliveTimeout:parseKeepAliveTimeout,destroy:destroy,bodyLength:bodyLength,deepClone:deepClone,ReadableStreamFrom:ReadableStreamFrom,isBuffer:isBuffer,validateHandler:validateHandler,getSocketInfo:getSocketInfo,isFormDataLike:isFormDataLike,buildURL:buildURL,throwIfAborted:throwIfAborted,addAbortListener:addAbortListener,parseRangeHeader:parseRangeHeader,nodeMajor:ce,nodeMinor:le,nodeHasAutoSelectFamily:ce>18||ce===18&&le>=13,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"]}},50001:(i,d,p)=>{const v=p(28611);const{ClientDestroyedError:V,ClientClosedError:K,InvalidArgumentError:ee}=p(68707);const{kDestroy:te,kClose:re,kDispatch:ne,kInterceptors:ie}=p(36443);const se=Symbol("destroyed");const oe=Symbol("closed");const ae=Symbol("onDestroyed");const ce=Symbol("onClosed");const le=Symbol("Intercepted Dispatch");class DispatcherBase extends v{constructor(){super();this[se]=false;this[ae]=null;this[oe]=false;this[ce]=[]}get destroyed(){return this[se]}get closed(){return this[oe]}get interceptors(){return this[ie]}set interceptors(i){if(i){for(let d=i.length-1;d>=0;d--){const i=this[ie][d];if(typeof i!=="function"){throw new ee("interceptor must be an function")}}}this[ie]=i}close(i){if(i===undefined){return new Promise(((i,d)=>{this.close(((p,v)=>p?d(p):i(v)))}))}if(typeof i!=="function"){throw new ee("invalid callback")}if(this[se]){queueMicrotask((()=>i(new V,null)));return}if(this[oe]){if(this[ce]){this[ce].push(i)}else{queueMicrotask((()=>i(null,null)))}return}this[oe]=true;this[ce].push(i);const onClosed=()=>{const i=this[ce];this[ce]=null;for(let d=0;dthis.destroy())).then((()=>{queueMicrotask(onClosed)}))}destroy(i,d){if(typeof i==="function"){d=i;i=null}if(d===undefined){return new Promise(((d,p)=>{this.destroy(i,((i,v)=>i?p(i):d(v)))}))}if(typeof d!=="function"){throw new ee("invalid callback")}if(this[se]){if(this[ae]){this[ae].push(d)}else{queueMicrotask((()=>d(null,null)))}return}if(!i){i=new V}this[se]=true;this[ae]=this[ae]||[];this[ae].push(d);const onDestroyed=()=>{const i=this[ae];this[ae]=null;for(let d=0;d{queueMicrotask(onDestroyed)}))}[le](i,d){if(!this[ie]||this[ie].length===0){this[le]=this[ne];return this[ne](i,d)}let p=this[ne].bind(this);for(let i=this[ie].length-1;i>=0;i--){p=this[ie][i](p)}this[le]=p;return p(i,d)}dispatch(i,d){if(!d||typeof d!=="object"){throw new ee("handler must be an object")}try{if(!i||typeof i!=="object"){throw new ee("opts must be an object.")}if(this[se]||this[ae]){throw new V}if(this[oe]){throw new K}return this[le](i,d)}catch(i){if(typeof d.onError!=="function"){throw new ee("invalid onError method")}d.onError(i);return false}}}i.exports=DispatcherBase},28611:(i,d,p)=>{const v=p(24434);class Dispatcher extends v{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}}i.exports=Dispatcher},8923:(i,d,p)=>{const v=p(4652);const V=p(3440);const{ReadableStreamFrom:K,isBlobLike:ee,isReadableStreamLike:te,readableStreamClose:re,createDeferredPromise:ne,fullyReadBody:ie}=p(15523);const{FormData:se}=p(43073);const{kState:oe}=p(89710);const{webidl:ae}=p(74222);const{DOMException:ce,structuredClone:le}=p(87326);const{Blob:ue,File:Ae}=p(20181);const{kBodyUsed:de}=p(36443);const pe=p(42613);const{isErrored:fe}=p(3440);const{isUint8Array:he,isArrayBuffer:ge}=p(98253);const{File:me}=p(63041);const{parseMIMEType:Ee,serializeAMimeType:ye}=p(94322);let Ce;try{const i=p(77598);Ce=d=>i.randomInt(0,d)}catch{Ce=i=>Math.floor(Math.random(i))}let be=globalThis.ReadableStream;const Ie=Ae??me;const Be=new TextEncoder;const we=new TextDecoder;function extractBody(i,d=false){if(!be){be=p(63774).ReadableStream}let v=null;if(i instanceof be){v=i}else if(ee(i)){v=i.stream()}else{v=new be({async pull(i){i.enqueue(typeof ie==="string"?Be.encode(ie):ie);queueMicrotask((()=>re(i)))},start(){},type:undefined})}pe(te(v));let ne=null;let ie=null;let se=null;let oe=null;if(typeof i==="string"){ie=i;oe="text/plain;charset=UTF-8"}else if(i instanceof URLSearchParams){ie=i.toString();oe="application/x-www-form-urlencoded;charset=UTF-8"}else if(ge(i)){ie=new Uint8Array(i.slice())}else if(ArrayBuffer.isView(i)){ie=new Uint8Array(i.buffer.slice(i.byteOffset,i.byteOffset+i.byteLength))}else if(V.isFormDataLike(i)){const d=`----formdata-undici-0${`${Ce(1e11)}`.padStart(11,"0")}`;const p=`--${d}\r\nContent-Disposition: form-data` -/*! formdata-polyfill. MIT License. Jimmy Wärting */;const escape=i=>i.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=i=>i.replace(/\r?\n|\r/g,"\r\n");const v=[];const V=new Uint8Array([13,10]);se=0;let K=false;for(const[d,ee]of i){if(typeof ee==="string"){const i=Be.encode(p+`; name="${escape(normalizeLinefeeds(d))}"`+`\r\n\r\n${normalizeLinefeeds(ee)}\r\n`);v.push(i);se+=i.byteLength}else{const i=Be.encode(`${p}; name="${escape(normalizeLinefeeds(d))}"`+(ee.name?`; filename="${escape(ee.name)}"`:"")+"\r\n"+`Content-Type: ${ee.type||"application/octet-stream"}\r\n\r\n`);v.push(i,ee,V);if(typeof ee.size==="number"){se+=i.byteLength+ee.size+V.byteLength}else{K=true}}}const ee=Be.encode(`--${d}--`);v.push(ee);se+=ee.byteLength;if(K){se=null}ie=i;ne=async function*(){for(const i of v){if(i.stream){yield*i.stream()}else{yield i}}};oe="multipart/form-data; boundary="+d}else if(ee(i)){ie=i;se=i.size;if(i.type){oe=i.type}}else if(typeof i[Symbol.asyncIterator]==="function"){if(d){throw new TypeError("keepalive")}if(V.isDisturbed(i)||i.locked){throw new TypeError("Response body object should not be disturbed or locked")}v=i instanceof be?i:K(i)}if(typeof ie==="string"||V.isBuffer(ie)){se=Buffer.byteLength(ie)}if(ne!=null){let d;v=new be({async start(){d=ne(i)[Symbol.asyncIterator]()},async pull(i){const{value:p,done:V}=await d.next();if(V){queueMicrotask((()=>{i.close()}))}else{if(!fe(v)){i.enqueue(new Uint8Array(p))}}return i.desiredSize>0},async cancel(i){await d.return()},type:undefined})}const ae={stream:v,source:ie,length:se};return[ae,oe]}function safelyExtractBody(i,d=false){if(!be){be=p(63774).ReadableStream}if(i instanceof be){pe(!V.isDisturbed(i),"The body has already been consumed.");pe(!i.locked,"The stream is locked.")}return extractBody(i,d)}function cloneBody(i){const[d,p]=i.stream.tee();const v=le(p,{transfer:[p]});const[,V]=v.tee();i.stream=d;return{stream:V,length:i.length,source:i.source}}async function*consumeBody(i){if(i){if(he(i)){yield i}else{const d=i.stream;if(V.isDisturbed(d)){throw new TypeError("The body has already been consumed.")}if(d.locked){throw new TypeError("The stream is locked.")}d[de]=true;yield*d}}}function throwIfAborted(i){if(i.aborted){throw new ce("The operation was aborted.","AbortError")}}function bodyMixinMethods(i){const d={blob(){return specConsumeBody(this,(i=>{let d=bodyMimeType(this);if(d==="failure"){d=""}else if(d){d=ye(d)}return new ue([i],{type:d})}),i)},arrayBuffer(){return specConsumeBody(this,(i=>new Uint8Array(i).buffer),i)},text(){return specConsumeBody(this,utf8DecodeBytes,i)},json(){return specConsumeBody(this,parseJSONFromBytes,i)},async formData(){ae.brandCheck(this,i);throwIfAborted(this[oe]);const d=this.headers.get("Content-Type");if(/multipart\/form-data/.test(d)){const i={};for(const[d,p]of this.headers)i[d.toLowerCase()]=p;const d=new se;let p;try{p=new v({headers:i,preservePath:true})}catch(i){throw new ce(`${i}`,"AbortError")}p.on("field",((i,p)=>{d.append(i,p)}));p.on("file",((i,p,v,V,K)=>{const ee=[];if(V==="base64"||V.toLowerCase()==="base64"){let V="";p.on("data",(i=>{V+=i.toString().replace(/[\r\n]/gm,"");const d=V.length-V.length%4;ee.push(Buffer.from(V.slice(0,d),"base64"));V=V.slice(d)}));p.on("end",(()=>{ee.push(Buffer.from(V,"base64"));d.append(i,new Ie(ee,v,{type:K}))}))}else{p.on("data",(i=>{ee.push(i)}));p.on("end",(()=>{d.append(i,new Ie(ee,v,{type:K}))}))}}));const V=new Promise(((i,d)=>{p.on("finish",i);p.on("error",(i=>d(new TypeError(i))))}));if(this.body!==null)for await(const i of consumeBody(this[oe].body))p.write(i);p.end();await V;return d}else if(/application\/x-www-form-urlencoded/.test(d)){let i;try{let d="";const p=new TextDecoder("utf-8",{ignoreBOM:true});for await(const i of consumeBody(this[oe].body)){if(!he(i)){throw new TypeError("Expected Uint8Array chunk")}d+=p.decode(i,{stream:true})}d+=p.decode();i=new URLSearchParams(d)}catch(i){throw Object.assign(new TypeError,{cause:i})}const d=new se;for(const[p,v]of i){d.append(p,v)}return d}else{await Promise.resolve();throwIfAborted(this[oe]);throw ae.errors.exception({header:`${i.name}.formData`,message:"Could not parse content as FormData."})}}};return d}function mixinBody(i){Object.assign(i.prototype,bodyMixinMethods(i))}async function specConsumeBody(i,d,p){ae.brandCheck(i,p);throwIfAborted(i[oe]);if(bodyUnusable(i[oe].body)){throw new TypeError("Body is unusable")}const v=ne();const errorSteps=i=>v.reject(i);const successSteps=i=>{try{v.resolve(d(i))}catch(i){errorSteps(i)}};if(i[oe].body==null){successSteps(new Uint8Array);return v.promise}await ie(i[oe].body,successSteps,errorSteps);return v.promise}function bodyUnusable(i){return i!=null&&(i.stream.locked||V.isDisturbed(i.stream))}function utf8DecodeBytes(i){if(i.length===0){return""}if(i[0]===239&&i[1]===187&&i[2]===191){i=i.subarray(3)}const d=we.decode(i);return d}function parseJSONFromBytes(i){return JSON.parse(utf8DecodeBytes(i))}function bodyMimeType(i){const{headersList:d}=i[oe];const p=d.get("content-type");if(p===null){return"failure"}return Ee(p)}i.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody}},87326:(i,d,p)=>{const{MessageChannel:v,receiveMessageOnPort:V}=p(28167);const K=["GET","HEAD","POST"];const ee=new Set(K);const te=[101,204,205,304];const re=[301,302,303,307,308];const ne=new Set(re);const ie=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","5060","5061","6000","6566","6665","6666","6667","6668","6669","6697","10080"];const se=new Set(ie);const oe=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"];const ae=new Set(oe);const ce=["follow","manual","error"];const le=["GET","HEAD","OPTIONS","TRACE"];const ue=new Set(le);const Ae=["navigate","same-origin","no-cors","cors"];const de=["omit","same-origin","include"];const pe=["default","no-store","reload","no-cache","force-cache","only-if-cached"];const fe=["content-encoding","content-language","content-location","content-type","content-length"];const he=["half"];const ge=["CONNECT","TRACE","TRACK"];const me=new Set(ge);const Ee=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""];const ye=new Set(Ee);const Ce=globalThis.DOMException??(()=>{try{atob("~")}catch(i){return Object.getPrototypeOf(i).constructor}})();let be;const Ie=globalThis.structuredClone??function structuredClone(i,d=undefined){if(arguments.length===0){throw new TypeError("missing argument")}if(!be){be=new v}be.port1.unref();be.port2.unref();be.port1.postMessage(i,d?.transfer);return V(be.port2).message};i.exports={DOMException:Ce,structuredClone:Ie,subresource:Ee,forbiddenMethods:ge,requestBodyHeader:fe,referrerPolicy:oe,requestRedirect:ce,requestMode:Ae,requestCredentials:de,requestCache:pe,redirectStatus:re,corsSafeListedMethods:K,nullBodyStatus:te,safeMethods:le,badPorts:ie,requestDuplex:he,subresourceSet:ye,badPortsSet:se,redirectStatusSet:ne,corsSafeListedMethodsSet:ee,safeMethodsSet:ue,forbiddenMethodsSet:me,referrerPolicySet:ae}},94322:(i,d,p)=>{const v=p(42613);const{atob:V}=p(20181);const{isomorphicDecode:K}=p(15523);const ee=new TextEncoder;const te=/^[!#$%&'*+-.^_|~A-Za-z0-9]+$/;const re=/(\u000A|\u000D|\u0009|\u0020)/;const ne=/[\u0009|\u0020-\u007E|\u0080-\u00FF]/;function dataURLProcessor(i){v(i.protocol==="data:");let d=URLSerializer(i,true);d=d.slice(5);const p={position:0};let V=collectASequenceOfCodePointsFast(",",d,p);const ee=V.length;V=removeASCIIWhitespace(V,true,true);if(p.position>=d.length){return"failure"}p.position++;const te=d.slice(ee+1);let re=stringPercentDecode(te);if(/;(\u0020){0,}base64$/i.test(V)){const i=K(re);re=forgivingBase64(i);if(re==="failure"){return"failure"}V=V.slice(0,-6);V=V.replace(/(\u0020)+$/,"");V=V.slice(0,-1)}if(V.startsWith(";")){V="text/plain"+V}let ne=parseMIMEType(V);if(ne==="failure"){ne=parseMIMEType("text/plain;charset=US-ASCII")}return{mimeType:ne,body:re}}function URLSerializer(i,d=false){if(!d){return i.href}const p=i.href;const v=i.hash.length;return v===0?p:p.substring(0,p.length-v)}function collectASequenceOfCodePoints(i,d,p){let v="";while(p.positioni.length){return"failure"}d.position++;let v=collectASequenceOfCodePointsFast(";",i,d);v=removeHTTPWhitespace(v,false,true);if(v.length===0||!te.test(v)){return"failure"}const V=p.toLowerCase();const K=v.toLowerCase();const ee={type:V,subtype:K,parameters:new Map,essence:`${V}/${K}`};while(d.positionre.test(i)),i,d);let p=collectASequenceOfCodePoints((i=>i!==";"&&i!=="="),i,d);p=p.toLowerCase();if(d.positioni.length){break}let v=null;if(i[d.position]==='"'){v=collectAnHTTPQuotedString(i,d,true);collectASequenceOfCodePointsFast(";",i,d)}else{v=collectASequenceOfCodePointsFast(";",i,d);v=removeHTTPWhitespace(v,false,true);if(v.length===0){continue}}if(p.length!==0&&te.test(p)&&(v.length===0||ne.test(v))&&!ee.parameters.has(p)){ee.parameters.set(p,v)}}return ee}function forgivingBase64(i){i=i.replace(/[\u0009\u000A\u000C\u000D\u0020]/g,"");if(i.length%4===0){i=i.replace(/=?=$/,"")}if(i.length%4===1){return"failure"}if(/[^+/0-9A-Za-z]/.test(i)){return"failure"}const d=V(i);const p=new Uint8Array(d.length);for(let i=0;ii!=='"'&&i!=="\\"),i,d);if(d.position>=i.length){break}const p=i[d.position];d.position++;if(p==="\\"){if(d.position>=i.length){K+="\\";break}K+=i[d.position];d.position++}else{v(p==='"');break}}if(p){return K}return i.slice(V,d.position)}function serializeAMimeType(i){v(i!=="failure");const{parameters:d,essence:p}=i;let V=p;for(let[i,p]of d.entries()){V+=";";V+=i;V+="=";if(!te.test(p)){p=p.replace(/(\\|")/g,"\\$1");p='"'+p;p+='"'}V+=p}return V}function isHTTPWhiteSpace(i){return i==="\r"||i==="\n"||i==="\t"||i===" "}function removeHTTPWhitespace(i,d=true,p=true){let v=0;let V=i.length-1;if(d){for(;v0&&isHTTPWhiteSpace(i[V]);V--);}return i.slice(v,V+1)}function isASCIIWhitespace(i){return i==="\r"||i==="\n"||i==="\t"||i==="\f"||i===" "}function removeASCIIWhitespace(i,d=true,p=true){let v=0;let V=i.length-1;if(d){for(;v0&&isASCIIWhitespace(i[V]);V--);}return i.slice(v,V+1)}i.exports={dataURLProcessor:dataURLProcessor,URLSerializer:URLSerializer,collectASequenceOfCodePoints:collectASequenceOfCodePoints,collectASequenceOfCodePointsFast:collectASequenceOfCodePointsFast,stringPercentDecode:stringPercentDecode,parseMIMEType:parseMIMEType,collectAnHTTPQuotedString:collectAnHTTPQuotedString,serializeAMimeType:serializeAMimeType}},63041:(i,d,p)=>{const{Blob:v,File:V}=p(20181);const{types:K}=p(39023);const{kState:ee}=p(89710);const{isBlobLike:te}=p(15523);const{webidl:re}=p(74222);const{parseMIMEType:ne,serializeAMimeType:ie}=p(94322);const{kEnumerableProperty:se}=p(3440);const oe=new TextEncoder;class File extends v{constructor(i,d,p={}){re.argumentLengthCheck(arguments,2,{header:"File constructor"});i=re.converters["sequence"](i);d=re.converters.USVString(d);p=re.converters.FilePropertyBag(p);const v=d;let V=p.type;let K;e:{if(V){V=ne(V);if(V==="failure"){V="";break e}V=ie(V).toLowerCase()}K=p.lastModified}super(processBlobParts(i,p),{type:V});this[ee]={name:v,lastModified:K,type:V}}get name(){re.brandCheck(this,File);return this[ee].name}get lastModified(){re.brandCheck(this,File);return this[ee].lastModified}get type(){re.brandCheck(this,File);return this[ee].type}}class FileLike{constructor(i,d,p={}){const v=d;const V=p.type;const K=p.lastModified??Date.now();this[ee]={blobLike:i,name:v,type:V,lastModified:K}}stream(...i){re.brandCheck(this,FileLike);return this[ee].blobLike.stream(...i)}arrayBuffer(...i){re.brandCheck(this,FileLike);return this[ee].blobLike.arrayBuffer(...i)}slice(...i){re.brandCheck(this,FileLike);return this[ee].blobLike.slice(...i)}text(...i){re.brandCheck(this,FileLike);return this[ee].blobLike.text(...i)}get size(){re.brandCheck(this,FileLike);return this[ee].blobLike.size}get type(){re.brandCheck(this,FileLike);return this[ee].blobLike.type}get name(){re.brandCheck(this,FileLike);return this[ee].name}get lastModified(){re.brandCheck(this,FileLike);return this[ee].lastModified}get[Symbol.toStringTag](){return"File"}}Object.defineProperties(File.prototype,{[Symbol.toStringTag]:{value:"File",configurable:true},name:se,lastModified:se});re.converters.Blob=re.interfaceConverter(v);re.converters.BlobPart=function(i,d){if(re.util.Type(i)==="Object"){if(te(i)){return re.converters.Blob(i,{strict:false})}if(ArrayBuffer.isView(i)||K.isAnyArrayBuffer(i)){return re.converters.BufferSource(i,d)}}return re.converters.USVString(i,d)};re.converters["sequence"]=re.sequenceConverter(re.converters.BlobPart);re.converters.FilePropertyBag=re.dictionaryConverter([{key:"lastModified",converter:re.converters["long long"],get defaultValue(){return Date.now()}},{key:"type",converter:re.converters.DOMString,defaultValue:""},{key:"endings",converter:i=>{i=re.converters.DOMString(i);i=i.toLowerCase();if(i!=="native"){i="transparent"}return i},defaultValue:"transparent"}]);function processBlobParts(i,d){const p=[];for(const v of i){if(typeof v==="string"){let i=v;if(d.endings==="native"){i=convertLineEndingsNative(i)}p.push(oe.encode(i))}else if(K.isAnyArrayBuffer(v)||K.isTypedArray(v)){if(!v.buffer){p.push(new Uint8Array(v))}else{p.push(new Uint8Array(v.buffer,v.byteOffset,v.byteLength))}}else if(te(v)){p.push(v)}}return p}function convertLineEndingsNative(i){let d="\n";if(process.platform==="win32"){d="\r\n"}return i.replace(/\r?\n/g,d)}function isFileLike(i){return V&&i instanceof V||i instanceof File||i&&(typeof i.stream==="function"||typeof i.arrayBuffer==="function")&&i[Symbol.toStringTag]==="File"}i.exports={File:File,FileLike:FileLike,isFileLike:isFileLike}},43073:(i,d,p)=>{const{isBlobLike:v,toUSVString:V,makeIterator:K}=p(15523);const{kState:ee}=p(89710);const{File:te,FileLike:re,isFileLike:ne}=p(63041);const{webidl:ie}=p(74222);const{Blob:se,File:oe}=p(20181);const ae=oe??te;class FormData{constructor(i){if(i!==undefined){throw ie.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}this[ee]=[]}append(i,d,p=undefined){ie.brandCheck(this,FormData);ie.argumentLengthCheck(arguments,2,{header:"FormData.append"});if(arguments.length===3&&!v(d)){throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'")}i=ie.converters.USVString(i);d=v(d)?ie.converters.Blob(d,{strict:false}):ie.converters.USVString(d);p=arguments.length===3?ie.converters.USVString(p):undefined;const V=makeEntry(i,d,p);this[ee].push(V)}delete(i){ie.brandCheck(this,FormData);ie.argumentLengthCheck(arguments,1,{header:"FormData.delete"});i=ie.converters.USVString(i);this[ee]=this[ee].filter((d=>d.name!==i))}get(i){ie.brandCheck(this,FormData);ie.argumentLengthCheck(arguments,1,{header:"FormData.get"});i=ie.converters.USVString(i);const d=this[ee].findIndex((d=>d.name===i));if(d===-1){return null}return this[ee][d].value}getAll(i){ie.brandCheck(this,FormData);ie.argumentLengthCheck(arguments,1,{header:"FormData.getAll"});i=ie.converters.USVString(i);return this[ee].filter((d=>d.name===i)).map((i=>i.value))}has(i){ie.brandCheck(this,FormData);ie.argumentLengthCheck(arguments,1,{header:"FormData.has"});i=ie.converters.USVString(i);return this[ee].findIndex((d=>d.name===i))!==-1}set(i,d,p=undefined){ie.brandCheck(this,FormData);ie.argumentLengthCheck(arguments,2,{header:"FormData.set"});if(arguments.length===3&&!v(d)){throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'")}i=ie.converters.USVString(i);d=v(d)?ie.converters.Blob(d,{strict:false}):ie.converters.USVString(d);p=arguments.length===3?V(p):undefined;const K=makeEntry(i,d,p);const te=this[ee].findIndex((d=>d.name===i));if(te!==-1){this[ee]=[...this[ee].slice(0,te),K,...this[ee].slice(te+1).filter((d=>d.name!==i))]}else{this[ee].push(K)}}entries(){ie.brandCheck(this,FormData);return K((()=>this[ee].map((i=>[i.name,i.value]))),"FormData","key+value")}keys(){ie.brandCheck(this,FormData);return K((()=>this[ee].map((i=>[i.name,i.value]))),"FormData","key")}values(){ie.brandCheck(this,FormData);return K((()=>this[ee].map((i=>[i.name,i.value]))),"FormData","value")}forEach(i,d=globalThis){ie.brandCheck(this,FormData);ie.argumentLengthCheck(arguments,1,{header:"FormData.forEach"});if(typeof i!=="function"){throw new TypeError("Failed to execute 'forEach' on 'FormData': parameter 1 is not of type 'Function'.")}for(const[p,v]of this){i.apply(d,[v,p,this])}}}FormData.prototype[Symbol.iterator]=FormData.prototype.entries;Object.defineProperties(FormData.prototype,{[Symbol.toStringTag]:{value:"FormData",configurable:true}});function makeEntry(i,d,p){i=Buffer.from(i).toString("utf8");if(typeof d==="string"){d=Buffer.from(d).toString("utf8")}else{if(!ne(d)){d=d instanceof se?new ae([d],"blob",{type:d.type}):new re(d,"blob",{type:d.type})}if(p!==undefined){const i={type:d.type,lastModified:d.lastModified};d=oe&&d instanceof oe||d instanceof te?new ae([d],p,i):new re(d,p,i)}}return{name:i,value:d}}i.exports={FormData:FormData}},75628:i=>{const d=Symbol.for("undici.globalOrigin.1");function getGlobalOrigin(){return globalThis[d]}function setGlobalOrigin(i){if(i===undefined){Object.defineProperty(globalThis,d,{value:undefined,writable:true,enumerable:false,configurable:false});return}const p=new URL(i);if(p.protocol!=="http:"&&p.protocol!=="https:"){throw new TypeError(`Only http & https urls are allowed, received ${p.protocol}`)}Object.defineProperty(globalThis,d,{value:p,writable:true,enumerable:false,configurable:false})}i.exports={getGlobalOrigin:getGlobalOrigin,setGlobalOrigin:setGlobalOrigin}},26349:(i,d,p)=>{const{kHeadersList:v,kConstruct:V}=p(36443);const{kGuard:K}=p(89710);const{kEnumerableProperty:ee}=p(3440);const{makeIterator:te,isValidHeaderName:re,isValidHeaderValue:ne}=p(15523);const ie=p(39023);const{webidl:se}=p(74222);const oe=p(42613);const ae=Symbol("headers map");const ce=Symbol("headers map sorted");function isHTTPWhiteSpaceCharCode(i){return i===10||i===13||i===9||i===32}function headerValueNormalize(i){let d=0;let p=i.length;while(p>d&&isHTTPWhiteSpaceCharCode(i.charCodeAt(p-1)))--p;while(p>d&&isHTTPWhiteSpaceCharCode(i.charCodeAt(d)))++d;return d===0&&p===i.length?i:i.substring(d,p)}function fill(i,d){if(Array.isArray(d)){for(let p=0;p>","record"]})}}function appendHeader(i,d,p){p=headerValueNormalize(p);if(!re(d)){throw se.errors.invalidArgument({prefix:"Headers.append",value:d,type:"header name"})}else if(!ne(p)){throw se.errors.invalidArgument({prefix:"Headers.append",value:p,type:"header value"})}if(i[K]==="immutable"){throw new TypeError("immutable")}else if(i[K]==="request-no-cors"){}return i[v].append(d,p)}class HeadersList{cookies=null;constructor(i){if(i instanceof HeadersList){this[ae]=new Map(i[ae]);this[ce]=i[ce];this.cookies=i.cookies===null?null:[...i.cookies]}else{this[ae]=new Map(i);this[ce]=null}}contains(i){i=i.toLowerCase();return this[ae].has(i)}clear(){this[ae].clear();this[ce]=null;this.cookies=null}append(i,d){this[ce]=null;const p=i.toLowerCase();const v=this[ae].get(p);if(v){const i=p==="cookie"?"; ":", ";this[ae].set(p,{name:v.name,value:`${v.value}${i}${d}`})}else{this[ae].set(p,{name:i,value:d})}if(p==="set-cookie"){this.cookies??=[];this.cookies.push(d)}}set(i,d){this[ce]=null;const p=i.toLowerCase();if(p==="set-cookie"){this.cookies=[d]}this[ae].set(p,{name:i,value:d})}delete(i){this[ce]=null;i=i.toLowerCase();if(i==="set-cookie"){this.cookies=null}this[ae].delete(i)}get(i){const d=this[ae].get(i.toLowerCase());return d===undefined?null:d.value}*[Symbol.iterator](){for(const[i,{value:d}]of this[ae]){yield[i,d]}}get entries(){const i={};if(this[ae].size){for(const{name:d,value:p}of this[ae].values()){i[d]=p}}return i}}class Headers{constructor(i=undefined){if(i===V){return}this[v]=new HeadersList;this[K]="none";if(i!==undefined){i=se.converters.HeadersInit(i);fill(this,i)}}append(i,d){se.brandCheck(this,Headers);se.argumentLengthCheck(arguments,2,{header:"Headers.append"});i=se.converters.ByteString(i);d=se.converters.ByteString(d);return appendHeader(this,i,d)}delete(i){se.brandCheck(this,Headers);se.argumentLengthCheck(arguments,1,{header:"Headers.delete"});i=se.converters.ByteString(i);if(!re(i)){throw se.errors.invalidArgument({prefix:"Headers.delete",value:i,type:"header name"})}if(this[K]==="immutable"){throw new TypeError("immutable")}else if(this[K]==="request-no-cors"){}if(!this[v].contains(i)){return}this[v].delete(i)}get(i){se.brandCheck(this,Headers);se.argumentLengthCheck(arguments,1,{header:"Headers.get"});i=se.converters.ByteString(i);if(!re(i)){throw se.errors.invalidArgument({prefix:"Headers.get",value:i,type:"header name"})}return this[v].get(i)}has(i){se.brandCheck(this,Headers);se.argumentLengthCheck(arguments,1,{header:"Headers.has"});i=se.converters.ByteString(i);if(!re(i)){throw se.errors.invalidArgument({prefix:"Headers.has",value:i,type:"header name"})}return this[v].contains(i)}set(i,d){se.brandCheck(this,Headers);se.argumentLengthCheck(arguments,2,{header:"Headers.set"});i=se.converters.ByteString(i);d=se.converters.ByteString(d);d=headerValueNormalize(d);if(!re(i)){throw se.errors.invalidArgument({prefix:"Headers.set",value:i,type:"header name"})}else if(!ne(d)){throw se.errors.invalidArgument({prefix:"Headers.set",value:d,type:"header value"})}if(this[K]==="immutable"){throw new TypeError("immutable")}else if(this[K]==="request-no-cors"){}this[v].set(i,d)}getSetCookie(){se.brandCheck(this,Headers);const i=this[v].cookies;if(i){return[...i]}return[]}get[ce](){if(this[v][ce]){return this[v][ce]}const i=[];const d=[...this[v]].sort(((i,d)=>i[0]i),"Headers","key")}return te((()=>[...this[ce].values()]),"Headers","key")}values(){se.brandCheck(this,Headers);if(this[K]==="immutable"){const i=this[ce];return te((()=>i),"Headers","value")}return te((()=>[...this[ce].values()]),"Headers","value")}entries(){se.brandCheck(this,Headers);if(this[K]==="immutable"){const i=this[ce];return te((()=>i),"Headers","key+value")}return te((()=>[...this[ce].values()]),"Headers","key+value")}forEach(i,d=globalThis){se.brandCheck(this,Headers);se.argumentLengthCheck(arguments,1,{header:"Headers.forEach"});if(typeof i!=="function"){throw new TypeError("Failed to execute 'forEach' on 'Headers': parameter 1 is not of type 'Function'.")}for(const[p,v]of this){i.apply(d,[v,p,this])}}[Symbol.for("nodejs.util.inspect.custom")](){se.brandCheck(this,Headers);return this[v]}}Headers.prototype[Symbol.iterator]=Headers.prototype.entries;Object.defineProperties(Headers.prototype,{append:ee,delete:ee,get:ee,has:ee,set:ee,getSetCookie:ee,keys:ee,values:ee,entries:ee,forEach:ee,[Symbol.iterator]:{enumerable:false},[Symbol.toStringTag]:{value:"Headers",configurable:true},[ie.inspect.custom]:{enumerable:false}});se.converters.HeadersInit=function(i){if(se.util.Type(i)==="Object"){if(i[Symbol.iterator]){return se.converters["sequence>"](i)}return se.converters["record"](i)}throw se.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};i.exports={fill:fill,Headers:Headers,HeadersList:HeadersList}},12315:(i,d,p)=>{const{Response:v,makeNetworkError:V,makeAppropriateNetworkError:K,filterResponse:ee,makeResponse:te}=p(48676);const{Headers:re}=p(26349);const{Request:ne,makeRequest:ie}=p(25194);const se=p(43106);const{bytesMatch:oe,makePolicyContainer:ae,clonePolicyContainer:ce,requestBadPort:le,TAOCheck:ue,appendRequestOriginHeader:Ae,responseLocationURL:de,requestCurrentURL:pe,setRequestReferrerPolicyOnRedirect:fe,tryUpgradeRequestToAPotentiallyTrustworthyURL:he,createOpaqueTimingInfo:ge,appendFetchMetadata:me,corsCheck:Ee,crossOriginResourcePolicyCheck:ye,determineRequestsReferrer:Ce,coarsenedSharedCurrentTime:be,createDeferredPromise:Ie,isBlobLike:Be,sameOrigin:we,isCancelled:Se,isAborted:Qe,isErrorLike:ve,fullyReadBody:Re,readableStreamClose:Te,isomorphicEncode:Ne,urlIsLocal:ke,urlIsHttpHttpsScheme:De,urlHasHttpsScheme:xe}=p(15523);const{kState:_e,kHeaders:Pe,kGuard:Oe,kRealm:Le}=p(89710);const Fe=p(42613);const{safelyExtractBody:Me}=p(8923);const{redirectStatusSet:Ue,nullBodyStatus:He,safeMethodsSet:Ge,requestBodyHeader:qe,subresourceSet:je,DOMException:Ve}=p(87326);const{kHeadersList:ze}=p(36443);const Ye=p(24434);const{Readable:We,pipeline:Je}=p(2203);const{addAbortListener:$e,isErrored:Ke,isReadable:Xe,nodeMajor:Ze,nodeMinor:At}=p(3440);const{dataURLProcessor:mt,serializeAMimeType:Et}=p(94322);const{TransformStream:yt}=p(63774);const{getGlobalDispatcher:Ct}=p(32581);const{webidl:bt}=p(74222);const{STATUS_CODES:It}=p(58611);const Bt=["GET","HEAD"];let wt;let St=globalThis.ReadableStream;class Fetch extends Ye{constructor(i){super();this.dispatcher=i;this.connection=null;this.dump=false;this.state="ongoing";this.setMaxListeners(21)}terminate(i){if(this.state!=="ongoing"){return}this.state="terminated";this.connection?.destroy(i);this.emit("terminated",i)}abort(i){if(this.state!=="ongoing"){return}this.state="aborted";if(!i){i=new Ve("The operation was aborted.","AbortError")}this.serializedAbortReason=i;this.connection?.destroy(i);this.emit("terminated",i)}}function fetch(i,d={}){bt.argumentLengthCheck(arguments,1,{header:"globalThis.fetch"});const p=Ie();let V;try{V=new ne(i,d)}catch(i){p.reject(i);return p.promise}const K=V[_e];if(V.signal.aborted){abortFetch(p,K,null,V.signal.reason);return p.promise}const ee=K.client.globalObject;if(ee?.constructor?.name==="ServiceWorkerGlobalScope"){K.serviceWorkers="none"}let te=null;const re=null;let ie=false;let se=null;$e(V.signal,(()=>{ie=true;Fe(se!=null);se.abort(V.signal.reason);abortFetch(p,K,te,V.signal.reason)}));const handleFetchDone=i=>finalizeAndReportTiming(i,"fetch");const processResponse=i=>{if(ie){return Promise.resolve()}if(i.aborted){abortFetch(p,K,te,se.serializedAbortReason);return Promise.resolve()}if(i.type==="error"){p.reject(Object.assign(new TypeError("fetch failed"),{cause:i.error}));return Promise.resolve()}te=new v;te[_e]=i;te[Le]=re;te[Pe][ze]=i.headersList;te[Pe][Oe]="immutable";te[Pe][Le]=re;p.resolve(te)};se=fetching({request:K,processResponseEndOfBody:handleFetchDone,processResponse:processResponse,dispatcher:d.dispatcher??Ct()});return p.promise}function finalizeAndReportTiming(i,d="other"){if(i.type==="error"&&i.aborted){return}if(!i.urlList?.length){return}const p=i.urlList[0];let v=i.timingInfo;let V=i.cacheState;if(!De(p)){return}if(v===null){return}if(!i.timingAllowPassed){v=ge({startTime:v.startTime});V=""}v.endTime=be();i.timingInfo=v;markResourceTiming(v,p,d,globalThis,V)}function markResourceTiming(i,d,p,v,V){if(Ze>18||Ze===18&&At>=2){performance.markResourceTiming(i,d.href,p,v,V)}}function abortFetch(i,d,p,v){if(!v){v=new Ve("The operation was aborted.","AbortError")}i.reject(v);if(d.body!=null&&Xe(d.body?.stream)){d.body.stream.cancel(v).catch((i=>{if(i.code==="ERR_INVALID_STATE"){return}throw i}))}if(p==null){return}const V=p[_e];if(V.body!=null&&Xe(V.body?.stream)){V.body.stream.cancel(v).catch((i=>{if(i.code==="ERR_INVALID_STATE"){return}throw i}))}}function fetching({request:i,processRequestBodyChunkLength:d,processRequestEndOfBody:p,processResponse:v,processResponseEndOfBody:V,processResponseConsumeBody:K,useParallelQueue:ee=false,dispatcher:te}){let re=null;let ne=false;if(i.client!=null){re=i.client.globalObject;ne=i.client.crossOriginIsolatedCapability}const ie=be(ne);const se=ge({startTime:ie});const oe={controller:new Fetch(te),request:i,timingInfo:se,processRequestBodyChunkLength:d,processRequestEndOfBody:p,processResponse:v,processResponseConsumeBody:K,processResponseEndOfBody:V,taskDestination:re,crossOriginIsolatedCapability:ne};Fe(!i.body||i.body.stream);if(i.window==="client"){i.window=i.client?.globalObject?.constructor?.name==="Window"?i.client:"no-window"}if(i.origin==="client"){i.origin=i.client?.origin}if(i.policyContainer==="client"){if(i.client!=null){i.policyContainer=ce(i.client.policyContainer)}else{i.policyContainer=ae()}}if(!i.headersList.contains("accept")){const d="*/*";i.headersList.append("accept",d)}if(!i.headersList.contains("accept-language")){i.headersList.append("accept-language","*")}if(i.priority===null){}if(je.has(i.destination)){}mainFetch(oe).catch((i=>{oe.controller.terminate(i)}));return oe.controller}async function mainFetch(i,d=false){const p=i.request;let v=null;if(p.localURLsOnly&&!ke(pe(p))){v=V("local URLs only")}he(p);if(le(p)==="blocked"){v=V("bad port")}if(p.referrerPolicy===""){p.referrerPolicy=p.policyContainer.referrerPolicy}if(p.referrer!=="no-referrer"){p.referrer=Ce(p)}if(v===null){v=await(async()=>{const d=pe(p);if(we(d,p.url)&&p.responseTainting==="basic"||d.protocol==="data:"||(p.mode==="navigate"||p.mode==="websocket")){p.responseTainting="basic";return await schemeFetch(i)}if(p.mode==="same-origin"){return V('request mode cannot be "same-origin"')}if(p.mode==="no-cors"){if(p.redirect!=="follow"){return V('redirect mode cannot be "follow" for "no-cors" request')}p.responseTainting="opaque";return await schemeFetch(i)}if(!De(pe(p))){return V("URL scheme must be a HTTP(S) scheme")}p.responseTainting="cors";return await httpFetch(i)})()}if(d){return v}if(v.status!==0&&!v.internalResponse){if(p.responseTainting==="cors"){}if(p.responseTainting==="basic"){v=ee(v,"basic")}else if(p.responseTainting==="cors"){v=ee(v,"cors")}else if(p.responseTainting==="opaque"){v=ee(v,"opaque")}else{Fe(false)}}let K=v.status===0?v:v.internalResponse;if(K.urlList.length===0){K.urlList.push(...p.urlList)}if(!p.timingAllowFailed){v.timingAllowPassed=true}if(v.type==="opaque"&&K.status===206&&K.rangeRequested&&!p.headers.contains("range")){v=K=V()}if(v.status!==0&&(p.method==="HEAD"||p.method==="CONNECT"||He.includes(K.status))){K.body=null;i.controller.dump=true}if(p.integrity){const processBodyError=d=>fetchFinale(i,V(d));if(p.responseTainting==="opaque"||v.body==null){processBodyError(v.error);return}const processBody=d=>{if(!oe(d,p.integrity)){processBodyError("integrity mismatch");return}v.body=Me(d)[0];fetchFinale(i,v)};await Re(v.body,processBody,processBodyError)}else{fetchFinale(i,v)}}function schemeFetch(i){if(Se(i)&&i.request.redirectCount===0){return Promise.resolve(K(i))}const{request:d}=i;const{protocol:v}=pe(d);switch(v){case"about:":{return Promise.resolve(V("about scheme is not supported"))}case"blob:":{if(!wt){wt=p(20181).resolveObjectURL}const i=pe(d);if(i.search.length!==0){return Promise.resolve(V("NetworkError when attempting to fetch resource."))}const v=wt(i.toString());if(d.method!=="GET"||!Be(v)){return Promise.resolve(V("invalid method"))}const K=Me(v);const ee=K[0];const re=Ne(`${ee.length}`);const ne=K[1]??"";const ie=te({statusText:"OK",headersList:[["content-length",{name:"Content-Length",value:re}],["content-type",{name:"Content-Type",value:ne}]]});ie.body=ee;return Promise.resolve(ie)}case"data:":{const i=pe(d);const p=mt(i);if(p==="failure"){return Promise.resolve(V("failed to fetch the data URL"))}const v=Et(p.mimeType);return Promise.resolve(te({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:v}]],body:Me(p.body)[0]}))}case"file:":{return Promise.resolve(V("not implemented... yet..."))}case"http:":case"https:":{return httpFetch(i).catch((i=>V(i)))}default:{return Promise.resolve(V("unknown scheme"))}}}function finalizeResponse(i,d){i.request.done=true;if(i.processResponseDone!=null){queueMicrotask((()=>i.processResponseDone(d)))}}function fetchFinale(i,d){if(d.type==="error"){d.urlList=[i.request.urlList[0]];d.timingInfo=ge({startTime:i.timingInfo.startTime})}const processResponseEndOfBody=()=>{i.request.done=true;if(i.processResponseEndOfBody!=null){queueMicrotask((()=>i.processResponseEndOfBody(d)))}};if(i.processResponse!=null){queueMicrotask((()=>i.processResponse(d)))}if(d.body==null){processResponseEndOfBody()}else{const identityTransformAlgorithm=(i,d)=>{d.enqueue(i)};const i=new yt({start(){},transform:identityTransformAlgorithm,flush:processResponseEndOfBody},{size(){return 1}},{size(){return 1}});d.body={stream:d.body.stream.pipeThrough(i)}}if(i.processResponseConsumeBody!=null){const processBody=p=>i.processResponseConsumeBody(d,p);const processBodyError=p=>i.processResponseConsumeBody(d,p);if(d.body==null){queueMicrotask((()=>processBody(null)))}else{return Re(d.body,processBody,processBodyError)}return Promise.resolve()}}async function httpFetch(i){const d=i.request;let p=null;let v=null;const K=i.timingInfo;if(d.serviceWorkers==="all"){}if(p===null){if(d.redirect==="follow"){d.serviceWorkers="none"}v=p=await httpNetworkOrCacheFetch(i);if(d.responseTainting==="cors"&&Ee(d,p)==="failure"){return V("cors failure")}if(ue(d,p)==="failure"){d.timingAllowFailed=true}}if((d.responseTainting==="opaque"||p.type==="opaque")&&ye(d.origin,d.client,d.destination,v)==="blocked"){return V("blocked")}if(Ue.has(v.status)){if(d.redirect!=="manual"){i.controller.connection.destroy()}if(d.redirect==="error"){p=V("unexpected redirect")}else if(d.redirect==="manual"){p=v}else if(d.redirect==="follow"){p=await httpRedirectFetch(i,p)}else{Fe(false)}}p.timingInfo=K;return p}function httpRedirectFetch(i,d){const p=i.request;const v=d.internalResponse?d.internalResponse:d;let K;try{K=de(v,pe(p).hash);if(K==null){return d}}catch(i){return Promise.resolve(V(i))}if(!De(K)){return Promise.resolve(V("URL scheme must be a HTTP(S) scheme"))}if(p.redirectCount===20){return Promise.resolve(V("redirect count exceeded"))}p.redirectCount+=1;if(p.mode==="cors"&&(K.username||K.password)&&!we(p,K)){return Promise.resolve(V('cross origin not allowed for request mode "cors"'))}if(p.responseTainting==="cors"&&(K.username||K.password)){return Promise.resolve(V('URL cannot contain credentials for request mode "cors"'))}if(v.status!==303&&p.body!=null&&p.body.source==null){return Promise.resolve(V())}if([301,302].includes(v.status)&&p.method==="POST"||v.status===303&&!Bt.includes(p.method)){p.method="GET";p.body=null;for(const i of qe){p.headersList.delete(i)}}if(!we(pe(p),K)){p.headersList.delete("authorization");p.headersList.delete("proxy-authorization",true);p.headersList.delete("cookie");p.headersList.delete("host")}if(p.body!=null){Fe(p.body.source!=null);p.body=Me(p.body.source)[0]}const ee=i.timingInfo;ee.redirectEndTime=ee.postRedirectStartTime=be(i.crossOriginIsolatedCapability);if(ee.redirectStartTime===0){ee.redirectStartTime=ee.startTime}p.urlList.push(K);fe(p,v);return mainFetch(i,true)}async function httpNetworkOrCacheFetch(i,d=false,p=false){const v=i.request;let ee=null;let te=null;let re=null;const ne=null;const se=false;if(v.window==="no-window"&&v.redirect==="error"){ee=i;te=v}else{te=ie(v);ee={...i};ee.request=te}const oe=v.credentials==="include"||v.credentials==="same-origin"&&v.responseTainting==="basic";const ae=te.body?te.body.length:null;let ce=null;if(te.body==null&&["POST","PUT"].includes(te.method)){ce="0"}if(ae!=null){ce=Ne(`${ae}`)}if(ce!=null){te.headersList.append("content-length",ce)}if(ae!=null&&te.keepalive){}if(te.referrer instanceof URL){te.headersList.append("referer",Ne(te.referrer.href))}Ae(te);me(te);if(!te.headersList.contains("user-agent")){te.headersList.append("user-agent",typeof esbuildDetection==="undefined"?"undici":"node")}if(te.cache==="default"&&(te.headersList.contains("if-modified-since")||te.headersList.contains("if-none-match")||te.headersList.contains("if-unmodified-since")||te.headersList.contains("if-match")||te.headersList.contains("if-range"))){te.cache="no-store"}if(te.cache==="no-cache"&&!te.preventNoCacheCacheControlHeaderModification&&!te.headersList.contains("cache-control")){te.headersList.append("cache-control","max-age=0")}if(te.cache==="no-store"||te.cache==="reload"){if(!te.headersList.contains("pragma")){te.headersList.append("pragma","no-cache")}if(!te.headersList.contains("cache-control")){te.headersList.append("cache-control","no-cache")}}if(te.headersList.contains("range")){te.headersList.append("accept-encoding","identity")}if(!te.headersList.contains("accept-encoding")){if(xe(pe(te))){te.headersList.append("accept-encoding","br, gzip, deflate")}else{te.headersList.append("accept-encoding","gzip, deflate")}}te.headersList.delete("host");if(oe){}if(ne==null){te.cache="no-store"}if(te.mode!=="no-store"&&te.mode!=="reload"){}if(re==null){if(te.mode==="only-if-cached"){return V("only if cached")}const i=await httpNetworkFetch(ee,oe,p);if(!Ge.has(te.method)&&i.status>=200&&i.status<=399){}if(se&&i.status===304){}if(re==null){re=i}}re.urlList=[...te.urlList];if(te.headersList.contains("range")){re.rangeRequested=true}re.requestIncludesCredentials=oe;if(re.status===407){if(v.window==="no-window"){return V()}if(Se(i)){return K(i)}return V("proxy authentication required")}if(re.status===421&&!p&&(v.body==null||v.body.source!=null)){if(Se(i)){return K(i)}i.controller.connection.destroy();re=await httpNetworkOrCacheFetch(i,d,true)}if(d){}return re}async function httpNetworkFetch(i,d=false,v=false){Fe(!i.controller.connection||i.controller.connection.destroyed);i.controller.connection={abort:null,destroyed:false,destroy(i){if(!this.destroyed){this.destroyed=true;this.abort?.(i??new Ve("The operation was aborted.","AbortError"))}}};const ee=i.request;let ne=null;const ie=i.timingInfo;const oe=null;if(oe==null){ee.cache="no-store"}const ae=v?"yes":"no";if(ee.mode==="websocket"){}else{}let ce=null;if(ee.body==null&&i.processRequestEndOfBody){queueMicrotask((()=>i.processRequestEndOfBody()))}else if(ee.body!=null){const processBodyChunk=async function*(d){if(Se(i)){return}yield d;i.processRequestBodyChunkLength?.(d.byteLength)};const processEndOfBody=()=>{if(Se(i)){return}if(i.processRequestEndOfBody){i.processRequestEndOfBody()}};const processBodyError=d=>{if(Se(i)){return}if(d.name==="AbortError"){i.controller.abort()}else{i.controller.terminate(d)}};ce=async function*(){try{for await(const i of ee.body.stream){yield*processBodyChunk(i)}processEndOfBody()}catch(i){processBodyError(i)}}()}try{const{body:d,status:p,statusText:v,headersList:V,socket:K}=await dispatch({body:ce});if(K){ne=te({status:p,statusText:v,headersList:V,socket:K})}else{const K=d[Symbol.asyncIterator]();i.controller.next=()=>K.next();ne=te({status:p,statusText:v,headersList:V})}}catch(d){if(d.name==="AbortError"){i.controller.connection.destroy();return K(i,d)}return V(d)}const pullAlgorithm=()=>{i.controller.resume()};const cancelAlgorithm=d=>{i.controller.abort(d)};if(!St){St=p(63774).ReadableStream}const le=new St({async start(d){i.controller.controller=d},async pull(i){await pullAlgorithm(i)},async cancel(i){await cancelAlgorithm(i)}},{highWaterMark:0,size(){return 1}});ne.body={stream:le};i.controller.on("terminated",onAborted);i.controller.resume=async()=>{while(true){let d;let p;try{const{done:p,value:v}=await i.controller.next();if(Qe(i)){break}d=p?undefined:v}catch(v){if(i.controller.ended&&!ie.encodedBodySize){d=undefined}else{d=v;p=true}}if(d===undefined){Te(i.controller.controller);finalizeResponse(i,ne);return}ie.decodedBodySize+=d?.byteLength??0;if(p){i.controller.terminate(d);return}i.controller.controller.enqueue(new Uint8Array(d));if(Ke(le)){i.controller.terminate();return}if(!i.controller.controller.desiredSize){return}}};function onAborted(d){if(Qe(i)){ne.aborted=true;if(Xe(le)){i.controller.controller.error(i.controller.serializedAbortReason)}}else{if(Xe(le)){i.controller.controller.error(new TypeError("terminated",{cause:ve(d)?d:undefined}))}}i.controller.connection.destroy()}return ne;async function dispatch({body:d}){const p=pe(ee);const v=i.controller.dispatcher;return new Promise(((V,K)=>v.dispatch({path:p.pathname+p.search,origin:p.origin,method:ee.method,body:i.controller.dispatcher.isMockActive?ee.body&&(ee.body.source||ee.body.stream):d,headers:ee.headersList.entries,maxRedirections:0,upgrade:ee.mode==="websocket"?"websocket":undefined},{body:null,abort:null,onConnect(d){const{connection:p}=i.controller;if(p.destroyed){d(new Ve("The operation was aborted.","AbortError"))}else{i.controller.on("terminated",d);this.abort=p.abort=d}},onHeaders(i,d,p,v){if(i<200){return}let K=[];let te="";const ne=new re;if(Array.isArray(d)){for(let i=0;ii.trim()))}else if(p.toLowerCase()==="location"){te=v}ne[ze].append(p,v)}}else{const i=Object.keys(d);for(const p of i){const i=d[p];if(p.toLowerCase()==="content-encoding"){K=i.toLowerCase().split(",").map((i=>i.trim())).reverse()}else if(p.toLowerCase()==="location"){te=i}ne[ze].append(p,i)}}this.body=new We({read:p});const ie=[];const oe=ee.redirect==="follow"&&te&&Ue.has(i);if(ee.method!=="HEAD"&&ee.method!=="CONNECT"&&!He.includes(i)&&!oe){for(const i of K){if(i==="x-gzip"||i==="gzip"){ie.push(se.createGunzip({flush:se.constants.Z_SYNC_FLUSH,finishFlush:se.constants.Z_SYNC_FLUSH}))}else if(i==="deflate"){ie.push(se.createInflate())}else if(i==="br"){ie.push(se.createBrotliDecompress())}else{ie.length=0;break}}}V({status:i,statusText:v,headersList:ne[ze],body:ie.length?Je(this.body,...ie,(()=>{})):this.body.on("error",(()=>{}))});return true},onData(d){if(i.controller.dump){return}const p=d;ie.encodedBodySize+=p.byteLength;return this.body.push(p)},onComplete(){if(this.abort){i.controller.off("terminated",this.abort)}i.controller.ended=true;this.body.push(null)},onError(d){if(this.abort){i.controller.off("terminated",this.abort)}this.body?.destroy(d);i.controller.terminate(d);K(d)},onUpgrade(i,d,p){if(i!==101){return}const v=new re;for(let i=0;i{const{extractBody:v,mixinBody:V,cloneBody:K}=p(8923);const{Headers:ee,fill:te,HeadersList:re}=p(26349);const{FinalizationRegistry:ne}=p(13194)();const ie=p(3440);const{isValidHTTPToken:se,sameOrigin:oe,normalizeMethod:ae,makePolicyContainer:ce,normalizeMethodRecord:le}=p(15523);const{forbiddenMethodsSet:ue,corsSafeListedMethodsSet:Ae,referrerPolicy:de,requestRedirect:pe,requestMode:fe,requestCredentials:he,requestCache:ge,requestDuplex:me}=p(87326);const{kEnumerableProperty:Ee}=ie;const{kHeaders:ye,kSignal:Ce,kState:be,kGuard:Ie,kRealm:Be}=p(89710);const{webidl:we}=p(74222);const{getGlobalOrigin:Se}=p(75628);const{URLSerializer:Qe}=p(94322);const{kHeadersList:ve,kConstruct:Re}=p(36443);const Te=p(42613);const{getMaxListeners:Ne,setMaxListeners:ke,getEventListeners:De,defaultMaxListeners:xe}=p(24434);let _e=globalThis.TransformStream;const Pe=Symbol("abortController");const Oe=new ne((({signal:i,abort:d})=>{i.removeEventListener("abort",d)}));class Request{constructor(i,d={}){if(i===Re){return}we.argumentLengthCheck(arguments,1,{header:"Request constructor"});i=we.converters.RequestInfo(i);d=we.converters.RequestInit(d);this[Be]={settingsObject:{baseUrl:Se(),get origin(){return this.baseUrl?.origin},policyContainer:ce()}};let V=null;let K=null;const ne=this[Be].settingsObject.baseUrl;let de=null;if(typeof i==="string"){let d;try{d=new URL(i,ne)}catch(d){throw new TypeError("Failed to parse URL from "+i,{cause:d})}if(d.username||d.password){throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+i)}V=makeRequest({urlList:[d]});K="cors"}else{Te(i instanceof Request);V=i[be];de=i[Ce]}const pe=this[Be].settingsObject.origin;let fe="client";if(V.window?.constructor?.name==="EnvironmentSettingsObject"&&oe(V.window,pe)){fe=V.window}if(d.window!=null){throw new TypeError(`'window' option '${fe}' must be null`)}if("window"in d){fe="no-window"}V=makeRequest({method:V.method,headersList:V.headersList,unsafeRequest:V.unsafeRequest,client:this[Be].settingsObject,window:fe,priority:V.priority,origin:V.origin,referrer:V.referrer,referrerPolicy:V.referrerPolicy,mode:V.mode,credentials:V.credentials,cache:V.cache,redirect:V.redirect,integrity:V.integrity,keepalive:V.keepalive,reloadNavigation:V.reloadNavigation,historyNavigation:V.historyNavigation,urlList:[...V.urlList]});const he=Object.keys(d).length!==0;if(he){if(V.mode==="navigate"){V.mode="same-origin"}V.reloadNavigation=false;V.historyNavigation=false;V.origin="client";V.referrer="client";V.referrerPolicy="";V.url=V.urlList[V.urlList.length-1];V.urlList=[V.url]}if(d.referrer!==undefined){const i=d.referrer;if(i===""){V.referrer="no-referrer"}else{let d;try{d=new URL(i,ne)}catch(d){throw new TypeError(`Referrer "${i}" is not a valid URL.`,{cause:d})}if(d.protocol==="about:"&&d.hostname==="client"||pe&&!oe(d,this[Be].settingsObject.baseUrl)){V.referrer="client"}else{V.referrer=d}}}if(d.referrerPolicy!==undefined){V.referrerPolicy=d.referrerPolicy}let ge;if(d.mode!==undefined){ge=d.mode}else{ge=K}if(ge==="navigate"){throw we.errors.exception({header:"Request constructor",message:"invalid request mode navigate."})}if(ge!=null){V.mode=ge}if(d.credentials!==undefined){V.credentials=d.credentials}if(d.cache!==undefined){V.cache=d.cache}if(V.cache==="only-if-cached"&&V.mode!=="same-origin"){throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode")}if(d.redirect!==undefined){V.redirect=d.redirect}if(d.integrity!=null){V.integrity=String(d.integrity)}if(d.keepalive!==undefined){V.keepalive=Boolean(d.keepalive)}if(d.method!==undefined){let i=d.method;if(!se(i)){throw new TypeError(`'${i}' is not a valid HTTP method.`)}if(ue.has(i.toUpperCase())){throw new TypeError(`'${i}' HTTP method is unsupported.`)}i=le[i]??ae(i);V.method=i}if(d.signal!==undefined){de=d.signal}this[be]=V;const me=new AbortController;this[Ce]=me.signal;this[Ce][Be]=this[Be];if(de!=null){if(!de||typeof de.aborted!=="boolean"||typeof de.addEventListener!=="function"){throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.")}if(de.aborted){me.abort(de.reason)}else{this[Pe]=me;const i=new WeakRef(me);const abort=function(){const d=i.deref();if(d!==undefined){d.abort(this.reason)}};try{if(typeof Ne==="function"&&Ne(de)===xe){ke(100,de)}else if(De(de,"abort").length>=xe){ke(100,de)}}catch{}ie.addAbortListener(de,abort);Oe.register(me,{signal:de,abort:abort})}}this[ye]=new ee(Re);this[ye][ve]=V.headersList;this[ye][Ie]="request";this[ye][Be]=this[Be];if(ge==="no-cors"){if(!Ae.has(V.method)){throw new TypeError(`'${V.method} is unsupported in no-cors mode.`)}this[ye][Ie]="request-no-cors"}if(he){const i=this[ye][ve];const p=d.headers!==undefined?d.headers:new re(i);i.clear();if(p instanceof re){for(const[d,v]of p){i.append(d,v)}i.cookies=p.cookies}else{te(this[ye],p)}}const Ee=i instanceof Request?i[be].body:null;if((d.body!=null||Ee!=null)&&(V.method==="GET"||V.method==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body.")}let Qe=null;if(d.body!=null){const[i,p]=v(d.body,V.keepalive);Qe=i;if(p&&!this[ye][ve].contains("content-type")){this[ye].append("content-type",p)}}const Le=Qe??Ee;if(Le!=null&&Le.source==null){if(Qe!=null&&d.duplex==null){throw new TypeError("RequestInit: duplex option is required when sending a body.")}if(V.mode!=="same-origin"&&V.mode!=="cors"){throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"')}V.useCORSPreflightFlag=true}let Fe=Le;if(Qe==null&&Ee!=null){if(ie.isDisturbed(Ee.stream)||Ee.stream.locked){throw new TypeError("Cannot construct a Request with a Request object that has already been used.")}if(!_e){_e=p(63774).TransformStream}const i=new _e;Ee.stream.pipeThrough(i);Fe={source:Ee.source,length:Ee.length,stream:i.readable}}this[be].body=Fe}get method(){we.brandCheck(this,Request);return this[be].method}get url(){we.brandCheck(this,Request);return Qe(this[be].url)}get headers(){we.brandCheck(this,Request);return this[ye]}get destination(){we.brandCheck(this,Request);return this[be].destination}get referrer(){we.brandCheck(this,Request);if(this[be].referrer==="no-referrer"){return""}if(this[be].referrer==="client"){return"about:client"}return this[be].referrer.toString()}get referrerPolicy(){we.brandCheck(this,Request);return this[be].referrerPolicy}get mode(){we.brandCheck(this,Request);return this[be].mode}get credentials(){return this[be].credentials}get cache(){we.brandCheck(this,Request);return this[be].cache}get redirect(){we.brandCheck(this,Request);return this[be].redirect}get integrity(){we.brandCheck(this,Request);return this[be].integrity}get keepalive(){we.brandCheck(this,Request);return this[be].keepalive}get isReloadNavigation(){we.brandCheck(this,Request);return this[be].reloadNavigation}get isHistoryNavigation(){we.brandCheck(this,Request);return this[be].historyNavigation}get signal(){we.brandCheck(this,Request);return this[Ce]}get body(){we.brandCheck(this,Request);return this[be].body?this[be].body.stream:null}get bodyUsed(){we.brandCheck(this,Request);return!!this[be].body&&ie.isDisturbed(this[be].body.stream)}get duplex(){we.brandCheck(this,Request);return"half"}clone(){we.brandCheck(this,Request);if(this.bodyUsed||this.body?.locked){throw new TypeError("unusable")}const i=cloneRequest(this[be]);const d=new Request(Re);d[be]=i;d[Be]=this[Be];d[ye]=new ee(Re);d[ye][ve]=i.headersList;d[ye][Ie]=this[ye][Ie];d[ye][Be]=this[ye][Be];const p=new AbortController;if(this.signal.aborted){p.abort(this.signal.reason)}else{ie.addAbortListener(this.signal,(()=>{p.abort(this.signal.reason)}))}d[Ce]=p.signal;return d}}V(Request);function makeRequest(i){const d={method:"GET",localURLsOnly:false,unsafeRequest:false,body:null,client:null,reservedClient:null,replacesClientId:"",window:"client",keepalive:false,serviceWorkers:"all",initiator:"",destination:"",priority:null,origin:"client",policyContainer:"client",referrer:"client",referrerPolicy:"",mode:"no-cors",useCORSPreflightFlag:false,credentials:"same-origin",useCredentials:false,cache:"default",redirect:"follow",integrity:"",cryptoGraphicsNonceMetadata:"",parserMetadata:"",reloadNavigation:false,historyNavigation:false,userActivation:false,taintedOrigin:false,redirectCount:0,responseTainting:"basic",preventNoCacheCacheControlHeaderModification:false,done:false,timingAllowFailed:false,...i,headersList:i.headersList?new re(i.headersList):new re};d.url=d.urlList[0];return d}function cloneRequest(i){const d=makeRequest({...i,body:null});if(i.body!=null){d.body=K(i.body)}return d}Object.defineProperties(Request.prototype,{method:Ee,url:Ee,headers:Ee,redirect:Ee,clone:Ee,signal:Ee,duplex:Ee,destination:Ee,body:Ee,bodyUsed:Ee,isHistoryNavigation:Ee,isReloadNavigation:Ee,keepalive:Ee,integrity:Ee,cache:Ee,credentials:Ee,attribute:Ee,referrerPolicy:Ee,referrer:Ee,mode:Ee,[Symbol.toStringTag]:{value:"Request",configurable:true}});we.converters.Request=we.interfaceConverter(Request);we.converters.RequestInfo=function(i){if(typeof i==="string"){return we.converters.USVString(i)}if(i instanceof Request){return we.converters.Request(i)}return we.converters.USVString(i)};we.converters.AbortSignal=we.interfaceConverter(AbortSignal);we.converters.RequestInit=we.dictionaryConverter([{key:"method",converter:we.converters.ByteString},{key:"headers",converter:we.converters.HeadersInit},{key:"body",converter:we.nullableConverter(we.converters.BodyInit)},{key:"referrer",converter:we.converters.USVString},{key:"referrerPolicy",converter:we.converters.DOMString,allowedValues:de},{key:"mode",converter:we.converters.DOMString,allowedValues:fe},{key:"credentials",converter:we.converters.DOMString,allowedValues:he},{key:"cache",converter:we.converters.DOMString,allowedValues:ge},{key:"redirect",converter:we.converters.DOMString,allowedValues:pe},{key:"integrity",converter:we.converters.DOMString},{key:"keepalive",converter:we.converters.boolean},{key:"signal",converter:we.nullableConverter((i=>we.converters.AbortSignal(i,{strict:false})))},{key:"window",converter:we.converters.any},{key:"duplex",converter:we.converters.DOMString,allowedValues:me}]);i.exports={Request:Request,makeRequest:makeRequest}},48676:(i,d,p)=>{const{Headers:v,HeadersList:V,fill:K}=p(26349);const{extractBody:ee,cloneBody:te,mixinBody:re}=p(8923);const ne=p(3440);const{kEnumerableProperty:ie}=ne;const{isValidReasonPhrase:se,isCancelled:oe,isAborted:ae,isBlobLike:ce,serializeJavascriptValueToJSONString:le,isErrorLike:ue,isomorphicEncode:Ae}=p(15523);const{redirectStatusSet:de,nullBodyStatus:pe,DOMException:fe}=p(87326);const{kState:he,kHeaders:ge,kGuard:me,kRealm:Ee}=p(89710);const{webidl:ye}=p(74222);const{FormData:Ce}=p(43073);const{getGlobalOrigin:be}=p(75628);const{URLSerializer:Ie}=p(94322);const{kHeadersList:Be,kConstruct:we}=p(36443);const Se=p(42613);const{types:Qe}=p(39023);const ve=globalThis.ReadableStream||p(63774).ReadableStream;const Re=new TextEncoder("utf-8");class Response{static error(){const i={settingsObject:{}};const d=new Response;d[he]=makeNetworkError();d[Ee]=i;d[ge][Be]=d[he].headersList;d[ge][me]="immutable";d[ge][Ee]=i;return d}static json(i,d={}){ye.argumentLengthCheck(arguments,1,{header:"Response.json"});if(d!==null){d=ye.converters.ResponseInit(d)}const p=Re.encode(le(i));const v=ee(p);const V={settingsObject:{}};const K=new Response;K[Ee]=V;K[ge][me]="response";K[ge][Ee]=V;initializeResponse(K,d,{body:v[0],type:"application/json"});return K}static redirect(i,d=302){const p={settingsObject:{}};ye.argumentLengthCheck(arguments,1,{header:"Response.redirect"});i=ye.converters.USVString(i);d=ye.converters["unsigned short"](d);let v;try{v=new URL(i,be())}catch(d){throw Object.assign(new TypeError("Failed to parse URL from "+i),{cause:d})}if(!de.has(d)){throw new RangeError("Invalid status code "+d)}const V=new Response;V[Ee]=p;V[ge][me]="immutable";V[ge][Ee]=p;V[he].status=d;const K=Ae(Ie(v));V[he].headersList.append("location",K);return V}constructor(i=null,d={}){if(i!==null){i=ye.converters.BodyInit(i)}d=ye.converters.ResponseInit(d);this[Ee]={settingsObject:{}};this[he]=makeResponse({});this[ge]=new v(we);this[ge][me]="response";this[ge][Be]=this[he].headersList;this[ge][Ee]=this[Ee];let p=null;if(i!=null){const[d,v]=ee(i);p={body:d,type:v}}initializeResponse(this,d,p)}get type(){ye.brandCheck(this,Response);return this[he].type}get url(){ye.brandCheck(this,Response);const i=this[he].urlList;const d=i[i.length-1]??null;if(d===null){return""}return Ie(d,true)}get redirected(){ye.brandCheck(this,Response);return this[he].urlList.length>1}get status(){ye.brandCheck(this,Response);return this[he].status}get ok(){ye.brandCheck(this,Response);return this[he].status>=200&&this[he].status<=299}get statusText(){ye.brandCheck(this,Response);return this[he].statusText}get headers(){ye.brandCheck(this,Response);return this[ge]}get body(){ye.brandCheck(this,Response);return this[he].body?this[he].body.stream:null}get bodyUsed(){ye.brandCheck(this,Response);return!!this[he].body&&ne.isDisturbed(this[he].body.stream)}clone(){ye.brandCheck(this,Response);if(this.bodyUsed||this.body&&this.body.locked){throw ye.errors.exception({header:"Response.clone",message:"Body has already been consumed."})}const i=cloneResponse(this[he]);const d=new Response;d[he]=i;d[Ee]=this[Ee];d[ge][Be]=i.headersList;d[ge][me]=this[ge][me];d[ge][Ee]=this[ge][Ee];return d}}re(Response);Object.defineProperties(Response.prototype,{type:ie,url:ie,status:ie,ok:ie,redirected:ie,statusText:ie,headers:ie,clone:ie,body:ie,bodyUsed:ie,[Symbol.toStringTag]:{value:"Response",configurable:true}});Object.defineProperties(Response,{json:ie,redirect:ie,error:ie});function cloneResponse(i){if(i.internalResponse){return filterResponse(cloneResponse(i.internalResponse),i.type)}const d=makeResponse({...i,body:null});if(i.body!=null){d.body=te(i.body)}return d}function makeResponse(i){return{aborted:false,rangeRequested:false,timingAllowPassed:false,requestIncludesCredentials:false,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...i,headersList:i.headersList?new V(i.headersList):new V,urlList:i.urlList?[...i.urlList]:[]}}function makeNetworkError(i){const d=ue(i);return makeResponse({type:"error",status:0,error:d?i:new Error(i?String(i):i),aborted:i&&i.name==="AbortError"})}function makeFilteredResponse(i,d){d={internalResponse:i,...d};return new Proxy(i,{get(i,p){return p in d?d[p]:i[p]},set(i,p,v){Se(!(p in d));i[p]=v;return true}})}function filterResponse(i,d){if(d==="basic"){return makeFilteredResponse(i,{type:"basic",headersList:i.headersList})}else if(d==="cors"){return makeFilteredResponse(i,{type:"cors",headersList:i.headersList})}else if(d==="opaque"){return makeFilteredResponse(i,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null})}else if(d==="opaqueredirect"){return makeFilteredResponse(i,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null})}else{Se(false)}}function makeAppropriateNetworkError(i,d=null){Se(oe(i));return ae(i)?makeNetworkError(Object.assign(new fe("The operation was aborted.","AbortError"),{cause:d})):makeNetworkError(Object.assign(new fe("Request was cancelled."),{cause:d}))}function initializeResponse(i,d,p){if(d.status!==null&&(d.status<200||d.status>599)){throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.')}if("statusText"in d&&d.statusText!=null){if(!se(String(d.statusText))){throw new TypeError("Invalid statusText")}}if("status"in d&&d.status!=null){i[he].status=d.status}if("statusText"in d&&d.statusText!=null){i[he].statusText=d.statusText}if("headers"in d&&d.headers!=null){K(i[ge],d.headers)}if(p){if(pe.includes(i.status)){throw ye.errors.exception({header:"Response constructor",message:"Invalid response status code "+i.status})}i[he].body=p.body;if(p.type!=null&&!i[he].headersList.contains("Content-Type")){i[he].headersList.append("content-type",p.type)}}}ye.converters.ReadableStream=ye.interfaceConverter(ve);ye.converters.FormData=ye.interfaceConverter(Ce);ye.converters.URLSearchParams=ye.interfaceConverter(URLSearchParams);ye.converters.XMLHttpRequestBodyInit=function(i){if(typeof i==="string"){return ye.converters.USVString(i)}if(ce(i)){return ye.converters.Blob(i,{strict:false})}if(Qe.isArrayBuffer(i)||Qe.isTypedArray(i)||Qe.isDataView(i)){return ye.converters.BufferSource(i)}if(ne.isFormDataLike(i)){return ye.converters.FormData(i,{strict:false})}if(i instanceof URLSearchParams){return ye.converters.URLSearchParams(i)}return ye.converters.DOMString(i)};ye.converters.BodyInit=function(i){if(i instanceof ve){return ye.converters.ReadableStream(i)}if(i?.[Symbol.asyncIterator]){return i}return ye.converters.XMLHttpRequestBodyInit(i)};ye.converters.ResponseInit=ye.dictionaryConverter([{key:"status",converter:ye.converters["unsigned short"],defaultValue:200},{key:"statusText",converter:ye.converters.ByteString,defaultValue:""},{key:"headers",converter:ye.converters.HeadersInit}]);i.exports={makeNetworkError:makeNetworkError,makeResponse:makeResponse,makeAppropriateNetworkError:makeAppropriateNetworkError,filterResponse:filterResponse,Response:Response,cloneResponse:cloneResponse}},89710:i=>{i.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kGuard:Symbol("guard"),kRealm:Symbol("realm")}},15523:(i,d,p)=>{const{redirectStatusSet:v,referrerPolicySet:V,badPortsSet:K}=p(87326);const{getGlobalOrigin:ee}=p(75628);const{performance:te}=p(82987);const{isBlobLike:re,toUSVString:ne,ReadableStreamFrom:ie}=p(3440);const se=p(42613);const{isUint8Array:oe}=p(98253);let ae=[];let ce;try{ce=p(76982);const i=["sha256","sha384","sha512"];ae=ce.getHashes().filter((d=>i.includes(d)))}catch{}function responseURL(i){const d=i.urlList;const p=d.length;return p===0?null:d[p-1].toString()}function responseLocationURL(i,d){if(!v.has(i.status)){return null}let p=i.headersList.get("location");if(p!==null&&isValidHeaderValue(p)){p=new URL(p,responseURL(i))}if(p&&!p.hash){p.hash=d}return p}function requestCurrentURL(i){return i.urlList[i.urlList.length-1]}function requestBadPort(i){const d=requestCurrentURL(i);if(urlIsHttpHttpsScheme(d)&&K.has(d.port)){return"blocked"}return"allowed"}function isErrorLike(i){return i instanceof Error||(i?.constructor?.name==="Error"||i?.constructor?.name==="DOMException")}function isValidReasonPhrase(i){for(let d=0;d=32&&p<=126||p>=128&&p<=255)){return false}}return true}function isTokenCharCode(i){switch(i){case 34:case 40:case 41:case 44:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 123:case 125:return false;default:return i>=33&&i<=126}}function isValidHTTPToken(i){if(i.length===0){return false}for(let d=0;d0){for(let i=v.length;i!==0;i--){const d=v[i-1].trim();if(V.has(d)){K=d;break}}}if(K!==""){i.referrerPolicy=K}}function crossOriginResourcePolicyCheck(){return"allowed"}function corsCheck(){return"success"}function TAOCheck(){return"success"}function appendFetchMetadata(i){let d=null;d=i.mode;i.headersList.set("sec-fetch-mode",d)}function appendRequestOriginHeader(i){let d=i.origin;if(i.responseTainting==="cors"||i.mode==="websocket"){if(d){i.headersList.append("origin",d)}}else if(i.method!=="GET"&&i.method!=="HEAD"){switch(i.referrerPolicy){case"no-referrer":d=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":if(i.origin&&urlHasHttpsScheme(i.origin)&&!urlHasHttpsScheme(requestCurrentURL(i))){d=null}break;case"same-origin":if(!sameOrigin(i,requestCurrentURL(i))){d=null}break;default:}if(d){i.headersList.append("origin",d)}}}function coarsenedSharedCurrentTime(i){return te.now()}function createOpaqueTimingInfo(i){return{startTime:i.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:i.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}}function makePolicyContainer(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function clonePolicyContainer(i){return{referrerPolicy:i.referrerPolicy}}function determineRequestsReferrer(i){const d=i.referrerPolicy;se(d);let p=null;if(i.referrer==="client"){const i=ee();if(!i||i.origin==="null"){return"no-referrer"}p=new URL(i)}else if(i.referrer instanceof URL){p=i.referrer}let v=stripURLForReferrer(p);const V=stripURLForReferrer(p,true);if(v.toString().length>4096){v=V}const K=sameOrigin(i,v);const te=isURLPotentiallyTrustworthy(v)&&!isURLPotentiallyTrustworthy(i.url);switch(d){case"origin":return V!=null?V:stripURLForReferrer(p,true);case"unsafe-url":return v;case"same-origin":return K?V:"no-referrer";case"origin-when-cross-origin":return K?v:V;case"strict-origin-when-cross-origin":{const d=requestCurrentURL(i);if(sameOrigin(v,d)){return v}if(isURLPotentiallyTrustworthy(v)&&!isURLPotentiallyTrustworthy(d)){return"no-referrer"}return V}case"strict-origin":case"no-referrer-when-downgrade":default:return te?"no-referrer":V}}function stripURLForReferrer(i,d){se(i instanceof URL);if(i.protocol==="file:"||i.protocol==="about:"||i.protocol==="blank:"){return"no-referrer"}i.username="";i.password="";i.hash="";if(d){i.pathname="";i.search=""}return i}function isURLPotentiallyTrustworthy(i){if(!(i instanceof URL)){return false}if(i.href==="about:blank"||i.href==="about:srcdoc"){return true}if(i.protocol==="data:")return true;if(i.protocol==="file:")return true;return isOriginPotentiallyTrustworthy(i.origin);function isOriginPotentiallyTrustworthy(i){if(i==null||i==="null")return false;const d=new URL(i);if(d.protocol==="https:"||d.protocol==="wss:"){return true}if(/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(d.hostname)||(d.hostname==="localhost"||d.hostname.includes("localhost."))||d.hostname.endsWith(".localhost")){return true}return false}}function bytesMatch(i,d){if(ce===undefined){return true}const p=parseMetadata(d);if(p==="no metadata"){return true}if(p.length===0){return true}const v=getStrongestMetadata(p);const V=filterMetadataListByAlgorithm(p,v);for(const d of V){const p=d.algo;const v=d.hash;let V=ce.createHash(p).update(i).digest("base64");if(V[V.length-1]==="="){if(V[V.length-2]==="="){V=V.slice(0,-2)}else{V=V.slice(0,-1)}}if(compareBase64Mixed(V,v)){return true}}return false}const le=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function parseMetadata(i){const d=[];let p=true;for(const v of i.split(" ")){p=false;const i=le.exec(v);if(i===null||i.groups===undefined||i.groups.algo===undefined){continue}const V=i.groups.algo.toLowerCase();if(ae.includes(V)){d.push(i.groups)}}if(p===true){return"no metadata"}return d}function getStrongestMetadata(i){let d=i[0].algo;if(d[3]==="5"){return d}for(let p=1;p{i=p;d=v}));return{promise:p,resolve:i,reject:d}}function isAborted(i){return i.controller.state==="aborted"}function isCancelled(i){return i.controller.state==="aborted"||i.controller.state==="terminated"}const ue={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"};Object.setPrototypeOf(ue,null);function normalizeMethod(i){return ue[i.toLowerCase()]??i}function serializeJavascriptValueToJSONString(i){const d=JSON.stringify(i);if(d===undefined){throw new TypeError("Value is not JSON serializable")}se(typeof d==="string");return d}const Ae=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function makeIterator(i,d,p){const v={index:0,kind:p,target:i};const V={next(){if(Object.getPrototypeOf(this)!==V){throw new TypeError(`'next' called on an object that does not implement interface ${d} Iterator.`)}const{index:i,kind:p,target:K}=v;const ee=K();const te=ee.length;if(i>=te){return{value:undefined,done:true}}const re=ee[i];v.index=i+1;return iteratorResult(re,p)},[Symbol.toStringTag]:`${d} Iterator`};Object.setPrototypeOf(V,Ae);return Object.setPrototypeOf({},V)}function iteratorResult(i,d){let p;switch(d){case"key":{p=i[0];break}case"value":{p=i[1];break}case"key+value":{p=i;break}}return{value:p,done:false}}async function fullyReadBody(i,d,p){const v=d;const V=p;let K;try{K=i.stream.getReader()}catch(i){V(i);return}try{const i=await readAllBytes(K);v(i)}catch(i){V(i)}}let de=globalThis.ReadableStream;function isReadableStreamLike(i){if(!de){de=p(63774).ReadableStream}return i instanceof de||i[Symbol.toStringTag]==="ReadableStream"&&typeof i.tee==="function"}const pe=65535;function isomorphicDecode(i){if(i.lengthi+String.fromCharCode(d)),"")}function readableStreamClose(i){try{i.close()}catch(i){if(!i.message.includes("Controller is already closed")){throw i}}}function isomorphicEncode(i){for(let d=0;dObject.prototype.hasOwnProperty.call(i,d));i.exports={isAborted:isAborted,isCancelled:isCancelled,createDeferredPromise:createDeferredPromise,ReadableStreamFrom:ie,toUSVString:ne,tryUpgradeRequestToAPotentiallyTrustworthyURL:tryUpgradeRequestToAPotentiallyTrustworthyURL,coarsenedSharedCurrentTime:coarsenedSharedCurrentTime,determineRequestsReferrer:determineRequestsReferrer,makePolicyContainer:makePolicyContainer,clonePolicyContainer:clonePolicyContainer,appendFetchMetadata:appendFetchMetadata,appendRequestOriginHeader:appendRequestOriginHeader,TAOCheck:TAOCheck,corsCheck:corsCheck,crossOriginResourcePolicyCheck:crossOriginResourcePolicyCheck,createOpaqueTimingInfo:createOpaqueTimingInfo,setRequestReferrerPolicyOnRedirect:setRequestReferrerPolicyOnRedirect,isValidHTTPToken:isValidHTTPToken,requestBadPort:requestBadPort,requestCurrentURL:requestCurrentURL,responseURL:responseURL,responseLocationURL:responseLocationURL,isBlobLike:re,isURLPotentiallyTrustworthy:isURLPotentiallyTrustworthy,isValidReasonPhrase:isValidReasonPhrase,sameOrigin:sameOrigin,normalizeMethod:normalizeMethod,serializeJavascriptValueToJSONString:serializeJavascriptValueToJSONString,makeIterator:makeIterator,isValidHeaderName:isValidHeaderName,isValidHeaderValue:isValidHeaderValue,hasOwn:fe,isErrorLike:isErrorLike,fullyReadBody:fullyReadBody,bytesMatch:bytesMatch,isReadableStreamLike:isReadableStreamLike,readableStreamClose:readableStreamClose,isomorphicEncode:isomorphicEncode,isomorphicDecode:isomorphicDecode,urlIsLocal:urlIsLocal,urlHasHttpsScheme:urlHasHttpsScheme,urlIsHttpHttpsScheme:urlIsHttpHttpsScheme,readAllBytes:readAllBytes,normalizeMethodRecord:ue,parseMetadata:parseMetadata}},74222:(i,d,p)=>{const{types:v}=p(39023);const{hasOwn:V,toUSVString:K}=p(15523);const ee={};ee.converters={};ee.util={};ee.errors={};ee.errors.exception=function(i){return new TypeError(`${i.header}: ${i.message}`)};ee.errors.conversionFailed=function(i){const d=i.types.length===1?"":" one of";const p=`${i.argument} could not be converted to`+`${d}: ${i.types.join(", ")}.`;return ee.errors.exception({header:i.prefix,message:p})};ee.errors.invalidArgument=function(i){return ee.errors.exception({header:i.prefix,message:`"${i.value}" is an invalid ${i.type}.`})};ee.brandCheck=function(i,d,p=undefined){if(p?.strict!==false&&!(i instanceof d)){throw new TypeError("Illegal invocation")}else{return i?.[Symbol.toStringTag]===d.prototype[Symbol.toStringTag]}};ee.argumentLengthCheck=function({length:i},d,p){if(iV){throw ee.errors.exception({header:"Integer conversion",message:`Value must be between ${K}-${V}, got ${te}.`})}return te}if(!Number.isNaN(te)&&v.clamp===true){te=Math.min(Math.max(te,K),V);if(Math.floor(te)%2===0){te=Math.floor(te)}else{te=Math.ceil(te)}return te}if(Number.isNaN(te)||te===0&&Object.is(0,te)||te===Number.POSITIVE_INFINITY||te===Number.NEGATIVE_INFINITY){return 0}te=ee.util.IntegerPart(te);te=te%Math.pow(2,d);if(p==="signed"&&te>=Math.pow(2,d)-1){return te-Math.pow(2,d)}return te};ee.util.IntegerPart=function(i){const d=Math.floor(Math.abs(i));if(i<0){return-1*d}return d};ee.sequenceConverter=function(i){return d=>{if(ee.util.Type(d)!=="Object"){throw ee.errors.exception({header:"Sequence",message:`Value of type ${ee.util.Type(d)} is not an Object.`})}const p=d?.[Symbol.iterator]?.();const v=[];if(p===undefined||typeof p.next!=="function"){throw ee.errors.exception({header:"Sequence",message:"Object is not an iterator."})}while(true){const{done:d,value:V}=p.next();if(d){break}v.push(i(V))}return v}};ee.recordConverter=function(i,d){return p=>{if(ee.util.Type(p)!=="Object"){throw ee.errors.exception({header:"Record",message:`Value of type ${ee.util.Type(p)} is not an Object.`})}const V={};if(!v.isProxy(p)){const v=Object.keys(p);for(const K of v){const v=i(K);const ee=d(p[K]);V[v]=ee}return V}const K=Reflect.ownKeys(p);for(const v of K){const K=Reflect.getOwnPropertyDescriptor(p,v);if(K?.enumerable){const K=i(v);const ee=d(p[v]);V[K]=ee}}return V}};ee.interfaceConverter=function(i){return(d,p={})=>{if(p.strict!==false&&!(d instanceof i)){throw ee.errors.exception({header:i.name,message:`Expected ${d} to be an instance of ${i.name}.`})}return d}};ee.dictionaryConverter=function(i){return d=>{const p=ee.util.Type(d);const v={};if(p==="Null"||p==="Undefined"){return v}else if(p!=="Object"){throw ee.errors.exception({header:"Dictionary",message:`Expected ${d} to be one of: Null, Undefined, Object.`})}for(const p of i){const{key:i,defaultValue:K,required:te,converter:re}=p;if(te===true){if(!V(d,i)){throw ee.errors.exception({header:"Dictionary",message:`Missing required key "${i}".`})}}let ne=d[i];const ie=V(p,"defaultValue");if(ie&&ne!==null){ne=ne??K}if(te||ie||ne!==undefined){ne=re(ne);if(p.allowedValues&&!p.allowedValues.includes(ne)){throw ee.errors.exception({header:"Dictionary",message:`${ne} is not an accepted type. Expected one of ${p.allowedValues.join(", ")}.`})}v[i]=ne}}return v}};ee.nullableConverter=function(i){return d=>{if(d===null){return d}return i(d)}};ee.converters.DOMString=function(i,d={}){if(i===null&&d.legacyNullToEmptyString){return""}if(typeof i==="symbol"){throw new TypeError("Could not convert argument of type symbol to string.")}return String(i)};ee.converters.ByteString=function(i){const d=ee.converters.DOMString(i);for(let i=0;i255){throw new TypeError("Cannot convert argument to a ByteString because the character at "+`index ${i} has a value of ${d.charCodeAt(i)} which is greater than 255.`)}}return d};ee.converters.USVString=K;ee.converters.boolean=function(i){const d=Boolean(i);return d};ee.converters.any=function(i){return i};ee.converters["long long"]=function(i){const d=ee.util.ConvertToInt(i,64,"signed");return d};ee.converters["unsigned long long"]=function(i){const d=ee.util.ConvertToInt(i,64,"unsigned");return d};ee.converters["unsigned long"]=function(i){const d=ee.util.ConvertToInt(i,32,"unsigned");return d};ee.converters["unsigned short"]=function(i,d){const p=ee.util.ConvertToInt(i,16,"unsigned",d);return p};ee.converters.ArrayBuffer=function(i,d={}){if(ee.util.Type(i)!=="Object"||!v.isAnyArrayBuffer(i)){throw ee.errors.conversionFailed({prefix:`${i}`,argument:`${i}`,types:["ArrayBuffer"]})}if(d.allowShared===false&&v.isSharedArrayBuffer(i)){throw ee.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return i};ee.converters.TypedArray=function(i,d,p={}){if(ee.util.Type(i)!=="Object"||!v.isTypedArray(i)||i.constructor.name!==d.name){throw ee.errors.conversionFailed({prefix:`${d.name}`,argument:`${i}`,types:[d.name]})}if(p.allowShared===false&&v.isSharedArrayBuffer(i.buffer)){throw ee.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return i};ee.converters.DataView=function(i,d={}){if(ee.util.Type(i)!=="Object"||!v.isDataView(i)){throw ee.errors.exception({header:"DataView",message:"Object is not a DataView."})}if(d.allowShared===false&&v.isSharedArrayBuffer(i.buffer)){throw ee.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return i};ee.converters.BufferSource=function(i,d={}){if(v.isAnyArrayBuffer(i)){return ee.converters.ArrayBuffer(i,d)}if(v.isTypedArray(i)){return ee.converters.TypedArray(i,i.constructor)}if(v.isDataView(i)){return ee.converters.DataView(i,d)}throw new TypeError(`Could not convert ${i} to a BufferSource.`)};ee.converters["sequence"]=ee.sequenceConverter(ee.converters.ByteString);ee.converters["sequence>"]=ee.sequenceConverter(ee.converters["sequence"]);ee.converters["record"]=ee.recordConverter(ee.converters.ByteString,ee.converters.ByteString);i.exports={webidl:ee}},40396:i=>{function getEncoding(i){if(!i){return"failure"}switch(i.trim().toLowerCase()){case"unicode-1-1-utf-8":case"unicode11utf8":case"unicode20utf8":case"utf-8":case"utf8":case"x-unicode20utf8":return"UTF-8";case"866":case"cp866":case"csibm866":case"ibm866":return"IBM866";case"csisolatin2":case"iso-8859-2":case"iso-ir-101":case"iso8859-2":case"iso88592":case"iso_8859-2":case"iso_8859-2:1987":case"l2":case"latin2":return"ISO-8859-2";case"csisolatin3":case"iso-8859-3":case"iso-ir-109":case"iso8859-3":case"iso88593":case"iso_8859-3":case"iso_8859-3:1988":case"l3":case"latin3":return"ISO-8859-3";case"csisolatin4":case"iso-8859-4":case"iso-ir-110":case"iso8859-4":case"iso88594":case"iso_8859-4":case"iso_8859-4:1988":case"l4":case"latin4":return"ISO-8859-4";case"csisolatincyrillic":case"cyrillic":case"iso-8859-5":case"iso-ir-144":case"iso8859-5":case"iso88595":case"iso_8859-5":case"iso_8859-5:1988":return"ISO-8859-5";case"arabic":case"asmo-708":case"csiso88596e":case"csiso88596i":case"csisolatinarabic":case"ecma-114":case"iso-8859-6":case"iso-8859-6-e":case"iso-8859-6-i":case"iso-ir-127":case"iso8859-6":case"iso88596":case"iso_8859-6":case"iso_8859-6:1987":return"ISO-8859-6";case"csisolatingreek":case"ecma-118":case"elot_928":case"greek":case"greek8":case"iso-8859-7":case"iso-ir-126":case"iso8859-7":case"iso88597":case"iso_8859-7":case"iso_8859-7:1987":case"sun_eu_greek":return"ISO-8859-7";case"csiso88598e":case"csisolatinhebrew":case"hebrew":case"iso-8859-8":case"iso-8859-8-e":case"iso-ir-138":case"iso8859-8":case"iso88598":case"iso_8859-8":case"iso_8859-8:1988":case"visual":return"ISO-8859-8";case"csiso88598i":case"iso-8859-8-i":case"logical":return"ISO-8859-8-I";case"csisolatin6":case"iso-8859-10":case"iso-ir-157":case"iso8859-10":case"iso885910":case"l6":case"latin6":return"ISO-8859-10";case"iso-8859-13":case"iso8859-13":case"iso885913":return"ISO-8859-13";case"iso-8859-14":case"iso8859-14":case"iso885914":return"ISO-8859-14";case"csisolatin9":case"iso-8859-15":case"iso8859-15":case"iso885915":case"iso_8859-15":case"l9":return"ISO-8859-15";case"iso-8859-16":return"ISO-8859-16";case"cskoi8r":case"koi":case"koi8":case"koi8-r":case"koi8_r":return"KOI8-R";case"koi8-ru":case"koi8-u":return"KOI8-U";case"csmacintosh":case"mac":case"macintosh":case"x-mac-roman":return"macintosh";case"iso-8859-11":case"iso8859-11":case"iso885911":case"tis-620":case"windows-874":return"windows-874";case"cp1250":case"windows-1250":case"x-cp1250":return"windows-1250";case"cp1251":case"windows-1251":case"x-cp1251":return"windows-1251";case"ansi_x3.4-1968":case"ascii":case"cp1252":case"cp819":case"csisolatin1":case"ibm819":case"iso-8859-1":case"iso-ir-100":case"iso8859-1":case"iso88591":case"iso_8859-1":case"iso_8859-1:1987":case"l1":case"latin1":case"us-ascii":case"windows-1252":case"x-cp1252":return"windows-1252";case"cp1253":case"windows-1253":case"x-cp1253":return"windows-1253";case"cp1254":case"csisolatin5":case"iso-8859-9":case"iso-ir-148":case"iso8859-9":case"iso88599":case"iso_8859-9":case"iso_8859-9:1989":case"l5":case"latin5":case"windows-1254":case"x-cp1254":return"windows-1254";case"cp1255":case"windows-1255":case"x-cp1255":return"windows-1255";case"cp1256":case"windows-1256":case"x-cp1256":return"windows-1256";case"cp1257":case"windows-1257":case"x-cp1257":return"windows-1257";case"cp1258":case"windows-1258":case"x-cp1258":return"windows-1258";case"x-mac-cyrillic":case"x-mac-ukrainian":return"x-mac-cyrillic";case"chinese":case"csgb2312":case"csiso58gb231280":case"gb2312":case"gb_2312":case"gb_2312-80":case"gbk":case"iso-ir-58":case"x-gbk":return"GBK";case"gb18030":return"gb18030";case"big5":case"big5-hkscs":case"cn-big5":case"csbig5":case"x-x-big5":return"Big5";case"cseucpkdfmtjapanese":case"euc-jp":case"x-euc-jp":return"EUC-JP";case"csiso2022jp":case"iso-2022-jp":return"ISO-2022-JP";case"csshiftjis":case"ms932":case"ms_kanji":case"shift-jis":case"shift_jis":case"sjis":case"windows-31j":case"x-sjis":return"Shift_JIS";case"cseuckr":case"csksc56011987":case"euc-kr":case"iso-ir-149":case"korean":case"ks_c_5601-1987":case"ks_c_5601-1989":case"ksc5601":case"ksc_5601":case"windows-949":return"EUC-KR";case"csiso2022kr":case"hz-gb-2312":case"iso-2022-cn":case"iso-2022-cn-ext":case"iso-2022-kr":case"replacement":return"replacement";case"unicodefffe":case"utf-16be":return"UTF-16BE";case"csunicode":case"iso-10646-ucs-2":case"ucs-2":case"unicode":case"unicodefeff":case"utf-16":case"utf-16le":return"UTF-16LE";case"x-user-defined":return"x-user-defined";default:return"failure"}}i.exports={getEncoding:getEncoding}},82160:(i,d,p)=>{const{staticPropertyDescriptors:v,readOperation:V,fireAProgressEvent:K}=p(10165);const{kState:ee,kError:te,kResult:re,kEvents:ne,kAborted:ie}=p(86812);const{webidl:se}=p(74222);const{kEnumerableProperty:oe}=p(3440);class FileReader extends EventTarget{constructor(){super();this[ee]="empty";this[re]=null;this[te]=null;this[ne]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(i){se.brandCheck(this,FileReader);se.argumentLengthCheck(arguments,1,{header:"FileReader.readAsArrayBuffer"});i=se.converters.Blob(i,{strict:false});V(this,i,"ArrayBuffer")}readAsBinaryString(i){se.brandCheck(this,FileReader);se.argumentLengthCheck(arguments,1,{header:"FileReader.readAsBinaryString"});i=se.converters.Blob(i,{strict:false});V(this,i,"BinaryString")}readAsText(i,d=undefined){se.brandCheck(this,FileReader);se.argumentLengthCheck(arguments,1,{header:"FileReader.readAsText"});i=se.converters.Blob(i,{strict:false});if(d!==undefined){d=se.converters.DOMString(d)}V(this,i,"Text",d)}readAsDataURL(i){se.brandCheck(this,FileReader);se.argumentLengthCheck(arguments,1,{header:"FileReader.readAsDataURL"});i=se.converters.Blob(i,{strict:false});V(this,i,"DataURL")}abort(){if(this[ee]==="empty"||this[ee]==="done"){this[re]=null;return}if(this[ee]==="loading"){this[ee]="done";this[re]=null}this[ie]=true;K("abort",this);if(this[ee]!=="loading"){K("loadend",this)}}get readyState(){se.brandCheck(this,FileReader);switch(this[ee]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){se.brandCheck(this,FileReader);return this[re]}get error(){se.brandCheck(this,FileReader);return this[te]}get onloadend(){se.brandCheck(this,FileReader);return this[ne].loadend}set onloadend(i){se.brandCheck(this,FileReader);if(this[ne].loadend){this.removeEventListener("loadend",this[ne].loadend)}if(typeof i==="function"){this[ne].loadend=i;this.addEventListener("loadend",i)}else{this[ne].loadend=null}}get onerror(){se.brandCheck(this,FileReader);return this[ne].error}set onerror(i){se.brandCheck(this,FileReader);if(this[ne].error){this.removeEventListener("error",this[ne].error)}if(typeof i==="function"){this[ne].error=i;this.addEventListener("error",i)}else{this[ne].error=null}}get onloadstart(){se.brandCheck(this,FileReader);return this[ne].loadstart}set onloadstart(i){se.brandCheck(this,FileReader);if(this[ne].loadstart){this.removeEventListener("loadstart",this[ne].loadstart)}if(typeof i==="function"){this[ne].loadstart=i;this.addEventListener("loadstart",i)}else{this[ne].loadstart=null}}get onprogress(){se.brandCheck(this,FileReader);return this[ne].progress}set onprogress(i){se.brandCheck(this,FileReader);if(this[ne].progress){this.removeEventListener("progress",this[ne].progress)}if(typeof i==="function"){this[ne].progress=i;this.addEventListener("progress",i)}else{this[ne].progress=null}}get onload(){se.brandCheck(this,FileReader);return this[ne].load}set onload(i){se.brandCheck(this,FileReader);if(this[ne].load){this.removeEventListener("load",this[ne].load)}if(typeof i==="function"){this[ne].load=i;this.addEventListener("load",i)}else{this[ne].load=null}}get onabort(){se.brandCheck(this,FileReader);return this[ne].abort}set onabort(i){se.brandCheck(this,FileReader);if(this[ne].abort){this.removeEventListener("abort",this[ne].abort)}if(typeof i==="function"){this[ne].abort=i;this.addEventListener("abort",i)}else{this[ne].abort=null}}}FileReader.EMPTY=FileReader.prototype.EMPTY=0;FileReader.LOADING=FileReader.prototype.LOADING=1;FileReader.DONE=FileReader.prototype.DONE=2;Object.defineProperties(FileReader.prototype,{EMPTY:v,LOADING:v,DONE:v,readAsArrayBuffer:oe,readAsBinaryString:oe,readAsText:oe,readAsDataURL:oe,abort:oe,readyState:oe,result:oe,error:oe,onloadstart:oe,onprogress:oe,onload:oe,onabort:oe,onerror:oe,onloadend:oe,[Symbol.toStringTag]:{value:"FileReader",writable:false,enumerable:false,configurable:true}});Object.defineProperties(FileReader,{EMPTY:v,LOADING:v,DONE:v});i.exports={FileReader:FileReader}},15976:(i,d,p)=>{const{webidl:v}=p(74222);const V=Symbol("ProgressEvent state");class ProgressEvent extends Event{constructor(i,d={}){i=v.converters.DOMString(i);d=v.converters.ProgressEventInit(d??{});super(i,d);this[V]={lengthComputable:d.lengthComputable,loaded:d.loaded,total:d.total}}get lengthComputable(){v.brandCheck(this,ProgressEvent);return this[V].lengthComputable}get loaded(){v.brandCheck(this,ProgressEvent);return this[V].loaded}get total(){v.brandCheck(this,ProgressEvent);return this[V].total}}v.converters.ProgressEventInit=v.dictionaryConverter([{key:"lengthComputable",converter:v.converters.boolean,defaultValue:false},{key:"loaded",converter:v.converters["unsigned long long"],defaultValue:0},{key:"total",converter:v.converters["unsigned long long"],defaultValue:0},{key:"bubbles",converter:v.converters.boolean,defaultValue:false},{key:"cancelable",converter:v.converters.boolean,defaultValue:false},{key:"composed",converter:v.converters.boolean,defaultValue:false}]);i.exports={ProgressEvent:ProgressEvent}},86812:i=>{i.exports={kState:Symbol("FileReader state"),kResult:Symbol("FileReader result"),kError:Symbol("FileReader error"),kLastProgressEventFired:Symbol("FileReader last progress event fired timestamp"),kEvents:Symbol("FileReader events"),kAborted:Symbol("FileReader aborted")}},10165:(i,d,p)=>{const{kState:v,kError:V,kResult:K,kAborted:ee,kLastProgressEventFired:te}=p(86812);const{ProgressEvent:re}=p(15976);const{getEncoding:ne}=p(40396);const{DOMException:ie}=p(87326);const{serializeAMimeType:se,parseMIMEType:oe}=p(94322);const{types:ae}=p(39023);const{StringDecoder:ce}=p(13193);const{btoa:le}=p(20181);const ue={enumerable:true,writable:false,configurable:false};function readOperation(i,d,p,re){if(i[v]==="loading"){throw new ie("Invalid state","InvalidStateError")}i[v]="loading";i[K]=null;i[V]=null;const ne=d.stream();const se=ne.getReader();const oe=[];let ce=se.read();let le=true;(async()=>{while(!i[ee]){try{const{done:ne,value:ie}=await ce;if(le&&!i[ee]){queueMicrotask((()=>{fireAProgressEvent("loadstart",i)}))}le=false;if(!ne&&ae.isUint8Array(ie)){oe.push(ie);if((i[te]===undefined||Date.now()-i[te]>=50)&&!i[ee]){i[te]=Date.now();queueMicrotask((()=>{fireAProgressEvent("progress",i)}))}ce=se.read()}else if(ne){queueMicrotask((()=>{i[v]="done";try{const v=packageData(oe,p,d.type,re);if(i[ee]){return}i[K]=v;fireAProgressEvent("load",i)}catch(d){i[V]=d;fireAProgressEvent("error",i)}if(i[v]!=="loading"){fireAProgressEvent("loadend",i)}}));break}}catch(d){if(i[ee]){return}queueMicrotask((()=>{i[v]="done";i[V]=d;fireAProgressEvent("error",i);if(i[v]!=="loading"){fireAProgressEvent("loadend",i)}}));break}}})()}function fireAProgressEvent(i,d){const p=new re(i,{bubbles:false,cancelable:false});d.dispatchEvent(p)}function packageData(i,d,p,v){switch(d){case"DataURL":{let d="data:";const v=oe(p||"application/octet-stream");if(v!=="failure"){d+=se(v)}d+=";base64,";const V=new ce("latin1");for(const p of i){d+=le(V.write(p))}d+=le(V.end());return d}case"Text":{let d="failure";if(v){d=ne(v)}if(d==="failure"&&p){const i=oe(p);if(i!=="failure"){d=ne(i.parameters.get("charset"))}}if(d==="failure"){d="UTF-8"}return decode(i,d)}case"ArrayBuffer":{const d=combineByteSequences(i);return d.buffer}case"BinaryString":{let d="";const p=new ce("latin1");for(const v of i){d+=p.write(v)}d+=p.end();return d}}}function decode(i,d){const p=combineByteSequences(i);const v=BOMSniffing(p);let V=0;if(v!==null){d=v;V=v==="UTF-8"?3:2}const K=p.slice(V);return new TextDecoder(d).decode(K)}function BOMSniffing(i){const[d,p,v]=i;if(d===239&&p===187&&v===191){return"UTF-8"}else if(d===254&&p===255){return"UTF-16BE"}else if(d===255&&p===254){return"UTF-16LE"}return null}function combineByteSequences(i){const d=i.reduce(((i,d)=>i+d.byteLength),0);let p=0;return i.reduce(((i,d)=>{i.set(d,p);p+=d.byteLength;return i}),new Uint8Array(d))}i.exports={staticPropertyDescriptors:ue,readOperation:readOperation,fireAProgressEvent:fireAProgressEvent}},32581:(i,d,p)=>{const v=Symbol.for("undici.globalDispatcher.1");const{InvalidArgumentError:V}=p(68707);const K=p(59965);if(getGlobalDispatcher()===undefined){setGlobalDispatcher(new K)}function setGlobalDispatcher(i){if(!i||typeof i.dispatch!=="function"){throw new V("Argument agent must implement Agent")}Object.defineProperty(globalThis,v,{value:i,writable:true,enumerable:false,configurable:false})}function getGlobalDispatcher(){return globalThis[v]}i.exports={setGlobalDispatcher:setGlobalDispatcher,getGlobalDispatcher:getGlobalDispatcher}},78840:i=>{i.exports=class DecoratorHandler{constructor(i){this.handler=i}onConnect(...i){return this.handler.onConnect(...i)}onError(...i){return this.handler.onError(...i)}onUpgrade(...i){return this.handler.onUpgrade(...i)}onHeaders(...i){return this.handler.onHeaders(...i)}onData(...i){return this.handler.onData(...i)}onComplete(...i){return this.handler.onComplete(...i)}onBodySent(...i){return this.handler.onBodySent(...i)}}},48299:(i,d,p)=>{const v=p(3440);const{kBodyUsed:V}=p(36443);const K=p(42613);const{InvalidArgumentError:ee}=p(68707);const te=p(24434);const re=[300,301,302,303,307,308];const ne=Symbol("body");class BodyAsyncIterable{constructor(i){this[ne]=i;this[V]=false}async*[Symbol.asyncIterator](){K(!this[V],"disturbed");this[V]=true;yield*this[ne]}}class RedirectHandler{constructor(i,d,p,re){if(d!=null&&(!Number.isInteger(d)||d<0)){throw new ee("maxRedirections must be a positive number")}v.validateHandler(re,p.method,p.upgrade);this.dispatch=i;this.location=null;this.abort=null;this.opts={...p,maxRedirections:0};this.maxRedirections=d;this.handler=re;this.history=[];if(v.isStream(this.opts.body)){if(v.bodyLength(this.opts.body)===0){this.opts.body.on("data",(function(){K(false)}))}if(typeof this.opts.body.readableDidRead!=="boolean"){this.opts.body[V]=false;te.prototype.on.call(this.opts.body,"data",(function(){this[V]=true}))}}else if(this.opts.body&&typeof this.opts.body.pipeTo==="function"){this.opts.body=new BodyAsyncIterable(this.opts.body)}else if(this.opts.body&&typeof this.opts.body!=="string"&&!ArrayBuffer.isView(this.opts.body)&&v.isIterable(this.opts.body)){this.opts.body=new BodyAsyncIterable(this.opts.body)}}onConnect(i){this.abort=i;this.handler.onConnect(i,{history:this.history})}onUpgrade(i,d,p){this.handler.onUpgrade(i,d,p)}onError(i){this.handler.onError(i)}onHeaders(i,d,p,V){this.location=this.history.length>=this.maxRedirections||v.isDisturbed(this.opts.body)?null:parseLocation(i,d);if(this.opts.origin){this.history.push(new URL(this.opts.path,this.opts.origin))}if(!this.location){return this.handler.onHeaders(i,d,p,V)}const{origin:K,pathname:ee,search:te}=v.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin)));const re=te?`${ee}${te}`:ee;this.opts.headers=cleanRequestHeaders(this.opts.headers,i===303,this.opts.origin!==K);this.opts.path=re;this.opts.origin=K;this.opts.maxRedirections=0;this.opts.query=null;if(i===303&&this.opts.method!=="HEAD"){this.opts.method="GET";this.opts.body=null}}onData(i){if(this.location){}else{return this.handler.onData(i)}}onComplete(i){if(this.location){this.location=null;this.abort=null;this.dispatch(this.opts,this)}else{this.handler.onComplete(i)}}onBodySent(i){if(this.handler.onBodySent){this.handler.onBodySent(i)}}}function parseLocation(i,d){if(re.indexOf(i)===-1){return null}for(let i=0;i{const v=p(42613);const{kRetryHandlerDefaultRetry:V}=p(36443);const{RequestRetryError:K}=p(68707);const{isDisturbed:ee,parseHeaders:te,parseRangeHeader:re}=p(3440);function calculateRetryAfterHeader(i){const d=Date.now();const p=new Date(i).getTime()-d;return p}class RetryHandler{constructor(i,d){const{retryOptions:p,...v}=i;const{retry:K,maxRetries:ee,maxTimeout:te,minTimeout:re,timeoutFactor:ne,methods:ie,errorCodes:se,retryAfter:oe,statusCodes:ae}=p??{};this.dispatch=d.dispatch;this.handler=d.handler;this.opts=v;this.abort=null;this.aborted=false;this.retryOpts={retry:K??RetryHandler[V],retryAfter:oe??true,maxTimeout:te??30*1e3,timeout:re??500,timeoutFactor:ne??2,maxRetries:ee??5,methods:ie??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:ae??[500,502,503,504,429],errorCodes:se??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE"]};this.retryCount=0;this.start=0;this.end=null;this.etag=null;this.resume=null;this.handler.onConnect((i=>{this.aborted=true;if(this.abort){this.abort(i)}else{this.reason=i}}))}onRequestSent(){if(this.handler.onRequestSent){this.handler.onRequestSent()}}onUpgrade(i,d,p){if(this.handler.onUpgrade){this.handler.onUpgrade(i,d,p)}}onConnect(i){if(this.aborted){i(this.reason)}else{this.abort=i}}onBodySent(i){if(this.handler.onBodySent)return this.handler.onBodySent(i)}static[V](i,{state:d,opts:p},v){const{statusCode:V,code:K,headers:ee}=i;const{method:te,retryOptions:re}=p;const{maxRetries:ne,timeout:ie,maxTimeout:se,timeoutFactor:oe,statusCodes:ae,errorCodes:ce,methods:le}=re;let{counter:ue,currentTimeout:Ae}=d;Ae=Ae!=null&&Ae>0?Ae:ie;if(K&&K!=="UND_ERR_REQ_RETRY"&&K!=="UND_ERR_SOCKET"&&!ce.includes(K)){v(i);return}if(Array.isArray(le)&&!le.includes(te)){v(i);return}if(V!=null&&Array.isArray(ae)&&!ae.includes(V)){v(i);return}if(ue>ne){v(i);return}let de=ee!=null&&ee["retry-after"];if(de){de=Number(de);de=isNaN(de)?calculateRetryAfterHeader(de):de*1e3}const pe=de>0?Math.min(de,se):Math.min(Ae*oe**ue,se);d.currentTimeout=pe;setTimeout((()=>v(null)),pe)}onHeaders(i,d,p,V){const ee=te(d);this.retryCount+=1;if(i>=300){this.abort(new K("Request failed",i,{headers:ee,count:this.retryCount}));return false}if(this.resume!=null){this.resume=null;if(i!==206){return true}const d=re(ee["content-range"]);if(!d){this.abort(new K("Content-Range mismatch",i,{headers:ee,count:this.retryCount}));return false}if(this.etag!=null&&this.etag!==ee.etag){this.abort(new K("ETag mismatch",i,{headers:ee,count:this.retryCount}));return false}const{start:V,size:te,end:ne=te}=d;v(this.start===V,"content-range mismatch");v(this.end==null||this.end===ne,"content-range mismatch");this.resume=p;return true}if(this.end==null){if(i===206){const K=re(ee["content-range"]);if(K==null){return this.handler.onHeaders(i,d,p,V)}const{start:te,size:ne,end:ie=ne}=K;v(te!=null&&Number.isFinite(te)&&this.start!==te,"content-range mismatch");v(Number.isFinite(te));v(ie!=null&&Number.isFinite(ie)&&this.end!==ie,"invalid content-length");this.start=te;this.end=ie}if(this.end==null){const i=ee["content-length"];this.end=i!=null?Number(i):null}v(Number.isFinite(this.start));v(this.end==null||Number.isFinite(this.end),"invalid content-length");this.resume=p;this.etag=ee.etag!=null?ee.etag:null;return this.handler.onHeaders(i,d,p,V)}const ne=new K("Request failed",i,{headers:ee,count:this.retryCount});this.abort(ne);return false}onData(i){this.start+=i.length;return this.handler.onData(i)}onComplete(i){this.retryCount=0;return this.handler.onComplete(i)}onError(i){if(this.aborted||ee(this.opts.body)){return this.handler.onError(i)}this.retryOpts.retry(i,{state:{counter:this.retryCount++,currentTimeout:this.retryAfter},opts:{retryOptions:this.retryOpts,...this.opts}},onRetry.bind(this));function onRetry(i){if(i!=null||this.aborted||ee(this.opts.body)){return this.handler.onError(i)}if(this.start!==0){this.opts={...this.opts,headers:{...this.opts.headers,range:`bytes=${this.start}-${this.end??""}`}}}try{this.dispatch(this.opts,this)}catch(i){this.handler.onError(i)}}}}i.exports=RetryHandler},64415:(i,d,p)=>{const v=p(48299);function createRedirectInterceptor({maxRedirections:i}){return d=>function Intercept(p,V){const{maxRedirections:K=i}=p;if(!K){return d(p,V)}const ee=new v(d,K,p,V);p={...p,maxRedirections:0};return d(p,ee)}}i.exports=createRedirectInterceptor},52824:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.SPECIAL_HEADERS=d.HEADER_STATE=d.MINOR=d.MAJOR=d.CONNECTION_TOKEN_CHARS=d.HEADER_CHARS=d.TOKEN=d.STRICT_TOKEN=d.HEX=d.URL_CHAR=d.STRICT_URL_CHAR=d.USERINFO_CHARS=d.MARK=d.ALPHANUM=d.NUM=d.HEX_MAP=d.NUM_MAP=d.ALPHA=d.FINISH=d.H_METHOD_MAP=d.METHOD_MAP=d.METHODS_RTSP=d.METHODS_ICE=d.METHODS_HTTP=d.METHODS=d.LENIENT_FLAGS=d.FLAGS=d.TYPE=d.ERROR=void 0;const v=p(50172);var V;(function(i){i[i["OK"]=0]="OK";i[i["INTERNAL"]=1]="INTERNAL";i[i["STRICT"]=2]="STRICT";i[i["LF_EXPECTED"]=3]="LF_EXPECTED";i[i["UNEXPECTED_CONTENT_LENGTH"]=4]="UNEXPECTED_CONTENT_LENGTH";i[i["CLOSED_CONNECTION"]=5]="CLOSED_CONNECTION";i[i["INVALID_METHOD"]=6]="INVALID_METHOD";i[i["INVALID_URL"]=7]="INVALID_URL";i[i["INVALID_CONSTANT"]=8]="INVALID_CONSTANT";i[i["INVALID_VERSION"]=9]="INVALID_VERSION";i[i["INVALID_HEADER_TOKEN"]=10]="INVALID_HEADER_TOKEN";i[i["INVALID_CONTENT_LENGTH"]=11]="INVALID_CONTENT_LENGTH";i[i["INVALID_CHUNK_SIZE"]=12]="INVALID_CHUNK_SIZE";i[i["INVALID_STATUS"]=13]="INVALID_STATUS";i[i["INVALID_EOF_STATE"]=14]="INVALID_EOF_STATE";i[i["INVALID_TRANSFER_ENCODING"]=15]="INVALID_TRANSFER_ENCODING";i[i["CB_MESSAGE_BEGIN"]=16]="CB_MESSAGE_BEGIN";i[i["CB_HEADERS_COMPLETE"]=17]="CB_HEADERS_COMPLETE";i[i["CB_MESSAGE_COMPLETE"]=18]="CB_MESSAGE_COMPLETE";i[i["CB_CHUNK_HEADER"]=19]="CB_CHUNK_HEADER";i[i["CB_CHUNK_COMPLETE"]=20]="CB_CHUNK_COMPLETE";i[i["PAUSED"]=21]="PAUSED";i[i["PAUSED_UPGRADE"]=22]="PAUSED_UPGRADE";i[i["PAUSED_H2_UPGRADE"]=23]="PAUSED_H2_UPGRADE";i[i["USER"]=24]="USER"})(V=d.ERROR||(d.ERROR={}));var K;(function(i){i[i["BOTH"]=0]="BOTH";i[i["REQUEST"]=1]="REQUEST";i[i["RESPONSE"]=2]="RESPONSE"})(K=d.TYPE||(d.TYPE={}));var ee;(function(i){i[i["CONNECTION_KEEP_ALIVE"]=1]="CONNECTION_KEEP_ALIVE";i[i["CONNECTION_CLOSE"]=2]="CONNECTION_CLOSE";i[i["CONNECTION_UPGRADE"]=4]="CONNECTION_UPGRADE";i[i["CHUNKED"]=8]="CHUNKED";i[i["UPGRADE"]=16]="UPGRADE";i[i["CONTENT_LENGTH"]=32]="CONTENT_LENGTH";i[i["SKIPBODY"]=64]="SKIPBODY";i[i["TRAILING"]=128]="TRAILING";i[i["TRANSFER_ENCODING"]=512]="TRANSFER_ENCODING"})(ee=d.FLAGS||(d.FLAGS={}));var te;(function(i){i[i["HEADERS"]=1]="HEADERS";i[i["CHUNKED_LENGTH"]=2]="CHUNKED_LENGTH";i[i["KEEP_ALIVE"]=4]="KEEP_ALIVE"})(te=d.LENIENT_FLAGS||(d.LENIENT_FLAGS={}));var re;(function(i){i[i["DELETE"]=0]="DELETE";i[i["GET"]=1]="GET";i[i["HEAD"]=2]="HEAD";i[i["POST"]=3]="POST";i[i["PUT"]=4]="PUT";i[i["CONNECT"]=5]="CONNECT";i[i["OPTIONS"]=6]="OPTIONS";i[i["TRACE"]=7]="TRACE";i[i["COPY"]=8]="COPY";i[i["LOCK"]=9]="LOCK";i[i["MKCOL"]=10]="MKCOL";i[i["MOVE"]=11]="MOVE";i[i["PROPFIND"]=12]="PROPFIND";i[i["PROPPATCH"]=13]="PROPPATCH";i[i["SEARCH"]=14]="SEARCH";i[i["UNLOCK"]=15]="UNLOCK";i[i["BIND"]=16]="BIND";i[i["REBIND"]=17]="REBIND";i[i["UNBIND"]=18]="UNBIND";i[i["ACL"]=19]="ACL";i[i["REPORT"]=20]="REPORT";i[i["MKACTIVITY"]=21]="MKACTIVITY";i[i["CHECKOUT"]=22]="CHECKOUT";i[i["MERGE"]=23]="MERGE";i[i["M-SEARCH"]=24]="M-SEARCH";i[i["NOTIFY"]=25]="NOTIFY";i[i["SUBSCRIBE"]=26]="SUBSCRIBE";i[i["UNSUBSCRIBE"]=27]="UNSUBSCRIBE";i[i["PATCH"]=28]="PATCH";i[i["PURGE"]=29]="PURGE";i[i["MKCALENDAR"]=30]="MKCALENDAR";i[i["LINK"]=31]="LINK";i[i["UNLINK"]=32]="UNLINK";i[i["SOURCE"]=33]="SOURCE";i[i["PRI"]=34]="PRI";i[i["DESCRIBE"]=35]="DESCRIBE";i[i["ANNOUNCE"]=36]="ANNOUNCE";i[i["SETUP"]=37]="SETUP";i[i["PLAY"]=38]="PLAY";i[i["PAUSE"]=39]="PAUSE";i[i["TEARDOWN"]=40]="TEARDOWN";i[i["GET_PARAMETER"]=41]="GET_PARAMETER";i[i["SET_PARAMETER"]=42]="SET_PARAMETER";i[i["REDIRECT"]=43]="REDIRECT";i[i["RECORD"]=44]="RECORD";i[i["FLUSH"]=45]="FLUSH"})(re=d.METHODS||(d.METHODS={}));d.METHODS_HTTP=[re.DELETE,re.GET,re.HEAD,re.POST,re.PUT,re.CONNECT,re.OPTIONS,re.TRACE,re.COPY,re.LOCK,re.MKCOL,re.MOVE,re.PROPFIND,re.PROPPATCH,re.SEARCH,re.UNLOCK,re.BIND,re.REBIND,re.UNBIND,re.ACL,re.REPORT,re.MKACTIVITY,re.CHECKOUT,re.MERGE,re["M-SEARCH"],re.NOTIFY,re.SUBSCRIBE,re.UNSUBSCRIBE,re.PATCH,re.PURGE,re.MKCALENDAR,re.LINK,re.UNLINK,re.PRI,re.SOURCE];d.METHODS_ICE=[re.SOURCE];d.METHODS_RTSP=[re.OPTIONS,re.DESCRIBE,re.ANNOUNCE,re.SETUP,re.PLAY,re.PAUSE,re.TEARDOWN,re.GET_PARAMETER,re.SET_PARAMETER,re.REDIRECT,re.RECORD,re.FLUSH,re.GET,re.POST];d.METHOD_MAP=v.enumToMap(re);d.H_METHOD_MAP={};Object.keys(d.METHOD_MAP).forEach((i=>{if(/^H/.test(i)){d.H_METHOD_MAP[i]=d.METHOD_MAP[i]}}));var ne;(function(i){i[i["SAFE"]=0]="SAFE";i[i["SAFE_WITH_CB"]=1]="SAFE_WITH_CB";i[i["UNSAFE"]=2]="UNSAFE"})(ne=d.FINISH||(d.FINISH={}));d.ALPHA=[];for(let i="A".charCodeAt(0);i<="Z".charCodeAt(0);i++){d.ALPHA.push(String.fromCharCode(i));d.ALPHA.push(String.fromCharCode(i+32))}d.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};d.HEX_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15};d.NUM=["0","1","2","3","4","5","6","7","8","9"];d.ALPHANUM=d.ALPHA.concat(d.NUM);d.MARK=["-","_",".","!","~","*","'","(",")"];d.USERINFO_CHARS=d.ALPHANUM.concat(d.MARK).concat(["%",";",":","&","=","+","$",","]);d.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(d.ALPHANUM);d.URL_CHAR=d.STRICT_URL_CHAR.concat(["\t","\f"]);for(let i=128;i<=255;i++){d.URL_CHAR.push(i)}d.HEX=d.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);d.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(d.ALPHANUM);d.TOKEN=d.STRICT_TOKEN.concat([" "]);d.HEADER_CHARS=["\t"];for(let i=32;i<=255;i++){if(i!==127){d.HEADER_CHARS.push(i)}}d.CONNECTION_TOKEN_CHARS=d.HEADER_CHARS.filter((i=>i!==44));d.MAJOR=d.NUM_MAP;d.MINOR=d.MAJOR;var ie;(function(i){i[i["GENERAL"]=0]="GENERAL";i[i["CONNECTION"]=1]="CONNECTION";i[i["CONTENT_LENGTH"]=2]="CONTENT_LENGTH";i[i["TRANSFER_ENCODING"]=3]="TRANSFER_ENCODING";i[i["UPGRADE"]=4]="UPGRADE";i[i["CONNECTION_KEEP_ALIVE"]=5]="CONNECTION_KEEP_ALIVE";i[i["CONNECTION_CLOSE"]=6]="CONNECTION_CLOSE";i[i["CONNECTION_UPGRADE"]=7]="CONNECTION_UPGRADE";i[i["TRANSFER_ENCODING_CHUNKED"]=8]="TRANSFER_ENCODING_CHUNKED"})(ie=d.HEADER_STATE||(d.HEADER_STATE={}));d.SPECIAL_HEADERS={connection:ie.CONNECTION,"content-length":ie.CONTENT_LENGTH,"proxy-connection":ie.CONNECTION,"transfer-encoding":ie.TRANSFER_ENCODING,upgrade:ie.UPGRADE}},63870:i=>{i.exports="AGFzbQEAAAABMAhgAX8Bf2ADf39/AX9gBH9/f38Bf2AAAGADf39/AGABfwBgAn9/AGAGf39/f39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQACA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAA0ZFAwMEAAAFAAAAAAAABQEFAAUFBQAABgAAAAAGBgYGAQEBAQEBAQEBAQEBAQEBAQEB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AAsIABCIgICAAAsZACAAEMKAgIAAGiAAIAI2AjggACABOgAoCxwAIAAgAC8BMiAALQAuIAAQwYCAgAAQgICAgAALKgEBf0HAABDGgICAACIBEMKAgIAAGiABQYCIgIAANgI4IAEgADoAKCABCwoAIAAQyICAgAALBwAgAC0AKAsHACAALQAqCwcAIAAtACsLBwAgAC0AKQsHACAALwEyCwcAIAAtAC4LRQEEfyAAKAIYIQEgAC0ALSECIAAtACghAyAAKAI4IQQgABDCgICAABogACAENgI4IAAgAzoAKCAAIAI6AC0gACABNgIYCxEAIAAgASABIAJqEMOAgIAACxAAIABBAEHcABDMgICAABoLZwEBf0EAIQECQCAAKAIMDQACQAJAAkACQCAALQAvDgMBAAMCCyAAKAI4IgFFDQAgASgCLCIBRQ0AIAAgARGAgICAAAAiAQ0DC0EADwsQyoCAgAAACyAAQcOWgIAANgIQQQ4hAQsgAQseAAJAIAAoAgwNACAAQdGbgIAANgIQIABBFTYCDAsLFgACQCAAKAIMQRVHDQAgAEEANgIMCwsWAAJAIAAoAgxBFkcNACAAQQA2AgwLCwcAIAAoAgwLBwAgACgCEAsJACAAIAE2AhALBwAgACgCFAsiAAJAIABBJEkNABDKgICAAAALIABBAnRBoLOAgABqKAIACyIAAkAgAEEuSQ0AEMqAgIAAAAsgAEECdEGwtICAAGooAgAL7gsBAX9B66iAgAAhAQJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIABBnH9qDvQDY2IAAWFhYWFhYQIDBAVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWF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AQQA6AC8gAwuZAQECfwJAAkACQCAALQAqRQ0AIAAtACtFDQBBACEBIAAvATAiAkECcUUNAQwCC0EAIQEgAC8BMCICQQFxRQ0BC0EBIQEgAC0AKEEBRg0AIAAvATJB//8DcSIAQZx/akHkAEkNACAAQcwBRg0AIABBsAJGDQAgAkHAAHENAEEAIQEgAkGIBHFBgARGDQAgAkEocUEARyEBCyABC1kAIABBGGpCADcDACAAQgA3AwAgAEE4akIANwMAIABBMGpCADcDACAAQShqQgA3AwAgAEEgakIANwMAIABBEGpCADcDACAAQQhqQgA3AwAgAEHdATYCHEEAC3sBAX8CQCAAKAIMIgMNAAJAIAAoAgRFDQAgACABNgIECwJAIAAgASACEMSAgIAAIgMNACAAKAIMDwsgACADNgIcQQAhAyAAKAIEIgFFDQAgACABIAIgACgCCBGBgICAAAAiAUUNACAAIAI2AhQgACABNgIMIAEhAwsgAwvk8wEDDn8DfgR/I4CAgIAAQRBrIgMkgICAgAAgASEEIAEhBSABIQYgASEHIAEhCCABIQkgASEKIAEhCyABIQwgASENIAEhDiABIQ8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAA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ACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAQDscBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxweHyAhIyUoP0BBREVGR0hJSktMTU9QUVJT3gNXWVtcXWBiZWZnaGlqa2xtb3BxcnN0dXZ3eHl6e3x9foABggGFAYYBhwGJAYsBjAGNAY4BjwGQAZEBlAGVAZYBlwGYAZkBmgGbAZwBnQGeAZ8BoAGhAaIBowGkAaUBpgGnAagBqQGqAasBrAGtAa4BrwGwAbEBsgGzAbQBtQG2AbcBuAG5AboBuwG8Ab0BvgG/AcABwQHCAcMBxAHFAcYBxwHIAckBygHLAcwBzQHOAc8B0AHRAdIB0wHUAdUB1gHXAdgB2QHaAdsB3AHdAd4B4AHhAeIB4wHkAeUB5gHnAegB6QHqAesB7AHtAe4B7wHwAfEB8gHzAZkCpAKwAv4C/gILIAEiBCACRw3zAUHdASEQDP8DCyABIhAgAk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A2AhAgAEEHNgIMQQAhEAyvAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMSQsgAEHSADYCHCAAIAE2AhQgACAQNgIMQQAhEAyuAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMSQsgAEHTADYCHCAAIAE2AhQgACAQNgIMQQAhEAytAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMTQsgAEHlADYCHCAAIAE2AhQgACAQNgIMQQAhEAysAQsgAEEANgIcIAAgATYCFCAAQdyIgIAANgIQIABBBzYCDEEAIRAMqwELIBBBP0cNASABQQFqIQELQQUhEAyQAQtBACEQIABBADYCHCAAIAE2AhQgAEH9koCAADYCECAAQQc2AgwMqAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMpwELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMpgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEYLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMpQELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0gA2AhwgACAUNgIUIAAgATYCDEEAIRAMpAELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0wA2AhwgACAUNgIUIAAgATYCDEEAIRAMowELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDEMLIABB5QA2AhwgACAUNgIUIAAgATYCDEEAIRAMogELIABBADYCHCAAIBQ2AhQgAEHDj4CAADYCECAAQQc2AgxBACEQDKEBCyAAQQA2AhwgACABNgIUIABBw4+AgAA2AhAgAEEHNgIMQQAhEAygAQtBACEQIABBADYCHCAAIBQ2AhQgAEGMnICAADYCECAAQQc2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BvwEhEAwDC0HAASEQDAILQcIBIRAMAQtBwQEhEAsDQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAA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AJHDStBHSEQDO0DCwJAIAEiASACRg0AIAFBAWohAUEQIRAM1AMLQQchEAzsAwsgAEIAIAApAyAiESACIAEiEGutIhJ9IhMgEyARVhs3AyAgESASViIURQ3lAUEIIRAM6wMLAkAgASIBIAJGDQAgAEGJgICAADYCCCAAIAE2AgQgASEBQRQhEAzSAwtBCSEQDOoDCyABIQEgACkDIFAN5AEgASEBDPICCwJAIAEiASACRw0AQQshEAzpAwsgACABQQFqIgEgAhC2gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeYBIAEhAQwNCyAAIAEiASACELqAgIAAIhAN5wEgASEBDPACCwJAIAEiASACRw0AQQ8hEAzlAwsgAS0AACIQQTtGDQggEEENRw3oASABQQFqIQEM7wILIAAgASIBIAIQuoCAgAAiEA3oASABIQEM8gILA0ACQCABLQAAQfC1gIAAai0AACIQQQFGDQAgEEECRw3rASAAKAIEIRAgAEEANgIEIAAgECABQQFqIgEQuYCAgAAiEA3qASABIQEM9AILIAFBAWoiASACRw0AC0ESIRAM4gMLIAAgASIBIAIQuoCAgAAiEA3pASABIQEMCgsgASIBIAJHDQZBGyEQDOADCwJAIAEiASACRw0AQRYhEAzgAwsgAEGKgICAADYCCCAAIAE2AgQgACABIAIQuICAgAAiEA3qASABIQFBICEQDMYDCwJAIAEiASACRg0AA0ACQCABLQAAQfC3gIAAai0AACIQQQJGDQACQCAQQX9qDgTlAewBAOsB7AELIAFBAWohAUEIIRAMyAMLIAFBAWoiASACRw0AC0EVIRAM3wMLQRUhEAzeAwsDQAJAIAEtAABB8LmAgABqLQAAIhBBAkYNACAQQX9qDgTeAewB4AHrAewBCyABQQFqIgEgAkcNAAtBGCEQDN0DCwJAIAEiASACRg0AIABBi4CAgAA2AgggACABNgIEIAEhAUEHIRAMxAMLQRkhEAzcAwsgAUEBaiEBDAILAkAgASIUIAJHDQBBGiEQDNsDCyAUIQECQCAULQAAQXNqDhTdAu4C7gL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QCAALQApIhBBXWpBC08NACABIQEMVQsCQCAQQQZLDQBBASAQdEHKAHFFDQAgASEBDFULQQAhECAAQQA2AhwgACABNgIUIABB94mAgAA2AhAgAEEINgIMDLUBCyAQQRVGDXEgAEEANgIcIAAgATYCFCAAQbmNgIAANgIQIABBGjYCDEEAIRAMtAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFQLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMswELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMsgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMsQELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFELIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMsAELIABBADYCHCAAIAE2AhQgAEHGioCAADYCECAAQQc2AgxBACEQDK8BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxJCyAAQdIANgIcIAAgATYCFCAAIBA2AgxBACEQDK4BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxJCyAAQdMANgIcIAAgATYCFCAAIBA2AgxBACEQDK0BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxNCyAAQeUANgIcIAAgATYCFCAAIBA2AgxBACEQDKwBCyAAQQA2AhwgACABNgIUIABB3IiAgAA2AhAgAEEHNgIMQQAhEAyrAQsgEEE/Rw0BIAFBAWohAQtBBSEQDJABC0EAIRAgAEEANgIcIAAgATYCFCAAQf2SgIAANgIQIABBBzYCDAyoAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMQgsgAEHSADYCHCAAIAE2AhQgACAQNgIMQQAhEAynAQsgACgCBCEQIABBADYC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wMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAEAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAgAAAAACAAAAAAAAAAAAAAAAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAE5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw=="},50172:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.enumToMap=void 0;function enumToMap(i){const d={};Object.keys(i).forEach((p=>{const v=i[p];if(typeof v==="number"){d[p]=v}}));return d}d.enumToMap=enumToMap},47501:(i,d,p)=>{const{kClients:v}=p(36443);const V=p(59965);const{kAgent:K,kMockAgentSet:ee,kMockAgentGet:te,kDispatches:re,kIsMockActive:ne,kNetConnect:ie,kGetNetConnect:se,kOptions:oe,kFactory:ae}=p(91117);const ce=p(47365);const le=p(94004);const{matchValue:ue,buildMockOptions:Ae}=p(53397);const{InvalidArgumentError:de,UndiciError:pe}=p(68707);const fe=p(28611);const he=p(91529);const ge=p(56142);class FakeWeakRef{constructor(i){this.value=i}deref(){return this.value}}class MockAgent extends fe{constructor(i){super(i);this[ie]=true;this[ne]=true;if(i&&i.agent&&typeof i.agent.dispatch!=="function"){throw new de("Argument opts.agent must implement Agent")}const d=i&&i.agent?i.agent:new V(i);this[K]=d;this[v]=d[v];this[oe]=Ae(i)}get(i){let d=this[te](i);if(!d){d=this[ae](i);this[ee](i,d)}return d}dispatch(i,d){this.get(i.origin);return this[K].dispatch(i,d)}async close(){await this[K].close();this[v].clear()}deactivate(){this[ne]=false}activate(){this[ne]=true}enableNetConnect(i){if(typeof i==="string"||typeof i==="function"||i instanceof RegExp){if(Array.isArray(this[ie])){this[ie].push(i)}else{this[ie]=[i]}}else if(typeof i==="undefined"){this[ie]=true}else{throw new de("Unsupported matcher. Must be one of String|Function|RegExp.")}}disableNetConnect(){this[ie]=false}get isMockActive(){return this[ne]}[ee](i,d){this[v].set(i,new FakeWeakRef(d))}[ae](i){const d=Object.assign({agent:this},this[oe]);return this[oe]&&this[oe].connections===1?new ce(i,d):new le(i,d)}[te](i){const d=this[v].get(i);if(d){return d.deref()}if(typeof i!=="string"){const d=this[ae]("http://localhost:9999");this[ee](i,d);return d}for(const[d,p]of Array.from(this[v])){const v=p.deref();if(v&&typeof d!=="string"&&ue(d,i)){const d=this[ae](i);this[ee](i,d);d[re]=v[re];return d}}}[se](){return this[ie]}pendingInterceptors(){const i=this[v];return Array.from(i.entries()).flatMap((([i,d])=>d.deref()[re].map((d=>({...d,origin:i}))))).filter((({pending:i})=>i))}assertNoPendingInterceptors({pendingInterceptorsFormatter:i=new ge}={}){const d=this.pendingInterceptors();if(d.length===0){return}const p=new he("interceptor","interceptors").pluralize(d.length);throw new pe(`\n${p.count} ${p.noun} ${p.is} pending:\n\n${i.format(d)}\n`.trim())}}i.exports=MockAgent},47365:(i,d,p)=>{const{promisify:v}=p(39023);const V=p(86197);const{buildMockDispatch:K}=p(53397);const{kDispatches:ee,kMockAgent:te,kClose:re,kOriginalClose:ne,kOrigin:ie,kOriginalDispatch:se,kConnected:oe}=p(91117);const{MockInterceptor:ae}=p(31511);const ce=p(36443);const{InvalidArgumentError:le}=p(68707);class MockClient extends V{constructor(i,d){super(i,d);if(!d||!d.agent||typeof d.agent.dispatch!=="function"){throw new le("Argument opts.agent must implement Agent")}this[te]=d.agent;this[ie]=i;this[ee]=[];this[oe]=1;this[se]=this.dispatch;this[ne]=this.close.bind(this);this.dispatch=K.call(this);this.close=this[re]}get[ce.kConnected](){return this[oe]}intercept(i){return new ae(i,this[ee])}async[re](){await v(this[ne])();this[oe]=0;this[te][ce.kClients].delete(this[ie])}}i.exports=MockClient},52429:(i,d,p)=>{const{UndiciError:v}=p(68707);class MockNotMatchedError extends v{constructor(i){super(i);Error.captureStackTrace(this,MockNotMatchedError);this.name="MockNotMatchedError";this.message=i||"The request does not match any registered mock dispatches";this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}}i.exports={MockNotMatchedError:MockNotMatchedError}},31511:(i,d,p)=>{const{getResponseData:v,buildKey:V,addMockDispatch:K}=p(53397);const{kDispatches:ee,kDispatchKey:te,kDefaultHeaders:re,kDefaultTrailers:ne,kContentLength:ie,kMockDispatch:se}=p(91117);const{InvalidArgumentError:oe}=p(68707);const{buildURL:ae}=p(3440);class MockScope{constructor(i){this[se]=i}delay(i){if(typeof i!=="number"||!Number.isInteger(i)||i<=0){throw new oe("waitInMs must be a valid integer > 0")}this[se].delay=i;return this}persist(){this[se].persist=true;return this}times(i){if(typeof i!=="number"||!Number.isInteger(i)||i<=0){throw new oe("repeatTimes must be a valid integer > 0")}this[se].times=i;return this}}class MockInterceptor{constructor(i,d){if(typeof i!=="object"){throw new oe("opts must be an object")}if(typeof i.path==="undefined"){throw new oe("opts.path must be defined")}if(typeof i.method==="undefined"){i.method="GET"}if(typeof i.path==="string"){if(i.query){i.path=ae(i.path,i.query)}else{const d=new URL(i.path,"data://");i.path=d.pathname+d.search}}if(typeof i.method==="string"){i.method=i.method.toUpperCase()}this[te]=V(i);this[ee]=d;this[re]={};this[ne]={};this[ie]=false}createMockScopeDispatchData(i,d,p={}){const V=v(d);const K=this[ie]?{"content-length":V.length}:{};const ee={...this[re],...K,...p.headers};const te={...this[ne],...p.trailers};return{statusCode:i,data:d,headers:ee,trailers:te}}validateReplyParameters(i,d,p){if(typeof i==="undefined"){throw new oe("statusCode must be defined")}if(typeof d==="undefined"){throw new oe("data must be defined")}if(typeof p!=="object"){throw new oe("responseOptions must be an object")}}reply(i){if(typeof i==="function"){const wrappedDefaultsCallback=d=>{const p=i(d);if(typeof p!=="object"){throw new oe("reply options callback must return an object")}const{statusCode:v,data:V="",responseOptions:K={}}=p;this.validateReplyParameters(v,V,K);return{...this.createMockScopeDispatchData(v,V,K)}};const d=K(this[ee],this[te],wrappedDefaultsCallback);return new MockScope(d)}const[d,p="",v={}]=[...arguments];this.validateReplyParameters(d,p,v);const V=this.createMockScopeDispatchData(d,p,v);const re=K(this[ee],this[te],V);return new MockScope(re)}replyWithError(i){if(typeof i==="undefined"){throw new oe("error must be defined")}const d=K(this[ee],this[te],{error:i});return new MockScope(d)}defaultReplyHeaders(i){if(typeof i==="undefined"){throw new oe("headers must be defined")}this[re]=i;return this}defaultReplyTrailers(i){if(typeof i==="undefined"){throw new oe("trailers must be defined")}this[ne]=i;return this}replyContentLength(){this[ie]=true;return this}}i.exports.MockInterceptor=MockInterceptor;i.exports.MockScope=MockScope},94004:(i,d,p)=>{const{promisify:v}=p(39023);const V=p(35076);const{buildMockDispatch:K}=p(53397);const{kDispatches:ee,kMockAgent:te,kClose:re,kOriginalClose:ne,kOrigin:ie,kOriginalDispatch:se,kConnected:oe}=p(91117);const{MockInterceptor:ae}=p(31511);const ce=p(36443);const{InvalidArgumentError:le}=p(68707);class MockPool extends V{constructor(i,d){super(i,d);if(!d||!d.agent||typeof d.agent.dispatch!=="function"){throw new le("Argument opts.agent must implement Agent")}this[te]=d.agent;this[ie]=i;this[ee]=[];this[oe]=1;this[se]=this.dispatch;this[ne]=this.close.bind(this);this.dispatch=K.call(this);this.close=this[re]}get[ce.kConnected](){return this[oe]}intercept(i){return new ae(i,this[ee])}async[re](){await v(this[ne])();this[oe]=0;this[te][ce.kClients].delete(this[ie])}}i.exports=MockPool},91117:i=>{i.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected")}},53397:(i,d,p)=>{const{MockNotMatchedError:v}=p(52429);const{kDispatches:V,kMockAgent:K,kOriginalDispatch:ee,kOrigin:te,kGetNetConnect:re}=p(91117);const{buildURL:ne,nop:ie}=p(3440);const{STATUS_CODES:se}=p(58611);const{types:{isPromise:oe}}=p(39023);function matchValue(i,d){if(typeof i==="string"){return i===d}if(i instanceof RegExp){return i.test(d)}if(typeof i==="function"){return i(d)===true}return false}function lowerCaseEntries(i){return Object.fromEntries(Object.entries(i).map((([i,d])=>[i.toLocaleLowerCase(),d])))}function getHeaderByName(i,d){if(Array.isArray(i)){for(let p=0;p!i)).filter((({path:i})=>matchValue(safeUrl(i),V)));if(K.length===0){throw new v(`Mock dispatch not matched for path '${V}'`)}K=K.filter((({method:i})=>matchValue(i,d.method)));if(K.length===0){throw new v(`Mock dispatch not matched for method '${d.method}'`)}K=K.filter((({body:i})=>typeof i!=="undefined"?matchValue(i,d.body):true));if(K.length===0){throw new v(`Mock dispatch not matched for body '${d.body}'`)}K=K.filter((i=>matchHeaders(i,d.headers)));if(K.length===0){throw new v(`Mock dispatch not matched for headers '${typeof d.headers==="object"?JSON.stringify(d.headers):d.headers}'`)}return K[0]}function addMockDispatch(i,d,p){const v={timesInvoked:0,times:1,persist:false,consumed:false};const V=typeof p==="function"?{callback:p}:{...p};const K={...v,...d,pending:true,data:{error:null,...V}};i.push(K);return K}function deleteMockDispatch(i,d){const p=i.findIndex((i=>{if(!i.consumed){return false}return matchKey(i,d)}));if(p!==-1){i.splice(p,1)}}function buildKey(i){const{path:d,method:p,body:v,headers:V,query:K}=i;return{path:d,method:p,body:v,headers:V,query:K}}function generateKeyValues(i){return Object.entries(i).reduce(((i,[d,p])=>[...i,Buffer.from(`${d}`),Array.isArray(p)?p.map((i=>Buffer.from(`${i}`))):Buffer.from(`${p}`)]),[])}function getStatusText(i){return se[i]||"unknown"}async function getResponse(i){const d=[];for await(const p of i){d.push(p)}return Buffer.concat(d).toString("utf8")}function mockDispatch(i,d){const p=buildKey(i);const v=getMockDispatch(this[V],p);v.timesInvoked++;if(v.data.callback){v.data={...v.data,...v.data.callback(i)}}const{data:{statusCode:K,data:ee,headers:te,trailers:re,error:ne},delay:se,persist:ae}=v;const{timesInvoked:ce,times:le}=v;v.consumed=!ae&&ce>=le;v.pending=ce0){setTimeout((()=>{handleReply(this[V])}),se)}else{handleReply(this[V])}function handleReply(v,V=ee){const ne=Array.isArray(i.headers)?buildHeadersFromArray(i.headers):i.headers;const se=typeof V==="function"?V({...i,headers:ne}):V;if(oe(se)){se.then((i=>handleReply(v,i)));return}const ae=getResponseData(se);const ce=generateKeyValues(te);const le=generateKeyValues(re);d.abort=ie;d.onHeaders(K,ce,resume,getStatusText(K));d.onData(Buffer.from(ae));d.onComplete(le);deleteMockDispatch(v,p)}function resume(){}return true}function buildMockDispatch(){const i=this[K];const d=this[te];const p=this[ee];return function dispatch(V,K){if(i.isMockActive){try{mockDispatch.call(this,V,K)}catch(ee){if(ee instanceof v){const te=i[re]();if(te===false){throw new v(`${ee.message}: subsequent request to origin ${d} was not allowed (net.connect disabled)`)}if(checkNetConnect(te,d)){p.call(this,V,K)}else{throw new v(`${ee.message}: subsequent request to origin ${d} was not allowed (net.connect is not enabled for this origin)`)}}else{throw ee}}}else{p.call(this,V,K)}}}function checkNetConnect(i,d){const p=new URL(d);if(i===true){return true}else if(Array.isArray(i)&&i.some((i=>matchValue(i,p.host)))){return true}return false}function buildMockOptions(i){if(i){const{agent:d,...p}=i;return p}}i.exports={getResponseData:getResponseData,getMockDispatch:getMockDispatch,addMockDispatch:addMockDispatch,deleteMockDispatch:deleteMockDispatch,buildKey:buildKey,generateKeyValues:generateKeyValues,matchValue:matchValue,getResponse:getResponse,getStatusText:getStatusText,mockDispatch:mockDispatch,buildMockDispatch:buildMockDispatch,checkNetConnect:checkNetConnect,buildMockOptions:buildMockOptions,getHeaderByName:getHeaderByName}},56142:(i,d,p)=>{const{Transform:v}=p(2203);const{Console:V}=p(64236);i.exports=class PendingInterceptorsFormatter{constructor({disableColors:i}={}){this.transform=new v({transform(i,d,p){p(null,i)}});this.logger=new V({stdout:this.transform,inspectOptions:{colors:!i&&!process.env.CI}})}format(i){const d=i.map((({method:i,path:d,data:{statusCode:p},persist:v,times:V,timesInvoked:K,origin:ee})=>({Method:i,Origin:ee,Path:d,"Status code":p,Persistent:v?"✅":"❌",Invocations:K,Remaining:v?Infinity:V-K})));this.logger.table(d);return this.transform.read().toString()}}},91529:i=>{const d={pronoun:"it",is:"is",was:"was",this:"this"};const p={pronoun:"they",is:"are",was:"were",this:"these"};i.exports=class Pluralizer{constructor(i,d){this.singular=i;this.plural=d}pluralize(i){const v=i===1;const V=v?d:p;const K=v?this.singular:this.plural;return{...V,count:i,noun:K}}}},34869:i=>{const d=2048;const p=d-1;class FixedCircularBuffer{constructor(){this.bottom=0;this.top=0;this.list=new Array(d);this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&p)===this.bottom}push(i){this.list[this.top]=i;this.top=this.top+1&p}shift(){const i=this.list[this.bottom];if(i===undefined)return null;this.list[this.bottom]=undefined;this.bottom=this.bottom+1&p;return i}}i.exports=class FixedQueue{constructor(){this.head=this.tail=new FixedCircularBuffer}isEmpty(){return this.head.isEmpty()}push(i){if(this.head.isFull()){this.head=this.head.next=new FixedCircularBuffer}this.head.push(i)}shift(){const i=this.tail;const d=i.shift();if(i.isEmpty()&&i.next!==null){this.tail=i.next}return d}}},58640:(i,d,p)=>{const v=p(50001);const V=p(34869);const{kConnected:K,kSize:ee,kRunning:te,kPending:re,kQueued:ne,kBusy:ie,kFree:se,kUrl:oe,kClose:ae,kDestroy:ce,kDispatch:le}=p(36443);const ue=p(24622);const Ae=Symbol("clients");const de=Symbol("needDrain");const pe=Symbol("queue");const fe=Symbol("closed resolve");const he=Symbol("onDrain");const ge=Symbol("onConnect");const me=Symbol("onDisconnect");const Ee=Symbol("onConnectionError");const ye=Symbol("get dispatcher");const Ce=Symbol("add client");const be=Symbol("remove client");const Ie=Symbol("stats");class PoolBase extends v{constructor(){super();this[pe]=new V;this[Ae]=[];this[ne]=0;const i=this;this[he]=function onDrain(d,p){const v=i[pe];let V=false;while(!V){const d=v.shift();if(!d){break}i[ne]--;V=!this.dispatch(d.opts,d.handler)}this[de]=V;if(!this[de]&&i[de]){i[de]=false;i.emit("drain",d,[i,...p])}if(i[fe]&&v.isEmpty()){Promise.all(i[Ae].map((i=>i.close()))).then(i[fe])}};this[ge]=(d,p)=>{i.emit("connect",d,[i,...p])};this[me]=(d,p,v)=>{i.emit("disconnect",d,[i,...p],v)};this[Ee]=(d,p,v)=>{i.emit("connectionError",d,[i,...p],v)};this[Ie]=new ue(this)}get[ie](){return this[de]}get[K](){return this[Ae].filter((i=>i[K])).length}get[se](){return this[Ae].filter((i=>i[K]&&!i[de])).length}get[re](){let i=this[ne];for(const{[re]:d}of this[Ae]){i+=d}return i}get[te](){let i=0;for(const{[te]:d}of this[Ae]){i+=d}return i}get[ee](){let i=this[ne];for(const{[ee]:d}of this[Ae]){i+=d}return i}get stats(){return this[Ie]}async[ae](){if(this[pe].isEmpty()){return Promise.all(this[Ae].map((i=>i.close())))}else{return new Promise((i=>{this[fe]=i}))}}async[ce](i){while(true){const d=this[pe].shift();if(!d){break}d.handler.onError(i)}return Promise.all(this[Ae].map((d=>d.destroy(i))))}[le](i,d){const p=this[ye]();if(!p){this[de]=true;this[pe].push({opts:i,handler:d});this[ne]++}else if(!p.dispatch(i,d)){p[de]=true;this[de]=!this[ye]()}return!this[de]}[Ce](i){i.on("drain",this[he]).on("connect",this[ge]).on("disconnect",this[me]).on("connectionError",this[Ee]);this[Ae].push(i);if(this[de]){process.nextTick((()=>{if(this[de]){this[he](i[oe],[this,i])}}))}return this}[be](i){i.close((()=>{const d=this[Ae].indexOf(i);if(d!==-1){this[Ae].splice(d,1)}}));this[de]=this[Ae].some((i=>!i[de]&&i.closed!==true&&i.destroyed!==true))}}i.exports={PoolBase:PoolBase,kClients:Ae,kNeedDrain:de,kAddClient:Ce,kRemoveClient:be,kGetDispatcher:ye}},24622:(i,d,p)=>{const{kFree:v,kConnected:V,kPending:K,kQueued:ee,kRunning:te,kSize:re}=p(36443);const ne=Symbol("pool");class PoolStats{constructor(i){this[ne]=i}get connected(){return this[ne][V]}get free(){return this[ne][v]}get pending(){return this[ne][K]}get queued(){return this[ne][ee]}get running(){return this[ne][te]}get size(){return this[ne][re]}}i.exports=PoolStats},35076:(i,d,p)=>{const{PoolBase:v,kClients:V,kNeedDrain:K,kAddClient:ee,kGetDispatcher:te}=p(58640);const re=p(86197);const{InvalidArgumentError:ne}=p(68707);const ie=p(3440);const{kUrl:se,kInterceptors:oe}=p(36443);const ae=p(59136);const ce=Symbol("options");const le=Symbol("connections");const ue=Symbol("factory");function defaultFactory(i,d){return new re(i,d)}class Pool extends v{constructor(i,{connections:d,factory:p=defaultFactory,connect:v,connectTimeout:K,tls:ee,maxCachedSessions:te,socketPath:re,autoSelectFamily:Ae,autoSelectFamilyAttemptTimeout:de,allowH2:pe,...fe}={}){super();if(d!=null&&(!Number.isFinite(d)||d<0)){throw new ne("invalid connections")}if(typeof p!=="function"){throw new ne("factory must be a function.")}if(v!=null&&typeof v!=="function"&&typeof v!=="object"){throw new ne("connect must be a function or an object")}if(typeof v!=="function"){v=ae({...ee,maxCachedSessions:te,allowH2:pe,socketPath:re,timeout:K,...ie.nodeHasAutoSelectFamily&&Ae?{autoSelectFamily:Ae,autoSelectFamilyAttemptTimeout:de}:undefined,...v})}this[oe]=fe.interceptors&&fe.interceptors.Pool&&Array.isArray(fe.interceptors.Pool)?fe.interceptors.Pool:[];this[le]=d||null;this[se]=ie.parseOrigin(i);this[ce]={...ie.deepClone(fe),connect:v,allowH2:pe};this[ce].interceptors=fe.interceptors?{...fe.interceptors}:undefined;this[ue]=p;this.on("connectionError",((i,d,p)=>{for(const i of d){const d=this[V].indexOf(i);if(d!==-1){this[V].splice(d,1)}}}))}[te](){let i=this[V].find((i=>!i[K]));if(i){return i}if(!this[le]||this[V].length{const{kProxy:v,kClose:V,kDestroy:K,kInterceptors:ee}=p(36443);const{URL:te}=p(87016);const re=p(59965);const ne=p(35076);const ie=p(50001);const{InvalidArgumentError:se,RequestAbortedError:oe}=p(68707);const ae=p(59136);const ce=Symbol("proxy agent");const le=Symbol("proxy client");const ue=Symbol("proxy headers");const Ae=Symbol("request tls settings");const de=Symbol("proxy tls settings");const pe=Symbol("connect endpoint function");function defaultProtocolPort(i){return i==="https:"?443:80}function buildProxyOptions(i){if(typeof i==="string"){i={uri:i}}if(!i||!i.uri){throw new se("Proxy opts.uri is mandatory")}return{uri:i.uri,protocol:i.protocol||"https"}}function defaultFactory(i,d){return new ne(i,d)}class ProxyAgent extends ie{constructor(i){super(i);this[v]=buildProxyOptions(i);this[ce]=new re(i);this[ee]=i.interceptors&&i.interceptors.ProxyAgent&&Array.isArray(i.interceptors.ProxyAgent)?i.interceptors.ProxyAgent:[];if(typeof i==="string"){i={uri:i}}if(!i||!i.uri){throw new se("Proxy opts.uri is mandatory")}const{clientFactory:d=defaultFactory}=i;if(typeof d!=="function"){throw new se("Proxy opts.clientFactory must be a function.")}this[Ae]=i.requestTls;this[de]=i.proxyTls;this[ue]=i.headers||{};const p=new te(i.uri);const{origin:V,port:K,host:ne,username:ie,password:fe}=p;if(i.auth&&i.token){throw new se("opts.auth cannot be used in combination with opts.token")}else if(i.auth){this[ue]["proxy-authorization"]=`Basic ${i.auth}`}else if(i.token){this[ue]["proxy-authorization"]=i.token}else if(ie&&fe){this[ue]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(ie)}:${decodeURIComponent(fe)}`).toString("base64")}`}const he=ae({...i.proxyTls});this[pe]=ae({...i.requestTls});this[le]=d(p,{connect:he});this[ce]=new re({...i,connect:async(i,d)=>{let p=i.host;if(!i.port){p+=`:${defaultProtocolPort(i.protocol)}`}try{const{socket:v,statusCode:ee}=await this[le].connect({origin:V,port:K,path:p,signal:i.signal,headers:{...this[ue],host:ne}});if(ee!==200){v.on("error",(()=>{})).destroy();d(new oe(`Proxy response (${ee}) !== 200 when HTTP Tunneling`))}if(i.protocol!=="https:"){d(null,v);return}let te;if(this[Ae]){te=this[Ae].servername}else{te=i.servername}this[pe]({...i,servername:te,httpSocket:v},d)}catch(i){d(i)}}})}dispatch(i,d){const{host:p}=new te(i.origin);const v=buildHeaders(i.headers);throwIfProxyAuthIsSent(v);return this[ce].dispatch({...i,headers:{...v,host:p}},d)}async[V](){await this[ce].close();await this[le].close()}async[K](){await this[ce].destroy();await this[le].destroy()}}function buildHeaders(i){if(Array.isArray(i)){const d={};for(let p=0;pi.toLowerCase()==="proxy-authorization"));if(d){throw new se("Proxy-Authorization should be sent in ProxyAgent constructor")}}i.exports=ProxyAgent},28804:i=>{let d=Date.now();let p;const v=[];function onTimeout(){d=Date.now();let i=v.length;let p=0;while(p0&&d>=V.state){V.state=-1;V.callback(V.opaque)}if(V.state===-1){V.state=-2;if(p!==i-1){v[p]=v.pop()}else{v.pop()}i-=1}else{p+=1}}if(v.length>0){refreshTimeout()}}function refreshTimeout(){if(p&&p.refresh){p.refresh()}else{clearTimeout(p);p=setTimeout(onTimeout,1e3);if(p.unref){p.unref()}}}class Timeout{constructor(i,d,p){this.callback=i;this.delay=d;this.opaque=p;this.state=-2;this.refresh()}refresh(){if(this.state===-2){v.push(this);if(!p||v.length===1){refreshTimeout()}}this.state=0}clear(){this.state=-1}}i.exports={setTimeout(i,d,p){return d<1e3?setTimeout(i,d,p):new Timeout(i,d,p)},clearTimeout(i){if(i instanceof Timeout){i.clear()}else{clearTimeout(i)}}}},68550:(i,d,p)=>{const v=p(31637);const{uid:V,states:K}=p(45913);const{kReadyState:ee,kSentClose:te,kByteParser:re,kReceivedClose:ne}=p(62933);const{fireEvent:ie,failWebsocketConnection:se}=p(3574);const{CloseEvent:oe}=p(46255);const{makeRequest:ae}=p(25194);const{fetching:ce}=p(12315);const{Headers:le}=p(26349);const{getGlobalDispatcher:ue}=p(32581);const{kHeadersList:Ae}=p(36443);const de={};de.open=v.channel("undici:websocket:open");de.close=v.channel("undici:websocket:close");de.socketError=v.channel("undici:websocket:socket_error");let pe;try{pe=p(76982)}catch{}function establishWebSocketConnection(i,d,p,v,K){const ee=i;ee.protocol=i.protocol==="ws:"?"http:":"https:";const te=ae({urlList:[ee],serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(K.headers){const i=new le(K.headers)[Ae];te.headersList=i}const re=pe.randomBytes(16).toString("base64");te.headersList.append("sec-websocket-key",re);te.headersList.append("sec-websocket-version","13");for(const i of d){te.headersList.append("sec-websocket-protocol",i)}const ne="";const ie=ce({request:te,useParallelQueue:true,dispatcher:K.dispatcher??ue(),processResponse(i){if(i.type==="error"||i.status!==101){se(p,"Received network error or non-101 status code.");return}if(d.length!==0&&!i.headersList.get("Sec-WebSocket-Protocol")){se(p,"Server did not respond with sent protocols.");return}if(i.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){se(p,'Server did not set Upgrade header to "websocket".');return}if(i.headersList.get("Connection")?.toLowerCase()!=="upgrade"){se(p,'Server did not set Connection header to "upgrade".');return}const K=i.headersList.get("Sec-WebSocket-Accept");const ee=pe.createHash("sha1").update(re+V).digest("base64");if(K!==ee){se(p,"Incorrect hash received in Sec-WebSocket-Accept header.");return}const ie=i.headersList.get("Sec-WebSocket-Extensions");if(ie!==null&&ie!==ne){se(p,"Received different permessage-deflate than the one set.");return}const oe=i.headersList.get("Sec-WebSocket-Protocol");if(oe!==null&&oe!==te.headersList.get("Sec-WebSocket-Protocol")){se(p,"Protocol was not set in the opening handshake.");return}i.socket.on("data",onSocketData);i.socket.on("close",onSocketClose);i.socket.on("error",onSocketError);if(de.open.hasSubscribers){de.open.publish({address:i.socket.address(),protocol:oe,extensions:ie})}v(i)}});return ie}function onSocketData(i){if(!this.ws[re].write(i)){this.pause()}}function onSocketClose(){const{ws:i}=this;const d=i[te]&&i[ne];let p=1005;let v="";const V=i[re].closingInfo;if(V){p=V.code??1005;v=V.reason}else if(!i[te]){p=1006}i[ee]=K.CLOSED;ie("close",i,oe,{wasClean:d,code:p,reason:v});if(de.close.hasSubscribers){de.close.publish({websocket:i,code:p,reason:v})}}function onSocketError(i){const{ws:d}=this;d[ee]=K.CLOSING;if(de.socketError.hasSubscribers){de.socketError.publish(i)}this.destroy()}i.exports={establishWebSocketConnection:establishWebSocketConnection}},45913:i=>{const d="258EAFA5-E914-47DA-95CA-C5AB0DC85B11";const p={enumerable:true,writable:false,configurable:false};const v={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3};const V={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10};const K=2**16-1;const ee={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4};const te=Buffer.allocUnsafe(0);i.exports={uid:d,staticPropertyDescriptors:p,states:v,opcodes:V,maxUnsigned16Bit:K,parserStates:ee,emptyBuffer:te}},46255:(i,d,p)=>{const{webidl:v}=p(74222);const{kEnumerableProperty:V}=p(3440);const{MessagePort:K}=p(28167);class MessageEvent extends Event{#J;constructor(i,d={}){v.argumentLengthCheck(arguments,1,{header:"MessageEvent constructor"});i=v.converters.DOMString(i);d=v.converters.MessageEventInit(d);super(i,d);this.#J=d}get data(){v.brandCheck(this,MessageEvent);return this.#J.data}get origin(){v.brandCheck(this,MessageEvent);return this.#J.origin}get lastEventId(){v.brandCheck(this,MessageEvent);return this.#J.lastEventId}get source(){v.brandCheck(this,MessageEvent);return this.#J.source}get ports(){v.brandCheck(this,MessageEvent);if(!Object.isFrozen(this.#J.ports)){Object.freeze(this.#J.ports)}return this.#J.ports}initMessageEvent(i,d=false,p=false,V=null,K="",ee="",te=null,re=[]){v.brandCheck(this,MessageEvent);v.argumentLengthCheck(arguments,1,{header:"MessageEvent.initMessageEvent"});return new MessageEvent(i,{bubbles:d,cancelable:p,data:V,origin:K,lastEventId:ee,source:te,ports:re})}}class CloseEvent extends Event{#J;constructor(i,d={}){v.argumentLengthCheck(arguments,1,{header:"CloseEvent constructor"});i=v.converters.DOMString(i);d=v.converters.CloseEventInit(d);super(i,d);this.#J=d}get wasClean(){v.brandCheck(this,CloseEvent);return this.#J.wasClean}get code(){v.brandCheck(this,CloseEvent);return this.#J.code}get reason(){v.brandCheck(this,CloseEvent);return this.#J.reason}}class ErrorEvent extends Event{#J;constructor(i,d){v.argumentLengthCheck(arguments,1,{header:"ErrorEvent constructor"});super(i,d);i=v.converters.DOMString(i);d=v.converters.ErrorEventInit(d??{});this.#J=d}get message(){v.brandCheck(this,ErrorEvent);return this.#J.message}get filename(){v.brandCheck(this,ErrorEvent);return this.#J.filename}get lineno(){v.brandCheck(this,ErrorEvent);return this.#J.lineno}get colno(){v.brandCheck(this,ErrorEvent);return this.#J.colno}get error(){v.brandCheck(this,ErrorEvent);return this.#J.error}}Object.defineProperties(MessageEvent.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:true},data:V,origin:V,lastEventId:V,source:V,ports:V,initMessageEvent:V});Object.defineProperties(CloseEvent.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:true},reason:V,code:V,wasClean:V});Object.defineProperties(ErrorEvent.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:true},message:V,filename:V,lineno:V,colno:V,error:V});v.converters.MessagePort=v.interfaceConverter(K);v.converters["sequence"]=v.sequenceConverter(v.converters.MessagePort);const ee=[{key:"bubbles",converter:v.converters.boolean,defaultValue:false},{key:"cancelable",converter:v.converters.boolean,defaultValue:false},{key:"composed",converter:v.converters.boolean,defaultValue:false}];v.converters.MessageEventInit=v.dictionaryConverter([...ee,{key:"data",converter:v.converters.any,defaultValue:null},{key:"origin",converter:v.converters.USVString,defaultValue:""},{key:"lastEventId",converter:v.converters.DOMString,defaultValue:""},{key:"source",converter:v.nullableConverter(v.converters.MessagePort),defaultValue:null},{key:"ports",converter:v.converters["sequence"],get defaultValue(){return[]}}]);v.converters.CloseEventInit=v.dictionaryConverter([...ee,{key:"wasClean",converter:v.converters.boolean,defaultValue:false},{key:"code",converter:v.converters["unsigned short"],defaultValue:0},{key:"reason",converter:v.converters.USVString,defaultValue:""}]);v.converters.ErrorEventInit=v.dictionaryConverter([...ee,{key:"message",converter:v.converters.DOMString,defaultValue:""},{key:"filename",converter:v.converters.USVString,defaultValue:""},{key:"lineno",converter:v.converters["unsigned long"],defaultValue:0},{key:"colno",converter:v.converters["unsigned long"],defaultValue:0},{key:"error",converter:v.converters.any}]);i.exports={MessageEvent:MessageEvent,CloseEvent:CloseEvent,ErrorEvent:ErrorEvent}},31237:(i,d,p)=>{const{maxUnsigned16Bit:v}=p(45913);let V;try{V=p(76982)}catch{}class WebsocketFrameSend{constructor(i){this.frameData=i;this.maskKey=V.randomBytes(4)}createFrame(i){const d=this.frameData?.byteLength??0;let p=d;let V=6;if(d>v){V+=8;p=127}else if(d>125){V+=2;p=126}const K=Buffer.allocUnsafe(d+V);K[0]=K[1]=0;K[0]|=128;K[0]=(K[0]&240)+i; -/*! ws. MIT License. Einar Otto Stangvik */K[V-4]=this.maskKey[0];K[V-3]=this.maskKey[1];K[V-2]=this.maskKey[2];K[V-1]=this.maskKey[3];K[1]=p;if(p===126){K.writeUInt16BE(d,2)}else if(p===127){K[2]=K[3]=0;K.writeUIntBE(d,4,6)}K[1]|=128;for(let i=0;i{const{Writable:v}=p(2203);const V=p(31637);const{parserStates:K,opcodes:ee,states:te,emptyBuffer:re}=p(45913);const{kReadyState:ne,kSentClose:ie,kResponse:se,kReceivedClose:oe}=p(62933);const{isValidStatusCode:ae,failWebsocketConnection:ce,websocketMessageReceived:le}=p(3574);const{WebsocketFrameSend:ue}=p(31237);const Ae={};Ae.ping=V.channel("undici:websocket:ping");Ae.pong=V.channel("undici:websocket:pong");class ByteParser extends v{#K=[];#X=0;#C=K.INFO;#ee={};#te=[];constructor(i){super();this.ws=i}_write(i,d,p){this.#K.push(i);this.#X+=i.length;this.run(p)}run(i){while(true){if(this.#C===K.INFO){if(this.#X<2){return i()}const d=this.consume(2);this.#ee.fin=(d[0]&128)!==0;this.#ee.opcode=d[0]&15;this.#ee.originalOpcode??=this.#ee.opcode;this.#ee.fragmented=!this.#ee.fin&&this.#ee.opcode!==ee.CONTINUATION;if(this.#ee.fragmented&&this.#ee.opcode!==ee.BINARY&&this.#ee.opcode!==ee.TEXT){ce(this.ws,"Invalid frame type was fragmented.");return}const p=d[1]&127;if(p<=125){this.#ee.payloadLength=p;this.#C=K.READ_DATA}else if(p===126){this.#C=K.PAYLOADLENGTH_16}else if(p===127){this.#C=K.PAYLOADLENGTH_64}if(this.#ee.fragmented&&p>125){ce(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#ee.opcode===ee.PING||this.#ee.opcode===ee.PONG||this.#ee.opcode===ee.CLOSE)&&p>125){ce(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#ee.opcode===ee.CLOSE){if(p===1){ce(this.ws,"Received close frame with a 1-byte body.");return}const i=this.consume(p);this.#ee.closeInfo=this.parseCloseBody(false,i);if(!this.ws[ie]){const i=Buffer.allocUnsafe(2);i.writeUInt16BE(this.#ee.closeInfo.code,0);const d=new ue(i);this.ws[se].socket.write(d.createFrame(ee.CLOSE),(i=>{if(!i){this.ws[ie]=true}}))}this.ws[ne]=te.CLOSING;this.ws[oe]=true;this.end();return}else if(this.#ee.opcode===ee.PING){const d=this.consume(p);if(!this.ws[oe]){const i=new ue(d);this.ws[se].socket.write(i.createFrame(ee.PONG));if(Ae.ping.hasSubscribers){Ae.ping.publish({payload:d})}}this.#C=K.INFO;if(this.#X>0){continue}else{i();return}}else if(this.#ee.opcode===ee.PONG){const d=this.consume(p);if(Ae.pong.hasSubscribers){Ae.pong.publish({payload:d})}if(this.#X>0){continue}else{i();return}}}else if(this.#C===K.PAYLOADLENGTH_16){if(this.#X<2){return i()}const d=this.consume(2);this.#ee.payloadLength=d.readUInt16BE(0);this.#C=K.READ_DATA}else if(this.#C===K.PAYLOADLENGTH_64){if(this.#X<8){return i()}const d=this.consume(8);const p=d.readUInt32BE(0);if(p>2**31-1){ce(this.ws,"Received payload length > 2^31 bytes.");return}const v=d.readUInt32BE(4);this.#ee.payloadLength=(p<<8)+v;this.#C=K.READ_DATA}else if(this.#C===K.READ_DATA){if(this.#X=this.#ee.payloadLength){const i=this.consume(this.#ee.payloadLength);this.#te.push(i);if(!this.#ee.fragmented||this.#ee.fin&&this.#ee.opcode===ee.CONTINUATION){const i=Buffer.concat(this.#te);le(this.ws,this.#ee.originalOpcode,i);this.#ee={};this.#te.length=0}this.#C=K.INFO}}if(this.#X>0){continue}else{i();break}}}consume(i){if(i>this.#X){return null}else if(i===0){return re}if(this.#K[0].length===i){this.#X-=this.#K[0].length;return this.#K.shift()}const d=Buffer.allocUnsafe(i);let p=0;while(p!==i){const v=this.#K[0];const{length:V}=v;if(V+p===i){d.set(this.#K.shift(),p);break}else if(V+p>i){d.set(v.subarray(0,i-p),p);this.#K[0]=v.subarray(i-p);break}else{d.set(this.#K.shift(),p);p+=v.length}}this.#X-=i;return d}parseCloseBody(i,d){let p;if(d.length>=2){p=d.readUInt16BE(0)}if(i){if(!ae(p)){return null}return{code:p}}let v=d.subarray(2);if(v[0]===239&&v[1]===187&&v[2]===191){v=v.subarray(3)}if(p!==undefined&&!ae(p)){return null}try{v=new TextDecoder("utf-8",{fatal:true}).decode(v)}catch{return null}return{code:p,reason:v}}get closingInfo(){return this.#ee.closeInfo}}i.exports={ByteParser:ByteParser}},62933:i=>{i.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},3574:(i,d,p)=>{const{kReadyState:v,kController:V,kResponse:K,kBinaryType:ee,kWebSocketURL:te}=p(62933);const{states:re,opcodes:ne}=p(45913);const{MessageEvent:ie,ErrorEvent:se}=p(46255);function isEstablished(i){return i[v]===re.OPEN}function isClosing(i){return i[v]===re.CLOSING}function isClosed(i){return i[v]===re.CLOSED}function fireEvent(i,d,p=Event,v){const V=new p(i,v);d.dispatchEvent(V)}function websocketMessageReceived(i,d,p){if(i[v]!==re.OPEN){return}let V;if(d===ne.TEXT){try{V=new TextDecoder("utf-8",{fatal:true}).decode(p)}catch{failWebsocketConnection(i,"Received invalid UTF-8 in text frame.");return}}else if(d===ne.BINARY){if(i[ee]==="blob"){V=new Blob([p])}else{V=new Uint8Array(p).buffer}}fireEvent("message",i,ie,{origin:i[te].origin,data:V})}function isValidSubprotocol(i){if(i.length===0){return false}for(const d of i){const i=d.charCodeAt(0);if(i<33||i>126||d==="("||d===")"||d==="<"||d===">"||d==="@"||d===","||d===";"||d===":"||d==="\\"||d==='"'||d==="/"||d==="["||d==="]"||d==="?"||d==="="||d==="{"||d==="}"||i===32||i===9){return false}}return true}function isValidStatusCode(i){if(i>=1e3&&i<1015){return i!==1004&&i!==1005&&i!==1006}return i>=3e3&&i<=4999}function failWebsocketConnection(i,d){const{[V]:p,[K]:v}=i;p.abort();if(v?.socket&&!v.socket.destroyed){v.socket.destroy()}if(d){fireEvent("error",i,se,{error:new Error(d)})}}i.exports={isEstablished:isEstablished,isClosing:isClosing,isClosed:isClosed,fireEvent:fireEvent,isValidSubprotocol:isValidSubprotocol,isValidStatusCode:isValidStatusCode,failWebsocketConnection:failWebsocketConnection,websocketMessageReceived:websocketMessageReceived}},55171:(i,d,p)=>{const{webidl:v}=p(74222);const{DOMException:V}=p(87326);const{URLSerializer:K}=p(94322);const{getGlobalOrigin:ee}=p(75628);const{staticPropertyDescriptors:te,states:re,opcodes:ne,emptyBuffer:ie}=p(45913);const{kWebSocketURL:se,kReadyState:oe,kController:ae,kBinaryType:ce,kResponse:le,kSentClose:ue,kByteParser:Ae}=p(62933);const{isEstablished:de,isClosing:pe,isValidSubprotocol:fe,failWebsocketConnection:he,fireEvent:ge}=p(3574);const{establishWebSocketConnection:me}=p(68550);const{WebsocketFrameSend:Ee}=p(31237);const{ByteParser:ye}=p(43171);const{kEnumerableProperty:Ce,isBlobLike:be}=p(3440);const{getGlobalDispatcher:Ie}=p(32581);const{types:Be}=p(39023);let we=false;class WebSocket extends EventTarget{#P={open:null,error:null,close:null,message:null};#ae=0;#ce="";#re="";constructor(i,d=[]){super();v.argumentLengthCheck(arguments,1,{header:"WebSocket constructor"});if(!we){we=true;process.emitWarning("WebSockets are experimental, expect them to change at any time.",{code:"UNDICI-WS"})}const p=v.converters["DOMString or sequence or WebSocketInit"](d);i=v.converters.USVString(i);d=p.protocols;const K=ee();let te;try{te=new URL(i,K)}catch(i){throw new V(i,"SyntaxError")}if(te.protocol==="http:"){te.protocol="ws:"}else if(te.protocol==="https:"){te.protocol="wss:"}if(te.protocol!=="ws:"&&te.protocol!=="wss:"){throw new V(`Expected a ws: or wss: protocol, got ${te.protocol}`,"SyntaxError")}if(te.hash||te.href.endsWith("#")){throw new V("Got fragment","SyntaxError")}if(typeof d==="string"){d=[d]}if(d.length!==new Set(d.map((i=>i.toLowerCase()))).size){throw new V("Invalid Sec-WebSocket-Protocol value","SyntaxError")}if(d.length>0&&!d.every((i=>fe(i)))){throw new V("Invalid Sec-WebSocket-Protocol value","SyntaxError")}this[se]=new URL(te.href);this[ae]=me(te,d,this,(i=>this.#ue(i)),p);this[oe]=WebSocket.CONNECTING;this[ce]="blob"}close(i=undefined,d=undefined){v.brandCheck(this,WebSocket);if(i!==undefined){i=v.converters["unsigned short"](i,{clamp:true})}if(d!==undefined){d=v.converters.USVString(d)}if(i!==undefined){if(i!==1e3&&(i<3e3||i>4999)){throw new V("invalid code","InvalidAccessError")}}let p=0;if(d!==undefined){p=Buffer.byteLength(d);if(p>123){throw new V(`Reason must be less than 123 bytes; received ${p}`,"SyntaxError")}}if(this[oe]===WebSocket.CLOSING||this[oe]===WebSocket.CLOSED){}else if(!de(this)){he(this,"Connection was closed before it was established.");this[oe]=WebSocket.CLOSING}else if(!pe(this)){const v=new Ee;if(i!==undefined&&d===undefined){v.frameData=Buffer.allocUnsafe(2);v.frameData.writeUInt16BE(i,0)}else if(i!==undefined&&d!==undefined){v.frameData=Buffer.allocUnsafe(2+p);v.frameData.writeUInt16BE(i,0);v.frameData.write(d,2,"utf-8")}else{v.frameData=ie}const V=this[le].socket;V.write(v.createFrame(ne.CLOSE),(i=>{if(!i){this[ue]=true}}));this[oe]=re.CLOSING}else{this[oe]=WebSocket.CLOSING}}send(i){v.brandCheck(this,WebSocket);v.argumentLengthCheck(arguments,1,{header:"WebSocket.send"});i=v.converters.WebSocketSendData(i);if(this[oe]===WebSocket.CONNECTING){throw new V("Sent before connected.","InvalidStateError")}if(!de(this)||pe(this)){return}const d=this[le].socket;if(typeof i==="string"){const p=Buffer.from(i);const v=new Ee(p);const V=v.createFrame(ne.TEXT);this.#ae+=p.byteLength;d.write(V,(()=>{this.#ae-=p.byteLength}))}else if(Be.isArrayBuffer(i)){const p=Buffer.from(i);const v=new Ee(p);const V=v.createFrame(ne.BINARY);this.#ae+=p.byteLength;d.write(V,(()=>{this.#ae-=p.byteLength}))}else if(ArrayBuffer.isView(i)){const p=Buffer.from(i,i.byteOffset,i.byteLength);const v=new Ee(p);const V=v.createFrame(ne.BINARY);this.#ae+=p.byteLength;d.write(V,(()=>{this.#ae-=p.byteLength}))}else if(be(i)){const p=new Ee;i.arrayBuffer().then((i=>{const v=Buffer.from(i);p.frameData=v;const V=p.createFrame(ne.BINARY);this.#ae+=v.byteLength;d.write(V,(()=>{this.#ae-=v.byteLength}))}))}}get readyState(){v.brandCheck(this,WebSocket);return this[oe]}get bufferedAmount(){v.brandCheck(this,WebSocket);return this.#ae}get url(){v.brandCheck(this,WebSocket);return K(this[se])}get extensions(){v.brandCheck(this,WebSocket);return this.#re}get protocol(){v.brandCheck(this,WebSocket);return this.#ce}get onopen(){v.brandCheck(this,WebSocket);return this.#P.open}set onopen(i){v.brandCheck(this,WebSocket);if(this.#P.open){this.removeEventListener("open",this.#P.open)}if(typeof i==="function"){this.#P.open=i;this.addEventListener("open",i)}else{this.#P.open=null}}get onerror(){v.brandCheck(this,WebSocket);return this.#P.error}set onerror(i){v.brandCheck(this,WebSocket);if(this.#P.error){this.removeEventListener("error",this.#P.error)}if(typeof i==="function"){this.#P.error=i;this.addEventListener("error",i)}else{this.#P.error=null}}get onclose(){v.brandCheck(this,WebSocket);return this.#P.close}set onclose(i){v.brandCheck(this,WebSocket);if(this.#P.close){this.removeEventListener("close",this.#P.close)}if(typeof i==="function"){this.#P.close=i;this.addEventListener("close",i)}else{this.#P.close=null}}get onmessage(){v.brandCheck(this,WebSocket);return this.#P.message}set onmessage(i){v.brandCheck(this,WebSocket);if(this.#P.message){this.removeEventListener("message",this.#P.message)}if(typeof i==="function"){this.#P.message=i;this.addEventListener("message",i)}else{this.#P.message=null}}get binaryType(){v.brandCheck(this,WebSocket);return this[ce]}set binaryType(i){v.brandCheck(this,WebSocket);if(i!=="blob"&&i!=="arraybuffer"){this[ce]="blob"}else{this[ce]=i}}#ue(i){this[le]=i;const d=new ye(this);d.on("drain",(function onParserDrain(){this.ws[le].socket.resume()}));i.socket.ws=this;this[Ae]=d;this[oe]=re.OPEN;const p=i.headersList.get("sec-websocket-extensions");if(p!==null){this.#re=p}const v=i.headersList.get("sec-websocket-protocol");if(v!==null){this.#ce=v}ge("open",this)}}WebSocket.CONNECTING=WebSocket.prototype.CONNECTING=re.CONNECTING;WebSocket.OPEN=WebSocket.prototype.OPEN=re.OPEN;WebSocket.CLOSING=WebSocket.prototype.CLOSING=re.CLOSING;WebSocket.CLOSED=WebSocket.prototype.CLOSED=re.CLOSED;Object.defineProperties(WebSocket.prototype,{CONNECTING:te,OPEN:te,CLOSING:te,CLOSED:te,url:Ce,readyState:Ce,bufferedAmount:Ce,onopen:Ce,onerror:Ce,onclose:Ce,close:Ce,onmessage:Ce,binaryType:Ce,send:Ce,extensions:Ce,protocol:Ce,[Symbol.toStringTag]:{value:"WebSocket",writable:false,enumerable:false,configurable:true}});Object.defineProperties(WebSocket,{CONNECTING:te,OPEN:te,CLOSING:te,CLOSED:te});v.converters["sequence"]=v.sequenceConverter(v.converters.DOMString);v.converters["DOMString or sequence"]=function(i){if(v.util.Type(i)==="Object"&&Symbol.iterator in i){return v.converters["sequence"](i)}return v.converters.DOMString(i)};v.converters.WebSocketInit=v.dictionaryConverter([{key:"protocols",converter:v.converters["DOMString or sequence"],get defaultValue(){return[]}},{key:"dispatcher",converter:i=>i,get defaultValue(){return Ie()}},{key:"headers",converter:v.nullableConverter(v.converters.HeadersInit)}]);v.converters["DOMString or sequence or WebSocketInit"]=function(i){if(v.util.Type(i)==="Object"&&!(Symbol.iterator in i)){return v.converters.WebSocketInit(i)}return{protocols:v.converters["DOMString or sequence"](i)}};v.converters.WebSocketSendData=function(i){if(v.util.Type(i)==="Object"){if(be(i)){return v.converters.Blob(i,{strict:false})}if(ArrayBuffer.isView(i)||Be.isAnyArrayBuffer(i)){return v.converters.BufferSource(i)}}return v.converters.USVString(i)};i.exports={WebSocket:WebSocket}},33843:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});function getUserAgent(){if(typeof navigator==="object"&&"userAgent"in navigator){return navigator.userAgent}if(typeof process==="object"&&"version"in process){return`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`}return""}d.getUserAgent=getUserAgent},45389:(i,d,p)=>{var v=p(2203);var V=p(39023).inherits;function Entry(){if(!(this instanceof Entry)){return new Entry}v.PassThrough.call(this);this.path=null;this.type=null;this.isDirectory=false}V(Entry,v.PassThrough);Entry.prototype.autodrain=function(){return this.pipe(new v.Transform({transform:function(i,d,p){p()}}))};i.exports=Entry},5700:(i,d,p)=>{var v=p(79896);var V=p(16928);var K=p(39023);var ee=p(4469);var te=p(2203).Transform;var re=p(85580);function Extract(i){if(!(this instanceof Extract))return new Extract(i);te.call(this);this.opts=i||{};this.unzipStream=new re(this.opts);this.unfinishedEntries=0;this.afterFlushWait=false;this.createdDirectories={};var d=this;this.unzipStream.on("entry",this._processEntry.bind(this));this.unzipStream.on("error",(function(i){d.emit("error",i)}))}K.inherits(Extract,te);Extract.prototype._transform=function(i,d,p){this.unzipStream.write(i,d,p)};Extract.prototype._flush=function(i){var d=this;var allDone=function(){process.nextTick((function(){d.emit("close")}));i()};this.unzipStream.end((function(){if(d.unfinishedEntries>0){d.afterFlushWait=true;return d.on("await-finished",allDone)}allDone()}))};Extract.prototype._processEntry=function(i){var d=this;var p=V.join(this.opts.path,i.path);var K=i.isDirectory?p:V.dirname(p);this.unfinishedEntries++;var writeFileFn=function(){var V=v.createWriteStream(p);V.on("close",(function(){d.unfinishedEntries--;d._notifyAwaiter()}));V.on("error",(function(i){d.emit("error",i)}));i.pipe(V)};if(this.createdDirectories[K]||K==="."){return writeFileFn()}ee(K,(function(p){if(p)return d.emit("error",p);d.createdDirectories[K]=true;if(i.isDirectory){d.unfinishedEntries--;d._notifyAwaiter();return}writeFileFn()}))};Extract.prototype._notifyAwaiter=function(){if(this.afterFlushWait&&this.unfinishedEntries===0){this.emit("await-finished");this.afterFlushWait=false}};i.exports=Extract},42092:(i,d,p)=>{var v=p(2203).Transform;var V=p(39023);function MatcherStream(i,d){if(!(this instanceof MatcherStream)){return new MatcherStream}v.call(this);var p=typeof i==="object"?i.pattern:i;this.pattern=Buffer.isBuffer(p)?p:Buffer.from(p);this.requiredLength=this.pattern.length;if(i.requiredExtraSize)this.requiredLength+=i.requiredExtraSize;this.data=new Buffer("");this.bytesSoFar=0;this.matchFn=d}V.inherits(MatcherStream,v);MatcherStream.prototype.checkDataChunk=function(i){var d=this.data.length>=this.requiredLength;if(!d){return}var p=this.data.indexOf(this.pattern,i?1:0);if(p>=0&&p+this.requiredLength>this.data.length){if(p>0){var v=this.data.slice(0,p);this.push(v);this.bytesSoFar+=p;this.data=this.data.slice(p)}return}if(p===-1){var V=this.data.length-this.requiredLength+1;var v=this.data.slice(0,V);this.push(v);this.bytesSoFar+=V;this.data=this.data.slice(V);return}if(p>0){var v=this.data.slice(0,p);this.data=this.data.slice(p);this.push(v);this.bytesSoFar+=p}var K=this.matchFn?this.matchFn(this.data,this.bytesSoFar):true;if(K){this.data=new Buffer("");return}return true};MatcherStream.prototype._transform=function(i,d,p){this.data=Buffer.concat([this.data,i]);var v=true;while(this.checkDataChunk(!v)){v=false}p()};MatcherStream.prototype._flush=function(i){if(this.data.length>0){var d=true;while(this.checkDataChunk(!d)){d=false}}if(this.data.length>0){this.push(this.data);this.data=null}i()};i.exports=MatcherStream},41879:(i,d,p)=>{var v=p(2203).Transform;var V=p(39023);var K=p(85580);function ParserStream(i){if(!(this instanceof ParserStream)){return new ParserStream(i)}var d=i||{};v.call(this,{readableObjectMode:true});this.opts=i||{};this.unzipStream=new K(this.opts);var p=this;this.unzipStream.on("entry",(function(i){p.push(i)}));this.unzipStream.on("error",(function(i){p.emit("error",i)}))}V.inherits(ParserStream,v);ParserStream.prototype._transform=function(i,d,p){this.unzipStream.write(i,d,p)};ParserStream.prototype._flush=function(i){var d=this;this.unzipStream.end((function(){process.nextTick((function(){d.emit("close")}));i()}))};ParserStream.prototype.on=function(i,d){if(i==="entry"){return v.prototype.on.call(this,"data",d)}return v.prototype.on.call(this,i,d)};ParserStream.prototype.drainAll=function(){this.unzipStream.drainAll();return this.pipe(new v({objectMode:true,transform:function(i,d,p){p()}}))};i.exports=ParserStream},85580:(i,d,p)=>{var v=p(58769);var V=p(2203);var K=p(39023);var ee=p(43106);var te=p(42092);var re=p(45389);const ne={STREAM_START:0,START:1,LOCAL_FILE_HEADER:2,LOCAL_FILE_HEADER_SUFFIX:3,FILE_DATA:4,FILE_DATA_END:5,DATA_DESCRIPTOR:6,CENTRAL_DIRECTORY_FILE_HEADER:7,CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX:8,CDIR64_END:9,CDIR64_END_DATA_SECTOR:10,CDIR64_LOCATOR:11,CENTRAL_DIRECTORY_END:12,CENTRAL_DIRECTORY_END_COMMENT:13,TRAILING_JUNK:14,ERROR:99};const ie=4294967296;const se=67324752;const oe=134695760;const ae=33639248;const ce=101075792;const le=117853008;const ue=101010256;function UnzipStream(i){if(!(this instanceof UnzipStream)){return new UnzipStream(i)}V.Transform.call(this);this.options=i||{};this.data=new Buffer("");this.state=ne.STREAM_START;this.skippedBytes=0;this.parsedEntity=null;this.outStreamInfo={}}K.inherits(UnzipStream,V.Transform);UnzipStream.prototype.processDataChunk=function(i){var d;switch(this.state){case ne.STREAM_START:case ne.START:d=4;break;case ne.LOCAL_FILE_HEADER:d=26;break;case ne.LOCAL_FILE_HEADER_SUFFIX:d=this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength;break;case ne.DATA_DESCRIPTOR:d=12;break;case ne.CENTRAL_DIRECTORY_FILE_HEADER:d=42;break;case ne.CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX:d=this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength+this.parsedEntity.fileCommentLength;break;case ne.CDIR64_END:d=52;break;case ne.CDIR64_END_DATA_SECTOR:d=this.parsedEntity.centralDirectoryRecordSize-44;break;case ne.CDIR64_LOCATOR:d=16;break;case ne.CENTRAL_DIRECTORY_END:d=18;break;case ne.CENTRAL_DIRECTORY_END_COMMENT:d=this.parsedEntity.commentLength;break;case ne.FILE_DATA:return 0;case ne.FILE_DATA_END:return 0;case ne.TRAILING_JUNK:if(this.options.debug)console.log("found",i.length,"bytes of TRAILING_JUNK");return i.length;default:return i.length}var p=i.length;if(p>>8;if((K&255)===80){ee=te;break}}this.skippedBytes+=ee;if(this.options.debug)console.log("Skipped",this.skippedBytes,"bytes");return ee}this.state=ne.ERROR;var oe=V?"Not a valid zip file":"Invalid signature in zip file";if(this.options.debug){var Ae=i.readUInt32LE(0);var de;try{de=i.slice(0,4).toString()}catch(i){}console.log("Unexpected signature in zip file: 0x"+Ae.toString(16),'"'+de+'", skipped',this.skippedBytes,"bytes")}this.emit("error",new Error(oe));return i.length}this.skippedBytes=0;return d;case ne.LOCAL_FILE_HEADER:this.parsedEntity=this._readFile(i);this.state=ne.LOCAL_FILE_HEADER_SUFFIX;return d;case ne.LOCAL_FILE_HEADER_SUFFIX:var pe=new re;var fe=(this.parsedEntity.flags&2048)!==0;pe.path=this._decodeString(i.slice(0,this.parsedEntity.fileNameLength),fe);var he=i.slice(this.parsedEntity.fileNameLength,this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength);var ge=this._readExtraFields(he);if(ge&&ge.parsed){if(ge.parsed.path&&!fe){pe.path=ge.parsed.path}if(Number.isFinite(ge.parsed.uncompressedSize)&&this.parsedEntity.uncompressedSize===ie-1){this.parsedEntity.uncompressedSize=ge.parsed.uncompressedSize}if(Number.isFinite(ge.parsed.compressedSize)&&this.parsedEntity.compressedSize===ie-1){this.parsedEntity.compressedSize=ge.parsed.compressedSize}}this.parsedEntity.extra=ge.parsed||{};if(this.options.debug){const i=Object.assign({},this.parsedEntity,{path:pe.path,flags:"0x"+this.parsedEntity.flags.toString(16),extraFields:ge&&ge.debug});console.log("decoded LOCAL_FILE_HEADER:",JSON.stringify(i,null,2))}this._prepareOutStream(this.parsedEntity,pe);this.emit("entry",pe);this.state=ne.FILE_DATA;return d;case ne.CENTRAL_DIRECTORY_FILE_HEADER:this.parsedEntity=this._readCentralDirectoryEntry(i);this.state=ne.CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX;return d;case ne.CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX:var fe=(this.parsedEntity.flags&2048)!==0;var me=this._decodeString(i.slice(0,this.parsedEntity.fileNameLength),fe);var he=i.slice(this.parsedEntity.fileNameLength,this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength);var ge=this._readExtraFields(he);if(ge&&ge.parsed&&ge.parsed.path&&!fe){me=ge.parsed.path}this.parsedEntity.extra=ge.parsed;var Ee=(this.parsedEntity.versionMadeBy&65280)>>8===3;var ye,Ce;if(Ee){ye=this.parsedEntity.externalFileAttributes>>>16;var be=ye>>>12;Ce=(be&10)===10}if(this.options.debug){const i=Object.assign({},this.parsedEntity,{path:me,flags:"0x"+this.parsedEntity.flags.toString(16),unixAttrs:ye&&"0"+ye.toString(8),isSymlink:Ce,extraFields:ge.debug});console.log("decoded CENTRAL_DIRECTORY_FILE_HEADER:",JSON.stringify(i,null,2))}this.state=ne.START;return d;case ne.CDIR64_END:this.parsedEntity=this._readEndOfCentralDirectory64(i);if(this.options.debug){console.log("decoded CDIR64_END_RECORD:",this.parsedEntity)}this.state=ne.CDIR64_END_DATA_SECTOR;return d;case ne.CDIR64_END_DATA_SECTOR:this.state=ne.START;return d;case ne.CDIR64_LOCATOR:this.state=ne.START;return d;case ne.CENTRAL_DIRECTORY_END:this.parsedEntity=this._readEndOfCentralDirectory(i);if(this.options.debug){console.log("decoded CENTRAL_DIRECTORY_END:",this.parsedEntity)}this.state=ne.CENTRAL_DIRECTORY_END_COMMENT;return d;case ne.CENTRAL_DIRECTORY_END_COMMENT:if(this.options.debug){console.log("decoded CENTRAL_DIRECTORY_END_COMMENT:",i.slice(0,d).toString())}this.state=ne.TRAILING_JUNK;return d;case ne.ERROR:return i.length;default:console.log("didn't handle state #",this.state,"discarding");return i.length}};UnzipStream.prototype._prepareOutStream=function(i,d){var p=this;var v=i.uncompressedSize===0&&/[\/\\]$/.test(d.path);d.path=d.path.replace(/(?<=^|[/\\]+)[.][.]+(?=[/\\]+|$)/g,".");d.type=v?"Directory":"File";d.isDirectory=v;var K=!(i.flags&8);if(K){d.size=i.uncompressedSize}var se=i.versionsNeededToExtract<=45;this.outStreamInfo={stream:null,limit:K?i.compressedSize:-1,written:0};if(!K){var ae=new Buffer(4);ae.writeUInt32LE(oe,0);var ce=i.extra.zip64Mode;var le=ce?20:12;var ue={pattern:ae,requiredExtraSize:le};var Ae=new te(ue,(function(i,d){var v=p._readDataDescriptor(i,ce);var V=v.compressedSize===d;if(!ce&&!V&&d>=ie){var K=d-ie;while(K>=0){V=v.compressedSize===K;if(V)break;K-=ie}}if(!V){return}p.state=ne.FILE_DATA_END;var ee=ce?24:16;if(p.data.length>0){p.data=Buffer.concat([i.slice(ee),p.data])}else{p.data=i.slice(ee)}return true}));this.outStreamInfo.stream=Ae}else{this.outStreamInfo.stream=new V.PassThrough}var de=i.flags&1||i.flags&64;if(de||!se){var pe=de?"Encrypted files are not supported!":"Zip version "+Math.floor(i.versionsNeededToExtract/10)+"."+i.versionsNeededToExtract%10+" is not supported";d.skip=true;setImmediate((()=>{p.emit("error",new Error(pe))}));this.outStreamInfo.stream.pipe((new re).autodrain());return}var fe=i.compressionMethod>0;if(fe){var he=ee.createInflateRaw();he.on("error",(function(i){p.state=ne.ERROR;p.emit("error",i)}));this.outStreamInfo.stream.pipe(he).pipe(d)}else{this.outStreamInfo.stream.pipe(d)}if(this._drainAllEntries){d.autodrain()}};UnzipStream.prototype._readFile=function(i){var d=v.parse(i).word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").vars;return d};UnzipStream.prototype._readExtraFields=function(i){var d={};var p={parsed:d};if(this.options.debug){p.debug=[]}var V=0;while(V=ne+4&&re&1){d.mtime=new Date(i.readUInt32LE(V+ne)*1e3);ne+=4}if(K.extraSize>=ne+4&&re&2){d.atime=new Date(i.readUInt32LE(V+ne)*1e3);ne+=4}if(K.extraSize>=ne+4&&re&4){d.ctime=new Date(i.readUInt32LE(V+ne)*1e3)}break;case 28789:ee="Info-ZIP Unicode Path Extra Field";var ie=i.readUInt8(V);if(ie===1){var ne=1;var se=i.readUInt32LE(V+ne);ne+=4;var oe=i.slice(V+ne);d.path=oe.toString()}break;case 13:case 22613:ee=K.extraId===13?"PKWARE Unix":"Info-ZIP UNIX (type 1)";var ne=0;if(K.extraSize>=8){var ae=new Date(i.readUInt32LE(V+ne)*1e3);ne+=4;var ce=new Date(i.readUInt32LE(V+ne)*1e3);ne+=4;d.atime=ae;d.mtime=ce;if(K.extraSize>=12){var le=i.readUInt16LE(V+ne);ne+=2;var ue=i.readUInt16LE(V+ne);ne+=2;d.uid=le;d.gid=ue}}break;case 30805:ee="Info-ZIP UNIX (type 2)";var ne=0;if(K.extraSize>=4){var le=i.readUInt16LE(V+ne);ne+=2;var ue=i.readUInt16LE(V+ne);ne+=2;d.uid=le;d.gid=ue}break;case 30837:ee="Info-ZIP New Unix";var ne=0;var Ae=i.readUInt8(V);ne+=1;if(Ae===1){var de=i.readUInt8(V+ne);ne+=1;if(de<=6){d.uid=i.readUIntLE(V+ne,de)}ne+=de;var pe=i.readUInt8(V+ne);ne+=1;if(pe<=6){d.gid=i.readUIntLE(V+ne,pe)}}break;case 30062:ee="ASi Unix";var ne=0;if(K.extraSize>=14){var fe=i.readUInt32LE(V+ne);ne+=4;var he=i.readUInt16LE(V+ne);ne+=2;var ge=i.readUInt32LE(V+ne);ne+=4;var le=i.readUInt16LE(V+ne);ne+=2;var ue=i.readUInt16LE(V+ne);ne+=2;d.mode=he;d.uid=le;d.gid=ue;if(K.extraSize>14){var me=V+ne;var Ee=V+K.extraSize-14;var ye=this._decodeString(i.slice(me,Ee));d.symlink=ye}}break}if(this.options.debug){p.debug.push({extraId:"0x"+K.extraId.toString(16),description:ee,data:i.slice(V,V+K.extraSize).inspect()})}V+=K.extraSize}return p};UnzipStream.prototype._readDataDescriptor=function(i,d){if(d){var p=v.parse(i).word32lu("dataDescriptorSignature").word32lu("crc32").word64lu("compressedSize").word64lu("uncompressedSize").vars;return p}var p=v.parse(i).word32lu("dataDescriptorSignature").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").vars;return p};UnzipStream.prototype._readCentralDirectoryEntry=function(i){var d=v.parse(i).word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").word16lu("fileCommentLength").word16lu("diskNumber").word16lu("internalFileAttributes").word32lu("externalFileAttributes").word32lu("offsetToLocalFileHeader").vars;return d};UnzipStream.prototype._readEndOfCentralDirectory64=function(i){var d=v.parse(i).word64lu("centralDirectoryRecordSize").word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word32lu("diskNumber").word32lu("diskNumberWithCentralDirectoryStart").word64lu("centralDirectoryEntries").word64lu("totalCentralDirectoryEntries").word64lu("sizeOfCentralDirectory").word64lu("offsetToStartOfCentralDirectory").vars;return d};UnzipStream.prototype._readEndOfCentralDirectory=function(i){var d=v.parse(i).word16lu("diskNumber").word16lu("diskStart").word16lu("centralDirectoryEntries").word16lu("totalCentralDirectoryEntries").word32lu("sizeOfCentralDirectory").word32lu("offsetToStartOfCentralDirectory").word16lu("commentLength").vars;return d};const Ae="\0☺☻♥♦♣♠•◘○◙♂♀♪♫☼►◄↕‼¶§▬↨↑↓→←∟↔▲▼ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~⌂ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ";UnzipStream.prototype._decodeString=function(i,d){if(d){return i.toString("utf8")}if(this.options.decodeString){return this.options.decodeString(i)}let p="";for(var v=0;v0){this.data=this.data.slice(p);if(this.data.length===0)break}if(this.state===ne.FILE_DATA){if(this.outStreamInfo.limit>=0){var v=this.outStreamInfo.limit-this.outStreamInfo.written;var V;if(v{if(this.state===ne.FILE_DATA_END){this.state=ne.START;return K.end(d)}d()}))}return}d()};UnzipStream.prototype.drainAll=function(){this._drainAllEntries=true};UnzipStream.prototype._transform=function(i,d,p){var v=this;if(v.data.length>0){v.data=Buffer.concat([v.data,i])}else{v.data=i}var V=v.data.length;var done=function(){if(v.data.length>0&&v.data.length0){d._parseOrOutput("buffer",(function(){if(d.data.length>0)return setImmediate((function(){d._flush(i)}));i()}));return}if(d.state===ne.FILE_DATA){return i(new Error("Stream finished in an invalid state, uncompression failed"))}setImmediate(i)};i.exports=UnzipStream},33991:(i,d,p)=>{d.Parse=p(41879);d.Extract=p(5700)},24488:(i,d,p)=>{i.exports=p(39023).deprecate},58264:i=>{i.exports=wrappy;function wrappy(i,d){if(i&&d)return wrappy(i)(d);if(typeof i!=="function")throw new TypeError("need wrapper function");Object.keys(i).forEach((function(d){wrapper[d]=i[d]}));return wrapper;function wrapper(){var d=new Array(arguments.length);for(var p=0;p{ +const v=p(79896);const V=p(70857);const K=p(16928);const ee=p(76982);const te={fs:v.constants,os:V.constants};const re="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",ne=/XXXXXX/,se=3,ie=(te.O_CREAT||te.fs.O_CREAT)|(te.O_EXCL||te.fs.O_EXCL)|(te.O_RDWR||te.fs.O_RDWR),oe=V.platform()==="win32",ae=te.EBADF||te.os.errno.EBADF,Ae=te.ENOENT||te.os.errno.ENOENT,ce=448,le=384,ue="exit",de=[],he=v.rmdirSync.bind(v);let fe=false;function rimraf(i,d){return v.rm(i,{recursive:true},d)}function FN_RIMRAF_SYNC(i){return v.rmSync(i,{recursive:true})}function tmpName(i,d){const p=_parseArguments(i,d),V=p[0],K=p[1];_assertAndSanitizeOptions(V,(function(i,d){if(i)return K(i);let p=d.tries;(function _getUniqueName(){try{const i=_generateTmpName(d);v.stat(i,(function(d){if(!d){if(p-- >0)return _getUniqueName();return K(new Error("Could not get a unique tmp filename, max tries reached "+i))}K(null,i)}))}catch(i){K(i)}})()}))}function tmpNameSync(i){const d=_parseArguments(i),p=d[0];const V=_assertAndSanitizeOptionsSync(p);let K=V.tries;do{const i=_generateTmpName(V);try{v.statSync(i)}catch(d){return i}}while(K-- >0);throw new Error("Could not get a unique tmp filename, max tries reached")}function file(i,d){const p=_parseArguments(i,d),V=p[0],K=p[1];tmpName(V,(function _tmpNameCreated(i,d){if(i)return K(i);v.open(d,ie,V.mode||le,(function _fileCreated(i,p){if(i)return K(i);if(V.discardDescriptor){return v.close(p,(function _discardCallback(i){return K(i,d,undefined,_prepareTmpFileRemoveCallback(d,-1,V,false))}))}else{const i=V.discardDescriptor||V.detachDescriptor;K(null,d,p,_prepareTmpFileRemoveCallback(d,i?-1:p,V,false))}}))}))}function fileSync(i){const d=_parseArguments(i),p=d[0];const V=p.discardDescriptor||p.detachDescriptor;const K=tmpNameSync(p);let ee=v.openSync(K,ie,p.mode||le);if(p.discardDescriptor){v.closeSync(ee);ee=undefined}return{name:K,fd:ee,removeCallback:_prepareTmpFileRemoveCallback(K,V?-1:ee,p,true)}}function dir(i,d){const p=_parseArguments(i,d),V=p[0],K=p[1];tmpName(V,(function _tmpNameCreated(i,d){if(i)return K(i);v.mkdir(d,V.mode||ce,(function _dirCreated(i){if(i)return K(i);K(null,d,_prepareTmpDirRemoveCallback(d,V,false))}))}))}function dirSync(i){const d=_parseArguments(i),p=d[0];const V=tmpNameSync(p);v.mkdirSync(V,p.mode||ce);return{name:V,removeCallback:_prepareTmpDirRemoveCallback(V,p,true)}}function _removeFileAsync(i,d){const _handler=function(i){if(i&&!_isENOENT(i)){return d(i)}d()};if(0<=i[0])v.close(i[0],(function(){v.unlink(i[1],_handler)}));else v.unlink(i[1],_handler)}function _removeFileSync(i){let d=null;try{if(0<=i[0])v.closeSync(i[0])}catch(i){if(!_isEBADF(i)&&!_isENOENT(i))throw i}finally{try{v.unlinkSync(i[1])}catch(i){if(!_isENOENT(i))d=i}}if(d!==null){throw d}}function _prepareTmpFileRemoveCallback(i,d,p,v){const V=_prepareRemoveCallback(_removeFileSync,[d,i],v);const K=_prepareRemoveCallback(_removeFileAsync,[d,i],v,V);if(!p.keep)de.unshift(V);return v?V:K}function _prepareTmpDirRemoveCallback(i,d,p){const V=d.unsafeCleanup?rimraf:v.rmdir.bind(v);const K=d.unsafeCleanup?FN_RIMRAF_SYNC:he;const ee=_prepareRemoveCallback(K,i,p);const te=_prepareRemoveCallback(V,i,p,ee);if(!d.keep)de.unshift(ee);return p?ee:te}function _prepareRemoveCallback(i,d,p,v){let V=false;return function _cleanupCallback(K){if(!V){const ee=v||_cleanupCallback;const te=de.indexOf(ee);if(te>=0)de.splice(te,1);V=true;if(p||i===he||i===FN_RIMRAF_SYNC){return i(d)}else{return i(d,K||function(){})}}}}function _garbageCollector(){if(!fe)return;while(de.length){try{de[0]()}catch(i){}}}function _randomChars(i){let d=[],p=null;try{p=ee.randomBytes(i)}catch(d){p=ee.pseudoRandomBytes(i)}for(let v=0;v{i.exports=Traverse;function Traverse(i){if(!(this instanceof Traverse))return new Traverse(i);this.value=i}Traverse.prototype.get=function(i){var d=this.value;for(var p=0;p{var d;var p;var v;var V;var K;var ee;var te;var re;var ne;var se;var ie;var oe;var ae;var Ae;var ce;var le;var ue;var de;var he;var fe;var ge;var pe;var me;var Ee;var Ce;var ye;var Ie;var Be;var Qe;var be;var we;(function(d){var p=typeof global==="object"?global:typeof self==="object"?self:typeof this==="object"?this:{};if(typeof define==="function"&&define.amd){define("tslib",["exports"],(function(i){d(createExporter(p,createExporter(i)))}))}else if(true&&typeof i.exports==="object"){d(createExporter(p,createExporter(i.exports)))}else{d(createExporter(p))}function createExporter(i,d){if(i!==p){if(typeof Object.create==="function"){Object.defineProperty(i,"__esModule",{value:true})}else{i.__esModule=true}}return function(p,v){return i[p]=d?d(p,v):v}}})((function(i){var Se=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(i,d){i.__proto__=d}||function(i,d){for(var p in d)if(Object.prototype.hasOwnProperty.call(d,p))i[p]=d[p]};d=function(i,d){if(typeof d!=="function"&&d!==null)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");Se(i,d);function __(){this.constructor=i}i.prototype=d===null?Object.create(d):(__.prototype=d.prototype,new __)};p=Object.assign||function(i){for(var d,p=1,v=arguments.length;p=0;te--)if(ee=i[te])K=(V<3?ee(K):V>3?ee(d,p,K):ee(d,p))||K;return V>3&&K&&Object.defineProperty(d,p,K),K};K=function(i,d){return function(p,v){d(p,v,i)}};ee=function(i,d,p,v,V,K){function accept(i){if(i!==void 0&&typeof i!=="function")throw new TypeError("Function expected");return i}var ee=v.kind,te=ee==="getter"?"get":ee==="setter"?"set":"value";var re=!d&&i?v["static"]?i:i.prototype:null;var ne=d||(re?Object.getOwnPropertyDescriptor(re,v.name):{});var se,ie=false;for(var oe=p.length-1;oe>=0;oe--){var ae={};for(var Ae in v)ae[Ae]=Ae==="access"?{}:v[Ae];for(var Ae in v.access)ae.access[Ae]=v.access[Ae];ae.addInitializer=function(i){if(ie)throw new TypeError("Cannot add initializers after decoration has completed");K.push(accept(i||null))};var ce=(0,p[oe])(ee==="accessor"?{get:ne.get,set:ne.set}:ne[te],ae);if(ee==="accessor"){if(ce===void 0)continue;if(ce===null||typeof ce!=="object")throw new TypeError("Object expected");if(se=accept(ce.get))ne.get=se;if(se=accept(ce.set))ne.set=se;if(se=accept(ce.init))V.unshift(se)}else if(se=accept(ce)){if(ee==="field")V.unshift(se);else ne[te]=se}}if(re)Object.defineProperty(re,v.name,ne);ie=true};te=function(i,d,p){var v=arguments.length>2;for(var V=0;V0&&K[K.length-1])&&(te[0]===6||te[0]===2)){p=0;continue}if(te[0]===3&&(!K||te[1]>K[0]&&te[1]=i.length)i=void 0;return{value:i&&i[v++],done:!i}}};throw new TypeError(d?"Object is not iterable.":"Symbol.iterator is not defined.")};ce=function(i,d){var p=typeof Symbol==="function"&&i[Symbol.iterator];if(!p)return i;var v=p.call(i),V,K=[],ee;try{while((d===void 0||d-- >0)&&!(V=v.next()).done)K.push(V.value)}catch(i){ee={error:i}}finally{try{if(V&&!V.done&&(p=v["return"]))p.call(v)}finally{if(ee)throw ee.error}}return K};le=function(){for(var i=[],d=0;d1||resume(i,d)}))}}function resume(i,d){try{step(v[i](d))}catch(i){settle(K[0][3],i)}}function step(i){i.value instanceof he?Promise.resolve(i.value.v).then(fulfill,reject):settle(K[0][2],i)}function fulfill(i){resume("next",i)}function reject(i){resume("throw",i)}function settle(i,d){if(i(d),K.shift(),K.length)resume(K[0][0],K[0][1])}};ge=function(i){var d,p;return d={},verb("next"),verb("throw",(function(i){throw i})),verb("return"),d[Symbol.iterator]=function(){return this},d;function verb(v,V){d[v]=i[v]?function(d){return(p=!p)?{value:he(i[v](d)),done:false}:V?V(d):d}:V}};pe=function(i){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var d=i[Symbol.asyncIterator],p;return d?d.call(i):(i=typeof Ae==="function"?Ae(i):i[Symbol.iterator](),p={},verb("next"),verb("throw"),verb("return"),p[Symbol.asyncIterator]=function(){return this},p);function verb(d){p[d]=i[d]&&function(p){return new Promise((function(v,V){p=i[d](p),settle(v,V,p.done,p.value)}))}}function settle(i,d,p,v){Promise.resolve(v).then((function(d){i({value:d,done:p})}),d)}};me=function(i,d){if(Object.defineProperty){Object.defineProperty(i,"raw",{value:d})}else{i.raw=d}return i};var Re=Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d};Ee=function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))Qe(d,i,p);Re(d,i);return d};Ce=function(i){return i&&i.__esModule?i:{default:i}};ye=function(i,d,p,v){if(p==="a"&&!v)throw new TypeError("Private accessor was defined without a getter");if(typeof d==="function"?i!==d||!v:!d.has(i))throw new TypeError("Cannot read private member from an object whose class did not declare it");return p==="m"?v:p==="a"?v.call(i):v?v.value:d.get(i)};Ie=function(i,d,p,v,V){if(v==="m")throw new TypeError("Private method is not writable");if(v==="a"&&!V)throw new TypeError("Private accessor was defined without a setter");if(typeof d==="function"?i!==d||!V:!d.has(i))throw new TypeError("Cannot write private member to an object whose class did not declare it");return v==="a"?V.call(i,p):V?V.value=p:d.set(i,p),p};Be=function(i,d){if(d===null||typeof d!=="object"&&typeof d!=="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof i==="function"?d===i:i.has(d)};be=function(i,d,p){if(d!==null&&d!==void 0){if(typeof d!=="object"&&typeof d!=="function")throw new TypeError("Object expected.");var v;if(p){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");v=d[Symbol.asyncDispose]}if(v===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");v=d[Symbol.dispose]}if(typeof v!=="function")throw new TypeError("Object not disposable.");i.stack.push({value:d,dispose:v,async:p})}else if(p){i.stack.push({async:true})}return d};var ve=typeof SuppressedError==="function"?SuppressedError:function(i,d,p){var v=new Error(p);return v.name="SuppressedError",v.error=i,v.suppressed=d,v};we=function(i){function fail(d){i.error=i.hasError?new ve(d,i.error,"An error was suppressed during disposal."):d;i.hasError=true}function next(){while(i.stack.length){var d=i.stack.pop();try{var p=d.dispose&&d.dispose.call(d.value);if(d.async)return Promise.resolve(p).then(next,(function(i){fail(i);return next()}))}catch(i){fail(i)}}if(i.hasError)throw i.error}return next()};i("__extends",d);i("__assign",p);i("__rest",v);i("__decorate",V);i("__param",K);i("__esDecorate",ee);i("__runInitializers",te);i("__propKey",re);i("__setFunctionName",ne);i("__metadata",se);i("__awaiter",ie);i("__generator",oe);i("__exportStar",ae);i("__createBinding",Qe);i("__values",Ae);i("__read",ce);i("__spread",le);i("__spreadArrays",ue);i("__spreadArray",de);i("__await",he);i("__asyncGenerator",fe);i("__asyncDelegator",ge);i("__asyncValues",pe);i("__makeTemplateObject",me);i("__importStar",Ee);i("__importDefault",Ce);i("__classPrivateFieldGet",ye);i("__classPrivateFieldSet",Ie);i("__classPrivateFieldIn",Be);i("__addDisposableResource",be);i("__disposeResources",we)}))},20770:(i,d,p)=>{i.exports=p(20218)},20218:(i,d,p)=>{var v=p(69278);var V=p(64756);var K=p(58611);var ee=p(65692);var te=p(24434);var re=p(42613);var ne=p(39023);d.httpOverHttp=httpOverHttp;d.httpsOverHttp=httpsOverHttp;d.httpOverHttps=httpOverHttps;d.httpsOverHttps=httpsOverHttps;function httpOverHttp(i){var d=new TunnelingAgent(i);d.request=K.request;return d}function httpsOverHttp(i){var d=new TunnelingAgent(i);d.request=K.request;d.createSocket=createSecureSocket;d.defaultPort=443;return d}function httpOverHttps(i){var d=new TunnelingAgent(i);d.request=ee.request;return d}function httpsOverHttps(i){var d=new TunnelingAgent(i);d.request=ee.request;d.createSocket=createSecureSocket;d.defaultPort=443;return d}function TunnelingAgent(i){var d=this;d.options=i||{};d.proxyOptions=d.options.proxy||{};d.maxSockets=d.options.maxSockets||K.Agent.defaultMaxSockets;d.requests=[];d.sockets=[];d.on("free",(function onFree(i,p,v,V){var K=toOptions(p,v,V);for(var ee=0,te=d.requests.length;ee=this.maxSockets){V.requests.push(K);return}V.createSocket(K,(function(d){d.on("free",onFree);d.on("close",onCloseOrRemove);d.on("agentRemove",onCloseOrRemove);i.onSocket(d);function onFree(){V.emit("free",d,K)}function onCloseOrRemove(i){V.removeSocket(d);d.removeListener("free",onFree);d.removeListener("close",onCloseOrRemove);d.removeListener("agentRemove",onCloseOrRemove)}}))};TunnelingAgent.prototype.createSocket=function createSocket(i,d){var p=this;var v={};p.sockets.push(v);var V=mergeOptions({},p.proxyOptions,{method:"CONNECT",path:i.host+":"+i.port,agent:false,headers:{host:i.host+":"+i.port}});if(i.localAddress){V.localAddress=i.localAddress}if(V.proxyAuth){V.headers=V.headers||{};V.headers["Proxy-Authorization"]="Basic "+new Buffer(V.proxyAuth).toString("base64")}se("making CONNECT request");var K=p.request(V);K.useChunkedEncodingByDefault=false;K.once("response",onResponse);K.once("upgrade",onUpgrade);K.once("connect",onConnect);K.once("error",onError);K.end();function onResponse(i){i.upgrade=true}function onUpgrade(i,d,p){process.nextTick((function(){onConnect(i,d,p)}))}function onConnect(V,ee,te){K.removeAllListeners();ee.removeAllListeners();if(V.statusCode!==200){se("tunneling socket could not be established, statusCode=%d",V.statusCode);ee.destroy();var re=new Error("tunneling socket could not be established, "+"statusCode="+V.statusCode);re.code="ECONNRESET";i.request.emit("error",re);p.removeSocket(v);return}if(te.length>0){se("got illegal response body from proxy");ee.destroy();var re=new Error("got illegal response body from proxy");re.code="ECONNRESET";i.request.emit("error",re);p.removeSocket(v);return}se("tunneling connection has established");p.sockets[p.sockets.indexOf(v)]=ee;return d(ee)}function onError(d){K.removeAllListeners();se("tunneling socket could not be established, cause=%s\n",d.message,d.stack);var V=new Error("tunneling socket could not be established, "+"cause="+d.message);V.code="ECONNRESET";i.request.emit("error",V);p.removeSocket(v)}};TunnelingAgent.prototype.removeSocket=function removeSocket(i){var d=this.sockets.indexOf(i);if(d===-1){return}this.sockets.splice(d,1);var p=this.requests.shift();if(p){this.createSocket(p,(function(i){p.request.onSocket(i)}))}};function createSecureSocket(i,d){var p=this;TunnelingAgent.prototype.createSocket.call(p,i,(function(v){var K=i.request.getHeader("host");var ee=mergeOptions({},p.options,{socket:v,servername:K?K.replace(/:.*$/,""):i.host});var te=V.connect(0,ee);p.sockets[p.sockets.indexOf(v)]=te;d(te)}))}function toOptions(i,d,p){if(typeof i==="string"){return{host:i,port:d,localAddress:p}}return i}function mergeOptions(i){for(var d=1,p=arguments.length;d{const v=p(86197);const V=p(28611);const K=p(68707);const ee=p(35076);const te=p(81093);const re=p(59965);const ne=p(3440);const{InvalidArgumentError:se}=K;const ie=p(56615);const oe=p(59136);const ae=p(47365);const Ae=p(47501);const ce=p(94004);const le=p(52429);const ue=p(22720);const de=p(53573);const{getGlobalDispatcher:he,setGlobalDispatcher:fe}=p(32581);const ge=p(78840);const pe=p(48299);const me=p(64415);let Ee;try{p(76982);Ee=true}catch{Ee=false}Object.assign(V.prototype,ie);i.exports.Dispatcher=V;i.exports.Client=v;i.exports.Pool=ee;i.exports.BalancedPool=te;i.exports.Agent=re;i.exports.ProxyAgent=ue;i.exports.RetryHandler=de;i.exports.DecoratorHandler=ge;i.exports.RedirectHandler=pe;i.exports.createRedirectInterceptor=me;i.exports.buildConnector=oe;i.exports.errors=K;function makeDispatcher(i){return(d,p,v)=>{if(typeof p==="function"){v=p;p=null}if(!d||typeof d!=="string"&&typeof d!=="object"&&!(d instanceof URL)){throw new se("invalid url")}if(p!=null&&typeof p!=="object"){throw new se("invalid opts")}if(p&&p.path!=null){if(typeof p.path!=="string"){throw new se("invalid opts.path")}let i=p.path;if(!p.path.startsWith("/")){i=`/${i}`}d=new URL(ne.parseOrigin(d).origin+i)}else{if(!p){p=typeof d==="object"?d:{}}d=ne.parseURL(d)}const{agent:V,dispatcher:K=he()}=p;if(V){throw new se("unsupported opts.agent. Did you mean opts.client?")}return i.call(K,{...p,origin:d.origin,path:d.search?`${d.pathname}${d.search}`:d.pathname,method:p.method||(p.body?"PUT":"GET")},v)}}i.exports.setGlobalDispatcher=fe;i.exports.getGlobalDispatcher=he;if(ne.nodeMajor>16||ne.nodeMajor===16&&ne.nodeMinor>=8){let d=null;i.exports.fetch=async function fetch(i){if(!d){d=p(12315).fetch}try{return await d(...arguments)}catch(i){if(typeof i==="object"){Error.captureStackTrace(i,this)}throw i}};i.exports.Headers=p(26349).Headers;i.exports.Response=p(48676).Response;i.exports.Request=p(25194).Request;i.exports.FormData=p(43073).FormData;i.exports.File=p(63041).File;i.exports.FileReader=p(82160).FileReader;const{setGlobalOrigin:v,getGlobalOrigin:V}=p(75628);i.exports.setGlobalOrigin=v;i.exports.getGlobalOrigin=V;const{CacheStorage:K}=p(44738);const{kConstruct:ee}=p(80296);i.exports.caches=new K(ee)}if(ne.nodeMajor>=16){const{deleteCookie:d,getCookies:v,getSetCookies:V,setCookie:K}=p(53168);i.exports.deleteCookie=d;i.exports.getCookies=v;i.exports.getSetCookies=V;i.exports.setCookie=K;const{parseMIMEType:ee,serializeAMimeType:te}=p(94322);i.exports.parseMIMEType=ee;i.exports.serializeAMimeType=te}if(ne.nodeMajor>=18&&Ee){const{WebSocket:d}=p(55171);i.exports.WebSocket=d}i.exports.request=makeDispatcher(ie.request);i.exports.stream=makeDispatcher(ie.stream);i.exports.pipeline=makeDispatcher(ie.pipeline);i.exports.connect=makeDispatcher(ie.connect);i.exports.upgrade=makeDispatcher(ie.upgrade);i.exports.MockClient=ae;i.exports.MockPool=ce;i.exports.MockAgent=Ae;i.exports.mockErrors=le},59965:(i,d,p)=>{const{InvalidArgumentError:v}=p(68707);const{kClients:V,kRunning:K,kClose:ee,kDestroy:te,kDispatch:re,kInterceptors:ne}=p(36443);const se=p(50001);const ie=p(35076);const oe=p(86197);const ae=p(3440);const Ae=p(64415);const{WeakRef:ce,FinalizationRegistry:le}=p(13194)();const ue=Symbol("onConnect");const de=Symbol("onDisconnect");const he=Symbol("onConnectionError");const fe=Symbol("maxRedirections");const ge=Symbol("onDrain");const pe=Symbol("factory");const me=Symbol("finalizer");const Ee=Symbol("options");function defaultFactory(i,d){return d&&d.connections===1?new oe(i,d):new ie(i,d)}class Agent extends se{constructor({factory:i=defaultFactory,maxRedirections:d=0,connect:p,...K}={}){super();if(typeof i!=="function"){throw new v("factory must be a function.")}if(p!=null&&typeof p!=="function"&&typeof p!=="object"){throw new v("connect must be a function or an object")}if(!Number.isInteger(d)||d<0){throw new v("maxRedirections must be a positive number")}if(p&&typeof p!=="function"){p={...p}}this[ne]=K.interceptors&&K.interceptors.Agent&&Array.isArray(K.interceptors.Agent)?K.interceptors.Agent:[Ae({maxRedirections:d})];this[Ee]={...ae.deepClone(K),connect:p};this[Ee].interceptors=K.interceptors?{...K.interceptors}:undefined;this[fe]=d;this[pe]=i;this[V]=new Map;this[me]=new le((i=>{const d=this[V].get(i);if(d!==undefined&&d.deref()===undefined){this[V].delete(i)}}));const ee=this;this[ge]=(i,d)=>{ee.emit("drain",i,[ee,...d])};this[ue]=(i,d)=>{ee.emit("connect",i,[ee,...d])};this[de]=(i,d,p)=>{ee.emit("disconnect",i,[ee,...d],p)};this[he]=(i,d,p)=>{ee.emit("connectionError",i,[ee,...d],p)}}get[K](){let i=0;for(const d of this[V].values()){const p=d.deref();if(p){i+=p[K]}}return i}[re](i,d){let p;if(i.origin&&(typeof i.origin==="string"||i.origin instanceof URL)){p=String(i.origin)}else{throw new v("opts.origin must be a non-empty string or URL.")}const K=this[V].get(p);let ee=K?K.deref():null;if(!ee){ee=this[pe](i.origin,this[Ee]).on("drain",this[ge]).on("connect",this[ue]).on("disconnect",this[de]).on("connectionError",this[he]);this[V].set(p,new ce(ee));this[me].register(ee,p)}return ee.dispatch(i,d)}async[ee](){const i=[];for(const d of this[V].values()){const p=d.deref();if(p){i.push(p.close())}}await Promise.all(i)}async[te](i){const d=[];for(const p of this[V].values()){const v=p.deref();if(v){d.push(v.destroy(i))}}await Promise.all(d)}}i.exports=Agent},80158:(i,d,p)=>{const{addAbortListener:v}=p(3440);const{RequestAbortedError:V}=p(68707);const K=Symbol("kListener");const ee=Symbol("kSignal");function abort(i){if(i.abort){i.abort()}else{i.onError(new V)}}function addSignal(i,d){i[ee]=null;i[K]=null;if(!d){return}if(d.aborted){abort(i);return}i[ee]=d;i[K]=()=>{abort(i)};v(i[ee],i[K])}function removeSignal(i){if(!i[ee]){return}if("removeEventListener"in i[ee]){i[ee].removeEventListener("abort",i[K])}else{i[ee].removeListener("abort",i[K])}i[ee]=null;i[K]=null}i.exports={addSignal:addSignal,removeSignal:removeSignal}},34660:(i,d,p)=>{const{AsyncResource:v}=p(90290);const{InvalidArgumentError:V,RequestAbortedError:K,SocketError:ee}=p(68707);const te=p(3440);const{addSignal:re,removeSignal:ne}=p(80158);class ConnectHandler extends v{constructor(i,d){if(!i||typeof i!=="object"){throw new V("invalid opts")}if(typeof d!=="function"){throw new V("invalid callback")}const{signal:p,opaque:v,responseHeaders:K}=i;if(p&&typeof p.on!=="function"&&typeof p.addEventListener!=="function"){throw new V("signal must be an EventEmitter or EventTarget")}super("UNDICI_CONNECT");this.opaque=v||null;this.responseHeaders=K||null;this.callback=d;this.abort=null;re(this,p)}onConnect(i,d){if(!this.callback){throw new K}this.abort=i;this.context=d}onHeaders(){throw new ee("bad connect",null)}onUpgrade(i,d,p){const{callback:v,opaque:V,context:K}=this;ne(this);this.callback=null;let ee=d;if(ee!=null){ee=this.responseHeaders==="raw"?te.parseRawHeaders(d):te.parseHeaders(d)}this.runInAsyncScope(v,null,null,{statusCode:i,headers:ee,socket:p,opaque:V,context:K})}onError(i){const{callback:d,opaque:p}=this;ne(this);if(d){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(d,null,i,{opaque:p})}))}}}function connect(i,d){if(d===undefined){return new Promise(((d,p)=>{connect.call(this,i,((i,v)=>i?p(i):d(v)))}))}try{const p=new ConnectHandler(i,d);this.dispatch({...i,method:"CONNECT"},p)}catch(p){if(typeof d!=="function"){throw p}const v=i&&i.opaque;queueMicrotask((()=>d(p,{opaque:v})))}}i.exports=connect},76862:(i,d,p)=>{const{Readable:v,Duplex:V,PassThrough:K}=p(2203);const{InvalidArgumentError:ee,InvalidReturnValueError:te,RequestAbortedError:re}=p(68707);const ne=p(3440);const{AsyncResource:se}=p(90290);const{addSignal:ie,removeSignal:oe}=p(80158);const ae=p(42613);const Ae=Symbol("resume");class PipelineRequest extends v{constructor(){super({autoDestroy:true});this[Ae]=null}_read(){const{[Ae]:i}=this;if(i){this[Ae]=null;i()}}_destroy(i,d){this._read();d(i)}}class PipelineResponse extends v{constructor(i){super({autoDestroy:true});this[Ae]=i}_read(){this[Ae]()}_destroy(i,d){if(!i&&!this._readableState.endEmitted){i=new re}d(i)}}class PipelineHandler extends se{constructor(i,d){if(!i||typeof i!=="object"){throw new ee("invalid opts")}if(typeof d!=="function"){throw new ee("invalid handler")}const{signal:p,method:v,opaque:K,onInfo:te,responseHeaders:se}=i;if(p&&typeof p.on!=="function"&&typeof p.addEventListener!=="function"){throw new ee("signal must be an EventEmitter or EventTarget")}if(v==="CONNECT"){throw new ee("invalid method")}if(te&&typeof te!=="function"){throw new ee("invalid onInfo callback")}super("UNDICI_PIPELINE");this.opaque=K||null;this.responseHeaders=se||null;this.handler=d;this.abort=null;this.context=null;this.onInfo=te||null;this.req=(new PipelineRequest).on("error",ne.nop);this.ret=new V({readableObjectMode:i.objectMode,autoDestroy:true,read:()=>{const{body:i}=this;if(i&&i.resume){i.resume()}},write:(i,d,p)=>{const{req:v}=this;if(v.push(i,d)||v._readableState.destroyed){p()}else{v[Ae]=p}},destroy:(i,d)=>{const{body:p,req:v,res:V,ret:K,abort:ee}=this;if(!i&&!K._readableState.endEmitted){i=new re}if(ee&&i){ee()}ne.destroy(p,i);ne.destroy(v,i);ne.destroy(V,i);oe(this);d(i)}}).on("prefinish",(()=>{const{req:i}=this;i.push(null)}));this.res=null;ie(this,p)}onConnect(i,d){const{ret:p,res:v}=this;ae(!v,"pipeline cannot be retried");if(p.destroyed){throw new re}this.abort=i;this.context=d}onHeaders(i,d,p){const{opaque:v,handler:V,context:K}=this;if(i<200){if(this.onInfo){const p=this.responseHeaders==="raw"?ne.parseRawHeaders(d):ne.parseHeaders(d);this.onInfo({statusCode:i,headers:p})}return}this.res=new PipelineResponse(p);let ee;try{this.handler=null;const p=this.responseHeaders==="raw"?ne.parseRawHeaders(d):ne.parseHeaders(d);ee=this.runInAsyncScope(V,null,{statusCode:i,headers:p,opaque:v,body:this.res,context:K})}catch(i){this.res.on("error",ne.nop);throw i}if(!ee||typeof ee.on!=="function"){throw new te("expected Readable")}ee.on("data",(i=>{const{ret:d,body:p}=this;if(!d.push(i)&&p.pause){p.pause()}})).on("error",(i=>{const{ret:d}=this;ne.destroy(d,i)})).on("end",(()=>{const{ret:i}=this;i.push(null)})).on("close",(()=>{const{ret:i}=this;if(!i._readableState.ended){ne.destroy(i,new re)}}));this.body=ee}onData(i){const{res:d}=this;return d.push(i)}onComplete(i){const{res:d}=this;d.push(null)}onError(i){const{ret:d}=this;this.handler=null;ne.destroy(d,i)}}function pipeline(i,d){try{const p=new PipelineHandler(i,d);this.dispatch({...i,body:p.req},p);return p.ret}catch(i){return(new K).destroy(i)}}i.exports=pipeline},14043:(i,d,p)=>{const v=p(49927);const{InvalidArgumentError:V,RequestAbortedError:K}=p(68707);const ee=p(3440);const{getResolveErrorBodyCallback:te}=p(87655);const{AsyncResource:re}=p(90290);const{addSignal:ne,removeSignal:se}=p(80158);class RequestHandler extends re{constructor(i,d){if(!i||typeof i!=="object"){throw new V("invalid opts")}const{signal:p,method:v,opaque:K,body:te,onInfo:re,responseHeaders:se,throwOnError:ie,highWaterMark:oe}=i;try{if(typeof d!=="function"){throw new V("invalid callback")}if(oe&&(typeof oe!=="number"||oe<0)){throw new V("invalid highWaterMark")}if(p&&typeof p.on!=="function"&&typeof p.addEventListener!=="function"){throw new V("signal must be an EventEmitter or EventTarget")}if(v==="CONNECT"){throw new V("invalid method")}if(re&&typeof re!=="function"){throw new V("invalid onInfo callback")}super("UNDICI_REQUEST")}catch(i){if(ee.isStream(te)){ee.destroy(te.on("error",ee.nop),i)}throw i}this.responseHeaders=se||null;this.opaque=K||null;this.callback=d;this.res=null;this.abort=null;this.body=te;this.trailers={};this.context=null;this.onInfo=re||null;this.throwOnError=ie;this.highWaterMark=oe;if(ee.isStream(te)){te.on("error",(i=>{this.onError(i)}))}ne(this,p)}onConnect(i,d){if(!this.callback){throw new K}this.abort=i;this.context=d}onHeaders(i,d,p,V){const{callback:K,opaque:re,abort:ne,context:se,responseHeaders:ie,highWaterMark:oe}=this;const ae=ie==="raw"?ee.parseRawHeaders(d):ee.parseHeaders(d);if(i<200){if(this.onInfo){this.onInfo({statusCode:i,headers:ae})}return}const Ae=ie==="raw"?ee.parseHeaders(d):ae;const ce=Ae["content-type"];const le=new v({resume:p,abort:ne,contentType:ce,highWaterMark:oe});this.callback=null;this.res=le;if(K!==null){if(this.throwOnError&&i>=400){this.runInAsyncScope(te,null,{callback:K,body:le,contentType:ce,statusCode:i,statusMessage:V,headers:ae})}else{this.runInAsyncScope(K,null,null,{statusCode:i,headers:ae,trailers:this.trailers,opaque:re,body:le,context:se})}}}onData(i){const{res:d}=this;return d.push(i)}onComplete(i){const{res:d}=this;se(this);ee.parseHeaders(i,this.trailers);d.push(null)}onError(i){const{res:d,callback:p,body:v,opaque:V}=this;se(this);if(p){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(p,null,i,{opaque:V})}))}if(d){this.res=null;queueMicrotask((()=>{ee.destroy(d,i)}))}if(v){this.body=null;ee.destroy(v,i)}}}function request(i,d){if(d===undefined){return new Promise(((d,p)=>{request.call(this,i,((i,v)=>i?p(i):d(v)))}))}try{this.dispatch(i,new RequestHandler(i,d))}catch(p){if(typeof d!=="function"){throw p}const v=i&&i.opaque;queueMicrotask((()=>d(p,{opaque:v})))}}i.exports=request;i.exports.RequestHandler=RequestHandler},3560:(i,d,p)=>{const{finished:v,PassThrough:V}=p(2203);const{InvalidArgumentError:K,InvalidReturnValueError:ee,RequestAbortedError:te}=p(68707);const re=p(3440);const{getResolveErrorBodyCallback:ne}=p(87655);const{AsyncResource:se}=p(90290);const{addSignal:ie,removeSignal:oe}=p(80158);class StreamHandler extends se{constructor(i,d,p){if(!i||typeof i!=="object"){throw new K("invalid opts")}const{signal:v,method:V,opaque:ee,body:te,onInfo:ne,responseHeaders:se,throwOnError:oe}=i;try{if(typeof p!=="function"){throw new K("invalid callback")}if(typeof d!=="function"){throw new K("invalid factory")}if(v&&typeof v.on!=="function"&&typeof v.addEventListener!=="function"){throw new K("signal must be an EventEmitter or EventTarget")}if(V==="CONNECT"){throw new K("invalid method")}if(ne&&typeof ne!=="function"){throw new K("invalid onInfo callback")}super("UNDICI_STREAM")}catch(i){if(re.isStream(te)){re.destroy(te.on("error",re.nop),i)}throw i}this.responseHeaders=se||null;this.opaque=ee||null;this.factory=d;this.callback=p;this.res=null;this.abort=null;this.context=null;this.trailers=null;this.body=te;this.onInfo=ne||null;this.throwOnError=oe||false;if(re.isStream(te)){te.on("error",(i=>{this.onError(i)}))}ie(this,v)}onConnect(i,d){if(!this.callback){throw new te}this.abort=i;this.context=d}onHeaders(i,d,p,K){const{factory:te,opaque:se,context:ie,callback:oe,responseHeaders:ae}=this;const Ae=ae==="raw"?re.parseRawHeaders(d):re.parseHeaders(d);if(i<200){if(this.onInfo){this.onInfo({statusCode:i,headers:Ae})}return}this.factory=null;let ce;if(this.throwOnError&&i>=400){const p=ae==="raw"?re.parseHeaders(d):Ae;const v=p["content-type"];ce=new V;this.callback=null;this.runInAsyncScope(ne,null,{callback:oe,body:ce,contentType:v,statusCode:i,statusMessage:K,headers:Ae})}else{if(te===null){return}ce=this.runInAsyncScope(te,null,{statusCode:i,headers:Ae,opaque:se,context:ie});if(!ce||typeof ce.write!=="function"||typeof ce.end!=="function"||typeof ce.on!=="function"){throw new ee("expected Writable")}v(ce,{readable:false},(i=>{const{callback:d,res:p,opaque:v,trailers:V,abort:K}=this;this.res=null;if(i||!p.readable){re.destroy(p,i)}this.callback=null;this.runInAsyncScope(d,null,i||null,{opaque:v,trailers:V});if(i){K()}}))}ce.on("drain",p);this.res=ce;const le=ce.writableNeedDrain!==undefined?ce.writableNeedDrain:ce._writableState&&ce._writableState.needDrain;return le!==true}onData(i){const{res:d}=this;return d?d.write(i):true}onComplete(i){const{res:d}=this;oe(this);if(!d){return}this.trailers=re.parseHeaders(i);d.end()}onError(i){const{res:d,callback:p,opaque:v,body:V}=this;oe(this);this.factory=null;if(d){this.res=null;re.destroy(d,i)}else if(p){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(p,null,i,{opaque:v})}))}if(V){this.body=null;re.destroy(V,i)}}}function stream(i,d,p){if(p===undefined){return new Promise(((p,v)=>{stream.call(this,i,d,((i,d)=>i?v(i):p(d)))}))}try{this.dispatch(i,new StreamHandler(i,d,p))}catch(d){if(typeof p!=="function"){throw d}const v=i&&i.opaque;queueMicrotask((()=>p(d,{opaque:v})))}}i.exports=stream},61882:(i,d,p)=>{const{InvalidArgumentError:v,RequestAbortedError:V,SocketError:K}=p(68707);const{AsyncResource:ee}=p(90290);const te=p(3440);const{addSignal:re,removeSignal:ne}=p(80158);const se=p(42613);class UpgradeHandler extends ee{constructor(i,d){if(!i||typeof i!=="object"){throw new v("invalid opts")}if(typeof d!=="function"){throw new v("invalid callback")}const{signal:p,opaque:V,responseHeaders:K}=i;if(p&&typeof p.on!=="function"&&typeof p.addEventListener!=="function"){throw new v("signal must be an EventEmitter or EventTarget")}super("UNDICI_UPGRADE");this.responseHeaders=K||null;this.opaque=V||null;this.callback=d;this.abort=null;this.context=null;re(this,p)}onConnect(i,d){if(!this.callback){throw new V}this.abort=i;this.context=null}onHeaders(){throw new K("bad upgrade",null)}onUpgrade(i,d,p){const{callback:v,opaque:V,context:K}=this;se.strictEqual(i,101);ne(this);this.callback=null;const ee=this.responseHeaders==="raw"?te.parseRawHeaders(d):te.parseHeaders(d);this.runInAsyncScope(v,null,null,{headers:ee,socket:p,opaque:V,context:K})}onError(i){const{callback:d,opaque:p}=this;ne(this);if(d){this.callback=null;queueMicrotask((()=>{this.runInAsyncScope(d,null,i,{opaque:p})}))}}}function upgrade(i,d){if(d===undefined){return new Promise(((d,p)=>{upgrade.call(this,i,((i,v)=>i?p(i):d(v)))}))}try{const p=new UpgradeHandler(i,d);this.dispatch({...i,method:i.method||"GET",upgrade:i.protocol||"Websocket"},p)}catch(p){if(typeof d!=="function"){throw p}const v=i&&i.opaque;queueMicrotask((()=>d(p,{opaque:v})))}}i.exports=upgrade},56615:(i,d,p)=>{i.exports.request=p(14043);i.exports.stream=p(3560);i.exports.pipeline=p(76862);i.exports.upgrade=p(61882);i.exports.connect=p(34660)},49927:(i,d,p)=>{const v=p(42613);const{Readable:V}=p(2203);const{RequestAbortedError:K,NotSupportedError:ee,InvalidArgumentError:te}=p(68707);const re=p(3440);const{ReadableStreamFrom:ne,toUSVString:se}=p(3440);let ie;const oe=Symbol("kConsume");const ae=Symbol("kReading");const Ae=Symbol("kBody");const ce=Symbol("abort");const le=Symbol("kContentType");const noop=()=>{};i.exports=class BodyReadable extends V{constructor({resume:i,abort:d,contentType:p="",highWaterMark:v=64*1024}){super({autoDestroy:true,read:i,highWaterMark:v});this._readableState.dataEmitted=false;this[ce]=d;this[oe]=null;this[Ae]=null;this[le]=p;this[ae]=false}destroy(i){if(this.destroyed){return this}if(!i&&!this._readableState.endEmitted){i=new K}if(i){this[ce]()}return super.destroy(i)}emit(i,...d){if(i==="data"){this._readableState.dataEmitted=true}else if(i==="error"){this._readableState.errorEmitted=true}return super.emit(i,...d)}on(i,...d){if(i==="data"||i==="readable"){this[ae]=true}return super.on(i,...d)}addListener(i,...d){return this.on(i,...d)}off(i,...d){const p=super.off(i,...d);if(i==="data"||i==="readable"){this[ae]=this.listenerCount("data")>0||this.listenerCount("readable")>0}return p}removeListener(i,...d){return this.off(i,...d)}push(i){if(this[oe]&&i!==null&&this.readableLength===0){consumePush(this[oe],i);return this[ae]?super.push(i):true}return super.push(i)}async text(){return consume(this,"text")}async json(){return consume(this,"json")}async blob(){return consume(this,"blob")}async arrayBuffer(){return consume(this,"arrayBuffer")}async formData(){throw new ee}get bodyUsed(){return re.isDisturbed(this)}get body(){if(!this[Ae]){this[Ae]=ne(this);if(this[oe]){this[Ae].getReader();v(this[Ae].locked)}}return this[Ae]}dump(i){let d=i&&Number.isFinite(i.limit)?i.limit:262144;const p=i&&i.signal;if(p){try{if(typeof p!=="object"||!("aborted"in p)){throw new te("signal must be an AbortSignal")}re.throwIfAborted(p)}catch(i){return Promise.reject(i)}}if(this.closed){return Promise.resolve(null)}return new Promise(((i,v)=>{const V=p?re.addAbortListener(p,(()=>{this.destroy()})):noop;this.on("close",(function(){V();if(p&&p.aborted){v(p.reason||Object.assign(new Error("The operation was aborted"),{name:"AbortError"}))}else{i(null)}})).on("error",noop).on("data",(function(i){d-=i.length;if(d<=0){this.destroy()}})).resume()}))}};function isLocked(i){return i[Ae]&&i[Ae].locked===true||i[oe]}function isUnusable(i){return re.isDisturbed(i)||isLocked(i)}async function consume(i,d){if(isUnusable(i)){throw new TypeError("unusable")}v(!i[oe]);return new Promise(((p,v)=>{i[oe]={type:d,stream:i,resolve:p,reject:v,length:0,body:[]};i.on("error",(function(i){consumeFinish(this[oe],i)})).on("close",(function(){if(this[oe].body!==null){consumeFinish(this[oe],new K)}}));process.nextTick(consumeStart,i[oe])}))}function consumeStart(i){if(i.body===null){return}const{_readableState:d}=i.stream;for(const p of d.buffer){consumePush(i,p)}if(d.endEmitted){consumeEnd(this[oe])}else{i.stream.on("end",(function(){consumeEnd(this[oe])}))}i.stream.resume();while(i.stream.read()!=null){}}function consumeEnd(i){const{type:d,body:v,resolve:V,stream:K,length:ee}=i;try{if(d==="text"){V(se(Buffer.concat(v)))}else if(d==="json"){V(JSON.parse(Buffer.concat(v)))}else if(d==="arrayBuffer"){const i=new Uint8Array(ee);let d=0;for(const p of v){i.set(p,d);d+=p.byteLength}V(i.buffer)}else if(d==="blob"){if(!ie){ie=p(20181).Blob}V(new ie(v,{type:K[le]}))}consumeFinish(i)}catch(i){K.destroy(i)}}function consumePush(i,d){i.length+=d.length;i.body.push(d)}function consumeFinish(i,d){if(i.body===null){return}if(d){i.reject(d)}else{i.resolve()}i.type=null;i.stream=null;i.resolve=null;i.reject=null;i.length=0;i.body=null}},87655:(i,d,p)=>{const v=p(42613);const{ResponseStatusCodeError:V}=p(68707);const{toUSVString:K}=p(3440);async function getResolveErrorBodyCallback({callback:i,body:d,contentType:p,statusCode:ee,statusMessage:te,headers:re}){v(d);let ne=[];let se=0;for await(const i of d){ne.push(i);se+=i.length;if(se>128*1024){ne=null;break}}if(ee===204||!p||!ne){process.nextTick(i,new V(`Response status code ${ee}${te?`: ${te}`:""}`,ee,re));return}try{if(p.startsWith("application/json")){const d=JSON.parse(K(Buffer.concat(ne)));process.nextTick(i,new V(`Response status code ${ee}${te?`: ${te}`:""}`,ee,re,d));return}if(p.startsWith("text/")){const d=K(Buffer.concat(ne));process.nextTick(i,new V(`Response status code ${ee}${te?`: ${te}`:""}`,ee,re,d));return}}catch(i){}process.nextTick(i,new V(`Response status code ${ee}${te?`: ${te}`:""}`,ee,re))}i.exports={getResolveErrorBodyCallback:getResolveErrorBodyCallback}},81093:(i,d,p)=>{const{BalancedPoolMissingUpstreamError:v,InvalidArgumentError:V}=p(68707);const{PoolBase:K,kClients:ee,kNeedDrain:te,kAddClient:re,kRemoveClient:ne,kGetDispatcher:se}=p(58640);const ie=p(35076);const{kUrl:oe,kInterceptors:ae}=p(36443);const{parseOrigin:Ae}=p(3440);const ce=Symbol("factory");const le=Symbol("options");const ue=Symbol("kGreatestCommonDivisor");const de=Symbol("kCurrentWeight");const he=Symbol("kIndex");const fe=Symbol("kWeight");const ge=Symbol("kMaxWeightPerServer");const pe=Symbol("kErrorPenalty");function getGreatestCommonDivisor(i,d){if(d===0)return i;return getGreatestCommonDivisor(d,i%d)}function defaultFactory(i,d){return new ie(i,d)}class BalancedPool extends K{constructor(i=[],{factory:d=defaultFactory,...p}={}){super();this[le]=p;this[he]=-1;this[de]=0;this[ge]=this[le].maxWeightPerServer||100;this[pe]=this[le].errorPenalty||15;if(!Array.isArray(i)){i=[i]}if(typeof d!=="function"){throw new V("factory must be a function.")}this[ae]=p.interceptors&&p.interceptors.BalancedPool&&Array.isArray(p.interceptors.BalancedPool)?p.interceptors.BalancedPool:[];this[ce]=d;for(const d of i){this.addUpstream(d)}this._updateBalancedPoolStats()}addUpstream(i){const d=Ae(i).origin;if(this[ee].find((i=>i[oe].origin===d&&i.closed!==true&&i.destroyed!==true))){return this}const p=this[ce](d,Object.assign({},this[le]));this[re](p);p.on("connect",(()=>{p[fe]=Math.min(this[ge],p[fe]+this[pe])}));p.on("connectionError",(()=>{p[fe]=Math.max(1,p[fe]-this[pe]);this._updateBalancedPoolStats()}));p.on("disconnect",((...i)=>{const d=i[2];if(d&&d.code==="UND_ERR_SOCKET"){p[fe]=Math.max(1,p[fe]-this[pe]);this._updateBalancedPoolStats()}}));for(const i of this[ee]){i[fe]=this[ge]}this._updateBalancedPoolStats();return this}_updateBalancedPoolStats(){this[ue]=this[ee].map((i=>i[fe])).reduce(getGreatestCommonDivisor,0)}removeUpstream(i){const d=Ae(i).origin;const p=this[ee].find((i=>i[oe].origin===d&&i.closed!==true&&i.destroyed!==true));if(p){this[ne](p)}return this}get upstreams(){return this[ee].filter((i=>i.closed!==true&&i.destroyed!==true)).map((i=>i[oe].origin))}[se](){if(this[ee].length===0){throw new v}const i=this[ee].find((i=>!i[te]&&i.closed!==true&&i.destroyed!==true));if(!i){return}const d=this[ee].map((i=>i[te])).reduce(((i,d)=>i&&d),true);if(d){return}let p=0;let V=this[ee].findIndex((i=>!i[te]));while(p++this[ee][V][fe]&&!i[te]){V=this[he]}if(this[he]===0){this[de]=this[de]-this[ue];if(this[de]<=0){this[de]=this[ge]}}if(i[fe]>=this[de]&&!i[te]){return i}}this[de]=this[ee][V][fe];this[he]=V;return this[ee][V]}}i.exports=BalancedPool},50479:(i,d,p)=>{const{kConstruct:v}=p(80296);const{urlEquals:V,fieldValues:K}=p(23993);const{kEnumerableProperty:ee,isDisturbed:te}=p(3440);const{kHeadersList:re}=p(36443);const{webidl:ne}=p(74222);const{Response:se,cloneResponse:ie}=p(48676);const{Request:oe}=p(25194);const{kState:ae,kHeaders:Ae,kGuard:ce,kRealm:le}=p(89710);const{fetching:ue}=p(12315);const{urlIsHttpHttpsScheme:de,createDeferredPromise:he,readAllBytes:fe}=p(15523);const ge=p(42613);const{getGlobalDispatcher:pe}=p(32581);class Cache{#k;constructor(){if(arguments[0]!==v){ne.illegalConstructor()}this.#k=arguments[1]}async match(i,d={}){ne.brandCheck(this,Cache);ne.argumentLengthCheck(arguments,1,{header:"Cache.match"});i=ne.converters.RequestInfo(i);d=ne.converters.CacheQueryOptions(d);const p=await this.matchAll(i,d);if(p.length===0){return}return p[0]}async matchAll(i=undefined,d={}){ne.brandCheck(this,Cache);if(i!==undefined)i=ne.converters.RequestInfo(i);d=ne.converters.CacheQueryOptions(d);let p=null;if(i!==undefined){if(i instanceof oe){p=i[ae];if(p.method!=="GET"&&!d.ignoreMethod){return[]}}else if(typeof i==="string"){p=new oe(i)[ae]}}const v=[];if(i===undefined){for(const i of this.#k){v.push(i[1])}}else{const i=this.#D(p,d);for(const d of i){v.push(d[1])}}const V=[];for(const i of v){const d=new se(i.body?.source??null);const p=d[ae].body;d[ae]=i;d[ae].body=p;d[Ae][re]=i.headersList;d[Ae][ce]="immutable";V.push(d)}return Object.freeze(V)}async add(i){ne.brandCheck(this,Cache);ne.argumentLengthCheck(arguments,1,{header:"Cache.add"});i=ne.converters.RequestInfo(i);const d=[i];const p=this.addAll(d);return await p}async addAll(i){ne.brandCheck(this,Cache);ne.argumentLengthCheck(arguments,1,{header:"Cache.addAll"});i=ne.converters["sequence"](i);const d=[];const p=[];for(const d of i){if(typeof d==="string"){continue}const i=d[ae];if(!de(i.url)||i.method!=="GET"){throw ne.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme when method is not GET."})}}const v=[];for(const V of i){const i=new oe(V)[ae];if(!de(i.url)){throw ne.errors.exception({header:"Cache.addAll",message:"Expected http/s scheme."})}i.initiator="fetch";i.destination="subresource";p.push(i);const ee=he();v.push(ue({request:i,dispatcher:pe(),processResponse(i){if(i.type==="error"||i.status===206||i.status<200||i.status>299){ee.reject(ne.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}))}else if(i.headersList.contains("vary")){const d=K(i.headersList.get("vary"));for(const i of d){if(i==="*"){ee.reject(ne.errors.exception({header:"Cache.addAll",message:"invalid vary field value"}));for(const i of v){i.abort()}return}}}},processResponseEndOfBody(i){if(i.aborted){ee.reject(new DOMException("aborted","AbortError"));return}ee.resolve(i)}}));d.push(ee.promise)}const V=Promise.all(d);const ee=await V;const te=[];let re=0;for(const i of ee){const d={type:"put",request:p[re],response:i};te.push(d);re++}const se=he();let ie=null;try{this.#N(te)}catch(i){ie=i}queueMicrotask((()=>{if(ie===null){se.resolve(undefined)}else{se.reject(ie)}}));return se.promise}async put(i,d){ne.brandCheck(this,Cache);ne.argumentLengthCheck(arguments,2,{header:"Cache.put"});i=ne.converters.RequestInfo(i);d=ne.converters.Response(d);let p=null;if(i instanceof oe){p=i[ae]}else{p=new oe(i)[ae]}if(!de(p.url)||p.method!=="GET"){throw ne.errors.exception({header:"Cache.put",message:"Expected an http/s scheme when method is not GET"})}const v=d[ae];if(v.status===206){throw ne.errors.exception({header:"Cache.put",message:"Got 206 status"})}if(v.headersList.contains("vary")){const i=K(v.headersList.get("vary"));for(const d of i){if(d==="*"){throw ne.errors.exception({header:"Cache.put",message:"Got * vary field value"})}}}if(v.body&&(te(v.body.stream)||v.body.stream.locked)){throw ne.errors.exception({header:"Cache.put",message:"Response body is locked or disturbed"})}const V=ie(v);const ee=he();if(v.body!=null){const i=v.body.stream;const d=i.getReader();fe(d).then(ee.resolve,ee.reject)}else{ee.resolve(undefined)}const re=[];const se={type:"put",request:p,response:V};re.push(se);const Ae=await ee.promise;if(V.body!=null){V.body.source=Ae}const ce=he();let le=null;try{this.#N(re)}catch(i){le=i}queueMicrotask((()=>{if(le===null){ce.resolve()}else{ce.reject(le)}}));return ce.promise}async delete(i,d={}){ne.brandCheck(this,Cache);ne.argumentLengthCheck(arguments,1,{header:"Cache.delete"});i=ne.converters.RequestInfo(i);d=ne.converters.CacheQueryOptions(d);let p=null;if(i instanceof oe){p=i[ae];if(p.method!=="GET"&&!d.ignoreMethod){return false}}else{ge(typeof i==="string");p=new oe(i)[ae]}const v=[];const V={type:"delete",request:p,options:d};v.push(V);const K=he();let ee=null;let te;try{te=this.#N(v)}catch(i){ee=i}queueMicrotask((()=>{if(ee===null){K.resolve(!!te?.length)}else{K.reject(ee)}}));return K.promise}async keys(i=undefined,d={}){ne.brandCheck(this,Cache);if(i!==undefined)i=ne.converters.RequestInfo(i);d=ne.converters.CacheQueryOptions(d);let p=null;if(i!==undefined){if(i instanceof oe){p=i[ae];if(p.method!=="GET"&&!d.ignoreMethod){return[]}}else if(typeof i==="string"){p=new oe(i)[ae]}}const v=he();const V=[];if(i===undefined){for(const i of this.#k){V.push(i[0])}}else{const i=this.#D(p,d);for(const d of i){V.push(d[0])}}queueMicrotask((()=>{const i=[];for(const d of V){const p=new oe("https://a");p[ae]=d;p[Ae][re]=d.headersList;p[Ae][ce]="immutable";p[le]=d.client;i.push(p)}v.resolve(Object.freeze(i))}));return v.promise}#N(i){const d=this.#k;const p=[...d];const v=[];const V=[];try{for(const p of i){if(p.type!=="delete"&&p.type!=="put"){throw ne.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'})}if(p.type==="delete"&&p.response!=null){throw ne.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"})}if(this.#D(p.request,p.options,v).length){throw new DOMException("???","InvalidStateError")}let i;if(p.type==="delete"){i=this.#D(p.request,p.options);if(i.length===0){return[]}for(const p of i){const i=d.indexOf(p);ge(i!==-1);d.splice(i,1)}}else if(p.type==="put"){if(p.response==null){throw ne.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"})}const V=p.request;if(!de(V.url)){throw ne.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"})}if(V.method!=="GET"){throw ne.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"})}if(p.options!=null){throw ne.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"})}i=this.#D(p.request);for(const p of i){const i=d.indexOf(p);ge(i!==-1);d.splice(i,1)}d.push([p.request,p.response]);v.push([p.request,p.response])}V.push([p.request,p.response])}return V}catch(i){this.#k.length=0;this.#k=p;throw i}}#D(i,d,p){const v=[];const V=p??this.#k;for(const p of V){const[V,K]=p;if(this.#x(i,V,K,d)){v.push(p)}}return v}#x(i,d,p=null,v){const ee=new URL(i.url);const te=new URL(d.url);if(v?.ignoreSearch){te.search="";ee.search=""}if(!V(ee,te,true)){return false}if(p==null||v?.ignoreVary||!p.headersList.contains("vary")){return true}const re=K(p.headersList.get("vary"));for(const p of re){if(p==="*"){return false}const v=d.headersList.get(p);const V=i.headersList.get(p);if(v!==V){return false}}return true}}Object.defineProperties(Cache.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:true},match:ee,matchAll:ee,add:ee,addAll:ee,put:ee,delete:ee,keys:ee});const me=[{key:"ignoreSearch",converter:ne.converters.boolean,defaultValue:false},{key:"ignoreMethod",converter:ne.converters.boolean,defaultValue:false},{key:"ignoreVary",converter:ne.converters.boolean,defaultValue:false}];ne.converters.CacheQueryOptions=ne.dictionaryConverter(me);ne.converters.MultiCacheQueryOptions=ne.dictionaryConverter([...me,{key:"cacheName",converter:ne.converters.DOMString}]);ne.converters.Response=ne.interfaceConverter(se);ne.converters["sequence"]=ne.sequenceConverter(ne.converters.RequestInfo);i.exports={Cache:Cache}},44738:(i,d,p)=>{const{kConstruct:v}=p(80296);const{Cache:V}=p(50479);const{webidl:K}=p(74222);const{kEnumerableProperty:ee}=p(3440);class CacheStorage{#F=new Map;constructor(){if(arguments[0]!==v){K.illegalConstructor()}}async match(i,d={}){K.brandCheck(this,CacheStorage);K.argumentLengthCheck(arguments,1,{header:"CacheStorage.match"});i=K.converters.RequestInfo(i);d=K.converters.MultiCacheQueryOptions(d);if(d.cacheName!=null){if(this.#F.has(d.cacheName)){const p=this.#F.get(d.cacheName);const K=new V(v,p);return await K.match(i,d)}}else{for(const p of this.#F.values()){const K=new V(v,p);const ee=await K.match(i,d);if(ee!==undefined){return ee}}}}async has(i){K.brandCheck(this,CacheStorage);K.argumentLengthCheck(arguments,1,{header:"CacheStorage.has"});i=K.converters.DOMString(i);return this.#F.has(i)}async open(i){K.brandCheck(this,CacheStorage);K.argumentLengthCheck(arguments,1,{header:"CacheStorage.open"});i=K.converters.DOMString(i);if(this.#F.has(i)){const d=this.#F.get(i);return new V(v,d)}const d=[];this.#F.set(i,d);return new V(v,d)}async delete(i){K.brandCheck(this,CacheStorage);K.argumentLengthCheck(arguments,1,{header:"CacheStorage.delete"});i=K.converters.DOMString(i);return this.#F.delete(i)}async keys(){K.brandCheck(this,CacheStorage);const i=this.#F.keys();return[...i]}}Object.defineProperties(CacheStorage.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:true},match:ee,has:ee,open:ee,delete:ee,keys:ee});i.exports={CacheStorage:CacheStorage}},80296:(i,d,p)=>{i.exports={kConstruct:p(36443).kConstruct}},23993:(i,d,p)=>{const v=p(42613);const{URLSerializer:V}=p(94322);const{isValidHeaderName:K}=p(15523);function urlEquals(i,d,p=false){const v=V(i,p);const K=V(d,p);return v===K}function fieldValues(i){v(i!==null);const d=[];for(let p of i.split(",")){p=p.trim();if(!p.length){continue}else if(!K(p)){continue}d.push(p)}return d}i.exports={urlEquals:urlEquals,fieldValues:fieldValues}},86197:(i,d,p)=>{const v=p(42613);const V=p(69278);const K=p(58611);const{pipeline:ee}=p(2203);const te=p(3440);const re=p(28804);const ne=p(44655);const se=p(50001);const{RequestContentLengthMismatchError:ie,ResponseContentLengthMismatchError:oe,InvalidArgumentError:ae,RequestAbortedError:Ae,HeadersTimeoutError:ce,HeadersOverflowError:le,SocketError:ue,InformationalError:de,BodyTimeoutError:he,HTTPParserError:fe,ResponseExceededMaxSizeError:ge,ClientDestroyedError:pe}=p(68707);const me=p(59136);const{kUrl:Ee,kReset:Ce,kServerName:ye,kClient:Ie,kBusy:Be,kParser:Qe,kConnect:be,kBlocking:we,kResuming:Se,kRunning:Re,kPending:ve,kSize:ke,kWriting:Te,kQueue:Ne,kConnected:De,kConnecting:xe,kNeedDrain:Fe,kNoRef:Pe,kKeepAliveDefaultTimeout:Le,kHostHeader:_e,kPendingIdx:Me,kRunningIdx:Ue,kError:Oe,kPipelining:He,kSocket:Ge,kKeepAliveTimeoutValue:Ve,kMaxHeadersSize:qe,kKeepAliveMaxTimeout:Ye,kKeepAliveTimeoutThreshold:je,kHeadersTimeout:Je,kBodyTimeout:We,kStrictContentLength:ze,kConnector:$e,kMaxRedirections:Ke,kMaxRequests:Xe,kCounter:Ze,kClose:At,kDestroy:mt,kDispatch:Et,kInterceptors:Ct,kLocalAddress:yt,kMaxResponseSize:It,kHTTPConnVersion:Bt,kHost:Qt,kHTTP2Session:bt,kHTTP2SessionState:wt,kHTTP2BuildRequest:St,kHTTP2CopyHeaders:Rt,kHTTP1BuildRequest:vt}=p(36443);let kt;try{kt=p(85675)}catch{kt={constants:{}}}const{constants:{HTTP2_HEADER_AUTHORITY:Tt,HTTP2_HEADER_METHOD:Nt,HTTP2_HEADER_PATH:Dt,HTTP2_HEADER_SCHEME:xt,HTTP2_HEADER_CONTENT_LENGTH:Ft,HTTP2_HEADER_EXPECT:Pt,HTTP2_HEADER_STATUS:Lt}}=kt;let _t=false;const Mt=Buffer[Symbol.species];const Ut=Symbol("kClosedResolve");const Ot={};try{const i=p(31637);Ot.sendHeaders=i.channel("undici:client:sendHeaders");Ot.beforeConnect=i.channel("undici:client:beforeConnect");Ot.connectError=i.channel("undici:client:connectError");Ot.connected=i.channel("undici:client:connected")}catch{Ot.sendHeaders={hasSubscribers:false};Ot.beforeConnect={hasSubscribers:false};Ot.connectError={hasSubscribers:false};Ot.connected={hasSubscribers:false}}class Client extends se{constructor(i,{interceptors:d,maxHeaderSize:p,headersTimeout:v,socketTimeout:ee,requestTimeout:re,connectTimeout:ne,bodyTimeout:se,idleTimeout:ie,keepAlive:oe,keepAliveTimeout:Ae,maxKeepAliveTimeout:ce,keepAliveMaxTimeout:le,keepAliveTimeoutThreshold:ue,socketPath:de,pipelining:he,tls:fe,strictContentLength:ge,maxCachedSessions:pe,maxRedirections:Ce,connect:Ie,maxRequestsPerClient:Be,localAddress:Qe,maxResponseSize:be,autoSelectFamily:we,autoSelectFamilyAttemptTimeout:Re,allowH2:ve,maxConcurrentStreams:ke}={}){super();if(oe!==undefined){throw new ae("unsupported keepAlive, use pipelining=0 instead")}if(ee!==undefined){throw new ae("unsupported socketTimeout, use headersTimeout & bodyTimeout instead")}if(re!==undefined){throw new ae("unsupported requestTimeout, use headersTimeout & bodyTimeout instead")}if(ie!==undefined){throw new ae("unsupported idleTimeout, use keepAliveTimeout instead")}if(ce!==undefined){throw new ae("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead")}if(p!=null&&!Number.isFinite(p)){throw new ae("invalid maxHeaderSize")}if(de!=null&&typeof de!=="string"){throw new ae("invalid socketPath")}if(ne!=null&&(!Number.isFinite(ne)||ne<0)){throw new ae("invalid connectTimeout")}if(Ae!=null&&(!Number.isFinite(Ae)||Ae<=0)){throw new ae("invalid keepAliveTimeout")}if(le!=null&&(!Number.isFinite(le)||le<=0)){throw new ae("invalid keepAliveMaxTimeout")}if(ue!=null&&!Number.isFinite(ue)){throw new ae("invalid keepAliveTimeoutThreshold")}if(v!=null&&(!Number.isInteger(v)||v<0)){throw new ae("headersTimeout must be a positive integer or zero")}if(se!=null&&(!Number.isInteger(se)||se<0)){throw new ae("bodyTimeout must be a positive integer or zero")}if(Ie!=null&&typeof Ie!=="function"&&typeof Ie!=="object"){throw new ae("connect must be a function or an object")}if(Ce!=null&&(!Number.isInteger(Ce)||Ce<0)){throw new ae("maxRedirections must be a positive number")}if(Be!=null&&(!Number.isInteger(Be)||Be<0)){throw new ae("maxRequestsPerClient must be a positive number")}if(Qe!=null&&(typeof Qe!=="string"||V.isIP(Qe)===0)){throw new ae("localAddress must be valid string IP address")}if(be!=null&&(!Number.isInteger(be)||be<-1)){throw new ae("maxResponseSize must be a positive number")}if(Re!=null&&(!Number.isInteger(Re)||Re<-1)){throw new ae("autoSelectFamilyAttemptTimeout must be a positive number")}if(ve!=null&&typeof ve!=="boolean"){throw new ae("allowH2 must be a valid boolean value")}if(ke!=null&&(typeof ke!=="number"||ke<1)){throw new ae("maxConcurrentStreams must be a possitive integer, greater than 0")}if(typeof Ie!=="function"){Ie=me({...fe,maxCachedSessions:pe,allowH2:ve,socketPath:de,timeout:ne,...te.nodeHasAutoSelectFamily&&we?{autoSelectFamily:we,autoSelectFamilyAttemptTimeout:Re}:undefined,...Ie})}this[Ct]=d&&d.Client&&Array.isArray(d.Client)?d.Client:[Gt({maxRedirections:Ce})];this[Ee]=te.parseOrigin(i);this[$e]=Ie;this[Ge]=null;this[He]=he!=null?he:1;this[qe]=p||K.maxHeaderSize;this[Le]=Ae==null?4e3:Ae;this[Ye]=le==null?6e5:le;this[je]=ue==null?1e3:ue;this[Ve]=this[Le];this[ye]=null;this[yt]=Qe!=null?Qe:null;this[Se]=0;this[Fe]=0;this[_e]=`host: ${this[Ee].hostname}${this[Ee].port?`:${this[Ee].port}`:""}\r\n`;this[We]=se!=null?se:3e5;this[Je]=v!=null?v:3e5;this[ze]=ge==null?true:ge;this[Ke]=Ce;this[Xe]=Be;this[Ut]=null;this[It]=be>-1?be:-1;this[Bt]="h1";this[bt]=null;this[wt]=!ve?null:{openStreams:0,maxConcurrentStreams:ke!=null?ke:100};this[Qt]=`${this[Ee].hostname}${this[Ee].port?`:${this[Ee].port}`:""}`;this[Ne]=[];this[Ue]=0;this[Me]=0}get pipelining(){return this[He]}set pipelining(i){this[He]=i;resume(this,true)}get[ve](){return this[Ne].length-this[Me]}get[Re](){return this[Me]-this[Ue]}get[ke](){return this[Ne].length-this[Ue]}get[De](){return!!this[Ge]&&!this[xe]&&!this[Ge].destroyed}get[Be](){const i=this[Ge];return i&&(i[Ce]||i[Te]||i[we])||this[ke]>=(this[He]||1)||this[ve]>0}[be](i){connect(this);this.once("connect",i)}[Et](i,d){const p=i.origin||this[Ee].origin;const v=this[Bt]==="h2"?ne[St](p,i,d):ne[vt](p,i,d);this[Ne].push(v);if(this[Se]){}else if(te.bodyLength(v.body)==null&&te.isIterable(v.body)){this[Se]=1;process.nextTick(resume,this)}else{resume(this,true)}if(this[Se]&&this[Fe]!==2&&this[Be]){this[Fe]=2}return this[Fe]<2}async[At](){return new Promise((i=>{if(!this[ke]){i(null)}else{this[Ut]=i}}))}async[mt](i){return new Promise((d=>{const p=this[Ne].splice(this[Me]);for(let d=0;d{if(this[Ut]){this[Ut]();this[Ut]=null}d()};if(this[bt]!=null){te.destroy(this[bt],i);this[bt]=null;this[wt]=null}if(!this[Ge]){queueMicrotask(callback)}else{te.destroy(this[Ge].on("close",callback),i)}resume(this)}))}}function onHttp2SessionError(i){v(i.code!=="ERR_TLS_CERT_ALTNAME_INVALID");this[Ge][Oe]=i;onError(this[Ie],i)}function onHttp2FrameError(i,d,p){const v=new de(`HTTP/2: "frameError" received - type ${i}, code ${d}`);if(p===0){this[Ge][Oe]=v;onError(this[Ie],v)}}function onHttp2SessionEnd(){te.destroy(this,new ue("other side closed"));te.destroy(this[Ge],new ue("other side closed"))}function onHTTP2GoAway(i){const d=this[Ie];const p=new de(`HTTP/2: "GOAWAY" frame received with code ${i}`);d[Ge]=null;d[bt]=null;if(d.destroyed){v(this[ve]===0);const i=d[Ne].splice(d[Ue]);for(let d=0;d0){const i=d[Ne][d[Ue]];d[Ne][d[Ue]++]=null;errorRequest(d,i,p)}d[Me]=d[Ue];v(d[Re]===0);d.emit("disconnect",d[Ee],[d],p);resume(d)}const Ht=p(52824);const Gt=p(64415);const Vt=Buffer.alloc(0);async function lazyllhttp(){const i=process.env.JEST_WORKER_ID?p(63870):undefined;let d;try{d=await WebAssembly.compile(Buffer.from(p(53434),"base64"))}catch(v){d=await WebAssembly.compile(Buffer.from(i||p(63870),"base64"))}return await WebAssembly.instantiate(d,{env:{wasm_on_url:(i,d,p)=>0,wasm_on_status:(i,d,p)=>{v.strictEqual(jt.ptr,i);const V=d-zt+Jt.byteOffset;return jt.onStatus(new Mt(Jt.buffer,V,p))||0},wasm_on_message_begin:i=>{v.strictEqual(jt.ptr,i);return jt.onMessageBegin()||0},wasm_on_header_field:(i,d,p)=>{v.strictEqual(jt.ptr,i);const V=d-zt+Jt.byteOffset;return jt.onHeaderField(new Mt(Jt.buffer,V,p))||0},wasm_on_header_value:(i,d,p)=>{v.strictEqual(jt.ptr,i);const V=d-zt+Jt.byteOffset;return jt.onHeaderValue(new Mt(Jt.buffer,V,p))||0},wasm_on_headers_complete:(i,d,p,V)=>{v.strictEqual(jt.ptr,i);return jt.onHeadersComplete(d,Boolean(p),Boolean(V))||0},wasm_on_body:(i,d,p)=>{v.strictEqual(jt.ptr,i);const V=d-zt+Jt.byteOffset;return jt.onBody(new Mt(Jt.buffer,V,p))||0},wasm_on_message_complete:i=>{v.strictEqual(jt.ptr,i);return jt.onMessageComplete()||0}}})}let qt=null;let Yt=lazyllhttp();Yt.catch();let jt=null;let Jt=null;let Wt=0;let zt=null;const $t=1;const Kt=2;const Xt=3;class Parser{constructor(i,d,{exports:p}){v(Number.isFinite(i[qe])&&i[qe]>0);this.llhttp=p;this.ptr=this.llhttp.llhttp_alloc(Ht.TYPE.RESPONSE);this.client=i;this.socket=d;this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.statusCode=null;this.statusText="";this.upgrade=false;this.headers=[];this.headersSize=0;this.headersMaxSize=i[qe];this.shouldKeepAlive=false;this.paused=false;this.resume=this.resume.bind(this);this.bytesRead=0;this.keepAlive="";this.contentLength="";this.connection="";this.maxResponseSize=i[It]}setTimeout(i,d){this.timeoutType=d;if(i!==this.timeoutValue){re.clearTimeout(this.timeout);if(i){this.timeout=re.setTimeout(onParserTimeout,i,this);if(this.timeout.unref){this.timeout.unref()}}else{this.timeout=null}this.timeoutValue=i}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}}resume(){if(this.socket.destroyed||!this.paused){return}v(this.ptr!=null);v(jt==null);this.llhttp.llhttp_resume(this.ptr);v(this.timeoutType===Kt);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}this.paused=false;this.execute(this.socket.read()||Vt);this.readMore()}readMore(){while(!this.paused&&this.ptr){const i=this.socket.read();if(i===null){break}this.execute(i)}}execute(i){v(this.ptr!=null);v(jt==null);v(!this.paused);const{socket:d,llhttp:p}=this;if(i.length>Wt){if(zt){p.free(zt)}Wt=Math.ceil(i.length/4096)*4096;zt=p.malloc(Wt)}new Uint8Array(p.memory.buffer,zt,Wt).set(i);try{let v;try{Jt=i;jt=this;v=p.llhttp_execute(this.ptr,zt,i.length)}catch(i){throw i}finally{jt=null;Jt=null}const V=p.llhttp_get_error_pos(this.ptr)-zt;if(v===Ht.ERROR.PAUSED_UPGRADE){this.onUpgrade(i.slice(V))}else if(v===Ht.ERROR.PAUSED){this.paused=true;d.unshift(i.slice(V))}else if(v!==Ht.ERROR.OK){const d=p.llhttp_get_error_reason(this.ptr);let K="";if(d){const i=new Uint8Array(p.memory.buffer,d).indexOf(0);K="Response does not match the HTTP/1.1 protocol ("+Buffer.from(p.memory.buffer,d,i).toString()+")"}throw new fe(K,Ht.ERROR[v],i.slice(V))}}catch(i){te.destroy(d,i)}}destroy(){v(this.ptr!=null);v(jt==null);this.llhttp.llhttp_free(this.ptr);this.ptr=null;re.clearTimeout(this.timeout);this.timeout=null;this.timeoutValue=null;this.timeoutType=null;this.paused=false}onStatus(i){this.statusText=i.toString()}onMessageBegin(){const{socket:i,client:d}=this;if(i.destroyed){return-1}const p=d[Ne][d[Ue]];if(!p){return-1}}onHeaderField(i){const d=this.headers.length;if((d&1)===0){this.headers.push(i)}else{this.headers[d-1]=Buffer.concat([this.headers[d-1],i])}this.trackHeader(i.length)}onHeaderValue(i){let d=this.headers.length;if((d&1)===1){this.headers.push(i);d+=1}else{this.headers[d-1]=Buffer.concat([this.headers[d-1],i])}const p=this.headers[d-2];if(p.length===10&&p.toString().toLowerCase()==="keep-alive"){this.keepAlive+=i.toString()}else if(p.length===10&&p.toString().toLowerCase()==="connection"){this.connection+=i.toString()}else if(p.length===14&&p.toString().toLowerCase()==="content-length"){this.contentLength+=i.toString()}this.trackHeader(i.length)}trackHeader(i){this.headersSize+=i;if(this.headersSize>=this.headersMaxSize){te.destroy(this.socket,new le)}}onUpgrade(i){const{upgrade:d,client:p,socket:V,headers:K,statusCode:ee}=this;v(d);const re=p[Ne][p[Ue]];v(re);v(!V.destroyed);v(V===p[Ge]);v(!this.paused);v(re.upgrade||re.method==="CONNECT");this.statusCode=null;this.statusText="";this.shouldKeepAlive=null;v(this.headers.length%2===0);this.headers=[];this.headersSize=0;V.unshift(i);V[Qe].destroy();V[Qe]=null;V[Ie]=null;V[Oe]=null;V.removeListener("error",onSocketError).removeListener("readable",onSocketReadable).removeListener("end",onSocketEnd).removeListener("close",onSocketClose);p[Ge]=null;p[Ne][p[Ue]++]=null;p.emit("disconnect",p[Ee],[p],new de("upgrade"));try{re.onUpgrade(ee,K,V)}catch(i){te.destroy(V,i)}resume(p)}onHeadersComplete(i,d,p){const{client:V,socket:K,headers:ee,statusText:re}=this;if(K.destroyed){return-1}const ne=V[Ne][V[Ue]];if(!ne){return-1}v(!this.upgrade);v(this.statusCode<200);if(i===100){te.destroy(K,new ue("bad response",te.getSocketInfo(K)));return-1}if(d&&!ne.upgrade){te.destroy(K,new ue("bad upgrade",te.getSocketInfo(K)));return-1}v.strictEqual(this.timeoutType,$t);this.statusCode=i;this.shouldKeepAlive=p||ne.method==="HEAD"&&!K[Ce]&&this.connection.toLowerCase()==="keep-alive";if(this.statusCode>=200){const i=ne.bodyTimeout!=null?ne.bodyTimeout:V[We];this.setTimeout(i,Kt)}else if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}if(ne.method==="CONNECT"){v(V[Re]===1);this.upgrade=true;return 2}if(d){v(V[Re]===1);this.upgrade=true;return 2}v(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(this.shouldKeepAlive&&V[He]){const i=this.keepAlive?te.parseKeepAliveTimeout(this.keepAlive):null;if(i!=null){const d=Math.min(i-V[je],V[Ye]);if(d<=0){K[Ce]=true}else{V[Ve]=d}}else{V[Ve]=V[Le]}}else{K[Ce]=true}const se=ne.onHeaders(i,ee,this.resume,re)===false;if(ne.aborted){return-1}if(ne.method==="HEAD"){return 1}if(i<200){return 1}if(K[we]){K[we]=false;resume(V)}return se?Ht.ERROR.PAUSED:0}onBody(i){const{client:d,socket:p,statusCode:V,maxResponseSize:K}=this;if(p.destroyed){return-1}const ee=d[Ne][d[Ue]];v(ee);v.strictEqual(this.timeoutType,Kt);if(this.timeout){if(this.timeout.refresh){this.timeout.refresh()}}v(V>=200);if(K>-1&&this.bytesRead+i.length>K){te.destroy(p,new ge);return-1}this.bytesRead+=i.length;if(ee.onData(i)===false){return Ht.ERROR.PAUSED}}onMessageComplete(){const{client:i,socket:d,statusCode:p,upgrade:V,headers:K,contentLength:ee,bytesRead:re,shouldKeepAlive:ne}=this;if(d.destroyed&&(!p||ne)){return-1}if(V){return}const se=i[Ne][i[Ue]];v(se);v(p>=100);this.statusCode=null;this.statusText="";this.bytesRead=0;this.contentLength="";this.keepAlive="";this.connection="";v(this.headers.length%2===0);this.headers=[];this.headersSize=0;if(p<200){return}if(se.method!=="HEAD"&&ee&&re!==parseInt(ee,10)){te.destroy(d,new oe);return-1}se.onComplete(K);i[Ne][i[Ue]++]=null;if(d[Te]){v.strictEqual(i[Re],0);te.destroy(d,new de("reset"));return Ht.ERROR.PAUSED}else if(!ne){te.destroy(d,new de("reset"));return Ht.ERROR.PAUSED}else if(d[Ce]&&i[Re]===0){te.destroy(d,new de("reset"));return Ht.ERROR.PAUSED}else if(i[He]===1){setImmediate(resume,i)}else{resume(i)}}}function onParserTimeout(i){const{socket:d,timeoutType:p,client:V}=i;if(p===$t){if(!d[Te]||d.writableNeedDrain||V[Re]>1){v(!i.paused,"cannot be paused while waiting for headers");te.destroy(d,new ce)}}else if(p===Kt){if(!i.paused){te.destroy(d,new he)}}else if(p===Xt){v(V[Re]===0&&V[Ve]);te.destroy(d,new de("socket idle timeout"))}}function onSocketReadable(){const{[Qe]:i}=this;if(i){i.readMore()}}function onSocketError(i){const{[Ie]:d,[Qe]:p}=this;v(i.code!=="ERR_TLS_CERT_ALTNAME_INVALID");if(d[Bt]!=="h2"){if(i.code==="ECONNRESET"&&p.statusCode&&!p.shouldKeepAlive){p.onMessageComplete();return}}this[Oe]=i;onError(this[Ie],i)}function onError(i,d){if(i[Re]===0&&d.code!=="UND_ERR_INFO"&&d.code!=="UND_ERR_SOCKET"){v(i[Me]===i[Ue]);const p=i[Ne].splice(i[Ue]);for(let v=0;v0&&p.code!=="UND_ERR_INFO"){const d=i[Ne][i[Ue]];i[Ne][i[Ue]++]=null;errorRequest(i,d,p)}i[Me]=i[Ue];v(i[Re]===0);i.emit("disconnect",i[Ee],[i],p);resume(i)}async function connect(i){v(!i[xe]);v(!i[Ge]);let{host:d,hostname:p,protocol:K,port:ee}=i[Ee];if(p[0]==="["){const i=p.indexOf("]");v(i!==-1);const d=p.substring(1,i);v(V.isIP(d));p=d}i[xe]=true;if(Ot.beforeConnect.hasSubscribers){Ot.beforeConnect.publish({connectParams:{host:d,hostname:p,protocol:K,port:ee,servername:i[ye],localAddress:i[yt]},connector:i[$e]})}try{const V=await new Promise(((v,V)=>{i[$e]({host:d,hostname:p,protocol:K,port:ee,servername:i[ye],localAddress:i[yt]},((i,d)=>{if(i){V(i)}else{v(d)}}))}));if(i.destroyed){te.destroy(V.on("error",(()=>{})),new pe);return}i[xe]=false;v(V);const re=V.alpnProtocol==="h2";if(re){if(!_t){_t=true;process.emitWarning("H2 support is experimental, expect them to change at any time.",{code:"UNDICI-H2"})}const d=kt.connect(i[Ee],{createConnection:()=>V,peerMaxConcurrentStreams:i[wt].maxConcurrentStreams});i[Bt]="h2";d[Ie]=i;d[Ge]=V;d.on("error",onHttp2SessionError);d.on("frameError",onHttp2FrameError);d.on("end",onHttp2SessionEnd);d.on("goaway",onHTTP2GoAway);d.on("close",onSocketClose);d.unref();i[bt]=d;V[bt]=d}else{if(!qt){qt=await Yt;Yt=null}V[Pe]=false;V[Te]=false;V[Ce]=false;V[we]=false;V[Qe]=new Parser(i,V,qt)}V[Ze]=0;V[Xe]=i[Xe];V[Ie]=i;V[Oe]=null;V.on("error",onSocketError).on("readable",onSocketReadable).on("end",onSocketEnd).on("close",onSocketClose);i[Ge]=V;if(Ot.connected.hasSubscribers){Ot.connected.publish({connectParams:{host:d,hostname:p,protocol:K,port:ee,servername:i[ye],localAddress:i[yt]},connector:i[$e],socket:V})}i.emit("connect",i[Ee],[i])}catch(V){if(i.destroyed){return}i[xe]=false;if(Ot.connectError.hasSubscribers){Ot.connectError.publish({connectParams:{host:d,hostname:p,protocol:K,port:ee,servername:i[ye],localAddress:i[yt]},connector:i[$e],error:V})}if(V.code==="ERR_TLS_CERT_ALTNAME_INVALID"){v(i[Re]===0);while(i[ve]>0&&i[Ne][i[Me]].servername===i[ye]){const d=i[Ne][i[Me]++];errorRequest(i,d,V)}}else{onError(i,V)}i.emit("connectionError",i[Ee],[i],V)}resume(i)}function emitDrain(i){i[Fe]=0;i.emit("drain",i[Ee],[i])}function resume(i,d){if(i[Se]===2){return}i[Se]=2;_resume(i,d);i[Se]=0;if(i[Ue]>256){i[Ne].splice(0,i[Ue]);i[Me]-=i[Ue];i[Ue]=0}}function _resume(i,d){while(true){if(i.destroyed){v(i[ve]===0);return}if(i[Ut]&&!i[ke]){i[Ut]();i[Ut]=null;return}const p=i[Ge];if(p&&!p.destroyed&&p.alpnProtocol!=="h2"){if(i[ke]===0){if(!p[Pe]&&p.unref){p.unref();p[Pe]=true}}else if(p[Pe]&&p.ref){p.ref();p[Pe]=false}if(i[ke]===0){if(p[Qe].timeoutType!==Xt){p[Qe].setTimeout(i[Ve],Xt)}}else if(i[Re]>0&&p[Qe].statusCode<200){if(p[Qe].timeoutType!==$t){const d=i[Ne][i[Ue]];const v=d.headersTimeout!=null?d.headersTimeout:i[Je];p[Qe].setTimeout(v,$t)}}}if(i[Be]){i[Fe]=2}else if(i[Fe]===2){if(d){i[Fe]=1;process.nextTick(emitDrain,i)}else{emitDrain(i)}continue}if(i[ve]===0){return}if(i[Re]>=(i[He]||1)){return}const V=i[Ne][i[Me]];if(i[Ee].protocol==="https:"&&i[ye]!==V.servername){if(i[Re]>0){return}i[ye]=V.servername;if(p&&p.servername!==V.servername){te.destroy(p,new de("servername changed"));return}}if(i[xe]){return}if(!p&&!i[bt]){connect(i);return}if(p.destroyed||p[Te]||p[Ce]||p[we]){return}if(i[Re]>0&&!V.idempotent){return}if(i[Re]>0&&(V.upgrade||V.method==="CONNECT")){return}if(i[Re]>0&&te.bodyLength(V.body)!==0&&(te.isStream(V.body)||te.isAsyncIterable(V.body))){return}if(!V.aborted&&write(i,V)){i[Me]++}else{i[Ne].splice(i[Me],1)}}}function shouldSendContentLength(i){return i!=="GET"&&i!=="HEAD"&&i!=="OPTIONS"&&i!=="TRACE"&&i!=="CONNECT"}function write(i,d){if(i[Bt]==="h2"){writeH2(i,i[bt],d);return}const{body:p,method:V,path:K,host:ee,upgrade:re,headers:ne,blocking:se,reset:oe}=d;const ae=V==="PUT"||V==="POST"||V==="PATCH";if(p&&typeof p.read==="function"){p.read(0)}const ce=te.bodyLength(p);let le=ce;if(le===null){le=d.contentLength}if(le===0&&!ae){le=null}if(shouldSendContentLength(V)&&le>0&&d.contentLength!==null&&d.contentLength!==le){if(i[ze]){errorRequest(i,d,new ie);return false}process.emitWarning(new ie)}const ue=i[Ge];try{d.onConnect((p=>{if(d.aborted||d.completed){return}errorRequest(i,d,p||new Ae);te.destroy(ue,new de("aborted"))}))}catch(p){errorRequest(i,d,p)}if(d.aborted){return false}if(V==="HEAD"){ue[Ce]=true}if(re||V==="CONNECT"){ue[Ce]=true}if(oe!=null){ue[Ce]=oe}if(i[Xe]&&ue[Ze]++>=i[Xe]){ue[Ce]=true}if(se){ue[we]=true}let he=`${V} ${K} HTTP/1.1\r\n`;if(typeof ee==="string"){he+=`host: ${ee}\r\n`}else{he+=i[_e]}if(re){he+=`connection: upgrade\r\nupgrade: ${re}\r\n`}else if(i[He]&&!ue[Ce]){he+="connection: keep-alive\r\n"}else{he+="connection: close\r\n"}if(ne){he+=ne}if(Ot.sendHeaders.hasSubscribers){Ot.sendHeaders.publish({request:d,headers:he,socket:ue})}if(!p||ce===0){if(le===0){ue.write(`${he}content-length: 0\r\n\r\n`,"latin1")}else{v(le===null,"no body must not have content length");ue.write(`${he}\r\n`,"latin1")}d.onRequestSent()}else if(te.isBuffer(p)){v(le===p.byteLength,"buffer body must have content length");ue.cork();ue.write(`${he}content-length: ${le}\r\n\r\n`,"latin1");ue.write(p);ue.uncork();d.onBodySent(p);d.onRequestSent();if(!ae){ue[Ce]=true}}else if(te.isBlobLike(p)){if(typeof p.stream==="function"){writeIterable({body:p.stream(),client:i,request:d,socket:ue,contentLength:le,header:he,expectsPayload:ae})}else{writeBlob({body:p,client:i,request:d,socket:ue,contentLength:le,header:he,expectsPayload:ae})}}else if(te.isStream(p)){writeStream({body:p,client:i,request:d,socket:ue,contentLength:le,header:he,expectsPayload:ae})}else if(te.isIterable(p)){writeIterable({body:p,client:i,request:d,socket:ue,contentLength:le,header:he,expectsPayload:ae})}else{v(false)}return true}function writeH2(i,d,p){const{body:V,method:K,path:ee,host:re,upgrade:se,expectContinue:oe,signal:ae,headers:ce}=p;let le;if(typeof ce==="string")le=ne[Rt](ce.trim());else le=ce;if(se){errorRequest(i,p,new Error("Upgrade not supported for H2"));return false}try{p.onConnect((d=>{if(p.aborted||p.completed){return}errorRequest(i,p,d||new Ae)}))}catch(d){errorRequest(i,p,d)}if(p.aborted){return false}let ue;const he=i[wt];le[Tt]=re||i[Qt];le[Nt]=K;if(K==="CONNECT"){d.ref();ue=d.request(le,{endStream:false,signal:ae});if(ue.id&&!ue.pending){p.onUpgrade(null,null,ue);++he.openStreams}else{ue.once("ready",(()=>{p.onUpgrade(null,null,ue);++he.openStreams}))}ue.once("close",(()=>{he.openStreams-=1;if(he.openStreams===0)d.unref()}));return true}le[Dt]=ee;le[xt]="https";const fe=K==="PUT"||K==="POST"||K==="PATCH";if(V&&typeof V.read==="function"){V.read(0)}let ge=te.bodyLength(V);if(ge==null){ge=p.contentLength}if(ge===0||!fe){ge=null}if(shouldSendContentLength(K)&&ge>0&&p.contentLength!=null&&p.contentLength!==ge){if(i[ze]){errorRequest(i,p,new ie);return false}process.emitWarning(new ie)}if(ge!=null){v(V,"no body must not have content length");le[Ft]=`${ge}`}d.ref();const pe=K==="GET"||K==="HEAD";if(oe){le[Pt]="100-continue";ue=d.request(le,{endStream:pe,signal:ae});ue.once("continue",writeBodyH2)}else{ue=d.request(le,{endStream:pe,signal:ae});writeBodyH2()}++he.openStreams;ue.once("response",(i=>{const{[Lt]:d,...v}=i;if(p.onHeaders(Number(d),v,ue.resume.bind(ue),"")===false){ue.pause()}}));ue.once("end",(()=>{p.onComplete([])}));ue.on("data",(i=>{if(p.onData(i)===false){ue.pause()}}));ue.once("close",(()=>{he.openStreams-=1;if(he.openStreams===0){d.unref()}}));ue.once("error",(function(d){if(i[bt]&&!i[bt].destroyed&&!this.closed&&!this.destroyed){he.streams-=1;te.destroy(ue,d)}}));ue.once("frameError",((d,v)=>{const V=new de(`HTTP/2: "frameError" received - type ${d}, code ${v}`);errorRequest(i,p,V);if(i[bt]&&!i[bt].destroyed&&!this.closed&&!this.destroyed){he.streams-=1;te.destroy(ue,V)}}));return true;function writeBodyH2(){if(!V){p.onRequestSent()}else if(te.isBuffer(V)){v(ge===V.byteLength,"buffer body must have content length");ue.cork();ue.write(V);ue.uncork();ue.end();p.onBodySent(V);p.onRequestSent()}else if(te.isBlobLike(V)){if(typeof V.stream==="function"){writeIterable({client:i,request:p,contentLength:ge,h2stream:ue,expectsPayload:fe,body:V.stream(),socket:i[Ge],header:""})}else{writeBlob({body:V,client:i,request:p,contentLength:ge,expectsPayload:fe,h2stream:ue,header:"",socket:i[Ge]})}}else if(te.isStream(V)){writeStream({body:V,client:i,request:p,contentLength:ge,expectsPayload:fe,socket:i[Ge],h2stream:ue,header:""})}else if(te.isIterable(V)){writeIterable({body:V,client:i,request:p,contentLength:ge,expectsPayload:fe,header:"",h2stream:ue,socket:i[Ge]})}else{v(false)}}}function writeStream({h2stream:i,body:d,client:p,request:V,socket:K,contentLength:re,header:ne,expectsPayload:se}){v(re!==0||p[Re]===0,"stream body cannot be pipelined");if(p[Bt]==="h2"){const ae=ee(d,i,(p=>{if(p){te.destroy(d,p);te.destroy(i,p)}else{V.onRequestSent()}}));ae.on("data",onPipeData);ae.once("end",(()=>{ae.removeListener("data",onPipeData);te.destroy(ae)}));function onPipeData(i){V.onBodySent(i)}return}let ie=false;const oe=new AsyncWriter({socket:K,request:V,contentLength:re,client:p,expectsPayload:se,header:ne});const onData=function(i){if(ie){return}try{if(!oe.write(i)&&this.pause){this.pause()}}catch(i){te.destroy(this,i)}};const onDrain=function(){if(ie){return}if(d.resume){d.resume()}};const onAbort=function(){if(ie){return}const i=new Ae;queueMicrotask((()=>onFinished(i)))};const onFinished=function(i){if(ie){return}ie=true;v(K.destroyed||K[Te]&&p[Re]<=1);K.off("drain",onDrain).off("error",onFinished);d.removeListener("data",onData).removeListener("end",onFinished).removeListener("error",onFinished).removeListener("close",onAbort);if(!i){try{oe.end()}catch(d){i=d}}oe.destroy(i);if(i&&(i.code!=="UND_ERR_INFO"||i.message!=="reset")){te.destroy(d,i)}else{te.destroy(d)}};d.on("data",onData).on("end",onFinished).on("error",onFinished).on("close",onAbort);if(d.resume){d.resume()}K.on("drain",onDrain).on("error",onFinished)}async function writeBlob({h2stream:i,body:d,client:p,request:V,socket:K,contentLength:ee,header:re,expectsPayload:ne}){v(ee===d.size,"blob body must have content length");const se=p[Bt]==="h2";try{if(ee!=null&&ee!==d.size){throw new ie}const v=Buffer.from(await d.arrayBuffer());if(se){i.cork();i.write(v);i.uncork()}else{K.cork();K.write(`${re}content-length: ${ee}\r\n\r\n`,"latin1");K.write(v);K.uncork()}V.onBodySent(v);V.onRequestSent();if(!ne){K[Ce]=true}resume(p)}catch(d){te.destroy(se?i:K,d)}}async function writeIterable({h2stream:i,body:d,client:p,request:V,socket:K,contentLength:ee,header:te,expectsPayload:re}){v(ee!==0||p[Re]===0,"iterator body cannot be pipelined");let ne=null;function onDrain(){if(ne){const i=ne;ne=null;i()}}const waitForDrain=()=>new Promise(((i,d)=>{v(ne===null);if(K[Oe]){d(K[Oe])}else{ne=i}}));if(p[Bt]==="h2"){i.on("close",onDrain).on("drain",onDrain);try{for await(const p of d){if(K[Oe]){throw K[Oe]}const d=i.write(p);V.onBodySent(p);if(!d){await waitForDrain()}}}catch(d){i.destroy(d)}finally{V.onRequestSent();i.end();i.off("close",onDrain).off("drain",onDrain)}return}K.on("close",onDrain).on("drain",onDrain);const se=new AsyncWriter({socket:K,request:V,contentLength:ee,client:p,expectsPayload:re,header:te});try{for await(const i of d){if(K[Oe]){throw K[Oe]}if(!se.write(i)){await waitForDrain()}}se.end()}catch(i){se.destroy(i)}finally{K.off("close",onDrain).off("drain",onDrain)}}class AsyncWriter{constructor({socket:i,request:d,contentLength:p,client:v,expectsPayload:V,header:K}){this.socket=i;this.request=d;this.contentLength=p;this.client=v;this.bytesWritten=0;this.expectsPayload=V;this.header=K;i[Te]=true}write(i){const{socket:d,request:p,contentLength:v,client:V,bytesWritten:K,expectsPayload:ee,header:te}=this;if(d[Oe]){throw d[Oe]}if(d.destroyed){return false}const re=Buffer.byteLength(i);if(!re){return true}if(v!==null&&K+re>v){if(V[ze]){throw new ie}process.emitWarning(new ie)}d.cork();if(K===0){if(!ee){d[Ce]=true}if(v===null){d.write(`${te}transfer-encoding: chunked\r\n`,"latin1")}else{d.write(`${te}content-length: ${v}\r\n\r\n`,"latin1")}}if(v===null){d.write(`\r\n${re.toString(16)}\r\n`,"latin1")}this.bytesWritten+=re;const ne=d.write(i);d.uncork();p.onBodySent(i);if(!ne){if(d[Qe].timeout&&d[Qe].timeoutType===$t){if(d[Qe].timeout.refresh){d[Qe].timeout.refresh()}}}return ne}end(){const{socket:i,contentLength:d,client:p,bytesWritten:v,expectsPayload:V,header:K,request:ee}=this;ee.onRequestSent();i[Te]=false;if(i[Oe]){throw i[Oe]}if(i.destroyed){return}if(v===0){if(V){i.write(`${K}content-length: 0\r\n\r\n`,"latin1")}else{i.write(`${K}\r\n`,"latin1")}}else if(d===null){i.write("\r\n0\r\n\r\n","latin1")}if(d!==null&&v!==d){if(p[ze]){throw new ie}else{process.emitWarning(new ie)}}if(i[Qe].timeout&&i[Qe].timeoutType===$t){if(i[Qe].timeout.refresh){i[Qe].timeout.refresh()}}resume(p)}destroy(i){const{socket:d,client:p}=this;d[Te]=false;if(i){v(p[Re]<=1,"pipeline should only contain this request");te.destroy(d,i)}}}function errorRequest(i,d,p){try{d.onError(p);v(d.aborted)}catch(p){i.emit("error",p)}}i.exports=Client},13194:(i,d,p)=>{const{kConnected:v,kSize:V}=p(36443);class CompatWeakRef{constructor(i){this.value=i}deref(){return this.value[v]===0&&this.value[V]===0?undefined:this.value}}class CompatFinalizer{constructor(i){this.finalizer=i}register(i,d){if(i.on){i.on("disconnect",(()=>{if(i[v]===0&&i[V]===0){this.finalizer(d)}}))}}}i.exports=function(){if(process.env.NODE_V8_COVERAGE){return{WeakRef:CompatWeakRef,FinalizationRegistry:CompatFinalizer}}return{WeakRef:global.WeakRef||CompatWeakRef,FinalizationRegistry:global.FinalizationRegistry||CompatFinalizer}}},19237:i=>{const d=1024;const p=4096;i.exports={maxAttributeValueSize:d,maxNameValuePairSize:p}},53168:(i,d,p)=>{const{parseSetCookie:v}=p(8915);const{stringify:V}=p(3834);const{webidl:K}=p(74222);const{Headers:ee}=p(26349);function getCookies(i){K.argumentLengthCheck(arguments,1,{header:"getCookies"});K.brandCheck(i,ee,{strict:false});const d=i.get("cookie");const p={};if(!d){return p}for(const i of d.split(";")){const[d,...v]=i.split("=");p[d.trim()]=v.join("=")}return p}function deleteCookie(i,d,p){K.argumentLengthCheck(arguments,2,{header:"deleteCookie"});K.brandCheck(i,ee,{strict:false});d=K.converters.DOMString(d);p=K.converters.DeleteCookieAttributes(p);setCookie(i,{name:d,value:"",expires:new Date(0),...p})}function getSetCookies(i){K.argumentLengthCheck(arguments,1,{header:"getSetCookies"});K.brandCheck(i,ee,{strict:false});const d=i.getSetCookie();if(!d){return[]}return d.map((i=>v(i)))}function setCookie(i,d){K.argumentLengthCheck(arguments,2,{header:"setCookie"});K.brandCheck(i,ee,{strict:false});d=K.converters.Cookie(d);const p=V(d);if(p){i.append("Set-Cookie",V(d))}}K.converters.DeleteCookieAttributes=K.dictionaryConverter([{converter:K.nullableConverter(K.converters.DOMString),key:"path",defaultValue:null},{converter:K.nullableConverter(K.converters.DOMString),key:"domain",defaultValue:null}]);K.converters.Cookie=K.dictionaryConverter([{converter:K.converters.DOMString,key:"name"},{converter:K.converters.DOMString,key:"value"},{converter:K.nullableConverter((i=>{if(typeof i==="number"){return K.converters["unsigned long long"](i)}return new Date(i)})),key:"expires",defaultValue:null},{converter:K.nullableConverter(K.converters["long long"]),key:"maxAge",defaultValue:null},{converter:K.nullableConverter(K.converters.DOMString),key:"domain",defaultValue:null},{converter:K.nullableConverter(K.converters.DOMString),key:"path",defaultValue:null},{converter:K.nullableConverter(K.converters.boolean),key:"secure",defaultValue:null},{converter:K.nullableConverter(K.converters.boolean),key:"httpOnly",defaultValue:null},{converter:K.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:K.sequenceConverter(K.converters.DOMString),key:"unparsed",defaultValue:[]}]);i.exports={getCookies:getCookies,deleteCookie:deleteCookie,getSetCookies:getSetCookies,setCookie:setCookie}},8915:(i,d,p)=>{const{maxNameValuePairSize:v,maxAttributeValueSize:V}=p(19237);const{isCTLExcludingHtab:K}=p(3834);const{collectASequenceOfCodePointsFast:ee}=p(94322);const te=p(42613);function parseSetCookie(i){if(K(i)){return null}let d="";let p="";let V="";let te="";if(i.includes(";")){const v={position:0};d=ee(";",i,v);p=i.slice(v.position)}else{d=i}if(!d.includes("=")){te=d}else{const i={position:0};V=ee("=",d,i);te=d.slice(i.position+1)}V=V.trim();te=te.trim();if(V.length+te.length>v){return null}return{name:V,value:te,...parseUnparsedAttributes(p)}}function parseUnparsedAttributes(i,d={}){if(i.length===0){return d}te(i[0]===";");i=i.slice(1);let p="";if(i.includes(";")){p=ee(";",i,{position:0});i=i.slice(p.length)}else{p=i;i=""}let v="";let K="";if(p.includes("=")){const i={position:0};v=ee("=",p,i);K=p.slice(i.position+1)}else{v=p}v=v.trim();K=K.trim();if(K.length>V){return parseUnparsedAttributes(i,d)}const re=v.toLowerCase();if(re==="expires"){const i=new Date(K);d.expires=i}else if(re==="max-age"){const p=K.charCodeAt(0);if((p<48||p>57)&&K[0]!=="-"){return parseUnparsedAttributes(i,d)}if(!/^\d+$/.test(K)){return parseUnparsedAttributes(i,d)}const v=Number(K);d.maxAge=v}else if(re==="domain"){let i=K;if(i[0]==="."){i=i.slice(1)}i=i.toLowerCase();d.domain=i}else if(re==="path"){let i="";if(K.length===0||K[0]!=="/"){i="/"}else{i=K}d.path=i}else if(re==="secure"){d.secure=true}else if(re==="httponly"){d.httpOnly=true}else if(re==="samesite"){let i="Default";const p=K.toLowerCase();if(p.includes("none")){i="None"}if(p.includes("strict")){i="Strict"}if(p.includes("lax")){i="Lax"}d.sameSite=i}else{d.unparsed??=[];d.unparsed.push(`${v}=${K}`)}return parseUnparsedAttributes(i,d)}i.exports={parseSetCookie:parseSetCookie,parseUnparsedAttributes:parseUnparsedAttributes}},3834:i=>{function isCTLExcludingHtab(i){if(i.length===0){return false}for(const d of i){const i=d.charCodeAt(0);if(i>=0||i<=8||(i>=10||i<=31)||i===127){return false}}}function validateCookieName(i){for(const d of i){const i=d.charCodeAt(0);if(i<=32||i>127||d==="("||d===")"||d===">"||d==="<"||d==="@"||d===","||d===";"||d===":"||d==="\\"||d==='"'||d==="/"||d==="["||d==="]"||d==="?"||d==="="||d==="{"||d==="}"){throw new Error("Invalid cookie name")}}}function validateCookieValue(i){for(const d of i){const i=d.charCodeAt(0);if(i<33||i===34||i===44||i===59||i===92||i>126){throw new Error("Invalid header value")}}}function validateCookiePath(i){for(const d of i){const i=d.charCodeAt(0);if(i<33||d===";"){throw new Error("Invalid cookie path")}}}function validateCookieDomain(i){if(i.startsWith("-")||i.endsWith(".")||i.endsWith("-")){throw new Error("Invalid cookie domain")}}function toIMFDate(i){if(typeof i==="number"){i=new Date(i)}const d=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];const p=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];const v=d[i.getUTCDay()];const V=i.getUTCDate().toString().padStart(2,"0");const K=p[i.getUTCMonth()];const ee=i.getUTCFullYear();const te=i.getUTCHours().toString().padStart(2,"0");const re=i.getUTCMinutes().toString().padStart(2,"0");const ne=i.getUTCSeconds().toString().padStart(2,"0");return`${v}, ${V} ${K} ${ee} ${te}:${re}:${ne} GMT`}function validateCookieMaxAge(i){if(i<0){throw new Error("Invalid cookie max-age")}}function stringify(i){if(i.name.length===0){return null}validateCookieName(i.name);validateCookieValue(i.value);const d=[`${i.name}=${i.value}`];if(i.name.startsWith("__Secure-")){i.secure=true}if(i.name.startsWith("__Host-")){i.secure=true;i.domain=null;i.path="/"}if(i.secure){d.push("Secure")}if(i.httpOnly){d.push("HttpOnly")}if(typeof i.maxAge==="number"){validateCookieMaxAge(i.maxAge);d.push(`Max-Age=${i.maxAge}`)}if(i.domain){validateCookieDomain(i.domain);d.push(`Domain=${i.domain}`)}if(i.path){validateCookiePath(i.path);d.push(`Path=${i.path}`)}if(i.expires&&i.expires.toString()!=="Invalid Date"){d.push(`Expires=${toIMFDate(i.expires)}`)}if(i.sameSite){d.push(`SameSite=${i.sameSite}`)}for(const p of i.unparsed){if(!p.includes("=")){throw new Error("Invalid unparsed")}const[i,...v]=p.split("=");d.push(`${i.trim()}=${v.join("=")}`)}return d.join("; ")}i.exports={isCTLExcludingHtab:isCTLExcludingHtab,validateCookieName:validateCookieName,validateCookiePath:validateCookiePath,validateCookieValue:validateCookieValue,toIMFDate:toIMFDate,stringify:stringify}},59136:(i,d,p)=>{const v=p(69278);const V=p(42613);const K=p(3440);const{InvalidArgumentError:ee,ConnectTimeoutError:te}=p(68707);let re;let ne;if(global.FinalizationRegistry&&!process.env.NODE_V8_COVERAGE){ne=class WeakSessionCache{constructor(i){this._maxCachedSessions=i;this._sessionCache=new Map;this._sessionRegistry=new global.FinalizationRegistry((i=>{if(this._sessionCache.size=this._maxCachedSessions){const{value:i}=this._sessionCache.keys().next();this._sessionCache.delete(i)}this._sessionCache.set(i,d)}}}function buildConnector({allowH2:i,maxCachedSessions:d,socketPath:te,timeout:se,...ie}){if(d!=null&&(!Number.isInteger(d)||d<0)){throw new ee("maxCachedSessions must be a positive integer or zero")}const oe={path:te,...ie};const ae=new ne(d==null?100:d);se=se==null?1e4:se;i=i!=null?i:false;return function connect({hostname:d,host:ee,protocol:te,port:ne,servername:ie,localAddress:Ae,httpSocket:ce},le){let ue;if(te==="https:"){if(!re){re=p(64756)}ie=ie||oe.servername||K.getServerName(ee)||null;const v=ie||d;const te=ae.get(v)||null;V(v);ue=re.connect({highWaterMark:16384,...oe,servername:ie,session:te,localAddress:Ae,ALPNProtocols:i?["http/1.1","h2"]:["http/1.1"],socket:ce,port:ne||443,host:d});ue.on("session",(function(i){ae.set(v,i)}))}else{V(!ce,"httpSocket can only be sent on TLS update");ue=v.connect({highWaterMark:64*1024,...oe,localAddress:Ae,port:ne||80,host:d})}if(oe.keepAlive==null||oe.keepAlive){const i=oe.keepAliveInitialDelay===undefined?6e4:oe.keepAliveInitialDelay;ue.setKeepAlive(true,i)}const de=setupTimeout((()=>onConnectTimeout(ue)),se);ue.setNoDelay(true).once(te==="https:"?"secureConnect":"connect",(function(){de();if(le){const i=le;le=null;i(null,this)}})).on("error",(function(i){de();if(le){const d=le;le=null;d(i)}}));return ue}}function setupTimeout(i,d){if(!d){return()=>{}}let p=null;let v=null;const V=setTimeout((()=>{p=setImmediate((()=>{if(process.platform==="win32"){v=setImmediate((()=>i()))}else{i()}}))}),d);return()=>{clearTimeout(V);clearImmediate(p);clearImmediate(v)}}function onConnectTimeout(i){K.destroy(i,new te)}i.exports=buildConnector},10735:i=>{const d={};const p=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"];for(let i=0;i{class UndiciError extends Error{constructor(i){super(i);this.name="UndiciError";this.code="UND_ERR"}}class ConnectTimeoutError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,ConnectTimeoutError);this.name="ConnectTimeoutError";this.message=i||"Connect Timeout Error";this.code="UND_ERR_CONNECT_TIMEOUT"}}class HeadersTimeoutError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,HeadersTimeoutError);this.name="HeadersTimeoutError";this.message=i||"Headers Timeout Error";this.code="UND_ERR_HEADERS_TIMEOUT"}}class HeadersOverflowError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,HeadersOverflowError);this.name="HeadersOverflowError";this.message=i||"Headers Overflow Error";this.code="UND_ERR_HEADERS_OVERFLOW"}}class BodyTimeoutError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,BodyTimeoutError);this.name="BodyTimeoutError";this.message=i||"Body Timeout Error";this.code="UND_ERR_BODY_TIMEOUT"}}class ResponseStatusCodeError extends UndiciError{constructor(i,d,p,v){super(i);Error.captureStackTrace(this,ResponseStatusCodeError);this.name="ResponseStatusCodeError";this.message=i||"Response Status Code Error";this.code="UND_ERR_RESPONSE_STATUS_CODE";this.body=v;this.status=d;this.statusCode=d;this.headers=p}}class InvalidArgumentError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,InvalidArgumentError);this.name="InvalidArgumentError";this.message=i||"Invalid Argument Error";this.code="UND_ERR_INVALID_ARG"}}class InvalidReturnValueError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,InvalidReturnValueError);this.name="InvalidReturnValueError";this.message=i||"Invalid Return Value Error";this.code="UND_ERR_INVALID_RETURN_VALUE"}}class RequestAbortedError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,RequestAbortedError);this.name="AbortError";this.message=i||"Request aborted";this.code="UND_ERR_ABORTED"}}class InformationalError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,InformationalError);this.name="InformationalError";this.message=i||"Request information";this.code="UND_ERR_INFO"}}class RequestContentLengthMismatchError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,RequestContentLengthMismatchError);this.name="RequestContentLengthMismatchError";this.message=i||"Request body length does not match content-length header";this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}}class ResponseContentLengthMismatchError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,ResponseContentLengthMismatchError);this.name="ResponseContentLengthMismatchError";this.message=i||"Response body length does not match content-length header";this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}}class ClientDestroyedError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,ClientDestroyedError);this.name="ClientDestroyedError";this.message=i||"The client is destroyed";this.code="UND_ERR_DESTROYED"}}class ClientClosedError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,ClientClosedError);this.name="ClientClosedError";this.message=i||"The client is closed";this.code="UND_ERR_CLOSED"}}class SocketError extends UndiciError{constructor(i,d){super(i);Error.captureStackTrace(this,SocketError);this.name="SocketError";this.message=i||"Socket error";this.code="UND_ERR_SOCKET";this.socket=d}}class NotSupportedError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,NotSupportedError);this.name="NotSupportedError";this.message=i||"Not supported error";this.code="UND_ERR_NOT_SUPPORTED"}}class BalancedPoolMissingUpstreamError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,NotSupportedError);this.name="MissingUpstreamError";this.message=i||"No upstream has been added to the BalancedPool";this.code="UND_ERR_BPL_MISSING_UPSTREAM"}}class HTTPParserError extends Error{constructor(i,d,p){super(i);Error.captureStackTrace(this,HTTPParserError);this.name="HTTPParserError";this.code=d?`HPE_${d}`:undefined;this.data=p?p.toString():undefined}}class ResponseExceededMaxSizeError extends UndiciError{constructor(i){super(i);Error.captureStackTrace(this,ResponseExceededMaxSizeError);this.name="ResponseExceededMaxSizeError";this.message=i||"Response content exceeded max size";this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}}class RequestRetryError extends UndiciError{constructor(i,d,{headers:p,data:v}){super(i);Error.captureStackTrace(this,RequestRetryError);this.name="RequestRetryError";this.message=i||"Request retry error";this.code="UND_ERR_REQ_RETRY";this.statusCode=d;this.data=v;this.headers=p}}i.exports={HTTPParserError:HTTPParserError,UndiciError:UndiciError,HeadersTimeoutError:HeadersTimeoutError,HeadersOverflowError:HeadersOverflowError,BodyTimeoutError:BodyTimeoutError,RequestContentLengthMismatchError:RequestContentLengthMismatchError,ConnectTimeoutError:ConnectTimeoutError,ResponseStatusCodeError:ResponseStatusCodeError,InvalidArgumentError:InvalidArgumentError,InvalidReturnValueError:InvalidReturnValueError,RequestAbortedError:RequestAbortedError,ClientDestroyedError:ClientDestroyedError,ClientClosedError:ClientClosedError,InformationalError:InformationalError,SocketError:SocketError,NotSupportedError:NotSupportedError,ResponseContentLengthMismatchError:ResponseContentLengthMismatchError,BalancedPoolMissingUpstreamError:BalancedPoolMissingUpstreamError,ResponseExceededMaxSizeError:ResponseExceededMaxSizeError,RequestRetryError:RequestRetryError}},44655:(i,d,p)=>{const{InvalidArgumentError:v,NotSupportedError:V}=p(68707);const K=p(42613);const{kHTTP2BuildRequest:ee,kHTTP2CopyHeaders:te,kHTTP1BuildRequest:re}=p(36443);const ne=p(3440);const se=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/;const ie=/[^\t\x20-\x7e\x80-\xff]/;const oe=/[^\u0021-\u00ff]/;const ae=Symbol("handler");const Ae={};let ce;try{const i=p(31637);Ae.create=i.channel("undici:request:create");Ae.bodySent=i.channel("undici:request:bodySent");Ae.headers=i.channel("undici:request:headers");Ae.trailers=i.channel("undici:request:trailers");Ae.error=i.channel("undici:request:error")}catch{Ae.create={hasSubscribers:false};Ae.bodySent={hasSubscribers:false};Ae.headers={hasSubscribers:false};Ae.trailers={hasSubscribers:false};Ae.error={hasSubscribers:false}}class Request{constructor(i,{path:d,method:V,body:K,headers:ee,query:te,idempotent:re,blocking:ie,upgrade:le,headersTimeout:ue,bodyTimeout:de,reset:he,throwOnError:fe,expectContinue:ge},pe){if(typeof d!=="string"){throw new v("path must be a string")}else if(d[0]!=="/"&&!(d.startsWith("http://")||d.startsWith("https://"))&&V!=="CONNECT"){throw new v("path must be an absolute URL or start with a slash")}else if(oe.exec(d)!==null){throw new v("invalid request path")}if(typeof V!=="string"){throw new v("method must be a string")}else if(se.exec(V)===null){throw new v("invalid request method")}if(le&&typeof le!=="string"){throw new v("upgrade must be a string")}if(ue!=null&&(!Number.isFinite(ue)||ue<0)){throw new v("invalid headersTimeout")}if(de!=null&&(!Number.isFinite(de)||de<0)){throw new v("invalid bodyTimeout")}if(he!=null&&typeof he!=="boolean"){throw new v("invalid reset")}if(ge!=null&&typeof ge!=="boolean"){throw new v("invalid expectContinue")}this.headersTimeout=ue;this.bodyTimeout=de;this.throwOnError=fe===true;this.method=V;this.abort=null;if(K==null){this.body=null}else if(ne.isStream(K)){this.body=K;const i=this.body._readableState;if(!i||!i.autoDestroy){this.endHandler=function autoDestroy(){ne.destroy(this)};this.body.on("end",this.endHandler)}this.errorHandler=i=>{if(this.abort){this.abort(i)}else{this.error=i}};this.body.on("error",this.errorHandler)}else if(ne.isBuffer(K)){this.body=K.byteLength?K:null}else if(ArrayBuffer.isView(K)){this.body=K.buffer.byteLength?Buffer.from(K.buffer,K.byteOffset,K.byteLength):null}else if(K instanceof ArrayBuffer){this.body=K.byteLength?Buffer.from(K):null}else if(typeof K==="string"){this.body=K.length?Buffer.from(K):null}else if(ne.isFormDataLike(K)||ne.isIterable(K)||ne.isBlobLike(K)){this.body=K}else{throw new v("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable")}this.completed=false;this.aborted=false;this.upgrade=le||null;this.path=te?ne.buildURL(d,te):d;this.origin=i;this.idempotent=re==null?V==="HEAD"||V==="GET":re;this.blocking=ie==null?false:ie;this.reset=he==null?null:he;this.host=null;this.contentLength=null;this.contentType=null;this.headers="";this.expectContinue=ge!=null?ge:false;if(Array.isArray(ee)){if(ee.length%2!==0){throw new v("headers array must be even")}for(let i=0;i{i.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kHeadersList:Symbol("headers list"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kInterceptors:Symbol("dispatch interceptors"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kHTTP2BuildRequest:Symbol("http2 build request"),kHTTP1BuildRequest:Symbol("http1 build request"),kHTTP2CopyHeaders:Symbol("http2 copy headers"),kHTTPConnVersion:Symbol("http connection version"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable")}},3440:(i,d,p)=>{const v=p(42613);const{kDestroyed:V,kBodyUsed:K}=p(36443);const{IncomingMessage:ee}=p(58611);const te=p(2203);const re=p(69278);const{InvalidArgumentError:ne}=p(68707);const{Blob:se}=p(20181);const ie=p(39023);const{stringify:oe}=p(83480);const{headerNameLowerCasedRecord:ae}=p(10735);const[Ae,ce]=process.versions.node.split(".").map((i=>Number(i)));function nop(){}function isStream(i){return i&&typeof i==="object"&&typeof i.pipe==="function"&&typeof i.on==="function"}function isBlobLike(i){return se&&i instanceof se||i&&typeof i==="object"&&(typeof i.stream==="function"||typeof i.arrayBuffer==="function")&&/^(Blob|File)$/.test(i[Symbol.toStringTag])}function buildURL(i,d){if(i.includes("?")||i.includes("#")){throw new Error('Query params cannot be passed when url already contains "?" or "#".')}const p=oe(d);if(p){i+="?"+p}return i}function parseURL(i){if(typeof i==="string"){i=new URL(i);if(!/^https?:/.test(i.origin||i.protocol)){throw new ne("Invalid URL protocol: the URL must start with `http:` or `https:`.")}return i}if(!i||typeof i!=="object"){throw new ne("Invalid URL: The URL argument must be a non-null object.")}if(!/^https?:/.test(i.origin||i.protocol)){throw new ne("Invalid URL protocol: the URL must start with `http:` or `https:`.")}if(!(i instanceof URL)){if(i.port!=null&&i.port!==""&&!Number.isFinite(parseInt(i.port))){throw new ne("Invalid URL: port must be a valid integer or a string representation of an integer.")}if(i.path!=null&&typeof i.path!=="string"){throw new ne("Invalid URL path: the path must be a string or null/undefined.")}if(i.pathname!=null&&typeof i.pathname!=="string"){throw new ne("Invalid URL pathname: the pathname must be a string or null/undefined.")}if(i.hostname!=null&&typeof i.hostname!=="string"){throw new ne("Invalid URL hostname: the hostname must be a string or null/undefined.")}if(i.origin!=null&&typeof i.origin!=="string"){throw new ne("Invalid URL origin: the origin must be a string or null/undefined.")}const d=i.port!=null?i.port:i.protocol==="https:"?443:80;let p=i.origin!=null?i.origin:`${i.protocol}//${i.hostname}:${d}`;let v=i.path!=null?i.path:`${i.pathname||""}${i.search||""}`;if(p.endsWith("/")){p=p.substring(0,p.length-1)}if(v&&!v.startsWith("/")){v=`/${v}`}i=new URL(p+v)}return i}function parseOrigin(i){i=parseURL(i);if(i.pathname!=="/"||i.search||i.hash){throw new ne("invalid url")}return i}function getHostname(i){if(i[0]==="["){const d=i.indexOf("]");v(d!==-1);return i.substring(1,d)}const d=i.indexOf(":");if(d===-1)return i;return i.substring(0,d)}function getServerName(i){if(!i){return null}v.strictEqual(typeof i,"string");const d=getHostname(i);if(re.isIP(d)){return""}return d}function deepClone(i){return JSON.parse(JSON.stringify(i))}function isAsyncIterable(i){return!!(i!=null&&typeof i[Symbol.asyncIterator]==="function")}function isIterable(i){return!!(i!=null&&(typeof i[Symbol.iterator]==="function"||typeof i[Symbol.asyncIterator]==="function"))}function bodyLength(i){if(i==null){return 0}else if(isStream(i)){const d=i._readableState;return d&&d.objectMode===false&&d.ended===true&&Number.isFinite(d.length)?d.length:null}else if(isBlobLike(i)){return i.size!=null?i.size:null}else if(isBuffer(i)){return i.byteLength}return null}function isDestroyed(i){return!i||!!(i.destroyed||i[V])}function isReadableAborted(i){const d=i&&i._readableState;return isDestroyed(i)&&d&&!d.endEmitted}function destroy(i,d){if(i==null||!isStream(i)||isDestroyed(i)){return}if(typeof i.destroy==="function"){if(Object.getPrototypeOf(i).constructor===ee){i.socket=null}i.destroy(d)}else if(d){process.nextTick(((i,d)=>{i.emit("error",d)}),i,d)}if(i.destroyed!==true){i[V]=true}}const le=/timeout=(\d+)/;function parseKeepAliveTimeout(i){const d=i.toString().match(le);return d?parseInt(d[1],10)*1e3:null}function headerNameToString(i){return ae[i]||i.toLowerCase()}function parseHeaders(i,d={}){if(!Array.isArray(i))return i;for(let p=0;pi.toString("utf8")))}else{d[v]=i[p+1].toString("utf8")}}else{if(!Array.isArray(V)){V=[V];d[v]=V}V.push(i[p+1].toString("utf8"))}}if("content-length"in d&&"content-disposition"in d){d["content-disposition"]=Buffer.from(d["content-disposition"]).toString("latin1")}return d}function parseRawHeaders(i){const d=[];let p=false;let v=-1;for(let V=0;V{i.close()}))}else{const d=Buffer.isBuffer(v)?v:Buffer.from(v);i.enqueue(new Uint8Array(d))}return i.desiredSize>0},async cancel(i){await d.return()}},0)}function isFormDataLike(i){return i&&typeof i==="object"&&typeof i.append==="function"&&typeof i.delete==="function"&&typeof i.get==="function"&&typeof i.getAll==="function"&&typeof i.has==="function"&&typeof i.set==="function"&&i[Symbol.toStringTag]==="FormData"}function throwIfAborted(i){if(!i){return}if(typeof i.throwIfAborted==="function"){i.throwIfAborted()}else{if(i.aborted){const i=new Error("The operation was aborted");i.name="AbortError";throw i}}}function addAbortListener(i,d){if("addEventListener"in i){i.addEventListener("abort",d,{once:true});return()=>i.removeEventListener("abort",d)}i.addListener("abort",d);return()=>i.removeListener("abort",d)}const de=!!String.prototype.toWellFormed;function toUSVString(i){if(de){return`${i}`.toWellFormed()}else if(ie.toUSVString){return ie.toUSVString(i)}return`${i}`}function parseRangeHeader(i){if(i==null||i==="")return{start:0,end:null,size:null};const d=i?i.match(/^bytes (\d+)-(\d+)\/(\d+)?$/):null;return d?{start:parseInt(d[1]),end:d[2]?parseInt(d[2]):null,size:d[3]?parseInt(d[3]):null}:null}const he=Object.create(null);he.enumerable=true;i.exports={kEnumerableProperty:he,nop:nop,isDisturbed:isDisturbed,isErrored:isErrored,isReadable:isReadable,toUSVString:toUSVString,isReadableAborted:isReadableAborted,isBlobLike:isBlobLike,parseOrigin:parseOrigin,parseURL:parseURL,getServerName:getServerName,isStream:isStream,isIterable:isIterable,isAsyncIterable:isAsyncIterable,isDestroyed:isDestroyed,headerNameToString:headerNameToString,parseRawHeaders:parseRawHeaders,parseHeaders:parseHeaders,parseKeepAliveTimeout:parseKeepAliveTimeout,destroy:destroy,bodyLength:bodyLength,deepClone:deepClone,ReadableStreamFrom:ReadableStreamFrom,isBuffer:isBuffer,validateHandler:validateHandler,getSocketInfo:getSocketInfo,isFormDataLike:isFormDataLike,buildURL:buildURL,throwIfAborted:throwIfAborted,addAbortListener:addAbortListener,parseRangeHeader:parseRangeHeader,nodeMajor:Ae,nodeMinor:ce,nodeHasAutoSelectFamily:Ae>18||Ae===18&&ce>=13,safeHTTPMethods:["GET","HEAD","OPTIONS","TRACE"]}},50001:(i,d,p)=>{const v=p(28611);const{ClientDestroyedError:V,ClientClosedError:K,InvalidArgumentError:ee}=p(68707);const{kDestroy:te,kClose:re,kDispatch:ne,kInterceptors:se}=p(36443);const ie=Symbol("destroyed");const oe=Symbol("closed");const ae=Symbol("onDestroyed");const Ae=Symbol("onClosed");const ce=Symbol("Intercepted Dispatch");class DispatcherBase extends v{constructor(){super();this[ie]=false;this[ae]=null;this[oe]=false;this[Ae]=[]}get destroyed(){return this[ie]}get closed(){return this[oe]}get interceptors(){return this[se]}set interceptors(i){if(i){for(let d=i.length-1;d>=0;d--){const i=this[se][d];if(typeof i!=="function"){throw new ee("interceptor must be an function")}}}this[se]=i}close(i){if(i===undefined){return new Promise(((i,d)=>{this.close(((p,v)=>p?d(p):i(v)))}))}if(typeof i!=="function"){throw new ee("invalid callback")}if(this[ie]){queueMicrotask((()=>i(new V,null)));return}if(this[oe]){if(this[Ae]){this[Ae].push(i)}else{queueMicrotask((()=>i(null,null)))}return}this[oe]=true;this[Ae].push(i);const onClosed=()=>{const i=this[Ae];this[Ae]=null;for(let d=0;dthis.destroy())).then((()=>{queueMicrotask(onClosed)}))}destroy(i,d){if(typeof i==="function"){d=i;i=null}if(d===undefined){return new Promise(((d,p)=>{this.destroy(i,((i,v)=>i?p(i):d(v)))}))}if(typeof d!=="function"){throw new ee("invalid callback")}if(this[ie]){if(this[ae]){this[ae].push(d)}else{queueMicrotask((()=>d(null,null)))}return}if(!i){i=new V}this[ie]=true;this[ae]=this[ae]||[];this[ae].push(d);const onDestroyed=()=>{const i=this[ae];this[ae]=null;for(let d=0;d{queueMicrotask(onDestroyed)}))}[ce](i,d){if(!this[se]||this[se].length===0){this[ce]=this[ne];return this[ne](i,d)}let p=this[ne].bind(this);for(let i=this[se].length-1;i>=0;i--){p=this[se][i](p)}this[ce]=p;return p(i,d)}dispatch(i,d){if(!d||typeof d!=="object"){throw new ee("handler must be an object")}try{if(!i||typeof i!=="object"){throw new ee("opts must be an object.")}if(this[ie]||this[ae]){throw new V}if(this[oe]){throw new K}return this[ce](i,d)}catch(i){if(typeof d.onError!=="function"){throw new ee("invalid onError method")}d.onError(i);return false}}}i.exports=DispatcherBase},28611:(i,d,p)=>{const v=p(24434);class Dispatcher extends v{dispatch(){throw new Error("not implemented")}close(){throw new Error("not implemented")}destroy(){throw new Error("not implemented")}}i.exports=Dispatcher},8923:(i,d,p)=>{const v=p(4652);const V=p(3440);const{ReadableStreamFrom:K,isBlobLike:ee,isReadableStreamLike:te,readableStreamClose:re,createDeferredPromise:ne,fullyReadBody:se}=p(15523);const{FormData:ie}=p(43073);const{kState:oe}=p(89710);const{webidl:ae}=p(74222);const{DOMException:Ae,structuredClone:ce}=p(87326);const{Blob:le,File:ue}=p(20181);const{kBodyUsed:de}=p(36443);const he=p(42613);const{isErrored:fe}=p(3440);const{isUint8Array:ge,isArrayBuffer:pe}=p(98253);const{File:me}=p(63041);const{parseMIMEType:Ee,serializeAMimeType:Ce}=p(94322);let ye;try{const i=p(77598);ye=d=>i.randomInt(0,d)}catch{ye=i=>Math.floor(Math.random(i))}let Ie=globalThis.ReadableStream;const Be=ue??me;const Qe=new TextEncoder;const be=new TextDecoder;function extractBody(i,d=false){if(!Ie){Ie=p(63774).ReadableStream}let v=null;if(i instanceof Ie){v=i}else if(ee(i)){v=i.stream()}else{v=new Ie({async pull(i){i.enqueue(typeof se==="string"?Qe.encode(se):se);queueMicrotask((()=>re(i)))},start(){},type:undefined})}he(te(v));let ne=null;let se=null;let ie=null;let oe=null;if(typeof i==="string"){se=i;oe="text/plain;charset=UTF-8"}else if(i instanceof URLSearchParams){se=i.toString();oe="application/x-www-form-urlencoded;charset=UTF-8"}else if(pe(i)){se=new Uint8Array(i.slice())}else if(ArrayBuffer.isView(i)){se=new Uint8Array(i.buffer.slice(i.byteOffset,i.byteOffset+i.byteLength))}else if(V.isFormDataLike(i)){const d=`----formdata-undici-0${`${ye(1e11)}`.padStart(11,"0")}`;const p=`--${d}\r\nContent-Disposition: form-data` +/*! formdata-polyfill. MIT License. Jimmy Wärting */;const escape=i=>i.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22");const normalizeLinefeeds=i=>i.replace(/\r?\n|\r/g,"\r\n");const v=[];const V=new Uint8Array([13,10]);ie=0;let K=false;for(const[d,ee]of i){if(typeof ee==="string"){const i=Qe.encode(p+`; name="${escape(normalizeLinefeeds(d))}"`+`\r\n\r\n${normalizeLinefeeds(ee)}\r\n`);v.push(i);ie+=i.byteLength}else{const i=Qe.encode(`${p}; name="${escape(normalizeLinefeeds(d))}"`+(ee.name?`; filename="${escape(ee.name)}"`:"")+"\r\n"+`Content-Type: ${ee.type||"application/octet-stream"}\r\n\r\n`);v.push(i,ee,V);if(typeof ee.size==="number"){ie+=i.byteLength+ee.size+V.byteLength}else{K=true}}}const ee=Qe.encode(`--${d}--`);v.push(ee);ie+=ee.byteLength;if(K){ie=null}se=i;ne=async function*(){for(const i of v){if(i.stream){yield*i.stream()}else{yield i}}};oe="multipart/form-data; boundary="+d}else if(ee(i)){se=i;ie=i.size;if(i.type){oe=i.type}}else if(typeof i[Symbol.asyncIterator]==="function"){if(d){throw new TypeError("keepalive")}if(V.isDisturbed(i)||i.locked){throw new TypeError("Response body object should not be disturbed or locked")}v=i instanceof Ie?i:K(i)}if(typeof se==="string"||V.isBuffer(se)){ie=Buffer.byteLength(se)}if(ne!=null){let d;v=new Ie({async start(){d=ne(i)[Symbol.asyncIterator]()},async pull(i){const{value:p,done:V}=await d.next();if(V){queueMicrotask((()=>{i.close()}))}else{if(!fe(v)){i.enqueue(new Uint8Array(p))}}return i.desiredSize>0},async cancel(i){await d.return()},type:undefined})}const ae={stream:v,source:se,length:ie};return[ae,oe]}function safelyExtractBody(i,d=false){if(!Ie){Ie=p(63774).ReadableStream}if(i instanceof Ie){he(!V.isDisturbed(i),"The body has already been consumed.");he(!i.locked,"The stream is locked.")}return extractBody(i,d)}function cloneBody(i){const[d,p]=i.stream.tee();const v=ce(p,{transfer:[p]});const[,V]=v.tee();i.stream=d;return{stream:V,length:i.length,source:i.source}}async function*consumeBody(i){if(i){if(ge(i)){yield i}else{const d=i.stream;if(V.isDisturbed(d)){throw new TypeError("The body has already been consumed.")}if(d.locked){throw new TypeError("The stream is locked.")}d[de]=true;yield*d}}}function throwIfAborted(i){if(i.aborted){throw new Ae("The operation was aborted.","AbortError")}}function bodyMixinMethods(i){const d={blob(){return specConsumeBody(this,(i=>{let d=bodyMimeType(this);if(d==="failure"){d=""}else if(d){d=Ce(d)}return new le([i],{type:d})}),i)},arrayBuffer(){return specConsumeBody(this,(i=>new Uint8Array(i).buffer),i)},text(){return specConsumeBody(this,utf8DecodeBytes,i)},json(){return specConsumeBody(this,parseJSONFromBytes,i)},async formData(){ae.brandCheck(this,i);throwIfAborted(this[oe]);const d=this.headers.get("Content-Type");if(/multipart\/form-data/.test(d)){const i={};for(const[d,p]of this.headers)i[d.toLowerCase()]=p;const d=new ie;let p;try{p=new v({headers:i,preservePath:true})}catch(i){throw new Ae(`${i}`,"AbortError")}p.on("field",((i,p)=>{d.append(i,p)}));p.on("file",((i,p,v,V,K)=>{const ee=[];if(V==="base64"||V.toLowerCase()==="base64"){let V="";p.on("data",(i=>{V+=i.toString().replace(/[\r\n]/gm,"");const d=V.length-V.length%4;ee.push(Buffer.from(V.slice(0,d),"base64"));V=V.slice(d)}));p.on("end",(()=>{ee.push(Buffer.from(V,"base64"));d.append(i,new Be(ee,v,{type:K}))}))}else{p.on("data",(i=>{ee.push(i)}));p.on("end",(()=>{d.append(i,new Be(ee,v,{type:K}))}))}}));const V=new Promise(((i,d)=>{p.on("finish",i);p.on("error",(i=>d(new TypeError(i))))}));if(this.body!==null)for await(const i of consumeBody(this[oe].body))p.write(i);p.end();await V;return d}else if(/application\/x-www-form-urlencoded/.test(d)){let i;try{let d="";const p=new TextDecoder("utf-8",{ignoreBOM:true});for await(const i of consumeBody(this[oe].body)){if(!ge(i)){throw new TypeError("Expected Uint8Array chunk")}d+=p.decode(i,{stream:true})}d+=p.decode();i=new URLSearchParams(d)}catch(i){throw Object.assign(new TypeError,{cause:i})}const d=new ie;for(const[p,v]of i){d.append(p,v)}return d}else{await Promise.resolve();throwIfAborted(this[oe]);throw ae.errors.exception({header:`${i.name}.formData`,message:"Could not parse content as FormData."})}}};return d}function mixinBody(i){Object.assign(i.prototype,bodyMixinMethods(i))}async function specConsumeBody(i,d,p){ae.brandCheck(i,p);throwIfAborted(i[oe]);if(bodyUnusable(i[oe].body)){throw new TypeError("Body is unusable")}const v=ne();const errorSteps=i=>v.reject(i);const successSteps=i=>{try{v.resolve(d(i))}catch(i){errorSteps(i)}};if(i[oe].body==null){successSteps(new Uint8Array);return v.promise}await se(i[oe].body,successSteps,errorSteps);return v.promise}function bodyUnusable(i){return i!=null&&(i.stream.locked||V.isDisturbed(i.stream))}function utf8DecodeBytes(i){if(i.length===0){return""}if(i[0]===239&&i[1]===187&&i[2]===191){i=i.subarray(3)}const d=be.decode(i);return d}function parseJSONFromBytes(i){return JSON.parse(utf8DecodeBytes(i))}function bodyMimeType(i){const{headersList:d}=i[oe];const p=d.get("content-type");if(p===null){return"failure"}return Ee(p)}i.exports={extractBody:extractBody,safelyExtractBody:safelyExtractBody,cloneBody:cloneBody,mixinBody:mixinBody}},87326:(i,d,p)=>{const{MessageChannel:v,receiveMessageOnPort:V}=p(28167);const K=["GET","HEAD","POST"];const ee=new Set(K);const te=[101,204,205,304];const re=[301,302,303,307,308];const ne=new Set(re);const se=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","5060","5061","6000","6566","6665","6666","6667","6668","6669","6697","10080"];const ie=new Set(se);const oe=["","no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"];const ae=new Set(oe);const Ae=["follow","manual","error"];const ce=["GET","HEAD","OPTIONS","TRACE"];const le=new Set(ce);const ue=["navigate","same-origin","no-cors","cors"];const de=["omit","same-origin","include"];const he=["default","no-store","reload","no-cache","force-cache","only-if-cached"];const fe=["content-encoding","content-language","content-location","content-type","content-length"];const ge=["half"];const pe=["CONNECT","TRACE","TRACK"];const me=new Set(pe);const Ee=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""];const Ce=new Set(Ee);const ye=globalThis.DOMException??(()=>{try{atob("~")}catch(i){return Object.getPrototypeOf(i).constructor}})();let Ie;const Be=globalThis.structuredClone??function structuredClone(i,d=undefined){if(arguments.length===0){throw new TypeError("missing argument")}if(!Ie){Ie=new v}Ie.port1.unref();Ie.port2.unref();Ie.port1.postMessage(i,d?.transfer);return V(Ie.port2).message};i.exports={DOMException:ye,structuredClone:Be,subresource:Ee,forbiddenMethods:pe,requestBodyHeader:fe,referrerPolicy:oe,requestRedirect:Ae,requestMode:ue,requestCredentials:de,requestCache:he,redirectStatus:re,corsSafeListedMethods:K,nullBodyStatus:te,safeMethods:ce,badPorts:se,requestDuplex:ge,subresourceSet:Ce,badPortsSet:ie,redirectStatusSet:ne,corsSafeListedMethodsSet:ee,safeMethodsSet:le,forbiddenMethodsSet:me,referrerPolicySet:ae}},94322:(i,d,p)=>{const v=p(42613);const{atob:V}=p(20181);const{isomorphicDecode:K}=p(15523);const ee=new TextEncoder;const te=/^[!#$%&'*+-.^_|~A-Za-z0-9]+$/;const re=/(\u000A|\u000D|\u0009|\u0020)/;const ne=/[\u0009|\u0020-\u007E|\u0080-\u00FF]/;function dataURLProcessor(i){v(i.protocol==="data:");let d=URLSerializer(i,true);d=d.slice(5);const p={position:0};let V=collectASequenceOfCodePointsFast(",",d,p);const ee=V.length;V=removeASCIIWhitespace(V,true,true);if(p.position>=d.length){return"failure"}p.position++;const te=d.slice(ee+1);let re=stringPercentDecode(te);if(/;(\u0020){0,}base64$/i.test(V)){const i=K(re);re=forgivingBase64(i);if(re==="failure"){return"failure"}V=V.slice(0,-6);V=V.replace(/(\u0020)+$/,"");V=V.slice(0,-1)}if(V.startsWith(";")){V="text/plain"+V}let ne=parseMIMEType(V);if(ne==="failure"){ne=parseMIMEType("text/plain;charset=US-ASCII")}return{mimeType:ne,body:re}}function URLSerializer(i,d=false){if(!d){return i.href}const p=i.href;const v=i.hash.length;return v===0?p:p.substring(0,p.length-v)}function collectASequenceOfCodePoints(i,d,p){let v="";while(p.positioni.length){return"failure"}d.position++;let v=collectASequenceOfCodePointsFast(";",i,d);v=removeHTTPWhitespace(v,false,true);if(v.length===0||!te.test(v)){return"failure"}const V=p.toLowerCase();const K=v.toLowerCase();const ee={type:V,subtype:K,parameters:new Map,essence:`${V}/${K}`};while(d.positionre.test(i)),i,d);let p=collectASequenceOfCodePoints((i=>i!==";"&&i!=="="),i,d);p=p.toLowerCase();if(d.positioni.length){break}let v=null;if(i[d.position]==='"'){v=collectAnHTTPQuotedString(i,d,true);collectASequenceOfCodePointsFast(";",i,d)}else{v=collectASequenceOfCodePointsFast(";",i,d);v=removeHTTPWhitespace(v,false,true);if(v.length===0){continue}}if(p.length!==0&&te.test(p)&&(v.length===0||ne.test(v))&&!ee.parameters.has(p)){ee.parameters.set(p,v)}}return ee}function forgivingBase64(i){i=i.replace(/[\u0009\u000A\u000C\u000D\u0020]/g,"");if(i.length%4===0){i=i.replace(/=?=$/,"")}if(i.length%4===1){return"failure"}if(/[^+/0-9A-Za-z]/.test(i)){return"failure"}const d=V(i);const p=new Uint8Array(d.length);for(let i=0;ii!=='"'&&i!=="\\"),i,d);if(d.position>=i.length){break}const p=i[d.position];d.position++;if(p==="\\"){if(d.position>=i.length){K+="\\";break}K+=i[d.position];d.position++}else{v(p==='"');break}}if(p){return K}return i.slice(V,d.position)}function serializeAMimeType(i){v(i!=="failure");const{parameters:d,essence:p}=i;let V=p;for(let[i,p]of d.entries()){V+=";";V+=i;V+="=";if(!te.test(p)){p=p.replace(/(\\|")/g,"\\$1");p='"'+p;p+='"'}V+=p}return V}function isHTTPWhiteSpace(i){return i==="\r"||i==="\n"||i==="\t"||i===" "}function removeHTTPWhitespace(i,d=true,p=true){let v=0;let V=i.length-1;if(d){for(;v0&&isHTTPWhiteSpace(i[V]);V--);}return i.slice(v,V+1)}function isASCIIWhitespace(i){return i==="\r"||i==="\n"||i==="\t"||i==="\f"||i===" "}function removeASCIIWhitespace(i,d=true,p=true){let v=0;let V=i.length-1;if(d){for(;v0&&isASCIIWhitespace(i[V]);V--);}return i.slice(v,V+1)}i.exports={dataURLProcessor:dataURLProcessor,URLSerializer:URLSerializer,collectASequenceOfCodePoints:collectASequenceOfCodePoints,collectASequenceOfCodePointsFast:collectASequenceOfCodePointsFast,stringPercentDecode:stringPercentDecode,parseMIMEType:parseMIMEType,collectAnHTTPQuotedString:collectAnHTTPQuotedString,serializeAMimeType:serializeAMimeType}},63041:(i,d,p)=>{const{Blob:v,File:V}=p(20181);const{types:K}=p(39023);const{kState:ee}=p(89710);const{isBlobLike:te}=p(15523);const{webidl:re}=p(74222);const{parseMIMEType:ne,serializeAMimeType:se}=p(94322);const{kEnumerableProperty:ie}=p(3440);const oe=new TextEncoder;class File extends v{constructor(i,d,p={}){re.argumentLengthCheck(arguments,2,{header:"File constructor"});i=re.converters["sequence"](i);d=re.converters.USVString(d);p=re.converters.FilePropertyBag(p);const v=d;let V=p.type;let K;e:{if(V){V=ne(V);if(V==="failure"){V="";break e}V=se(V).toLowerCase()}K=p.lastModified}super(processBlobParts(i,p),{type:V});this[ee]={name:v,lastModified:K,type:V}}get name(){re.brandCheck(this,File);return this[ee].name}get lastModified(){re.brandCheck(this,File);return this[ee].lastModified}get type(){re.brandCheck(this,File);return this[ee].type}}class FileLike{constructor(i,d,p={}){const v=d;const V=p.type;const K=p.lastModified??Date.now();this[ee]={blobLike:i,name:v,type:V,lastModified:K}}stream(...i){re.brandCheck(this,FileLike);return this[ee].blobLike.stream(...i)}arrayBuffer(...i){re.brandCheck(this,FileLike);return this[ee].blobLike.arrayBuffer(...i)}slice(...i){re.brandCheck(this,FileLike);return this[ee].blobLike.slice(...i)}text(...i){re.brandCheck(this,FileLike);return this[ee].blobLike.text(...i)}get size(){re.brandCheck(this,FileLike);return this[ee].blobLike.size}get type(){re.brandCheck(this,FileLike);return this[ee].blobLike.type}get name(){re.brandCheck(this,FileLike);return this[ee].name}get lastModified(){re.brandCheck(this,FileLike);return this[ee].lastModified}get[Symbol.toStringTag](){return"File"}}Object.defineProperties(File.prototype,{[Symbol.toStringTag]:{value:"File",configurable:true},name:ie,lastModified:ie});re.converters.Blob=re.interfaceConverter(v);re.converters.BlobPart=function(i,d){if(re.util.Type(i)==="Object"){if(te(i)){return re.converters.Blob(i,{strict:false})}if(ArrayBuffer.isView(i)||K.isAnyArrayBuffer(i)){return re.converters.BufferSource(i,d)}}return re.converters.USVString(i,d)};re.converters["sequence"]=re.sequenceConverter(re.converters.BlobPart);re.converters.FilePropertyBag=re.dictionaryConverter([{key:"lastModified",converter:re.converters["long long"],get defaultValue(){return Date.now()}},{key:"type",converter:re.converters.DOMString,defaultValue:""},{key:"endings",converter:i=>{i=re.converters.DOMString(i);i=i.toLowerCase();if(i!=="native"){i="transparent"}return i},defaultValue:"transparent"}]);function processBlobParts(i,d){const p=[];for(const v of i){if(typeof v==="string"){let i=v;if(d.endings==="native"){i=convertLineEndingsNative(i)}p.push(oe.encode(i))}else if(K.isAnyArrayBuffer(v)||K.isTypedArray(v)){if(!v.buffer){p.push(new Uint8Array(v))}else{p.push(new Uint8Array(v.buffer,v.byteOffset,v.byteLength))}}else if(te(v)){p.push(v)}}return p}function convertLineEndingsNative(i){let d="\n";if(process.platform==="win32"){d="\r\n"}return i.replace(/\r?\n/g,d)}function isFileLike(i){return V&&i instanceof V||i instanceof File||i&&(typeof i.stream==="function"||typeof i.arrayBuffer==="function")&&i[Symbol.toStringTag]==="File"}i.exports={File:File,FileLike:FileLike,isFileLike:isFileLike}},43073:(i,d,p)=>{const{isBlobLike:v,toUSVString:V,makeIterator:K}=p(15523);const{kState:ee}=p(89710);const{File:te,FileLike:re,isFileLike:ne}=p(63041);const{webidl:se}=p(74222);const{Blob:ie,File:oe}=p(20181);const ae=oe??te;class FormData{constructor(i){if(i!==undefined){throw se.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}this[ee]=[]}append(i,d,p=undefined){se.brandCheck(this,FormData);se.argumentLengthCheck(arguments,2,{header:"FormData.append"});if(arguments.length===3&&!v(d)){throw new TypeError("Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'")}i=se.converters.USVString(i);d=v(d)?se.converters.Blob(d,{strict:false}):se.converters.USVString(d);p=arguments.length===3?se.converters.USVString(p):undefined;const V=makeEntry(i,d,p);this[ee].push(V)}delete(i){se.brandCheck(this,FormData);se.argumentLengthCheck(arguments,1,{header:"FormData.delete"});i=se.converters.USVString(i);this[ee]=this[ee].filter((d=>d.name!==i))}get(i){se.brandCheck(this,FormData);se.argumentLengthCheck(arguments,1,{header:"FormData.get"});i=se.converters.USVString(i);const d=this[ee].findIndex((d=>d.name===i));if(d===-1){return null}return this[ee][d].value}getAll(i){se.brandCheck(this,FormData);se.argumentLengthCheck(arguments,1,{header:"FormData.getAll"});i=se.converters.USVString(i);return this[ee].filter((d=>d.name===i)).map((i=>i.value))}has(i){se.brandCheck(this,FormData);se.argumentLengthCheck(arguments,1,{header:"FormData.has"});i=se.converters.USVString(i);return this[ee].findIndex((d=>d.name===i))!==-1}set(i,d,p=undefined){se.brandCheck(this,FormData);se.argumentLengthCheck(arguments,2,{header:"FormData.set"});if(arguments.length===3&&!v(d)){throw new TypeError("Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'")}i=se.converters.USVString(i);d=v(d)?se.converters.Blob(d,{strict:false}):se.converters.USVString(d);p=arguments.length===3?V(p):undefined;const K=makeEntry(i,d,p);const te=this[ee].findIndex((d=>d.name===i));if(te!==-1){this[ee]=[...this[ee].slice(0,te),K,...this[ee].slice(te+1).filter((d=>d.name!==i))]}else{this[ee].push(K)}}entries(){se.brandCheck(this,FormData);return K((()=>this[ee].map((i=>[i.name,i.value]))),"FormData","key+value")}keys(){se.brandCheck(this,FormData);return K((()=>this[ee].map((i=>[i.name,i.value]))),"FormData","key")}values(){se.brandCheck(this,FormData);return K((()=>this[ee].map((i=>[i.name,i.value]))),"FormData","value")}forEach(i,d=globalThis){se.brandCheck(this,FormData);se.argumentLengthCheck(arguments,1,{header:"FormData.forEach"});if(typeof i!=="function"){throw new TypeError("Failed to execute 'forEach' on 'FormData': parameter 1 is not of type 'Function'.")}for(const[p,v]of this){i.apply(d,[v,p,this])}}}FormData.prototype[Symbol.iterator]=FormData.prototype.entries;Object.defineProperties(FormData.prototype,{[Symbol.toStringTag]:{value:"FormData",configurable:true}});function makeEntry(i,d,p){i=Buffer.from(i).toString("utf8");if(typeof d==="string"){d=Buffer.from(d).toString("utf8")}else{if(!ne(d)){d=d instanceof ie?new ae([d],"blob",{type:d.type}):new re(d,"blob",{type:d.type})}if(p!==undefined){const i={type:d.type,lastModified:d.lastModified};d=oe&&d instanceof oe||d instanceof te?new ae([d],p,i):new re(d,p,i)}}return{name:i,value:d}}i.exports={FormData:FormData}},75628:i=>{const d=Symbol.for("undici.globalOrigin.1");function getGlobalOrigin(){return globalThis[d]}function setGlobalOrigin(i){if(i===undefined){Object.defineProperty(globalThis,d,{value:undefined,writable:true,enumerable:false,configurable:false});return}const p=new URL(i);if(p.protocol!=="http:"&&p.protocol!=="https:"){throw new TypeError(`Only http & https urls are allowed, received ${p.protocol}`)}Object.defineProperty(globalThis,d,{value:p,writable:true,enumerable:false,configurable:false})}i.exports={getGlobalOrigin:getGlobalOrigin,setGlobalOrigin:setGlobalOrigin}},26349:(i,d,p)=>{const{kHeadersList:v,kConstruct:V}=p(36443);const{kGuard:K}=p(89710);const{kEnumerableProperty:ee}=p(3440);const{makeIterator:te,isValidHeaderName:re,isValidHeaderValue:ne}=p(15523);const se=p(39023);const{webidl:ie}=p(74222);const oe=p(42613);const ae=Symbol("headers map");const Ae=Symbol("headers map sorted");function isHTTPWhiteSpaceCharCode(i){return i===10||i===13||i===9||i===32}function headerValueNormalize(i){let d=0;let p=i.length;while(p>d&&isHTTPWhiteSpaceCharCode(i.charCodeAt(p-1)))--p;while(p>d&&isHTTPWhiteSpaceCharCode(i.charCodeAt(d)))++d;return d===0&&p===i.length?i:i.substring(d,p)}function fill(i,d){if(Array.isArray(d)){for(let p=0;p>","record"]})}}function appendHeader(i,d,p){p=headerValueNormalize(p);if(!re(d)){throw ie.errors.invalidArgument({prefix:"Headers.append",value:d,type:"header name"})}else if(!ne(p)){throw ie.errors.invalidArgument({prefix:"Headers.append",value:p,type:"header value"})}if(i[K]==="immutable"){throw new TypeError("immutable")}else if(i[K]==="request-no-cors"){}return i[v].append(d,p)}class HeadersList{cookies=null;constructor(i){if(i instanceof HeadersList){this[ae]=new Map(i[ae]);this[Ae]=i[Ae];this.cookies=i.cookies===null?null:[...i.cookies]}else{this[ae]=new Map(i);this[Ae]=null}}contains(i){i=i.toLowerCase();return this[ae].has(i)}clear(){this[ae].clear();this[Ae]=null;this.cookies=null}append(i,d){this[Ae]=null;const p=i.toLowerCase();const v=this[ae].get(p);if(v){const i=p==="cookie"?"; ":", ";this[ae].set(p,{name:v.name,value:`${v.value}${i}${d}`})}else{this[ae].set(p,{name:i,value:d})}if(p==="set-cookie"){this.cookies??=[];this.cookies.push(d)}}set(i,d){this[Ae]=null;const p=i.toLowerCase();if(p==="set-cookie"){this.cookies=[d]}this[ae].set(p,{name:i,value:d})}delete(i){this[Ae]=null;i=i.toLowerCase();if(i==="set-cookie"){this.cookies=null}this[ae].delete(i)}get(i){const d=this[ae].get(i.toLowerCase());return d===undefined?null:d.value}*[Symbol.iterator](){for(const[i,{value:d}]of this[ae]){yield[i,d]}}get entries(){const i={};if(this[ae].size){for(const{name:d,value:p}of this[ae].values()){i[d]=p}}return i}}class Headers{constructor(i=undefined){if(i===V){return}this[v]=new HeadersList;this[K]="none";if(i!==undefined){i=ie.converters.HeadersInit(i);fill(this,i)}}append(i,d){ie.brandCheck(this,Headers);ie.argumentLengthCheck(arguments,2,{header:"Headers.append"});i=ie.converters.ByteString(i);d=ie.converters.ByteString(d);return appendHeader(this,i,d)}delete(i){ie.brandCheck(this,Headers);ie.argumentLengthCheck(arguments,1,{header:"Headers.delete"});i=ie.converters.ByteString(i);if(!re(i)){throw ie.errors.invalidArgument({prefix:"Headers.delete",value:i,type:"header name"})}if(this[K]==="immutable"){throw new TypeError("immutable")}else if(this[K]==="request-no-cors"){}if(!this[v].contains(i)){return}this[v].delete(i)}get(i){ie.brandCheck(this,Headers);ie.argumentLengthCheck(arguments,1,{header:"Headers.get"});i=ie.converters.ByteString(i);if(!re(i)){throw ie.errors.invalidArgument({prefix:"Headers.get",value:i,type:"header name"})}return this[v].get(i)}has(i){ie.brandCheck(this,Headers);ie.argumentLengthCheck(arguments,1,{header:"Headers.has"});i=ie.converters.ByteString(i);if(!re(i)){throw ie.errors.invalidArgument({prefix:"Headers.has",value:i,type:"header name"})}return this[v].contains(i)}set(i,d){ie.brandCheck(this,Headers);ie.argumentLengthCheck(arguments,2,{header:"Headers.set"});i=ie.converters.ByteString(i);d=ie.converters.ByteString(d);d=headerValueNormalize(d);if(!re(i)){throw ie.errors.invalidArgument({prefix:"Headers.set",value:i,type:"header name"})}else if(!ne(d)){throw ie.errors.invalidArgument({prefix:"Headers.set",value:d,type:"header value"})}if(this[K]==="immutable"){throw new TypeError("immutable")}else if(this[K]==="request-no-cors"){}this[v].set(i,d)}getSetCookie(){ie.brandCheck(this,Headers);const i=this[v].cookies;if(i){return[...i]}return[]}get[Ae](){if(this[v][Ae]){return this[v][Ae]}const i=[];const d=[...this[v]].sort(((i,d)=>i[0]i),"Headers","key")}return te((()=>[...this[Ae].values()]),"Headers","key")}values(){ie.brandCheck(this,Headers);if(this[K]==="immutable"){const i=this[Ae];return te((()=>i),"Headers","value")}return te((()=>[...this[Ae].values()]),"Headers","value")}entries(){ie.brandCheck(this,Headers);if(this[K]==="immutable"){const i=this[Ae];return te((()=>i),"Headers","key+value")}return te((()=>[...this[Ae].values()]),"Headers","key+value")}forEach(i,d=globalThis){ie.brandCheck(this,Headers);ie.argumentLengthCheck(arguments,1,{header:"Headers.forEach"});if(typeof i!=="function"){throw new TypeError("Failed to execute 'forEach' on 'Headers': parameter 1 is not of type 'Function'.")}for(const[p,v]of this){i.apply(d,[v,p,this])}}[Symbol.for("nodejs.util.inspect.custom")](){ie.brandCheck(this,Headers);return this[v]}}Headers.prototype[Symbol.iterator]=Headers.prototype.entries;Object.defineProperties(Headers.prototype,{append:ee,delete:ee,get:ee,has:ee,set:ee,getSetCookie:ee,keys:ee,values:ee,entries:ee,forEach:ee,[Symbol.iterator]:{enumerable:false},[Symbol.toStringTag]:{value:"Headers",configurable:true},[se.inspect.custom]:{enumerable:false}});ie.converters.HeadersInit=function(i){if(ie.util.Type(i)==="Object"){if(i[Symbol.iterator]){return ie.converters["sequence>"](i)}return ie.converters["record"](i)}throw ie.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence>","record"]})};i.exports={fill:fill,Headers:Headers,HeadersList:HeadersList}},12315:(i,d,p)=>{const{Response:v,makeNetworkError:V,makeAppropriateNetworkError:K,filterResponse:ee,makeResponse:te}=p(48676);const{Headers:re}=p(26349);const{Request:ne,makeRequest:se}=p(25194);const ie=p(43106);const{bytesMatch:oe,makePolicyContainer:ae,clonePolicyContainer:Ae,requestBadPort:ce,TAOCheck:le,appendRequestOriginHeader:ue,responseLocationURL:de,requestCurrentURL:he,setRequestReferrerPolicyOnRedirect:fe,tryUpgradeRequestToAPotentiallyTrustworthyURL:ge,createOpaqueTimingInfo:pe,appendFetchMetadata:me,corsCheck:Ee,crossOriginResourcePolicyCheck:Ce,determineRequestsReferrer:ye,coarsenedSharedCurrentTime:Ie,createDeferredPromise:Be,isBlobLike:Qe,sameOrigin:be,isCancelled:we,isAborted:Se,isErrorLike:Re,fullyReadBody:ve,readableStreamClose:ke,isomorphicEncode:Te,urlIsLocal:Ne,urlIsHttpHttpsScheme:De,urlHasHttpsScheme:xe}=p(15523);const{kState:Fe,kHeaders:Pe,kGuard:Le,kRealm:_e}=p(89710);const Me=p(42613);const{safelyExtractBody:Ue}=p(8923);const{redirectStatusSet:Oe,nullBodyStatus:He,safeMethodsSet:Ge,requestBodyHeader:Ve,subresourceSet:qe,DOMException:Ye}=p(87326);const{kHeadersList:je}=p(36443);const Je=p(24434);const{Readable:We,pipeline:ze}=p(2203);const{addAbortListener:$e,isErrored:Ke,isReadable:Xe,nodeMajor:Ze,nodeMinor:At}=p(3440);const{dataURLProcessor:mt,serializeAMimeType:Et}=p(94322);const{TransformStream:Ct}=p(63774);const{getGlobalDispatcher:yt}=p(32581);const{webidl:It}=p(74222);const{STATUS_CODES:Bt}=p(58611);const Qt=["GET","HEAD"];let bt;let wt=globalThis.ReadableStream;class Fetch extends Je{constructor(i){super();this.dispatcher=i;this.connection=null;this.dump=false;this.state="ongoing";this.setMaxListeners(21)}terminate(i){if(this.state!=="ongoing"){return}this.state="terminated";this.connection?.destroy(i);this.emit("terminated",i)}abort(i){if(this.state!=="ongoing"){return}this.state="aborted";if(!i){i=new Ye("The operation was aborted.","AbortError")}this.serializedAbortReason=i;this.connection?.destroy(i);this.emit("terminated",i)}}function fetch(i,d={}){It.argumentLengthCheck(arguments,1,{header:"globalThis.fetch"});const p=Be();let V;try{V=new ne(i,d)}catch(i){p.reject(i);return p.promise}const K=V[Fe];if(V.signal.aborted){abortFetch(p,K,null,V.signal.reason);return p.promise}const ee=K.client.globalObject;if(ee?.constructor?.name==="ServiceWorkerGlobalScope"){K.serviceWorkers="none"}let te=null;const re=null;let se=false;let ie=null;$e(V.signal,(()=>{se=true;Me(ie!=null);ie.abort(V.signal.reason);abortFetch(p,K,te,V.signal.reason)}));const handleFetchDone=i=>finalizeAndReportTiming(i,"fetch");const processResponse=i=>{if(se){return Promise.resolve()}if(i.aborted){abortFetch(p,K,te,ie.serializedAbortReason);return Promise.resolve()}if(i.type==="error"){p.reject(Object.assign(new TypeError("fetch failed"),{cause:i.error}));return Promise.resolve()}te=new v;te[Fe]=i;te[_e]=re;te[Pe][je]=i.headersList;te[Pe][Le]="immutable";te[Pe][_e]=re;p.resolve(te)};ie=fetching({request:K,processResponseEndOfBody:handleFetchDone,processResponse:processResponse,dispatcher:d.dispatcher??yt()});return p.promise}function finalizeAndReportTiming(i,d="other"){if(i.type==="error"&&i.aborted){return}if(!i.urlList?.length){return}const p=i.urlList[0];let v=i.timingInfo;let V=i.cacheState;if(!De(p)){return}if(v===null){return}if(!i.timingAllowPassed){v=pe({startTime:v.startTime});V=""}v.endTime=Ie();i.timingInfo=v;markResourceTiming(v,p,d,globalThis,V)}function markResourceTiming(i,d,p,v,V){if(Ze>18||Ze===18&&At>=2){performance.markResourceTiming(i,d.href,p,v,V)}}function abortFetch(i,d,p,v){if(!v){v=new Ye("The operation was aborted.","AbortError")}i.reject(v);if(d.body!=null&&Xe(d.body?.stream)){d.body.stream.cancel(v).catch((i=>{if(i.code==="ERR_INVALID_STATE"){return}throw i}))}if(p==null){return}const V=p[Fe];if(V.body!=null&&Xe(V.body?.stream)){V.body.stream.cancel(v).catch((i=>{if(i.code==="ERR_INVALID_STATE"){return}throw i}))}}function fetching({request:i,processRequestBodyChunkLength:d,processRequestEndOfBody:p,processResponse:v,processResponseEndOfBody:V,processResponseConsumeBody:K,useParallelQueue:ee=false,dispatcher:te}){let re=null;let ne=false;if(i.client!=null){re=i.client.globalObject;ne=i.client.crossOriginIsolatedCapability}const se=Ie(ne);const ie=pe({startTime:se});const oe={controller:new Fetch(te),request:i,timingInfo:ie,processRequestBodyChunkLength:d,processRequestEndOfBody:p,processResponse:v,processResponseConsumeBody:K,processResponseEndOfBody:V,taskDestination:re,crossOriginIsolatedCapability:ne};Me(!i.body||i.body.stream);if(i.window==="client"){i.window=i.client?.globalObject?.constructor?.name==="Window"?i.client:"no-window"}if(i.origin==="client"){i.origin=i.client?.origin}if(i.policyContainer==="client"){if(i.client!=null){i.policyContainer=Ae(i.client.policyContainer)}else{i.policyContainer=ae()}}if(!i.headersList.contains("accept")){const d="*/*";i.headersList.append("accept",d)}if(!i.headersList.contains("accept-language")){i.headersList.append("accept-language","*")}if(i.priority===null){}if(qe.has(i.destination)){}mainFetch(oe).catch((i=>{oe.controller.terminate(i)}));return oe.controller}async function mainFetch(i,d=false){const p=i.request;let v=null;if(p.localURLsOnly&&!Ne(he(p))){v=V("local URLs only")}ge(p);if(ce(p)==="blocked"){v=V("bad port")}if(p.referrerPolicy===""){p.referrerPolicy=p.policyContainer.referrerPolicy}if(p.referrer!=="no-referrer"){p.referrer=ye(p)}if(v===null){v=await(async()=>{const d=he(p);if(be(d,p.url)&&p.responseTainting==="basic"||d.protocol==="data:"||(p.mode==="navigate"||p.mode==="websocket")){p.responseTainting="basic";return await schemeFetch(i)}if(p.mode==="same-origin"){return V('request mode cannot be "same-origin"')}if(p.mode==="no-cors"){if(p.redirect!=="follow"){return V('redirect mode cannot be "follow" for "no-cors" request')}p.responseTainting="opaque";return await schemeFetch(i)}if(!De(he(p))){return V("URL scheme must be a HTTP(S) scheme")}p.responseTainting="cors";return await httpFetch(i)})()}if(d){return v}if(v.status!==0&&!v.internalResponse){if(p.responseTainting==="cors"){}if(p.responseTainting==="basic"){v=ee(v,"basic")}else if(p.responseTainting==="cors"){v=ee(v,"cors")}else if(p.responseTainting==="opaque"){v=ee(v,"opaque")}else{Me(false)}}let K=v.status===0?v:v.internalResponse;if(K.urlList.length===0){K.urlList.push(...p.urlList)}if(!p.timingAllowFailed){v.timingAllowPassed=true}if(v.type==="opaque"&&K.status===206&&K.rangeRequested&&!p.headers.contains("range")){v=K=V()}if(v.status!==0&&(p.method==="HEAD"||p.method==="CONNECT"||He.includes(K.status))){K.body=null;i.controller.dump=true}if(p.integrity){const processBodyError=d=>fetchFinale(i,V(d));if(p.responseTainting==="opaque"||v.body==null){processBodyError(v.error);return}const processBody=d=>{if(!oe(d,p.integrity)){processBodyError("integrity mismatch");return}v.body=Ue(d)[0];fetchFinale(i,v)};await ve(v.body,processBody,processBodyError)}else{fetchFinale(i,v)}}function schemeFetch(i){if(we(i)&&i.request.redirectCount===0){return Promise.resolve(K(i))}const{request:d}=i;const{protocol:v}=he(d);switch(v){case"about:":{return Promise.resolve(V("about scheme is not supported"))}case"blob:":{if(!bt){bt=p(20181).resolveObjectURL}const i=he(d);if(i.search.length!==0){return Promise.resolve(V("NetworkError when attempting to fetch resource."))}const v=bt(i.toString());if(d.method!=="GET"||!Qe(v)){return Promise.resolve(V("invalid method"))}const K=Ue(v);const ee=K[0];const re=Te(`${ee.length}`);const ne=K[1]??"";const se=te({statusText:"OK",headersList:[["content-length",{name:"Content-Length",value:re}],["content-type",{name:"Content-Type",value:ne}]]});se.body=ee;return Promise.resolve(se)}case"data:":{const i=he(d);const p=mt(i);if(p==="failure"){return Promise.resolve(V("failed to fetch the data URL"))}const v=Et(p.mimeType);return Promise.resolve(te({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:v}]],body:Ue(p.body)[0]}))}case"file:":{return Promise.resolve(V("not implemented... yet..."))}case"http:":case"https:":{return httpFetch(i).catch((i=>V(i)))}default:{return Promise.resolve(V("unknown scheme"))}}}function finalizeResponse(i,d){i.request.done=true;if(i.processResponseDone!=null){queueMicrotask((()=>i.processResponseDone(d)))}}function fetchFinale(i,d){if(d.type==="error"){d.urlList=[i.request.urlList[0]];d.timingInfo=pe({startTime:i.timingInfo.startTime})}const processResponseEndOfBody=()=>{i.request.done=true;if(i.processResponseEndOfBody!=null){queueMicrotask((()=>i.processResponseEndOfBody(d)))}};if(i.processResponse!=null){queueMicrotask((()=>i.processResponse(d)))}if(d.body==null){processResponseEndOfBody()}else{const identityTransformAlgorithm=(i,d)=>{d.enqueue(i)};const i=new Ct({start(){},transform:identityTransformAlgorithm,flush:processResponseEndOfBody},{size(){return 1}},{size(){return 1}});d.body={stream:d.body.stream.pipeThrough(i)}}if(i.processResponseConsumeBody!=null){const processBody=p=>i.processResponseConsumeBody(d,p);const processBodyError=p=>i.processResponseConsumeBody(d,p);if(d.body==null){queueMicrotask((()=>processBody(null)))}else{return ve(d.body,processBody,processBodyError)}return Promise.resolve()}}async function httpFetch(i){const d=i.request;let p=null;let v=null;const K=i.timingInfo;if(d.serviceWorkers==="all"){}if(p===null){if(d.redirect==="follow"){d.serviceWorkers="none"}v=p=await httpNetworkOrCacheFetch(i);if(d.responseTainting==="cors"&&Ee(d,p)==="failure"){return V("cors failure")}if(le(d,p)==="failure"){d.timingAllowFailed=true}}if((d.responseTainting==="opaque"||p.type==="opaque")&&Ce(d.origin,d.client,d.destination,v)==="blocked"){return V("blocked")}if(Oe.has(v.status)){if(d.redirect!=="manual"){i.controller.connection.destroy()}if(d.redirect==="error"){p=V("unexpected redirect")}else if(d.redirect==="manual"){p=v}else if(d.redirect==="follow"){p=await httpRedirectFetch(i,p)}else{Me(false)}}p.timingInfo=K;return p}function httpRedirectFetch(i,d){const p=i.request;const v=d.internalResponse?d.internalResponse:d;let K;try{K=de(v,he(p).hash);if(K==null){return d}}catch(i){return Promise.resolve(V(i))}if(!De(K)){return Promise.resolve(V("URL scheme must be a HTTP(S) scheme"))}if(p.redirectCount===20){return Promise.resolve(V("redirect count exceeded"))}p.redirectCount+=1;if(p.mode==="cors"&&(K.username||K.password)&&!be(p,K)){return Promise.resolve(V('cross origin not allowed for request mode "cors"'))}if(p.responseTainting==="cors"&&(K.username||K.password)){return Promise.resolve(V('URL cannot contain credentials for request mode "cors"'))}if(v.status!==303&&p.body!=null&&p.body.source==null){return Promise.resolve(V())}if([301,302].includes(v.status)&&p.method==="POST"||v.status===303&&!Qt.includes(p.method)){p.method="GET";p.body=null;for(const i of Ve){p.headersList.delete(i)}}if(!be(he(p),K)){p.headersList.delete("authorization");p.headersList.delete("proxy-authorization",true);p.headersList.delete("cookie");p.headersList.delete("host")}if(p.body!=null){Me(p.body.source!=null);p.body=Ue(p.body.source)[0]}const ee=i.timingInfo;ee.redirectEndTime=ee.postRedirectStartTime=Ie(i.crossOriginIsolatedCapability);if(ee.redirectStartTime===0){ee.redirectStartTime=ee.startTime}p.urlList.push(K);fe(p,v);return mainFetch(i,true)}async function httpNetworkOrCacheFetch(i,d=false,p=false){const v=i.request;let ee=null;let te=null;let re=null;const ne=null;const ie=false;if(v.window==="no-window"&&v.redirect==="error"){ee=i;te=v}else{te=se(v);ee={...i};ee.request=te}const oe=v.credentials==="include"||v.credentials==="same-origin"&&v.responseTainting==="basic";const ae=te.body?te.body.length:null;let Ae=null;if(te.body==null&&["POST","PUT"].includes(te.method)){Ae="0"}if(ae!=null){Ae=Te(`${ae}`)}if(Ae!=null){te.headersList.append("content-length",Ae)}if(ae!=null&&te.keepalive){}if(te.referrer instanceof URL){te.headersList.append("referer",Te(te.referrer.href))}ue(te);me(te);if(!te.headersList.contains("user-agent")){te.headersList.append("user-agent",typeof esbuildDetection==="undefined"?"undici":"node")}if(te.cache==="default"&&(te.headersList.contains("if-modified-since")||te.headersList.contains("if-none-match")||te.headersList.contains("if-unmodified-since")||te.headersList.contains("if-match")||te.headersList.contains("if-range"))){te.cache="no-store"}if(te.cache==="no-cache"&&!te.preventNoCacheCacheControlHeaderModification&&!te.headersList.contains("cache-control")){te.headersList.append("cache-control","max-age=0")}if(te.cache==="no-store"||te.cache==="reload"){if(!te.headersList.contains("pragma")){te.headersList.append("pragma","no-cache")}if(!te.headersList.contains("cache-control")){te.headersList.append("cache-control","no-cache")}}if(te.headersList.contains("range")){te.headersList.append("accept-encoding","identity")}if(!te.headersList.contains("accept-encoding")){if(xe(he(te))){te.headersList.append("accept-encoding","br, gzip, deflate")}else{te.headersList.append("accept-encoding","gzip, deflate")}}te.headersList.delete("host");if(oe){}if(ne==null){te.cache="no-store"}if(te.mode!=="no-store"&&te.mode!=="reload"){}if(re==null){if(te.mode==="only-if-cached"){return V("only if cached")}const i=await httpNetworkFetch(ee,oe,p);if(!Ge.has(te.method)&&i.status>=200&&i.status<=399){}if(ie&&i.status===304){}if(re==null){re=i}}re.urlList=[...te.urlList];if(te.headersList.contains("range")){re.rangeRequested=true}re.requestIncludesCredentials=oe;if(re.status===407){if(v.window==="no-window"){return V()}if(we(i)){return K(i)}return V("proxy authentication required")}if(re.status===421&&!p&&(v.body==null||v.body.source!=null)){if(we(i)){return K(i)}i.controller.connection.destroy();re=await httpNetworkOrCacheFetch(i,d,true)}if(d){}return re}async function httpNetworkFetch(i,d=false,v=false){Me(!i.controller.connection||i.controller.connection.destroyed);i.controller.connection={abort:null,destroyed:false,destroy(i){if(!this.destroyed){this.destroyed=true;this.abort?.(i??new Ye("The operation was aborted.","AbortError"))}}};const ee=i.request;let ne=null;const se=i.timingInfo;const oe=null;if(oe==null){ee.cache="no-store"}const ae=v?"yes":"no";if(ee.mode==="websocket"){}else{}let Ae=null;if(ee.body==null&&i.processRequestEndOfBody){queueMicrotask((()=>i.processRequestEndOfBody()))}else if(ee.body!=null){const processBodyChunk=async function*(d){if(we(i)){return}yield d;i.processRequestBodyChunkLength?.(d.byteLength)};const processEndOfBody=()=>{if(we(i)){return}if(i.processRequestEndOfBody){i.processRequestEndOfBody()}};const processBodyError=d=>{if(we(i)){return}if(d.name==="AbortError"){i.controller.abort()}else{i.controller.terminate(d)}};Ae=async function*(){try{for await(const i of ee.body.stream){yield*processBodyChunk(i)}processEndOfBody()}catch(i){processBodyError(i)}}()}try{const{body:d,status:p,statusText:v,headersList:V,socket:K}=await dispatch({body:Ae});if(K){ne=te({status:p,statusText:v,headersList:V,socket:K})}else{const K=d[Symbol.asyncIterator]();i.controller.next=()=>K.next();ne=te({status:p,statusText:v,headersList:V})}}catch(d){if(d.name==="AbortError"){i.controller.connection.destroy();return K(i,d)}return V(d)}const pullAlgorithm=()=>{i.controller.resume()};const cancelAlgorithm=d=>{i.controller.abort(d)};if(!wt){wt=p(63774).ReadableStream}const ce=new wt({async start(d){i.controller.controller=d},async pull(i){await pullAlgorithm(i)},async cancel(i){await cancelAlgorithm(i)}},{highWaterMark:0,size(){return 1}});ne.body={stream:ce};i.controller.on("terminated",onAborted);i.controller.resume=async()=>{while(true){let d;let p;try{const{done:p,value:v}=await i.controller.next();if(Se(i)){break}d=p?undefined:v}catch(v){if(i.controller.ended&&!se.encodedBodySize){d=undefined}else{d=v;p=true}}if(d===undefined){ke(i.controller.controller);finalizeResponse(i,ne);return}se.decodedBodySize+=d?.byteLength??0;if(p){i.controller.terminate(d);return}i.controller.controller.enqueue(new Uint8Array(d));if(Ke(ce)){i.controller.terminate();return}if(!i.controller.controller.desiredSize){return}}};function onAborted(d){if(Se(i)){ne.aborted=true;if(Xe(ce)){i.controller.controller.error(i.controller.serializedAbortReason)}}else{if(Xe(ce)){i.controller.controller.error(new TypeError("terminated",{cause:Re(d)?d:undefined}))}}i.controller.connection.destroy()}return ne;async function dispatch({body:d}){const p=he(ee);const v=i.controller.dispatcher;return new Promise(((V,K)=>v.dispatch({path:p.pathname+p.search,origin:p.origin,method:ee.method,body:i.controller.dispatcher.isMockActive?ee.body&&(ee.body.source||ee.body.stream):d,headers:ee.headersList.entries,maxRedirections:0,upgrade:ee.mode==="websocket"?"websocket":undefined},{body:null,abort:null,onConnect(d){const{connection:p}=i.controller;if(p.destroyed){d(new Ye("The operation was aborted.","AbortError"))}else{i.controller.on("terminated",d);this.abort=p.abort=d}},onHeaders(i,d,p,v){if(i<200){return}let K=[];let te="";const ne=new re;if(Array.isArray(d)){for(let i=0;ii.trim()))}else if(p.toLowerCase()==="location"){te=v}ne[je].append(p,v)}}else{const i=Object.keys(d);for(const p of i){const i=d[p];if(p.toLowerCase()==="content-encoding"){K=i.toLowerCase().split(",").map((i=>i.trim())).reverse()}else if(p.toLowerCase()==="location"){te=i}ne[je].append(p,i)}}this.body=new We({read:p});const se=[];const oe=ee.redirect==="follow"&&te&&Oe.has(i);if(ee.method!=="HEAD"&&ee.method!=="CONNECT"&&!He.includes(i)&&!oe){for(const i of K){if(i==="x-gzip"||i==="gzip"){se.push(ie.createGunzip({flush:ie.constants.Z_SYNC_FLUSH,finishFlush:ie.constants.Z_SYNC_FLUSH}))}else if(i==="deflate"){se.push(ie.createInflate())}else if(i==="br"){se.push(ie.createBrotliDecompress())}else{se.length=0;break}}}V({status:i,statusText:v,headersList:ne[je],body:se.length?ze(this.body,...se,(()=>{})):this.body.on("error",(()=>{}))});return true},onData(d){if(i.controller.dump){return}const p=d;se.encodedBodySize+=p.byteLength;return this.body.push(p)},onComplete(){if(this.abort){i.controller.off("terminated",this.abort)}i.controller.ended=true;this.body.push(null)},onError(d){if(this.abort){i.controller.off("terminated",this.abort)}this.body?.destroy(d);i.controller.terminate(d);K(d)},onUpgrade(i,d,p){if(i!==101){return}const v=new re;for(let i=0;i{const{extractBody:v,mixinBody:V,cloneBody:K}=p(8923);const{Headers:ee,fill:te,HeadersList:re}=p(26349);const{FinalizationRegistry:ne}=p(13194)();const se=p(3440);const{isValidHTTPToken:ie,sameOrigin:oe,normalizeMethod:ae,makePolicyContainer:Ae,normalizeMethodRecord:ce}=p(15523);const{forbiddenMethodsSet:le,corsSafeListedMethodsSet:ue,referrerPolicy:de,requestRedirect:he,requestMode:fe,requestCredentials:ge,requestCache:pe,requestDuplex:me}=p(87326);const{kEnumerableProperty:Ee}=se;const{kHeaders:Ce,kSignal:ye,kState:Ie,kGuard:Be,kRealm:Qe}=p(89710);const{webidl:be}=p(74222);const{getGlobalOrigin:we}=p(75628);const{URLSerializer:Se}=p(94322);const{kHeadersList:Re,kConstruct:ve}=p(36443);const ke=p(42613);const{getMaxListeners:Te,setMaxListeners:Ne,getEventListeners:De,defaultMaxListeners:xe}=p(24434);let Fe=globalThis.TransformStream;const Pe=Symbol("abortController");const Le=new ne((({signal:i,abort:d})=>{i.removeEventListener("abort",d)}));class Request{constructor(i,d={}){if(i===ve){return}be.argumentLengthCheck(arguments,1,{header:"Request constructor"});i=be.converters.RequestInfo(i);d=be.converters.RequestInit(d);this[Qe]={settingsObject:{baseUrl:we(),get origin(){return this.baseUrl?.origin},policyContainer:Ae()}};let V=null;let K=null;const ne=this[Qe].settingsObject.baseUrl;let de=null;if(typeof i==="string"){let d;try{d=new URL(i,ne)}catch(d){throw new TypeError("Failed to parse URL from "+i,{cause:d})}if(d.username||d.password){throw new TypeError("Request cannot be constructed from a URL that includes credentials: "+i)}V=makeRequest({urlList:[d]});K="cors"}else{ke(i instanceof Request);V=i[Ie];de=i[ye]}const he=this[Qe].settingsObject.origin;let fe="client";if(V.window?.constructor?.name==="EnvironmentSettingsObject"&&oe(V.window,he)){fe=V.window}if(d.window!=null){throw new TypeError(`'window' option '${fe}' must be null`)}if("window"in d){fe="no-window"}V=makeRequest({method:V.method,headersList:V.headersList,unsafeRequest:V.unsafeRequest,client:this[Qe].settingsObject,window:fe,priority:V.priority,origin:V.origin,referrer:V.referrer,referrerPolicy:V.referrerPolicy,mode:V.mode,credentials:V.credentials,cache:V.cache,redirect:V.redirect,integrity:V.integrity,keepalive:V.keepalive,reloadNavigation:V.reloadNavigation,historyNavigation:V.historyNavigation,urlList:[...V.urlList]});const ge=Object.keys(d).length!==0;if(ge){if(V.mode==="navigate"){V.mode="same-origin"}V.reloadNavigation=false;V.historyNavigation=false;V.origin="client";V.referrer="client";V.referrerPolicy="";V.url=V.urlList[V.urlList.length-1];V.urlList=[V.url]}if(d.referrer!==undefined){const i=d.referrer;if(i===""){V.referrer="no-referrer"}else{let d;try{d=new URL(i,ne)}catch(d){throw new TypeError(`Referrer "${i}" is not a valid URL.`,{cause:d})}if(d.protocol==="about:"&&d.hostname==="client"||he&&!oe(d,this[Qe].settingsObject.baseUrl)){V.referrer="client"}else{V.referrer=d}}}if(d.referrerPolicy!==undefined){V.referrerPolicy=d.referrerPolicy}let pe;if(d.mode!==undefined){pe=d.mode}else{pe=K}if(pe==="navigate"){throw be.errors.exception({header:"Request constructor",message:"invalid request mode navigate."})}if(pe!=null){V.mode=pe}if(d.credentials!==undefined){V.credentials=d.credentials}if(d.cache!==undefined){V.cache=d.cache}if(V.cache==="only-if-cached"&&V.mode!=="same-origin"){throw new TypeError("'only-if-cached' can be set only with 'same-origin' mode")}if(d.redirect!==undefined){V.redirect=d.redirect}if(d.integrity!=null){V.integrity=String(d.integrity)}if(d.keepalive!==undefined){V.keepalive=Boolean(d.keepalive)}if(d.method!==undefined){let i=d.method;if(!ie(i)){throw new TypeError(`'${i}' is not a valid HTTP method.`)}if(le.has(i.toUpperCase())){throw new TypeError(`'${i}' HTTP method is unsupported.`)}i=ce[i]??ae(i);V.method=i}if(d.signal!==undefined){de=d.signal}this[Ie]=V;const me=new AbortController;this[ye]=me.signal;this[ye][Qe]=this[Qe];if(de!=null){if(!de||typeof de.aborted!=="boolean"||typeof de.addEventListener!=="function"){throw new TypeError("Failed to construct 'Request': member signal is not of type AbortSignal.")}if(de.aborted){me.abort(de.reason)}else{this[Pe]=me;const i=new WeakRef(me);const abort=function(){const d=i.deref();if(d!==undefined){d.abort(this.reason)}};try{if(typeof Te==="function"&&Te(de)===xe){Ne(100,de)}else if(De(de,"abort").length>=xe){Ne(100,de)}}catch{}se.addAbortListener(de,abort);Le.register(me,{signal:de,abort:abort})}}this[Ce]=new ee(ve);this[Ce][Re]=V.headersList;this[Ce][Be]="request";this[Ce][Qe]=this[Qe];if(pe==="no-cors"){if(!ue.has(V.method)){throw new TypeError(`'${V.method} is unsupported in no-cors mode.`)}this[Ce][Be]="request-no-cors"}if(ge){const i=this[Ce][Re];const p=d.headers!==undefined?d.headers:new re(i);i.clear();if(p instanceof re){for(const[d,v]of p){i.append(d,v)}i.cookies=p.cookies}else{te(this[Ce],p)}}const Ee=i instanceof Request?i[Ie].body:null;if((d.body!=null||Ee!=null)&&(V.method==="GET"||V.method==="HEAD")){throw new TypeError("Request with GET/HEAD method cannot have body.")}let Se=null;if(d.body!=null){const[i,p]=v(d.body,V.keepalive);Se=i;if(p&&!this[Ce][Re].contains("content-type")){this[Ce].append("content-type",p)}}const _e=Se??Ee;if(_e!=null&&_e.source==null){if(Se!=null&&d.duplex==null){throw new TypeError("RequestInit: duplex option is required when sending a body.")}if(V.mode!=="same-origin"&&V.mode!=="cors"){throw new TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"')}V.useCORSPreflightFlag=true}let Me=_e;if(Se==null&&Ee!=null){if(se.isDisturbed(Ee.stream)||Ee.stream.locked){throw new TypeError("Cannot construct a Request with a Request object that has already been used.")}if(!Fe){Fe=p(63774).TransformStream}const i=new Fe;Ee.stream.pipeThrough(i);Me={source:Ee.source,length:Ee.length,stream:i.readable}}this[Ie].body=Me}get method(){be.brandCheck(this,Request);return this[Ie].method}get url(){be.brandCheck(this,Request);return Se(this[Ie].url)}get headers(){be.brandCheck(this,Request);return this[Ce]}get destination(){be.brandCheck(this,Request);return this[Ie].destination}get referrer(){be.brandCheck(this,Request);if(this[Ie].referrer==="no-referrer"){return""}if(this[Ie].referrer==="client"){return"about:client"}return this[Ie].referrer.toString()}get referrerPolicy(){be.brandCheck(this,Request);return this[Ie].referrerPolicy}get mode(){be.brandCheck(this,Request);return this[Ie].mode}get credentials(){return this[Ie].credentials}get cache(){be.brandCheck(this,Request);return this[Ie].cache}get redirect(){be.brandCheck(this,Request);return this[Ie].redirect}get integrity(){be.brandCheck(this,Request);return this[Ie].integrity}get keepalive(){be.brandCheck(this,Request);return this[Ie].keepalive}get isReloadNavigation(){be.brandCheck(this,Request);return this[Ie].reloadNavigation}get isHistoryNavigation(){be.brandCheck(this,Request);return this[Ie].historyNavigation}get signal(){be.brandCheck(this,Request);return this[ye]}get body(){be.brandCheck(this,Request);return this[Ie].body?this[Ie].body.stream:null}get bodyUsed(){be.brandCheck(this,Request);return!!this[Ie].body&&se.isDisturbed(this[Ie].body.stream)}get duplex(){be.brandCheck(this,Request);return"half"}clone(){be.brandCheck(this,Request);if(this.bodyUsed||this.body?.locked){throw new TypeError("unusable")}const i=cloneRequest(this[Ie]);const d=new Request(ve);d[Ie]=i;d[Qe]=this[Qe];d[Ce]=new ee(ve);d[Ce][Re]=i.headersList;d[Ce][Be]=this[Ce][Be];d[Ce][Qe]=this[Ce][Qe];const p=new AbortController;if(this.signal.aborted){p.abort(this.signal.reason)}else{se.addAbortListener(this.signal,(()=>{p.abort(this.signal.reason)}))}d[ye]=p.signal;return d}}V(Request);function makeRequest(i){const d={method:"GET",localURLsOnly:false,unsafeRequest:false,body:null,client:null,reservedClient:null,replacesClientId:"",window:"client",keepalive:false,serviceWorkers:"all",initiator:"",destination:"",priority:null,origin:"client",policyContainer:"client",referrer:"client",referrerPolicy:"",mode:"no-cors",useCORSPreflightFlag:false,credentials:"same-origin",useCredentials:false,cache:"default",redirect:"follow",integrity:"",cryptoGraphicsNonceMetadata:"",parserMetadata:"",reloadNavigation:false,historyNavigation:false,userActivation:false,taintedOrigin:false,redirectCount:0,responseTainting:"basic",preventNoCacheCacheControlHeaderModification:false,done:false,timingAllowFailed:false,...i,headersList:i.headersList?new re(i.headersList):new re};d.url=d.urlList[0];return d}function cloneRequest(i){const d=makeRequest({...i,body:null});if(i.body!=null){d.body=K(i.body)}return d}Object.defineProperties(Request.prototype,{method:Ee,url:Ee,headers:Ee,redirect:Ee,clone:Ee,signal:Ee,duplex:Ee,destination:Ee,body:Ee,bodyUsed:Ee,isHistoryNavigation:Ee,isReloadNavigation:Ee,keepalive:Ee,integrity:Ee,cache:Ee,credentials:Ee,attribute:Ee,referrerPolicy:Ee,referrer:Ee,mode:Ee,[Symbol.toStringTag]:{value:"Request",configurable:true}});be.converters.Request=be.interfaceConverter(Request);be.converters.RequestInfo=function(i){if(typeof i==="string"){return be.converters.USVString(i)}if(i instanceof Request){return be.converters.Request(i)}return be.converters.USVString(i)};be.converters.AbortSignal=be.interfaceConverter(AbortSignal);be.converters.RequestInit=be.dictionaryConverter([{key:"method",converter:be.converters.ByteString},{key:"headers",converter:be.converters.HeadersInit},{key:"body",converter:be.nullableConverter(be.converters.BodyInit)},{key:"referrer",converter:be.converters.USVString},{key:"referrerPolicy",converter:be.converters.DOMString,allowedValues:de},{key:"mode",converter:be.converters.DOMString,allowedValues:fe},{key:"credentials",converter:be.converters.DOMString,allowedValues:ge},{key:"cache",converter:be.converters.DOMString,allowedValues:pe},{key:"redirect",converter:be.converters.DOMString,allowedValues:he},{key:"integrity",converter:be.converters.DOMString},{key:"keepalive",converter:be.converters.boolean},{key:"signal",converter:be.nullableConverter((i=>be.converters.AbortSignal(i,{strict:false})))},{key:"window",converter:be.converters.any},{key:"duplex",converter:be.converters.DOMString,allowedValues:me}]);i.exports={Request:Request,makeRequest:makeRequest}},48676:(i,d,p)=>{const{Headers:v,HeadersList:V,fill:K}=p(26349);const{extractBody:ee,cloneBody:te,mixinBody:re}=p(8923);const ne=p(3440);const{kEnumerableProperty:se}=ne;const{isValidReasonPhrase:ie,isCancelled:oe,isAborted:ae,isBlobLike:Ae,serializeJavascriptValueToJSONString:ce,isErrorLike:le,isomorphicEncode:ue}=p(15523);const{redirectStatusSet:de,nullBodyStatus:he,DOMException:fe}=p(87326);const{kState:ge,kHeaders:pe,kGuard:me,kRealm:Ee}=p(89710);const{webidl:Ce}=p(74222);const{FormData:ye}=p(43073);const{getGlobalOrigin:Ie}=p(75628);const{URLSerializer:Be}=p(94322);const{kHeadersList:Qe,kConstruct:be}=p(36443);const we=p(42613);const{types:Se}=p(39023);const Re=globalThis.ReadableStream||p(63774).ReadableStream;const ve=new TextEncoder("utf-8");class Response{static error(){const i={settingsObject:{}};const d=new Response;d[ge]=makeNetworkError();d[Ee]=i;d[pe][Qe]=d[ge].headersList;d[pe][me]="immutable";d[pe][Ee]=i;return d}static json(i,d={}){Ce.argumentLengthCheck(arguments,1,{header:"Response.json"});if(d!==null){d=Ce.converters.ResponseInit(d)}const p=ve.encode(ce(i));const v=ee(p);const V={settingsObject:{}};const K=new Response;K[Ee]=V;K[pe][me]="response";K[pe][Ee]=V;initializeResponse(K,d,{body:v[0],type:"application/json"});return K}static redirect(i,d=302){const p={settingsObject:{}};Ce.argumentLengthCheck(arguments,1,{header:"Response.redirect"});i=Ce.converters.USVString(i);d=Ce.converters["unsigned short"](d);let v;try{v=new URL(i,Ie())}catch(d){throw Object.assign(new TypeError("Failed to parse URL from "+i),{cause:d})}if(!de.has(d)){throw new RangeError("Invalid status code "+d)}const V=new Response;V[Ee]=p;V[pe][me]="immutable";V[pe][Ee]=p;V[ge].status=d;const K=ue(Be(v));V[ge].headersList.append("location",K);return V}constructor(i=null,d={}){if(i!==null){i=Ce.converters.BodyInit(i)}d=Ce.converters.ResponseInit(d);this[Ee]={settingsObject:{}};this[ge]=makeResponse({});this[pe]=new v(be);this[pe][me]="response";this[pe][Qe]=this[ge].headersList;this[pe][Ee]=this[Ee];let p=null;if(i!=null){const[d,v]=ee(i);p={body:d,type:v}}initializeResponse(this,d,p)}get type(){Ce.brandCheck(this,Response);return this[ge].type}get url(){Ce.brandCheck(this,Response);const i=this[ge].urlList;const d=i[i.length-1]??null;if(d===null){return""}return Be(d,true)}get redirected(){Ce.brandCheck(this,Response);return this[ge].urlList.length>1}get status(){Ce.brandCheck(this,Response);return this[ge].status}get ok(){Ce.brandCheck(this,Response);return this[ge].status>=200&&this[ge].status<=299}get statusText(){Ce.brandCheck(this,Response);return this[ge].statusText}get headers(){Ce.brandCheck(this,Response);return this[pe]}get body(){Ce.brandCheck(this,Response);return this[ge].body?this[ge].body.stream:null}get bodyUsed(){Ce.brandCheck(this,Response);return!!this[ge].body&&ne.isDisturbed(this[ge].body.stream)}clone(){Ce.brandCheck(this,Response);if(this.bodyUsed||this.body&&this.body.locked){throw Ce.errors.exception({header:"Response.clone",message:"Body has already been consumed."})}const i=cloneResponse(this[ge]);const d=new Response;d[ge]=i;d[Ee]=this[Ee];d[pe][Qe]=i.headersList;d[pe][me]=this[pe][me];d[pe][Ee]=this[pe][Ee];return d}}re(Response);Object.defineProperties(Response.prototype,{type:se,url:se,status:se,ok:se,redirected:se,statusText:se,headers:se,clone:se,body:se,bodyUsed:se,[Symbol.toStringTag]:{value:"Response",configurable:true}});Object.defineProperties(Response,{json:se,redirect:se,error:se});function cloneResponse(i){if(i.internalResponse){return filterResponse(cloneResponse(i.internalResponse),i.type)}const d=makeResponse({...i,body:null});if(i.body!=null){d.body=te(i.body)}return d}function makeResponse(i){return{aborted:false,rangeRequested:false,timingAllowPassed:false,requestIncludesCredentials:false,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...i,headersList:i.headersList?new V(i.headersList):new V,urlList:i.urlList?[...i.urlList]:[]}}function makeNetworkError(i){const d=le(i);return makeResponse({type:"error",status:0,error:d?i:new Error(i?String(i):i),aborted:i&&i.name==="AbortError"})}function makeFilteredResponse(i,d){d={internalResponse:i,...d};return new Proxy(i,{get(i,p){return p in d?d[p]:i[p]},set(i,p,v){we(!(p in d));i[p]=v;return true}})}function filterResponse(i,d){if(d==="basic"){return makeFilteredResponse(i,{type:"basic",headersList:i.headersList})}else if(d==="cors"){return makeFilteredResponse(i,{type:"cors",headersList:i.headersList})}else if(d==="opaque"){return makeFilteredResponse(i,{type:"opaque",urlList:Object.freeze([]),status:0,statusText:"",body:null})}else if(d==="opaqueredirect"){return makeFilteredResponse(i,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null})}else{we(false)}}function makeAppropriateNetworkError(i,d=null){we(oe(i));return ae(i)?makeNetworkError(Object.assign(new fe("The operation was aborted.","AbortError"),{cause:d})):makeNetworkError(Object.assign(new fe("Request was cancelled."),{cause:d}))}function initializeResponse(i,d,p){if(d.status!==null&&(d.status<200||d.status>599)){throw new RangeError('init["status"] must be in the range of 200 to 599, inclusive.')}if("statusText"in d&&d.statusText!=null){if(!ie(String(d.statusText))){throw new TypeError("Invalid statusText")}}if("status"in d&&d.status!=null){i[ge].status=d.status}if("statusText"in d&&d.statusText!=null){i[ge].statusText=d.statusText}if("headers"in d&&d.headers!=null){K(i[pe],d.headers)}if(p){if(he.includes(i.status)){throw Ce.errors.exception({header:"Response constructor",message:"Invalid response status code "+i.status})}i[ge].body=p.body;if(p.type!=null&&!i[ge].headersList.contains("Content-Type")){i[ge].headersList.append("content-type",p.type)}}}Ce.converters.ReadableStream=Ce.interfaceConverter(Re);Ce.converters.FormData=Ce.interfaceConverter(ye);Ce.converters.URLSearchParams=Ce.interfaceConverter(URLSearchParams);Ce.converters.XMLHttpRequestBodyInit=function(i){if(typeof i==="string"){return Ce.converters.USVString(i)}if(Ae(i)){return Ce.converters.Blob(i,{strict:false})}if(Se.isArrayBuffer(i)||Se.isTypedArray(i)||Se.isDataView(i)){return Ce.converters.BufferSource(i)}if(ne.isFormDataLike(i)){return Ce.converters.FormData(i,{strict:false})}if(i instanceof URLSearchParams){return Ce.converters.URLSearchParams(i)}return Ce.converters.DOMString(i)};Ce.converters.BodyInit=function(i){if(i instanceof Re){return Ce.converters.ReadableStream(i)}if(i?.[Symbol.asyncIterator]){return i}return Ce.converters.XMLHttpRequestBodyInit(i)};Ce.converters.ResponseInit=Ce.dictionaryConverter([{key:"status",converter:Ce.converters["unsigned short"],defaultValue:200},{key:"statusText",converter:Ce.converters.ByteString,defaultValue:""},{key:"headers",converter:Ce.converters.HeadersInit}]);i.exports={makeNetworkError:makeNetworkError,makeResponse:makeResponse,makeAppropriateNetworkError:makeAppropriateNetworkError,filterResponse:filterResponse,Response:Response,cloneResponse:cloneResponse}},89710:i=>{i.exports={kUrl:Symbol("url"),kHeaders:Symbol("headers"),kSignal:Symbol("signal"),kState:Symbol("state"),kGuard:Symbol("guard"),kRealm:Symbol("realm")}},15523:(i,d,p)=>{const{redirectStatusSet:v,referrerPolicySet:V,badPortsSet:K}=p(87326);const{getGlobalOrigin:ee}=p(75628);const{performance:te}=p(82987);const{isBlobLike:re,toUSVString:ne,ReadableStreamFrom:se}=p(3440);const ie=p(42613);const{isUint8Array:oe}=p(98253);let ae=[];let Ae;try{Ae=p(76982);const i=["sha256","sha384","sha512"];ae=Ae.getHashes().filter((d=>i.includes(d)))}catch{}function responseURL(i){const d=i.urlList;const p=d.length;return p===0?null:d[p-1].toString()}function responseLocationURL(i,d){if(!v.has(i.status)){return null}let p=i.headersList.get("location");if(p!==null&&isValidHeaderValue(p)){p=new URL(p,responseURL(i))}if(p&&!p.hash){p.hash=d}return p}function requestCurrentURL(i){return i.urlList[i.urlList.length-1]}function requestBadPort(i){const d=requestCurrentURL(i);if(urlIsHttpHttpsScheme(d)&&K.has(d.port)){return"blocked"}return"allowed"}function isErrorLike(i){return i instanceof Error||(i?.constructor?.name==="Error"||i?.constructor?.name==="DOMException")}function isValidReasonPhrase(i){for(let d=0;d=32&&p<=126||p>=128&&p<=255)){return false}}return true}function isTokenCharCode(i){switch(i){case 34:case 40:case 41:case 44:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 123:case 125:return false;default:return i>=33&&i<=126}}function isValidHTTPToken(i){if(i.length===0){return false}for(let d=0;d0){for(let i=v.length;i!==0;i--){const d=v[i-1].trim();if(V.has(d)){K=d;break}}}if(K!==""){i.referrerPolicy=K}}function crossOriginResourcePolicyCheck(){return"allowed"}function corsCheck(){return"success"}function TAOCheck(){return"success"}function appendFetchMetadata(i){let d=null;d=i.mode;i.headersList.set("sec-fetch-mode",d)}function appendRequestOriginHeader(i){let d=i.origin;if(i.responseTainting==="cors"||i.mode==="websocket"){if(d){i.headersList.append("origin",d)}}else if(i.method!=="GET"&&i.method!=="HEAD"){switch(i.referrerPolicy){case"no-referrer":d=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":if(i.origin&&urlHasHttpsScheme(i.origin)&&!urlHasHttpsScheme(requestCurrentURL(i))){d=null}break;case"same-origin":if(!sameOrigin(i,requestCurrentURL(i))){d=null}break;default:}if(d){i.headersList.append("origin",d)}}}function coarsenedSharedCurrentTime(i){return te.now()}function createOpaqueTimingInfo(i){return{startTime:i.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:i.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}}function makePolicyContainer(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function clonePolicyContainer(i){return{referrerPolicy:i.referrerPolicy}}function determineRequestsReferrer(i){const d=i.referrerPolicy;ie(d);let p=null;if(i.referrer==="client"){const i=ee();if(!i||i.origin==="null"){return"no-referrer"}p=new URL(i)}else if(i.referrer instanceof URL){p=i.referrer}let v=stripURLForReferrer(p);const V=stripURLForReferrer(p,true);if(v.toString().length>4096){v=V}const K=sameOrigin(i,v);const te=isURLPotentiallyTrustworthy(v)&&!isURLPotentiallyTrustworthy(i.url);switch(d){case"origin":return V!=null?V:stripURLForReferrer(p,true);case"unsafe-url":return v;case"same-origin":return K?V:"no-referrer";case"origin-when-cross-origin":return K?v:V;case"strict-origin-when-cross-origin":{const d=requestCurrentURL(i);if(sameOrigin(v,d)){return v}if(isURLPotentiallyTrustworthy(v)&&!isURLPotentiallyTrustworthy(d)){return"no-referrer"}return V}case"strict-origin":case"no-referrer-when-downgrade":default:return te?"no-referrer":V}}function stripURLForReferrer(i,d){ie(i instanceof URL);if(i.protocol==="file:"||i.protocol==="about:"||i.protocol==="blank:"){return"no-referrer"}i.username="";i.password="";i.hash="";if(d){i.pathname="";i.search=""}return i}function isURLPotentiallyTrustworthy(i){if(!(i instanceof URL)){return false}if(i.href==="about:blank"||i.href==="about:srcdoc"){return true}if(i.protocol==="data:")return true;if(i.protocol==="file:")return true;return isOriginPotentiallyTrustworthy(i.origin);function isOriginPotentiallyTrustworthy(i){if(i==null||i==="null")return false;const d=new URL(i);if(d.protocol==="https:"||d.protocol==="wss:"){return true}if(/^127(?:\.[0-9]+){0,2}\.[0-9]+$|^\[(?:0*:)*?:?0*1\]$/.test(d.hostname)||(d.hostname==="localhost"||d.hostname.includes("localhost."))||d.hostname.endsWith(".localhost")){return true}return false}}function bytesMatch(i,d){if(Ae===undefined){return true}const p=parseMetadata(d);if(p==="no metadata"){return true}if(p.length===0){return true}const v=getStrongestMetadata(p);const V=filterMetadataListByAlgorithm(p,v);for(const d of V){const p=d.algo;const v=d.hash;let V=Ae.createHash(p).update(i).digest("base64");if(V[V.length-1]==="="){if(V[V.length-2]==="="){V=V.slice(0,-2)}else{V=V.slice(0,-1)}}if(compareBase64Mixed(V,v)){return true}}return false}const ce=/(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\s|$)( +[!-~]*)?)?/i;function parseMetadata(i){const d=[];let p=true;for(const v of i.split(" ")){p=false;const i=ce.exec(v);if(i===null||i.groups===undefined||i.groups.algo===undefined){continue}const V=i.groups.algo.toLowerCase();if(ae.includes(V)){d.push(i.groups)}}if(p===true){return"no metadata"}return d}function getStrongestMetadata(i){let d=i[0].algo;if(d[3]==="5"){return d}for(let p=1;p{i=p;d=v}));return{promise:p,resolve:i,reject:d}}function isAborted(i){return i.controller.state==="aborted"}function isCancelled(i){return i.controller.state==="aborted"||i.controller.state==="terminated"}const le={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT"};Object.setPrototypeOf(le,null);function normalizeMethod(i){return le[i.toLowerCase()]??i}function serializeJavascriptValueToJSONString(i){const d=JSON.stringify(i);if(d===undefined){throw new TypeError("Value is not JSON serializable")}ie(typeof d==="string");return d}const ue=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function makeIterator(i,d,p){const v={index:0,kind:p,target:i};const V={next(){if(Object.getPrototypeOf(this)!==V){throw new TypeError(`'next' called on an object that does not implement interface ${d} Iterator.`)}const{index:i,kind:p,target:K}=v;const ee=K();const te=ee.length;if(i>=te){return{value:undefined,done:true}}const re=ee[i];v.index=i+1;return iteratorResult(re,p)},[Symbol.toStringTag]:`${d} Iterator`};Object.setPrototypeOf(V,ue);return Object.setPrototypeOf({},V)}function iteratorResult(i,d){let p;switch(d){case"key":{p=i[0];break}case"value":{p=i[1];break}case"key+value":{p=i;break}}return{value:p,done:false}}async function fullyReadBody(i,d,p){const v=d;const V=p;let K;try{K=i.stream.getReader()}catch(i){V(i);return}try{const i=await readAllBytes(K);v(i)}catch(i){V(i)}}let de=globalThis.ReadableStream;function isReadableStreamLike(i){if(!de){de=p(63774).ReadableStream}return i instanceof de||i[Symbol.toStringTag]==="ReadableStream"&&typeof i.tee==="function"}const he=65535;function isomorphicDecode(i){if(i.lengthi+String.fromCharCode(d)),"")}function readableStreamClose(i){try{i.close()}catch(i){if(!i.message.includes("Controller is already closed")){throw i}}}function isomorphicEncode(i){for(let d=0;dObject.prototype.hasOwnProperty.call(i,d));i.exports={isAborted:isAborted,isCancelled:isCancelled,createDeferredPromise:createDeferredPromise,ReadableStreamFrom:se,toUSVString:ne,tryUpgradeRequestToAPotentiallyTrustworthyURL:tryUpgradeRequestToAPotentiallyTrustworthyURL,coarsenedSharedCurrentTime:coarsenedSharedCurrentTime,determineRequestsReferrer:determineRequestsReferrer,makePolicyContainer:makePolicyContainer,clonePolicyContainer:clonePolicyContainer,appendFetchMetadata:appendFetchMetadata,appendRequestOriginHeader:appendRequestOriginHeader,TAOCheck:TAOCheck,corsCheck:corsCheck,crossOriginResourcePolicyCheck:crossOriginResourcePolicyCheck,createOpaqueTimingInfo:createOpaqueTimingInfo,setRequestReferrerPolicyOnRedirect:setRequestReferrerPolicyOnRedirect,isValidHTTPToken:isValidHTTPToken,requestBadPort:requestBadPort,requestCurrentURL:requestCurrentURL,responseURL:responseURL,responseLocationURL:responseLocationURL,isBlobLike:re,isURLPotentiallyTrustworthy:isURLPotentiallyTrustworthy,isValidReasonPhrase:isValidReasonPhrase,sameOrigin:sameOrigin,normalizeMethod:normalizeMethod,serializeJavascriptValueToJSONString:serializeJavascriptValueToJSONString,makeIterator:makeIterator,isValidHeaderName:isValidHeaderName,isValidHeaderValue:isValidHeaderValue,hasOwn:fe,isErrorLike:isErrorLike,fullyReadBody:fullyReadBody,bytesMatch:bytesMatch,isReadableStreamLike:isReadableStreamLike,readableStreamClose:readableStreamClose,isomorphicEncode:isomorphicEncode,isomorphicDecode:isomorphicDecode,urlIsLocal:urlIsLocal,urlHasHttpsScheme:urlHasHttpsScheme,urlIsHttpHttpsScheme:urlIsHttpHttpsScheme,readAllBytes:readAllBytes,normalizeMethodRecord:le,parseMetadata:parseMetadata}},74222:(i,d,p)=>{const{types:v}=p(39023);const{hasOwn:V,toUSVString:K}=p(15523);const ee={};ee.converters={};ee.util={};ee.errors={};ee.errors.exception=function(i){return new TypeError(`${i.header}: ${i.message}`)};ee.errors.conversionFailed=function(i){const d=i.types.length===1?"":" one of";const p=`${i.argument} could not be converted to`+`${d}: ${i.types.join(", ")}.`;return ee.errors.exception({header:i.prefix,message:p})};ee.errors.invalidArgument=function(i){return ee.errors.exception({header:i.prefix,message:`"${i.value}" is an invalid ${i.type}.`})};ee.brandCheck=function(i,d,p=undefined){if(p?.strict!==false&&!(i instanceof d)){throw new TypeError("Illegal invocation")}else{return i?.[Symbol.toStringTag]===d.prototype[Symbol.toStringTag]}};ee.argumentLengthCheck=function({length:i},d,p){if(iV){throw ee.errors.exception({header:"Integer conversion",message:`Value must be between ${K}-${V}, got ${te}.`})}return te}if(!Number.isNaN(te)&&v.clamp===true){te=Math.min(Math.max(te,K),V);if(Math.floor(te)%2===0){te=Math.floor(te)}else{te=Math.ceil(te)}return te}if(Number.isNaN(te)||te===0&&Object.is(0,te)||te===Number.POSITIVE_INFINITY||te===Number.NEGATIVE_INFINITY){return 0}te=ee.util.IntegerPart(te);te=te%Math.pow(2,d);if(p==="signed"&&te>=Math.pow(2,d)-1){return te-Math.pow(2,d)}return te};ee.util.IntegerPart=function(i){const d=Math.floor(Math.abs(i));if(i<0){return-1*d}return d};ee.sequenceConverter=function(i){return d=>{if(ee.util.Type(d)!=="Object"){throw ee.errors.exception({header:"Sequence",message:`Value of type ${ee.util.Type(d)} is not an Object.`})}const p=d?.[Symbol.iterator]?.();const v=[];if(p===undefined||typeof p.next!=="function"){throw ee.errors.exception({header:"Sequence",message:"Object is not an iterator."})}while(true){const{done:d,value:V}=p.next();if(d){break}v.push(i(V))}return v}};ee.recordConverter=function(i,d){return p=>{if(ee.util.Type(p)!=="Object"){throw ee.errors.exception({header:"Record",message:`Value of type ${ee.util.Type(p)} is not an Object.`})}const V={};if(!v.isProxy(p)){const v=Object.keys(p);for(const K of v){const v=i(K);const ee=d(p[K]);V[v]=ee}return V}const K=Reflect.ownKeys(p);for(const v of K){const K=Reflect.getOwnPropertyDescriptor(p,v);if(K?.enumerable){const K=i(v);const ee=d(p[v]);V[K]=ee}}return V}};ee.interfaceConverter=function(i){return(d,p={})=>{if(p.strict!==false&&!(d instanceof i)){throw ee.errors.exception({header:i.name,message:`Expected ${d} to be an instance of ${i.name}.`})}return d}};ee.dictionaryConverter=function(i){return d=>{const p=ee.util.Type(d);const v={};if(p==="Null"||p==="Undefined"){return v}else if(p!=="Object"){throw ee.errors.exception({header:"Dictionary",message:`Expected ${d} to be one of: Null, Undefined, Object.`})}for(const p of i){const{key:i,defaultValue:K,required:te,converter:re}=p;if(te===true){if(!V(d,i)){throw ee.errors.exception({header:"Dictionary",message:`Missing required key "${i}".`})}}let ne=d[i];const se=V(p,"defaultValue");if(se&&ne!==null){ne=ne??K}if(te||se||ne!==undefined){ne=re(ne);if(p.allowedValues&&!p.allowedValues.includes(ne)){throw ee.errors.exception({header:"Dictionary",message:`${ne} is not an accepted type. Expected one of ${p.allowedValues.join(", ")}.`})}v[i]=ne}}return v}};ee.nullableConverter=function(i){return d=>{if(d===null){return d}return i(d)}};ee.converters.DOMString=function(i,d={}){if(i===null&&d.legacyNullToEmptyString){return""}if(typeof i==="symbol"){throw new TypeError("Could not convert argument of type symbol to string.")}return String(i)};ee.converters.ByteString=function(i){const d=ee.converters.DOMString(i);for(let i=0;i255){throw new TypeError("Cannot convert argument to a ByteString because the character at "+`index ${i} has a value of ${d.charCodeAt(i)} which is greater than 255.`)}}return d};ee.converters.USVString=K;ee.converters.boolean=function(i){const d=Boolean(i);return d};ee.converters.any=function(i){return i};ee.converters["long long"]=function(i){const d=ee.util.ConvertToInt(i,64,"signed");return d};ee.converters["unsigned long long"]=function(i){const d=ee.util.ConvertToInt(i,64,"unsigned");return d};ee.converters["unsigned long"]=function(i){const d=ee.util.ConvertToInt(i,32,"unsigned");return d};ee.converters["unsigned short"]=function(i,d){const p=ee.util.ConvertToInt(i,16,"unsigned",d);return p};ee.converters.ArrayBuffer=function(i,d={}){if(ee.util.Type(i)!=="Object"||!v.isAnyArrayBuffer(i)){throw ee.errors.conversionFailed({prefix:`${i}`,argument:`${i}`,types:["ArrayBuffer"]})}if(d.allowShared===false&&v.isSharedArrayBuffer(i)){throw ee.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return i};ee.converters.TypedArray=function(i,d,p={}){if(ee.util.Type(i)!=="Object"||!v.isTypedArray(i)||i.constructor.name!==d.name){throw ee.errors.conversionFailed({prefix:`${d.name}`,argument:`${i}`,types:[d.name]})}if(p.allowShared===false&&v.isSharedArrayBuffer(i.buffer)){throw ee.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return i};ee.converters.DataView=function(i,d={}){if(ee.util.Type(i)!=="Object"||!v.isDataView(i)){throw ee.errors.exception({header:"DataView",message:"Object is not a DataView."})}if(d.allowShared===false&&v.isSharedArrayBuffer(i.buffer)){throw ee.errors.exception({header:"ArrayBuffer",message:"SharedArrayBuffer is not allowed."})}return i};ee.converters.BufferSource=function(i,d={}){if(v.isAnyArrayBuffer(i)){return ee.converters.ArrayBuffer(i,d)}if(v.isTypedArray(i)){return ee.converters.TypedArray(i,i.constructor)}if(v.isDataView(i)){return ee.converters.DataView(i,d)}throw new TypeError(`Could not convert ${i} to a BufferSource.`)};ee.converters["sequence"]=ee.sequenceConverter(ee.converters.ByteString);ee.converters["sequence>"]=ee.sequenceConverter(ee.converters["sequence"]);ee.converters["record"]=ee.recordConverter(ee.converters.ByteString,ee.converters.ByteString);i.exports={webidl:ee}},40396:i=>{function getEncoding(i){if(!i){return"failure"}switch(i.trim().toLowerCase()){case"unicode-1-1-utf-8":case"unicode11utf8":case"unicode20utf8":case"utf-8":case"utf8":case"x-unicode20utf8":return"UTF-8";case"866":case"cp866":case"csibm866":case"ibm866":return"IBM866";case"csisolatin2":case"iso-8859-2":case"iso-ir-101":case"iso8859-2":case"iso88592":case"iso_8859-2":case"iso_8859-2:1987":case"l2":case"latin2":return"ISO-8859-2";case"csisolatin3":case"iso-8859-3":case"iso-ir-109":case"iso8859-3":case"iso88593":case"iso_8859-3":case"iso_8859-3:1988":case"l3":case"latin3":return"ISO-8859-3";case"csisolatin4":case"iso-8859-4":case"iso-ir-110":case"iso8859-4":case"iso88594":case"iso_8859-4":case"iso_8859-4:1988":case"l4":case"latin4":return"ISO-8859-4";case"csisolatincyrillic":case"cyrillic":case"iso-8859-5":case"iso-ir-144":case"iso8859-5":case"iso88595":case"iso_8859-5":case"iso_8859-5:1988":return"ISO-8859-5";case"arabic":case"asmo-708":case"csiso88596e":case"csiso88596i":case"csisolatinarabic":case"ecma-114":case"iso-8859-6":case"iso-8859-6-e":case"iso-8859-6-i":case"iso-ir-127":case"iso8859-6":case"iso88596":case"iso_8859-6":case"iso_8859-6:1987":return"ISO-8859-6";case"csisolatingreek":case"ecma-118":case"elot_928":case"greek":case"greek8":case"iso-8859-7":case"iso-ir-126":case"iso8859-7":case"iso88597":case"iso_8859-7":case"iso_8859-7:1987":case"sun_eu_greek":return"ISO-8859-7";case"csiso88598e":case"csisolatinhebrew":case"hebrew":case"iso-8859-8":case"iso-8859-8-e":case"iso-ir-138":case"iso8859-8":case"iso88598":case"iso_8859-8":case"iso_8859-8:1988":case"visual":return"ISO-8859-8";case"csiso88598i":case"iso-8859-8-i":case"logical":return"ISO-8859-8-I";case"csisolatin6":case"iso-8859-10":case"iso-ir-157":case"iso8859-10":case"iso885910":case"l6":case"latin6":return"ISO-8859-10";case"iso-8859-13":case"iso8859-13":case"iso885913":return"ISO-8859-13";case"iso-8859-14":case"iso8859-14":case"iso885914":return"ISO-8859-14";case"csisolatin9":case"iso-8859-15":case"iso8859-15":case"iso885915":case"iso_8859-15":case"l9":return"ISO-8859-15";case"iso-8859-16":return"ISO-8859-16";case"cskoi8r":case"koi":case"koi8":case"koi8-r":case"koi8_r":return"KOI8-R";case"koi8-ru":case"koi8-u":return"KOI8-U";case"csmacintosh":case"mac":case"macintosh":case"x-mac-roman":return"macintosh";case"iso-8859-11":case"iso8859-11":case"iso885911":case"tis-620":case"windows-874":return"windows-874";case"cp1250":case"windows-1250":case"x-cp1250":return"windows-1250";case"cp1251":case"windows-1251":case"x-cp1251":return"windows-1251";case"ansi_x3.4-1968":case"ascii":case"cp1252":case"cp819":case"csisolatin1":case"ibm819":case"iso-8859-1":case"iso-ir-100":case"iso8859-1":case"iso88591":case"iso_8859-1":case"iso_8859-1:1987":case"l1":case"latin1":case"us-ascii":case"windows-1252":case"x-cp1252":return"windows-1252";case"cp1253":case"windows-1253":case"x-cp1253":return"windows-1253";case"cp1254":case"csisolatin5":case"iso-8859-9":case"iso-ir-148":case"iso8859-9":case"iso88599":case"iso_8859-9":case"iso_8859-9:1989":case"l5":case"latin5":case"windows-1254":case"x-cp1254":return"windows-1254";case"cp1255":case"windows-1255":case"x-cp1255":return"windows-1255";case"cp1256":case"windows-1256":case"x-cp1256":return"windows-1256";case"cp1257":case"windows-1257":case"x-cp1257":return"windows-1257";case"cp1258":case"windows-1258":case"x-cp1258":return"windows-1258";case"x-mac-cyrillic":case"x-mac-ukrainian":return"x-mac-cyrillic";case"chinese":case"csgb2312":case"csiso58gb231280":case"gb2312":case"gb_2312":case"gb_2312-80":case"gbk":case"iso-ir-58":case"x-gbk":return"GBK";case"gb18030":return"gb18030";case"big5":case"big5-hkscs":case"cn-big5":case"csbig5":case"x-x-big5":return"Big5";case"cseucpkdfmtjapanese":case"euc-jp":case"x-euc-jp":return"EUC-JP";case"csiso2022jp":case"iso-2022-jp":return"ISO-2022-JP";case"csshiftjis":case"ms932":case"ms_kanji":case"shift-jis":case"shift_jis":case"sjis":case"windows-31j":case"x-sjis":return"Shift_JIS";case"cseuckr":case"csksc56011987":case"euc-kr":case"iso-ir-149":case"korean":case"ks_c_5601-1987":case"ks_c_5601-1989":case"ksc5601":case"ksc_5601":case"windows-949":return"EUC-KR";case"csiso2022kr":case"hz-gb-2312":case"iso-2022-cn":case"iso-2022-cn-ext":case"iso-2022-kr":case"replacement":return"replacement";case"unicodefffe":case"utf-16be":return"UTF-16BE";case"csunicode":case"iso-10646-ucs-2":case"ucs-2":case"unicode":case"unicodefeff":case"utf-16":case"utf-16le":return"UTF-16LE";case"x-user-defined":return"x-user-defined";default:return"failure"}}i.exports={getEncoding:getEncoding}},82160:(i,d,p)=>{const{staticPropertyDescriptors:v,readOperation:V,fireAProgressEvent:K}=p(10165);const{kState:ee,kError:te,kResult:re,kEvents:ne,kAborted:se}=p(86812);const{webidl:ie}=p(74222);const{kEnumerableProperty:oe}=p(3440);class FileReader extends EventTarget{constructor(){super();this[ee]="empty";this[re]=null;this[te]=null;this[ne]={loadend:null,error:null,abort:null,load:null,progress:null,loadstart:null}}readAsArrayBuffer(i){ie.brandCheck(this,FileReader);ie.argumentLengthCheck(arguments,1,{header:"FileReader.readAsArrayBuffer"});i=ie.converters.Blob(i,{strict:false});V(this,i,"ArrayBuffer")}readAsBinaryString(i){ie.brandCheck(this,FileReader);ie.argumentLengthCheck(arguments,1,{header:"FileReader.readAsBinaryString"});i=ie.converters.Blob(i,{strict:false});V(this,i,"BinaryString")}readAsText(i,d=undefined){ie.brandCheck(this,FileReader);ie.argumentLengthCheck(arguments,1,{header:"FileReader.readAsText"});i=ie.converters.Blob(i,{strict:false});if(d!==undefined){d=ie.converters.DOMString(d)}V(this,i,"Text",d)}readAsDataURL(i){ie.brandCheck(this,FileReader);ie.argumentLengthCheck(arguments,1,{header:"FileReader.readAsDataURL"});i=ie.converters.Blob(i,{strict:false});V(this,i,"DataURL")}abort(){if(this[ee]==="empty"||this[ee]==="done"){this[re]=null;return}if(this[ee]==="loading"){this[ee]="done";this[re]=null}this[se]=true;K("abort",this);if(this[ee]!=="loading"){K("loadend",this)}}get readyState(){ie.brandCheck(this,FileReader);switch(this[ee]){case"empty":return this.EMPTY;case"loading":return this.LOADING;case"done":return this.DONE}}get result(){ie.brandCheck(this,FileReader);return this[re]}get error(){ie.brandCheck(this,FileReader);return this[te]}get onloadend(){ie.brandCheck(this,FileReader);return this[ne].loadend}set onloadend(i){ie.brandCheck(this,FileReader);if(this[ne].loadend){this.removeEventListener("loadend",this[ne].loadend)}if(typeof i==="function"){this[ne].loadend=i;this.addEventListener("loadend",i)}else{this[ne].loadend=null}}get onerror(){ie.brandCheck(this,FileReader);return this[ne].error}set onerror(i){ie.brandCheck(this,FileReader);if(this[ne].error){this.removeEventListener("error",this[ne].error)}if(typeof i==="function"){this[ne].error=i;this.addEventListener("error",i)}else{this[ne].error=null}}get onloadstart(){ie.brandCheck(this,FileReader);return this[ne].loadstart}set onloadstart(i){ie.brandCheck(this,FileReader);if(this[ne].loadstart){this.removeEventListener("loadstart",this[ne].loadstart)}if(typeof i==="function"){this[ne].loadstart=i;this.addEventListener("loadstart",i)}else{this[ne].loadstart=null}}get onprogress(){ie.brandCheck(this,FileReader);return this[ne].progress}set onprogress(i){ie.brandCheck(this,FileReader);if(this[ne].progress){this.removeEventListener("progress",this[ne].progress)}if(typeof i==="function"){this[ne].progress=i;this.addEventListener("progress",i)}else{this[ne].progress=null}}get onload(){ie.brandCheck(this,FileReader);return this[ne].load}set onload(i){ie.brandCheck(this,FileReader);if(this[ne].load){this.removeEventListener("load",this[ne].load)}if(typeof i==="function"){this[ne].load=i;this.addEventListener("load",i)}else{this[ne].load=null}}get onabort(){ie.brandCheck(this,FileReader);return this[ne].abort}set onabort(i){ie.brandCheck(this,FileReader);if(this[ne].abort){this.removeEventListener("abort",this[ne].abort)}if(typeof i==="function"){this[ne].abort=i;this.addEventListener("abort",i)}else{this[ne].abort=null}}}FileReader.EMPTY=FileReader.prototype.EMPTY=0;FileReader.LOADING=FileReader.prototype.LOADING=1;FileReader.DONE=FileReader.prototype.DONE=2;Object.defineProperties(FileReader.prototype,{EMPTY:v,LOADING:v,DONE:v,readAsArrayBuffer:oe,readAsBinaryString:oe,readAsText:oe,readAsDataURL:oe,abort:oe,readyState:oe,result:oe,error:oe,onloadstart:oe,onprogress:oe,onload:oe,onabort:oe,onerror:oe,onloadend:oe,[Symbol.toStringTag]:{value:"FileReader",writable:false,enumerable:false,configurable:true}});Object.defineProperties(FileReader,{EMPTY:v,LOADING:v,DONE:v});i.exports={FileReader:FileReader}},15976:(i,d,p)=>{const{webidl:v}=p(74222);const V=Symbol("ProgressEvent state");class ProgressEvent extends Event{constructor(i,d={}){i=v.converters.DOMString(i);d=v.converters.ProgressEventInit(d??{});super(i,d);this[V]={lengthComputable:d.lengthComputable,loaded:d.loaded,total:d.total}}get lengthComputable(){v.brandCheck(this,ProgressEvent);return this[V].lengthComputable}get loaded(){v.brandCheck(this,ProgressEvent);return this[V].loaded}get total(){v.brandCheck(this,ProgressEvent);return this[V].total}}v.converters.ProgressEventInit=v.dictionaryConverter([{key:"lengthComputable",converter:v.converters.boolean,defaultValue:false},{key:"loaded",converter:v.converters["unsigned long long"],defaultValue:0},{key:"total",converter:v.converters["unsigned long long"],defaultValue:0},{key:"bubbles",converter:v.converters.boolean,defaultValue:false},{key:"cancelable",converter:v.converters.boolean,defaultValue:false},{key:"composed",converter:v.converters.boolean,defaultValue:false}]);i.exports={ProgressEvent:ProgressEvent}},86812:i=>{i.exports={kState:Symbol("FileReader state"),kResult:Symbol("FileReader result"),kError:Symbol("FileReader error"),kLastProgressEventFired:Symbol("FileReader last progress event fired timestamp"),kEvents:Symbol("FileReader events"),kAborted:Symbol("FileReader aborted")}},10165:(i,d,p)=>{const{kState:v,kError:V,kResult:K,kAborted:ee,kLastProgressEventFired:te}=p(86812);const{ProgressEvent:re}=p(15976);const{getEncoding:ne}=p(40396);const{DOMException:se}=p(87326);const{serializeAMimeType:ie,parseMIMEType:oe}=p(94322);const{types:ae}=p(39023);const{StringDecoder:Ae}=p(13193);const{btoa:ce}=p(20181);const le={enumerable:true,writable:false,configurable:false};function readOperation(i,d,p,re){if(i[v]==="loading"){throw new se("Invalid state","InvalidStateError")}i[v]="loading";i[K]=null;i[V]=null;const ne=d.stream();const ie=ne.getReader();const oe=[];let Ae=ie.read();let ce=true;(async()=>{while(!i[ee]){try{const{done:ne,value:se}=await Ae;if(ce&&!i[ee]){queueMicrotask((()=>{fireAProgressEvent("loadstart",i)}))}ce=false;if(!ne&&ae.isUint8Array(se)){oe.push(se);if((i[te]===undefined||Date.now()-i[te]>=50)&&!i[ee]){i[te]=Date.now();queueMicrotask((()=>{fireAProgressEvent("progress",i)}))}Ae=ie.read()}else if(ne){queueMicrotask((()=>{i[v]="done";try{const v=packageData(oe,p,d.type,re);if(i[ee]){return}i[K]=v;fireAProgressEvent("load",i)}catch(d){i[V]=d;fireAProgressEvent("error",i)}if(i[v]!=="loading"){fireAProgressEvent("loadend",i)}}));break}}catch(d){if(i[ee]){return}queueMicrotask((()=>{i[v]="done";i[V]=d;fireAProgressEvent("error",i);if(i[v]!=="loading"){fireAProgressEvent("loadend",i)}}));break}}})()}function fireAProgressEvent(i,d){const p=new re(i,{bubbles:false,cancelable:false});d.dispatchEvent(p)}function packageData(i,d,p,v){switch(d){case"DataURL":{let d="data:";const v=oe(p||"application/octet-stream");if(v!=="failure"){d+=ie(v)}d+=";base64,";const V=new Ae("latin1");for(const p of i){d+=ce(V.write(p))}d+=ce(V.end());return d}case"Text":{let d="failure";if(v){d=ne(v)}if(d==="failure"&&p){const i=oe(p);if(i!=="failure"){d=ne(i.parameters.get("charset"))}}if(d==="failure"){d="UTF-8"}return decode(i,d)}case"ArrayBuffer":{const d=combineByteSequences(i);return d.buffer}case"BinaryString":{let d="";const p=new Ae("latin1");for(const v of i){d+=p.write(v)}d+=p.end();return d}}}function decode(i,d){const p=combineByteSequences(i);const v=BOMSniffing(p);let V=0;if(v!==null){d=v;V=v==="UTF-8"?3:2}const K=p.slice(V);return new TextDecoder(d).decode(K)}function BOMSniffing(i){const[d,p,v]=i;if(d===239&&p===187&&v===191){return"UTF-8"}else if(d===254&&p===255){return"UTF-16BE"}else if(d===255&&p===254){return"UTF-16LE"}return null}function combineByteSequences(i){const d=i.reduce(((i,d)=>i+d.byteLength),0);let p=0;return i.reduce(((i,d)=>{i.set(d,p);p+=d.byteLength;return i}),new Uint8Array(d))}i.exports={staticPropertyDescriptors:le,readOperation:readOperation,fireAProgressEvent:fireAProgressEvent}},32581:(i,d,p)=>{const v=Symbol.for("undici.globalDispatcher.1");const{InvalidArgumentError:V}=p(68707);const K=p(59965);if(getGlobalDispatcher()===undefined){setGlobalDispatcher(new K)}function setGlobalDispatcher(i){if(!i||typeof i.dispatch!=="function"){throw new V("Argument agent must implement Agent")}Object.defineProperty(globalThis,v,{value:i,writable:true,enumerable:false,configurable:false})}function getGlobalDispatcher(){return globalThis[v]}i.exports={setGlobalDispatcher:setGlobalDispatcher,getGlobalDispatcher:getGlobalDispatcher}},78840:i=>{i.exports=class DecoratorHandler{constructor(i){this.handler=i}onConnect(...i){return this.handler.onConnect(...i)}onError(...i){return this.handler.onError(...i)}onUpgrade(...i){return this.handler.onUpgrade(...i)}onHeaders(...i){return this.handler.onHeaders(...i)}onData(...i){return this.handler.onData(...i)}onComplete(...i){return this.handler.onComplete(...i)}onBodySent(...i){return this.handler.onBodySent(...i)}}},48299:(i,d,p)=>{const v=p(3440);const{kBodyUsed:V}=p(36443);const K=p(42613);const{InvalidArgumentError:ee}=p(68707);const te=p(24434);const re=[300,301,302,303,307,308];const ne=Symbol("body");class BodyAsyncIterable{constructor(i){this[ne]=i;this[V]=false}async*[Symbol.asyncIterator](){K(!this[V],"disturbed");this[V]=true;yield*this[ne]}}class RedirectHandler{constructor(i,d,p,re){if(d!=null&&(!Number.isInteger(d)||d<0)){throw new ee("maxRedirections must be a positive number")}v.validateHandler(re,p.method,p.upgrade);this.dispatch=i;this.location=null;this.abort=null;this.opts={...p,maxRedirections:0};this.maxRedirections=d;this.handler=re;this.history=[];if(v.isStream(this.opts.body)){if(v.bodyLength(this.opts.body)===0){this.opts.body.on("data",(function(){K(false)}))}if(typeof this.opts.body.readableDidRead!=="boolean"){this.opts.body[V]=false;te.prototype.on.call(this.opts.body,"data",(function(){this[V]=true}))}}else if(this.opts.body&&typeof this.opts.body.pipeTo==="function"){this.opts.body=new BodyAsyncIterable(this.opts.body)}else if(this.opts.body&&typeof this.opts.body!=="string"&&!ArrayBuffer.isView(this.opts.body)&&v.isIterable(this.opts.body)){this.opts.body=new BodyAsyncIterable(this.opts.body)}}onConnect(i){this.abort=i;this.handler.onConnect(i,{history:this.history})}onUpgrade(i,d,p){this.handler.onUpgrade(i,d,p)}onError(i){this.handler.onError(i)}onHeaders(i,d,p,V){this.location=this.history.length>=this.maxRedirections||v.isDisturbed(this.opts.body)?null:parseLocation(i,d);if(this.opts.origin){this.history.push(new URL(this.opts.path,this.opts.origin))}if(!this.location){return this.handler.onHeaders(i,d,p,V)}const{origin:K,pathname:ee,search:te}=v.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin)));const re=te?`${ee}${te}`:ee;this.opts.headers=cleanRequestHeaders(this.opts.headers,i===303,this.opts.origin!==K);this.opts.path=re;this.opts.origin=K;this.opts.maxRedirections=0;this.opts.query=null;if(i===303&&this.opts.method!=="HEAD"){this.opts.method="GET";this.opts.body=null}}onData(i){if(this.location){}else{return this.handler.onData(i)}}onComplete(i){if(this.location){this.location=null;this.abort=null;this.dispatch(this.opts,this)}else{this.handler.onComplete(i)}}onBodySent(i){if(this.handler.onBodySent){this.handler.onBodySent(i)}}}function parseLocation(i,d){if(re.indexOf(i)===-1){return null}for(let i=0;i{const v=p(42613);const{kRetryHandlerDefaultRetry:V}=p(36443);const{RequestRetryError:K}=p(68707);const{isDisturbed:ee,parseHeaders:te,parseRangeHeader:re}=p(3440);function calculateRetryAfterHeader(i){const d=Date.now();const p=new Date(i).getTime()-d;return p}class RetryHandler{constructor(i,d){const{retryOptions:p,...v}=i;const{retry:K,maxRetries:ee,maxTimeout:te,minTimeout:re,timeoutFactor:ne,methods:se,errorCodes:ie,retryAfter:oe,statusCodes:ae}=p??{};this.dispatch=d.dispatch;this.handler=d.handler;this.opts=v;this.abort=null;this.aborted=false;this.retryOpts={retry:K??RetryHandler[V],retryAfter:oe??true,maxTimeout:te??30*1e3,timeout:re??500,timeoutFactor:ne??2,maxRetries:ee??5,methods:se??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE"],statusCodes:ae??[500,502,503,504,429],errorCodes:ie??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE"]};this.retryCount=0;this.start=0;this.end=null;this.etag=null;this.resume=null;this.handler.onConnect((i=>{this.aborted=true;if(this.abort){this.abort(i)}else{this.reason=i}}))}onRequestSent(){if(this.handler.onRequestSent){this.handler.onRequestSent()}}onUpgrade(i,d,p){if(this.handler.onUpgrade){this.handler.onUpgrade(i,d,p)}}onConnect(i){if(this.aborted){i(this.reason)}else{this.abort=i}}onBodySent(i){if(this.handler.onBodySent)return this.handler.onBodySent(i)}static[V](i,{state:d,opts:p},v){const{statusCode:V,code:K,headers:ee}=i;const{method:te,retryOptions:re}=p;const{maxRetries:ne,timeout:se,maxTimeout:ie,timeoutFactor:oe,statusCodes:ae,errorCodes:Ae,methods:ce}=re;let{counter:le,currentTimeout:ue}=d;ue=ue!=null&&ue>0?ue:se;if(K&&K!=="UND_ERR_REQ_RETRY"&&K!=="UND_ERR_SOCKET"&&!Ae.includes(K)){v(i);return}if(Array.isArray(ce)&&!ce.includes(te)){v(i);return}if(V!=null&&Array.isArray(ae)&&!ae.includes(V)){v(i);return}if(le>ne){v(i);return}let de=ee!=null&&ee["retry-after"];if(de){de=Number(de);de=isNaN(de)?calculateRetryAfterHeader(de):de*1e3}const he=de>0?Math.min(de,ie):Math.min(ue*oe**le,ie);d.currentTimeout=he;setTimeout((()=>v(null)),he)}onHeaders(i,d,p,V){const ee=te(d);this.retryCount+=1;if(i>=300){this.abort(new K("Request failed",i,{headers:ee,count:this.retryCount}));return false}if(this.resume!=null){this.resume=null;if(i!==206){return true}const d=re(ee["content-range"]);if(!d){this.abort(new K("Content-Range mismatch",i,{headers:ee,count:this.retryCount}));return false}if(this.etag!=null&&this.etag!==ee.etag){this.abort(new K("ETag mismatch",i,{headers:ee,count:this.retryCount}));return false}const{start:V,size:te,end:ne=te}=d;v(this.start===V,"content-range mismatch");v(this.end==null||this.end===ne,"content-range mismatch");this.resume=p;return true}if(this.end==null){if(i===206){const K=re(ee["content-range"]);if(K==null){return this.handler.onHeaders(i,d,p,V)}const{start:te,size:ne,end:se=ne}=K;v(te!=null&&Number.isFinite(te)&&this.start!==te,"content-range mismatch");v(Number.isFinite(te));v(se!=null&&Number.isFinite(se)&&this.end!==se,"invalid content-length");this.start=te;this.end=se}if(this.end==null){const i=ee["content-length"];this.end=i!=null?Number(i):null}v(Number.isFinite(this.start));v(this.end==null||Number.isFinite(this.end),"invalid content-length");this.resume=p;this.etag=ee.etag!=null?ee.etag:null;return this.handler.onHeaders(i,d,p,V)}const ne=new K("Request failed",i,{headers:ee,count:this.retryCount});this.abort(ne);return false}onData(i){this.start+=i.length;return this.handler.onData(i)}onComplete(i){this.retryCount=0;return this.handler.onComplete(i)}onError(i){if(this.aborted||ee(this.opts.body)){return this.handler.onError(i)}this.retryOpts.retry(i,{state:{counter:this.retryCount++,currentTimeout:this.retryAfter},opts:{retryOptions:this.retryOpts,...this.opts}},onRetry.bind(this));function onRetry(i){if(i!=null||this.aborted||ee(this.opts.body)){return this.handler.onError(i)}if(this.start!==0){this.opts={...this.opts,headers:{...this.opts.headers,range:`bytes=${this.start}-${this.end??""}`}}}try{this.dispatch(this.opts,this)}catch(i){this.handler.onError(i)}}}}i.exports=RetryHandler},64415:(i,d,p)=>{const v=p(48299);function createRedirectInterceptor({maxRedirections:i}){return d=>function Intercept(p,V){const{maxRedirections:K=i}=p;if(!K){return d(p,V)}const ee=new v(d,K,p,V);p={...p,maxRedirections:0};return d(p,ee)}}i.exports=createRedirectInterceptor},52824:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.SPECIAL_HEADERS=d.HEADER_STATE=d.MINOR=d.MAJOR=d.CONNECTION_TOKEN_CHARS=d.HEADER_CHARS=d.TOKEN=d.STRICT_TOKEN=d.HEX=d.URL_CHAR=d.STRICT_URL_CHAR=d.USERINFO_CHARS=d.MARK=d.ALPHANUM=d.NUM=d.HEX_MAP=d.NUM_MAP=d.ALPHA=d.FINISH=d.H_METHOD_MAP=d.METHOD_MAP=d.METHODS_RTSP=d.METHODS_ICE=d.METHODS_HTTP=d.METHODS=d.LENIENT_FLAGS=d.FLAGS=d.TYPE=d.ERROR=void 0;const v=p(50172);var V;(function(i){i[i["OK"]=0]="OK";i[i["INTERNAL"]=1]="INTERNAL";i[i["STRICT"]=2]="STRICT";i[i["LF_EXPECTED"]=3]="LF_EXPECTED";i[i["UNEXPECTED_CONTENT_LENGTH"]=4]="UNEXPECTED_CONTENT_LENGTH";i[i["CLOSED_CONNECTION"]=5]="CLOSED_CONNECTION";i[i["INVALID_METHOD"]=6]="INVALID_METHOD";i[i["INVALID_URL"]=7]="INVALID_URL";i[i["INVALID_CONSTANT"]=8]="INVALID_CONSTANT";i[i["INVALID_VERSION"]=9]="INVALID_VERSION";i[i["INVALID_HEADER_TOKEN"]=10]="INVALID_HEADER_TOKEN";i[i["INVALID_CONTENT_LENGTH"]=11]="INVALID_CONTENT_LENGTH";i[i["INVALID_CHUNK_SIZE"]=12]="INVALID_CHUNK_SIZE";i[i["INVALID_STATUS"]=13]="INVALID_STATUS";i[i["INVALID_EOF_STATE"]=14]="INVALID_EOF_STATE";i[i["INVALID_TRANSFER_ENCODING"]=15]="INVALID_TRANSFER_ENCODING";i[i["CB_MESSAGE_BEGIN"]=16]="CB_MESSAGE_BEGIN";i[i["CB_HEADERS_COMPLETE"]=17]="CB_HEADERS_COMPLETE";i[i["CB_MESSAGE_COMPLETE"]=18]="CB_MESSAGE_COMPLETE";i[i["CB_CHUNK_HEADER"]=19]="CB_CHUNK_HEADER";i[i["CB_CHUNK_COMPLETE"]=20]="CB_CHUNK_COMPLETE";i[i["PAUSED"]=21]="PAUSED";i[i["PAUSED_UPGRADE"]=22]="PAUSED_UPGRADE";i[i["PAUSED_H2_UPGRADE"]=23]="PAUSED_H2_UPGRADE";i[i["USER"]=24]="USER"})(V=d.ERROR||(d.ERROR={}));var K;(function(i){i[i["BOTH"]=0]="BOTH";i[i["REQUEST"]=1]="REQUEST";i[i["RESPONSE"]=2]="RESPONSE"})(K=d.TYPE||(d.TYPE={}));var ee;(function(i){i[i["CONNECTION_KEEP_ALIVE"]=1]="CONNECTION_KEEP_ALIVE";i[i["CONNECTION_CLOSE"]=2]="CONNECTION_CLOSE";i[i["CONNECTION_UPGRADE"]=4]="CONNECTION_UPGRADE";i[i["CHUNKED"]=8]="CHUNKED";i[i["UPGRADE"]=16]="UPGRADE";i[i["CONTENT_LENGTH"]=32]="CONTENT_LENGTH";i[i["SKIPBODY"]=64]="SKIPBODY";i[i["TRAILING"]=128]="TRAILING";i[i["TRANSFER_ENCODING"]=512]="TRANSFER_ENCODING"})(ee=d.FLAGS||(d.FLAGS={}));var te;(function(i){i[i["HEADERS"]=1]="HEADERS";i[i["CHUNKED_LENGTH"]=2]="CHUNKED_LENGTH";i[i["KEEP_ALIVE"]=4]="KEEP_ALIVE"})(te=d.LENIENT_FLAGS||(d.LENIENT_FLAGS={}));var re;(function(i){i[i["DELETE"]=0]="DELETE";i[i["GET"]=1]="GET";i[i["HEAD"]=2]="HEAD";i[i["POST"]=3]="POST";i[i["PUT"]=4]="PUT";i[i["CONNECT"]=5]="CONNECT";i[i["OPTIONS"]=6]="OPTIONS";i[i["TRACE"]=7]="TRACE";i[i["COPY"]=8]="COPY";i[i["LOCK"]=9]="LOCK";i[i["MKCOL"]=10]="MKCOL";i[i["MOVE"]=11]="MOVE";i[i["PROPFIND"]=12]="PROPFIND";i[i["PROPPATCH"]=13]="PROPPATCH";i[i["SEARCH"]=14]="SEARCH";i[i["UNLOCK"]=15]="UNLOCK";i[i["BIND"]=16]="BIND";i[i["REBIND"]=17]="REBIND";i[i["UNBIND"]=18]="UNBIND";i[i["ACL"]=19]="ACL";i[i["REPORT"]=20]="REPORT";i[i["MKACTIVITY"]=21]="MKACTIVITY";i[i["CHECKOUT"]=22]="CHECKOUT";i[i["MERGE"]=23]="MERGE";i[i["M-SEARCH"]=24]="M-SEARCH";i[i["NOTIFY"]=25]="NOTIFY";i[i["SUBSCRIBE"]=26]="SUBSCRIBE";i[i["UNSUBSCRIBE"]=27]="UNSUBSCRIBE";i[i["PATCH"]=28]="PATCH";i[i["PURGE"]=29]="PURGE";i[i["MKCALENDAR"]=30]="MKCALENDAR";i[i["LINK"]=31]="LINK";i[i["UNLINK"]=32]="UNLINK";i[i["SOURCE"]=33]="SOURCE";i[i["PRI"]=34]="PRI";i[i["DESCRIBE"]=35]="DESCRIBE";i[i["ANNOUNCE"]=36]="ANNOUNCE";i[i["SETUP"]=37]="SETUP";i[i["PLAY"]=38]="PLAY";i[i["PAUSE"]=39]="PAUSE";i[i["TEARDOWN"]=40]="TEARDOWN";i[i["GET_PARAMETER"]=41]="GET_PARAMETER";i[i["SET_PARAMETER"]=42]="SET_PARAMETER";i[i["REDIRECT"]=43]="REDIRECT";i[i["RECORD"]=44]="RECORD";i[i["FLUSH"]=45]="FLUSH"})(re=d.METHODS||(d.METHODS={}));d.METHODS_HTTP=[re.DELETE,re.GET,re.HEAD,re.POST,re.PUT,re.CONNECT,re.OPTIONS,re.TRACE,re.COPY,re.LOCK,re.MKCOL,re.MOVE,re.PROPFIND,re.PROPPATCH,re.SEARCH,re.UNLOCK,re.BIND,re.REBIND,re.UNBIND,re.ACL,re.REPORT,re.MKACTIVITY,re.CHECKOUT,re.MERGE,re["M-SEARCH"],re.NOTIFY,re.SUBSCRIBE,re.UNSUBSCRIBE,re.PATCH,re.PURGE,re.MKCALENDAR,re.LINK,re.UNLINK,re.PRI,re.SOURCE];d.METHODS_ICE=[re.SOURCE];d.METHODS_RTSP=[re.OPTIONS,re.DESCRIBE,re.ANNOUNCE,re.SETUP,re.PLAY,re.PAUSE,re.TEARDOWN,re.GET_PARAMETER,re.SET_PARAMETER,re.REDIRECT,re.RECORD,re.FLUSH,re.GET,re.POST];d.METHOD_MAP=v.enumToMap(re);d.H_METHOD_MAP={};Object.keys(d.METHOD_MAP).forEach((i=>{if(/^H/.test(i)){d.H_METHOD_MAP[i]=d.METHOD_MAP[i]}}));var ne;(function(i){i[i["SAFE"]=0]="SAFE";i[i["SAFE_WITH_CB"]=1]="SAFE_WITH_CB";i[i["UNSAFE"]=2]="UNSAFE"})(ne=d.FINISH||(d.FINISH={}));d.ALPHA=[];for(let i="A".charCodeAt(0);i<="Z".charCodeAt(0);i++){d.ALPHA.push(String.fromCharCode(i));d.ALPHA.push(String.fromCharCode(i+32))}d.NUM_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9};d.HEX_MAP={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15};d.NUM=["0","1","2","3","4","5","6","7","8","9"];d.ALPHANUM=d.ALPHA.concat(d.NUM);d.MARK=["-","_",".","!","~","*","'","(",")"];d.USERINFO_CHARS=d.ALPHANUM.concat(d.MARK).concat(["%",";",":","&","=","+","$",","]);d.STRICT_URL_CHAR=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(d.ALPHANUM);d.URL_CHAR=d.STRICT_URL_CHAR.concat(["\t","\f"]);for(let i=128;i<=255;i++){d.URL_CHAR.push(i)}d.HEX=d.NUM.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]);d.STRICT_TOKEN=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(d.ALPHANUM);d.TOKEN=d.STRICT_TOKEN.concat([" "]);d.HEADER_CHARS=["\t"];for(let i=32;i<=255;i++){if(i!==127){d.HEADER_CHARS.push(i)}}d.CONNECTION_TOKEN_CHARS=d.HEADER_CHARS.filter((i=>i!==44));d.MAJOR=d.NUM_MAP;d.MINOR=d.MAJOR;var se;(function(i){i[i["GENERAL"]=0]="GENERAL";i[i["CONNECTION"]=1]="CONNECTION";i[i["CONTENT_LENGTH"]=2]="CONTENT_LENGTH";i[i["TRANSFER_ENCODING"]=3]="TRANSFER_ENCODING";i[i["UPGRADE"]=4]="UPGRADE";i[i["CONNECTION_KEEP_ALIVE"]=5]="CONNECTION_KEEP_ALIVE";i[i["CONNECTION_CLOSE"]=6]="CONNECTION_CLOSE";i[i["CONNECTION_UPGRADE"]=7]="CONNECTION_UPGRADE";i[i["TRANSFER_ENCODING_CHUNKED"]=8]="TRANSFER_ENCODING_CHUNKED"})(se=d.HEADER_STATE||(d.HEADER_STATE={}));d.SPECIAL_HEADERS={connection:se.CONNECTION,"content-length":se.CONTENT_LENGTH,"proxy-connection":se.CONNECTION,"transfer-encoding":se.TRANSFER_ENCODING,upgrade:se.UPGRADE}},63870:i=>{i.exports="AGFzbQEAAAABMAhgAX8Bf2ADf39/AX9gBH9/f38Bf2AAAGADf39/AGABfwBgAn9/AGAGf39/f39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wb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ACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAQDscBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxweHyAhIyUoP0BBREVGR0hJSktMTU9QUVJT3gNXWVtcXWBiZWZnaGlqa2xtb3BxcnN0dXZ3eHl6e3x9foABggGFAYYBhwGJAYsBjAGNAY4BjwGQA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DL0DC0ICIREM5QELQgMhEQzkAQtCBCERDOMBC0IFIREM4gELQgYhEQzhAQtCByERDOABC0IIIREM3wELQgkhEQzeAQtCCiERDN0BC0ILIREM3AELQgwhEQzbAQtCDSERDNoBC0IOIREM2QELQg8hEQzYAQtCCiERDNcBC0ILIREM1gELQgwhEQzVAQtCDSERDNQBC0IOIREM0wELQg8hEQzSAQtCACERAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAQLQAAQVBqDjflAeQBAAECAwQFBgfmAeYB5gHmAeYB5gHmAQgJCgsMDeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gHmAeYB5gEODxAREhPmAQtCAiERDOQBC0IDIREM4wELQgQhEQziAQtCBSERDOEBC0IGIREM4AELQgchEQzfAQtCCCERDN4BC0IJIREM3QELQgohEQzcAQtCCyERDNsBC0IMIREM2gELQg0hEQzZAQtCDiERDNgBC0IPIREM1wELQgohEQzWAQtCCyERDNUBC0IMIREM1AELQg0hEQzTAQtCDiERDNIBC0IPIREM0QELIABCACAAKQMgIhEgAiABIhBrrSISfSITIBMgEVYbNwMgIBEgElYiFEUN0gFBHyEQDMADCwJAIAEiASACRg0AIABBiYCAgAA2AgggACABNgIEIAEhAUEkIRAMpwMLQSAhEAy/AwsgACABIhAgAhC+gICAAEF/ag4FtgEAxQIB0QHSAQtBESEQDKQDCyAAQQE6AC8gECEBDLsDCyABIgEgAkcN0gFBJCEQDLsDCyABIg0gAkcNHkHGACEQDLoDCyAAIAEiASACELKAgIAAIhAN1AEgASEBDLUBCyABIhAgAkcNJkHQACEQDLgDCwJAIAEiASACRw0AQSghEAy4AwsgAEEANgIEIABBjICAgAA2AgggACABIAEQsYCAgAAiEA3TASABIQEM2AELAkAgASIQIAJHDQBBKSEQDLcDCyAQLQAAIgFBIEYNFCABQQlHDdMBIBBBAWohAQwVCwJAIAEiASACRg0AIAFBAWohAQwXC0EqIRAMtQMLA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ACEQDLMBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxNCyAAQdIANgIcIAAgATYCFCAAIBA2AgxBACEQDLIBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxNCyAAQdMANgIcIAAgATYCFCAAIBA2AgxBACEQDLEBCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxRCyAAQeUANgIcIAAgATYCFCAAIBA2AgxBACEQDLABCyAAQQA2AhwgACABNgIUIABBxoqAgAA2AhAgAEEHNgIMQQAhEAyvAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMSQsgAEHSADYCHCAAIAE2AhQgACAQNgIMQQAhEAyuAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMSQsgAEHTADYCHCAAIAE2AhQgACAQNgIMQQAhEAytAQsgACgCBCEQIABBADYCBAJAIAAgECABEKeAgIAAIhANACABIQEMTQsgAEHlADYCHCAAIAE2AhQgACAQNgIMQQAhEAysAQsgAEEANgIcIAAgATYCFCAAQdyIgIAANgIQIABBBzYCDEEAIRAMqwELIBBBP0cNASABQQFqIQELQQUhEAyQAQtBACEQIABBADYCHCAAIAE2AhQgAEH9koCAADYCECAAQQc2AgwMqAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMpwELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEILIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMpgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDEYLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMpQELIAAoAgQhASAAQQA2AgQCQCAAIAEgFBCngICAACIBDQAgFCEBDD8LIABB0gA2AhwgACAUNgIUIAAgATYCDEEAIRAMpAELIAAoAgQhASAA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AvATJB//8DcSIAQZx/akHkAEkNACAAQcwBRg0AIABBsAJGDQAgAkHAAHENAEEAIQEgAkGIBHFBgARGDQAgAkEocUEARyEBCyABC0kBAXsgAEEQav0MAAAAAAAAAAAAAAAAAAAAACIB/QsDACAAIAH9CwMAIABBMGogAf0LAwAgAEEgaiAB/QsDACAAQd0BNgIcQQALewEBfwJAIAAoAgwiAw0AAkAgACgCBEUNACAAIAE2AgQLAkAgACABIAIQxICAgAAiAw0AIAAoAgwPCyAAIAM2AhxBACEDIAAoAgQiAUUNACAAIAEgAiAAKAIIEYGAgIAAACIBRQ0AIAAgAjYCFCAAIAE2AgwgASEDCyADC+TzAQMOfwN+BH8jgICAgABBEGsiAySAgICAACABIQQgASEFIAEhBiABIQcgASEIIAEhCSABIQogASELIAEhDCABIQ0gASEOIAEhDwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAAKAIcIhBBf2oO3QHaAQHZAQIDBAUGBwgJCgsMDQ7YAQ8Q1wEREtYBExQVFhcYGRob4AHfARwdHtU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AEhEAwgC0GlASEQDB8LQaYBIRAMHgtBpwEhEAwdC0GoASEQDBwLQakBIRAMGwtBqgEhEAwaC0GrASEQDBkLQawBIRAMGAtBrQEhEAwXC0GuASEQDBYLQQEhEAwVC0GvASEQDBQLQbABIRAMEwtBsQEhEAwSC0GzASEQDBELQbIBIRAMEAtBtAEhEAwPC0G1ASEQDA4LQbYBIRAMDQtBtwEhEAwMC0G4ASEQDAsLQbkBIRAMCgtBugEhEAwJC0G7ASEQDAgLQcYBIRAMBwtBvAEhEAwGC0G9ASEQDAULQb4BIRAMBAtBvwEhEAwDC0HAASEQDAILQcIBIRAMAQtBwQEhEAsDQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAA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ASACRw0aQRghEAz4AwsgASIBIAJHDRRBEiEQDPcDCyABIgEgAkcNWUHFACEQDPYDCyABIgEgAkcNSkE/IRAM9QMLIAEiASACRw1IQTwhEAz0AwsgASIBIAJHDUFBMSEQDPMDCyAALQAuQQFGDesDDIcCCyAAIAEiASACEMCAgIAAQQFHDeYBIABCADcDIAznAQsgACABIgEgAhC0gICAACIQDecBIAEhAQz1AgsCQCABIgEgAkcNAEEGIRAM8AMLIAAgAUEBaiIBIAIQu4CAgAAiEA3oASABIQEMMQsgAEIANwMgQRIhEAzVAwsgASIQIAJHDStBHSEQDO0DCwJAIAEiASACRg0AIAFBAWohAUEQIRAM1AMLQQchEAzsAwsgAEIAIAApAyAiESACIAEiEGutIhJ9IhMgEyARVhs3AyAgESASViIURQ3lAUEIIRAM6wMLAkAgASIBIAJGDQAgAEGJgICAADYCCCAAIAE2AgQgASEBQRQhEAzSAwtBCSEQDOoDCyABIQEgACkDIFAN5AEgASEBDPICCwJAIAEiASACRw0AQQshEAzpAwsgACABQQFqIgEgAhC2gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeUBIAEhAQzyAgsgACABIgEgAhC4gICAACIQDeYBIAEhAQwNCyAAIAEiASACELqAgIAAIhAN5wEgASEBDPACCwJAIAEiASACRw0AQQ8hEAzlAwsgAS0AACIQQTtGDQggEEENRw3oASABQQFqIQEM7wILIAAgASIBIAIQuoCAgAAiEA3oASABIQEM8gILA0ACQCABLQAAQfC1gIAAai0AACIQQQFGDQAgEEECRw3rASAAKAIEIRAgAEEANgIEIAAgECABQQFqIgEQuYCAgAAiEA3qASABIQEM9AILIAFBAWoiASACRw0AC0ESIRAM4gMLIAAgASIBIAIQuoCAgAAiEA3pASABIQEMCgsgASIBIAJHDQZBGyEQDOADCwJAIAEiASACRw0AQRYhEAzgAwsgAEGKgICAADYCCCAAIAE2AgQgACABIAIQuICAgAAiEA3qASABIQFBICEQDMYDCwJAIAEiASACRg0AA0ACQCABLQAAQfC3gIAAai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yAAQd4ANgIcIAAgATYCFCAAIAQ2AgxBACEQDLoBCyAAQQA2AgAgF0EBaiEBAkAgAC0AKUEjTw0AIAEhAQxZCyAAQQA2AhwgACABNgIUIABB04mAgAA2AhAgAEEINgIMQQAhEAy5AQsgAEEANgIAC0EAIRAgAEEANgIcIAAgATYCFCAAQZCzgIAANgIQIABBCDYCDAy3AQsgAEEANgIAIBdBAWohAQJAIAAtAClBIUcNACABIQEMVgsgAEEANgIcIAAgATYCFCAAQZuKgIAANgIQIABBCDYCDEEAIRAMtgELIABBADYCACAXQQFqIQECQCAALQApIhBBXWpBC08NACABIQEMVQsCQCAQQQZLDQBBASAQdEHKAHFFDQAgASEBDFULQQAhECAAQQA2AhwgACABNgIUIABB94mAgAA2AhAgAEEINgIMDLUBCyAQQRVGDXEgAEEANgIcIAAgATYCFCAAQbmNgIAANgIQIABBGjYCDEEAIRAMtAELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFQLIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMswELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0gA2AhwgACABNgIUIAAgEDYCDEEAIRAMsgELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDE0LIABB0wA2AhwgACABNgIUIAAgEDYCDEEAIRAMsQELIAAoAgQhECAAQQA2AgQCQCAAIBAgARCngICAACIQDQAgASEBDFELIABB5QA2AhwgACABNgIUIAAgEDYCDEEAIRAMsAELIABBADYCHCAAIAE2AhQgAEHGioCAADYCECAAQQc2AgxBACEQDK8BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxJCyAAQdIANgIcIAAgATYCFCAAIBA2AgxBACEQDK4BCyAAKAIEIRAgAEEANgIEAkAgACAQIAEQp4CAgAAiEA0AIAEhAQxJCyAAQdMANgIcIAAgATYCFCAAIBA2AgxBACEQDK0BCyAAKAIEIRAgAEEANgIE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SUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw=="},50172:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.enumToMap=void 0;function enumToMap(i){const d={};Object.keys(i).forEach((p=>{const v=i[p];if(typeof v==="number"){d[p]=v}}));return d}d.enumToMap=enumToMap},47501:(i,d,p)=>{const{kClients:v}=p(36443);const V=p(59965);const{kAgent:K,kMockAgentSet:ee,kMockAgentGet:te,kDispatches:re,kIsMockActive:ne,kNetConnect:se,kGetNetConnect:ie,kOptions:oe,kFactory:ae}=p(91117);const Ae=p(47365);const ce=p(94004);const{matchValue:le,buildMockOptions:ue}=p(53397);const{InvalidArgumentError:de,UndiciError:he}=p(68707);const fe=p(28611);const ge=p(91529);const pe=p(56142);class FakeWeakRef{constructor(i){this.value=i}deref(){return this.value}}class MockAgent extends fe{constructor(i){super(i);this[se]=true;this[ne]=true;if(i&&i.agent&&typeof i.agent.dispatch!=="function"){throw new de("Argument opts.agent must implement Agent")}const d=i&&i.agent?i.agent:new V(i);this[K]=d;this[v]=d[v];this[oe]=ue(i)}get(i){let d=this[te](i);if(!d){d=this[ae](i);this[ee](i,d)}return d}dispatch(i,d){this.get(i.origin);return this[K].dispatch(i,d)}async close(){await this[K].close();this[v].clear()}deactivate(){this[ne]=false}activate(){this[ne]=true}enableNetConnect(i){if(typeof i==="string"||typeof i==="function"||i instanceof RegExp){if(Array.isArray(this[se])){this[se].push(i)}else{this[se]=[i]}}else if(typeof i==="undefined"){this[se]=true}else{throw new de("Unsupported matcher. Must be one of String|Function|RegExp.")}}disableNetConnect(){this[se]=false}get isMockActive(){return this[ne]}[ee](i,d){this[v].set(i,new FakeWeakRef(d))}[ae](i){const d=Object.assign({agent:this},this[oe]);return this[oe]&&this[oe].connections===1?new Ae(i,d):new ce(i,d)}[te](i){const d=this[v].get(i);if(d){return d.deref()}if(typeof i!=="string"){const d=this[ae]("http://localhost:9999");this[ee](i,d);return d}for(const[d,p]of Array.from(this[v])){const v=p.deref();if(v&&typeof d!=="string"&&le(d,i)){const d=this[ae](i);this[ee](i,d);d[re]=v[re];return d}}}[ie](){return this[se]}pendingInterceptors(){const i=this[v];return Array.from(i.entries()).flatMap((([i,d])=>d.deref()[re].map((d=>({...d,origin:i}))))).filter((({pending:i})=>i))}assertNoPendingInterceptors({pendingInterceptorsFormatter:i=new pe}={}){const d=this.pendingInterceptors();if(d.length===0){return}const p=new ge("interceptor","interceptors").pluralize(d.length);throw new he(`\n${p.count} ${p.noun} ${p.is} pending:\n\n${i.format(d)}\n`.trim())}}i.exports=MockAgent},47365:(i,d,p)=>{const{promisify:v}=p(39023);const V=p(86197);const{buildMockDispatch:K}=p(53397);const{kDispatches:ee,kMockAgent:te,kClose:re,kOriginalClose:ne,kOrigin:se,kOriginalDispatch:ie,kConnected:oe}=p(91117);const{MockInterceptor:ae}=p(31511);const Ae=p(36443);const{InvalidArgumentError:ce}=p(68707);class MockClient extends V{constructor(i,d){super(i,d);if(!d||!d.agent||typeof d.agent.dispatch!=="function"){throw new ce("Argument opts.agent must implement Agent")}this[te]=d.agent;this[se]=i;this[ee]=[];this[oe]=1;this[ie]=this.dispatch;this[ne]=this.close.bind(this);this.dispatch=K.call(this);this.close=this[re]}get[Ae.kConnected](){return this[oe]}intercept(i){return new ae(i,this[ee])}async[re](){await v(this[ne])();this[oe]=0;this[te][Ae.kClients].delete(this[se])}}i.exports=MockClient},52429:(i,d,p)=>{const{UndiciError:v}=p(68707);class MockNotMatchedError extends v{constructor(i){super(i);Error.captureStackTrace(this,MockNotMatchedError);this.name="MockNotMatchedError";this.message=i||"The request does not match any registered mock dispatches";this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}}i.exports={MockNotMatchedError:MockNotMatchedError}},31511:(i,d,p)=>{const{getResponseData:v,buildKey:V,addMockDispatch:K}=p(53397);const{kDispatches:ee,kDispatchKey:te,kDefaultHeaders:re,kDefaultTrailers:ne,kContentLength:se,kMockDispatch:ie}=p(91117);const{InvalidArgumentError:oe}=p(68707);const{buildURL:ae}=p(3440);class MockScope{constructor(i){this[ie]=i}delay(i){if(typeof i!=="number"||!Number.isInteger(i)||i<=0){throw new oe("waitInMs must be a valid integer > 0")}this[ie].delay=i;return this}persist(){this[ie].persist=true;return this}times(i){if(typeof i!=="number"||!Number.isInteger(i)||i<=0){throw new oe("repeatTimes must be a valid integer > 0")}this[ie].times=i;return this}}class MockInterceptor{constructor(i,d){if(typeof i!=="object"){throw new oe("opts must be an object")}if(typeof i.path==="undefined"){throw new oe("opts.path must be defined")}if(typeof i.method==="undefined"){i.method="GET"}if(typeof i.path==="string"){if(i.query){i.path=ae(i.path,i.query)}else{const d=new URL(i.path,"data://");i.path=d.pathname+d.search}}if(typeof i.method==="string"){i.method=i.method.toUpperCase()}this[te]=V(i);this[ee]=d;this[re]={};this[ne]={};this[se]=false}createMockScopeDispatchData(i,d,p={}){const V=v(d);const K=this[se]?{"content-length":V.length}:{};const ee={...this[re],...K,...p.headers};const te={...this[ne],...p.trailers};return{statusCode:i,data:d,headers:ee,trailers:te}}validateReplyParameters(i,d,p){if(typeof i==="undefined"){throw new oe("statusCode must be defined")}if(typeof d==="undefined"){throw new oe("data must be defined")}if(typeof p!=="object"){throw new oe("responseOptions must be an object")}}reply(i){if(typeof i==="function"){const wrappedDefaultsCallback=d=>{const p=i(d);if(typeof p!=="object"){throw new oe("reply options callback must return an object")}const{statusCode:v,data:V="",responseOptions:K={}}=p;this.validateReplyParameters(v,V,K);return{...this.createMockScopeDispatchData(v,V,K)}};const d=K(this[ee],this[te],wrappedDefaultsCallback);return new MockScope(d)}const[d,p="",v={}]=[...arguments];this.validateReplyParameters(d,p,v);const V=this.createMockScopeDispatchData(d,p,v);const re=K(this[ee],this[te],V);return new MockScope(re)}replyWithError(i){if(typeof i==="undefined"){throw new oe("error must be defined")}const d=K(this[ee],this[te],{error:i});return new MockScope(d)}defaultReplyHeaders(i){if(typeof i==="undefined"){throw new oe("headers must be defined")}this[re]=i;return this}defaultReplyTrailers(i){if(typeof i==="undefined"){throw new oe("trailers must be defined")}this[ne]=i;return this}replyContentLength(){this[se]=true;return this}}i.exports.MockInterceptor=MockInterceptor;i.exports.MockScope=MockScope},94004:(i,d,p)=>{const{promisify:v}=p(39023);const V=p(35076);const{buildMockDispatch:K}=p(53397);const{kDispatches:ee,kMockAgent:te,kClose:re,kOriginalClose:ne,kOrigin:se,kOriginalDispatch:ie,kConnected:oe}=p(91117);const{MockInterceptor:ae}=p(31511);const Ae=p(36443);const{InvalidArgumentError:ce}=p(68707);class MockPool extends V{constructor(i,d){super(i,d);if(!d||!d.agent||typeof d.agent.dispatch!=="function"){throw new ce("Argument opts.agent must implement Agent")}this[te]=d.agent;this[se]=i;this[ee]=[];this[oe]=1;this[ie]=this.dispatch;this[ne]=this.close.bind(this);this.dispatch=K.call(this);this.close=this[re]}get[Ae.kConnected](){return this[oe]}intercept(i){return new ae(i,this[ee])}async[re](){await v(this[ne])();this[oe]=0;this[te][Ae.kClients].delete(this[se])}}i.exports=MockPool},91117:i=>{i.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected")}},53397:(i,d,p)=>{const{MockNotMatchedError:v}=p(52429);const{kDispatches:V,kMockAgent:K,kOriginalDispatch:ee,kOrigin:te,kGetNetConnect:re}=p(91117);const{buildURL:ne,nop:se}=p(3440);const{STATUS_CODES:ie}=p(58611);const{types:{isPromise:oe}}=p(39023);function matchValue(i,d){if(typeof i==="string"){return i===d}if(i instanceof RegExp){return i.test(d)}if(typeof i==="function"){return i(d)===true}return false}function lowerCaseEntries(i){return Object.fromEntries(Object.entries(i).map((([i,d])=>[i.toLocaleLowerCase(),d])))}function getHeaderByName(i,d){if(Array.isArray(i)){for(let p=0;p!i)).filter((({path:i})=>matchValue(safeUrl(i),V)));if(K.length===0){throw new v(`Mock dispatch not matched for path '${V}'`)}K=K.filter((({method:i})=>matchValue(i,d.method)));if(K.length===0){throw new v(`Mock dispatch not matched for method '${d.method}'`)}K=K.filter((({body:i})=>typeof i!=="undefined"?matchValue(i,d.body):true));if(K.length===0){throw new v(`Mock dispatch not matched for body '${d.body}'`)}K=K.filter((i=>matchHeaders(i,d.headers)));if(K.length===0){throw new v(`Mock dispatch not matched for headers '${typeof d.headers==="object"?JSON.stringify(d.headers):d.headers}'`)}return K[0]}function addMockDispatch(i,d,p){const v={timesInvoked:0,times:1,persist:false,consumed:false};const V=typeof p==="function"?{callback:p}:{...p};const K={...v,...d,pending:true,data:{error:null,...V}};i.push(K);return K}function deleteMockDispatch(i,d){const p=i.findIndex((i=>{if(!i.consumed){return false}return matchKey(i,d)}));if(p!==-1){i.splice(p,1)}}function buildKey(i){const{path:d,method:p,body:v,headers:V,query:K}=i;return{path:d,method:p,body:v,headers:V,query:K}}function generateKeyValues(i){return Object.entries(i).reduce(((i,[d,p])=>[...i,Buffer.from(`${d}`),Array.isArray(p)?p.map((i=>Buffer.from(`${i}`))):Buffer.from(`${p}`)]),[])}function getStatusText(i){return ie[i]||"unknown"}async function getResponse(i){const d=[];for await(const p of i){d.push(p)}return Buffer.concat(d).toString("utf8")}function mockDispatch(i,d){const p=buildKey(i);const v=getMockDispatch(this[V],p);v.timesInvoked++;if(v.data.callback){v.data={...v.data,...v.data.callback(i)}}const{data:{statusCode:K,data:ee,headers:te,trailers:re,error:ne},delay:ie,persist:ae}=v;const{timesInvoked:Ae,times:ce}=v;v.consumed=!ae&&Ae>=ce;v.pending=Ae0){setTimeout((()=>{handleReply(this[V])}),ie)}else{handleReply(this[V])}function handleReply(v,V=ee){const ne=Array.isArray(i.headers)?buildHeadersFromArray(i.headers):i.headers;const ie=typeof V==="function"?V({...i,headers:ne}):V;if(oe(ie)){ie.then((i=>handleReply(v,i)));return}const ae=getResponseData(ie);const Ae=generateKeyValues(te);const ce=generateKeyValues(re);d.abort=se;d.onHeaders(K,Ae,resume,getStatusText(K));d.onData(Buffer.from(ae));d.onComplete(ce);deleteMockDispatch(v,p)}function resume(){}return true}function buildMockDispatch(){const i=this[K];const d=this[te];const p=this[ee];return function dispatch(V,K){if(i.isMockActive){try{mockDispatch.call(this,V,K)}catch(ee){if(ee instanceof v){const te=i[re]();if(te===false){throw new v(`${ee.message}: subsequent request to origin ${d} was not allowed (net.connect disabled)`)}if(checkNetConnect(te,d)){p.call(this,V,K)}else{throw new v(`${ee.message}: subsequent request to origin ${d} was not allowed (net.connect is not enabled for this origin)`)}}else{throw ee}}}else{p.call(this,V,K)}}}function checkNetConnect(i,d){const p=new URL(d);if(i===true){return true}else if(Array.isArray(i)&&i.some((i=>matchValue(i,p.host)))){return true}return false}function buildMockOptions(i){if(i){const{agent:d,...p}=i;return p}}i.exports={getResponseData:getResponseData,getMockDispatch:getMockDispatch,addMockDispatch:addMockDispatch,deleteMockDispatch:deleteMockDispatch,buildKey:buildKey,generateKeyValues:generateKeyValues,matchValue:matchValue,getResponse:getResponse,getStatusText:getStatusText,mockDispatch:mockDispatch,buildMockDispatch:buildMockDispatch,checkNetConnect:checkNetConnect,buildMockOptions:buildMockOptions,getHeaderByName:getHeaderByName}},56142:(i,d,p)=>{const{Transform:v}=p(2203);const{Console:V}=p(64236);i.exports=class PendingInterceptorsFormatter{constructor({disableColors:i}={}){this.transform=new v({transform(i,d,p){p(null,i)}});this.logger=new V({stdout:this.transform,inspectOptions:{colors:!i&&!process.env.CI}})}format(i){const d=i.map((({method:i,path:d,data:{statusCode:p},persist:v,times:V,timesInvoked:K,origin:ee})=>({Method:i,Origin:ee,Path:d,"Status code":p,Persistent:v?"✅":"❌",Invocations:K,Remaining:v?Infinity:V-K})));this.logger.table(d);return this.transform.read().toString()}}},91529:i=>{const d={pronoun:"it",is:"is",was:"was",this:"this"};const p={pronoun:"they",is:"are",was:"were",this:"these"};i.exports=class Pluralizer{constructor(i,d){this.singular=i;this.plural=d}pluralize(i){const v=i===1;const V=v?d:p;const K=v?this.singular:this.plural;return{...V,count:i,noun:K}}}},34869:i=>{const d=2048;const p=d-1;class FixedCircularBuffer{constructor(){this.bottom=0;this.top=0;this.list=new Array(d);this.next=null}isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&p)===this.bottom}push(i){this.list[this.top]=i;this.top=this.top+1&p}shift(){const i=this.list[this.bottom];if(i===undefined)return null;this.list[this.bottom]=undefined;this.bottom=this.bottom+1&p;return i}}i.exports=class FixedQueue{constructor(){this.head=this.tail=new FixedCircularBuffer}isEmpty(){return this.head.isEmpty()}push(i){if(this.head.isFull()){this.head=this.head.next=new FixedCircularBuffer}this.head.push(i)}shift(){const i=this.tail;const d=i.shift();if(i.isEmpty()&&i.next!==null){this.tail=i.next}return d}}},58640:(i,d,p)=>{const v=p(50001);const V=p(34869);const{kConnected:K,kSize:ee,kRunning:te,kPending:re,kQueued:ne,kBusy:se,kFree:ie,kUrl:oe,kClose:ae,kDestroy:Ae,kDispatch:ce}=p(36443);const le=p(24622);const ue=Symbol("clients");const de=Symbol("needDrain");const he=Symbol("queue");const fe=Symbol("closed resolve");const ge=Symbol("onDrain");const pe=Symbol("onConnect");const me=Symbol("onDisconnect");const Ee=Symbol("onConnectionError");const Ce=Symbol("get dispatcher");const ye=Symbol("add client");const Ie=Symbol("remove client");const Be=Symbol("stats");class PoolBase extends v{constructor(){super();this[he]=new V;this[ue]=[];this[ne]=0;const i=this;this[ge]=function onDrain(d,p){const v=i[he];let V=false;while(!V){const d=v.shift();if(!d){break}i[ne]--;V=!this.dispatch(d.opts,d.handler)}this[de]=V;if(!this[de]&&i[de]){i[de]=false;i.emit("drain",d,[i,...p])}if(i[fe]&&v.isEmpty()){Promise.all(i[ue].map((i=>i.close()))).then(i[fe])}};this[pe]=(d,p)=>{i.emit("connect",d,[i,...p])};this[me]=(d,p,v)=>{i.emit("disconnect",d,[i,...p],v)};this[Ee]=(d,p,v)=>{i.emit("connectionError",d,[i,...p],v)};this[Be]=new le(this)}get[se](){return this[de]}get[K](){return this[ue].filter((i=>i[K])).length}get[ie](){return this[ue].filter((i=>i[K]&&!i[de])).length}get[re](){let i=this[ne];for(const{[re]:d}of this[ue]){i+=d}return i}get[te](){let i=0;for(const{[te]:d}of this[ue]){i+=d}return i}get[ee](){let i=this[ne];for(const{[ee]:d}of this[ue]){i+=d}return i}get stats(){return this[Be]}async[ae](){if(this[he].isEmpty()){return Promise.all(this[ue].map((i=>i.close())))}else{return new Promise((i=>{this[fe]=i}))}}async[Ae](i){while(true){const d=this[he].shift();if(!d){break}d.handler.onError(i)}return Promise.all(this[ue].map((d=>d.destroy(i))))}[ce](i,d){const p=this[Ce]();if(!p){this[de]=true;this[he].push({opts:i,handler:d});this[ne]++}else if(!p.dispatch(i,d)){p[de]=true;this[de]=!this[Ce]()}return!this[de]}[ye](i){i.on("drain",this[ge]).on("connect",this[pe]).on("disconnect",this[me]).on("connectionError",this[Ee]);this[ue].push(i);if(this[de]){process.nextTick((()=>{if(this[de]){this[ge](i[oe],[this,i])}}))}return this}[Ie](i){i.close((()=>{const d=this[ue].indexOf(i);if(d!==-1){this[ue].splice(d,1)}}));this[de]=this[ue].some((i=>!i[de]&&i.closed!==true&&i.destroyed!==true))}}i.exports={PoolBase:PoolBase,kClients:ue,kNeedDrain:de,kAddClient:ye,kRemoveClient:Ie,kGetDispatcher:Ce}},24622:(i,d,p)=>{const{kFree:v,kConnected:V,kPending:K,kQueued:ee,kRunning:te,kSize:re}=p(36443);const ne=Symbol("pool");class PoolStats{constructor(i){this[ne]=i}get connected(){return this[ne][V]}get free(){return this[ne][v]}get pending(){return this[ne][K]}get queued(){return this[ne][ee]}get running(){return this[ne][te]}get size(){return this[ne][re]}}i.exports=PoolStats},35076:(i,d,p)=>{const{PoolBase:v,kClients:V,kNeedDrain:K,kAddClient:ee,kGetDispatcher:te}=p(58640);const re=p(86197);const{InvalidArgumentError:ne}=p(68707);const se=p(3440);const{kUrl:ie,kInterceptors:oe}=p(36443);const ae=p(59136);const Ae=Symbol("options");const ce=Symbol("connections");const le=Symbol("factory");function defaultFactory(i,d){return new re(i,d)}class Pool extends v{constructor(i,{connections:d,factory:p=defaultFactory,connect:v,connectTimeout:K,tls:ee,maxCachedSessions:te,socketPath:re,autoSelectFamily:ue,autoSelectFamilyAttemptTimeout:de,allowH2:he,...fe}={}){super();if(d!=null&&(!Number.isFinite(d)||d<0)){throw new ne("invalid connections")}if(typeof p!=="function"){throw new ne("factory must be a function.")}if(v!=null&&typeof v!=="function"&&typeof v!=="object"){throw new ne("connect must be a function or an object")}if(typeof v!=="function"){v=ae({...ee,maxCachedSessions:te,allowH2:he,socketPath:re,timeout:K,...se.nodeHasAutoSelectFamily&&ue?{autoSelectFamily:ue,autoSelectFamilyAttemptTimeout:de}:undefined,...v})}this[oe]=fe.interceptors&&fe.interceptors.Pool&&Array.isArray(fe.interceptors.Pool)?fe.interceptors.Pool:[];this[ce]=d||null;this[ie]=se.parseOrigin(i);this[Ae]={...se.deepClone(fe),connect:v,allowH2:he};this[Ae].interceptors=fe.interceptors?{...fe.interceptors}:undefined;this[le]=p;this.on("connectionError",((i,d,p)=>{for(const i of d){const d=this[V].indexOf(i);if(d!==-1){this[V].splice(d,1)}}}))}[te](){let i=this[V].find((i=>!i[K]));if(i){return i}if(!this[ce]||this[V].length{const{kProxy:v,kClose:V,kDestroy:K,kInterceptors:ee}=p(36443);const{URL:te}=p(87016);const re=p(59965);const ne=p(35076);const se=p(50001);const{InvalidArgumentError:ie,RequestAbortedError:oe}=p(68707);const ae=p(59136);const Ae=Symbol("proxy agent");const ce=Symbol("proxy client");const le=Symbol("proxy headers");const ue=Symbol("request tls settings");const de=Symbol("proxy tls settings");const he=Symbol("connect endpoint function");function defaultProtocolPort(i){return i==="https:"?443:80}function buildProxyOptions(i){if(typeof i==="string"){i={uri:i}}if(!i||!i.uri){throw new ie("Proxy opts.uri is mandatory")}return{uri:i.uri,protocol:i.protocol||"https"}}function defaultFactory(i,d){return new ne(i,d)}class ProxyAgent extends se{constructor(i){super(i);this[v]=buildProxyOptions(i);this[Ae]=new re(i);this[ee]=i.interceptors&&i.interceptors.ProxyAgent&&Array.isArray(i.interceptors.ProxyAgent)?i.interceptors.ProxyAgent:[];if(typeof i==="string"){i={uri:i}}if(!i||!i.uri){throw new ie("Proxy opts.uri is mandatory")}const{clientFactory:d=defaultFactory}=i;if(typeof d!=="function"){throw new ie("Proxy opts.clientFactory must be a function.")}this[ue]=i.requestTls;this[de]=i.proxyTls;this[le]=i.headers||{};const p=new te(i.uri);const{origin:V,port:K,host:ne,username:se,password:fe}=p;if(i.auth&&i.token){throw new ie("opts.auth cannot be used in combination with opts.token")}else if(i.auth){this[le]["proxy-authorization"]=`Basic ${i.auth}`}else if(i.token){this[le]["proxy-authorization"]=i.token}else if(se&&fe){this[le]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(se)}:${decodeURIComponent(fe)}`).toString("base64")}`}const ge=ae({...i.proxyTls});this[he]=ae({...i.requestTls});this[ce]=d(p,{connect:ge});this[Ae]=new re({...i,connect:async(i,d)=>{let p=i.host;if(!i.port){p+=`:${defaultProtocolPort(i.protocol)}`}try{const{socket:v,statusCode:ee}=await this[ce].connect({origin:V,port:K,path:p,signal:i.signal,headers:{...this[le],host:ne}});if(ee!==200){v.on("error",(()=>{})).destroy();d(new oe(`Proxy response (${ee}) !== 200 when HTTP Tunneling`))}if(i.protocol!=="https:"){d(null,v);return}let te;if(this[ue]){te=this[ue].servername}else{te=i.servername}this[he]({...i,servername:te,httpSocket:v},d)}catch(i){d(i)}}})}dispatch(i,d){const{host:p}=new te(i.origin);const v=buildHeaders(i.headers);throwIfProxyAuthIsSent(v);return this[Ae].dispatch({...i,headers:{...v,host:p}},d)}async[V](){await this[Ae].close();await this[ce].close()}async[K](){await this[Ae].destroy();await this[ce].destroy()}}function buildHeaders(i){if(Array.isArray(i)){const d={};for(let p=0;pi.toLowerCase()==="proxy-authorization"));if(d){throw new ie("Proxy-Authorization should be sent in ProxyAgent constructor")}}i.exports=ProxyAgent},28804:i=>{let d=Date.now();let p;const v=[];function onTimeout(){d=Date.now();let i=v.length;let p=0;while(p0&&d>=V.state){V.state=-1;V.callback(V.opaque)}if(V.state===-1){V.state=-2;if(p!==i-1){v[p]=v.pop()}else{v.pop()}i-=1}else{p+=1}}if(v.length>0){refreshTimeout()}}function refreshTimeout(){if(p&&p.refresh){p.refresh()}else{clearTimeout(p);p=setTimeout(onTimeout,1e3);if(p.unref){p.unref()}}}class Timeout{constructor(i,d,p){this.callback=i;this.delay=d;this.opaque=p;this.state=-2;this.refresh()}refresh(){if(this.state===-2){v.push(this);if(!p||v.length===1){refreshTimeout()}}this.state=0}clear(){this.state=-1}}i.exports={setTimeout(i,d,p){return d<1e3?setTimeout(i,d,p):new Timeout(i,d,p)},clearTimeout(i){if(i instanceof Timeout){i.clear()}else{clearTimeout(i)}}}},68550:(i,d,p)=>{const v=p(31637);const{uid:V,states:K}=p(45913);const{kReadyState:ee,kSentClose:te,kByteParser:re,kReceivedClose:ne}=p(62933);const{fireEvent:se,failWebsocketConnection:ie}=p(3574);const{CloseEvent:oe}=p(46255);const{makeRequest:ae}=p(25194);const{fetching:Ae}=p(12315);const{Headers:ce}=p(26349);const{getGlobalDispatcher:le}=p(32581);const{kHeadersList:ue}=p(36443);const de={};de.open=v.channel("undici:websocket:open");de.close=v.channel("undici:websocket:close");de.socketError=v.channel("undici:websocket:socket_error");let he;try{he=p(76982)}catch{}function establishWebSocketConnection(i,d,p,v,K){const ee=i;ee.protocol=i.protocol==="ws:"?"http:":"https:";const te=ae({urlList:[ee],serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error"});if(K.headers){const i=new ce(K.headers)[ue];te.headersList=i}const re=he.randomBytes(16).toString("base64");te.headersList.append("sec-websocket-key",re);te.headersList.append("sec-websocket-version","13");for(const i of d){te.headersList.append("sec-websocket-protocol",i)}const ne="";const se=Ae({request:te,useParallelQueue:true,dispatcher:K.dispatcher??le(),processResponse(i){if(i.type==="error"||i.status!==101){ie(p,"Received network error or non-101 status code.");return}if(d.length!==0&&!i.headersList.get("Sec-WebSocket-Protocol")){ie(p,"Server did not respond with sent protocols.");return}if(i.headersList.get("Upgrade")?.toLowerCase()!=="websocket"){ie(p,'Server did not set Upgrade header to "websocket".');return}if(i.headersList.get("Connection")?.toLowerCase()!=="upgrade"){ie(p,'Server did not set Connection header to "upgrade".');return}const K=i.headersList.get("Sec-WebSocket-Accept");const ee=he.createHash("sha1").update(re+V).digest("base64");if(K!==ee){ie(p,"Incorrect hash received in Sec-WebSocket-Accept header.");return}const se=i.headersList.get("Sec-WebSocket-Extensions");if(se!==null&&se!==ne){ie(p,"Received different permessage-deflate than the one set.");return}const oe=i.headersList.get("Sec-WebSocket-Protocol");if(oe!==null&&oe!==te.headersList.get("Sec-WebSocket-Protocol")){ie(p,"Protocol was not set in the opening handshake.");return}i.socket.on("data",onSocketData);i.socket.on("close",onSocketClose);i.socket.on("error",onSocketError);if(de.open.hasSubscribers){de.open.publish({address:i.socket.address(),protocol:oe,extensions:se})}v(i)}});return se}function onSocketData(i){if(!this.ws[re].write(i)){this.pause()}}function onSocketClose(){const{ws:i}=this;const d=i[te]&&i[ne];let p=1005;let v="";const V=i[re].closingInfo;if(V){p=V.code??1005;v=V.reason}else if(!i[te]){p=1006}i[ee]=K.CLOSED;se("close",i,oe,{wasClean:d,code:p,reason:v});if(de.close.hasSubscribers){de.close.publish({websocket:i,code:p,reason:v})}}function onSocketError(i){const{ws:d}=this;d[ee]=K.CLOSING;if(de.socketError.hasSubscribers){de.socketError.publish(i)}this.destroy()}i.exports={establishWebSocketConnection:establishWebSocketConnection}},45913:i=>{const d="258EAFA5-E914-47DA-95CA-C5AB0DC85B11";const p={enumerable:true,writable:false,configurable:false};const v={CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3};const V={CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10};const K=2**16-1;const ee={INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4};const te=Buffer.allocUnsafe(0);i.exports={uid:d,staticPropertyDescriptors:p,states:v,opcodes:V,maxUnsigned16Bit:K,parserStates:ee,emptyBuffer:te}},46255:(i,d,p)=>{const{webidl:v}=p(74222);const{kEnumerableProperty:V}=p(3440);const{MessagePort:K}=p(28167);class MessageEvent extends Event{#z;constructor(i,d={}){v.argumentLengthCheck(arguments,1,{header:"MessageEvent constructor"});i=v.converters.DOMString(i);d=v.converters.MessageEventInit(d);super(i,d);this.#z=d}get data(){v.brandCheck(this,MessageEvent);return this.#z.data}get origin(){v.brandCheck(this,MessageEvent);return this.#z.origin}get lastEventId(){v.brandCheck(this,MessageEvent);return this.#z.lastEventId}get source(){v.brandCheck(this,MessageEvent);return this.#z.source}get ports(){v.brandCheck(this,MessageEvent);if(!Object.isFrozen(this.#z.ports)){Object.freeze(this.#z.ports)}return this.#z.ports}initMessageEvent(i,d=false,p=false,V=null,K="",ee="",te=null,re=[]){v.brandCheck(this,MessageEvent);v.argumentLengthCheck(arguments,1,{header:"MessageEvent.initMessageEvent"});return new MessageEvent(i,{bubbles:d,cancelable:p,data:V,origin:K,lastEventId:ee,source:te,ports:re})}}class CloseEvent extends Event{#z;constructor(i,d={}){v.argumentLengthCheck(arguments,1,{header:"CloseEvent constructor"});i=v.converters.DOMString(i);d=v.converters.CloseEventInit(d);super(i,d);this.#z=d}get wasClean(){v.brandCheck(this,CloseEvent);return this.#z.wasClean}get code(){v.brandCheck(this,CloseEvent);return this.#z.code}get reason(){v.brandCheck(this,CloseEvent);return this.#z.reason}}class ErrorEvent extends Event{#z;constructor(i,d){v.argumentLengthCheck(arguments,1,{header:"ErrorEvent constructor"});super(i,d);i=v.converters.DOMString(i);d=v.converters.ErrorEventInit(d??{});this.#z=d}get message(){v.brandCheck(this,ErrorEvent);return this.#z.message}get filename(){v.brandCheck(this,ErrorEvent);return this.#z.filename}get lineno(){v.brandCheck(this,ErrorEvent);return this.#z.lineno}get colno(){v.brandCheck(this,ErrorEvent);return this.#z.colno}get error(){v.brandCheck(this,ErrorEvent);return this.#z.error}}Object.defineProperties(MessageEvent.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:true},data:V,origin:V,lastEventId:V,source:V,ports:V,initMessageEvent:V});Object.defineProperties(CloseEvent.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:true},reason:V,code:V,wasClean:V});Object.defineProperties(ErrorEvent.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:true},message:V,filename:V,lineno:V,colno:V,error:V});v.converters.MessagePort=v.interfaceConverter(K);v.converters["sequence"]=v.sequenceConverter(v.converters.MessagePort);const ee=[{key:"bubbles",converter:v.converters.boolean,defaultValue:false},{key:"cancelable",converter:v.converters.boolean,defaultValue:false},{key:"composed",converter:v.converters.boolean,defaultValue:false}];v.converters.MessageEventInit=v.dictionaryConverter([...ee,{key:"data",converter:v.converters.any,defaultValue:null},{key:"origin",converter:v.converters.USVString,defaultValue:""},{key:"lastEventId",converter:v.converters.DOMString,defaultValue:""},{key:"source",converter:v.nullableConverter(v.converters.MessagePort),defaultValue:null},{key:"ports",converter:v.converters["sequence"],get defaultValue(){return[]}}]);v.converters.CloseEventInit=v.dictionaryConverter([...ee,{key:"wasClean",converter:v.converters.boolean,defaultValue:false},{key:"code",converter:v.converters["unsigned short"],defaultValue:0},{key:"reason",converter:v.converters.USVString,defaultValue:""}]);v.converters.ErrorEventInit=v.dictionaryConverter([...ee,{key:"message",converter:v.converters.DOMString,defaultValue:""},{key:"filename",converter:v.converters.USVString,defaultValue:""},{key:"lineno",converter:v.converters["unsigned long"],defaultValue:0},{key:"colno",converter:v.converters["unsigned long"],defaultValue:0},{key:"error",converter:v.converters.any}]);i.exports={MessageEvent:MessageEvent,CloseEvent:CloseEvent,ErrorEvent:ErrorEvent}},31237:(i,d,p)=>{const{maxUnsigned16Bit:v}=p(45913);let V;try{V=p(76982)}catch{}class WebsocketFrameSend{constructor(i){this.frameData=i;this.maskKey=V.randomBytes(4)}createFrame(i){const d=this.frameData?.byteLength??0;let p=d;let V=6;if(d>v){V+=8;p=127}else if(d>125){V+=2;p=126}const K=Buffer.allocUnsafe(d+V);K[0]=K[1]=0;K[0]|=128;K[0]=(K[0]&240)+i; +/*! ws. MIT License. Einar Otto Stangvik */K[V-4]=this.maskKey[0];K[V-3]=this.maskKey[1];K[V-2]=this.maskKey[2];K[V-1]=this.maskKey[3];K[1]=p;if(p===126){K.writeUInt16BE(d,2)}else if(p===127){K[2]=K[3]=0;K.writeUIntBE(d,4,6)}K[1]|=128;for(let i=0;i{const{Writable:v}=p(2203);const V=p(31637);const{parserStates:K,opcodes:ee,states:te,emptyBuffer:re}=p(45913);const{kReadyState:ne,kSentClose:se,kResponse:ie,kReceivedClose:oe}=p(62933);const{isValidStatusCode:ae,failWebsocketConnection:Ae,websocketMessageReceived:ce}=p(3574);const{WebsocketFrameSend:le}=p(31237);const ue={};ue.ping=V.channel("undici:websocket:ping");ue.pong=V.channel("undici:websocket:pong");class ByteParser extends v{#K=[];#X=0;#y=K.INFO;#ee={};#te=[];constructor(i){super();this.ws=i}_write(i,d,p){this.#K.push(i);this.#X+=i.length;this.run(p)}run(i){while(true){if(this.#y===K.INFO){if(this.#X<2){return i()}const d=this.consume(2);this.#ee.fin=(d[0]&128)!==0;this.#ee.opcode=d[0]&15;this.#ee.originalOpcode??=this.#ee.opcode;this.#ee.fragmented=!this.#ee.fin&&this.#ee.opcode!==ee.CONTINUATION;if(this.#ee.fragmented&&this.#ee.opcode!==ee.BINARY&&this.#ee.opcode!==ee.TEXT){Ae(this.ws,"Invalid frame type was fragmented.");return}const p=d[1]&127;if(p<=125){this.#ee.payloadLength=p;this.#y=K.READ_DATA}else if(p===126){this.#y=K.PAYLOADLENGTH_16}else if(p===127){this.#y=K.PAYLOADLENGTH_64}if(this.#ee.fragmented&&p>125){Ae(this.ws,"Fragmented frame exceeded 125 bytes.");return}else if((this.#ee.opcode===ee.PING||this.#ee.opcode===ee.PONG||this.#ee.opcode===ee.CLOSE)&&p>125){Ae(this.ws,"Payload length for control frame exceeded 125 bytes.");return}else if(this.#ee.opcode===ee.CLOSE){if(p===1){Ae(this.ws,"Received close frame with a 1-byte body.");return}const i=this.consume(p);this.#ee.closeInfo=this.parseCloseBody(false,i);if(!this.ws[se]){const i=Buffer.allocUnsafe(2);i.writeUInt16BE(this.#ee.closeInfo.code,0);const d=new le(i);this.ws[ie].socket.write(d.createFrame(ee.CLOSE),(i=>{if(!i){this.ws[se]=true}}))}this.ws[ne]=te.CLOSING;this.ws[oe]=true;this.end();return}else if(this.#ee.opcode===ee.PING){const d=this.consume(p);if(!this.ws[oe]){const i=new le(d);this.ws[ie].socket.write(i.createFrame(ee.PONG));if(ue.ping.hasSubscribers){ue.ping.publish({payload:d})}}this.#y=K.INFO;if(this.#X>0){continue}else{i();return}}else if(this.#ee.opcode===ee.PONG){const d=this.consume(p);if(ue.pong.hasSubscribers){ue.pong.publish({payload:d})}if(this.#X>0){continue}else{i();return}}}else if(this.#y===K.PAYLOADLENGTH_16){if(this.#X<2){return i()}const d=this.consume(2);this.#ee.payloadLength=d.readUInt16BE(0);this.#y=K.READ_DATA}else if(this.#y===K.PAYLOADLENGTH_64){if(this.#X<8){return i()}const d=this.consume(8);const p=d.readUInt32BE(0);if(p>2**31-1){Ae(this.ws,"Received payload length > 2^31 bytes.");return}const v=d.readUInt32BE(4);this.#ee.payloadLength=(p<<8)+v;this.#y=K.READ_DATA}else if(this.#y===K.READ_DATA){if(this.#X=this.#ee.payloadLength){const i=this.consume(this.#ee.payloadLength);this.#te.push(i);if(!this.#ee.fragmented||this.#ee.fin&&this.#ee.opcode===ee.CONTINUATION){const i=Buffer.concat(this.#te);ce(this.ws,this.#ee.originalOpcode,i);this.#ee={};this.#te.length=0}this.#y=K.INFO}}if(this.#X>0){continue}else{i();break}}}consume(i){if(i>this.#X){return null}else if(i===0){return re}if(this.#K[0].length===i){this.#X-=this.#K[0].length;return this.#K.shift()}const d=Buffer.allocUnsafe(i);let p=0;while(p!==i){const v=this.#K[0];const{length:V}=v;if(V+p===i){d.set(this.#K.shift(),p);break}else if(V+p>i){d.set(v.subarray(0,i-p),p);this.#K[0]=v.subarray(i-p);break}else{d.set(this.#K.shift(),p);p+=v.length}}this.#X-=i;return d}parseCloseBody(i,d){let p;if(d.length>=2){p=d.readUInt16BE(0)}if(i){if(!ae(p)){return null}return{code:p}}let v=d.subarray(2);if(v[0]===239&&v[1]===187&&v[2]===191){v=v.subarray(3)}if(p!==undefined&&!ae(p)){return null}try{v=new TextDecoder("utf-8",{fatal:true}).decode(v)}catch{return null}return{code:p,reason:v}}get closingInfo(){return this.#ee.closeInfo}}i.exports={ByteParser:ByteParser}},62933:i=>{i.exports={kWebSocketURL:Symbol("url"),kReadyState:Symbol("ready state"),kController:Symbol("controller"),kResponse:Symbol("response"),kBinaryType:Symbol("binary type"),kSentClose:Symbol("sent close"),kReceivedClose:Symbol("received close"),kByteParser:Symbol("byte parser")}},3574:(i,d,p)=>{const{kReadyState:v,kController:V,kResponse:K,kBinaryType:ee,kWebSocketURL:te}=p(62933);const{states:re,opcodes:ne}=p(45913);const{MessageEvent:se,ErrorEvent:ie}=p(46255);function isEstablished(i){return i[v]===re.OPEN}function isClosing(i){return i[v]===re.CLOSING}function isClosed(i){return i[v]===re.CLOSED}function fireEvent(i,d,p=Event,v){const V=new p(i,v);d.dispatchEvent(V)}function websocketMessageReceived(i,d,p){if(i[v]!==re.OPEN){return}let V;if(d===ne.TEXT){try{V=new TextDecoder("utf-8",{fatal:true}).decode(p)}catch{failWebsocketConnection(i,"Received invalid UTF-8 in text frame.");return}}else if(d===ne.BINARY){if(i[ee]==="blob"){V=new Blob([p])}else{V=new Uint8Array(p).buffer}}fireEvent("message",i,se,{origin:i[te].origin,data:V})}function isValidSubprotocol(i){if(i.length===0){return false}for(const d of i){const i=d.charCodeAt(0);if(i<33||i>126||d==="("||d===")"||d==="<"||d===">"||d==="@"||d===","||d===";"||d===":"||d==="\\"||d==='"'||d==="/"||d==="["||d==="]"||d==="?"||d==="="||d==="{"||d==="}"||i===32||i===9){return false}}return true}function isValidStatusCode(i){if(i>=1e3&&i<1015){return i!==1004&&i!==1005&&i!==1006}return i>=3e3&&i<=4999}function failWebsocketConnection(i,d){const{[V]:p,[K]:v}=i;p.abort();if(v?.socket&&!v.socket.destroyed){v.socket.destroy()}if(d){fireEvent("error",i,ie,{error:new Error(d)})}}i.exports={isEstablished:isEstablished,isClosing:isClosing,isClosed:isClosed,fireEvent:fireEvent,isValidSubprotocol:isValidSubprotocol,isValidStatusCode:isValidStatusCode,failWebsocketConnection:failWebsocketConnection,websocketMessageReceived:websocketMessageReceived}},55171:(i,d,p)=>{const{webidl:v}=p(74222);const{DOMException:V}=p(87326);const{URLSerializer:K}=p(94322);const{getGlobalOrigin:ee}=p(75628);const{staticPropertyDescriptors:te,states:re,opcodes:ne,emptyBuffer:se}=p(45913);const{kWebSocketURL:ie,kReadyState:oe,kController:ae,kBinaryType:Ae,kResponse:ce,kSentClose:le,kByteParser:ue}=p(62933);const{isEstablished:de,isClosing:he,isValidSubprotocol:fe,failWebsocketConnection:ge,fireEvent:pe}=p(3574);const{establishWebSocketConnection:me}=p(68550);const{WebsocketFrameSend:Ee}=p(31237);const{ByteParser:Ce}=p(43171);const{kEnumerableProperty:ye,isBlobLike:Ie}=p(3440);const{getGlobalDispatcher:Be}=p(32581);const{types:Qe}=p(39023);let be=false;class WebSocket extends EventTarget{#P={open:null,error:null,close:null,message:null};#ae=0;#Ae="";#re="";constructor(i,d=[]){super();v.argumentLengthCheck(arguments,1,{header:"WebSocket constructor"});if(!be){be=true;process.emitWarning("WebSockets are experimental, expect them to change at any time.",{code:"UNDICI-WS"})}const p=v.converters["DOMString or sequence or WebSocketInit"](d);i=v.converters.USVString(i);d=p.protocols;const K=ee();let te;try{te=new URL(i,K)}catch(i){throw new V(i,"SyntaxError")}if(te.protocol==="http:"){te.protocol="ws:"}else if(te.protocol==="https:"){te.protocol="wss:"}if(te.protocol!=="ws:"&&te.protocol!=="wss:"){throw new V(`Expected a ws: or wss: protocol, got ${te.protocol}`,"SyntaxError")}if(te.hash||te.href.endsWith("#")){throw new V("Got fragment","SyntaxError")}if(typeof d==="string"){d=[d]}if(d.length!==new Set(d.map((i=>i.toLowerCase()))).size){throw new V("Invalid Sec-WebSocket-Protocol value","SyntaxError")}if(d.length>0&&!d.every((i=>fe(i)))){throw new V("Invalid Sec-WebSocket-Protocol value","SyntaxError")}this[ie]=new URL(te.href);this[ae]=me(te,d,this,(i=>this.#le(i)),p);this[oe]=WebSocket.CONNECTING;this[Ae]="blob"}close(i=undefined,d=undefined){v.brandCheck(this,WebSocket);if(i!==undefined){i=v.converters["unsigned short"](i,{clamp:true})}if(d!==undefined){d=v.converters.USVString(d)}if(i!==undefined){if(i!==1e3&&(i<3e3||i>4999)){throw new V("invalid code","InvalidAccessError")}}let p=0;if(d!==undefined){p=Buffer.byteLength(d);if(p>123){throw new V(`Reason must be less than 123 bytes; received ${p}`,"SyntaxError")}}if(this[oe]===WebSocket.CLOSING||this[oe]===WebSocket.CLOSED){}else if(!de(this)){ge(this,"Connection was closed before it was established.");this[oe]=WebSocket.CLOSING}else if(!he(this)){const v=new Ee;if(i!==undefined&&d===undefined){v.frameData=Buffer.allocUnsafe(2);v.frameData.writeUInt16BE(i,0)}else if(i!==undefined&&d!==undefined){v.frameData=Buffer.allocUnsafe(2+p);v.frameData.writeUInt16BE(i,0);v.frameData.write(d,2,"utf-8")}else{v.frameData=se}const V=this[ce].socket;V.write(v.createFrame(ne.CLOSE),(i=>{if(!i){this[le]=true}}));this[oe]=re.CLOSING}else{this[oe]=WebSocket.CLOSING}}send(i){v.brandCheck(this,WebSocket);v.argumentLengthCheck(arguments,1,{header:"WebSocket.send"});i=v.converters.WebSocketSendData(i);if(this[oe]===WebSocket.CONNECTING){throw new V("Sent before connected.","InvalidStateError")}if(!de(this)||he(this)){return}const d=this[ce].socket;if(typeof i==="string"){const p=Buffer.from(i);const v=new Ee(p);const V=v.createFrame(ne.TEXT);this.#ae+=p.byteLength;d.write(V,(()=>{this.#ae-=p.byteLength}))}else if(Qe.isArrayBuffer(i)){const p=Buffer.from(i);const v=new Ee(p);const V=v.createFrame(ne.BINARY);this.#ae+=p.byteLength;d.write(V,(()=>{this.#ae-=p.byteLength}))}else if(ArrayBuffer.isView(i)){const p=Buffer.from(i,i.byteOffset,i.byteLength);const v=new Ee(p);const V=v.createFrame(ne.BINARY);this.#ae+=p.byteLength;d.write(V,(()=>{this.#ae-=p.byteLength}))}else if(Ie(i)){const p=new Ee;i.arrayBuffer().then((i=>{const v=Buffer.from(i);p.frameData=v;const V=p.createFrame(ne.BINARY);this.#ae+=v.byteLength;d.write(V,(()=>{this.#ae-=v.byteLength}))}))}}get readyState(){v.brandCheck(this,WebSocket);return this[oe]}get bufferedAmount(){v.brandCheck(this,WebSocket);return this.#ae}get url(){v.brandCheck(this,WebSocket);return K(this[ie])}get extensions(){v.brandCheck(this,WebSocket);return this.#re}get protocol(){v.brandCheck(this,WebSocket);return this.#Ae}get onopen(){v.brandCheck(this,WebSocket);return this.#P.open}set onopen(i){v.brandCheck(this,WebSocket);if(this.#P.open){this.removeEventListener("open",this.#P.open)}if(typeof i==="function"){this.#P.open=i;this.addEventListener("open",i)}else{this.#P.open=null}}get onerror(){v.brandCheck(this,WebSocket);return this.#P.error}set onerror(i){v.brandCheck(this,WebSocket);if(this.#P.error){this.removeEventListener("error",this.#P.error)}if(typeof i==="function"){this.#P.error=i;this.addEventListener("error",i)}else{this.#P.error=null}}get onclose(){v.brandCheck(this,WebSocket);return this.#P.close}set onclose(i){v.brandCheck(this,WebSocket);if(this.#P.close){this.removeEventListener("close",this.#P.close)}if(typeof i==="function"){this.#P.close=i;this.addEventListener("close",i)}else{this.#P.close=null}}get onmessage(){v.brandCheck(this,WebSocket);return this.#P.message}set onmessage(i){v.brandCheck(this,WebSocket);if(this.#P.message){this.removeEventListener("message",this.#P.message)}if(typeof i==="function"){this.#P.message=i;this.addEventListener("message",i)}else{this.#P.message=null}}get binaryType(){v.brandCheck(this,WebSocket);return this[Ae]}set binaryType(i){v.brandCheck(this,WebSocket);if(i!=="blob"&&i!=="arraybuffer"){this[Ae]="blob"}else{this[Ae]=i}}#le(i){this[ce]=i;const d=new Ce(this);d.on("drain",(function onParserDrain(){this.ws[ce].socket.resume()}));i.socket.ws=this;this[ue]=d;this[oe]=re.OPEN;const p=i.headersList.get("sec-websocket-extensions");if(p!==null){this.#re=p}const v=i.headersList.get("sec-websocket-protocol");if(v!==null){this.#Ae=v}pe("open",this)}}WebSocket.CONNECTING=WebSocket.prototype.CONNECTING=re.CONNECTING;WebSocket.OPEN=WebSocket.prototype.OPEN=re.OPEN;WebSocket.CLOSING=WebSocket.prototype.CLOSING=re.CLOSING;WebSocket.CLOSED=WebSocket.prototype.CLOSED=re.CLOSED;Object.defineProperties(WebSocket.prototype,{CONNECTING:te,OPEN:te,CLOSING:te,CLOSED:te,url:ye,readyState:ye,bufferedAmount:ye,onopen:ye,onerror:ye,onclose:ye,close:ye,onmessage:ye,binaryType:ye,send:ye,extensions:ye,protocol:ye,[Symbol.toStringTag]:{value:"WebSocket",writable:false,enumerable:false,configurable:true}});Object.defineProperties(WebSocket,{CONNECTING:te,OPEN:te,CLOSING:te,CLOSED:te});v.converters["sequence"]=v.sequenceConverter(v.converters.DOMString);v.converters["DOMString or sequence"]=function(i){if(v.util.Type(i)==="Object"&&Symbol.iterator in i){return v.converters["sequence"](i)}return v.converters.DOMString(i)};v.converters.WebSocketInit=v.dictionaryConverter([{key:"protocols",converter:v.converters["DOMString or sequence"],get defaultValue(){return[]}},{key:"dispatcher",converter:i=>i,get defaultValue(){return Be()}},{key:"headers",converter:v.nullableConverter(v.converters.HeadersInit)}]);v.converters["DOMString or sequence or WebSocketInit"]=function(i){if(v.util.Type(i)==="Object"&&!(Symbol.iterator in i)){return v.converters.WebSocketInit(i)}return{protocols:v.converters["DOMString or sequence"](i)}};v.converters.WebSocketSendData=function(i){if(v.util.Type(i)==="Object"){if(Ie(i)){return v.converters.Blob(i,{strict:false})}if(ArrayBuffer.isView(i)||Qe.isAnyArrayBuffer(i)){return v.converters.BufferSource(i)}}return v.converters.USVString(i)};i.exports={WebSocket:WebSocket}},33843:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});function getUserAgent(){if(typeof navigator==="object"&&"userAgent"in navigator){return navigator.userAgent}if(typeof process==="object"&&"version"in process){return`Node.js/${process.version.substr(1)} (${process.platform}; ${process.arch})`}return""}d.getUserAgent=getUserAgent},45389:(i,d,p)=>{var v=p(2203);var V=p(39023).inherits;function Entry(){if(!(this instanceof Entry)){return new Entry}v.PassThrough.call(this);this.path=null;this.type=null;this.isDirectory=false}V(Entry,v.PassThrough);Entry.prototype.autodrain=function(){return this.pipe(new v.Transform({transform:function(i,d,p){p()}}))};i.exports=Entry},5700:(i,d,p)=>{var v=p(79896);var V=p(16928);var K=p(39023);var ee=p(4469);var te=p(2203).Transform;var re=p(85580);function Extract(i){if(!(this instanceof Extract))return new Extract(i);te.call(this);this.opts=i||{};this.unzipStream=new re(this.opts);this.unfinishedEntries=0;this.afterFlushWait=false;this.createdDirectories={};var d=this;this.unzipStream.on("entry",this._processEntry.bind(this));this.unzipStream.on("error",(function(i){d.emit("error",i)}))}K.inherits(Extract,te);Extract.prototype._transform=function(i,d,p){this.unzipStream.write(i,d,p)};Extract.prototype._flush=function(i){var d=this;var allDone=function(){process.nextTick((function(){d.emit("close")}));i()};this.unzipStream.end((function(){if(d.unfinishedEntries>0){d.afterFlushWait=true;return d.on("await-finished",allDone)}allDone()}))};Extract.prototype._processEntry=function(i){var d=this;var p=V.join(this.opts.path,i.path);var K=i.isDirectory?p:V.dirname(p);this.unfinishedEntries++;var writeFileFn=function(){var V=v.createWriteStream(p);V.on("close",(function(){d.unfinishedEntries--;d._notifyAwaiter()}));V.on("error",(function(i){d.emit("error",i)}));i.pipe(V)};if(this.createdDirectories[K]||K==="."){return writeFileFn()}ee(K,(function(p){if(p)return d.emit("error",p);d.createdDirectories[K]=true;if(i.isDirectory){d.unfinishedEntries--;d._notifyAwaiter();return}writeFileFn()}))};Extract.prototype._notifyAwaiter=function(){if(this.afterFlushWait&&this.unfinishedEntries===0){this.emit("await-finished");this.afterFlushWait=false}};i.exports=Extract},42092:(i,d,p)=>{var v=p(2203).Transform;var V=p(39023);function MatcherStream(i,d){if(!(this instanceof MatcherStream)){return new MatcherStream}v.call(this);var p=typeof i==="object"?i.pattern:i;this.pattern=Buffer.isBuffer(p)?p:Buffer.from(p);this.requiredLength=this.pattern.length;if(i.requiredExtraSize)this.requiredLength+=i.requiredExtraSize;this.data=new Buffer("");this.bytesSoFar=0;this.matchFn=d}V.inherits(MatcherStream,v);MatcherStream.prototype.checkDataChunk=function(i){var d=this.data.length>=this.requiredLength;if(!d){return}var p=this.data.indexOf(this.pattern,i?1:0);if(p>=0&&p+this.requiredLength>this.data.length){if(p>0){var v=this.data.slice(0,p);this.push(v);this.bytesSoFar+=p;this.data=this.data.slice(p)}return}if(p===-1){var V=this.data.length-this.requiredLength+1;var v=this.data.slice(0,V);this.push(v);this.bytesSoFar+=V;this.data=this.data.slice(V);return}if(p>0){var v=this.data.slice(0,p);this.data=this.data.slice(p);this.push(v);this.bytesSoFar+=p}var K=this.matchFn?this.matchFn(this.data,this.bytesSoFar):true;if(K){this.data=new Buffer("");return}return true};MatcherStream.prototype._transform=function(i,d,p){this.data=Buffer.concat([this.data,i]);var v=true;while(this.checkDataChunk(!v)){v=false}p()};MatcherStream.prototype._flush=function(i){if(this.data.length>0){var d=true;while(this.checkDataChunk(!d)){d=false}}if(this.data.length>0){this.push(this.data);this.data=null}i()};i.exports=MatcherStream},41879:(i,d,p)=>{var v=p(2203).Transform;var V=p(39023);var K=p(85580);function ParserStream(i){if(!(this instanceof ParserStream)){return new ParserStream(i)}var d=i||{};v.call(this,{readableObjectMode:true});this.opts=i||{};this.unzipStream=new K(this.opts);var p=this;this.unzipStream.on("entry",(function(i){p.push(i)}));this.unzipStream.on("error",(function(i){p.emit("error",i)}))}V.inherits(ParserStream,v);ParserStream.prototype._transform=function(i,d,p){this.unzipStream.write(i,d,p)};ParserStream.prototype._flush=function(i){var d=this;this.unzipStream.end((function(){process.nextTick((function(){d.emit("close")}));i()}))};ParserStream.prototype.on=function(i,d){if(i==="entry"){return v.prototype.on.call(this,"data",d)}return v.prototype.on.call(this,i,d)};ParserStream.prototype.drainAll=function(){this.unzipStream.drainAll();return this.pipe(new v({objectMode:true,transform:function(i,d,p){p()}}))};i.exports=ParserStream},85580:(i,d,p)=>{var v=p(58769);var V=p(2203);var K=p(39023);var ee=p(43106);var te=p(42092);var re=p(45389);const ne={STREAM_START:0,START:1,LOCAL_FILE_HEADER:2,LOCAL_FILE_HEADER_SUFFIX:3,FILE_DATA:4,FILE_DATA_END:5,DATA_DESCRIPTOR:6,CENTRAL_DIRECTORY_FILE_HEADER:7,CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX:8,CDIR64_END:9,CDIR64_END_DATA_SECTOR:10,CDIR64_LOCATOR:11,CENTRAL_DIRECTORY_END:12,CENTRAL_DIRECTORY_END_COMMENT:13,TRAILING_JUNK:14,ERROR:99};const se=4294967296;const ie=67324752;const oe=134695760;const ae=33639248;const Ae=101075792;const ce=117853008;const le=101010256;function UnzipStream(i){if(!(this instanceof UnzipStream)){return new UnzipStream(i)}V.Transform.call(this);this.options=i||{};this.data=new Buffer("");this.state=ne.STREAM_START;this.skippedBytes=0;this.parsedEntity=null;this.outStreamInfo={}}K.inherits(UnzipStream,V.Transform);UnzipStream.prototype.processDataChunk=function(i){var d;switch(this.state){case ne.STREAM_START:case ne.START:d=4;break;case ne.LOCAL_FILE_HEADER:d=26;break;case ne.LOCAL_FILE_HEADER_SUFFIX:d=this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength;break;case ne.DATA_DESCRIPTOR:d=12;break;case ne.CENTRAL_DIRECTORY_FILE_HEADER:d=42;break;case ne.CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX:d=this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength+this.parsedEntity.fileCommentLength;break;case ne.CDIR64_END:d=52;break;case ne.CDIR64_END_DATA_SECTOR:d=this.parsedEntity.centralDirectoryRecordSize-44;break;case ne.CDIR64_LOCATOR:d=16;break;case ne.CENTRAL_DIRECTORY_END:d=18;break;case ne.CENTRAL_DIRECTORY_END_COMMENT:d=this.parsedEntity.commentLength;break;case ne.FILE_DATA:return 0;case ne.FILE_DATA_END:return 0;case ne.TRAILING_JUNK:if(this.options.debug)console.log("found",i.length,"bytes of TRAILING_JUNK");return i.length;default:return i.length}var p=i.length;if(p>>8;if((K&255)===80){ee=te;break}}this.skippedBytes+=ee;if(this.options.debug)console.log("Skipped",this.skippedBytes,"bytes");return ee}this.state=ne.ERROR;var oe=V?"Not a valid zip file":"Invalid signature in zip file";if(this.options.debug){var ue=i.readUInt32LE(0);var de;try{de=i.slice(0,4).toString()}catch(i){}console.log("Unexpected signature in zip file: 0x"+ue.toString(16),'"'+de+'", skipped',this.skippedBytes,"bytes")}this.emit("error",new Error(oe));return i.length}this.skippedBytes=0;return d;case ne.LOCAL_FILE_HEADER:this.parsedEntity=this._readFile(i);this.state=ne.LOCAL_FILE_HEADER_SUFFIX;return d;case ne.LOCAL_FILE_HEADER_SUFFIX:var he=new re;var fe=(this.parsedEntity.flags&2048)!==0;he.path=this._decodeString(i.slice(0,this.parsedEntity.fileNameLength),fe);var ge=i.slice(this.parsedEntity.fileNameLength,this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength);var pe=this._readExtraFields(ge);if(pe&&pe.parsed){if(pe.parsed.path&&!fe){he.path=pe.parsed.path}if(Number.isFinite(pe.parsed.uncompressedSize)&&this.parsedEntity.uncompressedSize===se-1){this.parsedEntity.uncompressedSize=pe.parsed.uncompressedSize}if(Number.isFinite(pe.parsed.compressedSize)&&this.parsedEntity.compressedSize===se-1){this.parsedEntity.compressedSize=pe.parsed.compressedSize}}this.parsedEntity.extra=pe.parsed||{};if(this.options.debug){const i=Object.assign({},this.parsedEntity,{path:he.path,flags:"0x"+this.parsedEntity.flags.toString(16),extraFields:pe&&pe.debug});console.log("decoded LOCAL_FILE_HEADER:",JSON.stringify(i,null,2))}this._prepareOutStream(this.parsedEntity,he);this.emit("entry",he);this.state=ne.FILE_DATA;return d;case ne.CENTRAL_DIRECTORY_FILE_HEADER:this.parsedEntity=this._readCentralDirectoryEntry(i);this.state=ne.CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX;return d;case ne.CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX:var fe=(this.parsedEntity.flags&2048)!==0;var me=this._decodeString(i.slice(0,this.parsedEntity.fileNameLength),fe);var ge=i.slice(this.parsedEntity.fileNameLength,this.parsedEntity.fileNameLength+this.parsedEntity.extraFieldLength);var pe=this._readExtraFields(ge);if(pe&&pe.parsed&&pe.parsed.path&&!fe){me=pe.parsed.path}this.parsedEntity.extra=pe.parsed;var Ee=(this.parsedEntity.versionMadeBy&65280)>>8===3;var Ce,ye;if(Ee){Ce=this.parsedEntity.externalFileAttributes>>>16;var Ie=Ce>>>12;ye=(Ie&10)===10}if(this.options.debug){const i=Object.assign({},this.parsedEntity,{path:me,flags:"0x"+this.parsedEntity.flags.toString(16),unixAttrs:Ce&&"0"+Ce.toString(8),isSymlink:ye,extraFields:pe.debug});console.log("decoded CENTRAL_DIRECTORY_FILE_HEADER:",JSON.stringify(i,null,2))}this.state=ne.START;return d;case ne.CDIR64_END:this.parsedEntity=this._readEndOfCentralDirectory64(i);if(this.options.debug){console.log("decoded CDIR64_END_RECORD:",this.parsedEntity)}this.state=ne.CDIR64_END_DATA_SECTOR;return d;case ne.CDIR64_END_DATA_SECTOR:this.state=ne.START;return d;case ne.CDIR64_LOCATOR:this.state=ne.START;return d;case ne.CENTRAL_DIRECTORY_END:this.parsedEntity=this._readEndOfCentralDirectory(i);if(this.options.debug){console.log("decoded CENTRAL_DIRECTORY_END:",this.parsedEntity)}this.state=ne.CENTRAL_DIRECTORY_END_COMMENT;return d;case ne.CENTRAL_DIRECTORY_END_COMMENT:if(this.options.debug){console.log("decoded CENTRAL_DIRECTORY_END_COMMENT:",i.slice(0,d).toString())}this.state=ne.TRAILING_JUNK;return d;case ne.ERROR:return i.length;default:console.log("didn't handle state #",this.state,"discarding");return i.length}};UnzipStream.prototype._prepareOutStream=function(i,d){var p=this;var v=i.uncompressedSize===0&&/[\/\\]$/.test(d.path);d.path=d.path.replace(/(?<=^|[/\\]+)[.][.]+(?=[/\\]+|$)/g,".");d.type=v?"Directory":"File";d.isDirectory=v;var K=!(i.flags&8);if(K){d.size=i.uncompressedSize}var ie=i.versionsNeededToExtract<=45;this.outStreamInfo={stream:null,limit:K?i.compressedSize:-1,written:0};if(!K){var ae=new Buffer(4);ae.writeUInt32LE(oe,0);var Ae=i.extra.zip64Mode;var ce=Ae?20:12;var le={pattern:ae,requiredExtraSize:ce};var ue=new te(le,(function(i,d){var v=p._readDataDescriptor(i,Ae);var V=v.compressedSize===d;if(!Ae&&!V&&d>=se){var K=d-se;while(K>=0){V=v.compressedSize===K;if(V)break;K-=se}}if(!V){return}p.state=ne.FILE_DATA_END;var ee=Ae?24:16;if(p.data.length>0){p.data=Buffer.concat([i.slice(ee),p.data])}else{p.data=i.slice(ee)}return true}));this.outStreamInfo.stream=ue}else{this.outStreamInfo.stream=new V.PassThrough}var de=i.flags&1||i.flags&64;if(de||!ie){var he=de?"Encrypted files are not supported!":"Zip version "+Math.floor(i.versionsNeededToExtract/10)+"."+i.versionsNeededToExtract%10+" is not supported";d.skip=true;setImmediate((()=>{p.emit("error",new Error(he))}));this.outStreamInfo.stream.pipe((new re).autodrain());return}var fe=i.compressionMethod>0;if(fe){var ge=ee.createInflateRaw();ge.on("error",(function(i){p.state=ne.ERROR;p.emit("error",i)}));this.outStreamInfo.stream.pipe(ge).pipe(d)}else{this.outStreamInfo.stream.pipe(d)}if(this._drainAllEntries){d.autodrain()}};UnzipStream.prototype._readFile=function(i){var d=v.parse(i).word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").vars;return d};UnzipStream.prototype._readExtraFields=function(i){var d={};var p={parsed:d};if(this.options.debug){p.debug=[]}var V=0;while(V=ne+4&&re&1){d.mtime=new Date(i.readUInt32LE(V+ne)*1e3);ne+=4}if(K.extraSize>=ne+4&&re&2){d.atime=new Date(i.readUInt32LE(V+ne)*1e3);ne+=4}if(K.extraSize>=ne+4&&re&4){d.ctime=new Date(i.readUInt32LE(V+ne)*1e3)}break;case 28789:ee="Info-ZIP Unicode Path Extra Field";var se=i.readUInt8(V);if(se===1){var ne=1;var ie=i.readUInt32LE(V+ne);ne+=4;var oe=i.slice(V+ne);d.path=oe.toString()}break;case 13:case 22613:ee=K.extraId===13?"PKWARE Unix":"Info-ZIP UNIX (type 1)";var ne=0;if(K.extraSize>=8){var ae=new Date(i.readUInt32LE(V+ne)*1e3);ne+=4;var Ae=new Date(i.readUInt32LE(V+ne)*1e3);ne+=4;d.atime=ae;d.mtime=Ae;if(K.extraSize>=12){var ce=i.readUInt16LE(V+ne);ne+=2;var le=i.readUInt16LE(V+ne);ne+=2;d.uid=ce;d.gid=le}}break;case 30805:ee="Info-ZIP UNIX (type 2)";var ne=0;if(K.extraSize>=4){var ce=i.readUInt16LE(V+ne);ne+=2;var le=i.readUInt16LE(V+ne);ne+=2;d.uid=ce;d.gid=le}break;case 30837:ee="Info-ZIP New Unix";var ne=0;var ue=i.readUInt8(V);ne+=1;if(ue===1){var de=i.readUInt8(V+ne);ne+=1;if(de<=6){d.uid=i.readUIntLE(V+ne,de)}ne+=de;var he=i.readUInt8(V+ne);ne+=1;if(he<=6){d.gid=i.readUIntLE(V+ne,he)}}break;case 30062:ee="ASi Unix";var ne=0;if(K.extraSize>=14){var fe=i.readUInt32LE(V+ne);ne+=4;var ge=i.readUInt16LE(V+ne);ne+=2;var pe=i.readUInt32LE(V+ne);ne+=4;var ce=i.readUInt16LE(V+ne);ne+=2;var le=i.readUInt16LE(V+ne);ne+=2;d.mode=ge;d.uid=ce;d.gid=le;if(K.extraSize>14){var me=V+ne;var Ee=V+K.extraSize-14;var Ce=this._decodeString(i.slice(me,Ee));d.symlink=Ce}}break}if(this.options.debug){p.debug.push({extraId:"0x"+K.extraId.toString(16),description:ee,data:i.slice(V,V+K.extraSize).inspect()})}V+=K.extraSize}return p};UnzipStream.prototype._readDataDescriptor=function(i,d){if(d){var p=v.parse(i).word32lu("dataDescriptorSignature").word32lu("crc32").word64lu("compressedSize").word64lu("uncompressedSize").vars;return p}var p=v.parse(i).word32lu("dataDescriptorSignature").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").vars;return p};UnzipStream.prototype._readCentralDirectoryEntry=function(i){var d=v.parse(i).word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word16lu("flags").word16lu("compressionMethod").word16lu("lastModifiedTime").word16lu("lastModifiedDate").word32lu("crc32").word32lu("compressedSize").word32lu("uncompressedSize").word16lu("fileNameLength").word16lu("extraFieldLength").word16lu("fileCommentLength").word16lu("diskNumber").word16lu("internalFileAttributes").word32lu("externalFileAttributes").word32lu("offsetToLocalFileHeader").vars;return d};UnzipStream.prototype._readEndOfCentralDirectory64=function(i){var d=v.parse(i).word64lu("centralDirectoryRecordSize").word16lu("versionMadeBy").word16lu("versionsNeededToExtract").word32lu("diskNumber").word32lu("diskNumberWithCentralDirectoryStart").word64lu("centralDirectoryEntries").word64lu("totalCentralDirectoryEntries").word64lu("sizeOfCentralDirectory").word64lu("offsetToStartOfCentralDirectory").vars;return d};UnzipStream.prototype._readEndOfCentralDirectory=function(i){var d=v.parse(i).word16lu("diskNumber").word16lu("diskStart").word16lu("centralDirectoryEntries").word16lu("totalCentralDirectoryEntries").word32lu("sizeOfCentralDirectory").word32lu("offsetToStartOfCentralDirectory").word16lu("commentLength").vars;return d};const ue="\0☺☻♥♦♣♠•◘○◙♂♀♪♫☼►◄↕‼¶§▬↨↑↓→←∟↔▲▼ !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~⌂ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñѪº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ ";UnzipStream.prototype._decodeString=function(i,d){if(d){return i.toString("utf8")}if(this.options.decodeString){return this.options.decodeString(i)}let p="";for(var v=0;v0){this.data=this.data.slice(p);if(this.data.length===0)break}if(this.state===ne.FILE_DATA){if(this.outStreamInfo.limit>=0){var v=this.outStreamInfo.limit-this.outStreamInfo.written;var V;if(v{if(this.state===ne.FILE_DATA_END){this.state=ne.START;return K.end(d)}d()}))}return}d()};UnzipStream.prototype.drainAll=function(){this._drainAllEntries=true};UnzipStream.prototype._transform=function(i,d,p){var v=this;if(v.data.length>0){v.data=Buffer.concat([v.data,i])}else{v.data=i}var V=v.data.length;var done=function(){if(v.data.length>0&&v.data.length0){d._parseOrOutput("buffer",(function(){if(d.data.length>0)return setImmediate((function(){d._flush(i)}));i()}));return}if(d.state===ne.FILE_DATA){return i(new Error("Stream finished in an invalid state, uncompression failed"))}setImmediate(i)};i.exports=UnzipStream},33991:(i,d,p)=>{d.Parse=p(41879);d.Extract=p(5700)},24488:(i,d,p)=>{i.exports=p(39023).deprecate},58264:i=>{i.exports=wrappy;function wrappy(i,d){if(i&&d)return wrappy(i)(d);if(typeof i!=="function")throw new TypeError("need wrapper function");Object.keys(i).forEach((function(d){wrapper[d]=i[d]}));return wrapper;function wrapper(){var d=new Array(arguments.length);for(var p=0;p{ /** * ZipStream * @@ -88,7 +90,7 @@ const v=p(79896);const V=p(70857);const K=p(16928);const ee=p(76982);const te={f * @license [MIT]{@link https://github.com/archiverjs/node-zip-stream/blob/master/LICENSE} * @copyright (c) 2014 Chris Talkington, contributors. */ -var v=p(39023).inherits;var V=p(47544).ZipArchiveOutputStream;var K=p(47544).ZipArchiveEntry;var ee=p(53296);var te=i.exports=function(i){if(!(this instanceof te)){return new te(i)}i=this.options=i||{};i.zlib=i.zlib||{};V.call(this,i);if(typeof i.level==="number"&&i.level>=0){i.zlib.level=i.level;delete i.level}if(!i.forceZip64&&typeof i.zlib.level==="number"&&i.zlib.level===0){i.store=true}i.namePrependSlash=i.namePrependSlash||false;if(i.comment&&i.comment.length>0){this.setComment(i.comment)}};v(te,V);te.prototype._normalizeFileData=function(i){i=ee.defaults(i,{type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:""});var d=i.type==="directory";var p=i.type==="symlink";if(i.name){i.name=ee.sanitizePath(i.name);if(!p&&i.name.slice(-1)==="/"){d=true;i.type="directory"}else if(d){i.name+="/"}}if(d||p){i.store=true}i.date=ee.dateify(i.date);return i};te.prototype.entry=function(i,d,p){if(typeof p!=="function"){p=this._emitErrorCallback.bind(this)}d=this._normalizeFileData(d);if(d.type!=="file"&&d.type!=="directory"&&d.type!=="symlink"){p(new Error(d.type+" entries not currently supported"));return}if(typeof d.name!=="string"||d.name.length===0){p(new Error("entry name must be a non-empty string value"));return}if(d.type==="symlink"&&typeof d.linkname!=="string"){p(new Error("entry linkname must be a non-empty string value when type equals symlink"));return}var v=new K(d.name);v.setTime(d.date,this.options.forceLocalTime);if(d.namePrependSlash){v.setName(d.name,true)}if(d.store){v.setMethod(0)}if(d.comment.length>0){v.setComment(d.comment)}if(d.type==="symlink"&&typeof d.mode!=="number"){d.mode=40960}if(typeof d.mode==="number"){if(d.type==="symlink"){d.mode|=40960}v.setUnixMode(d.mode)}if(d.type==="symlink"&&typeof d.linkname==="string"){i=Buffer.from(d.linkname)}return V.prototype.entry.call(this,v,i,p)};te.prototype.finalize=function(){this.finish()}},42613:d=>{d.exports=i(import.meta.url)("assert")},90290:d=>{d.exports=i(import.meta.url)("async_hooks")},20181:d=>{d.exports=i(import.meta.url)("buffer")},35317:d=>{d.exports=i(import.meta.url)("child_process")},64236:d=>{d.exports=i(import.meta.url)("console")},49140:d=>{d.exports=i(import.meta.url)("constants")},76982:d=>{d.exports=i(import.meta.url)("crypto")},31637:d=>{d.exports=i(import.meta.url)("diagnostics_channel")},24434:d=>{d.exports=i(import.meta.url)("events")},79896:d=>{d.exports=i(import.meta.url)("fs")},91943:d=>{d.exports=i(import.meta.url)("fs/promises")},58611:d=>{d.exports=i(import.meta.url)("http")},85675:d=>{d.exports=i(import.meta.url)("http2")},65692:d=>{d.exports=i(import.meta.url)("https")},69278:d=>{d.exports=i(import.meta.url)("net")},34589:d=>{d.exports=i(import.meta.url)("node:assert")},16698:d=>{d.exports=i(import.meta.url)("node:async_hooks")},4573:d=>{d.exports=i(import.meta.url)("node:buffer")},37540:d=>{d.exports=i(import.meta.url)("node:console")},77598:d=>{d.exports=i(import.meta.url)("node:crypto")},53053:d=>{d.exports=i(import.meta.url)("node:diagnostics_channel")},40610:d=>{d.exports=i(import.meta.url)("node:dns")},78474:d=>{d.exports=i(import.meta.url)("node:events")},73024:d=>{d.exports=i(import.meta.url)("node:fs")},51455:d=>{d.exports=i(import.meta.url)("node:fs/promises")},37067:d=>{d.exports=i(import.meta.url)("node:http")},32467:d=>{d.exports=i(import.meta.url)("node:http2")},44708:d=>{d.exports=i(import.meta.url)("node:https")},77030:d=>{d.exports=i(import.meta.url)("node:net")},48161:d=>{d.exports=i(import.meta.url)("node:os")},76760:d=>{d.exports=i(import.meta.url)("node:path")},643:d=>{d.exports=i(import.meta.url)("node:perf_hooks")},1708:d=>{d.exports=i(import.meta.url)("node:process")},41792:d=>{d.exports=i(import.meta.url)("node:querystring")},57075:d=>{d.exports=i(import.meta.url)("node:stream")},41692:d=>{d.exports=i(import.meta.url)("node:tls")},73136:d=>{d.exports=i(import.meta.url)("node:url")},57975:d=>{d.exports=i(import.meta.url)("node:util")},73429:d=>{d.exports=i(import.meta.url)("node:util/types")},75919:d=>{d.exports=i(import.meta.url)("node:worker_threads")},38522:d=>{d.exports=i(import.meta.url)("node:zlib")},70857:d=>{d.exports=i(import.meta.url)("os")},16928:d=>{d.exports=i(import.meta.url)("path")},82987:d=>{d.exports=i(import.meta.url)("perf_hooks")},932:d=>{d.exports=i(import.meta.url)("process")},83480:d=>{d.exports=i(import.meta.url)("querystring")},2203:d=>{d.exports=i(import.meta.url)("stream")},63774:d=>{d.exports=i(import.meta.url)("stream/web")},13193:d=>{d.exports=i(import.meta.url)("string_decoder")},53557:d=>{d.exports=i(import.meta.url)("timers")},64756:d=>{d.exports=i(import.meta.url)("tls")},52018:d=>{d.exports=i(import.meta.url)("tty")},87016:d=>{d.exports=i(import.meta.url)("url")},39023:d=>{d.exports=i(import.meta.url)("util")},98253:d=>{d.exports=i(import.meta.url)("util/types")},28167:d=>{d.exports=i(import.meta.url)("worker_threads")},43106:d=>{d.exports=i(import.meta.url)("zlib")},59192:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.AbortError=void 0;class AbortError extends Error{constructor(i){super(i);this.name="AbortError"}}d.AbortError=AbortError},83134:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.AbortError=void 0;var v=p(59192);Object.defineProperty(d,"AbortError",{enumerable:true,get:function(){return v.AbortError}})},50198:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.AzureKeyCredential=void 0;class AzureKeyCredential{_key;get key(){return this._key}constructor(i){if(!i){throw new Error("key must be a non-empty string")}this._key=i}update(i){this._key=i}}d.AzureKeyCredential=AzureKeyCredential},41295:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.AzureNamedKeyCredential=void 0;d.isNamedKeyCredential=isNamedKeyCredential;const v=p(87779);class AzureNamedKeyCredential{_key;_name;get key(){return this._key}get name(){return this._name}constructor(i,d){if(!i||!d){throw new TypeError("name and key must be non-empty strings")}this._name=i;this._key=d}update(i,d){if(!i||!d){throw new TypeError("newName and newKey must be non-empty strings")}this._name=i;this._key=d}}d.AzureNamedKeyCredential=AzureNamedKeyCredential;function isNamedKeyCredential(i){return(0,v.isObjectWithProperties)(i,["name","key"])&&typeof i.key==="string"&&typeof i.name==="string"}},56608:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.AzureSASCredential=void 0;d.isSASCredential=isSASCredential;const v=p(87779);class AzureSASCredential{_signature;get signature(){return this._signature}constructor(i){if(!i){throw new Error("shared access signature must be a non-empty string")}this._signature=i}update(i){if(!i){throw new Error("shared access signature must be a non-empty string")}this._signature=i}}d.AzureSASCredential=AzureSASCredential;function isSASCredential(i){return(0,v.isObjectWithProperties)(i,["signature"])&&typeof i.signature==="string"}},50417:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.isTokenCredential=d.isSASCredential=d.AzureSASCredential=d.isNamedKeyCredential=d.AzureNamedKeyCredential=d.isKeyCredential=d.AzureKeyCredential=void 0;var v=p(50198);Object.defineProperty(d,"AzureKeyCredential",{enumerable:true,get:function(){return v.AzureKeyCredential}});var V=p(99155);Object.defineProperty(d,"isKeyCredential",{enumerable:true,get:function(){return V.isKeyCredential}});var K=p(41295);Object.defineProperty(d,"AzureNamedKeyCredential",{enumerable:true,get:function(){return K.AzureNamedKeyCredential}});Object.defineProperty(d,"isNamedKeyCredential",{enumerable:true,get:function(){return K.isNamedKeyCredential}});var ee=p(56608);Object.defineProperty(d,"AzureSASCredential",{enumerable:true,get:function(){return ee.AzureSASCredential}});Object.defineProperty(d,"isSASCredential",{enumerable:true,get:function(){return ee.isSASCredential}});var te=p(86881);Object.defineProperty(d,"isTokenCredential",{enumerable:true,get:function(){return te.isTokenCredential}})},99155:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.isKeyCredential=isKeyCredential;const v=p(87779);function isKeyCredential(i){return(0,v.isObjectWithProperties)(i,["key"])&&typeof i.key==="string"}},86881:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.isBearerToken=isBearerToken;d.isPopToken=isPopToken;d.isTokenCredential=isTokenCredential;function isBearerToken(i){return!i.tokenType||i.tokenType==="Bearer"}function isPopToken(i){return i.tokenType==="pop"}function isTokenCredential(i){const d=i;return d&&typeof d.getToken==="function"&&(d.signRequest===undefined||d.getToken.length>0)}},17698:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.parseCAEChallenge=parseCAEChallenge;d.authorizeRequestOnClaimChallenge=authorizeRequestOnClaimChallenge;const v=p(89994);const V=p(20741);function parseCAEChallenge(i){const d=`, ${i.trim()}`.split(", Bearer ").filter((i=>i));return d.map((i=>{const d=`${i.trim()}, `.split('", ').filter((i=>i));const p=d.map((i=>(([i,d])=>({[i]:d}))(i.trim().split('="'))));return p.reduce(((i,d)=>({...i,...d})),{})}))}async function authorizeRequestOnClaimChallenge(i){const{scopes:d,response:p}=i;const K=i.logger||v.logger;const ee=p.headers.get("WWW-Authenticate");if(!ee){K.info(`The WWW-Authenticate header was missing. Failed to perform the Continuous Access Evaluation authentication flow.`);return false}const te=parseCAEChallenge(ee)||[];const re=te.find((i=>i.claims));if(!re){K.info(`The WWW-Authenticate header was missing the necessary "claims" to perform the Continuous Access Evaluation authentication flow.`);return false}const ne=await i.getAccessToken(re.scope?[re.scope]:d,{claims:(0,V.decodeStringToString)(re.claims)});if(!ne){return false}i.request.headers.set("Authorization",`${ne.tokenType??"Bearer"} ${ne.token}`);return true}},97454:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.authorizeRequestOnTenantChallenge=void 0;const p={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function isUuid(i){return/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(i)}const authorizeRequestOnTenantChallenge=async i=>{const d=requestToOptions(i.request);const v=getChallenge(i.response);if(v){const V=parseChallenge(v);const K=buildScopes(i,V);const ee=extractTenantId(V);if(!ee){return false}const te=await i.getAccessToken(K,{...d,tenantId:ee});if(!te){return false}i.request.headers.set(p.HeaderConstants.AUTHORIZATION,`${te.tokenType??"Bearer"} ${te.token}`);return true}return false};d.authorizeRequestOnTenantChallenge=authorizeRequestOnTenantChallenge;function extractTenantId(i){const d=new URL(i.authorization_uri);const p=d.pathname.split("/");const v=p[1];if(v&&isUuid(v)){return v}return undefined}function buildScopes(i,d){if(!d.resource_id){return i.scopes}const v=new URL(d.resource_id);v.pathname=p.DefaultScope;let V=v.toString();if(V==="https://disk.azure.com/.default"){V="https://disk.azure.com//.default"}return[V]}function getChallenge(i){const d=i.headers.get("WWW-Authenticate");if(i.status===401&&d){return d}return}function parseChallenge(i){const d=i.slice("Bearer ".length);const p=`${d.trim()} `.split(" ").filter((i=>i));const v=p.map((i=>(([i,d])=>({[i]:d}))(i.trim().split("="))));return v.reduce(((i,d)=>({...i,...d})),{})}function requestToOptions(i){return{abortSignal:i.abortSignal,requestOptions:{timeout:i.timeout},tracingOptions:i.tracingOptions}}},20741:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.encodeString=encodeString;d.encodeByteArray=encodeByteArray;d.decodeString=decodeString;d.decodeStringToString=decodeStringToString;function encodeString(i){return Buffer.from(i).toString("base64")}function encodeByteArray(i){const d=i instanceof Buffer?i:Buffer.from(i.buffer);return d.toString("base64")}function decodeString(i){return Buffer.from(i,"base64")}function decodeStringToString(i){return Buffer.from(i,"base64").toString()}},90111:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.deserializationPolicyName=void 0;d.deserializationPolicy=deserializationPolicy;const v=p(56058);const V=p(20778);const K=p(31530);const ee=p(19688);const te=["application/json","text/json"];const re=["application/xml","application/atom+xml"];d.deserializationPolicyName="deserializationPolicy";function deserializationPolicy(i={}){const p=i.expectedContentTypes?.json??te;const V=i.expectedContentTypes?.xml??re;const K=i.parseXML;const ee=i.serializerOptions;const ne={xml:{rootName:ee?.xml.rootName??"",includeRoot:ee?.xml.includeRoot??false,xmlCharKey:ee?.xml.xmlCharKey??v.XML_CHARKEY}};return{name:d.deserializationPolicyName,async sendRequest(i,d){const v=await d(i);return deserializeResponseBody(p,V,v,ne,K)}}}function getOperationResponseMap(i){let d;const p=i.request;const v=(0,ee.getOperationRequestInfo)(p);const V=v?.operationSpec;if(V){if(!v?.operationResponseGetter){d=V.responses[i.status]}else{d=v?.operationResponseGetter(V,i)}}return d}function shouldDeserializeResponse(i){const d=i.request;const p=(0,ee.getOperationRequestInfo)(d);const v=p?.shouldDeserialize;let V;if(v===undefined){V=true}else if(typeof v==="boolean"){V=v}else{V=v(i)}return V}async function deserializeResponseBody(i,d,p,v,te){const re=await parse(i,d,p,v,te);if(!shouldDeserializeResponse(re)){return re}const ne=(0,ee.getOperationRequestInfo)(re.request);const ie=ne?.operationSpec;if(!ie||!ie.responses){return re}const se=getOperationResponseMap(re);const{error:oe,shouldReturnResponse:ae}=handleErrorResponse(re,ie,se,v);if(oe){throw oe}else if(ae){return re}if(se){if(se.bodyMapper){let i=re.parsedBody;if(ie.isXML&&se.bodyMapper.type.name===K.MapperTypeNames.Sequence){i=typeof i==="object"?i[se.bodyMapper.xmlElementName]:[]}try{re.parsedBody=ie.serializer.deserialize(se.bodyMapper,i,"operationRes.parsedBody",v)}catch(i){const d=new V.RestError(`Error ${i} occurred in deserializing the responseBody - ${re.bodyAsText}`,{statusCode:re.status,request:re.request,response:re});throw d}}else if(ie.httpMethod==="HEAD"){re.parsedBody=p.status>=200&&p.status<300}if(se.headersMapper){re.parsedHeaders=ie.serializer.deserialize(se.headersMapper,re.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:true})}}return re}function isOperationSpecEmpty(i){const d=Object.keys(i.responses);return d.length===0||d.length===1&&d[0]==="default"}function handleErrorResponse(i,d,p,v){const ee=200<=i.status&&i.status<300;const te=isOperationSpecEmpty(d)?ee:!!p;if(te){if(p){if(!p.isError){return{error:null,shouldReturnResponse:false}}}else{return{error:null,shouldReturnResponse:false}}}const re=p??d.responses.default;const ne=i.request.streamResponseStatusCodes?.has(i.status)?`Unexpected status code: ${i.status}`:i.bodyAsText;const ie=new V.RestError(ne,{statusCode:i.status,request:i.request,response:i});if(!re&&!(i.parsedBody?.error?.code&&i.parsedBody?.error?.message)){throw ie}const se=re?.bodyMapper;const oe=re?.headersMapper;try{if(i.parsedBody){const p=i.parsedBody;let V;if(se){let i=p;if(d.isXML&&se.type.name===K.MapperTypeNames.Sequence){i=[];const d=se.xmlElementName;if(typeof p==="object"&&d){i=p[d]}}V=d.serializer.deserialize(se,i,"error.response.parsedBody",v)}const ee=p.error||V||p;ie.code=ee.code;if(ee.message){ie.message=ee.message}if(se){ie.response.parsedBody=V}}if(i.headers&&oe){ie.response.parsedHeaders=d.serializer.deserialize(oe,i.headers.toJSON(),"operationRes.parsedHeaders")}}catch(d){ie.message=`Error "${d.message}" occurred in deserializing the responseBody - "${i.bodyAsText}" for the default response.`}return{error:ie,shouldReturnResponse:false}}async function parse(i,d,p,v,K){if(!p.request.streamResponseStatusCodes?.has(p.status)&&p.bodyAsText){const ee=p.bodyAsText;const te=p.headers.get("Content-Type")||"";const re=!te?[]:te.split(";").map((i=>i.toLowerCase()));try{if(re.length===0||re.some((d=>i.indexOf(d)!==-1))){p.parsedBody=JSON.parse(ee);return p}else if(re.some((i=>d.indexOf(i)!==-1))){if(!K){throw new Error("Parsing XML not supported.")}const i=await K(ee,v.xml);p.parsedBody=i;return p}}catch(i){const d=`Error "${i}" occurred while parsing the response body - ${p.bodyAsText}.`;const v=i.code||V.RestError.PARSE_ERROR;const K=new V.RestError(d,{code:v,statusCode:p.status,request:p.request,response:p});throw K}}return p}},26323:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getCachedDefaultHttpClient=getCachedDefaultHttpClient;const v=p(20778);let V;function getCachedDefaultHttpClient(){if(!V){V=(0,v.createDefaultHttpClient)()}return V}},60160:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.authorizeRequestOnTenantChallenge=d.authorizeRequestOnClaimChallenge=d.serializationPolicyName=d.serializationPolicy=d.deserializationPolicyName=d.deserializationPolicy=d.XML_CHARKEY=d.XML_ATTRKEY=d.createClientPipeline=d.ServiceClient=d.MapperTypeNames=d.createSerializer=void 0;var v=p(31530);Object.defineProperty(d,"createSerializer",{enumerable:true,get:function(){return v.createSerializer}});Object.defineProperty(d,"MapperTypeNames",{enumerable:true,get:function(){return v.MapperTypeNames}});var V=p(89544);Object.defineProperty(d,"ServiceClient",{enumerable:true,get:function(){return V.ServiceClient}});var K=p(74136);Object.defineProperty(d,"createClientPipeline",{enumerable:true,get:function(){return K.createClientPipeline}});var ee=p(56058);Object.defineProperty(d,"XML_ATTRKEY",{enumerable:true,get:function(){return ee.XML_ATTRKEY}});Object.defineProperty(d,"XML_CHARKEY",{enumerable:true,get:function(){return ee.XML_CHARKEY}});var te=p(90111);Object.defineProperty(d,"deserializationPolicy",{enumerable:true,get:function(){return te.deserializationPolicy}});Object.defineProperty(d,"deserializationPolicyName",{enumerable:true,get:function(){return te.deserializationPolicyName}});var re=p(56234);Object.defineProperty(d,"serializationPolicy",{enumerable:true,get:function(){return re.serializationPolicy}});Object.defineProperty(d,"serializationPolicyName",{enumerable:true,get:function(){return re.serializationPolicyName}});var ne=p(17698);Object.defineProperty(d,"authorizeRequestOnClaimChallenge",{enumerable:true,get:function(){return ne.authorizeRequestOnClaimChallenge}});var ie=p(97454);Object.defineProperty(d,"authorizeRequestOnTenantChallenge",{enumerable:true,get:function(){return ie.authorizeRequestOnTenantChallenge}})},92066:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getStreamingResponseStatusCodes=getStreamingResponseStatusCodes;d.getPathStringFromParameter=getPathStringFromParameter;const v=p(31530);function getStreamingResponseStatusCodes(i){const d=new Set;for(const p in i.responses){const V=i.responses[p];if(V.bodyMapper&&V.bodyMapper.type.name===v.MapperTypeNames.Stream){d.add(Number(p))}}return d}function getPathStringFromParameter(i){const{parameterPath:d,mapper:p}=i;let v;if(typeof d==="string"){v=d}else if(Array.isArray(d)){v=d.join(".")}else{v=p.serializedName}return v}},56058:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.XML_CHARKEY=d.XML_ATTRKEY=void 0;d.XML_ATTRKEY="$";d.XML_CHARKEY="_"},89994:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.logger=void 0;const v=p(26515);d.logger=(0,v.createClientLogger)("core-client")},19688:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getOperationArgumentValueFromParameter=getOperationArgumentValueFromParameter;d.getOperationRequestInfo=getOperationRequestInfo;const v=p(33345);function getOperationArgumentValueFromParameter(i,d,p){let v=d.parameterPath;const V=d.mapper;let K;if(typeof v==="string"){v=[v]}if(Array.isArray(v)){if(v.length>0){if(V.isConstant){K=V.defaultValue}else{let d=getPropertyFromParameterPath(i,v);if(!d.propertyFound&&p){d=getPropertyFromParameterPath(p,v)}let ee=false;if(!d.propertyFound){ee=V.required||v[0]==="options"&&v.length===2}K=ee?V.defaultValue:d.propertyValue}}}else{if(V.required){K={}}for(const d in v){const ee=V.type.modelProperties[d];const te=v[d];const re=getOperationArgumentValueFromParameter(i,{parameterPath:te,mapper:ee},p);if(re!==undefined){if(!K){K={}}K[d]=re}}}return K}function getPropertyFromParameterPath(i,d){const p={propertyFound:false};let v=0;for(;v{Object.defineProperty(d,"__esModule",{value:true});d.createClientPipeline=createClientPipeline;const v=p(90111);const V=p(20778);const K=p(56234);function createClientPipeline(i={}){const d=(0,V.createPipelineFromOptions)(i??{});if(i.credentialOptions){d.addPolicy((0,V.bearerTokenAuthenticationPolicy)({credential:i.credentialOptions.credential,scopes:i.credentialOptions.credentialScopes}))}d.addPolicy((0,K.serializationPolicy)(i.serializationOptions),{phase:"Serialize"});d.addPolicy((0,v.deserializationPolicy)(i.deserializationOptions),{phase:"Deserialize"});return d}},56234:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.serializationPolicyName=void 0;d.serializationPolicy=serializationPolicy;d.serializeHeaders=serializeHeaders;d.serializeRequestBody=serializeRequestBody;const v=p(56058);const V=p(19688);const K=p(31530);const ee=p(92066);d.serializationPolicyName="serializationPolicy";function serializationPolicy(i={}){const p=i.stringifyXML;return{name:d.serializationPolicyName,async sendRequest(i,d){const v=(0,V.getOperationRequestInfo)(i);const K=v?.operationSpec;const ee=v?.operationArguments;if(K&&ee){serializeHeaders(i,ee,K);serializeRequestBody(i,ee,K,p)}return d(i)}}}function serializeHeaders(i,d,p){if(p.headerParameters){for(const v of p.headerParameters){let K=(0,V.getOperationArgumentValueFromParameter)(d,v);if(K!==null&&K!==undefined||v.mapper.required){K=p.serializer.serialize(v.mapper,K,(0,ee.getPathStringFromParameter)(v));const d=v.mapper.headerCollectionPrefix;if(d){for(const p of Object.keys(K)){i.headers.set(d+p,K[p])}}else{i.headers.set(v.mapper.serializedName||(0,ee.getPathStringFromParameter)(v),K)}}}}const v=d.options?.requestOptions?.customHeaders;if(v){for(const d of Object.keys(v)){i.headers.set(d,v[d])}}}function serializeRequestBody(i,d,p,te=function(){throw new Error("XML serialization unsupported!")}){const re=d.options?.serializerOptions;const ne={xml:{rootName:re?.xml.rootName??"",includeRoot:re?.xml.includeRoot??false,xmlCharKey:re?.xml.xmlCharKey??v.XML_CHARKEY}};const ie=ne.xml.xmlCharKey;if(p.requestBody&&p.requestBody.mapper){i.body=(0,V.getOperationArgumentValueFromParameter)(d,p.requestBody);const v=p.requestBody.mapper;const{required:re,serializedName:se,xmlName:oe,xmlElementName:ae,xmlNamespace:ce,xmlNamespacePrefix:le,nullable:ue}=v;const Ae=v.type.name;try{if(i.body!==undefined&&i.body!==null||ue&&i.body===null||re){const d=(0,ee.getPathStringFromParameter)(p.requestBody);i.body=p.serializer.serialize(v,i.body,d,ne);const V=Ae===K.MapperTypeNames.Stream;if(p.isXML){const d=le?`xmlns:${le}`:"xmlns";const p=getXmlValueWithNamespace(ce,d,Ae,i.body,ne);if(Ae===K.MapperTypeNames.Sequence){i.body=te(prepareXMLRootList(p,ae||oe||se,d,ce),{rootName:oe||se,xmlCharKey:ie})}else if(!V){i.body=te(p,{rootName:oe||se,xmlCharKey:ie})}}else if(Ae===K.MapperTypeNames.String&&(p.contentType?.match("text/plain")||p.mediaType==="text")){return}else if(!V){i.body=JSON.stringify(i.body)}}}catch(i){throw new Error(`Error "${i.message}" occurred in serializing the payload - ${JSON.stringify(se,undefined," ")}.`)}}else if(p.formDataParameters&&p.formDataParameters.length>0){i.formData={};for(const v of p.formDataParameters){const K=(0,V.getOperationArgumentValueFromParameter)(d,v);if(K!==undefined&&K!==null){const d=v.mapper.serializedName||(0,ee.getPathStringFromParameter)(v);i.formData[d]=p.serializer.serialize(v.mapper,K,(0,ee.getPathStringFromParameter)(v),ne)}}}}function getXmlValueWithNamespace(i,d,p,V,K){if(i&&!["Composite","Sequence","Dictionary"].includes(p)){const p={};p[K.xml.xmlCharKey]=V;p[v.XML_ATTRKEY]={[d]:i};return p}return V}function prepareXMLRootList(i,d,p,V){if(!Array.isArray(i)){i=[i]}if(!p||!V){return{[d]:i}}const K={[d]:i};K[v.XML_ATTRKEY]={[p]:V};return K}},31530:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.MapperTypeNames=void 0;d.createSerializer=createSerializer;const v=p(61860);const V=v.__importStar(p(20741));const K=p(56058);const ee=p(31193);class SerializerImpl{modelMappers;isXML;constructor(i={},d=false){this.modelMappers=i;this.isXML=d}validateConstraints(i,d,p){const failValidation=(i,v)=>{throw new Error(`"${p}" with value "${d}" should satisfy the constraint "${i}": ${v}.`)};if(i.constraints&&d!==undefined&&d!==null){const{ExclusiveMaximum:p,ExclusiveMinimum:v,InclusiveMaximum:V,InclusiveMinimum:K,MaxItems:ee,MaxLength:te,MinItems:re,MinLength:ne,MultipleOf:ie,Pattern:se,UniqueItems:oe}=i.constraints;if(p!==undefined&&d>=p){failValidation("ExclusiveMaximum",p)}if(v!==undefined&&d<=v){failValidation("ExclusiveMinimum",v)}if(V!==undefined&&d>V){failValidation("InclusiveMaximum",V)}if(K!==undefined&&dee){failValidation("MaxItems",ee)}if(te!==undefined&&d.length>te){failValidation("MaxLength",te)}if(re!==undefined&&d.lengthp.indexOf(i)!==d))){failValidation("UniqueItems",oe)}}}serialize(i,d,p,v={xml:{}}){const V={xml:{rootName:v.xml.rootName??"",includeRoot:v.xml.includeRoot??false,xmlCharKey:v.xml.xmlCharKey??K.XML_CHARKEY}};let ee={};const te=i.type.name;if(!p){p=i.serializedName}if(te.match(/^Sequence$/i)!==null){ee=[]}if(i.isConstant){d=i.defaultValue}const{required:re,nullable:ne}=i;if(re&&ne&&d===undefined){throw new Error(`${p} cannot be undefined.`)}if(re&&!ne&&(d===undefined||d===null)){throw new Error(`${p} cannot be null or undefined.`)}if(!re&&ne===false&&d===null){throw new Error(`${p} cannot be null.`)}if(d===undefined||d===null){ee=d}else{if(te.match(/^any$/i)!==null){ee=d}else if(te.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)!==null){ee=serializeBasicTypes(te,p,d)}else if(te.match(/^Enum$/i)!==null){const v=i;ee=serializeEnumType(p,v.type.allowedValues,d)}else if(te.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null){ee=serializeDateTypes(te,d,p)}else if(te.match(/^ByteArray$/i)!==null){ee=serializeByteArrayType(p,d)}else if(te.match(/^Base64Url$/i)!==null){ee=serializeBase64UrlType(p,d)}else if(te.match(/^Sequence$/i)!==null){ee=serializeSequenceType(this,i,d,p,Boolean(this.isXML),V)}else if(te.match(/^Dictionary$/i)!==null){ee=serializeDictionaryType(this,i,d,p,Boolean(this.isXML),V)}else if(te.match(/^Composite$/i)!==null){ee=serializeCompositeType(this,i,d,p,Boolean(this.isXML),V)}}return ee}deserialize(i,d,p,v={xml:{}}){const ee={xml:{rootName:v.xml.rootName??"",includeRoot:v.xml.includeRoot??false,xmlCharKey:v.xml.xmlCharKey??K.XML_CHARKEY},ignoreUnknownProperties:v.ignoreUnknownProperties??false};if(d===undefined||d===null){if(this.isXML&&i.type.name==="Sequence"&&!i.xmlIsWrapped){d=[]}if(i.defaultValue!==undefined){d=i.defaultValue}return d}let te;const re=i.type.name;if(!p){p=i.serializedName}if(re.match(/^Composite$/i)!==null){te=deserializeCompositeType(this,i,d,p,ee)}else{if(this.isXML){const i=ee.xml.xmlCharKey;if(d[K.XML_ATTRKEY]!==undefined&&d[i]!==undefined){d=d[i]}}if(re.match(/^Number$/i)!==null){te=parseFloat(d);if(isNaN(te)){te=d}}else if(re.match(/^Boolean$/i)!==null){if(d==="true"){te=true}else if(d==="false"){te=false}else{te=d}}else if(re.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)!==null){te=d}else if(re.match(/^(Date|DateTime|DateTimeRfc1123)$/i)!==null){te=new Date(d)}else if(re.match(/^UnixTime$/i)!==null){te=unixTimeToDate(d)}else if(re.match(/^ByteArray$/i)!==null){te=V.decodeString(d)}else if(re.match(/^Base64Url$/i)!==null){te=base64UrlToByteArray(d)}else if(re.match(/^Sequence$/i)!==null){te=deserializeSequenceType(this,i,d,p,ee)}else if(re.match(/^Dictionary$/i)!==null){te=deserializeDictionaryType(this,i,d,p,ee)}}if(i.isConstant){te=i.defaultValue}return te}}function createSerializer(i={},d=false){return new SerializerImpl(i,d)}function trimEnd(i,d){let p=i.length;while(p-1>=0&&i[p-1]===d){--p}return i.substr(0,p)}function bufferToBase64Url(i){if(!i){return undefined}if(!(i instanceof Uint8Array)){throw new Error(`Please provide an input of type Uint8Array for converting to Base64Url.`)}const d=V.encodeByteArray(i);return trimEnd(d,"=").replace(/\+/g,"-").replace(/\//g,"_")}function base64UrlToByteArray(i){if(!i){return undefined}if(i&&typeof i.valueOf()!=="string"){throw new Error("Please provide an input of type string for converting to Uint8Array")}i=i.replace(/-/g,"+").replace(/_/g,"/");return V.decodeString(i)}function splitSerializeName(i){const d=[];let p="";if(i){const v=i.split(".");for(const i of v){if(i.charAt(i.length-1)==="\\"){p+=i.substr(0,i.length-1)+"."}else{p+=i;d.push(p);p=""}}}return d}function dateToUnixTime(i){if(!i){return undefined}if(typeof i.valueOf()==="string"){i=new Date(i)}return Math.floor(i.getTime()/1e3)}function unixTimeToDate(i){if(!i){return undefined}return new Date(i*1e3)}function serializeBasicTypes(i,d,p){if(p!==null&&p!==undefined){if(i.match(/^Number$/i)!==null){if(typeof p!=="number"){throw new Error(`${d} with value ${p} must be of type number.`)}}else if(i.match(/^String$/i)!==null){if(typeof p.valueOf()!=="string"){throw new Error(`${d} with value "${p}" must be of type string.`)}}else if(i.match(/^Uuid$/i)!==null){if(!(typeof p.valueOf()==="string"&&(0,ee.isValidUuid)(p))){throw new Error(`${d} with value "${p}" must be of type string and a valid uuid.`)}}else if(i.match(/^Boolean$/i)!==null){if(typeof p!=="boolean"){throw new Error(`${d} with value ${p} must be of type boolean.`)}}else if(i.match(/^Stream$/i)!==null){const i=typeof p;if(i!=="string"&&typeof p.pipe!=="function"&&typeof p.tee!=="function"&&!(p instanceof ArrayBuffer)&&!ArrayBuffer.isView(p)&&!((typeof Blob==="function"||typeof Blob==="object")&&p instanceof Blob)&&i!=="function"){throw new Error(`${d} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}}return p}function serializeEnumType(i,d,p){if(!d){throw new Error(`Please provide a set of allowedValues to validate ${i} as an Enum Type.`)}const v=d.some((i=>{if(typeof i.valueOf()==="string"){return i.toLowerCase()===p.toLowerCase()}return i===p}));if(!v){throw new Error(`${p} is not a valid value for ${i}. The valid values are: ${JSON.stringify(d)}.`)}return p}function serializeByteArrayType(i,d){if(d!==undefined&&d!==null){if(!(d instanceof Uint8Array)){throw new Error(`${i} must be of type Uint8Array.`)}d=V.encodeByteArray(d)}return d}function serializeBase64UrlType(i,d){if(d!==undefined&&d!==null){if(!(d instanceof Uint8Array)){throw new Error(`${i} must be of type Uint8Array.`)}d=bufferToBase64Url(d)}return d}function serializeDateTypes(i,d,p){if(d!==undefined&&d!==null){if(i.match(/^Date$/i)!==null){if(!(d instanceof Date||typeof d.valueOf()==="string"&&!isNaN(Date.parse(d)))){throw new Error(`${p} must be an instanceof Date or a string in ISO8601 format.`)}d=d instanceof Date?d.toISOString().substring(0,10):new Date(d).toISOString().substring(0,10)}else if(i.match(/^DateTime$/i)!==null){if(!(d instanceof Date||typeof d.valueOf()==="string"&&!isNaN(Date.parse(d)))){throw new Error(`${p} must be an instanceof Date or a string in ISO8601 format.`)}d=d instanceof Date?d.toISOString():new Date(d).toISOString()}else if(i.match(/^DateTimeRfc1123$/i)!==null){if(!(d instanceof Date||typeof d.valueOf()==="string"&&!isNaN(Date.parse(d)))){throw new Error(`${p} must be an instanceof Date or a string in RFC-1123 format.`)}d=d instanceof Date?d.toUTCString():new Date(d).toUTCString()}else if(i.match(/^UnixTime$/i)!==null){if(!(d instanceof Date||typeof d.valueOf()==="string"&&!isNaN(Date.parse(d)))){throw new Error(`${p} must be an instanceof Date or a string in RFC-1123/ISO8601 format `+`for it to be serialized in UnixTime/Epoch format.`)}d=dateToUnixTime(d)}else if(i.match(/^TimeSpan$/i)!==null){if(!(0,ee.isDuration)(d)){throw new Error(`${p} must be a string in ISO 8601 format. Instead was "${d}".`)}}}return d}function serializeSequenceType(i,d,p,v,V,ee){if(!Array.isArray(p)){throw new Error(`${v} must be of type Array.`)}let te=d.type.element;if(!te||typeof te!=="object"){throw new Error(`element" metadata for an Array must be defined in the `+`mapper and it must of type "object" in ${v}.`)}if(te.type.name==="Composite"&&te.type.className){te=i.modelMappers[te.type.className]??te}const re=[];for(let d=0;di!==V));if(K){te[V]=i.serialize(ne,p[V],v+'["'+V+'"]',ee)}}}return te}return p}function getXmlObjectValue(i,d,p,v){if(!p||!i.xmlNamespace){return d}const V=i.xmlNamespacePrefix?`xmlns:${i.xmlNamespacePrefix}`:"xmlns";const ee={[V]:i.xmlNamespace};if(["Composite"].includes(i.type.name)){if(d[K.XML_ATTRKEY]){return d}else{const i={...d};i[K.XML_ATTRKEY]=ee;return i}}const te={};te[v.xml.xmlCharKey]=d;te[K.XML_ATTRKEY]=ee;return te}function isSpecialXmlProperty(i,d){return[K.XML_ATTRKEY,d.xml.xmlCharKey].includes(i)}function deserializeCompositeType(i,d,p,v,V){const ee=V.xml.xmlCharKey??K.XML_CHARKEY;if(getPolymorphicDiscriminatorRecursively(i,d)){d=getPolymorphicMapper(i,d,p,"serializedName")}const te=resolveModelProperties(i,d,v);let re={};const ne=[];for(const ie of Object.keys(te)){const se=te[ie];const oe=splitSerializeName(te[ie].serializedName);ne.push(oe[0]);const{serializedName:ae,xmlName:ce,xmlElementName:le}=se;let ue=v;if(ae!==""&&ae!==undefined){ue=v+"."+ae}const Ae=se.headerCollectionPrefix;if(Ae){const d={};for(const v of Object.keys(p)){if(v.startsWith(Ae)){d[v.substring(Ae.length)]=i.deserialize(se.type.value,p[v],ue,V)}ne.push(v)}re[ie]=d}else if(i.isXML){if(se.xmlIsAttribute&&p[K.XML_ATTRKEY]){re[ie]=i.deserialize(se,p[K.XML_ATTRKEY][ce],ue,V)}else if(se.xmlIsMsText){if(p[ee]!==undefined){re[ie]=p[ee]}else if(typeof p==="string"){re[ie]=p}}else{const d=le||ce||ae;if(se.xmlIsWrapped){const d=p[ce];const v=d?.[le]??[];re[ie]=i.deserialize(se,v,ue,V);ne.push(ce)}else{const v=p[d];re[ie]=i.deserialize(se,v,ue,V);ne.push(d)}}}else{let v;let K=p;let ee=0;for(const i of oe){if(!K)break;ee++;K=K[i]}if(K===null&&ee{for(const d in te){const p=splitSerializeName(te[d].serializedName);if(p[0]===i){return false}}return true};for(const d in p){if(isAdditionalProperty(d)){re[d]=i.deserialize(ie,p[d],v+'["'+d+'"]',V)}}}else if(p&&!V.ignoreUnknownProperties){for(const i of Object.keys(p)){if(re[i]===undefined&&!ne.includes(i)&&!isSpecialXmlProperty(i,V)){re[i]=p[i]}}}return re}function deserializeDictionaryType(i,d,p,v,V){const K=d.type.value;if(!K||typeof K!=="object"){throw new Error(`"value" metadata for a Dictionary must be defined in the `+`mapper and it must of type "object" in ${v}`)}if(p){const d={};for(const ee of Object.keys(p)){d[ee]=i.deserialize(K,p[ee],v,V)}return d}return p}function deserializeSequenceType(i,d,p,v,V){let K=d.type.element;if(!K||typeof K!=="object"){throw new Error(`element" metadata for an Array must be defined in the `+`mapper and it must of type "object" in ${v}`)}if(p){if(!Array.isArray(p)){p=[p]}if(K.type.name==="Composite"&&K.type.className){K=i.modelMappers[K.type.className]??K}const d=[];for(let ee=0;ee{Object.defineProperty(d,"__esModule",{value:true});d.ServiceClient=void 0;const v=p(20778);const V=p(74136);const K=p(31193);const ee=p(26323);const te=p(19688);const re=p(61752);const ne=p(92066);const ie=p(89994);class ServiceClient{_endpoint;_requestContentType;_allowInsecureConnection;_httpClient;pipeline;constructor(i={}){this._requestContentType=i.requestContentType;this._endpoint=i.endpoint??i.baseUri;if(i.baseUri){ie.logger.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead.")}this._allowInsecureConnection=i.allowInsecureConnection;this._httpClient=i.httpClient||(0,ee.getCachedDefaultHttpClient)();this.pipeline=i.pipeline||createDefaultPipeline(i);if(i.additionalPolicies?.length){for(const{policy:d,position:p}of i.additionalPolicies){const i=p==="perRetry"?"Sign":undefined;this.pipeline.addPolicy(d,{afterPhase:i})}}}async sendRequest(i){return this.pipeline.sendRequest(this._httpClient,i)}async sendOperationRequest(i,d){const p=d.baseUrl||this._endpoint;if(!p){throw new Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a endpoint string property that contains the base URL to use.")}const V=(0,re.getRequestUrl)(p,d,i,this);const ee=(0,v.createPipelineRequest)({url:V});ee.method=d.httpMethod;const ie=(0,te.getOperationRequestInfo)(ee);ie.operationSpec=d;ie.operationArguments=i;const se=d.contentType||this._requestContentType;if(se&&d.requestBody){ee.headers.set("Content-Type",se)}const oe=i.options;if(oe){const i=oe.requestOptions;if(i){if(i.timeout){ee.timeout=i.timeout}if(i.onUploadProgress){ee.onUploadProgress=i.onUploadProgress}if(i.onDownloadProgress){ee.onDownloadProgress=i.onDownloadProgress}if(i.shouldDeserialize!==undefined){ie.shouldDeserialize=i.shouldDeserialize}if(i.allowInsecureConnection){ee.allowInsecureConnection=true}}if(oe.abortSignal){ee.abortSignal=oe.abortSignal}if(oe.tracingOptions){ee.tracingOptions=oe.tracingOptions}}if(this._allowInsecureConnection){ee.allowInsecureConnection=true}if(ee.streamResponseStatusCodes===undefined){ee.streamResponseStatusCodes=(0,ne.getStreamingResponseStatusCodes)(d)}try{const i=await this.sendRequest(ee);const p=(0,K.flattenResponse)(i,d.responses[i.status]);if(oe?.onResponse){oe.onResponse(i,p)}return p}catch(i){if(typeof i==="object"&&i?.response){const p=i.response;const v=(0,K.flattenResponse)(p,d.responses[i.statusCode]||d.responses["default"]);i.details=v;if(oe?.onResponse){oe.onResponse(p,v,i)}}throw i}}}d.ServiceClient=ServiceClient;function createDefaultPipeline(i){const d=getCredentialScopes(i);const p=i.credential&&d?{credentialScopes:d,credential:i.credential}:undefined;return(0,V.createClientPipeline)({...i,credentialOptions:p})}function getCredentialScopes(i){if(i.credentialScopes){return i.credentialScopes}if(i.endpoint){return`${i.endpoint}/.default`}if(i.baseUri){return`${i.baseUri}/.default`}if(i.credential&&!i.credentialScopes){throw new Error(`When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy`)}return undefined}},33345:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.state=void 0;d.state={operationRequestMap:new WeakMap}},61752:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getRequestUrl=getRequestUrl;d.appendQueryParams=appendQueryParams;const v=p(19688);const V=p(92066);const K={CSV:",",SSV:" ",Multi:"Multi",TSV:"\t",Pipes:"|"};function getRequestUrl(i,d,p,v){const V=calculateUrlReplacements(d,p,v);let K=false;let ee=replaceAll(i,V);if(d.path){let i=replaceAll(d.path,V);if(d.path==="/{nextLink}"&&i.startsWith("/")){i=i.substring(1)}if(isAbsoluteUrl(i)){ee=i;K=true}else{ee=appendPath(ee,i)}}const{queryParams:te,sequenceParams:re}=calculateQueryParameters(d,p,v);ee=appendQueryParams(ee,te,re,K);return ee}function replaceAll(i,d){let p=i;for(const[i,v]of d){p=p.split(i).join(v)}return p}function calculateUrlReplacements(i,d,p){const K=new Map;if(i.urlParameters?.length){for(const ee of i.urlParameters){let te=(0,v.getOperationArgumentValueFromParameter)(d,ee,p);const re=(0,V.getPathStringFromParameter)(ee);te=i.serializer.serialize(ee.mapper,te,re);if(!ee.skipEncoding){te=encodeURIComponent(te)}K.set(`{${ee.mapper.serializedName||re}}`,te)}}return K}function isAbsoluteUrl(i){return i.includes("://")}function appendPath(i,d){if(!d){return i}const p=new URL(i);let v=p.pathname;if(!v.endsWith("/")){v=`${v}/`}if(d.startsWith("/")){d=d.substring(1)}const V=d.indexOf("?");if(V!==-1){const i=d.substring(0,V);const K=d.substring(V+1);v=v+i;if(K){p.search=p.search?`${p.search}&${K}`:K}}else{v=v+d}p.pathname=v;return p.toString()}function calculateQueryParameters(i,d,p){const ee=new Map;const te=new Set;if(i.queryParameters?.length){for(const re of i.queryParameters){if(re.mapper.type.name==="Sequence"&&re.mapper.serializedName){te.add(re.mapper.serializedName)}let ne=(0,v.getOperationArgumentValueFromParameter)(d,re,p);if(ne!==undefined&&ne!==null||re.mapper.required){ne=i.serializer.serialize(re.mapper,ne,(0,V.getPathStringFromParameter)(re));const d=re.collectionFormat?K[re.collectionFormat]:"";if(Array.isArray(ne)){ne=ne.map((i=>{if(i===null||i===undefined){return""}return i}))}if(re.collectionFormat==="Multi"&&ne.length===0){continue}else if(Array.isArray(ne)&&(re.collectionFormat==="SSV"||re.collectionFormat==="TSV")){ne=ne.join(d)}if(!re.skipEncoding){if(Array.isArray(ne)){ne=ne.map((i=>encodeURIComponent(i)))}else{ne=encodeURIComponent(ne)}}if(Array.isArray(ne)&&(re.collectionFormat==="CSV"||re.collectionFormat==="Pipes")){ne=ne.join(d)}ee.set(re.mapper.serializedName||(0,V.getPathStringFromParameter)(re),ne)}}}return{queryParams:ee,sequenceParams:te}}function simpleParseQueryParams(i){const d=new Map;if(!i||i[0]!=="?"){return d}i=i.slice(1);const p=i.split("&");for(const i of p){const[p,v]=i.split("=",2);const V=d.get(p);if(V){if(Array.isArray(V)){V.push(v)}else{d.set(p,[V,v])}}else{d.set(p,v)}}return d}function appendQueryParams(i,d,p,v=false){if(d.size===0){return i}const V=new URL(i);const K=simpleParseQueryParams(V.search);for(const[i,V]of d){const d=K.get(i);if(Array.isArray(d)){if(Array.isArray(V)){d.push(...V);const p=new Set(d);K.set(i,Array.from(p))}else{d.push(V)}}else if(d){if(Array.isArray(V)){V.unshift(d)}else if(p.has(i)){K.set(i,[d,V])}if(!v){K.set(i,V)}}else{K.set(i,V)}}const ee=[];for(const[i,d]of K){if(typeof d==="string"){ee.push(`${i}=${d}`)}else if(Array.isArray(d)){for(const p of d){ee.push(`${i}=${p}`)}}else{ee.push(`${i}=${d}`)}}V.search=ee.length?`?${ee.join("&")}`:"";return V.toString()}},31193:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.isPrimitiveBody=isPrimitiveBody;d.isDuration=isDuration;d.isValidUuid=isValidUuid;d.flattenResponse=flattenResponse;function isPrimitiveBody(i,d){return d!=="Composite"&&d!=="Dictionary"&&(typeof i==="string"||typeof i==="number"||typeof i==="boolean"||d?.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i)!==null||i===undefined||i===null)}const p=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function isDuration(i){return p.test(i)}const v=/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i;function isValidUuid(i){return v.test(i)}function handleNullableResponseAndWrappableBody(i){const d={...i.headers,...i.body};if(i.hasNullableType&&Object.getOwnPropertyNames(d).length===0){return i.shouldWrapBody?{body:null}:null}else{return i.shouldWrapBody?{...i.headers,body:i.body}:d}}function flattenResponse(i,d){const p=i.parsedHeaders;if(i.request.method==="HEAD"){return{...p,body:i.parsedBody}}const v=d&&d.bodyMapper;const V=Boolean(v?.nullable);const K=v?.type.name;if(K==="Stream"){return{...p,blobBody:i.blobBody,readableStreamBody:i.readableStreamBody}}const ee=K==="Composite"&&v.type.modelProperties||{};const te=Object.keys(ee).some((i=>ee[i].serializedName===""));if(K==="Sequence"||te){const d=i.parsedBody??[];for(const p of Object.keys(ee)){if(ee[p].serializedName){d[p]=i.parsedBody?.[p]}}if(p){for(const i of Object.keys(p)){d[i]=p[i]}}return V&&!i.parsedBody&&!p&&Object.getOwnPropertyNames(ee).length===0?null:d}return handleNullableResponseAndWrappableBody({body:i.parsedBody,headers:p,hasNullableType:V,shouldWrapBody:isPrimitiveBody(i.parsedBody,K)})}},95492:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ExtendedServiceClient=void 0;const v=p(32639);const V=p(20778);const K=p(60160);const ee=p(38153);class ExtendedServiceClient extends K.ServiceClient{constructor(i){super(i);if(i.keepAliveOptions?.enable===false&&!(0,v.pipelineContainsDisableKeepAlivePolicy)(this.pipeline)){this.pipeline.addPolicy((0,v.createDisableKeepAlivePolicy)())}if(i.redirectOptions?.handleRedirects===false){this.pipeline.removePolicy({name:V.redirectPolicyName})}}async sendOperationRequest(i,d){const p=i?.options?.onResponse;let v;function onResponse(i,d,V){v=i;if(p){p(i,d,V)}}i.options={...i.options,onResponse:onResponse};const V=await super.sendOperationRequest(i,d);if(v){Object.defineProperty(V,"_response",{value:(0,ee.toCompatResponse)(v)})}return V}}d.ExtendedServiceClient=ExtendedServiceClient},2078:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.convertHttpClient=convertHttpClient;const v=p(38153);const V=p(33850);function convertHttpClient(i){return{sendRequest:async d=>{const p=await i.sendRequest((0,V.toWebResourceLike)(d,{createProxy:true}));return(0,v.toPipelineResponse)(p)}}}},61584:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.toHttpHeadersLike=d.convertHttpClient=d.disableKeepAlivePolicyName=d.HttpPipelineLogLevel=d.createRequestPolicyFactoryPolicy=d.requestPolicyFactoryPolicyName=d.ExtendedServiceClient=void 0;var v=p(95492);Object.defineProperty(d,"ExtendedServiceClient",{enumerable:true,get:function(){return v.ExtendedServiceClient}});var V=p(3466);Object.defineProperty(d,"requestPolicyFactoryPolicyName",{enumerable:true,get:function(){return V.requestPolicyFactoryPolicyName}});Object.defineProperty(d,"createRequestPolicyFactoryPolicy",{enumerable:true,get:function(){return V.createRequestPolicyFactoryPolicy}});Object.defineProperty(d,"HttpPipelineLogLevel",{enumerable:true,get:function(){return V.HttpPipelineLogLevel}});var K=p(32639);Object.defineProperty(d,"disableKeepAlivePolicyName",{enumerable:true,get:function(){return K.disableKeepAlivePolicyName}});var ee=p(2078);Object.defineProperty(d,"convertHttpClient",{enumerable:true,get:function(){return ee.convertHttpClient}});var te=p(33850);Object.defineProperty(d,"toHttpHeadersLike",{enumerable:true,get:function(){return te.toHttpHeadersLike}})},32639:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.disableKeepAlivePolicyName=void 0;d.createDisableKeepAlivePolicy=createDisableKeepAlivePolicy;d.pipelineContainsDisableKeepAlivePolicy=pipelineContainsDisableKeepAlivePolicy;d.disableKeepAlivePolicyName="DisableKeepAlivePolicy";function createDisableKeepAlivePolicy(){return{name:d.disableKeepAlivePolicyName,async sendRequest(i,d){i.disableKeepAlive=true;return d(i)}}}function pipelineContainsDisableKeepAlivePolicy(i){return i.getOrderedPolicies().some((i=>i.name===d.disableKeepAlivePolicyName))}},3466:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.requestPolicyFactoryPolicyName=d.HttpPipelineLogLevel=void 0;d.createRequestPolicyFactoryPolicy=createRequestPolicyFactoryPolicy;const v=p(33850);const V=p(38153);var K;(function(i){i[i["ERROR"]=1]="ERROR";i[i["INFO"]=3]="INFO";i[i["OFF"]=0]="OFF";i[i["WARNING"]=2]="WARNING"})(K||(d.HttpPipelineLogLevel=K={}));const ee={log(i,d){},shouldLog(i){return false}};d.requestPolicyFactoryPolicyName="RequestPolicyFactoryPolicy";function createRequestPolicyFactoryPolicy(i){const p=i.slice().reverse();return{name:d.requestPolicyFactoryPolicyName,async sendRequest(i,d){let K={async sendRequest(i){const p=await d((0,v.toPipelineRequest)(i));return(0,V.toCompatResponse)(p,{createProxy:true})}};for(const i of p){K=i.create(K,ee)}const te=(0,v.toWebResourceLike)(i,{createProxy:true});const re=await K.sendRequest(te);return(0,V.toPipelineResponse)(re)}}}},38153:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.toCompatResponse=toCompatResponse;d.toPipelineResponse=toPipelineResponse;const v=p(20778);const V=p(33850);const K=Symbol("Original FullOperationResponse");function toCompatResponse(i,d){let p=(0,V.toWebResourceLike)(i.request);let v=(0,V.toHttpHeadersLike)(i.headers);if(d?.createProxy){return new Proxy(i,{get(d,V,ee){if(V==="headers"){return v}else if(V==="request"){return p}else if(V===K){return i}return Reflect.get(d,V,ee)},set(i,d,V,K){if(d==="headers"){v=V}else if(d==="request"){p=V}return Reflect.set(i,d,V,K)}})}else{return{...i,request:p,headers:v}}}function toPipelineResponse(i){const d=i;const p=d[K];const ee=(0,v.createHttpHeaders)(i.headers.toJson({preserveCase:true}));if(p){p.headers=ee;return p}else{return{...i,headers:ee,request:(0,V.toPipelineRequest)(i.request)}}}},33850:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.HttpHeaders=void 0;d.toPipelineRequest=toPipelineRequest;d.toWebResourceLike=toWebResourceLike;d.toHttpHeadersLike=toHttpHeadersLike;const v=p(20778);const V=Symbol("Original PipelineRequest");const K=Symbol.for("@azure/core-client original request");function toPipelineRequest(i,d={}){const p=i;const ee=p[V];const te=(0,v.createHttpHeaders)(i.headers.toJson({preserveCase:true}));if(ee){ee.headers=te;return ee}else{const p=(0,v.createPipelineRequest)({url:i.url,method:i.method,headers:te,withCredentials:i.withCredentials,timeout:i.timeout,requestId:i.requestId,abortSignal:i.abortSignal,body:i.body,formData:i.formData,disableKeepAlive:!!i.keepAlive,onDownloadProgress:i.onDownloadProgress,onUploadProgress:i.onUploadProgress,proxySettings:i.proxySettings,streamResponseStatusCodes:i.streamResponseStatusCodes,agent:i.agent,requestOverrides:i.requestOverrides});if(d.originalRequest){p[K]=d.originalRequest}return p}}function toWebResourceLike(i,d){const p=d?.originalRequest??i;const v={url:i.url,method:i.method,headers:toHttpHeadersLike(i.headers),withCredentials:i.withCredentials,timeout:i.timeout,requestId:i.headers.get("x-ms-client-request-id")||i.requestId,abortSignal:i.abortSignal,body:i.body,formData:i.formData,keepAlive:!!i.disableKeepAlive,onDownloadProgress:i.onDownloadProgress,onUploadProgress:i.onUploadProgress,proxySettings:i.proxySettings,streamResponseStatusCodes:i.streamResponseStatusCodes,agent:i.agent,requestOverrides:i.requestOverrides,clone(){throw new Error("Cannot clone a non-proxied WebResourceLike")},prepare(){throw new Error("WebResourceLike.prepare() is not supported by @azure/core-http-compat")},validateRequestProperties(){}};if(d?.createProxy){return new Proxy(v,{get(d,K,ee){if(K===V){return i}else if(K==="clone"){return()=>toWebResourceLike(toPipelineRequest(v,{originalRequest:p}),{createProxy:true,originalRequest:p})}return Reflect.get(d,K,ee)},set(d,p,v,V){if(p==="keepAlive"){i.disableKeepAlive=!v}const K=["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"];if(typeof p==="string"&&K.includes(p)){i[p]=v}return Reflect.set(d,p,v,V)}})}else{return v}}function toHttpHeadersLike(i){return new HttpHeaders(i.toJSON({preserveCase:true}))}function getHeaderKey(i){return i.toLowerCase()}class HttpHeaders{_headersMap;constructor(i){this._headersMap={};if(i){for(const d in i){this.set(d,i[d])}}}set(i,d){this._headersMap[getHeaderKey(i)]={name:i,value:d.toString()}}get(i){const d=this._headersMap[getHeaderKey(i)];return!d?undefined:d.value}contains(i){return!!this._headersMap[getHeaderKey(i)]}remove(i){const d=this.contains(i);delete this._headersMap[getHeaderKey(i)];return d}rawHeaders(){return this.toJson({preserveCase:true})}headersArray(){const i=[];for(const d in this._headersMap){i.push(this._headersMap[d])}return i}headerNames(){const i=[];const d=this.headersArray();for(let p=0;p{Object.defineProperty(d,"__esModule",{value:true});d.DEFAULT_RETRY_POLICY_COUNT=d.SDK_VERSION=void 0;d.SDK_VERSION="1.22.2";d.DEFAULT_RETRY_POLICY_COUNT=3},90862:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createPipelineFromOptions=createPipelineFromOptions;const v=p(53253);const V=p(29590);const K=p(64087);const ee=p(32799);const te=p(45807);const re=p(39295);const ne=p(48170);const ie=p(75497);const se=p(87779);const oe=p(32815);const ae=p(95686);const ce=p(18554);const le=p(75798);const ue=p(93237);const Ae=p(37466);function createPipelineFromOptions(i){const d=(0,V.createEmptyPipeline)();if(se.isNodeLike){if(i.agent){d.addPolicy((0,ce.agentPolicy)(i.agent))}if(i.tlsOptions){d.addPolicy((0,le.tlsPolicy)(i.tlsOptions))}d.addPolicy((0,oe.proxyPolicy)(i.proxyOptions));d.addPolicy((0,re.decompressResponsePolicy)())}d.addPolicy((0,Ae.wrapAbortSignalLikePolicy)());d.addPolicy((0,ie.formDataPolicy)(),{beforePolicies:[te.multipartPolicyName]});d.addPolicy((0,ee.userAgentPolicy)(i.userAgentOptions));d.addPolicy((0,ae.setClientRequestIdPolicy)(i.telemetryOptions?.clientRequestIdHeaderName));d.addPolicy((0,te.multipartPolicy)(),{afterPhase:"Deserialize"});d.addPolicy((0,ne.defaultRetryPolicy)(i.retryOptions),{phase:"Retry"});d.addPolicy((0,ue.tracingPolicy)({...i.userAgentOptions,...i.loggingOptions}),{afterPhase:"Retry"});if(se.isNodeLike){d.addPolicy((0,K.redirectPolicy)(i.redirectOptions),{afterPhase:"Retry"})}d.addPolicy((0,v.logPolicy)(i.loggingOptions),{afterPhase:"Sign"});return d}},7960:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createDefaultHttpClient=createDefaultHttpClient;const v=p(41958);const V=p(91297);function createDefaultHttpClient(){const i=(0,v.createDefaultHttpClient)();return{async sendRequest(d){const{abortSignal:p,cleanup:v}=d.abortSignal?(0,V.wrapAbortSignalLike)(d.abortSignal):{};try{d.abortSignal=p;return await i.sendRequest(d)}finally{v?.()}}}}},192:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createHttpHeaders=createHttpHeaders;const v=p(41958);function createHttpHeaders(i){return(0,v.createHttpHeaders)(i)}},20778:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createFileFromStream=d.createFile=d.agentPolicyName=d.agentPolicy=d.auxiliaryAuthenticationHeaderPolicyName=d.auxiliaryAuthenticationHeaderPolicy=d.ndJsonPolicyName=d.ndJsonPolicy=d.bearerTokenAuthenticationPolicyName=d.bearerTokenAuthenticationPolicy=d.formDataPolicyName=d.formDataPolicy=d.tlsPolicyName=d.tlsPolicy=d.userAgentPolicyName=d.userAgentPolicy=d.defaultRetryPolicy=d.tracingPolicyName=d.tracingPolicy=d.retryPolicy=d.throttlingRetryPolicyName=d.throttlingRetryPolicy=d.systemErrorRetryPolicyName=d.systemErrorRetryPolicy=d.redirectPolicyName=d.redirectPolicy=d.getDefaultProxySettings=d.proxyPolicyName=d.proxyPolicy=d.multipartPolicyName=d.multipartPolicy=d.logPolicyName=d.logPolicy=d.setClientRequestIdPolicyName=d.setClientRequestIdPolicy=d.exponentialRetryPolicyName=d.exponentialRetryPolicy=d.decompressResponsePolicyName=d.decompressResponsePolicy=d.isRestError=d.RestError=d.createPipelineRequest=d.createHttpHeaders=d.createDefaultHttpClient=d.createPipelineFromOptions=d.createEmptyPipeline=void 0;var v=p(29590);Object.defineProperty(d,"createEmptyPipeline",{enumerable:true,get:function(){return v.createEmptyPipeline}});var V=p(90862);Object.defineProperty(d,"createPipelineFromOptions",{enumerable:true,get:function(){return V.createPipelineFromOptions}});var K=p(7960);Object.defineProperty(d,"createDefaultHttpClient",{enumerable:true,get:function(){return K.createDefaultHttpClient}});var ee=p(192);Object.defineProperty(d,"createHttpHeaders",{enumerable:true,get:function(){return ee.createHttpHeaders}});var te=p(95709);Object.defineProperty(d,"createPipelineRequest",{enumerable:true,get:function(){return te.createPipelineRequest}});var re=p(8666);Object.defineProperty(d,"RestError",{enumerable:true,get:function(){return re.RestError}});Object.defineProperty(d,"isRestError",{enumerable:true,get:function(){return re.isRestError}});var ne=p(39295);Object.defineProperty(d,"decompressResponsePolicy",{enumerable:true,get:function(){return ne.decompressResponsePolicy}});Object.defineProperty(d,"decompressResponsePolicyName",{enumerable:true,get:function(){return ne.decompressResponsePolicyName}});var ie=p(16708);Object.defineProperty(d,"exponentialRetryPolicy",{enumerable:true,get:function(){return ie.exponentialRetryPolicy}});Object.defineProperty(d,"exponentialRetryPolicyName",{enumerable:true,get:function(){return ie.exponentialRetryPolicyName}});var se=p(95686);Object.defineProperty(d,"setClientRequestIdPolicy",{enumerable:true,get:function(){return se.setClientRequestIdPolicy}});Object.defineProperty(d,"setClientRequestIdPolicyName",{enumerable:true,get:function(){return se.setClientRequestIdPolicyName}});var oe=p(53253);Object.defineProperty(d,"logPolicy",{enumerable:true,get:function(){return oe.logPolicy}});Object.defineProperty(d,"logPolicyName",{enumerable:true,get:function(){return oe.logPolicyName}});var ae=p(45807);Object.defineProperty(d,"multipartPolicy",{enumerable:true,get:function(){return ae.multipartPolicy}});Object.defineProperty(d,"multipartPolicyName",{enumerable:true,get:function(){return ae.multipartPolicyName}});var ce=p(32815);Object.defineProperty(d,"proxyPolicy",{enumerable:true,get:function(){return ce.proxyPolicy}});Object.defineProperty(d,"proxyPolicyName",{enumerable:true,get:function(){return ce.proxyPolicyName}});Object.defineProperty(d,"getDefaultProxySettings",{enumerable:true,get:function(){return ce.getDefaultProxySettings}});var le=p(64087);Object.defineProperty(d,"redirectPolicy",{enumerable:true,get:function(){return le.redirectPolicy}});Object.defineProperty(d,"redirectPolicyName",{enumerable:true,get:function(){return le.redirectPolicyName}});var ue=p(96518);Object.defineProperty(d,"systemErrorRetryPolicy",{enumerable:true,get:function(){return ue.systemErrorRetryPolicy}});Object.defineProperty(d,"systemErrorRetryPolicyName",{enumerable:true,get:function(){return ue.systemErrorRetryPolicyName}});var Ae=p(97540);Object.defineProperty(d,"throttlingRetryPolicy",{enumerable:true,get:function(){return Ae.throttlingRetryPolicy}});Object.defineProperty(d,"throttlingRetryPolicyName",{enumerable:true,get:function(){return Ae.throttlingRetryPolicyName}});var de=p(56085);Object.defineProperty(d,"retryPolicy",{enumerable:true,get:function(){return de.retryPolicy}});var pe=p(93237);Object.defineProperty(d,"tracingPolicy",{enumerable:true,get:function(){return pe.tracingPolicy}});Object.defineProperty(d,"tracingPolicyName",{enumerable:true,get:function(){return pe.tracingPolicyName}});var fe=p(48170);Object.defineProperty(d,"defaultRetryPolicy",{enumerable:true,get:function(){return fe.defaultRetryPolicy}});var he=p(32799);Object.defineProperty(d,"userAgentPolicy",{enumerable:true,get:function(){return he.userAgentPolicy}});Object.defineProperty(d,"userAgentPolicyName",{enumerable:true,get:function(){return he.userAgentPolicyName}});var ge=p(75798);Object.defineProperty(d,"tlsPolicy",{enumerable:true,get:function(){return ge.tlsPolicy}});Object.defineProperty(d,"tlsPolicyName",{enumerable:true,get:function(){return ge.tlsPolicyName}});var me=p(75497);Object.defineProperty(d,"formDataPolicy",{enumerable:true,get:function(){return me.formDataPolicy}});Object.defineProperty(d,"formDataPolicyName",{enumerable:true,get:function(){return me.formDataPolicyName}});var Ee=p(26925);Object.defineProperty(d,"bearerTokenAuthenticationPolicy",{enumerable:true,get:function(){return Ee.bearerTokenAuthenticationPolicy}});Object.defineProperty(d,"bearerTokenAuthenticationPolicyName",{enumerable:true,get:function(){return Ee.bearerTokenAuthenticationPolicyName}});var ye=p(36827);Object.defineProperty(d,"ndJsonPolicy",{enumerable:true,get:function(){return ye.ndJsonPolicy}});Object.defineProperty(d,"ndJsonPolicyName",{enumerable:true,get:function(){return ye.ndJsonPolicyName}});var Ce=p(42262);Object.defineProperty(d,"auxiliaryAuthenticationHeaderPolicy",{enumerable:true,get:function(){return Ce.auxiliaryAuthenticationHeaderPolicy}});Object.defineProperty(d,"auxiliaryAuthenticationHeaderPolicyName",{enumerable:true,get:function(){return Ce.auxiliaryAuthenticationHeaderPolicyName}});var be=p(18554);Object.defineProperty(d,"agentPolicy",{enumerable:true,get:function(){return be.agentPolicy}});Object.defineProperty(d,"agentPolicyName",{enumerable:true,get:function(){return be.agentPolicyName}});var Ie=p(97073);Object.defineProperty(d,"createFile",{enumerable:true,get:function(){return Ie.createFile}});Object.defineProperty(d,"createFileFromStream",{enumerable:true,get:function(){return Ie.createFileFromStream}})},80544:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.logger=void 0;const v=p(26515);d.logger=(0,v.createClientLogger)("core-rest-pipeline")},29590:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createEmptyPipeline=createEmptyPipeline;const v=p(41958);function createEmptyPipeline(){return(0,v.createEmptyPipeline)()}},95709:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createPipelineRequest=createPipelineRequest;const v=p(41958);function createPipelineRequest(i){return(0,v.createPipelineRequest)(i)}},18554:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.agentPolicyName=void 0;d.agentPolicy=agentPolicy;const v=p(44960);d.agentPolicyName=v.agentPolicyName;function agentPolicy(i){return(0,v.agentPolicy)(i)}},42262:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.auxiliaryAuthenticationHeaderPolicyName=void 0;d.auxiliaryAuthenticationHeaderPolicy=auxiliaryAuthenticationHeaderPolicy;const v=p(39202);const V=p(80544);d.auxiliaryAuthenticationHeaderPolicyName="auxiliaryAuthenticationHeaderPolicy";const K="x-ms-authorization-auxiliary";async function sendAuthorizeRequest(i){const{scopes:d,getAccessToken:p,request:v}=i;const V={abortSignal:v.abortSignal,tracingOptions:v.tracingOptions};return(await p(d,V))?.token??""}function auxiliaryAuthenticationHeaderPolicy(i){const{credentials:p,scopes:ee}=i;const te=i.logger||V.logger;const re=new WeakMap;return{name:d.auxiliaryAuthenticationHeaderPolicyName,async sendRequest(i,V){if(!i.url.toLowerCase().startsWith("https://")){throw new Error("Bearer token authentication for auxiliary header is not permitted for non-TLS protected (non-https) URLs.")}if(!p||p.length===0){te.info(`${d.auxiliaryAuthenticationHeaderPolicyName} header will not be set due to empty credentials.`);return V(i)}const ne=[];for(const d of p){let p=re.get(d);if(!p){p=(0,v.createTokenCycler)(d);re.set(d,p)}ne.push(sendAuthorizeRequest({scopes:Array.isArray(ee)?ee:[ee],request:i,getAccessToken:p,logger:te}))}const ie=(await Promise.all(ne)).filter((i=>Boolean(i)));if(ie.length===0){te.warning(`None of the auxiliary tokens are valid. ${K} header will not be set.`);return V(i)}i.headers.set(K,ie.map((i=>`Bearer ${i}`)).join(", "));return V(i)}}}},26925:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.bearerTokenAuthenticationPolicyName=void 0;d.bearerTokenAuthenticationPolicy=bearerTokenAuthenticationPolicy;d.parseChallenges=parseChallenges;const v=p(39202);const V=p(80544);const K=p(8666);d.bearerTokenAuthenticationPolicyName="bearerTokenAuthenticationPolicy";async function trySendRequest(i,d){try{return[await d(i),undefined]}catch(i){if((0,K.isRestError)(i)&&i.response){return[i.response,i]}else{throw i}}}async function defaultAuthorizeRequest(i){const{scopes:d,getAccessToken:p,request:v}=i;const V={abortSignal:v.abortSignal,tracingOptions:v.tracingOptions,enableCae:true};const K=await p(d,V);if(K){i.request.headers.set("Authorization",`Bearer ${K.token}`)}}function isChallengeResponse(i){return i.status===401&&i.headers.has("WWW-Authenticate")}async function authorizeRequestOnCaeChallenge(i,d){const{scopes:p}=i;const v=await i.getAccessToken(p,{enableCae:true,claims:d});if(!v){return false}i.request.headers.set("Authorization",`${v.tokenType??"Bearer"} ${v.token}`);return true}function bearerTokenAuthenticationPolicy(i){const{credential:p,scopes:K,challengeCallbacks:ee}=i;const te=i.logger||V.logger;const re={authorizeRequest:ee?.authorizeRequest?.bind(ee)??defaultAuthorizeRequest,authorizeRequestOnChallenge:ee?.authorizeRequestOnChallenge?.bind(ee)};const ne=p?(0,v.createTokenCycler)(p):()=>Promise.resolve(null);return{name:d.bearerTokenAuthenticationPolicyName,async sendRequest(i,d){if(!i.url.toLowerCase().startsWith("https://")){throw new Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.")}await re.authorizeRequest({scopes:Array.isArray(K)?K:[K],request:i,getAccessToken:ne,logger:te});let p;let v;let V;[p,v]=await trySendRequest(i,d);if(isChallengeResponse(p)){let ee=getCaeChallengeClaims(p.headers.get("WWW-Authenticate"));if(ee){let re;try{re=atob(ee)}catch(i){te.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${ee}`);return p}V=await authorizeRequestOnCaeChallenge({scopes:Array.isArray(K)?K:[K],response:p,request:i,getAccessToken:ne,logger:te},re);if(V){[p,v]=await trySendRequest(i,d)}}else if(re.authorizeRequestOnChallenge){V=await re.authorizeRequestOnChallenge({scopes:Array.isArray(K)?K:[K],request:i,response:p,getAccessToken:ne,logger:te});if(V){[p,v]=await trySendRequest(i,d)}if(isChallengeResponse(p)){ee=getCaeChallengeClaims(p.headers.get("WWW-Authenticate"));if(ee){let re;try{re=atob(ee)}catch(i){te.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${ee}`);return p}V=await authorizeRequestOnCaeChallenge({scopes:Array.isArray(K)?K:[K],response:p,request:i,getAccessToken:ne,logger:te},re);if(V){[p,v]=await trySendRequest(i,d)}}}}}if(v){throw v}else{return p}}}}function parseChallenges(i){const d=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g;const p=/(\w+)="([^"]*)"/g;const v=[];let V;while((V=d.exec(i))!==null){const i=V[1];const d=V[2];const K={};let ee;while((ee=p.exec(d))!==null){K[ee[1]]=ee[2]}v.push({scheme:i,params:K})}return v}function getCaeChallengeClaims(i){if(!i){return}const d=parseChallenges(i);return d.find((i=>i.scheme==="Bearer"&&i.params.claims&&i.params.error==="insufficient_claims"))?.params.claims}},39295:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.decompressResponsePolicyName=void 0;d.decompressResponsePolicy=decompressResponsePolicy;const v=p(44960);d.decompressResponsePolicyName=v.decompressResponsePolicyName;function decompressResponsePolicy(){return(0,v.decompressResponsePolicy)()}},48170:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.defaultRetryPolicyName=void 0;d.defaultRetryPolicy=defaultRetryPolicy;const v=p(44960);d.defaultRetryPolicyName=v.defaultRetryPolicyName;function defaultRetryPolicy(i={}){return(0,v.defaultRetryPolicy)(i)}},16708:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.exponentialRetryPolicyName=void 0;d.exponentialRetryPolicy=exponentialRetryPolicy;const v=p(44960);d.exponentialRetryPolicyName=v.exponentialRetryPolicyName;function exponentialRetryPolicy(i={}){return(0,v.exponentialRetryPolicy)(i)}},75497:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.formDataPolicyName=void 0;d.formDataPolicy=formDataPolicy;const v=p(44960);d.formDataPolicyName=v.formDataPolicyName;function formDataPolicy(){return(0,v.formDataPolicy)()}},53253:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.logPolicyName=void 0;d.logPolicy=logPolicy;const v=p(80544);const V=p(44960);d.logPolicyName=V.logPolicyName;function logPolicy(i={}){return(0,V.logPolicy)({logger:v.logger.info,...i})}},45807:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.multipartPolicyName=void 0;d.multipartPolicy=multipartPolicy;const v=p(44960);const V=p(97073);d.multipartPolicyName=v.multipartPolicyName;function multipartPolicy(){const i=(0,v.multipartPolicy)();return{name:d.multipartPolicyName,sendRequest:async(d,p)=>{if(d.multipartBody){for(const i of d.multipartBody.parts){if((0,V.hasRawContent)(i.body)){i.body=(0,V.getRawContent)(i.body)}}}return i.sendRequest(d,p)}}}},36827:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.ndJsonPolicyName=void 0;d.ndJsonPolicy=ndJsonPolicy;d.ndJsonPolicyName="ndJsonPolicy";function ndJsonPolicy(){return{name:d.ndJsonPolicyName,async sendRequest(i,d){if(typeof i.body==="string"&&i.body.startsWith("[")){const d=JSON.parse(i.body);if(Array.isArray(d)){i.body=d.map((i=>JSON.stringify(i)+"\n")).join("")}}return d(i)}}}},32815:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.proxyPolicyName=void 0;d.getDefaultProxySettings=getDefaultProxySettings;d.proxyPolicy=proxyPolicy;const v=p(44960);d.proxyPolicyName=v.proxyPolicyName;function getDefaultProxySettings(i){return(0,v.getDefaultProxySettings)(i)}function proxyPolicy(i,d){return(0,v.proxyPolicy)(i,d)}},64087:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.redirectPolicyName=void 0;d.redirectPolicy=redirectPolicy;const v=p(44960);d.redirectPolicyName=v.redirectPolicyName;function redirectPolicy(i={}){return(0,v.redirectPolicy)(i)}},56085:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.retryPolicy=retryPolicy;const v=p(26515);const V=p(66427);const K=p(44960);const ee=(0,v.createClientLogger)("core-rest-pipeline retryPolicy");function retryPolicy(i,d={maxRetries:V.DEFAULT_RETRY_POLICY_COUNT}){return(0,K.retryPolicy)(i,{logger:ee,...d})}},95686:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.setClientRequestIdPolicyName=void 0;d.setClientRequestIdPolicy=setClientRequestIdPolicy;d.setClientRequestIdPolicyName="setClientRequestIdPolicy";function setClientRequestIdPolicy(i="x-ms-client-request-id"){return{name:d.setClientRequestIdPolicyName,async sendRequest(d,p){if(!d.headers.has(i)){d.headers.set(i,d.requestId)}return p(d)}}}},96518:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.systemErrorRetryPolicyName=void 0;d.systemErrorRetryPolicy=systemErrorRetryPolicy;const v=p(44960);d.systemErrorRetryPolicyName=v.systemErrorRetryPolicyName;function systemErrorRetryPolicy(i={}){return(0,v.systemErrorRetryPolicy)(i)}},97540:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.throttlingRetryPolicyName=void 0;d.throttlingRetryPolicy=throttlingRetryPolicy;const v=p(44960);d.throttlingRetryPolicyName=v.throttlingRetryPolicyName;function throttlingRetryPolicy(i={}){return(0,v.throttlingRetryPolicy)(i)}},75798:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.tlsPolicyName=void 0;d.tlsPolicy=tlsPolicy;const v=p(44960);d.tlsPolicyName=v.tlsPolicyName;function tlsPolicy(i){return(0,v.tlsPolicy)(i)}},93237:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.tracingPolicyName=void 0;d.tracingPolicy=tracingPolicy;const v=p(20623);const V=p(66427);const K=p(28431);const ee=p(80544);const te=p(87779);const re=p(8666);const ne=p(95750);d.tracingPolicyName="tracingPolicy";function tracingPolicy(i={}){const p=(0,K.getUserAgentValue)(i.userAgentPrefix);const v=new ne.Sanitizer({additionalAllowedQueryParameters:i.additionalAllowedQueryParameters});const V=tryCreateTracingClient();return{name:d.tracingPolicyName,async sendRequest(i,d){if(!V){return d(i)}const K=await p;const ee={"http.url":v.sanitizeUrl(i.url),"http.method":i.method,"http.user_agent":K,requestId:i.requestId};if(K){ee["http.user_agent"]=K}const{span:te,tracingContext:re}=tryCreateSpan(V,i,ee)??{};if(!te||!re){return d(i)}try{const p=await V.withContext(re,d,i);tryProcessResponse(te,p);return p}catch(i){tryProcessError(te,i);throw i}}}}function tryCreateTracingClient(){try{return(0,v.createTracingClient)({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:V.SDK_VERSION})}catch(i){ee.logger.warning(`Error when creating the TracingClient: ${(0,te.getErrorMessage)(i)}`);return undefined}}function tryCreateSpan(i,d,p){try{const{span:v,updatedOptions:V}=i.startSpan(`HTTP ${d.method}`,{tracingOptions:d.tracingOptions},{spanKind:"client",spanAttributes:p});if(!v.isRecording()){v.end();return undefined}const K=i.createRequestHeaders(V.tracingOptions.tracingContext);for(const[i,p]of Object.entries(K)){d.headers.set(i,p)}return{span:v,tracingContext:V.tracingOptions.tracingContext}}catch(i){ee.logger.warning(`Skipping creating a tracing span due to an error: ${(0,te.getErrorMessage)(i)}`);return undefined}}function tryProcessError(i,d){try{i.setStatus({status:"error",error:(0,te.isError)(d)?d:undefined});if((0,re.isRestError)(d)&&d.statusCode){i.setAttribute("http.status_code",d.statusCode)}i.end()}catch(i){ee.logger.warning(`Skipping tracing span processing due to an error: ${(0,te.getErrorMessage)(i)}`)}}function tryProcessResponse(i,d){try{i.setAttribute("http.status_code",d.status);const p=d.headers.get("x-ms-request-id");if(p){i.setAttribute("serviceRequestId",p)}if(d.status>=400){i.setStatus({status:"error"})}i.end()}catch(i){ee.logger.warning(`Skipping tracing span processing due to an error: ${(0,te.getErrorMessage)(i)}`)}}},32799:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.userAgentPolicyName=void 0;d.userAgentPolicy=userAgentPolicy;const v=p(28431);const V=(0,v.getUserAgentHeaderName)();d.userAgentPolicyName="userAgentPolicy";function userAgentPolicy(i={}){const p=(0,v.getUserAgentValue)(i.userAgentPrefix);return{name:d.userAgentPolicyName,async sendRequest(i,d){if(!i.headers.has(V)){i.headers.set(V,await p)}return d(i)}}}},37466:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.wrapAbortSignalLikePolicyName=void 0;d.wrapAbortSignalLikePolicy=wrapAbortSignalLikePolicy;const v=p(91297);d.wrapAbortSignalLikePolicyName="wrapAbortSignalLikePolicy";function wrapAbortSignalLikePolicy(){return{name:d.wrapAbortSignalLikePolicyName,sendRequest:async(i,d)=>{if(!i.abortSignal){return d(i)}const{abortSignal:p,cleanup:V}=(0,v.wrapAbortSignalLike)(i.abortSignal);i.abortSignal=p;try{return await d(i)}finally{V?.()}}}}},8666:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.RestError=void 0;d.isRestError=isRestError;const v=p(41958);d.RestError=v.RestError;function isRestError(i){return(0,v.isRestError)(i)}},97073:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.hasRawContent=hasRawContent;d.getRawContent=getRawContent;d.createFileFromStream=createFileFromStream;d.createFile=createFile;const v=p(87779);function isNodeReadableStream(i){return Boolean(i&&typeof i["pipe"]==="function")}const V={arrayBuffer:()=>{throw new Error("Not implemented")},bytes:()=>{throw new Error("Not implemented")},slice:()=>{throw new Error("Not implemented")},text:()=>{throw new Error("Not implemented")}};const K=Symbol("rawContent");function hasRawContent(i){return typeof i[K]==="function"}function getRawContent(i){if(hasRawContent(i)){return i[K]()}else{return i}}function createFileFromStream(i,d,p={}){return{...V,type:p.type??"",lastModified:p.lastModified??(new Date).getTime(),webkitRelativePath:p.webkitRelativePath??"",size:p.size??-1,name:d,stream:()=>{const d=i();if(isNodeReadableStream(d)){throw new Error("Not supported: a Node stream was provided as input to createFileFromStream.")}return d},[K]:i}}function createFile(i,d,p={}){if(v.isNodeLike){return{...V,type:p.type??"",lastModified:p.lastModified??(new Date).getTime(),webkitRelativePath:p.webkitRelativePath??"",size:i.byteLength,name:d,arrayBuffer:async()=>i.buffer,stream:()=>new Blob([toArrayBuffer(i)]).stream(),[K]:()=>i}}else{return new File([toArrayBuffer(i)],d,p)}}function toArrayBuffer(i){if("resize"in i.buffer){return i}return i.map((i=>i))}},39202:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.DEFAULT_CYCLER_OPTIONS=void 0;d.createTokenCycler=createTokenCycler;const v=p(87779);d.DEFAULT_CYCLER_OPTIONS={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function beginRefresh(i,d,p){async function tryGetAccessToken(){if(Date.now()i.getToken(d,p);v=beginRefresh(tryGetAccessToken,ee.retryIntervalInMs,V?.expiresOnTimestamp??Date.now()).then((i=>{v=null;V=i;K=p.tenantId;return V})).catch((i=>{v=null;V=null;K=undefined;throw i}))}return v}return async(i,d)=>{const p=Boolean(d.claims);const v=K!==d.tenantId;if(p){V=null}const ee=v||p||te.mustRefresh;if(ee){return refresh(i,d)}if(te.shouldRefresh){refresh(i,d)}return V}}},28431:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getUserAgentHeaderName=getUserAgentHeaderName;d.getUserAgentValue=getUserAgentValue;const v=p(31848);const V=p(66427);function getUserAgentString(i){const d=[];for(const[p,v]of i){const i=v?`${p}/${v}`:p;d.push(i)}return d.join(" ")}function getUserAgentHeaderName(){return(0,v.getHeaderName)()}async function getUserAgentValue(i){const d=new Map;d.set("core-rest-pipeline",V.SDK_VERSION);await(0,v.setPlatformSpecificData)(d);const p=getUserAgentString(d);const K=i?`${i} ${p}`:p;return K}},31848:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getHeaderName=getHeaderName;d.setPlatformSpecificData=setPlatformSpecificData;const v=p(61860);const V=v.__importDefault(p(48161));const K=v.__importDefault(p(1708));function getHeaderName(){return"User-Agent"}async function setPlatformSpecificData(i){if(K.default&&K.default.versions){const d=`${V.default.type()} ${V.default.release()}; ${V.default.arch()}`;const p=K.default.versions;if(p.bun){i.set("Bun",`${p.bun} (${d})`)}else if(p.deno){i.set("Deno",`${p.deno} (${d})`)}else if(p.node){i.set("Node",`${p.node} (${d})`)}}}},91297:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.wrapAbortSignalLike=wrapAbortSignalLike;function wrapAbortSignalLike(i){if(i instanceof AbortSignal){return{abortSignal:i}}if(i.aborted){return{abortSignal:AbortSignal.abort(i.reason)}}const d=new AbortController;let p=true;function cleanup(){if(p){i.removeEventListener("abort",listener);p=false}}function listener(){d.abort(i.reason);cleanup()}i.addEventListener("abort",listener);return{abortSignal:d.signal,cleanup:cleanup}}},20623:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createTracingClient=d.useInstrumenter=void 0;var v=p(48729);Object.defineProperty(d,"useInstrumenter",{enumerable:true,get:function(){return v.useInstrumenter}});var V=p(93438);Object.defineProperty(d,"createTracingClient",{enumerable:true,get:function(){return V.createTracingClient}})},48729:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createDefaultTracingSpan=createDefaultTracingSpan;d.createDefaultInstrumenter=createDefaultInstrumenter;d.useInstrumenter=useInstrumenter;d.getInstrumenter=getInstrumenter;const v=p(79186);const V=p(38914);function createDefaultTracingSpan(){return{end:()=>{},isRecording:()=>false,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}}}function createDefaultInstrumenter(){return{createRequestHeaders:()=>({}),parseTraceparentHeader:()=>undefined,startSpan:(i,d)=>({span:createDefaultTracingSpan(),tracingContext:(0,v.createTracingContext)({parentContext:d.tracingContext})}),withContext(i,d,...p){return d(...p)}}}function useInstrumenter(i){V.state.instrumenterImplementation=i}function getInstrumenter(){if(!V.state.instrumenterImplementation){V.state.instrumenterImplementation=createDefaultInstrumenter()}return V.state.instrumenterImplementation}},38914:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.state=void 0;d.state={instrumenterImplementation:undefined}},93438:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createTracingClient=createTracingClient;const v=p(48729);const V=p(79186);function createTracingClient(i){const{namespace:d,packageName:p,packageVersion:K}=i;function startSpan(i,ee,te){const re=(0,v.getInstrumenter)().startSpan(i,{...te,packageName:p,packageVersion:K,tracingContext:ee?.tracingOptions?.tracingContext});let ne=re.tracingContext;const ie=re.span;if(!ne.getValue(V.knownContextKeys.namespace)){ne=ne.setValue(V.knownContextKeys.namespace,d)}ie.setAttribute("az.namespace",ne.getValue(V.knownContextKeys.namespace));const se=Object.assign({},ee,{tracingOptions:{...ee?.tracingOptions,tracingContext:ne}});return{span:ie,updatedOptions:se}}async function withSpan(i,d,p,v){const{span:V,updatedOptions:K}=startSpan(i,d,v);try{const i=await withContext(K.tracingOptions.tracingContext,(()=>Promise.resolve(p(K,V))));V.setStatus({status:"success"});return i}catch(i){V.setStatus({status:"error",error:i});throw i}finally{V.end()}}function withContext(i,d,...p){return(0,v.getInstrumenter)().withContext(i,d,...p)}function parseTraceparentHeader(i){return(0,v.getInstrumenter)().parseTraceparentHeader(i)}function createRequestHeaders(i){return(0,v.getInstrumenter)().createRequestHeaders(i)}return{startSpan:startSpan,withSpan:withSpan,withContext:withContext,parseTraceparentHeader:parseTraceparentHeader,createRequestHeaders:createRequestHeaders}}},79186:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.TracingContextImpl=d.knownContextKeys=void 0;d.createTracingContext=createTracingContext;d.knownContextKeys={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function createTracingContext(i={}){let p=new TracingContextImpl(i.parentContext);if(i.span){p=p.setValue(d.knownContextKeys.span,i.span)}if(i.namespace){p=p.setValue(d.knownContextKeys.namespace,i.namespace)}return p}class TracingContextImpl{_contextMap;constructor(i){this._contextMap=i instanceof TracingContextImpl?new Map(i._contextMap):new Map}setValue(i,d){const p=new TracingContextImpl(this);p._contextMap.set(i,d);return p}getValue(i){return this._contextMap.get(i)}deleteValue(i){const d=new TracingContextImpl(this);d._contextMap.delete(i);return d}}d.TracingContextImpl=TracingContextImpl},95209:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.cancelablePromiseRace=cancelablePromiseRace;async function cancelablePromiseRace(i,d){const p=new AbortController;function abortHandler(){p.abort()}d?.abortSignal?.addEventListener("abort",abortHandler);try{return await Promise.race(i.map((i=>i({abortSignal:p.signal}))))}finally{p.abort();d?.abortSignal?.removeEventListener("abort",abortHandler)}}},63128:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createAbortablePromise=createAbortablePromise;const v=p(83134);function createAbortablePromise(i,d){const{cleanupBeforeAbort:p,abortSignal:V,abortErrorMsg:K}=d??{};return new Promise(((d,ee)=>{function rejectOnAbort(){ee(new v.AbortError(K??"The operation was aborted."))}function removeListeners(){V?.removeEventListener("abort",onAbort)}function onAbort(){p?.();removeListeners();rejectOnAbort()}if(V?.aborted){return rejectOnAbort()}try{i((i=>{removeListeners();d(i)}),(i=>{removeListeners();ee(i)}))}catch(i){ee(i)}V?.addEventListener("abort",onAbort)}))}},90636:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.delay=delay;d.calculateRetryDelay=calculateRetryDelay;const v=p(63128);const V=p(95750);const K="The delay was aborted.";function delay(i,d){let p;const{abortSignal:V,abortErrorMsg:ee}=d??{};return(0,v.createAbortablePromise)((d=>{p=setTimeout(d,i)}),{cleanupBeforeAbort:()=>clearTimeout(p),abortSignal:V,abortErrorMsg:ee??K})}function calculateRetryDelay(i,d){const p=d.retryDelayInMs*Math.pow(2,i);const v=Math.min(d.maxRetryDelayInMs,p);const K=v/2+(0,V.getRandomIntegerInclusive)(0,v/2);return{retryAfterInMs:K}}},99945:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getErrorMessage=getErrorMessage;const v=p(95750);function getErrorMessage(i){if((0,v.isError)(i)){return i.message}else{let d;try{if(typeof i==="object"&&i){d=JSON.stringify(i)}else{d=String(i)}}catch(i){d="[unable to stringify input]"}return`Unknown error ${d}`}}},87779:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.isWebWorker=d.isReactNative=d.isNodeRuntime=d.isNodeLike=d.isNode=d.isDeno=d.isBun=d.isBrowser=d.objectHasProperty=d.isObjectWithProperties=d.isDefined=d.getErrorMessage=d.delay=d.createAbortablePromise=d.cancelablePromiseRace=void 0;d.calculateRetryDelay=calculateRetryDelay;d.computeSha256Hash=computeSha256Hash;d.computeSha256Hmac=computeSha256Hmac;d.getRandomIntegerInclusive=getRandomIntegerInclusive;d.isError=isError;d.isObject=isObject;d.randomUUID=randomUUID;d.uint8ArrayToString=uint8ArrayToString;d.stringToUint8Array=stringToUint8Array;const v=p(61860);const V=v.__importStar(p(95750));var K=p(95209);Object.defineProperty(d,"cancelablePromiseRace",{enumerable:true,get:function(){return K.cancelablePromiseRace}});var ee=p(63128);Object.defineProperty(d,"createAbortablePromise",{enumerable:true,get:function(){return ee.createAbortablePromise}});var te=p(90636);Object.defineProperty(d,"delay",{enumerable:true,get:function(){return te.delay}});var re=p(99945);Object.defineProperty(d,"getErrorMessage",{enumerable:true,get:function(){return re.getErrorMessage}});var ne=p(66277);Object.defineProperty(d,"isDefined",{enumerable:true,get:function(){return ne.isDefined}});Object.defineProperty(d,"isObjectWithProperties",{enumerable:true,get:function(){return ne.isObjectWithProperties}});Object.defineProperty(d,"objectHasProperty",{enumerable:true,get:function(){return ne.objectHasProperty}});function calculateRetryDelay(i,d){return V.calculateRetryDelay(i,d)}function computeSha256Hash(i,d){return V.computeSha256Hash(i,d)}function computeSha256Hmac(i,d,p){return V.computeSha256Hmac(i,d,p)}function getRandomIntegerInclusive(i,d){return V.getRandomIntegerInclusive(i,d)}function isError(i){return V.isError(i)}function isObject(i){return V.isObject(i)}function randomUUID(){return V.randomUUID()}d.isBrowser=V.isBrowser;d.isBun=V.isBun;d.isDeno=V.isDeno;d.isNode=V.isNodeLike;d.isNodeLike=V.isNodeLike;d.isNodeRuntime=V.isNodeRuntime;d.isReactNative=V.isReactNative;d.isWebWorker=V.isWebWorker;function uint8ArrayToString(i,d){return V.uint8ArrayToString(i,d)}function stringToUint8Array(i,d){return V.stringToUint8Array(i,d)}},66277:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.isDefined=isDefined;d.isObjectWithProperties=isObjectWithProperties;d.objectHasProperty=objectHasProperty;function isDefined(i){return typeof i!=="undefined"&&i!==null}function isObjectWithProperties(i,d){if(!isDefined(i)||typeof i!=="object"){return false}for(const p of d){if(!objectHasProperty(i,p)){return false}}return true}function objectHasProperty(i,d){return isDefined(i)&&typeof i==="object"&&d in i}},78756:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.XML_CHARKEY=d.XML_ATTRKEY=d.parseXML=d.stringifyXML=void 0;var v=p(48133);Object.defineProperty(d,"stringifyXML",{enumerable:true,get:function(){return v.stringifyXML}});Object.defineProperty(d,"parseXML",{enumerable:true,get:function(){return v.parseXML}});var V=p(93406);Object.defineProperty(d,"XML_ATTRKEY",{enumerable:true,get:function(){return V.XML_ATTRKEY}});Object.defineProperty(d,"XML_CHARKEY",{enumerable:true,get:function(){return V.XML_CHARKEY}})},93406:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.XML_CHARKEY=d.XML_ATTRKEY=void 0;d.XML_ATTRKEY="$";d.XML_CHARKEY="_"},48133:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.stringifyXML=stringifyXML;d.parseXML=parseXML;const v=p(89048);const V=p(93406);function getCommonOptions(i){var d;return{attributesGroupName:V.XML_ATTRKEY,textNodeName:(d=i.xmlCharKey)!==null&&d!==void 0?d:V.XML_CHARKEY,ignoreAttributes:false,suppressBooleanAttributes:false}}function getSerializerOptions(i={}){var d,p;return Object.assign(Object.assign({},getCommonOptions(i)),{attributeNamePrefix:"@_",format:true,suppressEmptyNode:true,indentBy:"",rootNodeName:(d=i.rootName)!==null&&d!==void 0?d:"root",cdataPropName:(p=i.cdataPropName)!==null&&p!==void 0?p:"__cdata"})}function getParserOptions(i={}){return Object.assign(Object.assign({},getCommonOptions(i)),{parseAttributeValue:false,parseTagValue:false,attributeNamePrefix:"",stopNodes:i.stopNodes,processEntities:true,trimValues:false})}function stringifyXML(i,d={}){const p=getSerializerOptions(d);const V=new v.XMLBuilder(p);const K={[p.rootNodeName]:i};const ee=V.build(K);return`${ee}`.replace(/\n/g,"")}async function parseXML(i,d={}){if(!i){throw new Error("Document is empty")}const p=v.XMLValidator.validate(i);if(p!==true){throw p}const V=new v.XMLParser(getParserOptions(d));const K=V.parse(i);if(K["?xml"]){delete K["?xml"]}if(!d.includeRoot){for(const i of Object.keys(K)){const d=K[i];return typeof d==="object"?Object.assign({},d):d}}return K}},26515:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.AzureLogger=void 0;d.setLogLevel=setLogLevel;d.getLogLevel=getLogLevel;d.createClientLogger=createClientLogger;const v=p(82490);const V=(0,v.createLoggerContext)({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"});d.AzureLogger=V.logger;function setLogLevel(i){V.setLogLevel(i)}function getLogLevel(){return V.getLogLevel()}function createClientLogger(i){return V.createClientLogger(i)}},48175:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true})},41564:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BatchResponseParser=void 0;const v=p(20778);const V=p(61584);const K=p(27323);const ee=p(72995);const te=p(46370);const re=": ";const ne=" ";const ie=-1;class BatchResponseParser{batchResponse;responseBatchBoundary;perResponsePrefix;batchResponseEnding;subRequests;constructor(i,d){if(!i||!i.contentType){throw new RangeError("batchResponse is malformed or doesn't contain valid content-type.")}if(!d||d.size===0){throw new RangeError("Invalid state: subRequests is not provided or size is 0.")}this.batchResponse=i;this.subRequests=d;this.responseBatchBoundary=this.batchResponse.contentType.split("=")[1];this.perResponsePrefix=`--${this.responseBatchBoundary}${K.HTTP_LINE_ENDING}`;this.batchResponseEnding=`--${this.responseBatchBoundary}--`}async parseBatchResponse(){if(this.batchResponse._response.status!==K.HTTPURLConnection.HTTP_ACCEPTED){throw new Error(`Invalid state: batch request failed with status: '${this.batchResponse._response.status}'.`)}const i=await(0,ee.getBodyAsText)(this.batchResponse);const d=i.split(this.batchResponseEnding)[0].split(this.perResponsePrefix).slice(1);const p=d.length;if(p!==this.subRequests.size&&p!==1){throw new Error("Invalid state: sub responses' count is not equal to sub requests' count.")}const se=new Array(p);let oe=0;let ae=0;for(let i=0;i=0&&de{Object.defineProperty(d,"__esModule",{value:true});d.getBodyAsText=getBodyAsText;d.utf8ByteLength=utf8ByteLength;const v=p(53563);const V=p(27323);async function getBodyAsText(i){let d=Buffer.alloc(V.BATCH_MAX_PAYLOAD_IN_BYTES);const p=await(0,v.streamToBuffer2)(i.readableStreamBody,d);d=d.slice(0,p);return d.toString()}function utf8ByteLength(i){return Buffer.byteLength(i)}},95561:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BlobBatch=void 0;const v=p(87779);const V=p(50417);const K=p(20778);const ee=p(87779);const te=p(51382);const re=p(90372);const ne=p(58913);const ie=p(25984);const se=p(47764);const oe=p(78756);const ae=p(27323);const ce=p(53952);const le=p(60160);class BlobBatch{batchRequest;batch="batch";batchType;constructor(){this.batchRequest=new InnerBatchRequest}getMultiPartContentType(){return this.batchRequest.getMultipartContentType()}getHttpRequestBody(){return this.batchRequest.getHttpRequestBody()}getSubRequests(){return this.batchRequest.getSubRequests()}async addSubRequestInternal(i,d){await ne.Mutex.lock(this.batch);try{this.batchRequest.preAddSubRequest(i);await d();this.batchRequest.postAddSubRequest(i)}finally{await ne.Mutex.unlock(this.batch)}}setBatchType(i){if(!this.batchType){this.batchType=i}if(this.batchType!==i){throw new RangeError(`BlobBatch only supports one operation type per batch and it already is being used for ${this.batchType} operations.`)}}async deleteBlob(i,d,p){let v;let K;if(typeof i==="string"&&(ee.isNodeLike&&d instanceof te.StorageSharedKeyCredential||d instanceof te.AnonymousCredential||(0,V.isTokenCredential)(d))){v=i;K=d}else if(i instanceof re.BlobClient){v=i.url;K=i.credential;p=d}else{throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided.")}if(!p){p={}}return ce.tracingClient.withSpan("BatchDeleteRequest-addSubRequest",p,(async i=>{this.setBatchType("delete");await this.addSubRequestInternal({url:v,credential:K},(async()=>{await new re.BlobClient(v,this.batchRequest.createPipeline(K)).delete(i)}))}))}async setBlobAccessTier(i,d,p,v){let K;let ne;let ie;if(typeof i==="string"&&(ee.isNodeLike&&d instanceof te.StorageSharedKeyCredential||d instanceof te.AnonymousCredential||(0,V.isTokenCredential)(d))){K=i;ne=d;ie=p}else if(i instanceof re.BlobClient){K=i.url;ne=i.credential;ie=d;v=p}else{throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided.")}if(!v){v={}}return ce.tracingClient.withSpan("BatchSetTierRequest-addSubRequest",v,(async i=>{this.setBatchType("setAccessTier");await this.addSubRequestInternal({url:K,credential:ne},(async()=>{await new re.BlobClient(K,this.batchRequest.createPipeline(ne)).setAccessTier(ie,i)}))}))}}d.BlobBatch=BlobBatch;class InnerBatchRequest{operationCount;body;subRequests;boundary;subRequestPrefix;multipartContentType;batchRequestEnding;constructor(){this.operationCount=0;this.body="";const i=(0,v.randomUUID)();this.boundary=`batch_${i}`;this.subRequestPrefix=`--${this.boundary}${ae.HTTP_LINE_ENDING}${ae.HeaderConstants.CONTENT_TYPE}: application/http${ae.HTTP_LINE_ENDING}${ae.HeaderConstants.CONTENT_TRANSFER_ENCODING}: binary`;this.multipartContentType=`multipart/mixed; boundary=${this.boundary}`;this.batchRequestEnding=`--${this.boundary}--`;this.subRequests=new Map}createPipeline(i){const d=(0,K.createEmptyPipeline)();d.addPolicy((0,le.serializationPolicy)({stringifyXML:oe.stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}}),{phase:"Serialize"});d.addPolicy(batchHeaderFilterPolicy());d.addPolicy(batchRequestAssemblePolicy(this),{afterPhase:"Sign"});if((0,V.isTokenCredential)(i)){d.addPolicy((0,K.bearerTokenAuthenticationPolicy)({credential:i,scopes:ae.StorageOAuthScopes,challengeCallbacks:{authorizeRequestOnChallenge:le.authorizeRequestOnTenantChallenge}}),{phase:"Sign"})}else if(i instanceof te.StorageSharedKeyCredential){d.addPolicy((0,te.storageSharedKeyCredentialPolicy)({accountName:i.accountName,accountKey:i.accountKey}),{phase:"Sign"})}const p=new ie.Pipeline([]);p._credential=i;p._corePipeline=d;return p}appendSubRequestToBody(i){this.body+=[this.subRequestPrefix,`${ae.HeaderConstants.CONTENT_ID}: ${this.operationCount}`,"",`${i.method.toString()} ${(0,se.getURLPathAndQuery)(i.url)} ${ae.HTTP_VERSION_1_1}${ae.HTTP_LINE_ENDING}`].join(ae.HTTP_LINE_ENDING);for(const[d,p]of i.headers){this.body+=`${d}: ${p}${ae.HTTP_LINE_ENDING}`}this.body+=ae.HTTP_LINE_ENDING}preAddSubRequest(i){if(this.operationCount>=ae.BATCH_MAX_REQUEST){throw new RangeError(`Cannot exceed ${ae.BATCH_MAX_REQUEST} sub requests in a single batch`)}const d=(0,se.getURLPath)(i.url);if(!d||d===""){throw new RangeError(`Invalid url for sub request: '${i.url}'`)}}postAddSubRequest(i){this.subRequests.set(this.operationCount,i);this.operationCount++}getHttpRequestBody(){return`${this.body}${this.batchRequestEnding}${ae.HTTP_LINE_ENDING}`}getMultipartContentType(){return this.multipartContentType}getSubRequests(){return this.subRequests}}function batchRequestAssemblePolicy(i){return{name:"batchRequestAssemblePolicy",async sendRequest(d){i.appendSubRequestToBody(d);return{request:d,status:200,headers:(0,K.createHttpHeaders)()}}}}function batchHeaderFilterPolicy(){return{name:"batchHeaderFilterPolicy",async sendRequest(i,d){let p="";for(const[d]of i.headers){if((0,se.iEqual)(d,ae.HeaderConstants.X_MS_VERSION)){p=d}}if(p!==""){i.headers.delete(p)}return d(i)}}}},12094:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BlobBatchClient=void 0;const v=p(41564);const V=p(72995);const K=p(95561);const ee=p(53952);const te=p(51382);const re=p(53789);const ne=p(25984);const ie=p(47764);class BlobBatchClient{serviceOrContainerContext;constructor(i,d,p){let v;if((0,ne.isPipelineLike)(d)){v=d}else if(!d){v=(0,ne.newPipeline)(new te.AnonymousCredential,p)}else{v=(0,ne.newPipeline)(d,p)}const V=new re.StorageContextClient(i,(0,ne.getCoreClientOptions)(v));const K=(0,ie.getURLPath)(i);if(K&&K!=="/"){this.serviceOrContainerContext=V.container}else{this.serviceOrContainerContext=V.service}}createBatch(){return new K.BlobBatch}async deleteBlobs(i,d,p){const v=new K.BlobBatch;for(const V of i){if(typeof V==="string"){await v.deleteBlob(V,d,p)}else{await v.deleteBlob(V,d)}}return this.submitBatch(v)}async setBlobsAccessTier(i,d,p,v){const V=new K.BlobBatch;for(const K of i){if(typeof K==="string"){await V.setBlobAccessTier(K,d,p,v)}else{await V.setBlobAccessTier(K,d,p)}}return this.submitBatch(V)}async submitBatch(i,d={}){if(!i||i.getSubRequests().size===0){throw new RangeError("Batch request should contain one or more sub requests.")}return ee.tracingClient.withSpan("BlobBatchClient-submitBatch",d,(async d=>{const p=i.getHttpRequestBody();const K=(0,ie.assertResponse)(await this.serviceOrContainerContext.submitBatch((0,V.utf8ByteLength)(p),i.getMultiPartContentType(),p,{...d}));const ee=new v.BatchResponseParser(K,i.getSubRequests());const te=await ee.parseBatchResponse();const re={_response:K._response,contentType:K.contentType,errorCode:K.errorCode,requestId:K.requestId,clientRequestId:K.clientRequestId,version:K.version,subResponses:te.subResponses,subResponsesSucceededCount:te.subResponsesSucceededCount,subResponsesFailedCount:te.subResponsesFailedCount};return re}))}}d.BlobBatchClient=BlobBatchClient},4894:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BlobDownloadResponse=void 0;const v=p(87779);const V=p(98684);class BlobDownloadResponse{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return this.originalResponse.copyCompletedOn}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get tagCount(){return this.originalResponse.tagCount}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get lastAccessed(){return this.originalResponse.lastAccessed}get createdOn(){return this.originalResponse.createdOn}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get versionId(){return this.originalResponse.versionId}get isCurrentVersion(){return this.originalResponse.isCurrentVersion}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get objectReplicationDestinationPolicyId(){return this.originalResponse.objectReplicationDestinationPolicyId}get objectReplicationSourceProperties(){return this.originalResponse.objectReplicationSourceProperties}get isSealed(){return this.originalResponse.isSealed}get immutabilityPolicyExpiresOn(){return this.originalResponse.immutabilityPolicyExpiresOn}get immutabilityPolicyMode(){return this.originalResponse.immutabilityPolicyMode}get legalHold(){return this.originalResponse.legalHold}get contentAsBlob(){return this.originalResponse.blobBody}get readableStreamBody(){return v.isNodeLike?this.blobDownloadStream:undefined}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(i,d,p,v,K={}){this.originalResponse=i;this.blobDownloadStream=new V.RetriableReadableStream(this.originalResponse.readableStreamBody,d,p,v,K)}}d.BlobDownloadResponse=BlobDownloadResponse},23276:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BlobLeaseClient=void 0;const v=p(87779);const V=p(27323);const K=p(53952);const ee=p(47764);class BlobLeaseClient{_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(i,d){const p=i.storageClientContext;this._url=i.url;if(i.name===undefined){this._isContainer=true;this._containerOrBlobOperation=p.container}else{this._isContainer=false;this._containerOrBlobOperation=p.blob}if(!d){d=(0,v.randomUUID)()}this._leaseId=d}async acquireLease(i,d={}){if(this._isContainer&&(d.conditions?.ifMatch&&d.conditions?.ifMatch!==V.ETagNone||d.conditions?.ifNoneMatch&&d.conditions?.ifNoneMatch!==V.ETagNone||d.conditions?.tagConditions)){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return K.tracingClient.withSpan("BlobLeaseClient-acquireLease",d,(async p=>(0,ee.assertResponse)(await this._containerOrBlobOperation.acquireLease({abortSignal:d.abortSignal,duration:i,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:p.tracingOptions}))))}async changeLease(i,d={}){if(this._isContainer&&(d.conditions?.ifMatch&&d.conditions?.ifMatch!==V.ETagNone||d.conditions?.ifNoneMatch&&d.conditions?.ifNoneMatch!==V.ETagNone||d.conditions?.tagConditions)){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return K.tracingClient.withSpan("BlobLeaseClient-changeLease",d,(async p=>{const v=(0,ee.assertResponse)(await this._containerOrBlobOperation.changeLease(this._leaseId,i,{abortSignal:d.abortSignal,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},tracingOptions:p.tracingOptions}));this._leaseId=i;return v}))}async releaseLease(i={}){if(this._isContainer&&(i.conditions?.ifMatch&&i.conditions?.ifMatch!==V.ETagNone||i.conditions?.ifNoneMatch&&i.conditions?.ifNoneMatch!==V.ETagNone||i.conditions?.tagConditions)){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return K.tracingClient.withSpan("BlobLeaseClient-releaseLease",i,(async d=>(0,ee.assertResponse)(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:i.abortSignal,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},tracingOptions:d.tracingOptions}))))}async renewLease(i={}){if(this._isContainer&&(i.conditions?.ifMatch&&i.conditions?.ifMatch!==V.ETagNone||i.conditions?.ifNoneMatch&&i.conditions?.ifNoneMatch!==V.ETagNone||i.conditions?.tagConditions)){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return K.tracingClient.withSpan("BlobLeaseClient-renewLease",i,(async d=>this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:i.abortSignal,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},tracingOptions:d.tracingOptions})))}async breakLease(i,d={}){if(this._isContainer&&(d.conditions?.ifMatch&&d.conditions?.ifMatch!==V.ETagNone||d.conditions?.ifNoneMatch&&d.conditions?.ifNoneMatch!==V.ETagNone||d.conditions?.tagConditions)){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return K.tracingClient.withSpan("BlobLeaseClient-breakLease",d,(async p=>{const v={abortSignal:d.abortSignal,breakPeriod:i,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},tracingOptions:p.tracingOptions};return(0,ee.assertResponse)(await this._containerOrBlobOperation.breakLease(v))}))}}d.BlobLeaseClient=BlobLeaseClient},95602:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BlobQueryResponse=void 0;const v=p(87779);const V=p(36426);class BlobQueryResponse{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return undefined}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get blobBody(){return undefined}get readableStreamBody(){return v.isNodeLike?this.blobDownloadStream:undefined}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(i,d={}){this.originalResponse=i;this.blobDownloadStream=new V.BlobQuickQueryStream(this.originalResponse.readableStreamBody,d)}}d.BlobQueryResponse=BlobQueryResponse},96341:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BlobServiceClient=void 0;const v=p(50417);const V=p(20778);const K=p(87779);const ee=p(25984);const te=p(81884);const re=p(47764);const ne=p(51382);const ie=p(47764);const se=p(53952);const oe=p(12094);const ae=p(73542);const ce=p(6358);const le=p(85238);const ue=p(46940);class BlobServiceClient extends ae.StorageClient{serviceContext;static fromConnectionString(i,d){d=d||{};const p=(0,re.extractConnectionStringParts)(i);if(p.kind==="AccountConnString"){if(K.isNodeLike){const i=new ne.StorageSharedKeyCredential(p.accountName,p.accountKey);if(!d.proxyOptions){d.proxyOptions=(0,V.getDefaultProxySettings)(p.proxyUri)}const v=(0,ee.newPipeline)(i,d);return new BlobServiceClient(p.url,v)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(p.kind==="SASConnString"){const i=(0,ee.newPipeline)(new ne.AnonymousCredential,d);return new BlobServiceClient(p.url+"?"+p.accountSas,i)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}constructor(i,d,p){let V;if((0,ee.isPipelineLike)(d)){V=d}else if(K.isNodeLike&&d instanceof ne.StorageSharedKeyCredential||d instanceof ne.AnonymousCredential||(0,v.isTokenCredential)(d)){V=(0,ee.newPipeline)(d,p)}else{V=(0,ee.newPipeline)(new ne.AnonymousCredential,p)}super(i,V);this.serviceContext=this.storageClientContext.service}getContainerClient(i){return new te.ContainerClient((0,re.appendToURLPath)(this.url,encodeURIComponent(i)),this.pipeline)}async createContainer(i,d={}){return se.tracingClient.withSpan("BlobServiceClient-createContainer",d,(async d=>{const p=this.getContainerClient(i);const v=await p.create(d);return{containerClient:p,containerCreateResponse:v}}))}async deleteContainer(i,d={}){return se.tracingClient.withSpan("BlobServiceClient-deleteContainer",d,(async d=>{const p=this.getContainerClient(i);return p.delete(d)}))}async undeleteContainer(i,d,p={}){return se.tracingClient.withSpan("BlobServiceClient-undeleteContainer",p,(async v=>{const V=this.getContainerClient(p.destinationContainerName||i);const K=V["storageClientContext"].container;const ee=(0,ie.assertResponse)(await K.restore({deletedContainerName:i,deletedContainerVersion:d,tracingOptions:v.tracingOptions}));return{containerClient:V,containerUndeleteResponse:ee}}))}async getProperties(i={}){return se.tracingClient.withSpan("BlobServiceClient-getProperties",i,(async d=>(0,ie.assertResponse)(await this.serviceContext.getProperties({abortSignal:i.abortSignal,tracingOptions:d.tracingOptions}))))}async setProperties(i,d={}){return se.tracingClient.withSpan("BlobServiceClient-setProperties",d,(async p=>(0,ie.assertResponse)(await this.serviceContext.setProperties(i,{abortSignal:d.abortSignal,tracingOptions:p.tracingOptions}))))}async getStatistics(i={}){return se.tracingClient.withSpan("BlobServiceClient-getStatistics",i,(async d=>(0,ie.assertResponse)(await this.serviceContext.getStatistics({abortSignal:i.abortSignal,tracingOptions:d.tracingOptions}))))}async getAccountInfo(i={}){return se.tracingClient.withSpan("BlobServiceClient-getAccountInfo",i,(async d=>(0,ie.assertResponse)(await this.serviceContext.getAccountInfo({abortSignal:i.abortSignal,tracingOptions:d.tracingOptions}))))}async listContainersSegment(i,d={}){return se.tracingClient.withSpan("BlobServiceClient-listContainersSegment",d,(async p=>(0,ie.assertResponse)(await this.serviceContext.listContainersSegment({abortSignal:d.abortSignal,marker:i,...d,include:typeof d.include==="string"?[d.include]:d.include,tracingOptions:p.tracingOptions}))))}async findBlobsByTagsSegment(i,d,p={}){return se.tracingClient.withSpan("BlobServiceClient-findBlobsByTagsSegment",p,(async v=>{const V=(0,ie.assertResponse)(await this.serviceContext.filterBlobs({abortSignal:p.abortSignal,where:i,marker:d,maxPageSize:p.maxPageSize,tracingOptions:v.tracingOptions}));const K={...V,_response:V._response,blobs:V.blobs.map((i=>{let d="";if(i.tags?.blobTagSet.length===1){d=i.tags.blobTagSet[0].value}return{...i,tags:(0,re.toTags)(i.tags),tagValue:d}}))};return K}))}async*findBlobsByTagsSegments(i,d,p={}){let v;if(!!d||d===undefined){do{v=await this.findBlobsByTagsSegment(i,d,p);v.blobs=v.blobs||[];d=v.continuationToken;yield v}while(d)}}async*findBlobsByTagsItems(i,d={}){let p;for await(const v of this.findBlobsByTagsSegments(i,p,d)){yield*v.blobs}}findBlobsByTags(i,d={}){const p={...d};const v=this.findBlobsByTagsItems(i,p);return{next(){return v.next()},[Symbol.asyncIterator](){return this},byPage:(d={})=>this.findBlobsByTagsSegments(i,d.continuationToken,{maxPageSize:d.maxPageSize,...p})}}async*listSegments(i,d={}){let p;if(!!i||i===undefined){do{p=await this.listContainersSegment(i,d);p.containerItems=p.containerItems||[];i=p.continuationToken;yield await p}while(i)}}async*listItems(i={}){let d;for await(const p of this.listSegments(d,i)){yield*p.containerItems}}listContainers(i={}){if(i.prefix===""){i.prefix=undefined}const d=[];if(i.includeDeleted){d.push("deleted")}if(i.includeMetadata){d.push("metadata")}if(i.includeSystem){d.push("system")}const p={...i,...d.length>0?{include:d}:{}};const v=this.listItems(p);return{next(){return v.next()},[Symbol.asyncIterator](){return this},byPage:(i={})=>this.listSegments(i.continuationToken,{maxPageSize:i.maxPageSize,...p})}}async getUserDelegationKey(i,d,p={}){return se.tracingClient.withSpan("BlobServiceClient-getUserDelegationKey",p,(async v=>{const V=(0,ie.assertResponse)(await this.serviceContext.getUserDelegationKey({startsOn:(0,ie.truncatedISO8061Date)(i,false),expiresOn:(0,ie.truncatedISO8061Date)(d,false)},{abortSignal:p.abortSignal,tracingOptions:v.tracingOptions}));const K={signedObjectId:V.signedObjectId,signedTenantId:V.signedTenantId,signedStartsOn:new Date(V.signedStartsOn),signedExpiresOn:new Date(V.signedExpiresOn),signedService:V.signedService,signedVersion:V.signedVersion,value:V.value};const ee={_response:V._response,requestId:V.requestId,clientRequestId:V.clientRequestId,version:V.version,date:V.date,errorCode:V.errorCode,...K};return ee}))}getBlobBatchClient(){return new oe.BlobBatchClient(this.url,this.pipeline)}generateAccountSasUrl(i,d=ce.AccountSASPermissions.parse("r"),p="sco",v={}){if(!(this.credential instanceof ne.StorageSharedKeyCredential)){throw RangeError("Can only generate the account SAS when the client is initialized with a shared key credential")}if(i===undefined){const d=new Date;i=new Date(d.getTime()+3600*1e3)}const V=(0,le.generateAccountSASQueryParameters)({permissions:d,expiresOn:i,resourceTypes:p,services:ue.AccountSASServices.parse("b").toString(),...v},this.credential).toString();return(0,re.appendToURLQuery)(this.url,V)}generateSasStringToSign(i,d=ce.AccountSASPermissions.parse("r"),p="sco",v={}){if(!(this.credential instanceof ne.StorageSharedKeyCredential)){throw RangeError("Can only generate the account SAS when the client is initialized with a shared key credential")}if(i===undefined){const d=new Date;i=new Date(d.getTime()+3600*1e3)}return(0,le.generateAccountSASQueryParametersInternal)({permissions:d,expiresOn:i,resourceTypes:p,services:ue.AccountSASServices.parse("b").toString(),...v},this.credential).stringToSign}}d.BlobServiceClient=BlobServiceClient},90372:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.PageBlobClient=d.BlockBlobClient=d.AppendBlobClient=d.BlobClient=void 0;const v=p(20778);const V=p(50417);const K=p(87779);const ee=p(87779);const te=p(4894);const re=p(95602);const ne=p(51382);const ie=p(58560);const se=p(95302);const oe=p(25984);const ae=p(73145);const ce=p(52045);const le=p(73542);const ue=p(81582);const Ae=p(51382);const de=p(27323);const pe=p(53952);const fe=p(47764);const he=p(53563);const ge=p(656);const me=p(23276);class BlobClient extends le.StorageClient{blobContext;_name;_containerName;_versionId;_snapshot;get name(){return this._name}get containerName(){return this._containerName}constructor(i,d,p,ee){ee=ee||{};let te;let re;if((0,oe.isPipelineLike)(d)){re=i;te=d}else if(K.isNodeLike&&d instanceof ne.StorageSharedKeyCredential||d instanceof ne.AnonymousCredential||(0,V.isTokenCredential)(d)){re=i;ee=p;te=(0,oe.newPipeline)(d,ee)}else if(!d&&typeof d!=="string"){re=i;if(p&&typeof p!=="string"){ee=p}te=(0,oe.newPipeline)(new ne.AnonymousCredential,ee)}else if(d&&typeof d==="string"&&p&&typeof p==="string"){const V=d;const ie=p;const se=(0,fe.extractConnectionStringParts)(i);if(se.kind==="AccountConnString"){if(K.isNodeLike){const i=new ne.StorageSharedKeyCredential(se.accountName,se.accountKey);re=(0,fe.appendToURLPath)((0,fe.appendToURLPath)(se.url,encodeURIComponent(V)),encodeURIComponent(ie));if(!ee.proxyOptions){ee.proxyOptions=(0,v.getDefaultProxySettings)(se.proxyUri)}te=(0,oe.newPipeline)(i,ee)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(se.kind==="SASConnString"){re=(0,fe.appendToURLPath)((0,fe.appendToURLPath)(se.url,encodeURIComponent(V)),encodeURIComponent(ie))+"?"+se.accountSas;te=(0,oe.newPipeline)(new ne.AnonymousCredential,ee)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}else{throw new Error("Expecting non-empty strings for containerName and blobName parameters")}super(re,te);({blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl());this.blobContext=this.storageClientContext.blob;this._snapshot=(0,fe.getURLParameter)(this.url,de.URLConstants.Parameters.SNAPSHOT);this._versionId=(0,fe.getURLParameter)(this.url,de.URLConstants.Parameters.VERSIONID)}withSnapshot(i){return new BlobClient((0,fe.setURLParameter)(this.url,de.URLConstants.Parameters.SNAPSHOT,i.length===0?undefined:i),this.pipeline)}withVersion(i){return new BlobClient((0,fe.setURLParameter)(this.url,de.URLConstants.Parameters.VERSIONID,i.length===0?undefined:i),this.pipeline)}getAppendBlobClient(){return new AppendBlobClient(this.url,this.pipeline)}getBlockBlobClient(){return new BlockBlobClient(this.url,this.pipeline)}getPageBlobClient(){return new PageBlobClient(this.url,this.pipeline)}async download(i=0,d,p={}){p.conditions=p.conditions||{};p.conditions=p.conditions||{};(0,ie.ensureCpkIfSpecified)(p.customerProvidedKey,this.isHttps);return pe.tracingClient.withSpan("BlobClient-download",p,(async v=>{const V=(0,fe.assertResponse)(await this.blobContext.download({abortSignal:p.abortSignal,leaseAccessConditions:p.conditions,modifiedAccessConditions:{...p.conditions,ifTags:p.conditions?.tagConditions},requestOptions:{onDownloadProgress:K.isNodeLike?undefined:p.onProgress},range:i===0&&!d?undefined:(0,ce.rangeToString)({offset:i,count:d}),rangeGetContentMD5:p.rangeGetContentMD5,rangeGetContentCRC64:p.rangeGetContentCrc64,snapshot:p.snapshot,cpkInfo:p.customerProvidedKey,tracingOptions:v.tracingOptions}));const ee={...V,_response:V._response,objectReplicationDestinationPolicyId:V.objectReplicationPolicyId,objectReplicationSourceProperties:(0,fe.parseObjectReplicationRecord)(V.objectReplicationRules)};if(!K.isNodeLike){return ee}if(p.maxRetryRequests===undefined||p.maxRetryRequests<0){p.maxRetryRequests=de.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS}if(V.contentLength===undefined){throw new RangeError(`File download response doesn't contain valid content length header`)}if(!V.etag){throw new RangeError(`File download response doesn't contain valid etag header`)}return new te.BlobDownloadResponse(ee,(async d=>{const v={leaseAccessConditions:p.conditions,modifiedAccessConditions:{ifMatch:p.conditions.ifMatch||V.etag,ifModifiedSince:p.conditions.ifModifiedSince,ifNoneMatch:p.conditions.ifNoneMatch,ifUnmodifiedSince:p.conditions.ifUnmodifiedSince,ifTags:p.conditions?.tagConditions},range:(0,ce.rangeToString)({count:i+V.contentLength-d,offset:d}),rangeGetContentMD5:p.rangeGetContentMD5,rangeGetContentCRC64:p.rangeGetContentCrc64,snapshot:p.snapshot,cpkInfo:p.customerProvidedKey};return(await this.blobContext.download({abortSignal:p.abortSignal,...v})).readableStreamBody}),i,V.contentLength,{maxRetryRequests:p.maxRetryRequests,onProgress:p.onProgress})}))}async exists(i={}){return pe.tracingClient.withSpan("BlobClient-exists",i,(async d=>{try{(0,ie.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps);await this.getProperties({abortSignal:i.abortSignal,customerProvidedKey:i.customerProvidedKey,conditions:i.conditions,tracingOptions:d.tracingOptions});return true}catch(i){if(i.statusCode===404){return false}else if(i.statusCode===409&&(i.details.errorCode===de.BlobUsesCustomerSpecifiedEncryptionMsg||i.details.errorCode===de.BlobDoesNotUseCustomerSpecifiedEncryption)){return true}throw i}}))}async getProperties(i={}){i.conditions=i.conditions||{};(0,ie.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps);return pe.tracingClient.withSpan("BlobClient-getProperties",i,(async d=>{const p=(0,fe.assertResponse)(await this.blobContext.getProperties({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},cpkInfo:i.customerProvidedKey,tracingOptions:d.tracingOptions}));return{...p,_response:p._response,objectReplicationDestinationPolicyId:p.objectReplicationPolicyId,objectReplicationSourceProperties:(0,fe.parseObjectReplicationRecord)(p.objectReplicationRules)}}))}async delete(i={}){i.conditions=i.conditions||{};return pe.tracingClient.withSpan("BlobClient-delete",i,(async d=>(0,fe.assertResponse)(await this.blobContext.delete({abortSignal:i.abortSignal,deleteSnapshots:i.deleteSnapshots,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},tracingOptions:d.tracingOptions}))))}async deleteIfExists(i={}){return pe.tracingClient.withSpan("BlobClient-deleteIfExists",i,(async i=>{try{const d=(0,fe.assertResponse)(await this.delete(i));return{succeeded:true,...d,_response:d._response}}catch(i){if(i.details?.errorCode==="BlobNotFound"){return{succeeded:false,...i.response?.parsedHeaders,_response:i.response}}throw i}}))}async undelete(i={}){return pe.tracingClient.withSpan("BlobClient-undelete",i,(async d=>(0,fe.assertResponse)(await this.blobContext.undelete({abortSignal:i.abortSignal,tracingOptions:d.tracingOptions}))))}async setHTTPHeaders(i,d={}){d.conditions=d.conditions||{};(0,ie.ensureCpkIfSpecified)(d.customerProvidedKey,this.isHttps);return pe.tracingClient.withSpan("BlobClient-setHTTPHeaders",d,(async p=>(0,fe.assertResponse)(await this.blobContext.setHttpHeaders({abortSignal:d.abortSignal,blobHttpHeaders:i,leaseAccessConditions:d.conditions,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},tracingOptions:p.tracingOptions}))))}async setMetadata(i,d={}){d.conditions=d.conditions||{};(0,ie.ensureCpkIfSpecified)(d.customerProvidedKey,this.isHttps);return pe.tracingClient.withSpan("BlobClient-setMetadata",d,(async p=>(0,fe.assertResponse)(await this.blobContext.setMetadata({abortSignal:d.abortSignal,leaseAccessConditions:d.conditions,metadata:i,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},cpkInfo:d.customerProvidedKey,encryptionScope:d.encryptionScope,tracingOptions:p.tracingOptions}))))}async setTags(i,d={}){return pe.tracingClient.withSpan("BlobClient-setTags",d,(async p=>(0,fe.assertResponse)(await this.blobContext.setTags({abortSignal:d.abortSignal,leaseAccessConditions:d.conditions,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},blobModifiedAccessConditions:d.conditions,tracingOptions:p.tracingOptions,tags:(0,fe.toBlobTags)(i)}))))}async getTags(i={}){return pe.tracingClient.withSpan("BlobClient-getTags",i,(async d=>{const p=(0,fe.assertResponse)(await this.blobContext.getTags({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},blobModifiedAccessConditions:i.conditions,tracingOptions:d.tracingOptions}));const v={...p,_response:p._response,tags:(0,fe.toTags)({blobTagSet:p.blobTagSet})||{}};return v}))}getBlobLeaseClient(i){return new me.BlobLeaseClient(this,i)}async createSnapshot(i={}){i.conditions=i.conditions||{};(0,ie.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps);return pe.tracingClient.withSpan("BlobClient-createSnapshot",i,(async d=>(0,fe.assertResponse)(await this.blobContext.createSnapshot({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,metadata:i.metadata,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:d.tracingOptions}))))}async beginCopyFromURL(i,d={}){const p={abortCopyFromURL:(...i)=>this.abortCopyFromURL(...i),getProperties:(...i)=>this.getProperties(...i),startCopyFromURL:(...i)=>this.startCopyFromURL(...i)};const v=new ae.BlobBeginCopyFromUrlPoller({blobClient:p,copySource:i,intervalInMs:d.intervalInMs,onProgress:d.onProgress,resumeFrom:d.resumeFrom,startCopyFromURLOptions:d});await v.poll();return v}async abortCopyFromURL(i,d={}){return pe.tracingClient.withSpan("BlobClient-abortCopyFromURL",d,(async p=>(0,fe.assertResponse)(await this.blobContext.abortCopyFromURL(i,{abortSignal:d.abortSignal,leaseAccessConditions:d.conditions,tracingOptions:p.tracingOptions}))))}async syncCopyFromURL(i,d={}){d.conditions=d.conditions||{};d.sourceConditions=d.sourceConditions||{};return pe.tracingClient.withSpan("BlobClient-syncCopyFromURL",d,(async p=>(0,fe.assertResponse)(await this.blobContext.copyFromURL(i,{abortSignal:d.abortSignal,metadata:d.metadata,leaseAccessConditions:d.conditions,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:d.sourceConditions?.ifMatch,sourceIfModifiedSince:d.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:d.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:d.sourceConditions?.ifUnmodifiedSince},sourceContentMD5:d.sourceContentMD5,copySourceAuthorization:(0,fe.httpAuthorizationToString)(d.sourceAuthorization),tier:(0,ie.toAccessTier)(d.tier),blobTagsString:(0,fe.toBlobTagsString)(d.tags),immutabilityPolicyExpiry:d.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:d.immutabilityPolicy?.policyMode,legalHold:d.legalHold,encryptionScope:d.encryptionScope,copySourceTags:d.copySourceTags,fileRequestIntent:d.sourceShareTokenIntent,tracingOptions:p.tracingOptions}))))}async setAccessTier(i,d={}){return pe.tracingClient.withSpan("BlobClient-setAccessTier",d,(async p=>(0,fe.assertResponse)(await this.blobContext.setTier((0,ie.toAccessTier)(i),{abortSignal:d.abortSignal,leaseAccessConditions:d.conditions,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},rehydratePriority:d.rehydratePriority,tracingOptions:p.tracingOptions}))))}async downloadToBuffer(i,d,p,v={}){let V;let K=0;let ee=0;let te=v;if(i instanceof Buffer){V=i;K=d||0;ee=typeof p==="number"?p:0}else{K=typeof i==="number"?i:0;ee=typeof d==="number"?d:0;te=p||{}}let re=te.blockSize??0;if(re<0){throw new RangeError("blockSize option must be >= 0")}if(re===0){re=de.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES}if(K<0){throw new RangeError("offset option must be >= 0")}if(ee&&ee<=0){throw new RangeError("count option must be greater than 0")}if(!te.conditions){te.conditions={}}return pe.tracingClient.withSpan("BlobClient-downloadToBuffer",te,(async i=>{if(!ee){const d=await this.getProperties({...te,tracingOptions:i.tracingOptions});ee=d.contentLength-K;if(ee<0){throw new RangeError(`offset ${K} shouldn't be larger than blob size ${d.contentLength}`)}}if(!V){try{V=Buffer.alloc(ee)}catch(i){throw new Error(`Unable to allocate the buffer of size: ${ee}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile".\t ${i.message}`)}}if(V.length{let p=K+ee;if(v+re{const K=await this.download(d,p,{...v,tracingOptions:V.tracingOptions});if(K.readableStreamBody){await(0,he.readStreamToLocalFile)(K.readableStreamBody,i)}K.blobDownloadStream=undefined;return K}))}getBlobAndContainerNamesFromUrl(){let i;let d;try{const p=new URL(this.url);if(p.host.split(".")[1]==="blob"){const v=p.pathname.match("/([^/]*)(/(.*))?");i=v[1];d=v[3]}else if((0,fe.isIpEndpointStyle)(p)){const v=p.pathname.match("/([^/]*)/([^/]*)(/(.*))?");i=v[2];d=v[4]}else{const v=p.pathname.match("/([^/]*)(/(.*))?");i=v[1];d=v[3]}i=decodeURIComponent(i);d=decodeURIComponent(d);d=d.replace(/\\/g,"/");if(!i){throw new Error("Provided containerName is invalid.")}return{blobName:d,containerName:i}}catch(i){throw new Error("Unable to extract blobName and containerName with provided information.")}}async startCopyFromURL(i,d={}){return pe.tracingClient.withSpan("BlobClient-startCopyFromURL",d,(async p=>{d.conditions=d.conditions||{};d.sourceConditions=d.sourceConditions||{};return(0,fe.assertResponse)(await this.blobContext.startCopyFromURL(i,{abortSignal:d.abortSignal,leaseAccessConditions:d.conditions,metadata:d.metadata,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:d.sourceConditions.ifMatch,sourceIfModifiedSince:d.sourceConditions.ifModifiedSince,sourceIfNoneMatch:d.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:d.sourceConditions.ifUnmodifiedSince,sourceIfTags:d.sourceConditions.tagConditions},immutabilityPolicyExpiry:d.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:d.immutabilityPolicy?.policyMode,legalHold:d.legalHold,rehydratePriority:d.rehydratePriority,tier:(0,ie.toAccessTier)(d.tier),blobTagsString:(0,fe.toBlobTagsString)(d.tags),sealBlob:d.sealBlob,tracingOptions:p.tracingOptions}))}))}generateSasUrl(i){return new Promise((d=>{if(!(this.credential instanceof ne.StorageSharedKeyCredential)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}const p=(0,ge.generateBlobSASQueryParameters)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...i},this.credential).toString();d((0,fe.appendToURLQuery)(this.url,p))}))}generateSasStringToSign(i){if(!(this.credential instanceof ne.StorageSharedKeyCredential)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}return(0,ge.generateBlobSASQueryParametersInternal)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...i},this.credential).stringToSign}generateUserDelegationSasUrl(i,d){return new Promise((p=>{const v=(0,ge.generateBlobSASQueryParameters)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...i},d,this.accountName).toString();p((0,fe.appendToURLQuery)(this.url,v))}))}generateUserDelegationSasStringToSign(i,d){return(0,ge.generateBlobSASQueryParametersInternal)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...i},d,this.accountName).stringToSign}async deleteImmutabilityPolicy(i={}){return pe.tracingClient.withSpan("BlobClient-deleteImmutabilityPolicy",i,(async i=>(0,fe.assertResponse)(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:i.tracingOptions}))))}async setImmutabilityPolicy(i,d={}){return pe.tracingClient.withSpan("BlobClient-setImmutabilityPolicy",d,(async d=>(0,fe.assertResponse)(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:i.expiriesOn,immutabilityPolicyMode:i.policyMode,tracingOptions:d.tracingOptions}))))}async setLegalHold(i,d={}){return pe.tracingClient.withSpan("BlobClient-setLegalHold",d,(async d=>(0,fe.assertResponse)(await this.blobContext.setLegalHold(i,{tracingOptions:d.tracingOptions}))))}async getAccountInfo(i={}){return pe.tracingClient.withSpan("BlobClient-getAccountInfo",i,(async d=>(0,fe.assertResponse)(await this.blobContext.getAccountInfo({abortSignal:i.abortSignal,tracingOptions:d.tracingOptions}))))}}d.BlobClient=BlobClient;class AppendBlobClient extends BlobClient{appendBlobContext;constructor(i,d,p,ee){let te;let re;ee=ee||{};if((0,oe.isPipelineLike)(d)){re=i;te=d}else if(K.isNodeLike&&d instanceof ne.StorageSharedKeyCredential||d instanceof ne.AnonymousCredential||(0,V.isTokenCredential)(d)){re=i;ee=p;te=(0,oe.newPipeline)(d,ee)}else if(!d&&typeof d!=="string"){re=i;te=(0,oe.newPipeline)(new ne.AnonymousCredential,ee)}else if(d&&typeof d==="string"&&p&&typeof p==="string"){const V=d;const ie=p;const se=(0,fe.extractConnectionStringParts)(i);if(se.kind==="AccountConnString"){if(K.isNodeLike){const i=new ne.StorageSharedKeyCredential(se.accountName,se.accountKey);re=(0,fe.appendToURLPath)((0,fe.appendToURLPath)(se.url,encodeURIComponent(V)),encodeURIComponent(ie));if(!ee.proxyOptions){ee.proxyOptions=(0,v.getDefaultProxySettings)(se.proxyUri)}te=(0,oe.newPipeline)(i,ee)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(se.kind==="SASConnString"){re=(0,fe.appendToURLPath)((0,fe.appendToURLPath)(se.url,encodeURIComponent(V)),encodeURIComponent(ie))+"?"+se.accountSas;te=(0,oe.newPipeline)(new ne.AnonymousCredential,ee)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}else{throw new Error("Expecting non-empty strings for containerName and blobName parameters")}super(re,te);this.appendBlobContext=this.storageClientContext.appendBlob}withSnapshot(i){return new AppendBlobClient((0,fe.setURLParameter)(this.url,de.URLConstants.Parameters.SNAPSHOT,i.length===0?undefined:i),this.pipeline)}async create(i={}){i.conditions=i.conditions||{};(0,ie.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps);return pe.tracingClient.withSpan("AppendBlobClient-create",i,(async d=>(0,fe.assertResponse)(await this.appendBlobContext.create(0,{abortSignal:i.abortSignal,blobHttpHeaders:i.blobHTTPHeaders,leaseAccessConditions:i.conditions,metadata:i.metadata,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,immutabilityPolicyExpiry:i.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:i.immutabilityPolicy?.policyMode,legalHold:i.legalHold,blobTagsString:(0,fe.toBlobTagsString)(i.tags),tracingOptions:d.tracingOptions}))))}async createIfNotExists(i={}){const d={ifNoneMatch:de.ETagAny};return pe.tracingClient.withSpan("AppendBlobClient-createIfNotExists",i,(async i=>{try{const p=(0,fe.assertResponse)(await this.create({...i,conditions:d}));return{succeeded:true,...p,_response:p._response}}catch(i){if(i.details?.errorCode==="BlobAlreadyExists"){return{succeeded:false,...i.response?.parsedHeaders,_response:i.response}}throw i}}))}async seal(i={}){i.conditions=i.conditions||{};return pe.tracingClient.withSpan("AppendBlobClient-seal",i,(async d=>(0,fe.assertResponse)(await this.appendBlobContext.seal({abortSignal:i.abortSignal,appendPositionAccessConditions:i.conditions,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},tracingOptions:d.tracingOptions}))))}async appendBlock(i,d,p={}){p.conditions=p.conditions||{};(0,ie.ensureCpkIfSpecified)(p.customerProvidedKey,this.isHttps);return pe.tracingClient.withSpan("AppendBlobClient-appendBlock",p,(async v=>(0,fe.assertResponse)(await this.appendBlobContext.appendBlock(d,i,{abortSignal:p.abortSignal,appendPositionAccessConditions:p.conditions,leaseAccessConditions:p.conditions,modifiedAccessConditions:{...p.conditions,ifTags:p.conditions?.tagConditions},requestOptions:{onUploadProgress:p.onProgress},transactionalContentMD5:p.transactionalContentMD5,transactionalContentCrc64:p.transactionalContentCrc64,cpkInfo:p.customerProvidedKey,encryptionScope:p.encryptionScope,tracingOptions:v.tracingOptions}))))}async appendBlockFromURL(i,d,p,v={}){v.conditions=v.conditions||{};v.sourceConditions=v.sourceConditions||{};(0,ie.ensureCpkIfSpecified)(v.customerProvidedKey,this.isHttps);return pe.tracingClient.withSpan("AppendBlobClient-appendBlockFromURL",v,(async V=>(0,fe.assertResponse)(await this.appendBlobContext.appendBlockFromUrl(i,0,{abortSignal:v.abortSignal,sourceRange:(0,ce.rangeToString)({offset:d,count:p}),sourceContentMD5:v.sourceContentMD5,sourceContentCrc64:v.sourceContentCrc64,leaseAccessConditions:v.conditions,appendPositionAccessConditions:v.conditions,modifiedAccessConditions:{...v.conditions,ifTags:v.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:v.sourceConditions?.ifMatch,sourceIfModifiedSince:v.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:v.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:v.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:(0,fe.httpAuthorizationToString)(v.sourceAuthorization),cpkInfo:v.customerProvidedKey,encryptionScope:v.encryptionScope,fileRequestIntent:v.sourceShareTokenIntent,tracingOptions:V.tracingOptions}))))}}d.AppendBlobClient=AppendBlobClient;class BlockBlobClient extends BlobClient{_blobContext;blockBlobContext;constructor(i,d,p,ee){let te;let re;ee=ee||{};if((0,oe.isPipelineLike)(d)){re=i;te=d}else if(K.isNodeLike&&d instanceof ne.StorageSharedKeyCredential||d instanceof ne.AnonymousCredential||(0,V.isTokenCredential)(d)){re=i;ee=p;te=(0,oe.newPipeline)(d,ee)}else if(!d&&typeof d!=="string"){re=i;if(p&&typeof p!=="string"){ee=p}te=(0,oe.newPipeline)(new ne.AnonymousCredential,ee)}else if(d&&typeof d==="string"&&p&&typeof p==="string"){const V=d;const ie=p;const se=(0,fe.extractConnectionStringParts)(i);if(se.kind==="AccountConnString"){if(K.isNodeLike){const i=new ne.StorageSharedKeyCredential(se.accountName,se.accountKey);re=(0,fe.appendToURLPath)((0,fe.appendToURLPath)(se.url,encodeURIComponent(V)),encodeURIComponent(ie));if(!ee.proxyOptions){ee.proxyOptions=(0,v.getDefaultProxySettings)(se.proxyUri)}te=(0,oe.newPipeline)(i,ee)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(se.kind==="SASConnString"){re=(0,fe.appendToURLPath)((0,fe.appendToURLPath)(se.url,encodeURIComponent(V)),encodeURIComponent(ie))+"?"+se.accountSas;te=(0,oe.newPipeline)(new ne.AnonymousCredential,ee)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}else{throw new Error("Expecting non-empty strings for containerName and blobName parameters")}super(re,te);this.blockBlobContext=this.storageClientContext.blockBlob;this._blobContext=this.storageClientContext.blob}withSnapshot(i){return new BlockBlobClient((0,fe.setURLParameter)(this.url,de.URLConstants.Parameters.SNAPSHOT,i.length===0?undefined:i),this.pipeline)}async query(i,d={}){(0,ie.ensureCpkIfSpecified)(d.customerProvidedKey,this.isHttps);if(!K.isNodeLike){throw new Error("This operation currently is only supported in Node.js.")}return pe.tracingClient.withSpan("BlockBlobClient-query",d,(async p=>{const v=(0,fe.assertResponse)(await this._blobContext.query({abortSignal:d.abortSignal,queryRequest:{queryType:"SQL",expression:i,inputSerialization:(0,fe.toQuerySerialization)(d.inputTextConfiguration),outputSerialization:(0,fe.toQuerySerialization)(d.outputTextConfiguration)},leaseAccessConditions:d.conditions,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},cpkInfo:d.customerProvidedKey,tracingOptions:p.tracingOptions}));return new re.BlobQueryResponse(v,{abortSignal:d.abortSignal,onProgress:d.onProgress,onError:d.onError})}))}async upload(i,d,p={}){p.conditions=p.conditions||{};(0,ie.ensureCpkIfSpecified)(p.customerProvidedKey,this.isHttps);return pe.tracingClient.withSpan("BlockBlobClient-upload",p,(async v=>(0,fe.assertResponse)(await this.blockBlobContext.upload(d,i,{abortSignal:p.abortSignal,blobHttpHeaders:p.blobHTTPHeaders,leaseAccessConditions:p.conditions,metadata:p.metadata,modifiedAccessConditions:{...p.conditions,ifTags:p.conditions?.tagConditions},requestOptions:{onUploadProgress:p.onProgress},cpkInfo:p.customerProvidedKey,encryptionScope:p.encryptionScope,immutabilityPolicyExpiry:p.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:p.immutabilityPolicy?.policyMode,legalHold:p.legalHold,tier:(0,ie.toAccessTier)(p.tier),blobTagsString:(0,fe.toBlobTagsString)(p.tags),tracingOptions:v.tracingOptions}))))}async syncUploadFromURL(i,d={}){d.conditions=d.conditions||{};(0,ie.ensureCpkIfSpecified)(d.customerProvidedKey,this.isHttps);return pe.tracingClient.withSpan("BlockBlobClient-syncUploadFromURL",d,(async p=>(0,fe.assertResponse)(await this.blockBlobContext.putBlobFromUrl(0,i,{...d,blobHttpHeaders:d.blobHTTPHeaders,leaseAccessConditions:d.conditions,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:d.sourceConditions?.ifMatch,sourceIfModifiedSince:d.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:d.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:d.sourceConditions?.ifUnmodifiedSince,sourceIfTags:d.sourceConditions?.tagConditions},cpkInfo:d.customerProvidedKey,copySourceAuthorization:(0,fe.httpAuthorizationToString)(d.sourceAuthorization),tier:(0,ie.toAccessTier)(d.tier),blobTagsString:(0,fe.toBlobTagsString)(d.tags),copySourceTags:d.copySourceTags,fileRequestIntent:d.sourceShareTokenIntent,tracingOptions:p.tracingOptions}))))}async stageBlock(i,d,p,v={}){(0,ie.ensureCpkIfSpecified)(v.customerProvidedKey,this.isHttps);return pe.tracingClient.withSpan("BlockBlobClient-stageBlock",v,(async V=>(0,fe.assertResponse)(await this.blockBlobContext.stageBlock(i,p,d,{abortSignal:v.abortSignal,leaseAccessConditions:v.conditions,requestOptions:{onUploadProgress:v.onProgress},transactionalContentMD5:v.transactionalContentMD5,transactionalContentCrc64:v.transactionalContentCrc64,cpkInfo:v.customerProvidedKey,encryptionScope:v.encryptionScope,tracingOptions:V.tracingOptions}))))}async stageBlockFromURL(i,d,p=0,v,V={}){(0,ie.ensureCpkIfSpecified)(V.customerProvidedKey,this.isHttps);return pe.tracingClient.withSpan("BlockBlobClient-stageBlockFromURL",V,(async K=>(0,fe.assertResponse)(await this.blockBlobContext.stageBlockFromURL(i,0,d,{abortSignal:V.abortSignal,leaseAccessConditions:V.conditions,sourceContentMD5:V.sourceContentMD5,sourceContentCrc64:V.sourceContentCrc64,sourceRange:p===0&&!v?undefined:(0,ce.rangeToString)({offset:p,count:v}),cpkInfo:V.customerProvidedKey,encryptionScope:V.encryptionScope,copySourceAuthorization:(0,fe.httpAuthorizationToString)(V.sourceAuthorization),fileRequestIntent:V.sourceShareTokenIntent,tracingOptions:K.tracingOptions}))))}async commitBlockList(i,d={}){d.conditions=d.conditions||{};(0,ie.ensureCpkIfSpecified)(d.customerProvidedKey,this.isHttps);return pe.tracingClient.withSpan("BlockBlobClient-commitBlockList",d,(async p=>(0,fe.assertResponse)(await this.blockBlobContext.commitBlockList({latest:i},{abortSignal:d.abortSignal,blobHttpHeaders:d.blobHTTPHeaders,leaseAccessConditions:d.conditions,metadata:d.metadata,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},cpkInfo:d.customerProvidedKey,encryptionScope:d.encryptionScope,immutabilityPolicyExpiry:d.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:d.immutabilityPolicy?.policyMode,legalHold:d.legalHold,tier:(0,ie.toAccessTier)(d.tier),blobTagsString:(0,fe.toBlobTagsString)(d.tags),tracingOptions:p.tracingOptions}))))}async getBlockList(i,d={}){return pe.tracingClient.withSpan("BlockBlobClient-getBlockList",d,(async p=>{const v=(0,fe.assertResponse)(await this.blockBlobContext.getBlockList(i,{abortSignal:d.abortSignal,leaseAccessConditions:d.conditions,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},tracingOptions:p.tracingOptions}));if(!v.committedBlocks){v.committedBlocks=[]}if(!v.uncommittedBlocks){v.uncommittedBlocks=[]}return v}))}async uploadData(i,d={}){return pe.tracingClient.withSpan("BlockBlobClient-uploadData",d,(async d=>{if(K.isNodeLike){let p;if(i instanceof Buffer){p=i}else if(i instanceof ArrayBuffer){p=Buffer.from(i)}else{i=i;p=Buffer.from(i.buffer,i.byteOffset,i.byteLength)}return this.uploadSeekableInternal(((i,d)=>p.slice(i,i+d)),p.byteLength,d)}else{const p=new Blob([i]);return this.uploadSeekableInternal(((i,d)=>p.slice(i,i+d)),p.size,d)}}))}async uploadBrowserData(i,d={}){return pe.tracingClient.withSpan("BlockBlobClient-uploadBrowserData",d,(async d=>{const p=new Blob([i]);return this.uploadSeekableInternal(((i,d)=>p.slice(i,i+d)),p.size,d)}))}async uploadSeekableInternal(i,d,p={}){let v=p.blockSize??0;if(v<0||v>de.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES){throw new RangeError(`blockSize option must be >= 0 and <= ${de.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES}`)}const V=p.maxSingleShotSize??de.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES;if(V<0||V>de.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES){throw new RangeError(`maxSingleShotSize option must be >= 0 and <= ${de.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES}`)}if(v===0){if(d>de.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES*de.BLOCK_BLOB_MAX_BLOCKS){throw new RangeError(`${d} is too larger to upload to a block blob.`)}if(d>V){v=Math.ceil(d/de.BLOCK_BLOB_MAX_BLOCKS);if(v{if(d<=V){return(0,fe.assertResponse)(await this.upload(i(0,d),d,K))}const te=Math.floor((d-1)/v)+1;if(te>de.BLOCK_BLOB_MAX_BLOCKS){throw new RangeError(`The buffer's size is too big or the BlockSize is too small;`+`the number of blocks must be <= ${de.BLOCK_BLOB_MAX_BLOCKS}`)}const re=[];const ne=(0,ee.randomUUID)();let ie=0;const se=new ue.Batch(p.concurrency);for(let V=0;V{const ee=(0,fe.generateBlockID)(ne,V);const se=v*V;const oe=V===te-1?d:se+v;const ae=oe-se;re.push(ee);await this.stageBlock(ee,i(se,ae),ae,{abortSignal:p.abortSignal,conditions:p.conditions,encryptionScope:p.encryptionScope,tracingOptions:K.tracingOptions});ie+=ae;if(p.onProgress){p.onProgress({loadedBytes:ie})}}))}await se.do();return this.commitBlockList(re,K)}))}async uploadFile(i,d={}){return pe.tracingClient.withSpan("BlockBlobClient-uploadFile",d,(async p=>{const v=(await(0,he.fsStat)(i)).size;return this.uploadSeekableInternal(((d,p)=>()=>(0,he.fsCreateReadStream)(i,{autoClose:true,end:p?d+p-1:Infinity,start:d})),v,{...d,tracingOptions:p.tracingOptions})}))}async uploadStream(i,d=de.DEFAULT_BLOCK_BUFFER_SIZE_BYTES,p=5,v={}){if(!v.blobHTTPHeaders){v.blobHTTPHeaders={}}if(!v.conditions){v.conditions={}}return pe.tracingClient.withSpan("BlockBlobClient-uploadStream",v,(async V=>{let K=0;const te=(0,ee.randomUUID)();let re=0;const ne=[];const ie=new Ae.BufferScheduler(i,d,p,(async(i,d)=>{const p=(0,fe.generateBlockID)(te,K);ne.push(p);K++;await this.stageBlock(p,i,d,{customerProvidedKey:v.customerProvidedKey,conditions:v.conditions,encryptionScope:v.encryptionScope,tracingOptions:V.tracingOptions});re+=d;if(v.onProgress){v.onProgress({loadedBytes:re})}}),Math.ceil(p/4*3));await ie.do();return(0,fe.assertResponse)(await this.commitBlockList(ne,{...v,tracingOptions:V.tracingOptions}))}))}}d.BlockBlobClient=BlockBlobClient;class PageBlobClient extends BlobClient{pageBlobContext;constructor(i,d,p,ee){let te;let re;ee=ee||{};if((0,oe.isPipelineLike)(d)){re=i;te=d}else if(K.isNodeLike&&d instanceof ne.StorageSharedKeyCredential||d instanceof ne.AnonymousCredential||(0,V.isTokenCredential)(d)){re=i;ee=p;te=(0,oe.newPipeline)(d,ee)}else if(!d&&typeof d!=="string"){re=i;te=(0,oe.newPipeline)(new ne.AnonymousCredential,ee)}else if(d&&typeof d==="string"&&p&&typeof p==="string"){const V=d;const ie=p;const se=(0,fe.extractConnectionStringParts)(i);if(se.kind==="AccountConnString"){if(K.isNodeLike){const i=new ne.StorageSharedKeyCredential(se.accountName,se.accountKey);re=(0,fe.appendToURLPath)((0,fe.appendToURLPath)(se.url,encodeURIComponent(V)),encodeURIComponent(ie));if(!ee.proxyOptions){ee.proxyOptions=(0,v.getDefaultProxySettings)(se.proxyUri)}te=(0,oe.newPipeline)(i,ee)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(se.kind==="SASConnString"){re=(0,fe.appendToURLPath)((0,fe.appendToURLPath)(se.url,encodeURIComponent(V)),encodeURIComponent(ie))+"?"+se.accountSas;te=(0,oe.newPipeline)(new ne.AnonymousCredential,ee)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}else{throw new Error("Expecting non-empty strings for containerName and blobName parameters")}super(re,te);this.pageBlobContext=this.storageClientContext.pageBlob}withSnapshot(i){return new PageBlobClient((0,fe.setURLParameter)(this.url,de.URLConstants.Parameters.SNAPSHOT,i.length===0?undefined:i),this.pipeline)}async create(i,d={}){d.conditions=d.conditions||{};(0,ie.ensureCpkIfSpecified)(d.customerProvidedKey,this.isHttps);return pe.tracingClient.withSpan("PageBlobClient-create",d,(async p=>(0,fe.assertResponse)(await this.pageBlobContext.create(0,i,{abortSignal:d.abortSignal,blobHttpHeaders:d.blobHTTPHeaders,blobSequenceNumber:d.blobSequenceNumber,leaseAccessConditions:d.conditions,metadata:d.metadata,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},cpkInfo:d.customerProvidedKey,encryptionScope:d.encryptionScope,immutabilityPolicyExpiry:d.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:d.immutabilityPolicy?.policyMode,legalHold:d.legalHold,tier:(0,ie.toAccessTier)(d.tier),blobTagsString:(0,fe.toBlobTagsString)(d.tags),tracingOptions:p.tracingOptions}))))}async createIfNotExists(i,d={}){return pe.tracingClient.withSpan("PageBlobClient-createIfNotExists",d,(async p=>{try{const v={ifNoneMatch:de.ETagAny};const V=(0,fe.assertResponse)(await this.create(i,{...d,conditions:v,tracingOptions:p.tracingOptions}));return{succeeded:true,...V,_response:V._response}}catch(i){if(i.details?.errorCode==="BlobAlreadyExists"){return{succeeded:false,...i.response?.parsedHeaders,_response:i.response}}throw i}}))}async uploadPages(i,d,p,v={}){v.conditions=v.conditions||{};(0,ie.ensureCpkIfSpecified)(v.customerProvidedKey,this.isHttps);return pe.tracingClient.withSpan("PageBlobClient-uploadPages",v,(async V=>(0,fe.assertResponse)(await this.pageBlobContext.uploadPages(p,i,{abortSignal:v.abortSignal,leaseAccessConditions:v.conditions,modifiedAccessConditions:{...v.conditions,ifTags:v.conditions?.tagConditions},requestOptions:{onUploadProgress:v.onProgress},range:(0,ce.rangeToString)({offset:d,count:p}),sequenceNumberAccessConditions:v.conditions,transactionalContentMD5:v.transactionalContentMD5,transactionalContentCrc64:v.transactionalContentCrc64,cpkInfo:v.customerProvidedKey,encryptionScope:v.encryptionScope,tracingOptions:V.tracingOptions}))))}async uploadPagesFromURL(i,d,p,v,V={}){V.conditions=V.conditions||{};V.sourceConditions=V.sourceConditions||{};(0,ie.ensureCpkIfSpecified)(V.customerProvidedKey,this.isHttps);return pe.tracingClient.withSpan("PageBlobClient-uploadPagesFromURL",V,(async K=>(0,fe.assertResponse)(await this.pageBlobContext.uploadPagesFromURL(i,(0,ce.rangeToString)({offset:d,count:v}),0,(0,ce.rangeToString)({offset:p,count:v}),{abortSignal:V.abortSignal,sourceContentMD5:V.sourceContentMD5,sourceContentCrc64:V.sourceContentCrc64,leaseAccessConditions:V.conditions,sequenceNumberAccessConditions:V.conditions,modifiedAccessConditions:{...V.conditions,ifTags:V.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:V.sourceConditions?.ifMatch,sourceIfModifiedSince:V.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:V.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:V.sourceConditions?.ifUnmodifiedSince},cpkInfo:V.customerProvidedKey,encryptionScope:V.encryptionScope,copySourceAuthorization:(0,fe.httpAuthorizationToString)(V.sourceAuthorization),fileRequestIntent:V.sourceShareTokenIntent,tracingOptions:K.tracingOptions}))))}async clearPages(i=0,d,p={}){p.conditions=p.conditions||{};return pe.tracingClient.withSpan("PageBlobClient-clearPages",p,(async v=>(0,fe.assertResponse)(await this.pageBlobContext.clearPages(0,{abortSignal:p.abortSignal,leaseAccessConditions:p.conditions,modifiedAccessConditions:{...p.conditions,ifTags:p.conditions?.tagConditions},range:(0,ce.rangeToString)({offset:i,count:d}),sequenceNumberAccessConditions:p.conditions,cpkInfo:p.customerProvidedKey,encryptionScope:p.encryptionScope,tracingOptions:v.tracingOptions}))))}async getPageRanges(i=0,d,p={}){p.conditions=p.conditions||{};return pe.tracingClient.withSpan("PageBlobClient-getPageRanges",p,(async v=>{const V=(0,fe.assertResponse)(await this.pageBlobContext.getPageRanges({abortSignal:p.abortSignal,leaseAccessConditions:p.conditions,modifiedAccessConditions:{...p.conditions,ifTags:p.conditions?.tagConditions},range:(0,ce.rangeToString)({offset:i,count:d}),tracingOptions:v.tracingOptions}));return(0,se.rangeResponseFromModel)(V)}))}async listPageRangesSegment(i=0,d,p,v={}){return pe.tracingClient.withSpan("PageBlobClient-getPageRangesSegment",v,(async V=>(0,fe.assertResponse)(await this.pageBlobContext.getPageRanges({abortSignal:v.abortSignal,leaseAccessConditions:v.conditions,modifiedAccessConditions:{...v.conditions,ifTags:v.conditions?.tagConditions},range:(0,ce.rangeToString)({offset:i,count:d}),marker:p,maxPageSize:v.maxPageSize,tracingOptions:V.tracingOptions}))))}async*listPageRangeItemSegments(i=0,d,p,v={}){let V;if(!!p||p===undefined){do{V=await this.listPageRangesSegment(i,d,p,v);p=V.continuationToken;yield await V}while(p)}}async*listPageRangeItems(i=0,d,p={}){let v;for await(const V of this.listPageRangeItemSegments(i,d,v,p)){yield*(0,fe.ExtractPageRangeInfoItems)(V)}}listPageRanges(i=0,d,p={}){p.conditions=p.conditions||{};const v=this.listPageRangeItems(i,d,p);return{next(){return v.next()},[Symbol.asyncIterator](){return this},byPage:(v={})=>this.listPageRangeItemSegments(i,d,v.continuationToken,{maxPageSize:v.maxPageSize,...p})}}async getPageRangesDiff(i,d,p,v={}){v.conditions=v.conditions||{};return pe.tracingClient.withSpan("PageBlobClient-getPageRangesDiff",v,(async V=>{const K=(0,fe.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:v.abortSignal,leaseAccessConditions:v.conditions,modifiedAccessConditions:{...v.conditions,ifTags:v.conditions?.tagConditions},prevsnapshot:p,range:(0,ce.rangeToString)({offset:i,count:d}),tracingOptions:V.tracingOptions}));return(0,se.rangeResponseFromModel)(K)}))}async listPageRangesDiffSegment(i,d,p,v,V={}){return pe.tracingClient.withSpan("PageBlobClient-getPageRangesDiffSegment",V,(async K=>(0,fe.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:V?.abortSignal,leaseAccessConditions:V?.conditions,modifiedAccessConditions:{...V?.conditions,ifTags:V?.conditions?.tagConditions},prevsnapshot:p,range:(0,ce.rangeToString)({offset:i,count:d}),marker:v,maxPageSize:V?.maxPageSize,tracingOptions:K.tracingOptions}))))}async*listPageRangeDiffItemSegments(i,d,p,v,V){let K;if(!!v||v===undefined){do{K=await this.listPageRangesDiffSegment(i,d,p,v,V);v=K.continuationToken;yield await K}while(v)}}async*listPageRangeDiffItems(i,d,p,v){let V;for await(const K of this.listPageRangeDiffItemSegments(i,d,p,V,v)){yield*(0,fe.ExtractPageRangeInfoItems)(K)}}listPageRangesDiff(i,d,p,v={}){v.conditions=v.conditions||{};const V=this.listPageRangeDiffItems(i,d,p,{...v});return{next(){return V.next()},[Symbol.asyncIterator](){return this},byPage:(V={})=>this.listPageRangeDiffItemSegments(i,d,p,V.continuationToken,{maxPageSize:V.maxPageSize,...v})}}async getPageRangesDiffForManagedDisks(i,d,p,v={}){v.conditions=v.conditions||{};return pe.tracingClient.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",v,(async V=>{const K=(0,fe.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:v.abortSignal,leaseAccessConditions:v.conditions,modifiedAccessConditions:{...v.conditions,ifTags:v.conditions?.tagConditions},prevSnapshotUrl:p,range:(0,ce.rangeToString)({offset:i,count:d}),tracingOptions:V.tracingOptions}));return(0,se.rangeResponseFromModel)(K)}))}async resize(i,d={}){d.conditions=d.conditions||{};return pe.tracingClient.withSpan("PageBlobClient-resize",d,(async p=>(0,fe.assertResponse)(await this.pageBlobContext.resize(i,{abortSignal:d.abortSignal,leaseAccessConditions:d.conditions,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},encryptionScope:d.encryptionScope,tracingOptions:p.tracingOptions}))))}async updateSequenceNumber(i,d,p={}){p.conditions=p.conditions||{};return pe.tracingClient.withSpan("PageBlobClient-updateSequenceNumber",p,(async v=>(0,fe.assertResponse)(await this.pageBlobContext.updateSequenceNumber(i,{abortSignal:p.abortSignal,blobSequenceNumber:d,leaseAccessConditions:p.conditions,modifiedAccessConditions:{...p.conditions,ifTags:p.conditions?.tagConditions},tracingOptions:v.tracingOptions}))))}async startCopyIncremental(i,d={}){return pe.tracingClient.withSpan("PageBlobClient-startCopyIncremental",d,(async p=>(0,fe.assertResponse)(await this.pageBlobContext.copyIncremental(i,{abortSignal:d.abortSignal,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},tracingOptions:p.tracingOptions}))))}}d.PageBlobClient=PageBlobClient},81884:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ContainerClient=void 0;const v=p(20778);const V=p(87779);const K=p(50417);const ee=p(51382);const te=p(25984);const re=p(73542);const ne=p(53952);const ie=p(47764);const se=p(656);const oe=p(23276);const ae=p(90372);const ce=p(12094);class ContainerClient extends re.StorageClient{containerContext;_containerName;get containerName(){return this._containerName}constructor(i,d,p){let re;let ne;p=p||{};if((0,te.isPipelineLike)(d)){ne=i;re=d}else if(V.isNodeLike&&d instanceof ee.StorageSharedKeyCredential||d instanceof ee.AnonymousCredential||(0,K.isTokenCredential)(d)){ne=i;re=(0,te.newPipeline)(d,p)}else if(!d&&typeof d!=="string"){ne=i;re=(0,te.newPipeline)(new ee.AnonymousCredential,p)}else if(d&&typeof d==="string"){const K=d;const se=(0,ie.extractConnectionStringParts)(i);if(se.kind==="AccountConnString"){if(V.isNodeLike){const i=new ee.StorageSharedKeyCredential(se.accountName,se.accountKey);ne=(0,ie.appendToURLPath)(se.url,encodeURIComponent(K));if(!p.proxyOptions){p.proxyOptions=(0,v.getDefaultProxySettings)(se.proxyUri)}re=(0,te.newPipeline)(i,p)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(se.kind==="SASConnString"){ne=(0,ie.appendToURLPath)(se.url,encodeURIComponent(K))+"?"+se.accountSas;re=(0,te.newPipeline)(new ee.AnonymousCredential,p)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}else{throw new Error("Expecting non-empty strings for containerName parameter")}super(ne,re);this._containerName=this.getContainerNameFromUrl();this.containerContext=this.storageClientContext.container}async create(i={}){return ne.tracingClient.withSpan("ContainerClient-create",i,(async i=>(0,ie.assertResponse)(await this.containerContext.create(i))))}async createIfNotExists(i={}){return ne.tracingClient.withSpan("ContainerClient-createIfNotExists",i,(async i=>{try{const d=await this.create(i);return{succeeded:true,...d,_response:d._response}}catch(i){if(i.details?.errorCode==="ContainerAlreadyExists"){return{succeeded:false,...i.response?.parsedHeaders,_response:i.response}}else{throw i}}}))}async exists(i={}){return ne.tracingClient.withSpan("ContainerClient-exists",i,(async d=>{try{await this.getProperties({abortSignal:i.abortSignal,tracingOptions:d.tracingOptions});return true}catch(i){if(i.statusCode===404){return false}throw i}}))}getBlobClient(i){return new ae.BlobClient((0,ie.appendToURLPath)(this.url,(0,ie.EscapePath)(i)),this.pipeline)}getAppendBlobClient(i){return new ae.AppendBlobClient((0,ie.appendToURLPath)(this.url,(0,ie.EscapePath)(i)),this.pipeline)}getBlockBlobClient(i){return new ae.BlockBlobClient((0,ie.appendToURLPath)(this.url,(0,ie.EscapePath)(i)),this.pipeline)}getPageBlobClient(i){return new ae.PageBlobClient((0,ie.appendToURLPath)(this.url,(0,ie.EscapePath)(i)),this.pipeline)}async getProperties(i={}){if(!i.conditions){i.conditions={}}return ne.tracingClient.withSpan("ContainerClient-getProperties",i,(async d=>(0,ie.assertResponse)(await this.containerContext.getProperties({abortSignal:i.abortSignal,...i.conditions,tracingOptions:d.tracingOptions}))))}async delete(i={}){if(!i.conditions){i.conditions={}}return ne.tracingClient.withSpan("ContainerClient-delete",i,(async d=>(0,ie.assertResponse)(await this.containerContext.delete({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:i.conditions,tracingOptions:d.tracingOptions}))))}async deleteIfExists(i={}){return ne.tracingClient.withSpan("ContainerClient-deleteIfExists",i,(async i=>{try{const d=await this.delete(i);return{succeeded:true,...d,_response:d._response}}catch(i){if(i.details?.errorCode==="ContainerNotFound"){return{succeeded:false,...i.response?.parsedHeaders,_response:i.response}}throw i}}))}async setMetadata(i,d={}){if(!d.conditions){d.conditions={}}if(d.conditions.ifUnmodifiedSince){throw new RangeError("the IfUnmodifiedSince must have their default values because they are ignored by the blob service")}return ne.tracingClient.withSpan("ContainerClient-setMetadata",d,(async p=>(0,ie.assertResponse)(await this.containerContext.setMetadata({abortSignal:d.abortSignal,leaseAccessConditions:d.conditions,metadata:i,modifiedAccessConditions:d.conditions,tracingOptions:p.tracingOptions}))))}async getAccessPolicy(i={}){if(!i.conditions){i.conditions={}}return ne.tracingClient.withSpan("ContainerClient-getAccessPolicy",i,(async d=>{const p=(0,ie.assertResponse)(await this.containerContext.getAccessPolicy({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,tracingOptions:d.tracingOptions}));const v={_response:p._response,blobPublicAccess:p.blobPublicAccess,date:p.date,etag:p.etag,errorCode:p.errorCode,lastModified:p.lastModified,requestId:p.requestId,clientRequestId:p.clientRequestId,signedIdentifiers:[],version:p.version};for(const i of p){let d=undefined;if(i.accessPolicy){d={permissions:i.accessPolicy.permissions};if(i.accessPolicy.expiresOn){d.expiresOn=new Date(i.accessPolicy.expiresOn)}if(i.accessPolicy.startsOn){d.startsOn=new Date(i.accessPolicy.startsOn)}}v.signedIdentifiers.push({accessPolicy:d,id:i.id})}return v}))}async setAccessPolicy(i,d,p={}){p.conditions=p.conditions||{};return ne.tracingClient.withSpan("ContainerClient-setAccessPolicy",p,(async v=>{const V=[];for(const i of d||[]){V.push({accessPolicy:{expiresOn:i.accessPolicy.expiresOn?(0,ie.truncatedISO8061Date)(i.accessPolicy.expiresOn):"",permissions:i.accessPolicy.permissions,startsOn:i.accessPolicy.startsOn?(0,ie.truncatedISO8061Date)(i.accessPolicy.startsOn):""},id:i.id})}return(0,ie.assertResponse)(await this.containerContext.setAccessPolicy({abortSignal:p.abortSignal,access:i,containerAcl:V,leaseAccessConditions:p.conditions,modifiedAccessConditions:p.conditions,tracingOptions:v.tracingOptions}))}))}getBlobLeaseClient(i){return new oe.BlobLeaseClient(this,i)}async uploadBlockBlob(i,d,p,v={}){return ne.tracingClient.withSpan("ContainerClient-uploadBlockBlob",v,(async v=>{const V=this.getBlockBlobClient(i);const K=await V.upload(d,p,v);return{blockBlobClient:V,response:K}}))}async deleteBlob(i,d={}){return ne.tracingClient.withSpan("ContainerClient-deleteBlob",d,(async p=>{let v=this.getBlobClient(i);if(d.versionId){v=v.withVersion(d.versionId)}return v.delete(p)}))}async listBlobFlatSegment(i,d={}){return ne.tracingClient.withSpan("ContainerClient-listBlobFlatSegment",d,(async p=>{const v=(0,ie.assertResponse)(await this.containerContext.listBlobFlatSegment({marker:i,...d,tracingOptions:p.tracingOptions}));const V={...v,_response:{...v._response,parsedBody:(0,ie.ConvertInternalResponseOfListBlobFlat)(v._response.parsedBody)},segment:{...v.segment,blobItems:v.segment.blobItems.map((i=>{const d={...i,name:(0,ie.BlobNameToString)(i.name),tags:(0,ie.toTags)(i.blobTags),objectReplicationSourceProperties:(0,ie.parseObjectReplicationRecord)(i.objectReplicationMetadata)};return d}))}};return V}))}async listBlobHierarchySegment(i,d,p={}){return ne.tracingClient.withSpan("ContainerClient-listBlobHierarchySegment",p,(async v=>{const V=(0,ie.assertResponse)(await this.containerContext.listBlobHierarchySegment(i,{marker:d,...p,tracingOptions:v.tracingOptions}));const K={...V,_response:{...V._response,parsedBody:(0,ie.ConvertInternalResponseOfListBlobHierarchy)(V._response.parsedBody)},segment:{...V.segment,blobItems:V.segment.blobItems.map((i=>{const d={...i,name:(0,ie.BlobNameToString)(i.name),tags:(0,ie.toTags)(i.blobTags),objectReplicationSourceProperties:(0,ie.parseObjectReplicationRecord)(i.objectReplicationMetadata)};return d})),blobPrefixes:V.segment.blobPrefixes?.map((i=>{const d={...i,name:(0,ie.BlobNameToString)(i.name)};return d}))}};return K}))}async*listSegments(i,d={}){let p;if(!!i||i===undefined){do{p=await this.listBlobFlatSegment(i,d);i=p.continuationToken;yield await p}while(i)}}async*listItems(i={}){let d;for await(const p of this.listSegments(d,i)){yield*p.segment.blobItems}}listBlobsFlat(i={}){const d=[];if(i.includeCopy){d.push("copy")}if(i.includeDeleted){d.push("deleted")}if(i.includeMetadata){d.push("metadata")}if(i.includeSnapshots){d.push("snapshots")}if(i.includeVersions){d.push("versions")}if(i.includeUncommitedBlobs){d.push("uncommittedblobs")}if(i.includeTags){d.push("tags")}if(i.includeDeletedWithVersions){d.push("deletedwithversions")}if(i.includeImmutabilityPolicy){d.push("immutabilitypolicy")}if(i.includeLegalHold){d.push("legalhold")}if(i.prefix===""){i.prefix=undefined}const p={...i,...d.length>0?{include:d}:{}};const v=this.listItems(p);return{next(){return v.next()},[Symbol.asyncIterator](){return this},byPage:(i={})=>this.listSegments(i.continuationToken,{maxPageSize:i.maxPageSize,...p})}}async*listHierarchySegments(i,d,p={}){let v;if(!!d||d===undefined){do{v=await this.listBlobHierarchySegment(i,d,p);d=v.continuationToken;yield await v}while(d)}}async*listItemsByHierarchy(i,d={}){let p;for await(const v of this.listHierarchySegments(i,p,d)){const i=v.segment;if(i.blobPrefixes){for(const d of i.blobPrefixes){yield{kind:"prefix",...d}}}for(const d of i.blobItems){yield{kind:"blob",...d}}}}listBlobsByHierarchy(i,d={}){if(i===""){throw new RangeError("delimiter should contain one or more characters")}const p=[];if(d.includeCopy){p.push("copy")}if(d.includeDeleted){p.push("deleted")}if(d.includeMetadata){p.push("metadata")}if(d.includeSnapshots){p.push("snapshots")}if(d.includeVersions){p.push("versions")}if(d.includeUncommitedBlobs){p.push("uncommittedblobs")}if(d.includeTags){p.push("tags")}if(d.includeDeletedWithVersions){p.push("deletedwithversions")}if(d.includeImmutabilityPolicy){p.push("immutabilitypolicy")}if(d.includeLegalHold){p.push("legalhold")}if(d.prefix===""){d.prefix=undefined}const v={...d,...p.length>0?{include:p}:{}};const V=this.listItemsByHierarchy(i,v);return{async next(){return V.next()},[Symbol.asyncIterator](){return this},byPage:(d={})=>this.listHierarchySegments(i,d.continuationToken,{maxPageSize:d.maxPageSize,...v})}}async findBlobsByTagsSegment(i,d,p={}){return ne.tracingClient.withSpan("ContainerClient-findBlobsByTagsSegment",p,(async v=>{const V=(0,ie.assertResponse)(await this.containerContext.filterBlobs({abortSignal:p.abortSignal,where:i,marker:d,maxPageSize:p.maxPageSize,tracingOptions:v.tracingOptions}));const K={...V,_response:V._response,blobs:V.blobs.map((i=>{let d="";if(i.tags?.blobTagSet.length===1){d=i.tags.blobTagSet[0].value}return{...i,tags:(0,ie.toTags)(i.tags),tagValue:d}}))};return K}))}async*findBlobsByTagsSegments(i,d,p={}){let v;if(!!d||d===undefined){do{v=await this.findBlobsByTagsSegment(i,d,p);v.blobs=v.blobs||[];d=v.continuationToken;yield v}while(d)}}async*findBlobsByTagsItems(i,d={}){let p;for await(const v of this.findBlobsByTagsSegments(i,p,d)){yield*v.blobs}}findBlobsByTags(i,d={}){const p={...d};const v=this.findBlobsByTagsItems(i,p);return{next(){return v.next()},[Symbol.asyncIterator](){return this},byPage:(d={})=>this.findBlobsByTagsSegments(i,d.continuationToken,{maxPageSize:d.maxPageSize,...p})}}async getAccountInfo(i={}){return ne.tracingClient.withSpan("ContainerClient-getAccountInfo",i,(async d=>(0,ie.assertResponse)(await this.containerContext.getAccountInfo({abortSignal:i.abortSignal,tracingOptions:d.tracingOptions}))))}getContainerNameFromUrl(){let i;try{const d=new URL(this.url);if(d.hostname.split(".")[1]==="blob"){i=d.pathname.split("/")[1]}else if((0,ie.isIpEndpointStyle)(d)){i=d.pathname.split("/")[2]}else{i=d.pathname.split("/")[1]}i=decodeURIComponent(i);if(!i){throw new Error("Provided containerName is invalid.")}return i}catch(i){throw new Error("Unable to extract containerName with provided information.")}}generateSasUrl(i){return new Promise((d=>{if(!(this.credential instanceof ee.StorageSharedKeyCredential)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}const p=(0,se.generateBlobSASQueryParameters)({containerName:this._containerName,...i},this.credential).toString();d((0,ie.appendToURLQuery)(this.url,p))}))}generateSasStringToSign(i){if(!(this.credential instanceof ee.StorageSharedKeyCredential)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}return(0,se.generateBlobSASQueryParametersInternal)({containerName:this._containerName,...i},this.credential).stringToSign}generateUserDelegationSasUrl(i,d){return new Promise((p=>{const v=(0,se.generateBlobSASQueryParameters)({containerName:this._containerName,...i},d,this.accountName).toString();p((0,ie.appendToURLQuery)(this.url,v))}))}generateUserDelegationSasStringToSign(i,d){return(0,se.generateBlobSASQueryParametersInternal)({containerName:this._containerName,...i},d,this.accountName).stringToSign}getBlobBatchClient(){return new ce.BlobBatchClient(this.url,this.pipeline)}}d.ContainerClient=ContainerClient},95302:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.rangeResponseFromModel=rangeResponseFromModel;function rangeResponseFromModel(i){const d=(i._response.parsedBody.pageRange||[]).map((i=>({offset:i.start,count:i.end-i.start})));const p=(i._response.parsedBody.clearRange||[]).map((i=>({offset:i.start,count:i.end-i.start})));return{...i,pageRange:d,clearRange:p,_response:{...i._response,parsedBody:{pageRange:d,clearRange:p}}}}},25984:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.Pipeline=d.StorageOAuthScopes=void 0;d.isPipelineLike=isPipelineLike;d.newPipeline=newPipeline;d.getCoreClientOptions=getCoreClientOptions;d.getCredentialFromPipeline=getCredentialFromPipeline;const v=p(61584);const V=p(20778);const K=p(60160);const ee=p(78756);const te=p(50417);const re=p(46370);const ne=p(51382);const ie=p(27323);Object.defineProperty(d,"StorageOAuthScopes",{enumerable:true,get:function(){return ie.StorageOAuthScopes}});function isPipelineLike(i){if(!i||typeof i!=="object"){return false}const d=i;return Array.isArray(d.factories)&&typeof d.options==="object"&&typeof d.toServiceClientOptions==="function"}class Pipeline{factories;options;constructor(i,d={}){this.factories=i;this.options=d}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}}d.Pipeline=Pipeline;function newPipeline(i,d={}){if(!i){i=new ne.AnonymousCredential}const p=new Pipeline([],d);p._credential=i;return p}function processDownlevelPipeline(i){const d=[isAnonymousCredential,isStorageSharedKeyCredential,isCoreHttpBearerTokenFactory,isStorageBrowserPolicyFactory,isStorageRetryPolicyFactory,isStorageTelemetryPolicyFactory,isCoreHttpPolicyFactory];if(i.factories.length){const p=i.factories.filter((i=>!d.some((d=>d(i)))));if(p.length){const i=p.some((i=>isInjectorPolicyFactory(i)));return{wrappedPolicies:(0,v.createRequestPolicyFactoryPolicy)(p),afterRetry:i}}}return undefined}function getCoreClientOptions(i){const{httpClient:d,...p}=i.options;let se=i._coreHttpClient;if(!se){se=d?(0,v.convertHttpClient)(d):(0,ne.getCachedDefaultHttpClient)();i._coreHttpClient=se}let oe=i._corePipeline;if(!oe){const d=`azsdk-js-azure-storage-blob/${ie.SDK_VERSION}`;const v=p.userAgentOptions&&p.userAgentOptions.userAgentPrefix?`${p.userAgentOptions.userAgentPrefix} ${d}`:`${d}`;oe=(0,K.createClientPipeline)({...p,loggingOptions:{additionalAllowedHeaderNames:ie.StorageBlobLoggingAllowedHeaderNames,additionalAllowedQueryParameters:ie.StorageBlobLoggingAllowedQueryParameters,logger:re.logger.info},userAgentOptions:{userAgentPrefix:v},serializationOptions:{stringifyXML:ee.stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:ee.parseXML,serializerOptions:{xml:{xmlCharKey:"#"}}}});oe.removePolicy({phase:"Retry"});oe.removePolicy({name:V.decompressResponsePolicyName});oe.addPolicy((0,ne.storageCorrectContentLengthPolicy)());oe.addPolicy((0,ne.storageRetryPolicy)(p.retryOptions),{phase:"Retry"});oe.addPolicy((0,ne.storageRequestFailureDetailsParserPolicy)());oe.addPolicy((0,ne.storageBrowserPolicy)());const se=processDownlevelPipeline(i);if(se){oe.addPolicy(se.wrappedPolicies,se.afterRetry?{afterPhase:"Retry"}:undefined)}const ae=getCredentialFromPipeline(i);if((0,te.isTokenCredential)(ae)){oe.addPolicy((0,V.bearerTokenAuthenticationPolicy)({credential:ae,scopes:p.audience??ie.StorageOAuthScopes,challengeCallbacks:{authorizeRequestOnChallenge:K.authorizeRequestOnTenantChallenge}}),{phase:"Sign"})}else if(ae instanceof ne.StorageSharedKeyCredential){oe.addPolicy((0,ne.storageSharedKeyCredentialPolicy)({accountName:ae.accountName,accountKey:ae.accountKey}),{phase:"Sign"})}i._corePipeline=oe}return{...p,allowInsecureConnection:true,httpClient:se,pipeline:oe}}function getCredentialFromPipeline(i){if(i._credential){return i._credential}let d=new ne.AnonymousCredential;for(const p of i.factories){if((0,te.isTokenCredential)(p.credential)){d=p.credential}else if(isStorageSharedKeyCredential(p)){return p}}return d}function isStorageSharedKeyCredential(i){if(i instanceof ne.StorageSharedKeyCredential){return true}return i.constructor.name==="StorageSharedKeyCredential"}function isAnonymousCredential(i){if(i instanceof ne.AnonymousCredential){return true}return i.constructor.name==="AnonymousCredential"}function isCoreHttpBearerTokenFactory(i){return(0,te.isTokenCredential)(i.credential)}function isStorageBrowserPolicyFactory(i){if(i instanceof ne.StorageBrowserPolicyFactory){return true}return i.constructor.name==="StorageBrowserPolicyFactory"}function isStorageRetryPolicyFactory(i){if(i instanceof ne.StorageRetryPolicyFactory){return true}return i.constructor.name==="StorageRetryPolicyFactory"}function isStorageTelemetryPolicyFactory(i){return i.constructor.name==="TelemetryPolicyFactory"}function isInjectorPolicyFactory(i){return i.constructor.name==="InjectorPolicyFactory"}function isCoreHttpPolicyFactory(i){const d=["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"];const p={sendRequest:async i=>({request:i,headers:i.headers.clone(),status:500})};const v={log(i,d){},shouldLog(i){return false}};const V=i.create(p,v);const K=V.constructor.name;return d.some((i=>K.startsWith(i)))}},52045:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.rangeToString=rangeToString;function rangeToString(i){if(i.offset<0){throw new RangeError(`Range.offset cannot be smaller than 0.`)}if(i.count&&i.count<=0){throw new RangeError(`Range.count must be larger than 0. Leave it undefined if you want a range from offset to the end.`)}return i.count?`bytes=${i.offset}-${i.offset+i.count-1}`:`bytes=${i.offset}-`}},73542:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageClient=void 0;const v=p(53789);const V=p(25984);const K=p(47764);class StorageClient{url;accountName;pipeline;credential;storageClientContext;isHttps;constructor(i,d){this.url=(0,K.escapeURLPath)(i);this.accountName=(0,K.getAccountNameFromUrl)(i);this.pipeline=d;this.storageClientContext=new v.StorageContextClient(this.url,(0,V.getCoreClientOptions)(d));this.isHttps=(0,K.iEqual)((0,K.getURLScheme)(this.url)||"","https");this.credential=(0,V.getCredentialFromPipeline)(d);const p=this.storageClientContext;p.requestContentType=undefined}}d.StorageClient=StorageClient},53789:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageContextClient=void 0;const v=p(30247);class StorageContextClient extends v.StorageClient{async sendOperationRequest(i,d){const p={...d};if(p.path==="/{containerName}"||p.path==="/{containerName}/{blob}"){p.path=""}return super.sendOperationRequest(i,p)}}d.StorageContextClient=StorageContextClient},30247:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageClient=void 0;const v=p(93849);v.__exportStar(p(12362),d);var V=p(5313);Object.defineProperty(d,"StorageClient",{enumerable:true,get:function(){return V.StorageClient}});v.__exportStar(p(82354),d)},12362:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.KnownStorageErrorCode=d.KnownBlobExpiryOptions=d.KnownFileShareTokenIntent=d.KnownEncryptionAlgorithmType=void 0;var p;(function(i){i["AES256"]="AES256"})(p||(d.KnownEncryptionAlgorithmType=p={}));var v;(function(i){i["Backup"]="backup"})(v||(d.KnownFileShareTokenIntent=v={}));var V;(function(i){i["NeverExpire"]="NeverExpire";i["RelativeToCreation"]="RelativeToCreation";i["RelativeToNow"]="RelativeToNow";i["Absolute"]="Absolute"})(V||(d.KnownBlobExpiryOptions=V={}));var K;(function(i){i["AccountAlreadyExists"]="AccountAlreadyExists";i["AccountBeingCreated"]="AccountBeingCreated";i["AccountIsDisabled"]="AccountIsDisabled";i["AuthenticationFailed"]="AuthenticationFailed";i["AuthorizationFailure"]="AuthorizationFailure";i["ConditionHeadersNotSupported"]="ConditionHeadersNotSupported";i["ConditionNotMet"]="ConditionNotMet";i["EmptyMetadataKey"]="EmptyMetadataKey";i["InsufficientAccountPermissions"]="InsufficientAccountPermissions";i["InternalError"]="InternalError";i["InvalidAuthenticationInfo"]="InvalidAuthenticationInfo";i["InvalidHeaderValue"]="InvalidHeaderValue";i["InvalidHttpVerb"]="InvalidHttpVerb";i["InvalidInput"]="InvalidInput";i["InvalidMd5"]="InvalidMd5";i["InvalidMetadata"]="InvalidMetadata";i["InvalidQueryParameterValue"]="InvalidQueryParameterValue";i["InvalidRange"]="InvalidRange";i["InvalidResourceName"]="InvalidResourceName";i["InvalidUri"]="InvalidUri";i["InvalidXmlDocument"]="InvalidXmlDocument";i["InvalidXmlNodeValue"]="InvalidXmlNodeValue";i["Md5Mismatch"]="Md5Mismatch";i["MetadataTooLarge"]="MetadataTooLarge";i["MissingContentLengthHeader"]="MissingContentLengthHeader";i["MissingRequiredQueryParameter"]="MissingRequiredQueryParameter";i["MissingRequiredHeader"]="MissingRequiredHeader";i["MissingRequiredXmlNode"]="MissingRequiredXmlNode";i["MultipleConditionHeadersNotSupported"]="MultipleConditionHeadersNotSupported";i["OperationTimedOut"]="OperationTimedOut";i["OutOfRangeInput"]="OutOfRangeInput";i["OutOfRangeQueryParameterValue"]="OutOfRangeQueryParameterValue";i["RequestBodyTooLarge"]="RequestBodyTooLarge";i["ResourceTypeMismatch"]="ResourceTypeMismatch";i["RequestUrlFailedToParse"]="RequestUrlFailedToParse";i["ResourceAlreadyExists"]="ResourceAlreadyExists";i["ResourceNotFound"]="ResourceNotFound";i["ServerBusy"]="ServerBusy";i["UnsupportedHeader"]="UnsupportedHeader";i["UnsupportedXmlNode"]="UnsupportedXmlNode";i["UnsupportedQueryParameter"]="UnsupportedQueryParameter";i["UnsupportedHttpVerb"]="UnsupportedHttpVerb";i["AppendPositionConditionNotMet"]="AppendPositionConditionNotMet";i["BlobAlreadyExists"]="BlobAlreadyExists";i["BlobImmutableDueToPolicy"]="BlobImmutableDueToPolicy";i["BlobNotFound"]="BlobNotFound";i["BlobOverwritten"]="BlobOverwritten";i["BlobTierInadequateForContentLength"]="BlobTierInadequateForContentLength";i["BlobUsesCustomerSpecifiedEncryption"]="BlobUsesCustomerSpecifiedEncryption";i["BlockCountExceedsLimit"]="BlockCountExceedsLimit";i["BlockListTooLong"]="BlockListTooLong";i["CannotChangeToLowerTier"]="CannotChangeToLowerTier";i["CannotVerifyCopySource"]="CannotVerifyCopySource";i["ContainerAlreadyExists"]="ContainerAlreadyExists";i["ContainerBeingDeleted"]="ContainerBeingDeleted";i["ContainerDisabled"]="ContainerDisabled";i["ContainerNotFound"]="ContainerNotFound";i["ContentLengthLargerThanTierLimit"]="ContentLengthLargerThanTierLimit";i["CopyAcrossAccountsNotSupported"]="CopyAcrossAccountsNotSupported";i["CopyIdMismatch"]="CopyIdMismatch";i["FeatureVersionMismatch"]="FeatureVersionMismatch";i["IncrementalCopyBlobMismatch"]="IncrementalCopyBlobMismatch";i["IncrementalCopyOfEarlierVersionSnapshotNotAllowed"]="IncrementalCopyOfEarlierVersionSnapshotNotAllowed";i["IncrementalCopySourceMustBeSnapshot"]="IncrementalCopySourceMustBeSnapshot";i["InfiniteLeaseDurationRequired"]="InfiniteLeaseDurationRequired";i["InvalidBlobOrBlock"]="InvalidBlobOrBlock";i["InvalidBlobTier"]="InvalidBlobTier";i["InvalidBlobType"]="InvalidBlobType";i["InvalidBlockId"]="InvalidBlockId";i["InvalidBlockList"]="InvalidBlockList";i["InvalidOperation"]="InvalidOperation";i["InvalidPageRange"]="InvalidPageRange";i["InvalidSourceBlobType"]="InvalidSourceBlobType";i["InvalidSourceBlobUrl"]="InvalidSourceBlobUrl";i["InvalidVersionForPageBlobOperation"]="InvalidVersionForPageBlobOperation";i["LeaseAlreadyPresent"]="LeaseAlreadyPresent";i["LeaseAlreadyBroken"]="LeaseAlreadyBroken";i["LeaseIdMismatchWithBlobOperation"]="LeaseIdMismatchWithBlobOperation";i["LeaseIdMismatchWithContainerOperation"]="LeaseIdMismatchWithContainerOperation";i["LeaseIdMismatchWithLeaseOperation"]="LeaseIdMismatchWithLeaseOperation";i["LeaseIdMissing"]="LeaseIdMissing";i["LeaseIsBreakingAndCannotBeAcquired"]="LeaseIsBreakingAndCannotBeAcquired";i["LeaseIsBreakingAndCannotBeChanged"]="LeaseIsBreakingAndCannotBeChanged";i["LeaseIsBrokenAndCannotBeRenewed"]="LeaseIsBrokenAndCannotBeRenewed";i["LeaseLost"]="LeaseLost";i["LeaseNotPresentWithBlobOperation"]="LeaseNotPresentWithBlobOperation";i["LeaseNotPresentWithContainerOperation"]="LeaseNotPresentWithContainerOperation";i["LeaseNotPresentWithLeaseOperation"]="LeaseNotPresentWithLeaseOperation";i["MaxBlobSizeConditionNotMet"]="MaxBlobSizeConditionNotMet";i["NoAuthenticationInformation"]="NoAuthenticationInformation";i["NoPendingCopyOperation"]="NoPendingCopyOperation";i["OperationNotAllowedOnIncrementalCopyBlob"]="OperationNotAllowedOnIncrementalCopyBlob";i["PendingCopyOperation"]="PendingCopyOperation";i["PreviousSnapshotCannotBeNewer"]="PreviousSnapshotCannotBeNewer";i["PreviousSnapshotNotFound"]="PreviousSnapshotNotFound";i["PreviousSnapshotOperationNotSupported"]="PreviousSnapshotOperationNotSupported";i["SequenceNumberConditionNotMet"]="SequenceNumberConditionNotMet";i["SequenceNumberIncrementTooLarge"]="SequenceNumberIncrementTooLarge";i["SnapshotCountExceeded"]="SnapshotCountExceeded";i["SnapshotOperationRateExceeded"]="SnapshotOperationRateExceeded";i["SnapshotsPresent"]="SnapshotsPresent";i["SourceConditionNotMet"]="SourceConditionNotMet";i["SystemInUse"]="SystemInUse";i["TargetConditionNotMet"]="TargetConditionNotMet";i["UnauthorizedBlobOverwrite"]="UnauthorizedBlobOverwrite";i["BlobBeingRehydrated"]="BlobBeingRehydrated";i["BlobArchived"]="BlobArchived";i["BlobNotArchived"]="BlobNotArchived";i["AuthorizationSourceIPMismatch"]="AuthorizationSourceIPMismatch";i["AuthorizationProtocolMismatch"]="AuthorizationProtocolMismatch";i["AuthorizationPermissionMismatch"]="AuthorizationPermissionMismatch";i["AuthorizationServiceMismatch"]="AuthorizationServiceMismatch";i["AuthorizationResourceTypeMismatch"]="AuthorizationResourceTypeMismatch";i["BlobAccessTierNotSupportedForAccountType"]="BlobAccessTierNotSupportedForAccountType"})(K||(d.KnownStorageErrorCode=K={}))},84424:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.ServiceGetUserDelegationKeyHeaders=d.ServiceListContainersSegmentExceptionHeaders=d.ServiceListContainersSegmentHeaders=d.ServiceGetStatisticsExceptionHeaders=d.ServiceGetStatisticsHeaders=d.ServiceGetPropertiesExceptionHeaders=d.ServiceGetPropertiesHeaders=d.ServiceSetPropertiesExceptionHeaders=d.ServiceSetPropertiesHeaders=d.ArrowField=d.ArrowConfiguration=d.JsonTextConfiguration=d.DelimitedTextConfiguration=d.QueryFormat=d.QuerySerialization=d.QueryRequest=d.ClearRange=d.PageRange=d.PageList=d.Block=d.BlockList=d.BlockLookupList=d.BlobPrefix=d.BlobHierarchyListSegment=d.ListBlobsHierarchySegmentResponse=d.BlobPropertiesInternal=d.BlobName=d.BlobItemInternal=d.BlobFlatListSegment=d.ListBlobsFlatSegmentResponse=d.AccessPolicy=d.SignedIdentifier=d.BlobTag=d.BlobTags=d.FilterBlobItem=d.FilterBlobSegment=d.UserDelegationKey=d.KeyInfo=d.ContainerProperties=d.ContainerItem=d.ListContainersSegmentResponse=d.GeoReplication=d.BlobServiceStatistics=d.StorageError=d.StaticWebsite=d.CorsRule=d.Metrics=d.RetentionPolicy=d.Logging=d.BlobServiceProperties=void 0;d.BlobUndeleteHeaders=d.BlobDeleteExceptionHeaders=d.BlobDeleteHeaders=d.BlobGetPropertiesExceptionHeaders=d.BlobGetPropertiesHeaders=d.BlobDownloadExceptionHeaders=d.BlobDownloadHeaders=d.ContainerGetAccountInfoExceptionHeaders=d.ContainerGetAccountInfoHeaders=d.ContainerListBlobHierarchySegmentExceptionHeaders=d.ContainerListBlobHierarchySegmentHeaders=d.ContainerListBlobFlatSegmentExceptionHeaders=d.ContainerListBlobFlatSegmentHeaders=d.ContainerChangeLeaseExceptionHeaders=d.ContainerChangeLeaseHeaders=d.ContainerBreakLeaseExceptionHeaders=d.ContainerBreakLeaseHeaders=d.ContainerRenewLeaseExceptionHeaders=d.ContainerRenewLeaseHeaders=d.ContainerReleaseLeaseExceptionHeaders=d.ContainerReleaseLeaseHeaders=d.ContainerAcquireLeaseExceptionHeaders=d.ContainerAcquireLeaseHeaders=d.ContainerFilterBlobsExceptionHeaders=d.ContainerFilterBlobsHeaders=d.ContainerSubmitBatchExceptionHeaders=d.ContainerSubmitBatchHeaders=d.ContainerRenameExceptionHeaders=d.ContainerRenameHeaders=d.ContainerRestoreExceptionHeaders=d.ContainerRestoreHeaders=d.ContainerSetAccessPolicyExceptionHeaders=d.ContainerSetAccessPolicyHeaders=d.ContainerGetAccessPolicyExceptionHeaders=d.ContainerGetAccessPolicyHeaders=d.ContainerSetMetadataExceptionHeaders=d.ContainerSetMetadataHeaders=d.ContainerDeleteExceptionHeaders=d.ContainerDeleteHeaders=d.ContainerGetPropertiesExceptionHeaders=d.ContainerGetPropertiesHeaders=d.ContainerCreateExceptionHeaders=d.ContainerCreateHeaders=d.ServiceFilterBlobsExceptionHeaders=d.ServiceFilterBlobsHeaders=d.ServiceSubmitBatchExceptionHeaders=d.ServiceSubmitBatchHeaders=d.ServiceGetAccountInfoExceptionHeaders=d.ServiceGetAccountInfoHeaders=d.ServiceGetUserDelegationKeyExceptionHeaders=void 0;d.PageBlobGetPageRangesHeaders=d.PageBlobUploadPagesFromURLExceptionHeaders=d.PageBlobUploadPagesFromURLHeaders=d.PageBlobClearPagesExceptionHeaders=d.PageBlobClearPagesHeaders=d.PageBlobUploadPagesExceptionHeaders=d.PageBlobUploadPagesHeaders=d.PageBlobCreateExceptionHeaders=d.PageBlobCreateHeaders=d.BlobSetTagsExceptionHeaders=d.BlobSetTagsHeaders=d.BlobGetTagsExceptionHeaders=d.BlobGetTagsHeaders=d.BlobQueryExceptionHeaders=d.BlobQueryHeaders=d.BlobGetAccountInfoExceptionHeaders=d.BlobGetAccountInfoHeaders=d.BlobSetTierExceptionHeaders=d.BlobSetTierHeaders=d.BlobAbortCopyFromURLExceptionHeaders=d.BlobAbortCopyFromURLHeaders=d.BlobCopyFromURLExceptionHeaders=d.BlobCopyFromURLHeaders=d.BlobStartCopyFromURLExceptionHeaders=d.BlobStartCopyFromURLHeaders=d.BlobCreateSnapshotExceptionHeaders=d.BlobCreateSnapshotHeaders=d.BlobBreakLeaseExceptionHeaders=d.BlobBreakLeaseHeaders=d.BlobChangeLeaseExceptionHeaders=d.BlobChangeLeaseHeaders=d.BlobRenewLeaseExceptionHeaders=d.BlobRenewLeaseHeaders=d.BlobReleaseLeaseExceptionHeaders=d.BlobReleaseLeaseHeaders=d.BlobAcquireLeaseExceptionHeaders=d.BlobAcquireLeaseHeaders=d.BlobSetMetadataExceptionHeaders=d.BlobSetMetadataHeaders=d.BlobSetLegalHoldExceptionHeaders=d.BlobSetLegalHoldHeaders=d.BlobDeleteImmutabilityPolicyExceptionHeaders=d.BlobDeleteImmutabilityPolicyHeaders=d.BlobSetImmutabilityPolicyExceptionHeaders=d.BlobSetImmutabilityPolicyHeaders=d.BlobSetHttpHeadersExceptionHeaders=d.BlobSetHttpHeadersHeaders=d.BlobSetExpiryExceptionHeaders=d.BlobSetExpiryHeaders=d.BlobUndeleteExceptionHeaders=void 0;d.BlockBlobGetBlockListExceptionHeaders=d.BlockBlobGetBlockListHeaders=d.BlockBlobCommitBlockListExceptionHeaders=d.BlockBlobCommitBlockListHeaders=d.BlockBlobStageBlockFromURLExceptionHeaders=d.BlockBlobStageBlockFromURLHeaders=d.BlockBlobStageBlockExceptionHeaders=d.BlockBlobStageBlockHeaders=d.BlockBlobPutBlobFromUrlExceptionHeaders=d.BlockBlobPutBlobFromUrlHeaders=d.BlockBlobUploadExceptionHeaders=d.BlockBlobUploadHeaders=d.AppendBlobSealExceptionHeaders=d.AppendBlobSealHeaders=d.AppendBlobAppendBlockFromUrlExceptionHeaders=d.AppendBlobAppendBlockFromUrlHeaders=d.AppendBlobAppendBlockExceptionHeaders=d.AppendBlobAppendBlockHeaders=d.AppendBlobCreateExceptionHeaders=d.AppendBlobCreateHeaders=d.PageBlobCopyIncrementalExceptionHeaders=d.PageBlobCopyIncrementalHeaders=d.PageBlobUpdateSequenceNumberExceptionHeaders=d.PageBlobUpdateSequenceNumberHeaders=d.PageBlobResizeExceptionHeaders=d.PageBlobResizeHeaders=d.PageBlobGetPageRangesDiffExceptionHeaders=d.PageBlobGetPageRangesDiffHeaders=d.PageBlobGetPageRangesExceptionHeaders=void 0;d.BlobServiceProperties={serializedName:"BlobServiceProperties",xmlName:"StorageServiceProperties",type:{name:"Composite",className:"BlobServiceProperties",modelProperties:{blobAnalyticsLogging:{serializedName:"Logging",xmlName:"Logging",type:{name:"Composite",className:"Logging"}},hourMetrics:{serializedName:"HourMetrics",xmlName:"HourMetrics",type:{name:"Composite",className:"Metrics"}},minuteMetrics:{serializedName:"MinuteMetrics",xmlName:"MinuteMetrics",type:{name:"Composite",className:"Metrics"}},cors:{serializedName:"Cors",xmlName:"Cors",xmlIsWrapped:true,xmlElementName:"CorsRule",type:{name:"Sequence",element:{type:{name:"Composite",className:"CorsRule"}}}},defaultServiceVersion:{serializedName:"DefaultServiceVersion",xmlName:"DefaultServiceVersion",type:{name:"String"}},deleteRetentionPolicy:{serializedName:"DeleteRetentionPolicy",xmlName:"DeleteRetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}},staticWebsite:{serializedName:"StaticWebsite",xmlName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite"}}}}};d.Logging={serializedName:"Logging",type:{name:"Composite",className:"Logging",modelProperties:{version:{serializedName:"Version",required:true,xmlName:"Version",type:{name:"String"}},deleteProperty:{serializedName:"Delete",required:true,xmlName:"Delete",type:{name:"Boolean"}},read:{serializedName:"Read",required:true,xmlName:"Read",type:{name:"Boolean"}},write:{serializedName:"Write",required:true,xmlName:"Write",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}};d.RetentionPolicy={serializedName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy",modelProperties:{enabled:{serializedName:"Enabled",required:true,xmlName:"Enabled",type:{name:"Boolean"}},days:{constraints:{InclusiveMinimum:1},serializedName:"Days",xmlName:"Days",type:{name:"Number"}}}}};d.Metrics={serializedName:"Metrics",type:{name:"Composite",className:"Metrics",modelProperties:{version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},enabled:{serializedName:"Enabled",required:true,xmlName:"Enabled",type:{name:"Boolean"}},includeAPIs:{serializedName:"IncludeAPIs",xmlName:"IncludeAPIs",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}};d.CorsRule={serializedName:"CorsRule",type:{name:"Composite",className:"CorsRule",modelProperties:{allowedOrigins:{serializedName:"AllowedOrigins",required:true,xmlName:"AllowedOrigins",type:{name:"String"}},allowedMethods:{serializedName:"AllowedMethods",required:true,xmlName:"AllowedMethods",type:{name:"String"}},allowedHeaders:{serializedName:"AllowedHeaders",required:true,xmlName:"AllowedHeaders",type:{name:"String"}},exposedHeaders:{serializedName:"ExposedHeaders",required:true,xmlName:"ExposedHeaders",type:{name:"String"}},maxAgeInSeconds:{constraints:{InclusiveMinimum:0},serializedName:"MaxAgeInSeconds",required:true,xmlName:"MaxAgeInSeconds",type:{name:"Number"}}}}};d.StaticWebsite={serializedName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite",modelProperties:{enabled:{serializedName:"Enabled",required:true,xmlName:"Enabled",type:{name:"Boolean"}},indexDocument:{serializedName:"IndexDocument",xmlName:"IndexDocument",type:{name:"String"}},errorDocument404Path:{serializedName:"ErrorDocument404Path",xmlName:"ErrorDocument404Path",type:{name:"String"}},defaultIndexDocumentPath:{serializedName:"DefaultIndexDocumentPath",xmlName:"DefaultIndexDocumentPath",type:{name:"String"}}}}};d.StorageError={serializedName:"StorageError",type:{name:"Composite",className:"StorageError",modelProperties:{message:{serializedName:"Message",xmlName:"Message",type:{name:"String"}},copySourceStatusCode:{serializedName:"CopySourceStatusCode",xmlName:"CopySourceStatusCode",type:{name:"Number"}},copySourceErrorCode:{serializedName:"CopySourceErrorCode",xmlName:"CopySourceErrorCode",type:{name:"String"}},copySourceErrorMessage:{serializedName:"CopySourceErrorMessage",xmlName:"CopySourceErrorMessage",type:{name:"String"}},code:{serializedName:"Code",xmlName:"Code",type:{name:"String"}},authenticationErrorDetail:{serializedName:"AuthenticationErrorDetail",xmlName:"AuthenticationErrorDetail",type:{name:"String"}}}}};d.BlobServiceStatistics={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}};d.GeoReplication={serializedName:"GeoReplication",type:{name:"Composite",className:"GeoReplication",modelProperties:{status:{serializedName:"Status",required:true,xmlName:"Status",type:{name:"Enum",allowedValues:["live","bootstrap","unavailable"]}},lastSyncOn:{serializedName:"LastSyncTime",required:true,xmlName:"LastSyncTime",type:{name:"DateTimeRfc1123"}}}}};d.ListContainersSegmentResponse={serializedName:"ListContainersSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListContainersSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},containerItems:{serializedName:"ContainerItems",required:true,xmlName:"Containers",xmlIsWrapped:true,xmlElementName:"Container",type:{name:"Sequence",element:{type:{name:"Composite",className:"ContainerItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};d.ContainerItem={serializedName:"ContainerItem",xmlName:"Container",type:{name:"Composite",className:"ContainerItem",modelProperties:{name:{serializedName:"Name",required:true,xmlName:"Name",type:{name:"String"}},deleted:{serializedName:"Deleted",xmlName:"Deleted",type:{name:"Boolean"}},version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"ContainerProperties"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}};d.ContainerProperties={serializedName:"ContainerProperties",type:{name:"Composite",className:"ContainerProperties",modelProperties:{lastModified:{serializedName:"Last-Modified",required:true,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:true,xmlName:"Etag",type:{name:"String"}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},publicAccess:{serializedName:"PublicAccess",xmlName:"PublicAccess",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"HasImmutabilityPolicy",xmlName:"HasImmutabilityPolicy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"HasLegalHold",xmlName:"HasLegalHold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"DefaultEncryptionScope",xmlName:"DefaultEncryptionScope",type:{name:"String"}},preventEncryptionScopeOverride:{serializedName:"DenyEncryptionScopeOverride",xmlName:"DenyEncryptionScopeOverride",type:{name:"Boolean"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},isImmutableStorageWithVersioningEnabled:{serializedName:"ImmutableStorageWithVersioningEnabled",xmlName:"ImmutableStorageWithVersioningEnabled",type:{name:"Boolean"}}}}};d.KeyInfo={serializedName:"KeyInfo",type:{name:"Composite",className:"KeyInfo",modelProperties:{startsOn:{serializedName:"Start",required:true,xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",required:true,xmlName:"Expiry",type:{name:"String"}}}}};d.UserDelegationKey={serializedName:"UserDelegationKey",type:{name:"Composite",className:"UserDelegationKey",modelProperties:{signedObjectId:{serializedName:"SignedOid",required:true,xmlName:"SignedOid",type:{name:"String"}},signedTenantId:{serializedName:"SignedTid",required:true,xmlName:"SignedTid",type:{name:"String"}},signedStartsOn:{serializedName:"SignedStart",required:true,xmlName:"SignedStart",type:{name:"String"}},signedExpiresOn:{serializedName:"SignedExpiry",required:true,xmlName:"SignedExpiry",type:{name:"String"}},signedService:{serializedName:"SignedService",required:true,xmlName:"SignedService",type:{name:"String"}},signedVersion:{serializedName:"SignedVersion",required:true,xmlName:"SignedVersion",type:{name:"String"}},value:{serializedName:"Value",required:true,xmlName:"Value",type:{name:"String"}}}}};d.FilterBlobSegment={serializedName:"FilterBlobSegment",xmlName:"EnumerationResults",type:{name:"Composite",className:"FilterBlobSegment",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},where:{serializedName:"Where",required:true,xmlName:"Where",type:{name:"String"}},blobs:{serializedName:"Blobs",required:true,xmlName:"Blobs",xmlIsWrapped:true,xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"FilterBlobItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};d.FilterBlobItem={serializedName:"FilterBlobItem",xmlName:"Blob",type:{name:"Composite",className:"FilterBlobItem",modelProperties:{name:{serializedName:"Name",required:true,xmlName:"Name",type:{name:"String"}},containerName:{serializedName:"ContainerName",required:true,xmlName:"ContainerName",type:{name:"String"}},tags:{serializedName:"Tags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}}}}};d.BlobTags={serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags",modelProperties:{blobTagSet:{serializedName:"BlobTagSet",required:true,xmlName:"TagSet",xmlIsWrapped:true,xmlElementName:"Tag",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobTag"}}}}}}};d.BlobTag={serializedName:"BlobTag",xmlName:"Tag",type:{name:"Composite",className:"BlobTag",modelProperties:{key:{serializedName:"Key",required:true,xmlName:"Key",type:{name:"String"}},value:{serializedName:"Value",required:true,xmlName:"Value",type:{name:"String"}}}}};d.SignedIdentifier={serializedName:"SignedIdentifier",xmlName:"SignedIdentifier",type:{name:"Composite",className:"SignedIdentifier",modelProperties:{id:{serializedName:"Id",required:true,xmlName:"Id",type:{name:"String"}},accessPolicy:{serializedName:"AccessPolicy",xmlName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy"}}}}};d.AccessPolicy={serializedName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy",modelProperties:{startsOn:{serializedName:"Start",xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",xmlName:"Expiry",type:{name:"String"}},permissions:{serializedName:"Permission",xmlName:"Permission",type:{name:"String"}}}}};d.ListBlobsFlatSegmentResponse={serializedName:"ListBlobsFlatSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsFlatSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:true,xmlName:"ContainerName",xmlIsAttribute:true,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};d.BlobFlatListSegment={serializedName:"BlobFlatListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment",modelProperties:{blobItems:{serializedName:"BlobItems",required:true,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}};d.BlobItemInternal={serializedName:"BlobItemInternal",xmlName:"Blob",type:{name:"Composite",className:"BlobItemInternal",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}},deleted:{serializedName:"Deleted",required:true,xmlName:"Deleted",type:{name:"Boolean"}},snapshot:{serializedName:"Snapshot",required:true,xmlName:"Snapshot",type:{name:"String"}},versionId:{serializedName:"VersionId",xmlName:"VersionId",type:{name:"String"}},isCurrentVersion:{serializedName:"IsCurrentVersion",xmlName:"IsCurrentVersion",type:{name:"Boolean"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobTags:{serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}},objectReplicationMetadata:{serializedName:"ObjectReplicationMetadata",xmlName:"OrMetadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},hasVersionsOnly:{serializedName:"HasVersionsOnly",xmlName:"HasVersionsOnly",type:{name:"Boolean"}}}}};d.BlobName={serializedName:"BlobName",type:{name:"Composite",className:"BlobName",modelProperties:{encoded:{serializedName:"Encoded",xmlName:"Encoded",xmlIsAttribute:true,type:{name:"Boolean"}},content:{serializedName:"content",xmlName:"content",xmlIsMsText:true,type:{name:"String"}}}}};d.BlobPropertiesInternal={serializedName:"BlobPropertiesInternal",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal",modelProperties:{createdOn:{serializedName:"Creation-Time",xmlName:"Creation-Time",type:{name:"DateTimeRfc1123"}},lastModified:{serializedName:"Last-Modified",required:true,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:true,xmlName:"Etag",type:{name:"String"}},contentLength:{serializedName:"Content-Length",xmlName:"Content-Length",type:{name:"Number"}},contentType:{serializedName:"Content-Type",xmlName:"Content-Type",type:{name:"String"}},contentEncoding:{serializedName:"Content-Encoding",xmlName:"Content-Encoding",type:{name:"String"}},contentLanguage:{serializedName:"Content-Language",xmlName:"Content-Language",type:{name:"String"}},contentMD5:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}},contentDisposition:{serializedName:"Content-Disposition",xmlName:"Content-Disposition",type:{name:"String"}},cacheControl:{serializedName:"Cache-Control",xmlName:"Cache-Control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"BlobType",xmlName:"BlobType",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},copyId:{serializedName:"CopyId",xmlName:"CopyId",type:{name:"String"}},copyStatus:{serializedName:"CopyStatus",xmlName:"CopyStatus",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},copySource:{serializedName:"CopySource",xmlName:"CopySource",type:{name:"String"}},copyProgress:{serializedName:"CopyProgress",xmlName:"CopyProgress",type:{name:"String"}},copyCompletedOn:{serializedName:"CopyCompletionTime",xmlName:"CopyCompletionTime",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"CopyStatusDescription",xmlName:"CopyStatusDescription",type:{name:"String"}},serverEncrypted:{serializedName:"ServerEncrypted",xmlName:"ServerEncrypted",type:{name:"Boolean"}},incrementalCopy:{serializedName:"IncrementalCopy",xmlName:"IncrementalCopy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"DestinationSnapshot",xmlName:"DestinationSnapshot",type:{name:"String"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},accessTier:{serializedName:"AccessTier",xmlName:"AccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}},accessTierInferred:{serializedName:"AccessTierInferred",xmlName:"AccessTierInferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"ArchiveStatus",xmlName:"ArchiveStatus",type:{name:"Enum",allowedValues:["rehydrate-pending-to-hot","rehydrate-pending-to-cool","rehydrate-pending-to-cold"]}},customerProvidedKeySha256:{serializedName:"CustomerProvidedKeySha256",xmlName:"CustomerProvidedKeySha256",type:{name:"String"}},encryptionScope:{serializedName:"EncryptionScope",xmlName:"EncryptionScope",type:{name:"String"}},accessTierChangedOn:{serializedName:"AccessTierChangeTime",xmlName:"AccessTierChangeTime",type:{name:"DateTimeRfc1123"}},tagCount:{serializedName:"TagCount",xmlName:"TagCount",type:{name:"Number"}},expiresOn:{serializedName:"Expiry-Time",xmlName:"Expiry-Time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"Sealed",xmlName:"Sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"RehydratePriority",xmlName:"RehydratePriority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessedOn:{serializedName:"LastAccessTime",xmlName:"LastAccessTime",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"ImmutabilityPolicyUntilDate",xmlName:"ImmutabilityPolicyUntilDate",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"ImmutabilityPolicyMode",xmlName:"ImmutabilityPolicyMode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"LegalHold",xmlName:"LegalHold",type:{name:"Boolean"}}}}};d.ListBlobsHierarchySegmentResponse={serializedName:"ListBlobsHierarchySegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsHierarchySegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:true,xmlName:"ContainerName",xmlIsAttribute:true,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},delimiter:{serializedName:"Delimiter",xmlName:"Delimiter",type:{name:"String"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};d.BlobHierarchyListSegment={serializedName:"BlobHierarchyListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment",modelProperties:{blobPrefixes:{serializedName:"BlobPrefixes",xmlName:"BlobPrefixes",xmlElementName:"BlobPrefix",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobPrefix"}}}},blobItems:{serializedName:"BlobItems",required:true,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}};d.BlobPrefix={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}};d.BlockLookupList={serializedName:"BlockLookupList",xmlName:"BlockList",type:{name:"Composite",className:"BlockLookupList",modelProperties:{committed:{serializedName:"Committed",xmlName:"Committed",xmlElementName:"Committed",type:{name:"Sequence",element:{type:{name:"String"}}}},uncommitted:{serializedName:"Uncommitted",xmlName:"Uncommitted",xmlElementName:"Uncommitted",type:{name:"Sequence",element:{type:{name:"String"}}}},latest:{serializedName:"Latest",xmlName:"Latest",xmlElementName:"Latest",type:{name:"Sequence",element:{type:{name:"String"}}}}}}};d.BlockList={serializedName:"BlockList",type:{name:"Composite",className:"BlockList",modelProperties:{committedBlocks:{serializedName:"CommittedBlocks",xmlName:"CommittedBlocks",xmlIsWrapped:true,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}},uncommittedBlocks:{serializedName:"UncommittedBlocks",xmlName:"UncommittedBlocks",xmlIsWrapped:true,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}}}}};d.Block={serializedName:"Block",type:{name:"Composite",className:"Block",modelProperties:{name:{serializedName:"Name",required:true,xmlName:"Name",type:{name:"String"}},size:{serializedName:"Size",required:true,xmlName:"Size",type:{name:"Number"}}}}};d.PageList={serializedName:"PageList",type:{name:"Composite",className:"PageList",modelProperties:{pageRange:{serializedName:"PageRange",xmlName:"PageRange",xmlElementName:"PageRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"PageRange"}}}},clearRange:{serializedName:"ClearRange",xmlName:"ClearRange",xmlElementName:"ClearRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"ClearRange"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};d.PageRange={serializedName:"PageRange",xmlName:"PageRange",type:{name:"Composite",className:"PageRange",modelProperties:{start:{serializedName:"Start",required:true,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:true,xmlName:"End",type:{name:"Number"}}}}};d.ClearRange={serializedName:"ClearRange",xmlName:"ClearRange",type:{name:"Composite",className:"ClearRange",modelProperties:{start:{serializedName:"Start",required:true,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:true,xmlName:"End",type:{name:"Number"}}}}};d.QueryRequest={serializedName:"QueryRequest",xmlName:"QueryRequest",type:{name:"Composite",className:"QueryRequest",modelProperties:{queryType:{serializedName:"QueryType",required:true,xmlName:"QueryType",type:{name:"String"}},expression:{serializedName:"Expression",required:true,xmlName:"Expression",type:{name:"String"}},inputSerialization:{serializedName:"InputSerialization",xmlName:"InputSerialization",type:{name:"Composite",className:"QuerySerialization"}},outputSerialization:{serializedName:"OutputSerialization",xmlName:"OutputSerialization",type:{name:"Composite",className:"QuerySerialization"}}}}};d.QuerySerialization={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}};d.QueryFormat={serializedName:"QueryFormat",type:{name:"Composite",className:"QueryFormat",modelProperties:{type:{serializedName:"Type",required:true,xmlName:"Type",type:{name:"Enum",allowedValues:["delimited","json","arrow","parquet"]}},delimitedTextConfiguration:{serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration"}},jsonTextConfiguration:{serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration"}},arrowConfiguration:{serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration"}},parquetTextConfiguration:{serializedName:"ParquetTextConfiguration",xmlName:"ParquetTextConfiguration",type:{name:"Dictionary",value:{type:{name:"any"}}}}}}};d.DelimitedTextConfiguration={serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration",modelProperties:{columnSeparator:{serializedName:"ColumnSeparator",xmlName:"ColumnSeparator",type:{name:"String"}},fieldQuote:{serializedName:"FieldQuote",xmlName:"FieldQuote",type:{name:"String"}},recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}},escapeChar:{serializedName:"EscapeChar",xmlName:"EscapeChar",type:{name:"String"}},headersPresent:{serializedName:"HeadersPresent",xmlName:"HasHeaders",type:{name:"Boolean"}}}}};d.JsonTextConfiguration={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}};d.ArrowConfiguration={serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration",modelProperties:{schema:{serializedName:"Schema",required:true,xmlName:"Schema",xmlIsWrapped:true,xmlElementName:"Field",type:{name:"Sequence",element:{type:{name:"Composite",className:"ArrowField"}}}}}}};d.ArrowField={serializedName:"ArrowField",xmlName:"Field",type:{name:"Composite",className:"ArrowField",modelProperties:{type:{serializedName:"Type",required:true,xmlName:"Type",type:{name:"String"}},name:{serializedName:"Name",xmlName:"Name",type:{name:"String"}},precision:{serializedName:"Precision",xmlName:"Precision",type:{name:"Number"}},scale:{serializedName:"Scale",xmlName:"Scale",type:{name:"Number"}}}}};d.ServiceSetPropertiesHeaders={serializedName:"Service_setPropertiesHeaders",type:{name:"Composite",className:"ServiceSetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceSetPropertiesExceptionHeaders={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceGetPropertiesHeaders={serializedName:"Service_getPropertiesHeaders",type:{name:"Composite",className:"ServiceGetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceGetPropertiesExceptionHeaders={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceGetStatisticsHeaders={serializedName:"Service_getStatisticsHeaders",type:{name:"Composite",className:"ServiceGetStatisticsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceGetStatisticsExceptionHeaders={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceListContainersSegmentHeaders={serializedName:"Service_listContainersSegmentHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceListContainersSegmentExceptionHeaders={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceGetUserDelegationKeyHeaders={serializedName:"Service_getUserDelegationKeyHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceGetUserDelegationKeyExceptionHeaders={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceGetAccountInfoHeaders={serializedName:"Service_getAccountInfoHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceGetAccountInfoExceptionHeaders={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceSubmitBatchHeaders={serializedName:"Service_submitBatchHeaders",type:{name:"Composite",className:"ServiceSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceSubmitBatchExceptionHeaders={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceFilterBlobsHeaders={serializedName:"Service_filterBlobsHeaders",type:{name:"Composite",className:"ServiceFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceFilterBlobsExceptionHeaders={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerCreateHeaders={serializedName:"Container_createHeaders",type:{name:"Composite",className:"ContainerCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerCreateExceptionHeaders={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerGetPropertiesHeaders={serializedName:"Container_getPropertiesHeaders",type:{name:"Composite",className:"ContainerGetPropertiesHeaders",modelProperties:{metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"x-ms-has-immutability-policy",xmlName:"x-ms-has-immutability-policy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"x-ms-has-legal-hold",xmlName:"x-ms-has-legal-hold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}},denyEncryptionScopeOverride:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}},isImmutableStorageWithVersioningEnabled:{serializedName:"x-ms-immutable-storage-with-versioning-enabled",xmlName:"x-ms-immutable-storage-with-versioning-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerGetPropertiesExceptionHeaders={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerDeleteHeaders={serializedName:"Container_deleteHeaders",type:{name:"Composite",className:"ContainerDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerDeleteExceptionHeaders={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerSetMetadataHeaders={serializedName:"Container_setMetadataHeaders",type:{name:"Composite",className:"ContainerSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerSetMetadataExceptionHeaders={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerGetAccessPolicyHeaders={serializedName:"Container_getAccessPolicyHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyHeaders",modelProperties:{blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerGetAccessPolicyExceptionHeaders={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerSetAccessPolicyHeaders={serializedName:"Container_setAccessPolicyHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerSetAccessPolicyExceptionHeaders={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerRestoreHeaders={serializedName:"Container_restoreHeaders",type:{name:"Composite",className:"ContainerRestoreHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerRestoreExceptionHeaders={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerRenameHeaders={serializedName:"Container_renameHeaders",type:{name:"Composite",className:"ContainerRenameHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerRenameExceptionHeaders={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerSubmitBatchHeaders={serializedName:"Container_submitBatchHeaders",type:{name:"Composite",className:"ContainerSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}}}}};d.ContainerSubmitBatchExceptionHeaders={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerFilterBlobsHeaders={serializedName:"Container_filterBlobsHeaders",type:{name:"Composite",className:"ContainerFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.ContainerFilterBlobsExceptionHeaders={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerAcquireLeaseHeaders={serializedName:"Container_acquireLeaseHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.ContainerAcquireLeaseExceptionHeaders={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerReleaseLeaseHeaders={serializedName:"Container_releaseLeaseHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.ContainerReleaseLeaseExceptionHeaders={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerRenewLeaseHeaders={serializedName:"Container_renewLeaseHeaders",type:{name:"Composite",className:"ContainerRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.ContainerRenewLeaseExceptionHeaders={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerBreakLeaseHeaders={serializedName:"Container_breakLeaseHeaders",type:{name:"Composite",className:"ContainerBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.ContainerBreakLeaseExceptionHeaders={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerChangeLeaseHeaders={serializedName:"Container_changeLeaseHeaders",type:{name:"Composite",className:"ContainerChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.ContainerChangeLeaseExceptionHeaders={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerListBlobFlatSegmentHeaders={serializedName:"Container_listBlobFlatSegmentHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerListBlobFlatSegmentExceptionHeaders={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerListBlobHierarchySegmentHeaders={serializedName:"Container_listBlobHierarchySegmentHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerListBlobHierarchySegmentExceptionHeaders={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerGetAccountInfoHeaders={serializedName:"Container_getAccountInfoHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}};d.ContainerGetAccountInfoExceptionHeaders={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobDownloadHeaders={serializedName:"Blob_downloadHeaders",type:{name:"Composite",className:"BlobDownloadHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}};d.BlobDownloadExceptionHeaders={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobGetPropertiesHeaders={serializedName:"Blob_getPropertiesHeaders",type:{name:"Composite",className:"BlobGetPropertiesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},isIncrementalCopy:{serializedName:"x-ms-incremental-copy",xmlName:"x-ms-incremental-copy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"x-ms-copy-destination-snapshot",xmlName:"x-ms-copy-destination-snapshot",type:{name:"String"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},accessTier:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"String"}},accessTierInferred:{serializedName:"x-ms-access-tier-inferred",xmlName:"x-ms-access-tier-inferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"x-ms-archive-status",xmlName:"x-ms-archive-status",type:{name:"String"}},accessTierChangedOn:{serializedName:"x-ms-access-tier-change-time",xmlName:"x-ms-access-tier-change-time",type:{name:"DateTimeRfc1123"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},expiresOn:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobGetPropertiesExceptionHeaders={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobDeleteHeaders={serializedName:"Blob_deleteHeaders",type:{name:"Composite",className:"BlobDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobDeleteExceptionHeaders={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobUndeleteHeaders={serializedName:"Blob_undeleteHeaders",type:{name:"Composite",className:"BlobUndeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobUndeleteExceptionHeaders={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobSetExpiryHeaders={serializedName:"Blob_setExpiryHeaders",type:{name:"Composite",className:"BlobSetExpiryHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.BlobSetExpiryExceptionHeaders={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobSetHttpHeadersHeaders={serializedName:"Blob_setHttpHeadersHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobSetHttpHeadersExceptionHeaders={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobSetImmutabilityPolicyHeaders={serializedName:"Blob_setImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiry:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}}}};d.BlobSetImmutabilityPolicyExceptionHeaders={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobDeleteImmutabilityPolicyHeaders={serializedName:"Blob_deleteImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.BlobDeleteImmutabilityPolicyExceptionHeaders={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobSetLegalHoldHeaders={serializedName:"Blob_setLegalHoldHeaders",type:{name:"Composite",className:"BlobSetLegalHoldHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}}};d.BlobSetLegalHoldExceptionHeaders={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobSetMetadataHeaders={serializedName:"Blob_setMetadataHeaders",type:{name:"Composite",className:"BlobSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobSetMetadataExceptionHeaders={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobAcquireLeaseHeaders={serializedName:"Blob_acquireLeaseHeaders",type:{name:"Composite",className:"BlobAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.BlobAcquireLeaseExceptionHeaders={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobReleaseLeaseHeaders={serializedName:"Blob_releaseLeaseHeaders",type:{name:"Composite",className:"BlobReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.BlobReleaseLeaseExceptionHeaders={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobRenewLeaseHeaders={serializedName:"Blob_renewLeaseHeaders",type:{name:"Composite",className:"BlobRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.BlobRenewLeaseExceptionHeaders={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobChangeLeaseHeaders={serializedName:"Blob_changeLeaseHeaders",type:{name:"Composite",className:"BlobChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.BlobChangeLeaseExceptionHeaders={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobBreakLeaseHeaders={serializedName:"Blob_breakLeaseHeaders",type:{name:"Composite",className:"BlobBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.BlobBreakLeaseExceptionHeaders={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobCreateSnapshotHeaders={serializedName:"Blob_createSnapshotHeaders",type:{name:"Composite",className:"BlobCreateSnapshotHeaders",modelProperties:{snapshot:{serializedName:"x-ms-snapshot",xmlName:"x-ms-snapshot",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobCreateSnapshotExceptionHeaders={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobStartCopyFromURLHeaders={serializedName:"Blob_startCopyFromURLHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobStartCopyFromURLExceptionHeaders={serializedName:"Blob_startCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};d.BlobCopyFromURLHeaders={serializedName:"Blob_copyFromURLHeaders",type:{name:"Composite",className:"BlobCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{defaultValue:"success",isConstant:true,serializedName:"x-ms-copy-status",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobCopyFromURLExceptionHeaders={serializedName:"Blob_copyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};d.BlobAbortCopyFromURLHeaders={serializedName:"Blob_abortCopyFromURLHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobAbortCopyFromURLExceptionHeaders={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobSetTierHeaders={serializedName:"Blob_setTierHeaders",type:{name:"Composite",className:"BlobSetTierHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobSetTierExceptionHeaders={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobGetAccountInfoHeaders={serializedName:"Blob_getAccountInfoHeaders",type:{name:"Composite",className:"BlobGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}};d.BlobGetAccountInfoExceptionHeaders={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobQueryHeaders={serializedName:"Blob_queryHeaders",type:{name:"Composite",className:"BlobQueryHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletionTime:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}};d.BlobQueryExceptionHeaders={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobGetTagsHeaders={serializedName:"Blob_getTagsHeaders",type:{name:"Composite",className:"BlobGetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobGetTagsExceptionHeaders={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobSetTagsHeaders={serializedName:"Blob_setTagsHeaders",type:{name:"Composite",className:"BlobSetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobSetTagsExceptionHeaders={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobCreateHeaders={serializedName:"PageBlob_createHeaders",type:{name:"Composite",className:"PageBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobCreateExceptionHeaders={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobUploadPagesHeaders={serializedName:"PageBlob_uploadPagesHeaders",type:{name:"Composite",className:"PageBlobUploadPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobUploadPagesExceptionHeaders={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobClearPagesHeaders={serializedName:"PageBlob_clearPagesHeaders",type:{name:"Composite",className:"PageBlobClearPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobClearPagesExceptionHeaders={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobUploadPagesFromURLHeaders={serializedName:"PageBlob_uploadPagesFromURLHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobUploadPagesFromURLExceptionHeaders={serializedName:"PageBlob_uploadPagesFromURLExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};d.PageBlobGetPageRangesHeaders={serializedName:"PageBlob_getPageRangesHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobGetPageRangesExceptionHeaders={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobGetPageRangesDiffHeaders={serializedName:"PageBlob_getPageRangesDiffHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobGetPageRangesDiffExceptionHeaders={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobResizeHeaders={serializedName:"PageBlob_resizeHeaders",type:{name:"Composite",className:"PageBlobResizeHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobResizeExceptionHeaders={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobUpdateSequenceNumberHeaders={serializedName:"PageBlob_updateSequenceNumberHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobUpdateSequenceNumberExceptionHeaders={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobCopyIncrementalHeaders={serializedName:"PageBlob_copyIncrementalHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobCopyIncrementalExceptionHeaders={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.AppendBlobCreateHeaders={serializedName:"AppendBlob_createHeaders",type:{name:"Composite",className:"AppendBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.AppendBlobCreateExceptionHeaders={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.AppendBlobAppendBlockHeaders={serializedName:"AppendBlob_appendBlockHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.AppendBlobAppendBlockExceptionHeaders={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.AppendBlobAppendBlockFromUrlHeaders={serializedName:"AppendBlob_appendBlockFromUrlHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.AppendBlobAppendBlockFromUrlExceptionHeaders={serializedName:"AppendBlob_appendBlockFromUrlExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};d.AppendBlobSealHeaders={serializedName:"AppendBlob_sealHeaders",type:{name:"Composite",className:"AppendBlobSealHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}}}}};d.AppendBlobSealExceptionHeaders={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlockBlobUploadHeaders={serializedName:"BlockBlob_uploadHeaders",type:{name:"Composite",className:"BlockBlobUploadHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlockBlobUploadExceptionHeaders={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlockBlobPutBlobFromUrlHeaders={serializedName:"BlockBlob_putBlobFromUrlHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlockBlobPutBlobFromUrlExceptionHeaders={serializedName:"BlockBlob_putBlobFromUrlExceptionHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};d.BlockBlobStageBlockHeaders={serializedName:"BlockBlob_stageBlockHeaders",type:{name:"Composite",className:"BlockBlobStageBlockHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlockBlobStageBlockExceptionHeaders={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlockBlobStageBlockFromURLHeaders={serializedName:"BlockBlob_stageBlockFromURLHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlockBlobStageBlockFromURLExceptionHeaders={serializedName:"BlockBlob_stageBlockFromURLExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};d.BlockBlobCommitBlockListHeaders={serializedName:"BlockBlob_commitBlockListHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlockBlobCommitBlockListExceptionHeaders={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlockBlobGetBlockListHeaders={serializedName:"BlockBlob_getBlockListHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlockBlobGetBlockListExceptionHeaders={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}}},6088:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.action3=d.action2=d.leaseId1=d.action1=d.proposedLeaseId=d.duration=d.action=d.comp10=d.sourceLeaseId=d.sourceContainerName=d.comp9=d.deletedContainerVersion=d.deletedContainerName=d.comp8=d.containerAcl=d.comp7=d.comp6=d.ifUnmodifiedSince=d.ifModifiedSince=d.leaseId=d.preventEncryptionScopeOverride=d.defaultEncryptionScope=d.access=d.metadata=d.restype2=d.where=d.comp5=d.multipartContentType=d.contentLength=d.comp4=d.body=d.restype1=d.comp3=d.keyInfo=d.include=d.maxPageSize=d.marker=d.prefix=d.comp2=d.comp1=d.accept1=d.requestId=d.version=d.timeoutInSeconds=d.comp=d.restype=d.url=d.accept=d.blobServiceProperties=d.contentType=void 0;d.copySourceTags=d.copySourceAuthorization=d.sourceContentMD5=d.xMsRequiresSync=d.legalHold1=d.sealBlob=d.blobTagsString=d.copySource=d.sourceIfTags=d.sourceIfNoneMatch=d.sourceIfMatch=d.sourceIfUnmodifiedSince=d.sourceIfModifiedSince=d.rehydratePriority=d.tier=d.comp14=d.encryptionScope=d.legalHold=d.comp13=d.immutabilityPolicyMode=d.immutabilityPolicyExpiry=d.comp12=d.blobContentDisposition=d.blobContentLanguage=d.blobContentEncoding=d.blobContentMD5=d.blobContentType=d.blobCacheControl=d.expiresOn=d.expiryOptions=d.comp11=d.blobDeleteType=d.deleteSnapshots=d.ifTags=d.ifNoneMatch=d.ifMatch=d.encryptionAlgorithm=d.encryptionKeySha256=d.encryptionKey=d.rangeGetContentCRC64=d.rangeGetContentMD5=d.range=d.versionId=d.snapshot=d.delimiter=d.startFrom=d.include1=d.proposedLeaseId1=d.action4=d.breakPeriod=void 0;d.listType=d.comp25=d.blocks=d.blockId=d.comp24=d.copySourceBlobProperties=d.blobType2=d.comp23=d.sourceRange1=d.appendPosition=d.maxSize=d.comp22=d.blobType1=d.comp21=d.sequenceNumberAction=d.prevSnapshotUrl=d.prevsnapshot=d.comp20=d.range1=d.sourceContentCrc64=d.sourceRange=d.sourceUrl=d.pageWrite1=d.ifSequenceNumberEqualTo=d.ifSequenceNumberLessThan=d.ifSequenceNumberLessThanOrEqualTo=d.pageWrite=d.comp19=d.accept2=d.body1=d.contentType1=d.blobSequenceNumber=d.blobContentLength=d.blobType=d.transactionalContentCrc64=d.transactionalContentMD5=d.tags=d.ifNoneMatch1=d.ifMatch1=d.ifUnmodifiedSince1=d.ifModifiedSince1=d.comp18=d.comp17=d.queryRequest=d.tier1=d.comp16=d.copyId=d.copyActionAbortConstant=d.comp15=d.fileRequestIntent=void 0;const v=p(84424);d.contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Content-Type",type:{name:"String"}}};d.blobServiceProperties={parameterPath:"blobServiceProperties",mapper:v.BlobServiceProperties};d.accept={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};d.url={parameterPath:"url",mapper:{serializedName:"url",required:true,xmlName:"url",type:{name:"String"}},skipEncoding:true};d.restype={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:true,serializedName:"restype",type:{name:"String"}}};d.comp={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.timeoutInSeconds={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}};d.version={parameterPath:"version",mapper:{defaultValue:"2026-02-06",isConstant:true,serializedName:"x-ms-version",type:{name:"String"}}};d.requestId={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}};d.accept1={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};d.comp1={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.comp2={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.prefix={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}};d.marker={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}};d.maxPageSize={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}};d.include={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"};d.keyInfo={parameterPath:"keyInfo",mapper:v.KeyInfo};d.comp3={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.restype1={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:true,serializedName:"restype",type:{name:"String"}}};d.body={parameterPath:"body",mapper:{serializedName:"body",required:true,xmlName:"body",type:{name:"Stream"}}};d.comp4={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.contentLength={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:true,xmlName:"Content-Length",type:{name:"Number"}}};d.multipartContentType={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:true,xmlName:"Content-Type",type:{name:"String"}}};d.comp5={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.where={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}};d.restype2={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:true,serializedName:"restype",type:{name:"String"}}};d.metadata={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}};d.access={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}};d.defaultEncryptionScope={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}};d.preventEncryptionScopeOverride={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}};d.leaseId={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}};d.ifModifiedSince={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}};d.ifUnmodifiedSince={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}};d.comp6={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.comp7={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.containerAcl={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:true,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}};d.comp8={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.deletedContainerName={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}};d.deletedContainerVersion={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}};d.comp9={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.sourceContainerName={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:true,xmlName:"x-ms-source-container-name",type:{name:"String"}}};d.sourceLeaseId={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}};d.comp10={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.action={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};d.duration={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}};d.proposedLeaseId={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};d.action1={parameterPath:"action",mapper:{defaultValue:"release",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};d.leaseId1={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:true,xmlName:"x-ms-lease-id",type:{name:"String"}}};d.action2={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};d.action3={parameterPath:"action",mapper:{defaultValue:"break",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};d.breakPeriod={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}};d.action4={parameterPath:"action",mapper:{defaultValue:"change",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};d.proposedLeaseId1={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:true,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};d.include1={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListBlobsIncludeItem",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["copy","deleted","metadata","snapshots","uncommittedblobs","versions","tags","immutabilitypolicy","legalhold","deletedwithversions"]}}}},collectionFormat:"CSV"};d.startFrom={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}};d.delimiter={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:true,xmlName:"delimiter",type:{name:"String"}}};d.snapshot={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}};d.versionId={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}};d.range={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}};d.rangeGetContentMD5={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}};d.rangeGetContentCRC64={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}};d.encryptionKey={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}};d.encryptionKeySha256={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}};d.encryptionAlgorithm={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}};d.ifMatch={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}};d.ifNoneMatch={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}};d.ifTags={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}};d.deleteSnapshots={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}};d.blobDeleteType={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}};d.comp11={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.expiryOptions={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:true,xmlName:"x-ms-expiry-option",type:{name:"String"}}};d.expiresOn={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}};d.blobCacheControl={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}};d.blobContentType={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}};d.blobContentMD5={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}};d.blobContentEncoding={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}};d.blobContentLanguage={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}};d.blobContentDisposition={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}};d.comp12={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.immutabilityPolicyExpiry={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}};d.immutabilityPolicyMode={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}};d.comp13={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.legalHold={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:true,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};d.encryptionScope={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}};d.comp14={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.tier={parameterPath:["options","tier"],mapper:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}}};d.rehydratePriority={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}};d.sourceIfModifiedSince={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}};d.sourceIfUnmodifiedSince={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};d.sourceIfMatch={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}};d.sourceIfNoneMatch={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}};d.sourceIfTags={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}};d.copySource={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:true,xmlName:"x-ms-copy-source",type:{name:"String"}}};d.blobTagsString={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}};d.sealBlob={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}};d.legalHold1={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};d.xMsRequiresSync={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:true,serializedName:"x-ms-requires-sync",type:{name:"String"}}};d.sourceContentMD5={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}};d.copySourceAuthorization={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}};d.copySourceTags={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}};d.fileRequestIntent={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}};d.comp15={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.copyActionAbortConstant={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:true,serializedName:"x-ms-copy-action",type:{name:"String"}}};d.copyId={parameterPath:"copyId",mapper:{serializedName:"copyid",required:true,xmlName:"copyid",type:{name:"String"}}};d.comp16={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.tier1={parameterPath:"tier",mapper:{serializedName:"x-ms-access-tier",required:true,xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}}};d.queryRequest={parameterPath:["options","queryRequest"],mapper:v.QueryRequest};d.comp17={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.comp18={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.ifModifiedSince1={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}};d.ifUnmodifiedSince1={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};d.ifMatch1={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}};d.ifNoneMatch1={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}};d.tags={parameterPath:["options","tags"],mapper:v.BlobTags};d.transactionalContentMD5={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}};d.transactionalContentCrc64={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}};d.blobType={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};d.blobContentLength={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:true,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}};d.blobSequenceNumber={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}};d.contentType1={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:true,serializedName:"Content-Type",type:{name:"String"}}};d.body1={parameterPath:"body",mapper:{serializedName:"body",required:true,xmlName:"body",type:{name:"Stream"}}};d.accept2={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};d.comp19={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.pageWrite={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:true,serializedName:"x-ms-page-write",type:{name:"String"}}};d.ifSequenceNumberLessThanOrEqualTo={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}};d.ifSequenceNumberLessThan={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}};d.ifSequenceNumberEqualTo={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}};d.pageWrite1={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:true,serializedName:"x-ms-page-write",type:{name:"String"}}};d.sourceUrl={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:true,xmlName:"x-ms-copy-source",type:{name:"String"}}};d.sourceRange={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:true,xmlName:"x-ms-source-range",type:{name:"String"}}};d.sourceContentCrc64={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}};d.range1={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:true,xmlName:"x-ms-range",type:{name:"String"}}};d.comp20={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.prevsnapshot={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}};d.prevSnapshotUrl={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}};d.sequenceNumberAction={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:true,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}};d.comp21={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.blobType1={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};d.comp22={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.maxSize={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}};d.appendPosition={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}};d.sourceRange1={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}};d.comp23={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.blobType2={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};d.copySourceBlobProperties={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}};d.comp24={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.blockId={parameterPath:"blockId",mapper:{serializedName:"blockid",required:true,xmlName:"blockid",type:{name:"String"}}};d.blocks={parameterPath:"blocks",mapper:v.BlockLookupList};d.comp25={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.listType={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:true,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}}},40535:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.AppendBlobImpl=void 0;const v=p(93849);const V=v.__importStar(p(60160));const K=v.__importStar(p(84424));const ee=v.__importStar(p(6088));class AppendBlobImpl{client;constructor(i){this.client=i}create(i,d){return this.client.sendOperationRequest({contentLength:i,options:d},re)}appendBlock(i,d,p){return this.client.sendOperationRequest({contentLength:i,body:d,options:p},ne)}appendBlockFromUrl(i,d,p){return this.client.sendOperationRequest({sourceUrl:i,contentLength:d,options:p},ie)}seal(i){return this.client.sendOperationRequest({options:i},se)}}d.AppendBlobImpl=AppendBlobImpl;const te=V.createSerializer(K,true);const re={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:K.AppendBlobCreateHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.AppendBlobCreateExceptionHeaders}},queryParameters:[ee.timeoutInSeconds],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.contentLength,ee.metadata,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.blobCacheControl,ee.blobContentType,ee.blobContentMD5,ee.blobContentEncoding,ee.blobContentLanguage,ee.blobContentDisposition,ee.immutabilityPolicyExpiry,ee.immutabilityPolicyMode,ee.encryptionScope,ee.blobTagsString,ee.legalHold1,ee.blobType1],isXML:true,serializer:te};const ne={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:K.AppendBlobAppendBlockHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.AppendBlobAppendBlockExceptionHeaders}},requestBody:ee.body1,queryParameters:[ee.timeoutInSeconds,ee.comp22],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.contentLength,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.encryptionScope,ee.transactionalContentMD5,ee.transactionalContentCrc64,ee.contentType1,ee.accept2,ee.maxSize,ee.appendPosition],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:te};const ie={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:K.AppendBlobAppendBlockFromUrlHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.AppendBlobAppendBlockFromUrlExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp22],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.contentLength,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.encryptionScope,ee.sourceIfModifiedSince,ee.sourceIfUnmodifiedSince,ee.sourceIfMatch,ee.sourceIfNoneMatch,ee.sourceContentMD5,ee.copySourceAuthorization,ee.fileRequestIntent,ee.transactionalContentMD5,ee.sourceUrl,ee.sourceContentCrc64,ee.maxSize,ee.appendPosition,ee.sourceRange1],isXML:true,serializer:te};const se={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:K.AppendBlobSealHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.AppendBlobSealExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp23],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.ifMatch,ee.ifNoneMatch,ee.appendPosition],isXML:true,serializer:te}},57559:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BlobImpl=void 0;const v=p(93849);const V=v.__importStar(p(60160));const K=v.__importStar(p(84424));const ee=v.__importStar(p(6088));class BlobImpl{client;constructor(i){this.client=i}download(i){return this.client.sendOperationRequest({options:i},re)}getProperties(i){return this.client.sendOperationRequest({options:i},ne)}delete(i){return this.client.sendOperationRequest({options:i},ie)}undelete(i){return this.client.sendOperationRequest({options:i},se)}setExpiry(i,d){return this.client.sendOperationRequest({expiryOptions:i,options:d},oe)}setHttpHeaders(i){return this.client.sendOperationRequest({options:i},ae)}setImmutabilityPolicy(i){return this.client.sendOperationRequest({options:i},ce)}deleteImmutabilityPolicy(i){return this.client.sendOperationRequest({options:i},le)}setLegalHold(i,d){return this.client.sendOperationRequest({legalHold:i,options:d},ue)}setMetadata(i){return this.client.sendOperationRequest({options:i},Ae)}acquireLease(i){return this.client.sendOperationRequest({options:i},de)}releaseLease(i,d){return this.client.sendOperationRequest({leaseId:i,options:d},pe)}renewLease(i,d){return this.client.sendOperationRequest({leaseId:i,options:d},fe)}changeLease(i,d,p){return this.client.sendOperationRequest({leaseId:i,proposedLeaseId:d,options:p},he)}breakLease(i){return this.client.sendOperationRequest({options:i},ge)}createSnapshot(i){return this.client.sendOperationRequest({options:i},me)}startCopyFromURL(i,d){return this.client.sendOperationRequest({copySource:i,options:d},Ee)}copyFromURL(i,d){return this.client.sendOperationRequest({copySource:i,options:d},ye)}abortCopyFromURL(i,d){return this.client.sendOperationRequest({copyId:i,options:d},Ce)}setTier(i,d){return this.client.sendOperationRequest({tier:i,options:d},be)}getAccountInfo(i){return this.client.sendOperationRequest({options:i},Ie)}query(i){return this.client.sendOperationRequest({options:i},Be)}getTags(i){return this.client.sendOperationRequest({options:i},we)}setTags(i){return this.client.sendOperationRequest({options:i},Se)}}d.BlobImpl=BlobImpl;const te=V.createSerializer(K,true);const re={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:K.BlobDownloadHeaders},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:K.BlobDownloadHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobDownloadExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.snapshot,ee.versionId],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.range,ee.rangeGetContentMD5,ee.rangeGetContentCRC64,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.ifMatch,ee.ifNoneMatch,ee.ifTags],isXML:true,serializer:te};const ne={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:K.BlobGetPropertiesHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobGetPropertiesExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.snapshot,ee.versionId],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.ifMatch,ee.ifNoneMatch,ee.ifTags],isXML:true,serializer:te};const ie={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:K.BlobDeleteHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobDeleteExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.snapshot,ee.versionId,ee.blobDeleteType],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.deleteSnapshots],isXML:true,serializer:te};const se={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:K.BlobUndeleteHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobUndeleteExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp8],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1],isXML:true,serializer:te};const oe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:K.BlobSetExpiryHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobSetExpiryExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp11],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.expiryOptions,ee.expiresOn],isXML:true,serializer:te};const ae={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:K.BlobSetHttpHeadersHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobSetHttpHeadersExceptionHeaders}},queryParameters:[ee.comp,ee.timeoutInSeconds],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.blobCacheControl,ee.blobContentType,ee.blobContentMD5,ee.blobContentEncoding,ee.blobContentLanguage,ee.blobContentDisposition],isXML:true,serializer:te};const ce={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:K.BlobSetImmutabilityPolicyHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobSetImmutabilityPolicyExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.snapshot,ee.versionId,ee.comp12],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.ifUnmodifiedSince,ee.immutabilityPolicyExpiry,ee.immutabilityPolicyMode],isXML:true,serializer:te};const le={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:K.BlobDeleteImmutabilityPolicyHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobDeleteImmutabilityPolicyExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.snapshot,ee.versionId,ee.comp12],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1],isXML:true,serializer:te};const ue={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:K.BlobSetLegalHoldHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobSetLegalHoldExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.snapshot,ee.versionId,ee.comp13],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.legalHold],isXML:true,serializer:te};const Ae={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:K.BlobSetMetadataHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobSetMetadataExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp6],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.metadata,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.encryptionScope],isXML:true,serializer:te};const de={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:K.BlobAcquireLeaseHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobAcquireLeaseExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp10],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.action,ee.duration,ee.proposedLeaseId,ee.ifMatch,ee.ifNoneMatch,ee.ifTags],isXML:true,serializer:te};const pe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:K.BlobReleaseLeaseHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobReleaseLeaseExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp10],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.action1,ee.leaseId1,ee.ifMatch,ee.ifNoneMatch,ee.ifTags],isXML:true,serializer:te};const fe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:K.BlobRenewLeaseHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobRenewLeaseExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp10],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.leaseId1,ee.action2,ee.ifMatch,ee.ifNoneMatch,ee.ifTags],isXML:true,serializer:te};const he={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:K.BlobChangeLeaseHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobChangeLeaseExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp10],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.leaseId1,ee.action4,ee.proposedLeaseId1,ee.ifMatch,ee.ifNoneMatch,ee.ifTags],isXML:true,serializer:te};const ge={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:K.BlobBreakLeaseHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobBreakLeaseExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp10],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.action3,ee.breakPeriod,ee.ifMatch,ee.ifNoneMatch,ee.ifTags],isXML:true,serializer:te};const me={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:K.BlobCreateSnapshotHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobCreateSnapshotExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp14],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.metadata,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.encryptionScope],isXML:true,serializer:te};const Ee={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:K.BlobStartCopyFromURLHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobStartCopyFromURLExceptionHeaders}},queryParameters:[ee.timeoutInSeconds],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.metadata,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.immutabilityPolicyExpiry,ee.immutabilityPolicyMode,ee.tier,ee.rehydratePriority,ee.sourceIfModifiedSince,ee.sourceIfUnmodifiedSince,ee.sourceIfMatch,ee.sourceIfNoneMatch,ee.sourceIfTags,ee.copySource,ee.blobTagsString,ee.sealBlob,ee.legalHold1],isXML:true,serializer:te};const ye={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:K.BlobCopyFromURLHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobCopyFromURLExceptionHeaders}},queryParameters:[ee.timeoutInSeconds],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.metadata,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.immutabilityPolicyExpiry,ee.immutabilityPolicyMode,ee.encryptionScope,ee.tier,ee.sourceIfModifiedSince,ee.sourceIfUnmodifiedSince,ee.sourceIfMatch,ee.sourceIfNoneMatch,ee.copySource,ee.blobTagsString,ee.legalHold1,ee.xMsRequiresSync,ee.sourceContentMD5,ee.copySourceAuthorization,ee.copySourceTags,ee.fileRequestIntent],isXML:true,serializer:te};const Ce={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:K.BlobAbortCopyFromURLHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobAbortCopyFromURLExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp15,ee.copyId],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.leaseId,ee.copyActionAbortConstant],isXML:true,serializer:te};const be={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:K.BlobSetTierHeaders},202:{headersMapper:K.BlobSetTierHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobSetTierExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.snapshot,ee.versionId,ee.comp16],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.leaseId,ee.ifTags,ee.rehydratePriority,ee.tier1],isXML:true,serializer:te};const Ie={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:K.BlobGetAccountInfoHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobGetAccountInfoExceptionHeaders}},queryParameters:[ee.comp,ee.timeoutInSeconds,ee.restype1],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1],isXML:true,serializer:te};const Be={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:K.BlobQueryHeaders},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:K.BlobQueryHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobQueryExceptionHeaders}},requestBody:ee.queryRequest,queryParameters:[ee.timeoutInSeconds,ee.snapshot,ee.comp17],urlParameters:[ee.url],headerParameters:[ee.contentType,ee.accept,ee.version,ee.requestId,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.ifMatch,ee.ifNoneMatch,ee.ifTags],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:te};const we={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:K.BlobTags,headersMapper:K.BlobGetTagsHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobGetTagsExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.snapshot,ee.versionId,ee.comp18],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.leaseId,ee.ifTags,ee.ifModifiedSince1,ee.ifUnmodifiedSince1,ee.ifMatch1,ee.ifNoneMatch1],isXML:true,serializer:te};const Se={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:K.BlobSetTagsHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobSetTagsExceptionHeaders}},requestBody:ee.tags,queryParameters:[ee.timeoutInSeconds,ee.versionId,ee.comp18],urlParameters:[ee.url],headerParameters:[ee.contentType,ee.accept,ee.version,ee.requestId,ee.leaseId,ee.ifTags,ee.ifModifiedSince1,ee.ifUnmodifiedSince1,ee.ifMatch1,ee.ifNoneMatch1,ee.transactionalContentMD5,ee.transactionalContentCrc64],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:te}},95440:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BlockBlobImpl=void 0;const v=p(93849);const V=v.__importStar(p(60160));const K=v.__importStar(p(84424));const ee=v.__importStar(p(6088));class BlockBlobImpl{client;constructor(i){this.client=i}upload(i,d,p){return this.client.sendOperationRequest({contentLength:i,body:d,options:p},re)}putBlobFromUrl(i,d,p){return this.client.sendOperationRequest({contentLength:i,copySource:d,options:p},ne)}stageBlock(i,d,p,v){return this.client.sendOperationRequest({blockId:i,contentLength:d,body:p,options:v},ie)}stageBlockFromURL(i,d,p,v){return this.client.sendOperationRequest({blockId:i,contentLength:d,sourceUrl:p,options:v},se)}commitBlockList(i,d){return this.client.sendOperationRequest({blocks:i,options:d},oe)}getBlockList(i,d){return this.client.sendOperationRequest({listType:i,options:d},ae)}}d.BlockBlobImpl=BlockBlobImpl;const te=V.createSerializer(K,true);const re={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:K.BlockBlobUploadHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlockBlobUploadExceptionHeaders}},requestBody:ee.body1,queryParameters:[ee.timeoutInSeconds],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.contentLength,ee.metadata,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.blobCacheControl,ee.blobContentType,ee.blobContentMD5,ee.blobContentEncoding,ee.blobContentLanguage,ee.blobContentDisposition,ee.immutabilityPolicyExpiry,ee.immutabilityPolicyMode,ee.encryptionScope,ee.tier,ee.blobTagsString,ee.legalHold1,ee.transactionalContentMD5,ee.transactionalContentCrc64,ee.contentType1,ee.accept2,ee.blobType2],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:te};const ne={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:K.BlockBlobPutBlobFromUrlHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlockBlobPutBlobFromUrlExceptionHeaders}},queryParameters:[ee.timeoutInSeconds],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.contentLength,ee.metadata,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.blobCacheControl,ee.blobContentType,ee.blobContentMD5,ee.blobContentEncoding,ee.blobContentLanguage,ee.blobContentDisposition,ee.encryptionScope,ee.tier,ee.sourceIfModifiedSince,ee.sourceIfUnmodifiedSince,ee.sourceIfMatch,ee.sourceIfNoneMatch,ee.sourceIfTags,ee.copySource,ee.blobTagsString,ee.sourceContentMD5,ee.copySourceAuthorization,ee.copySourceTags,ee.fileRequestIntent,ee.transactionalContentMD5,ee.blobType2,ee.copySourceBlobProperties],isXML:true,serializer:te};const ie={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:K.BlockBlobStageBlockHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlockBlobStageBlockExceptionHeaders}},requestBody:ee.body1,queryParameters:[ee.timeoutInSeconds,ee.comp24,ee.blockId],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.contentLength,ee.leaseId,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.encryptionScope,ee.transactionalContentMD5,ee.transactionalContentCrc64,ee.contentType1,ee.accept2],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:te};const se={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:K.BlockBlobStageBlockFromURLHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlockBlobStageBlockFromURLExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp24,ee.blockId],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.contentLength,ee.leaseId,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.encryptionScope,ee.sourceIfModifiedSince,ee.sourceIfUnmodifiedSince,ee.sourceIfMatch,ee.sourceIfNoneMatch,ee.sourceContentMD5,ee.copySourceAuthorization,ee.fileRequestIntent,ee.sourceUrl,ee.sourceContentCrc64,ee.sourceRange1],isXML:true,serializer:te};const oe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:K.BlockBlobCommitBlockListHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlockBlobCommitBlockListExceptionHeaders}},requestBody:ee.blocks,queryParameters:[ee.timeoutInSeconds,ee.comp25],urlParameters:[ee.url],headerParameters:[ee.contentType,ee.accept,ee.version,ee.requestId,ee.metadata,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.blobCacheControl,ee.blobContentType,ee.blobContentMD5,ee.blobContentEncoding,ee.blobContentLanguage,ee.blobContentDisposition,ee.immutabilityPolicyExpiry,ee.immutabilityPolicyMode,ee.encryptionScope,ee.tier,ee.blobTagsString,ee.legalHold1,ee.transactionalContentMD5,ee.transactionalContentCrc64],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:te};const ae={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:K.BlockList,headersMapper:K.BlockBlobGetBlockListHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlockBlobGetBlockListExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.snapshot,ee.comp25,ee.listType],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.leaseId,ee.ifTags],isXML:true,serializer:te}},14509:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ContainerImpl=void 0;const v=p(93849);const V=v.__importStar(p(60160));const K=v.__importStar(p(84424));const ee=v.__importStar(p(6088));class ContainerImpl{client;constructor(i){this.client=i}create(i){return this.client.sendOperationRequest({options:i},re)}getProperties(i){return this.client.sendOperationRequest({options:i},ne)}delete(i){return this.client.sendOperationRequest({options:i},ie)}setMetadata(i){return this.client.sendOperationRequest({options:i},se)}getAccessPolicy(i){return this.client.sendOperationRequest({options:i},oe)}setAccessPolicy(i){return this.client.sendOperationRequest({options:i},ae)}restore(i){return this.client.sendOperationRequest({options:i},ce)}rename(i,d){return this.client.sendOperationRequest({sourceContainerName:i,options:d},le)}submitBatch(i,d,p,v){return this.client.sendOperationRequest({contentLength:i,multipartContentType:d,body:p,options:v},ue)}filterBlobs(i){return this.client.sendOperationRequest({options:i},Ae)}acquireLease(i){return this.client.sendOperationRequest({options:i},de)}releaseLease(i,d){return this.client.sendOperationRequest({leaseId:i,options:d},pe)}renewLease(i,d){return this.client.sendOperationRequest({leaseId:i,options:d},fe)}breakLease(i){return this.client.sendOperationRequest({options:i},he)}changeLease(i,d,p){return this.client.sendOperationRequest({leaseId:i,proposedLeaseId:d,options:p},ge)}listBlobFlatSegment(i){return this.client.sendOperationRequest({options:i},me)}listBlobHierarchySegment(i,d){return this.client.sendOperationRequest({delimiter:i,options:d},Ee)}getAccountInfo(i){return this.client.sendOperationRequest({options:i},ye)}}d.ContainerImpl=ContainerImpl;const te=V.createSerializer(K,true);const re={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:K.ContainerCreateHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerCreateExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.restype2],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.metadata,ee.access,ee.defaultEncryptionScope,ee.preventEncryptionScopeOverride],isXML:true,serializer:te};const ne={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:K.ContainerGetPropertiesHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerGetPropertiesExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.restype2],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.leaseId],isXML:true,serializer:te};const ie={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:K.ContainerDeleteHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerDeleteExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.restype2],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince],isXML:true,serializer:te};const se={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:K.ContainerSetMetadataHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerSetMetadataExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.restype2,ee.comp6],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.metadata,ee.leaseId,ee.ifModifiedSince],isXML:true,serializer:te};const oe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}},serializedName:"SignedIdentifiers",xmlName:"SignedIdentifiers",xmlIsWrapped:true,xmlElementName:"SignedIdentifier"},headersMapper:K.ContainerGetAccessPolicyHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerGetAccessPolicyExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.restype2,ee.comp7],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.leaseId],isXML:true,serializer:te};const ae={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:K.ContainerSetAccessPolicyHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerSetAccessPolicyExceptionHeaders}},requestBody:ee.containerAcl,queryParameters:[ee.timeoutInSeconds,ee.restype2,ee.comp7],urlParameters:[ee.url],headerParameters:[ee.contentType,ee.accept,ee.version,ee.requestId,ee.access,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:te};const ce={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:K.ContainerRestoreHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerRestoreExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.restype2,ee.comp8],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.deletedContainerName,ee.deletedContainerVersion],isXML:true,serializer:te};const le={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:K.ContainerRenameHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerRenameExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.restype2,ee.comp9],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.sourceContainerName,ee.sourceLeaseId],isXML:true,serializer:te};const ue={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:K.ContainerSubmitBatchHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerSubmitBatchExceptionHeaders}},requestBody:ee.body,queryParameters:[ee.timeoutInSeconds,ee.comp4,ee.restype2],urlParameters:[ee.url],headerParameters:[ee.accept,ee.version,ee.requestId,ee.contentLength,ee.multipartContentType],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:te};const Ae={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:K.FilterBlobSegment,headersMapper:K.ContainerFilterBlobsHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerFilterBlobsExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.marker,ee.maxPageSize,ee.comp5,ee.where,ee.restype2],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1],isXML:true,serializer:te};const de={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:K.ContainerAcquireLeaseHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerAcquireLeaseExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.restype2,ee.comp10],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.action,ee.duration,ee.proposedLeaseId],isXML:true,serializer:te};const pe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:K.ContainerReleaseLeaseHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerReleaseLeaseExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.restype2,ee.comp10],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.action1,ee.leaseId1],isXML:true,serializer:te};const fe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:K.ContainerRenewLeaseHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerRenewLeaseExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.restype2,ee.comp10],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.leaseId1,ee.action2],isXML:true,serializer:te};const he={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:K.ContainerBreakLeaseHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerBreakLeaseExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.restype2,ee.comp10],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.action3,ee.breakPeriod],isXML:true,serializer:te};const ge={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:K.ContainerChangeLeaseHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerChangeLeaseExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.restype2,ee.comp10],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.leaseId1,ee.action4,ee.proposedLeaseId1],isXML:true,serializer:te};const me={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:K.ListBlobsFlatSegmentResponse,headersMapper:K.ContainerListBlobFlatSegmentHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerListBlobFlatSegmentExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp2,ee.prefix,ee.marker,ee.maxPageSize,ee.restype2,ee.include1,ee.startFrom],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1],isXML:true,serializer:te};const Ee={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:K.ListBlobsHierarchySegmentResponse,headersMapper:K.ContainerListBlobHierarchySegmentHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerListBlobHierarchySegmentExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp2,ee.prefix,ee.marker,ee.maxPageSize,ee.restype2,ee.include1,ee.startFrom,ee.delimiter],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1],isXML:true,serializer:te};const ye={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:K.ContainerGetAccountInfoHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerGetAccountInfoExceptionHeaders}},queryParameters:[ee.comp,ee.timeoutInSeconds,ee.restype1],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1],isXML:true,serializer:te}},37878:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});const v=p(93849);v.__exportStar(p(44181),d);v.__exportStar(p(14509),d);v.__exportStar(p(57559),d);v.__exportStar(p(69156),d);v.__exportStar(p(40535),d);v.__exportStar(p(95440),d)},69156:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.PageBlobImpl=void 0;const v=p(93849);const V=v.__importStar(p(60160));const K=v.__importStar(p(84424));const ee=v.__importStar(p(6088));class PageBlobImpl{client;constructor(i){this.client=i}create(i,d,p){return this.client.sendOperationRequest({contentLength:i,blobContentLength:d,options:p},re)}uploadPages(i,d,p){return this.client.sendOperationRequest({contentLength:i,body:d,options:p},ne)}clearPages(i,d){return this.client.sendOperationRequest({contentLength:i,options:d},ie)}uploadPagesFromURL(i,d,p,v,V){return this.client.sendOperationRequest({sourceUrl:i,sourceRange:d,contentLength:p,range:v,options:V},se)}getPageRanges(i){return this.client.sendOperationRequest({options:i},oe)}getPageRangesDiff(i){return this.client.sendOperationRequest({options:i},ae)}resize(i,d){return this.client.sendOperationRequest({blobContentLength:i,options:d},ce)}updateSequenceNumber(i,d){return this.client.sendOperationRequest({sequenceNumberAction:i,options:d},le)}copyIncremental(i,d){return this.client.sendOperationRequest({copySource:i,options:d},ue)}}d.PageBlobImpl=PageBlobImpl;const te=V.createSerializer(K,true);const re={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:K.PageBlobCreateHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.PageBlobCreateExceptionHeaders}},queryParameters:[ee.timeoutInSeconds],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.contentLength,ee.metadata,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.blobCacheControl,ee.blobContentType,ee.blobContentMD5,ee.blobContentEncoding,ee.blobContentLanguage,ee.blobContentDisposition,ee.immutabilityPolicyExpiry,ee.immutabilityPolicyMode,ee.encryptionScope,ee.tier,ee.blobTagsString,ee.legalHold1,ee.blobType,ee.blobContentLength,ee.blobSequenceNumber],isXML:true,serializer:te};const ne={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:K.PageBlobUploadPagesHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.PageBlobUploadPagesExceptionHeaders}},requestBody:ee.body1,queryParameters:[ee.timeoutInSeconds,ee.comp19],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.contentLength,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.range,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.encryptionScope,ee.transactionalContentMD5,ee.transactionalContentCrc64,ee.contentType1,ee.accept2,ee.pageWrite,ee.ifSequenceNumberLessThanOrEqualTo,ee.ifSequenceNumberLessThan,ee.ifSequenceNumberEqualTo],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:te};const ie={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:K.PageBlobClearPagesHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.PageBlobClearPagesExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp19],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.contentLength,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.range,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.encryptionScope,ee.ifSequenceNumberLessThanOrEqualTo,ee.ifSequenceNumberLessThan,ee.ifSequenceNumberEqualTo,ee.pageWrite1],isXML:true,serializer:te};const se={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:K.PageBlobUploadPagesFromURLHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.PageBlobUploadPagesFromURLExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp19],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.contentLength,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.encryptionScope,ee.sourceIfModifiedSince,ee.sourceIfUnmodifiedSince,ee.sourceIfMatch,ee.sourceIfNoneMatch,ee.sourceContentMD5,ee.copySourceAuthorization,ee.fileRequestIntent,ee.pageWrite,ee.ifSequenceNumberLessThanOrEqualTo,ee.ifSequenceNumberLessThan,ee.ifSequenceNumberEqualTo,ee.sourceUrl,ee.sourceRange,ee.sourceContentCrc64,ee.range1],isXML:true,serializer:te};const oe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:K.PageList,headersMapper:K.PageBlobGetPageRangesHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.PageBlobGetPageRangesExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.marker,ee.maxPageSize,ee.snapshot,ee.comp20],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.range,ee.ifMatch,ee.ifNoneMatch,ee.ifTags],isXML:true,serializer:te};const ae={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:K.PageList,headersMapper:K.PageBlobGetPageRangesDiffHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.PageBlobGetPageRangesDiffExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.marker,ee.maxPageSize,ee.snapshot,ee.comp20,ee.prevsnapshot],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.range,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.prevSnapshotUrl],isXML:true,serializer:te};const ce={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:K.PageBlobResizeHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.PageBlobResizeExceptionHeaders}},queryParameters:[ee.comp,ee.timeoutInSeconds],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.encryptionScope,ee.blobContentLength],isXML:true,serializer:te};const le={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:K.PageBlobUpdateSequenceNumberHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.PageBlobUpdateSequenceNumberExceptionHeaders}},queryParameters:[ee.comp,ee.timeoutInSeconds],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.blobSequenceNumber,ee.sequenceNumberAction],isXML:true,serializer:te};const ue={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:K.PageBlobCopyIncrementalHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.PageBlobCopyIncrementalExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp21],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.copySource],isXML:true,serializer:te}},44181:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ServiceImpl=void 0;const v=p(93849);const V=v.__importStar(p(60160));const K=v.__importStar(p(84424));const ee=v.__importStar(p(6088));class ServiceImpl{client;constructor(i){this.client=i}setProperties(i,d){return this.client.sendOperationRequest({blobServiceProperties:i,options:d},re)}getProperties(i){return this.client.sendOperationRequest({options:i},ne)}getStatistics(i){return this.client.sendOperationRequest({options:i},ie)}listContainersSegment(i){return this.client.sendOperationRequest({options:i},se)}getUserDelegationKey(i,d){return this.client.sendOperationRequest({keyInfo:i,options:d},oe)}getAccountInfo(i){return this.client.sendOperationRequest({options:i},ae)}submitBatch(i,d,p,v){return this.client.sendOperationRequest({contentLength:i,multipartContentType:d,body:p,options:v},ce)}filterBlobs(i){return this.client.sendOperationRequest({options:i},le)}}d.ServiceImpl=ServiceImpl;const te=V.createSerializer(K,true);const re={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:K.ServiceSetPropertiesHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ServiceSetPropertiesExceptionHeaders}},requestBody:ee.blobServiceProperties,queryParameters:[ee.restype,ee.comp,ee.timeoutInSeconds],urlParameters:[ee.url],headerParameters:[ee.contentType,ee.accept,ee.version,ee.requestId],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:te};const ne={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:K.BlobServiceProperties,headersMapper:K.ServiceGetPropertiesHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ServiceGetPropertiesExceptionHeaders}},queryParameters:[ee.restype,ee.comp,ee.timeoutInSeconds],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1],isXML:true,serializer:te};const ie={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:K.BlobServiceStatistics,headersMapper:K.ServiceGetStatisticsHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ServiceGetStatisticsExceptionHeaders}},queryParameters:[ee.restype,ee.timeoutInSeconds,ee.comp1],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1],isXML:true,serializer:te};const se={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:K.ListContainersSegmentResponse,headersMapper:K.ServiceListContainersSegmentHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ServiceListContainersSegmentExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp2,ee.prefix,ee.marker,ee.maxPageSize,ee.include],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1],isXML:true,serializer:te};const oe={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:K.UserDelegationKey,headersMapper:K.ServiceGetUserDelegationKeyHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ServiceGetUserDelegationKeyExceptionHeaders}},requestBody:ee.keyInfo,queryParameters:[ee.restype,ee.timeoutInSeconds,ee.comp3],urlParameters:[ee.url],headerParameters:[ee.contentType,ee.accept,ee.version,ee.requestId],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:te};const ae={path:"/",httpMethod:"GET",responses:{200:{headersMapper:K.ServiceGetAccountInfoHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ServiceGetAccountInfoExceptionHeaders}},queryParameters:[ee.comp,ee.timeoutInSeconds,ee.restype1],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1],isXML:true,serializer:te};const ce={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:K.ServiceSubmitBatchHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ServiceSubmitBatchExceptionHeaders}},requestBody:ee.body,queryParameters:[ee.timeoutInSeconds,ee.comp4],urlParameters:[ee.url],headerParameters:[ee.accept,ee.version,ee.requestId,ee.contentLength,ee.multipartContentType],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:te};const le={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:K.FilterBlobSegment,headersMapper:K.ServiceFilterBlobsHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ServiceFilterBlobsExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.marker,ee.maxPageSize,ee.comp5,ee.where],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1],isXML:true,serializer:te}},56635:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true})},68355:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true})},17188:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true})},15337:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true})},82354:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});const v=p(93849);v.__exportStar(p(26865),d);v.__exportStar(p(15337),d);v.__exportStar(p(68355),d);v.__exportStar(p(14400),d);v.__exportStar(p(56635),d);v.__exportStar(p(17188),d)},14400:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true})},26865:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true})},5313:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageClient=void 0;const v=p(93849);const V=v.__importStar(p(61584));const K=p(37878);class StorageClient extends V.ExtendedServiceClient{url;version;constructor(i,d){if(i===undefined){throw new Error("'url' cannot be null")}if(!d){d={}}const p={requestContentType:"application/json; charset=utf-8"};const v=`azsdk-js-azure-storage-blob/12.30.0`;const V=d.userAgentOptions&&d.userAgentOptions.userAgentPrefix?`${d.userAgentOptions.userAgentPrefix} ${v}`:`${v}`;const ee={...p,...d,userAgentOptions:{userAgentPrefix:V},endpoint:d.endpoint??d.baseUri??"{url}"};super(ee);this.url=i;this.version=d.version||"2026-02-06";this.service=new K.ServiceImpl(this);this.container=new K.ContainerImpl(this);this.blob=new K.BlobImpl(this);this.pageBlob=new K.PageBlobImpl(this);this.appendBlob=new K.AppendBlobImpl(this);this.blockBlob=new K.BlockBlobImpl(this)}service;container;blob;pageBlob;appendBlob;blockBlob}d.StorageClient=StorageClient},83627:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.KnownEncryptionAlgorithmType=void 0;var p;(function(i){i["AES256"]="AES256"})(p||(d.KnownEncryptionAlgorithmType=p={}))},71400:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.logger=d.RestError=d.StorageBrowserPolicyFactory=d.StorageBrowserPolicy=d.StorageSharedKeyCredentialPolicy=d.StorageSharedKeyCredential=d.StorageRetryPolicyFactory=d.StorageRetryPolicy=d.StorageRetryPolicyType=d.Credential=d.CredentialPolicy=d.BaseRequestPolicy=d.AnonymousCredentialPolicy=d.AnonymousCredential=d.StorageOAuthScopes=d.newPipeline=d.isPipelineLike=d.Pipeline=d.getBlobServiceAccountAudience=d.StorageBlobAudience=d.PremiumPageBlobTier=d.BlockBlobTier=d.generateBlobSASQueryParameters=d.generateAccountSASQueryParameters=void 0;const v=p(93849);const V=p(20778);Object.defineProperty(d,"RestError",{enumerable:true,get:function(){return V.RestError}});v.__exportStar(p(96341),d);v.__exportStar(p(90372),d);v.__exportStar(p(81884),d);v.__exportStar(p(23276),d);v.__exportStar(p(6358),d);v.__exportStar(p(91267),d);v.__exportStar(p(46940),d);var K=p(85238);Object.defineProperty(d,"generateAccountSASQueryParameters",{enumerable:true,get:function(){return K.generateAccountSASQueryParameters}});v.__exportStar(p(95561),d);v.__exportStar(p(12094),d);v.__exportStar(p(48175),d);v.__exportStar(p(2232),d);var ee=p(656);Object.defineProperty(d,"generateBlobSASQueryParameters",{enumerable:true,get:function(){return ee.generateBlobSASQueryParameters}});v.__exportStar(p(51622),d);var te=p(58560);Object.defineProperty(d,"BlockBlobTier",{enumerable:true,get:function(){return te.BlockBlobTier}});Object.defineProperty(d,"PremiumPageBlobTier",{enumerable:true,get:function(){return te.PremiumPageBlobTier}});Object.defineProperty(d,"StorageBlobAudience",{enumerable:true,get:function(){return te.StorageBlobAudience}});Object.defineProperty(d,"getBlobServiceAccountAudience",{enumerable:true,get:function(){return te.getBlobServiceAccountAudience}});var re=p(25984);Object.defineProperty(d,"Pipeline",{enumerable:true,get:function(){return re.Pipeline}});Object.defineProperty(d,"isPipelineLike",{enumerable:true,get:function(){return re.isPipelineLike}});Object.defineProperty(d,"newPipeline",{enumerable:true,get:function(){return re.newPipeline}});Object.defineProperty(d,"StorageOAuthScopes",{enumerable:true,get:function(){return re.StorageOAuthScopes}});var ne=p(51382);Object.defineProperty(d,"AnonymousCredential",{enumerable:true,get:function(){return ne.AnonymousCredential}});Object.defineProperty(d,"AnonymousCredentialPolicy",{enumerable:true,get:function(){return ne.AnonymousCredentialPolicy}});Object.defineProperty(d,"BaseRequestPolicy",{enumerable:true,get:function(){return ne.BaseRequestPolicy}});Object.defineProperty(d,"CredentialPolicy",{enumerable:true,get:function(){return ne.CredentialPolicy}});Object.defineProperty(d,"Credential",{enumerable:true,get:function(){return ne.Credential}});Object.defineProperty(d,"StorageRetryPolicyType",{enumerable:true,get:function(){return ne.StorageRetryPolicyType}});Object.defineProperty(d,"StorageRetryPolicy",{enumerable:true,get:function(){return ne.StorageRetryPolicy}});Object.defineProperty(d,"StorageRetryPolicyFactory",{enumerable:true,get:function(){return ne.StorageRetryPolicyFactory}});Object.defineProperty(d,"StorageSharedKeyCredential",{enumerable:true,get:function(){return ne.StorageSharedKeyCredential}});Object.defineProperty(d,"StorageSharedKeyCredentialPolicy",{enumerable:true,get:function(){return ne.StorageSharedKeyCredentialPolicy}});Object.defineProperty(d,"StorageBrowserPolicy",{enumerable:true,get:function(){return ne.StorageBrowserPolicy}});Object.defineProperty(d,"StorageBrowserPolicyFactory",{enumerable:true,get:function(){return ne.StorageBrowserPolicyFactory}});v.__exportStar(p(26823),d);v.__exportStar(p(83627),d);var ie=p(46370);Object.defineProperty(d,"logger",{enumerable:true,get:function(){return ie.logger}})},11326:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.AVRO_SCHEMA_KEY=d.AVRO_CODEC_KEY=d.AVRO_INIT_BYTES=d.AVRO_SYNC_MARKER_SIZE=void 0;d.AVRO_SYNC_MARKER_SIZE=16;d.AVRO_INIT_BYTES=new Uint8Array([79,98,106,1]);d.AVRO_CODEC_KEY="avro.codec";d.AVRO_SCHEMA_KEY="avro.schema"},35652:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.AvroType=d.AvroParser=void 0;class AvroParser{static async readFixedBytes(i,d,p={}){const v=await i.read(d,{abortSignal:p.abortSignal});if(v.length!==d){throw new Error("Hit stream end.")}return v}static async readByte(i,d={}){const p=await AvroParser.readFixedBytes(i,1,d);return p[0]}static async readZigZagLong(i,d={}){let p=0;let v=0;let V,K,ee;do{V=await AvroParser.readByte(i,d);K=V&128;p|=(V&127)<Number.MAX_SAFE_INTEGER){throw new Error("Integer overflow.")}return v}return p>>1^-(p&1)}static async readLong(i,d={}){return AvroParser.readZigZagLong(i,d)}static async readInt(i,d={}){return AvroParser.readZigZagLong(i,d)}static async readNull(){return null}static async readBoolean(i,d={}){const p=await AvroParser.readByte(i,d);if(p===1){return true}else if(p===0){return false}else{throw new Error("Byte was not a boolean.")}}static async readFloat(i,d={}){const p=await AvroParser.readFixedBytes(i,4,d);const v=new DataView(p.buffer,p.byteOffset,p.byteLength);return v.getFloat32(0,true)}static async readDouble(i,d={}){const p=await AvroParser.readFixedBytes(i,8,d);const v=new DataView(p.buffer,p.byteOffset,p.byteLength);return v.getFloat64(0,true)}static async readBytes(i,d={}){const p=await AvroParser.readLong(i,d);if(p<0){throw new Error("Bytes size was negative.")}return i.read(p,{abortSignal:d.abortSignal})}static async readString(i,d={}){const p=await AvroParser.readBytes(i,d);const v=new TextDecoder;return v.decode(p)}static async readMapPair(i,d,p={}){const v=await AvroParser.readString(i,p);const V=await d(i,p);return{key:v,value:V}}static async readMap(i,d,p={}){const readPairMethod=(i,p={})=>AvroParser.readMapPair(i,d,p);const v=await AvroParser.readArray(i,readPairMethod,p);const V={};for(const i of v){V[i.key]=i.value}return V}static async readArray(i,d,p={}){const v=[];for(let V=await AvroParser.readLong(i,p);V!==0;V=await AvroParser.readLong(i,p)){if(V<0){await AvroParser.readLong(i,p);V=-V}while(V--){const V=await d(i,p);v.push(V)}}return v}}d.AvroParser=AvroParser;var p;(function(i){i["RECORD"]="record";i["ENUM"]="enum";i["ARRAY"]="array";i["MAP"]="map";i["UNION"]="union";i["FIXED"]="fixed"})(p||(p={}));var v;(function(i){i["NULL"]="null";i["BOOLEAN"]="boolean";i["INT"]="int";i["LONG"]="long";i["FLOAT"]="float";i["DOUBLE"]="double";i["BYTES"]="bytes";i["STRING"]="string"})(v||(v={}));class AvroType{static fromSchema(i){if(typeof i==="string"){return AvroType.fromStringSchema(i)}else if(Array.isArray(i)){return AvroType.fromArraySchema(i)}else{return AvroType.fromObjectSchema(i)}}static fromStringSchema(i){switch(i){case v.NULL:case v.BOOLEAN:case v.INT:case v.LONG:case v.FLOAT:case v.DOUBLE:case v.BYTES:case v.STRING:return new AvroPrimitiveType(i);default:throw new Error(`Unexpected Avro type ${i}`)}}static fromArraySchema(i){return new AvroUnionType(i.map(AvroType.fromSchema))}static fromObjectSchema(i){const d=i.type;try{return AvroType.fromStringSchema(d)}catch{}switch(d){case p.RECORD:if(i.aliases){throw new Error(`aliases currently is not supported, schema: ${i}`)}if(!i.name){throw new Error(`Required attribute 'name' doesn't exist on schema: ${i}`)}const v={};if(!i.fields){throw new Error(`Required attribute 'fields' doesn't exist on schema: ${i}`)}for(const d of i.fields){v[d.name]=AvroType.fromSchema(d.type)}return new AvroRecordType(v,i.name);case p.ENUM:if(i.aliases){throw new Error(`aliases currently is not supported, schema: ${i}`)}if(!i.symbols){throw new Error(`Required attribute 'symbols' doesn't exist on schema: ${i}`)}return new AvroEnumType(i.symbols);case p.MAP:if(!i.values){throw new Error(`Required attribute 'values' doesn't exist on schema: ${i}`)}return new AvroMapType(AvroType.fromSchema(i.values));case p.ARRAY:case p.FIXED:default:throw new Error(`Unexpected Avro type ${d} in ${i}`)}}}d.AvroType=AvroType;class AvroPrimitiveType extends AvroType{_primitive;constructor(i){super();this._primitive=i}read(i,d={}){switch(this._primitive){case v.NULL:return AvroParser.readNull();case v.BOOLEAN:return AvroParser.readBoolean(i,d);case v.INT:return AvroParser.readInt(i,d);case v.LONG:return AvroParser.readLong(i,d);case v.FLOAT:return AvroParser.readFloat(i,d);case v.DOUBLE:return AvroParser.readDouble(i,d);case v.BYTES:return AvroParser.readBytes(i,d);case v.STRING:return AvroParser.readString(i,d);default:throw new Error("Unknown Avro Primitive")}}}class AvroEnumType extends AvroType{_symbols;constructor(i){super();this._symbols=i}async read(i,d={}){const p=await AvroParser.readInt(i,d);return this._symbols[p]}}class AvroUnionType extends AvroType{_types;constructor(i){super();this._types=i}async read(i,d={}){const p=await AvroParser.readInt(i,d);return this._types[p].read(i,d)}}class AvroMapType extends AvroType{_itemType;constructor(i){super();this._itemType=i}read(i,d={}){const readItemMethod=(i,d)=>this._itemType.read(i,d);return AvroParser.readMap(i,readItemMethod,d)}}class AvroRecordType extends AvroType{_name;_fields;constructor(i,d){super();this._fields=i;this._name=d}async read(i,d={}){const p={};p["$schema"]=this._name;for(const v in this._fields){if(Object.prototype.hasOwnProperty.call(this._fields,v)){p[v]=await this._fields[v].read(i,d)}}return p}}},41675:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.AvroReadable=void 0;class AvroReadable{}d.AvroReadable=AvroReadable},48059:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.AvroReadableFromStream=void 0;const v=p(41675);const V=p(83134);const K=p(20181);const ee=new V.AbortError("Reading from the avro stream was aborted.");class AvroReadableFromStream extends v.AvroReadable{_position;_readable;toUint8Array(i){if(typeof i==="string"){return K.Buffer.from(i)}return i}constructor(i){super();this._readable=i;this._position=0}get position(){return this._position}async read(i,d={}){if(d.abortSignal?.aborted){throw ee}if(i<0){throw new Error(`size parameter should be positive: ${i}`)}if(i===0){return new Uint8Array}if(!this._readable.readable){throw new Error("Stream no longer readable.")}const p=this._readable.read(i);if(p){this._position+=p.length;return this.toUint8Array(p)}else{return new Promise(((p,v)=>{const cleanUp=()=>{this._readable.removeListener("readable",readableCallback);this._readable.removeListener("error",rejectCallback);this._readable.removeListener("end",rejectCallback);this._readable.removeListener("close",rejectCallback);if(d.abortSignal){d.abortSignal.removeEventListener("abort",abortHandler)}};const readableCallback=()=>{const d=this._readable.read(i);if(d){this._position+=d.length;cleanUp();p(this.toUint8Array(d))}};const rejectCallback=()=>{cleanUp();v()};const abortHandler=()=>{cleanUp();v(ee)};this._readable.on("readable",readableCallback);this._readable.once("error",rejectCallback);this._readable.once("end",rejectCallback);this._readable.once("close",rejectCallback);if(d.abortSignal){d.abortSignal.addEventListener("abort",abortHandler)}}))}}}d.AvroReadableFromStream=AvroReadableFromStream},52888:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.AvroReader=void 0;const v=p(11326);const V=p(35652);const K=p(4337);class AvroReader{_dataStream;_headerStream;_syncMarker;_metadata;_itemType;_itemsRemainingInBlock;_initialBlockOffset;_blockOffset;get blockOffset(){return this._blockOffset}_objectIndex;get objectIndex(){return this._objectIndex}_initialized;constructor(i,d,p,v){this._dataStream=i;this._headerStream=d||i;this._initialized=false;this._blockOffset=p||0;this._objectIndex=v||0;this._initialBlockOffset=p||0}async initialize(i={}){const d=await V.AvroParser.readFixedBytes(this._headerStream,v.AVRO_INIT_BYTES.length,{abortSignal:i.abortSignal});if(!(0,K.arraysEqual)(d,v.AVRO_INIT_BYTES)){throw new Error("Stream is not an Avro file.")}this._metadata=await V.AvroParser.readMap(this._headerStream,V.AvroParser.readString,{abortSignal:i.abortSignal});const p=this._metadata[v.AVRO_CODEC_KEY];if(!(p===undefined||p===null||p==="null")){throw new Error("Codecs are not supported")}this._syncMarker=await V.AvroParser.readFixedBytes(this._headerStream,v.AVRO_SYNC_MARKER_SIZE,{abortSignal:i.abortSignal});const ee=JSON.parse(this._metadata[v.AVRO_SCHEMA_KEY]);this._itemType=V.AvroType.fromSchema(ee);if(this._blockOffset===0){this._blockOffset=this._initialBlockOffset+this._dataStream.position}this._itemsRemainingInBlock=await V.AvroParser.readLong(this._dataStream,{abortSignal:i.abortSignal});await V.AvroParser.readLong(this._dataStream,{abortSignal:i.abortSignal});this._initialized=true;if(this._objectIndex&&this._objectIndex>0){for(let d=0;d0}async*parseObjects(i={}){if(!this._initialized){await this.initialize(i)}while(this.hasNext()){const d=await this._itemType.read(this._dataStream,{abortSignal:i.abortSignal});this._itemsRemainingInBlock--;this._objectIndex++;if(this._itemsRemainingInBlock===0){const d=await V.AvroParser.readFixedBytes(this._dataStream,v.AVRO_SYNC_MARKER_SIZE,{abortSignal:i.abortSignal});this._blockOffset=this._initialBlockOffset+this._dataStream.position;this._objectIndex=0;if(!(0,K.arraysEqual)(this._syncMarker,d)){throw new Error("Stream is not a valid Avro file.")}try{this._itemsRemainingInBlock=await V.AvroParser.readLong(this._dataStream,{abortSignal:i.abortSignal})}catch{this._itemsRemainingInBlock=0}if(this._itemsRemainingInBlock>0){await V.AvroParser.readLong(this._dataStream,{abortSignal:i.abortSignal})}}yield d}}}d.AvroReader=AvroReader},96147:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.AvroReadableFromStream=d.AvroReadable=d.AvroReader=void 0;var v=p(52888);Object.defineProperty(d,"AvroReader",{enumerable:true,get:function(){return v.AvroReader}});var V=p(41675);Object.defineProperty(d,"AvroReadable",{enumerable:true,get:function(){return V.AvroReadable}});var K=p(48059);Object.defineProperty(d,"AvroReadableFromStream",{enumerable:true,get:function(){return K.AvroReadableFromStream}})},4337:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.arraysEqual=arraysEqual;function arraysEqual(i,d){if(i===d)return true;if(i==null||d==null)return false;if(i.length!==d.length)return false;for(let p=0;p{Object.defineProperty(d,"__esModule",{value:true});d.logger=void 0;const v=p(26515);d.logger=(0,v.createClientLogger)("storage-blob")},58560:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageBlobAudience=d.PremiumPageBlobTier=d.BlockBlobTier=void 0;d.toAccessTier=toAccessTier;d.ensureCpkIfSpecified=ensureCpkIfSpecified;d.getBlobServiceAccountAudience=getBlobServiceAccountAudience;const v=p(27323);var V;(function(i){i["Hot"]="Hot";i["Cool"]="Cool";i["Cold"]="Cold";i["Archive"]="Archive"})(V||(d.BlockBlobTier=V={}));var K;(function(i){i["P4"]="P4";i["P6"]="P6";i["P10"]="P10";i["P15"]="P15";i["P20"]="P20";i["P30"]="P30";i["P40"]="P40";i["P50"]="P50";i["P60"]="P60";i["P70"]="P70";i["P80"]="P80"})(K||(d.PremiumPageBlobTier=K={}));function toAccessTier(i){if(i===undefined){return undefined}return i}function ensureCpkIfSpecified(i,d){if(i&&!d){throw new RangeError("Customer-provided encryption key must be used over HTTPS.")}if(i&&!i.encryptionAlgorithm){i.encryptionAlgorithm=v.EncryptionAlgorithmAES25}}var ee;(function(i){i["StorageOAuthScopes"]="https://storage.azure.com/.default";i["DiskComputeOAuthScopes"]="https://disk.compute.azure.com/.default"})(ee||(d.StorageBlobAudience=ee={}));function getBlobServiceAccountAudience(i){return`https://${i}.blob.core.windows.net/.default`}},73145:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BlobBeginCopyFromUrlPoller=void 0;const v=p(87779);const V=p(15862);class BlobBeginCopyFromUrlPoller extends V.Poller{intervalInMs;constructor(i){const{blobClient:d,copySource:p,intervalInMs:v=15e3,onProgress:V,resumeFrom:K,startCopyFromURLOptions:ee}=i;let te;if(K){te=JSON.parse(K).state}const re=makeBlobBeginCopyFromURLPollOperation({...te,blobClient:d,copySource:p,startCopyFromURLOptions:ee});super(re);if(typeof V==="function"){this.onProgress(V)}this.intervalInMs=v}delay(){return(0,v.delay)(this.intervalInMs)}}d.BlobBeginCopyFromUrlPoller=BlobBeginCopyFromUrlPoller;const K=async function cancel(i={}){const d=this.state;const{copyId:p}=d;if(d.isCompleted){return makeBlobBeginCopyFromURLPollOperation(d)}if(!p){d.isCancelled=true;return makeBlobBeginCopyFromURLPollOperation(d)}await d.blobClient.abortCopyFromURL(p,{abortSignal:i.abortSignal});d.isCancelled=true;return makeBlobBeginCopyFromURLPollOperation(d)};const ee=async function update(i={}){const d=this.state;const{blobClient:p,copySource:v,startCopyFromURLOptions:V}=d;if(!d.isStarted){d.isStarted=true;const i=await p.startCopyFromURL(v,V);d.copyId=i.copyId;if(i.copyStatus==="success"){d.result=i;d.isCompleted=true}}else if(!d.isCompleted){try{const p=await d.blobClient.getProperties({abortSignal:i.abortSignal});const{copyStatus:v,copyProgress:V}=p;const K=d.copyProgress;if(V){d.copyProgress=V}if(v==="pending"&&V!==K&&typeof i.fireProgress==="function"){i.fireProgress(d)}else if(v==="success"){d.result=p;d.isCompleted=true}else if(v==="failed"){d.error=new Error(`Blob copy failed with reason: "${p.copyStatusDescription||"unknown"}"`);d.isCompleted=true}}catch(i){d.error=i;d.isCompleted=true}}return makeBlobBeginCopyFromURLPollOperation(d)};const te=function toString(){return JSON.stringify({state:this.state},((i,d)=>{if(i==="blobClient"){return undefined}return d}))};function makeBlobBeginCopyFromURLPollOperation(i){return{state:{...i},cancel:K,toString:te,update:ee}}},6358:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.AccountSASPermissions=void 0;class AccountSASPermissions{static parse(i){const d=new AccountSASPermissions;for(const p of i){switch(p){case"r":d.read=true;break;case"w":d.write=true;break;case"d":d.delete=true;break;case"x":d.deleteVersion=true;break;case"l":d.list=true;break;case"a":d.add=true;break;case"c":d.create=true;break;case"u":d.update=true;break;case"p":d.process=true;break;case"t":d.tag=true;break;case"f":d.filter=true;break;case"i":d.setImmutabilityPolicy=true;break;case"y":d.permanentDelete=true;break;default:throw new RangeError(`Invalid permission character: ${p}`)}}return d}static from(i){const d=new AccountSASPermissions;if(i.read){d.read=true}if(i.write){d.write=true}if(i.delete){d.delete=true}if(i.deleteVersion){d.deleteVersion=true}if(i.filter){d.filter=true}if(i.tag){d.tag=true}if(i.list){d.list=true}if(i.add){d.add=true}if(i.create){d.create=true}if(i.update){d.update=true}if(i.process){d.process=true}if(i.setImmutabilityPolicy){d.setImmutabilityPolicy=true}if(i.permanentDelete){d.permanentDelete=true}return d}read=false;write=false;delete=false;deleteVersion=false;list=false;add=false;create=false;update=false;process=false;tag=false;filter=false;setImmutabilityPolicy=false;permanentDelete=false;toString(){const i=[];if(this.read){i.push("r")}if(this.write){i.push("w")}if(this.delete){i.push("d")}if(this.deleteVersion){i.push("x")}if(this.filter){i.push("f")}if(this.tag){i.push("t")}if(this.list){i.push("l")}if(this.add){i.push("a")}if(this.create){i.push("c")}if(this.update){i.push("u")}if(this.process){i.push("p")}if(this.setImmutabilityPolicy){i.push("i")}if(this.permanentDelete){i.push("y")}return i.join("")}}d.AccountSASPermissions=AccountSASPermissions},91267:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.AccountSASResourceTypes=void 0;class AccountSASResourceTypes{static parse(i){const d=new AccountSASResourceTypes;for(const p of i){switch(p){case"s":d.service=true;break;case"c":d.container=true;break;case"o":d.object=true;break;default:throw new RangeError(`Invalid resource type: ${p}`)}}return d}service=false;container=false;object=false;toString(){const i=[];if(this.service){i.push("s")}if(this.container){i.push("c")}if(this.object){i.push("o")}return i.join("")}}d.AccountSASResourceTypes=AccountSASResourceTypes},46940:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.AccountSASServices=void 0;class AccountSASServices{static parse(i){const d=new AccountSASServices;for(const p of i){switch(p){case"b":d.blob=true;break;case"f":d.file=true;break;case"q":d.queue=true;break;case"t":d.table=true;break;default:throw new RangeError(`Invalid service character: ${p}`)}}return d}blob=false;file=false;queue=false;table=false;toString(){const i=[];if(this.blob){i.push("b")}if(this.table){i.push("t")}if(this.queue){i.push("q")}if(this.file){i.push("f")}return i.join("")}}d.AccountSASServices=AccountSASServices},85238:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.generateAccountSASQueryParameters=generateAccountSASQueryParameters;d.generateAccountSASQueryParametersInternal=generateAccountSASQueryParametersInternal;const v=p(6358);const V=p(91267);const K=p(46940);const ee=p(2977);const te=p(26823);const re=p(27323);const ne=p(47764);function generateAccountSASQueryParameters(i,d){return generateAccountSASQueryParametersInternal(i,d).sasQueryParameters}function generateAccountSASQueryParametersInternal(i,d){const p=i.version?i.version:re.SERVICE_VERSION;if(i.permissions&&i.permissions.setImmutabilityPolicy&&p<"2020-08-04"){throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.")}if(i.permissions&&i.permissions.deleteVersion&&p<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when provided 'x' permission.")}if(i.permissions&&i.permissions.permanentDelete&&p<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when provided 'y' permission.")}if(i.permissions&&i.permissions.tag&&p<"2019-12-12"){throw RangeError("'version' must be >= '2019-12-12' when provided 't' permission.")}if(i.permissions&&i.permissions.filter&&p<"2019-12-12"){throw RangeError("'version' must be >= '2019-12-12' when provided 'f' permission.")}if(i.encryptionScope&&p<"2020-12-06"){throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.")}const ie=v.AccountSASPermissions.parse(i.permissions.toString());const se=K.AccountSASServices.parse(i.services).toString();const oe=V.AccountSASResourceTypes.parse(i.resourceTypes).toString();let ae;if(p>="2020-12-06"){ae=[d.accountName,ie,se,oe,i.startsOn?(0,ne.truncatedISO8061Date)(i.startsOn,false):"",(0,ne.truncatedISO8061Date)(i.expiresOn,false),i.ipRange?(0,ee.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",p,i.encryptionScope?i.encryptionScope:"",""].join("\n")}else{ae=[d.accountName,ie,se,oe,i.startsOn?(0,ne.truncatedISO8061Date)(i.startsOn,false):"",(0,ne.truncatedISO8061Date)(i.expiresOn,false),i.ipRange?(0,ee.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",p,""].join("\n")}const ce=d.computeHMACSHA256(ae);return{sasQueryParameters:new te.SASQueryParameters(p,ce,ie.toString(),se,oe,i.protocol,i.startsOn,i.expiresOn,i.ipRange,undefined,undefined,undefined,undefined,undefined,undefined,undefined,undefined,undefined,undefined,i.encryptionScope),stringToSign:ae}}},2232:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.BlobSASPermissions=void 0;class BlobSASPermissions{static parse(i){const d=new BlobSASPermissions;for(const p of i){switch(p){case"r":d.read=true;break;case"a":d.add=true;break;case"c":d.create=true;break;case"w":d.write=true;break;case"d":d.delete=true;break;case"x":d.deleteVersion=true;break;case"t":d.tag=true;break;case"m":d.move=true;break;case"e":d.execute=true;break;case"i":d.setImmutabilityPolicy=true;break;case"y":d.permanentDelete=true;break;default:throw new RangeError(`Invalid permission: ${p}`)}}return d}static from(i){const d=new BlobSASPermissions;if(i.read){d.read=true}if(i.add){d.add=true}if(i.create){d.create=true}if(i.write){d.write=true}if(i.delete){d.delete=true}if(i.deleteVersion){d.deleteVersion=true}if(i.tag){d.tag=true}if(i.move){d.move=true}if(i.execute){d.execute=true}if(i.setImmutabilityPolicy){d.setImmutabilityPolicy=true}if(i.permanentDelete){d.permanentDelete=true}return d}read=false;add=false;create=false;write=false;delete=false;deleteVersion=false;tag=false;move=false;execute=false;setImmutabilityPolicy=false;permanentDelete=false;toString(){const i=[];if(this.read){i.push("r")}if(this.add){i.push("a")}if(this.create){i.push("c")}if(this.write){i.push("w")}if(this.delete){i.push("d")}if(this.deleteVersion){i.push("x")}if(this.tag){i.push("t")}if(this.move){i.push("m")}if(this.execute){i.push("e")}if(this.setImmutabilityPolicy){i.push("i")}if(this.permanentDelete){i.push("y")}return i.join("")}}d.BlobSASPermissions=BlobSASPermissions},656:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.generateBlobSASQueryParameters=generateBlobSASQueryParameters;d.generateBlobSASQueryParametersInternal=generateBlobSASQueryParametersInternal;const v=p(2232);const V=p(51622);const K=p(51382);const ee=p(2977);const te=p(26823);const re=p(27323);const ne=p(47764);const ie=p(51382);function generateBlobSASQueryParameters(i,d,p){return generateBlobSASQueryParametersInternal(i,d,p).sasQueryParameters}function generateBlobSASQueryParametersInternal(i,d,p){const v=i.version?i.version:re.SERVICE_VERSION;const V=d instanceof K.StorageSharedKeyCredential?d:undefined;let ee;if(V===undefined&&p!==undefined){ee=new ie.UserDelegationKeyCredential(p,d)}if(V===undefined&&ee===undefined){throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.")}if(v>="2020-12-06"){if(V!==undefined){return generateBlobSASQueryParameters20201206(i,V)}else{if(v>="2025-07-05"){return generateBlobSASQueryParametersUDK20250705(i,ee)}else{return generateBlobSASQueryParametersUDK20201206(i,ee)}}}if(v>="2018-11-09"){if(V!==undefined){return generateBlobSASQueryParameters20181109(i,V)}else{if(v>="2020-02-10"){return generateBlobSASQueryParametersUDK20200210(i,ee)}else{return generateBlobSASQueryParametersUDK20181109(i,ee)}}}if(v>="2015-04-05"){if(V!==undefined){return generateBlobSASQueryParameters20150405(i,V)}else{throw new RangeError("'version' must be >= '2018-11-09' when generating user delegation SAS using user delegation key.")}}throw new RangeError("'version' must be >= '2015-04-05'.")}function generateBlobSASQueryParameters20150405(i,d){i=SASSignatureValuesSanityCheckAndAutofill(i);if(!i.identifier&&!(i.permissions&&i.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}let p="c";if(i.blobName){p="b"}let K;if(i.permissions){if(i.blobName){K=v.BlobSASPermissions.parse(i.permissions.toString()).toString()}else{K=V.ContainerSASPermissions.parse(i.permissions.toString()).toString()}}const re=[K?K:"",i.startsOn?(0,ne.truncatedISO8061Date)(i.startsOn,false):"",i.expiresOn?(0,ne.truncatedISO8061Date)(i.expiresOn,false):"",getCanonicalName(d.accountName,i.containerName,i.blobName),i.identifier,i.ipRange?(0,ee.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",i.version,i.cacheControl?i.cacheControl:"",i.contentDisposition?i.contentDisposition:"",i.contentEncoding?i.contentEncoding:"",i.contentLanguage?i.contentLanguage:"",i.contentType?i.contentType:""].join("\n");const ie=d.computeHMACSHA256(re);return{sasQueryParameters:new te.SASQueryParameters(i.version,ie,K,undefined,undefined,i.protocol,i.startsOn,i.expiresOn,i.ipRange,i.identifier,p,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType),stringToSign:re}}function generateBlobSASQueryParameters20181109(i,d){i=SASSignatureValuesSanityCheckAndAutofill(i);if(!i.identifier&&!(i.permissions&&i.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}let p="c";let K=i.snapshotTime;if(i.blobName){p="b";if(i.snapshotTime){p="bs"}else if(i.versionId){p="bv";K=i.versionId}}let re;if(i.permissions){if(i.blobName){re=v.BlobSASPermissions.parse(i.permissions.toString()).toString()}else{re=V.ContainerSASPermissions.parse(i.permissions.toString()).toString()}}const ie=[re?re:"",i.startsOn?(0,ne.truncatedISO8061Date)(i.startsOn,false):"",i.expiresOn?(0,ne.truncatedISO8061Date)(i.expiresOn,false):"",getCanonicalName(d.accountName,i.containerName,i.blobName),i.identifier,i.ipRange?(0,ee.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",i.version,p,K,i.cacheControl?i.cacheControl:"",i.contentDisposition?i.contentDisposition:"",i.contentEncoding?i.contentEncoding:"",i.contentLanguage?i.contentLanguage:"",i.contentType?i.contentType:""].join("\n");const se=d.computeHMACSHA256(ie);return{sasQueryParameters:new te.SASQueryParameters(i.version,se,re,undefined,undefined,i.protocol,i.startsOn,i.expiresOn,i.ipRange,i.identifier,p,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType),stringToSign:ie}}function generateBlobSASQueryParameters20201206(i,d){i=SASSignatureValuesSanityCheckAndAutofill(i);if(!i.identifier&&!(i.permissions&&i.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}let p="c";let K=i.snapshotTime;if(i.blobName){p="b";if(i.snapshotTime){p="bs"}else if(i.versionId){p="bv";K=i.versionId}}let re;if(i.permissions){if(i.blobName){re=v.BlobSASPermissions.parse(i.permissions.toString()).toString()}else{re=V.ContainerSASPermissions.parse(i.permissions.toString()).toString()}}const ie=[re?re:"",i.startsOn?(0,ne.truncatedISO8061Date)(i.startsOn,false):"",i.expiresOn?(0,ne.truncatedISO8061Date)(i.expiresOn,false):"",getCanonicalName(d.accountName,i.containerName,i.blobName),i.identifier,i.ipRange?(0,ee.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",i.version,p,K,i.encryptionScope,i.cacheControl?i.cacheControl:"",i.contentDisposition?i.contentDisposition:"",i.contentEncoding?i.contentEncoding:"",i.contentLanguage?i.contentLanguage:"",i.contentType?i.contentType:""].join("\n");const se=d.computeHMACSHA256(ie);return{sasQueryParameters:new te.SASQueryParameters(i.version,se,re,undefined,undefined,i.protocol,i.startsOn,i.expiresOn,i.ipRange,i.identifier,p,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType,undefined,undefined,undefined,i.encryptionScope),stringToSign:ie}}function generateBlobSASQueryParametersUDK20181109(i,d){i=SASSignatureValuesSanityCheckAndAutofill(i);if(!i.permissions||!i.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let p="c";let K=i.snapshotTime;if(i.blobName){p="b";if(i.snapshotTime){p="bs"}else if(i.versionId){p="bv";K=i.versionId}}let re;if(i.permissions){if(i.blobName){re=v.BlobSASPermissions.parse(i.permissions.toString()).toString()}else{re=V.ContainerSASPermissions.parse(i.permissions.toString()).toString()}}const ie=[re?re:"",i.startsOn?(0,ne.truncatedISO8061Date)(i.startsOn,false):"",i.expiresOn?(0,ne.truncatedISO8061Date)(i.expiresOn,false):"",getCanonicalName(d.accountName,i.containerName,i.blobName),d.userDelegationKey.signedObjectId,d.userDelegationKey.signedTenantId,d.userDelegationKey.signedStartsOn?(0,ne.truncatedISO8061Date)(d.userDelegationKey.signedStartsOn,false):"",d.userDelegationKey.signedExpiresOn?(0,ne.truncatedISO8061Date)(d.userDelegationKey.signedExpiresOn,false):"",d.userDelegationKey.signedService,d.userDelegationKey.signedVersion,i.ipRange?(0,ee.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",i.version,p,K,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType].join("\n");const se=d.computeHMACSHA256(ie);return{sasQueryParameters:new te.SASQueryParameters(i.version,se,re,undefined,undefined,i.protocol,i.startsOn,i.expiresOn,i.ipRange,i.identifier,p,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType,d.userDelegationKey),stringToSign:ie}}function generateBlobSASQueryParametersUDK20200210(i,d){i=SASSignatureValuesSanityCheckAndAutofill(i);if(!i.permissions||!i.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let p="c";let K=i.snapshotTime;if(i.blobName){p="b";if(i.snapshotTime){p="bs"}else if(i.versionId){p="bv";K=i.versionId}}let re;if(i.permissions){if(i.blobName){re=v.BlobSASPermissions.parse(i.permissions.toString()).toString()}else{re=V.ContainerSASPermissions.parse(i.permissions.toString()).toString()}}const ie=[re?re:"",i.startsOn?(0,ne.truncatedISO8061Date)(i.startsOn,false):"",i.expiresOn?(0,ne.truncatedISO8061Date)(i.expiresOn,false):"",getCanonicalName(d.accountName,i.containerName,i.blobName),d.userDelegationKey.signedObjectId,d.userDelegationKey.signedTenantId,d.userDelegationKey.signedStartsOn?(0,ne.truncatedISO8061Date)(d.userDelegationKey.signedStartsOn,false):"",d.userDelegationKey.signedExpiresOn?(0,ne.truncatedISO8061Date)(d.userDelegationKey.signedExpiresOn,false):"",d.userDelegationKey.signedService,d.userDelegationKey.signedVersion,i.preauthorizedAgentObjectId,undefined,i.correlationId,i.ipRange?(0,ee.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",i.version,p,K,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType].join("\n");const se=d.computeHMACSHA256(ie);return{sasQueryParameters:new te.SASQueryParameters(i.version,se,re,undefined,undefined,i.protocol,i.startsOn,i.expiresOn,i.ipRange,i.identifier,p,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType,d.userDelegationKey,i.preauthorizedAgentObjectId,i.correlationId),stringToSign:ie}}function generateBlobSASQueryParametersUDK20201206(i,d){i=SASSignatureValuesSanityCheckAndAutofill(i);if(!i.permissions||!i.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let p="c";let K=i.snapshotTime;if(i.blobName){p="b";if(i.snapshotTime){p="bs"}else if(i.versionId){p="bv";K=i.versionId}}let re;if(i.permissions){if(i.blobName){re=v.BlobSASPermissions.parse(i.permissions.toString()).toString()}else{re=V.ContainerSASPermissions.parse(i.permissions.toString()).toString()}}const ie=[re?re:"",i.startsOn?(0,ne.truncatedISO8061Date)(i.startsOn,false):"",i.expiresOn?(0,ne.truncatedISO8061Date)(i.expiresOn,false):"",getCanonicalName(d.accountName,i.containerName,i.blobName),d.userDelegationKey.signedObjectId,d.userDelegationKey.signedTenantId,d.userDelegationKey.signedStartsOn?(0,ne.truncatedISO8061Date)(d.userDelegationKey.signedStartsOn,false):"",d.userDelegationKey.signedExpiresOn?(0,ne.truncatedISO8061Date)(d.userDelegationKey.signedExpiresOn,false):"",d.userDelegationKey.signedService,d.userDelegationKey.signedVersion,i.preauthorizedAgentObjectId,undefined,i.correlationId,i.ipRange?(0,ee.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",i.version,p,K,i.encryptionScope,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType].join("\n");const se=d.computeHMACSHA256(ie);return{sasQueryParameters:new te.SASQueryParameters(i.version,se,re,undefined,undefined,i.protocol,i.startsOn,i.expiresOn,i.ipRange,i.identifier,p,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType,d.userDelegationKey,i.preauthorizedAgentObjectId,i.correlationId,i.encryptionScope),stringToSign:ie}}function generateBlobSASQueryParametersUDK20250705(i,d){i=SASSignatureValuesSanityCheckAndAutofill(i);if(!i.permissions||!i.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let p="c";let K=i.snapshotTime;if(i.blobName){p="b";if(i.snapshotTime){p="bs"}else if(i.versionId){p="bv";K=i.versionId}}let re;if(i.permissions){if(i.blobName){re=v.BlobSASPermissions.parse(i.permissions.toString()).toString()}else{re=V.ContainerSASPermissions.parse(i.permissions.toString()).toString()}}const ie=[re?re:"",i.startsOn?(0,ne.truncatedISO8061Date)(i.startsOn,false):"",i.expiresOn?(0,ne.truncatedISO8061Date)(i.expiresOn,false):"",getCanonicalName(d.accountName,i.containerName,i.blobName),d.userDelegationKey.signedObjectId,d.userDelegationKey.signedTenantId,d.userDelegationKey.signedStartsOn?(0,ne.truncatedISO8061Date)(d.userDelegationKey.signedStartsOn,false):"",d.userDelegationKey.signedExpiresOn?(0,ne.truncatedISO8061Date)(d.userDelegationKey.signedExpiresOn,false):"",d.userDelegationKey.signedService,d.userDelegationKey.signedVersion,i.preauthorizedAgentObjectId,undefined,i.correlationId,undefined,i.delegatedUserObjectId,i.ipRange?(0,ee.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",i.version,p,K,i.encryptionScope,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType].join("\n");const se=d.computeHMACSHA256(ie);return{sasQueryParameters:new te.SASQueryParameters(i.version,se,re,undefined,undefined,i.protocol,i.startsOn,i.expiresOn,i.ipRange,i.identifier,p,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType,d.userDelegationKey,i.preauthorizedAgentObjectId,i.correlationId,i.encryptionScope,i.delegatedUserObjectId),stringToSign:ie}}function getCanonicalName(i,d,p){const v=[`/blob/${i}/${d}`];if(p){v.push(`/${p}`)}return v.join("")}function SASSignatureValuesSanityCheckAndAutofill(i){const d=i.version?i.version:re.SERVICE_VERSION;if(i.snapshotTime&&d<"2018-11-09"){throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.")}if(i.blobName===undefined&&i.snapshotTime){throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.")}if(i.versionId&&d<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.")}if(i.blobName===undefined&&i.versionId){throw RangeError("Must provide 'blobName' when providing 'versionId'.")}if(i.permissions&&i.permissions.setImmutabilityPolicy&&d<"2020-08-04"){throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.")}if(i.permissions&&i.permissions.deleteVersion&&d<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.")}if(i.permissions&&i.permissions.permanentDelete&&d<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.")}if(i.permissions&&i.permissions.tag&&d<"2019-12-12"){throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.")}if(d<"2020-02-10"&&i.permissions&&(i.permissions.move||i.permissions.execute)){throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.")}if(d<"2021-04-10"&&i.permissions&&i.permissions.filterByTags){throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.")}if(d<"2020-02-10"&&(i.preauthorizedAgentObjectId||i.correlationId)){throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.")}if(i.encryptionScope&&d<"2020-12-06"){throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.")}i.version=d;return i}},51622:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.ContainerSASPermissions=void 0;class ContainerSASPermissions{static parse(i){const d=new ContainerSASPermissions;for(const p of i){switch(p){case"r":d.read=true;break;case"a":d.add=true;break;case"c":d.create=true;break;case"w":d.write=true;break;case"d":d.delete=true;break;case"l":d.list=true;break;case"t":d.tag=true;break;case"x":d.deleteVersion=true;break;case"m":d.move=true;break;case"e":d.execute=true;break;case"i":d.setImmutabilityPolicy=true;break;case"y":d.permanentDelete=true;break;case"f":d.filterByTags=true;break;default:throw new RangeError(`Invalid permission ${p}`)}}return d}static from(i){const d=new ContainerSASPermissions;if(i.read){d.read=true}if(i.add){d.add=true}if(i.create){d.create=true}if(i.write){d.write=true}if(i.delete){d.delete=true}if(i.list){d.list=true}if(i.deleteVersion){d.deleteVersion=true}if(i.tag){d.tag=true}if(i.move){d.move=true}if(i.execute){d.execute=true}if(i.setImmutabilityPolicy){d.setImmutabilityPolicy=true}if(i.permanentDelete){d.permanentDelete=true}if(i.filterByTags){d.filterByTags=true}return d}read=false;add=false;create=false;write=false;delete=false;deleteVersion=false;list=false;tag=false;move=false;execute=false;setImmutabilityPolicy=false;permanentDelete=false;filterByTags=false;toString(){const i=[];if(this.read){i.push("r")}if(this.add){i.push("a")}if(this.create){i.push("c")}if(this.write){i.push("w")}if(this.delete){i.push("d")}if(this.deleteVersion){i.push("x")}if(this.list){i.push("l")}if(this.tag){i.push("t")}if(this.move){i.push("m")}if(this.execute){i.push("e")}if(this.setImmutabilityPolicy){i.push("i")}if(this.permanentDelete){i.push("y")}if(this.filterByTags){i.push("f")}return i.join("")}}d.ContainerSASPermissions=ContainerSASPermissions},26823:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.SASQueryParameters=d.SASProtocol=void 0;const v=p(2977);const V=p(47764);var K;(function(i){i["Https"]="https";i["HttpsAndHttp"]="https,http"})(K||(d.SASProtocol=K={}));class SASQueryParameters{version;protocol;startsOn;expiresOn;permissions;services;resourceTypes;identifier;delegatedUserObjectId;encryptionScope;resource;signature;cacheControl;contentDisposition;contentEncoding;contentLanguage;contentType;ipRangeInner;signedOid;signedTenantId;signedStartsOn;signedExpiresOn;signedService;signedVersion;preauthorizedAgentObjectId;correlationId;get ipRange(){if(this.ipRangeInner){return{end:this.ipRangeInner.end,start:this.ipRangeInner.start}}return undefined}constructor(i,d,p,v,V,K,ee,te,re,ne,ie,se,oe,ae,ce,le,ue,Ae,de,pe,fe){this.version=i;this.signature=d;if(p!==undefined&&typeof p!=="string"){this.permissions=p.permissions;this.services=p.services;this.resourceTypes=p.resourceTypes;this.protocol=p.protocol;this.startsOn=p.startsOn;this.expiresOn=p.expiresOn;this.ipRangeInner=p.ipRange;this.identifier=p.identifier;this.delegatedUserObjectId=p.delegatedUserObjectId;this.encryptionScope=p.encryptionScope;this.resource=p.resource;this.cacheControl=p.cacheControl;this.contentDisposition=p.contentDisposition;this.contentEncoding=p.contentEncoding;this.contentLanguage=p.contentLanguage;this.contentType=p.contentType;if(p.userDelegationKey){this.signedOid=p.userDelegationKey.signedObjectId;this.signedTenantId=p.userDelegationKey.signedTenantId;this.signedStartsOn=p.userDelegationKey.signedStartsOn;this.signedExpiresOn=p.userDelegationKey.signedExpiresOn;this.signedService=p.userDelegationKey.signedService;this.signedVersion=p.userDelegationKey.signedVersion;this.preauthorizedAgentObjectId=p.preauthorizedAgentObjectId;this.correlationId=p.correlationId}}else{this.services=v;this.resourceTypes=V;this.expiresOn=te;this.permissions=p;this.protocol=K;this.startsOn=ee;this.ipRangeInner=re;this.delegatedUserObjectId=fe;this.encryptionScope=pe;this.identifier=ne;this.resource=ie;this.cacheControl=se;this.contentDisposition=oe;this.contentEncoding=ae;this.contentLanguage=ce;this.contentType=le;if(ue){this.signedOid=ue.signedObjectId;this.signedTenantId=ue.signedTenantId;this.signedStartsOn=ue.signedStartsOn;this.signedExpiresOn=ue.signedExpiresOn;this.signedService=ue.signedService;this.signedVersion=ue.signedVersion;this.preauthorizedAgentObjectId=Ae;this.correlationId=de}}}toString(){const i=["sv","ss","srt","spr","st","se","sip","si","ses","skoid","sktid","skt","ske","sks","skv","sr","sp","sig","rscc","rscd","rsce","rscl","rsct","saoid","scid","sduoid"];const d=[];for(const p of i){switch(p){case"sv":this.tryAppendQueryParameter(d,p,this.version);break;case"ss":this.tryAppendQueryParameter(d,p,this.services);break;case"srt":this.tryAppendQueryParameter(d,p,this.resourceTypes);break;case"spr":this.tryAppendQueryParameter(d,p,this.protocol);break;case"st":this.tryAppendQueryParameter(d,p,this.startsOn?(0,V.truncatedISO8061Date)(this.startsOn,false):undefined);break;case"se":this.tryAppendQueryParameter(d,p,this.expiresOn?(0,V.truncatedISO8061Date)(this.expiresOn,false):undefined);break;case"sip":this.tryAppendQueryParameter(d,p,this.ipRange?(0,v.ipRangeToString)(this.ipRange):undefined);break;case"si":this.tryAppendQueryParameter(d,p,this.identifier);break;case"ses":this.tryAppendQueryParameter(d,p,this.encryptionScope);break;case"skoid":this.tryAppendQueryParameter(d,p,this.signedOid);break;case"sktid":this.tryAppendQueryParameter(d,p,this.signedTenantId);break;case"skt":this.tryAppendQueryParameter(d,p,this.signedStartsOn?(0,V.truncatedISO8061Date)(this.signedStartsOn,false):undefined);break;case"ske":this.tryAppendQueryParameter(d,p,this.signedExpiresOn?(0,V.truncatedISO8061Date)(this.signedExpiresOn,false):undefined);break;case"sks":this.tryAppendQueryParameter(d,p,this.signedService);break;case"skv":this.tryAppendQueryParameter(d,p,this.signedVersion);break;case"sr":this.tryAppendQueryParameter(d,p,this.resource);break;case"sp":this.tryAppendQueryParameter(d,p,this.permissions);break;case"sig":this.tryAppendQueryParameter(d,p,this.signature);break;case"rscc":this.tryAppendQueryParameter(d,p,this.cacheControl);break;case"rscd":this.tryAppendQueryParameter(d,p,this.contentDisposition);break;case"rsce":this.tryAppendQueryParameter(d,p,this.contentEncoding);break;case"rscl":this.tryAppendQueryParameter(d,p,this.contentLanguage);break;case"rsct":this.tryAppendQueryParameter(d,p,this.contentType);break;case"saoid":this.tryAppendQueryParameter(d,p,this.preauthorizedAgentObjectId);break;case"scid":this.tryAppendQueryParameter(d,p,this.correlationId);break;case"sduoid":this.tryAppendQueryParameter(d,p,this.delegatedUserObjectId);break}}return d.join("&")}tryAppendQueryParameter(i,d,p){if(!p){return}d=encodeURIComponent(d);p=encodeURIComponent(p);if(d.length>0&&p.length>0){i.push(`${d}=${p}`)}}}d.SASQueryParameters=SASQueryParameters},2977:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.ipRangeToString=ipRangeToString;function ipRangeToString(i){return i.end?`${i.start}-${i.end}`:i.start}},81582:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.Batch=void 0;const v=p(24434);var V;(function(i){i[i["Good"]=0]="Good";i[i["Error"]=1]="Error"})(V||(V={}));class Batch{concurrency;actives=0;completed=0;offset=0;operations=[];state=V.Good;emitter;constructor(i=5){if(i<1){throw new RangeError("concurrency must be larger than 0")}this.concurrency=i;this.emitter=new v.EventEmitter}addOperation(i){this.operations.push((async()=>{try{this.actives++;await i();this.actives--;this.completed++;this.parallelExecute()}catch(i){this.emitter.emit("error",i)}}))}async do(){if(this.operations.length===0){return Promise.resolve()}this.parallelExecute();return new Promise(((i,d)=>{this.emitter.on("finish",i);this.emitter.on("error",(i=>{this.state=V.Error;d(i)}))}))}nextOperation(){if(this.offset=this.operations.length){this.emitter.emit("finish");return}while(this.actives{Object.defineProperty(d,"__esModule",{value:true});d.BlobQuickQueryStream=void 0;const v=p(57075);const V=p(96147);class BlobQuickQueryStream extends v.Readable{source;avroReader;avroIter;avroPaused=true;onProgress;onError;constructor(i,d={}){super();this.source=i;this.onProgress=d.onProgress;this.onError=d.onError;this.avroReader=new V.AvroReader(new V.AvroReadableFromStream(this.source));this.avroIter=this.avroReader.parseObjects({abortSignal:d.abortSignal})}_read(){if(this.avroPaused){this.readInternal().catch((i=>{this.emit("error",i)}))}}async readInternal(){this.avroPaused=false;let i;do{i=await this.avroIter.next();if(i.done){break}const d=i.value;const p=d.$schema;if(typeof p!=="string"){throw Error("Missing schema in avro record.")}switch(p){case"com.microsoft.azure.storage.queryBlobContents.resultData":{const i=d.data;if(i instanceof Uint8Array===false){throw Error("Invalid data in avro result record.")}if(!this.push(Buffer.from(i))){this.avroPaused=true}}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{const i=d.bytesScanned;if(typeof i!=="number"){throw Error("Invalid bytesScanned in avro progress record.")}if(this.onProgress){this.onProgress({loadedBytes:i})}}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){const i=d.totalBytes;if(typeof i!=="number"){throw Error("Invalid totalBytes in avro end record.")}this.onProgress({loadedBytes:i})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){const i=d.fatal;if(typeof i!=="boolean"){throw Error("Invalid fatal in avro error record.")}const p=d.name;if(typeof p!=="string"){throw Error("Invalid name in avro error record.")}const v=d.description;if(typeof v!=="string"){throw Error("Invalid description in avro error record.")}const V=d.position;if(typeof V!=="number"){throw Error("Invalid position in avro error record.")}this.onError({position:V,name:p,isFatal:i,description:v})}break;default:throw Error(`Unknown schema ${p} in avro progress record.`)}}while(!i.done&&!this.avroPaused)}}d.BlobQuickQueryStream=BlobQuickQueryStream},58913:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.Mutex=void 0;var p;(function(i){i[i["LOCKED"]=0]="LOCKED";i[i["UNLOCKED"]=1]="UNLOCKED"})(p||(p={}));class Mutex{static async lock(i){return new Promise((d=>{if(this.keys[i]===undefined||this.keys[i]===p.UNLOCKED){this.keys[i]=p.LOCKED;d()}else{this.onUnlockEvent(i,(()=>{this.keys[i]=p.LOCKED;d()}))}}))}static async unlock(i){return new Promise((d=>{if(this.keys[i]===p.LOCKED){this.emitUnlockEvent(i)}delete this.keys[i];d()}))}static keys={};static listeners={};static onUnlockEvent(i,d){if(this.listeners[i]===undefined){this.listeners[i]=[d]}else{this.listeners[i].push(d)}}static emitUnlockEvent(i){if(this.listeners[i]!==undefined&&this.listeners[i].length>0){const d=this.listeners[i].shift();setImmediate((()=>{d.call(this)}))}}}d.Mutex=Mutex},98684:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.RetriableReadableStream=void 0;const v=p(83134);const V=p(57075);class RetriableReadableStream extends V.Readable{start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(i,d,p,v,V={}){super({highWaterMark:V.highWaterMark});this.getter=d;this.source=i;this.start=p;this.offset=p;this.end=p+v-1;this.maxRetryRequests=V.maxRetryRequests&&V.maxRetryRequests>=0?V.maxRetryRequests:0;this.onProgress=V.onProgress;this.options=V;this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler);this.source.on("end",this.sourceErrorOrEndHandler);this.source.on("error",this.sourceErrorOrEndHandler);this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler);this.source.removeListener("end",this.sourceErrorOrEndHandler);this.source.removeListener("error",this.sourceErrorOrEndHandler);this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=i=>{if(this.options.doInjectErrorOnce){this.options.doInjectErrorOnce=undefined;this.source.pause();this.sourceErrorOrEndHandler();this.source.destroy();return}this.offset+=i.length;if(this.onProgress){this.onProgress({loadedBytes:this.offset-this.start})}if(!this.push(i)){this.source.pause()}};sourceAbortedHandler=()=>{const i=new v.AbortError("The operation was aborted.");this.destroy(i)};sourceErrorOrEndHandler=i=>{if(i&&i.name==="AbortError"){this.destroy(i);return}this.removeSourceEventHandlers();if(this.offset-1===this.end){this.push(null)}else if(this.offset<=this.end){if(this.retries{this.source=i;this.setSourceEventHandlers();return})).catch((i=>{this.destroy(i)}))}else{this.destroy(new Error(`Data corruption failure: received less data than required and reached maxRetires limitation. Received data offset: ${this.offset-1}, data needed offset: ${this.end}, retries: ${this.retries}, max retries: ${this.maxRetryRequests}`))}}else{this.destroy(new Error(`Data corruption failure: Received more data than original request, data needed offset is ${this.end}, received offset: ${this.offset-1}`))}};_destroy(i,d){this.removeSourceEventHandlers();this.source.destroy();d(i===null?undefined:i)}}d.RetriableReadableStream=RetriableReadableStream},27323:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.PathStylePorts=d.BlobDoesNotUseCustomerSpecifiedEncryption=d.BlobUsesCustomerSpecifiedEncryptionMsg=d.StorageBlobLoggingAllowedQueryParameters=d.StorageBlobLoggingAllowedHeaderNames=d.DevelopmentConnectionString=d.EncryptionAlgorithmAES25=d.HTTP_VERSION_1_1=d.HTTP_LINE_ENDING=d.BATCH_MAX_PAYLOAD_IN_BYTES=d.BATCH_MAX_REQUEST=d.SIZE_1_MB=d.ETagAny=d.ETagNone=d.HeaderConstants=d.HTTPURLConnection=d.URLConstants=d.StorageOAuthScopes=d.REQUEST_TIMEOUT=d.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS=d.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES=d.DEFAULT_BLOCK_BUFFER_SIZE_BYTES=d.BLOCK_BLOB_MAX_BLOCKS=d.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES=d.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES=d.SERVICE_VERSION=d.SDK_VERSION=void 0;d.SDK_VERSION="12.30.0";d.SERVICE_VERSION="2026-02-06";d.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES=256*1024*1024;d.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES=4e3*1024*1024;d.BLOCK_BLOB_MAX_BLOCKS=5e4;d.DEFAULT_BLOCK_BUFFER_SIZE_BYTES=8*1024*1024;d.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES=4*1024*1024;d.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS=5;d.REQUEST_TIMEOUT=100*1e3;d.StorageOAuthScopes="https://storage.azure.com/.default";d.URLConstants={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};d.HTTPURLConnection={HTTP_ACCEPTED:202,HTTP_CONFLICT:409,HTTP_NOT_FOUND:404,HTTP_PRECON_FAILED:412,HTTP_RANGE_NOT_SATISFIABLE:416};d.HeaderConstants={AUTHORIZATION:"Authorization",AUTHORIZATION_SCHEME:"Bearer",CONTENT_ENCODING:"Content-Encoding",CONTENT_ID:"Content-ID",CONTENT_LANGUAGE:"Content-Language",CONTENT_LENGTH:"Content-Length",CONTENT_MD5:"Content-Md5",CONTENT_TRANSFER_ENCODING:"Content-Transfer-Encoding",CONTENT_TYPE:"Content-Type",COOKIE:"Cookie",DATE:"date",IF_MATCH:"if-match",IF_MODIFIED_SINCE:"if-modified-since",IF_NONE_MATCH:"if-none-match",IF_UNMODIFIED_SINCE:"if-unmodified-since",PREFIX_FOR_STORAGE:"x-ms-",RANGE:"Range",USER_AGENT:"User-Agent",X_MS_CLIENT_REQUEST_ID:"x-ms-client-request-id",X_MS_COPY_SOURCE:"x-ms-copy-source",X_MS_DATE:"x-ms-date",X_MS_ERROR_CODE:"x-ms-error-code",X_MS_VERSION:"x-ms-version",X_MS_CopySourceErrorCode:"x-ms-copy-source-error-code"};d.ETagNone="";d.ETagAny="*";d.SIZE_1_MB=1*1024*1024;d.BATCH_MAX_REQUEST=256;d.BATCH_MAX_PAYLOAD_IN_BYTES=4*d.SIZE_1_MB;d.HTTP_LINE_ENDING="\r\n";d.HTTP_VERSION_1_1="HTTP/1.1";d.EncryptionAlgorithmAES25="AES256";d.DevelopmentConnectionString=`DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;`;d.StorageBlobLoggingAllowedHeaderNames=["Access-Control-Allow-Origin","Cache-Control","Content-Length","Content-Type","Date","Request-Id","traceparent","Transfer-Encoding","User-Agent","x-ms-client-request-id","x-ms-date","x-ms-error-code","x-ms-request-id","x-ms-return-client-request-id","x-ms-version","Accept-Ranges","Content-Disposition","Content-Encoding","Content-Language","Content-MD5","Content-Range","ETag","Last-Modified","Server","Vary","x-ms-content-crc64","x-ms-copy-action","x-ms-copy-completion-time","x-ms-copy-id","x-ms-copy-progress","x-ms-copy-status","x-ms-has-immutability-policy","x-ms-has-legal-hold","x-ms-lease-state","x-ms-lease-status","x-ms-range","x-ms-request-server-encrypted","x-ms-server-encrypted","x-ms-snapshot","x-ms-source-range","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","x-ms-access-tier","x-ms-access-tier-change-time","x-ms-access-tier-inferred","x-ms-account-kind","x-ms-archive-status","x-ms-blob-append-offset","x-ms-blob-cache-control","x-ms-blob-committed-block-count","x-ms-blob-condition-appendpos","x-ms-blob-condition-maxsize","x-ms-blob-content-disposition","x-ms-blob-content-encoding","x-ms-blob-content-language","x-ms-blob-content-length","x-ms-blob-content-md5","x-ms-blob-content-type","x-ms-blob-public-access","x-ms-blob-sequence-number","x-ms-blob-type","x-ms-copy-destination-snapshot","x-ms-creation-time","x-ms-default-encryption-scope","x-ms-delete-snapshots","x-ms-delete-type-permanent","x-ms-deny-encryption-scope-override","x-ms-encryption-algorithm","x-ms-if-sequence-number-eq","x-ms-if-sequence-number-le","x-ms-if-sequence-number-lt","x-ms-incremental-copy","x-ms-lease-action","x-ms-lease-break-period","x-ms-lease-duration","x-ms-lease-id","x-ms-lease-time","x-ms-page-write","x-ms-proposed-lease-id","x-ms-range-get-content-md5","x-ms-rehydrate-priority","x-ms-sequence-number-action","x-ms-sku-name","x-ms-source-content-md5","x-ms-source-if-match","x-ms-source-if-modified-since","x-ms-source-if-none-match","x-ms-source-if-unmodified-since","x-ms-tag-count","x-ms-encryption-key-sha256","x-ms-copy-source-error-code","x-ms-copy-source-status-code","x-ms-if-tags","x-ms-source-if-tags"];d.StorageBlobLoggingAllowedQueryParameters=["comp","maxresults","rscc","rscd","rsce","rscl","rsct","se","si","sip","sp","spr","sr","srt","ss","st","sv","include","marker","prefix","copyid","restype","blockid","blocklisttype","delimiter","prevsnapshot","ske","skoid","sks","skt","sktid","skv","snapshot"];d.BlobUsesCustomerSpecifiedEncryptionMsg="BlobUsesCustomerSpecifiedEncryption";d.BlobDoesNotUseCustomerSpecifiedEncryption="BlobDoesNotUseCustomerSpecifiedEncryption";d.PathStylePorts=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"]},53952:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.tracingClient=void 0;const v=p(20623);const V=p(27323);d.tracingClient=(0,v.createTracingClient)({packageName:"@azure/storage-blob",packageVersion:V.SDK_VERSION,namespace:"Microsoft.Storage"})},47764:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.escapeURLPath=escapeURLPath;d.getValueInConnString=getValueInConnString;d.extractConnectionStringParts=extractConnectionStringParts;d.appendToURLPath=appendToURLPath;d.setURLParameter=setURLParameter;d.getURLParameter=getURLParameter;d.setURLHost=setURLHost;d.getURLPath=getURLPath;d.getURLScheme=getURLScheme;d.getURLPathAndQuery=getURLPathAndQuery;d.getURLQueries=getURLQueries;d.appendToURLQuery=appendToURLQuery;d.truncatedISO8061Date=truncatedISO8061Date;d.base64encode=base64encode;d.base64decode=base64decode;d.generateBlockID=generateBlockID;d.delay=delay;d.padStart=padStart;d.sanitizeURL=sanitizeURL;d.sanitizeHeaders=sanitizeHeaders;d.iEqual=iEqual;d.getAccountNameFromUrl=getAccountNameFromUrl;d.isIpEndpointStyle=isIpEndpointStyle;d.toBlobTagsString=toBlobTagsString;d.toBlobTags=toBlobTags;d.toTags=toTags;d.toQuerySerialization=toQuerySerialization;d.parseObjectReplicationRecord=parseObjectReplicationRecord;d.attachCredential=attachCredential;d.httpAuthorizationToString=httpAuthorizationToString;d.BlobNameToString=BlobNameToString;d.ConvertInternalResponseOfListBlobFlat=ConvertInternalResponseOfListBlobFlat;d.ConvertInternalResponseOfListBlobHierarchy=ConvertInternalResponseOfListBlobHierarchy;d.ExtractPageRangeInfoItems=ExtractPageRangeInfoItems;d.EscapePath=EscapePath;d.assertResponse=assertResponse;const v=p(20778);const V=p(87779);const K=p(27323);function escapeURLPath(i){const d=new URL(i);let p=d.pathname;p=p||"/";p=escape(p);d.pathname=p;return d.toString()}function getProxyUriFromDevConnString(i){let d="";if(i.search("DevelopmentStorageProxyUri=")!==-1){const p=i.split(";");for(const i of p){if(i.trim().startsWith("DevelopmentStorageProxyUri=")){d=i.trim().match("DevelopmentStorageProxyUri=(.*)")[1]}}}return d}function getValueInConnString(i,d){const p=i.split(";");for(const i of p){if(i.trim().startsWith(d)){return i.trim().match(d+"=(.*)")[1]}}return""}function extractConnectionStringParts(i){let d="";if(i.startsWith("UseDevelopmentStorage=true")){d=getProxyUriFromDevConnString(i);i=K.DevelopmentConnectionString}let p=getValueInConnString(i,"BlobEndpoint");p=p.endsWith("/")?p.slice(0,-1):p;if(i.search("DefaultEndpointsProtocol=")!==-1&&i.search("AccountKey=")!==-1){let v="";let V="";let K=Buffer.from("accountKey","base64");let ee="";V=getValueInConnString(i,"AccountName");K=Buffer.from(getValueInConnString(i,"AccountKey"),"base64");if(!p){v=getValueInConnString(i,"DefaultEndpointsProtocol");const d=v.toLowerCase();if(d!=="https"&&d!=="http"){throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'")}ee=getValueInConnString(i,"EndpointSuffix");if(!ee){throw new Error("Invalid EndpointSuffix in the provided Connection String")}p=`${v}://${V}.blob.${ee}`}if(!V){throw new Error("Invalid AccountName in the provided Connection String")}else if(K.length===0){throw new Error("Invalid AccountKey in the provided Connection String")}return{kind:"AccountConnString",url:p,accountName:V,accountKey:K,proxyUri:d}}else{let d=getValueInConnString(i,"SharedAccessSignature");let v=getValueInConnString(i,"AccountName");if(!v){v=getAccountNameFromUrl(p)}if(!p){throw new Error("Invalid BlobEndpoint in the provided SAS Connection String")}else if(!d){throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}if(d.startsWith("?")){d=d.substring(1)}return{kind:"SASConnString",url:p,accountName:v,accountSas:d}}}function escape(i){return encodeURIComponent(i).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}function appendToURLPath(i,d){const p=new URL(i);let v=p.pathname;v=v?v.endsWith("/")?`${v}${d}`:`${v}/${d}`:d;p.pathname=v;return p.toString()}function setURLParameter(i,d,p){const v=new URL(i);const V=encodeURIComponent(d);const K=p?encodeURIComponent(p):undefined;const ee=v.search===""?"?":v.search;const te=[];for(const i of ee.slice(1).split("&")){if(i){const[d]=i.split("=",2);if(d!==V){te.push(i)}}}if(K){te.push(`${V}=${K}`)}v.search=te.length?`?${te.join("&")}`:"";return v.toString()}function getURLParameter(i,d){const p=new URL(i);return p.searchParams.get(d)??undefined}function setURLHost(i,d){const p=new URL(i);p.hostname=d;return p.toString()}function getURLPath(i){try{const d=new URL(i);return d.pathname}catch(i){return undefined}}function getURLScheme(i){try{const d=new URL(i);return d.protocol.endsWith(":")?d.protocol.slice(0,-1):d.protocol}catch(i){return undefined}}function getURLPathAndQuery(i){const d=new URL(i);const p=d.pathname;if(!p){throw new RangeError("Invalid url without valid path.")}let v=d.search||"";v=v.trim();if(v!==""){v=v.startsWith("?")?v:`?${v}`}return`${p}${v}`}function getURLQueries(i){let d=new URL(i).search;if(!d){return{}}d=d.trim();d=d.startsWith("?")?d.substring(1):d;let p=d.split("&");p=p.filter((i=>{const d=i.indexOf("=");const p=i.lastIndexOf("=");return d>0&&d===p&&pV){i=i.slice(0,V)}const K=i+padStart(d.toString(),p-i.length,"0");return base64encode(K)}async function delay(i,d,p){return new Promise(((v,V)=>{let K;const abortHandler=()=>{if(K!==undefined){clearTimeout(K)}V(p)};const resolveHandler=()=>{if(d!==undefined){d.removeEventListener("abort",abortHandler)}v()};K=setTimeout(resolveHandler,i);if(d!==undefined){d.addEventListener("abort",abortHandler)}}))}function padStart(i,d,p=" "){if(String.prototype.padStart){return i.padStart(d,p)}p=p||" ";if(i.length>d){return i}else{d=d-i.length;if(d>p.length){p+=p.repeat(d/p.length)}return p.slice(0,d)+i}}function sanitizeURL(i){let d=i;if(getURLParameter(d,K.URLConstants.Parameters.SIGNATURE)){d=setURLParameter(d,K.URLConstants.Parameters.SIGNATURE,"*****")}return d}function sanitizeHeaders(i){const d=(0,v.createHttpHeaders)();for(const[p,v]of i){if(p.toLowerCase()===K.HeaderConstants.AUTHORIZATION.toLowerCase()){d.set(p,"*****")}else if(p.toLowerCase()===K.HeaderConstants.X_MS_COPY_SOURCE){d.set(p,sanitizeURL(v))}else{d.set(p,v)}}return d}function iEqual(i,d){return i.toLocaleLowerCase()===d.toLocaleLowerCase()}function getAccountNameFromUrl(i){const d=new URL(i);let p;try{if(d.hostname.split(".")[1]==="blob"){p=d.hostname.split(".")[0]}else if(isIpEndpointStyle(d)){p=d.pathname.split("/")[1]}else{p=""}return p}catch(i){throw new Error("Unable to extract accountName with provided information.")}}function isIpEndpointStyle(i){const d=i.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(d)||Boolean(i.port)&&K.PathStylePorts.includes(i.port)}function toBlobTagsString(i){if(i===undefined){return undefined}const d=[];for(const p in i){if(Object.prototype.hasOwnProperty.call(i,p)){const v=i[p];d.push(`${encodeURIComponent(p)}=${encodeURIComponent(v)}`)}}return d.join("&")}function toBlobTags(i){if(i===undefined){return undefined}const d={blobTagSet:[]};for(const p in i){if(Object.prototype.hasOwnProperty.call(i,p)){const v=i[p];d.blobTagSet.push({key:p,value:v})}}return d}function toTags(i){if(i===undefined){return undefined}const d={};for(const p of i.blobTagSet){d[p.key]=p.value}return d}function toQuerySerialization(i){if(i===undefined){return undefined}switch(i.kind){case"csv":return{format:{type:"delimited",delimitedTextConfiguration:{columnSeparator:i.columnSeparator||",",fieldQuote:i.fieldQuote||"",recordSeparator:i.recordSeparator,escapeChar:i.escapeCharacter||"",headersPresent:i.hasHeaders||false}}};case"json":return{format:{type:"json",jsonTextConfiguration:{recordSeparator:i.recordSeparator}}};case"arrow":return{format:{type:"arrow",arrowConfiguration:{schema:i.schema}}};case"parquet":return{format:{type:"parquet"}};default:throw Error("Invalid BlobQueryTextConfiguration.")}}function parseObjectReplicationRecord(i){if(!i){return undefined}if("policy-id"in i){return undefined}const d=[];for(const p in i){const v=p.split("_");const V="or-";if(v[0].startsWith(V)){v[0]=v[0].substring(V.length)}const K={ruleId:v[1],replicationStatus:i[p]};const ee=d.findIndex((i=>i.policyId===v[0]));if(ee>-1){d[ee].rules.push(K)}else{d.push({policyId:v[0],rules:[K]})}}return d}function attachCredential(i,d){i.credential=d;return i}function httpAuthorizationToString(i){return i?i.scheme+" "+i.value:undefined}function BlobNameToString(i){if(i.encoded){return decodeURIComponent(i.content)}else{return i.content}}function ConvertInternalResponseOfListBlobFlat(i){return{...i,segment:{blobItems:i.segment.blobItems.map((i=>{const d={...i,name:BlobNameToString(i.name)};return d}))}}}function ConvertInternalResponseOfListBlobHierarchy(i){return{...i,segment:{blobPrefixes:i.segment.blobPrefixes?.map((i=>{const d={...i,name:BlobNameToString(i.name)};return d})),blobItems:i.segment.blobItems.map((i=>{const d={...i,name:BlobNameToString(i.name)};return d}))}}}function*ExtractPageRangeInfoItems(i){let d=[];let p=[];if(i.pageRange)d=i.pageRange;if(i.clearRange)p=i.clearRange;let v=0;let V=0;while(v{Object.defineProperty(d,"__esModule",{value:true});d.fsCreateReadStream=d.fsStat=void 0;d.streamToBuffer=streamToBuffer;d.streamToBuffer2=streamToBuffer2;d.streamToBuffer3=streamToBuffer3;d.readStreamToLocalFile=readStreamToLocalFile;const v=p(93849);const V=v.__importDefault(p(73024));const K=v.__importDefault(p(57975));const ee=p(27323);async function streamToBuffer(i,d,p,v,V){let K=0;const te=v-p;return new Promise(((v,re)=>{const ne=setTimeout((()=>re(new Error(`The operation cannot be completed in timeout.`))),ee.REQUEST_TIMEOUT);i.on("readable",(()=>{if(K>=te){clearTimeout(ne);v();return}let ee=i.read();if(!ee){return}if(typeof ee==="string"){ee=Buffer.from(ee,V)}const re=K+ee.length>te?te-K:ee.length;d.fill(ee.slice(0,re),p+K,p+K+re);K+=re}));i.on("end",(()=>{clearTimeout(ne);if(K{clearTimeout(ne);re(i)}))}))}async function streamToBuffer2(i,d,p){let v=0;const V=d.length;return new Promise(((K,ee)=>{i.on("readable",(()=>{let K=i.read();if(!K){return}if(typeof K==="string"){K=Buffer.from(K,p)}if(v+K.length>V){ee(new Error(`Stream exceeds buffer size. Buffer size: ${V}`));return}d.fill(K,v,v+K.length);v+=K.length}));i.on("end",(()=>{K(v)}));i.on("error",ee)}))}async function streamToBuffer3(i,d){return new Promise(((p,v)=>{const V=[];i.on("data",(i=>{V.push(typeof i==="string"?Buffer.from(i,d):i)}));i.on("end",(()=>{p(Buffer.concat(V))}));i.on("error",v)}))}async function readStreamToLocalFile(i,d){return new Promise(((p,v)=>{const K=V.default.createWriteStream(d);i.on("error",(i=>{v(i)}));K.on("error",(i=>{v(i)}));K.on("close",p);i.pipe(K)}))}d.fsStat=K.default.promisify(V.default.stat);d.fsCreateReadStream=V.default.createReadStream},86381:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BufferScheduler=void 0;const v=p(24434);const V=p(52121);class BufferScheduler{bufferSize;maxBuffers;readable;outgoingHandler;emitter=new v.EventEmitter;concurrency;offset=0;isStreamEnd=false;isError=false;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(i,d,p,v,V,K){if(d<=0){throw new RangeError(`bufferSize must be larger than 0, current is ${d}`)}if(p<=0){throw new RangeError(`maxBuffers must be larger than 0, current is ${p}`)}if(V<=0){throw new RangeError(`concurrency must be larger than 0, current is ${V}`)}this.bufferSize=d;this.maxBuffers=p;this.readable=i;this.outgoingHandler=v;this.concurrency=V;this.encoding=K}async do(){return new Promise(((i,d)=>{this.readable.on("data",(i=>{i=typeof i==="string"?Buffer.from(i,this.encoding):i;this.appendUnresolvedData(i);if(!this.resolveData()){this.readable.pause()}}));this.readable.on("error",(i=>{this.emitter.emit("error",i)}));this.readable.on("end",(()=>{this.isStreamEnd=true;this.emitter.emit("checkEnd")}));this.emitter.on("error",(i=>{this.isError=true;this.readable.pause();d(i)}));this.emitter.on("checkEnd",(()=>{if(this.outgoing.length>0){this.triggerOutgoingHandlers();return}if(this.isStreamEnd&&this.executingOutgoingHandlers===0){if(this.unresolvedLength>0&&this.unresolvedLengthp.getReadableStream()),p.size,this.offset).then(i).catch(d)}else if(this.unresolvedLength>=this.bufferSize){return}else{i()}}}))}))}appendUnresolvedData(i){this.unresolvedDataArray.push(i);this.unresolvedLength+=i.length}shiftBufferFromUnresolvedDataArray(i){if(!i){i=new V.PooledBuffer(this.bufferSize,this.unresolvedDataArray,this.unresolvedLength)}else{i.fill(this.unresolvedDataArray,this.unresolvedLength)}this.unresolvedLength-=i.size;return i}resolveData(){while(this.unresolvedLength>=this.bufferSize){let i;if(this.incoming.length>0){i=this.incoming.shift();this.shiftBufferFromUnresolvedDataArray(i)}else{if(this.numBuffers=this.concurrency){return}i=this.outgoing.shift();if(i){this.triggerOutgoingHandler(i)}}while(i)}async triggerOutgoingHandler(i){const d=i.size;this.executingOutgoingHandlers++;this.offset+=d;try{await this.outgoingHandler((()=>i.getReadableStream()),d,this.offset-d)}catch(i){this.emitter.emit("error",i);return}this.executingOutgoingHandlers--;this.reuseBuffer(i);this.emitter.emit("checkEnd")}reuseBuffer(i){this.incoming.push(i);if(!this.isError&&this.resolveData()&&!this.isStreamEnd){this.readable.resume()}}}d.BufferScheduler=BufferScheduler},66093:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BuffersStream=void 0;const v=p(57075);class BuffersStream extends v.Readable{buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(i,d,p){super(p);this.buffers=i;this.byteLength=d;this.byteOffsetInCurrentBuffer=0;this.bufferIndex=0;this.pushedBytesLength=0;let v=0;for(const i of this.buffers){v+=i.byteLength}if(v=this.byteLength){this.push(null)}if(!i){i=this.readableHighWaterMark}const d=[];let p=0;while(pi-p){const v=this.byteOffsetInCurrentBuffer+i-p;d.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,v));this.pushedBytesLength+=i-p;this.byteOffsetInCurrentBuffer=v;p=i;break}else{const i=this.byteOffsetInCurrentBuffer+K;d.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,i));if(K===V){this.byteOffsetInCurrentBuffer=0;this.bufferIndex++}else{this.byteOffsetInCurrentBuffer=i}this.pushedBytesLength+=K;p+=K}}if(d.length>1){this.push(Buffer.concat(d))}else if(d.length===1){this.push(d[0])}}}d.BuffersStream=BuffersStream},52121:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.PooledBuffer=void 0;const v=p(59199);const V=p(66093);const K=v.__importDefault(p(4573));const ee=K.default.constants.MAX_LENGTH;class PooledBuffer{buffers=[];capacity;_size;get size(){return this._size}constructor(i,d,p){this.capacity=i;this._size=0;const v=Math.ceil(i/ee);for(let d=0;d0){i[0]=i[0].slice(K)}}getReadableStream(){return new V.BuffersStream(this.buffers,this.size)}}d.PooledBuffer=PooledBuffer},4399:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageBrowserPolicyFactory=d.StorageBrowserPolicy=void 0;const v=p(22312);Object.defineProperty(d,"StorageBrowserPolicy",{enumerable:true,get:function(){return v.StorageBrowserPolicy}});class StorageBrowserPolicyFactory{create(i,d){return new v.StorageBrowserPolicy(i,d)}}d.StorageBrowserPolicyFactory=StorageBrowserPolicyFactory},77321:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageRetryPolicyFactory=d.StorageRetryPolicy=d.StorageRetryPolicyType=void 0;const v=p(27734);Object.defineProperty(d,"StorageRetryPolicy",{enumerable:true,get:function(){return v.StorageRetryPolicy}});const V=p(38622);Object.defineProperty(d,"StorageRetryPolicyType",{enumerable:true,get:function(){return V.StorageRetryPolicyType}});class StorageRetryPolicyFactory{retryOptions;constructor(i){this.retryOptions=i}create(i,d){return new v.StorageRetryPolicy(i,d,this.retryOptions)}}d.StorageRetryPolicyFactory=StorageRetryPolicyFactory},68376:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getCachedDefaultHttpClient=getCachedDefaultHttpClient;const v=p(20778);let V;function getCachedDefaultHttpClient(){if(!V){V=(0,v.createDefaultHttpClient)()}return V}},32159:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.AnonymousCredential=void 0;const v=p(63611);const V=p(450);class AnonymousCredential extends V.Credential{create(i,d){return new v.AnonymousCredentialPolicy(i,d)}}d.AnonymousCredential=AnonymousCredential},450:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.Credential=void 0;class Credential{create(i,d){throw new Error("Method should be implemented in children classes.")}}d.Credential=Credential},30849:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageSharedKeyCredential=void 0;const v=p(77598);const V=p(35369);const K=p(450);class StorageSharedKeyCredential extends K.Credential{accountName;accountKey;constructor(i,d){super();this.accountName=i;this.accountKey=Buffer.from(d,"base64")}create(i,d){return new V.StorageSharedKeyCredentialPolicy(i,d,this)}computeHMACSHA256(i){return(0,v.createHmac)("sha256",this.accountKey).update(i,"utf8").digest("base64")}}d.StorageSharedKeyCredential=StorageSharedKeyCredential},3602:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.UserDelegationKeyCredential=void 0;const v=p(77598);class UserDelegationKeyCredential{accountName;userDelegationKey;key;constructor(i,d){this.accountName=i;this.userDelegationKey=d;this.key=Buffer.from(d.value,"base64")}computeHMACSHA256(i){return(0,v.createHmac)("sha256",this.key).update(i,"utf8").digest("base64")}}d.UserDelegationKeyCredential=UserDelegationKeyCredential},51382:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BaseRequestPolicy=d.getCachedDefaultHttpClient=void 0;const v=p(59199);v.__exportStar(p(86381),d);var V=p(68376);Object.defineProperty(d,"getCachedDefaultHttpClient",{enumerable:true,get:function(){return V.getCachedDefaultHttpClient}});v.__exportStar(p(4399),d);v.__exportStar(p(32159),d);v.__exportStar(p(450),d);v.__exportStar(p(30849),d);v.__exportStar(p(77321),d);var K=p(40590);Object.defineProperty(d,"BaseRequestPolicy",{enumerable:true,get:function(){return K.BaseRequestPolicy}});v.__exportStar(p(63611),d);v.__exportStar(p(74238),d);v.__exportStar(p(22312),d);v.__exportStar(p(83100),d);v.__exportStar(p(92505),d);v.__exportStar(p(38622),d);v.__exportStar(p(27734),d);v.__exportStar(p(78178),d);v.__exportStar(p(35369),d);v.__exportStar(p(53233),d);v.__exportStar(p(77321),d);v.__exportStar(p(24174),d);v.__exportStar(p(3602),d)},32780:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.logger=void 0;const v=p(26515);d.logger=(0,v.createClientLogger)("storage-common")},63611:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.AnonymousCredentialPolicy=void 0;const v=p(74238);class AnonymousCredentialPolicy extends v.CredentialPolicy{constructor(i,d){super(i,d)}}d.AnonymousCredentialPolicy=AnonymousCredentialPolicy},74238:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.CredentialPolicy=void 0;const v=p(40590);class CredentialPolicy extends v.BaseRequestPolicy{sendRequest(i){return this._nextPolicy.sendRequest(this.signRequest(i))}signRequest(i){return i}}d.CredentialPolicy=CredentialPolicy},40590:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.BaseRequestPolicy=void 0;class BaseRequestPolicy{_nextPolicy;_options;constructor(i,d){this._nextPolicy=i;this._options=d}shouldLog(i){return this._options.shouldLog(i)}log(i,d){this._options.log(i,d)}}d.BaseRequestPolicy=BaseRequestPolicy},22312:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageBrowserPolicy=void 0;const v=p(40590);const V=p(87779);const K=p(77925);const ee=p(58218);class StorageBrowserPolicy extends v.BaseRequestPolicy{constructor(i,d){super(i,d)}async sendRequest(i){if(V.isNodeLike){return this._nextPolicy.sendRequest(i)}if(i.method.toUpperCase()==="GET"||i.method.toUpperCase()==="HEAD"){i.url=(0,ee.setURLParameter)(i.url,K.URLConstants.Parameters.FORCE_BROWSER_NO_CACHE,(new Date).getTime().toString())}i.headers.remove(K.HeaderConstants.COOKIE);i.headers.remove(K.HeaderConstants.CONTENT_LENGTH);return this._nextPolicy.sendRequest(i)}}d.StorageBrowserPolicy=StorageBrowserPolicy},83100:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.storageBrowserPolicyName=void 0;d.storageBrowserPolicy=storageBrowserPolicy;const v=p(87779);const V=p(77925);const K=p(58218);d.storageBrowserPolicyName="storageBrowserPolicy";function storageBrowserPolicy(){return{name:d.storageBrowserPolicyName,async sendRequest(i,d){if(v.isNodeLike){return d(i)}if(i.method==="GET"||i.method==="HEAD"){i.url=(0,K.setURLParameter)(i.url,V.URLConstants.Parameters.FORCE_BROWSER_NO_CACHE,(new Date).getTime().toString())}i.headers.delete(V.HeaderConstants.COOKIE);i.headers.delete(V.HeaderConstants.CONTENT_LENGTH);return d(i)}}}},92505:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.storageCorrectContentLengthPolicyName=void 0;d.storageCorrectContentLengthPolicy=storageCorrectContentLengthPolicy;const v=p(77925);d.storageCorrectContentLengthPolicyName="StorageCorrectContentLengthPolicy";function storageCorrectContentLengthPolicy(){function correctContentLength(i){if(i.body&&(typeof i.body==="string"||Buffer.isBuffer(i.body))&&i.body.length>0){i.headers.set(v.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(i.body))}}return{name:d.storageCorrectContentLengthPolicyName,async sendRequest(i,d){correctContentLength(i);return d(i)}}}},24174:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.storageRequestFailureDetailsParserPolicyName=void 0;d.storageRequestFailureDetailsParserPolicy=storageRequestFailureDetailsParserPolicy;d.storageRequestFailureDetailsParserPolicyName="storageRequestFailureDetailsParserPolicy";function storageRequestFailureDetailsParserPolicy(){return{name:d.storageRequestFailureDetailsParserPolicyName,async sendRequest(i,d){try{const p=await d(i);return p}catch(i){if(typeof i==="object"&&i!==null&&i.response&&i.response.parsedBody){if(i.response.parsedBody.code==="InvalidHeaderValue"&&i.response.parsedBody.HeaderName==="x-ms-version"){i.message="The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information.\n"}}throw i}}}}},27734:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageRetryPolicy=void 0;d.NewRetryPolicyFactory=NewRetryPolicyFactory;const v=p(83134);const V=p(40590);const K=p(77925);const ee=p(58218);const te=p(32780);const re=p(38622);function NewRetryPolicyFactory(i){return{create:(d,p)=>new StorageRetryPolicy(d,p,i)}}const ne={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:re.StorageRetryPolicyType.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:undefined};const ie=new v.AbortError("The operation was aborted.");class StorageRetryPolicy extends V.BaseRequestPolicy{retryOptions;constructor(i,d,p=ne){super(i,d);this.retryOptions={retryPolicyType:p.retryPolicyType?p.retryPolicyType:ne.retryPolicyType,maxTries:p.maxTries&&p.maxTries>=1?Math.floor(p.maxTries):ne.maxTries,tryTimeoutInMs:p.tryTimeoutInMs&&p.tryTimeoutInMs>=0?p.tryTimeoutInMs:ne.tryTimeoutInMs,retryDelayInMs:p.retryDelayInMs&&p.retryDelayInMs>=0?Math.min(p.retryDelayInMs,p.maxRetryDelayInMs?p.maxRetryDelayInMs:ne.maxRetryDelayInMs):ne.retryDelayInMs,maxRetryDelayInMs:p.maxRetryDelayInMs&&p.maxRetryDelayInMs>=0?p.maxRetryDelayInMs:ne.maxRetryDelayInMs,secondaryHost:p.secondaryHost?p.secondaryHost:ne.secondaryHost}}async sendRequest(i){return this.attemptSendRequest(i,false,1)}async attemptSendRequest(i,d,p){const v=i.clone();const V=d||!this.retryOptions.secondaryHost||!(i.method==="GET"||i.method==="HEAD"||i.method==="OPTIONS")||p%2===1;if(!V){v.url=(0,ee.setURLHost)(v.url,this.retryOptions.secondaryHost)}if(this.retryOptions.tryTimeoutInMs){v.url=(0,ee.setURLParameter)(v.url,K.URLConstants.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString())}let re;try{te.logger.info(`RetryPolicy: =====> Try=${p} ${V?"Primary":"Secondary"}`);re=await this._nextPolicy.sendRequest(v);if(!this.shouldRetry(V,p,re)){return re}d=d||!V&&re.status===404}catch(i){te.logger.error(`RetryPolicy: Caught error, message: ${i.message}, code: ${i.code}`);if(!this.shouldRetry(V,p,re,i)){throw i}}await this.delay(V,p,i.abortSignal);return this.attemptSendRequest(i,d,++p)}shouldRetry(i,d,p,v){if(d>=this.retryOptions.maxTries){te.logger.info(`RetryPolicy: Attempt(s) ${d} >= maxTries ${this.retryOptions.maxTries}, no further try.`);return false}const V=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(v){for(const i of V){if(v.name.toUpperCase().includes(i)||v.message.toUpperCase().includes(i)||v.code&&v.code.toString().toUpperCase()===i){te.logger.info(`RetryPolicy: Network error ${i} found, will retry.`);return true}}}if(p||v){const d=p?p.status:v?v.statusCode:0;if(!i&&d===404){te.logger.info(`RetryPolicy: Secondary access with 404, will retry.`);return true}if(d===503||d===500){te.logger.info(`RetryPolicy: Will retry for status code ${d}.`);return true}}if(p){if(p?.status>=400){const i=p.headers.get(K.HeaderConstants.X_MS_CopySourceErrorCode);if(i!==undefined){switch(i){case"InternalError":case"OperationTimedOut":case"ServerBusy":return true}}}}if(v?.code==="PARSE_ERROR"&&v?.message.startsWith(`Error "Error: Unclosed root tag`)){te.logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry.");return true}return false}async delay(i,d,p){let v=0;if(i){switch(this.retryOptions.retryPolicyType){case re.StorageRetryPolicyType.EXPONENTIAL:v=Math.min((Math.pow(2,d-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case re.StorageRetryPolicyType.FIXED:v=this.retryOptions.retryDelayInMs;break}}else{v=Math.random()*1e3}te.logger.info(`RetryPolicy: Delay for ${v}ms`);return(0,ee.delay)(v,p,ie)}}d.StorageRetryPolicy=StorageRetryPolicy},38622:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageRetryPolicyType=void 0;var p;(function(i){i[i["EXPONENTIAL"]=0]="EXPONENTIAL";i[i["FIXED"]=1]="FIXED"})(p||(d.StorageRetryPolicyType=p={}))},78178:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.storageRetryPolicyName=void 0;d.storageRetryPolicy=storageRetryPolicy;const v=p(83134);const V=p(20778);const K=p(87779);const ee=p(77321);const te=p(77925);const re=p(58218);const ne=p(32780);d.storageRetryPolicyName="storageRetryPolicy";const ie={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:ee.StorageRetryPolicyType.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:undefined};const se=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];const oe=new v.AbortError("The operation was aborted.");function storageRetryPolicy(i={}){const p=i.retryPolicyType??ie.retryPolicyType;const v=i.maxTries??ie.maxTries;const ae=i.retryDelayInMs??ie.retryDelayInMs;const ce=i.maxRetryDelayInMs??ie.maxRetryDelayInMs;const le=i.secondaryHost??ie.secondaryHost;const ue=i.tryTimeoutInMs??ie.tryTimeoutInMs;function shouldRetry({isPrimaryRetry:i,attempt:d,response:p,error:V}){if(d>=v){ne.logger.info(`RetryPolicy: Attempt(s) ${d} >= maxTries ${v}, no further try.`);return false}if(V){for(const i of se){if(V.name.toUpperCase().includes(i)||V.message.toUpperCase().includes(i)||V.code&&V.code.toString().toUpperCase()===i){ne.logger.info(`RetryPolicy: Network error ${i} found, will retry.`);return true}}if(V?.code==="PARSE_ERROR"&&V?.message.startsWith(`Error "Error: Unclosed root tag`)){ne.logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry.");return true}}if(p||V){const d=p?.status??V?.statusCode??0;if(!i&&d===404){ne.logger.info(`RetryPolicy: Secondary access with 404, will retry.`);return true}if(d===503||d===500){ne.logger.info(`RetryPolicy: Will retry for status code ${d}.`);return true}}if(p){if(p?.status>=400){const i=p.headers.get(te.HeaderConstants.X_MS_CopySourceErrorCode);if(i!==undefined){switch(i){case"InternalError":case"OperationTimedOut":case"ServerBusy":return true}}}}return false}function calculateDelay(i,d){let v=0;if(i){switch(p){case ee.StorageRetryPolicyType.EXPONENTIAL:v=Math.min((Math.pow(2,d-1)-1)*ae,ce);break;case ee.StorageRetryPolicyType.FIXED:v=ae;break}}else{v=Math.random()*1e3}ne.logger.info(`RetryPolicy: Delay for ${v}ms`);return v}return{name:d.storageRetryPolicyName,async sendRequest(i,d){if(ue){i.url=(0,re.setURLParameter)(i.url,te.URLConstants.Parameters.TIMEOUT,String(Math.floor(ue/1e3)))}const p=i.url;const v=le?(0,re.setURLHost)(i.url,le):undefined;let ee=false;let ie=1;let se=true;let ae;let ce;while(se){const te=ee||!v||!["GET","HEAD","OPTIONS"].includes(i.method)||ie%2===1;i.url=te?p:v;ae=undefined;ce=undefined;try{ne.logger.info(`RetryPolicy: =====> Try=${ie} ${te?"Primary":"Secondary"}`);ae=await d(i);ee=ee||!te&&ae.status===404}catch(i){if((0,V.isRestError)(i)){ne.logger.error(`RetryPolicy: Caught error, message: ${i.message}, code: ${i.code}`);ce=i}else{ne.logger.error(`RetryPolicy: Caught error, message: ${(0,K.getErrorMessage)(i)}`);throw i}}se=shouldRetry({isPrimaryRetry:te,attempt:ie,response:ae,error:ce});if(se){await(0,re.delay)(calculateDelay(te,ie),i.abortSignal,oe)}ie++}if(ae){return ae}throw ce??new V.RestError("RetryPolicy failed without known error.")}}}},35369:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageSharedKeyCredentialPolicy=void 0;const v=p(77925);const V=p(58218);const K=p(74238);const ee=p(16576);class StorageSharedKeyCredentialPolicy extends K.CredentialPolicy{factory;constructor(i,d,p){super(i,d);this.factory=p}signRequest(i){i.headers.set(v.HeaderConstants.X_MS_DATE,(new Date).toUTCString());if(i.body&&(typeof i.body==="string"||i.body!==undefined)&&i.body.length>0){i.headers.set(v.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(i.body))}const d=[i.method.toUpperCase(),this.getHeaderValueToSign(i,v.HeaderConstants.CONTENT_LANGUAGE),this.getHeaderValueToSign(i,v.HeaderConstants.CONTENT_ENCODING),this.getHeaderValueToSign(i,v.HeaderConstants.CONTENT_LENGTH),this.getHeaderValueToSign(i,v.HeaderConstants.CONTENT_MD5),this.getHeaderValueToSign(i,v.HeaderConstants.CONTENT_TYPE),this.getHeaderValueToSign(i,v.HeaderConstants.DATE),this.getHeaderValueToSign(i,v.HeaderConstants.IF_MODIFIED_SINCE),this.getHeaderValueToSign(i,v.HeaderConstants.IF_MATCH),this.getHeaderValueToSign(i,v.HeaderConstants.IF_NONE_MATCH),this.getHeaderValueToSign(i,v.HeaderConstants.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(i,v.HeaderConstants.RANGE)].join("\n")+"\n"+this.getCanonicalizedHeadersString(i)+this.getCanonicalizedResourceString(i);const p=this.factory.computeHMACSHA256(d);i.headers.set(v.HeaderConstants.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${p}`);return i}getHeaderValueToSign(i,d){const p=i.headers.get(d);if(!p){return""}if(d===v.HeaderConstants.CONTENT_LENGTH&&p==="0"){return""}return p}getCanonicalizedHeadersString(i){let d=i.headers.headersArray().filter((i=>i.name.toLowerCase().startsWith(v.HeaderConstants.PREFIX_FOR_STORAGE)));d.sort(((i,d)=>(0,ee.compareHeader)(i.name.toLowerCase(),d.name.toLowerCase())));d=d.filter(((i,d,p)=>{if(d>0&&i.name.toLowerCase()===p[d-1].name.toLowerCase()){return false}return true}));let p="";d.forEach((i=>{p+=`${i.name.toLowerCase().trimRight()}:${i.value.trimLeft()}\n`}));return p}getCanonicalizedResourceString(i){const d=(0,V.getURLPath)(i.url)||"/";let p="";p+=`/${this.factory.accountName}${d}`;const v=(0,V.getURLQueries)(i.url);const K={};if(v){const i=[];for(const d in v){if(Object.prototype.hasOwnProperty.call(v,d)){const p=d.toLowerCase();K[p]=v[d];i.push(p)}}i.sort();for(const d of i){p+=`\n${d}:${decodeURIComponent(K[d])}`}}return p}}d.StorageSharedKeyCredentialPolicy=StorageSharedKeyCredentialPolicy},53233:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.storageSharedKeyCredentialPolicyName=void 0;d.storageSharedKeyCredentialPolicy=storageSharedKeyCredentialPolicy;const v=p(77598);const V=p(77925);const K=p(58218);const ee=p(16576);d.storageSharedKeyCredentialPolicyName="storageSharedKeyCredentialPolicy";function storageSharedKeyCredentialPolicy(i){function signRequest(d){d.headers.set(V.HeaderConstants.X_MS_DATE,(new Date).toUTCString());if(d.body&&(typeof d.body==="string"||Buffer.isBuffer(d.body))&&d.body.length>0){d.headers.set(V.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(d.body))}const p=[d.method.toUpperCase(),getHeaderValueToSign(d,V.HeaderConstants.CONTENT_LANGUAGE),getHeaderValueToSign(d,V.HeaderConstants.CONTENT_ENCODING),getHeaderValueToSign(d,V.HeaderConstants.CONTENT_LENGTH),getHeaderValueToSign(d,V.HeaderConstants.CONTENT_MD5),getHeaderValueToSign(d,V.HeaderConstants.CONTENT_TYPE),getHeaderValueToSign(d,V.HeaderConstants.DATE),getHeaderValueToSign(d,V.HeaderConstants.IF_MODIFIED_SINCE),getHeaderValueToSign(d,V.HeaderConstants.IF_MATCH),getHeaderValueToSign(d,V.HeaderConstants.IF_NONE_MATCH),getHeaderValueToSign(d,V.HeaderConstants.IF_UNMODIFIED_SINCE),getHeaderValueToSign(d,V.HeaderConstants.RANGE)].join("\n")+"\n"+getCanonicalizedHeadersString(d)+getCanonicalizedResourceString(d);const K=(0,v.createHmac)("sha256",i.accountKey).update(p,"utf8").digest("base64");d.headers.set(V.HeaderConstants.AUTHORIZATION,`SharedKey ${i.accountName}:${K}`)}function getHeaderValueToSign(i,d){const p=i.headers.get(d);if(!p){return""}if(d===V.HeaderConstants.CONTENT_LENGTH&&p==="0"){return""}return p}function getCanonicalizedHeadersString(i){let d=[];for(const[p,v]of i.headers){if(p.toLowerCase().startsWith(V.HeaderConstants.PREFIX_FOR_STORAGE)){d.push({name:p,value:v})}}d.sort(((i,d)=>(0,ee.compareHeader)(i.name.toLowerCase(),d.name.toLowerCase())));d=d.filter(((i,d,p)=>{if(d>0&&i.name.toLowerCase()===p[d-1].name.toLowerCase()){return false}return true}));let p="";d.forEach((i=>{p+=`${i.name.toLowerCase().trimRight()}:${i.value.trimLeft()}\n`}));return p}function getCanonicalizedResourceString(d){const p=(0,K.getURLPath)(d.url)||"/";let v="";v+=`/${i.accountName}${p}`;const V=(0,K.getURLQueries)(d.url);const ee={};if(V){const i=[];for(const d in V){if(Object.prototype.hasOwnProperty.call(V,d)){const p=d.toLowerCase();ee[p]=V[d];i.push(p)}}i.sort();for(const d of i){v+=`\n${d}:${decodeURIComponent(ee[d])}`}}return v}return{name:d.storageSharedKeyCredentialPolicyName,async sendRequest(i,d){signRequest(i);return d(i)}}}},16576:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.compareHeader=compareHeader;const p=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1820,0,1823,1825,1827,1829,0,0,0,1837,2051,0,0,1843,0,3331,3354,3356,3358,3360,3362,3364,3366,3368,3370,0,0,0,0,0,0,0,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,0,0,1859,1860,1864,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,1868,0,1872,0]);const v=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);const V=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32786,0,0,0,0,0,33298,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function compareHeader(i,d){if(isLessThan(i,d))return-1;return 1}function isLessThan(i,d){const K=[p,v,V];let ee=0;let te=0;let re=0;while(eere}const p=te{Object.defineProperty(d,"__esModule",{value:true});d.PathStylePorts=d.DevelopmentConnectionString=d.HeaderConstants=d.URLConstants=d.SDK_VERSION=void 0;d.SDK_VERSION="1.0.0";d.URLConstants={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};d.HeaderConstants={AUTHORIZATION:"Authorization",AUTHORIZATION_SCHEME:"Bearer",CONTENT_ENCODING:"Content-Encoding",CONTENT_ID:"Content-ID",CONTENT_LANGUAGE:"Content-Language",CONTENT_LENGTH:"Content-Length",CONTENT_MD5:"Content-Md5",CONTENT_TRANSFER_ENCODING:"Content-Transfer-Encoding",CONTENT_TYPE:"Content-Type",COOKIE:"Cookie",DATE:"date",IF_MATCH:"if-match",IF_MODIFIED_SINCE:"if-modified-since",IF_NONE_MATCH:"if-none-match",IF_UNMODIFIED_SINCE:"if-unmodified-since",PREFIX_FOR_STORAGE:"x-ms-",RANGE:"Range",USER_AGENT:"User-Agent",X_MS_CLIENT_REQUEST_ID:"x-ms-client-request-id",X_MS_COPY_SOURCE:"x-ms-copy-source",X_MS_DATE:"x-ms-date",X_MS_ERROR_CODE:"x-ms-error-code",X_MS_VERSION:"x-ms-version",X_MS_CopySourceErrorCode:"x-ms-copy-source-error-code"};d.DevelopmentConnectionString=`DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;`;d.PathStylePorts=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"]},58218:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.escapeURLPath=escapeURLPath;d.getValueInConnString=getValueInConnString;d.extractConnectionStringParts=extractConnectionStringParts;d.appendToURLPath=appendToURLPath;d.setURLParameter=setURLParameter;d.getURLParameter=getURLParameter;d.setURLHost=setURLHost;d.getURLPath=getURLPath;d.getURLScheme=getURLScheme;d.getURLPathAndQuery=getURLPathAndQuery;d.getURLQueries=getURLQueries;d.appendToURLQuery=appendToURLQuery;d.truncatedISO8061Date=truncatedISO8061Date;d.base64encode=base64encode;d.base64decode=base64decode;d.generateBlockID=generateBlockID;d.delay=delay;d.padStart=padStart;d.sanitizeURL=sanitizeURL;d.sanitizeHeaders=sanitizeHeaders;d.iEqual=iEqual;d.getAccountNameFromUrl=getAccountNameFromUrl;d.isIpEndpointStyle=isIpEndpointStyle;d.attachCredential=attachCredential;d.httpAuthorizationToString=httpAuthorizationToString;d.EscapePath=EscapePath;d.assertResponse=assertResponse;const v=p(20778);const V=p(87779);const K=p(77925);function escapeURLPath(i){const d=new URL(i);let p=d.pathname;p=p||"/";p=escape(p);d.pathname=p;return d.toString()}function getProxyUriFromDevConnString(i){let d="";if(i.search("DevelopmentStorageProxyUri=")!==-1){const p=i.split(";");for(const i of p){if(i.trim().startsWith("DevelopmentStorageProxyUri=")){d=i.trim().match("DevelopmentStorageProxyUri=(.*)")[1]}}}return d}function getValueInConnString(i,d){const p=i.split(";");for(const i of p){if(i.trim().startsWith(d)){return i.trim().match(d+"=(.*)")[1]}}return""}function extractConnectionStringParts(i){let d="";if(i.startsWith("UseDevelopmentStorage=true")){d=getProxyUriFromDevConnString(i);i=K.DevelopmentConnectionString}let p=getValueInConnString(i,"BlobEndpoint");p=p.endsWith("/")?p.slice(0,-1):p;if(i.search("DefaultEndpointsProtocol=")!==-1&&i.search("AccountKey=")!==-1){let v="";let V="";let K=Buffer.from("accountKey","base64");let ee="";V=getValueInConnString(i,"AccountName");K=Buffer.from(getValueInConnString(i,"AccountKey"),"base64");if(!p){v=getValueInConnString(i,"DefaultEndpointsProtocol");const d=v.toLowerCase();if(d!=="https"&&d!=="http"){throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'")}ee=getValueInConnString(i,"EndpointSuffix");if(!ee){throw new Error("Invalid EndpointSuffix in the provided Connection String")}p=`${v}://${V}.blob.${ee}`}if(!V){throw new Error("Invalid AccountName in the provided Connection String")}else if(K.length===0){throw new Error("Invalid AccountKey in the provided Connection String")}return{kind:"AccountConnString",url:p,accountName:V,accountKey:K,proxyUri:d}}else{let d=getValueInConnString(i,"SharedAccessSignature");let v=getValueInConnString(i,"AccountName");if(!v){v=getAccountNameFromUrl(p)}if(!p){throw new Error("Invalid BlobEndpoint in the provided SAS Connection String")}else if(!d){throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}if(d.startsWith("?")){d=d.substring(1)}return{kind:"SASConnString",url:p,accountName:v,accountSas:d}}}function escape(i){return encodeURIComponent(i).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}function appendToURLPath(i,d){const p=new URL(i);let v=p.pathname;v=v?v.endsWith("/")?`${v}${d}`:`${v}/${d}`:d;p.pathname=v;return p.toString()}function setURLParameter(i,d,p){const v=new URL(i);const V=encodeURIComponent(d);const K=p?encodeURIComponent(p):undefined;const ee=v.search===""?"?":v.search;const te=[];for(const i of ee.slice(1).split("&")){if(i){const[d]=i.split("=",2);if(d!==V){te.push(i)}}}if(K){te.push(`${V}=${K}`)}v.search=te.length?`?${te.join("&")}`:"";return v.toString()}function getURLParameter(i,d){const p=new URL(i);return p.searchParams.get(d)??undefined}function setURLHost(i,d){const p=new URL(i);p.hostname=d;return p.toString()}function getURLPath(i){try{const d=new URL(i);return d.pathname}catch(i){return undefined}}function getURLScheme(i){try{const d=new URL(i);return d.protocol.endsWith(":")?d.protocol.slice(0,-1):d.protocol}catch(i){return undefined}}function getURLPathAndQuery(i){const d=new URL(i);const p=d.pathname;if(!p){throw new RangeError("Invalid url without valid path.")}let v=d.search||"";v=v.trim();if(v!==""){v=v.startsWith("?")?v:`?${v}`}return`${p}${v}`}function getURLQueries(i){let d=new URL(i).search;if(!d){return{}}d=d.trim();d=d.startsWith("?")?d.substring(1):d;let p=d.split("&");p=p.filter((i=>{const d=i.indexOf("=");const p=i.lastIndexOf("=");return d>0&&d===p&&pV){i=i.slice(0,V)}const K=i+padStart(d.toString(),p-i.length,"0");return base64encode(K)}async function delay(i,d,p){return new Promise(((v,V)=>{let K;const abortHandler=()=>{if(K!==undefined){clearTimeout(K)}V(p)};const resolveHandler=()=>{if(d!==undefined){d.removeEventListener("abort",abortHandler)}v()};K=setTimeout(resolveHandler,i);if(d!==undefined){d.addEventListener("abort",abortHandler)}}))}function padStart(i,d,p=" "){if(String.prototype.padStart){return i.padStart(d,p)}p=p||" ";if(i.length>d){return i}else{d=d-i.length;if(d>p.length){p+=p.repeat(d/p.length)}return p.slice(0,d)+i}}function sanitizeURL(i){let d=i;if(getURLParameter(d,K.URLConstants.Parameters.SIGNATURE)){d=setURLParameter(d,K.URLConstants.Parameters.SIGNATURE,"*****")}return d}function sanitizeHeaders(i){const d=(0,v.createHttpHeaders)();for(const[p,v]of i){if(p.toLowerCase()===K.HeaderConstants.AUTHORIZATION.toLowerCase()){d.set(p,"*****")}else if(p.toLowerCase()===K.HeaderConstants.X_MS_COPY_SOURCE){d.set(p,sanitizeURL(v))}else{d.set(p,v)}}return d}function iEqual(i,d){return i.toLocaleLowerCase()===d.toLocaleLowerCase()}function getAccountNameFromUrl(i){const d=new URL(i);let p;try{if(d.hostname.split(".")[1]==="blob"){p=d.hostname.split(".")[0]}else if(isIpEndpointStyle(d)){p=d.pathname.split("/")[1]}else{p=""}return p}catch(i){throw new Error("Unable to extract accountName with provided information.")}}function isIpEndpointStyle(i){const d=i.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(d)||Boolean(i.port)&&K.PathStylePorts.includes(i.port)}function attachCredential(i,d){i.credential=d;return i}function httpAuthorizationToString(i){return i?i.scheme+" "+i.value:undefined}function EscapePath(i){const d=i.split("/");for(let i=0;i{Object.defineProperty(d,"__esModule",{value:true});d.jwtDecode=d.InvalidTokenError=void 0;class InvalidTokenError extends Error{}d.InvalidTokenError=InvalidTokenError;InvalidTokenError.prototype.name="InvalidTokenError";function b64DecodeUnicode(i){return decodeURIComponent(atob(i).replace(/(.)/g,((i,d)=>{let p=d.charCodeAt(0).toString(16).toUpperCase();if(p.length<2){p="0"+p}return"%"+p})))}function base64UrlDecode(i){let d=i.replace(/-/g,"+").replace(/_/g,"/");switch(d.length%4){case 0:break;case 2:d+="==";break;case 3:d+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return b64DecodeUnicode(d)}catch(i){return atob(d)}}function jwtDecode(i,d){if(typeof i!=="string"){throw new InvalidTokenError("Invalid token specified: must be a string")}d||(d={});const p=d.header===true?0:1;const v=i.split(".")[p];if(typeof v!=="string"){throw new InvalidTokenError(`Invalid token specified: missing part #${p+1}`)}let V;try{V=base64UrlDecode(v)}catch(i){throw new InvalidTokenError(`Invalid token specified: invalid base64 for part #${p+1} (${i.message})`)}try{return JSON.parse(V)}catch(i){throw new InvalidTokenError(`Invalid token specified: invalid json for part #${p+1} (${i.message})`)}}d.jwtDecode=jwtDecode},99992:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.AbortError=void 0;class AbortError extends Error{constructor(i){super(i);this.name="AbortError"}}d.AbortError=AbortError},36227:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.isOAuth2TokenCredential=isOAuth2TokenCredential;d.isBearerTokenCredential=isBearerTokenCredential;d.isBasicCredential=isBasicCredential;d.isApiKeyCredential=isApiKeyCredential;function isOAuth2TokenCredential(i){return"getOAuth2Token"in i}function isBearerTokenCredential(i){return"getBearerToken"in i}function isBasicCredential(i){return"username"in i&&"password"in i}function isApiKeyCredential(i){return"key"in i}},43097:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true})},92097:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true})},71408:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.apiVersionPolicyName=void 0;d.apiVersionPolicy=apiVersionPolicy;d.apiVersionPolicyName="ApiVersionPolicy";function apiVersionPolicy(i){return{name:d.apiVersionPolicyName,sendRequest:(d,p)=>{const v=new URL(d.url);if(!v.searchParams.get("api-version")&&i.apiVersion){d.url=`${d.url}${Array.from(v.searchParams.keys()).length>0?"&":"?"}api-version=${i.apiVersion}`}return p(d)}}}},88728:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createDefaultPipeline=createDefaultPipeline;d.getCachedDefaultHttpsClient=getCachedDefaultHttpsClient;const v=p(69468);const V=p(91810);const K=p(71408);const ee=p(36227);const te=p(42095);const re=p(15756);const ne=p(89709);const ie=p(20219);let se;function createDefaultPipeline(i={}){const d=(0,V.createPipelineFromOptions)(i);d.addPolicy((0,K.apiVersionPolicy)(i));const{credential:p,authSchemes:v,allowInsecureConnection:se}=i;if(p){if((0,ee.isApiKeyCredential)(p)){d.addPolicy((0,te.apiKeyAuthenticationPolicy)({authSchemes:v,credential:p,allowInsecureConnection:se}))}else if((0,ee.isBasicCredential)(p)){d.addPolicy((0,re.basicAuthenticationPolicy)({authSchemes:v,credential:p,allowInsecureConnection:se}))}else if((0,ee.isBearerTokenCredential)(p)){d.addPolicy((0,ne.bearerAuthenticationPolicy)({authSchemes:v,credential:p,allowInsecureConnection:se}))}else if((0,ee.isOAuth2TokenCredential)(p)){d.addPolicy((0,ie.oauth2AuthenticationPolicy)({authSchemes:v,credential:p,allowInsecureConnection:se}))}}return d}function getCachedDefaultHttpsClient(){if(!se){se=(0,v.createDefaultHttpClient)()}return se}},86191:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getClient=getClient;const v=p(88728);const V=p(16311);const K=p(37088);const ee=p(85086);function getClient(i,d={}){const p=d.pipeline??(0,v.createDefaultPipeline)(d);if(d.additionalPolicies?.length){for(const{policy:i,position:v}of d.additionalPolicies){const d=v==="perRetry"?"Sign":undefined;p.addPolicy(i,{afterPhase:d})}}const{allowInsecureConnection:V,httpClient:ee}=d;const te=d.endpoint??i;const client=(i,...d)=>{const getUrl=p=>(0,K.buildRequestUrl)(te,i,d,{allowInsecureConnection:V,...p});return{get:(i={})=>buildOperation("GET",getUrl(i),p,i,V,ee),post:(i={})=>buildOperation("POST",getUrl(i),p,i,V,ee),put:(i={})=>buildOperation("PUT",getUrl(i),p,i,V,ee),patch:(i={})=>buildOperation("PATCH",getUrl(i),p,i,V,ee),delete:(i={})=>buildOperation("DELETE",getUrl(i),p,i,V,ee),head:(i={})=>buildOperation("HEAD",getUrl(i),p,i,V,ee),options:(i={})=>buildOperation("OPTIONS",getUrl(i),p,i,V,ee),trace:(i={})=>buildOperation("TRACE",getUrl(i),p,i,V,ee)}};return{path:client,pathUnchecked:client,pipeline:p}}function buildOperation(i,d,p,v,K,te){K=v.allowInsecureConnection??K;return{then:function(ee,re){return(0,V.sendRequest)(i,d,p,{...v,allowInsecureConnection:K},te).then(ee,re)},async asBrowserStream(){if(ee.isNodeLike){throw new Error("`asBrowserStream` is supported only in the browser environment. Use `asNodeStream` instead to obtain the response body stream. If you require a Web stream of the response in Node, consider using `Readable.toWeb` on the result of `asNodeStream`.")}else{return(0,V.sendRequest)(i,d,p,{...v,allowInsecureConnection:K,responseAsStream:true},te)}},async asNodeStream(){if(ee.isNodeLike){return(0,V.sendRequest)(i,d,p,{...v,allowInsecureConnection:K,responseAsStream:true},te)}else{throw new Error("`isNodeStream` is not supported in the browser environment. Use `asBrowserStream` to obtain the response body stream.")}}}}},18240:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.buildBodyPart=buildBodyPart;d.buildMultipartBody=buildMultipartBody;const v=p(9758);const V=p(4220);const K=p(82921);const ee=p(48505);function getHeaderValue(i,d){if(i.headers){const p=Object.keys(i.headers).find((i=>i.toLowerCase()===d.toLowerCase()));if(p){return i.headers[p]}}return undefined}function getPartContentType(i){const d=getHeaderValue(i,"content-type");if(d){return d}if(i.contentType===null){return undefined}if(i.contentType){return i.contentType}const{body:p}=i;if(p===null||p===undefined){return undefined}if(typeof p==="string"||typeof p==="number"||typeof p==="boolean"){return"text/plain; charset=UTF-8"}if(p instanceof Blob){return p.type||"application/octet-stream"}if((0,ee.isBinaryBody)(p)){return"application/octet-stream"}return"application/json"}function escapeDispositionField(i){return JSON.stringify(i)}function getContentDisposition(i){const d=getHeaderValue(i,"content-disposition");if(d){return d}if(i.dispositionType===undefined&&i.name===undefined&&i.filename===undefined){return undefined}const p=i.dispositionType??"form-data";let v=p;if(i.name){v+=`; name=${escapeDispositionField(i.name)}`}let V=undefined;if(i.filename){V=i.filename}else if(typeof File!=="undefined"&&i.body instanceof File){const d=i.body.name;if(d!==""){V=d}}if(V){v+=`; filename=${escapeDispositionField(V)}`}return v}function normalizeBody(i,d){if(i===undefined){return new Uint8Array([])}if((0,ee.isBinaryBody)(i)){return i}if(typeof i==="string"||typeof i==="number"||typeof i==="boolean"){return(0,K.stringToUint8Array)(String(i),"utf-8")}if(d&&/application\/(.+\+)?json(;.+)?/i.test(String(d))){return(0,K.stringToUint8Array)(JSON.stringify(i),"utf-8")}throw new v.RestError(`Unsupported body/content-type combination: ${i}, ${d}`)}function buildBodyPart(i){const d=getPartContentType(i);const p=getContentDisposition(i);const v=(0,V.createHttpHeaders)(i.headers??{});if(d){v.set("content-type",d)}if(p){v.set("content-disposition",p)}const K=normalizeBody(i.body,d);return{headers:v,body:K}}function buildMultipartBody(i){return{parts:i.map(buildBodyPart)}}},19635:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.operationOptionsToRequestParameters=operationOptionsToRequestParameters;function operationOptionsToRequestParameters(i){return{allowInsecureConnection:i.requestOptions?.allowInsecureConnection,timeout:i.requestOptions?.timeout,skipUrlEncoding:i.requestOptions?.skipUrlEncoding,abortSignal:i.abortSignal,onUploadProgress:i.requestOptions?.onUploadProgress,onDownloadProgress:i.requestOptions?.onDownloadProgress,headers:{...i.requestOptions?.headers},onResponse:i.onResponse}}},97332:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createRestError=createRestError;const v=p(9758);const V=p(4220);function createRestError(i,d){const p=typeof i==="string"?d:i;const V=p.body?.error??p.body;const K=typeof i==="string"?i:V?.message??`Unexpected status code: ${p.status}`;return new v.RestError(K,{statusCode:statusCodeToNumber(p.status),code:V?.code,request:p.request,response:toPipelineResponse(p)})}function toPipelineResponse(i){return{headers:(0,V.createHttpHeaders)(i.headers),request:i.request,status:statusCodeToNumber(i.status)??-1}}function statusCodeToNumber(i){const d=Number.parseInt(i);return Number.isNaN(d)?undefined:d}},16311:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.sendRequest=sendRequest;const v=p(9758);const V=p(4220);const K=p(72305);const ee=p(88728);const te=p(48505);const re=p(18240);async function sendRequest(i,d,p,V={},K){const te=K??(0,ee.getCachedDefaultHttpsClient)();const re=buildPipelineRequest(i,d,V);try{const i=await p.sendRequest(te,re);const d=i.headers.toJSON();const v=i.readableStreamBody??i.browserStreamBody;const K=V.responseAsStream||v!==undefined?undefined:getResponseBody(i);const ee=v??K;if(V?.onResponse){V.onResponse({...i,request:re,rawHeaders:d,parsedBody:K})}return{request:re,headers:d,status:`${i.status}`,body:ee}}catch(i){if((0,v.isRestError)(i)&&i.response&&V.onResponse){const{response:d}=i;const p=d.headers.toJSON();V?.onResponse({...d,request:re,rawHeaders:p},i)}throw i}}function getRequestContentType(i={}){return i.contentType??i.headers?.["content-type"]??getContentType(i.body)}function getContentType(i){if(ArrayBuffer.isView(i)){return"application/octet-stream"}if(typeof i==="string"){try{JSON.parse(i);return"application/json"}catch(i){return undefined}}return"application/json"}function buildPipelineRequest(i,d,p={}){const v=getRequestContentType(p);const{body:ee,multipartBody:te}=getRequestBody(p.body,v);const re=ee!==undefined||te!==undefined;const ne=(0,V.createHttpHeaders)({...p.headers?p.headers:{},accept:p.accept??p.headers?.accept??"application/json",...re&&v&&{"content-type":v}});return(0,K.createPipelineRequest)({url:d,method:i,body:ee,multipartBody:te,headers:ne,allowInsecureConnection:p.allowInsecureConnection,abortSignal:p.abortSignal,onUploadProgress:p.onUploadProgress,onDownloadProgress:p.onDownloadProgress,timeout:p.timeout,enableBrowserStreams:true,streamResponseStatusCodes:p.responseAsStream?new Set([Number.POSITIVE_INFINITY]):undefined})}function getRequestBody(i,d=""){if(i===undefined){return{body:undefined}}if(typeof FormData!=="undefined"&&i instanceof FormData){return{body:i}}if((0,te.isReadableStream)(i)){return{body:i}}if(ArrayBuffer.isView(i)){return{body:i instanceof Uint8Array?i:JSON.stringify(i)}}const p=d.split(";")[0];switch(p){case"application/json":return{body:JSON.stringify(i)};case"multipart/form-data":if(Array.isArray(i)){return{multipartBody:(0,re.buildMultipartBody)(i)}}return{body:JSON.stringify(i)};case"text/plain":return{body:String(i)};default:if(typeof i==="string"){return{body:i}}return{body:JSON.stringify(i)}}}function getResponseBody(i){const d=i.headers.get("content-type")??"";const p=d.split(";")[0];const v=i.bodyAsText??"";if(p==="text/plain"){return String(v)}try{return v?JSON.parse(v):undefined}catch(d){if(p==="application/json"){throw createParseError(i,d)}return String(v)}}function createParseError(i,d){const p=`Error "${d}" occurred while parsing the response body - ${i.bodyAsText}.`;const V=d.code??v.RestError.PARSE_ERROR;return new v.RestError(p,{code:V,statusCode:i.status,request:i.request,response:i})}},37088:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.buildRequestUrl=buildRequestUrl;d.buildBaseUrl=buildBaseUrl;d.replaceAll=replaceAll;function isQueryParameterWithOptions(i){const d=i.value;return d!==undefined&&d.toString!==undefined&&typeof d.toString==="function"}function buildRequestUrl(i,d,p,v={}){if(d.startsWith("https://")||d.startsWith("http://")){return d}i=buildBaseUrl(i,v);d=buildRoutePath(d,p,v);const V=appendQueryParams(`${i}/${d}`,v);const K=new URL(V);return K.toString().replace(/([^:]\/)\/+/g,"$1")}function getQueryParamValue(i,d,p,v){let V;if(p==="pipeDelimited"){V="|"}else if(p==="spaceDelimited"){V="%20"}else{V=","}let K;if(Array.isArray(v)){K=v}else if(typeof v==="object"&&v.toString===Object.prototype.toString){K=Object.entries(v).flat()}else{K=[v]}const ee=K.map((p=>{if(p===null||p===undefined){return""}if(!p.toString||typeof p.toString!=="function"){throw new Error(`Query parameters must be able to be represented as string, ${i} can't`)}const v=p.toISOString!==undefined?p.toISOString():p.toString();return d?v:encodeURIComponent(v)})).join(V);return`${d?i:encodeURIComponent(i)}=${ee}`}function appendQueryParams(i,d={}){if(!d.queryParameters){return i}const p=new URL(i);const v=d.queryParameters;const V=[];for(const i of Object.keys(v)){const p=v[i];if(p===undefined||p===null){continue}const K=isQueryParameterWithOptions(p);const ee=K?p.value:p;const te=K?p.explode??false:false;const re=K&&p.style?p.style:"form";if(te){if(Array.isArray(ee)){for(const p of ee){V.push(getQueryParamValue(i,d.skipUrlEncoding??false,re,p))}}else if(typeof ee==="object"){for(const[i,p]of Object.entries(ee)){V.push(getQueryParamValue(i,d.skipUrlEncoding??false,re,p))}}else{throw new Error("explode can only be set to true for objects and arrays")}}else{V.push(getQueryParamValue(i,d.skipUrlEncoding??false,re,ee))}}if(p.search!==""){p.search+="&"}p.search+=V.join("&");return p.toString()}function buildBaseUrl(i,d){if(!d.pathParameters){return i}const p=d.pathParameters;for(const[v,V]of Object.entries(p)){if(V===undefined||V===null){throw new Error(`Path parameters ${v} must not be undefined or null`)}if(!V.toString||typeof V.toString!=="function"){throw new Error(`Path parameters must be able to be represented as string, ${v} can't`)}let p=V.toISOString!==undefined?V.toISOString():String(V);if(!d.skipUrlEncoding){p=encodeURIComponent(V)}i=replaceAll(i,`{${v}}`,p)??""}return i}function buildRoutePath(i,d,p={}){for(const v of d){const d=typeof v==="object"&&(v.allowReserved??false);let V=typeof v==="object"?v.value:v;if(!p.skipUrlEncoding&&!d){V=encodeURIComponent(V)}i=i.replace(/\{[\w-]+\}/,String(V))}return i}function replaceAll(i,d,p){return!i||!d?i:i.split(d).join(p||"")}},31255:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.DEFAULT_RETRY_POLICY_COUNT=d.SDK_VERSION=void 0;d.SDK_VERSION="0.3.2";d.DEFAULT_RETRY_POLICY_COUNT=3},91810:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createPipelineFromOptions=createPipelineFromOptions;const v=p(47129);const V=p(22338);const K=p(92187);const ee=p(91691);const te=p(35035);const re=p(32462);const ne=p(14197);const ie=p(85086);const se=p(80067);const oe=p(85366);const ae=p(96690);const ce=p(27427);function createPipelineFromOptions(i){const d=(0,V.createEmptyPipeline)();if(ie.isNodeLike){if(i.agent){d.addPolicy((0,oe.agentPolicy)(i.agent))}if(i.tlsOptions){d.addPolicy((0,ae.tlsPolicy)(i.tlsOptions))}d.addPolicy((0,se.proxyPolicy)(i.proxyOptions));d.addPolicy((0,te.decompressResponsePolicy)())}d.addPolicy((0,ne.formDataPolicy)(),{beforePolicies:[ce.multipartPolicyName]});d.addPolicy((0,ee.userAgentPolicy)(i.userAgentOptions));d.addPolicy((0,ce.multipartPolicy)(),{afterPhase:"Deserialize"});d.addPolicy((0,re.defaultRetryPolicy)(i.retryOptions),{phase:"Retry"});if(ie.isNodeLike){d.addPolicy((0,K.redirectPolicy)(i.redirectOptions),{afterPhase:"Retry"})}d.addPolicy((0,v.logPolicy)(i.loggingOptions),{afterPhase:"Sign"});return d}},69468:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createDefaultHttpClient=createDefaultHttpClient;const v=p(21167);function createDefaultHttpClient(){return(0,v.createNodeHttpClient)()}},4220:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.createHttpHeaders=createHttpHeaders;function normalizeName(i){return i.toLowerCase()}function*headerIterator(i){for(const d of i.values()){yield[d.name,d.value]}}class HttpHeadersImpl{_headersMap;constructor(i){this._headersMap=new Map;if(i){for(const d of Object.keys(i)){this.set(d,i[d])}}}set(i,d){this._headersMap.set(normalizeName(i),{name:i,value:String(d).trim()})}get(i){return this._headersMap.get(normalizeName(i))?.value}has(i){return this._headersMap.has(normalizeName(i))}delete(i){this._headersMap.delete(normalizeName(i))}toJSON(i={}){const d={};if(i.preserveCase){for(const i of this._headersMap.values()){d[i.name]=i.value}}else{for(const[i,p]of this._headersMap){d[i]=p.value}}return d}toString(){return JSON.stringify(this.toJSON({preserveCase:true}))}[Symbol.iterator](){return headerIterator(this._headersMap)}}function createHttpHeaders(i){return new HttpHeadersImpl(i)}},41958:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createRestError=d.operationOptionsToRequestParameters=d.getClient=d.createDefaultHttpClient=d.uint8ArrayToString=d.stringToUint8Array=d.isRestError=d.RestError=d.createEmptyPipeline=d.createPipelineRequest=d.createHttpHeaders=d.TypeSpecRuntimeLogger=d.setLogLevel=d.getLogLevel=d.createClientLogger=d.AbortError=void 0;const v=p(61860);var V=p(99992);Object.defineProperty(d,"AbortError",{enumerable:true,get:function(){return V.AbortError}});var K=p(18459);Object.defineProperty(d,"createClientLogger",{enumerable:true,get:function(){return K.createClientLogger}});Object.defineProperty(d,"getLogLevel",{enumerable:true,get:function(){return K.getLogLevel}});Object.defineProperty(d,"setLogLevel",{enumerable:true,get:function(){return K.setLogLevel}});Object.defineProperty(d,"TypeSpecRuntimeLogger",{enumerable:true,get:function(){return K.TypeSpecRuntimeLogger}});var ee=p(4220);Object.defineProperty(d,"createHttpHeaders",{enumerable:true,get:function(){return ee.createHttpHeaders}});v.__exportStar(p(92097),d);v.__exportStar(p(43097),d);var te=p(72305);Object.defineProperty(d,"createPipelineRequest",{enumerable:true,get:function(){return te.createPipelineRequest}});var re=p(22338);Object.defineProperty(d,"createEmptyPipeline",{enumerable:true,get:function(){return re.createEmptyPipeline}});var ne=p(9758);Object.defineProperty(d,"RestError",{enumerable:true,get:function(){return ne.RestError}});Object.defineProperty(d,"isRestError",{enumerable:true,get:function(){return ne.isRestError}});var ie=p(82921);Object.defineProperty(d,"stringToUint8Array",{enumerable:true,get:function(){return ie.stringToUint8Array}});Object.defineProperty(d,"uint8ArrayToString",{enumerable:true,get:function(){return ie.uint8ArrayToString}});var se=p(69468);Object.defineProperty(d,"createDefaultHttpClient",{enumerable:true,get:function(){return se.createDefaultHttpClient}});var oe=p(86191);Object.defineProperty(d,"getClient",{enumerable:true,get:function(){return oe.getClient}});var ae=p(19635);Object.defineProperty(d,"operationOptionsToRequestParameters",{enumerable:true,get:function(){return ae.operationOptionsToRequestParameters}});var ce=p(97332);Object.defineProperty(d,"createRestError",{enumerable:true,get:function(){return ce.createRestError}})},3644:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.logger=void 0;const v=p(18459);d.logger=(0,v.createClientLogger)("ts-http-runtime")},36836:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});const v=p(38029);const V=typeof process!=="undefined"&&process.env&&process.env.DEBUG||undefined;let K;let ee=[];let te=[];const re=[];if(V){enable(V)}const ne=Object.assign((i=>createDebugger(i)),{enable:enable,enabled:enabled,disable:disable,log:v.log});function enable(i){K=i;ee=[];te=[];const d=i.split(",").map((i=>i.trim()));for(const i of d){if(i.startsWith("-")){te.push(i.substring(1))}else{ee.push(i)}}for(const i of re){i.enabled=enabled(i.namespace)}}function enabled(i){if(i.endsWith("*")){return true}for(const d of te){if(namespaceMatches(i,d)){return false}}for(const d of ee){if(namespaceMatches(i,d)){return true}}return false}function namespaceMatches(i,d){if(d.indexOf("*")===-1){return i===d}let p=d;if(d.indexOf("**")!==-1){const i=[];let v="";for(const p of d){if(p==="*"&&v==="*"){continue}else{v=p;i.push(p)}}p=i.join("")}let v=0;let V=0;const K=p.length;const ee=i.length;let te=-1;let re=-1;while(v=0){V=te+1;v=re+1;if(v===ee){return false}while(i[v]!==p[V]){v++;if(v===ee){return false}}re=v;v++;V++;continue}else{return false}}const ne=v===i.length;const ie=V===p.length;const se=V===p.length-1&&p[V]==="*";return ne&&(ie||se)}function disable(){const i=K||"";enable("");return i}function createDebugger(i){const d=Object.assign(debug,{enabled:enabled(i),destroy:destroy,log:ne.log,namespace:i,extend:extend});function debug(...p){if(!d.enabled){return}if(p.length>0){p[0]=`${i} ${p[0]}`}d.log(...p)}re.push(d);return d}function destroy(){const i=re.indexOf(this);if(i>=0){re.splice(i,1);return true}return false}function extend(i){const d=createDebugger(`${this.namespace}:${i}`);d.log=this.log;return d}d["default"]=ne},82490:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createLoggerContext=void 0;var v=p(18459);Object.defineProperty(d,"createLoggerContext",{enumerable:true,get:function(){return v.createLoggerContext}})},38029:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.log=log;const v=p(61860);const V=p(48161);const K=v.__importDefault(p(57975));const ee=v.__importDefault(p(1708));function log(i,...d){ee.default.stderr.write(`${K.default.format(i,...d)}${V.EOL}`)}},18459:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.TypeSpecRuntimeLogger=void 0;d.createLoggerContext=createLoggerContext;d.setLogLevel=setLogLevel;d.getLogLevel=getLogLevel;d.createClientLogger=createClientLogger;const v=p(61860);const V=v.__importDefault(p(36836));const K=["verbose","info","warning","error"];const ee={verbose:400,info:300,warning:200,error:100};function patchLogMethod(i,d){d.log=(...d)=>{i.log(...d)}}function isTypeSpecRuntimeLogLevel(i){return K.includes(i)}function createLoggerContext(i){const d=new Set;const p=typeof process!=="undefined"&&process.env&&process.env[i.logLevelEnvVarName]||undefined;let v;const te=(0,V.default)(i.namespace);te.log=(...i)=>{V.default.log(...i)};function contextSetLogLevel(i){if(i&&!isTypeSpecRuntimeLogLevel(i)){throw new Error(`Unknown log level '${i}'. Acceptable values: ${K.join(",")}`)}v=i;const p=[];for(const i of d){if(shouldEnable(i)){p.push(i.namespace)}}V.default.enable(p.join(","))}if(p){if(isTypeSpecRuntimeLogLevel(p)){contextSetLogLevel(p)}else{console.error(`${i.logLevelEnvVarName} set to unknown log level '${p}'; logging is not enabled. Acceptable values: ${K.join(", ")}.`)}}function shouldEnable(i){return Boolean(v&&ee[i.level]<=ee[v])}function createLogger(i,p){const v=Object.assign(i.extend(p),{level:p});patchLogMethod(i,v);if(shouldEnable(v)){const i=V.default.disable();V.default.enable(i+","+v.namespace)}d.add(v);return v}function contextGetLogLevel(){return v}function contextCreateClientLogger(i){const d=te.extend(i);patchLogMethod(te,d);return{error:createLogger(d,"error"),warning:createLogger(d,"warning"),info:createLogger(d,"info"),verbose:createLogger(d,"verbose")}}return{setLogLevel:contextSetLogLevel,getLogLevel:contextGetLogLevel,createClientLogger:contextCreateClientLogger,logger:te}}const te=createLoggerContext({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"});d.TypeSpecRuntimeLogger=te.logger;function setLogLevel(i){te.setLogLevel(i)}function getLogLevel(){return te.getLogLevel()}function createClientLogger(i){return te.createClientLogger(i)}},21167:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getBodyLength=getBodyLength;d.createNodeHttpClient=createNodeHttpClient;const v=p(61860);const V=v.__importDefault(p(37067));const K=v.__importDefault(p(44708));const ee=v.__importDefault(p(38522));const te=p(57075);const re=p(99992);const ne=p(4220);const ie=p(9758);const se=p(3644);const oe=p(7784);const ae={};function isReadableStream(i){return i&&typeof i.pipe==="function"}function isStreamComplete(i){if(i.readable===false){return Promise.resolve()}return new Promise((d=>{const handler=()=>{d();i.removeListener("close",handler);i.removeListener("end",handler);i.removeListener("error",handler)};i.on("close",handler);i.on("end",handler);i.on("error",handler)}))}function isArrayBuffer(i){return i&&typeof i.byteLength==="number"}class ReportTransform extends te.Transform{loadedBytes=0;progressCallback;_transform(i,d,p){this.push(i);this.loadedBytes+=i.length;try{this.progressCallback({loadedBytes:this.loadedBytes});p()}catch(i){p(i)}}constructor(i){super();this.progressCallback=i}}class NodeHttpClient{cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(i){const d=new AbortController;let p;if(i.abortSignal){if(i.abortSignal.aborted){throw new re.AbortError("The operation was aborted. Request has already been canceled.")}p=i=>{if(i.type==="abort"){d.abort()}};i.abortSignal.addEventListener("abort",p)}let v;if(i.timeout>0){v=setTimeout((()=>{const p=new oe.Sanitizer;se.logger.info(`request to '${p.sanitizeUrl(i.url)}' timed out. canceling...`);d.abort()}),i.timeout)}const V=i.headers.get("Accept-Encoding");const K=V?.includes("gzip")||V?.includes("deflate");let ee=typeof i.body==="function"?i.body():i.body;if(ee&&!i.headers.has("Content-Length")){const d=getBodyLength(ee);if(d!==null){i.headers.set("Content-Length",d)}}let te;try{if(ee&&i.onUploadProgress){const d=i.onUploadProgress;const p=new ReportTransform(d);p.on("error",(i=>{se.logger.error("Error in upload progress",i)}));if(isReadableStream(ee)){ee.pipe(p)}else{p.end(ee)}ee=p}const p=await this.makeRequest(i,d,ee);if(v!==undefined){clearTimeout(v)}const V=getResponseHeaders(p);const re=p.statusCode??0;const ne={status:re,headers:V,request:i};if(i.method==="HEAD"){p.resume();return ne}te=K?getDecodedResponseStream(p,V):p;const ie=i.onDownloadProgress;if(ie){const i=new ReportTransform(ie);i.on("error",(i=>{se.logger.error("Error in download progress",i)}));te.pipe(i);te=i}if(i.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||i.streamResponseStatusCodes?.has(ne.status)){ne.readableStreamBody=te}else{ne.bodyAsText=await streamToText(te)}return ne}finally{if(i.abortSignal&&p){let d=Promise.resolve();if(isReadableStream(ee)){d=isStreamComplete(ee)}let v=Promise.resolve();if(isReadableStream(te)){v=isStreamComplete(te)}Promise.all([d,v]).then((()=>{if(p){i.abortSignal?.removeEventListener("abort",p)}})).catch((i=>{se.logger.warning("Error when cleaning up abortListener on httpRequest",i)}))}}}makeRequest(i,d,p){const v=new URL(i.url);const ee=v.protocol!=="https:";if(ee&&!i.allowInsecureConnection){throw new Error(`Cannot connect to ${i.url} while allowInsecureConnection is false.`)}const te=i.agent??this.getOrCreateAgent(i,ee);const ne={agent:te,hostname:v.hostname,path:`${v.pathname}${v.search}`,port:v.port,method:i.method,headers:i.headers.toJSON({preserveCase:true}),...i.requestOverrides};return new Promise(((v,te)=>{const oe=ee?V.default.request(ne,v):K.default.request(ne,v);oe.once("error",(d=>{te(new ie.RestError(d.message,{code:d.code??ie.RestError.REQUEST_SEND_ERROR,request:i}))}));d.signal.addEventListener("abort",(()=>{const i=new re.AbortError("The operation was aborted. Rejecting from abort signal callback while making request.");oe.destroy(i);te(i)}));if(p&&isReadableStream(p)){p.pipe(oe)}else if(p){if(typeof p==="string"||Buffer.isBuffer(p)){oe.end(p)}else if(isArrayBuffer(p)){oe.end(ArrayBuffer.isView(p)?Buffer.from(p.buffer):Buffer.from(p))}else{se.logger.error("Unrecognized body type",p);te(new ie.RestError("Unrecognized body type"))}}else{oe.end()}}))}getOrCreateAgent(i,d){const p=i.disableKeepAlive;if(d){if(p){return V.default.globalAgent}if(!this.cachedHttpAgent){this.cachedHttpAgent=new V.default.Agent({keepAlive:true})}return this.cachedHttpAgent}else{if(p&&!i.tlsSettings){return K.default.globalAgent}const d=i.tlsSettings??ae;let v=this.cachedHttpsAgents.get(d);if(v&&v.options.keepAlive===!p){return v}se.logger.info("No cached TLS Agent exist, creating a new Agent");v=new K.default.Agent({keepAlive:!p,...d});this.cachedHttpsAgents.set(d,v);return v}}}function getResponseHeaders(i){const d=(0,ne.createHttpHeaders)();for(const p of Object.keys(i.headers)){const v=i.headers[p];if(Array.isArray(v)){if(v.length>0){d.set(p,v[0])}}else if(v){d.set(p,v)}}return d}function getDecodedResponseStream(i,d){const p=d.get("Content-Encoding");if(p==="gzip"){const d=ee.default.createGunzip();i.pipe(d);return d}else if(p==="deflate"){const d=ee.default.createInflate();i.pipe(d);return d}return i}function streamToText(i){return new Promise(((d,p)=>{const v=[];i.on("data",(i=>{if(Buffer.isBuffer(i)){v.push(i)}else{v.push(Buffer.from(i))}}));i.on("end",(()=>{d(Buffer.concat(v).toString("utf8"))}));i.on("error",(i=>{if(i&&i?.name==="AbortError"){p(i)}else{p(new ie.RestError(`Error reading response as text: ${i.message}`,{code:ie.RestError.PARSE_ERROR}))}}))}))}function getBodyLength(i){if(!i){return 0}else if(Buffer.isBuffer(i)){return i.length}else if(isReadableStream(i)){return null}else if(isArrayBuffer(i)){return i.byteLength}else if(typeof i==="string"){return Buffer.from(i).length}else{return null}}function createNodeHttpClient(){return new NodeHttpClient}},22338:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.createEmptyPipeline=createEmptyPipeline;const p=new Set(["Deserialize","Serialize","Retry","Sign"]);class HttpPipeline{_policies=[];_orderedPolicies;constructor(i){this._policies=i?.slice(0)??[];this._orderedPolicies=undefined}addPolicy(i,d={}){if(d.phase&&d.afterPhase){throw new Error("Policies inside a phase cannot specify afterPhase.")}if(d.phase&&!p.has(d.phase)){throw new Error(`Invalid phase name: ${d.phase}`)}if(d.afterPhase&&!p.has(d.afterPhase)){throw new Error(`Invalid afterPhase name: ${d.afterPhase}`)}this._policies.push({policy:i,options:d});this._orderedPolicies=undefined}removePolicy(i){const d=[];this._policies=this._policies.filter((p=>{if(i.name&&p.policy.name===i.name||i.phase&&p.options.phase===i.phase){d.push(p.policy);return false}else{return true}}));this._orderedPolicies=undefined;return d}sendRequest(i,d){const p=this.getOrderedPolicies();const v=p.reduceRight(((i,d)=>p=>d.sendRequest(p,i)),(d=>i.sendRequest(d)));return v(d)}getOrderedPolicies(){if(!this._orderedPolicies){this._orderedPolicies=this.orderPolicies()}return this._orderedPolicies}clone(){return new HttpPipeline(this._policies)}static create(){return new HttpPipeline}orderPolicies(){const i=[];const d=new Map;function createPhase(i){return{name:i,policies:new Set,hasRun:false,hasAfterPolicies:false}}const p=createPhase("Serialize");const v=createPhase("None");const V=createPhase("Deserialize");const K=createPhase("Retry");const ee=createPhase("Sign");const te=[p,v,V,K,ee];function getPhase(i){if(i==="Retry"){return K}else if(i==="Serialize"){return p}else if(i==="Deserialize"){return V}else if(i==="Sign"){return ee}else{return v}}for(const i of this._policies){const p=i.policy;const v=i.options;const V=p.name;if(d.has(V)){throw new Error("Duplicate policy names not allowed in pipeline")}const K={policy:p,dependsOn:new Set,dependants:new Set};if(v.afterPhase){K.afterPhase=getPhase(v.afterPhase);K.afterPhase.hasAfterPolicies=true}d.set(V,K);const ee=getPhase(v.phase);ee.policies.add(K)}for(const i of this._policies){const{policy:p,options:v}=i;const V=p.name;const K=d.get(V);if(!K){throw new Error(`Missing node for policy ${V}`)}if(v.afterPolicies){for(const i of v.afterPolicies){const p=d.get(i);if(p){K.dependsOn.add(p);p.dependants.add(K)}}}if(v.beforePolicies){for(const i of v.beforePolicies){const p=d.get(i);if(p){p.dependsOn.add(K);K.dependants.add(p)}}}}function walkPhase(p){p.hasRun=true;for(const v of p.policies){if(v.afterPhase&&(!v.afterPhase.hasRun||v.afterPhase.policies.size)){continue}if(v.dependsOn.size===0){i.push(v.policy);for(const i of v.dependants){i.dependsOn.delete(v)}d.delete(v.policy.name);p.policies.delete(v)}}}function walkPhases(){for(const i of te){walkPhase(i);if(i.policies.size>0&&i!==v){if(!v.hasRun){walkPhase(v)}return}if(i.hasAfterPolicies){walkPhase(v)}}}let re=0;while(d.size>0){re++;const d=i.length;walkPhases();if(i.length<=d&&re>1){throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}}return i}}function createEmptyPipeline(){return HttpPipeline.create()}},72305:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createPipelineRequest=createPipelineRequest;const v=p(4220);const V=p(5023);class PipelineRequestImpl{url;method;headers;timeout;withCredentials;body;multipartBody;formData;streamResponseStatusCodes;enableBrowserStreams;proxySettings;disableKeepAlive;abortSignal;requestId;allowInsecureConnection;onUploadProgress;onDownloadProgress;requestOverrides;authSchemes;constructor(i){this.url=i.url;this.body=i.body;this.headers=i.headers??(0,v.createHttpHeaders)();this.method=i.method??"GET";this.timeout=i.timeout??0;this.multipartBody=i.multipartBody;this.formData=i.formData;this.disableKeepAlive=i.disableKeepAlive??false;this.proxySettings=i.proxySettings;this.streamResponseStatusCodes=i.streamResponseStatusCodes;this.withCredentials=i.withCredentials??false;this.abortSignal=i.abortSignal;this.onUploadProgress=i.onUploadProgress;this.onDownloadProgress=i.onDownloadProgress;this.requestId=i.requestId||(0,V.randomUUID)();this.allowInsecureConnection=i.allowInsecureConnection??false;this.enableBrowserStreams=i.enableBrowserStreams??false;this.requestOverrides=i.requestOverrides;this.authSchemes=i.authSchemes}}function createPipelineRequest(i){return new PipelineRequestImpl(i)}},85366:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.agentPolicyName=void 0;d.agentPolicy=agentPolicy;d.agentPolicyName="agentPolicy";function agentPolicy(i){return{name:d.agentPolicyName,sendRequest:async(d,p)=>{if(!d.agent){d.agent=i}return p(d)}}}},42095:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.apiKeyAuthenticationPolicyName=void 0;d.apiKeyAuthenticationPolicy=apiKeyAuthenticationPolicy;const v=p(42302);d.apiKeyAuthenticationPolicyName="apiKeyAuthenticationPolicy";function apiKeyAuthenticationPolicy(i){return{name:d.apiKeyAuthenticationPolicyName,async sendRequest(d,p){(0,v.ensureSecureConnection)(d,i);const V=(d.authSchemes??i.authSchemes)?.find((i=>i.kind==="apiKey"));if(!V){return p(d)}if(V.apiKeyLocation!=="header"){throw new Error(`Unsupported API key location: ${V.apiKeyLocation}`)}d.headers.set(V.name,i.credential.key);return p(d)}}}},15756:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.basicAuthenticationPolicyName=void 0;d.basicAuthenticationPolicy=basicAuthenticationPolicy;const v=p(82921);const V=p(42302);d.basicAuthenticationPolicyName="bearerAuthenticationPolicy";function basicAuthenticationPolicy(i){return{name:d.basicAuthenticationPolicyName,async sendRequest(d,p){(0,V.ensureSecureConnection)(d,i);const K=(d.authSchemes??i.authSchemes)?.find((i=>i.kind==="http"&&i.scheme==="basic"));if(!K){return p(d)}const{username:ee,password:te}=i.credential;const re=(0,v.uint8ArrayToString)((0,v.stringToUint8Array)(`${ee}:${te}`,"utf-8"),"base64");d.headers.set("Authorization",`Basic ${re}`);return p(d)}}}},89709:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.bearerAuthenticationPolicyName=void 0;d.bearerAuthenticationPolicy=bearerAuthenticationPolicy;const v=p(42302);d.bearerAuthenticationPolicyName="bearerAuthenticationPolicy";function bearerAuthenticationPolicy(i){return{name:d.bearerAuthenticationPolicyName,async sendRequest(d,p){(0,v.ensureSecureConnection)(d,i);const V=(d.authSchemes??i.authSchemes)?.find((i=>i.kind==="http"&&i.scheme==="bearer"));if(!V){return p(d)}const K=await i.credential.getBearerToken({abortSignal:d.abortSignal});d.headers.set("Authorization",`Bearer ${K}`);return p(d)}}}},42302:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ensureSecureConnection=ensureSecureConnection;const v=p(3644);let V=false;function allowInsecureConnection(i,d){if(d.allowInsecureConnection&&i.allowInsecureConnection){const d=new URL(i.url);if(d.hostname==="localhost"||d.hostname==="127.0.0.1"){return true}}return false}function emitInsecureConnectionWarning(){const i="Sending token over insecure transport. Assume any token issued is compromised.";v.logger.warning(i);if(typeof process?.emitWarning==="function"&&!V){V=true;process.emitWarning(i)}}function ensureSecureConnection(i,d){if(!i.url.toLowerCase().startsWith("https://")){if(allowInsecureConnection(i,d)){emitInsecureConnectionWarning()}else{throw new Error("Authentication is not permitted for non-TLS protected (non-https) URLs when allowInsecureConnection is false.")}}}},20219:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.oauth2AuthenticationPolicyName=void 0;d.oauth2AuthenticationPolicy=oauth2AuthenticationPolicy;const v=p(42302);d.oauth2AuthenticationPolicyName="oauth2AuthenticationPolicy";function oauth2AuthenticationPolicy(i){return{name:d.oauth2AuthenticationPolicyName,async sendRequest(d,p){(0,v.ensureSecureConnection)(d,i);const V=(d.authSchemes??i.authSchemes)?.find((i=>i.kind==="oauth2"));if(!V){return p(d)}const K=await i.credential.getOAuth2Token(V.flows,{abortSignal:d.abortSignal});d.headers.set("Authorization",`Bearer ${K}`);return p(d)}}}},35035:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.decompressResponsePolicyName=void 0;d.decompressResponsePolicy=decompressResponsePolicy;d.decompressResponsePolicyName="decompressResponsePolicy";function decompressResponsePolicy(){return{name:d.decompressResponsePolicyName,async sendRequest(i,d){if(i.method!=="HEAD"){i.headers.set("Accept-Encoding","gzip,deflate")}return d(i)}}}},32462:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.defaultRetryPolicyName=void 0;d.defaultRetryPolicy=defaultRetryPolicy;const v=p(98102);const V=p(21112);const K=p(43345);const ee=p(31255);d.defaultRetryPolicyName="defaultRetryPolicy";function defaultRetryPolicy(i={}){return{name:d.defaultRetryPolicyName,sendRequest:(0,K.retryPolicy)([(0,V.throttlingRetryStrategy)(),(0,v.exponentialRetryStrategy)(i)],{maxRetries:i.maxRetries??ee.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}},74656:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.exponentialRetryPolicyName=void 0;d.exponentialRetryPolicy=exponentialRetryPolicy;const v=p(98102);const V=p(43345);const K=p(31255);d.exponentialRetryPolicyName="exponentialRetryPolicy";function exponentialRetryPolicy(i={}){return(0,V.retryPolicy)([(0,v.exponentialRetryStrategy)({...i,ignoreSystemErrors:true})],{maxRetries:i.maxRetries??K.DEFAULT_RETRY_POLICY_COUNT})}},14197:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.formDataPolicyName=void 0;d.formDataPolicy=formDataPolicy;const v=p(82921);const V=p(85086);const K=p(4220);d.formDataPolicyName="formDataPolicy";function formDataToFormDataMap(i){const d={};for(const[p,v]of i.entries()){d[p]??=[];d[p].push(v)}return d}function formDataPolicy(){return{name:d.formDataPolicyName,async sendRequest(i,d){if(V.isNodeLike&&typeof FormData!=="undefined"&&i.body instanceof FormData){i.formData=formDataToFormDataMap(i.body);i.body=undefined}if(i.formData){const d=i.headers.get("Content-Type");if(d&&d.indexOf("application/x-www-form-urlencoded")!==-1){i.body=wwwFormUrlEncode(i.formData)}else{await prepareFormData(i.formData,i)}i.formData=undefined}return d(i)}}}function wwwFormUrlEncode(i){const d=new URLSearchParams;for(const[p,v]of Object.entries(i)){if(Array.isArray(v)){for(const i of v){d.append(p,i.toString())}}else{d.append(p,v.toString())}}return d.toString()}async function prepareFormData(i,d){const p=d.headers.get("Content-Type");if(p&&!p.startsWith("multipart/form-data")){return}d.headers.set("Content-Type",p??"multipart/form-data");const V=[];for(const[d,p]of Object.entries(i)){for(const i of Array.isArray(p)?p:[p]){if(typeof i==="string"){V.push({headers:(0,K.createHttpHeaders)({"Content-Disposition":`form-data; name="${d}"`}),body:(0,v.stringToUint8Array)(i,"utf-8")})}else if(i===undefined||i===null||typeof i!=="object"){throw new Error(`Unexpected value for key ${d}: ${i}. Value should be serialized to string first.`)}else{const p=i.name||"blob";const v=(0,K.createHttpHeaders)();v.set("Content-Disposition",`form-data; name="${d}"; filename="${p}"`);v.set("Content-Type",i.type||"application/octet-stream");V.push({headers:v,body:i})}}}d.multipartBody={parts:V}}},44960:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.userAgentPolicyName=d.userAgentPolicy=d.tlsPolicyName=d.tlsPolicy=d.redirectPolicyName=d.redirectPolicy=d.getDefaultProxySettings=d.proxyPolicyName=d.proxyPolicy=d.multipartPolicyName=d.multipartPolicy=d.logPolicyName=d.logPolicy=d.formDataPolicyName=d.formDataPolicy=d.throttlingRetryPolicyName=d.throttlingRetryPolicy=d.systemErrorRetryPolicyName=d.systemErrorRetryPolicy=d.retryPolicy=d.exponentialRetryPolicyName=d.exponentialRetryPolicy=d.defaultRetryPolicyName=d.defaultRetryPolicy=d.decompressResponsePolicyName=d.decompressResponsePolicy=d.agentPolicyName=d.agentPolicy=void 0;var v=p(85366);Object.defineProperty(d,"agentPolicy",{enumerable:true,get:function(){return v.agentPolicy}});Object.defineProperty(d,"agentPolicyName",{enumerable:true,get:function(){return v.agentPolicyName}});var V=p(35035);Object.defineProperty(d,"decompressResponsePolicy",{enumerable:true,get:function(){return V.decompressResponsePolicy}});Object.defineProperty(d,"decompressResponsePolicyName",{enumerable:true,get:function(){return V.decompressResponsePolicyName}});var K=p(32462);Object.defineProperty(d,"defaultRetryPolicy",{enumerable:true,get:function(){return K.defaultRetryPolicy}});Object.defineProperty(d,"defaultRetryPolicyName",{enumerable:true,get:function(){return K.defaultRetryPolicyName}});var ee=p(74656);Object.defineProperty(d,"exponentialRetryPolicy",{enumerable:true,get:function(){return ee.exponentialRetryPolicy}});Object.defineProperty(d,"exponentialRetryPolicyName",{enumerable:true,get:function(){return ee.exponentialRetryPolicyName}});var te=p(43345);Object.defineProperty(d,"retryPolicy",{enumerable:true,get:function(){return te.retryPolicy}});var re=p(92418);Object.defineProperty(d,"systemErrorRetryPolicy",{enumerable:true,get:function(){return re.systemErrorRetryPolicy}});Object.defineProperty(d,"systemErrorRetryPolicyName",{enumerable:true,get:function(){return re.systemErrorRetryPolicyName}});var ne=p(24728);Object.defineProperty(d,"throttlingRetryPolicy",{enumerable:true,get:function(){return ne.throttlingRetryPolicy}});Object.defineProperty(d,"throttlingRetryPolicyName",{enumerable:true,get:function(){return ne.throttlingRetryPolicyName}});var ie=p(14197);Object.defineProperty(d,"formDataPolicy",{enumerable:true,get:function(){return ie.formDataPolicy}});Object.defineProperty(d,"formDataPolicyName",{enumerable:true,get:function(){return ie.formDataPolicyName}});var se=p(47129);Object.defineProperty(d,"logPolicy",{enumerable:true,get:function(){return se.logPolicy}});Object.defineProperty(d,"logPolicyName",{enumerable:true,get:function(){return se.logPolicyName}});var oe=p(27427);Object.defineProperty(d,"multipartPolicy",{enumerable:true,get:function(){return oe.multipartPolicy}});Object.defineProperty(d,"multipartPolicyName",{enumerable:true,get:function(){return oe.multipartPolicyName}});var ae=p(80067);Object.defineProperty(d,"proxyPolicy",{enumerable:true,get:function(){return ae.proxyPolicy}});Object.defineProperty(d,"proxyPolicyName",{enumerable:true,get:function(){return ae.proxyPolicyName}});Object.defineProperty(d,"getDefaultProxySettings",{enumerable:true,get:function(){return ae.getDefaultProxySettings}});var ce=p(92187);Object.defineProperty(d,"redirectPolicy",{enumerable:true,get:function(){return ce.redirectPolicy}});Object.defineProperty(d,"redirectPolicyName",{enumerable:true,get:function(){return ce.redirectPolicyName}});var le=p(96690);Object.defineProperty(d,"tlsPolicy",{enumerable:true,get:function(){return le.tlsPolicy}});Object.defineProperty(d,"tlsPolicyName",{enumerable:true,get:function(){return le.tlsPolicyName}});var ue=p(91691);Object.defineProperty(d,"userAgentPolicy",{enumerable:true,get:function(){return ue.userAgentPolicy}});Object.defineProperty(d,"userAgentPolicyName",{enumerable:true,get:function(){return ue.userAgentPolicyName}})},47129:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.logPolicyName=void 0;d.logPolicy=logPolicy;const v=p(3644);const V=p(7784);d.logPolicyName="logPolicy";function logPolicy(i={}){const p=i.logger??v.logger.info;const K=new V.Sanitizer({additionalAllowedHeaderNames:i.additionalAllowedHeaderNames,additionalAllowedQueryParameters:i.additionalAllowedQueryParameters});return{name:d.logPolicyName,async sendRequest(i,d){if(!p.enabled){return d(i)}p(`Request: ${K.sanitize(i)}`);const v=await d(i);p(`Response status code: ${v.status}`);p(`Headers: ${K.sanitize(v.headers)}`);return v}}}},27427:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.multipartPolicyName=void 0;d.multipartPolicy=multipartPolicy;const v=p(82921);const V=p(48505);const K=p(5023);const ee=p(20547);function generateBoundary(){return`----AzSDKFormBoundary${(0,K.randomUUID)()}`}function encodeHeaders(i){let d="";for(const[p,v]of i){d+=`${p}: ${v}\r\n`}return d}function getLength(i){if(i instanceof Uint8Array){return i.byteLength}else if((0,V.isBlob)(i)){return i.size===-1?undefined:i.size}else{return undefined}}function getTotalLength(i){let d=0;for(const p of i){const i=getLength(p);if(i===undefined){return undefined}else{d+=i}}return d}async function buildRequestBody(i,d,p){const V=[(0,v.stringToUint8Array)(`--${p}`,"utf-8"),...d.flatMap((i=>[(0,v.stringToUint8Array)("\r\n","utf-8"),(0,v.stringToUint8Array)(encodeHeaders(i.headers),"utf-8"),(0,v.stringToUint8Array)("\r\n","utf-8"),i.body,(0,v.stringToUint8Array)(`\r\n--${p}`,"utf-8")])),(0,v.stringToUint8Array)("--\r\n\r\n","utf-8")];const K=getTotalLength(V);if(K){i.headers.set("Content-Length",K)}i.body=await(0,ee.concat)(V)}d.multipartPolicyName="multipartPolicy";const te=70;const re=new Set(`abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?`);function assertValidBoundary(i){if(i.length>te){throw new Error(`Multipart boundary "${i}" exceeds maximum length of 70 characters`)}if(Array.from(i).some((i=>!re.has(i)))){throw new Error(`Multipart boundary "${i}" contains invalid characters`)}}function multipartPolicy(){return{name:d.multipartPolicyName,async sendRequest(i,d){if(!i.multipartBody){return d(i)}if(i.body){throw new Error("multipartBody and regular body cannot be set at the same time")}let p=i.multipartBody.boundary;const v=i.headers.get("Content-Type")??"multipart/mixed";const V=v.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!V){throw new Error(`Got multipart request body, but content-type header was not multipart: ${v}`)}const[,K,ee]=V;if(ee&&p&&ee!==p){throw new Error(`Multipart boundary was specified as ${ee} in the header, but got ${p} in the request body`)}p??=ee;if(p){assertValidBoundary(p)}else{p=generateBoundary()}i.headers.set("Content-Type",`${K}; boundary=${p}`);await buildRequestBody(i,i.multipartBody.parts,p);i.multipartBody=undefined;return d(i)}}}},80067:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.globalNoProxyList=d.proxyPolicyName=void 0;d.loadNoProxy=loadNoProxy;d.getDefaultProxySettings=getDefaultProxySettings;d.proxyPolicy=proxyPolicy;const v=p(3669);const V=p(81970);const K=p(3644);const ee="HTTPS_PROXY";const te="HTTP_PROXY";const re="ALL_PROXY";const ne="NO_PROXY";d.proxyPolicyName="proxyPolicy";d.globalNoProxyList=[];let ie=false;const se=new Map;function getEnvironmentValue(i){if(process.env[i]){return process.env[i]}else if(process.env[i.toLowerCase()]){return process.env[i.toLowerCase()]}return undefined}function loadEnvironmentProxyValue(){if(!process){return undefined}const i=getEnvironmentValue(ee);const d=getEnvironmentValue(re);const p=getEnvironmentValue(te);return i||d||p}function isBypassed(i,d,p){if(d.length===0){return false}const v=new URL(i).hostname;if(p?.has(v)){return p.get(v)}let V=false;for(const i of d){if(i[0]==="."){if(v.endsWith(i)){V=true}else{if(v.length===i.length-1&&v===i.slice(1)){V=true}}}else{if(v===i){V=true}}}p?.set(v,V);return V}function loadNoProxy(){const i=getEnvironmentValue(ne);ie=true;if(i){return i.split(",").map((i=>i.trim())).filter((i=>i.length))}return[]}function getDefaultProxySettings(i){if(!i){i=loadEnvironmentProxyValue();if(!i){return undefined}}const d=new URL(i);const p=d.protocol?d.protocol+"//":"";return{host:p+d.hostname,port:Number.parseInt(d.port||"80"),username:d.username,password:d.password}}function getDefaultProxySettingsInternal(){const i=loadEnvironmentProxyValue();return i?new URL(i):undefined}function getUrlFromProxySettings(i){let d;try{d=new URL(i.host)}catch{throw new Error(`Expecting a valid host string in proxy settings, but found "${i.host}".`)}d.port=String(i.port);if(i.username){d.username=i.username}if(i.password){d.password=i.password}return d}function setProxyAgentOnRequest(i,d,p){if(i.agent){return}const ee=new URL(i.url);const te=ee.protocol!=="https:";if(i.tlsSettings){K.logger.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored.")}const re=i.headers.toJSON();if(te){if(!d.httpProxyAgent){d.httpProxyAgent=new V.HttpProxyAgent(p,{headers:re})}i.agent=d.httpProxyAgent}else{if(!d.httpsProxyAgent){d.httpsProxyAgent=new v.HttpsProxyAgent(p,{headers:re})}i.agent=d.httpsProxyAgent}}function proxyPolicy(i,p){if(!ie){d.globalNoProxyList.push(...loadNoProxy())}const v=i?getUrlFromProxySettings(i):getDefaultProxySettingsInternal();const V={};return{name:d.proxyPolicyName,async sendRequest(i,K){if(!i.proxySettings&&v&&!isBypassed(i.url,p?.customNoProxyList??d.globalNoProxyList,p?.customNoProxyList?undefined:se)){setProxyAgentOnRequest(i,V,v)}else if(i.proxySettings){setProxyAgentOnRequest(i,V,getUrlFromProxySettings(i.proxySettings))}return K(i)}}}},92187:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.redirectPolicyName=void 0;d.redirectPolicy=redirectPolicy;d.redirectPolicyName="redirectPolicy";const p=["GET","HEAD"];function redirectPolicy(i={}){const{maxRetries:p=20}=i;return{name:d.redirectPolicyName,async sendRequest(i,d){const v=await d(i);return handleRedirect(d,v,p)}}}async function handleRedirect(i,d,v,V=0){const{request:K,status:ee,headers:te}=d;const re=te.get("location");if(re&&(ee===300||ee===301&&p.includes(K.method)||ee===302&&p.includes(K.method)||ee===303&&K.method==="POST"||ee===307)&&V{Object.defineProperty(d,"__esModule",{value:true});d.retryPolicy=retryPolicy;const v=p(77566);const V=p(99992);const K=p(18459);const ee=p(31255);const te=(0,K.createClientLogger)("ts-http-runtime retryPolicy");const re="retryPolicy";function retryPolicy(i,d={maxRetries:ee.DEFAULT_RETRY_POLICY_COUNT}){const p=d.logger||te;return{name:re,async sendRequest(K,te){let re;let ne;let ie=-1;e:while(true){ie+=1;re=undefined;ne=undefined;try{p.info(`Retry ${ie}: Attempting to send request`,K.requestId);re=await te(K);p.info(`Retry ${ie}: Received a response from request`,K.requestId)}catch(i){p.error(`Retry ${ie}: Received an error from request`,K.requestId);ne=i;if(!i||ne.name!=="RestError"){throw i}re=ne.response}if(K.abortSignal?.aborted){p.error(`Retry ${ie}: Request aborted.`);const i=new V.AbortError;throw i}if(ie>=(d.maxRetries??ee.DEFAULT_RETRY_POLICY_COUNT)){p.info(`Retry ${ie}: Maximum retries reached. Returning the last received response, or throwing the last received error.`);if(ne){throw ne}else if(re){return re}else{throw new Error("Maximum retries reached with no response or error to throw")}}p.info(`Retry ${ie}: Processing ${i.length} retry strategies.`);t:for(const d of i){const i=d.logger||p;i.info(`Retry ${ie}: Processing retry strategy ${d.name}.`);const V=d.retry({retryCount:ie,response:re,responseError:ne});if(V.skipStrategy){i.info(`Retry ${ie}: Skipped.`);continue t}const{errorToThrow:ee,retryAfterInMs:te,redirectTo:se}=V;if(ee){i.error(`Retry ${ie}: Retry strategy ${d.name} throws error:`,ee);throw ee}if(te||te===0){i.info(`Retry ${ie}: Retry strategy ${d.name} retries after ${te}`);await(0,v.delay)(te,undefined,{abortSignal:K.abortSignal});continue e}if(se){i.info(`Retry ${ie}: Retry strategy ${d.name} redirects to ${se}`);K.url=se;continue e}}if(ne){p.info(`None of the retry strategies could work with the received error. Throwing it.`);throw ne}if(re){p.info(`None of the retry strategies could work with the received response. Returning it.`);return re}}}}}},92418:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.systemErrorRetryPolicyName=void 0;d.systemErrorRetryPolicy=systemErrorRetryPolicy;const v=p(98102);const V=p(43345);const K=p(31255);d.systemErrorRetryPolicyName="systemErrorRetryPolicy";function systemErrorRetryPolicy(i={}){return{name:d.systemErrorRetryPolicyName,sendRequest:(0,V.retryPolicy)([(0,v.exponentialRetryStrategy)({...i,ignoreHttpStatusCodes:true})],{maxRetries:i.maxRetries??K.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}},24728:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.throttlingRetryPolicyName=void 0;d.throttlingRetryPolicy=throttlingRetryPolicy;const v=p(21112);const V=p(43345);const K=p(31255);d.throttlingRetryPolicyName="throttlingRetryPolicy";function throttlingRetryPolicy(i={}){return{name:d.throttlingRetryPolicyName,sendRequest:(0,V.retryPolicy)([(0,v.throttlingRetryStrategy)()],{maxRetries:i.maxRetries??K.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}},96690:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.tlsPolicyName=void 0;d.tlsPolicy=tlsPolicy;d.tlsPolicyName="tlsPolicy";function tlsPolicy(i){return{name:d.tlsPolicyName,sendRequest:async(d,p)=>{if(!d.tlsSettings){d.tlsSettings=i}return p(d)}}}},91691:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.userAgentPolicyName=void 0;d.userAgentPolicy=userAgentPolicy;const v=p(62731);const V=(0,v.getUserAgentHeaderName)();d.userAgentPolicyName="userAgentPolicy";function userAgentPolicy(i={}){const p=(0,v.getUserAgentValue)(i.userAgentPrefix);return{name:d.userAgentPolicyName,async sendRequest(i,d){if(!i.headers.has(V)){i.headers.set(V,await p)}return d(i)}}}},9758:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.RestError=void 0;d.isRestError=isRestError;const v=p(52573);const V=p(37639);const K=p(7784);const ee=new K.Sanitizer;class RestError extends Error{static REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";static PARSE_ERROR="PARSE_ERROR";code;statusCode;request;response;details;constructor(i,d={}){super(i);this.name="RestError";this.code=d.code;this.statusCode=d.statusCode;Object.defineProperty(this,"request",{value:d.request,enumerable:false});Object.defineProperty(this,"response",{value:d.response,enumerable:false});const p=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:undefined;Object.defineProperty(this,V.custom,{value:()=>`RestError: ${this.message} \n ${ee.sanitize({...this,request:{...this.request,agent:p},response:this.response})}`,enumerable:false});Object.setPrototypeOf(this,RestError.prototype)}}d.RestError=RestError;function isRestError(i){if(i instanceof RestError){return true}return(0,v.isError)(i)&&i.name==="RestError"}},98102:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.exponentialRetryStrategy=exponentialRetryStrategy;d.isExponentialRetryResponse=isExponentialRetryResponse;d.isSystemError=isSystemError;const v=p(66776);const V=p(21112);const K=1e3;const ee=1e3*64;function exponentialRetryStrategy(i={}){const d=i.retryDelayInMs??K;const p=i.maxRetryDelayInMs??ee;return{name:"exponentialRetryStrategy",retry({retryCount:K,response:ee,responseError:te}){const re=isSystemError(te);const ne=re&&i.ignoreSystemErrors;const ie=isExponentialRetryResponse(ee);const se=ie&&i.ignoreHttpStatusCodes;const oe=ee&&((0,V.isThrottlingRetryResponse)(ee)||!ie);if(oe||se||ne){return{skipStrategy:true}}if(te&&!re&&!ie){return{errorToThrow:te}}return(0,v.calculateRetryDelay)(K,{retryDelayInMs:d,maxRetryDelayInMs:p})}}}function isExponentialRetryResponse(i){return Boolean(i&&i.status!==undefined&&(i.status>=500||i.status===408)&&i.status!==501&&i.status!==505)}function isSystemError(i){if(!i){return false}return i.code==="ETIMEDOUT"||i.code==="ESOCKETTIMEDOUT"||i.code==="ECONNREFUSED"||i.code==="ECONNRESET"||i.code==="ENOENT"||i.code==="ENOTFOUND"}},21112:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.isThrottlingRetryResponse=isThrottlingRetryResponse;d.throttlingRetryStrategy=throttlingRetryStrategy;const v=p(77566);const V="Retry-After";const K=["retry-after-ms","x-ms-retry-after-ms",V];function getRetryAfterInMs(i){if(!(i&&[429,503].includes(i.status)))return undefined;try{for(const d of K){const p=(0,v.parseHeaderValueAsNumber)(i,d);if(p===0||p){const i=d===V?1e3:1;return p*i}}const d=i.headers.get(V);if(!d)return;const p=Date.parse(d);const ee=p-Date.now();return Number.isFinite(ee)?Math.max(0,ee):undefined}catch{return undefined}}function isThrottlingRetryResponse(i){return Number.isFinite(getRetryAfterInMs(i))}function throttlingRetryStrategy(){return{name:"throttlingRetryStrategy",retry({response:i}){const d=getRetryAfterInMs(i);if(!Number.isFinite(d)){return{skipStrategy:true}}return{retryAfterInMs:d}}}}},82921:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.uint8ArrayToString=uint8ArrayToString;d.stringToUint8Array=stringToUint8Array;function uint8ArrayToString(i,d){return Buffer.from(i).toString(d)}function stringToUint8Array(i,d){return Buffer.from(i,d)}},85086:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.isReactNative=d.isNodeRuntime=d.isNodeLike=d.isBun=d.isDeno=d.isWebWorker=d.isBrowser=void 0;d.isBrowser=typeof window!=="undefined"&&typeof window.document!=="undefined";d.isWebWorker=typeof self==="object"&&typeof self?.importScripts==="function"&&(self.constructor?.name==="DedicatedWorkerGlobalScope"||self.constructor?.name==="ServiceWorkerGlobalScope"||self.constructor?.name==="SharedWorkerGlobalScope");d.isDeno=typeof Deno!=="undefined"&&typeof Deno.version!=="undefined"&&typeof Deno.version.deno!=="undefined";d.isBun=typeof Bun!=="undefined"&&typeof Bun.version!=="undefined";d.isNodeLike=typeof globalThis.process!=="undefined"&&Boolean(globalThis.process.version)&&Boolean(globalThis.process.versions?.node);d.isNodeRuntime=d.isNodeLike&&!d.isBun&&!d.isDeno;d.isReactNative=typeof navigator!=="undefined"&&navigator?.product==="ReactNative"},20547:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.concat=concat;const v=p(2203);const V=p(48505);async function*streamAsyncIterator(){const i=this.getReader();try{while(true){const{done:d,value:p}=await i.read();if(d){return}yield p}}finally{i.releaseLock()}}function makeAsyncIterable(i){if(!i[Symbol.asyncIterator]){i[Symbol.asyncIterator]=streamAsyncIterator.bind(i)}if(!i.values){i.values=streamAsyncIterator.bind(i)}}function ensureNodeStream(i){if(i instanceof ReadableStream){makeAsyncIterable(i);return v.Readable.fromWeb(i)}else{return i}}function toStream(i){if(i instanceof Uint8Array){return v.Readable.from(Buffer.from(i))}else if((0,V.isBlob)(i)){return ensureNodeStream(i.stream())}else{return ensureNodeStream(i)}}async function concat(i){return function(){const d=i.map((i=>typeof i==="function"?i():i)).map(toStream);return v.Readable.from(async function*(){for(const i of d){for await(const d of i){yield d}}}())}}},66776:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.calculateRetryDelay=calculateRetryDelay;const v=p(78640);function calculateRetryDelay(i,d){const p=d.retryDelayInMs*Math.pow(2,i);const V=Math.min(d.maxRetryDelayInMs,p);const K=V/2+(0,v.getRandomIntegerInclusive)(0,V/2);return{retryAfterInMs:K}}},52573:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.isError=isError;const v=p(53632);function isError(i){if((0,v.isObject)(i)){const d=typeof i.name==="string";const p=typeof i.message==="string";return d&&p}return false}},77566:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.delay=delay;d.parseHeaderValueAsNumber=parseHeaderValueAsNumber;const v=p(99992);const V="The operation was aborted.";function delay(i,d,p){return new Promise(((K,ee)=>{let te=undefined;let re=undefined;const rejectOnAbort=()=>ee(new v.AbortError(p?.abortErrorMsg?p?.abortErrorMsg:V));const removeListeners=()=>{if(p?.abortSignal&&re){p.abortSignal.removeEventListener("abort",re)}};re=()=>{if(te){clearTimeout(te)}removeListeners();return rejectOnAbort()};if(p?.abortSignal&&p.abortSignal.aborted){return rejectOnAbort()}te=setTimeout((()=>{removeListeners();K(d)}),i);if(p?.abortSignal){p.abortSignal.addEventListener("abort",re)}}))}function parseHeaderValueAsNumber(i,d){const p=i.headers.get(d);if(!p)return;const v=Number(p);if(Number.isNaN(v))return;return v}},37639:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.custom=void 0;const v=p(57975);d.custom=v.inspect.custom},95750:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.Sanitizer=d.uint8ArrayToString=d.stringToUint8Array=d.isWebWorker=d.isReactNative=d.isDeno=d.isNodeRuntime=d.isNodeLike=d.isBun=d.isBrowser=d.randomUUID=d.computeSha256Hmac=d.computeSha256Hash=d.isError=d.isObject=d.getRandomIntegerInclusive=d.calculateRetryDelay=void 0;var v=p(66776);Object.defineProperty(d,"calculateRetryDelay",{enumerable:true,get:function(){return v.calculateRetryDelay}});var V=p(78640);Object.defineProperty(d,"getRandomIntegerInclusive",{enumerable:true,get:function(){return V.getRandomIntegerInclusive}});var K=p(53632);Object.defineProperty(d,"isObject",{enumerable:true,get:function(){return K.isObject}});var ee=p(52573);Object.defineProperty(d,"isError",{enumerable:true,get:function(){return ee.isError}});var te=p(2016);Object.defineProperty(d,"computeSha256Hash",{enumerable:true,get:function(){return te.computeSha256Hash}});Object.defineProperty(d,"computeSha256Hmac",{enumerable:true,get:function(){return te.computeSha256Hmac}});var re=p(5023);Object.defineProperty(d,"randomUUID",{enumerable:true,get:function(){return re.randomUUID}});var ne=p(85086);Object.defineProperty(d,"isBrowser",{enumerable:true,get:function(){return ne.isBrowser}});Object.defineProperty(d,"isBun",{enumerable:true,get:function(){return ne.isBun}});Object.defineProperty(d,"isNodeLike",{enumerable:true,get:function(){return ne.isNodeLike}});Object.defineProperty(d,"isNodeRuntime",{enumerable:true,get:function(){return ne.isNodeRuntime}});Object.defineProperty(d,"isDeno",{enumerable:true,get:function(){return ne.isDeno}});Object.defineProperty(d,"isReactNative",{enumerable:true,get:function(){return ne.isReactNative}});Object.defineProperty(d,"isWebWorker",{enumerable:true,get:function(){return ne.isWebWorker}});var ie=p(82921);Object.defineProperty(d,"stringToUint8Array",{enumerable:true,get:function(){return ie.stringToUint8Array}});Object.defineProperty(d,"uint8ArrayToString",{enumerable:true,get:function(){return ie.uint8ArrayToString}});var se=p(7784);Object.defineProperty(d,"Sanitizer",{enumerable:true,get:function(){return se.Sanitizer}})},53632:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.isObject=isObject;function isObject(i){return typeof i==="object"&&i!==null&&!Array.isArray(i)&&!(i instanceof RegExp)&&!(i instanceof Date)}},78640:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.getRandomIntegerInclusive=getRandomIntegerInclusive;function getRandomIntegerInclusive(i,d){i=Math.ceil(i);d=Math.floor(d);const p=Math.floor(Math.random()*(d-i+1));return p+i}},7784:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.Sanitizer=void 0;const v=p(53632);const V="REDACTED";const K=["x-ms-client-request-id","x-ms-return-client-request-id","x-ms-useragent","x-ms-correlation-request-id","x-ms-request-id","client-request-id","ms-cv","return-client-request-id","traceparent","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Origin","Accept","Accept-Encoding","Cache-Control","Connection","Content-Length","Content-Type","Date","ETag","Expires","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","Last-Modified","Pragma","Request-Id","Retry-After","Server","Transfer-Encoding","User-Agent","WWW-Authenticate"];const ee=["api-version"];class Sanitizer{allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:i=[],additionalAllowedQueryParameters:d=[]}={}){i=K.concat(i);d=ee.concat(d);this.allowedHeaderNames=new Set(i.map((i=>i.toLowerCase())));this.allowedQueryParameters=new Set(d.map((i=>i.toLowerCase())))}sanitize(i){const d=new Set;return JSON.stringify(i,((i,p)=>{if(p instanceof Error){return{...p,name:p.name,message:p.message}}if(i==="headers"){return this.sanitizeHeaders(p)}else if(i==="url"){return this.sanitizeUrl(p)}else if(i==="query"){return this.sanitizeQuery(p)}else if(i==="body"){return undefined}else if(i==="response"){return undefined}else if(i==="operationSpec"){return undefined}else if(Array.isArray(p)||(0,v.isObject)(p)){if(d.has(p)){return"[Circular]"}d.add(p)}return p}),2)}sanitizeUrl(i){if(typeof i!=="string"||i===null||i===""){return i}const d=new URL(i);if(!d.search){return i}for(const[i]of d.searchParams){if(!this.allowedQueryParameters.has(i.toLowerCase())){d.searchParams.set(i,V)}}return d.toString()}sanitizeHeaders(i){const d={};for(const p of Object.keys(i)){if(this.allowedHeaderNames.has(p.toLowerCase())){d[p]=i[p]}else{d[p]=V}}return d}sanitizeQuery(i){if(typeof i!=="object"||i===null){return i}const d={};for(const p of Object.keys(i)){if(this.allowedQueryParameters.has(p.toLowerCase())){d[p]=i[p]}else{d[p]=V}}return d}}d.Sanitizer=Sanitizer},2016:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.computeSha256Hmac=computeSha256Hmac;d.computeSha256Hash=computeSha256Hash;const v=p(77598);async function computeSha256Hmac(i,d,p){const V=Buffer.from(i,"base64");return(0,v.createHmac)("sha256",V).update(d).digest(p)}async function computeSha256Hash(i,d){return(0,v.createHash)("sha256").update(i).digest(d)}},48505:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.isNodeReadableStream=isNodeReadableStream;d.isWebReadableStream=isWebReadableStream;d.isBinaryBody=isBinaryBody;d.isReadableStream=isReadableStream;d.isBlob=isBlob;function isNodeReadableStream(i){return Boolean(i&&typeof i["pipe"]==="function")}function isWebReadableStream(i){return Boolean(i&&typeof i.getReader==="function"&&typeof i.tee==="function")}function isBinaryBody(i){return i!==undefined&&(i instanceof Uint8Array||isReadableStream(i)||typeof i==="function"||i instanceof Blob)}function isReadableStream(i){return isNodeReadableStream(i)||isWebReadableStream(i)}function isBlob(i){return typeof i.stream==="function"}},62731:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getUserAgentHeaderName=getUserAgentHeaderName;d.getUserAgentValue=getUserAgentValue;const v=p(83196);const V=p(31255);function getUserAgentString(i){const d=[];for(const[p,v]of i){const i=v?`${p}/${v}`:p;d.push(i)}return d.join(" ")}function getUserAgentHeaderName(){return(0,v.getHeaderName)()}async function getUserAgentValue(i){const d=new Map;d.set("ts-http-runtime",V.SDK_VERSION);await(0,v.setPlatformSpecificData)(d);const p=getUserAgentString(d);const K=i?`${i} ${p}`:p;return K}},83196:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getHeaderName=getHeaderName;d.setPlatformSpecificData=setPlatformSpecificData;const v=p(61860);const V=v.__importDefault(p(48161));const K=v.__importDefault(p(1708));function getHeaderName(){return"User-Agent"}async function setPlatformSpecificData(i){if(K.default&&K.default.versions){const d=`${V.default.type()} ${V.default.release()}; ${V.default.arch()}`;const p=K.default.versions;if(p.bun){i.set("Bun",`${p.bun} (${d})`)}else if(p.deno){i.set("Deno",`${p.deno} (${d})`)}else if(p.node){i.set("Node",`${p.node} (${d})`)}}}},5023:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.randomUUID=randomUUID;function randomUUID(){return crypto.randomUUID()}},68669:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.Glob=void 0;const v=p(62883);const V=p(38958);const K=p(73136);const ee=p(2029);const te=p(83581);const re=typeof process==="object"&&process&&typeof process.platform==="string"?process.platform:"linux";class Glob{absolute;cwd;root;dot;dotRelative;follow;ignore;magicalBraces;mark;matchBase;maxDepth;nobrace;nocase;nodir;noext;noglobstar;pattern;platform;realpath;scurry;stat;signal;windowsPathsNoEscape;withFileTypes;opts;patterns;constructor(i,d){if(!d)throw new TypeError("glob options required");this.withFileTypes=!!d.withFileTypes;this.signal=d.signal;this.follow=!!d.follow;this.dot=!!d.dot;this.dotRelative=!!d.dotRelative;this.nodir=!!d.nodir;this.mark=!!d.mark;if(!d.cwd){this.cwd=""}else if(d.cwd instanceof URL||d.cwd.startsWith("file://")){d.cwd=(0,K.fileURLToPath)(d.cwd)}this.cwd=d.cwd||"";this.root=d.root;this.magicalBraces=!!d.magicalBraces;this.nobrace=!!d.nobrace;this.noext=!!d.noext;this.realpath=!!d.realpath;this.absolute=d.absolute;this.noglobstar=!!d.noglobstar;this.matchBase=!!d.matchBase;this.maxDepth=typeof d.maxDepth==="number"?d.maxDepth:Infinity;this.stat=!!d.stat;this.ignore=d.ignore;if(this.withFileTypes&&this.absolute!==undefined){throw new Error("cannot set absolute and withFileTypes:true")}if(typeof i==="string"){i=[i]}this.windowsPathsNoEscape=!!d.windowsPathsNoEscape||d.allowWindowsEscape===false;if(this.windowsPathsNoEscape){i=i.map((i=>i.replace(/\\/g,"/")))}if(this.matchBase){if(d.noglobstar){throw new TypeError("base matching requires globstar")}i=i.map((i=>i.includes("/")?i:`./**/${i}`))}this.pattern=i;this.platform=d.platform||re;this.opts={...d,platform:this.platform};if(d.scurry){this.scurry=d.scurry;if(d.nocase!==undefined&&d.nocase!==d.scurry.nocase){throw new Error("nocase option contradicts provided scurry option")}}else{const i=d.platform==="win32"?V.PathScurryWin32:d.platform==="darwin"?V.PathScurryDarwin:d.platform?V.PathScurryPosix:V.PathScurry;this.scurry=new i(this.cwd,{nocase:d.nocase,fs:d.fs})}this.nocase=this.scurry.nocase;const p=this.platform==="darwin"||this.platform==="win32";const te={...d,dot:this.dot,matchBase:this.matchBase,nobrace:this.nobrace,nocase:this.nocase,nocaseMagicOnly:p,nocomment:true,noext:this.noext,nonegate:true,optimizationLevel:2,platform:this.platform,windowsPathsNoEscape:this.windowsPathsNoEscape,debug:!!this.opts.debug};const ne=this.pattern.map((i=>new v.Minimatch(i,te)));const[ie,se]=ne.reduce(((i,d)=>{i[0].push(...d.set);i[1].push(...d.globParts);return i}),[[],[]]);this.patterns=ie.map(((i,d)=>{const p=se[d];if(!p)throw new Error("invalid pattern object");return new ee.Pattern(i,p,0,this.platform)}))}async walk(){return[...await new te.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==Infinity?this.maxDepth+this.scurry.cwd.depth():Infinity,platform:this.platform,nocase:this.nocase}).walk()]}walkSync(){return[...new te.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==Infinity?this.maxDepth+this.scurry.cwd.depth():Infinity,platform:this.platform,nocase:this.nocase}).walkSync()]}stream(){return new te.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==Infinity?this.maxDepth+this.scurry.cwd.depth():Infinity,platform:this.platform,nocase:this.nocase}).stream()}streamSync(){return new te.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==Infinity?this.maxDepth+this.scurry.cwd.depth():Infinity,platform:this.platform,nocase:this.nocase}).streamSync()}iterateSync(){return this.streamSync()[Symbol.iterator]()}[Symbol.iterator](){return this.iterateSync()}iterate(){return this.stream()[Symbol.asyncIterator]()}[Symbol.asyncIterator](){return this.iterate()}}d.Glob=Glob},53413:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.hasMagic=void 0;const v=p(62883);const hasMagic=(i,d={})=>{if(!Array.isArray(i)){i=[i]}for(const p of i){if(new v.Minimatch(p,d).hasMagic())return true}return false};d.hasMagic=hasMagic},74941:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.Ignore=void 0;const v=p(62883);const V=p(2029);const K=typeof process==="object"&&process&&typeof process.platform==="string"?process.platform:"linux";class Ignore{relative;relativeChildren;absolute;absoluteChildren;constructor(i,{nobrace:d,nocase:p,noext:ee,noglobstar:te,platform:re=K}){this.relative=[];this.absolute=[];this.relativeChildren=[];this.absoluteChildren=[];const ne={dot:true,nobrace:d,nocase:p,noext:ee,noglobstar:te,optimizationLevel:2,platform:re,nocomment:true,nonegate:true};for(const d of i){const i=new v.Minimatch(d,ne);for(let d=0;d{Object.defineProperty(d,"__esModule",{value:true});d.glob=d.hasMagic=d.Glob=d.unescape=d.escape=d.sync=d.iterate=d.iterateSync=d.stream=d.streamSync=d.globIterate=d.globIterateSync=d.globSync=d.globStream=d.globStreamSync=void 0;const v=p(62883);const V=p(68669);const K=p(53413);function globStreamSync(i,d={}){return new V.Glob(i,d).streamSync()}d.globStreamSync=globStreamSync;function globStream(i,d={}){return new V.Glob(i,d).stream()}d.globStream=globStream;function globSync(i,d={}){return new V.Glob(i,d).walkSync()}d.globSync=globSync;async function glob_(i,d={}){return new V.Glob(i,d).walk()}function globIterateSync(i,d={}){return new V.Glob(i,d).iterateSync()}d.globIterateSync=globIterateSync;function globIterate(i,d={}){return new V.Glob(i,d).iterate()}d.globIterate=globIterate;d.streamSync=globStreamSync;d.stream=Object.assign(globStream,{sync:globStreamSync});d.iterateSync=globIterateSync;d.iterate=Object.assign(globIterate,{sync:globIterateSync});d.sync=Object.assign(globSync,{stream:globStreamSync,iterate:globIterateSync});var ee=p(62883);Object.defineProperty(d,"escape",{enumerable:true,get:function(){return ee.escape}});Object.defineProperty(d,"unescape",{enumerable:true,get:function(){return ee.unescape}});var te=p(68669);Object.defineProperty(d,"Glob",{enumerable:true,get:function(){return te.Glob}});var re=p(53413);Object.defineProperty(d,"hasMagic",{enumerable:true,get:function(){return re.hasMagic}});d.glob=Object.assign(glob_,{glob:glob_,globSync:globSync,sync:d.sync,globStream:globStream,stream:d.stream,globStreamSync:globStreamSync,streamSync:d.streamSync,globIterate:globIterate,iterate:d.iterate,globIterateSync:globIterateSync,iterateSync:d.iterateSync,Glob:V.Glob,hasMagic:K.hasMagic,escape:v.escape,unescape:v.unescape});d.glob.glob=d.glob},2029:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.Pattern=void 0;const v=p(62883);const isPatternList=i=>i.length>=1;const isGlobList=i=>i.length>=1;class Pattern{#Ae;#de;#Y;length;#pe;#fe;#he;#ge;#me;#Ee;#ye=true;constructor(i,d,p,v){if(!isPatternList(i)){throw new TypeError("empty pattern list")}if(!isGlobList(d)){throw new TypeError("empty glob list")}if(d.length!==i.length){throw new TypeError("mismatched pattern list and glob list lengths")}this.length=i.length;if(p<0||p>=this.length){throw new TypeError("index out of range")}this.#Ae=i;this.#de=d;this.#Y=p;this.#pe=v;if(this.#Y===0){if(this.isUNC()){const[i,d,p,v,...V]=this.#Ae;const[K,ee,te,re,...ne]=this.#de;if(V[0]===""){V.shift();ne.shift()}const ie=[i,d,p,v,""].join("/");const se=[K,ee,te,re,""].join("/");this.#Ae=[ie,...V];this.#de=[se,...ne];this.length=this.#Ae.length}else if(this.isDrive()||this.isAbsolute()){const[i,...d]=this.#Ae;const[p,...v]=this.#de;if(d[0]===""){d.shift();v.shift()}const V=i+"/";const K=p+"/";this.#Ae=[V,...d];this.#de=[K,...v];this.length=this.#Ae.length}}}pattern(){return this.#Ae[this.#Y]}isString(){return typeof this.#Ae[this.#Y]==="string"}isGlobstar(){return this.#Ae[this.#Y]===v.GLOBSTAR}isRegExp(){return this.#Ae[this.#Y]instanceof RegExp}globString(){return this.#he=this.#he||(this.#Y===0?this.isAbsolute()?this.#de[0]+this.#de.slice(1).join("/"):this.#de.join("/"):this.#de.slice(this.#Y).join("/"))}hasMore(){return this.length>this.#Y+1}rest(){if(this.#fe!==undefined)return this.#fe;if(!this.hasMore())return this.#fe=null;this.#fe=new Pattern(this.#Ae,this.#de,this.#Y+1,this.#pe);this.#fe.#Ee=this.#Ee;this.#fe.#me=this.#me;this.#fe.#ge=this.#ge;return this.#fe}isUNC(){const i=this.#Ae;return this.#me!==undefined?this.#me:this.#me=this.#pe==="win32"&&this.#Y===0&&i[0]===""&&i[1]===""&&typeof i[2]==="string"&&!!i[2]&&typeof i[3]==="string"&&!!i[3]}isDrive(){const i=this.#Ae;return this.#ge!==undefined?this.#ge:this.#ge=this.#pe==="win32"&&this.#Y===0&&this.length>1&&typeof i[0]==="string"&&/^[a-z]:$/i.test(i[0])}isAbsolute(){const i=this.#Ae;return this.#Ee!==undefined?this.#Ee:this.#Ee=i[0]===""&&i.length>1||this.isDrive()||this.isUNC()}root(){const i=this.#Ae[0];return typeof i==="string"&&this.isAbsolute()&&this.#Y===0?i:""}checkFollowGlobstar(){return!(this.#Y===0||!this.isGlobstar()||!this.#ye)}markFollowGlobstar(){if(this.#Y===0||!this.isGlobstar()||!this.#ye)return false;this.#ye=false;return true}}d.Pattern=Pattern},74827:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.Processor=d.SubWalks=d.MatchRecord=d.HasWalkedCache=void 0;const v=p(62883);class HasWalkedCache{store;constructor(i=new Map){this.store=i}copy(){return new HasWalkedCache(new Map(this.store))}hasWalked(i,d){return this.store.get(i.fullpath())?.has(d.globString())}storeWalked(i,d){const p=i.fullpath();const v=this.store.get(p);if(v)v.add(d.globString());else this.store.set(p,new Set([d.globString()]))}}d.HasWalkedCache=HasWalkedCache;class MatchRecord{store=new Map;add(i,d,p){const v=(d?2:0)|(p?1:0);const V=this.store.get(i);this.store.set(i,V===undefined?v:v&V)}entries(){return[...this.store.entries()].map((([i,d])=>[i,!!(d&2),!!(d&1)]))}}d.MatchRecord=MatchRecord;class SubWalks{store=new Map;add(i,d){if(!i.canReaddir()){return}const p=this.store.get(i);if(p){if(!p.find((i=>i.globString()===d.globString()))){p.push(d)}}else this.store.set(i,[d])}get(i){const d=this.store.get(i);if(!d){throw new Error("attempting to walk unknown path")}return d}entries(){return this.keys().map((i=>[i,this.store.get(i)]))}keys(){return[...this.store.keys()].filter((i=>i.canReaddir()))}}d.SubWalks=SubWalks;class Processor{hasWalkedCache;matches=new MatchRecord;subwalks=new SubWalks;patterns;follow;dot;opts;constructor(i,d){this.opts=i;this.follow=!!i.follow;this.dot=!!i.dot;this.hasWalkedCache=d?d.copy():new HasWalkedCache}processPatterns(i,d){this.patterns=d;const p=d.map((d=>[i,d]));for(let[i,d]of p){this.hasWalkedCache.storeWalked(i,d);const p=d.root();const V=d.isAbsolute()&&this.opts.absolute!==false;if(p){i=i.resolve(p==="/"&&this.opts.root!==undefined?this.opts.root:p);const v=d.rest();if(!v){this.matches.add(i,true,false);continue}else{d=v}}if(i.isENOENT())continue;let K;let ee;let te=false;while(typeof(K=d.pattern())==="string"&&(ee=d.rest())){const p=i.resolve(K);i=p;d=ee;te=true}K=d.pattern();ee=d.rest();if(te){if(this.hasWalkedCache.hasWalked(i,d))continue;this.hasWalkedCache.storeWalked(i,d)}if(typeof K==="string"){const d=K===".."||K===""||K===".";this.matches.add(i.resolve(K),V,d);continue}else if(K===v.GLOBSTAR){if(!i.isSymbolicLink()||this.follow||d.checkFollowGlobstar()){this.subwalks.add(i,d)}const p=ee?.pattern();const v=ee?.rest();if(!ee||(p===""||p===".")&&!v){this.matches.add(i,V,p===""||p===".")}else{if(p===".."){const d=i.parent||i;if(!v)this.matches.add(d,V,true);else if(!this.hasWalkedCache.hasWalked(d,v)){this.subwalks.add(d,v)}}}}else if(K instanceof RegExp){this.subwalks.add(i,d)}}return this}subwalkTargets(){return this.subwalks.keys()}child(){return new Processor(this.opts,this.hasWalkedCache)}filterEntries(i,d){const p=this.subwalks.get(i);const V=this.child();for(const i of d){for(const d of p){const p=d.isAbsolute();const K=d.pattern();const ee=d.rest();if(K===v.GLOBSTAR){V.testGlobstar(i,d,ee,p)}else if(K instanceof RegExp){V.testRegExp(i,K,ee,p)}else{V.testString(i,K,ee,p)}}}return V}testGlobstar(i,d,p,v){if(this.dot||!i.name.startsWith(".")){if(!d.hasMore()){this.matches.add(i,v,false)}if(i.canReaddir()){if(this.follow||!i.isSymbolicLink()){this.subwalks.add(i,d)}else if(i.isSymbolicLink()){if(p&&d.checkFollowGlobstar()){this.subwalks.add(i,p)}else if(d.markFollowGlobstar()){this.subwalks.add(i,d)}}}}if(p){const d=p.pattern();if(typeof d==="string"&&d!==".."&&d!==""&&d!=="."){this.testString(i,d,p.rest(),v)}else if(d===".."){const d=i.parent||i;this.subwalks.add(d,p)}else if(d instanceof RegExp){this.testRegExp(i,d,p.rest(),v)}}}testRegExp(i,d,p,v){if(!d.test(i.name))return;if(!p){this.matches.add(i,v,false)}else{this.subwalks.add(i,p)}}testString(i,d,p,v){if(!i.isNamed(d))return;if(!p){this.matches.add(i,v,false)}else{this.subwalks.add(i,p)}}}d.Processor=Processor},83581:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.GlobStream=d.GlobWalker=d.GlobUtil=void 0;const v=p(78275);const V=p(74941);const K=p(74827);const makeIgnore=(i,d)=>typeof i==="string"?new V.Ignore([i],d):Array.isArray(i)?new V.Ignore(i,d):i;class GlobUtil{path;patterns;opts;seen=new Set;paused=false;aborted=false;#Ce=[];#be;#Ie;signal;maxDepth;constructor(i,d,p){this.patterns=i;this.path=d;this.opts=p;this.#Ie=!p.posix&&p.platform==="win32"?"\\":"/";if(p.ignore){this.#be=makeIgnore(p.ignore,p)}this.maxDepth=p.maxDepth||Infinity;if(p.signal){this.signal=p.signal;this.signal.addEventListener("abort",(()=>{this.#Ce.length=0}))}}#Be(i){return this.seen.has(i)||!!this.#be?.ignored?.(i)}#we(i){return!!this.#be?.childrenIgnored?.(i)}pause(){this.paused=true}resume(){if(this.signal?.aborted)return;this.paused=false;let i=undefined;while(!this.paused&&(i=this.#Ce.shift())){i()}}onResume(i){if(this.signal?.aborted)return;if(!this.paused){i()}else{this.#Ce.push(i)}}async matchCheck(i,d){if(d&&this.opts.nodir)return undefined;let p;if(this.opts.realpath){p=i.realpathCached()||await i.realpath();if(!p)return undefined;i=p}const v=i.isUnknown()||this.opts.stat;const V=v?await i.lstat():i;if(this.opts.follow&&this.opts.nodir&&V?.isSymbolicLink()){const i=await V.realpath();if(i&&(i.isUnknown()||this.opts.stat)){await i.lstat()}}return this.matchCheckTest(V,d)}matchCheckTest(i,d){return i&&(this.maxDepth===Infinity||i.depth()<=this.maxDepth)&&(!d||i.canReaddir())&&(!this.opts.nodir||!i.isDirectory())&&(!this.opts.nodir||!this.opts.follow||!i.isSymbolicLink()||!i.realpathCached()?.isDirectory())&&!this.#Be(i)?i:undefined}matchCheckSync(i,d){if(d&&this.opts.nodir)return undefined;let p;if(this.opts.realpath){p=i.realpathCached()||i.realpathSync();if(!p)return undefined;i=p}const v=i.isUnknown()||this.opts.stat;const V=v?i.lstatSync():i;if(this.opts.follow&&this.opts.nodir&&V?.isSymbolicLink()){const i=V.realpathSync();if(i&&(i?.isUnknown()||this.opts.stat)){i.lstatSync()}}return this.matchCheckTest(V,d)}matchFinish(i,d){if(this.#Be(i))return;const p=this.opts.absolute===undefined?d:this.opts.absolute;this.seen.add(i);const v=this.opts.mark&&i.isDirectory()?this.#Ie:"";if(this.opts.withFileTypes){this.matchEmit(i)}else if(p){const d=this.opts.posix?i.fullpathPosix():i.fullpath();this.matchEmit(d+v)}else{const d=this.opts.posix?i.relativePosix():i.relative();const p=this.opts.dotRelative&&!d.startsWith(".."+this.#Ie)?"."+this.#Ie:"";this.matchEmit(!d?"."+v:p+d+v)}}async match(i,d,p){const v=await this.matchCheck(i,p);if(v)this.matchFinish(v,d)}matchSync(i,d,p){const v=this.matchCheckSync(i,p);if(v)this.matchFinish(v,d)}walkCB(i,d,p){if(this.signal?.aborted)p();this.walkCB2(i,d,new K.Processor(this.opts),p)}walkCB2(i,d,p,v){if(this.#we(i))return v();if(this.signal?.aborted)v();if(this.paused){this.onResume((()=>this.walkCB2(i,d,p,v)));return}p.processPatterns(i,d);let V=1;const next=()=>{if(--V===0)v()};for(const[i,d,v]of p.matches.entries()){if(this.#Be(i))continue;V++;this.match(i,d,v).then((()=>next()))}for(const i of p.subwalkTargets()){if(this.maxDepth!==Infinity&&i.depth()>=this.maxDepth){continue}V++;const d=i.readdirCached();if(i.calledReaddir())this.walkCB3(i,d,p,next);else{i.readdirCB(((d,v)=>this.walkCB3(i,v,p,next)),true)}}next()}walkCB3(i,d,p,v){p=p.filterEntries(i,d);let V=1;const next=()=>{if(--V===0)v()};for(const[i,d,v]of p.matches.entries()){if(this.#Be(i))continue;V++;this.match(i,d,v).then((()=>next()))}for(const[i,d]of p.subwalks.entries()){V++;this.walkCB2(i,d,p.child(),next)}next()}walkCBSync(i,d,p){if(this.signal?.aborted)p();this.walkCB2Sync(i,d,new K.Processor(this.opts),p)}walkCB2Sync(i,d,p,v){if(this.#we(i))return v();if(this.signal?.aborted)v();if(this.paused){this.onResume((()=>this.walkCB2Sync(i,d,p,v)));return}p.processPatterns(i,d);let V=1;const next=()=>{if(--V===0)v()};for(const[i,d,v]of p.matches.entries()){if(this.#Be(i))continue;this.matchSync(i,d,v)}for(const i of p.subwalkTargets()){if(this.maxDepth!==Infinity&&i.depth()>=this.maxDepth){continue}V++;const d=i.readdirSync();this.walkCB3Sync(i,d,p,next)}next()}walkCB3Sync(i,d,p,v){p=p.filterEntries(i,d);let V=1;const next=()=>{if(--V===0)v()};for(const[i,d,v]of p.matches.entries()){if(this.#Be(i))continue;this.matchSync(i,d,v)}for(const[i,d]of p.subwalks.entries()){V++;this.walkCB2Sync(i,d,p.child(),next)}next()}}d.GlobUtil=GlobUtil;class GlobWalker extends GlobUtil{matches;constructor(i,d,p){super(i,d,p);this.matches=new Set}matchEmit(i){this.matches.add(i)}async walk(){if(this.signal?.aborted)throw this.signal.reason;if(this.path.isUnknown()){await this.path.lstat()}await new Promise(((i,d)=>{this.walkCB(this.path,this.patterns,(()=>{if(this.signal?.aborted){d(this.signal.reason)}else{i(this.matches)}}))}));return this.matches}walkSync(){if(this.signal?.aborted)throw this.signal.reason;if(this.path.isUnknown()){this.path.lstatSync()}this.walkCBSync(this.path,this.patterns,(()=>{if(this.signal?.aborted)throw this.signal.reason}));return this.matches}}d.GlobWalker=GlobWalker;class GlobStream extends GlobUtil{results;constructor(i,d,p){super(i,d,p);this.results=new v.Minipass({signal:this.signal,objectMode:true});this.results.on("drain",(()=>this.resume()));this.results.on("resume",(()=>this.resume()))}matchEmit(i){this.results.write(i);if(!this.results.flowing)this.pause()}stream(){const i=this.path;if(i.isUnknown()){i.lstat().then((()=>{this.walkCB(i,this.patterns,(()=>this.results.end()))}))}else{this.walkCB(i,this.patterns,(()=>this.results.end()))}return this.results}streamSync(){if(this.path.isUnknown()){this.path.lstatSync()}this.walkCBSync(this.path,this.patterns,(()=>this.results.end()));return this.results}}d.GlobStream=GlobStream},86177:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.assertValidPattern=void 0;const p=1024*64;const assertValidPattern=i=>{if(typeof i!=="string"){throw new TypeError("invalid pattern")}if(i.length>p){throw new TypeError("pattern is too long")}};d.assertValidPattern=assertValidPattern},2275:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.AST=void 0;const v=p(90570);const V=p(28075);const K=new Set(["!","?","+","*","@"]);const isExtglobType=i=>K.has(i);const ee="(?!(?:^|/)\\.\\.?(?:$|/))";const te="(?!\\.)";const re=new Set(["[","."]);const ne=new Set(["..","."]);const ie=new Set("().*{}+?[]^$\\!");const regExpEscape=i=>i.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");const se="[^/]";const oe=se+"*?";const ae=se+"+?";class AST{type;#Se;#Qe;#ve=false;#Re=[];#Te;#Ne;#ke;#De=false;#p;#xe;#_e=false;constructor(i,d,p={}){this.type=i;if(i)this.#Qe=true;this.#Te=d;this.#Se=this.#Te?this.#Te.#Se:this;this.#p=this.#Se===this?p:this.#Se.#p;this.#ke=this.#Se===this?[]:this.#Se.#ke;if(i==="!"&&!this.#Se.#De)this.#ke.push(this);this.#Ne=this.#Te?this.#Te.#Re.length:0}get hasMagic(){if(this.#Qe!==undefined)return this.#Qe;for(const i of this.#Re){if(typeof i==="string")continue;if(i.type||i.hasMagic)return this.#Qe=true}return this.#Qe}toString(){if(this.#xe!==undefined)return this.#xe;if(!this.type){return this.#xe=this.#Re.map((i=>String(i))).join("")}else{return this.#xe=this.type+"("+this.#Re.map((i=>String(i))).join("|")+")"}}#Pe(){if(this!==this.#Se)throw new Error("should only call on root");if(this.#De)return this;this.toString();this.#De=true;let i;while(i=this.#ke.pop()){if(i.type!=="!")continue;let d=i;let p=d.#Te;while(p){for(let v=d.#Ne+1;!p.type&&vtypeof i==="string"?i:i.toJSON())):[this.type,...this.#Re.map((i=>i.toJSON()))];if(this.isStart()&&!this.type)i.unshift([]);if(this.isEnd()&&(this===this.#Se||this.#Se.#De&&this.#Te?.type==="!")){i.push({})}return i}isStart(){if(this.#Se===this)return true;if(!this.#Te?.isStart())return false;if(this.#Ne===0)return true;const i=this.#Te;for(let d=0;d{const[v,V,K,ee]=typeof d==="string"?AST.#Le(d,this.#Qe,p):d.toRegExpSource(i);this.#Qe=this.#Qe||K;this.#ve=this.#ve||ee;return v})).join("");let K="";if(this.isStart()){if(typeof this.#Re[0]==="string"){const p=this.#Re.length===1&&ne.has(this.#Re[0]);if(!p){const p=re;const V=d&&p.has(v.charAt(0))||v.startsWith("\\.")&&p.has(v.charAt(2))||v.startsWith("\\.\\.")&&p.has(v.charAt(4));const ne=!d&&!i&&p.has(v.charAt(0));K=V?ee:ne?te:""}}}let ie="";if(this.isEnd()&&this.#Se.#De&&this.#Te?.type==="!"){ie="(?:$|\\/)"}const se=K+v+ie;return[se,(0,V.unescape)(v),this.#Qe=!!this.#Qe,this.#ve]}const p=this.type==="*"||this.type==="+";const v=this.type==="!"?"(?:(?!(?:":"(?:";let K=this.#Fe(d);if(this.isStart()&&this.isEnd()&&!K&&this.type!=="!"){const i=this.toString();this.#Re=[i];this.type=null;this.#Qe=undefined;return[i,(0,V.unescape)(this.toString()),false,false]}let ie=!p||i||d||!te?"":this.#Fe(true);if(ie===K){ie=""}if(ie){K=`(?:${K})(?:${ie})*?`}let se="";if(this.type==="!"&&this.#_e){se=(this.isStart()&&!d?te:"")+ae}else{const p=this.type==="!"?"))"+(this.isStart()&&!d&&!i?te:"")+oe+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&ie?")":this.type==="*"&&ie?`)?`:`)${this.type}`;se=v+K+p}return[se,(0,V.unescape)(K),this.#Qe=!!this.#Qe,this.#ve]}#Fe(i){return this.#Re.map((d=>{if(typeof d==="string"){throw new Error("string type in extglob ast??")}const[p,v,V,K]=d.toRegExpSource(i);this.#ve=this.#ve||K;return p})).filter((i=>!(this.isStart()&&this.isEnd())||!!i)).join("|")}static#Le(i,d,p=false){let K=false;let ee="";let te=false;for(let V=0;V{Object.defineProperty(d,"__esModule",{value:true});d.parseClass=void 0;const p={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",true],"[:alpha:]":["\\p{L}\\p{Nl}",true],"[:ascii:]":["\\x"+"00-\\x"+"7f",false],"[:blank:]":["\\p{Zs}\\t",true],"[:cntrl:]":["\\p{Cc}",true],"[:digit:]":["\\p{Nd}",true],"[:graph:]":["\\p{Z}\\p{C}",true,true],"[:lower:]":["\\p{Ll}",true],"[:print:]":["\\p{C}",true],"[:punct:]":["\\p{P}",true],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",true],"[:upper:]":["\\p{Lu}",true],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",true],"[:xdigit:]":["A-Fa-f0-9",false]};const braceEscape=i=>i.replace(/[[\]\\-]/g,"\\$&");const regexpEscape=i=>i.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");const rangesToString=i=>i.join("");const parseClass=(i,d)=>{const v=d;if(i.charAt(v)!=="["){throw new Error("not in a brace expression")}const V=[];const K=[];let ee=v+1;let te=false;let re=false;let ne=false;let ie=false;let se=v;let oe="";e:while(eeoe){V.push(braceEscape(oe)+"-"+braceEscape(d))}else if(d===oe){V.push(braceEscape(d))}oe="";ee++;continue}if(i.startsWith("-]",ee+1)){V.push(braceEscape(d+"-"));ee+=2;continue}if(i.startsWith("-",ee+1)){oe=d;ee+=2;continue}V.push(braceEscape(d));ee++}if(se{Object.defineProperty(d,"__esModule",{value:true});d.escape=void 0;const escape=(i,{windowsPathsNoEscape:d=false}={})=>d?i.replace(/[?*()[\]]/g,"[$&]"):i.replace(/[?*()[\]\\]/g,"\\$&");d.escape=escape},62883:function(i,d,p){var v=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(d,"__esModule",{value:true});d.unescape=d.escape=d.AST=d.Minimatch=d.match=d.makeRe=d.braceExpand=d.defaults=d.filter=d.GLOBSTAR=d.sep=d.minimatch=void 0;const V=v(p(94691));const K=p(86177);const ee=p(2275);const te=p(42600);const re=p(28075);const minimatch=(i,d,p={})=>{(0,K.assertValidPattern)(d);if(!p.nocomment&&d.charAt(0)==="#"){return false}return new Minimatch(d,p).match(i)};d.minimatch=minimatch;const ne=/^\*+([^+@!?\*\[\(]*)$/;const starDotExtTest=i=>d=>!d.startsWith(".")&&d.endsWith(i);const starDotExtTestDot=i=>d=>d.endsWith(i);const starDotExtTestNocase=i=>{i=i.toLowerCase();return d=>!d.startsWith(".")&&d.toLowerCase().endsWith(i)};const starDotExtTestNocaseDot=i=>{i=i.toLowerCase();return d=>d.toLowerCase().endsWith(i)};const ie=/^\*+\.\*+$/;const starDotStarTest=i=>!i.startsWith(".")&&i.includes(".");const starDotStarTestDot=i=>i!=="."&&i!==".."&&i.includes(".");const se=/^\.\*+$/;const dotStarTest=i=>i!=="."&&i!==".."&&i.startsWith(".");const oe=/^\*+$/;const starTest=i=>i.length!==0&&!i.startsWith(".");const starTestDot=i=>i.length!==0&&i!=="."&&i!=="..";const ae=/^\?+([^+@!?\*\[\(]*)?$/;const qmarksTestNocase=([i,d=""])=>{const p=qmarksTestNoExt([i]);if(!d)return p;d=d.toLowerCase();return i=>p(i)&&i.toLowerCase().endsWith(d)};const qmarksTestNocaseDot=([i,d=""])=>{const p=qmarksTestNoExtDot([i]);if(!d)return p;d=d.toLowerCase();return i=>p(i)&&i.toLowerCase().endsWith(d)};const qmarksTestDot=([i,d=""])=>{const p=qmarksTestNoExtDot([i]);return!d?p:i=>p(i)&&i.endsWith(d)};const qmarksTest=([i,d=""])=>{const p=qmarksTestNoExt([i]);return!d?p:i=>p(i)&&i.endsWith(d)};const qmarksTestNoExt=([i])=>{const d=i.length;return i=>i.length===d&&!i.startsWith(".")};const qmarksTestNoExtDot=([i])=>{const d=i.length;return i=>i.length===d&&i!=="."&&i!==".."};const ce=typeof process==="object"&&process?typeof process.env==="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix";const le={win32:{sep:"\\"},posix:{sep:"/"}};d.sep=ce==="win32"?le.win32.sep:le.posix.sep;d.minimatch.sep=d.sep;d.GLOBSTAR=Symbol("globstar **");d.minimatch.GLOBSTAR=d.GLOBSTAR;const ue="[^/]";const Ae=ue+"*?";const de="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";const pe="(?:(?!(?:\\/|^)\\.).)*?";const filter=(i,p={})=>v=>(0,d.minimatch)(v,i,p);d.filter=filter;d.minimatch.filter=d.filter;const ext=(i,d={})=>Object.assign({},i,d);const defaults=i=>{if(!i||typeof i!=="object"||!Object.keys(i).length){return d.minimatch}const p=d.minimatch;const m=(d,v,V={})=>p(d,v,ext(i,V));return Object.assign(m,{Minimatch:class Minimatch extends p.Minimatch{constructor(d,p={}){super(d,ext(i,p))}static defaults(d){return p.defaults(ext(i,d)).Minimatch}},AST:class AST extends p.AST{constructor(d,p,v={}){super(d,p,ext(i,v))}static fromGlob(d,v={}){return p.AST.fromGlob(d,ext(i,v))}},unescape:(d,v={})=>p.unescape(d,ext(i,v)),escape:(d,v={})=>p.escape(d,ext(i,v)),filter:(d,v={})=>p.filter(d,ext(i,v)),defaults:d=>p.defaults(ext(i,d)),makeRe:(d,v={})=>p.makeRe(d,ext(i,v)),braceExpand:(d,v={})=>p.braceExpand(d,ext(i,v)),match:(d,v,V={})=>p.match(d,v,ext(i,V)),sep:p.sep,GLOBSTAR:d.GLOBSTAR})};d.defaults=defaults;d.minimatch.defaults=d.defaults;const braceExpand=(i,d={})=>{(0,K.assertValidPattern)(i);if(d.nobrace||!/\{(?:(?!\{).)*\}/.test(i)){return[i]}return(0,V.default)(i)};d.braceExpand=braceExpand;d.minimatch.braceExpand=d.braceExpand;const makeRe=(i,d={})=>new Minimatch(i,d).makeRe();d.makeRe=makeRe;d.minimatch.makeRe=d.makeRe;const match=(i,d,p={})=>{const v=new Minimatch(d,p);i=i.filter((i=>v.match(i)));if(v.options.nonull&&!i.length){i.push(d)}return i};d.match=match;d.minimatch.match=d.match;const fe=/[?*]|[+@!]\(.*?\)|\[|\]/;const regExpEscape=i=>i.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");class Minimatch{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(i,d={}){(0,K.assertValidPattern)(i);d=d||{};this.options=d;this.pattern=i;this.platform=d.platform||ce;this.isWindows=this.platform==="win32";this.windowsPathsNoEscape=!!d.windowsPathsNoEscape||d.allowWindowsEscape===false;if(this.windowsPathsNoEscape){this.pattern=this.pattern.replace(/\\/g,"/")}this.preserveMultipleSlashes=!!d.preserveMultipleSlashes;this.regexp=null;this.negate=false;this.nonegate=!!d.nonegate;this.comment=false;this.empty=false;this.partial=!!d.partial;this.nocase=!!this.options.nocase;this.windowsNoMagicRoot=d.windowsNoMagicRoot!==undefined?d.windowsNoMagicRoot:!!(this.isWindows&&this.nocase);this.globSet=[];this.globParts=[];this.set=[];this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1){return true}for(const i of this.set){for(const d of i){if(typeof d!=="string")return true}}return false}debug(...i){}make(){const i=this.pattern;const d=this.options;if(!d.nocomment&&i.charAt(0)==="#"){this.comment=true;return}if(!i){this.empty=true;return}this.parseNegate();this.globSet=[...new Set(this.braceExpand())];if(d.debug){this.debug=(...i)=>console.error(...i)}this.debug(this.pattern,this.globSet);const p=this.globSet.map((i=>this.slashSplit(i)));this.globParts=this.preprocess(p);this.debug(this.pattern,this.globParts);let v=this.globParts.map(((i,d,p)=>{if(this.isWindows&&this.windowsNoMagicRoot){const d=i[0]===""&&i[1]===""&&(i[2]==="?"||!fe.test(i[2]))&&!fe.test(i[3]);const p=/^[a-z]:/i.test(i[0]);if(d){return[...i.slice(0,4),...i.slice(4).map((i=>this.parse(i)))]}else if(p){return[i[0],...i.slice(1).map((i=>this.parse(i)))]}}return i.map((i=>this.parse(i)))}));this.debug(this.pattern,v);this.set=v.filter((i=>i.indexOf(false)===-1));if(this.isWindows){for(let i=0;i=2){i=this.firstPhasePreProcess(i);i=this.secondPhasePreProcess(i)}else if(d>=1){i=this.levelOneOptimize(i)}else{i=this.adjascentGlobstarOptimize(i)}return i}adjascentGlobstarOptimize(i){return i.map((i=>{let d=-1;while(-1!==(d=i.indexOf("**",d+1))){let p=d;while(i[p+1]==="**"){p++}if(p!==d){i.splice(d,p-d)}}return i}))}levelOneOptimize(i){return i.map((i=>{i=i.reduce(((i,d)=>{const p=i[i.length-1];if(d==="**"&&p==="**"){return i}if(d===".."){if(p&&p!==".."&&p!=="."&&p!=="**"){i.pop();return i}}i.push(d);return i}),[]);return i.length===0?[""]:i}))}levelTwoFileOptimize(i){if(!Array.isArray(i)){i=this.slashSplit(i)}let d=false;do{d=false;if(!this.preserveMultipleSlashes){for(let p=1;pv){p.splice(v+1,V-v)}let K=p[v+1];const ee=p[v+2];const te=p[v+3];if(K!=="..")continue;if(!ee||ee==="."||ee===".."||!te||te==="."||te===".."){continue}d=true;p.splice(v,1);const re=p.slice(0);re[v]="**";i.push(re);v--}if(!this.preserveMultipleSlashes){for(let i=1;ii.length))}partsMatch(i,d,p=false){let v=0;let V=0;let K=[];let ee="";while(vee){p=p.slice(te)}else if(ee>te){i=i.slice(ee)}}}}const{optimizationLevel:K=1}=this.options;if(K>=2){i=this.levelTwoFileOptimize(i)}this.debug("matchOne",this,{file:i,pattern:p});this.debug("matchOne",i.length,p.length);for(var ee=0,te=0,re=i.length,ne=p.length;ee>> no match, partial?",i,oe,p,ae);if(oe===re){return true}}return false}let K;if(typeof ie==="string"){K=se===ie;this.debug("string match",ie,se,K)}else{K=ie.test(se);this.debug("pattern match",ie,se,K)}if(!K)return false}if(ee===re&&te===ne){return true}else if(ee===re){return v}else if(te===ne){return ee===re-1&&i[ee]===""}else{throw new Error("wtf?")}}braceExpand(){return(0,d.braceExpand)(this.pattern,this.options)}parse(i){(0,K.assertValidPattern)(i);const p=this.options;if(i==="**")return d.GLOBSTAR;if(i==="")return"";let v;let V=null;if(v=i.match(oe)){V=p.dot?starTestDot:starTest}else if(v=i.match(ne)){V=(p.nocase?p.dot?starDotExtTestNocaseDot:starDotExtTestNocase:p.dot?starDotExtTestDot:starDotExtTest)(v[1])}else if(v=i.match(ae)){V=(p.nocase?p.dot?qmarksTestNocaseDot:qmarksTestNocase:p.dot?qmarksTestDot:qmarksTest)(v)}else if(v=i.match(ie)){V=p.dot?starDotStarTestDot:starDotStarTest}else if(v=i.match(se)){V=dotStarTest}const te=ee.AST.fromGlob(i,this.options).toMMPattern();if(V&&typeof te==="object"){Reflect.defineProperty(te,"test",{value:V})}return te}makeRe(){if(this.regexp||this.regexp===false)return this.regexp;const i=this.set;if(!i.length){this.regexp=false;return this.regexp}const p=this.options;const v=p.noglobstar?Ae:p.dot?de:pe;const V=new Set(p.nocase?["i"]:[]);let K=i.map((i=>{const p=i.map((i=>{if(i instanceof RegExp){for(const d of i.flags.split(""))V.add(d)}return typeof i==="string"?regExpEscape(i):i===d.GLOBSTAR?d.GLOBSTAR:i._src}));p.forEach(((i,V)=>{const K=p[V+1];const ee=p[V-1];if(i!==d.GLOBSTAR||ee===d.GLOBSTAR){return}if(ee===undefined){if(K!==undefined&&K!==d.GLOBSTAR){p[V+1]="(?:\\/|"+v+"\\/)?"+K}else{p[V]=v}}else if(K===undefined){p[V-1]=ee+"(?:\\/|"+v+")?"}else if(K!==d.GLOBSTAR){p[V-1]=ee+"(?:\\/|\\/"+v+"\\/)"+K;p[V+1]=d.GLOBSTAR}}));return p.filter((i=>i!==d.GLOBSTAR)).join("/")})).join("|");const[ee,te]=i.length>1?["(?:",")"]:["",""];K="^"+ee+K+te+"$";if(this.negate)K="^(?!"+K+").+$";try{this.regexp=new RegExp(K,[...V].join(""))}catch(i){this.regexp=false}return this.regexp}slashSplit(i){if(this.preserveMultipleSlashes){return i.split("/")}else if(this.isWindows&&/^\/\/[^\/]+/.test(i)){return["",...i.split(/\/+/)]}else{return i.split(/\/+/)}}match(i,d=this.partial){this.debug("match",i,this.pattern);if(this.comment){return false}if(this.empty){return i===""}if(i==="/"&&d){return true}const p=this.options;if(this.isWindows){i=i.split("\\").join("/")}const v=this.slashSplit(i);this.debug(this.pattern,"split",v);const V=this.set;this.debug(this.pattern,"set",V);let K=v[v.length-1];if(!K){for(let i=v.length-2;!K&&i>=0;i--){K=v[i]}}for(let i=0;i{Object.defineProperty(d,"__esModule",{value:true});d.unescape=void 0;const unescape=(i,{windowsPathsNoEscape:d=false}={})=>d?i.replace(/\[([^\/\\])\]/g,"$1"):i.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1");d.unescape=unescape},32477:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.LRUCache=void 0;const p=typeof performance==="object"&&performance&&typeof performance.now==="function"?performance:Date;const v=new Set;const V=typeof process==="object"&&!!process?process:{};const emitWarning=(i,d,p,v)=>{typeof V.emitWarning==="function"?V.emitWarning(i,d,p,v):console.error(`[${p}] ${d}: ${i}`)};let K=globalThis.AbortController;let ee=globalThis.AbortSignal;if(typeof K==="undefined"){ee=class AbortSignal{onabort;_onabort=[];reason;aborted=false;addEventListener(i,d){this._onabort.push(d)}};K=class AbortController{constructor(){warnACPolyfill()}signal=new ee;abort(i){if(this.signal.aborted)return;this.signal.reason=i;this.signal.aborted=true;for(const d of this.signal._onabort){d(i)}this.signal.onabort?.(i)}};let i=V.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1";const warnACPolyfill=()=>{if(!i)return;i=false;emitWarning("AbortController is not defined. If using lru-cache in "+"node 14, load an AbortController polyfill from the "+"`node-abort-controller` package. A minimal polyfill is "+"provided for use by LRUCache.fetch(), but it should not be "+"relied upon in other contexts (eg, passing it to other APIs that "+"use AbortController/AbortSignal might have undesirable effects). "+"You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",warnACPolyfill)}}const shouldWarn=i=>!v.has(i);const te=Symbol("type");const isPosInt=i=>i&&i===Math.floor(i)&&i>0&&isFinite(i);const getUintArray=i=>!isPosInt(i)?null:i<=Math.pow(2,8)?Uint8Array:i<=Math.pow(2,16)?Uint16Array:i<=Math.pow(2,32)?Uint32Array:i<=Number.MAX_SAFE_INTEGER?ZeroArray:null;class ZeroArray extends Array{constructor(i){super(i);this.fill(0)}}class Stack{heap;length;static#Me=false;static create(i){const d=getUintArray(i);if(!d)return[];Stack.#Me=true;const p=new Stack(i,d);Stack.#Me=false;return p}constructor(i,d){if(!Stack.#Me){throw new TypeError("instantiate Stack using Stack.create(n)")}this.heap=new d(i);this.length=0}push(i){this.heap[this.length++]=i}pop(){return this.heap[--this.length]}}class LRUCache{#Ue;#I;#He;#Ge;#qe;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#Q;#je;#Ve;#ze;#Ye;#We;#Je;#$e;#Ke;#Xe;#Ze;#et;#tt;#rt;#nt;#it;#st;static unsafeExposeInternals(i){return{starts:i.#tt,ttls:i.#rt,sizes:i.#et,keyMap:i.#Ve,keyList:i.#ze,valList:i.#Ye,next:i.#We,prev:i.#Je,get head(){return i.#$e},get tail(){return i.#Ke},free:i.#Xe,isBackgroundFetch:d=>i.#ot(d),backgroundFetch:(d,p,v,V)=>i.#at(d,p,v,V),moveToTail:d=>i.#ct(d),indexes:d=>i.#lt(d),rindexes:d=>i.#ut(d),isStale:d=>i.#At(d)}}get max(){return this.#Ue}get maxSize(){return this.#I}get calculatedSize(){return this.#je}get size(){return this.#Q}get fetchMethod(){return this.#qe}get dispose(){return this.#He}get disposeAfter(){return this.#Ge}constructor(i){const{max:d=0,ttl:p,ttlResolution:V=1,ttlAutopurge:K,updateAgeOnGet:ee,updateAgeOnHas:te,allowStale:re,dispose:ne,disposeAfter:ie,noDisposeOnSet:se,noUpdateTTL:oe,maxSize:ae=0,maxEntrySize:ce=0,sizeCalculation:le,fetchMethod:ue,noDeleteOnFetchRejection:Ae,noDeleteOnStaleGet:de,allowStaleOnFetchRejection:pe,allowStaleOnFetchAbort:fe,ignoreFetchAbort:he}=i;if(d!==0&&!isPosInt(d)){throw new TypeError("max option must be a nonnegative integer")}const ge=d?getUintArray(d):Array;if(!ge){throw new Error("invalid max value: "+d)}this.#Ue=d;this.#I=ae;this.maxEntrySize=ce||this.#I;this.sizeCalculation=le;if(this.sizeCalculation){if(!this.#I&&!this.maxEntrySize){throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize")}if(typeof this.sizeCalculation!=="function"){throw new TypeError("sizeCalculation set to non-function")}}if(ue!==undefined&&typeof ue!=="function"){throw new TypeError("fetchMethod must be a function if specified")}this.#qe=ue;this.#it=!!ue;this.#Ve=new Map;this.#ze=new Array(d).fill(undefined);this.#Ye=new Array(d).fill(undefined);this.#We=new ge(d);this.#Je=new ge(d);this.#$e=0;this.#Ke=0;this.#Xe=Stack.create(d);this.#Q=0;this.#je=0;if(typeof ne==="function"){this.#He=ne}if(typeof ie==="function"){this.#Ge=ie;this.#Ze=[]}else{this.#Ge=undefined;this.#Ze=undefined}this.#nt=!!this.#He;this.#st=!!this.#Ge;this.noDisposeOnSet=!!se;this.noUpdateTTL=!!oe;this.noDeleteOnFetchRejection=!!Ae;this.allowStaleOnFetchRejection=!!pe;this.allowStaleOnFetchAbort=!!fe;this.ignoreFetchAbort=!!he;if(this.maxEntrySize!==0){if(this.#I!==0){if(!isPosInt(this.#I)){throw new TypeError("maxSize must be a positive integer if specified")}}if(!isPosInt(this.maxEntrySize)){throw new TypeError("maxEntrySize must be a positive integer if specified")}this.#dt()}this.allowStale=!!re;this.noDeleteOnStaleGet=!!de;this.updateAgeOnGet=!!ee;this.updateAgeOnHas=!!te;this.ttlResolution=isPosInt(V)||V===0?V:1;this.ttlAutopurge=!!K;this.ttl=p||0;if(this.ttl){if(!isPosInt(this.ttl)){throw new TypeError("ttl must be a positive integer if specified")}this.#pt()}if(this.#Ue===0&&this.ttl===0&&this.#I===0){throw new TypeError("At least one of max, maxSize, or ttl is required")}if(!this.ttlAutopurge&&!this.#Ue&&!this.#I){const i="LRU_CACHE_UNBOUNDED";if(shouldWarn(i)){v.add(i);const d="TTL caching without ttlAutopurge, max, or maxSize can "+"result in unbounded memory consumption.";emitWarning(d,"UnboundedCacheWarning",i,LRUCache)}}}getRemainingTTL(i){return this.#Ve.has(i)?Infinity:0}#pt(){const i=new ZeroArray(this.#Ue);const d=new ZeroArray(this.#Ue);this.#rt=i;this.#tt=d;this.#ft=(v,V,K=p.now())=>{d[v]=V!==0?K:0;i[v]=V;if(V!==0&&this.ttlAutopurge){const i=setTimeout((()=>{if(this.#At(v)){this.delete(this.#ze[v])}}),V+1);if(i.unref){i.unref()}}};this.#ht=v=>{d[v]=i[v]!==0?p.now():0};this.#gt=(p,V)=>{if(i[V]){const K=i[V];const ee=d[V];if(!K||!ee)return;p.ttl=K;p.start=ee;p.now=v||getNow();const te=p.now-ee;p.remainingTTL=K-te}};let v=0;const getNow=()=>{const i=p.now();if(this.ttlResolution>0){v=i;const d=setTimeout((()=>v=0),this.ttlResolution);if(d.unref){d.unref()}}return i};this.getRemainingTTL=p=>{const V=this.#Ve.get(p);if(V===undefined){return 0}const K=i[V];const ee=d[V];if(!K||!ee){return Infinity}const te=(v||getNow())-ee;return K-te};this.#At=p=>{const V=d[p];const K=i[p];return!!K&&!!V&&(v||getNow())-V>K}}#ht=()=>{};#gt=()=>{};#ft=()=>{};#At=()=>false;#dt(){const i=new ZeroArray(this.#Ue);this.#je=0;this.#et=i;this.#mt=d=>{this.#je-=i[d];i[d]=0};this.#Et=(i,d,p,v)=>{if(this.#ot(d)){return 0}if(!isPosInt(p)){if(v){if(typeof v!=="function"){throw new TypeError("sizeCalculation must be a function")}p=v(d,i);if(!isPosInt(p)){throw new TypeError("sizeCalculation return invalid (expect positive integer)")}}else{throw new TypeError("invalid size value (must be positive integer). "+"When maxSize or maxEntrySize is used, sizeCalculation "+"or size must be set.")}}return p};this.#yt=(d,p,v)=>{i[d]=p;if(this.#I){const p=this.#I-i[d];while(this.#je>p){this.#Ct(true)}}this.#je+=i[d];if(v){v.entrySize=p;v.totalCalculatedSize=this.#je}}}#mt=i=>{};#yt=(i,d,p)=>{};#Et=(i,d,p,v)=>{if(p||v){throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache")}return 0};*#lt({allowStale:i=this.allowStale}={}){if(this.#Q){for(let d=this.#Ke;true;){if(!this.#bt(d)){break}if(i||!this.#At(d)){yield d}if(d===this.#$e){break}else{d=this.#Je[d]}}}}*#ut({allowStale:i=this.allowStale}={}){if(this.#Q){for(let d=this.#$e;true;){if(!this.#bt(d)){break}if(i||!this.#At(d)){yield d}if(d===this.#Ke){break}else{d=this.#We[d]}}}}#bt(i){return i!==undefined&&this.#Ve.get(this.#ze[i])===i}*entries(){for(const i of this.#lt()){if(this.#Ye[i]!==undefined&&this.#ze[i]!==undefined&&!this.#ot(this.#Ye[i])){yield[this.#ze[i],this.#Ye[i]]}}}*rentries(){for(const i of this.#ut()){if(this.#Ye[i]!==undefined&&this.#ze[i]!==undefined&&!this.#ot(this.#Ye[i])){yield[this.#ze[i],this.#Ye[i]]}}}*keys(){for(const i of this.#lt()){const d=this.#ze[i];if(d!==undefined&&!this.#ot(this.#Ye[i])){yield d}}}*rkeys(){for(const i of this.#ut()){const d=this.#ze[i];if(d!==undefined&&!this.#ot(this.#Ye[i])){yield d}}}*values(){for(const i of this.#lt()){const d=this.#Ye[i];if(d!==undefined&&!this.#ot(this.#Ye[i])){yield this.#Ye[i]}}}*rvalues(){for(const i of this.#ut()){const d=this.#Ye[i];if(d!==undefined&&!this.#ot(this.#Ye[i])){yield this.#Ye[i]}}}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(i,d={}){for(const p of this.#lt()){const v=this.#Ye[p];const V=this.#ot(v)?v.__staleWhileFetching:v;if(V===undefined)continue;if(i(V,this.#ze[p],this)){return this.get(this.#ze[p],d)}}}forEach(i,d=this){for(const p of this.#lt()){const v=this.#Ye[p];const V=this.#ot(v)?v.__staleWhileFetching:v;if(V===undefined)continue;i.call(d,V,this.#ze[p],this)}}rforEach(i,d=this){for(const p of this.#ut()){const v=this.#Ye[p];const V=this.#ot(v)?v.__staleWhileFetching:v;if(V===undefined)continue;i.call(d,V,this.#ze[p],this)}}purgeStale(){let i=false;for(const d of this.#ut({allowStale:true})){if(this.#At(d)){this.delete(this.#ze[d]);i=true}}return i}info(i){const d=this.#Ve.get(i);if(d===undefined)return undefined;const v=this.#Ye[d];const V=this.#ot(v)?v.__staleWhileFetching:v;if(V===undefined)return undefined;const K={value:V};if(this.#rt&&this.#tt){const i=this.#rt[d];const v=this.#tt[d];if(i&&v){const d=i-(p.now()-v);K.ttl=d;K.start=Date.now()}}if(this.#et){K.size=this.#et[d]}return K}dump(){const i=[];for(const d of this.#lt({allowStale:true})){const v=this.#ze[d];const V=this.#Ye[d];const K=this.#ot(V)?V.__staleWhileFetching:V;if(K===undefined||v===undefined)continue;const ee={value:K};if(this.#rt&&this.#tt){ee.ttl=this.#rt[d];const i=p.now()-this.#tt[d];ee.start=Math.floor(Date.now()-i)}if(this.#et){ee.size=this.#et[d]}i.unshift([v,ee])}return i}load(i){this.clear();for(const[d,v]of i){if(v.start){const i=Date.now()-v.start;v.start=p.now()-i}this.set(d,v.value,v)}}set(i,d,p={}){if(d===undefined){this.delete(i);return this}const{ttl:v=this.ttl,start:V,noDisposeOnSet:K=this.noDisposeOnSet,sizeCalculation:ee=this.sizeCalculation,status:te}=p;let{noUpdateTTL:re=this.noUpdateTTL}=p;const ne=this.#Et(i,d,p.size||0,ee);if(this.maxEntrySize&&ne>this.maxEntrySize){if(te){te.set="miss";te.maxEntrySizeExceeded=true}this.delete(i);return this}let ie=this.#Q===0?undefined:this.#Ve.get(i);if(ie===undefined){ie=this.#Q===0?this.#Ke:this.#Xe.length!==0?this.#Xe.pop():this.#Q===this.#Ue?this.#Ct(false):this.#Q;this.#ze[ie]=i;this.#Ye[ie]=d;this.#Ve.set(i,ie);this.#We[this.#Ke]=ie;this.#Je[ie]=this.#Ke;this.#Ke=ie;this.#Q++;this.#yt(ie,ne,te);if(te)te.set="add";re=false}else{this.#ct(ie);const p=this.#Ye[ie];if(d!==p){if(this.#it&&this.#ot(p)){p.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:d}=p;if(d!==undefined&&!K){if(this.#nt){this.#He?.(d,i,"set")}if(this.#st){this.#Ze?.push([d,i,"set"])}}}else if(!K){if(this.#nt){this.#He?.(p,i,"set")}if(this.#st){this.#Ze?.push([p,i,"set"])}}this.#mt(ie);this.#yt(ie,ne,te);this.#Ye[ie]=d;if(te){te.set="replace";const i=p&&this.#ot(p)?p.__staleWhileFetching:p;if(i!==undefined)te.oldValue=i}}else if(te){te.set="update"}}if(v!==0&&!this.#rt){this.#pt()}if(this.#rt){if(!re){this.#ft(ie,v,V)}if(te)this.#gt(te,ie)}if(!K&&this.#st&&this.#Ze){const i=this.#Ze;let d;while(d=i?.shift()){this.#Ge?.(...d)}}return this}pop(){try{while(this.#Q){const i=this.#Ye[this.#$e];this.#Ct(true);if(this.#ot(i)){if(i.__staleWhileFetching){return i.__staleWhileFetching}}else if(i!==undefined){return i}}}finally{if(this.#st&&this.#Ze){const i=this.#Ze;let d;while(d=i?.shift()){this.#Ge?.(...d)}}}}#Ct(i){const d=this.#$e;const p=this.#ze[d];const v=this.#Ye[d];if(this.#it&&this.#ot(v)){v.__abortController.abort(new Error("evicted"))}else if(this.#nt||this.#st){if(this.#nt){this.#He?.(v,p,"evict")}if(this.#st){this.#Ze?.push([v,p,"evict"])}}this.#mt(d);if(i){this.#ze[d]=undefined;this.#Ye[d]=undefined;this.#Xe.push(d)}if(this.#Q===1){this.#$e=this.#Ke=0;this.#Xe.length=0}else{this.#$e=this.#We[d]}this.#Ve.delete(p);this.#Q--;return d}has(i,d={}){const{updateAgeOnHas:p=this.updateAgeOnHas,status:v}=d;const V=this.#Ve.get(i);if(V!==undefined){const i=this.#Ye[V];if(this.#ot(i)&&i.__staleWhileFetching===undefined){return false}if(!this.#At(V)){if(p){this.#ht(V)}if(v){v.has="hit";this.#gt(v,V)}return true}else if(v){v.has="stale";this.#gt(v,V)}}else if(v){v.has="miss"}return false}peek(i,d={}){const{allowStale:p=this.allowStale}=d;const v=this.#Ve.get(i);if(v===undefined||!p&&this.#At(v)){return}const V=this.#Ye[v];return this.#ot(V)?V.__staleWhileFetching:V}#at(i,d,p,v){const V=d===undefined?undefined:this.#Ye[d];if(this.#ot(V)){return V}const ee=new K;const{signal:te}=p;te?.addEventListener("abort",(()=>ee.abort(te.reason)),{signal:ee.signal});const re={signal:ee.signal,options:p,context:v};const cb=(v,V=false)=>{const{aborted:K}=ee.signal;const te=p.ignoreFetchAbort&&v!==undefined;if(p.status){if(K&&!V){p.status.fetchAborted=true;p.status.fetchError=ee.signal.reason;if(te)p.status.fetchAbortIgnored=true}else{p.status.fetchResolved=true}}if(K&&!te&&!V){return fetchFail(ee.signal.reason)}const ie=ne;if(this.#Ye[d]===ne){if(v===undefined){if(ie.__staleWhileFetching){this.#Ye[d]=ie.__staleWhileFetching}else{this.delete(i)}}else{if(p.status)p.status.fetchUpdated=true;this.set(i,v,re.options)}}return v};const eb=i=>{if(p.status){p.status.fetchRejected=true;p.status.fetchError=i}return fetchFail(i)};const fetchFail=v=>{const{aborted:V}=ee.signal;const K=V&&p.allowStaleOnFetchAbort;const te=K||p.allowStaleOnFetchRejection;const re=te||p.noDeleteOnFetchRejection;const ie=ne;if(this.#Ye[d]===ne){const p=!re||ie.__staleWhileFetching===undefined;if(p){this.delete(i)}else if(!K){this.#Ye[d]=ie.__staleWhileFetching}}if(te){if(p.status&&ie.__staleWhileFetching!==undefined){p.status.returnedStale=true}return ie.__staleWhileFetching}else if(ie.__returned===ie){throw v}};const pcall=(d,v)=>{const K=this.#qe?.(i,V,re);if(K&&K instanceof Promise){K.then((i=>d(i===undefined?undefined:i)),v)}ee.signal.addEventListener("abort",(()=>{if(!p.ignoreFetchAbort||p.allowStaleOnFetchAbort){d(undefined);if(p.allowStaleOnFetchAbort){d=i=>cb(i,true)}}}))};if(p.status)p.status.fetchDispatched=true;const ne=new Promise(pcall).then(cb,eb);const ie=Object.assign(ne,{__abortController:ee,__staleWhileFetching:V,__returned:undefined});if(d===undefined){this.set(i,ie,{...re.options,status:undefined});d=this.#Ve.get(i)}else{this.#Ye[d]=ie}return ie}#ot(i){if(!this.#it)return false;const d=i;return!!d&&d instanceof Promise&&d.hasOwnProperty("__staleWhileFetching")&&d.__abortController instanceof K}async fetch(i,d={}){const{allowStale:p=this.allowStale,updateAgeOnGet:v=this.updateAgeOnGet,noDeleteOnStaleGet:V=this.noDeleteOnStaleGet,ttl:K=this.ttl,noDisposeOnSet:ee=this.noDisposeOnSet,size:te=0,sizeCalculation:re=this.sizeCalculation,noUpdateTTL:ne=this.noUpdateTTL,noDeleteOnFetchRejection:ie=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:se=this.allowStaleOnFetchRejection,ignoreFetchAbort:oe=this.ignoreFetchAbort,allowStaleOnFetchAbort:ae=this.allowStaleOnFetchAbort,context:ce,forceRefresh:le=false,status:ue,signal:Ae}=d;if(!this.#it){if(ue)ue.fetch="get";return this.get(i,{allowStale:p,updateAgeOnGet:v,noDeleteOnStaleGet:V,status:ue})}const de={allowStale:p,updateAgeOnGet:v,noDeleteOnStaleGet:V,ttl:K,noDisposeOnSet:ee,size:te,sizeCalculation:re,noUpdateTTL:ne,noDeleteOnFetchRejection:ie,allowStaleOnFetchRejection:se,allowStaleOnFetchAbort:ae,ignoreFetchAbort:oe,status:ue,signal:Ae};let pe=this.#Ve.get(i);if(pe===undefined){if(ue)ue.fetch="miss";const d=this.#at(i,pe,de,ce);return d.__returned=d}else{const d=this.#Ye[pe];if(this.#ot(d)){const i=p&&d.__staleWhileFetching!==undefined;if(ue){ue.fetch="inflight";if(i)ue.returnedStale=true}return i?d.__staleWhileFetching:d.__returned=d}const V=this.#At(pe);if(!le&&!V){if(ue)ue.fetch="hit";this.#ct(pe);if(v){this.#ht(pe)}if(ue)this.#gt(ue,pe);return d}const K=this.#at(i,pe,de,ce);const ee=K.__staleWhileFetching!==undefined;const te=ee&&p;if(ue){ue.fetch=V?"stale":"refresh";if(te&&V)ue.returnedStale=true}return te?K.__staleWhileFetching:K.__returned=K}}get(i,d={}){const{allowStale:p=this.allowStale,updateAgeOnGet:v=this.updateAgeOnGet,noDeleteOnStaleGet:V=this.noDeleteOnStaleGet,status:K}=d;const ee=this.#Ve.get(i);if(ee!==undefined){const d=this.#Ye[ee];const te=this.#ot(d);if(K)this.#gt(K,ee);if(this.#At(ee)){if(K)K.get="stale";if(!te){if(!V){this.delete(i)}if(K&&p)K.returnedStale=true;return p?d:undefined}else{if(K&&p&&d.__staleWhileFetching!==undefined){K.returnedStale=true}return p?d.__staleWhileFetching:undefined}}else{if(K)K.get="hit";if(te){return d.__staleWhileFetching}this.#ct(ee);if(v){this.#ht(ee)}return d}}else if(K){K.get="miss"}}#H(i,d){this.#Je[d]=i;this.#We[i]=d}#ct(i){if(i!==this.#Ke){if(i===this.#$e){this.#$e=this.#We[i]}else{this.#H(this.#Je[i],this.#We[i])}this.#H(this.#Ke,i);this.#Ke=i}}delete(i){let d=false;if(this.#Q!==0){const p=this.#Ve.get(i);if(p!==undefined){d=true;if(this.#Q===1){this.clear()}else{this.#mt(p);const d=this.#Ye[p];if(this.#ot(d)){d.__abortController.abort(new Error("deleted"))}else if(this.#nt||this.#st){if(this.#nt){this.#He?.(d,i,"delete")}if(this.#st){this.#Ze?.push([d,i,"delete"])}}this.#Ve.delete(i);this.#ze[p]=undefined;this.#Ye[p]=undefined;if(p===this.#Ke){this.#Ke=this.#Je[p]}else if(p===this.#$e){this.#$e=this.#We[p]}else{const i=this.#Je[p];this.#We[i]=this.#We[p];const d=this.#We[p];this.#Je[d]=this.#Je[p]}this.#Q--;this.#Xe.push(p)}}}if(this.#st&&this.#Ze?.length){const i=this.#Ze;let d;while(d=i?.shift()){this.#Ge?.(...d)}}return d}clear(){for(const i of this.#ut({allowStale:true})){const d=this.#Ye[i];if(this.#ot(d)){d.__abortController.abort(new Error("deleted"))}else{const p=this.#ze[i];if(this.#nt){this.#He?.(d,p,"delete")}if(this.#st){this.#Ze?.push([d,p,"delete"])}}}this.#Ve.clear();this.#Ye.fill(undefined);this.#ze.fill(undefined);if(this.#rt&&this.#tt){this.#rt.fill(0);this.#tt.fill(0)}if(this.#et){this.#et.fill(0)}this.#$e=0;this.#Ke=0;this.#Xe.length=0;this.#je=0;this.#Q=0;if(this.#st&&this.#Ze){const i=this.#Ze;let d;while(d=i?.shift()){this.#Ge?.(...d)}}}}d.LRUCache=LRUCache},78275:function(i,d,p){var v=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(d,"__esModule",{value:true});d.Minipass=d.isWritable=d.isReadable=d.isStream=void 0;const V=typeof process==="object"&&process?process:{stdout:null,stderr:null};const K=p(24434);const ee=v(p(2203));const te=p(13193);const isStream=i=>!!i&&typeof i==="object"&&(i instanceof Minipass||i instanceof ee.default||(0,d.isReadable)(i)||(0,d.isWritable)(i));d.isStream=isStream;const isReadable=i=>!!i&&typeof i==="object"&&i instanceof K.EventEmitter&&typeof i.pipe==="function"&&i.pipe!==ee.default.Writable.prototype.pipe;d.isReadable=isReadable;const isWritable=i=>!!i&&typeof i==="object"&&i instanceof K.EventEmitter&&typeof i.write==="function"&&typeof i.end==="function";d.isWritable=isWritable;const re=Symbol("EOF");const ne=Symbol("maybeEmitEnd");const ie=Symbol("emittedEnd");const se=Symbol("emittingEnd");const oe=Symbol("emittedError");const ae=Symbol("closed");const ce=Symbol("read");const le=Symbol("flush");const ue=Symbol("flushChunk");const Ae=Symbol("encoding");const de=Symbol("decoder");const pe=Symbol("flowing");const fe=Symbol("paused");const he=Symbol("resume");const ge=Symbol("buffer");const me=Symbol("pipes");const Ee=Symbol("bufferLength");const ye=Symbol("bufferPush");const Ce=Symbol("bufferShift");const be=Symbol("objectMode");const Ie=Symbol("destroyed");const Be=Symbol("error");const we=Symbol("emitData");const Se=Symbol("emitEnd");const Qe=Symbol("emitEnd2");const ve=Symbol("async");const Re=Symbol("abort");const Te=Symbol("aborted");const Ne=Symbol("signal");const ke=Symbol("dataListeners");const De=Symbol("discarded");const defer=i=>Promise.resolve().then(i);const nodefer=i=>i();const isEndish=i=>i==="end"||i==="finish"||i==="prefinish";const isArrayBufferLike=i=>i instanceof ArrayBuffer||!!i&&typeof i==="object"&&i.constructor&&i.constructor.name==="ArrayBuffer"&&i.byteLength>=0;const isArrayBufferView=i=>!Buffer.isBuffer(i)&&ArrayBuffer.isView(i);class Pipe{src;dest;opts;ondrain;constructor(i,d,p){this.src=i;this.dest=d;this.opts=p;this.ondrain=()=>i[he]();this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(i){}end(){this.unpipe();if(this.opts.end)this.dest.end()}}class PipeProxyErrors extends Pipe{unpipe(){this.src.removeListener("error",this.proxyErrors);super.unpipe()}constructor(i,d,p){super(i,d,p);this.proxyErrors=i=>d.emit("error",i);i.on("error",this.proxyErrors)}}const isObjectModeOptions=i=>!!i.objectMode;const isEncodingOptions=i=>!i.objectMode&&!!i.encoding&&i.encoding!=="buffer";class Minipass extends K.EventEmitter{[pe]=false;[fe]=false;[me]=[];[ge]=[];[be];[Ae];[ve];[de];[re]=false;[ie]=false;[se]=false;[ae]=false;[oe]=null;[Ee]=0;[Ie]=false;[Ne];[Te]=false;[ke]=0;[De]=false;writable=true;readable=true;constructor(...i){const d=i[0]||{};super();if(d.objectMode&&typeof d.encoding==="string"){throw new TypeError("Encoding and objectMode may not be used together")}if(isObjectModeOptions(d)){this[be]=true;this[Ae]=null}else if(isEncodingOptions(d)){this[Ae]=d.encoding;this[be]=false}else{this[be]=false;this[Ae]=null}this[ve]=!!d.async;this[de]=this[Ae]?new te.StringDecoder(this[Ae]):null;if(d&&d.debugExposeBuffer===true){Object.defineProperty(this,"buffer",{get:()=>this[ge]})}if(d&&d.debugExposePipes===true){Object.defineProperty(this,"pipes",{get:()=>this[me]})}const{signal:p}=d;if(p){this[Ne]=p;if(p.aborted){this[Re]()}else{p.addEventListener("abort",(()=>this[Re]()))}}}get bufferLength(){return this[Ee]}get encoding(){return this[Ae]}set encoding(i){throw new Error("Encoding must be set at instantiation time")}setEncoding(i){throw new Error("Encoding must be set at instantiation time")}get objectMode(){return this[be]}set objectMode(i){throw new Error("objectMode must be set at instantiation time")}get["async"](){return this[ve]}set["async"](i){this[ve]=this[ve]||!!i}[Re](){this[Te]=true;this.emit("abort",this[Ne]?.reason);this.destroy(this[Ne]?.reason)}get aborted(){return this[Te]}set aborted(i){}write(i,d,p){if(this[Te])return false;if(this[re])throw new Error("write after end");if(this[Ie]){this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"}));return true}if(typeof d==="function"){p=d;d="utf8"}if(!d)d="utf8";const v=this[ve]?defer:nodefer;if(!this[be]&&!Buffer.isBuffer(i)){if(isArrayBufferView(i)){i=Buffer.from(i.buffer,i.byteOffset,i.byteLength)}else if(isArrayBufferLike(i)){i=Buffer.from(i)}else if(typeof i!=="string"){throw new Error("Non-contiguous data written to non-objectMode stream")}}if(this[be]){if(this[pe]&&this[Ee]!==0)this[le](true);if(this[pe])this.emit("data",i);else this[ye](i);if(this[Ee]!==0)this.emit("readable");if(p)v(p);return this[pe]}if(!i.length){if(this[Ee]!==0)this.emit("readable");if(p)v(p);return this[pe]}if(typeof i==="string"&&!(d===this[Ae]&&!this[de]?.lastNeed)){i=Buffer.from(i,d)}if(Buffer.isBuffer(i)&&this[Ae]){i=this[de].write(i)}if(this[pe]&&this[Ee]!==0)this[le](true);if(this[pe])this.emit("data",i);else this[ye](i);if(this[Ee]!==0)this.emit("readable");if(p)v(p);return this[pe]}read(i){if(this[Ie])return null;this[De]=false;if(this[Ee]===0||i===0||i&&i>this[Ee]){this[ne]();return null}if(this[be])i=null;if(this[ge].length>1&&!this[be]){this[ge]=[this[Ae]?this[ge].join(""):Buffer.concat(this[ge],this[Ee])]}const d=this[ce](i||null,this[ge][0]);this[ne]();return d}[ce](i,d){if(this[be])this[Ce]();else{const p=d;if(i===p.length||i===null)this[Ce]();else if(typeof p==="string"){this[ge][0]=p.slice(i);d=p.slice(0,i);this[Ee]-=i}else{this[ge][0]=p.subarray(i);d=p.subarray(0,i);this[Ee]-=i}}this.emit("data",d);if(!this[ge].length&&!this[re])this.emit("drain");return d}end(i,d,p){if(typeof i==="function"){p=i;i=undefined}if(typeof d==="function"){p=d;d="utf8"}if(i!==undefined)this.write(i,d);if(p)this.once("end",p);this[re]=true;this.writable=false;if(this[pe]||!this[fe])this[ne]();return this}[he](){if(this[Ie])return;if(!this[ke]&&!this[me].length){this[De]=true}this[fe]=false;this[pe]=true;this.emit("resume");if(this[ge].length)this[le]();else if(this[re])this[ne]();else this.emit("drain")}resume(){return this[he]()}pause(){this[pe]=false;this[fe]=true;this[De]=false}get destroyed(){return this[Ie]}get flowing(){return this[pe]}get paused(){return this[fe]}[ye](i){if(this[be])this[Ee]+=1;else this[Ee]+=i.length;this[ge].push(i)}[Ce](){if(this[be])this[Ee]-=1;else this[Ee]-=this[ge][0].length;return this[ge].shift()}[le](i=false){do{}while(this[ue](this[Ce]())&&this[ge].length);if(!i&&!this[ge].length&&!this[re])this.emit("drain")}[ue](i){this.emit("data",i);return this[pe]}pipe(i,d){if(this[Ie])return i;this[De]=false;const p=this[ie];d=d||{};if(i===V.stdout||i===V.stderr)d.end=false;else d.end=d.end!==false;d.proxyErrors=!!d.proxyErrors;if(p){if(d.end)i.end()}else{this[me].push(!d.proxyErrors?new Pipe(this,i,d):new PipeProxyErrors(this,i,d));if(this[ve])defer((()=>this[he]()));else this[he]()}return i}unpipe(i){const d=this[me].find((d=>d.dest===i));if(d){if(this[me].length===1){if(this[pe]&&this[ke]===0){this[pe]=false}this[me]=[]}else this[me].splice(this[me].indexOf(d),1);d.unpipe()}}addListener(i,d){return this.on(i,d)}on(i,d){const p=super.on(i,d);if(i==="data"){this[De]=false;this[ke]++;if(!this[me].length&&!this[pe]){this[he]()}}else if(i==="readable"&&this[Ee]!==0){super.emit("readable")}else if(isEndish(i)&&this[ie]){super.emit(i);this.removeAllListeners(i)}else if(i==="error"&&this[oe]){const i=d;if(this[ve])defer((()=>i.call(this,this[oe])));else i.call(this,this[oe])}return p}removeListener(i,d){return this.off(i,d)}off(i,d){const p=super.off(i,d);if(i==="data"){this[ke]=this.listeners("data").length;if(this[ke]===0&&!this[De]&&!this[me].length){this[pe]=false}}return p}removeAllListeners(i){const d=super.removeAllListeners(i);if(i==="data"||i===undefined){this[ke]=0;if(!this[De]&&!this[me].length){this[pe]=false}}return d}get emittedEnd(){return this[ie]}[ne](){if(!this[se]&&!this[ie]&&!this[Ie]&&this[ge].length===0&&this[re]){this[se]=true;this.emit("end");this.emit("prefinish");this.emit("finish");if(this[ae])this.emit("close");this[se]=false}}emit(i,...d){const p=d[0];if(i!=="error"&&i!=="close"&&i!==Ie&&this[Ie]){return false}else if(i==="data"){return!this[be]&&!p?false:this[ve]?(defer((()=>this[we](p))),true):this[we](p)}else if(i==="end"){return this[Se]()}else if(i==="close"){this[ae]=true;if(!this[ie]&&!this[Ie])return false;const i=super.emit("close");this.removeAllListeners("close");return i}else if(i==="error"){this[oe]=p;super.emit(Be,p);const i=!this[Ne]||this.listeners("error").length?super.emit("error",p):false;this[ne]();return i}else if(i==="resume"){const i=super.emit("resume");this[ne]();return i}else if(i==="finish"||i==="prefinish"){const d=super.emit(i);this.removeAllListeners(i);return d}const v=super.emit(i,...d);this[ne]();return v}[we](i){for(const d of this[me]){if(d.dest.write(i)===false)this.pause()}const d=this[De]?false:super.emit("data",i);this[ne]();return d}[Se](){if(this[ie])return false;this[ie]=true;this.readable=false;return this[ve]?(defer((()=>this[Qe]())),true):this[Qe]()}[Qe](){if(this[de]){const i=this[de].end();if(i){for(const d of this[me]){d.dest.write(i)}if(!this[De])super.emit("data",i)}}for(const i of this[me]){i.end()}const i=super.emit("end");this.removeAllListeners("end");return i}async collect(){const i=Object.assign([],{dataLength:0});if(!this[be])i.dataLength=0;const d=this.promise();this.on("data",(d=>{i.push(d);if(!this[be])i.dataLength+=d.length}));await d;return i}async concat(){if(this[be]){throw new Error("cannot concat in objectMode")}const i=await this.collect();return this[Ae]?i.join(""):Buffer.concat(i,i.dataLength)}async promise(){return new Promise(((i,d)=>{this.on(Ie,(()=>d(new Error("stream destroyed"))));this.on("error",(i=>d(i)));this.on("end",(()=>i()))}))}[Symbol.asyncIterator](){this[De]=false;let i=false;const stop=async()=>{this.pause();i=true;return{value:undefined,done:true}};const next=()=>{if(i)return stop();const d=this.read();if(d!==null)return Promise.resolve({done:false,value:d});if(this[re])return stop();let p;let v;const onerr=i=>{this.off("data",ondata);this.off("end",onend);this.off(Ie,ondestroy);stop();v(i)};const ondata=i=>{this.off("error",onerr);this.off("end",onend);this.off(Ie,ondestroy);this.pause();p({value:i,done:!!this[re]})};const onend=()=>{this.off("error",onerr);this.off("data",ondata);this.off(Ie,ondestroy);stop();p({done:true,value:undefined})};const ondestroy=()=>onerr(new Error("stream destroyed"));return new Promise(((i,d)=>{v=d;p=i;this.once(Ie,ondestroy);this.once("error",onerr);this.once("end",onend);this.once("data",ondata)}))};return{next:next,throw:stop,return:stop,[Symbol.asyncIterator](){return this}}}[Symbol.iterator](){this[De]=false;let i=false;const stop=()=>{this.pause();this.off(Be,stop);this.off(Ie,stop);this.off("end",stop);i=true;return{done:true,value:undefined}};const next=()=>{if(i)return stop();const d=this.read();return d===null?stop():{done:false,value:d}};this.once("end",stop);this.once(Be,stop);this.once(Ie,stop);return{next:next,throw:stop,return:stop,[Symbol.iterator](){return this}}}destroy(i){if(this[Ie]){if(i)this.emit("error",i);else this.emit(Ie);return this}this[Ie]=true;this[De]=true;this[ge].length=0;this[Ee]=0;const d=this;if(typeof d.close==="function"&&!this[ae])d.close();if(i)this.emit("error",i);else this.emit(Ie);return this}static get isStream(){return d.isStream}}d.Minipass=Minipass},38958:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};Object.defineProperty(d,"__esModule",{value:true});d.PathScurry=d.Path=d.PathScurryDarwin=d.PathScurryPosix=d.PathScurryWin32=d.PathScurryBase=d.PathPosix=d.PathWin32=d.PathBase=d.ChildrenCache=d.ResolveCache=void 0;const ee=p(32477);const te=p(76760);const re=p(73136);const ne=p(79896);const ie=K(p(73024));const se=ne.realpathSync.native;const oe=p(51455);const ae=p(78275);const ce={lstatSync:ne.lstatSync,readdir:ne.readdir,readdirSync:ne.readdirSync,readlinkSync:ne.readlinkSync,realpathSync:se,promises:{lstat:oe.lstat,readdir:oe.readdir,readlink:oe.readlink,realpath:oe.realpath}};const fsFromOption=i=>!i||i===ce||i===ie?ce:{...ce,...i,promises:{...ce.promises,...i.promises||{}}};const le=/^\\\\\?\\([a-z]:)\\?$/i;const uncToDrive=i=>i.replace(/\//g,"\\").replace(le,"$1\\");const ue=/[\\\/]/;const Ae=0;const de=1;const pe=2;const fe=4;const he=6;const ge=8;const me=10;const Ee=12;const ye=15;const Ce=~ye;const be=16;const Ie=32;const Be=64;const we=128;const Se=256;const Qe=512;const ve=Be|we|Qe;const Re=1023;const entToType=i=>i.isFile()?ge:i.isDirectory()?fe:i.isSymbolicLink()?me:i.isCharacterDevice()?pe:i.isBlockDevice()?he:i.isSocket()?Ee:i.isFIFO()?de:Ae;const Te=new Map;const normalize=i=>{const d=Te.get(i);if(d)return d;const p=i.normalize("NFKD");Te.set(i,p);return p};const Ne=new Map;const normalizeNocase=i=>{const d=Ne.get(i);if(d)return d;const p=normalize(i.toLowerCase());Ne.set(i,p);return p};class ResolveCache extends ee.LRUCache{constructor(){super({max:256})}}d.ResolveCache=ResolveCache;class ChildrenCache extends ee.LRUCache{constructor(i=16*1024){super({maxSize:i,sizeCalculation:i=>i.length+1})}}d.ChildrenCache=ChildrenCache;const ke=Symbol("PathScurry setAsCwd");class PathBase{name;root;roots;parent;nocase;isCWD=false;#It;#Bt;get dev(){return this.#Bt}#wt;get mode(){return this.#wt}#St;get nlink(){return this.#St}#Qt;get uid(){return this.#Qt}#vt;get gid(){return this.#vt}#Rt;get rdev(){return this.#Rt}#Tt;get blksize(){return this.#Tt}#Nt;get ino(){return this.#Nt}#Q;get size(){return this.#Q}#kt;get blocks(){return this.#kt}#Dt;get atimeMs(){return this.#Dt}#xt;get mtimeMs(){return this.#xt}#_t;get ctimeMs(){return this.#_t}#Pt;get birthtimeMs(){return this.#Pt}#Ot;get atime(){return this.#Ot}#Lt;get mtime(){return this.#Lt}#Ft;get ctime(){return this.#Ft}#Mt;get birthtime(){return this.#Mt}#Ut;#Ht;#Gt;#qt;#jt;#Vt;#zt;#Yt;#Wt;#Jt;get parentPath(){return(this.parent||this).fullpath()}get path(){return this.parentPath}constructor(i,d=Ae,p,v,V,K,ee){this.name=i;this.#Ut=V?normalizeNocase(i):normalize(i);this.#zt=dℜthis.nocase=V;this.roots=v;this.root=p||this;this.#Yt=K;this.#Gt=ee.fullpath;this.#jt=ee.relative;this.#Vt=ee.relativePosix;this.parent=ee.parent;if(this.parent){this.#It=this.parent.#It}else{this.#It=fsFromOption(ee.fs)}}depth(){if(this.#Ht!==undefined)return this.#Ht;if(!this.parent)return this.#Ht=0;return this.#Ht=this.parent.depth()+1}childrenCache(){return this.#Yt}resolve(i){if(!i){return this}const d=this.getRootString(i);const p=i.substring(d.length);const v=p.split(this.splitSep);const V=d?this.getRoot(d).#$t(v):this.#$t(v);return V}#$t(i){let d=this;for(const p of i){d=d.child(p)}return d}children(){const i=this.#Yt.get(this);if(i){return i}const d=Object.assign([],{provisional:0});this.#Yt.set(this,d);this.#zt&=~be;return d}child(i,d){if(i===""||i==="."){return this}if(i===".."){return this.parent||this}const p=this.children();const v=this.nocase?normalizeNocase(i):normalize(i);for(const i of p){if(i.#Ut===v){return i}}const V=this.parent?this.sep:"";const K=this.#Gt?this.#Gt+V+i:undefined;const ee=this.newChild(i,Ae,{...d,parent:this,fullpath:K});if(!this.canReaddir()){ee.#zt|=we}p.push(ee);return ee}relative(){if(this.isCWD)return"";if(this.#jt!==undefined){return this.#jt}const i=this.name;const d=this.parent;if(!d){return this.#jt=this.name}const p=d.relative();return p+(!p||!d.parent?"":this.sep)+i}relativePosix(){if(this.sep==="/")return this.relative();if(this.isCWD)return"";if(this.#Vt!==undefined)return this.#Vt;const i=this.name;const d=this.parent;if(!d){return this.#Vt=this.fullpathPosix()}const p=d.relativePosix();return p+(!p||!d.parent?"":"/")+i}fullpath(){if(this.#Gt!==undefined){return this.#Gt}const i=this.name;const d=this.parent;if(!d){return this.#Gt=this.name}const p=d.fullpath();const v=p+(!d.parent?"":this.sep)+i;return this.#Gt=v}fullpathPosix(){if(this.#qt!==undefined)return this.#qt;if(this.sep==="/")return this.#qt=this.fullpath();if(!this.parent){const i=this.fullpath().replace(/\\/g,"/");if(/^[a-z]:\//i.test(i)){return this.#qt=`//?/${i}`}else{return this.#qt=i}}const i=this.parent;const d=i.fullpathPosix();const p=d+(!d||!i.parent?"":"/")+this.name;return this.#qt=p}isUnknown(){return(this.#zt&ye)===Ae}isType(i){return this[`is${i}`]()}getType(){return this.isUnknown()?"Unknown":this.isDirectory()?"Directory":this.isFile()?"File":this.isSymbolicLink()?"SymbolicLink":this.isFIFO()?"FIFO":this.isCharacterDevice()?"CharacterDevice":this.isBlockDevice()?"BlockDevice":this.isSocket()?"Socket":"Unknown"}isFile(){return(this.#zt&ye)===ge}isDirectory(){return(this.#zt&ye)===fe}isCharacterDevice(){return(this.#zt&ye)===pe}isBlockDevice(){return(this.#zt&ye)===he}isFIFO(){return(this.#zt&ye)===de}isSocket(){return(this.#zt&ye)===Ee}isSymbolicLink(){return(this.#zt&me)===me}lstatCached(){return this.#zt&Ie?this:undefined}readlinkCached(){return this.#Wt}realpathCached(){return this.#Jt}readdirCached(){const i=this.children();return i.slice(0,i.provisional)}canReadlink(){if(this.#Wt)return true;if(!this.parent)return false;const i=this.#zt&ye;return!(i!==Ae&&i!==me||this.#zt&Se||this.#zt&we)}calledReaddir(){return!!(this.#zt&be)}isENOENT(){return!!(this.#zt&we)}isNamed(i){return!this.nocase?this.#Ut===normalize(i):this.#Ut===normalizeNocase(i)}async readlink(){const i=this.#Wt;if(i){return i}if(!this.canReadlink()){return undefined}if(!this.parent){return undefined}try{const i=await this.#It.promises.readlink(this.fullpath());const d=(await this.parent.realpath())?.resolve(i);if(d){return this.#Wt=d}}catch(i){this.#Kt(i.code);return undefined}}readlinkSync(){const i=this.#Wt;if(i){return i}if(!this.canReadlink()){return undefined}if(!this.parent){return undefined}try{const i=this.#It.readlinkSync(this.fullpath());const d=this.parent.realpathSync()?.resolve(i);if(d){return this.#Wt=d}}catch(i){this.#Kt(i.code);return undefined}}#Xt(i){this.#zt|=be;for(let d=i.provisional;dd(null,i)))}readdirCB(i,d=false){if(!this.canReaddir()){if(d)i(null,[]);else queueMicrotask((()=>i(null,[])));return}const p=this.children();if(this.calledReaddir()){const v=p.slice(0,p.provisional);if(d)i(null,v);else queueMicrotask((()=>i(null,v)));return}this.#ur.push(i);if(this.#Ar){return}this.#Ar=true;const v=this.fullpath();this.#It.readdir(v,{withFileTypes:true},((i,d)=>{if(i){this.#nr(i.code);p.provisional=0}else{for(const i of d){this.#sr(i,p)}this.#Xt(p)}this.#dr(p.slice(0,p.provisional));return}))}#pr;async readdir(){if(!this.canReaddir()){return[]}const i=this.children();if(this.calledReaddir()){return i.slice(0,i.provisional)}const d=this.fullpath();if(this.#pr){await this.#pr}else{let resolve=()=>{};this.#pr=new Promise((i=>resolve=i));try{for(const p of await this.#It.promises.readdir(d,{withFileTypes:true})){this.#sr(p,i)}this.#Xt(i)}catch(d){this.#nr(d.code);i.provisional=0}this.#pr=undefined;resolve()}return i.slice(0,i.provisional)}readdirSync(){if(!this.canReaddir()){return[]}const i=this.children();if(this.calledReaddir()){return i.slice(0,i.provisional)}const d=this.fullpath();try{for(const p of this.#It.readdirSync(d,{withFileTypes:true})){this.#sr(p,i)}this.#Xt(i)}catch(d){this.#nr(d.code);i.provisional=0}return i.slice(0,i.provisional)}canReaddir(){if(this.#zt&ve)return false;const i=ye&this.#zt;if(!(i===Ae||i===fe||i===me)){return false}return true}shouldWalk(i,d){return(this.#zt&fe)===fe&&!(this.#zt&ve)&&!i.has(this)&&(!d||d(this))}async realpath(){if(this.#Jt)return this.#Jt;if((Qe|Se|we)&this.#zt)return undefined;try{const i=await this.#It.promises.realpath(this.fullpath());return this.#Jt=this.resolve(i)}catch(i){this.#tr()}}realpathSync(){if(this.#Jt)return this.#Jt;if((Qe|Se|we)&this.#zt)return undefined;try{const i=this.#It.realpathSync(this.fullpath());return this.#Jt=this.resolve(i)}catch(i){this.#tr()}}[ke](i){if(i===this)return;i.isCWD=false;this.isCWD=true;const d=new Set([]);let p=[];let v=this;while(v&&v.parent){d.add(v);v.#jt=p.join(this.sep);v.#Vt=p.join("/");v=v.parent;p.push("..")}v=i;while(v&&v.parent&&!d.has(v)){v.#jt=undefined;v.#Vt=undefined;v=v.parent}}}d.PathBase=PathBase;class PathWin32 extends PathBase{sep="\\";splitSep=ue;constructor(i,d=Ae,p,v,V,K,ee){super(i,d,p,v,V,K,ee)}newChild(i,d=Ae,p={}){return new PathWin32(i,d,this.root,this.roots,this.nocase,this.childrenCache(),p)}getRootString(i){return te.win32.parse(i).root}getRoot(i){i=uncToDrive(i.toUpperCase());if(i===this.root.name){return this.root}for(const[d,p]of Object.entries(this.roots)){if(this.sameRoot(i,d)){return this.roots[i]=p}}return this.roots[i]=new PathScurryWin32(i,this).root}sameRoot(i,d=this.root.name){i=i.toUpperCase().replace(/\//g,"\\").replace(le,"$1\\");return i===d}}d.PathWin32=PathWin32;class PathPosix extends PathBase{splitSep="/";sep="/";constructor(i,d=Ae,p,v,V,K,ee){super(i,d,p,v,V,K,ee)}getRootString(i){return i.startsWith("/")?"/":""}getRoot(i){return this.root}newChild(i,d=Ae,p={}){return new PathPosix(i,d,this.root,this.roots,this.nocase,this.childrenCache(),p)}}d.PathPosix=PathPosix;class PathScurryBase{root;rootPath;roots;cwd;#fr;#hr;#Yt;nocase;#It;constructor(i=process.cwd(),d,p,{nocase:v,childrenCacheSize:V=16*1024,fs:K=ce}={}){this.#It=fsFromOption(K);if(i instanceof URL||i.startsWith("file://")){i=(0,re.fileURLToPath)(i)}const ee=d.resolve(i);this.roots=Object.create(null);this.rootPath=this.parseRootPath(ee);this.#fr=new ResolveCache;this.#hr=new ResolveCache;this.#Yt=new ChildrenCache(V);const te=ee.substring(this.rootPath.length).split(p);if(te.length===1&&!te[0]){te.pop()}if(v===undefined){throw new TypeError("must provide nocase setting to PathScurryBase ctor")}this.nocase=v;this.root=this.newRoot(this.#It);this.roots[this.rootPath]=this.root;let ne=this.root;let ie=te.length-1;const se=d.sep;let oe=this.rootPath;let ae=false;for(const i of te){const d=ie--;ne=ne.child(i,{relative:new Array(d).fill("..").join(se),relativePosix:new Array(d).fill("..").join("/"),fullpath:oe+=(ae?"":se)+i});ae=true}this.cwd=ne}depth(i=this.cwd){if(typeof i==="string"){i=this.cwd.resolve(i)}return i.depth()}childrenCache(){return this.#Yt}resolve(...i){let d="";for(let p=i.length-1;p>=0;p--){const v=i[p];if(!v||v===".")continue;d=d?`${v}/${d}`:v;if(this.isAbsolute(v)){break}}const p=this.#fr.get(d);if(p!==undefined){return p}const v=this.cwd.resolve(d).fullpath();this.#fr.set(d,v);return v}resolvePosix(...i){let d="";for(let p=i.length-1;p>=0;p--){const v=i[p];if(!v||v===".")continue;d=d?`${v}/${d}`:v;if(this.isAbsolute(v)){break}}const p=this.#hr.get(d);if(p!==undefined){return p}const v=this.cwd.resolve(d).fullpathPosix();this.#hr.set(d,v);return v}relative(i=this.cwd){if(typeof i==="string"){i=this.cwd.resolve(i)}return i.relative()}relativePosix(i=this.cwd){if(typeof i==="string"){i=this.cwd.resolve(i)}return i.relativePosix()}basename(i=this.cwd){if(typeof i==="string"){i=this.cwd.resolve(i)}return i.name}dirname(i=this.cwd){if(typeof i==="string"){i=this.cwd.resolve(i)}return(i.parent||i).fullpath()}async readdir(i=this.cwd,d={withFileTypes:true}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){d=i;i=this.cwd}const{withFileTypes:p}=d;if(!i.canReaddir()){return[]}else{const d=await i.readdir();return p?d:d.map((i=>i.name))}}readdirSync(i=this.cwd,d={withFileTypes:true}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){d=i;i=this.cwd}const{withFileTypes:p=true}=d;if(!i.canReaddir()){return[]}else if(p){return i.readdirSync()}else{return i.readdirSync().map((i=>i.name))}}async lstat(i=this.cwd){if(typeof i==="string"){i=this.cwd.resolve(i)}return i.lstat()}lstatSync(i=this.cwd){if(typeof i==="string"){i=this.cwd.resolve(i)}return i.lstatSync()}async readlink(i=this.cwd,{withFileTypes:d}={withFileTypes:false}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){d=i.withFileTypes;i=this.cwd}const p=await i.readlink();return d?p:p?.fullpath()}readlinkSync(i=this.cwd,{withFileTypes:d}={withFileTypes:false}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){d=i.withFileTypes;i=this.cwd}const p=i.readlinkSync();return d?p:p?.fullpath()}async realpath(i=this.cwd,{withFileTypes:d}={withFileTypes:false}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){d=i.withFileTypes;i=this.cwd}const p=await i.realpath();return d?p:p?.fullpath()}realpathSync(i=this.cwd,{withFileTypes:d}={withFileTypes:false}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){d=i.withFileTypes;i=this.cwd}const p=i.realpathSync();return d?p:p?.fullpath()}async walk(i=this.cwd,d={}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){d=i;i=this.cwd}const{withFileTypes:p=true,follow:v=false,filter:V,walkFilter:K}=d;const ee=[];if(!V||V(i)){ee.push(p?i:i.fullpath())}const te=new Set;const walk=(i,d)=>{te.add(i);i.readdirCB(((i,re)=>{if(i){return d(i)}let ne=re.length;if(!ne)return d();const next=()=>{if(--ne===0){d()}};for(const i of re){if(!V||V(i)){ee.push(p?i:i.fullpath())}if(v&&i.isSymbolicLink()){i.realpath().then((i=>i?.isUnknown()?i.lstat():i)).then((i=>i?.shouldWalk(te,K)?walk(i,next):next()))}else{if(i.shouldWalk(te,K)){walk(i,next)}else{next()}}}}),true)};const re=i;return new Promise(((i,d)=>{walk(re,(p=>{if(p)return d(p);i(ee)}))}))}walkSync(i=this.cwd,d={}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){d=i;i=this.cwd}const{withFileTypes:p=true,follow:v=false,filter:V,walkFilter:K}=d;const ee=[];if(!V||V(i)){ee.push(p?i:i.fullpath())}const te=new Set([i]);for(const i of te){const d=i.readdirSync();for(const i of d){if(!V||V(i)){ee.push(p?i:i.fullpath())}let d=i;if(i.isSymbolicLink()){if(!(v&&(d=i.realpathSync())))continue;if(d.isUnknown())d.lstatSync()}if(d.shouldWalk(te,K)){te.add(d)}}}return ee}[Symbol.asyncIterator](){return this.iterate()}iterate(i=this.cwd,d={}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){d=i;i=this.cwd}return this.stream(i,d)[Symbol.asyncIterator]()}[Symbol.iterator](){return this.iterateSync()}*iterateSync(i=this.cwd,d={}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){d=i;i=this.cwd}const{withFileTypes:p=true,follow:v=false,filter:V,walkFilter:K}=d;if(!V||V(i)){yield p?i:i.fullpath()}const ee=new Set([i]);for(const i of ee){const d=i.readdirSync();for(const i of d){if(!V||V(i)){yield p?i:i.fullpath()}let d=i;if(i.isSymbolicLink()){if(!(v&&(d=i.realpathSync())))continue;if(d.isUnknown())d.lstatSync()}if(d.shouldWalk(ee,K)){ee.add(d)}}}}stream(i=this.cwd,d={}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){d=i;i=this.cwd}const{withFileTypes:p=true,follow:v=false,filter:V,walkFilter:K}=d;const ee=new ae.Minipass({objectMode:true});if(!V||V(i)){ee.write(p?i:i.fullpath())}const te=new Set;const re=[i];let ne=0;const process=()=>{let i=false;while(!i){const d=re.shift();if(!d){if(ne===0)ee.end();return}ne++;te.add(d);const onReaddir=(d,se,oe=false)=>{if(d)return ee.emit("error",d);if(v&&!oe){const i=[];for(const d of se){if(d.isSymbolicLink()){i.push(d.realpath().then((i=>i?.isUnknown()?i.lstat():i)))}}if(i.length){Promise.all(i).then((()=>onReaddir(null,se,true)));return}}for(const d of se){if(d&&(!V||V(d))){if(!ee.write(p?d:d.fullpath())){i=true}}}ne--;for(const i of se){const d=i.realpathCached()||i;if(d.shouldWalk(te,K)){re.push(d)}}if(i&&!ee.flowing){ee.once("drain",process)}else if(!ie){process()}};let ie=true;d.readdirCB(onReaddir,true);ie=false}};process();return ee}streamSync(i=this.cwd,d={}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){d=i;i=this.cwd}const{withFileTypes:p=true,follow:v=false,filter:V,walkFilter:K}=d;const ee=new ae.Minipass({objectMode:true});const te=new Set;if(!V||V(i)){ee.write(p?i:i.fullpath())}const re=[i];let ne=0;const process=()=>{let i=false;while(!i){const d=re.shift();if(!d){if(ne===0)ee.end();return}ne++;te.add(d);const ie=d.readdirSync();for(const d of ie){if(!V||V(d)){if(!ee.write(p?d:d.fullpath())){i=true}}}ne--;for(const i of ie){let d=i;if(i.isSymbolicLink()){if(!(v&&(d=i.realpathSync())))continue;if(d.isUnknown())d.lstatSync()}if(d.shouldWalk(te,K)){re.push(d)}}}if(i&&!ee.flowing)ee.once("drain",process)};process();return ee}chdir(i=this.cwd){const d=this.cwd;this.cwd=typeof i==="string"?this.cwd.resolve(i):i;this.cwd[ke](d)}}d.PathScurryBase=PathScurryBase;class PathScurryWin32 extends PathScurryBase{sep="\\";constructor(i=process.cwd(),d={}){const{nocase:p=true}=d;super(i,te.win32,"\\",{...d,nocase:p});this.nocase=p;for(let i=this.cwd;i;i=i.parent){i.nocase=this.nocase}}parseRootPath(i){return te.win32.parse(i).root.toUpperCase()}newRoot(i){return new PathWin32(this.rootPath,fe,undefined,this.roots,this.nocase,this.childrenCache(),{fs:i})}isAbsolute(i){return i.startsWith("/")||i.startsWith("\\")||/^[a-z]:(\/|\\)/i.test(i)}}d.PathScurryWin32=PathScurryWin32;class PathScurryPosix extends PathScurryBase{sep="/";constructor(i=process.cwd(),d={}){const{nocase:p=false}=d;super(i,te.posix,"/",{...d,nocase:p});this.nocase=p}parseRootPath(i){return"/"}newRoot(i){return new PathPosix(this.rootPath,fe,undefined,this.roots,this.nocase,this.childrenCache(),{fs:i})}isAbsolute(i){return i.startsWith("/")}}d.PathScurryPosix=PathScurryPosix;class PathScurryDarwin extends PathScurryPosix{constructor(i=process.cwd(),d={}){const{nocase:p=true}=d;super(i,{...d,nocase:p})}}d.PathScurryDarwin=PathScurryDarwin;d.Path=process.platform==="win32"?PathWin32:PathPosix;d.PathScurry=process.platform==="win32"?PathScurryWin32:process.platform==="darwin"?PathScurryDarwin:PathScurryPosix},89048:i=>{(()=>{"use strict";var d={d:(i,p)=>{for(var v in p)d.o(p,v)&&!d.o(i,v)&&Object.defineProperty(i,v,{enumerable:!0,get:p[v]})},o:(i,d)=>Object.prototype.hasOwnProperty.call(i,d),r:i=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})}},p={};d.r(p),d.d(p,{XMLBuilder:()=>ut,XMLParser:()=>et,XMLValidator:()=>de});const v=":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",V=new RegExp("^["+v+"]["+v+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function s(i,d){const p=[];let v=d.exec(i);for(;v;){const V=[];V.startIndex=d.lastIndex-v[0].length;const K=v.length;for(let i=0;i"!==i[K]&&" "!==i[K]&&"\t"!==i[K]&&"\n"!==i[K]&&"\r"!==i[K];K++)re+=i[K];if(re=re.trim(),"/"===re[re.length-1]&&(re=re.substring(0,re.length-1),K--),!r(re)){let d;return d=0===re.trim().length?"Invalid space after '<'.":"Tag '"+re+"' is an invalid name.",x("InvalidTag",d,b(i,K))}const ne=f(i,K);if(!1===ne)return x("InvalidAttr","Attributes for '"+re+"' have open quote.",b(i,K));let ie=ne.value;if(K=ne.index,"/"===ie[ie.length-1]){const p=K-ie.length;ie=ie.substring(0,ie.length-1);const V=g(ie,d);if(!0!==V)return x(V.err.code,V.err.msg,b(i,p+V.err.line));v=!0}else if(te){if(!ne.tagClosed)return x("InvalidTag","Closing tag '"+re+"' doesn't have proper closing.",b(i,K));if(ie.trim().length>0)return x("InvalidTag","Closing tag '"+re+"' can't have attributes or invalid starting.",b(i,ee));if(0===p.length)return x("InvalidTag","Closing tag '"+re+"' has not been opened.",b(i,ee));{const d=p.pop();if(re!==d.tagName){let p=b(i,d.tagStartPos);return x("InvalidTag","Expected closing tag '"+d.tagName+"' (opened in line "+p.line+", col "+p.col+") instead of closing tag '"+re+"'.",b(i,ee))}0==p.length&&(V=!0)}}else{const te=g(ie,d);if(!0!==te)return x(te.err.code,te.err.msg,b(i,K-ie.length+te.err.line));if(!0===V)return x("InvalidXml","Multiple possible root nodes found.",b(i,K));-1!==d.unpairedTags.indexOf(re)||p.push({tagName:re,tagStartPos:ee}),v=!0}for(K++;K0)||x("InvalidXml","Invalid '"+JSON.stringify(p.map((i=>i.tagName)),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):x("InvalidXml","Start tag expected.",1)}function l(i){return" "===i||"\t"===i||"\n"===i||"\r"===i}function u(i,d){const p=d;for(;d5&&"xml"===v)return x("InvalidXml","XML declaration allowed only at the start of the document.",b(i,d));if("?"==i[d]&&">"==i[d+1]){d++;break}}return d}function h(i,d){if(i.length>d+5&&"-"===i[d+1]&&"-"===i[d+2]){for(d+=3;d"===i[d+2]){d+=2;break}}else if(i.length>d+8&&"D"===i[d+1]&&"O"===i[d+2]&&"C"===i[d+3]&&"T"===i[d+4]&&"Y"===i[d+5]&&"P"===i[d+6]&&"E"===i[d+7]){let p=1;for(d+=8;d"===i[d]&&(p--,0===p))break}else if(i.length>d+9&&"["===i[d+1]&&"C"===i[d+2]&&"D"===i[d+3]&&"A"===i[d+4]&&"T"===i[d+5]&&"A"===i[d+6]&&"["===i[d+7])for(d+=8;d"===i[d+2]){d+=2;break}return d}const ee='"',te="'";function f(i,d){let p="",v="",V=!1;for(;d"===i[d]&&""===v){V=!0;break}p+=i[d]}return""===v&&{value:p,index:d,tagClosed:V}}const re=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function g(i,d){const p=s(i,re),v={};for(let i=0;i!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(i,d,p){return i},captureMetaData:!1};let ie;ie="function"!=typeof Symbol?"@@xmlMetadata":Symbol("XML Node Metadata");class y{constructor(i){this.tagname=i,this.child=[],this[":@"]={}}add(i,d){"__proto__"===i&&(i="#__proto__"),this.child.push({[i]:d})}addChild(i,d){"__proto__"===i.tagname&&(i.tagname="#__proto__"),i[":@"]&&Object.keys(i[":@"]).length>0?this.child.push({[i.tagname]:i.child,":@":i[":@"]}):this.child.push({[i.tagname]:i.child}),void 0!==d&&(this.child[this.child.length-1][ie]={startIndex:d})}static getMetaDataSymbol(){return ie}}class w{constructor(i){this.suppressValidationErr=!i}readDocType(i,d){const p={};if("O"!==i[d+3]||"C"!==i[d+4]||"T"!==i[d+5]||"Y"!==i[d+6]||"P"!==i[d+7]||"E"!==i[d+8])throw new Error("Invalid Tag instead of DOCTYPE");{d+=9;let v=1,V=!1,K=!1,ee="";for(;d"===i[d]){if(K?"-"===i[d-1]&&"-"===i[d-2]&&(K=!1,v--):v--,0===v)break}else"["===i[d]?V=!0:ee+=i[d];else{if(V&&P(i,"!ENTITY",d)){let v,V;d+=7,[v,V,d]=this.readEntityExp(i,d+1,this.suppressValidationErr),-1===V.indexOf("&")&&(p[v]={regx:RegExp(`&${v};`,"g"),val:V})}else if(V&&P(i,"!ELEMENT",d)){d+=8;const{index:p}=this.readElementExp(i,d+1);d=p}else if(V&&P(i,"!ATTLIST",d))d+=8;else if(V&&P(i,"!NOTATION",d)){d+=9;const{index:p}=this.readNotationExp(i,d+1,this.suppressValidationErr);d=p}else{if(!P(i,"!--",d))throw new Error("Invalid DOCTYPE");K=!0}v++,ee=""}if(0!==v)throw new Error("Unclosed DOCTYPE")}return{entities:p,i:d}}readEntityExp(i,d){d=I(i,d);let p="";for(;d{for(;d{for(const p of i){if("string"==typeof p&&d===p)return!0;if(p instanceof RegExp&&p.test(d))return!0}}:()=>!1}class D{constructor(i){if(this.options=i,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(i,d)=>Z(d,10,"&#")},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(i,d)=>Z(d,16,"&#x")}},this.addExternalEntities=j,this.parseXml=L,this.parseTextData=M,this.resolveNameSpace=F,this.buildAttributesMap=k,this.isItStopNode=Y,this.replaceEntitiesValue=B,this.readStopNodeData=W,this.saveTextToParentTag=R,this.addChild=U,this.ignoreAttributesFn=$(this.options.ignoreAttributes),this.options.stopNodes&&this.options.stopNodes.length>0){this.stopNodesExact=new Set,this.stopNodesWildcard=new Set;for(let i=0;i0)){ee||(i=this.replaceEntitiesValue(i));const v=this.options.tagValueProcessor(d,i,p,V,K);return null==v?i:typeof v!=typeof i||v!==i?v:this.options.trimValues||i.trim()===i?q(i,this.options.parseTagValue,this.options.numberParseOptions):i}}function F(i){if(this.options.removeNSPrefix){const d=i.split(":"),p="/"===i.charAt(0)?"/":"";if("xmlns"===d[0])return"";2===d.length&&(i=p+d[1])}return i}const le=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function k(i,d){if(!0!==this.options.ignoreAttributes&&"string"==typeof i){const p=s(i,le),v=p.length,V={};for(let i=0;i",ee,"Closing Tag is not closed.");let K=i.substring(ee+2,d).trim();if(this.options.removeNSPrefix){const i=K.indexOf(":");-1!==i&&(K=K.substr(i+1))}this.options.transformTagName&&(K=this.options.transformTagName(K)),p&&(v=this.saveTextToParentTag(v,p,V));const te=V.substring(V.lastIndexOf(".")+1);if(K&&-1!==this.options.unpairedTags.indexOf(K))throw new Error(`Unpaired tag can not be used as closing tag: `);let re=0;te&&-1!==this.options.unpairedTags.indexOf(te)?(re=V.lastIndexOf(".",V.lastIndexOf(".")-1),this.tagsNodeStack.pop()):re=V.lastIndexOf("."),V=V.substring(0,re),p=this.tagsNodeStack.pop(),v="",ee=d}else if("?"===i[ee+1]){let d=X(i,ee,!1,"?>");if(!d)throw new Error("Pi Tag is not closed.");if(v=this.saveTextToParentTag(v,p,V),this.options.ignoreDeclaration&&"?xml"===d.tagName||this.options.ignorePiTags);else{const i=new y(d.tagName);i.add(this.options.textNodeName,""),d.tagName!==d.tagExp&&d.attrExpPresent&&(i[":@"]=this.buildAttributesMap(d.tagExp,V)),this.addChild(p,i,V,ee)}ee=d.closeIndex+1}else if("!--"===i.substr(ee+1,3)){const d=G(i,"--\x3e",ee+4,"Comment is not closed.");if(this.options.commentPropName){const K=i.substring(ee+4,d-2);v=this.saveTextToParentTag(v,p,V),p.add(this.options.commentPropName,[{[this.options.textNodeName]:K}])}ee=d}else if("!D"===i.substr(ee+1,2)){const d=K.readDocType(i,ee);this.docTypeEntities=d.entities,ee=d.i}else if("!["===i.substr(ee+1,2)){const d=G(i,"]]>",ee,"CDATA is not closed.")-2,K=i.substring(ee+9,d);v=this.saveTextToParentTag(v,p,V);let te=this.parseTextData(K,p.tagname,V,!0,!1,!0,!0);null==te&&(te=""),this.options.cdataPropName?p.add(this.options.cdataPropName,[{[this.options.textNodeName]:K}]):p.add(this.options.textNodeName,te),ee=d+2}else{let K=X(i,ee,this.options.removeNSPrefix),te=K.tagName;const re=K.rawTagName;let ne=K.tagExp,ie=K.attrExpPresent,se=K.closeIndex;if(this.options.transformTagName){const i=this.options.transformTagName(te);ne===te&&(ne=i),te=i}p&&v&&"!xml"!==p.tagname&&(v=this.saveTextToParentTag(v,p,V,!1));const oe=p;oe&&-1!==this.options.unpairedTags.indexOf(oe.tagname)&&(p=this.tagsNodeStack.pop(),V=V.substring(0,V.lastIndexOf("."))),te!==d.tagname&&(V+=V?"."+te:te);const ae=ee;if(this.isItStopNode(this.stopNodesExact,this.stopNodesWildcard,V,te)){let d="";if(ne.length>0&&ne.lastIndexOf("/")===ne.length-1)"/"===te[te.length-1]?(te=te.substr(0,te.length-1),V=V.substr(0,V.length-1),ne=te):ne=ne.substr(0,ne.length-1),ee=K.closeIndex;else if(-1!==this.options.unpairedTags.indexOf(te))ee=K.closeIndex;else{const p=this.readStopNodeData(i,re,se+1);if(!p)throw new Error(`Unexpected end of ${re}`);ee=p.i,d=p.tagContent}const v=new y(te);te!==ne&&ie&&(v[":@"]=this.buildAttributesMap(ne,V)),d&&(d=this.parseTextData(d,te,V,!0,ie,!0,!0)),V=V.substr(0,V.lastIndexOf(".")),v.add(this.options.textNodeName,d),this.addChild(p,v,V,ae)}else{if(ne.length>0&&ne.lastIndexOf("/")===ne.length-1){if("/"===te[te.length-1]?(te=te.substr(0,te.length-1),V=V.substr(0,V.length-1),ne=te):ne=ne.substr(0,ne.length-1),this.options.transformTagName){const i=this.options.transformTagName(te);ne===te&&(ne=i),te=i}const i=new y(te);te!==ne&&ie&&(i[":@"]=this.buildAttributesMap(ne,V)),this.addChild(p,i,V,ae),V=V.substr(0,V.lastIndexOf("."))}else{const i=new y(te);this.tagsNodeStack.push(p),te!==ne&&ie&&(i[":@"]=this.buildAttributesMap(ne,V)),this.addChild(p,i,V,ae),p=i}v="",ee=se}}else v+=i[ee];return d.child};function U(i,d,p,v){this.options.captureMetaData||(v=void 0);const V=this.options.updateTag(d.tagname,p,d[":@"]);!1===V||("string"==typeof V?(d.tagname=V,i.addChild(d,v)):i.addChild(d,v))}const B=function(i){if(this.options.processEntities){for(let d in this.docTypeEntities){const p=this.docTypeEntities[d];i=i.replace(p.regx,p.val)}for(let d in this.lastEntities){const p=this.lastEntities[d];i=i.replace(p.regex,p.val)}if(this.options.htmlEntities)for(let d in this.htmlEntities){const p=this.htmlEntities[d];i=i.replace(p.regex,p.val)}i=i.replace(this.ampEntity.regex,this.ampEntity.val)}return i};function R(i,d,p,v){return i&&(void 0===v&&(v=0===d.child.length),void 0!==(i=this.parseTextData(i,d.tagname,p,!1,!!d[":@"]&&0!==Object.keys(d[":@"]).length,v))&&""!==i&&d.add(this.options.textNodeName,i),i=""),i}function Y(i,d,p,v){return!(!d||!d.has(v))||!(!i||!i.has(p))}function G(i,d,p,v){const V=i.indexOf(d,p);if(-1===V)throw new Error(v);return V+d.length-1}function X(i,d,p,v=">"){const V=function(i,d,p=">"){let v,V="";for(let K=d;K",p,`${d} is not closed`);if(i.substring(p+2,K).trim()===d&&(V--,0===V))return{tagContent:i.substring(v,p),i:K};p=K}else if("?"===i[p+1])p=G(i,"?>",p+1,"StopNode is not closed.");else if("!--"===i.substr(p+1,3))p=G(i,"--\x3e",p+3,"StopNode is not closed.");else if("!["===i.substr(p+1,2))p=G(i,"]]>",p,"StopNode is not closed.")-2;else{const v=X(i,p,">");v&&((v&&v.tagName)===d&&"/"!==v.tagExp[v.tagExp.length-1]&&V++,p=v.closeIndex)}}function q(i,d,p){if(d&&"string"==typeof i){const d=i.trim();return"true"===d||"false"!==d&&function(i,d={}){if(d=Object.assign({},ae,d),!i||"string"!=typeof i)return i;let p=i.trim();if(void 0!==d.skipLike&&d.skipLike.test(p))return i;if("0"===i)return 0;if(d.hex&&se.test(p))return function(i){if(parseInt)return parseInt(i,16);if(Number.parseInt)return Number.parseInt(i,16);if(window&&window.parseInt)return window.parseInt(i,16);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}(p);if(-1!==p.search(/.+[eE].+/))return function(i,d,p){if(!p.eNotation)return i;const v=d.match(ce);if(v){let V=v[1]||"";const K=-1===v[3].indexOf("e")?"E":"e",ee=v[2],te=V?i[ee.length+1]===K:i[ee.length]===K;return ee.length>1&&te?i:1!==ee.length||!v[3].startsWith(`.${K}`)&&v[3][0]!==K?p.leadingZeros&&!te?(d=(v[1]||"")+v[3],Number(d)):i:Number(d)}return i}(i,p,d);{const V=oe.exec(p);if(V){const K=V[1]||"",ee=V[2];let te=(v=V[3])&&-1!==v.indexOf(".")?("."===(v=v.replace(/0+$/,""))?v="0":"."===v[0]?v="0"+v:"."===v[v.length-1]&&(v=v.substring(0,v.length-1)),v):v;const re=K?"."===i[ee.length+1]:"."===i[ee.length];if(!d.leadingZeros&&(ee.length>1||1===ee.length&&!re))return i;{const v=Number(p),V=String(v);if(0===v||-0===v)return v;if(-1!==V.search(/[eE]/))return d.eNotation?v:i;if(-1!==p.indexOf("."))return"0"===V||V===te||V===`${K}${te}`?v:i;let re=ee?te:p;return ee?re===V||K+re===V?v:i:re===V||re===K+V?v:i}}return i}var v}(i,p)}return void 0!==i?i:""}function Z(i,d,p){const v=Number.parseInt(i,d);return v>=0&&v<=1114111?String.fromCodePoint(v):p+i+";"}const ue=y.getMetaDataSymbol();function Q(i,d){return z(i,d)}function z(i,d,p){let v;const V={};for(let K=0;K0&&(V[d.textNodeName]=v):void 0!==v&&(V[d.textNodeName]=v),V}function J(i){const d=Object.keys(i);for(let i=0;i0&&(p="\n"),nt(i,d,"",p)}function nt(i,d,p,v){let V="",K=!1;for(let ee=0;ee`,K=!1;continue}if(re===d.commentPropName){V+=v+`\x3c!--${te[re][0][d.textNodeName]}--\x3e`,K=!0;continue}if("?"===re[0]){const i=rt(te[":@"],d),p="?xml"===re?"":v;let ee=te[re][0][d.textNodeName];ee=0!==ee.length?" "+ee:"",V+=p+`<${re}${ee}${i}?>`,K=!0;continue}let ie=v;""!==ie&&(ie+=d.indentBy);const se=v+`<${re}${rt(te[":@"],d)}`,oe=nt(te[re],d,ne,ie);-1!==d.unpairedTags.indexOf(re)?d.suppressUnpairedNode?V+=se+">":V+=se+"/>":oe&&0!==oe.length||!d.suppressEmptyNode?oe&&oe.endsWith(">")?V+=se+`>${oe}${v}`:(V+=se+">",oe&&""!==v&&(oe.includes("/>")||oe.includes("`):V+=se+"/>",K=!0}return V}function st(i){const d=Object.keys(i);for(let p=0;p0&&d.processEntities)for(let p=0;p","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function ut(i){this.options=Object.assign({},Ae,i),!0===this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=$(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=pt),this.processTextOrObjNode=ht,this.options.format?(this.indentate=dt,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function ht(i,d,p,v){const V=this.j2x(i,p+1,v.concat(d));return void 0!==i[this.options.textNodeName]&&1===Object.keys(i).length?this.buildTextValNode(i[this.options.textNodeName],d,V.attrStr,p):this.buildObjectNode(V.val,d,V.attrStr,p)}function dt(i){return this.options.indentBy.repeat(i)}function pt(i){return!(!i.startsWith(this.options.attributeNamePrefix)||i===this.options.textNodeName)&&i.substr(this.attrPrefixLen)}ut.prototype.build=function(i){return this.options.preserveOrder?it(i,this.options):(Array.isArray(i)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(i={[this.options.arrayNodeName]:i}),this.j2x(i,0,[]).val)},ut.prototype.j2x=function(i,d,p){let v="",V="";const K=p.join(".");for(let ee in i)if(Object.prototype.hasOwnProperty.call(i,ee))if(void 0===i[ee])this.isAttribute(ee)&&(V+="");else if(null===i[ee])this.isAttribute(ee)||ee===this.options.cdataPropName?V+="":"?"===ee[0]?V+=this.indentate(d)+"<"+ee+"?"+this.tagEndChar:V+=this.indentate(d)+"<"+ee+"/"+this.tagEndChar;else if(i[ee]instanceof Date)V+=this.buildTextValNode(i[ee],ee,"",d);else if("object"!=typeof i[ee]){const p=this.isAttribute(ee);if(p&&!this.ignoreAttributesFn(p,K))v+=this.buildAttrPairStr(p,""+i[ee]);else if(!p)if(ee===this.options.textNodeName){let d=this.options.tagValueProcessor(ee,""+i[ee]);V+=this.replaceEntitiesValue(d)}else V+=this.buildTextValNode(i[ee],ee,"",d)}else if(Array.isArray(i[ee])){const v=i[ee].length;let K="",te="";for(let re=0;re"+i+V}},ut.prototype.closeTag=function(i){let d="";return-1!==this.options.unpairedTags.indexOf(i)?this.options.suppressUnpairedNode||(d="/"):d=this.options.suppressEmptyNode?"/":`>`+this.newLine;if(!1!==this.options.commentPropName&&d===this.options.commentPropName)return this.indentate(v)+`\x3c!--${i}--\x3e`+this.newLine;if("?"===d[0])return this.indentate(v)+"<"+d+p+"?"+this.tagEndChar;{let V=this.options.tagValueProcessor(d,i);return V=this.replaceEntitiesValue(V),""===V?this.indentate(v)+"<"+d+p+this.closeTag(d)+this.tagEndChar:this.indentate(v)+"<"+d+p+">"+V+"0&&this.options.processEntities)for(let d=0;d{function getDefaultExportFromCjs(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i["default"]:i}const d=new Int32Array([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]);function ensureBuffer(i){if(Buffer.isBuffer(i)){return i}if(typeof i==="number"){return Buffer.alloc(i)}else if(typeof i==="string"){return Buffer.from(i)}else{throw new Error("input must be buffer, number, or string, received "+typeof i)}}function bufferizeInt(i){const d=ensureBuffer(4);d.writeInt32BE(i,0);return d}function _crc32(i,p){i=ensureBuffer(i);if(Buffer.isBuffer(p)){p=p.readUInt32BE(0)}let v=~~p^-1;for(var V=0;V>>8}return v^-1}function crc32(){return bufferizeInt(_crc32.apply(null,arguments))}crc32.signed=function(){return _crc32.apply(null,arguments)};crc32.unsigned=function(){return _crc32.apply(null,arguments)>>>0};var p=crc32;const v=getDefaultExportFromCjs(p);i.exports=v},61110:(i,d)=>{class CsvError extends Error{constructor(i,d,p,...v){if(Array.isArray(d))d=d.join(" ").trim();super(d);if(Error.captureStackTrace!==undefined){Error.captureStackTrace(this,CsvError)}this.code=i;for(const i of v){for(const d in i){const v=i[d];this[d]=Buffer.isBuffer(v)?v.toString(p.encoding):v==null?v:JSON.parse(JSON.stringify(v))}}}}const is_object=function(i){return typeof i==="object"&&i!==null&&!Array.isArray(i)};const normalize_columns_array=function(i){const d=[];for(let p=0,v=i.length;p=this.size){this.resize();if(d>=this.size){throw Error("INVALID_BUFFER_STATE")}}const p=this.buf;this.buf=Buffer.allocUnsafe(this.size);i.copy(this.buf,0);p.copy(this.buf,i.length);this.length+=i.length}else{const d=this.length++;if(d===this.size){this.resize()}const p=this.clone();this.buf[0]=i;p.copy(this.buf,1,0,d)}}append(i){const d=this.length++;if(d===this.size){this.resize()}this.buf[d]=i}clone(){return Buffer.from(this.buf.slice(0,this.length))}resize(){const i=this.length;this.size=this.size*2;const d=Buffer.allocUnsafe(this.size);this.buf.copy(d,0,0,i);this.buf=d}toString(i){if(i){return this.buf.slice(0,this.length).toString(i)}else{return Uint8Array.prototype.slice.call(this.buf.slice(0,this.length))}}toJSON(){return this.toString("utf8")}reset(){this.length=0}}const p=12;const v=13;const V=10;const K=32;const ee=9;const init_state=function(i){return{bomSkipped:false,bufBytesStart:0,castField:i.cast_function,commenting:false,error:undefined,enabled:i.from_line===1,escaping:false,escapeIsQuote:Buffer.isBuffer(i.escape)&&Buffer.isBuffer(i.quote)&&Buffer.compare(i.escape,i.quote)===0,expectedRecordLength:Array.isArray(i.columns)?i.columns.length:undefined,field:new ResizeableBuffer(20),firstLineToHeaders:i.cast_first_line_to_header,needMoreDataSize:Math.max(i.comment!==null?i.comment.length:0,...i.delimiter.map((i=>i.length)),i.quote!==null?i.quote.length:0),previousBuf:undefined,quoting:false,stop:false,rawBuffer:new ResizeableBuffer(100),record:[],recordHasError:false,record_length:0,recordDelimiterMaxLength:i.record_delimiter.length===0?0:Math.max(...i.record_delimiter.map((i=>i.length))),trimChars:[Buffer.from(" ",i.encoding)[0],Buffer.from("\t",i.encoding)[0]],wasQuoting:false,wasRowDelimiter:false,timchars:[Buffer.from(Buffer.from([v],"utf8").toString(),i.encoding),Buffer.from(Buffer.from([V],"utf8").toString(),i.encoding),Buffer.from(Buffer.from([p],"utf8").toString(),i.encoding),Buffer.from(Buffer.from([K],"utf8").toString(),i.encoding),Buffer.from(Buffer.from([ee],"utf8").toString(),i.encoding)]}};const underscore=function(i){return i.replace(/([A-Z])/g,(function(i,d){return"_"+d.toLowerCase()}))};const normalize_options=function(i){const d={};for(const p in i){d[underscore(p)]=i[p]}if(d.encoding===undefined||d.encoding===true){d.encoding="utf8"}else if(d.encoding===null||d.encoding===false){d.encoding=null}else if(typeof d.encoding!=="string"&&d.encoding!==null){throw new CsvError("CSV_INVALID_OPTION_ENCODING",["Invalid option encoding:","encoding must be a string or null to return a buffer,",`got ${JSON.stringify(d.encoding)}`],d)}if(d.bom===undefined||d.bom===null||d.bom===false){d.bom=false}else if(d.bom!==true){throw new CsvError("CSV_INVALID_OPTION_BOM",["Invalid option bom:","bom must be true,",`got ${JSON.stringify(d.bom)}`],d)}d.cast_function=null;if(d.cast===undefined||d.cast===null||d.cast===false||d.cast===""){d.cast=undefined}else if(typeof d.cast==="function"){d.cast_function=d.cast;d.cast=true}else if(d.cast!==true){throw new CsvError("CSV_INVALID_OPTION_CAST",["Invalid option cast:","cast must be true or a function,",`got ${JSON.stringify(d.cast)}`],d)}if(d.cast_date===undefined||d.cast_date===null||d.cast_date===false||d.cast_date===""){d.cast_date=false}else if(d.cast_date===true){d.cast_date=function(i){const d=Date.parse(i);return!isNaN(d)?new Date(d):i}}else if(typeof d.cast_date!=="function"){throw new CsvError("CSV_INVALID_OPTION_CAST_DATE",["Invalid option cast_date:","cast_date must be true or a function,",`got ${JSON.stringify(d.cast_date)}`],d)}d.cast_first_line_to_header=undefined;if(d.columns===true){d.cast_first_line_to_header=undefined}else if(typeof d.columns==="function"){d.cast_first_line_to_header=d.columns;d.columns=true}else if(Array.isArray(d.columns)){d.columns=normalize_columns_array(d.columns)}else if(d.columns===undefined||d.columns===null||d.columns===false){d.columns=false}else{throw new CsvError("CSV_INVALID_OPTION_COLUMNS",["Invalid option columns:","expect an array, a function or true,",`got ${JSON.stringify(d.columns)}`],d)}if(d.group_columns_by_name===undefined||d.group_columns_by_name===null||d.group_columns_by_name===false){d.group_columns_by_name=false}else if(d.group_columns_by_name!==true){throw new CsvError("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","expect an boolean,",`got ${JSON.stringify(d.group_columns_by_name)}`],d)}else if(d.columns===false){throw new CsvError("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","the `columns` mode must be activated."],d)}if(d.comment===undefined||d.comment===null||d.comment===false||d.comment===""){d.comment=null}else{if(typeof d.comment==="string"){d.comment=Buffer.from(d.comment,d.encoding)}if(!Buffer.isBuffer(d.comment)){throw new CsvError("CSV_INVALID_OPTION_COMMENT",["Invalid option comment:","comment must be a buffer or a string,",`got ${JSON.stringify(d.comment)}`],d)}}if(d.comment_no_infix===undefined||d.comment_no_infix===null||d.comment_no_infix===false){d.comment_no_infix=false}else if(d.comment_no_infix!==true){throw new CsvError("CSV_INVALID_OPTION_COMMENT",["Invalid option comment_no_infix:","value must be a boolean,",`got ${JSON.stringify(d.comment_no_infix)}`],d)}const p=JSON.stringify(d.delimiter);if(!Array.isArray(d.delimiter))d.delimiter=[d.delimiter];if(d.delimiter.length===0){throw new CsvError("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${p}`],d)}d.delimiter=d.delimiter.map((function(i){if(i===undefined||i===null||i===false){return Buffer.from(",",d.encoding)}if(typeof i==="string"){i=Buffer.from(i,d.encoding)}if(!Buffer.isBuffer(i)||i.length===0){throw new CsvError("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${p}`],d)}return i}));if(d.escape===undefined||d.escape===true){d.escape=Buffer.from('"',d.encoding)}else if(typeof d.escape==="string"){d.escape=Buffer.from(d.escape,d.encoding)}else if(d.escape===null||d.escape===false){d.escape=null}if(d.escape!==null){if(!Buffer.isBuffer(d.escape)){throw new Error(`Invalid Option: escape must be a buffer, a string or a boolean, got ${JSON.stringify(d.escape)}`)}}if(d.from===undefined||d.from===null){d.from=1}else{if(typeof d.from==="string"&&/\d+/.test(d.from)){d.from=parseInt(d.from)}if(Number.isInteger(d.from)){if(d.from<0){throw new Error(`Invalid Option: from must be a positive integer, got ${JSON.stringify(i.from)}`)}}else{throw new Error(`Invalid Option: from must be an integer, got ${JSON.stringify(d.from)}`)}}if(d.from_line===undefined||d.from_line===null){d.from_line=1}else{if(typeof d.from_line==="string"&&/\d+/.test(d.from_line)){d.from_line=parseInt(d.from_line)}if(Number.isInteger(d.from_line)){if(d.from_line<=0){throw new Error(`Invalid Option: from_line must be a positive integer greater than 0, got ${JSON.stringify(i.from_line)}`)}}else{throw new Error(`Invalid Option: from_line must be an integer, got ${JSON.stringify(i.from_line)}`)}}if(d.ignore_last_delimiters===undefined||d.ignore_last_delimiters===null){d.ignore_last_delimiters=false}else if(typeof d.ignore_last_delimiters==="number"){d.ignore_last_delimiters=Math.floor(d.ignore_last_delimiters);if(d.ignore_last_delimiters===0){d.ignore_last_delimiters=false}}else if(typeof d.ignore_last_delimiters!=="boolean"){throw new CsvError("CSV_INVALID_OPTION_IGNORE_LAST_DELIMITERS",["Invalid option `ignore_last_delimiters`:","the value must be a boolean value or an integer,",`got ${JSON.stringify(d.ignore_last_delimiters)}`],d)}if(d.ignore_last_delimiters===true&&d.columns===false){throw new CsvError("CSV_IGNORE_LAST_DELIMITERS_REQUIRES_COLUMNS",["The option `ignore_last_delimiters`","requires the activation of the `columns` option"],d)}if(d.info===undefined||d.info===null||d.info===false){d.info=false}else if(d.info!==true){throw new Error(`Invalid Option: info must be true, got ${JSON.stringify(d.info)}`)}if(d.max_record_size===undefined||d.max_record_size===null||d.max_record_size===false){d.max_record_size=0}else if(Number.isInteger(d.max_record_size)&&d.max_record_size>=0);else if(typeof d.max_record_size==="string"&&/\d+/.test(d.max_record_size)){d.max_record_size=parseInt(d.max_record_size)}else{throw new Error(`Invalid Option: max_record_size must be a positive integer, got ${JSON.stringify(d.max_record_size)}`)}if(d.objname===undefined||d.objname===null||d.objname===false){d.objname=undefined}else if(Buffer.isBuffer(d.objname)){if(d.objname.length===0){throw new Error(`Invalid Option: objname must be a non empty buffer`)}if(d.encoding===null);else{d.objname=d.objname.toString(d.encoding)}}else if(typeof d.objname==="string"){if(d.objname.length===0){throw new Error(`Invalid Option: objname must be a non empty string`)}}else if(typeof d.objname==="number");else{throw new Error(`Invalid Option: objname must be a string or a buffer, got ${d.objname}`)}if(d.objname!==undefined){if(typeof d.objname==="number"){if(d.columns!==false){throw Error("Invalid Option: objname index cannot be combined with columns or be defined as a field")}}else{if(d.columns===false){throw Error("Invalid Option: objname field must be combined with columns or be defined as an index")}}}if(d.on_record===undefined||d.on_record===null){d.on_record=undefined}else if(typeof d.on_record!=="function"){throw new CsvError("CSV_INVALID_OPTION_ON_RECORD",["Invalid option `on_record`:","expect a function,",`got ${JSON.stringify(d.on_record)}`],d)}if(d.on_skip!==undefined&&d.on_skip!==null&&typeof d.on_skip!=="function"){throw new Error(`Invalid Option: on_skip must be a function, got ${JSON.stringify(d.on_skip)}`)}if(d.quote===null||d.quote===false||d.quote===""){d.quote=null}else{if(d.quote===undefined||d.quote===true){d.quote=Buffer.from('"',d.encoding)}else if(typeof d.quote==="string"){d.quote=Buffer.from(d.quote,d.encoding)}if(!Buffer.isBuffer(d.quote)){throw new Error(`Invalid Option: quote must be a buffer or a string, got ${JSON.stringify(d.quote)}`)}}if(d.raw===undefined||d.raw===null||d.raw===false){d.raw=false}else if(d.raw!==true){throw new Error(`Invalid Option: raw must be true, got ${JSON.stringify(d.raw)}`)}if(d.record_delimiter===undefined){d.record_delimiter=[]}else if(typeof d.record_delimiter==="string"||Buffer.isBuffer(d.record_delimiter)){if(d.record_delimiter.length===0){throw new CsvError("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer,",`got ${JSON.stringify(d.record_delimiter)}`],d)}d.record_delimiter=[d.record_delimiter]}else if(!Array.isArray(d.record_delimiter)){throw new CsvError("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer,",`got ${JSON.stringify(d.record_delimiter)}`],d)}d.record_delimiter=d.record_delimiter.map((function(i,p){if(typeof i!=="string"&&!Buffer.isBuffer(i)){throw new CsvError("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer",`at index ${p},`,`got ${JSON.stringify(i)}`],d)}else if(i.length===0){throw new CsvError("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer",`at index ${p},`,`got ${JSON.stringify(i)}`],d)}if(typeof i==="string"){i=Buffer.from(i,d.encoding)}return i}));if(typeof d.relax_column_count==="boolean");else if(d.relax_column_count===undefined||d.relax_column_count===null){d.relax_column_count=false}else{throw new Error(`Invalid Option: relax_column_count must be a boolean, got ${JSON.stringify(d.relax_column_count)}`)}if(typeof d.relax_column_count_less==="boolean");else if(d.relax_column_count_less===undefined||d.relax_column_count_less===null){d.relax_column_count_less=false}else{throw new Error(`Invalid Option: relax_column_count_less must be a boolean, got ${JSON.stringify(d.relax_column_count_less)}`)}if(typeof d.relax_column_count_more==="boolean");else if(d.relax_column_count_more===undefined||d.relax_column_count_more===null){d.relax_column_count_more=false}else{throw new Error(`Invalid Option: relax_column_count_more must be a boolean, got ${JSON.stringify(d.relax_column_count_more)}`)}if(typeof d.relax_quotes==="boolean");else if(d.relax_quotes===undefined||d.relax_quotes===null){d.relax_quotes=false}else{throw new Error(`Invalid Option: relax_quotes must be a boolean, got ${JSON.stringify(d.relax_quotes)}`)}if(typeof d.skip_empty_lines==="boolean");else if(d.skip_empty_lines===undefined||d.skip_empty_lines===null){d.skip_empty_lines=false}else{throw new Error(`Invalid Option: skip_empty_lines must be a boolean, got ${JSON.stringify(d.skip_empty_lines)}`)}if(typeof d.skip_records_with_empty_values==="boolean");else if(d.skip_records_with_empty_values===undefined||d.skip_records_with_empty_values===null){d.skip_records_with_empty_values=false}else{throw new Error(`Invalid Option: skip_records_with_empty_values must be a boolean, got ${JSON.stringify(d.skip_records_with_empty_values)}`)}if(typeof d.skip_records_with_error==="boolean");else if(d.skip_records_with_error===undefined||d.skip_records_with_error===null){d.skip_records_with_error=false}else{throw new Error(`Invalid Option: skip_records_with_error must be a boolean, got ${JSON.stringify(d.skip_records_with_error)}`)}if(d.rtrim===undefined||d.rtrim===null||d.rtrim===false){d.rtrim=false}else if(d.rtrim!==true){throw new Error(`Invalid Option: rtrim must be a boolean, got ${JSON.stringify(d.rtrim)}`)}if(d.ltrim===undefined||d.ltrim===null||d.ltrim===false){d.ltrim=false}else if(d.ltrim!==true){throw new Error(`Invalid Option: ltrim must be a boolean, got ${JSON.stringify(d.ltrim)}`)}if(d.trim===undefined||d.trim===null||d.trim===false){d.trim=false}else if(d.trim!==true){throw new Error(`Invalid Option: trim must be a boolean, got ${JSON.stringify(d.trim)}`)}if(d.trim===true&&i.ltrim!==false){d.ltrim=true}else if(d.ltrim!==true){d.ltrim=false}if(d.trim===true&&i.rtrim!==false){d.rtrim=true}else if(d.rtrim!==true){d.rtrim=false}if(d.to===undefined||d.to===null){d.to=-1}else if(d.to!==-1){if(typeof d.to==="string"&&/\d+/.test(d.to)){d.to=parseInt(d.to)}if(Number.isInteger(d.to)){if(d.to<=0){throw new Error(`Invalid Option: to must be a positive integer greater than 0, got ${JSON.stringify(i.to)}`)}}else{throw new Error(`Invalid Option: to must be an integer, got ${JSON.stringify(i.to)}`)}}if(d.to_line===undefined||d.to_line===null){d.to_line=-1}else if(d.to_line!==-1){if(typeof d.to_line==="string"&&/\d+/.test(d.to_line)){d.to_line=parseInt(d.to_line)}if(Number.isInteger(d.to_line)){if(d.to_line<=0){throw new Error(`Invalid Option: to_line must be a positive integer greater than 0, got ${JSON.stringify(i.to_line)}`)}}else{throw new Error(`Invalid Option: to_line must be an integer, got ${JSON.stringify(i.to_line)}`)}}return d};const isRecordEmpty=function(i){return i.every((i=>i==null||i.toString&&i.toString().trim()===""))};const te=13;const re=10;const ne={utf8:Buffer.from([239,187,191]),utf16le:Buffer.from([255,254])};const transform=function(i={}){const d={bytes:0,comment_lines:0,empty_lines:0,invalid_field_length:0,lines:1,records:0};const p=normalize_options(i);return{info:d,original_options:i,options:p,state:init_state(p),__needMoreData:function(i,d,p){if(p)return false;const{encoding:v,escape:V,quote:K}=this.options;const{quoting:ee,needMoreDataSize:te,recordDelimiterMaxLength:re}=this.state;const ne=d-i-1;const ie=Math.max(te,re===0?Buffer.from("\r\n",v).length:re,ee?(V===null?0:V.length)+K.length:0,ee?K.length+re:0);return nede){this.state.stop=true;v();return}if(this.state.quoting===false&&ge.length===0){const i=this.__autoDiscoverRecordDelimiter(be,Be);if(i){ge=this.options.record_delimiter}}const i=be[Be];if(ae===true){ye.append(i)}if((i===te||i===re)&&this.state.wasRowDelimiter===false){this.state.wasRowDelimiter=true}if(this.state.escaping===true){this.state.escaping=false}else{if(fe!==null&&this.state.quoting===true&&this.__isEscape(be,Be,i)&&Be+fe.lengthne[i].equals(this.state.field.toString())?i:false)).filter(Boolean)[0];const p=this.__error(new CsvError("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(i.column)} at line ${i.lines}, value is ${JSON.stringify(this.state.field.toString(ee))}`,d?`(${d} bom)`:undefined],this.options,i,{field:this.state.field}));if(p!==undefined)return p}}else{this.state.quoting=true;Be+=he.length-1;continue}}}if(this.state.quoting===false){const d=this.__isRecordDelimiter(i,be,Be);if(d!==0){const i=this.state.commenting&&this.state.wasQuoting===false&&this.state.record.length===0&&this.state.field.length===0;if(i){this.info.comment_lines++}else{if(this.state.enabled===false&&this.info.lines+(this.state.wasRowDelimiter===true?1:0)>=ie){this.state.enabled=true;this.__resetField();this.__resetRecord();Be+=d-1;continue}if(ue===true&&this.state.wasQuoting===false&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++;Be+=d-1;continue}this.info.bytes=this.state.bufBytesStart+Be;const i=this.__onField();if(i!==undefined)return i;this.info.bytes=this.state.bufBytesStart+Be+d;const V=this.__onRecord(p);if(V!==undefined)return V;if(Ae!==-1&&this.info.records>=Ae){this.state.stop=true;v();return}}this.state.commenting=false;Be+=d-1;continue}if(this.state.commenting){continue}if(pe!==null&&(K===false||this.state.record.length===0&&this.state.field.length===0)){const d=this.__compareBytes(pe,be,Be,i);if(d!==0){this.state.commenting=true;continue}}const V=this.__isDelimiter(be,Be,i);if(V!==0){this.info.bytes=this.state.bufBytesStart+Be;const i=this.__onField();if(i!==undefined)return i;Be+=V-1;continue}}}if(this.state.commenting===false){if(oe!==0&&this.state.record_length+this.state.field.length>oe){return this.__error(new CsvError("CSV_MAX_RECORD_SIZE",["Max Record Size:","record exceed the maximum number of tolerated bytes",`of ${oe}`,`at line ${this.info.lines}`],this.options,this.__infoField()))}}const V=se===false||this.state.quoting===true||this.state.field.length!==0||!this.__isCharTrimable(be,Be);const me=le===false||this.state.wasQuoting===false;if(V===true&&me===true){this.state.field.append(i)}else if(le===true&&!this.__isCharTrimable(be,Be)){return this.__error(new CsvError("CSV_NON_TRIMABLE_CHAR_AFTER_CLOSING_QUOTE",["Invalid Closing Quote:","found non trimable byte after quote",`at line ${this.info.lines}`],this.options,this.__infoField()))}else{if(V===false){Be+=this.__isCharTrimable(be,Be)-1}continue}}if(d===true){if(this.state.quoting===true){const i=this.__error(new CsvError("CSV_QUOTE_NOT_CLOSED",["Quote Not Closed:",`the parsing is finished with an opening quote at line ${this.info.lines}`],this.options,this.__infoField()));if(i!==undefined)return i}else{if(this.state.wasQuoting===true||this.state.record.length!==0||this.state.field.length!==0){this.info.bytes=this.state.bufBytesStart+Be;const i=this.__onField();if(i!==undefined)return i;const d=this.__onRecord(p);if(d!==undefined)return d}else if(this.state.wasRowDelimiter===true){this.info.empty_lines++}else if(this.state.commenting===true){this.info.comment_lines++}}}else{this.state.bufBytesStart+=Be;this.state.previousBuf=be.slice(Be)}if(this.state.wasRowDelimiter===true){this.info.lines++;this.state.wasRowDelimiter=false}},__onRecord:function(i){const{columns:d,group_columns_by_name:p,encoding:v,info:V,from:K,relax_column_count:ee,relax_column_count_less:te,relax_column_count_more:re,raw:ne,skip_records_with_empty_values:ie}=this.options;const{enabled:se,record:oe}=this.state;if(se===false){return this.__resetRecord()}const ae=oe.length;if(d===true){if(ie===true&&isRecordEmpty(oe)){this.__resetRecord();return}return this.__firstLineToColumns(oe)}if(d===false&&this.info.records===0){this.state.expectedRecordLength=ae}if(ae!==this.state.expectedRecordLength){const i=d===false?new CsvError("CSV_RECORD_INCONSISTENT_FIELDS_LENGTH",["Invalid Record Length:",`expect ${this.state.expectedRecordLength},`,`got ${ae} on line ${this.info.lines}`],this.options,this.__infoField(),{record:oe}):new CsvError("CSV_RECORD_INCONSISTENT_COLUMNS",["Invalid Record Length:",`columns length is ${d.length},`,`got ${ae} on line ${this.info.lines}`],this.options,this.__infoField(),{record:oe});if(ee===true||te===true&&aethis.state.expectedRecordLength){this.info.invalid_field_length++;this.state.error=i}else{const d=this.__error(i);if(d)return d}}if(ie===true&&isRecordEmpty(oe)){this.__resetRecord();return}if(this.state.recordHasError===true){this.__resetRecord();this.state.recordHasError=false;return}this.info.records++;if(K===1||this.info.records>=K){const{objname:K}=this.options;if(d!==false){const ee={};for(let i=0,v=oe.length;i{const{timchars:p}=this.state;e:for(let v=0;v=0},__compareBytes:function(i,d,p,v){if(i[0]!==v)return 0;const V=i.length;for(let v=1;vthis.state.record.length?i[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}}}};const parse=function(i,d={}){if(typeof i==="string"){i=Buffer.from(i)}const p=d&&d.objname?{}:[];const v=transform(d);const push=i=>{if(v.options.objname===undefined)p.push(i);else{p[i[0]]=i[1]}};const close=()=>{};const V=v.parse(i,true,push,close);if(V!==undefined)throw V;return p};d.CsvError=CsvError;d.parse=parse},50591:i=>{(()=>{"use strict";var d={d:(i,p)=>{for(var v in p)d.o(p,v)&&!d.o(i,v)&&Object.defineProperty(i,v,{enumerable:!0,get:p[v]})},o:(i,d)=>Object.prototype.hasOwnProperty.call(i,d),r:i=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})}},p={};d.r(p),d.d(p,{XMLBuilder:()=>ft,XMLParser:()=>st,XMLValidator:()=>de});const v=":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",V=new RegExp("^["+v+"]["+v+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function s(i,d){const p=[];let v=d.exec(i);for(;v;){const V=[];V.startIndex=d.lastIndex-v[0].length;const K=v.length;for(let i=0;i"!==i[K]&&" "!==i[K]&&"\t"!==i[K]&&"\n"!==i[K]&&"\r"!==i[K];K++)re+=i[K];if(re=re.trim(),"/"===re[re.length-1]&&(re=re.substring(0,re.length-1),K--),!r(re)){let d;return d=0===re.trim().length?"Invalid space after '<'.":"Tag '"+re+"' is an invalid name.",x("InvalidTag",d,N(i,K))}const ne=c(i,K);if(!1===ne)return x("InvalidAttr","Attributes for '"+re+"' have open quote.",N(i,K));let ie=ne.value;if(K=ne.index,"/"===ie[ie.length-1]){const p=K-ie.length;ie=ie.substring(0,ie.length-1);const V=g(ie,d);if(!0!==V)return x(V.err.code,V.err.msg,N(i,p+V.err.line));v=!0}else if(te){if(!ne.tagClosed)return x("InvalidTag","Closing tag '"+re+"' doesn't have proper closing.",N(i,K));if(ie.trim().length>0)return x("InvalidTag","Closing tag '"+re+"' can't have attributes or invalid starting.",N(i,ee));if(0===p.length)return x("InvalidTag","Closing tag '"+re+"' has not been opened.",N(i,ee));{const d=p.pop();if(re!==d.tagName){let p=N(i,d.tagStartPos);return x("InvalidTag","Expected closing tag '"+d.tagName+"' (opened in line "+p.line+", col "+p.col+") instead of closing tag '"+re+"'.",N(i,ee))}0==p.length&&(V=!0)}}else{const te=g(ie,d);if(!0!==te)return x(te.err.code,te.err.msg,N(i,K-ie.length+te.err.line));if(!0===V)return x("InvalidXml","Multiple possible root nodes found.",N(i,K));-1!==d.unpairedTags.indexOf(re)||p.push({tagName:re,tagStartPos:ee}),v=!0}for(K++;K0)||x("InvalidXml","Invalid '"+JSON.stringify(p.map((i=>i.tagName)),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):x("InvalidXml","Start tag expected.",1)}function l(i){return" "===i||"\t"===i||"\n"===i||"\r"===i}function u(i,d){const p=d;for(;d5&&"xml"===v)return x("InvalidXml","XML declaration allowed only at the start of the document.",N(i,d));if("?"==i[d]&&">"==i[d+1]){d++;break}}return d}function h(i,d){if(i.length>d+5&&"-"===i[d+1]&&"-"===i[d+2]){for(d+=3;d"===i[d+2]){d+=2;break}}else if(i.length>d+8&&"D"===i[d+1]&&"O"===i[d+2]&&"C"===i[d+3]&&"T"===i[d+4]&&"Y"===i[d+5]&&"P"===i[d+6]&&"E"===i[d+7]){let p=1;for(d+=8;d"===i[d]&&(p--,0===p))break}else if(i.length>d+9&&"["===i[d+1]&&"C"===i[d+2]&&"D"===i[d+3]&&"A"===i[d+4]&&"T"===i[d+5]&&"A"===i[d+6]&&"["===i[d+7])for(d+=8;d"===i[d+2]){d+=2;break}return d}const ee='"',te="'";function c(i,d){let p="",v="",V=!1;for(;d"===i[d]&&""===v){V=!0;break}p+=i[d]}return""===v&&{value:p,index:d,tagClosed:V}}const re=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function g(i,d){const p=s(i,re),v={};for(let i=0;i!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(i,d,p){return i},captureMetaData:!1};let ie;ie="function"!=typeof Symbol?"@@xmlMetadata":Symbol("XML Node Metadata");class T{constructor(i){this.tagname=i,this.child=[],this[":@"]={}}add(i,d){"__proto__"===i&&(i="#__proto__"),this.child.push({[i]:d})}addChild(i,d){"__proto__"===i.tagname&&(i.tagname="#__proto__"),i[":@"]&&Object.keys(i[":@"]).length>0?this.child.push({[i.tagname]:i.child,":@":i[":@"]}):this.child.push({[i.tagname]:i.child}),void 0!==d&&(this.child[this.child.length-1][ie]={startIndex:d})}static getMetaDataSymbol(){return ie}}function w(i,d){const p={};if("O"!==i[d+3]||"C"!==i[d+4]||"T"!==i[d+5]||"Y"!==i[d+6]||"P"!==i[d+7]||"E"!==i[d+8])throw new Error("Invalid Tag instead of DOCTYPE");{d+=9;let v=1,V=!1,K=!1,ee="";for(;d"===i[d]){if(K?"-"===i[d-1]&&"-"===i[d-2]&&(K=!1,v--):v--,0===v)break}else"["===i[d]?V=!0:ee+=i[d];else{if(V&&C(i,"!ENTITY",d)){let v,V;d+=7,[v,V,d]=O(i,d+1),-1===V.indexOf("&")&&(p[v]={regx:RegExp(`&${v};`,"g"),val:V})}else if(V&&C(i,"!ELEMENT",d)){d+=8;const{index:p}=S(i,d+1);d=p}else if(V&&C(i,"!ATTLIST",d))d+=8;else if(V&&C(i,"!NOTATION",d)){d+=9;const{index:p}=A(i,d+1);d=p}else{if(!C(i,"!--",d))throw new Error("Invalid DOCTYPE");K=!0}v++,ee=""}if(0!==v)throw new Error("Unclosed DOCTYPE")}return{entities:p,i:d}}const P=(i,d)=>{for(;d{for(const p of i){if("string"==typeof p&&d===p)return!0;if(p instanceof RegExp&&p.test(d))return!0}}:()=>!1}class k{constructor(i){this.options=i,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(i,d)=>String.fromCodePoint(Number.parseInt(d,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(i,d)=>String.fromCodePoint(Number.parseInt(d,16))}},this.addExternalEntities=F,this.parseXml=X,this.parseTextData=L,this.resolveNameSpace=B,this.buildAttributesMap=G,this.isItStopNode=Z,this.replaceEntitiesValue=R,this.readStopNodeData=J,this.saveTextToParentTag=q,this.addChild=Y,this.ignoreAttributesFn=_(this.options.ignoreAttributes)}}function F(i){const d=Object.keys(i);for(let p=0;p0)){ee||(i=this.replaceEntitiesValue(i));const v=this.options.tagValueProcessor(d,i,p,V,K);return null==v?i:typeof v!=typeof i||v!==i?v:this.options.trimValues||i.trim()===i?H(i,this.options.parseTagValue,this.options.numberParseOptions):i}}function B(i){if(this.options.removeNSPrefix){const d=i.split(":"),p="/"===i.charAt(0)?"/":"";if("xmlns"===d[0])return"";2===d.length&&(i=p+d[1])}return i}const le=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function G(i,d,p){if(!0!==this.options.ignoreAttributes&&"string"==typeof i){const p=s(i,le),v=p.length,V={};for(let i=0;i",K,"Closing Tag is not closed.");let ee=i.substring(K+2,d).trim();if(this.options.removeNSPrefix){const i=ee.indexOf(":");-1!==i&&(ee=ee.substr(i+1))}this.options.transformTagName&&(ee=this.options.transformTagName(ee)),p&&(v=this.saveTextToParentTag(v,p,V));const te=V.substring(V.lastIndexOf(".")+1);if(ee&&-1!==this.options.unpairedTags.indexOf(ee))throw new Error(`Unpaired tag can not be used as closing tag: `);let re=0;te&&-1!==this.options.unpairedTags.indexOf(te)?(re=V.lastIndexOf(".",V.lastIndexOf(".")-1),this.tagsNodeStack.pop()):re=V.lastIndexOf("."),V=V.substring(0,re),p=this.tagsNodeStack.pop(),v="",K=d}else if("?"===i[K+1]){let d=z(i,K,!1,"?>");if(!d)throw new Error("Pi Tag is not closed.");if(v=this.saveTextToParentTag(v,p,V),this.options.ignoreDeclaration&&"?xml"===d.tagName||this.options.ignorePiTags);else{const i=new T(d.tagName);i.add(this.options.textNodeName,""),d.tagName!==d.tagExp&&d.attrExpPresent&&(i[":@"]=this.buildAttributesMap(d.tagExp,V,d.tagName)),this.addChild(p,i,V,K)}K=d.closeIndex+1}else if("!--"===i.substr(K+1,3)){const d=W(i,"--\x3e",K+4,"Comment is not closed.");if(this.options.commentPropName){const ee=i.substring(K+4,d-2);v=this.saveTextToParentTag(v,p,V),p.add(this.options.commentPropName,[{[this.options.textNodeName]:ee}])}K=d}else if("!D"===i.substr(K+1,2)){const d=w(i,K);this.docTypeEntities=d.entities,K=d.i}else if("!["===i.substr(K+1,2)){const d=W(i,"]]>",K,"CDATA is not closed.")-2,ee=i.substring(K+9,d);v=this.saveTextToParentTag(v,p,V);let te=this.parseTextData(ee,p.tagname,V,!0,!1,!0,!0);null==te&&(te=""),this.options.cdataPropName?p.add(this.options.cdataPropName,[{[this.options.textNodeName]:ee}]):p.add(this.options.textNodeName,te),K=d+2}else{let ee=z(i,K,this.options.removeNSPrefix),te=ee.tagName;const re=ee.rawTagName;let ne=ee.tagExp,ie=ee.attrExpPresent,se=ee.closeIndex;this.options.transformTagName&&(te=this.options.transformTagName(te)),p&&v&&"!xml"!==p.tagname&&(v=this.saveTextToParentTag(v,p,V,!1));const oe=p;oe&&-1!==this.options.unpairedTags.indexOf(oe.tagname)&&(p=this.tagsNodeStack.pop(),V=V.substring(0,V.lastIndexOf("."))),te!==d.tagname&&(V+=V?"."+te:te);const ae=K;if(this.isItStopNode(this.options.stopNodes,V,te)){let d="";if(ne.length>0&&ne.lastIndexOf("/")===ne.length-1)"/"===te[te.length-1]?(te=te.substr(0,te.length-1),V=V.substr(0,V.length-1),ne=te):ne=ne.substr(0,ne.length-1),K=ee.closeIndex;else if(-1!==this.options.unpairedTags.indexOf(te))K=ee.closeIndex;else{const p=this.readStopNodeData(i,re,se+1);if(!p)throw new Error(`Unexpected end of ${re}`);K=p.i,d=p.tagContent}const v=new T(te);te!==ne&&ie&&(v[":@"]=this.buildAttributesMap(ne,V,te)),d&&(d=this.parseTextData(d,te,V,!0,ie,!0,!0)),V=V.substr(0,V.lastIndexOf(".")),v.add(this.options.textNodeName,d),this.addChild(p,v,V,ae)}else{if(ne.length>0&&ne.lastIndexOf("/")===ne.length-1){"/"===te[te.length-1]?(te=te.substr(0,te.length-1),V=V.substr(0,V.length-1),ne=te):ne=ne.substr(0,ne.length-1),this.options.transformTagName&&(te=this.options.transformTagName(te));const i=new T(te);te!==ne&&ie&&(i[":@"]=this.buildAttributesMap(ne,V,te)),this.addChild(p,i,V,ae),V=V.substr(0,V.lastIndexOf("."))}else{const i=new T(te);this.tagsNodeStack.push(p),te!==ne&&ie&&(i[":@"]=this.buildAttributesMap(ne,V,te)),this.addChild(p,i,V,ae),p=i}v="",K=se}}else v+=i[K];return d.child};function Y(i,d,p,v){this.options.captureMetaData||(v=void 0);const V=this.options.updateTag(d.tagname,p,d[":@"]);!1===V||("string"==typeof V?(d.tagname=V,i.addChild(d,v)):i.addChild(d,v))}const R=function(i){if(this.options.processEntities){for(let d in this.docTypeEntities){const p=this.docTypeEntities[d];i=i.replace(p.regx,p.val)}for(let d in this.lastEntities){const p=this.lastEntities[d];i=i.replace(p.regex,p.val)}if(this.options.htmlEntities)for(let d in this.htmlEntities){const p=this.htmlEntities[d];i=i.replace(p.regex,p.val)}i=i.replace(this.ampEntity.regex,this.ampEntity.val)}return i};function q(i,d,p,v){return i&&(void 0===v&&(v=0===d.child.length),void 0!==(i=this.parseTextData(i,d.tagname,p,!1,!!d[":@"]&&0!==Object.keys(d[":@"]).length,v))&&""!==i&&d.add(this.options.textNodeName,i),i=""),i}function Z(i,d,p){const v="*."+p;for(const p in i){const V=i[p];if(v===V||d===V)return!0}return!1}function W(i,d,p,v){const V=i.indexOf(d,p);if(-1===V)throw new Error(v);return V+d.length-1}function z(i,d,p,v=">"){const V=function(i,d,p=">"){let v,V="";for(let K=d;K",p,`${d} is not closed`);if(i.substring(p+2,K).trim()===d&&(V--,0===V))return{tagContent:i.substring(v,p),i:K};p=K}else if("?"===i[p+1])p=W(i,"?>",p+1,"StopNode is not closed.");else if("!--"===i.substr(p+1,3))p=W(i,"--\x3e",p+3,"StopNode is not closed.");else if("!["===i.substr(p+1,2))p=W(i,"]]>",p,"StopNode is not closed.")-2;else{const v=z(i,p,">");v&&((v&&v.tagName)===d&&"/"!==v.tagExp[v.tagExp.length-1]&&V++,p=v.closeIndex)}}function H(i,d,p){if(d&&"string"==typeof i){const d=i.trim();return"true"===d||"false"!==d&&function(i,d={}){if(d=Object.assign({},ae,d),!i||"string"!=typeof i)return i;let p=i.trim();if(void 0!==d.skipLike&&d.skipLike.test(p))return i;if("0"===i)return 0;if(d.hex&&se.test(p))return function(i){if(parseInt)return parseInt(i,16);if(Number.parseInt)return Number.parseInt(i,16);if(window&&window.parseInt)return window.parseInt(i,16);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}(p);if(-1!==p.search(/.+[eE].+/))return function(i,d,p){if(!p.eNotation)return i;const v=d.match(ce);if(v){let V=v[1]||"";const K=-1===v[3].indexOf("e")?"E":"e",ee=v[2],te=V?i[ee.length+1]===K:i[ee.length]===K;return ee.length>1&&te?i:1!==ee.length||!v[3].startsWith(`.${K}`)&&v[3][0]!==K?p.leadingZeros&&!te?(d=(v[1]||"")+v[3],Number(d)):i:Number(d)}return i}(i,p,d);{const V=oe.exec(p);if(V){const K=V[1]||"",ee=V[2];let te=(v=V[3])&&-1!==v.indexOf(".")?("."===(v=v.replace(/0+$/,""))?v="0":"."===v[0]?v="0"+v:"."===v[v.length-1]&&(v=v.substring(0,v.length-1)),v):v;const re=K?"."===i[ee.length+1]:"."===i[ee.length];if(!d.leadingZeros&&(ee.length>1||1===ee.length&&!re))return i;{const v=Number(p),V=String(v);if(0===v||-0===v)return v;if(-1!==V.search(/[eE]/))return d.eNotation?v:i;if(-1!==p.indexOf("."))return"0"===V||V===te||V===`${K}${te}`?v:i;let re=ee?te:p;return ee?re===V||K+re===V?v:i:re===V||re===K+V?v:i}}return i}var v}(i,p)}return void 0!==i?i:""}const ue=T.getMetaDataSymbol();function Q(i,d){return tt(i,d)}function tt(i,d,p){let v;const V={};for(let K=0;K0&&(V[d.textNodeName]=v):void 0!==v&&(V[d.textNodeName]=v),V}function et(i){const d=Object.keys(i);for(let i=0;i0&&(p="\n"),ot(i,d,"",p)}function ot(i,d,p,v){let V="",K=!1;for(let ee=0;ee`,K=!1;continue}if(re===d.commentPropName){V+=v+`\x3c!--${te[re][0][d.textNodeName]}--\x3e`,K=!0;continue}if("?"===re[0]){const i=lt(te[":@"],d),p="?xml"===re?"":v;let ee=te[re][0][d.textNodeName];ee=0!==ee.length?" "+ee:"",V+=p+`<${re}${ee}${i}?>`,K=!0;continue}let ie=v;""!==ie&&(ie+=d.indentBy);const se=v+`<${re}${lt(te[":@"],d)}`,oe=ot(te[re],d,ne,ie);-1!==d.unpairedTags.indexOf(re)?d.suppressUnpairedNode?V+=se+">":V+=se+"/>":oe&&0!==oe.length||!d.suppressEmptyNode?oe&&oe.endsWith(">")?V+=se+`>${oe}${v}`:(V+=se+">",oe&&""!==v&&(oe.includes("/>")||oe.includes("`):V+=se+"/>",K=!0}return V}function at(i){const d=Object.keys(i);for(let p=0;p0&&d.processEntities)for(let p=0;p","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function ft(i){this.options=Object.assign({},Ae,i),!0===this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=_(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=gt),this.processTextOrObjNode=ct,this.options.format?(this.indentate=pt,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function ct(i,d,p,v){const V=this.j2x(i,p+1,v.concat(d));return void 0!==i[this.options.textNodeName]&&1===Object.keys(i).length?this.buildTextValNode(i[this.options.textNodeName],d,V.attrStr,p):this.buildObjectNode(V.val,d,V.attrStr,p)}function pt(i){return this.options.indentBy.repeat(i)}function gt(i){return!(!i.startsWith(this.options.attributeNamePrefix)||i===this.options.textNodeName)&&i.substr(this.attrPrefixLen)}ft.prototype.build=function(i){return this.options.preserveOrder?rt(i,this.options):(Array.isArray(i)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(i={[this.options.arrayNodeName]:i}),this.j2x(i,0,[]).val)},ft.prototype.j2x=function(i,d,p){let v="",V="";const K=p.join(".");for(let ee in i)if(Object.prototype.hasOwnProperty.call(i,ee))if(void 0===i[ee])this.isAttribute(ee)&&(V+="");else if(null===i[ee])this.isAttribute(ee)||ee===this.options.cdataPropName?V+="":"?"===ee[0]?V+=this.indentate(d)+"<"+ee+"?"+this.tagEndChar:V+=this.indentate(d)+"<"+ee+"/"+this.tagEndChar;else if(i[ee]instanceof Date)V+=this.buildTextValNode(i[ee],ee,"",d);else if("object"!=typeof i[ee]){const p=this.isAttribute(ee);if(p&&!this.ignoreAttributesFn(p,K))v+=this.buildAttrPairStr(p,""+i[ee]);else if(!p)if(ee===this.options.textNodeName){let d=this.options.tagValueProcessor(ee,""+i[ee]);V+=this.replaceEntitiesValue(d)}else V+=this.buildTextValNode(i[ee],ee,"",d)}else if(Array.isArray(i[ee])){const v=i[ee].length;let K="",te="";for(let re=0;re"+i+V}},ft.prototype.closeTag=function(i){let d="";return-1!==this.options.unpairedTags.indexOf(i)?this.options.suppressUnpairedNode||(d="/"):d=this.options.suppressEmptyNode?"/":`>`+this.newLine;if(!1!==this.options.commentPropName&&d===this.options.commentPropName)return this.indentate(v)+`\x3c!--${i}--\x3e`+this.newLine;if("?"===d[0])return this.indentate(v)+"<"+d+p+"?"+this.tagEndChar;{let V=this.options.tagValueProcessor(d,i);return V=this.replaceEntitiesValue(V),""===V?this.indentate(v)+"<"+d+p+this.closeTag(d)+this.tagEndChar:this.indentate(v)+"<"+d+p+">"+V+"0&&this.options.processEntities)for(let d=0;d{i.exports=JSON.parse('{"name":"@actions/artifact","version":"5.0.3","preview":true,"description":"Actions artifact lib","keywords":["github","actions","artifact"],"homepage":"https://github.com/actions/toolkit/tree/main/packages/artifact","license":"MIT","main":"lib/artifact.js","types":"lib/artifact.d.ts","directories":{"lib":"lib","test":"__tests__"},"files":["lib","!.DS_Store"],"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/actions/toolkit.git","directory":"packages/artifact"},"scripts":{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json","test":"cd ../../ && npm run test ./packages/artifact","bootstrap":"cd ../../ && npm run bootstrap","tsc-run":"tsc","tsc":"npm run bootstrap && npm run tsc-run","gen:docs":"typedoc --plugin typedoc-plugin-markdown --out docs/generated src/artifact.ts --githubPages false --readme none"},"bugs":{"url":"https://github.com/actions/toolkit/issues"},"dependencies":{"@actions/core":"^2.0.0","@actions/github":"^6.0.1","@actions/http-client":"^3.0.2","@azure/storage-blob":"^12.29.1","@octokit/core":"^5.2.1","@octokit/plugin-request-log":"^1.0.4","@octokit/plugin-retry":"^3.0.9","@octokit/request":"^8.4.1","@octokit/request-error":"^5.1.1","@protobuf-ts/plugin":"^2.2.3-alpha.1","archiver":"^7.0.1","jwt-decode":"^3.1.2","unzip-stream":"^0.3.1"},"devDependencies":{"@types/archiver":"^5.3.2","@types/unzip-stream":"^0.3.4","typedoc":"^0.28.13","typedoc-plugin-markdown":"^3.17.1","typescript":"^5.2.2"},"overrides":{"uri-js":"npm:uri-js-replace@^1.0.1","node-fetch":"^3.3.2"}}')},64012:i=>{i.exports=JSON.parse('{"name":"@actions/cache","version":"5.0.5","preview":true,"description":"Actions cache lib","keywords":["github","actions","cache"],"homepage":"https://github.com/actions/toolkit/tree/main/packages/cache","license":"MIT","main":"lib/cache.js","types":"lib/cache.d.ts","directories":{"lib":"lib","test":"__tests__"},"files":["lib","!.DS_Store"],"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/actions/toolkit.git","directory":"packages/cache"},"scripts":{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json","test":"echo \\"Error: run tests from root\\" && exit 1","tsc":"tsc"},"bugs":{"url":"https://github.com/actions/toolkit/issues"},"dependencies":{"@actions/core":"^2.0.0","@actions/exec":"^2.0.0","@actions/glob":"^0.5.1","@protobuf-ts/runtime-rpc":"^2.11.1","@actions/http-client":"^3.0.2","@actions/io":"^2.0.0","@azure/abort-controller":"^1.1.0","@azure/core-rest-pipeline":"^1.22.0","@azure/storage-blob":"^12.29.1","semver":"^6.3.1"},"devDependencies":{"@types/node":"^24.1.0","@types/semver":"^6.0.0","@protobuf-ts/plugin":"^2.9.4","typescript":"^5.2.2"},"overrides":{"uri-js":"npm:uri-js-replace@^1.0.1","node-fetch":"^3.3.2"}}')},47643:i=>{i.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.978.0","scripts":{"build":"concurrently \'yarn:build:types\' \'yarn:build:es\' && yarn build:cjs","build:cjs":"node ../../scripts/compilation/inline client-ecr-public","build:es":"tsc -p tsconfig.es.json","build:include:deps":"yarn g:turbo run build -F=\\"$npm_package_name\\"","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo ecr-public","test:index":"tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"},"main":"./dist-cjs/index.js","types":"./dist-types/index.d.ts","module":"./dist-es/index.js","sideEffects":false,"dependencies":{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/core":"^3.973.4","@aws-sdk/credential-provider-node":"^3.972.2","@aws-sdk/middleware-host-header":"^3.972.2","@aws-sdk/middleware-logger":"^3.972.2","@aws-sdk/middleware-recursion-detection":"^3.972.2","@aws-sdk/middleware-user-agent":"^3.972.4","@aws-sdk/region-config-resolver":"^3.972.2","@aws-sdk/types":"^3.973.1","@aws-sdk/util-endpoints":"3.972.0","@aws-sdk/util-user-agent-browser":"^3.972.2","@aws-sdk/util-user-agent-node":"^3.972.2","@smithy/config-resolver":"^4.4.6","@smithy/core":"^3.22.0","@smithy/fetch-http-handler":"^5.3.9","@smithy/hash-node":"^4.2.8","@smithy/invalid-dependency":"^4.2.8","@smithy/middleware-content-length":"^4.2.8","@smithy/middleware-endpoint":"^4.4.12","@smithy/middleware-retry":"^4.4.29","@smithy/middleware-serde":"^4.2.9","@smithy/middleware-stack":"^4.2.8","@smithy/node-config-provider":"^4.3.8","@smithy/node-http-handler":"^4.4.8","@smithy/protocol-http":"^5.3.8","@smithy/smithy-client":"^4.11.1","@smithy/types":"^4.12.0","@smithy/url-parser":"^4.2.8","@smithy/util-base64":"^4.3.0","@smithy/util-body-length-browser":"^4.2.0","@smithy/util-body-length-node":"^4.2.1","@smithy/util-defaults-mode-browser":"^4.3.28","@smithy/util-defaults-mode-node":"^4.2.31","@smithy/util-endpoints":"^3.2.8","@smithy/util-middleware":"^4.2.8","@smithy/util-retry":"^4.2.8","@smithy/util-utf8":"^4.2.0","tslib":"^2.6.2"},"devDependencies":{"@tsconfig/node20":"20.1.8","@types/node":"^20.14.8","concurrently":"7.0.0","downlevel-dts":"0.10.1","premove":"4.0.0","typescript":"~5.8.3"},"engines":{"node":">=20.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"}}')},40121:i=>{i.exports=JSON.parse('{"name":"@aws-sdk/client-ecr","description":"AWS SDK for JavaScript Ecr Client for Node.js, Browser and React Native","version":"3.978.0","scripts":{"build":"concurrently \'yarn:build:types\' \'yarn:build:es\' && yarn build:cjs","build:cjs":"node ../../scripts/compilation/inline client-ecr","build:es":"tsc -p tsconfig.es.json","build:include:deps":"yarn g:turbo run build -F=\\"$npm_package_name\\"","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo ecr","test:e2e":"yarn g:vitest run -c vitest.config.e2e.mts --mode development","test:e2e:watch":"yarn g:vitest watch -c vitest.config.e2e.mts","test:index":"tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"},"main":"./dist-cjs/index.js","types":"./dist-types/index.d.ts","module":"./dist-es/index.js","sideEffects":false,"dependencies":{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/core":"^3.973.4","@aws-sdk/credential-provider-node":"^3.972.2","@aws-sdk/middleware-host-header":"^3.972.2","@aws-sdk/middleware-logger":"^3.972.2","@aws-sdk/middleware-recursion-detection":"^3.972.2","@aws-sdk/middleware-user-agent":"^3.972.4","@aws-sdk/region-config-resolver":"^3.972.2","@aws-sdk/types":"^3.973.1","@aws-sdk/util-endpoints":"3.972.0","@aws-sdk/util-user-agent-browser":"^3.972.2","@aws-sdk/util-user-agent-node":"^3.972.2","@smithy/config-resolver":"^4.4.6","@smithy/core":"^3.22.0","@smithy/fetch-http-handler":"^5.3.9","@smithy/hash-node":"^4.2.8","@smithy/invalid-dependency":"^4.2.8","@smithy/middleware-content-length":"^4.2.8","@smithy/middleware-endpoint":"^4.4.12","@smithy/middleware-retry":"^4.4.29","@smithy/middleware-serde":"^4.2.9","@smithy/middleware-stack":"^4.2.8","@smithy/node-config-provider":"^4.3.8","@smithy/node-http-handler":"^4.4.8","@smithy/protocol-http":"^5.3.8","@smithy/smithy-client":"^4.11.1","@smithy/types":"^4.12.0","@smithy/url-parser":"^4.2.8","@smithy/util-base64":"^4.3.0","@smithy/util-body-length-browser":"^4.2.0","@smithy/util-body-length-node":"^4.2.1","@smithy/util-defaults-mode-browser":"^4.3.28","@smithy/util-defaults-mode-node":"^4.2.31","@smithy/util-endpoints":"^3.2.8","@smithy/util-middleware":"^4.2.8","@smithy/util-retry":"^4.2.8","@smithy/util-utf8":"^4.2.0","@smithy/util-waiter":"^4.2.8","tslib":"^2.6.2"},"devDependencies":{"@tsconfig/node20":"20.1.8","@types/node":"^20.14.8","concurrently":"7.0.0","downlevel-dts":"0.10.1","premove":"4.0.0","typescript":"~5.8.3"},"engines":{"node":">=20.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"}}')}};var p={};function __nccwpck_require__(i){var v=p[i];if(v!==undefined){return v.exports}var V=p[i]={id:i,loaded:false,exports:{}};var K=true;try{d[i].call(V.exports,V,V.exports,__nccwpck_require__);K=false}finally{if(K)delete p[i]}V.loaded=true;return V.exports}__nccwpck_require__.m=d;(()=>{__nccwpck_require__.n=i=>{var d=i&&i.__esModule?()=>i["default"]:()=>i;__nccwpck_require__.d(d,{a:d});return d}})();(()=>{var i=Object.getPrototypeOf?i=>Object.getPrototypeOf(i):i=>i.__proto__;var d;__nccwpck_require__.t=function(p,v){if(v&1)p=this(p);if(v&8)return p;if(typeof p==="object"&&p){if(v&4&&p.__esModule)return p;if(v&16&&typeof p.then==="function")return p}var V=Object.create(null);__nccwpck_require__.r(V);var K={};d=d||[null,i({}),i([]),i(i)];for(var ee=v&2&&p;typeof ee=="object"&&!~d.indexOf(ee);ee=i(ee)){Object.getOwnPropertyNames(ee).forEach((i=>K[i]=()=>p[i]))}K["default"]=()=>p;__nccwpck_require__.d(V,K);return V}})();(()=>{__nccwpck_require__.d=(i,d)=>{for(var p in d){if(__nccwpck_require__.o(d,p)&&!__nccwpck_require__.o(i,p)){Object.defineProperty(i,p,{enumerable:true,get:d[p]})}}}})();(()=>{__nccwpck_require__.f={};__nccwpck_require__.e=i=>Promise.all(Object.keys(__nccwpck_require__.f).reduce(((d,p)=>{__nccwpck_require__.f[p](i,d);return d}),[]))})();(()=>{__nccwpck_require__.u=i=>""+i+".index.js"})();(()=>{__nccwpck_require__.o=(i,d)=>Object.prototype.hasOwnProperty.call(i,d)})();(()=>{__nccwpck_require__.r=i=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(i,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(i,"__esModule",{value:true})}})();(()=>{__nccwpck_require__.nmd=i=>{i.paths=[];if(!i.children)i.children=[];return i}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=new URL(".",import.meta.url).pathname.slice(import.meta.url.match(/^file:\/\/\/\w:/)?1:0,-1)+"/";(()=>{var i={792:0};var installChunk=d=>{var{ids:p,modules:v,runtime:V}=d;var K,ee,te=0;for(K in v){if(__nccwpck_require__.o(v,K)){__nccwpck_require__.m[K]=v[K]}}if(V)V(__nccwpck_require__);for(;te{var v=__nccwpck_require__.o(i,d)?i[d]:undefined;if(v!==0){if(v){p.push(v[1])}else{if(true){var V=import("./"+__nccwpck_require__.u(d)).then(installChunk,(p=>{if(i[d]!==0)i[d]=undefined;throw p}));var V=Promise.race([V,new Promise((p=>v=i[d]=[p]))]);p.push(v[1]=V)}}}}})();var v={};__nccwpck_require__.d(v,{i:()=>main});var V=__nccwpck_require__(37484);var K=__nccwpck_require__(19995);var ee=__nccwpck_require__(16928);var te=__nccwpck_require__.n(ee); +var v=p(39023).inherits;var V=p(47544).ZipArchiveOutputStream;var K=p(47544).ZipArchiveEntry;var ee=p(53296);var te=i.exports=function(i){if(!(this instanceof te)){return new te(i)}i=this.options=i||{};i.zlib=i.zlib||{};V.call(this,i);if(typeof i.level==="number"&&i.level>=0){i.zlib.level=i.level;delete i.level}if(!i.forceZip64&&typeof i.zlib.level==="number"&&i.zlib.level===0){i.store=true}i.namePrependSlash=i.namePrependSlash||false;if(i.comment&&i.comment.length>0){this.setComment(i.comment)}};v(te,V);te.prototype._normalizeFileData=function(i){i=ee.defaults(i,{type:"file",name:null,namePrependSlash:this.options.namePrependSlash,linkname:null,date:null,mode:null,store:this.options.store,comment:""});var d=i.type==="directory";var p=i.type==="symlink";if(i.name){i.name=ee.sanitizePath(i.name);if(!p&&i.name.slice(-1)==="/"){d=true;i.type="directory"}else if(d){i.name+="/"}}if(d||p){i.store=true}i.date=ee.dateify(i.date);return i};te.prototype.entry=function(i,d,p){if(typeof p!=="function"){p=this._emitErrorCallback.bind(this)}d=this._normalizeFileData(d);if(d.type!=="file"&&d.type!=="directory"&&d.type!=="symlink"){p(new Error(d.type+" entries not currently supported"));return}if(typeof d.name!=="string"||d.name.length===0){p(new Error("entry name must be a non-empty string value"));return}if(d.type==="symlink"&&typeof d.linkname!=="string"){p(new Error("entry linkname must be a non-empty string value when type equals symlink"));return}var v=new K(d.name);v.setTime(d.date,this.options.forceLocalTime);if(d.namePrependSlash){v.setName(d.name,true)}if(d.store){v.setMethod(0)}if(d.comment.length>0){v.setComment(d.comment)}if(d.type==="symlink"&&typeof d.mode!=="number"){d.mode=40960}if(typeof d.mode==="number"){if(d.type==="symlink"){d.mode|=40960}v.setUnixMode(d.mode)}if(d.type==="symlink"&&typeof d.linkname==="string"){i=Buffer.from(d.linkname)}return V.prototype.entry.call(this,v,i,p)};te.prototype.finalize=function(){this.finish()}},42613:d=>{d.exports=i(import.meta.url)("assert")},90290:d=>{d.exports=i(import.meta.url)("async_hooks")},20181:d=>{d.exports=i(import.meta.url)("buffer")},35317:d=>{d.exports=i(import.meta.url)("child_process")},64236:d=>{d.exports=i(import.meta.url)("console")},49140:d=>{d.exports=i(import.meta.url)("constants")},76982:d=>{d.exports=i(import.meta.url)("crypto")},31637:d=>{d.exports=i(import.meta.url)("diagnostics_channel")},24434:d=>{d.exports=i(import.meta.url)("events")},79896:d=>{d.exports=i(import.meta.url)("fs")},91943:d=>{d.exports=i(import.meta.url)("fs/promises")},58611:d=>{d.exports=i(import.meta.url)("http")},85675:d=>{d.exports=i(import.meta.url)("http2")},65692:d=>{d.exports=i(import.meta.url)("https")},69278:d=>{d.exports=i(import.meta.url)("net")},34589:d=>{d.exports=i(import.meta.url)("node:assert")},16698:d=>{d.exports=i(import.meta.url)("node:async_hooks")},4573:d=>{d.exports=i(import.meta.url)("node:buffer")},37540:d=>{d.exports=i(import.meta.url)("node:console")},77598:d=>{d.exports=i(import.meta.url)("node:crypto")},53053:d=>{d.exports=i(import.meta.url)("node:diagnostics_channel")},40610:d=>{d.exports=i(import.meta.url)("node:dns")},78474:d=>{d.exports=i(import.meta.url)("node:events")},73024:d=>{d.exports=i(import.meta.url)("node:fs")},51455:d=>{d.exports=i(import.meta.url)("node:fs/promises")},37067:d=>{d.exports=i(import.meta.url)("node:http")},32467:d=>{d.exports=i(import.meta.url)("node:http2")},44708:d=>{d.exports=i(import.meta.url)("node:https")},77030:d=>{d.exports=i(import.meta.url)("node:net")},48161:d=>{d.exports=i(import.meta.url)("node:os")},76760:d=>{d.exports=i(import.meta.url)("node:path")},643:d=>{d.exports=i(import.meta.url)("node:perf_hooks")},1708:d=>{d.exports=i(import.meta.url)("node:process")},41792:d=>{d.exports=i(import.meta.url)("node:querystring")},57075:d=>{d.exports=i(import.meta.url)("node:stream")},41692:d=>{d.exports=i(import.meta.url)("node:tls")},73136:d=>{d.exports=i(import.meta.url)("node:url")},57975:d=>{d.exports=i(import.meta.url)("node:util")},73429:d=>{d.exports=i(import.meta.url)("node:util/types")},75919:d=>{d.exports=i(import.meta.url)("node:worker_threads")},38522:d=>{d.exports=i(import.meta.url)("node:zlib")},70857:d=>{d.exports=i(import.meta.url)("os")},16928:d=>{d.exports=i(import.meta.url)("path")},82987:d=>{d.exports=i(import.meta.url)("perf_hooks")},932:d=>{d.exports=i(import.meta.url)("process")},83480:d=>{d.exports=i(import.meta.url)("querystring")},2203:d=>{d.exports=i(import.meta.url)("stream")},63774:d=>{d.exports=i(import.meta.url)("stream/web")},13193:d=>{d.exports=i(import.meta.url)("string_decoder")},53557:d=>{d.exports=i(import.meta.url)("timers")},64756:d=>{d.exports=i(import.meta.url)("tls")},52018:d=>{d.exports=i(import.meta.url)("tty")},87016:d=>{d.exports=i(import.meta.url)("url")},39023:d=>{d.exports=i(import.meta.url)("util")},98253:d=>{d.exports=i(import.meta.url)("util/types")},28167:d=>{d.exports=i(import.meta.url)("worker_threads")},43106:d=>{d.exports=i(import.meta.url)("zlib")},59192:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.AbortError=void 0;class AbortError extends Error{constructor(i){super(i);this.name="AbortError"}}d.AbortError=AbortError},83134:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.AbortError=void 0;var v=p(59192);Object.defineProperty(d,"AbortError",{enumerable:true,get:function(){return v.AbortError}})},50198:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.AzureKeyCredential=void 0;class AzureKeyCredential{_key;get key(){return this._key}constructor(i){if(!i){throw new Error("key must be a non-empty string")}this._key=i}update(i){this._key=i}}d.AzureKeyCredential=AzureKeyCredential},41295:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.AzureNamedKeyCredential=void 0;d.isNamedKeyCredential=isNamedKeyCredential;const v=p(87779);class AzureNamedKeyCredential{_key;_name;get key(){return this._key}get name(){return this._name}constructor(i,d){if(!i||!d){throw new TypeError("name and key must be non-empty strings")}this._name=i;this._key=d}update(i,d){if(!i||!d){throw new TypeError("newName and newKey must be non-empty strings")}this._name=i;this._key=d}}d.AzureNamedKeyCredential=AzureNamedKeyCredential;function isNamedKeyCredential(i){return(0,v.isObjectWithProperties)(i,["name","key"])&&typeof i.key==="string"&&typeof i.name==="string"}},56608:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.AzureSASCredential=void 0;d.isSASCredential=isSASCredential;const v=p(87779);class AzureSASCredential{_signature;get signature(){return this._signature}constructor(i){if(!i){throw new Error("shared access signature must be a non-empty string")}this._signature=i}update(i){if(!i){throw new Error("shared access signature must be a non-empty string")}this._signature=i}}d.AzureSASCredential=AzureSASCredential;function isSASCredential(i){return(0,v.isObjectWithProperties)(i,["signature"])&&typeof i.signature==="string"}},50417:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.isTokenCredential=d.isSASCredential=d.AzureSASCredential=d.isNamedKeyCredential=d.AzureNamedKeyCredential=d.isKeyCredential=d.AzureKeyCredential=void 0;var v=p(50198);Object.defineProperty(d,"AzureKeyCredential",{enumerable:true,get:function(){return v.AzureKeyCredential}});var V=p(99155);Object.defineProperty(d,"isKeyCredential",{enumerable:true,get:function(){return V.isKeyCredential}});var K=p(41295);Object.defineProperty(d,"AzureNamedKeyCredential",{enumerable:true,get:function(){return K.AzureNamedKeyCredential}});Object.defineProperty(d,"isNamedKeyCredential",{enumerable:true,get:function(){return K.isNamedKeyCredential}});var ee=p(56608);Object.defineProperty(d,"AzureSASCredential",{enumerable:true,get:function(){return ee.AzureSASCredential}});Object.defineProperty(d,"isSASCredential",{enumerable:true,get:function(){return ee.isSASCredential}});var te=p(86881);Object.defineProperty(d,"isTokenCredential",{enumerable:true,get:function(){return te.isTokenCredential}})},99155:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.isKeyCredential=isKeyCredential;const v=p(87779);function isKeyCredential(i){return(0,v.isObjectWithProperties)(i,["key"])&&typeof i.key==="string"}},86881:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.isBearerToken=isBearerToken;d.isPopToken=isPopToken;d.isTokenCredential=isTokenCredential;function isBearerToken(i){return!i.tokenType||i.tokenType==="Bearer"}function isPopToken(i){return i.tokenType==="pop"}function isTokenCredential(i){const d=i;return d&&typeof d.getToken==="function"&&(d.signRequest===undefined||d.getToken.length>0)}},17698:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.parseCAEChallenge=parseCAEChallenge;d.authorizeRequestOnClaimChallenge=authorizeRequestOnClaimChallenge;const v=p(89994);const V=p(20741);function parseCAEChallenge(i){const d=`, ${i.trim()}`.split(", Bearer ").filter((i=>i));return d.map((i=>{const d=`${i.trim()}, `.split('", ').filter((i=>i));const p=d.map((i=>(([i,d])=>({[i]:d}))(i.trim().split('="'))));return p.reduce(((i,d)=>({...i,...d})),{})}))}async function authorizeRequestOnClaimChallenge(i){const{scopes:d,response:p}=i;const K=i.logger||v.logger;const ee=p.headers.get("WWW-Authenticate");if(!ee){K.info(`The WWW-Authenticate header was missing. Failed to perform the Continuous Access Evaluation authentication flow.`);return false}const te=parseCAEChallenge(ee)||[];const re=te.find((i=>i.claims));if(!re){K.info(`The WWW-Authenticate header was missing the necessary "claims" to perform the Continuous Access Evaluation authentication flow.`);return false}const ne=await i.getAccessToken(re.scope?[re.scope]:d,{claims:(0,V.decodeStringToString)(re.claims)});if(!ne){return false}i.request.headers.set("Authorization",`${ne.tokenType??"Bearer"} ${ne.token}`);return true}},97454:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.authorizeRequestOnTenantChallenge=void 0;const p={DefaultScope:"/.default",HeaderConstants:{AUTHORIZATION:"authorization"}};function isUuid(i){return/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(i)}const authorizeRequestOnTenantChallenge=async i=>{const d=requestToOptions(i.request);const v=getChallenge(i.response);if(v){const V=parseChallenge(v);const K=buildScopes(i,V);const ee=extractTenantId(V);if(!ee){return false}const te=await i.getAccessToken(K,{...d,tenantId:ee});if(!te){return false}i.request.headers.set(p.HeaderConstants.AUTHORIZATION,`${te.tokenType??"Bearer"} ${te.token}`);return true}return false};d.authorizeRequestOnTenantChallenge=authorizeRequestOnTenantChallenge;function extractTenantId(i){const d=new URL(i.authorization_uri);const p=d.pathname.split("/");const v=p[1];if(v&&isUuid(v)){return v}return undefined}function buildScopes(i,d){if(!d.resource_id){return i.scopes}const v=new URL(d.resource_id);v.pathname=p.DefaultScope;let V=v.toString();if(V==="https://disk.azure.com/.default"){V="https://disk.azure.com//.default"}return[V]}function getChallenge(i){const d=i.headers.get("WWW-Authenticate");if(i.status===401&&d){return d}return}function parseChallenge(i){const d=i.slice("Bearer ".length);const p=`${d.trim()} `.split(" ").filter((i=>i));const v=p.map((i=>(([i,d])=>({[i]:d}))(i.trim().split("="))));return v.reduce(((i,d)=>({...i,...d})),{})}function requestToOptions(i){return{abortSignal:i.abortSignal,requestOptions:{timeout:i.timeout},tracingOptions:i.tracingOptions}}},20741:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.encodeString=encodeString;d.encodeByteArray=encodeByteArray;d.decodeString=decodeString;d.decodeStringToString=decodeStringToString;function encodeString(i){return Buffer.from(i).toString("base64")}function encodeByteArray(i){const d=i instanceof Buffer?i:Buffer.from(i.buffer);return d.toString("base64")}function decodeString(i){return Buffer.from(i,"base64")}function decodeStringToString(i){return Buffer.from(i,"base64").toString()}},90111:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.deserializationPolicyName=void 0;d.deserializationPolicy=deserializationPolicy;const v=p(56058);const V=p(20778);const K=p(31530);const ee=p(19688);const te=["application/json","text/json"];const re=["application/xml","application/atom+xml"];d.deserializationPolicyName="deserializationPolicy";function deserializationPolicy(i={}){const p=i.expectedContentTypes?.json??te;const V=i.expectedContentTypes?.xml??re;const K=i.parseXML;const ee=i.serializerOptions;const ne={xml:{rootName:ee?.xml.rootName??"",includeRoot:ee?.xml.includeRoot??false,xmlCharKey:ee?.xml.xmlCharKey??v.XML_CHARKEY}};return{name:d.deserializationPolicyName,async sendRequest(i,d){const v=await d(i);return deserializeResponseBody(p,V,v,ne,K)}}}function getOperationResponseMap(i){let d;const p=i.request;const v=(0,ee.getOperationRequestInfo)(p);const V=v?.operationSpec;if(V){if(!v?.operationResponseGetter){d=V.responses[i.status]}else{d=v?.operationResponseGetter(V,i)}}return d}function shouldDeserializeResponse(i){const d=i.request;const p=(0,ee.getOperationRequestInfo)(d);const v=p?.shouldDeserialize;let V;if(v===undefined){V=true}else if(typeof v==="boolean"){V=v}else{V=v(i)}return V}async function deserializeResponseBody(i,d,p,v,te){const re=await parse(i,d,p,v,te);if(!shouldDeserializeResponse(re)){return re}const ne=(0,ee.getOperationRequestInfo)(re.request);const se=ne?.operationSpec;if(!se||!se.responses){return re}const ie=getOperationResponseMap(re);const{error:oe,shouldReturnResponse:ae}=handleErrorResponse(re,se,ie,v);if(oe){throw oe}else if(ae){return re}if(ie){if(ie.bodyMapper){let i=re.parsedBody;if(se.isXML&&ie.bodyMapper.type.name===K.MapperTypeNames.Sequence){i=typeof i==="object"?i[ie.bodyMapper.xmlElementName]:[]}try{re.parsedBody=se.serializer.deserialize(ie.bodyMapper,i,"operationRes.parsedBody",v)}catch(i){const d=new V.RestError(`Error ${i} occurred in deserializing the responseBody - ${re.bodyAsText}`,{statusCode:re.status,request:re.request,response:re});throw d}}else if(se.httpMethod==="HEAD"){re.parsedBody=p.status>=200&&p.status<300}if(ie.headersMapper){re.parsedHeaders=se.serializer.deserialize(ie.headersMapper,re.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:true})}}return re}function isOperationSpecEmpty(i){const d=Object.keys(i.responses);return d.length===0||d.length===1&&d[0]==="default"}function handleErrorResponse(i,d,p,v){const ee=200<=i.status&&i.status<300;const te=isOperationSpecEmpty(d)?ee:!!p;if(te){if(p){if(!p.isError){return{error:null,shouldReturnResponse:false}}}else{return{error:null,shouldReturnResponse:false}}}const re=p??d.responses.default;const ne=i.request.streamResponseStatusCodes?.has(i.status)?`Unexpected status code: ${i.status}`:i.bodyAsText;const se=new V.RestError(ne,{statusCode:i.status,request:i.request,response:i});if(!re&&!(i.parsedBody?.error?.code&&i.parsedBody?.error?.message)){throw se}const ie=re?.bodyMapper;const oe=re?.headersMapper;try{if(i.parsedBody){const p=i.parsedBody;let V;if(ie){let i=p;if(d.isXML&&ie.type.name===K.MapperTypeNames.Sequence){i=[];const d=ie.xmlElementName;if(typeof p==="object"&&d){i=p[d]}}V=d.serializer.deserialize(ie,i,"error.response.parsedBody",v)}const ee=p.error||V||p;se.code=ee.code;if(ee.message){se.message=ee.message}if(ie){se.response.parsedBody=V}}if(i.headers&&oe){se.response.parsedHeaders=d.serializer.deserialize(oe,i.headers.toJSON(),"operationRes.parsedHeaders")}}catch(d){se.message=`Error "${d.message}" occurred in deserializing the responseBody - "${i.bodyAsText}" for the default response.`}return{error:se,shouldReturnResponse:false}}async function parse(i,d,p,v,K){if(!p.request.streamResponseStatusCodes?.has(p.status)&&p.bodyAsText){const ee=p.bodyAsText;const te=p.headers.get("Content-Type")||"";const re=!te?[]:te.split(";").map((i=>i.toLowerCase()));try{if(re.length===0||re.some((d=>i.indexOf(d)!==-1))){p.parsedBody=JSON.parse(ee);return p}else if(re.some((i=>d.indexOf(i)!==-1))){if(!K){throw new Error("Parsing XML not supported.")}const i=await K(ee,v.xml);p.parsedBody=i;return p}}catch(i){const d=`Error "${i}" occurred while parsing the response body - ${p.bodyAsText}.`;const v=i.code||V.RestError.PARSE_ERROR;const K=new V.RestError(d,{code:v,statusCode:p.status,request:p.request,response:p});throw K}}return p}},26323:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getCachedDefaultHttpClient=getCachedDefaultHttpClient;const v=p(20778);let V;function getCachedDefaultHttpClient(){if(!V){V=(0,v.createDefaultHttpClient)()}return V}},60160:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.authorizeRequestOnTenantChallenge=d.authorizeRequestOnClaimChallenge=d.serializationPolicyName=d.serializationPolicy=d.deserializationPolicyName=d.deserializationPolicy=d.XML_CHARKEY=d.XML_ATTRKEY=d.createClientPipeline=d.ServiceClient=d.MapperTypeNames=d.createSerializer=void 0;var v=p(31530);Object.defineProperty(d,"createSerializer",{enumerable:true,get:function(){return v.createSerializer}});Object.defineProperty(d,"MapperTypeNames",{enumerable:true,get:function(){return v.MapperTypeNames}});var V=p(89544);Object.defineProperty(d,"ServiceClient",{enumerable:true,get:function(){return V.ServiceClient}});var K=p(74136);Object.defineProperty(d,"createClientPipeline",{enumerable:true,get:function(){return K.createClientPipeline}});var ee=p(56058);Object.defineProperty(d,"XML_ATTRKEY",{enumerable:true,get:function(){return ee.XML_ATTRKEY}});Object.defineProperty(d,"XML_CHARKEY",{enumerable:true,get:function(){return ee.XML_CHARKEY}});var te=p(90111);Object.defineProperty(d,"deserializationPolicy",{enumerable:true,get:function(){return te.deserializationPolicy}});Object.defineProperty(d,"deserializationPolicyName",{enumerable:true,get:function(){return te.deserializationPolicyName}});var re=p(56234);Object.defineProperty(d,"serializationPolicy",{enumerable:true,get:function(){return re.serializationPolicy}});Object.defineProperty(d,"serializationPolicyName",{enumerable:true,get:function(){return re.serializationPolicyName}});var ne=p(17698);Object.defineProperty(d,"authorizeRequestOnClaimChallenge",{enumerable:true,get:function(){return ne.authorizeRequestOnClaimChallenge}});var se=p(97454);Object.defineProperty(d,"authorizeRequestOnTenantChallenge",{enumerable:true,get:function(){return se.authorizeRequestOnTenantChallenge}})},92066:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getStreamingResponseStatusCodes=getStreamingResponseStatusCodes;d.getPathStringFromParameter=getPathStringFromParameter;const v=p(31530);function getStreamingResponseStatusCodes(i){const d=new Set;for(const p in i.responses){const V=i.responses[p];if(V.bodyMapper&&V.bodyMapper.type.name===v.MapperTypeNames.Stream){d.add(Number(p))}}return d}function getPathStringFromParameter(i){const{parameterPath:d,mapper:p}=i;let v;if(typeof d==="string"){v=d}else if(Array.isArray(d)){v=d.join(".")}else{v=p.serializedName}return v}},56058:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.XML_CHARKEY=d.XML_ATTRKEY=void 0;d.XML_ATTRKEY="$";d.XML_CHARKEY="_"},89994:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.logger=void 0;const v=p(26515);d.logger=(0,v.createClientLogger)("core-client")},19688:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getOperationArgumentValueFromParameter=getOperationArgumentValueFromParameter;d.getOperationRequestInfo=getOperationRequestInfo;const v=p(33345);function getOperationArgumentValueFromParameter(i,d,p){let v=d.parameterPath;const V=d.mapper;let K;if(typeof v==="string"){v=[v]}if(Array.isArray(v)){if(v.length>0){if(V.isConstant){K=V.defaultValue}else{let d=getPropertyFromParameterPath(i,v);if(!d.propertyFound&&p){d=getPropertyFromParameterPath(p,v)}let ee=false;if(!d.propertyFound){ee=V.required||v[0]==="options"&&v.length===2}K=ee?V.defaultValue:d.propertyValue}}}else{if(V.required){K={}}for(const d in v){const ee=V.type.modelProperties[d];const te=v[d];const re=getOperationArgumentValueFromParameter(i,{parameterPath:te,mapper:ee},p);if(re!==undefined){if(!K){K={}}K[d]=re}}}return K}function getPropertyFromParameterPath(i,d){const p={propertyFound:false};let v=0;for(;v{Object.defineProperty(d,"__esModule",{value:true});d.createClientPipeline=createClientPipeline;const v=p(90111);const V=p(20778);const K=p(56234);function createClientPipeline(i={}){const d=(0,V.createPipelineFromOptions)(i??{});if(i.credentialOptions){d.addPolicy((0,V.bearerTokenAuthenticationPolicy)({credential:i.credentialOptions.credential,scopes:i.credentialOptions.credentialScopes}))}d.addPolicy((0,K.serializationPolicy)(i.serializationOptions),{phase:"Serialize"});d.addPolicy((0,v.deserializationPolicy)(i.deserializationOptions),{phase:"Deserialize"});return d}},56234:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.serializationPolicyName=void 0;d.serializationPolicy=serializationPolicy;d.serializeHeaders=serializeHeaders;d.serializeRequestBody=serializeRequestBody;const v=p(56058);const V=p(19688);const K=p(31530);const ee=p(92066);d.serializationPolicyName="serializationPolicy";function serializationPolicy(i={}){const p=i.stringifyXML;return{name:d.serializationPolicyName,async sendRequest(i,d){const v=(0,V.getOperationRequestInfo)(i);const K=v?.operationSpec;const ee=v?.operationArguments;if(K&&ee){serializeHeaders(i,ee,K);serializeRequestBody(i,ee,K,p)}return d(i)}}}function serializeHeaders(i,d,p){if(p.headerParameters){for(const v of p.headerParameters){let K=(0,V.getOperationArgumentValueFromParameter)(d,v);if(K!==null&&K!==undefined||v.mapper.required){K=p.serializer.serialize(v.mapper,K,(0,ee.getPathStringFromParameter)(v));const d=v.mapper.headerCollectionPrefix;if(d){for(const p of Object.keys(K)){i.headers.set(d+p,K[p])}}else{i.headers.set(v.mapper.serializedName||(0,ee.getPathStringFromParameter)(v),K)}}}}const v=d.options?.requestOptions?.customHeaders;if(v){for(const d of Object.keys(v)){i.headers.set(d,v[d])}}}function serializeRequestBody(i,d,p,te=function(){throw new Error("XML serialization unsupported!")}){const re=d.options?.serializerOptions;const ne={xml:{rootName:re?.xml.rootName??"",includeRoot:re?.xml.includeRoot??false,xmlCharKey:re?.xml.xmlCharKey??v.XML_CHARKEY}};const se=ne.xml.xmlCharKey;if(p.requestBody&&p.requestBody.mapper){i.body=(0,V.getOperationArgumentValueFromParameter)(d,p.requestBody);const v=p.requestBody.mapper;const{required:re,serializedName:ie,xmlName:oe,xmlElementName:ae,xmlNamespace:Ae,xmlNamespacePrefix:ce,nullable:le}=v;const ue=v.type.name;try{if(i.body!==undefined&&i.body!==null||le&&i.body===null||re){const d=(0,ee.getPathStringFromParameter)(p.requestBody);i.body=p.serializer.serialize(v,i.body,d,ne);const V=ue===K.MapperTypeNames.Stream;if(p.isXML){const d=ce?`xmlns:${ce}`:"xmlns";const p=getXmlValueWithNamespace(Ae,d,ue,i.body,ne);if(ue===K.MapperTypeNames.Sequence){i.body=te(prepareXMLRootList(p,ae||oe||ie,d,Ae),{rootName:oe||ie,xmlCharKey:se})}else if(!V){i.body=te(p,{rootName:oe||ie,xmlCharKey:se})}}else if(ue===K.MapperTypeNames.String&&(p.contentType?.match("text/plain")||p.mediaType==="text")){return}else if(!V){i.body=JSON.stringify(i.body)}}}catch(i){throw new Error(`Error "${i.message}" occurred in serializing the payload - ${JSON.stringify(ie,undefined," ")}.`)}}else if(p.formDataParameters&&p.formDataParameters.length>0){i.formData={};for(const v of p.formDataParameters){const K=(0,V.getOperationArgumentValueFromParameter)(d,v);if(K!==undefined&&K!==null){const d=v.mapper.serializedName||(0,ee.getPathStringFromParameter)(v);i.formData[d]=p.serializer.serialize(v.mapper,K,(0,ee.getPathStringFromParameter)(v),ne)}}}}function getXmlValueWithNamespace(i,d,p,V,K){if(i&&!["Composite","Sequence","Dictionary"].includes(p)){const p={};p[K.xml.xmlCharKey]=V;p[v.XML_ATTRKEY]={[d]:i};return p}return V}function prepareXMLRootList(i,d,p,V){if(!Array.isArray(i)){i=[i]}if(!p||!V){return{[d]:i}}const K={[d]:i};K[v.XML_ATTRKEY]={[p]:V};return K}},31530:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.MapperTypeNames=void 0;d.createSerializer=createSerializer;const v=p(61860);const V=v.__importStar(p(20741));const K=p(56058);const ee=p(31193);class SerializerImpl{modelMappers;isXML;constructor(i={},d=false){this.modelMappers=i;this.isXML=d}validateConstraints(i,d,p){const failValidation=(i,v)=>{throw new Error(`"${p}" with value "${d}" should satisfy the constraint "${i}": ${v}.`)};if(i.constraints&&d!==undefined&&d!==null){const{ExclusiveMaximum:p,ExclusiveMinimum:v,InclusiveMaximum:V,InclusiveMinimum:K,MaxItems:ee,MaxLength:te,MinItems:re,MinLength:ne,MultipleOf:se,Pattern:ie,UniqueItems:oe}=i.constraints;if(p!==undefined&&d>=p){failValidation("ExclusiveMaximum",p)}if(v!==undefined&&d<=v){failValidation("ExclusiveMinimum",v)}if(V!==undefined&&d>V){failValidation("InclusiveMaximum",V)}if(K!==undefined&&dee){failValidation("MaxItems",ee)}if(te!==undefined&&d.length>te){failValidation("MaxLength",te)}if(re!==undefined&&d.lengthp.indexOf(i)!==d))){failValidation("UniqueItems",oe)}}}serialize(i,d,p,v={xml:{}}){const V={xml:{rootName:v.xml.rootName??"",includeRoot:v.xml.includeRoot??false,xmlCharKey:v.xml.xmlCharKey??K.XML_CHARKEY}};let ee={};const te=i.type.name;if(!p){p=i.serializedName}if(te.match(/^Sequence$/i)!==null){ee=[]}if(i.isConstant){d=i.defaultValue}const{required:re,nullable:ne}=i;if(re&&ne&&d===undefined){throw new Error(`${p} cannot be undefined.`)}if(re&&!ne&&(d===undefined||d===null)){throw new Error(`${p} cannot be null or undefined.`)}if(!re&&ne===false&&d===null){throw new Error(`${p} cannot be null.`)}if(d===undefined||d===null){ee=d}else{if(te.match(/^any$/i)!==null){ee=d}else if(te.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)!==null){ee=serializeBasicTypes(te,p,d)}else if(te.match(/^Enum$/i)!==null){const v=i;ee=serializeEnumType(p,v.type.allowedValues,d)}else if(te.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)!==null){ee=serializeDateTypes(te,d,p)}else if(te.match(/^ByteArray$/i)!==null){ee=serializeByteArrayType(p,d)}else if(te.match(/^Base64Url$/i)!==null){ee=serializeBase64UrlType(p,d)}else if(te.match(/^Sequence$/i)!==null){ee=serializeSequenceType(this,i,d,p,Boolean(this.isXML),V)}else if(te.match(/^Dictionary$/i)!==null){ee=serializeDictionaryType(this,i,d,p,Boolean(this.isXML),V)}else if(te.match(/^Composite$/i)!==null){ee=serializeCompositeType(this,i,d,p,Boolean(this.isXML),V)}}return ee}deserialize(i,d,p,v={xml:{}}){const ee={xml:{rootName:v.xml.rootName??"",includeRoot:v.xml.includeRoot??false,xmlCharKey:v.xml.xmlCharKey??K.XML_CHARKEY},ignoreUnknownProperties:v.ignoreUnknownProperties??false};if(d===undefined||d===null){if(this.isXML&&i.type.name==="Sequence"&&!i.xmlIsWrapped){d=[]}if(i.defaultValue!==undefined){d=i.defaultValue}return d}let te;const re=i.type.name;if(!p){p=i.serializedName}if(re.match(/^Composite$/i)!==null){te=deserializeCompositeType(this,i,d,p,ee)}else{if(this.isXML){const i=ee.xml.xmlCharKey;if(d[K.XML_ATTRKEY]!==undefined&&d[i]!==undefined){d=d[i]}}if(re.match(/^Number$/i)!==null){te=parseFloat(d);if(isNaN(te)){te=d}}else if(re.match(/^Boolean$/i)!==null){if(d==="true"){te=true}else if(d==="false"){te=false}else{te=d}}else if(re.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)!==null){te=d}else if(re.match(/^(Date|DateTime|DateTimeRfc1123)$/i)!==null){te=new Date(d)}else if(re.match(/^UnixTime$/i)!==null){te=unixTimeToDate(d)}else if(re.match(/^ByteArray$/i)!==null){te=V.decodeString(d)}else if(re.match(/^Base64Url$/i)!==null){te=base64UrlToByteArray(d)}else if(re.match(/^Sequence$/i)!==null){te=deserializeSequenceType(this,i,d,p,ee)}else if(re.match(/^Dictionary$/i)!==null){te=deserializeDictionaryType(this,i,d,p,ee)}}if(i.isConstant){te=i.defaultValue}return te}}function createSerializer(i={},d=false){return new SerializerImpl(i,d)}function trimEnd(i,d){let p=i.length;while(p-1>=0&&i[p-1]===d){--p}return i.substr(0,p)}function bufferToBase64Url(i){if(!i){return undefined}if(!(i instanceof Uint8Array)){throw new Error(`Please provide an input of type Uint8Array for converting to Base64Url.`)}const d=V.encodeByteArray(i);return trimEnd(d,"=").replace(/\+/g,"-").replace(/\//g,"_")}function base64UrlToByteArray(i){if(!i){return undefined}if(i&&typeof i.valueOf()!=="string"){throw new Error("Please provide an input of type string for converting to Uint8Array")}i=i.replace(/-/g,"+").replace(/_/g,"/");return V.decodeString(i)}function splitSerializeName(i){const d=[];let p="";if(i){const v=i.split(".");for(const i of v){if(i.charAt(i.length-1)==="\\"){p+=i.substr(0,i.length-1)+"."}else{p+=i;d.push(p);p=""}}}return d}function dateToUnixTime(i){if(!i){return undefined}if(typeof i.valueOf()==="string"){i=new Date(i)}return Math.floor(i.getTime()/1e3)}function unixTimeToDate(i){if(!i){return undefined}return new Date(i*1e3)}function serializeBasicTypes(i,d,p){if(p!==null&&p!==undefined){if(i.match(/^Number$/i)!==null){if(typeof p!=="number"){throw new Error(`${d} with value ${p} must be of type number.`)}}else if(i.match(/^String$/i)!==null){if(typeof p.valueOf()!=="string"){throw new Error(`${d} with value "${p}" must be of type string.`)}}else if(i.match(/^Uuid$/i)!==null){if(!(typeof p.valueOf()==="string"&&(0,ee.isValidUuid)(p))){throw new Error(`${d} with value "${p}" must be of type string and a valid uuid.`)}}else if(i.match(/^Boolean$/i)!==null){if(typeof p!=="boolean"){throw new Error(`${d} with value ${p} must be of type boolean.`)}}else if(i.match(/^Stream$/i)!==null){const i=typeof p;if(i!=="string"&&typeof p.pipe!=="function"&&typeof p.tee!=="function"&&!(p instanceof ArrayBuffer)&&!ArrayBuffer.isView(p)&&!((typeof Blob==="function"||typeof Blob==="object")&&p instanceof Blob)&&i!=="function"){throw new Error(`${d} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}}return p}function serializeEnumType(i,d,p){if(!d){throw new Error(`Please provide a set of allowedValues to validate ${i} as an Enum Type.`)}const v=d.some((i=>{if(typeof i.valueOf()==="string"){return i.toLowerCase()===p.toLowerCase()}return i===p}));if(!v){throw new Error(`${p} is not a valid value for ${i}. The valid values are: ${JSON.stringify(d)}.`)}return p}function serializeByteArrayType(i,d){if(d!==undefined&&d!==null){if(!(d instanceof Uint8Array)){throw new Error(`${i} must be of type Uint8Array.`)}d=V.encodeByteArray(d)}return d}function serializeBase64UrlType(i,d){if(d!==undefined&&d!==null){if(!(d instanceof Uint8Array)){throw new Error(`${i} must be of type Uint8Array.`)}d=bufferToBase64Url(d)}return d}function serializeDateTypes(i,d,p){if(d!==undefined&&d!==null){if(i.match(/^Date$/i)!==null){if(!(d instanceof Date||typeof d.valueOf()==="string"&&!isNaN(Date.parse(d)))){throw new Error(`${p} must be an instanceof Date or a string in ISO8601 format.`)}d=d instanceof Date?d.toISOString().substring(0,10):new Date(d).toISOString().substring(0,10)}else if(i.match(/^DateTime$/i)!==null){if(!(d instanceof Date||typeof d.valueOf()==="string"&&!isNaN(Date.parse(d)))){throw new Error(`${p} must be an instanceof Date or a string in ISO8601 format.`)}d=d instanceof Date?d.toISOString():new Date(d).toISOString()}else if(i.match(/^DateTimeRfc1123$/i)!==null){if(!(d instanceof Date||typeof d.valueOf()==="string"&&!isNaN(Date.parse(d)))){throw new Error(`${p} must be an instanceof Date or a string in RFC-1123 format.`)}d=d instanceof Date?d.toUTCString():new Date(d).toUTCString()}else if(i.match(/^UnixTime$/i)!==null){if(!(d instanceof Date||typeof d.valueOf()==="string"&&!isNaN(Date.parse(d)))){throw new Error(`${p} must be an instanceof Date or a string in RFC-1123/ISO8601 format `+`for it to be serialized in UnixTime/Epoch format.`)}d=dateToUnixTime(d)}else if(i.match(/^TimeSpan$/i)!==null){if(!(0,ee.isDuration)(d)){throw new Error(`${p} must be a string in ISO 8601 format. Instead was "${d}".`)}}}return d}function serializeSequenceType(i,d,p,v,V,ee){if(!Array.isArray(p)){throw new Error(`${v} must be of type Array.`)}let te=d.type.element;if(!te||typeof te!=="object"){throw new Error(`element" metadata for an Array must be defined in the `+`mapper and it must of type "object" in ${v}.`)}if(te.type.name==="Composite"&&te.type.className){te=i.modelMappers[te.type.className]??te}const re=[];for(let d=0;di!==V));if(K){te[V]=i.serialize(ne,p[V],v+'["'+V+'"]',ee)}}}return te}return p}function getXmlObjectValue(i,d,p,v){if(!p||!i.xmlNamespace){return d}const V=i.xmlNamespacePrefix?`xmlns:${i.xmlNamespacePrefix}`:"xmlns";const ee={[V]:i.xmlNamespace};if(["Composite"].includes(i.type.name)){if(d[K.XML_ATTRKEY]){return d}else{const i={...d};i[K.XML_ATTRKEY]=ee;return i}}const te={};te[v.xml.xmlCharKey]=d;te[K.XML_ATTRKEY]=ee;return te}function isSpecialXmlProperty(i,d){return[K.XML_ATTRKEY,d.xml.xmlCharKey].includes(i)}function deserializeCompositeType(i,d,p,v,V){const ee=V.xml.xmlCharKey??K.XML_CHARKEY;if(getPolymorphicDiscriminatorRecursively(i,d)){d=getPolymorphicMapper(i,d,p,"serializedName")}const te=resolveModelProperties(i,d,v);let re={};const ne=[];for(const se of Object.keys(te)){const ie=te[se];const oe=splitSerializeName(te[se].serializedName);ne.push(oe[0]);const{serializedName:ae,xmlName:Ae,xmlElementName:ce}=ie;let le=v;if(ae!==""&&ae!==undefined){le=v+"."+ae}const ue=ie.headerCollectionPrefix;if(ue){const d={};for(const v of Object.keys(p)){if(v.startsWith(ue)){d[v.substring(ue.length)]=i.deserialize(ie.type.value,p[v],le,V)}ne.push(v)}re[se]=d}else if(i.isXML){if(ie.xmlIsAttribute&&p[K.XML_ATTRKEY]){re[se]=i.deserialize(ie,p[K.XML_ATTRKEY][Ae],le,V)}else if(ie.xmlIsMsText){if(p[ee]!==undefined){re[se]=p[ee]}else if(typeof p==="string"){re[se]=p}}else{const d=ce||Ae||ae;if(ie.xmlIsWrapped){const d=p[Ae];const v=d?.[ce]??[];re[se]=i.deserialize(ie,v,le,V);ne.push(Ae)}else{const v=p[d];re[se]=i.deserialize(ie,v,le,V);ne.push(d)}}}else{let v;let K=p;let ee=0;for(const i of oe){if(!K)break;ee++;K=K[i]}if(K===null&&ee{for(const d in te){const p=splitSerializeName(te[d].serializedName);if(p[0]===i){return false}}return true};for(const d in p){if(isAdditionalProperty(d)){re[d]=i.deserialize(se,p[d],v+'["'+d+'"]',V)}}}else if(p&&!V.ignoreUnknownProperties){for(const i of Object.keys(p)){if(re[i]===undefined&&!ne.includes(i)&&!isSpecialXmlProperty(i,V)){re[i]=p[i]}}}return re}function deserializeDictionaryType(i,d,p,v,V){const K=d.type.value;if(!K||typeof K!=="object"){throw new Error(`"value" metadata for a Dictionary must be defined in the `+`mapper and it must of type "object" in ${v}`)}if(p){const d={};for(const ee of Object.keys(p)){d[ee]=i.deserialize(K,p[ee],v,V)}return d}return p}function deserializeSequenceType(i,d,p,v,V){let K=d.type.element;if(!K||typeof K!=="object"){throw new Error(`element" metadata for an Array must be defined in the `+`mapper and it must of type "object" in ${v}`)}if(p){if(!Array.isArray(p)){p=[p]}if(K.type.name==="Composite"&&K.type.className){K=i.modelMappers[K.type.className]??K}const d=[];for(let ee=0;ee{Object.defineProperty(d,"__esModule",{value:true});d.ServiceClient=void 0;const v=p(20778);const V=p(74136);const K=p(31193);const ee=p(26323);const te=p(19688);const re=p(61752);const ne=p(92066);const se=p(89994);class ServiceClient{_endpoint;_requestContentType;_allowInsecureConnection;_httpClient;pipeline;constructor(i={}){this._requestContentType=i.requestContentType;this._endpoint=i.endpoint??i.baseUri;if(i.baseUri){se.logger.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead.")}this._allowInsecureConnection=i.allowInsecureConnection;this._httpClient=i.httpClient||(0,ee.getCachedDefaultHttpClient)();this.pipeline=i.pipeline||createDefaultPipeline(i);if(i.additionalPolicies?.length){for(const{policy:d,position:p}of i.additionalPolicies){const i=p==="perRetry"?"Sign":undefined;this.pipeline.addPolicy(d,{afterPhase:i})}}}async sendRequest(i){return this.pipeline.sendRequest(this._httpClient,i)}async sendOperationRequest(i,d){const p=d.baseUrl||this._endpoint;if(!p){throw new Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a endpoint string property that contains the base URL to use.")}const V=(0,re.getRequestUrl)(p,d,i,this);const ee=(0,v.createPipelineRequest)({url:V});ee.method=d.httpMethod;const se=(0,te.getOperationRequestInfo)(ee);se.operationSpec=d;se.operationArguments=i;const ie=d.contentType||this._requestContentType;if(ie&&d.requestBody){ee.headers.set("Content-Type",ie)}const oe=i.options;if(oe){const i=oe.requestOptions;if(i){if(i.timeout){ee.timeout=i.timeout}if(i.onUploadProgress){ee.onUploadProgress=i.onUploadProgress}if(i.onDownloadProgress){ee.onDownloadProgress=i.onDownloadProgress}if(i.shouldDeserialize!==undefined){se.shouldDeserialize=i.shouldDeserialize}if(i.allowInsecureConnection){ee.allowInsecureConnection=true}}if(oe.abortSignal){ee.abortSignal=oe.abortSignal}if(oe.tracingOptions){ee.tracingOptions=oe.tracingOptions}}if(this._allowInsecureConnection){ee.allowInsecureConnection=true}if(ee.streamResponseStatusCodes===undefined){ee.streamResponseStatusCodes=(0,ne.getStreamingResponseStatusCodes)(d)}try{const i=await this.sendRequest(ee);const p=(0,K.flattenResponse)(i,d.responses[i.status]);if(oe?.onResponse){oe.onResponse(i,p)}return p}catch(i){if(typeof i==="object"&&i?.response){const p=i.response;const v=(0,K.flattenResponse)(p,d.responses[i.statusCode]||d.responses["default"]);i.details=v;if(oe?.onResponse){oe.onResponse(p,v,i)}}throw i}}}d.ServiceClient=ServiceClient;function createDefaultPipeline(i){const d=getCredentialScopes(i);const p=i.credential&&d?{credentialScopes:d,credential:i.credential}:undefined;return(0,V.createClientPipeline)({...i,credentialOptions:p})}function getCredentialScopes(i){if(i.credentialScopes){return i.credentialScopes}if(i.endpoint){return`${i.endpoint}/.default`}if(i.baseUri){return`${i.baseUri}/.default`}if(i.credential&&!i.credentialScopes){throw new Error(`When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy`)}return undefined}},33345:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.state=void 0;d.state={operationRequestMap:new WeakMap}},61752:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getRequestUrl=getRequestUrl;d.appendQueryParams=appendQueryParams;const v=p(19688);const V=p(92066);const K={CSV:",",SSV:" ",Multi:"Multi",TSV:"\t",Pipes:"|"};function getRequestUrl(i,d,p,v){const V=calculateUrlReplacements(d,p,v);let K=false;let ee=replaceAll(i,V);if(d.path){let i=replaceAll(d.path,V);if(d.path==="/{nextLink}"&&i.startsWith("/")){i=i.substring(1)}if(isAbsoluteUrl(i)){ee=i;K=true}else{ee=appendPath(ee,i)}}const{queryParams:te,sequenceParams:re}=calculateQueryParameters(d,p,v);ee=appendQueryParams(ee,te,re,K);return ee}function replaceAll(i,d){let p=i;for(const[i,v]of d){p=p.split(i).join(v)}return p}function calculateUrlReplacements(i,d,p){const K=new Map;if(i.urlParameters?.length){for(const ee of i.urlParameters){let te=(0,v.getOperationArgumentValueFromParameter)(d,ee,p);const re=(0,V.getPathStringFromParameter)(ee);te=i.serializer.serialize(ee.mapper,te,re);if(!ee.skipEncoding){te=encodeURIComponent(te)}K.set(`{${ee.mapper.serializedName||re}}`,te)}}return K}function isAbsoluteUrl(i){return i.includes("://")}function appendPath(i,d){if(!d){return i}const p=new URL(i);let v=p.pathname;if(!v.endsWith("/")){v=`${v}/`}if(d.startsWith("/")){d=d.substring(1)}const V=d.indexOf("?");if(V!==-1){const i=d.substring(0,V);const K=d.substring(V+1);v=v+i;if(K){p.search=p.search?`${p.search}&${K}`:K}}else{v=v+d}p.pathname=v;return p.toString()}function calculateQueryParameters(i,d,p){const ee=new Map;const te=new Set;if(i.queryParameters?.length){for(const re of i.queryParameters){if(re.mapper.type.name==="Sequence"&&re.mapper.serializedName){te.add(re.mapper.serializedName)}let ne=(0,v.getOperationArgumentValueFromParameter)(d,re,p);if(ne!==undefined&&ne!==null||re.mapper.required){ne=i.serializer.serialize(re.mapper,ne,(0,V.getPathStringFromParameter)(re));const d=re.collectionFormat?K[re.collectionFormat]:"";if(Array.isArray(ne)){ne=ne.map((i=>{if(i===null||i===undefined){return""}return i}))}if(re.collectionFormat==="Multi"&&ne.length===0){continue}else if(Array.isArray(ne)&&(re.collectionFormat==="SSV"||re.collectionFormat==="TSV")){ne=ne.join(d)}if(!re.skipEncoding){if(Array.isArray(ne)){ne=ne.map((i=>encodeURIComponent(i)))}else{ne=encodeURIComponent(ne)}}if(Array.isArray(ne)&&(re.collectionFormat==="CSV"||re.collectionFormat==="Pipes")){ne=ne.join(d)}ee.set(re.mapper.serializedName||(0,V.getPathStringFromParameter)(re),ne)}}}return{queryParams:ee,sequenceParams:te}}function simpleParseQueryParams(i){const d=new Map;if(!i||i[0]!=="?"){return d}i=i.slice(1);const p=i.split("&");for(const i of p){const[p,v]=i.split("=",2);const V=d.get(p);if(V){if(Array.isArray(V)){V.push(v)}else{d.set(p,[V,v])}}else{d.set(p,v)}}return d}function appendQueryParams(i,d,p,v=false){if(d.size===0){return i}const V=new URL(i);const K=simpleParseQueryParams(V.search);for(const[i,V]of d){const d=K.get(i);if(Array.isArray(d)){if(Array.isArray(V)){d.push(...V);const p=new Set(d);K.set(i,Array.from(p))}else{d.push(V)}}else if(d){if(Array.isArray(V)){V.unshift(d)}else if(p.has(i)){K.set(i,[d,V])}if(!v){K.set(i,V)}}else{K.set(i,V)}}const ee=[];for(const[i,d]of K){if(typeof d==="string"){ee.push(`${i}=${d}`)}else if(Array.isArray(d)){for(const p of d){ee.push(`${i}=${p}`)}}else{ee.push(`${i}=${d}`)}}V.search=ee.length?`?${ee.join("&")}`:"";return V.toString()}},31193:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.isPrimitiveBody=isPrimitiveBody;d.isDuration=isDuration;d.isValidUuid=isValidUuid;d.flattenResponse=flattenResponse;function isPrimitiveBody(i,d){return d!=="Composite"&&d!=="Dictionary"&&(typeof i==="string"||typeof i==="number"||typeof i==="boolean"||d?.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i)!==null||i===undefined||i===null)}const p=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function isDuration(i){return p.test(i)}const v=/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i;function isValidUuid(i){return v.test(i)}function handleNullableResponseAndWrappableBody(i){const d={...i.headers,...i.body};if(i.hasNullableType&&Object.getOwnPropertyNames(d).length===0){return i.shouldWrapBody?{body:null}:null}else{return i.shouldWrapBody?{...i.headers,body:i.body}:d}}function flattenResponse(i,d){const p=i.parsedHeaders;if(i.request.method==="HEAD"){return{...p,body:i.parsedBody}}const v=d&&d.bodyMapper;const V=Boolean(v?.nullable);const K=v?.type.name;if(K==="Stream"){return{...p,blobBody:i.blobBody,readableStreamBody:i.readableStreamBody}}const ee=K==="Composite"&&v.type.modelProperties||{};const te=Object.keys(ee).some((i=>ee[i].serializedName===""));if(K==="Sequence"||te){const d=i.parsedBody??[];for(const p of Object.keys(ee)){if(ee[p].serializedName){d[p]=i.parsedBody?.[p]}}if(p){for(const i of Object.keys(p)){d[i]=p[i]}}return V&&!i.parsedBody&&!p&&Object.getOwnPropertyNames(ee).length===0?null:d}return handleNullableResponseAndWrappableBody({body:i.parsedBody,headers:p,hasNullableType:V,shouldWrapBody:isPrimitiveBody(i.parsedBody,K)})}},95492:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ExtendedServiceClient=void 0;const v=p(32639);const V=p(20778);const K=p(60160);const ee=p(38153);class ExtendedServiceClient extends K.ServiceClient{constructor(i){super(i);if(i.keepAliveOptions?.enable===false&&!(0,v.pipelineContainsDisableKeepAlivePolicy)(this.pipeline)){this.pipeline.addPolicy((0,v.createDisableKeepAlivePolicy)())}if(i.redirectOptions?.handleRedirects===false){this.pipeline.removePolicy({name:V.redirectPolicyName})}}async sendOperationRequest(i,d){const p=i?.options?.onResponse;let v;function onResponse(i,d,V){v=i;if(p){p(i,d,V)}}i.options={...i.options,onResponse:onResponse};const V=await super.sendOperationRequest(i,d);if(v){Object.defineProperty(V,"_response",{value:(0,ee.toCompatResponse)(v)})}return V}}d.ExtendedServiceClient=ExtendedServiceClient},2078:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.convertHttpClient=convertHttpClient;const v=p(38153);const V=p(33850);function convertHttpClient(i){return{sendRequest:async d=>{const p=await i.sendRequest((0,V.toWebResourceLike)(d,{createProxy:true}));return(0,v.toPipelineResponse)(p)}}}},61584:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.toHttpHeadersLike=d.convertHttpClient=d.disableKeepAlivePolicyName=d.HttpPipelineLogLevel=d.createRequestPolicyFactoryPolicy=d.requestPolicyFactoryPolicyName=d.ExtendedServiceClient=void 0;var v=p(95492);Object.defineProperty(d,"ExtendedServiceClient",{enumerable:true,get:function(){return v.ExtendedServiceClient}});var V=p(3466);Object.defineProperty(d,"requestPolicyFactoryPolicyName",{enumerable:true,get:function(){return V.requestPolicyFactoryPolicyName}});Object.defineProperty(d,"createRequestPolicyFactoryPolicy",{enumerable:true,get:function(){return V.createRequestPolicyFactoryPolicy}});Object.defineProperty(d,"HttpPipelineLogLevel",{enumerable:true,get:function(){return V.HttpPipelineLogLevel}});var K=p(32639);Object.defineProperty(d,"disableKeepAlivePolicyName",{enumerable:true,get:function(){return K.disableKeepAlivePolicyName}});var ee=p(2078);Object.defineProperty(d,"convertHttpClient",{enumerable:true,get:function(){return ee.convertHttpClient}});var te=p(33850);Object.defineProperty(d,"toHttpHeadersLike",{enumerable:true,get:function(){return te.toHttpHeadersLike}})},32639:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.disableKeepAlivePolicyName=void 0;d.createDisableKeepAlivePolicy=createDisableKeepAlivePolicy;d.pipelineContainsDisableKeepAlivePolicy=pipelineContainsDisableKeepAlivePolicy;d.disableKeepAlivePolicyName="DisableKeepAlivePolicy";function createDisableKeepAlivePolicy(){return{name:d.disableKeepAlivePolicyName,async sendRequest(i,d){i.disableKeepAlive=true;return d(i)}}}function pipelineContainsDisableKeepAlivePolicy(i){return i.getOrderedPolicies().some((i=>i.name===d.disableKeepAlivePolicyName))}},3466:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.requestPolicyFactoryPolicyName=d.HttpPipelineLogLevel=void 0;d.createRequestPolicyFactoryPolicy=createRequestPolicyFactoryPolicy;const v=p(33850);const V=p(38153);var K;(function(i){i[i["ERROR"]=1]="ERROR";i[i["INFO"]=3]="INFO";i[i["OFF"]=0]="OFF";i[i["WARNING"]=2]="WARNING"})(K||(d.HttpPipelineLogLevel=K={}));const ee={log(i,d){},shouldLog(i){return false}};d.requestPolicyFactoryPolicyName="RequestPolicyFactoryPolicy";function createRequestPolicyFactoryPolicy(i){const p=i.slice().reverse();return{name:d.requestPolicyFactoryPolicyName,async sendRequest(i,d){let K={async sendRequest(i){const p=await d((0,v.toPipelineRequest)(i));return(0,V.toCompatResponse)(p,{createProxy:true})}};for(const i of p){K=i.create(K,ee)}const te=(0,v.toWebResourceLike)(i,{createProxy:true});const re=await K.sendRequest(te);return(0,V.toPipelineResponse)(re)}}}},38153:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.toCompatResponse=toCompatResponse;d.toPipelineResponse=toPipelineResponse;const v=p(20778);const V=p(33850);const K=Symbol("Original FullOperationResponse");function toCompatResponse(i,d){let p=(0,V.toWebResourceLike)(i.request);let v=(0,V.toHttpHeadersLike)(i.headers);if(d?.createProxy){return new Proxy(i,{get(d,V,ee){if(V==="headers"){return v}else if(V==="request"){return p}else if(V===K){return i}return Reflect.get(d,V,ee)},set(i,d,V,K){if(d==="headers"){v=V}else if(d==="request"){p=V}return Reflect.set(i,d,V,K)}})}else{return{...i,request:p,headers:v}}}function toPipelineResponse(i){const d=i;const p=d[K];const ee=(0,v.createHttpHeaders)(i.headers.toJson({preserveCase:true}));if(p){p.headers=ee;return p}else{return{...i,headers:ee,request:(0,V.toPipelineRequest)(i.request)}}}},33850:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.HttpHeaders=void 0;d.toPipelineRequest=toPipelineRequest;d.toWebResourceLike=toWebResourceLike;d.toHttpHeadersLike=toHttpHeadersLike;const v=p(20778);const V=Symbol("Original PipelineRequest");const K=Symbol.for("@azure/core-client original request");function toPipelineRequest(i,d={}){const p=i;const ee=p[V];const te=(0,v.createHttpHeaders)(i.headers.toJson({preserveCase:true}));if(ee){ee.headers=te;return ee}else{const p=(0,v.createPipelineRequest)({url:i.url,method:i.method,headers:te,withCredentials:i.withCredentials,timeout:i.timeout,requestId:i.requestId,abortSignal:i.abortSignal,body:i.body,formData:i.formData,disableKeepAlive:!!i.keepAlive,onDownloadProgress:i.onDownloadProgress,onUploadProgress:i.onUploadProgress,proxySettings:i.proxySettings,streamResponseStatusCodes:i.streamResponseStatusCodes,agent:i.agent,requestOverrides:i.requestOverrides});if(d.originalRequest){p[K]=d.originalRequest}return p}}function toWebResourceLike(i,d){const p=d?.originalRequest??i;const v={url:i.url,method:i.method,headers:toHttpHeadersLike(i.headers),withCredentials:i.withCredentials,timeout:i.timeout,requestId:i.headers.get("x-ms-client-request-id")||i.requestId,abortSignal:i.abortSignal,body:i.body,formData:i.formData,keepAlive:!!i.disableKeepAlive,onDownloadProgress:i.onDownloadProgress,onUploadProgress:i.onUploadProgress,proxySettings:i.proxySettings,streamResponseStatusCodes:i.streamResponseStatusCodes,agent:i.agent,requestOverrides:i.requestOverrides,clone(){throw new Error("Cannot clone a non-proxied WebResourceLike")},prepare(){throw new Error("WebResourceLike.prepare() is not supported by @azure/core-http-compat")},validateRequestProperties(){}};if(d?.createProxy){return new Proxy(v,{get(d,K,ee){if(K===V){return i}else if(K==="clone"){return()=>toWebResourceLike(toPipelineRequest(v,{originalRequest:p}),{createProxy:true,originalRequest:p})}return Reflect.get(d,K,ee)},set(d,p,v,V){if(p==="keepAlive"){i.disableKeepAlive=!v}const K=["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"];if(typeof p==="string"&&K.includes(p)){i[p]=v}return Reflect.set(d,p,v,V)}})}else{return v}}function toHttpHeadersLike(i){return new HttpHeaders(i.toJSON({preserveCase:true}))}function getHeaderKey(i){return i.toLowerCase()}class HttpHeaders{_headersMap;constructor(i){this._headersMap={};if(i){for(const d in i){this.set(d,i[d])}}}set(i,d){this._headersMap[getHeaderKey(i)]={name:i,value:d.toString()}}get(i){const d=this._headersMap[getHeaderKey(i)];return!d?undefined:d.value}contains(i){return!!this._headersMap[getHeaderKey(i)]}remove(i){const d=this.contains(i);delete this._headersMap[getHeaderKey(i)];return d}rawHeaders(){return this.toJson({preserveCase:true})}headersArray(){const i=[];for(const d in this._headersMap){i.push(this._headersMap[d])}return i}headerNames(){const i=[];const d=this.headersArray();for(let p=0;p{Object.defineProperty(d,"__esModule",{value:true});d.DEFAULT_RETRY_POLICY_COUNT=d.SDK_VERSION=void 0;d.SDK_VERSION="1.22.2";d.DEFAULT_RETRY_POLICY_COUNT=3},90862:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createPipelineFromOptions=createPipelineFromOptions;const v=p(53253);const V=p(29590);const K=p(64087);const ee=p(32799);const te=p(45807);const re=p(39295);const ne=p(48170);const se=p(75497);const ie=p(87779);const oe=p(32815);const ae=p(95686);const Ae=p(18554);const ce=p(75798);const le=p(93237);const ue=p(37466);function createPipelineFromOptions(i){const d=(0,V.createEmptyPipeline)();if(ie.isNodeLike){if(i.agent){d.addPolicy((0,Ae.agentPolicy)(i.agent))}if(i.tlsOptions){d.addPolicy((0,ce.tlsPolicy)(i.tlsOptions))}d.addPolicy((0,oe.proxyPolicy)(i.proxyOptions));d.addPolicy((0,re.decompressResponsePolicy)())}d.addPolicy((0,ue.wrapAbortSignalLikePolicy)());d.addPolicy((0,se.formDataPolicy)(),{beforePolicies:[te.multipartPolicyName]});d.addPolicy((0,ee.userAgentPolicy)(i.userAgentOptions));d.addPolicy((0,ae.setClientRequestIdPolicy)(i.telemetryOptions?.clientRequestIdHeaderName));d.addPolicy((0,te.multipartPolicy)(),{afterPhase:"Deserialize"});d.addPolicy((0,ne.defaultRetryPolicy)(i.retryOptions),{phase:"Retry"});d.addPolicy((0,le.tracingPolicy)({...i.userAgentOptions,...i.loggingOptions}),{afterPhase:"Retry"});if(ie.isNodeLike){d.addPolicy((0,K.redirectPolicy)(i.redirectOptions),{afterPhase:"Retry"})}d.addPolicy((0,v.logPolicy)(i.loggingOptions),{afterPhase:"Sign"});return d}},7960:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createDefaultHttpClient=createDefaultHttpClient;const v=p(41958);const V=p(91297);function createDefaultHttpClient(){const i=(0,v.createDefaultHttpClient)();return{async sendRequest(d){const{abortSignal:p,cleanup:v}=d.abortSignal?(0,V.wrapAbortSignalLike)(d.abortSignal):{};try{d.abortSignal=p;return await i.sendRequest(d)}finally{v?.()}}}}},192:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createHttpHeaders=createHttpHeaders;const v=p(41958);function createHttpHeaders(i){return(0,v.createHttpHeaders)(i)}},20778:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createFileFromStream=d.createFile=d.agentPolicyName=d.agentPolicy=d.auxiliaryAuthenticationHeaderPolicyName=d.auxiliaryAuthenticationHeaderPolicy=d.ndJsonPolicyName=d.ndJsonPolicy=d.bearerTokenAuthenticationPolicyName=d.bearerTokenAuthenticationPolicy=d.formDataPolicyName=d.formDataPolicy=d.tlsPolicyName=d.tlsPolicy=d.userAgentPolicyName=d.userAgentPolicy=d.defaultRetryPolicy=d.tracingPolicyName=d.tracingPolicy=d.retryPolicy=d.throttlingRetryPolicyName=d.throttlingRetryPolicy=d.systemErrorRetryPolicyName=d.systemErrorRetryPolicy=d.redirectPolicyName=d.redirectPolicy=d.getDefaultProxySettings=d.proxyPolicyName=d.proxyPolicy=d.multipartPolicyName=d.multipartPolicy=d.logPolicyName=d.logPolicy=d.setClientRequestIdPolicyName=d.setClientRequestIdPolicy=d.exponentialRetryPolicyName=d.exponentialRetryPolicy=d.decompressResponsePolicyName=d.decompressResponsePolicy=d.isRestError=d.RestError=d.createPipelineRequest=d.createHttpHeaders=d.createDefaultHttpClient=d.createPipelineFromOptions=d.createEmptyPipeline=void 0;var v=p(29590);Object.defineProperty(d,"createEmptyPipeline",{enumerable:true,get:function(){return v.createEmptyPipeline}});var V=p(90862);Object.defineProperty(d,"createPipelineFromOptions",{enumerable:true,get:function(){return V.createPipelineFromOptions}});var K=p(7960);Object.defineProperty(d,"createDefaultHttpClient",{enumerable:true,get:function(){return K.createDefaultHttpClient}});var ee=p(192);Object.defineProperty(d,"createHttpHeaders",{enumerable:true,get:function(){return ee.createHttpHeaders}});var te=p(95709);Object.defineProperty(d,"createPipelineRequest",{enumerable:true,get:function(){return te.createPipelineRequest}});var re=p(8666);Object.defineProperty(d,"RestError",{enumerable:true,get:function(){return re.RestError}});Object.defineProperty(d,"isRestError",{enumerable:true,get:function(){return re.isRestError}});var ne=p(39295);Object.defineProperty(d,"decompressResponsePolicy",{enumerable:true,get:function(){return ne.decompressResponsePolicy}});Object.defineProperty(d,"decompressResponsePolicyName",{enumerable:true,get:function(){return ne.decompressResponsePolicyName}});var se=p(16708);Object.defineProperty(d,"exponentialRetryPolicy",{enumerable:true,get:function(){return se.exponentialRetryPolicy}});Object.defineProperty(d,"exponentialRetryPolicyName",{enumerable:true,get:function(){return se.exponentialRetryPolicyName}});var ie=p(95686);Object.defineProperty(d,"setClientRequestIdPolicy",{enumerable:true,get:function(){return ie.setClientRequestIdPolicy}});Object.defineProperty(d,"setClientRequestIdPolicyName",{enumerable:true,get:function(){return ie.setClientRequestIdPolicyName}});var oe=p(53253);Object.defineProperty(d,"logPolicy",{enumerable:true,get:function(){return oe.logPolicy}});Object.defineProperty(d,"logPolicyName",{enumerable:true,get:function(){return oe.logPolicyName}});var ae=p(45807);Object.defineProperty(d,"multipartPolicy",{enumerable:true,get:function(){return ae.multipartPolicy}});Object.defineProperty(d,"multipartPolicyName",{enumerable:true,get:function(){return ae.multipartPolicyName}});var Ae=p(32815);Object.defineProperty(d,"proxyPolicy",{enumerable:true,get:function(){return Ae.proxyPolicy}});Object.defineProperty(d,"proxyPolicyName",{enumerable:true,get:function(){return Ae.proxyPolicyName}});Object.defineProperty(d,"getDefaultProxySettings",{enumerable:true,get:function(){return Ae.getDefaultProxySettings}});var ce=p(64087);Object.defineProperty(d,"redirectPolicy",{enumerable:true,get:function(){return ce.redirectPolicy}});Object.defineProperty(d,"redirectPolicyName",{enumerable:true,get:function(){return ce.redirectPolicyName}});var le=p(96518);Object.defineProperty(d,"systemErrorRetryPolicy",{enumerable:true,get:function(){return le.systemErrorRetryPolicy}});Object.defineProperty(d,"systemErrorRetryPolicyName",{enumerable:true,get:function(){return le.systemErrorRetryPolicyName}});var ue=p(97540);Object.defineProperty(d,"throttlingRetryPolicy",{enumerable:true,get:function(){return ue.throttlingRetryPolicy}});Object.defineProperty(d,"throttlingRetryPolicyName",{enumerable:true,get:function(){return ue.throttlingRetryPolicyName}});var de=p(56085);Object.defineProperty(d,"retryPolicy",{enumerable:true,get:function(){return de.retryPolicy}});var he=p(93237);Object.defineProperty(d,"tracingPolicy",{enumerable:true,get:function(){return he.tracingPolicy}});Object.defineProperty(d,"tracingPolicyName",{enumerable:true,get:function(){return he.tracingPolicyName}});var fe=p(48170);Object.defineProperty(d,"defaultRetryPolicy",{enumerable:true,get:function(){return fe.defaultRetryPolicy}});var ge=p(32799);Object.defineProperty(d,"userAgentPolicy",{enumerable:true,get:function(){return ge.userAgentPolicy}});Object.defineProperty(d,"userAgentPolicyName",{enumerable:true,get:function(){return ge.userAgentPolicyName}});var pe=p(75798);Object.defineProperty(d,"tlsPolicy",{enumerable:true,get:function(){return pe.tlsPolicy}});Object.defineProperty(d,"tlsPolicyName",{enumerable:true,get:function(){return pe.tlsPolicyName}});var me=p(75497);Object.defineProperty(d,"formDataPolicy",{enumerable:true,get:function(){return me.formDataPolicy}});Object.defineProperty(d,"formDataPolicyName",{enumerable:true,get:function(){return me.formDataPolicyName}});var Ee=p(26925);Object.defineProperty(d,"bearerTokenAuthenticationPolicy",{enumerable:true,get:function(){return Ee.bearerTokenAuthenticationPolicy}});Object.defineProperty(d,"bearerTokenAuthenticationPolicyName",{enumerable:true,get:function(){return Ee.bearerTokenAuthenticationPolicyName}});var Ce=p(36827);Object.defineProperty(d,"ndJsonPolicy",{enumerable:true,get:function(){return Ce.ndJsonPolicy}});Object.defineProperty(d,"ndJsonPolicyName",{enumerable:true,get:function(){return Ce.ndJsonPolicyName}});var ye=p(42262);Object.defineProperty(d,"auxiliaryAuthenticationHeaderPolicy",{enumerable:true,get:function(){return ye.auxiliaryAuthenticationHeaderPolicy}});Object.defineProperty(d,"auxiliaryAuthenticationHeaderPolicyName",{enumerable:true,get:function(){return ye.auxiliaryAuthenticationHeaderPolicyName}});var Ie=p(18554);Object.defineProperty(d,"agentPolicy",{enumerable:true,get:function(){return Ie.agentPolicy}});Object.defineProperty(d,"agentPolicyName",{enumerable:true,get:function(){return Ie.agentPolicyName}});var Be=p(97073);Object.defineProperty(d,"createFile",{enumerable:true,get:function(){return Be.createFile}});Object.defineProperty(d,"createFileFromStream",{enumerable:true,get:function(){return Be.createFileFromStream}})},80544:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.logger=void 0;const v=p(26515);d.logger=(0,v.createClientLogger)("core-rest-pipeline")},29590:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createEmptyPipeline=createEmptyPipeline;const v=p(41958);function createEmptyPipeline(){return(0,v.createEmptyPipeline)()}},95709:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createPipelineRequest=createPipelineRequest;const v=p(41958);function createPipelineRequest(i){return(0,v.createPipelineRequest)(i)}},18554:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.agentPolicyName=void 0;d.agentPolicy=agentPolicy;const v=p(44960);d.agentPolicyName=v.agentPolicyName;function agentPolicy(i){return(0,v.agentPolicy)(i)}},42262:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.auxiliaryAuthenticationHeaderPolicyName=void 0;d.auxiliaryAuthenticationHeaderPolicy=auxiliaryAuthenticationHeaderPolicy;const v=p(39202);const V=p(80544);d.auxiliaryAuthenticationHeaderPolicyName="auxiliaryAuthenticationHeaderPolicy";const K="x-ms-authorization-auxiliary";async function sendAuthorizeRequest(i){const{scopes:d,getAccessToken:p,request:v}=i;const V={abortSignal:v.abortSignal,tracingOptions:v.tracingOptions};return(await p(d,V))?.token??""}function auxiliaryAuthenticationHeaderPolicy(i){const{credentials:p,scopes:ee}=i;const te=i.logger||V.logger;const re=new WeakMap;return{name:d.auxiliaryAuthenticationHeaderPolicyName,async sendRequest(i,V){if(!i.url.toLowerCase().startsWith("https://")){throw new Error("Bearer token authentication for auxiliary header is not permitted for non-TLS protected (non-https) URLs.")}if(!p||p.length===0){te.info(`${d.auxiliaryAuthenticationHeaderPolicyName} header will not be set due to empty credentials.`);return V(i)}const ne=[];for(const d of p){let p=re.get(d);if(!p){p=(0,v.createTokenCycler)(d);re.set(d,p)}ne.push(sendAuthorizeRequest({scopes:Array.isArray(ee)?ee:[ee],request:i,getAccessToken:p,logger:te}))}const se=(await Promise.all(ne)).filter((i=>Boolean(i)));if(se.length===0){te.warning(`None of the auxiliary tokens are valid. ${K} header will not be set.`);return V(i)}i.headers.set(K,se.map((i=>`Bearer ${i}`)).join(", "));return V(i)}}}},26925:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.bearerTokenAuthenticationPolicyName=void 0;d.bearerTokenAuthenticationPolicy=bearerTokenAuthenticationPolicy;d.parseChallenges=parseChallenges;const v=p(39202);const V=p(80544);const K=p(8666);d.bearerTokenAuthenticationPolicyName="bearerTokenAuthenticationPolicy";async function trySendRequest(i,d){try{return[await d(i),undefined]}catch(i){if((0,K.isRestError)(i)&&i.response){return[i.response,i]}else{throw i}}}async function defaultAuthorizeRequest(i){const{scopes:d,getAccessToken:p,request:v}=i;const V={abortSignal:v.abortSignal,tracingOptions:v.tracingOptions,enableCae:true};const K=await p(d,V);if(K){i.request.headers.set("Authorization",`Bearer ${K.token}`)}}function isChallengeResponse(i){return i.status===401&&i.headers.has("WWW-Authenticate")}async function authorizeRequestOnCaeChallenge(i,d){const{scopes:p}=i;const v=await i.getAccessToken(p,{enableCae:true,claims:d});if(!v){return false}i.request.headers.set("Authorization",`${v.tokenType??"Bearer"} ${v.token}`);return true}function bearerTokenAuthenticationPolicy(i){const{credential:p,scopes:K,challengeCallbacks:ee}=i;const te=i.logger||V.logger;const re={authorizeRequest:ee?.authorizeRequest?.bind(ee)??defaultAuthorizeRequest,authorizeRequestOnChallenge:ee?.authorizeRequestOnChallenge?.bind(ee)};const ne=p?(0,v.createTokenCycler)(p):()=>Promise.resolve(null);return{name:d.bearerTokenAuthenticationPolicyName,async sendRequest(i,d){if(!i.url.toLowerCase().startsWith("https://")){throw new Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.")}await re.authorizeRequest({scopes:Array.isArray(K)?K:[K],request:i,getAccessToken:ne,logger:te});let p;let v;let V;[p,v]=await trySendRequest(i,d);if(isChallengeResponse(p)){let ee=getCaeChallengeClaims(p.headers.get("WWW-Authenticate"));if(ee){let re;try{re=atob(ee)}catch(i){te.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${ee}`);return p}V=await authorizeRequestOnCaeChallenge({scopes:Array.isArray(K)?K:[K],response:p,request:i,getAccessToken:ne,logger:te},re);if(V){[p,v]=await trySendRequest(i,d)}}else if(re.authorizeRequestOnChallenge){V=await re.authorizeRequestOnChallenge({scopes:Array.isArray(K)?K:[K],request:i,response:p,getAccessToken:ne,logger:te});if(V){[p,v]=await trySendRequest(i,d)}if(isChallengeResponse(p)){ee=getCaeChallengeClaims(p.headers.get("WWW-Authenticate"));if(ee){let re;try{re=atob(ee)}catch(i){te.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${ee}`);return p}V=await authorizeRequestOnCaeChallenge({scopes:Array.isArray(K)?K:[K],response:p,request:i,getAccessToken:ne,logger:te},re);if(V){[p,v]=await trySendRequest(i,d)}}}}}if(v){throw v}else{return p}}}}function parseChallenges(i){const d=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g;const p=/(\w+)="([^"]*)"/g;const v=[];let V;while((V=d.exec(i))!==null){const i=V[1];const d=V[2];const K={};let ee;while((ee=p.exec(d))!==null){K[ee[1]]=ee[2]}v.push({scheme:i,params:K})}return v}function getCaeChallengeClaims(i){if(!i){return}const d=parseChallenges(i);return d.find((i=>i.scheme==="Bearer"&&i.params.claims&&i.params.error==="insufficient_claims"))?.params.claims}},39295:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.decompressResponsePolicyName=void 0;d.decompressResponsePolicy=decompressResponsePolicy;const v=p(44960);d.decompressResponsePolicyName=v.decompressResponsePolicyName;function decompressResponsePolicy(){return(0,v.decompressResponsePolicy)()}},48170:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.defaultRetryPolicyName=void 0;d.defaultRetryPolicy=defaultRetryPolicy;const v=p(44960);d.defaultRetryPolicyName=v.defaultRetryPolicyName;function defaultRetryPolicy(i={}){return(0,v.defaultRetryPolicy)(i)}},16708:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.exponentialRetryPolicyName=void 0;d.exponentialRetryPolicy=exponentialRetryPolicy;const v=p(44960);d.exponentialRetryPolicyName=v.exponentialRetryPolicyName;function exponentialRetryPolicy(i={}){return(0,v.exponentialRetryPolicy)(i)}},75497:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.formDataPolicyName=void 0;d.formDataPolicy=formDataPolicy;const v=p(44960);d.formDataPolicyName=v.formDataPolicyName;function formDataPolicy(){return(0,v.formDataPolicy)()}},53253:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.logPolicyName=void 0;d.logPolicy=logPolicy;const v=p(80544);const V=p(44960);d.logPolicyName=V.logPolicyName;function logPolicy(i={}){return(0,V.logPolicy)({logger:v.logger.info,...i})}},45807:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.multipartPolicyName=void 0;d.multipartPolicy=multipartPolicy;const v=p(44960);const V=p(97073);d.multipartPolicyName=v.multipartPolicyName;function multipartPolicy(){const i=(0,v.multipartPolicy)();return{name:d.multipartPolicyName,sendRequest:async(d,p)=>{if(d.multipartBody){for(const i of d.multipartBody.parts){if((0,V.hasRawContent)(i.body)){i.body=(0,V.getRawContent)(i.body)}}}return i.sendRequest(d,p)}}}},36827:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.ndJsonPolicyName=void 0;d.ndJsonPolicy=ndJsonPolicy;d.ndJsonPolicyName="ndJsonPolicy";function ndJsonPolicy(){return{name:d.ndJsonPolicyName,async sendRequest(i,d){if(typeof i.body==="string"&&i.body.startsWith("[")){const d=JSON.parse(i.body);if(Array.isArray(d)){i.body=d.map((i=>JSON.stringify(i)+"\n")).join("")}}return d(i)}}}},32815:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.proxyPolicyName=void 0;d.getDefaultProxySettings=getDefaultProxySettings;d.proxyPolicy=proxyPolicy;const v=p(44960);d.proxyPolicyName=v.proxyPolicyName;function getDefaultProxySettings(i){return(0,v.getDefaultProxySettings)(i)}function proxyPolicy(i,d){return(0,v.proxyPolicy)(i,d)}},64087:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.redirectPolicyName=void 0;d.redirectPolicy=redirectPolicy;const v=p(44960);d.redirectPolicyName=v.redirectPolicyName;function redirectPolicy(i={}){return(0,v.redirectPolicy)(i)}},56085:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.retryPolicy=retryPolicy;const v=p(26515);const V=p(66427);const K=p(44960);const ee=(0,v.createClientLogger)("core-rest-pipeline retryPolicy");function retryPolicy(i,d={maxRetries:V.DEFAULT_RETRY_POLICY_COUNT}){return(0,K.retryPolicy)(i,{logger:ee,...d})}},95686:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.setClientRequestIdPolicyName=void 0;d.setClientRequestIdPolicy=setClientRequestIdPolicy;d.setClientRequestIdPolicyName="setClientRequestIdPolicy";function setClientRequestIdPolicy(i="x-ms-client-request-id"){return{name:d.setClientRequestIdPolicyName,async sendRequest(d,p){if(!d.headers.has(i)){d.headers.set(i,d.requestId)}return p(d)}}}},96518:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.systemErrorRetryPolicyName=void 0;d.systemErrorRetryPolicy=systemErrorRetryPolicy;const v=p(44960);d.systemErrorRetryPolicyName=v.systemErrorRetryPolicyName;function systemErrorRetryPolicy(i={}){return(0,v.systemErrorRetryPolicy)(i)}},97540:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.throttlingRetryPolicyName=void 0;d.throttlingRetryPolicy=throttlingRetryPolicy;const v=p(44960);d.throttlingRetryPolicyName=v.throttlingRetryPolicyName;function throttlingRetryPolicy(i={}){return(0,v.throttlingRetryPolicy)(i)}},75798:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.tlsPolicyName=void 0;d.tlsPolicy=tlsPolicy;const v=p(44960);d.tlsPolicyName=v.tlsPolicyName;function tlsPolicy(i){return(0,v.tlsPolicy)(i)}},93237:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.tracingPolicyName=void 0;d.tracingPolicy=tracingPolicy;const v=p(20623);const V=p(66427);const K=p(28431);const ee=p(80544);const te=p(87779);const re=p(8666);const ne=p(95750);d.tracingPolicyName="tracingPolicy";function tracingPolicy(i={}){const p=(0,K.getUserAgentValue)(i.userAgentPrefix);const v=new ne.Sanitizer({additionalAllowedQueryParameters:i.additionalAllowedQueryParameters});const V=tryCreateTracingClient();return{name:d.tracingPolicyName,async sendRequest(i,d){if(!V){return d(i)}const K=await p;const ee={"http.url":v.sanitizeUrl(i.url),"http.method":i.method,"http.user_agent":K,requestId:i.requestId};if(K){ee["http.user_agent"]=K}const{span:te,tracingContext:re}=tryCreateSpan(V,i,ee)??{};if(!te||!re){return d(i)}try{const p=await V.withContext(re,d,i);tryProcessResponse(te,p);return p}catch(i){tryProcessError(te,i);throw i}}}}function tryCreateTracingClient(){try{return(0,v.createTracingClient)({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:V.SDK_VERSION})}catch(i){ee.logger.warning(`Error when creating the TracingClient: ${(0,te.getErrorMessage)(i)}`);return undefined}}function tryCreateSpan(i,d,p){try{const{span:v,updatedOptions:V}=i.startSpan(`HTTP ${d.method}`,{tracingOptions:d.tracingOptions},{spanKind:"client",spanAttributes:p});if(!v.isRecording()){v.end();return undefined}const K=i.createRequestHeaders(V.tracingOptions.tracingContext);for(const[i,p]of Object.entries(K)){d.headers.set(i,p)}return{span:v,tracingContext:V.tracingOptions.tracingContext}}catch(i){ee.logger.warning(`Skipping creating a tracing span due to an error: ${(0,te.getErrorMessage)(i)}`);return undefined}}function tryProcessError(i,d){try{i.setStatus({status:"error",error:(0,te.isError)(d)?d:undefined});if((0,re.isRestError)(d)&&d.statusCode){i.setAttribute("http.status_code",d.statusCode)}i.end()}catch(i){ee.logger.warning(`Skipping tracing span processing due to an error: ${(0,te.getErrorMessage)(i)}`)}}function tryProcessResponse(i,d){try{i.setAttribute("http.status_code",d.status);const p=d.headers.get("x-ms-request-id");if(p){i.setAttribute("serviceRequestId",p)}if(d.status>=400){i.setStatus({status:"error"})}i.end()}catch(i){ee.logger.warning(`Skipping tracing span processing due to an error: ${(0,te.getErrorMessage)(i)}`)}}},32799:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.userAgentPolicyName=void 0;d.userAgentPolicy=userAgentPolicy;const v=p(28431);const V=(0,v.getUserAgentHeaderName)();d.userAgentPolicyName="userAgentPolicy";function userAgentPolicy(i={}){const p=(0,v.getUserAgentValue)(i.userAgentPrefix);return{name:d.userAgentPolicyName,async sendRequest(i,d){if(!i.headers.has(V)){i.headers.set(V,await p)}return d(i)}}}},37466:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.wrapAbortSignalLikePolicyName=void 0;d.wrapAbortSignalLikePolicy=wrapAbortSignalLikePolicy;const v=p(91297);d.wrapAbortSignalLikePolicyName="wrapAbortSignalLikePolicy";function wrapAbortSignalLikePolicy(){return{name:d.wrapAbortSignalLikePolicyName,sendRequest:async(i,d)=>{if(!i.abortSignal){return d(i)}const{abortSignal:p,cleanup:V}=(0,v.wrapAbortSignalLike)(i.abortSignal);i.abortSignal=p;try{return await d(i)}finally{V?.()}}}}},8666:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.RestError=void 0;d.isRestError=isRestError;const v=p(41958);d.RestError=v.RestError;function isRestError(i){return(0,v.isRestError)(i)}},97073:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.hasRawContent=hasRawContent;d.getRawContent=getRawContent;d.createFileFromStream=createFileFromStream;d.createFile=createFile;const v=p(87779);function isNodeReadableStream(i){return Boolean(i&&typeof i["pipe"]==="function")}const V={arrayBuffer:()=>{throw new Error("Not implemented")},bytes:()=>{throw new Error("Not implemented")},slice:()=>{throw new Error("Not implemented")},text:()=>{throw new Error("Not implemented")}};const K=Symbol("rawContent");function hasRawContent(i){return typeof i[K]==="function"}function getRawContent(i){if(hasRawContent(i)){return i[K]()}else{return i}}function createFileFromStream(i,d,p={}){return{...V,type:p.type??"",lastModified:p.lastModified??(new Date).getTime(),webkitRelativePath:p.webkitRelativePath??"",size:p.size??-1,name:d,stream:()=>{const d=i();if(isNodeReadableStream(d)){throw new Error("Not supported: a Node stream was provided as input to createFileFromStream.")}return d},[K]:i}}function createFile(i,d,p={}){if(v.isNodeLike){return{...V,type:p.type??"",lastModified:p.lastModified??(new Date).getTime(),webkitRelativePath:p.webkitRelativePath??"",size:i.byteLength,name:d,arrayBuffer:async()=>i.buffer,stream:()=>new Blob([toArrayBuffer(i)]).stream(),[K]:()=>i}}else{return new File([toArrayBuffer(i)],d,p)}}function toArrayBuffer(i){if("resize"in i.buffer){return i}return i.map((i=>i))}},39202:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.DEFAULT_CYCLER_OPTIONS=void 0;d.createTokenCycler=createTokenCycler;const v=p(87779);d.DEFAULT_CYCLER_OPTIONS={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:1e3*60*2};async function beginRefresh(i,d,p){async function tryGetAccessToken(){if(Date.now()i.getToken(d,p);v=beginRefresh(tryGetAccessToken,ee.retryIntervalInMs,V?.expiresOnTimestamp??Date.now()).then((i=>{v=null;V=i;K=p.tenantId;return V})).catch((i=>{v=null;V=null;K=undefined;throw i}))}return v}return async(i,d)=>{const p=Boolean(d.claims);const v=K!==d.tenantId;if(p){V=null}const ee=v||p||te.mustRefresh;if(ee){return refresh(i,d)}if(te.shouldRefresh){refresh(i,d)}return V}}},28431:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getUserAgentHeaderName=getUserAgentHeaderName;d.getUserAgentValue=getUserAgentValue;const v=p(31848);const V=p(66427);function getUserAgentString(i){const d=[];for(const[p,v]of i){const i=v?`${p}/${v}`:p;d.push(i)}return d.join(" ")}function getUserAgentHeaderName(){return(0,v.getHeaderName)()}async function getUserAgentValue(i){const d=new Map;d.set("core-rest-pipeline",V.SDK_VERSION);await(0,v.setPlatformSpecificData)(d);const p=getUserAgentString(d);const K=i?`${i} ${p}`:p;return K}},31848:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getHeaderName=getHeaderName;d.setPlatformSpecificData=setPlatformSpecificData;const v=p(61860);const V=v.__importDefault(p(48161));const K=v.__importDefault(p(1708));function getHeaderName(){return"User-Agent"}async function setPlatformSpecificData(i){if(K.default&&K.default.versions){const d=`${V.default.type()} ${V.default.release()}; ${V.default.arch()}`;const p=K.default.versions;if(p.bun){i.set("Bun",`${p.bun} (${d})`)}else if(p.deno){i.set("Deno",`${p.deno} (${d})`)}else if(p.node){i.set("Node",`${p.node} (${d})`)}}}},91297:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.wrapAbortSignalLike=wrapAbortSignalLike;function wrapAbortSignalLike(i){if(i instanceof AbortSignal){return{abortSignal:i}}if(i.aborted){return{abortSignal:AbortSignal.abort(i.reason)}}const d=new AbortController;let p=true;function cleanup(){if(p){i.removeEventListener("abort",listener);p=false}}function listener(){d.abort(i.reason);cleanup()}i.addEventListener("abort",listener);return{abortSignal:d.signal,cleanup:cleanup}}},20623:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createTracingClient=d.useInstrumenter=void 0;var v=p(48729);Object.defineProperty(d,"useInstrumenter",{enumerable:true,get:function(){return v.useInstrumenter}});var V=p(93438);Object.defineProperty(d,"createTracingClient",{enumerable:true,get:function(){return V.createTracingClient}})},48729:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createDefaultTracingSpan=createDefaultTracingSpan;d.createDefaultInstrumenter=createDefaultInstrumenter;d.useInstrumenter=useInstrumenter;d.getInstrumenter=getInstrumenter;const v=p(79186);const V=p(38914);function createDefaultTracingSpan(){return{end:()=>{},isRecording:()=>false,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}}}function createDefaultInstrumenter(){return{createRequestHeaders:()=>({}),parseTraceparentHeader:()=>undefined,startSpan:(i,d)=>({span:createDefaultTracingSpan(),tracingContext:(0,v.createTracingContext)({parentContext:d.tracingContext})}),withContext(i,d,...p){return d(...p)}}}function useInstrumenter(i){V.state.instrumenterImplementation=i}function getInstrumenter(){if(!V.state.instrumenterImplementation){V.state.instrumenterImplementation=createDefaultInstrumenter()}return V.state.instrumenterImplementation}},38914:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.state=void 0;d.state={instrumenterImplementation:undefined}},93438:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createTracingClient=createTracingClient;const v=p(48729);const V=p(79186);function createTracingClient(i){const{namespace:d,packageName:p,packageVersion:K}=i;function startSpan(i,ee,te){const re=(0,v.getInstrumenter)().startSpan(i,{...te,packageName:p,packageVersion:K,tracingContext:ee?.tracingOptions?.tracingContext});let ne=re.tracingContext;const se=re.span;if(!ne.getValue(V.knownContextKeys.namespace)){ne=ne.setValue(V.knownContextKeys.namespace,d)}se.setAttribute("az.namespace",ne.getValue(V.knownContextKeys.namespace));const ie=Object.assign({},ee,{tracingOptions:{...ee?.tracingOptions,tracingContext:ne}});return{span:se,updatedOptions:ie}}async function withSpan(i,d,p,v){const{span:V,updatedOptions:K}=startSpan(i,d,v);try{const i=await withContext(K.tracingOptions.tracingContext,(()=>Promise.resolve(p(K,V))));V.setStatus({status:"success"});return i}catch(i){V.setStatus({status:"error",error:i});throw i}finally{V.end()}}function withContext(i,d,...p){return(0,v.getInstrumenter)().withContext(i,d,...p)}function parseTraceparentHeader(i){return(0,v.getInstrumenter)().parseTraceparentHeader(i)}function createRequestHeaders(i){return(0,v.getInstrumenter)().createRequestHeaders(i)}return{startSpan:startSpan,withSpan:withSpan,withContext:withContext,parseTraceparentHeader:parseTraceparentHeader,createRequestHeaders:createRequestHeaders}}},79186:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.TracingContextImpl=d.knownContextKeys=void 0;d.createTracingContext=createTracingContext;d.knownContextKeys={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};function createTracingContext(i={}){let p=new TracingContextImpl(i.parentContext);if(i.span){p=p.setValue(d.knownContextKeys.span,i.span)}if(i.namespace){p=p.setValue(d.knownContextKeys.namespace,i.namespace)}return p}class TracingContextImpl{_contextMap;constructor(i){this._contextMap=i instanceof TracingContextImpl?new Map(i._contextMap):new Map}setValue(i,d){const p=new TracingContextImpl(this);p._contextMap.set(i,d);return p}getValue(i){return this._contextMap.get(i)}deleteValue(i){const d=new TracingContextImpl(this);d._contextMap.delete(i);return d}}d.TracingContextImpl=TracingContextImpl},95209:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.cancelablePromiseRace=cancelablePromiseRace;async function cancelablePromiseRace(i,d){const p=new AbortController;function abortHandler(){p.abort()}d?.abortSignal?.addEventListener("abort",abortHandler);try{return await Promise.race(i.map((i=>i({abortSignal:p.signal}))))}finally{p.abort();d?.abortSignal?.removeEventListener("abort",abortHandler)}}},63128:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createAbortablePromise=createAbortablePromise;const v=p(83134);function createAbortablePromise(i,d){const{cleanupBeforeAbort:p,abortSignal:V,abortErrorMsg:K}=d??{};return new Promise(((d,ee)=>{function rejectOnAbort(){ee(new v.AbortError(K??"The operation was aborted."))}function removeListeners(){V?.removeEventListener("abort",onAbort)}function onAbort(){p?.();removeListeners();rejectOnAbort()}if(V?.aborted){return rejectOnAbort()}try{i((i=>{removeListeners();d(i)}),(i=>{removeListeners();ee(i)}))}catch(i){ee(i)}V?.addEventListener("abort",onAbort)}))}},90636:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.delay=delay;d.calculateRetryDelay=calculateRetryDelay;const v=p(63128);const V=p(95750);const K="The delay was aborted.";function delay(i,d){let p;const{abortSignal:V,abortErrorMsg:ee}=d??{};return(0,v.createAbortablePromise)((d=>{p=setTimeout(d,i)}),{cleanupBeforeAbort:()=>clearTimeout(p),abortSignal:V,abortErrorMsg:ee??K})}function calculateRetryDelay(i,d){const p=d.retryDelayInMs*Math.pow(2,i);const v=Math.min(d.maxRetryDelayInMs,p);const K=v/2+(0,V.getRandomIntegerInclusive)(0,v/2);return{retryAfterInMs:K}}},99945:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getErrorMessage=getErrorMessage;const v=p(95750);function getErrorMessage(i){if((0,v.isError)(i)){return i.message}else{let d;try{if(typeof i==="object"&&i){d=JSON.stringify(i)}else{d=String(i)}}catch(i){d="[unable to stringify input]"}return`Unknown error ${d}`}}},87779:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.isWebWorker=d.isReactNative=d.isNodeRuntime=d.isNodeLike=d.isNode=d.isDeno=d.isBun=d.isBrowser=d.objectHasProperty=d.isObjectWithProperties=d.isDefined=d.getErrorMessage=d.delay=d.createAbortablePromise=d.cancelablePromiseRace=void 0;d.calculateRetryDelay=calculateRetryDelay;d.computeSha256Hash=computeSha256Hash;d.computeSha256Hmac=computeSha256Hmac;d.getRandomIntegerInclusive=getRandomIntegerInclusive;d.isError=isError;d.isObject=isObject;d.randomUUID=randomUUID;d.uint8ArrayToString=uint8ArrayToString;d.stringToUint8Array=stringToUint8Array;const v=p(61860);const V=v.__importStar(p(95750));var K=p(95209);Object.defineProperty(d,"cancelablePromiseRace",{enumerable:true,get:function(){return K.cancelablePromiseRace}});var ee=p(63128);Object.defineProperty(d,"createAbortablePromise",{enumerable:true,get:function(){return ee.createAbortablePromise}});var te=p(90636);Object.defineProperty(d,"delay",{enumerable:true,get:function(){return te.delay}});var re=p(99945);Object.defineProperty(d,"getErrorMessage",{enumerable:true,get:function(){return re.getErrorMessage}});var ne=p(66277);Object.defineProperty(d,"isDefined",{enumerable:true,get:function(){return ne.isDefined}});Object.defineProperty(d,"isObjectWithProperties",{enumerable:true,get:function(){return ne.isObjectWithProperties}});Object.defineProperty(d,"objectHasProperty",{enumerable:true,get:function(){return ne.objectHasProperty}});function calculateRetryDelay(i,d){return V.calculateRetryDelay(i,d)}function computeSha256Hash(i,d){return V.computeSha256Hash(i,d)}function computeSha256Hmac(i,d,p){return V.computeSha256Hmac(i,d,p)}function getRandomIntegerInclusive(i,d){return V.getRandomIntegerInclusive(i,d)}function isError(i){return V.isError(i)}function isObject(i){return V.isObject(i)}function randomUUID(){return V.randomUUID()}d.isBrowser=V.isBrowser;d.isBun=V.isBun;d.isDeno=V.isDeno;d.isNode=V.isNodeLike;d.isNodeLike=V.isNodeLike;d.isNodeRuntime=V.isNodeRuntime;d.isReactNative=V.isReactNative;d.isWebWorker=V.isWebWorker;function uint8ArrayToString(i,d){return V.uint8ArrayToString(i,d)}function stringToUint8Array(i,d){return V.stringToUint8Array(i,d)}},66277:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.isDefined=isDefined;d.isObjectWithProperties=isObjectWithProperties;d.objectHasProperty=objectHasProperty;function isDefined(i){return typeof i!=="undefined"&&i!==null}function isObjectWithProperties(i,d){if(!isDefined(i)||typeof i!=="object"){return false}for(const p of d){if(!objectHasProperty(i,p)){return false}}return true}function objectHasProperty(i,d){return isDefined(i)&&typeof i==="object"&&d in i}},78756:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.XML_CHARKEY=d.XML_ATTRKEY=d.parseXML=d.stringifyXML=void 0;var v=p(48133);Object.defineProperty(d,"stringifyXML",{enumerable:true,get:function(){return v.stringifyXML}});Object.defineProperty(d,"parseXML",{enumerable:true,get:function(){return v.parseXML}});var V=p(93406);Object.defineProperty(d,"XML_ATTRKEY",{enumerable:true,get:function(){return V.XML_ATTRKEY}});Object.defineProperty(d,"XML_CHARKEY",{enumerable:true,get:function(){return V.XML_CHARKEY}})},93406:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.XML_CHARKEY=d.XML_ATTRKEY=void 0;d.XML_ATTRKEY="$";d.XML_CHARKEY="_"},48133:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.stringifyXML=stringifyXML;d.parseXML=parseXML;const v=p(89048);const V=p(93406);function getCommonOptions(i){var d;return{attributesGroupName:V.XML_ATTRKEY,textNodeName:(d=i.xmlCharKey)!==null&&d!==void 0?d:V.XML_CHARKEY,ignoreAttributes:false,suppressBooleanAttributes:false}}function getSerializerOptions(i={}){var d,p;return Object.assign(Object.assign({},getCommonOptions(i)),{attributeNamePrefix:"@_",format:true,suppressEmptyNode:true,indentBy:"",rootNodeName:(d=i.rootName)!==null&&d!==void 0?d:"root",cdataPropName:(p=i.cdataPropName)!==null&&p!==void 0?p:"__cdata"})}function getParserOptions(i={}){return Object.assign(Object.assign({},getCommonOptions(i)),{parseAttributeValue:false,parseTagValue:false,attributeNamePrefix:"",stopNodes:i.stopNodes,processEntities:true,trimValues:false})}function stringifyXML(i,d={}){const p=getSerializerOptions(d);const V=new v.XMLBuilder(p);const K={[p.rootNodeName]:i};const ee=V.build(K);return`${ee}`.replace(/\n/g,"")}async function parseXML(i,d={}){if(!i){throw new Error("Document is empty")}const p=v.XMLValidator.validate(i);if(p!==true){throw p}const V=new v.XMLParser(getParserOptions(d));const K=V.parse(i);if(K["?xml"]){delete K["?xml"]}if(!d.includeRoot){for(const i of Object.keys(K)){const d=K[i];return typeof d==="object"?Object.assign({},d):d}}return K}},26515:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.AzureLogger=void 0;d.setLogLevel=setLogLevel;d.getLogLevel=getLogLevel;d.createClientLogger=createClientLogger;const v=p(82490);const V=(0,v.createLoggerContext)({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"});d.AzureLogger=V.logger;function setLogLevel(i){V.setLogLevel(i)}function getLogLevel(){return V.getLogLevel()}function createClientLogger(i){return V.createClientLogger(i)}},48175:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true})},41564:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BatchResponseParser=void 0;const v=p(20778);const V=p(61584);const K=p(27323);const ee=p(72995);const te=p(46370);const re=": ";const ne=" ";const se=-1;class BatchResponseParser{batchResponse;responseBatchBoundary;perResponsePrefix;batchResponseEnding;subRequests;constructor(i,d){if(!i||!i.contentType){throw new RangeError("batchResponse is malformed or doesn't contain valid content-type.")}if(!d||d.size===0){throw new RangeError("Invalid state: subRequests is not provided or size is 0.")}this.batchResponse=i;this.subRequests=d;this.responseBatchBoundary=this.batchResponse.contentType.split("=")[1];this.perResponsePrefix=`--${this.responseBatchBoundary}${K.HTTP_LINE_ENDING}`;this.batchResponseEnding=`--${this.responseBatchBoundary}--`}async parseBatchResponse(){if(this.batchResponse._response.status!==K.HTTPURLConnection.HTTP_ACCEPTED){throw new Error(`Invalid state: batch request failed with status: '${this.batchResponse._response.status}'.`)}const i=await(0,ee.getBodyAsText)(this.batchResponse);const d=i.split(this.batchResponseEnding)[0].split(this.perResponsePrefix).slice(1);const p=d.length;if(p!==this.subRequests.size&&p!==1){throw new Error("Invalid state: sub responses' count is not equal to sub requests' count.")}const ie=new Array(p);let oe=0;let ae=0;for(let i=0;i=0&&de{Object.defineProperty(d,"__esModule",{value:true});d.getBodyAsText=getBodyAsText;d.utf8ByteLength=utf8ByteLength;const v=p(53563);const V=p(27323);async function getBodyAsText(i){let d=Buffer.alloc(V.BATCH_MAX_PAYLOAD_IN_BYTES);const p=await(0,v.streamToBuffer2)(i.readableStreamBody,d);d=d.slice(0,p);return d.toString()}function utf8ByteLength(i){return Buffer.byteLength(i)}},95561:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BlobBatch=void 0;const v=p(87779);const V=p(50417);const K=p(20778);const ee=p(87779);const te=p(51382);const re=p(90372);const ne=p(58913);const se=p(25984);const ie=p(47764);const oe=p(78756);const ae=p(27323);const Ae=p(53952);const ce=p(60160);class BlobBatch{batchRequest;batch="batch";batchType;constructor(){this.batchRequest=new InnerBatchRequest}getMultiPartContentType(){return this.batchRequest.getMultipartContentType()}getHttpRequestBody(){return this.batchRequest.getHttpRequestBody()}getSubRequests(){return this.batchRequest.getSubRequests()}async addSubRequestInternal(i,d){await ne.Mutex.lock(this.batch);try{this.batchRequest.preAddSubRequest(i);await d();this.batchRequest.postAddSubRequest(i)}finally{await ne.Mutex.unlock(this.batch)}}setBatchType(i){if(!this.batchType){this.batchType=i}if(this.batchType!==i){throw new RangeError(`BlobBatch only supports one operation type per batch and it already is being used for ${this.batchType} operations.`)}}async deleteBlob(i,d,p){let v;let K;if(typeof i==="string"&&(ee.isNodeLike&&d instanceof te.StorageSharedKeyCredential||d instanceof te.AnonymousCredential||(0,V.isTokenCredential)(d))){v=i;K=d}else if(i instanceof re.BlobClient){v=i.url;K=i.credential;p=d}else{throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided.")}if(!p){p={}}return Ae.tracingClient.withSpan("BatchDeleteRequest-addSubRequest",p,(async i=>{this.setBatchType("delete");await this.addSubRequestInternal({url:v,credential:K},(async()=>{await new re.BlobClient(v,this.batchRequest.createPipeline(K)).delete(i)}))}))}async setBlobAccessTier(i,d,p,v){let K;let ne;let se;if(typeof i==="string"&&(ee.isNodeLike&&d instanceof te.StorageSharedKeyCredential||d instanceof te.AnonymousCredential||(0,V.isTokenCredential)(d))){K=i;ne=d;se=p}else if(i instanceof re.BlobClient){K=i.url;ne=i.credential;se=d;v=p}else{throw new RangeError("Invalid arguments. Either url and credential, or BlobClient need be provided.")}if(!v){v={}}return Ae.tracingClient.withSpan("BatchSetTierRequest-addSubRequest",v,(async i=>{this.setBatchType("setAccessTier");await this.addSubRequestInternal({url:K,credential:ne},(async()=>{await new re.BlobClient(K,this.batchRequest.createPipeline(ne)).setAccessTier(se,i)}))}))}}d.BlobBatch=BlobBatch;class InnerBatchRequest{operationCount;body;subRequests;boundary;subRequestPrefix;multipartContentType;batchRequestEnding;constructor(){this.operationCount=0;this.body="";const i=(0,v.randomUUID)();this.boundary=`batch_${i}`;this.subRequestPrefix=`--${this.boundary}${ae.HTTP_LINE_ENDING}${ae.HeaderConstants.CONTENT_TYPE}: application/http${ae.HTTP_LINE_ENDING}${ae.HeaderConstants.CONTENT_TRANSFER_ENCODING}: binary`;this.multipartContentType=`multipart/mixed; boundary=${this.boundary}`;this.batchRequestEnding=`--${this.boundary}--`;this.subRequests=new Map}createPipeline(i){const d=(0,K.createEmptyPipeline)();d.addPolicy((0,ce.serializationPolicy)({stringifyXML:oe.stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}}),{phase:"Serialize"});d.addPolicy(batchHeaderFilterPolicy());d.addPolicy(batchRequestAssemblePolicy(this),{afterPhase:"Sign"});if((0,V.isTokenCredential)(i)){d.addPolicy((0,K.bearerTokenAuthenticationPolicy)({credential:i,scopes:ae.StorageOAuthScopes,challengeCallbacks:{authorizeRequestOnChallenge:ce.authorizeRequestOnTenantChallenge}}),{phase:"Sign"})}else if(i instanceof te.StorageSharedKeyCredential){d.addPolicy((0,te.storageSharedKeyCredentialPolicy)({accountName:i.accountName,accountKey:i.accountKey}),{phase:"Sign"})}const p=new se.Pipeline([]);p._credential=i;p._corePipeline=d;return p}appendSubRequestToBody(i){this.body+=[this.subRequestPrefix,`${ae.HeaderConstants.CONTENT_ID}: ${this.operationCount}`,"",`${i.method.toString()} ${(0,ie.getURLPathAndQuery)(i.url)} ${ae.HTTP_VERSION_1_1}${ae.HTTP_LINE_ENDING}`].join(ae.HTTP_LINE_ENDING);for(const[d,p]of i.headers){this.body+=`${d}: ${p}${ae.HTTP_LINE_ENDING}`}this.body+=ae.HTTP_LINE_ENDING}preAddSubRequest(i){if(this.operationCount>=ae.BATCH_MAX_REQUEST){throw new RangeError(`Cannot exceed ${ae.BATCH_MAX_REQUEST} sub requests in a single batch`)}const d=(0,ie.getURLPath)(i.url);if(!d||d===""){throw new RangeError(`Invalid url for sub request: '${i.url}'`)}}postAddSubRequest(i){this.subRequests.set(this.operationCount,i);this.operationCount++}getHttpRequestBody(){return`${this.body}${this.batchRequestEnding}${ae.HTTP_LINE_ENDING}`}getMultipartContentType(){return this.multipartContentType}getSubRequests(){return this.subRequests}}function batchRequestAssemblePolicy(i){return{name:"batchRequestAssemblePolicy",async sendRequest(d){i.appendSubRequestToBody(d);return{request:d,status:200,headers:(0,K.createHttpHeaders)()}}}}function batchHeaderFilterPolicy(){return{name:"batchHeaderFilterPolicy",async sendRequest(i,d){let p="";for(const[d]of i.headers){if((0,ie.iEqual)(d,ae.HeaderConstants.X_MS_VERSION)){p=d}}if(p!==""){i.headers.delete(p)}return d(i)}}}},12094:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BlobBatchClient=void 0;const v=p(41564);const V=p(72995);const K=p(95561);const ee=p(53952);const te=p(51382);const re=p(53789);const ne=p(25984);const se=p(47764);class BlobBatchClient{serviceOrContainerContext;constructor(i,d,p){let v;if((0,ne.isPipelineLike)(d)){v=d}else if(!d){v=(0,ne.newPipeline)(new te.AnonymousCredential,p)}else{v=(0,ne.newPipeline)(d,p)}const V=new re.StorageContextClient(i,(0,ne.getCoreClientOptions)(v));const K=(0,se.getURLPath)(i);if(K&&K!=="/"){this.serviceOrContainerContext=V.container}else{this.serviceOrContainerContext=V.service}}createBatch(){return new K.BlobBatch}async deleteBlobs(i,d,p){const v=new K.BlobBatch;for(const V of i){if(typeof V==="string"){await v.deleteBlob(V,d,p)}else{await v.deleteBlob(V,d)}}return this.submitBatch(v)}async setBlobsAccessTier(i,d,p,v){const V=new K.BlobBatch;for(const K of i){if(typeof K==="string"){await V.setBlobAccessTier(K,d,p,v)}else{await V.setBlobAccessTier(K,d,p)}}return this.submitBatch(V)}async submitBatch(i,d={}){if(!i||i.getSubRequests().size===0){throw new RangeError("Batch request should contain one or more sub requests.")}return ee.tracingClient.withSpan("BlobBatchClient-submitBatch",d,(async d=>{const p=i.getHttpRequestBody();const K=(0,se.assertResponse)(await this.serviceOrContainerContext.submitBatch((0,V.utf8ByteLength)(p),i.getMultiPartContentType(),p,{...d}));const ee=new v.BatchResponseParser(K,i.getSubRequests());const te=await ee.parseBatchResponse();const re={_response:K._response,contentType:K.contentType,errorCode:K.errorCode,requestId:K.requestId,clientRequestId:K.clientRequestId,version:K.version,subResponses:te.subResponses,subResponsesSucceededCount:te.subResponsesSucceededCount,subResponsesFailedCount:te.subResponsesFailedCount};return re}))}}d.BlobBatchClient=BlobBatchClient},4894:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BlobDownloadResponse=void 0;const v=p(87779);const V=p(98684);class BlobDownloadResponse{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return this.originalResponse.copyCompletedOn}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get tagCount(){return this.originalResponse.tagCount}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get lastAccessed(){return this.originalResponse.lastAccessed}get createdOn(){return this.originalResponse.createdOn}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get versionId(){return this.originalResponse.versionId}get isCurrentVersion(){return this.originalResponse.isCurrentVersion}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get objectReplicationDestinationPolicyId(){return this.originalResponse.objectReplicationDestinationPolicyId}get objectReplicationSourceProperties(){return this.originalResponse.objectReplicationSourceProperties}get isSealed(){return this.originalResponse.isSealed}get immutabilityPolicyExpiresOn(){return this.originalResponse.immutabilityPolicyExpiresOn}get immutabilityPolicyMode(){return this.originalResponse.immutabilityPolicyMode}get legalHold(){return this.originalResponse.legalHold}get contentAsBlob(){return this.originalResponse.blobBody}get readableStreamBody(){return v.isNodeLike?this.blobDownloadStream:undefined}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(i,d,p,v,K={}){this.originalResponse=i;this.blobDownloadStream=new V.RetriableReadableStream(this.originalResponse.readableStreamBody,d,p,v,K)}}d.BlobDownloadResponse=BlobDownloadResponse},23276:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BlobLeaseClient=void 0;const v=p(87779);const V=p(27323);const K=p(53952);const ee=p(47764);class BlobLeaseClient{_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(i,d){const p=i.storageClientContext;this._url=i.url;if(i.name===undefined){this._isContainer=true;this._containerOrBlobOperation=p.container}else{this._isContainer=false;this._containerOrBlobOperation=p.blob}if(!d){d=(0,v.randomUUID)()}this._leaseId=d}async acquireLease(i,d={}){if(this._isContainer&&(d.conditions?.ifMatch&&d.conditions?.ifMatch!==V.ETagNone||d.conditions?.ifNoneMatch&&d.conditions?.ifNoneMatch!==V.ETagNone||d.conditions?.tagConditions)){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return K.tracingClient.withSpan("BlobLeaseClient-acquireLease",d,(async p=>(0,ee.assertResponse)(await this._containerOrBlobOperation.acquireLease({abortSignal:d.abortSignal,duration:i,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:p.tracingOptions}))))}async changeLease(i,d={}){if(this._isContainer&&(d.conditions?.ifMatch&&d.conditions?.ifMatch!==V.ETagNone||d.conditions?.ifNoneMatch&&d.conditions?.ifNoneMatch!==V.ETagNone||d.conditions?.tagConditions)){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return K.tracingClient.withSpan("BlobLeaseClient-changeLease",d,(async p=>{const v=(0,ee.assertResponse)(await this._containerOrBlobOperation.changeLease(this._leaseId,i,{abortSignal:d.abortSignal,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},tracingOptions:p.tracingOptions}));this._leaseId=i;return v}))}async releaseLease(i={}){if(this._isContainer&&(i.conditions?.ifMatch&&i.conditions?.ifMatch!==V.ETagNone||i.conditions?.ifNoneMatch&&i.conditions?.ifNoneMatch!==V.ETagNone||i.conditions?.tagConditions)){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return K.tracingClient.withSpan("BlobLeaseClient-releaseLease",i,(async d=>(0,ee.assertResponse)(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:i.abortSignal,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},tracingOptions:d.tracingOptions}))))}async renewLease(i={}){if(this._isContainer&&(i.conditions?.ifMatch&&i.conditions?.ifMatch!==V.ETagNone||i.conditions?.ifNoneMatch&&i.conditions?.ifNoneMatch!==V.ETagNone||i.conditions?.tagConditions)){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return K.tracingClient.withSpan("BlobLeaseClient-renewLease",i,(async d=>this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:i.abortSignal,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},tracingOptions:d.tracingOptions})))}async breakLease(i,d={}){if(this._isContainer&&(d.conditions?.ifMatch&&d.conditions?.ifMatch!==V.ETagNone||d.conditions?.ifNoneMatch&&d.conditions?.ifNoneMatch!==V.ETagNone||d.conditions?.tagConditions)){throw new RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.")}return K.tracingClient.withSpan("BlobLeaseClient-breakLease",d,(async p=>{const v={abortSignal:d.abortSignal,breakPeriod:i,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},tracingOptions:p.tracingOptions};return(0,ee.assertResponse)(await this._containerOrBlobOperation.breakLease(v))}))}}d.BlobLeaseClient=BlobLeaseClient},95602:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BlobQueryResponse=void 0;const v=p(87779);const V=p(36426);class BlobQueryResponse{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return undefined}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get blobBody(){return undefined}get readableStreamBody(){return v.isNodeLike?this.blobDownloadStream:undefined}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(i,d={}){this.originalResponse=i;this.blobDownloadStream=new V.BlobQuickQueryStream(this.originalResponse.readableStreamBody,d)}}d.BlobQueryResponse=BlobQueryResponse},96341:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BlobServiceClient=void 0;const v=p(50417);const V=p(20778);const K=p(87779);const ee=p(25984);const te=p(81884);const re=p(47764);const ne=p(51382);const se=p(47764);const ie=p(53952);const oe=p(12094);const ae=p(73542);const Ae=p(6358);const ce=p(85238);const le=p(46940);class BlobServiceClient extends ae.StorageClient{serviceContext;static fromConnectionString(i,d){d=d||{};const p=(0,re.extractConnectionStringParts)(i);if(p.kind==="AccountConnString"){if(K.isNodeLike){const i=new ne.StorageSharedKeyCredential(p.accountName,p.accountKey);if(!d.proxyOptions){d.proxyOptions=(0,V.getDefaultProxySettings)(p.proxyUri)}const v=(0,ee.newPipeline)(i,d);return new BlobServiceClient(p.url,v)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(p.kind==="SASConnString"){const i=(0,ee.newPipeline)(new ne.AnonymousCredential,d);return new BlobServiceClient(p.url+"?"+p.accountSas,i)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}constructor(i,d,p){let V;if((0,ee.isPipelineLike)(d)){V=d}else if(K.isNodeLike&&d instanceof ne.StorageSharedKeyCredential||d instanceof ne.AnonymousCredential||(0,v.isTokenCredential)(d)){V=(0,ee.newPipeline)(d,p)}else{V=(0,ee.newPipeline)(new ne.AnonymousCredential,p)}super(i,V);this.serviceContext=this.storageClientContext.service}getContainerClient(i){return new te.ContainerClient((0,re.appendToURLPath)(this.url,encodeURIComponent(i)),this.pipeline)}async createContainer(i,d={}){return ie.tracingClient.withSpan("BlobServiceClient-createContainer",d,(async d=>{const p=this.getContainerClient(i);const v=await p.create(d);return{containerClient:p,containerCreateResponse:v}}))}async deleteContainer(i,d={}){return ie.tracingClient.withSpan("BlobServiceClient-deleteContainer",d,(async d=>{const p=this.getContainerClient(i);return p.delete(d)}))}async undeleteContainer(i,d,p={}){return ie.tracingClient.withSpan("BlobServiceClient-undeleteContainer",p,(async v=>{const V=this.getContainerClient(p.destinationContainerName||i);const K=V["storageClientContext"].container;const ee=(0,se.assertResponse)(await K.restore({deletedContainerName:i,deletedContainerVersion:d,tracingOptions:v.tracingOptions}));return{containerClient:V,containerUndeleteResponse:ee}}))}async getProperties(i={}){return ie.tracingClient.withSpan("BlobServiceClient-getProperties",i,(async d=>(0,se.assertResponse)(await this.serviceContext.getProperties({abortSignal:i.abortSignal,tracingOptions:d.tracingOptions}))))}async setProperties(i,d={}){return ie.tracingClient.withSpan("BlobServiceClient-setProperties",d,(async p=>(0,se.assertResponse)(await this.serviceContext.setProperties(i,{abortSignal:d.abortSignal,tracingOptions:p.tracingOptions}))))}async getStatistics(i={}){return ie.tracingClient.withSpan("BlobServiceClient-getStatistics",i,(async d=>(0,se.assertResponse)(await this.serviceContext.getStatistics({abortSignal:i.abortSignal,tracingOptions:d.tracingOptions}))))}async getAccountInfo(i={}){return ie.tracingClient.withSpan("BlobServiceClient-getAccountInfo",i,(async d=>(0,se.assertResponse)(await this.serviceContext.getAccountInfo({abortSignal:i.abortSignal,tracingOptions:d.tracingOptions}))))}async listContainersSegment(i,d={}){return ie.tracingClient.withSpan("BlobServiceClient-listContainersSegment",d,(async p=>(0,se.assertResponse)(await this.serviceContext.listContainersSegment({abortSignal:d.abortSignal,marker:i,...d,include:typeof d.include==="string"?[d.include]:d.include,tracingOptions:p.tracingOptions}))))}async findBlobsByTagsSegment(i,d,p={}){return ie.tracingClient.withSpan("BlobServiceClient-findBlobsByTagsSegment",p,(async v=>{const V=(0,se.assertResponse)(await this.serviceContext.filterBlobs({abortSignal:p.abortSignal,where:i,marker:d,maxPageSize:p.maxPageSize,tracingOptions:v.tracingOptions}));const K={...V,_response:V._response,blobs:V.blobs.map((i=>{let d="";if(i.tags?.blobTagSet.length===1){d=i.tags.blobTagSet[0].value}return{...i,tags:(0,re.toTags)(i.tags),tagValue:d}}))};return K}))}async*findBlobsByTagsSegments(i,d,p={}){let v;if(!!d||d===undefined){do{v=await this.findBlobsByTagsSegment(i,d,p);v.blobs=v.blobs||[];d=v.continuationToken;yield v}while(d)}}async*findBlobsByTagsItems(i,d={}){let p;for await(const v of this.findBlobsByTagsSegments(i,p,d)){yield*v.blobs}}findBlobsByTags(i,d={}){const p={...d};const v=this.findBlobsByTagsItems(i,p);return{next(){return v.next()},[Symbol.asyncIterator](){return this},byPage:(d={})=>this.findBlobsByTagsSegments(i,d.continuationToken,{maxPageSize:d.maxPageSize,...p})}}async*listSegments(i,d={}){let p;if(!!i||i===undefined){do{p=await this.listContainersSegment(i,d);p.containerItems=p.containerItems||[];i=p.continuationToken;yield await p}while(i)}}async*listItems(i={}){let d;for await(const p of this.listSegments(d,i)){yield*p.containerItems}}listContainers(i={}){if(i.prefix===""){i.prefix=undefined}const d=[];if(i.includeDeleted){d.push("deleted")}if(i.includeMetadata){d.push("metadata")}if(i.includeSystem){d.push("system")}const p={...i,...d.length>0?{include:d}:{}};const v=this.listItems(p);return{next(){return v.next()},[Symbol.asyncIterator](){return this},byPage:(i={})=>this.listSegments(i.continuationToken,{maxPageSize:i.maxPageSize,...p})}}async getUserDelegationKey(i,d,p={}){return ie.tracingClient.withSpan("BlobServiceClient-getUserDelegationKey",p,(async v=>{const V=(0,se.assertResponse)(await this.serviceContext.getUserDelegationKey({startsOn:(0,se.truncatedISO8061Date)(i,false),expiresOn:(0,se.truncatedISO8061Date)(d,false)},{abortSignal:p.abortSignal,tracingOptions:v.tracingOptions}));const K={signedObjectId:V.signedObjectId,signedTenantId:V.signedTenantId,signedStartsOn:new Date(V.signedStartsOn),signedExpiresOn:new Date(V.signedExpiresOn),signedService:V.signedService,signedVersion:V.signedVersion,value:V.value};const ee={_response:V._response,requestId:V.requestId,clientRequestId:V.clientRequestId,version:V.version,date:V.date,errorCode:V.errorCode,...K};return ee}))}getBlobBatchClient(){return new oe.BlobBatchClient(this.url,this.pipeline)}generateAccountSasUrl(i,d=Ae.AccountSASPermissions.parse("r"),p="sco",v={}){if(!(this.credential instanceof ne.StorageSharedKeyCredential)){throw RangeError("Can only generate the account SAS when the client is initialized with a shared key credential")}if(i===undefined){const d=new Date;i=new Date(d.getTime()+3600*1e3)}const V=(0,ce.generateAccountSASQueryParameters)({permissions:d,expiresOn:i,resourceTypes:p,services:le.AccountSASServices.parse("b").toString(),...v},this.credential).toString();return(0,re.appendToURLQuery)(this.url,V)}generateSasStringToSign(i,d=Ae.AccountSASPermissions.parse("r"),p="sco",v={}){if(!(this.credential instanceof ne.StorageSharedKeyCredential)){throw RangeError("Can only generate the account SAS when the client is initialized with a shared key credential")}if(i===undefined){const d=new Date;i=new Date(d.getTime()+3600*1e3)}return(0,ce.generateAccountSASQueryParametersInternal)({permissions:d,expiresOn:i,resourceTypes:p,services:le.AccountSASServices.parse("b").toString(),...v},this.credential).stringToSign}}d.BlobServiceClient=BlobServiceClient},90372:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.PageBlobClient=d.BlockBlobClient=d.AppendBlobClient=d.BlobClient=void 0;const v=p(20778);const V=p(50417);const K=p(87779);const ee=p(87779);const te=p(4894);const re=p(95602);const ne=p(51382);const se=p(58560);const ie=p(95302);const oe=p(25984);const ae=p(73145);const Ae=p(52045);const ce=p(73542);const le=p(81582);const ue=p(51382);const de=p(27323);const he=p(53952);const fe=p(47764);const ge=p(53563);const pe=p(656);const me=p(23276);class BlobClient extends ce.StorageClient{blobContext;_name;_containerName;_versionId;_snapshot;get name(){return this._name}get containerName(){return this._containerName}constructor(i,d,p,ee){ee=ee||{};let te;let re;if((0,oe.isPipelineLike)(d)){re=i;te=d}else if(K.isNodeLike&&d instanceof ne.StorageSharedKeyCredential||d instanceof ne.AnonymousCredential||(0,V.isTokenCredential)(d)){re=i;ee=p;te=(0,oe.newPipeline)(d,ee)}else if(!d&&typeof d!=="string"){re=i;if(p&&typeof p!=="string"){ee=p}te=(0,oe.newPipeline)(new ne.AnonymousCredential,ee)}else if(d&&typeof d==="string"&&p&&typeof p==="string"){const V=d;const se=p;const ie=(0,fe.extractConnectionStringParts)(i);if(ie.kind==="AccountConnString"){if(K.isNodeLike){const i=new ne.StorageSharedKeyCredential(ie.accountName,ie.accountKey);re=(0,fe.appendToURLPath)((0,fe.appendToURLPath)(ie.url,encodeURIComponent(V)),encodeURIComponent(se));if(!ee.proxyOptions){ee.proxyOptions=(0,v.getDefaultProxySettings)(ie.proxyUri)}te=(0,oe.newPipeline)(i,ee)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(ie.kind==="SASConnString"){re=(0,fe.appendToURLPath)((0,fe.appendToURLPath)(ie.url,encodeURIComponent(V)),encodeURIComponent(se))+"?"+ie.accountSas;te=(0,oe.newPipeline)(new ne.AnonymousCredential,ee)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}else{throw new Error("Expecting non-empty strings for containerName and blobName parameters")}super(re,te);({blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl());this.blobContext=this.storageClientContext.blob;this._snapshot=(0,fe.getURLParameter)(this.url,de.URLConstants.Parameters.SNAPSHOT);this._versionId=(0,fe.getURLParameter)(this.url,de.URLConstants.Parameters.VERSIONID)}withSnapshot(i){return new BlobClient((0,fe.setURLParameter)(this.url,de.URLConstants.Parameters.SNAPSHOT,i.length===0?undefined:i),this.pipeline)}withVersion(i){return new BlobClient((0,fe.setURLParameter)(this.url,de.URLConstants.Parameters.VERSIONID,i.length===0?undefined:i),this.pipeline)}getAppendBlobClient(){return new AppendBlobClient(this.url,this.pipeline)}getBlockBlobClient(){return new BlockBlobClient(this.url,this.pipeline)}getPageBlobClient(){return new PageBlobClient(this.url,this.pipeline)}async download(i=0,d,p={}){p.conditions=p.conditions||{};p.conditions=p.conditions||{};(0,se.ensureCpkIfSpecified)(p.customerProvidedKey,this.isHttps);return he.tracingClient.withSpan("BlobClient-download",p,(async v=>{const V=(0,fe.assertResponse)(await this.blobContext.download({abortSignal:p.abortSignal,leaseAccessConditions:p.conditions,modifiedAccessConditions:{...p.conditions,ifTags:p.conditions?.tagConditions},requestOptions:{onDownloadProgress:K.isNodeLike?undefined:p.onProgress},range:i===0&&!d?undefined:(0,Ae.rangeToString)({offset:i,count:d}),rangeGetContentMD5:p.rangeGetContentMD5,rangeGetContentCRC64:p.rangeGetContentCrc64,snapshot:p.snapshot,cpkInfo:p.customerProvidedKey,tracingOptions:v.tracingOptions}));const ee={...V,_response:V._response,objectReplicationDestinationPolicyId:V.objectReplicationPolicyId,objectReplicationSourceProperties:(0,fe.parseObjectReplicationRecord)(V.objectReplicationRules)};if(!K.isNodeLike){return ee}if(p.maxRetryRequests===undefined||p.maxRetryRequests<0){p.maxRetryRequests=de.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS}if(V.contentLength===undefined){throw new RangeError(`File download response doesn't contain valid content length header`)}if(!V.etag){throw new RangeError(`File download response doesn't contain valid etag header`)}return new te.BlobDownloadResponse(ee,(async d=>{const v={leaseAccessConditions:p.conditions,modifiedAccessConditions:{ifMatch:p.conditions.ifMatch||V.etag,ifModifiedSince:p.conditions.ifModifiedSince,ifNoneMatch:p.conditions.ifNoneMatch,ifUnmodifiedSince:p.conditions.ifUnmodifiedSince,ifTags:p.conditions?.tagConditions},range:(0,Ae.rangeToString)({count:i+V.contentLength-d,offset:d}),rangeGetContentMD5:p.rangeGetContentMD5,rangeGetContentCRC64:p.rangeGetContentCrc64,snapshot:p.snapshot,cpkInfo:p.customerProvidedKey};return(await this.blobContext.download({abortSignal:p.abortSignal,...v})).readableStreamBody}),i,V.contentLength,{maxRetryRequests:p.maxRetryRequests,onProgress:p.onProgress})}))}async exists(i={}){return he.tracingClient.withSpan("BlobClient-exists",i,(async d=>{try{(0,se.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps);await this.getProperties({abortSignal:i.abortSignal,customerProvidedKey:i.customerProvidedKey,conditions:i.conditions,tracingOptions:d.tracingOptions});return true}catch(i){if(i.statusCode===404){return false}else if(i.statusCode===409&&(i.details.errorCode===de.BlobUsesCustomerSpecifiedEncryptionMsg||i.details.errorCode===de.BlobDoesNotUseCustomerSpecifiedEncryption)){return true}throw i}}))}async getProperties(i={}){i.conditions=i.conditions||{};(0,se.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps);return he.tracingClient.withSpan("BlobClient-getProperties",i,(async d=>{const p=(0,fe.assertResponse)(await this.blobContext.getProperties({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},cpkInfo:i.customerProvidedKey,tracingOptions:d.tracingOptions}));return{...p,_response:p._response,objectReplicationDestinationPolicyId:p.objectReplicationPolicyId,objectReplicationSourceProperties:(0,fe.parseObjectReplicationRecord)(p.objectReplicationRules)}}))}async delete(i={}){i.conditions=i.conditions||{};return he.tracingClient.withSpan("BlobClient-delete",i,(async d=>(0,fe.assertResponse)(await this.blobContext.delete({abortSignal:i.abortSignal,deleteSnapshots:i.deleteSnapshots,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},tracingOptions:d.tracingOptions}))))}async deleteIfExists(i={}){return he.tracingClient.withSpan("BlobClient-deleteIfExists",i,(async i=>{try{const d=(0,fe.assertResponse)(await this.delete(i));return{succeeded:true,...d,_response:d._response}}catch(i){if(i.details?.errorCode==="BlobNotFound"){return{succeeded:false,...i.response?.parsedHeaders,_response:i.response}}throw i}}))}async undelete(i={}){return he.tracingClient.withSpan("BlobClient-undelete",i,(async d=>(0,fe.assertResponse)(await this.blobContext.undelete({abortSignal:i.abortSignal,tracingOptions:d.tracingOptions}))))}async setHTTPHeaders(i,d={}){d.conditions=d.conditions||{};(0,se.ensureCpkIfSpecified)(d.customerProvidedKey,this.isHttps);return he.tracingClient.withSpan("BlobClient-setHTTPHeaders",d,(async p=>(0,fe.assertResponse)(await this.blobContext.setHttpHeaders({abortSignal:d.abortSignal,blobHttpHeaders:i,leaseAccessConditions:d.conditions,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},tracingOptions:p.tracingOptions}))))}async setMetadata(i,d={}){d.conditions=d.conditions||{};(0,se.ensureCpkIfSpecified)(d.customerProvidedKey,this.isHttps);return he.tracingClient.withSpan("BlobClient-setMetadata",d,(async p=>(0,fe.assertResponse)(await this.blobContext.setMetadata({abortSignal:d.abortSignal,leaseAccessConditions:d.conditions,metadata:i,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},cpkInfo:d.customerProvidedKey,encryptionScope:d.encryptionScope,tracingOptions:p.tracingOptions}))))}async setTags(i,d={}){return he.tracingClient.withSpan("BlobClient-setTags",d,(async p=>(0,fe.assertResponse)(await this.blobContext.setTags({abortSignal:d.abortSignal,leaseAccessConditions:d.conditions,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},blobModifiedAccessConditions:d.conditions,tracingOptions:p.tracingOptions,tags:(0,fe.toBlobTags)(i)}))))}async getTags(i={}){return he.tracingClient.withSpan("BlobClient-getTags",i,(async d=>{const p=(0,fe.assertResponse)(await this.blobContext.getTags({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},blobModifiedAccessConditions:i.conditions,tracingOptions:d.tracingOptions}));const v={...p,_response:p._response,tags:(0,fe.toTags)({blobTagSet:p.blobTagSet})||{}};return v}))}getBlobLeaseClient(i){return new me.BlobLeaseClient(this,i)}async createSnapshot(i={}){i.conditions=i.conditions||{};(0,se.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps);return he.tracingClient.withSpan("BlobClient-createSnapshot",i,(async d=>(0,fe.assertResponse)(await this.blobContext.createSnapshot({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,metadata:i.metadata,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:d.tracingOptions}))))}async beginCopyFromURL(i,d={}){const p={abortCopyFromURL:(...i)=>this.abortCopyFromURL(...i),getProperties:(...i)=>this.getProperties(...i),startCopyFromURL:(...i)=>this.startCopyFromURL(...i)};const v=new ae.BlobBeginCopyFromUrlPoller({blobClient:p,copySource:i,intervalInMs:d.intervalInMs,onProgress:d.onProgress,resumeFrom:d.resumeFrom,startCopyFromURLOptions:d});await v.poll();return v}async abortCopyFromURL(i,d={}){return he.tracingClient.withSpan("BlobClient-abortCopyFromURL",d,(async p=>(0,fe.assertResponse)(await this.blobContext.abortCopyFromURL(i,{abortSignal:d.abortSignal,leaseAccessConditions:d.conditions,tracingOptions:p.tracingOptions}))))}async syncCopyFromURL(i,d={}){d.conditions=d.conditions||{};d.sourceConditions=d.sourceConditions||{};return he.tracingClient.withSpan("BlobClient-syncCopyFromURL",d,(async p=>(0,fe.assertResponse)(await this.blobContext.copyFromURL(i,{abortSignal:d.abortSignal,metadata:d.metadata,leaseAccessConditions:d.conditions,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:d.sourceConditions?.ifMatch,sourceIfModifiedSince:d.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:d.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:d.sourceConditions?.ifUnmodifiedSince},sourceContentMD5:d.sourceContentMD5,copySourceAuthorization:(0,fe.httpAuthorizationToString)(d.sourceAuthorization),tier:(0,se.toAccessTier)(d.tier),blobTagsString:(0,fe.toBlobTagsString)(d.tags),immutabilityPolicyExpiry:d.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:d.immutabilityPolicy?.policyMode,legalHold:d.legalHold,encryptionScope:d.encryptionScope,copySourceTags:d.copySourceTags,fileRequestIntent:d.sourceShareTokenIntent,tracingOptions:p.tracingOptions}))))}async setAccessTier(i,d={}){return he.tracingClient.withSpan("BlobClient-setAccessTier",d,(async p=>(0,fe.assertResponse)(await this.blobContext.setTier((0,se.toAccessTier)(i),{abortSignal:d.abortSignal,leaseAccessConditions:d.conditions,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},rehydratePriority:d.rehydratePriority,tracingOptions:p.tracingOptions}))))}async downloadToBuffer(i,d,p,v={}){let V;let K=0;let ee=0;let te=v;if(i instanceof Buffer){V=i;K=d||0;ee=typeof p==="number"?p:0}else{K=typeof i==="number"?i:0;ee=typeof d==="number"?d:0;te=p||{}}let re=te.blockSize??0;if(re<0){throw new RangeError("blockSize option must be >= 0")}if(re===0){re=de.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES}if(K<0){throw new RangeError("offset option must be >= 0")}if(ee&&ee<=0){throw new RangeError("count option must be greater than 0")}if(!te.conditions){te.conditions={}}return he.tracingClient.withSpan("BlobClient-downloadToBuffer",te,(async i=>{if(!ee){const d=await this.getProperties({...te,tracingOptions:i.tracingOptions});ee=d.contentLength-K;if(ee<0){throw new RangeError(`offset ${K} shouldn't be larger than blob size ${d.contentLength}`)}}if(!V){try{V=Buffer.alloc(ee)}catch(i){throw new Error(`Unable to allocate the buffer of size: ${ee}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile".\t ${i.message}`)}}if(V.length{let p=K+ee;if(v+re{const K=await this.download(d,p,{...v,tracingOptions:V.tracingOptions});if(K.readableStreamBody){await(0,ge.readStreamToLocalFile)(K.readableStreamBody,i)}K.blobDownloadStream=undefined;return K}))}getBlobAndContainerNamesFromUrl(){let i;let d;try{const p=new URL(this.url);if(p.host.split(".")[1]==="blob"){const v=p.pathname.match("/([^/]*)(/(.*))?");i=v[1];d=v[3]}else if((0,fe.isIpEndpointStyle)(p)){const v=p.pathname.match("/([^/]*)/([^/]*)(/(.*))?");i=v[2];d=v[4]}else{const v=p.pathname.match("/([^/]*)(/(.*))?");i=v[1];d=v[3]}i=decodeURIComponent(i);d=decodeURIComponent(d);d=d.replace(/\\/g,"/");if(!i){throw new Error("Provided containerName is invalid.")}return{blobName:d,containerName:i}}catch(i){throw new Error("Unable to extract blobName and containerName with provided information.")}}async startCopyFromURL(i,d={}){return he.tracingClient.withSpan("BlobClient-startCopyFromURL",d,(async p=>{d.conditions=d.conditions||{};d.sourceConditions=d.sourceConditions||{};return(0,fe.assertResponse)(await this.blobContext.startCopyFromURL(i,{abortSignal:d.abortSignal,leaseAccessConditions:d.conditions,metadata:d.metadata,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:d.sourceConditions.ifMatch,sourceIfModifiedSince:d.sourceConditions.ifModifiedSince,sourceIfNoneMatch:d.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:d.sourceConditions.ifUnmodifiedSince,sourceIfTags:d.sourceConditions.tagConditions},immutabilityPolicyExpiry:d.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:d.immutabilityPolicy?.policyMode,legalHold:d.legalHold,rehydratePriority:d.rehydratePriority,tier:(0,se.toAccessTier)(d.tier),blobTagsString:(0,fe.toBlobTagsString)(d.tags),sealBlob:d.sealBlob,tracingOptions:p.tracingOptions}))}))}generateSasUrl(i){return new Promise((d=>{if(!(this.credential instanceof ne.StorageSharedKeyCredential)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}const p=(0,pe.generateBlobSASQueryParameters)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...i},this.credential).toString();d((0,fe.appendToURLQuery)(this.url,p))}))}generateSasStringToSign(i){if(!(this.credential instanceof ne.StorageSharedKeyCredential)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}return(0,pe.generateBlobSASQueryParametersInternal)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...i},this.credential).stringToSign}generateUserDelegationSasUrl(i,d){return new Promise((p=>{const v=(0,pe.generateBlobSASQueryParameters)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...i},d,this.accountName).toString();p((0,fe.appendToURLQuery)(this.url,v))}))}generateUserDelegationSasStringToSign(i,d){return(0,pe.generateBlobSASQueryParametersInternal)({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...i},d,this.accountName).stringToSign}async deleteImmutabilityPolicy(i={}){return he.tracingClient.withSpan("BlobClient-deleteImmutabilityPolicy",i,(async i=>(0,fe.assertResponse)(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:i.tracingOptions}))))}async setImmutabilityPolicy(i,d={}){return he.tracingClient.withSpan("BlobClient-setImmutabilityPolicy",d,(async d=>(0,fe.assertResponse)(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:i.expiriesOn,immutabilityPolicyMode:i.policyMode,tracingOptions:d.tracingOptions}))))}async setLegalHold(i,d={}){return he.tracingClient.withSpan("BlobClient-setLegalHold",d,(async d=>(0,fe.assertResponse)(await this.blobContext.setLegalHold(i,{tracingOptions:d.tracingOptions}))))}async getAccountInfo(i={}){return he.tracingClient.withSpan("BlobClient-getAccountInfo",i,(async d=>(0,fe.assertResponse)(await this.blobContext.getAccountInfo({abortSignal:i.abortSignal,tracingOptions:d.tracingOptions}))))}}d.BlobClient=BlobClient;class AppendBlobClient extends BlobClient{appendBlobContext;constructor(i,d,p,ee){let te;let re;ee=ee||{};if((0,oe.isPipelineLike)(d)){re=i;te=d}else if(K.isNodeLike&&d instanceof ne.StorageSharedKeyCredential||d instanceof ne.AnonymousCredential||(0,V.isTokenCredential)(d)){re=i;ee=p;te=(0,oe.newPipeline)(d,ee)}else if(!d&&typeof d!=="string"){re=i;te=(0,oe.newPipeline)(new ne.AnonymousCredential,ee)}else if(d&&typeof d==="string"&&p&&typeof p==="string"){const V=d;const se=p;const ie=(0,fe.extractConnectionStringParts)(i);if(ie.kind==="AccountConnString"){if(K.isNodeLike){const i=new ne.StorageSharedKeyCredential(ie.accountName,ie.accountKey);re=(0,fe.appendToURLPath)((0,fe.appendToURLPath)(ie.url,encodeURIComponent(V)),encodeURIComponent(se));if(!ee.proxyOptions){ee.proxyOptions=(0,v.getDefaultProxySettings)(ie.proxyUri)}te=(0,oe.newPipeline)(i,ee)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(ie.kind==="SASConnString"){re=(0,fe.appendToURLPath)((0,fe.appendToURLPath)(ie.url,encodeURIComponent(V)),encodeURIComponent(se))+"?"+ie.accountSas;te=(0,oe.newPipeline)(new ne.AnonymousCredential,ee)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}else{throw new Error("Expecting non-empty strings for containerName and blobName parameters")}super(re,te);this.appendBlobContext=this.storageClientContext.appendBlob}withSnapshot(i){return new AppendBlobClient((0,fe.setURLParameter)(this.url,de.URLConstants.Parameters.SNAPSHOT,i.length===0?undefined:i),this.pipeline)}async create(i={}){i.conditions=i.conditions||{};(0,se.ensureCpkIfSpecified)(i.customerProvidedKey,this.isHttps);return he.tracingClient.withSpan("AppendBlobClient-create",i,(async d=>(0,fe.assertResponse)(await this.appendBlobContext.create(0,{abortSignal:i.abortSignal,blobHttpHeaders:i.blobHTTPHeaders,leaseAccessConditions:i.conditions,metadata:i.metadata,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,immutabilityPolicyExpiry:i.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:i.immutabilityPolicy?.policyMode,legalHold:i.legalHold,blobTagsString:(0,fe.toBlobTagsString)(i.tags),tracingOptions:d.tracingOptions}))))}async createIfNotExists(i={}){const d={ifNoneMatch:de.ETagAny};return he.tracingClient.withSpan("AppendBlobClient-createIfNotExists",i,(async i=>{try{const p=(0,fe.assertResponse)(await this.create({...i,conditions:d}));return{succeeded:true,...p,_response:p._response}}catch(i){if(i.details?.errorCode==="BlobAlreadyExists"){return{succeeded:false,...i.response?.parsedHeaders,_response:i.response}}throw i}}))}async seal(i={}){i.conditions=i.conditions||{};return he.tracingClient.withSpan("AppendBlobClient-seal",i,(async d=>(0,fe.assertResponse)(await this.appendBlobContext.seal({abortSignal:i.abortSignal,appendPositionAccessConditions:i.conditions,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},tracingOptions:d.tracingOptions}))))}async appendBlock(i,d,p={}){p.conditions=p.conditions||{};(0,se.ensureCpkIfSpecified)(p.customerProvidedKey,this.isHttps);return he.tracingClient.withSpan("AppendBlobClient-appendBlock",p,(async v=>(0,fe.assertResponse)(await this.appendBlobContext.appendBlock(d,i,{abortSignal:p.abortSignal,appendPositionAccessConditions:p.conditions,leaseAccessConditions:p.conditions,modifiedAccessConditions:{...p.conditions,ifTags:p.conditions?.tagConditions},requestOptions:{onUploadProgress:p.onProgress},transactionalContentMD5:p.transactionalContentMD5,transactionalContentCrc64:p.transactionalContentCrc64,cpkInfo:p.customerProvidedKey,encryptionScope:p.encryptionScope,tracingOptions:v.tracingOptions}))))}async appendBlockFromURL(i,d,p,v={}){v.conditions=v.conditions||{};v.sourceConditions=v.sourceConditions||{};(0,se.ensureCpkIfSpecified)(v.customerProvidedKey,this.isHttps);return he.tracingClient.withSpan("AppendBlobClient-appendBlockFromURL",v,(async V=>(0,fe.assertResponse)(await this.appendBlobContext.appendBlockFromUrl(i,0,{abortSignal:v.abortSignal,sourceRange:(0,Ae.rangeToString)({offset:d,count:p}),sourceContentMD5:v.sourceContentMD5,sourceContentCrc64:v.sourceContentCrc64,leaseAccessConditions:v.conditions,appendPositionAccessConditions:v.conditions,modifiedAccessConditions:{...v.conditions,ifTags:v.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:v.sourceConditions?.ifMatch,sourceIfModifiedSince:v.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:v.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:v.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:(0,fe.httpAuthorizationToString)(v.sourceAuthorization),cpkInfo:v.customerProvidedKey,encryptionScope:v.encryptionScope,fileRequestIntent:v.sourceShareTokenIntent,tracingOptions:V.tracingOptions}))))}}d.AppendBlobClient=AppendBlobClient;class BlockBlobClient extends BlobClient{_blobContext;blockBlobContext;constructor(i,d,p,ee){let te;let re;ee=ee||{};if((0,oe.isPipelineLike)(d)){re=i;te=d}else if(K.isNodeLike&&d instanceof ne.StorageSharedKeyCredential||d instanceof ne.AnonymousCredential||(0,V.isTokenCredential)(d)){re=i;ee=p;te=(0,oe.newPipeline)(d,ee)}else if(!d&&typeof d!=="string"){re=i;if(p&&typeof p!=="string"){ee=p}te=(0,oe.newPipeline)(new ne.AnonymousCredential,ee)}else if(d&&typeof d==="string"&&p&&typeof p==="string"){const V=d;const se=p;const ie=(0,fe.extractConnectionStringParts)(i);if(ie.kind==="AccountConnString"){if(K.isNodeLike){const i=new ne.StorageSharedKeyCredential(ie.accountName,ie.accountKey);re=(0,fe.appendToURLPath)((0,fe.appendToURLPath)(ie.url,encodeURIComponent(V)),encodeURIComponent(se));if(!ee.proxyOptions){ee.proxyOptions=(0,v.getDefaultProxySettings)(ie.proxyUri)}te=(0,oe.newPipeline)(i,ee)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(ie.kind==="SASConnString"){re=(0,fe.appendToURLPath)((0,fe.appendToURLPath)(ie.url,encodeURIComponent(V)),encodeURIComponent(se))+"?"+ie.accountSas;te=(0,oe.newPipeline)(new ne.AnonymousCredential,ee)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}else{throw new Error("Expecting non-empty strings for containerName and blobName parameters")}super(re,te);this.blockBlobContext=this.storageClientContext.blockBlob;this._blobContext=this.storageClientContext.blob}withSnapshot(i){return new BlockBlobClient((0,fe.setURLParameter)(this.url,de.URLConstants.Parameters.SNAPSHOT,i.length===0?undefined:i),this.pipeline)}async query(i,d={}){(0,se.ensureCpkIfSpecified)(d.customerProvidedKey,this.isHttps);if(!K.isNodeLike){throw new Error("This operation currently is only supported in Node.js.")}return he.tracingClient.withSpan("BlockBlobClient-query",d,(async p=>{const v=(0,fe.assertResponse)(await this._blobContext.query({abortSignal:d.abortSignal,queryRequest:{queryType:"SQL",expression:i,inputSerialization:(0,fe.toQuerySerialization)(d.inputTextConfiguration),outputSerialization:(0,fe.toQuerySerialization)(d.outputTextConfiguration)},leaseAccessConditions:d.conditions,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},cpkInfo:d.customerProvidedKey,tracingOptions:p.tracingOptions}));return new re.BlobQueryResponse(v,{abortSignal:d.abortSignal,onProgress:d.onProgress,onError:d.onError})}))}async upload(i,d,p={}){p.conditions=p.conditions||{};(0,se.ensureCpkIfSpecified)(p.customerProvidedKey,this.isHttps);return he.tracingClient.withSpan("BlockBlobClient-upload",p,(async v=>(0,fe.assertResponse)(await this.blockBlobContext.upload(d,i,{abortSignal:p.abortSignal,blobHttpHeaders:p.blobHTTPHeaders,leaseAccessConditions:p.conditions,metadata:p.metadata,modifiedAccessConditions:{...p.conditions,ifTags:p.conditions?.tagConditions},requestOptions:{onUploadProgress:p.onProgress},cpkInfo:p.customerProvidedKey,encryptionScope:p.encryptionScope,immutabilityPolicyExpiry:p.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:p.immutabilityPolicy?.policyMode,legalHold:p.legalHold,tier:(0,se.toAccessTier)(p.tier),blobTagsString:(0,fe.toBlobTagsString)(p.tags),tracingOptions:v.tracingOptions}))))}async syncUploadFromURL(i,d={}){d.conditions=d.conditions||{};(0,se.ensureCpkIfSpecified)(d.customerProvidedKey,this.isHttps);return he.tracingClient.withSpan("BlockBlobClient-syncUploadFromURL",d,(async p=>(0,fe.assertResponse)(await this.blockBlobContext.putBlobFromUrl(0,i,{...d,blobHttpHeaders:d.blobHTTPHeaders,leaseAccessConditions:d.conditions,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:d.sourceConditions?.ifMatch,sourceIfModifiedSince:d.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:d.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:d.sourceConditions?.ifUnmodifiedSince,sourceIfTags:d.sourceConditions?.tagConditions},cpkInfo:d.customerProvidedKey,copySourceAuthorization:(0,fe.httpAuthorizationToString)(d.sourceAuthorization),tier:(0,se.toAccessTier)(d.tier),blobTagsString:(0,fe.toBlobTagsString)(d.tags),copySourceTags:d.copySourceTags,fileRequestIntent:d.sourceShareTokenIntent,tracingOptions:p.tracingOptions}))))}async stageBlock(i,d,p,v={}){(0,se.ensureCpkIfSpecified)(v.customerProvidedKey,this.isHttps);return he.tracingClient.withSpan("BlockBlobClient-stageBlock",v,(async V=>(0,fe.assertResponse)(await this.blockBlobContext.stageBlock(i,p,d,{abortSignal:v.abortSignal,leaseAccessConditions:v.conditions,requestOptions:{onUploadProgress:v.onProgress},transactionalContentMD5:v.transactionalContentMD5,transactionalContentCrc64:v.transactionalContentCrc64,cpkInfo:v.customerProvidedKey,encryptionScope:v.encryptionScope,tracingOptions:V.tracingOptions}))))}async stageBlockFromURL(i,d,p=0,v,V={}){(0,se.ensureCpkIfSpecified)(V.customerProvidedKey,this.isHttps);return he.tracingClient.withSpan("BlockBlobClient-stageBlockFromURL",V,(async K=>(0,fe.assertResponse)(await this.blockBlobContext.stageBlockFromURL(i,0,d,{abortSignal:V.abortSignal,leaseAccessConditions:V.conditions,sourceContentMD5:V.sourceContentMD5,sourceContentCrc64:V.sourceContentCrc64,sourceRange:p===0&&!v?undefined:(0,Ae.rangeToString)({offset:p,count:v}),cpkInfo:V.customerProvidedKey,encryptionScope:V.encryptionScope,copySourceAuthorization:(0,fe.httpAuthorizationToString)(V.sourceAuthorization),fileRequestIntent:V.sourceShareTokenIntent,tracingOptions:K.tracingOptions}))))}async commitBlockList(i,d={}){d.conditions=d.conditions||{};(0,se.ensureCpkIfSpecified)(d.customerProvidedKey,this.isHttps);return he.tracingClient.withSpan("BlockBlobClient-commitBlockList",d,(async p=>(0,fe.assertResponse)(await this.blockBlobContext.commitBlockList({latest:i},{abortSignal:d.abortSignal,blobHttpHeaders:d.blobHTTPHeaders,leaseAccessConditions:d.conditions,metadata:d.metadata,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},cpkInfo:d.customerProvidedKey,encryptionScope:d.encryptionScope,immutabilityPolicyExpiry:d.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:d.immutabilityPolicy?.policyMode,legalHold:d.legalHold,tier:(0,se.toAccessTier)(d.tier),blobTagsString:(0,fe.toBlobTagsString)(d.tags),tracingOptions:p.tracingOptions}))))}async getBlockList(i,d={}){return he.tracingClient.withSpan("BlockBlobClient-getBlockList",d,(async p=>{const v=(0,fe.assertResponse)(await this.blockBlobContext.getBlockList(i,{abortSignal:d.abortSignal,leaseAccessConditions:d.conditions,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},tracingOptions:p.tracingOptions}));if(!v.committedBlocks){v.committedBlocks=[]}if(!v.uncommittedBlocks){v.uncommittedBlocks=[]}return v}))}async uploadData(i,d={}){return he.tracingClient.withSpan("BlockBlobClient-uploadData",d,(async d=>{if(K.isNodeLike){let p;if(i instanceof Buffer){p=i}else if(i instanceof ArrayBuffer){p=Buffer.from(i)}else{i=i;p=Buffer.from(i.buffer,i.byteOffset,i.byteLength)}return this.uploadSeekableInternal(((i,d)=>p.slice(i,i+d)),p.byteLength,d)}else{const p=new Blob([i]);return this.uploadSeekableInternal(((i,d)=>p.slice(i,i+d)),p.size,d)}}))}async uploadBrowserData(i,d={}){return he.tracingClient.withSpan("BlockBlobClient-uploadBrowserData",d,(async d=>{const p=new Blob([i]);return this.uploadSeekableInternal(((i,d)=>p.slice(i,i+d)),p.size,d)}))}async uploadSeekableInternal(i,d,p={}){let v=p.blockSize??0;if(v<0||v>de.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES){throw new RangeError(`blockSize option must be >= 0 and <= ${de.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES}`)}const V=p.maxSingleShotSize??de.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES;if(V<0||V>de.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES){throw new RangeError(`maxSingleShotSize option must be >= 0 and <= ${de.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES}`)}if(v===0){if(d>de.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES*de.BLOCK_BLOB_MAX_BLOCKS){throw new RangeError(`${d} is too larger to upload to a block blob.`)}if(d>V){v=Math.ceil(d/de.BLOCK_BLOB_MAX_BLOCKS);if(v{if(d<=V){return(0,fe.assertResponse)(await this.upload(i(0,d),d,K))}const te=Math.floor((d-1)/v)+1;if(te>de.BLOCK_BLOB_MAX_BLOCKS){throw new RangeError(`The buffer's size is too big or the BlockSize is too small;`+`the number of blocks must be <= ${de.BLOCK_BLOB_MAX_BLOCKS}`)}const re=[];const ne=(0,ee.randomUUID)();let se=0;const ie=new le.Batch(p.concurrency);for(let V=0;V{const ee=(0,fe.generateBlockID)(ne,V);const ie=v*V;const oe=V===te-1?d:ie+v;const ae=oe-ie;re.push(ee);await this.stageBlock(ee,i(ie,ae),ae,{abortSignal:p.abortSignal,conditions:p.conditions,encryptionScope:p.encryptionScope,tracingOptions:K.tracingOptions});se+=ae;if(p.onProgress){p.onProgress({loadedBytes:se})}}))}await ie.do();return this.commitBlockList(re,K)}))}async uploadFile(i,d={}){return he.tracingClient.withSpan("BlockBlobClient-uploadFile",d,(async p=>{const v=(await(0,ge.fsStat)(i)).size;return this.uploadSeekableInternal(((d,p)=>()=>(0,ge.fsCreateReadStream)(i,{autoClose:true,end:p?d+p-1:Infinity,start:d})),v,{...d,tracingOptions:p.tracingOptions})}))}async uploadStream(i,d=de.DEFAULT_BLOCK_BUFFER_SIZE_BYTES,p=5,v={}){if(!v.blobHTTPHeaders){v.blobHTTPHeaders={}}if(!v.conditions){v.conditions={}}return he.tracingClient.withSpan("BlockBlobClient-uploadStream",v,(async V=>{let K=0;const te=(0,ee.randomUUID)();let re=0;const ne=[];const se=new ue.BufferScheduler(i,d,p,(async(i,d)=>{const p=(0,fe.generateBlockID)(te,K);ne.push(p);K++;await this.stageBlock(p,i,d,{customerProvidedKey:v.customerProvidedKey,conditions:v.conditions,encryptionScope:v.encryptionScope,tracingOptions:V.tracingOptions});re+=d;if(v.onProgress){v.onProgress({loadedBytes:re})}}),Math.ceil(p/4*3));await se.do();return(0,fe.assertResponse)(await this.commitBlockList(ne,{...v,tracingOptions:V.tracingOptions}))}))}}d.BlockBlobClient=BlockBlobClient;class PageBlobClient extends BlobClient{pageBlobContext;constructor(i,d,p,ee){let te;let re;ee=ee||{};if((0,oe.isPipelineLike)(d)){re=i;te=d}else if(K.isNodeLike&&d instanceof ne.StorageSharedKeyCredential||d instanceof ne.AnonymousCredential||(0,V.isTokenCredential)(d)){re=i;ee=p;te=(0,oe.newPipeline)(d,ee)}else if(!d&&typeof d!=="string"){re=i;te=(0,oe.newPipeline)(new ne.AnonymousCredential,ee)}else if(d&&typeof d==="string"&&p&&typeof p==="string"){const V=d;const se=p;const ie=(0,fe.extractConnectionStringParts)(i);if(ie.kind==="AccountConnString"){if(K.isNodeLike){const i=new ne.StorageSharedKeyCredential(ie.accountName,ie.accountKey);re=(0,fe.appendToURLPath)((0,fe.appendToURLPath)(ie.url,encodeURIComponent(V)),encodeURIComponent(se));if(!ee.proxyOptions){ee.proxyOptions=(0,v.getDefaultProxySettings)(ie.proxyUri)}te=(0,oe.newPipeline)(i,ee)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(ie.kind==="SASConnString"){re=(0,fe.appendToURLPath)((0,fe.appendToURLPath)(ie.url,encodeURIComponent(V)),encodeURIComponent(se))+"?"+ie.accountSas;te=(0,oe.newPipeline)(new ne.AnonymousCredential,ee)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}else{throw new Error("Expecting non-empty strings for containerName and blobName parameters")}super(re,te);this.pageBlobContext=this.storageClientContext.pageBlob}withSnapshot(i){return new PageBlobClient((0,fe.setURLParameter)(this.url,de.URLConstants.Parameters.SNAPSHOT,i.length===0?undefined:i),this.pipeline)}async create(i,d={}){d.conditions=d.conditions||{};(0,se.ensureCpkIfSpecified)(d.customerProvidedKey,this.isHttps);return he.tracingClient.withSpan("PageBlobClient-create",d,(async p=>(0,fe.assertResponse)(await this.pageBlobContext.create(0,i,{abortSignal:d.abortSignal,blobHttpHeaders:d.blobHTTPHeaders,blobSequenceNumber:d.blobSequenceNumber,leaseAccessConditions:d.conditions,metadata:d.metadata,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},cpkInfo:d.customerProvidedKey,encryptionScope:d.encryptionScope,immutabilityPolicyExpiry:d.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:d.immutabilityPolicy?.policyMode,legalHold:d.legalHold,tier:(0,se.toAccessTier)(d.tier),blobTagsString:(0,fe.toBlobTagsString)(d.tags),tracingOptions:p.tracingOptions}))))}async createIfNotExists(i,d={}){return he.tracingClient.withSpan("PageBlobClient-createIfNotExists",d,(async p=>{try{const v={ifNoneMatch:de.ETagAny};const V=(0,fe.assertResponse)(await this.create(i,{...d,conditions:v,tracingOptions:p.tracingOptions}));return{succeeded:true,...V,_response:V._response}}catch(i){if(i.details?.errorCode==="BlobAlreadyExists"){return{succeeded:false,...i.response?.parsedHeaders,_response:i.response}}throw i}}))}async uploadPages(i,d,p,v={}){v.conditions=v.conditions||{};(0,se.ensureCpkIfSpecified)(v.customerProvidedKey,this.isHttps);return he.tracingClient.withSpan("PageBlobClient-uploadPages",v,(async V=>(0,fe.assertResponse)(await this.pageBlobContext.uploadPages(p,i,{abortSignal:v.abortSignal,leaseAccessConditions:v.conditions,modifiedAccessConditions:{...v.conditions,ifTags:v.conditions?.tagConditions},requestOptions:{onUploadProgress:v.onProgress},range:(0,Ae.rangeToString)({offset:d,count:p}),sequenceNumberAccessConditions:v.conditions,transactionalContentMD5:v.transactionalContentMD5,transactionalContentCrc64:v.transactionalContentCrc64,cpkInfo:v.customerProvidedKey,encryptionScope:v.encryptionScope,tracingOptions:V.tracingOptions}))))}async uploadPagesFromURL(i,d,p,v,V={}){V.conditions=V.conditions||{};V.sourceConditions=V.sourceConditions||{};(0,se.ensureCpkIfSpecified)(V.customerProvidedKey,this.isHttps);return he.tracingClient.withSpan("PageBlobClient-uploadPagesFromURL",V,(async K=>(0,fe.assertResponse)(await this.pageBlobContext.uploadPagesFromURL(i,(0,Ae.rangeToString)({offset:d,count:v}),0,(0,Ae.rangeToString)({offset:p,count:v}),{abortSignal:V.abortSignal,sourceContentMD5:V.sourceContentMD5,sourceContentCrc64:V.sourceContentCrc64,leaseAccessConditions:V.conditions,sequenceNumberAccessConditions:V.conditions,modifiedAccessConditions:{...V.conditions,ifTags:V.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:V.sourceConditions?.ifMatch,sourceIfModifiedSince:V.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:V.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:V.sourceConditions?.ifUnmodifiedSince},cpkInfo:V.customerProvidedKey,encryptionScope:V.encryptionScope,copySourceAuthorization:(0,fe.httpAuthorizationToString)(V.sourceAuthorization),fileRequestIntent:V.sourceShareTokenIntent,tracingOptions:K.tracingOptions}))))}async clearPages(i=0,d,p={}){p.conditions=p.conditions||{};return he.tracingClient.withSpan("PageBlobClient-clearPages",p,(async v=>(0,fe.assertResponse)(await this.pageBlobContext.clearPages(0,{abortSignal:p.abortSignal,leaseAccessConditions:p.conditions,modifiedAccessConditions:{...p.conditions,ifTags:p.conditions?.tagConditions},range:(0,Ae.rangeToString)({offset:i,count:d}),sequenceNumberAccessConditions:p.conditions,cpkInfo:p.customerProvidedKey,encryptionScope:p.encryptionScope,tracingOptions:v.tracingOptions}))))}async getPageRanges(i=0,d,p={}){p.conditions=p.conditions||{};return he.tracingClient.withSpan("PageBlobClient-getPageRanges",p,(async v=>{const V=(0,fe.assertResponse)(await this.pageBlobContext.getPageRanges({abortSignal:p.abortSignal,leaseAccessConditions:p.conditions,modifiedAccessConditions:{...p.conditions,ifTags:p.conditions?.tagConditions},range:(0,Ae.rangeToString)({offset:i,count:d}),tracingOptions:v.tracingOptions}));return(0,ie.rangeResponseFromModel)(V)}))}async listPageRangesSegment(i=0,d,p,v={}){return he.tracingClient.withSpan("PageBlobClient-getPageRangesSegment",v,(async V=>(0,fe.assertResponse)(await this.pageBlobContext.getPageRanges({abortSignal:v.abortSignal,leaseAccessConditions:v.conditions,modifiedAccessConditions:{...v.conditions,ifTags:v.conditions?.tagConditions},range:(0,Ae.rangeToString)({offset:i,count:d}),marker:p,maxPageSize:v.maxPageSize,tracingOptions:V.tracingOptions}))))}async*listPageRangeItemSegments(i=0,d,p,v={}){let V;if(!!p||p===undefined){do{V=await this.listPageRangesSegment(i,d,p,v);p=V.continuationToken;yield await V}while(p)}}async*listPageRangeItems(i=0,d,p={}){let v;for await(const V of this.listPageRangeItemSegments(i,d,v,p)){yield*(0,fe.ExtractPageRangeInfoItems)(V)}}listPageRanges(i=0,d,p={}){p.conditions=p.conditions||{};const v=this.listPageRangeItems(i,d,p);return{next(){return v.next()},[Symbol.asyncIterator](){return this},byPage:(v={})=>this.listPageRangeItemSegments(i,d,v.continuationToken,{maxPageSize:v.maxPageSize,...p})}}async getPageRangesDiff(i,d,p,v={}){v.conditions=v.conditions||{};return he.tracingClient.withSpan("PageBlobClient-getPageRangesDiff",v,(async V=>{const K=(0,fe.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:v.abortSignal,leaseAccessConditions:v.conditions,modifiedAccessConditions:{...v.conditions,ifTags:v.conditions?.tagConditions},prevsnapshot:p,range:(0,Ae.rangeToString)({offset:i,count:d}),tracingOptions:V.tracingOptions}));return(0,ie.rangeResponseFromModel)(K)}))}async listPageRangesDiffSegment(i,d,p,v,V={}){return he.tracingClient.withSpan("PageBlobClient-getPageRangesDiffSegment",V,(async K=>(0,fe.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:V?.abortSignal,leaseAccessConditions:V?.conditions,modifiedAccessConditions:{...V?.conditions,ifTags:V?.conditions?.tagConditions},prevsnapshot:p,range:(0,Ae.rangeToString)({offset:i,count:d}),marker:v,maxPageSize:V?.maxPageSize,tracingOptions:K.tracingOptions}))))}async*listPageRangeDiffItemSegments(i,d,p,v,V){let K;if(!!v||v===undefined){do{K=await this.listPageRangesDiffSegment(i,d,p,v,V);v=K.continuationToken;yield await K}while(v)}}async*listPageRangeDiffItems(i,d,p,v){let V;for await(const K of this.listPageRangeDiffItemSegments(i,d,p,V,v)){yield*(0,fe.ExtractPageRangeInfoItems)(K)}}listPageRangesDiff(i,d,p,v={}){v.conditions=v.conditions||{};const V=this.listPageRangeDiffItems(i,d,p,{...v});return{next(){return V.next()},[Symbol.asyncIterator](){return this},byPage:(V={})=>this.listPageRangeDiffItemSegments(i,d,p,V.continuationToken,{maxPageSize:V.maxPageSize,...v})}}async getPageRangesDiffForManagedDisks(i,d,p,v={}){v.conditions=v.conditions||{};return he.tracingClient.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",v,(async V=>{const K=(0,fe.assertResponse)(await this.pageBlobContext.getPageRangesDiff({abortSignal:v.abortSignal,leaseAccessConditions:v.conditions,modifiedAccessConditions:{...v.conditions,ifTags:v.conditions?.tagConditions},prevSnapshotUrl:p,range:(0,Ae.rangeToString)({offset:i,count:d}),tracingOptions:V.tracingOptions}));return(0,ie.rangeResponseFromModel)(K)}))}async resize(i,d={}){d.conditions=d.conditions||{};return he.tracingClient.withSpan("PageBlobClient-resize",d,(async p=>(0,fe.assertResponse)(await this.pageBlobContext.resize(i,{abortSignal:d.abortSignal,leaseAccessConditions:d.conditions,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},encryptionScope:d.encryptionScope,tracingOptions:p.tracingOptions}))))}async updateSequenceNumber(i,d,p={}){p.conditions=p.conditions||{};return he.tracingClient.withSpan("PageBlobClient-updateSequenceNumber",p,(async v=>(0,fe.assertResponse)(await this.pageBlobContext.updateSequenceNumber(i,{abortSignal:p.abortSignal,blobSequenceNumber:d,leaseAccessConditions:p.conditions,modifiedAccessConditions:{...p.conditions,ifTags:p.conditions?.tagConditions},tracingOptions:v.tracingOptions}))))}async startCopyIncremental(i,d={}){return he.tracingClient.withSpan("PageBlobClient-startCopyIncremental",d,(async p=>(0,fe.assertResponse)(await this.pageBlobContext.copyIncremental(i,{abortSignal:d.abortSignal,modifiedAccessConditions:{...d.conditions,ifTags:d.conditions?.tagConditions},tracingOptions:p.tracingOptions}))))}}d.PageBlobClient=PageBlobClient},81884:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ContainerClient=void 0;const v=p(20778);const V=p(87779);const K=p(50417);const ee=p(51382);const te=p(25984);const re=p(73542);const ne=p(53952);const se=p(47764);const ie=p(656);const oe=p(23276);const ae=p(90372);const Ae=p(12094);class ContainerClient extends re.StorageClient{containerContext;_containerName;get containerName(){return this._containerName}constructor(i,d,p){let re;let ne;p=p||{};if((0,te.isPipelineLike)(d)){ne=i;re=d}else if(V.isNodeLike&&d instanceof ee.StorageSharedKeyCredential||d instanceof ee.AnonymousCredential||(0,K.isTokenCredential)(d)){ne=i;re=(0,te.newPipeline)(d,p)}else if(!d&&typeof d!=="string"){ne=i;re=(0,te.newPipeline)(new ee.AnonymousCredential,p)}else if(d&&typeof d==="string"){const K=d;const ie=(0,se.extractConnectionStringParts)(i);if(ie.kind==="AccountConnString"){if(V.isNodeLike){const i=new ee.StorageSharedKeyCredential(ie.accountName,ie.accountKey);ne=(0,se.appendToURLPath)(ie.url,encodeURIComponent(K));if(!p.proxyOptions){p.proxyOptions=(0,v.getDefaultProxySettings)(ie.proxyUri)}re=(0,te.newPipeline)(i,p)}else{throw new Error("Account connection string is only supported in Node.js environment")}}else if(ie.kind==="SASConnString"){ne=(0,se.appendToURLPath)(ie.url,encodeURIComponent(K))+"?"+ie.accountSas;re=(0,te.newPipeline)(new ee.AnonymousCredential,p)}else{throw new Error("Connection string must be either an Account connection string or a SAS connection string")}}else{throw new Error("Expecting non-empty strings for containerName parameter")}super(ne,re);this._containerName=this.getContainerNameFromUrl();this.containerContext=this.storageClientContext.container}async create(i={}){return ne.tracingClient.withSpan("ContainerClient-create",i,(async i=>(0,se.assertResponse)(await this.containerContext.create(i))))}async createIfNotExists(i={}){return ne.tracingClient.withSpan("ContainerClient-createIfNotExists",i,(async i=>{try{const d=await this.create(i);return{succeeded:true,...d,_response:d._response}}catch(i){if(i.details?.errorCode==="ContainerAlreadyExists"){return{succeeded:false,...i.response?.parsedHeaders,_response:i.response}}else{throw i}}}))}async exists(i={}){return ne.tracingClient.withSpan("ContainerClient-exists",i,(async d=>{try{await this.getProperties({abortSignal:i.abortSignal,tracingOptions:d.tracingOptions});return true}catch(i){if(i.statusCode===404){return false}throw i}}))}getBlobClient(i){return new ae.BlobClient((0,se.appendToURLPath)(this.url,(0,se.EscapePath)(i)),this.pipeline)}getAppendBlobClient(i){return new ae.AppendBlobClient((0,se.appendToURLPath)(this.url,(0,se.EscapePath)(i)),this.pipeline)}getBlockBlobClient(i){return new ae.BlockBlobClient((0,se.appendToURLPath)(this.url,(0,se.EscapePath)(i)),this.pipeline)}getPageBlobClient(i){return new ae.PageBlobClient((0,se.appendToURLPath)(this.url,(0,se.EscapePath)(i)),this.pipeline)}async getProperties(i={}){if(!i.conditions){i.conditions={}}return ne.tracingClient.withSpan("ContainerClient-getProperties",i,(async d=>(0,se.assertResponse)(await this.containerContext.getProperties({abortSignal:i.abortSignal,...i.conditions,tracingOptions:d.tracingOptions}))))}async delete(i={}){if(!i.conditions){i.conditions={}}return ne.tracingClient.withSpan("ContainerClient-delete",i,(async d=>(0,se.assertResponse)(await this.containerContext.delete({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:i.conditions,tracingOptions:d.tracingOptions}))))}async deleteIfExists(i={}){return ne.tracingClient.withSpan("ContainerClient-deleteIfExists",i,(async i=>{try{const d=await this.delete(i);return{succeeded:true,...d,_response:d._response}}catch(i){if(i.details?.errorCode==="ContainerNotFound"){return{succeeded:false,...i.response?.parsedHeaders,_response:i.response}}throw i}}))}async setMetadata(i,d={}){if(!d.conditions){d.conditions={}}if(d.conditions.ifUnmodifiedSince){throw new RangeError("the IfUnmodifiedSince must have their default values because they are ignored by the blob service")}return ne.tracingClient.withSpan("ContainerClient-setMetadata",d,(async p=>(0,se.assertResponse)(await this.containerContext.setMetadata({abortSignal:d.abortSignal,leaseAccessConditions:d.conditions,metadata:i,modifiedAccessConditions:d.conditions,tracingOptions:p.tracingOptions}))))}async getAccessPolicy(i={}){if(!i.conditions){i.conditions={}}return ne.tracingClient.withSpan("ContainerClient-getAccessPolicy",i,(async d=>{const p=(0,se.assertResponse)(await this.containerContext.getAccessPolicy({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,tracingOptions:d.tracingOptions}));const v={_response:p._response,blobPublicAccess:p.blobPublicAccess,date:p.date,etag:p.etag,errorCode:p.errorCode,lastModified:p.lastModified,requestId:p.requestId,clientRequestId:p.clientRequestId,signedIdentifiers:[],version:p.version};for(const i of p){let d=undefined;if(i.accessPolicy){d={permissions:i.accessPolicy.permissions};if(i.accessPolicy.expiresOn){d.expiresOn=new Date(i.accessPolicy.expiresOn)}if(i.accessPolicy.startsOn){d.startsOn=new Date(i.accessPolicy.startsOn)}}v.signedIdentifiers.push({accessPolicy:d,id:i.id})}return v}))}async setAccessPolicy(i,d,p={}){p.conditions=p.conditions||{};return ne.tracingClient.withSpan("ContainerClient-setAccessPolicy",p,(async v=>{const V=[];for(const i of d||[]){V.push({accessPolicy:{expiresOn:i.accessPolicy.expiresOn?(0,se.truncatedISO8061Date)(i.accessPolicy.expiresOn):"",permissions:i.accessPolicy.permissions,startsOn:i.accessPolicy.startsOn?(0,se.truncatedISO8061Date)(i.accessPolicy.startsOn):""},id:i.id})}return(0,se.assertResponse)(await this.containerContext.setAccessPolicy({abortSignal:p.abortSignal,access:i,containerAcl:V,leaseAccessConditions:p.conditions,modifiedAccessConditions:p.conditions,tracingOptions:v.tracingOptions}))}))}getBlobLeaseClient(i){return new oe.BlobLeaseClient(this,i)}async uploadBlockBlob(i,d,p,v={}){return ne.tracingClient.withSpan("ContainerClient-uploadBlockBlob",v,(async v=>{const V=this.getBlockBlobClient(i);const K=await V.upload(d,p,v);return{blockBlobClient:V,response:K}}))}async deleteBlob(i,d={}){return ne.tracingClient.withSpan("ContainerClient-deleteBlob",d,(async p=>{let v=this.getBlobClient(i);if(d.versionId){v=v.withVersion(d.versionId)}return v.delete(p)}))}async listBlobFlatSegment(i,d={}){return ne.tracingClient.withSpan("ContainerClient-listBlobFlatSegment",d,(async p=>{const v=(0,se.assertResponse)(await this.containerContext.listBlobFlatSegment({marker:i,...d,tracingOptions:p.tracingOptions}));const V={...v,_response:{...v._response,parsedBody:(0,se.ConvertInternalResponseOfListBlobFlat)(v._response.parsedBody)},segment:{...v.segment,blobItems:v.segment.blobItems.map((i=>{const d={...i,name:(0,se.BlobNameToString)(i.name),tags:(0,se.toTags)(i.blobTags),objectReplicationSourceProperties:(0,se.parseObjectReplicationRecord)(i.objectReplicationMetadata)};return d}))}};return V}))}async listBlobHierarchySegment(i,d,p={}){return ne.tracingClient.withSpan("ContainerClient-listBlobHierarchySegment",p,(async v=>{const V=(0,se.assertResponse)(await this.containerContext.listBlobHierarchySegment(i,{marker:d,...p,tracingOptions:v.tracingOptions}));const K={...V,_response:{...V._response,parsedBody:(0,se.ConvertInternalResponseOfListBlobHierarchy)(V._response.parsedBody)},segment:{...V.segment,blobItems:V.segment.blobItems.map((i=>{const d={...i,name:(0,se.BlobNameToString)(i.name),tags:(0,se.toTags)(i.blobTags),objectReplicationSourceProperties:(0,se.parseObjectReplicationRecord)(i.objectReplicationMetadata)};return d})),blobPrefixes:V.segment.blobPrefixes?.map((i=>{const d={...i,name:(0,se.BlobNameToString)(i.name)};return d}))}};return K}))}async*listSegments(i,d={}){let p;if(!!i||i===undefined){do{p=await this.listBlobFlatSegment(i,d);i=p.continuationToken;yield await p}while(i)}}async*listItems(i={}){let d;for await(const p of this.listSegments(d,i)){yield*p.segment.blobItems}}listBlobsFlat(i={}){const d=[];if(i.includeCopy){d.push("copy")}if(i.includeDeleted){d.push("deleted")}if(i.includeMetadata){d.push("metadata")}if(i.includeSnapshots){d.push("snapshots")}if(i.includeVersions){d.push("versions")}if(i.includeUncommitedBlobs){d.push("uncommittedblobs")}if(i.includeTags){d.push("tags")}if(i.includeDeletedWithVersions){d.push("deletedwithversions")}if(i.includeImmutabilityPolicy){d.push("immutabilitypolicy")}if(i.includeLegalHold){d.push("legalhold")}if(i.prefix===""){i.prefix=undefined}const p={...i,...d.length>0?{include:d}:{}};const v=this.listItems(p);return{next(){return v.next()},[Symbol.asyncIterator](){return this},byPage:(i={})=>this.listSegments(i.continuationToken,{maxPageSize:i.maxPageSize,...p})}}async*listHierarchySegments(i,d,p={}){let v;if(!!d||d===undefined){do{v=await this.listBlobHierarchySegment(i,d,p);d=v.continuationToken;yield await v}while(d)}}async*listItemsByHierarchy(i,d={}){let p;for await(const v of this.listHierarchySegments(i,p,d)){const i=v.segment;if(i.blobPrefixes){for(const d of i.blobPrefixes){yield{kind:"prefix",...d}}}for(const d of i.blobItems){yield{kind:"blob",...d}}}}listBlobsByHierarchy(i,d={}){if(i===""){throw new RangeError("delimiter should contain one or more characters")}const p=[];if(d.includeCopy){p.push("copy")}if(d.includeDeleted){p.push("deleted")}if(d.includeMetadata){p.push("metadata")}if(d.includeSnapshots){p.push("snapshots")}if(d.includeVersions){p.push("versions")}if(d.includeUncommitedBlobs){p.push("uncommittedblobs")}if(d.includeTags){p.push("tags")}if(d.includeDeletedWithVersions){p.push("deletedwithversions")}if(d.includeImmutabilityPolicy){p.push("immutabilitypolicy")}if(d.includeLegalHold){p.push("legalhold")}if(d.prefix===""){d.prefix=undefined}const v={...d,...p.length>0?{include:p}:{}};const V=this.listItemsByHierarchy(i,v);return{async next(){return V.next()},[Symbol.asyncIterator](){return this},byPage:(d={})=>this.listHierarchySegments(i,d.continuationToken,{maxPageSize:d.maxPageSize,...v})}}async findBlobsByTagsSegment(i,d,p={}){return ne.tracingClient.withSpan("ContainerClient-findBlobsByTagsSegment",p,(async v=>{const V=(0,se.assertResponse)(await this.containerContext.filterBlobs({abortSignal:p.abortSignal,where:i,marker:d,maxPageSize:p.maxPageSize,tracingOptions:v.tracingOptions}));const K={...V,_response:V._response,blobs:V.blobs.map((i=>{let d="";if(i.tags?.blobTagSet.length===1){d=i.tags.blobTagSet[0].value}return{...i,tags:(0,se.toTags)(i.tags),tagValue:d}}))};return K}))}async*findBlobsByTagsSegments(i,d,p={}){let v;if(!!d||d===undefined){do{v=await this.findBlobsByTagsSegment(i,d,p);v.blobs=v.blobs||[];d=v.continuationToken;yield v}while(d)}}async*findBlobsByTagsItems(i,d={}){let p;for await(const v of this.findBlobsByTagsSegments(i,p,d)){yield*v.blobs}}findBlobsByTags(i,d={}){const p={...d};const v=this.findBlobsByTagsItems(i,p);return{next(){return v.next()},[Symbol.asyncIterator](){return this},byPage:(d={})=>this.findBlobsByTagsSegments(i,d.continuationToken,{maxPageSize:d.maxPageSize,...p})}}async getAccountInfo(i={}){return ne.tracingClient.withSpan("ContainerClient-getAccountInfo",i,(async d=>(0,se.assertResponse)(await this.containerContext.getAccountInfo({abortSignal:i.abortSignal,tracingOptions:d.tracingOptions}))))}getContainerNameFromUrl(){let i;try{const d=new URL(this.url);if(d.hostname.split(".")[1]==="blob"){i=d.pathname.split("/")[1]}else if((0,se.isIpEndpointStyle)(d)){i=d.pathname.split("/")[2]}else{i=d.pathname.split("/")[1]}i=decodeURIComponent(i);if(!i){throw new Error("Provided containerName is invalid.")}return i}catch(i){throw new Error("Unable to extract containerName with provided information.")}}generateSasUrl(i){return new Promise((d=>{if(!(this.credential instanceof ee.StorageSharedKeyCredential)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}const p=(0,ie.generateBlobSASQueryParameters)({containerName:this._containerName,...i},this.credential).toString();d((0,se.appendToURLQuery)(this.url,p))}))}generateSasStringToSign(i){if(!(this.credential instanceof ee.StorageSharedKeyCredential)){throw new RangeError("Can only generate the SAS when the client is initialized with a shared key credential")}return(0,ie.generateBlobSASQueryParametersInternal)({containerName:this._containerName,...i},this.credential).stringToSign}generateUserDelegationSasUrl(i,d){return new Promise((p=>{const v=(0,ie.generateBlobSASQueryParameters)({containerName:this._containerName,...i},d,this.accountName).toString();p((0,se.appendToURLQuery)(this.url,v))}))}generateUserDelegationSasStringToSign(i,d){return(0,ie.generateBlobSASQueryParametersInternal)({containerName:this._containerName,...i},d,this.accountName).stringToSign}getBlobBatchClient(){return new Ae.BlobBatchClient(this.url,this.pipeline)}}d.ContainerClient=ContainerClient},95302:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.rangeResponseFromModel=rangeResponseFromModel;function rangeResponseFromModel(i){const d=(i._response.parsedBody.pageRange||[]).map((i=>({offset:i.start,count:i.end-i.start})));const p=(i._response.parsedBody.clearRange||[]).map((i=>({offset:i.start,count:i.end-i.start})));return{...i,pageRange:d,clearRange:p,_response:{...i._response,parsedBody:{pageRange:d,clearRange:p}}}}},25984:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.Pipeline=d.StorageOAuthScopes=void 0;d.isPipelineLike=isPipelineLike;d.newPipeline=newPipeline;d.getCoreClientOptions=getCoreClientOptions;d.getCredentialFromPipeline=getCredentialFromPipeline;const v=p(61584);const V=p(20778);const K=p(60160);const ee=p(78756);const te=p(50417);const re=p(46370);const ne=p(51382);const se=p(27323);Object.defineProperty(d,"StorageOAuthScopes",{enumerable:true,get:function(){return se.StorageOAuthScopes}});function isPipelineLike(i){if(!i||typeof i!=="object"){return false}const d=i;return Array.isArray(d.factories)&&typeof d.options==="object"&&typeof d.toServiceClientOptions==="function"}class Pipeline{factories;options;constructor(i,d={}){this.factories=i;this.options=d}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}}d.Pipeline=Pipeline;function newPipeline(i,d={}){if(!i){i=new ne.AnonymousCredential}const p=new Pipeline([],d);p._credential=i;return p}function processDownlevelPipeline(i){const d=[isAnonymousCredential,isStorageSharedKeyCredential,isCoreHttpBearerTokenFactory,isStorageBrowserPolicyFactory,isStorageRetryPolicyFactory,isStorageTelemetryPolicyFactory,isCoreHttpPolicyFactory];if(i.factories.length){const p=i.factories.filter((i=>!d.some((d=>d(i)))));if(p.length){const i=p.some((i=>isInjectorPolicyFactory(i)));return{wrappedPolicies:(0,v.createRequestPolicyFactoryPolicy)(p),afterRetry:i}}}return undefined}function getCoreClientOptions(i){const{httpClient:d,...p}=i.options;let ie=i._coreHttpClient;if(!ie){ie=d?(0,v.convertHttpClient)(d):(0,ne.getCachedDefaultHttpClient)();i._coreHttpClient=ie}let oe=i._corePipeline;if(!oe){const d=`azsdk-js-azure-storage-blob/${se.SDK_VERSION}`;const v=p.userAgentOptions&&p.userAgentOptions.userAgentPrefix?`${p.userAgentOptions.userAgentPrefix} ${d}`:`${d}`;oe=(0,K.createClientPipeline)({...p,loggingOptions:{additionalAllowedHeaderNames:se.StorageBlobLoggingAllowedHeaderNames,additionalAllowedQueryParameters:se.StorageBlobLoggingAllowedQueryParameters,logger:re.logger.info},userAgentOptions:{userAgentPrefix:v},serializationOptions:{stringifyXML:ee.stringifyXML,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:ee.parseXML,serializerOptions:{xml:{xmlCharKey:"#"}}}});oe.removePolicy({phase:"Retry"});oe.removePolicy({name:V.decompressResponsePolicyName});oe.addPolicy((0,ne.storageCorrectContentLengthPolicy)());oe.addPolicy((0,ne.storageRetryPolicy)(p.retryOptions),{phase:"Retry"});oe.addPolicy((0,ne.storageRequestFailureDetailsParserPolicy)());oe.addPolicy((0,ne.storageBrowserPolicy)());const ie=processDownlevelPipeline(i);if(ie){oe.addPolicy(ie.wrappedPolicies,ie.afterRetry?{afterPhase:"Retry"}:undefined)}const ae=getCredentialFromPipeline(i);if((0,te.isTokenCredential)(ae)){oe.addPolicy((0,V.bearerTokenAuthenticationPolicy)({credential:ae,scopes:p.audience??se.StorageOAuthScopes,challengeCallbacks:{authorizeRequestOnChallenge:K.authorizeRequestOnTenantChallenge}}),{phase:"Sign"})}else if(ae instanceof ne.StorageSharedKeyCredential){oe.addPolicy((0,ne.storageSharedKeyCredentialPolicy)({accountName:ae.accountName,accountKey:ae.accountKey}),{phase:"Sign"})}i._corePipeline=oe}return{...p,allowInsecureConnection:true,httpClient:ie,pipeline:oe}}function getCredentialFromPipeline(i){if(i._credential){return i._credential}let d=new ne.AnonymousCredential;for(const p of i.factories){if((0,te.isTokenCredential)(p.credential)){d=p.credential}else if(isStorageSharedKeyCredential(p)){return p}}return d}function isStorageSharedKeyCredential(i){if(i instanceof ne.StorageSharedKeyCredential){return true}return i.constructor.name==="StorageSharedKeyCredential"}function isAnonymousCredential(i){if(i instanceof ne.AnonymousCredential){return true}return i.constructor.name==="AnonymousCredential"}function isCoreHttpBearerTokenFactory(i){return(0,te.isTokenCredential)(i.credential)}function isStorageBrowserPolicyFactory(i){if(i instanceof ne.StorageBrowserPolicyFactory){return true}return i.constructor.name==="StorageBrowserPolicyFactory"}function isStorageRetryPolicyFactory(i){if(i instanceof ne.StorageRetryPolicyFactory){return true}return i.constructor.name==="StorageRetryPolicyFactory"}function isStorageTelemetryPolicyFactory(i){return i.constructor.name==="TelemetryPolicyFactory"}function isInjectorPolicyFactory(i){return i.constructor.name==="InjectorPolicyFactory"}function isCoreHttpPolicyFactory(i){const d=["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"];const p={sendRequest:async i=>({request:i,headers:i.headers.clone(),status:500})};const v={log(i,d){},shouldLog(i){return false}};const V=i.create(p,v);const K=V.constructor.name;return d.some((i=>K.startsWith(i)))}},52045:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.rangeToString=rangeToString;function rangeToString(i){if(i.offset<0){throw new RangeError(`Range.offset cannot be smaller than 0.`)}if(i.count&&i.count<=0){throw new RangeError(`Range.count must be larger than 0. Leave it undefined if you want a range from offset to the end.`)}return i.count?`bytes=${i.offset}-${i.offset+i.count-1}`:`bytes=${i.offset}-`}},73542:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageClient=void 0;const v=p(53789);const V=p(25984);const K=p(47764);class StorageClient{url;accountName;pipeline;credential;storageClientContext;isHttps;constructor(i,d){this.url=(0,K.escapeURLPath)(i);this.accountName=(0,K.getAccountNameFromUrl)(i);this.pipeline=d;this.storageClientContext=new v.StorageContextClient(this.url,(0,V.getCoreClientOptions)(d));this.isHttps=(0,K.iEqual)((0,K.getURLScheme)(this.url)||"","https");this.credential=(0,V.getCredentialFromPipeline)(d);const p=this.storageClientContext;p.requestContentType=undefined}}d.StorageClient=StorageClient},53789:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageContextClient=void 0;const v=p(30247);class StorageContextClient extends v.StorageClient{async sendOperationRequest(i,d){const p={...d};if(p.path==="/{containerName}"||p.path==="/{containerName}/{blob}"){p.path=""}return super.sendOperationRequest(i,p)}}d.StorageContextClient=StorageContextClient},30247:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageClient=void 0;const v=p(93849);v.__exportStar(p(12362),d);var V=p(5313);Object.defineProperty(d,"StorageClient",{enumerable:true,get:function(){return V.StorageClient}});v.__exportStar(p(82354),d)},12362:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.KnownStorageErrorCode=d.KnownBlobExpiryOptions=d.KnownFileShareTokenIntent=d.KnownEncryptionAlgorithmType=void 0;var p;(function(i){i["AES256"]="AES256"})(p||(d.KnownEncryptionAlgorithmType=p={}));var v;(function(i){i["Backup"]="backup"})(v||(d.KnownFileShareTokenIntent=v={}));var V;(function(i){i["NeverExpire"]="NeverExpire";i["RelativeToCreation"]="RelativeToCreation";i["RelativeToNow"]="RelativeToNow";i["Absolute"]="Absolute"})(V||(d.KnownBlobExpiryOptions=V={}));var K;(function(i){i["AccountAlreadyExists"]="AccountAlreadyExists";i["AccountBeingCreated"]="AccountBeingCreated";i["AccountIsDisabled"]="AccountIsDisabled";i["AuthenticationFailed"]="AuthenticationFailed";i["AuthorizationFailure"]="AuthorizationFailure";i["ConditionHeadersNotSupported"]="ConditionHeadersNotSupported";i["ConditionNotMet"]="ConditionNotMet";i["EmptyMetadataKey"]="EmptyMetadataKey";i["InsufficientAccountPermissions"]="InsufficientAccountPermissions";i["InternalError"]="InternalError";i["InvalidAuthenticationInfo"]="InvalidAuthenticationInfo";i["InvalidHeaderValue"]="InvalidHeaderValue";i["InvalidHttpVerb"]="InvalidHttpVerb";i["InvalidInput"]="InvalidInput";i["InvalidMd5"]="InvalidMd5";i["InvalidMetadata"]="InvalidMetadata";i["InvalidQueryParameterValue"]="InvalidQueryParameterValue";i["InvalidRange"]="InvalidRange";i["InvalidResourceName"]="InvalidResourceName";i["InvalidUri"]="InvalidUri";i["InvalidXmlDocument"]="InvalidXmlDocument";i["InvalidXmlNodeValue"]="InvalidXmlNodeValue";i["Md5Mismatch"]="Md5Mismatch";i["MetadataTooLarge"]="MetadataTooLarge";i["MissingContentLengthHeader"]="MissingContentLengthHeader";i["MissingRequiredQueryParameter"]="MissingRequiredQueryParameter";i["MissingRequiredHeader"]="MissingRequiredHeader";i["MissingRequiredXmlNode"]="MissingRequiredXmlNode";i["MultipleConditionHeadersNotSupported"]="MultipleConditionHeadersNotSupported";i["OperationTimedOut"]="OperationTimedOut";i["OutOfRangeInput"]="OutOfRangeInput";i["OutOfRangeQueryParameterValue"]="OutOfRangeQueryParameterValue";i["RequestBodyTooLarge"]="RequestBodyTooLarge";i["ResourceTypeMismatch"]="ResourceTypeMismatch";i["RequestUrlFailedToParse"]="RequestUrlFailedToParse";i["ResourceAlreadyExists"]="ResourceAlreadyExists";i["ResourceNotFound"]="ResourceNotFound";i["ServerBusy"]="ServerBusy";i["UnsupportedHeader"]="UnsupportedHeader";i["UnsupportedXmlNode"]="UnsupportedXmlNode";i["UnsupportedQueryParameter"]="UnsupportedQueryParameter";i["UnsupportedHttpVerb"]="UnsupportedHttpVerb";i["AppendPositionConditionNotMet"]="AppendPositionConditionNotMet";i["BlobAlreadyExists"]="BlobAlreadyExists";i["BlobImmutableDueToPolicy"]="BlobImmutableDueToPolicy";i["BlobNotFound"]="BlobNotFound";i["BlobOverwritten"]="BlobOverwritten";i["BlobTierInadequateForContentLength"]="BlobTierInadequateForContentLength";i["BlobUsesCustomerSpecifiedEncryption"]="BlobUsesCustomerSpecifiedEncryption";i["BlockCountExceedsLimit"]="BlockCountExceedsLimit";i["BlockListTooLong"]="BlockListTooLong";i["CannotChangeToLowerTier"]="CannotChangeToLowerTier";i["CannotVerifyCopySource"]="CannotVerifyCopySource";i["ContainerAlreadyExists"]="ContainerAlreadyExists";i["ContainerBeingDeleted"]="ContainerBeingDeleted";i["ContainerDisabled"]="ContainerDisabled";i["ContainerNotFound"]="ContainerNotFound";i["ContentLengthLargerThanTierLimit"]="ContentLengthLargerThanTierLimit";i["CopyAcrossAccountsNotSupported"]="CopyAcrossAccountsNotSupported";i["CopyIdMismatch"]="CopyIdMismatch";i["FeatureVersionMismatch"]="FeatureVersionMismatch";i["IncrementalCopyBlobMismatch"]="IncrementalCopyBlobMismatch";i["IncrementalCopyOfEarlierVersionSnapshotNotAllowed"]="IncrementalCopyOfEarlierVersionSnapshotNotAllowed";i["IncrementalCopySourceMustBeSnapshot"]="IncrementalCopySourceMustBeSnapshot";i["InfiniteLeaseDurationRequired"]="InfiniteLeaseDurationRequired";i["InvalidBlobOrBlock"]="InvalidBlobOrBlock";i["InvalidBlobTier"]="InvalidBlobTier";i["InvalidBlobType"]="InvalidBlobType";i["InvalidBlockId"]="InvalidBlockId";i["InvalidBlockList"]="InvalidBlockList";i["InvalidOperation"]="InvalidOperation";i["InvalidPageRange"]="InvalidPageRange";i["InvalidSourceBlobType"]="InvalidSourceBlobType";i["InvalidSourceBlobUrl"]="InvalidSourceBlobUrl";i["InvalidVersionForPageBlobOperation"]="InvalidVersionForPageBlobOperation";i["LeaseAlreadyPresent"]="LeaseAlreadyPresent";i["LeaseAlreadyBroken"]="LeaseAlreadyBroken";i["LeaseIdMismatchWithBlobOperation"]="LeaseIdMismatchWithBlobOperation";i["LeaseIdMismatchWithContainerOperation"]="LeaseIdMismatchWithContainerOperation";i["LeaseIdMismatchWithLeaseOperation"]="LeaseIdMismatchWithLeaseOperation";i["LeaseIdMissing"]="LeaseIdMissing";i["LeaseIsBreakingAndCannotBeAcquired"]="LeaseIsBreakingAndCannotBeAcquired";i["LeaseIsBreakingAndCannotBeChanged"]="LeaseIsBreakingAndCannotBeChanged";i["LeaseIsBrokenAndCannotBeRenewed"]="LeaseIsBrokenAndCannotBeRenewed";i["LeaseLost"]="LeaseLost";i["LeaseNotPresentWithBlobOperation"]="LeaseNotPresentWithBlobOperation";i["LeaseNotPresentWithContainerOperation"]="LeaseNotPresentWithContainerOperation";i["LeaseNotPresentWithLeaseOperation"]="LeaseNotPresentWithLeaseOperation";i["MaxBlobSizeConditionNotMet"]="MaxBlobSizeConditionNotMet";i["NoAuthenticationInformation"]="NoAuthenticationInformation";i["NoPendingCopyOperation"]="NoPendingCopyOperation";i["OperationNotAllowedOnIncrementalCopyBlob"]="OperationNotAllowedOnIncrementalCopyBlob";i["PendingCopyOperation"]="PendingCopyOperation";i["PreviousSnapshotCannotBeNewer"]="PreviousSnapshotCannotBeNewer";i["PreviousSnapshotNotFound"]="PreviousSnapshotNotFound";i["PreviousSnapshotOperationNotSupported"]="PreviousSnapshotOperationNotSupported";i["SequenceNumberConditionNotMet"]="SequenceNumberConditionNotMet";i["SequenceNumberIncrementTooLarge"]="SequenceNumberIncrementTooLarge";i["SnapshotCountExceeded"]="SnapshotCountExceeded";i["SnapshotOperationRateExceeded"]="SnapshotOperationRateExceeded";i["SnapshotsPresent"]="SnapshotsPresent";i["SourceConditionNotMet"]="SourceConditionNotMet";i["SystemInUse"]="SystemInUse";i["TargetConditionNotMet"]="TargetConditionNotMet";i["UnauthorizedBlobOverwrite"]="UnauthorizedBlobOverwrite";i["BlobBeingRehydrated"]="BlobBeingRehydrated";i["BlobArchived"]="BlobArchived";i["BlobNotArchived"]="BlobNotArchived";i["AuthorizationSourceIPMismatch"]="AuthorizationSourceIPMismatch";i["AuthorizationProtocolMismatch"]="AuthorizationProtocolMismatch";i["AuthorizationPermissionMismatch"]="AuthorizationPermissionMismatch";i["AuthorizationServiceMismatch"]="AuthorizationServiceMismatch";i["AuthorizationResourceTypeMismatch"]="AuthorizationResourceTypeMismatch";i["BlobAccessTierNotSupportedForAccountType"]="BlobAccessTierNotSupportedForAccountType"})(K||(d.KnownStorageErrorCode=K={}))},84424:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.ServiceGetUserDelegationKeyHeaders=d.ServiceListContainersSegmentExceptionHeaders=d.ServiceListContainersSegmentHeaders=d.ServiceGetStatisticsExceptionHeaders=d.ServiceGetStatisticsHeaders=d.ServiceGetPropertiesExceptionHeaders=d.ServiceGetPropertiesHeaders=d.ServiceSetPropertiesExceptionHeaders=d.ServiceSetPropertiesHeaders=d.ArrowField=d.ArrowConfiguration=d.JsonTextConfiguration=d.DelimitedTextConfiguration=d.QueryFormat=d.QuerySerialization=d.QueryRequest=d.ClearRange=d.PageRange=d.PageList=d.Block=d.BlockList=d.BlockLookupList=d.BlobPrefix=d.BlobHierarchyListSegment=d.ListBlobsHierarchySegmentResponse=d.BlobPropertiesInternal=d.BlobName=d.BlobItemInternal=d.BlobFlatListSegment=d.ListBlobsFlatSegmentResponse=d.AccessPolicy=d.SignedIdentifier=d.BlobTag=d.BlobTags=d.FilterBlobItem=d.FilterBlobSegment=d.UserDelegationKey=d.KeyInfo=d.ContainerProperties=d.ContainerItem=d.ListContainersSegmentResponse=d.GeoReplication=d.BlobServiceStatistics=d.StorageError=d.StaticWebsite=d.CorsRule=d.Metrics=d.RetentionPolicy=d.Logging=d.BlobServiceProperties=void 0;d.BlobUndeleteHeaders=d.BlobDeleteExceptionHeaders=d.BlobDeleteHeaders=d.BlobGetPropertiesExceptionHeaders=d.BlobGetPropertiesHeaders=d.BlobDownloadExceptionHeaders=d.BlobDownloadHeaders=d.ContainerGetAccountInfoExceptionHeaders=d.ContainerGetAccountInfoHeaders=d.ContainerListBlobHierarchySegmentExceptionHeaders=d.ContainerListBlobHierarchySegmentHeaders=d.ContainerListBlobFlatSegmentExceptionHeaders=d.ContainerListBlobFlatSegmentHeaders=d.ContainerChangeLeaseExceptionHeaders=d.ContainerChangeLeaseHeaders=d.ContainerBreakLeaseExceptionHeaders=d.ContainerBreakLeaseHeaders=d.ContainerRenewLeaseExceptionHeaders=d.ContainerRenewLeaseHeaders=d.ContainerReleaseLeaseExceptionHeaders=d.ContainerReleaseLeaseHeaders=d.ContainerAcquireLeaseExceptionHeaders=d.ContainerAcquireLeaseHeaders=d.ContainerFilterBlobsExceptionHeaders=d.ContainerFilterBlobsHeaders=d.ContainerSubmitBatchExceptionHeaders=d.ContainerSubmitBatchHeaders=d.ContainerRenameExceptionHeaders=d.ContainerRenameHeaders=d.ContainerRestoreExceptionHeaders=d.ContainerRestoreHeaders=d.ContainerSetAccessPolicyExceptionHeaders=d.ContainerSetAccessPolicyHeaders=d.ContainerGetAccessPolicyExceptionHeaders=d.ContainerGetAccessPolicyHeaders=d.ContainerSetMetadataExceptionHeaders=d.ContainerSetMetadataHeaders=d.ContainerDeleteExceptionHeaders=d.ContainerDeleteHeaders=d.ContainerGetPropertiesExceptionHeaders=d.ContainerGetPropertiesHeaders=d.ContainerCreateExceptionHeaders=d.ContainerCreateHeaders=d.ServiceFilterBlobsExceptionHeaders=d.ServiceFilterBlobsHeaders=d.ServiceSubmitBatchExceptionHeaders=d.ServiceSubmitBatchHeaders=d.ServiceGetAccountInfoExceptionHeaders=d.ServiceGetAccountInfoHeaders=d.ServiceGetUserDelegationKeyExceptionHeaders=void 0;d.PageBlobGetPageRangesHeaders=d.PageBlobUploadPagesFromURLExceptionHeaders=d.PageBlobUploadPagesFromURLHeaders=d.PageBlobClearPagesExceptionHeaders=d.PageBlobClearPagesHeaders=d.PageBlobUploadPagesExceptionHeaders=d.PageBlobUploadPagesHeaders=d.PageBlobCreateExceptionHeaders=d.PageBlobCreateHeaders=d.BlobSetTagsExceptionHeaders=d.BlobSetTagsHeaders=d.BlobGetTagsExceptionHeaders=d.BlobGetTagsHeaders=d.BlobQueryExceptionHeaders=d.BlobQueryHeaders=d.BlobGetAccountInfoExceptionHeaders=d.BlobGetAccountInfoHeaders=d.BlobSetTierExceptionHeaders=d.BlobSetTierHeaders=d.BlobAbortCopyFromURLExceptionHeaders=d.BlobAbortCopyFromURLHeaders=d.BlobCopyFromURLExceptionHeaders=d.BlobCopyFromURLHeaders=d.BlobStartCopyFromURLExceptionHeaders=d.BlobStartCopyFromURLHeaders=d.BlobCreateSnapshotExceptionHeaders=d.BlobCreateSnapshotHeaders=d.BlobBreakLeaseExceptionHeaders=d.BlobBreakLeaseHeaders=d.BlobChangeLeaseExceptionHeaders=d.BlobChangeLeaseHeaders=d.BlobRenewLeaseExceptionHeaders=d.BlobRenewLeaseHeaders=d.BlobReleaseLeaseExceptionHeaders=d.BlobReleaseLeaseHeaders=d.BlobAcquireLeaseExceptionHeaders=d.BlobAcquireLeaseHeaders=d.BlobSetMetadataExceptionHeaders=d.BlobSetMetadataHeaders=d.BlobSetLegalHoldExceptionHeaders=d.BlobSetLegalHoldHeaders=d.BlobDeleteImmutabilityPolicyExceptionHeaders=d.BlobDeleteImmutabilityPolicyHeaders=d.BlobSetImmutabilityPolicyExceptionHeaders=d.BlobSetImmutabilityPolicyHeaders=d.BlobSetHttpHeadersExceptionHeaders=d.BlobSetHttpHeadersHeaders=d.BlobSetExpiryExceptionHeaders=d.BlobSetExpiryHeaders=d.BlobUndeleteExceptionHeaders=void 0;d.BlockBlobGetBlockListExceptionHeaders=d.BlockBlobGetBlockListHeaders=d.BlockBlobCommitBlockListExceptionHeaders=d.BlockBlobCommitBlockListHeaders=d.BlockBlobStageBlockFromURLExceptionHeaders=d.BlockBlobStageBlockFromURLHeaders=d.BlockBlobStageBlockExceptionHeaders=d.BlockBlobStageBlockHeaders=d.BlockBlobPutBlobFromUrlExceptionHeaders=d.BlockBlobPutBlobFromUrlHeaders=d.BlockBlobUploadExceptionHeaders=d.BlockBlobUploadHeaders=d.AppendBlobSealExceptionHeaders=d.AppendBlobSealHeaders=d.AppendBlobAppendBlockFromUrlExceptionHeaders=d.AppendBlobAppendBlockFromUrlHeaders=d.AppendBlobAppendBlockExceptionHeaders=d.AppendBlobAppendBlockHeaders=d.AppendBlobCreateExceptionHeaders=d.AppendBlobCreateHeaders=d.PageBlobCopyIncrementalExceptionHeaders=d.PageBlobCopyIncrementalHeaders=d.PageBlobUpdateSequenceNumberExceptionHeaders=d.PageBlobUpdateSequenceNumberHeaders=d.PageBlobResizeExceptionHeaders=d.PageBlobResizeHeaders=d.PageBlobGetPageRangesDiffExceptionHeaders=d.PageBlobGetPageRangesDiffHeaders=d.PageBlobGetPageRangesExceptionHeaders=void 0;d.BlobServiceProperties={serializedName:"BlobServiceProperties",xmlName:"StorageServiceProperties",type:{name:"Composite",className:"BlobServiceProperties",modelProperties:{blobAnalyticsLogging:{serializedName:"Logging",xmlName:"Logging",type:{name:"Composite",className:"Logging"}},hourMetrics:{serializedName:"HourMetrics",xmlName:"HourMetrics",type:{name:"Composite",className:"Metrics"}},minuteMetrics:{serializedName:"MinuteMetrics",xmlName:"MinuteMetrics",type:{name:"Composite",className:"Metrics"}},cors:{serializedName:"Cors",xmlName:"Cors",xmlIsWrapped:true,xmlElementName:"CorsRule",type:{name:"Sequence",element:{type:{name:"Composite",className:"CorsRule"}}}},defaultServiceVersion:{serializedName:"DefaultServiceVersion",xmlName:"DefaultServiceVersion",type:{name:"String"}},deleteRetentionPolicy:{serializedName:"DeleteRetentionPolicy",xmlName:"DeleteRetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}},staticWebsite:{serializedName:"StaticWebsite",xmlName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite"}}}}};d.Logging={serializedName:"Logging",type:{name:"Composite",className:"Logging",modelProperties:{version:{serializedName:"Version",required:true,xmlName:"Version",type:{name:"String"}},deleteProperty:{serializedName:"Delete",required:true,xmlName:"Delete",type:{name:"Boolean"}},read:{serializedName:"Read",required:true,xmlName:"Read",type:{name:"Boolean"}},write:{serializedName:"Write",required:true,xmlName:"Write",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}};d.RetentionPolicy={serializedName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy",modelProperties:{enabled:{serializedName:"Enabled",required:true,xmlName:"Enabled",type:{name:"Boolean"}},days:{constraints:{InclusiveMinimum:1},serializedName:"Days",xmlName:"Days",type:{name:"Number"}}}}};d.Metrics={serializedName:"Metrics",type:{name:"Composite",className:"Metrics",modelProperties:{version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},enabled:{serializedName:"Enabled",required:true,xmlName:"Enabled",type:{name:"Boolean"}},includeAPIs:{serializedName:"IncludeAPIs",xmlName:"IncludeAPIs",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}};d.CorsRule={serializedName:"CorsRule",type:{name:"Composite",className:"CorsRule",modelProperties:{allowedOrigins:{serializedName:"AllowedOrigins",required:true,xmlName:"AllowedOrigins",type:{name:"String"}},allowedMethods:{serializedName:"AllowedMethods",required:true,xmlName:"AllowedMethods",type:{name:"String"}},allowedHeaders:{serializedName:"AllowedHeaders",required:true,xmlName:"AllowedHeaders",type:{name:"String"}},exposedHeaders:{serializedName:"ExposedHeaders",required:true,xmlName:"ExposedHeaders",type:{name:"String"}},maxAgeInSeconds:{constraints:{InclusiveMinimum:0},serializedName:"MaxAgeInSeconds",required:true,xmlName:"MaxAgeInSeconds",type:{name:"Number"}}}}};d.StaticWebsite={serializedName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite",modelProperties:{enabled:{serializedName:"Enabled",required:true,xmlName:"Enabled",type:{name:"Boolean"}},indexDocument:{serializedName:"IndexDocument",xmlName:"IndexDocument",type:{name:"String"}},errorDocument404Path:{serializedName:"ErrorDocument404Path",xmlName:"ErrorDocument404Path",type:{name:"String"}},defaultIndexDocumentPath:{serializedName:"DefaultIndexDocumentPath",xmlName:"DefaultIndexDocumentPath",type:{name:"String"}}}}};d.StorageError={serializedName:"StorageError",type:{name:"Composite",className:"StorageError",modelProperties:{message:{serializedName:"Message",xmlName:"Message",type:{name:"String"}},copySourceStatusCode:{serializedName:"CopySourceStatusCode",xmlName:"CopySourceStatusCode",type:{name:"Number"}},copySourceErrorCode:{serializedName:"CopySourceErrorCode",xmlName:"CopySourceErrorCode",type:{name:"String"}},copySourceErrorMessage:{serializedName:"CopySourceErrorMessage",xmlName:"CopySourceErrorMessage",type:{name:"String"}},code:{serializedName:"Code",xmlName:"Code",type:{name:"String"}},authenticationErrorDetail:{serializedName:"AuthenticationErrorDetail",xmlName:"AuthenticationErrorDetail",type:{name:"String"}}}}};d.BlobServiceStatistics={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}};d.GeoReplication={serializedName:"GeoReplication",type:{name:"Composite",className:"GeoReplication",modelProperties:{status:{serializedName:"Status",required:true,xmlName:"Status",type:{name:"Enum",allowedValues:["live","bootstrap","unavailable"]}},lastSyncOn:{serializedName:"LastSyncTime",required:true,xmlName:"LastSyncTime",type:{name:"DateTimeRfc1123"}}}}};d.ListContainersSegmentResponse={serializedName:"ListContainersSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListContainersSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},containerItems:{serializedName:"ContainerItems",required:true,xmlName:"Containers",xmlIsWrapped:true,xmlElementName:"Container",type:{name:"Sequence",element:{type:{name:"Composite",className:"ContainerItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};d.ContainerItem={serializedName:"ContainerItem",xmlName:"Container",type:{name:"Composite",className:"ContainerItem",modelProperties:{name:{serializedName:"Name",required:true,xmlName:"Name",type:{name:"String"}},deleted:{serializedName:"Deleted",xmlName:"Deleted",type:{name:"Boolean"}},version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"ContainerProperties"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}};d.ContainerProperties={serializedName:"ContainerProperties",type:{name:"Composite",className:"ContainerProperties",modelProperties:{lastModified:{serializedName:"Last-Modified",required:true,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:true,xmlName:"Etag",type:{name:"String"}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},publicAccess:{serializedName:"PublicAccess",xmlName:"PublicAccess",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"HasImmutabilityPolicy",xmlName:"HasImmutabilityPolicy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"HasLegalHold",xmlName:"HasLegalHold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"DefaultEncryptionScope",xmlName:"DefaultEncryptionScope",type:{name:"String"}},preventEncryptionScopeOverride:{serializedName:"DenyEncryptionScopeOverride",xmlName:"DenyEncryptionScopeOverride",type:{name:"Boolean"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},isImmutableStorageWithVersioningEnabled:{serializedName:"ImmutableStorageWithVersioningEnabled",xmlName:"ImmutableStorageWithVersioningEnabled",type:{name:"Boolean"}}}}};d.KeyInfo={serializedName:"KeyInfo",type:{name:"Composite",className:"KeyInfo",modelProperties:{startsOn:{serializedName:"Start",required:true,xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",required:true,xmlName:"Expiry",type:{name:"String"}}}}};d.UserDelegationKey={serializedName:"UserDelegationKey",type:{name:"Composite",className:"UserDelegationKey",modelProperties:{signedObjectId:{serializedName:"SignedOid",required:true,xmlName:"SignedOid",type:{name:"String"}},signedTenantId:{serializedName:"SignedTid",required:true,xmlName:"SignedTid",type:{name:"String"}},signedStartsOn:{serializedName:"SignedStart",required:true,xmlName:"SignedStart",type:{name:"String"}},signedExpiresOn:{serializedName:"SignedExpiry",required:true,xmlName:"SignedExpiry",type:{name:"String"}},signedService:{serializedName:"SignedService",required:true,xmlName:"SignedService",type:{name:"String"}},signedVersion:{serializedName:"SignedVersion",required:true,xmlName:"SignedVersion",type:{name:"String"}},value:{serializedName:"Value",required:true,xmlName:"Value",type:{name:"String"}}}}};d.FilterBlobSegment={serializedName:"FilterBlobSegment",xmlName:"EnumerationResults",type:{name:"Composite",className:"FilterBlobSegment",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},where:{serializedName:"Where",required:true,xmlName:"Where",type:{name:"String"}},blobs:{serializedName:"Blobs",required:true,xmlName:"Blobs",xmlIsWrapped:true,xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"FilterBlobItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};d.FilterBlobItem={serializedName:"FilterBlobItem",xmlName:"Blob",type:{name:"Composite",className:"FilterBlobItem",modelProperties:{name:{serializedName:"Name",required:true,xmlName:"Name",type:{name:"String"}},containerName:{serializedName:"ContainerName",required:true,xmlName:"ContainerName",type:{name:"String"}},tags:{serializedName:"Tags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}}}}};d.BlobTags={serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags",modelProperties:{blobTagSet:{serializedName:"BlobTagSet",required:true,xmlName:"TagSet",xmlIsWrapped:true,xmlElementName:"Tag",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobTag"}}}}}}};d.BlobTag={serializedName:"BlobTag",xmlName:"Tag",type:{name:"Composite",className:"BlobTag",modelProperties:{key:{serializedName:"Key",required:true,xmlName:"Key",type:{name:"String"}},value:{serializedName:"Value",required:true,xmlName:"Value",type:{name:"String"}}}}};d.SignedIdentifier={serializedName:"SignedIdentifier",xmlName:"SignedIdentifier",type:{name:"Composite",className:"SignedIdentifier",modelProperties:{id:{serializedName:"Id",required:true,xmlName:"Id",type:{name:"String"}},accessPolicy:{serializedName:"AccessPolicy",xmlName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy"}}}}};d.AccessPolicy={serializedName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy",modelProperties:{startsOn:{serializedName:"Start",xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",xmlName:"Expiry",type:{name:"String"}},permissions:{serializedName:"Permission",xmlName:"Permission",type:{name:"String"}}}}};d.ListBlobsFlatSegmentResponse={serializedName:"ListBlobsFlatSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsFlatSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:true,xmlName:"ContainerName",xmlIsAttribute:true,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};d.BlobFlatListSegment={serializedName:"BlobFlatListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment",modelProperties:{blobItems:{serializedName:"BlobItems",required:true,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}};d.BlobItemInternal={serializedName:"BlobItemInternal",xmlName:"Blob",type:{name:"Composite",className:"BlobItemInternal",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}},deleted:{serializedName:"Deleted",required:true,xmlName:"Deleted",type:{name:"Boolean"}},snapshot:{serializedName:"Snapshot",required:true,xmlName:"Snapshot",type:{name:"String"}},versionId:{serializedName:"VersionId",xmlName:"VersionId",type:{name:"String"}},isCurrentVersion:{serializedName:"IsCurrentVersion",xmlName:"IsCurrentVersion",type:{name:"Boolean"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobTags:{serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}},objectReplicationMetadata:{serializedName:"ObjectReplicationMetadata",xmlName:"OrMetadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},hasVersionsOnly:{serializedName:"HasVersionsOnly",xmlName:"HasVersionsOnly",type:{name:"Boolean"}}}}};d.BlobName={serializedName:"BlobName",type:{name:"Composite",className:"BlobName",modelProperties:{encoded:{serializedName:"Encoded",xmlName:"Encoded",xmlIsAttribute:true,type:{name:"Boolean"}},content:{serializedName:"content",xmlName:"content",xmlIsMsText:true,type:{name:"String"}}}}};d.BlobPropertiesInternal={serializedName:"BlobPropertiesInternal",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal",modelProperties:{createdOn:{serializedName:"Creation-Time",xmlName:"Creation-Time",type:{name:"DateTimeRfc1123"}},lastModified:{serializedName:"Last-Modified",required:true,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:true,xmlName:"Etag",type:{name:"String"}},contentLength:{serializedName:"Content-Length",xmlName:"Content-Length",type:{name:"Number"}},contentType:{serializedName:"Content-Type",xmlName:"Content-Type",type:{name:"String"}},contentEncoding:{serializedName:"Content-Encoding",xmlName:"Content-Encoding",type:{name:"String"}},contentLanguage:{serializedName:"Content-Language",xmlName:"Content-Language",type:{name:"String"}},contentMD5:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}},contentDisposition:{serializedName:"Content-Disposition",xmlName:"Content-Disposition",type:{name:"String"}},cacheControl:{serializedName:"Cache-Control",xmlName:"Cache-Control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"BlobType",xmlName:"BlobType",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},copyId:{serializedName:"CopyId",xmlName:"CopyId",type:{name:"String"}},copyStatus:{serializedName:"CopyStatus",xmlName:"CopyStatus",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},copySource:{serializedName:"CopySource",xmlName:"CopySource",type:{name:"String"}},copyProgress:{serializedName:"CopyProgress",xmlName:"CopyProgress",type:{name:"String"}},copyCompletedOn:{serializedName:"CopyCompletionTime",xmlName:"CopyCompletionTime",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"CopyStatusDescription",xmlName:"CopyStatusDescription",type:{name:"String"}},serverEncrypted:{serializedName:"ServerEncrypted",xmlName:"ServerEncrypted",type:{name:"Boolean"}},incrementalCopy:{serializedName:"IncrementalCopy",xmlName:"IncrementalCopy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"DestinationSnapshot",xmlName:"DestinationSnapshot",type:{name:"String"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},accessTier:{serializedName:"AccessTier",xmlName:"AccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}},accessTierInferred:{serializedName:"AccessTierInferred",xmlName:"AccessTierInferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"ArchiveStatus",xmlName:"ArchiveStatus",type:{name:"Enum",allowedValues:["rehydrate-pending-to-hot","rehydrate-pending-to-cool","rehydrate-pending-to-cold"]}},customerProvidedKeySha256:{serializedName:"CustomerProvidedKeySha256",xmlName:"CustomerProvidedKeySha256",type:{name:"String"}},encryptionScope:{serializedName:"EncryptionScope",xmlName:"EncryptionScope",type:{name:"String"}},accessTierChangedOn:{serializedName:"AccessTierChangeTime",xmlName:"AccessTierChangeTime",type:{name:"DateTimeRfc1123"}},tagCount:{serializedName:"TagCount",xmlName:"TagCount",type:{name:"Number"}},expiresOn:{serializedName:"Expiry-Time",xmlName:"Expiry-Time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"Sealed",xmlName:"Sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"RehydratePriority",xmlName:"RehydratePriority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessedOn:{serializedName:"LastAccessTime",xmlName:"LastAccessTime",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"ImmutabilityPolicyUntilDate",xmlName:"ImmutabilityPolicyUntilDate",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"ImmutabilityPolicyMode",xmlName:"ImmutabilityPolicyMode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"LegalHold",xmlName:"LegalHold",type:{name:"Boolean"}}}}};d.ListBlobsHierarchySegmentResponse={serializedName:"ListBlobsHierarchySegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsHierarchySegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:true,xmlName:"ServiceEndpoint",xmlIsAttribute:true,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:true,xmlName:"ContainerName",xmlIsAttribute:true,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},delimiter:{serializedName:"Delimiter",xmlName:"Delimiter",type:{name:"String"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};d.BlobHierarchyListSegment={serializedName:"BlobHierarchyListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment",modelProperties:{blobPrefixes:{serializedName:"BlobPrefixes",xmlName:"BlobPrefixes",xmlElementName:"BlobPrefix",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobPrefix"}}}},blobItems:{serializedName:"BlobItems",required:true,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}};d.BlobPrefix={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}};d.BlockLookupList={serializedName:"BlockLookupList",xmlName:"BlockList",type:{name:"Composite",className:"BlockLookupList",modelProperties:{committed:{serializedName:"Committed",xmlName:"Committed",xmlElementName:"Committed",type:{name:"Sequence",element:{type:{name:"String"}}}},uncommitted:{serializedName:"Uncommitted",xmlName:"Uncommitted",xmlElementName:"Uncommitted",type:{name:"Sequence",element:{type:{name:"String"}}}},latest:{serializedName:"Latest",xmlName:"Latest",xmlElementName:"Latest",type:{name:"Sequence",element:{type:{name:"String"}}}}}}};d.BlockList={serializedName:"BlockList",type:{name:"Composite",className:"BlockList",modelProperties:{committedBlocks:{serializedName:"CommittedBlocks",xmlName:"CommittedBlocks",xmlIsWrapped:true,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}},uncommittedBlocks:{serializedName:"UncommittedBlocks",xmlName:"UncommittedBlocks",xmlIsWrapped:true,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}}}}};d.Block={serializedName:"Block",type:{name:"Composite",className:"Block",modelProperties:{name:{serializedName:"Name",required:true,xmlName:"Name",type:{name:"String"}},size:{serializedName:"Size",required:true,xmlName:"Size",type:{name:"Number"}}}}};d.PageList={serializedName:"PageList",type:{name:"Composite",className:"PageList",modelProperties:{pageRange:{serializedName:"PageRange",xmlName:"PageRange",xmlElementName:"PageRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"PageRange"}}}},clearRange:{serializedName:"ClearRange",xmlName:"ClearRange",xmlElementName:"ClearRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"ClearRange"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}};d.PageRange={serializedName:"PageRange",xmlName:"PageRange",type:{name:"Composite",className:"PageRange",modelProperties:{start:{serializedName:"Start",required:true,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:true,xmlName:"End",type:{name:"Number"}}}}};d.ClearRange={serializedName:"ClearRange",xmlName:"ClearRange",type:{name:"Composite",className:"ClearRange",modelProperties:{start:{serializedName:"Start",required:true,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:true,xmlName:"End",type:{name:"Number"}}}}};d.QueryRequest={serializedName:"QueryRequest",xmlName:"QueryRequest",type:{name:"Composite",className:"QueryRequest",modelProperties:{queryType:{serializedName:"QueryType",required:true,xmlName:"QueryType",type:{name:"String"}},expression:{serializedName:"Expression",required:true,xmlName:"Expression",type:{name:"String"}},inputSerialization:{serializedName:"InputSerialization",xmlName:"InputSerialization",type:{name:"Composite",className:"QuerySerialization"}},outputSerialization:{serializedName:"OutputSerialization",xmlName:"OutputSerialization",type:{name:"Composite",className:"QuerySerialization"}}}}};d.QuerySerialization={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}};d.QueryFormat={serializedName:"QueryFormat",type:{name:"Composite",className:"QueryFormat",modelProperties:{type:{serializedName:"Type",required:true,xmlName:"Type",type:{name:"Enum",allowedValues:["delimited","json","arrow","parquet"]}},delimitedTextConfiguration:{serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration"}},jsonTextConfiguration:{serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration"}},arrowConfiguration:{serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration"}},parquetTextConfiguration:{serializedName:"ParquetTextConfiguration",xmlName:"ParquetTextConfiguration",type:{name:"Dictionary",value:{type:{name:"any"}}}}}}};d.DelimitedTextConfiguration={serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration",modelProperties:{columnSeparator:{serializedName:"ColumnSeparator",xmlName:"ColumnSeparator",type:{name:"String"}},fieldQuote:{serializedName:"FieldQuote",xmlName:"FieldQuote",type:{name:"String"}},recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}},escapeChar:{serializedName:"EscapeChar",xmlName:"EscapeChar",type:{name:"String"}},headersPresent:{serializedName:"HeadersPresent",xmlName:"HasHeaders",type:{name:"Boolean"}}}}};d.JsonTextConfiguration={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}};d.ArrowConfiguration={serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration",modelProperties:{schema:{serializedName:"Schema",required:true,xmlName:"Schema",xmlIsWrapped:true,xmlElementName:"Field",type:{name:"Sequence",element:{type:{name:"Composite",className:"ArrowField"}}}}}}};d.ArrowField={serializedName:"ArrowField",xmlName:"Field",type:{name:"Composite",className:"ArrowField",modelProperties:{type:{serializedName:"Type",required:true,xmlName:"Type",type:{name:"String"}},name:{serializedName:"Name",xmlName:"Name",type:{name:"String"}},precision:{serializedName:"Precision",xmlName:"Precision",type:{name:"Number"}},scale:{serializedName:"Scale",xmlName:"Scale",type:{name:"Number"}}}}};d.ServiceSetPropertiesHeaders={serializedName:"Service_setPropertiesHeaders",type:{name:"Composite",className:"ServiceSetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceSetPropertiesExceptionHeaders={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceGetPropertiesHeaders={serializedName:"Service_getPropertiesHeaders",type:{name:"Composite",className:"ServiceGetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceGetPropertiesExceptionHeaders={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceGetStatisticsHeaders={serializedName:"Service_getStatisticsHeaders",type:{name:"Composite",className:"ServiceGetStatisticsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceGetStatisticsExceptionHeaders={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceListContainersSegmentHeaders={serializedName:"Service_listContainersSegmentHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceListContainersSegmentExceptionHeaders={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceGetUserDelegationKeyHeaders={serializedName:"Service_getUserDelegationKeyHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceGetUserDelegationKeyExceptionHeaders={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceGetAccountInfoHeaders={serializedName:"Service_getAccountInfoHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceGetAccountInfoExceptionHeaders={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceSubmitBatchHeaders={serializedName:"Service_submitBatchHeaders",type:{name:"Composite",className:"ServiceSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceSubmitBatchExceptionHeaders={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceFilterBlobsHeaders={serializedName:"Service_filterBlobsHeaders",type:{name:"Composite",className:"ServiceFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ServiceFilterBlobsExceptionHeaders={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerCreateHeaders={serializedName:"Container_createHeaders",type:{name:"Composite",className:"ContainerCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerCreateExceptionHeaders={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerGetPropertiesHeaders={serializedName:"Container_getPropertiesHeaders",type:{name:"Composite",className:"ContainerGetPropertiesHeaders",modelProperties:{metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"x-ms-has-immutability-policy",xmlName:"x-ms-has-immutability-policy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"x-ms-has-legal-hold",xmlName:"x-ms-has-legal-hold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}},denyEncryptionScopeOverride:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}},isImmutableStorageWithVersioningEnabled:{serializedName:"x-ms-immutable-storage-with-versioning-enabled",xmlName:"x-ms-immutable-storage-with-versioning-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerGetPropertiesExceptionHeaders={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerDeleteHeaders={serializedName:"Container_deleteHeaders",type:{name:"Composite",className:"ContainerDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerDeleteExceptionHeaders={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerSetMetadataHeaders={serializedName:"Container_setMetadataHeaders",type:{name:"Composite",className:"ContainerSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerSetMetadataExceptionHeaders={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerGetAccessPolicyHeaders={serializedName:"Container_getAccessPolicyHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyHeaders",modelProperties:{blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerGetAccessPolicyExceptionHeaders={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerSetAccessPolicyHeaders={serializedName:"Container_setAccessPolicyHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerSetAccessPolicyExceptionHeaders={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerRestoreHeaders={serializedName:"Container_restoreHeaders",type:{name:"Composite",className:"ContainerRestoreHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerRestoreExceptionHeaders={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerRenameHeaders={serializedName:"Container_renameHeaders",type:{name:"Composite",className:"ContainerRenameHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerRenameExceptionHeaders={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerSubmitBatchHeaders={serializedName:"Container_submitBatchHeaders",type:{name:"Composite",className:"ContainerSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}}}}};d.ContainerSubmitBatchExceptionHeaders={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerFilterBlobsHeaders={serializedName:"Container_filterBlobsHeaders",type:{name:"Composite",className:"ContainerFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.ContainerFilterBlobsExceptionHeaders={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerAcquireLeaseHeaders={serializedName:"Container_acquireLeaseHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.ContainerAcquireLeaseExceptionHeaders={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerReleaseLeaseHeaders={serializedName:"Container_releaseLeaseHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.ContainerReleaseLeaseExceptionHeaders={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerRenewLeaseHeaders={serializedName:"Container_renewLeaseHeaders",type:{name:"Composite",className:"ContainerRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.ContainerRenewLeaseExceptionHeaders={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerBreakLeaseHeaders={serializedName:"Container_breakLeaseHeaders",type:{name:"Composite",className:"ContainerBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.ContainerBreakLeaseExceptionHeaders={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerChangeLeaseHeaders={serializedName:"Container_changeLeaseHeaders",type:{name:"Composite",className:"ContainerChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.ContainerChangeLeaseExceptionHeaders={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerListBlobFlatSegmentHeaders={serializedName:"Container_listBlobFlatSegmentHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerListBlobFlatSegmentExceptionHeaders={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerListBlobHierarchySegmentHeaders={serializedName:"Container_listBlobHierarchySegmentHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerListBlobHierarchySegmentExceptionHeaders={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.ContainerGetAccountInfoHeaders={serializedName:"Container_getAccountInfoHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}};d.ContainerGetAccountInfoExceptionHeaders={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobDownloadHeaders={serializedName:"Blob_downloadHeaders",type:{name:"Composite",className:"BlobDownloadHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}};d.BlobDownloadExceptionHeaders={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobGetPropertiesHeaders={serializedName:"Blob_getPropertiesHeaders",type:{name:"Composite",className:"BlobGetPropertiesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},isIncrementalCopy:{serializedName:"x-ms-incremental-copy",xmlName:"x-ms-incremental-copy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"x-ms-copy-destination-snapshot",xmlName:"x-ms-copy-destination-snapshot",type:{name:"String"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},accessTier:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"String"}},accessTierInferred:{serializedName:"x-ms-access-tier-inferred",xmlName:"x-ms-access-tier-inferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"x-ms-archive-status",xmlName:"x-ms-archive-status",type:{name:"String"}},accessTierChangedOn:{serializedName:"x-ms-access-tier-change-time",xmlName:"x-ms-access-tier-change-time",type:{name:"DateTimeRfc1123"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},expiresOn:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobGetPropertiesExceptionHeaders={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobDeleteHeaders={serializedName:"Blob_deleteHeaders",type:{name:"Composite",className:"BlobDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobDeleteExceptionHeaders={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobUndeleteHeaders={serializedName:"Blob_undeleteHeaders",type:{name:"Composite",className:"BlobUndeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobUndeleteExceptionHeaders={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobSetExpiryHeaders={serializedName:"Blob_setExpiryHeaders",type:{name:"Composite",className:"BlobSetExpiryHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.BlobSetExpiryExceptionHeaders={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobSetHttpHeadersHeaders={serializedName:"Blob_setHttpHeadersHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobSetHttpHeadersExceptionHeaders={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobSetImmutabilityPolicyHeaders={serializedName:"Blob_setImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiry:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}}}};d.BlobSetImmutabilityPolicyExceptionHeaders={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobDeleteImmutabilityPolicyHeaders={serializedName:"Blob_deleteImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.BlobDeleteImmutabilityPolicyExceptionHeaders={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobSetLegalHoldHeaders={serializedName:"Blob_setLegalHoldHeaders",type:{name:"Composite",className:"BlobSetLegalHoldHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}}};d.BlobSetLegalHoldExceptionHeaders={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobSetMetadataHeaders={serializedName:"Blob_setMetadataHeaders",type:{name:"Composite",className:"BlobSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobSetMetadataExceptionHeaders={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobAcquireLeaseHeaders={serializedName:"Blob_acquireLeaseHeaders",type:{name:"Composite",className:"BlobAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.BlobAcquireLeaseExceptionHeaders={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobReleaseLeaseHeaders={serializedName:"Blob_releaseLeaseHeaders",type:{name:"Composite",className:"BlobReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.BlobReleaseLeaseExceptionHeaders={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobRenewLeaseHeaders={serializedName:"Blob_renewLeaseHeaders",type:{name:"Composite",className:"BlobRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.BlobRenewLeaseExceptionHeaders={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobChangeLeaseHeaders={serializedName:"Blob_changeLeaseHeaders",type:{name:"Composite",className:"BlobChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.BlobChangeLeaseExceptionHeaders={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobBreakLeaseHeaders={serializedName:"Blob_breakLeaseHeaders",type:{name:"Composite",className:"BlobBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}};d.BlobBreakLeaseExceptionHeaders={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobCreateSnapshotHeaders={serializedName:"Blob_createSnapshotHeaders",type:{name:"Composite",className:"BlobCreateSnapshotHeaders",modelProperties:{snapshot:{serializedName:"x-ms-snapshot",xmlName:"x-ms-snapshot",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobCreateSnapshotExceptionHeaders={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobStartCopyFromURLHeaders={serializedName:"Blob_startCopyFromURLHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobStartCopyFromURLExceptionHeaders={serializedName:"Blob_startCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};d.BlobCopyFromURLHeaders={serializedName:"Blob_copyFromURLHeaders",type:{name:"Composite",className:"BlobCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{defaultValue:"success",isConstant:true,serializedName:"x-ms-copy-status",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobCopyFromURLExceptionHeaders={serializedName:"Blob_copyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};d.BlobAbortCopyFromURLHeaders={serializedName:"Blob_abortCopyFromURLHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobAbortCopyFromURLExceptionHeaders={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobSetTierHeaders={serializedName:"Blob_setTierHeaders",type:{name:"Composite",className:"BlobSetTierHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobSetTierExceptionHeaders={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobGetAccountInfoHeaders={serializedName:"Blob_getAccountInfoHeaders",type:{name:"Composite",className:"BlobGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}};d.BlobGetAccountInfoExceptionHeaders={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobQueryHeaders={serializedName:"Blob_queryHeaders",type:{name:"Composite",className:"BlobQueryHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletionTime:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}};d.BlobQueryExceptionHeaders={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobGetTagsHeaders={serializedName:"Blob_getTagsHeaders",type:{name:"Composite",className:"BlobGetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobGetTagsExceptionHeaders={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobSetTagsHeaders={serializedName:"Blob_setTagsHeaders",type:{name:"Composite",className:"BlobSetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlobSetTagsExceptionHeaders={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobCreateHeaders={serializedName:"PageBlob_createHeaders",type:{name:"Composite",className:"PageBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobCreateExceptionHeaders={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobUploadPagesHeaders={serializedName:"PageBlob_uploadPagesHeaders",type:{name:"Composite",className:"PageBlobUploadPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobUploadPagesExceptionHeaders={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobClearPagesHeaders={serializedName:"PageBlob_clearPagesHeaders",type:{name:"Composite",className:"PageBlobClearPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobClearPagesExceptionHeaders={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobUploadPagesFromURLHeaders={serializedName:"PageBlob_uploadPagesFromURLHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobUploadPagesFromURLExceptionHeaders={serializedName:"PageBlob_uploadPagesFromURLExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};d.PageBlobGetPageRangesHeaders={serializedName:"PageBlob_getPageRangesHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobGetPageRangesExceptionHeaders={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobGetPageRangesDiffHeaders={serializedName:"PageBlob_getPageRangesDiffHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobGetPageRangesDiffExceptionHeaders={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobResizeHeaders={serializedName:"PageBlob_resizeHeaders",type:{name:"Composite",className:"PageBlobResizeHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobResizeExceptionHeaders={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobUpdateSequenceNumberHeaders={serializedName:"PageBlob_updateSequenceNumberHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobUpdateSequenceNumberExceptionHeaders={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobCopyIncrementalHeaders={serializedName:"PageBlob_copyIncrementalHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.PageBlobCopyIncrementalExceptionHeaders={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.AppendBlobCreateHeaders={serializedName:"AppendBlob_createHeaders",type:{name:"Composite",className:"AppendBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.AppendBlobCreateExceptionHeaders={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.AppendBlobAppendBlockHeaders={serializedName:"AppendBlob_appendBlockHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.AppendBlobAppendBlockExceptionHeaders={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.AppendBlobAppendBlockFromUrlHeaders={serializedName:"AppendBlob_appendBlockFromUrlHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.AppendBlobAppendBlockFromUrlExceptionHeaders={serializedName:"AppendBlob_appendBlockFromUrlExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};d.AppendBlobSealHeaders={serializedName:"AppendBlob_sealHeaders",type:{name:"Composite",className:"AppendBlobSealHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}}}}};d.AppendBlobSealExceptionHeaders={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlockBlobUploadHeaders={serializedName:"BlockBlob_uploadHeaders",type:{name:"Composite",className:"BlockBlobUploadHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlockBlobUploadExceptionHeaders={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlockBlobPutBlobFromUrlHeaders={serializedName:"BlockBlob_putBlobFromUrlHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlockBlobPutBlobFromUrlExceptionHeaders={serializedName:"BlockBlob_putBlobFromUrlExceptionHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};d.BlockBlobStageBlockHeaders={serializedName:"BlockBlob_stageBlockHeaders",type:{name:"Composite",className:"BlockBlobStageBlockHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlockBlobStageBlockExceptionHeaders={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlockBlobStageBlockFromURLHeaders={serializedName:"BlockBlob_stageBlockFromURLHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlockBlobStageBlockFromURLExceptionHeaders={serializedName:"BlockBlob_stageBlockFromURLExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}};d.BlockBlobCommitBlockListHeaders={serializedName:"BlockBlob_commitBlockListHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlockBlobCommitBlockListExceptionHeaders={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlockBlobGetBlockListHeaders={serializedName:"BlockBlob_getBlockListHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}};d.BlockBlobGetBlockListExceptionHeaders={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}}},6088:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.action3=d.action2=d.leaseId1=d.action1=d.proposedLeaseId=d.duration=d.action=d.comp10=d.sourceLeaseId=d.sourceContainerName=d.comp9=d.deletedContainerVersion=d.deletedContainerName=d.comp8=d.containerAcl=d.comp7=d.comp6=d.ifUnmodifiedSince=d.ifModifiedSince=d.leaseId=d.preventEncryptionScopeOverride=d.defaultEncryptionScope=d.access=d.metadata=d.restype2=d.where=d.comp5=d.multipartContentType=d.contentLength=d.comp4=d.body=d.restype1=d.comp3=d.keyInfo=d.include=d.maxPageSize=d.marker=d.prefix=d.comp2=d.comp1=d.accept1=d.requestId=d.version=d.timeoutInSeconds=d.comp=d.restype=d.url=d.accept=d.blobServiceProperties=d.contentType=void 0;d.copySourceTags=d.copySourceAuthorization=d.sourceContentMD5=d.xMsRequiresSync=d.legalHold1=d.sealBlob=d.blobTagsString=d.copySource=d.sourceIfTags=d.sourceIfNoneMatch=d.sourceIfMatch=d.sourceIfUnmodifiedSince=d.sourceIfModifiedSince=d.rehydratePriority=d.tier=d.comp14=d.encryptionScope=d.legalHold=d.comp13=d.immutabilityPolicyMode=d.immutabilityPolicyExpiry=d.comp12=d.blobContentDisposition=d.blobContentLanguage=d.blobContentEncoding=d.blobContentMD5=d.blobContentType=d.blobCacheControl=d.expiresOn=d.expiryOptions=d.comp11=d.blobDeleteType=d.deleteSnapshots=d.ifTags=d.ifNoneMatch=d.ifMatch=d.encryptionAlgorithm=d.encryptionKeySha256=d.encryptionKey=d.rangeGetContentCRC64=d.rangeGetContentMD5=d.range=d.versionId=d.snapshot=d.delimiter=d.startFrom=d.include1=d.proposedLeaseId1=d.action4=d.breakPeriod=void 0;d.listType=d.comp25=d.blocks=d.blockId=d.comp24=d.copySourceBlobProperties=d.blobType2=d.comp23=d.sourceRange1=d.appendPosition=d.maxSize=d.comp22=d.blobType1=d.comp21=d.sequenceNumberAction=d.prevSnapshotUrl=d.prevsnapshot=d.comp20=d.range1=d.sourceContentCrc64=d.sourceRange=d.sourceUrl=d.pageWrite1=d.ifSequenceNumberEqualTo=d.ifSequenceNumberLessThan=d.ifSequenceNumberLessThanOrEqualTo=d.pageWrite=d.comp19=d.accept2=d.body1=d.contentType1=d.blobSequenceNumber=d.blobContentLength=d.blobType=d.transactionalContentCrc64=d.transactionalContentMD5=d.tags=d.ifNoneMatch1=d.ifMatch1=d.ifUnmodifiedSince1=d.ifModifiedSince1=d.comp18=d.comp17=d.queryRequest=d.tier1=d.comp16=d.copyId=d.copyActionAbortConstant=d.comp15=d.fileRequestIntent=void 0;const v=p(84424);d.contentType={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Content-Type",type:{name:"String"}}};d.blobServiceProperties={parameterPath:"blobServiceProperties",mapper:v.BlobServiceProperties};d.accept={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};d.url={parameterPath:"url",mapper:{serializedName:"url",required:true,xmlName:"url",type:{name:"String"}},skipEncoding:true};d.restype={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:true,serializedName:"restype",type:{name:"String"}}};d.comp={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.timeoutInSeconds={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}};d.version={parameterPath:"version",mapper:{defaultValue:"2026-02-06",isConstant:true,serializedName:"x-ms-version",type:{name:"String"}}};d.requestId={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}};d.accept1={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};d.comp1={parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.comp2={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.prefix={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}};d.marker={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}};d.maxPageSize={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}};d.include={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"};d.keyInfo={parameterPath:"keyInfo",mapper:v.KeyInfo};d.comp3={parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.restype1={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:true,serializedName:"restype",type:{name:"String"}}};d.body={parameterPath:"body",mapper:{serializedName:"body",required:true,xmlName:"body",type:{name:"Stream"}}};d.comp4={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.contentLength={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:true,xmlName:"Content-Length",type:{name:"Number"}}};d.multipartContentType={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:true,xmlName:"Content-Type",type:{name:"String"}}};d.comp5={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.where={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}};d.restype2={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:true,serializedName:"restype",type:{name:"String"}}};d.metadata={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}};d.access={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}};d.defaultEncryptionScope={parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}};d.preventEncryptionScopeOverride={parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}};d.leaseId={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}};d.ifModifiedSince={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}};d.ifUnmodifiedSince={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}};d.comp6={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.comp7={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.containerAcl={parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:true,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}};d.comp8={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.deletedContainerName={parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}};d.deletedContainerVersion={parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}};d.comp9={parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.sourceContainerName={parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:true,xmlName:"x-ms-source-container-name",type:{name:"String"}}};d.sourceLeaseId={parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}};d.comp10={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.action={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};d.duration={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}};d.proposedLeaseId={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};d.action1={parameterPath:"action",mapper:{defaultValue:"release",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};d.leaseId1={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:true,xmlName:"x-ms-lease-id",type:{name:"String"}}};d.action2={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};d.action3={parameterPath:"action",mapper:{defaultValue:"break",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};d.breakPeriod={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}};d.action4={parameterPath:"action",mapper:{defaultValue:"change",isConstant:true,serializedName:"x-ms-lease-action",type:{name:"String"}}};d.proposedLeaseId1={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:true,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}};d.include1={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListBlobsIncludeItem",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["copy","deleted","metadata","snapshots","uncommittedblobs","versions","tags","immutabilitypolicy","legalhold","deletedwithversions"]}}}},collectionFormat:"CSV"};d.startFrom={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}};d.delimiter={parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:true,xmlName:"delimiter",type:{name:"String"}}};d.snapshot={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}};d.versionId={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}};d.range={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}};d.rangeGetContentMD5={parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}};d.rangeGetContentCRC64={parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}};d.encryptionKey={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}};d.encryptionKeySha256={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}};d.encryptionAlgorithm={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}};d.ifMatch={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}};d.ifNoneMatch={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}};d.ifTags={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}};d.deleteSnapshots={parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}};d.blobDeleteType={parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}};d.comp11={parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.expiryOptions={parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:true,xmlName:"x-ms-expiry-option",type:{name:"String"}}};d.expiresOn={parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}};d.blobCacheControl={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}};d.blobContentType={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}};d.blobContentMD5={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}};d.blobContentEncoding={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}};d.blobContentLanguage={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}};d.blobContentDisposition={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}};d.comp12={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.immutabilityPolicyExpiry={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}};d.immutabilityPolicyMode={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}};d.comp13={parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.legalHold={parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:true,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};d.encryptionScope={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}};d.comp14={parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.tier={parameterPath:["options","tier"],mapper:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}}};d.rehydratePriority={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}};d.sourceIfModifiedSince={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}};d.sourceIfUnmodifiedSince={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};d.sourceIfMatch={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}};d.sourceIfNoneMatch={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}};d.sourceIfTags={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}};d.copySource={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:true,xmlName:"x-ms-copy-source",type:{name:"String"}}};d.blobTagsString={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}};d.sealBlob={parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}};d.legalHold1={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}};d.xMsRequiresSync={parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:true,serializedName:"x-ms-requires-sync",type:{name:"String"}}};d.sourceContentMD5={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}};d.copySourceAuthorization={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}};d.copySourceTags={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}};d.fileRequestIntent={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}};d.comp15={parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.copyActionAbortConstant={parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:true,serializedName:"x-ms-copy-action",type:{name:"String"}}};d.copyId={parameterPath:"copyId",mapper:{serializedName:"copyid",required:true,xmlName:"copyid",type:{name:"String"}}};d.comp16={parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.tier1={parameterPath:"tier",mapper:{serializedName:"x-ms-access-tier",required:true,xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold"]}}};d.queryRequest={parameterPath:["options","queryRequest"],mapper:v.QueryRequest};d.comp17={parameterPath:"comp",mapper:{defaultValue:"query",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.comp18={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.ifModifiedSince1={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}};d.ifUnmodifiedSince1={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}};d.ifMatch1={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}};d.ifNoneMatch1={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}};d.tags={parameterPath:["options","tags"],mapper:v.BlobTags};d.transactionalContentMD5={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}};d.transactionalContentCrc64={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}};d.blobType={parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};d.blobContentLength={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:true,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}};d.blobSequenceNumber={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}};d.contentType1={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:true,serializedName:"Content-Type",type:{name:"String"}}};d.body1={parameterPath:"body",mapper:{serializedName:"body",required:true,xmlName:"body",type:{name:"Stream"}}};d.accept2={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:true,serializedName:"Accept",type:{name:"String"}}};d.comp19={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.pageWrite={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:true,serializedName:"x-ms-page-write",type:{name:"String"}}};d.ifSequenceNumberLessThanOrEqualTo={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}};d.ifSequenceNumberLessThan={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}};d.ifSequenceNumberEqualTo={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}};d.pageWrite1={parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:true,serializedName:"x-ms-page-write",type:{name:"String"}}};d.sourceUrl={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:true,xmlName:"x-ms-copy-source",type:{name:"String"}}};d.sourceRange={parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:true,xmlName:"x-ms-source-range",type:{name:"String"}}};d.sourceContentCrc64={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}};d.range1={parameterPath:"range",mapper:{serializedName:"x-ms-range",required:true,xmlName:"x-ms-range",type:{name:"String"}}};d.comp20={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.prevsnapshot={parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}};d.prevSnapshotUrl={parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}};d.sequenceNumberAction={parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:true,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}};d.comp21={parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.blobType1={parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};d.comp22={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.maxSize={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}};d.appendPosition={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}};d.sourceRange1={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}};d.comp23={parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.blobType2={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:true,serializedName:"x-ms-blob-type",type:{name:"String"}}};d.copySourceBlobProperties={parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}};d.comp24={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.blockId={parameterPath:"blockId",mapper:{serializedName:"blockid",required:true,xmlName:"blockid",type:{name:"String"}}};d.blocks={parameterPath:"blocks",mapper:v.BlockLookupList};d.comp25={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:true,serializedName:"comp",type:{name:"String"}}};d.listType={parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:true,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}}},40535:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.AppendBlobImpl=void 0;const v=p(93849);const V=v.__importStar(p(60160));const K=v.__importStar(p(84424));const ee=v.__importStar(p(6088));class AppendBlobImpl{client;constructor(i){this.client=i}create(i,d){return this.client.sendOperationRequest({contentLength:i,options:d},re)}appendBlock(i,d,p){return this.client.sendOperationRequest({contentLength:i,body:d,options:p},ne)}appendBlockFromUrl(i,d,p){return this.client.sendOperationRequest({sourceUrl:i,contentLength:d,options:p},se)}seal(i){return this.client.sendOperationRequest({options:i},ie)}}d.AppendBlobImpl=AppendBlobImpl;const te=V.createSerializer(K,true);const re={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:K.AppendBlobCreateHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.AppendBlobCreateExceptionHeaders}},queryParameters:[ee.timeoutInSeconds],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.contentLength,ee.metadata,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.blobCacheControl,ee.blobContentType,ee.blobContentMD5,ee.blobContentEncoding,ee.blobContentLanguage,ee.blobContentDisposition,ee.immutabilityPolicyExpiry,ee.immutabilityPolicyMode,ee.encryptionScope,ee.blobTagsString,ee.legalHold1,ee.blobType1],isXML:true,serializer:te};const ne={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:K.AppendBlobAppendBlockHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.AppendBlobAppendBlockExceptionHeaders}},requestBody:ee.body1,queryParameters:[ee.timeoutInSeconds,ee.comp22],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.contentLength,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.encryptionScope,ee.transactionalContentMD5,ee.transactionalContentCrc64,ee.contentType1,ee.accept2,ee.maxSize,ee.appendPosition],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:te};const se={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:K.AppendBlobAppendBlockFromUrlHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.AppendBlobAppendBlockFromUrlExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp22],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.contentLength,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.encryptionScope,ee.sourceIfModifiedSince,ee.sourceIfUnmodifiedSince,ee.sourceIfMatch,ee.sourceIfNoneMatch,ee.sourceContentMD5,ee.copySourceAuthorization,ee.fileRequestIntent,ee.transactionalContentMD5,ee.sourceUrl,ee.sourceContentCrc64,ee.maxSize,ee.appendPosition,ee.sourceRange1],isXML:true,serializer:te};const ie={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:K.AppendBlobSealHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.AppendBlobSealExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp23],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.ifMatch,ee.ifNoneMatch,ee.appendPosition],isXML:true,serializer:te}},57559:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BlobImpl=void 0;const v=p(93849);const V=v.__importStar(p(60160));const K=v.__importStar(p(84424));const ee=v.__importStar(p(6088));class BlobImpl{client;constructor(i){this.client=i}download(i){return this.client.sendOperationRequest({options:i},re)}getProperties(i){return this.client.sendOperationRequest({options:i},ne)}delete(i){return this.client.sendOperationRequest({options:i},se)}undelete(i){return this.client.sendOperationRequest({options:i},ie)}setExpiry(i,d){return this.client.sendOperationRequest({expiryOptions:i,options:d},oe)}setHttpHeaders(i){return this.client.sendOperationRequest({options:i},ae)}setImmutabilityPolicy(i){return this.client.sendOperationRequest({options:i},Ae)}deleteImmutabilityPolicy(i){return this.client.sendOperationRequest({options:i},ce)}setLegalHold(i,d){return this.client.sendOperationRequest({legalHold:i,options:d},le)}setMetadata(i){return this.client.sendOperationRequest({options:i},ue)}acquireLease(i){return this.client.sendOperationRequest({options:i},de)}releaseLease(i,d){return this.client.sendOperationRequest({leaseId:i,options:d},he)}renewLease(i,d){return this.client.sendOperationRequest({leaseId:i,options:d},fe)}changeLease(i,d,p){return this.client.sendOperationRequest({leaseId:i,proposedLeaseId:d,options:p},ge)}breakLease(i){return this.client.sendOperationRequest({options:i},pe)}createSnapshot(i){return this.client.sendOperationRequest({options:i},me)}startCopyFromURL(i,d){return this.client.sendOperationRequest({copySource:i,options:d},Ee)}copyFromURL(i,d){return this.client.sendOperationRequest({copySource:i,options:d},Ce)}abortCopyFromURL(i,d){return this.client.sendOperationRequest({copyId:i,options:d},ye)}setTier(i,d){return this.client.sendOperationRequest({tier:i,options:d},Ie)}getAccountInfo(i){return this.client.sendOperationRequest({options:i},Be)}query(i){return this.client.sendOperationRequest({options:i},Qe)}getTags(i){return this.client.sendOperationRequest({options:i},be)}setTags(i){return this.client.sendOperationRequest({options:i},we)}}d.BlobImpl=BlobImpl;const te=V.createSerializer(K,true);const re={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:K.BlobDownloadHeaders},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:K.BlobDownloadHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobDownloadExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.snapshot,ee.versionId],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.range,ee.rangeGetContentMD5,ee.rangeGetContentCRC64,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.ifMatch,ee.ifNoneMatch,ee.ifTags],isXML:true,serializer:te};const ne={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:K.BlobGetPropertiesHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobGetPropertiesExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.snapshot,ee.versionId],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.ifMatch,ee.ifNoneMatch,ee.ifTags],isXML:true,serializer:te};const se={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:K.BlobDeleteHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobDeleteExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.snapshot,ee.versionId,ee.blobDeleteType],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.deleteSnapshots],isXML:true,serializer:te};const ie={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:K.BlobUndeleteHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobUndeleteExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp8],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1],isXML:true,serializer:te};const oe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:K.BlobSetExpiryHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobSetExpiryExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp11],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.expiryOptions,ee.expiresOn],isXML:true,serializer:te};const ae={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:K.BlobSetHttpHeadersHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobSetHttpHeadersExceptionHeaders}},queryParameters:[ee.comp,ee.timeoutInSeconds],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.blobCacheControl,ee.blobContentType,ee.blobContentMD5,ee.blobContentEncoding,ee.blobContentLanguage,ee.blobContentDisposition],isXML:true,serializer:te};const Ae={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:K.BlobSetImmutabilityPolicyHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobSetImmutabilityPolicyExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.snapshot,ee.versionId,ee.comp12],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.ifUnmodifiedSince,ee.immutabilityPolicyExpiry,ee.immutabilityPolicyMode],isXML:true,serializer:te};const ce={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:K.BlobDeleteImmutabilityPolicyHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobDeleteImmutabilityPolicyExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.snapshot,ee.versionId,ee.comp12],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1],isXML:true,serializer:te};const le={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:K.BlobSetLegalHoldHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobSetLegalHoldExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.snapshot,ee.versionId,ee.comp13],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.legalHold],isXML:true,serializer:te};const ue={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:K.BlobSetMetadataHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobSetMetadataExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp6],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.metadata,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.encryptionScope],isXML:true,serializer:te};const de={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:K.BlobAcquireLeaseHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobAcquireLeaseExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp10],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.action,ee.duration,ee.proposedLeaseId,ee.ifMatch,ee.ifNoneMatch,ee.ifTags],isXML:true,serializer:te};const he={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:K.BlobReleaseLeaseHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobReleaseLeaseExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp10],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.action1,ee.leaseId1,ee.ifMatch,ee.ifNoneMatch,ee.ifTags],isXML:true,serializer:te};const fe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:K.BlobRenewLeaseHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobRenewLeaseExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp10],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.leaseId1,ee.action2,ee.ifMatch,ee.ifNoneMatch,ee.ifTags],isXML:true,serializer:te};const ge={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:K.BlobChangeLeaseHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobChangeLeaseExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp10],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.leaseId1,ee.action4,ee.proposedLeaseId1,ee.ifMatch,ee.ifNoneMatch,ee.ifTags],isXML:true,serializer:te};const pe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:K.BlobBreakLeaseHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobBreakLeaseExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp10],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.action3,ee.breakPeriod,ee.ifMatch,ee.ifNoneMatch,ee.ifTags],isXML:true,serializer:te};const me={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:K.BlobCreateSnapshotHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobCreateSnapshotExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp14],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.metadata,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.encryptionScope],isXML:true,serializer:te};const Ee={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:K.BlobStartCopyFromURLHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobStartCopyFromURLExceptionHeaders}},queryParameters:[ee.timeoutInSeconds],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.metadata,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.immutabilityPolicyExpiry,ee.immutabilityPolicyMode,ee.tier,ee.rehydratePriority,ee.sourceIfModifiedSince,ee.sourceIfUnmodifiedSince,ee.sourceIfMatch,ee.sourceIfNoneMatch,ee.sourceIfTags,ee.copySource,ee.blobTagsString,ee.sealBlob,ee.legalHold1],isXML:true,serializer:te};const Ce={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:K.BlobCopyFromURLHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobCopyFromURLExceptionHeaders}},queryParameters:[ee.timeoutInSeconds],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.metadata,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.immutabilityPolicyExpiry,ee.immutabilityPolicyMode,ee.encryptionScope,ee.tier,ee.sourceIfModifiedSince,ee.sourceIfUnmodifiedSince,ee.sourceIfMatch,ee.sourceIfNoneMatch,ee.copySource,ee.blobTagsString,ee.legalHold1,ee.xMsRequiresSync,ee.sourceContentMD5,ee.copySourceAuthorization,ee.copySourceTags,ee.fileRequestIntent],isXML:true,serializer:te};const ye={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:K.BlobAbortCopyFromURLHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobAbortCopyFromURLExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp15,ee.copyId],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.leaseId,ee.copyActionAbortConstant],isXML:true,serializer:te};const Ie={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:K.BlobSetTierHeaders},202:{headersMapper:K.BlobSetTierHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobSetTierExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.snapshot,ee.versionId,ee.comp16],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.leaseId,ee.ifTags,ee.rehydratePriority,ee.tier1],isXML:true,serializer:te};const Be={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:K.BlobGetAccountInfoHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobGetAccountInfoExceptionHeaders}},queryParameters:[ee.comp,ee.timeoutInSeconds,ee.restype1],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1],isXML:true,serializer:te};const Qe={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:K.BlobQueryHeaders},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:K.BlobQueryHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobQueryExceptionHeaders}},requestBody:ee.queryRequest,queryParameters:[ee.timeoutInSeconds,ee.snapshot,ee.comp17],urlParameters:[ee.url],headerParameters:[ee.contentType,ee.accept,ee.version,ee.requestId,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.ifMatch,ee.ifNoneMatch,ee.ifTags],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:te};const be={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:K.BlobTags,headersMapper:K.BlobGetTagsHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobGetTagsExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.snapshot,ee.versionId,ee.comp18],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.leaseId,ee.ifTags,ee.ifModifiedSince1,ee.ifUnmodifiedSince1,ee.ifMatch1,ee.ifNoneMatch1],isXML:true,serializer:te};const we={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:K.BlobSetTagsHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlobSetTagsExceptionHeaders}},requestBody:ee.tags,queryParameters:[ee.timeoutInSeconds,ee.versionId,ee.comp18],urlParameters:[ee.url],headerParameters:[ee.contentType,ee.accept,ee.version,ee.requestId,ee.leaseId,ee.ifTags,ee.ifModifiedSince1,ee.ifUnmodifiedSince1,ee.ifMatch1,ee.ifNoneMatch1,ee.transactionalContentMD5,ee.transactionalContentCrc64],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:te}},95440:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BlockBlobImpl=void 0;const v=p(93849);const V=v.__importStar(p(60160));const K=v.__importStar(p(84424));const ee=v.__importStar(p(6088));class BlockBlobImpl{client;constructor(i){this.client=i}upload(i,d,p){return this.client.sendOperationRequest({contentLength:i,body:d,options:p},re)}putBlobFromUrl(i,d,p){return this.client.sendOperationRequest({contentLength:i,copySource:d,options:p},ne)}stageBlock(i,d,p,v){return this.client.sendOperationRequest({blockId:i,contentLength:d,body:p,options:v},se)}stageBlockFromURL(i,d,p,v){return this.client.sendOperationRequest({blockId:i,contentLength:d,sourceUrl:p,options:v},ie)}commitBlockList(i,d){return this.client.sendOperationRequest({blocks:i,options:d},oe)}getBlockList(i,d){return this.client.sendOperationRequest({listType:i,options:d},ae)}}d.BlockBlobImpl=BlockBlobImpl;const te=V.createSerializer(K,true);const re={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:K.BlockBlobUploadHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlockBlobUploadExceptionHeaders}},requestBody:ee.body1,queryParameters:[ee.timeoutInSeconds],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.contentLength,ee.metadata,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.blobCacheControl,ee.blobContentType,ee.blobContentMD5,ee.blobContentEncoding,ee.blobContentLanguage,ee.blobContentDisposition,ee.immutabilityPolicyExpiry,ee.immutabilityPolicyMode,ee.encryptionScope,ee.tier,ee.blobTagsString,ee.legalHold1,ee.transactionalContentMD5,ee.transactionalContentCrc64,ee.contentType1,ee.accept2,ee.blobType2],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:te};const ne={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:K.BlockBlobPutBlobFromUrlHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlockBlobPutBlobFromUrlExceptionHeaders}},queryParameters:[ee.timeoutInSeconds],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.contentLength,ee.metadata,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.blobCacheControl,ee.blobContentType,ee.blobContentMD5,ee.blobContentEncoding,ee.blobContentLanguage,ee.blobContentDisposition,ee.encryptionScope,ee.tier,ee.sourceIfModifiedSince,ee.sourceIfUnmodifiedSince,ee.sourceIfMatch,ee.sourceIfNoneMatch,ee.sourceIfTags,ee.copySource,ee.blobTagsString,ee.sourceContentMD5,ee.copySourceAuthorization,ee.copySourceTags,ee.fileRequestIntent,ee.transactionalContentMD5,ee.blobType2,ee.copySourceBlobProperties],isXML:true,serializer:te};const se={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:K.BlockBlobStageBlockHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlockBlobStageBlockExceptionHeaders}},requestBody:ee.body1,queryParameters:[ee.timeoutInSeconds,ee.comp24,ee.blockId],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.contentLength,ee.leaseId,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.encryptionScope,ee.transactionalContentMD5,ee.transactionalContentCrc64,ee.contentType1,ee.accept2],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:te};const ie={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:K.BlockBlobStageBlockFromURLHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlockBlobStageBlockFromURLExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp24,ee.blockId],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.contentLength,ee.leaseId,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.encryptionScope,ee.sourceIfModifiedSince,ee.sourceIfUnmodifiedSince,ee.sourceIfMatch,ee.sourceIfNoneMatch,ee.sourceContentMD5,ee.copySourceAuthorization,ee.fileRequestIntent,ee.sourceUrl,ee.sourceContentCrc64,ee.sourceRange1],isXML:true,serializer:te};const oe={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:K.BlockBlobCommitBlockListHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlockBlobCommitBlockListExceptionHeaders}},requestBody:ee.blocks,queryParameters:[ee.timeoutInSeconds,ee.comp25],urlParameters:[ee.url],headerParameters:[ee.contentType,ee.accept,ee.version,ee.requestId,ee.metadata,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.blobCacheControl,ee.blobContentType,ee.blobContentMD5,ee.blobContentEncoding,ee.blobContentLanguage,ee.blobContentDisposition,ee.immutabilityPolicyExpiry,ee.immutabilityPolicyMode,ee.encryptionScope,ee.tier,ee.blobTagsString,ee.legalHold1,ee.transactionalContentMD5,ee.transactionalContentCrc64],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:te};const ae={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:K.BlockList,headersMapper:K.BlockBlobGetBlockListHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.BlockBlobGetBlockListExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.snapshot,ee.comp25,ee.listType],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.leaseId,ee.ifTags],isXML:true,serializer:te}},14509:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ContainerImpl=void 0;const v=p(93849);const V=v.__importStar(p(60160));const K=v.__importStar(p(84424));const ee=v.__importStar(p(6088));class ContainerImpl{client;constructor(i){this.client=i}create(i){return this.client.sendOperationRequest({options:i},re)}getProperties(i){return this.client.sendOperationRequest({options:i},ne)}delete(i){return this.client.sendOperationRequest({options:i},se)}setMetadata(i){return this.client.sendOperationRequest({options:i},ie)}getAccessPolicy(i){return this.client.sendOperationRequest({options:i},oe)}setAccessPolicy(i){return this.client.sendOperationRequest({options:i},ae)}restore(i){return this.client.sendOperationRequest({options:i},Ae)}rename(i,d){return this.client.sendOperationRequest({sourceContainerName:i,options:d},ce)}submitBatch(i,d,p,v){return this.client.sendOperationRequest({contentLength:i,multipartContentType:d,body:p,options:v},le)}filterBlobs(i){return this.client.sendOperationRequest({options:i},ue)}acquireLease(i){return this.client.sendOperationRequest({options:i},de)}releaseLease(i,d){return this.client.sendOperationRequest({leaseId:i,options:d},he)}renewLease(i,d){return this.client.sendOperationRequest({leaseId:i,options:d},fe)}breakLease(i){return this.client.sendOperationRequest({options:i},ge)}changeLease(i,d,p){return this.client.sendOperationRequest({leaseId:i,proposedLeaseId:d,options:p},pe)}listBlobFlatSegment(i){return this.client.sendOperationRequest({options:i},me)}listBlobHierarchySegment(i,d){return this.client.sendOperationRequest({delimiter:i,options:d},Ee)}getAccountInfo(i){return this.client.sendOperationRequest({options:i},Ce)}}d.ContainerImpl=ContainerImpl;const te=V.createSerializer(K,true);const re={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:K.ContainerCreateHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerCreateExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.restype2],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.metadata,ee.access,ee.defaultEncryptionScope,ee.preventEncryptionScopeOverride],isXML:true,serializer:te};const ne={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:K.ContainerGetPropertiesHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerGetPropertiesExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.restype2],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.leaseId],isXML:true,serializer:te};const se={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:K.ContainerDeleteHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerDeleteExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.restype2],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince],isXML:true,serializer:te};const ie={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:K.ContainerSetMetadataHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerSetMetadataExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.restype2,ee.comp6],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.metadata,ee.leaseId,ee.ifModifiedSince],isXML:true,serializer:te};const oe={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}},serializedName:"SignedIdentifiers",xmlName:"SignedIdentifiers",xmlIsWrapped:true,xmlElementName:"SignedIdentifier"},headersMapper:K.ContainerGetAccessPolicyHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerGetAccessPolicyExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.restype2,ee.comp7],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.leaseId],isXML:true,serializer:te};const ae={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:K.ContainerSetAccessPolicyHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerSetAccessPolicyExceptionHeaders}},requestBody:ee.containerAcl,queryParameters:[ee.timeoutInSeconds,ee.restype2,ee.comp7],urlParameters:[ee.url],headerParameters:[ee.contentType,ee.accept,ee.version,ee.requestId,ee.access,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:te};const Ae={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:K.ContainerRestoreHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerRestoreExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.restype2,ee.comp8],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.deletedContainerName,ee.deletedContainerVersion],isXML:true,serializer:te};const ce={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:K.ContainerRenameHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerRenameExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.restype2,ee.comp9],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.sourceContainerName,ee.sourceLeaseId],isXML:true,serializer:te};const le={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:K.ContainerSubmitBatchHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerSubmitBatchExceptionHeaders}},requestBody:ee.body,queryParameters:[ee.timeoutInSeconds,ee.comp4,ee.restype2],urlParameters:[ee.url],headerParameters:[ee.accept,ee.version,ee.requestId,ee.contentLength,ee.multipartContentType],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:te};const ue={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:K.FilterBlobSegment,headersMapper:K.ContainerFilterBlobsHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerFilterBlobsExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.marker,ee.maxPageSize,ee.comp5,ee.where,ee.restype2],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1],isXML:true,serializer:te};const de={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:K.ContainerAcquireLeaseHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerAcquireLeaseExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.restype2,ee.comp10],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.action,ee.duration,ee.proposedLeaseId],isXML:true,serializer:te};const he={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:K.ContainerReleaseLeaseHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerReleaseLeaseExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.restype2,ee.comp10],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.action1,ee.leaseId1],isXML:true,serializer:te};const fe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:K.ContainerRenewLeaseHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerRenewLeaseExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.restype2,ee.comp10],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.leaseId1,ee.action2],isXML:true,serializer:te};const ge={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:K.ContainerBreakLeaseHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerBreakLeaseExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.restype2,ee.comp10],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.action3,ee.breakPeriod],isXML:true,serializer:te};const pe={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:K.ContainerChangeLeaseHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerChangeLeaseExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.restype2,ee.comp10],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.leaseId1,ee.action4,ee.proposedLeaseId1],isXML:true,serializer:te};const me={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:K.ListBlobsFlatSegmentResponse,headersMapper:K.ContainerListBlobFlatSegmentHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerListBlobFlatSegmentExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp2,ee.prefix,ee.marker,ee.maxPageSize,ee.restype2,ee.include1,ee.startFrom],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1],isXML:true,serializer:te};const Ee={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:K.ListBlobsHierarchySegmentResponse,headersMapper:K.ContainerListBlobHierarchySegmentHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerListBlobHierarchySegmentExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp2,ee.prefix,ee.marker,ee.maxPageSize,ee.restype2,ee.include1,ee.startFrom,ee.delimiter],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1],isXML:true,serializer:te};const Ce={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:K.ContainerGetAccountInfoHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ContainerGetAccountInfoExceptionHeaders}},queryParameters:[ee.comp,ee.timeoutInSeconds,ee.restype1],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1],isXML:true,serializer:te}},37878:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});const v=p(93849);v.__exportStar(p(44181),d);v.__exportStar(p(14509),d);v.__exportStar(p(57559),d);v.__exportStar(p(69156),d);v.__exportStar(p(40535),d);v.__exportStar(p(95440),d)},69156:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.PageBlobImpl=void 0;const v=p(93849);const V=v.__importStar(p(60160));const K=v.__importStar(p(84424));const ee=v.__importStar(p(6088));class PageBlobImpl{client;constructor(i){this.client=i}create(i,d,p){return this.client.sendOperationRequest({contentLength:i,blobContentLength:d,options:p},re)}uploadPages(i,d,p){return this.client.sendOperationRequest({contentLength:i,body:d,options:p},ne)}clearPages(i,d){return this.client.sendOperationRequest({contentLength:i,options:d},se)}uploadPagesFromURL(i,d,p,v,V){return this.client.sendOperationRequest({sourceUrl:i,sourceRange:d,contentLength:p,range:v,options:V},ie)}getPageRanges(i){return this.client.sendOperationRequest({options:i},oe)}getPageRangesDiff(i){return this.client.sendOperationRequest({options:i},ae)}resize(i,d){return this.client.sendOperationRequest({blobContentLength:i,options:d},Ae)}updateSequenceNumber(i,d){return this.client.sendOperationRequest({sequenceNumberAction:i,options:d},ce)}copyIncremental(i,d){return this.client.sendOperationRequest({copySource:i,options:d},le)}}d.PageBlobImpl=PageBlobImpl;const te=V.createSerializer(K,true);const re={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:K.PageBlobCreateHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.PageBlobCreateExceptionHeaders}},queryParameters:[ee.timeoutInSeconds],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.contentLength,ee.metadata,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.blobCacheControl,ee.blobContentType,ee.blobContentMD5,ee.blobContentEncoding,ee.blobContentLanguage,ee.blobContentDisposition,ee.immutabilityPolicyExpiry,ee.immutabilityPolicyMode,ee.encryptionScope,ee.tier,ee.blobTagsString,ee.legalHold1,ee.blobType,ee.blobContentLength,ee.blobSequenceNumber],isXML:true,serializer:te};const ne={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:K.PageBlobUploadPagesHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.PageBlobUploadPagesExceptionHeaders}},requestBody:ee.body1,queryParameters:[ee.timeoutInSeconds,ee.comp19],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.contentLength,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.range,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.encryptionScope,ee.transactionalContentMD5,ee.transactionalContentCrc64,ee.contentType1,ee.accept2,ee.pageWrite,ee.ifSequenceNumberLessThanOrEqualTo,ee.ifSequenceNumberLessThan,ee.ifSequenceNumberEqualTo],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:te};const se={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:K.PageBlobClearPagesHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.PageBlobClearPagesExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp19],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.contentLength,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.range,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.encryptionScope,ee.ifSequenceNumberLessThanOrEqualTo,ee.ifSequenceNumberLessThan,ee.ifSequenceNumberEqualTo,ee.pageWrite1],isXML:true,serializer:te};const ie={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:K.PageBlobUploadPagesFromURLHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.PageBlobUploadPagesFromURLExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp19],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.contentLength,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.encryptionScope,ee.sourceIfModifiedSince,ee.sourceIfUnmodifiedSince,ee.sourceIfMatch,ee.sourceIfNoneMatch,ee.sourceContentMD5,ee.copySourceAuthorization,ee.fileRequestIntent,ee.pageWrite,ee.ifSequenceNumberLessThanOrEqualTo,ee.ifSequenceNumberLessThan,ee.ifSequenceNumberEqualTo,ee.sourceUrl,ee.sourceRange,ee.sourceContentCrc64,ee.range1],isXML:true,serializer:te};const oe={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:K.PageList,headersMapper:K.PageBlobGetPageRangesHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.PageBlobGetPageRangesExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.marker,ee.maxPageSize,ee.snapshot,ee.comp20],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.range,ee.ifMatch,ee.ifNoneMatch,ee.ifTags],isXML:true,serializer:te};const ae={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:K.PageList,headersMapper:K.PageBlobGetPageRangesDiffHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.PageBlobGetPageRangesDiffExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.marker,ee.maxPageSize,ee.snapshot,ee.comp20,ee.prevsnapshot],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.range,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.prevSnapshotUrl],isXML:true,serializer:te};const Ae={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:K.PageBlobResizeHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.PageBlobResizeExceptionHeaders}},queryParameters:[ee.comp,ee.timeoutInSeconds],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.encryptionKey,ee.encryptionKeySha256,ee.encryptionAlgorithm,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.encryptionScope,ee.blobContentLength],isXML:true,serializer:te};const ce={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:K.PageBlobUpdateSequenceNumberHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.PageBlobUpdateSequenceNumberExceptionHeaders}},queryParameters:[ee.comp,ee.timeoutInSeconds],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.leaseId,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.blobSequenceNumber,ee.sequenceNumberAction],isXML:true,serializer:te};const le={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:K.PageBlobCopyIncrementalHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.PageBlobCopyIncrementalExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp21],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1,ee.ifModifiedSince,ee.ifUnmodifiedSince,ee.ifMatch,ee.ifNoneMatch,ee.ifTags,ee.copySource],isXML:true,serializer:te}},44181:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ServiceImpl=void 0;const v=p(93849);const V=v.__importStar(p(60160));const K=v.__importStar(p(84424));const ee=v.__importStar(p(6088));class ServiceImpl{client;constructor(i){this.client=i}setProperties(i,d){return this.client.sendOperationRequest({blobServiceProperties:i,options:d},re)}getProperties(i){return this.client.sendOperationRequest({options:i},ne)}getStatistics(i){return this.client.sendOperationRequest({options:i},se)}listContainersSegment(i){return this.client.sendOperationRequest({options:i},ie)}getUserDelegationKey(i,d){return this.client.sendOperationRequest({keyInfo:i,options:d},oe)}getAccountInfo(i){return this.client.sendOperationRequest({options:i},ae)}submitBatch(i,d,p,v){return this.client.sendOperationRequest({contentLength:i,multipartContentType:d,body:p,options:v},Ae)}filterBlobs(i){return this.client.sendOperationRequest({options:i},ce)}}d.ServiceImpl=ServiceImpl;const te=V.createSerializer(K,true);const re={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:K.ServiceSetPropertiesHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ServiceSetPropertiesExceptionHeaders}},requestBody:ee.blobServiceProperties,queryParameters:[ee.restype,ee.comp,ee.timeoutInSeconds],urlParameters:[ee.url],headerParameters:[ee.contentType,ee.accept,ee.version,ee.requestId],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:te};const ne={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:K.BlobServiceProperties,headersMapper:K.ServiceGetPropertiesHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ServiceGetPropertiesExceptionHeaders}},queryParameters:[ee.restype,ee.comp,ee.timeoutInSeconds],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1],isXML:true,serializer:te};const se={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:K.BlobServiceStatistics,headersMapper:K.ServiceGetStatisticsHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ServiceGetStatisticsExceptionHeaders}},queryParameters:[ee.restype,ee.timeoutInSeconds,ee.comp1],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1],isXML:true,serializer:te};const ie={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:K.ListContainersSegmentResponse,headersMapper:K.ServiceListContainersSegmentHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ServiceListContainersSegmentExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.comp2,ee.prefix,ee.marker,ee.maxPageSize,ee.include],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1],isXML:true,serializer:te};const oe={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:K.UserDelegationKey,headersMapper:K.ServiceGetUserDelegationKeyHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ServiceGetUserDelegationKeyExceptionHeaders}},requestBody:ee.keyInfo,queryParameters:[ee.restype,ee.timeoutInSeconds,ee.comp3],urlParameters:[ee.url],headerParameters:[ee.contentType,ee.accept,ee.version,ee.requestId],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:te};const ae={path:"/",httpMethod:"GET",responses:{200:{headersMapper:K.ServiceGetAccountInfoHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ServiceGetAccountInfoExceptionHeaders}},queryParameters:[ee.comp,ee.timeoutInSeconds,ee.restype1],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1],isXML:true,serializer:te};const Ae={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:K.ServiceSubmitBatchHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ServiceSubmitBatchExceptionHeaders}},requestBody:ee.body,queryParameters:[ee.timeoutInSeconds,ee.comp4],urlParameters:[ee.url],headerParameters:[ee.accept,ee.version,ee.requestId,ee.contentLength,ee.multipartContentType],isXML:true,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:te};const ce={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:K.FilterBlobSegment,headersMapper:K.ServiceFilterBlobsHeaders},default:{bodyMapper:K.StorageError,headersMapper:K.ServiceFilterBlobsExceptionHeaders}},queryParameters:[ee.timeoutInSeconds,ee.marker,ee.maxPageSize,ee.comp5,ee.where],urlParameters:[ee.url],headerParameters:[ee.version,ee.requestId,ee.accept1],isXML:true,serializer:te}},56635:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true})},68355:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true})},17188:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true})},15337:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true})},82354:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});const v=p(93849);v.__exportStar(p(26865),d);v.__exportStar(p(15337),d);v.__exportStar(p(68355),d);v.__exportStar(p(14400),d);v.__exportStar(p(56635),d);v.__exportStar(p(17188),d)},14400:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true})},26865:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true})},5313:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageClient=void 0;const v=p(93849);const V=v.__importStar(p(61584));const K=p(37878);class StorageClient extends V.ExtendedServiceClient{url;version;constructor(i,d){if(i===undefined){throw new Error("'url' cannot be null")}if(!d){d={}}const p={requestContentType:"application/json; charset=utf-8"};const v=`azsdk-js-azure-storage-blob/12.30.0`;const V=d.userAgentOptions&&d.userAgentOptions.userAgentPrefix?`${d.userAgentOptions.userAgentPrefix} ${v}`:`${v}`;const ee={...p,...d,userAgentOptions:{userAgentPrefix:V},endpoint:d.endpoint??d.baseUri??"{url}"};super(ee);this.url=i;this.version=d.version||"2026-02-06";this.service=new K.ServiceImpl(this);this.container=new K.ContainerImpl(this);this.blob=new K.BlobImpl(this);this.pageBlob=new K.PageBlobImpl(this);this.appendBlob=new K.AppendBlobImpl(this);this.blockBlob=new K.BlockBlobImpl(this)}service;container;blob;pageBlob;appendBlob;blockBlob}d.StorageClient=StorageClient},83627:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.KnownEncryptionAlgorithmType=void 0;var p;(function(i){i["AES256"]="AES256"})(p||(d.KnownEncryptionAlgorithmType=p={}))},71400:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.logger=d.RestError=d.StorageBrowserPolicyFactory=d.StorageBrowserPolicy=d.StorageSharedKeyCredentialPolicy=d.StorageSharedKeyCredential=d.StorageRetryPolicyFactory=d.StorageRetryPolicy=d.StorageRetryPolicyType=d.Credential=d.CredentialPolicy=d.BaseRequestPolicy=d.AnonymousCredentialPolicy=d.AnonymousCredential=d.StorageOAuthScopes=d.newPipeline=d.isPipelineLike=d.Pipeline=d.getBlobServiceAccountAudience=d.StorageBlobAudience=d.PremiumPageBlobTier=d.BlockBlobTier=d.generateBlobSASQueryParameters=d.generateAccountSASQueryParameters=void 0;const v=p(93849);const V=p(20778);Object.defineProperty(d,"RestError",{enumerable:true,get:function(){return V.RestError}});v.__exportStar(p(96341),d);v.__exportStar(p(90372),d);v.__exportStar(p(81884),d);v.__exportStar(p(23276),d);v.__exportStar(p(6358),d);v.__exportStar(p(91267),d);v.__exportStar(p(46940),d);var K=p(85238);Object.defineProperty(d,"generateAccountSASQueryParameters",{enumerable:true,get:function(){return K.generateAccountSASQueryParameters}});v.__exportStar(p(95561),d);v.__exportStar(p(12094),d);v.__exportStar(p(48175),d);v.__exportStar(p(2232),d);var ee=p(656);Object.defineProperty(d,"generateBlobSASQueryParameters",{enumerable:true,get:function(){return ee.generateBlobSASQueryParameters}});v.__exportStar(p(51622),d);var te=p(58560);Object.defineProperty(d,"BlockBlobTier",{enumerable:true,get:function(){return te.BlockBlobTier}});Object.defineProperty(d,"PremiumPageBlobTier",{enumerable:true,get:function(){return te.PremiumPageBlobTier}});Object.defineProperty(d,"StorageBlobAudience",{enumerable:true,get:function(){return te.StorageBlobAudience}});Object.defineProperty(d,"getBlobServiceAccountAudience",{enumerable:true,get:function(){return te.getBlobServiceAccountAudience}});var re=p(25984);Object.defineProperty(d,"Pipeline",{enumerable:true,get:function(){return re.Pipeline}});Object.defineProperty(d,"isPipelineLike",{enumerable:true,get:function(){return re.isPipelineLike}});Object.defineProperty(d,"newPipeline",{enumerable:true,get:function(){return re.newPipeline}});Object.defineProperty(d,"StorageOAuthScopes",{enumerable:true,get:function(){return re.StorageOAuthScopes}});var ne=p(51382);Object.defineProperty(d,"AnonymousCredential",{enumerable:true,get:function(){return ne.AnonymousCredential}});Object.defineProperty(d,"AnonymousCredentialPolicy",{enumerable:true,get:function(){return ne.AnonymousCredentialPolicy}});Object.defineProperty(d,"BaseRequestPolicy",{enumerable:true,get:function(){return ne.BaseRequestPolicy}});Object.defineProperty(d,"CredentialPolicy",{enumerable:true,get:function(){return ne.CredentialPolicy}});Object.defineProperty(d,"Credential",{enumerable:true,get:function(){return ne.Credential}});Object.defineProperty(d,"StorageRetryPolicyType",{enumerable:true,get:function(){return ne.StorageRetryPolicyType}});Object.defineProperty(d,"StorageRetryPolicy",{enumerable:true,get:function(){return ne.StorageRetryPolicy}});Object.defineProperty(d,"StorageRetryPolicyFactory",{enumerable:true,get:function(){return ne.StorageRetryPolicyFactory}});Object.defineProperty(d,"StorageSharedKeyCredential",{enumerable:true,get:function(){return ne.StorageSharedKeyCredential}});Object.defineProperty(d,"StorageSharedKeyCredentialPolicy",{enumerable:true,get:function(){return ne.StorageSharedKeyCredentialPolicy}});Object.defineProperty(d,"StorageBrowserPolicy",{enumerable:true,get:function(){return ne.StorageBrowserPolicy}});Object.defineProperty(d,"StorageBrowserPolicyFactory",{enumerable:true,get:function(){return ne.StorageBrowserPolicyFactory}});v.__exportStar(p(26823),d);v.__exportStar(p(83627),d);var se=p(46370);Object.defineProperty(d,"logger",{enumerable:true,get:function(){return se.logger}})},11326:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.AVRO_SCHEMA_KEY=d.AVRO_CODEC_KEY=d.AVRO_INIT_BYTES=d.AVRO_SYNC_MARKER_SIZE=void 0;d.AVRO_SYNC_MARKER_SIZE=16;d.AVRO_INIT_BYTES=new Uint8Array([79,98,106,1]);d.AVRO_CODEC_KEY="avro.codec";d.AVRO_SCHEMA_KEY="avro.schema"},35652:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.AvroType=d.AvroParser=void 0;class AvroParser{static async readFixedBytes(i,d,p={}){const v=await i.read(d,{abortSignal:p.abortSignal});if(v.length!==d){throw new Error("Hit stream end.")}return v}static async readByte(i,d={}){const p=await AvroParser.readFixedBytes(i,1,d);return p[0]}static async readZigZagLong(i,d={}){let p=0;let v=0;let V,K,ee;do{V=await AvroParser.readByte(i,d);K=V&128;p|=(V&127)<Number.MAX_SAFE_INTEGER){throw new Error("Integer overflow.")}return v}return p>>1^-(p&1)}static async readLong(i,d={}){return AvroParser.readZigZagLong(i,d)}static async readInt(i,d={}){return AvroParser.readZigZagLong(i,d)}static async readNull(){return null}static async readBoolean(i,d={}){const p=await AvroParser.readByte(i,d);if(p===1){return true}else if(p===0){return false}else{throw new Error("Byte was not a boolean.")}}static async readFloat(i,d={}){const p=await AvroParser.readFixedBytes(i,4,d);const v=new DataView(p.buffer,p.byteOffset,p.byteLength);return v.getFloat32(0,true)}static async readDouble(i,d={}){const p=await AvroParser.readFixedBytes(i,8,d);const v=new DataView(p.buffer,p.byteOffset,p.byteLength);return v.getFloat64(0,true)}static async readBytes(i,d={}){const p=await AvroParser.readLong(i,d);if(p<0){throw new Error("Bytes size was negative.")}return i.read(p,{abortSignal:d.abortSignal})}static async readString(i,d={}){const p=await AvroParser.readBytes(i,d);const v=new TextDecoder;return v.decode(p)}static async readMapPair(i,d,p={}){const v=await AvroParser.readString(i,p);const V=await d(i,p);return{key:v,value:V}}static async readMap(i,d,p={}){const readPairMethod=(i,p={})=>AvroParser.readMapPair(i,d,p);const v=await AvroParser.readArray(i,readPairMethod,p);const V={};for(const i of v){V[i.key]=i.value}return V}static async readArray(i,d,p={}){const v=[];for(let V=await AvroParser.readLong(i,p);V!==0;V=await AvroParser.readLong(i,p)){if(V<0){await AvroParser.readLong(i,p);V=-V}while(V--){const V=await d(i,p);v.push(V)}}return v}}d.AvroParser=AvroParser;var p;(function(i){i["RECORD"]="record";i["ENUM"]="enum";i["ARRAY"]="array";i["MAP"]="map";i["UNION"]="union";i["FIXED"]="fixed"})(p||(p={}));var v;(function(i){i["NULL"]="null";i["BOOLEAN"]="boolean";i["INT"]="int";i["LONG"]="long";i["FLOAT"]="float";i["DOUBLE"]="double";i["BYTES"]="bytes";i["STRING"]="string"})(v||(v={}));class AvroType{static fromSchema(i){if(typeof i==="string"){return AvroType.fromStringSchema(i)}else if(Array.isArray(i)){return AvroType.fromArraySchema(i)}else{return AvroType.fromObjectSchema(i)}}static fromStringSchema(i){switch(i){case v.NULL:case v.BOOLEAN:case v.INT:case v.LONG:case v.FLOAT:case v.DOUBLE:case v.BYTES:case v.STRING:return new AvroPrimitiveType(i);default:throw new Error(`Unexpected Avro type ${i}`)}}static fromArraySchema(i){return new AvroUnionType(i.map(AvroType.fromSchema))}static fromObjectSchema(i){const d=i.type;try{return AvroType.fromStringSchema(d)}catch{}switch(d){case p.RECORD:if(i.aliases){throw new Error(`aliases currently is not supported, schema: ${i}`)}if(!i.name){throw new Error(`Required attribute 'name' doesn't exist on schema: ${i}`)}const v={};if(!i.fields){throw new Error(`Required attribute 'fields' doesn't exist on schema: ${i}`)}for(const d of i.fields){v[d.name]=AvroType.fromSchema(d.type)}return new AvroRecordType(v,i.name);case p.ENUM:if(i.aliases){throw new Error(`aliases currently is not supported, schema: ${i}`)}if(!i.symbols){throw new Error(`Required attribute 'symbols' doesn't exist on schema: ${i}`)}return new AvroEnumType(i.symbols);case p.MAP:if(!i.values){throw new Error(`Required attribute 'values' doesn't exist on schema: ${i}`)}return new AvroMapType(AvroType.fromSchema(i.values));case p.ARRAY:case p.FIXED:default:throw new Error(`Unexpected Avro type ${d} in ${i}`)}}}d.AvroType=AvroType;class AvroPrimitiveType extends AvroType{_primitive;constructor(i){super();this._primitive=i}read(i,d={}){switch(this._primitive){case v.NULL:return AvroParser.readNull();case v.BOOLEAN:return AvroParser.readBoolean(i,d);case v.INT:return AvroParser.readInt(i,d);case v.LONG:return AvroParser.readLong(i,d);case v.FLOAT:return AvroParser.readFloat(i,d);case v.DOUBLE:return AvroParser.readDouble(i,d);case v.BYTES:return AvroParser.readBytes(i,d);case v.STRING:return AvroParser.readString(i,d);default:throw new Error("Unknown Avro Primitive")}}}class AvroEnumType extends AvroType{_symbols;constructor(i){super();this._symbols=i}async read(i,d={}){const p=await AvroParser.readInt(i,d);return this._symbols[p]}}class AvroUnionType extends AvroType{_types;constructor(i){super();this._types=i}async read(i,d={}){const p=await AvroParser.readInt(i,d);return this._types[p].read(i,d)}}class AvroMapType extends AvroType{_itemType;constructor(i){super();this._itemType=i}read(i,d={}){const readItemMethod=(i,d)=>this._itemType.read(i,d);return AvroParser.readMap(i,readItemMethod,d)}}class AvroRecordType extends AvroType{_name;_fields;constructor(i,d){super();this._fields=i;this._name=d}async read(i,d={}){const p={};p["$schema"]=this._name;for(const v in this._fields){if(Object.prototype.hasOwnProperty.call(this._fields,v)){p[v]=await this._fields[v].read(i,d)}}return p}}},41675:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.AvroReadable=void 0;class AvroReadable{}d.AvroReadable=AvroReadable},48059:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.AvroReadableFromStream=void 0;const v=p(41675);const V=p(83134);const K=p(20181);const ee=new V.AbortError("Reading from the avro stream was aborted.");class AvroReadableFromStream extends v.AvroReadable{_position;_readable;toUint8Array(i){if(typeof i==="string"){return K.Buffer.from(i)}return i}constructor(i){super();this._readable=i;this._position=0}get position(){return this._position}async read(i,d={}){if(d.abortSignal?.aborted){throw ee}if(i<0){throw new Error(`size parameter should be positive: ${i}`)}if(i===0){return new Uint8Array}if(!this._readable.readable){throw new Error("Stream no longer readable.")}const p=this._readable.read(i);if(p){this._position+=p.length;return this.toUint8Array(p)}else{return new Promise(((p,v)=>{const cleanUp=()=>{this._readable.removeListener("readable",readableCallback);this._readable.removeListener("error",rejectCallback);this._readable.removeListener("end",rejectCallback);this._readable.removeListener("close",rejectCallback);if(d.abortSignal){d.abortSignal.removeEventListener("abort",abortHandler)}};const readableCallback=()=>{const d=this._readable.read(i);if(d){this._position+=d.length;cleanUp();p(this.toUint8Array(d))}};const rejectCallback=()=>{cleanUp();v()};const abortHandler=()=>{cleanUp();v(ee)};this._readable.on("readable",readableCallback);this._readable.once("error",rejectCallback);this._readable.once("end",rejectCallback);this._readable.once("close",rejectCallback);if(d.abortSignal){d.abortSignal.addEventListener("abort",abortHandler)}}))}}}d.AvroReadableFromStream=AvroReadableFromStream},52888:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.AvroReader=void 0;const v=p(11326);const V=p(35652);const K=p(4337);class AvroReader{_dataStream;_headerStream;_syncMarker;_metadata;_itemType;_itemsRemainingInBlock;_initialBlockOffset;_blockOffset;get blockOffset(){return this._blockOffset}_objectIndex;get objectIndex(){return this._objectIndex}_initialized;constructor(i,d,p,v){this._dataStream=i;this._headerStream=d||i;this._initialized=false;this._blockOffset=p||0;this._objectIndex=v||0;this._initialBlockOffset=p||0}async initialize(i={}){const d=await V.AvroParser.readFixedBytes(this._headerStream,v.AVRO_INIT_BYTES.length,{abortSignal:i.abortSignal});if(!(0,K.arraysEqual)(d,v.AVRO_INIT_BYTES)){throw new Error("Stream is not an Avro file.")}this._metadata=await V.AvroParser.readMap(this._headerStream,V.AvroParser.readString,{abortSignal:i.abortSignal});const p=this._metadata[v.AVRO_CODEC_KEY];if(!(p===undefined||p===null||p==="null")){throw new Error("Codecs are not supported")}this._syncMarker=await V.AvroParser.readFixedBytes(this._headerStream,v.AVRO_SYNC_MARKER_SIZE,{abortSignal:i.abortSignal});const ee=JSON.parse(this._metadata[v.AVRO_SCHEMA_KEY]);this._itemType=V.AvroType.fromSchema(ee);if(this._blockOffset===0){this._blockOffset=this._initialBlockOffset+this._dataStream.position}this._itemsRemainingInBlock=await V.AvroParser.readLong(this._dataStream,{abortSignal:i.abortSignal});await V.AvroParser.readLong(this._dataStream,{abortSignal:i.abortSignal});this._initialized=true;if(this._objectIndex&&this._objectIndex>0){for(let d=0;d0}async*parseObjects(i={}){if(!this._initialized){await this.initialize(i)}while(this.hasNext()){const d=await this._itemType.read(this._dataStream,{abortSignal:i.abortSignal});this._itemsRemainingInBlock--;this._objectIndex++;if(this._itemsRemainingInBlock===0){const d=await V.AvroParser.readFixedBytes(this._dataStream,v.AVRO_SYNC_MARKER_SIZE,{abortSignal:i.abortSignal});this._blockOffset=this._initialBlockOffset+this._dataStream.position;this._objectIndex=0;if(!(0,K.arraysEqual)(this._syncMarker,d)){throw new Error("Stream is not a valid Avro file.")}try{this._itemsRemainingInBlock=await V.AvroParser.readLong(this._dataStream,{abortSignal:i.abortSignal})}catch{this._itemsRemainingInBlock=0}if(this._itemsRemainingInBlock>0){await V.AvroParser.readLong(this._dataStream,{abortSignal:i.abortSignal})}}yield d}}}d.AvroReader=AvroReader},96147:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.AvroReadableFromStream=d.AvroReadable=d.AvroReader=void 0;var v=p(52888);Object.defineProperty(d,"AvroReader",{enumerable:true,get:function(){return v.AvroReader}});var V=p(41675);Object.defineProperty(d,"AvroReadable",{enumerable:true,get:function(){return V.AvroReadable}});var K=p(48059);Object.defineProperty(d,"AvroReadableFromStream",{enumerable:true,get:function(){return K.AvroReadableFromStream}})},4337:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.arraysEqual=arraysEqual;function arraysEqual(i,d){if(i===d)return true;if(i==null||d==null)return false;if(i.length!==d.length)return false;for(let p=0;p{Object.defineProperty(d,"__esModule",{value:true});d.logger=void 0;const v=p(26515);d.logger=(0,v.createClientLogger)("storage-blob")},58560:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageBlobAudience=d.PremiumPageBlobTier=d.BlockBlobTier=void 0;d.toAccessTier=toAccessTier;d.ensureCpkIfSpecified=ensureCpkIfSpecified;d.getBlobServiceAccountAudience=getBlobServiceAccountAudience;const v=p(27323);var V;(function(i){i["Hot"]="Hot";i["Cool"]="Cool";i["Cold"]="Cold";i["Archive"]="Archive"})(V||(d.BlockBlobTier=V={}));var K;(function(i){i["P4"]="P4";i["P6"]="P6";i["P10"]="P10";i["P15"]="P15";i["P20"]="P20";i["P30"]="P30";i["P40"]="P40";i["P50"]="P50";i["P60"]="P60";i["P70"]="P70";i["P80"]="P80"})(K||(d.PremiumPageBlobTier=K={}));function toAccessTier(i){if(i===undefined){return undefined}return i}function ensureCpkIfSpecified(i,d){if(i&&!d){throw new RangeError("Customer-provided encryption key must be used over HTTPS.")}if(i&&!i.encryptionAlgorithm){i.encryptionAlgorithm=v.EncryptionAlgorithmAES25}}var ee;(function(i){i["StorageOAuthScopes"]="https://storage.azure.com/.default";i["DiskComputeOAuthScopes"]="https://disk.compute.azure.com/.default"})(ee||(d.StorageBlobAudience=ee={}));function getBlobServiceAccountAudience(i){return`https://${i}.blob.core.windows.net/.default`}},73145:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BlobBeginCopyFromUrlPoller=void 0;const v=p(87779);const V=p(15862);class BlobBeginCopyFromUrlPoller extends V.Poller{intervalInMs;constructor(i){const{blobClient:d,copySource:p,intervalInMs:v=15e3,onProgress:V,resumeFrom:K,startCopyFromURLOptions:ee}=i;let te;if(K){te=JSON.parse(K).state}const re=makeBlobBeginCopyFromURLPollOperation({...te,blobClient:d,copySource:p,startCopyFromURLOptions:ee});super(re);if(typeof V==="function"){this.onProgress(V)}this.intervalInMs=v}delay(){return(0,v.delay)(this.intervalInMs)}}d.BlobBeginCopyFromUrlPoller=BlobBeginCopyFromUrlPoller;const K=async function cancel(i={}){const d=this.state;const{copyId:p}=d;if(d.isCompleted){return makeBlobBeginCopyFromURLPollOperation(d)}if(!p){d.isCancelled=true;return makeBlobBeginCopyFromURLPollOperation(d)}await d.blobClient.abortCopyFromURL(p,{abortSignal:i.abortSignal});d.isCancelled=true;return makeBlobBeginCopyFromURLPollOperation(d)};const ee=async function update(i={}){const d=this.state;const{blobClient:p,copySource:v,startCopyFromURLOptions:V}=d;if(!d.isStarted){d.isStarted=true;const i=await p.startCopyFromURL(v,V);d.copyId=i.copyId;if(i.copyStatus==="success"){d.result=i;d.isCompleted=true}}else if(!d.isCompleted){try{const p=await d.blobClient.getProperties({abortSignal:i.abortSignal});const{copyStatus:v,copyProgress:V}=p;const K=d.copyProgress;if(V){d.copyProgress=V}if(v==="pending"&&V!==K&&typeof i.fireProgress==="function"){i.fireProgress(d)}else if(v==="success"){d.result=p;d.isCompleted=true}else if(v==="failed"){d.error=new Error(`Blob copy failed with reason: "${p.copyStatusDescription||"unknown"}"`);d.isCompleted=true}}catch(i){d.error=i;d.isCompleted=true}}return makeBlobBeginCopyFromURLPollOperation(d)};const te=function toString(){return JSON.stringify({state:this.state},((i,d)=>{if(i==="blobClient"){return undefined}return d}))};function makeBlobBeginCopyFromURLPollOperation(i){return{state:{...i},cancel:K,toString:te,update:ee}}},6358:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.AccountSASPermissions=void 0;class AccountSASPermissions{static parse(i){const d=new AccountSASPermissions;for(const p of i){switch(p){case"r":d.read=true;break;case"w":d.write=true;break;case"d":d.delete=true;break;case"x":d.deleteVersion=true;break;case"l":d.list=true;break;case"a":d.add=true;break;case"c":d.create=true;break;case"u":d.update=true;break;case"p":d.process=true;break;case"t":d.tag=true;break;case"f":d.filter=true;break;case"i":d.setImmutabilityPolicy=true;break;case"y":d.permanentDelete=true;break;default:throw new RangeError(`Invalid permission character: ${p}`)}}return d}static from(i){const d=new AccountSASPermissions;if(i.read){d.read=true}if(i.write){d.write=true}if(i.delete){d.delete=true}if(i.deleteVersion){d.deleteVersion=true}if(i.filter){d.filter=true}if(i.tag){d.tag=true}if(i.list){d.list=true}if(i.add){d.add=true}if(i.create){d.create=true}if(i.update){d.update=true}if(i.process){d.process=true}if(i.setImmutabilityPolicy){d.setImmutabilityPolicy=true}if(i.permanentDelete){d.permanentDelete=true}return d}read=false;write=false;delete=false;deleteVersion=false;list=false;add=false;create=false;update=false;process=false;tag=false;filter=false;setImmutabilityPolicy=false;permanentDelete=false;toString(){const i=[];if(this.read){i.push("r")}if(this.write){i.push("w")}if(this.delete){i.push("d")}if(this.deleteVersion){i.push("x")}if(this.filter){i.push("f")}if(this.tag){i.push("t")}if(this.list){i.push("l")}if(this.add){i.push("a")}if(this.create){i.push("c")}if(this.update){i.push("u")}if(this.process){i.push("p")}if(this.setImmutabilityPolicy){i.push("i")}if(this.permanentDelete){i.push("y")}return i.join("")}}d.AccountSASPermissions=AccountSASPermissions},91267:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.AccountSASResourceTypes=void 0;class AccountSASResourceTypes{static parse(i){const d=new AccountSASResourceTypes;for(const p of i){switch(p){case"s":d.service=true;break;case"c":d.container=true;break;case"o":d.object=true;break;default:throw new RangeError(`Invalid resource type: ${p}`)}}return d}service=false;container=false;object=false;toString(){const i=[];if(this.service){i.push("s")}if(this.container){i.push("c")}if(this.object){i.push("o")}return i.join("")}}d.AccountSASResourceTypes=AccountSASResourceTypes},46940:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.AccountSASServices=void 0;class AccountSASServices{static parse(i){const d=new AccountSASServices;for(const p of i){switch(p){case"b":d.blob=true;break;case"f":d.file=true;break;case"q":d.queue=true;break;case"t":d.table=true;break;default:throw new RangeError(`Invalid service character: ${p}`)}}return d}blob=false;file=false;queue=false;table=false;toString(){const i=[];if(this.blob){i.push("b")}if(this.table){i.push("t")}if(this.queue){i.push("q")}if(this.file){i.push("f")}return i.join("")}}d.AccountSASServices=AccountSASServices},85238:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.generateAccountSASQueryParameters=generateAccountSASQueryParameters;d.generateAccountSASQueryParametersInternal=generateAccountSASQueryParametersInternal;const v=p(6358);const V=p(91267);const K=p(46940);const ee=p(2977);const te=p(26823);const re=p(27323);const ne=p(47764);function generateAccountSASQueryParameters(i,d){return generateAccountSASQueryParametersInternal(i,d).sasQueryParameters}function generateAccountSASQueryParametersInternal(i,d){const p=i.version?i.version:re.SERVICE_VERSION;if(i.permissions&&i.permissions.setImmutabilityPolicy&&p<"2020-08-04"){throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.")}if(i.permissions&&i.permissions.deleteVersion&&p<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when provided 'x' permission.")}if(i.permissions&&i.permissions.permanentDelete&&p<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when provided 'y' permission.")}if(i.permissions&&i.permissions.tag&&p<"2019-12-12"){throw RangeError("'version' must be >= '2019-12-12' when provided 't' permission.")}if(i.permissions&&i.permissions.filter&&p<"2019-12-12"){throw RangeError("'version' must be >= '2019-12-12' when provided 'f' permission.")}if(i.encryptionScope&&p<"2020-12-06"){throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.")}const se=v.AccountSASPermissions.parse(i.permissions.toString());const ie=K.AccountSASServices.parse(i.services).toString();const oe=V.AccountSASResourceTypes.parse(i.resourceTypes).toString();let ae;if(p>="2020-12-06"){ae=[d.accountName,se,ie,oe,i.startsOn?(0,ne.truncatedISO8061Date)(i.startsOn,false):"",(0,ne.truncatedISO8061Date)(i.expiresOn,false),i.ipRange?(0,ee.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",p,i.encryptionScope?i.encryptionScope:"",""].join("\n")}else{ae=[d.accountName,se,ie,oe,i.startsOn?(0,ne.truncatedISO8061Date)(i.startsOn,false):"",(0,ne.truncatedISO8061Date)(i.expiresOn,false),i.ipRange?(0,ee.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",p,""].join("\n")}const Ae=d.computeHMACSHA256(ae);return{sasQueryParameters:new te.SASQueryParameters(p,Ae,se.toString(),ie,oe,i.protocol,i.startsOn,i.expiresOn,i.ipRange,undefined,undefined,undefined,undefined,undefined,undefined,undefined,undefined,undefined,undefined,i.encryptionScope),stringToSign:ae}}},2232:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.BlobSASPermissions=void 0;class BlobSASPermissions{static parse(i){const d=new BlobSASPermissions;for(const p of i){switch(p){case"r":d.read=true;break;case"a":d.add=true;break;case"c":d.create=true;break;case"w":d.write=true;break;case"d":d.delete=true;break;case"x":d.deleteVersion=true;break;case"t":d.tag=true;break;case"m":d.move=true;break;case"e":d.execute=true;break;case"i":d.setImmutabilityPolicy=true;break;case"y":d.permanentDelete=true;break;default:throw new RangeError(`Invalid permission: ${p}`)}}return d}static from(i){const d=new BlobSASPermissions;if(i.read){d.read=true}if(i.add){d.add=true}if(i.create){d.create=true}if(i.write){d.write=true}if(i.delete){d.delete=true}if(i.deleteVersion){d.deleteVersion=true}if(i.tag){d.tag=true}if(i.move){d.move=true}if(i.execute){d.execute=true}if(i.setImmutabilityPolicy){d.setImmutabilityPolicy=true}if(i.permanentDelete){d.permanentDelete=true}return d}read=false;add=false;create=false;write=false;delete=false;deleteVersion=false;tag=false;move=false;execute=false;setImmutabilityPolicy=false;permanentDelete=false;toString(){const i=[];if(this.read){i.push("r")}if(this.add){i.push("a")}if(this.create){i.push("c")}if(this.write){i.push("w")}if(this.delete){i.push("d")}if(this.deleteVersion){i.push("x")}if(this.tag){i.push("t")}if(this.move){i.push("m")}if(this.execute){i.push("e")}if(this.setImmutabilityPolicy){i.push("i")}if(this.permanentDelete){i.push("y")}return i.join("")}}d.BlobSASPermissions=BlobSASPermissions},656:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.generateBlobSASQueryParameters=generateBlobSASQueryParameters;d.generateBlobSASQueryParametersInternal=generateBlobSASQueryParametersInternal;const v=p(2232);const V=p(51622);const K=p(51382);const ee=p(2977);const te=p(26823);const re=p(27323);const ne=p(47764);const se=p(51382);function generateBlobSASQueryParameters(i,d,p){return generateBlobSASQueryParametersInternal(i,d,p).sasQueryParameters}function generateBlobSASQueryParametersInternal(i,d,p){const v=i.version?i.version:re.SERVICE_VERSION;const V=d instanceof K.StorageSharedKeyCredential?d:undefined;let ee;if(V===undefined&&p!==undefined){ee=new se.UserDelegationKeyCredential(p,d)}if(V===undefined&&ee===undefined){throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.")}if(v>="2020-12-06"){if(V!==undefined){return generateBlobSASQueryParameters20201206(i,V)}else{if(v>="2025-07-05"){return generateBlobSASQueryParametersUDK20250705(i,ee)}else{return generateBlobSASQueryParametersUDK20201206(i,ee)}}}if(v>="2018-11-09"){if(V!==undefined){return generateBlobSASQueryParameters20181109(i,V)}else{if(v>="2020-02-10"){return generateBlobSASQueryParametersUDK20200210(i,ee)}else{return generateBlobSASQueryParametersUDK20181109(i,ee)}}}if(v>="2015-04-05"){if(V!==undefined){return generateBlobSASQueryParameters20150405(i,V)}else{throw new RangeError("'version' must be >= '2018-11-09' when generating user delegation SAS using user delegation key.")}}throw new RangeError("'version' must be >= '2015-04-05'.")}function generateBlobSASQueryParameters20150405(i,d){i=SASSignatureValuesSanityCheckAndAutofill(i);if(!i.identifier&&!(i.permissions&&i.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}let p="c";if(i.blobName){p="b"}let K;if(i.permissions){if(i.blobName){K=v.BlobSASPermissions.parse(i.permissions.toString()).toString()}else{K=V.ContainerSASPermissions.parse(i.permissions.toString()).toString()}}const re=[K?K:"",i.startsOn?(0,ne.truncatedISO8061Date)(i.startsOn,false):"",i.expiresOn?(0,ne.truncatedISO8061Date)(i.expiresOn,false):"",getCanonicalName(d.accountName,i.containerName,i.blobName),i.identifier,i.ipRange?(0,ee.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",i.version,i.cacheControl?i.cacheControl:"",i.contentDisposition?i.contentDisposition:"",i.contentEncoding?i.contentEncoding:"",i.contentLanguage?i.contentLanguage:"",i.contentType?i.contentType:""].join("\n");const se=d.computeHMACSHA256(re);return{sasQueryParameters:new te.SASQueryParameters(i.version,se,K,undefined,undefined,i.protocol,i.startsOn,i.expiresOn,i.ipRange,i.identifier,p,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType),stringToSign:re}}function generateBlobSASQueryParameters20181109(i,d){i=SASSignatureValuesSanityCheckAndAutofill(i);if(!i.identifier&&!(i.permissions&&i.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}let p="c";let K=i.snapshotTime;if(i.blobName){p="b";if(i.snapshotTime){p="bs"}else if(i.versionId){p="bv";K=i.versionId}}let re;if(i.permissions){if(i.blobName){re=v.BlobSASPermissions.parse(i.permissions.toString()).toString()}else{re=V.ContainerSASPermissions.parse(i.permissions.toString()).toString()}}const se=[re?re:"",i.startsOn?(0,ne.truncatedISO8061Date)(i.startsOn,false):"",i.expiresOn?(0,ne.truncatedISO8061Date)(i.expiresOn,false):"",getCanonicalName(d.accountName,i.containerName,i.blobName),i.identifier,i.ipRange?(0,ee.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",i.version,p,K,i.cacheControl?i.cacheControl:"",i.contentDisposition?i.contentDisposition:"",i.contentEncoding?i.contentEncoding:"",i.contentLanguage?i.contentLanguage:"",i.contentType?i.contentType:""].join("\n");const ie=d.computeHMACSHA256(se);return{sasQueryParameters:new te.SASQueryParameters(i.version,ie,re,undefined,undefined,i.protocol,i.startsOn,i.expiresOn,i.ipRange,i.identifier,p,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType),stringToSign:se}}function generateBlobSASQueryParameters20201206(i,d){i=SASSignatureValuesSanityCheckAndAutofill(i);if(!i.identifier&&!(i.permissions&&i.expiresOn)){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.")}let p="c";let K=i.snapshotTime;if(i.blobName){p="b";if(i.snapshotTime){p="bs"}else if(i.versionId){p="bv";K=i.versionId}}let re;if(i.permissions){if(i.blobName){re=v.BlobSASPermissions.parse(i.permissions.toString()).toString()}else{re=V.ContainerSASPermissions.parse(i.permissions.toString()).toString()}}const se=[re?re:"",i.startsOn?(0,ne.truncatedISO8061Date)(i.startsOn,false):"",i.expiresOn?(0,ne.truncatedISO8061Date)(i.expiresOn,false):"",getCanonicalName(d.accountName,i.containerName,i.blobName),i.identifier,i.ipRange?(0,ee.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",i.version,p,K,i.encryptionScope,i.cacheControl?i.cacheControl:"",i.contentDisposition?i.contentDisposition:"",i.contentEncoding?i.contentEncoding:"",i.contentLanguage?i.contentLanguage:"",i.contentType?i.contentType:""].join("\n");const ie=d.computeHMACSHA256(se);return{sasQueryParameters:new te.SASQueryParameters(i.version,ie,re,undefined,undefined,i.protocol,i.startsOn,i.expiresOn,i.ipRange,i.identifier,p,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType,undefined,undefined,undefined,i.encryptionScope),stringToSign:se}}function generateBlobSASQueryParametersUDK20181109(i,d){i=SASSignatureValuesSanityCheckAndAutofill(i);if(!i.permissions||!i.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let p="c";let K=i.snapshotTime;if(i.blobName){p="b";if(i.snapshotTime){p="bs"}else if(i.versionId){p="bv";K=i.versionId}}let re;if(i.permissions){if(i.blobName){re=v.BlobSASPermissions.parse(i.permissions.toString()).toString()}else{re=V.ContainerSASPermissions.parse(i.permissions.toString()).toString()}}const se=[re?re:"",i.startsOn?(0,ne.truncatedISO8061Date)(i.startsOn,false):"",i.expiresOn?(0,ne.truncatedISO8061Date)(i.expiresOn,false):"",getCanonicalName(d.accountName,i.containerName,i.blobName),d.userDelegationKey.signedObjectId,d.userDelegationKey.signedTenantId,d.userDelegationKey.signedStartsOn?(0,ne.truncatedISO8061Date)(d.userDelegationKey.signedStartsOn,false):"",d.userDelegationKey.signedExpiresOn?(0,ne.truncatedISO8061Date)(d.userDelegationKey.signedExpiresOn,false):"",d.userDelegationKey.signedService,d.userDelegationKey.signedVersion,i.ipRange?(0,ee.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",i.version,p,K,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType].join("\n");const ie=d.computeHMACSHA256(se);return{sasQueryParameters:new te.SASQueryParameters(i.version,ie,re,undefined,undefined,i.protocol,i.startsOn,i.expiresOn,i.ipRange,i.identifier,p,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType,d.userDelegationKey),stringToSign:se}}function generateBlobSASQueryParametersUDK20200210(i,d){i=SASSignatureValuesSanityCheckAndAutofill(i);if(!i.permissions||!i.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let p="c";let K=i.snapshotTime;if(i.blobName){p="b";if(i.snapshotTime){p="bs"}else if(i.versionId){p="bv";K=i.versionId}}let re;if(i.permissions){if(i.blobName){re=v.BlobSASPermissions.parse(i.permissions.toString()).toString()}else{re=V.ContainerSASPermissions.parse(i.permissions.toString()).toString()}}const se=[re?re:"",i.startsOn?(0,ne.truncatedISO8061Date)(i.startsOn,false):"",i.expiresOn?(0,ne.truncatedISO8061Date)(i.expiresOn,false):"",getCanonicalName(d.accountName,i.containerName,i.blobName),d.userDelegationKey.signedObjectId,d.userDelegationKey.signedTenantId,d.userDelegationKey.signedStartsOn?(0,ne.truncatedISO8061Date)(d.userDelegationKey.signedStartsOn,false):"",d.userDelegationKey.signedExpiresOn?(0,ne.truncatedISO8061Date)(d.userDelegationKey.signedExpiresOn,false):"",d.userDelegationKey.signedService,d.userDelegationKey.signedVersion,i.preauthorizedAgentObjectId,undefined,i.correlationId,i.ipRange?(0,ee.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",i.version,p,K,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType].join("\n");const ie=d.computeHMACSHA256(se);return{sasQueryParameters:new te.SASQueryParameters(i.version,ie,re,undefined,undefined,i.protocol,i.startsOn,i.expiresOn,i.ipRange,i.identifier,p,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType,d.userDelegationKey,i.preauthorizedAgentObjectId,i.correlationId),stringToSign:se}}function generateBlobSASQueryParametersUDK20201206(i,d){i=SASSignatureValuesSanityCheckAndAutofill(i);if(!i.permissions||!i.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let p="c";let K=i.snapshotTime;if(i.blobName){p="b";if(i.snapshotTime){p="bs"}else if(i.versionId){p="bv";K=i.versionId}}let re;if(i.permissions){if(i.blobName){re=v.BlobSASPermissions.parse(i.permissions.toString()).toString()}else{re=V.ContainerSASPermissions.parse(i.permissions.toString()).toString()}}const se=[re?re:"",i.startsOn?(0,ne.truncatedISO8061Date)(i.startsOn,false):"",i.expiresOn?(0,ne.truncatedISO8061Date)(i.expiresOn,false):"",getCanonicalName(d.accountName,i.containerName,i.blobName),d.userDelegationKey.signedObjectId,d.userDelegationKey.signedTenantId,d.userDelegationKey.signedStartsOn?(0,ne.truncatedISO8061Date)(d.userDelegationKey.signedStartsOn,false):"",d.userDelegationKey.signedExpiresOn?(0,ne.truncatedISO8061Date)(d.userDelegationKey.signedExpiresOn,false):"",d.userDelegationKey.signedService,d.userDelegationKey.signedVersion,i.preauthorizedAgentObjectId,undefined,i.correlationId,i.ipRange?(0,ee.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",i.version,p,K,i.encryptionScope,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType].join("\n");const ie=d.computeHMACSHA256(se);return{sasQueryParameters:new te.SASQueryParameters(i.version,ie,re,undefined,undefined,i.protocol,i.startsOn,i.expiresOn,i.ipRange,i.identifier,p,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType,d.userDelegationKey,i.preauthorizedAgentObjectId,i.correlationId,i.encryptionScope),stringToSign:se}}function generateBlobSASQueryParametersUDK20250705(i,d){i=SASSignatureValuesSanityCheckAndAutofill(i);if(!i.permissions||!i.expiresOn){throw new RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.")}let p="c";let K=i.snapshotTime;if(i.blobName){p="b";if(i.snapshotTime){p="bs"}else if(i.versionId){p="bv";K=i.versionId}}let re;if(i.permissions){if(i.blobName){re=v.BlobSASPermissions.parse(i.permissions.toString()).toString()}else{re=V.ContainerSASPermissions.parse(i.permissions.toString()).toString()}}const se=[re?re:"",i.startsOn?(0,ne.truncatedISO8061Date)(i.startsOn,false):"",i.expiresOn?(0,ne.truncatedISO8061Date)(i.expiresOn,false):"",getCanonicalName(d.accountName,i.containerName,i.blobName),d.userDelegationKey.signedObjectId,d.userDelegationKey.signedTenantId,d.userDelegationKey.signedStartsOn?(0,ne.truncatedISO8061Date)(d.userDelegationKey.signedStartsOn,false):"",d.userDelegationKey.signedExpiresOn?(0,ne.truncatedISO8061Date)(d.userDelegationKey.signedExpiresOn,false):"",d.userDelegationKey.signedService,d.userDelegationKey.signedVersion,i.preauthorizedAgentObjectId,undefined,i.correlationId,undefined,i.delegatedUserObjectId,i.ipRange?(0,ee.ipRangeToString)(i.ipRange):"",i.protocol?i.protocol:"",i.version,p,K,i.encryptionScope,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType].join("\n");const ie=d.computeHMACSHA256(se);return{sasQueryParameters:new te.SASQueryParameters(i.version,ie,re,undefined,undefined,i.protocol,i.startsOn,i.expiresOn,i.ipRange,i.identifier,p,i.cacheControl,i.contentDisposition,i.contentEncoding,i.contentLanguage,i.contentType,d.userDelegationKey,i.preauthorizedAgentObjectId,i.correlationId,i.encryptionScope,i.delegatedUserObjectId),stringToSign:se}}function getCanonicalName(i,d,p){const v=[`/blob/${i}/${d}`];if(p){v.push(`/${p}`)}return v.join("")}function SASSignatureValuesSanityCheckAndAutofill(i){const d=i.version?i.version:re.SERVICE_VERSION;if(i.snapshotTime&&d<"2018-11-09"){throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.")}if(i.blobName===undefined&&i.snapshotTime){throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.")}if(i.versionId&&d<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.")}if(i.blobName===undefined&&i.versionId){throw RangeError("Must provide 'blobName' when providing 'versionId'.")}if(i.permissions&&i.permissions.setImmutabilityPolicy&&d<"2020-08-04"){throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.")}if(i.permissions&&i.permissions.deleteVersion&&d<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.")}if(i.permissions&&i.permissions.permanentDelete&&d<"2019-10-10"){throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.")}if(i.permissions&&i.permissions.tag&&d<"2019-12-12"){throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.")}if(d<"2020-02-10"&&i.permissions&&(i.permissions.move||i.permissions.execute)){throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.")}if(d<"2021-04-10"&&i.permissions&&i.permissions.filterByTags){throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.")}if(d<"2020-02-10"&&(i.preauthorizedAgentObjectId||i.correlationId)){throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.")}if(i.encryptionScope&&d<"2020-12-06"){throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.")}i.version=d;return i}},51622:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.ContainerSASPermissions=void 0;class ContainerSASPermissions{static parse(i){const d=new ContainerSASPermissions;for(const p of i){switch(p){case"r":d.read=true;break;case"a":d.add=true;break;case"c":d.create=true;break;case"w":d.write=true;break;case"d":d.delete=true;break;case"l":d.list=true;break;case"t":d.tag=true;break;case"x":d.deleteVersion=true;break;case"m":d.move=true;break;case"e":d.execute=true;break;case"i":d.setImmutabilityPolicy=true;break;case"y":d.permanentDelete=true;break;case"f":d.filterByTags=true;break;default:throw new RangeError(`Invalid permission ${p}`)}}return d}static from(i){const d=new ContainerSASPermissions;if(i.read){d.read=true}if(i.add){d.add=true}if(i.create){d.create=true}if(i.write){d.write=true}if(i.delete){d.delete=true}if(i.list){d.list=true}if(i.deleteVersion){d.deleteVersion=true}if(i.tag){d.tag=true}if(i.move){d.move=true}if(i.execute){d.execute=true}if(i.setImmutabilityPolicy){d.setImmutabilityPolicy=true}if(i.permanentDelete){d.permanentDelete=true}if(i.filterByTags){d.filterByTags=true}return d}read=false;add=false;create=false;write=false;delete=false;deleteVersion=false;list=false;tag=false;move=false;execute=false;setImmutabilityPolicy=false;permanentDelete=false;filterByTags=false;toString(){const i=[];if(this.read){i.push("r")}if(this.add){i.push("a")}if(this.create){i.push("c")}if(this.write){i.push("w")}if(this.delete){i.push("d")}if(this.deleteVersion){i.push("x")}if(this.list){i.push("l")}if(this.tag){i.push("t")}if(this.move){i.push("m")}if(this.execute){i.push("e")}if(this.setImmutabilityPolicy){i.push("i")}if(this.permanentDelete){i.push("y")}if(this.filterByTags){i.push("f")}return i.join("")}}d.ContainerSASPermissions=ContainerSASPermissions},26823:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.SASQueryParameters=d.SASProtocol=void 0;const v=p(2977);const V=p(47764);var K;(function(i){i["Https"]="https";i["HttpsAndHttp"]="https,http"})(K||(d.SASProtocol=K={}));class SASQueryParameters{version;protocol;startsOn;expiresOn;permissions;services;resourceTypes;identifier;delegatedUserObjectId;encryptionScope;resource;signature;cacheControl;contentDisposition;contentEncoding;contentLanguage;contentType;ipRangeInner;signedOid;signedTenantId;signedStartsOn;signedExpiresOn;signedService;signedVersion;preauthorizedAgentObjectId;correlationId;get ipRange(){if(this.ipRangeInner){return{end:this.ipRangeInner.end,start:this.ipRangeInner.start}}return undefined}constructor(i,d,p,v,V,K,ee,te,re,ne,se,ie,oe,ae,Ae,ce,le,ue,de,he,fe){this.version=i;this.signature=d;if(p!==undefined&&typeof p!=="string"){this.permissions=p.permissions;this.services=p.services;this.resourceTypes=p.resourceTypes;this.protocol=p.protocol;this.startsOn=p.startsOn;this.expiresOn=p.expiresOn;this.ipRangeInner=p.ipRange;this.identifier=p.identifier;this.delegatedUserObjectId=p.delegatedUserObjectId;this.encryptionScope=p.encryptionScope;this.resource=p.resource;this.cacheControl=p.cacheControl;this.contentDisposition=p.contentDisposition;this.contentEncoding=p.contentEncoding;this.contentLanguage=p.contentLanguage;this.contentType=p.contentType;if(p.userDelegationKey){this.signedOid=p.userDelegationKey.signedObjectId;this.signedTenantId=p.userDelegationKey.signedTenantId;this.signedStartsOn=p.userDelegationKey.signedStartsOn;this.signedExpiresOn=p.userDelegationKey.signedExpiresOn;this.signedService=p.userDelegationKey.signedService;this.signedVersion=p.userDelegationKey.signedVersion;this.preauthorizedAgentObjectId=p.preauthorizedAgentObjectId;this.correlationId=p.correlationId}}else{this.services=v;this.resourceTypes=V;this.expiresOn=te;this.permissions=p;this.protocol=K;this.startsOn=ee;this.ipRangeInner=re;this.delegatedUserObjectId=fe;this.encryptionScope=he;this.identifier=ne;this.resource=se;this.cacheControl=ie;this.contentDisposition=oe;this.contentEncoding=ae;this.contentLanguage=Ae;this.contentType=ce;if(le){this.signedOid=le.signedObjectId;this.signedTenantId=le.signedTenantId;this.signedStartsOn=le.signedStartsOn;this.signedExpiresOn=le.signedExpiresOn;this.signedService=le.signedService;this.signedVersion=le.signedVersion;this.preauthorizedAgentObjectId=ue;this.correlationId=de}}}toString(){const i=["sv","ss","srt","spr","st","se","sip","si","ses","skoid","sktid","skt","ske","sks","skv","sr","sp","sig","rscc","rscd","rsce","rscl","rsct","saoid","scid","sduoid"];const d=[];for(const p of i){switch(p){case"sv":this.tryAppendQueryParameter(d,p,this.version);break;case"ss":this.tryAppendQueryParameter(d,p,this.services);break;case"srt":this.tryAppendQueryParameter(d,p,this.resourceTypes);break;case"spr":this.tryAppendQueryParameter(d,p,this.protocol);break;case"st":this.tryAppendQueryParameter(d,p,this.startsOn?(0,V.truncatedISO8061Date)(this.startsOn,false):undefined);break;case"se":this.tryAppendQueryParameter(d,p,this.expiresOn?(0,V.truncatedISO8061Date)(this.expiresOn,false):undefined);break;case"sip":this.tryAppendQueryParameter(d,p,this.ipRange?(0,v.ipRangeToString)(this.ipRange):undefined);break;case"si":this.tryAppendQueryParameter(d,p,this.identifier);break;case"ses":this.tryAppendQueryParameter(d,p,this.encryptionScope);break;case"skoid":this.tryAppendQueryParameter(d,p,this.signedOid);break;case"sktid":this.tryAppendQueryParameter(d,p,this.signedTenantId);break;case"skt":this.tryAppendQueryParameter(d,p,this.signedStartsOn?(0,V.truncatedISO8061Date)(this.signedStartsOn,false):undefined);break;case"ske":this.tryAppendQueryParameter(d,p,this.signedExpiresOn?(0,V.truncatedISO8061Date)(this.signedExpiresOn,false):undefined);break;case"sks":this.tryAppendQueryParameter(d,p,this.signedService);break;case"skv":this.tryAppendQueryParameter(d,p,this.signedVersion);break;case"sr":this.tryAppendQueryParameter(d,p,this.resource);break;case"sp":this.tryAppendQueryParameter(d,p,this.permissions);break;case"sig":this.tryAppendQueryParameter(d,p,this.signature);break;case"rscc":this.tryAppendQueryParameter(d,p,this.cacheControl);break;case"rscd":this.tryAppendQueryParameter(d,p,this.contentDisposition);break;case"rsce":this.tryAppendQueryParameter(d,p,this.contentEncoding);break;case"rscl":this.tryAppendQueryParameter(d,p,this.contentLanguage);break;case"rsct":this.tryAppendQueryParameter(d,p,this.contentType);break;case"saoid":this.tryAppendQueryParameter(d,p,this.preauthorizedAgentObjectId);break;case"scid":this.tryAppendQueryParameter(d,p,this.correlationId);break;case"sduoid":this.tryAppendQueryParameter(d,p,this.delegatedUserObjectId);break}}return d.join("&")}tryAppendQueryParameter(i,d,p){if(!p){return}d=encodeURIComponent(d);p=encodeURIComponent(p);if(d.length>0&&p.length>0){i.push(`${d}=${p}`)}}}d.SASQueryParameters=SASQueryParameters},2977:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.ipRangeToString=ipRangeToString;function ipRangeToString(i){return i.end?`${i.start}-${i.end}`:i.start}},81582:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.Batch=void 0;const v=p(24434);var V;(function(i){i[i["Good"]=0]="Good";i[i["Error"]=1]="Error"})(V||(V={}));class Batch{concurrency;actives=0;completed=0;offset=0;operations=[];state=V.Good;emitter;constructor(i=5){if(i<1){throw new RangeError("concurrency must be larger than 0")}this.concurrency=i;this.emitter=new v.EventEmitter}addOperation(i){this.operations.push((async()=>{try{this.actives++;await i();this.actives--;this.completed++;this.parallelExecute()}catch(i){this.emitter.emit("error",i)}}))}async do(){if(this.operations.length===0){return Promise.resolve()}this.parallelExecute();return new Promise(((i,d)=>{this.emitter.on("finish",i);this.emitter.on("error",(i=>{this.state=V.Error;d(i)}))}))}nextOperation(){if(this.offset=this.operations.length){this.emitter.emit("finish");return}while(this.actives{Object.defineProperty(d,"__esModule",{value:true});d.BlobQuickQueryStream=void 0;const v=p(57075);const V=p(96147);class BlobQuickQueryStream extends v.Readable{source;avroReader;avroIter;avroPaused=true;onProgress;onError;constructor(i,d={}){super();this.source=i;this.onProgress=d.onProgress;this.onError=d.onError;this.avroReader=new V.AvroReader(new V.AvroReadableFromStream(this.source));this.avroIter=this.avroReader.parseObjects({abortSignal:d.abortSignal})}_read(){if(this.avroPaused){this.readInternal().catch((i=>{this.emit("error",i)}))}}async readInternal(){this.avroPaused=false;let i;do{i=await this.avroIter.next();if(i.done){break}const d=i.value;const p=d.$schema;if(typeof p!=="string"){throw Error("Missing schema in avro record.")}switch(p){case"com.microsoft.azure.storage.queryBlobContents.resultData":{const i=d.data;if(i instanceof Uint8Array===false){throw Error("Invalid data in avro result record.")}if(!this.push(Buffer.from(i))){this.avroPaused=true}}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{const i=d.bytesScanned;if(typeof i!=="number"){throw Error("Invalid bytesScanned in avro progress record.")}if(this.onProgress){this.onProgress({loadedBytes:i})}}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){const i=d.totalBytes;if(typeof i!=="number"){throw Error("Invalid totalBytes in avro end record.")}this.onProgress({loadedBytes:i})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){const i=d.fatal;if(typeof i!=="boolean"){throw Error("Invalid fatal in avro error record.")}const p=d.name;if(typeof p!=="string"){throw Error("Invalid name in avro error record.")}const v=d.description;if(typeof v!=="string"){throw Error("Invalid description in avro error record.")}const V=d.position;if(typeof V!=="number"){throw Error("Invalid position in avro error record.")}this.onError({position:V,name:p,isFatal:i,description:v})}break;default:throw Error(`Unknown schema ${p} in avro progress record.`)}}while(!i.done&&!this.avroPaused)}}d.BlobQuickQueryStream=BlobQuickQueryStream},58913:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.Mutex=void 0;var p;(function(i){i[i["LOCKED"]=0]="LOCKED";i[i["UNLOCKED"]=1]="UNLOCKED"})(p||(p={}));class Mutex{static async lock(i){return new Promise((d=>{if(this.keys[i]===undefined||this.keys[i]===p.UNLOCKED){this.keys[i]=p.LOCKED;d()}else{this.onUnlockEvent(i,(()=>{this.keys[i]=p.LOCKED;d()}))}}))}static async unlock(i){return new Promise((d=>{if(this.keys[i]===p.LOCKED){this.emitUnlockEvent(i)}delete this.keys[i];d()}))}static keys={};static listeners={};static onUnlockEvent(i,d){if(this.listeners[i]===undefined){this.listeners[i]=[d]}else{this.listeners[i].push(d)}}static emitUnlockEvent(i){if(this.listeners[i]!==undefined&&this.listeners[i].length>0){const d=this.listeners[i].shift();setImmediate((()=>{d.call(this)}))}}}d.Mutex=Mutex},98684:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.RetriableReadableStream=void 0;const v=p(83134);const V=p(57075);class RetriableReadableStream extends V.Readable{start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(i,d,p,v,V={}){super({highWaterMark:V.highWaterMark});this.getter=d;this.source=i;this.start=p;this.offset=p;this.end=p+v-1;this.maxRetryRequests=V.maxRetryRequests&&V.maxRetryRequests>=0?V.maxRetryRequests:0;this.onProgress=V.onProgress;this.options=V;this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler);this.source.on("end",this.sourceErrorOrEndHandler);this.source.on("error",this.sourceErrorOrEndHandler);this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler);this.source.removeListener("end",this.sourceErrorOrEndHandler);this.source.removeListener("error",this.sourceErrorOrEndHandler);this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=i=>{if(this.options.doInjectErrorOnce){this.options.doInjectErrorOnce=undefined;this.source.pause();this.sourceErrorOrEndHandler();this.source.destroy();return}this.offset+=i.length;if(this.onProgress){this.onProgress({loadedBytes:this.offset-this.start})}if(!this.push(i)){this.source.pause()}};sourceAbortedHandler=()=>{const i=new v.AbortError("The operation was aborted.");this.destroy(i)};sourceErrorOrEndHandler=i=>{if(i&&i.name==="AbortError"){this.destroy(i);return}this.removeSourceEventHandlers();if(this.offset-1===this.end){this.push(null)}else if(this.offset<=this.end){if(this.retries{this.source=i;this.setSourceEventHandlers();return})).catch((i=>{this.destroy(i)}))}else{this.destroy(new Error(`Data corruption failure: received less data than required and reached maxRetires limitation. Received data offset: ${this.offset-1}, data needed offset: ${this.end}, retries: ${this.retries}, max retries: ${this.maxRetryRequests}`))}}else{this.destroy(new Error(`Data corruption failure: Received more data than original request, data needed offset is ${this.end}, received offset: ${this.offset-1}`))}};_destroy(i,d){this.removeSourceEventHandlers();this.source.destroy();d(i===null?undefined:i)}}d.RetriableReadableStream=RetriableReadableStream},27323:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.PathStylePorts=d.BlobDoesNotUseCustomerSpecifiedEncryption=d.BlobUsesCustomerSpecifiedEncryptionMsg=d.StorageBlobLoggingAllowedQueryParameters=d.StorageBlobLoggingAllowedHeaderNames=d.DevelopmentConnectionString=d.EncryptionAlgorithmAES25=d.HTTP_VERSION_1_1=d.HTTP_LINE_ENDING=d.BATCH_MAX_PAYLOAD_IN_BYTES=d.BATCH_MAX_REQUEST=d.SIZE_1_MB=d.ETagAny=d.ETagNone=d.HeaderConstants=d.HTTPURLConnection=d.URLConstants=d.StorageOAuthScopes=d.REQUEST_TIMEOUT=d.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS=d.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES=d.DEFAULT_BLOCK_BUFFER_SIZE_BYTES=d.BLOCK_BLOB_MAX_BLOCKS=d.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES=d.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES=d.SERVICE_VERSION=d.SDK_VERSION=void 0;d.SDK_VERSION="12.30.0";d.SERVICE_VERSION="2026-02-06";d.BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES=256*1024*1024;d.BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES=4e3*1024*1024;d.BLOCK_BLOB_MAX_BLOCKS=5e4;d.DEFAULT_BLOCK_BUFFER_SIZE_BYTES=8*1024*1024;d.DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES=4*1024*1024;d.DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS=5;d.REQUEST_TIMEOUT=100*1e3;d.StorageOAuthScopes="https://storage.azure.com/.default";d.URLConstants={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};d.HTTPURLConnection={HTTP_ACCEPTED:202,HTTP_CONFLICT:409,HTTP_NOT_FOUND:404,HTTP_PRECON_FAILED:412,HTTP_RANGE_NOT_SATISFIABLE:416};d.HeaderConstants={AUTHORIZATION:"Authorization",AUTHORIZATION_SCHEME:"Bearer",CONTENT_ENCODING:"Content-Encoding",CONTENT_ID:"Content-ID",CONTENT_LANGUAGE:"Content-Language",CONTENT_LENGTH:"Content-Length",CONTENT_MD5:"Content-Md5",CONTENT_TRANSFER_ENCODING:"Content-Transfer-Encoding",CONTENT_TYPE:"Content-Type",COOKIE:"Cookie",DATE:"date",IF_MATCH:"if-match",IF_MODIFIED_SINCE:"if-modified-since",IF_NONE_MATCH:"if-none-match",IF_UNMODIFIED_SINCE:"if-unmodified-since",PREFIX_FOR_STORAGE:"x-ms-",RANGE:"Range",USER_AGENT:"User-Agent",X_MS_CLIENT_REQUEST_ID:"x-ms-client-request-id",X_MS_COPY_SOURCE:"x-ms-copy-source",X_MS_DATE:"x-ms-date",X_MS_ERROR_CODE:"x-ms-error-code",X_MS_VERSION:"x-ms-version",X_MS_CopySourceErrorCode:"x-ms-copy-source-error-code"};d.ETagNone="";d.ETagAny="*";d.SIZE_1_MB=1*1024*1024;d.BATCH_MAX_REQUEST=256;d.BATCH_MAX_PAYLOAD_IN_BYTES=4*d.SIZE_1_MB;d.HTTP_LINE_ENDING="\r\n";d.HTTP_VERSION_1_1="HTTP/1.1";d.EncryptionAlgorithmAES25="AES256";d.DevelopmentConnectionString=`DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;`;d.StorageBlobLoggingAllowedHeaderNames=["Access-Control-Allow-Origin","Cache-Control","Content-Length","Content-Type","Date","Request-Id","traceparent","Transfer-Encoding","User-Agent","x-ms-client-request-id","x-ms-date","x-ms-error-code","x-ms-request-id","x-ms-return-client-request-id","x-ms-version","Accept-Ranges","Content-Disposition","Content-Encoding","Content-Language","Content-MD5","Content-Range","ETag","Last-Modified","Server","Vary","x-ms-content-crc64","x-ms-copy-action","x-ms-copy-completion-time","x-ms-copy-id","x-ms-copy-progress","x-ms-copy-status","x-ms-has-immutability-policy","x-ms-has-legal-hold","x-ms-lease-state","x-ms-lease-status","x-ms-range","x-ms-request-server-encrypted","x-ms-server-encrypted","x-ms-snapshot","x-ms-source-range","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","x-ms-access-tier","x-ms-access-tier-change-time","x-ms-access-tier-inferred","x-ms-account-kind","x-ms-archive-status","x-ms-blob-append-offset","x-ms-blob-cache-control","x-ms-blob-committed-block-count","x-ms-blob-condition-appendpos","x-ms-blob-condition-maxsize","x-ms-blob-content-disposition","x-ms-blob-content-encoding","x-ms-blob-content-language","x-ms-blob-content-length","x-ms-blob-content-md5","x-ms-blob-content-type","x-ms-blob-public-access","x-ms-blob-sequence-number","x-ms-blob-type","x-ms-copy-destination-snapshot","x-ms-creation-time","x-ms-default-encryption-scope","x-ms-delete-snapshots","x-ms-delete-type-permanent","x-ms-deny-encryption-scope-override","x-ms-encryption-algorithm","x-ms-if-sequence-number-eq","x-ms-if-sequence-number-le","x-ms-if-sequence-number-lt","x-ms-incremental-copy","x-ms-lease-action","x-ms-lease-break-period","x-ms-lease-duration","x-ms-lease-id","x-ms-lease-time","x-ms-page-write","x-ms-proposed-lease-id","x-ms-range-get-content-md5","x-ms-rehydrate-priority","x-ms-sequence-number-action","x-ms-sku-name","x-ms-source-content-md5","x-ms-source-if-match","x-ms-source-if-modified-since","x-ms-source-if-none-match","x-ms-source-if-unmodified-since","x-ms-tag-count","x-ms-encryption-key-sha256","x-ms-copy-source-error-code","x-ms-copy-source-status-code","x-ms-if-tags","x-ms-source-if-tags"];d.StorageBlobLoggingAllowedQueryParameters=["comp","maxresults","rscc","rscd","rsce","rscl","rsct","se","si","sip","sp","spr","sr","srt","ss","st","sv","include","marker","prefix","copyid","restype","blockid","blocklisttype","delimiter","prevsnapshot","ske","skoid","sks","skt","sktid","skv","snapshot"];d.BlobUsesCustomerSpecifiedEncryptionMsg="BlobUsesCustomerSpecifiedEncryption";d.BlobDoesNotUseCustomerSpecifiedEncryption="BlobDoesNotUseCustomerSpecifiedEncryption";d.PathStylePorts=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"]},53952:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.tracingClient=void 0;const v=p(20623);const V=p(27323);d.tracingClient=(0,v.createTracingClient)({packageName:"@azure/storage-blob",packageVersion:V.SDK_VERSION,namespace:"Microsoft.Storage"})},47764:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.escapeURLPath=escapeURLPath;d.getValueInConnString=getValueInConnString;d.extractConnectionStringParts=extractConnectionStringParts;d.appendToURLPath=appendToURLPath;d.setURLParameter=setURLParameter;d.getURLParameter=getURLParameter;d.setURLHost=setURLHost;d.getURLPath=getURLPath;d.getURLScheme=getURLScheme;d.getURLPathAndQuery=getURLPathAndQuery;d.getURLQueries=getURLQueries;d.appendToURLQuery=appendToURLQuery;d.truncatedISO8061Date=truncatedISO8061Date;d.base64encode=base64encode;d.base64decode=base64decode;d.generateBlockID=generateBlockID;d.delay=delay;d.padStart=padStart;d.sanitizeURL=sanitizeURL;d.sanitizeHeaders=sanitizeHeaders;d.iEqual=iEqual;d.getAccountNameFromUrl=getAccountNameFromUrl;d.isIpEndpointStyle=isIpEndpointStyle;d.toBlobTagsString=toBlobTagsString;d.toBlobTags=toBlobTags;d.toTags=toTags;d.toQuerySerialization=toQuerySerialization;d.parseObjectReplicationRecord=parseObjectReplicationRecord;d.attachCredential=attachCredential;d.httpAuthorizationToString=httpAuthorizationToString;d.BlobNameToString=BlobNameToString;d.ConvertInternalResponseOfListBlobFlat=ConvertInternalResponseOfListBlobFlat;d.ConvertInternalResponseOfListBlobHierarchy=ConvertInternalResponseOfListBlobHierarchy;d.ExtractPageRangeInfoItems=ExtractPageRangeInfoItems;d.EscapePath=EscapePath;d.assertResponse=assertResponse;const v=p(20778);const V=p(87779);const K=p(27323);function escapeURLPath(i){const d=new URL(i);let p=d.pathname;p=p||"/";p=escape(p);d.pathname=p;return d.toString()}function getProxyUriFromDevConnString(i){let d="";if(i.search("DevelopmentStorageProxyUri=")!==-1){const p=i.split(";");for(const i of p){if(i.trim().startsWith("DevelopmentStorageProxyUri=")){d=i.trim().match("DevelopmentStorageProxyUri=(.*)")[1]}}}return d}function getValueInConnString(i,d){const p=i.split(";");for(const i of p){if(i.trim().startsWith(d)){return i.trim().match(d+"=(.*)")[1]}}return""}function extractConnectionStringParts(i){let d="";if(i.startsWith("UseDevelopmentStorage=true")){d=getProxyUriFromDevConnString(i);i=K.DevelopmentConnectionString}let p=getValueInConnString(i,"BlobEndpoint");p=p.endsWith("/")?p.slice(0,-1):p;if(i.search("DefaultEndpointsProtocol=")!==-1&&i.search("AccountKey=")!==-1){let v="";let V="";let K=Buffer.from("accountKey","base64");let ee="";V=getValueInConnString(i,"AccountName");K=Buffer.from(getValueInConnString(i,"AccountKey"),"base64");if(!p){v=getValueInConnString(i,"DefaultEndpointsProtocol");const d=v.toLowerCase();if(d!=="https"&&d!=="http"){throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'")}ee=getValueInConnString(i,"EndpointSuffix");if(!ee){throw new Error("Invalid EndpointSuffix in the provided Connection String")}p=`${v}://${V}.blob.${ee}`}if(!V){throw new Error("Invalid AccountName in the provided Connection String")}else if(K.length===0){throw new Error("Invalid AccountKey in the provided Connection String")}return{kind:"AccountConnString",url:p,accountName:V,accountKey:K,proxyUri:d}}else{let d=getValueInConnString(i,"SharedAccessSignature");let v=getValueInConnString(i,"AccountName");if(!v){v=getAccountNameFromUrl(p)}if(!p){throw new Error("Invalid BlobEndpoint in the provided SAS Connection String")}else if(!d){throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}if(d.startsWith("?")){d=d.substring(1)}return{kind:"SASConnString",url:p,accountName:v,accountSas:d}}}function escape(i){return encodeURIComponent(i).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}function appendToURLPath(i,d){const p=new URL(i);let v=p.pathname;v=v?v.endsWith("/")?`${v}${d}`:`${v}/${d}`:d;p.pathname=v;return p.toString()}function setURLParameter(i,d,p){const v=new URL(i);const V=encodeURIComponent(d);const K=p?encodeURIComponent(p):undefined;const ee=v.search===""?"?":v.search;const te=[];for(const i of ee.slice(1).split("&")){if(i){const[d]=i.split("=",2);if(d!==V){te.push(i)}}}if(K){te.push(`${V}=${K}`)}v.search=te.length?`?${te.join("&")}`:"";return v.toString()}function getURLParameter(i,d){const p=new URL(i);return p.searchParams.get(d)??undefined}function setURLHost(i,d){const p=new URL(i);p.hostname=d;return p.toString()}function getURLPath(i){try{const d=new URL(i);return d.pathname}catch(i){return undefined}}function getURLScheme(i){try{const d=new URL(i);return d.protocol.endsWith(":")?d.protocol.slice(0,-1):d.protocol}catch(i){return undefined}}function getURLPathAndQuery(i){const d=new URL(i);const p=d.pathname;if(!p){throw new RangeError("Invalid url without valid path.")}let v=d.search||"";v=v.trim();if(v!==""){v=v.startsWith("?")?v:`?${v}`}return`${p}${v}`}function getURLQueries(i){let d=new URL(i).search;if(!d){return{}}d=d.trim();d=d.startsWith("?")?d.substring(1):d;let p=d.split("&");p=p.filter((i=>{const d=i.indexOf("=");const p=i.lastIndexOf("=");return d>0&&d===p&&pV){i=i.slice(0,V)}const K=i+padStart(d.toString(),p-i.length,"0");return base64encode(K)}async function delay(i,d,p){return new Promise(((v,V)=>{let K;const abortHandler=()=>{if(K!==undefined){clearTimeout(K)}V(p)};const resolveHandler=()=>{if(d!==undefined){d.removeEventListener("abort",abortHandler)}v()};K=setTimeout(resolveHandler,i);if(d!==undefined){d.addEventListener("abort",abortHandler)}}))}function padStart(i,d,p=" "){if(String.prototype.padStart){return i.padStart(d,p)}p=p||" ";if(i.length>d){return i}else{d=d-i.length;if(d>p.length){p+=p.repeat(d/p.length)}return p.slice(0,d)+i}}function sanitizeURL(i){let d=i;if(getURLParameter(d,K.URLConstants.Parameters.SIGNATURE)){d=setURLParameter(d,K.URLConstants.Parameters.SIGNATURE,"*****")}return d}function sanitizeHeaders(i){const d=(0,v.createHttpHeaders)();for(const[p,v]of i){if(p.toLowerCase()===K.HeaderConstants.AUTHORIZATION.toLowerCase()){d.set(p,"*****")}else if(p.toLowerCase()===K.HeaderConstants.X_MS_COPY_SOURCE){d.set(p,sanitizeURL(v))}else{d.set(p,v)}}return d}function iEqual(i,d){return i.toLocaleLowerCase()===d.toLocaleLowerCase()}function getAccountNameFromUrl(i){const d=new URL(i);let p;try{if(d.hostname.split(".")[1]==="blob"){p=d.hostname.split(".")[0]}else if(isIpEndpointStyle(d)){p=d.pathname.split("/")[1]}else{p=""}return p}catch(i){throw new Error("Unable to extract accountName with provided information.")}}function isIpEndpointStyle(i){const d=i.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(d)||Boolean(i.port)&&K.PathStylePorts.includes(i.port)}function toBlobTagsString(i){if(i===undefined){return undefined}const d=[];for(const p in i){if(Object.prototype.hasOwnProperty.call(i,p)){const v=i[p];d.push(`${encodeURIComponent(p)}=${encodeURIComponent(v)}`)}}return d.join("&")}function toBlobTags(i){if(i===undefined){return undefined}const d={blobTagSet:[]};for(const p in i){if(Object.prototype.hasOwnProperty.call(i,p)){const v=i[p];d.blobTagSet.push({key:p,value:v})}}return d}function toTags(i){if(i===undefined){return undefined}const d={};for(const p of i.blobTagSet){d[p.key]=p.value}return d}function toQuerySerialization(i){if(i===undefined){return undefined}switch(i.kind){case"csv":return{format:{type:"delimited",delimitedTextConfiguration:{columnSeparator:i.columnSeparator||",",fieldQuote:i.fieldQuote||"",recordSeparator:i.recordSeparator,escapeChar:i.escapeCharacter||"",headersPresent:i.hasHeaders||false}}};case"json":return{format:{type:"json",jsonTextConfiguration:{recordSeparator:i.recordSeparator}}};case"arrow":return{format:{type:"arrow",arrowConfiguration:{schema:i.schema}}};case"parquet":return{format:{type:"parquet"}};default:throw Error("Invalid BlobQueryTextConfiguration.")}}function parseObjectReplicationRecord(i){if(!i){return undefined}if("policy-id"in i){return undefined}const d=[];for(const p in i){const v=p.split("_");const V="or-";if(v[0].startsWith(V)){v[0]=v[0].substring(V.length)}const K={ruleId:v[1],replicationStatus:i[p]};const ee=d.findIndex((i=>i.policyId===v[0]));if(ee>-1){d[ee].rules.push(K)}else{d.push({policyId:v[0],rules:[K]})}}return d}function attachCredential(i,d){i.credential=d;return i}function httpAuthorizationToString(i){return i?i.scheme+" "+i.value:undefined}function BlobNameToString(i){if(i.encoded){return decodeURIComponent(i.content)}else{return i.content}}function ConvertInternalResponseOfListBlobFlat(i){return{...i,segment:{blobItems:i.segment.blobItems.map((i=>{const d={...i,name:BlobNameToString(i.name)};return d}))}}}function ConvertInternalResponseOfListBlobHierarchy(i){return{...i,segment:{blobPrefixes:i.segment.blobPrefixes?.map((i=>{const d={...i,name:BlobNameToString(i.name)};return d})),blobItems:i.segment.blobItems.map((i=>{const d={...i,name:BlobNameToString(i.name)};return d}))}}}function*ExtractPageRangeInfoItems(i){let d=[];let p=[];if(i.pageRange)d=i.pageRange;if(i.clearRange)p=i.clearRange;let v=0;let V=0;while(v{Object.defineProperty(d,"__esModule",{value:true});d.fsCreateReadStream=d.fsStat=void 0;d.streamToBuffer=streamToBuffer;d.streamToBuffer2=streamToBuffer2;d.streamToBuffer3=streamToBuffer3;d.readStreamToLocalFile=readStreamToLocalFile;const v=p(93849);const V=v.__importDefault(p(73024));const K=v.__importDefault(p(57975));const ee=p(27323);async function streamToBuffer(i,d,p,v,V){let K=0;const te=v-p;return new Promise(((v,re)=>{const ne=setTimeout((()=>re(new Error(`The operation cannot be completed in timeout.`))),ee.REQUEST_TIMEOUT);i.on("readable",(()=>{if(K>=te){clearTimeout(ne);v();return}let ee=i.read();if(!ee){return}if(typeof ee==="string"){ee=Buffer.from(ee,V)}const re=K+ee.length>te?te-K:ee.length;d.fill(ee.slice(0,re),p+K,p+K+re);K+=re}));i.on("end",(()=>{clearTimeout(ne);if(K{clearTimeout(ne);re(i)}))}))}async function streamToBuffer2(i,d,p){let v=0;const V=d.length;return new Promise(((K,ee)=>{i.on("readable",(()=>{let K=i.read();if(!K){return}if(typeof K==="string"){K=Buffer.from(K,p)}if(v+K.length>V){ee(new Error(`Stream exceeds buffer size. Buffer size: ${V}`));return}d.fill(K,v,v+K.length);v+=K.length}));i.on("end",(()=>{K(v)}));i.on("error",ee)}))}async function streamToBuffer3(i,d){return new Promise(((p,v)=>{const V=[];i.on("data",(i=>{V.push(typeof i==="string"?Buffer.from(i,d):i)}));i.on("end",(()=>{p(Buffer.concat(V))}));i.on("error",v)}))}async function readStreamToLocalFile(i,d){return new Promise(((p,v)=>{const K=V.default.createWriteStream(d);i.on("error",(i=>{v(i)}));K.on("error",(i=>{v(i)}));K.on("close",p);i.pipe(K)}))}d.fsStat=K.default.promisify(V.default.stat);d.fsCreateReadStream=V.default.createReadStream},86381:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BufferScheduler=void 0;const v=p(24434);const V=p(52121);class BufferScheduler{bufferSize;maxBuffers;readable;outgoingHandler;emitter=new v.EventEmitter;concurrency;offset=0;isStreamEnd=false;isError=false;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(i,d,p,v,V,K){if(d<=0){throw new RangeError(`bufferSize must be larger than 0, current is ${d}`)}if(p<=0){throw new RangeError(`maxBuffers must be larger than 0, current is ${p}`)}if(V<=0){throw new RangeError(`concurrency must be larger than 0, current is ${V}`)}this.bufferSize=d;this.maxBuffers=p;this.readable=i;this.outgoingHandler=v;this.concurrency=V;this.encoding=K}async do(){return new Promise(((i,d)=>{this.readable.on("data",(i=>{i=typeof i==="string"?Buffer.from(i,this.encoding):i;this.appendUnresolvedData(i);if(!this.resolveData()){this.readable.pause()}}));this.readable.on("error",(i=>{this.emitter.emit("error",i)}));this.readable.on("end",(()=>{this.isStreamEnd=true;this.emitter.emit("checkEnd")}));this.emitter.on("error",(i=>{this.isError=true;this.readable.pause();d(i)}));this.emitter.on("checkEnd",(()=>{if(this.outgoing.length>0){this.triggerOutgoingHandlers();return}if(this.isStreamEnd&&this.executingOutgoingHandlers===0){if(this.unresolvedLength>0&&this.unresolvedLengthp.getReadableStream()),p.size,this.offset).then(i).catch(d)}else if(this.unresolvedLength>=this.bufferSize){return}else{i()}}}))}))}appendUnresolvedData(i){this.unresolvedDataArray.push(i);this.unresolvedLength+=i.length}shiftBufferFromUnresolvedDataArray(i){if(!i){i=new V.PooledBuffer(this.bufferSize,this.unresolvedDataArray,this.unresolvedLength)}else{i.fill(this.unresolvedDataArray,this.unresolvedLength)}this.unresolvedLength-=i.size;return i}resolveData(){while(this.unresolvedLength>=this.bufferSize){let i;if(this.incoming.length>0){i=this.incoming.shift();this.shiftBufferFromUnresolvedDataArray(i)}else{if(this.numBuffers=this.concurrency){return}i=this.outgoing.shift();if(i){this.triggerOutgoingHandler(i)}}while(i)}async triggerOutgoingHandler(i){const d=i.size;this.executingOutgoingHandlers++;this.offset+=d;try{await this.outgoingHandler((()=>i.getReadableStream()),d,this.offset-d)}catch(i){this.emitter.emit("error",i);return}this.executingOutgoingHandlers--;this.reuseBuffer(i);this.emitter.emit("checkEnd")}reuseBuffer(i){this.incoming.push(i);if(!this.isError&&this.resolveData()&&!this.isStreamEnd){this.readable.resume()}}}d.BufferScheduler=BufferScheduler},66093:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BuffersStream=void 0;const v=p(57075);class BuffersStream extends v.Readable{buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(i,d,p){super(p);this.buffers=i;this.byteLength=d;this.byteOffsetInCurrentBuffer=0;this.bufferIndex=0;this.pushedBytesLength=0;let v=0;for(const i of this.buffers){v+=i.byteLength}if(v=this.byteLength){this.push(null)}if(!i){i=this.readableHighWaterMark}const d=[];let p=0;while(pi-p){const v=this.byteOffsetInCurrentBuffer+i-p;d.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,v));this.pushedBytesLength+=i-p;this.byteOffsetInCurrentBuffer=v;p=i;break}else{const i=this.byteOffsetInCurrentBuffer+K;d.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,i));if(K===V){this.byteOffsetInCurrentBuffer=0;this.bufferIndex++}else{this.byteOffsetInCurrentBuffer=i}this.pushedBytesLength+=K;p+=K}}if(d.length>1){this.push(Buffer.concat(d))}else if(d.length===1){this.push(d[0])}}}d.BuffersStream=BuffersStream},52121:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.PooledBuffer=void 0;const v=p(59199);const V=p(66093);const K=v.__importDefault(p(4573));const ee=K.default.constants.MAX_LENGTH;class PooledBuffer{buffers=[];capacity;_size;get size(){return this._size}constructor(i,d,p){this.capacity=i;this._size=0;const v=Math.ceil(i/ee);for(let d=0;d0){i[0]=i[0].slice(K)}}getReadableStream(){return new V.BuffersStream(this.buffers,this.size)}}d.PooledBuffer=PooledBuffer},4399:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageBrowserPolicyFactory=d.StorageBrowserPolicy=void 0;const v=p(22312);Object.defineProperty(d,"StorageBrowserPolicy",{enumerable:true,get:function(){return v.StorageBrowserPolicy}});class StorageBrowserPolicyFactory{create(i,d){return new v.StorageBrowserPolicy(i,d)}}d.StorageBrowserPolicyFactory=StorageBrowserPolicyFactory},77321:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageRetryPolicyFactory=d.StorageRetryPolicy=d.StorageRetryPolicyType=void 0;const v=p(27734);Object.defineProperty(d,"StorageRetryPolicy",{enumerable:true,get:function(){return v.StorageRetryPolicy}});const V=p(38622);Object.defineProperty(d,"StorageRetryPolicyType",{enumerable:true,get:function(){return V.StorageRetryPolicyType}});class StorageRetryPolicyFactory{retryOptions;constructor(i){this.retryOptions=i}create(i,d){return new v.StorageRetryPolicy(i,d,this.retryOptions)}}d.StorageRetryPolicyFactory=StorageRetryPolicyFactory},68376:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getCachedDefaultHttpClient=getCachedDefaultHttpClient;const v=p(20778);let V;function getCachedDefaultHttpClient(){if(!V){V=(0,v.createDefaultHttpClient)()}return V}},32159:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.AnonymousCredential=void 0;const v=p(63611);const V=p(450);class AnonymousCredential extends V.Credential{create(i,d){return new v.AnonymousCredentialPolicy(i,d)}}d.AnonymousCredential=AnonymousCredential},450:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.Credential=void 0;class Credential{create(i,d){throw new Error("Method should be implemented in children classes.")}}d.Credential=Credential},30849:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageSharedKeyCredential=void 0;const v=p(77598);const V=p(35369);const K=p(450);class StorageSharedKeyCredential extends K.Credential{accountName;accountKey;constructor(i,d){super();this.accountName=i;this.accountKey=Buffer.from(d,"base64")}create(i,d){return new V.StorageSharedKeyCredentialPolicy(i,d,this)}computeHMACSHA256(i){return(0,v.createHmac)("sha256",this.accountKey).update(i,"utf8").digest("base64")}}d.StorageSharedKeyCredential=StorageSharedKeyCredential},3602:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.UserDelegationKeyCredential=void 0;const v=p(77598);class UserDelegationKeyCredential{accountName;userDelegationKey;key;constructor(i,d){this.accountName=i;this.userDelegationKey=d;this.key=Buffer.from(d.value,"base64")}computeHMACSHA256(i){return(0,v.createHmac)("sha256",this.key).update(i,"utf8").digest("base64")}}d.UserDelegationKeyCredential=UserDelegationKeyCredential},51382:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.BaseRequestPolicy=d.getCachedDefaultHttpClient=void 0;const v=p(59199);v.__exportStar(p(86381),d);var V=p(68376);Object.defineProperty(d,"getCachedDefaultHttpClient",{enumerable:true,get:function(){return V.getCachedDefaultHttpClient}});v.__exportStar(p(4399),d);v.__exportStar(p(32159),d);v.__exportStar(p(450),d);v.__exportStar(p(30849),d);v.__exportStar(p(77321),d);var K=p(40590);Object.defineProperty(d,"BaseRequestPolicy",{enumerable:true,get:function(){return K.BaseRequestPolicy}});v.__exportStar(p(63611),d);v.__exportStar(p(74238),d);v.__exportStar(p(22312),d);v.__exportStar(p(83100),d);v.__exportStar(p(92505),d);v.__exportStar(p(38622),d);v.__exportStar(p(27734),d);v.__exportStar(p(78178),d);v.__exportStar(p(35369),d);v.__exportStar(p(53233),d);v.__exportStar(p(77321),d);v.__exportStar(p(24174),d);v.__exportStar(p(3602),d)},32780:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.logger=void 0;const v=p(26515);d.logger=(0,v.createClientLogger)("storage-common")},63611:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.AnonymousCredentialPolicy=void 0;const v=p(74238);class AnonymousCredentialPolicy extends v.CredentialPolicy{constructor(i,d){super(i,d)}}d.AnonymousCredentialPolicy=AnonymousCredentialPolicy},74238:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.CredentialPolicy=void 0;const v=p(40590);class CredentialPolicy extends v.BaseRequestPolicy{sendRequest(i){return this._nextPolicy.sendRequest(this.signRequest(i))}signRequest(i){return i}}d.CredentialPolicy=CredentialPolicy},40590:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.BaseRequestPolicy=void 0;class BaseRequestPolicy{_nextPolicy;_options;constructor(i,d){this._nextPolicy=i;this._options=d}shouldLog(i){return this._options.shouldLog(i)}log(i,d){this._options.log(i,d)}}d.BaseRequestPolicy=BaseRequestPolicy},22312:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageBrowserPolicy=void 0;const v=p(40590);const V=p(87779);const K=p(77925);const ee=p(58218);class StorageBrowserPolicy extends v.BaseRequestPolicy{constructor(i,d){super(i,d)}async sendRequest(i){if(V.isNodeLike){return this._nextPolicy.sendRequest(i)}if(i.method.toUpperCase()==="GET"||i.method.toUpperCase()==="HEAD"){i.url=(0,ee.setURLParameter)(i.url,K.URLConstants.Parameters.FORCE_BROWSER_NO_CACHE,(new Date).getTime().toString())}i.headers.remove(K.HeaderConstants.COOKIE);i.headers.remove(K.HeaderConstants.CONTENT_LENGTH);return this._nextPolicy.sendRequest(i)}}d.StorageBrowserPolicy=StorageBrowserPolicy},83100:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.storageBrowserPolicyName=void 0;d.storageBrowserPolicy=storageBrowserPolicy;const v=p(87779);const V=p(77925);const K=p(58218);d.storageBrowserPolicyName="storageBrowserPolicy";function storageBrowserPolicy(){return{name:d.storageBrowserPolicyName,async sendRequest(i,d){if(v.isNodeLike){return d(i)}if(i.method==="GET"||i.method==="HEAD"){i.url=(0,K.setURLParameter)(i.url,V.URLConstants.Parameters.FORCE_BROWSER_NO_CACHE,(new Date).getTime().toString())}i.headers.delete(V.HeaderConstants.COOKIE);i.headers.delete(V.HeaderConstants.CONTENT_LENGTH);return d(i)}}}},92505:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.storageCorrectContentLengthPolicyName=void 0;d.storageCorrectContentLengthPolicy=storageCorrectContentLengthPolicy;const v=p(77925);d.storageCorrectContentLengthPolicyName="StorageCorrectContentLengthPolicy";function storageCorrectContentLengthPolicy(){function correctContentLength(i){if(i.body&&(typeof i.body==="string"||Buffer.isBuffer(i.body))&&i.body.length>0){i.headers.set(v.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(i.body))}}return{name:d.storageCorrectContentLengthPolicyName,async sendRequest(i,d){correctContentLength(i);return d(i)}}}},24174:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.storageRequestFailureDetailsParserPolicyName=void 0;d.storageRequestFailureDetailsParserPolicy=storageRequestFailureDetailsParserPolicy;d.storageRequestFailureDetailsParserPolicyName="storageRequestFailureDetailsParserPolicy";function storageRequestFailureDetailsParserPolicy(){return{name:d.storageRequestFailureDetailsParserPolicyName,async sendRequest(i,d){try{const p=await d(i);return p}catch(i){if(typeof i==="object"&&i!==null&&i.response&&i.response.parsedBody){if(i.response.parsedBody.code==="InvalidHeaderValue"&&i.response.parsedBody.HeaderName==="x-ms-version"){i.message="The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information.\n"}}throw i}}}}},27734:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageRetryPolicy=void 0;d.NewRetryPolicyFactory=NewRetryPolicyFactory;const v=p(83134);const V=p(40590);const K=p(77925);const ee=p(58218);const te=p(32780);const re=p(38622);function NewRetryPolicyFactory(i){return{create:(d,p)=>new StorageRetryPolicy(d,p,i)}}const ne={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:re.StorageRetryPolicyType.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:undefined};const se=new v.AbortError("The operation was aborted.");class StorageRetryPolicy extends V.BaseRequestPolicy{retryOptions;constructor(i,d,p=ne){super(i,d);this.retryOptions={retryPolicyType:p.retryPolicyType?p.retryPolicyType:ne.retryPolicyType,maxTries:p.maxTries&&p.maxTries>=1?Math.floor(p.maxTries):ne.maxTries,tryTimeoutInMs:p.tryTimeoutInMs&&p.tryTimeoutInMs>=0?p.tryTimeoutInMs:ne.tryTimeoutInMs,retryDelayInMs:p.retryDelayInMs&&p.retryDelayInMs>=0?Math.min(p.retryDelayInMs,p.maxRetryDelayInMs?p.maxRetryDelayInMs:ne.maxRetryDelayInMs):ne.retryDelayInMs,maxRetryDelayInMs:p.maxRetryDelayInMs&&p.maxRetryDelayInMs>=0?p.maxRetryDelayInMs:ne.maxRetryDelayInMs,secondaryHost:p.secondaryHost?p.secondaryHost:ne.secondaryHost}}async sendRequest(i){return this.attemptSendRequest(i,false,1)}async attemptSendRequest(i,d,p){const v=i.clone();const V=d||!this.retryOptions.secondaryHost||!(i.method==="GET"||i.method==="HEAD"||i.method==="OPTIONS")||p%2===1;if(!V){v.url=(0,ee.setURLHost)(v.url,this.retryOptions.secondaryHost)}if(this.retryOptions.tryTimeoutInMs){v.url=(0,ee.setURLParameter)(v.url,K.URLConstants.Parameters.TIMEOUT,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString())}let re;try{te.logger.info(`RetryPolicy: =====> Try=${p} ${V?"Primary":"Secondary"}`);re=await this._nextPolicy.sendRequest(v);if(!this.shouldRetry(V,p,re)){return re}d=d||!V&&re.status===404}catch(i){te.logger.error(`RetryPolicy: Caught error, message: ${i.message}, code: ${i.code}`);if(!this.shouldRetry(V,p,re,i)){throw i}}await this.delay(V,p,i.abortSignal);return this.attemptSendRequest(i,d,++p)}shouldRetry(i,d,p,v){if(d>=this.retryOptions.maxTries){te.logger.info(`RetryPolicy: Attempt(s) ${d} >= maxTries ${this.retryOptions.maxTries}, no further try.`);return false}const V=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];if(v){for(const i of V){if(v.name.toUpperCase().includes(i)||v.message.toUpperCase().includes(i)||v.code&&v.code.toString().toUpperCase()===i){te.logger.info(`RetryPolicy: Network error ${i} found, will retry.`);return true}}}if(p||v){const d=p?p.status:v?v.statusCode:0;if(!i&&d===404){te.logger.info(`RetryPolicy: Secondary access with 404, will retry.`);return true}if(d===503||d===500){te.logger.info(`RetryPolicy: Will retry for status code ${d}.`);return true}}if(p){if(p?.status>=400){const i=p.headers.get(K.HeaderConstants.X_MS_CopySourceErrorCode);if(i!==undefined){switch(i){case"InternalError":case"OperationTimedOut":case"ServerBusy":return true}}}}if(v?.code==="PARSE_ERROR"&&v?.message.startsWith(`Error "Error: Unclosed root tag`)){te.logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry.");return true}return false}async delay(i,d,p){let v=0;if(i){switch(this.retryOptions.retryPolicyType){case re.StorageRetryPolicyType.EXPONENTIAL:v=Math.min((Math.pow(2,d-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case re.StorageRetryPolicyType.FIXED:v=this.retryOptions.retryDelayInMs;break}}else{v=Math.random()*1e3}te.logger.info(`RetryPolicy: Delay for ${v}ms`);return(0,ee.delay)(v,p,se)}}d.StorageRetryPolicy=StorageRetryPolicy},38622:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageRetryPolicyType=void 0;var p;(function(i){i[i["EXPONENTIAL"]=0]="EXPONENTIAL";i[i["FIXED"]=1]="FIXED"})(p||(d.StorageRetryPolicyType=p={}))},78178:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.storageRetryPolicyName=void 0;d.storageRetryPolicy=storageRetryPolicy;const v=p(83134);const V=p(20778);const K=p(87779);const ee=p(77321);const te=p(77925);const re=p(58218);const ne=p(32780);d.storageRetryPolicyName="storageRetryPolicy";const se={maxRetryDelayInMs:120*1e3,maxTries:4,retryDelayInMs:4*1e3,retryPolicyType:ee.StorageRetryPolicyType.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:undefined};const ie=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"];const oe=new v.AbortError("The operation was aborted.");function storageRetryPolicy(i={}){const p=i.retryPolicyType??se.retryPolicyType;const v=i.maxTries??se.maxTries;const ae=i.retryDelayInMs??se.retryDelayInMs;const Ae=i.maxRetryDelayInMs??se.maxRetryDelayInMs;const ce=i.secondaryHost??se.secondaryHost;const le=i.tryTimeoutInMs??se.tryTimeoutInMs;function shouldRetry({isPrimaryRetry:i,attempt:d,response:p,error:V}){if(d>=v){ne.logger.info(`RetryPolicy: Attempt(s) ${d} >= maxTries ${v}, no further try.`);return false}if(V){for(const i of ie){if(V.name.toUpperCase().includes(i)||V.message.toUpperCase().includes(i)||V.code&&V.code.toString().toUpperCase()===i){ne.logger.info(`RetryPolicy: Network error ${i} found, will retry.`);return true}}if(V?.code==="PARSE_ERROR"&&V?.message.startsWith(`Error "Error: Unclosed root tag`)){ne.logger.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry.");return true}}if(p||V){const d=p?.status??V?.statusCode??0;if(!i&&d===404){ne.logger.info(`RetryPolicy: Secondary access with 404, will retry.`);return true}if(d===503||d===500){ne.logger.info(`RetryPolicy: Will retry for status code ${d}.`);return true}}if(p){if(p?.status>=400){const i=p.headers.get(te.HeaderConstants.X_MS_CopySourceErrorCode);if(i!==undefined){switch(i){case"InternalError":case"OperationTimedOut":case"ServerBusy":return true}}}}return false}function calculateDelay(i,d){let v=0;if(i){switch(p){case ee.StorageRetryPolicyType.EXPONENTIAL:v=Math.min((Math.pow(2,d-1)-1)*ae,Ae);break;case ee.StorageRetryPolicyType.FIXED:v=ae;break}}else{v=Math.random()*1e3}ne.logger.info(`RetryPolicy: Delay for ${v}ms`);return v}return{name:d.storageRetryPolicyName,async sendRequest(i,d){if(le){i.url=(0,re.setURLParameter)(i.url,te.URLConstants.Parameters.TIMEOUT,String(Math.floor(le/1e3)))}const p=i.url;const v=ce?(0,re.setURLHost)(i.url,ce):undefined;let ee=false;let se=1;let ie=true;let ae;let Ae;while(ie){const te=ee||!v||!["GET","HEAD","OPTIONS"].includes(i.method)||se%2===1;i.url=te?p:v;ae=undefined;Ae=undefined;try{ne.logger.info(`RetryPolicy: =====> Try=${se} ${te?"Primary":"Secondary"}`);ae=await d(i);ee=ee||!te&&ae.status===404}catch(i){if((0,V.isRestError)(i)){ne.logger.error(`RetryPolicy: Caught error, message: ${i.message}, code: ${i.code}`);Ae=i}else{ne.logger.error(`RetryPolicy: Caught error, message: ${(0,K.getErrorMessage)(i)}`);throw i}}ie=shouldRetry({isPrimaryRetry:te,attempt:se,response:ae,error:Ae});if(ie){await(0,re.delay)(calculateDelay(te,se),i.abortSignal,oe)}se++}if(ae){return ae}throw Ae??new V.RestError("RetryPolicy failed without known error.")}}}},35369:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.StorageSharedKeyCredentialPolicy=void 0;const v=p(77925);const V=p(58218);const K=p(74238);const ee=p(16576);class StorageSharedKeyCredentialPolicy extends K.CredentialPolicy{factory;constructor(i,d,p){super(i,d);this.factory=p}signRequest(i){i.headers.set(v.HeaderConstants.X_MS_DATE,(new Date).toUTCString());if(i.body&&(typeof i.body==="string"||i.body!==undefined)&&i.body.length>0){i.headers.set(v.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(i.body))}const d=[i.method.toUpperCase(),this.getHeaderValueToSign(i,v.HeaderConstants.CONTENT_LANGUAGE),this.getHeaderValueToSign(i,v.HeaderConstants.CONTENT_ENCODING),this.getHeaderValueToSign(i,v.HeaderConstants.CONTENT_LENGTH),this.getHeaderValueToSign(i,v.HeaderConstants.CONTENT_MD5),this.getHeaderValueToSign(i,v.HeaderConstants.CONTENT_TYPE),this.getHeaderValueToSign(i,v.HeaderConstants.DATE),this.getHeaderValueToSign(i,v.HeaderConstants.IF_MODIFIED_SINCE),this.getHeaderValueToSign(i,v.HeaderConstants.IF_MATCH),this.getHeaderValueToSign(i,v.HeaderConstants.IF_NONE_MATCH),this.getHeaderValueToSign(i,v.HeaderConstants.IF_UNMODIFIED_SINCE),this.getHeaderValueToSign(i,v.HeaderConstants.RANGE)].join("\n")+"\n"+this.getCanonicalizedHeadersString(i)+this.getCanonicalizedResourceString(i);const p=this.factory.computeHMACSHA256(d);i.headers.set(v.HeaderConstants.AUTHORIZATION,`SharedKey ${this.factory.accountName}:${p}`);return i}getHeaderValueToSign(i,d){const p=i.headers.get(d);if(!p){return""}if(d===v.HeaderConstants.CONTENT_LENGTH&&p==="0"){return""}return p}getCanonicalizedHeadersString(i){let d=i.headers.headersArray().filter((i=>i.name.toLowerCase().startsWith(v.HeaderConstants.PREFIX_FOR_STORAGE)));d.sort(((i,d)=>(0,ee.compareHeader)(i.name.toLowerCase(),d.name.toLowerCase())));d=d.filter(((i,d,p)=>{if(d>0&&i.name.toLowerCase()===p[d-1].name.toLowerCase()){return false}return true}));let p="";d.forEach((i=>{p+=`${i.name.toLowerCase().trimRight()}:${i.value.trimLeft()}\n`}));return p}getCanonicalizedResourceString(i){const d=(0,V.getURLPath)(i.url)||"/";let p="";p+=`/${this.factory.accountName}${d}`;const v=(0,V.getURLQueries)(i.url);const K={};if(v){const i=[];for(const d in v){if(Object.prototype.hasOwnProperty.call(v,d)){const p=d.toLowerCase();K[p]=v[d];i.push(p)}}i.sort();for(const d of i){p+=`\n${d}:${decodeURIComponent(K[d])}`}}return p}}d.StorageSharedKeyCredentialPolicy=StorageSharedKeyCredentialPolicy},53233:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.storageSharedKeyCredentialPolicyName=void 0;d.storageSharedKeyCredentialPolicy=storageSharedKeyCredentialPolicy;const v=p(77598);const V=p(77925);const K=p(58218);const ee=p(16576);d.storageSharedKeyCredentialPolicyName="storageSharedKeyCredentialPolicy";function storageSharedKeyCredentialPolicy(i){function signRequest(d){d.headers.set(V.HeaderConstants.X_MS_DATE,(new Date).toUTCString());if(d.body&&(typeof d.body==="string"||Buffer.isBuffer(d.body))&&d.body.length>0){d.headers.set(V.HeaderConstants.CONTENT_LENGTH,Buffer.byteLength(d.body))}const p=[d.method.toUpperCase(),getHeaderValueToSign(d,V.HeaderConstants.CONTENT_LANGUAGE),getHeaderValueToSign(d,V.HeaderConstants.CONTENT_ENCODING),getHeaderValueToSign(d,V.HeaderConstants.CONTENT_LENGTH),getHeaderValueToSign(d,V.HeaderConstants.CONTENT_MD5),getHeaderValueToSign(d,V.HeaderConstants.CONTENT_TYPE),getHeaderValueToSign(d,V.HeaderConstants.DATE),getHeaderValueToSign(d,V.HeaderConstants.IF_MODIFIED_SINCE),getHeaderValueToSign(d,V.HeaderConstants.IF_MATCH),getHeaderValueToSign(d,V.HeaderConstants.IF_NONE_MATCH),getHeaderValueToSign(d,V.HeaderConstants.IF_UNMODIFIED_SINCE),getHeaderValueToSign(d,V.HeaderConstants.RANGE)].join("\n")+"\n"+getCanonicalizedHeadersString(d)+getCanonicalizedResourceString(d);const K=(0,v.createHmac)("sha256",i.accountKey).update(p,"utf8").digest("base64");d.headers.set(V.HeaderConstants.AUTHORIZATION,`SharedKey ${i.accountName}:${K}`)}function getHeaderValueToSign(i,d){const p=i.headers.get(d);if(!p){return""}if(d===V.HeaderConstants.CONTENT_LENGTH&&p==="0"){return""}return p}function getCanonicalizedHeadersString(i){let d=[];for(const[p,v]of i.headers){if(p.toLowerCase().startsWith(V.HeaderConstants.PREFIX_FOR_STORAGE)){d.push({name:p,value:v})}}d.sort(((i,d)=>(0,ee.compareHeader)(i.name.toLowerCase(),d.name.toLowerCase())));d=d.filter(((i,d,p)=>{if(d>0&&i.name.toLowerCase()===p[d-1].name.toLowerCase()){return false}return true}));let p="";d.forEach((i=>{p+=`${i.name.toLowerCase().trimRight()}:${i.value.trimLeft()}\n`}));return p}function getCanonicalizedResourceString(d){const p=(0,K.getURLPath)(d.url)||"/";let v="";v+=`/${i.accountName}${p}`;const V=(0,K.getURLQueries)(d.url);const ee={};if(V){const i=[];for(const d in V){if(Object.prototype.hasOwnProperty.call(V,d)){const p=d.toLowerCase();ee[p]=V[d];i.push(p)}}i.sort();for(const d of i){v+=`\n${d}:${decodeURIComponent(ee[d])}`}}return v}return{name:d.storageSharedKeyCredentialPolicyName,async sendRequest(i,d){signRequest(i);return d(i)}}}},16576:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.compareHeader=compareHeader;const p=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1820,0,1823,1825,1827,1829,0,0,0,1837,2051,0,0,1843,0,3331,3354,3356,3358,3360,3362,3364,3366,3368,3370,0,0,0,0,0,0,0,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,0,0,1859,1860,1864,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,1868,0,1872,0]);const v=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);const V=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32786,0,0,0,0,0,33298,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function compareHeader(i,d){if(isLessThan(i,d))return-1;return 1}function isLessThan(i,d){const K=[p,v,V];let ee=0;let te=0;let re=0;while(eere}const p=te{Object.defineProperty(d,"__esModule",{value:true});d.PathStylePorts=d.DevelopmentConnectionString=d.HeaderConstants=d.URLConstants=d.SDK_VERSION=void 0;d.SDK_VERSION="1.0.0";d.URLConstants={Parameters:{FORCE_BROWSER_NO_CACHE:"_",SIGNATURE:"sig",SNAPSHOT:"snapshot",VERSIONID:"versionid",TIMEOUT:"timeout"}};d.HeaderConstants={AUTHORIZATION:"Authorization",AUTHORIZATION_SCHEME:"Bearer",CONTENT_ENCODING:"Content-Encoding",CONTENT_ID:"Content-ID",CONTENT_LANGUAGE:"Content-Language",CONTENT_LENGTH:"Content-Length",CONTENT_MD5:"Content-Md5",CONTENT_TRANSFER_ENCODING:"Content-Transfer-Encoding",CONTENT_TYPE:"Content-Type",COOKIE:"Cookie",DATE:"date",IF_MATCH:"if-match",IF_MODIFIED_SINCE:"if-modified-since",IF_NONE_MATCH:"if-none-match",IF_UNMODIFIED_SINCE:"if-unmodified-since",PREFIX_FOR_STORAGE:"x-ms-",RANGE:"Range",USER_AGENT:"User-Agent",X_MS_CLIENT_REQUEST_ID:"x-ms-client-request-id",X_MS_COPY_SOURCE:"x-ms-copy-source",X_MS_DATE:"x-ms-date",X_MS_ERROR_CODE:"x-ms-error-code",X_MS_VERSION:"x-ms-version",X_MS_CopySourceErrorCode:"x-ms-copy-source-error-code"};d.DevelopmentConnectionString=`DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;`;d.PathStylePorts=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"]},58218:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.escapeURLPath=escapeURLPath;d.getValueInConnString=getValueInConnString;d.extractConnectionStringParts=extractConnectionStringParts;d.appendToURLPath=appendToURLPath;d.setURLParameter=setURLParameter;d.getURLParameter=getURLParameter;d.setURLHost=setURLHost;d.getURLPath=getURLPath;d.getURLScheme=getURLScheme;d.getURLPathAndQuery=getURLPathAndQuery;d.getURLQueries=getURLQueries;d.appendToURLQuery=appendToURLQuery;d.truncatedISO8061Date=truncatedISO8061Date;d.base64encode=base64encode;d.base64decode=base64decode;d.generateBlockID=generateBlockID;d.delay=delay;d.padStart=padStart;d.sanitizeURL=sanitizeURL;d.sanitizeHeaders=sanitizeHeaders;d.iEqual=iEqual;d.getAccountNameFromUrl=getAccountNameFromUrl;d.isIpEndpointStyle=isIpEndpointStyle;d.attachCredential=attachCredential;d.httpAuthorizationToString=httpAuthorizationToString;d.EscapePath=EscapePath;d.assertResponse=assertResponse;const v=p(20778);const V=p(87779);const K=p(77925);function escapeURLPath(i){const d=new URL(i);let p=d.pathname;p=p||"/";p=escape(p);d.pathname=p;return d.toString()}function getProxyUriFromDevConnString(i){let d="";if(i.search("DevelopmentStorageProxyUri=")!==-1){const p=i.split(";");for(const i of p){if(i.trim().startsWith("DevelopmentStorageProxyUri=")){d=i.trim().match("DevelopmentStorageProxyUri=(.*)")[1]}}}return d}function getValueInConnString(i,d){const p=i.split(";");for(const i of p){if(i.trim().startsWith(d)){return i.trim().match(d+"=(.*)")[1]}}return""}function extractConnectionStringParts(i){let d="";if(i.startsWith("UseDevelopmentStorage=true")){d=getProxyUriFromDevConnString(i);i=K.DevelopmentConnectionString}let p=getValueInConnString(i,"BlobEndpoint");p=p.endsWith("/")?p.slice(0,-1):p;if(i.search("DefaultEndpointsProtocol=")!==-1&&i.search("AccountKey=")!==-1){let v="";let V="";let K=Buffer.from("accountKey","base64");let ee="";V=getValueInConnString(i,"AccountName");K=Buffer.from(getValueInConnString(i,"AccountKey"),"base64");if(!p){v=getValueInConnString(i,"DefaultEndpointsProtocol");const d=v.toLowerCase();if(d!=="https"&&d!=="http"){throw new Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'")}ee=getValueInConnString(i,"EndpointSuffix");if(!ee){throw new Error("Invalid EndpointSuffix in the provided Connection String")}p=`${v}://${V}.blob.${ee}`}if(!V){throw new Error("Invalid AccountName in the provided Connection String")}else if(K.length===0){throw new Error("Invalid AccountKey in the provided Connection String")}return{kind:"AccountConnString",url:p,accountName:V,accountKey:K,proxyUri:d}}else{let d=getValueInConnString(i,"SharedAccessSignature");let v=getValueInConnString(i,"AccountName");if(!v){v=getAccountNameFromUrl(p)}if(!p){throw new Error("Invalid BlobEndpoint in the provided SAS Connection String")}else if(!d){throw new Error("Invalid SharedAccessSignature in the provided SAS Connection String")}if(d.startsWith("?")){d=d.substring(1)}return{kind:"SASConnString",url:p,accountName:v,accountSas:d}}}function escape(i){return encodeURIComponent(i).replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%")}function appendToURLPath(i,d){const p=new URL(i);let v=p.pathname;v=v?v.endsWith("/")?`${v}${d}`:`${v}/${d}`:d;p.pathname=v;return p.toString()}function setURLParameter(i,d,p){const v=new URL(i);const V=encodeURIComponent(d);const K=p?encodeURIComponent(p):undefined;const ee=v.search===""?"?":v.search;const te=[];for(const i of ee.slice(1).split("&")){if(i){const[d]=i.split("=",2);if(d!==V){te.push(i)}}}if(K){te.push(`${V}=${K}`)}v.search=te.length?`?${te.join("&")}`:"";return v.toString()}function getURLParameter(i,d){const p=new URL(i);return p.searchParams.get(d)??undefined}function setURLHost(i,d){const p=new URL(i);p.hostname=d;return p.toString()}function getURLPath(i){try{const d=new URL(i);return d.pathname}catch(i){return undefined}}function getURLScheme(i){try{const d=new URL(i);return d.protocol.endsWith(":")?d.protocol.slice(0,-1):d.protocol}catch(i){return undefined}}function getURLPathAndQuery(i){const d=new URL(i);const p=d.pathname;if(!p){throw new RangeError("Invalid url without valid path.")}let v=d.search||"";v=v.trim();if(v!==""){v=v.startsWith("?")?v:`?${v}`}return`${p}${v}`}function getURLQueries(i){let d=new URL(i).search;if(!d){return{}}d=d.trim();d=d.startsWith("?")?d.substring(1):d;let p=d.split("&");p=p.filter((i=>{const d=i.indexOf("=");const p=i.lastIndexOf("=");return d>0&&d===p&&pV){i=i.slice(0,V)}const K=i+padStart(d.toString(),p-i.length,"0");return base64encode(K)}async function delay(i,d,p){return new Promise(((v,V)=>{let K;const abortHandler=()=>{if(K!==undefined){clearTimeout(K)}V(p)};const resolveHandler=()=>{if(d!==undefined){d.removeEventListener("abort",abortHandler)}v()};K=setTimeout(resolveHandler,i);if(d!==undefined){d.addEventListener("abort",abortHandler)}}))}function padStart(i,d,p=" "){if(String.prototype.padStart){return i.padStart(d,p)}p=p||" ";if(i.length>d){return i}else{d=d-i.length;if(d>p.length){p+=p.repeat(d/p.length)}return p.slice(0,d)+i}}function sanitizeURL(i){let d=i;if(getURLParameter(d,K.URLConstants.Parameters.SIGNATURE)){d=setURLParameter(d,K.URLConstants.Parameters.SIGNATURE,"*****")}return d}function sanitizeHeaders(i){const d=(0,v.createHttpHeaders)();for(const[p,v]of i){if(p.toLowerCase()===K.HeaderConstants.AUTHORIZATION.toLowerCase()){d.set(p,"*****")}else if(p.toLowerCase()===K.HeaderConstants.X_MS_COPY_SOURCE){d.set(p,sanitizeURL(v))}else{d.set(p,v)}}return d}function iEqual(i,d){return i.toLocaleLowerCase()===d.toLocaleLowerCase()}function getAccountNameFromUrl(i){const d=new URL(i);let p;try{if(d.hostname.split(".")[1]==="blob"){p=d.hostname.split(".")[0]}else if(isIpEndpointStyle(d)){p=d.pathname.split("/")[1]}else{p=""}return p}catch(i){throw new Error("Unable to extract accountName with provided information.")}}function isIpEndpointStyle(i){const d=i.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(d)||Boolean(i.port)&&K.PathStylePorts.includes(i.port)}function attachCredential(i,d){i.credential=d;return i}function httpAuthorizationToString(i){return i?i.scheme+" "+i.value:undefined}function EscapePath(i){const d=i.split("/");for(let i=0;i{Object.defineProperty(d,"__esModule",{value:true});d.jwtDecode=d.InvalidTokenError=void 0;class InvalidTokenError extends Error{}d.InvalidTokenError=InvalidTokenError;InvalidTokenError.prototype.name="InvalidTokenError";function b64DecodeUnicode(i){return decodeURIComponent(atob(i).replace(/(.)/g,((i,d)=>{let p=d.charCodeAt(0).toString(16).toUpperCase();if(p.length<2){p="0"+p}return"%"+p})))}function base64UrlDecode(i){let d=i.replace(/-/g,"+").replace(/_/g,"/");switch(d.length%4){case 0:break;case 2:d+="==";break;case 3:d+="=";break;default:throw new Error("base64 string is not of the correct length")}try{return b64DecodeUnicode(d)}catch(i){return atob(d)}}function jwtDecode(i,d){if(typeof i!=="string"){throw new InvalidTokenError("Invalid token specified: must be a string")}d||(d={});const p=d.header===true?0:1;const v=i.split(".")[p];if(typeof v!=="string"){throw new InvalidTokenError(`Invalid token specified: missing part #${p+1}`)}let V;try{V=base64UrlDecode(v)}catch(i){throw new InvalidTokenError(`Invalid token specified: invalid base64 for part #${p+1} (${i.message})`)}try{return JSON.parse(V)}catch(i){throw new InvalidTokenError(`Invalid token specified: invalid json for part #${p+1} (${i.message})`)}}d.jwtDecode=jwtDecode},99992:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.AbortError=void 0;class AbortError extends Error{constructor(i){super(i);this.name="AbortError"}}d.AbortError=AbortError},36227:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.isOAuth2TokenCredential=isOAuth2TokenCredential;d.isBearerTokenCredential=isBearerTokenCredential;d.isBasicCredential=isBasicCredential;d.isApiKeyCredential=isApiKeyCredential;function isOAuth2TokenCredential(i){return"getOAuth2Token"in i}function isBearerTokenCredential(i){return"getBearerToken"in i}function isBasicCredential(i){return"username"in i&&"password"in i}function isApiKeyCredential(i){return"key"in i}},43097:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true})},92097:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true})},71408:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.apiVersionPolicyName=void 0;d.apiVersionPolicy=apiVersionPolicy;d.apiVersionPolicyName="ApiVersionPolicy";function apiVersionPolicy(i){return{name:d.apiVersionPolicyName,sendRequest:(d,p)=>{const v=new URL(d.url);if(!v.searchParams.get("api-version")&&i.apiVersion){d.url=`${d.url}${Array.from(v.searchParams.keys()).length>0?"&":"?"}api-version=${i.apiVersion}`}return p(d)}}}},88728:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createDefaultPipeline=createDefaultPipeline;d.getCachedDefaultHttpsClient=getCachedDefaultHttpsClient;const v=p(69468);const V=p(91810);const K=p(71408);const ee=p(36227);const te=p(42095);const re=p(15756);const ne=p(89709);const se=p(20219);let ie;function createDefaultPipeline(i={}){const d=(0,V.createPipelineFromOptions)(i);d.addPolicy((0,K.apiVersionPolicy)(i));const{credential:p,authSchemes:v,allowInsecureConnection:ie}=i;if(p){if((0,ee.isApiKeyCredential)(p)){d.addPolicy((0,te.apiKeyAuthenticationPolicy)({authSchemes:v,credential:p,allowInsecureConnection:ie}))}else if((0,ee.isBasicCredential)(p)){d.addPolicy((0,re.basicAuthenticationPolicy)({authSchemes:v,credential:p,allowInsecureConnection:ie}))}else if((0,ee.isBearerTokenCredential)(p)){d.addPolicy((0,ne.bearerAuthenticationPolicy)({authSchemes:v,credential:p,allowInsecureConnection:ie}))}else if((0,ee.isOAuth2TokenCredential)(p)){d.addPolicy((0,se.oauth2AuthenticationPolicy)({authSchemes:v,credential:p,allowInsecureConnection:ie}))}}return d}function getCachedDefaultHttpsClient(){if(!ie){ie=(0,v.createDefaultHttpClient)()}return ie}},86191:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getClient=getClient;const v=p(88728);const V=p(16311);const K=p(37088);const ee=p(85086);function getClient(i,d={}){const p=d.pipeline??(0,v.createDefaultPipeline)(d);if(d.additionalPolicies?.length){for(const{policy:i,position:v}of d.additionalPolicies){const d=v==="perRetry"?"Sign":undefined;p.addPolicy(i,{afterPhase:d})}}const{allowInsecureConnection:V,httpClient:ee}=d;const te=d.endpoint??i;const client=(i,...d)=>{const getUrl=p=>(0,K.buildRequestUrl)(te,i,d,{allowInsecureConnection:V,...p});return{get:(i={})=>buildOperation("GET",getUrl(i),p,i,V,ee),post:(i={})=>buildOperation("POST",getUrl(i),p,i,V,ee),put:(i={})=>buildOperation("PUT",getUrl(i),p,i,V,ee),patch:(i={})=>buildOperation("PATCH",getUrl(i),p,i,V,ee),delete:(i={})=>buildOperation("DELETE",getUrl(i),p,i,V,ee),head:(i={})=>buildOperation("HEAD",getUrl(i),p,i,V,ee),options:(i={})=>buildOperation("OPTIONS",getUrl(i),p,i,V,ee),trace:(i={})=>buildOperation("TRACE",getUrl(i),p,i,V,ee)}};return{path:client,pathUnchecked:client,pipeline:p}}function buildOperation(i,d,p,v,K,te){K=v.allowInsecureConnection??K;return{then:function(ee,re){return(0,V.sendRequest)(i,d,p,{...v,allowInsecureConnection:K},te).then(ee,re)},async asBrowserStream(){if(ee.isNodeLike){throw new Error("`asBrowserStream` is supported only in the browser environment. Use `asNodeStream` instead to obtain the response body stream. If you require a Web stream of the response in Node, consider using `Readable.toWeb` on the result of `asNodeStream`.")}else{return(0,V.sendRequest)(i,d,p,{...v,allowInsecureConnection:K,responseAsStream:true},te)}},async asNodeStream(){if(ee.isNodeLike){return(0,V.sendRequest)(i,d,p,{...v,allowInsecureConnection:K,responseAsStream:true},te)}else{throw new Error("`isNodeStream` is not supported in the browser environment. Use `asBrowserStream` to obtain the response body stream.")}}}}},18240:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.buildBodyPart=buildBodyPart;d.buildMultipartBody=buildMultipartBody;const v=p(9758);const V=p(4220);const K=p(82921);const ee=p(48505);function getHeaderValue(i,d){if(i.headers){const p=Object.keys(i.headers).find((i=>i.toLowerCase()===d.toLowerCase()));if(p){return i.headers[p]}}return undefined}function getPartContentType(i){const d=getHeaderValue(i,"content-type");if(d){return d}if(i.contentType===null){return undefined}if(i.contentType){return i.contentType}const{body:p}=i;if(p===null||p===undefined){return undefined}if(typeof p==="string"||typeof p==="number"||typeof p==="boolean"){return"text/plain; charset=UTF-8"}if(p instanceof Blob){return p.type||"application/octet-stream"}if((0,ee.isBinaryBody)(p)){return"application/octet-stream"}return"application/json"}function escapeDispositionField(i){return JSON.stringify(i)}function getContentDisposition(i){const d=getHeaderValue(i,"content-disposition");if(d){return d}if(i.dispositionType===undefined&&i.name===undefined&&i.filename===undefined){return undefined}const p=i.dispositionType??"form-data";let v=p;if(i.name){v+=`; name=${escapeDispositionField(i.name)}`}let V=undefined;if(i.filename){V=i.filename}else if(typeof File!=="undefined"&&i.body instanceof File){const d=i.body.name;if(d!==""){V=d}}if(V){v+=`; filename=${escapeDispositionField(V)}`}return v}function normalizeBody(i,d){if(i===undefined){return new Uint8Array([])}if((0,ee.isBinaryBody)(i)){return i}if(typeof i==="string"||typeof i==="number"||typeof i==="boolean"){return(0,K.stringToUint8Array)(String(i),"utf-8")}if(d&&/application\/(.+\+)?json(;.+)?/i.test(String(d))){return(0,K.stringToUint8Array)(JSON.stringify(i),"utf-8")}throw new v.RestError(`Unsupported body/content-type combination: ${i}, ${d}`)}function buildBodyPart(i){const d=getPartContentType(i);const p=getContentDisposition(i);const v=(0,V.createHttpHeaders)(i.headers??{});if(d){v.set("content-type",d)}if(p){v.set("content-disposition",p)}const K=normalizeBody(i.body,d);return{headers:v,body:K}}function buildMultipartBody(i){return{parts:i.map(buildBodyPart)}}},19635:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.operationOptionsToRequestParameters=operationOptionsToRequestParameters;function operationOptionsToRequestParameters(i){return{allowInsecureConnection:i.requestOptions?.allowInsecureConnection,timeout:i.requestOptions?.timeout,skipUrlEncoding:i.requestOptions?.skipUrlEncoding,abortSignal:i.abortSignal,onUploadProgress:i.requestOptions?.onUploadProgress,onDownloadProgress:i.requestOptions?.onDownloadProgress,headers:{...i.requestOptions?.headers},onResponse:i.onResponse}}},97332:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createRestError=createRestError;const v=p(9758);const V=p(4220);function createRestError(i,d){const p=typeof i==="string"?d:i;const V=p.body?.error??p.body;const K=typeof i==="string"?i:V?.message??`Unexpected status code: ${p.status}`;return new v.RestError(K,{statusCode:statusCodeToNumber(p.status),code:V?.code,request:p.request,response:toPipelineResponse(p)})}function toPipelineResponse(i){return{headers:(0,V.createHttpHeaders)(i.headers),request:i.request,status:statusCodeToNumber(i.status)??-1}}function statusCodeToNumber(i){const d=Number.parseInt(i);return Number.isNaN(d)?undefined:d}},16311:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.sendRequest=sendRequest;const v=p(9758);const V=p(4220);const K=p(72305);const ee=p(88728);const te=p(48505);const re=p(18240);async function sendRequest(i,d,p,V={},K){const te=K??(0,ee.getCachedDefaultHttpsClient)();const re=buildPipelineRequest(i,d,V);try{const i=await p.sendRequest(te,re);const d=i.headers.toJSON();const v=i.readableStreamBody??i.browserStreamBody;const K=V.responseAsStream||v!==undefined?undefined:getResponseBody(i);const ee=v??K;if(V?.onResponse){V.onResponse({...i,request:re,rawHeaders:d,parsedBody:K})}return{request:re,headers:d,status:`${i.status}`,body:ee}}catch(i){if((0,v.isRestError)(i)&&i.response&&V.onResponse){const{response:d}=i;const p=d.headers.toJSON();V?.onResponse({...d,request:re,rawHeaders:p},i)}throw i}}function getRequestContentType(i={}){return i.contentType??i.headers?.["content-type"]??getContentType(i.body)}function getContentType(i){if(ArrayBuffer.isView(i)){return"application/octet-stream"}if(typeof i==="string"){try{JSON.parse(i);return"application/json"}catch(i){return undefined}}return"application/json"}function buildPipelineRequest(i,d,p={}){const v=getRequestContentType(p);const{body:ee,multipartBody:te}=getRequestBody(p.body,v);const re=ee!==undefined||te!==undefined;const ne=(0,V.createHttpHeaders)({...p.headers?p.headers:{},accept:p.accept??p.headers?.accept??"application/json",...re&&v&&{"content-type":v}});return(0,K.createPipelineRequest)({url:d,method:i,body:ee,multipartBody:te,headers:ne,allowInsecureConnection:p.allowInsecureConnection,abortSignal:p.abortSignal,onUploadProgress:p.onUploadProgress,onDownloadProgress:p.onDownloadProgress,timeout:p.timeout,enableBrowserStreams:true,streamResponseStatusCodes:p.responseAsStream?new Set([Number.POSITIVE_INFINITY]):undefined})}function getRequestBody(i,d=""){if(i===undefined){return{body:undefined}}if(typeof FormData!=="undefined"&&i instanceof FormData){return{body:i}}if((0,te.isReadableStream)(i)){return{body:i}}if(ArrayBuffer.isView(i)){return{body:i instanceof Uint8Array?i:JSON.stringify(i)}}const p=d.split(";")[0];switch(p){case"application/json":return{body:JSON.stringify(i)};case"multipart/form-data":if(Array.isArray(i)){return{multipartBody:(0,re.buildMultipartBody)(i)}}return{body:JSON.stringify(i)};case"text/plain":return{body:String(i)};default:if(typeof i==="string"){return{body:i}}return{body:JSON.stringify(i)}}}function getResponseBody(i){const d=i.headers.get("content-type")??"";const p=d.split(";")[0];const v=i.bodyAsText??"";if(p==="text/plain"){return String(v)}try{return v?JSON.parse(v):undefined}catch(d){if(p==="application/json"){throw createParseError(i,d)}return String(v)}}function createParseError(i,d){const p=`Error "${d}" occurred while parsing the response body - ${i.bodyAsText}.`;const V=d.code??v.RestError.PARSE_ERROR;return new v.RestError(p,{code:V,statusCode:i.status,request:i.request,response:i})}},37088:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.buildRequestUrl=buildRequestUrl;d.buildBaseUrl=buildBaseUrl;d.replaceAll=replaceAll;function isQueryParameterWithOptions(i){const d=i.value;return d!==undefined&&d.toString!==undefined&&typeof d.toString==="function"}function buildRequestUrl(i,d,p,v={}){if(d.startsWith("https://")||d.startsWith("http://")){return d}i=buildBaseUrl(i,v);d=buildRoutePath(d,p,v);const V=appendQueryParams(`${i}/${d}`,v);const K=new URL(V);return K.toString().replace(/([^:]\/)\/+/g,"$1")}function getQueryParamValue(i,d,p,v){let V;if(p==="pipeDelimited"){V="|"}else if(p==="spaceDelimited"){V="%20"}else{V=","}let K;if(Array.isArray(v)){K=v}else if(typeof v==="object"&&v.toString===Object.prototype.toString){K=Object.entries(v).flat()}else{K=[v]}const ee=K.map((p=>{if(p===null||p===undefined){return""}if(!p.toString||typeof p.toString!=="function"){throw new Error(`Query parameters must be able to be represented as string, ${i} can't`)}const v=p.toISOString!==undefined?p.toISOString():p.toString();return d?v:encodeURIComponent(v)})).join(V);return`${d?i:encodeURIComponent(i)}=${ee}`}function appendQueryParams(i,d={}){if(!d.queryParameters){return i}const p=new URL(i);const v=d.queryParameters;const V=[];for(const i of Object.keys(v)){const p=v[i];if(p===undefined||p===null){continue}const K=isQueryParameterWithOptions(p);const ee=K?p.value:p;const te=K?p.explode??false:false;const re=K&&p.style?p.style:"form";if(te){if(Array.isArray(ee)){for(const p of ee){V.push(getQueryParamValue(i,d.skipUrlEncoding??false,re,p))}}else if(typeof ee==="object"){for(const[i,p]of Object.entries(ee)){V.push(getQueryParamValue(i,d.skipUrlEncoding??false,re,p))}}else{throw new Error("explode can only be set to true for objects and arrays")}}else{V.push(getQueryParamValue(i,d.skipUrlEncoding??false,re,ee))}}if(p.search!==""){p.search+="&"}p.search+=V.join("&");return p.toString()}function buildBaseUrl(i,d){if(!d.pathParameters){return i}const p=d.pathParameters;for(const[v,V]of Object.entries(p)){if(V===undefined||V===null){throw new Error(`Path parameters ${v} must not be undefined or null`)}if(!V.toString||typeof V.toString!=="function"){throw new Error(`Path parameters must be able to be represented as string, ${v} can't`)}let p=V.toISOString!==undefined?V.toISOString():String(V);if(!d.skipUrlEncoding){p=encodeURIComponent(V)}i=replaceAll(i,`{${v}}`,p)??""}return i}function buildRoutePath(i,d,p={}){for(const v of d){const d=typeof v==="object"&&(v.allowReserved??false);let V=typeof v==="object"?v.value:v;if(!p.skipUrlEncoding&&!d){V=encodeURIComponent(V)}i=i.replace(/\{[\w-]+\}/,String(V))}return i}function replaceAll(i,d,p){return!i||!d?i:i.split(d).join(p||"")}},31255:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.DEFAULT_RETRY_POLICY_COUNT=d.SDK_VERSION=void 0;d.SDK_VERSION="0.3.2";d.DEFAULT_RETRY_POLICY_COUNT=3},91810:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createPipelineFromOptions=createPipelineFromOptions;const v=p(47129);const V=p(22338);const K=p(92187);const ee=p(91691);const te=p(35035);const re=p(32462);const ne=p(14197);const se=p(85086);const ie=p(80067);const oe=p(85366);const ae=p(96690);const Ae=p(27427);function createPipelineFromOptions(i){const d=(0,V.createEmptyPipeline)();if(se.isNodeLike){if(i.agent){d.addPolicy((0,oe.agentPolicy)(i.agent))}if(i.tlsOptions){d.addPolicy((0,ae.tlsPolicy)(i.tlsOptions))}d.addPolicy((0,ie.proxyPolicy)(i.proxyOptions));d.addPolicy((0,te.decompressResponsePolicy)())}d.addPolicy((0,ne.formDataPolicy)(),{beforePolicies:[Ae.multipartPolicyName]});d.addPolicy((0,ee.userAgentPolicy)(i.userAgentOptions));d.addPolicy((0,Ae.multipartPolicy)(),{afterPhase:"Deserialize"});d.addPolicy((0,re.defaultRetryPolicy)(i.retryOptions),{phase:"Retry"});if(se.isNodeLike){d.addPolicy((0,K.redirectPolicy)(i.redirectOptions),{afterPhase:"Retry"})}d.addPolicy((0,v.logPolicy)(i.loggingOptions),{afterPhase:"Sign"});return d}},69468:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createDefaultHttpClient=createDefaultHttpClient;const v=p(21167);function createDefaultHttpClient(){return(0,v.createNodeHttpClient)()}},4220:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.createHttpHeaders=createHttpHeaders;function normalizeName(i){return i.toLowerCase()}function*headerIterator(i){for(const d of i.values()){yield[d.name,d.value]}}class HttpHeadersImpl{_headersMap;constructor(i){this._headersMap=new Map;if(i){for(const d of Object.keys(i)){this.set(d,i[d])}}}set(i,d){this._headersMap.set(normalizeName(i),{name:i,value:String(d).trim()})}get(i){return this._headersMap.get(normalizeName(i))?.value}has(i){return this._headersMap.has(normalizeName(i))}delete(i){this._headersMap.delete(normalizeName(i))}toJSON(i={}){const d={};if(i.preserveCase){for(const i of this._headersMap.values()){d[i.name]=i.value}}else{for(const[i,p]of this._headersMap){d[i]=p.value}}return d}toString(){return JSON.stringify(this.toJSON({preserveCase:true}))}[Symbol.iterator](){return headerIterator(this._headersMap)}}function createHttpHeaders(i){return new HttpHeadersImpl(i)}},41958:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createRestError=d.operationOptionsToRequestParameters=d.getClient=d.createDefaultHttpClient=d.uint8ArrayToString=d.stringToUint8Array=d.isRestError=d.RestError=d.createEmptyPipeline=d.createPipelineRequest=d.createHttpHeaders=d.TypeSpecRuntimeLogger=d.setLogLevel=d.getLogLevel=d.createClientLogger=d.AbortError=void 0;const v=p(61860);var V=p(99992);Object.defineProperty(d,"AbortError",{enumerable:true,get:function(){return V.AbortError}});var K=p(18459);Object.defineProperty(d,"createClientLogger",{enumerable:true,get:function(){return K.createClientLogger}});Object.defineProperty(d,"getLogLevel",{enumerable:true,get:function(){return K.getLogLevel}});Object.defineProperty(d,"setLogLevel",{enumerable:true,get:function(){return K.setLogLevel}});Object.defineProperty(d,"TypeSpecRuntimeLogger",{enumerable:true,get:function(){return K.TypeSpecRuntimeLogger}});var ee=p(4220);Object.defineProperty(d,"createHttpHeaders",{enumerable:true,get:function(){return ee.createHttpHeaders}});v.__exportStar(p(92097),d);v.__exportStar(p(43097),d);var te=p(72305);Object.defineProperty(d,"createPipelineRequest",{enumerable:true,get:function(){return te.createPipelineRequest}});var re=p(22338);Object.defineProperty(d,"createEmptyPipeline",{enumerable:true,get:function(){return re.createEmptyPipeline}});var ne=p(9758);Object.defineProperty(d,"RestError",{enumerable:true,get:function(){return ne.RestError}});Object.defineProperty(d,"isRestError",{enumerable:true,get:function(){return ne.isRestError}});var se=p(82921);Object.defineProperty(d,"stringToUint8Array",{enumerable:true,get:function(){return se.stringToUint8Array}});Object.defineProperty(d,"uint8ArrayToString",{enumerable:true,get:function(){return se.uint8ArrayToString}});var ie=p(69468);Object.defineProperty(d,"createDefaultHttpClient",{enumerable:true,get:function(){return ie.createDefaultHttpClient}});var oe=p(86191);Object.defineProperty(d,"getClient",{enumerable:true,get:function(){return oe.getClient}});var ae=p(19635);Object.defineProperty(d,"operationOptionsToRequestParameters",{enumerable:true,get:function(){return ae.operationOptionsToRequestParameters}});var Ae=p(97332);Object.defineProperty(d,"createRestError",{enumerable:true,get:function(){return Ae.createRestError}})},3644:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.logger=void 0;const v=p(18459);d.logger=(0,v.createClientLogger)("ts-http-runtime")},36836:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});const v=p(38029);const V=typeof process!=="undefined"&&process.env&&process.env.DEBUG||undefined;let K;let ee=[];let te=[];const re=[];if(V){enable(V)}const ne=Object.assign((i=>createDebugger(i)),{enable:enable,enabled:enabled,disable:disable,log:v.log});function enable(i){K=i;ee=[];te=[];const d=i.split(",").map((i=>i.trim()));for(const i of d){if(i.startsWith("-")){te.push(i.substring(1))}else{ee.push(i)}}for(const i of re){i.enabled=enabled(i.namespace)}}function enabled(i){if(i.endsWith("*")){return true}for(const d of te){if(namespaceMatches(i,d)){return false}}for(const d of ee){if(namespaceMatches(i,d)){return true}}return false}function namespaceMatches(i,d){if(d.indexOf("*")===-1){return i===d}let p=d;if(d.indexOf("**")!==-1){const i=[];let v="";for(const p of d){if(p==="*"&&v==="*"){continue}else{v=p;i.push(p)}}p=i.join("")}let v=0;let V=0;const K=p.length;const ee=i.length;let te=-1;let re=-1;while(v=0){V=te+1;v=re+1;if(v===ee){return false}while(i[v]!==p[V]){v++;if(v===ee){return false}}re=v;v++;V++;continue}else{return false}}const ne=v===i.length;const se=V===p.length;const ie=V===p.length-1&&p[V]==="*";return ne&&(se||ie)}function disable(){const i=K||"";enable("");return i}function createDebugger(i){const d=Object.assign(debug,{enabled:enabled(i),destroy:destroy,log:ne.log,namespace:i,extend:extend});function debug(...p){if(!d.enabled){return}if(p.length>0){p[0]=`${i} ${p[0]}`}d.log(...p)}re.push(d);return d}function destroy(){const i=re.indexOf(this);if(i>=0){re.splice(i,1);return true}return false}function extend(i){const d=createDebugger(`${this.namespace}:${i}`);d.log=this.log;return d}d["default"]=ne},82490:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createLoggerContext=void 0;var v=p(18459);Object.defineProperty(d,"createLoggerContext",{enumerable:true,get:function(){return v.createLoggerContext}})},38029:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.log=log;const v=p(61860);const V=p(48161);const K=v.__importDefault(p(57975));const ee=v.__importDefault(p(1708));function log(i,...d){ee.default.stderr.write(`${K.default.format(i,...d)}${V.EOL}`)}},18459:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.TypeSpecRuntimeLogger=void 0;d.createLoggerContext=createLoggerContext;d.setLogLevel=setLogLevel;d.getLogLevel=getLogLevel;d.createClientLogger=createClientLogger;const v=p(61860);const V=v.__importDefault(p(36836));const K=["verbose","info","warning","error"];const ee={verbose:400,info:300,warning:200,error:100};function patchLogMethod(i,d){d.log=(...d)=>{i.log(...d)}}function isTypeSpecRuntimeLogLevel(i){return K.includes(i)}function createLoggerContext(i){const d=new Set;const p=typeof process!=="undefined"&&process.env&&process.env[i.logLevelEnvVarName]||undefined;let v;const te=(0,V.default)(i.namespace);te.log=(...i)=>{V.default.log(...i)};function contextSetLogLevel(i){if(i&&!isTypeSpecRuntimeLogLevel(i)){throw new Error(`Unknown log level '${i}'. Acceptable values: ${K.join(",")}`)}v=i;const p=[];for(const i of d){if(shouldEnable(i)){p.push(i.namespace)}}V.default.enable(p.join(","))}if(p){if(isTypeSpecRuntimeLogLevel(p)){contextSetLogLevel(p)}else{console.error(`${i.logLevelEnvVarName} set to unknown log level '${p}'; logging is not enabled. Acceptable values: ${K.join(", ")}.`)}}function shouldEnable(i){return Boolean(v&&ee[i.level]<=ee[v])}function createLogger(i,p){const v=Object.assign(i.extend(p),{level:p});patchLogMethod(i,v);if(shouldEnable(v)){const i=V.default.disable();V.default.enable(i+","+v.namespace)}d.add(v);return v}function contextGetLogLevel(){return v}function contextCreateClientLogger(i){const d=te.extend(i);patchLogMethod(te,d);return{error:createLogger(d,"error"),warning:createLogger(d,"warning"),info:createLogger(d,"info"),verbose:createLogger(d,"verbose")}}return{setLogLevel:contextSetLogLevel,getLogLevel:contextGetLogLevel,createClientLogger:contextCreateClientLogger,logger:te}}const te=createLoggerContext({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"});d.TypeSpecRuntimeLogger=te.logger;function setLogLevel(i){te.setLogLevel(i)}function getLogLevel(){return te.getLogLevel()}function createClientLogger(i){return te.createClientLogger(i)}},21167:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getBodyLength=getBodyLength;d.createNodeHttpClient=createNodeHttpClient;const v=p(61860);const V=v.__importDefault(p(37067));const K=v.__importDefault(p(44708));const ee=v.__importDefault(p(38522));const te=p(57075);const re=p(99992);const ne=p(4220);const se=p(9758);const ie=p(3644);const oe=p(7784);const ae={};function isReadableStream(i){return i&&typeof i.pipe==="function"}function isStreamComplete(i){if(i.readable===false){return Promise.resolve()}return new Promise((d=>{const handler=()=>{d();i.removeListener("close",handler);i.removeListener("end",handler);i.removeListener("error",handler)};i.on("close",handler);i.on("end",handler);i.on("error",handler)}))}function isArrayBuffer(i){return i&&typeof i.byteLength==="number"}class ReportTransform extends te.Transform{loadedBytes=0;progressCallback;_transform(i,d,p){this.push(i);this.loadedBytes+=i.length;try{this.progressCallback({loadedBytes:this.loadedBytes});p()}catch(i){p(i)}}constructor(i){super();this.progressCallback=i}}class NodeHttpClient{cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(i){const d=new AbortController;let p;if(i.abortSignal){if(i.abortSignal.aborted){throw new re.AbortError("The operation was aborted. Request has already been canceled.")}p=i=>{if(i.type==="abort"){d.abort()}};i.abortSignal.addEventListener("abort",p)}let v;if(i.timeout>0){v=setTimeout((()=>{const p=new oe.Sanitizer;ie.logger.info(`request to '${p.sanitizeUrl(i.url)}' timed out. canceling...`);d.abort()}),i.timeout)}const V=i.headers.get("Accept-Encoding");const K=V?.includes("gzip")||V?.includes("deflate");let ee=typeof i.body==="function"?i.body():i.body;if(ee&&!i.headers.has("Content-Length")){const d=getBodyLength(ee);if(d!==null){i.headers.set("Content-Length",d)}}let te;try{if(ee&&i.onUploadProgress){const d=i.onUploadProgress;const p=new ReportTransform(d);p.on("error",(i=>{ie.logger.error("Error in upload progress",i)}));if(isReadableStream(ee)){ee.pipe(p)}else{p.end(ee)}ee=p}const p=await this.makeRequest(i,d,ee);if(v!==undefined){clearTimeout(v)}const V=getResponseHeaders(p);const re=p.statusCode??0;const ne={status:re,headers:V,request:i};if(i.method==="HEAD"){p.resume();return ne}te=K?getDecodedResponseStream(p,V):p;const se=i.onDownloadProgress;if(se){const i=new ReportTransform(se);i.on("error",(i=>{ie.logger.error("Error in download progress",i)}));te.pipe(i);te=i}if(i.streamResponseStatusCodes?.has(Number.POSITIVE_INFINITY)||i.streamResponseStatusCodes?.has(ne.status)){ne.readableStreamBody=te}else{ne.bodyAsText=await streamToText(te)}return ne}finally{if(i.abortSignal&&p){let d=Promise.resolve();if(isReadableStream(ee)){d=isStreamComplete(ee)}let v=Promise.resolve();if(isReadableStream(te)){v=isStreamComplete(te)}Promise.all([d,v]).then((()=>{if(p){i.abortSignal?.removeEventListener("abort",p)}})).catch((i=>{ie.logger.warning("Error when cleaning up abortListener on httpRequest",i)}))}}}makeRequest(i,d,p){const v=new URL(i.url);const ee=v.protocol!=="https:";if(ee&&!i.allowInsecureConnection){throw new Error(`Cannot connect to ${i.url} while allowInsecureConnection is false.`)}const te=i.agent??this.getOrCreateAgent(i,ee);const ne={agent:te,hostname:v.hostname,path:`${v.pathname}${v.search}`,port:v.port,method:i.method,headers:i.headers.toJSON({preserveCase:true}),...i.requestOverrides};return new Promise(((v,te)=>{const oe=ee?V.default.request(ne,v):K.default.request(ne,v);oe.once("error",(d=>{te(new se.RestError(d.message,{code:d.code??se.RestError.REQUEST_SEND_ERROR,request:i}))}));d.signal.addEventListener("abort",(()=>{const i=new re.AbortError("The operation was aborted. Rejecting from abort signal callback while making request.");oe.destroy(i);te(i)}));if(p&&isReadableStream(p)){p.pipe(oe)}else if(p){if(typeof p==="string"||Buffer.isBuffer(p)){oe.end(p)}else if(isArrayBuffer(p)){oe.end(ArrayBuffer.isView(p)?Buffer.from(p.buffer):Buffer.from(p))}else{ie.logger.error("Unrecognized body type",p);te(new se.RestError("Unrecognized body type"))}}else{oe.end()}}))}getOrCreateAgent(i,d){const p=i.disableKeepAlive;if(d){if(p){return V.default.globalAgent}if(!this.cachedHttpAgent){this.cachedHttpAgent=new V.default.Agent({keepAlive:true})}return this.cachedHttpAgent}else{if(p&&!i.tlsSettings){return K.default.globalAgent}const d=i.tlsSettings??ae;let v=this.cachedHttpsAgents.get(d);if(v&&v.options.keepAlive===!p){return v}ie.logger.info("No cached TLS Agent exist, creating a new Agent");v=new K.default.Agent({keepAlive:!p,...d});this.cachedHttpsAgents.set(d,v);return v}}}function getResponseHeaders(i){const d=(0,ne.createHttpHeaders)();for(const p of Object.keys(i.headers)){const v=i.headers[p];if(Array.isArray(v)){if(v.length>0){d.set(p,v[0])}}else if(v){d.set(p,v)}}return d}function getDecodedResponseStream(i,d){const p=d.get("Content-Encoding");if(p==="gzip"){const d=ee.default.createGunzip();i.pipe(d);return d}else if(p==="deflate"){const d=ee.default.createInflate();i.pipe(d);return d}return i}function streamToText(i){return new Promise(((d,p)=>{const v=[];i.on("data",(i=>{if(Buffer.isBuffer(i)){v.push(i)}else{v.push(Buffer.from(i))}}));i.on("end",(()=>{d(Buffer.concat(v).toString("utf8"))}));i.on("error",(i=>{if(i&&i?.name==="AbortError"){p(i)}else{p(new se.RestError(`Error reading response as text: ${i.message}`,{code:se.RestError.PARSE_ERROR}))}}))}))}function getBodyLength(i){if(!i){return 0}else if(Buffer.isBuffer(i)){return i.length}else if(isReadableStream(i)){return null}else if(isArrayBuffer(i)){return i.byteLength}else if(typeof i==="string"){return Buffer.from(i).length}else{return null}}function createNodeHttpClient(){return new NodeHttpClient}},22338:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.createEmptyPipeline=createEmptyPipeline;const p=new Set(["Deserialize","Serialize","Retry","Sign"]);class HttpPipeline{_policies=[];_orderedPolicies;constructor(i){this._policies=i?.slice(0)??[];this._orderedPolicies=undefined}addPolicy(i,d={}){if(d.phase&&d.afterPhase){throw new Error("Policies inside a phase cannot specify afterPhase.")}if(d.phase&&!p.has(d.phase)){throw new Error(`Invalid phase name: ${d.phase}`)}if(d.afterPhase&&!p.has(d.afterPhase)){throw new Error(`Invalid afterPhase name: ${d.afterPhase}`)}this._policies.push({policy:i,options:d});this._orderedPolicies=undefined}removePolicy(i){const d=[];this._policies=this._policies.filter((p=>{if(i.name&&p.policy.name===i.name||i.phase&&p.options.phase===i.phase){d.push(p.policy);return false}else{return true}}));this._orderedPolicies=undefined;return d}sendRequest(i,d){const p=this.getOrderedPolicies();const v=p.reduceRight(((i,d)=>p=>d.sendRequest(p,i)),(d=>i.sendRequest(d)));return v(d)}getOrderedPolicies(){if(!this._orderedPolicies){this._orderedPolicies=this.orderPolicies()}return this._orderedPolicies}clone(){return new HttpPipeline(this._policies)}static create(){return new HttpPipeline}orderPolicies(){const i=[];const d=new Map;function createPhase(i){return{name:i,policies:new Set,hasRun:false,hasAfterPolicies:false}}const p=createPhase("Serialize");const v=createPhase("None");const V=createPhase("Deserialize");const K=createPhase("Retry");const ee=createPhase("Sign");const te=[p,v,V,K,ee];function getPhase(i){if(i==="Retry"){return K}else if(i==="Serialize"){return p}else if(i==="Deserialize"){return V}else if(i==="Sign"){return ee}else{return v}}for(const i of this._policies){const p=i.policy;const v=i.options;const V=p.name;if(d.has(V)){throw new Error("Duplicate policy names not allowed in pipeline")}const K={policy:p,dependsOn:new Set,dependants:new Set};if(v.afterPhase){K.afterPhase=getPhase(v.afterPhase);K.afterPhase.hasAfterPolicies=true}d.set(V,K);const ee=getPhase(v.phase);ee.policies.add(K)}for(const i of this._policies){const{policy:p,options:v}=i;const V=p.name;const K=d.get(V);if(!K){throw new Error(`Missing node for policy ${V}`)}if(v.afterPolicies){for(const i of v.afterPolicies){const p=d.get(i);if(p){K.dependsOn.add(p);p.dependants.add(K)}}}if(v.beforePolicies){for(const i of v.beforePolicies){const p=d.get(i);if(p){p.dependsOn.add(K);K.dependants.add(p)}}}}function walkPhase(p){p.hasRun=true;for(const v of p.policies){if(v.afterPhase&&(!v.afterPhase.hasRun||v.afterPhase.policies.size)){continue}if(v.dependsOn.size===0){i.push(v.policy);for(const i of v.dependants){i.dependsOn.delete(v)}d.delete(v.policy.name);p.policies.delete(v)}}}function walkPhases(){for(const i of te){walkPhase(i);if(i.policies.size>0&&i!==v){if(!v.hasRun){walkPhase(v)}return}if(i.hasAfterPolicies){walkPhase(v)}}}let re=0;while(d.size>0){re++;const d=i.length;walkPhases();if(i.length<=d&&re>1){throw new Error("Cannot satisfy policy dependencies due to requirements cycle.")}}return i}}function createEmptyPipeline(){return HttpPipeline.create()}},72305:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.createPipelineRequest=createPipelineRequest;const v=p(4220);const V=p(5023);class PipelineRequestImpl{url;method;headers;timeout;withCredentials;body;multipartBody;formData;streamResponseStatusCodes;enableBrowserStreams;proxySettings;disableKeepAlive;abortSignal;requestId;allowInsecureConnection;onUploadProgress;onDownloadProgress;requestOverrides;authSchemes;constructor(i){this.url=i.url;this.body=i.body;this.headers=i.headers??(0,v.createHttpHeaders)();this.method=i.method??"GET";this.timeout=i.timeout??0;this.multipartBody=i.multipartBody;this.formData=i.formData;this.disableKeepAlive=i.disableKeepAlive??false;this.proxySettings=i.proxySettings;this.streamResponseStatusCodes=i.streamResponseStatusCodes;this.withCredentials=i.withCredentials??false;this.abortSignal=i.abortSignal;this.onUploadProgress=i.onUploadProgress;this.onDownloadProgress=i.onDownloadProgress;this.requestId=i.requestId||(0,V.randomUUID)();this.allowInsecureConnection=i.allowInsecureConnection??false;this.enableBrowserStreams=i.enableBrowserStreams??false;this.requestOverrides=i.requestOverrides;this.authSchemes=i.authSchemes}}function createPipelineRequest(i){return new PipelineRequestImpl(i)}},85366:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.agentPolicyName=void 0;d.agentPolicy=agentPolicy;d.agentPolicyName="agentPolicy";function agentPolicy(i){return{name:d.agentPolicyName,sendRequest:async(d,p)=>{if(!d.agent){d.agent=i}return p(d)}}}},42095:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.apiKeyAuthenticationPolicyName=void 0;d.apiKeyAuthenticationPolicy=apiKeyAuthenticationPolicy;const v=p(42302);d.apiKeyAuthenticationPolicyName="apiKeyAuthenticationPolicy";function apiKeyAuthenticationPolicy(i){return{name:d.apiKeyAuthenticationPolicyName,async sendRequest(d,p){(0,v.ensureSecureConnection)(d,i);const V=(d.authSchemes??i.authSchemes)?.find((i=>i.kind==="apiKey"));if(!V){return p(d)}if(V.apiKeyLocation!=="header"){throw new Error(`Unsupported API key location: ${V.apiKeyLocation}`)}d.headers.set(V.name,i.credential.key);return p(d)}}}},15756:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.basicAuthenticationPolicyName=void 0;d.basicAuthenticationPolicy=basicAuthenticationPolicy;const v=p(82921);const V=p(42302);d.basicAuthenticationPolicyName="bearerAuthenticationPolicy";function basicAuthenticationPolicy(i){return{name:d.basicAuthenticationPolicyName,async sendRequest(d,p){(0,V.ensureSecureConnection)(d,i);const K=(d.authSchemes??i.authSchemes)?.find((i=>i.kind==="http"&&i.scheme==="basic"));if(!K){return p(d)}const{username:ee,password:te}=i.credential;const re=(0,v.uint8ArrayToString)((0,v.stringToUint8Array)(`${ee}:${te}`,"utf-8"),"base64");d.headers.set("Authorization",`Basic ${re}`);return p(d)}}}},89709:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.bearerAuthenticationPolicyName=void 0;d.bearerAuthenticationPolicy=bearerAuthenticationPolicy;const v=p(42302);d.bearerAuthenticationPolicyName="bearerAuthenticationPolicy";function bearerAuthenticationPolicy(i){return{name:d.bearerAuthenticationPolicyName,async sendRequest(d,p){(0,v.ensureSecureConnection)(d,i);const V=(d.authSchemes??i.authSchemes)?.find((i=>i.kind==="http"&&i.scheme==="bearer"));if(!V){return p(d)}const K=await i.credential.getBearerToken({abortSignal:d.abortSignal});d.headers.set("Authorization",`Bearer ${K}`);return p(d)}}}},42302:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.ensureSecureConnection=ensureSecureConnection;const v=p(3644);let V=false;function allowInsecureConnection(i,d){if(d.allowInsecureConnection&&i.allowInsecureConnection){const d=new URL(i.url);if(d.hostname==="localhost"||d.hostname==="127.0.0.1"){return true}}return false}function emitInsecureConnectionWarning(){const i="Sending token over insecure transport. Assume any token issued is compromised.";v.logger.warning(i);if(typeof process?.emitWarning==="function"&&!V){V=true;process.emitWarning(i)}}function ensureSecureConnection(i,d){if(!i.url.toLowerCase().startsWith("https://")){if(allowInsecureConnection(i,d)){emitInsecureConnectionWarning()}else{throw new Error("Authentication is not permitted for non-TLS protected (non-https) URLs when allowInsecureConnection is false.")}}}},20219:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.oauth2AuthenticationPolicyName=void 0;d.oauth2AuthenticationPolicy=oauth2AuthenticationPolicy;const v=p(42302);d.oauth2AuthenticationPolicyName="oauth2AuthenticationPolicy";function oauth2AuthenticationPolicy(i){return{name:d.oauth2AuthenticationPolicyName,async sendRequest(d,p){(0,v.ensureSecureConnection)(d,i);const V=(d.authSchemes??i.authSchemes)?.find((i=>i.kind==="oauth2"));if(!V){return p(d)}const K=await i.credential.getOAuth2Token(V.flows,{abortSignal:d.abortSignal});d.headers.set("Authorization",`Bearer ${K}`);return p(d)}}}},35035:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.decompressResponsePolicyName=void 0;d.decompressResponsePolicy=decompressResponsePolicy;d.decompressResponsePolicyName="decompressResponsePolicy";function decompressResponsePolicy(){return{name:d.decompressResponsePolicyName,async sendRequest(i,d){if(i.method!=="HEAD"){i.headers.set("Accept-Encoding","gzip,deflate")}return d(i)}}}},32462:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.defaultRetryPolicyName=void 0;d.defaultRetryPolicy=defaultRetryPolicy;const v=p(98102);const V=p(21112);const K=p(43345);const ee=p(31255);d.defaultRetryPolicyName="defaultRetryPolicy";function defaultRetryPolicy(i={}){return{name:d.defaultRetryPolicyName,sendRequest:(0,K.retryPolicy)([(0,V.throttlingRetryStrategy)(),(0,v.exponentialRetryStrategy)(i)],{maxRetries:i.maxRetries??ee.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}},74656:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.exponentialRetryPolicyName=void 0;d.exponentialRetryPolicy=exponentialRetryPolicy;const v=p(98102);const V=p(43345);const K=p(31255);d.exponentialRetryPolicyName="exponentialRetryPolicy";function exponentialRetryPolicy(i={}){return(0,V.retryPolicy)([(0,v.exponentialRetryStrategy)({...i,ignoreSystemErrors:true})],{maxRetries:i.maxRetries??K.DEFAULT_RETRY_POLICY_COUNT})}},14197:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.formDataPolicyName=void 0;d.formDataPolicy=formDataPolicy;const v=p(82921);const V=p(85086);const K=p(4220);d.formDataPolicyName="formDataPolicy";function formDataToFormDataMap(i){const d={};for(const[p,v]of i.entries()){d[p]??=[];d[p].push(v)}return d}function formDataPolicy(){return{name:d.formDataPolicyName,async sendRequest(i,d){if(V.isNodeLike&&typeof FormData!=="undefined"&&i.body instanceof FormData){i.formData=formDataToFormDataMap(i.body);i.body=undefined}if(i.formData){const d=i.headers.get("Content-Type");if(d&&d.indexOf("application/x-www-form-urlencoded")!==-1){i.body=wwwFormUrlEncode(i.formData)}else{await prepareFormData(i.formData,i)}i.formData=undefined}return d(i)}}}function wwwFormUrlEncode(i){const d=new URLSearchParams;for(const[p,v]of Object.entries(i)){if(Array.isArray(v)){for(const i of v){d.append(p,i.toString())}}else{d.append(p,v.toString())}}return d.toString()}async function prepareFormData(i,d){const p=d.headers.get("Content-Type");if(p&&!p.startsWith("multipart/form-data")){return}d.headers.set("Content-Type",p??"multipart/form-data");const V=[];for(const[d,p]of Object.entries(i)){for(const i of Array.isArray(p)?p:[p]){if(typeof i==="string"){V.push({headers:(0,K.createHttpHeaders)({"Content-Disposition":`form-data; name="${d}"`}),body:(0,v.stringToUint8Array)(i,"utf-8")})}else if(i===undefined||i===null||typeof i!=="object"){throw new Error(`Unexpected value for key ${d}: ${i}. Value should be serialized to string first.`)}else{const p=i.name||"blob";const v=(0,K.createHttpHeaders)();v.set("Content-Disposition",`form-data; name="${d}"; filename="${p}"`);v.set("Content-Type",i.type||"application/octet-stream");V.push({headers:v,body:i})}}}d.multipartBody={parts:V}}},44960:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.userAgentPolicyName=d.userAgentPolicy=d.tlsPolicyName=d.tlsPolicy=d.redirectPolicyName=d.redirectPolicy=d.getDefaultProxySettings=d.proxyPolicyName=d.proxyPolicy=d.multipartPolicyName=d.multipartPolicy=d.logPolicyName=d.logPolicy=d.formDataPolicyName=d.formDataPolicy=d.throttlingRetryPolicyName=d.throttlingRetryPolicy=d.systemErrorRetryPolicyName=d.systemErrorRetryPolicy=d.retryPolicy=d.exponentialRetryPolicyName=d.exponentialRetryPolicy=d.defaultRetryPolicyName=d.defaultRetryPolicy=d.decompressResponsePolicyName=d.decompressResponsePolicy=d.agentPolicyName=d.agentPolicy=void 0;var v=p(85366);Object.defineProperty(d,"agentPolicy",{enumerable:true,get:function(){return v.agentPolicy}});Object.defineProperty(d,"agentPolicyName",{enumerable:true,get:function(){return v.agentPolicyName}});var V=p(35035);Object.defineProperty(d,"decompressResponsePolicy",{enumerable:true,get:function(){return V.decompressResponsePolicy}});Object.defineProperty(d,"decompressResponsePolicyName",{enumerable:true,get:function(){return V.decompressResponsePolicyName}});var K=p(32462);Object.defineProperty(d,"defaultRetryPolicy",{enumerable:true,get:function(){return K.defaultRetryPolicy}});Object.defineProperty(d,"defaultRetryPolicyName",{enumerable:true,get:function(){return K.defaultRetryPolicyName}});var ee=p(74656);Object.defineProperty(d,"exponentialRetryPolicy",{enumerable:true,get:function(){return ee.exponentialRetryPolicy}});Object.defineProperty(d,"exponentialRetryPolicyName",{enumerable:true,get:function(){return ee.exponentialRetryPolicyName}});var te=p(43345);Object.defineProperty(d,"retryPolicy",{enumerable:true,get:function(){return te.retryPolicy}});var re=p(92418);Object.defineProperty(d,"systemErrorRetryPolicy",{enumerable:true,get:function(){return re.systemErrorRetryPolicy}});Object.defineProperty(d,"systemErrorRetryPolicyName",{enumerable:true,get:function(){return re.systemErrorRetryPolicyName}});var ne=p(24728);Object.defineProperty(d,"throttlingRetryPolicy",{enumerable:true,get:function(){return ne.throttlingRetryPolicy}});Object.defineProperty(d,"throttlingRetryPolicyName",{enumerable:true,get:function(){return ne.throttlingRetryPolicyName}});var se=p(14197);Object.defineProperty(d,"formDataPolicy",{enumerable:true,get:function(){return se.formDataPolicy}});Object.defineProperty(d,"formDataPolicyName",{enumerable:true,get:function(){return se.formDataPolicyName}});var ie=p(47129);Object.defineProperty(d,"logPolicy",{enumerable:true,get:function(){return ie.logPolicy}});Object.defineProperty(d,"logPolicyName",{enumerable:true,get:function(){return ie.logPolicyName}});var oe=p(27427);Object.defineProperty(d,"multipartPolicy",{enumerable:true,get:function(){return oe.multipartPolicy}});Object.defineProperty(d,"multipartPolicyName",{enumerable:true,get:function(){return oe.multipartPolicyName}});var ae=p(80067);Object.defineProperty(d,"proxyPolicy",{enumerable:true,get:function(){return ae.proxyPolicy}});Object.defineProperty(d,"proxyPolicyName",{enumerable:true,get:function(){return ae.proxyPolicyName}});Object.defineProperty(d,"getDefaultProxySettings",{enumerable:true,get:function(){return ae.getDefaultProxySettings}});var Ae=p(92187);Object.defineProperty(d,"redirectPolicy",{enumerable:true,get:function(){return Ae.redirectPolicy}});Object.defineProperty(d,"redirectPolicyName",{enumerable:true,get:function(){return Ae.redirectPolicyName}});var ce=p(96690);Object.defineProperty(d,"tlsPolicy",{enumerable:true,get:function(){return ce.tlsPolicy}});Object.defineProperty(d,"tlsPolicyName",{enumerable:true,get:function(){return ce.tlsPolicyName}});var le=p(91691);Object.defineProperty(d,"userAgentPolicy",{enumerable:true,get:function(){return le.userAgentPolicy}});Object.defineProperty(d,"userAgentPolicyName",{enumerable:true,get:function(){return le.userAgentPolicyName}})},47129:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.logPolicyName=void 0;d.logPolicy=logPolicy;const v=p(3644);const V=p(7784);d.logPolicyName="logPolicy";function logPolicy(i={}){const p=i.logger??v.logger.info;const K=new V.Sanitizer({additionalAllowedHeaderNames:i.additionalAllowedHeaderNames,additionalAllowedQueryParameters:i.additionalAllowedQueryParameters});return{name:d.logPolicyName,async sendRequest(i,d){if(!p.enabled){return d(i)}p(`Request: ${K.sanitize(i)}`);const v=await d(i);p(`Response status code: ${v.status}`);p(`Headers: ${K.sanitize(v.headers)}`);return v}}}},27427:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.multipartPolicyName=void 0;d.multipartPolicy=multipartPolicy;const v=p(82921);const V=p(48505);const K=p(5023);const ee=p(20547);function generateBoundary(){return`----AzSDKFormBoundary${(0,K.randomUUID)()}`}function encodeHeaders(i){let d="";for(const[p,v]of i){d+=`${p}: ${v}\r\n`}return d}function getLength(i){if(i instanceof Uint8Array){return i.byteLength}else if((0,V.isBlob)(i)){return i.size===-1?undefined:i.size}else{return undefined}}function getTotalLength(i){let d=0;for(const p of i){const i=getLength(p);if(i===undefined){return undefined}else{d+=i}}return d}async function buildRequestBody(i,d,p){const V=[(0,v.stringToUint8Array)(`--${p}`,"utf-8"),...d.flatMap((i=>[(0,v.stringToUint8Array)("\r\n","utf-8"),(0,v.stringToUint8Array)(encodeHeaders(i.headers),"utf-8"),(0,v.stringToUint8Array)("\r\n","utf-8"),i.body,(0,v.stringToUint8Array)(`\r\n--${p}`,"utf-8")])),(0,v.stringToUint8Array)("--\r\n\r\n","utf-8")];const K=getTotalLength(V);if(K){i.headers.set("Content-Length",K)}i.body=await(0,ee.concat)(V)}d.multipartPolicyName="multipartPolicy";const te=70;const re=new Set(`abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?`);function assertValidBoundary(i){if(i.length>te){throw new Error(`Multipart boundary "${i}" exceeds maximum length of 70 characters`)}if(Array.from(i).some((i=>!re.has(i)))){throw new Error(`Multipart boundary "${i}" contains invalid characters`)}}function multipartPolicy(){return{name:d.multipartPolicyName,async sendRequest(i,d){if(!i.multipartBody){return d(i)}if(i.body){throw new Error("multipartBody and regular body cannot be set at the same time")}let p=i.multipartBody.boundary;const v=i.headers.get("Content-Type")??"multipart/mixed";const V=v.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!V){throw new Error(`Got multipart request body, but content-type header was not multipart: ${v}`)}const[,K,ee]=V;if(ee&&p&&ee!==p){throw new Error(`Multipart boundary was specified as ${ee} in the header, but got ${p} in the request body`)}p??=ee;if(p){assertValidBoundary(p)}else{p=generateBoundary()}i.headers.set("Content-Type",`${K}; boundary=${p}`);await buildRequestBody(i,i.multipartBody.parts,p);i.multipartBody=undefined;return d(i)}}}},80067:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.globalNoProxyList=d.proxyPolicyName=void 0;d.loadNoProxy=loadNoProxy;d.getDefaultProxySettings=getDefaultProxySettings;d.proxyPolicy=proxyPolicy;const v=p(3669);const V=p(81970);const K=p(3644);const ee="HTTPS_PROXY";const te="HTTP_PROXY";const re="ALL_PROXY";const ne="NO_PROXY";d.proxyPolicyName="proxyPolicy";d.globalNoProxyList=[];let se=false;const ie=new Map;function getEnvironmentValue(i){if(process.env[i]){return process.env[i]}else if(process.env[i.toLowerCase()]){return process.env[i.toLowerCase()]}return undefined}function loadEnvironmentProxyValue(){if(!process){return undefined}const i=getEnvironmentValue(ee);const d=getEnvironmentValue(re);const p=getEnvironmentValue(te);return i||d||p}function isBypassed(i,d,p){if(d.length===0){return false}const v=new URL(i).hostname;if(p?.has(v)){return p.get(v)}let V=false;for(const i of d){if(i[0]==="."){if(v.endsWith(i)){V=true}else{if(v.length===i.length-1&&v===i.slice(1)){V=true}}}else{if(v===i){V=true}}}p?.set(v,V);return V}function loadNoProxy(){const i=getEnvironmentValue(ne);se=true;if(i){return i.split(",").map((i=>i.trim())).filter((i=>i.length))}return[]}function getDefaultProxySettings(i){if(!i){i=loadEnvironmentProxyValue();if(!i){return undefined}}const d=new URL(i);const p=d.protocol?d.protocol+"//":"";return{host:p+d.hostname,port:Number.parseInt(d.port||"80"),username:d.username,password:d.password}}function getDefaultProxySettingsInternal(){const i=loadEnvironmentProxyValue();return i?new URL(i):undefined}function getUrlFromProxySettings(i){let d;try{d=new URL(i.host)}catch{throw new Error(`Expecting a valid host string in proxy settings, but found "${i.host}".`)}d.port=String(i.port);if(i.username){d.username=i.username}if(i.password){d.password=i.password}return d}function setProxyAgentOnRequest(i,d,p){if(i.agent){return}const ee=new URL(i.url);const te=ee.protocol!=="https:";if(i.tlsSettings){K.logger.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored.")}const re=i.headers.toJSON();if(te){if(!d.httpProxyAgent){d.httpProxyAgent=new V.HttpProxyAgent(p,{headers:re})}i.agent=d.httpProxyAgent}else{if(!d.httpsProxyAgent){d.httpsProxyAgent=new v.HttpsProxyAgent(p,{headers:re})}i.agent=d.httpsProxyAgent}}function proxyPolicy(i,p){if(!se){d.globalNoProxyList.push(...loadNoProxy())}const v=i?getUrlFromProxySettings(i):getDefaultProxySettingsInternal();const V={};return{name:d.proxyPolicyName,async sendRequest(i,K){if(!i.proxySettings&&v&&!isBypassed(i.url,p?.customNoProxyList??d.globalNoProxyList,p?.customNoProxyList?undefined:ie)){setProxyAgentOnRequest(i,V,v)}else if(i.proxySettings){setProxyAgentOnRequest(i,V,getUrlFromProxySettings(i.proxySettings))}return K(i)}}}},92187:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.redirectPolicyName=void 0;d.redirectPolicy=redirectPolicy;d.redirectPolicyName="redirectPolicy";const p=["GET","HEAD"];function redirectPolicy(i={}){const{maxRetries:p=20}=i;return{name:d.redirectPolicyName,async sendRequest(i,d){const v=await d(i);return handleRedirect(d,v,p)}}}async function handleRedirect(i,d,v,V=0){const{request:K,status:ee,headers:te}=d;const re=te.get("location");if(re&&(ee===300||ee===301&&p.includes(K.method)||ee===302&&p.includes(K.method)||ee===303&&K.method==="POST"||ee===307)&&V{Object.defineProperty(d,"__esModule",{value:true});d.retryPolicy=retryPolicy;const v=p(77566);const V=p(99992);const K=p(18459);const ee=p(31255);const te=(0,K.createClientLogger)("ts-http-runtime retryPolicy");const re="retryPolicy";function retryPolicy(i,d={maxRetries:ee.DEFAULT_RETRY_POLICY_COUNT}){const p=d.logger||te;return{name:re,async sendRequest(K,te){let re;let ne;let se=-1;e:while(true){se+=1;re=undefined;ne=undefined;try{p.info(`Retry ${se}: Attempting to send request`,K.requestId);re=await te(K);p.info(`Retry ${se}: Received a response from request`,K.requestId)}catch(i){p.error(`Retry ${se}: Received an error from request`,K.requestId);ne=i;if(!i||ne.name!=="RestError"){throw i}re=ne.response}if(K.abortSignal?.aborted){p.error(`Retry ${se}: Request aborted.`);const i=new V.AbortError;throw i}if(se>=(d.maxRetries??ee.DEFAULT_RETRY_POLICY_COUNT)){p.info(`Retry ${se}: Maximum retries reached. Returning the last received response, or throwing the last received error.`);if(ne){throw ne}else if(re){return re}else{throw new Error("Maximum retries reached with no response or error to throw")}}p.info(`Retry ${se}: Processing ${i.length} retry strategies.`);t:for(const d of i){const i=d.logger||p;i.info(`Retry ${se}: Processing retry strategy ${d.name}.`);const V=d.retry({retryCount:se,response:re,responseError:ne});if(V.skipStrategy){i.info(`Retry ${se}: Skipped.`);continue t}const{errorToThrow:ee,retryAfterInMs:te,redirectTo:ie}=V;if(ee){i.error(`Retry ${se}: Retry strategy ${d.name} throws error:`,ee);throw ee}if(te||te===0){i.info(`Retry ${se}: Retry strategy ${d.name} retries after ${te}`);await(0,v.delay)(te,undefined,{abortSignal:K.abortSignal});continue e}if(ie){i.info(`Retry ${se}: Retry strategy ${d.name} redirects to ${ie}`);K.url=ie;continue e}}if(ne){p.info(`None of the retry strategies could work with the received error. Throwing it.`);throw ne}if(re){p.info(`None of the retry strategies could work with the received response. Returning it.`);return re}}}}}},92418:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.systemErrorRetryPolicyName=void 0;d.systemErrorRetryPolicy=systemErrorRetryPolicy;const v=p(98102);const V=p(43345);const K=p(31255);d.systemErrorRetryPolicyName="systemErrorRetryPolicy";function systemErrorRetryPolicy(i={}){return{name:d.systemErrorRetryPolicyName,sendRequest:(0,V.retryPolicy)([(0,v.exponentialRetryStrategy)({...i,ignoreHttpStatusCodes:true})],{maxRetries:i.maxRetries??K.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}},24728:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.throttlingRetryPolicyName=void 0;d.throttlingRetryPolicy=throttlingRetryPolicy;const v=p(21112);const V=p(43345);const K=p(31255);d.throttlingRetryPolicyName="throttlingRetryPolicy";function throttlingRetryPolicy(i={}){return{name:d.throttlingRetryPolicyName,sendRequest:(0,V.retryPolicy)([(0,v.throttlingRetryStrategy)()],{maxRetries:i.maxRetries??K.DEFAULT_RETRY_POLICY_COUNT}).sendRequest}}},96690:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.tlsPolicyName=void 0;d.tlsPolicy=tlsPolicy;d.tlsPolicyName="tlsPolicy";function tlsPolicy(i){return{name:d.tlsPolicyName,sendRequest:async(d,p)=>{if(!d.tlsSettings){d.tlsSettings=i}return p(d)}}}},91691:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.userAgentPolicyName=void 0;d.userAgentPolicy=userAgentPolicy;const v=p(62731);const V=(0,v.getUserAgentHeaderName)();d.userAgentPolicyName="userAgentPolicy";function userAgentPolicy(i={}){const p=(0,v.getUserAgentValue)(i.userAgentPrefix);return{name:d.userAgentPolicyName,async sendRequest(i,d){if(!i.headers.has(V)){i.headers.set(V,await p)}return d(i)}}}},9758:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.RestError=void 0;d.isRestError=isRestError;const v=p(52573);const V=p(37639);const K=p(7784);const ee=new K.Sanitizer;class RestError extends Error{static REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";static PARSE_ERROR="PARSE_ERROR";code;statusCode;request;response;details;constructor(i,d={}){super(i);this.name="RestError";this.code=d.code;this.statusCode=d.statusCode;Object.defineProperty(this,"request",{value:d.request,enumerable:false});Object.defineProperty(this,"response",{value:d.response,enumerable:false});const p=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:undefined;Object.defineProperty(this,V.custom,{value:()=>`RestError: ${this.message} \n ${ee.sanitize({...this,request:{...this.request,agent:p},response:this.response})}`,enumerable:false});Object.setPrototypeOf(this,RestError.prototype)}}d.RestError=RestError;function isRestError(i){if(i instanceof RestError){return true}return(0,v.isError)(i)&&i.name==="RestError"}},98102:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.exponentialRetryStrategy=exponentialRetryStrategy;d.isExponentialRetryResponse=isExponentialRetryResponse;d.isSystemError=isSystemError;const v=p(66776);const V=p(21112);const K=1e3;const ee=1e3*64;function exponentialRetryStrategy(i={}){const d=i.retryDelayInMs??K;const p=i.maxRetryDelayInMs??ee;return{name:"exponentialRetryStrategy",retry({retryCount:K,response:ee,responseError:te}){const re=isSystemError(te);const ne=re&&i.ignoreSystemErrors;const se=isExponentialRetryResponse(ee);const ie=se&&i.ignoreHttpStatusCodes;const oe=ee&&((0,V.isThrottlingRetryResponse)(ee)||!se);if(oe||ie||ne){return{skipStrategy:true}}if(te&&!re&&!se){return{errorToThrow:te}}return(0,v.calculateRetryDelay)(K,{retryDelayInMs:d,maxRetryDelayInMs:p})}}}function isExponentialRetryResponse(i){return Boolean(i&&i.status!==undefined&&(i.status>=500||i.status===408)&&i.status!==501&&i.status!==505)}function isSystemError(i){if(!i){return false}return i.code==="ETIMEDOUT"||i.code==="ESOCKETTIMEDOUT"||i.code==="ECONNREFUSED"||i.code==="ECONNRESET"||i.code==="ENOENT"||i.code==="ENOTFOUND"}},21112:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.isThrottlingRetryResponse=isThrottlingRetryResponse;d.throttlingRetryStrategy=throttlingRetryStrategy;const v=p(77566);const V="Retry-After";const K=["retry-after-ms","x-ms-retry-after-ms",V];function getRetryAfterInMs(i){if(!(i&&[429,503].includes(i.status)))return undefined;try{for(const d of K){const p=(0,v.parseHeaderValueAsNumber)(i,d);if(p===0||p){const i=d===V?1e3:1;return p*i}}const d=i.headers.get(V);if(!d)return;const p=Date.parse(d);const ee=p-Date.now();return Number.isFinite(ee)?Math.max(0,ee):undefined}catch{return undefined}}function isThrottlingRetryResponse(i){return Number.isFinite(getRetryAfterInMs(i))}function throttlingRetryStrategy(){return{name:"throttlingRetryStrategy",retry({response:i}){const d=getRetryAfterInMs(i);if(!Number.isFinite(d)){return{skipStrategy:true}}return{retryAfterInMs:d}}}}},82921:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.uint8ArrayToString=uint8ArrayToString;d.stringToUint8Array=stringToUint8Array;function uint8ArrayToString(i,d){return Buffer.from(i).toString(d)}function stringToUint8Array(i,d){return Buffer.from(i,d)}},85086:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.isReactNative=d.isNodeRuntime=d.isNodeLike=d.isBun=d.isDeno=d.isWebWorker=d.isBrowser=void 0;d.isBrowser=typeof window!=="undefined"&&typeof window.document!=="undefined";d.isWebWorker=typeof self==="object"&&typeof self?.importScripts==="function"&&(self.constructor?.name==="DedicatedWorkerGlobalScope"||self.constructor?.name==="ServiceWorkerGlobalScope"||self.constructor?.name==="SharedWorkerGlobalScope");d.isDeno=typeof Deno!=="undefined"&&typeof Deno.version!=="undefined"&&typeof Deno.version.deno!=="undefined";d.isBun=typeof Bun!=="undefined"&&typeof Bun.version!=="undefined";d.isNodeLike=typeof globalThis.process!=="undefined"&&Boolean(globalThis.process.version)&&Boolean(globalThis.process.versions?.node);d.isNodeRuntime=d.isNodeLike&&!d.isBun&&!d.isDeno;d.isReactNative=typeof navigator!=="undefined"&&navigator?.product==="ReactNative"},20547:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.concat=concat;const v=p(2203);const V=p(48505);async function*streamAsyncIterator(){const i=this.getReader();try{while(true){const{done:d,value:p}=await i.read();if(d){return}yield p}}finally{i.releaseLock()}}function makeAsyncIterable(i){if(!i[Symbol.asyncIterator]){i[Symbol.asyncIterator]=streamAsyncIterator.bind(i)}if(!i.values){i.values=streamAsyncIterator.bind(i)}}function ensureNodeStream(i){if(i instanceof ReadableStream){makeAsyncIterable(i);return v.Readable.fromWeb(i)}else{return i}}function toStream(i){if(i instanceof Uint8Array){return v.Readable.from(Buffer.from(i))}else if((0,V.isBlob)(i)){return ensureNodeStream(i.stream())}else{return ensureNodeStream(i)}}async function concat(i){return function(){const d=i.map((i=>typeof i==="function"?i():i)).map(toStream);return v.Readable.from(async function*(){for(const i of d){for await(const d of i){yield d}}}())}}},66776:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.calculateRetryDelay=calculateRetryDelay;const v=p(78640);function calculateRetryDelay(i,d){const p=d.retryDelayInMs*Math.pow(2,i);const V=Math.min(d.maxRetryDelayInMs,p);const K=V/2+(0,v.getRandomIntegerInclusive)(0,V/2);return{retryAfterInMs:K}}},52573:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.isError=isError;const v=p(53632);function isError(i){if((0,v.isObject)(i)){const d=typeof i.name==="string";const p=typeof i.message==="string";return d&&p}return false}},77566:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.delay=delay;d.parseHeaderValueAsNumber=parseHeaderValueAsNumber;const v=p(99992);const V="The operation was aborted.";function delay(i,d,p){return new Promise(((K,ee)=>{let te=undefined;let re=undefined;const rejectOnAbort=()=>ee(new v.AbortError(p?.abortErrorMsg?p?.abortErrorMsg:V));const removeListeners=()=>{if(p?.abortSignal&&re){p.abortSignal.removeEventListener("abort",re)}};re=()=>{if(te){clearTimeout(te)}removeListeners();return rejectOnAbort()};if(p?.abortSignal&&p.abortSignal.aborted){return rejectOnAbort()}te=setTimeout((()=>{removeListeners();K(d)}),i);if(p?.abortSignal){p.abortSignal.addEventListener("abort",re)}}))}function parseHeaderValueAsNumber(i,d){const p=i.headers.get(d);if(!p)return;const v=Number(p);if(Number.isNaN(v))return;return v}},37639:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.custom=void 0;const v=p(57975);d.custom=v.inspect.custom},95750:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.Sanitizer=d.uint8ArrayToString=d.stringToUint8Array=d.isWebWorker=d.isReactNative=d.isDeno=d.isNodeRuntime=d.isNodeLike=d.isBun=d.isBrowser=d.randomUUID=d.computeSha256Hmac=d.computeSha256Hash=d.isError=d.isObject=d.getRandomIntegerInclusive=d.calculateRetryDelay=void 0;var v=p(66776);Object.defineProperty(d,"calculateRetryDelay",{enumerable:true,get:function(){return v.calculateRetryDelay}});var V=p(78640);Object.defineProperty(d,"getRandomIntegerInclusive",{enumerable:true,get:function(){return V.getRandomIntegerInclusive}});var K=p(53632);Object.defineProperty(d,"isObject",{enumerable:true,get:function(){return K.isObject}});var ee=p(52573);Object.defineProperty(d,"isError",{enumerable:true,get:function(){return ee.isError}});var te=p(2016);Object.defineProperty(d,"computeSha256Hash",{enumerable:true,get:function(){return te.computeSha256Hash}});Object.defineProperty(d,"computeSha256Hmac",{enumerable:true,get:function(){return te.computeSha256Hmac}});var re=p(5023);Object.defineProperty(d,"randomUUID",{enumerable:true,get:function(){return re.randomUUID}});var ne=p(85086);Object.defineProperty(d,"isBrowser",{enumerable:true,get:function(){return ne.isBrowser}});Object.defineProperty(d,"isBun",{enumerable:true,get:function(){return ne.isBun}});Object.defineProperty(d,"isNodeLike",{enumerable:true,get:function(){return ne.isNodeLike}});Object.defineProperty(d,"isNodeRuntime",{enumerable:true,get:function(){return ne.isNodeRuntime}});Object.defineProperty(d,"isDeno",{enumerable:true,get:function(){return ne.isDeno}});Object.defineProperty(d,"isReactNative",{enumerable:true,get:function(){return ne.isReactNative}});Object.defineProperty(d,"isWebWorker",{enumerable:true,get:function(){return ne.isWebWorker}});var se=p(82921);Object.defineProperty(d,"stringToUint8Array",{enumerable:true,get:function(){return se.stringToUint8Array}});Object.defineProperty(d,"uint8ArrayToString",{enumerable:true,get:function(){return se.uint8ArrayToString}});var ie=p(7784);Object.defineProperty(d,"Sanitizer",{enumerable:true,get:function(){return ie.Sanitizer}})},53632:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.isObject=isObject;function isObject(i){return typeof i==="object"&&i!==null&&!Array.isArray(i)&&!(i instanceof RegExp)&&!(i instanceof Date)}},78640:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.getRandomIntegerInclusive=getRandomIntegerInclusive;function getRandomIntegerInclusive(i,d){i=Math.ceil(i);d=Math.floor(d);const p=Math.floor(Math.random()*(d-i+1));return p+i}},7784:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.Sanitizer=void 0;const v=p(53632);const V="REDACTED";const K=["x-ms-client-request-id","x-ms-return-client-request-id","x-ms-useragent","x-ms-correlation-request-id","x-ms-request-id","client-request-id","ms-cv","return-client-request-id","traceparent","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Origin","Accept","Accept-Encoding","Cache-Control","Connection","Content-Length","Content-Type","Date","ETag","Expires","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","Last-Modified","Pragma","Request-Id","Retry-After","Server","Transfer-Encoding","User-Agent","WWW-Authenticate"];const ee=["api-version"];class Sanitizer{allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:i=[],additionalAllowedQueryParameters:d=[]}={}){i=K.concat(i);d=ee.concat(d);this.allowedHeaderNames=new Set(i.map((i=>i.toLowerCase())));this.allowedQueryParameters=new Set(d.map((i=>i.toLowerCase())))}sanitize(i){const d=new Set;return JSON.stringify(i,((i,p)=>{if(p instanceof Error){return{...p,name:p.name,message:p.message}}if(i==="headers"){return this.sanitizeHeaders(p)}else if(i==="url"){return this.sanitizeUrl(p)}else if(i==="query"){return this.sanitizeQuery(p)}else if(i==="body"){return undefined}else if(i==="response"){return undefined}else if(i==="operationSpec"){return undefined}else if(Array.isArray(p)||(0,v.isObject)(p)){if(d.has(p)){return"[Circular]"}d.add(p)}return p}),2)}sanitizeUrl(i){if(typeof i!=="string"||i===null||i===""){return i}const d=new URL(i);if(!d.search){return i}for(const[i]of d.searchParams){if(!this.allowedQueryParameters.has(i.toLowerCase())){d.searchParams.set(i,V)}}return d.toString()}sanitizeHeaders(i){const d={};for(const p of Object.keys(i)){if(this.allowedHeaderNames.has(p.toLowerCase())){d[p]=i[p]}else{d[p]=V}}return d}sanitizeQuery(i){if(typeof i!=="object"||i===null){return i}const d={};for(const p of Object.keys(i)){if(this.allowedQueryParameters.has(p.toLowerCase())){d[p]=i[p]}else{d[p]=V}}return d}}d.Sanitizer=Sanitizer},2016:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.computeSha256Hmac=computeSha256Hmac;d.computeSha256Hash=computeSha256Hash;const v=p(77598);async function computeSha256Hmac(i,d,p){const V=Buffer.from(i,"base64");return(0,v.createHmac)("sha256",V).update(d).digest(p)}async function computeSha256Hash(i,d){return(0,v.createHash)("sha256").update(i).digest(d)}},48505:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.isNodeReadableStream=isNodeReadableStream;d.isWebReadableStream=isWebReadableStream;d.isBinaryBody=isBinaryBody;d.isReadableStream=isReadableStream;d.isBlob=isBlob;function isNodeReadableStream(i){return Boolean(i&&typeof i["pipe"]==="function")}function isWebReadableStream(i){return Boolean(i&&typeof i.getReader==="function"&&typeof i.tee==="function")}function isBinaryBody(i){return i!==undefined&&(i instanceof Uint8Array||isReadableStream(i)||typeof i==="function"||i instanceof Blob)}function isReadableStream(i){return isNodeReadableStream(i)||isWebReadableStream(i)}function isBlob(i){return typeof i.stream==="function"}},62731:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getUserAgentHeaderName=getUserAgentHeaderName;d.getUserAgentValue=getUserAgentValue;const v=p(83196);const V=p(31255);function getUserAgentString(i){const d=[];for(const[p,v]of i){const i=v?`${p}/${v}`:p;d.push(i)}return d.join(" ")}function getUserAgentHeaderName(){return(0,v.getHeaderName)()}async function getUserAgentValue(i){const d=new Map;d.set("ts-http-runtime",V.SDK_VERSION);await(0,v.setPlatformSpecificData)(d);const p=getUserAgentString(d);const K=i?`${i} ${p}`:p;return K}},83196:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.getHeaderName=getHeaderName;d.setPlatformSpecificData=setPlatformSpecificData;const v=p(61860);const V=v.__importDefault(p(48161));const K=v.__importDefault(p(1708));function getHeaderName(){return"User-Agent"}async function setPlatformSpecificData(i){if(K.default&&K.default.versions){const d=`${V.default.type()} ${V.default.release()}; ${V.default.arch()}`;const p=K.default.versions;if(p.bun){i.set("Bun",`${p.bun} (${d})`)}else if(p.deno){i.set("Deno",`${p.deno} (${d})`)}else if(p.node){i.set("Node",`${p.node} (${d})`)}}}},5023:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.randomUUID=randomUUID;function randomUUID(){return crypto.randomUUID()}},68669:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.Glob=void 0;const v=p(62883);const V=p(38958);const K=p(73136);const ee=p(2029);const te=p(83581);const re=typeof process==="object"&&process&&typeof process.platform==="string"?process.platform:"linux";class Glob{absolute;cwd;root;dot;dotRelative;follow;ignore;magicalBraces;mark;matchBase;maxDepth;nobrace;nocase;nodir;noext;noglobstar;pattern;platform;realpath;scurry;stat;signal;windowsPathsNoEscape;withFileTypes;opts;patterns;constructor(i,d){if(!d)throw new TypeError("glob options required");this.withFileTypes=!!d.withFileTypes;this.signal=d.signal;this.follow=!!d.follow;this.dot=!!d.dot;this.dotRelative=!!d.dotRelative;this.nodir=!!d.nodir;this.mark=!!d.mark;if(!d.cwd){this.cwd=""}else if(d.cwd instanceof URL||d.cwd.startsWith("file://")){d.cwd=(0,K.fileURLToPath)(d.cwd)}this.cwd=d.cwd||"";this.root=d.root;this.magicalBraces=!!d.magicalBraces;this.nobrace=!!d.nobrace;this.noext=!!d.noext;this.realpath=!!d.realpath;this.absolute=d.absolute;this.noglobstar=!!d.noglobstar;this.matchBase=!!d.matchBase;this.maxDepth=typeof d.maxDepth==="number"?d.maxDepth:Infinity;this.stat=!!d.stat;this.ignore=d.ignore;if(this.withFileTypes&&this.absolute!==undefined){throw new Error("cannot set absolute and withFileTypes:true")}if(typeof i==="string"){i=[i]}this.windowsPathsNoEscape=!!d.windowsPathsNoEscape||d.allowWindowsEscape===false;if(this.windowsPathsNoEscape){i=i.map((i=>i.replace(/\\/g,"/")))}if(this.matchBase){if(d.noglobstar){throw new TypeError("base matching requires globstar")}i=i.map((i=>i.includes("/")?i:`./**/${i}`))}this.pattern=i;this.platform=d.platform||re;this.opts={...d,platform:this.platform};if(d.scurry){this.scurry=d.scurry;if(d.nocase!==undefined&&d.nocase!==d.scurry.nocase){throw new Error("nocase option contradicts provided scurry option")}}else{const i=d.platform==="win32"?V.PathScurryWin32:d.platform==="darwin"?V.PathScurryDarwin:d.platform?V.PathScurryPosix:V.PathScurry;this.scurry=new i(this.cwd,{nocase:d.nocase,fs:d.fs})}this.nocase=this.scurry.nocase;const p=this.platform==="darwin"||this.platform==="win32";const te={...d,dot:this.dot,matchBase:this.matchBase,nobrace:this.nobrace,nocase:this.nocase,nocaseMagicOnly:p,nocomment:true,noext:this.noext,nonegate:true,optimizationLevel:2,platform:this.platform,windowsPathsNoEscape:this.windowsPathsNoEscape,debug:!!this.opts.debug};const ne=this.pattern.map((i=>new v.Minimatch(i,te)));const[se,ie]=ne.reduce(((i,d)=>{i[0].push(...d.set);i[1].push(...d.globParts);return i}),[[],[]]);this.patterns=se.map(((i,d)=>{const p=ie[d];if(!p)throw new Error("invalid pattern object");return new ee.Pattern(i,p,0,this.platform)}))}async walk(){return[...await new te.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==Infinity?this.maxDepth+this.scurry.cwd.depth():Infinity,platform:this.platform,nocase:this.nocase}).walk()]}walkSync(){return[...new te.GlobWalker(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==Infinity?this.maxDepth+this.scurry.cwd.depth():Infinity,platform:this.platform,nocase:this.nocase}).walkSync()]}stream(){return new te.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==Infinity?this.maxDepth+this.scurry.cwd.depth():Infinity,platform:this.platform,nocase:this.nocase}).stream()}streamSync(){return new te.GlobStream(this.patterns,this.scurry.cwd,{...this.opts,maxDepth:this.maxDepth!==Infinity?this.maxDepth+this.scurry.cwd.depth():Infinity,platform:this.platform,nocase:this.nocase}).streamSync()}iterateSync(){return this.streamSync()[Symbol.iterator]()}[Symbol.iterator](){return this.iterateSync()}iterate(){return this.stream()[Symbol.asyncIterator]()}[Symbol.asyncIterator](){return this.iterate()}}d.Glob=Glob},53413:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.hasMagic=void 0;const v=p(62883);const hasMagic=(i,d={})=>{if(!Array.isArray(i)){i=[i]}for(const p of i){if(new v.Minimatch(p,d).hasMagic())return true}return false};d.hasMagic=hasMagic},74941:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.Ignore=void 0;const v=p(62883);const V=p(2029);const K=typeof process==="object"&&process&&typeof process.platform==="string"?process.platform:"linux";class Ignore{relative;relativeChildren;absolute;absoluteChildren;constructor(i,{nobrace:d,nocase:p,noext:ee,noglobstar:te,platform:re=K}){this.relative=[];this.absolute=[];this.relativeChildren=[];this.absoluteChildren=[];const ne={dot:true,nobrace:d,nocase:p,noext:ee,noglobstar:te,optimizationLevel:2,platform:re,nocomment:true,nonegate:true};for(const d of i){const i=new v.Minimatch(d,ne);for(let d=0;d{Object.defineProperty(d,"__esModule",{value:true});d.glob=d.hasMagic=d.Glob=d.unescape=d.escape=d.sync=d.iterate=d.iterateSync=d.stream=d.streamSync=d.globIterate=d.globIterateSync=d.globSync=d.globStream=d.globStreamSync=void 0;const v=p(62883);const V=p(68669);const K=p(53413);function globStreamSync(i,d={}){return new V.Glob(i,d).streamSync()}d.globStreamSync=globStreamSync;function globStream(i,d={}){return new V.Glob(i,d).stream()}d.globStream=globStream;function globSync(i,d={}){return new V.Glob(i,d).walkSync()}d.globSync=globSync;async function glob_(i,d={}){return new V.Glob(i,d).walk()}function globIterateSync(i,d={}){return new V.Glob(i,d).iterateSync()}d.globIterateSync=globIterateSync;function globIterate(i,d={}){return new V.Glob(i,d).iterate()}d.globIterate=globIterate;d.streamSync=globStreamSync;d.stream=Object.assign(globStream,{sync:globStreamSync});d.iterateSync=globIterateSync;d.iterate=Object.assign(globIterate,{sync:globIterateSync});d.sync=Object.assign(globSync,{stream:globStreamSync,iterate:globIterateSync});var ee=p(62883);Object.defineProperty(d,"escape",{enumerable:true,get:function(){return ee.escape}});Object.defineProperty(d,"unescape",{enumerable:true,get:function(){return ee.unescape}});var te=p(68669);Object.defineProperty(d,"Glob",{enumerable:true,get:function(){return te.Glob}});var re=p(53413);Object.defineProperty(d,"hasMagic",{enumerable:true,get:function(){return re.hasMagic}});d.glob=Object.assign(glob_,{glob:glob_,globSync:globSync,sync:d.sync,globStream:globStream,stream:d.stream,globStreamSync:globStreamSync,streamSync:d.streamSync,globIterate:globIterate,iterate:d.iterate,globIterateSync:globIterateSync,iterateSync:d.iterateSync,Glob:V.Glob,hasMagic:K.hasMagic,escape:v.escape,unescape:v.unescape});d.glob.glob=d.glob},2029:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.Pattern=void 0;const v=p(62883);const isPatternList=i=>i.length>=1;const isGlobList=i=>i.length>=1;class Pattern{#ue;#de;#J;length;#he;#fe;#ge;#pe;#me;#Ee;#Ce=true;constructor(i,d,p,v){if(!isPatternList(i)){throw new TypeError("empty pattern list")}if(!isGlobList(d)){throw new TypeError("empty glob list")}if(d.length!==i.length){throw new TypeError("mismatched pattern list and glob list lengths")}this.length=i.length;if(p<0||p>=this.length){throw new TypeError("index out of range")}this.#ue=i;this.#de=d;this.#J=p;this.#he=v;if(this.#J===0){if(this.isUNC()){const[i,d,p,v,...V]=this.#ue;const[K,ee,te,re,...ne]=this.#de;if(V[0]===""){V.shift();ne.shift()}const se=[i,d,p,v,""].join("/");const ie=[K,ee,te,re,""].join("/");this.#ue=[se,...V];this.#de=[ie,...ne];this.length=this.#ue.length}else if(this.isDrive()||this.isAbsolute()){const[i,...d]=this.#ue;const[p,...v]=this.#de;if(d[0]===""){d.shift();v.shift()}const V=i+"/";const K=p+"/";this.#ue=[V,...d];this.#de=[K,...v];this.length=this.#ue.length}}}pattern(){return this.#ue[this.#J]}isString(){return typeof this.#ue[this.#J]==="string"}isGlobstar(){return this.#ue[this.#J]===v.GLOBSTAR}isRegExp(){return this.#ue[this.#J]instanceof RegExp}globString(){return this.#ge=this.#ge||(this.#J===0?this.isAbsolute()?this.#de[0]+this.#de.slice(1).join("/"):this.#de.join("/"):this.#de.slice(this.#J).join("/"))}hasMore(){return this.length>this.#J+1}rest(){if(this.#fe!==undefined)return this.#fe;if(!this.hasMore())return this.#fe=null;this.#fe=new Pattern(this.#ue,this.#de,this.#J+1,this.#he);this.#fe.#Ee=this.#Ee;this.#fe.#me=this.#me;this.#fe.#pe=this.#pe;return this.#fe}isUNC(){const i=this.#ue;return this.#me!==undefined?this.#me:this.#me=this.#he==="win32"&&this.#J===0&&i[0]===""&&i[1]===""&&typeof i[2]==="string"&&!!i[2]&&typeof i[3]==="string"&&!!i[3]}isDrive(){const i=this.#ue;return this.#pe!==undefined?this.#pe:this.#pe=this.#he==="win32"&&this.#J===0&&this.length>1&&typeof i[0]==="string"&&/^[a-z]:$/i.test(i[0])}isAbsolute(){const i=this.#ue;return this.#Ee!==undefined?this.#Ee:this.#Ee=i[0]===""&&i.length>1||this.isDrive()||this.isUNC()}root(){const i=this.#ue[0];return typeof i==="string"&&this.isAbsolute()&&this.#J===0?i:""}checkFollowGlobstar(){return!(this.#J===0||!this.isGlobstar()||!this.#Ce)}markFollowGlobstar(){if(this.#J===0||!this.isGlobstar()||!this.#Ce)return false;this.#Ce=false;return true}}d.Pattern=Pattern},74827:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.Processor=d.SubWalks=d.MatchRecord=d.HasWalkedCache=void 0;const v=p(62883);class HasWalkedCache{store;constructor(i=new Map){this.store=i}copy(){return new HasWalkedCache(new Map(this.store))}hasWalked(i,d){return this.store.get(i.fullpath())?.has(d.globString())}storeWalked(i,d){const p=i.fullpath();const v=this.store.get(p);if(v)v.add(d.globString());else this.store.set(p,new Set([d.globString()]))}}d.HasWalkedCache=HasWalkedCache;class MatchRecord{store=new Map;add(i,d,p){const v=(d?2:0)|(p?1:0);const V=this.store.get(i);this.store.set(i,V===undefined?v:v&V)}entries(){return[...this.store.entries()].map((([i,d])=>[i,!!(d&2),!!(d&1)]))}}d.MatchRecord=MatchRecord;class SubWalks{store=new Map;add(i,d){if(!i.canReaddir()){return}const p=this.store.get(i);if(p){if(!p.find((i=>i.globString()===d.globString()))){p.push(d)}}else this.store.set(i,[d])}get(i){const d=this.store.get(i);if(!d){throw new Error("attempting to walk unknown path")}return d}entries(){return this.keys().map((i=>[i,this.store.get(i)]))}keys(){return[...this.store.keys()].filter((i=>i.canReaddir()))}}d.SubWalks=SubWalks;class Processor{hasWalkedCache;matches=new MatchRecord;subwalks=new SubWalks;patterns;follow;dot;opts;constructor(i,d){this.opts=i;this.follow=!!i.follow;this.dot=!!i.dot;this.hasWalkedCache=d?d.copy():new HasWalkedCache}processPatterns(i,d){this.patterns=d;const p=d.map((d=>[i,d]));for(let[i,d]of p){this.hasWalkedCache.storeWalked(i,d);const p=d.root();const V=d.isAbsolute()&&this.opts.absolute!==false;if(p){i=i.resolve(p==="/"&&this.opts.root!==undefined?this.opts.root:p);const v=d.rest();if(!v){this.matches.add(i,true,false);continue}else{d=v}}if(i.isENOENT())continue;let K;let ee;let te=false;while(typeof(K=d.pattern())==="string"&&(ee=d.rest())){const p=i.resolve(K);i=p;d=ee;te=true}K=d.pattern();ee=d.rest();if(te){if(this.hasWalkedCache.hasWalked(i,d))continue;this.hasWalkedCache.storeWalked(i,d)}if(typeof K==="string"){const d=K===".."||K===""||K===".";this.matches.add(i.resolve(K),V,d);continue}else if(K===v.GLOBSTAR){if(!i.isSymbolicLink()||this.follow||d.checkFollowGlobstar()){this.subwalks.add(i,d)}const p=ee?.pattern();const v=ee?.rest();if(!ee||(p===""||p===".")&&!v){this.matches.add(i,V,p===""||p===".")}else{if(p===".."){const d=i.parent||i;if(!v)this.matches.add(d,V,true);else if(!this.hasWalkedCache.hasWalked(d,v)){this.subwalks.add(d,v)}}}}else if(K instanceof RegExp){this.subwalks.add(i,d)}}return this}subwalkTargets(){return this.subwalks.keys()}child(){return new Processor(this.opts,this.hasWalkedCache)}filterEntries(i,d){const p=this.subwalks.get(i);const V=this.child();for(const i of d){for(const d of p){const p=d.isAbsolute();const K=d.pattern();const ee=d.rest();if(K===v.GLOBSTAR){V.testGlobstar(i,d,ee,p)}else if(K instanceof RegExp){V.testRegExp(i,K,ee,p)}else{V.testString(i,K,ee,p)}}}return V}testGlobstar(i,d,p,v){if(this.dot||!i.name.startsWith(".")){if(!d.hasMore()){this.matches.add(i,v,false)}if(i.canReaddir()){if(this.follow||!i.isSymbolicLink()){this.subwalks.add(i,d)}else if(i.isSymbolicLink()){if(p&&d.checkFollowGlobstar()){this.subwalks.add(i,p)}else if(d.markFollowGlobstar()){this.subwalks.add(i,d)}}}}if(p){const d=p.pattern();if(typeof d==="string"&&d!==".."&&d!==""&&d!=="."){this.testString(i,d,p.rest(),v)}else if(d===".."){const d=i.parent||i;this.subwalks.add(d,p)}else if(d instanceof RegExp){this.testRegExp(i,d,p.rest(),v)}}}testRegExp(i,d,p,v){if(!d.test(i.name))return;if(!p){this.matches.add(i,v,false)}else{this.subwalks.add(i,p)}}testString(i,d,p,v){if(!i.isNamed(d))return;if(!p){this.matches.add(i,v,false)}else{this.subwalks.add(i,p)}}}d.Processor=Processor},83581:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.GlobStream=d.GlobWalker=d.GlobUtil=void 0;const v=p(78275);const V=p(74941);const K=p(74827);const makeIgnore=(i,d)=>typeof i==="string"?new V.Ignore([i],d):Array.isArray(i)?new V.Ignore(i,d):i;class GlobUtil{path;patterns;opts;seen=new Set;paused=false;aborted=false;#ye=[];#Ie;#Be;signal;maxDepth;constructor(i,d,p){this.patterns=i;this.path=d;this.opts=p;this.#Be=!p.posix&&p.platform==="win32"?"\\":"/";if(p.ignore){this.#Ie=makeIgnore(p.ignore,p)}this.maxDepth=p.maxDepth||Infinity;if(p.signal){this.signal=p.signal;this.signal.addEventListener("abort",(()=>{this.#ye.length=0}))}}#Qe(i){return this.seen.has(i)||!!this.#Ie?.ignored?.(i)}#be(i){return!!this.#Ie?.childrenIgnored?.(i)}pause(){this.paused=true}resume(){if(this.signal?.aborted)return;this.paused=false;let i=undefined;while(!this.paused&&(i=this.#ye.shift())){i()}}onResume(i){if(this.signal?.aborted)return;if(!this.paused){i()}else{this.#ye.push(i)}}async matchCheck(i,d){if(d&&this.opts.nodir)return undefined;let p;if(this.opts.realpath){p=i.realpathCached()||await i.realpath();if(!p)return undefined;i=p}const v=i.isUnknown()||this.opts.stat;const V=v?await i.lstat():i;if(this.opts.follow&&this.opts.nodir&&V?.isSymbolicLink()){const i=await V.realpath();if(i&&(i.isUnknown()||this.opts.stat)){await i.lstat()}}return this.matchCheckTest(V,d)}matchCheckTest(i,d){return i&&(this.maxDepth===Infinity||i.depth()<=this.maxDepth)&&(!d||i.canReaddir())&&(!this.opts.nodir||!i.isDirectory())&&(!this.opts.nodir||!this.opts.follow||!i.isSymbolicLink()||!i.realpathCached()?.isDirectory())&&!this.#Qe(i)?i:undefined}matchCheckSync(i,d){if(d&&this.opts.nodir)return undefined;let p;if(this.opts.realpath){p=i.realpathCached()||i.realpathSync();if(!p)return undefined;i=p}const v=i.isUnknown()||this.opts.stat;const V=v?i.lstatSync():i;if(this.opts.follow&&this.opts.nodir&&V?.isSymbolicLink()){const i=V.realpathSync();if(i&&(i?.isUnknown()||this.opts.stat)){i.lstatSync()}}return this.matchCheckTest(V,d)}matchFinish(i,d){if(this.#Qe(i))return;const p=this.opts.absolute===undefined?d:this.opts.absolute;this.seen.add(i);const v=this.opts.mark&&i.isDirectory()?this.#Be:"";if(this.opts.withFileTypes){this.matchEmit(i)}else if(p){const d=this.opts.posix?i.fullpathPosix():i.fullpath();this.matchEmit(d+v)}else{const d=this.opts.posix?i.relativePosix():i.relative();const p=this.opts.dotRelative&&!d.startsWith(".."+this.#Be)?"."+this.#Be:"";this.matchEmit(!d?"."+v:p+d+v)}}async match(i,d,p){const v=await this.matchCheck(i,p);if(v)this.matchFinish(v,d)}matchSync(i,d,p){const v=this.matchCheckSync(i,p);if(v)this.matchFinish(v,d)}walkCB(i,d,p){if(this.signal?.aborted)p();this.walkCB2(i,d,new K.Processor(this.opts),p)}walkCB2(i,d,p,v){if(this.#be(i))return v();if(this.signal?.aborted)v();if(this.paused){this.onResume((()=>this.walkCB2(i,d,p,v)));return}p.processPatterns(i,d);let V=1;const next=()=>{if(--V===0)v()};for(const[i,d,v]of p.matches.entries()){if(this.#Qe(i))continue;V++;this.match(i,d,v).then((()=>next()))}for(const i of p.subwalkTargets()){if(this.maxDepth!==Infinity&&i.depth()>=this.maxDepth){continue}V++;const d=i.readdirCached();if(i.calledReaddir())this.walkCB3(i,d,p,next);else{i.readdirCB(((d,v)=>this.walkCB3(i,v,p,next)),true)}}next()}walkCB3(i,d,p,v){p=p.filterEntries(i,d);let V=1;const next=()=>{if(--V===0)v()};for(const[i,d,v]of p.matches.entries()){if(this.#Qe(i))continue;V++;this.match(i,d,v).then((()=>next()))}for(const[i,d]of p.subwalks.entries()){V++;this.walkCB2(i,d,p.child(),next)}next()}walkCBSync(i,d,p){if(this.signal?.aborted)p();this.walkCB2Sync(i,d,new K.Processor(this.opts),p)}walkCB2Sync(i,d,p,v){if(this.#be(i))return v();if(this.signal?.aborted)v();if(this.paused){this.onResume((()=>this.walkCB2Sync(i,d,p,v)));return}p.processPatterns(i,d);let V=1;const next=()=>{if(--V===0)v()};for(const[i,d,v]of p.matches.entries()){if(this.#Qe(i))continue;this.matchSync(i,d,v)}for(const i of p.subwalkTargets()){if(this.maxDepth!==Infinity&&i.depth()>=this.maxDepth){continue}V++;const d=i.readdirSync();this.walkCB3Sync(i,d,p,next)}next()}walkCB3Sync(i,d,p,v){p=p.filterEntries(i,d);let V=1;const next=()=>{if(--V===0)v()};for(const[i,d,v]of p.matches.entries()){if(this.#Qe(i))continue;this.matchSync(i,d,v)}for(const[i,d]of p.subwalks.entries()){V++;this.walkCB2Sync(i,d,p.child(),next)}next()}}d.GlobUtil=GlobUtil;class GlobWalker extends GlobUtil{matches;constructor(i,d,p){super(i,d,p);this.matches=new Set}matchEmit(i){this.matches.add(i)}async walk(){if(this.signal?.aborted)throw this.signal.reason;if(this.path.isUnknown()){await this.path.lstat()}await new Promise(((i,d)=>{this.walkCB(this.path,this.patterns,(()=>{if(this.signal?.aborted){d(this.signal.reason)}else{i(this.matches)}}))}));return this.matches}walkSync(){if(this.signal?.aborted)throw this.signal.reason;if(this.path.isUnknown()){this.path.lstatSync()}this.walkCBSync(this.path,this.patterns,(()=>{if(this.signal?.aborted)throw this.signal.reason}));return this.matches}}d.GlobWalker=GlobWalker;class GlobStream extends GlobUtil{results;constructor(i,d,p){super(i,d,p);this.results=new v.Minipass({signal:this.signal,objectMode:true});this.results.on("drain",(()=>this.resume()));this.results.on("resume",(()=>this.resume()))}matchEmit(i){this.results.write(i);if(!this.results.flowing)this.pause()}stream(){const i=this.path;if(i.isUnknown()){i.lstat().then((()=>{this.walkCB(i,this.patterns,(()=>this.results.end()))}))}else{this.walkCB(i,this.patterns,(()=>this.results.end()))}return this.results}streamSync(){if(this.path.isUnknown()){this.path.lstatSync()}this.walkCBSync(this.path,this.patterns,(()=>this.results.end()));return this.results}}d.GlobStream=GlobStream},86177:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.assertValidPattern=void 0;const p=1024*64;const assertValidPattern=i=>{if(typeof i!=="string"){throw new TypeError("invalid pattern")}if(i.length>p){throw new TypeError("pattern is too long")}};d.assertValidPattern=assertValidPattern},2275:(i,d,p)=>{Object.defineProperty(d,"__esModule",{value:true});d.AST=void 0;const v=p(90570);const V=p(28075);const K=new Set(["!","?","+","*","@"]);const isExtglobType=i=>K.has(i);const ee="(?!(?:^|/)\\.\\.?(?:$|/))";const te="(?!\\.)";const re=new Set(["[","."]);const ne=new Set(["..","."]);const se=new Set("().*{}+?[]^$\\!");const regExpEscape=i=>i.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");const ie="[^/]";const oe=ie+"*?";const ae=ie+"+?";class AST{type;#we;#Se;#Re=false;#ve=[];#ke;#Te;#Ne;#De=false;#h;#xe;#Fe=false;constructor(i,d,p={}){this.type=i;if(i)this.#Se=true;this.#ke=d;this.#we=this.#ke?this.#ke.#we:this;this.#h=this.#we===this?p:this.#we.#h;this.#Ne=this.#we===this?[]:this.#we.#Ne;if(i==="!"&&!this.#we.#De)this.#Ne.push(this);this.#Te=this.#ke?this.#ke.#ve.length:0}get hasMagic(){if(this.#Se!==undefined)return this.#Se;for(const i of this.#ve){if(typeof i==="string")continue;if(i.type||i.hasMagic)return this.#Se=true}return this.#Se}toString(){if(this.#xe!==undefined)return this.#xe;if(!this.type){return this.#xe=this.#ve.map((i=>String(i))).join("")}else{return this.#xe=this.type+"("+this.#ve.map((i=>String(i))).join("|")+")"}}#Pe(){if(this!==this.#we)throw new Error("should only call on root");if(this.#De)return this;this.toString();this.#De=true;let i;while(i=this.#Ne.pop()){if(i.type!=="!")continue;let d=i;let p=d.#ke;while(p){for(let v=d.#Te+1;!p.type&&vtypeof i==="string"?i:i.toJSON())):[this.type,...this.#ve.map((i=>i.toJSON()))];if(this.isStart()&&!this.type)i.unshift([]);if(this.isEnd()&&(this===this.#we||this.#we.#De&&this.#ke?.type==="!")){i.push({})}return i}isStart(){if(this.#we===this)return true;if(!this.#ke?.isStart())return false;if(this.#Te===0)return true;const i=this.#ke;for(let d=0;d{const[v,V,K,ee]=typeof d==="string"?AST.#_e(d,this.#Se,p):d.toRegExpSource(i);this.#Se=this.#Se||K;this.#Re=this.#Re||ee;return v})).join("");let K="";if(this.isStart()){if(typeof this.#ve[0]==="string"){const p=this.#ve.length===1&&ne.has(this.#ve[0]);if(!p){const p=re;const V=d&&p.has(v.charAt(0))||v.startsWith("\\.")&&p.has(v.charAt(2))||v.startsWith("\\.\\.")&&p.has(v.charAt(4));const ne=!d&&!i&&p.has(v.charAt(0));K=V?ee:ne?te:""}}}let se="";if(this.isEnd()&&this.#we.#De&&this.#ke?.type==="!"){se="(?:$|\\/)"}const ie=K+v+se;return[ie,(0,V.unescape)(v),this.#Se=!!this.#Se,this.#Re]}const p=this.type==="*"||this.type==="+";const v=this.type==="!"?"(?:(?!(?:":"(?:";let K=this.#Me(d);if(this.isStart()&&this.isEnd()&&!K&&this.type!=="!"){const i=this.toString();this.#ve=[i];this.type=null;this.#Se=undefined;return[i,(0,V.unescape)(this.toString()),false,false]}let se=!p||i||d||!te?"":this.#Me(true);if(se===K){se=""}if(se){K=`(?:${K})(?:${se})*?`}let ie="";if(this.type==="!"&&this.#Fe){ie=(this.isStart()&&!d?te:"")+ae}else{const p=this.type==="!"?"))"+(this.isStart()&&!d&&!i?te:"")+oe+")":this.type==="@"?")":this.type==="?"?")?":this.type==="+"&&se?")":this.type==="*"&&se?`)?`:`)${this.type}`;ie=v+K+p}return[ie,(0,V.unescape)(K),this.#Se=!!this.#Se,this.#Re]}#Me(i){return this.#ve.map((d=>{if(typeof d==="string"){throw new Error("string type in extglob ast??")}const[p,v,V,K]=d.toRegExpSource(i);this.#Re=this.#Re||K;return p})).filter((i=>!(this.isStart()&&this.isEnd())||!!i)).join("|")}static#_e(i,d,p=false){let K=false;let ee="";let te=false;for(let V=0;V{Object.defineProperty(d,"__esModule",{value:true});d.parseClass=void 0;const p={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",true],"[:alpha:]":["\\p{L}\\p{Nl}",true],"[:ascii:]":["\\x"+"00-\\x"+"7f",false],"[:blank:]":["\\p{Zs}\\t",true],"[:cntrl:]":["\\p{Cc}",true],"[:digit:]":["\\p{Nd}",true],"[:graph:]":["\\p{Z}\\p{C}",true,true],"[:lower:]":["\\p{Ll}",true],"[:print:]":["\\p{C}",true],"[:punct:]":["\\p{P}",true],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",true],"[:upper:]":["\\p{Lu}",true],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",true],"[:xdigit:]":["A-Fa-f0-9",false]};const braceEscape=i=>i.replace(/[[\]\\-]/g,"\\$&");const regexpEscape=i=>i.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");const rangesToString=i=>i.join("");const parseClass=(i,d)=>{const v=d;if(i.charAt(v)!=="["){throw new Error("not in a brace expression")}const V=[];const K=[];let ee=v+1;let te=false;let re=false;let ne=false;let se=false;let ie=v;let oe="";e:while(eeoe){V.push(braceEscape(oe)+"-"+braceEscape(d))}else if(d===oe){V.push(braceEscape(d))}oe="";ee++;continue}if(i.startsWith("-]",ee+1)){V.push(braceEscape(d+"-"));ee+=2;continue}if(i.startsWith("-",ee+1)){oe=d;ee+=2;continue}V.push(braceEscape(d));ee++}if(ie{Object.defineProperty(d,"__esModule",{value:true});d.escape=void 0;const escape=(i,{windowsPathsNoEscape:d=false}={})=>d?i.replace(/[?*()[\]]/g,"[$&]"):i.replace(/[?*()[\]\\]/g,"\\$&");d.escape=escape},62883:function(i,d,p){var v=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(d,"__esModule",{value:true});d.unescape=d.escape=d.AST=d.Minimatch=d.match=d.makeRe=d.braceExpand=d.defaults=d.filter=d.GLOBSTAR=d.sep=d.minimatch=void 0;const V=v(p(94691));const K=p(86177);const ee=p(2275);const te=p(42600);const re=p(28075);const minimatch=(i,d,p={})=>{(0,K.assertValidPattern)(d);if(!p.nocomment&&d.charAt(0)==="#"){return false}return new Minimatch(d,p).match(i)};d.minimatch=minimatch;const ne=/^\*+([^+@!?\*\[\(]*)$/;const starDotExtTest=i=>d=>!d.startsWith(".")&&d.endsWith(i);const starDotExtTestDot=i=>d=>d.endsWith(i);const starDotExtTestNocase=i=>{i=i.toLowerCase();return d=>!d.startsWith(".")&&d.toLowerCase().endsWith(i)};const starDotExtTestNocaseDot=i=>{i=i.toLowerCase();return d=>d.toLowerCase().endsWith(i)};const se=/^\*+\.\*+$/;const starDotStarTest=i=>!i.startsWith(".")&&i.includes(".");const starDotStarTestDot=i=>i!=="."&&i!==".."&&i.includes(".");const ie=/^\.\*+$/;const dotStarTest=i=>i!=="."&&i!==".."&&i.startsWith(".");const oe=/^\*+$/;const starTest=i=>i.length!==0&&!i.startsWith(".");const starTestDot=i=>i.length!==0&&i!=="."&&i!=="..";const ae=/^\?+([^+@!?\*\[\(]*)?$/;const qmarksTestNocase=([i,d=""])=>{const p=qmarksTestNoExt([i]);if(!d)return p;d=d.toLowerCase();return i=>p(i)&&i.toLowerCase().endsWith(d)};const qmarksTestNocaseDot=([i,d=""])=>{const p=qmarksTestNoExtDot([i]);if(!d)return p;d=d.toLowerCase();return i=>p(i)&&i.toLowerCase().endsWith(d)};const qmarksTestDot=([i,d=""])=>{const p=qmarksTestNoExtDot([i]);return!d?p:i=>p(i)&&i.endsWith(d)};const qmarksTest=([i,d=""])=>{const p=qmarksTestNoExt([i]);return!d?p:i=>p(i)&&i.endsWith(d)};const qmarksTestNoExt=([i])=>{const d=i.length;return i=>i.length===d&&!i.startsWith(".")};const qmarksTestNoExtDot=([i])=>{const d=i.length;return i=>i.length===d&&i!=="."&&i!==".."};const Ae=typeof process==="object"&&process?typeof process.env==="object"&&process.env&&process.env.__MINIMATCH_TESTING_PLATFORM__||process.platform:"posix";const ce={win32:{sep:"\\"},posix:{sep:"/"}};d.sep=Ae==="win32"?ce.win32.sep:ce.posix.sep;d.minimatch.sep=d.sep;d.GLOBSTAR=Symbol("globstar **");d.minimatch.GLOBSTAR=d.GLOBSTAR;const le="[^/]";const ue=le+"*?";const de="(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?";const he="(?:(?!(?:\\/|^)\\.).)*?";const filter=(i,p={})=>v=>(0,d.minimatch)(v,i,p);d.filter=filter;d.minimatch.filter=d.filter;const ext=(i,d={})=>Object.assign({},i,d);const defaults=i=>{if(!i||typeof i!=="object"||!Object.keys(i).length){return d.minimatch}const p=d.minimatch;const m=(d,v,V={})=>p(d,v,ext(i,V));return Object.assign(m,{Minimatch:class Minimatch extends p.Minimatch{constructor(d,p={}){super(d,ext(i,p))}static defaults(d){return p.defaults(ext(i,d)).Minimatch}},AST:class AST extends p.AST{constructor(d,p,v={}){super(d,p,ext(i,v))}static fromGlob(d,v={}){return p.AST.fromGlob(d,ext(i,v))}},unescape:(d,v={})=>p.unescape(d,ext(i,v)),escape:(d,v={})=>p.escape(d,ext(i,v)),filter:(d,v={})=>p.filter(d,ext(i,v)),defaults:d=>p.defaults(ext(i,d)),makeRe:(d,v={})=>p.makeRe(d,ext(i,v)),braceExpand:(d,v={})=>p.braceExpand(d,ext(i,v)),match:(d,v,V={})=>p.match(d,v,ext(i,V)),sep:p.sep,GLOBSTAR:d.GLOBSTAR})};d.defaults=defaults;d.minimatch.defaults=d.defaults;const braceExpand=(i,d={})=>{(0,K.assertValidPattern)(i);if(d.nobrace||!/\{(?:(?!\{).)*\}/.test(i)){return[i]}return(0,V.default)(i)};d.braceExpand=braceExpand;d.minimatch.braceExpand=d.braceExpand;const makeRe=(i,d={})=>new Minimatch(i,d).makeRe();d.makeRe=makeRe;d.minimatch.makeRe=d.makeRe;const match=(i,d,p={})=>{const v=new Minimatch(d,p);i=i.filter((i=>v.match(i)));if(v.options.nonull&&!i.length){i.push(d)}return i};d.match=match;d.minimatch.match=d.match;const fe=/[?*]|[+@!]\(.*?\)|\[|\]/;const regExpEscape=i=>i.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&");class Minimatch{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;regexp;constructor(i,d={}){(0,K.assertValidPattern)(i);d=d||{};this.options=d;this.pattern=i;this.platform=d.platform||Ae;this.isWindows=this.platform==="win32";this.windowsPathsNoEscape=!!d.windowsPathsNoEscape||d.allowWindowsEscape===false;if(this.windowsPathsNoEscape){this.pattern=this.pattern.replace(/\\/g,"/")}this.preserveMultipleSlashes=!!d.preserveMultipleSlashes;this.regexp=null;this.negate=false;this.nonegate=!!d.nonegate;this.comment=false;this.empty=false;this.partial=!!d.partial;this.nocase=!!this.options.nocase;this.windowsNoMagicRoot=d.windowsNoMagicRoot!==undefined?d.windowsNoMagicRoot:!!(this.isWindows&&this.nocase);this.globSet=[];this.globParts=[];this.set=[];this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1){return true}for(const i of this.set){for(const d of i){if(typeof d!=="string")return true}}return false}debug(...i){}make(){const i=this.pattern;const d=this.options;if(!d.nocomment&&i.charAt(0)==="#"){this.comment=true;return}if(!i){this.empty=true;return}this.parseNegate();this.globSet=[...new Set(this.braceExpand())];if(d.debug){this.debug=(...i)=>console.error(...i)}this.debug(this.pattern,this.globSet);const p=this.globSet.map((i=>this.slashSplit(i)));this.globParts=this.preprocess(p);this.debug(this.pattern,this.globParts);let v=this.globParts.map(((i,d,p)=>{if(this.isWindows&&this.windowsNoMagicRoot){const d=i[0]===""&&i[1]===""&&(i[2]==="?"||!fe.test(i[2]))&&!fe.test(i[3]);const p=/^[a-z]:/i.test(i[0]);if(d){return[...i.slice(0,4),...i.slice(4).map((i=>this.parse(i)))]}else if(p){return[i[0],...i.slice(1).map((i=>this.parse(i)))]}}return i.map((i=>this.parse(i)))}));this.debug(this.pattern,v);this.set=v.filter((i=>i.indexOf(false)===-1));if(this.isWindows){for(let i=0;i=2){i=this.firstPhasePreProcess(i);i=this.secondPhasePreProcess(i)}else if(d>=1){i=this.levelOneOptimize(i)}else{i=this.adjascentGlobstarOptimize(i)}return i}adjascentGlobstarOptimize(i){return i.map((i=>{let d=-1;while(-1!==(d=i.indexOf("**",d+1))){let p=d;while(i[p+1]==="**"){p++}if(p!==d){i.splice(d,p-d)}}return i}))}levelOneOptimize(i){return i.map((i=>{i=i.reduce(((i,d)=>{const p=i[i.length-1];if(d==="**"&&p==="**"){return i}if(d===".."){if(p&&p!==".."&&p!=="."&&p!=="**"){i.pop();return i}}i.push(d);return i}),[]);return i.length===0?[""]:i}))}levelTwoFileOptimize(i){if(!Array.isArray(i)){i=this.slashSplit(i)}let d=false;do{d=false;if(!this.preserveMultipleSlashes){for(let p=1;pv){p.splice(v+1,V-v)}let K=p[v+1];const ee=p[v+2];const te=p[v+3];if(K!=="..")continue;if(!ee||ee==="."||ee===".."||!te||te==="."||te===".."){continue}d=true;p.splice(v,1);const re=p.slice(0);re[v]="**";i.push(re);v--}if(!this.preserveMultipleSlashes){for(let i=1;ii.length))}partsMatch(i,d,p=false){let v=0;let V=0;let K=[];let ee="";while(vee){p=p.slice(te)}else if(ee>te){i=i.slice(ee)}}}}const{optimizationLevel:K=1}=this.options;if(K>=2){i=this.levelTwoFileOptimize(i)}this.debug("matchOne",this,{file:i,pattern:p});this.debug("matchOne",i.length,p.length);for(var ee=0,te=0,re=i.length,ne=p.length;ee>> no match, partial?",i,oe,p,ae);if(oe===re){return true}}return false}let K;if(typeof se==="string"){K=ie===se;this.debug("string match",se,ie,K)}else{K=se.test(ie);this.debug("pattern match",se,ie,K)}if(!K)return false}if(ee===re&&te===ne){return true}else if(ee===re){return v}else if(te===ne){return ee===re-1&&i[ee]===""}else{throw new Error("wtf?")}}braceExpand(){return(0,d.braceExpand)(this.pattern,this.options)}parse(i){(0,K.assertValidPattern)(i);const p=this.options;if(i==="**")return d.GLOBSTAR;if(i==="")return"";let v;let V=null;if(v=i.match(oe)){V=p.dot?starTestDot:starTest}else if(v=i.match(ne)){V=(p.nocase?p.dot?starDotExtTestNocaseDot:starDotExtTestNocase:p.dot?starDotExtTestDot:starDotExtTest)(v[1])}else if(v=i.match(ae)){V=(p.nocase?p.dot?qmarksTestNocaseDot:qmarksTestNocase:p.dot?qmarksTestDot:qmarksTest)(v)}else if(v=i.match(se)){V=p.dot?starDotStarTestDot:starDotStarTest}else if(v=i.match(ie)){V=dotStarTest}const te=ee.AST.fromGlob(i,this.options).toMMPattern();if(V&&typeof te==="object"){Reflect.defineProperty(te,"test",{value:V})}return te}makeRe(){if(this.regexp||this.regexp===false)return this.regexp;const i=this.set;if(!i.length){this.regexp=false;return this.regexp}const p=this.options;const v=p.noglobstar?ue:p.dot?de:he;const V=new Set(p.nocase?["i"]:[]);let K=i.map((i=>{const p=i.map((i=>{if(i instanceof RegExp){for(const d of i.flags.split(""))V.add(d)}return typeof i==="string"?regExpEscape(i):i===d.GLOBSTAR?d.GLOBSTAR:i._src}));p.forEach(((i,V)=>{const K=p[V+1];const ee=p[V-1];if(i!==d.GLOBSTAR||ee===d.GLOBSTAR){return}if(ee===undefined){if(K!==undefined&&K!==d.GLOBSTAR){p[V+1]="(?:\\/|"+v+"\\/)?"+K}else{p[V]=v}}else if(K===undefined){p[V-1]=ee+"(?:\\/|"+v+")?"}else if(K!==d.GLOBSTAR){p[V-1]=ee+"(?:\\/|\\/"+v+"\\/)"+K;p[V+1]=d.GLOBSTAR}}));return p.filter((i=>i!==d.GLOBSTAR)).join("/")})).join("|");const[ee,te]=i.length>1?["(?:",")"]:["",""];K="^"+ee+K+te+"$";if(this.negate)K="^(?!"+K+").+$";try{this.regexp=new RegExp(K,[...V].join(""))}catch(i){this.regexp=false}return this.regexp}slashSplit(i){if(this.preserveMultipleSlashes){return i.split("/")}else if(this.isWindows&&/^\/\/[^\/]+/.test(i)){return["",...i.split(/\/+/)]}else{return i.split(/\/+/)}}match(i,d=this.partial){this.debug("match",i,this.pattern);if(this.comment){return false}if(this.empty){return i===""}if(i==="/"&&d){return true}const p=this.options;if(this.isWindows){i=i.split("\\").join("/")}const v=this.slashSplit(i);this.debug(this.pattern,"split",v);const V=this.set;this.debug(this.pattern,"set",V);let K=v[v.length-1];if(!K){for(let i=v.length-2;!K&&i>=0;i--){K=v[i]}}for(let i=0;i{Object.defineProperty(d,"__esModule",{value:true});d.unescape=void 0;const unescape=(i,{windowsPathsNoEscape:d=false}={})=>d?i.replace(/\[([^\/\\])\]/g,"$1"):i.replace(/((?!\\).|^)\[([^\/\\])\]/g,"$1$2").replace(/\\([^\/])/g,"$1");d.unescape=unescape},32477:(i,d)=>{Object.defineProperty(d,"__esModule",{value:true});d.LRUCache=void 0;const p=typeof performance==="object"&&performance&&typeof performance.now==="function"?performance:Date;const v=new Set;const V=typeof process==="object"&&!!process?process:{};const emitWarning=(i,d,p,v)=>{typeof V.emitWarning==="function"?V.emitWarning(i,d,p,v):console.error(`[${p}] ${d}: ${i}`)};let K=globalThis.AbortController;let ee=globalThis.AbortSignal;if(typeof K==="undefined"){ee=class AbortSignal{onabort;_onabort=[];reason;aborted=false;addEventListener(i,d){this._onabort.push(d)}};K=class AbortController{constructor(){warnACPolyfill()}signal=new ee;abort(i){if(this.signal.aborted)return;this.signal.reason=i;this.signal.aborted=true;for(const d of this.signal._onabort){d(i)}this.signal.onabort?.(i)}};let i=V.env?.LRU_CACHE_IGNORE_AC_WARNING!=="1";const warnACPolyfill=()=>{if(!i)return;i=false;emitWarning("AbortController is not defined. If using lru-cache in "+"node 14, load an AbortController polyfill from the "+"`node-abort-controller` package. A minimal polyfill is "+"provided for use by LRUCache.fetch(), but it should not be "+"relied upon in other contexts (eg, passing it to other APIs that "+"use AbortController/AbortSignal might have undesirable effects). "+"You may disable this with LRU_CACHE_IGNORE_AC_WARNING=1 in the env.","NO_ABORT_CONTROLLER","ENOTSUP",warnACPolyfill)}}const shouldWarn=i=>!v.has(i);const te=Symbol("type");const isPosInt=i=>i&&i===Math.floor(i)&&i>0&&isFinite(i);const getUintArray=i=>!isPosInt(i)?null:i<=Math.pow(2,8)?Uint8Array:i<=Math.pow(2,16)?Uint16Array:i<=Math.pow(2,32)?Uint32Array:i<=Number.MAX_SAFE_INTEGER?ZeroArray:null;class ZeroArray extends Array{constructor(i){super(i);this.fill(0)}}class Stack{heap;length;static#Ue=false;static create(i){const d=getUintArray(i);if(!d)return[];Stack.#Ue=true;const p=new Stack(i,d);Stack.#Ue=false;return p}constructor(i,d){if(!Stack.#Ue){throw new TypeError("instantiate Stack using Stack.create(n)")}this.heap=new d(i);this.length=0}push(i){this.heap[this.length++]=i}pop(){return this.heap[--this.length]}}class LRUCache{#Oe;#B;#He;#Ge;#Ve;ttl;ttlResolution;ttlAutopurge;updateAgeOnGet;updateAgeOnHas;allowStale;noDisposeOnSet;noUpdateTTL;maxEntrySize;sizeCalculation;noDeleteOnFetchRejection;noDeleteOnStaleGet;allowStaleOnFetchAbort;allowStaleOnFetchRejection;ignoreFetchAbort;#S;#qe;#Ye;#je;#Je;#We;#ze;#$e;#Ke;#Xe;#Ze;#et;#tt;#rt;#nt;#st;#it;static unsafeExposeInternals(i){return{starts:i.#tt,ttls:i.#rt,sizes:i.#et,keyMap:i.#Ye,keyList:i.#je,valList:i.#Je,next:i.#We,prev:i.#ze,get head(){return i.#$e},get tail(){return i.#Ke},free:i.#Xe,isBackgroundFetch:d=>i.#ot(d),backgroundFetch:(d,p,v,V)=>i.#at(d,p,v,V),moveToTail:d=>i.#At(d),indexes:d=>i.#ct(d),rindexes:d=>i.#lt(d),isStale:d=>i.#ut(d)}}get max(){return this.#Oe}get maxSize(){return this.#B}get calculatedSize(){return this.#qe}get size(){return this.#S}get fetchMethod(){return this.#Ve}get dispose(){return this.#He}get disposeAfter(){return this.#Ge}constructor(i){const{max:d=0,ttl:p,ttlResolution:V=1,ttlAutopurge:K,updateAgeOnGet:ee,updateAgeOnHas:te,allowStale:re,dispose:ne,disposeAfter:se,noDisposeOnSet:ie,noUpdateTTL:oe,maxSize:ae=0,maxEntrySize:Ae=0,sizeCalculation:ce,fetchMethod:le,noDeleteOnFetchRejection:ue,noDeleteOnStaleGet:de,allowStaleOnFetchRejection:he,allowStaleOnFetchAbort:fe,ignoreFetchAbort:ge}=i;if(d!==0&&!isPosInt(d)){throw new TypeError("max option must be a nonnegative integer")}const pe=d?getUintArray(d):Array;if(!pe){throw new Error("invalid max value: "+d)}this.#Oe=d;this.#B=ae;this.maxEntrySize=Ae||this.#B;this.sizeCalculation=ce;if(this.sizeCalculation){if(!this.#B&&!this.maxEntrySize){throw new TypeError("cannot set sizeCalculation without setting maxSize or maxEntrySize")}if(typeof this.sizeCalculation!=="function"){throw new TypeError("sizeCalculation set to non-function")}}if(le!==undefined&&typeof le!=="function"){throw new TypeError("fetchMethod must be a function if specified")}this.#Ve=le;this.#st=!!le;this.#Ye=new Map;this.#je=new Array(d).fill(undefined);this.#Je=new Array(d).fill(undefined);this.#We=new pe(d);this.#ze=new pe(d);this.#$e=0;this.#Ke=0;this.#Xe=Stack.create(d);this.#S=0;this.#qe=0;if(typeof ne==="function"){this.#He=ne}if(typeof se==="function"){this.#Ge=se;this.#Ze=[]}else{this.#Ge=undefined;this.#Ze=undefined}this.#nt=!!this.#He;this.#it=!!this.#Ge;this.noDisposeOnSet=!!ie;this.noUpdateTTL=!!oe;this.noDeleteOnFetchRejection=!!ue;this.allowStaleOnFetchRejection=!!he;this.allowStaleOnFetchAbort=!!fe;this.ignoreFetchAbort=!!ge;if(this.maxEntrySize!==0){if(this.#B!==0){if(!isPosInt(this.#B)){throw new TypeError("maxSize must be a positive integer if specified")}}if(!isPosInt(this.maxEntrySize)){throw new TypeError("maxEntrySize must be a positive integer if specified")}this.#dt()}this.allowStale=!!re;this.noDeleteOnStaleGet=!!de;this.updateAgeOnGet=!!ee;this.updateAgeOnHas=!!te;this.ttlResolution=isPosInt(V)||V===0?V:1;this.ttlAutopurge=!!K;this.ttl=p||0;if(this.ttl){if(!isPosInt(this.ttl)){throw new TypeError("ttl must be a positive integer if specified")}this.#ht()}if(this.#Oe===0&&this.ttl===0&&this.#B===0){throw new TypeError("At least one of max, maxSize, or ttl is required")}if(!this.ttlAutopurge&&!this.#Oe&&!this.#B){const i="LRU_CACHE_UNBOUNDED";if(shouldWarn(i)){v.add(i);const d="TTL caching without ttlAutopurge, max, or maxSize can "+"result in unbounded memory consumption.";emitWarning(d,"UnboundedCacheWarning",i,LRUCache)}}}getRemainingTTL(i){return this.#Ye.has(i)?Infinity:0}#ht(){const i=new ZeroArray(this.#Oe);const d=new ZeroArray(this.#Oe);this.#rt=i;this.#tt=d;this.#ft=(v,V,K=p.now())=>{d[v]=V!==0?K:0;i[v]=V;if(V!==0&&this.ttlAutopurge){const i=setTimeout((()=>{if(this.#ut(v)){this.delete(this.#je[v])}}),V+1);if(i.unref){i.unref()}}};this.#gt=v=>{d[v]=i[v]!==0?p.now():0};this.#pt=(p,V)=>{if(i[V]){const K=i[V];const ee=d[V];if(!K||!ee)return;p.ttl=K;p.start=ee;p.now=v||getNow();const te=p.now-ee;p.remainingTTL=K-te}};let v=0;const getNow=()=>{const i=p.now();if(this.ttlResolution>0){v=i;const d=setTimeout((()=>v=0),this.ttlResolution);if(d.unref){d.unref()}}return i};this.getRemainingTTL=p=>{const V=this.#Ye.get(p);if(V===undefined){return 0}const K=i[V];const ee=d[V];if(!K||!ee){return Infinity}const te=(v||getNow())-ee;return K-te};this.#ut=p=>{const V=d[p];const K=i[p];return!!K&&!!V&&(v||getNow())-V>K}}#gt=()=>{};#pt=()=>{};#ft=()=>{};#ut=()=>false;#dt(){const i=new ZeroArray(this.#Oe);this.#qe=0;this.#et=i;this.#mt=d=>{this.#qe-=i[d];i[d]=0};this.#Et=(i,d,p,v)=>{if(this.#ot(d)){return 0}if(!isPosInt(p)){if(v){if(typeof v!=="function"){throw new TypeError("sizeCalculation must be a function")}p=v(d,i);if(!isPosInt(p)){throw new TypeError("sizeCalculation return invalid (expect positive integer)")}}else{throw new TypeError("invalid size value (must be positive integer). "+"When maxSize or maxEntrySize is used, sizeCalculation "+"or size must be set.")}}return p};this.#Ct=(d,p,v)=>{i[d]=p;if(this.#B){const p=this.#B-i[d];while(this.#qe>p){this.#yt(true)}}this.#qe+=i[d];if(v){v.entrySize=p;v.totalCalculatedSize=this.#qe}}}#mt=i=>{};#Ct=(i,d,p)=>{};#Et=(i,d,p,v)=>{if(p||v){throw new TypeError("cannot set size without setting maxSize or maxEntrySize on cache")}return 0};*#ct({allowStale:i=this.allowStale}={}){if(this.#S){for(let d=this.#Ke;true;){if(!this.#It(d)){break}if(i||!this.#ut(d)){yield d}if(d===this.#$e){break}else{d=this.#ze[d]}}}}*#lt({allowStale:i=this.allowStale}={}){if(this.#S){for(let d=this.#$e;true;){if(!this.#It(d)){break}if(i||!this.#ut(d)){yield d}if(d===this.#Ke){break}else{d=this.#We[d]}}}}#It(i){return i!==undefined&&this.#Ye.get(this.#je[i])===i}*entries(){for(const i of this.#ct()){if(this.#Je[i]!==undefined&&this.#je[i]!==undefined&&!this.#ot(this.#Je[i])){yield[this.#je[i],this.#Je[i]]}}}*rentries(){for(const i of this.#lt()){if(this.#Je[i]!==undefined&&this.#je[i]!==undefined&&!this.#ot(this.#Je[i])){yield[this.#je[i],this.#Je[i]]}}}*keys(){for(const i of this.#ct()){const d=this.#je[i];if(d!==undefined&&!this.#ot(this.#Je[i])){yield d}}}*rkeys(){for(const i of this.#lt()){const d=this.#je[i];if(d!==undefined&&!this.#ot(this.#Je[i])){yield d}}}*values(){for(const i of this.#ct()){const d=this.#Je[i];if(d!==undefined&&!this.#ot(this.#Je[i])){yield this.#Je[i]}}}*rvalues(){for(const i of this.#lt()){const d=this.#Je[i];if(d!==undefined&&!this.#ot(this.#Je[i])){yield this.#Je[i]}}}[Symbol.iterator](){return this.entries()}[Symbol.toStringTag]="LRUCache";find(i,d={}){for(const p of this.#ct()){const v=this.#Je[p];const V=this.#ot(v)?v.__staleWhileFetching:v;if(V===undefined)continue;if(i(V,this.#je[p],this)){return this.get(this.#je[p],d)}}}forEach(i,d=this){for(const p of this.#ct()){const v=this.#Je[p];const V=this.#ot(v)?v.__staleWhileFetching:v;if(V===undefined)continue;i.call(d,V,this.#je[p],this)}}rforEach(i,d=this){for(const p of this.#lt()){const v=this.#Je[p];const V=this.#ot(v)?v.__staleWhileFetching:v;if(V===undefined)continue;i.call(d,V,this.#je[p],this)}}purgeStale(){let i=false;for(const d of this.#lt({allowStale:true})){if(this.#ut(d)){this.delete(this.#je[d]);i=true}}return i}info(i){const d=this.#Ye.get(i);if(d===undefined)return undefined;const v=this.#Je[d];const V=this.#ot(v)?v.__staleWhileFetching:v;if(V===undefined)return undefined;const K={value:V};if(this.#rt&&this.#tt){const i=this.#rt[d];const v=this.#tt[d];if(i&&v){const d=i-(p.now()-v);K.ttl=d;K.start=Date.now()}}if(this.#et){K.size=this.#et[d]}return K}dump(){const i=[];for(const d of this.#ct({allowStale:true})){const v=this.#je[d];const V=this.#Je[d];const K=this.#ot(V)?V.__staleWhileFetching:V;if(K===undefined||v===undefined)continue;const ee={value:K};if(this.#rt&&this.#tt){ee.ttl=this.#rt[d];const i=p.now()-this.#tt[d];ee.start=Math.floor(Date.now()-i)}if(this.#et){ee.size=this.#et[d]}i.unshift([v,ee])}return i}load(i){this.clear();for(const[d,v]of i){if(v.start){const i=Date.now()-v.start;v.start=p.now()-i}this.set(d,v.value,v)}}set(i,d,p={}){if(d===undefined){this.delete(i);return this}const{ttl:v=this.ttl,start:V,noDisposeOnSet:K=this.noDisposeOnSet,sizeCalculation:ee=this.sizeCalculation,status:te}=p;let{noUpdateTTL:re=this.noUpdateTTL}=p;const ne=this.#Et(i,d,p.size||0,ee);if(this.maxEntrySize&&ne>this.maxEntrySize){if(te){te.set="miss";te.maxEntrySizeExceeded=true}this.delete(i);return this}let se=this.#S===0?undefined:this.#Ye.get(i);if(se===undefined){se=this.#S===0?this.#Ke:this.#Xe.length!==0?this.#Xe.pop():this.#S===this.#Oe?this.#yt(false):this.#S;this.#je[se]=i;this.#Je[se]=d;this.#Ye.set(i,se);this.#We[this.#Ke]=se;this.#ze[se]=this.#Ke;this.#Ke=se;this.#S++;this.#Ct(se,ne,te);if(te)te.set="add";re=false}else{this.#At(se);const p=this.#Je[se];if(d!==p){if(this.#st&&this.#ot(p)){p.__abortController.abort(new Error("replaced"));const{__staleWhileFetching:d}=p;if(d!==undefined&&!K){if(this.#nt){this.#He?.(d,i,"set")}if(this.#it){this.#Ze?.push([d,i,"set"])}}}else if(!K){if(this.#nt){this.#He?.(p,i,"set")}if(this.#it){this.#Ze?.push([p,i,"set"])}}this.#mt(se);this.#Ct(se,ne,te);this.#Je[se]=d;if(te){te.set="replace";const i=p&&this.#ot(p)?p.__staleWhileFetching:p;if(i!==undefined)te.oldValue=i}}else if(te){te.set="update"}}if(v!==0&&!this.#rt){this.#ht()}if(this.#rt){if(!re){this.#ft(se,v,V)}if(te)this.#pt(te,se)}if(!K&&this.#it&&this.#Ze){const i=this.#Ze;let d;while(d=i?.shift()){this.#Ge?.(...d)}}return this}pop(){try{while(this.#S){const i=this.#Je[this.#$e];this.#yt(true);if(this.#ot(i)){if(i.__staleWhileFetching){return i.__staleWhileFetching}}else if(i!==undefined){return i}}}finally{if(this.#it&&this.#Ze){const i=this.#Ze;let d;while(d=i?.shift()){this.#Ge?.(...d)}}}}#yt(i){const d=this.#$e;const p=this.#je[d];const v=this.#Je[d];if(this.#st&&this.#ot(v)){v.__abortController.abort(new Error("evicted"))}else if(this.#nt||this.#it){if(this.#nt){this.#He?.(v,p,"evict")}if(this.#it){this.#Ze?.push([v,p,"evict"])}}this.#mt(d);if(i){this.#je[d]=undefined;this.#Je[d]=undefined;this.#Xe.push(d)}if(this.#S===1){this.#$e=this.#Ke=0;this.#Xe.length=0}else{this.#$e=this.#We[d]}this.#Ye.delete(p);this.#S--;return d}has(i,d={}){const{updateAgeOnHas:p=this.updateAgeOnHas,status:v}=d;const V=this.#Ye.get(i);if(V!==undefined){const i=this.#Je[V];if(this.#ot(i)&&i.__staleWhileFetching===undefined){return false}if(!this.#ut(V)){if(p){this.#gt(V)}if(v){v.has="hit";this.#pt(v,V)}return true}else if(v){v.has="stale";this.#pt(v,V)}}else if(v){v.has="miss"}return false}peek(i,d={}){const{allowStale:p=this.allowStale}=d;const v=this.#Ye.get(i);if(v===undefined||!p&&this.#ut(v)){return}const V=this.#Je[v];return this.#ot(V)?V.__staleWhileFetching:V}#at(i,d,p,v){const V=d===undefined?undefined:this.#Je[d];if(this.#ot(V)){return V}const ee=new K;const{signal:te}=p;te?.addEventListener("abort",(()=>ee.abort(te.reason)),{signal:ee.signal});const re={signal:ee.signal,options:p,context:v};const cb=(v,V=false)=>{const{aborted:K}=ee.signal;const te=p.ignoreFetchAbort&&v!==undefined;if(p.status){if(K&&!V){p.status.fetchAborted=true;p.status.fetchError=ee.signal.reason;if(te)p.status.fetchAbortIgnored=true}else{p.status.fetchResolved=true}}if(K&&!te&&!V){return fetchFail(ee.signal.reason)}const se=ne;if(this.#Je[d]===ne){if(v===undefined){if(se.__staleWhileFetching){this.#Je[d]=se.__staleWhileFetching}else{this.delete(i)}}else{if(p.status)p.status.fetchUpdated=true;this.set(i,v,re.options)}}return v};const eb=i=>{if(p.status){p.status.fetchRejected=true;p.status.fetchError=i}return fetchFail(i)};const fetchFail=v=>{const{aborted:V}=ee.signal;const K=V&&p.allowStaleOnFetchAbort;const te=K||p.allowStaleOnFetchRejection;const re=te||p.noDeleteOnFetchRejection;const se=ne;if(this.#Je[d]===ne){const p=!re||se.__staleWhileFetching===undefined;if(p){this.delete(i)}else if(!K){this.#Je[d]=se.__staleWhileFetching}}if(te){if(p.status&&se.__staleWhileFetching!==undefined){p.status.returnedStale=true}return se.__staleWhileFetching}else if(se.__returned===se){throw v}};const pcall=(d,v)=>{const K=this.#Ve?.(i,V,re);if(K&&K instanceof Promise){K.then((i=>d(i===undefined?undefined:i)),v)}ee.signal.addEventListener("abort",(()=>{if(!p.ignoreFetchAbort||p.allowStaleOnFetchAbort){d(undefined);if(p.allowStaleOnFetchAbort){d=i=>cb(i,true)}}}))};if(p.status)p.status.fetchDispatched=true;const ne=new Promise(pcall).then(cb,eb);const se=Object.assign(ne,{__abortController:ee,__staleWhileFetching:V,__returned:undefined});if(d===undefined){this.set(i,se,{...re.options,status:undefined});d=this.#Ye.get(i)}else{this.#Je[d]=se}return se}#ot(i){if(!this.#st)return false;const d=i;return!!d&&d instanceof Promise&&d.hasOwnProperty("__staleWhileFetching")&&d.__abortController instanceof K}async fetch(i,d={}){const{allowStale:p=this.allowStale,updateAgeOnGet:v=this.updateAgeOnGet,noDeleteOnStaleGet:V=this.noDeleteOnStaleGet,ttl:K=this.ttl,noDisposeOnSet:ee=this.noDisposeOnSet,size:te=0,sizeCalculation:re=this.sizeCalculation,noUpdateTTL:ne=this.noUpdateTTL,noDeleteOnFetchRejection:se=this.noDeleteOnFetchRejection,allowStaleOnFetchRejection:ie=this.allowStaleOnFetchRejection,ignoreFetchAbort:oe=this.ignoreFetchAbort,allowStaleOnFetchAbort:ae=this.allowStaleOnFetchAbort,context:Ae,forceRefresh:ce=false,status:le,signal:ue}=d;if(!this.#st){if(le)le.fetch="get";return this.get(i,{allowStale:p,updateAgeOnGet:v,noDeleteOnStaleGet:V,status:le})}const de={allowStale:p,updateAgeOnGet:v,noDeleteOnStaleGet:V,ttl:K,noDisposeOnSet:ee,size:te,sizeCalculation:re,noUpdateTTL:ne,noDeleteOnFetchRejection:se,allowStaleOnFetchRejection:ie,allowStaleOnFetchAbort:ae,ignoreFetchAbort:oe,status:le,signal:ue};let he=this.#Ye.get(i);if(he===undefined){if(le)le.fetch="miss";const d=this.#at(i,he,de,Ae);return d.__returned=d}else{const d=this.#Je[he];if(this.#ot(d)){const i=p&&d.__staleWhileFetching!==undefined;if(le){le.fetch="inflight";if(i)le.returnedStale=true}return i?d.__staleWhileFetching:d.__returned=d}const V=this.#ut(he);if(!ce&&!V){if(le)le.fetch="hit";this.#At(he);if(v){this.#gt(he)}if(le)this.#pt(le,he);return d}const K=this.#at(i,he,de,Ae);const ee=K.__staleWhileFetching!==undefined;const te=ee&&p;if(le){le.fetch=V?"stale":"refresh";if(te&&V)le.returnedStale=true}return te?K.__staleWhileFetching:K.__returned=K}}get(i,d={}){const{allowStale:p=this.allowStale,updateAgeOnGet:v=this.updateAgeOnGet,noDeleteOnStaleGet:V=this.noDeleteOnStaleGet,status:K}=d;const ee=this.#Ye.get(i);if(ee!==undefined){const d=this.#Je[ee];const te=this.#ot(d);if(K)this.#pt(K,ee);if(this.#ut(ee)){if(K)K.get="stale";if(!te){if(!V){this.delete(i)}if(K&&p)K.returnedStale=true;return p?d:undefined}else{if(K&&p&&d.__staleWhileFetching!==undefined){K.returnedStale=true}return p?d.__staleWhileFetching:undefined}}else{if(K)K.get="hit";if(te){return d.__staleWhileFetching}this.#At(ee);if(v){this.#gt(ee)}return d}}else if(K){K.get="miss"}}#H(i,d){this.#ze[d]=i;this.#We[i]=d}#At(i){if(i!==this.#Ke){if(i===this.#$e){this.#$e=this.#We[i]}else{this.#H(this.#ze[i],this.#We[i])}this.#H(this.#Ke,i);this.#Ke=i}}delete(i){let d=false;if(this.#S!==0){const p=this.#Ye.get(i);if(p!==undefined){d=true;if(this.#S===1){this.clear()}else{this.#mt(p);const d=this.#Je[p];if(this.#ot(d)){d.__abortController.abort(new Error("deleted"))}else if(this.#nt||this.#it){if(this.#nt){this.#He?.(d,i,"delete")}if(this.#it){this.#Ze?.push([d,i,"delete"])}}this.#Ye.delete(i);this.#je[p]=undefined;this.#Je[p]=undefined;if(p===this.#Ke){this.#Ke=this.#ze[p]}else if(p===this.#$e){this.#$e=this.#We[p]}else{const i=this.#ze[p];this.#We[i]=this.#We[p];const d=this.#We[p];this.#ze[d]=this.#ze[p]}this.#S--;this.#Xe.push(p)}}}if(this.#it&&this.#Ze?.length){const i=this.#Ze;let d;while(d=i?.shift()){this.#Ge?.(...d)}}return d}clear(){for(const i of this.#lt({allowStale:true})){const d=this.#Je[i];if(this.#ot(d)){d.__abortController.abort(new Error("deleted"))}else{const p=this.#je[i];if(this.#nt){this.#He?.(d,p,"delete")}if(this.#it){this.#Ze?.push([d,p,"delete"])}}}this.#Ye.clear();this.#Je.fill(undefined);this.#je.fill(undefined);if(this.#rt&&this.#tt){this.#rt.fill(0);this.#tt.fill(0)}if(this.#et){this.#et.fill(0)}this.#$e=0;this.#Ke=0;this.#Xe.length=0;this.#qe=0;this.#S=0;if(this.#it&&this.#Ze){const i=this.#Ze;let d;while(d=i?.shift()){this.#Ge?.(...d)}}}}d.LRUCache=LRUCache},78275:function(i,d,p){var v=this&&this.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(d,"__esModule",{value:true});d.Minipass=d.isWritable=d.isReadable=d.isStream=void 0;const V=typeof process==="object"&&process?process:{stdout:null,stderr:null};const K=p(24434);const ee=v(p(2203));const te=p(13193);const isStream=i=>!!i&&typeof i==="object"&&(i instanceof Minipass||i instanceof ee.default||(0,d.isReadable)(i)||(0,d.isWritable)(i));d.isStream=isStream;const isReadable=i=>!!i&&typeof i==="object"&&i instanceof K.EventEmitter&&typeof i.pipe==="function"&&i.pipe!==ee.default.Writable.prototype.pipe;d.isReadable=isReadable;const isWritable=i=>!!i&&typeof i==="object"&&i instanceof K.EventEmitter&&typeof i.write==="function"&&typeof i.end==="function";d.isWritable=isWritable;const re=Symbol("EOF");const ne=Symbol("maybeEmitEnd");const se=Symbol("emittedEnd");const ie=Symbol("emittingEnd");const oe=Symbol("emittedError");const ae=Symbol("closed");const Ae=Symbol("read");const ce=Symbol("flush");const le=Symbol("flushChunk");const ue=Symbol("encoding");const de=Symbol("decoder");const he=Symbol("flowing");const fe=Symbol("paused");const ge=Symbol("resume");const pe=Symbol("buffer");const me=Symbol("pipes");const Ee=Symbol("bufferLength");const Ce=Symbol("bufferPush");const ye=Symbol("bufferShift");const Ie=Symbol("objectMode");const Be=Symbol("destroyed");const Qe=Symbol("error");const be=Symbol("emitData");const we=Symbol("emitEnd");const Se=Symbol("emitEnd2");const Re=Symbol("async");const ve=Symbol("abort");const ke=Symbol("aborted");const Te=Symbol("signal");const Ne=Symbol("dataListeners");const De=Symbol("discarded");const defer=i=>Promise.resolve().then(i);const nodefer=i=>i();const isEndish=i=>i==="end"||i==="finish"||i==="prefinish";const isArrayBufferLike=i=>i instanceof ArrayBuffer||!!i&&typeof i==="object"&&i.constructor&&i.constructor.name==="ArrayBuffer"&&i.byteLength>=0;const isArrayBufferView=i=>!Buffer.isBuffer(i)&&ArrayBuffer.isView(i);class Pipe{src;dest;opts;ondrain;constructor(i,d,p){this.src=i;this.dest=d;this.opts=p;this.ondrain=()=>i[ge]();this.dest.on("drain",this.ondrain)}unpipe(){this.dest.removeListener("drain",this.ondrain)}proxyErrors(i){}end(){this.unpipe();if(this.opts.end)this.dest.end()}}class PipeProxyErrors extends Pipe{unpipe(){this.src.removeListener("error",this.proxyErrors);super.unpipe()}constructor(i,d,p){super(i,d,p);this.proxyErrors=i=>d.emit("error",i);i.on("error",this.proxyErrors)}}const isObjectModeOptions=i=>!!i.objectMode;const isEncodingOptions=i=>!i.objectMode&&!!i.encoding&&i.encoding!=="buffer";class Minipass extends K.EventEmitter{[he]=false;[fe]=false;[me]=[];[pe]=[];[Ie];[ue];[Re];[de];[re]=false;[se]=false;[ie]=false;[ae]=false;[oe]=null;[Ee]=0;[Be]=false;[Te];[ke]=false;[Ne]=0;[De]=false;writable=true;readable=true;constructor(...i){const d=i[0]||{};super();if(d.objectMode&&typeof d.encoding==="string"){throw new TypeError("Encoding and objectMode may not be used together")}if(isObjectModeOptions(d)){this[Ie]=true;this[ue]=null}else if(isEncodingOptions(d)){this[ue]=d.encoding;this[Ie]=false}else{this[Ie]=false;this[ue]=null}this[Re]=!!d.async;this[de]=this[ue]?new te.StringDecoder(this[ue]):null;if(d&&d.debugExposeBuffer===true){Object.defineProperty(this,"buffer",{get:()=>this[pe]})}if(d&&d.debugExposePipes===true){Object.defineProperty(this,"pipes",{get:()=>this[me]})}const{signal:p}=d;if(p){this[Te]=p;if(p.aborted){this[ve]()}else{p.addEventListener("abort",(()=>this[ve]()))}}}get bufferLength(){return this[Ee]}get encoding(){return this[ue]}set encoding(i){throw new Error("Encoding must be set at instantiation time")}setEncoding(i){throw new Error("Encoding must be set at instantiation time")}get objectMode(){return this[Ie]}set objectMode(i){throw new Error("objectMode must be set at instantiation time")}get["async"](){return this[Re]}set["async"](i){this[Re]=this[Re]||!!i}[ve](){this[ke]=true;this.emit("abort",this[Te]?.reason);this.destroy(this[Te]?.reason)}get aborted(){return this[ke]}set aborted(i){}write(i,d,p){if(this[ke])return false;if(this[re])throw new Error("write after end");if(this[Be]){this.emit("error",Object.assign(new Error("Cannot call write after a stream was destroyed"),{code:"ERR_STREAM_DESTROYED"}));return true}if(typeof d==="function"){p=d;d="utf8"}if(!d)d="utf8";const v=this[Re]?defer:nodefer;if(!this[Ie]&&!Buffer.isBuffer(i)){if(isArrayBufferView(i)){i=Buffer.from(i.buffer,i.byteOffset,i.byteLength)}else if(isArrayBufferLike(i)){i=Buffer.from(i)}else if(typeof i!=="string"){throw new Error("Non-contiguous data written to non-objectMode stream")}}if(this[Ie]){if(this[he]&&this[Ee]!==0)this[ce](true);if(this[he])this.emit("data",i);else this[Ce](i);if(this[Ee]!==0)this.emit("readable");if(p)v(p);return this[he]}if(!i.length){if(this[Ee]!==0)this.emit("readable");if(p)v(p);return this[he]}if(typeof i==="string"&&!(d===this[ue]&&!this[de]?.lastNeed)){i=Buffer.from(i,d)}if(Buffer.isBuffer(i)&&this[ue]){i=this[de].write(i)}if(this[he]&&this[Ee]!==0)this[ce](true);if(this[he])this.emit("data",i);else this[Ce](i);if(this[Ee]!==0)this.emit("readable");if(p)v(p);return this[he]}read(i){if(this[Be])return null;this[De]=false;if(this[Ee]===0||i===0||i&&i>this[Ee]){this[ne]();return null}if(this[Ie])i=null;if(this[pe].length>1&&!this[Ie]){this[pe]=[this[ue]?this[pe].join(""):Buffer.concat(this[pe],this[Ee])]}const d=this[Ae](i||null,this[pe][0]);this[ne]();return d}[Ae](i,d){if(this[Ie])this[ye]();else{const p=d;if(i===p.length||i===null)this[ye]();else if(typeof p==="string"){this[pe][0]=p.slice(i);d=p.slice(0,i);this[Ee]-=i}else{this[pe][0]=p.subarray(i);d=p.subarray(0,i);this[Ee]-=i}}this.emit("data",d);if(!this[pe].length&&!this[re])this.emit("drain");return d}end(i,d,p){if(typeof i==="function"){p=i;i=undefined}if(typeof d==="function"){p=d;d="utf8"}if(i!==undefined)this.write(i,d);if(p)this.once("end",p);this[re]=true;this.writable=false;if(this[he]||!this[fe])this[ne]();return this}[ge](){if(this[Be])return;if(!this[Ne]&&!this[me].length){this[De]=true}this[fe]=false;this[he]=true;this.emit("resume");if(this[pe].length)this[ce]();else if(this[re])this[ne]();else this.emit("drain")}resume(){return this[ge]()}pause(){this[he]=false;this[fe]=true;this[De]=false}get destroyed(){return this[Be]}get flowing(){return this[he]}get paused(){return this[fe]}[Ce](i){if(this[Ie])this[Ee]+=1;else this[Ee]+=i.length;this[pe].push(i)}[ye](){if(this[Ie])this[Ee]-=1;else this[Ee]-=this[pe][0].length;return this[pe].shift()}[ce](i=false){do{}while(this[le](this[ye]())&&this[pe].length);if(!i&&!this[pe].length&&!this[re])this.emit("drain")}[le](i){this.emit("data",i);return this[he]}pipe(i,d){if(this[Be])return i;this[De]=false;const p=this[se];d=d||{};if(i===V.stdout||i===V.stderr)d.end=false;else d.end=d.end!==false;d.proxyErrors=!!d.proxyErrors;if(p){if(d.end)i.end()}else{this[me].push(!d.proxyErrors?new Pipe(this,i,d):new PipeProxyErrors(this,i,d));if(this[Re])defer((()=>this[ge]()));else this[ge]()}return i}unpipe(i){const d=this[me].find((d=>d.dest===i));if(d){if(this[me].length===1){if(this[he]&&this[Ne]===0){this[he]=false}this[me]=[]}else this[me].splice(this[me].indexOf(d),1);d.unpipe()}}addListener(i,d){return this.on(i,d)}on(i,d){const p=super.on(i,d);if(i==="data"){this[De]=false;this[Ne]++;if(!this[me].length&&!this[he]){this[ge]()}}else if(i==="readable"&&this[Ee]!==0){super.emit("readable")}else if(isEndish(i)&&this[se]){super.emit(i);this.removeAllListeners(i)}else if(i==="error"&&this[oe]){const i=d;if(this[Re])defer((()=>i.call(this,this[oe])));else i.call(this,this[oe])}return p}removeListener(i,d){return this.off(i,d)}off(i,d){const p=super.off(i,d);if(i==="data"){this[Ne]=this.listeners("data").length;if(this[Ne]===0&&!this[De]&&!this[me].length){this[he]=false}}return p}removeAllListeners(i){const d=super.removeAllListeners(i);if(i==="data"||i===undefined){this[Ne]=0;if(!this[De]&&!this[me].length){this[he]=false}}return d}get emittedEnd(){return this[se]}[ne](){if(!this[ie]&&!this[se]&&!this[Be]&&this[pe].length===0&&this[re]){this[ie]=true;this.emit("end");this.emit("prefinish");this.emit("finish");if(this[ae])this.emit("close");this[ie]=false}}emit(i,...d){const p=d[0];if(i!=="error"&&i!=="close"&&i!==Be&&this[Be]){return false}else if(i==="data"){return!this[Ie]&&!p?false:this[Re]?(defer((()=>this[be](p))),true):this[be](p)}else if(i==="end"){return this[we]()}else if(i==="close"){this[ae]=true;if(!this[se]&&!this[Be])return false;const i=super.emit("close");this.removeAllListeners("close");return i}else if(i==="error"){this[oe]=p;super.emit(Qe,p);const i=!this[Te]||this.listeners("error").length?super.emit("error",p):false;this[ne]();return i}else if(i==="resume"){const i=super.emit("resume");this[ne]();return i}else if(i==="finish"||i==="prefinish"){const d=super.emit(i);this.removeAllListeners(i);return d}const v=super.emit(i,...d);this[ne]();return v}[be](i){for(const d of this[me]){if(d.dest.write(i)===false)this.pause()}const d=this[De]?false:super.emit("data",i);this[ne]();return d}[we](){if(this[se])return false;this[se]=true;this.readable=false;return this[Re]?(defer((()=>this[Se]())),true):this[Se]()}[Se](){if(this[de]){const i=this[de].end();if(i){for(const d of this[me]){d.dest.write(i)}if(!this[De])super.emit("data",i)}}for(const i of this[me]){i.end()}const i=super.emit("end");this.removeAllListeners("end");return i}async collect(){const i=Object.assign([],{dataLength:0});if(!this[Ie])i.dataLength=0;const d=this.promise();this.on("data",(d=>{i.push(d);if(!this[Ie])i.dataLength+=d.length}));await d;return i}async concat(){if(this[Ie]){throw new Error("cannot concat in objectMode")}const i=await this.collect();return this[ue]?i.join(""):Buffer.concat(i,i.dataLength)}async promise(){return new Promise(((i,d)=>{this.on(Be,(()=>d(new Error("stream destroyed"))));this.on("error",(i=>d(i)));this.on("end",(()=>i()))}))}[Symbol.asyncIterator](){this[De]=false;let i=false;const stop=async()=>{this.pause();i=true;return{value:undefined,done:true}};const next=()=>{if(i)return stop();const d=this.read();if(d!==null)return Promise.resolve({done:false,value:d});if(this[re])return stop();let p;let v;const onerr=i=>{this.off("data",ondata);this.off("end",onend);this.off(Be,ondestroy);stop();v(i)};const ondata=i=>{this.off("error",onerr);this.off("end",onend);this.off(Be,ondestroy);this.pause();p({value:i,done:!!this[re]})};const onend=()=>{this.off("error",onerr);this.off("data",ondata);this.off(Be,ondestroy);stop();p({done:true,value:undefined})};const ondestroy=()=>onerr(new Error("stream destroyed"));return new Promise(((i,d)=>{v=d;p=i;this.once(Be,ondestroy);this.once("error",onerr);this.once("end",onend);this.once("data",ondata)}))};return{next:next,throw:stop,return:stop,[Symbol.asyncIterator](){return this}}}[Symbol.iterator](){this[De]=false;let i=false;const stop=()=>{this.pause();this.off(Qe,stop);this.off(Be,stop);this.off("end",stop);i=true;return{done:true,value:undefined}};const next=()=>{if(i)return stop();const d=this.read();return d===null?stop():{done:false,value:d}};this.once("end",stop);this.once(Qe,stop);this.once(Be,stop);return{next:next,throw:stop,return:stop,[Symbol.iterator](){return this}}}destroy(i){if(this[Be]){if(i)this.emit("error",i);else this.emit(Be);return this}this[Be]=true;this[De]=true;this[pe].length=0;this[Ee]=0;const d=this;if(typeof d.close==="function"&&!this[ae])d.close();if(i)this.emit("error",i);else this.emit(Be);return this}static get isStream(){return d.isStream}}d.Minipass=Minipass},38958:function(i,d,p){var v=this&&this.__createBinding||(Object.create?function(i,d,p,v){if(v===undefined)v=p;var V=Object.getOwnPropertyDescriptor(d,p);if(!V||("get"in V?!d.__esModule:V.writable||V.configurable)){V={enumerable:true,get:function(){return d[p]}}}Object.defineProperty(i,v,V)}:function(i,d,p,v){if(v===undefined)v=p;i[v]=d[p]});var V=this&&this.__setModuleDefault||(Object.create?function(i,d){Object.defineProperty(i,"default",{enumerable:true,value:d})}:function(i,d){i["default"]=d});var K=this&&this.__importStar||function(i){if(i&&i.__esModule)return i;var d={};if(i!=null)for(var p in i)if(p!=="default"&&Object.prototype.hasOwnProperty.call(i,p))v(d,i,p);V(d,i);return d};Object.defineProperty(d,"__esModule",{value:true});d.PathScurry=d.Path=d.PathScurryDarwin=d.PathScurryPosix=d.PathScurryWin32=d.PathScurryBase=d.PathPosix=d.PathWin32=d.PathBase=d.ChildrenCache=d.ResolveCache=void 0;const ee=p(32477);const te=p(76760);const re=p(73136);const ne=p(79896);const se=K(p(73024));const ie=ne.realpathSync.native;const oe=p(51455);const ae=p(78275);const Ae={lstatSync:ne.lstatSync,readdir:ne.readdir,readdirSync:ne.readdirSync,readlinkSync:ne.readlinkSync,realpathSync:ie,promises:{lstat:oe.lstat,readdir:oe.readdir,readlink:oe.readlink,realpath:oe.realpath}};const fsFromOption=i=>!i||i===Ae||i===se?Ae:{...Ae,...i,promises:{...Ae.promises,...i.promises||{}}};const ce=/^\\\\\?\\([a-z]:)\\?$/i;const uncToDrive=i=>i.replace(/\//g,"\\").replace(ce,"$1\\");const le=/[\\\/]/;const ue=0;const de=1;const he=2;const fe=4;const ge=6;const pe=8;const me=10;const Ee=12;const Ce=15;const ye=~Ce;const Ie=16;const Be=32;const Qe=64;const be=128;const we=256;const Se=512;const Re=Qe|be|Se;const ve=1023;const entToType=i=>i.isFile()?pe:i.isDirectory()?fe:i.isSymbolicLink()?me:i.isCharacterDevice()?he:i.isBlockDevice()?ge:i.isSocket()?Ee:i.isFIFO()?de:ue;const ke=new Map;const normalize=i=>{const d=ke.get(i);if(d)return d;const p=i.normalize("NFKD");ke.set(i,p);return p};const Te=new Map;const normalizeNocase=i=>{const d=Te.get(i);if(d)return d;const p=normalize(i.toLowerCase());Te.set(i,p);return p};class ResolveCache extends ee.LRUCache{constructor(){super({max:256})}}d.ResolveCache=ResolveCache;class ChildrenCache extends ee.LRUCache{constructor(i=16*1024){super({maxSize:i,sizeCalculation:i=>i.length+1})}}d.ChildrenCache=ChildrenCache;const Ne=Symbol("PathScurry setAsCwd");class PathBase{name;root;roots;parent;nocase;isCWD=false;#Bt;#Qt;get dev(){return this.#Qt}#bt;get mode(){return this.#bt}#wt;get nlink(){return this.#wt}#St;get uid(){return this.#St}#Rt;get gid(){return this.#Rt}#vt;get rdev(){return this.#vt}#kt;get blksize(){return this.#kt}#Tt;get ino(){return this.#Tt}#S;get size(){return this.#S}#Nt;get blocks(){return this.#Nt}#Dt;get atimeMs(){return this.#Dt}#xt;get mtimeMs(){return this.#xt}#Ft;get ctimeMs(){return this.#Ft}#Pt;get birthtimeMs(){return this.#Pt}#Lt;get atime(){return this.#Lt}#_t;get mtime(){return this.#_t}#Mt;get ctime(){return this.#Mt}#Ut;get birthtime(){return this.#Ut}#Ot;#Ht;#Gt;#Vt;#qt;#Yt;#jt;#Jt;#Wt;#zt;get parentPath(){return(this.parent||this).fullpath()}get path(){return this.parentPath}constructor(i,d=ue,p,v,V,K,ee){this.name=i;this.#Ot=V?normalizeNocase(i):normalize(i);this.#jt=d&ve;this.nocase=V;this.roots=v;this.root=p||this;this.#Jt=K;this.#Gt=ee.fullpath;this.#qt=ee.relative;this.#Yt=ee.relativePosix;this.parent=ee.parent;if(this.parent){this.#Bt=this.parent.#Bt}else{this.#Bt=fsFromOption(ee.fs)}}depth(){if(this.#Ht!==undefined)return this.#Ht;if(!this.parent)return this.#Ht=0;return this.#Ht=this.parent.depth()+1}childrenCache(){return this.#Jt}resolve(i){if(!i){return this}const d=this.getRootString(i);const p=i.substring(d.length);const v=p.split(this.splitSep);const V=d?this.getRoot(d).#$t(v):this.#$t(v);return V}#$t(i){let d=this;for(const p of i){d=d.child(p)}return d}children(){const i=this.#Jt.get(this);if(i){return i}const d=Object.assign([],{provisional:0});this.#Jt.set(this,d);this.#jt&=~Ie;return d}child(i,d){if(i===""||i==="."){return this}if(i===".."){return this.parent||this}const p=this.children();const v=this.nocase?normalizeNocase(i):normalize(i);for(const i of p){if(i.#Ot===v){return i}}const V=this.parent?this.sep:"";const K=this.#Gt?this.#Gt+V+i:undefined;const ee=this.newChild(i,ue,{...d,parent:this,fullpath:K});if(!this.canReaddir()){ee.#jt|=be}p.push(ee);return ee}relative(){if(this.isCWD)return"";if(this.#qt!==undefined){return this.#qt}const i=this.name;const d=this.parent;if(!d){return this.#qt=this.name}const p=d.relative();return p+(!p||!d.parent?"":this.sep)+i}relativePosix(){if(this.sep==="/")return this.relative();if(this.isCWD)return"";if(this.#Yt!==undefined)return this.#Yt;const i=this.name;const d=this.parent;if(!d){return this.#Yt=this.fullpathPosix()}const p=d.relativePosix();return p+(!p||!d.parent?"":"/")+i}fullpath(){if(this.#Gt!==undefined){return this.#Gt}const i=this.name;const d=this.parent;if(!d){return this.#Gt=this.name}const p=d.fullpath();const v=p+(!d.parent?"":this.sep)+i;return this.#Gt=v}fullpathPosix(){if(this.#Vt!==undefined)return this.#Vt;if(this.sep==="/")return this.#Vt=this.fullpath();if(!this.parent){const i=this.fullpath().replace(/\\/g,"/");if(/^[a-z]:\//i.test(i)){return this.#Vt=`//?/${i}`}else{return this.#Vt=i}}const i=this.parent;const d=i.fullpathPosix();const p=d+(!d||!i.parent?"":"/")+this.name;return this.#Vt=p}isUnknown(){return(this.#jt&Ce)===ue}isType(i){return this[`is${i}`]()}getType(){return this.isUnknown()?"Unknown":this.isDirectory()?"Directory":this.isFile()?"File":this.isSymbolicLink()?"SymbolicLink":this.isFIFO()?"FIFO":this.isCharacterDevice()?"CharacterDevice":this.isBlockDevice()?"BlockDevice":this.isSocket()?"Socket":"Unknown"}isFile(){return(this.#jt&Ce)===pe}isDirectory(){return(this.#jt&Ce)===fe}isCharacterDevice(){return(this.#jt&Ce)===he}isBlockDevice(){return(this.#jt&Ce)===ge}isFIFO(){return(this.#jt&Ce)===de}isSocket(){return(this.#jt&Ce)===Ee}isSymbolicLink(){return(this.#jt&me)===me}lstatCached(){return this.#jt&Be?this:undefined}readlinkCached(){return this.#Wt}realpathCached(){return this.#zt}readdirCached(){const i=this.children();return i.slice(0,i.provisional)}canReadlink(){if(this.#Wt)return true;if(!this.parent)return false;const i=this.#jt&Ce;return!(i!==ue&&i!==me||this.#jt&we||this.#jt&be)}calledReaddir(){return!!(this.#jt&Ie)}isENOENT(){return!!(this.#jt&be)}isNamed(i){return!this.nocase?this.#Ot===normalize(i):this.#Ot===normalizeNocase(i)}async readlink(){const i=this.#Wt;if(i){return i}if(!this.canReadlink()){return undefined}if(!this.parent){return undefined}try{const i=await this.#Bt.promises.readlink(this.fullpath());const d=(await this.parent.realpath())?.resolve(i);if(d){return this.#Wt=d}}catch(i){this.#Kt(i.code);return undefined}}readlinkSync(){const i=this.#Wt;if(i){return i}if(!this.canReadlink()){return undefined}if(!this.parent){return undefined}try{const i=this.#Bt.readlinkSync(this.fullpath());const d=this.parent.realpathSync()?.resolve(i);if(d){return this.#Wt=d}}catch(i){this.#Kt(i.code);return undefined}}#Xt(i){this.#jt|=Ie;for(let d=i.provisional;dd(null,i)))}readdirCB(i,d=false){if(!this.canReaddir()){if(d)i(null,[]);else queueMicrotask((()=>i(null,[])));return}const p=this.children();if(this.calledReaddir()){const v=p.slice(0,p.provisional);if(d)i(null,v);else queueMicrotask((()=>i(null,v)));return}this.#lr.push(i);if(this.#ur){return}this.#ur=true;const v=this.fullpath();this.#Bt.readdir(v,{withFileTypes:true},((i,d)=>{if(i){this.#nr(i.code);p.provisional=0}else{for(const i of d){this.#ir(i,p)}this.#Xt(p)}this.#dr(p.slice(0,p.provisional));return}))}#hr;async readdir(){if(!this.canReaddir()){return[]}const i=this.children();if(this.calledReaddir()){return i.slice(0,i.provisional)}const d=this.fullpath();if(this.#hr){await this.#hr}else{let resolve=()=>{};this.#hr=new Promise((i=>resolve=i));try{for(const p of await this.#Bt.promises.readdir(d,{withFileTypes:true})){this.#ir(p,i)}this.#Xt(i)}catch(d){this.#nr(d.code);i.provisional=0}this.#hr=undefined;resolve()}return i.slice(0,i.provisional)}readdirSync(){if(!this.canReaddir()){return[]}const i=this.children();if(this.calledReaddir()){return i.slice(0,i.provisional)}const d=this.fullpath();try{for(const p of this.#Bt.readdirSync(d,{withFileTypes:true})){this.#ir(p,i)}this.#Xt(i)}catch(d){this.#nr(d.code);i.provisional=0}return i.slice(0,i.provisional)}canReaddir(){if(this.#jt&Re)return false;const i=Ce&this.#jt;if(!(i===ue||i===fe||i===me)){return false}return true}shouldWalk(i,d){return(this.#jt&fe)===fe&&!(this.#jt&Re)&&!i.has(this)&&(!d||d(this))}async realpath(){if(this.#zt)return this.#zt;if((Se|we|be)&this.#jt)return undefined;try{const i=await this.#Bt.promises.realpath(this.fullpath());return this.#zt=this.resolve(i)}catch(i){this.#tr()}}realpathSync(){if(this.#zt)return this.#zt;if((Se|we|be)&this.#jt)return undefined;try{const i=this.#Bt.realpathSync(this.fullpath());return this.#zt=this.resolve(i)}catch(i){this.#tr()}}[Ne](i){if(i===this)return;i.isCWD=false;this.isCWD=true;const d=new Set([]);let p=[];let v=this;while(v&&v.parent){d.add(v);v.#qt=p.join(this.sep);v.#Yt=p.join("/");v=v.parent;p.push("..")}v=i;while(v&&v.parent&&!d.has(v)){v.#qt=undefined;v.#Yt=undefined;v=v.parent}}}d.PathBase=PathBase;class PathWin32 extends PathBase{sep="\\";splitSep=le;constructor(i,d=ue,p,v,V,K,ee){super(i,d,p,v,V,K,ee)}newChild(i,d=ue,p={}){return new PathWin32(i,d,this.root,this.roots,this.nocase,this.childrenCache(),p)}getRootString(i){return te.win32.parse(i).root}getRoot(i){i=uncToDrive(i.toUpperCase());if(i===this.root.name){return this.root}for(const[d,p]of Object.entries(this.roots)){if(this.sameRoot(i,d)){return this.roots[i]=p}}return this.roots[i]=new PathScurryWin32(i,this).root}sameRoot(i,d=this.root.name){i=i.toUpperCase().replace(/\//g,"\\").replace(ce,"$1\\");return i===d}}d.PathWin32=PathWin32;class PathPosix extends PathBase{splitSep="/";sep="/";constructor(i,d=ue,p,v,V,K,ee){super(i,d,p,v,V,K,ee)}getRootString(i){return i.startsWith("/")?"/":""}getRoot(i){return this.root}newChild(i,d=ue,p={}){return new PathPosix(i,d,this.root,this.roots,this.nocase,this.childrenCache(),p)}}d.PathPosix=PathPosix;class PathScurryBase{root;rootPath;roots;cwd;#fr;#gr;#Jt;nocase;#Bt;constructor(i=process.cwd(),d,p,{nocase:v,childrenCacheSize:V=16*1024,fs:K=Ae}={}){this.#Bt=fsFromOption(K);if(i instanceof URL||i.startsWith("file://")){i=(0,re.fileURLToPath)(i)}const ee=d.resolve(i);this.roots=Object.create(null);this.rootPath=this.parseRootPath(ee);this.#fr=new ResolveCache;this.#gr=new ResolveCache;this.#Jt=new ChildrenCache(V);const te=ee.substring(this.rootPath.length).split(p);if(te.length===1&&!te[0]){te.pop()}if(v===undefined){throw new TypeError("must provide nocase setting to PathScurryBase ctor")}this.nocase=v;this.root=this.newRoot(this.#Bt);this.roots[this.rootPath]=this.root;let ne=this.root;let se=te.length-1;const ie=d.sep;let oe=this.rootPath;let ae=false;for(const i of te){const d=se--;ne=ne.child(i,{relative:new Array(d).fill("..").join(ie),relativePosix:new Array(d).fill("..").join("/"),fullpath:oe+=(ae?"":ie)+i});ae=true}this.cwd=ne}depth(i=this.cwd){if(typeof i==="string"){i=this.cwd.resolve(i)}return i.depth()}childrenCache(){return this.#Jt}resolve(...i){let d="";for(let p=i.length-1;p>=0;p--){const v=i[p];if(!v||v===".")continue;d=d?`${v}/${d}`:v;if(this.isAbsolute(v)){break}}const p=this.#fr.get(d);if(p!==undefined){return p}const v=this.cwd.resolve(d).fullpath();this.#fr.set(d,v);return v}resolvePosix(...i){let d="";for(let p=i.length-1;p>=0;p--){const v=i[p];if(!v||v===".")continue;d=d?`${v}/${d}`:v;if(this.isAbsolute(v)){break}}const p=this.#gr.get(d);if(p!==undefined){return p}const v=this.cwd.resolve(d).fullpathPosix();this.#gr.set(d,v);return v}relative(i=this.cwd){if(typeof i==="string"){i=this.cwd.resolve(i)}return i.relative()}relativePosix(i=this.cwd){if(typeof i==="string"){i=this.cwd.resolve(i)}return i.relativePosix()}basename(i=this.cwd){if(typeof i==="string"){i=this.cwd.resolve(i)}return i.name}dirname(i=this.cwd){if(typeof i==="string"){i=this.cwd.resolve(i)}return(i.parent||i).fullpath()}async readdir(i=this.cwd,d={withFileTypes:true}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){d=i;i=this.cwd}const{withFileTypes:p}=d;if(!i.canReaddir()){return[]}else{const d=await i.readdir();return p?d:d.map((i=>i.name))}}readdirSync(i=this.cwd,d={withFileTypes:true}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){d=i;i=this.cwd}const{withFileTypes:p=true}=d;if(!i.canReaddir()){return[]}else if(p){return i.readdirSync()}else{return i.readdirSync().map((i=>i.name))}}async lstat(i=this.cwd){if(typeof i==="string"){i=this.cwd.resolve(i)}return i.lstat()}lstatSync(i=this.cwd){if(typeof i==="string"){i=this.cwd.resolve(i)}return i.lstatSync()}async readlink(i=this.cwd,{withFileTypes:d}={withFileTypes:false}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){d=i.withFileTypes;i=this.cwd}const p=await i.readlink();return d?p:p?.fullpath()}readlinkSync(i=this.cwd,{withFileTypes:d}={withFileTypes:false}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){d=i.withFileTypes;i=this.cwd}const p=i.readlinkSync();return d?p:p?.fullpath()}async realpath(i=this.cwd,{withFileTypes:d}={withFileTypes:false}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){d=i.withFileTypes;i=this.cwd}const p=await i.realpath();return d?p:p?.fullpath()}realpathSync(i=this.cwd,{withFileTypes:d}={withFileTypes:false}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){d=i.withFileTypes;i=this.cwd}const p=i.realpathSync();return d?p:p?.fullpath()}async walk(i=this.cwd,d={}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){d=i;i=this.cwd}const{withFileTypes:p=true,follow:v=false,filter:V,walkFilter:K}=d;const ee=[];if(!V||V(i)){ee.push(p?i:i.fullpath())}const te=new Set;const walk=(i,d)=>{te.add(i);i.readdirCB(((i,re)=>{if(i){return d(i)}let ne=re.length;if(!ne)return d();const next=()=>{if(--ne===0){d()}};for(const i of re){if(!V||V(i)){ee.push(p?i:i.fullpath())}if(v&&i.isSymbolicLink()){i.realpath().then((i=>i?.isUnknown()?i.lstat():i)).then((i=>i?.shouldWalk(te,K)?walk(i,next):next()))}else{if(i.shouldWalk(te,K)){walk(i,next)}else{next()}}}}),true)};const re=i;return new Promise(((i,d)=>{walk(re,(p=>{if(p)return d(p);i(ee)}))}))}walkSync(i=this.cwd,d={}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){d=i;i=this.cwd}const{withFileTypes:p=true,follow:v=false,filter:V,walkFilter:K}=d;const ee=[];if(!V||V(i)){ee.push(p?i:i.fullpath())}const te=new Set([i]);for(const i of te){const d=i.readdirSync();for(const i of d){if(!V||V(i)){ee.push(p?i:i.fullpath())}let d=i;if(i.isSymbolicLink()){if(!(v&&(d=i.realpathSync())))continue;if(d.isUnknown())d.lstatSync()}if(d.shouldWalk(te,K)){te.add(d)}}}return ee}[Symbol.asyncIterator](){return this.iterate()}iterate(i=this.cwd,d={}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){d=i;i=this.cwd}return this.stream(i,d)[Symbol.asyncIterator]()}[Symbol.iterator](){return this.iterateSync()}*iterateSync(i=this.cwd,d={}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){d=i;i=this.cwd}const{withFileTypes:p=true,follow:v=false,filter:V,walkFilter:K}=d;if(!V||V(i)){yield p?i:i.fullpath()}const ee=new Set([i]);for(const i of ee){const d=i.readdirSync();for(const i of d){if(!V||V(i)){yield p?i:i.fullpath()}let d=i;if(i.isSymbolicLink()){if(!(v&&(d=i.realpathSync())))continue;if(d.isUnknown())d.lstatSync()}if(d.shouldWalk(ee,K)){ee.add(d)}}}}stream(i=this.cwd,d={}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){d=i;i=this.cwd}const{withFileTypes:p=true,follow:v=false,filter:V,walkFilter:K}=d;const ee=new ae.Minipass({objectMode:true});if(!V||V(i)){ee.write(p?i:i.fullpath())}const te=new Set;const re=[i];let ne=0;const process=()=>{let i=false;while(!i){const d=re.shift();if(!d){if(ne===0)ee.end();return}ne++;te.add(d);const onReaddir=(d,ie,oe=false)=>{if(d)return ee.emit("error",d);if(v&&!oe){const i=[];for(const d of ie){if(d.isSymbolicLink()){i.push(d.realpath().then((i=>i?.isUnknown()?i.lstat():i)))}}if(i.length){Promise.all(i).then((()=>onReaddir(null,ie,true)));return}}for(const d of ie){if(d&&(!V||V(d))){if(!ee.write(p?d:d.fullpath())){i=true}}}ne--;for(const i of ie){const d=i.realpathCached()||i;if(d.shouldWalk(te,K)){re.push(d)}}if(i&&!ee.flowing){ee.once("drain",process)}else if(!se){process()}};let se=true;d.readdirCB(onReaddir,true);se=false}};process();return ee}streamSync(i=this.cwd,d={}){if(typeof i==="string"){i=this.cwd.resolve(i)}else if(!(i instanceof PathBase)){d=i;i=this.cwd}const{withFileTypes:p=true,follow:v=false,filter:V,walkFilter:K}=d;const ee=new ae.Minipass({objectMode:true});const te=new Set;if(!V||V(i)){ee.write(p?i:i.fullpath())}const re=[i];let ne=0;const process=()=>{let i=false;while(!i){const d=re.shift();if(!d){if(ne===0)ee.end();return}ne++;te.add(d);const se=d.readdirSync();for(const d of se){if(!V||V(d)){if(!ee.write(p?d:d.fullpath())){i=true}}}ne--;for(const i of se){let d=i;if(i.isSymbolicLink()){if(!(v&&(d=i.realpathSync())))continue;if(d.isUnknown())d.lstatSync()}if(d.shouldWalk(te,K)){re.push(d)}}}if(i&&!ee.flowing)ee.once("drain",process)};process();return ee}chdir(i=this.cwd){const d=this.cwd;this.cwd=typeof i==="string"?this.cwd.resolve(i):i;this.cwd[Ne](d)}}d.PathScurryBase=PathScurryBase;class PathScurryWin32 extends PathScurryBase{sep="\\";constructor(i=process.cwd(),d={}){const{nocase:p=true}=d;super(i,te.win32,"\\",{...d,nocase:p});this.nocase=p;for(let i=this.cwd;i;i=i.parent){i.nocase=this.nocase}}parseRootPath(i){return te.win32.parse(i).root.toUpperCase()}newRoot(i){return new PathWin32(this.rootPath,fe,undefined,this.roots,this.nocase,this.childrenCache(),{fs:i})}isAbsolute(i){return i.startsWith("/")||i.startsWith("\\")||/^[a-z]:(\/|\\)/i.test(i)}}d.PathScurryWin32=PathScurryWin32;class PathScurryPosix extends PathScurryBase{sep="/";constructor(i=process.cwd(),d={}){const{nocase:p=false}=d;super(i,te.posix,"/",{...d,nocase:p});this.nocase=p}parseRootPath(i){return"/"}newRoot(i){return new PathPosix(this.rootPath,fe,undefined,this.roots,this.nocase,this.childrenCache(),{fs:i})}isAbsolute(i){return i.startsWith("/")}}d.PathScurryPosix=PathScurryPosix;class PathScurryDarwin extends PathScurryPosix{constructor(i=process.cwd(),d={}){const{nocase:p=true}=d;super(i,{...d,nocase:p})}}d.PathScurryDarwin=PathScurryDarwin;d.Path=process.platform==="win32"?PathWin32:PathPosix;d.PathScurry=process.platform==="win32"?PathScurryWin32:process.platform==="darwin"?PathScurryDarwin:PathScurryPosix},89048:i=>{(()=>{"use strict";var d={d:(i,p)=>{for(var v in p)d.o(p,v)&&!d.o(i,v)&&Object.defineProperty(i,v,{enumerable:!0,get:p[v]})},o:(i,d)=>Object.prototype.hasOwnProperty.call(i,d),r:i=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})}},p={};d.r(p),d.d(p,{XMLBuilder:()=>ut,XMLParser:()=>et,XMLValidator:()=>de});const v=":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",V=new RegExp("^["+v+"]["+v+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function s(i,d){const p=[];let v=d.exec(i);for(;v;){const V=[];V.startIndex=d.lastIndex-v[0].length;const K=v.length;for(let i=0;i"!==i[K]&&" "!==i[K]&&"\t"!==i[K]&&"\n"!==i[K]&&"\r"!==i[K];K++)re+=i[K];if(re=re.trim(),"/"===re[re.length-1]&&(re=re.substring(0,re.length-1),K--),!r(re)){let d;return d=0===re.trim().length?"Invalid space after '<'.":"Tag '"+re+"' is an invalid name.",x("InvalidTag",d,b(i,K))}const ne=f(i,K);if(!1===ne)return x("InvalidAttr","Attributes for '"+re+"' have open quote.",b(i,K));let se=ne.value;if(K=ne.index,"/"===se[se.length-1]){const p=K-se.length;se=se.substring(0,se.length-1);const V=g(se,d);if(!0!==V)return x(V.err.code,V.err.msg,b(i,p+V.err.line));v=!0}else if(te){if(!ne.tagClosed)return x("InvalidTag","Closing tag '"+re+"' doesn't have proper closing.",b(i,K));if(se.trim().length>0)return x("InvalidTag","Closing tag '"+re+"' can't have attributes or invalid starting.",b(i,ee));if(0===p.length)return x("InvalidTag","Closing tag '"+re+"' has not been opened.",b(i,ee));{const d=p.pop();if(re!==d.tagName){let p=b(i,d.tagStartPos);return x("InvalidTag","Expected closing tag '"+d.tagName+"' (opened in line "+p.line+", col "+p.col+") instead of closing tag '"+re+"'.",b(i,ee))}0==p.length&&(V=!0)}}else{const te=g(se,d);if(!0!==te)return x(te.err.code,te.err.msg,b(i,K-se.length+te.err.line));if(!0===V)return x("InvalidXml","Multiple possible root nodes found.",b(i,K));-1!==d.unpairedTags.indexOf(re)||p.push({tagName:re,tagStartPos:ee}),v=!0}for(K++;K0)||x("InvalidXml","Invalid '"+JSON.stringify(p.map((i=>i.tagName)),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):x("InvalidXml","Start tag expected.",1)}function l(i){return" "===i||"\t"===i||"\n"===i||"\r"===i}function u(i,d){const p=d;for(;d5&&"xml"===v)return x("InvalidXml","XML declaration allowed only at the start of the document.",b(i,d));if("?"==i[d]&&">"==i[d+1]){d++;break}}return d}function h(i,d){if(i.length>d+5&&"-"===i[d+1]&&"-"===i[d+2]){for(d+=3;d"===i[d+2]){d+=2;break}}else if(i.length>d+8&&"D"===i[d+1]&&"O"===i[d+2]&&"C"===i[d+3]&&"T"===i[d+4]&&"Y"===i[d+5]&&"P"===i[d+6]&&"E"===i[d+7]){let p=1;for(d+=8;d"===i[d]&&(p--,0===p))break}else if(i.length>d+9&&"["===i[d+1]&&"C"===i[d+2]&&"D"===i[d+3]&&"A"===i[d+4]&&"T"===i[d+5]&&"A"===i[d+6]&&"["===i[d+7])for(d+=8;d"===i[d+2]){d+=2;break}return d}const ee='"',te="'";function f(i,d){let p="",v="",V=!1;for(;d"===i[d]&&""===v){V=!0;break}p+=i[d]}return""===v&&{value:p,index:d,tagClosed:V}}const re=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function g(i,d){const p=s(i,re),v={};for(let i=0;i!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(i,d,p){return i},captureMetaData:!1};let se;se="function"!=typeof Symbol?"@@xmlMetadata":Symbol("XML Node Metadata");class y{constructor(i){this.tagname=i,this.child=[],this[":@"]={}}add(i,d){"__proto__"===i&&(i="#__proto__"),this.child.push({[i]:d})}addChild(i,d){"__proto__"===i.tagname&&(i.tagname="#__proto__"),i[":@"]&&Object.keys(i[":@"]).length>0?this.child.push({[i.tagname]:i.child,":@":i[":@"]}):this.child.push({[i.tagname]:i.child}),void 0!==d&&(this.child[this.child.length-1][se]={startIndex:d})}static getMetaDataSymbol(){return se}}class w{constructor(i){this.suppressValidationErr=!i}readDocType(i,d){const p={};if("O"!==i[d+3]||"C"!==i[d+4]||"T"!==i[d+5]||"Y"!==i[d+6]||"P"!==i[d+7]||"E"!==i[d+8])throw new Error("Invalid Tag instead of DOCTYPE");{d+=9;let v=1,V=!1,K=!1,ee="";for(;d"===i[d]){if(K?"-"===i[d-1]&&"-"===i[d-2]&&(K=!1,v--):v--,0===v)break}else"["===i[d]?V=!0:ee+=i[d];else{if(V&&P(i,"!ENTITY",d)){let v,V;d+=7,[v,V,d]=this.readEntityExp(i,d+1,this.suppressValidationErr),-1===V.indexOf("&")&&(p[v]={regx:RegExp(`&${v};`,"g"),val:V})}else if(V&&P(i,"!ELEMENT",d)){d+=8;const{index:p}=this.readElementExp(i,d+1);d=p}else if(V&&P(i,"!ATTLIST",d))d+=8;else if(V&&P(i,"!NOTATION",d)){d+=9;const{index:p}=this.readNotationExp(i,d+1,this.suppressValidationErr);d=p}else{if(!P(i,"!--",d))throw new Error("Invalid DOCTYPE");K=!0}v++,ee=""}if(0!==v)throw new Error("Unclosed DOCTYPE")}return{entities:p,i:d}}readEntityExp(i,d){d=I(i,d);let p="";for(;d{for(;d{for(const p of i){if("string"==typeof p&&d===p)return!0;if(p instanceof RegExp&&p.test(d))return!0}}:()=>!1}class D{constructor(i){if(this.options=i,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(i,d)=>Z(d,10,"&#")},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(i,d)=>Z(d,16,"&#x")}},this.addExternalEntities=j,this.parseXml=L,this.parseTextData=M,this.resolveNameSpace=F,this.buildAttributesMap=k,this.isItStopNode=Y,this.replaceEntitiesValue=B,this.readStopNodeData=W,this.saveTextToParentTag=R,this.addChild=U,this.ignoreAttributesFn=$(this.options.ignoreAttributes),this.options.stopNodes&&this.options.stopNodes.length>0){this.stopNodesExact=new Set,this.stopNodesWildcard=new Set;for(let i=0;i0)){ee||(i=this.replaceEntitiesValue(i));const v=this.options.tagValueProcessor(d,i,p,V,K);return null==v?i:typeof v!=typeof i||v!==i?v:this.options.trimValues||i.trim()===i?q(i,this.options.parseTagValue,this.options.numberParseOptions):i}}function F(i){if(this.options.removeNSPrefix){const d=i.split(":"),p="/"===i.charAt(0)?"/":"";if("xmlns"===d[0])return"";2===d.length&&(i=p+d[1])}return i}const ce=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function k(i,d){if(!0!==this.options.ignoreAttributes&&"string"==typeof i){const p=s(i,ce),v=p.length,V={};for(let i=0;i",ee,"Closing Tag is not closed.");let K=i.substring(ee+2,d).trim();if(this.options.removeNSPrefix){const i=K.indexOf(":");-1!==i&&(K=K.substr(i+1))}this.options.transformTagName&&(K=this.options.transformTagName(K)),p&&(v=this.saveTextToParentTag(v,p,V));const te=V.substring(V.lastIndexOf(".")+1);if(K&&-1!==this.options.unpairedTags.indexOf(K))throw new Error(`Unpaired tag can not be used as closing tag: `);let re=0;te&&-1!==this.options.unpairedTags.indexOf(te)?(re=V.lastIndexOf(".",V.lastIndexOf(".")-1),this.tagsNodeStack.pop()):re=V.lastIndexOf("."),V=V.substring(0,re),p=this.tagsNodeStack.pop(),v="",ee=d}else if("?"===i[ee+1]){let d=X(i,ee,!1,"?>");if(!d)throw new Error("Pi Tag is not closed.");if(v=this.saveTextToParentTag(v,p,V),this.options.ignoreDeclaration&&"?xml"===d.tagName||this.options.ignorePiTags);else{const i=new y(d.tagName);i.add(this.options.textNodeName,""),d.tagName!==d.tagExp&&d.attrExpPresent&&(i[":@"]=this.buildAttributesMap(d.tagExp,V)),this.addChild(p,i,V,ee)}ee=d.closeIndex+1}else if("!--"===i.substr(ee+1,3)){const d=G(i,"--\x3e",ee+4,"Comment is not closed.");if(this.options.commentPropName){const K=i.substring(ee+4,d-2);v=this.saveTextToParentTag(v,p,V),p.add(this.options.commentPropName,[{[this.options.textNodeName]:K}])}ee=d}else if("!D"===i.substr(ee+1,2)){const d=K.readDocType(i,ee);this.docTypeEntities=d.entities,ee=d.i}else if("!["===i.substr(ee+1,2)){const d=G(i,"]]>",ee,"CDATA is not closed.")-2,K=i.substring(ee+9,d);v=this.saveTextToParentTag(v,p,V);let te=this.parseTextData(K,p.tagname,V,!0,!1,!0,!0);null==te&&(te=""),this.options.cdataPropName?p.add(this.options.cdataPropName,[{[this.options.textNodeName]:K}]):p.add(this.options.textNodeName,te),ee=d+2}else{let K=X(i,ee,this.options.removeNSPrefix),te=K.tagName;const re=K.rawTagName;let ne=K.tagExp,se=K.attrExpPresent,ie=K.closeIndex;if(this.options.transformTagName){const i=this.options.transformTagName(te);ne===te&&(ne=i),te=i}p&&v&&"!xml"!==p.tagname&&(v=this.saveTextToParentTag(v,p,V,!1));const oe=p;oe&&-1!==this.options.unpairedTags.indexOf(oe.tagname)&&(p=this.tagsNodeStack.pop(),V=V.substring(0,V.lastIndexOf("."))),te!==d.tagname&&(V+=V?"."+te:te);const ae=ee;if(this.isItStopNode(this.stopNodesExact,this.stopNodesWildcard,V,te)){let d="";if(ne.length>0&&ne.lastIndexOf("/")===ne.length-1)"/"===te[te.length-1]?(te=te.substr(0,te.length-1),V=V.substr(0,V.length-1),ne=te):ne=ne.substr(0,ne.length-1),ee=K.closeIndex;else if(-1!==this.options.unpairedTags.indexOf(te))ee=K.closeIndex;else{const p=this.readStopNodeData(i,re,ie+1);if(!p)throw new Error(`Unexpected end of ${re}`);ee=p.i,d=p.tagContent}const v=new y(te);te!==ne&&se&&(v[":@"]=this.buildAttributesMap(ne,V)),d&&(d=this.parseTextData(d,te,V,!0,se,!0,!0)),V=V.substr(0,V.lastIndexOf(".")),v.add(this.options.textNodeName,d),this.addChild(p,v,V,ae)}else{if(ne.length>0&&ne.lastIndexOf("/")===ne.length-1){if("/"===te[te.length-1]?(te=te.substr(0,te.length-1),V=V.substr(0,V.length-1),ne=te):ne=ne.substr(0,ne.length-1),this.options.transformTagName){const i=this.options.transformTagName(te);ne===te&&(ne=i),te=i}const i=new y(te);te!==ne&&se&&(i[":@"]=this.buildAttributesMap(ne,V)),this.addChild(p,i,V,ae),V=V.substr(0,V.lastIndexOf("."))}else{const i=new y(te);this.tagsNodeStack.push(p),te!==ne&&se&&(i[":@"]=this.buildAttributesMap(ne,V)),this.addChild(p,i,V,ae),p=i}v="",ee=ie}}else v+=i[ee];return d.child};function U(i,d,p,v){this.options.captureMetaData||(v=void 0);const V=this.options.updateTag(d.tagname,p,d[":@"]);!1===V||("string"==typeof V?(d.tagname=V,i.addChild(d,v)):i.addChild(d,v))}const B=function(i){if(this.options.processEntities){for(let d in this.docTypeEntities){const p=this.docTypeEntities[d];i=i.replace(p.regx,p.val)}for(let d in this.lastEntities){const p=this.lastEntities[d];i=i.replace(p.regex,p.val)}if(this.options.htmlEntities)for(let d in this.htmlEntities){const p=this.htmlEntities[d];i=i.replace(p.regex,p.val)}i=i.replace(this.ampEntity.regex,this.ampEntity.val)}return i};function R(i,d,p,v){return i&&(void 0===v&&(v=0===d.child.length),void 0!==(i=this.parseTextData(i,d.tagname,p,!1,!!d[":@"]&&0!==Object.keys(d[":@"]).length,v))&&""!==i&&d.add(this.options.textNodeName,i),i=""),i}function Y(i,d,p,v){return!(!d||!d.has(v))||!(!i||!i.has(p))}function G(i,d,p,v){const V=i.indexOf(d,p);if(-1===V)throw new Error(v);return V+d.length-1}function X(i,d,p,v=">"){const V=function(i,d,p=">"){let v,V="";for(let K=d;K",p,`${d} is not closed`);if(i.substring(p+2,K).trim()===d&&(V--,0===V))return{tagContent:i.substring(v,p),i:K};p=K}else if("?"===i[p+1])p=G(i,"?>",p+1,"StopNode is not closed.");else if("!--"===i.substr(p+1,3))p=G(i,"--\x3e",p+3,"StopNode is not closed.");else if("!["===i.substr(p+1,2))p=G(i,"]]>",p,"StopNode is not closed.")-2;else{const v=X(i,p,">");v&&((v&&v.tagName)===d&&"/"!==v.tagExp[v.tagExp.length-1]&&V++,p=v.closeIndex)}}function q(i,d,p){if(d&&"string"==typeof i){const d=i.trim();return"true"===d||"false"!==d&&function(i,d={}){if(d=Object.assign({},ae,d),!i||"string"!=typeof i)return i;let p=i.trim();if(void 0!==d.skipLike&&d.skipLike.test(p))return i;if("0"===i)return 0;if(d.hex&&ie.test(p))return function(i){if(parseInt)return parseInt(i,16);if(Number.parseInt)return Number.parseInt(i,16);if(window&&window.parseInt)return window.parseInt(i,16);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}(p);if(-1!==p.search(/.+[eE].+/))return function(i,d,p){if(!p.eNotation)return i;const v=d.match(Ae);if(v){let V=v[1]||"";const K=-1===v[3].indexOf("e")?"E":"e",ee=v[2],te=V?i[ee.length+1]===K:i[ee.length]===K;return ee.length>1&&te?i:1!==ee.length||!v[3].startsWith(`.${K}`)&&v[3][0]!==K?p.leadingZeros&&!te?(d=(v[1]||"")+v[3],Number(d)):i:Number(d)}return i}(i,p,d);{const V=oe.exec(p);if(V){const K=V[1]||"",ee=V[2];let te=(v=V[3])&&-1!==v.indexOf(".")?("."===(v=v.replace(/0+$/,""))?v="0":"."===v[0]?v="0"+v:"."===v[v.length-1]&&(v=v.substring(0,v.length-1)),v):v;const re=K?"."===i[ee.length+1]:"."===i[ee.length];if(!d.leadingZeros&&(ee.length>1||1===ee.length&&!re))return i;{const v=Number(p),V=String(v);if(0===v||-0===v)return v;if(-1!==V.search(/[eE]/))return d.eNotation?v:i;if(-1!==p.indexOf("."))return"0"===V||V===te||V===`${K}${te}`?v:i;let re=ee?te:p;return ee?re===V||K+re===V?v:i:re===V||re===K+V?v:i}}return i}var v}(i,p)}return void 0!==i?i:""}function Z(i,d,p){const v=Number.parseInt(i,d);return v>=0&&v<=1114111?String.fromCodePoint(v):p+i+";"}const le=y.getMetaDataSymbol();function Q(i,d){return z(i,d)}function z(i,d,p){let v;const V={};for(let K=0;K0&&(V[d.textNodeName]=v):void 0!==v&&(V[d.textNodeName]=v),V}function J(i){const d=Object.keys(i);for(let i=0;i0&&(p="\n"),nt(i,d,"",p)}function nt(i,d,p,v){let V="",K=!1;for(let ee=0;ee`,K=!1;continue}if(re===d.commentPropName){V+=v+`\x3c!--${te[re][0][d.textNodeName]}--\x3e`,K=!0;continue}if("?"===re[0]){const i=rt(te[":@"],d),p="?xml"===re?"":v;let ee=te[re][0][d.textNodeName];ee=0!==ee.length?" "+ee:"",V+=p+`<${re}${ee}${i}?>`,K=!0;continue}let se=v;""!==se&&(se+=d.indentBy);const ie=v+`<${re}${rt(te[":@"],d)}`,oe=nt(te[re],d,ne,se);-1!==d.unpairedTags.indexOf(re)?d.suppressUnpairedNode?V+=ie+">":V+=ie+"/>":oe&&0!==oe.length||!d.suppressEmptyNode?oe&&oe.endsWith(">")?V+=ie+`>${oe}${v}`:(V+=ie+">",oe&&""!==v&&(oe.includes("/>")||oe.includes("`):V+=ie+"/>",K=!0}return V}function st(i){const d=Object.keys(i);for(let p=0;p0&&d.processEntities)for(let p=0;p","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function ut(i){this.options=Object.assign({},ue,i),!0===this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=$(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=pt),this.processTextOrObjNode=ht,this.options.format?(this.indentate=dt,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function ht(i,d,p,v){const V=this.j2x(i,p+1,v.concat(d));return void 0!==i[this.options.textNodeName]&&1===Object.keys(i).length?this.buildTextValNode(i[this.options.textNodeName],d,V.attrStr,p):this.buildObjectNode(V.val,d,V.attrStr,p)}function dt(i){return this.options.indentBy.repeat(i)}function pt(i){return!(!i.startsWith(this.options.attributeNamePrefix)||i===this.options.textNodeName)&&i.substr(this.attrPrefixLen)}ut.prototype.build=function(i){return this.options.preserveOrder?it(i,this.options):(Array.isArray(i)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(i={[this.options.arrayNodeName]:i}),this.j2x(i,0,[]).val)},ut.prototype.j2x=function(i,d,p){let v="",V="";const K=p.join(".");for(let ee in i)if(Object.prototype.hasOwnProperty.call(i,ee))if(void 0===i[ee])this.isAttribute(ee)&&(V+="");else if(null===i[ee])this.isAttribute(ee)||ee===this.options.cdataPropName?V+="":"?"===ee[0]?V+=this.indentate(d)+"<"+ee+"?"+this.tagEndChar:V+=this.indentate(d)+"<"+ee+"/"+this.tagEndChar;else if(i[ee]instanceof Date)V+=this.buildTextValNode(i[ee],ee,"",d);else if("object"!=typeof i[ee]){const p=this.isAttribute(ee);if(p&&!this.ignoreAttributesFn(p,K))v+=this.buildAttrPairStr(p,""+i[ee]);else if(!p)if(ee===this.options.textNodeName){let d=this.options.tagValueProcessor(ee,""+i[ee]);V+=this.replaceEntitiesValue(d)}else V+=this.buildTextValNode(i[ee],ee,"",d)}else if(Array.isArray(i[ee])){const v=i[ee].length;let K="",te="";for(let re=0;re"+i+V}},ut.prototype.closeTag=function(i){let d="";return-1!==this.options.unpairedTags.indexOf(i)?this.options.suppressUnpairedNode||(d="/"):d=this.options.suppressEmptyNode?"/":`>`+this.newLine;if(!1!==this.options.commentPropName&&d===this.options.commentPropName)return this.indentate(v)+`\x3c!--${i}--\x3e`+this.newLine;if("?"===d[0])return this.indentate(v)+"<"+d+p+"?"+this.tagEndChar;{let V=this.options.tagValueProcessor(d,i);return V=this.replaceEntitiesValue(V),""===V?this.indentate(v)+"<"+d+p+this.closeTag(d)+this.tagEndChar:this.indentate(v)+"<"+d+p+">"+V+"0&&this.options.processEntities)for(let d=0;d{function getDefaultExportFromCjs(i){return i&&i.__esModule&&Object.prototype.hasOwnProperty.call(i,"default")?i["default"]:i}const d=new Int32Array([0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117]);function ensureBuffer(i){if(Buffer.isBuffer(i)){return i}if(typeof i==="number"){return Buffer.alloc(i)}else if(typeof i==="string"){return Buffer.from(i)}else{throw new Error("input must be buffer, number, or string, received "+typeof i)}}function bufferizeInt(i){const d=ensureBuffer(4);d.writeInt32BE(i,0);return d}function _crc32(i,p){i=ensureBuffer(i);if(Buffer.isBuffer(p)){p=p.readUInt32BE(0)}let v=~~p^-1;for(var V=0;V>>8}return v^-1}function crc32(){return bufferizeInt(_crc32.apply(null,arguments))}crc32.signed=function(){return _crc32.apply(null,arguments)};crc32.unsigned=function(){return _crc32.apply(null,arguments)>>>0};var p=crc32;const v=getDefaultExportFromCjs(p);i.exports=v},61110:(i,d)=>{class CsvError extends Error{constructor(i,d,p,...v){if(Array.isArray(d))d=d.join(" ").trim();super(d);if(Error.captureStackTrace!==undefined){Error.captureStackTrace(this,CsvError)}this.code=i;for(const i of v){for(const d in i){const v=i[d];this[d]=Buffer.isBuffer(v)?v.toString(p.encoding):v==null?v:JSON.parse(JSON.stringify(v))}}}}const is_object=function(i){return typeof i==="object"&&i!==null&&!Array.isArray(i)};const normalize_columns_array=function(i){const d=[];for(let p=0,v=i.length;p=this.size){this.resize();if(d>=this.size){throw Error("INVALID_BUFFER_STATE")}}const p=this.buf;this.buf=Buffer.allocUnsafe(this.size);i.copy(this.buf,0);p.copy(this.buf,i.length);this.length+=i.length}else{const d=this.length++;if(d===this.size){this.resize()}const p=this.clone();this.buf[0]=i;p.copy(this.buf,1,0,d)}}append(i){const d=this.length++;if(d===this.size){this.resize()}this.buf[d]=i}clone(){return Buffer.from(this.buf.slice(0,this.length))}resize(){const i=this.length;this.size=this.size*2;const d=Buffer.allocUnsafe(this.size);this.buf.copy(d,0,0,i);this.buf=d}toString(i){if(i){return this.buf.slice(0,this.length).toString(i)}else{return Uint8Array.prototype.slice.call(this.buf.slice(0,this.length))}}toJSON(){return this.toString("utf8")}reset(){this.length=0}}const p=12;const v=13;const V=10;const K=32;const ee=9;const init_state=function(i){return{bomSkipped:false,bufBytesStart:0,castField:i.cast_function,commenting:false,error:undefined,enabled:i.from_line===1,escaping:false,escapeIsQuote:Buffer.isBuffer(i.escape)&&Buffer.isBuffer(i.quote)&&Buffer.compare(i.escape,i.quote)===0,expectedRecordLength:Array.isArray(i.columns)?i.columns.length:undefined,field:new ResizeableBuffer(20),firstLineToHeaders:i.cast_first_line_to_header,needMoreDataSize:Math.max(i.comment!==null?i.comment.length:0,...i.delimiter.map((i=>i.length)),i.quote!==null?i.quote.length:0),previousBuf:undefined,quoting:false,stop:false,rawBuffer:new ResizeableBuffer(100),record:[],recordHasError:false,record_length:0,recordDelimiterMaxLength:i.record_delimiter.length===0?0:Math.max(...i.record_delimiter.map((i=>i.length))),trimChars:[Buffer.from(" ",i.encoding)[0],Buffer.from("\t",i.encoding)[0]],wasQuoting:false,wasRowDelimiter:false,timchars:[Buffer.from(Buffer.from([v],"utf8").toString(),i.encoding),Buffer.from(Buffer.from([V],"utf8").toString(),i.encoding),Buffer.from(Buffer.from([p],"utf8").toString(),i.encoding),Buffer.from(Buffer.from([K],"utf8").toString(),i.encoding),Buffer.from(Buffer.from([ee],"utf8").toString(),i.encoding)]}};const underscore=function(i){return i.replace(/([A-Z])/g,(function(i,d){return"_"+d.toLowerCase()}))};const normalize_options=function(i){const d={};for(const p in i){d[underscore(p)]=i[p]}if(d.encoding===undefined||d.encoding===true){d.encoding="utf8"}else if(d.encoding===null||d.encoding===false){d.encoding=null}else if(typeof d.encoding!=="string"&&d.encoding!==null){throw new CsvError("CSV_INVALID_OPTION_ENCODING",["Invalid option encoding:","encoding must be a string or null to return a buffer,",`got ${JSON.stringify(d.encoding)}`],d)}if(d.bom===undefined||d.bom===null||d.bom===false){d.bom=false}else if(d.bom!==true){throw new CsvError("CSV_INVALID_OPTION_BOM",["Invalid option bom:","bom must be true,",`got ${JSON.stringify(d.bom)}`],d)}d.cast_function=null;if(d.cast===undefined||d.cast===null||d.cast===false||d.cast===""){d.cast=undefined}else if(typeof d.cast==="function"){d.cast_function=d.cast;d.cast=true}else if(d.cast!==true){throw new CsvError("CSV_INVALID_OPTION_CAST",["Invalid option cast:","cast must be true or a function,",`got ${JSON.stringify(d.cast)}`],d)}if(d.cast_date===undefined||d.cast_date===null||d.cast_date===false||d.cast_date===""){d.cast_date=false}else if(d.cast_date===true){d.cast_date=function(i){const d=Date.parse(i);return!isNaN(d)?new Date(d):i}}else if(typeof d.cast_date!=="function"){throw new CsvError("CSV_INVALID_OPTION_CAST_DATE",["Invalid option cast_date:","cast_date must be true or a function,",`got ${JSON.stringify(d.cast_date)}`],d)}d.cast_first_line_to_header=undefined;if(d.columns===true){d.cast_first_line_to_header=undefined}else if(typeof d.columns==="function"){d.cast_first_line_to_header=d.columns;d.columns=true}else if(Array.isArray(d.columns)){d.columns=normalize_columns_array(d.columns)}else if(d.columns===undefined||d.columns===null||d.columns===false){d.columns=false}else{throw new CsvError("CSV_INVALID_OPTION_COLUMNS",["Invalid option columns:","expect an array, a function or true,",`got ${JSON.stringify(d.columns)}`],d)}if(d.group_columns_by_name===undefined||d.group_columns_by_name===null||d.group_columns_by_name===false){d.group_columns_by_name=false}else if(d.group_columns_by_name!==true){throw new CsvError("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","expect an boolean,",`got ${JSON.stringify(d.group_columns_by_name)}`],d)}else if(d.columns===false){throw new CsvError("CSV_INVALID_OPTION_GROUP_COLUMNS_BY_NAME",["Invalid option group_columns_by_name:","the `columns` mode must be activated."],d)}if(d.comment===undefined||d.comment===null||d.comment===false||d.comment===""){d.comment=null}else{if(typeof d.comment==="string"){d.comment=Buffer.from(d.comment,d.encoding)}if(!Buffer.isBuffer(d.comment)){throw new CsvError("CSV_INVALID_OPTION_COMMENT",["Invalid option comment:","comment must be a buffer or a string,",`got ${JSON.stringify(d.comment)}`],d)}}if(d.comment_no_infix===undefined||d.comment_no_infix===null||d.comment_no_infix===false){d.comment_no_infix=false}else if(d.comment_no_infix!==true){throw new CsvError("CSV_INVALID_OPTION_COMMENT",["Invalid option comment_no_infix:","value must be a boolean,",`got ${JSON.stringify(d.comment_no_infix)}`],d)}const p=JSON.stringify(d.delimiter);if(!Array.isArray(d.delimiter))d.delimiter=[d.delimiter];if(d.delimiter.length===0){throw new CsvError("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${p}`],d)}d.delimiter=d.delimiter.map((function(i){if(i===undefined||i===null||i===false){return Buffer.from(",",d.encoding)}if(typeof i==="string"){i=Buffer.from(i,d.encoding)}if(!Buffer.isBuffer(i)||i.length===0){throw new CsvError("CSV_INVALID_OPTION_DELIMITER",["Invalid option delimiter:","delimiter must be a non empty string or buffer or array of string|buffer,",`got ${p}`],d)}return i}));if(d.escape===undefined||d.escape===true){d.escape=Buffer.from('"',d.encoding)}else if(typeof d.escape==="string"){d.escape=Buffer.from(d.escape,d.encoding)}else if(d.escape===null||d.escape===false){d.escape=null}if(d.escape!==null){if(!Buffer.isBuffer(d.escape)){throw new Error(`Invalid Option: escape must be a buffer, a string or a boolean, got ${JSON.stringify(d.escape)}`)}}if(d.from===undefined||d.from===null){d.from=1}else{if(typeof d.from==="string"&&/\d+/.test(d.from)){d.from=parseInt(d.from)}if(Number.isInteger(d.from)){if(d.from<0){throw new Error(`Invalid Option: from must be a positive integer, got ${JSON.stringify(i.from)}`)}}else{throw new Error(`Invalid Option: from must be an integer, got ${JSON.stringify(d.from)}`)}}if(d.from_line===undefined||d.from_line===null){d.from_line=1}else{if(typeof d.from_line==="string"&&/\d+/.test(d.from_line)){d.from_line=parseInt(d.from_line)}if(Number.isInteger(d.from_line)){if(d.from_line<=0){throw new Error(`Invalid Option: from_line must be a positive integer greater than 0, got ${JSON.stringify(i.from_line)}`)}}else{throw new Error(`Invalid Option: from_line must be an integer, got ${JSON.stringify(i.from_line)}`)}}if(d.ignore_last_delimiters===undefined||d.ignore_last_delimiters===null){d.ignore_last_delimiters=false}else if(typeof d.ignore_last_delimiters==="number"){d.ignore_last_delimiters=Math.floor(d.ignore_last_delimiters);if(d.ignore_last_delimiters===0){d.ignore_last_delimiters=false}}else if(typeof d.ignore_last_delimiters!=="boolean"){throw new CsvError("CSV_INVALID_OPTION_IGNORE_LAST_DELIMITERS",["Invalid option `ignore_last_delimiters`:","the value must be a boolean value or an integer,",`got ${JSON.stringify(d.ignore_last_delimiters)}`],d)}if(d.ignore_last_delimiters===true&&d.columns===false){throw new CsvError("CSV_IGNORE_LAST_DELIMITERS_REQUIRES_COLUMNS",["The option `ignore_last_delimiters`","requires the activation of the `columns` option"],d)}if(d.info===undefined||d.info===null||d.info===false){d.info=false}else if(d.info!==true){throw new Error(`Invalid Option: info must be true, got ${JSON.stringify(d.info)}`)}if(d.max_record_size===undefined||d.max_record_size===null||d.max_record_size===false){d.max_record_size=0}else if(Number.isInteger(d.max_record_size)&&d.max_record_size>=0);else if(typeof d.max_record_size==="string"&&/\d+/.test(d.max_record_size)){d.max_record_size=parseInt(d.max_record_size)}else{throw new Error(`Invalid Option: max_record_size must be a positive integer, got ${JSON.stringify(d.max_record_size)}`)}if(d.objname===undefined||d.objname===null||d.objname===false){d.objname=undefined}else if(Buffer.isBuffer(d.objname)){if(d.objname.length===0){throw new Error(`Invalid Option: objname must be a non empty buffer`)}if(d.encoding===null);else{d.objname=d.objname.toString(d.encoding)}}else if(typeof d.objname==="string"){if(d.objname.length===0){throw new Error(`Invalid Option: objname must be a non empty string`)}}else if(typeof d.objname==="number");else{throw new Error(`Invalid Option: objname must be a string or a buffer, got ${d.objname}`)}if(d.objname!==undefined){if(typeof d.objname==="number"){if(d.columns!==false){throw Error("Invalid Option: objname index cannot be combined with columns or be defined as a field")}}else{if(d.columns===false){throw Error("Invalid Option: objname field must be combined with columns or be defined as an index")}}}if(d.on_record===undefined||d.on_record===null){d.on_record=undefined}else if(typeof d.on_record!=="function"){throw new CsvError("CSV_INVALID_OPTION_ON_RECORD",["Invalid option `on_record`:","expect a function,",`got ${JSON.stringify(d.on_record)}`],d)}if(d.on_skip!==undefined&&d.on_skip!==null&&typeof d.on_skip!=="function"){throw new Error(`Invalid Option: on_skip must be a function, got ${JSON.stringify(d.on_skip)}`)}if(d.quote===null||d.quote===false||d.quote===""){d.quote=null}else{if(d.quote===undefined||d.quote===true){d.quote=Buffer.from('"',d.encoding)}else if(typeof d.quote==="string"){d.quote=Buffer.from(d.quote,d.encoding)}if(!Buffer.isBuffer(d.quote)){throw new Error(`Invalid Option: quote must be a buffer or a string, got ${JSON.stringify(d.quote)}`)}}if(d.raw===undefined||d.raw===null||d.raw===false){d.raw=false}else if(d.raw!==true){throw new Error(`Invalid Option: raw must be true, got ${JSON.stringify(d.raw)}`)}if(d.record_delimiter===undefined){d.record_delimiter=[]}else if(typeof d.record_delimiter==="string"||Buffer.isBuffer(d.record_delimiter)){if(d.record_delimiter.length===0){throw new CsvError("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer,",`got ${JSON.stringify(d.record_delimiter)}`],d)}d.record_delimiter=[d.record_delimiter]}else if(!Array.isArray(d.record_delimiter)){throw new CsvError("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer,",`got ${JSON.stringify(d.record_delimiter)}`],d)}d.record_delimiter=d.record_delimiter.map((function(i,p){if(typeof i!=="string"&&!Buffer.isBuffer(i)){throw new CsvError("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a string, a buffer or array of string|buffer",`at index ${p},`,`got ${JSON.stringify(i)}`],d)}else if(i.length===0){throw new CsvError("CSV_INVALID_OPTION_RECORD_DELIMITER",["Invalid option `record_delimiter`:","value must be a non empty string or buffer",`at index ${p},`,`got ${JSON.stringify(i)}`],d)}if(typeof i==="string"){i=Buffer.from(i,d.encoding)}return i}));if(typeof d.relax_column_count==="boolean");else if(d.relax_column_count===undefined||d.relax_column_count===null){d.relax_column_count=false}else{throw new Error(`Invalid Option: relax_column_count must be a boolean, got ${JSON.stringify(d.relax_column_count)}`)}if(typeof d.relax_column_count_less==="boolean");else if(d.relax_column_count_less===undefined||d.relax_column_count_less===null){d.relax_column_count_less=false}else{throw new Error(`Invalid Option: relax_column_count_less must be a boolean, got ${JSON.stringify(d.relax_column_count_less)}`)}if(typeof d.relax_column_count_more==="boolean");else if(d.relax_column_count_more===undefined||d.relax_column_count_more===null){d.relax_column_count_more=false}else{throw new Error(`Invalid Option: relax_column_count_more must be a boolean, got ${JSON.stringify(d.relax_column_count_more)}`)}if(typeof d.relax_quotes==="boolean");else if(d.relax_quotes===undefined||d.relax_quotes===null){d.relax_quotes=false}else{throw new Error(`Invalid Option: relax_quotes must be a boolean, got ${JSON.stringify(d.relax_quotes)}`)}if(typeof d.skip_empty_lines==="boolean");else if(d.skip_empty_lines===undefined||d.skip_empty_lines===null){d.skip_empty_lines=false}else{throw new Error(`Invalid Option: skip_empty_lines must be a boolean, got ${JSON.stringify(d.skip_empty_lines)}`)}if(typeof d.skip_records_with_empty_values==="boolean");else if(d.skip_records_with_empty_values===undefined||d.skip_records_with_empty_values===null){d.skip_records_with_empty_values=false}else{throw new Error(`Invalid Option: skip_records_with_empty_values must be a boolean, got ${JSON.stringify(d.skip_records_with_empty_values)}`)}if(typeof d.skip_records_with_error==="boolean");else if(d.skip_records_with_error===undefined||d.skip_records_with_error===null){d.skip_records_with_error=false}else{throw new Error(`Invalid Option: skip_records_with_error must be a boolean, got ${JSON.stringify(d.skip_records_with_error)}`)}if(d.rtrim===undefined||d.rtrim===null||d.rtrim===false){d.rtrim=false}else if(d.rtrim!==true){throw new Error(`Invalid Option: rtrim must be a boolean, got ${JSON.stringify(d.rtrim)}`)}if(d.ltrim===undefined||d.ltrim===null||d.ltrim===false){d.ltrim=false}else if(d.ltrim!==true){throw new Error(`Invalid Option: ltrim must be a boolean, got ${JSON.stringify(d.ltrim)}`)}if(d.trim===undefined||d.trim===null||d.trim===false){d.trim=false}else if(d.trim!==true){throw new Error(`Invalid Option: trim must be a boolean, got ${JSON.stringify(d.trim)}`)}if(d.trim===true&&i.ltrim!==false){d.ltrim=true}else if(d.ltrim!==true){d.ltrim=false}if(d.trim===true&&i.rtrim!==false){d.rtrim=true}else if(d.rtrim!==true){d.rtrim=false}if(d.to===undefined||d.to===null){d.to=-1}else if(d.to!==-1){if(typeof d.to==="string"&&/\d+/.test(d.to)){d.to=parseInt(d.to)}if(Number.isInteger(d.to)){if(d.to<=0){throw new Error(`Invalid Option: to must be a positive integer greater than 0, got ${JSON.stringify(i.to)}`)}}else{throw new Error(`Invalid Option: to must be an integer, got ${JSON.stringify(i.to)}`)}}if(d.to_line===undefined||d.to_line===null){d.to_line=-1}else if(d.to_line!==-1){if(typeof d.to_line==="string"&&/\d+/.test(d.to_line)){d.to_line=parseInt(d.to_line)}if(Number.isInteger(d.to_line)){if(d.to_line<=0){throw new Error(`Invalid Option: to_line must be a positive integer greater than 0, got ${JSON.stringify(i.to_line)}`)}}else{throw new Error(`Invalid Option: to_line must be an integer, got ${JSON.stringify(i.to_line)}`)}}return d};const isRecordEmpty=function(i){return i.every((i=>i==null||i.toString&&i.toString().trim()===""))};const te=13;const re=10;const ne={utf8:Buffer.from([239,187,191]),utf16le:Buffer.from([255,254])};const transform=function(i={}){const d={bytes:0,comment_lines:0,empty_lines:0,invalid_field_length:0,lines:1,records:0};const p=normalize_options(i);return{info:d,original_options:i,options:p,state:init_state(p),__needMoreData:function(i,d,p){if(p)return false;const{encoding:v,escape:V,quote:K}=this.options;const{quoting:ee,needMoreDataSize:te,recordDelimiterMaxLength:re}=this.state;const ne=d-i-1;const se=Math.max(te,re===0?Buffer.from("\r\n",v).length:re,ee?(V===null?0:V.length)+K.length:0,ee?K.length+re:0);return nede){this.state.stop=true;v();return}if(this.state.quoting===false&&pe.length===0){const i=this.__autoDiscoverRecordDelimiter(Ie,Qe);if(i){pe=this.options.record_delimiter}}const i=Ie[Qe];if(ae===true){Ce.append(i)}if((i===te||i===re)&&this.state.wasRowDelimiter===false){this.state.wasRowDelimiter=true}if(this.state.escaping===true){this.state.escaping=false}else{if(fe!==null&&this.state.quoting===true&&this.__isEscape(Ie,Qe,i)&&Qe+fe.lengthne[i].equals(this.state.field.toString())?i:false)).filter(Boolean)[0];const p=this.__error(new CsvError("INVALID_OPENING_QUOTE",["Invalid Opening Quote:",`a quote is found on field ${JSON.stringify(i.column)} at line ${i.lines}, value is ${JSON.stringify(this.state.field.toString(ee))}`,d?`(${d} bom)`:undefined],this.options,i,{field:this.state.field}));if(p!==undefined)return p}}else{this.state.quoting=true;Qe+=ge.length-1;continue}}}if(this.state.quoting===false){const d=this.__isRecordDelimiter(i,Ie,Qe);if(d!==0){const i=this.state.commenting&&this.state.wasQuoting===false&&this.state.record.length===0&&this.state.field.length===0;if(i){this.info.comment_lines++}else{if(this.state.enabled===false&&this.info.lines+(this.state.wasRowDelimiter===true?1:0)>=se){this.state.enabled=true;this.__resetField();this.__resetRecord();Qe+=d-1;continue}if(le===true&&this.state.wasQuoting===false&&this.state.record.length===0&&this.state.field.length===0){this.info.empty_lines++;Qe+=d-1;continue}this.info.bytes=this.state.bufBytesStart+Qe;const i=this.__onField();if(i!==undefined)return i;this.info.bytes=this.state.bufBytesStart+Qe+d;const V=this.__onRecord(p);if(V!==undefined)return V;if(ue!==-1&&this.info.records>=ue){this.state.stop=true;v();return}}this.state.commenting=false;Qe+=d-1;continue}if(this.state.commenting){continue}if(he!==null&&(K===false||this.state.record.length===0&&this.state.field.length===0)){const d=this.__compareBytes(he,Ie,Qe,i);if(d!==0){this.state.commenting=true;continue}}const V=this.__isDelimiter(Ie,Qe,i);if(V!==0){this.info.bytes=this.state.bufBytesStart+Qe;const i=this.__onField();if(i!==undefined)return i;Qe+=V-1;continue}}}if(this.state.commenting===false){if(oe!==0&&this.state.record_length+this.state.field.length>oe){return this.__error(new CsvError("CSV_MAX_RECORD_SIZE",["Max Record Size:","record exceed the maximum number of tolerated bytes",`of ${oe}`,`at line ${this.info.lines}`],this.options,this.__infoField()))}}const V=ie===false||this.state.quoting===true||this.state.field.length!==0||!this.__isCharTrimable(Ie,Qe);const me=ce===false||this.state.wasQuoting===false;if(V===true&&me===true){this.state.field.append(i)}else if(ce===true&&!this.__isCharTrimable(Ie,Qe)){return this.__error(new CsvError("CSV_NON_TRIMABLE_CHAR_AFTER_CLOSING_QUOTE",["Invalid Closing Quote:","found non trimable byte after quote",`at line ${this.info.lines}`],this.options,this.__infoField()))}else{if(V===false){Qe+=this.__isCharTrimable(Ie,Qe)-1}continue}}if(d===true){if(this.state.quoting===true){const i=this.__error(new CsvError("CSV_QUOTE_NOT_CLOSED",["Quote Not Closed:",`the parsing is finished with an opening quote at line ${this.info.lines}`],this.options,this.__infoField()));if(i!==undefined)return i}else{if(this.state.wasQuoting===true||this.state.record.length!==0||this.state.field.length!==0){this.info.bytes=this.state.bufBytesStart+Qe;const i=this.__onField();if(i!==undefined)return i;const d=this.__onRecord(p);if(d!==undefined)return d}else if(this.state.wasRowDelimiter===true){this.info.empty_lines++}else if(this.state.commenting===true){this.info.comment_lines++}}}else{this.state.bufBytesStart+=Qe;this.state.previousBuf=Ie.slice(Qe)}if(this.state.wasRowDelimiter===true){this.info.lines++;this.state.wasRowDelimiter=false}},__onRecord:function(i){const{columns:d,group_columns_by_name:p,encoding:v,info:V,from:K,relax_column_count:ee,relax_column_count_less:te,relax_column_count_more:re,raw:ne,skip_records_with_empty_values:se}=this.options;const{enabled:ie,record:oe}=this.state;if(ie===false){return this.__resetRecord()}const ae=oe.length;if(d===true){if(se===true&&isRecordEmpty(oe)){this.__resetRecord();return}return this.__firstLineToColumns(oe)}if(d===false&&this.info.records===0){this.state.expectedRecordLength=ae}if(ae!==this.state.expectedRecordLength){const i=d===false?new CsvError("CSV_RECORD_INCONSISTENT_FIELDS_LENGTH",["Invalid Record Length:",`expect ${this.state.expectedRecordLength},`,`got ${ae} on line ${this.info.lines}`],this.options,this.__infoField(),{record:oe}):new CsvError("CSV_RECORD_INCONSISTENT_COLUMNS",["Invalid Record Length:",`columns length is ${d.length},`,`got ${ae} on line ${this.info.lines}`],this.options,this.__infoField(),{record:oe});if(ee===true||te===true&&aethis.state.expectedRecordLength){this.info.invalid_field_length++;this.state.error=i}else{const d=this.__error(i);if(d)return d}}if(se===true&&isRecordEmpty(oe)){this.__resetRecord();return}if(this.state.recordHasError===true){this.__resetRecord();this.state.recordHasError=false;return}this.info.records++;if(K===1||this.info.records>=K){const{objname:K}=this.options;if(d!==false){const ee={};for(let i=0,v=oe.length;i{const{timchars:p}=this.state;e:for(let v=0;v=0},__compareBytes:function(i,d,p,v){if(i[0]!==v)return 0;const V=i.length;for(let v=1;vthis.state.record.length?i[this.state.record.length].name:null:this.state.record.length,quoting:this.state.wasQuoting}}}};const parse=function(i,d={}){if(typeof i==="string"){i=Buffer.from(i)}const p=d&&d.objname?{}:[];const v=transform(d);const push=i=>{if(v.options.objname===undefined)p.push(i);else{p[i[0]]=i[1]}};const close=()=>{};const V=v.parse(i,true,push,close);if(V!==undefined)throw V;return p};d.CsvError=CsvError;d.parse=parse},50591:i=>{(()=>{"use strict";var d={d:(i,p)=>{for(var v in p)d.o(p,v)&&!d.o(i,v)&&Object.defineProperty(i,v,{enumerable:!0,get:p[v]})},o:(i,d)=>Object.prototype.hasOwnProperty.call(i,d),r:i=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(i,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(i,"__esModule",{value:!0})}},p={};d.r(p),d.d(p,{XMLBuilder:()=>ft,XMLParser:()=>st,XMLValidator:()=>de});const v=":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",V=new RegExp("^["+v+"]["+v+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function s(i,d){const p=[];let v=d.exec(i);for(;v;){const V=[];V.startIndex=d.lastIndex-v[0].length;const K=v.length;for(let i=0;i"!==i[K]&&" "!==i[K]&&"\t"!==i[K]&&"\n"!==i[K]&&"\r"!==i[K];K++)re+=i[K];if(re=re.trim(),"/"===re[re.length-1]&&(re=re.substring(0,re.length-1),K--),!r(re)){let d;return d=0===re.trim().length?"Invalid space after '<'.":"Tag '"+re+"' is an invalid name.",x("InvalidTag",d,N(i,K))}const ne=c(i,K);if(!1===ne)return x("InvalidAttr","Attributes for '"+re+"' have open quote.",N(i,K));let se=ne.value;if(K=ne.index,"/"===se[se.length-1]){const p=K-se.length;se=se.substring(0,se.length-1);const V=g(se,d);if(!0!==V)return x(V.err.code,V.err.msg,N(i,p+V.err.line));v=!0}else if(te){if(!ne.tagClosed)return x("InvalidTag","Closing tag '"+re+"' doesn't have proper closing.",N(i,K));if(se.trim().length>0)return x("InvalidTag","Closing tag '"+re+"' can't have attributes or invalid starting.",N(i,ee));if(0===p.length)return x("InvalidTag","Closing tag '"+re+"' has not been opened.",N(i,ee));{const d=p.pop();if(re!==d.tagName){let p=N(i,d.tagStartPos);return x("InvalidTag","Expected closing tag '"+d.tagName+"' (opened in line "+p.line+", col "+p.col+") instead of closing tag '"+re+"'.",N(i,ee))}0==p.length&&(V=!0)}}else{const te=g(se,d);if(!0!==te)return x(te.err.code,te.err.msg,N(i,K-se.length+te.err.line));if(!0===V)return x("InvalidXml","Multiple possible root nodes found.",N(i,K));-1!==d.unpairedTags.indexOf(re)||p.push({tagName:re,tagStartPos:ee}),v=!0}for(K++;K0)||x("InvalidXml","Invalid '"+JSON.stringify(p.map((i=>i.tagName)),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):x("InvalidXml","Start tag expected.",1)}function l(i){return" "===i||"\t"===i||"\n"===i||"\r"===i}function u(i,d){const p=d;for(;d5&&"xml"===v)return x("InvalidXml","XML declaration allowed only at the start of the document.",N(i,d));if("?"==i[d]&&">"==i[d+1]){d++;break}}return d}function h(i,d){if(i.length>d+5&&"-"===i[d+1]&&"-"===i[d+2]){for(d+=3;d"===i[d+2]){d+=2;break}}else if(i.length>d+8&&"D"===i[d+1]&&"O"===i[d+2]&&"C"===i[d+3]&&"T"===i[d+4]&&"Y"===i[d+5]&&"P"===i[d+6]&&"E"===i[d+7]){let p=1;for(d+=8;d"===i[d]&&(p--,0===p))break}else if(i.length>d+9&&"["===i[d+1]&&"C"===i[d+2]&&"D"===i[d+3]&&"A"===i[d+4]&&"T"===i[d+5]&&"A"===i[d+6]&&"["===i[d+7])for(d+=8;d"===i[d+2]){d+=2;break}return d}const ee='"',te="'";function c(i,d){let p="",v="",V=!1;for(;d"===i[d]&&""===v){V=!0;break}p+=i[d]}return""===v&&{value:p,index:d,tagClosed:V}}const re=new RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function g(i,d){const p=s(i,re),v={};for(let i=0;i!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(i,d,p){return i},captureMetaData:!1};let se;se="function"!=typeof Symbol?"@@xmlMetadata":Symbol("XML Node Metadata");class T{constructor(i){this.tagname=i,this.child=[],this[":@"]={}}add(i,d){"__proto__"===i&&(i="#__proto__"),this.child.push({[i]:d})}addChild(i,d){"__proto__"===i.tagname&&(i.tagname="#__proto__"),i[":@"]&&Object.keys(i[":@"]).length>0?this.child.push({[i.tagname]:i.child,":@":i[":@"]}):this.child.push({[i.tagname]:i.child}),void 0!==d&&(this.child[this.child.length-1][se]={startIndex:d})}static getMetaDataSymbol(){return se}}function w(i,d){const p={};if("O"!==i[d+3]||"C"!==i[d+4]||"T"!==i[d+5]||"Y"!==i[d+6]||"P"!==i[d+7]||"E"!==i[d+8])throw new Error("Invalid Tag instead of DOCTYPE");{d+=9;let v=1,V=!1,K=!1,ee="";for(;d"===i[d]){if(K?"-"===i[d-1]&&"-"===i[d-2]&&(K=!1,v--):v--,0===v)break}else"["===i[d]?V=!0:ee+=i[d];else{if(V&&C(i,"!ENTITY",d)){let v,V;d+=7,[v,V,d]=O(i,d+1),-1===V.indexOf("&")&&(p[v]={regx:RegExp(`&${v};`,"g"),val:V})}else if(V&&C(i,"!ELEMENT",d)){d+=8;const{index:p}=S(i,d+1);d=p}else if(V&&C(i,"!ATTLIST",d))d+=8;else if(V&&C(i,"!NOTATION",d)){d+=9;const{index:p}=A(i,d+1);d=p}else{if(!C(i,"!--",d))throw new Error("Invalid DOCTYPE");K=!0}v++,ee=""}if(0!==v)throw new Error("Unclosed DOCTYPE")}return{entities:p,i:d}}const P=(i,d)=>{for(;d{for(const p of i){if("string"==typeof p&&d===p)return!0;if(p instanceof RegExp&&p.test(d))return!0}}:()=>!1}class k{constructor(i){this.options=i,this.currentNode=null,this.tagsNodeStack=[],this.docTypeEntities={},this.lastEntities={apos:{regex:/&(apos|#39|#x27);/g,val:"'"},gt:{regex:/&(gt|#62|#x3E);/g,val:">"},lt:{regex:/&(lt|#60|#x3C);/g,val:"<"},quot:{regex:/&(quot|#34|#x22);/g,val:'"'}},this.ampEntity={regex:/&(amp|#38|#x26);/g,val:"&"},this.htmlEntities={space:{regex:/&(nbsp|#160);/g,val:" "},cent:{regex:/&(cent|#162);/g,val:"¢"},pound:{regex:/&(pound|#163);/g,val:"£"},yen:{regex:/&(yen|#165);/g,val:"¥"},euro:{regex:/&(euro|#8364);/g,val:"€"},copyright:{regex:/&(copy|#169);/g,val:"©"},reg:{regex:/&(reg|#174);/g,val:"®"},inr:{regex:/&(inr|#8377);/g,val:"₹"},num_dec:{regex:/&#([0-9]{1,7});/g,val:(i,d)=>String.fromCodePoint(Number.parseInt(d,10))},num_hex:{regex:/&#x([0-9a-fA-F]{1,6});/g,val:(i,d)=>String.fromCodePoint(Number.parseInt(d,16))}},this.addExternalEntities=F,this.parseXml=X,this.parseTextData=L,this.resolveNameSpace=B,this.buildAttributesMap=G,this.isItStopNode=Z,this.replaceEntitiesValue=R,this.readStopNodeData=J,this.saveTextToParentTag=q,this.addChild=Y,this.ignoreAttributesFn=_(this.options.ignoreAttributes)}}function F(i){const d=Object.keys(i);for(let p=0;p0)){ee||(i=this.replaceEntitiesValue(i));const v=this.options.tagValueProcessor(d,i,p,V,K);return null==v?i:typeof v!=typeof i||v!==i?v:this.options.trimValues||i.trim()===i?H(i,this.options.parseTagValue,this.options.numberParseOptions):i}}function B(i){if(this.options.removeNSPrefix){const d=i.split(":"),p="/"===i.charAt(0)?"/":"";if("xmlns"===d[0])return"";2===d.length&&(i=p+d[1])}return i}const ce=new RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function G(i,d,p){if(!0!==this.options.ignoreAttributes&&"string"==typeof i){const p=s(i,ce),v=p.length,V={};for(let i=0;i",K,"Closing Tag is not closed.");let ee=i.substring(K+2,d).trim();if(this.options.removeNSPrefix){const i=ee.indexOf(":");-1!==i&&(ee=ee.substr(i+1))}this.options.transformTagName&&(ee=this.options.transformTagName(ee)),p&&(v=this.saveTextToParentTag(v,p,V));const te=V.substring(V.lastIndexOf(".")+1);if(ee&&-1!==this.options.unpairedTags.indexOf(ee))throw new Error(`Unpaired tag can not be used as closing tag: `);let re=0;te&&-1!==this.options.unpairedTags.indexOf(te)?(re=V.lastIndexOf(".",V.lastIndexOf(".")-1),this.tagsNodeStack.pop()):re=V.lastIndexOf("."),V=V.substring(0,re),p=this.tagsNodeStack.pop(),v="",K=d}else if("?"===i[K+1]){let d=z(i,K,!1,"?>");if(!d)throw new Error("Pi Tag is not closed.");if(v=this.saveTextToParentTag(v,p,V),this.options.ignoreDeclaration&&"?xml"===d.tagName||this.options.ignorePiTags);else{const i=new T(d.tagName);i.add(this.options.textNodeName,""),d.tagName!==d.tagExp&&d.attrExpPresent&&(i[":@"]=this.buildAttributesMap(d.tagExp,V,d.tagName)),this.addChild(p,i,V,K)}K=d.closeIndex+1}else if("!--"===i.substr(K+1,3)){const d=W(i,"--\x3e",K+4,"Comment is not closed.");if(this.options.commentPropName){const ee=i.substring(K+4,d-2);v=this.saveTextToParentTag(v,p,V),p.add(this.options.commentPropName,[{[this.options.textNodeName]:ee}])}K=d}else if("!D"===i.substr(K+1,2)){const d=w(i,K);this.docTypeEntities=d.entities,K=d.i}else if("!["===i.substr(K+1,2)){const d=W(i,"]]>",K,"CDATA is not closed.")-2,ee=i.substring(K+9,d);v=this.saveTextToParentTag(v,p,V);let te=this.parseTextData(ee,p.tagname,V,!0,!1,!0,!0);null==te&&(te=""),this.options.cdataPropName?p.add(this.options.cdataPropName,[{[this.options.textNodeName]:ee}]):p.add(this.options.textNodeName,te),K=d+2}else{let ee=z(i,K,this.options.removeNSPrefix),te=ee.tagName;const re=ee.rawTagName;let ne=ee.tagExp,se=ee.attrExpPresent,ie=ee.closeIndex;this.options.transformTagName&&(te=this.options.transformTagName(te)),p&&v&&"!xml"!==p.tagname&&(v=this.saveTextToParentTag(v,p,V,!1));const oe=p;oe&&-1!==this.options.unpairedTags.indexOf(oe.tagname)&&(p=this.tagsNodeStack.pop(),V=V.substring(0,V.lastIndexOf("."))),te!==d.tagname&&(V+=V?"."+te:te);const ae=K;if(this.isItStopNode(this.options.stopNodes,V,te)){let d="";if(ne.length>0&&ne.lastIndexOf("/")===ne.length-1)"/"===te[te.length-1]?(te=te.substr(0,te.length-1),V=V.substr(0,V.length-1),ne=te):ne=ne.substr(0,ne.length-1),K=ee.closeIndex;else if(-1!==this.options.unpairedTags.indexOf(te))K=ee.closeIndex;else{const p=this.readStopNodeData(i,re,ie+1);if(!p)throw new Error(`Unexpected end of ${re}`);K=p.i,d=p.tagContent}const v=new T(te);te!==ne&&se&&(v[":@"]=this.buildAttributesMap(ne,V,te)),d&&(d=this.parseTextData(d,te,V,!0,se,!0,!0)),V=V.substr(0,V.lastIndexOf(".")),v.add(this.options.textNodeName,d),this.addChild(p,v,V,ae)}else{if(ne.length>0&&ne.lastIndexOf("/")===ne.length-1){"/"===te[te.length-1]?(te=te.substr(0,te.length-1),V=V.substr(0,V.length-1),ne=te):ne=ne.substr(0,ne.length-1),this.options.transformTagName&&(te=this.options.transformTagName(te));const i=new T(te);te!==ne&&se&&(i[":@"]=this.buildAttributesMap(ne,V,te)),this.addChild(p,i,V,ae),V=V.substr(0,V.lastIndexOf("."))}else{const i=new T(te);this.tagsNodeStack.push(p),te!==ne&&se&&(i[":@"]=this.buildAttributesMap(ne,V,te)),this.addChild(p,i,V,ae),p=i}v="",K=ie}}else v+=i[K];return d.child};function Y(i,d,p,v){this.options.captureMetaData||(v=void 0);const V=this.options.updateTag(d.tagname,p,d[":@"]);!1===V||("string"==typeof V?(d.tagname=V,i.addChild(d,v)):i.addChild(d,v))}const R=function(i){if(this.options.processEntities){for(let d in this.docTypeEntities){const p=this.docTypeEntities[d];i=i.replace(p.regx,p.val)}for(let d in this.lastEntities){const p=this.lastEntities[d];i=i.replace(p.regex,p.val)}if(this.options.htmlEntities)for(let d in this.htmlEntities){const p=this.htmlEntities[d];i=i.replace(p.regex,p.val)}i=i.replace(this.ampEntity.regex,this.ampEntity.val)}return i};function q(i,d,p,v){return i&&(void 0===v&&(v=0===d.child.length),void 0!==(i=this.parseTextData(i,d.tagname,p,!1,!!d[":@"]&&0!==Object.keys(d[":@"]).length,v))&&""!==i&&d.add(this.options.textNodeName,i),i=""),i}function Z(i,d,p){const v="*."+p;for(const p in i){const V=i[p];if(v===V||d===V)return!0}return!1}function W(i,d,p,v){const V=i.indexOf(d,p);if(-1===V)throw new Error(v);return V+d.length-1}function z(i,d,p,v=">"){const V=function(i,d,p=">"){let v,V="";for(let K=d;K",p,`${d} is not closed`);if(i.substring(p+2,K).trim()===d&&(V--,0===V))return{tagContent:i.substring(v,p),i:K};p=K}else if("?"===i[p+1])p=W(i,"?>",p+1,"StopNode is not closed.");else if("!--"===i.substr(p+1,3))p=W(i,"--\x3e",p+3,"StopNode is not closed.");else if("!["===i.substr(p+1,2))p=W(i,"]]>",p,"StopNode is not closed.")-2;else{const v=z(i,p,">");v&&((v&&v.tagName)===d&&"/"!==v.tagExp[v.tagExp.length-1]&&V++,p=v.closeIndex)}}function H(i,d,p){if(d&&"string"==typeof i){const d=i.trim();return"true"===d||"false"!==d&&function(i,d={}){if(d=Object.assign({},ae,d),!i||"string"!=typeof i)return i;let p=i.trim();if(void 0!==d.skipLike&&d.skipLike.test(p))return i;if("0"===i)return 0;if(d.hex&&ie.test(p))return function(i){if(parseInt)return parseInt(i,16);if(Number.parseInt)return Number.parseInt(i,16);if(window&&window.parseInt)return window.parseInt(i,16);throw new Error("parseInt, Number.parseInt, window.parseInt are not supported")}(p);if(-1!==p.search(/.+[eE].+/))return function(i,d,p){if(!p.eNotation)return i;const v=d.match(Ae);if(v){let V=v[1]||"";const K=-1===v[3].indexOf("e")?"E":"e",ee=v[2],te=V?i[ee.length+1]===K:i[ee.length]===K;return ee.length>1&&te?i:1!==ee.length||!v[3].startsWith(`.${K}`)&&v[3][0]!==K?p.leadingZeros&&!te?(d=(v[1]||"")+v[3],Number(d)):i:Number(d)}return i}(i,p,d);{const V=oe.exec(p);if(V){const K=V[1]||"",ee=V[2];let te=(v=V[3])&&-1!==v.indexOf(".")?("."===(v=v.replace(/0+$/,""))?v="0":"."===v[0]?v="0"+v:"."===v[v.length-1]&&(v=v.substring(0,v.length-1)),v):v;const re=K?"."===i[ee.length+1]:"."===i[ee.length];if(!d.leadingZeros&&(ee.length>1||1===ee.length&&!re))return i;{const v=Number(p),V=String(v);if(0===v||-0===v)return v;if(-1!==V.search(/[eE]/))return d.eNotation?v:i;if(-1!==p.indexOf("."))return"0"===V||V===te||V===`${K}${te}`?v:i;let re=ee?te:p;return ee?re===V||K+re===V?v:i:re===V||re===K+V?v:i}}return i}var v}(i,p)}return void 0!==i?i:""}const le=T.getMetaDataSymbol();function Q(i,d){return tt(i,d)}function tt(i,d,p){let v;const V={};for(let K=0;K0&&(V[d.textNodeName]=v):void 0!==v&&(V[d.textNodeName]=v),V}function et(i){const d=Object.keys(i);for(let i=0;i0&&(p="\n"),ot(i,d,"",p)}function ot(i,d,p,v){let V="",K=!1;for(let ee=0;ee`,K=!1;continue}if(re===d.commentPropName){V+=v+`\x3c!--${te[re][0][d.textNodeName]}--\x3e`,K=!0;continue}if("?"===re[0]){const i=lt(te[":@"],d),p="?xml"===re?"":v;let ee=te[re][0][d.textNodeName];ee=0!==ee.length?" "+ee:"",V+=p+`<${re}${ee}${i}?>`,K=!0;continue}let se=v;""!==se&&(se+=d.indentBy);const ie=v+`<${re}${lt(te[":@"],d)}`,oe=ot(te[re],d,ne,se);-1!==d.unpairedTags.indexOf(re)?d.suppressUnpairedNode?V+=ie+">":V+=ie+"/>":oe&&0!==oe.length||!d.suppressEmptyNode?oe&&oe.endsWith(">")?V+=ie+`>${oe}${v}`:(V+=ie+">",oe&&""!==v&&(oe.includes("/>")||oe.includes("`):V+=ie+"/>",K=!0}return V}function at(i){const d=Object.keys(i);for(let p=0;p0&&d.processEntities)for(let p=0;p","g"),val:">"},{regex:new RegExp("<","g"),val:"<"},{regex:new RegExp("'","g"),val:"'"},{regex:new RegExp('"',"g"),val:"""}],processEntities:!0,stopNodes:[],oneListGroup:!1};function ft(i){this.options=Object.assign({},ue,i),!0===this.options.ignoreAttributes||this.options.attributesGroupName?this.isAttribute=function(){return!1}:(this.ignoreAttributesFn=_(this.options.ignoreAttributes),this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=gt),this.processTextOrObjNode=ct,this.options.format?(this.indentate=pt,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function ct(i,d,p,v){const V=this.j2x(i,p+1,v.concat(d));return void 0!==i[this.options.textNodeName]&&1===Object.keys(i).length?this.buildTextValNode(i[this.options.textNodeName],d,V.attrStr,p):this.buildObjectNode(V.val,d,V.attrStr,p)}function pt(i){return this.options.indentBy.repeat(i)}function gt(i){return!(!i.startsWith(this.options.attributeNamePrefix)||i===this.options.textNodeName)&&i.substr(this.attrPrefixLen)}ft.prototype.build=function(i){return this.options.preserveOrder?rt(i,this.options):(Array.isArray(i)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(i={[this.options.arrayNodeName]:i}),this.j2x(i,0,[]).val)},ft.prototype.j2x=function(i,d,p){let v="",V="";const K=p.join(".");for(let ee in i)if(Object.prototype.hasOwnProperty.call(i,ee))if(void 0===i[ee])this.isAttribute(ee)&&(V+="");else if(null===i[ee])this.isAttribute(ee)||ee===this.options.cdataPropName?V+="":"?"===ee[0]?V+=this.indentate(d)+"<"+ee+"?"+this.tagEndChar:V+=this.indentate(d)+"<"+ee+"/"+this.tagEndChar;else if(i[ee]instanceof Date)V+=this.buildTextValNode(i[ee],ee,"",d);else if("object"!=typeof i[ee]){const p=this.isAttribute(ee);if(p&&!this.ignoreAttributesFn(p,K))v+=this.buildAttrPairStr(p,""+i[ee]);else if(!p)if(ee===this.options.textNodeName){let d=this.options.tagValueProcessor(ee,""+i[ee]);V+=this.replaceEntitiesValue(d)}else V+=this.buildTextValNode(i[ee],ee,"",d)}else if(Array.isArray(i[ee])){const v=i[ee].length;let K="",te="";for(let re=0;re"+i+V}},ft.prototype.closeTag=function(i){let d="";return-1!==this.options.unpairedTags.indexOf(i)?this.options.suppressUnpairedNode||(d="/"):d=this.options.suppressEmptyNode?"/":`>`+this.newLine;if(!1!==this.options.commentPropName&&d===this.options.commentPropName)return this.indentate(v)+`\x3c!--${i}--\x3e`+this.newLine;if("?"===d[0])return this.indentate(v)+"<"+d+p+"?"+this.tagEndChar;{let V=this.options.tagValueProcessor(d,i);return V=this.replaceEntitiesValue(V),""===V?this.indentate(v)+"<"+d+p+this.closeTag(d)+this.tagEndChar:this.indentate(v)+"<"+d+p+">"+V+"0&&this.options.processEntities)for(let d=0;d{i.exports=JSON.parse('{"name":"@actions/artifact","version":"5.0.3","preview":true,"description":"Actions artifact lib","keywords":["github","actions","artifact"],"homepage":"https://github.com/actions/toolkit/tree/main/packages/artifact","license":"MIT","main":"lib/artifact.js","types":"lib/artifact.d.ts","directories":{"lib":"lib","test":"__tests__"},"files":["lib","!.DS_Store"],"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/actions/toolkit.git","directory":"packages/artifact"},"scripts":{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json","test":"cd ../../ && npm run test ./packages/artifact","bootstrap":"cd ../../ && npm run bootstrap","tsc-run":"tsc","tsc":"npm run bootstrap && npm run tsc-run","gen:docs":"typedoc --plugin typedoc-plugin-markdown --out docs/generated src/artifact.ts --githubPages false --readme none"},"bugs":{"url":"https://github.com/actions/toolkit/issues"},"dependencies":{"@actions/core":"^2.0.0","@actions/github":"^6.0.1","@actions/http-client":"^3.0.2","@azure/storage-blob":"^12.29.1","@octokit/core":"^5.2.1","@octokit/plugin-request-log":"^1.0.4","@octokit/plugin-retry":"^3.0.9","@octokit/request":"^8.4.1","@octokit/request-error":"^5.1.1","@protobuf-ts/plugin":"^2.2.3-alpha.1","archiver":"^7.0.1","jwt-decode":"^3.1.2","unzip-stream":"^0.3.1"},"devDependencies":{"@types/archiver":"^5.3.2","@types/unzip-stream":"^0.3.4","typedoc":"^0.28.13","typedoc-plugin-markdown":"^3.17.1","typescript":"^5.2.2"},"overrides":{"uri-js":"npm:uri-js-replace@^1.0.1","node-fetch":"^3.3.2"}}')},64012:i=>{i.exports=JSON.parse('{"name":"@actions/cache","version":"5.0.5","preview":true,"description":"Actions cache lib","keywords":["github","actions","cache"],"homepage":"https://github.com/actions/toolkit/tree/main/packages/cache","license":"MIT","main":"lib/cache.js","types":"lib/cache.d.ts","directories":{"lib":"lib","test":"__tests__"},"files":["lib","!.DS_Store"],"publishConfig":{"access":"public"},"repository":{"type":"git","url":"git+https://github.com/actions/toolkit.git","directory":"packages/cache"},"scripts":{"audit-moderate":"npm install && npm audit --json --audit-level=moderate > audit.json","test":"echo \\"Error: run tests from root\\" && exit 1","tsc":"tsc"},"bugs":{"url":"https://github.com/actions/toolkit/issues"},"dependencies":{"@actions/core":"^2.0.0","@actions/exec":"^2.0.0","@actions/glob":"^0.5.1","@protobuf-ts/runtime-rpc":"^2.11.1","@actions/http-client":"^3.0.2","@actions/io":"^2.0.0","@azure/abort-controller":"^1.1.0","@azure/core-rest-pipeline":"^1.22.0","@azure/storage-blob":"^12.29.1","semver":"^6.3.1"},"devDependencies":{"@types/node":"^24.1.0","@types/semver":"^6.0.0","@protobuf-ts/plugin":"^2.9.4","typescript":"^5.2.2"},"overrides":{"uri-js":"npm:uri-js-replace@^1.0.1","node-fetch":"^3.3.2"}}')},47643:i=>{i.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.978.0","scripts":{"build":"concurrently \'yarn:build:types\' \'yarn:build:es\' && yarn build:cjs","build:cjs":"node ../../scripts/compilation/inline client-ecr-public","build:es":"tsc -p tsconfig.es.json","build:include:deps":"yarn g:turbo run build -F=\\"$npm_package_name\\"","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo ecr-public","test:index":"tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"},"main":"./dist-cjs/index.js","types":"./dist-types/index.d.ts","module":"./dist-es/index.js","sideEffects":false,"dependencies":{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/core":"^3.973.4","@aws-sdk/credential-provider-node":"^3.972.2","@aws-sdk/middleware-host-header":"^3.972.2","@aws-sdk/middleware-logger":"^3.972.2","@aws-sdk/middleware-recursion-detection":"^3.972.2","@aws-sdk/middleware-user-agent":"^3.972.4","@aws-sdk/region-config-resolver":"^3.972.2","@aws-sdk/types":"^3.973.1","@aws-sdk/util-endpoints":"3.972.0","@aws-sdk/util-user-agent-browser":"^3.972.2","@aws-sdk/util-user-agent-node":"^3.972.2","@smithy/config-resolver":"^4.4.6","@smithy/core":"^3.22.0","@smithy/fetch-http-handler":"^5.3.9","@smithy/hash-node":"^4.2.8","@smithy/invalid-dependency":"^4.2.8","@smithy/middleware-content-length":"^4.2.8","@smithy/middleware-endpoint":"^4.4.12","@smithy/middleware-retry":"^4.4.29","@smithy/middleware-serde":"^4.2.9","@smithy/middleware-stack":"^4.2.8","@smithy/node-config-provider":"^4.3.8","@smithy/node-http-handler":"^4.4.8","@smithy/protocol-http":"^5.3.8","@smithy/smithy-client":"^4.11.1","@smithy/types":"^4.12.0","@smithy/url-parser":"^4.2.8","@smithy/util-base64":"^4.3.0","@smithy/util-body-length-browser":"^4.2.0","@smithy/util-body-length-node":"^4.2.1","@smithy/util-defaults-mode-browser":"^4.3.28","@smithy/util-defaults-mode-node":"^4.2.31","@smithy/util-endpoints":"^3.2.8","@smithy/util-middleware":"^4.2.8","@smithy/util-retry":"^4.2.8","@smithy/util-utf8":"^4.2.0","tslib":"^2.6.2"},"devDependencies":{"@tsconfig/node20":"20.1.8","@types/node":"^20.14.8","concurrently":"7.0.0","downlevel-dts":"0.10.1","premove":"4.0.0","typescript":"~5.8.3"},"engines":{"node":">=20.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"}}')},40121:i=>{i.exports=JSON.parse('{"name":"@aws-sdk/client-ecr","description":"AWS SDK for JavaScript Ecr Client for Node.js, Browser and React Native","version":"3.978.0","scripts":{"build":"concurrently \'yarn:build:types\' \'yarn:build:es\' && yarn build:cjs","build:cjs":"node ../../scripts/compilation/inline client-ecr","build:es":"tsc -p tsconfig.es.json","build:include:deps":"yarn g:turbo run build -F=\\"$npm_package_name\\"","build:types":"tsc -p tsconfig.types.json","build:types:downlevel":"downlevel-dts dist-types dist-types/ts3.4","clean":"premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo","extract:docs":"api-extractor run --local","generate:client":"node ../../scripts/generate-clients/single-service --solo ecr","test:e2e":"yarn g:vitest run -c vitest.config.e2e.mts --mode development","test:e2e:watch":"yarn g:vitest watch -c vitest.config.e2e.mts","test:index":"tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"},"main":"./dist-cjs/index.js","types":"./dist-types/index.d.ts","module":"./dist-es/index.js","sideEffects":false,"dependencies":{"@aws-crypto/sha256-browser":"5.2.0","@aws-crypto/sha256-js":"5.2.0","@aws-sdk/core":"^3.973.4","@aws-sdk/credential-provider-node":"^3.972.2","@aws-sdk/middleware-host-header":"^3.972.2","@aws-sdk/middleware-logger":"^3.972.2","@aws-sdk/middleware-recursion-detection":"^3.972.2","@aws-sdk/middleware-user-agent":"^3.972.4","@aws-sdk/region-config-resolver":"^3.972.2","@aws-sdk/types":"^3.973.1","@aws-sdk/util-endpoints":"3.972.0","@aws-sdk/util-user-agent-browser":"^3.972.2","@aws-sdk/util-user-agent-node":"^3.972.2","@smithy/config-resolver":"^4.4.6","@smithy/core":"^3.22.0","@smithy/fetch-http-handler":"^5.3.9","@smithy/hash-node":"^4.2.8","@smithy/invalid-dependency":"^4.2.8","@smithy/middleware-content-length":"^4.2.8","@smithy/middleware-endpoint":"^4.4.12","@smithy/middleware-retry":"^4.4.29","@smithy/middleware-serde":"^4.2.9","@smithy/middleware-stack":"^4.2.8","@smithy/node-config-provider":"^4.3.8","@smithy/node-http-handler":"^4.4.8","@smithy/protocol-http":"^5.3.8","@smithy/smithy-client":"^4.11.1","@smithy/types":"^4.12.0","@smithy/url-parser":"^4.2.8","@smithy/util-base64":"^4.3.0","@smithy/util-body-length-browser":"^4.2.0","@smithy/util-body-length-node":"^4.2.1","@smithy/util-defaults-mode-browser":"^4.3.28","@smithy/util-defaults-mode-node":"^4.2.31","@smithy/util-endpoints":"^3.2.8","@smithy/util-middleware":"^4.2.8","@smithy/util-retry":"^4.2.8","@smithy/util-utf8":"^4.2.0","@smithy/util-waiter":"^4.2.8","tslib":"^2.6.2"},"devDependencies":{"@tsconfig/node20":"20.1.8","@types/node":"^20.14.8","concurrently":"7.0.0","downlevel-dts":"0.10.1","premove":"4.0.0","typescript":"~5.8.3"},"engines":{"node":">=20.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"}}')}};var p={};function __nccwpck_require__(i){var v=p[i];if(v!==undefined){return v.exports}var V=p[i]={id:i,loaded:false,exports:{}};var K=true;try{d[i].call(V.exports,V,V.exports,__nccwpck_require__);K=false}finally{if(K)delete p[i]}V.loaded=true;return V.exports}__nccwpck_require__.m=d;(()=>{__nccwpck_require__.n=i=>{var d=i&&i.__esModule?()=>i["default"]:()=>i;__nccwpck_require__.d(d,{a:d});return d}})();(()=>{var i=Object.getPrototypeOf?i=>Object.getPrototypeOf(i):i=>i.__proto__;var d;__nccwpck_require__.t=function(p,v){if(v&1)p=this(p);if(v&8)return p;if(typeof p==="object"&&p){if(v&4&&p.__esModule)return p;if(v&16&&typeof p.then==="function")return p}var V=Object.create(null);__nccwpck_require__.r(V);var K={};d=d||[null,i({}),i([]),i(i)];for(var ee=v&2&&p;typeof ee=="object"&&!~d.indexOf(ee);ee=i(ee)){Object.getOwnPropertyNames(ee).forEach((i=>K[i]=()=>p[i]))}K["default"]=()=>p;__nccwpck_require__.d(V,K);return V}})();(()=>{__nccwpck_require__.d=(i,d)=>{for(var p in d){if(__nccwpck_require__.o(d,p)&&!__nccwpck_require__.o(i,p)){Object.defineProperty(i,p,{enumerable:true,get:d[p]})}}}})();(()=>{__nccwpck_require__.f={};__nccwpck_require__.e=i=>Promise.all(Object.keys(__nccwpck_require__.f).reduce(((d,p)=>{__nccwpck_require__.f[p](i,d);return d}),[]))})();(()=>{__nccwpck_require__.u=i=>""+i+".index.js"})();(()=>{__nccwpck_require__.o=(i,d)=>Object.prototype.hasOwnProperty.call(i,d)})();(()=>{__nccwpck_require__.r=i=>{if(typeof Symbol!=="undefined"&&Symbol.toStringTag){Object.defineProperty(i,Symbol.toStringTag,{value:"Module"})}Object.defineProperty(i,"__esModule",{value:true})}})();(()=>{__nccwpck_require__.nmd=i=>{i.paths=[];if(!i.children)i.children=[];return i}})();if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=new URL(".",import.meta.url).pathname.slice(import.meta.url.match(/^file:\/\/\/\w:/)?1:0,-1)+"/";(()=>{var i={792:0};var installChunk=d=>{var{ids:p,modules:v,runtime:V}=d;var K,ee,te=0;for(K in v){if(__nccwpck_require__.o(v,K)){__nccwpck_require__.m[K]=v[K]}}if(V)V(__nccwpck_require__);for(;te{var v=__nccwpck_require__.o(i,d)?i[d]:undefined;if(v!==0){if(v){p.push(v[1])}else{if(true){var V=import("./"+__nccwpck_require__.u(d)).then(installChunk,(p=>{if(i[d]!==0)i[d]=undefined;throw p}));var V=Promise.race([V,new Promise((p=>v=i[d]=[p]))]);p.push(v[1]=V)}}}}})();var v={};__nccwpck_require__.d(v,{i:()=>main});var V=__nccwpck_require__(70857);function utils_toCommandValue(i){if(i===null||i===undefined){return""}else if(typeof i==="string"||i instanceof String){return i}return JSON.stringify(i)}function utils_toCommandProperties(i){if(!Object.keys(i).length){return{}}return{title:i.title,file:i.file,line:i.startLine,endLine:i.endLine,col:i.startColumn,endColumn:i.endColumn}}function command_issueCommand(i,d,p){const v=new Command(i,d,p);process.stdout.write(v.toString()+V.EOL)}function command_issue(i,d=""){command_issueCommand(i,{},d)}const K="::";class Command{constructor(i,d,p){if(!i){i="missing.command"}this.command=i;this.properties=d;this.message=p}toString(){let i=K+this.command;if(this.properties&&Object.keys(this.properties).length>0){i+=" ";let d=true;for(const p in this.properties){if(this.properties.hasOwnProperty(p)){const v=this.properties[p];if(v){if(d){d=false}else{i+=","}i+=`${p}=${escapeProperty(v)}`}}}}i+=`${K}${escapeData(this.message)}`;return i}}function escapeData(i){return utils_toCommandValue(i).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function escapeProperty(i){return utils_toCommandValue(i).replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A").replace(/:/g,"%3A").replace(/,/g,"%2C")}var ee=__nccwpck_require__(76982);var te=__nccwpck_require__(79896);function file_command_issueFileCommand(i,d){const p=process.env[`GITHUB_${i}`];if(!p){throw new Error(`Unable to find environment variable for file command ${i}`)}if(!te.existsSync(p)){throw new Error(`Missing file at path: ${p}`)}te.appendFileSync(p,`${utils_toCommandValue(d)}${V.EOL}`,{encoding:"utf8"})}function file_command_prepareKeyValueMessage(i,d){const p=`ghadelimiter_${ee.randomUUID()}`;const v=utils_toCommandValue(d);if(i.includes(p)){throw new Error(`Unexpected input: name should not contain the delimiter "${p}"`)}if(v.includes(p)){throw new Error(`Unexpected input: value should not contain the delimiter "${p}"`)}return`${i}<<${p}${V.EOL}${v}${V.EOL}${p}`}var re=__nccwpck_require__(16928);var ne=__nccwpck_require__.n(re);var se=__nccwpck_require__(58611);var ie=__nccwpck_require__(65692);function getProxyUrl(i){const d=i.protocol==="https:";if(checkBypass(i)){return undefined}const p=(()=>{if(d){return process.env["https_proxy"]||process.env["HTTPS_PROXY"]}else{return process.env["http_proxy"]||process.env["HTTP_PROXY"]}})();if(p){try{return new DecodedURL(p)}catch(i){if(!p.startsWith("http://")&&!p.startsWith("https://"))return new DecodedURL(`http://${p}`)}}else{return undefined}}function checkBypass(i){if(!i.hostname){return false}const d=i.hostname;if(isLoopbackAddress(d)){return true}const p=process.env["no_proxy"]||process.env["NO_PROXY"]||"";if(!p){return false}let v;if(i.port){v=Number(i.port)}else if(i.protocol==="http:"){v=80}else if(i.protocol==="https:"){v=443}const V=[i.hostname.toUpperCase()];if(typeof v==="number"){V.push(`${V[0]}:${v}`)}for(const i of p.split(",").map((i=>i.trim().toUpperCase())).filter((i=>i))){if(i==="*"||V.some((d=>d===i||d.endsWith(`.${i}`)||i.startsWith(".")&&d.endsWith(`${i}`)))){return true}}return false}function isLoopbackAddress(i){const d=i.toLowerCase();return d==="localhost"||d.startsWith("127.")||d.startsWith("[::1]")||d.startsWith("[0:0:0:0:0:0:0:1]")}class DecodedURL extends URL{constructor(i,d){super(i,d);this._decodedUsername=decodeURIComponent(super.username);this._decodedPassword=decodeURIComponent(super.password)}get username(){return this._decodedUsername}get password(){return this._decodedPassword}}var oe=__nccwpck_require__(20770);var ae=__nccwpck_require__(99239);var Ae=undefined&&undefined.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};var ce;(function(i){i[i["OK"]=200]="OK";i[i["MultipleChoices"]=300]="MultipleChoices";i[i["MovedPermanently"]=301]="MovedPermanently";i[i["ResourceMoved"]=302]="ResourceMoved";i[i["SeeOther"]=303]="SeeOther";i[i["NotModified"]=304]="NotModified";i[i["UseProxy"]=305]="UseProxy";i[i["SwitchProxy"]=306]="SwitchProxy";i[i["TemporaryRedirect"]=307]="TemporaryRedirect";i[i["PermanentRedirect"]=308]="PermanentRedirect";i[i["BadRequest"]=400]="BadRequest";i[i["Unauthorized"]=401]="Unauthorized";i[i["PaymentRequired"]=402]="PaymentRequired";i[i["Forbidden"]=403]="Forbidden";i[i["NotFound"]=404]="NotFound";i[i["MethodNotAllowed"]=405]="MethodNotAllowed";i[i["NotAcceptable"]=406]="NotAcceptable";i[i["ProxyAuthenticationRequired"]=407]="ProxyAuthenticationRequired";i[i["RequestTimeout"]=408]="RequestTimeout";i[i["Conflict"]=409]="Conflict";i[i["Gone"]=410]="Gone";i[i["TooManyRequests"]=429]="TooManyRequests";i[i["InternalServerError"]=500]="InternalServerError";i[i["NotImplemented"]=501]="NotImplemented";i[i["BadGateway"]=502]="BadGateway";i[i["ServiceUnavailable"]=503]="ServiceUnavailable";i[i["GatewayTimeout"]=504]="GatewayTimeout"})(ce||(ce={}));var le;(function(i){i["Accept"]="accept";i["ContentType"]="content-type"})(le||(le={}));var ue;(function(i){i["ApplicationJson"]="application/json"})(ue||(ue={}));function lib_getProxyUrl(i){const d=pm.getProxyUrl(new URL(i));return d?d.href:""}const de=[ce.MovedPermanently,ce.ResourceMoved,ce.SeeOther,ce.TemporaryRedirect,ce.PermanentRedirect];const he=[ce.BadGateway,ce.ServiceUnavailable,ce.GatewayTimeout];const fe=null&&["OPTIONS","GET","DELETE","HEAD"];const ge=10;const pe=5;class HttpClientError extends Error{constructor(i,d){super(i);this.name="HttpClientError";this.statusCode=d;Object.setPrototypeOf(this,HttpClientError.prototype)}}class HttpClientResponse{constructor(i){this.message=i}readBody(){return Ae(this,void 0,void 0,(function*(){return new Promise((i=>Ae(this,void 0,void 0,(function*(){let d=Buffer.alloc(0);this.message.on("data",(i=>{d=Buffer.concat([d,i])}));this.message.on("end",(()=>{i(d.toString())}))}))))}))}readBodyBuffer(){return Ae(this,void 0,void 0,(function*(){return new Promise((i=>Ae(this,void 0,void 0,(function*(){const d=[];this.message.on("data",(i=>{d.push(i)}));this.message.on("end",(()=>{i(Buffer.concat(d))}))}))))}))}}function isHttps(i){const d=new URL(i);return d.protocol==="https:"}class lib_HttpClient{constructor(i,d,p){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=this._getUserAgentWithOrchestrationId(i);this.handlers=d||[];this.requestOptions=p;if(p){if(p.ignoreSslError!=null){this._ignoreSslError=p.ignoreSslError}this._socketTimeout=p.socketTimeout;if(p.allowRedirects!=null){this._allowRedirects=p.allowRedirects}if(p.allowRedirectDowngrade!=null){this._allowRedirectDowngrade=p.allowRedirectDowngrade}if(p.maxRedirects!=null){this._maxRedirects=Math.max(p.maxRedirects,0)}if(p.keepAlive!=null){this._keepAlive=p.keepAlive}if(p.allowRetries!=null){this._allowRetries=p.allowRetries}if(p.maxRetries!=null){this._maxRetries=p.maxRetries}}}options(i,d){return Ae(this,void 0,void 0,(function*(){return this.request("OPTIONS",i,null,d||{})}))}get(i,d){return Ae(this,void 0,void 0,(function*(){return this.request("GET",i,null,d||{})}))}del(i,d){return Ae(this,void 0,void 0,(function*(){return this.request("DELETE",i,null,d||{})}))}post(i,d,p){return Ae(this,void 0,void 0,(function*(){return this.request("POST",i,d,p||{})}))}patch(i,d,p){return Ae(this,void 0,void 0,(function*(){return this.request("PATCH",i,d,p||{})}))}put(i,d,p){return Ae(this,void 0,void 0,(function*(){return this.request("PUT",i,d,p||{})}))}head(i,d){return Ae(this,void 0,void 0,(function*(){return this.request("HEAD",i,null,d||{})}))}sendStream(i,d,p,v){return Ae(this,void 0,void 0,(function*(){return this.request(i,d,p,v)}))}getJson(i){return Ae(this,arguments,void 0,(function*(i,d={}){d[le.Accept]=this._getExistingOrDefaultHeader(d,le.Accept,ue.ApplicationJson);const p=yield this.get(i,d);return this._processResponse(p,this.requestOptions)}))}postJson(i,d){return Ae(this,arguments,void 0,(function*(i,d,p={}){const v=JSON.stringify(d,null,2);p[le.Accept]=this._getExistingOrDefaultHeader(p,le.Accept,ue.ApplicationJson);p[le.ContentType]=this._getExistingOrDefaultContentTypeHeader(p,ue.ApplicationJson);const V=yield this.post(i,v,p);return this._processResponse(V,this.requestOptions)}))}putJson(i,d){return Ae(this,arguments,void 0,(function*(i,d,p={}){const v=JSON.stringify(d,null,2);p[le.Accept]=this._getExistingOrDefaultHeader(p,le.Accept,ue.ApplicationJson);p[le.ContentType]=this._getExistingOrDefaultContentTypeHeader(p,ue.ApplicationJson);const V=yield this.put(i,v,p);return this._processResponse(V,this.requestOptions)}))}patchJson(i,d){return Ae(this,arguments,void 0,(function*(i,d,p={}){const v=JSON.stringify(d,null,2);p[le.Accept]=this._getExistingOrDefaultHeader(p,le.Accept,ue.ApplicationJson);p[le.ContentType]=this._getExistingOrDefaultContentTypeHeader(p,ue.ApplicationJson);const V=yield this.patch(i,v,p);return this._processResponse(V,this.requestOptions)}))}request(i,d,p,v){return Ae(this,void 0,void 0,(function*(){if(this._disposed){throw new Error("Client has already been disposed.")}const V=new URL(d);let K=this._prepareRequest(i,V,v);const ee=this._allowRetries&&fe.includes(i)?this._maxRetries+1:1;let te=0;let re;do{re=yield this.requestRaw(K,p);if(re&&re.message&&re.message.statusCode===ce.Unauthorized){let i;for(const d of this.handlers){if(d.canHandleAuthentication(re)){i=d;break}}if(i){return i.handleAuthentication(this,K,p)}else{return re}}let d=this._maxRedirects;while(re.message.statusCode&&de.includes(re.message.statusCode)&&this._allowRedirects&&d>0){const ee=re.message.headers["location"];if(!ee){break}const te=new URL(ee);if(V.protocol==="https:"&&V.protocol!==te.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 re.readBody();if(te.hostname!==V.hostname){for(const i in v){if(i.toLowerCase()==="authorization"){delete v[i]}}}K=this._prepareRequest(i,te,v);re=yield this.requestRaw(K,p);d--}if(!re.message.statusCode||!he.includes(re.message.statusCode)){return re}te+=1;if(te{function callbackForResult(i,d){if(i){v(i)}else if(!d){v(new Error("Unknown error"))}else{p(d)}}this.requestRawWithCallback(i,d,callbackForResult)}))}))}requestRawWithCallback(i,d,p){if(typeof d==="string"){if(!i.options.headers){i.options.headers={}}i.options.headers["Content-Length"]=Buffer.byteLength(d,"utf8")}let v=false;function handleResult(i,d){if(!v){v=true;p(i,d)}}const V=i.httpModule.request(i.options,(i=>{const d=new HttpClientResponse(i);handleResult(undefined,d)}));let K;V.on("socket",(i=>{K=i}));V.setTimeout(this._socketTimeout||3*6e4,(()=>{if(K){K.end()}handleResult(new Error(`Request timeout: ${i.options.path}`))}));V.on("error",(function(i){handleResult(i)}));if(d&&typeof d==="string"){V.write(d,"utf8")}if(d&&typeof d!=="string"){d.on("close",(function(){V.end()}));d.pipe(V)}else{V.end()}}getAgent(i){const d=new URL(i);return this._getAgent(d)}getAgentDispatcher(i){const d=new URL(i);const p=pm.getProxyUrl(d);const v=p&&p.hostname;if(!v){return}return this._getProxyAgentDispatcher(d,p)}_prepareRequest(i,d,p){const v={};v.parsedUrl=d;const V=v.parsedUrl.protocol==="https:";v.httpModule=V?https:http;const K=V?443:80;v.options={};v.options.host=v.parsedUrl.hostname;v.options.port=v.parsedUrl.port?parseInt(v.parsedUrl.port):K;v.options.path=(v.parsedUrl.pathname||"")+(v.parsedUrl.search||"");v.options.method=i;v.options.headers=this._mergeHeaders(p);if(this.userAgent!=null){v.options.headers["user-agent"]=this.userAgent}v.options.agent=this._getAgent(v.parsedUrl);if(this.handlers){for(const i of this.handlers){i.prepareRequest(v.options)}}return v}_mergeHeaders(i){if(this.requestOptions&&this.requestOptions.headers){return Object.assign({},lowercaseKeys(this.requestOptions.headers),lowercaseKeys(i||{}))}return lowercaseKeys(i||{})}_getExistingOrDefaultHeader(i,d,p){let v;if(this.requestOptions&&this.requestOptions.headers){const i=lowercaseKeys(this.requestOptions.headers)[d];if(i){v=typeof i==="number"?i.toString():i}}const V=i[d];if(V!==undefined){return typeof V==="number"?V.toString():V}if(v!==undefined){return v}return p}_getExistingOrDefaultContentTypeHeader(i,d){let p;if(this.requestOptions&&this.requestOptions.headers){const i=lowercaseKeys(this.requestOptions.headers)[le.ContentType];if(i){if(typeof i==="number"){p=String(i)}else if(Array.isArray(i)){p=i.join(", ")}else{p=i}}}const v=i[le.ContentType];if(v!==undefined){if(typeof v==="number"){return String(v)}else if(Array.isArray(v)){return v.join(", ")}else{return v}}if(p!==undefined){return p}return d}_getAgent(i){let d;const p=pm.getProxyUrl(i);const v=p&&p.hostname;if(this._keepAlive&&v){d=this._proxyAgent}if(!v){d=this._agent}if(d){return d}const V=i.protocol==="https:";let K=100;if(this.requestOptions){K=this.requestOptions.maxSockets||http.globalAgent.maxSockets}if(p&&p.hostname){const i={maxSockets:K,keepAlive:this._keepAlive,proxy:Object.assign(Object.assign({},(p.username||p.password)&&{proxyAuth:`${p.username}:${p.password}`}),{host:p.hostname,port:p.port})};let v;const ee=p.protocol==="https:";if(V){v=ee?tunnel.httpsOverHttps:tunnel.httpsOverHttp}else{v=ee?tunnel.httpOverHttps:tunnel.httpOverHttp}d=v(i);this._proxyAgent=d}if(!d){const i={keepAlive:this._keepAlive,maxSockets:K};d=V?new https.Agent(i):new http.Agent(i);this._agent=d}if(V&&this._ignoreSslError){d.options=Object.assign(d.options||{},{rejectUnauthorized:false})}return d}_getProxyAgentDispatcher(i,d){let p;if(this._keepAlive){p=this._proxyAgentDispatcher}if(p){return p}const v=i.protocol==="https:";p=new ProxyAgent(Object.assign({uri:d.href,pipelining:!this._keepAlive?0:1},(d.username||d.password)&&{token:`Basic ${Buffer.from(`${d.username}:${d.password}`).toString("base64")}`}));this._proxyAgentDispatcher=p;if(v&&this._ignoreSslError){p.options=Object.assign(p.options.requestTls||{},{rejectUnauthorized:false})}return p}_getUserAgentWithOrchestrationId(i){const d=i||"actions/http-client";const p=process.env["ACTIONS_ORCHESTRATION_ID"];if(p){const i=p.replace(/[^a-z0-9_.-]/gi,"_");return`${d} actions_orchestration_id/${i}`}return d}_performExponentialBackoff(i){return Ae(this,void 0,void 0,(function*(){i=Math.min(ge,i);const d=pe*Math.pow(2,i);return new Promise((i=>setTimeout((()=>i()),d)))}))}_processResponse(i,d){return Ae(this,void 0,void 0,(function*(){return new Promise(((p,v)=>Ae(this,void 0,void 0,(function*(){const V=i.message.statusCode||0;const K={statusCode:V,result:null,headers:{}};if(V===ce.NotFound){p(K)}function dateTimeDeserializer(i,d){if(typeof d==="string"){const i=new Date(d);if(!isNaN(i.valueOf())){return i}}return d}let ee;let te;try{te=yield i.readBody();if(te&&te.length>0){if(d&&d.deserializeDates){ee=JSON.parse(te,dateTimeDeserializer)}else{ee=JSON.parse(te)}K.result=ee}K.headers=i.message.headers}catch(i){}if(V>299){let i;if(ee&&ee.message){i=ee.message}else if(te&&te.length>0){i=te}else{i=`Failed request: (${V})`}const d=new HttpClientError(i,V);d.result=K.result;v(d)}else{p(K)}}))))}))}}const lowercaseKeys=i=>Object.keys(i).reduce(((d,p)=>(d[p.toLowerCase()]=i[p],d)),{});var me=undefined&&undefined.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};class BasicCredentialHandler{constructor(i,d){this.username=i;this.password=d}prepareRequest(i){if(!i.headers){throw Error("The request has no headers")}i.headers["Authorization"]=`Basic ${Buffer.from(`${this.username}:${this.password}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return me(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}class auth_BearerCredentialHandler{constructor(i){this.token=i}prepareRequest(i){if(!i.headers){throw Error("The request has no headers")}i.headers["Authorization"]=`Bearer ${this.token}`}canHandleAuthentication(){return false}handleAuthentication(){return me(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}class PersonalAccessTokenCredentialHandler{constructor(i){this.token=i}prepareRequest(i){if(!i.headers){throw Error("The request has no headers")}i.headers["Authorization"]=`Basic ${Buffer.from(`PAT:${this.token}`).toString("base64")}`}canHandleAuthentication(){return false}handleAuthentication(){return me(this,void 0,void 0,(function*(){throw new Error("not implemented")}))}}var Ee=undefined&&undefined.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};class oidc_utils_OidcClient{static createHttpClient(i=true,d=10){const p={allowRetries:i,maxRetries:d};return new HttpClient("actions/oidc-client",[new BearerCredentialHandler(oidc_utils_OidcClient.getRequestToken())],p)}static getRequestToken(){const i=process.env["ACTIONS_ID_TOKEN_REQUEST_TOKEN"];if(!i){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable")}return i}static getIDTokenUrl(){const i=process.env["ACTIONS_ID_TOKEN_REQUEST_URL"];if(!i){throw new Error("Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable")}return i}static getCall(i){return Ee(this,void 0,void 0,(function*(){var d;const p=oidc_utils_OidcClient.createHttpClient();const v=yield p.getJson(i).catch((i=>{throw new Error(`Failed to get ID Token. \n \n Error Code : ${i.statusCode}\n \n Error Message: ${i.message}`)}));const V=(d=v.result)===null||d===void 0?void 0:d.value;if(!V){throw new Error("Response json body do not have ID Token field")}return V}))}static getIDToken(i){return Ee(this,void 0,void 0,(function*(){try{let d=oidc_utils_OidcClient.getIDTokenUrl();if(i){const p=encodeURIComponent(i);d=`${d}&audience=${p}`}debug(`ID token url is ${d}`);const p=yield oidc_utils_OidcClient.getCall(d);setSecret(p);return p}catch(i){throw new Error(`Error message: ${i.message}`)}}))}}var Ce=undefined&&undefined.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};const{access:ye,appendFile:Ie,writeFile:Be}=te.promises;const Qe="GITHUB_STEP_SUMMARY";const be="https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary";class Summary{constructor(){this._buffer=""}filePath(){return Ce(this,void 0,void 0,(function*(){if(this._filePath){return this._filePath}const i=process.env[Qe];if(!i){throw new Error(`Unable to find environment variable for $${Qe}. Check if your runtime environment supports job summaries.`)}try{yield ye(i,te.constants.R_OK|te.constants.W_OK)}catch(d){throw new Error(`Unable to access summary file: '${i}'. Check if the file has correct read/write permissions.`)}this._filePath=i;return this._filePath}))}wrap(i,d,p={}){const v=Object.entries(p).map((([i,d])=>` ${i}="${d}"`)).join("");if(!d){return`<${i}${v}>`}return`<${i}${v}>${d}`}write(i){return Ce(this,void 0,void 0,(function*(){const d=!!(i===null||i===void 0?void 0:i.overwrite);const p=yield this.filePath();const v=d?Be:Ie;yield v(p,this._buffer,{encoding:"utf8"});return this.emptyBuffer()}))}clear(){return Ce(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(i,d=false){this._buffer+=i;return d?this.addEOL():this}addEOL(){return this.addRaw(V.EOL)}addCodeBlock(i,d){const p=Object.assign({},d&&{lang:d});const v=this.wrap("pre",this.wrap("code",i),p);return this.addRaw(v).addEOL()}addList(i,d=false){const p=d?"ol":"ul";const v=i.map((i=>this.wrap("li",i))).join("");const V=this.wrap(p,v);return this.addRaw(V).addEOL()}addTable(i){const d=i.map((i=>{const d=i.map((i=>{if(typeof i==="string"){return this.wrap("td",i)}const{header:d,data:p,colspan:v,rowspan:V}=i;const K=d?"th":"td";const ee=Object.assign(Object.assign({},v&&{colspan:v}),V&&{rowspan:V});return this.wrap(K,p,ee)})).join("");return this.wrap("tr",d)})).join("");const p=this.wrap("table",d);return this.addRaw(p).addEOL()}addDetails(i,d){const p=this.wrap("details",this.wrap("summary",i)+d);return this.addRaw(p).addEOL()}addImage(i,d,p){const{width:v,height:V}=p||{};const K=Object.assign(Object.assign({},v&&{width:v}),V&&{height:V});const ee=this.wrap("img",null,Object.assign({src:i,alt:d},K));return this.addRaw(ee).addEOL()}addHeading(i,d){const p=`h${d}`;const v=["h1","h2","h3","h4","h5","h6"].includes(p)?p:"h1";const V=this.wrap(v,i);return this.addRaw(V).addEOL()}addSeparator(){const i=this.wrap("hr",null);return this.addRaw(i).addEOL()}addBreak(){const i=this.wrap("br",null);return this.addRaw(i).addEOL()}addQuote(i,d){const p=Object.assign({},d&&{cite:d});const v=this.wrap("blockquote",i,p);return this.addRaw(v).addEOL()}addLink(i,d){const p=this.wrap("a",i,{href:d});return this.addRaw(p).addEOL()}}const we=new Summary;const Se=null&&we;const Re=null&&we;function toPosixPath(i){return i.replace(/[\\]/g,"/")}function toWin32Path(i){return i.replace(/[/]/g,"\\")}function toPlatformPath(i){return i.replace(/[/\\]/g,path.sep)}var ve=__nccwpck_require__(13193);var ke=__nccwpck_require__(24434);var Te=__nccwpck_require__(35317);var Ne=__nccwpck_require__(42613);var De=undefined&&undefined.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};const{chmod:xe,copyFile:Fe,lstat:Pe,mkdir:Le,open:_e,readdir:Me,rename:Ue,rm:Oe,rmdir:He,stat:Ge,symlink:Ve,unlink:qe}=te.promises;const Ye=process.platform==="win32";function readlink(i){return De(this,void 0,void 0,(function*(){const d=yield fs.promises.readlink(i);if(Ye&&!d.endsWith("\\")){return`${d}\\`}return d}))}const je=268435456;const Je=te.constants.O_RDONLY;function exists(i){return De(this,void 0,void 0,(function*(){try{yield Ge(i)}catch(i){if(i.code==="ENOENT"){return false}throw i}return true}))}function isDirectory(i){return De(this,arguments,void 0,(function*(i,d=false){const p=d?yield Ge(i):yield Pe(i);return p.isDirectory()}))}function isRooted(i){i=normalizeSeparators(i);if(!i){throw new Error('isRooted() parameter "p" cannot be empty')}if(Ye){return i.startsWith("\\")||/^[A-Z]:/i.test(i)}return i.startsWith("/")}function tryGetExecutablePath(i,d){return De(this,void 0,void 0,(function*(){let p=undefined;try{p=yield Ge(i)}catch(d){if(d.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${i}': ${d}`)}}if(p&&p.isFile()){if(Ye){const p=re.extname(i).toUpperCase();if(d.some((i=>i.toUpperCase()===p))){return i}}else{if(isUnixExecutable(p)){return i}}}const v=i;for(const V of d){i=v+V;p=undefined;try{p=yield Ge(i)}catch(d){if(d.code!=="ENOENT"){console.log(`Unexpected error attempting to determine if executable file exists '${i}': ${d}`)}}if(p&&p.isFile()){if(Ye){try{const d=re.dirname(i);const p=re.basename(i).toUpperCase();for(const v of yield Me(d)){if(p===v.toUpperCase()){i=re.join(d,v);break}}}catch(d){console.log(`Unexpected error attempting to determine the actual case of the file '${i}': ${d}`)}return i}else{if(isUnixExecutable(p)){return i}}}}return""}))}function normalizeSeparators(i){i=i||"";if(Ye){i=i.replace(/\//g,"\\");return i.replace(/\\\\+/g,"\\")}return i.replace(/\/\/+/g,"/")}function isUnixExecutable(i){return(i.mode&1)>0||(i.mode&8)>0&&process.getgid!==undefined&&i.gid===process.getgid()||(i.mode&64)>0&&process.getuid!==undefined&&i.uid===process.getuid()}function getCmdPath(){var i;return(i=process.env["COMSPEC"])!==null&&i!==void 0?i:`cmd.exe`}var We=undefined&&undefined.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};function cp(i,d){return We(this,arguments,void 0,(function*(i,d,p={}){const{force:v,recursive:V,copySourceDirectory:K}=readCopyOptions(p);const ee=(yield ioUtil.exists(d))?yield ioUtil.stat(d):null;if(ee&&ee.isFile()&&!v){return}const te=ee&&ee.isDirectory()&&K?path.join(d,path.basename(i)):d;if(!(yield ioUtil.exists(i))){throw new Error(`no such file or directory: ${i}`)}const re=yield ioUtil.stat(i);if(re.isDirectory()){if(!V){throw new Error(`Failed to copy. ${i} is a directory, but tried to copy without recursive flag.`)}else{yield cpDirRecursive(i,te,0,v)}}else{if(path.relative(i,te)===""){throw new Error(`'${te}' and '${i}' are the same file`)}yield io_copyFile(i,te,v)}}))}function mv(i,d){return We(this,arguments,void 0,(function*(i,d,p={}){if(yield ioUtil.exists(d)){let v=true;if(yield ioUtil.isDirectory(d)){d=path.join(d,path.basename(i));v=yield ioUtil.exists(d)}if(v){if(p.force==null||p.force){yield rmRF(d)}else{throw new Error("Destination already exists")}}}yield mkdirP(path.dirname(d));yield ioUtil.rename(i,d)}))}function rmRF(i){return We(this,void 0,void 0,(function*(){if(ioUtil.IS_WINDOWS){if(/[*"<>|]/.test(i)){throw new Error('File path must not contain `*`, `"`, `<`, `>` or `|` on Windows')}}try{yield ioUtil.rm(i,{force:true,maxRetries:3,recursive:true,retryDelay:300})}catch(i){throw new Error(`File was unable to be removed ${i}`)}}))}function mkdirP(i){return We(this,void 0,void 0,(function*(){ok(i,"a path argument must be provided");yield ioUtil.mkdir(i,{recursive:true})}))}function which(i,d){return We(this,void 0,void 0,(function*(){if(!i){throw new Error("parameter 'tool' is required")}if(d){const d=yield which(i,false);if(!d){if(Ye){throw new Error(`Unable to locate executable file: ${i}. 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: ${i}. 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 d}const p=yield findInPath(i);if(p&&p.length>0){return p[0]}return""}))}function findInPath(i){return We(this,void 0,void 0,(function*(){if(!i){throw new Error("parameter 'tool' is required")}const d=[];if(Ye&&process.env["PATHEXT"]){for(const i of process.env["PATHEXT"].split(re.delimiter)){if(i){d.push(i)}}}if(isRooted(i)){const p=yield tryGetExecutablePath(i,d);if(p){return[p]}return[]}if(i.includes(re.sep)){return[]}const p=[];if(process.env.PATH){for(const i of process.env.PATH.split(re.delimiter)){if(i){p.push(i)}}}const v=[];for(const V of p){const p=yield tryGetExecutablePath(re.join(V,i),d);if(p){v.push(p)}}return v}))}function readCopyOptions(i){const d=i.force==null?true:i.force;const p=Boolean(i.recursive);const v=i.copySourceDirectory==null?true:Boolean(i.copySourceDirectory);return{force:d,recursive:p,copySourceDirectory:v}}function cpDirRecursive(i,d,p,v){return We(this,void 0,void 0,(function*(){if(p>=255)return;p++;yield mkdirP(d);const V=yield ioUtil.readdir(i);for(const K of V){const V=`${i}/${K}`;const ee=`${d}/${K}`;const te=yield ioUtil.lstat(V);if(te.isDirectory()){yield cpDirRecursive(V,ee,p,v)}else{yield io_copyFile(V,ee,v)}}yield ioUtil.chmod(d,(yield ioUtil.stat(i)).mode)}))}function io_copyFile(i,d,p){return We(this,void 0,void 0,(function*(){if((yield ioUtil.lstat(i)).isSymbolicLink()){try{yield ioUtil.lstat(d);yield ioUtil.unlink(d)}catch(i){if(i.code==="EPERM"){yield ioUtil.chmod(d,"0666");yield ioUtil.unlink(d)}}const p=yield ioUtil.readlink(i);yield ioUtil.symlink(p,d,ioUtil.IS_WINDOWS?"junction":null)}else if(!(yield ioUtil.exists(d))||p){yield ioUtil.copyFile(i,d)}}))}var ze=__nccwpck_require__(53557);var $e=undefined&&undefined.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};const Ke=process.platform==="win32";class ToolRunner extends ke.EventEmitter{constructor(i,d,p){super();if(!i){throw new Error("Parameter 'toolPath' cannot be null or empty.")}this.toolPath=i;this.args=d||[];this.options=p||{}}_debug(i){if(this.options.listeners&&this.options.listeners.debug){this.options.listeners.debug(i)}}_getCommandString(i,d){const p=this._getSpawnFileName();const v=this._getSpawnArgs(i);let V=d?"":"[command]";if(Ke){if(this._isCmdFile()){V+=p;for(const i of v){V+=` ${i}`}}else if(i.windowsVerbatimArguments){V+=`"${p}"`;for(const i of v){V+=` ${i}`}}else{V+=this._windowsQuoteCmdArg(p);for(const i of v){V+=` ${this._windowsQuoteCmdArg(i)}`}}}else{V+=p;for(const i of v){V+=` ${i}`}}return V}_processLineBuffer(i,d,p){try{let v=d+i.toString();let K=v.indexOf(V.EOL);while(K>-1){const i=v.substring(0,K);p(i);v=v.substring(K+V.EOL.length);K=v.indexOf(V.EOL)}return v}catch(i){this._debug(`error processing line. Failed with error ${i}`);return""}}_getSpawnFileName(){if(Ke){if(this._isCmdFile()){return process.env["COMSPEC"]||"cmd.exe"}}return this.toolPath}_getSpawnArgs(i){if(Ke){if(this._isCmdFile()){let d=`/D /S /C "${this._windowsQuoteCmdArg(this.toolPath)}`;for(const p of this.args){d+=" ";d+=i.windowsVerbatimArguments?p:this._windowsQuoteCmdArg(p)}d+='"';return[d]}}return this.args}_endsWith(i,d){return i.endsWith(d)}_isCmdFile(){const i=this.toolPath.toUpperCase();return this._endsWith(i,".CMD")||this._endsWith(i,".BAT")}_windowsQuoteCmdArg(i){if(!this._isCmdFile()){return this._uvQuoteCmdArg(i)}if(!i){return'""'}const d=[" ","\t","&","(",")","[","]","{","}","^","=",";","!","'","+",",","`","~","|","<",">",'"'];let p=false;for(const v of i){if(d.some((i=>i===v))){p=true;break}}if(!p){return i}let v='"';let V=true;for(let d=i.length;d>0;d--){v+=i[d-1];if(V&&i[d-1]==="\\"){v+="\\"}else if(i[d-1]==='"'){V=true;v+='"'}else{V=false}}v+='"';return v.split("").reverse().join("")}_uvQuoteCmdArg(i){if(!i){return'""'}if(!i.includes(" ")&&!i.includes("\t")&&!i.includes('"')){return i}if(!i.includes('"')&&!i.includes("\\")){return`"${i}"`}let d='"';let p=true;for(let v=i.length;v>0;v--){d+=i[v-1];if(p&&i[v-1]==="\\"){d+="\\"}else if(i[v-1]==='"'){p=true;d+="\\"}else{p=false}}d+='"';return d.split("").reverse().join("")}_cloneExecOptions(i){i=i||{};const d={cwd:i.cwd||process.cwd(),env:i.env||process.env,silent:i.silent||false,windowsVerbatimArguments:i.windowsVerbatimArguments||false,failOnStdErr:i.failOnStdErr||false,ignoreReturnCode:i.ignoreReturnCode||false,delay:i.delay||1e4};d.outStream=i.outStream||process.stdout;d.errStream=i.errStream||process.stderr;return d}_getSpawnOptions(i,d){i=i||{};const p={};p.cwd=i.cwd;p.env=i.env;p["windowsVerbatimArguments"]=i.windowsVerbatimArguments||this._isCmdFile();if(i.windowsVerbatimArguments){p.argv0=`"${d}"`}return p}exec(){return $e(this,void 0,void 0,(function*(){if(!isRooted(this.toolPath)&&(this.toolPath.includes("/")||Ke&&this.toolPath.includes("\\"))){this.toolPath=re.resolve(process.cwd(),this.options.cwd||process.cwd(),this.toolPath)}this.toolPath=yield which(this.toolPath,true);return new Promise(((i,d)=>$e(this,void 0,void 0,(function*(){this._debug(`exec tool: ${this.toolPath}`);this._debug("arguments:");for(const i of this.args){this._debug(` ${i}`)}const p=this._cloneExecOptions(this.options);if(!p.silent&&p.outStream){p.outStream.write(this._getCommandString(p)+V.EOL)}const v=new ExecState(p,this.toolPath);v.on("debug",(i=>{this._debug(i)}));if(this.options.cwd&&!(yield exists(this.options.cwd))){return d(new Error(`The cwd: ${this.options.cwd} does not exist!`))}const K=this._getSpawnFileName();const ee=Te.spawn(K,this._getSpawnArgs(p),this._getSpawnOptions(this.options,K));let te="";if(ee.stdout){ee.stdout.on("data",(i=>{if(this.options.listeners&&this.options.listeners.stdout){this.options.listeners.stdout(i)}if(!p.silent&&p.outStream){p.outStream.write(i)}te=this._processLineBuffer(i,te,(i=>{if(this.options.listeners&&this.options.listeners.stdline){this.options.listeners.stdline(i)}}))}))}let re="";if(ee.stderr){ee.stderr.on("data",(i=>{v.processStderr=true;if(this.options.listeners&&this.options.listeners.stderr){this.options.listeners.stderr(i)}if(!p.silent&&p.errStream&&p.outStream){const d=p.failOnStdErr?p.errStream:p.outStream;d.write(i)}re=this._processLineBuffer(i,re,(i=>{if(this.options.listeners&&this.options.listeners.errline){this.options.listeners.errline(i)}}))}))}ee.on("error",(i=>{v.processError=i.message;v.processExited=true;v.processClosed=true;v.CheckComplete()}));ee.on("exit",(i=>{v.processExitCode=i;v.processExited=true;this._debug(`Exit code ${i} received from tool '${this.toolPath}'`);v.CheckComplete()}));ee.on("close",(i=>{v.processExitCode=i;v.processExited=true;v.processClosed=true;this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);v.CheckComplete()}));v.on("done",((p,v)=>{if(te.length>0){this.emit("stdline",te)}if(re.length>0){this.emit("errline",re)}ee.removeAllListeners();if(p){d(p)}else{i(v)}}));if(this.options.input){if(!ee.stdin){throw new Error("child process missing stdin")}ee.stdin.end(this.options.input)}}))))}))}}function argStringToArray(i){const d=[];let p=false;let v=false;let V="";function append(i){if(v&&i!=='"'){V+="\\"}V+=i;v=false}for(let K=0;K0){d.push(V);V=""}continue}append(ee)}if(V.length>0){d.push(V.trim())}return d}class ExecState extends ke.EventEmitter{constructor(i,d){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(!d){throw new Error("toolPath must not be empty")}this.options=i;this.toolPath=d;if(i.delay){this.delay=i.delay}}CheckComplete(){if(this.done){return}if(this.processClosed){this._setResult()}else if(this.processExited){this.timeout=(0,ze.setTimeout)(ExecState.HandleTimeout,this.delay,this)}}_debug(i){this.emit("debug",i)}_setResult(){let i;if(this.processExited){if(this.processError){i=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){i=new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`)}else if(this.processStderr&&this.options.failOnStdErr){i=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",i,this.processExitCode)}static HandleTimeout(i){if(i.done){return}if(!i.processClosed&&i.processExited){const d=`The STDIO streams did not close within ${i.delay/1e3} seconds of the exit event from process '${i.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;i._debug(d)}i._setResult()}}var Xe=undefined&&undefined.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};function exec_exec(i,d,p){return Xe(this,void 0,void 0,(function*(){const v=tr.argStringToArray(i);if(v.length===0){throw new Error(`Parameter 'commandLine' cannot be null or empty.`)}const V=v[0];d=v.slice(1).concat(d||[]);const K=new tr.ToolRunner(V,d,p);return K.exec()}))}function getExecOutput(i,d,p){return Xe(this,void 0,void 0,(function*(){var v,V;let K="";let ee="";const te=new StringDecoder("utf8");const re=new StringDecoder("utf8");const ne=(v=p===null||p===void 0?void 0:p.listeners)===null||v===void 0?void 0:v.stdout;const se=(V=p===null||p===void 0?void 0:p.listeners)===null||V===void 0?void 0:V.stderr;const stdErrListener=i=>{ee+=re.write(i);if(se){se(i)}};const stdOutListener=i=>{K+=te.write(i);if(ne){ne(i)}};const ie=Object.assign(Object.assign({},p===null||p===void 0?void 0:p.listeners),{stdout:stdOutListener,stderr:stdErrListener});const oe=yield exec_exec(i,d,Object.assign(Object.assign({},p),{listeners:ie}));K+=te.end();ee+=re.end();return{exitCode:oe,stdout:K,stderr:ee}}))}var Ze=undefined&&undefined.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};const getWindowsInfo=()=>Ze(void 0,void 0,void 0,(function*(){const{stdout:i}=yield exec.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Version"',undefined,{silent:true});const{stdout:d}=yield exec.getExecOutput('powershell -command "(Get-CimInstance -ClassName Win32_OperatingSystem).Caption"',undefined,{silent:true});return{name:d.trim(),version:i.trim()}}));const getMacOsInfo=()=>Ze(void 0,void 0,void 0,(function*(){var i,d,p,v;const{stdout:V}=yield exec.getExecOutput("sw_vers",undefined,{silent:true});const K=(d=(i=V.match(/ProductVersion:\s*(.+)/))===null||i===void 0?void 0:i[1])!==null&&d!==void 0?d:"";const ee=(v=(p=V.match(/ProductName:\s*(.+)/))===null||p===void 0?void 0:p[1])!==null&&v!==void 0?v:"";return{name:ee,version:K}}));const getLinuxInfo=()=>Ze(void 0,void 0,void 0,(function*(){const{stdout:i}=yield exec.getExecOutput("lsb_release",["-i","-r","-s"],{silent:true});const[d,p]=i.trim().split("\n");return{name:d,version:p}}));const At=V.platform();const mt=V.arch();const Et=At==="win32";const Ct=At==="darwin";const yt=At==="linux";function getDetails(){return Ze(this,void 0,void 0,(function*(){return Object.assign(Object.assign({},yield Et?getWindowsInfo():Ct?getMacOsInfo():getLinuxInfo()),{platform:At,arch:mt,isWindows:Et,isMacOS:Ct,isLinux:yt})}))}var It=undefined&&undefined.__awaiter||function(i,d,p,v){function adopt(i){return i instanceof p?i:new p((function(d){d(i)}))}return new(p||(p=Promise))((function(p,V){function fulfilled(i){try{step(v.next(i))}catch(i){V(i)}}function rejected(i){try{step(v["throw"](i))}catch(i){V(i)}}function step(i){i.done?p(i.value):adopt(i.value).then(fulfilled,rejected)}step((v=v.apply(i,d||[])).next())}))};var Bt;(function(i){i[i["Success"]=0]="Success";i[i["Failure"]=1]="Failure"})(Bt||(Bt={}));function exportVariable(i,d){const p=toCommandValue(d);process.env[i]=p;const v=process.env["GITHUB_ENV"]||"";if(v){return issueFileCommand("ENV",prepareKeyValueMessage(i,d))}issueCommand("set-env",{name:i},p)}function core_setSecret(i){command_issueCommand("add-mask",{},i)}function addPath(i){const d=process.env["GITHUB_PATH"]||"";if(d){issueFileCommand("PATH",i)}else{issueCommand("add-path",{},i)}process.env["PATH"]=`${i}${path.delimiter}${process.env["PATH"]}`}function getInput(i,d){const p=process.env[`INPUT_${i.replace(/ /g,"_").toUpperCase()}`]||"";if(d&&d.required&&!p){throw new Error(`Input required and not supplied: ${i}`)}if(d&&d.trimWhitespace===false){return p}return p.trim()}function getMultilineInput(i,d){const p=getInput(i,d).split("\n").filter((i=>i!==""));if(d&&d.trimWhitespace===false){return p}return p.map((i=>i.trim()))}function getBooleanInput(i,d){const p=["true","True","TRUE"];const v=["false","False","FALSE"];const V=getInput(i,d);if(p.includes(V))return true;if(v.includes(V))return false;throw new TypeError(`Input does not meet YAML 1.2 "Core Schema" specification: ${i}\n`+`Support boolean input list: \`true | True | TRUE | false | False | FALSE\``)}function setOutput(i,d){const p=process.env["GITHUB_OUTPUT"]||"";if(p){return issueFileCommand("OUTPUT",prepareKeyValueMessage(i,d))}process.stdout.write(os.EOL);issueCommand("set-output",{name:i},toCommandValue(d))}function setCommandEcho(i){issue("echo",i?"on":"off")}function setFailed(i){process.exitCode=Bt.Failure;error(i)}function isDebug(){return process.env["RUNNER_DEBUG"]==="1"}function core_debug(i){command_issueCommand("debug",{},i)}function error(i,d={}){issueCommand("error",toCommandProperties(d),i instanceof Error?i.toString():i)}function warning(i,d={}){command_issueCommand("warning",utils_toCommandProperties(d),i instanceof Error?i.toString():i)}function notice(i,d={}){issueCommand("notice",toCommandProperties(d),i instanceof Error?i.toString():i)}function info(i){process.stdout.write(i+V.EOL)}function startGroup(i){command_issue("group",i)}function endGroup(){command_issue("endgroup")}function group(i,d){return It(this,void 0,void 0,(function*(){startGroup(i);let p;try{p=yield d()}finally{endGroup()}return p}))}function saveState(i,d){const p=process.env["GITHUB_STATE"]||"";if(p){return file_command_issueFileCommand("STATE",file_command_prepareKeyValueMessage(i,d))}command_issueCommand("save-state",{name:i},utils_toCommandValue(d))}function getState(i){return process.env[`STATE_${i}`]||""}function getIDToken(i){return It(this,void 0,void 0,(function*(){return yield OidcClient.getIDToken(i)}))}var Qt=__nccwpck_require__(19995); /*! js-yaml 4.1.1 https://github.com/nodeca/js-yaml @license MIT */ -function isNothing(i){return typeof i==="undefined"||i===null}function isObject(i){return typeof i==="object"&&i!==null}function toArray(i){if(Array.isArray(i))return i;else if(isNothing(i))return[];return[i]}function extend(i,d){var p,v,V,K;if(d){K=Object.keys(d);for(p=0,v=K.length;pte){K=" ... ";d=v-te+K.length}if(p-v>te){ee=" ...";p=v+te-ee.length}return{str:K+i.slice(d,p).replace(/\t/g,"→")+ee,pos:v-d+K.length}}function padStart(i,d){return ce.repeat(" ",d-i.length)+i}function makeSnippet(i,d){d=Object.create(d||null);if(!i.buffer)return null;if(!d.maxLength)d.maxLength=79;if(typeof d.indent!=="number")d.indent=1;if(typeof d.linesBefore!=="number")d.linesBefore=3;if(typeof d.linesAfter!=="number")d.linesAfter=2;var p=/\r?\n|\r|\0/g;var v=[0];var V=[];var K;var ee=-1;while(K=p.exec(i.buffer)){V.push(K.index);v.push(K.index+K[0].length);if(i.position<=K.index&&ee<0){ee=v.length-2}}if(ee<0)ee=v.length-1;var te="",re,ne;var ie=Math.min(i.line+d.linesAfter,V.length).toString().length;var se=d.maxLength-(d.indent+ie+3);for(re=1;re<=d.linesBefore;re++){if(ee-re<0)break;ne=getLine(i.buffer,v[ee-re],V[ee-re],i.position-(v[ee]-v[ee-re]),se);te=ce.repeat(" ",d.indent)+padStart((i.line-re+1).toString(),ie)+" | "+ne.str+"\n"+te}ne=getLine(i.buffer,v[ee],V[ee],i.position,se);te+=ce.repeat(" ",d.indent)+padStart((i.line+1).toString(),ie)+" | "+ne.str+"\n";te+=ce.repeat("-",d.indent+ie+3+ne.pos)+"^"+"\n";for(re=1;re<=d.linesAfter;re++){if(ee+re>=V.length)break;ne=getLine(i.buffer,v[ee+re],V[ee+re],i.position-(v[ee]-v[ee+re]),se);te+=ce.repeat(" ",d.indent)+padStart((i.line+re+1).toString(),ie)+" | "+ne.str+"\n"}return te.replace(/\n$/,"")}var ue=makeSnippet;var Ae=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"];var de=["scalar","sequence","mapping"];function compileStyleAliases(i){var d={};if(i!==null){Object.keys(i).forEach((function(p){i[p].forEach((function(i){d[String(i)]=p}))}))}return d}function Type$1(i,d){d=d||{};Object.keys(d).forEach((function(d){if(Ae.indexOf(d)===-1){throw new le('Unknown option "'+d+'" is met in definition of "'+i+'" YAML type.')}}));this.options=d;this.tag=i;this.kind=d["kind"]||null;this.resolve=d["resolve"]||function(){return true};this.construct=d["construct"]||function(i){return i};this.instanceOf=d["instanceOf"]||null;this.predicate=d["predicate"]||null;this.represent=d["represent"]||null;this.representName=d["representName"]||null;this.defaultStyle=d["defaultStyle"]||null;this.multi=d["multi"]||false;this.styleAliases=compileStyleAliases(d["styleAliases"]||null);if(de.indexOf(this.kind)===-1){throw new le('Unknown kind "'+this.kind+'" is specified for "'+i+'" YAML type.')}}var pe=Type$1;function compileList(i,d){var p=[];i[d].forEach((function(i){var d=p.length;p.forEach((function(p,v){if(p.tag===i.tag&&p.kind===i.kind&&p.multi===i.multi){d=v}}));p[d]=i}));return p}function compileMap(){var i={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},d,p;function collectType(d){if(d.multi){i.multi[d.kind].push(d);i.multi["fallback"].push(d)}else{i[d.kind][d.tag]=i["fallback"][d.tag]=d}}for(d=0,p=arguments.length;d=0?"0b"+i.toString(2):"-0b"+i.toString(2).slice(1)},octal:function(i){return i>=0?"0o"+i.toString(8):"-0o"+i.toString(8).slice(1)},decimal:function(i){return i.toString(10)},hexadecimal:function(i){return i>=0?"0x"+i.toString(16).toUpperCase():"-0x"+i.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}});var Ie=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?"+"|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?"+"|[-+]?\\.(?:inf|Inf|INF)"+"|\\.(?:nan|NaN|NAN))$");function resolveYamlFloat(i){if(i===null)return false;if(!Ie.test(i)||i[i.length-1]==="_"){return false}return true}function constructYamlFloat(i){var d,p;d=i.replace(/_/g,"").toLowerCase();p=d[0]==="-"?-1:1;if("+-".indexOf(d[0])>=0){d=d.slice(1)}if(d===".inf"){return p===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY}else if(d===".nan"){return NaN}return p*parseFloat(d,10)}var Be=/^[-+]?[0-9]+e/;function representYamlFloat(i,d){var p;if(isNaN(i)){switch(d){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}}else if(Number.POSITIVE_INFINITY===i){switch(d){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}}else if(Number.NEGATIVE_INFINITY===i){switch(d){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}}else if(ce.isNegativeZero(i)){return"-0.0"}p=i.toString(10);return Be.test(p)?p.replace("e",".e"):p}function isFloat(i){return Object.prototype.toString.call(i)==="[object Number]"&&(i%1!==0||ce.isNegativeZero(i))}var we=new pe("tag:yaml.org,2002:float",{kind:"scalar",resolve:resolveYamlFloat,construct:constructYamlFloat,predicate:isFloat,represent:representYamlFloat,defaultStyle:"lowercase"});var Se=Ee.extend({implicit:[ye,Ce,be,we]});var Qe=Se;var ve=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9])"+"-([0-9][0-9])$");var Re=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9]?)"+"-([0-9][0-9]?)"+"(?:[Tt]|[ \\t]+)"+"([0-9][0-9]?)"+":([0-9][0-9])"+":([0-9][0-9])"+"(?:\\.([0-9]*))?"+"(?:[ \\t]*(Z|([-+])([0-9][0-9]?)"+"(?::([0-9][0-9]))?))?$");function resolveYamlTimestamp(i){if(i===null)return false;if(ve.exec(i)!==null)return true;if(Re.exec(i)!==null)return true;return false}function constructYamlTimestamp(i){var d,p,v,V,K,ee,te,re=0,ne=null,ie,se,oe;d=ve.exec(i);if(d===null)d=Re.exec(i);if(d===null)throw new Error("Date resolve error");p=+d[1];v=+d[2]-1;V=+d[3];if(!d[4]){return new Date(Date.UTC(p,v,V))}K=+d[4];ee=+d[5];te=+d[6];if(d[7]){re=d[7].slice(0,3);while(re.length<3){re+="0"}re=+re}if(d[9]){ie=+d[10];se=+(d[11]||0);ne=(ie*60+se)*6e4;if(d[9]==="-")ne=-ne}oe=new Date(Date.UTC(p,v,V,K,ee,te,re));if(ne)oe.setTime(oe.getTime()-ne);return oe}function representYamlTimestamp(i){return i.toISOString()}var Te=new pe("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:resolveYamlTimestamp,construct:constructYamlTimestamp,instanceOf:Date,represent:representYamlTimestamp});function resolveYamlMerge(i){return i==="<<"||i===null}var Ne=new pe("tag:yaml.org,2002:merge",{kind:"scalar",resolve:resolveYamlMerge});var ke="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function resolveYamlBinary(i){if(i===null)return false;var d,p,v=0,V=i.length,K=ke;for(p=0;p64)continue;if(d<0)return false;v+=6}return v%8===0}function constructYamlBinary(i){var d,p,v=i.replace(/[\r\n=]/g,""),V=v.length,K=ke,ee=0,te=[];for(d=0;d>16&255);te.push(ee>>8&255);te.push(ee&255)}ee=ee<<6|K.indexOf(v.charAt(d))}p=V%4*6;if(p===0){te.push(ee>>16&255);te.push(ee>>8&255);te.push(ee&255)}else if(p===18){te.push(ee>>10&255);te.push(ee>>2&255)}else if(p===12){te.push(ee>>4&255)}return new Uint8Array(te)}function representYamlBinary(i){var d="",p=0,v,V,K=i.length,ee=ke;for(v=0;v>18&63];d+=ee[p>>12&63];d+=ee[p>>6&63];d+=ee[p&63]}p=(p<<8)+i[v]}V=K%3;if(V===0){d+=ee[p>>18&63];d+=ee[p>>12&63];d+=ee[p>>6&63];d+=ee[p&63]}else if(V===2){d+=ee[p>>10&63];d+=ee[p>>4&63];d+=ee[p<<2&63];d+=ee[64]}else if(V===1){d+=ee[p>>2&63];d+=ee[p<<4&63];d+=ee[64];d+=ee[64]}return d}function isBinary(i){return Object.prototype.toString.call(i)==="[object Uint8Array]"}var De=new pe("tag:yaml.org,2002:binary",{kind:"scalar",resolve:resolveYamlBinary,construct:constructYamlBinary,predicate:isBinary,represent:representYamlBinary});var xe=Object.prototype.hasOwnProperty;var _e=Object.prototype.toString;function resolveYamlOmap(i){if(i===null)return true;var d=[],p,v,V,K,ee,te=i;for(p=0,v=te.length;p>10)+55296,(i-65536&1023)+56320)}function setProperty(i,d,p){if(d==="__proto__"){Object.defineProperty(i,d,{configurable:true,enumerable:true,writable:true,value:p})}else{i[d]=p}}var At=new Array(256);var mt=new Array(256);for(var Et=0;Et<256;Et++){At[Et]=simpleEscapeSequence(Et)?1:0;mt[Et]=simpleEscapeSequence(Et)}function State$1(i,d){this.input=i;this.filename=d["filename"]||null;this.schema=d["schema"]||Ue;this.onWarning=d["onWarning"]||null;this.legacy=d["legacy"]||false;this.json=d["json"]||false;this.listener=d["listener"]||null;this.implicitTypes=this.schema.compiledImplicit;this.typeMap=this.schema.compiledTypeMap;this.length=i.length;this.position=0;this.line=0;this.lineStart=0;this.lineIndent=0;this.firstTabInLine=-1;this.documents=[]}function generateError(i,d){var p={name:i.filename,buffer:i.input.slice(0,-1),position:i.position,line:i.line,column:i.position-i.lineStart};p.snippet=ue(p);return new le(d,p)}function throwError(i,d){throw generateError(i,d)}function throwWarning(i,d){if(i.onWarning){i.onWarning.call(null,generateError(i,d))}}var yt={YAML:function handleYamlDirective(i,d,p){var v,V,K;if(i.version!==null){throwError(i,"duplication of %YAML directive")}if(p.length!==1){throwError(i,"YAML directive accepts exactly one argument")}v=/^([0-9]+)\.([0-9]+)$/.exec(p[0]);if(v===null){throwError(i,"ill-formed argument of the YAML directive")}V=parseInt(v[1],10);K=parseInt(v[2],10);if(V!==1){throwError(i,"unacceptable YAML version of the document")}i.version=p[0];i.checkLineBreaks=K<2;if(K!==1&&K!==2){throwWarning(i,"unsupported YAML version of the document")}},TAG:function handleTagDirective(i,d,p){var v,V;if(p.length!==2){throwError(i,"TAG directive accepts exactly two arguments")}v=p[0];V=p[1];if(!Xe.test(v)){throwError(i,"ill-formed tag handle (first argument) of the TAG directive")}if(He.call(i.tagMap,v)){throwError(i,'there is a previously declared suffix for "'+v+'" tag handle')}if(!Ze.test(V)){throwError(i,"ill-formed tag prefix (second argument) of the TAG directive")}try{V=decodeURIComponent(V)}catch(d){throwError(i,"tag prefix is malformed: "+V)}i.tagMap[v]=V}};function captureSegment(i,d,p,v){var V,K,ee,te;if(d1){i.result+=ce.repeat("\n",d-1)}}function readPlainScalar(i,d,p){var v,V,K,ee,te,re,ne,ie,se=i.kind,oe=i.result,ae;ae=i.input.charCodeAt(i.position);if(is_WS_OR_EOL(ae)||is_FLOW_INDICATOR(ae)||ae===35||ae===38||ae===42||ae===33||ae===124||ae===62||ae===39||ae===34||ae===37||ae===64||ae===96){return false}if(ae===63||ae===45){V=i.input.charCodeAt(i.position+1);if(is_WS_OR_EOL(V)||p&&is_FLOW_INDICATOR(V)){return false}}i.kind="scalar";i.result="";K=ee=i.position;te=false;while(ae!==0){if(ae===58){V=i.input.charCodeAt(i.position+1);if(is_WS_OR_EOL(V)||p&&is_FLOW_INDICATOR(V)){break}}else if(ae===35){v=i.input.charCodeAt(i.position-1);if(is_WS_OR_EOL(v)){break}}else if(i.position===i.lineStart&&testDocumentSeparator(i)||p&&is_FLOW_INDICATOR(ae)){break}else if(is_EOL(ae)){re=i.line;ne=i.lineStart;ie=i.lineIndent;skipSeparationSpace(i,false,-1);if(i.lineIndent>=d){te=true;ae=i.input.charCodeAt(i.position);continue}else{i.position=ee;i.line=re;i.lineStart=ne;i.lineIndent=ie;break}}if(te){captureSegment(i,K,ee,false);writeFoldedLines(i,i.line-re);K=ee=i.position;te=false}if(!is_WHITE_SPACE(ae)){ee=i.position+1}ae=i.input.charCodeAt(++i.position)}captureSegment(i,K,ee,false);if(i.result){return true}i.kind=se;i.result=oe;return false}function readSingleQuotedScalar(i,d){var p,v,V;p=i.input.charCodeAt(i.position);if(p!==39){return false}i.kind="scalar";i.result="";i.position++;v=V=i.position;while((p=i.input.charCodeAt(i.position))!==0){if(p===39){captureSegment(i,v,i.position,true);p=i.input.charCodeAt(++i.position);if(p===39){v=i.position;i.position++;V=i.position}else{return true}}else if(is_EOL(p)){captureSegment(i,v,V,true);writeFoldedLines(i,skipSeparationSpace(i,false,d));v=V=i.position}else if(i.position===i.lineStart&&testDocumentSeparator(i)){throwError(i,"unexpected end of the document within a single quoted scalar")}else{i.position++;V=i.position}}throwError(i,"unexpected end of the stream within a single quoted scalar")}function readDoubleQuotedScalar(i,d){var p,v,V,K,ee,te;te=i.input.charCodeAt(i.position);if(te!==34){return false}i.kind="scalar";i.result="";i.position++;p=v=i.position;while((te=i.input.charCodeAt(i.position))!==0){if(te===34){captureSegment(i,p,i.position,true);i.position++;return true}else if(te===92){captureSegment(i,p,i.position,true);te=i.input.charCodeAt(++i.position);if(is_EOL(te)){skipSeparationSpace(i,false,d)}else if(te<256&&At[te]){i.result+=mt[te];i.position++}else if((ee=escapedHexLen(te))>0){V=ee;K=0;for(;V>0;V--){te=i.input.charCodeAt(++i.position);if((ee=fromHexCode(te))>=0){K=(K<<4)+ee}else{throwError(i,"expected hexadecimal character")}}i.result+=charFromCodepoint(K);i.position++}else{throwError(i,"unknown escape sequence")}p=v=i.position}else if(is_EOL(te)){captureSegment(i,p,v,true);writeFoldedLines(i,skipSeparationSpace(i,false,d));p=v=i.position}else if(i.position===i.lineStart&&testDocumentSeparator(i)){throwError(i,"unexpected end of the document within a double quoted scalar")}else{i.position++;v=i.position}}throwError(i,"unexpected end of the stream within a double quoted scalar")}function readFlowCollection(i,d){var p=true,v,V,K,ee=i.tag,te,re=i.anchor,ne,ie,se,oe,ae,ce=Object.create(null),le,ue,Ae,de;de=i.input.charCodeAt(i.position);if(de===91){ie=93;ae=false;te=[]}else if(de===123){ie=125;ae=true;te={}}else{return false}if(i.anchor!==null){i.anchorMap[i.anchor]=te}de=i.input.charCodeAt(++i.position);while(de!==0){skipSeparationSpace(i,true,d);de=i.input.charCodeAt(i.position);if(de===ie){i.position++;i.tag=ee;i.anchor=re;i.kind=ae?"mapping":"sequence";i.result=te;return true}else if(!p){throwError(i,"missed comma between flow collection entries")}else if(de===44){throwError(i,"expected the node content, but found ','")}ue=le=Ae=null;se=oe=false;if(de===63){ne=i.input.charCodeAt(i.position+1);if(is_WS_OR_EOL(ne)){se=oe=true;i.position++;skipSeparationSpace(i,true,d)}}v=i.line;V=i.lineStart;K=i.position;composeNode(i,d,Ge,false,true);ue=i.tag;le=i.result;skipSeparationSpace(i,true,d);de=i.input.charCodeAt(i.position);if((oe||i.line===v)&&de===58){se=true;de=i.input.charCodeAt(++i.position);skipSeparationSpace(i,true,d);composeNode(i,d,Ge,false,true);Ae=i.result}if(ae){storeMappingPair(i,te,ce,ue,le,Ae,v,V,K)}else if(se){te.push(storeMappingPair(i,null,ce,ue,le,Ae,v,V,K))}else{te.push(le)}skipSeparationSpace(i,true,d);de=i.input.charCodeAt(i.position);if(de===44){p=true;de=i.input.charCodeAt(++i.position)}else{p=false}}throwError(i,"unexpected end of the stream within a flow collection")}function readBlockScalar(i,d){var p,v,V=ze,K=false,ee=false,te=d,re=0,ne=false,ie,se;se=i.input.charCodeAt(i.position);if(se===124){v=false}else if(se===62){v=true}else{return false}i.kind="scalar";i.result="";while(se!==0){se=i.input.charCodeAt(++i.position);if(se===43||se===45){if(ze===V){V=se===43?We:Ye}else{throwError(i,"repeat of a chomping mode identifier")}}else if((ie=fromDecimalCode(se))>=0){if(ie===0){throwError(i,"bad explicit indentation width of a block scalar; it cannot be less than one")}else if(!ee){te=d+ie-1;ee=true}else{throwError(i,"repeat of an indentation width identifier")}}else{break}}if(is_WHITE_SPACE(se)){do{se=i.input.charCodeAt(++i.position)}while(is_WHITE_SPACE(se));if(se===35){do{se=i.input.charCodeAt(++i.position)}while(!is_EOL(se)&&se!==0)}}while(se!==0){readLineBreak(i);i.lineIndent=0;se=i.input.charCodeAt(i.position);while((!ee||i.lineIndentte){te=i.lineIndent}if(is_EOL(se)){re++;continue}if(i.lineIndentd)&&re!==0){throwError(i,"bad indentation of a sequence entry")}else if(i.lineIndentd){if(ue){ee=i.line;te=i.lineStart;re=i.position}if(composeNode(i,d,Ve,true,V)){if(ue){ce=i.result}else{le=i.result}}if(!ue){storeMappingPair(i,se,oe,ae,ce,le,ee,te,re);ae=ce=le=null}skipSeparationSpace(i,true,-1);de=i.input.charCodeAt(i.position)}if((i.line===K||i.lineIndent>d)&&de!==0){throwError(i,"bad indentation of a mapping entry")}else if(i.lineIndentd){re=1}else if(i.lineIndent===d){re=0}else if(i.lineIndentd){re=1}else if(i.lineIndent===d){re=0}else if(i.lineIndent tag; it should be "scalar", not "'+i.kind+'"')}for(se=0,oe=i.implicitTypes.length;se")}if(i.result!==null&&ce.kind!==i.kind){throwError(i,"unacceptable node kind for !<"+i.tag+'> tag; it should be "'+ce.kind+'", not "'+i.kind+'"')}if(!ce.resolve(i.result,i.tag)){throwError(i,"cannot resolve a node with !<"+i.tag+"> explicit tag")}else{i.result=ce.construct(i.result,i.tag);if(i.anchor!==null){i.anchorMap[i.anchor]=i.result}}}if(i.listener!==null){i.listener("close",i)}return i.tag!==null||i.anchor!==null||ie}function readDocument(i){var d=i.position,p,v,V,K=false,ee;i.version=null;i.checkLineBreaks=i.legacy;i.tagMap=Object.create(null);i.anchorMap=Object.create(null);while((ee=i.input.charCodeAt(i.position))!==0){skipSeparationSpace(i,true,-1);ee=i.input.charCodeAt(i.position);if(i.lineIndent>0||ee!==37){break}K=true;ee=i.input.charCodeAt(++i.position);p=i.position;while(ee!==0&&!is_WS_OR_EOL(ee)){ee=i.input.charCodeAt(++i.position)}v=i.input.slice(p,i.position);V=[];if(v.length<1){throwError(i,"directive name must not be less than one character in length")}while(ee!==0){while(is_WHITE_SPACE(ee)){ee=i.input.charCodeAt(++i.position)}if(ee===35){do{ee=i.input.charCodeAt(++i.position)}while(ee!==0&&!is_EOL(ee));break}if(is_EOL(ee))break;p=i.position;while(ee!==0&&!is_WS_OR_EOL(ee)){ee=i.input.charCodeAt(++i.position)}V.push(i.input.slice(p,i.position))}if(ee!==0)readLineBreak(i);if(He.call(yt,v)){yt[v](i,v,V)}else{throwWarning(i,'unknown document directive "'+v+'"')}}skipSeparationSpace(i,true,-1);if(i.lineIndent===0&&i.input.charCodeAt(i.position)===45&&i.input.charCodeAt(i.position+1)===45&&i.input.charCodeAt(i.position+2)===45){i.position+=3;skipSeparationSpace(i,true,-1)}else if(K){throwError(i,"directives end mark is expected")}composeNode(i,i.lineIndent-1,Ve,false,true);skipSeparationSpace(i,true,-1);if(i.checkLineBreaks&&$e.test(i.input.slice(d,i.position))){throwWarning(i,"non-ASCII line breaks are interpreted as content")}i.documents.push(i.result);if(i.position===i.lineStart&&testDocumentSeparator(i)){if(i.input.charCodeAt(i.position)===46){i.position+=3;skipSeparationSpace(i,true,-1)}return}if(i.position=55296&&p<=56319&&d+1=56320&&v<=57343){return(p-55296)*1024+v-56320+65536}}return p}function needIndentIndicator(i){var d=/^\n* /;return d.test(i)}var tr=1,rr=2,nr=3,ir=4,sr=5;function chooseScalarStyle(i,d,p,v,V,K,ee,te){var re;var ne=0;var ie=null;var se=false;var oe=false;var ae=v!==-1;var ce=-1;var le=isPlainSafeFirst(codePointAt(i,0))&&isPlainSafeLast(codePointAt(i,i.length-1));if(d||ee){for(re=0;re=65536?re+=2:re++){ne=codePointAt(i,re);if(!isPrintable(ne)){return sr}le=le&&isPlainSafe(ne,ie,te);ie=ne}}else{for(re=0;re=65536?re+=2:re++){ne=codePointAt(i,re);if(ne===vt){se=true;if(ae){oe=oe||re-ce-1>v&&i[ce+1]!==" ";ce=re}}else if(!isPrintable(ne)){return sr}le=le&&isPlainSafe(ne,ie,te);ie=ne}oe=oe||ae&&(re-ce-1>v&&i[ce+1]!==" ")}if(!se&&!oe){if(le&&!ee&&!V(i)){return tr}return K===er?sr:rr}if(p>9&&needIndentIndicator(i)){return sr}if(!ee){return oe?ir:nr}return K===er?sr:rr}function writeScalar(i,d,p,v,V){i.dump=function(){if(d.length===0){return i.quotingType===er?'""':"''"}if(!i.noCompatMode){if(Kt.indexOf(d)!==-1||Xt.test(d)){return i.quotingType===er?'"'+d+'"':"'"+d+"'"}}var K=i.indent*Math.max(1,p);var ee=i.lineWidth===-1?-1:Math.max(Math.min(i.lineWidth,40),i.lineWidth-K);var te=v||i.flowLevel>-1&&p>=i.flowLevel;function testAmbiguity(d){return testImplicitResolving(i,d)}switch(chooseScalarStyle(d,te,i.indent,ee,testAmbiguity,i.quotingType,i.forceQuotes&&!v,V)){case tr:return d;case rr:return"'"+d.replace(/'/g,"''")+"'";case nr:return"|"+blockHeader(d,i.indent)+dropEndingNewline(indentString(d,K));case ir:return">"+blockHeader(d,i.indent)+dropEndingNewline(indentString(foldString(d,ee),K));case sr:return'"'+escapeString(d)+'"';default:throw new le("impossible error: invalid scalar style")}}()}function blockHeader(i,d){var p=needIndentIndicator(i)?String(d):"";var v=i[i.length-1]==="\n";var V=v&&(i[i.length-2]==="\n"||i==="\n");var K=V?"+":v?"":"-";return p+K+"\n"}function dropEndingNewline(i){return i[i.length-1]==="\n"?i.slice(0,-1):i}function foldString(i,d){var p=/(\n+)([^\n]*)/g;var v=function(){var v=i.indexOf("\n");v=v!==-1?v:i.length;p.lastIndex=v;return foldLine(i.slice(0,v),d)}();var V=i[0]==="\n"||i[0]===" ";var K;var ee;while(ee=p.exec(i)){var te=ee[1],re=ee[2];K=re[0]===" ";v+=te+(!V&&!K&&re!==""?"\n":"")+foldLine(re,d);V=K}return v}function foldLine(i,d){if(i===""||i[0]===" ")return i;var p=/ [^ ]/g;var v;var V=0,K,ee=0,te=0;var re="";while(v=p.exec(i)){te=v.index;if(te-V>d){K=ee>V?ee:te;re+="\n"+i.slice(V,K);V=K+1}ee=te}re+="\n";if(i.length-V>d&&ee>V){re+=i.slice(V,ee)+"\n"+i.slice(ee+1)}else{re+=i.slice(V)}return re.slice(1)}function escapeString(i){var d="";var p=0;var v;for(var V=0;V=65536?V+=2:V++){p=codePointAt(i,V);v=$t[p];if(!v&&isPrintable(p)){d+=i[V];if(p>=65536)d+=i[V+1]}else{d+=v||encodeHex(p)}}return d}function writeFlowSequence(i,d,p){var v="",V=i.tag,K,ee,te;for(K=0,ee=p.length;K1024)ie+="? ";ie+=i.dump+(i.condenseFlow?'"':"")+":"+(i.condenseFlow?"":" ");if(!writeNode(i,d,ne,false,false)){continue}ie+=i.dump;v+=ie}i.tag=V;i.dump="{"+v+"}"}function writeBlockMapping(i,d,p,v){var V="",K=i.tag,ee=Object.keys(p),te,re,ne,ie,se,oe;if(i.sortKeys===true){ee.sort()}else if(typeof i.sortKeys==="function"){ee.sort(i.sortKeys)}else if(i.sortKeys){throw new le("sortKeys must be a boolean or a function")}for(te=0,re=ee.length;te1024;if(se){if(i.dump&&vt===i.dump.charCodeAt(0)){oe+="?"}else{oe+="? "}}oe+=i.dump;if(se){oe+=generateNextLine(i,d)}if(!writeNode(i,d+1,ie,true,se)){continue}if(i.dump&&vt===i.dump.charCodeAt(0)){oe+=":"}else{oe+=": "}oe+=i.dump;V+=oe}i.tag=K;i.dump=V||"{}"}function detectType(i,d,p){var v,V,K,ee,te,re;V=p?i.explicitTypes:i.implicitTypes;for(K=0,ee=V.length;K tag resolver accepts not "'+re+'" style')}i.dump=v}return true}}return false}function writeNode(i,d,p,v,V,K,ee){i.tag=null;i.dump=p;if(!detectType(i,p,false)){detectType(i,p,true)}var te=Bt.call(i.dump);var re=v;var ne;if(v){v=i.flowLevel<0||i.flowLevel>d}var ie=te==="[object Object]"||te==="[object Array]",se,oe;if(ie){se=i.duplicates.indexOf(p);oe=se!==-1}if(i.tag!==null&&i.tag!=="?"||oe||i.indent!==2&&d>0){V=false}if(oe&&i.usedDuplicates[se]){i.dump="*ref_"+se}else{if(ie&&oe&&!i.usedDuplicates[se]){i.usedDuplicates[se]=true}if(te==="[object Object]"){if(v&&Object.keys(i.dump).length!==0){writeBlockMapping(i,d,i.dump,V);if(oe){i.dump="&ref_"+se+i.dump}}else{writeFlowMapping(i,d,i.dump);if(oe){i.dump="&ref_"+se+" "+i.dump}}}else if(te==="[object Array]"){if(v&&i.dump.length!==0){if(i.noArrayIndent&&!ee&&d>0){writeBlockSequence(i,d-1,i.dump,V)}else{writeBlockSequence(i,d,i.dump,V)}if(oe){i.dump="&ref_"+se+i.dump}}else{writeFlowSequence(i,d,i.dump);if(oe){i.dump="&ref_"+se+" "+i.dump}}}else if(te==="[object String]"){if(i.tag!=="?"){writeScalar(i,i.dump,d,K,re)}}else if(te==="[object Undefined]"){return false}else{if(i.skipInvalid)return false;throw new le("unacceptable kind of an object to dump "+te)}if(i.tag!==null&&i.tag!=="?"){ne=encodeURI(i.tag[0]==="!"?i.tag.slice(1):i.tag).replace(/!/g,"%21");if(i.tag[0]==="!"){ne="!"+ne}else if(ne.slice(0,18)==="tag:yaml.org,2002:"){ne="!!"+ne.slice(18)}else{ne="!<"+ne+">"}i.dump=ne+" "+i.dump}}return true}function getDuplicateReferences(i,d){var p=[],v=[],V,K;inspectNode(i,p,v);for(V=0,K=v.length;V{V.setSecret(i.password);return{registry:i.registry||"docker.io",username:i.username,password:i.password,scope:i.scope,ecr:i.ecr||"auto",configDir:scopeToConfigDir(i.registry||"docker.io",i.scope)}}))}if(d.length==0){throw new Error("No registry to login")}return d}function scopeToConfigDir(i,d){if(scopeDisabled()||!d||d===""){return""}let p=te().join(Br.Buildx.configDir,"config",i==="docker.io"?"registry-1.docker.io":i);if(d.startsWith("@")){p+=d}else{p=te().join(p,d)}return p}function scopeDisabled(){if(process.env.DOCKER_LOGIN_SCOPE_DISABLED){return wr.Util.parseBool(process.env.DOCKER_LOGIN_SCOPE_DISABLED)}return false}var Sr=__nccwpck_require__(73490);var Qr=__nccwpck_require__(28249);var vr=__nccwpck_require__(29821);var Rr=__nccwpck_require__(61279);var Tr=__nccwpck_require__(81970);var Nr=__nccwpck_require__(3669);const kr=/^(([0-9]{12})\.(dkr\.ecr|dkr-ecr)\.(.+)\.(on\.aws|amazonaws\.(com(.cn)?|eu)))(\/([^:]+)(:.+)?)?$/;const Dr=/public\.ecr\.aws|ecr-public\.aws\.com/;const isECR=i=>kr.test(i)||isPubECR(i);const isPubECR=i=>Dr.test(i);const getRegion=i=>{if(isPubECR(i)){return process.env.AWS_REGION||process.env.AWS_DEFAULT_REGION||"us-east-1"}const d=i.match(kr);if(!d){return""}return d[4]};const getAccountIDs=i=>{if(isPubECR(i)){return[]}const d=i.match(kr);if(!d){return[]}const p=[d[2]];if(process.env.AWS_ACCOUNT_IDS){p.push(...process.env.AWS_ACCOUNT_IDS.split(","))}return p.filter(((i,d)=>p.indexOf(i)===d))};const getRegistriesData=async(i,d,p)=>{const v=getRegion(i);const K=getAccountIDs(i);const ee={};if(K.length>0){V.debug(`Requesting AWS ECR auth token for ${K.join(", ")}`);ee["registryIds"]=K}let te;const re=process.env.http_proxy||process.env.HTTP_PROXY||"";if(re){V.debug(`Using http proxy ${re}`);te=new Tr.HttpProxyAgent(re)}let ne;const ie=process.env.https_proxy||process.env.HTTPS_PROXY||"";if(ie){V.debug(`Using https proxy ${ie}`);ne=new Nr.HttpsProxyAgent(ie)}const se=d&&p?{accessKeyId:d,secretAccessKey:p}:undefined;if(isPubECR(i)){V.info(`AWS Public ECR detected with ${v} region`);const i=new vr.Uz({customUserAgent:"docker-login-action",credentials:se,region:v,requestHandler:new Rr.NodeHttpHandler({httpAgent:te,httpsAgent:ne})});const d=await i.getAuthorizationToken(ee);if(!d.authorizationData||!d.authorizationData.authorizationToken){throw new Error("Could not retrieve an authorization token from AWS Public ECR")}const p=Buffer.from(d.authorizationData.authorizationToken,"base64").toString("utf-8");const K=p.split(":",2);V.setSecret(K[0]);V.setSecret(K[1]);return[{registry:"public.ecr.aws",username:K[0],password:K[1]}]}else{V.info(`AWS ECR detected with ${v} region`);const i=new Qr.Tjd({customUserAgent:"docker-login-action",credentials:se,region:v,requestHandler:new Rr.NodeHttpHandler({httpAgent:te,httpsAgent:ne})});const d=await i.getAuthorizationToken(ee);if(!Array.isArray(d.authorizationData)||!d.authorizationData.length){throw new Error("Could not retrieve an authorization token from AWS ECR")}const p=[];for(const i of d.authorizationData){const d=Buffer.from(i.authorizationToken||"","base64").toString("utf-8");const v=d.split(":",2);V.setSecret(v[0]);V.setSecret(v[1]);p.push({registry:i.proxyEndpoint||"",username:v[0],password:v[1]})}return p}};async function login(i){if(/true/i.test(i.ecr)||i.ecr=="auto"&&isECR(i.registry)){await loginECR(i.registry,i.username,i.password,i.scope)}else{await loginStandard(i.registry,i.username,i.password,i.scope)}}async function logout(i,d){let p;if(d!==""){p=Object.assign({},process.env,{DOCKER_CONFIG:d});V.info(`Alternative config dir: ${d}`)}await Sr.Docker.getExecOutput(["logout",i],{ignoreReturnCode:true,env:p}).then((i=>{if(i.stderr.length>0&&i.exitCode!=0){V.warning(i.stderr.trim())}}))}async function loginStandard(i,d,p,v){if(!d&&!p){throw new Error("Username and password required")}if(!d){throw new Error("Username required")}if(!p){throw new Error("Password required")}await loginExec(i,d,p,v)}async function loginECR(i,d,p,v){V.info(`Retrieving registries data through AWS SDK...`);const K=await getRegistriesData(i,d,p);for(const i of K){await loginExec(i.registry,i.username,i.password,v)}}async function loginExec(i,d,p,v){let K;const ee=scopeToConfigDir(i,v);if(ee!==""){K=Object.assign({},process.env,{DOCKER_CONFIG:ee});V.info(`Logging into ${i} (scope ${v})...`)}else{V.info(`Logging into ${i}...`)}await Sr.Docker.getExecOutput(["login","--password-stdin","--username",d,i],{ignoreReturnCode:true,silent:true,input:Buffer.from(p),env:K}).then((i=>{if(i.stderr.length>0&&i.exitCode!=0){throw new Error(i.stderr.trim())}V.info("Login Succeeded!")}))}const xr=process.env["STATE_registries"]?JSON.parse(process.env["STATE_registries"]):[];const _r=/true/i.test(process.env["STATE_logout"]||"");function setRegistries(i){V.saveState("registries",JSON.stringify(i))}function setLogout(i){V.saveState("logout",i)}async function main(){const i=getInputs();setLogout(i.logout);const d=getAuthList(i);setRegistries(Array.from(new Map(d.map((i=>[`${i.registry}|${i.configDir}`,{registry:i.registry,configDir:i.configDir}]))).values()));if(d.length===1){await login(d[0]);return}for(const i of d){await V.group(`Login to ${i.registry}`,(async()=>{await login(i)}))}}async function post(){if(!_r){return}for(const i of xr){await V.group(`Logout from ${i.registry}`,(async()=>{await logout(i.registry,i.configDir)}))}}K.run(main,post);var Pr=v.i;export{Pr as main}; +function isNothing(i){return typeof i==="undefined"||i===null}function isObject(i){return typeof i==="object"&&i!==null}function toArray(i){if(Array.isArray(i))return i;else if(isNothing(i))return[];return[i]}function extend(i,d){var p,v,V,K;if(d){K=Object.keys(d);for(p=0,v=K.length;pte){K=" ... ";d=v-te+K.length}if(p-v>te){ee=" ...";p=v+te-ee.length}return{str:K+i.slice(d,p).replace(/\t/g,"→")+ee,pos:v-d+K.length}}function padStart(i,d){return Tt.repeat(" ",d-i.length)+i}function makeSnippet(i,d){d=Object.create(d||null);if(!i.buffer)return null;if(!d.maxLength)d.maxLength=79;if(typeof d.indent!=="number")d.indent=1;if(typeof d.linesBefore!=="number")d.linesBefore=3;if(typeof d.linesAfter!=="number")d.linesAfter=2;var p=/\r?\n|\r|\0/g;var v=[0];var V=[];var K;var ee=-1;while(K=p.exec(i.buffer)){V.push(K.index);v.push(K.index+K[0].length);if(i.position<=K.index&&ee<0){ee=v.length-2}}if(ee<0)ee=v.length-1;var te="",re,ne;var se=Math.min(i.line+d.linesAfter,V.length).toString().length;var ie=d.maxLength-(d.indent+se+3);for(re=1;re<=d.linesBefore;re++){if(ee-re<0)break;ne=getLine(i.buffer,v[ee-re],V[ee-re],i.position-(v[ee]-v[ee-re]),ie);te=Tt.repeat(" ",d.indent)+padStart((i.line-re+1).toString(),se)+" | "+ne.str+"\n"+te}ne=getLine(i.buffer,v[ee],V[ee],i.position,ie);te+=Tt.repeat(" ",d.indent)+padStart((i.line+1).toString(),se)+" | "+ne.str+"\n";te+=Tt.repeat("-",d.indent+se+3+ne.pos)+"^"+"\n";for(re=1;re<=d.linesAfter;re++){if(ee+re>=V.length)break;ne=getLine(i.buffer,v[ee+re],V[ee+re],i.position-(v[ee]-v[ee+re]),ie);te+=Tt.repeat(" ",d.indent)+padStart((i.line+re+1).toString(),se)+" | "+ne.str+"\n"}return te.replace(/\n$/,"")}var Dt=makeSnippet;var xt=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"];var Ft=["scalar","sequence","mapping"];function compileStyleAliases(i){var d={};if(i!==null){Object.keys(i).forEach((function(p){i[p].forEach((function(i){d[String(i)]=p}))}))}return d}function Type$1(i,d){d=d||{};Object.keys(d).forEach((function(d){if(xt.indexOf(d)===-1){throw new Nt('Unknown option "'+d+'" is met in definition of "'+i+'" YAML type.')}}));this.options=d;this.tag=i;this.kind=d["kind"]||null;this.resolve=d["resolve"]||function(){return true};this.construct=d["construct"]||function(i){return i};this.instanceOf=d["instanceOf"]||null;this.predicate=d["predicate"]||null;this.represent=d["represent"]||null;this.representName=d["representName"]||null;this.defaultStyle=d["defaultStyle"]||null;this.multi=d["multi"]||false;this.styleAliases=compileStyleAliases(d["styleAliases"]||null);if(Ft.indexOf(this.kind)===-1){throw new Nt('Unknown kind "'+this.kind+'" is specified for "'+i+'" YAML type.')}}var Pt=Type$1;function compileList(i,d){var p=[];i[d].forEach((function(i){var d=p.length;p.forEach((function(p,v){if(p.tag===i.tag&&p.kind===i.kind&&p.multi===i.multi){d=v}}));p[d]=i}));return p}function compileMap(){var i={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}},d,p;function collectType(d){if(d.multi){i.multi[d.kind].push(d);i.multi["fallback"].push(d)}else{i[d.kind][d.tag]=i["fallback"][d.tag]=d}}for(d=0,p=arguments.length;d=0?"0b"+i.toString(2):"-0b"+i.toString(2).slice(1)},octal:function(i){return i>=0?"0o"+i.toString(8):"-0o"+i.toString(8).slice(1)},decimal:function(i){return i.toString(10)},hexadecimal:function(i){return i>=0?"0x"+i.toString(16).toUpperCase():"-0x"+i.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}});var qt=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?"+"|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?"+"|[-+]?\\.(?:inf|Inf|INF)"+"|\\.(?:nan|NaN|NAN))$");function resolveYamlFloat(i){if(i===null)return false;if(!qt.test(i)||i[i.length-1]==="_"){return false}return true}function constructYamlFloat(i){var d,p;d=i.replace(/_/g,"").toLowerCase();p=d[0]==="-"?-1:1;if("+-".indexOf(d[0])>=0){d=d.slice(1)}if(d===".inf"){return p===1?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY}else if(d===".nan"){return NaN}return p*parseFloat(d,10)}var Yt=/^[-+]?[0-9]+e/;function representYamlFloat(i,d){var p;if(isNaN(i)){switch(d){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}}else if(Number.POSITIVE_INFINITY===i){switch(d){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}}else if(Number.NEGATIVE_INFINITY===i){switch(d){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}}else if(Tt.isNegativeZero(i)){return"-0.0"}p=i.toString(10);return Yt.test(p)?p.replace("e",".e"):p}function isFloat(i){return Object.prototype.toString.call(i)==="[object Number]"&&(i%1!==0||Tt.isNegativeZero(i))}var jt=new Pt("tag:yaml.org,2002:float",{kind:"scalar",resolve:resolveYamlFloat,construct:constructYamlFloat,predicate:isFloat,represent:representYamlFloat,defaultStyle:"lowercase"});var Jt=Ot.extend({implicit:[Ht,Gt,Vt,jt]});var Wt=Jt;var zt=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9])"+"-([0-9][0-9])$");var $t=new RegExp("^([0-9][0-9][0-9][0-9])"+"-([0-9][0-9]?)"+"-([0-9][0-9]?)"+"(?:[Tt]|[ \\t]+)"+"([0-9][0-9]?)"+":([0-9][0-9])"+":([0-9][0-9])"+"(?:\\.([0-9]*))?"+"(?:[ \\t]*(Z|([-+])([0-9][0-9]?)"+"(?::([0-9][0-9]))?))?$");function resolveYamlTimestamp(i){if(i===null)return false;if(zt.exec(i)!==null)return true;if($t.exec(i)!==null)return true;return false}function constructYamlTimestamp(i){var d,p,v,V,K,ee,te,re=0,ne=null,se,ie,oe;d=zt.exec(i);if(d===null)d=$t.exec(i);if(d===null)throw new Error("Date resolve error");p=+d[1];v=+d[2]-1;V=+d[3];if(!d[4]){return new Date(Date.UTC(p,v,V))}K=+d[4];ee=+d[5];te=+d[6];if(d[7]){re=d[7].slice(0,3);while(re.length<3){re+="0"}re=+re}if(d[9]){se=+d[10];ie=+(d[11]||0);ne=(se*60+ie)*6e4;if(d[9]==="-")ne=-ne}oe=new Date(Date.UTC(p,v,V,K,ee,te,re));if(ne)oe.setTime(oe.getTime()-ne);return oe}function representYamlTimestamp(i){return i.toISOString()}var Kt=new Pt("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:resolveYamlTimestamp,construct:constructYamlTimestamp,instanceOf:Date,represent:representYamlTimestamp});function resolveYamlMerge(i){return i==="<<"||i===null}var Xt=new Pt("tag:yaml.org,2002:merge",{kind:"scalar",resolve:resolveYamlMerge});var Zt="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function resolveYamlBinary(i){if(i===null)return false;var d,p,v=0,V=i.length,K=Zt;for(p=0;p64)continue;if(d<0)return false;v+=6}return v%8===0}function constructYamlBinary(i){var d,p,v=i.replace(/[\r\n=]/g,""),V=v.length,K=Zt,ee=0,te=[];for(d=0;d>16&255);te.push(ee>>8&255);te.push(ee&255)}ee=ee<<6|K.indexOf(v.charAt(d))}p=V%4*6;if(p===0){te.push(ee>>16&255);te.push(ee>>8&255);te.push(ee&255)}else if(p===18){te.push(ee>>10&255);te.push(ee>>2&255)}else if(p===12){te.push(ee>>4&255)}return new Uint8Array(te)}function representYamlBinary(i){var d="",p=0,v,V,K=i.length,ee=Zt;for(v=0;v>18&63];d+=ee[p>>12&63];d+=ee[p>>6&63];d+=ee[p&63]}p=(p<<8)+i[v]}V=K%3;if(V===0){d+=ee[p>>18&63];d+=ee[p>>12&63];d+=ee[p>>6&63];d+=ee[p&63]}else if(V===2){d+=ee[p>>10&63];d+=ee[p>>4&63];d+=ee[p<<2&63];d+=ee[64]}else if(V===1){d+=ee[p>>2&63];d+=ee[p<<4&63];d+=ee[64];d+=ee[64]}return d}function isBinary(i){return Object.prototype.toString.call(i)==="[object Uint8Array]"}var er=new Pt("tag:yaml.org,2002:binary",{kind:"scalar",resolve:resolveYamlBinary,construct:constructYamlBinary,predicate:isBinary,represent:representYamlBinary});var rr=Object.prototype.hasOwnProperty;var nr=Object.prototype.toString;function resolveYamlOmap(i){if(i===null)return true;var d=[],p,v,V,K,ee,te=i;for(p=0,v=te.length;p>10)+55296,(i-65536&1023)+56320)}function setProperty(i,d,p){if(d==="__proto__"){Object.defineProperty(i,d,{configurable:true,enumerable:true,writable:true,value:p})}else{i[d]=p}}var Qr=new Array(256);var br=new Array(256);for(var wr=0;wr<256;wr++){Qr[wr]=simpleEscapeSequence(wr)?1:0;br[wr]=simpleEscapeSequence(wr)}function State$1(i,d){this.input=i;this.filename=d["filename"]||null;this.schema=d["schema"]||cr;this.onWarning=d["onWarning"]||null;this.legacy=d["legacy"]||false;this.json=d["json"]||false;this.listener=d["listener"]||null;this.implicitTypes=this.schema.compiledImplicit;this.typeMap=this.schema.compiledTypeMap;this.length=i.length;this.position=0;this.line=0;this.lineStart=0;this.lineIndent=0;this.firstTabInLine=-1;this.documents=[]}function generateError(i,d){var p={name:i.filename,buffer:i.input.slice(0,-1),position:i.position,line:i.line,column:i.position-i.lineStart};p.snippet=Dt(p);return new Nt(d,p)}function throwError(i,d){throw generateError(i,d)}function throwWarning(i,d){if(i.onWarning){i.onWarning.call(null,generateError(i,d))}}var Sr={YAML:function handleYamlDirective(i,d,p){var v,V,K;if(i.version!==null){throwError(i,"duplication of %YAML directive")}if(p.length!==1){throwError(i,"YAML directive accepts exactly one argument")}v=/^([0-9]+)\.([0-9]+)$/.exec(p[0]);if(v===null){throwError(i,"ill-formed argument of the YAML directive")}V=parseInt(v[1],10);K=parseInt(v[2],10);if(V!==1){throwError(i,"unacceptable YAML version of the document")}i.version=p[0];i.checkLineBreaks=K<2;if(K!==1&&K!==2){throwWarning(i,"unsupported YAML version of the document")}},TAG:function handleTagDirective(i,d,p){var v,V;if(p.length!==2){throwError(i,"TAG directive accepts exactly two arguments")}v=p[0];V=p[1];if(!Ir.test(v)){throwError(i,"ill-formed tag handle (first argument) of the TAG directive")}if(lr.call(i.tagMap,v)){throwError(i,'there is a previously declared suffix for "'+v+'" tag handle')}if(!Br.test(V)){throwError(i,"ill-formed tag prefix (second argument) of the TAG directive")}try{V=decodeURIComponent(V)}catch(d){throwError(i,"tag prefix is malformed: "+V)}i.tagMap[v]=V}};function captureSegment(i,d,p,v){var V,K,ee,te;if(d1){i.result+=Tt.repeat("\n",d-1)}}function readPlainScalar(i,d,p){var v,V,K,ee,te,re,ne,se,ie=i.kind,oe=i.result,ae;ae=i.input.charCodeAt(i.position);if(is_WS_OR_EOL(ae)||is_FLOW_INDICATOR(ae)||ae===35||ae===38||ae===42||ae===33||ae===124||ae===62||ae===39||ae===34||ae===37||ae===64||ae===96){return false}if(ae===63||ae===45){V=i.input.charCodeAt(i.position+1);if(is_WS_OR_EOL(V)||p&&is_FLOW_INDICATOR(V)){return false}}i.kind="scalar";i.result="";K=ee=i.position;te=false;while(ae!==0){if(ae===58){V=i.input.charCodeAt(i.position+1);if(is_WS_OR_EOL(V)||p&&is_FLOW_INDICATOR(V)){break}}else if(ae===35){v=i.input.charCodeAt(i.position-1);if(is_WS_OR_EOL(v)){break}}else if(i.position===i.lineStart&&testDocumentSeparator(i)||p&&is_FLOW_INDICATOR(ae)){break}else if(is_EOL(ae)){re=i.line;ne=i.lineStart;se=i.lineIndent;skipSeparationSpace(i,false,-1);if(i.lineIndent>=d){te=true;ae=i.input.charCodeAt(i.position);continue}else{i.position=ee;i.line=re;i.lineStart=ne;i.lineIndent=se;break}}if(te){captureSegment(i,K,ee,false);writeFoldedLines(i,i.line-re);K=ee=i.position;te=false}if(!is_WHITE_SPACE(ae)){ee=i.position+1}ae=i.input.charCodeAt(++i.position)}captureSegment(i,K,ee,false);if(i.result){return true}i.kind=ie;i.result=oe;return false}function readSingleQuotedScalar(i,d){var p,v,V;p=i.input.charCodeAt(i.position);if(p!==39){return false}i.kind="scalar";i.result="";i.position++;v=V=i.position;while((p=i.input.charCodeAt(i.position))!==0){if(p===39){captureSegment(i,v,i.position,true);p=i.input.charCodeAt(++i.position);if(p===39){v=i.position;i.position++;V=i.position}else{return true}}else if(is_EOL(p)){captureSegment(i,v,V,true);writeFoldedLines(i,skipSeparationSpace(i,false,d));v=V=i.position}else if(i.position===i.lineStart&&testDocumentSeparator(i)){throwError(i,"unexpected end of the document within a single quoted scalar")}else{i.position++;V=i.position}}throwError(i,"unexpected end of the stream within a single quoted scalar")}function readDoubleQuotedScalar(i,d){var p,v,V,K,ee,te;te=i.input.charCodeAt(i.position);if(te!==34){return false}i.kind="scalar";i.result="";i.position++;p=v=i.position;while((te=i.input.charCodeAt(i.position))!==0){if(te===34){captureSegment(i,p,i.position,true);i.position++;return true}else if(te===92){captureSegment(i,p,i.position,true);te=i.input.charCodeAt(++i.position);if(is_EOL(te)){skipSeparationSpace(i,false,d)}else if(te<256&&Qr[te]){i.result+=br[te];i.position++}else if((ee=escapedHexLen(te))>0){V=ee;K=0;for(;V>0;V--){te=i.input.charCodeAt(++i.position);if((ee=fromHexCode(te))>=0){K=(K<<4)+ee}else{throwError(i,"expected hexadecimal character")}}i.result+=charFromCodepoint(K);i.position++}else{throwError(i,"unknown escape sequence")}p=v=i.position}else if(is_EOL(te)){captureSegment(i,p,v,true);writeFoldedLines(i,skipSeparationSpace(i,false,d));p=v=i.position}else if(i.position===i.lineStart&&testDocumentSeparator(i)){throwError(i,"unexpected end of the document within a double quoted scalar")}else{i.position++;v=i.position}}throwError(i,"unexpected end of the stream within a double quoted scalar")}function readFlowCollection(i,d){var p=true,v,V,K,ee=i.tag,te,re=i.anchor,ne,se,ie,oe,ae,Ae=Object.create(null),ce,le,ue,de;de=i.input.charCodeAt(i.position);if(de===91){se=93;ae=false;te=[]}else if(de===123){se=125;ae=true;te={}}else{return false}if(i.anchor!==null){i.anchorMap[i.anchor]=te}de=i.input.charCodeAt(++i.position);while(de!==0){skipSeparationSpace(i,true,d);de=i.input.charCodeAt(i.position);if(de===se){i.position++;i.tag=ee;i.anchor=re;i.kind=ae?"mapping":"sequence";i.result=te;return true}else if(!p){throwError(i,"missed comma between flow collection entries")}else if(de===44){throwError(i,"expected the node content, but found ','")}le=ce=ue=null;ie=oe=false;if(de===63){ne=i.input.charCodeAt(i.position+1);if(is_WS_OR_EOL(ne)){ie=oe=true;i.position++;skipSeparationSpace(i,true,d)}}v=i.line;V=i.lineStart;K=i.position;composeNode(i,d,ur,false,true);le=i.tag;ce=i.result;skipSeparationSpace(i,true,d);de=i.input.charCodeAt(i.position);if((oe||i.line===v)&&de===58){ie=true;de=i.input.charCodeAt(++i.position);skipSeparationSpace(i,true,d);composeNode(i,d,ur,false,true);ue=i.result}if(ae){storeMappingPair(i,te,Ae,le,ce,ue,v,V,K)}else if(ie){te.push(storeMappingPair(i,null,Ae,le,ce,ue,v,V,K))}else{te.push(ce)}skipSeparationSpace(i,true,d);de=i.input.charCodeAt(i.position);if(de===44){p=true;de=i.input.charCodeAt(++i.position)}else{p=false}}throwError(i,"unexpected end of the stream within a flow collection")}function readBlockScalar(i,d){var p,v,V=gr,K=false,ee=false,te=d,re=0,ne=false,se,ie;ie=i.input.charCodeAt(i.position);if(ie===124){v=false}else if(ie===62){v=true}else{return false}i.kind="scalar";i.result="";while(ie!==0){ie=i.input.charCodeAt(++i.position);if(ie===43||ie===45){if(gr===V){V=ie===43?mr:pr}else{throwError(i,"repeat of a chomping mode identifier")}}else if((se=fromDecimalCode(ie))>=0){if(se===0){throwError(i,"bad explicit indentation width of a block scalar; it cannot be less than one")}else if(!ee){te=d+se-1;ee=true}else{throwError(i,"repeat of an indentation width identifier")}}else{break}}if(is_WHITE_SPACE(ie)){do{ie=i.input.charCodeAt(++i.position)}while(is_WHITE_SPACE(ie));if(ie===35){do{ie=i.input.charCodeAt(++i.position)}while(!is_EOL(ie)&&ie!==0)}}while(ie!==0){readLineBreak(i);i.lineIndent=0;ie=i.input.charCodeAt(i.position);while((!ee||i.lineIndentte){te=i.lineIndent}if(is_EOL(ie)){re++;continue}if(i.lineIndentd)&&re!==0){throwError(i,"bad indentation of a sequence entry")}else if(i.lineIndentd){if(le){ee=i.line;te=i.lineStart;re=i.position}if(composeNode(i,d,fr,true,V)){if(le){Ae=i.result}else{ce=i.result}}if(!le){storeMappingPair(i,ie,oe,ae,Ae,ce,ee,te,re);ae=Ae=ce=null}skipSeparationSpace(i,true,-1);de=i.input.charCodeAt(i.position)}if((i.line===K||i.lineIndent>d)&&de!==0){throwError(i,"bad indentation of a mapping entry")}else if(i.lineIndentd){re=1}else if(i.lineIndent===d){re=0}else if(i.lineIndentd){re=1}else if(i.lineIndent===d){re=0}else if(i.lineIndent tag; it should be "scalar", not "'+i.kind+'"')}for(ie=0,oe=i.implicitTypes.length;ie")}if(i.result!==null&&Ae.kind!==i.kind){throwError(i,"unacceptable node kind for !<"+i.tag+'> tag; it should be "'+Ae.kind+'", not "'+i.kind+'"')}if(!Ae.resolve(i.result,i.tag)){throwError(i,"cannot resolve a node with !<"+i.tag+"> explicit tag")}else{i.result=Ae.construct(i.result,i.tag);if(i.anchor!==null){i.anchorMap[i.anchor]=i.result}}}if(i.listener!==null){i.listener("close",i)}return i.tag!==null||i.anchor!==null||se}function readDocument(i){var d=i.position,p,v,V,K=false,ee;i.version=null;i.checkLineBreaks=i.legacy;i.tagMap=Object.create(null);i.anchorMap=Object.create(null);while((ee=i.input.charCodeAt(i.position))!==0){skipSeparationSpace(i,true,-1);ee=i.input.charCodeAt(i.position);if(i.lineIndent>0||ee!==37){break}K=true;ee=i.input.charCodeAt(++i.position);p=i.position;while(ee!==0&&!is_WS_OR_EOL(ee)){ee=i.input.charCodeAt(++i.position)}v=i.input.slice(p,i.position);V=[];if(v.length<1){throwError(i,"directive name must not be less than one character in length")}while(ee!==0){while(is_WHITE_SPACE(ee)){ee=i.input.charCodeAt(++i.position)}if(ee===35){do{ee=i.input.charCodeAt(++i.position)}while(ee!==0&&!is_EOL(ee));break}if(is_EOL(ee))break;p=i.position;while(ee!==0&&!is_WS_OR_EOL(ee)){ee=i.input.charCodeAt(++i.position)}V.push(i.input.slice(p,i.position))}if(ee!==0)readLineBreak(i);if(lr.call(Sr,v)){Sr[v](i,v,V)}else{throwWarning(i,'unknown document directive "'+v+'"')}}skipSeparationSpace(i,true,-1);if(i.lineIndent===0&&i.input.charCodeAt(i.position)===45&&i.input.charCodeAt(i.position+1)===45&&i.input.charCodeAt(i.position+2)===45){i.position+=3;skipSeparationSpace(i,true,-1)}else if(K){throwError(i,"directives end mark is expected")}composeNode(i,i.lineIndent-1,fr,false,true);skipSeparationSpace(i,true,-1);if(i.checkLineBreaks&&Cr.test(i.input.slice(d,i.position))){throwWarning(i,"non-ASCII line breaks are interpreted as content")}i.documents.push(i.result);if(i.position===i.lineStart&&testDocumentSeparator(i)){if(i.input.charCodeAt(i.position)===46){i.position+=3;skipSeparationSpace(i,true,-1)}return}if(i.position=55296&&p<=56319&&d+1=56320&&v<=57343){return(p-55296)*1024+v-56320+65536}}return p}function needIndentIndicator(i){var d=/^\n* /;return d.test(i)}var ln=1,un=2,dn=3,hn=4,gn=5;function chooseScalarStyle(i,d,p,v,V,K,ee,te){var re;var ne=0;var se=null;var ie=false;var oe=false;var ae=v!==-1;var Ae=-1;var ce=isPlainSafeFirst(codePointAt(i,0))&&isPlainSafeLast(codePointAt(i,i.length-1));if(d||ee){for(re=0;re=65536?re+=2:re++){ne=codePointAt(i,re);if(!isPrintable(ne)){return gn}ce=ce&&isPlainSafe(ne,se,te);se=ne}}else{for(re=0;re=65536?re+=2:re++){ne=codePointAt(i,re);if(ne===Fr){ie=true;if(ae){oe=oe||re-Ae-1>v&&i[Ae+1]!==" ";Ae=re}}else if(!isPrintable(ne)){return gn}ce=ce&&isPlainSafe(ne,se,te);se=ne}oe=oe||ae&&(re-Ae-1>v&&i[Ae+1]!==" ")}if(!ie&&!oe){if(ce&&!ee&&!V(i)){return ln}return K===cn?gn:un}if(p>9&&needIndentIndicator(i)){return gn}if(!ee){return oe?hn:dn}return K===cn?gn:un}function writeScalar(i,d,p,v,V){i.dump=function(){if(d.length===0){return i.quotingType===cn?'""':"''"}if(!i.noCompatMode){if(sn.indexOf(d)!==-1||an.test(d)){return i.quotingType===cn?'"'+d+'"':"'"+d+"'"}}var K=i.indent*Math.max(1,p);var ee=i.lineWidth===-1?-1:Math.max(Math.min(i.lineWidth,40),i.lineWidth-K);var te=v||i.flowLevel>-1&&p>=i.flowLevel;function testAmbiguity(d){return testImplicitResolving(i,d)}switch(chooseScalarStyle(d,te,i.indent,ee,testAmbiguity,i.quotingType,i.forceQuotes&&!v,V)){case ln:return d;case un:return"'"+d.replace(/'/g,"''")+"'";case dn:return"|"+blockHeader(d,i.indent)+dropEndingNewline(indentString(d,K));case hn:return">"+blockHeader(d,i.indent)+dropEndingNewline(indentString(foldString(d,ee),K));case gn:return'"'+escapeString(d)+'"';default:throw new Nt("impossible error: invalid scalar style")}}()}function blockHeader(i,d){var p=needIndentIndicator(i)?String(d):"";var v=i[i.length-1]==="\n";var V=v&&(i[i.length-2]==="\n"||i==="\n");var K=V?"+":v?"":"-";return p+K+"\n"}function dropEndingNewline(i){return i[i.length-1]==="\n"?i.slice(0,-1):i}function foldString(i,d){var p=/(\n+)([^\n]*)/g;var v=function(){var v=i.indexOf("\n");v=v!==-1?v:i.length;p.lastIndex=v;return foldLine(i.slice(0,v),d)}();var V=i[0]==="\n"||i[0]===" ";var K;var ee;while(ee=p.exec(i)){var te=ee[1],re=ee[2];K=re[0]===" ";v+=te+(!V&&!K&&re!==""?"\n":"")+foldLine(re,d);V=K}return v}function foldLine(i,d){if(i===""||i[0]===" ")return i;var p=/ [^ ]/g;var v;var V=0,K,ee=0,te=0;var re="";while(v=p.exec(i)){te=v.index;if(te-V>d){K=ee>V?ee:te;re+="\n"+i.slice(V,K);V=K+1}ee=te}re+="\n";if(i.length-V>d&&ee>V){re+=i.slice(V,ee)+"\n"+i.slice(ee+1)}else{re+=i.slice(V)}return re.slice(1)}function escapeString(i){var d="";var p=0;var v;for(var V=0;V=65536?V+=2:V++){p=codePointAt(i,V);v=nn[p];if(!v&&isPrintable(p)){d+=i[V];if(p>=65536)d+=i[V+1]}else{d+=v||encodeHex(p)}}return d}function writeFlowSequence(i,d,p){var v="",V=i.tag,K,ee,te;for(K=0,ee=p.length;K1024)se+="? ";se+=i.dump+(i.condenseFlow?'"':"")+":"+(i.condenseFlow?"":" ");if(!writeNode(i,d,ne,false,false)){continue}se+=i.dump;v+=se}i.tag=V;i.dump="{"+v+"}"}function writeBlockMapping(i,d,p,v){var V="",K=i.tag,ee=Object.keys(p),te,re,ne,se,ie,oe;if(i.sortKeys===true){ee.sort()}else if(typeof i.sortKeys==="function"){ee.sort(i.sortKeys)}else if(i.sortKeys){throw new Nt("sortKeys must be a boolean or a function")}for(te=0,re=ee.length;te1024;if(ie){if(i.dump&&Fr===i.dump.charCodeAt(0)){oe+="?"}else{oe+="? "}}oe+=i.dump;if(ie){oe+=generateNextLine(i,d)}if(!writeNode(i,d+1,se,true,ie)){continue}if(i.dump&&Fr===i.dump.charCodeAt(0)){oe+=":"}else{oe+=": "}oe+=i.dump;V+=oe}i.tag=K;i.dump=V||"{}"}function detectType(i,d,p){var v,V,K,ee,te,re;V=p?i.explicitTypes:i.implicitTypes;for(K=0,ee=V.length;K tag resolver accepts not "'+re+'" style')}i.dump=v}return true}}return false}function writeNode(i,d,p,v,V,K,ee){i.tag=null;i.dump=p;if(!detectType(i,p,false)){detectType(i,p,true)}var te=Tr.call(i.dump);var re=v;var ne;if(v){v=i.flowLevel<0||i.flowLevel>d}var se=te==="[object Object]"||te==="[object Array]",ie,oe;if(se){ie=i.duplicates.indexOf(p);oe=ie!==-1}if(i.tag!==null&&i.tag!=="?"||oe||i.indent!==2&&d>0){V=false}if(oe&&i.usedDuplicates[ie]){i.dump="*ref_"+ie}else{if(se&&oe&&!i.usedDuplicates[ie]){i.usedDuplicates[ie]=true}if(te==="[object Object]"){if(v&&Object.keys(i.dump).length!==0){writeBlockMapping(i,d,i.dump,V);if(oe){i.dump="&ref_"+ie+i.dump}}else{writeFlowMapping(i,d,i.dump);if(oe){i.dump="&ref_"+ie+" "+i.dump}}}else if(te==="[object Array]"){if(v&&i.dump.length!==0){if(i.noArrayIndent&&!ee&&d>0){writeBlockSequence(i,d-1,i.dump,V)}else{writeBlockSequence(i,d,i.dump,V)}if(oe){i.dump="&ref_"+ie+i.dump}}else{writeFlowSequence(i,d,i.dump);if(oe){i.dump="&ref_"+ie+" "+i.dump}}}else if(te==="[object String]"){if(i.tag!=="?"){writeScalar(i,i.dump,d,K,re)}}else if(te==="[object Undefined]"){return false}else{if(i.skipInvalid)return false;throw new Nt("unacceptable kind of an object to dump "+te)}if(i.tag!==null&&i.tag!=="?"){ne=encodeURI(i.tag[0]==="!"?i.tag.slice(1):i.tag).replace(/!/g,"%21");if(i.tag[0]==="!"){ne="!"+ne}else if(ne.slice(0,18)==="tag:yaml.org,2002:"){ne="!!"+ne.slice(18)}else{ne="!<"+ne+">"}i.dump=ne+" "+i.dump}}return true}function getDuplicateReferences(i,d){var p=[],v=[],V,K;inspectNode(i,p,v);for(V=0,K=v.length;V{core_setSecret(i.password);return{registry:i.registry||"docker.io",username:i.username,password:i.password,scope:i.scope,ecr:i.ecr||"auto",configDir:scopeToConfigDir(i.registry||"docker.io",i.scope)}}))}if(d.length==0){throw new Error("No registry to login")}return d}function scopeToConfigDir(i,d){if(scopeDisabled()||!d||d===""){return""}let p=ne().join(xn.Buildx.configDir,"config",i==="docker.io"?"registry-1.docker.io":i);if(d.startsWith("@")){p+=d}else{p=ne().join(p,d)}return p}function scopeDisabled(){if(process.env.DOCKER_LOGIN_SCOPE_DISABLED){return Fn.Util.parseBool(process.env.DOCKER_LOGIN_SCOPE_DISABLED)}return false}var Pn=__nccwpck_require__(73490);var Ln=__nccwpck_require__(28249);var _n=__nccwpck_require__(29821);var Mn=__nccwpck_require__(61279);var Un=__nccwpck_require__(81970);var On=__nccwpck_require__(3669);const Hn=/^(([0-9]{12})\.(dkr\.ecr|dkr-ecr)\.(.+)\.(on\.aws|amazonaws\.(com(.cn)?|eu)))(\/([^:]+)(:.+)?)?$/;const Gn=/public\.ecr\.aws|ecr-public\.aws\.com/;const isECR=i=>Hn.test(i)||isPubECR(i);const isPubECR=i=>Gn.test(i);const getRegion=i=>{if(isPubECR(i)){return process.env.AWS_REGION||process.env.AWS_DEFAULT_REGION||"us-east-1"}const d=i.match(Hn);if(!d){return""}return d[4]};const getAccountIDs=i=>{if(isPubECR(i)){return[]}const d=i.match(Hn);if(!d){return[]}const p=[d[2]];if(process.env.AWS_ACCOUNT_IDS){p.push(...process.env.AWS_ACCOUNT_IDS.split(","))}return p.filter(((i,d)=>p.indexOf(i)===d))};const getRegistriesData=async(i,d,p)=>{const v=getRegion(i);const V=getAccountIDs(i);const K={};if(V.length>0){core_debug(`Requesting AWS ECR auth token for ${V.join(", ")}`);K["registryIds"]=V}let ee;const te=process.env.http_proxy||process.env.HTTP_PROXY||"";if(te){core_debug(`Using http proxy ${te}`);ee=new Un.HttpProxyAgent(te)}let re;const ne=process.env.https_proxy||process.env.HTTPS_PROXY||"";if(ne){core_debug(`Using https proxy ${ne}`);re=new On.HttpsProxyAgent(ne)}const se=d&&p?{accessKeyId:d,secretAccessKey:p}:undefined;if(isPubECR(i)){info(`AWS Public ECR detected with ${v} region`);const i=new _n.Uz({customUserAgent:"docker-login-action",credentials:se,region:v,requestHandler:new Mn.NodeHttpHandler({httpAgent:ee,httpsAgent:re})});const d=await i.getAuthorizationToken(K);if(!d.authorizationData||!d.authorizationData.authorizationToken){throw new Error("Could not retrieve an authorization token from AWS Public ECR")}const p=Buffer.from(d.authorizationData.authorizationToken,"base64").toString("utf-8");const V=p.split(":",2);core_setSecret(V[0]);core_setSecret(V[1]);return[{registry:"public.ecr.aws",username:V[0],password:V[1]}]}else{info(`AWS ECR detected with ${v} region`);const i=new Ln.Tjd({customUserAgent:"docker-login-action",credentials:se,region:v,requestHandler:new Mn.NodeHttpHandler({httpAgent:ee,httpsAgent:re})});const d=await i.getAuthorizationToken(K);if(!Array.isArray(d.authorizationData)||!d.authorizationData.length){throw new Error("Could not retrieve an authorization token from AWS ECR")}const p=[];for(const i of d.authorizationData){const d=Buffer.from(i.authorizationToken||"","base64").toString("utf-8");const v=d.split(":",2);core_setSecret(v[0]);core_setSecret(v[1]);p.push({registry:i.proxyEndpoint||"",username:v[0],password:v[1]})}return p}};async function login(i){if(/true/i.test(i.ecr)||i.ecr=="auto"&&isECR(i.registry)){await loginECR(i.registry,i.username,i.password,i.scope)}else{await loginStandard(i.registry,i.username,i.password,i.scope)}}async function logout(i,d){let p;if(d!==""){p=Object.assign({},process.env,{DOCKER_CONFIG:d});info(`Alternative config dir: ${d}`)}await Pn.Docker.getExecOutput(["logout",i],{ignoreReturnCode:true,env:p}).then((i=>{if(i.stderr.length>0&&i.exitCode!=0){warning(i.stderr.trim())}}))}async function loginStandard(i,d,p,v){if(!d&&!p){throw new Error("Username and password required")}if(!d){throw new Error("Username required")}if(!p){throw new Error("Password required")}await loginExec(i,d,p,v)}async function loginECR(i,d,p,v){info(`Retrieving registries data through AWS SDK...`);const V=await getRegistriesData(i,d,p);for(const i of V){await loginExec(i.registry,i.username,i.password,v)}}async function loginExec(i,d,p,v){let V;const K=scopeToConfigDir(i,v);if(K!==""){V=Object.assign({},process.env,{DOCKER_CONFIG:K});info(`Logging into ${i} (scope ${v})...`)}else{info(`Logging into ${i}...`)}await Pn.Docker.getExecOutput(["login","--password-stdin","--username",d,i],{ignoreReturnCode:true,silent:true,input:Buffer.from(p),env:V}).then((i=>{if(i.stderr.length>0&&i.exitCode!=0){throw new Error(i.stderr.trim())}info("Login Succeeded!")}))}const Vn=process.env["STATE_registries"]?JSON.parse(process.env["STATE_registries"]):[];const qn=/true/i.test(process.env["STATE_logout"]||"");function setRegistries(i){saveState("registries",JSON.stringify(i))}function setLogout(i){saveState("logout",i)}async function main(){const i=getInputs();setLogout(i.logout);const d=getAuthList(i);setRegistries(Array.from(new Map(d.map((i=>[`${i.registry}|${i.configDir}`,{registry:i.registry,configDir:i.configDir}]))).values()));if(d.length===1){await login(d[0]);return}for(const i of d){await group(`Login to ${i.registry}`,(async()=>{await login(i)}))}}async function post(){if(!qn){return}for(const i of Vn){await group(`Logout from ${i.registry}`,(async()=>{await logout(i.registry,i.configDir)}))}}Qt.run(main,post);var Yn=v.i;export{Yn as main}; //# sourceMappingURL=index.js.map \ No newline at end of file diff --git a/dist/index.js.map b/dist/index.js.map index 539df68..c89b9aa 100644 --- a/dist/index.js.map +++ b/dist/index.js.map @@ -1 +1 @@ -{"version":3,"file":"index.js","names":["__createBinding","this","Object","create","o","m","k","k2","undefined","desc","getOwnPropertyDescriptor","__esModule","writable","configurable","enumerable","get","defineProperty","__exportStar","exports","p","prototype","hasOwnProperty","call","value","client_1","__webpack_require__","client","DefaultArtifactClient","Timestamp","runtime_1","runtime_2","runtime_3","runtime_4","runtime_5","runtime_6","runtime_7","Timestamp$Type","MessageType","constructor","super","no","name","kind","T","now","msg","ms","Date","seconds","PbLong","from","Math","floor","toString","nanos","toDate","message","toNumber","ceil","fromDate","date","getTime","internalJsonWrite","options","parse","Error","z","nanosStr","substring","toISOString","replace","internalJsonRead","json","target","typeofJsonValue","matches","match","Number","isNaN","globalThis","parseInt","repeat","length","MESSAGE_TYPE","reflectionMergePartial","internalBinaryRead","reader","end","pos","fieldNo","wireType","tag","int64","int32","u","readUnknownField","typeName","d","skip","UnknownFieldHandler","onRead","internalBinaryWrite","writer","WireType","Varint","writeUnknownFields","onWrite","BytesValue","StringValue","BoolValue","UInt32Value","Int32Value","UInt64Value","Int64Value","FloatValue","DoubleValue","DoubleValue$Type","refJsonWriter","scalar","refJsonReader","double","Bit64","FloatValue$Type","float","Bit32","Int64Value$Type","ScalarType","INT64","LongType","STRING","UInt64Value$Type","UINT64","uint64","Int32Value$Type","UInt32Value$Type","uint32","BoolValue$Type","bool","StringValue$Type","string","LengthDelimited","BytesValue$Type","Uint8Array","bytes","ArtifactService","DeleteArtifactResponse","DeleteArtifactRequest","GetSignedArtifactURLResponse","GetSignedArtifactURLRequest","ListArtifactsResponse_MonolithArtifact","ListArtifactsResponse","ListArtifactsRequest","FinalizeArtifactResponse","FinalizeArtifactRequest","CreateArtifactResponse","CreateArtifactRequest","FinalizeMigratedArtifactResponse","FinalizeMigratedArtifactRequest","MigrateArtifactResponse","MigrateArtifactRequest","runtime_rpc_1","wrappers_1","wrappers_2","timestamp_1","MigrateArtifactRequest$Type","workflowRunBackendId","expiresAt","fork","join","MigrateArtifactResponse$Type","ok","signedUploadUrl","FinalizeMigratedArtifactRequest$Type","size","FinalizeMigratedArtifactResponse$Type","artifactId","CreateArtifactRequest$Type","workflowJobRunBackendId","version","CreateArtifactResponse$Type","FinalizeArtifactRequest$Type","hash","FinalizeArtifactResponse$Type","ListArtifactsRequest$Type","nameFilter","idFilter","ListArtifactsResponse$Type","artifacts","push","i","ListArtifactsResponse_MonolithArtifact$Type","databaseId","createdAt","digest","GetSignedArtifactURLRequest$Type","GetSignedArtifactURLResponse$Type","signedUrl","DeleteArtifactRequest$Type","DeleteArtifactResponse$Type","ServiceType","I","O","ArtifactServiceClientProtobuf","ArtifactServiceClientJSON","artifact_1","rpc","CreateArtifact","bind","FinalizeArtifact","ListArtifacts","GetSignedArtifactURL","DeleteArtifact","request","data","toJson","useProtoFieldName","emitDefaultValues","promise","then","fromJson","ignoreUnknownFields","toBinary","fromBinary","__awaiter","thisArg","_arguments","P","generator","adopt","resolve","Promise","reject","fulfilled","step","next","e","rejected","result","done","apply","__rest","s","t","indexOf","getOwnPropertySymbols","propertyIsEnumerable","core_1","config_1","upload_artifact_1","download_artifact_1","delete_artifact_1","get_artifact_1","list_artifacts_1","errors_1","uploadArtifact","files","rootDirectory","isGhes","GHESNotSupportedError","error","warning","downloadArtifact","findBy","repositoryOwner","repositoryName","token","downloadOptions","downloadArtifactPublic","downloadArtifactInternal","listArtifacts","workflowRunId","listArtifactsPublic","latest","listArtifactsInternal","getArtifact","artifactName","getArtifactPublic","getArtifactInternal","deleteArtifact","deleteArtifactPublic","deleteArtifactInternal","github_1","user_agent_1","retry_options_1","utils_1","plugin_request_log_1","plugin_retry_1","artifact_twirp_client_1","util_1","generated_1","_a","retryOpts","requestOpts","getRetryOptions","defaults","opts","log","userAgent","getUserAgentString","previews","retry","github","getOctokit","requestLog","getArtifactResp","deleteArtifactResp","rest","actions","owner","repo","artifact_id","artifact","id","status","InvalidResponseError","headers","artifactClient","internalArtifactTwirpClient","getBackendIdsFromToken","listReq","listRes","ArtifactNotFoundError","sort","a","b","debug","req","res","info","__setModuleDefault","v","__importStar","mod","__importDefault","default","streamExtractExternal","promises_1","crypto","stream","core","httpClient","unzip_stream_1","scrubQueryParameters","url","parsed","URL","search","exists","path","access","code","streamExtract","directory","retryCount","setTimeout","url_1","directory_1","arguments","timeout","HttpClient","response","statusCode","statusMessage","sha256Digest","timerFn","timeoutError","destroy","timer","hashStream","createHash","setEncoding","passThrough","PassThrough","pipe","extractStream","on","refresh","clearTimeout","Extract","read","downloadPath","resolveOrCreateDirectory","api","digestMismatch","archive_format","redirect","location","extractResponse","expectedHash","signedReq","getGitHubWorkspaceDir","mkdir","recursive","run_id","size_in_bytes","created_at","maximumArtifactCount","getMaxArtifactListCount","paginationCount","maxNumberOfPages","workflowRunId_1","repositoryOwner_1","repositoryName_1","token_1","currentPageNumber","listArtifactResponse","per_page","page","numberOfPages","total_count","totalArtifactCount","filterLatest","map","latestArtifacts","seenArtifactNames","Set","has","add","defaultMaxRetryNumber","defaultExemptStatusCodes","defaultOptions","retries","exemptStatusCodes","enabled","retryOptions","doNotRetry","requestOptions","assign","http_client_1","auth_1","ArtifactHttpClient","maxAttempts","baseRetryIntervalMilliseconds","retryMultiplier","getRuntimeToken","baseUrl","getResultsServiceUrl","BearerCredentialHandler","service","method","contentType","href","body","retryableRequest","post","JSON","stringify","operation","attempt","errorMessage","rawBody","isRetryable","readBody","maskSecretUrls","isSuccessStatusCode","isRetryableHttpStatusCode","UsageError","isUsageErrorMessage","SyntaxError","NetworkError","isNetworkErrorCode","retryTimeMilliseconds","getExponentialRetryTimeMilliseconds","sleep","retryableStatusCodes","HttpCodes","BadGateway","GatewayTimeout","InternalServerError","ServiceUnavailable","TooManyRequests","includes","milliseconds","minTime","pow","maxTime","trunc","random","retryIntervalMs","getUploadChunkTimeout","getConcurrency","getUploadChunkSize","os_1","process","env","resultsUrl","origin","ghUrl","hostname","trimEnd","toUpperCase","isGitHubHost","isGheHost","endsWith","isLocalHost","ghWorkspaceDir","numCPUs","cpus","concurrencyCap","concurrency","concurrencyOverride","timeoutVar","maxCountVar","maxCount","FilesNotFoundError","packageJson","maskSigUrl","jwt_decode_1","InvalidJwtError","decoded","scp","scpParts","split","scopes","scopeParts","ids","parsedUrl","signature","searchParams","setSecret","encodeURIComponent","String","signed_upload_url","signed_url","uploadZipToBlobStorage","storage_blob_1","authenticatedUploadURL","zipUploadStream","uploadByteCount","lastProgressTime","abortController","AbortController","chunkTimer","interval","setInterval","signal","addEventListener","clearInterval","maxConcurrency","bufferSize","blobClient","BlobClient","blockBlobClient","getBlockBlobClient","uploadCallback","progress","loadedBytes","blobHTTPHeaders","blobContentType","onProgress","abortSignal","sha256Hash","uploadStream","race","abort","uploadSize","validateFilePath","validateArtifactName","invalidArtifactFilePathCharacters","Map","invalidArtifactNameCharacters","invalidCharacterKey","errorMessageForCharacter","Array","values","getExpiration","retentionDays","maxRetentionDays","getRetentionDays","expirationDate","setDate","getDate","days","retention_1","path_and_artifact_name_validation_1","upload_zip_specification_1","blob_upload_1","zip_1","validateRootDirectory","zipSpecification","getUploadZipSpecification","flatMap","sourcePath","backendIds","createArtifactReq","createArtifactResp","createZipUploadStream","compressionLevel","uploadResult","finalizeArtifactReq","finalizeArtifactResp","BigInt","fs","path_1","existsSync","statSync","isDirectory","filesToZip","specification","normalize","file","stats","lstatSync","throwIfNoEntry","startsWith","uploadPath","destinationPath","directoryPath","ZipUploadStream","DEFAULT_COMPRESSION_LEVEL","archiver","Transform","highWaterMark","_transform","chunk","enc","cb","uploadSpecification_1","uploadSpecification","zip","zlib","level","zipErrorCallback","zipWarningCallback","zipFinishCallback","zipEndCallback","isSymbolicLink","realpath","append","writableHighWaterMark","readableHighWaterMark","finalize","ownKeys","getOwnPropertyNames","ar","issueCommand","issue","os","command","properties","cmd","Command","stdout","write","EOL","CMD_STRING","cmdStr","keys","first","key","val","escapeProperty","escapeData","toCommandValue","platform","toPlatformPath","toWin32Path","toPosixPath","markdownSummary","summary","ExitCode","exportVariable","addPath","getInput","getMultilineInput","getBooleanInput","setOutput","setCommandEcho","setFailed","isDebug","notice","startGroup","endGroup","group","saveState","getState","getIDToken","command_1","file_command_1","oidc_utils_1","convertedVal","filePath","issueFileCommand","prepareKeyValueMessage","secret","inputPath","delimiter","required","trimWhitespace","trim","inputs","filter","x","input","trueValue","falseValue","TypeError","exitCode","Failure","toCommandProperties","fn","aud","OidcClient","summary_1","summary_2","path_utils_1","appendFileSync","encoding","randomUUID","convertedValue","createHttpClient","allowRetry","maxRetry","allowRetries","maxRetries","getRequestToken","getIDTokenUrl","runtimeUrl","getCall","id_token_url","httpclient","getJson","catch","id_token","audience","encodedAudience","pth","sep","isLinux","isMacOS","isWindows","arch","getDetails","exec","getWindowsInfo","getExecOutput","silent","getMacOsInfo","_b","_c","_d","getLinuxInfo","SUMMARY_DOCS_URL","SUMMARY_ENV_VAR","fs_1","appendFile","writeFile","promises","Summary","_buffer","_filePath","pathFromEnv","constants","R_OK","W_OK","wrap","content","attrs","htmlAttrs","entries","overwrite","writeFunc","emptyBuffer","clear","isEmptyBuffer","addRaw","text","addEOL","addCodeBlock","lang","element","addList","items","ordered","listItems","item","addTable","rows","tableBody","row","cells","cell","header","colspan","rowspan","addDetails","label","addImage","src","alt","width","height","addHeading","allowedTag","addSeparator","addBreak","addQuote","cite","addLink","_summary","annotationProperties","title","line","startLine","endLine","col","startColumn","endColumn","VERSION","octokit","hook","start","endpoint","FinalizeCacheError","ReserveCacheError","ValidationError","isFeatureAvailable","restoreCache","saveCache","utils","cacheHttpClient","cacheTwirpClient","tar_1","setPrototypeOf","checkPaths","paths","checkKey","regex","test","cacheServiceVersion","getCacheServiceVersion","paths_1","primaryKey_1","restoreKeys_1","options_1","primaryKey","restoreKeys","enableCrossOsArchive","restoreCacheV2","restoreCacheV1","compressionMethod","getCompressionMethod","archivePath","cacheEntry","getCacheEntry","archiveLocation","lookupOnly","cacheKey","createTempDirectory","getCacheFileName","downloadCache","listTar","archiveFileSize","getArchiveFileSizeInBytes","round","extractTar","typedError","HttpClientError","unlinkFile","useAzureSdk","twirpClient","internalCacheTwirpClient","getCacheVersion","GetCacheEntryDownloadURL","isRestoreKeyMatch","matchedKey","signedDownloadUrl","key_1","saveCacheV2","saveCacheV1","_e","cacheId","cachePaths","resolvePaths","archiveFolder","createTar","fileSizeLimit","reserveCacheResponse","reserveCache","cacheSize","uploadChunkSize","uploadConcurrency","archiveSizeBytes","CreateCacheEntry","finalizeRequest","sizeBytes","finalizeResponse","FinalizeCacheEntryUpload","entryId","CacheService","GetCacheEntryDownloadURLResponse","GetCacheEntryDownloadURLRequest","FinalizeCacheEntryUploadResponse","FinalizeCacheEntryUploadRequest","CreateCacheEntryResponse","CreateCacheEntryRequest","cachemetadata_1","CreateCacheEntryRequest$Type","CacheMetadata","metadata","CreateCacheEntryResponse$Type","FinalizeCacheEntryUploadRequest$Type","FinalizeCacheEntryUploadResponse$Type","GetCacheEntryDownloadURLRequest$Type","GetCacheEntryDownloadURLResponse$Type","CacheServiceClientProtobuf","CacheServiceClientJSON","cache_1","cachescope_1","CacheMetadata$Type","CacheScope","repositoryId","scope","CacheScope$Type","permission","uploadUtils_1","downloadUtils_1","requestUtils_1","getCacheApiUrl","resource","getCacheServiceURL","createAcceptHeader","type","apiVersion","getRequestOptions","Accept","bearerCredentialHandler","retryTypedResponse","printCachesListForDiagnostics","cacheResult","cacheDownloadUrl","cacheListResult","totalCount","artifactCaches","cacheVersion","creationTime","archiveUrl","getDownloadOptions","downloadCacheStorageSDK","concurrentBlobDownloads","downloadCacheHttpClientConcurrent","downloadCacheHttpClient","reserveCacheRequest","postJson","getContentRange","uploadChunk","resourceUrl","openStream","additionalHeaders","uploadChunkResponse","retryHttpClientResponse","sendStream","uploadFile","fileSize","fd","openSync","uploadOptions","getUploadOptions","assertDefined","maxChunkSize","parallelUploads","offset","all","chunkSize","min","createReadStream","autoClose","closeSync","commitCache","filesize","commitCacheRequest","signedUploadURL","uploadCacheArchiveSDK","commitCacheResponse","__asyncValues","Symbol","asyncIterator","__values","iterator","verb","n","settle","getGnuTarPathOnWindows","glob","io","semver","util","constants_1","versionSalt","IS_WINDOWS","tempDirectory","baseLocation","dest","mkdirP","patterns","e_1","workspace","cwd","globber","implicitDescendants","_f","globGenerator","_g","relativeFile","relative","RegExp","e_1_1","return","promisify","unlink","getVersion","app_1","app","additionalArgs","versionOutput","ignoreReturnCode","listeners","stderr","err","clean","CompressionMethod","Gzip","ZstdWithoutLong","CacheFilename","Zstd","GnuTarPathOnWindows","toLowerCase","which","components","slice","update","CacheFileSizeLimit","ManifestFilename","TarFilename","SystemTarPathOnWindows","SocketTimeout","DefaultRetryDelay","DefaultRetryAttempts","ArchiveToolType","DownloadProgress","buffer","abort_controller_1","pipeResponseToStream","output","pipeline","contentLength","segmentIndex","segmentSize","segmentOffset","receivedBytes","displayedComplete","startTime","nextSegment","setReceivedBytes","getTransferredBytes","isDone","display","transferredBytes","percentage","toFixed","elapsedTime","downloadSpeed","startDisplayTimer","delayInMs","displayCallback","timeoutHandle","stopDisplayTimer","writeStream","createWriteStream","downloadResponse","socket","contentLengthHeader","expectedLength","actualLength","archiveDescriptor","open","socketTimeout","timeoutInMs","keepAlive","lengthHeader","downloads","blockSize","count","promiseGetter","downloadSegmentRetry","reverse","actives","bytesDownloaded","progressFn","activeDownloads","nextDownload","waitAndWrite","segment","pop","downloadConcurrency","dispose","close","failures","promiseWithTimeout","downloadSegment","partRes","Range","readBodyBuffer","BlockBlobClient","tryTimeoutInMs","getProperties","maxSegmentSize","MAX_LENGTH","downloadProgress","controller","segmentStart","segmentTimeoutInMs","downloadToBuffer","Buffer","isBuffer","writeFileSync","timeoutMs","timeoutPromise","isServerErrorStatusCode","isRetryableStatusCode","name_1","method_1","getStatusCode_1","getStatusCode","delay","onError","cacheUtils_1","cache_twirp_client_1","CacheServiceClient","retryAfterHeader","parsedSeconds","RateLimitError","CacheNotFoundError","signed_download_url","exec_1","getTarPath","gnuTar","systemTar","GNU","BSD","getTarArgs","tarPath_1","compressionMethod_1","type_1","tarPath","args","cacheFileName","tarFile","workingDirectory","getWorkingDirectory","BSD_TAR_ZSTD","getCommands","tarArgs","compressionArgs","getDecompressionProgram","getCompressionProgram","execCommands","commands","MSYS","sourceDirectories","UploadProgress","sentBytes","setSentBytes","uploadSpeed","uploadProgress","maxSingleShotSize","accountName","containerName","_response","copy","segmentDownloadTimeoutMins","isFinite","listenersMap","WeakMap","abortedMap","AbortSignal","onabort","set","aborted","none","_type","listener","removeEventListener","index","splice","dispatchEvent","_event","forEach","AbortError","parentSignals","_signal","isArray","parentSignal","unref","ClientStreamingCall","requestHeaders","trailers","requests","onfulfilled","onrejected","promiseFinished","reason","Deferred","DeferredState","preventUnhandledRejectionWarning","_state","PENDING","_promise","_resolve","_reject","_","state","RESOLVED","REJECTED","resolvePending","rejectPending","DuplexStreamingCall","responses","service_type_1","reflection_info_1","readMethodOptions","readMethodOption","readServiceOption","rpc_error_1","RpcError","rpc_options_1","mergeRpcOptions","rpc_output_stream_1","RpcOutputStreamController","test_transport_1","TestTransport","deferred_1","duplex_streaming_call_1","client_streaming_call_1","server_streaming_call_1","ServerStreamingCall","unary_call_1","UnaryCall","rpc_interceptor_1","stackIntercept","stackDuplexStreamingInterceptors","stackClientStreamingInterceptors","stackServerStreamingInterceptors","stackUnaryInterceptors","server_call_context_1","ServerCallContextController","normalizeMethodInfo","localName","lowerCamelCase","serverStreaming","clientStreaming","idempotency","methodName","extensionName","extensionType","methods","find","optionVal","meta","l","serviceName","transport","tail","mtd","inp","opt","unary","curr","interceptors","interceptUnary","interceptServerStreaming","interceptClientStreaming","duplex","interceptDuplex","assertNever","jsonOptions","mergeJsonOptions","binaryOptions","mergeBinaryOptions","concat","into","c","_lis","nxt","cmp","_closed","_itState","q","onNext","callback","addLis","onMessage","onComplete","list","clearLis","closed","notifyNext","complete","assert","notifyMessage","notifyError","notifyComplete","pushIt","shift","deadline","sendResponseHeadersFn","defaultStatus","detail","_cancelled","_listeners","_sendRH","notifyCancelled","sendResponseHeaders","cancelled","onCancel","suppressUncaughtRejections","headerDelay","responseDelay","betweenResponseDelay","afterResponseDelay","sentMessages","lastInput","TestInputStream","sent","single","sendComplete","completed","promiseHeaders","defaultHeaders","promiseSingleResponse","r","is","streamResponses","messages","promiseStatus","promiseTrailers","defaultTrailers","maybeSuppressUncaught","mergeOptions","headersPromise","responsePromise","statusPromise","trailersPromise","outputStream","responseStreamClosedPromise","responseHeader","responseTrailer","ev","_completed","_sent","send","inputMessage","delayMs","inputComplete","assertFloat32","assertUInt32","assertInt32","condition","FLOAT32_MAX","FLOAT32_MIN","UINT32_MAX","INT32_MAX","INT32_MIN","arg","isInteger","base64encode","base64decode","encTable","decTable","charCodeAt","base64Str","es","bytePos","groupPos","subarray","base64","symbol","for","container","raw","uf","last","BinaryReader","binaryReadOptions","binary_format_contract_1","pb_long_1","goog_varint_1","defaultsRead","readerFactory","buf","textDecoder","varint64","varint64read","varint32read","len","view","DataView","byteOffset","byteLength","TextDecoder","fatal","ignoreBOM","StartGroup","EndGroup","assertBounds","RangeError","sint32","zze","PbULong","sint64","lo","hi","fixed32","getUint32","sfixed32","getInt32","fixed64","sfixed64","getFloat32","getFloat64","decode","BinaryWriter","binaryWriteOptions","assert_1","defaultsWrite","writerFactory","textEncoder","stack","TextEncoder","chunks","finish","prev","varint32write","encode","setFloat32","setFloat64","setUint32","setInt32","long","varint64write","sign","listEnumNumbers","listEnumNames","listEnumValues","isEnumObject","num","nam","enumObject","number","arr","int64toString","int64fromString","lowBits","highBits","middleByte","hasNext","byte","splitBits","hasMoreBits","TWO_PWR_32_DBL","dec","minus","base","add1e6digit","begin","digit1e6","bitsLow","bitsHigh","low","mid","high","digitA","digitB","digitC","decimalFrom1e7","digit1e7","needLeadingZeros","partial","readBytes","json_typings_1","isJsonObject","base64_1","protobufjs_utf8_1","utf8read","binary_reader_1","binary_writer_1","json_format_contract_1","jsonReadOptions","jsonWriteOptions","message_type_contract_1","message_type_1","RepeatType","normalizeFieldInfo","readFieldOptions","readFieldOption","readMessageOption","reflection_type_check_1","ReflectionTypeCheck","reflection_create_1","reflectionCreate","reflection_scalar_default_1","reflectionScalarDefault","reflection_merge_partial_1","reflection_equals_1","reflectionEquals","reflection_binary_reader_1","ReflectionBinaryReader","reflection_binary_writer_1","ReflectionBinaryWriter","reflection_json_reader_1","ReflectionJsonReader","reflection_json_writer_1","ReflectionJsonWriter","reflection_contains_message_type_1","containsMessageType","oneof_1","isOneofGroup","setOneofValue","getOneofValue","clearOneofValue","getSelectedOneofValue","enum_object_1","lower_camel_case_1","enumAsInteger","prettySpaces","typeRegistry","snakeCase","capNext","sb","charAt","baseDescriptors","getOwnPropertyDescriptors","getPrototypeOf","messageTypeDescriptor","fields","defaultCheckDepth","messagePrototype","refTypeCheck","refBinReader","refBinWriter","clone","equals","depth","isAssignable","mergePartial","source","fromJsonString","toJsonString","setUnknownOneofValue","any","oneofKind","oneof","detectBi","BI","dv","ArrayBuffer","getBigInt64","getBigUint64","setBigInt64","setBigUint64","MIN","MAX","UMIN","UMAX","C","V","assertBi","bi","RE_DECIMAL_STR","HALF_2_PWR_32","SharedPbLong","isZero","isSafeInteger","ZERO","toBigInt","pbl","negate","isNegative","fromCharCodes","fromCharCode","parts","reflection_long_convert_1","prepare","fieldNoToField","fieldsInput","field","repeated","INT32","L","BYTES","mapKey","mapVal","mapEntry","K","BOOL","keyRaw","longType","DOUBLE","FLOAT","reflectionLongConvert","FIXED64","FIXED32","UINT32","SFIXED32","SFIXED64","SINT32","SINT64","emitDefault","PACKED","packed","keyValue","handler","isDefault","scalarInfo","val_a","val_b","repeatedPrimitiveEq","primitiveEq","repeatedMsgEq","objectValues","ba","bb","jsonName","NO","messageType","fieldName","fMap","jsonValue","what","oneofsHandled","jsonKey","fieldObj","jsonObjKey","jsonObjValue","enum","fieldArr","jsonItem","localEnumName","enumNumber","NaN","POSITIVE_INFINITY","NEGATIVE_INFINITY","jsonObj","entryKey","entryValue","enumInfo","jsonArr","optional","ed","ulong","BIGINT","NUMBER","fieldValue","known","oneofs","allowExcessProperties","some","f","scalars","mapKeys","argType","string_decoder_1","tr","commandLine","commandArgs","argStringToArray","toolPath","runner","ToolRunner","stdoutDecoder","StringDecoder","stderrDecoder","originalStdoutListener","originalStdErrListener","stdErrListener","stdOutListener","events","child","ioUtil","timers_1","EventEmitter","_debug","_getCommandString","noPrefix","_getSpawnFileName","_getSpawnArgs","_isCmdFile","windowsVerbatimArguments","_windowsQuoteCmdArg","_processLineBuffer","strBuffer","onLine","argline","_endsWith","str","upperToolPath","_uvQuoteCmdArg","cmdSpecialChars","needsQuotes","char","quoteHit","_cloneExecOptions","failOnStdErr","outStream","errStream","_getSpawnOptions","argv0","isRooted","optionsNonNull","ExecState","fileName","cp","spawn","stdbuffer","stdline","errbuffer","processStderr","errline","processError","processExited","processClosed","CheckComplete","processExitCode","emit","removeAllListeners","stdin","argString","inQuotes","escaped","_setResult","HandleTimeout","PersonalAccessTokenCredentialHandler","BasicCredentialHandler","username","password","prepareRequest","canHandleAuthentication","handleAuthentication","isHttps","HttpClientResponse","getProxyUrl","MediaTypes","Headers","http","https","pm","tunnel","undici_1","serverUrl","proxyUrl","HttpRedirectCodes","MovedPermanently","ResourceMoved","SeeOther","TemporaryRedirect","PermanentRedirect","HttpResponseRetryCodes","RetryableHttpVerbs","ExponentialBackoffCeiling","ExponentialBackoffTimeSlice","alloc","requestUrl","protocol","handlers","_ignoreSslError","_allowRedirects","_allowRedirectDowngrade","_maxRedirects","_allowRetries","_maxRetries","_keepAlive","_disposed","ignoreSslError","_socketTimeout","allowRedirects","allowRedirectDowngrade","maxRedirects","max","del","patch","put","head","_getExistingOrDefaultHeader","ApplicationJson","_processResponse","obj","ContentType","putJson","patchJson","_prepareRequest","maxTries","numTries","requestRaw","Unauthorized","authenticationHandler","redirectsRemaining","redirectUrl","parsedRedirectUrl","_performExponentialBackoff","_agent","callbackForResult","requestRawWithCallback","onResult","callbackCalled","handleResult","httpModule","sock","getAgent","_getAgent","getAgentDispatcher","useProxy","_getProxyAgentDispatcher","usingSsl","defaultPort","host","port","pathname","_mergeHeaders","agent","lowercaseKeys","_default","clientHeader","_proxyAgent","maxSockets","globalAgent","agentOptions","proxy","proxyAuth","tunnelAgent","overHttps","httpsOverHttps","httpsOverHttp","httpOverHttps","httpOverHttp","Agent","rejectUnauthorized","proxyAgent","_proxyAgentDispatcher","ProxyAgent","uri","pipelining","requestTls","retryNumber","NotFound","dateTimeDeserializer","valueOf","contents","deserializeDates","reduce","checkBypass","reqUrl","proxyVar","reqHost","isLoopbackAddress","noProxy","reqPort","upperReqHosts","upperNoProxyItem","hostLower","getCmdPath","tryGetExecutablePath","READONLY","UV_FS_O_EXLOCK","symlink","stat","rmdir","rm","rename","readlink","readdir","lstat","copyFile","chmod","O_RDONLY","fsPath","useStat","normalizeSeparators","extensions","console","isFile","upperExt","extname","validExt","isUnixExecutable","originalFilePath","extension","dirname","upperName","basename","actualName","mode","gid","getgid","uid","getuid","findInPath","rmRF","mv","force","copySourceDirectory","readCopyOptions","destStat","newDest","sourceStat","cpDirRecursive","destExists","retryDelay","tool","check","directories","PATH","Boolean","sourceDir","destDir","currentDepth","srcFile","destFile","srcFileStat","symlinkFull","Context","payload","GITHUB_EVENT_PATH","readFileSync","eventName","GITHUB_EVENT_NAME","sha","GITHUB_SHA","ref","GITHUB_REF","workflow","GITHUB_WORKFLOW","action","GITHUB_ACTION","actor","GITHUB_ACTOR","job","GITHUB_JOB","runAttempt","GITHUB_RUN_ATTEMPT","runNumber","GITHUB_RUN_NUMBER","runId","GITHUB_RUN_ID","apiUrl","GITHUB_API_URL","GITHUB_SERVER_URL","graphqlUrl","GITHUB_GRAPHQL_URL","pull_request","GITHUB_REPOSITORY","repository","login","context","additionalPlugins","GitHubWithPlugins","GitHub","plugin","getOctokitOptions","getApiBaseUrl","getProxyFetch","getProxyAgentDispatcher","getProxyAgent","getAuthString","auth","destinationUrl","hc","httpDispatcher","proxyFetch","fetch","dispatcher","Utils","plugin_rest_endpoint_methods_1","plugin_paginate_rest_1","Octokit","restEndpointMethods","paginateRest","hashFiles","internal_globber_1","internal_hash_files_1","DefaultGlobber","patterns_1","currentWorkspace","verbose","followSymbolicLinks","getOptions","matchDirectories","omitBrokenSymbolicLinks","excludeHiddenFiles","__await","__asyncGenerator","g","AsyncIterator","awaitReturn","resume","fulfill","globOptionsHelper","patternHelper","internal_match_kind_1","internal_pattern_1","internal_search_state_1","searchPaths","getSearchPaths","itemPath","globGenerator_1","pattern","trailingSeparator","segments","Pattern","searchPath","unshift","SearchState","traversalChain","partialMatch","MatchKind","Directory","childLevel","childItems","File","lines","realPath","globber_1","currentWorkspace_1","writeDelegate","hasMatch","githubWorkspace","ensureAbsoluteRoot","hasAbsoluteRoot","hasRoot","safeTrimTrailingSeparator","root","substr","isUnc","Path","pathHelper","remaining","dir","skipSlash","searchPathMap","foundAncestor","tempKey","parent","None","minimatch_1","internal_path_1","patternOrNegate","isImplicitPattern","homedir","getLiteral","fixupPattern","foundGlob","searchSegments","rootRegExp","regExpEscape","minimatchOptions","dot","nobrace","nocase","nocomment","noext","nonegate","minimatch","Minimatch","All","matchOne","globEscape","literalSegments","every","literal","i2","c2","_getUserAgentWithOrchestrationId","requestUrl_1","obj_1","_getExistingOrDefaultContentTypeHeader","headerValue","additionalValue","baseUserAgent","orchId","sanitizedId","DecodedURL","_decodedUsername","decodeURIComponent","_decodedPassword","Client","Dispatcher","Pool","BalancedPool","EnvHttpProxyAgent","RetryAgent","errors","InvalidArgumentError","buildConnector","MockClient","MockAgent","MockPool","mockErrors","RetryHandler","getGlobalDispatcher","setGlobalDispatcher","DecoratorHandler","RedirectHandler","createRedirectInterceptor","module","dump","dns","parseHeaders","headerNameToString","makeDispatcher","parseOrigin","parseURL","fetchImpl","async","init","captureStackTrace","Response","Request","FormData","FileReader","setGlobalOrigin","getGlobalOrigin","CacheStorage","kConstruct","caches","deleteCookie","getCookies","getSetCookies","setCookie","parseMIMEType","serializeAMimeType","CloseEvent","ErrorEvent","MessageEvent","WebSocket","connect","upgrade","EventSource","addAbortListener","RequestAbortedError","kListener","kSignal","self","removeSignal","addSignal","removeListener","AsyncResource","SocketError","ConnectHandler","opaque","responseHeaders","onConnect","onHeaders","onUpgrade","rawHeaders","parseRawHeaders","runInAsyncScope","queueMicrotask","connectHandler","dispatch","Readable","Duplex","InvalidReturnValueError","kResume","PipelineRequest","autoDestroy","_read","_destroy","PipelineResponse","_readableState","endEmitted","PipelineHandler","onInfo","nop","ret","readableObjectMode","objectMode","destroyed","pause","ended","onData","pipelineHandler","getResolveErrorBodyCallback","RequestHandler","throwOnError","isStream","removeAbortListener","off","parsedHeaders","finished","StreamHandler","factory","readable","needDrain","writableNeedDrain","_writableState","UpgradeHandler","upgradeHandler","NotSupportedError","ReadableStreamFrom","kConsume","kReading","kBody","kAbort","kContentType","kContentLength","noop","BodyReadable","dataEmitted","setImmediate","addListener","listenerCount","consumePush","consume","blob","arrayBuffer","formData","bodyUsed","isDisturbed","getReader","locked","limit","throwIfAborted","closeEmitted","onAbort","isLocked","isUnusable","rState","errored","consumeFinish","consumeStart","bufferIndex","consumeEnd","chunksDecode","bufferLength","utf8Slice","chunksConcat","allocUnsafeSlow","Blob","ResponseStatusCodeError","CHUNK_LIMIT","stackTraceLimit","isContentTypeApplicationJson","isContentTypeText","net","ConnectTimeoutError","timers","tls","SessionCache","global","FinalizationRegistry","NODE_V8_COVERAGE","UNDICI_NO_FG","WeakSessionCache","maxCachedSessions","_maxCachedSessions","_sessionCache","_sessionRegistry","deref","delete","sessionKey","session","WeakRef","register","SimpleSessionCache","oldestKey","allowH2","socketPath","customSession","sessionCache","servername","localAddress","httpSocket","getServerName","ALPNProtocols","keepAliveInitialDelay","setKeepAlive","clearConnectTimeout","setupConnectTimeout","setNoDelay","once","socketWeakRef","s1","s2","fastTimer","setFastTimeout","onConnectTimeout","clearFastTimeout","clearImmediate","autoSelectFamilyAttemptedAddresses","headerNameLowerCasedRecord","wellknownHeaderNames","lowerCasedKey","diagnosticsChannel","undiciDebugLog","debuglog","fetchDebuglog","websocketDebuglog","isClientSet","channels","beforeConnect","channel","connected","connectError","sendHeaders","bodySent","socketError","ping","pong","subscribe","evt","connectParams","address","websocket","kUndiciError","UndiciError","hasInstance","instance","kConnectTimeoutError","kHeadersTimeoutError","HeadersTimeoutError","kHeadersOverflowError","HeadersOverflowError","kBodyTimeoutError","BodyTimeoutError","kResponseStatusCodeError","kInvalidArgumentError","kInvalidReturnValueError","kAbortError","kRequestAbortedError","kInformationalError","InformationalError","kRequestContentLengthMismatchError","RequestContentLengthMismatchError","kResponseContentLengthMismatchError","ResponseContentLengthMismatchError","kClientDestroyedError","ClientDestroyedError","kClientClosedError","ClientClosedError","kSocketError","kNotSupportedError","kBalancedPoolMissingUpstreamError","BalancedPoolMissingUpstreamError","kHTTPParserError","HTTPParserError","kResponseExceededMaxSizeError","ResponseExceededMaxSizeError","kRequestRetryError","RequestRetryError","kResponseError","ResponseError","kSecureProxyConnectionError","SecureProxyConnectionError","cause","isValidHTTPToken","isValidHeaderValue","isFormDataLike","isIterable","isBlobLike","buildURL","validateHandler","normalizedMethodRecords","invalidPathRegex","kHandler","query","idempotent","blocking","headersTimeout","bodyTimeout","reset","expectContinue","endHandler","errorHandler","isView","processHeader","hasSubscribers","publish","onBodySent","onRequestSent","onResponseStarted","statusText","onFinally","addHeader","headerName","kClose","kDestroy","kDispatch","kUrl","kWriting","kResuming","kQueue","kConnect","kConnecting","kKeepAliveDefaultTimeout","kKeepAliveMaxTimeout","kKeepAliveTimeoutThreshold","kKeepAliveTimeoutValue","kKeepAlive","kHeadersTimeout","kBodyTimeout","kServerName","kLocalAddress","kHost","kNoRef","kBodyUsed","kRunning","kBlocking","kPending","kSize","kBusy","kQueued","kFree","kConnected","kClosed","kNeedDrain","kReset","kDestroyed","kOnError","kMaxHeadersSize","kRunningIdx","kPendingIdx","kError","kClients","kClient","kParser","kOnDestroyed","kPipelining","kSocket","kHostHeader","kConnector","kStrictContentLength","kMaxRedirections","kMaxRequests","kProxy","kCounter","kInterceptors","kMaxResponseSize","kHTTP2Session","kHTTP2SessionState","kRetryHandlerDefaultRetry","kListeners","kHTTPContext","kMaxConcurrentStreams","kNoProxyAgent","kHttpProxyAgent","kHttpsProxyAgent","TstNode","left","middle","right","node","keylength","TernarySearchTree","insert","lookup","tree","IncomingMessage","nodeUtil","EE","nodeMajor","nodeMinor","versions","BodyAsyncIterable","wrapRequestBody","bodyLength","readableDidRead","pipeTo","object","sTag","toStringTag","queryParams","stringified","isValidPort","isHttpOrHttpsPrefixed","getHostname","idx","isIP","deepClone","isAsyncIterable","isDestroyed","KEEPALIVE_TIMEOUT_EXPR","parseKeepAliveTimeout","bufferToLowerCasedHeaderName","headersValue","hasContentLength","contentDispositionIdx","kLen","isErrored","isReadable","getSocketInfo","localPort","remoteAddress","remotePort","remoteFamily","bytesWritten","bytesRead","iterable","ReadableStream","pull","byobRequest","respond","enqueue","desiredSize","cancel","getAll","hasToWellFormed","toWellFormed","hasIsWellFormed","isWellFormed","toUSVString","isUSVString","isTokenCharCode","characters","headerCharRegex","parseRangeHeader","range","errorRequest","kEnumerableProperty","normalizedMethodRecordsBase","DELETE","GET","HEAD","OPTIONS","POST","PUT","PATCH","safeHTTPMethods","DispatcherBase","kOnConnect","kOnDisconnect","kOnConnectionError","kOnDrain","kFactory","kOptions","defaultFactory","connections","maxRedirections","targets","closePromises","destroyPromises","PoolBase","kAddClient","kRemoveClient","kGetDispatcher","kGreatestCommonDivisor","kCurrentWeight","kIndex","kWeight","kMaxWeightPerServer","kErrorPenalty","getGreatestCommonDivisor","upstreams","maxWeightPerServer","errorPenalty","upstream","addUpstream","_updateBalancedPoolStats","upstreamOrigin","pool","removeUpstream","allClientsBusy","counter","maxWeightIndex","findIndex","EMPTY_BUF","FastBuffer","species","extractBody","lazyllhttp","llhttpWasmData","JEST_WORKER_ID","WebAssembly","compile","instantiate","wasm_on_url","at","wasm_on_status","currentParser","ptr","currentBufferPtr","currentBufferRef","onStatus","wasm_on_message_begin","onMessageBegin","wasm_on_header_field","onHeaderField","wasm_on_header_value","onHeaderValue","wasm_on_headers_complete","shouldKeepAlive","onHeadersComplete","wasm_on_body","onBody","wasm_on_message_complete","onMessageComplete","llhttpInstance","llhttpPromise","currentBufferSize","USE_NATIVE_TIMER","USE_FAST_TIMER","TIMEOUT_HEADERS","TIMEOUT_BODY","TIMEOUT_KEEP_ALIVE","Parser","llhttp","llhttp_alloc","TYPE","RESPONSE","timeoutValue","timeoutType","headersSize","headersMaxSize","paused","connection","maxResponseSize","onParserTimeout","llhttp_resume","execute","readMore","free","malloc","memory","llhttp_execute","llhttp_get_error_pos","ERROR","PAUSED_UPGRADE","PAUSED","OK","llhttp_get_error_reason","llhttp_free","trackHeader","keepAliveTimeout","parser","connectH1","defaultPipelining","writeH1","resumeH1","busy","shouldSendContentLength","expectsPayload","bodyStream","emitWarning","writeBuffer","writeIterable","writeBlob","AsyncWriter","onDrain","onClose","onFinished","er","errorEmitted","readableEnded","cork","uncork","waitForDrain","kOpenStreams","h2ExperimentalWarned","http2","HTTP2_HEADER_AUTHORITY","HTTP2_HEADER_METHOD","HTTP2_HEADER_PATH","HTTP2_HEADER_SCHEME","HTTP2_HEADER_CONTENT_LENGTH","HTTP2_HEADER_EXPECT","HTTP2_HEADER_STATUS","parseH2Headers","subvalue","connectH2","createConnection","peerMaxConcurrentStreams","onHttp2SessionError","onHttp2FrameError","onHttp2SessionEnd","onHTTP2GoAway","Infinity","writeH2","resumeH2","reqHeaders","endStream","pending","shouldEndStream","writeBodyH2","realHeaders","h2stream","onPipeData","deprecatedInterceptorWarned","kClosedResolve","getPipelining","maxHeaderSize","requestTimeout","connectTimeout","idleTimeout","maxKeepAliveTimeout","keepAliveMaxTimeout","keepAliveTimeoutThreshold","strictContentLength","maxRequestsPerClient","autoSelectFamily","autoSelectFamilyAttemptTimeout","maxConcurrentStreams","sync","ip","connector","alpnProtocol","emitDrain","_resume","kOnClosed","kInterceptedDispatch","newInterceptors","interceptor","onClosed","callbacks","onDestroyed","compose","ComposedDispatcher","DEFAULT_PORTS","experimentalWarned","noProxyValue","noProxyEntries","httpProxy","httpsProxy","agentOpts","HTTP_PROXY","http_proxy","HTTPS_PROXY","https_proxy","parseNoProxy","getProxyAgentForUrl","shouldProxy","noProxyChanged","entry","noProxyEnv","noProxySplit","no_proxy","NO_PROXY","kMask","FixedCircularBuffer","bottom","top","isEmpty","isFull","nextItem","FixedQueue","PoolStats","kStats","queue","running","kPool","queued","kConnections","kAgent","kProxyHeaders","kRequestTls","kProxyTls","kConnectEndpoint","kTunnelProxy","defaultProtocolPort","defaultAgentFactory","Http1ProxyWrapper","clientFactory","proxyTunnel","getUrl","proxyHostname","proxyTls","agentFactory","requestedPath","buildHeaders","throwIfProxyAuthIsSent","headersPair","existProxyAuth","globalDispatcher","redirectableStatusCodes","history","redirectionLimitReached","parseLocation","throwOnMaxRedirect","cleanRequestHeaders","shouldRemoveHeader","removeContent","unknownOrigin","calculateRetryAfterHeader","retryAfter","current","dispatchOpts","retryFn","maxTimeout","minTimeout","timeoutFactor","errorCodes","statusCodes","retryCountCheckpoint","etag","retryTimeout","contentRange","rawTrailers","onRetry","maxInt","DNSInstance","maxTTL","maxItems","records","dualStack","affinity","pick","defaultLookup","defaultPick","full","runLookup","ips","newOpts","addresses","setRecords","family","order","results","addr","hostnameRecords","position","timestamp","ttl","record","familyRecords","getHandler","DNSDispatchHandler","newOrigin","deleteRecord","interceptorOpts","dnsInterceptor","origDispatchOpts","DumpHandler","maxSize","dumped","customAbort","createDumpInterceptor","defaultMaxSize","Intercept","dumpMaxSize","dumpHandler","defaultMaxRedirections","redirectHandler","globalMaxRedirections","redirectInterceptor","baseOpts","globalOpts","retryInterceptor","SPECIAL_HEADERS","HEADER_STATE","MINOR","MAJOR","CONNECTION_TOKEN_CHARS","HEADER_CHARS","TOKEN","STRICT_TOKEN","HEX","URL_CHAR","STRICT_URL_CHAR","USERINFO_CHARS","MARK","ALPHANUM","NUM","HEX_MAP","NUM_MAP","ALPHA","FINISH","H_METHOD_MAP","METHOD_MAP","METHODS_RTSP","METHODS_ICE","METHODS_HTTP","METHODS","LENIENT_FLAGS","FLAGS","CONNECT","TRACE","COPY","LOCK","MKCOL","MOVE","PROPFIND","PROPPATCH","SEARCH","UNLOCK","BIND","REBIND","UNBIND","ACL","REPORT","MKACTIVITY","CHECKOUT","MERGE","NOTIFY","SUBSCRIBE","UNSUBSCRIBE","PURGE","MKCALENDAR","LINK","UNLINK","PRI","SOURCE","DESCRIBE","ANNOUNCE","SETUP","PLAY","PAUSE","TEARDOWN","GET_PARAMETER","SET_PARAMETER","REDIRECT","RECORD","FLUSH","enumToMap","A","B","D","E","F","CONNECTION","CONTENT_LENGTH","TRANSFER_ENCODING","UPGRADE","kMockAgentSet","kMockAgentGet","kDispatches","kIsMockActive","kNetConnect","kGetNetConnect","matchValue","buildMockOptions","Pluralizer","PendingInterceptorsFormatter","deactivate","activate","enableNetConnect","matcher","disableNetConnect","isMockActive","mockOptions","keyMatcher","nonExplicitDispatcher","pendingInterceptors","mockAgentClients","assertNoPendingInterceptors","pendingInterceptorsFormatter","pluralizer","pluralize","noun","format","buildMockDispatch","kMockAgent","kOriginalClose","kOrigin","kOriginalDispatch","MockInterceptor","Symbols","intercept","kMockNotMatchedError","MockNotMatchedError","getResponseData","buildKey","addMockDispatch","kDispatchKey","kDefaultHeaders","kDefaultTrailers","kMockDispatch","MockScope","mockDispatch","waitInMs","persist","times","repeatTimes","mockDispatches","parsedURL","createMockScopeDispatchData","responseOptions","responseData","validateReplyParameters","replyParameters","reply","replyOptionsCallbackOrStatusCode","wrappedDefaultsCallback","resolvedData","newMockDispatch","dispatchData","replyWithError","defaultReplyHeaders","defaultReplyTrailers","replyContentLength","STATUS_CODES","types","isPromise","lowerCaseEntries","fromEntries","toLocaleLowerCase","getHeaderByName","buildHeadersFromArray","matchHeaders","matchHeaderName","matchHeaderValue","safeUrl","pathSegments","qp","URLSearchParams","matchKey","pathMatch","methodMatch","bodyMatch","headersMatch","getMockDispatch","basePath","resolvedPath","matchedMockDispatches","consumed","baseData","timesInvoked","replyData","deleteMockDispatch","generateKeyValues","j","getStatusText","getResponse","buffers","handleReply","_data","optsHeaders","newData","responseTrailers","originalDispatch","netConnect","checkNetConnect","Console","PERSISTENT","icu","NOT_PERSISTENT","disableColors","transform","_enc","logger","inspectOptions","colors","CI","withPrettyHeaders","Method","Origin","Persistent","Invocations","Remaining","table","singulars","pronoun","was","plurals","singular","plural","one","fastNow","RESOLUTION_MS","TICK_MS","fastNowTimeout","kFastTimer","fastTimers","NOT_IN_LIST","TO_BE_CLEARED","ACTIVE","onTick","_idleStart","_idleTimeout","_onTimeout","_timerArg","refreshTimeout","FastTimer","tick","urlEquals","getFieldValues","webidl","cloneResponse","fromInnerResponse","fromInnerRequest","kState","fetching","urlIsHttpHttpsScheme","createDeferredPromise","readAllBytes","Cache","relevantRequestResponseList","illegalConstructor","markAsUncloneable","brandCheck","prefix","argumentLengthCheck","converters","RequestInfo","CacheQueryOptions","internalMatchAll","matchAll","responseArrayPromise","addAll","responsePromises","requestList","conversionFailed","argument","exception","fetchControllers","initiator","destination","processResponse","headersList","contains","fieldValues","processResponseEndOfBody","DOMException","operations","cacheJobPromise","errorData","batchCacheOperations","innerRequest","innerResponse","clonedResponse","bodyReadPromise","ignoreMethod","requestResponses","requestResponse","queryCache","requestObject","freeze","cache","backupCache","addedItems","resultList","requestQuery","targetStorage","storage","cachedRequest","cachedResponse","requestMatchesCachedItem","queryURL","cachedURL","ignoreSearch","ignoreVary","requestValue","queryValue","maxResponses","responseList","responseObject","defineProperties","cacheQueryOptionConverters","converter","boolean","defaultValue","dictionaryConverter","MultiCacheQueryOptions","DOMString","interfaceConverter","sequenceConverter","cacheName","cacheList","URLSerializer","isValidHeaderName","excludeFragment","serializedA","serializedB","maxAttributeValueSize","maxNameValuePairSize","parseSetCookie","strict","cookie","out","piece","attributes","DeleteCookieAttributes","expires","cookies","getSetCookie","pair","Cookie","nullableConverter","USVString","allowedValues","isCTLExcludingHtab","collectASequenceOfCodePointsFast","nameValuePair","unparsedAttributes","parseUnparsedAttributes","cookieAttributeList","cookieAv","attributeName","attributeValue","attributeNameLowercase","expiryTime","charCode","deltaSeconds","maxAge","cookieDomain","domain","cookiePath","secure","httpOnly","enforcement","attributeValueLowercase","sameSite","unparsed","validateCookieName","validateCookieValue","validateCookiePath","validateCookieDomain","IMFDays","IMFMonths","IMFPaddedNumbers","fill","padStart","toIMFDate","getUTCDay","getUTCDate","getUTCMonth","getUTCFullYear","getUTCHours","getUTCMinutes","getUTCSeconds","validateCookieMaxAge","part","isASCIINumber","isValidLastEventId","BOM","LF","CR","COLON","SPACE","EventSourceStream","checkBOM","crlfCheck","eventEndCheck","event","eventSourceSettings","_encoding","processEvent","clearEvent","parseLine","colonPosition","valueStart","reconnectionTime","lastEventId","makeRequest","createFastMessageEvent","isNetworkError","environmentSettingsObject","defaultReconnectionTime","CONNECTING","OPEN","CLOSED","ANONYMOUS","USE_CREDENTIALS","EventTarget","withCredentials","readyState","eventSourceInitDict","EventSourceInitDict","settings","urlRecord","settingsObject","corsAttributeState","initRequest","keepalive","credentials","referrer","urlList","fetchParams","processEventSourceEndOfBody","Event","reconnect","mimeType","contentTypeValid","essence","eventSourceStream","onopen","onmessage","onerror","constantsPropertyDescriptors","__proto__","isReadableStreamLike","readableStreamClose","fullyReadBody","extractMimeType","utf8DecodeBytes","isArrayBuffer","multipartFormDataParser","randomInt","hasFinalizationRegistry","streamRegistry","weakRef","boundary","escape","normalizeLinefeeds","blobParts","rn","hasUnknownSizeValue","safelyExtractBody","cloneBody","out1","out2","tee","bodyMixinMethods","consumeBody","bodyMimeType","parseJSONFromBytes","mixinBody","convertBytesToJSValue","bodyUnusable","errorSteps","successSteps","allocUnsafe","requestOrResponse","corsSafeListedMethods","corsSafeListedMethodsSet","nullBodyStatus","redirectStatus","redirectStatusSet","badPorts","badPortsSet","referrerPolicy","referrerPolicySet","requestRedirect","safeMethods","safeMethodsSet","requestMode","requestCredentials","requestCache","requestBodyHeader","requestDuplex","forbiddenMethods","forbiddenMethodsSet","subresource","subresourceSet","encoder","HTTP_TOKEN_CODEPOINTS","HTTP_WHITESPACE_REGEX","ASCII_WHITESPACE_REPLACE_REGEX","HTTP_QUOTED_STRING_TOKENS","dataURLProcessor","dataURL","mimeTypeLength","removeASCIIWhitespace","encodedBody","stringPercentDecode","stringBody","isomorphicDecode","forgivingBase64","mimeTypeRecord","hashLength","serialized","collectASequenceOfCodePoints","percentDecode","isHexCharByte","hexByteToNumber","removeHTTPWhitespace","subtype","typeLowercase","subtypeLowercase","parameters","parameterName","parameterValue","collectAnHTTPQuotedString","dataLength","extractValue","positionStart","quoteOrBackslash","serialization","isHTTPWhiteSpace","leading","trailing","removeChars","isASCIIWhitespace","predicate","lead","trail","addition","minimizeSupportedMimeType","CompatWeakRef","CompatFinalizer","finalizer","unregister","_rawDebug","FileLike","blobLike","lastModified","isFileLike","makeEntry","NodeFile","formDataNameBuffer","filenameBuffer","dd","ddcrlf","isAsciiString","chars","validateBoundary","boundaryString","entryList","bufferStartsWith","parseMultipartFormDataHeaders","filename","boundaryIndex","collectASequenceOfBytes","parseMultipartFormDataName","iteratorMixin","NativeFile","form","inspect","custom","formatWithOptions","globalOrigin","kHeadersMap","kHeadersSortedMap","isHTTPWhiteSpaceCharCode","headerValueNormalize","potentialValue","appendHeader","invalidArgument","getHeadersGuard","getHeadersList","compareHeaderName","HeadersList","isLowerCase","lowercaseName","rawValues","entriesList","lowerName","toSortedArray","array","firstValue","pivot","guard","HeadersInit","ByteString","names","setHeadersGuard","setHeadersList","Reflect","deleteProperty","Type","isProxy","makeNetworkError","makeAppropriateNetworkError","filterResponse","makeResponse","cloneRequest","bytesMatch","makePolicyContainer","clonePolicyContainer","requestBadPort","TAOCheck","appendRequestOriginHeader","responseLocationURL","requestCurrentURL","setRequestReferrerPolicyOnRedirect","tryUpgradeRequestToAPotentiallyTrustworthyURL","createOpaqueTimingInfo","appendFetchMetadata","corsCheck","crossOriginResourcePolicyCheck","determineRequestsReferrer","coarsenedSharedCurrentTime","sameOrigin","isCancelled","isAborted","isErrorLike","isomorphicEncode","urlIsLocal","urlHasHttpsScheme","clampAndCoarsenConnectionTimingInfo","simpleRangeHeaderValue","buildContentRange","createInflate","kDispatcher","GET_OR_HEAD","defaultUserAgent","__UNDICI_IS_NODE__","esbuildDetection","resolveObjectURL","Fetch","terminate","serializedAbortReason","handleFetchDone","finalizeAndReportTiming","abortFetch","globalObject","serviceWorkers","locallyAborted","realResponse","initiatorType","originalURL","timingInfo","cacheState","timingAllowPassed","endTime","markResourceTiming","performance","processRequestBodyChunkLength","processRequestEndOfBody","processResponseConsumeBody","useParallelQueue","taskDestination","crossOriginIsolatedCapability","currentTime","window","policyContainer","priority","mainFetch","localURLsOnly","currentURL","responseTainting","schemeFetch","httpFetch","internalResponse","timingAllowFailed","rangeRequested","integrity","processBodyError","fetchFinale","processBody","redirectCount","scheme","blobURLEntry","fullLength","serializedFullLength","bodyWithType","rangeHeader","rangeValue","rangeStartValue","rangeStart","rangeEndValue","rangeEnd","slicedBlob","slicedBodyWithType","serializedSlicedLength","dataURLStruct","processResponseDone","unsafeEndTime","fullTimingInfo","reportTimingSteps","bodyInfo","responseStatus","hasCrossOriginRedirects","processResponseEndOfBodyTask","actualResponse","httpNetworkOrCacheFetch","httpRedirectFetch","locationURL","redirectEndTime","postRedirectStartTime","redirectStartTime","isAuthenticationFetch","isNewConnectionFetch","httpFetchParams","httpRequest","httpCache","revalidatingFlag","includeCredentials","contentLengthHeaderValue","preventNoCacheCacheControlHeaderModification","forwardResponse","httpNetworkFetch","requestIncludesCredentials","forceNewConnection","newConnection","requestBody","processBodyChunk","processEndOfBody","pullAlgorithm","cancelAlgorithm","onAborted","isFailure","encodedBodySize","decodedBodySize","finalConnectionTimingInfo","finalNetworkRequestStartTime","finalNetworkResponseStartTime","decoders","willFollow","contentEncoding","codings","maxContentEncodings","coding","createGunzip","flush","Z_SYNC_FLUSH","finishFlush","createBrotliDecompress","BROTLI_OPERATION_FLUSH","fillHeaders","kHeaders","getMaxListeners","setMaxListeners","getEventListeners","defaultMaxListeners","kAbortController","requestFinalizer","dependentControllerMap","buildAbort","acRef","ac","controllerList","ctrl","patchMethodWarning","RequestInit","fallbackMode","unsafeRequest","reloadNavigation","historyNavigation","initHasKey","parsedReferrer","mayBeNormalized","upperCase","inputBody","initBody","extractedBody","inputOrInitBody","useCORSPreflightFlag","finalBody","identityTransform","TransformStream","pipeThrough","isReloadNavigation","isHistoryNavigation","clonedRequest","reservedClient","replacesClientId","useCredentials","cryptoGraphicsNonceMetadata","parserMetadata","userActivation","taintedOrigin","newRequest","attribute","BodyInit","isValidReasonPhrase","serializeJavascriptValueToJSONString","relevantRealm","ResponseInit","initializeResponse","redirected","newResponse","isError","makeFilteredResponse","Proxy","XMLHttpRequestBodyInit","BufferSource","referrerPolicyTokens","isUint8Array","supportedHashes","possibleRelevantHashes","getHashes","responseURL","requestFragment","isValidEncodedURL","normalizeBinaryStringToUtf8","policyHeader","policy","serializedOrigin","coarsenTime","connectionTimingInfo","defaultStartTime","domainLookupStartTime","domainLookupEndTime","connectionStartTime","connectionEndTime","secureConnectionStartTime","ALPNNegotiatedProtocol","finalServiceWorkerStartTime","referrerSource","referrerURL","stripURLForReferrer","referrerOrigin","areSameOrigin","isNonPotentiallyTrustWorthy","isURLPotentiallyTrustworthy","originOnly","isOriginPotentiallyTrustworthy","originAsURL","metadataList","parsedMetadata","parseMetadata","strongest","getStrongestMetadata","filterMetadataListByAlgorithm","algorithm","algo","expectedValue","actualValue","compareBase64Mixed","parseHashWithOptions","empty","parsedToken","groups","rej","normalizeMethod","esIteratorPrototype","createIterator","kInternalIterator","keyIndex","valueIndex","FastIterableIterator","makeIterator","callbackfn","invalidIsomorphicEncodeValueRegex","allowWhitespace","InflateStream","zlibOptions","_inflateStream","createInflateRaw","_final","charset","getDecodeSplit","temporaryMimeType","gettingDecodingSplitting","temporaryValue","EnvironmentSettingsObjectBase","EnvironmentSettingsObject","ctx","ConvertToInt","bitLength","signedness","upperBound","lowerBound","enforceRange","Stringify","IntegerPart","clamp","abs","description","Iterable","seq","recordConverter","keyConverter","valueConverter","typedKey","typedValue","dictionary","dict","hasOwn","hasDefault","legacyNullToEmptyString","isAnyArrayBuffer","allowShared","isSharedArrayBuffer","resizable","growable","TypedArray","isTypedArray","isDataView","getEncoding","staticPropertyDescriptors","readOperation","fireAProgressEvent","kResult","kEvents","kAborted","loadend","load","loadstart","readAsArrayBuffer","readAsBinaryString","readAsText","readAsDataURL","EMPTY","LOADING","DONE","onloadend","onloadstart","onprogress","onload","ProgressEvent","eventInitDict","ProgressEventInit","lengthComputable","loaded","total","kLastProgressEventFired","btoa","fr","encodingName","chunkPromise","isFirstChunk","packageData","bubbles","cancelable","decoder","sequence","combineByteSequences","binaryString","ioQueue","BOMEncoding","BOMSniffing","sliced","sequences","states","sentCloseFrameState","opcodes","kReadyState","kSentClose","kByteParser","kReceivedClose","kResponse","fireEvent","failWebsocketConnection","isClosing","isClosed","isEstablished","parseExtensions","WebsocketFrameSend","establishWebSocketConnection","protocols","ws","onEstablish","requestURL","randomBytes","permessageDeflate","secWSAccept","secExtension","secProtocol","requestProtocols","onSocketData","onSocketClose","onSocketError","closeWebSocketConnection","reasonByteLength","CLOSING","NOT_SENT","PROCESSING","frame","frameData","writeUInt16BE","createFrame","CLOSE","SENT","wasClean","closingInfo","CONTINUATION","TEXT","BINARY","PING","PONG","maxUnsigned16Bit","parserStates","INFO","PAYLOADLENGTH_16","PAYLOADLENGTH_64","READ_DATA","sendHints","typedArray","MessagePort","eventInit","MessageEventInit","ports","isFrozen","initMessageEvent","messageEvent","CloseEventInit","ErrorEventInit","lineno","colno","BUFFER_SIZE","bufIdx","randomFillSync","_offset","_size","generateMask","opcode","maskKey","payloadLength","writeUIntBE","Z_DEFAULT_WINDOWBITS","isValidClientWindowBits","kBuffer","kLength","PerMessageDeflate","inflate","serverNoContextTakeover","serverMaxWindowBits","decompress","fin","windowBits","Writable","isValidStatusCode","isValidOpcode","websocketMessageReceived","utf8Decode","isControlFrame","isTextBinaryFrame","isContinuationFrame","ByteParser","loop","fragments","_write","run","masked","fragmented","rsv1","rsv2","rsv3","compressed","binaryType","readUInt16BE","upper","readUInt32BE","lower","parseControlFrame","fullMessage","parseCloseBody","closeInfo","closeFrame","SendQueue","hint","ab","toBuffer","kWebSocketURL","kController","kBinaryType","isUtf8","isConnecting","eventFactory","dataForEvent","toArrayBuffer","isValidSubprotocol","extensionList","hasIntl","fatalDecoder","bufferedAmount","sendQueue","baseURL","onConnectionEstablished","WebSocketSendData","onclose","parsedExtensions","onParserDrain","onParserError","WebSocketInit","fsPath_1","source_1","dest_1","_findMatch","_getOsVersion","_readLinuxVersionFile","versionSpec","stable","candidates","archFilter","platFilter","candidate","satisfies","chk","platform_version","osVersion","plat","execSync","lsbContents","lsbReleaseFile","osReleaseFile","RetryHelper","minSeconds","maxSeconds","getSleepAmount","HTTPError","downloadTool","extract7z","extractXar","extractZip","cacheDir","cacheFile","findAllVersions","getManifestFromRepo","findFromManifest","isExplicitVersion","evaluateVersions","mm","httpm","retry_helper_1","httpStatusCode","IS_MAC","_getTempDirectory","_getGlobal","retryHelper","downloadToolAttempt","authorization","responseMessageFactory","readStream","succeeded","_7zPath","_createExtractFolder","originalCwd","chdir","logLevel","escapedScript","__dirname","escapedFile","escapedTarget","powershellPath","file_1","flags","isGnuTar","destArg","fileArg","xarPath","_unique","extractZipWin","extractZipNix","escapedDest","pwshPath","pwshCommand","powershellCommand","unzipPath","destPath","_createToolPath","itemName","readdirSync","_completeToolPath","sourceFile","targetFile","destFolder","toolName","localVersions","cachePath","_getCacheDirectory","children","fullPath","owner_1","repo_1","branch","releases","treeUrl","manifestUrl","versionsRaw","versionSpec_1","stable_1","manifest_1","manifest","folderPath","markerPath","valid","gt","potential","satisfied","cacheDirectory","resolveHttpAuthSchemeConfig","defaultECRPUBLICHttpAuthSchemeProvider","defaultECRPUBLICHttpAuthSchemeParametersProvider","util_middleware_1","config","getSmithyContext","region","normalizeProvider","createAwsAuthSigv4HttpAuthOption","authParameters","schemeId","signingProperties","propertiesExtractor","config_0","resolveAwsSdkSigV4Config","authSchemePreference","defaultEndpointResolver","util_endpoints_1","util_endpoints_2","ruleset_1","EndpointCache","params","endpointParams","resolveEndpoint","ruleSet","customEndpointFunctions","aws","awsEndpointFunctions","w","h","Region","UseDualStack","UseFIPS","Endpoint","rules","conditions","middlewareHostHeader","middlewareLogger","middlewareRecursionDetection","middlewareUserAgent","configResolver","schema","middlewareContentLength","middlewareEndpoint","middlewareRetry","smithyClient","httpAuthSchemeProvider","runtimeConfig","regionConfigResolver","protocolHttp","resolveClientEndpointParameters","useDualstackEndpoint","useFipsEndpoint","defaultSigningName","commonParams","getHttpAuthExtensionConfiguration","_httpAuthSchemes","httpAuthSchemes","_httpAuthSchemeProvider","_credentials","setHttpAuthScheme","httpAuthScheme","setHttpAuthSchemeProvider","setCredentials","resolveHttpAuthRuntimeConfig","resolveRuntimeExtensions","extensionConfiguration","getAwsRegionExtensionConfiguration","getDefaultExtensionConfiguration","getHttpHandlerExtensionConfiguration","configure","resolveAwsRegionExtensionConfiguration","resolveDefaultRuntimeConfig","resolveHttpHandlerRuntimeConfig","ECRPUBLICClient","configuration","_config_0","getRuntimeConfig","initConfig","_config_1","_config_2","resolveUserAgentConfig","_config_3","resolveRetryConfig","_config_4","resolveRegionConfig","_config_5","resolveHostHeaderConfig","_config_6","resolveEndpointConfig","_config_7","_config_8","middlewareStack","use","getSchemaSerdePlugin","getUserAgentPlugin","getRetryPlugin","getContentLengthPlugin","getHostHeaderPlugin","getLoggerPlugin","getRecursionDetectionPlugin","getHttpAuthSchemeEndpointRuleSetPlugin","httpAuthSchemeParametersProvider","identityProviderConfigProvider","DefaultIdentityProviderConfig","getHttpSigningPlugin","ECRPUBLICServiceException","ServiceException","InvalidParameterException","$fault","RegistryNotFoundException","RepositoryNotFoundException","ServerException","UnsupportedCommandException","EmptyUploadException","InvalidLayerException","LayerAlreadyExistsException","LayerPartTooSmallException","UploadNotFoundException","InvalidTagParameterException","LimitExceededException","RepositoryAlreadyExistsException","TooManyTagsException","RepositoryNotEmptyException","RepositoryPolicyNotFoundException","ImageNotFoundException","RepositoryCatalogDataNotFoundException","ImageAlreadyExistsException","ImageDigestDoesNotMatchException","ImageTagAlreadyExistsException","InvalidLayerPartException","registryId","uploadId","lastValidByteReceived","LayersNotFoundException","ReferencedImagesNotFoundException","_AD","_BCLA","_BCLAR","_BCLARa","_BDI","_BDIR","_BDIRa","_CLU","_CLUR","_CLURo","_CR","_CRR","_CRRr","_DI","_DIR","_DIRe","_DIT","_DITR","_DITRe","_DR","_DRP","_DRPR","_DRPRe","_DRR","_DRRe","_DRRes","_DRResc","_DRRescr","_DRRescri","_DRe","_DRes","_EUE","_GAT","_GATR","_GATRe","_GRCD","_GRCDR","_GRCDRe","_GRCDRet","_GRCDRete","_GRCDe","_GRP","_GRPR","_GRPRe","_I","_IAEE","_ID","_IDDNME","_IDL","_IF","_IFL","_II","_IIL","_ILE","_ILPE","_ILU","_ILUR","_ILURn","_INFE","_IPE","_ITAEE","_ITD","_ITDL","_ITPE","_K","_L","_LAEE","_LEE","_LF","_LFL","_LL","_LNFE","_LPTSE","_LTFR","_LTFRR","_LTFRRi","_PI","_PIR","_PIRu","_PRCD","_PRCDR","_PRCDRu","_PRCDRut","_PRCDRute","_PRCDu","_R","_RA","_RAEE","_RAL","_RCD","_RCDI","_RCDNFE","_RCDe","_RID","_RINFE","_RL","_RLe","_RNEE","_RNFE","_RNFEe","_RPNFE","_Re","_SE","_SRP","_SRPR","_SRPRe","_T","_TL","_TMTE","_TR","_TRR","_TRRa","_UCE","_ULP","_ULPR","_ULPRp","_UNFE","_UR","_URR","_URRn","_V","_aD","_aMT","_aT","_aTb","_ar","_cA","_cD","_dN","_dRA","_eA","_fC","_fR","_fo","_i","_iD","_iDm","_iDma","_iI","_iIm","_iM","_iMMT","_iPA","_iSIB","_iT","_iTD","_iTm","_l","_lA","_lBR","_lD","_lDa","_lIB","_lPB","_lS","_lU","_lVBR","_m","_mC","_mR","_mT","_n","_nT","_oS","_pFB","_pLB","_pRA","_pS","_pT","_r","_rA","_rAe","_rAep","_rCD","_rI","_rN","_rNe","_rU","_rUe","_re","_rep","_s","_se","_sm","_t","_tK","_uI","_uT","_v","n0","AuthorizationData$","BatchCheckLayerAvailabilityRequest$","BatchCheckLayerAvailabilityResponse$","LayerList","LayerFailureList","BatchDeleteImageRequest$","ImageIdentifierList","BatchDeleteImageResponse$","ImageFailureList","CompleteLayerUploadRequest$","CompleteLayerUploadResponse$","CreateRepositoryRequest$","RepositoryCatalogDataInput$","TagList","CreateRepositoryResponse$","Repository$","RepositoryCatalogData$","DeleteRepositoryPolicyRequest$","DeleteRepositoryPolicyResponse$","DeleteRepositoryRequest$","DeleteRepositoryResponse$","DescribeImagesRequest$","DescribeImagesResponse$","ImageDetailList","DescribeImageTagsRequest$","DescribeImageTagsResponse$","ImageTagDetailList","DescribeRegistriesRequest$","DescribeRegistriesResponse$","RegistryList","DescribeRepositoriesRequest$","DescribeRepositoriesResponse$","RepositoryList","EmptyUploadException$","TypeRegistry","registerError","GetAuthorizationTokenRequest$","GetAuthorizationTokenResponse$","GetRegistryCatalogDataRequest$","GetRegistryCatalogDataResponse$","RegistryCatalogData$","GetRepositoryCatalogDataRequest$","GetRepositoryCatalogDataResponse$","GetRepositoryPolicyRequest$","GetRepositoryPolicyResponse$","Image$","ImageIdentifier$","ImageAlreadyExistsException$","ImageDetail$","ImageDigestDoesNotMatchException$","ImageFailure$","ImageNotFoundException$","ImageTagAlreadyExistsException$","ImageTagDetail$","ReferencedImageDetail$","InitiateLayerUploadRequest$","InitiateLayerUploadResponse$","InvalidLayerException$","InvalidLayerPartException$","InvalidParameterException$","InvalidTagParameterException$","Layer$","LayerAlreadyExistsException$","LayerFailure$","LayerPartTooSmallException$","LayersNotFoundException$","LimitExceededException$","ListTagsForResourceRequest$","ListTagsForResourceResponse$","PutImageRequest$","PutImageResponse$","PutRegistryCatalogDataRequest$","PutRegistryCatalogDataResponse$","PutRepositoryCatalogDataRequest$","PutRepositoryCatalogDataResponse$","ReferencedImagesNotFoundException$","Registry$","RegistryAliasList","RegistryAlias$","RegistryNotFoundException$","RepositoryAlreadyExistsException$","RepositoryCatalogDataNotFoundException$","RepositoryNotEmptyException$","RepositoryNotFoundException$","RepositoryPolicyNotFoundException$","ServerException$","SetRepositoryPolicyRequest$","SetRepositoryPolicyResponse$","Tag$","TagResourceRequest$","TagResourceResponse$","TooManyTagsException$","UnsupportedCommandException$","UntagResourceRequest$","UntagResourceResponse$","UploadLayerPartRequest$","UploadLayerPartResponse$","UploadNotFoundException$","ECRPUBLICServiceException$","BatchCheckLayerAvailability$","BatchDeleteImage$","CompleteLayerUpload$","CreateRepository$","DeleteRepository$","DeleteRepositoryPolicy$","DescribeImages$","DescribeImageTags$","DescribeRegistries$","DescribeRepositories$","GetAuthorizationToken$","GetRegistryCatalogData$","GetRepositoryCatalogData$","GetRepositoryPolicy$","InitiateLayerUpload$","ListTagsForResource$","PutImage$","PutRegistryCatalogData$","PutRepositoryCatalogData$","SetRepositoryPolicy$","TagResource$","UntagResource$","UploadLayerPart$","BatchCheckLayerAvailabilityCommand","classBuilder","ep","cs","getEndpointPlugin","getEndpointParameterInstructions","sc","build","BatchDeleteImageCommand","CompleteLayerUploadCommand","CreateRepositoryCommand","DeleteRepositoryCommand","DeleteRepositoryPolicyCommand","DescribeImagesCommand","DescribeImageTagsCommand","DescribeRegistriesCommand","DescribeRepositoriesCommand","GetAuthorizationTokenCommand","GetRegistryCatalogDataCommand","GetRepositoryCatalogDataCommand","GetRepositoryPolicyCommand","InitiateLayerUploadCommand","ListTagsForResourceCommand","PutImageCommand","PutRegistryCatalogDataCommand","PutRepositoryCatalogDataCommand","SetRepositoryPolicyCommand","TagResourceCommand","UntagResourceCommand","UploadLayerPartCommand","paginateDescribeImages","createPaginator","paginateDescribeImageTags","paginateDescribeRegistries","paginateDescribeRepositories","paginators","ECRPUBLIC","createAggregatedClient","LayerFailureCode","InvalidLayerDigest","MissingLayerDigest","LayerAvailability","AVAILABLE","UNAVAILABLE","ImageFailureCode","ImageNotFound","ImageReferencedByManifestList","ImageTagDoesNotMatchDigest","InvalidImageDigest","InvalidImageTag","KmsError","MissingDigestAndTag","RegistryAliasStatus","__webpack_unused_export__","Uz","tslib_1","package_json_1","credential_provider_node_1","util_user_agent_node_1","config_resolver_1","hash_node_1","middleware_retry_1","node_config_provider_1","node_http_handler_1","smithy_client_1","util_body_length_node_1","util_defaults_mode_node_1","util_retry_1","runtimeConfig_shared_1","emitWarningIfUnsupportedVersion","defaultsMode","resolveDefaultsModeConfig","defaultConfigProvider","loadConfigsForDefaultMode","clientSharedValues","loaderConfig","profile","runtime","loadConfig","NODE_AUTH_SCHEME_PREFERENCE_OPTIONS","bodyLengthChecker","calculateBodyLength","credentialDefaultProvider","defaultProvider","defaultUserAgentProvider","createDefaultUserAgentProvider","serviceId","clientVersion","NODE_MAX_ATTEMPT_CONFIG_OPTIONS","NODE_REGION_CONFIG_OPTIONS","NODE_REGION_CONFIG_FILE_OPTIONS","requestHandler","NodeHttpHandler","retryMode","NODE_RETRY_MODE_CONFIG_OPTIONS","DEFAULT_RETRY_MODE","sha256","Hash","streamCollector","NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS","NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS","userAgentAppId","NODE_APP_ID_CONFIG_OPTIONS","protocols_1","url_parser_1","util_base64_1","util_utf8_1","httpAuthSchemeProvider_1","endpointResolver_1","base64Decoder","fromBase64","base64Encoder","toBase64","disableHostPrefix","endpointProvider","identityProvider","ipc","getIdentityProvider","signer","AwsSdkSigV4Signer","NoOpLogger","AwsJson1_1Protocol","protocolSettings","defaultNamespace","xmlNamespace","serviceTarget","urlParser","parseUrl","utf8Decoder","fromUtf8","utf8Encoder","toUtf8","defaultECRHttpAuthSchemeProvider","defaultECRHttpAuthSchemeParametersProvider","G","H","J","y","utilWaiter","ECRClient","ECRServiceException","UnableToGetUpstreamImageException","ValidationException","KmsException","kmsError","PullThroughCacheRuleAlreadyExistsException","SecretNotFoundException","UnableToAccessSecretException","UnableToDecryptSecretValueException","UnsupportedUpstreamRegistryException","TemplateAlreadyExistsException","LifecyclePolicyNotFoundException","PullThroughCacheRuleNotFoundException","RegistryPolicyNotFoundException","TemplateNotFoundException","SigningConfigurationNotFoundException","ExclusionNotFoundException","ScanNotFoundException","LayerInaccessibleException","UnableToGetUpstreamLayerException","LifecyclePolicyPreviewNotFoundException","BlockedByOrganizationPolicyException","ExclusionAlreadyExistsException","ImageArchivedException","UnsupportedImageTypeException","LifecyclePolicyPreviewInProgressException","ImageStorageClassUpdateNotSupportedException","_A","_ADL","_AECID","_AL","_BBOPE","_BGI","_BGIR","_BGIRa","_BGRSC","_BGRSCR","_BGRSCRa","_CPTCR","_CPTCRR","_CPTCRRr","_CRCT","_CRCTR","_CRCTRr","_CS","_CSA","_CSAL","_CSD","_CSL","_DIF","_DIRS","_DIRSR","_DIRSRe","_DISF","_DISFR","_DISFRe","_DISS","_DISSR","_DISSRe","_DLP","_DLPR","_DLPRe","_DPTCR","_DPTCRR","_DPTCRRe","_DPTCRRes","_DPTCRResc","_DPTCRe","_DPTUE","_DPTUER","_DPTUERe","_DRCT","_DRCTR","_DRCTRe","_DRCTRes","_DRCTResc","_DRCTe","_DRPRel","_DRPRele","_DRPe","_DSC","_DSCR","_DSCRe","_EAEE","_EC","_ECFRCT","_EISF","_EISFL","_ENFE","_GAS","_GASR","_GASRe","_GDUFL","_GDUFLR","_GDUFLRe","_GLP","_GLPP","_GLPPR","_GLPPRe","_GLPR","_GLPRe","_GRPRet","_GRPRete","_GRPe","_GRSC","_GRSCR","_GRSCRe","_GSC","_GSCR","_GSCRe","_IAE","_IL","_IR","_IRL","_IRS","_IRSL","_ISC","_ISCUNSE","_ISF","_ISFL","_ISFS","_ISFm","_ISS","_ISSL","_ISSm","_ITMEF","_ITMEFm","_KE","_LI","_LIE","_LIF","_LIR","_LIRF","_LIRR","_LIRRi","_LIRi","_LIRis","_LPNFE","_LPPF","_LPPIPE","_LPPNFE","_LPPR","_LPPRL","_LPPS","_LPRA","_LPTUE","_LPTUER","_LPTUERi","_PAS","_PASR","_PASRu","_PISC","_PISCR","_PISCRu","_PITM","_PITMR","_PITMRu","_PLP","_PLPR","_PLPRu","_PRC","_PRCR","_PRCRu","_PRP","_PRPR","_PRPRu","_PRSC","_PRSCR","_PRSCRu","_PSC","_PSCR","_PSCRu","_PTCR","_PTCRAEE","_PTCRL","_PTCRNFE","_PVD","_RC","_RCT","_RCTL","_RD","_RDL","_RDe","_RF","_RFL","_RPNFEe","_RPTUE","_RPTUER","_RPTUERe","_RR","_RRL","_RSC","_RSCF","_RSCFL","_RSCL","_RSCe","_RSR","_RSRL","_Rep","_Res","_SC","_SCNFE","_SD","_SI","_SIS","_SISR","_SISRt","_SLPP","_SLPPR","_SLPPRt","_SNFE","_SNFEe","_SR","_SRF","_SRFL","_SRFLi","_SRFi","_SRL","_TAEE","_TITC","_TITCr","_TNFE","_UISC","_UISCR","_UISCRp","_UITE","_UPTCR","_UPTCRR","_UPTCRRp","_URCT","_URCTR","_URCTRp","_UTASE","_UTDSVE","_UTGUIE","_UTGULE","_UURE","_VE","_VP","_VPL","_VPTCR","_VPTCRR","_VPTCRRa","_aAI","_aECI","_aF","_aMTr","_aRP","_aS","_aSF","_aTr","_aTrt","_ac","_ad","_an","_at","_au","_bS","_cAr","_cRA","_cv","_dU","_de","_det","_di","_eAx","_eC","_eF","_eITC","_eRP","_eRPc","_eT","_ep","_fA","_fAi","_fIV","_fOA","_fP","_fSC","_fT","_fa","_fi","_fin","_hE","_iH","_iS","_iSC","_iSCA","_iSF","_iSFS","_iSS","_iTC","_iTM","_iTMEF","_iUC","_iV","_id","_im","_k","_kE","_kK","_lAA","_lAAa","_lEA","_lIUA","_lOA","_lP","_lPT","_lRPT","_me","_p","_pA","_pAr","_pE","_pM","_pR","_pTCR","_pTUE","_pVD","_pr","_pre","_rC","_rCT","_rCTe","_rF","_rIe","_rP","_rS","_rSC","_rT","_rV","_rea","_rec","_ref","_reg","_rel","_rem","_res","_ru","_sC","_sCc","_sCi","_sCt","_sD","_sF","_sI","_sLH","_sMD","_sOP","_sPA","_sS","_sSi","_sT","_sU","_sV","_sc","_ser","_si","_st","_su","_tITC","_tS","_tSC","_te","_ti","_ty","_u","_uA","_uR","_uRP","_uRU","_ur","_vCA","_vI","_vP","_vS","_vSUA","_vUA","_ve","Attribute$","AwsEcrContainerImageDetails$","BatchGetImageRequest$","BatchGetImageResponse$","ImageList","BatchGetRepositoryScanningConfigurationRequest$","BatchGetRepositoryScanningConfigurationResponse$","RepositoryScanningConfigurationList","RepositoryScanningConfigurationFailureList","BlockedByOrganizationPolicyException$","CreatePullThroughCacheRuleRequest$","CreatePullThroughCacheRuleResponse$","CreateRepositoryCreationTemplateRequest$","EncryptionConfigurationForRepositoryCreationTemplate$","ImageTagMutabilityExclusionFilters","CreateRepositoryCreationTemplateResponse$","RepositoryCreationTemplate$","ImageScanningConfiguration$","EncryptionConfiguration$","CvssScore$","CvssScoreAdjustment$","CvssScoreDetails$","CvssScoreAdjustmentList","DeleteLifecyclePolicyRequest$","DeleteLifecyclePolicyResponse$","DeletePullThroughCacheRuleRequest$","DeletePullThroughCacheRuleResponse$","DeleteRegistryPolicyRequest$","DeleteRegistryPolicyResponse$","DeleteRepositoryCreationTemplateRequest$","DeleteRepositoryCreationTemplateResponse$","DeleteSigningConfigurationRequest$","DeleteSigningConfigurationResponse$","SigningConfiguration$","DeregisterPullTimeUpdateExclusionRequest$","DeregisterPullTimeUpdateExclusionResponse$","DescribeImageReplicationStatusRequest$","DescribeImageReplicationStatusResponse$","ImageReplicationStatusList","DescribeImageScanFindingsRequest$","DescribeImageScanFindingsResponse$","ImageScanStatus$","ImageScanFindings$","DescribeImagesFilter$","DescribeImageSigningStatusRequest$","DescribeImageSigningStatusResponse$","ImageSigningStatusList","DescribePullThroughCacheRulesRequest$","DescribePullThroughCacheRulesResponse$","PullThroughCacheRuleList","DescribeRegistryRequest$","DescribeRegistryResponse$","ReplicationConfiguration$","DescribeRepositoryCreationTemplatesRequest$","DescribeRepositoryCreationTemplatesResponse$","RepositoryCreationTemplateList","EnhancedImageScanFinding$","PackageVulnerabilityDetails$","Remediation$","ResourceList","ScoreDetails$","ExclusionAlreadyExistsException$","ExclusionNotFoundException$","GetAccountSettingRequest$","GetAccountSettingResponse$","AuthorizationDataList","GetDownloadUrlForLayerRequest$","GetDownloadUrlForLayerResponse$","GetLifecyclePolicyPreviewRequest$","LifecyclePolicyPreviewFilter$","GetLifecyclePolicyPreviewResponse$","LifecyclePolicyPreviewResultList","LifecyclePolicyPreviewSummary$","GetLifecyclePolicyRequest$","GetLifecyclePolicyResponse$","GetRegistryPolicyRequest$","GetRegistryPolicyResponse$","GetRegistryScanningConfigurationRequest$","GetRegistryScanningConfigurationResponse$","RegistryScanningConfiguration$","GetSigningConfigurationRequest$","GetSigningConfigurationResponse$","ImageArchivedException$","ImageScanFindingsSummary$","ImageReferrer$","ImageReplicationStatus$","ImageScanFinding$","AttributeList","ImageScanFindingList","EnhancedImageScanFindingList","ImageSigningStatus$","ImageStorageClassUpdateNotSupportedException$","ImageTagMutabilityExclusionFilter$","KmsException$","LayerInaccessibleException$","LifecyclePolicyNotFoundException$","LifecyclePolicyPreviewInProgressException$","LifecyclePolicyPreviewNotFoundException$","LifecyclePolicyPreviewResult$","LifecyclePolicyRuleAction$","TransitioningImageTotalCounts","ListImageReferrersFilter$","ListImageReferrersRequest$","SubjectIdentifier$","ListImageReferrersResponse$","ImageReferrerList","ListImagesFilter$","ListImagesRequest$","ListImagesResponse$","ListPullTimeUpdateExclusionsRequest$","ListPullTimeUpdateExclusionsResponse$","CvssScoreList","VulnerablePackagesList","PullThroughCacheRule$","PullThroughCacheRuleAlreadyExistsException$","PullThroughCacheRuleNotFoundException$","PutAccountSettingRequest$","PutAccountSettingResponse$","PutImageScanningConfigurationRequest$","PutImageScanningConfigurationResponse$","PutImageTagMutabilityRequest$","PutImageTagMutabilityResponse$","PutLifecyclePolicyRequest$","PutLifecyclePolicyResponse$","PutRegistryPolicyRequest$","PutRegistryPolicyResponse$","PutRegistryScanningConfigurationRequest$","RegistryScanningRuleList","PutRegistryScanningConfigurationResponse$","PutReplicationConfigurationRequest$","PutReplicationConfigurationResponse$","PutSigningConfigurationRequest$","PutSigningConfigurationResponse$","Recommendation$","RegisterPullTimeUpdateExclusionRequest$","RegisterPullTimeUpdateExclusionResponse$","RegistryPolicyNotFoundException$","RegistryScanningRule$","ScanningRepositoryFilterList","ReplicationRuleList","ReplicationDestination$","ReplicationRule$","ReplicationDestinationList","RepositoryFilterList","RepositoryFilter$","RepositoryScanningConfiguration$","RepositoryScanningConfigurationFailure$","Resource$","ResourceDetails$","ScanningRepositoryFilter$","ScanNotFoundException$","SecretNotFoundException$","SigningRuleList","SigningConfigurationNotFoundException$","SigningRepositoryFilter$","SigningRule$","SigningRepositoryFilterList","StartImageScanRequest$","StartImageScanResponse$","StartLifecyclePolicyPreviewRequest$","StartLifecyclePolicyPreviewResponse$","TemplateAlreadyExistsException$","TemplateNotFoundException$","TransitioningImageTotalCount$","UnableToAccessSecretException$","UnableToDecryptSecretValueException$","UnableToGetUpstreamImageException$","UnableToGetUpstreamLayerException$","UnsupportedImageTypeException$","UnsupportedUpstreamRegistryException$","UpdateImageStorageClassRequest$","UpdateImageStorageClassResponse$","UpdatePullThroughCacheRuleRequest$","UpdatePullThroughCacheRuleResponse$","UpdateRepositoryCreationTemplateRequest$","UpdateRepositoryCreationTemplateResponse$","ValidatePullThroughCacheRuleRequest$","ValidatePullThroughCacheRuleResponse$","ValidationException$","VulnerablePackage$","ECRServiceException$","BatchGetImage$","BatchGetRepositoryScanningConfiguration$","CreatePullThroughCacheRule$","CreateRepositoryCreationTemplate$","DeleteLifecyclePolicy$","DeletePullThroughCacheRule$","DeleteRegistryPolicy$","DeleteRepositoryCreationTemplate$","DeleteSigningConfiguration$","DeregisterPullTimeUpdateExclusion$","DescribeImageReplicationStatus$","DescribeImageScanFindings$","DescribeImageSigningStatus$","DescribePullThroughCacheRules$","DescribeRegistry$","DescribeRepositoryCreationTemplates$","GetAccountSetting$","GetDownloadUrlForLayer$","GetLifecyclePolicy$","GetLifecyclePolicyPreview$","GetRegistryPolicy$","GetRegistryScanningConfiguration$","GetSigningConfiguration$","ListImageReferrers$","ListImages$","ListPullTimeUpdateExclusions$","PutAccountSetting$","PutImageScanningConfiguration$","PutImageTagMutability$","PutLifecyclePolicy$","PutRegistryPolicy$","PutRegistryScanningConfiguration$","PutReplicationConfiguration$","PutSigningConfiguration$","RegisterPullTimeUpdateExclusion$","StartImageScan$","StartLifecyclePolicyPreview$","UpdateImageStorageClass$","UpdatePullThroughCacheRule$","UpdateRepositoryCreationTemplate$","ValidatePullThroughCacheRule$","BatchGetImageCommand","BatchGetRepositoryScanningConfigurationCommand","CreatePullThroughCacheRuleCommand","CreateRepositoryCreationTemplateCommand","DeleteLifecyclePolicyCommand","DeletePullThroughCacheRuleCommand","DeleteRegistryPolicyCommand","DeleteRepositoryCreationTemplateCommand","DeleteSigningConfigurationCommand","DeregisterPullTimeUpdateExclusionCommand","DescribeImageReplicationStatusCommand","DescribeImageScanFindingsCommand","DescribeImageSigningStatusCommand","DescribePullThroughCacheRulesCommand","DescribeRegistryCommand","DescribeRepositoryCreationTemplatesCommand","GetAccountSettingCommand","GetDownloadUrlForLayerCommand","GetLifecyclePolicyCommand","GetLifecyclePolicyPreviewCommand","GetRegistryPolicyCommand","GetRegistryScanningConfigurationCommand","GetSigningConfigurationCommand","ListImageReferrersCommand","ListImagesCommand","ListPullTimeUpdateExclusionsCommand","PutAccountSettingCommand","PutImageScanningConfigurationCommand","PutImageTagMutabilityCommand","PutLifecyclePolicyCommand","PutRegistryPolicyCommand","PutRegistryScanningConfigurationCommand","PutReplicationConfigurationCommand","PutSigningConfigurationCommand","RegisterPullTimeUpdateExclusionCommand","StartImageScanCommand","StartLifecyclePolicyPreviewCommand","UpdateImageStorageClassCommand","UpdatePullThroughCacheRuleCommand","UpdateRepositoryCreationTemplateCommand","ValidatePullThroughCacheRuleCommand","paginateDescribeImageScanFindings","paginateDescribePullThroughCacheRules","paginateDescribeRepositoryCreationTemplates","paginateGetLifecyclePolicyPreview","paginateListImages","checkState$1","returnComparator","imageScanStatus","WaiterState","SUCCESS","FAILURE","RETRY","waitForImageScanComplete","serviceDefaults","minDelay","maxDelay","createWaiter","waitUntilImageScanComplete","checkExceptions","checkState","waitForLifecyclePolicyPreviewComplete","waitUntilLifecyclePolicyPreviewComplete","waiters","ECR","ARCHIVED","ImageInaccessible","UpstreamAccessDenied","UpstreamTooManyRequests","UpstreamUnavailable","ScanningConfigurationFailureCode","REPOSITORY_NOT_FOUND","ScanningRepositoryFilterType","WILDCARD","ScanFrequency","CONTINUOUS_SCAN","MANUAL","SCAN_ON_PUSH","UpstreamRegistry","AzureContainerRegistry","DockerHub","Ecr","EcrPublic","GitHubContainerRegistry","GitLabContainerRegistry","K8s","Quay","EncryptionType","AES256","KMS","KMS_DSSE","ImageTagMutability","IMMUTABLE","IMMUTABLE_WITH_EXCLUSION","MUTABLE","MUTABLE_WITH_EXCLUSION","ImageTagMutabilityExclusionFilterType","RCTAppliedFor","CREATE_ON_PUSH","PULL_THROUGH_CACHE","REPLICATION","SigningRepositoryFilterType","WILDCARD_MATCH","ReplicationStatus","COMPLETE","FAILED","IN_PROGRESS","ImageStatusFilter","ACTIVATING","ANY","TagStatus","TAGGED","UNTAGGED","FindingSeverity","CRITICAL","HIGH","INFORMATIONAL","LOW","MEDIUM","UNDEFINED","ScanStatus","FINDINGS_UNAVAILABLE","IMAGE_ARCHIVED","LIMIT_EXCEEDED","SCAN_ELIGIBILITY_EXPIRED","UNSUPPORTED_IMAGE","ImageStatus","SigningStatus","RepositoryFilterType","PREFIX_MATCH","LifecyclePolicyTargetStorageClass","ARCHIVE","ImageActionType","EXPIRE","TRANSITION","LifecyclePolicyStorageClass","STANDARD","LifecyclePolicyPreviewStatus","EXPIRED","ScanType","BASIC","ENHANCED","ArtifactStatusFilter","ArtifactStatus","TargetStorageClass","Tjd","propertyProvider","signatureV4","cbor","serde","utilBase64","utilUtf8","xmlBuilder","warningEmitted","setCredentialFeature","feature","$source","setFeature","__aws_sdk_context","features","setTokenFeature","getDateHeader","HttpResponse","isInstance","getSkewCorrectedDate","systemClockOffset","isClockSkewed","clockTime","getUpdatedSystemClockOffset","currentSystemClockOffset","clockTimeInMs","throwSigningPropertyError","property","validateSigningProperties","authScheme","endpointV2","authSchemes","signerFunction","signingRegion","signingRegionSet","signingName","identity","HttpRequest","validatedProps","handlerExecutionContext","second","signedRequest","signingDate","signingService","serverTime","ServerTime","$response","initialSystemClockOffset","clockSkewCorrected","$metadata","successHandler","httpResponse","dateHeader","AWSSDKSigV4Signer","AwsSdkSigV4ASigner","configResolvedSigningRegionSet","sigv4aSigningRegionSet","multiRegionOverride","getArrayForCommaSeparatedString","getBearerTokenEnvKey","NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY","NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY","environmentVariableSelector","bearerTokenKey","configFileSelector","resolveAwsSdkSigV4AConfig","NODE_SIGV4A_CONFIG_OPTIONS","AWS_SIGV4A_SIGNING_REGION_SET","ProviderError","tryNextLink","sigv4a_signing_region_set","inputCredentials","isUserSupplied","resolvedCredentials","memoizedProvider","normalizeCredentialProvider","boundProvider","bindCallerConfig","attributed","isCredentialObject","creds","attributedCreds","memoized","configBound","signingEscapePath","regionInfoProvider","regionInfo","uriEscapePath","SignerCtor","signerConstructor","SignatureV4","resolvedConfig","resolveAWSSDKSigV4Config","credentialsProvider","memoizeIdentityProvider","isIdentityExpired","doesIdentityRequireRefresh","parentClientConfig","callerClientConfig","ProtocolLib","queryCompat","resolveRestContentType","defaultContentType","inputSchema","members","getMemberSchemas","httpPayloadMember","getMergedTraits","httpPayload","mediaType","isStringSchema","isBlobSchema","isUnitSchema","hasBody","httpQuery","httpQueryParams","httpHeader","httpLabel","httpPrefixHeaders","noPrefixHeaders","getErrorSchemaOrThrowBaseException","errorIdentifier","dataObject","getErrorSchema","namespace","errorName","errorMetadata","registry","errorSchema","getSchema","Message","synthetic","baseExceptionSchema","getBaseException","ErrorCtor","getErrorCtor","decorateServiceException","additions","Code","reqId","requestId","RequestId","setQueryCompatError","queryErrorHeader","__type","queryCompatOutput","queryCompatErrorData","findQueryCompatibleError","schema$1","NormalizedSchema","of","awsQueryError","AwsSmithyRpcV2CborProtocol","SmithyRpcV2CborProtocol","awsQueryCompatible","mixin","serializeRequest","operationSchema","handleError","compatHeader","loadSmithyRpcV2CborErrorCode","ns","member","structIterator","deserializer","readValue","_toStr","warn","_toBool","lowercase","_toNum","SerdeContextConfig","serdeContext","setSerdeContext","UnionSerde","to","mark","hasUnknown","writeUnknown","$unknown","jsonReviver","numericString","MAX_SAFE_INTEGER","MIN_SAFE_INTEGER","isFractional","NumericValue","collectBodyString","streamBody","collectBody","parseJsonBody","encoded","parseJsonErrorBody","errorBody","loadRestJsonErrorCode","findKey","sanitizeErrorCode","rawValue","cleanValue","headerKey","codeKey","JsonShapeDeserializer","readObject","isObject","isStructSchema","union","isUnionSchema","nameMap","unionSerde","memberName","memberSchema","fromKey","isListSchema","listMember","getValueSchema","sparse","isMapSchema","mapMember","isJson","LazyJsonString","isTimestampSchema","determineTimestampFormat","parseRfc3339DateTimeWithOffset","parseRfc7231DateTime","parseEpochTimestamp","isBigIntegerSchema","isBigDecimalSchema","untyped","isNumericSchema","isDocumentSchema","structuredClone","NUMERIC_CONTROL_CHAR","JsonReplacer","stage","createReplacer","replaceInJson","JsonShapeSerializer","useReplacer","rootSchema","writeDiscriminatedDocument","getName","replacer","serializableValue","targetKey","dateToUtcString","isIdempotencyToken","generateIdempotencyToken","JsonCodec","createSerializer","serializer","createDeserializer","AwsJsonRpcProtocol","RpcProtocol","codec","jsonCodec","timestampFormat","useTrait","getJsonRpcVersion","getPayloadCodec","AwsJson1_0Protocol","getShapeId","getDefaultContentType","AwsRestJsonProtocol","HttpBindingProtocol","httpBindings","HttpInterceptingShapeSerializer","HttpInterceptingShapeDeserializer","deserializeResponse","outputSchema","getMemberTraits","deserializeHttpMessage","awsExpectUnion","expectUnion","XmlShapeDeserializer","stringDeserializer","FromStringShapeDeserializer","memberSchemas","isEventPayload","isMemberSchema","memberNs","eventPayload","eventMemberSchema","xmlString","parsedObject","parseXml","readSchema","_schema","traits","flat","xmlFlattened","listValue","sourceKey","xmlName","sourceArray","keyNs","getKeySchema","keyProperty","valueProperty","memberTraits","xmlObjectKey","xml","parsedObj","parseXML","textNodeName","parsedObjToReturn","getValueFromTextNode","QueryShapeSerializer","writeKey","writeValue","isBooleanSchema","serializeEmptyLists","flattenLists","suffix","getKey","keySchema","keySuffix","valueSuffix","valueKey","didWriteMember","capitalizeKeys","extendedEncodeURIComponent","AwsQueryProtocol","serviceNamespace","deserializeMetadata","shortName","awsQueryResultKey","useNestedResult","loadQueryErrorCode","loadQueryError","loadQueryErrorMessage","Errors","AwsEc2QueryProtocol","ec2Settings","parseXmlBody","parseXmlErrorBody","loadRestXmlErrorCode","XmlShapeSerializer","stringBuffer","byteBuffer","writeStruct","withName","addAttribute","parentXmlns","getMemberName","structXmlNode","XmlNode","xmlnsAttr","xmlns","getXmlnsAttribute","xmlAttribute","writeSimple","writeList","writeMap","addChildNode","memberNode","writeSimpleInto","XmlText","listTraits","listValueSchema","listValueTraits","writeItem","struct","listItemNode","listNode","containerIsMap","mapTraits","mapKeySchema","mapKeyTraits","keyTag","mapValueSchema","mapValueTraits","valueTag","addKeyValue","keyNode","keyXmlnsAttr","keyXmlns","valueNode","mapNode","nodeContents","XmlCodec","AwsRestXmlProtocol","hasUnstructuredPayloadBinding","ENV_KEY","ENV_SECRET","ENV_SESSION","ENV_EXPIRATION","ENV_CREDENTIAL_SCOPE","ENV_ACCOUNT_ID","fromEnv","accessKeyId","secretAccessKey","sessionToken","expiry","credentialScope","accountId","expiration","CredentialsProviderError","credentialProviderEnv","sharedIniFileLoader","ENV_IMDS_DISABLED","remoteProvider","ENV_CMDS_FULL_URI","ENV_CMDS_RELATIVE_URI","fromContainerMetadata","fromInstanceMetadata","fromHttp","chain","memoizeChain","providers","treatAsExpired","internalCreateChain","activeLock","passiveLock","provider","forceRefresh","finally","awsIdentityProperties","lastProviderError","multipleCredentialSourceWarningEmitted","ENV_PROFILE","envStaticCredentialsAreSet","warnFn","ssoStartUrl","ssoAccountId","ssoRegion","ssoRoleName","ssoSession","fromSSO","fromIni","fromProcess","fromTokenFile","credentialsTreatedAsExpired","credentialsWillNeedRefresh","hostHeaderMiddleware","handlerProtocol","hostHeaderMiddlewareOptions","tags","override","applyToStack","clientStack","loggerMiddleware","clientName","commandName","dynamoDbDocumentClientOptions","overrideInputFilterSensitiveLog","overrideOutputFilterSensitiveLog","inputFilterSensitiveLog","outputFilterSensitiveLog","outputWithoutMetadata","loggerMiddlewareOptions","recursionDetectionMiddleware","recursionDetectionMiddlewareOptions","lambda_invoke_store_1","protocol_http_1","TRACE_ID_HEADER_NAME","ENV_LAMBDA_FUNCTION_NAME","ENV_TRACE_ID","traceIdHeader","functionName","traceIdFromEnv","invokeStore","InvokeStore","getInstanceAsync","traceIdFromInvokeStore","getXRayTraceId","traceId","nonEmptyString","utilEndpoints","core$1","DEFAULT_UA_APP_ID","isValidUserAgentAppId","appId","normalizedAppIdProvider","customUserAgent","ACCOUNT_ID_ENDPOINT_REGEX","checkFeatures","retryStrategy","acquireInitialRetryToken","accountIdEndpointMode","__smithy_context","selectedHttpAuthScheme","USER_AGENT","X_AMZ_USER_AGENT","UA_NAME_SEPARATOR","UA_NAME_ESCAPE_REGEX","UA_VALUE_ESCAPE_REGEX","UA_ESCAPE_CHAR","BYTE_LIMIT","encodeFeatures","userAgentMiddleware","escapeUserAgent","awsContext","getUserAgentPrefix","sdkUserAgentValue","normalUAValue","section","userAgentPair","prefixSeparatorIndex","uaName","acc","getUserAgentMiddlewareOptions","stsRegionDefaultResolver","setRegion","awsRegionExtensionConfiguration","REGION_ENV_NAME","REGION_INI_NAME","silence","isVirtualHostableS3Bucket","allowSubDomains","isValidHostLabel","isIpAddress","ARN_DELIMITER","RESOURCE_DELIMITER","parseArn","arn","partition","resourcePath","resourceId","partitions","outputs","dnsSuffix","dualStackDnsSuffix","implicitGlobalRegion","supportsDualStack","supportsFIPS","regionRegex","regions","partitionsInfo","selectedPartitionsInfo","selectedUserAgentPrefix","regionData","DEFAULT_PARTITION","setPartitionInfo","userAgentPrefix","useDefaultPartitionInfo","resolveDefaultAwsRegionalEndpointsConfig","toEndpointV1","EndpointError","crtAvailability","isCrtAvailable","sections","release","crtAvailable","AWS_EXECUTION_ENV","resolvedUserAgent","UA_APP_ID_ENV_NAME","UA_APP_ID_INI_NAME","UA_APP_ID_INI_NAME_DEPRECATED","xmlParser","escapeAttribute","escapeElement","childText","removeAttribute","cc","listName","valueProvider","nodes","lc","containerNode","hasChildren","xmlText","fast_xml_parser_1","XMLParser","attributeNamePrefix","htmlEntities","ignoreAttributes","ignoreDeclaration","parseTagValue","trimValues","tagValueProcessor","addEntity","PROTECTED_KEYS","REQUEST_ID","X_RAY_TRACE_ID","TENANT_ID","NO_GLOBAL_AWS_LAMBDA","AWS_LAMBDA_NODEJS_NO_GLOBAL_AWSLAMBDA","awslambda","InvokeStoreBase","static","isProtectedKey","getRequestId","getTenantId","InvokeStoreSingle","currentContext","getContext","hasContext","InvokeStoreMulti","als","asyncHooks","AsyncLocalStorage","getStore","store","isMulti","newInstance","_testing","AWS_LAMBDA_BENCHMARK_MODE","logger$1","coreUtil","createClientLogger","POLL_INTERVAL_IN_MS","terminalStates","deserializeState","serializedState","setStateError","stateProxy","isOperationError","setError","appendReadableErrorMessage","currentMessage","innerMessage","simplifyError","curErr","innererror","processOperationStatus","processResult","getError","setErrorAsResult","setSucceeded","postfix","errStr","setCanceled","setResult","buildResult","initOperation","getOperationStatus","withOperationLocation","operationLocation","resourceLocation","initState","pollOperationHelper","poll","getResourceLocation","pollOperation","getOperationLocation","getPollingInterval","updateState","setDelay","intervalInMs","isUpdated","getOperationLocationPollingUrl","azureAsyncOperation","getLocationHeader","rawResponse","getOperationLocationHeader","getAzureAsyncOperationHeader","findResourceLocation","requestMethod","requestPath","resourceLocationConfig","inferLroMode","pollingUrl","normalizedRequestMethod","toLocaleUpperCase","transformStatus","toOperationStatus","getStatus","getProvisioningState","provisioningState","parseRetryAfter","retryAfterInSeconds","calculatePollingIntervalFromDate","getErrorFromResponse","flatResponse","retryAfterDate","timeNow","retryAfterTime","getStatusFromInitialResponse","helper","initHttpOperation","lro","sendInitialRequest","pollHttpOperation","inputState","inputOptions","sendPollRequest","createStateProxy$1","setRunning","getResult","isCanceled","isFailed","isRunning","isSucceeded","buildCreatePoller","getStatusFromPollResponse","resolveOnUnsuccessful","withOperationLocationCallback","restoreFrom","called","resultPromise","abortController$1","handleProgressEvents","cancelErrMsg","currentPollIntervalInMs","poller","getOperationState","isStopped","stopPolling","pollUntilDone","pollOptions","inputAbortSignal","pollIntervalInMs","createHttpPoller","createStateProxy","isStarted","isCompleted","GenericPollOperation","lroResourceLocationConfig","setPollerConfig","pollerConfig","fireProgress","PollerStoppedError","PollerCancelledError","Poller","stopped","pollProgressCallbacks","startPolling","pollOnce","processUpdatedState","cancelOnce","pollOncePromise","clearPollOncePromise","cancelOperation","cancelPromise","LroEngine","resumeFrom","_a$1","isNode","createAbortablePromise","buildPromise","cleanupBeforeAbort","abortErrorMsg","rejectOnAbort","removeListeners","StandardAbortMessage","timeInMs","getRandomIntegerInclusive","hasName","hasMessage","getErrorMessage","computeSha256Hmac","stringToSign","decodedKey","createHmac","computeSha256Hash","isDefined","thing","isObjectWithProperties","objectHasProperty","generateUUID","uuid","randomNumber","uuidFunction","_interopDefaultLegacy","util__default","debugEnvVariable","DEBUG","enabledString","enabledNamespaces","skippedNamespaces","debuggers","enable","debugObj","createDebugger","disable","namespaces","wildcard","namespaceList","skipped","enabledNamespace","newDebugger","extend","registeredLoggers","logLevelFromEnv","AZURE_LOG_LEVEL","azureLogLevel","AzureLogger","AZURE_LOG_LEVELS","isAzureLogLevel","setLogLevel","shouldEnable","getLogLevel","levelMap","clientRootLogger","patchLogMethod","createLogger","__extends","__assign","__decorate","__param","__esDecorate","__runInitializers","__propKey","__setFunctionName","__metadata","__generator","__read","__spread","__spreadArrays","__spreadArray","__asyncDelegator","__makeTemplateObject","__classPrivateFieldGet","__classPrivateFieldSet","__classPrivateFieldIn","__addDisposableResource","__disposeResources","__rewriteRelativeImportExtension","define","amd","createExporter","previous","exporter","extendStatics","__","decorators","decorate","paramIndex","decorator","ctor","descriptorIn","contextIn","initializers","extraInitializers","accept","descriptor","addInitializer","useValue","metadataKey","metadataValue","trys","ops","Iterator","op","il","jl","pack","cooked","receiver","inner","asyncDispose","_SuppressedError","SuppressedError","suppressed","fail","hasError","preserveJsx","tsx","ext","cm","Git","remote","protoRegexp","proto","lastIndexOf","supportedProtos","fromURL","withoutFragment","user","passwordSet","fragment","splitGitFragment","subdir","parseRef","indistinguishableFromLocal","unencryptedTCP","commit","subDir","repoSplitBySlash","ssh","git","Buildx","git_1","docker_1","_standalone","standalone","_version","_versionOnce","configDir","BUILDX_CONFIG","Docker","refsDir","refsGroupDir","certsDir","isStandalone","isAvailable","getCommand","Exec","parseVersion","printVersion","versionSatisfies","ver","resolveCertsDriverOpts","driver","cert","driverOpts","cacert","cacertpath","certpath","keypath","localState","builderName","nodeName","lsPath","fixLocalState","ls","fnTrimToValidContext","trimed","contextPath","trimedPath","isURL","LocalPath","DockerfilePath","refs","since","dirpath","nopts","mtime","convertWarningsToGitHubAnnotations","warnings","buildRefs","fnGitURL","fnLocalState","dockerfiles","gitURL","remoteHost","remoteRepo","workspaceDir","Util","isPathRelativeTo","annotations","short","warningSourceFilename","sourceInfo","warningSourceData","atob","annotated","dockerfile","containerNamePrefix","tc","ghaCacheKey","htcName","htcVersion","ghaNoCache","baseCacheDir","mkdirSync","save","skipState","copyToCache","htcPath","POST_CACHE_KEY","copyFileSync","arm_version","variables","tmp","ensureDirExists","tmpDir","_tmpDir","tmpName","tmpNameSync","gitRef","parseGitRef","setPullRequestHeadRef","DOCKER_DEFAULT_GIT_CONTEXT_PR_HEAD_REF","gitContext","serverURL","mkdtempSync","RUNNER_TEMP","tmpdir","context_1","DOCKER_CONFIG","configFile","isDaemonRunning","execOptions","DOCKER_CONTENT_TRUST","contextInspect","printInfo","parseRepoTag","image","sepPos","digestPos","colonPos","parsedImage","repoSanitized","tagSanitized","imageCache","cacheFoundPath","pulled","imageTarPath","crypto_1","he_1","js_yaml_1","util_2","githubToken","GITHUB_TOKEN","repoData","repos","releasesRaw","httpResp","Authorization","dt","apiURL","isGHES","GITHUB_WORKSPACE","workflowRunURL","setAttempts","actionsRuntimeToken","jwtDecode","printActionsRuntimeTokenACs","jwt","Permission","Scope","blobContentDisposition","artifactURL","writeBuildSummary","refsSize","exportRes","firstRef","firstSummary","summaries","dbcAccount","sum","formatDBCBuildURL","defaultPlatform","uploadRes","artifactRelativeURL","stringToUnicodeEntities","formatFileSize","summaryTableData","buildError","numCachedSteps","numTotalSteps","duration","countLines","indent","lineWidth","bakeDefinition","account","isPost","main","sync_1","getInputList","getList","columns","relaxQuotes","comment","relaxColumnCount","skipEmptyLines","quote","ignoreComma","pat","getInputNumber","asyncForEach","isValidURL","urlStr","isValidRef","refStr","script","escapedParams","trimPrefix","trimSuffix","parseBool","sizes","parseFloat","generateRandomString","parentPath","childPath","rpp","rcp","formatDuration","totalSeconds","hours","minutes","__defProp","__getOwnPropDesc","__getOwnPropNames","__hasOwnProp","__export","__copyProps","except","__toCommonJS","dist_src_exports","import_universal_user_agent","import_before_after_hook","import_request","import_graphql","import_auth_token","consoleWarn","consoleError","userAgentTrail","getUserAgent","OctokitWithDefaults","plugins","newPlugins","currentPlugins","NewOctokit","Collection","requestDefaults","DEFAULTS","timeZone","graphql","withCustomRequest","authStrategy","createTokenAuth","otherOptions","octokitOptions","classConstructor","__create","__getProtoOf","__toESM","isNodeMode","RequestError","import_deprecation","import_once","logOnceCode","deprecation","logOnceHeaders","requestCopy","Deprecation","import_endpoint","import_is_plain_object","import_request_error","getBufferResponse","fetchWrapper","parseSuccessResponseBody","isPlainObject","keyAndValue","link","deprecationLink","sunset","toErrorMessage","withDefaults","oldEndpoint","newDefaults","endpoint2","newApi","route","endpointOptions","merge","request2","route2","parameters2","composePaginateRest","isPaginatingEndpoint","paginatingEndpoints","normalizePaginatedListResponse","responseNeedsNormalization","incompleteResults","incomplete_results","repositorySelection","repository_selection","namespaceKey","normalizedResponse","paginate","mapFn","gather","iterator2","earlyExit","legacyRestEndpointMethods","Endpoints","addCustomLabelsToSelfHostedRunnerForOrg","addCustomLabelsToSelfHostedRunnerForRepo","addSelectedRepoToOrgSecret","addSelectedRepoToOrgVariable","approveWorkflowRun","cancelWorkflowRun","createEnvironmentVariable","createOrUpdateEnvironmentSecret","createOrUpdateOrgSecret","createOrUpdateRepoSecret","createOrgVariable","createRegistrationTokenForOrg","createRegistrationTokenForRepo","createRemoveTokenForOrg","createRemoveTokenForRepo","createRepoVariable","createWorkflowDispatch","deleteActionsCacheById","deleteActionsCacheByKey","deleteEnvironmentSecret","deleteEnvironmentVariable","deleteOrgSecret","deleteOrgVariable","deleteRepoSecret","deleteRepoVariable","deleteSelfHostedRunnerFromOrg","deleteSelfHostedRunnerFromRepo","deleteWorkflowRun","deleteWorkflowRunLogs","disableSelectedRepositoryGithubActionsOrganization","disableWorkflow","downloadJobLogsForWorkflowRun","downloadWorkflowRunAttemptLogs","downloadWorkflowRunLogs","enableSelectedRepositoryGithubActionsOrganization","enableWorkflow","forceCancelWorkflowRun","generateRunnerJitconfigForOrg","generateRunnerJitconfigForRepo","getActionsCacheList","getActionsCacheUsage","getActionsCacheUsageByRepoForOrg","getActionsCacheUsageForOrg","getAllowedActionsOrganization","getAllowedActionsRepository","getCustomOidcSubClaimForRepo","getEnvironmentPublicKey","getEnvironmentSecret","getEnvironmentVariable","getGithubActionsDefaultWorkflowPermissionsOrganization","getGithubActionsDefaultWorkflowPermissionsRepository","getGithubActionsPermissionsOrganization","getGithubActionsPermissionsRepository","getJobForWorkflowRun","getOrgPublicKey","getOrgSecret","getOrgVariable","getPendingDeploymentsForRun","getRepoPermissions","renamed","getRepoPublicKey","getRepoSecret","getRepoVariable","getReviewsForRun","getSelfHostedRunnerForOrg","getSelfHostedRunnerForRepo","getWorkflow","getWorkflowAccessToRepository","getWorkflowRun","getWorkflowRunAttempt","getWorkflowRunUsage","getWorkflowUsage","listArtifactsForRepo","listEnvironmentSecrets","listEnvironmentVariables","listJobsForWorkflowRun","listJobsForWorkflowRunAttempt","listLabelsForSelfHostedRunnerForOrg","listLabelsForSelfHostedRunnerForRepo","listOrgSecrets","listOrgVariables","listRepoOrganizationSecrets","listRepoOrganizationVariables","listRepoSecrets","listRepoVariables","listRepoWorkflows","listRunnerApplicationsForOrg","listRunnerApplicationsForRepo","listSelectedReposForOrgSecret","listSelectedReposForOrgVariable","listSelectedRepositoriesEnabledGithubActionsOrganization","listSelfHostedRunnersForOrg","listSelfHostedRunnersForRepo","listWorkflowRunArtifacts","listWorkflowRuns","listWorkflowRunsForRepo","reRunJobForWorkflowRun","reRunWorkflow","reRunWorkflowFailedJobs","removeAllCustomLabelsFromSelfHostedRunnerForOrg","removeAllCustomLabelsFromSelfHostedRunnerForRepo","removeCustomLabelFromSelfHostedRunnerForOrg","removeCustomLabelFromSelfHostedRunnerForRepo","removeSelectedRepoFromOrgSecret","removeSelectedRepoFromOrgVariable","reviewCustomGatesForRun","reviewPendingDeploymentsForRun","setAllowedActionsOrganization","setAllowedActionsRepository","setCustomLabelsForSelfHostedRunnerForOrg","setCustomLabelsForSelfHostedRunnerForRepo","setCustomOidcSubClaimForRepo","setGithubActionsDefaultWorkflowPermissionsOrganization","setGithubActionsDefaultWorkflowPermissionsRepository","setGithubActionsPermissionsOrganization","setGithubActionsPermissionsRepository","setSelectedReposForOrgSecret","setSelectedReposForOrgVariable","setSelectedRepositoriesEnabledGithubActionsOrganization","setWorkflowAccessToRepository","updateEnvironmentVariable","updateOrgVariable","updateRepoVariable","activity","checkRepoIsStarredByAuthenticatedUser","deleteRepoSubscription","deleteThreadSubscription","getFeeds","getRepoSubscription","getThread","getThreadSubscriptionForAuthenticatedUser","listEventsForAuthenticatedUser","listNotificationsForAuthenticatedUser","listOrgEventsForAuthenticatedUser","listPublicEvents","listPublicEventsForRepoNetwork","listPublicEventsForUser","listPublicOrgEvents","listReceivedEventsForUser","listReceivedPublicEventsForUser","listRepoEvents","listRepoNotificationsForAuthenticatedUser","listReposStarredByAuthenticatedUser","listReposStarredByUser","listReposWatchedByUser","listStargazersForRepo","listWatchedReposForAuthenticatedUser","listWatchersForRepo","markNotificationsAsRead","markRepoNotificationsAsRead","markThreadAsDone","markThreadAsRead","setRepoSubscription","setThreadSubscription","starRepoForAuthenticatedUser","unstarRepoForAuthenticatedUser","apps","addRepoToInstallation","addRepoToInstallationForAuthenticatedUser","checkToken","createFromManifest","createInstallationAccessToken","deleteAuthorization","deleteInstallation","deleteToken","getAuthenticated","getBySlug","getInstallation","getOrgInstallation","getRepoInstallation","getSubscriptionPlanForAccount","getSubscriptionPlanForAccountStubbed","getUserInstallation","getWebhookConfigForApp","getWebhookDelivery","listAccountsForPlan","listAccountsForPlanStubbed","listInstallationReposForAuthenticatedUser","listInstallationRequestsForAuthenticatedApp","listInstallations","listInstallationsForAuthenticatedUser","listPlans","listPlansStubbed","listReposAccessibleToInstallation","listSubscriptionsForAuthenticatedUser","listSubscriptionsForAuthenticatedUserStubbed","listWebhookDeliveries","redeliverWebhookDelivery","removeRepoFromInstallation","removeRepoFromInstallationForAuthenticatedUser","resetToken","revokeInstallationAccessToken","scopeToken","suspendInstallation","unsuspendInstallation","updateWebhookConfigForApp","billing","getGithubActionsBillingOrg","getGithubActionsBillingUser","getGithubPackagesBillingOrg","getGithubPackagesBillingUser","getSharedStorageBillingOrg","getSharedStorageBillingUser","checks","createSuite","getSuite","listAnnotations","listForRef","listForSuite","listSuitesForRef","rerequestRun","rerequestSuite","setSuitesPreferences","codeScanning","deleteAnalysis","getAlert","renamedParameters","alert_id","getAnalysis","getCodeqlDatabase","getDefaultSetup","getSarif","listAlertInstances","listAlertsForOrg","listAlertsForRepo","listAlertsInstances","listCodeqlDatabases","listRecentAnalyses","updateAlert","updateDefaultSetup","uploadSarif","codesOfConduct","getAllCodesOfConduct","getConductCode","codespaces","addRepositoryForSecretForAuthenticatedUser","checkPermissionsForDevcontainer","codespaceMachinesForAuthenticatedUser","createForAuthenticatedUser","createOrUpdateSecretForAuthenticatedUser","createWithPrForAuthenticatedUser","createWithRepoForAuthenticatedUser","deleteForAuthenticatedUser","deleteFromOrganization","deleteSecretForAuthenticatedUser","exportForAuthenticatedUser","getCodespacesForUserInOrg","getExportDetailsForAuthenticatedUser","getForAuthenticatedUser","getPublicKeyForAuthenticatedUser","getSecretForAuthenticatedUser","listDevcontainersInRepositoryForAuthenticatedUser","listForAuthenticatedUser","listInOrganization","org_id","listInRepositoryForAuthenticatedUser","listRepositoriesForSecretForAuthenticatedUser","listSecretsForAuthenticatedUser","preFlightWithRepoForAuthenticatedUser","publishForAuthenticatedUser","removeRepositoryForSecretForAuthenticatedUser","repoMachinesForAuthenticatedUser","setRepositoriesForSecretForAuthenticatedUser","startForAuthenticatedUser","stopForAuthenticatedUser","stopInOrganization","updateForAuthenticatedUser","copilot","addCopilotSeatsForTeams","addCopilotSeatsForUsers","cancelCopilotSeatAssignmentForTeams","cancelCopilotSeatAssignmentForUsers","getCopilotOrganizationDetails","getCopilotSeatDetailsForUser","listCopilotSeats","dependabot","listAlertsForEnterprise","dependencyGraph","createRepositorySnapshot","diffRange","exportSbom","emojis","gists","checkIsStarred","createComment","deleteComment","getComment","getRevision","listComments","listCommits","listForUser","listForks","listPublic","listStarred","star","unstar","updateComment","createBlob","createCommit","createRef","createTag","createTree","deleteRef","getBlob","getCommit","getRef","getTag","getTree","listMatchingRefs","updateRef","gitignore","getAllTemplates","getTemplate","interactions","getRestrictionsForAuthenticatedUser","getRestrictionsForOrg","getRestrictionsForRepo","getRestrictionsForYourPublicRepos","removeRestrictionsForAuthenticatedUser","removeRestrictionsForOrg","removeRestrictionsForRepo","removeRestrictionsForYourPublicRepos","setRestrictionsForAuthenticatedUser","setRestrictionsForOrg","setRestrictionsForRepo","setRestrictionsForYourPublicRepos","issues","addAssignees","addLabels","checkUserCanBeAssigned","checkUserCanBeAssignedToIssue","createLabel","createMilestone","deleteLabel","deleteMilestone","getEvent","getLabel","getMilestone","listAssignees","listCommentsForRepo","listEvents","listEventsForRepo","listEventsForTimeline","listForOrg","listForRepo","listLabelsForMilestone","listLabelsForRepo","listLabelsOnIssue","listMilestones","lock","removeAllLabels","removeAssignees","removeLabel","setLabels","unlock","updateLabel","updateMilestone","licenses","getAllCommonlyUsed","getForRepo","markdown","render","renderRaw","getAllVersions","getOctocat","getZen","migrations","cancelImport","deprecated","deleteArchiveForAuthenticatedUser","deleteArchiveForOrg","downloadArchiveForOrg","getArchiveForAuthenticatedUser","getCommitAuthors","getImportStatus","getLargeFiles","getStatusForAuthenticatedUser","getStatusForOrg","listReposForAuthenticatedUser","listReposForOrg","listReposForUser","mapCommitAuthor","setLfsPreference","startForOrg","startImport","unlockRepoForAuthenticatedUser","unlockRepoForOrg","updateImport","oidc","getOidcCustomSubTemplateForOrg","updateOidcCustomSubTemplateForOrg","orgs","addSecurityManagerTeam","assignTeamToOrgRole","assignUserToOrgRole","blockUser","cancelInvitation","checkBlockedUser","checkMembershipForUser","checkPublicMembershipForUser","convertMemberToOutsideCollaborator","createCustomOrganizationRole","createInvitation","createOrUpdateCustomProperties","createOrUpdateCustomPropertiesValuesForRepos","createOrUpdateCustomProperty","createWebhook","deleteCustomOrganizationRole","deleteWebhook","enableOrDisableSecurityProductOnAllOrgRepos","getAllCustomProperties","getCustomProperty","getMembershipForAuthenticatedUser","getMembershipForUser","getOrgRole","getWebhook","getWebhookConfigForOrg","listAppInstallations","listBlockedUsers","listCustomPropertiesValuesForRepos","listFailedInvitations","listInvitationTeams","listMembers","listMembershipsForAuthenticatedUser","listOrgRoleTeams","listOrgRoleUsers","listOrgRoles","listOrganizationFineGrainedPermissions","listOutsideCollaborators","listPatGrantRepositories","listPatGrantRequestRepositories","listPatGrantRequests","listPatGrants","listPendingInvitations","listPublicMembers","listSecurityManagerTeams","listWebhooks","patchCustomOrganizationRole","pingWebhook","removeCustomProperty","removeMember","removeMembershipForUser","removeOutsideCollaborator","removePublicMembershipForAuthenticatedUser","removeSecurityManagerTeam","reviewPatGrantRequest","reviewPatGrantRequestsInBulk","revokeAllOrgRolesTeam","revokeAllOrgRolesUser","revokeOrgRoleTeam","revokeOrgRoleUser","setMembershipForUser","setPublicMembershipForAuthenticatedUser","unblockUser","updateMembershipForAuthenticatedUser","updatePatAccess","updatePatAccesses","updateWebhook","updateWebhookConfigForOrg","packages","deletePackageForAuthenticatedUser","deletePackageForOrg","deletePackageForUser","deletePackageVersionForAuthenticatedUser","deletePackageVersionForOrg","deletePackageVersionForUser","getAllPackageVersionsForAPackageOwnedByAnOrg","getAllPackageVersionsForAPackageOwnedByTheAuthenticatedUser","getAllPackageVersionsForPackageOwnedByAuthenticatedUser","getAllPackageVersionsForPackageOwnedByOrg","getAllPackageVersionsForPackageOwnedByUser","getPackageForAuthenticatedUser","getPackageForOrganization","getPackageForUser","getPackageVersionForAuthenticatedUser","getPackageVersionForOrganization","getPackageVersionForUser","listDockerMigrationConflictingPackagesForAuthenticatedUser","listDockerMigrationConflictingPackagesForOrganization","listDockerMigrationConflictingPackagesForUser","listPackagesForAuthenticatedUser","listPackagesForOrganization","listPackagesForUser","restorePackageForAuthenticatedUser","restorePackageForOrg","restorePackageForUser","restorePackageVersionForAuthenticatedUser","restorePackageVersionForOrg","restorePackageVersionForUser","projects","addCollaborator","createCard","createColumn","createForOrg","createForRepo","deleteCard","deleteColumn","getCard","getColumn","getPermissionForUser","listCards","listCollaborators","listColumns","moveCard","moveColumn","removeCollaborator","updateCard","updateColumn","pulls","checkIfMerged","createReplyForReviewComment","createReview","createReviewComment","deletePendingReview","deleteReviewComment","dismissReview","getReview","getReviewComment","listCommentsForReview","listFiles","listRequestedReviewers","listReviewComments","listReviewCommentsForRepo","listReviews","removeRequestedReviewers","requestReviewers","submitReview","updateBranch","updateReview","updateReviewComment","rateLimit","reactions","createForCommitComment","createForIssue","createForIssueComment","createForPullRequestReviewComment","createForRelease","createForTeamDiscussionCommentInOrg","createForTeamDiscussionInOrg","deleteForCommitComment","deleteForIssue","deleteForIssueComment","deleteForPullRequestComment","deleteForRelease","deleteForTeamDiscussion","deleteForTeamDiscussionComment","listForCommitComment","listForIssue","listForIssueComment","listForPullRequestReviewComment","listForRelease","listForTeamDiscussionCommentInOrg","listForTeamDiscussionInOrg","acceptInvitation","acceptInvitationForAuthenticatedUser","addAppAccessRestrictions","mapToData","addStatusCheckContexts","addTeamAccessRestrictions","addUserAccessRestrictions","cancelPagesDeployment","checkAutomatedSecurityFixes","checkCollaborator","checkVulnerabilityAlerts","codeownersErrors","compareCommits","compareCommitsWithBasehead","createAutolink","createCommitComment","createCommitSignatureProtection","createCommitStatus","createDeployKey","createDeployment","createDeploymentBranchPolicy","createDeploymentProtectionRule","createDeploymentStatus","createDispatchEvent","createFork","createInOrg","createOrUpdateCustomPropertiesValues","createOrUpdateEnvironment","createOrUpdateFileContents","createOrgRuleset","createPagesDeployment","createPagesSite","createRelease","createRepoRuleset","createTagProtection","createUsingTemplate","declineInvitation","declineInvitationForAuthenticatedUser","deleteAccessRestrictions","deleteAdminBranchProtection","deleteAnEnvironment","deleteAutolink","deleteBranchProtection","deleteCommitComment","deleteCommitSignatureProtection","deleteDeployKey","deleteDeployment","deleteDeploymentBranchPolicy","deleteFile","deleteInvitation","deleteOrgRuleset","deletePagesSite","deletePullRequestReviewProtection","deleteRelease","deleteReleaseAsset","deleteRepoRuleset","deleteTagProtection","disableAutomatedSecurityFixes","disableDeploymentProtectionRule","disablePrivateVulnerabilityReporting","disableVulnerabilityAlerts","downloadArchive","downloadTarballArchive","downloadZipballArchive","enableAutomatedSecurityFixes","enablePrivateVulnerabilityReporting","enableVulnerabilityAlerts","generateReleaseNotes","getAccessRestrictions","getAdminBranchProtection","getAllDeploymentProtectionRules","getAllEnvironments","getAllStatusCheckContexts","getAllTopics","getAppsWithAccessToProtectedBranch","getAutolink","getBranch","getBranchProtection","getBranchRules","getClones","getCodeFrequencyStats","getCollaboratorPermissionLevel","getCombinedStatusForRef","getCommitActivityStats","getCommitComment","getCommitSignatureProtection","getCommunityProfileMetrics","getContent","getContributorsStats","getCustomDeploymentProtectionRule","getCustomPropertiesValues","getDeployKey","getDeployment","getDeploymentBranchPolicy","getDeploymentStatus","getEnvironment","getLatestPagesBuild","getLatestRelease","getOrgRuleSuite","getOrgRuleSuites","getOrgRuleset","getOrgRulesets","getPages","getPagesBuild","getPagesDeployment","getPagesHealthCheck","getParticipationStats","getPullRequestReviewProtection","getPunchCardStats","getReadme","getReadmeInDirectory","getRelease","getReleaseAsset","getReleaseByTag","getRepoRuleSuite","getRepoRuleSuites","getRepoRuleset","getRepoRulesets","getStatusChecksProtection","getTeamsWithAccessToProtectedBranch","getTopPaths","getTopReferrers","getUsersWithAccessToProtectedBranch","getViews","getWebhookConfigForRepo","listActivities","listAutolinks","listBranches","listBranchesForHeadCommit","listCommentsForCommit","listCommitCommentsForRepo","listCommitStatusesForRef","listContributors","listCustomDeploymentRuleIntegrations","listDeployKeys","listDeploymentBranchPolicies","listDeploymentStatuses","listDeployments","listInvitations","listInvitationsForAuthenticatedUser","listLanguages","listPagesBuilds","listPullRequestsAssociatedWithCommit","listReleaseAssets","listReleases","listTagProtection","listTags","listTeams","mergeUpstream","removeAppAccessRestrictions","removeStatusCheckContexts","removeStatusCheckProtection","removeTeamAccessRestrictions","removeUserAccessRestrictions","renameBranch","replaceAllTopics","requestPagesBuild","setAdminBranchProtection","setAppAccessRestrictions","setStatusCheckContexts","setTeamAccessRestrictions","setUserAccessRestrictions","testPushWebhook","transfer","updateBranchProtection","updateCommitComment","updateDeploymentBranchPolicy","updateInformationAboutPagesSite","updateInvitation","updateOrgRuleset","updatePullRequestReviewProtection","updateRelease","updateReleaseAsset","updateRepoRuleset","updateStatusCheckPotection","updateStatusCheckProtection","updateWebhookConfigForRepo","uploadReleaseAsset","commits","issuesAndPullRequests","labels","topics","users","secretScanning","listLocationsForAlert","securityAdvisories","createPrivateVulnerabilityReport","createRepositoryAdvisory","createRepositoryAdvisoryCveRequest","getGlobalAdvisory","getRepositoryAdvisory","listGlobalAdvisories","listOrgRepositoryAdvisories","listRepositoryAdvisories","updateRepositoryAdvisory","teams","addOrUpdateMembershipForUserInOrg","addOrUpdateProjectPermissionsInOrg","addOrUpdateRepoPermissionsInOrg","checkPermissionsForProjectInOrg","checkPermissionsForRepoInOrg","createDiscussionCommentInOrg","createDiscussionInOrg","deleteDiscussionCommentInOrg","deleteDiscussionInOrg","deleteInOrg","getByName","getDiscussionCommentInOrg","getDiscussionInOrg","getMembershipForUserInOrg","listChildInOrg","listDiscussionCommentsInOrg","listDiscussionsInOrg","listMembersInOrg","listPendingInvitationsInOrg","listProjectsInOrg","listReposInOrg","removeMembershipForUserInOrg","removeProjectInOrg","removeRepoInOrg","updateDiscussionCommentInOrg","updateDiscussionInOrg","updateInOrg","addEmailForAuthenticated","addEmailForAuthenticatedUser","addSocialAccountForAuthenticatedUser","block","checkBlocked","checkFollowingForUser","checkPersonIsFollowedByAuthenticated","createGpgKeyForAuthenticated","createGpgKeyForAuthenticatedUser","createPublicSshKeyForAuthenticated","createPublicSshKeyForAuthenticatedUser","createSshSigningKeyForAuthenticatedUser","deleteEmailForAuthenticated","deleteEmailForAuthenticatedUser","deleteGpgKeyForAuthenticated","deleteGpgKeyForAuthenticatedUser","deletePublicSshKeyForAuthenticated","deletePublicSshKeyForAuthenticatedUser","deleteSocialAccountForAuthenticatedUser","deleteSshSigningKeyForAuthenticatedUser","follow","getByUsername","getContextForUser","getGpgKeyForAuthenticated","getGpgKeyForAuthenticatedUser","getPublicSshKeyForAuthenticated","getPublicSshKeyForAuthenticatedUser","getSshSigningKeyForAuthenticatedUser","listBlockedByAuthenticated","listBlockedByAuthenticatedUser","listEmailsForAuthenticated","listEmailsForAuthenticatedUser","listFollowedByAuthenticated","listFollowedByAuthenticatedUser","listFollowersForAuthenticatedUser","listFollowersForUser","listFollowingForUser","listGpgKeysForAuthenticated","listGpgKeysForAuthenticatedUser","listGpgKeysForUser","listPublicEmailsForAuthenticated","listPublicEmailsForAuthenticatedUser","listPublicKeysForUser","listPublicSshKeysForAuthenticated","listPublicSshKeysForAuthenticatedUser","listSocialAccountsForAuthenticatedUser","listSocialAccountsForUser","listSshSigningKeysForAuthenticatedUser","listSshSigningKeysForUser","setPrimaryEmailVisibilityForAuthenticated","setPrimaryEmailVisibilityForAuthenticatedUser","unblock","unfollow","updateAuthenticated","endpoints_default","endpointMethodsMap","endpoints","decorations","endpointDefaults","endpointsToMethods","newMethods","requestWithDefaults","withDecorations","newScope","newMethodName","options2","alias","Comparator","comp","parseOptions","loose","operator","re","COMPARATORLOOSE","COMPARATOR","SemVer","intersects","includePrerelease","safeRe","SPACE_CHARACTERS","formatted","parseRange","isNullSet","isAny","comps","memoOpts","FLAG_INCLUDE_PRERELEASE","FLAG_LOOSE","memoKey","cached","hr","HYPHENRANGELOOSE","HYPHENRANGE","hyphenReplace","COMPARATORTRIM","comparatorTrimReplace","TILDETRIM","tildeTrimReplace","CARETTRIM","caretTrimReplace","rangeList","parseComparator","replaceGTE0","rangeMap","comparators","thisComparators","isSatisfiable","rangeComparators","thisComparator","rangeComparator","testSet","LRU","remainingComparators","testComparator","otherComparator","BUILD","replaceCarets","replaceTildes","replaceXRanges","replaceStars","isX","replaceTilde","TILDELOOSE","TILDE","M","pr","replaceCaret","CARETLOOSE","CARET","replaceXRange","XRANGELOOSE","XRANGE","gtlt","xM","xm","xp","anyX","STAR","GTE0PRE","GTE0","incPr","$0","fM","fm","fp","fpr","fb","tM","tm","tp","tpr","prerelease","allowed","major","minor","compareIdentifiers","LOOSE","FULL","compare","other","compareMain","comparePre","compareBuild","inc","identifier","identifierBase","PRERELEASELOOSE","PRERELEASE","eq","neq","gte","lt","lte","coerce","rtl","COERCEFULL","COERCE","coerceRtlRegex","COERCERTLFULL","COERCERTL","lastIndex","versionA","versionB","compareLoose","diff","version1","version2","v1","v2","comparison","v1Higher","highVersion","lowVersion","highHasPre","lowHasPre","throwErrors","rcompare","rsort","internalRe","identifiers","toComparators","maxSatisfying","minSatisfying","minVersion","validRange","outside","gtr","ltr","simplifyRange","subset","tokens","SEMVER_SPEC_VERSION","RELEASE_TYPES","rcompareIdentifiers","MAX_SAFE_COMPONENT_LENGTH","MAX_SAFE_BUILD_LENGTH","NODE_DEBUG","numeric","anum","bnum","LRUCache","deleted","firstKey","looseOption","emptyOpts","safeSrc","R","LETTERDASHNUMBER","safeRegexReplacements","makeSafeRegex","createToken","isGlobal","safe","NUMERICIDENTIFIER","NUMERICIDENTIFIERLOOSE","NONNUMERICIDENTIFIER","PRERELEASEIDENTIFIER","PRERELEASEIDENTIFIERLOOSE","BUILDIDENTIFIER","MAINVERSION","FULLPLAIN","MAINVERSIONLOOSE","LOOSEPLAIN","XRANGEIDENTIFIER","XRANGEIDENTIFIERLOOSE","GTLT","XRANGEPLAIN","XRANGEPLAINLOOSE","COERCEPLAIN","LONETILDE","LONECARET","r1","r2","maxSV","rangeObj","minSV","minver","setMin","comparator","compver","hilo","gtfn","ltefn","ltfn","ecomp","included","ranges","simplified","original","sub","dom","sawNonNull","OUTER","simpleSub","simpleDom","isSub","simpleSubset","minimumVersionWithPreRelease","minimumVersion","eqSet","higherGT","lowerLT","gtltComp","higher","hasDomLT","hasDomGT","needDomLTPre","needDomGTPre","WritableStream","inherits","StreamSearch","PartStream","HeaderParser","DASH","B_ONEDASH","B_CRLF","EMPTY_FN","Dicer","cfg","headerFirst","setBoundary","_bparser","_headerFirst","_dashes","_parts","_finished","_realFinish","_isPreamble","_justMatched","_firstWrite","_inHeader","_part","_cb","_ignoreData","_partOpts","partHwm","_pause","_hparser","nextTick","_events","preamble","_ignore","isMatch","_oninfo","shouldWriteMore","trailer","_unpause","getLimit","B_DCRLF","RE_CRLF","RE_HDR","nread","maxed","npairs","maxHeaderPairs","ss","_finish","_parseHeader","maxMatches","posColon","SBMH","needle","needleLength","_occ","_lookbehind_size","_needle","_bufpos","_lookbehind","chlen","_sbmh_feed","lastNeedleChar","ch","_sbmh_lookup_char","_sbmh_memcmp","bytesToCutOff","MultipartParser","UrlencodedParser","parseParams","Busboy","streamOptions","_done","_parser","getParserByHeaders","defCharset","fileHwm","isPartAFile","limits","parsedConType","preservePath","detect","decodeText","RE_BOUNDARY","RE_FIELD","RE_CHARSET","RE_FILENAME","RE_NAME","Multipart","boy","fileOpts","checkFinished","nends","fieldSizeLimit","filesLimit","fieldsLimit","partsLimit","headerPairsLimit","headerSizeLimit","nfiles","nfields","curFile","curField","_needDrain","_nparts","_boy","parserCfg","onPart","skipPart","hitPartsLimit","contype","fieldname","nsize","onEnd","hitFilesLimit","FileStream","extralen","truncated","hitFieldsLimit","Decoder","UrlEncoded","fieldNameSizeLimit","_fields","_checkingBytes","_bytesKey","_bytesVal","_key","_val","_keyTrunc","_valTrunc","_hitLimit","idxeq","idxamp","keyTrunc","RE_PLUS","textDecoders","textEncoding","destEncoding","defaultLimit","RE_ENCODED","encodedReplacer","inquote","escaping","REGEX_IS_INSTALLATION_LEGACY","REGEX_IS_INSTALLATION","REGEX_IS_USER_TO_SERVER","isApp","isInstallation","isUserToServer","tokenType","withAuthorizationPrefix","createTokenAuth2","newObj","mergeDeep","removeUndefinedProperties","mergedOptions","preview","addQueryParameters","separator","urlVariableRegex","removeNonChars","variableName","extractUrlVariableNames","omit","keysToOmit","option","encodeReserved","encodeURI","encodeUnreserved","encodeValue","isKeyOperator","getValues","modifier","value2","template","expand","operators","expression","variable","urlVariableNames","omittedParameters","remainingParameters","isBinaryRequest","previewsFromAcceptHeader","endpointWithDefaults","oldDefaults","DEFAULTS2","GraphqlResponseError","graphql2","import_request3","import_request2","_buildMessageForResponseErrors","NON_VARIABLE_OPTIONS","FORBIDDEN_VARIABLE_OPTIONS","GHES_V3_SUFFIX_REGEX","parsedOptions","customRequest","_interopDefault","ex","Bottleneck","retryRequest","wrapRequest","limiter","after","retryAfterBaseValue","schedule","utilConfigProvider","utilMiddleware","ENV_USE_DUALSTACK_ENDPOINT","CONFIG_USE_DUALSTACK_ENDPOINT","DEFAULT_USE_DUALSTACK_ENDPOINT","booleanSelector","SelectorType","ENV","CONFIG","ENV_USE_FIPS_ENDPOINT","CONFIG_USE_FIPS_ENDPOINT","DEFAULT_USE_FIPS_ENDPOINT","resolveCustomEndpointsConfig","isCustomEndpoint","getEndpointFromRegion","dnsHostRegex","resolveEndpointsConfig","preferredFile","validRegions","checkRegion","isFipsRegion","getRealRegion","providedRegion","realRegion","getHostnameFromVariants","variants","getResolvedHostname","resolvedRegion","regionHostname","partitionHostname","getResolvedPartition","partitionHash","getResolvedSigningRegion","regionRegexJs","regionRegexmatchArray","getRegionInfo","regionHash","hostnameOptions","middlewareSerde","SMITHY_CONTEXT_KEY","resolveAuthOptions","candidateAuthOptions","preferredAuthOptions","preferredSchemeName","candidateAuthOption","candidateAuthSchemeName","convertHttpAuthSchemesToMap","httpAuthSchemeMiddleware","mwOptions","resolvedOptions","smithyContext","failureReasons","identityProperties","httpAuthOption","httpAuthSchemeEndpointRuleSetMiddlewareOptions","relation","toMiddleware","addRelativeTo","httpAuthSchemeMiddlewareOptions","serializerMiddlewareOption","getHttpAuthSchemePlugin","defaultErrorHandler","defaultSuccessHandler","httpSigningMiddleware","httpSigningMiddlewareOptions","aliases","promisified","makePagedClientRequest","CommandCtor","withCommand","ClientCtor","inputTokenName","outputTokenName","pageSizeTokenName","paginateOperation","additionalArguments","_input","startingToken","pageSize","prevToken","stopOnSameToken","fromObject","cursor","pathComponents","HttpApiKeyAuthSigner","in","apiKey","HttpApiKeyAuthLocation","QUERY","HEADER","HttpBearerAuthSigner","NoAuthSigner","createIsIdentityExpiredFunction","expirationMs","EXPIRATION_MS","isExpired","requiresRefresh","normalizedProvider","resolved","hasResult","isConstant","coalesceProvider","requestBuilder","utilBodyLengthBrowser","majorUint64","majorNegativeInt64","majorUnstructuredByteString","majorUtf8String","majorList","majorMap","majorTag","majorSpecial","specialFalse","specialTrue","specialNull","specialUndefined","extendedOneByte","extendedFloat16","extendedFloat32","extendedFloat64","minorIndefinite","tagSymbol","USE_TEXT_DECODER","USE_BUFFER$1","dataView$1","setPayload","unsignedInt","countLength","minorValueToArgumentLength","countOffset","countIndex","getUint16","castBigInt","negativeInt","decodeCount","decimalFraction","exponent","mantissa","normalizer","mantissaStr","nv","valueOffset","decodeUtf8StringIndefinite","decodeMapIndefinite","decodeListIndefinite","decodeUnstructuredByteStringIndefinite","decodeUtf8String","decodeMap","decodeList","decodeUnstructuredByteString","decodeSpecial","bytesToUtf8","demote","bigInteger","bytesToFloat16","fraction","exponentComponent","summation","vector","listDataLength","itemOffset","mapDataLength","bigInt","USE_BUFFER","initialSize","dataView","ensureSpace","resize","toUint8Array","old","encodeHeader","setUint16","encodeStack","nonNegative","binaryBigInt","bigIntBytes","decimalIndex","deserialize","serialize","resizeEncodingBuffer","parseCborBody","dateToTag","parseCborErrorBody","checkCborResponse","buildHttpRpcRequest","resolvedHostname","CborCodec","SerdeContext","CborShapeSerializer","CborShapeDeserializer","sourceObject","newArray","newObject","isUnion","_parseEpochTimestamp","itemValue","targetSchema","utilStream","Uint8ArrayBlobAdapter","mutate","fromContext","HttpProtocol","getRequestType","getResponseType","updateServiceEndpoint","setHostPrefix","inputNs","opTraits","translateTraits","hostPrefix","hostLabelInputs","hostLabel","replacement","extendedRequestId","cfId","serializeEventStream","eventStream","requestSchema","initialRequest","eventStreamSerde","loadEventStreamCapability","deserializeEventStream","responseSchema","initialResponseContainer","EventStreamSerde","marshaller","getEventStreamMarshaller","arg4","arg5","eventStreamMarshaller","hasNonHttpBindingMember","traitSearchParams","inputMemberValue","isStreaming","isEventStream","amalgam","serializeQuery","valueSchema","serializable","nonHttpBindingMembers","dataFromBody","discardResponseBody","sdkStreamMixin","headerListValueSchema","splitEvery","splitHeader","httpResponseCode","eventStreamMember","getEventStreamMember","labelValueProvider","uriLabel","isGreedyLabel","labelValue","RequestBuilder","resolvePathStack","resolvePath","hn","bp","bindingFormat","_parseRfc3339DateTimeWithOffset","_parseRfc7231DateTime","intermediateValue","base64ToUtf8","base64String","codecDeserializer","codecSettings","toBytes","ToStringShapeSerializer","headerItem","quoteHeader","codecSerializer","stringSerializer","schemaRef","schemaDeserializationMiddleware","$responseBodyText","headerEntries","findHeader","schemaSerializationMiddleware","deserializerMiddlewareOption","commandStack","Schema","lhs","isPrototype","isPrototypeOf","ListSchema","MapSchema","OperationSchema","StructureSchema","memberNames","memberList","ErrorSchema","indicator","trait","anno","it","_isMemberSchema","normalizedTraits","traitStack","traitSet","computedMemberTraits","isStaticSchema","withNamespace","streaming","idempotencyToken","getOwnTraits","isDoc","isMap","isList","getMemberSchema","ignored","internalCtorAccess","SimpleSchema","sim","simAdapter","SCHEMA","BLOB","STREAMING_BLOB","BOOLEAN","NUMERIC","BIG_INTEGER","BIG_DECIMAL","DOCUMENT","TIMESTAMP_DEFAULT","TIMESTAMP_DATE_TIME","TIMESTAMP_HTTP_DATE","TIMESTAMP_EPOCH_SECONDS","LIST_MODIFIER","MAP_MODIFIER","schemas","exceptions","registries","shapeId","qualifiedName","normalizeShapeId","$error","exceptionKey","copyDocumentWithTransform","parseBoolean","expectBoolean","stackTraceWarning","expectNumber","MAX_FLOAT","expectFloat32","expected","expectLong","expectInt","expectInt32","expectSizedInt","expectShort","expectByte","castInt","Int32Array","Int16Array","Int8Array","expectNonNull","expectObject","receivedType","expectString","asObject","setKeys","strictParseDouble","parseNumber","strictParseFloat","strictParseFloat32","NUMBER_REGEX","limitedParseDouble","parseFloatString","handleFloat","limitedParseFloat","limitedParseFloat32","strictParseLong","strictParseInt","strictParseInt32","strictParseShort","strictParseByte","DAYS","MONTHS","year","month","dayOfWeek","dayOfMonthInt","hoursInt","minutesInt","secondsInt","dayOfMonthString","hoursString","minutesString","secondsString","RFC3339","parseRfc3339DateTime","yearStr","monthStr","dayStr","fractionalMilliseconds","stripLeadingZeroes","parseDateValue","day","buildDate","RFC3339_WITH_OFFSET$1","offsetStr","setTime","parseOffsetToMilliseconds","IMF_FIXDATE$1","RFC_850_DATE$1","ASC_TIME$1","parseMonthByShortName","adjustRfc850Year","parseTwoDigitYear","trimLeft","valueAsDouble","time","adjustedMonth","validateDayOfMonth","UTC","parseMilliseconds","thisYear","valueInThisCentury","FIFTY_YEARS_IN_MILLIS","getUTCMilliseconds","monthIdx","DAYS_IN_MONTH","maxDays","isLeapYear","dateVal","directionStr","direction","hour","minute","deserializeJSON","toJSON","ddd","mmm","RFC3339_WITH_OFFSET","IMF_FIXDATE","RFC_850_DATE","ASC_TIME","months","setUTCFullYear","offsetH","offsetM","numDelimiters","compoundSegments","currentSegment","withinQuotes","prevChar","anchor","_nv","v4","querystringBuilder","createRequest","keepAliveSupport","supported","FetchHttpHandler","configProvider","instanceOrOptions","handle","requestTimeout$1","requestTimeoutInMs","abortError","queryString","buildQueryString","requestInit","removeSignalEventListener","fetchRequest","raceOfPromises","fetchHeaders","transformedHeaders","hasReadableStream","updateHttpClientConfig","httpHandlerConfigs","collectBlob","collectStream","readToBase64","collected","commaIndex","dataOffset","utilBufferFrom","algorithmIdentifier","toHash","castSourceData","toCast","fromString","fromArrayBuffer","CONTENT_LENGTH_HEADER","contentLengthMiddleware","contentLengthMiddlewareOptions","getEndpointFromConfig","getEndpointUrlConfig_1","getEndpointUrlConfig","shared_ini_file_loader_1","ENV_ENDPOINT_URL","CONFIG_ENDPOINT_URL","serviceSuffixParts","serviceEndpointUrl","endpointUrl","services","servicesSection","CONFIG_PREFIX_SEPARATOR","servicePrefixParts","resolveParamsForS3","bucket","Bucket","isArnBucketName","ForcePathStyle","isDnsCompatibleBucketName","DisableMultiRegionAccessPoints","disableMultiRegionAccessPoints","DisableMRAP","DOMAIN_PATTERN","IP_ADDRESS_PATTERN","DOTS_PATTERN","bucketName","isArn","isValidArn","createConfigValueProvider","configKey","canonicalEndpointParamKey","isClientContextParam","configValue","clientContextParams","nestedValue","CredentialScope","AccountId","getEndpointFromInstructions","commandInput","instructionsSupplier","clientConfig","endpointFromConfig","serviceConfiguredEndpoint","resolveParams","instructions","instruction","endpointMiddleware","signing_region","signing_service","endpointMiddlewareOptions","customEndpointProvider","configuredEndpointPromise","resolveEndpointRequiredConfig","utilRetry","serviceErrorClassification","isStreamingPayload","getDefaultRetryQuota","initialRetryTokens","MAX_CAPACITY","noRetryIncrement","NO_RETRY_INCREMENT","retryCost","RETRY_COST","timeoutRetryCost","TIMEOUT_RETRY_COST","availableCapacity","getCapacityAmount","hasRetryTokens","retrieveRetryTokens","capacityAmount","releaseRetryTokens","capacityReleaseAmount","defaultDelayDecider","delayBase","attempts","MAXIMUM_RETRY_DELAY","defaultRetryDecider","isRetryableByTrait","isClockSkewError","isThrottlingError","isTransientError","asSdkError","StandardRetryStrategy","maxAttemptsProvider","retryDecider","delayDecider","retryQuota","RETRY_MODES","INITIAL_RETRY_TOKENS","shouldRetry","getMaxAttempts","DEFAULT_MAX_ATTEMPTS","retryTokenAmount","totalDelay","INVOCATION_ID_HEADER","REQUEST_HEADER","beforeRequest","afterRequest","totalRetryDelay","delayFromDecider","THROTTLING_RETRY_DELAY_BASE","DEFAULT_RETRY_DELAY_BASE","delayFromResponse","getDelayFromRetryAfterHeader","retryAfterHeaderName","retryAfterSeconds","AdaptiveRetryStrategy","rateLimiter","superOptions","DefaultRateLimiter","ADAPTIVE","getSendToken","updateClientSendingRate","ENV_MAX_ATTEMPTS","CONFIG_MAX_ATTEMPTS","maxAttempt","_retryMode","_maxAttempts","ENV_RETRY_MODE","CONFIG_RETRY_MODE","omitRetryHeadersMiddleware","omitRetryHeadersMiddlewareOptions","getOmitRetryHeadersPlugin","retryMiddleware","isRetryStrategyV2","retryToken","lastError","isRequest","recordSuccess","retryErrorInfo","getRetryErrorInfo","refreshRetryTokenForRetry","refreshError","getRetryCount","getRetryDelay","errorInfo","errorType","getRetryErrorType","retryAfterHint","getRetryAfterHint","isServerError","retryMiddlewareOptions","stream_1","deserializerMiddleware","serializerMiddleware","endpointConfig","getSerdePlugin","getAllAliases","_aliases","getMiddlewareNameWithAliases","constructStack","absoluteEntries","relativeEntries","identifyOnResolve","entriesNameSet","stepWeights","priorityWeights","removeByName","toRemove","isRemoved","filterCb","removeByReference","middleware","cloneTo","toStack","expandRelativeMiddlewareList","expandedMiddlewareList","before","getMiddlewareList","normalizedAbsoluteEntries","normalizedRelativeEntries","normalizedEntriesNameMap","normalizedEntry","mainChain","wholeList","toOverrideIndex","toOverride","remove","removeByTag","cloned","identify","mw","toggle","initialize","normal","getSelectorName","functionString","envVarSelector","fromSharedConfigFiles","configSelector","getProfileName","credentialsFile","loadSharedConfigFiles","profileFromCredentials","profileFromConfig","mergedProfile","cfgFile","isFunction","func","fromStatic","envOptions","memoize","NODEJS_TIMEOUT_ERROR_CODES","getTransformedHeaders","headerValues","timing","timeoutId","DEFER_EVENT_LISTENER_TIME$2","setConnectionTimeout","registerTimeout","doWithSocket","connecting","setRequestTimeout","throwOnRequestTimeout","DEFER_EVENT_LISTENER_TIME$1","setSocketKeepAlive","keepAliveMsecs","deferTimeMs","registerListener","DEFER_EVENT_LISTENER_TIME","setSocketTimeout","onTimeout","MIN_WAIT_TIME","writeRequestBody","maxContinueTimeoutMs","externalAgent","expect","Expect","sendBody","writeBody","uint8","DEFAULT_REQUEST_TIMEOUT","socketWarningTimestamp","checkSocketUsage","sockets","socketsInUse","requestsEnqueued","_options","resolveDefaultConfig","connectionTimeout","socketAcquisitionWarningTimeout","httpAgent","httpsAgent","writeRequestBodyPromise","timeouts","isSSL","nodeHttpsOptions","requestFunc","effectiveRequestTimeout","NodeHttp2ConnectionPool","sessions","offerLast","NodeHttp2ConnectionManager","lease","requestContext","connectionConfiguration","getUrlString","existingPool","existingSession","disableConcurrency","destroySessionCb","deleteSession","connectionPool","authority","existingConnectionPool","setMaxConcurrentStreams","setDisableConcurrentStreams","disableConcurrentStreams","NodeHttp2Handler","connectionManager","configRequestTimeout","sessionTimeout","rejectWithDestroy","destroySession","rstCode","Collector","bufferedBytes","isReadableStreamInstance","collectReadableStream","collector","TokenProviderError","staticValue","setHttpHandler","httpHandler","httpHandlerExtensionConfiguration","Field","FieldPosition","Fields","setField","getField","removeField","getByType","cloneQuery","carry","paramName","param","resp","isValidHostname","hostPattern","utilUriEscape","escapeUri","iLen","qsEntry","parseQueryString","querystring","CLOCK_SKEW_ERROR_CODES","THROTTLING_ERROR_CODES","TRANSIENT_ERROR_CODES","TRANSIENT_ERROR_STATUS_CODES","NODEJS_NETWORK_ERROR_CODES","$retryable","isClockSkewCorrectedError","isBrowserNetworkError","errorMessages","isValid","throttling","getHomeDir","homeDirCache","getHomeDirCacheKey","geteuid","HOME","USERPROFILE","HOMEPATH","HOMEDRIVE","homeDirCacheKey","getSSOTokenFilepath","getHomeDir_1","hasher","getSSOTokenFromFile","tokenIntercept","getSSOTokenFilepath_1","ssoTokenFilepath","ssoTokenText","readFile","DEFAULT_PROFILE","getConfigData","indexOfSeparator","IniSectionType","updatedKey","PROFILE","ENV_CONFIG_PATH","getConfigFilepath","ENV_CREDENTIALS_PATH","getCredentialsFilepath","prefixKeyRegex","profileNameBlockList","parseIni","iniData","currentSection","currentSubSection","iniLine","trimmedLine","isSection","sectionName","indexOfEqualsSign","trimStart","swallowError$1","filepath","configFilepath","homeDir","relativeHomeDirPrefix","resolvedFilepath","resolvedConfigFilepath","parsedFiles","ignoreCache","getSsoSessionData","SSO_SESSION","swallowError","loadSsoSessionData","mergeConfigFiles","merged","parseKnownFiles","externalDataInterceptor","getFileRecord","fileIntercept","interceptFile","getTokenRecord","interceptToken","filePromises","utilHexEncoding","ALGORITHM_QUERY_PARAM","CREDENTIAL_QUERY_PARAM","AMZ_DATE_QUERY_PARAM","SIGNED_HEADERS_QUERY_PARAM","EXPIRES_QUERY_PARAM","SIGNATURE_QUERY_PARAM","TOKEN_QUERY_PARAM","REGION_SET_PARAM","AUTH_HEADER","AMZ_DATE_HEADER","DATE_HEADER","GENERATED_HEADERS","SIGNATURE_HEADER","SHA256_HEADER","TOKEN_HEADER","HOST_HEADER","ALWAYS_UNSIGNABLE_HEADERS","pragma","referer","te","PROXY_HEADER_PATTERN","SEC_HEADER_PATTERN","UNSIGNABLE_PATTERNS","ALGORITHM_IDENTIFIER","ALGORITHM_IDENTIFIER_V4A","EVENT_ALGORITHM_IDENTIFIER","UNSIGNED_PAYLOAD","MAX_CACHE_SIZE","KEY_TYPE_IDENTIFIER","MAX_PRESIGNED_TTL","signingKeyCache","cacheQueue","createScope","shortDate","getSigningKey","sha256Constructor","credsHash","hmac","toHex","signable","clearCredentialCache","getCanonicalHeaders","unsignableHeaders","signableHeaders","canonical","canonicalHeaderName","getPayloadHash","hashConstructor","hashCtor","HeaderFormatter","formatHeaderValue","shortView","setUint8","setInt16","intView","longBytes","binView","binBytes","utf8Bytes","strView","strBytes","tsBytes","Int64","fromNumber","UUID_PATTERN","uuidBytes","fromHex","negative","hasHeader","soughtHeader","moveHeadersToQuery","lname","unhoistableHeaders","hoistableHeaders","getCanonicalQuery","encodedKey","iso8601","SignatureV4Base","regionProvider","credentialProvider","applyChecksum","createCanonicalRequest","canonicalHeaders","payloadHash","sortedHeaders","getCanonicalPath","createStringToSign","longDate","canonicalRequest","hashedRequest","normalizedPathSegments","pathSegment","normalizedPath","doubleEncoded","validateResolvedCredentials","formatDate","getCanonicalHeaderList","headerFormatter","presign","originalRequest","expiresIn","getSignature","toSign","signString","signEvent","signMessage","signRequest","priorSignature","hashedPayload","hashedHeaders","signableMessage","requestToSign","keyPromise","signatureV4aContainer","SignatureV4a","optionsOrCb","useHandlerCache","cacheMiddleware","resolveMiddleware","SENSITIVE_STRING$1","schemaLogFilter","sensitive","isSensitive","ClassBuilder","resolveMiddlewareWithContext","middlewareFn","additionalContext","commandInstance","_init","_middlewareFn","_commandName","_clientName","_additionalContext","_smithyContext","_inputFilterSensitiveLog","_outputFilterSensitiveLog","_serializer","_deserializer","_operationSchema","endpointParameterInstructions","middlewareSupplier","inputFilter","outputFilter","ser","de","closure","CommandRef","SENSITIVE_STRING","methodImpl","paginatorName","paginatorFn","paginationConfiguration","waiterName","waiterFn","waiterConfiguration","maxWaitTime","throwDefaultError","parsedBody","exceptionCtor","errorCode","withBaseException","ExceptionCtor","getChecksumConfiguration","checksumAlgorithms","AlgorithmId","algorithmId","checksumConstructor","addChecksumAlgorithm","resolveChecksumRuntimeConfig","checksumAlgorithm","getRetryConfiguration","setRetryStrategy","resolveRetryRuntimeConfig","retryStrategyConfiguration","getDefaultClientConfiguration","getArrayIfSingleItem","mayBeArray","isSerializableHeaderValue","trace","arg0","arg1","arg2","mapWithFilter","applyInstruction","convertMap","take","_instructions","nonNullish","valueFn","pass","_value","defaultFilterPassed","customFilterPassed","serializeFloat","serializeDateTime","_json","HttpAuthLocation","EndpointURLScheme","SHA256","md5","MD5","RequestHandlerProtocol","querystringParser","util_buffer_from_1","BASE64_REGEX","TEXT_ENCODER","node_fs","ReadStream","fstatSync","numberSelector","numberValue","nodeConfigProvider","AWS_REGION_ENV","AWS_DEFAULT_REGION_ENV","DEFAULTS_MODE_OPTIONS","IMDS_REGION_PATH","AWS_DEFAULTS_MODE_ENV","AWS_DEFAULTS_MODE_CONFIG","NODE_DEFAULTS_MODE_CONFIG_OPTIONS","resolveNodeDefaultsModeAuto","clientRegion","inferredRegion","inferPhysicalRegion","getInstanceMetadataEndpoint","capacity","resolver","IP_V4_REGEX","VALID_HOST_LABEL_REGEX","debugId","toDebugString","argv","booleanEquals","value1","getAttrPathList","pathList","squareBracketIndex","arrayIndex","getAttr","isSet","not","HTTP","HTTPS","whatwgURL","urlString","isIp","inputContainsDefaultPort","stringEquals","stop","uriEncode","endpointFunctions","evaluateTemplate","evaluatedTemplateArr","templateContext","referenceRecord","currentIndex","openingBraceIndex","closingBraceIndex","refName","attrName","getReferenceValue","evaluateExpression","keyName","group$2","callFunction","evaluatedArgs","fnSegments","evaluateCondition","fnArgs","toAssign","evaluateConditions","conditionsReferenceRecord","getEndpointHeaders","headerVal","headerValEntry","processedExpr","getEndpointProperties","propertyKey","propertyVal","group$1","getEndpointProperty","propertyEntry","getEndpointUrl","evaluateEndpointRule","endpointRule","endpointRuleOptions","evaluateErrorRule","errorRule","evaluateRules","rule","endpointOrUndefined","evaluateTreeRule","treeRule","ruleSetObject","paramsWithDefault","paramKey","paramDefaultValue","requiredParams","requiredParam","SHORT_TO_HEX","HEX_TO_SHORT","encodedByte","beta","minCapacity","minFillRate","scaleConstant","smooth","currentCapacity","lastMaxRate","measuredTxRate","requestCount","fillRate","lastThrottleTime","lastTimestamp","lastTxRateBucket","maxCapacity","timeWindow","currentTimeInSeconds","getCurrentTimeInSeconds","acquireTokenBucket","amount","refillTokenBucket","setTimeoutFn","fillAmount","calculatedRate","updateMeasuredRate","rateToUse","calculateTimeWindow","cubicThrottle","enableTokenBucket","cubicSuccess","newRate","updateTokenBucketRate","getPrecise","timeBucket","currentRate","getDefaultRetryBackoffStrategy","computeNextBackoffDelay","setDelayBase","createDefaultRetryToken","getRetryCost","retryBackoffStrategy","retryTokenScope","delayFromErrorType","capacityCost","getCapacityCost","getCapacity","tokenToRenew","isRetryableError","standardRetryStrategy","ConfiguredRetryStrategy","ByteArrayCollector","allocByteArray","byteArrays","byteArray","aggregation","ChecksumStream","ReadableStreamRef","expectedChecksum","checksumSourceLocation","checksum","received","createChecksumStream","stream_type_check_1","ChecksumStream_browser_1","isReadableStream","ChecksumStream_1","createChecksumStream_browser_1","createBufferedReadable","node_stream_1","ByteArrayCollector_1","createBufferedReadableStream_1","createBufferedReadableStream","downstream","streamBufferingLoggedWarning","bytesSeen","chunkMode","modeOf","sizeOf","newSize","remainder","allowBuffer","getAwsChunkedEncodingStream","readableStream","checksumAlgorithmFn","checksumLocationName","streamHasher","checksumRequired","getAwsChunkedEncodingStream_browser_1","awsChunkedEncodingStream","headStream","byteLengthCounter","releaseLock","headStream_browser_1","bytesBuffered","excess","tailBuffer","splitStream","streamTypeCheck","transformToString","isBlob","fetch_http_handler_1","util_hex_encoding_1","ERR_MSG_STREAM_HAS_BEEN_TRANSFORMED","isBlobInstance","transformed","transformToByteArray","blobToWebStream","transformToWebStream","sdk_stream_mixin_browser_1","isEncoding","readableFlowing","toWeb","splitStream_browser_1","stream1","stream2","hexEncode","escapeUriPath","BYTES_PER_ELEMENT","getCircularReplacer","seen","WeakSet","waiterServiceDefaults","ABORTED","TIMEOUT","exponentialBackoffWithJitter","attemptCeiling","randomInRange","runPolling","acceptorChecks","observedResponses","createMessageFromResponse","currentAttempt","waitUntil","validateWaiterOptions","abortTimeout","clearListener","exitConditions","decimalToHex","rnds","getRandomValues","eventTargetShim","abortedFlags","defineEventAttribute","createAbortSignal","signals","getSignal","_err","INTERNAL","isSecureEndpoint","secureEndpoint","createSocket","connectOpts","addRequest","currentSocket","flatten","difference","pathSeparatorRe","processPatterns","exclusion","expandMapping","destBase","fileByDest","normalizeFilesArray","prop","expandOptions","mapObj","orig","lazystream","normalizePath","Stream","collection","dateify","dateish","lazyReadStream","normalizeInputSource","sanitizePath","trailingSlashIt","unixifyPath","walkdir","dirEntry","Archiver","formats","vending","setFormat","setModule","registerFormat","isRegisteredFormat","ArchiverError","win32","statConcurrency","_format","_module","_pending","_pointer","_entriesCount","_entriesProcessedCount","_fsEntriesTotalBytes","_fsEntriesProcessedBytes","_queue","_onQueueTask","drain","_onQueueDrain","_statQueue","_onStatQueueTask","finalizing","finalized","modulePiped","_streams","_abort","kill","idle","_shutdown","_append","task","Stats","_updateQueueTaskWithStats","_finalize","_moduleFinalize","_maybeFinalize","_moduleAppend","_task","processed","totalBytes","processedBytes","_modulePipe","_onModuleError","_moduleSupports","supports","_moduleUnpipe","unpipe","_normalizeEntryData","isDir","fullCallback","sourceType","linkPath","readlinkSync","dirName","linkname","destpath","dataFunction","globOptions","onGlobEnd","onGlobError","onGlobMatch","ignoreMatch","entryData","absolute","abortedError","finalizingError","pointer","ERROR_CODES","DIRECTORYDIRPATHREQUIRED","DIRECTORYFUNCTIONINVALIDDATA","ENTRYNAMEREQUIRED","FILEFILEPATHREQUIRED","FINALIZING","QUEUECLOSED","NOENDMETHOD","DIRECTORYNOTSUPPORTED","FORMATSET","INPUTSTEAMBUFFERREQUIRED","MODULESET","SYMLINKNOTSUPPORTED","SYMLINKFILEPATHREQUIRED","SYMLINKTARGETREQUIRED","ENTRYNOTSUPPORTED","crc32","Json","_writeStringified","fileString","onend","sourceBuffer","unsigned","engine","Tar","gzip","gzipOptions","compressor","createGzip","_onCompressorError","Zip","forceUTC","namePrependSlash","callArgs","initialParams","hasQueueMicrotask","hasSetImmediate","hasNextTick","fallback","defer","_defer$1","setImmediate$1","asyncify","isAsync","handlePromise","invokeCallback","isAsyncGenerator","wrapAsync","asyncFn","awaitify","arity","awaitable","cbArgs","applyEach$1","eachfn","applyEach","fns","go","that","_asyncMap","iteratee","_iteratee","iterCb","isArrayLike","breakLoop","breakLoop$1","wrapper","callFn","getIterator","coll","createArrayIterator","createES2015Iterator","createObjectIterator","okeys","onlyOnce","asyncEachOfLimit","canceled","awaiting","replenish","iterDone","iterateeCallback","eachOfLimit$2","nextElem","looping","elem","eachOfLimit","eachOfLimit$1","eachOfArrayLike","iteratorCallback","eachOfGeneric","eachOf","eachOfImplementation","eachOf$1","map$1","eachOfSeries","eachOfSeries$1","mapSeries","mapSeries$1","applyEachSeries","PROMISE_SYMBOL","promiseCallback","auto","tasks","numTasks","runningTasks","readyTasks","readyToCheck","uncheckedDependencies","enqueueTask","dependencies","remainingDependencies","dependencyName","checkForDeadlocks","processQueue","runTask","taskName","taskListeners","taskComplete","taskCallback","safeResults","rkey","taskFn","currentTask","getDependents","dependent","FN_ARGS","ARROW_FN_ARGS","FN_ARG_SPLIT","FN_ARG","stripComments","stripped","endBlockComment","endIndex","autoInject","newTasks","fnIsAsync","hasNoDeps","newTask","taskCb","newArgs","DLL","removeLink","insertAfter","newNode","insertBefore","setInitial","toArray","cur","testFn","dll","queue$1","worker","_worker","numRunning","workersList","saturated","unsaturated","handleAndRemove","trigger","processingScheduled","_insert","insertAtFront","rejectOnError","started","_createTaskItem","_tasks","_createCB","_maybeDrain","eventMethod","isProcessing","datum","pushAsync","unshiftAsync","cargo$1","cargo","memo","reduce$1","functions","_functions","newargs","nextargs","mapLimit","mapLimit$1","concatLimit","mapResults","concatLimit$1","concat$1","concatSeries","concatSeries$1","constant$1","ignoredArgs","_createTester","testPassed","testResult","detect$1","detectLimit","detectLimit$1","detectSeries","detectSeries$1","consoleFunc","resultArgs","doWhilst","_fn","_test","truth","doWhilst$1","doUntil","_withoutIndex","eachLimit$2","each","eachLimit","eachLimit$1","eachSeries","eachSeries$1","ensureAsync","innerArgs","every$1","everyLimit","everyLimit$1","everySeries","everySeries$1","filterArray","truthValues","filterGeneric","_filter","filter$1","filterLimit","filterLimit$1","filterSeries","filterSeries$1","forever","errback","forever$1","groupByLimit","groupByLimit$1","groupBy","groupBySeries","mapValuesLimit","mapValuesLimit$1","mapValues","mapValuesSeries","queues","unmemoized","_defer","_parallel","parallel","parallelLimit","Heap","heap","pushCount","percUp","smaller","percDown","leftChi","priorityQueue","createDataItems","race$1","reduceRight","reversed","reflect","reflectOn","reflectCallback","retVal","reflectAll","reject$2","reject$1","rejectLimit","rejectLimit$1","rejectSeries","rejectSeries$1","constant","DEFAULT_TIMES","DEFAULT_INTERVAL","intervalFunc","parseTimes","retryAttempt","errorFilter","retryable","series","some$1","someLimit","someLimit$1","someSeries","someSeries$1","sortBy","criteria","sortBy$1","timedOut","timeoutCallback","timesLimit","timesSeries","accumulator","tryEach","tryEach$1","unmemoize","whilst","whilst$1","until","waterfall","taskIndex","nextTask","waterfall$1","cargoQueue","allLimit","allSeries","anyLimit","anySeries","findLimit","findSeries","flatMapLimit","flatMapSeries","forEachSeries","forEachLimit","forEachOf","forEachOfSeries","forEachOfLimit","inject","foldl","foldr","select","selectLimit","selectSeries","wrapSync","during","doDuring","totalLength","targetStart","encodingOrOffset","byfeOffset","swap16","swap32","swap64","writeDoubleLE","writeFloatLE","writeUInt32LE","writeInt32LE","readDoubleLE","readFloatLE","readUInt32LE","readInt32LE","balanced","maybeMatch","pre","reg","begs","beg","ai","addHook","removeHook","Function","bindable","bindApi","removeHookRef","HookSingular","singularHookName","singularHookState","singularHook","HookCollection","collectionHookDeprecationMessageDisplayed","Hook","Singular","result_","registered","Chainsaw","Buffers","Vars","bufOrEm","getBytes","caughtEnd","builder","saw","words","vars","tap","nest","scan","taken","peek","light","ender","eof","decodeLEu","decodeBEu","decodeBEs","decodeLEs","bits","word8","word8u","word8be","word8s","word8bs","getset","commonjsGlobal","getCjsExportFromNamespace","onto","DLList","incr","decr","_first","_last","getArray","forEachShift","ref1","ref2","DLList_1","Events","_addListener","returned","Events_1","DLList$1","Events$1","Queues","num_priorities","_length","_lists","shiftAll","getFirst","shiftLastFrom","Queues_1","BottleneckError","BottleneckError_1","BottleneckError$1","DEFAULT_PRIORITY","Job","NUM_PRIORITIES","parser$1","jobDefaults","rejectOnDrop","_states","_sanitizePriority","_randomIndex","sProperty","doDrop","_assertStatus","jobStatus","doReceive","doQueue","reachedHWM","blocked","doRun","doExecute","chained","clearGlobalState","eventInfo","passed","doDone","error1","_onFailure","doExpire","Job_1","BottleneckError$2","LocalDatastore","parser$2","storeOptions","storeInstanceOptions","clientId","_nextRequest","_lastReservoirRefresh","_lastReservoirIncrease","_running","_unblockTime","ready","clients","_startHeartbeat","heartbeat","reservoirRefreshInterval","reservoirRefreshAmount","reservoirIncreaseInterval","reservoirIncreaseAmount","maximum","reservoir","_drainAll","computeCapacity","reservoirIncreaseMaximum","heartbeatInterval","__publish__","yieldLoop","__disconnect__","computePenalty","penalty","__updateSettings__","__running__","__queued__","__done__","__groupCheck__","maxConcurrent","conditionsCheck","weight","__incrementReservoir__","__currentReservoir__","isBlocked","__check__","__register__","wait","success","strategyIsBlock","strategy","__submit__","queueLength","highWater","_dropAllQueued","__free__","LocalDatastore_1","BottleneckError$3","States","status1","_jobs","counts","initial","statusJobs","statusCounts","States_1","DLList$2","Sync","_tryToRun","Sync_1","version$1","version$2","require$$2","require$$3","require$$4","Events$2","Group","IORedisConnection$1","RedisConnection$1","Scripts$1","parser$3","limiterOptions","deleteKey","instances","Bottleneck_1","_startAutoCleanup","sharedConnection","datastore","__runCommand__","allKeys","disconnect","limiters","clusterKeys","found","_store","updateSettings","Group_1","Batcher","Events$3","parser$4","_arr","_resetPromise","_lastFlush","_flush","_timeout","Batcher_1","require$$4$1","require$$8","DEFAULT_PRIORITY$1","Events$4","Job$1","LocalDatastore$1","NUM_PRIORITIES$1","Queues$1","RedisDatastore$1","States$1","Sync$1","parser$5","invalid","_addToQueue","_validateOptions","instanceDefaults","_queues","_scheduled","trackDoneStatus","_limiter","_submitLock","_registerLock","storeDefaults","redisStoreDefaults","localStoreDefaults","channel_client","clusterQueued","jobs","_clearGlobalState","_free","_run","_drainOne","drained","newCapacity","waitForExecuting","stopDefaults","dropWaitingJobs","dropErrorMessage","_receive","enqueueErrorMessage","shifted","LEAK","OVERFLOW_PRIORITY","OVERFLOW","submit","wrapped","withOptions","currentReservoir","incrementReservoir","BLOCK","RedisConnection","IORedisConnection","clientTimeout","Redis","clientOptions","clusterNodes","clearDatastore","lib","expandTop","escSlash","escOpen","escClose","escComma","escPeriod","escapeBraces","unescapeBraces","parseCommaParts","postParts","embrace","isPadded","el","isTop","expansions","expansion","isNumericSequence","isAlphaSequence","isSequence","isOptions","N","pad","need","bufs","dst","dStart","howMany","reps","removed","startBytes","ii","buf0","buf1","reps_","si","ti","bu","mstart","Traverse","ChainsawLight","isRoot","ps","trap","autonext","upgradeChainsaw","down","act","jump","ArchiveEntry","getSize","getLastModifiedDate","ArchiveOutputStream","_archive","processing","_appendBuffer","zae","_appendStream","_emitErrorCallback","ae","_normalizeEntry","_entry","getBytesWritten","WORD","DWORD","SHORT","SHORT_MASK","SHORT_SHIFT","SHORT_ZERO","LONG","LONG_ZERO","MIN_VERSION_INITIAL","MIN_VERSION_DATA_DESCRIPTOR","MIN_VERSION_ZIP64","VERSION_MADEBY","METHOD_STORED","METHOD_DEFLATED","PLATFORM_UNIX","PLATFORM_FAT","SIG_LFH","SIG_DD","SIG_CFH","SIG_EOCD","SIG_ZIP64_EOCD","SIG_ZIP64_EOCD_LOC","ZIP64_MAGIC_SHORT","ZIP64_MAGIC","ZIP64_EXTRA_ID","ZLIB_NO_COMPRESSION","ZLIB_BEST_SPEED","ZLIB_BEST_COMPRESSION","ZLIB_DEFAULT_COMPRESSION","MODE_MASK","DEFAULT_FILE_MODE","DEFAULT_DIR_MODE","EXT_FILE_ATTR_DIR","EXT_FILE_ATTR_FILE","S_IFMT","S_IFIFO","S_IFCHR","S_IFDIR","S_IFBLK","S_IFREG","S_IFLNK","S_IFSOCK","S_DOS_A","S_DOS_D","S_DOS_V","S_DOS_S","S_DOS_H","S_DOS_R","zipUtil","DATA_DESCRIPTOR_FLAG","ENCRYPTION_FLAG","NUMBER_OF_SHANNON_FANO_TREES_FLAG","SLIDING_DICTIONARY_SIZE_FLAG","STRONG_ENCRYPTION_FLAG","UFT8_NAMES_FLAG","GeneralPurposeBit","encryption","utf8","numberOfShannonFanoTrees","strongEncryption","slidingDictionarySize","getShortBytes","flag","getShortBytesValue","gbp","useDataDescriptor","useUTF8ForNames","useStrongEncryption","useEncryption","setSlidingDictionarySize","setNumberOfShannonFanoTrees","getNumberOfShannonFanoTrees","getSlidingDictionarySize","usesDataDescriptor","usesEncryption","usesStrongEncryption","usesUTF8ForNames","PERM_MASK","FILE_TYPE_FLAG","LINK_FLAG","FILE_FLAG","DIR_FLAG","DEFAULT_LINK_PERM","DEFAULT_DIR_PERM","DEFAULT_FILE_PERM","dateToDos","forceLocalTime","getFullYear","getMonth","getHours","getMinutes","getSeconds","dosToDate","dos","fromDosTime","getEightBytes","writeUInt16LE","readUInt16LE","getLongBytes","getLongBytesValue","toDosTime","UnixStat","ZipArchiveEntry","csize","gpb","crc","extra","exattr","inattr","setName","getCentralDirectoryExtra","getExtra","getCompressedSize","getCrc","getExternalAttributes","getGeneralPurposeBit","getInternalAttributes","getLocalFileDataExtra","getMethod","getPlatform","getTimeDos","getUnixMode","getVersionNeededToExtract","setComment","setCompressedSize","setCrc","setExternalAttributes","attr","setExtra","setGeneralPurposeBit","setInternalAttributes","setMethod","prependSlash","setPlatform","setSize","setUnixMode","extattr","setVersionNeededToExtract","isUnixSymlink","isZip64","CRC32Stream","DeflateCRC32Stream","ZipArchiveOutputStream","_defaults","_entries","centralLength","centralOffset","forceZip64","_afterAppend","_writeDataDescriptor","_writeLocalFileHeader","_smartStream","smart","_writeCentralFileHeader","_writeCentralDirectoryZip64","_writeCentralDirectoryEnd","_offsets","deflate","handleStuff","commentLength","fileOffset","compressedSize","extraBuf","normalized","xs","objectToString","isBoolean","isNull","isNullOrUndefined","isNumber","isString","isSymbol","isUndefined","isRegExp","isDate","isPrimitive","CRC32","DO_NOT_EXPORT_CRC","signed_crc_table","T0","slice_by_16_tables","TT","T1","T2","T3","T4","T5","T6","T7","T8","T9","Ta","Tb","Tc","Td","Te","Tf","crc32_bstr","bstr","seed","crc32_buf","crc32_str","writeInt32BE","rawSize","writeUInt32BE","hex","DeflateRaw","formatArgs","useColors","localstorage","warned","__nwjs","navigator","document","documentElement","style","WebkitAppearance","firebug","$1","humanize","color","lastC","setItem","removeItem","getItem","localStorage","formatters","setup","createDebug","skips","selectColor","prevTime","enableOverride","namespacesCache","enabledCache","formatter","logFn","newDebug","toNamespace","regexp","browser","tty","deprecate","supportsColor","inspectOpts","isatty","colorCode","hideDate","privateData","wrappers","pd","retv","setCancelFlag","passiveListener","preventDefault","eventTarget","eventPhase","currentTarget","immediateStopped","timeStamp","defineRedirectDescriptor","composedPath","NONE","CAPTURING_PHASE","AT_TARGET","BUBBLING_PHASE","stopPropagation","stopImmediatePropagation","defaultPrevented","composed","srcElement","cancelBubble","returnValue","initEvent","defineCallDescriptor","defineWrapper","BaseEvent","CustomEvent","isFunc","getWrapper","wrapEvent","Wrapper","setEventPhase","setCurrentTarget","setPassiveListener","CAPTURE","BUBBLE","ATTRIBUTE","getListeners","defineEventAttributeDescriptor","listenerType","passive","eventTargetPrototype","defineCustomEventTarget","eventNames","CustomEventTarget","optionsIsObj","capture","wrappedEvent","handleEvent","FixedFIFO","hwm","mask","btm","FastFIFO","polyfills","legacy","gracefulQueue","previousSymbol","publishQueue","fs$close","resetQueue","fs$closeSync","equal","TEST_GRACEFUL_FS_GLOBAL_PATCH","__patched","gracefulify","fs$readFile","go$readFile","fs$writeFile","go$writeFile","fs$appendFile","go$appendFile","fs$copyFile","go$copyFile","fs$readdir","noReaddirOptionVersions","go$readdir","fs$readdirCallback","legStreams","WriteStream","fs$ReadStream","ReadStream$open","fs$WriteStream","WriteStream$open","FileReadStream","FileWriteStream","fs$open","go$open","retryTimer","lastTime","sinceAttempt","sinceStart","desiredDelay","_open","origCwd","GRACEFUL_FS_PLATFORM","patchLchmod","lutimes","patchLutimes","chown","chownFix","fchown","lchown","chmodFix","fchmod","lchmod","chownSync","chownFixSync","fchownSync","lchownSync","chmodSync","chmodFixSync","fchmodSync","lchmodSync","statFix","fstat","statFixSync","fs$rename","backoff","CB","stater","st","fs$read","callback_","eagCounter","readSync","fs$readSync","O_WRONLY","O_SYMLINK","err2","threw","futimes","mt","er2","lutimesSync","futimesSync","chownErOk","nonroot","terminatorPosition","freeExports","freeModule","freeGlobal","regexAstralSymbols","regexAsciiWhitelist","regexBmpWhitelist","regexEncodeNonAscii","encodeMap","$","fj","regexEscape","escapeMap","regexInvalidEntity","regexInvalidRawCodePoint","regexDecode","aacute","Aacute","abreve","Abreve","acd","acE","acirc","Acirc","acute","acy","Acy","aelig","AElig","af","afr","Afr","agrave","Agrave","alefsym","aleph","alpha","Alpha","amacr","Amacr","amalg","amp","AMP","and","And","andand","andd","andslope","andv","ang","ange","angle","angmsd","angmsdaa","angmsdab","angmsdac","angmsdad","angmsdae","angmsdaf","angmsdag","angmsdah","angrt","angrtvb","angrtvbd","angsph","angst","angzarr","aogon","Aogon","aopf","Aopf","ap","apacir","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","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","bne","bnequiv","bnot","bNot","bopf","Bopf","bot","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","bsol","bsolb","bsolhsub","bull","bullet","bump","bumpe","bumpE","bumpeq","Bumpeq","cacute","Cacute","cap","Cap","capand","capbrcup","capcap","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","checkmark","chi","Chi","cir","circ","circeq","circlearrowleft","circlearrowright","circledast","circledcirc","circleddash","CircleDot","circledR","circledS","CircleMinus","CirclePlus","CircleTimes","cire","cirE","cirfnint","cirmid","cirscir","ClockwiseContourIntegral","CloseCurlyDoubleQuote","CloseCurlyQuote","clubs","clubsuit","colon","Colon","colone","Colone","coloneq","comma","commat","compfn","complement","complexes","cong","congdot","Congruent","conint","Conint","ContourIntegral","copf","Copf","coprod","Coproduct","copysr","CounterClockwiseContourIntegral","crarr","cross","Cross","cscr","Cscr","csub","csube","csup","csupe","ctdot","cudarrl","cudarrr","cuepr","cuesc","cularr","cularrp","cup","Cup","cupbrcap","cupcap","CupCap","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","DD","ddagger","ddarr","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","DotDot","doteq","doteqdot","DotEqual","dotminus","dotplus","dotsquare","doublebarwedge","DoubleContourIntegral","DoubleDot","DoubleDownArrow","DoubleLeftArrow","DoubleLeftRightArrow","DoubleLeftTee","DoubleLongLeftArrow","DoubleLongLeftRightArrow","DoubleLongRightArrow","DoubleRightArrow","DoubleRightTee","DoubleUpArrow","DoubleUpDownArrow","DoubleVerticalBar","downarrow","Downarrow","DownArrow","DownArrowBar","DownArrowUpArrow","DownBreve","downdownarrows","downharpoonleft","downharpoonright","DownLeftRightVector","DownLeftTeeVector","DownLeftVector","DownLeftVectorBar","DownRightTeeVector","DownRightVector","DownRightVectorBar","DownTee","DownTeeArrow","drbkarow","drcorn","drcrop","dscr","Dscr","dscy","DScy","dsol","dstrok","Dstrok","dtdot","dtri","dtrif","duarr","duhar","dwangle","dzcy","DZcy","dzigrarr","eacute","Eacute","easter","ecaron","Ecaron","ecir","ecirc","Ecirc","ecolon","ecy","Ecy","eDDot","edot","eDot","Edot","ee","efDot","efr","Efr","eg","egrave","Egrave","egs","egsdot","Element","elinters","ell","els","elsdot","emacr","Emacr","emptyset","EmptySmallSquare","emptyv","EmptyVerySmallSquare","emsp","emsp13","emsp14","eng","ENG","ensp","eogon","Eogon","eopf","Eopf","epar","eparsl","eplus","epsi","epsilon","Epsilon","epsiv","eqcirc","eqcolon","eqsim","eqslantgtr","eqslantless","Equal","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","fflig","ffllig","ffr","Ffr","filig","FilledSmallSquare","FilledVerySmallSquare","fjlig","fllig","fltns","fnof","fopf","Fopf","forall","ForAll","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","ges","gescc","gesdot","gesdoto","gesdotol","gesl","gesles","gfr","Gfr","gg","Gg","ggg","gimel","gjcy","GJcy","gl","gla","glE","glj","gnap","gnapprox","gne","gnE","gneq","gneqq","gnsim","gopf","Gopf","grave","GreaterEqual","GreaterEqualLess","GreaterFullEqual","GreaterGreater","GreaterLess","GreaterSlantEqual","GreaterTilde","gscr","Gscr","gsim","gsime","gsiml","Gt","GT","gtcc","gtcir","gtdot","gtlPar","gtquest","gtrapprox","gtrarr","gtrdot","gtreqless","gtreqqless","gtrless","gtrsim","gvertneqq","gvnE","Hacek","hairsp","half","hamilt","hardcy","HARDcy","harr","hArr","harrcir","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","iiiint","iiint","iinfin","iiota","ijlig","IJlig","Im","imacr","Imacr","ImaginaryI","imagline","imagpart","imath","imof","imped","Implies","incare","infin","infintie","inodot","int","Int","intcal","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","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","langd","langle","lap","Laplacetrf","laquo","larr","lArr","Larr","larrb","larrbfs","larrfs","larrhk","larrlp","larrpl","larrsim","larrtl","lat","latail","lAtail","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","leftarrow","Leftarrow","LeftArrow","LeftArrowBar","LeftArrowRightArrow","leftarrowtail","LeftCeiling","LeftDoubleBracket","LeftDownTeeVector","LeftDownVector","LeftDownVectorBar","LeftFloor","leftharpoondown","leftharpoonup","leftleftarrows","leftrightarrow","Leftrightarrow","LeftRightArrow","leftrightarrows","leftrightharpoons","leftrightsquigarrow","LeftRightVector","LeftTee","LeftTeeArrow","LeftTeeVector","leftthreetimes","LeftTriangle","LeftTriangleBar","LeftTriangleEqual","LeftUpDownVector","LeftUpTeeVector","LeftUpVector","LeftUpVectorBar","LeftVector","LeftVectorBar","leg","lEg","leq","leqq","leqslant","les","lescc","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","ll","Ll","llarr","llcorner","Lleftarrow","llhard","lltri","lmidot","Lmidot","lmoust","lmoustache","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","Lt","LT","ltcc","ltcir","ltdot","lthree","ltimes","ltlarr","ltquest","ltri","ltrie","ltrif","ltrPar","lurdshar","luruhar","lvertneqq","lvnE","macr","male","malt","maltese","mapsto","mapstodown","mapstoleft","mapstoup","marker","mcomma","mcy","Mcy","mdash","mDDot","measuredangle","MediumSpace","Mellintrf","mfr","Mfr","mho","micro","midast","midcir","middot","minusb","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","napprox","natur","natural","naturals","nbsp","nbump","nbumpe","ncap","ncaron","Ncaron","ncedil","Ncedil","ncong","ncongdot","ncup","ncy","Ncy","ndash","ne","nearhk","nearr","neArr","nearrow","nedot","NegativeMediumSpace","NegativeThickSpace","NegativeThinSpace","NegativeVeryThinSpace","nequiv","nesear","nesim","NestedGreaterGreater","NestedLessLess","NewLine","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","NotCongruent","NotCupCap","NotDoubleVerticalBar","NotElement","NotEqual","NotEqualTilde","NotExists","NotGreater","NotGreaterEqual","NotGreaterFullEqual","NotGreaterGreater","NotGreaterLess","NotGreaterSlantEqual","NotGreaterTilde","NotHumpDownHump","NotHumpEqual","notin","notindot","notinE","notinva","notinvb","notinvc","NotLeftTriangle","NotLeftTriangleBar","NotLeftTriangleEqual","NotLess","NotLessEqual","NotLessGreater","NotLessLess","NotLessSlantEqual","NotLessTilde","NotNestedGreaterGreater","NotNestedLessLess","notni","notniva","notnivb","notnivc","NotPrecedes","NotPrecedesEqual","NotPrecedesSlantEqual","NotReverseElement","NotRightTriangle","NotRightTriangleBar","NotRightTriangleEqual","NotSquareSubset","NotSquareSubsetEqual","NotSquareSuperset","NotSquareSupersetEqual","NotSubset","NotSubsetEqual","NotSucceeds","NotSucceedsEqual","NotSucceedsSlantEqual","NotSucceedsTilde","NotSuperset","NotSupersetEqual","NotTilde","NotTildeEqual","NotTildeFullEqual","NotTildeTilde","NotVerticalBar","npar","nparallel","nparsl","npart","npolint","npr","nprcue","npre","nprec","npreceq","nrarr","nrArr","nrarrc","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","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","ocir","ocirc","Ocirc","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","or","Or","orarr","ord","orderof","ordf","ordm","origof","oror","orslope","orv","oS","oscr","Oscr","oslash","Oslash","osol","otilde","Otilde","otimes","Otimes","otimesas","ouml","Ouml","ovbar","OverBar","OverBrace","OverBracket","OverParenthesis","par","para","parsim","parsl","PartialD","pcy","Pcy","percnt","period","permil","perp","pertenk","pfr","Pfr","phi","Phi","phiv","phmmat","phone","pi","Pi","pitchfork","piv","planck","planckh","plankv","plus","plusacir","plusb","pluscir","plusdo","plusdu","pluse","PlusMinus","plusmn","plussim","plustwo","Poincareplane","pointint","popf","Popf","pound","Pr","prap","prcue","prE","prec","precapprox","preccurlyeq","Precedes","PrecedesEqual","PrecedesSlantEqual","PrecedesTilde","preceq","precnapprox","precneqq","precnsim","precsim","prime","Prime","primes","prnap","prnE","prnsim","prod","Product","profalar","profline","profsurf","Proportion","Proportional","propto","prsim","prurel","pscr","Pscr","psi","Psi","puncsp","qfr","Qfr","qint","qopf","Qopf","qprime","qscr","Qscr","quaternions","quatint","quest","questeq","quot","QUOT","rAarr","racute","Racute","radic","raemptyv","rang","Rang","rangd","rangle","raquo","rarr","rArr","Rarr","rarrap","rarrb","rarrbfs","rarrc","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","Re","real","realine","realpart","reals","rect","REG","ReverseElement","ReverseEquilibrium","ReverseUpEquilibrium","rfisht","rfloor","rfr","Rfr","rHar","rhard","rharu","rharul","rho","Rho","rhov","RightAngleBracket","rightarrow","Rightarrow","RightArrow","RightArrowBar","RightArrowLeftArrow","rightarrowtail","RightCeiling","RightDoubleBracket","RightDownTeeVector","RightDownVector","RightDownVectorBar","RightFloor","rightharpoondown","rightharpoonup","rightleftarrows","rightleftharpoons","rightrightarrows","rightsquigarrow","RightTee","RightTeeArrow","RightTeeVector","rightthreetimes","RightTriangle","RightTriangleBar","RightTriangleEqual","RightUpDownVector","RightUpTeeVector","RightUpVector","RightUpVectorBar","RightVector","RightVectorBar","ring","risingdotseq","rlarr","rlhar","rlm","rmoust","rmoustache","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","Sc","scap","scaron","Scaron","sccue","sce","scE","scedil","Scedil","scirc","Scirc","scnap","scnE","scnsim","scpolint","scsim","scy","Scy","sdot","sdotb","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","simdot","sime","simeq","simg","simgE","siml","simlE","simne","simplus","simrarr","slarr","SmallCircle","smallsetminus","smashp","smeparsl","smid","smile","smt","smte","smtes","softcy","SOFTcy","sol","solb","solbar","sopf","Sopf","spades","spadesuit","spar","sqcap","sqcaps","sqcup","sqcups","Sqrt","sqsub","sqsube","sqsubset","sqsubseteq","sqsup","sqsupe","sqsupset","sqsupseteq","squ","square","Square","SquareIntersection","SquareSubset","SquareSubsetEqual","SquareSuperset","SquareSupersetEqual","SquareUnion","squarf","squf","srarr","sscr","Sscr","ssetmn","ssmile","sstarf","Star","starf","straightepsilon","straightphi","strns","Sub","subdot","sube","subE","subedot","submult","subne","subnE","subplus","subrarr","Subset","subseteq","subseteqq","SubsetEqual","subsetneq","subsetneqq","subsim","subsub","subsup","succ","succapprox","succcurlyeq","Succeeds","SucceedsEqual","SucceedsSlantEqual","SucceedsTilde","succeq","succnapprox","succneqq","succnsim","succsim","SuchThat","Sum","sung","sup","Sup","sup1","sup2","sup3","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","tau","Tau","tbrk","tcaron","Tcaron","tcedil","Tcedil","tcy","Tcy","tdot","telrec","tfr","Tfr","there4","therefore","Therefore","theta","Theta","thetasym","thetav","thickapprox","thicksim","ThickSpace","thinsp","ThinSpace","thkap","thksim","thorn","THORN","tilde","Tilde","TildeEqual","TildeFullEqual","TildeTilde","timesb","timesbar","timesd","tint","toea","topbot","topcir","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","uparrow","Uparrow","UpArrow","UpArrowBar","UpArrowDownArrow","updownarrow","Updownarrow","UpDownArrow","UpEquilibrium","upharpoonleft","upharpoonright","uplus","UpperLeftArrow","UpperRightArrow","upsi","Upsi","upsih","upsilon","Upsilon","UpTee","UpTeeArrow","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","vee","Vee","veebar","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","decodeMapLegacy","decodeMapNumeric","invalidReferenceCodePoints","stringFromCharCode","propertyName","codePointToSymbol","codePoint","parseError","hexEscape","decEscape","encodeEverything","useNamedReferences","allowUnsafeSymbols","escapeCodePoint","decimal","escapeBmpSymbol","html","$2","$3","$4","$5","$6","$7","$8","semicolon","decDigits","hexDigits","reference","isAttributeValue","he","unescape","nodeType","HttpProxyAgent","debug_1","events_1","agent_base_1","proxyHeaders","_header","setRequestProps","getHeader","setHeader","endOfHeaders","_implicitHeader","outputData","HttpsProxyAgent","parse_proxy_response_1","setServernameFromNonIpHost","isIPv6","Host","proxyResponsePromise","parseProxyResponse","buffered","fakeSocket","Socket","buffersLength","ondata","cleanup","headerParts","firstLine","firstLineParts","firstColon","https_1","incrementSockets","maxTotalSockets","totalSocketCount","decrementSockets","superCtor","super_","TempCtor","prot","loader","dumper","FAILSAFE_SCHEMA","JSON_SCHEMA","CORE_SCHEMA","DEFAULT_SCHEMA","loadAll","YAMLException","binary","null","pairs","omap","safeLoad","safeLoadAll","safeDump","isNothing","subject","sourceKeys","cycle","isNegativeZero","common","_toString","_hasOwnProperty","CHAR_BOM","CHAR_TAB","CHAR_LINE_FEED","CHAR_CARRIAGE_RETURN","CHAR_SPACE","CHAR_EXCLAMATION","CHAR_DOUBLE_QUOTE","CHAR_SHARP","CHAR_PERCENT","CHAR_AMPERSAND","CHAR_SINGLE_QUOTE","CHAR_ASTERISK","CHAR_COMMA","CHAR_MINUS","CHAR_COLON","CHAR_EQUALS","CHAR_GREATER_THAN","CHAR_QUESTION","CHAR_COMMERCIAL_AT","CHAR_LEFT_SQUARE_BRACKET","CHAR_RIGHT_SQUARE_BRACKET","CHAR_GRAVE_ACCENT","CHAR_LEFT_CURLY_BRACKET","CHAR_VERTICAL_LINE","CHAR_RIGHT_CURLY_BRACKET","ESCAPE_SEQUENCES","DEPRECATED_BOOLEANS_SYNTAX","DEPRECATED_BASE60_SYNTAX","compileStyleMap","compiledTypeMap","styleAliases","encodeHex","character","QUOTING_TYPE_SINGLE","QUOTING_TYPE_DOUBLE","State","noArrayIndent","skipInvalid","flowLevel","styleMap","sortKeys","noRefs","noCompatMode","condenseFlow","quotingType","forceQuotes","implicitTypes","compiledImplicit","explicitTypes","compiledExplicit","duplicates","usedDuplicates","indentString","spaces","ind","generateNextLine","testImplicitResolving","isWhitespace","isPrintable","isNsCharOrWhitespace","isPlainSafe","inblock","cIsNsCharOrWhitespace","cIsNsChar","isPlainSafeFirst","isPlainSafeLast","codePointAt","needIndentIndicator","leadingSpaceRe","STYLE_PLAIN","STYLE_SINGLE","STYLE_LITERAL","STYLE_FOLDED","STYLE_DOUBLE","chooseScalarStyle","singleLineOnly","indentPerLevel","testAmbiguousType","hasLineBreak","hasFoldableLine","shouldTrackWidth","previousLineBreak","plain","writeScalar","iskey","testAmbiguity","blockHeader","dropEndingNewline","foldString","escapeString","indentIndicator","clip","keep","chomp","lineRe","nextLF","foldLine","prevMoreIndented","moreIndented","breakRe","escapeSeq","writeFlowSequence","_result","_tag","writeNode","writeBlockSequence","compact","writeFlowMapping","objectKeyList","objectKey","objectValue","pairBuffer","writeBlockMapping","explicitPair","detectType","explicit","typeList","instanceOf","multi","representName","represent","defaultStyle","isblockseq","tagStr","objectOrArray","duplicateIndex","duplicate","getDuplicateReferences","objects","duplicatesIndexes","inspectNode","formatError","where","column","snippet","makeSnippet","CONTEXT_FLOW_IN","CONTEXT_FLOW_OUT","CONTEXT_BLOCK_IN","CONTEXT_BLOCK_OUT","CHOMPING_CLIP","CHOMPING_STRIP","CHOMPING_KEEP","PATTERN_NON_PRINTABLE","PATTERN_NON_ASCII_LINE_BREAKS","PATTERN_FLOW_INDICATORS","PATTERN_TAG_HANDLE","PATTERN_TAG_URI","_class","is_EOL","is_WHITE_SPACE","is_WS_OR_EOL","is_FLOW_INDICATOR","fromHexCode","escapedHexLen","fromDecimalCode","simpleEscapeSequence","charFromCodepoint","setProperty","simpleEscapeCheck","simpleEscapeMap","onWarning","typeMap","lineStart","lineIndent","firstTabInLine","documents","generateError","throwError","throwWarning","directiveHandlers","YAML","handleYamlDirective","checkLineBreaks","TAG","handleTagDirective","tagMap","captureSegment","checkJson","_position","_character","mergeMappings","overridableKeys","quantity","storeMappingPair","startLineStart","startPos","readLineBreak","skipSeparationSpace","allowComments","checkIndent","lineBreaks","testDocumentSeparator","writeFoldedLines","readPlainScalar","nodeIndent","withinFlowCollection","preceding","following","captureStart","captureEnd","hasPendingContent","_line","_lineStart","_lineIndent","_kind","readSingleQuotedScalar","readDoubleQuotedScalar","hexLength","hexResult","readFlowCollection","readNext","_pos","_anchor","terminator","isPair","isExplicitPair","isMapping","anchorMap","composeNode","readBlockScalar","folding","chomping","didReadContent","detectedIndent","textIndent","emptyLines","atMoreIndented","readBlockSequence","detected","readBlockMapping","flowIndent","allowCompact","_keyLine","_keyLineStart","_keyPos","atExplicitKey","readTagProperty","isVerbatim","isNamed","tagHandle","tagName","readAnchorProperty","readAlias","parentIndent","nodeContext","allowToSeek","allowBlockStyles","allowBlockScalars","allowBlockCollections","indentStatus","atNewLine","hasContent","typeIndex","typeQuantity","blockIndent","construct","readDocument","documentStart","directiveName","directiveArgs","hasDirectives","loadDocuments","nullpos","compileList","currentType","newIndex","previousType","previousIndex","compileMap","mapping","collectType","definition","implicit","loadKind","getLine","lineEnd","maxLineLength","maxHalfLength","maxLength","linesBefore","linesAfter","lineStarts","lineEnds","foundLineNo","lineNoLength","TYPE_CONSTRUCTOR_OPTIONS","YAML_NODE_KINDS","compileStyleAliases","BASE64_MAP","resolveYamlBinary","bitlen","constructYamlBinary","tailbits","representYamlBinary","isBinary","resolveYamlBoolean","constructYamlBoolean","uppercase","camelcase","YAML_FLOAT_PATTERN","resolveYamlFloat","constructYamlFloat","SCIENTIFIC_WITHOUT_DOT","representYamlFloat","isFloat","isHexCode","isOctCode","isDecCode","resolveYamlInteger","hasDigits","constructYamlInteger","octal","hexadecimal","resolveYamlMerge","resolveYamlNull","constructYamlNull","resolveYamlOmap","objectKeys","pairKey","pairHasKey","constructYamlOmap","resolveYamlPairs","constructYamlPairs","resolveYamlSet","constructYamlSet","YAML_DATE_REGEXP","YAML_TIMESTAMP_REGEXP","resolveYamlTimestamp","constructYamlTimestamp","tz_hour","tz_minute","representYamlTimestamp","InvalidTokenError","beforeFirstCall","pna","allowHalfOpen","onEndNT","ReadableState","EElistenerCount","emitter","OurUint8Array","_uint8ArrayToBuffer","_isUint8Array","debugUtil","BufferList","destroyImpl","kProxyEvents","prependListener","isDuplex","readableHwm","defaultHwm","pipes","pipesCount","flowing","reading","needReadable","emittedReadable","readableListening","resumeScheduled","defaultEncoding","awaitDrain","readingMore","_undestroy","undestroy","skipChunkCheck","readableAddChunk","addToFront","onEofChunk","chunkInvalid","addChunk","maybeReadMore","needMoreData","emitReadable","isPaused","MAX_HWM","computeNewHighWaterMark","howMuchToRead","nOrig","endReadable","doRead","fromList","emitReadable_","flow","maybeReadMore_","pipeOpts","doEnd","endFn","onunpipe","unpipeInfo","hasUnpiped","ondrain","pipeOnDrain","cleanedUp","onfinish","increasedAwaitDrain","dests","nReadingNextTick","resume_","_this","_fromList","fromListPartial","hasStrings","copyFromBufferString","copyFromBuffer","nb","endReadableNT","afterTransform","ts","_transformState","transforming","writecb","writechunk","rs","needTransform","writeencoding","prefinish","_this2","WriteReq","CorkedRequest","onCorkedFinish","asyncWrite","WritableState","internalUtil","writableObjectMode","writableHwm","finalCalled","ending","noDecode","decodeStrings","writing","corked","bufferProcessing","onwrite","writelen","bufferedRequest","lastBufferedRequest","pendingcb","prefinished","bufferedRequestCount","corkedRequestsFree","getBuffer","realHasInstance","writev","_writev","final","writeAfterEnd","validChunk","isBuf","writeOrBuffer","clearBuffer","setDefaultEncoding","decodeChunk","newChunk","doWrite","onwriteError","finishMaybe","onwriteStateUpdate","needFinish","afterWrite","onwriteDrain","holder","allBuffers","endWritable","callFinal","corkReq","_classCallCheck","Constructor","copyBuffer","readableDestroyed","writableDestroyed","emitErrorNT","READABLE_STREAM","hashClear","hashDelete","hashGet","hashHas","hashSet","listCacheClear","listCacheDelete","listCacheGet","listCacheHas","listCacheSet","ListCache","getNative","mapCacheClear","mapCacheDelete","mapCacheGet","mapCacheHas","mapCacheSet","MapCache","setCacheAdd","setCacheHas","SetCache","__data__","baseIndexOf","arrayIncludes","arrayIncludesWith","baseTimes","isArguments","isIndex","objectProto","arrayLikeKeys","inherited","isArr","isArg","isBuff","isType","skipIndexes","arrayMap","arrayPush","assocIndexOf","baseUnary","cacheHas","LARGE_ARRAY_SIZE","baseDifference","isCommon","valuesLength","outer","computed","valuesIndex","baseFindIndex","fromIndex","fromRight","isFlattenable","baseFlatten","isStrict","getRawTag","nullTag","undefinedTag","symToStringTag","baseGetTag","baseIsNaN","strictIndexOf","isObjectLike","argsTag","baseIsArguments","isMasked","toSource","reRegExpChar","reIsHostCtor","funcProto","funcToString","reIsNative","baseIsNative","isLength","arrayTag","boolTag","dateTag","errorTag","funcTag","mapTag","numberTag","objectTag","regexpTag","setTag","stringTag","weakMapTag","arrayBufferTag","dataViewTag","float32Tag","float64Tag","int8Tag","int16Tag","int32Tag","uint8Tag","uint8ClampedTag","uint16Tag","uint32Tag","typedArrayTags","baseIsTypedArray","nativeKeysIn","baseKeysIn","isProto","overRest","setToString","baseRest","baseSetToString","createSet","setToArray","baseUniq","seenIndex","coreJsData","INFINITY","isKeyable","getMapData","getValue","overArg","getPrototype","nativeObjectToString","isOwn","unmasked","nativeCreate","HASH_UNDEFINED","spreadableSymbol","isConcatSpreadable","reIsUint","isIterateeCall","maskSrcKey","IE_PROTO","Ctor","arrayProto","moduleExports","freeProcess","require","binding","nativeMax","otherArgs","freeSelf","shortOut","HOT_COUNT","HOT_SPAN","nativeNow","lastCalled","stamp","keysIn","sources","props","propsIndex","propsLength","isArrayLikeObject","stubFalse","nativeIsBuffer","asyncTag","genTag","proxyTag","objectCtorString","nodeIsTypedArray","arrays","GLOBSTAR","plTypes","qmark","twoStarDot","twoStarNoDot","reSpecials","charSet","slashSplit","def","makeRe","braceExpand","assertValidPattern","allowWindowsEscape","make","parseNegate","globSet","globParts","negateOffset","MAX_PATTERN_LENGTH","SUBPARSE","noglobstar","hasMagic","patternListStack","negativeLists","stateChar","inClass","reClassStart","classStart","patternStart","clearStateChar","reStart","pl","reEnd","sp","addPatternStart","nl","nlBefore","nlFirst","nlLast","nlAfter","openParensBefore","cleanAfter","newRe","globUnescape","regExp","_glob","_src","twoStar","nonull","matchBase","hit","flipNegate","fi","fl","swallowee","concatMap","_0777","mkdirp","made","xfs","err0","err1","fmtLong","fmtShort","msAbs","isPlural","stripTrailing","segs","wrappy","onceStrict","onceError","arg3","afterTickOne","afterTickTwo","afterTickThree","afterTick","SymbolDispose","codes","isNodeStream","isWebStream","kControllerErrorFunction","eos","ERR_INVALID_ARG_TYPE","validateAbortSignal","addAbortSignal","addAbortSignalNoValidate","disposable","StringPrototypeSlice","SymbolIterator","TypedArrayPrototypeSet","_getString","_getBuffer","retLen","customInspect","destroyer","isWritable","isTransformStream","isWritableStream","ERR_INVALID_ARG_VALUE","ERR_MISSING_ARGS","streams","orgStreams","onreadable","onfinished","getWriter","toRead","aggregateTwoErrors","ERR_MULTIPLE_CALLBACK","kIsDestroyed","isFinished","isServerRequest","checkError","constructed","onDestroy","emitErrorCloseNT","emitCloseNT","emitClose","errorOrDestroy","_construct","constructNT","onConstruct","emitConstructNT","emitCloseLegacy","emitErrorCloseLegacy","ObjectDefineProperties","ObjectGetOwnPropertyDescriptor","ObjectKeys","ObjectSetPrototypeOf","writableBuffer","writableLength","writableFinished","writableCorked","writableEnded","webStreamsAdapters","lazyWebStreams","fromWeb","newStreamDuplexFromReadableWritablePair","newReadableWritablePairFromDuplex","duplexify","bufferModule","isReadableNodeStream","isWritableNodeStream","isDuplexNodeStream","ERR_INVALID_RETURN_VALUE","FunctionPrototypeCall","Duplexify","_duplexify","fromAsyncGen","ERR_STREAM_PREMATURE_CLOSE","kEmptyObject","validateFunction","validateObject","validateBoolean","PromisePrototypeThen","isReadableFinished","isReadableErrored","isWritableFinished","isWritableErrored","willEmitClose","_willEmitClose","kIsClosedPromise","_options$readable","_options$writable","eosWeb","wState","onlegacyfinish","readableFinished","onclosed","onrequest","endCallback","originalCallback","resolverFn","_opts","autoCleanup","SymbolAsyncIterator","ERR_STREAM_NULL_VALUES","hadError","hasThrow","throw","ArrayIsArray","_isStdio","didOnEnd","ERR_OUT_OF_RANGE","validateInteger","kWeakHandler","kResistStopPropagation","staticCompose","ArrayPrototypePush","MathFloor","NumberIsNaN","PromiseReject","PromiseResolve","kEmpty","kEof","composedStream","signalOpt","cnt","onCatch","afterItemProcessed","maybeResume","pump","asIndexedPairs","_options$signal","unused","forEachFn","filterFn","ReduceAwareErrMissingArgs","reducer","initialValue","_options$signal2","hasInitialValue","gotAnyItemFromStream","_options$signal3","_options$signal4","toIntegerOrInfinity","drop","_options$signal5","_options$signal6","_options$signal7","_options$signal8","streamReturningOperators","promiseReturningOperators","ERR_STREAM_DESTROYED","popCallback","makeAsyncIterable","fromReadable","pumpToNode","onresolve","pumpToWeb","pipelineImpl","outerSignal","lastStreamCleanup","finishImpl","destroys","finishCount","_disposable","isLastStream","_ret","_ret2","pt","ArrayPrototypeIndexOf","NumberIsInteger","NumberParseInt","SafeSet","SymbolAsyncDispose","getHighWaterMark","getDefaultHighWaterMark","ERR_METHOD_NOT_IMPLEMENTED","ERR_STREAM_PUSH_AFTER_EOF","ERR_STREAM_UNSHIFT_AFTER_END_EVENT","kPaused","kObjectMode","kEnded","kEndEmitted","kConstructed","kSync","kNeedReadable","kEmittedReadable","kReadableListening","kResumeScheduled","kErrorEmitted","kEmitClose","kAutoDestroy","kCloseEmitted","kMultiAwaitDrain","kReadingMore","kDataEmitted","makeBitMapDescriptor","bit","multiAwaitDrain","awaitDrainWriters","captureRejectionSymbol","pipeOnDrainFunctionResult","updateReadableListening","streamKeys","streamToAsyncIterator","iter","createAsyncIterator","destroyOnReturn","readableAborted","readableBuffer","readableLength","readableEncoding","endWritableNT","newStreamReadableFromReadableStream","streamReadable","newReadableStreamFromStreamReadable","_src$readableObjectMo","defaultHighWaterMarkBytes","defaultHighWaterMarkObjectMode","highWaterMarkFrom","duplexKey","setDefaultHighWaterMark","kCallback","SymbolFor","kIsErrored","kIsReadable","kIsWritable","kIsDisturbed","_obj$_readableState","_obj$_writableState","isWritableEnded","isReadableEnded","_stream$_writableStat","_stream$_writableStat2","writableErrored","_stream$_readableStat","_stream$_readableStat2","readableErrored","isOutgoingMessage","_defaultKeepAlive","_removedConnection","_removedContLen","isServerResponse","_sent100","_stream$req","_consuming","_dumped","upgradeOrConnect","_stream$kIsDisturbed","_ref2","_ref3","_ref4","_ref5","_stream$kIsErrored","_stream$_readableStat3","_stream$_writableStat3","_stream$_readableStat4","_stream$_writableStat4","ArrayPrototypeSlice","FunctionPrototypeSymbolHasInstance","ObjectDefineProperty","StringPrototypeToLowerCase","SymbolHasInstance","ERR_STREAM_CANNOT_PIPE","ERR_STREAM_ALREADY_FINISHED","ERR_STREAM_WRITE_AFTER_END","ERR_UNKNOWN_ENCODING","kOnFinished","afterWriteTickInfo","resetBuffer","bufferedIndex","allNoop","errorBuffer","afterWriteTick","_state$errored","onfinishCallbacks","_state$errored2","bufferedLength","onFinish","writableAborted","writableStream","newStreamWritableFromWritableStream","streamWritable","newWritableStreamFromStreamWritable","ArrayPrototypeIncludes","ArrayPrototypeJoin","ArrayPrototypeMap","NumberMAX_SAFE_INTEGER","NumberMIN_SAFE_INTEGER","ObjectPrototypeHasOwnProperty","RegExpPrototypeExec","StringPrototypeToUpperCase","StringPrototypeTrim","hideStackFrames","ERR_SOCKET_BAD_PORT","ERR_UNKNOWN_SIGNAL","normalizeEncoding","isAsyncFunction","isArrayBufferView","isInt32","isUint32","octalReg","modeDesc","parseFileMode","validateUint32","validateInt32","positive","validateString","validateNumber","validateOneOf","oneOf","getOwnPropertyValueOrDefault","allowArray","allowFunction","nullable","validateDictionary","validateArray","minLength","validateStringArray","validateBooleanArray","validateAbortSignalArray","indexedName","validateSignalName","validateBuffer","validateEncoding","normalizedEncoding","validatePort","allowZero","validatePlainFunction","validateUndefined","validateUnion","linkValueRegExp","validateLinkHeaderFormat","validateLinkHeaderValue","hints","hintsLength","AggregateError","CustomAggregateError","kIsNodeError","kTypes","classRegExp","nodeInternalPrefix","ERR_INTERNAL_ASSERTION","addNumericalSeparator","getMessage","Base","NodeError","hidden","innerError","outerError","actual","_actual$constructor","inspected","_value$constructor","CustomStream","originalDestroy","ArrayPrototypePop","thisArgs","PromisePrototypeCatch","thenFn","catchFn","ReflectApply","RegExpPrototypeTest","AsyncFunction","_unused","_removeEventListener","AbortSignalAny","customPromisify","ERR_ILLEGAL_CONSTRUCTOR","internalBuffer","lastArg","readdirGlob","withFileTypes","followSymlinks","statFunc","exploreWalkAsync","shouldSkip","explore","readOptions","ignore","nodir","ReaddirGlob","matchers","ignoreMatchers","ignorePatterns","skipMatchers","skipPatterns","_shouldSkipDirectory","inactive","_matches","_next","_fileMatches","addPatternStartSet","charUnescape","braExpEscape","windowsPathsNoEscape","dotTravAllowed","dotFileAllowed","subPatternStart","plEntry","closeParensBefore","copyProps","SafeBuffer","SlowBuffer","tok","makeSafeRe","defaultResult","rangeTmp","sameDirectionIncreasing","sameDirectionDecreasing","sameSemVer","differentDirectionsInclusive","oppositeDirectionsLessThan","oppositeDirectionsGreaterThan","compRe","tb","STREAM_DESTROYED","PREMATURE_CLOSE","queueTick","FIFO","OPENING","PREDESTROYING","DESTROYING","DESTROYED","NOT_OPENING","NOT_PREDESTROYING","READ_ACTIVE","READ_UPDATING","READ_PRIMARY","READ_QUEUED","READ_RESUMED","READ_PIPE_DRAINED","READ_ENDING","READ_EMIT_DATA","READ_EMIT_READABLE","READ_EMITTED_READABLE","READ_DONE","READ_NEXT_TICK","READ_NEEDS_PUSH","READ_READ_AHEAD","READ_FLOWING","READ_ACTIVE_AND_NEEDS_PUSH","READ_PRIMARY_AND_ACTIVE","READ_EMIT_READABLE_AND_QUEUED","READ_RESUMED_READ_AHEAD","READ_NOT_ACTIVE","READ_NON_PRIMARY","READ_NON_PRIMARY_AND_PUSHED","READ_PUSHED","READ_PAUSED","READ_NOT_QUEUED","READ_NOT_ENDING","READ_PIPE_NOT_DRAINED","READ_NOT_NEXT_TICK","READ_NOT_UPDATING","READ_NO_READ_AHEAD","READ_PAUSED_NO_READ_AHEAD","WRITE_ACTIVE","WRITE_UPDATING","WRITE_PRIMARY","WRITE_QUEUED","WRITE_UNDRAINED","WRITE_DONE","WRITE_EMIT_DRAIN","WRITE_NEXT_TICK","WRITE_WRITING","WRITE_FINISHING","WRITE_NOT_ACTIVE","WRITE_NON_PRIMARY","WRITE_NOT_FINISHING","WRITE_DRAINED","WRITE_NOT_QUEUED","WRITE_NOT_NEXT_TICK","WRITE_NOT_UPDATING","NOT_ACTIVE","DESTROY_STATUS","OPEN_STATUS","AUTO_DESTROY","NON_PRIMARY","ACTIVE_OR_TICKING","TICKING","IS_OPENING","READ_PRIMARY_STATUS","READ_STATUS","READ_ENDING_STATUS","READ_READABLE_STATUS","SHOULD_NOT_READ","READ_BACKPRESSURE_STATUS","READ_UPDATE_SYNC_STATUS","WRITE_PRIMARY_STATUS","WRITE_QUEUED_AND_UNDRAINED","WRITE_QUEUED_AND_ACTIVE","WRITE_DRAIN_STATUS","WRITE_STATUS","WRITE_PRIMARY_AND_ACTIVE","WRITE_ACTIVE_AND_WRITING","WRITE_FINISHING_STATUS","WRITE_BACKPRESSURE_STATUS","WRITE_UPDATE_SYNC_STATUS","mapWritable","byteLengthWritable","drains","defaultByteLength","afterUpdateNextTick","updateWriteNT","_duplexState","autoBatch","updateNonPrimary","continueUpdate","afterFinal","afterDestroy","afterOpen","updateCallback","updateNextTick","mapReadable","byteLengthReadable","readAhead","afterRead","updateReadNT","Pipeline","isStreamx","afterDrain","TransformState","afterPipe","pipeToFinished","tickDrains","writes","newListener","predestroy","_predestroy","destroying","eagerOpen","_fromAsyncIterator","ite","isReadStreamx","isBackpressured","promiseResolve","promiseReject","batch","isWritev","transformAfterFlush","pipelinePromise","errorHandle","rd","getStreamError","_normalizeEncoding","retried","nenc","utf16Text","utf16End","fillLast","utf8FillLast","base64Text","base64End","simpleWrite","simpleEnd","lastNeed","lastTotal","lastChar","utf8End","utf8Text","utf8CheckByte","utf8CheckIncomplete","utf8CheckExtraBytes","hasFlag","forceColor","FORCE_COLOR","translateLevel","hasBasic","has256","has16m","haveStream","streamIsTTY","TERM","osRelease","CI_NAME","TEAMCITY_VERSION","COLORTERM","TERM_PROGRAM_VERSION","TERM_PROGRAM","getSupportLevel","isTTY","b4a","shiftFirst","_buffered","rem","Source","_parent","_stream","_update","_detach","_missing","overflow","_longHeader","_callback","_locked","_pax","_paxGlobal","_gnuLongPath","_gnuLongLinkPath","_filenameEncoding","filenameEncoding","_allowUnknownFormat","allowUnknownFormat","_unlockBound","_unlock","_continueWrite","_consumeHeader","_applyLongHeaders","_createStream","linkpath","pax","_decodeLongHeader","decodeLongPath","decodePax","_consumeLongHeader","_consumeStream","entryStream","entryCallback","extract","onentry","onnext","consumeCallback","ZEROS","SEVENS","ZERO_OFFSET","USTAR_MAGIC","USTAR_VER","GNU_MAGIC","GNU_VER","MASK","MAGIC_OFFSET","VERSION_OFFSET","decodeStr","encodePax","addLength","typeflag","encodeOct","encodeSize","toTypeflag","uname","gname","devmajor","devminor","cksum","decodeOct","toType","isUSTAR","isGNU","encodeSizeBin","parse256","tuple","digits","DMODE","FMODE","END_OF_TAR","Sink","written","_linkname","_isLinkname","_isVoid","_pack","_openCallback","_continueOpen","_continuePack","_finalized","_encode","_drain","_getError","Pack","_finalizing","modeToType","sink","_encodePax","paxHeader","newHeader","_doDrain","RANDOM_CHARS","TEMPLATE_PATTERN","DEFAULT_TRIES","CREATE_FLAGS","O_CREAT","O_EXCL","O_RDWR","IS_WIN32","EBADF","errno","ENOENT","DIR_MODE","FILE_MODE","EXIT","_removeObjects","FN_RMDIR_SYNC","rmdirSync","_gracefulCleanup","rimraf","dirPath","FN_RIMRAF_SYNC","rmSync","_parseArguments","_assertAndSanitizeOptions","sanitizedOptions","tries","_getUniqueName","_generateTmpName","_assertAndSanitizeOptionsSync","_tmpNameCreated","_fileCreated","discardDescriptor","_discardCallback","possibleErr","_prepareTmpFileRemoveCallback","discardOrDetachDescriptor","detachDescriptor","fileSync","removeCallback","_dirCreated","_prepareTmpDirRemoveCallback","dirSync","_removeFileAsync","fdPath","_handler","_isENOENT","_removeFileSync","rethrownException","_isEBADF","unlinkSync","removeCallbackSync","_prepareRemoveCallback","removeFunction","unsafeCleanup","removeFunctionSync","fileOrDirName","cleanupCallbackSync","_cleanupCallback","_garbageCollector","_randomChars","rnd","pseudoRandomBytes","_isUndefined","actualOptions","_resolvePath","pathToResolve","isAbsolute","parentDir","_resolvePathSync","realpathSync","pid","_assertOptionsBase","_getRelativePath","relativePath","_getRelativePathSync","_getTmpDir","_getTmpDirSync","_isExpectedError","setGracefulCleanup","walk","deepEqual","notEqual","toS","circular","kx","ky","parents","immutable","alive","walker","node_","modifiers","isLeaf","notLeaf","notRoot","isLast","isFirst","rec","TunnelingAgent","createSecureSocket","proxyOptions","defaultMaxSockets","onFree","toOptions","onSocket","removeSocket","onCloseOrRemove","placeholder","connectOptions","connectReq","useChunkedEncodingByDefault","onResponse","hostHeader","tlsOptions","secureSocket","overrides","keyLen","hasCrypto","kFinalizer","strictEqual","signalListenerCleanup","kHeadersList","kGuard","kRealm","kHTTPConnVersion","kHTTP2BuildRequest","kHTTP2CopyHeaders","kHTTP1BuildRequest","nodeHasAutoSelectFamily","openStreams","TIMEOUT_IDLE","onSocketReadable","onSocketEnd","isH2","h2State","dayName","cancelTimeout","setupTimeout","tokenRegExp","processHeaderValue","skipAppend","isReadableAborted","convertIterableToBuffer","UndiciFile","out2Clone","finalClone","specConsumeBody","responseFormData","busboy","base64chunk","busboyResolve","streamingDecoder","MessageChannel","receiveMessageOnPort","port1","port2","postMessage","nextTwoBytes","bytePoint","fileBits","FilePropertyBag","substep","processBlobParts","BlobPart","endings","convertLineEndingsNative","nativeLineEnding","callbackFn","currenTime","blobURLEntryObject","identityTransformAlgorithm","transformStream","nullOrBytes","failure","normalizeMethodRecord","clonedRequestObject","clonedResponseObject","iteratorResult","MAXIMUM_ARGUMENT_LENGTH","currentTimeout","FakeWeakRef","nonExplicitRef","keyValuePairs","buildProxyOptions","resolvedUrl","requestedHost","Timeout","originalOpcode","onlyCode","eventConstructor","Entry","autodrain","UnzipStream","unzipStream","unfinishedEntries","afterFlushWait","createdDirectories","_processEntry","allDone","writeFileFn","pipedStream","_notifyAwaiter","MatcherStream","patternDesc","matchFn","requiredLength","requiredExtraSize","bytesSoFar","checkDataChunk","ignoreMatchZero","enoughData","matchIndex","packet","packetLen","firstIteration","ParserStream","transformOpts","drainAll","STREAM_START","START","LOCAL_FILE_HEADER","LOCAL_FILE_HEADER_SUFFIX","FILE_DATA","FILE_DATA_END","DATA_DESCRIPTOR","CENTRAL_DIRECTORY_FILE_HEADER","CENTRAL_DIRECTORY_FILE_HEADER_SUFFIX","CDIR64_END","CDIR64_END_DATA_SECTOR","CDIR64_LOCATOR","CENTRAL_DIRECTORY_END","CENTRAL_DIRECTORY_END_COMMENT","TRAILING_JUNK","FOUR_GIGS","SIG_LOCAL_FILE_HEADER","SIG_DATA_DESCRIPTOR","SIG_CDIR_RECORD","SIG_CDIR64_RECORD_END","SIG_CDIR64_LOCATOR_END","SIG_CDIR_RECORD_END","skippedBytes","parsedEntity","outStreamInfo","processDataChunk","fileNameLength","extraFieldLength","fileCommentLength","centralDirectoryRecordSize","chunkLength","isStreamStart","toSkip","errMsg","sig","asString","_readFile","_decodeString","extraDataBuffer","_readExtraFields","uncompressedSize","extraFields","_prepareOutStream","_readCentralDirectoryEntry","isUnix","versionMadeBy","unixAttrs","isSymlink","externalFileAttributes","fileType","_readEndOfCentralDirectory64","_readEndOfCentralDirectory","fileSizeKnown","isVersionSupported","versionsNeededToExtract","zip64Mode","extraSize","searchPattern","matcherStream","matchedChunk","sizeSoFar","_readDataDescriptor","compressedSizeMatches","overflown","sliceOffset","isEncrypted","isCompressed","inflater","_drainAllEntries","word16lu","word32lu","fieldType","extraId","z64vars","word64lu","timestampFields","readUInt8","atime","ctime","fieldVer","nameCrc32","pathBuffer","extraVer","uidSize","readUIntLE","gidSize","sizdev","symlinkName","cp437","decodeString","_parseOrOutput","startDataLength","Parse","ZipStream","_normalizeFileData","__WEBPACK_EXTERNAL_createRequire","AbortError_js_1","AzureKeyCredential","newKey","AzureNamedKeyCredential","isNamedKeyCredential","core_util_1","_name","newName","credential","AzureSASCredential","isSASCredential","_signature","newSignature","isTokenCredential","isKeyCredential","azureKeyCredential_js_1","keyCredential_js_1","azureNamedKeyCredential_js_1","azureSASCredential_js_1","tokenCredential_js_1","isBearerToken","isPopToken","accessToken","castCredential","getToken","parseCAEChallenge","authorizeRequestOnClaimChallenge","log_js_1","base64_js_1","challenges","bearerChallenges","challenge","challengeParts","onChallengeOptions","parsedChallenge","claims","getAccessToken","decodeStringToString","authorizeRequestOnTenantChallenge","Constants","DefaultScope","HeaderConstants","AUTHORIZATION","isUuid","challengeOptions","requestToOptions","getChallenge","challengeInfo","parseChallenge","challengeScopes","buildScopes","tenantId","extractTenantId","parsedAuthUri","authorization_uri","resource_id","bearerChallenge","tracingOptions","encodeString","encodeByteArray","bufferValue","deserializationPolicyName","deserializationPolicy","interfaces_js_1","core_rest_pipeline_1","serializer_js_1","operationHelpers_js_1","defaultJsonContentTypes","defaultXmlContentTypes","jsonContentTypes","expectedContentTypes","xmlContentTypes","serializerOptions","updatedOptions","rootName","includeRoot","xmlCharKey","XML_CHARKEY","sendRequest","deserializeResponseBody","getOperationResponseMap","parsedResponse","operationInfo","getOperationRequestInfo","operationSpec","operationResponseGetter","shouldDeserializeResponse","shouldDeserialize","responseSpec","shouldReturnResponse","handleErrorResponse","bodyMapper","valueToDeserialize","isXML","MapperTypeNames","Sequence","xmlElementName","deserializeError","restError","RestError","bodyAsText","httpMethod","headersMapper","ignoreUnknownProperties","isOperationSpecEmpty","expectedStatusCodes","isSuccessByStatus","isExpectedStatusCode","errorResponseSpec","initialErrorMessage","streamResponseStatusCodes","defaultBodyMapper","defaultHeadersMapper","deserializedError","elementName","internalError","defaultError","operationResponse","contentComponents","component","errCode","PARSE_ERROR","getCachedDefaultHttpClient","cachedHttpClient","createDefaultHttpClient","serializationPolicyName","serializationPolicy","XML_ATTRKEY","createClientPipeline","ServiceClient","serviceClient_js_1","pipeline_js_1","deserializationPolicy_js_1","serializationPolicy_js_1","authorizeRequestOnClaimChallenge_js_1","authorizeRequestOnTenantChallenge_js_1","getStreamingResponseStatusCodes","getPathStringFromParameter","parameter","parameterPath","mapper","serializedName","logger_1","getOperationArgumentValueFromParameter","state_js_1","operationArguments","fallbackObject","parameterMapper","propertySearchResult","getPropertyFromParameterPath","propertyFound","useDefaultValue","propertyValue","propertyMapper","modelProperties","propertyPath","parameterPathPart","originalRequestSymbol","hasOriginalRequest","operationRequestMap","createPipelineFromOptions","credentialOptions","addPolicy","bearerTokenAuthenticationPolicy","credentialScopes","serializationOptions","phase","deserializationOptions","serializeHeaders","serializeRequestBody","interfaceHelpers_js_1","stringifyXML","headerParameters","headerParameter","headerCollectionPrefix","customHeaders","customHeaderName","xmlNamespacePrefix","requestBodyParameterPathString","xmlnsKey","getXmlValueWithNamespace","prepareXMLRootList","formDataParameters","formDataParameter","formDataParameterValue","formDataParameterPropertyName","serializedValue","xmlNamespaceKey","utils_js_1","SerializerImpl","modelMappers","validateConstraints","objectName","failValidation","constraintName","constraintValue","constraints","ExclusiveMaximum","ExclusiveMinimum","InclusiveMaximum","InclusiveMinimum","MaxItems","MaxLength","MinItems","MinLength","MultipleOf","UniqueItems","mapperType","serializeBasicTypes","enumMapper","serializeEnumType","serializeDateTypes","serializeByteArrayType","serializeBase64UrlType","serializeSequenceType","serializeDictionaryType","serializeCompositeType","responseBody","xmlIsWrapped","deserializeCompositeType","unixTimeToDate","base64UrlToByteArray","deserializeSequenceType","deserializeDictionaryType","bufferToBase64Url","splitSerializeName","classes","partialclass","subwords","dateToUnixTime","isValidUuid","objectType","isPresent","toUTCString","isDuration","isXml","elementType","className","tempArray","valueType","tempDictionary","getXmlObjectValue","resolveAdditionalProperties","additionalProperties","modelMapper","resolveReferencedMapper","resolveModelProperties","modelProps","getPolymorphicDiscriminatorRecursively","getPolymorphicMapper","readOnly","propName","parentObject","pathName","childObject","propertyObjectName","toSerialize","polymorphicDiscriminator","xmlIsAttribute","additionalPropertiesMapper","propNames","clientPropName","isAdditionalProperty","pn","isSpecialXmlProperty","handledPropertyNames","xmlIsMsText","elementList","propertyInstance","steps","arrayInstance","responsePropName","getIndexDiscriminator","discriminators","discriminatorValue","typeNamesToCheck","currentName","indexDiscriminator","uberParent","polymorphicPropertyName","discriminatorName","polymorphicMapper","getPolymorphicDiscriminatorSafely","Base64Url","ByteArray","Composite","DateTime","DateTimeRfc1123","Dictionary","Enum","TimeSpan","UnixTime","httpClientCache_js_1","urlHelpers_js_1","_endpoint","_requestContentType","_allowInsecureConnection","_httpClient","requestContentType","baseUri","allowInsecureConnection","createDefaultPipeline","additionalPolicies","afterPhase","sendOperationRequest","getRequestUrl","createPipelineRequest","onUploadProgress","onDownloadProgress","flattenResponse","details","getCredentialScopes","appendQueryParams","CollectionFormatToDelimiterMap","CSV","SSV","Multi","TSV","Pipes","urlReplacements","calculateUrlReplacements","isAbsolutePath","replaceAll","isAbsoluteUrl","appendPath","sequenceParams","calculateQueryParameters","replacements","searchValue","replaceValue","urlParameters","urlParameter","urlParameterValue","parameterPathString","skipEncoding","pathToAppend","newPath","searchStart","queryParameters","queryParameter","queryParameterValue","collectionFormat","simpleParseQueryParams","existingValue","noOverwrite","combinedParams","valueSet","searchPieces","subValue","isPrimitiveBody","mapperTypeName","validateISODuration","validUuidRegex","handleNullableResponseAndWrappableBody","combinedHeadersAndBody","hasNullableType","shouldWrapBody","fullResponse","isNullable","expectedBodyTypeName","blobBody","readableStreamBody","isPageableResponse","arrayResponse","ExtendedServiceClient","disableKeepAlivePolicy_js_1","core_client_1","response_js_1","keepAliveOptions","pipelineContainsDisableKeepAlivePolicy","createDisableKeepAlivePolicy","redirectOptions","handleRedirects","removePolicy","redirectPolicyName","userProvidedCallBack","lastResponse","toCompatResponse","convertHttpClient","util_js_1","requestPolicyClient","toWebResourceLike","createProxy","toPipelineResponse","toHttpHeadersLike","disableKeepAlivePolicyName","HttpPipelineLogLevel","createRequestPolicyFactoryPolicy","requestPolicyFactoryPolicyName","extendedClient_js_1","requestPolicyFactoryPolicy_js_1","httpClientAdapter_js_1","disableKeepAlive","getOrderedPolicies","mockRequestPolicyOptions","_logLevel","_message","shouldLog","factories","orderedFactories","httpPipeline","toPipelineRequest","webResourceLike","originalResponse","compatResponse","extendedCompatResponse","createHttpHeaders","preserveCase","HttpHeaders","originalClientRequestSymbol","webResource","compatWebResource","proxySettings","requestOverrides","validateRequestProperties","passThroughProps","getHeaderKey","_headersMap","headersArray","headerNames","resultPreservingCasing","DEFAULT_RETRY_POLICY_COUNT","SDK_VERSION","logPolicy_js_1","redirectPolicy_js_1","userAgentPolicy_js_1","multipartPolicy_js_1","decompressResponsePolicy_js_1","defaultRetryPolicy_js_1","formDataPolicy_js_1","proxyPolicy_js_1","setClientRequestIdPolicy_js_1","agentPolicy_js_1","tlsPolicy_js_1","tracingPolicy_js_1","wrapAbortSignalLikePolicy_js_1","createEmptyPipeline","isNodeLike","agentPolicy","tlsPolicy","proxyPolicy","decompressResponsePolicy","wrapAbortSignalLikePolicy","formDataPolicy","beforePolicies","multipartPolicyName","userAgentPolicy","userAgentOptions","setClientRequestIdPolicy","telemetryOptions","clientRequestIdHeaderName","multipartPolicy","defaultRetryPolicy","tracingPolicy","loggingOptions","redirectPolicy","logPolicy","ts_http_runtime_1","wrapAbortSignal_js_1","wrapAbortSignalLike","createFileFromStream","createFile","agentPolicyName","auxiliaryAuthenticationHeaderPolicyName","auxiliaryAuthenticationHeaderPolicy","ndJsonPolicyName","ndJsonPolicy","bearerTokenAuthenticationPolicyName","formDataPolicyName","tlsPolicyName","userAgentPolicyName","tracingPolicyName","retryPolicy","throttlingRetryPolicyName","throttlingRetryPolicy","systemErrorRetryPolicyName","systemErrorRetryPolicy","getDefaultProxySettings","proxyPolicyName","logPolicyName","setClientRequestIdPolicyName","exponentialRetryPolicyName","exponentialRetryPolicy","decompressResponsePolicyName","isRestError","createPipelineFromOptions_js_1","defaultHttpClient_js_1","httpHeaders_js_1","pipelineRequest_js_1","restError_js_1","exponentialRetryPolicy_js_1","systemErrorRetryPolicy_js_1","throttlingRetryPolicy_js_1","retryPolicy_js_1","bearerTokenAuthenticationPolicy_js_1","ndJsonPolicy_js_1","auxiliaryAuthenticationHeaderPolicy_js_1","file_js_1","policies_1","tokenCycler_js_1","AUTHORIZATION_AUXILIARY_HEADER","sendAuthorizeRequest","getTokenOptions","tokenCyclerMap","tokenPromises","createTokenCycler","auxiliaryTokens","parseChallenges","trySendRequest","defaultAuthorizeRequest","enableCae","isChallengeResponse","authorizeRequestOnCaeChallenge","caeClaims","challengeCallbacks","authorizeRequest","authorizeRequestOnChallenge","shouldSendRequest","getCaeChallengeClaims","parsedClaim","challengeRegex","paramRegex","parsedChallenges","paramsString","paramMatch","defaultRetryPolicyName","tspPolicy","multipartBody","hasRawContent","getRawContent","constants_js_1","retryPolicyLogger","strategies","requestIdHeaderName","tlsSettings","core_tracing_1","userAgent_js_1","userAgentPromise","getUserAgentValue","sanitizer","Sanitizer","additionalAllowedQueryParameters","tracingClient","tryCreateTracingClient","spanAttributes","sanitizeUrl","span","tracingContext","tryCreateSpan","withContext","tryProcessResponse","tryProcessError","createTracingClient","packageName","packageVersion","startSpan","spanKind","isRecording","createRequestHeaders","setStatus","setAttribute","serviceRequestId","UserAgentHeaderName","getUserAgentHeaderName","userAgentValue","wrapAbortSignalLikePolicyName","isNodeReadableStream","unimplementedMethods","rawContent","webkitRelativePath","DEFAULT_CYCLER_OPTIONS","forcedRefreshWindowInMs","retryIntervalInMs","refreshWindowInMs","beginRefresh","tryGetAccessToken","finalToken","tokenCyclerOptions","refreshWorker","cycler","isRefreshing","shouldRefresh","refreshAfterTimestamp","expiresOnTimestamp","mustRefresh","_token","tokenOptions","hasClaimChallenge","tenantIdChanged","userAgentPlatform_js_1","telemetryInfo","getHeaderName","runtimeInfo","setPlatformSpecificData","defaultAgent","node_os_1","node_process_1","osInfo","bun","deno","abortSignalLike","needsCleanup","useInstrumenter","instrumenter_js_1","tracingClient_js_1","createDefaultTracingSpan","createDefaultInstrumenter","getInstrumenter","tracingContext_js_1","recordException","addEvent","parseTraceparentHeader","spanOptions","createTracingContext","parentContext","_context","callbackArgs","instrumenter","instrumenterImplementation","operationOptions","startSpanResult","knownContextKeys","setValue","withSpan","traceparentHeader","TracingContextImpl","_contextMap","initialContext","newContext","deleteValue","cancelablePromiseRace","abortablePromiseBuilders","aborter","abortHandler","calculateRetryDelay","createAbortablePromise_js_1","exponentialDelay","retryDelayInMs","clampedDelay","maxRetryDelayInMs","retryAfterInMs","isWebWorker","isReactNative","isNodeRuntime","isDeno","isBun","isBrowser","uint8ArrayToString","stringToUint8Array","tspRuntime","aborterUtils_js_1","delay_js_1","error_js_1","typeGuards_js_1","xml_js_1","xml_common_js_1","getCommonOptions","attributesGroupName","suppressBooleanAttributes","getSerializerOptions","suppressEmptyNode","indentBy","rootNodeName","cdataPropName","getParserOptions","parseAttributeValue","stopNodes","processEntities","parserOptions","j2x","XMLBuilder","xmlData","validation","XMLValidator","validate","parsedXml","createLoggerContext","logLevelEnvVarName","BatchResponseParser","core_http_compat_1","BatchUtils_js_1","HTTP_HEADER_DELIMITER","SPACE_DELIMITER","NOT_FOUND","batchResponse","responseBatchBoundary","perResponsePrefix","batchResponseEnding","subRequests","HTTP_LINE_ENDING","parseBatchResponse","HTTPURLConnection","HTTP_ACCEPTED","responseBodyAsText","getBodyAsText","subResponses","subResponseCount","deserializedSubResponses","subResponsesSucceededCount","subResponsesFailedCount","subResponse","deserializedSubResponse","responseLines","subRespHeaderStartFound","subRespHeaderEndFound","subRespFailed","contentId","responseLine","CONTENT_ID","HTTP_VERSION_1_1","X_MS_ERROR_CODE","_request","utf8ByteLength","BATCH_MAX_PAYLOAD_IN_BYTES","responseLength","streamToBuffer2","BlobBatch","core_auth_1","core_util_2","storage_common_1","Clients_js_1","Mutex_js_1","Pipeline_js_1","utils_common_js_1","core_xml_1","tracing_js_1","batchRequest","batchType","InnerBatchRequest","getMultiPartContentType","getMultipartContentType","getHttpRequestBody","getSubRequests","addSubRequestInternal","subRequest","assembleSubRequestFunc","Mutex","preAddSubRequest","postAddSubRequest","setBatchType","deleteBlob","urlOrBlobClient","credentialOrOptions","StorageSharedKeyCredential","AnonymousCredential","createPipeline","setBlobAccessTier","credentialOrTier","tierOrOptions","tier","setAccessTier","operationCount","subRequestPrefix","multipartContentType","batchRequestEnding","tempGuid","CONTENT_TYPE","CONTENT_TRANSFER_ENCODING","corePipeline","batchHeaderFilterPolicy","batchRequestAssemblePolicy","StorageOAuthScopes","storageSharedKeyCredentialPolicy","accountKey","_credential","_corePipeline","appendSubRequestToBody","getURLPathAndQuery","BATCH_MAX_REQUEST","getURLPath","xMsHeaderName","iEqual","X_MS_VERSION","BlobBatchClient","BatchResponseParser_js_1","BlobBatch_js_1","StorageContextClient_js_1","serviceOrContainerContext","credentialOrPipeline","isPipelineLike","newPipeline","storageClientContext","StorageContextClient","getCoreClientOptions","createBatch","deleteBlobs","urlsOrBlobClients","submitBatch","setBlobsAccessTier","batchRequestBody","rawBatchResponse","assertResponse","batchResponseParser","responseSummary","clientRequestId","BlobDownloadResponse","RetriableReadableStream_js_1","acceptRanges","cacheControl","contentDisposition","contentLanguage","blobSequenceNumber","blobType","contentMD5","copyCompletedOn","copyId","copyProgress","copySource","copyStatus","copyStatusDescription","leaseDuration","leaseState","leaseStatus","blobCommittedBlockCount","tagCount","isServerEncrypted","blobContentMD5","lastAccessed","createdOn","versionId","isCurrentVersion","encryptionKeySha256","contentCrc64","objectReplicationDestinationPolicyId","objectReplicationSourceProperties","isSealed","immutabilityPolicyExpiresOn","immutabilityPolicyMode","legalHold","contentAsBlob","blobDownloadStream","getter","RetriableReadableStream","BlobLeaseClient","_leaseId","_url","_containerOrBlobOperation","_isContainer","leaseId","clientContext","acquireLease","ifMatch","ETagNone","ifNoneMatch","tagConditions","modifiedAccessConditions","ifTags","proposedLeaseId","changeLease","releaseLease","renewLease","breakLease","breakPeriod","BlobQueryResponse","BlobQuickQueryStream_js_1","BlobQuickQueryStream","BlobServiceClient","ContainerClient_js_1","utils_common_js_2","BlobBatchClient_js_1","StorageClient_js_1","AccountSASPermissions_js_1","AccountSASSignatureValues_js_1","AccountSASServices_js_1","StorageClient","serviceContext","fromConnectionString","connectionString","extractedCreds","extractConnectionStringParts","sharedKeyCredential","proxyUri","accountSas","getContainerClient","ContainerClient","appendToURLPath","createContainer","containerClient","containerCreateResponse","deleteContainer","undeleteContainer","deletedContainerName","deletedContainerVersion","destinationContainerName","containerContext","containerUndeleteResponse","restore","setProperties","getStatistics","getAccountInfo","listContainersSegment","include","findBlobsByTagsSegment","tagFilterSqlExpression","filterBlobs","maxPageSize","wrappedResponse","blobs","tagValue","blobTagSet","toTags","findBlobsByTagsSegments","continuationToken","findBlobsByTagsItems","findBlobsByTags","listSegmentOptions","byPage","listSegments","listContainersSegmentResponse","containerItems","listContainers","includeDeleted","includeMetadata","includeSystem","getUserDelegationKey","startsOn","expiresOn","truncatedISO8061Date","userDelegationKey","signedObjectId","signedTenantId","signedStartsOn","signedExpiresOn","signedService","signedVersion","getBlobBatchClient","generateAccountSasUrl","permissions","AccountSASPermissions","resourceTypes","sas","generateAccountSASQueryParameters","AccountSASServices","appendToURLQuery","generateSasStringToSign","generateAccountSASQueryParametersInternal","PageBlobClient","AppendBlobClient","BlobDownloadResponse_js_1","BlobQueryResponse_js_1","models_js_1","PageBlobRangeResponse_js_1","BlobStartCopyFromUrlPoller_js_1","Range_js_1","Batch_js_1","storage_common_2","BlobSASSignatureValues_js_1","BlobLeaseClient_js_1","blobContext","_containerName","_versionId","_snapshot","urlOrConnectionString","credentialOrPipelineOrContainerName","blobNameOrOptions","blobName","getBlobAndContainerNamesFromUrl","getURLParameter","URLConstants","Parameters","SNAPSHOT","VERSIONID","withSnapshot","snapshot","setURLParameter","withVersion","getAppendBlobClient","getPageBlobClient","download","ensureCpkIfSpecified","customerProvidedKey","leaseAccessConditions","rangeToString","rangeGetContentMD5","rangeGetContentCRC64","rangeGetContentCrc64","cpkInfo","wrappedRes","objectReplicationPolicyId","parseObjectReplicationRecord","objectReplicationRules","maxRetryRequests","DEFAULT_MAX_DOWNLOAD_RETRY_REQUESTS","updatedDownloadOptions","ifModifiedSince","ifUnmodifiedSince","BlobUsesCustomerSpecifiedEncryptionMsg","BlobDoesNotUseCustomerSpecifiedEncryption","deleteSnapshots","deleteIfExists","undelete","setHTTPHeaders","setHttpHeaders","blobHttpHeaders","setMetadata","encryptionScope","setTags","blobModifiedAccessConditions","toBlobTags","getTags","getBlobLeaseClient","proposeLeaseId","createSnapshot","beginCopyFromURL","abortCopyFromURL","startCopyFromURL","BlobBeginCopyFromUrlPoller","startCopyFromURLOptions","syncCopyFromURL","sourceConditions","copyFromURL","sourceModifiedAccessConditions","sourceIfMatch","sourceIfModifiedSince","sourceIfNoneMatch","sourceIfUnmodifiedSince","sourceContentMD5","copySourceAuthorization","httpAuthorizationToString","sourceAuthorization","toAccessTier","blobTagsString","toBlobTagsString","immutabilityPolicyExpiry","immutabilityPolicy","expiriesOn","policyMode","copySourceTags","fileRequestIntent","sourceShareTokenIntent","setTier","rehydratePriority","param1","param2","param3","param4","DEFAULT_BLOB_DOWNLOAD_BLOCK_BYTES","transferProgress","Batch","addOperation","chunkEnd","maxRetryRequestsPerBlock","streamToBuffer","do","downloadToFile","readStreamToLocalFile","isIpEndpointStyle","sourceIfTags","sealBlob","generateSasUrl","generateBlobSASQueryParameters","snapshotTime","generateBlobSASQueryParametersInternal","generateUserDelegationSasUrl","generateUserDelegationSasStringToSign","deleteImmutabilityPolicy","setImmutabilityPolicy","setLegalHold","legalHoldEnabled","appendBlobContext","appendBlob","createIfNotExists","ETagAny","seal","appendPositionAccessConditions","appendBlock","transactionalContentMD5","transactionalContentCrc64","appendBlockFromURL","sourceURL","sourceOffset","appendBlockFromUrl","sourceRange","sourceContentCrc64","_blobContext","blockBlobContext","blockBlob","queryRequest","queryType","inputSerialization","toQuerySerialization","inputTextConfiguration","outputSerialization","outputTextConfiguration","upload","syncUploadFromURL","putBlobFromUrl","stageBlock","blockId","stageBlockFromURL","commitBlockList","blocks","getBlockList","listType","committedBlocks","uncommittedBlocks","uploadData","uploadSeekableInternal","browserBlob","uploadBrowserData","browserData","bodyFactory","BLOCK_BLOB_MAX_STAGE_BLOCK_BYTES","BLOCK_BLOB_MAX_UPLOAD_BLOB_BYTES","BLOCK_BLOB_MAX_BLOCKS","numBlocks","blockList","blockIDPrefix","blockID","generateBlockID","fsStat","fsCreateReadStream","DEFAULT_BLOCK_BUFFER_SIZE_BYTES","blockNum","scheduler","BufferScheduler","pageBlobContext","pageBlob","uploadPages","sequenceNumberAccessConditions","uploadPagesFromURL","destOffset","clearPages","getPageRanges","rangeResponseFromModel","listPageRangesSegment","listPageRangeItemSegments","getPageRangeItemSegmentsResponse","listPageRangeItems","getPageRangesSegment","ExtractPageRangeInfoItems","listPageRanges","getPageRangesDiff","prevSnapshot","prevsnapshot","listPageRangesDiffSegment","prevSnapshotOrUrl","listPageRangeDiffItemSegments","listPageRangeDiffItems","listPageRangesDiff","getPageRangesDiffForManagedDisks","prevSnapshotUrl","updateSequenceNumber","sequenceNumberAction","sequenceNumber","startCopyIncremental","copyIncremental","getContainerNameFromUrl","getBlobClient","EscapePath","getAccessPolicy","blobPublicAccess","signedIdentifiers","accessPolicy","setAccessPolicy","containerAcl","acl","uploadBlockBlob","listBlobFlatSegment","ConvertInternalResponseOfListBlobFlat","blobItems","blobItemInternal","blobItem","BlobNameToString","blobTags","objectReplicationMetadata","listBlobHierarchySegment","ConvertInternalResponseOfListBlobHierarchy","blobPrefixes","blobPrefixInternal","blobPrefix","listBlobsFlatSegmentResponse","listBlobsFlat","includeCopy","includeSnapshots","includeVersions","includeUncommitedBlobs","includeTags","includeDeletedWithVersions","includeImmutabilityPolicy","includeLegalHold","listHierarchySegments","listBlobsHierarchySegmentResponse","listItemsByHierarchy","listBlobsByHierarchy","pageRange","clearRange","getCredentialFromPipeline","castPipeline","toServiceClientOptions","requestPolicyFactories","pipelineOptions","processDownlevelPipeline","knownFactoryFunctions","isAnonymousCredential","isStorageSharedKeyCredential","isCoreHttpBearerTokenFactory","isStorageBrowserPolicyFactory","isStorageRetryPolicyFactory","isStorageTelemetryPolicyFactory","isCoreHttpPolicyFactory","novelFactories","knownFactory","hasInjector","isInjectorPolicyFactory","wrappedPolicies","afterRetry","v1Client","restOptions","_coreHttpClient","packageDetails","additionalAllowedHeaderNames","StorageBlobLoggingAllowedHeaderNames","StorageBlobLoggingAllowedQueryParameters","storageCorrectContentLengthPolicy","storageRetryPolicy","storageRequestFailureDetailsParserPolicy","storageBrowserPolicy","downlevelResults","StorageBrowserPolicyFactory","StorageRetryPolicyFactory","knownPolicies","mockHttpClient","policyInstance","policyName","knownPolicyName","iRange","escapeURLPath","getAccountNameFromUrl","getURLScheme","index_js_1","operationSpecToSend","storageClient_js_1","KnownStorageErrorCode","KnownBlobExpiryOptions","KnownFileShareTokenIntent","KnownEncryptionAlgorithmType","ServiceGetUserDelegationKeyHeaders","ServiceListContainersSegmentExceptionHeaders","ServiceListContainersSegmentHeaders","ServiceGetStatisticsExceptionHeaders","ServiceGetStatisticsHeaders","ServiceGetPropertiesExceptionHeaders","ServiceGetPropertiesHeaders","ServiceSetPropertiesExceptionHeaders","ServiceSetPropertiesHeaders","ArrowField","ArrowConfiguration","JsonTextConfiguration","DelimitedTextConfiguration","QueryFormat","QuerySerialization","QueryRequest","ClearRange","PageRange","PageList","Block","BlockList","BlockLookupList","BlobPrefix","BlobHierarchyListSegment","ListBlobsHierarchySegmentResponse","BlobPropertiesInternal","BlobName","BlobItemInternal","BlobFlatListSegment","ListBlobsFlatSegmentResponse","AccessPolicy","SignedIdentifier","BlobTag","BlobTags","FilterBlobItem","FilterBlobSegment","UserDelegationKey","KeyInfo","ContainerProperties","ContainerItem","ListContainersSegmentResponse","GeoReplication","BlobServiceStatistics","StorageError","StaticWebsite","CorsRule","Metrics","RetentionPolicy","Logging","BlobServiceProperties","BlobUndeleteHeaders","BlobDeleteExceptionHeaders","BlobDeleteHeaders","BlobGetPropertiesExceptionHeaders","BlobGetPropertiesHeaders","BlobDownloadExceptionHeaders","BlobDownloadHeaders","ContainerGetAccountInfoExceptionHeaders","ContainerGetAccountInfoHeaders","ContainerListBlobHierarchySegmentExceptionHeaders","ContainerListBlobHierarchySegmentHeaders","ContainerListBlobFlatSegmentExceptionHeaders","ContainerListBlobFlatSegmentHeaders","ContainerChangeLeaseExceptionHeaders","ContainerChangeLeaseHeaders","ContainerBreakLeaseExceptionHeaders","ContainerBreakLeaseHeaders","ContainerRenewLeaseExceptionHeaders","ContainerRenewLeaseHeaders","ContainerReleaseLeaseExceptionHeaders","ContainerReleaseLeaseHeaders","ContainerAcquireLeaseExceptionHeaders","ContainerAcquireLeaseHeaders","ContainerFilterBlobsExceptionHeaders","ContainerFilterBlobsHeaders","ContainerSubmitBatchExceptionHeaders","ContainerSubmitBatchHeaders","ContainerRenameExceptionHeaders","ContainerRenameHeaders","ContainerRestoreExceptionHeaders","ContainerRestoreHeaders","ContainerSetAccessPolicyExceptionHeaders","ContainerSetAccessPolicyHeaders","ContainerGetAccessPolicyExceptionHeaders","ContainerGetAccessPolicyHeaders","ContainerSetMetadataExceptionHeaders","ContainerSetMetadataHeaders","ContainerDeleteExceptionHeaders","ContainerDeleteHeaders","ContainerGetPropertiesExceptionHeaders","ContainerGetPropertiesHeaders","ContainerCreateExceptionHeaders","ContainerCreateHeaders","ServiceFilterBlobsExceptionHeaders","ServiceFilterBlobsHeaders","ServiceSubmitBatchExceptionHeaders","ServiceSubmitBatchHeaders","ServiceGetAccountInfoExceptionHeaders","ServiceGetAccountInfoHeaders","ServiceGetUserDelegationKeyExceptionHeaders","PageBlobGetPageRangesHeaders","PageBlobUploadPagesFromURLExceptionHeaders","PageBlobUploadPagesFromURLHeaders","PageBlobClearPagesExceptionHeaders","PageBlobClearPagesHeaders","PageBlobUploadPagesExceptionHeaders","PageBlobUploadPagesHeaders","PageBlobCreateExceptionHeaders","PageBlobCreateHeaders","BlobSetTagsExceptionHeaders","BlobSetTagsHeaders","BlobGetTagsExceptionHeaders","BlobGetTagsHeaders","BlobQueryExceptionHeaders","BlobQueryHeaders","BlobGetAccountInfoExceptionHeaders","BlobGetAccountInfoHeaders","BlobSetTierExceptionHeaders","BlobSetTierHeaders","BlobAbortCopyFromURLExceptionHeaders","BlobAbortCopyFromURLHeaders","BlobCopyFromURLExceptionHeaders","BlobCopyFromURLHeaders","BlobStartCopyFromURLExceptionHeaders","BlobStartCopyFromURLHeaders","BlobCreateSnapshotExceptionHeaders","BlobCreateSnapshotHeaders","BlobBreakLeaseExceptionHeaders","BlobBreakLeaseHeaders","BlobChangeLeaseExceptionHeaders","BlobChangeLeaseHeaders","BlobRenewLeaseExceptionHeaders","BlobRenewLeaseHeaders","BlobReleaseLeaseExceptionHeaders","BlobReleaseLeaseHeaders","BlobAcquireLeaseExceptionHeaders","BlobAcquireLeaseHeaders","BlobSetMetadataExceptionHeaders","BlobSetMetadataHeaders","BlobSetLegalHoldExceptionHeaders","BlobSetLegalHoldHeaders","BlobDeleteImmutabilityPolicyExceptionHeaders","BlobDeleteImmutabilityPolicyHeaders","BlobSetImmutabilityPolicyExceptionHeaders","BlobSetImmutabilityPolicyHeaders","BlobSetHttpHeadersExceptionHeaders","BlobSetHttpHeadersHeaders","BlobSetExpiryExceptionHeaders","BlobSetExpiryHeaders","BlobUndeleteExceptionHeaders","BlockBlobGetBlockListExceptionHeaders","BlockBlobGetBlockListHeaders","BlockBlobCommitBlockListExceptionHeaders","BlockBlobCommitBlockListHeaders","BlockBlobStageBlockFromURLExceptionHeaders","BlockBlobStageBlockFromURLHeaders","BlockBlobStageBlockExceptionHeaders","BlockBlobStageBlockHeaders","BlockBlobPutBlobFromUrlExceptionHeaders","BlockBlobPutBlobFromUrlHeaders","BlockBlobUploadExceptionHeaders","BlockBlobUploadHeaders","AppendBlobSealExceptionHeaders","AppendBlobSealHeaders","AppendBlobAppendBlockFromUrlExceptionHeaders","AppendBlobAppendBlockFromUrlHeaders","AppendBlobAppendBlockExceptionHeaders","AppendBlobAppendBlockHeaders","AppendBlobCreateExceptionHeaders","AppendBlobCreateHeaders","PageBlobCopyIncrementalExceptionHeaders","PageBlobCopyIncrementalHeaders","PageBlobUpdateSequenceNumberExceptionHeaders","PageBlobUpdateSequenceNumberHeaders","PageBlobResizeExceptionHeaders","PageBlobResizeHeaders","PageBlobGetPageRangesDiffExceptionHeaders","PageBlobGetPageRangesDiffHeaders","PageBlobGetPageRangesExceptionHeaders","blobAnalyticsLogging","hourMetrics","minuteMetrics","cors","defaultServiceVersion","deleteRetentionPolicy","staticWebsite","retentionPolicy","includeAPIs","allowedOrigins","allowedMethods","allowedHeaders","exposedHeaders","maxAgeInSeconds","indexDocument","errorDocument404Path","defaultIndexDocumentPath","copySourceStatusCode","copySourceErrorCode","copySourceErrorMessage","authenticationErrorDetail","geoReplication","lastSyncOn","serviceEndpoint","publicAccess","hasImmutabilityPolicy","hasLegalHold","defaultEncryptionScope","preventEncryptionScopeOverride","deletedOn","remainingRetentionDays","isImmutableStorageWithVersioningEnabled","hasVersionsOnly","serverEncrypted","incrementalCopy","destinationSnapshot","accessTier","accessTierInferred","archiveStatus","customerProvidedKeySha256","accessTierChangedOn","lastAccessedOn","committed","uncommitted","delimitedTextConfiguration","jsonTextConfiguration","arrowConfiguration","parquetTextConfiguration","columnSeparator","fieldQuote","recordSeparator","escapeChar","headersPresent","precision","scale","skuName","accountKind","isHierarchicalNamespaceEnabled","denyEncryptionScopeOverride","leaseTime","isIncrementalCopy","xMsContentCrc64","copyCompletionTime","blobContentLength","blobAppendOffset","action3","action2","leaseId1","action1","comp10","sourceLeaseId","sourceContainerName","comp9","comp8","comp7","comp6","restype2","comp5","comp4","restype1","comp3","keyInfo","comp2","comp1","accept1","timeoutInSeconds","restype","blobServiceProperties","xMsRequiresSync","legalHold1","comp14","comp13","comp12","blobContentLanguage","blobContentEncoding","blobCacheControl","expiryOptions","comp11","blobDeleteType","encryptionAlgorithm","encryptionKey","startFrom","include1","proposedLeaseId1","action4","comp25","comp24","copySourceBlobProperties","blobType2","comp23","sourceRange1","appendPosition","comp22","blobType1","comp21","comp20","range1","sourceUrl","pageWrite1","ifSequenceNumberEqualTo","ifSequenceNumberLessThan","ifSequenceNumberLessThanOrEqualTo","pageWrite","comp19","accept2","body1","contentType1","ifNoneMatch1","ifMatch1","ifUnmodifiedSince1","ifModifiedSince1","comp18","comp17","tier1","comp16","copyActionAbortConstant","comp15","mappers_js_1","AppendBlobImpl","coreClient","Mappers","createOperationSpec","appendBlockOperationSpec","appendBlockFromUrlOperationSpec","sealOperationSpec","xmlSerializer","BlobImpl","downloadOperationSpec","getPropertiesOperationSpec","deleteOperationSpec","undeleteOperationSpec","setExpiry","setExpiryOperationSpec","setHttpHeadersOperationSpec","setImmutabilityPolicyOperationSpec","deleteImmutabilityPolicyOperationSpec","setLegalHoldOperationSpec","setMetadataOperationSpec","acquireLeaseOperationSpec","releaseLeaseOperationSpec","renewLeaseOperationSpec","changeLeaseOperationSpec","breakLeaseOperationSpec","createSnapshotOperationSpec","startCopyFromURLOperationSpec","copyFromURLOperationSpec","abortCopyFromURLOperationSpec","setTierOperationSpec","getAccountInfoOperationSpec","queryOperationSpec","getTagsOperationSpec","setTagsOperationSpec","BlockBlobImpl","uploadOperationSpec","putBlobFromUrlOperationSpec","stageBlockOperationSpec","stageBlockFromURLOperationSpec","commitBlockListOperationSpec","getBlockListOperationSpec","ContainerImpl","getAccessPolicyOperationSpec","setAccessPolicyOperationSpec","restoreOperationSpec","renameOperationSpec","submitBatchOperationSpec","filterBlobsOperationSpec","listBlobFlatSegmentOperationSpec","listBlobHierarchySegmentOperationSpec","PageBlobImpl","uploadPagesOperationSpec","clearPagesOperationSpec","uploadPagesFromURLOperationSpec","getPageRangesOperationSpec","getPageRangesDiffOperationSpec","resizeOperationSpec","updateSequenceNumberOperationSpec","copyIncrementalOperationSpec","ServiceImpl","setPropertiesOperationSpec","getStatisticsOperationSpec","listContainersSegmentOperationSpec","getUserDelegationKeyOperationSpec","coreHttpCompat","optionsWithDefaults","StorageBrowserPolicy","StorageSharedKeyCredentialPolicy","StorageRetryPolicy","StorageRetryPolicyType","Credential","CredentialPolicy","BaseRequestPolicy","AnonymousCredentialPolicy","getBlobServiceAccountAudience","StorageBlobAudience","PremiumPageBlobTier","BlockBlobTier","AVRO_SCHEMA_KEY","AVRO_CODEC_KEY","AVRO_INIT_BYTES","AVRO_SYNC_MARKER_SIZE","AvroType","AvroParser","readFixedBytes","readByte","readZigZagLong","zigZagEncoded","significanceInBit","haveMoreByte","significanceInFloat","readLong","readInt","readNull","readBoolean","readFloat","u8arr","readDouble","readString","utf8decoder","readMapPair","readItemMethod","readMap","readPairMethod","readArray","AvroComplex","AvroPrimitive","fromSchema","fromStringSchema","fromArraySchema","fromObjectSchema","NULL","INT","AvroPrimitiveType","AvroUnionType","AvroRecordType","ENUM","symbols","AvroEnumType","MAP","AvroMapType","ARRAY","FIXED","_primitive","primitive","_symbols","_types","_itemType","itemType","AvroReadable","AvroReadableFromStream","AvroReadable_js_1","buffer_1","ABORT_ERROR","_readable","cleanUp","readableCallback","rejectCallback","callbackChunk","AvroReader","AvroConstants_js_1","AvroParser_js_1","_dataStream","_headerStream","_syncMarker","_metadata","_itemsRemainingInBlock","_initialBlockOffset","_blockOffset","blockOffset","_objectIndex","objectIndex","_initialized","dataStream","headerStream","currentBlockOffset","indexWithinCurrentBlock","arraysEqual","parseObjects","AvroReader_js_1","AvroReadableFromStream_js_1","cpk","EncryptionAlgorithmAES25","storageAccountName","core_lro_1","makeBlobBeginCopyFromURLPollOperation","prevCopyProgress","accountSASPermissions","deleteVersion","permanentDelete","permissionLike","AccountSASResourceTypes","accountSASResourceTypes","accountSASServices","AccountSASResourceTypes_js_1","SasIPRange_js_1","SASQueryParameters_js_1","accountSASSignatureValues","sasQueryParameters","SERVICE_VERSION","parsedPermissions","parsedServices","parsedResourceTypes","ipRange","ipRangeToString","computeHMACSHA256","SASQueryParameters","BlobSASPermissions","blobSASPermissions","move","BlobSASPermissions_js_1","ContainerSASPermissions_js_1","blobSASSignatureValues","sharedKeyCredentialOrUserDelegationKey","userDelegationKeyCredential","UserDelegationKeyCredential","generateBlobSASQueryParameters20201206","generateBlobSASQueryParametersUDK20250705","generateBlobSASQueryParametersUDK20201206","generateBlobSASQueryParameters20181109","generateBlobSASQueryParametersUDK20200210","generateBlobSASQueryParametersUDK20181109","generateBlobSASQueryParameters20150405","SASSignatureValuesSanityCheckAndAutofill","verifiedPermissions","ContainerSASPermissions","getCanonicalName","preauthorizedAgentObjectId","correlationId","delegatedUserObjectId","elements","filterByTags","containerSASPermissions","SASProtocol","ipRangeInner","signedOid","permissionsOrOptions","queries","tryAppendQueryParameter","BatchStates","Good","parallelExecute","nextOperation","avroReader","avroIter","avroPaused","readInternal","avroNext","$schema","bytesScanned","isFatal","MutexLockStatus","UNLOCKED","LOCKED","onUnlockEvent","emitUnlockEvent","setSourceEventHandlers","sourceDataHandler","sourceErrorOrEndHandler","sourceAbortedHandler","removeSourceEventHandlers","doInjectErrorOnce","newSource","PathStylePorts","DevelopmentConnectionString","SIZE_1_MB","REQUEST_TIMEOUT","FORCE_BROWSER_NO_CACHE","SIGNATURE","HTTP_CONFLICT","HTTP_NOT_FOUND","HTTP_PRECON_FAILED","HTTP_RANGE_NOT_SATISFIABLE","AUTHORIZATION_SCHEME","CONTENT_ENCODING","CONTENT_LANGUAGE","CONTENT_MD5","COOKIE","DATE","IF_MATCH","IF_MODIFIED_SINCE","IF_NONE_MATCH","IF_UNMODIFIED_SINCE","PREFIX_FOR_STORAGE","RANGE","X_MS_CLIENT_REQUEST_ID","X_MS_COPY_SOURCE","X_MS_DATE","X_MS_CopySourceErrorCode","getValueInConnString","setURLHost","getURLQueries","sanitizeURL","sanitizeHeaders","attachCredential","urlParsed","getProxyUriFromDevConnString","matchCredentials","blobEndpoint","defaultEndpointsProtocol","endpointSuffix","encodedName","encodedValue","searchString","pathString","querySubStrings","indexOfEqual","lastIndexOfEqual","querySubString","splitResults","queryParts","withMilliseconds","dateString","encodedString","blockIndex","maxSourceStringLength","maxBlockIndexLength","maxAllowedBlockIDPrefixLength","resolveHandler","currentString","targetLength","padString","safeURL","originalHeader","str1","str2","tagPairs","blobTag","textConfiguration","escapeCharacter","hasHeaders","objectReplicationRecord","orProperties","policyPrefix","ruleId","replicationStatus","policyIndex","policyId","httpAuthorization","blobItemInteral","pageRangeIndex","clearRangeIndex","isClear","streamToBuffer3","node_fs_1","node_util_1","PooledBuffer_js_1","maxBuffers","outgoingHandler","isStreamEnd","executingOutgoingHandlers","numBuffers","unresolvedDataArray","unresolvedLength","incoming","outgoing","appendUnresolvedData","resolveData","triggerOutgoingHandlers","shiftBufferFromUnresolvedDataArray","getReadableStream","PooledBuffer","triggerOutgoingHandler","reuseBuffer","BuffersStream","byteOffsetInCurrentBuffer","pushedBytesLength","outBuffers","remainingDataInAllBuffers","remainingCapacityInThisBuffer","BuffersStream_js_1","node_buffer_1","maxBufferLength","bufferNum","targetOffset","totalCopiedNum","copiedNum","StorageBrowserPolicy_js_1","nextPolicy","StorageRetryPolicy_js_1","StorageRetryPolicyType_js_1","_defaultHttpClient","AnonymousCredentialPolicy_js_1","Credential_js_1","_nextPolicy","node_crypto_1","StorageSharedKeyCredentialPolicy_js_1","cache_js_1","RequestPolicy_js_1","CredentialPolicy_js_1","storageBrowserPolicyName","storageCorrectContentLengthPolicyName","correctContentLength","storageRequestFailureDetailsParserPolicyName","HeaderName","NewRetryPolicyFactory","DEFAULT_RETRY_OPTIONS","retryPolicyType","EXPONENTIAL","secondaryHost","RETRY_ABORT_ERROR","attemptSendRequest","secondaryHas404","isPrimaryRetry","retriableErrors","retriableError","copySourceError","delayTimeInMs","storageRetryPolicyName","StorageRetryPolicyFactory_js_1","calculateDelay","primaryUrl","secondaryUrl","retryAgain","SharedKeyComparator_js_1","getHeaderValueToSign","getCanonicalizedHeadersString","getCanonicalizedResourceString","compareHeader","canonicalizedHeadersStringToSign","trimRight","canonicalizedResourceString","lowercaseQueries","queryKeys","lowercaseKey","storageSharedKeyCredentialPolicyName","table_lv0","Uint32Array","table_lv2","table_lv4","rhs","isLessThan","tables","curr_level","weight1","weight2","b64DecodeUnicode","base64UrlDecode","isOAuth2TokenCredential","isBearerTokenCredential","isBasicCredential","isApiKeyCredential","apiVersionPolicyName","apiVersionPolicy","getCachedDefaultHttpsClient","apiVersionPolicy_js_1","credentials_js_1","apiKeyAuthenticationPolicy_js_1","basicAuthenticationPolicy_js_1","bearerAuthenticationPolicy_js_1","oauth2AuthenticationPolicy_js_1","apiKeyAuthenticationPolicy","basicAuthenticationPolicy","bearerAuthenticationPolicy","oauth2AuthenticationPolicy","getClient","clientHelpers_js_1","sendRequest_js_1","checkEnvironment_js_1","buildRequestUrl","buildOperation","pathUnchecked","onFulfilled","asBrowserStream","responseAsStream","asNodeStream","buildBodyPart","buildMultipartBody","bytesEncoding_js_1","getHeaderValue","actualHeaderName","getPartContentType","contentTypeHeader","isBinaryBody","escapeDispositionField","getContentDisposition","contentDispositionHeader","dispositionType","disposition","filenameFromFile","normalizeBody","operationOptionsToRequestParameters","skipUrlEncoding","createRestError","messageOrResponse","statusCodeToNumber","multipart_js_1","customHttpClient","buildPipelineRequest","browserStreamBody","getResponseBody","getRequestContentType","getContentType","getRequestBody","enableBrowserStreams","firstType","bodyToParse","createParseError","buildBaseUrl","isQueryParameterWithOptions","routePath","pathParameters","buildRoutePath","getQueryParamValue","allowReserved","paramValues","paramStrings","hasMetadata","explode","actualKey","pathParams","pathParam","nodeHttpClient_js_1","createNodeHttpClient","normalizeName","headerIterator","HttpHeadersImpl","normalizedName","TypeSpecRuntimeLogger","logger_js_1","getClient_js_1","operationOptionHelpers_js_1","restError_js_2","namespaceMatches","patternToMatch","patternParts","lastCharacter","namespaceIndex","patternIndex","patternLength","namespaceLength","lastWildcard","lastWildcardNamespace","namespaceDone","patternDone","trailingWildCard","debug_js_1","TYPESPEC_RUNTIME_LOG_LEVELS","isTypeSpecRuntimeLogLevel","clientLogger","contextSetLogLevel","contextGetLogLevel","contextCreateClientLogger","getBodyLength","node_http_1","node_https_1","node_zlib_1","sanitizer_js_1","DEFAULT_TLS_SETTINGS","isStreamComplete","ReportTransform","progressCallback","NodeHttpClient","cachedHttpAgent","cachedHttpsAgents","abortListener","acceptEncoding","shouldDecompress","responseStream","uploadReportStream","getResponseHeaders","getDecodedResponseStream","downloadReportStream","streamToText","uploadStreamDone","downloadStreamDone","isInsecure","getOrCreateAgent","REQUEST_SEND_ERROR","unzip","ValidPhaseNames","HttpPipeline","_policies","_orderedPolicies","policies","removedPolicies","policyDescriptor","orderPolicies","policyMap","createPhase","hasRun","hasAfterPolicies","serializePhase","noPhase","deserializePhase","retryPhase","signPhase","orderedPhases","getPhase","dependsOn","dependants","afterPolicies","afterPolicyName","afterNode","beforePolicyName","beforeNode","walkPhase","dependant","walkPhases","iteration","initialResultLength","uuidUtils_js_1","PipelineRequestImpl","apiKeyAuthenticationPolicyName","checkInsecureConnection_js_1","ensureSecureConnection","apiKeyLocation","basicAuthenticationPolicyName","bearerAuthenticationPolicyName","getBearerToken","insecureConnectionWarningEmmitted","emitInsecureConnectionWarning","oauth2AuthenticationPolicyName","getOAuth2Token","flows","exponentialRetryStrategy_js_1","throttlingRetryStrategy_js_1","throttlingRetryStrategy","exponentialRetryStrategy","ignoreSystemErrors","formDataToFormDataMap","formDataMap","wwwFormUrlEncode","prepareFormData","urlSearchParams","sanitize","concat_js_1","generateBoundary","encodeHeaders","getLength","getTotalLength","partLength","buildRequestBody","maxBoundaryLength","validBoundaryCharacters","assertValidBoundary","parsedHeader","parsedBoundary","globalNoProxyList","loadNoProxy","https_proxy_agent_1","http_proxy_agent_1","ALL_PROXY","noProxyListLoaded","globalBypassedMap","getEnvironmentValue","loadEnvironmentProxyValue","allProxy","isBypassed","noProxyList","bypassedMap","isBypassedFlag","getDefaultProxySettingsInternal","envProxy","getUrlFromProxySettings","parsedProxyUrl","setProxyAgentOnRequest","cachedAgents","httpProxyAgent","httpsProxyAgent","defaultProxy","customNoProxyList","allowedRedirect","handleRedirect","currentRetries","locationHeader","helpers_js_1","retryPolicyName","responseError","strategiesLoop","strategyLogger","skipStrategy","errorToThrow","redirectTo","ignoreHttpStatusCodes","inspect_js_1","errorSanitizer","maxFreeSockets","isExponentialRetryResponse","isSystemError","DEFAULT_CLIENT_RETRY_INTERVAL","DEFAULT_CLIENT_MAX_RETRY_INTERVAL","retryInterval","maxRetryInterval","matchedSystemError","isExponential","ignoreExponentialResponse","unknownResponse","isThrottlingRetryResponse","RetryAfterHeader","AllRetryAfterHeaders","getRetryAfterInMs","retryAfterValue","parseHeaderValueAsNumber","multiplyingFactor","importScripts","Deno","Bun","product","streamAsyncIterator","webStream","ensureNodeStream","toStream","random_js_1","object_js_1","valueAsNum","sha256_js_1","RedactedString","defaultAllowedHeaderNames","defaultAllowedQueryParameters","allowedHeaderNames","allowedQueryParameters","sanitizeQuery","sanitized","isWebReadableStream","Glob","path_scurry_1","node_url_1","pattern_js_1","walker_js_1","dotRelative","magicalBraces","maxDepth","scurry","fileURLToPath","Scurry","PathScurryWin32","PathScurryDarwin","PathScurryPosix","PathScurry","nocaseMagicOnly","mmo","optimizationLevel","mms","matchSet","GlobWalker","walkSync","GlobStream","streamSync","iterateSync","iterate","Ignore","relativeChildren","absoluteChildren","mmopts","ign","globString","fullpath","fullpaths","relatives","childrenIgnored","globIterate","globIterateSync","globSync","globStream","globStreamSync","glob_js_1","has_magic_js_1","glob_","minimatch_2","glob_js_2","has_magic_js_2","isPatternList","isGlobList","patternList","globList","isDrive","isUNC","followGlobstar","p0","p1","p2","p3","prest","g0","g1","g2","g3","grest","isGlobstar","hasMore","checkFollowGlobstar","markFollowGlobstar","Processor","SubWalks","MatchRecord","HasWalkedCache","hasWalked","storeWalked","ifDir","canReaddir","subs","hasWalkedCache","subwalks","processingSet","isENOENT","changed","rp","rrest","subwalkTargets","filterEntries","testGlobstar","testRegExp","testString","GlobUtil","minipass_1","ignore_js_1","processor_js_1","makeIgnore","onResume","posix","matchCheck","realpathCached","needStat","isUnknown","matchCheckTest","matchCheckSync","matchFinish","matchEmit","fullpathPosix","rel","relativePosix","matchSync","walkCB","walkCB2","processor","childrenCached","readdirCached","calledReaddir","walkCB3","readdirCB","walkCBSync","walkCB2Sync","walkCB3Sync","Minipass","AST","brace_expressions_js_1","unescape_js_1","isExtglobType","startNoTraversal","startNoDot","justDots","starNoEmpty","uflag","parentIndex","negs","filledNegs","emptyExt","fillNegs","pp","copyIn","isStart","isEnd","parseAST","inBrace","braceStart","braceNeg","fromGlob","toMMPattern","toRegExpSource","anyMagic","allowDot","noEmpty","parseGlob","aps","needNoTrav","needNoDot","partsToRegExp","bodyDotAllowed","_hasMagic","needUflag","magic","parseClass","posixClasses","braceEscape","regexpEscape","rangesToString","sawStart","endPos","WHILE","cls","unip","neg","sranges","snegs","comb","brace_expansion_1","assert_valid_pattern_js_1","ast_js_1","escape_js_1","starDotExtRE","starDotExtTest","starDotExtTestDot","starDotExtTestNocase","starDotExtTestNocaseDot","starDotStarRE","starDotStarTest","starDotStarTestDot","dotStarRE","dotStarTest","starRE","starTest","starTestDot","qmarksRE","qmarksTestNocase","qmarksTestNoExt","qmarksTestNocaseDot","qmarksTestNoExtDot","qmarksTestDot","qmarksTest","__MINIMATCH_TESTING_PLATFORM__","globMagic","preserveMultipleSlashes","windowsNoMagicRoot","rawGlobParts","preprocess","firstPhasePreProcess","secondPhasePreProcess","levelOneOptimize","adjascentGlobstarOptimize","gs","levelTwoFileOptimize","didSomething","gss","needDot","splin","matched","partsMatch","emptyGSMatch","fileDrive","fileUNC","patternDrive","patternUNC","fdi","pdi","fastTest","ff","ast_js_2","escape_js_2","unescape_js_2","perf","PROCESS","AC","AS","_onabort","warnACPolyfill","printACPolyfillWarning","LRU_CACHE_IGNORE_AC_WARNING","shouldWarn","isPosInt","getUintArray","Uint16Array","ZeroArray","Stack","HeapCls","constructing","disposeAfter","fetchMethod","ttlResolution","ttlAutopurge","updateAgeOnGet","updateAgeOnHas","allowStale","noDisposeOnSet","noUpdateTTL","maxEntrySize","sizeCalculation","noDeleteOnFetchRejection","noDeleteOnStaleGet","allowStaleOnFetchAbort","allowStaleOnFetchRejection","ignoreFetchAbort","calculatedSize","keyMap","keyList","valList","disposed","starts","ttls","hasDispose","hasFetchMethod","hasDisposeAfter","unsafeExposeInternals","isBackgroundFetch","backgroundFetch","moveToTail","indexes","rindexes","isStale","UintArray","initializeSizeTracking","initializeTTLTracking","getRemainingTTL","setItemTTL","updateItemAge","statusTTL","cachedNow","getNow","age","remainingTTL","removeItemSize","requireSize","addItemSize","evict","entrySize","totalCalculatedSize","isValidIndex","rentries","rkeys","rvalues","__staleWhileFetching","thisp","rforEach","purgeStale","remain","setOptions","maxEntrySizeExceeded","oldVal","__abortController","oldValue","hasOptions","peekOptions","fetchOpts","updateCache","ignoreAbort","fetchAborted","fetchError","fetchAbortIgnored","fetchResolved","fetchFail","bf","fetchUpdated","eb","fetchRejected","allowStaleAborted","noDelete","returnedStale","__returned","pcall","fmp","fetchDispatched","fetchOptions","stale","hasStale","staleVal","proc","EOF","MAYBE_EMIT_END","EMITTED_END","EMITTING_END","EMITTED_ERROR","READ","FLUSHCHUNK","ENCODING","DECODER","FLOWING","RESUME","BUFFER","PIPES","BUFFERLENGTH","BUFFERPUSH","BUFFERSHIFT","OBJECTMODE","EMITDATA","EMITEND","EMITEND2","ASYNC","ABORT","SIGNAL","DATALISTENERS","DISCARDED","nodefer","isEndish","isArrayBufferLike","Pipe","proxyErrors","_er","PipeProxyErrors","isObjectModeOptions","isEncodingOptions","debugExposeBuffer","debugExposePipes","_om","noDrain","emittedEnd","collect","onerr","ondestroy","wc","PathScurryBase","PathPosix","PathWin32","PathBase","ChildrenCache","ResolveCache","lru_cache_1","node_path_1","actualFS","native","defaultFS","fsFromOption","fsOption","uncDriveRegexp","uncToDrive","rootPath","eitherSep","UNKNOWN","IFIFO","IFCHR","IFDIR","IFBLK","IFREG","IFLNK","IFSOCK","IFMT","IFMT_UNKNOWN","READDIR_CALLED","LSTAT_CALLED","ENOTDIR","ENOREADLINK","ENOREALPATH","ENOCHILD","TYPEMASK","entToType","isCharacterDevice","isBlockDevice","isSocket","isFIFO","normalizeCache","normalizeNocaseCache","normalizeNocase","setAsCwd","roots","isCWD","dev","nlink","rdev","blksize","ino","atimeMs","mtimeMs","ctimeMs","birthtimeMs","birthtime","matchName","linkTarget","childrenCache","getRootString","dirParts","splitSep","getRoot","resolveParts","provisional","pathPart","pchild","newChild","pv","pfpp","fpp","getType","lstatCached","readlinkCached","canReadlink","ifmt","readlinkFail","readdirSuccess","markENOENT","markChildrenENOENT","markENOREALPATH","markENOTDIR","readdirFail","lstatFail","ter","readdirAddChild","readdirMaybePromoteChild","readdirAddNewChild","readdirPromoteChild","applyStat","onReaddirCB","readdirCBInFlight","callOnReaddirCB","cbs","allowZalgo","asyncReaddirInFlight","shouldWalk","dirs","walkFilter","oldCwd","sameRoot","_rootPath","resolveCache","resolvePosixCache","pathImpl","childrenCacheSize","cwdPath","parseRootPath","newRoot","joinSep","sawFirst","resolvePosix","onReaddir","didRealpaths","_dir","ut","et","ft","startIndex","allowBooleanAttributes","unpairedTags","tagClosed","tagStartPos","preserveOrder","removeNSPrefix","numberParseOptions","leadingZeros","eNotation","attributeValueProcessor","alwaysCreateTextNode","commentPropName","ignorePiTags","transformTagName","transformAttributeName","updateTag","captureMetaData","tagname","addChild","getMetaDataSymbol","suppressValidationErr","readDocType","readEntityExp","regx","readElementExp","readNotationExp","entities","readIdentifierVal","notationName","publicIdentifier","systemIdentifier","contentModel","readAttlistExp","attributeType","S","decimalPoint","currentNode","tagsNodeStack","docTypeEntities","lastEntities","ampEntity","space","copyright","inr","num_dec","Z","num_hex","addExternalEntities","parseTextData","resolveNameSpace","buildAttributesMap","isItStopNode","Y","replaceEntitiesValue","readStopNodeData","W","saveTextToParentTag","U","ignoreAttributesFn","stopNodesExact","stopNodesWildcard","X","tagExp","attrExpPresent","closeIndex","rawTagName","tagContent","skipLike","fromCodePoint","Q","tt","externalEntities","nt","ot","rt","suppressUnpairedNode","oneListGroup","isAttribute","attrPrefixLen","processTextOrObjNode","ht","indentate","tagEndChar","newLine","buildTextValNode","attrStr","buildObjectNode","arrayNodeName","buildAttrPairStr","closeTag","getDefaultExportFromCjs","CRC_TABLE","ensureBuffer","bufferizeInt","_crc32","signed","bufferCrc32","CsvError","contexts","is_object","normalize_columns_array","normalizedColumns","disabled","ResizeableBuffer","prepend","np","cr$1","nl$1","tab","init_state","bomSkipped","bufBytesStart","castField","cast_function","commenting","from_line","escapeIsQuote","expectedRecordLength","firstLineToHeaders","cast_first_line_to_header","needMoreDataSize","previousBuf","quoting","rawBuffer","recordHasError","record_length","recordDelimiterMaxLength","record_delimiter","trimChars","wasQuoting","wasRowDelimiter","timchars","underscore","normalize_options","bom","cast","cast_date","group_columns_by_name","comment_no_infix","delimiter_json","ignore_last_delimiters","max_record_size","objname","on_record","on_skip","relax_column_count","relax_column_count_less","relax_column_count_more","relax_quotes","skip_empty_lines","skip_records_with_empty_values","skip_records_with_error","rtrim","ltrim","to_line","isRecordEmpty","cr","boms","utf16le","original_options","comment_lines","empty_lines","invalid_field_length","__needMoreData","bufLen","numOfCharLeft","nextBuf","bomLength","record_delimiterCount","__autoDiscoverRecordDelimiter","chr","__isEscape","__isQuote","nextChr","isNextChrTrimable","__isCharTrimable","isNextChrComment","__compareBytes","isNextChrDelimiter","__isDelimiter","isNextChrRecordDelimiter","__isRecordDelimiter","__error","__infoField","recordDelimiterLength","skipCommentLine","__resetField","__resetRecord","errField","__onField","errRecord","__onRecord","commentCount","delimiterLength","lappend","rappend","recordLength","__firstLineToColumns","finalErr","extRecord","__infoRecord","__push","normalizedHeaders","__cast","isColumns","__isFloat","isTrim","loop1","timchar","sourceBuf","targetBuf","targetPos","firstByte","sourceLength","rdLength","rds","__infoDataSet","ct","__webpack_module_cache__","moduleId","cachedModule","__webpack_modules__","getProto","leafPrototypes","chunkId","nmd","installedChunks","installChunk","modules","installedChunkData","import","isNothing_1","isObject_1","toArray_1","repeat_1","isNegativeZero_1","extend_1","YAMLException$1","Type$1","Schema$1","type$1","failsafe","_null","js_yaml_int","js_yaml_float","js_yaml_core","_hasOwnProperty$3","_toString$2","_toString$1","_hasOwnProperty$2","_hasOwnProperty$1","State$1","loadAll$1","load$1","loadAll_1","load_1","dump$1","dump_1","jsYaml","getInputs","ecr","logout","registryAuth","getAuthList","auths","scopeToConfigDir","scopeDisabled","external_path_default","buildx","DOCKER_LOGIN_SCOPE_DISABLED","ecrRegistryRegex","ecrPublicRegistryRegex","isECR","isPubECR","getRegion","AWS_REGION","AWS_DEFAULT_REGION","getAccountIDs","accountIDs","AWS_ACCOUNT_IDS","getRegistriesData","authTokenRequest","dist","https_proxy_agent_dist","ecrPublic","client_ecr_public_dist_cjs","node_http_handler_dist_cjs","authTokenResponse","getAuthorizationToken","authorizationData","authorizationToken","authToken","dist_cjs","regDatas","authData","proxyEndpoint","loginECR","loginStandard","envs","docker","loginExec","regData","state_helper_logout","setRegistries","setLogout","registryState"],"sources":["../node_modules/@actions/artifact/lib/artifact.js","../node_modules/@actions/artifact/lib/generated/google/protobuf/timestamp.js","../node_modules/@actions/artifact/lib/generated/google/protobuf/wrappers.js","../node_modules/@actions/artifact/lib/generated/index.js","../node_modules/@actions/artifact/lib/generated/results/api/v1/artifact.js","../node_modules/@actions/artifact/lib/generated/results/api/v1/artifact.twirp-client.js","../node_modules/@actions/artifact/lib/internal/client.js","../node_modules/@actions/artifact/lib/internal/delete/delete-artifact.js","../node_modules/@actions/artifact/lib/internal/download/download-artifact.js","../node_modules/@actions/artifact/lib/internal/find/get-artifact.js","../node_modules/@actions/artifact/lib/internal/find/list-artifacts.js","../node_modules/@actions/artifact/lib/internal/find/retry-options.js","../node_modules/@actions/artifact/lib/internal/shared/artifact-twirp-client.js","../node_modules/@actions/artifact/lib/internal/shared/config.js","../node_modules/@actions/artifact/lib/internal/shared/errors.js","../node_modules/@actions/artifact/lib/internal/shared/interfaces.js","../node_modules/@actions/artifact/lib/internal/shared/user-agent.js","../node_modules/@actions/artifact/lib/internal/shared/util.js","../node_modules/@actions/artifact/lib/internal/upload/blob-upload.js","../node_modules/@actions/artifact/lib/internal/upload/path-and-artifact-name-validation.js","../node_modules/@actions/artifact/lib/internal/upload/retention.js","../node_modules/@actions/artifact/lib/internal/upload/upload-artifact.js","../node_modules/@actions/artifact/lib/internal/upload/upload-zip-specification.js","../node_modules/@actions/artifact/lib/internal/upload/zip.js","../node_modules/@actions/artifact/node_modules/@actions/core/lib/command.js","../node_modules/@actions/artifact/node_modules/@actions/core/lib/core.js","../node_modules/@actions/artifact/node_modules/@actions/core/lib/file-command.js","../node_modules/@actions/artifact/node_modules/@actions/core/lib/oidc-utils.js","../node_modules/@actions/artifact/node_modules/@actions/core/lib/path-utils.js","../node_modules/@actions/artifact/node_modules/@actions/core/lib/platform.js","../node_modules/@actions/artifact/node_modules/@actions/core/lib/summary.js","../node_modules/@actions/artifact/node_modules/@actions/core/lib/utils.js","../node_modules/@actions/artifact/node_modules/@octokit/plugin-request-log/dist-node/index.js","../node_modules/@actions/cache/lib/cache.js","../node_modules/@actions/cache/lib/generated/results/api/v1/cache.js","../node_modules/@actions/cache/lib/generated/results/api/v1/cache.twirp-client.js","../node_modules/@actions/cache/lib/generated/results/entities/v1/cachemetadata.js","../node_modules/@actions/cache/lib/generated/results/entities/v1/cachescope.js","../node_modules/@actions/cache/lib/internal/cacheHttpClient.js","../node_modules/@actions/cache/lib/internal/cacheUtils.js","../node_modules/@actions/cache/lib/internal/config.js","../node_modules/@actions/cache/lib/internal/constants.js","../node_modules/@actions/cache/lib/internal/downloadUtils.js","../node_modules/@actions/cache/lib/internal/requestUtils.js","../node_modules/@actions/cache/lib/internal/shared/cacheTwirpClient.js","../node_modules/@actions/cache/lib/internal/shared/errors.js","../node_modules/@actions/cache/lib/internal/shared/user-agent.js","../node_modules/@actions/cache/lib/internal/shared/util.js","../node_modules/@actions/cache/lib/internal/tar.js","../node_modules/@actions/cache/lib/internal/uploadUtils.js","../node_modules/@actions/cache/lib/options.js","../node_modules/@actions/cache/node_modules/@actions/core/lib/command.js","../node_modules/@actions/cache/node_modules/@actions/core/lib/core.js","../node_modules/@actions/cache/node_modules/@actions/core/lib/file-command.js","../node_modules/@actions/cache/node_modules/@actions/core/lib/oidc-utils.js","../node_modules/@actions/cache/node_modules/@actions/core/lib/path-utils.js","../node_modules/@actions/cache/node_modules/@actions/core/lib/platform.js","../node_modules/@actions/cache/node_modules/@actions/core/lib/summary.js","../node_modules/@actions/cache/node_modules/@actions/core/lib/utils.js","../node_modules/@actions/cache/node_modules/@azure/abort-controller/dist/index.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/client-streaming-call.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/deferred.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/duplex-streaming-call.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/index.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/reflection-info.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/rpc-error.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/rpc-interceptor.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/rpc-options.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/rpc-output-stream.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/server-call-context.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/server-streaming-call.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/service-type.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/test-transport.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime-rpc/build/commonjs/unary-call.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/assert.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/base64.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/binary-format-contract.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/binary-reader.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/binary-writer.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/enum-object.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/goog-varint.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/index.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/json-format-contract.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/json-typings.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/lower-camel-case.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/message-type-contract.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/message-type.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/oneof.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/pb-long.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/protobufjs-utf8.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-binary-reader.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-binary-writer.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-contains-message-type.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-create.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-equals.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-info.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-json-reader.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-json-writer.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-long-convert.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-merge-partial.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-scalar-default.js","../node_modules/@actions/cache/node_modules/@protobuf-ts/runtime/build/commonjs/reflection-type-check.js","../node_modules/@actions/core/lib/command.js","../node_modules/@actions/core/lib/core.js","../node_modules/@actions/core/lib/file-command.js","../node_modules/@actions/core/lib/oidc-utils.js","../node_modules/@actions/core/lib/path-utils.js","../node_modules/@actions/core/lib/platform.js","../node_modules/@actions/core/lib/summary.js","../node_modules/@actions/core/lib/utils.js","../node_modules/@actions/core/node_modules/@actions/exec/lib/exec.js","../node_modules/@actions/core/node_modules/@actions/exec/lib/toolrunner.js","../node_modules/@actions/core/node_modules/@actions/http-client/lib/auth.js","../node_modules/@actions/core/node_modules/@actions/http-client/lib/index.js","../node_modules/@actions/core/node_modules/@actions/http-client/lib/proxy.js","../node_modules/@actions/core/node_modules/@actions/io/lib/io-util.js","../node_modules/@actions/core/node_modules/@actions/io/lib/io.js","../node_modules/@actions/exec/lib/exec.js","../node_modules/@actions/exec/lib/toolrunner.js","../node_modules/@actions/github/lib/context.js","../node_modules/@actions/github/lib/github.js","../node_modules/@actions/github/lib/internal/utils.js","../node_modules/@actions/github/lib/utils.js","../node_modules/@actions/github/node_modules/@actions/http-client/lib/index.js","../node_modules/@actions/github/node_modules/@actions/http-client/lib/proxy.js","../node_modules/@actions/glob/lib/glob.js","../node_modules/@actions/glob/lib/internal-glob-options-helper.js","../node_modules/@actions/glob/lib/internal-globber.js","../node_modules/@actions/glob/lib/internal-hash-files.js","../node_modules/@actions/glob/lib/internal-match-kind.js","../node_modules/@actions/glob/lib/internal-path-helper.js","../node_modules/@actions/glob/lib/internal-path.js","../node_modules/@actions/glob/lib/internal-pattern-helper.js","../node_modules/@actions/glob/lib/internal-pattern.js","../node_modules/@actions/glob/lib/internal-search-state.js","../node_modules/@actions/glob/node_modules/@actions/core/lib/command.js","../node_modules/@actions/glob/node_modules/@actions/core/lib/core.js","../node_modules/@actions/glob/node_modules/@actions/core/lib/file-command.js","../node_modules/@actions/glob/node_modules/@actions/core/lib/oidc-utils.js","../node_modules/@actions/glob/node_modules/@actions/core/lib/path-utils.js","../node_modules/@actions/glob/node_modules/@actions/core/lib/platform.js","../node_modules/@actions/glob/node_modules/@actions/core/lib/summary.js","../node_modules/@actions/glob/node_modules/@actions/core/lib/utils.js","../node_modules/@actions/http-client/lib/auth.js","../node_modules/@actions/http-client/lib/index.js","../node_modules/@actions/http-client/lib/proxy.js","../node_modules/@actions/http-client/node_modules/undici/index.js","../node_modules/@actions/http-client/node_modules/undici/lib/api/abort-signal.js","../node_modules/@actions/http-client/node_modules/undici/lib/api/api-connect.js","../node_modules/@actions/http-client/node_modules/undici/lib/api/api-pipeline.js","../node_modules/@actions/http-client/node_modules/undici/lib/api/api-request.js","../node_modules/@actions/http-client/node_modules/undici/lib/api/api-stream.js","../node_modules/@actions/http-client/node_modules/undici/lib/api/api-upgrade.js","../node_modules/@actions/http-client/node_modules/undici/lib/api/index.js","../node_modules/@actions/http-client/node_modules/undici/lib/api/readable.js","../node_modules/@actions/http-client/node_modules/undici/lib/api/util.js","../node_modules/@actions/http-client/node_modules/undici/lib/core/connect.js","../node_modules/@actions/http-client/node_modules/undici/lib/core/constants.js","../node_modules/@actions/http-client/node_modules/undici/lib/core/diagnostics.js","../node_modules/@actions/http-client/node_modules/undici/lib/core/errors.js","../node_modules/@actions/http-client/node_modules/undici/lib/core/request.js","../node_modules/@actions/http-client/node_modules/undici/lib/core/symbols.js","../node_modules/@actions/http-client/node_modules/undici/lib/core/tree.js","../node_modules/@actions/http-client/node_modules/undici/lib/core/util.js","../node_modules/@actions/http-client/node_modules/undici/lib/dispatcher/agent.js","../node_modules/@actions/http-client/node_modules/undici/lib/dispatcher/balanced-pool.js","../node_modules/@actions/http-client/node_modules/undici/lib/dispatcher/client-h1.js","../node_modules/@actions/http-client/node_modules/undici/lib/dispatcher/client-h2.js","../node_modules/@actions/http-client/node_modules/undici/lib/dispatcher/client.js","../node_modules/@actions/http-client/node_modules/undici/lib/dispatcher/dispatcher-base.js","../node_modules/@actions/http-client/node_modules/undici/lib/dispatcher/dispatcher.js","../node_modules/@actions/http-client/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js","../node_modules/@actions/http-client/node_modules/undici/lib/dispatcher/fixed-queue.js","../node_modules/@actions/http-client/node_modules/undici/lib/dispatcher/pool-base.js","../node_modules/@actions/http-client/node_modules/undici/lib/dispatcher/pool-stats.js","../node_modules/@actions/http-client/node_modules/undici/lib/dispatcher/pool.js","../node_modules/@actions/http-client/node_modules/undici/lib/dispatcher/proxy-agent.js","../node_modules/@actions/http-client/node_modules/undici/lib/dispatcher/retry-agent.js","../node_modules/@actions/http-client/node_modules/undici/lib/global.js","../node_modules/@actions/http-client/node_modules/undici/lib/handler/decorator-handler.js","../node_modules/@actions/http-client/node_modules/undici/lib/handler/redirect-handler.js","../node_modules/@actions/http-client/node_modules/undici/lib/handler/retry-handler.js","../node_modules/@actions/http-client/node_modules/undici/lib/interceptor/dns.js","../node_modules/@actions/http-client/node_modules/undici/lib/interceptor/dump.js","../node_modules/@actions/http-client/node_modules/undici/lib/interceptor/redirect-interceptor.js","../node_modules/@actions/http-client/node_modules/undici/lib/interceptor/redirect.js","../node_modules/@actions/http-client/node_modules/undici/lib/interceptor/retry.js","../node_modules/@actions/http-client/node_modules/undici/lib/llhttp/constants.js","../node_modules/@actions/http-client/node_modules/undici/lib/llhttp/llhttp-wasm.js","../node_modules/@actions/http-client/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js","../node_modules/@actions/http-client/node_modules/undici/lib/llhttp/utils.js","../node_modules/@actions/http-client/node_modules/undici/lib/mock/mock-agent.js","../node_modules/@actions/http-client/node_modules/undici/lib/mock/mock-client.js","../node_modules/@actions/http-client/node_modules/undici/lib/mock/mock-errors.js","../node_modules/@actions/http-client/node_modules/undici/lib/mock/mock-interceptor.js","../node_modules/@actions/http-client/node_modules/undici/lib/mock/mock-pool.js","../node_modules/@actions/http-client/node_modules/undici/lib/mock/mock-symbols.js","../node_modules/@actions/http-client/node_modules/undici/lib/mock/mock-utils.js","../node_modules/@actions/http-client/node_modules/undici/lib/mock/pending-interceptors-formatter.js","../node_modules/@actions/http-client/node_modules/undici/lib/mock/pluralizer.js","../node_modules/@actions/http-client/node_modules/undici/lib/util/timers.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/cache/cache.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/cache/cachestorage.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/cache/symbols.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/cache/util.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/cookies/constants.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/cookies/index.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/cookies/parse.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/cookies/util.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/eventsource/eventsource-stream.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/eventsource/eventsource.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/eventsource/util.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/fetch/body.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/fetch/constants.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/fetch/data-url.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/fetch/dispatcher-weakref.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/fetch/file.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/fetch/formdata-parser.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/fetch/formdata.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/fetch/global.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/fetch/headers.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/fetch/index.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/fetch/request.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/fetch/response.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/fetch/symbols.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/fetch/util.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/fetch/webidl.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/fileapi/encoding.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/fileapi/filereader.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/fileapi/progressevent.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/fileapi/symbols.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/fileapi/util.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/websocket/connection.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/websocket/constants.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/websocket/events.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/websocket/frame.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/websocket/permessage-deflate.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/websocket/receiver.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/websocket/sender.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/websocket/symbols.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/websocket/util.js","../node_modules/@actions/http-client/node_modules/undici/lib/web/websocket/websocket.js","../node_modules/@actions/io/lib/io-util.js","../node_modules/@actions/io/lib/io.js","../node_modules/@actions/tool-cache/lib/manifest.js","../node_modules/@actions/tool-cache/lib/retry-helper.js","../node_modules/@actions/tool-cache/lib/tool-cache.js","../node_modules/@actions/tool-cache/node_modules/@actions/core/lib/command.js","../node_modules/@actions/tool-cache/node_modules/@actions/core/lib/core.js","../node_modules/@actions/tool-cache/node_modules/@actions/core/lib/file-command.js","../node_modules/@actions/tool-cache/node_modules/@actions/core/lib/oidc-utils.js","../node_modules/@actions/tool-cache/node_modules/@actions/core/lib/path-utils.js","../node_modules/@actions/tool-cache/node_modules/@actions/core/lib/platform.js","../node_modules/@actions/tool-cache/node_modules/@actions/core/lib/summary.js","../node_modules/@actions/tool-cache/node_modules/@actions/core/lib/utils.js","../node_modules/@aws-sdk/client-ecr-public/dist-cjs/auth/httpAuthSchemeProvider.js","../node_modules/@aws-sdk/client-ecr-public/dist-cjs/endpoint/endpointResolver.js","../node_modules/@aws-sdk/client-ecr-public/dist-cjs/endpoint/ruleset.js","../node_modules/@aws-sdk/client-ecr-public/dist-cjs/index.js","../node_modules/@aws-sdk/client-ecr-public/dist-cjs/runtimeConfig.js","../node_modules/@aws-sdk/client-ecr-public/dist-cjs/runtimeConfig.shared.js","../node_modules/@aws-sdk/client-ecr/dist-cjs/auth/httpAuthSchemeProvider.js","../node_modules/@aws-sdk/client-ecr/dist-cjs/endpoint/endpointResolver.js","../node_modules/@aws-sdk/client-ecr/dist-cjs/endpoint/ruleset.js","../node_modules/@aws-sdk/client-ecr/dist-cjs/index.js","../node_modules/@aws-sdk/client-ecr/dist-cjs/runtimeConfig.js","../node_modules/@aws-sdk/client-ecr/dist-cjs/runtimeConfig.shared.js","../node_modules/@aws-sdk/core/dist-cjs/index.js","../node_modules/@aws-sdk/core/dist-cjs/submodules/client/index.js","../node_modules/@aws-sdk/core/dist-cjs/submodules/protocols/index.js","../node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js","../node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js","../node_modules/@aws-sdk/middleware-host-header/dist-cjs/index.js","../node_modules/@aws-sdk/middleware-logger/dist-cjs/index.js","../node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/index.js","../node_modules/@aws-sdk/middleware-recursion-detection/dist-cjs/recursionDetectionMiddleware.js","../node_modules/@aws-sdk/middleware-user-agent/dist-cjs/index.js","../node_modules/@aws-sdk/region-config-resolver/dist-cjs/index.js","../node_modules/@aws-sdk/region-config-resolver/dist-cjs/regionConfig/stsRegionDefaultResolver.js","../node_modules/@aws-sdk/util-endpoints/dist-cjs/index.js","../node_modules/@aws-sdk/util-user-agent-node/dist-cjs/index.js","../node_modules/@aws-sdk/xml-builder/dist-cjs/index.js","../node_modules/@aws-sdk/xml-builder/dist-cjs/xml-parser.js","../node_modules/@aws/lambda-invoke-store/dist-cjs/invoke-store.js","../node_modules/@azure/core-lro/dist/index.js","../node_modules/@azure/core-lro/node_modules/@azure/abort-controller/dist/index.js","../node_modules/@azure/core-lro/node_modules/@azure/core-util/dist/index.js","../node_modules/@azure/core-lro/node_modules/@azure/logger/dist/index.js","../node_modules/@azure/storage-blob/node_modules/tslib/tslib.js","../node_modules/@azure/storage-common/node_modules/tslib/tslib.js","../node_modules/@docker/actions-toolkit/lib/buildkit/git.js","../node_modules/@docker/actions-toolkit/lib/buildx/buildx.js","../node_modules/@docker/actions-toolkit/lib/cache.js","../node_modules/@docker/actions-toolkit/lib/context.js","../node_modules/@docker/actions-toolkit/lib/docker/docker.js","../node_modules/@docker/actions-toolkit/lib/exec.js","../node_modules/@docker/actions-toolkit/lib/github.js","../node_modules/@docker/actions-toolkit/lib/index.js","../node_modules/@docker/actions-toolkit/lib/util.js","../node_modules/@docker/actions-toolkit/node_modules/@actions/core/lib/command.js","../node_modules/@docker/actions-toolkit/node_modules/@actions/core/lib/core.js","../node_modules/@docker/actions-toolkit/node_modules/@actions/core/lib/file-command.js","../node_modules/@docker/actions-toolkit/node_modules/@actions/core/lib/oidc-utils.js","../node_modules/@docker/actions-toolkit/node_modules/@actions/core/lib/path-utils.js","../node_modules/@docker/actions-toolkit/node_modules/@actions/core/lib/platform.js","../node_modules/@docker/actions-toolkit/node_modules/@actions/core/lib/summary.js","../node_modules/@docker/actions-toolkit/node_modules/@actions/core/lib/utils.js","../node_modules/@docker/actions-toolkit/node_modules/@actions/github/lib/context.js","../node_modules/@docker/actions-toolkit/node_modules/@actions/github/lib/github.js","../node_modules/@docker/actions-toolkit/node_modules/@actions/github/lib/internal/utils.js","../node_modules/@docker/actions-toolkit/node_modules/@actions/github/lib/utils.js","../node_modules/@docker/actions-toolkit/node_modules/@actions/github/node_modules/@octokit/core/dist-node/index.js","../node_modules/@docker/actions-toolkit/node_modules/@actions/github/node_modules/@octokit/core/node_modules/@octokit/request-error/dist-node/index.js","../node_modules/@docker/actions-toolkit/node_modules/@actions/github/node_modules/@octokit/core/node_modules/@octokit/request/dist-node/index.js","../node_modules/@docker/actions-toolkit/node_modules/@actions/github/node_modules/@octokit/plugin-paginate-rest/dist-node/index.js","../node_modules/@docker/actions-toolkit/node_modules/@actions/github/node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js","../node_modules/@docker/actions-toolkit/node_modules/semver/classes/comparator.js","../node_modules/@docker/actions-toolkit/node_modules/semver/classes/range.js","../node_modules/@docker/actions-toolkit/node_modules/semver/classes/semver.js","../node_modules/@docker/actions-toolkit/node_modules/semver/functions/clean.js","../node_modules/@docker/actions-toolkit/node_modules/semver/functions/cmp.js","../node_modules/@docker/actions-toolkit/node_modules/semver/functions/coerce.js","../node_modules/@docker/actions-toolkit/node_modules/semver/functions/compare-build.js","../node_modules/@docker/actions-toolkit/node_modules/semver/functions/compare-loose.js","../node_modules/@docker/actions-toolkit/node_modules/semver/functions/compare.js","../node_modules/@docker/actions-toolkit/node_modules/semver/functions/diff.js","../node_modules/@docker/actions-toolkit/node_modules/semver/functions/eq.js","../node_modules/@docker/actions-toolkit/node_modules/semver/functions/gt.js","../node_modules/@docker/actions-toolkit/node_modules/semver/functions/gte.js","../node_modules/@docker/actions-toolkit/node_modules/semver/functions/inc.js","../node_modules/@docker/actions-toolkit/node_modules/semver/functions/lt.js","../node_modules/@docker/actions-toolkit/node_modules/semver/functions/lte.js","../node_modules/@docker/actions-toolkit/node_modules/semver/functions/major.js","../node_modules/@docker/actions-toolkit/node_modules/semver/functions/minor.js","../node_modules/@docker/actions-toolkit/node_modules/semver/functions/neq.js","../node_modules/@docker/actions-toolkit/node_modules/semver/functions/parse.js","../node_modules/@docker/actions-toolkit/node_modules/semver/functions/patch.js","../node_modules/@docker/actions-toolkit/node_modules/semver/functions/prerelease.js","../node_modules/@docker/actions-toolkit/node_modules/semver/functions/rcompare.js","../node_modules/@docker/actions-toolkit/node_modules/semver/functions/rsort.js","../node_modules/@docker/actions-toolkit/node_modules/semver/functions/satisfies.js","../node_modules/@docker/actions-toolkit/node_modules/semver/functions/sort.js","../node_modules/@docker/actions-toolkit/node_modules/semver/functions/valid.js","../node_modules/@docker/actions-toolkit/node_modules/semver/index.js","../node_modules/@docker/actions-toolkit/node_modules/semver/internal/constants.js","../node_modules/@docker/actions-toolkit/node_modules/semver/internal/debug.js","../node_modules/@docker/actions-toolkit/node_modules/semver/internal/identifiers.js","../node_modules/@docker/actions-toolkit/node_modules/semver/internal/lrucache.js","../node_modules/@docker/actions-toolkit/node_modules/semver/internal/parse-options.js","../node_modules/@docker/actions-toolkit/node_modules/semver/internal/re.js","../node_modules/@docker/actions-toolkit/node_modules/semver/ranges/gtr.js","../node_modules/@docker/actions-toolkit/node_modules/semver/ranges/intersects.js","../node_modules/@docker/actions-toolkit/node_modules/semver/ranges/ltr.js","../node_modules/@docker/actions-toolkit/node_modules/semver/ranges/max-satisfying.js","../node_modules/@docker/actions-toolkit/node_modules/semver/ranges/min-satisfying.js","../node_modules/@docker/actions-toolkit/node_modules/semver/ranges/min-version.js","../node_modules/@docker/actions-toolkit/node_modules/semver/ranges/outside.js","../node_modules/@docker/actions-toolkit/node_modules/semver/ranges/simplify.js","../node_modules/@docker/actions-toolkit/node_modules/semver/ranges/subset.js","../node_modules/@docker/actions-toolkit/node_modules/semver/ranges/to-comparators.js","../node_modules/@docker/actions-toolkit/node_modules/semver/ranges/valid.js","../node_modules/@fastify/busboy/deps/dicer/lib/Dicer.js","../node_modules/@fastify/busboy/deps/dicer/lib/HeaderParser.js","../node_modules/@fastify/busboy/deps/dicer/lib/PartStream.js","../node_modules/@fastify/busboy/deps/streamsearch/sbmh.js","../node_modules/@fastify/busboy/lib/main.js","../node_modules/@fastify/busboy/lib/types/multipart.js","../node_modules/@fastify/busboy/lib/types/urlencoded.js","../node_modules/@fastify/busboy/lib/utils/Decoder.js","../node_modules/@fastify/busboy/lib/utils/basename.js","../node_modules/@fastify/busboy/lib/utils/decodeText.js","../node_modules/@fastify/busboy/lib/utils/getLimit.js","../node_modules/@fastify/busboy/lib/utils/parseParams.js","../node_modules/@octokit/auth-token/dist-node/index.js","../node_modules/@octokit/core/dist-node/index.js","../node_modules/@octokit/core/node_modules/@octokit/request-error/dist-node/index.js","../node_modules/@octokit/core/node_modules/@octokit/request/dist-node/index.js","../node_modules/@octokit/endpoint/dist-node/index.js","../node_modules/@octokit/graphql/dist-node/index.js","../node_modules/@octokit/graphql/node_modules/@octokit/request-error/dist-node/index.js","../node_modules/@octokit/graphql/node_modules/@octokit/request/dist-node/index.js","../node_modules/@octokit/plugin-paginate-rest/dist-node/index.js","../node_modules/@octokit/plugin-rest-endpoint-methods/dist-node/index.js","../node_modules/@octokit/plugin-retry/dist-node/index.js","../node_modules/@protobuf-ts/runtime-rpc/build/commonjs/client-streaming-call.js","../node_modules/@protobuf-ts/runtime-rpc/build/commonjs/deferred.js","../node_modules/@protobuf-ts/runtime-rpc/build/commonjs/duplex-streaming-call.js","../node_modules/@protobuf-ts/runtime-rpc/build/commonjs/index.js","../node_modules/@protobuf-ts/runtime-rpc/build/commonjs/reflection-info.js","../node_modules/@protobuf-ts/runtime-rpc/build/commonjs/rpc-error.js","../node_modules/@protobuf-ts/runtime-rpc/build/commonjs/rpc-interceptor.js","../node_modules/@protobuf-ts/runtime-rpc/build/commonjs/rpc-options.js","../node_modules/@protobuf-ts/runtime-rpc/build/commonjs/rpc-output-stream.js","../node_modules/@protobuf-ts/runtime-rpc/build/commonjs/server-call-context.js","../node_modules/@protobuf-ts/runtime-rpc/build/commonjs/server-streaming-call.js","../node_modules/@protobuf-ts/runtime-rpc/build/commonjs/service-type.js","../node_modules/@protobuf-ts/runtime-rpc/build/commonjs/test-transport.js","../node_modules/@protobuf-ts/runtime-rpc/build/commonjs/unary-call.js","../node_modules/@protobuf-ts/runtime/build/commonjs/assert.js","../node_modules/@protobuf-ts/runtime/build/commonjs/base64.js","../node_modules/@protobuf-ts/runtime/build/commonjs/binary-format-contract.js","../node_modules/@protobuf-ts/runtime/build/commonjs/binary-reader.js","../node_modules/@protobuf-ts/runtime/build/commonjs/binary-writer.js","../node_modules/@protobuf-ts/runtime/build/commonjs/enum-object.js","../node_modules/@protobuf-ts/runtime/build/commonjs/goog-varint.js","../node_modules/@protobuf-ts/runtime/build/commonjs/index.js","../node_modules/@protobuf-ts/runtime/build/commonjs/json-format-contract.js","../node_modules/@protobuf-ts/runtime/build/commonjs/json-typings.js","../node_modules/@protobuf-ts/runtime/build/commonjs/lower-camel-case.js","../node_modules/@protobuf-ts/runtime/build/commonjs/message-type-contract.js","../node_modules/@protobuf-ts/runtime/build/commonjs/message-type.js","../node_modules/@protobuf-ts/runtime/build/commonjs/oneof.js","../node_modules/@protobuf-ts/runtime/build/commonjs/pb-long.js","../node_modules/@protobuf-ts/runtime/build/commonjs/protobufjs-utf8.js","../node_modules/@protobuf-ts/runtime/build/commonjs/reflection-binary-reader.js","../node_modules/@protobuf-ts/runtime/build/commonjs/reflection-binary-writer.js","../node_modules/@protobuf-ts/runtime/build/commonjs/reflection-contains-message-type.js","../node_modules/@protobuf-ts/runtime/build/commonjs/reflection-create.js","../node_modules/@protobuf-ts/runtime/build/commonjs/reflection-equals.js","../node_modules/@protobuf-ts/runtime/build/commonjs/reflection-info.js","../node_modules/@protobuf-ts/runtime/build/commonjs/reflection-json-reader.js","../node_modules/@protobuf-ts/runtime/build/commonjs/reflection-json-writer.js","../node_modules/@protobuf-ts/runtime/build/commonjs/reflection-long-convert.js","../node_modules/@protobuf-ts/runtime/build/commonjs/reflection-merge-partial.js","../node_modules/@protobuf-ts/runtime/build/commonjs/reflection-scalar-default.js","../node_modules/@protobuf-ts/runtime/build/commonjs/reflection-type-check.js","../node_modules/@smithy/config-resolver/dist-cjs/index.js","../node_modules/@smithy/core/dist-cjs/index.js","../node_modules/@smithy/core/dist-cjs/submodules/cbor/index.js","../node_modules/@smithy/core/dist-cjs/submodules/protocols/index.js","../node_modules/@smithy/core/dist-cjs/submodules/schema/index.js","../node_modules/@smithy/core/dist-cjs/submodules/serde/index.js","../node_modules/@smithy/fetch-http-handler/dist-cjs/index.js","../node_modules/@smithy/hash-node/dist-cjs/index.js","../node_modules/@smithy/is-array-buffer/dist-cjs/index.js","../node_modules/@smithy/middleware-content-length/dist-cjs/index.js","../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointFromConfig.js","../node_modules/@smithy/middleware-endpoint/dist-cjs/adaptors/getEndpointUrlConfig.js","../node_modules/@smithy/middleware-endpoint/dist-cjs/index.js","../node_modules/@smithy/middleware-retry/dist-cjs/index.js","../node_modules/@smithy/middleware-retry/dist-cjs/isStreamingPayload/isStreamingPayload.js","../node_modules/@smithy/middleware-serde/dist-cjs/index.js","../node_modules/@smithy/middleware-stack/dist-cjs/index.js","../node_modules/@smithy/node-config-provider/dist-cjs/index.js","../node_modules/@smithy/node-http-handler/dist-cjs/index.js","../node_modules/@smithy/property-provider/dist-cjs/index.js","../node_modules/@smithy/protocol-http/dist-cjs/index.js","../node_modules/@smithy/querystring-builder/dist-cjs/index.js","../node_modules/@smithy/querystring-parser/dist-cjs/index.js","../node_modules/@smithy/service-error-classification/dist-cjs/index.js","../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getHomeDir.js","../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFilepath.js","../node_modules/@smithy/shared-ini-file-loader/dist-cjs/getSSOTokenFromFile.js","../node_modules/@smithy/shared-ini-file-loader/dist-cjs/index.js","../node_modules/@smithy/shared-ini-file-loader/dist-cjs/readFile.js","../node_modules/@smithy/signature-v4/dist-cjs/index.js","../node_modules/@smithy/smithy-client/dist-cjs/index.js","../node_modules/@smithy/types/dist-cjs/index.js","../node_modules/@smithy/url-parser/dist-cjs/index.js","../node_modules/@smithy/util-base64/dist-cjs/fromBase64.js","../node_modules/@smithy/util-base64/dist-cjs/index.js","../node_modules/@smithy/util-base64/dist-cjs/toBase64.js","../node_modules/@smithy/util-body-length-browser/dist-cjs/index.js","../node_modules/@smithy/util-body-length-node/dist-cjs/index.js","../node_modules/@smithy/util-buffer-from/dist-cjs/index.js","../node_modules/@smithy/util-config-provider/dist-cjs/index.js","../node_modules/@smithy/util-defaults-mode-node/dist-cjs/index.js","../node_modules/@smithy/util-endpoints/dist-cjs/index.js","../node_modules/@smithy/util-hex-encoding/dist-cjs/index.js","../node_modules/@smithy/util-middleware/dist-cjs/index.js","../node_modules/@smithy/util-retry/dist-cjs/index.js","../node_modules/@smithy/util-stream/dist-cjs/ByteArrayCollector.js","../node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.browser.js","../node_modules/@smithy/util-stream/dist-cjs/checksum/ChecksumStream.js","../node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.browser.js","../node_modules/@smithy/util-stream/dist-cjs/checksum/createChecksumStream.js","../node_modules/@smithy/util-stream/dist-cjs/createBufferedReadable.js","../node_modules/@smithy/util-stream/dist-cjs/createBufferedReadableStream.js","../node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.browser.js","../node_modules/@smithy/util-stream/dist-cjs/getAwsChunkedEncodingStream.js","../node_modules/@smithy/util-stream/dist-cjs/headStream.browser.js","../node_modules/@smithy/util-stream/dist-cjs/headStream.js","../node_modules/@smithy/util-stream/dist-cjs/index.js","../node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.browser.js","../node_modules/@smithy/util-stream/dist-cjs/sdk-stream-mixin.js","../node_modules/@smithy/util-stream/dist-cjs/splitStream.browser.js","../node_modules/@smithy/util-stream/dist-cjs/splitStream.js","../node_modules/@smithy/util-stream/dist-cjs/stream-type-check.js","../node_modules/@smithy/util-uri-escape/dist-cjs/index.js","../node_modules/@smithy/util-utf8/dist-cjs/index.js","../node_modules/@smithy/util-waiter/dist-cjs/index.js","../node_modules/@smithy/uuid/dist-cjs/index.js","../node_modules/@smithy/uuid/dist-cjs/randomUUID.js","../node_modules/abort-controller/dist/abort-controller.js","../node_modules/agent-base/dist/helpers.js","../node_modules/agent-base/dist/index.js","../node_modules/archiver-utils/file.js","../node_modules/archiver-utils/index.js","../node_modules/archiver/index.js","../node_modules/archiver/lib/core.js","../node_modules/archiver/lib/error.js","../node_modules/archiver/lib/plugins/json.js","../node_modules/archiver/lib/plugins/tar.js","../node_modules/archiver/lib/plugins/zip.js","../node_modules/async/dist/async.js","../node_modules/b4a/index.js","../node_modules/balanced-match/index.js","../node_modules/before-after-hook/index.js","../node_modules/before-after-hook/lib/add.js","../node_modules/before-after-hook/lib/register.js","../node_modules/before-after-hook/lib/remove.js","../node_modules/binary/index.js","../node_modules/binary/lib/vars.js","../node_modules/bottleneck/light.js","../node_modules/brace-expansion/index.js","../node_modules/buffers/index.js","../node_modules/chainsaw/index.js","../node_modules/compress-commons/lib/archivers/archive-entry.js","../node_modules/compress-commons/lib/archivers/archive-output-stream.js","../node_modules/compress-commons/lib/archivers/zip/constants.js","../node_modules/compress-commons/lib/archivers/zip/general-purpose-bit.js","../node_modules/compress-commons/lib/archivers/zip/unix-stat.js","../node_modules/compress-commons/lib/archivers/zip/util.js","../node_modules/compress-commons/lib/archivers/zip/zip-archive-entry.js","../node_modules/compress-commons/lib/archivers/zip/zip-archive-output-stream.js","../node_modules/compress-commons/lib/compress-commons.js","../node_modules/compress-commons/lib/util/index.js","../node_modules/concat-map/index.js","../node_modules/core-util-is/lib/util.js","../node_modules/crc-32/crc32.js","../node_modules/crc32-stream/lib/crc32-stream.js","../node_modules/crc32-stream/lib/deflate-crc32-stream.js","../node_modules/crc32-stream/lib/index.js","../node_modules/debug/src/browser.js","../node_modules/debug/src/common.js","../node_modules/debug/src/index.js","../node_modules/debug/src/node.js","../node_modules/deprecation/dist-node/index.js","../node_modules/event-target-shim/dist/event-target-shim.js","../node_modules/fast-fifo/fixed-size.js","../node_modules/fast-fifo/index.js","../node_modules/graceful-fs/clone.js","../node_modules/graceful-fs/graceful-fs.js","../node_modules/graceful-fs/legacy-streams.js","../node_modules/graceful-fs/polyfills.js","../node_modules/has-flag/index.js","../node_modules/he/he.js","../node_modules/http-proxy-agent/dist/index.js","../node_modules/https-proxy-agent/dist/index.js","../node_modules/https-proxy-agent/dist/parse-proxy-response.js","../node_modules/https-proxy-agent/node_modules/agent-base/dist/helpers.js","../node_modules/https-proxy-agent/node_modules/agent-base/dist/index.js","../node_modules/inherits/inherits.js","../node_modules/inherits/inherits_browser.js","../node_modules/is-plain-object/dist/is-plain-object.js","../node_modules/is-stream/index.js","../node_modules/isarray/index.js","../node_modules/js-yaml/index.js","../node_modules/js-yaml/lib/common.js","../node_modules/js-yaml/lib/dumper.js","../node_modules/js-yaml/lib/exception.js","../node_modules/js-yaml/lib/loader.js","../node_modules/js-yaml/lib/schema.js","../node_modules/js-yaml/lib/schema/core.js","../node_modules/js-yaml/lib/schema/default.js","../node_modules/js-yaml/lib/schema/failsafe.js","../node_modules/js-yaml/lib/schema/json.js","../node_modules/js-yaml/lib/snippet.js","../node_modules/js-yaml/lib/type.js","../node_modules/js-yaml/lib/type/binary.js","../node_modules/js-yaml/lib/type/bool.js","../node_modules/js-yaml/lib/type/float.js","../node_modules/js-yaml/lib/type/int.js","../node_modules/js-yaml/lib/type/map.js","../node_modules/js-yaml/lib/type/merge.js","../node_modules/js-yaml/lib/type/null.js","../node_modules/js-yaml/lib/type/omap.js","../node_modules/js-yaml/lib/type/pairs.js","../node_modules/js-yaml/lib/type/seq.js","../node_modules/js-yaml/lib/type/set.js","../node_modules/js-yaml/lib/type/str.js","../node_modules/js-yaml/lib/type/timestamp.js","../node_modules/jwt-decode/build/jwt-decode.cjs.js","../node_modules/lazystream/lib/lazystream.js","../node_modules/lazystream/node_modules/readable-stream/lib/_stream_duplex.js","../node_modules/lazystream/node_modules/readable-stream/lib/_stream_passthrough.js","../node_modules/lazystream/node_modules/readable-stream/lib/_stream_readable.js","../node_modules/lazystream/node_modules/readable-stream/lib/_stream_transform.js","../node_modules/lazystream/node_modules/readable-stream/lib/_stream_writable.js","../node_modules/lazystream/node_modules/readable-stream/lib/internal/streams/BufferList.js","../node_modules/lazystream/node_modules/readable-stream/lib/internal/streams/destroy.js","../node_modules/lazystream/node_modules/readable-stream/lib/internal/streams/stream.js","../node_modules/lazystream/node_modules/readable-stream/passthrough.js","../node_modules/lazystream/node_modules/readable-stream/readable.js","../node_modules/lodash/_Hash.js","../node_modules/lodash/_ListCache.js","../node_modules/lodash/_Map.js","../node_modules/lodash/_MapCache.js","../node_modules/lodash/_Set.js","../node_modules/lodash/_SetCache.js","../node_modules/lodash/_Symbol.js","../node_modules/lodash/_apply.js","../node_modules/lodash/_arrayIncludes.js","../node_modules/lodash/_arrayIncludesWith.js","../node_modules/lodash/_arrayLikeKeys.js","../node_modules/lodash/_arrayMap.js","../node_modules/lodash/_arrayPush.js","../node_modules/lodash/_assocIndexOf.js","../node_modules/lodash/_baseDifference.js","../node_modules/lodash/_baseFindIndex.js","../node_modules/lodash/_baseFlatten.js","../node_modules/lodash/_baseGetTag.js","../node_modules/lodash/_baseIndexOf.js","../node_modules/lodash/_baseIsArguments.js","../node_modules/lodash/_baseIsNaN.js","../node_modules/lodash/_baseIsNative.js","../node_modules/lodash/_baseIsTypedArray.js","../node_modules/lodash/_baseKeysIn.js","../node_modules/lodash/_baseRest.js","../node_modules/lodash/_baseSetToString.js","../node_modules/lodash/_baseTimes.js","../node_modules/lodash/_baseUnary.js","../node_modules/lodash/_baseUniq.js","../node_modules/lodash/_cacheHas.js","../node_modules/lodash/_coreJsData.js","../node_modules/lodash/_createSet.js","../node_modules/lodash/_defineProperty.js","../node_modules/lodash/_freeGlobal.js","../node_modules/lodash/_getMapData.js","../node_modules/lodash/_getNative.js","../node_modules/lodash/_getPrototype.js","../node_modules/lodash/_getRawTag.js","../node_modules/lodash/_getValue.js","../node_modules/lodash/_hashClear.js","../node_modules/lodash/_hashDelete.js","../node_modules/lodash/_hashGet.js","../node_modules/lodash/_hashHas.js","../node_modules/lodash/_hashSet.js","../node_modules/lodash/_isFlattenable.js","../node_modules/lodash/_isIndex.js","../node_modules/lodash/_isIterateeCall.js","../node_modules/lodash/_isKeyable.js","../node_modules/lodash/_isMasked.js","../node_modules/lodash/_isPrototype.js","../node_modules/lodash/_listCacheClear.js","../node_modules/lodash/_listCacheDelete.js","../node_modules/lodash/_listCacheGet.js","../node_modules/lodash/_listCacheHas.js","../node_modules/lodash/_listCacheSet.js","../node_modules/lodash/_mapCacheClear.js","../node_modules/lodash/_mapCacheDelete.js","../node_modules/lodash/_mapCacheGet.js","../node_modules/lodash/_mapCacheHas.js","../node_modules/lodash/_mapCacheSet.js","../node_modules/lodash/_nativeCreate.js","../node_modules/lodash/_nativeKeysIn.js","../node_modules/lodash/_nodeUtil.js","../node_modules/lodash/_objectToString.js","../node_modules/lodash/_overArg.js","../node_modules/lodash/_overRest.js","../node_modules/lodash/_root.js","../node_modules/lodash/_setCacheAdd.js","../node_modules/lodash/_setCacheHas.js","../node_modules/lodash/_setToArray.js","../node_modules/lodash/_setToString.js","../node_modules/lodash/_shortOut.js","../node_modules/lodash/_strictIndexOf.js","../node_modules/lodash/_toSource.js","../node_modules/lodash/constant.js","../node_modules/lodash/defaults.js","../node_modules/lodash/difference.js","../node_modules/lodash/eq.js","../node_modules/lodash/flatten.js","../node_modules/lodash/identity.js","../node_modules/lodash/isArguments.js","../node_modules/lodash/isArray.js","../node_modules/lodash/isArrayLike.js","../node_modules/lodash/isArrayLikeObject.js","../node_modules/lodash/isBuffer.js","../node_modules/lodash/isFunction.js","../node_modules/lodash/isLength.js","../node_modules/lodash/isObject.js","../node_modules/lodash/isObjectLike.js","../node_modules/lodash/isPlainObject.js","../node_modules/lodash/isTypedArray.js","../node_modules/lodash/keysIn.js","../node_modules/lodash/noop.js","../node_modules/lodash/stubFalse.js","../node_modules/lodash/union.js","../node_modules/minimatch/minimatch.js","../node_modules/minimatch/node_modules/brace-expansion/index.js","../node_modules/mkdirp/index.js","../node_modules/ms/index.js","../node_modules/normalize-path/index.js","../node_modules/once/once.js","../node_modules/process-nextick-args/index.js","../node_modules/process/index.js","../node_modules/queue-tick/process-next-tick.js","../node_modules/queue-tick/queue-microtask.js","../node_modules/readable-stream/lib/internal/streams/add-abort-signal.js","../node_modules/readable-stream/lib/internal/streams/buffer_list.js","../node_modules/readable-stream/lib/internal/streams/compose.js","../node_modules/readable-stream/lib/internal/streams/destroy.js","../node_modules/readable-stream/lib/internal/streams/duplex.js","../node_modules/readable-stream/lib/internal/streams/duplexify.js","../node_modules/readable-stream/lib/internal/streams/end-of-stream.js","../node_modules/readable-stream/lib/internal/streams/from.js","../node_modules/readable-stream/lib/internal/streams/legacy.js","../node_modules/readable-stream/lib/internal/streams/operators.js","../node_modules/readable-stream/lib/internal/streams/passthrough.js","../node_modules/readable-stream/lib/internal/streams/pipeline.js","../node_modules/readable-stream/lib/internal/streams/readable.js","../node_modules/readable-stream/lib/internal/streams/state.js","../node_modules/readable-stream/lib/internal/streams/transform.js","../node_modules/readable-stream/lib/internal/streams/utils.js","../node_modules/readable-stream/lib/internal/streams/writable.js","../node_modules/readable-stream/lib/internal/validators.js","../node_modules/readable-stream/lib/ours/errors.js","../node_modules/readable-stream/lib/ours/index.js","../node_modules/readable-stream/lib/ours/primordials.js","../node_modules/readable-stream/lib/ours/util.js","../node_modules/readable-stream/lib/stream.js","../node_modules/readable-stream/lib/stream/promises.js","../node_modules/readdir-glob/index.js","../node_modules/readdir-glob/node_modules/minimatch/lib/path.js","../node_modules/readdir-glob/node_modules/minimatch/minimatch.js","../node_modules/safe-buffer/index.js","../node_modules/semver/semver.js","../node_modules/streamx/index.js","../node_modules/string_decoder/lib/string_decoder.js","../node_modules/supports-color/index.js","../node_modules/tar-stream/constants.js","../node_modules/tar-stream/extract.js","../node_modules/tar-stream/headers.js","../node_modules/tar-stream/index.js","../node_modules/tar-stream/pack.js","../node_modules/tmp/lib/tmp.js","../node_modules/traverse/index.js","../node_modules/tslib/tslib.js","../node_modules/tunnel/index.js","../node_modules/tunnel/lib/tunnel.js","../node_modules/undici/index.js","../node_modules/undici/lib/agent.js","../node_modules/undici/lib/api/abort-signal.js","../node_modules/undici/lib/api/api-connect.js","../node_modules/undici/lib/api/api-pipeline.js","../node_modules/undici/lib/api/api-request.js","../node_modules/undici/lib/api/api-stream.js","../node_modules/undici/lib/api/api-upgrade.js","../node_modules/undici/lib/api/index.js","../node_modules/undici/lib/api/readable.js","../node_modules/undici/lib/api/util.js","../node_modules/undici/lib/balanced-pool.js","../node_modules/undici/lib/cache/cache.js","../node_modules/undici/lib/cache/cachestorage.js","../node_modules/undici/lib/cache/symbols.js","../node_modules/undici/lib/cache/util.js","../node_modules/undici/lib/client.js","../node_modules/undici/lib/compat/dispatcher-weakref.js","../node_modules/undici/lib/cookies/constants.js","../node_modules/undici/lib/cookies/index.js","../node_modules/undici/lib/cookies/parse.js","../node_modules/undici/lib/cookies/util.js","../node_modules/undici/lib/core/connect.js","../node_modules/undici/lib/core/constants.js","../node_modules/undici/lib/core/errors.js","../node_modules/undici/lib/core/request.js","../node_modules/undici/lib/core/symbols.js","../node_modules/undici/lib/core/util.js","../node_modules/undici/lib/dispatcher-base.js","../node_modules/undici/lib/dispatcher.js","../node_modules/undici/lib/fetch/body.js","../node_modules/undici/lib/fetch/constants.js","../node_modules/undici/lib/fetch/dataURL.js","../node_modules/undici/lib/fetch/file.js","../node_modules/undici/lib/fetch/formdata.js","../node_modules/undici/lib/fetch/global.js","../node_modules/undici/lib/fetch/headers.js","../node_modules/undici/lib/fetch/index.js","../node_modules/undici/lib/fetch/request.js","../node_modules/undici/lib/fetch/response.js","../node_modules/undici/lib/fetch/symbols.js","../node_modules/undici/lib/fetch/util.js","../node_modules/undici/lib/fetch/webidl.js","../node_modules/undici/lib/fileapi/encoding.js","../node_modules/undici/lib/fileapi/filereader.js","../node_modules/undici/lib/fileapi/progressevent.js","../node_modules/undici/lib/fileapi/symbols.js","../node_modules/undici/lib/fileapi/util.js","../node_modules/undici/lib/global.js","../node_modules/undici/lib/handler/DecoratorHandler.js","../node_modules/undici/lib/handler/RedirectHandler.js","../node_modules/undici/lib/handler/RetryHandler.js","../node_modules/undici/lib/interceptor/redirectInterceptor.js","../node_modules/undici/lib/llhttp/constants.js","../node_modules/undici/lib/llhttp/llhttp-wasm.js","../node_modules/undici/lib/llhttp/llhttp_simd-wasm.js","../node_modules/undici/lib/llhttp/utils.js","../node_modules/undici/lib/mock/mock-agent.js","../node_modules/undici/lib/mock/mock-client.js","../node_modules/undici/lib/mock/mock-errors.js","../node_modules/undici/lib/mock/mock-interceptor.js","../node_modules/undici/lib/mock/mock-pool.js","../node_modules/undici/lib/mock/mock-symbols.js","../node_modules/undici/lib/mock/mock-utils.js","../node_modules/undici/lib/mock/pending-interceptors-formatter.js","../node_modules/undici/lib/mock/pluralizer.js","../node_modules/undici/lib/node/fixed-queue.js","../node_modules/undici/lib/pool-base.js","../node_modules/undici/lib/pool-stats.js","../node_modules/undici/lib/pool.js","../node_modules/undici/lib/proxy-agent.js","../node_modules/undici/lib/timers.js","../node_modules/undici/lib/websocket/connection.js","../node_modules/undici/lib/websocket/constants.js","../node_modules/undici/lib/websocket/events.js","../node_modules/undici/lib/websocket/frame.js","../node_modules/undici/lib/websocket/receiver.js","../node_modules/undici/lib/websocket/symbols.js","../node_modules/undici/lib/websocket/util.js","../node_modules/undici/lib/websocket/websocket.js","../node_modules/universal-user-agent/dist-node/index.js","../node_modules/unzip-stream/lib/entry.js","../node_modules/unzip-stream/lib/extract.js","../node_modules/unzip-stream/lib/matcher-stream.js","../node_modules/unzip-stream/lib/parser-stream.js","../node_modules/unzip-stream/lib/unzip-stream.js","../node_modules/unzip-stream/unzip.js","../node_modules/util-deprecate/node.js","../node_modules/wrappy/wrappy.js","../node_modules/zip-stream/index.js","../external node-commonjs \"assert\"","../external node-commonjs \"async_hooks\"","../external node-commonjs \"buffer\"","../external node-commonjs \"child_process\"","../external node-commonjs \"console\"","../external node-commonjs \"constants\"","../external node-commonjs \"crypto\"","../external node-commonjs \"diagnostics_channel\"","../external node-commonjs \"events\"","../external node-commonjs \"fs\"","../external node-commonjs \"fs/promises\"","../external node-commonjs \"http\"","../external node-commonjs \"http2\"","../external node-commonjs \"https\"","../external node-commonjs \"net\"","../external node-commonjs \"node:assert\"","../external node-commonjs \"node:async_hooks\"","../external node-commonjs \"node:buffer\"","../external node-commonjs \"node:console\"","../external node-commonjs \"node:crypto\"","../external node-commonjs \"node:diagnostics_channel\"","../external node-commonjs \"node:dns\"","../external node-commonjs \"node:events\"","../external node-commonjs \"node:fs\"","../external node-commonjs \"node:fs/promises\"","../external node-commonjs \"node:http\"","../external node-commonjs \"node:http2\"","../external node-commonjs \"node:https\"","../external node-commonjs \"node:net\"","../external node-commonjs \"node:os\"","../external node-commonjs \"node:path\"","../external node-commonjs \"node:perf_hooks\"","../external node-commonjs \"node:process\"","../external node-commonjs \"node:querystring\"","../external node-commonjs \"node:stream\"","../external node-commonjs \"node:tls\"","../external node-commonjs \"node:url\"","../external node-commonjs \"node:util\"","../external node-commonjs \"node:util/types\"","../external node-commonjs \"node:worker_threads\"","../external node-commonjs \"node:zlib\"","../external node-commonjs \"os\"","../external node-commonjs \"path\"","../external node-commonjs \"perf_hooks\"","../external node-commonjs \"process\"","../external node-commonjs \"querystring\"","../external node-commonjs \"stream\"","../external node-commonjs \"stream/web\"","../external node-commonjs \"string_decoder\"","../external node-commonjs \"timers\"","../external node-commonjs \"tls\"","../external node-commonjs \"tty\"","../external node-commonjs \"url\"","../external node-commonjs \"util\"","../external node-commonjs \"util/types\"","../external node-commonjs \"worker_threads\"","../external node-commonjs \"zlib\"","../node_modules/@azure/abort-controller/dist/commonjs/AbortError.js","../node_modules/@azure/abort-controller/dist/commonjs/index.js","../node_modules/@azure/core-auth/dist/commonjs/azureKeyCredential.js","../node_modules/@azure/core-auth/dist/commonjs/azureNamedKeyCredential.js","../node_modules/@azure/core-auth/dist/commonjs/azureSASCredential.js","../node_modules/@azure/core-auth/dist/commonjs/index.js","../node_modules/@azure/core-auth/dist/commonjs/keyCredential.js","../node_modules/@azure/core-auth/dist/commonjs/tokenCredential.js","../node_modules/@azure/core-client/dist/commonjs/authorizeRequestOnClaimChallenge.js","../node_modules/@azure/core-client/dist/commonjs/authorizeRequestOnTenantChallenge.js","../node_modules/@azure/core-client/dist/commonjs/base64.js","../node_modules/@azure/core-client/dist/commonjs/deserializationPolicy.js","../node_modules/@azure/core-client/dist/commonjs/httpClientCache.js","../node_modules/@azure/core-client/dist/commonjs/index.js","../node_modules/@azure/core-client/dist/commonjs/interfaceHelpers.js","../node_modules/@azure/core-client/dist/commonjs/interfaces.js","../node_modules/@azure/core-client/dist/commonjs/log.js","../node_modules/@azure/core-client/dist/commonjs/operationHelpers.js","../node_modules/@azure/core-client/dist/commonjs/pipeline.js","../node_modules/@azure/core-client/dist/commonjs/serializationPolicy.js","../node_modules/@azure/core-client/dist/commonjs/serializer.js","../node_modules/@azure/core-client/dist/commonjs/serviceClient.js","../node_modules/@azure/core-client/dist/commonjs/state.js","../node_modules/@azure/core-client/dist/commonjs/urlHelpers.js","../node_modules/@azure/core-client/dist/commonjs/utils.js","../node_modules/@azure/core-http-compat/dist/commonjs/extendedClient.js","../node_modules/@azure/core-http-compat/dist/commonjs/httpClientAdapter.js","../node_modules/@azure/core-http-compat/dist/commonjs/index.js","../node_modules/@azure/core-http-compat/dist/commonjs/policies/disableKeepAlivePolicy.js","../node_modules/@azure/core-http-compat/dist/commonjs/policies/requestPolicyFactoryPolicy.js","../node_modules/@azure/core-http-compat/dist/commonjs/response.js","../node_modules/@azure/core-http-compat/dist/commonjs/util.js","../node_modules/@azure/core-rest-pipeline/dist/commonjs/constants.js","../node_modules/@azure/core-rest-pipeline/dist/commonjs/createPipelineFromOptions.js","../node_modules/@azure/core-rest-pipeline/dist/commonjs/defaultHttpClient.js","../node_modules/@azure/core-rest-pipeline/dist/commonjs/httpHeaders.js","../node_modules/@azure/core-rest-pipeline/dist/commonjs/index.js","../node_modules/@azure/core-rest-pipeline/dist/commonjs/log.js","../node_modules/@azure/core-rest-pipeline/dist/commonjs/pipeline.js","../node_modules/@azure/core-rest-pipeline/dist/commonjs/pipelineRequest.js","../node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/agentPolicy.js","../node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/auxiliaryAuthenticationHeaderPolicy.js","../node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/bearerTokenAuthenticationPolicy.js","../node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/decompressResponsePolicy.js","../node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/defaultRetryPolicy.js","../node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/exponentialRetryPolicy.js","../node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/formDataPolicy.js","../node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/logPolicy.js","../node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/multipartPolicy.js","../node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/ndJsonPolicy.js","../node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/proxyPolicy.js","../node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/redirectPolicy.js","../node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/retryPolicy.js","../node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/setClientRequestIdPolicy.js","../node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/systemErrorRetryPolicy.js","../node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/throttlingRetryPolicy.js","../node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/tlsPolicy.js","../node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/tracingPolicy.js","../node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/userAgentPolicy.js","../node_modules/@azure/core-rest-pipeline/dist/commonjs/policies/wrapAbortSignalLikePolicy.js","../node_modules/@azure/core-rest-pipeline/dist/commonjs/restError.js","../node_modules/@azure/core-rest-pipeline/dist/commonjs/util/file.js","../node_modules/@azure/core-rest-pipeline/dist/commonjs/util/tokenCycler.js","../node_modules/@azure/core-rest-pipeline/dist/commonjs/util/userAgent.js","../node_modules/@azure/core-rest-pipeline/dist/commonjs/util/userAgentPlatform.js","../node_modules/@azure/core-rest-pipeline/dist/commonjs/util/wrapAbortSignal.js","../node_modules/@azure/core-tracing/dist/commonjs/index.js","../node_modules/@azure/core-tracing/dist/commonjs/instrumenter.js","../node_modules/@azure/core-tracing/dist/commonjs/state.js","../node_modules/@azure/core-tracing/dist/commonjs/tracingClient.js","../node_modules/@azure/core-tracing/dist/commonjs/tracingContext.js","../node_modules/@azure/core-util/dist/commonjs/aborterUtils.js","../node_modules/@azure/core-util/dist/commonjs/createAbortablePromise.js","../node_modules/@azure/core-util/dist/commonjs/delay.js","../node_modules/@azure/core-util/dist/commonjs/error.js","../node_modules/@azure/core-util/dist/commonjs/index.js","../node_modules/@azure/core-util/dist/commonjs/typeGuards.js","../node_modules/@azure/core-xml/dist/commonjs/index.js","../node_modules/@azure/core-xml/dist/commonjs/xml.common.js","../node_modules/@azure/core-xml/dist/commonjs/xml.js","../node_modules/@azure/logger/dist/commonjs/index.js","../node_modules/@azure/storage-blob/dist/commonjs/BatchResponse.js","../node_modules/@azure/storage-blob/dist/commonjs/BatchResponseParser.js","../node_modules/@azure/storage-blob/dist/commonjs/BatchUtils.js","../node_modules/@azure/storage-blob/dist/commonjs/BlobBatch.js","../node_modules/@azure/storage-blob/dist/commonjs/BlobBatchClient.js","../node_modules/@azure/storage-blob/dist/commonjs/BlobDownloadResponse.js","../node_modules/@azure/storage-blob/dist/commonjs/BlobLeaseClient.js","../node_modules/@azure/storage-blob/dist/commonjs/BlobQueryResponse.js","../node_modules/@azure/storage-blob/dist/commonjs/BlobServiceClient.js","../node_modules/@azure/storage-blob/dist/commonjs/Clients.js","../node_modules/@azure/storage-blob/dist/commonjs/ContainerClient.js","../node_modules/@azure/storage-blob/dist/commonjs/PageBlobRangeResponse.js","../node_modules/@azure/storage-blob/dist/commonjs/Pipeline.js","../node_modules/@azure/storage-blob/dist/commonjs/Range.js","../node_modules/@azure/storage-blob/dist/commonjs/StorageClient.js","../node_modules/@azure/storage-blob/dist/commonjs/StorageContextClient.js","../node_modules/@azure/storage-blob/dist/commonjs/generated/src/index.js","../node_modules/@azure/storage-blob/dist/commonjs/generated/src/models/index.js","../node_modules/@azure/storage-blob/dist/commonjs/generated/src/models/mappers.js","../node_modules/@azure/storage-blob/dist/commonjs/generated/src/models/parameters.js","../node_modules/@azure/storage-blob/dist/commonjs/generated/src/operations/appendBlob.js","../node_modules/@azure/storage-blob/dist/commonjs/generated/src/operations/blob.js","../node_modules/@azure/storage-blob/dist/commonjs/generated/src/operations/blockBlob.js","../node_modules/@azure/storage-blob/dist/commonjs/generated/src/operations/container.js","../node_modules/@azure/storage-blob/dist/commonjs/generated/src/operations/index.js","../node_modules/@azure/storage-blob/dist/commonjs/generated/src/operations/pageBlob.js","../node_modules/@azure/storage-blob/dist/commonjs/generated/src/operations/service.js","../node_modules/@azure/storage-blob/dist/commonjs/generated/src/operationsInterfaces/appendBlob.js","../node_modules/@azure/storage-blob/dist/commonjs/generated/src/operationsInterfaces/blob.js","../node_modules/@azure/storage-blob/dist/commonjs/generated/src/operationsInterfaces/blockBlob.js","../node_modules/@azure/storage-blob/dist/commonjs/generated/src/operationsInterfaces/container.js","../node_modules/@azure/storage-blob/dist/commonjs/generated/src/operationsInterfaces/index.js","../node_modules/@azure/storage-blob/dist/commonjs/generated/src/operationsInterfaces/pageBlob.js","../node_modules/@azure/storage-blob/dist/commonjs/generated/src/operationsInterfaces/service.js","../node_modules/@azure/storage-blob/dist/commonjs/generated/src/storageClient.js","../node_modules/@azure/storage-blob/dist/commonjs/generatedModels.js","../node_modules/@azure/storage-blob/dist/commonjs/index.js","../node_modules/@azure/storage-blob/dist/commonjs/internal-avro/AvroConstants.js","../node_modules/@azure/storage-blob/dist/commonjs/internal-avro/AvroParser.js","../node_modules/@azure/storage-blob/dist/commonjs/internal-avro/AvroReadable.js","../node_modules/@azure/storage-blob/dist/commonjs/internal-avro/AvroReadableFromStream.js","../node_modules/@azure/storage-blob/dist/commonjs/internal-avro/AvroReader.js","../node_modules/@azure/storage-blob/dist/commonjs/internal-avro/index.js","../node_modules/@azure/storage-blob/dist/commonjs/internal-avro/utils/utils.common.js","../node_modules/@azure/storage-blob/dist/commonjs/log.js","../node_modules/@azure/storage-blob/dist/commonjs/models.js","../node_modules/@azure/storage-blob/dist/commonjs/pollers/BlobStartCopyFromUrlPoller.js","../node_modules/@azure/storage-blob/dist/commonjs/sas/AccountSASPermissions.js","../node_modules/@azure/storage-blob/dist/commonjs/sas/AccountSASResourceTypes.js","../node_modules/@azure/storage-blob/dist/commonjs/sas/AccountSASServices.js","../node_modules/@azure/storage-blob/dist/commonjs/sas/AccountSASSignatureValues.js","../node_modules/@azure/storage-blob/dist/commonjs/sas/BlobSASPermissions.js","../node_modules/@azure/storage-blob/dist/commonjs/sas/BlobSASSignatureValues.js","../node_modules/@azure/storage-blob/dist/commonjs/sas/ContainerSASPermissions.js","../node_modules/@azure/storage-blob/dist/commonjs/sas/SASQueryParameters.js","../node_modules/@azure/storage-blob/dist/commonjs/sas/SasIPRange.js","../node_modules/@azure/storage-blob/dist/commonjs/utils/Batch.js","../node_modules/@azure/storage-blob/dist/commonjs/utils/BlobQuickQueryStream.js","../node_modules/@azure/storage-blob/dist/commonjs/utils/Mutex.js","../node_modules/@azure/storage-blob/dist/commonjs/utils/RetriableReadableStream.js","../node_modules/@azure/storage-blob/dist/commonjs/utils/constants.js","../node_modules/@azure/storage-blob/dist/commonjs/utils/tracing.js","../node_modules/@azure/storage-blob/dist/commonjs/utils/utils.common.js","../node_modules/@azure/storage-blob/dist/commonjs/utils/utils.js","../node_modules/@azure/storage-common/dist/commonjs/BufferScheduler.js","../node_modules/@azure/storage-common/dist/commonjs/BuffersStream.js","../node_modules/@azure/storage-common/dist/commonjs/PooledBuffer.js","../node_modules/@azure/storage-common/dist/commonjs/StorageBrowserPolicyFactory.js","../node_modules/@azure/storage-common/dist/commonjs/StorageRetryPolicyFactory.js","../node_modules/@azure/storage-common/dist/commonjs/cache.js","../node_modules/@azure/storage-common/dist/commonjs/credentials/AnonymousCredential.js","../node_modules/@azure/storage-common/dist/commonjs/credentials/Credential.js","../node_modules/@azure/storage-common/dist/commonjs/credentials/StorageSharedKeyCredential.js","../node_modules/@azure/storage-common/dist/commonjs/credentials/UserDelegationKeyCredential.js","../node_modules/@azure/storage-common/dist/commonjs/index.js","../node_modules/@azure/storage-common/dist/commonjs/log.js","../node_modules/@azure/storage-common/dist/commonjs/policies/AnonymousCredentialPolicy.js","../node_modules/@azure/storage-common/dist/commonjs/policies/CredentialPolicy.js","../node_modules/@azure/storage-common/dist/commonjs/policies/RequestPolicy.js","../node_modules/@azure/storage-common/dist/commonjs/policies/StorageBrowserPolicy.js","../node_modules/@azure/storage-common/dist/commonjs/policies/StorageBrowserPolicyV2.js","../node_modules/@azure/storage-common/dist/commonjs/policies/StorageCorrectContentLengthPolicy.js","../node_modules/@azure/storage-common/dist/commonjs/policies/StorageRequestFailureDetailsParserPolicy.js","../node_modules/@azure/storage-common/dist/commonjs/policies/StorageRetryPolicy.js","../node_modules/@azure/storage-common/dist/commonjs/policies/StorageRetryPolicyType.js","../node_modules/@azure/storage-common/dist/commonjs/policies/StorageRetryPolicyV2.js","../node_modules/@azure/storage-common/dist/commonjs/policies/StorageSharedKeyCredentialPolicy.js","../node_modules/@azure/storage-common/dist/commonjs/policies/StorageSharedKeyCredentialPolicyV2.js","../node_modules/@azure/storage-common/dist/commonjs/utils/SharedKeyComparator.js","../node_modules/@azure/storage-common/dist/commonjs/utils/constants.js","../node_modules/@azure/storage-common/dist/commonjs/utils/utils.common.js","../node_modules/@docker/actions-toolkit/node_modules/jwt-decode/build/cjs/index.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/abort-controller/AbortError.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/auth/credentials.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/auth/oauth2Flows.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/auth/schemes.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/client/apiVersionPolicy.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/client/clientHelpers.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/client/getClient.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/client/multipart.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/client/operationOptionHelpers.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/client/restError.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/client/sendRequest.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/client/urlHelpers.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/constants.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/createPipelineFromOptions.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/defaultHttpClient.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/httpHeaders.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/index.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/log.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/logger/debug.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/logger/internal.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/logger/log.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/logger/logger.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/nodeHttpClient.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/pipeline.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/pipelineRequest.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/agentPolicy.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/auth/apiKeyAuthenticationPolicy.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/auth/basicAuthenticationPolicy.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/auth/bearerAuthenticationPolicy.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/auth/checkInsecureConnection.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/auth/oauth2AuthenticationPolicy.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/decompressResponsePolicy.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/defaultRetryPolicy.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/exponentialRetryPolicy.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/formDataPolicy.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/internal.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/logPolicy.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/multipartPolicy.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/proxyPolicy.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/redirectPolicy.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/retryPolicy.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/systemErrorRetryPolicy.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/throttlingRetryPolicy.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/tlsPolicy.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/policies/userAgentPolicy.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/restError.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/retryStrategies/exponentialRetryStrategy.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/retryStrategies/throttlingRetryStrategy.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/util/bytesEncoding.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/util/checkEnvironment.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/util/concat.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/util/delay.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/util/error.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/util/helpers.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/util/inspect.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/util/internal.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/util/object.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/util/random.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/util/sanitizer.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/util/sha256.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/util/typeGuards.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/util/userAgent.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/util/userAgentPlatform.js","../node_modules/@typespec/ts-http-runtime/dist/commonjs/util/uuidUtils.js","../node_modules/archiver-utils/node_modules/glob/dist/commonjs/glob.js","../node_modules/archiver-utils/node_modules/glob/dist/commonjs/has-magic.js","../node_modules/archiver-utils/node_modules/glob/dist/commonjs/ignore.js","../node_modules/archiver-utils/node_modules/glob/dist/commonjs/index.js","../node_modules/archiver-utils/node_modules/glob/dist/commonjs/pattern.js","../node_modules/archiver-utils/node_modules/glob/dist/commonjs/processor.js","../node_modules/archiver-utils/node_modules/glob/dist/commonjs/walker.js","../node_modules/archiver-utils/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js","../node_modules/archiver-utils/node_modules/minimatch/dist/commonjs/ast.js","../node_modules/archiver-utils/node_modules/minimatch/dist/commonjs/brace-expressions.js","../node_modules/archiver-utils/node_modules/minimatch/dist/commonjs/escape.js","../node_modules/archiver-utils/node_modules/minimatch/dist/commonjs/index.js","../node_modules/archiver-utils/node_modules/minimatch/dist/commonjs/unescape.js","../node_modules/lru-cache/dist/commonjs/index.js","../node_modules/minipass/dist/commonjs/index.js","../node_modules/path-scurry/dist/commonjs/index.js","../node_modules/@azure/core-xml/node_modules/fast-xml-parser/lib/fxp.cjs","../node_modules/buffer-crc32/dist/index.cjs","../node_modules/csv-parse/dist/cjs/sync.cjs","../node_modules/fast-xml-parser/lib/fxp.cjs","../webpack/bootstrap","../webpack/runtime/compat get default export","../webpack/runtime/create fake namespace object","../webpack/runtime/define property getters","../webpack/runtime/ensure chunk","../webpack/runtime/get javascript chunk filename","../webpack/runtime/hasOwnProperty shorthand","../webpack/runtime/make namespace object","../webpack/runtime/node module decorator","../webpack/runtime/compat","../webpack/runtime/import chunk loading","../node_modules/js-yaml/dist/js-yaml.mjs","../src/context.ts","../src/aws.ts","../src/docker.ts","../src/state-helper.ts","../src/main.ts"],"sourcesContent":["\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nconst client_1 = require(\"./internal/client\");\n__exportStar(require(\"./internal/shared/interfaces\"), exports);\n__exportStar(require(\"./internal/shared/errors\"), exports);\n__exportStar(require(\"./internal/client\"), exports);\nconst client = new client_1.DefaultArtifactClient();\nexports.default = client;\n//# sourceMappingURL=artifact.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Timestamp = void 0;\nconst runtime_1 = require(\"@protobuf-ts/runtime\");\nconst runtime_2 = require(\"@protobuf-ts/runtime\");\nconst runtime_3 = require(\"@protobuf-ts/runtime\");\nconst runtime_4 = require(\"@protobuf-ts/runtime\");\nconst runtime_5 = require(\"@protobuf-ts/runtime\");\nconst runtime_6 = require(\"@protobuf-ts/runtime\");\nconst runtime_7 = require(\"@protobuf-ts/runtime\");\n// @generated message type with reflection information, may provide speed optimized methods\nclass Timestamp$Type extends runtime_7.MessageType {\n constructor() {\n super(\"google.protobuf.Timestamp\", [\n { no: 1, name: \"seconds\", kind: \"scalar\", T: 3 /*ScalarType.INT64*/ },\n { no: 2, name: \"nanos\", kind: \"scalar\", T: 5 /*ScalarType.INT32*/ }\n ]);\n }\n /**\n * Creates a new `Timestamp` for the current time.\n */\n now() {\n const msg = this.create();\n const ms = Date.now();\n msg.seconds = runtime_6.PbLong.from(Math.floor(ms / 1000)).toString();\n msg.nanos = (ms % 1000) * 1000000;\n return msg;\n }\n /**\n * Converts a `Timestamp` to a JavaScript Date.\n */\n toDate(message) {\n return new Date(runtime_6.PbLong.from(message.seconds).toNumber() * 1000 + Math.ceil(message.nanos / 1000000));\n }\n /**\n * Converts a JavaScript Date to a `Timestamp`.\n */\n fromDate(date) {\n const msg = this.create();\n const ms = date.getTime();\n msg.seconds = runtime_6.PbLong.from(Math.floor(ms / 1000)).toString();\n msg.nanos = (ms % 1000) * 1000000;\n return msg;\n }\n /**\n * In JSON format, the `Timestamp` type is encoded as a string\n * in the RFC 3339 format.\n */\n internalJsonWrite(message, options) {\n let ms = runtime_6.PbLong.from(message.seconds).toNumber() * 1000;\n if (ms < Date.parse(\"0001-01-01T00:00:00Z\") || ms > Date.parse(\"9999-12-31T23:59:59Z\"))\n throw new Error(\"Unable to encode Timestamp to JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.\");\n if (message.nanos < 0)\n throw new Error(\"Unable to encode invalid Timestamp to JSON. Nanos must not be negative.\");\n let z = \"Z\";\n if (message.nanos > 0) {\n let nanosStr = (message.nanos + 1000000000).toString().substring(1);\n if (nanosStr.substring(3) === \"000000\")\n z = \".\" + nanosStr.substring(0, 3) + \"Z\";\n else if (nanosStr.substring(6) === \"000\")\n z = \".\" + nanosStr.substring(0, 6) + \"Z\";\n else\n z = \".\" + nanosStr + \"Z\";\n }\n return new Date(ms).toISOString().replace(\".000Z\", z);\n }\n /**\n * In JSON format, the `Timestamp` type is encoded as a string\n * in the RFC 3339 format.\n */\n internalJsonRead(json, options, target) {\n if (typeof json !== \"string\")\n throw new Error(\"Unable to parse Timestamp from JSON \" + (0, runtime_5.typeofJsonValue)(json) + \".\");\n let matches = json.match(/^([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:Z|\\.([0-9]{3,9})Z|([+-][0-9][0-9]:[0-9][0-9]))$/);\n if (!matches)\n throw new Error(\"Unable to parse Timestamp from JSON. Invalid format.\");\n let ms = Date.parse(matches[1] + \"-\" + matches[2] + \"-\" + matches[3] + \"T\" + matches[4] + \":\" + matches[5] + \":\" + matches[6] + (matches[8] ? matches[8] : \"Z\"));\n if (Number.isNaN(ms))\n throw new Error(\"Unable to parse Timestamp from JSON. Invalid value.\");\n if (ms < Date.parse(\"0001-01-01T00:00:00Z\") || ms > Date.parse(\"9999-12-31T23:59:59Z\"))\n throw new globalThis.Error(\"Unable to parse Timestamp from JSON. Must be from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59Z inclusive.\");\n if (!target)\n target = this.create();\n target.seconds = runtime_6.PbLong.from(ms / 1000).toString();\n target.nanos = 0;\n if (matches[7])\n target.nanos = (parseInt(\"1\" + matches[7] + \"0\".repeat(9 - matches[7].length)) - 1000000000);\n return target;\n }\n create(value) {\n const message = { seconds: \"0\", nanos: 0 };\n globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });\n if (value !== undefined)\n (0, runtime_3.reflectionMergePartial)(this, message, value);\n return message;\n }\n internalBinaryRead(reader, length, options, target) {\n let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* int64 seconds */ 1:\n message.seconds = reader.int64().toString();\n break;\n case /* int32 nanos */ 2:\n message.nanos = reader.int32();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message, writer, options) {\n /* int64 seconds = 1; */\n if (message.seconds !== \"0\")\n writer.tag(1, runtime_1.WireType.Varint).int64(message.seconds);\n /* int32 nanos = 2; */\n if (message.nanos !== 0)\n writer.tag(2, runtime_1.WireType.Varint).int32(message.nanos);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message google.protobuf.Timestamp\n */\nexports.Timestamp = new Timestamp$Type();\n//# sourceMappingURL=timestamp.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.BytesValue = exports.StringValue = exports.BoolValue = exports.UInt32Value = exports.Int32Value = exports.UInt64Value = exports.Int64Value = exports.FloatValue = exports.DoubleValue = void 0;\n// @generated by protobuf-ts 2.9.1 with parameter long_type_string,client_none,generate_dependencies\n// @generated from protobuf file \"google/protobuf/wrappers.proto\" (package \"google.protobuf\", syntax proto3)\n// tslint:disable\n//\n// Protocol Buffers - Google's data interchange format\n// Copyright 2008 Google Inc. All rights reserved.\n// https://developers.google.com/protocol-buffers/\n//\n// Redistribution and use in source and binary forms, with or without\n// modification, are permitted provided that the following conditions are\n// met:\n//\n// * Redistributions of source code must retain the above copyright\n// notice, this list of conditions and the following disclaimer.\n// * Redistributions in binary form must reproduce the above\n// copyright notice, this list of conditions and the following disclaimer\n// in the documentation and/or other materials provided with the\n// distribution.\n// * Neither the name of Google Inc. nor the names of its\n// contributors may be used to endorse or promote products derived from\n// this software without specific prior written permission.\n//\n// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n// \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n//\n//\n// Wrappers for primitive (non-message) types. These types are useful\n// for embedding primitives in the `google.protobuf.Any` type and for places\n// where we need to distinguish between the absence of a primitive\n// typed field and its default value.\n//\nconst runtime_1 = require(\"@protobuf-ts/runtime\");\nconst runtime_2 = require(\"@protobuf-ts/runtime\");\nconst runtime_3 = require(\"@protobuf-ts/runtime\");\nconst runtime_4 = require(\"@protobuf-ts/runtime\");\nconst runtime_5 = require(\"@protobuf-ts/runtime\");\nconst runtime_6 = require(\"@protobuf-ts/runtime\");\nconst runtime_7 = require(\"@protobuf-ts/runtime\");\n// @generated message type with reflection information, may provide speed optimized methods\nclass DoubleValue$Type extends runtime_7.MessageType {\n constructor() {\n super(\"google.protobuf.DoubleValue\", [\n { no: 1, name: \"value\", kind: \"scalar\", T: 1 /*ScalarType.DOUBLE*/ }\n ]);\n }\n /**\n * Encode `DoubleValue` to JSON number.\n */\n internalJsonWrite(message, options) {\n return this.refJsonWriter.scalar(2, message.value, \"value\", false, true);\n }\n /**\n * Decode `DoubleValue` from JSON number.\n */\n internalJsonRead(json, options, target) {\n if (!target)\n target = this.create();\n target.value = this.refJsonReader.scalar(json, 1, undefined, \"value\");\n return target;\n }\n create(value) {\n const message = { value: 0 };\n globalThis.Object.defineProperty(message, runtime_6.MESSAGE_TYPE, { enumerable: false, value: this });\n if (value !== undefined)\n (0, runtime_5.reflectionMergePartial)(this, message, value);\n return message;\n }\n internalBinaryRead(reader, length, options, target) {\n let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* double value */ 1:\n message.value = reader.double();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? runtime_4.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message, writer, options) {\n /* double value = 1; */\n if (message.value !== 0)\n writer.tag(1, runtime_3.WireType.Bit64).double(message.value);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? runtime_4.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message google.protobuf.DoubleValue\n */\nexports.DoubleValue = new DoubleValue$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass FloatValue$Type extends runtime_7.MessageType {\n constructor() {\n super(\"google.protobuf.FloatValue\", [\n { no: 1, name: \"value\", kind: \"scalar\", T: 2 /*ScalarType.FLOAT*/ }\n ]);\n }\n /**\n * Encode `FloatValue` to JSON number.\n */\n internalJsonWrite(message, options) {\n return this.refJsonWriter.scalar(1, message.value, \"value\", false, true);\n }\n /**\n * Decode `FloatValue` from JSON number.\n */\n internalJsonRead(json, options, target) {\n if (!target)\n target = this.create();\n target.value = this.refJsonReader.scalar(json, 1, undefined, \"value\");\n return target;\n }\n create(value) {\n const message = { value: 0 };\n globalThis.Object.defineProperty(message, runtime_6.MESSAGE_TYPE, { enumerable: false, value: this });\n if (value !== undefined)\n (0, runtime_5.reflectionMergePartial)(this, message, value);\n return message;\n }\n internalBinaryRead(reader, length, options, target) {\n let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* float value */ 1:\n message.value = reader.float();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? runtime_4.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message, writer, options) {\n /* float value = 1; */\n if (message.value !== 0)\n writer.tag(1, runtime_3.WireType.Bit32).float(message.value);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? runtime_4.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message google.protobuf.FloatValue\n */\nexports.FloatValue = new FloatValue$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass Int64Value$Type extends runtime_7.MessageType {\n constructor() {\n super(\"google.protobuf.Int64Value\", [\n { no: 1, name: \"value\", kind: \"scalar\", T: 3 /*ScalarType.INT64*/ }\n ]);\n }\n /**\n * Encode `Int64Value` to JSON string.\n */\n internalJsonWrite(message, options) {\n return this.refJsonWriter.scalar(runtime_1.ScalarType.INT64, message.value, \"value\", false, true);\n }\n /**\n * Decode `Int64Value` from JSON string.\n */\n internalJsonRead(json, options, target) {\n if (!target)\n target = this.create();\n target.value = this.refJsonReader.scalar(json, runtime_1.ScalarType.INT64, runtime_2.LongType.STRING, \"value\");\n return target;\n }\n create(value) {\n const message = { value: \"0\" };\n globalThis.Object.defineProperty(message, runtime_6.MESSAGE_TYPE, { enumerable: false, value: this });\n if (value !== undefined)\n (0, runtime_5.reflectionMergePartial)(this, message, value);\n return message;\n }\n internalBinaryRead(reader, length, options, target) {\n let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* int64 value */ 1:\n message.value = reader.int64().toString();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? runtime_4.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message, writer, options) {\n /* int64 value = 1; */\n if (message.value !== \"0\")\n writer.tag(1, runtime_3.WireType.Varint).int64(message.value);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? runtime_4.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message google.protobuf.Int64Value\n */\nexports.Int64Value = new Int64Value$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass UInt64Value$Type extends runtime_7.MessageType {\n constructor() {\n super(\"google.protobuf.UInt64Value\", [\n { no: 1, name: \"value\", kind: \"scalar\", T: 4 /*ScalarType.UINT64*/ }\n ]);\n }\n /**\n * Encode `UInt64Value` to JSON string.\n */\n internalJsonWrite(message, options) {\n return this.refJsonWriter.scalar(runtime_1.ScalarType.UINT64, message.value, \"value\", false, true);\n }\n /**\n * Decode `UInt64Value` from JSON string.\n */\n internalJsonRead(json, options, target) {\n if (!target)\n target = this.create();\n target.value = this.refJsonReader.scalar(json, runtime_1.ScalarType.UINT64, runtime_2.LongType.STRING, \"value\");\n return target;\n }\n create(value) {\n const message = { value: \"0\" };\n globalThis.Object.defineProperty(message, runtime_6.MESSAGE_TYPE, { enumerable: false, value: this });\n if (value !== undefined)\n (0, runtime_5.reflectionMergePartial)(this, message, value);\n return message;\n }\n internalBinaryRead(reader, length, options, target) {\n let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* uint64 value */ 1:\n message.value = reader.uint64().toString();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? runtime_4.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message, writer, options) {\n /* uint64 value = 1; */\n if (message.value !== \"0\")\n writer.tag(1, runtime_3.WireType.Varint).uint64(message.value);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? runtime_4.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message google.protobuf.UInt64Value\n */\nexports.UInt64Value = new UInt64Value$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass Int32Value$Type extends runtime_7.MessageType {\n constructor() {\n super(\"google.protobuf.Int32Value\", [\n { no: 1, name: \"value\", kind: \"scalar\", T: 5 /*ScalarType.INT32*/ }\n ]);\n }\n /**\n * Encode `Int32Value` to JSON string.\n */\n internalJsonWrite(message, options) {\n return this.refJsonWriter.scalar(5, message.value, \"value\", false, true);\n }\n /**\n * Decode `Int32Value` from JSON string.\n */\n internalJsonRead(json, options, target) {\n if (!target)\n target = this.create();\n target.value = this.refJsonReader.scalar(json, 5, undefined, \"value\");\n return target;\n }\n create(value) {\n const message = { value: 0 };\n globalThis.Object.defineProperty(message, runtime_6.MESSAGE_TYPE, { enumerable: false, value: this });\n if (value !== undefined)\n (0, runtime_5.reflectionMergePartial)(this, message, value);\n return message;\n }\n internalBinaryRead(reader, length, options, target) {\n let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* int32 value */ 1:\n message.value = reader.int32();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? runtime_4.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message, writer, options) {\n /* int32 value = 1; */\n if (message.value !== 0)\n writer.tag(1, runtime_3.WireType.Varint).int32(message.value);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? runtime_4.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message google.protobuf.Int32Value\n */\nexports.Int32Value = new Int32Value$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass UInt32Value$Type extends runtime_7.MessageType {\n constructor() {\n super(\"google.protobuf.UInt32Value\", [\n { no: 1, name: \"value\", kind: \"scalar\", T: 13 /*ScalarType.UINT32*/ }\n ]);\n }\n /**\n * Encode `UInt32Value` to JSON string.\n */\n internalJsonWrite(message, options) {\n return this.refJsonWriter.scalar(13, message.value, \"value\", false, true);\n }\n /**\n * Decode `UInt32Value` from JSON string.\n */\n internalJsonRead(json, options, target) {\n if (!target)\n target = this.create();\n target.value = this.refJsonReader.scalar(json, 13, undefined, \"value\");\n return target;\n }\n create(value) {\n const message = { value: 0 };\n globalThis.Object.defineProperty(message, runtime_6.MESSAGE_TYPE, { enumerable: false, value: this });\n if (value !== undefined)\n (0, runtime_5.reflectionMergePartial)(this, message, value);\n return message;\n }\n internalBinaryRead(reader, length, options, target) {\n let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* uint32 value */ 1:\n message.value = reader.uint32();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? runtime_4.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message, writer, options) {\n /* uint32 value = 1; */\n if (message.value !== 0)\n writer.tag(1, runtime_3.WireType.Varint).uint32(message.value);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? runtime_4.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message google.protobuf.UInt32Value\n */\nexports.UInt32Value = new UInt32Value$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BoolValue$Type extends runtime_7.MessageType {\n constructor() {\n super(\"google.protobuf.BoolValue\", [\n { no: 1, name: \"value\", kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ }\n ]);\n }\n /**\n * Encode `BoolValue` to JSON bool.\n */\n internalJsonWrite(message, options) {\n return message.value;\n }\n /**\n * Decode `BoolValue` from JSON bool.\n */\n internalJsonRead(json, options, target) {\n if (!target)\n target = this.create();\n target.value = this.refJsonReader.scalar(json, 8, undefined, \"value\");\n return target;\n }\n create(value) {\n const message = { value: false };\n globalThis.Object.defineProperty(message, runtime_6.MESSAGE_TYPE, { enumerable: false, value: this });\n if (value !== undefined)\n (0, runtime_5.reflectionMergePartial)(this, message, value);\n return message;\n }\n internalBinaryRead(reader, length, options, target) {\n let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* bool value */ 1:\n message.value = reader.bool();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? runtime_4.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message, writer, options) {\n /* bool value = 1; */\n if (message.value !== false)\n writer.tag(1, runtime_3.WireType.Varint).bool(message.value);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? runtime_4.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message google.protobuf.BoolValue\n */\nexports.BoolValue = new BoolValue$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass StringValue$Type extends runtime_7.MessageType {\n constructor() {\n super(\"google.protobuf.StringValue\", [\n { no: 1, name: \"value\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n /**\n * Encode `StringValue` to JSON string.\n */\n internalJsonWrite(message, options) {\n return message.value;\n }\n /**\n * Decode `StringValue` from JSON string.\n */\n internalJsonRead(json, options, target) {\n if (!target)\n target = this.create();\n target.value = this.refJsonReader.scalar(json, 9, undefined, \"value\");\n return target;\n }\n create(value) {\n const message = { value: \"\" };\n globalThis.Object.defineProperty(message, runtime_6.MESSAGE_TYPE, { enumerable: false, value: this });\n if (value !== undefined)\n (0, runtime_5.reflectionMergePartial)(this, message, value);\n return message;\n }\n internalBinaryRead(reader, length, options, target) {\n let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string value */ 1:\n message.value = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? runtime_4.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message, writer, options) {\n /* string value = 1; */\n if (message.value !== \"\")\n writer.tag(1, runtime_3.WireType.LengthDelimited).string(message.value);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? runtime_4.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message google.protobuf.StringValue\n */\nexports.StringValue = new StringValue$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BytesValue$Type extends runtime_7.MessageType {\n constructor() {\n super(\"google.protobuf.BytesValue\", [\n { no: 1, name: \"value\", kind: \"scalar\", T: 12 /*ScalarType.BYTES*/ }\n ]);\n }\n /**\n * Encode `BytesValue` to JSON string.\n */\n internalJsonWrite(message, options) {\n return this.refJsonWriter.scalar(12, message.value, \"value\", false, true);\n }\n /**\n * Decode `BytesValue` from JSON string.\n */\n internalJsonRead(json, options, target) {\n if (!target)\n target = this.create();\n target.value = this.refJsonReader.scalar(json, 12, undefined, \"value\");\n return target;\n }\n create(value) {\n const message = { value: new Uint8Array(0) };\n globalThis.Object.defineProperty(message, runtime_6.MESSAGE_TYPE, { enumerable: false, value: this });\n if (value !== undefined)\n (0, runtime_5.reflectionMergePartial)(this, message, value);\n return message;\n }\n internalBinaryRead(reader, length, options, target) {\n let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* bytes value */ 1:\n message.value = reader.bytes();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? runtime_4.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message, writer, options) {\n /* bytes value = 1; */\n if (message.value.length)\n writer.tag(1, runtime_3.WireType.LengthDelimited).bytes(message.value);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? runtime_4.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message google.protobuf.BytesValue\n */\nexports.BytesValue = new BytesValue$Type();\n//# sourceMappingURL=wrappers.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\n__exportStar(require(\"./google/protobuf/timestamp\"), exports);\n__exportStar(require(\"./google/protobuf/wrappers\"), exports);\n__exportStar(require(\"./results/api/v1/artifact\"), exports);\n__exportStar(require(\"./results/api/v1/artifact.twirp-client\"), exports);\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ArtifactService = exports.DeleteArtifactResponse = exports.DeleteArtifactRequest = exports.GetSignedArtifactURLResponse = exports.GetSignedArtifactURLRequest = exports.ListArtifactsResponse_MonolithArtifact = exports.ListArtifactsResponse = exports.ListArtifactsRequest = exports.FinalizeArtifactResponse = exports.FinalizeArtifactRequest = exports.CreateArtifactResponse = exports.CreateArtifactRequest = exports.FinalizeMigratedArtifactResponse = exports.FinalizeMigratedArtifactRequest = exports.MigrateArtifactResponse = exports.MigrateArtifactRequest = void 0;\n// @generated by protobuf-ts 2.9.1 with parameter long_type_string,client_none,generate_dependencies\n// @generated from protobuf file \"results/api/v1/artifact.proto\" (package \"github.actions.results.api.v1\", syntax proto3)\n// tslint:disable\nconst runtime_rpc_1 = require(\"@protobuf-ts/runtime-rpc\");\nconst runtime_1 = require(\"@protobuf-ts/runtime\");\nconst runtime_2 = require(\"@protobuf-ts/runtime\");\nconst runtime_3 = require(\"@protobuf-ts/runtime\");\nconst runtime_4 = require(\"@protobuf-ts/runtime\");\nconst runtime_5 = require(\"@protobuf-ts/runtime\");\nconst wrappers_1 = require(\"../../../google/protobuf/wrappers\");\nconst wrappers_2 = require(\"../../../google/protobuf/wrappers\");\nconst timestamp_1 = require(\"../../../google/protobuf/timestamp\");\n// @generated message type with reflection information, may provide speed optimized methods\nclass MigrateArtifactRequest$Type extends runtime_5.MessageType {\n constructor() {\n super(\"github.actions.results.api.v1.MigrateArtifactRequest\", [\n { no: 1, name: \"workflow_run_backend_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"expires_at\", kind: \"message\", T: () => timestamp_1.Timestamp }\n ]);\n }\n create(value) {\n const message = { workflowRunBackendId: \"\", name: \"\" };\n globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });\n if (value !== undefined)\n (0, runtime_3.reflectionMergePartial)(this, message, value);\n return message;\n }\n internalBinaryRead(reader, length, options, target) {\n let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string workflow_run_backend_id */ 1:\n message.workflowRunBackendId = reader.string();\n break;\n case /* string name */ 2:\n message.name = reader.string();\n break;\n case /* google.protobuf.Timestamp expires_at */ 3:\n message.expiresAt = timestamp_1.Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.expiresAt);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message, writer, options) {\n /* string workflow_run_backend_id = 1; */\n if (message.workflowRunBackendId !== \"\")\n writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.workflowRunBackendId);\n /* string name = 2; */\n if (message.name !== \"\")\n writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.name);\n /* google.protobuf.Timestamp expires_at = 3; */\n if (message.expiresAt)\n timestamp_1.Timestamp.internalBinaryWrite(message.expiresAt, writer.tag(3, runtime_1.WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message github.actions.results.api.v1.MigrateArtifactRequest\n */\nexports.MigrateArtifactRequest = new MigrateArtifactRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass MigrateArtifactResponse$Type extends runtime_5.MessageType {\n constructor() {\n super(\"github.actions.results.api.v1.MigrateArtifactResponse\", [\n { no: 1, name: \"ok\", kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ },\n { no: 2, name: \"signed_upload_url\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value) {\n const message = { ok: false, signedUploadUrl: \"\" };\n globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });\n if (value !== undefined)\n (0, runtime_3.reflectionMergePartial)(this, message, value);\n return message;\n }\n internalBinaryRead(reader, length, options, target) {\n let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* bool ok */ 1:\n message.ok = reader.bool();\n break;\n case /* string signed_upload_url */ 2:\n message.signedUploadUrl = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message, writer, options) {\n /* bool ok = 1; */\n if (message.ok !== false)\n writer.tag(1, runtime_1.WireType.Varint).bool(message.ok);\n /* string signed_upload_url = 2; */\n if (message.signedUploadUrl !== \"\")\n writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.signedUploadUrl);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message github.actions.results.api.v1.MigrateArtifactResponse\n */\nexports.MigrateArtifactResponse = new MigrateArtifactResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass FinalizeMigratedArtifactRequest$Type extends runtime_5.MessageType {\n constructor() {\n super(\"github.actions.results.api.v1.FinalizeMigratedArtifactRequest\", [\n { no: 1, name: \"workflow_run_backend_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"size\", kind: \"scalar\", T: 3 /*ScalarType.INT64*/ }\n ]);\n }\n create(value) {\n const message = { workflowRunBackendId: \"\", name: \"\", size: \"0\" };\n globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });\n if (value !== undefined)\n (0, runtime_3.reflectionMergePartial)(this, message, value);\n return message;\n }\n internalBinaryRead(reader, length, options, target) {\n let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string workflow_run_backend_id */ 1:\n message.workflowRunBackendId = reader.string();\n break;\n case /* string name */ 2:\n message.name = reader.string();\n break;\n case /* int64 size */ 3:\n message.size = reader.int64().toString();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message, writer, options) {\n /* string workflow_run_backend_id = 1; */\n if (message.workflowRunBackendId !== \"\")\n writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.workflowRunBackendId);\n /* string name = 2; */\n if (message.name !== \"\")\n writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.name);\n /* int64 size = 3; */\n if (message.size !== \"0\")\n writer.tag(3, runtime_1.WireType.Varint).int64(message.size);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message github.actions.results.api.v1.FinalizeMigratedArtifactRequest\n */\nexports.FinalizeMigratedArtifactRequest = new FinalizeMigratedArtifactRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass FinalizeMigratedArtifactResponse$Type extends runtime_5.MessageType {\n constructor() {\n super(\"github.actions.results.api.v1.FinalizeMigratedArtifactResponse\", [\n { no: 1, name: \"ok\", kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ },\n { no: 2, name: \"artifact_id\", kind: \"scalar\", T: 3 /*ScalarType.INT64*/ }\n ]);\n }\n create(value) {\n const message = { ok: false, artifactId: \"0\" };\n globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });\n if (value !== undefined)\n (0, runtime_3.reflectionMergePartial)(this, message, value);\n return message;\n }\n internalBinaryRead(reader, length, options, target) {\n let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* bool ok */ 1:\n message.ok = reader.bool();\n break;\n case /* int64 artifact_id */ 2:\n message.artifactId = reader.int64().toString();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message, writer, options) {\n /* bool ok = 1; */\n if (message.ok !== false)\n writer.tag(1, runtime_1.WireType.Varint).bool(message.ok);\n /* int64 artifact_id = 2; */\n if (message.artifactId !== \"0\")\n writer.tag(2, runtime_1.WireType.Varint).int64(message.artifactId);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message github.actions.results.api.v1.FinalizeMigratedArtifactResponse\n */\nexports.FinalizeMigratedArtifactResponse = new FinalizeMigratedArtifactResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CreateArtifactRequest$Type extends runtime_5.MessageType {\n constructor() {\n super(\"github.actions.results.api.v1.CreateArtifactRequest\", [\n { no: 1, name: \"workflow_run_backend_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"workflow_job_run_backend_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"expires_at\", kind: \"message\", T: () => timestamp_1.Timestamp },\n { no: 5, name: \"version\", kind: \"scalar\", T: 5 /*ScalarType.INT32*/ }\n ]);\n }\n create(value) {\n const message = { workflowRunBackendId: \"\", workflowJobRunBackendId: \"\", name: \"\", version: 0 };\n globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });\n if (value !== undefined)\n (0, runtime_3.reflectionMergePartial)(this, message, value);\n return message;\n }\n internalBinaryRead(reader, length, options, target) {\n let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string workflow_run_backend_id */ 1:\n message.workflowRunBackendId = reader.string();\n break;\n case /* string workflow_job_run_backend_id */ 2:\n message.workflowJobRunBackendId = reader.string();\n break;\n case /* string name */ 3:\n message.name = reader.string();\n break;\n case /* google.protobuf.Timestamp expires_at */ 4:\n message.expiresAt = timestamp_1.Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.expiresAt);\n break;\n case /* int32 version */ 5:\n message.version = reader.int32();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message, writer, options) {\n /* string workflow_run_backend_id = 1; */\n if (message.workflowRunBackendId !== \"\")\n writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.workflowRunBackendId);\n /* string workflow_job_run_backend_id = 2; */\n if (message.workflowJobRunBackendId !== \"\")\n writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.workflowJobRunBackendId);\n /* string name = 3; */\n if (message.name !== \"\")\n writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.name);\n /* google.protobuf.Timestamp expires_at = 4; */\n if (message.expiresAt)\n timestamp_1.Timestamp.internalBinaryWrite(message.expiresAt, writer.tag(4, runtime_1.WireType.LengthDelimited).fork(), options).join();\n /* int32 version = 5; */\n if (message.version !== 0)\n writer.tag(5, runtime_1.WireType.Varint).int32(message.version);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message github.actions.results.api.v1.CreateArtifactRequest\n */\nexports.CreateArtifactRequest = new CreateArtifactRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CreateArtifactResponse$Type extends runtime_5.MessageType {\n constructor() {\n super(\"github.actions.results.api.v1.CreateArtifactResponse\", [\n { no: 1, name: \"ok\", kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ },\n { no: 2, name: \"signed_upload_url\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value) {\n const message = { ok: false, signedUploadUrl: \"\" };\n globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });\n if (value !== undefined)\n (0, runtime_3.reflectionMergePartial)(this, message, value);\n return message;\n }\n internalBinaryRead(reader, length, options, target) {\n let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* bool ok */ 1:\n message.ok = reader.bool();\n break;\n case /* string signed_upload_url */ 2:\n message.signedUploadUrl = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message, writer, options) {\n /* bool ok = 1; */\n if (message.ok !== false)\n writer.tag(1, runtime_1.WireType.Varint).bool(message.ok);\n /* string signed_upload_url = 2; */\n if (message.signedUploadUrl !== \"\")\n writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.signedUploadUrl);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message github.actions.results.api.v1.CreateArtifactResponse\n */\nexports.CreateArtifactResponse = new CreateArtifactResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass FinalizeArtifactRequest$Type extends runtime_5.MessageType {\n constructor() {\n super(\"github.actions.results.api.v1.FinalizeArtifactRequest\", [\n { no: 1, name: \"workflow_run_backend_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"workflow_job_run_backend_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"size\", kind: \"scalar\", T: 3 /*ScalarType.INT64*/ },\n { no: 5, name: \"hash\", kind: \"message\", T: () => wrappers_2.StringValue }\n ]);\n }\n create(value) {\n const message = { workflowRunBackendId: \"\", workflowJobRunBackendId: \"\", name: \"\", size: \"0\" };\n globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });\n if (value !== undefined)\n (0, runtime_3.reflectionMergePartial)(this, message, value);\n return message;\n }\n internalBinaryRead(reader, length, options, target) {\n let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string workflow_run_backend_id */ 1:\n message.workflowRunBackendId = reader.string();\n break;\n case /* string workflow_job_run_backend_id */ 2:\n message.workflowJobRunBackendId = reader.string();\n break;\n case /* string name */ 3:\n message.name = reader.string();\n break;\n case /* int64 size */ 4:\n message.size = reader.int64().toString();\n break;\n case /* google.protobuf.StringValue hash */ 5:\n message.hash = wrappers_2.StringValue.internalBinaryRead(reader, reader.uint32(), options, message.hash);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message, writer, options) {\n /* string workflow_run_backend_id = 1; */\n if (message.workflowRunBackendId !== \"\")\n writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.workflowRunBackendId);\n /* string workflow_job_run_backend_id = 2; */\n if (message.workflowJobRunBackendId !== \"\")\n writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.workflowJobRunBackendId);\n /* string name = 3; */\n if (message.name !== \"\")\n writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.name);\n /* int64 size = 4; */\n if (message.size !== \"0\")\n writer.tag(4, runtime_1.WireType.Varint).int64(message.size);\n /* google.protobuf.StringValue hash = 5; */\n if (message.hash)\n wrappers_2.StringValue.internalBinaryWrite(message.hash, writer.tag(5, runtime_1.WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message github.actions.results.api.v1.FinalizeArtifactRequest\n */\nexports.FinalizeArtifactRequest = new FinalizeArtifactRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass FinalizeArtifactResponse$Type extends runtime_5.MessageType {\n constructor() {\n super(\"github.actions.results.api.v1.FinalizeArtifactResponse\", [\n { no: 1, name: \"ok\", kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ },\n { no: 2, name: \"artifact_id\", kind: \"scalar\", T: 3 /*ScalarType.INT64*/ }\n ]);\n }\n create(value) {\n const message = { ok: false, artifactId: \"0\" };\n globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });\n if (value !== undefined)\n (0, runtime_3.reflectionMergePartial)(this, message, value);\n return message;\n }\n internalBinaryRead(reader, length, options, target) {\n let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* bool ok */ 1:\n message.ok = reader.bool();\n break;\n case /* int64 artifact_id */ 2:\n message.artifactId = reader.int64().toString();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message, writer, options) {\n /* bool ok = 1; */\n if (message.ok !== false)\n writer.tag(1, runtime_1.WireType.Varint).bool(message.ok);\n /* int64 artifact_id = 2; */\n if (message.artifactId !== \"0\")\n writer.tag(2, runtime_1.WireType.Varint).int64(message.artifactId);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message github.actions.results.api.v1.FinalizeArtifactResponse\n */\nexports.FinalizeArtifactResponse = new FinalizeArtifactResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListArtifactsRequest$Type extends runtime_5.MessageType {\n constructor() {\n super(\"github.actions.results.api.v1.ListArtifactsRequest\", [\n { no: 1, name: \"workflow_run_backend_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"workflow_job_run_backend_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"name_filter\", kind: \"message\", T: () => wrappers_2.StringValue },\n { no: 4, name: \"id_filter\", kind: \"message\", T: () => wrappers_1.Int64Value }\n ]);\n }\n create(value) {\n const message = { workflowRunBackendId: \"\", workflowJobRunBackendId: \"\" };\n globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });\n if (value !== undefined)\n (0, runtime_3.reflectionMergePartial)(this, message, value);\n return message;\n }\n internalBinaryRead(reader, length, options, target) {\n let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string workflow_run_backend_id */ 1:\n message.workflowRunBackendId = reader.string();\n break;\n case /* string workflow_job_run_backend_id */ 2:\n message.workflowJobRunBackendId = reader.string();\n break;\n case /* google.protobuf.StringValue name_filter */ 3:\n message.nameFilter = wrappers_2.StringValue.internalBinaryRead(reader, reader.uint32(), options, message.nameFilter);\n break;\n case /* google.protobuf.Int64Value id_filter */ 4:\n message.idFilter = wrappers_1.Int64Value.internalBinaryRead(reader, reader.uint32(), options, message.idFilter);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message, writer, options) {\n /* string workflow_run_backend_id = 1; */\n if (message.workflowRunBackendId !== \"\")\n writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.workflowRunBackendId);\n /* string workflow_job_run_backend_id = 2; */\n if (message.workflowJobRunBackendId !== \"\")\n writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.workflowJobRunBackendId);\n /* google.protobuf.StringValue name_filter = 3; */\n if (message.nameFilter)\n wrappers_2.StringValue.internalBinaryWrite(message.nameFilter, writer.tag(3, runtime_1.WireType.LengthDelimited).fork(), options).join();\n /* google.protobuf.Int64Value id_filter = 4; */\n if (message.idFilter)\n wrappers_1.Int64Value.internalBinaryWrite(message.idFilter, writer.tag(4, runtime_1.WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message github.actions.results.api.v1.ListArtifactsRequest\n */\nexports.ListArtifactsRequest = new ListArtifactsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListArtifactsResponse$Type extends runtime_5.MessageType {\n constructor() {\n super(\"github.actions.results.api.v1.ListArtifactsResponse\", [\n { no: 1, name: \"artifacts\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => exports.ListArtifactsResponse_MonolithArtifact }\n ]);\n }\n create(value) {\n const message = { artifacts: [] };\n globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });\n if (value !== undefined)\n (0, runtime_3.reflectionMergePartial)(this, message, value);\n return message;\n }\n internalBinaryRead(reader, length, options, target) {\n let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* repeated github.actions.results.api.v1.ListArtifactsResponse.MonolithArtifact artifacts */ 1:\n message.artifacts.push(exports.ListArtifactsResponse_MonolithArtifact.internalBinaryRead(reader, reader.uint32(), options));\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message, writer, options) {\n /* repeated github.actions.results.api.v1.ListArtifactsResponse.MonolithArtifact artifacts = 1; */\n for (let i = 0; i < message.artifacts.length; i++)\n exports.ListArtifactsResponse_MonolithArtifact.internalBinaryWrite(message.artifacts[i], writer.tag(1, runtime_1.WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message github.actions.results.api.v1.ListArtifactsResponse\n */\nexports.ListArtifactsResponse = new ListArtifactsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListArtifactsResponse_MonolithArtifact$Type extends runtime_5.MessageType {\n constructor() {\n super(\"github.actions.results.api.v1.ListArtifactsResponse.MonolithArtifact\", [\n { no: 1, name: \"workflow_run_backend_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"workflow_job_run_backend_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"database_id\", kind: \"scalar\", T: 3 /*ScalarType.INT64*/ },\n { no: 4, name: \"name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 5, name: \"size\", kind: \"scalar\", T: 3 /*ScalarType.INT64*/ },\n { no: 6, name: \"created_at\", kind: \"message\", T: () => timestamp_1.Timestamp },\n { no: 7, name: \"digest\", kind: \"message\", T: () => wrappers_2.StringValue }\n ]);\n }\n create(value) {\n const message = { workflowRunBackendId: \"\", workflowJobRunBackendId: \"\", databaseId: \"0\", name: \"\", size: \"0\" };\n globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });\n if (value !== undefined)\n (0, runtime_3.reflectionMergePartial)(this, message, value);\n return message;\n }\n internalBinaryRead(reader, length, options, target) {\n let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string workflow_run_backend_id */ 1:\n message.workflowRunBackendId = reader.string();\n break;\n case /* string workflow_job_run_backend_id */ 2:\n message.workflowJobRunBackendId = reader.string();\n break;\n case /* int64 database_id */ 3:\n message.databaseId = reader.int64().toString();\n break;\n case /* string name */ 4:\n message.name = reader.string();\n break;\n case /* int64 size */ 5:\n message.size = reader.int64().toString();\n break;\n case /* google.protobuf.Timestamp created_at */ 6:\n message.createdAt = timestamp_1.Timestamp.internalBinaryRead(reader, reader.uint32(), options, message.createdAt);\n break;\n case /* google.protobuf.StringValue digest */ 7:\n message.digest = wrappers_2.StringValue.internalBinaryRead(reader, reader.uint32(), options, message.digest);\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message, writer, options) {\n /* string workflow_run_backend_id = 1; */\n if (message.workflowRunBackendId !== \"\")\n writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.workflowRunBackendId);\n /* string workflow_job_run_backend_id = 2; */\n if (message.workflowJobRunBackendId !== \"\")\n writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.workflowJobRunBackendId);\n /* int64 database_id = 3; */\n if (message.databaseId !== \"0\")\n writer.tag(3, runtime_1.WireType.Varint).int64(message.databaseId);\n /* string name = 4; */\n if (message.name !== \"\")\n writer.tag(4, runtime_1.WireType.LengthDelimited).string(message.name);\n /* int64 size = 5; */\n if (message.size !== \"0\")\n writer.tag(5, runtime_1.WireType.Varint).int64(message.size);\n /* google.protobuf.Timestamp created_at = 6; */\n if (message.createdAt)\n timestamp_1.Timestamp.internalBinaryWrite(message.createdAt, writer.tag(6, runtime_1.WireType.LengthDelimited).fork(), options).join();\n /* google.protobuf.StringValue digest = 7; */\n if (message.digest)\n wrappers_2.StringValue.internalBinaryWrite(message.digest, writer.tag(7, runtime_1.WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message github.actions.results.api.v1.ListArtifactsResponse.MonolithArtifact\n */\nexports.ListArtifactsResponse_MonolithArtifact = new ListArtifactsResponse_MonolithArtifact$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetSignedArtifactURLRequest$Type extends runtime_5.MessageType {\n constructor() {\n super(\"github.actions.results.api.v1.GetSignedArtifactURLRequest\", [\n { no: 1, name: \"workflow_run_backend_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"workflow_job_run_backend_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value) {\n const message = { workflowRunBackendId: \"\", workflowJobRunBackendId: \"\", name: \"\" };\n globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });\n if (value !== undefined)\n (0, runtime_3.reflectionMergePartial)(this, message, value);\n return message;\n }\n internalBinaryRead(reader, length, options, target) {\n let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string workflow_run_backend_id */ 1:\n message.workflowRunBackendId = reader.string();\n break;\n case /* string workflow_job_run_backend_id */ 2:\n message.workflowJobRunBackendId = reader.string();\n break;\n case /* string name */ 3:\n message.name = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message, writer, options) {\n /* string workflow_run_backend_id = 1; */\n if (message.workflowRunBackendId !== \"\")\n writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.workflowRunBackendId);\n /* string workflow_job_run_backend_id = 2; */\n if (message.workflowJobRunBackendId !== \"\")\n writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.workflowJobRunBackendId);\n /* string name = 3; */\n if (message.name !== \"\")\n writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.name);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message github.actions.results.api.v1.GetSignedArtifactURLRequest\n */\nexports.GetSignedArtifactURLRequest = new GetSignedArtifactURLRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetSignedArtifactURLResponse$Type extends runtime_5.MessageType {\n constructor() {\n super(\"github.actions.results.api.v1.GetSignedArtifactURLResponse\", [\n { no: 1, name: \"signed_url\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value) {\n const message = { signedUrl: \"\" };\n globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });\n if (value !== undefined)\n (0, runtime_3.reflectionMergePartial)(this, message, value);\n return message;\n }\n internalBinaryRead(reader, length, options, target) {\n let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string signed_url */ 1:\n message.signedUrl = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message, writer, options) {\n /* string signed_url = 1; */\n if (message.signedUrl !== \"\")\n writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.signedUrl);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message github.actions.results.api.v1.GetSignedArtifactURLResponse\n */\nexports.GetSignedArtifactURLResponse = new GetSignedArtifactURLResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DeleteArtifactRequest$Type extends runtime_5.MessageType {\n constructor() {\n super(\"github.actions.results.api.v1.DeleteArtifactRequest\", [\n { no: 1, name: \"workflow_run_backend_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"workflow_job_run_backend_id\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"name\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value) {\n const message = { workflowRunBackendId: \"\", workflowJobRunBackendId: \"\", name: \"\" };\n globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });\n if (value !== undefined)\n (0, runtime_3.reflectionMergePartial)(this, message, value);\n return message;\n }\n internalBinaryRead(reader, length, options, target) {\n let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string workflow_run_backend_id */ 1:\n message.workflowRunBackendId = reader.string();\n break;\n case /* string workflow_job_run_backend_id */ 2:\n message.workflowJobRunBackendId = reader.string();\n break;\n case /* string name */ 3:\n message.name = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message, writer, options) {\n /* string workflow_run_backend_id = 1; */\n if (message.workflowRunBackendId !== \"\")\n writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.workflowRunBackendId);\n /* string workflow_job_run_backend_id = 2; */\n if (message.workflowJobRunBackendId !== \"\")\n writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.workflowJobRunBackendId);\n /* string name = 3; */\n if (message.name !== \"\")\n writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.name);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message github.actions.results.api.v1.DeleteArtifactRequest\n */\nexports.DeleteArtifactRequest = new DeleteArtifactRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DeleteArtifactResponse$Type extends runtime_5.MessageType {\n constructor() {\n super(\"github.actions.results.api.v1.DeleteArtifactResponse\", [\n { no: 1, name: \"ok\", kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ },\n { no: 2, name: \"artifact_id\", kind: \"scalar\", T: 3 /*ScalarType.INT64*/ }\n ]);\n }\n create(value) {\n const message = { ok: false, artifactId: \"0\" };\n globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });\n if (value !== undefined)\n (0, runtime_3.reflectionMergePartial)(this, message, value);\n return message;\n }\n internalBinaryRead(reader, length, options, target) {\n let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* bool ok */ 1:\n message.ok = reader.bool();\n break;\n case /* int64 artifact_id */ 2:\n message.artifactId = reader.int64().toString();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message, writer, options) {\n /* bool ok = 1; */\n if (message.ok !== false)\n writer.tag(1, runtime_1.WireType.Varint).bool(message.ok);\n /* int64 artifact_id = 2; */\n if (message.artifactId !== \"0\")\n writer.tag(2, runtime_1.WireType.Varint).int64(message.artifactId);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message github.actions.results.api.v1.DeleteArtifactResponse\n */\nexports.DeleteArtifactResponse = new DeleteArtifactResponse$Type();\n/**\n * @generated ServiceType for protobuf service github.actions.results.api.v1.ArtifactService\n */\nexports.ArtifactService = new runtime_rpc_1.ServiceType(\"github.actions.results.api.v1.ArtifactService\", [\n { name: \"CreateArtifact\", options: {}, I: exports.CreateArtifactRequest, O: exports.CreateArtifactResponse },\n { name: \"FinalizeArtifact\", options: {}, I: exports.FinalizeArtifactRequest, O: exports.FinalizeArtifactResponse },\n { name: \"ListArtifacts\", options: {}, I: exports.ListArtifactsRequest, O: exports.ListArtifactsResponse },\n { name: \"GetSignedArtifactURL\", options: {}, I: exports.GetSignedArtifactURLRequest, O: exports.GetSignedArtifactURLResponse },\n { name: \"DeleteArtifact\", options: {}, I: exports.DeleteArtifactRequest, O: exports.DeleteArtifactResponse },\n { name: \"MigrateArtifact\", options: {}, I: exports.MigrateArtifactRequest, O: exports.MigrateArtifactResponse },\n { name: \"FinalizeMigratedArtifact\", options: {}, I: exports.FinalizeMigratedArtifactRequest, O: exports.FinalizeMigratedArtifactResponse }\n]);\n//# sourceMappingURL=artifact.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ArtifactServiceClientProtobuf = exports.ArtifactServiceClientJSON = void 0;\nconst artifact_1 = require(\"./artifact\");\nclass ArtifactServiceClientJSON {\n constructor(rpc) {\n this.rpc = rpc;\n this.CreateArtifact.bind(this);\n this.FinalizeArtifact.bind(this);\n this.ListArtifacts.bind(this);\n this.GetSignedArtifactURL.bind(this);\n this.DeleteArtifact.bind(this);\n }\n CreateArtifact(request) {\n const data = artifact_1.CreateArtifactRequest.toJson(request, {\n useProtoFieldName: true,\n emitDefaultValues: false,\n });\n const promise = this.rpc.request(\"github.actions.results.api.v1.ArtifactService\", \"CreateArtifact\", \"application/json\", data);\n return promise.then((data) => artifact_1.CreateArtifactResponse.fromJson(data, {\n ignoreUnknownFields: true,\n }));\n }\n FinalizeArtifact(request) {\n const data = artifact_1.FinalizeArtifactRequest.toJson(request, {\n useProtoFieldName: true,\n emitDefaultValues: false,\n });\n const promise = this.rpc.request(\"github.actions.results.api.v1.ArtifactService\", \"FinalizeArtifact\", \"application/json\", data);\n return promise.then((data) => artifact_1.FinalizeArtifactResponse.fromJson(data, {\n ignoreUnknownFields: true,\n }));\n }\n ListArtifacts(request) {\n const data = artifact_1.ListArtifactsRequest.toJson(request, {\n useProtoFieldName: true,\n emitDefaultValues: false,\n });\n const promise = this.rpc.request(\"github.actions.results.api.v1.ArtifactService\", \"ListArtifacts\", \"application/json\", data);\n return promise.then((data) => artifact_1.ListArtifactsResponse.fromJson(data, { ignoreUnknownFields: true }));\n }\n GetSignedArtifactURL(request) {\n const data = artifact_1.GetSignedArtifactURLRequest.toJson(request, {\n useProtoFieldName: true,\n emitDefaultValues: false,\n });\n const promise = this.rpc.request(\"github.actions.results.api.v1.ArtifactService\", \"GetSignedArtifactURL\", \"application/json\", data);\n return promise.then((data) => artifact_1.GetSignedArtifactURLResponse.fromJson(data, {\n ignoreUnknownFields: true,\n }));\n }\n DeleteArtifact(request) {\n const data = artifact_1.DeleteArtifactRequest.toJson(request, {\n useProtoFieldName: true,\n emitDefaultValues: false,\n });\n const promise = this.rpc.request(\"github.actions.results.api.v1.ArtifactService\", \"DeleteArtifact\", \"application/json\", data);\n return promise.then((data) => artifact_1.DeleteArtifactResponse.fromJson(data, {\n ignoreUnknownFields: true,\n }));\n }\n}\nexports.ArtifactServiceClientJSON = ArtifactServiceClientJSON;\nclass ArtifactServiceClientProtobuf {\n constructor(rpc) {\n this.rpc = rpc;\n this.CreateArtifact.bind(this);\n this.FinalizeArtifact.bind(this);\n this.ListArtifacts.bind(this);\n this.GetSignedArtifactURL.bind(this);\n this.DeleteArtifact.bind(this);\n }\n CreateArtifact(request) {\n const data = artifact_1.CreateArtifactRequest.toBinary(request);\n const promise = this.rpc.request(\"github.actions.results.api.v1.ArtifactService\", \"CreateArtifact\", \"application/protobuf\", data);\n return promise.then((data) => artifact_1.CreateArtifactResponse.fromBinary(data));\n }\n FinalizeArtifact(request) {\n const data = artifact_1.FinalizeArtifactRequest.toBinary(request);\n const promise = this.rpc.request(\"github.actions.results.api.v1.ArtifactService\", \"FinalizeArtifact\", \"application/protobuf\", data);\n return promise.then((data) => artifact_1.FinalizeArtifactResponse.fromBinary(data));\n }\n ListArtifacts(request) {\n const data = artifact_1.ListArtifactsRequest.toBinary(request);\n const promise = this.rpc.request(\"github.actions.results.api.v1.ArtifactService\", \"ListArtifacts\", \"application/protobuf\", data);\n return promise.then((data) => artifact_1.ListArtifactsResponse.fromBinary(data));\n }\n GetSignedArtifactURL(request) {\n const data = artifact_1.GetSignedArtifactURLRequest.toBinary(request);\n const promise = this.rpc.request(\"github.actions.results.api.v1.ArtifactService\", \"GetSignedArtifactURL\", \"application/protobuf\", data);\n return promise.then((data) => artifact_1.GetSignedArtifactURLResponse.fromBinary(data));\n }\n DeleteArtifact(request) {\n const data = artifact_1.DeleteArtifactRequest.toBinary(request);\n const promise = this.rpc.request(\"github.actions.results.api.v1.ArtifactService\", \"DeleteArtifact\", \"application/protobuf\", data);\n return promise.then((data) => artifact_1.DeleteArtifactResponse.fromBinary(data));\n }\n}\nexports.ArtifactServiceClientProtobuf = ArtifactServiceClientProtobuf;\n//# sourceMappingURL=artifact.twirp-client.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DefaultArtifactClient = void 0;\nconst core_1 = require(\"@actions/core\");\nconst config_1 = require(\"./shared/config\");\nconst upload_artifact_1 = require(\"./upload/upload-artifact\");\nconst download_artifact_1 = require(\"./download/download-artifact\");\nconst delete_artifact_1 = require(\"./delete/delete-artifact\");\nconst get_artifact_1 = require(\"./find/get-artifact\");\nconst list_artifacts_1 = require(\"./find/list-artifacts\");\nconst errors_1 = require(\"./shared/errors\");\n/**\n * The default artifact client that is used by the artifact action(s).\n */\nclass DefaultArtifactClient {\n uploadArtifact(name, files, rootDirectory, options) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n if ((0, config_1.isGhes)()) {\n throw new errors_1.GHESNotSupportedError();\n }\n return (0, upload_artifact_1.uploadArtifact)(name, files, rootDirectory, options);\n }\n catch (error) {\n (0, core_1.warning)(`Artifact upload failed with error: ${error}.\n\nErrors can be temporary, so please try again and optionally run the action with debug mode enabled for more information.\n\nIf the error persists, please check whether Actions is operating normally at [https://githubstatus.com](https://www.githubstatus.com).`);\n throw error;\n }\n });\n }\n downloadArtifact(artifactId, options) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n if ((0, config_1.isGhes)()) {\n throw new errors_1.GHESNotSupportedError();\n }\n if (options === null || options === void 0 ? void 0 : options.findBy) {\n const { findBy: { repositoryOwner, repositoryName, token } } = options, downloadOptions = __rest(options, [\"findBy\"]);\n return (0, download_artifact_1.downloadArtifactPublic)(artifactId, repositoryOwner, repositoryName, token, downloadOptions);\n }\n return (0, download_artifact_1.downloadArtifactInternal)(artifactId, options);\n }\n catch (error) {\n (0, core_1.warning)(`Download Artifact failed with error: ${error}.\n\nErrors can be temporary, so please try again and optionally run the action with debug mode enabled for more information.\n\nIf the error persists, please check whether Actions and API requests are operating normally at [https://githubstatus.com](https://www.githubstatus.com).`);\n throw error;\n }\n });\n }\n listArtifacts(options) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n if ((0, config_1.isGhes)()) {\n throw new errors_1.GHESNotSupportedError();\n }\n if (options === null || options === void 0 ? void 0 : options.findBy) {\n const { findBy: { workflowRunId, repositoryOwner, repositoryName, token } } = options;\n return (0, list_artifacts_1.listArtifactsPublic)(workflowRunId, repositoryOwner, repositoryName, token, options === null || options === void 0 ? void 0 : options.latest);\n }\n return (0, list_artifacts_1.listArtifactsInternal)(options === null || options === void 0 ? void 0 : options.latest);\n }\n catch (error) {\n (0, core_1.warning)(`Listing Artifacts failed with error: ${error}.\n\nErrors can be temporary, so please try again and optionally run the action with debug mode enabled for more information.\n\nIf the error persists, please check whether Actions and API requests are operating normally at [https://githubstatus.com](https://www.githubstatus.com).`);\n throw error;\n }\n });\n }\n getArtifact(artifactName, options) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n if ((0, config_1.isGhes)()) {\n throw new errors_1.GHESNotSupportedError();\n }\n if (options === null || options === void 0 ? void 0 : options.findBy) {\n const { findBy: { workflowRunId, repositoryOwner, repositoryName, token } } = options;\n return (0, get_artifact_1.getArtifactPublic)(artifactName, workflowRunId, repositoryOwner, repositoryName, token);\n }\n return (0, get_artifact_1.getArtifactInternal)(artifactName);\n }\n catch (error) {\n (0, core_1.warning)(`Get Artifact failed with error: ${error}.\n\nErrors can be temporary, so please try again and optionally run the action with debug mode enabled for more information.\n\nIf the error persists, please check whether Actions and API requests are operating normally at [https://githubstatus.com](https://www.githubstatus.com).`);\n throw error;\n }\n });\n }\n deleteArtifact(artifactName, options) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n if ((0, config_1.isGhes)()) {\n throw new errors_1.GHESNotSupportedError();\n }\n if (options === null || options === void 0 ? void 0 : options.findBy) {\n const { findBy: { repositoryOwner, repositoryName, workflowRunId, token } } = options;\n return (0, delete_artifact_1.deleteArtifactPublic)(artifactName, workflowRunId, repositoryOwner, repositoryName, token);\n }\n return (0, delete_artifact_1.deleteArtifactInternal)(artifactName);\n }\n catch (error) {\n (0, core_1.warning)(`Delete Artifact failed with error: ${error}.\n\nErrors can be temporary, so please try again and optionally run the action with debug mode enabled for more information.\n\nIf the error persists, please check whether Actions and API requests are operating normally at [https://githubstatus.com](https://www.githubstatus.com).`);\n throw error;\n }\n });\n }\n}\nexports.DefaultArtifactClient = DefaultArtifactClient;\n//# sourceMappingURL=client.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.deleteArtifactInternal = exports.deleteArtifactPublic = void 0;\nconst core_1 = require(\"@actions/core\");\nconst github_1 = require(\"@actions/github\");\nconst user_agent_1 = require(\"../shared/user-agent\");\nconst retry_options_1 = require(\"../find/retry-options\");\nconst utils_1 = require(\"@actions/github/lib/utils\");\nconst plugin_request_log_1 = require(\"@octokit/plugin-request-log\");\nconst plugin_retry_1 = require(\"@octokit/plugin-retry\");\nconst artifact_twirp_client_1 = require(\"../shared/artifact-twirp-client\");\nconst util_1 = require(\"../shared/util\");\nconst generated_1 = require(\"../../generated\");\nconst get_artifact_1 = require(\"../find/get-artifact\");\nconst errors_1 = require(\"../shared/errors\");\nfunction deleteArtifactPublic(artifactName, workflowRunId, repositoryOwner, repositoryName, token) {\n return __awaiter(this, void 0, void 0, function* () {\n var _a;\n const [retryOpts, requestOpts] = (0, retry_options_1.getRetryOptions)(utils_1.defaults);\n const opts = {\n log: undefined,\n userAgent: (0, user_agent_1.getUserAgentString)(),\n previews: undefined,\n retry: retryOpts,\n request: requestOpts\n };\n const github = (0, github_1.getOctokit)(token, opts, plugin_retry_1.retry, plugin_request_log_1.requestLog);\n const getArtifactResp = yield (0, get_artifact_1.getArtifactPublic)(artifactName, workflowRunId, repositoryOwner, repositoryName, token);\n const deleteArtifactResp = yield github.rest.actions.deleteArtifact({\n owner: repositoryOwner,\n repo: repositoryName,\n artifact_id: getArtifactResp.artifact.id\n });\n if (deleteArtifactResp.status !== 204) {\n throw new errors_1.InvalidResponseError(`Invalid response from GitHub API: ${deleteArtifactResp.status} (${(_a = deleteArtifactResp === null || deleteArtifactResp === void 0 ? void 0 : deleteArtifactResp.headers) === null || _a === void 0 ? void 0 : _a['x-github-request-id']})`);\n }\n return {\n id: getArtifactResp.artifact.id\n };\n });\n}\nexports.deleteArtifactPublic = deleteArtifactPublic;\nfunction deleteArtifactInternal(artifactName) {\n return __awaiter(this, void 0, void 0, function* () {\n const artifactClient = (0, artifact_twirp_client_1.internalArtifactTwirpClient)();\n const { workflowRunBackendId, workflowJobRunBackendId } = (0, util_1.getBackendIdsFromToken)();\n const listReq = {\n workflowRunBackendId,\n workflowJobRunBackendId,\n nameFilter: generated_1.StringValue.create({ value: artifactName })\n };\n const listRes = yield artifactClient.ListArtifacts(listReq);\n if (listRes.artifacts.length === 0) {\n throw new errors_1.ArtifactNotFoundError(`Artifact not found for name: ${artifactName}`);\n }\n let artifact = listRes.artifacts[0];\n if (listRes.artifacts.length > 1) {\n artifact = listRes.artifacts.sort((a, b) => Number(b.databaseId) - Number(a.databaseId))[0];\n (0, core_1.debug)(`More than one artifact found for a single name, returning newest (id: ${artifact.databaseId})`);\n }\n const req = {\n workflowRunBackendId: artifact.workflowRunBackendId,\n workflowJobRunBackendId: artifact.workflowJobRunBackendId,\n name: artifact.name\n };\n const res = yield artifactClient.DeleteArtifact(req);\n (0, core_1.info)(`Artifact '${artifactName}' (ID: ${res.artifactId}) deleted`);\n return {\n id: Number(res.artifactId)\n };\n });\n}\nexports.deleteArtifactInternal = deleteArtifactInternal;\n//# sourceMappingURL=delete-artifact.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.downloadArtifactInternal = exports.downloadArtifactPublic = exports.streamExtractExternal = void 0;\nconst promises_1 = __importDefault(require(\"fs/promises\"));\nconst crypto = __importStar(require(\"crypto\"));\nconst stream = __importStar(require(\"stream\"));\nconst github = __importStar(require(\"@actions/github\"));\nconst core = __importStar(require(\"@actions/core\"));\nconst httpClient = __importStar(require(\"@actions/http-client\"));\nconst unzip_stream_1 = __importDefault(require(\"unzip-stream\"));\nconst user_agent_1 = require(\"../shared/user-agent\");\nconst config_1 = require(\"../shared/config\");\nconst artifact_twirp_client_1 = require(\"../shared/artifact-twirp-client\");\nconst generated_1 = require(\"../../generated\");\nconst util_1 = require(\"../shared/util\");\nconst errors_1 = require(\"../shared/errors\");\nconst scrubQueryParameters = (url) => {\n const parsed = new URL(url);\n parsed.search = '';\n return parsed.toString();\n};\nfunction exists(path) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n yield promises_1.default.access(path);\n return true;\n }\n catch (error) {\n if (error.code === 'ENOENT') {\n return false;\n }\n else {\n throw error;\n }\n }\n });\n}\nfunction streamExtract(url, directory) {\n return __awaiter(this, void 0, void 0, function* () {\n let retryCount = 0;\n while (retryCount < 5) {\n try {\n return yield streamExtractExternal(url, directory);\n }\n catch (error) {\n retryCount++;\n core.debug(`Failed to download artifact after ${retryCount} retries due to ${error.message}. Retrying in 5 seconds...`);\n // wait 5 seconds before retrying\n yield new Promise(resolve => setTimeout(resolve, 5000));\n }\n }\n throw new Error(`Artifact download failed after ${retryCount} retries.`);\n });\n}\nfunction streamExtractExternal(url_1, directory_1) {\n return __awaiter(this, arguments, void 0, function* (url, directory, opts = { timeout: 30 * 1000 }) {\n const client = new httpClient.HttpClient((0, user_agent_1.getUserAgentString)());\n const response = yield client.get(url);\n if (response.message.statusCode !== 200) {\n throw new Error(`Unexpected HTTP response from blob storage: ${response.message.statusCode} ${response.message.statusMessage}`);\n }\n let sha256Digest = undefined;\n return new Promise((resolve, reject) => {\n const timerFn = () => {\n const timeoutError = new Error(`Blob storage chunk did not respond in ${opts.timeout}ms`);\n response.message.destroy(timeoutError);\n reject(timeoutError);\n };\n const timer = setTimeout(timerFn, opts.timeout);\n const hashStream = crypto.createHash('sha256').setEncoding('hex');\n const passThrough = new stream.PassThrough();\n response.message.pipe(passThrough);\n passThrough.pipe(hashStream);\n const extractStream = passThrough;\n extractStream\n .on('data', () => {\n timer.refresh();\n })\n .on('error', (error) => {\n core.debug(`response.message: Artifact download failed: ${error.message}`);\n clearTimeout(timer);\n reject(error);\n })\n .pipe(unzip_stream_1.default.Extract({ path: directory }))\n .on('close', () => {\n clearTimeout(timer);\n if (hashStream) {\n hashStream.end();\n sha256Digest = hashStream.read();\n core.info(`SHA256 digest of downloaded artifact is ${sha256Digest}`);\n }\n resolve({ sha256Digest: `sha256:${sha256Digest}` });\n })\n .on('error', (error) => {\n reject(error);\n });\n });\n });\n}\nexports.streamExtractExternal = streamExtractExternal;\nfunction downloadArtifactPublic(artifactId, repositoryOwner, repositoryName, token, options) {\n return __awaiter(this, void 0, void 0, function* () {\n const downloadPath = yield resolveOrCreateDirectory(options === null || options === void 0 ? void 0 : options.path);\n const api = github.getOctokit(token);\n let digestMismatch = false;\n core.info(`Downloading artifact '${artifactId}' from '${repositoryOwner}/${repositoryName}'`);\n const { headers, status } = yield api.rest.actions.downloadArtifact({\n owner: repositoryOwner,\n repo: repositoryName,\n artifact_id: artifactId,\n archive_format: 'zip',\n request: {\n redirect: 'manual'\n }\n });\n if (status !== 302) {\n throw new Error(`Unable to download artifact. Unexpected status: ${status}`);\n }\n const { location } = headers;\n if (!location) {\n throw new Error(`Unable to redirect to artifact download url`);\n }\n core.info(`Redirecting to blob download url: ${scrubQueryParameters(location)}`);\n try {\n core.info(`Starting download of artifact to: ${downloadPath}`);\n const extractResponse = yield streamExtract(location, downloadPath);\n core.info(`Artifact download completed successfully.`);\n if (options === null || options === void 0 ? void 0 : options.expectedHash) {\n if ((options === null || options === void 0 ? void 0 : options.expectedHash) !== extractResponse.sha256Digest) {\n digestMismatch = true;\n core.debug(`Computed digest: ${extractResponse.sha256Digest}`);\n core.debug(`Expected digest: ${options.expectedHash}`);\n }\n }\n }\n catch (error) {\n throw new Error(`Unable to download and extract artifact: ${error.message}`);\n }\n return { downloadPath, digestMismatch };\n });\n}\nexports.downloadArtifactPublic = downloadArtifactPublic;\nfunction downloadArtifactInternal(artifactId, options) {\n return __awaiter(this, void 0, void 0, function* () {\n const downloadPath = yield resolveOrCreateDirectory(options === null || options === void 0 ? void 0 : options.path);\n const artifactClient = (0, artifact_twirp_client_1.internalArtifactTwirpClient)();\n let digestMismatch = false;\n const { workflowRunBackendId, workflowJobRunBackendId } = (0, util_1.getBackendIdsFromToken)();\n const listReq = {\n workflowRunBackendId,\n workflowJobRunBackendId,\n idFilter: generated_1.Int64Value.create({ value: artifactId.toString() })\n };\n const { artifacts } = yield artifactClient.ListArtifacts(listReq);\n if (artifacts.length === 0) {\n throw new errors_1.ArtifactNotFoundError(`No artifacts found for ID: ${artifactId}\\nAre you trying to download from a different run? Try specifying a github-token with \\`actions:read\\` scope.`);\n }\n if (artifacts.length > 1) {\n core.warning('Multiple artifacts found, defaulting to first.');\n }\n const signedReq = {\n workflowRunBackendId: artifacts[0].workflowRunBackendId,\n workflowJobRunBackendId: artifacts[0].workflowJobRunBackendId,\n name: artifacts[0].name\n };\n const { signedUrl } = yield artifactClient.GetSignedArtifactURL(signedReq);\n core.info(`Redirecting to blob download url: ${scrubQueryParameters(signedUrl)}`);\n try {\n core.info(`Starting download of artifact to: ${downloadPath}`);\n const extractResponse = yield streamExtract(signedUrl, downloadPath);\n core.info(`Artifact download completed successfully.`);\n if (options === null || options === void 0 ? void 0 : options.expectedHash) {\n if ((options === null || options === void 0 ? void 0 : options.expectedHash) !== extractResponse.sha256Digest) {\n digestMismatch = true;\n core.debug(`Computed digest: ${extractResponse.sha256Digest}`);\n core.debug(`Expected digest: ${options.expectedHash}`);\n }\n }\n }\n catch (error) {\n throw new Error(`Unable to download and extract artifact: ${error.message}`);\n }\n return { downloadPath, digestMismatch };\n });\n}\nexports.downloadArtifactInternal = downloadArtifactInternal;\nfunction resolveOrCreateDirectory() {\n return __awaiter(this, arguments, void 0, function* (downloadPath = (0, config_1.getGitHubWorkspaceDir)()) {\n if (!(yield exists(downloadPath))) {\n core.debug(`Artifact destination folder does not exist, creating: ${downloadPath}`);\n yield promises_1.default.mkdir(downloadPath, { recursive: true });\n }\n else {\n core.debug(`Artifact destination folder already exists: ${downloadPath}`);\n }\n return downloadPath;\n });\n}\n//# sourceMappingURL=download-artifact.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getArtifactInternal = exports.getArtifactPublic = void 0;\nconst github_1 = require(\"@actions/github\");\nconst plugin_retry_1 = require(\"@octokit/plugin-retry\");\nconst core = __importStar(require(\"@actions/core\"));\nconst utils_1 = require(\"@actions/github/lib/utils\");\nconst retry_options_1 = require(\"./retry-options\");\nconst plugin_request_log_1 = require(\"@octokit/plugin-request-log\");\nconst util_1 = require(\"../shared/util\");\nconst user_agent_1 = require(\"../shared/user-agent\");\nconst artifact_twirp_client_1 = require(\"../shared/artifact-twirp-client\");\nconst generated_1 = require(\"../../generated\");\nconst errors_1 = require(\"../shared/errors\");\nfunction getArtifactPublic(artifactName, workflowRunId, repositoryOwner, repositoryName, token) {\n return __awaiter(this, void 0, void 0, function* () {\n var _a;\n const [retryOpts, requestOpts] = (0, retry_options_1.getRetryOptions)(utils_1.defaults);\n const opts = {\n log: undefined,\n userAgent: (0, user_agent_1.getUserAgentString)(),\n previews: undefined,\n retry: retryOpts,\n request: requestOpts\n };\n const github = (0, github_1.getOctokit)(token, opts, plugin_retry_1.retry, plugin_request_log_1.requestLog);\n const getArtifactResp = yield github.request('GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts{?name}', {\n owner: repositoryOwner,\n repo: repositoryName,\n run_id: workflowRunId,\n name: artifactName\n });\n if (getArtifactResp.status !== 200) {\n throw new errors_1.InvalidResponseError(`Invalid response from GitHub API: ${getArtifactResp.status} (${(_a = getArtifactResp === null || getArtifactResp === void 0 ? void 0 : getArtifactResp.headers) === null || _a === void 0 ? void 0 : _a['x-github-request-id']})`);\n }\n if (getArtifactResp.data.artifacts.length === 0) {\n throw new errors_1.ArtifactNotFoundError(`Artifact not found for name: ${artifactName}\n Please ensure that your artifact is not expired and the artifact was uploaded using a compatible version of toolkit/upload-artifact.\n For more information, visit the GitHub Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md`);\n }\n let artifact = getArtifactResp.data.artifacts[0];\n if (getArtifactResp.data.artifacts.length > 1) {\n artifact = getArtifactResp.data.artifacts.sort((a, b) => b.id - a.id)[0];\n core.debug(`More than one artifact found for a single name, returning newest (id: ${artifact.id})`);\n }\n return {\n artifact: {\n name: artifact.name,\n id: artifact.id,\n size: artifact.size_in_bytes,\n createdAt: artifact.created_at\n ? new Date(artifact.created_at)\n : undefined,\n digest: artifact.digest\n }\n };\n });\n}\nexports.getArtifactPublic = getArtifactPublic;\nfunction getArtifactInternal(artifactName) {\n return __awaiter(this, void 0, void 0, function* () {\n var _a;\n const artifactClient = (0, artifact_twirp_client_1.internalArtifactTwirpClient)();\n const { workflowRunBackendId, workflowJobRunBackendId } = (0, util_1.getBackendIdsFromToken)();\n const req = {\n workflowRunBackendId,\n workflowJobRunBackendId,\n nameFilter: generated_1.StringValue.create({ value: artifactName })\n };\n const res = yield artifactClient.ListArtifacts(req);\n if (res.artifacts.length === 0) {\n throw new errors_1.ArtifactNotFoundError(`Artifact not found for name: ${artifactName}\n Please ensure that your artifact is not expired and the artifact was uploaded using a compatible version of toolkit/upload-artifact.\n For more information, visit the GitHub Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md`);\n }\n let artifact = res.artifacts[0];\n if (res.artifacts.length > 1) {\n artifact = res.artifacts.sort((a, b) => Number(b.databaseId) - Number(a.databaseId))[0];\n core.debug(`More than one artifact found for a single name, returning newest (id: ${artifact.databaseId})`);\n }\n return {\n artifact: {\n name: artifact.name,\n id: Number(artifact.databaseId),\n size: Number(artifact.size),\n createdAt: artifact.createdAt\n ? generated_1.Timestamp.toDate(artifact.createdAt)\n : undefined,\n digest: (_a = artifact.digest) === null || _a === void 0 ? void 0 : _a.value\n }\n };\n });\n}\nexports.getArtifactInternal = getArtifactInternal;\n//# sourceMappingURL=get-artifact.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.listArtifactsInternal = exports.listArtifactsPublic = void 0;\nconst core_1 = require(\"@actions/core\");\nconst github_1 = require(\"@actions/github\");\nconst user_agent_1 = require(\"../shared/user-agent\");\nconst retry_options_1 = require(\"./retry-options\");\nconst utils_1 = require(\"@actions/github/lib/utils\");\nconst plugin_request_log_1 = require(\"@octokit/plugin-request-log\");\nconst plugin_retry_1 = require(\"@octokit/plugin-retry\");\nconst artifact_twirp_client_1 = require(\"../shared/artifact-twirp-client\");\nconst util_1 = require(\"../shared/util\");\nconst config_1 = require(\"../shared/config\");\nconst generated_1 = require(\"../../generated\");\nconst maximumArtifactCount = (0, config_1.getMaxArtifactListCount)();\nconst paginationCount = 100;\nconst maxNumberOfPages = Math.ceil(maximumArtifactCount / paginationCount);\nfunction listArtifactsPublic(workflowRunId_1, repositoryOwner_1, repositoryName_1, token_1) {\n return __awaiter(this, arguments, void 0, function* (workflowRunId, repositoryOwner, repositoryName, token, latest = false) {\n (0, core_1.info)(`Fetching artifact list for workflow run ${workflowRunId} in repository ${repositoryOwner}/${repositoryName}`);\n let artifacts = [];\n const [retryOpts, requestOpts] = (0, retry_options_1.getRetryOptions)(utils_1.defaults);\n const opts = {\n log: undefined,\n userAgent: (0, user_agent_1.getUserAgentString)(),\n previews: undefined,\n retry: retryOpts,\n request: requestOpts\n };\n const github = (0, github_1.getOctokit)(token, opts, plugin_retry_1.retry, plugin_request_log_1.requestLog);\n let currentPageNumber = 1;\n const { data: listArtifactResponse } = yield github.request('GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts', {\n owner: repositoryOwner,\n repo: repositoryName,\n run_id: workflowRunId,\n per_page: paginationCount,\n page: currentPageNumber\n });\n let numberOfPages = Math.ceil(listArtifactResponse.total_count / paginationCount);\n const totalArtifactCount = listArtifactResponse.total_count;\n if (totalArtifactCount > maximumArtifactCount) {\n (0, core_1.warning)(`Workflow run ${workflowRunId} has ${totalArtifactCount} artifacts, exceeding the limit of ${maximumArtifactCount}. Results will be incomplete as only the first ${maximumArtifactCount} artifacts will be returned`);\n numberOfPages = maxNumberOfPages;\n }\n // Iterate over the first page\n for (const artifact of listArtifactResponse.artifacts) {\n artifacts.push({\n name: artifact.name,\n id: artifact.id,\n size: artifact.size_in_bytes,\n createdAt: artifact.created_at\n ? new Date(artifact.created_at)\n : undefined,\n digest: artifact.digest\n });\n }\n // Move to the next page\n currentPageNumber++;\n // Iterate over any remaining pages\n for (currentPageNumber; currentPageNumber <= numberOfPages; currentPageNumber++) {\n (0, core_1.debug)(`Fetching page ${currentPageNumber} of artifact list`);\n const { data: listArtifactResponse } = yield github.request('GET /repos/{owner}/{repo}/actions/runs/{run_id}/artifacts', {\n owner: repositoryOwner,\n repo: repositoryName,\n run_id: workflowRunId,\n per_page: paginationCount,\n page: currentPageNumber\n });\n for (const artifact of listArtifactResponse.artifacts) {\n artifacts.push({\n name: artifact.name,\n id: artifact.id,\n size: artifact.size_in_bytes,\n createdAt: artifact.created_at\n ? new Date(artifact.created_at)\n : undefined,\n digest: artifact.digest\n });\n }\n }\n if (latest) {\n artifacts = filterLatest(artifacts);\n }\n (0, core_1.info)(`Found ${artifacts.length} artifact(s)`);\n return {\n artifacts\n };\n });\n}\nexports.listArtifactsPublic = listArtifactsPublic;\nfunction listArtifactsInternal() {\n return __awaiter(this, arguments, void 0, function* (latest = false) {\n const artifactClient = (0, artifact_twirp_client_1.internalArtifactTwirpClient)();\n const { workflowRunBackendId, workflowJobRunBackendId } = (0, util_1.getBackendIdsFromToken)();\n const req = {\n workflowRunBackendId,\n workflowJobRunBackendId\n };\n const res = yield artifactClient.ListArtifacts(req);\n let artifacts = res.artifacts.map(artifact => {\n var _a;\n return ({\n name: artifact.name,\n id: Number(artifact.databaseId),\n size: Number(artifact.size),\n createdAt: artifact.createdAt\n ? generated_1.Timestamp.toDate(artifact.createdAt)\n : undefined,\n digest: (_a = artifact.digest) === null || _a === void 0 ? void 0 : _a.value\n });\n });\n if (latest) {\n artifacts = filterLatest(artifacts);\n }\n (0, core_1.info)(`Found ${artifacts.length} artifact(s)`);\n return {\n artifacts\n };\n });\n}\nexports.listArtifactsInternal = listArtifactsInternal;\n/**\n * Filters a list of artifacts to only include the latest artifact for each name\n * @param artifacts The artifacts to filter\n * @returns The filtered list of artifacts\n */\nfunction filterLatest(artifacts) {\n artifacts.sort((a, b) => b.id - a.id);\n const latestArtifacts = [];\n const seenArtifactNames = new Set();\n for (const artifact of artifacts) {\n if (!seenArtifactNames.has(artifact.name)) {\n latestArtifacts.push(artifact);\n seenArtifactNames.add(artifact.name);\n }\n }\n return latestArtifacts;\n}\n//# sourceMappingURL=list-artifacts.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRetryOptions = void 0;\nconst core = __importStar(require(\"@actions/core\"));\n// Defaults for fetching artifacts\nconst defaultMaxRetryNumber = 5;\nconst defaultExemptStatusCodes = [400, 401, 403, 404, 422]; // https://github.com/octokit/plugin-retry.js/blob/9a2443746c350b3beedec35cf26e197ea318a261/src/index.ts#L14\nfunction getRetryOptions(defaultOptions, retries = defaultMaxRetryNumber, exemptStatusCodes = defaultExemptStatusCodes) {\n var _a;\n if (retries <= 0) {\n return [{ enabled: false }, defaultOptions.request];\n }\n const retryOptions = {\n enabled: true\n };\n if (exemptStatusCodes.length > 0) {\n retryOptions.doNotRetry = exemptStatusCodes;\n }\n // The GitHub type has some defaults for `options.request`\n // see: https://github.com/actions/toolkit/blob/4fbc5c941a57249b19562015edbd72add14be93d/packages/github/src/utils.ts#L15\n // We pass these in here so they are not overridden.\n const requestOptions = Object.assign(Object.assign({}, defaultOptions.request), { retries });\n core.debug(`GitHub client configured with: (retries: ${requestOptions.retries}, retry-exempt-status-code: ${(_a = retryOptions.doNotRetry) !== null && _a !== void 0 ? _a : 'octokit default: [400, 401, 403, 404, 422]'})`);\n return [retryOptions, requestOptions];\n}\nexports.getRetryOptions = getRetryOptions;\n//# sourceMappingURL=retry-options.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.internalArtifactTwirpClient = void 0;\nconst http_client_1 = require(\"@actions/http-client\");\nconst auth_1 = require(\"@actions/http-client/lib/auth\");\nconst core_1 = require(\"@actions/core\");\nconst generated_1 = require(\"../../generated\");\nconst config_1 = require(\"./config\");\nconst user_agent_1 = require(\"./user-agent\");\nconst errors_1 = require(\"./errors\");\nconst util_1 = require(\"./util\");\nclass ArtifactHttpClient {\n constructor(userAgent, maxAttempts, baseRetryIntervalMilliseconds, retryMultiplier) {\n this.maxAttempts = 5;\n this.baseRetryIntervalMilliseconds = 3000;\n this.retryMultiplier = 1.5;\n const token = (0, config_1.getRuntimeToken)();\n this.baseUrl = (0, config_1.getResultsServiceUrl)();\n if (maxAttempts) {\n this.maxAttempts = maxAttempts;\n }\n if (baseRetryIntervalMilliseconds) {\n this.baseRetryIntervalMilliseconds = baseRetryIntervalMilliseconds;\n }\n if (retryMultiplier) {\n this.retryMultiplier = retryMultiplier;\n }\n this.httpClient = new http_client_1.HttpClient(userAgent, [\n new auth_1.BearerCredentialHandler(token)\n ]);\n }\n // This function satisfies the Rpc interface. It is compatible with the JSON\n // JSON generated client.\n request(service, method, contentType, data) {\n return __awaiter(this, void 0, void 0, function* () {\n const url = new URL(`/twirp/${service}/${method}`, this.baseUrl).href;\n (0, core_1.debug)(`[Request] ${method} ${url}`);\n const headers = {\n 'Content-Type': contentType\n };\n try {\n const { body } = yield this.retryableRequest(() => __awaiter(this, void 0, void 0, function* () { return this.httpClient.post(url, JSON.stringify(data), headers); }));\n return body;\n }\n catch (error) {\n throw new Error(`Failed to ${method}: ${error.message}`);\n }\n });\n }\n retryableRequest(operation) {\n return __awaiter(this, void 0, void 0, function* () {\n let attempt = 0;\n let errorMessage = '';\n let rawBody = '';\n while (attempt < this.maxAttempts) {\n let isRetryable = false;\n try {\n const response = yield operation();\n const statusCode = response.message.statusCode;\n rawBody = yield response.readBody();\n (0, core_1.debug)(`[Response] - ${response.message.statusCode}`);\n (0, core_1.debug)(`Headers: ${JSON.stringify(response.message.headers, null, 2)}`);\n const body = JSON.parse(rawBody);\n (0, util_1.maskSecretUrls)(body);\n (0, core_1.debug)(`Body: ${JSON.stringify(body, null, 2)}`);\n if (this.isSuccessStatusCode(statusCode)) {\n return { response, body };\n }\n isRetryable = this.isRetryableHttpStatusCode(statusCode);\n errorMessage = `Failed request: (${statusCode}) ${response.message.statusMessage}`;\n if (body.msg) {\n if (errors_1.UsageError.isUsageErrorMessage(body.msg)) {\n throw new errors_1.UsageError();\n }\n errorMessage = `${errorMessage}: ${body.msg}`;\n }\n }\n catch (error) {\n if (error instanceof SyntaxError) {\n (0, core_1.debug)(`Raw Body: ${rawBody}`);\n }\n if (error instanceof errors_1.UsageError) {\n throw error;\n }\n if (errors_1.NetworkError.isNetworkErrorCode(error === null || error === void 0 ? void 0 : error.code)) {\n throw new errors_1.NetworkError(error === null || error === void 0 ? void 0 : error.code);\n }\n isRetryable = true;\n errorMessage = error.message;\n }\n if (!isRetryable) {\n throw new Error(`Received non-retryable error: ${errorMessage}`);\n }\n if (attempt + 1 === this.maxAttempts) {\n throw new Error(`Failed to make request after ${this.maxAttempts} attempts: ${errorMessage}`);\n }\n const retryTimeMilliseconds = this.getExponentialRetryTimeMilliseconds(attempt);\n (0, core_1.info)(`Attempt ${attempt + 1} of ${this.maxAttempts} failed with error: ${errorMessage}. Retrying request in ${retryTimeMilliseconds} ms...`);\n yield this.sleep(retryTimeMilliseconds);\n attempt++;\n }\n throw new Error(`Request failed`);\n });\n }\n isSuccessStatusCode(statusCode) {\n if (!statusCode)\n return false;\n return statusCode >= 200 && statusCode < 300;\n }\n isRetryableHttpStatusCode(statusCode) {\n if (!statusCode)\n return false;\n const retryableStatusCodes = [\n http_client_1.HttpCodes.BadGateway,\n http_client_1.HttpCodes.GatewayTimeout,\n http_client_1.HttpCodes.InternalServerError,\n http_client_1.HttpCodes.ServiceUnavailable,\n http_client_1.HttpCodes.TooManyRequests\n ];\n return retryableStatusCodes.includes(statusCode);\n }\n sleep(milliseconds) {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise(resolve => setTimeout(resolve, milliseconds));\n });\n }\n getExponentialRetryTimeMilliseconds(attempt) {\n if (attempt < 0) {\n throw new Error('attempt should be a positive integer');\n }\n if (attempt === 0) {\n return this.baseRetryIntervalMilliseconds;\n }\n const minTime = this.baseRetryIntervalMilliseconds * Math.pow(this.retryMultiplier, attempt);\n const maxTime = minTime * this.retryMultiplier;\n // returns a random number between minTime and maxTime (exclusive)\n return Math.trunc(Math.random() * (maxTime - minTime) + minTime);\n }\n}\nfunction internalArtifactTwirpClient(options) {\n const client = new ArtifactHttpClient((0, user_agent_1.getUserAgentString)(), options === null || options === void 0 ? void 0 : options.maxAttempts, options === null || options === void 0 ? void 0 : options.retryIntervalMs, options === null || options === void 0 ? void 0 : options.retryMultiplier);\n return new generated_1.ArtifactServiceClientJSON(client);\n}\nexports.internalArtifactTwirpClient = internalArtifactTwirpClient;\n//# sourceMappingURL=artifact-twirp-client.js.map","\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getMaxArtifactListCount = exports.getUploadChunkTimeout = exports.getConcurrency = exports.getGitHubWorkspaceDir = exports.isGhes = exports.getResultsServiceUrl = exports.getRuntimeToken = exports.getUploadChunkSize = void 0;\nconst os_1 = __importDefault(require(\"os\"));\nconst core_1 = require(\"@actions/core\");\n// Used for controlling the highWaterMark value of the zip that is being streamed\n// The same value is used as the chunk size that is use during upload to blob storage\nfunction getUploadChunkSize() {\n return 8 * 1024 * 1024; // 8 MB Chunks\n}\nexports.getUploadChunkSize = getUploadChunkSize;\nfunction getRuntimeToken() {\n const token = process.env['ACTIONS_RUNTIME_TOKEN'];\n if (!token) {\n throw new Error('Unable to get the ACTIONS_RUNTIME_TOKEN env variable');\n }\n return token;\n}\nexports.getRuntimeToken = getRuntimeToken;\nfunction getResultsServiceUrl() {\n const resultsUrl = process.env['ACTIONS_RESULTS_URL'];\n if (!resultsUrl) {\n throw new Error('Unable to get the ACTIONS_RESULTS_URL env variable');\n }\n return new URL(resultsUrl).origin;\n}\nexports.getResultsServiceUrl = getResultsServiceUrl;\nfunction isGhes() {\n const ghUrl = new URL(process.env['GITHUB_SERVER_URL'] || 'https://github.com');\n const hostname = ghUrl.hostname.trimEnd().toUpperCase();\n const isGitHubHost = hostname === 'GITHUB.COM';\n const isGheHost = hostname.endsWith('.GHE.COM');\n const isLocalHost = hostname.endsWith('.LOCALHOST');\n return !isGitHubHost && !isGheHost && !isLocalHost;\n}\nexports.isGhes = isGhes;\nfunction getGitHubWorkspaceDir() {\n const ghWorkspaceDir = process.env['GITHUB_WORKSPACE'];\n if (!ghWorkspaceDir) {\n throw new Error('Unable to get the GITHUB_WORKSPACE env variable');\n }\n return ghWorkspaceDir;\n}\nexports.getGitHubWorkspaceDir = getGitHubWorkspaceDir;\n// The maximum value of concurrency is 300.\n// This value can be changed with ACTIONS_ARTIFACT_UPLOAD_CONCURRENCY variable.\nfunction getConcurrency() {\n const numCPUs = os_1.default.cpus().length;\n let concurrencyCap = 32;\n if (numCPUs > 4) {\n const concurrency = 16 * numCPUs;\n concurrencyCap = concurrency > 300 ? 300 : concurrency;\n }\n const concurrencyOverride = process.env['ACTIONS_ARTIFACT_UPLOAD_CONCURRENCY'];\n if (concurrencyOverride) {\n const concurrency = parseInt(concurrencyOverride);\n if (isNaN(concurrency) || concurrency < 1) {\n throw new Error('Invalid value set for ACTIONS_ARTIFACT_UPLOAD_CONCURRENCY env variable');\n }\n if (concurrency < concurrencyCap) {\n (0, core_1.info)(`Set concurrency based on the value set in ACTIONS_ARTIFACT_UPLOAD_CONCURRENCY.`);\n return concurrency;\n }\n (0, core_1.info)(`ACTIONS_ARTIFACT_UPLOAD_CONCURRENCY is higher than the cap of ${concurrencyCap} based on the number of cpus. Set it to the maximum value allowed.`);\n return concurrencyCap;\n }\n // default concurrency to 5\n return 5;\n}\nexports.getConcurrency = getConcurrency;\nfunction getUploadChunkTimeout() {\n const timeoutVar = process.env['ACTIONS_ARTIFACT_UPLOAD_TIMEOUT_MS'];\n if (!timeoutVar) {\n return 300000; // 5 minutes\n }\n const timeout = parseInt(timeoutVar);\n if (isNaN(timeout)) {\n throw new Error('Invalid value set for ACTIONS_ARTIFACT_UPLOAD_TIMEOUT_MS env variable');\n }\n return timeout;\n}\nexports.getUploadChunkTimeout = getUploadChunkTimeout;\n// This value can be changed with ACTIONS_ARTIFACT_MAX_ARTIFACT_COUNT variable.\n// Defaults to 1000 as a safeguard for rate limiting.\nfunction getMaxArtifactListCount() {\n const maxCountVar = process.env['ACTIONS_ARTIFACT_MAX_ARTIFACT_COUNT'] || '1000';\n const maxCount = parseInt(maxCountVar);\n if (isNaN(maxCount) || maxCount < 1) {\n throw new Error('Invalid value set for ACTIONS_ARTIFACT_MAX_ARTIFACT_COUNT env variable');\n }\n return maxCount;\n}\nexports.getMaxArtifactListCount = getMaxArtifactListCount;\n//# sourceMappingURL=config.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UsageError = exports.NetworkError = exports.GHESNotSupportedError = exports.ArtifactNotFoundError = exports.InvalidResponseError = exports.FilesNotFoundError = void 0;\nclass FilesNotFoundError extends Error {\n constructor(files = []) {\n let message = 'No files were found to upload';\n if (files.length > 0) {\n message += `: ${files.join(', ')}`;\n }\n super(message);\n this.files = files;\n this.name = 'FilesNotFoundError';\n }\n}\nexports.FilesNotFoundError = FilesNotFoundError;\nclass InvalidResponseError extends Error {\n constructor(message) {\n super(message);\n this.name = 'InvalidResponseError';\n }\n}\nexports.InvalidResponseError = InvalidResponseError;\nclass ArtifactNotFoundError extends Error {\n constructor(message = 'Artifact not found') {\n super(message);\n this.name = 'ArtifactNotFoundError';\n }\n}\nexports.ArtifactNotFoundError = ArtifactNotFoundError;\nclass GHESNotSupportedError extends Error {\n constructor(message = '@actions/artifact v2.0.0+, upload-artifact@v4+ and download-artifact@v4+ are not currently supported on GHES.') {\n super(message);\n this.name = 'GHESNotSupportedError';\n }\n}\nexports.GHESNotSupportedError = GHESNotSupportedError;\nclass NetworkError extends Error {\n constructor(code) {\n const message = `Unable to make request: ${code}\\nIf you are using self-hosted runners, please make sure your runner has access to all GitHub endpoints: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#communication-between-self-hosted-runners-and-github`;\n super(message);\n this.code = code;\n this.name = 'NetworkError';\n }\n}\nexports.NetworkError = NetworkError;\nNetworkError.isNetworkErrorCode = (code) => {\n if (!code)\n return false;\n return [\n 'ECONNRESET',\n 'ENOTFOUND',\n 'ETIMEDOUT',\n 'ECONNREFUSED',\n 'EHOSTUNREACH'\n ].includes(code);\n};\nclass UsageError extends Error {\n constructor() {\n const message = `Artifact storage quota has been hit. Unable to upload any new artifacts. Usage is recalculated every 6-12 hours.\\nMore info on storage limits: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#calculating-minute-and-storage-spending`;\n super(message);\n this.name = 'UsageError';\n }\n}\nexports.UsageError = UsageError;\nUsageError.isUsageErrorMessage = (msg) => {\n if (!msg)\n return false;\n return msg.includes('insufficient usage');\n};\n//# sourceMappingURL=errors.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=interfaces.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getUserAgentString = void 0;\n// eslint-disable-next-line @typescript-eslint/no-var-requires, @typescript-eslint/no-require-imports\nconst packageJson = require('../../../package.json');\n/**\n * Ensure that this User Agent String is used in all HTTP calls so that we can monitor telemetry between different versions of this package\n */\nfunction getUserAgentString() {\n return `@actions/artifact-${packageJson.version}`;\n}\nexports.getUserAgentString = getUserAgentString;\n//# sourceMappingURL=user-agent.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.maskSecretUrls = exports.maskSigUrl = exports.getBackendIdsFromToken = void 0;\nconst core = __importStar(require(\"@actions/core\"));\nconst config_1 = require(\"./config\");\nconst jwt_decode_1 = __importDefault(require(\"jwt-decode\"));\nconst core_1 = require(\"@actions/core\");\nconst InvalidJwtError = new Error('Failed to get backend IDs: The provided JWT token is invalid and/or missing claims');\n// uses the JWT token claims to get the\n// workflow run and workflow job run backend ids\nfunction getBackendIdsFromToken() {\n const token = (0, config_1.getRuntimeToken)();\n const decoded = (0, jwt_decode_1.default)(token);\n if (!decoded.scp) {\n throw InvalidJwtError;\n }\n /*\n * example decoded:\n * {\n * scp: \"Actions.ExampleScope Actions.Results:ce7f54c7-61c7-4aae-887f-30da475f5f1a:ca395085-040a-526b-2ce8-bdc85f692774\"\n * }\n */\n const scpParts = decoded.scp.split(' ');\n if (scpParts.length === 0) {\n throw InvalidJwtError;\n }\n /*\n * example scpParts:\n * [\"Actions.ExampleScope\", \"Actions.Results:ce7f54c7-61c7-4aae-887f-30da475f5f1a:ca395085-040a-526b-2ce8-bdc85f692774\"]\n */\n for (const scopes of scpParts) {\n const scopeParts = scopes.split(':');\n if ((scopeParts === null || scopeParts === void 0 ? void 0 : scopeParts[0]) !== 'Actions.Results') {\n // not the Actions.Results scope\n continue;\n }\n /*\n * example scopeParts:\n * [\"Actions.Results\", \"ce7f54c7-61c7-4aae-887f-30da475f5f1a\", \"ca395085-040a-526b-2ce8-bdc85f692774\"]\n */\n if (scopeParts.length !== 3) {\n // missing expected number of claims\n throw InvalidJwtError;\n }\n const ids = {\n workflowRunBackendId: scopeParts[1],\n workflowJobRunBackendId: scopeParts[2]\n };\n core.debug(`Workflow Run Backend ID: ${ids.workflowRunBackendId}`);\n core.debug(`Workflow Job Run Backend ID: ${ids.workflowJobRunBackendId}`);\n return ids;\n }\n throw InvalidJwtError;\n}\nexports.getBackendIdsFromToken = getBackendIdsFromToken;\n/**\n * Masks the `sig` parameter in a URL and sets it as a secret.\n *\n * @param url - The URL containing the signature parameter to mask\n * @remarks\n * This function attempts to parse the provided URL and identify the 'sig' query parameter.\n * If found, it registers both the raw and URL-encoded signature values as secrets using\n * the Actions `setSecret` API, which prevents them from being displayed in logs.\n *\n * The function handles errors gracefully if URL parsing fails, logging them as debug messages.\n *\n * @example\n * ```typescript\n * // Mask a signature in an Azure SAS token URL\n * maskSigUrl('https://example.blob.core.windows.net/container/file.txt?sig=abc123&se=2023-01-01');\n * ```\n */\nfunction maskSigUrl(url) {\n if (!url)\n return;\n try {\n const parsedUrl = new URL(url);\n const signature = parsedUrl.searchParams.get('sig');\n if (signature) {\n (0, core_1.setSecret)(signature);\n (0, core_1.setSecret)(encodeURIComponent(signature));\n }\n }\n catch (error) {\n (0, core_1.debug)(`Failed to parse URL: ${url} ${error instanceof Error ? error.message : String(error)}`);\n }\n}\nexports.maskSigUrl = maskSigUrl;\n/**\n * Masks sensitive information in URLs containing signature parameters.\n * Currently supports masking 'sig' parameters in the 'signed_upload_url'\n * and 'signed_download_url' properties of the provided object.\n *\n * @param body - The object should contain a signature\n * @remarks\n * This function extracts URLs from the object properties and calls maskSigUrl\n * on each one to redact sensitive signature information. The function doesn't\n * modify the original object; it only marks the signatures as secrets for\n * logging purposes.\n *\n * @example\n * ```typescript\n * const responseBody = {\n * signed_upload_url: 'https://example.com?sig=abc123',\n * signed_download_url: 'https://example.com?sig=def456'\n * };\n * maskSecretUrls(responseBody);\n * ```\n */\nfunction maskSecretUrls(body) {\n if (typeof body !== 'object' || body === null) {\n (0, core_1.debug)('body is not an object or is null');\n return;\n }\n if ('signed_upload_url' in body &&\n typeof body.signed_upload_url === 'string') {\n maskSigUrl(body.signed_upload_url);\n }\n if ('signed_url' in body && typeof body.signed_url === 'string') {\n maskSigUrl(body.signed_url);\n }\n}\nexports.maskSecretUrls = maskSecretUrls;\n//# sourceMappingURL=util.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.uploadZipToBlobStorage = void 0;\nconst storage_blob_1 = require(\"@azure/storage-blob\");\nconst config_1 = require(\"../shared/config\");\nconst core = __importStar(require(\"@actions/core\"));\nconst crypto = __importStar(require(\"crypto\"));\nconst stream = __importStar(require(\"stream\"));\nconst errors_1 = require(\"../shared/errors\");\nfunction uploadZipToBlobStorage(authenticatedUploadURL, zipUploadStream) {\n return __awaiter(this, void 0, void 0, function* () {\n let uploadByteCount = 0;\n let lastProgressTime = Date.now();\n const abortController = new AbortController();\n const chunkTimer = (interval) => __awaiter(this, void 0, void 0, function* () {\n return new Promise((resolve, reject) => {\n const timer = setInterval(() => {\n if (Date.now() - lastProgressTime > interval) {\n reject(new Error('Upload progress stalled.'));\n }\n }, interval);\n abortController.signal.addEventListener('abort', () => {\n clearInterval(timer);\n resolve();\n });\n });\n });\n const maxConcurrency = (0, config_1.getConcurrency)();\n const bufferSize = (0, config_1.getUploadChunkSize)();\n const blobClient = new storage_blob_1.BlobClient(authenticatedUploadURL);\n const blockBlobClient = blobClient.getBlockBlobClient();\n core.debug(`Uploading artifact zip to blob storage with maxConcurrency: ${maxConcurrency}, bufferSize: ${bufferSize}`);\n const uploadCallback = (progress) => {\n core.info(`Uploaded bytes ${progress.loadedBytes}`);\n uploadByteCount = progress.loadedBytes;\n lastProgressTime = Date.now();\n };\n const options = {\n blobHTTPHeaders: { blobContentType: 'zip' },\n onProgress: uploadCallback,\n abortSignal: abortController.signal\n };\n let sha256Hash = undefined;\n const uploadStream = new stream.PassThrough();\n const hashStream = crypto.createHash('sha256');\n zipUploadStream.pipe(uploadStream); // This stream is used for the upload\n zipUploadStream.pipe(hashStream).setEncoding('hex'); // This stream is used to compute a hash of the zip content that gets used. Integrity check\n core.info('Beginning upload of artifact content to blob storage');\n try {\n yield Promise.race([\n blockBlobClient.uploadStream(uploadStream, bufferSize, maxConcurrency, options),\n chunkTimer((0, config_1.getUploadChunkTimeout)())\n ]);\n }\n catch (error) {\n if (errors_1.NetworkError.isNetworkErrorCode(error === null || error === void 0 ? void 0 : error.code)) {\n throw new errors_1.NetworkError(error === null || error === void 0 ? void 0 : error.code);\n }\n throw error;\n }\n finally {\n abortController.abort();\n }\n core.info('Finished uploading artifact content to blob storage!');\n hashStream.end();\n sha256Hash = hashStream.read();\n core.info(`SHA256 digest of uploaded artifact zip is ${sha256Hash}`);\n if (uploadByteCount === 0) {\n core.warning(`No data was uploaded to blob storage. Reported upload byte count is 0.`);\n }\n return {\n uploadSize: uploadByteCount,\n sha256Hash\n };\n });\n}\nexports.uploadZipToBlobStorage = uploadZipToBlobStorage;\n//# sourceMappingURL=blob-upload.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.validateFilePath = exports.validateArtifactName = void 0;\nconst core_1 = require(\"@actions/core\");\n/**\n * Invalid characters that cannot be in the artifact name or an uploaded file. Will be rejected\n * from the server if attempted to be sent over. These characters are not allowed due to limitations with certain\n * file systems such as NTFS. To maintain platform-agnostic behavior, all characters that are not supported by an\n * individual filesystem/platform will not be supported on all fileSystems/platforms\n *\n * FilePaths can include characters such as \\ and / which are not permitted in the artifact name alone\n */\nconst invalidArtifactFilePathCharacters = new Map([\n ['\"', ' Double quote \"'],\n [':', ' Colon :'],\n ['<', ' Less than <'],\n ['>', ' Greater than >'],\n ['|', ' Vertical bar |'],\n ['*', ' Asterisk *'],\n ['?', ' Question mark ?'],\n ['\\r', ' Carriage return \\\\r'],\n ['\\n', ' Line feed \\\\n']\n]);\nconst invalidArtifactNameCharacters = new Map([\n ...invalidArtifactFilePathCharacters,\n ['\\\\', ' Backslash \\\\'],\n ['/', ' Forward slash /']\n]);\n/**\n * Validates the name of the artifact to check to make sure there are no illegal characters\n */\nfunction validateArtifactName(name) {\n if (!name) {\n throw new Error(`Provided artifact name input during validation is empty`);\n }\n for (const [invalidCharacterKey, errorMessageForCharacter] of invalidArtifactNameCharacters) {\n if (name.includes(invalidCharacterKey)) {\n throw new Error(`The artifact name is not valid: ${name}. Contains the following character: ${errorMessageForCharacter}\n \nInvalid characters include: ${Array.from(invalidArtifactNameCharacters.values()).toString()}\n \nThese characters are not allowed in the artifact name due to limitations with certain file systems such as NTFS. To maintain file system agnostic behavior, these characters are intentionally not allowed to prevent potential problems with downloads on different file systems.`);\n }\n }\n (0, core_1.info)(`Artifact name is valid!`);\n}\nexports.validateArtifactName = validateArtifactName;\n/**\n * Validates file paths to check for any illegal characters that can cause problems on different file systems\n */\nfunction validateFilePath(path) {\n if (!path) {\n throw new Error(`Provided file path input during validation is empty`);\n }\n for (const [invalidCharacterKey, errorMessageForCharacter] of invalidArtifactFilePathCharacters) {\n if (path.includes(invalidCharacterKey)) {\n throw new Error(`The path for one of the files in artifact is not valid: ${path}. Contains the following character: ${errorMessageForCharacter}\n \nInvalid characters include: ${Array.from(invalidArtifactFilePathCharacters.values()).toString()}\n \nThe following characters are not allowed in files that are uploaded due to limitations with certain file systems such as NTFS. To maintain file system agnostic behavior, these characters are intentionally not allowed to prevent potential problems with downloads on different file systems.\n `);\n }\n }\n}\nexports.validateFilePath = validateFilePath;\n//# sourceMappingURL=path-and-artifact-name-validation.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getExpiration = void 0;\nconst generated_1 = require(\"../../generated\");\nconst core = __importStar(require(\"@actions/core\"));\nfunction getExpiration(retentionDays) {\n if (!retentionDays) {\n return undefined;\n }\n const maxRetentionDays = getRetentionDays();\n if (maxRetentionDays && maxRetentionDays < retentionDays) {\n core.warning(`Retention days cannot be greater than the maximum allowed retention set within the repository. Using ${maxRetentionDays} instead.`);\n retentionDays = maxRetentionDays;\n }\n const expirationDate = new Date();\n expirationDate.setDate(expirationDate.getDate() + retentionDays);\n return generated_1.Timestamp.fromDate(expirationDate);\n}\nexports.getExpiration = getExpiration;\nfunction getRetentionDays() {\n const retentionDays = process.env['GITHUB_RETENTION_DAYS'];\n if (!retentionDays) {\n return undefined;\n }\n const days = parseInt(retentionDays);\n if (isNaN(days)) {\n return undefined;\n }\n return days;\n}\n//# sourceMappingURL=retention.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.uploadArtifact = void 0;\nconst core = __importStar(require(\"@actions/core\"));\nconst retention_1 = require(\"./retention\");\nconst path_and_artifact_name_validation_1 = require(\"./path-and-artifact-name-validation\");\nconst artifact_twirp_client_1 = require(\"../shared/artifact-twirp-client\");\nconst upload_zip_specification_1 = require(\"./upload-zip-specification\");\nconst util_1 = require(\"../shared/util\");\nconst blob_upload_1 = require(\"./blob-upload\");\nconst zip_1 = require(\"./zip\");\nconst generated_1 = require(\"../../generated\");\nconst errors_1 = require(\"../shared/errors\");\nfunction uploadArtifact(name, files, rootDirectory, options) {\n return __awaiter(this, void 0, void 0, function* () {\n (0, path_and_artifact_name_validation_1.validateArtifactName)(name);\n (0, upload_zip_specification_1.validateRootDirectory)(rootDirectory);\n const zipSpecification = (0, upload_zip_specification_1.getUploadZipSpecification)(files, rootDirectory);\n if (zipSpecification.length === 0) {\n throw new errors_1.FilesNotFoundError(zipSpecification.flatMap(s => (s.sourcePath ? [s.sourcePath] : [])));\n }\n // get the IDs needed for the artifact creation\n const backendIds = (0, util_1.getBackendIdsFromToken)();\n // create the artifact client\n const artifactClient = (0, artifact_twirp_client_1.internalArtifactTwirpClient)();\n // create the artifact\n const createArtifactReq = {\n workflowRunBackendId: backendIds.workflowRunBackendId,\n workflowJobRunBackendId: backendIds.workflowJobRunBackendId,\n name,\n version: 4\n };\n // if there is a retention period, add it to the request\n const expiresAt = (0, retention_1.getExpiration)(options === null || options === void 0 ? void 0 : options.retentionDays);\n if (expiresAt) {\n createArtifactReq.expiresAt = expiresAt;\n }\n const createArtifactResp = yield artifactClient.CreateArtifact(createArtifactReq);\n if (!createArtifactResp.ok) {\n throw new errors_1.InvalidResponseError('CreateArtifact: response from backend was not ok');\n }\n const zipUploadStream = yield (0, zip_1.createZipUploadStream)(zipSpecification, options === null || options === void 0 ? void 0 : options.compressionLevel);\n // Upload zip to blob storage\n const uploadResult = yield (0, blob_upload_1.uploadZipToBlobStorage)(createArtifactResp.signedUploadUrl, zipUploadStream);\n // finalize the artifact\n const finalizeArtifactReq = {\n workflowRunBackendId: backendIds.workflowRunBackendId,\n workflowJobRunBackendId: backendIds.workflowJobRunBackendId,\n name,\n size: uploadResult.uploadSize ? uploadResult.uploadSize.toString() : '0'\n };\n if (uploadResult.sha256Hash) {\n finalizeArtifactReq.hash = generated_1.StringValue.create({\n value: `sha256:${uploadResult.sha256Hash}`\n });\n }\n core.info(`Finalizing artifact upload`);\n const finalizeArtifactResp = yield artifactClient.FinalizeArtifact(finalizeArtifactReq);\n if (!finalizeArtifactResp.ok) {\n throw new errors_1.InvalidResponseError('FinalizeArtifact: response from backend was not ok');\n }\n const artifactId = BigInt(finalizeArtifactResp.artifactId);\n core.info(`Artifact ${name}.zip successfully finalized. Artifact ID ${artifactId}`);\n return {\n size: uploadResult.uploadSize,\n digest: uploadResult.sha256Hash,\n id: Number(artifactId)\n };\n });\n}\nexports.uploadArtifact = uploadArtifact;\n//# sourceMappingURL=upload-artifact.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getUploadZipSpecification = exports.validateRootDirectory = void 0;\nconst fs = __importStar(require(\"fs\"));\nconst core_1 = require(\"@actions/core\");\nconst path_1 = require(\"path\");\nconst path_and_artifact_name_validation_1 = require(\"./path-and-artifact-name-validation\");\n/**\n * Checks if a root directory exists and is valid\n * @param rootDirectory an absolute root directory path common to all input files that that will be trimmed from the final zip structure\n */\nfunction validateRootDirectory(rootDirectory) {\n if (!fs.existsSync(rootDirectory)) {\n throw new Error(`The provided rootDirectory ${rootDirectory} does not exist`);\n }\n if (!fs.statSync(rootDirectory).isDirectory()) {\n throw new Error(`The provided rootDirectory ${rootDirectory} is not a valid directory`);\n }\n (0, core_1.info)(`Root directory input is valid!`);\n}\nexports.validateRootDirectory = validateRootDirectory;\n/**\n * Creates a specification that describes how a zip file will be created for a set of input files\n * @param filesToZip a list of file that should be included in the zip\n * @param rootDirectory an absolute root directory path common to all input files that that will be trimmed from the final zip structure\n */\nfunction getUploadZipSpecification(filesToZip, rootDirectory) {\n const specification = [];\n // Normalize and resolve, this allows for either absolute or relative paths to be used\n rootDirectory = (0, path_1.normalize)(rootDirectory);\n rootDirectory = (0, path_1.resolve)(rootDirectory);\n /*\n Example\n \n Input:\n rootDirectory: '/home/user/files/plz-upload'\n artifactFiles: [\n '/home/user/files/plz-upload/file1.txt',\n '/home/user/files/plz-upload/file2.txt',\n '/home/user/files/plz-upload/dir/file3.txt'\n ]\n \n Output:\n specifications: [\n ['/home/user/files/plz-upload/file1.txt', '/file1.txt'],\n ['/home/user/files/plz-upload/file1.txt', '/file2.txt'],\n ['/home/user/files/plz-upload/file1.txt', '/dir/file3.txt']\n ]\n \n The final zip that is later uploaded will look like this:\n \n my-artifact.zip\n - file.txt\n - file2.txt\n - dir/\n - file3.txt\n */\n for (let file of filesToZip) {\n const stats = fs.lstatSync(file, { throwIfNoEntry: false });\n if (!stats) {\n throw new Error(`File ${file} does not exist`);\n }\n if (!stats.isDirectory()) {\n // Normalize and resolve, this allows for either absolute or relative paths to be used\n file = (0, path_1.normalize)(file);\n file = (0, path_1.resolve)(file);\n if (!file.startsWith(rootDirectory)) {\n throw new Error(`The rootDirectory: ${rootDirectory} is not a parent directory of the file: ${file}`);\n }\n // Check for forbidden characters in file paths that may cause ambiguous behavior if downloaded on different file systems\n const uploadPath = file.replace(rootDirectory, '');\n (0, path_and_artifact_name_validation_1.validateFilePath)(uploadPath);\n specification.push({\n sourcePath: file,\n destinationPath: uploadPath,\n stats\n });\n }\n else {\n // Empty directory\n const directoryPath = file.replace(rootDirectory, '');\n (0, path_and_artifact_name_validation_1.validateFilePath)(directoryPath);\n specification.push({\n sourcePath: null,\n destinationPath: directoryPath,\n stats\n });\n }\n }\n return specification;\n}\nexports.getUploadZipSpecification = getUploadZipSpecification;\n//# sourceMappingURL=upload-zip-specification.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createZipUploadStream = exports.ZipUploadStream = exports.DEFAULT_COMPRESSION_LEVEL = void 0;\nconst stream = __importStar(require(\"stream\"));\nconst promises_1 = require(\"fs/promises\");\nconst archiver = __importStar(require(\"archiver\"));\nconst core = __importStar(require(\"@actions/core\"));\nconst config_1 = require(\"../shared/config\");\nexports.DEFAULT_COMPRESSION_LEVEL = 6;\n// Custom stream transformer so we can set the highWaterMark property\n// See https://github.com/nodejs/node/issues/8855\nclass ZipUploadStream extends stream.Transform {\n constructor(bufferSize) {\n super({\n highWaterMark: bufferSize\n });\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n _transform(chunk, enc, cb) {\n cb(null, chunk);\n }\n}\nexports.ZipUploadStream = ZipUploadStream;\nfunction createZipUploadStream(uploadSpecification_1) {\n return __awaiter(this, arguments, void 0, function* (uploadSpecification, compressionLevel = exports.DEFAULT_COMPRESSION_LEVEL) {\n core.debug(`Creating Artifact archive with compressionLevel: ${compressionLevel}`);\n const zip = archiver.create('zip', {\n highWaterMark: (0, config_1.getUploadChunkSize)(),\n zlib: { level: compressionLevel }\n });\n // register callbacks for various events during the zip lifecycle\n zip.on('error', zipErrorCallback);\n zip.on('warning', zipWarningCallback);\n zip.on('finish', zipFinishCallback);\n zip.on('end', zipEndCallback);\n for (const file of uploadSpecification) {\n if (file.sourcePath !== null) {\n // Check if symlink and resolve the source path\n let sourcePath = file.sourcePath;\n if (file.stats.isSymbolicLink()) {\n sourcePath = yield (0, promises_1.realpath)(file.sourcePath);\n }\n // Add the file to the zip\n zip.file(sourcePath, {\n name: file.destinationPath\n });\n }\n else {\n // Add a directory to the zip\n zip.append('', { name: file.destinationPath });\n }\n }\n const bufferSize = (0, config_1.getUploadChunkSize)();\n const zipUploadStream = new ZipUploadStream(bufferSize);\n core.debug(`Zip write high watermark value ${zipUploadStream.writableHighWaterMark}`);\n core.debug(`Zip read high watermark value ${zipUploadStream.readableHighWaterMark}`);\n zip.pipe(zipUploadStream);\n zip.finalize();\n return zipUploadStream;\n });\n}\nexports.createZipUploadStream = createZipUploadStream;\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst zipErrorCallback = (error) => {\n core.error('An error has occurred while creating the zip file for upload');\n core.info(error);\n throw new Error('An error has occurred during zip creation for the artifact');\n};\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst zipWarningCallback = (error) => {\n if (error.code === 'ENOENT') {\n core.warning('ENOENT warning during artifact zip creation. No such file or directory');\n core.info(error);\n }\n else {\n core.warning(`A non-blocking warning has occurred during artifact zip creation: ${error.code}`);\n core.info(error);\n }\n};\nconst zipFinishCallback = () => {\n core.debug('Zip stream for upload has finished.');\n};\nconst zipEndCallback = () => {\n core.debug('Zip stream for upload has ended.');\n};\n//# sourceMappingURL=zip.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.issueCommand = issueCommand;\nexports.issue = issue;\nconst os = __importStar(require(\"os\"));\nconst utils_1 = require(\"./utils\");\n/**\n * Issues a command to the GitHub Actions runner\n *\n * @param command - The command name to issue\n * @param properties - Additional properties for the command (key-value pairs)\n * @param message - The message to include with the command\n * @remarks\n * This function outputs a specially formatted string to stdout that the Actions\n * runner interprets as a command. These commands can control workflow behavior,\n * set outputs, create annotations, mask values, and more.\n *\n * Command Format:\n * ::name key=value,key=value::message\n *\n * @example\n * ```typescript\n * // Issue a warning annotation\n * issueCommand('warning', {}, 'This is a warning message');\n * // Output: ::warning::This is a warning message\n *\n * // Set an environment variable\n * issueCommand('set-env', { name: 'MY_VAR' }, 'some value');\n * // Output: ::set-env name=MY_VAR::some value\n *\n * // Add a secret mask\n * issueCommand('add-mask', {}, 'secretValue123');\n * // Output: ::add-mask::secretValue123\n * ```\n *\n * @internal\n * This is an internal utility function that powers the public API functions\n * such as setSecret, warning, error, and exportVariable.\n */\nfunction issueCommand(command, properties, message) {\n const cmd = new Command(command, properties, message);\n process.stdout.write(cmd.toString() + os.EOL);\n}\nfunction issue(name, message = '') {\n issueCommand(name, {}, message);\n}\nconst CMD_STRING = '::';\nclass Command {\n constructor(command, properties, message) {\n if (!command) {\n command = 'missing.command';\n }\n this.command = command;\n this.properties = properties;\n this.message = message;\n }\n toString() {\n let cmdStr = CMD_STRING + this.command;\n if (this.properties && Object.keys(this.properties).length > 0) {\n cmdStr += ' ';\n let first = true;\n for (const key in this.properties) {\n if (this.properties.hasOwnProperty(key)) {\n const val = this.properties[key];\n if (val) {\n if (first) {\n first = false;\n }\n else {\n cmdStr += ',';\n }\n cmdStr += `${key}=${escapeProperty(val)}`;\n }\n }\n }\n }\n cmdStr += `${CMD_STRING}${escapeData(this.message)}`;\n return cmdStr;\n }\n}\nfunction escapeData(s) {\n return (0, utils_1.toCommandValue)(s)\n .replace(/%/g, '%25')\n .replace(/\\r/g, '%0D')\n .replace(/\\n/g, '%0A');\n}\nfunction escapeProperty(s) {\n return (0, utils_1.toCommandValue)(s)\n .replace(/%/g, '%25')\n .replace(/\\r/g, '%0D')\n .replace(/\\n/g, '%0A')\n .replace(/:/g, '%3A')\n .replace(/,/g, '%2C');\n}\n//# sourceMappingURL=command.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.platform = exports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = exports.markdownSummary = exports.summary = exports.ExitCode = void 0;\nexports.exportVariable = exportVariable;\nexports.setSecret = setSecret;\nexports.addPath = addPath;\nexports.getInput = getInput;\nexports.getMultilineInput = getMultilineInput;\nexports.getBooleanInput = getBooleanInput;\nexports.setOutput = setOutput;\nexports.setCommandEcho = setCommandEcho;\nexports.setFailed = setFailed;\nexports.isDebug = isDebug;\nexports.debug = debug;\nexports.error = error;\nexports.warning = warning;\nexports.notice = notice;\nexports.info = info;\nexports.startGroup = startGroup;\nexports.endGroup = endGroup;\nexports.group = group;\nexports.saveState = saveState;\nexports.getState = getState;\nexports.getIDToken = getIDToken;\nconst command_1 = require(\"./command\");\nconst file_command_1 = require(\"./file-command\");\nconst utils_1 = require(\"./utils\");\nconst os = __importStar(require(\"os\"));\nconst path = __importStar(require(\"path\"));\nconst oidc_utils_1 = require(\"./oidc-utils\");\n/**\n * The code to exit an action\n */\nvar ExitCode;\n(function (ExitCode) {\n /**\n * A code indicating that the action was successful\n */\n ExitCode[ExitCode[\"Success\"] = 0] = \"Success\";\n /**\n * A code indicating that the action was a failure\n */\n ExitCode[ExitCode[\"Failure\"] = 1] = \"Failure\";\n})(ExitCode || (exports.ExitCode = ExitCode = {}));\n//-----------------------------------------------------------------------\n// Variables\n//-----------------------------------------------------------------------\n/**\n * Sets env variable for this action and future actions in the job\n * @param name the name of the variable to set\n * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction exportVariable(name, val) {\n const convertedVal = (0, utils_1.toCommandValue)(val);\n process.env[name] = convertedVal;\n const filePath = process.env['GITHUB_ENV'] || '';\n if (filePath) {\n return (0, file_command_1.issueFileCommand)('ENV', (0, file_command_1.prepareKeyValueMessage)(name, val));\n }\n (0, command_1.issueCommand)('set-env', { name }, convertedVal);\n}\n/**\n * Registers a secret which will get masked from logs\n *\n * @param secret - Value of the secret to be masked\n * @remarks\n * This function instructs the Actions runner to mask the specified value in any\n * logs produced during the workflow run. Once registered, the secret value will\n * be replaced with asterisks (***) whenever it appears in console output, logs,\n * or error messages.\n *\n * This is useful for protecting sensitive information such as:\n * - API keys\n * - Access tokens\n * - Authentication credentials\n * - URL parameters containing signatures (SAS tokens)\n *\n * Note that masking only affects future logs; any previous appearances of the\n * secret in logs before calling this function will remain unmasked.\n *\n * @example\n * ```typescript\n * // Register an API token as a secret\n * const apiToken = \"abc123xyz456\";\n * setSecret(apiToken);\n *\n * // Now any logs containing this value will show *** instead\n * console.log(`Using token: ${apiToken}`); // Outputs: \"Using token: ***\"\n * ```\n */\nfunction setSecret(secret) {\n (0, command_1.issueCommand)('add-mask', {}, secret);\n}\n/**\n * Prepends inputPath to the PATH (for this action and future actions)\n * @param inputPath\n */\nfunction addPath(inputPath) {\n const filePath = process.env['GITHUB_PATH'] || '';\n if (filePath) {\n (0, file_command_1.issueFileCommand)('PATH', inputPath);\n }\n else {\n (0, command_1.issueCommand)('add-path', {}, inputPath);\n }\n process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`;\n}\n/**\n * Gets the value of an input.\n * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed.\n * Returns an empty string if the value is not defined.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string\n */\nfunction getInput(name, options) {\n const val = process.env[`INPUT_${name.replace(/ /g, '_').toUpperCase()}`] || '';\n if (options && options.required && !val) {\n throw new Error(`Input required and not supplied: ${name}`);\n }\n if (options && options.trimWhitespace === false) {\n return val;\n }\n return val.trim();\n}\n/**\n * Gets the values of an multiline input. Each value is also trimmed.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string[]\n *\n */\nfunction getMultilineInput(name, options) {\n const inputs = getInput(name, options)\n .split('\\n')\n .filter(x => x !== '');\n if (options && options.trimWhitespace === false) {\n return inputs;\n }\n return inputs.map(input => input.trim());\n}\n/**\n * Gets the input value of the boolean type in the YAML 1.2 \"core schema\" specification.\n * Support boolean input list: `true | True | TRUE | false | False | FALSE` .\n * The return value is also in boolean type.\n * ref: https://yaml.org/spec/1.2/spec.html#id2804923\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns boolean\n */\nfunction getBooleanInput(name, options) {\n const trueValue = ['true', 'True', 'TRUE'];\n const falseValue = ['false', 'False', 'FALSE'];\n const val = getInput(name, options);\n if (trueValue.includes(val))\n return true;\n if (falseValue.includes(val))\n return false;\n throw new TypeError(`Input does not meet YAML 1.2 \"Core Schema\" specification: ${name}\\n` +\n `Support boolean input list: \\`true | True | TRUE | false | False | FALSE\\``);\n}\n/**\n * Sets the value of an output.\n *\n * @param name name of the output to set\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction setOutput(name, value) {\n const filePath = process.env['GITHUB_OUTPUT'] || '';\n if (filePath) {\n return (0, file_command_1.issueFileCommand)('OUTPUT', (0, file_command_1.prepareKeyValueMessage)(name, value));\n }\n process.stdout.write(os.EOL);\n (0, command_1.issueCommand)('set-output', { name }, (0, utils_1.toCommandValue)(value));\n}\n/**\n * Enables or disables the echoing of commands into stdout for the rest of the step.\n * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set.\n *\n */\nfunction setCommandEcho(enabled) {\n (0, command_1.issue)('echo', enabled ? 'on' : 'off');\n}\n//-----------------------------------------------------------------------\n// Results\n//-----------------------------------------------------------------------\n/**\n * Sets the action status to failed.\n * When the action exits it will be with an exit code of 1\n * @param message add error issue message\n */\nfunction setFailed(message) {\n process.exitCode = ExitCode.Failure;\n error(message);\n}\n//-----------------------------------------------------------------------\n// Logging Commands\n//-----------------------------------------------------------------------\n/**\n * Gets whether Actions Step Debug is on or not\n */\nfunction isDebug() {\n return process.env['RUNNER_DEBUG'] === '1';\n}\n/**\n * Writes debug message to user log\n * @param message debug message\n */\nfunction debug(message) {\n (0, command_1.issueCommand)('debug', {}, message);\n}\n/**\n * Adds an error issue\n * @param message error issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction error(message, properties = {}) {\n (0, command_1.issueCommand)('error', (0, utils_1.toCommandProperties)(properties), message instanceof Error ? message.toString() : message);\n}\n/**\n * Adds a warning issue\n * @param message warning issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction warning(message, properties = {}) {\n (0, command_1.issueCommand)('warning', (0, utils_1.toCommandProperties)(properties), message instanceof Error ? message.toString() : message);\n}\n/**\n * Adds a notice issue\n * @param message notice issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction notice(message, properties = {}) {\n (0, command_1.issueCommand)('notice', (0, utils_1.toCommandProperties)(properties), message instanceof Error ? message.toString() : message);\n}\n/**\n * Writes info to log with console.log.\n * @param message info message\n */\nfunction info(message) {\n process.stdout.write(message + os.EOL);\n}\n/**\n * Begin an output group.\n *\n * Output until the next `groupEnd` will be foldable in this group\n *\n * @param name The name of the output group\n */\nfunction startGroup(name) {\n (0, command_1.issue)('group', name);\n}\n/**\n * End an output group.\n */\nfunction endGroup() {\n (0, command_1.issue)('endgroup');\n}\n/**\n * Wrap an asynchronous function call in a group.\n *\n * Returns the same type as the function itself.\n *\n * @param name The name of the group\n * @param fn The function to wrap in the group\n */\nfunction group(name, fn) {\n return __awaiter(this, void 0, void 0, function* () {\n startGroup(name);\n let result;\n try {\n result = yield fn();\n }\n finally {\n endGroup();\n }\n return result;\n });\n}\n//-----------------------------------------------------------------------\n// Wrapper action state\n//-----------------------------------------------------------------------\n/**\n * Saves state for current action, the state can only be retrieved by this action's post job execution.\n *\n * @param name name of the state to store\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction saveState(name, value) {\n const filePath = process.env['GITHUB_STATE'] || '';\n if (filePath) {\n return (0, file_command_1.issueFileCommand)('STATE', (0, file_command_1.prepareKeyValueMessage)(name, value));\n }\n (0, command_1.issueCommand)('save-state', { name }, (0, utils_1.toCommandValue)(value));\n}\n/**\n * Gets the value of an state set by this action's main execution.\n *\n * @param name name of the state to get\n * @returns string\n */\nfunction getState(name) {\n return process.env[`STATE_${name}`] || '';\n}\nfunction getIDToken(aud) {\n return __awaiter(this, void 0, void 0, function* () {\n return yield oidc_utils_1.OidcClient.getIDToken(aud);\n });\n}\n/**\n * Summary exports\n */\nvar summary_1 = require(\"./summary\");\nObject.defineProperty(exports, \"summary\", { enumerable: true, get: function () { return summary_1.summary; } });\n/**\n * @deprecated use core.summary\n */\nvar summary_2 = require(\"./summary\");\nObject.defineProperty(exports, \"markdownSummary\", { enumerable: true, get: function () { return summary_2.markdownSummary; } });\n/**\n * Path exports\n */\nvar path_utils_1 = require(\"./path-utils\");\nObject.defineProperty(exports, \"toPosixPath\", { enumerable: true, get: function () { return path_utils_1.toPosixPath; } });\nObject.defineProperty(exports, \"toWin32Path\", { enumerable: true, get: function () { return path_utils_1.toWin32Path; } });\nObject.defineProperty(exports, \"toPlatformPath\", { enumerable: true, get: function () { return path_utils_1.toPlatformPath; } });\n/**\n * Platform utilities exports\n */\nexports.platform = __importStar(require(\"./platform\"));\n//# sourceMappingURL=core.js.map","\"use strict\";\n// For internal use, subject to change.\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.issueFileCommand = issueFileCommand;\nexports.prepareKeyValueMessage = prepareKeyValueMessage;\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */\nconst crypto = __importStar(require(\"crypto\"));\nconst fs = __importStar(require(\"fs\"));\nconst os = __importStar(require(\"os\"));\nconst utils_1 = require(\"./utils\");\nfunction issueFileCommand(command, message) {\n const filePath = process.env[`GITHUB_${command}`];\n if (!filePath) {\n throw new Error(`Unable to find environment variable for file command ${command}`);\n }\n if (!fs.existsSync(filePath)) {\n throw new Error(`Missing file at path: ${filePath}`);\n }\n fs.appendFileSync(filePath, `${(0, utils_1.toCommandValue)(message)}${os.EOL}`, {\n encoding: 'utf8'\n });\n}\nfunction prepareKeyValueMessage(key, value) {\n const delimiter = `ghadelimiter_${crypto.randomUUID()}`;\n const convertedValue = (0, utils_1.toCommandValue)(value);\n // These should realistically never happen, but just in case someone finds a\n // way to exploit uuid generation let's not allow keys or values that contain\n // the delimiter.\n if (key.includes(delimiter)) {\n throw new Error(`Unexpected input: name should not contain the delimiter \"${delimiter}\"`);\n }\n if (convertedValue.includes(delimiter)) {\n throw new Error(`Unexpected input: value should not contain the delimiter \"${delimiter}\"`);\n }\n return `${key}<<${delimiter}${os.EOL}${convertedValue}${os.EOL}${delimiter}`;\n}\n//# sourceMappingURL=file-command.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.OidcClient = void 0;\nconst http_client_1 = require(\"@actions/http-client\");\nconst auth_1 = require(\"@actions/http-client/lib/auth\");\nconst core_1 = require(\"./core\");\nclass OidcClient {\n static createHttpClient(allowRetry = true, maxRetry = 10) {\n const requestOptions = {\n allowRetries: allowRetry,\n maxRetries: maxRetry\n };\n return new http_client_1.HttpClient('actions/oidc-client', [new auth_1.BearerCredentialHandler(OidcClient.getRequestToken())], requestOptions);\n }\n static getRequestToken() {\n const token = process.env['ACTIONS_ID_TOKEN_REQUEST_TOKEN'];\n if (!token) {\n throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable');\n }\n return token;\n }\n static getIDTokenUrl() {\n const runtimeUrl = process.env['ACTIONS_ID_TOKEN_REQUEST_URL'];\n if (!runtimeUrl) {\n throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable');\n }\n return runtimeUrl;\n }\n static getCall(id_token_url) {\n return __awaiter(this, void 0, void 0, function* () {\n var _a;\n const httpclient = OidcClient.createHttpClient();\n const res = yield httpclient\n .getJson(id_token_url)\n .catch(error => {\n throw new Error(`Failed to get ID Token. \\n \n Error Code : ${error.statusCode}\\n \n Error Message: ${error.message}`);\n });\n const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;\n if (!id_token) {\n throw new Error('Response json body do not have ID Token field');\n }\n return id_token;\n });\n }\n static getIDToken(audience) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n // New ID Token is requested from action service\n let id_token_url = OidcClient.getIDTokenUrl();\n if (audience) {\n const encodedAudience = encodeURIComponent(audience);\n id_token_url = `${id_token_url}&audience=${encodedAudience}`;\n }\n (0, core_1.debug)(`ID token url is ${id_token_url}`);\n const id_token = yield OidcClient.getCall(id_token_url);\n (0, core_1.setSecret)(id_token);\n return id_token;\n }\n catch (error) {\n throw new Error(`Error message: ${error.message}`);\n }\n });\n }\n}\nexports.OidcClient = OidcClient;\n//# sourceMappingURL=oidc-utils.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toPosixPath = toPosixPath;\nexports.toWin32Path = toWin32Path;\nexports.toPlatformPath = toPlatformPath;\nconst path = __importStar(require(\"path\"));\n/**\n * toPosixPath converts the given path to the posix form. On Windows, \\\\ will be\n * replaced with /.\n *\n * @param pth. Path to transform.\n * @return string Posix path.\n */\nfunction toPosixPath(pth) {\n return pth.replace(/[\\\\]/g, '/');\n}\n/**\n * toWin32Path converts the given path to the win32 form. On Linux, / will be\n * replaced with \\\\.\n *\n * @param pth. Path to transform.\n * @return string Win32 path.\n */\nfunction toWin32Path(pth) {\n return pth.replace(/[/]/g, '\\\\');\n}\n/**\n * toPlatformPath converts the given path to a platform-specific path. It does\n * this by replacing instances of / and \\ with the platform-specific path\n * separator.\n *\n * @param pth The path to platformize.\n * @return string The platform-specific path.\n */\nfunction toPlatformPath(pth) {\n return pth.replace(/[/\\\\]/g, path.sep);\n}\n//# sourceMappingURL=path-utils.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isLinux = exports.isMacOS = exports.isWindows = exports.arch = exports.platform = void 0;\nexports.getDetails = getDetails;\nconst os_1 = __importDefault(require(\"os\"));\nconst exec = __importStar(require(\"@actions/exec\"));\nconst getWindowsInfo = () => __awaiter(void 0, void 0, void 0, function* () {\n const { stdout: version } = yield exec.getExecOutput('powershell -command \"(Get-CimInstance -ClassName Win32_OperatingSystem).Version\"', undefined, {\n silent: true\n });\n const { stdout: name } = yield exec.getExecOutput('powershell -command \"(Get-CimInstance -ClassName Win32_OperatingSystem).Caption\"', undefined, {\n silent: true\n });\n return {\n name: name.trim(),\n version: version.trim()\n };\n});\nconst getMacOsInfo = () => __awaiter(void 0, void 0, void 0, function* () {\n var _a, _b, _c, _d;\n const { stdout } = yield exec.getExecOutput('sw_vers', undefined, {\n silent: true\n });\n const version = (_b = (_a = stdout.match(/ProductVersion:\\s*(.+)/)) === null || _a === void 0 ? void 0 : _a[1]) !== null && _b !== void 0 ? _b : '';\n const name = (_d = (_c = stdout.match(/ProductName:\\s*(.+)/)) === null || _c === void 0 ? void 0 : _c[1]) !== null && _d !== void 0 ? _d : '';\n return {\n name,\n version\n };\n});\nconst getLinuxInfo = () => __awaiter(void 0, void 0, void 0, function* () {\n const { stdout } = yield exec.getExecOutput('lsb_release', ['-i', '-r', '-s'], {\n silent: true\n });\n const [name, version] = stdout.trim().split('\\n');\n return {\n name,\n version\n };\n});\nexports.platform = os_1.default.platform();\nexports.arch = os_1.default.arch();\nexports.isWindows = exports.platform === 'win32';\nexports.isMacOS = exports.platform === 'darwin';\nexports.isLinux = exports.platform === 'linux';\nfunction getDetails() {\n return __awaiter(this, void 0, void 0, function* () {\n return Object.assign(Object.assign({}, (yield (exports.isWindows\n ? getWindowsInfo()\n : exports.isMacOS\n ? getMacOsInfo()\n : getLinuxInfo()))), { platform: exports.platform,\n arch: exports.arch,\n isWindows: exports.isWindows,\n isMacOS: exports.isMacOS,\n isLinux: exports.isLinux });\n });\n}\n//# sourceMappingURL=platform.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.summary = exports.markdownSummary = exports.SUMMARY_DOCS_URL = exports.SUMMARY_ENV_VAR = void 0;\nconst os_1 = require(\"os\");\nconst fs_1 = require(\"fs\");\nconst { access, appendFile, writeFile } = fs_1.promises;\nexports.SUMMARY_ENV_VAR = 'GITHUB_STEP_SUMMARY';\nexports.SUMMARY_DOCS_URL = 'https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary';\nclass Summary {\n constructor() {\n this._buffer = '';\n }\n /**\n * Finds the summary file path from the environment, rejects if env var is not found or file does not exist\n * Also checks r/w permissions.\n *\n * @returns step summary file path\n */\n filePath() {\n return __awaiter(this, void 0, void 0, function* () {\n if (this._filePath) {\n return this._filePath;\n }\n const pathFromEnv = process.env[exports.SUMMARY_ENV_VAR];\n if (!pathFromEnv) {\n throw new Error(`Unable to find environment variable for $${exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);\n }\n try {\n yield access(pathFromEnv, fs_1.constants.R_OK | fs_1.constants.W_OK);\n }\n catch (_a) {\n throw new Error(`Unable to access summary file: '${pathFromEnv}'. Check if the file has correct read/write permissions.`);\n }\n this._filePath = pathFromEnv;\n return this._filePath;\n });\n }\n /**\n * Wraps content in an HTML tag, adding any HTML attributes\n *\n * @param {string} tag HTML tag to wrap\n * @param {string | null} content content within the tag\n * @param {[attribute: string]: string} attrs key-value list of HTML attributes to add\n *\n * @returns {string} content wrapped in HTML element\n */\n wrap(tag, content, attrs = {}) {\n const htmlAttrs = Object.entries(attrs)\n .map(([key, value]) => ` ${key}=\"${value}\"`)\n .join('');\n if (!content) {\n return `<${tag}${htmlAttrs}>`;\n }\n return `<${tag}${htmlAttrs}>${content}`;\n }\n /**\n * Writes text in the buffer to the summary buffer file and empties buffer. Will append by default.\n *\n * @param {SummaryWriteOptions} [options] (optional) options for write operation\n *\n * @returns {Promise} summary instance\n */\n write(options) {\n return __awaiter(this, void 0, void 0, function* () {\n const overwrite = !!(options === null || options === void 0 ? void 0 : options.overwrite);\n const filePath = yield this.filePath();\n const writeFunc = overwrite ? writeFile : appendFile;\n yield writeFunc(filePath, this._buffer, { encoding: 'utf8' });\n return this.emptyBuffer();\n });\n }\n /**\n * Clears the summary buffer and wipes the summary file\n *\n * @returns {Summary} summary instance\n */\n clear() {\n return __awaiter(this, void 0, void 0, function* () {\n return this.emptyBuffer().write({ overwrite: true });\n });\n }\n /**\n * Returns the current summary buffer as a string\n *\n * @returns {string} string of summary buffer\n */\n stringify() {\n return this._buffer;\n }\n /**\n * If the summary buffer is empty\n *\n * @returns {boolen} true if the buffer is empty\n */\n isEmptyBuffer() {\n return this._buffer.length === 0;\n }\n /**\n * Resets the summary buffer without writing to summary file\n *\n * @returns {Summary} summary instance\n */\n emptyBuffer() {\n this._buffer = '';\n return this;\n }\n /**\n * Adds raw text to the summary buffer\n *\n * @param {string} text content to add\n * @param {boolean} [addEOL=false] (optional) append an EOL to the raw text (default: false)\n *\n * @returns {Summary} summary instance\n */\n addRaw(text, addEOL = false) {\n this._buffer += text;\n return addEOL ? this.addEOL() : this;\n }\n /**\n * Adds the operating system-specific end-of-line marker to the buffer\n *\n * @returns {Summary} summary instance\n */\n addEOL() {\n return this.addRaw(os_1.EOL);\n }\n /**\n * Adds an HTML codeblock to the summary buffer\n *\n * @param {string} code content to render within fenced code block\n * @param {string} lang (optional) language to syntax highlight code\n *\n * @returns {Summary} summary instance\n */\n addCodeBlock(code, lang) {\n const attrs = Object.assign({}, (lang && { lang }));\n const element = this.wrap('pre', this.wrap('code', code), attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML list to the summary buffer\n *\n * @param {string[]} items list of items to render\n * @param {boolean} [ordered=false] (optional) if the rendered list should be ordered or not (default: false)\n *\n * @returns {Summary} summary instance\n */\n addList(items, ordered = false) {\n const tag = ordered ? 'ol' : 'ul';\n const listItems = items.map(item => this.wrap('li', item)).join('');\n const element = this.wrap(tag, listItems);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML table to the summary buffer\n *\n * @param {SummaryTableCell[]} rows table rows\n *\n * @returns {Summary} summary instance\n */\n addTable(rows) {\n const tableBody = rows\n .map(row => {\n const cells = row\n .map(cell => {\n if (typeof cell === 'string') {\n return this.wrap('td', cell);\n }\n const { header, data, colspan, rowspan } = cell;\n const tag = header ? 'th' : 'td';\n const attrs = Object.assign(Object.assign({}, (colspan && { colspan })), (rowspan && { rowspan }));\n return this.wrap(tag, data, attrs);\n })\n .join('');\n return this.wrap('tr', cells);\n })\n .join('');\n const element = this.wrap('table', tableBody);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds a collapsable HTML details element to the summary buffer\n *\n * @param {string} label text for the closed state\n * @param {string} content collapsable content\n *\n * @returns {Summary} summary instance\n */\n addDetails(label, content) {\n const element = this.wrap('details', this.wrap('summary', label) + content);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML image tag to the summary buffer\n *\n * @param {string} src path to the image you to embed\n * @param {string} alt text description of the image\n * @param {SummaryImageOptions} options (optional) addition image attributes\n *\n * @returns {Summary} summary instance\n */\n addImage(src, alt, options) {\n const { width, height } = options || {};\n const attrs = Object.assign(Object.assign({}, (width && { width })), (height && { height }));\n const element = this.wrap('img', null, Object.assign({ src, alt }, attrs));\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML section heading element\n *\n * @param {string} text heading text\n * @param {number | string} [level=1] (optional) the heading level, default: 1\n *\n * @returns {Summary} summary instance\n */\n addHeading(text, level) {\n const tag = `h${level}`;\n const allowedTag = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'].includes(tag)\n ? tag\n : 'h1';\n const element = this.wrap(allowedTag, text);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML thematic break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */\n addSeparator() {\n const element = this.wrap('hr', null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML line break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */\n addBreak() {\n const element = this.wrap('br', null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML blockquote to the summary buffer\n *\n * @param {string} text quote text\n * @param {string} cite (optional) citation url\n *\n * @returns {Summary} summary instance\n */\n addQuote(text, cite) {\n const attrs = Object.assign({}, (cite && { cite }));\n const element = this.wrap('blockquote', text, attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML anchor tag to the summary buffer\n *\n * @param {string} text link text/content\n * @param {string} href hyperlink\n *\n * @returns {Summary} summary instance\n */\n addLink(text, href) {\n const element = this.wrap('a', text, { href });\n return this.addRaw(element).addEOL();\n }\n}\nconst _summary = new Summary();\n/**\n * @deprecated use `core.summary`\n */\nexports.markdownSummary = _summary;\nexports.summary = _summary;\n//# sourceMappingURL=summary.js.map","\"use strict\";\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toCommandValue = toCommandValue;\nexports.toCommandProperties = toCommandProperties;\n/**\n * Sanitizes an input into a string so it can be passed into issueCommand safely\n * @param input input to sanitize into a string\n */\nfunction toCommandValue(input) {\n if (input === null || input === undefined) {\n return '';\n }\n else if (typeof input === 'string' || input instanceof String) {\n return input;\n }\n return JSON.stringify(input);\n}\n/**\n *\n * @param annotationProperties\n * @returns The command properties to send with the actual annotation command\n * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646\n */\nfunction toCommandProperties(annotationProperties) {\n if (!Object.keys(annotationProperties).length) {\n return {};\n }\n return {\n title: annotationProperties.title,\n file: annotationProperties.file,\n line: annotationProperties.startLine,\n endLine: annotationProperties.endLine,\n col: annotationProperties.startColumn,\n endColumn: annotationProperties.endColumn\n };\n}\n//# sourceMappingURL=utils.js.map","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nconst VERSION = \"1.0.4\";\n\n/**\n * @param octokit Octokit instance\n * @param options Options passed to Octokit constructor\n */\n\nfunction requestLog(octokit) {\n octokit.hook.wrap(\"request\", (request, options) => {\n octokit.log.debug(\"request\", options);\n const start = Date.now();\n const requestOptions = octokit.request.endpoint.parse(options);\n const path = requestOptions.url.replace(options.baseUrl, \"\");\n return request(options).then(response => {\n octokit.log.info(`${requestOptions.method} ${path} - ${response.status} in ${Date.now() - start}ms`);\n return response;\n }).catch(error => {\n octokit.log.info(`${requestOptions.method} ${path} - ${error.status} in ${Date.now() - start}ms`);\n throw error;\n });\n });\n}\nrequestLog.VERSION = VERSION;\n\nexports.requestLog = requestLog;\n//# sourceMappingURL=index.js.map\n","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.FinalizeCacheError = exports.ReserveCacheError = exports.ValidationError = void 0;\nexports.isFeatureAvailable = isFeatureAvailable;\nexports.restoreCache = restoreCache;\nexports.saveCache = saveCache;\nconst core = __importStar(require(\"@actions/core\"));\nconst path = __importStar(require(\"path\"));\nconst utils = __importStar(require(\"./internal/cacheUtils\"));\nconst cacheHttpClient = __importStar(require(\"./internal/cacheHttpClient\"));\nconst cacheTwirpClient = __importStar(require(\"./internal/shared/cacheTwirpClient\"));\nconst config_1 = require(\"./internal/config\");\nconst tar_1 = require(\"./internal/tar\");\nconst http_client_1 = require(\"@actions/http-client\");\nclass ValidationError extends Error {\n constructor(message) {\n super(message);\n this.name = 'ValidationError';\n Object.setPrototypeOf(this, ValidationError.prototype);\n }\n}\nexports.ValidationError = ValidationError;\nclass ReserveCacheError extends Error {\n constructor(message) {\n super(message);\n this.name = 'ReserveCacheError';\n Object.setPrototypeOf(this, ReserveCacheError.prototype);\n }\n}\nexports.ReserveCacheError = ReserveCacheError;\nclass FinalizeCacheError extends Error {\n constructor(message) {\n super(message);\n this.name = 'FinalizeCacheError';\n Object.setPrototypeOf(this, FinalizeCacheError.prototype);\n }\n}\nexports.FinalizeCacheError = FinalizeCacheError;\nfunction checkPaths(paths) {\n if (!paths || paths.length === 0) {\n throw new ValidationError(`Path Validation Error: At least one directory or file path is required`);\n }\n}\nfunction checkKey(key) {\n if (key.length > 512) {\n throw new ValidationError(`Key Validation Error: ${key} cannot be larger than 512 characters.`);\n }\n const regex = /^[^,]*$/;\n if (!regex.test(key)) {\n throw new ValidationError(`Key Validation Error: ${key} cannot contain commas.`);\n }\n}\n/**\n * isFeatureAvailable to check the presence of Actions cache service\n *\n * @returns boolean return true if Actions cache service feature is available, otherwise false\n */\nfunction isFeatureAvailable() {\n const cacheServiceVersion = (0, config_1.getCacheServiceVersion)();\n // Check availability based on cache service version\n switch (cacheServiceVersion) {\n case 'v2':\n // For v2, we need ACTIONS_RESULTS_URL\n return !!process.env['ACTIONS_RESULTS_URL'];\n case 'v1':\n default:\n // For v1, we only need ACTIONS_CACHE_URL\n return !!process.env['ACTIONS_CACHE_URL'];\n }\n}\n/**\n * Restores cache from keys\n *\n * @param paths a list of file paths to restore from the cache\n * @param primaryKey an explicit key for restoring the cache. Lookup is done with prefix matching.\n * @param restoreKeys an optional ordered list of keys to use for restoring the cache if no cache hit occurred for primaryKey\n * @param downloadOptions cache download options\n * @param enableCrossOsArchive an optional boolean enabled to restore on windows any cache created on any platform\n * @returns string returns the key for the cache hit, otherwise returns undefined\n */\nfunction restoreCache(paths_1, primaryKey_1, restoreKeys_1, options_1) {\n return __awaiter(this, arguments, void 0, function* (paths, primaryKey, restoreKeys, options, enableCrossOsArchive = false) {\n const cacheServiceVersion = (0, config_1.getCacheServiceVersion)();\n core.debug(`Cache service version: ${cacheServiceVersion}`);\n checkPaths(paths);\n switch (cacheServiceVersion) {\n case 'v2':\n return yield restoreCacheV2(paths, primaryKey, restoreKeys, options, enableCrossOsArchive);\n case 'v1':\n default:\n return yield restoreCacheV1(paths, primaryKey, restoreKeys, options, enableCrossOsArchive);\n }\n });\n}\n/**\n * Restores cache using the legacy Cache Service\n *\n * @param paths a list of file paths to restore from the cache\n * @param primaryKey an explicit key for restoring the cache. Lookup is done with prefix matching.\n * @param restoreKeys an optional ordered list of keys to use for restoring the cache if no cache hit occurred for primaryKey\n * @param options cache download options\n * @param enableCrossOsArchive an optional boolean enabled to restore on Windows any cache created on any platform\n * @returns string returns the key for the cache hit, otherwise returns undefined\n */\nfunction restoreCacheV1(paths_1, primaryKey_1, restoreKeys_1, options_1) {\n return __awaiter(this, arguments, void 0, function* (paths, primaryKey, restoreKeys, options, enableCrossOsArchive = false) {\n restoreKeys = restoreKeys || [];\n const keys = [primaryKey, ...restoreKeys];\n core.debug('Resolved Keys:');\n core.debug(JSON.stringify(keys));\n if (keys.length > 10) {\n throw new ValidationError(`Key Validation Error: Keys are limited to a maximum of 10.`);\n }\n for (const key of keys) {\n checkKey(key);\n }\n const compressionMethod = yield utils.getCompressionMethod();\n let archivePath = '';\n try {\n // path are needed to compute version\n const cacheEntry = yield cacheHttpClient.getCacheEntry(keys, paths, {\n compressionMethod,\n enableCrossOsArchive\n });\n if (!(cacheEntry === null || cacheEntry === void 0 ? void 0 : cacheEntry.archiveLocation)) {\n // Cache not found\n return undefined;\n }\n if (options === null || options === void 0 ? void 0 : options.lookupOnly) {\n core.info('Lookup only - skipping download');\n return cacheEntry.cacheKey;\n }\n archivePath = path.join(yield utils.createTempDirectory(), utils.getCacheFileName(compressionMethod));\n core.debug(`Archive Path: ${archivePath}`);\n // Download the cache from the cache entry\n yield cacheHttpClient.downloadCache(cacheEntry.archiveLocation, archivePath, options);\n if (core.isDebug()) {\n yield (0, tar_1.listTar)(archivePath, compressionMethod);\n }\n const archiveFileSize = utils.getArchiveFileSizeInBytes(archivePath);\n core.info(`Cache Size: ~${Math.round(archiveFileSize / (1024 * 1024))} MB (${archiveFileSize} B)`);\n yield (0, tar_1.extractTar)(archivePath, compressionMethod);\n core.info('Cache restored successfully');\n return cacheEntry.cacheKey;\n }\n catch (error) {\n const typedError = error;\n if (typedError.name === ValidationError.name) {\n throw error;\n }\n else {\n // warn on cache restore failure and continue build\n // Log server errors (5xx) as errors, all other errors as warnings\n if (typedError instanceof http_client_1.HttpClientError &&\n typeof typedError.statusCode === 'number' &&\n typedError.statusCode >= 500) {\n core.error(`Failed to restore: ${error.message}`);\n }\n else {\n core.warning(`Failed to restore: ${error.message}`);\n }\n }\n }\n finally {\n // Try to delete the archive to save space\n try {\n yield utils.unlinkFile(archivePath);\n }\n catch (error) {\n core.debug(`Failed to delete archive: ${error}`);\n }\n }\n return undefined;\n });\n}\n/**\n * Restores cache using Cache Service v2\n *\n * @param paths a list of file paths to restore from the cache\n * @param primaryKey an explicit key for restoring the cache. Lookup is done with prefix matching\n * @param restoreKeys an optional ordered list of keys to use for restoring the cache if no cache hit occurred for primaryKey\n * @param downloadOptions cache download options\n * @param enableCrossOsArchive an optional boolean enabled to restore on windows any cache created on any platform\n * @returns string returns the key for the cache hit, otherwise returns undefined\n */\nfunction restoreCacheV2(paths_1, primaryKey_1, restoreKeys_1, options_1) {\n return __awaiter(this, arguments, void 0, function* (paths, primaryKey, restoreKeys, options, enableCrossOsArchive = false) {\n // Override UploadOptions to force the use of Azure\n options = Object.assign(Object.assign({}, options), { useAzureSdk: true });\n restoreKeys = restoreKeys || [];\n const keys = [primaryKey, ...restoreKeys];\n core.debug('Resolved Keys:');\n core.debug(JSON.stringify(keys));\n if (keys.length > 10) {\n throw new ValidationError(`Key Validation Error: Keys are limited to a maximum of 10.`);\n }\n for (const key of keys) {\n checkKey(key);\n }\n let archivePath = '';\n try {\n const twirpClient = cacheTwirpClient.internalCacheTwirpClient();\n const compressionMethod = yield utils.getCompressionMethod();\n const request = {\n key: primaryKey,\n restoreKeys,\n version: utils.getCacheVersion(paths, compressionMethod, enableCrossOsArchive)\n };\n const response = yield twirpClient.GetCacheEntryDownloadURL(request);\n if (!response.ok) {\n core.debug(`Cache not found for version ${request.version} of keys: ${keys.join(', ')}`);\n return undefined;\n }\n const isRestoreKeyMatch = request.key !== response.matchedKey;\n if (isRestoreKeyMatch) {\n core.info(`Cache hit for restore-key: ${response.matchedKey}`);\n }\n else {\n core.info(`Cache hit for: ${response.matchedKey}`);\n }\n if (options === null || options === void 0 ? void 0 : options.lookupOnly) {\n core.info('Lookup only - skipping download');\n return response.matchedKey;\n }\n archivePath = path.join(yield utils.createTempDirectory(), utils.getCacheFileName(compressionMethod));\n core.debug(`Archive path: ${archivePath}`);\n core.debug(`Starting download of archive to: ${archivePath}`);\n yield cacheHttpClient.downloadCache(response.signedDownloadUrl, archivePath, options);\n const archiveFileSize = utils.getArchiveFileSizeInBytes(archivePath);\n core.info(`Cache Size: ~${Math.round(archiveFileSize / (1024 * 1024))} MB (${archiveFileSize} B)`);\n if (core.isDebug()) {\n yield (0, tar_1.listTar)(archivePath, compressionMethod);\n }\n yield (0, tar_1.extractTar)(archivePath, compressionMethod);\n core.info('Cache restored successfully');\n return response.matchedKey;\n }\n catch (error) {\n const typedError = error;\n if (typedError.name === ValidationError.name) {\n throw error;\n }\n else {\n // Supress all non-validation cache related errors because caching should be optional\n // Log server errors (5xx) as errors, all other errors as warnings\n if (typedError instanceof http_client_1.HttpClientError &&\n typeof typedError.statusCode === 'number' &&\n typedError.statusCode >= 500) {\n core.error(`Failed to restore: ${error.message}`);\n }\n else {\n core.warning(`Failed to restore: ${error.message}`);\n }\n }\n }\n finally {\n try {\n if (archivePath) {\n yield utils.unlinkFile(archivePath);\n }\n }\n catch (error) {\n core.debug(`Failed to delete archive: ${error}`);\n }\n }\n return undefined;\n });\n}\n/**\n * Saves a list of files with the specified key\n *\n * @param paths a list of file paths to be cached\n * @param key an explicit key for restoring the cache\n * @param enableCrossOsArchive an optional boolean enabled to save cache on windows which could be restored on any platform\n * @param options cache upload options\n * @returns number returns cacheId if the cache was saved successfully and throws an error if save fails\n */\nfunction saveCache(paths_1, key_1, options_1) {\n return __awaiter(this, arguments, void 0, function* (paths, key, options, enableCrossOsArchive = false) {\n const cacheServiceVersion = (0, config_1.getCacheServiceVersion)();\n core.debug(`Cache service version: ${cacheServiceVersion}`);\n checkPaths(paths);\n checkKey(key);\n switch (cacheServiceVersion) {\n case 'v2':\n return yield saveCacheV2(paths, key, options, enableCrossOsArchive);\n case 'v1':\n default:\n return yield saveCacheV1(paths, key, options, enableCrossOsArchive);\n }\n });\n}\n/**\n * Save cache using the legacy Cache Service\n *\n * @param paths\n * @param key\n * @param options\n * @param enableCrossOsArchive\n * @returns\n */\nfunction saveCacheV1(paths_1, key_1, options_1) {\n return __awaiter(this, arguments, void 0, function* (paths, key, options, enableCrossOsArchive = false) {\n var _a, _b, _c, _d, _e;\n const compressionMethod = yield utils.getCompressionMethod();\n let cacheId = -1;\n const cachePaths = yield utils.resolvePaths(paths);\n core.debug('Cache Paths:');\n core.debug(`${JSON.stringify(cachePaths)}`);\n if (cachePaths.length === 0) {\n throw new Error(`Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.`);\n }\n const archiveFolder = yield utils.createTempDirectory();\n const archivePath = path.join(archiveFolder, utils.getCacheFileName(compressionMethod));\n core.debug(`Archive Path: ${archivePath}`);\n try {\n yield (0, tar_1.createTar)(archiveFolder, cachePaths, compressionMethod);\n if (core.isDebug()) {\n yield (0, tar_1.listTar)(archivePath, compressionMethod);\n }\n const fileSizeLimit = 10 * 1024 * 1024 * 1024; // 10GB per repo limit\n const archiveFileSize = utils.getArchiveFileSizeInBytes(archivePath);\n core.debug(`File Size: ${archiveFileSize}`);\n // For GHES, this check will take place in ReserveCache API with enterprise file size limit\n if (archiveFileSize > fileSizeLimit && !(0, config_1.isGhes)()) {\n throw new Error(`Cache size of ~${Math.round(archiveFileSize / (1024 * 1024))} MB (${archiveFileSize} B) is over the 10GB limit, not saving cache.`);\n }\n core.debug('Reserving Cache');\n const reserveCacheResponse = yield cacheHttpClient.reserveCache(key, paths, {\n compressionMethod,\n enableCrossOsArchive,\n cacheSize: archiveFileSize\n });\n if ((_a = reserveCacheResponse === null || reserveCacheResponse === void 0 ? void 0 : reserveCacheResponse.result) === null || _a === void 0 ? void 0 : _a.cacheId) {\n cacheId = (_b = reserveCacheResponse === null || reserveCacheResponse === void 0 ? void 0 : reserveCacheResponse.result) === null || _b === void 0 ? void 0 : _b.cacheId;\n }\n else if ((reserveCacheResponse === null || reserveCacheResponse === void 0 ? void 0 : reserveCacheResponse.statusCode) === 400) {\n throw new Error((_d = (_c = reserveCacheResponse === null || reserveCacheResponse === void 0 ? void 0 : reserveCacheResponse.error) === null || _c === void 0 ? void 0 : _c.message) !== null && _d !== void 0 ? _d : `Cache size of ~${Math.round(archiveFileSize / (1024 * 1024))} MB (${archiveFileSize} B) is over the data cap limit, not saving cache.`);\n }\n else {\n throw new ReserveCacheError(`Unable to reserve cache with key ${key}, another job may be creating this cache. More details: ${(_e = reserveCacheResponse === null || reserveCacheResponse === void 0 ? void 0 : reserveCacheResponse.error) === null || _e === void 0 ? void 0 : _e.message}`);\n }\n core.debug(`Saving Cache (ID: ${cacheId})`);\n yield cacheHttpClient.saveCache(cacheId, archivePath, '', options);\n }\n catch (error) {\n const typedError = error;\n if (typedError.name === ValidationError.name) {\n throw error;\n }\n else if (typedError.name === ReserveCacheError.name) {\n core.info(`Failed to save: ${typedError.message}`);\n }\n else {\n // Log server errors (5xx) as errors, all other errors as warnings\n if (typedError instanceof http_client_1.HttpClientError &&\n typeof typedError.statusCode === 'number' &&\n typedError.statusCode >= 500) {\n core.error(`Failed to save: ${typedError.message}`);\n }\n else {\n core.warning(`Failed to save: ${typedError.message}`);\n }\n }\n }\n finally {\n // Try to delete the archive to save space\n try {\n yield utils.unlinkFile(archivePath);\n }\n catch (error) {\n core.debug(`Failed to delete archive: ${error}`);\n }\n }\n return cacheId;\n });\n}\n/**\n * Save cache using Cache Service v2\n *\n * @param paths a list of file paths to restore from the cache\n * @param key an explicit key for restoring the cache\n * @param options cache upload options\n * @param enableCrossOsArchive an optional boolean enabled to save cache on windows which could be restored on any platform\n * @returns\n */\nfunction saveCacheV2(paths_1, key_1, options_1) {\n return __awaiter(this, arguments, void 0, function* (paths, key, options, enableCrossOsArchive = false) {\n // Override UploadOptions to force the use of Azure\n // ...options goes first because we want to override the default values\n // set in UploadOptions with these specific figures\n options = Object.assign(Object.assign({}, options), { uploadChunkSize: 64 * 1024 * 1024, uploadConcurrency: 8, useAzureSdk: true });\n const compressionMethod = yield utils.getCompressionMethod();\n const twirpClient = cacheTwirpClient.internalCacheTwirpClient();\n let cacheId = -1;\n const cachePaths = yield utils.resolvePaths(paths);\n core.debug('Cache Paths:');\n core.debug(`${JSON.stringify(cachePaths)}`);\n if (cachePaths.length === 0) {\n throw new Error(`Path Validation Error: Path(s) specified in the action for caching do(es) not exist, hence no cache is being saved.`);\n }\n const archiveFolder = yield utils.createTempDirectory();\n const archivePath = path.join(archiveFolder, utils.getCacheFileName(compressionMethod));\n core.debug(`Archive Path: ${archivePath}`);\n try {\n yield (0, tar_1.createTar)(archiveFolder, cachePaths, compressionMethod);\n if (core.isDebug()) {\n yield (0, tar_1.listTar)(archivePath, compressionMethod);\n }\n const archiveFileSize = utils.getArchiveFileSizeInBytes(archivePath);\n core.debug(`File Size: ${archiveFileSize}`);\n // Set the archive size in the options, will be used to display the upload progress\n options.archiveSizeBytes = archiveFileSize;\n core.debug('Reserving Cache');\n const version = utils.getCacheVersion(paths, compressionMethod, enableCrossOsArchive);\n const request = {\n key,\n version\n };\n let signedUploadUrl;\n try {\n const response = yield twirpClient.CreateCacheEntry(request);\n if (!response.ok) {\n if (response.message) {\n core.warning(`Cache reservation failed: ${response.message}`);\n }\n throw new Error(response.message || 'Response was not ok');\n }\n signedUploadUrl = response.signedUploadUrl;\n }\n catch (error) {\n core.debug(`Failed to reserve cache: ${error}`);\n throw new ReserveCacheError(`Unable to reserve cache with key ${key}, another job may be creating this cache.`);\n }\n core.debug(`Attempting to upload cache located at: ${archivePath}`);\n yield cacheHttpClient.saveCache(cacheId, archivePath, signedUploadUrl, options);\n const finalizeRequest = {\n key,\n version,\n sizeBytes: `${archiveFileSize}`\n };\n const finalizeResponse = yield twirpClient.FinalizeCacheEntryUpload(finalizeRequest);\n core.debug(`FinalizeCacheEntryUploadResponse: ${finalizeResponse.ok}`);\n if (!finalizeResponse.ok) {\n if (finalizeResponse.message) {\n throw new FinalizeCacheError(finalizeResponse.message);\n }\n throw new Error(`Unable to finalize cache with key ${key}, another job may be finalizing this cache.`);\n }\n cacheId = parseInt(finalizeResponse.entryId);\n }\n catch (error) {\n const typedError = error;\n if (typedError.name === ValidationError.name) {\n throw error;\n }\n else if (typedError.name === ReserveCacheError.name) {\n core.info(`Failed to save: ${typedError.message}`);\n }\n else if (typedError.name === FinalizeCacheError.name) {\n core.warning(typedError.message);\n }\n else {\n // Log server errors (5xx) as errors, all other errors as warnings\n if (typedError instanceof http_client_1.HttpClientError &&\n typeof typedError.statusCode === 'number' &&\n typedError.statusCode >= 500) {\n core.error(`Failed to save: ${typedError.message}`);\n }\n else {\n core.warning(`Failed to save: ${typedError.message}`);\n }\n }\n }\n finally {\n // Try to delete the archive to save space\n try {\n yield utils.unlinkFile(archivePath);\n }\n catch (error) {\n core.debug(`Failed to delete archive: ${error}`);\n }\n }\n return cacheId;\n });\n}\n//# sourceMappingURL=cache.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CacheService = exports.GetCacheEntryDownloadURLResponse = exports.GetCacheEntryDownloadURLRequest = exports.FinalizeCacheEntryUploadResponse = exports.FinalizeCacheEntryUploadRequest = exports.CreateCacheEntryResponse = exports.CreateCacheEntryRequest = void 0;\n// @generated by protobuf-ts 2.9.1 with parameter long_type_string,client_none,generate_dependencies\n// @generated from protobuf file \"results/api/v1/cache.proto\" (package \"github.actions.results.api.v1\", syntax proto3)\n// tslint:disable\nconst runtime_rpc_1 = require(\"@protobuf-ts/runtime-rpc\");\nconst runtime_1 = require(\"@protobuf-ts/runtime\");\nconst runtime_2 = require(\"@protobuf-ts/runtime\");\nconst runtime_3 = require(\"@protobuf-ts/runtime\");\nconst runtime_4 = require(\"@protobuf-ts/runtime\");\nconst runtime_5 = require(\"@protobuf-ts/runtime\");\nconst cachemetadata_1 = require(\"../../entities/v1/cachemetadata\");\n// @generated message type with reflection information, may provide speed optimized methods\nclass CreateCacheEntryRequest$Type extends runtime_5.MessageType {\n constructor() {\n super(\"github.actions.results.api.v1.CreateCacheEntryRequest\", [\n { no: 1, name: \"metadata\", kind: \"message\", T: () => cachemetadata_1.CacheMetadata },\n { no: 2, name: \"key\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"version\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value) {\n const message = { key: \"\", version: \"\" };\n globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });\n if (value !== undefined)\n (0, runtime_3.reflectionMergePartial)(this, message, value);\n return message;\n }\n internalBinaryRead(reader, length, options, target) {\n let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* github.actions.results.entities.v1.CacheMetadata metadata */ 1:\n message.metadata = cachemetadata_1.CacheMetadata.internalBinaryRead(reader, reader.uint32(), options, message.metadata);\n break;\n case /* string key */ 2:\n message.key = reader.string();\n break;\n case /* string version */ 3:\n message.version = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message, writer, options) {\n /* github.actions.results.entities.v1.CacheMetadata metadata = 1; */\n if (message.metadata)\n cachemetadata_1.CacheMetadata.internalBinaryWrite(message.metadata, writer.tag(1, runtime_1.WireType.LengthDelimited).fork(), options).join();\n /* string key = 2; */\n if (message.key !== \"\")\n writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.key);\n /* string version = 3; */\n if (message.version !== \"\")\n writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.version);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message github.actions.results.api.v1.CreateCacheEntryRequest\n */\nexports.CreateCacheEntryRequest = new CreateCacheEntryRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CreateCacheEntryResponse$Type extends runtime_5.MessageType {\n constructor() {\n super(\"github.actions.results.api.v1.CreateCacheEntryResponse\", [\n { no: 1, name: \"ok\", kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ },\n { no: 2, name: \"signed_upload_url\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"message\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value) {\n const message = { ok: false, signedUploadUrl: \"\", message: \"\" };\n globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });\n if (value !== undefined)\n (0, runtime_3.reflectionMergePartial)(this, message, value);\n return message;\n }\n internalBinaryRead(reader, length, options, target) {\n let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* bool ok */ 1:\n message.ok = reader.bool();\n break;\n case /* string signed_upload_url */ 2:\n message.signedUploadUrl = reader.string();\n break;\n case /* string message */ 3:\n message.message = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message, writer, options) {\n /* bool ok = 1; */\n if (message.ok !== false)\n writer.tag(1, runtime_1.WireType.Varint).bool(message.ok);\n /* string signed_upload_url = 2; */\n if (message.signedUploadUrl !== \"\")\n writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.signedUploadUrl);\n /* string message = 3; */\n if (message.message !== \"\")\n writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.message);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message github.actions.results.api.v1.CreateCacheEntryResponse\n */\nexports.CreateCacheEntryResponse = new CreateCacheEntryResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass FinalizeCacheEntryUploadRequest$Type extends runtime_5.MessageType {\n constructor() {\n super(\"github.actions.results.api.v1.FinalizeCacheEntryUploadRequest\", [\n { no: 1, name: \"metadata\", kind: \"message\", T: () => cachemetadata_1.CacheMetadata },\n { no: 2, name: \"key\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"size_bytes\", kind: \"scalar\", T: 3 /*ScalarType.INT64*/ },\n { no: 4, name: \"version\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value) {\n const message = { key: \"\", sizeBytes: \"0\", version: \"\" };\n globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });\n if (value !== undefined)\n (0, runtime_3.reflectionMergePartial)(this, message, value);\n return message;\n }\n internalBinaryRead(reader, length, options, target) {\n let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* github.actions.results.entities.v1.CacheMetadata metadata */ 1:\n message.metadata = cachemetadata_1.CacheMetadata.internalBinaryRead(reader, reader.uint32(), options, message.metadata);\n break;\n case /* string key */ 2:\n message.key = reader.string();\n break;\n case /* int64 size_bytes */ 3:\n message.sizeBytes = reader.int64().toString();\n break;\n case /* string version */ 4:\n message.version = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message, writer, options) {\n /* github.actions.results.entities.v1.CacheMetadata metadata = 1; */\n if (message.metadata)\n cachemetadata_1.CacheMetadata.internalBinaryWrite(message.metadata, writer.tag(1, runtime_1.WireType.LengthDelimited).fork(), options).join();\n /* string key = 2; */\n if (message.key !== \"\")\n writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.key);\n /* int64 size_bytes = 3; */\n if (message.sizeBytes !== \"0\")\n writer.tag(3, runtime_1.WireType.Varint).int64(message.sizeBytes);\n /* string version = 4; */\n if (message.version !== \"\")\n writer.tag(4, runtime_1.WireType.LengthDelimited).string(message.version);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message github.actions.results.api.v1.FinalizeCacheEntryUploadRequest\n */\nexports.FinalizeCacheEntryUploadRequest = new FinalizeCacheEntryUploadRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass FinalizeCacheEntryUploadResponse$Type extends runtime_5.MessageType {\n constructor() {\n super(\"github.actions.results.api.v1.FinalizeCacheEntryUploadResponse\", [\n { no: 1, name: \"ok\", kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ },\n { no: 2, name: \"entry_id\", kind: \"scalar\", T: 3 /*ScalarType.INT64*/ },\n { no: 3, name: \"message\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value) {\n const message = { ok: false, entryId: \"0\", message: \"\" };\n globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });\n if (value !== undefined)\n (0, runtime_3.reflectionMergePartial)(this, message, value);\n return message;\n }\n internalBinaryRead(reader, length, options, target) {\n let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* bool ok */ 1:\n message.ok = reader.bool();\n break;\n case /* int64 entry_id */ 2:\n message.entryId = reader.int64().toString();\n break;\n case /* string message */ 3:\n message.message = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message, writer, options) {\n /* bool ok = 1; */\n if (message.ok !== false)\n writer.tag(1, runtime_1.WireType.Varint).bool(message.ok);\n /* int64 entry_id = 2; */\n if (message.entryId !== \"0\")\n writer.tag(2, runtime_1.WireType.Varint).int64(message.entryId);\n /* string message = 3; */\n if (message.message !== \"\")\n writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.message);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message github.actions.results.api.v1.FinalizeCacheEntryUploadResponse\n */\nexports.FinalizeCacheEntryUploadResponse = new FinalizeCacheEntryUploadResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetCacheEntryDownloadURLRequest$Type extends runtime_5.MessageType {\n constructor() {\n super(\"github.actions.results.api.v1.GetCacheEntryDownloadURLRequest\", [\n { no: 1, name: \"metadata\", kind: \"message\", T: () => cachemetadata_1.CacheMetadata },\n { no: 2, name: \"key\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"restore_keys\", kind: \"scalar\", repeat: 2 /*RepeatType.UNPACKED*/, T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"version\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value) {\n const message = { key: \"\", restoreKeys: [], version: \"\" };\n globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });\n if (value !== undefined)\n (0, runtime_3.reflectionMergePartial)(this, message, value);\n return message;\n }\n internalBinaryRead(reader, length, options, target) {\n let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* github.actions.results.entities.v1.CacheMetadata metadata */ 1:\n message.metadata = cachemetadata_1.CacheMetadata.internalBinaryRead(reader, reader.uint32(), options, message.metadata);\n break;\n case /* string key */ 2:\n message.key = reader.string();\n break;\n case /* repeated string restore_keys */ 3:\n message.restoreKeys.push(reader.string());\n break;\n case /* string version */ 4:\n message.version = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message, writer, options) {\n /* github.actions.results.entities.v1.CacheMetadata metadata = 1; */\n if (message.metadata)\n cachemetadata_1.CacheMetadata.internalBinaryWrite(message.metadata, writer.tag(1, runtime_1.WireType.LengthDelimited).fork(), options).join();\n /* string key = 2; */\n if (message.key !== \"\")\n writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.key);\n /* repeated string restore_keys = 3; */\n for (let i = 0; i < message.restoreKeys.length; i++)\n writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.restoreKeys[i]);\n /* string version = 4; */\n if (message.version !== \"\")\n writer.tag(4, runtime_1.WireType.LengthDelimited).string(message.version);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message github.actions.results.api.v1.GetCacheEntryDownloadURLRequest\n */\nexports.GetCacheEntryDownloadURLRequest = new GetCacheEntryDownloadURLRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetCacheEntryDownloadURLResponse$Type extends runtime_5.MessageType {\n constructor() {\n super(\"github.actions.results.api.v1.GetCacheEntryDownloadURLResponse\", [\n { no: 1, name: \"ok\", kind: \"scalar\", T: 8 /*ScalarType.BOOL*/ },\n { no: 2, name: \"signed_download_url\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"matched_key\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n create(value) {\n const message = { ok: false, signedDownloadUrl: \"\", matchedKey: \"\" };\n globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });\n if (value !== undefined)\n (0, runtime_3.reflectionMergePartial)(this, message, value);\n return message;\n }\n internalBinaryRead(reader, length, options, target) {\n let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* bool ok */ 1:\n message.ok = reader.bool();\n break;\n case /* string signed_download_url */ 2:\n message.signedDownloadUrl = reader.string();\n break;\n case /* string matched_key */ 3:\n message.matchedKey = reader.string();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message, writer, options) {\n /* bool ok = 1; */\n if (message.ok !== false)\n writer.tag(1, runtime_1.WireType.Varint).bool(message.ok);\n /* string signed_download_url = 2; */\n if (message.signedDownloadUrl !== \"\")\n writer.tag(2, runtime_1.WireType.LengthDelimited).string(message.signedDownloadUrl);\n /* string matched_key = 3; */\n if (message.matchedKey !== \"\")\n writer.tag(3, runtime_1.WireType.LengthDelimited).string(message.matchedKey);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message github.actions.results.api.v1.GetCacheEntryDownloadURLResponse\n */\nexports.GetCacheEntryDownloadURLResponse = new GetCacheEntryDownloadURLResponse$Type();\n/**\n * @generated ServiceType for protobuf service github.actions.results.api.v1.CacheService\n */\nexports.CacheService = new runtime_rpc_1.ServiceType(\"github.actions.results.api.v1.CacheService\", [\n { name: \"CreateCacheEntry\", options: {}, I: exports.CreateCacheEntryRequest, O: exports.CreateCacheEntryResponse },\n { name: \"FinalizeCacheEntryUpload\", options: {}, I: exports.FinalizeCacheEntryUploadRequest, O: exports.FinalizeCacheEntryUploadResponse },\n { name: \"GetCacheEntryDownloadURL\", options: {}, I: exports.GetCacheEntryDownloadURLRequest, O: exports.GetCacheEntryDownloadURLResponse }\n]);\n//# sourceMappingURL=cache.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CacheServiceClientProtobuf = exports.CacheServiceClientJSON = void 0;\nconst cache_1 = require(\"./cache\");\nclass CacheServiceClientJSON {\n constructor(rpc) {\n this.rpc = rpc;\n this.CreateCacheEntry.bind(this);\n this.FinalizeCacheEntryUpload.bind(this);\n this.GetCacheEntryDownloadURL.bind(this);\n }\n CreateCacheEntry(request) {\n const data = cache_1.CreateCacheEntryRequest.toJson(request, {\n useProtoFieldName: true,\n emitDefaultValues: false,\n });\n const promise = this.rpc.request(\"github.actions.results.api.v1.CacheService\", \"CreateCacheEntry\", \"application/json\", data);\n return promise.then((data) => cache_1.CreateCacheEntryResponse.fromJson(data, {\n ignoreUnknownFields: true,\n }));\n }\n FinalizeCacheEntryUpload(request) {\n const data = cache_1.FinalizeCacheEntryUploadRequest.toJson(request, {\n useProtoFieldName: true,\n emitDefaultValues: false,\n });\n const promise = this.rpc.request(\"github.actions.results.api.v1.CacheService\", \"FinalizeCacheEntryUpload\", \"application/json\", data);\n return promise.then((data) => cache_1.FinalizeCacheEntryUploadResponse.fromJson(data, {\n ignoreUnknownFields: true,\n }));\n }\n GetCacheEntryDownloadURL(request) {\n const data = cache_1.GetCacheEntryDownloadURLRequest.toJson(request, {\n useProtoFieldName: true,\n emitDefaultValues: false,\n });\n const promise = this.rpc.request(\"github.actions.results.api.v1.CacheService\", \"GetCacheEntryDownloadURL\", \"application/json\", data);\n return promise.then((data) => cache_1.GetCacheEntryDownloadURLResponse.fromJson(data, {\n ignoreUnknownFields: true,\n }));\n }\n}\nexports.CacheServiceClientJSON = CacheServiceClientJSON;\nclass CacheServiceClientProtobuf {\n constructor(rpc) {\n this.rpc = rpc;\n this.CreateCacheEntry.bind(this);\n this.FinalizeCacheEntryUpload.bind(this);\n this.GetCacheEntryDownloadURL.bind(this);\n }\n CreateCacheEntry(request) {\n const data = cache_1.CreateCacheEntryRequest.toBinary(request);\n const promise = this.rpc.request(\"github.actions.results.api.v1.CacheService\", \"CreateCacheEntry\", \"application/protobuf\", data);\n return promise.then((data) => cache_1.CreateCacheEntryResponse.fromBinary(data));\n }\n FinalizeCacheEntryUpload(request) {\n const data = cache_1.FinalizeCacheEntryUploadRequest.toBinary(request);\n const promise = this.rpc.request(\"github.actions.results.api.v1.CacheService\", \"FinalizeCacheEntryUpload\", \"application/protobuf\", data);\n return promise.then((data) => cache_1.FinalizeCacheEntryUploadResponse.fromBinary(data));\n }\n GetCacheEntryDownloadURL(request) {\n const data = cache_1.GetCacheEntryDownloadURLRequest.toBinary(request);\n const promise = this.rpc.request(\"github.actions.results.api.v1.CacheService\", \"GetCacheEntryDownloadURL\", \"application/protobuf\", data);\n return promise.then((data) => cache_1.GetCacheEntryDownloadURLResponse.fromBinary(data));\n }\n}\nexports.CacheServiceClientProtobuf = CacheServiceClientProtobuf;\n//# sourceMappingURL=cache.twirp-client.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CacheMetadata = void 0;\nconst runtime_1 = require(\"@protobuf-ts/runtime\");\nconst runtime_2 = require(\"@protobuf-ts/runtime\");\nconst runtime_3 = require(\"@protobuf-ts/runtime\");\nconst runtime_4 = require(\"@protobuf-ts/runtime\");\nconst runtime_5 = require(\"@protobuf-ts/runtime\");\nconst cachescope_1 = require(\"./cachescope\");\n// @generated message type with reflection information, may provide speed optimized methods\nclass CacheMetadata$Type extends runtime_5.MessageType {\n constructor() {\n super(\"github.actions.results.entities.v1.CacheMetadata\", [\n { no: 1, name: \"repository_id\", kind: \"scalar\", T: 3 /*ScalarType.INT64*/ },\n { no: 2, name: \"scope\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => cachescope_1.CacheScope }\n ]);\n }\n create(value) {\n const message = { repositoryId: \"0\", scope: [] };\n globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });\n if (value !== undefined)\n (0, runtime_3.reflectionMergePartial)(this, message, value);\n return message;\n }\n internalBinaryRead(reader, length, options, target) {\n let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* int64 repository_id */ 1:\n message.repositoryId = reader.int64().toString();\n break;\n case /* repeated github.actions.results.entities.v1.CacheScope scope */ 2:\n message.scope.push(cachescope_1.CacheScope.internalBinaryRead(reader, reader.uint32(), options));\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message, writer, options) {\n /* int64 repository_id = 1; */\n if (message.repositoryId !== \"0\")\n writer.tag(1, runtime_1.WireType.Varint).int64(message.repositoryId);\n /* repeated github.actions.results.entities.v1.CacheScope scope = 2; */\n for (let i = 0; i < message.scope.length; i++)\n cachescope_1.CacheScope.internalBinaryWrite(message.scope[i], writer.tag(2, runtime_1.WireType.LengthDelimited).fork(), options).join();\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message github.actions.results.entities.v1.CacheMetadata\n */\nexports.CacheMetadata = new CacheMetadata$Type();\n//# sourceMappingURL=cachemetadata.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CacheScope = void 0;\nconst runtime_1 = require(\"@protobuf-ts/runtime\");\nconst runtime_2 = require(\"@protobuf-ts/runtime\");\nconst runtime_3 = require(\"@protobuf-ts/runtime\");\nconst runtime_4 = require(\"@protobuf-ts/runtime\");\nconst runtime_5 = require(\"@protobuf-ts/runtime\");\n// @generated message type with reflection information, may provide speed optimized methods\nclass CacheScope$Type extends runtime_5.MessageType {\n constructor() {\n super(\"github.actions.results.entities.v1.CacheScope\", [\n { no: 1, name: \"scope\", kind: \"scalar\", T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"permission\", kind: \"scalar\", T: 3 /*ScalarType.INT64*/ }\n ]);\n }\n create(value) {\n const message = { scope: \"\", permission: \"0\" };\n globalThis.Object.defineProperty(message, runtime_4.MESSAGE_TYPE, { enumerable: false, value: this });\n if (value !== undefined)\n (0, runtime_3.reflectionMergePartial)(this, message, value);\n return message;\n }\n internalBinaryRead(reader, length, options, target) {\n let message = target !== null && target !== void 0 ? target : this.create(), end = reader.pos + length;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case /* string scope */ 1:\n message.scope = reader.string();\n break;\n case /* int64 permission */ 2:\n message.permission = reader.int64().toString();\n break;\n default:\n let u = options.readUnknownField;\n if (u === \"throw\")\n throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? runtime_2.UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);\n }\n }\n return message;\n }\n internalBinaryWrite(message, writer, options) {\n /* string scope = 1; */\n if (message.scope !== \"\")\n writer.tag(1, runtime_1.WireType.LengthDelimited).string(message.scope);\n /* int64 permission = 2; */\n if (message.permission !== \"0\")\n writer.tag(2, runtime_1.WireType.Varint).int64(message.permission);\n let u = options.writeUnknownFields;\n if (u !== false)\n (u == true ? runtime_2.UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);\n return writer;\n }\n}\n/**\n * @generated MessageType for protobuf message github.actions.results.entities.v1.CacheScope\n */\nexports.CacheScope = new CacheScope$Type();\n//# sourceMappingURL=cachescope.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getCacheEntry = getCacheEntry;\nexports.downloadCache = downloadCache;\nexports.reserveCache = reserveCache;\nexports.saveCache = saveCache;\nconst core = __importStar(require(\"@actions/core\"));\nconst http_client_1 = require(\"@actions/http-client\");\nconst auth_1 = require(\"@actions/http-client/lib/auth\");\nconst fs = __importStar(require(\"fs\"));\nconst url_1 = require(\"url\");\nconst utils = __importStar(require(\"./cacheUtils\"));\nconst uploadUtils_1 = require(\"./uploadUtils\");\nconst downloadUtils_1 = require(\"./downloadUtils\");\nconst options_1 = require(\"../options\");\nconst requestUtils_1 = require(\"./requestUtils\");\nconst config_1 = require(\"./config\");\nconst user_agent_1 = require(\"./shared/user-agent\");\nfunction getCacheApiUrl(resource) {\n const baseUrl = (0, config_1.getCacheServiceURL)();\n if (!baseUrl) {\n throw new Error('Cache Service Url not found, unable to restore cache.');\n }\n const url = `${baseUrl}_apis/artifactcache/${resource}`;\n core.debug(`Resource Url: ${url}`);\n return url;\n}\nfunction createAcceptHeader(type, apiVersion) {\n return `${type};api-version=${apiVersion}`;\n}\nfunction getRequestOptions() {\n const requestOptions = {\n headers: {\n Accept: createAcceptHeader('application/json', '6.0-preview.1')\n }\n };\n return requestOptions;\n}\nfunction createHttpClient() {\n const token = process.env['ACTIONS_RUNTIME_TOKEN'] || '';\n const bearerCredentialHandler = new auth_1.BearerCredentialHandler(token);\n return new http_client_1.HttpClient((0, user_agent_1.getUserAgentString)(), [bearerCredentialHandler], getRequestOptions());\n}\nfunction getCacheEntry(keys, paths, options) {\n return __awaiter(this, void 0, void 0, function* () {\n const httpClient = createHttpClient();\n const version = utils.getCacheVersion(paths, options === null || options === void 0 ? void 0 : options.compressionMethod, options === null || options === void 0 ? void 0 : options.enableCrossOsArchive);\n const resource = `cache?keys=${encodeURIComponent(keys.join(','))}&version=${version}`;\n const response = yield (0, requestUtils_1.retryTypedResponse)('getCacheEntry', () => __awaiter(this, void 0, void 0, function* () { return httpClient.getJson(getCacheApiUrl(resource)); }));\n // Cache not found\n if (response.statusCode === 204) {\n // List cache for primary key only if cache miss occurs\n if (core.isDebug()) {\n yield printCachesListForDiagnostics(keys[0], httpClient, version);\n }\n return null;\n }\n if (!(0, requestUtils_1.isSuccessStatusCode)(response.statusCode)) {\n throw new Error(`Cache service responded with ${response.statusCode}`);\n }\n const cacheResult = response.result;\n const cacheDownloadUrl = cacheResult === null || cacheResult === void 0 ? void 0 : cacheResult.archiveLocation;\n if (!cacheDownloadUrl) {\n // Cache achiveLocation not found. This should never happen, and hence bail out.\n throw new Error('Cache not found.');\n }\n core.setSecret(cacheDownloadUrl);\n core.debug(`Cache Result:`);\n core.debug(JSON.stringify(cacheResult));\n return cacheResult;\n });\n}\nfunction printCachesListForDiagnostics(key, httpClient, version) {\n return __awaiter(this, void 0, void 0, function* () {\n const resource = `caches?key=${encodeURIComponent(key)}`;\n const response = yield (0, requestUtils_1.retryTypedResponse)('listCache', () => __awaiter(this, void 0, void 0, function* () { return httpClient.getJson(getCacheApiUrl(resource)); }));\n if (response.statusCode === 200) {\n const cacheListResult = response.result;\n const totalCount = cacheListResult === null || cacheListResult === void 0 ? void 0 : cacheListResult.totalCount;\n if (totalCount && totalCount > 0) {\n core.debug(`No matching cache found for cache key '${key}', version '${version} and scope ${process.env['GITHUB_REF']}. There exist one or more cache(s) with similar key but they have different version or scope. See more info on cache matching here: https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#matching-a-cache-key \\nOther caches with similar key:`);\n for (const cacheEntry of (cacheListResult === null || cacheListResult === void 0 ? void 0 : cacheListResult.artifactCaches) || []) {\n core.debug(`Cache Key: ${cacheEntry === null || cacheEntry === void 0 ? void 0 : cacheEntry.cacheKey}, Cache Version: ${cacheEntry === null || cacheEntry === void 0 ? void 0 : cacheEntry.cacheVersion}, Cache Scope: ${cacheEntry === null || cacheEntry === void 0 ? void 0 : cacheEntry.scope}, Cache Created: ${cacheEntry === null || cacheEntry === void 0 ? void 0 : cacheEntry.creationTime}`);\n }\n }\n }\n });\n}\nfunction downloadCache(archiveLocation, archivePath, options) {\n return __awaiter(this, void 0, void 0, function* () {\n const archiveUrl = new url_1.URL(archiveLocation);\n const downloadOptions = (0, options_1.getDownloadOptions)(options);\n if (archiveUrl.hostname.endsWith('.blob.core.windows.net')) {\n if (downloadOptions.useAzureSdk) {\n // Use Azure storage SDK to download caches hosted on Azure to improve speed and reliability.\n yield (0, downloadUtils_1.downloadCacheStorageSDK)(archiveLocation, archivePath, downloadOptions);\n }\n else if (downloadOptions.concurrentBlobDownloads) {\n // Use concurrent implementation with HttpClient to work around blob SDK issue\n yield (0, downloadUtils_1.downloadCacheHttpClientConcurrent)(archiveLocation, archivePath, downloadOptions);\n }\n else {\n // Otherwise, download using the Actions http-client.\n yield (0, downloadUtils_1.downloadCacheHttpClient)(archiveLocation, archivePath);\n }\n }\n else {\n yield (0, downloadUtils_1.downloadCacheHttpClient)(archiveLocation, archivePath);\n }\n });\n}\n// Reserve Cache\nfunction reserveCache(key, paths, options) {\n return __awaiter(this, void 0, void 0, function* () {\n const httpClient = createHttpClient();\n const version = utils.getCacheVersion(paths, options === null || options === void 0 ? void 0 : options.compressionMethod, options === null || options === void 0 ? void 0 : options.enableCrossOsArchive);\n const reserveCacheRequest = {\n key,\n version,\n cacheSize: options === null || options === void 0 ? void 0 : options.cacheSize\n };\n const response = yield (0, requestUtils_1.retryTypedResponse)('reserveCache', () => __awaiter(this, void 0, void 0, function* () {\n return httpClient.postJson(getCacheApiUrl('caches'), reserveCacheRequest);\n }));\n return response;\n });\n}\nfunction getContentRange(start, end) {\n // Format: `bytes start-end/filesize\n // start and end are inclusive\n // filesize can be *\n // For a 200 byte chunk starting at byte 0:\n // Content-Range: bytes 0-199/*\n return `bytes ${start}-${end}/*`;\n}\nfunction uploadChunk(httpClient, resourceUrl, openStream, start, end) {\n return __awaiter(this, void 0, void 0, function* () {\n core.debug(`Uploading chunk of size ${end - start + 1} bytes at offset ${start} with content range: ${getContentRange(start, end)}`);\n const additionalHeaders = {\n 'Content-Type': 'application/octet-stream',\n 'Content-Range': getContentRange(start, end)\n };\n const uploadChunkResponse = yield (0, requestUtils_1.retryHttpClientResponse)(`uploadChunk (start: ${start}, end: ${end})`, () => __awaiter(this, void 0, void 0, function* () {\n return httpClient.sendStream('PATCH', resourceUrl, openStream(), additionalHeaders);\n }));\n if (!(0, requestUtils_1.isSuccessStatusCode)(uploadChunkResponse.message.statusCode)) {\n throw new Error(`Cache service responded with ${uploadChunkResponse.message.statusCode} during upload chunk.`);\n }\n });\n}\nfunction uploadFile(httpClient, cacheId, archivePath, options) {\n return __awaiter(this, void 0, void 0, function* () {\n // Upload Chunks\n const fileSize = utils.getArchiveFileSizeInBytes(archivePath);\n const resourceUrl = getCacheApiUrl(`caches/${cacheId.toString()}`);\n const fd = fs.openSync(archivePath, 'r');\n const uploadOptions = (0, options_1.getUploadOptions)(options);\n const concurrency = utils.assertDefined('uploadConcurrency', uploadOptions.uploadConcurrency);\n const maxChunkSize = utils.assertDefined('uploadChunkSize', uploadOptions.uploadChunkSize);\n const parallelUploads = [...new Array(concurrency).keys()];\n core.debug('Awaiting all uploads');\n let offset = 0;\n try {\n yield Promise.all(parallelUploads.map(() => __awaiter(this, void 0, void 0, function* () {\n while (offset < fileSize) {\n const chunkSize = Math.min(fileSize - offset, maxChunkSize);\n const start = offset;\n const end = offset + chunkSize - 1;\n offset += maxChunkSize;\n yield uploadChunk(httpClient, resourceUrl, () => fs\n .createReadStream(archivePath, {\n fd,\n start,\n end,\n autoClose: false\n })\n .on('error', error => {\n throw new Error(`Cache upload failed because file read failed with ${error.message}`);\n }), start, end);\n }\n })));\n }\n finally {\n fs.closeSync(fd);\n }\n return;\n });\n}\nfunction commitCache(httpClient, cacheId, filesize) {\n return __awaiter(this, void 0, void 0, function* () {\n const commitCacheRequest = { size: filesize };\n return yield (0, requestUtils_1.retryTypedResponse)('commitCache', () => __awaiter(this, void 0, void 0, function* () {\n return httpClient.postJson(getCacheApiUrl(`caches/${cacheId.toString()}`), commitCacheRequest);\n }));\n });\n}\nfunction saveCache(cacheId, archivePath, signedUploadURL, options) {\n return __awaiter(this, void 0, void 0, function* () {\n const uploadOptions = (0, options_1.getUploadOptions)(options);\n if (uploadOptions.useAzureSdk) {\n // Use Azure storage SDK to upload caches directly to Azure\n if (!signedUploadURL) {\n throw new Error('Azure Storage SDK can only be used when a signed URL is provided.');\n }\n yield (0, uploadUtils_1.uploadCacheArchiveSDK)(signedUploadURL, archivePath, options);\n }\n else {\n const httpClient = createHttpClient();\n core.debug('Upload cache');\n yield uploadFile(httpClient, cacheId, archivePath, options);\n // Commit Cache\n core.debug('Commiting cache');\n const cacheSize = utils.getArchiveFileSizeInBytes(archivePath);\n core.info(`Cache Size: ~${Math.round(cacheSize / (1024 * 1024))} MB (${cacheSize} B)`);\n const commitCacheResponse = yield commitCache(httpClient, cacheId, cacheSize);\n if (!(0, requestUtils_1.isSuccessStatusCode)(commitCacheResponse.statusCode)) {\n throw new Error(`Cache service responded with ${commitCacheResponse.statusCode} during commit cache.`);\n }\n core.info('Cache saved successfully');\n }\n });\n}\n//# sourceMappingURL=cacheHttpClient.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __asyncValues = (this && this.__asyncValues) || function (o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.createTempDirectory = createTempDirectory;\nexports.getArchiveFileSizeInBytes = getArchiveFileSizeInBytes;\nexports.resolvePaths = resolvePaths;\nexports.unlinkFile = unlinkFile;\nexports.getCompressionMethod = getCompressionMethod;\nexports.getCacheFileName = getCacheFileName;\nexports.getGnuTarPathOnWindows = getGnuTarPathOnWindows;\nexports.assertDefined = assertDefined;\nexports.getCacheVersion = getCacheVersion;\nexports.getRuntimeToken = getRuntimeToken;\nconst core = __importStar(require(\"@actions/core\"));\nconst exec = __importStar(require(\"@actions/exec\"));\nconst glob = __importStar(require(\"@actions/glob\"));\nconst io = __importStar(require(\"@actions/io\"));\nconst crypto = __importStar(require(\"crypto\"));\nconst fs = __importStar(require(\"fs\"));\nconst path = __importStar(require(\"path\"));\nconst semver = __importStar(require(\"semver\"));\nconst util = __importStar(require(\"util\"));\nconst constants_1 = require(\"./constants\");\nconst versionSalt = '1.0';\n// From https://github.com/actions/toolkit/blob/main/packages/tool-cache/src/tool-cache.ts#L23\nfunction createTempDirectory() {\n return __awaiter(this, void 0, void 0, function* () {\n const IS_WINDOWS = process.platform === 'win32';\n let tempDirectory = process.env['RUNNER_TEMP'] || '';\n if (!tempDirectory) {\n let baseLocation;\n if (IS_WINDOWS) {\n // On Windows use the USERPROFILE env variable\n baseLocation = process.env['USERPROFILE'] || 'C:\\\\';\n }\n else {\n if (process.platform === 'darwin') {\n baseLocation = '/Users';\n }\n else {\n baseLocation = '/home';\n }\n }\n tempDirectory = path.join(baseLocation, 'actions', 'temp');\n }\n const dest = path.join(tempDirectory, crypto.randomUUID());\n yield io.mkdirP(dest);\n return dest;\n });\n}\nfunction getArchiveFileSizeInBytes(filePath) {\n return fs.statSync(filePath).size;\n}\nfunction resolvePaths(patterns) {\n return __awaiter(this, void 0, void 0, function* () {\n var _a, e_1, _b, _c;\n var _d;\n const paths = [];\n const workspace = (_d = process.env['GITHUB_WORKSPACE']) !== null && _d !== void 0 ? _d : process.cwd();\n const globber = yield glob.create(patterns.join('\\n'), {\n implicitDescendants: false\n });\n try {\n for (var _e = true, _f = __asyncValues(globber.globGenerator()), _g; _g = yield _f.next(), _a = _g.done, !_a; _e = true) {\n _c = _g.value;\n _e = false;\n const file = _c;\n const relativeFile = path\n .relative(workspace, file)\n .replace(new RegExp(`\\\\${path.sep}`, 'g'), '/');\n core.debug(`Matched: ${relativeFile}`);\n // Paths are made relative so the tar entries are all relative to the root of the workspace.\n if (relativeFile === '') {\n // path.relative returns empty string if workspace and file are equal\n paths.push('.');\n }\n else {\n paths.push(`${relativeFile}`);\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (!_e && !_a && (_b = _f.return)) yield _b.call(_f);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return paths;\n });\n}\nfunction unlinkFile(filePath) {\n return __awaiter(this, void 0, void 0, function* () {\n return util.promisify(fs.unlink)(filePath);\n });\n}\nfunction getVersion(app_1) {\n return __awaiter(this, arguments, void 0, function* (app, additionalArgs = []) {\n let versionOutput = '';\n additionalArgs.push('--version');\n core.debug(`Checking ${app} ${additionalArgs.join(' ')}`);\n try {\n yield exec.exec(`${app}`, additionalArgs, {\n ignoreReturnCode: true,\n silent: true,\n listeners: {\n stdout: (data) => (versionOutput += data.toString()),\n stderr: (data) => (versionOutput += data.toString())\n }\n });\n }\n catch (err) {\n core.debug(err.message);\n }\n versionOutput = versionOutput.trim();\n core.debug(versionOutput);\n return versionOutput;\n });\n}\n// Use zstandard if possible to maximize cache performance\nfunction getCompressionMethod() {\n return __awaiter(this, void 0, void 0, function* () {\n const versionOutput = yield getVersion('zstd', ['--quiet']);\n const version = semver.clean(versionOutput);\n core.debug(`zstd version: ${version}`);\n if (versionOutput === '') {\n return constants_1.CompressionMethod.Gzip;\n }\n else {\n return constants_1.CompressionMethod.ZstdWithoutLong;\n }\n });\n}\nfunction getCacheFileName(compressionMethod) {\n return compressionMethod === constants_1.CompressionMethod.Gzip\n ? constants_1.CacheFilename.Gzip\n : constants_1.CacheFilename.Zstd;\n}\nfunction getGnuTarPathOnWindows() {\n return __awaiter(this, void 0, void 0, function* () {\n if (fs.existsSync(constants_1.GnuTarPathOnWindows)) {\n return constants_1.GnuTarPathOnWindows;\n }\n const versionOutput = yield getVersion('tar');\n return versionOutput.toLowerCase().includes('gnu tar') ? io.which('tar') : '';\n });\n}\nfunction assertDefined(name, value) {\n if (value === undefined) {\n throw Error(`Expected ${name} but value was undefiend`);\n }\n return value;\n}\nfunction getCacheVersion(paths, compressionMethod, enableCrossOsArchive = false) {\n // don't pass changes upstream\n const components = paths.slice();\n // Add compression method to cache version to restore\n // compressed cache as per compression method\n if (compressionMethod) {\n components.push(compressionMethod);\n }\n // Only check for windows platforms if enableCrossOsArchive is false\n if (process.platform === 'win32' && !enableCrossOsArchive) {\n components.push('windows-only');\n }\n // Add salt to cache version to support breaking changes in cache entry\n components.push(versionSalt);\n return crypto.createHash('sha256').update(components.join('|')).digest('hex');\n}\nfunction getRuntimeToken() {\n const token = process.env['ACTIONS_RUNTIME_TOKEN'];\n if (!token) {\n throw new Error('Unable to get the ACTIONS_RUNTIME_TOKEN env variable');\n }\n return token;\n}\n//# sourceMappingURL=cacheUtils.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isGhes = isGhes;\nexports.getCacheServiceVersion = getCacheServiceVersion;\nexports.getCacheServiceURL = getCacheServiceURL;\nfunction isGhes() {\n const ghUrl = new URL(process.env['GITHUB_SERVER_URL'] || 'https://github.com');\n const hostname = ghUrl.hostname.trimEnd().toUpperCase();\n const isGitHubHost = hostname === 'GITHUB.COM';\n const isGheHost = hostname.endsWith('.GHE.COM');\n const isLocalHost = hostname.endsWith('.LOCALHOST');\n return !isGitHubHost && !isGheHost && !isLocalHost;\n}\nfunction getCacheServiceVersion() {\n // Cache service v2 is not supported on GHES. We will default to\n // cache service v1 even if the feature flag was enabled by user.\n if (isGhes())\n return 'v1';\n return process.env['ACTIONS_CACHE_SERVICE_V2'] ? 'v2' : 'v1';\n}\nfunction getCacheServiceURL() {\n const version = getCacheServiceVersion();\n // Based on the version of the cache service, we will determine which\n // URL to use.\n switch (version) {\n case 'v1':\n return (process.env['ACTIONS_CACHE_URL'] ||\n process.env['ACTIONS_RESULTS_URL'] ||\n '');\n case 'v2':\n return process.env['ACTIONS_RESULTS_URL'] || '';\n default:\n throw new Error(`Unsupported cache service version: ${version}`);\n }\n}\n//# sourceMappingURL=config.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.CacheFileSizeLimit = exports.ManifestFilename = exports.TarFilename = exports.SystemTarPathOnWindows = exports.GnuTarPathOnWindows = exports.SocketTimeout = exports.DefaultRetryDelay = exports.DefaultRetryAttempts = exports.ArchiveToolType = exports.CompressionMethod = exports.CacheFilename = void 0;\nvar CacheFilename;\n(function (CacheFilename) {\n CacheFilename[\"Gzip\"] = \"cache.tgz\";\n CacheFilename[\"Zstd\"] = \"cache.tzst\";\n})(CacheFilename || (exports.CacheFilename = CacheFilename = {}));\nvar CompressionMethod;\n(function (CompressionMethod) {\n CompressionMethod[\"Gzip\"] = \"gzip\";\n // Long range mode was added to zstd in v1.3.2.\n // This enum is for earlier version of zstd that does not have --long support\n CompressionMethod[\"ZstdWithoutLong\"] = \"zstd-without-long\";\n CompressionMethod[\"Zstd\"] = \"zstd\";\n})(CompressionMethod || (exports.CompressionMethod = CompressionMethod = {}));\nvar ArchiveToolType;\n(function (ArchiveToolType) {\n ArchiveToolType[\"GNU\"] = \"gnu\";\n ArchiveToolType[\"BSD\"] = \"bsd\";\n})(ArchiveToolType || (exports.ArchiveToolType = ArchiveToolType = {}));\n// The default number of retry attempts.\nexports.DefaultRetryAttempts = 2;\n// The default delay in milliseconds between retry attempts.\nexports.DefaultRetryDelay = 5000;\n// Socket timeout in milliseconds during download. If no traffic is received\n// over the socket during this period, the socket is destroyed and the download\n// is aborted.\nexports.SocketTimeout = 5000;\n// The default path of GNUtar on hosted Windows runners\nexports.GnuTarPathOnWindows = `${process.env['PROGRAMFILES']}\\\\Git\\\\usr\\\\bin\\\\tar.exe`;\n// The default path of BSDtar on hosted Windows runners\nexports.SystemTarPathOnWindows = `${process.env['SYSTEMDRIVE']}\\\\Windows\\\\System32\\\\tar.exe`;\nexports.TarFilename = 'cache.tar';\nexports.ManifestFilename = 'manifest.txt';\nexports.CacheFileSizeLimit = 10 * Math.pow(1024, 3); // 10GiB per repository\n//# sourceMappingURL=constants.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DownloadProgress = void 0;\nexports.downloadCacheHttpClient = downloadCacheHttpClient;\nexports.downloadCacheHttpClientConcurrent = downloadCacheHttpClientConcurrent;\nexports.downloadCacheStorageSDK = downloadCacheStorageSDK;\nconst core = __importStar(require(\"@actions/core\"));\nconst http_client_1 = require(\"@actions/http-client\");\nconst storage_blob_1 = require(\"@azure/storage-blob\");\nconst buffer = __importStar(require(\"buffer\"));\nconst fs = __importStar(require(\"fs\"));\nconst stream = __importStar(require(\"stream\"));\nconst util = __importStar(require(\"util\"));\nconst utils = __importStar(require(\"./cacheUtils\"));\nconst constants_1 = require(\"./constants\");\nconst requestUtils_1 = require(\"./requestUtils\");\nconst abort_controller_1 = require(\"@azure/abort-controller\");\n/**\n * Pipes the body of a HTTP response to a stream\n *\n * @param response the HTTP response\n * @param output the writable stream\n */\nfunction pipeResponseToStream(response, output) {\n return __awaiter(this, void 0, void 0, function* () {\n const pipeline = util.promisify(stream.pipeline);\n yield pipeline(response.message, output);\n });\n}\n/**\n * Class for tracking the download state and displaying stats.\n */\nclass DownloadProgress {\n constructor(contentLength) {\n this.contentLength = contentLength;\n this.segmentIndex = 0;\n this.segmentSize = 0;\n this.segmentOffset = 0;\n this.receivedBytes = 0;\n this.displayedComplete = false;\n this.startTime = Date.now();\n }\n /**\n * Progress to the next segment. Only call this method when the previous segment\n * is complete.\n *\n * @param segmentSize the length of the next segment\n */\n nextSegment(segmentSize) {\n this.segmentOffset = this.segmentOffset + this.segmentSize;\n this.segmentIndex = this.segmentIndex + 1;\n this.segmentSize = segmentSize;\n this.receivedBytes = 0;\n core.debug(`Downloading segment at offset ${this.segmentOffset} with length ${this.segmentSize}...`);\n }\n /**\n * Sets the number of bytes received for the current segment.\n *\n * @param receivedBytes the number of bytes received\n */\n setReceivedBytes(receivedBytes) {\n this.receivedBytes = receivedBytes;\n }\n /**\n * Returns the total number of bytes transferred.\n */\n getTransferredBytes() {\n return this.segmentOffset + this.receivedBytes;\n }\n /**\n * Returns true if the download is complete.\n */\n isDone() {\n return this.getTransferredBytes() === this.contentLength;\n }\n /**\n * Prints the current download stats. Once the download completes, this will print one\n * last line and then stop.\n */\n display() {\n if (this.displayedComplete) {\n return;\n }\n const transferredBytes = this.segmentOffset + this.receivedBytes;\n const percentage = (100 * (transferredBytes / this.contentLength)).toFixed(1);\n const elapsedTime = Date.now() - this.startTime;\n const downloadSpeed = (transferredBytes /\n (1024 * 1024) /\n (elapsedTime / 1000)).toFixed(1);\n core.info(`Received ${transferredBytes} of ${this.contentLength} (${percentage}%), ${downloadSpeed} MBs/sec`);\n if (this.isDone()) {\n this.displayedComplete = true;\n }\n }\n /**\n * Returns a function used to handle TransferProgressEvents.\n */\n onProgress() {\n return (progress) => {\n this.setReceivedBytes(progress.loadedBytes);\n };\n }\n /**\n * Starts the timer that displays the stats.\n *\n * @param delayInMs the delay between each write\n */\n startDisplayTimer(delayInMs = 1000) {\n const displayCallback = () => {\n this.display();\n if (!this.isDone()) {\n this.timeoutHandle = setTimeout(displayCallback, delayInMs);\n }\n };\n this.timeoutHandle = setTimeout(displayCallback, delayInMs);\n }\n /**\n * Stops the timer that displays the stats. As this typically indicates the download\n * is complete, this will display one last line, unless the last line has already\n * been written.\n */\n stopDisplayTimer() {\n if (this.timeoutHandle) {\n clearTimeout(this.timeoutHandle);\n this.timeoutHandle = undefined;\n }\n this.display();\n }\n}\nexports.DownloadProgress = DownloadProgress;\n/**\n * Download the cache using the Actions toolkit http-client\n *\n * @param archiveLocation the URL for the cache\n * @param archivePath the local path where the cache is saved\n */\nfunction downloadCacheHttpClient(archiveLocation, archivePath) {\n return __awaiter(this, void 0, void 0, function* () {\n const writeStream = fs.createWriteStream(archivePath);\n const httpClient = new http_client_1.HttpClient('actions/cache');\n const downloadResponse = yield (0, requestUtils_1.retryHttpClientResponse)('downloadCache', () => __awaiter(this, void 0, void 0, function* () { return httpClient.get(archiveLocation); }));\n // Abort download if no traffic received over the socket.\n downloadResponse.message.socket.setTimeout(constants_1.SocketTimeout, () => {\n downloadResponse.message.destroy();\n core.debug(`Aborting download, socket timed out after ${constants_1.SocketTimeout} ms`);\n });\n yield pipeResponseToStream(downloadResponse, writeStream);\n // Validate download size.\n const contentLengthHeader = downloadResponse.message.headers['content-length'];\n if (contentLengthHeader) {\n const expectedLength = parseInt(contentLengthHeader);\n const actualLength = utils.getArchiveFileSizeInBytes(archivePath);\n if (actualLength !== expectedLength) {\n throw new Error(`Incomplete download. Expected file size: ${expectedLength}, actual file size: ${actualLength}`);\n }\n }\n else {\n core.debug('Unable to validate download, no Content-Length header');\n }\n });\n}\n/**\n * Download the cache using the Actions toolkit http-client concurrently\n *\n * @param archiveLocation the URL for the cache\n * @param archivePath the local path where the cache is saved\n */\nfunction downloadCacheHttpClientConcurrent(archiveLocation, archivePath, options) {\n return __awaiter(this, void 0, void 0, function* () {\n var _a;\n const archiveDescriptor = yield fs.promises.open(archivePath, 'w');\n const httpClient = new http_client_1.HttpClient('actions/cache', undefined, {\n socketTimeout: options.timeoutInMs,\n keepAlive: true\n });\n try {\n const res = yield (0, requestUtils_1.retryHttpClientResponse)('downloadCacheMetadata', () => __awaiter(this, void 0, void 0, function* () { return yield httpClient.request('HEAD', archiveLocation, null, {}); }));\n const lengthHeader = res.message.headers['content-length'];\n if (lengthHeader === undefined || lengthHeader === null) {\n throw new Error('Content-Length not found on blob response');\n }\n const length = parseInt(lengthHeader);\n if (Number.isNaN(length)) {\n throw new Error(`Could not interpret Content-Length: ${length}`);\n }\n const downloads = [];\n const blockSize = 4 * 1024 * 1024;\n for (let offset = 0; offset < length; offset += blockSize) {\n const count = Math.min(blockSize, length - offset);\n downloads.push({\n offset,\n promiseGetter: () => __awaiter(this, void 0, void 0, function* () {\n return yield downloadSegmentRetry(httpClient, archiveLocation, offset, count);\n })\n });\n }\n // reverse to use .pop instead of .shift\n downloads.reverse();\n let actives = 0;\n let bytesDownloaded = 0;\n const progress = new DownloadProgress(length);\n progress.startDisplayTimer();\n const progressFn = progress.onProgress();\n const activeDownloads = [];\n let nextDownload;\n const waitAndWrite = () => __awaiter(this, void 0, void 0, function* () {\n const segment = yield Promise.race(Object.values(activeDownloads));\n yield archiveDescriptor.write(segment.buffer, 0, segment.count, segment.offset);\n actives--;\n delete activeDownloads[segment.offset];\n bytesDownloaded += segment.count;\n progressFn({ loadedBytes: bytesDownloaded });\n });\n while ((nextDownload = downloads.pop())) {\n activeDownloads[nextDownload.offset] = nextDownload.promiseGetter();\n actives++;\n if (actives >= ((_a = options.downloadConcurrency) !== null && _a !== void 0 ? _a : 10)) {\n yield waitAndWrite();\n }\n }\n while (actives > 0) {\n yield waitAndWrite();\n }\n }\n finally {\n httpClient.dispose();\n yield archiveDescriptor.close();\n }\n });\n}\nfunction downloadSegmentRetry(httpClient, archiveLocation, offset, count) {\n return __awaiter(this, void 0, void 0, function* () {\n const retries = 5;\n let failures = 0;\n while (true) {\n try {\n const timeout = 30000;\n const result = yield promiseWithTimeout(timeout, downloadSegment(httpClient, archiveLocation, offset, count));\n if (typeof result === 'string') {\n throw new Error('downloadSegmentRetry failed due to timeout');\n }\n return result;\n }\n catch (err) {\n if (failures >= retries) {\n throw err;\n }\n failures++;\n }\n }\n });\n}\nfunction downloadSegment(httpClient, archiveLocation, offset, count) {\n return __awaiter(this, void 0, void 0, function* () {\n const partRes = yield (0, requestUtils_1.retryHttpClientResponse)('downloadCachePart', () => __awaiter(this, void 0, void 0, function* () {\n return yield httpClient.get(archiveLocation, {\n Range: `bytes=${offset}-${offset + count - 1}`\n });\n }));\n if (!partRes.readBodyBuffer) {\n throw new Error('Expected HttpClientResponse to implement readBodyBuffer');\n }\n return {\n offset,\n count,\n buffer: yield partRes.readBodyBuffer()\n };\n });\n}\n/**\n * Download the cache using the Azure Storage SDK. Only call this method if the\n * URL points to an Azure Storage endpoint.\n *\n * @param archiveLocation the URL for the cache\n * @param archivePath the local path where the cache is saved\n * @param options the download options with the defaults set\n */\nfunction downloadCacheStorageSDK(archiveLocation, archivePath, options) {\n return __awaiter(this, void 0, void 0, function* () {\n var _a;\n const client = new storage_blob_1.BlockBlobClient(archiveLocation, undefined, {\n retryOptions: {\n // Override the timeout used when downloading each 4 MB chunk\n // The default is 2 min / MB, which is way too slow\n tryTimeoutInMs: options.timeoutInMs\n }\n });\n const properties = yield client.getProperties();\n const contentLength = (_a = properties.contentLength) !== null && _a !== void 0 ? _a : -1;\n if (contentLength < 0) {\n // We should never hit this condition, but just in case fall back to downloading the\n // file as one large stream\n core.debug('Unable to determine content length, downloading file with http-client...');\n yield downloadCacheHttpClient(archiveLocation, archivePath);\n }\n else {\n // Use downloadToBuffer for faster downloads, since internally it splits the\n // file into 4 MB chunks which can then be parallelized and retried independently\n //\n // If the file exceeds the buffer maximum length (~1 GB on 32-bit systems and ~2 GB\n // on 64-bit systems), split the download into multiple segments\n // ~2 GB = 2147483647, beyond this, we start getting out of range error. So, capping it accordingly.\n // Updated segment size to 128MB = 134217728 bytes, to complete a segment faster and fail fast\n const maxSegmentSize = Math.min(134217728, buffer.constants.MAX_LENGTH);\n const downloadProgress = new DownloadProgress(contentLength);\n const fd = fs.openSync(archivePath, 'w');\n try {\n downloadProgress.startDisplayTimer();\n const controller = new abort_controller_1.AbortController();\n const abortSignal = controller.signal;\n while (!downloadProgress.isDone()) {\n const segmentStart = downloadProgress.segmentOffset + downloadProgress.segmentSize;\n const segmentSize = Math.min(maxSegmentSize, contentLength - segmentStart);\n downloadProgress.nextSegment(segmentSize);\n const result = yield promiseWithTimeout(options.segmentTimeoutInMs || 3600000, client.downloadToBuffer(segmentStart, segmentSize, {\n abortSignal,\n concurrency: options.downloadConcurrency,\n onProgress: downloadProgress.onProgress()\n }));\n if (result === 'timeout') {\n controller.abort();\n throw new Error('Aborting cache download as the download time exceeded the timeout.');\n }\n else if (Buffer.isBuffer(result)) {\n fs.writeFileSync(fd, result);\n }\n }\n }\n finally {\n downloadProgress.stopDisplayTimer();\n fs.closeSync(fd);\n }\n }\n });\n}\nconst promiseWithTimeout = (timeoutMs, promise) => __awaiter(void 0, void 0, void 0, function* () {\n let timeoutHandle;\n const timeoutPromise = new Promise(resolve => {\n timeoutHandle = setTimeout(() => resolve('timeout'), timeoutMs);\n });\n return Promise.race([promise, timeoutPromise]).then(result => {\n clearTimeout(timeoutHandle);\n return result;\n });\n});\n//# sourceMappingURL=downloadUtils.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isSuccessStatusCode = isSuccessStatusCode;\nexports.isServerErrorStatusCode = isServerErrorStatusCode;\nexports.isRetryableStatusCode = isRetryableStatusCode;\nexports.retry = retry;\nexports.retryTypedResponse = retryTypedResponse;\nexports.retryHttpClientResponse = retryHttpClientResponse;\nconst core = __importStar(require(\"@actions/core\"));\nconst http_client_1 = require(\"@actions/http-client\");\nconst constants_1 = require(\"./constants\");\nfunction isSuccessStatusCode(statusCode) {\n if (!statusCode) {\n return false;\n }\n return statusCode >= 200 && statusCode < 300;\n}\nfunction isServerErrorStatusCode(statusCode) {\n if (!statusCode) {\n return true;\n }\n return statusCode >= 500;\n}\nfunction isRetryableStatusCode(statusCode) {\n if (!statusCode) {\n return false;\n }\n const retryableStatusCodes = [\n http_client_1.HttpCodes.BadGateway,\n http_client_1.HttpCodes.ServiceUnavailable,\n http_client_1.HttpCodes.GatewayTimeout\n ];\n return retryableStatusCodes.includes(statusCode);\n}\nfunction sleep(milliseconds) {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise(resolve => setTimeout(resolve, milliseconds));\n });\n}\nfunction retry(name_1, method_1, getStatusCode_1) {\n return __awaiter(this, arguments, void 0, function* (name, method, getStatusCode, maxAttempts = constants_1.DefaultRetryAttempts, delay = constants_1.DefaultRetryDelay, onError = undefined) {\n let errorMessage = '';\n let attempt = 1;\n while (attempt <= maxAttempts) {\n let response = undefined;\n let statusCode = undefined;\n let isRetryable = false;\n try {\n response = yield method();\n }\n catch (error) {\n if (onError) {\n response = onError(error);\n }\n isRetryable = true;\n errorMessage = error.message;\n }\n if (response) {\n statusCode = getStatusCode(response);\n if (!isServerErrorStatusCode(statusCode)) {\n return response;\n }\n }\n if (statusCode) {\n isRetryable = isRetryableStatusCode(statusCode);\n errorMessage = `Cache service responded with ${statusCode}`;\n }\n core.debug(`${name} - Attempt ${attempt} of ${maxAttempts} failed with error: ${errorMessage}`);\n if (!isRetryable) {\n core.debug(`${name} - Error is not retryable`);\n break;\n }\n yield sleep(delay);\n attempt++;\n }\n throw Error(`${name} failed: ${errorMessage}`);\n });\n}\nfunction retryTypedResponse(name_1, method_1) {\n return __awaiter(this, arguments, void 0, function* (name, method, maxAttempts = constants_1.DefaultRetryAttempts, delay = constants_1.DefaultRetryDelay) {\n return yield retry(name, method, (response) => response.statusCode, maxAttempts, delay, \n // If the error object contains the statusCode property, extract it and return\n // an TypedResponse so it can be processed by the retry logic.\n (error) => {\n if (error instanceof http_client_1.HttpClientError) {\n return {\n statusCode: error.statusCode,\n result: null,\n headers: {},\n error\n };\n }\n else {\n return undefined;\n }\n });\n });\n}\nfunction retryHttpClientResponse(name_1, method_1) {\n return __awaiter(this, arguments, void 0, function* (name, method, maxAttempts = constants_1.DefaultRetryAttempts, delay = constants_1.DefaultRetryDelay) {\n return yield retry(name, method, (response) => response.message.statusCode, maxAttempts, delay);\n });\n}\n//# sourceMappingURL=requestUtils.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.internalCacheTwirpClient = internalCacheTwirpClient;\nconst core_1 = require(\"@actions/core\");\nconst user_agent_1 = require(\"./user-agent\");\nconst errors_1 = require(\"./errors\");\nconst config_1 = require(\"../config\");\nconst cacheUtils_1 = require(\"../cacheUtils\");\nconst auth_1 = require(\"@actions/http-client/lib/auth\");\nconst http_client_1 = require(\"@actions/http-client\");\nconst cache_twirp_client_1 = require(\"../../generated/results/api/v1/cache.twirp-client\");\nconst util_1 = require(\"./util\");\n/**\n * This class is a wrapper around the CacheServiceClientJSON class generated by Twirp.\n *\n * It adds retry logic to the request method, which is not present in the generated client.\n *\n * This class is used to interact with cache service v2.\n */\nclass CacheServiceClient {\n constructor(userAgent, maxAttempts, baseRetryIntervalMilliseconds, retryMultiplier) {\n this.maxAttempts = 5;\n this.baseRetryIntervalMilliseconds = 3000;\n this.retryMultiplier = 1.5;\n const token = (0, cacheUtils_1.getRuntimeToken)();\n this.baseUrl = (0, config_1.getCacheServiceURL)();\n if (maxAttempts) {\n this.maxAttempts = maxAttempts;\n }\n if (baseRetryIntervalMilliseconds) {\n this.baseRetryIntervalMilliseconds = baseRetryIntervalMilliseconds;\n }\n if (retryMultiplier) {\n this.retryMultiplier = retryMultiplier;\n }\n this.httpClient = new http_client_1.HttpClient(userAgent, [\n new auth_1.BearerCredentialHandler(token)\n ]);\n }\n // This function satisfies the Rpc interface. It is compatible with the JSON\n // JSON generated client.\n request(service, method, contentType, data) {\n return __awaiter(this, void 0, void 0, function* () {\n const url = new URL(`/twirp/${service}/${method}`, this.baseUrl).href;\n (0, core_1.debug)(`[Request] ${method} ${url}`);\n const headers = {\n 'Content-Type': contentType\n };\n try {\n const { body } = yield this.retryableRequest(() => __awaiter(this, void 0, void 0, function* () { return this.httpClient.post(url, JSON.stringify(data), headers); }));\n return body;\n }\n catch (error) {\n throw new Error(`Failed to ${method}: ${error.message}`);\n }\n });\n }\n retryableRequest(operation) {\n return __awaiter(this, void 0, void 0, function* () {\n let attempt = 0;\n let errorMessage = '';\n let rawBody = '';\n while (attempt < this.maxAttempts) {\n let isRetryable = false;\n try {\n const response = yield operation();\n const statusCode = response.message.statusCode;\n rawBody = yield response.readBody();\n (0, core_1.debug)(`[Response] - ${response.message.statusCode}`);\n (0, core_1.debug)(`Headers: ${JSON.stringify(response.message.headers, null, 2)}`);\n const body = JSON.parse(rawBody);\n (0, util_1.maskSecretUrls)(body);\n (0, core_1.debug)(`Body: ${JSON.stringify(body, null, 2)}`);\n if (this.isSuccessStatusCode(statusCode)) {\n return { response, body };\n }\n isRetryable = this.isRetryableHttpStatusCode(statusCode);\n errorMessage = `Failed request: (${statusCode}) ${response.message.statusMessage}`;\n if (body.msg) {\n if (errors_1.UsageError.isUsageErrorMessage(body.msg)) {\n throw new errors_1.UsageError();\n }\n errorMessage = `${errorMessage}: ${body.msg}`;\n }\n // Handle rate limiting - don't retry, just warn and exit\n // For more info, see https://docs.github.com/en/actions/reference/limits\n if (statusCode === http_client_1.HttpCodes.TooManyRequests) {\n const retryAfterHeader = response.message.headers['retry-after'];\n if (retryAfterHeader) {\n const parsedSeconds = parseInt(retryAfterHeader, 10);\n if (!isNaN(parsedSeconds) && parsedSeconds > 0) {\n (0, core_1.warning)(`You've hit a rate limit, your rate limit will reset in ${parsedSeconds} seconds`);\n }\n }\n throw new errors_1.RateLimitError(`Rate limited: ${errorMessage}`);\n }\n }\n catch (error) {\n if (error instanceof SyntaxError) {\n (0, core_1.debug)(`Raw Body: ${rawBody}`);\n }\n if (error instanceof errors_1.UsageError) {\n throw error;\n }\n if (error instanceof errors_1.RateLimitError) {\n throw error;\n }\n if (errors_1.NetworkError.isNetworkErrorCode(error === null || error === void 0 ? void 0 : error.code)) {\n throw new errors_1.NetworkError(error === null || error === void 0 ? void 0 : error.code);\n }\n isRetryable = true;\n errorMessage = error.message;\n }\n if (!isRetryable) {\n throw new Error(`Received non-retryable error: ${errorMessage}`);\n }\n if (attempt + 1 === this.maxAttempts) {\n throw new Error(`Failed to make request after ${this.maxAttempts} attempts: ${errorMessage}`);\n }\n const retryTimeMilliseconds = this.getExponentialRetryTimeMilliseconds(attempt);\n (0, core_1.info)(`Attempt ${attempt + 1} of ${this.maxAttempts} failed with error: ${errorMessage}. Retrying request in ${retryTimeMilliseconds} ms...`);\n yield this.sleep(retryTimeMilliseconds);\n attempt++;\n }\n throw new Error(`Request failed`);\n });\n }\n isSuccessStatusCode(statusCode) {\n if (!statusCode)\n return false;\n return statusCode >= 200 && statusCode < 300;\n }\n isRetryableHttpStatusCode(statusCode) {\n if (!statusCode)\n return false;\n const retryableStatusCodes = [\n http_client_1.HttpCodes.BadGateway,\n http_client_1.HttpCodes.GatewayTimeout,\n http_client_1.HttpCodes.InternalServerError,\n http_client_1.HttpCodes.ServiceUnavailable\n ];\n return retryableStatusCodes.includes(statusCode);\n }\n sleep(milliseconds) {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise(resolve => setTimeout(resolve, milliseconds));\n });\n }\n getExponentialRetryTimeMilliseconds(attempt) {\n if (attempt < 0) {\n throw new Error('attempt should be a positive integer');\n }\n if (attempt === 0) {\n return this.baseRetryIntervalMilliseconds;\n }\n const minTime = this.baseRetryIntervalMilliseconds * Math.pow(this.retryMultiplier, attempt);\n const maxTime = minTime * this.retryMultiplier;\n // returns a random number between minTime and maxTime (exclusive)\n return Math.trunc(Math.random() * (maxTime - minTime) + minTime);\n }\n}\nfunction internalCacheTwirpClient(options) {\n const client = new CacheServiceClient((0, user_agent_1.getUserAgentString)(), options === null || options === void 0 ? void 0 : options.maxAttempts, options === null || options === void 0 ? void 0 : options.retryIntervalMs, options === null || options === void 0 ? void 0 : options.retryMultiplier);\n return new cache_twirp_client_1.CacheServiceClientJSON(client);\n}\n//# sourceMappingURL=cacheTwirpClient.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RateLimitError = exports.UsageError = exports.NetworkError = exports.GHESNotSupportedError = exports.CacheNotFoundError = exports.InvalidResponseError = exports.FilesNotFoundError = void 0;\nclass FilesNotFoundError extends Error {\n constructor(files = []) {\n let message = 'No files were found to upload';\n if (files.length > 0) {\n message += `: ${files.join(', ')}`;\n }\n super(message);\n this.files = files;\n this.name = 'FilesNotFoundError';\n }\n}\nexports.FilesNotFoundError = FilesNotFoundError;\nclass InvalidResponseError extends Error {\n constructor(message) {\n super(message);\n this.name = 'InvalidResponseError';\n }\n}\nexports.InvalidResponseError = InvalidResponseError;\nclass CacheNotFoundError extends Error {\n constructor(message = 'Cache not found') {\n super(message);\n this.name = 'CacheNotFoundError';\n }\n}\nexports.CacheNotFoundError = CacheNotFoundError;\nclass GHESNotSupportedError extends Error {\n constructor(message = '@actions/cache v4.1.4+, actions/cache/save@v4+ and actions/cache/restore@v4+ are not currently supported on GHES.') {\n super(message);\n this.name = 'GHESNotSupportedError';\n }\n}\nexports.GHESNotSupportedError = GHESNotSupportedError;\nclass NetworkError extends Error {\n constructor(code) {\n const message = `Unable to make request: ${code}\\nIf you are using self-hosted runners, please make sure your runner has access to all GitHub endpoints: https://docs.github.com/en/actions/hosting-your-own-runners/managing-self-hosted-runners/about-self-hosted-runners#communication-between-self-hosted-runners-and-github`;\n super(message);\n this.code = code;\n this.name = 'NetworkError';\n }\n}\nexports.NetworkError = NetworkError;\nNetworkError.isNetworkErrorCode = (code) => {\n if (!code)\n return false;\n return [\n 'ECONNRESET',\n 'ENOTFOUND',\n 'ETIMEDOUT',\n 'ECONNREFUSED',\n 'EHOSTUNREACH'\n ].includes(code);\n};\nclass UsageError extends Error {\n constructor() {\n const message = `Cache storage quota has been hit. Unable to upload any new cache entries. Usage is recalculated every 6-12 hours.\\nMore info on storage limits: https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions#calculating-minute-and-storage-spending`;\n super(message);\n this.name = 'UsageError';\n }\n}\nexports.UsageError = UsageError;\nUsageError.isUsageErrorMessage = (msg) => {\n if (!msg)\n return false;\n return msg.includes('insufficient usage');\n};\nclass RateLimitError extends Error {\n constructor(message) {\n super(message);\n this.name = 'RateLimitError';\n }\n}\nexports.RateLimitError = RateLimitError;\n//# sourceMappingURL=errors.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getUserAgentString = getUserAgentString;\n// eslint-disable-next-line @typescript-eslint/no-var-requires, @typescript-eslint/no-require-imports\nconst packageJson = require('../../../package.json');\n/**\n * Ensure that this User Agent String is used in all HTTP calls so that we can monitor telemetry between different versions of this package\n */\nfunction getUserAgentString() {\n return `@actions/cache-${packageJson.version}`;\n}\n//# sourceMappingURL=user-agent.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.maskSigUrl = maskSigUrl;\nexports.maskSecretUrls = maskSecretUrls;\nconst core_1 = require(\"@actions/core\");\n/**\n * Masks the `sig` parameter in a URL and sets it as a secret.\n *\n * @param url - The URL containing the signature parameter to mask\n * @remarks\n * This function attempts to parse the provided URL and identify the 'sig' query parameter.\n * If found, it registers both the raw and URL-encoded signature values as secrets using\n * the Actions `setSecret` API, which prevents them from being displayed in logs.\n *\n * The function handles errors gracefully if URL parsing fails, logging them as debug messages.\n *\n * @example\n * ```typescript\n * // Mask a signature in an Azure SAS token URL\n * maskSigUrl('https://example.blob.core.windows.net/container/file.txt?sig=abc123&se=2023-01-01');\n * ```\n */\nfunction maskSigUrl(url) {\n if (!url)\n return;\n try {\n const parsedUrl = new URL(url);\n const signature = parsedUrl.searchParams.get('sig');\n if (signature) {\n (0, core_1.setSecret)(signature);\n (0, core_1.setSecret)(encodeURIComponent(signature));\n }\n }\n catch (error) {\n (0, core_1.debug)(`Failed to parse URL: ${url} ${error instanceof Error ? error.message : String(error)}`);\n }\n}\n/**\n * Masks sensitive information in URLs containing signature parameters.\n * Currently supports masking 'sig' parameters in the 'signed_upload_url'\n * and 'signed_download_url' properties of the provided object.\n *\n * @param body - The object should contain a signature\n * @remarks\n * This function extracts URLs from the object properties and calls maskSigUrl\n * on each one to redact sensitive signature information. The function doesn't\n * modify the original object; it only marks the signatures as secrets for\n * logging purposes.\n *\n * @example\n * ```typescript\n * const responseBody = {\n * signed_upload_url: 'https://blob.core.windows.net/?sig=abc123',\n * signed_download_url: 'https://blob.core/windows.net/?sig=def456'\n * };\n * maskSecretUrls(responseBody);\n * ```\n */\nfunction maskSecretUrls(body) {\n if (typeof body !== 'object' || body === null) {\n (0, core_1.debug)('body is not an object or is null');\n return;\n }\n if ('signed_upload_url' in body &&\n typeof body.signed_upload_url === 'string') {\n maskSigUrl(body.signed_upload_url);\n }\n if ('signed_download_url' in body &&\n typeof body.signed_download_url === 'string') {\n maskSigUrl(body.signed_download_url);\n }\n}\n//# sourceMappingURL=util.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.listTar = listTar;\nexports.extractTar = extractTar;\nexports.createTar = createTar;\nconst exec_1 = require(\"@actions/exec\");\nconst io = __importStar(require(\"@actions/io\"));\nconst fs_1 = require(\"fs\");\nconst path = __importStar(require(\"path\"));\nconst utils = __importStar(require(\"./cacheUtils\"));\nconst constants_1 = require(\"./constants\");\nconst IS_WINDOWS = process.platform === 'win32';\n// Returns tar path and type: BSD or GNU\nfunction getTarPath() {\n return __awaiter(this, void 0, void 0, function* () {\n switch (process.platform) {\n case 'win32': {\n const gnuTar = yield utils.getGnuTarPathOnWindows();\n const systemTar = constants_1.SystemTarPathOnWindows;\n if (gnuTar) {\n // Use GNUtar as default on windows\n return { path: gnuTar, type: constants_1.ArchiveToolType.GNU };\n }\n else if ((0, fs_1.existsSync)(systemTar)) {\n return { path: systemTar, type: constants_1.ArchiveToolType.BSD };\n }\n break;\n }\n case 'darwin': {\n const gnuTar = yield io.which('gtar', false);\n if (gnuTar) {\n // fix permission denied errors when extracting BSD tar archive with GNU tar - https://github.com/actions/cache/issues/527\n return { path: gnuTar, type: constants_1.ArchiveToolType.GNU };\n }\n else {\n return {\n path: yield io.which('tar', true),\n type: constants_1.ArchiveToolType.BSD\n };\n }\n }\n default:\n break;\n }\n // Default assumption is GNU tar is present in path\n return {\n path: yield io.which('tar', true),\n type: constants_1.ArchiveToolType.GNU\n };\n });\n}\n// Return arguments for tar as per tarPath, compressionMethod, method type and os\nfunction getTarArgs(tarPath_1, compressionMethod_1, type_1) {\n return __awaiter(this, arguments, void 0, function* (tarPath, compressionMethod, type, archivePath = '') {\n const args = [`\"${tarPath.path}\"`];\n const cacheFileName = utils.getCacheFileName(compressionMethod);\n const tarFile = 'cache.tar';\n const workingDirectory = getWorkingDirectory();\n // Speficic args for BSD tar on windows for workaround\n const BSD_TAR_ZSTD = tarPath.type === constants_1.ArchiveToolType.BSD &&\n compressionMethod !== constants_1.CompressionMethod.Gzip &&\n IS_WINDOWS;\n // Method specific args\n switch (type) {\n case 'create':\n args.push('--posix', '-cf', BSD_TAR_ZSTD\n ? tarFile\n : cacheFileName.replace(new RegExp(`\\\\${path.sep}`, 'g'), '/'), '--exclude', BSD_TAR_ZSTD\n ? tarFile\n : cacheFileName.replace(new RegExp(`\\\\${path.sep}`, 'g'), '/'), '-P', '-C', workingDirectory.replace(new RegExp(`\\\\${path.sep}`, 'g'), '/'), '--files-from', constants_1.ManifestFilename);\n break;\n case 'extract':\n args.push('-xf', BSD_TAR_ZSTD\n ? tarFile\n : archivePath.replace(new RegExp(`\\\\${path.sep}`, 'g'), '/'), '-P', '-C', workingDirectory.replace(new RegExp(`\\\\${path.sep}`, 'g'), '/'));\n break;\n case 'list':\n args.push('-tf', BSD_TAR_ZSTD\n ? tarFile\n : archivePath.replace(new RegExp(`\\\\${path.sep}`, 'g'), '/'), '-P');\n break;\n }\n // Platform specific args\n if (tarPath.type === constants_1.ArchiveToolType.GNU) {\n switch (process.platform) {\n case 'win32':\n args.push('--force-local');\n break;\n case 'darwin':\n args.push('--delay-directory-restore');\n break;\n }\n }\n return args;\n });\n}\n// Returns commands to run tar and compression program\nfunction getCommands(compressionMethod_1, type_1) {\n return __awaiter(this, arguments, void 0, function* (compressionMethod, type, archivePath = '') {\n let args;\n const tarPath = yield getTarPath();\n const tarArgs = yield getTarArgs(tarPath, compressionMethod, type, archivePath);\n const compressionArgs = type !== 'create'\n ? yield getDecompressionProgram(tarPath, compressionMethod, archivePath)\n : yield getCompressionProgram(tarPath, compressionMethod);\n const BSD_TAR_ZSTD = tarPath.type === constants_1.ArchiveToolType.BSD &&\n compressionMethod !== constants_1.CompressionMethod.Gzip &&\n IS_WINDOWS;\n if (BSD_TAR_ZSTD && type !== 'create') {\n args = [[...compressionArgs].join(' '), [...tarArgs].join(' ')];\n }\n else {\n args = [[...tarArgs].join(' '), [...compressionArgs].join(' ')];\n }\n if (BSD_TAR_ZSTD) {\n return args;\n }\n return [args.join(' ')];\n });\n}\nfunction getWorkingDirectory() {\n var _a;\n return (_a = process.env['GITHUB_WORKSPACE']) !== null && _a !== void 0 ? _a : process.cwd();\n}\n// Common function for extractTar and listTar to get the compression method\nfunction getDecompressionProgram(tarPath, compressionMethod, archivePath) {\n return __awaiter(this, void 0, void 0, function* () {\n // -d: Decompress.\n // unzstd is equivalent to 'zstd -d'\n // --long=#: Enables long distance matching with # bits. Maximum is 30 (1GB) on 32-bit OS and 31 (2GB) on 64-bit.\n // Using 30 here because we also support 32-bit self-hosted runners.\n const BSD_TAR_ZSTD = tarPath.type === constants_1.ArchiveToolType.BSD &&\n compressionMethod !== constants_1.CompressionMethod.Gzip &&\n IS_WINDOWS;\n switch (compressionMethod) {\n case constants_1.CompressionMethod.Zstd:\n return BSD_TAR_ZSTD\n ? [\n 'zstd -d --long=30 --force -o',\n constants_1.TarFilename,\n archivePath.replace(new RegExp(`\\\\${path.sep}`, 'g'), '/')\n ]\n : [\n '--use-compress-program',\n IS_WINDOWS ? '\"zstd -d --long=30\"' : 'unzstd --long=30'\n ];\n case constants_1.CompressionMethod.ZstdWithoutLong:\n return BSD_TAR_ZSTD\n ? [\n 'zstd -d --force -o',\n constants_1.TarFilename,\n archivePath.replace(new RegExp(`\\\\${path.sep}`, 'g'), '/')\n ]\n : ['--use-compress-program', IS_WINDOWS ? '\"zstd -d\"' : 'unzstd'];\n default:\n return ['-z'];\n }\n });\n}\n// Used for creating the archive\n// -T#: Compress using # working thread. If # is 0, attempt to detect and use the number of physical CPU cores.\n// zstdmt is equivalent to 'zstd -T0'\n// --long=#: Enables long distance matching with # bits. Maximum is 30 (1GB) on 32-bit OS and 31 (2GB) on 64-bit.\n// Using 30 here because we also support 32-bit self-hosted runners.\n// Long range mode is added to zstd in v1.3.2 release, so we will not use --long in older version of zstd.\nfunction getCompressionProgram(tarPath, compressionMethod) {\n return __awaiter(this, void 0, void 0, function* () {\n const cacheFileName = utils.getCacheFileName(compressionMethod);\n const BSD_TAR_ZSTD = tarPath.type === constants_1.ArchiveToolType.BSD &&\n compressionMethod !== constants_1.CompressionMethod.Gzip &&\n IS_WINDOWS;\n switch (compressionMethod) {\n case constants_1.CompressionMethod.Zstd:\n return BSD_TAR_ZSTD\n ? [\n 'zstd -T0 --long=30 --force -o',\n cacheFileName.replace(new RegExp(`\\\\${path.sep}`, 'g'), '/'),\n constants_1.TarFilename\n ]\n : [\n '--use-compress-program',\n IS_WINDOWS ? '\"zstd -T0 --long=30\"' : 'zstdmt --long=30'\n ];\n case constants_1.CompressionMethod.ZstdWithoutLong:\n return BSD_TAR_ZSTD\n ? [\n 'zstd -T0 --force -o',\n cacheFileName.replace(new RegExp(`\\\\${path.sep}`, 'g'), '/'),\n constants_1.TarFilename\n ]\n : ['--use-compress-program', IS_WINDOWS ? '\"zstd -T0\"' : 'zstdmt'];\n default:\n return ['-z'];\n }\n });\n}\n// Executes all commands as separate processes\nfunction execCommands(commands, cwd) {\n return __awaiter(this, void 0, void 0, function* () {\n for (const command of commands) {\n try {\n yield (0, exec_1.exec)(command, undefined, {\n cwd,\n env: Object.assign(Object.assign({}, process.env), { MSYS: 'winsymlinks:nativestrict' })\n });\n }\n catch (error) {\n throw new Error(`${command.split(' ')[0]} failed with error: ${error === null || error === void 0 ? void 0 : error.message}`);\n }\n }\n });\n}\n// List the contents of a tar\nfunction listTar(archivePath, compressionMethod) {\n return __awaiter(this, void 0, void 0, function* () {\n const commands = yield getCommands(compressionMethod, 'list', archivePath);\n yield execCommands(commands);\n });\n}\n// Extract a tar\nfunction extractTar(archivePath, compressionMethod) {\n return __awaiter(this, void 0, void 0, function* () {\n // Create directory to extract tar into\n const workingDirectory = getWorkingDirectory();\n yield io.mkdirP(workingDirectory);\n const commands = yield getCommands(compressionMethod, 'extract', archivePath);\n yield execCommands(commands);\n });\n}\n// Create a tar\nfunction createTar(archiveFolder, sourceDirectories, compressionMethod) {\n return __awaiter(this, void 0, void 0, function* () {\n // Write source directories to manifest.txt to avoid command length limits\n (0, fs_1.writeFileSync)(path.join(archiveFolder, constants_1.ManifestFilename), sourceDirectories.join('\\n'));\n const commands = yield getCommands(compressionMethod, 'create');\n yield execCommands(commands, archiveFolder);\n });\n}\n//# sourceMappingURL=tar.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UploadProgress = void 0;\nexports.uploadCacheArchiveSDK = uploadCacheArchiveSDK;\nconst core = __importStar(require(\"@actions/core\"));\nconst storage_blob_1 = require(\"@azure/storage-blob\");\nconst errors_1 = require(\"./shared/errors\");\n/**\n * Class for tracking the upload state and displaying stats.\n */\nclass UploadProgress {\n constructor(contentLength) {\n this.contentLength = contentLength;\n this.sentBytes = 0;\n this.displayedComplete = false;\n this.startTime = Date.now();\n }\n /**\n * Sets the number of bytes sent\n *\n * @param sentBytes the number of bytes sent\n */\n setSentBytes(sentBytes) {\n this.sentBytes = sentBytes;\n }\n /**\n * Returns the total number of bytes transferred.\n */\n getTransferredBytes() {\n return this.sentBytes;\n }\n /**\n * Returns true if the upload is complete.\n */\n isDone() {\n return this.getTransferredBytes() === this.contentLength;\n }\n /**\n * Prints the current upload stats. Once the upload completes, this will print one\n * last line and then stop.\n */\n display() {\n if (this.displayedComplete) {\n return;\n }\n const transferredBytes = this.sentBytes;\n const percentage = (100 * (transferredBytes / this.contentLength)).toFixed(1);\n const elapsedTime = Date.now() - this.startTime;\n const uploadSpeed = (transferredBytes /\n (1024 * 1024) /\n (elapsedTime / 1000)).toFixed(1);\n core.info(`Sent ${transferredBytes} of ${this.contentLength} (${percentage}%), ${uploadSpeed} MBs/sec`);\n if (this.isDone()) {\n this.displayedComplete = true;\n }\n }\n /**\n * Returns a function used to handle TransferProgressEvents.\n */\n onProgress() {\n return (progress) => {\n this.setSentBytes(progress.loadedBytes);\n };\n }\n /**\n * Starts the timer that displays the stats.\n *\n * @param delayInMs the delay between each write\n */\n startDisplayTimer(delayInMs = 1000) {\n const displayCallback = () => {\n this.display();\n if (!this.isDone()) {\n this.timeoutHandle = setTimeout(displayCallback, delayInMs);\n }\n };\n this.timeoutHandle = setTimeout(displayCallback, delayInMs);\n }\n /**\n * Stops the timer that displays the stats. As this typically indicates the upload\n * is complete, this will display one last line, unless the last line has already\n * been written.\n */\n stopDisplayTimer() {\n if (this.timeoutHandle) {\n clearTimeout(this.timeoutHandle);\n this.timeoutHandle = undefined;\n }\n this.display();\n }\n}\nexports.UploadProgress = UploadProgress;\n/**\n * Uploads a cache archive directly to Azure Blob Storage using the Azure SDK.\n * This function will display progress information to the console. Concurrency of the\n * upload is determined by the calling functions.\n *\n * @param signedUploadURL\n * @param archivePath\n * @param options\n * @returns\n */\nfunction uploadCacheArchiveSDK(signedUploadURL, archivePath, options) {\n return __awaiter(this, void 0, void 0, function* () {\n var _a;\n const blobClient = new storage_blob_1.BlobClient(signedUploadURL);\n const blockBlobClient = blobClient.getBlockBlobClient();\n const uploadProgress = new UploadProgress((_a = options === null || options === void 0 ? void 0 : options.archiveSizeBytes) !== null && _a !== void 0 ? _a : 0);\n // Specify data transfer options\n const uploadOptions = {\n blockSize: options === null || options === void 0 ? void 0 : options.uploadChunkSize,\n concurrency: options === null || options === void 0 ? void 0 : options.uploadConcurrency, // maximum number of parallel transfer workers\n maxSingleShotSize: 128 * 1024 * 1024, // 128 MiB initial transfer size\n onProgress: uploadProgress.onProgress()\n };\n try {\n uploadProgress.startDisplayTimer();\n core.debug(`BlobClient: ${blobClient.name}:${blobClient.accountName}:${blobClient.containerName}`);\n const response = yield blockBlobClient.uploadFile(archivePath, uploadOptions);\n // TODO: better management of non-retryable errors\n if (response._response.status >= 400) {\n throw new errors_1.InvalidResponseError(`uploadCacheArchiveSDK: upload failed with status code ${response._response.status}`);\n }\n return response;\n }\n catch (error) {\n core.warning(`uploadCacheArchiveSDK: internal error uploading cache archive: ${error.message}`);\n throw error;\n }\n finally {\n uploadProgress.stopDisplayTimer();\n }\n });\n}\n//# sourceMappingURL=uploadUtils.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getUploadOptions = getUploadOptions;\nexports.getDownloadOptions = getDownloadOptions;\nconst core = __importStar(require(\"@actions/core\"));\n/**\n * Returns a copy of the upload options with defaults filled in.\n *\n * @param copy the original upload options\n */\nfunction getUploadOptions(copy) {\n // Defaults if not overriden\n const result = {\n useAzureSdk: false,\n uploadConcurrency: 4,\n uploadChunkSize: 32 * 1024 * 1024\n };\n if (copy) {\n if (typeof copy.useAzureSdk === 'boolean') {\n result.useAzureSdk = copy.useAzureSdk;\n }\n if (typeof copy.uploadConcurrency === 'number') {\n result.uploadConcurrency = copy.uploadConcurrency;\n }\n if (typeof copy.uploadChunkSize === 'number') {\n result.uploadChunkSize = copy.uploadChunkSize;\n }\n }\n /**\n * Add env var overrides\n */\n // Cap the uploadConcurrency at 32\n result.uploadConcurrency = !isNaN(Number(process.env['CACHE_UPLOAD_CONCURRENCY']))\n ? Math.min(32, Number(process.env['CACHE_UPLOAD_CONCURRENCY']))\n : result.uploadConcurrency;\n // Cap the uploadChunkSize at 128MiB\n result.uploadChunkSize = !isNaN(Number(process.env['CACHE_UPLOAD_CHUNK_SIZE']))\n ? Math.min(128 * 1024 * 1024, Number(process.env['CACHE_UPLOAD_CHUNK_SIZE']) * 1024 * 1024)\n : result.uploadChunkSize;\n core.debug(`Use Azure SDK: ${result.useAzureSdk}`);\n core.debug(`Upload concurrency: ${result.uploadConcurrency}`);\n core.debug(`Upload chunk size: ${result.uploadChunkSize}`);\n return result;\n}\n/**\n * Returns a copy of the download options with defaults filled in.\n *\n * @param copy the original download options\n */\nfunction getDownloadOptions(copy) {\n const result = {\n useAzureSdk: false,\n concurrentBlobDownloads: true,\n downloadConcurrency: 8,\n timeoutInMs: 30000,\n segmentTimeoutInMs: 600000,\n lookupOnly: false\n };\n if (copy) {\n if (typeof copy.useAzureSdk === 'boolean') {\n result.useAzureSdk = copy.useAzureSdk;\n }\n if (typeof copy.concurrentBlobDownloads === 'boolean') {\n result.concurrentBlobDownloads = copy.concurrentBlobDownloads;\n }\n if (typeof copy.downloadConcurrency === 'number') {\n result.downloadConcurrency = copy.downloadConcurrency;\n }\n if (typeof copy.timeoutInMs === 'number') {\n result.timeoutInMs = copy.timeoutInMs;\n }\n if (typeof copy.segmentTimeoutInMs === 'number') {\n result.segmentTimeoutInMs = copy.segmentTimeoutInMs;\n }\n if (typeof copy.lookupOnly === 'boolean') {\n result.lookupOnly = copy.lookupOnly;\n }\n }\n const segmentDownloadTimeoutMins = process.env['SEGMENT_DOWNLOAD_TIMEOUT_MINS'];\n if (segmentDownloadTimeoutMins &&\n !isNaN(Number(segmentDownloadTimeoutMins)) &&\n isFinite(Number(segmentDownloadTimeoutMins))) {\n result.segmentTimeoutInMs = Number(segmentDownloadTimeoutMins) * 60 * 1000;\n }\n core.debug(`Use Azure SDK: ${result.useAzureSdk}`);\n core.debug(`Download concurrency: ${result.downloadConcurrency}`);\n core.debug(`Request timeout (ms): ${result.timeoutInMs}`);\n core.debug(`Cache segment download timeout mins env var: ${process.env['SEGMENT_DOWNLOAD_TIMEOUT_MINS']}`);\n core.debug(`Segment download timeout (ms): ${result.segmentTimeoutInMs}`);\n core.debug(`Lookup only: ${result.lookupOnly}`);\n return result;\n}\n//# sourceMappingURL=options.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.issueCommand = issueCommand;\nexports.issue = issue;\nconst os = __importStar(require(\"os\"));\nconst utils_1 = require(\"./utils\");\n/**\n * Issues a command to the GitHub Actions runner\n *\n * @param command - The command name to issue\n * @param properties - Additional properties for the command (key-value pairs)\n * @param message - The message to include with the command\n * @remarks\n * This function outputs a specially formatted string to stdout that the Actions\n * runner interprets as a command. These commands can control workflow behavior,\n * set outputs, create annotations, mask values, and more.\n *\n * Command Format:\n * ::name key=value,key=value::message\n *\n * @example\n * ```typescript\n * // Issue a warning annotation\n * issueCommand('warning', {}, 'This is a warning message');\n * // Output: ::warning::This is a warning message\n *\n * // Set an environment variable\n * issueCommand('set-env', { name: 'MY_VAR' }, 'some value');\n * // Output: ::set-env name=MY_VAR::some value\n *\n * // Add a secret mask\n * issueCommand('add-mask', {}, 'secretValue123');\n * // Output: ::add-mask::secretValue123\n * ```\n *\n * @internal\n * This is an internal utility function that powers the public API functions\n * such as setSecret, warning, error, and exportVariable.\n */\nfunction issueCommand(command, properties, message) {\n const cmd = new Command(command, properties, message);\n process.stdout.write(cmd.toString() + os.EOL);\n}\nfunction issue(name, message = '') {\n issueCommand(name, {}, message);\n}\nconst CMD_STRING = '::';\nclass Command {\n constructor(command, properties, message) {\n if (!command) {\n command = 'missing.command';\n }\n this.command = command;\n this.properties = properties;\n this.message = message;\n }\n toString() {\n let cmdStr = CMD_STRING + this.command;\n if (this.properties && Object.keys(this.properties).length > 0) {\n cmdStr += ' ';\n let first = true;\n for (const key in this.properties) {\n if (this.properties.hasOwnProperty(key)) {\n const val = this.properties[key];\n if (val) {\n if (first) {\n first = false;\n }\n else {\n cmdStr += ',';\n }\n cmdStr += `${key}=${escapeProperty(val)}`;\n }\n }\n }\n }\n cmdStr += `${CMD_STRING}${escapeData(this.message)}`;\n return cmdStr;\n }\n}\nfunction escapeData(s) {\n return (0, utils_1.toCommandValue)(s)\n .replace(/%/g, '%25')\n .replace(/\\r/g, '%0D')\n .replace(/\\n/g, '%0A');\n}\nfunction escapeProperty(s) {\n return (0, utils_1.toCommandValue)(s)\n .replace(/%/g, '%25')\n .replace(/\\r/g, '%0D')\n .replace(/\\n/g, '%0A')\n .replace(/:/g, '%3A')\n .replace(/,/g, '%2C');\n}\n//# sourceMappingURL=command.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.platform = exports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = exports.markdownSummary = exports.summary = exports.ExitCode = void 0;\nexports.exportVariable = exportVariable;\nexports.setSecret = setSecret;\nexports.addPath = addPath;\nexports.getInput = getInput;\nexports.getMultilineInput = getMultilineInput;\nexports.getBooleanInput = getBooleanInput;\nexports.setOutput = setOutput;\nexports.setCommandEcho = setCommandEcho;\nexports.setFailed = setFailed;\nexports.isDebug = isDebug;\nexports.debug = debug;\nexports.error = error;\nexports.warning = warning;\nexports.notice = notice;\nexports.info = info;\nexports.startGroup = startGroup;\nexports.endGroup = endGroup;\nexports.group = group;\nexports.saveState = saveState;\nexports.getState = getState;\nexports.getIDToken = getIDToken;\nconst command_1 = require(\"./command\");\nconst file_command_1 = require(\"./file-command\");\nconst utils_1 = require(\"./utils\");\nconst os = __importStar(require(\"os\"));\nconst path = __importStar(require(\"path\"));\nconst oidc_utils_1 = require(\"./oidc-utils\");\n/**\n * The code to exit an action\n */\nvar ExitCode;\n(function (ExitCode) {\n /**\n * A code indicating that the action was successful\n */\n ExitCode[ExitCode[\"Success\"] = 0] = \"Success\";\n /**\n * A code indicating that the action was a failure\n */\n ExitCode[ExitCode[\"Failure\"] = 1] = \"Failure\";\n})(ExitCode || (exports.ExitCode = ExitCode = {}));\n//-----------------------------------------------------------------------\n// Variables\n//-----------------------------------------------------------------------\n/**\n * Sets env variable for this action and future actions in the job\n * @param name the name of the variable to set\n * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction exportVariable(name, val) {\n const convertedVal = (0, utils_1.toCommandValue)(val);\n process.env[name] = convertedVal;\n const filePath = process.env['GITHUB_ENV'] || '';\n if (filePath) {\n return (0, file_command_1.issueFileCommand)('ENV', (0, file_command_1.prepareKeyValueMessage)(name, val));\n }\n (0, command_1.issueCommand)('set-env', { name }, convertedVal);\n}\n/**\n * Registers a secret which will get masked from logs\n *\n * @param secret - Value of the secret to be masked\n * @remarks\n * This function instructs the Actions runner to mask the specified value in any\n * logs produced during the workflow run. Once registered, the secret value will\n * be replaced with asterisks (***) whenever it appears in console output, logs,\n * or error messages.\n *\n * This is useful for protecting sensitive information such as:\n * - API keys\n * - Access tokens\n * - Authentication credentials\n * - URL parameters containing signatures (SAS tokens)\n *\n * Note that masking only affects future logs; any previous appearances of the\n * secret in logs before calling this function will remain unmasked.\n *\n * @example\n * ```typescript\n * // Register an API token as a secret\n * const apiToken = \"abc123xyz456\";\n * setSecret(apiToken);\n *\n * // Now any logs containing this value will show *** instead\n * console.log(`Using token: ${apiToken}`); // Outputs: \"Using token: ***\"\n * ```\n */\nfunction setSecret(secret) {\n (0, command_1.issueCommand)('add-mask', {}, secret);\n}\n/**\n * Prepends inputPath to the PATH (for this action and future actions)\n * @param inputPath\n */\nfunction addPath(inputPath) {\n const filePath = process.env['GITHUB_PATH'] || '';\n if (filePath) {\n (0, file_command_1.issueFileCommand)('PATH', inputPath);\n }\n else {\n (0, command_1.issueCommand)('add-path', {}, inputPath);\n }\n process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`;\n}\n/**\n * Gets the value of an input.\n * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed.\n * Returns an empty string if the value is not defined.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string\n */\nfunction getInput(name, options) {\n const val = process.env[`INPUT_${name.replace(/ /g, '_').toUpperCase()}`] || '';\n if (options && options.required && !val) {\n throw new Error(`Input required and not supplied: ${name}`);\n }\n if (options && options.trimWhitespace === false) {\n return val;\n }\n return val.trim();\n}\n/**\n * Gets the values of an multiline input. Each value is also trimmed.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string[]\n *\n */\nfunction getMultilineInput(name, options) {\n const inputs = getInput(name, options)\n .split('\\n')\n .filter(x => x !== '');\n if (options && options.trimWhitespace === false) {\n return inputs;\n }\n return inputs.map(input => input.trim());\n}\n/**\n * Gets the input value of the boolean type in the YAML 1.2 \"core schema\" specification.\n * Support boolean input list: `true | True | TRUE | false | False | FALSE` .\n * The return value is also in boolean type.\n * ref: https://yaml.org/spec/1.2/spec.html#id2804923\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns boolean\n */\nfunction getBooleanInput(name, options) {\n const trueValue = ['true', 'True', 'TRUE'];\n const falseValue = ['false', 'False', 'FALSE'];\n const val = getInput(name, options);\n if (trueValue.includes(val))\n return true;\n if (falseValue.includes(val))\n return false;\n throw new TypeError(`Input does not meet YAML 1.2 \"Core Schema\" specification: ${name}\\n` +\n `Support boolean input list: \\`true | True | TRUE | false | False | FALSE\\``);\n}\n/**\n * Sets the value of an output.\n *\n * @param name name of the output to set\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction setOutput(name, value) {\n const filePath = process.env['GITHUB_OUTPUT'] || '';\n if (filePath) {\n return (0, file_command_1.issueFileCommand)('OUTPUT', (0, file_command_1.prepareKeyValueMessage)(name, value));\n }\n process.stdout.write(os.EOL);\n (0, command_1.issueCommand)('set-output', { name }, (0, utils_1.toCommandValue)(value));\n}\n/**\n * Enables or disables the echoing of commands into stdout for the rest of the step.\n * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set.\n *\n */\nfunction setCommandEcho(enabled) {\n (0, command_1.issue)('echo', enabled ? 'on' : 'off');\n}\n//-----------------------------------------------------------------------\n// Results\n//-----------------------------------------------------------------------\n/**\n * Sets the action status to failed.\n * When the action exits it will be with an exit code of 1\n * @param message add error issue message\n */\nfunction setFailed(message) {\n process.exitCode = ExitCode.Failure;\n error(message);\n}\n//-----------------------------------------------------------------------\n// Logging Commands\n//-----------------------------------------------------------------------\n/**\n * Gets whether Actions Step Debug is on or not\n */\nfunction isDebug() {\n return process.env['RUNNER_DEBUG'] === '1';\n}\n/**\n * Writes debug message to user log\n * @param message debug message\n */\nfunction debug(message) {\n (0, command_1.issueCommand)('debug', {}, message);\n}\n/**\n * Adds an error issue\n * @param message error issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction error(message, properties = {}) {\n (0, command_1.issueCommand)('error', (0, utils_1.toCommandProperties)(properties), message instanceof Error ? message.toString() : message);\n}\n/**\n * Adds a warning issue\n * @param message warning issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction warning(message, properties = {}) {\n (0, command_1.issueCommand)('warning', (0, utils_1.toCommandProperties)(properties), message instanceof Error ? message.toString() : message);\n}\n/**\n * Adds a notice issue\n * @param message notice issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction notice(message, properties = {}) {\n (0, command_1.issueCommand)('notice', (0, utils_1.toCommandProperties)(properties), message instanceof Error ? message.toString() : message);\n}\n/**\n * Writes info to log with console.log.\n * @param message info message\n */\nfunction info(message) {\n process.stdout.write(message + os.EOL);\n}\n/**\n * Begin an output group.\n *\n * Output until the next `groupEnd` will be foldable in this group\n *\n * @param name The name of the output group\n */\nfunction startGroup(name) {\n (0, command_1.issue)('group', name);\n}\n/**\n * End an output group.\n */\nfunction endGroup() {\n (0, command_1.issue)('endgroup');\n}\n/**\n * Wrap an asynchronous function call in a group.\n *\n * Returns the same type as the function itself.\n *\n * @param name The name of the group\n * @param fn The function to wrap in the group\n */\nfunction group(name, fn) {\n return __awaiter(this, void 0, void 0, function* () {\n startGroup(name);\n let result;\n try {\n result = yield fn();\n }\n finally {\n endGroup();\n }\n return result;\n });\n}\n//-----------------------------------------------------------------------\n// Wrapper action state\n//-----------------------------------------------------------------------\n/**\n * Saves state for current action, the state can only be retrieved by this action's post job execution.\n *\n * @param name name of the state to store\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction saveState(name, value) {\n const filePath = process.env['GITHUB_STATE'] || '';\n if (filePath) {\n return (0, file_command_1.issueFileCommand)('STATE', (0, file_command_1.prepareKeyValueMessage)(name, value));\n }\n (0, command_1.issueCommand)('save-state', { name }, (0, utils_1.toCommandValue)(value));\n}\n/**\n * Gets the value of an state set by this action's main execution.\n *\n * @param name name of the state to get\n * @returns string\n */\nfunction getState(name) {\n return process.env[`STATE_${name}`] || '';\n}\nfunction getIDToken(aud) {\n return __awaiter(this, void 0, void 0, function* () {\n return yield oidc_utils_1.OidcClient.getIDToken(aud);\n });\n}\n/**\n * Summary exports\n */\nvar summary_1 = require(\"./summary\");\nObject.defineProperty(exports, \"summary\", { enumerable: true, get: function () { return summary_1.summary; } });\n/**\n * @deprecated use core.summary\n */\nvar summary_2 = require(\"./summary\");\nObject.defineProperty(exports, \"markdownSummary\", { enumerable: true, get: function () { return summary_2.markdownSummary; } });\n/**\n * Path exports\n */\nvar path_utils_1 = require(\"./path-utils\");\nObject.defineProperty(exports, \"toPosixPath\", { enumerable: true, get: function () { return path_utils_1.toPosixPath; } });\nObject.defineProperty(exports, \"toWin32Path\", { enumerable: true, get: function () { return path_utils_1.toWin32Path; } });\nObject.defineProperty(exports, \"toPlatformPath\", { enumerable: true, get: function () { return path_utils_1.toPlatformPath; } });\n/**\n * Platform utilities exports\n */\nexports.platform = __importStar(require(\"./platform\"));\n//# sourceMappingURL=core.js.map","\"use strict\";\n// For internal use, subject to change.\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.issueFileCommand = issueFileCommand;\nexports.prepareKeyValueMessage = prepareKeyValueMessage;\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */\nconst crypto = __importStar(require(\"crypto\"));\nconst fs = __importStar(require(\"fs\"));\nconst os = __importStar(require(\"os\"));\nconst utils_1 = require(\"./utils\");\nfunction issueFileCommand(command, message) {\n const filePath = process.env[`GITHUB_${command}`];\n if (!filePath) {\n throw new Error(`Unable to find environment variable for file command ${command}`);\n }\n if (!fs.existsSync(filePath)) {\n throw new Error(`Missing file at path: ${filePath}`);\n }\n fs.appendFileSync(filePath, `${(0, utils_1.toCommandValue)(message)}${os.EOL}`, {\n encoding: 'utf8'\n });\n}\nfunction prepareKeyValueMessage(key, value) {\n const delimiter = `ghadelimiter_${crypto.randomUUID()}`;\n const convertedValue = (0, utils_1.toCommandValue)(value);\n // These should realistically never happen, but just in case someone finds a\n // way to exploit uuid generation let's not allow keys or values that contain\n // the delimiter.\n if (key.includes(delimiter)) {\n throw new Error(`Unexpected input: name should not contain the delimiter \"${delimiter}\"`);\n }\n if (convertedValue.includes(delimiter)) {\n throw new Error(`Unexpected input: value should not contain the delimiter \"${delimiter}\"`);\n }\n return `${key}<<${delimiter}${os.EOL}${convertedValue}${os.EOL}${delimiter}`;\n}\n//# sourceMappingURL=file-command.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.OidcClient = void 0;\nconst http_client_1 = require(\"@actions/http-client\");\nconst auth_1 = require(\"@actions/http-client/lib/auth\");\nconst core_1 = require(\"./core\");\nclass OidcClient {\n static createHttpClient(allowRetry = true, maxRetry = 10) {\n const requestOptions = {\n allowRetries: allowRetry,\n maxRetries: maxRetry\n };\n return new http_client_1.HttpClient('actions/oidc-client', [new auth_1.BearerCredentialHandler(OidcClient.getRequestToken())], requestOptions);\n }\n static getRequestToken() {\n const token = process.env['ACTIONS_ID_TOKEN_REQUEST_TOKEN'];\n if (!token) {\n throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable');\n }\n return token;\n }\n static getIDTokenUrl() {\n const runtimeUrl = process.env['ACTIONS_ID_TOKEN_REQUEST_URL'];\n if (!runtimeUrl) {\n throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable');\n }\n return runtimeUrl;\n }\n static getCall(id_token_url) {\n return __awaiter(this, void 0, void 0, function* () {\n var _a;\n const httpclient = OidcClient.createHttpClient();\n const res = yield httpclient\n .getJson(id_token_url)\n .catch(error => {\n throw new Error(`Failed to get ID Token. \\n \n Error Code : ${error.statusCode}\\n \n Error Message: ${error.message}`);\n });\n const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;\n if (!id_token) {\n throw new Error('Response json body do not have ID Token field');\n }\n return id_token;\n });\n }\n static getIDToken(audience) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n // New ID Token is requested from action service\n let id_token_url = OidcClient.getIDTokenUrl();\n if (audience) {\n const encodedAudience = encodeURIComponent(audience);\n id_token_url = `${id_token_url}&audience=${encodedAudience}`;\n }\n (0, core_1.debug)(`ID token url is ${id_token_url}`);\n const id_token = yield OidcClient.getCall(id_token_url);\n (0, core_1.setSecret)(id_token);\n return id_token;\n }\n catch (error) {\n throw new Error(`Error message: ${error.message}`);\n }\n });\n }\n}\nexports.OidcClient = OidcClient;\n//# sourceMappingURL=oidc-utils.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toPosixPath = toPosixPath;\nexports.toWin32Path = toWin32Path;\nexports.toPlatformPath = toPlatformPath;\nconst path = __importStar(require(\"path\"));\n/**\n * toPosixPath converts the given path to the posix form. On Windows, \\\\ will be\n * replaced with /.\n *\n * @param pth. Path to transform.\n * @return string Posix path.\n */\nfunction toPosixPath(pth) {\n return pth.replace(/[\\\\]/g, '/');\n}\n/**\n * toWin32Path converts the given path to the win32 form. On Linux, / will be\n * replaced with \\\\.\n *\n * @param pth. Path to transform.\n * @return string Win32 path.\n */\nfunction toWin32Path(pth) {\n return pth.replace(/[/]/g, '\\\\');\n}\n/**\n * toPlatformPath converts the given path to a platform-specific path. It does\n * this by replacing instances of / and \\ with the platform-specific path\n * separator.\n *\n * @param pth The path to platformize.\n * @return string The platform-specific path.\n */\nfunction toPlatformPath(pth) {\n return pth.replace(/[/\\\\]/g, path.sep);\n}\n//# sourceMappingURL=path-utils.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isLinux = exports.isMacOS = exports.isWindows = exports.arch = exports.platform = void 0;\nexports.getDetails = getDetails;\nconst os_1 = __importDefault(require(\"os\"));\nconst exec = __importStar(require(\"@actions/exec\"));\nconst getWindowsInfo = () => __awaiter(void 0, void 0, void 0, function* () {\n const { stdout: version } = yield exec.getExecOutput('powershell -command \"(Get-CimInstance -ClassName Win32_OperatingSystem).Version\"', undefined, {\n silent: true\n });\n const { stdout: name } = yield exec.getExecOutput('powershell -command \"(Get-CimInstance -ClassName Win32_OperatingSystem).Caption\"', undefined, {\n silent: true\n });\n return {\n name: name.trim(),\n version: version.trim()\n };\n});\nconst getMacOsInfo = () => __awaiter(void 0, void 0, void 0, function* () {\n var _a, _b, _c, _d;\n const { stdout } = yield exec.getExecOutput('sw_vers', undefined, {\n silent: true\n });\n const version = (_b = (_a = stdout.match(/ProductVersion:\\s*(.+)/)) === null || _a === void 0 ? void 0 : _a[1]) !== null && _b !== void 0 ? _b : '';\n const name = (_d = (_c = stdout.match(/ProductName:\\s*(.+)/)) === null || _c === void 0 ? void 0 : _c[1]) !== null && _d !== void 0 ? _d : '';\n return {\n name,\n version\n };\n});\nconst getLinuxInfo = () => __awaiter(void 0, void 0, void 0, function* () {\n const { stdout } = yield exec.getExecOutput('lsb_release', ['-i', '-r', '-s'], {\n silent: true\n });\n const [name, version] = stdout.trim().split('\\n');\n return {\n name,\n version\n };\n});\nexports.platform = os_1.default.platform();\nexports.arch = os_1.default.arch();\nexports.isWindows = exports.platform === 'win32';\nexports.isMacOS = exports.platform === 'darwin';\nexports.isLinux = exports.platform === 'linux';\nfunction getDetails() {\n return __awaiter(this, void 0, void 0, function* () {\n return Object.assign(Object.assign({}, (yield (exports.isWindows\n ? getWindowsInfo()\n : exports.isMacOS\n ? getMacOsInfo()\n : getLinuxInfo()))), { platform: exports.platform,\n arch: exports.arch,\n isWindows: exports.isWindows,\n isMacOS: exports.isMacOS,\n isLinux: exports.isLinux });\n });\n}\n//# sourceMappingURL=platform.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.summary = exports.markdownSummary = exports.SUMMARY_DOCS_URL = exports.SUMMARY_ENV_VAR = void 0;\nconst os_1 = require(\"os\");\nconst fs_1 = require(\"fs\");\nconst { access, appendFile, writeFile } = fs_1.promises;\nexports.SUMMARY_ENV_VAR = 'GITHUB_STEP_SUMMARY';\nexports.SUMMARY_DOCS_URL = 'https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary';\nclass Summary {\n constructor() {\n this._buffer = '';\n }\n /**\n * Finds the summary file path from the environment, rejects if env var is not found or file does not exist\n * Also checks r/w permissions.\n *\n * @returns step summary file path\n */\n filePath() {\n return __awaiter(this, void 0, void 0, function* () {\n if (this._filePath) {\n return this._filePath;\n }\n const pathFromEnv = process.env[exports.SUMMARY_ENV_VAR];\n if (!pathFromEnv) {\n throw new Error(`Unable to find environment variable for $${exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);\n }\n try {\n yield access(pathFromEnv, fs_1.constants.R_OK | fs_1.constants.W_OK);\n }\n catch (_a) {\n throw new Error(`Unable to access summary file: '${pathFromEnv}'. Check if the file has correct read/write permissions.`);\n }\n this._filePath = pathFromEnv;\n return this._filePath;\n });\n }\n /**\n * Wraps content in an HTML tag, adding any HTML attributes\n *\n * @param {string} tag HTML tag to wrap\n * @param {string | null} content content within the tag\n * @param {[attribute: string]: string} attrs key-value list of HTML attributes to add\n *\n * @returns {string} content wrapped in HTML element\n */\n wrap(tag, content, attrs = {}) {\n const htmlAttrs = Object.entries(attrs)\n .map(([key, value]) => ` ${key}=\"${value}\"`)\n .join('');\n if (!content) {\n return `<${tag}${htmlAttrs}>`;\n }\n return `<${tag}${htmlAttrs}>${content}`;\n }\n /**\n * Writes text in the buffer to the summary buffer file and empties buffer. Will append by default.\n *\n * @param {SummaryWriteOptions} [options] (optional) options for write operation\n *\n * @returns {Promise} summary instance\n */\n write(options) {\n return __awaiter(this, void 0, void 0, function* () {\n const overwrite = !!(options === null || options === void 0 ? void 0 : options.overwrite);\n const filePath = yield this.filePath();\n const writeFunc = overwrite ? writeFile : appendFile;\n yield writeFunc(filePath, this._buffer, { encoding: 'utf8' });\n return this.emptyBuffer();\n });\n }\n /**\n * Clears the summary buffer and wipes the summary file\n *\n * @returns {Summary} summary instance\n */\n clear() {\n return __awaiter(this, void 0, void 0, function* () {\n return this.emptyBuffer().write({ overwrite: true });\n });\n }\n /**\n * Returns the current summary buffer as a string\n *\n * @returns {string} string of summary buffer\n */\n stringify() {\n return this._buffer;\n }\n /**\n * If the summary buffer is empty\n *\n * @returns {boolen} true if the buffer is empty\n */\n isEmptyBuffer() {\n return this._buffer.length === 0;\n }\n /**\n * Resets the summary buffer without writing to summary file\n *\n * @returns {Summary} summary instance\n */\n emptyBuffer() {\n this._buffer = '';\n return this;\n }\n /**\n * Adds raw text to the summary buffer\n *\n * @param {string} text content to add\n * @param {boolean} [addEOL=false] (optional) append an EOL to the raw text (default: false)\n *\n * @returns {Summary} summary instance\n */\n addRaw(text, addEOL = false) {\n this._buffer += text;\n return addEOL ? this.addEOL() : this;\n }\n /**\n * Adds the operating system-specific end-of-line marker to the buffer\n *\n * @returns {Summary} summary instance\n */\n addEOL() {\n return this.addRaw(os_1.EOL);\n }\n /**\n * Adds an HTML codeblock to the summary buffer\n *\n * @param {string} code content to render within fenced code block\n * @param {string} lang (optional) language to syntax highlight code\n *\n * @returns {Summary} summary instance\n */\n addCodeBlock(code, lang) {\n const attrs = Object.assign({}, (lang && { lang }));\n const element = this.wrap('pre', this.wrap('code', code), attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML list to the summary buffer\n *\n * @param {string[]} items list of items to render\n * @param {boolean} [ordered=false] (optional) if the rendered list should be ordered or not (default: false)\n *\n * @returns {Summary} summary instance\n */\n addList(items, ordered = false) {\n const tag = ordered ? 'ol' : 'ul';\n const listItems = items.map(item => this.wrap('li', item)).join('');\n const element = this.wrap(tag, listItems);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML table to the summary buffer\n *\n * @param {SummaryTableCell[]} rows table rows\n *\n * @returns {Summary} summary instance\n */\n addTable(rows) {\n const tableBody = rows\n .map(row => {\n const cells = row\n .map(cell => {\n if (typeof cell === 'string') {\n return this.wrap('td', cell);\n }\n const { header, data, colspan, rowspan } = cell;\n const tag = header ? 'th' : 'td';\n const attrs = Object.assign(Object.assign({}, (colspan && { colspan })), (rowspan && { rowspan }));\n return this.wrap(tag, data, attrs);\n })\n .join('');\n return this.wrap('tr', cells);\n })\n .join('');\n const element = this.wrap('table', tableBody);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds a collapsable HTML details element to the summary buffer\n *\n * @param {string} label text for the closed state\n * @param {string} content collapsable content\n *\n * @returns {Summary} summary instance\n */\n addDetails(label, content) {\n const element = this.wrap('details', this.wrap('summary', label) + content);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML image tag to the summary buffer\n *\n * @param {string} src path to the image you to embed\n * @param {string} alt text description of the image\n * @param {SummaryImageOptions} options (optional) addition image attributes\n *\n * @returns {Summary} summary instance\n */\n addImage(src, alt, options) {\n const { width, height } = options || {};\n const attrs = Object.assign(Object.assign({}, (width && { width })), (height && { height }));\n const element = this.wrap('img', null, Object.assign({ src, alt }, attrs));\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML section heading element\n *\n * @param {string} text heading text\n * @param {number | string} [level=1] (optional) the heading level, default: 1\n *\n * @returns {Summary} summary instance\n */\n addHeading(text, level) {\n const tag = `h${level}`;\n const allowedTag = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'].includes(tag)\n ? tag\n : 'h1';\n const element = this.wrap(allowedTag, text);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML thematic break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */\n addSeparator() {\n const element = this.wrap('hr', null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML line break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */\n addBreak() {\n const element = this.wrap('br', null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML blockquote to the summary buffer\n *\n * @param {string} text quote text\n * @param {string} cite (optional) citation url\n *\n * @returns {Summary} summary instance\n */\n addQuote(text, cite) {\n const attrs = Object.assign({}, (cite && { cite }));\n const element = this.wrap('blockquote', text, attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML anchor tag to the summary buffer\n *\n * @param {string} text link text/content\n * @param {string} href hyperlink\n *\n * @returns {Summary} summary instance\n */\n addLink(text, href) {\n const element = this.wrap('a', text, { href });\n return this.addRaw(element).addEOL();\n }\n}\nconst _summary = new Summary();\n/**\n * @deprecated use `core.summary`\n */\nexports.markdownSummary = _summary;\nexports.summary = _summary;\n//# sourceMappingURL=summary.js.map","\"use strict\";\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toCommandValue = toCommandValue;\nexports.toCommandProperties = toCommandProperties;\n/**\n * Sanitizes an input into a string so it can be passed into issueCommand safely\n * @param input input to sanitize into a string\n */\nfunction toCommandValue(input) {\n if (input === null || input === undefined) {\n return '';\n }\n else if (typeof input === 'string' || input instanceof String) {\n return input;\n }\n return JSON.stringify(input);\n}\n/**\n *\n * @param annotationProperties\n * @returns The command properties to send with the actual annotation command\n * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646\n */\nfunction toCommandProperties(annotationProperties) {\n if (!Object.keys(annotationProperties).length) {\n return {};\n }\n return {\n title: annotationProperties.title,\n file: annotationProperties.file,\n line: annotationProperties.startLine,\n endLine: annotationProperties.endLine,\n col: annotationProperties.startColumn,\n endColumn: annotationProperties.endColumn\n };\n}\n//# sourceMappingURL=utils.js.map","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\n// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n/// \nconst listenersMap = new WeakMap();\nconst abortedMap = new WeakMap();\n/**\n * An aborter instance implements AbortSignal interface, can abort HTTP requests.\n *\n * - Call AbortSignal.none to create a new AbortSignal instance that cannot be cancelled.\n * Use `AbortSignal.none` when you are required to pass a cancellation token but the operation\n * cannot or will not ever be cancelled.\n *\n * @example\n * Abort without timeout\n * ```ts\n * await doAsyncWork(AbortSignal.none);\n * ```\n */\nclass AbortSignal {\n constructor() {\n /**\n * onabort event listener.\n */\n this.onabort = null;\n listenersMap.set(this, []);\n abortedMap.set(this, false);\n }\n /**\n * Status of whether aborted or not.\n *\n * @readonly\n */\n get aborted() {\n if (!abortedMap.has(this)) {\n throw new TypeError(\"Expected `this` to be an instance of AbortSignal.\");\n }\n return abortedMap.get(this);\n }\n /**\n * Creates a new AbortSignal instance that will never be aborted.\n *\n * @readonly\n */\n static get none() {\n return new AbortSignal();\n }\n /**\n * Added new \"abort\" event listener, only support \"abort\" event.\n *\n * @param _type - Only support \"abort\" event\n * @param listener - The listener to be added\n */\n addEventListener(\n // tslint:disable-next-line:variable-name\n _type, listener) {\n if (!listenersMap.has(this)) {\n throw new TypeError(\"Expected `this` to be an instance of AbortSignal.\");\n }\n const listeners = listenersMap.get(this);\n listeners.push(listener);\n }\n /**\n * Remove \"abort\" event listener, only support \"abort\" event.\n *\n * @param _type - Only support \"abort\" event\n * @param listener - The listener to be removed\n */\n removeEventListener(\n // tslint:disable-next-line:variable-name\n _type, listener) {\n if (!listenersMap.has(this)) {\n throw new TypeError(\"Expected `this` to be an instance of AbortSignal.\");\n }\n const listeners = listenersMap.get(this);\n const index = listeners.indexOf(listener);\n if (index > -1) {\n listeners.splice(index, 1);\n }\n }\n /**\n * Dispatches a synthetic event to the AbortSignal.\n */\n dispatchEvent(_event) {\n throw new Error(\"This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes.\");\n }\n}\n/**\n * Helper to trigger an abort event immediately, the onabort and all abort event listeners will be triggered.\n * Will try to trigger abort event for all linked AbortSignal nodes.\n *\n * - If there is a timeout, the timer will be cancelled.\n * - If aborted is true, nothing will happen.\n *\n * @internal\n */\n// eslint-disable-next-line @azure/azure-sdk/ts-use-interface-parameters\nfunction abortSignal(signal) {\n if (signal.aborted) {\n return;\n }\n if (signal.onabort) {\n signal.onabort.call(signal);\n }\n const listeners = listenersMap.get(signal);\n if (listeners) {\n // Create a copy of listeners so mutations to the array\n // (e.g. via removeListener calls) don't affect the listeners\n // we invoke.\n listeners.slice().forEach((listener) => {\n listener.call(signal, { type: \"abort\" });\n });\n }\n abortedMap.set(signal, true);\n}\n\n// Copyright (c) Microsoft Corporation.\n/**\n * This error is thrown when an asynchronous operation has been aborted.\n * Check for this error by testing the `name` that the name property of the\n * error matches `\"AbortError\"`.\n *\n * @example\n * ```ts\n * const controller = new AbortController();\n * controller.abort();\n * try {\n * doAsyncWork(controller.signal)\n * } catch (e) {\n * if (e.name === 'AbortError') {\n * // handle abort error here.\n * }\n * }\n * ```\n */\nclass AbortError extends Error {\n constructor(message) {\n super(message);\n this.name = \"AbortError\";\n }\n}\n/**\n * An AbortController provides an AbortSignal and the associated controls to signal\n * that an asynchronous operation should be aborted.\n *\n * @example\n * Abort an operation when another event fires\n * ```ts\n * const controller = new AbortController();\n * const signal = controller.signal;\n * doAsyncWork(signal);\n * button.addEventListener('click', () => controller.abort());\n * ```\n *\n * @example\n * Share aborter cross multiple operations in 30s\n * ```ts\n * // Upload the same data to 2 different data centers at the same time,\n * // abort another when any of them is finished\n * const controller = AbortController.withTimeout(30 * 1000);\n * doAsyncWork(controller.signal).then(controller.abort);\n * doAsyncWork(controller.signal).then(controller.abort);\n *```\n *\n * @example\n * Cascaded aborting\n * ```ts\n * // All operations can't take more than 30 seconds\n * const aborter = Aborter.timeout(30 * 1000);\n *\n * // Following 2 operations can't take more than 25 seconds\n * await doAsyncWork(aborter.withTimeout(25 * 1000));\n * await doAsyncWork(aborter.withTimeout(25 * 1000));\n * ```\n */\nclass AbortController {\n // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\n constructor(parentSignals) {\n this._signal = new AbortSignal();\n if (!parentSignals) {\n return;\n }\n // coerce parentSignals into an array\n if (!Array.isArray(parentSignals)) {\n // eslint-disable-next-line prefer-rest-params\n parentSignals = arguments;\n }\n for (const parentSignal of parentSignals) {\n // if the parent signal has already had abort() called,\n // then call abort on this signal as well.\n if (parentSignal.aborted) {\n this.abort();\n }\n else {\n // when the parent signal aborts, this signal should as well.\n parentSignal.addEventListener(\"abort\", () => {\n this.abort();\n });\n }\n }\n }\n /**\n * The AbortSignal associated with this controller that will signal aborted\n * when the abort method is called on this controller.\n *\n * @readonly\n */\n get signal() {\n return this._signal;\n }\n /**\n * Signal that any operations passed this controller's associated abort signal\n * to cancel any remaining work and throw an `AbortError`.\n */\n abort() {\n abortSignal(this._signal);\n }\n /**\n * Creates a new AbortSignal instance that will abort after the provided ms.\n * @param ms - Elapsed time in milliseconds to trigger an abort.\n */\n static timeout(ms) {\n const signal = new AbortSignal();\n const timer = setTimeout(abortSignal, ms, signal);\n // Prevent the active Timer from keeping the Node.js event loop active.\n if (typeof timer.unref === \"function\") {\n timer.unref();\n }\n return signal;\n }\n}\n\nexports.AbortController = AbortController;\nexports.AbortError = AbortError;\nexports.AbortSignal = AbortSignal;\n//# sourceMappingURL=index.js.map\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ClientStreamingCall = void 0;\n/**\n * A client streaming RPC call. This means that the clients sends 0, 1, or\n * more messages to the server, and the server replies with exactly one\n * message.\n */\nclass ClientStreamingCall {\n constructor(method, requestHeaders, request, headers, response, status, trailers) {\n this.method = method;\n this.requestHeaders = requestHeaders;\n this.requests = request;\n this.headers = headers;\n this.response = response;\n this.status = status;\n this.trailers = trailers;\n }\n /**\n * Instead of awaiting the response status and trailers, you can\n * just as well await this call itself to receive the server outcome.\n * Note that it may still be valid to send more request messages.\n */\n then(onfulfilled, onrejected) {\n return this.promiseFinished().then(value => onfulfilled ? Promise.resolve(onfulfilled(value)) : value, reason => onrejected ? Promise.resolve(onrejected(reason)) : Promise.reject(reason));\n }\n promiseFinished() {\n return __awaiter(this, void 0, void 0, function* () {\n let [headers, response, status, trailers] = yield Promise.all([this.headers, this.response, this.status, this.trailers]);\n return {\n method: this.method,\n requestHeaders: this.requestHeaders,\n headers,\n response,\n status,\n trailers\n };\n });\n }\n}\nexports.ClientStreamingCall = ClientStreamingCall;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Deferred = exports.DeferredState = void 0;\nvar DeferredState;\n(function (DeferredState) {\n DeferredState[DeferredState[\"PENDING\"] = 0] = \"PENDING\";\n DeferredState[DeferredState[\"REJECTED\"] = 1] = \"REJECTED\";\n DeferredState[DeferredState[\"RESOLVED\"] = 2] = \"RESOLVED\";\n})(DeferredState = exports.DeferredState || (exports.DeferredState = {}));\n/**\n * A deferred promise. This is a \"controller\" for a promise, which lets you\n * pass a promise around and reject or resolve it from the outside.\n *\n * Warning: This class is to be used with care. Using it can make code very\n * difficult to read. It is intended for use in library code that exposes\n * promises, not for regular business logic.\n */\nclass Deferred {\n /**\n * @param preventUnhandledRejectionWarning - prevents the warning\n * \"Unhandled Promise rejection\" by adding a noop rejection handler.\n * Working with calls returned from the runtime-rpc package in an\n * async function usually means awaiting one call property after\n * the other. This means that the \"status\" is not being awaited when\n * an earlier await for the \"headers\" is rejected. This causes the\n * \"unhandled promise reject\" warning. A more correct behaviour for\n * calls might be to become aware whether at least one of the\n * promises is handled and swallow the rejection warning for the\n * others.\n */\n constructor(preventUnhandledRejectionWarning = true) {\n this._state = DeferredState.PENDING;\n this._promise = new Promise((resolve, reject) => {\n this._resolve = resolve;\n this._reject = reject;\n });\n if (preventUnhandledRejectionWarning) {\n this._promise.catch(_ => { });\n }\n }\n /**\n * Get the current state of the promise.\n */\n get state() {\n return this._state;\n }\n /**\n * Get the deferred promise.\n */\n get promise() {\n return this._promise;\n }\n /**\n * Resolve the promise. Throws if the promise is already resolved or rejected.\n */\n resolve(value) {\n if (this.state !== DeferredState.PENDING)\n throw new Error(`cannot resolve ${DeferredState[this.state].toLowerCase()}`);\n this._resolve(value);\n this._state = DeferredState.RESOLVED;\n }\n /**\n * Reject the promise. Throws if the promise is already resolved or rejected.\n */\n reject(reason) {\n if (this.state !== DeferredState.PENDING)\n throw new Error(`cannot reject ${DeferredState[this.state].toLowerCase()}`);\n this._reject(reason);\n this._state = DeferredState.REJECTED;\n }\n /**\n * Resolve the promise. Ignore if not pending.\n */\n resolvePending(val) {\n if (this._state === DeferredState.PENDING)\n this.resolve(val);\n }\n /**\n * Reject the promise. Ignore if not pending.\n */\n rejectPending(reason) {\n if (this._state === DeferredState.PENDING)\n this.reject(reason);\n }\n}\nexports.Deferred = Deferred;\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DuplexStreamingCall = void 0;\n/**\n * A duplex streaming RPC call. This means that the clients sends an\n * arbitrary amount of messages to the server, while at the same time,\n * the server sends an arbitrary amount of messages to the client.\n */\nclass DuplexStreamingCall {\n constructor(method, requestHeaders, request, headers, response, status, trailers) {\n this.method = method;\n this.requestHeaders = requestHeaders;\n this.requests = request;\n this.headers = headers;\n this.responses = response;\n this.status = status;\n this.trailers = trailers;\n }\n /**\n * Instead of awaiting the response status and trailers, you can\n * just as well await this call itself to receive the server outcome.\n * Note that it may still be valid to send more request messages.\n */\n then(onfulfilled, onrejected) {\n return this.promiseFinished().then(value => onfulfilled ? Promise.resolve(onfulfilled(value)) : value, reason => onrejected ? Promise.resolve(onrejected(reason)) : Promise.reject(reason));\n }\n promiseFinished() {\n return __awaiter(this, void 0, void 0, function* () {\n let [headers, status, trailers] = yield Promise.all([this.headers, this.status, this.trailers]);\n return {\n method: this.method,\n requestHeaders: this.requestHeaders,\n headers,\n status,\n trailers,\n };\n });\n }\n}\nexports.DuplexStreamingCall = DuplexStreamingCall;\n","\"use strict\";\n// Public API of the rpc runtime.\n// Note: we do not use `export * from ...` to help tree shakers,\n// webpack verbose output hints that this should be useful\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar service_type_1 = require(\"./service-type\");\nObject.defineProperty(exports, \"ServiceType\", { enumerable: true, get: function () { return service_type_1.ServiceType; } });\nvar reflection_info_1 = require(\"./reflection-info\");\nObject.defineProperty(exports, \"readMethodOptions\", { enumerable: true, get: function () { return reflection_info_1.readMethodOptions; } });\nObject.defineProperty(exports, \"readMethodOption\", { enumerable: true, get: function () { return reflection_info_1.readMethodOption; } });\nObject.defineProperty(exports, \"readServiceOption\", { enumerable: true, get: function () { return reflection_info_1.readServiceOption; } });\nvar rpc_error_1 = require(\"./rpc-error\");\nObject.defineProperty(exports, \"RpcError\", { enumerable: true, get: function () { return rpc_error_1.RpcError; } });\nvar rpc_options_1 = require(\"./rpc-options\");\nObject.defineProperty(exports, \"mergeRpcOptions\", { enumerable: true, get: function () { return rpc_options_1.mergeRpcOptions; } });\nvar rpc_output_stream_1 = require(\"./rpc-output-stream\");\nObject.defineProperty(exports, \"RpcOutputStreamController\", { enumerable: true, get: function () { return rpc_output_stream_1.RpcOutputStreamController; } });\nvar test_transport_1 = require(\"./test-transport\");\nObject.defineProperty(exports, \"TestTransport\", { enumerable: true, get: function () { return test_transport_1.TestTransport; } });\nvar deferred_1 = require(\"./deferred\");\nObject.defineProperty(exports, \"Deferred\", { enumerable: true, get: function () { return deferred_1.Deferred; } });\nObject.defineProperty(exports, \"DeferredState\", { enumerable: true, get: function () { return deferred_1.DeferredState; } });\nvar duplex_streaming_call_1 = require(\"./duplex-streaming-call\");\nObject.defineProperty(exports, \"DuplexStreamingCall\", { enumerable: true, get: function () { return duplex_streaming_call_1.DuplexStreamingCall; } });\nvar client_streaming_call_1 = require(\"./client-streaming-call\");\nObject.defineProperty(exports, \"ClientStreamingCall\", { enumerable: true, get: function () { return client_streaming_call_1.ClientStreamingCall; } });\nvar server_streaming_call_1 = require(\"./server-streaming-call\");\nObject.defineProperty(exports, \"ServerStreamingCall\", { enumerable: true, get: function () { return server_streaming_call_1.ServerStreamingCall; } });\nvar unary_call_1 = require(\"./unary-call\");\nObject.defineProperty(exports, \"UnaryCall\", { enumerable: true, get: function () { return unary_call_1.UnaryCall; } });\nvar rpc_interceptor_1 = require(\"./rpc-interceptor\");\nObject.defineProperty(exports, \"stackIntercept\", { enumerable: true, get: function () { return rpc_interceptor_1.stackIntercept; } });\nObject.defineProperty(exports, \"stackDuplexStreamingInterceptors\", { enumerable: true, get: function () { return rpc_interceptor_1.stackDuplexStreamingInterceptors; } });\nObject.defineProperty(exports, \"stackClientStreamingInterceptors\", { enumerable: true, get: function () { return rpc_interceptor_1.stackClientStreamingInterceptors; } });\nObject.defineProperty(exports, \"stackServerStreamingInterceptors\", { enumerable: true, get: function () { return rpc_interceptor_1.stackServerStreamingInterceptors; } });\nObject.defineProperty(exports, \"stackUnaryInterceptors\", { enumerable: true, get: function () { return rpc_interceptor_1.stackUnaryInterceptors; } });\nvar server_call_context_1 = require(\"./server-call-context\");\nObject.defineProperty(exports, \"ServerCallContextController\", { enumerable: true, get: function () { return server_call_context_1.ServerCallContextController; } });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.readServiceOption = exports.readMethodOption = exports.readMethodOptions = exports.normalizeMethodInfo = void 0;\nconst runtime_1 = require(\"@protobuf-ts/runtime\");\n/**\n * Turns PartialMethodInfo into MethodInfo.\n */\nfunction normalizeMethodInfo(method, service) {\n var _a, _b, _c;\n let m = method;\n m.service = service;\n m.localName = (_a = m.localName) !== null && _a !== void 0 ? _a : runtime_1.lowerCamelCase(m.name);\n // noinspection PointlessBooleanExpressionJS\n m.serverStreaming = !!m.serverStreaming;\n // noinspection PointlessBooleanExpressionJS\n m.clientStreaming = !!m.clientStreaming;\n m.options = (_b = m.options) !== null && _b !== void 0 ? _b : {};\n m.idempotency = (_c = m.idempotency) !== null && _c !== void 0 ? _c : undefined;\n return m;\n}\nexports.normalizeMethodInfo = normalizeMethodInfo;\n/**\n * Read custom method options from a generated service client.\n *\n * @deprecated use readMethodOption()\n */\nfunction readMethodOptions(service, methodName, extensionName, extensionType) {\n var _a;\n const options = (_a = service.methods.find((m, i) => m.localName === methodName || i === methodName)) === null || _a === void 0 ? void 0 : _a.options;\n return options && options[extensionName] ? extensionType.fromJson(options[extensionName]) : undefined;\n}\nexports.readMethodOptions = readMethodOptions;\nfunction readMethodOption(service, methodName, extensionName, extensionType) {\n var _a;\n const options = (_a = service.methods.find((m, i) => m.localName === methodName || i === methodName)) === null || _a === void 0 ? void 0 : _a.options;\n if (!options) {\n return undefined;\n }\n const optionVal = options[extensionName];\n if (optionVal === undefined) {\n return optionVal;\n }\n return extensionType ? extensionType.fromJson(optionVal) : optionVal;\n}\nexports.readMethodOption = readMethodOption;\nfunction readServiceOption(service, extensionName, extensionType) {\n const options = service.options;\n if (!options) {\n return undefined;\n }\n const optionVal = options[extensionName];\n if (optionVal === undefined) {\n return optionVal;\n }\n return extensionType ? extensionType.fromJson(optionVal) : optionVal;\n}\nexports.readServiceOption = readServiceOption;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RpcError = void 0;\n/**\n * An error that occurred while calling a RPC method.\n */\nclass RpcError extends Error {\n constructor(message, code = 'UNKNOWN', meta) {\n super(message);\n this.name = 'RpcError';\n // see https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-2.html#example\n Object.setPrototypeOf(this, new.target.prototype);\n this.code = code;\n this.meta = meta !== null && meta !== void 0 ? meta : {};\n }\n toString() {\n const l = [this.name + ': ' + this.message];\n if (this.code) {\n l.push('');\n l.push('Code: ' + this.code);\n }\n if (this.serviceName && this.methodName) {\n l.push('Method: ' + this.serviceName + '/' + this.methodName);\n }\n let m = Object.entries(this.meta);\n if (m.length) {\n l.push('');\n l.push('Meta:');\n for (let [k, v] of m) {\n l.push(` ${k}: ${v}`);\n }\n }\n return l.join('\\n');\n }\n}\nexports.RpcError = RpcError;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.stackDuplexStreamingInterceptors = exports.stackClientStreamingInterceptors = exports.stackServerStreamingInterceptors = exports.stackUnaryInterceptors = exports.stackIntercept = void 0;\nconst runtime_1 = require(\"@protobuf-ts/runtime\");\n/**\n * Creates a \"stack\" of of all interceptors specified in the given `RpcOptions`.\n * Used by generated client implementations.\n * @internal\n */\nfunction stackIntercept(kind, transport, method, options, input) {\n var _a, _b, _c, _d;\n if (kind == \"unary\") {\n let tail = (mtd, inp, opt) => transport.unary(mtd, inp, opt);\n for (const curr of ((_a = options.interceptors) !== null && _a !== void 0 ? _a : []).filter(i => i.interceptUnary).reverse()) {\n const next = tail;\n tail = (mtd, inp, opt) => curr.interceptUnary(next, mtd, inp, opt);\n }\n return tail(method, input, options);\n }\n if (kind == \"serverStreaming\") {\n let tail = (mtd, inp, opt) => transport.serverStreaming(mtd, inp, opt);\n for (const curr of ((_b = options.interceptors) !== null && _b !== void 0 ? _b : []).filter(i => i.interceptServerStreaming).reverse()) {\n const next = tail;\n tail = (mtd, inp, opt) => curr.interceptServerStreaming(next, mtd, inp, opt);\n }\n return tail(method, input, options);\n }\n if (kind == \"clientStreaming\") {\n let tail = (mtd, opt) => transport.clientStreaming(mtd, opt);\n for (const curr of ((_c = options.interceptors) !== null && _c !== void 0 ? _c : []).filter(i => i.interceptClientStreaming).reverse()) {\n const next = tail;\n tail = (mtd, opt) => curr.interceptClientStreaming(next, mtd, opt);\n }\n return tail(method, options);\n }\n if (kind == \"duplex\") {\n let tail = (mtd, opt) => transport.duplex(mtd, opt);\n for (const curr of ((_d = options.interceptors) !== null && _d !== void 0 ? _d : []).filter(i => i.interceptDuplex).reverse()) {\n const next = tail;\n tail = (mtd, opt) => curr.interceptDuplex(next, mtd, opt);\n }\n return tail(method, options);\n }\n runtime_1.assertNever(kind);\n}\nexports.stackIntercept = stackIntercept;\n/**\n * @deprecated replaced by `stackIntercept()`, still here to support older generated code\n */\nfunction stackUnaryInterceptors(transport, method, input, options) {\n return stackIntercept(\"unary\", transport, method, options, input);\n}\nexports.stackUnaryInterceptors = stackUnaryInterceptors;\n/**\n * @deprecated replaced by `stackIntercept()`, still here to support older generated code\n */\nfunction stackServerStreamingInterceptors(transport, method, input, options) {\n return stackIntercept(\"serverStreaming\", transport, method, options, input);\n}\nexports.stackServerStreamingInterceptors = stackServerStreamingInterceptors;\n/**\n * @deprecated replaced by `stackIntercept()`, still here to support older generated code\n */\nfunction stackClientStreamingInterceptors(transport, method, options) {\n return stackIntercept(\"clientStreaming\", transport, method, options);\n}\nexports.stackClientStreamingInterceptors = stackClientStreamingInterceptors;\n/**\n * @deprecated replaced by `stackIntercept()`, still here to support older generated code\n */\nfunction stackDuplexStreamingInterceptors(transport, method, options) {\n return stackIntercept(\"duplex\", transport, method, options);\n}\nexports.stackDuplexStreamingInterceptors = stackDuplexStreamingInterceptors;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.mergeRpcOptions = void 0;\nconst runtime_1 = require(\"@protobuf-ts/runtime\");\n/**\n * Merges custom RPC options with defaults. Returns a new instance and keeps\n * the \"defaults\" and the \"options\" unmodified.\n *\n * Merges `RpcMetadata` \"meta\", overwriting values from \"defaults\" with\n * values from \"options\". Does not append values to existing entries.\n *\n * Merges \"jsonOptions\", including \"jsonOptions.typeRegistry\", by creating\n * a new array that contains types from \"options.jsonOptions.typeRegistry\"\n * first, then types from \"defaults.jsonOptions.typeRegistry\".\n *\n * Merges \"binaryOptions\".\n *\n * Merges \"interceptors\" by creating a new array that contains interceptors\n * from \"defaults\" first, then interceptors from \"options\".\n *\n * Works with objects that extend `RpcOptions`, but only if the added\n * properties are of type Date, primitive like string, boolean, or Array\n * of primitives. If you have other property types, you have to merge them\n * yourself.\n */\nfunction mergeRpcOptions(defaults, options) {\n if (!options)\n return defaults;\n let o = {};\n copy(defaults, o);\n copy(options, o);\n for (let key of Object.keys(options)) {\n let val = options[key];\n switch (key) {\n case \"jsonOptions\":\n o.jsonOptions = runtime_1.mergeJsonOptions(defaults.jsonOptions, o.jsonOptions);\n break;\n case \"binaryOptions\":\n o.binaryOptions = runtime_1.mergeBinaryOptions(defaults.binaryOptions, o.binaryOptions);\n break;\n case \"meta\":\n o.meta = {};\n copy(defaults.meta, o.meta);\n copy(options.meta, o.meta);\n break;\n case \"interceptors\":\n o.interceptors = defaults.interceptors ? defaults.interceptors.concat(val) : val.concat();\n break;\n }\n }\n return o;\n}\nexports.mergeRpcOptions = mergeRpcOptions;\nfunction copy(a, into) {\n if (!a)\n return;\n let c = into;\n for (let [k, v] of Object.entries(a)) {\n if (v instanceof Date)\n c[k] = new Date(v.getTime());\n else if (Array.isArray(v))\n c[k] = v.concat();\n else\n c[k] = v;\n }\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RpcOutputStreamController = void 0;\nconst deferred_1 = require(\"./deferred\");\nconst runtime_1 = require(\"@protobuf-ts/runtime\");\n/**\n * A `RpcOutputStream` that you control.\n */\nclass RpcOutputStreamController {\n constructor() {\n this._lis = {\n nxt: [],\n msg: [],\n err: [],\n cmp: [],\n };\n this._closed = false;\n // --- RpcOutputStream async iterator API\n // iterator state.\n // is undefined when no iterator has been acquired yet.\n this._itState = { q: [] };\n }\n // --- RpcOutputStream callback API\n onNext(callback) {\n return this.addLis(callback, this._lis.nxt);\n }\n onMessage(callback) {\n return this.addLis(callback, this._lis.msg);\n }\n onError(callback) {\n return this.addLis(callback, this._lis.err);\n }\n onComplete(callback) {\n return this.addLis(callback, this._lis.cmp);\n }\n addLis(callback, list) {\n list.push(callback);\n return () => {\n let i = list.indexOf(callback);\n if (i >= 0)\n list.splice(i, 1);\n };\n }\n // remove all listeners\n clearLis() {\n for (let l of Object.values(this._lis))\n l.splice(0, l.length);\n }\n // --- Controller API\n /**\n * Is this stream already closed by a completion or error?\n */\n get closed() {\n return this._closed !== false;\n }\n /**\n * Emit message, close with error, or close successfully, but only one\n * at a time.\n * Can be used to wrap a stream by using the other stream's `onNext`.\n */\n notifyNext(message, error, complete) {\n runtime_1.assert((message ? 1 : 0) + (error ? 1 : 0) + (complete ? 1 : 0) <= 1, 'only one emission at a time');\n if (message)\n this.notifyMessage(message);\n if (error)\n this.notifyError(error);\n if (complete)\n this.notifyComplete();\n }\n /**\n * Emits a new message. Throws if stream is closed.\n *\n * Triggers onNext and onMessage callbacks.\n */\n notifyMessage(message) {\n runtime_1.assert(!this.closed, 'stream is closed');\n this.pushIt({ value: message, done: false });\n this._lis.msg.forEach(l => l(message));\n this._lis.nxt.forEach(l => l(message, undefined, false));\n }\n /**\n * Closes the stream with an error. Throws if stream is closed.\n *\n * Triggers onNext and onError callbacks.\n */\n notifyError(error) {\n runtime_1.assert(!this.closed, 'stream is closed');\n this._closed = error;\n this.pushIt(error);\n this._lis.err.forEach(l => l(error));\n this._lis.nxt.forEach(l => l(undefined, error, false));\n this.clearLis();\n }\n /**\n * Closes the stream successfully. Throws if stream is closed.\n *\n * Triggers onNext and onComplete callbacks.\n */\n notifyComplete() {\n runtime_1.assert(!this.closed, 'stream is closed');\n this._closed = true;\n this.pushIt({ value: null, done: true });\n this._lis.cmp.forEach(l => l());\n this._lis.nxt.forEach(l => l(undefined, undefined, true));\n this.clearLis();\n }\n /**\n * Creates an async iterator (that can be used with `for await {...}`)\n * to consume the stream.\n *\n * Some things to note:\n * - If an error occurs, the `for await` will throw it.\n * - If an error occurred before the `for await` was started, `for await`\n * will re-throw it.\n * - If the stream is already complete, the `for await` will be empty.\n * - If your `for await` consumes slower than the stream produces,\n * for example because you are relaying messages in a slow operation,\n * messages are queued.\n */\n [Symbol.asyncIterator]() {\n // if we are closed, we are definitely not receiving any more messages.\n // but we can't let the iterator get stuck. we want to either:\n // a) finish the new iterator immediately, because we are completed\n // b) reject the new iterator, because we errored\n if (this._closed === true)\n this.pushIt({ value: null, done: true });\n else if (this._closed !== false)\n this.pushIt(this._closed);\n // the async iterator\n return {\n next: () => {\n let state = this._itState;\n runtime_1.assert(state, \"bad state\"); // if we don't have a state here, code is broken\n // there should be no pending result.\n // did the consumer call next() before we resolved our previous result promise?\n runtime_1.assert(!state.p, \"iterator contract broken\");\n // did we produce faster than the iterator consumed?\n // return the oldest result from the queue.\n let first = state.q.shift();\n if (first)\n return (\"value\" in first) ? Promise.resolve(first) : Promise.reject(first);\n // we have no result ATM, but we promise one.\n // as soon as we have a result, we must resolve promise.\n state.p = new deferred_1.Deferred();\n return state.p.promise;\n },\n };\n }\n // \"push\" a new iterator result.\n // this either resolves a pending promise, or enqueues the result.\n pushIt(result) {\n let state = this._itState;\n // is the consumer waiting for us?\n if (state.p) {\n // yes, consumer is waiting for this promise.\n const p = state.p;\n runtime_1.assert(p.state == deferred_1.DeferredState.PENDING, \"iterator contract broken\");\n // resolve the promise\n (\"value\" in result) ? p.resolve(result) : p.reject(result);\n // must cleanup, otherwise iterator.next() would pick it up again.\n delete state.p;\n }\n else {\n // we are producing faster than the iterator consumes.\n // push result onto queue.\n state.q.push(result);\n }\n }\n}\nexports.RpcOutputStreamController = RpcOutputStreamController;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ServerCallContextController = void 0;\nclass ServerCallContextController {\n constructor(method, headers, deadline, sendResponseHeadersFn, defaultStatus = { code: 'OK', detail: '' }) {\n this._cancelled = false;\n this._listeners = [];\n this.method = method;\n this.headers = headers;\n this.deadline = deadline;\n this.trailers = {};\n this._sendRH = sendResponseHeadersFn;\n this.status = defaultStatus;\n }\n /**\n * Set the call cancelled.\n *\n * Invokes all callbacks registered with onCancel() and\n * sets `cancelled = true`.\n */\n notifyCancelled() {\n if (!this._cancelled) {\n this._cancelled = true;\n for (let l of this._listeners) {\n l();\n }\n }\n }\n /**\n * Send response headers.\n */\n sendResponseHeaders(data) {\n this._sendRH(data);\n }\n /**\n * Is the call cancelled?\n *\n * When the client closes the connection before the server\n * is done, the call is cancelled.\n *\n * If you want to cancel a request on the server, throw a\n * RpcError with the CANCELLED status code.\n */\n get cancelled() {\n return this._cancelled;\n }\n /**\n * Add a callback for cancellation.\n */\n onCancel(callback) {\n const l = this._listeners;\n l.push(callback);\n return () => {\n let i = l.indexOf(callback);\n if (i >= 0)\n l.splice(i, 1);\n };\n }\n}\nexports.ServerCallContextController = ServerCallContextController;\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ServerStreamingCall = void 0;\n/**\n * A server streaming RPC call. The client provides exactly one input message\n * but the server may respond with 0, 1, or more messages.\n */\nclass ServerStreamingCall {\n constructor(method, requestHeaders, request, headers, response, status, trailers) {\n this.method = method;\n this.requestHeaders = requestHeaders;\n this.request = request;\n this.headers = headers;\n this.responses = response;\n this.status = status;\n this.trailers = trailers;\n }\n /**\n * Instead of awaiting the response status and trailers, you can\n * just as well await this call itself to receive the server outcome.\n * You should first setup some listeners to the `request` to\n * see the actual messages the server replied with.\n */\n then(onfulfilled, onrejected) {\n return this.promiseFinished().then(value => onfulfilled ? Promise.resolve(onfulfilled(value)) : value, reason => onrejected ? Promise.resolve(onrejected(reason)) : Promise.reject(reason));\n }\n promiseFinished() {\n return __awaiter(this, void 0, void 0, function* () {\n let [headers, status, trailers] = yield Promise.all([this.headers, this.status, this.trailers]);\n return {\n method: this.method,\n requestHeaders: this.requestHeaders,\n request: this.request,\n headers,\n status,\n trailers,\n };\n });\n }\n}\nexports.ServerStreamingCall = ServerStreamingCall;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ServiceType = void 0;\nconst reflection_info_1 = require(\"./reflection-info\");\nclass ServiceType {\n constructor(typeName, methods, options) {\n this.typeName = typeName;\n this.methods = methods.map(i => reflection_info_1.normalizeMethodInfo(i, this));\n this.options = options !== null && options !== void 0 ? options : {};\n }\n}\nexports.ServiceType = ServiceType;\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.TestTransport = void 0;\nconst rpc_error_1 = require(\"./rpc-error\");\nconst runtime_1 = require(\"@protobuf-ts/runtime\");\nconst rpc_output_stream_1 = require(\"./rpc-output-stream\");\nconst rpc_options_1 = require(\"./rpc-options\");\nconst unary_call_1 = require(\"./unary-call\");\nconst server_streaming_call_1 = require(\"./server-streaming-call\");\nconst client_streaming_call_1 = require(\"./client-streaming-call\");\nconst duplex_streaming_call_1 = require(\"./duplex-streaming-call\");\n/**\n * Transport for testing.\n */\nclass TestTransport {\n /**\n * Initialize with mock data. Omitted fields have default value.\n */\n constructor(data) {\n /**\n * Suppress warning / error about uncaught rejections of\n * \"status\" and \"trailers\".\n */\n this.suppressUncaughtRejections = true;\n this.headerDelay = 10;\n this.responseDelay = 50;\n this.betweenResponseDelay = 10;\n this.afterResponseDelay = 10;\n this.data = data !== null && data !== void 0 ? data : {};\n }\n /**\n * Sent message(s) during the last operation.\n */\n get sentMessages() {\n if (this.lastInput instanceof TestInputStream) {\n return this.lastInput.sent;\n }\n else if (typeof this.lastInput == \"object\") {\n return [this.lastInput.single];\n }\n return [];\n }\n /**\n * Sending message(s) completed?\n */\n get sendComplete() {\n if (this.lastInput instanceof TestInputStream) {\n return this.lastInput.completed;\n }\n else if (typeof this.lastInput == \"object\") {\n return true;\n }\n return false;\n }\n // Creates a promise for response headers from the mock data.\n promiseHeaders() {\n var _a;\n const headers = (_a = this.data.headers) !== null && _a !== void 0 ? _a : TestTransport.defaultHeaders;\n return headers instanceof rpc_error_1.RpcError\n ? Promise.reject(headers)\n : Promise.resolve(headers);\n }\n // Creates a promise for a single, valid, message from the mock data.\n promiseSingleResponse(method) {\n if (this.data.response instanceof rpc_error_1.RpcError) {\n return Promise.reject(this.data.response);\n }\n let r;\n if (Array.isArray(this.data.response)) {\n runtime_1.assert(this.data.response.length > 0);\n r = this.data.response[0];\n }\n else if (this.data.response !== undefined) {\n r = this.data.response;\n }\n else {\n r = method.O.create();\n }\n runtime_1.assert(method.O.is(r));\n return Promise.resolve(r);\n }\n /**\n * Pushes response messages from the mock data to the output stream.\n * If an error response, status or trailers are mocked, the stream is\n * closed with the respective error.\n * Otherwise, stream is completed successfully.\n *\n * The returned promise resolves when the stream is closed. It should\n * not reject. If it does, code is broken.\n */\n streamResponses(method, stream, abort) {\n return __awaiter(this, void 0, void 0, function* () {\n // normalize \"data.response\" into an array of valid output messages\n const messages = [];\n if (this.data.response === undefined) {\n messages.push(method.O.create());\n }\n else if (Array.isArray(this.data.response)) {\n for (let msg of this.data.response) {\n runtime_1.assert(method.O.is(msg));\n messages.push(msg);\n }\n }\n else if (!(this.data.response instanceof rpc_error_1.RpcError)) {\n runtime_1.assert(method.O.is(this.data.response));\n messages.push(this.data.response);\n }\n // start the stream with an initial delay.\n // if the request is cancelled, notify() error and exit.\n try {\n yield delay(this.responseDelay, abort)(undefined);\n }\n catch (error) {\n stream.notifyError(error);\n return;\n }\n // if error response was mocked, notify() error (stream is now closed with error) and exit.\n if (this.data.response instanceof rpc_error_1.RpcError) {\n stream.notifyError(this.data.response);\n return;\n }\n // regular response messages were mocked. notify() them.\n for (let msg of messages) {\n stream.notifyMessage(msg);\n // add a short delay between responses\n // if the request is cancelled, notify() error and exit.\n try {\n yield delay(this.betweenResponseDelay, abort)(undefined);\n }\n catch (error) {\n stream.notifyError(error);\n return;\n }\n }\n // error status was mocked, notify() error (stream is now closed with error) and exit.\n if (this.data.status instanceof rpc_error_1.RpcError) {\n stream.notifyError(this.data.status);\n return;\n }\n // error trailers were mocked, notify() error (stream is now closed with error) and exit.\n if (this.data.trailers instanceof rpc_error_1.RpcError) {\n stream.notifyError(this.data.trailers);\n return;\n }\n // stream completed successfully\n stream.notifyComplete();\n });\n }\n // Creates a promise for response status from the mock data.\n promiseStatus() {\n var _a;\n const status = (_a = this.data.status) !== null && _a !== void 0 ? _a : TestTransport.defaultStatus;\n return status instanceof rpc_error_1.RpcError\n ? Promise.reject(status)\n : Promise.resolve(status);\n }\n // Creates a promise for response trailers from the mock data.\n promiseTrailers() {\n var _a;\n const trailers = (_a = this.data.trailers) !== null && _a !== void 0 ? _a : TestTransport.defaultTrailers;\n return trailers instanceof rpc_error_1.RpcError\n ? Promise.reject(trailers)\n : Promise.resolve(trailers);\n }\n maybeSuppressUncaught(...promise) {\n if (this.suppressUncaughtRejections) {\n for (let p of promise) {\n p.catch(() => {\n });\n }\n }\n }\n mergeOptions(options) {\n return rpc_options_1.mergeRpcOptions({}, options);\n }\n unary(method, input, options) {\n var _a;\n const requestHeaders = (_a = options.meta) !== null && _a !== void 0 ? _a : {}, headersPromise = this.promiseHeaders()\n .then(delay(this.headerDelay, options.abort)), responsePromise = headersPromise\n .catch(_ => {\n })\n .then(delay(this.responseDelay, options.abort))\n .then(_ => this.promiseSingleResponse(method)), statusPromise = responsePromise\n .catch(_ => {\n })\n .then(delay(this.afterResponseDelay, options.abort))\n .then(_ => this.promiseStatus()), trailersPromise = responsePromise\n .catch(_ => {\n })\n .then(delay(this.afterResponseDelay, options.abort))\n .then(_ => this.promiseTrailers());\n this.maybeSuppressUncaught(statusPromise, trailersPromise);\n this.lastInput = { single: input };\n return new unary_call_1.UnaryCall(method, requestHeaders, input, headersPromise, responsePromise, statusPromise, trailersPromise);\n }\n serverStreaming(method, input, options) {\n var _a;\n const requestHeaders = (_a = options.meta) !== null && _a !== void 0 ? _a : {}, headersPromise = this.promiseHeaders()\n .then(delay(this.headerDelay, options.abort)), outputStream = new rpc_output_stream_1.RpcOutputStreamController(), responseStreamClosedPromise = headersPromise\n .then(delay(this.responseDelay, options.abort))\n .catch(() => {\n })\n .then(() => this.streamResponses(method, outputStream, options.abort))\n .then(delay(this.afterResponseDelay, options.abort)), statusPromise = responseStreamClosedPromise\n .then(() => this.promiseStatus()), trailersPromise = responseStreamClosedPromise\n .then(() => this.promiseTrailers());\n this.maybeSuppressUncaught(statusPromise, trailersPromise);\n this.lastInput = { single: input };\n return new server_streaming_call_1.ServerStreamingCall(method, requestHeaders, input, headersPromise, outputStream, statusPromise, trailersPromise);\n }\n clientStreaming(method, options) {\n var _a;\n const requestHeaders = (_a = options.meta) !== null && _a !== void 0 ? _a : {}, headersPromise = this.promiseHeaders()\n .then(delay(this.headerDelay, options.abort)), responsePromise = headersPromise\n .catch(_ => {\n })\n .then(delay(this.responseDelay, options.abort))\n .then(_ => this.promiseSingleResponse(method)), statusPromise = responsePromise\n .catch(_ => {\n })\n .then(delay(this.afterResponseDelay, options.abort))\n .then(_ => this.promiseStatus()), trailersPromise = responsePromise\n .catch(_ => {\n })\n .then(delay(this.afterResponseDelay, options.abort))\n .then(_ => this.promiseTrailers());\n this.maybeSuppressUncaught(statusPromise, trailersPromise);\n this.lastInput = new TestInputStream(this.data, options.abort);\n return new client_streaming_call_1.ClientStreamingCall(method, requestHeaders, this.lastInput, headersPromise, responsePromise, statusPromise, trailersPromise);\n }\n duplex(method, options) {\n var _a;\n const requestHeaders = (_a = options.meta) !== null && _a !== void 0 ? _a : {}, headersPromise = this.promiseHeaders()\n .then(delay(this.headerDelay, options.abort)), outputStream = new rpc_output_stream_1.RpcOutputStreamController(), responseStreamClosedPromise = headersPromise\n .then(delay(this.responseDelay, options.abort))\n .catch(() => {\n })\n .then(() => this.streamResponses(method, outputStream, options.abort))\n .then(delay(this.afterResponseDelay, options.abort)), statusPromise = responseStreamClosedPromise\n .then(() => this.promiseStatus()), trailersPromise = responseStreamClosedPromise\n .then(() => this.promiseTrailers());\n this.maybeSuppressUncaught(statusPromise, trailersPromise);\n this.lastInput = new TestInputStream(this.data, options.abort);\n return new duplex_streaming_call_1.DuplexStreamingCall(method, requestHeaders, this.lastInput, headersPromise, outputStream, statusPromise, trailersPromise);\n }\n}\nexports.TestTransport = TestTransport;\nTestTransport.defaultHeaders = {\n responseHeader: \"test\"\n};\nTestTransport.defaultStatus = {\n code: \"OK\", detail: \"all good\"\n};\nTestTransport.defaultTrailers = {\n responseTrailer: \"test\"\n};\nfunction delay(ms, abort) {\n return (v) => new Promise((resolve, reject) => {\n if (abort === null || abort === void 0 ? void 0 : abort.aborted) {\n reject(new rpc_error_1.RpcError(\"user cancel\", \"CANCELLED\"));\n }\n else {\n const id = setTimeout(() => resolve(v), ms);\n if (abort) {\n abort.addEventListener(\"abort\", ev => {\n clearTimeout(id);\n reject(new rpc_error_1.RpcError(\"user cancel\", \"CANCELLED\"));\n });\n }\n }\n });\n}\nclass TestInputStream {\n constructor(data, abort) {\n this._completed = false;\n this._sent = [];\n this.data = data;\n this.abort = abort;\n }\n get sent() {\n return this._sent;\n }\n get completed() {\n return this._completed;\n }\n send(message) {\n if (this.data.inputMessage instanceof rpc_error_1.RpcError) {\n return Promise.reject(this.data.inputMessage);\n }\n const delayMs = this.data.inputMessage === undefined\n ? 10\n : this.data.inputMessage;\n return Promise.resolve(undefined)\n .then(() => {\n this._sent.push(message);\n })\n .then(delay(delayMs, this.abort));\n }\n complete() {\n if (this.data.inputComplete instanceof rpc_error_1.RpcError) {\n return Promise.reject(this.data.inputComplete);\n }\n const delayMs = this.data.inputComplete === undefined\n ? 10\n : this.data.inputComplete;\n return Promise.resolve(undefined)\n .then(() => {\n this._completed = true;\n })\n .then(delay(delayMs, this.abort));\n }\n}\n","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.UnaryCall = void 0;\n/**\n * A unary RPC call. Unary means there is exactly one input message and\n * exactly one output message unless an error occurred.\n */\nclass UnaryCall {\n constructor(method, requestHeaders, request, headers, response, status, trailers) {\n this.method = method;\n this.requestHeaders = requestHeaders;\n this.request = request;\n this.headers = headers;\n this.response = response;\n this.status = status;\n this.trailers = trailers;\n }\n /**\n * If you are only interested in the final outcome of this call,\n * you can await it to receive a `FinishedUnaryCall`.\n */\n then(onfulfilled, onrejected) {\n return this.promiseFinished().then(value => onfulfilled ? Promise.resolve(onfulfilled(value)) : value, reason => onrejected ? Promise.resolve(onrejected(reason)) : Promise.reject(reason));\n }\n promiseFinished() {\n return __awaiter(this, void 0, void 0, function* () {\n let [headers, response, status, trailers] = yield Promise.all([this.headers, this.response, this.status, this.trailers]);\n return {\n method: this.method,\n requestHeaders: this.requestHeaders,\n request: this.request,\n headers,\n response,\n status,\n trailers\n };\n });\n }\n}\nexports.UnaryCall = UnaryCall;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.assertFloat32 = exports.assertUInt32 = exports.assertInt32 = exports.assertNever = exports.assert = void 0;\n/**\n * assert that condition is true or throw error (with message)\n */\nfunction assert(condition, msg) {\n if (!condition) {\n throw new Error(msg);\n }\n}\nexports.assert = assert;\n/**\n * assert that value cannot exist = type `never`. throw runtime error if it does.\n */\nfunction assertNever(value, msg) {\n throw new Error(msg !== null && msg !== void 0 ? msg : 'Unexpected object: ' + value);\n}\nexports.assertNever = assertNever;\nconst FLOAT32_MAX = 3.4028234663852886e+38, FLOAT32_MIN = -3.4028234663852886e+38, UINT32_MAX = 0xFFFFFFFF, INT32_MAX = 0X7FFFFFFF, INT32_MIN = -0X80000000;\nfunction assertInt32(arg) {\n if (typeof arg !== \"number\")\n throw new Error('invalid int 32: ' + typeof arg);\n if (!Number.isInteger(arg) || arg > INT32_MAX || arg < INT32_MIN)\n throw new Error('invalid int 32: ' + arg);\n}\nexports.assertInt32 = assertInt32;\nfunction assertUInt32(arg) {\n if (typeof arg !== \"number\")\n throw new Error('invalid uint 32: ' + typeof arg);\n if (!Number.isInteger(arg) || arg > UINT32_MAX || arg < 0)\n throw new Error('invalid uint 32: ' + arg);\n}\nexports.assertUInt32 = assertUInt32;\nfunction assertFloat32(arg) {\n if (typeof arg !== \"number\")\n throw new Error('invalid float 32: ' + typeof arg);\n if (!Number.isFinite(arg))\n return;\n if (arg > FLOAT32_MAX || arg < FLOAT32_MIN)\n throw new Error('invalid float 32: ' + arg);\n}\nexports.assertFloat32 = assertFloat32;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.base64encode = exports.base64decode = void 0;\n// lookup table from base64 character to byte\nlet encTable = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/'.split('');\n// lookup table from base64 character *code* to byte because lookup by number is fast\nlet decTable = [];\nfor (let i = 0; i < encTable.length; i++)\n decTable[encTable[i].charCodeAt(0)] = i;\n// support base64url variants\ndecTable[\"-\".charCodeAt(0)] = encTable.indexOf(\"+\");\ndecTable[\"_\".charCodeAt(0)] = encTable.indexOf(\"/\");\n/**\n * Decodes a base64 string to a byte array.\n *\n * - ignores white-space, including line breaks and tabs\n * - allows inner padding (can decode concatenated base64 strings)\n * - does not require padding\n * - understands base64url encoding:\n * \"-\" instead of \"+\",\n * \"_\" instead of \"/\",\n * no padding\n */\nfunction base64decode(base64Str) {\n // estimate byte size, not accounting for inner padding and whitespace\n let es = base64Str.length * 3 / 4;\n // if (es % 3 !== 0)\n // throw new Error('invalid base64 string');\n if (base64Str[base64Str.length - 2] == '=')\n es -= 2;\n else if (base64Str[base64Str.length - 1] == '=')\n es -= 1;\n let bytes = new Uint8Array(es), bytePos = 0, // position in byte array\n groupPos = 0, // position in base64 group\n b, // current byte\n p = 0 // previous byte\n ;\n for (let i = 0; i < base64Str.length; i++) {\n b = decTable[base64Str.charCodeAt(i)];\n if (b === undefined) {\n // noinspection FallThroughInSwitchStatementJS\n switch (base64Str[i]) {\n case '=':\n groupPos = 0; // reset state when padding found\n case '\\n':\n case '\\r':\n case '\\t':\n case ' ':\n continue; // skip white-space, and padding\n default:\n throw Error(`invalid base64 string.`);\n }\n }\n switch (groupPos) {\n case 0:\n p = b;\n groupPos = 1;\n break;\n case 1:\n bytes[bytePos++] = p << 2 | (b & 48) >> 4;\n p = b;\n groupPos = 2;\n break;\n case 2:\n bytes[bytePos++] = (p & 15) << 4 | (b & 60) >> 2;\n p = b;\n groupPos = 3;\n break;\n case 3:\n bytes[bytePos++] = (p & 3) << 6 | b;\n groupPos = 0;\n break;\n }\n }\n if (groupPos == 1)\n throw Error(`invalid base64 string.`);\n return bytes.subarray(0, bytePos);\n}\nexports.base64decode = base64decode;\n/**\n * Encodes a byte array to a base64 string.\n * Adds padding at the end.\n * Does not insert newlines.\n */\nfunction base64encode(bytes) {\n let base64 = '', groupPos = 0, // position in base64 group\n b, // current byte\n p = 0; // carry over from previous byte\n for (let i = 0; i < bytes.length; i++) {\n b = bytes[i];\n switch (groupPos) {\n case 0:\n base64 += encTable[b >> 2];\n p = (b & 3) << 4;\n groupPos = 1;\n break;\n case 1:\n base64 += encTable[p | b >> 4];\n p = (b & 15) << 2;\n groupPos = 2;\n break;\n case 2:\n base64 += encTable[p | b >> 6];\n base64 += encTable[b & 63];\n groupPos = 0;\n break;\n }\n }\n // padding required?\n if (groupPos) {\n base64 += encTable[p];\n base64 += '=';\n if (groupPos == 1)\n base64 += '=';\n }\n return base64;\n}\nexports.base64encode = base64encode;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.WireType = exports.mergeBinaryOptions = exports.UnknownFieldHandler = void 0;\n/**\n * This handler implements the default behaviour for unknown fields.\n * When reading data, unknown fields are stored on the message, in a\n * symbol property.\n * When writing data, the symbol property is queried and unknown fields\n * are serialized into the output again.\n */\nvar UnknownFieldHandler;\n(function (UnknownFieldHandler) {\n /**\n * The symbol used to store unknown fields for a message.\n * The property must conform to `UnknownFieldContainer`.\n */\n UnknownFieldHandler.symbol = Symbol.for(\"protobuf-ts/unknown\");\n /**\n * Store an unknown field during binary read directly on the message.\n * This method is compatible with `BinaryReadOptions.readUnknownField`.\n */\n UnknownFieldHandler.onRead = (typeName, message, fieldNo, wireType, data) => {\n let container = is(message) ? message[UnknownFieldHandler.symbol] : message[UnknownFieldHandler.symbol] = [];\n container.push({ no: fieldNo, wireType, data });\n };\n /**\n * Write unknown fields stored for the message to the writer.\n * This method is compatible with `BinaryWriteOptions.writeUnknownFields`.\n */\n UnknownFieldHandler.onWrite = (typeName, message, writer) => {\n for (let { no, wireType, data } of UnknownFieldHandler.list(message))\n writer.tag(no, wireType).raw(data);\n };\n /**\n * List unknown fields stored for the message.\n * Note that there may be multiples fields with the same number.\n */\n UnknownFieldHandler.list = (message, fieldNo) => {\n if (is(message)) {\n let all = message[UnknownFieldHandler.symbol];\n return fieldNo ? all.filter(uf => uf.no == fieldNo) : all;\n }\n return [];\n };\n /**\n * Returns the last unknown field by field number.\n */\n UnknownFieldHandler.last = (message, fieldNo) => UnknownFieldHandler.list(message, fieldNo).slice(-1)[0];\n const is = (message) => message && Array.isArray(message[UnknownFieldHandler.symbol]);\n})(UnknownFieldHandler = exports.UnknownFieldHandler || (exports.UnknownFieldHandler = {}));\n/**\n * Merges binary write or read options. Later values override earlier values.\n */\nfunction mergeBinaryOptions(a, b) {\n return Object.assign(Object.assign({}, a), b);\n}\nexports.mergeBinaryOptions = mergeBinaryOptions;\n/**\n * Protobuf binary format wire types.\n *\n * A wire type provides just enough information to find the length of the\n * following value.\n *\n * See https://developers.google.com/protocol-buffers/docs/encoding#structure\n */\nvar WireType;\n(function (WireType) {\n /**\n * Used for int32, int64, uint32, uint64, sint32, sint64, bool, enum\n */\n WireType[WireType[\"Varint\"] = 0] = \"Varint\";\n /**\n * Used for fixed64, sfixed64, double.\n * Always 8 bytes with little-endian byte order.\n */\n WireType[WireType[\"Bit64\"] = 1] = \"Bit64\";\n /**\n * Used for string, bytes, embedded messages, packed repeated fields\n *\n * Only repeated numeric types (types which use the varint, 32-bit,\n * or 64-bit wire types) can be packed. In proto3, such fields are\n * packed by default.\n */\n WireType[WireType[\"LengthDelimited\"] = 2] = \"LengthDelimited\";\n /**\n * Used for groups\n * @deprecated\n */\n WireType[WireType[\"StartGroup\"] = 3] = \"StartGroup\";\n /**\n * Used for groups\n * @deprecated\n */\n WireType[WireType[\"EndGroup\"] = 4] = \"EndGroup\";\n /**\n * Used for fixed32, sfixed32, float.\n * Always 4 bytes with little-endian byte order.\n */\n WireType[WireType[\"Bit32\"] = 5] = \"Bit32\";\n})(WireType = exports.WireType || (exports.WireType = {}));\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.BinaryReader = exports.binaryReadOptions = void 0;\nconst binary_format_contract_1 = require(\"./binary-format-contract\");\nconst pb_long_1 = require(\"./pb-long\");\nconst goog_varint_1 = require(\"./goog-varint\");\nconst defaultsRead = {\n readUnknownField: true,\n readerFactory: bytes => new BinaryReader(bytes),\n};\n/**\n * Make options for reading binary data form partial options.\n */\nfunction binaryReadOptions(options) {\n return options ? Object.assign(Object.assign({}, defaultsRead), options) : defaultsRead;\n}\nexports.binaryReadOptions = binaryReadOptions;\nclass BinaryReader {\n constructor(buf, textDecoder) {\n this.varint64 = goog_varint_1.varint64read; // dirty cast for `this`\n /**\n * Read a `uint32` field, an unsigned 32 bit varint.\n */\n this.uint32 = goog_varint_1.varint32read; // dirty cast for `this` and access to protected `buf`\n this.buf = buf;\n this.len = buf.length;\n this.pos = 0;\n this.view = new DataView(buf.buffer, buf.byteOffset, buf.byteLength);\n this.textDecoder = textDecoder !== null && textDecoder !== void 0 ? textDecoder : new TextDecoder(\"utf-8\", {\n fatal: true,\n ignoreBOM: true,\n });\n }\n /**\n * Reads a tag - field number and wire type.\n */\n tag() {\n let tag = this.uint32(), fieldNo = tag >>> 3, wireType = tag & 7;\n if (fieldNo <= 0 || wireType < 0 || wireType > 5)\n throw new Error(\"illegal tag: field no \" + fieldNo + \" wire type \" + wireType);\n return [fieldNo, wireType];\n }\n /**\n * Skip one element on the wire and return the skipped data.\n * Supports WireType.StartGroup since v2.0.0-alpha.23.\n */\n skip(wireType) {\n let start = this.pos;\n // noinspection FallThroughInSwitchStatementJS\n switch (wireType) {\n case binary_format_contract_1.WireType.Varint:\n while (this.buf[this.pos++] & 0x80) {\n // ignore\n }\n break;\n case binary_format_contract_1.WireType.Bit64:\n this.pos += 4;\n case binary_format_contract_1.WireType.Bit32:\n this.pos += 4;\n break;\n case binary_format_contract_1.WireType.LengthDelimited:\n let len = this.uint32();\n this.pos += len;\n break;\n case binary_format_contract_1.WireType.StartGroup:\n // From descriptor.proto: Group type is deprecated, not supported in proto3.\n // But we must still be able to parse and treat as unknown.\n let t;\n while ((t = this.tag()[1]) !== binary_format_contract_1.WireType.EndGroup) {\n this.skip(t);\n }\n break;\n default:\n throw new Error(\"cant skip wire type \" + wireType);\n }\n this.assertBounds();\n return this.buf.subarray(start, this.pos);\n }\n /**\n * Throws error if position in byte array is out of range.\n */\n assertBounds() {\n if (this.pos > this.len)\n throw new RangeError(\"premature EOF\");\n }\n /**\n * Read a `int32` field, a signed 32 bit varint.\n */\n int32() {\n return this.uint32() | 0;\n }\n /**\n * Read a `sint32` field, a signed, zigzag-encoded 32-bit varint.\n */\n sint32() {\n let zze = this.uint32();\n // decode zigzag\n return (zze >>> 1) ^ -(zze & 1);\n }\n /**\n * Read a `int64` field, a signed 64-bit varint.\n */\n int64() {\n return new pb_long_1.PbLong(...this.varint64());\n }\n /**\n * Read a `uint64` field, an unsigned 64-bit varint.\n */\n uint64() {\n return new pb_long_1.PbULong(...this.varint64());\n }\n /**\n * Read a `sint64` field, a signed, zig-zag-encoded 64-bit varint.\n */\n sint64() {\n let [lo, hi] = this.varint64();\n // decode zig zag\n let s = -(lo & 1);\n lo = ((lo >>> 1 | (hi & 1) << 31) ^ s);\n hi = (hi >>> 1 ^ s);\n return new pb_long_1.PbLong(lo, hi);\n }\n /**\n * Read a `bool` field, a variant.\n */\n bool() {\n let [lo, hi] = this.varint64();\n return lo !== 0 || hi !== 0;\n }\n /**\n * Read a `fixed32` field, an unsigned, fixed-length 32-bit integer.\n */\n fixed32() {\n return this.view.getUint32((this.pos += 4) - 4, true);\n }\n /**\n * Read a `sfixed32` field, a signed, fixed-length 32-bit integer.\n */\n sfixed32() {\n return this.view.getInt32((this.pos += 4) - 4, true);\n }\n /**\n * Read a `fixed64` field, an unsigned, fixed-length 64 bit integer.\n */\n fixed64() {\n return new pb_long_1.PbULong(this.sfixed32(), this.sfixed32());\n }\n /**\n * Read a `fixed64` field, a signed, fixed-length 64-bit integer.\n */\n sfixed64() {\n return new pb_long_1.PbLong(this.sfixed32(), this.sfixed32());\n }\n /**\n * Read a `float` field, 32-bit floating point number.\n */\n float() {\n return this.view.getFloat32((this.pos += 4) - 4, true);\n }\n /**\n * Read a `double` field, a 64-bit floating point number.\n */\n double() {\n return this.view.getFloat64((this.pos += 8) - 8, true);\n }\n /**\n * Read a `bytes` field, length-delimited arbitrary data.\n */\n bytes() {\n let len = this.uint32();\n let start = this.pos;\n this.pos += len;\n this.assertBounds();\n return this.buf.subarray(start, start + len);\n }\n /**\n * Read a `string` field, length-delimited data converted to UTF-8 text.\n */\n string() {\n return this.textDecoder.decode(this.bytes());\n }\n}\nexports.BinaryReader = BinaryReader;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.BinaryWriter = exports.binaryWriteOptions = void 0;\nconst pb_long_1 = require(\"./pb-long\");\nconst goog_varint_1 = require(\"./goog-varint\");\nconst assert_1 = require(\"./assert\");\nconst defaultsWrite = {\n writeUnknownFields: true,\n writerFactory: () => new BinaryWriter(),\n};\n/**\n * Make options for writing binary data form partial options.\n */\nfunction binaryWriteOptions(options) {\n return options ? Object.assign(Object.assign({}, defaultsWrite), options) : defaultsWrite;\n}\nexports.binaryWriteOptions = binaryWriteOptions;\nclass BinaryWriter {\n constructor(textEncoder) {\n /**\n * Previous fork states.\n */\n this.stack = [];\n this.textEncoder = textEncoder !== null && textEncoder !== void 0 ? textEncoder : new TextEncoder();\n this.chunks = [];\n this.buf = [];\n }\n /**\n * Return all bytes written and reset this writer.\n */\n finish() {\n this.chunks.push(new Uint8Array(this.buf)); // flush the buffer\n let len = 0;\n for (let i = 0; i < this.chunks.length; i++)\n len += this.chunks[i].length;\n let bytes = new Uint8Array(len);\n let offset = 0;\n for (let i = 0; i < this.chunks.length; i++) {\n bytes.set(this.chunks[i], offset);\n offset += this.chunks[i].length;\n }\n this.chunks = [];\n return bytes;\n }\n /**\n * Start a new fork for length-delimited data like a message\n * or a packed repeated field.\n *\n * Must be joined later with `join()`.\n */\n fork() {\n this.stack.push({ chunks: this.chunks, buf: this.buf });\n this.chunks = [];\n this.buf = [];\n return this;\n }\n /**\n * Join the last fork. Write its length and bytes, then\n * return to the previous state.\n */\n join() {\n // get chunk of fork\n let chunk = this.finish();\n // restore previous state\n let prev = this.stack.pop();\n if (!prev)\n throw new Error('invalid state, fork stack empty');\n this.chunks = prev.chunks;\n this.buf = prev.buf;\n // write length of chunk as varint\n this.uint32(chunk.byteLength);\n return this.raw(chunk);\n }\n /**\n * Writes a tag (field number and wire type).\n *\n * Equivalent to `uint32( (fieldNo << 3 | type) >>> 0 )`.\n *\n * Generated code should compute the tag ahead of time and call `uint32()`.\n */\n tag(fieldNo, type) {\n return this.uint32((fieldNo << 3 | type) >>> 0);\n }\n /**\n * Write a chunk of raw bytes.\n */\n raw(chunk) {\n if (this.buf.length) {\n this.chunks.push(new Uint8Array(this.buf));\n this.buf = [];\n }\n this.chunks.push(chunk);\n return this;\n }\n /**\n * Write a `uint32` value, an unsigned 32 bit varint.\n */\n uint32(value) {\n assert_1.assertUInt32(value);\n // write value as varint 32, inlined for speed\n while (value > 0x7f) {\n this.buf.push((value & 0x7f) | 0x80);\n value = value >>> 7;\n }\n this.buf.push(value);\n return this;\n }\n /**\n * Write a `int32` value, a signed 32 bit varint.\n */\n int32(value) {\n assert_1.assertInt32(value);\n goog_varint_1.varint32write(value, this.buf);\n return this;\n }\n /**\n * Write a `bool` value, a variant.\n */\n bool(value) {\n this.buf.push(value ? 1 : 0);\n return this;\n }\n /**\n * Write a `bytes` value, length-delimited arbitrary data.\n */\n bytes(value) {\n this.uint32(value.byteLength); // write length of chunk as varint\n return this.raw(value);\n }\n /**\n * Write a `string` value, length-delimited data converted to UTF-8 text.\n */\n string(value) {\n let chunk = this.textEncoder.encode(value);\n this.uint32(chunk.byteLength); // write length of chunk as varint\n return this.raw(chunk);\n }\n /**\n * Write a `float` value, 32-bit floating point number.\n */\n float(value) {\n assert_1.assertFloat32(value);\n let chunk = new Uint8Array(4);\n new DataView(chunk.buffer).setFloat32(0, value, true);\n return this.raw(chunk);\n }\n /**\n * Write a `double` value, a 64-bit floating point number.\n */\n double(value) {\n let chunk = new Uint8Array(8);\n new DataView(chunk.buffer).setFloat64(0, value, true);\n return this.raw(chunk);\n }\n /**\n * Write a `fixed32` value, an unsigned, fixed-length 32-bit integer.\n */\n fixed32(value) {\n assert_1.assertUInt32(value);\n let chunk = new Uint8Array(4);\n new DataView(chunk.buffer).setUint32(0, value, true);\n return this.raw(chunk);\n }\n /**\n * Write a `sfixed32` value, a signed, fixed-length 32-bit integer.\n */\n sfixed32(value) {\n assert_1.assertInt32(value);\n let chunk = new Uint8Array(4);\n new DataView(chunk.buffer).setInt32(0, value, true);\n return this.raw(chunk);\n }\n /**\n * Write a `sint32` value, a signed, zigzag-encoded 32-bit varint.\n */\n sint32(value) {\n assert_1.assertInt32(value);\n // zigzag encode\n value = ((value << 1) ^ (value >> 31)) >>> 0;\n goog_varint_1.varint32write(value, this.buf);\n return this;\n }\n /**\n * Write a `fixed64` value, a signed, fixed-length 64-bit integer.\n */\n sfixed64(value) {\n let chunk = new Uint8Array(8);\n let view = new DataView(chunk.buffer);\n let long = pb_long_1.PbLong.from(value);\n view.setInt32(0, long.lo, true);\n view.setInt32(4, long.hi, true);\n return this.raw(chunk);\n }\n /**\n * Write a `fixed64` value, an unsigned, fixed-length 64 bit integer.\n */\n fixed64(value) {\n let chunk = new Uint8Array(8);\n let view = new DataView(chunk.buffer);\n let long = pb_long_1.PbULong.from(value);\n view.setInt32(0, long.lo, true);\n view.setInt32(4, long.hi, true);\n return this.raw(chunk);\n }\n /**\n * Write a `int64` value, a signed 64-bit varint.\n */\n int64(value) {\n let long = pb_long_1.PbLong.from(value);\n goog_varint_1.varint64write(long.lo, long.hi, this.buf);\n return this;\n }\n /**\n * Write a `sint64` value, a signed, zig-zag-encoded 64-bit varint.\n */\n sint64(value) {\n let long = pb_long_1.PbLong.from(value), \n // zigzag encode\n sign = long.hi >> 31, lo = (long.lo << 1) ^ sign, hi = ((long.hi << 1) | (long.lo >>> 31)) ^ sign;\n goog_varint_1.varint64write(lo, hi, this.buf);\n return this;\n }\n /**\n * Write a `uint64` value, an unsigned 64-bit varint.\n */\n uint64(value) {\n let long = pb_long_1.PbULong.from(value);\n goog_varint_1.varint64write(long.lo, long.hi, this.buf);\n return this;\n }\n}\nexports.BinaryWriter = BinaryWriter;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.listEnumNumbers = exports.listEnumNames = exports.listEnumValues = exports.isEnumObject = void 0;\n/**\n * Is this a lookup object generated by Typescript, for a Typescript enum\n * generated by protobuf-ts?\n *\n * - No `const enum` (enum must not be inlined, we need reverse mapping).\n * - No string enum (we need int32 for protobuf).\n * - Must have a value for 0 (otherwise, we would need to support custom default values).\n */\nfunction isEnumObject(arg) {\n if (typeof arg != 'object' || arg === null) {\n return false;\n }\n if (!arg.hasOwnProperty(0)) {\n return false;\n }\n for (let k of Object.keys(arg)) {\n let num = parseInt(k);\n if (!Number.isNaN(num)) {\n // is there a name for the number?\n let nam = arg[num];\n if (nam === undefined)\n return false;\n // does the name resolve back to the number?\n if (arg[nam] !== num)\n return false;\n }\n else {\n // is there a number for the name?\n let num = arg[k];\n if (num === undefined)\n return false;\n // is it a string enum?\n if (typeof num !== 'number')\n return false;\n // do we know the number?\n if (arg[num] === undefined)\n return false;\n }\n }\n return true;\n}\nexports.isEnumObject = isEnumObject;\n/**\n * Lists all values of a Typescript enum, as an array of objects with a \"name\"\n * property and a \"number\" property.\n *\n * Note that it is possible that a number appears more than once, because it is\n * possible to have aliases in an enum.\n *\n * Throws if the enum does not adhere to the rules of enums generated by\n * protobuf-ts. See `isEnumObject()`.\n */\nfunction listEnumValues(enumObject) {\n if (!isEnumObject(enumObject))\n throw new Error(\"not a typescript enum object\");\n let values = [];\n for (let [name, number] of Object.entries(enumObject))\n if (typeof number == \"number\")\n values.push({ name, number });\n return values;\n}\nexports.listEnumValues = listEnumValues;\n/**\n * Lists the names of a Typescript enum.\n *\n * Throws if the enum does not adhere to the rules of enums generated by\n * protobuf-ts. See `isEnumObject()`.\n */\nfunction listEnumNames(enumObject) {\n return listEnumValues(enumObject).map(val => val.name);\n}\nexports.listEnumNames = listEnumNames;\n/**\n * Lists the numbers of a Typescript enum.\n *\n * Throws if the enum does not adhere to the rules of enums generated by\n * protobuf-ts. See `isEnumObject()`.\n */\nfunction listEnumNumbers(enumObject) {\n return listEnumValues(enumObject)\n .map(val => val.number)\n .filter((num, index, arr) => arr.indexOf(num) == index);\n}\nexports.listEnumNumbers = listEnumNumbers;\n","\"use strict\";\n// Copyright 2008 Google Inc. All rights reserved.\n//\n// Redistribution and use in source and binary forms, with or without\n// modification, are permitted provided that the following conditions are\n// met:\n//\n// * Redistributions of source code must retain the above copyright\n// notice, this list of conditions and the following disclaimer.\n// * Redistributions in binary form must reproduce the above\n// copyright notice, this list of conditions and the following disclaimer\n// in the documentation and/or other materials provided with the\n// distribution.\n// * Neither the name of Google Inc. nor the names of its\n// contributors may be used to endorse or promote products derived from\n// this software without specific prior written permission.\n//\n// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n// \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n//\n// Code generated by the Protocol Buffer compiler is owned by the owner\n// of the input file used when generating it. This code is not\n// standalone and requires a support library to be linked with it. This\n// support library is itself covered by the above license.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.varint32read = exports.varint32write = exports.int64toString = exports.int64fromString = exports.varint64write = exports.varint64read = void 0;\n/**\n * Read a 64 bit varint as two JS numbers.\n *\n * Returns tuple:\n * [0]: low bits\n * [0]: high bits\n *\n * Copyright 2008 Google Inc. All rights reserved.\n *\n * See https://github.com/protocolbuffers/protobuf/blob/8a71927d74a4ce34efe2d8769fda198f52d20d12/js/experimental/runtime/kernel/buffer_decoder.js#L175\n */\nfunction varint64read() {\n let lowBits = 0;\n let highBits = 0;\n for (let shift = 0; shift < 28; shift += 7) {\n let b = this.buf[this.pos++];\n lowBits |= (b & 0x7F) << shift;\n if ((b & 0x80) == 0) {\n this.assertBounds();\n return [lowBits, highBits];\n }\n }\n let middleByte = this.buf[this.pos++];\n // last four bits of the first 32 bit number\n lowBits |= (middleByte & 0x0F) << 28;\n // 3 upper bits are part of the next 32 bit number\n highBits = (middleByte & 0x70) >> 4;\n if ((middleByte & 0x80) == 0) {\n this.assertBounds();\n return [lowBits, highBits];\n }\n for (let shift = 3; shift <= 31; shift += 7) {\n let b = this.buf[this.pos++];\n highBits |= (b & 0x7F) << shift;\n if ((b & 0x80) == 0) {\n this.assertBounds();\n return [lowBits, highBits];\n }\n }\n throw new Error('invalid varint');\n}\nexports.varint64read = varint64read;\n/**\n * Write a 64 bit varint, given as two JS numbers, to the given bytes array.\n *\n * Copyright 2008 Google Inc. All rights reserved.\n *\n * See https://github.com/protocolbuffers/protobuf/blob/8a71927d74a4ce34efe2d8769fda198f52d20d12/js/experimental/runtime/kernel/writer.js#L344\n */\nfunction varint64write(lo, hi, bytes) {\n for (let i = 0; i < 28; i = i + 7) {\n const shift = lo >>> i;\n const hasNext = !((shift >>> 7) == 0 && hi == 0);\n const byte = (hasNext ? shift | 0x80 : shift) & 0xFF;\n bytes.push(byte);\n if (!hasNext) {\n return;\n }\n }\n const splitBits = ((lo >>> 28) & 0x0F) | ((hi & 0x07) << 4);\n const hasMoreBits = !((hi >> 3) == 0);\n bytes.push((hasMoreBits ? splitBits | 0x80 : splitBits) & 0xFF);\n if (!hasMoreBits) {\n return;\n }\n for (let i = 3; i < 31; i = i + 7) {\n const shift = hi >>> i;\n const hasNext = !((shift >>> 7) == 0);\n const byte = (hasNext ? shift | 0x80 : shift) & 0xFF;\n bytes.push(byte);\n if (!hasNext) {\n return;\n }\n }\n bytes.push((hi >>> 31) & 0x01);\n}\nexports.varint64write = varint64write;\n// constants for binary math\nconst TWO_PWR_32_DBL = (1 << 16) * (1 << 16);\n/**\n * Parse decimal string of 64 bit integer value as two JS numbers.\n *\n * Returns tuple:\n * [0]: minus sign?\n * [1]: low bits\n * [2]: high bits\n *\n * Copyright 2008 Google Inc.\n */\nfunction int64fromString(dec) {\n // Check for minus sign.\n let minus = dec[0] == '-';\n if (minus)\n dec = dec.slice(1);\n // Work 6 decimal digits at a time, acting like we're converting base 1e6\n // digits to binary. This is safe to do with floating point math because\n // Number.isSafeInteger(ALL_32_BITS * 1e6) == true.\n const base = 1e6;\n let lowBits = 0;\n let highBits = 0;\n function add1e6digit(begin, end) {\n // Note: Number('') is 0.\n const digit1e6 = Number(dec.slice(begin, end));\n highBits *= base;\n lowBits = lowBits * base + digit1e6;\n // Carry bits from lowBits to highBits\n if (lowBits >= TWO_PWR_32_DBL) {\n highBits = highBits + ((lowBits / TWO_PWR_32_DBL) | 0);\n lowBits = lowBits % TWO_PWR_32_DBL;\n }\n }\n add1e6digit(-24, -18);\n add1e6digit(-18, -12);\n add1e6digit(-12, -6);\n add1e6digit(-6);\n return [minus, lowBits, highBits];\n}\nexports.int64fromString = int64fromString;\n/**\n * Format 64 bit integer value (as two JS numbers) to decimal string.\n *\n * Copyright 2008 Google Inc.\n */\nfunction int64toString(bitsLow, bitsHigh) {\n // Skip the expensive conversion if the number is small enough to use the\n // built-in conversions.\n if ((bitsHigh >>> 0) <= 0x1FFFFF) {\n return '' + (TWO_PWR_32_DBL * bitsHigh + (bitsLow >>> 0));\n }\n // What this code is doing is essentially converting the input number from\n // base-2 to base-1e7, which allows us to represent the 64-bit range with\n // only 3 (very large) digits. Those digits are then trivial to convert to\n // a base-10 string.\n // The magic numbers used here are -\n // 2^24 = 16777216 = (1,6777216) in base-1e7.\n // 2^48 = 281474976710656 = (2,8147497,6710656) in base-1e7.\n // Split 32:32 representation into 16:24:24 representation so our\n // intermediate digits don't overflow.\n let low = bitsLow & 0xFFFFFF;\n let mid = (((bitsLow >>> 24) | (bitsHigh << 8)) >>> 0) & 0xFFFFFF;\n let high = (bitsHigh >> 16) & 0xFFFF;\n // Assemble our three base-1e7 digits, ignoring carries. The maximum\n // value in a digit at this step is representable as a 48-bit integer, which\n // can be stored in a 64-bit floating point number.\n let digitA = low + (mid * 6777216) + (high * 6710656);\n let digitB = mid + (high * 8147497);\n let digitC = (high * 2);\n // Apply carries from A to B and from B to C.\n let base = 10000000;\n if (digitA >= base) {\n digitB += Math.floor(digitA / base);\n digitA %= base;\n }\n if (digitB >= base) {\n digitC += Math.floor(digitB / base);\n digitB %= base;\n }\n // Convert base-1e7 digits to base-10, with optional leading zeroes.\n function decimalFrom1e7(digit1e7, needLeadingZeros) {\n let partial = digit1e7 ? String(digit1e7) : '';\n if (needLeadingZeros) {\n return '0000000'.slice(partial.length) + partial;\n }\n return partial;\n }\n return decimalFrom1e7(digitC, /*needLeadingZeros=*/ 0) +\n decimalFrom1e7(digitB, /*needLeadingZeros=*/ digitC) +\n // If the final 1e7 digit didn't need leading zeros, we would have\n // returned via the trivial code path at the top.\n decimalFrom1e7(digitA, /*needLeadingZeros=*/ 1);\n}\nexports.int64toString = int64toString;\n/**\n * Write a 32 bit varint, signed or unsigned. Same as `varint64write(0, value, bytes)`\n *\n * Copyright 2008 Google Inc. All rights reserved.\n *\n * See https://github.com/protocolbuffers/protobuf/blob/1b18833f4f2a2f681f4e4a25cdf3b0a43115ec26/js/binary/encoder.js#L144\n */\nfunction varint32write(value, bytes) {\n if (value >= 0) {\n // write value as varint 32\n while (value > 0x7f) {\n bytes.push((value & 0x7f) | 0x80);\n value = value >>> 7;\n }\n bytes.push(value);\n }\n else {\n for (let i = 0; i < 9; i++) {\n bytes.push(value & 127 | 128);\n value = value >> 7;\n }\n bytes.push(1);\n }\n}\nexports.varint32write = varint32write;\n/**\n * Read an unsigned 32 bit varint.\n *\n * See https://github.com/protocolbuffers/protobuf/blob/8a71927d74a4ce34efe2d8769fda198f52d20d12/js/experimental/runtime/kernel/buffer_decoder.js#L220\n */\nfunction varint32read() {\n let b = this.buf[this.pos++];\n let result = b & 0x7F;\n if ((b & 0x80) == 0) {\n this.assertBounds();\n return result;\n }\n b = this.buf[this.pos++];\n result |= (b & 0x7F) << 7;\n if ((b & 0x80) == 0) {\n this.assertBounds();\n return result;\n }\n b = this.buf[this.pos++];\n result |= (b & 0x7F) << 14;\n if ((b & 0x80) == 0) {\n this.assertBounds();\n return result;\n }\n b = this.buf[this.pos++];\n result |= (b & 0x7F) << 21;\n if ((b & 0x80) == 0) {\n this.assertBounds();\n return result;\n }\n // Extract only last 4 bits\n b = this.buf[this.pos++];\n result |= (b & 0x0F) << 28;\n for (let readBytes = 5; ((b & 0x80) !== 0) && readBytes < 10; readBytes++)\n b = this.buf[this.pos++];\n if ((b & 0x80) != 0)\n throw new Error('invalid varint');\n this.assertBounds();\n // Result can have 32 bits, convert it to unsigned\n return result >>> 0;\n}\nexports.varint32read = varint32read;\n","\"use strict\";\n// Public API of the protobuf-ts runtime.\n// Note: we do not use `export * from ...` to help tree shakers,\n// webpack verbose output hints that this should be useful\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// Convenience JSON typings and corresponding type guards\nvar json_typings_1 = require(\"./json-typings\");\nObject.defineProperty(exports, \"typeofJsonValue\", { enumerable: true, get: function () { return json_typings_1.typeofJsonValue; } });\nObject.defineProperty(exports, \"isJsonObject\", { enumerable: true, get: function () { return json_typings_1.isJsonObject; } });\n// Base 64 encoding\nvar base64_1 = require(\"./base64\");\nObject.defineProperty(exports, \"base64decode\", { enumerable: true, get: function () { return base64_1.base64decode; } });\nObject.defineProperty(exports, \"base64encode\", { enumerable: true, get: function () { return base64_1.base64encode; } });\n// UTF8 encoding\nvar protobufjs_utf8_1 = require(\"./protobufjs-utf8\");\nObject.defineProperty(exports, \"utf8read\", { enumerable: true, get: function () { return protobufjs_utf8_1.utf8read; } });\n// Binary format contracts, options for reading and writing, for example\nvar binary_format_contract_1 = require(\"./binary-format-contract\");\nObject.defineProperty(exports, \"WireType\", { enumerable: true, get: function () { return binary_format_contract_1.WireType; } });\nObject.defineProperty(exports, \"mergeBinaryOptions\", { enumerable: true, get: function () { return binary_format_contract_1.mergeBinaryOptions; } });\nObject.defineProperty(exports, \"UnknownFieldHandler\", { enumerable: true, get: function () { return binary_format_contract_1.UnknownFieldHandler; } });\n// Standard IBinaryReader implementation\nvar binary_reader_1 = require(\"./binary-reader\");\nObject.defineProperty(exports, \"BinaryReader\", { enumerable: true, get: function () { return binary_reader_1.BinaryReader; } });\nObject.defineProperty(exports, \"binaryReadOptions\", { enumerable: true, get: function () { return binary_reader_1.binaryReadOptions; } });\n// Standard IBinaryWriter implementation\nvar binary_writer_1 = require(\"./binary-writer\");\nObject.defineProperty(exports, \"BinaryWriter\", { enumerable: true, get: function () { return binary_writer_1.BinaryWriter; } });\nObject.defineProperty(exports, \"binaryWriteOptions\", { enumerable: true, get: function () { return binary_writer_1.binaryWriteOptions; } });\n// Int64 and UInt64 implementations required for the binary format\nvar pb_long_1 = require(\"./pb-long\");\nObject.defineProperty(exports, \"PbLong\", { enumerable: true, get: function () { return pb_long_1.PbLong; } });\nObject.defineProperty(exports, \"PbULong\", { enumerable: true, get: function () { return pb_long_1.PbULong; } });\n// JSON format contracts, options for reading and writing, for example\nvar json_format_contract_1 = require(\"./json-format-contract\");\nObject.defineProperty(exports, \"jsonReadOptions\", { enumerable: true, get: function () { return json_format_contract_1.jsonReadOptions; } });\nObject.defineProperty(exports, \"jsonWriteOptions\", { enumerable: true, get: function () { return json_format_contract_1.jsonWriteOptions; } });\nObject.defineProperty(exports, \"mergeJsonOptions\", { enumerable: true, get: function () { return json_format_contract_1.mergeJsonOptions; } });\n// Message type contract\nvar message_type_contract_1 = require(\"./message-type-contract\");\nObject.defineProperty(exports, \"MESSAGE_TYPE\", { enumerable: true, get: function () { return message_type_contract_1.MESSAGE_TYPE; } });\n// Message type implementation via reflection\nvar message_type_1 = require(\"./message-type\");\nObject.defineProperty(exports, \"MessageType\", { enumerable: true, get: function () { return message_type_1.MessageType; } });\n// Reflection info, generated by the plugin, exposed to the user, used by reflection ops\nvar reflection_info_1 = require(\"./reflection-info\");\nObject.defineProperty(exports, \"ScalarType\", { enumerable: true, get: function () { return reflection_info_1.ScalarType; } });\nObject.defineProperty(exports, \"LongType\", { enumerable: true, get: function () { return reflection_info_1.LongType; } });\nObject.defineProperty(exports, \"RepeatType\", { enumerable: true, get: function () { return reflection_info_1.RepeatType; } });\nObject.defineProperty(exports, \"normalizeFieldInfo\", { enumerable: true, get: function () { return reflection_info_1.normalizeFieldInfo; } });\nObject.defineProperty(exports, \"readFieldOptions\", { enumerable: true, get: function () { return reflection_info_1.readFieldOptions; } });\nObject.defineProperty(exports, \"readFieldOption\", { enumerable: true, get: function () { return reflection_info_1.readFieldOption; } });\nObject.defineProperty(exports, \"readMessageOption\", { enumerable: true, get: function () { return reflection_info_1.readMessageOption; } });\n// Message operations via reflection\nvar reflection_type_check_1 = require(\"./reflection-type-check\");\nObject.defineProperty(exports, \"ReflectionTypeCheck\", { enumerable: true, get: function () { return reflection_type_check_1.ReflectionTypeCheck; } });\nvar reflection_create_1 = require(\"./reflection-create\");\nObject.defineProperty(exports, \"reflectionCreate\", { enumerable: true, get: function () { return reflection_create_1.reflectionCreate; } });\nvar reflection_scalar_default_1 = require(\"./reflection-scalar-default\");\nObject.defineProperty(exports, \"reflectionScalarDefault\", { enumerable: true, get: function () { return reflection_scalar_default_1.reflectionScalarDefault; } });\nvar reflection_merge_partial_1 = require(\"./reflection-merge-partial\");\nObject.defineProperty(exports, \"reflectionMergePartial\", { enumerable: true, get: function () { return reflection_merge_partial_1.reflectionMergePartial; } });\nvar reflection_equals_1 = require(\"./reflection-equals\");\nObject.defineProperty(exports, \"reflectionEquals\", { enumerable: true, get: function () { return reflection_equals_1.reflectionEquals; } });\nvar reflection_binary_reader_1 = require(\"./reflection-binary-reader\");\nObject.defineProperty(exports, \"ReflectionBinaryReader\", { enumerable: true, get: function () { return reflection_binary_reader_1.ReflectionBinaryReader; } });\nvar reflection_binary_writer_1 = require(\"./reflection-binary-writer\");\nObject.defineProperty(exports, \"ReflectionBinaryWriter\", { enumerable: true, get: function () { return reflection_binary_writer_1.ReflectionBinaryWriter; } });\nvar reflection_json_reader_1 = require(\"./reflection-json-reader\");\nObject.defineProperty(exports, \"ReflectionJsonReader\", { enumerable: true, get: function () { return reflection_json_reader_1.ReflectionJsonReader; } });\nvar reflection_json_writer_1 = require(\"./reflection-json-writer\");\nObject.defineProperty(exports, \"ReflectionJsonWriter\", { enumerable: true, get: function () { return reflection_json_writer_1.ReflectionJsonWriter; } });\nvar reflection_contains_message_type_1 = require(\"./reflection-contains-message-type\");\nObject.defineProperty(exports, \"containsMessageType\", { enumerable: true, get: function () { return reflection_contains_message_type_1.containsMessageType; } });\n// Oneof helpers\nvar oneof_1 = require(\"./oneof\");\nObject.defineProperty(exports, \"isOneofGroup\", { enumerable: true, get: function () { return oneof_1.isOneofGroup; } });\nObject.defineProperty(exports, \"setOneofValue\", { enumerable: true, get: function () { return oneof_1.setOneofValue; } });\nObject.defineProperty(exports, \"getOneofValue\", { enumerable: true, get: function () { return oneof_1.getOneofValue; } });\nObject.defineProperty(exports, \"clearOneofValue\", { enumerable: true, get: function () { return oneof_1.clearOneofValue; } });\nObject.defineProperty(exports, \"getSelectedOneofValue\", { enumerable: true, get: function () { return oneof_1.getSelectedOneofValue; } });\n// Enum object type guard and reflection util, may be interesting to the user.\nvar enum_object_1 = require(\"./enum-object\");\nObject.defineProperty(exports, \"listEnumValues\", { enumerable: true, get: function () { return enum_object_1.listEnumValues; } });\nObject.defineProperty(exports, \"listEnumNames\", { enumerable: true, get: function () { return enum_object_1.listEnumNames; } });\nObject.defineProperty(exports, \"listEnumNumbers\", { enumerable: true, get: function () { return enum_object_1.listEnumNumbers; } });\nObject.defineProperty(exports, \"isEnumObject\", { enumerable: true, get: function () { return enum_object_1.isEnumObject; } });\n// lowerCamelCase() is exported for plugin, rpc-runtime and other rpc packages\nvar lower_camel_case_1 = require(\"./lower-camel-case\");\nObject.defineProperty(exports, \"lowerCamelCase\", { enumerable: true, get: function () { return lower_camel_case_1.lowerCamelCase; } });\n// assertion functions are exported for plugin, may also be useful to user\nvar assert_1 = require(\"./assert\");\nObject.defineProperty(exports, \"assert\", { enumerable: true, get: function () { return assert_1.assert; } });\nObject.defineProperty(exports, \"assertNever\", { enumerable: true, get: function () { return assert_1.assertNever; } });\nObject.defineProperty(exports, \"assertInt32\", { enumerable: true, get: function () { return assert_1.assertInt32; } });\nObject.defineProperty(exports, \"assertUInt32\", { enumerable: true, get: function () { return assert_1.assertUInt32; } });\nObject.defineProperty(exports, \"assertFloat32\", { enumerable: true, get: function () { return assert_1.assertFloat32; } });\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.mergeJsonOptions = exports.jsonWriteOptions = exports.jsonReadOptions = void 0;\nconst defaultsWrite = {\n emitDefaultValues: false,\n enumAsInteger: false,\n useProtoFieldName: false,\n prettySpaces: 0,\n}, defaultsRead = {\n ignoreUnknownFields: false,\n};\n/**\n * Make options for reading JSON data from partial options.\n */\nfunction jsonReadOptions(options) {\n return options ? Object.assign(Object.assign({}, defaultsRead), options) : defaultsRead;\n}\nexports.jsonReadOptions = jsonReadOptions;\n/**\n * Make options for writing JSON data from partial options.\n */\nfunction jsonWriteOptions(options) {\n return options ? Object.assign(Object.assign({}, defaultsWrite), options) : defaultsWrite;\n}\nexports.jsonWriteOptions = jsonWriteOptions;\n/**\n * Merges JSON write or read options. Later values override earlier values. Type registries are merged.\n */\nfunction mergeJsonOptions(a, b) {\n var _a, _b;\n let c = Object.assign(Object.assign({}, a), b);\n c.typeRegistry = [...((_a = a === null || a === void 0 ? void 0 : a.typeRegistry) !== null && _a !== void 0 ? _a : []), ...((_b = b === null || b === void 0 ? void 0 : b.typeRegistry) !== null && _b !== void 0 ? _b : [])];\n return c;\n}\nexports.mergeJsonOptions = mergeJsonOptions;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isJsonObject = exports.typeofJsonValue = void 0;\n/**\n * Get the type of a JSON value.\n * Distinguishes between array, null and object.\n */\nfunction typeofJsonValue(value) {\n let t = typeof value;\n if (t == \"object\") {\n if (Array.isArray(value))\n return \"array\";\n if (value === null)\n return \"null\";\n }\n return t;\n}\nexports.typeofJsonValue = typeofJsonValue;\n/**\n * Is this a JSON object (instead of an array or null)?\n */\nfunction isJsonObject(value) {\n return value !== null && typeof value == \"object\" && !Array.isArray(value);\n}\nexports.isJsonObject = isJsonObject;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.lowerCamelCase = void 0;\n/**\n * Converts snake_case to lowerCamelCase.\n *\n * Should behave like protoc:\n * https://github.com/protocolbuffers/protobuf/blob/e8ae137c96444ea313485ed1118c5e43b2099cf1/src/google/protobuf/compiler/java/java_helpers.cc#L118\n */\nfunction lowerCamelCase(snakeCase) {\n let capNext = false;\n const sb = [];\n for (let i = 0; i < snakeCase.length; i++) {\n let next = snakeCase.charAt(i);\n if (next == '_') {\n capNext = true;\n }\n else if (/\\d/.test(next)) {\n sb.push(next);\n capNext = true;\n }\n else if (capNext) {\n sb.push(next.toUpperCase());\n capNext = false;\n }\n else if (i == 0) {\n sb.push(next.toLowerCase());\n }\n else {\n sb.push(next);\n }\n }\n return sb.join('');\n}\nexports.lowerCamelCase = lowerCamelCase;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MESSAGE_TYPE = void 0;\n/**\n * The symbol used as a key on message objects to store the message type.\n *\n * Note that this is an experimental feature - it is here to stay, but\n * implementation details may change without notice.\n */\nexports.MESSAGE_TYPE = Symbol.for(\"protobuf-ts/message-type\");\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MessageType = void 0;\nconst message_type_contract_1 = require(\"./message-type-contract\");\nconst reflection_info_1 = require(\"./reflection-info\");\nconst reflection_type_check_1 = require(\"./reflection-type-check\");\nconst reflection_json_reader_1 = require(\"./reflection-json-reader\");\nconst reflection_json_writer_1 = require(\"./reflection-json-writer\");\nconst reflection_binary_reader_1 = require(\"./reflection-binary-reader\");\nconst reflection_binary_writer_1 = require(\"./reflection-binary-writer\");\nconst reflection_create_1 = require(\"./reflection-create\");\nconst reflection_merge_partial_1 = require(\"./reflection-merge-partial\");\nconst json_typings_1 = require(\"./json-typings\");\nconst json_format_contract_1 = require(\"./json-format-contract\");\nconst reflection_equals_1 = require(\"./reflection-equals\");\nconst binary_writer_1 = require(\"./binary-writer\");\nconst binary_reader_1 = require(\"./binary-reader\");\nconst baseDescriptors = Object.getOwnPropertyDescriptors(Object.getPrototypeOf({}));\nconst messageTypeDescriptor = baseDescriptors[message_type_contract_1.MESSAGE_TYPE] = {};\n/**\n * This standard message type provides reflection-based\n * operations to work with a message.\n */\nclass MessageType {\n constructor(name, fields, options) {\n this.defaultCheckDepth = 16;\n this.typeName = name;\n this.fields = fields.map(reflection_info_1.normalizeFieldInfo);\n this.options = options !== null && options !== void 0 ? options : {};\n messageTypeDescriptor.value = this;\n this.messagePrototype = Object.create(null, baseDescriptors);\n this.refTypeCheck = new reflection_type_check_1.ReflectionTypeCheck(this);\n this.refJsonReader = new reflection_json_reader_1.ReflectionJsonReader(this);\n this.refJsonWriter = new reflection_json_writer_1.ReflectionJsonWriter(this);\n this.refBinReader = new reflection_binary_reader_1.ReflectionBinaryReader(this);\n this.refBinWriter = new reflection_binary_writer_1.ReflectionBinaryWriter(this);\n }\n create(value) {\n let message = reflection_create_1.reflectionCreate(this);\n if (value !== undefined) {\n reflection_merge_partial_1.reflectionMergePartial(this, message, value);\n }\n return message;\n }\n /**\n * Clone the message.\n *\n * Unknown fields are discarded.\n */\n clone(message) {\n let copy = this.create();\n reflection_merge_partial_1.reflectionMergePartial(this, copy, message);\n return copy;\n }\n /**\n * Determines whether two message of the same type have the same field values.\n * Checks for deep equality, traversing repeated fields, oneof groups, maps\n * and messages recursively.\n * Will also return true if both messages are `undefined`.\n */\n equals(a, b) {\n return reflection_equals_1.reflectionEquals(this, a, b);\n }\n /**\n * Is the given value assignable to our message type\n * and contains no [excess properties](https://www.typescriptlang.org/docs/handbook/interfaces.html#excess-property-checks)?\n */\n is(arg, depth = this.defaultCheckDepth) {\n return this.refTypeCheck.is(arg, depth, false);\n }\n /**\n * Is the given value assignable to our message type,\n * regardless of [excess properties](https://www.typescriptlang.org/docs/handbook/interfaces.html#excess-property-checks)?\n */\n isAssignable(arg, depth = this.defaultCheckDepth) {\n return this.refTypeCheck.is(arg, depth, true);\n }\n /**\n * Copy partial data into the target message.\n */\n mergePartial(target, source) {\n reflection_merge_partial_1.reflectionMergePartial(this, target, source);\n }\n /**\n * Create a new message from binary format.\n */\n fromBinary(data, options) {\n let opt = binary_reader_1.binaryReadOptions(options);\n return this.internalBinaryRead(opt.readerFactory(data), data.byteLength, opt);\n }\n /**\n * Read a new message from a JSON value.\n */\n fromJson(json, options) {\n return this.internalJsonRead(json, json_format_contract_1.jsonReadOptions(options));\n }\n /**\n * Read a new message from a JSON string.\n * This is equivalent to `T.fromJson(JSON.parse(json))`.\n */\n fromJsonString(json, options) {\n let value = JSON.parse(json);\n return this.fromJson(value, options);\n }\n /**\n * Write the message to canonical JSON value.\n */\n toJson(message, options) {\n return this.internalJsonWrite(message, json_format_contract_1.jsonWriteOptions(options));\n }\n /**\n * Convert the message to canonical JSON string.\n * This is equivalent to `JSON.stringify(T.toJson(t))`\n */\n toJsonString(message, options) {\n var _a;\n let value = this.toJson(message, options);\n return JSON.stringify(value, null, (_a = options === null || options === void 0 ? void 0 : options.prettySpaces) !== null && _a !== void 0 ? _a : 0);\n }\n /**\n * Write the message to binary format.\n */\n toBinary(message, options) {\n let opt = binary_writer_1.binaryWriteOptions(options);\n return this.internalBinaryWrite(message, opt.writerFactory(), opt).finish();\n }\n /**\n * This is an internal method. If you just want to read a message from\n * JSON, use `fromJson()` or `fromJsonString()`.\n *\n * Reads JSON value and merges the fields into the target\n * according to protobuf rules. If the target is omitted,\n * a new instance is created first.\n */\n internalJsonRead(json, options, target) {\n if (json !== null && typeof json == \"object\" && !Array.isArray(json)) {\n let message = target !== null && target !== void 0 ? target : this.create();\n this.refJsonReader.read(json, message, options);\n return message;\n }\n throw new Error(`Unable to parse message ${this.typeName} from JSON ${json_typings_1.typeofJsonValue(json)}.`);\n }\n /**\n * This is an internal method. If you just want to write a message\n * to JSON, use `toJson()` or `toJsonString().\n *\n * Writes JSON value and returns it.\n */\n internalJsonWrite(message, options) {\n return this.refJsonWriter.write(message, options);\n }\n /**\n * This is an internal method. If you just want to write a message\n * in binary format, use `toBinary()`.\n *\n * Serializes the message in binary format and appends it to the given\n * writer. Returns passed writer.\n */\n internalBinaryWrite(message, writer, options) {\n this.refBinWriter.write(message, writer, options);\n return writer;\n }\n /**\n * This is an internal method. If you just want to read a message from\n * binary data, use `fromBinary()`.\n *\n * Reads data from binary format and merges the fields into\n * the target according to protobuf rules. If the target is\n * omitted, a new instance is created first.\n */\n internalBinaryRead(reader, length, options, target) {\n let message = target !== null && target !== void 0 ? target : this.create();\n this.refBinReader.read(reader, message, options, length);\n return message;\n }\n}\nexports.MessageType = MessageType;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getSelectedOneofValue = exports.clearOneofValue = exports.setUnknownOneofValue = exports.setOneofValue = exports.getOneofValue = exports.isOneofGroup = void 0;\n/**\n * Is the given value a valid oneof group?\n *\n * We represent protobuf `oneof` as algebraic data types (ADT) in generated\n * code. But when working with messages of unknown type, the ADT does not\n * help us.\n *\n * This type guard checks if the given object adheres to the ADT rules, which\n * are as follows:\n *\n * 1) Must be an object.\n *\n * 2) Must have a \"oneofKind\" discriminator property.\n *\n * 3) If \"oneofKind\" is `undefined`, no member field is selected. The object\n * must not have any other properties.\n *\n * 4) If \"oneofKind\" is a `string`, the member field with this name is\n * selected.\n *\n * 5) If a member field is selected, the object must have a second property\n * with this name. The property must not be `undefined`.\n *\n * 6) No extra properties are allowed. The object has either one property\n * (no selection) or two properties (selection).\n *\n */\nfunction isOneofGroup(any) {\n if (typeof any != 'object' || any === null || !any.hasOwnProperty('oneofKind')) {\n return false;\n }\n switch (typeof any.oneofKind) {\n case \"string\":\n if (any[any.oneofKind] === undefined)\n return false;\n return Object.keys(any).length == 2;\n case \"undefined\":\n return Object.keys(any).length == 1;\n default:\n return false;\n }\n}\nexports.isOneofGroup = isOneofGroup;\n/**\n * Returns the value of the given field in a oneof group.\n */\nfunction getOneofValue(oneof, kind) {\n return oneof[kind];\n}\nexports.getOneofValue = getOneofValue;\nfunction setOneofValue(oneof, kind, value) {\n if (oneof.oneofKind !== undefined) {\n delete oneof[oneof.oneofKind];\n }\n oneof.oneofKind = kind;\n if (value !== undefined) {\n oneof[kind] = value;\n }\n}\nexports.setOneofValue = setOneofValue;\nfunction setUnknownOneofValue(oneof, kind, value) {\n if (oneof.oneofKind !== undefined) {\n delete oneof[oneof.oneofKind];\n }\n oneof.oneofKind = kind;\n if (value !== undefined && kind !== undefined) {\n oneof[kind] = value;\n }\n}\nexports.setUnknownOneofValue = setUnknownOneofValue;\n/**\n * Removes the selected field in a oneof group.\n *\n * Note that the recommended way to modify a oneof group is to set\n * a new object:\n *\n * ```ts\n * message.result = { oneofKind: undefined };\n * ```\n */\nfunction clearOneofValue(oneof) {\n if (oneof.oneofKind !== undefined) {\n delete oneof[oneof.oneofKind];\n }\n oneof.oneofKind = undefined;\n}\nexports.clearOneofValue = clearOneofValue;\n/**\n * Returns the selected value of the given oneof group.\n *\n * Not that the recommended way to access a oneof group is to check\n * the \"oneofKind\" property and let TypeScript narrow down the union\n * type for you:\n *\n * ```ts\n * if (message.result.oneofKind === \"error\") {\n * message.result.error; // string\n * }\n * ```\n *\n * In the rare case you just need the value, and do not care about\n * which protobuf field is selected, you can use this function\n * for convenience.\n */\nfunction getSelectedOneofValue(oneof) {\n if (oneof.oneofKind === undefined) {\n return undefined;\n }\n return oneof[oneof.oneofKind];\n}\nexports.getSelectedOneofValue = getSelectedOneofValue;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PbLong = exports.PbULong = exports.detectBi = void 0;\nconst goog_varint_1 = require(\"./goog-varint\");\nlet BI;\nfunction detectBi() {\n const dv = new DataView(new ArrayBuffer(8));\n const ok = globalThis.BigInt !== undefined\n && typeof dv.getBigInt64 === \"function\"\n && typeof dv.getBigUint64 === \"function\"\n && typeof dv.setBigInt64 === \"function\"\n && typeof dv.setBigUint64 === \"function\";\n BI = ok ? {\n MIN: BigInt(\"-9223372036854775808\"),\n MAX: BigInt(\"9223372036854775807\"),\n UMIN: BigInt(\"0\"),\n UMAX: BigInt(\"18446744073709551615\"),\n C: BigInt,\n V: dv,\n } : undefined;\n}\nexports.detectBi = detectBi;\ndetectBi();\nfunction assertBi(bi) {\n if (!bi)\n throw new Error(\"BigInt unavailable, see https://github.com/timostamm/protobuf-ts/blob/v1.0.8/MANUAL.md#bigint-support\");\n}\n// used to validate from(string) input (when bigint is unavailable)\nconst RE_DECIMAL_STR = /^-?[0-9]+$/;\n// constants for binary math\nconst TWO_PWR_32_DBL = 0x100000000;\nconst HALF_2_PWR_32 = 0x080000000;\n// base class for PbLong and PbULong provides shared code\nclass SharedPbLong {\n /**\n * Create a new instance with the given bits.\n */\n constructor(lo, hi) {\n this.lo = lo | 0;\n this.hi = hi | 0;\n }\n /**\n * Is this instance equal to 0?\n */\n isZero() {\n return this.lo == 0 && this.hi == 0;\n }\n /**\n * Convert to a native number.\n */\n toNumber() {\n let result = this.hi * TWO_PWR_32_DBL + (this.lo >>> 0);\n if (!Number.isSafeInteger(result))\n throw new Error(\"cannot convert to safe number\");\n return result;\n }\n}\n/**\n * 64-bit unsigned integer as two 32-bit values.\n * Converts between `string`, `number` and `bigint` representations.\n */\nclass PbULong extends SharedPbLong {\n /**\n * Create instance from a `string`, `number` or `bigint`.\n */\n static from(value) {\n if (BI)\n // noinspection FallThroughInSwitchStatementJS\n switch (typeof value) {\n case \"string\":\n if (value == \"0\")\n return this.ZERO;\n if (value == \"\")\n throw new Error('string is no integer');\n value = BI.C(value);\n case \"number\":\n if (value === 0)\n return this.ZERO;\n value = BI.C(value);\n case \"bigint\":\n if (!value)\n return this.ZERO;\n if (value < BI.UMIN)\n throw new Error('signed value for ulong');\n if (value > BI.UMAX)\n throw new Error('ulong too large');\n BI.V.setBigUint64(0, value, true);\n return new PbULong(BI.V.getInt32(0, true), BI.V.getInt32(4, true));\n }\n else\n switch (typeof value) {\n case \"string\":\n if (value == \"0\")\n return this.ZERO;\n value = value.trim();\n if (!RE_DECIMAL_STR.test(value))\n throw new Error('string is no integer');\n let [minus, lo, hi] = goog_varint_1.int64fromString(value);\n if (minus)\n throw new Error('signed value for ulong');\n return new PbULong(lo, hi);\n case \"number\":\n if (value == 0)\n return this.ZERO;\n if (!Number.isSafeInteger(value))\n throw new Error('number is no integer');\n if (value < 0)\n throw new Error('signed value for ulong');\n return new PbULong(value, value / TWO_PWR_32_DBL);\n }\n throw new Error('unknown value ' + typeof value);\n }\n /**\n * Convert to decimal string.\n */\n toString() {\n return BI ? this.toBigInt().toString() : goog_varint_1.int64toString(this.lo, this.hi);\n }\n /**\n * Convert to native bigint.\n */\n toBigInt() {\n assertBi(BI);\n BI.V.setInt32(0, this.lo, true);\n BI.V.setInt32(4, this.hi, true);\n return BI.V.getBigUint64(0, true);\n }\n}\nexports.PbULong = PbULong;\n/**\n * ulong 0 singleton.\n */\nPbULong.ZERO = new PbULong(0, 0);\n/**\n * 64-bit signed integer as two 32-bit values.\n * Converts between `string`, `number` and `bigint` representations.\n */\nclass PbLong extends SharedPbLong {\n /**\n * Create instance from a `string`, `number` or `bigint`.\n */\n static from(value) {\n if (BI)\n // noinspection FallThroughInSwitchStatementJS\n switch (typeof value) {\n case \"string\":\n if (value == \"0\")\n return this.ZERO;\n if (value == \"\")\n throw new Error('string is no integer');\n value = BI.C(value);\n case \"number\":\n if (value === 0)\n return this.ZERO;\n value = BI.C(value);\n case \"bigint\":\n if (!value)\n return this.ZERO;\n if (value < BI.MIN)\n throw new Error('signed long too small');\n if (value > BI.MAX)\n throw new Error('signed long too large');\n BI.V.setBigInt64(0, value, true);\n return new PbLong(BI.V.getInt32(0, true), BI.V.getInt32(4, true));\n }\n else\n switch (typeof value) {\n case \"string\":\n if (value == \"0\")\n return this.ZERO;\n value = value.trim();\n if (!RE_DECIMAL_STR.test(value))\n throw new Error('string is no integer');\n let [minus, lo, hi] = goog_varint_1.int64fromString(value);\n if (minus) {\n if (hi > HALF_2_PWR_32 || (hi == HALF_2_PWR_32 && lo != 0))\n throw new Error('signed long too small');\n }\n else if (hi >= HALF_2_PWR_32)\n throw new Error('signed long too large');\n let pbl = new PbLong(lo, hi);\n return minus ? pbl.negate() : pbl;\n case \"number\":\n if (value == 0)\n return this.ZERO;\n if (!Number.isSafeInteger(value))\n throw new Error('number is no integer');\n return value > 0\n ? new PbLong(value, value / TWO_PWR_32_DBL)\n : new PbLong(-value, -value / TWO_PWR_32_DBL).negate();\n }\n throw new Error('unknown value ' + typeof value);\n }\n /**\n * Do we have a minus sign?\n */\n isNegative() {\n return (this.hi & HALF_2_PWR_32) !== 0;\n }\n /**\n * Negate two's complement.\n * Invert all the bits and add one to the result.\n */\n negate() {\n let hi = ~this.hi, lo = this.lo;\n if (lo)\n lo = ~lo + 1;\n else\n hi += 1;\n return new PbLong(lo, hi);\n }\n /**\n * Convert to decimal string.\n */\n toString() {\n if (BI)\n return this.toBigInt().toString();\n if (this.isNegative()) {\n let n = this.negate();\n return '-' + goog_varint_1.int64toString(n.lo, n.hi);\n }\n return goog_varint_1.int64toString(this.lo, this.hi);\n }\n /**\n * Convert to native bigint.\n */\n toBigInt() {\n assertBi(BI);\n BI.V.setInt32(0, this.lo, true);\n BI.V.setInt32(4, this.hi, true);\n return BI.V.getBigInt64(0, true);\n }\n}\nexports.PbLong = PbLong;\n/**\n * long 0 singleton.\n */\nPbLong.ZERO = new PbLong(0, 0);\n","\"use strict\";\n// Copyright (c) 2016, Daniel Wirtz All rights reserved.\n//\n// Redistribution and use in source and binary forms, with or without\n// modification, are permitted provided that the following conditions are\n// met:\n//\n// * Redistributions of source code must retain the above copyright\n// notice, this list of conditions and the following disclaimer.\n// * Redistributions in binary form must reproduce the above copyright\n// notice, this list of conditions and the following disclaimer in the\n// documentation and/or other materials provided with the distribution.\n// * Neither the name of its author, nor the names of its contributors\n// may be used to endorse or promote products derived from this software\n// without specific prior written permission.\n//\n// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n// \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\n// LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\n// A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\n// OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n// SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\n// LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\n// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\n// THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.utf8read = void 0;\nconst fromCharCodes = (chunk) => String.fromCharCode.apply(String, chunk);\n/**\n * @deprecated This function will no longer be exported with the next major\n * release, since protobuf-ts has switch to TextDecoder API. If you need this\n * function, please migrate to @protobufjs/utf8. For context, see\n * https://github.com/timostamm/protobuf-ts/issues/184\n *\n * Reads UTF8 bytes as a string.\n *\n * See [protobufjs / utf8](https://github.com/protobufjs/protobuf.js/blob/9893e35b854621cce64af4bf6be2cff4fb892796/lib/utf8/index.js#L40)\n *\n * Copyright (c) 2016, Daniel Wirtz\n */\nfunction utf8read(bytes) {\n if (bytes.length < 1)\n return \"\";\n let pos = 0, // position in bytes\n parts = [], chunk = [], i = 0, // char offset\n t; // temporary\n let len = bytes.length;\n while (pos < len) {\n t = bytes[pos++];\n if (t < 128)\n chunk[i++] = t;\n else if (t > 191 && t < 224)\n chunk[i++] = (t & 31) << 6 | bytes[pos++] & 63;\n else if (t > 239 && t < 365) {\n t = ((t & 7) << 18 | (bytes[pos++] & 63) << 12 | (bytes[pos++] & 63) << 6 | bytes[pos++] & 63) - 0x10000;\n chunk[i++] = 0xD800 + (t >> 10);\n chunk[i++] = 0xDC00 + (t & 1023);\n }\n else\n chunk[i++] = (t & 15) << 12 | (bytes[pos++] & 63) << 6 | bytes[pos++] & 63;\n if (i > 8191) {\n parts.push(fromCharCodes(chunk));\n i = 0;\n }\n }\n if (parts.length) {\n if (i)\n parts.push(fromCharCodes(chunk.slice(0, i)));\n return parts.join(\"\");\n }\n return fromCharCodes(chunk.slice(0, i));\n}\nexports.utf8read = utf8read;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ReflectionBinaryReader = void 0;\nconst binary_format_contract_1 = require(\"./binary-format-contract\");\nconst reflection_info_1 = require(\"./reflection-info\");\nconst reflection_long_convert_1 = require(\"./reflection-long-convert\");\nconst reflection_scalar_default_1 = require(\"./reflection-scalar-default\");\n/**\n * Reads proto3 messages in binary format using reflection information.\n *\n * https://developers.google.com/protocol-buffers/docs/encoding\n */\nclass ReflectionBinaryReader {\n constructor(info) {\n this.info = info;\n }\n prepare() {\n var _a;\n if (!this.fieldNoToField) {\n const fieldsInput = (_a = this.info.fields) !== null && _a !== void 0 ? _a : [];\n this.fieldNoToField = new Map(fieldsInput.map(field => [field.no, field]));\n }\n }\n /**\n * Reads a message from binary format into the target message.\n *\n * Repeated fields are appended. Map entries are added, overwriting\n * existing keys.\n *\n * If a message field is already present, it will be merged with the\n * new data.\n */\n read(reader, message, options, length) {\n this.prepare();\n const end = length === undefined ? reader.len : reader.pos + length;\n while (reader.pos < end) {\n // read the tag and find the field\n const [fieldNo, wireType] = reader.tag(), field = this.fieldNoToField.get(fieldNo);\n if (!field) {\n let u = options.readUnknownField;\n if (u == \"throw\")\n throw new Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.info.typeName}`);\n let d = reader.skip(wireType);\n if (u !== false)\n (u === true ? binary_format_contract_1.UnknownFieldHandler.onRead : u)(this.info.typeName, message, fieldNo, wireType, d);\n continue;\n }\n // target object for the field we are reading\n let target = message, repeated = field.repeat, localName = field.localName;\n // if field is member of oneof ADT, use ADT as target\n if (field.oneof) {\n target = target[field.oneof];\n // if other oneof member selected, set new ADT\n if (target.oneofKind !== localName)\n target = message[field.oneof] = {\n oneofKind: localName\n };\n }\n // we have handled oneof above, we just have read the value into `target[localName]`\n switch (field.kind) {\n case \"scalar\":\n case \"enum\":\n let T = field.kind == \"enum\" ? reflection_info_1.ScalarType.INT32 : field.T;\n let L = field.kind == \"scalar\" ? field.L : undefined;\n if (repeated) {\n let arr = target[localName]; // safe to assume presence of array, oneof cannot contain repeated values\n if (wireType == binary_format_contract_1.WireType.LengthDelimited && T != reflection_info_1.ScalarType.STRING && T != reflection_info_1.ScalarType.BYTES) {\n let e = reader.uint32() + reader.pos;\n while (reader.pos < e)\n arr.push(this.scalar(reader, T, L));\n }\n else\n arr.push(this.scalar(reader, T, L));\n }\n else\n target[localName] = this.scalar(reader, T, L);\n break;\n case \"message\":\n if (repeated) {\n let arr = target[localName]; // safe to assume presence of array, oneof cannot contain repeated values\n let msg = field.T().internalBinaryRead(reader, reader.uint32(), options);\n arr.push(msg);\n }\n else\n target[localName] = field.T().internalBinaryRead(reader, reader.uint32(), options, target[localName]);\n break;\n case \"map\":\n let [mapKey, mapVal] = this.mapEntry(field, reader, options);\n // safe to assume presence of map object, oneof cannot contain repeated values\n target[localName][mapKey] = mapVal;\n break;\n }\n }\n }\n /**\n * Read a map field, expecting key field = 1, value field = 2\n */\n mapEntry(field, reader, options) {\n let length = reader.uint32();\n let end = reader.pos + length;\n let key = undefined; // javascript only allows number or string for object properties\n let val = undefined;\n while (reader.pos < end) {\n let [fieldNo, wireType] = reader.tag();\n switch (fieldNo) {\n case 1:\n if (field.K == reflection_info_1.ScalarType.BOOL)\n key = reader.bool().toString();\n else\n // long types are read as string, number types are okay as number\n key = this.scalar(reader, field.K, reflection_info_1.LongType.STRING);\n break;\n case 2:\n switch (field.V.kind) {\n case \"scalar\":\n val = this.scalar(reader, field.V.T, field.V.L);\n break;\n case \"enum\":\n val = reader.int32();\n break;\n case \"message\":\n val = field.V.T().internalBinaryRead(reader, reader.uint32(), options);\n break;\n }\n break;\n default:\n throw new Error(`Unknown field ${fieldNo} (wire type ${wireType}) in map entry for ${this.info.typeName}#${field.name}`);\n }\n }\n if (key === undefined) {\n let keyRaw = reflection_scalar_default_1.reflectionScalarDefault(field.K);\n key = field.K == reflection_info_1.ScalarType.BOOL ? keyRaw.toString() : keyRaw;\n }\n if (val === undefined)\n switch (field.V.kind) {\n case \"scalar\":\n val = reflection_scalar_default_1.reflectionScalarDefault(field.V.T, field.V.L);\n break;\n case \"enum\":\n val = 0;\n break;\n case \"message\":\n val = field.V.T().create();\n break;\n }\n return [key, val];\n }\n scalar(reader, type, longType) {\n switch (type) {\n case reflection_info_1.ScalarType.INT32:\n return reader.int32();\n case reflection_info_1.ScalarType.STRING:\n return reader.string();\n case reflection_info_1.ScalarType.BOOL:\n return reader.bool();\n case reflection_info_1.ScalarType.DOUBLE:\n return reader.double();\n case reflection_info_1.ScalarType.FLOAT:\n return reader.float();\n case reflection_info_1.ScalarType.INT64:\n return reflection_long_convert_1.reflectionLongConvert(reader.int64(), longType);\n case reflection_info_1.ScalarType.UINT64:\n return reflection_long_convert_1.reflectionLongConvert(reader.uint64(), longType);\n case reflection_info_1.ScalarType.FIXED64:\n return reflection_long_convert_1.reflectionLongConvert(reader.fixed64(), longType);\n case reflection_info_1.ScalarType.FIXED32:\n return reader.fixed32();\n case reflection_info_1.ScalarType.BYTES:\n return reader.bytes();\n case reflection_info_1.ScalarType.UINT32:\n return reader.uint32();\n case reflection_info_1.ScalarType.SFIXED32:\n return reader.sfixed32();\n case reflection_info_1.ScalarType.SFIXED64:\n return reflection_long_convert_1.reflectionLongConvert(reader.sfixed64(), longType);\n case reflection_info_1.ScalarType.SINT32:\n return reader.sint32();\n case reflection_info_1.ScalarType.SINT64:\n return reflection_long_convert_1.reflectionLongConvert(reader.sint64(), longType);\n }\n }\n}\nexports.ReflectionBinaryReader = ReflectionBinaryReader;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ReflectionBinaryWriter = void 0;\nconst binary_format_contract_1 = require(\"./binary-format-contract\");\nconst reflection_info_1 = require(\"./reflection-info\");\nconst assert_1 = require(\"./assert\");\nconst pb_long_1 = require(\"./pb-long\");\n/**\n * Writes proto3 messages in binary format using reflection information.\n *\n * https://developers.google.com/protocol-buffers/docs/encoding\n */\nclass ReflectionBinaryWriter {\n constructor(info) {\n this.info = info;\n }\n prepare() {\n if (!this.fields) {\n const fieldsInput = this.info.fields ? this.info.fields.concat() : [];\n this.fields = fieldsInput.sort((a, b) => a.no - b.no);\n }\n }\n /**\n * Writes the message to binary format.\n */\n write(message, writer, options) {\n this.prepare();\n for (const field of this.fields) {\n let value, // this will be our field value, whether it is member of a oneof or not\n emitDefault, // whether we emit the default value (only true for oneof members)\n repeated = field.repeat, localName = field.localName;\n // handle oneof ADT\n if (field.oneof) {\n const group = message[field.oneof];\n if (group.oneofKind !== localName)\n continue; // if field is not selected, skip\n value = group[localName];\n emitDefault = true;\n }\n else {\n value = message[localName];\n emitDefault = false;\n }\n // we have handled oneof above. we just have to honor `emitDefault`.\n switch (field.kind) {\n case \"scalar\":\n case \"enum\":\n let T = field.kind == \"enum\" ? reflection_info_1.ScalarType.INT32 : field.T;\n if (repeated) {\n assert_1.assert(Array.isArray(value));\n if (repeated == reflection_info_1.RepeatType.PACKED)\n this.packed(writer, T, field.no, value);\n else\n for (const item of value)\n this.scalar(writer, T, field.no, item, true);\n }\n else if (value === undefined)\n assert_1.assert(field.opt);\n else\n this.scalar(writer, T, field.no, value, emitDefault || field.opt);\n break;\n case \"message\":\n if (repeated) {\n assert_1.assert(Array.isArray(value));\n for (const item of value)\n this.message(writer, options, field.T(), field.no, item);\n }\n else {\n this.message(writer, options, field.T(), field.no, value);\n }\n break;\n case \"map\":\n assert_1.assert(typeof value == 'object' && value !== null);\n for (const [key, val] of Object.entries(value))\n this.mapEntry(writer, options, field, key, val);\n break;\n }\n }\n let u = options.writeUnknownFields;\n if (u !== false)\n (u === true ? binary_format_contract_1.UnknownFieldHandler.onWrite : u)(this.info.typeName, message, writer);\n }\n mapEntry(writer, options, field, key, value) {\n writer.tag(field.no, binary_format_contract_1.WireType.LengthDelimited);\n writer.fork();\n // javascript only allows number or string for object properties\n // we convert from our representation to the protobuf type\n let keyValue = key;\n switch (field.K) {\n case reflection_info_1.ScalarType.INT32:\n case reflection_info_1.ScalarType.FIXED32:\n case reflection_info_1.ScalarType.UINT32:\n case reflection_info_1.ScalarType.SFIXED32:\n case reflection_info_1.ScalarType.SINT32:\n keyValue = Number.parseInt(key);\n break;\n case reflection_info_1.ScalarType.BOOL:\n assert_1.assert(key == 'true' || key == 'false');\n keyValue = key == 'true';\n break;\n }\n // write key, expecting key field number = 1\n this.scalar(writer, field.K, 1, keyValue, true);\n // write value, expecting value field number = 2\n switch (field.V.kind) {\n case 'scalar':\n this.scalar(writer, field.V.T, 2, value, true);\n break;\n case 'enum':\n this.scalar(writer, reflection_info_1.ScalarType.INT32, 2, value, true);\n break;\n case 'message':\n this.message(writer, options, field.V.T(), 2, value);\n break;\n }\n writer.join();\n }\n message(writer, options, handler, fieldNo, value) {\n if (value === undefined)\n return;\n handler.internalBinaryWrite(value, writer.tag(fieldNo, binary_format_contract_1.WireType.LengthDelimited).fork(), options);\n writer.join();\n }\n /**\n * Write a single scalar value.\n */\n scalar(writer, type, fieldNo, value, emitDefault) {\n let [wireType, method, isDefault] = this.scalarInfo(type, value);\n if (!isDefault || emitDefault) {\n writer.tag(fieldNo, wireType);\n writer[method](value);\n }\n }\n /**\n * Write an array of scalar values in packed format.\n */\n packed(writer, type, fieldNo, value) {\n if (!value.length)\n return;\n assert_1.assert(type !== reflection_info_1.ScalarType.BYTES && type !== reflection_info_1.ScalarType.STRING);\n // write tag\n writer.tag(fieldNo, binary_format_contract_1.WireType.LengthDelimited);\n // begin length-delimited\n writer.fork();\n // write values without tags\n let [, method,] = this.scalarInfo(type);\n for (let i = 0; i < value.length; i++)\n writer[method](value[i]);\n // end length delimited\n writer.join();\n }\n /**\n * Get information for writing a scalar value.\n *\n * Returns tuple:\n * [0]: appropriate WireType\n * [1]: name of the appropriate method of IBinaryWriter\n * [2]: whether the given value is a default value\n *\n * If argument `value` is omitted, [2] is always false.\n */\n scalarInfo(type, value) {\n let t = binary_format_contract_1.WireType.Varint;\n let m;\n let i = value === undefined;\n let d = value === 0;\n switch (type) {\n case reflection_info_1.ScalarType.INT32:\n m = \"int32\";\n break;\n case reflection_info_1.ScalarType.STRING:\n d = i || !value.length;\n t = binary_format_contract_1.WireType.LengthDelimited;\n m = \"string\";\n break;\n case reflection_info_1.ScalarType.BOOL:\n d = value === false;\n m = \"bool\";\n break;\n case reflection_info_1.ScalarType.UINT32:\n m = \"uint32\";\n break;\n case reflection_info_1.ScalarType.DOUBLE:\n t = binary_format_contract_1.WireType.Bit64;\n m = \"double\";\n break;\n case reflection_info_1.ScalarType.FLOAT:\n t = binary_format_contract_1.WireType.Bit32;\n m = \"float\";\n break;\n case reflection_info_1.ScalarType.INT64:\n d = i || pb_long_1.PbLong.from(value).isZero();\n m = \"int64\";\n break;\n case reflection_info_1.ScalarType.UINT64:\n d = i || pb_long_1.PbULong.from(value).isZero();\n m = \"uint64\";\n break;\n case reflection_info_1.ScalarType.FIXED64:\n d = i || pb_long_1.PbULong.from(value).isZero();\n t = binary_format_contract_1.WireType.Bit64;\n m = \"fixed64\";\n break;\n case reflection_info_1.ScalarType.BYTES:\n d = i || !value.byteLength;\n t = binary_format_contract_1.WireType.LengthDelimited;\n m = \"bytes\";\n break;\n case reflection_info_1.ScalarType.FIXED32:\n t = binary_format_contract_1.WireType.Bit32;\n m = \"fixed32\";\n break;\n case reflection_info_1.ScalarType.SFIXED32:\n t = binary_format_contract_1.WireType.Bit32;\n m = \"sfixed32\";\n break;\n case reflection_info_1.ScalarType.SFIXED64:\n d = i || pb_long_1.PbLong.from(value).isZero();\n t = binary_format_contract_1.WireType.Bit64;\n m = \"sfixed64\";\n break;\n case reflection_info_1.ScalarType.SINT32:\n m = \"sint32\";\n break;\n case reflection_info_1.ScalarType.SINT64:\n d = i || pb_long_1.PbLong.from(value).isZero();\n m = \"sint64\";\n break;\n }\n return [t, m, i || d];\n }\n}\nexports.ReflectionBinaryWriter = ReflectionBinaryWriter;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.containsMessageType = void 0;\nconst message_type_contract_1 = require(\"./message-type-contract\");\n/**\n * Check if the provided object is a proto message.\n *\n * Note that this is an experimental feature - it is here to stay, but\n * implementation details may change without notice.\n */\nfunction containsMessageType(msg) {\n return msg[message_type_contract_1.MESSAGE_TYPE] != null;\n}\nexports.containsMessageType = containsMessageType;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.reflectionCreate = void 0;\nconst reflection_scalar_default_1 = require(\"./reflection-scalar-default\");\nconst message_type_contract_1 = require(\"./message-type-contract\");\n/**\n * Creates an instance of the generic message, using the field\n * information.\n */\nfunction reflectionCreate(type) {\n /**\n * This ternary can be removed in the next major version.\n * The `Object.create()` code path utilizes a new `messagePrototype`\n * property on the `IMessageType` which has this same `MESSAGE_TYPE`\n * non-enumerable property on it. Doing it this way means that we only\n * pay the cost of `Object.defineProperty()` once per `IMessageType`\n * class of once per \"instance\". The falsy code path is only provided\n * for backwards compatibility in cases where the runtime library is\n * updated without also updating the generated code.\n */\n const msg = type.messagePrototype\n ? Object.create(type.messagePrototype)\n : Object.defineProperty({}, message_type_contract_1.MESSAGE_TYPE, { value: type });\n for (let field of type.fields) {\n let name = field.localName;\n if (field.opt)\n continue;\n if (field.oneof)\n msg[field.oneof] = { oneofKind: undefined };\n else if (field.repeat)\n msg[name] = [];\n else\n switch (field.kind) {\n case \"scalar\":\n msg[name] = reflection_scalar_default_1.reflectionScalarDefault(field.T, field.L);\n break;\n case \"enum\":\n // we require 0 to be default value for all enums\n msg[name] = 0;\n break;\n case \"map\":\n msg[name] = {};\n break;\n }\n }\n return msg;\n}\nexports.reflectionCreate = reflectionCreate;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.reflectionEquals = void 0;\nconst reflection_info_1 = require(\"./reflection-info\");\n/**\n * Determines whether two message of the same type have the same field values.\n * Checks for deep equality, traversing repeated fields, oneof groups, maps\n * and messages recursively.\n * Will also return true if both messages are `undefined`.\n */\nfunction reflectionEquals(info, a, b) {\n if (a === b)\n return true;\n if (!a || !b)\n return false;\n for (let field of info.fields) {\n let localName = field.localName;\n let val_a = field.oneof ? a[field.oneof][localName] : a[localName];\n let val_b = field.oneof ? b[field.oneof][localName] : b[localName];\n switch (field.kind) {\n case \"enum\":\n case \"scalar\":\n let t = field.kind == \"enum\" ? reflection_info_1.ScalarType.INT32 : field.T;\n if (!(field.repeat\n ? repeatedPrimitiveEq(t, val_a, val_b)\n : primitiveEq(t, val_a, val_b)))\n return false;\n break;\n case \"map\":\n if (!(field.V.kind == \"message\"\n ? repeatedMsgEq(field.V.T(), objectValues(val_a), objectValues(val_b))\n : repeatedPrimitiveEq(field.V.kind == \"enum\" ? reflection_info_1.ScalarType.INT32 : field.V.T, objectValues(val_a), objectValues(val_b))))\n return false;\n break;\n case \"message\":\n let T = field.T();\n if (!(field.repeat\n ? repeatedMsgEq(T, val_a, val_b)\n : T.equals(val_a, val_b)))\n return false;\n break;\n }\n }\n return true;\n}\nexports.reflectionEquals = reflectionEquals;\nconst objectValues = Object.values;\nfunction primitiveEq(type, a, b) {\n if (a === b)\n return true;\n if (type !== reflection_info_1.ScalarType.BYTES)\n return false;\n let ba = a;\n let bb = b;\n if (ba.length !== bb.length)\n return false;\n for (let i = 0; i < ba.length; i++)\n if (ba[i] != bb[i])\n return false;\n return true;\n}\nfunction repeatedPrimitiveEq(type, a, b) {\n if (a.length !== b.length)\n return false;\n for (let i = 0; i < a.length; i++)\n if (!primitiveEq(type, a[i], b[i]))\n return false;\n return true;\n}\nfunction repeatedMsgEq(type, a, b) {\n if (a.length !== b.length)\n return false;\n for (let i = 0; i < a.length; i++)\n if (!type.equals(a[i], b[i]))\n return false;\n return true;\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.readMessageOption = exports.readFieldOption = exports.readFieldOptions = exports.normalizeFieldInfo = exports.RepeatType = exports.LongType = exports.ScalarType = void 0;\nconst lower_camel_case_1 = require(\"./lower-camel-case\");\n/**\n * Scalar value types. This is a subset of field types declared by protobuf\n * enum google.protobuf.FieldDescriptorProto.Type The types GROUP and MESSAGE\n * are omitted, but the numerical values are identical.\n */\nvar ScalarType;\n(function (ScalarType) {\n // 0 is reserved for errors.\n // Order is weird for historical reasons.\n ScalarType[ScalarType[\"DOUBLE\"] = 1] = \"DOUBLE\";\n ScalarType[ScalarType[\"FLOAT\"] = 2] = \"FLOAT\";\n // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if\n // negative values are likely.\n ScalarType[ScalarType[\"INT64\"] = 3] = \"INT64\";\n ScalarType[ScalarType[\"UINT64\"] = 4] = \"UINT64\";\n // Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if\n // negative values are likely.\n ScalarType[ScalarType[\"INT32\"] = 5] = \"INT32\";\n ScalarType[ScalarType[\"FIXED64\"] = 6] = \"FIXED64\";\n ScalarType[ScalarType[\"FIXED32\"] = 7] = \"FIXED32\";\n ScalarType[ScalarType[\"BOOL\"] = 8] = \"BOOL\";\n ScalarType[ScalarType[\"STRING\"] = 9] = \"STRING\";\n // Tag-delimited aggregate.\n // Group type is deprecated and not supported in proto3. However, Proto3\n // implementations should still be able to parse the group wire format and\n // treat group fields as unknown fields.\n // TYPE_GROUP = 10,\n // TYPE_MESSAGE = 11, // Length-delimited aggregate.\n // New in version 2.\n ScalarType[ScalarType[\"BYTES\"] = 12] = \"BYTES\";\n ScalarType[ScalarType[\"UINT32\"] = 13] = \"UINT32\";\n // TYPE_ENUM = 14,\n ScalarType[ScalarType[\"SFIXED32\"] = 15] = \"SFIXED32\";\n ScalarType[ScalarType[\"SFIXED64\"] = 16] = \"SFIXED64\";\n ScalarType[ScalarType[\"SINT32\"] = 17] = \"SINT32\";\n ScalarType[ScalarType[\"SINT64\"] = 18] = \"SINT64\";\n})(ScalarType = exports.ScalarType || (exports.ScalarType = {}));\n/**\n * JavaScript representation of 64 bit integral types. Equivalent to the\n * field option \"jstype\".\n *\n * By default, protobuf-ts represents 64 bit types as `bigint`.\n *\n * You can change the default behaviour by enabling the plugin parameter\n * `long_type_string`, which will represent 64 bit types as `string`.\n *\n * Alternatively, you can change the behaviour for individual fields\n * with the field option \"jstype\":\n *\n * ```protobuf\n * uint64 my_field = 1 [jstype = JS_STRING];\n * uint64 other_field = 2 [jstype = JS_NUMBER];\n * ```\n */\nvar LongType;\n(function (LongType) {\n /**\n * Use JavaScript `bigint`.\n *\n * Field option `[jstype = JS_NORMAL]`.\n */\n LongType[LongType[\"BIGINT\"] = 0] = \"BIGINT\";\n /**\n * Use JavaScript `string`.\n *\n * Field option `[jstype = JS_STRING]`.\n */\n LongType[LongType[\"STRING\"] = 1] = \"STRING\";\n /**\n * Use JavaScript `number`.\n *\n * Large values will loose precision.\n *\n * Field option `[jstype = JS_NUMBER]`.\n */\n LongType[LongType[\"NUMBER\"] = 2] = \"NUMBER\";\n})(LongType = exports.LongType || (exports.LongType = {}));\n/**\n * Protobuf 2.1.0 introduced packed repeated fields.\n * Setting the field option `[packed = true]` enables packing.\n *\n * In proto3, all repeated fields are packed by default.\n * Setting the field option `[packed = false]` disables packing.\n *\n * Packed repeated fields are encoded with a single tag,\n * then a length-delimiter, then the element values.\n *\n * Unpacked repeated fields are encoded with a tag and\n * value for each element.\n *\n * `bytes` and `string` cannot be packed.\n */\nvar RepeatType;\n(function (RepeatType) {\n /**\n * The field is not repeated.\n */\n RepeatType[RepeatType[\"NO\"] = 0] = \"NO\";\n /**\n * The field is repeated and should be packed.\n * Invalid for `bytes` and `string`, they cannot be packed.\n */\n RepeatType[RepeatType[\"PACKED\"] = 1] = \"PACKED\";\n /**\n * The field is repeated but should not be packed.\n * The only valid repeat type for repeated `bytes` and `string`.\n */\n RepeatType[RepeatType[\"UNPACKED\"] = 2] = \"UNPACKED\";\n})(RepeatType = exports.RepeatType || (exports.RepeatType = {}));\n/**\n * Turns PartialFieldInfo into FieldInfo.\n */\nfunction normalizeFieldInfo(field) {\n var _a, _b, _c, _d;\n field.localName = (_a = field.localName) !== null && _a !== void 0 ? _a : lower_camel_case_1.lowerCamelCase(field.name);\n field.jsonName = (_b = field.jsonName) !== null && _b !== void 0 ? _b : lower_camel_case_1.lowerCamelCase(field.name);\n field.repeat = (_c = field.repeat) !== null && _c !== void 0 ? _c : RepeatType.NO;\n field.opt = (_d = field.opt) !== null && _d !== void 0 ? _d : (field.repeat ? false : field.oneof ? false : field.kind == \"message\");\n return field;\n}\nexports.normalizeFieldInfo = normalizeFieldInfo;\n/**\n * Read custom field options from a generated message type.\n *\n * @deprecated use readFieldOption()\n */\nfunction readFieldOptions(messageType, fieldName, extensionName, extensionType) {\n var _a;\n const options = (_a = messageType.fields.find((m, i) => m.localName == fieldName || i == fieldName)) === null || _a === void 0 ? void 0 : _a.options;\n return options && options[extensionName] ? extensionType.fromJson(options[extensionName]) : undefined;\n}\nexports.readFieldOptions = readFieldOptions;\nfunction readFieldOption(messageType, fieldName, extensionName, extensionType) {\n var _a;\n const options = (_a = messageType.fields.find((m, i) => m.localName == fieldName || i == fieldName)) === null || _a === void 0 ? void 0 : _a.options;\n if (!options) {\n return undefined;\n }\n const optionVal = options[extensionName];\n if (optionVal === undefined) {\n return optionVal;\n }\n return extensionType ? extensionType.fromJson(optionVal) : optionVal;\n}\nexports.readFieldOption = readFieldOption;\nfunction readMessageOption(messageType, extensionName, extensionType) {\n const options = messageType.options;\n const optionVal = options[extensionName];\n if (optionVal === undefined) {\n return optionVal;\n }\n return extensionType ? extensionType.fromJson(optionVal) : optionVal;\n}\nexports.readMessageOption = readMessageOption;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ReflectionJsonReader = void 0;\nconst json_typings_1 = require(\"./json-typings\");\nconst base64_1 = require(\"./base64\");\nconst reflection_info_1 = require(\"./reflection-info\");\nconst pb_long_1 = require(\"./pb-long\");\nconst assert_1 = require(\"./assert\");\nconst reflection_long_convert_1 = require(\"./reflection-long-convert\");\n/**\n * Reads proto3 messages in canonical JSON format using reflection information.\n *\n * https://developers.google.com/protocol-buffers/docs/proto3#json\n */\nclass ReflectionJsonReader {\n constructor(info) {\n this.info = info;\n }\n prepare() {\n var _a;\n if (this.fMap === undefined) {\n this.fMap = {};\n const fieldsInput = (_a = this.info.fields) !== null && _a !== void 0 ? _a : [];\n for (const field of fieldsInput) {\n this.fMap[field.name] = field;\n this.fMap[field.jsonName] = field;\n this.fMap[field.localName] = field;\n }\n }\n }\n // Cannot parse JSON for #.\n assert(condition, fieldName, jsonValue) {\n if (!condition) {\n let what = json_typings_1.typeofJsonValue(jsonValue);\n if (what == \"number\" || what == \"boolean\")\n what = jsonValue.toString();\n throw new Error(`Cannot parse JSON ${what} for ${this.info.typeName}#${fieldName}`);\n }\n }\n /**\n * Reads a message from canonical JSON format into the target message.\n *\n * Repeated fields are appended. Map entries are added, overwriting\n * existing keys.\n *\n * If a message field is already present, it will be merged with the\n * new data.\n */\n read(input, message, options) {\n this.prepare();\n const oneofsHandled = [];\n for (const [jsonKey, jsonValue] of Object.entries(input)) {\n const field = this.fMap[jsonKey];\n if (!field) {\n if (!options.ignoreUnknownFields)\n throw new Error(`Found unknown field while reading ${this.info.typeName} from JSON format. JSON key: ${jsonKey}`);\n continue;\n }\n const localName = field.localName;\n // handle oneof ADT\n let target; // this will be the target for the field value, whether it is member of a oneof or not\n if (field.oneof) {\n if (jsonValue === null && (field.kind !== 'enum' || field.T()[0] !== 'google.protobuf.NullValue')) {\n continue;\n }\n // since json objects are unordered by specification, it is not possible to take the last of multiple oneofs\n if (oneofsHandled.includes(field.oneof))\n throw new Error(`Multiple members of the oneof group \"${field.oneof}\" of ${this.info.typeName} are present in JSON.`);\n oneofsHandled.push(field.oneof);\n target = message[field.oneof] = {\n oneofKind: localName\n };\n }\n else {\n target = message;\n }\n // we have handled oneof above. we just have read the value into `target`.\n if (field.kind == 'map') {\n if (jsonValue === null) {\n continue;\n }\n // check input\n this.assert(json_typings_1.isJsonObject(jsonValue), field.name, jsonValue);\n // our target to put map entries into\n const fieldObj = target[localName];\n // read entries\n for (const [jsonObjKey, jsonObjValue] of Object.entries(jsonValue)) {\n this.assert(jsonObjValue !== null, field.name + \" map value\", null);\n // read value\n let val;\n switch (field.V.kind) {\n case \"message\":\n val = field.V.T().internalJsonRead(jsonObjValue, options);\n break;\n case \"enum\":\n val = this.enum(field.V.T(), jsonObjValue, field.name, options.ignoreUnknownFields);\n if (val === false)\n continue;\n break;\n case \"scalar\":\n val = this.scalar(jsonObjValue, field.V.T, field.V.L, field.name);\n break;\n }\n this.assert(val !== undefined, field.name + \" map value\", jsonObjValue);\n // read key\n let key = jsonObjKey;\n if (field.K == reflection_info_1.ScalarType.BOOL)\n key = key == \"true\" ? true : key == \"false\" ? false : key;\n key = this.scalar(key, field.K, reflection_info_1.LongType.STRING, field.name).toString();\n fieldObj[key] = val;\n }\n }\n else if (field.repeat) {\n if (jsonValue === null)\n continue;\n // check input\n this.assert(Array.isArray(jsonValue), field.name, jsonValue);\n // our target to put array entries into\n const fieldArr = target[localName];\n // read array entries\n for (const jsonItem of jsonValue) {\n this.assert(jsonItem !== null, field.name, null);\n let val;\n switch (field.kind) {\n case \"message\":\n val = field.T().internalJsonRead(jsonItem, options);\n break;\n case \"enum\":\n val = this.enum(field.T(), jsonItem, field.name, options.ignoreUnknownFields);\n if (val === false)\n continue;\n break;\n case \"scalar\":\n val = this.scalar(jsonItem, field.T, field.L, field.name);\n break;\n }\n this.assert(val !== undefined, field.name, jsonValue);\n fieldArr.push(val);\n }\n }\n else {\n switch (field.kind) {\n case \"message\":\n if (jsonValue === null && field.T().typeName != 'google.protobuf.Value') {\n this.assert(field.oneof === undefined, field.name + \" (oneof member)\", null);\n continue;\n }\n target[localName] = field.T().internalJsonRead(jsonValue, options, target[localName]);\n break;\n case \"enum\":\n if (jsonValue === null)\n continue;\n let val = this.enum(field.T(), jsonValue, field.name, options.ignoreUnknownFields);\n if (val === false)\n continue;\n target[localName] = val;\n break;\n case \"scalar\":\n if (jsonValue === null)\n continue;\n target[localName] = this.scalar(jsonValue, field.T, field.L, field.name);\n break;\n }\n }\n }\n }\n /**\n * Returns `false` for unrecognized string representations.\n *\n * google.protobuf.NullValue accepts only JSON `null` (or the old `\"NULL_VALUE\"`).\n */\n enum(type, json, fieldName, ignoreUnknownFields) {\n if (type[0] == 'google.protobuf.NullValue')\n assert_1.assert(json === null || json === \"NULL_VALUE\", `Unable to parse field ${this.info.typeName}#${fieldName}, enum ${type[0]} only accepts null.`);\n if (json === null)\n // we require 0 to be default value for all enums\n return 0;\n switch (typeof json) {\n case \"number\":\n assert_1.assert(Number.isInteger(json), `Unable to parse field ${this.info.typeName}#${fieldName}, enum can only be integral number, got ${json}.`);\n return json;\n case \"string\":\n let localEnumName = json;\n if (type[2] && json.substring(0, type[2].length) === type[2])\n // lookup without the shared prefix\n localEnumName = json.substring(type[2].length);\n let enumNumber = type[1][localEnumName];\n if (typeof enumNumber === 'undefined' && ignoreUnknownFields) {\n return false;\n }\n assert_1.assert(typeof enumNumber == \"number\", `Unable to parse field ${this.info.typeName}#${fieldName}, enum ${type[0]} has no value for \"${json}\".`);\n return enumNumber;\n }\n assert_1.assert(false, `Unable to parse field ${this.info.typeName}#${fieldName}, cannot parse enum value from ${typeof json}\".`);\n }\n scalar(json, type, longType, fieldName) {\n let e;\n try {\n switch (type) {\n // float, double: JSON value will be a number or one of the special string values \"NaN\", \"Infinity\", and \"-Infinity\".\n // Either numbers or strings are accepted. Exponent notation is also accepted.\n case reflection_info_1.ScalarType.DOUBLE:\n case reflection_info_1.ScalarType.FLOAT:\n if (json === null)\n return .0;\n if (json === \"NaN\")\n return Number.NaN;\n if (json === \"Infinity\")\n return Number.POSITIVE_INFINITY;\n if (json === \"-Infinity\")\n return Number.NEGATIVE_INFINITY;\n if (json === \"\") {\n e = \"empty string\";\n break;\n }\n if (typeof json == \"string\" && json.trim().length !== json.length) {\n e = \"extra whitespace\";\n break;\n }\n if (typeof json != \"string\" && typeof json != \"number\") {\n break;\n }\n let float = Number(json);\n if (Number.isNaN(float)) {\n e = \"not a number\";\n break;\n }\n if (!Number.isFinite(float)) {\n // infinity and -infinity are handled by string representation above, so this is an error\n e = \"too large or small\";\n break;\n }\n if (type == reflection_info_1.ScalarType.FLOAT)\n assert_1.assertFloat32(float);\n return float;\n // int32, fixed32, uint32: JSON value will be a decimal number. Either numbers or strings are accepted.\n case reflection_info_1.ScalarType.INT32:\n case reflection_info_1.ScalarType.FIXED32:\n case reflection_info_1.ScalarType.SFIXED32:\n case reflection_info_1.ScalarType.SINT32:\n case reflection_info_1.ScalarType.UINT32:\n if (json === null)\n return 0;\n let int32;\n if (typeof json == \"number\")\n int32 = json;\n else if (json === \"\")\n e = \"empty string\";\n else if (typeof json == \"string\") {\n if (json.trim().length !== json.length)\n e = \"extra whitespace\";\n else\n int32 = Number(json);\n }\n if (int32 === undefined)\n break;\n if (type == reflection_info_1.ScalarType.UINT32)\n assert_1.assertUInt32(int32);\n else\n assert_1.assertInt32(int32);\n return int32;\n // int64, fixed64, uint64: JSON value will be a decimal string. Either numbers or strings are accepted.\n case reflection_info_1.ScalarType.INT64:\n case reflection_info_1.ScalarType.SFIXED64:\n case reflection_info_1.ScalarType.SINT64:\n if (json === null)\n return reflection_long_convert_1.reflectionLongConvert(pb_long_1.PbLong.ZERO, longType);\n if (typeof json != \"number\" && typeof json != \"string\")\n break;\n return reflection_long_convert_1.reflectionLongConvert(pb_long_1.PbLong.from(json), longType);\n case reflection_info_1.ScalarType.FIXED64:\n case reflection_info_1.ScalarType.UINT64:\n if (json === null)\n return reflection_long_convert_1.reflectionLongConvert(pb_long_1.PbULong.ZERO, longType);\n if (typeof json != \"number\" && typeof json != \"string\")\n break;\n return reflection_long_convert_1.reflectionLongConvert(pb_long_1.PbULong.from(json), longType);\n // bool:\n case reflection_info_1.ScalarType.BOOL:\n if (json === null)\n return false;\n if (typeof json !== \"boolean\")\n break;\n return json;\n // string:\n case reflection_info_1.ScalarType.STRING:\n if (json === null)\n return \"\";\n if (typeof json !== \"string\") {\n e = \"extra whitespace\";\n break;\n }\n try {\n encodeURIComponent(json);\n }\n catch (e) {\n e = \"invalid UTF8\";\n break;\n }\n return json;\n // bytes: JSON value will be the data encoded as a string using standard base64 encoding with paddings.\n // Either standard or URL-safe base64 encoding with/without paddings are accepted.\n case reflection_info_1.ScalarType.BYTES:\n if (json === null || json === \"\")\n return new Uint8Array(0);\n if (typeof json !== 'string')\n break;\n return base64_1.base64decode(json);\n }\n }\n catch (error) {\n e = error.message;\n }\n this.assert(false, fieldName + (e ? \" - \" + e : \"\"), json);\n }\n}\nexports.ReflectionJsonReader = ReflectionJsonReader;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ReflectionJsonWriter = void 0;\nconst base64_1 = require(\"./base64\");\nconst pb_long_1 = require(\"./pb-long\");\nconst reflection_info_1 = require(\"./reflection-info\");\nconst assert_1 = require(\"./assert\");\n/**\n * Writes proto3 messages in canonical JSON format using reflection\n * information.\n *\n * https://developers.google.com/protocol-buffers/docs/proto3#json\n */\nclass ReflectionJsonWriter {\n constructor(info) {\n var _a;\n this.fields = (_a = info.fields) !== null && _a !== void 0 ? _a : [];\n }\n /**\n * Converts the message to a JSON object, based on the field descriptors.\n */\n write(message, options) {\n const json = {}, source = message;\n for (const field of this.fields) {\n // field is not part of a oneof, simply write as is\n if (!field.oneof) {\n let jsonValue = this.field(field, source[field.localName], options);\n if (jsonValue !== undefined)\n json[options.useProtoFieldName ? field.name : field.jsonName] = jsonValue;\n continue;\n }\n // field is part of a oneof\n const group = source[field.oneof];\n if (group.oneofKind !== field.localName)\n continue; // not selected, skip\n const opt = field.kind == 'scalar' || field.kind == 'enum'\n ? Object.assign(Object.assign({}, options), { emitDefaultValues: true }) : options;\n let jsonValue = this.field(field, group[field.localName], opt);\n assert_1.assert(jsonValue !== undefined);\n json[options.useProtoFieldName ? field.name : field.jsonName] = jsonValue;\n }\n return json;\n }\n field(field, value, options) {\n let jsonValue = undefined;\n if (field.kind == 'map') {\n assert_1.assert(typeof value == \"object\" && value !== null);\n const jsonObj = {};\n switch (field.V.kind) {\n case \"scalar\":\n for (const [entryKey, entryValue] of Object.entries(value)) {\n const val = this.scalar(field.V.T, entryValue, field.name, false, true);\n assert_1.assert(val !== undefined);\n jsonObj[entryKey.toString()] = val; // JSON standard allows only (double quoted) string as property key\n }\n break;\n case \"message\":\n const messageType = field.V.T();\n for (const [entryKey, entryValue] of Object.entries(value)) {\n const val = this.message(messageType, entryValue, field.name, options);\n assert_1.assert(val !== undefined);\n jsonObj[entryKey.toString()] = val; // JSON standard allows only (double quoted) string as property key\n }\n break;\n case \"enum\":\n const enumInfo = field.V.T();\n for (const [entryKey, entryValue] of Object.entries(value)) {\n assert_1.assert(entryValue === undefined || typeof entryValue == 'number');\n const val = this.enum(enumInfo, entryValue, field.name, false, true, options.enumAsInteger);\n assert_1.assert(val !== undefined);\n jsonObj[entryKey.toString()] = val; // JSON standard allows only (double quoted) string as property key\n }\n break;\n }\n if (options.emitDefaultValues || Object.keys(jsonObj).length > 0)\n jsonValue = jsonObj;\n }\n else if (field.repeat) {\n assert_1.assert(Array.isArray(value));\n const jsonArr = [];\n switch (field.kind) {\n case \"scalar\":\n for (let i = 0; i < value.length; i++) {\n const val = this.scalar(field.T, value[i], field.name, field.opt, true);\n assert_1.assert(val !== undefined);\n jsonArr.push(val);\n }\n break;\n case \"enum\":\n const enumInfo = field.T();\n for (let i = 0; i < value.length; i++) {\n assert_1.assert(value[i] === undefined || typeof value[i] == 'number');\n const val = this.enum(enumInfo, value[i], field.name, field.opt, true, options.enumAsInteger);\n assert_1.assert(val !== undefined);\n jsonArr.push(val);\n }\n break;\n case \"message\":\n const messageType = field.T();\n for (let i = 0; i < value.length; i++) {\n const val = this.message(messageType, value[i], field.name, options);\n assert_1.assert(val !== undefined);\n jsonArr.push(val);\n }\n break;\n }\n // add converted array to json output\n if (options.emitDefaultValues || jsonArr.length > 0 || options.emitDefaultValues)\n jsonValue = jsonArr;\n }\n else {\n switch (field.kind) {\n case \"scalar\":\n jsonValue = this.scalar(field.T, value, field.name, field.opt, options.emitDefaultValues);\n break;\n case \"enum\":\n jsonValue = this.enum(field.T(), value, field.name, field.opt, options.emitDefaultValues, options.enumAsInteger);\n break;\n case \"message\":\n jsonValue = this.message(field.T(), value, field.name, options);\n break;\n }\n }\n return jsonValue;\n }\n /**\n * Returns `null` as the default for google.protobuf.NullValue.\n */\n enum(type, value, fieldName, optional, emitDefaultValues, enumAsInteger) {\n if (type[0] == 'google.protobuf.NullValue')\n return !emitDefaultValues && !optional ? undefined : null;\n if (value === undefined) {\n assert_1.assert(optional);\n return undefined;\n }\n if (value === 0 && !emitDefaultValues && !optional)\n // we require 0 to be default value for all enums\n return undefined;\n assert_1.assert(typeof value == 'number');\n assert_1.assert(Number.isInteger(value));\n if (enumAsInteger || !type[1].hasOwnProperty(value))\n // if we don't now the enum value, just return the number\n return value;\n if (type[2])\n // restore the dropped prefix\n return type[2] + type[1][value];\n return type[1][value];\n }\n message(type, value, fieldName, options) {\n if (value === undefined)\n return options.emitDefaultValues ? null : undefined;\n return type.internalJsonWrite(value, options);\n }\n scalar(type, value, fieldName, optional, emitDefaultValues) {\n if (value === undefined) {\n assert_1.assert(optional);\n return undefined;\n }\n const ed = emitDefaultValues || optional;\n // noinspection FallThroughInSwitchStatementJS\n switch (type) {\n // int32, fixed32, uint32: JSON value will be a decimal number. Either numbers or strings are accepted.\n case reflection_info_1.ScalarType.INT32:\n case reflection_info_1.ScalarType.SFIXED32:\n case reflection_info_1.ScalarType.SINT32:\n if (value === 0)\n return ed ? 0 : undefined;\n assert_1.assertInt32(value);\n return value;\n case reflection_info_1.ScalarType.FIXED32:\n case reflection_info_1.ScalarType.UINT32:\n if (value === 0)\n return ed ? 0 : undefined;\n assert_1.assertUInt32(value);\n return value;\n // float, double: JSON value will be a number or one of the special string values \"NaN\", \"Infinity\", and \"-Infinity\".\n // Either numbers or strings are accepted. Exponent notation is also accepted.\n case reflection_info_1.ScalarType.FLOAT:\n assert_1.assertFloat32(value);\n case reflection_info_1.ScalarType.DOUBLE:\n if (value === 0)\n return ed ? 0 : undefined;\n assert_1.assert(typeof value == 'number');\n if (Number.isNaN(value))\n return 'NaN';\n if (value === Number.POSITIVE_INFINITY)\n return 'Infinity';\n if (value === Number.NEGATIVE_INFINITY)\n return '-Infinity';\n return value;\n // string:\n case reflection_info_1.ScalarType.STRING:\n if (value === \"\")\n return ed ? '' : undefined;\n assert_1.assert(typeof value == 'string');\n return value;\n // bool:\n case reflection_info_1.ScalarType.BOOL:\n if (value === false)\n return ed ? false : undefined;\n assert_1.assert(typeof value == 'boolean');\n return value;\n // JSON value will be a decimal string. Either numbers or strings are accepted.\n case reflection_info_1.ScalarType.UINT64:\n case reflection_info_1.ScalarType.FIXED64:\n assert_1.assert(typeof value == 'number' || typeof value == 'string' || typeof value == 'bigint');\n let ulong = pb_long_1.PbULong.from(value);\n if (ulong.isZero() && !ed)\n return undefined;\n return ulong.toString();\n // JSON value will be a decimal string. Either numbers or strings are accepted.\n case reflection_info_1.ScalarType.INT64:\n case reflection_info_1.ScalarType.SFIXED64:\n case reflection_info_1.ScalarType.SINT64:\n assert_1.assert(typeof value == 'number' || typeof value == 'string' || typeof value == 'bigint');\n let long = pb_long_1.PbLong.from(value);\n if (long.isZero() && !ed)\n return undefined;\n return long.toString();\n // bytes: JSON value will be the data encoded as a string using standard base64 encoding with paddings.\n // Either standard or URL-safe base64 encoding with/without paddings are accepted.\n case reflection_info_1.ScalarType.BYTES:\n assert_1.assert(value instanceof Uint8Array);\n if (!value.byteLength)\n return ed ? \"\" : undefined;\n return base64_1.base64encode(value);\n }\n }\n}\nexports.ReflectionJsonWriter = ReflectionJsonWriter;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.reflectionLongConvert = void 0;\nconst reflection_info_1 = require(\"./reflection-info\");\n/**\n * Utility method to convert a PbLong or PbUlong to a JavaScript\n * representation during runtime.\n *\n * Works with generated field information, `undefined` is equivalent\n * to `STRING`.\n */\nfunction reflectionLongConvert(long, type) {\n switch (type) {\n case reflection_info_1.LongType.BIGINT:\n return long.toBigInt();\n case reflection_info_1.LongType.NUMBER:\n return long.toNumber();\n default:\n // case undefined:\n // case LongType.STRING:\n return long.toString();\n }\n}\nexports.reflectionLongConvert = reflectionLongConvert;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.reflectionMergePartial = void 0;\n/**\n * Copy partial data into the target message.\n *\n * If a singular scalar or enum field is present in the source, it\n * replaces the field in the target.\n *\n * If a singular message field is present in the source, it is merged\n * with the target field by calling mergePartial() of the responsible\n * message type.\n *\n * If a repeated field is present in the source, its values replace\n * all values in the target array, removing extraneous values.\n * Repeated message fields are copied, not merged.\n *\n * If a map field is present in the source, entries are added to the\n * target map, replacing entries with the same key. Entries that only\n * exist in the target remain. Entries with message values are copied,\n * not merged.\n *\n * Note that this function differs from protobuf merge semantics,\n * which appends repeated fields.\n */\nfunction reflectionMergePartial(info, target, source) {\n let fieldValue, // the field value we are working with\n input = source, output; // where we want our field value to go\n for (let field of info.fields) {\n let name = field.localName;\n if (field.oneof) {\n const group = input[field.oneof]; // this is the oneof`s group in the source\n if ((group === null || group === void 0 ? void 0 : group.oneofKind) == undefined) { // the user is free to omit\n continue; // we skip this field, and all other members too\n }\n fieldValue = group[name]; // our value comes from the the oneof group of the source\n output = target[field.oneof]; // and our output is the oneof group of the target\n output.oneofKind = group.oneofKind; // always update discriminator\n if (fieldValue == undefined) {\n delete output[name]; // remove any existing value\n continue; // skip further work on field\n }\n }\n else {\n fieldValue = input[name]; // we are using the source directly\n output = target; // we want our field value to go directly into the target\n if (fieldValue == undefined) {\n continue; // skip further work on field, existing value is used as is\n }\n }\n if (field.repeat)\n output[name].length = fieldValue.length; // resize target array to match source array\n // now we just work with `fieldValue` and `output` to merge the value\n switch (field.kind) {\n case \"scalar\":\n case \"enum\":\n if (field.repeat)\n for (let i = 0; i < fieldValue.length; i++)\n output[name][i] = fieldValue[i]; // not a reference type\n else\n output[name] = fieldValue; // not a reference type\n break;\n case \"message\":\n let T = field.T();\n if (field.repeat)\n for (let i = 0; i < fieldValue.length; i++)\n output[name][i] = T.create(fieldValue[i]);\n else if (output[name] === undefined)\n output[name] = T.create(fieldValue); // nothing to merge with\n else\n T.mergePartial(output[name], fieldValue);\n break;\n case \"map\":\n // Map and repeated fields are simply overwritten, not appended or merged\n switch (field.V.kind) {\n case \"scalar\":\n case \"enum\":\n Object.assign(output[name], fieldValue); // elements are not reference types\n break;\n case \"message\":\n let T = field.V.T();\n for (let k of Object.keys(fieldValue))\n output[name][k] = T.create(fieldValue[k]);\n break;\n }\n break;\n }\n }\n}\nexports.reflectionMergePartial = reflectionMergePartial;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.reflectionScalarDefault = void 0;\nconst reflection_info_1 = require(\"./reflection-info\");\nconst reflection_long_convert_1 = require(\"./reflection-long-convert\");\nconst pb_long_1 = require(\"./pb-long\");\n/**\n * Creates the default value for a scalar type.\n */\nfunction reflectionScalarDefault(type, longType = reflection_info_1.LongType.STRING) {\n switch (type) {\n case reflection_info_1.ScalarType.BOOL:\n return false;\n case reflection_info_1.ScalarType.UINT64:\n case reflection_info_1.ScalarType.FIXED64:\n return reflection_long_convert_1.reflectionLongConvert(pb_long_1.PbULong.ZERO, longType);\n case reflection_info_1.ScalarType.INT64:\n case reflection_info_1.ScalarType.SFIXED64:\n case reflection_info_1.ScalarType.SINT64:\n return reflection_long_convert_1.reflectionLongConvert(pb_long_1.PbLong.ZERO, longType);\n case reflection_info_1.ScalarType.DOUBLE:\n case reflection_info_1.ScalarType.FLOAT:\n return 0.0;\n case reflection_info_1.ScalarType.BYTES:\n return new Uint8Array(0);\n case reflection_info_1.ScalarType.STRING:\n return \"\";\n default:\n // case ScalarType.INT32:\n // case ScalarType.UINT32:\n // case ScalarType.SINT32:\n // case ScalarType.FIXED32:\n // case ScalarType.SFIXED32:\n return 0;\n }\n}\nexports.reflectionScalarDefault = reflectionScalarDefault;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ReflectionTypeCheck = void 0;\nconst reflection_info_1 = require(\"./reflection-info\");\nconst oneof_1 = require(\"./oneof\");\n// noinspection JSMethodCanBeStatic\nclass ReflectionTypeCheck {\n constructor(info) {\n var _a;\n this.fields = (_a = info.fields) !== null && _a !== void 0 ? _a : [];\n }\n prepare() {\n if (this.data)\n return;\n const req = [], known = [], oneofs = [];\n for (let field of this.fields) {\n if (field.oneof) {\n if (!oneofs.includes(field.oneof)) {\n oneofs.push(field.oneof);\n req.push(field.oneof);\n known.push(field.oneof);\n }\n }\n else {\n known.push(field.localName);\n switch (field.kind) {\n case \"scalar\":\n case \"enum\":\n if (!field.opt || field.repeat)\n req.push(field.localName);\n break;\n case \"message\":\n if (field.repeat)\n req.push(field.localName);\n break;\n case \"map\":\n req.push(field.localName);\n break;\n }\n }\n }\n this.data = { req, known, oneofs: Object.values(oneofs) };\n }\n /**\n * Is the argument a valid message as specified by the\n * reflection information?\n *\n * Checks all field types recursively. The `depth`\n * specifies how deep into the structure the check will be.\n *\n * With a depth of 0, only the presence of fields\n * is checked.\n *\n * With a depth of 1 or more, the field types are checked.\n *\n * With a depth of 2 or more, the members of map, repeated\n * and message fields are checked.\n *\n * Message fields will be checked recursively with depth - 1.\n *\n * The number of map entries / repeated values being checked\n * is < depth.\n */\n is(message, depth, allowExcessProperties = false) {\n if (depth < 0)\n return true;\n if (message === null || message === undefined || typeof message != 'object')\n return false;\n this.prepare();\n let keys = Object.keys(message), data = this.data;\n // if a required field is missing in arg, this cannot be a T\n if (keys.length < data.req.length || data.req.some(n => !keys.includes(n)))\n return false;\n if (!allowExcessProperties) {\n // if the arg contains a key we dont know, this is not a literal T\n if (keys.some(k => !data.known.includes(k)))\n return false;\n }\n // \"With a depth of 0, only the presence and absence of fields is checked.\"\n // \"With a depth of 1 or more, the field types are checked.\"\n if (depth < 1) {\n return true;\n }\n // check oneof group\n for (const name of data.oneofs) {\n const group = message[name];\n if (!oneof_1.isOneofGroup(group))\n return false;\n if (group.oneofKind === undefined)\n continue;\n const field = this.fields.find(f => f.localName === group.oneofKind);\n if (!field)\n return false; // we found no field, but have a kind, something is wrong\n if (!this.field(group[group.oneofKind], field, allowExcessProperties, depth))\n return false;\n }\n // check types\n for (const field of this.fields) {\n if (field.oneof !== undefined)\n continue;\n if (!this.field(message[field.localName], field, allowExcessProperties, depth))\n return false;\n }\n return true;\n }\n field(arg, field, allowExcessProperties, depth) {\n let repeated = field.repeat;\n switch (field.kind) {\n case \"scalar\":\n if (arg === undefined)\n return field.opt;\n if (repeated)\n return this.scalars(arg, field.T, depth, field.L);\n return this.scalar(arg, field.T, field.L);\n case \"enum\":\n if (arg === undefined)\n return field.opt;\n if (repeated)\n return this.scalars(arg, reflection_info_1.ScalarType.INT32, depth);\n return this.scalar(arg, reflection_info_1.ScalarType.INT32);\n case \"message\":\n if (arg === undefined)\n return true;\n if (repeated)\n return this.messages(arg, field.T(), allowExcessProperties, depth);\n return this.message(arg, field.T(), allowExcessProperties, depth);\n case \"map\":\n if (typeof arg != 'object' || arg === null)\n return false;\n if (depth < 2)\n return true;\n if (!this.mapKeys(arg, field.K, depth))\n return false;\n switch (field.V.kind) {\n case \"scalar\":\n return this.scalars(Object.values(arg), field.V.T, depth, field.V.L);\n case \"enum\":\n return this.scalars(Object.values(arg), reflection_info_1.ScalarType.INT32, depth);\n case \"message\":\n return this.messages(Object.values(arg), field.V.T(), allowExcessProperties, depth);\n }\n break;\n }\n return true;\n }\n message(arg, type, allowExcessProperties, depth) {\n if (allowExcessProperties) {\n return type.isAssignable(arg, depth);\n }\n return type.is(arg, depth);\n }\n messages(arg, type, allowExcessProperties, depth) {\n if (!Array.isArray(arg))\n return false;\n if (depth < 2)\n return true;\n if (allowExcessProperties) {\n for (let i = 0; i < arg.length && i < depth; i++)\n if (!type.isAssignable(arg[i], depth - 1))\n return false;\n }\n else {\n for (let i = 0; i < arg.length && i < depth; i++)\n if (!type.is(arg[i], depth - 1))\n return false;\n }\n return true;\n }\n scalar(arg, type, longType) {\n let argType = typeof arg;\n switch (type) {\n case reflection_info_1.ScalarType.UINT64:\n case reflection_info_1.ScalarType.FIXED64:\n case reflection_info_1.ScalarType.INT64:\n case reflection_info_1.ScalarType.SFIXED64:\n case reflection_info_1.ScalarType.SINT64:\n switch (longType) {\n case reflection_info_1.LongType.BIGINT:\n return argType == \"bigint\";\n case reflection_info_1.LongType.NUMBER:\n return argType == \"number\" && !isNaN(arg);\n default:\n return argType == \"string\";\n }\n case reflection_info_1.ScalarType.BOOL:\n return argType == 'boolean';\n case reflection_info_1.ScalarType.STRING:\n return argType == 'string';\n case reflection_info_1.ScalarType.BYTES:\n return arg instanceof Uint8Array;\n case reflection_info_1.ScalarType.DOUBLE:\n case reflection_info_1.ScalarType.FLOAT:\n return argType == 'number' && !isNaN(arg);\n default:\n // case ScalarType.UINT32:\n // case ScalarType.FIXED32:\n // case ScalarType.INT32:\n // case ScalarType.SINT32:\n // case ScalarType.SFIXED32:\n return argType == 'number' && Number.isInteger(arg);\n }\n }\n scalars(arg, type, depth, longType) {\n if (!Array.isArray(arg))\n return false;\n if (depth < 2)\n return true;\n if (Array.isArray(arg))\n for (let i = 0; i < arg.length && i < depth; i++)\n if (!this.scalar(arg[i], type, longType))\n return false;\n return true;\n }\n mapKeys(map, type, depth) {\n let keys = Object.keys(map);\n switch (type) {\n case reflection_info_1.ScalarType.INT32:\n case reflection_info_1.ScalarType.FIXED32:\n case reflection_info_1.ScalarType.SFIXED32:\n case reflection_info_1.ScalarType.SINT32:\n case reflection_info_1.ScalarType.UINT32:\n return this.scalars(keys.slice(0, depth).map(k => parseInt(k)), type, depth);\n case reflection_info_1.ScalarType.BOOL:\n return this.scalars(keys.slice(0, depth).map(k => k == 'true' ? true : k == 'false' ? false : k), type, depth);\n default:\n return this.scalars(keys, type, depth, reflection_info_1.LongType.STRING);\n }\n }\n}\nexports.ReflectionTypeCheck = ReflectionTypeCheck;\n","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.issue = exports.issueCommand = void 0;\nconst os = __importStar(require(\"os\"));\nconst utils_1 = require(\"./utils\");\n/**\n * Commands\n *\n * Command Format:\n * ::name key=value,key=value::message\n *\n * Examples:\n * ::warning::This is the message\n * ::set-env name=MY_VAR::some value\n */\nfunction issueCommand(command, properties, message) {\n const cmd = new Command(command, properties, message);\n process.stdout.write(cmd.toString() + os.EOL);\n}\nexports.issueCommand = issueCommand;\nfunction issue(name, message = '') {\n issueCommand(name, {}, message);\n}\nexports.issue = issue;\nconst CMD_STRING = '::';\nclass Command {\n constructor(command, properties, message) {\n if (!command) {\n command = 'missing.command';\n }\n this.command = command;\n this.properties = properties;\n this.message = message;\n }\n toString() {\n let cmdStr = CMD_STRING + this.command;\n if (this.properties && Object.keys(this.properties).length > 0) {\n cmdStr += ' ';\n let first = true;\n for (const key in this.properties) {\n if (this.properties.hasOwnProperty(key)) {\n const val = this.properties[key];\n if (val) {\n if (first) {\n first = false;\n }\n else {\n cmdStr += ',';\n }\n cmdStr += `${key}=${escapeProperty(val)}`;\n }\n }\n }\n }\n cmdStr += `${CMD_STRING}${escapeData(this.message)}`;\n return cmdStr;\n }\n}\nfunction escapeData(s) {\n return (0, utils_1.toCommandValue)(s)\n .replace(/%/g, '%25')\n .replace(/\\r/g, '%0D')\n .replace(/\\n/g, '%0A');\n}\nfunction escapeProperty(s) {\n return (0, utils_1.toCommandValue)(s)\n .replace(/%/g, '%25')\n .replace(/\\r/g, '%0D')\n .replace(/\\n/g, '%0A')\n .replace(/:/g, '%3A')\n .replace(/,/g, '%2C');\n}\n//# sourceMappingURL=command.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.platform = exports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = exports.markdownSummary = exports.summary = exports.getIDToken = exports.getState = exports.saveState = exports.group = exports.endGroup = exports.startGroup = exports.info = exports.notice = exports.warning = exports.error = exports.debug = exports.isDebug = exports.setFailed = exports.setCommandEcho = exports.setOutput = exports.getBooleanInput = exports.getMultilineInput = exports.getInput = exports.addPath = exports.setSecret = exports.exportVariable = exports.ExitCode = void 0;\nconst command_1 = require(\"./command\");\nconst file_command_1 = require(\"./file-command\");\nconst utils_1 = require(\"./utils\");\nconst os = __importStar(require(\"os\"));\nconst path = __importStar(require(\"path\"));\nconst oidc_utils_1 = require(\"./oidc-utils\");\n/**\n * The code to exit an action\n */\nvar ExitCode;\n(function (ExitCode) {\n /**\n * A code indicating that the action was successful\n */\n ExitCode[ExitCode[\"Success\"] = 0] = \"Success\";\n /**\n * A code indicating that the action was a failure\n */\n ExitCode[ExitCode[\"Failure\"] = 1] = \"Failure\";\n})(ExitCode || (exports.ExitCode = ExitCode = {}));\n//-----------------------------------------------------------------------\n// Variables\n//-----------------------------------------------------------------------\n/**\n * Sets env variable for this action and future actions in the job\n * @param name the name of the variable to set\n * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction exportVariable(name, val) {\n const convertedVal = (0, utils_1.toCommandValue)(val);\n process.env[name] = convertedVal;\n const filePath = process.env['GITHUB_ENV'] || '';\n if (filePath) {\n return (0, file_command_1.issueFileCommand)('ENV', (0, file_command_1.prepareKeyValueMessage)(name, val));\n }\n (0, command_1.issueCommand)('set-env', { name }, convertedVal);\n}\nexports.exportVariable = exportVariable;\n/**\n * Registers a secret which will get masked from logs\n * @param secret value of the secret\n */\nfunction setSecret(secret) {\n (0, command_1.issueCommand)('add-mask', {}, secret);\n}\nexports.setSecret = setSecret;\n/**\n * Prepends inputPath to the PATH (for this action and future actions)\n * @param inputPath\n */\nfunction addPath(inputPath) {\n const filePath = process.env['GITHUB_PATH'] || '';\n if (filePath) {\n (0, file_command_1.issueFileCommand)('PATH', inputPath);\n }\n else {\n (0, command_1.issueCommand)('add-path', {}, inputPath);\n }\n process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`;\n}\nexports.addPath = addPath;\n/**\n * Gets the value of an input.\n * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed.\n * Returns an empty string if the value is not defined.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string\n */\nfunction getInput(name, options) {\n const val = process.env[`INPUT_${name.replace(/ /g, '_').toUpperCase()}`] || '';\n if (options && options.required && !val) {\n throw new Error(`Input required and not supplied: ${name}`);\n }\n if (options && options.trimWhitespace === false) {\n return val;\n }\n return val.trim();\n}\nexports.getInput = getInput;\n/**\n * Gets the values of an multiline input. Each value is also trimmed.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string[]\n *\n */\nfunction getMultilineInput(name, options) {\n const inputs = getInput(name, options)\n .split('\\n')\n .filter(x => x !== '');\n if (options && options.trimWhitespace === false) {\n return inputs;\n }\n return inputs.map(input => input.trim());\n}\nexports.getMultilineInput = getMultilineInput;\n/**\n * Gets the input value of the boolean type in the YAML 1.2 \"core schema\" specification.\n * Support boolean input list: `true | True | TRUE | false | False | FALSE` .\n * The return value is also in boolean type.\n * ref: https://yaml.org/spec/1.2/spec.html#id2804923\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns boolean\n */\nfunction getBooleanInput(name, options) {\n const trueValue = ['true', 'True', 'TRUE'];\n const falseValue = ['false', 'False', 'FALSE'];\n const val = getInput(name, options);\n if (trueValue.includes(val))\n return true;\n if (falseValue.includes(val))\n return false;\n throw new TypeError(`Input does not meet YAML 1.2 \"Core Schema\" specification: ${name}\\n` +\n `Support boolean input list: \\`true | True | TRUE | false | False | FALSE\\``);\n}\nexports.getBooleanInput = getBooleanInput;\n/**\n * Sets the value of an output.\n *\n * @param name name of the output to set\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction setOutput(name, value) {\n const filePath = process.env['GITHUB_OUTPUT'] || '';\n if (filePath) {\n return (0, file_command_1.issueFileCommand)('OUTPUT', (0, file_command_1.prepareKeyValueMessage)(name, value));\n }\n process.stdout.write(os.EOL);\n (0, command_1.issueCommand)('set-output', { name }, (0, utils_1.toCommandValue)(value));\n}\nexports.setOutput = setOutput;\n/**\n * Enables or disables the echoing of commands into stdout for the rest of the step.\n * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set.\n *\n */\nfunction setCommandEcho(enabled) {\n (0, command_1.issue)('echo', enabled ? 'on' : 'off');\n}\nexports.setCommandEcho = setCommandEcho;\n//-----------------------------------------------------------------------\n// Results\n//-----------------------------------------------------------------------\n/**\n * Sets the action status to failed.\n * When the action exits it will be with an exit code of 1\n * @param message add error issue message\n */\nfunction setFailed(message) {\n process.exitCode = ExitCode.Failure;\n error(message);\n}\nexports.setFailed = setFailed;\n//-----------------------------------------------------------------------\n// Logging Commands\n//-----------------------------------------------------------------------\n/**\n * Gets whether Actions Step Debug is on or not\n */\nfunction isDebug() {\n return process.env['RUNNER_DEBUG'] === '1';\n}\nexports.isDebug = isDebug;\n/**\n * Writes debug message to user log\n * @param message debug message\n */\nfunction debug(message) {\n (0, command_1.issueCommand)('debug', {}, message);\n}\nexports.debug = debug;\n/**\n * Adds an error issue\n * @param message error issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction error(message, properties = {}) {\n (0, command_1.issueCommand)('error', (0, utils_1.toCommandProperties)(properties), message instanceof Error ? message.toString() : message);\n}\nexports.error = error;\n/**\n * Adds a warning issue\n * @param message warning issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction warning(message, properties = {}) {\n (0, command_1.issueCommand)('warning', (0, utils_1.toCommandProperties)(properties), message instanceof Error ? message.toString() : message);\n}\nexports.warning = warning;\n/**\n * Adds a notice issue\n * @param message notice issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction notice(message, properties = {}) {\n (0, command_1.issueCommand)('notice', (0, utils_1.toCommandProperties)(properties), message instanceof Error ? message.toString() : message);\n}\nexports.notice = notice;\n/**\n * Writes info to log with console.log.\n * @param message info message\n */\nfunction info(message) {\n process.stdout.write(message + os.EOL);\n}\nexports.info = info;\n/**\n * Begin an output group.\n *\n * Output until the next `groupEnd` will be foldable in this group\n *\n * @param name The name of the output group\n */\nfunction startGroup(name) {\n (0, command_1.issue)('group', name);\n}\nexports.startGroup = startGroup;\n/**\n * End an output group.\n */\nfunction endGroup() {\n (0, command_1.issue)('endgroup');\n}\nexports.endGroup = endGroup;\n/**\n * Wrap an asynchronous function call in a group.\n *\n * Returns the same type as the function itself.\n *\n * @param name The name of the group\n * @param fn The function to wrap in the group\n */\nfunction group(name, fn) {\n return __awaiter(this, void 0, void 0, function* () {\n startGroup(name);\n let result;\n try {\n result = yield fn();\n }\n finally {\n endGroup();\n }\n return result;\n });\n}\nexports.group = group;\n//-----------------------------------------------------------------------\n// Wrapper action state\n//-----------------------------------------------------------------------\n/**\n * Saves state for current action, the state can only be retrieved by this action's post job execution.\n *\n * @param name name of the state to store\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction saveState(name, value) {\n const filePath = process.env['GITHUB_STATE'] || '';\n if (filePath) {\n return (0, file_command_1.issueFileCommand)('STATE', (0, file_command_1.prepareKeyValueMessage)(name, value));\n }\n (0, command_1.issueCommand)('save-state', { name }, (0, utils_1.toCommandValue)(value));\n}\nexports.saveState = saveState;\n/**\n * Gets the value of an state set by this action's main execution.\n *\n * @param name name of the state to get\n * @returns string\n */\nfunction getState(name) {\n return process.env[`STATE_${name}`] || '';\n}\nexports.getState = getState;\nfunction getIDToken(aud) {\n return __awaiter(this, void 0, void 0, function* () {\n return yield oidc_utils_1.OidcClient.getIDToken(aud);\n });\n}\nexports.getIDToken = getIDToken;\n/**\n * Summary exports\n */\nvar summary_1 = require(\"./summary\");\nObject.defineProperty(exports, \"summary\", { enumerable: true, get: function () { return summary_1.summary; } });\n/**\n * @deprecated use core.summary\n */\nvar summary_2 = require(\"./summary\");\nObject.defineProperty(exports, \"markdownSummary\", { enumerable: true, get: function () { return summary_2.markdownSummary; } });\n/**\n * Path exports\n */\nvar path_utils_1 = require(\"./path-utils\");\nObject.defineProperty(exports, \"toPosixPath\", { enumerable: true, get: function () { return path_utils_1.toPosixPath; } });\nObject.defineProperty(exports, \"toWin32Path\", { enumerable: true, get: function () { return path_utils_1.toWin32Path; } });\nObject.defineProperty(exports, \"toPlatformPath\", { enumerable: true, get: function () { return path_utils_1.toPlatformPath; } });\n/**\n * Platform utilities exports\n */\nexports.platform = __importStar(require(\"./platform\"));\n//# sourceMappingURL=core.js.map","\"use strict\";\n// For internal use, subject to change.\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.prepareKeyValueMessage = exports.issueFileCommand = void 0;\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */\nconst crypto = __importStar(require(\"crypto\"));\nconst fs = __importStar(require(\"fs\"));\nconst os = __importStar(require(\"os\"));\nconst utils_1 = require(\"./utils\");\nfunction issueFileCommand(command, message) {\n const filePath = process.env[`GITHUB_${command}`];\n if (!filePath) {\n throw new Error(`Unable to find environment variable for file command ${command}`);\n }\n if (!fs.existsSync(filePath)) {\n throw new Error(`Missing file at path: ${filePath}`);\n }\n fs.appendFileSync(filePath, `${(0, utils_1.toCommandValue)(message)}${os.EOL}`, {\n encoding: 'utf8'\n });\n}\nexports.issueFileCommand = issueFileCommand;\nfunction prepareKeyValueMessage(key, value) {\n const delimiter = `ghadelimiter_${crypto.randomUUID()}`;\n const convertedValue = (0, utils_1.toCommandValue)(value);\n // These should realistically never happen, but just in case someone finds a\n // way to exploit uuid generation let's not allow keys or values that contain\n // the delimiter.\n if (key.includes(delimiter)) {\n throw new Error(`Unexpected input: name should not contain the delimiter \"${delimiter}\"`);\n }\n if (convertedValue.includes(delimiter)) {\n throw new Error(`Unexpected input: value should not contain the delimiter \"${delimiter}\"`);\n }\n return `${key}<<${delimiter}${os.EOL}${convertedValue}${os.EOL}${delimiter}`;\n}\nexports.prepareKeyValueMessage = prepareKeyValueMessage;\n//# sourceMappingURL=file-command.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.OidcClient = void 0;\nconst http_client_1 = require(\"@actions/http-client\");\nconst auth_1 = require(\"@actions/http-client/lib/auth\");\nconst core_1 = require(\"./core\");\nclass OidcClient {\n static createHttpClient(allowRetry = true, maxRetry = 10) {\n const requestOptions = {\n allowRetries: allowRetry,\n maxRetries: maxRetry\n };\n return new http_client_1.HttpClient('actions/oidc-client', [new auth_1.BearerCredentialHandler(OidcClient.getRequestToken())], requestOptions);\n }\n static getRequestToken() {\n const token = process.env['ACTIONS_ID_TOKEN_REQUEST_TOKEN'];\n if (!token) {\n throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable');\n }\n return token;\n }\n static getIDTokenUrl() {\n const runtimeUrl = process.env['ACTIONS_ID_TOKEN_REQUEST_URL'];\n if (!runtimeUrl) {\n throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable');\n }\n return runtimeUrl;\n }\n static getCall(id_token_url) {\n var _a;\n return __awaiter(this, void 0, void 0, function* () {\n const httpclient = OidcClient.createHttpClient();\n const res = yield httpclient\n .getJson(id_token_url)\n .catch(error => {\n throw new Error(`Failed to get ID Token. \\n \n Error Code : ${error.statusCode}\\n \n Error Message: ${error.message}`);\n });\n const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;\n if (!id_token) {\n throw new Error('Response json body do not have ID Token field');\n }\n return id_token;\n });\n }\n static getIDToken(audience) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n // New ID Token is requested from action service\n let id_token_url = OidcClient.getIDTokenUrl();\n if (audience) {\n const encodedAudience = encodeURIComponent(audience);\n id_token_url = `${id_token_url}&audience=${encodedAudience}`;\n }\n (0, core_1.debug)(`ID token url is ${id_token_url}`);\n const id_token = yield OidcClient.getCall(id_token_url);\n (0, core_1.setSecret)(id_token);\n return id_token;\n }\n catch (error) {\n throw new Error(`Error message: ${error.message}`);\n }\n });\n }\n}\nexports.OidcClient = OidcClient;\n//# sourceMappingURL=oidc-utils.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = void 0;\nconst path = __importStar(require(\"path\"));\n/**\n * toPosixPath converts the given path to the posix form. On Windows, \\\\ will be\n * replaced with /.\n *\n * @param pth. Path to transform.\n * @return string Posix path.\n */\nfunction toPosixPath(pth) {\n return pth.replace(/[\\\\]/g, '/');\n}\nexports.toPosixPath = toPosixPath;\n/**\n * toWin32Path converts the given path to the win32 form. On Linux, / will be\n * replaced with \\\\.\n *\n * @param pth. Path to transform.\n * @return string Win32 path.\n */\nfunction toWin32Path(pth) {\n return pth.replace(/[/]/g, '\\\\');\n}\nexports.toWin32Path = toWin32Path;\n/**\n * toPlatformPath converts the given path to a platform-specific path. It does\n * this by replacing instances of / and \\ with the platform-specific path\n * separator.\n *\n * @param pth The path to platformize.\n * @return string The platform-specific path.\n */\nfunction toPlatformPath(pth) {\n return pth.replace(/[/\\\\]/g, path.sep);\n}\nexports.toPlatformPath = toPlatformPath;\n//# sourceMappingURL=path-utils.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getDetails = exports.isLinux = exports.isMacOS = exports.isWindows = exports.arch = exports.platform = void 0;\nconst os_1 = __importDefault(require(\"os\"));\nconst exec = __importStar(require(\"@actions/exec\"));\nconst getWindowsInfo = () => __awaiter(void 0, void 0, void 0, function* () {\n const { stdout: version } = yield exec.getExecOutput('powershell -command \"(Get-CimInstance -ClassName Win32_OperatingSystem).Version\"', undefined, {\n silent: true\n });\n const { stdout: name } = yield exec.getExecOutput('powershell -command \"(Get-CimInstance -ClassName Win32_OperatingSystem).Caption\"', undefined, {\n silent: true\n });\n return {\n name: name.trim(),\n version: version.trim()\n };\n});\nconst getMacOsInfo = () => __awaiter(void 0, void 0, void 0, function* () {\n var _a, _b, _c, _d;\n const { stdout } = yield exec.getExecOutput('sw_vers', undefined, {\n silent: true\n });\n const version = (_b = (_a = stdout.match(/ProductVersion:\\s*(.+)/)) === null || _a === void 0 ? void 0 : _a[1]) !== null && _b !== void 0 ? _b : '';\n const name = (_d = (_c = stdout.match(/ProductName:\\s*(.+)/)) === null || _c === void 0 ? void 0 : _c[1]) !== null && _d !== void 0 ? _d : '';\n return {\n name,\n version\n };\n});\nconst getLinuxInfo = () => __awaiter(void 0, void 0, void 0, function* () {\n const { stdout } = yield exec.getExecOutput('lsb_release', ['-i', '-r', '-s'], {\n silent: true\n });\n const [name, version] = stdout.trim().split('\\n');\n return {\n name,\n version\n };\n});\nexports.platform = os_1.default.platform();\nexports.arch = os_1.default.arch();\nexports.isWindows = exports.platform === 'win32';\nexports.isMacOS = exports.platform === 'darwin';\nexports.isLinux = exports.platform === 'linux';\nfunction getDetails() {\n return __awaiter(this, void 0, void 0, function* () {\n return Object.assign(Object.assign({}, (yield (exports.isWindows\n ? getWindowsInfo()\n : exports.isMacOS\n ? getMacOsInfo()\n : getLinuxInfo()))), { platform: exports.platform,\n arch: exports.arch,\n isWindows: exports.isWindows,\n isMacOS: exports.isMacOS,\n isLinux: exports.isLinux });\n });\n}\nexports.getDetails = getDetails;\n//# sourceMappingURL=platform.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.summary = exports.markdownSummary = exports.SUMMARY_DOCS_URL = exports.SUMMARY_ENV_VAR = void 0;\nconst os_1 = require(\"os\");\nconst fs_1 = require(\"fs\");\nconst { access, appendFile, writeFile } = fs_1.promises;\nexports.SUMMARY_ENV_VAR = 'GITHUB_STEP_SUMMARY';\nexports.SUMMARY_DOCS_URL = 'https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary';\nclass Summary {\n constructor() {\n this._buffer = '';\n }\n /**\n * Finds the summary file path from the environment, rejects if env var is not found or file does not exist\n * Also checks r/w permissions.\n *\n * @returns step summary file path\n */\n filePath() {\n return __awaiter(this, void 0, void 0, function* () {\n if (this._filePath) {\n return this._filePath;\n }\n const pathFromEnv = process.env[exports.SUMMARY_ENV_VAR];\n if (!pathFromEnv) {\n throw new Error(`Unable to find environment variable for $${exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);\n }\n try {\n yield access(pathFromEnv, fs_1.constants.R_OK | fs_1.constants.W_OK);\n }\n catch (_a) {\n throw new Error(`Unable to access summary file: '${pathFromEnv}'. Check if the file has correct read/write permissions.`);\n }\n this._filePath = pathFromEnv;\n return this._filePath;\n });\n }\n /**\n * Wraps content in an HTML tag, adding any HTML attributes\n *\n * @param {string} tag HTML tag to wrap\n * @param {string | null} content content within the tag\n * @param {[attribute: string]: string} attrs key-value list of HTML attributes to add\n *\n * @returns {string} content wrapped in HTML element\n */\n wrap(tag, content, attrs = {}) {\n const htmlAttrs = Object.entries(attrs)\n .map(([key, value]) => ` ${key}=\"${value}\"`)\n .join('');\n if (!content) {\n return `<${tag}${htmlAttrs}>`;\n }\n return `<${tag}${htmlAttrs}>${content}`;\n }\n /**\n * Writes text in the buffer to the summary buffer file and empties buffer. Will append by default.\n *\n * @param {SummaryWriteOptions} [options] (optional) options for write operation\n *\n * @returns {Promise} summary instance\n */\n write(options) {\n return __awaiter(this, void 0, void 0, function* () {\n const overwrite = !!(options === null || options === void 0 ? void 0 : options.overwrite);\n const filePath = yield this.filePath();\n const writeFunc = overwrite ? writeFile : appendFile;\n yield writeFunc(filePath, this._buffer, { encoding: 'utf8' });\n return this.emptyBuffer();\n });\n }\n /**\n * Clears the summary buffer and wipes the summary file\n *\n * @returns {Summary} summary instance\n */\n clear() {\n return __awaiter(this, void 0, void 0, function* () {\n return this.emptyBuffer().write({ overwrite: true });\n });\n }\n /**\n * Returns the current summary buffer as a string\n *\n * @returns {string} string of summary buffer\n */\n stringify() {\n return this._buffer;\n }\n /**\n * If the summary buffer is empty\n *\n * @returns {boolen} true if the buffer is empty\n */\n isEmptyBuffer() {\n return this._buffer.length === 0;\n }\n /**\n * Resets the summary buffer without writing to summary file\n *\n * @returns {Summary} summary instance\n */\n emptyBuffer() {\n this._buffer = '';\n return this;\n }\n /**\n * Adds raw text to the summary buffer\n *\n * @param {string} text content to add\n * @param {boolean} [addEOL=false] (optional) append an EOL to the raw text (default: false)\n *\n * @returns {Summary} summary instance\n */\n addRaw(text, addEOL = false) {\n this._buffer += text;\n return addEOL ? this.addEOL() : this;\n }\n /**\n * Adds the operating system-specific end-of-line marker to the buffer\n *\n * @returns {Summary} summary instance\n */\n addEOL() {\n return this.addRaw(os_1.EOL);\n }\n /**\n * Adds an HTML codeblock to the summary buffer\n *\n * @param {string} code content to render within fenced code block\n * @param {string} lang (optional) language to syntax highlight code\n *\n * @returns {Summary} summary instance\n */\n addCodeBlock(code, lang) {\n const attrs = Object.assign({}, (lang && { lang }));\n const element = this.wrap('pre', this.wrap('code', code), attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML list to the summary buffer\n *\n * @param {string[]} items list of items to render\n * @param {boolean} [ordered=false] (optional) if the rendered list should be ordered or not (default: false)\n *\n * @returns {Summary} summary instance\n */\n addList(items, ordered = false) {\n const tag = ordered ? 'ol' : 'ul';\n const listItems = items.map(item => this.wrap('li', item)).join('');\n const element = this.wrap(tag, listItems);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML table to the summary buffer\n *\n * @param {SummaryTableCell[]} rows table rows\n *\n * @returns {Summary} summary instance\n */\n addTable(rows) {\n const tableBody = rows\n .map(row => {\n const cells = row\n .map(cell => {\n if (typeof cell === 'string') {\n return this.wrap('td', cell);\n }\n const { header, data, colspan, rowspan } = cell;\n const tag = header ? 'th' : 'td';\n const attrs = Object.assign(Object.assign({}, (colspan && { colspan })), (rowspan && { rowspan }));\n return this.wrap(tag, data, attrs);\n })\n .join('');\n return this.wrap('tr', cells);\n })\n .join('');\n const element = this.wrap('table', tableBody);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds a collapsable HTML details element to the summary buffer\n *\n * @param {string} label text for the closed state\n * @param {string} content collapsable content\n *\n * @returns {Summary} summary instance\n */\n addDetails(label, content) {\n const element = this.wrap('details', this.wrap('summary', label) + content);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML image tag to the summary buffer\n *\n * @param {string} src path to the image you to embed\n * @param {string} alt text description of the image\n * @param {SummaryImageOptions} options (optional) addition image attributes\n *\n * @returns {Summary} summary instance\n */\n addImage(src, alt, options) {\n const { width, height } = options || {};\n const attrs = Object.assign(Object.assign({}, (width && { width })), (height && { height }));\n const element = this.wrap('img', null, Object.assign({ src, alt }, attrs));\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML section heading element\n *\n * @param {string} text heading text\n * @param {number | string} [level=1] (optional) the heading level, default: 1\n *\n * @returns {Summary} summary instance\n */\n addHeading(text, level) {\n const tag = `h${level}`;\n const allowedTag = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'].includes(tag)\n ? tag\n : 'h1';\n const element = this.wrap(allowedTag, text);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML thematic break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */\n addSeparator() {\n const element = this.wrap('hr', null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML line break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */\n addBreak() {\n const element = this.wrap('br', null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML blockquote to the summary buffer\n *\n * @param {string} text quote text\n * @param {string} cite (optional) citation url\n *\n * @returns {Summary} summary instance\n */\n addQuote(text, cite) {\n const attrs = Object.assign({}, (cite && { cite }));\n const element = this.wrap('blockquote', text, attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML anchor tag to the summary buffer\n *\n * @param {string} text link text/content\n * @param {string} href hyperlink\n *\n * @returns {Summary} summary instance\n */\n addLink(text, href) {\n const element = this.wrap('a', text, { href });\n return this.addRaw(element).addEOL();\n }\n}\nconst _summary = new Summary();\n/**\n * @deprecated use `core.summary`\n */\nexports.markdownSummary = _summary;\nexports.summary = _summary;\n//# sourceMappingURL=summary.js.map","\"use strict\";\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toCommandProperties = exports.toCommandValue = void 0;\n/**\n * Sanitizes an input into a string so it can be passed into issueCommand safely\n * @param input input to sanitize into a string\n */\nfunction toCommandValue(input) {\n if (input === null || input === undefined) {\n return '';\n }\n else if (typeof input === 'string' || input instanceof String) {\n return input;\n }\n return JSON.stringify(input);\n}\nexports.toCommandValue = toCommandValue;\n/**\n *\n * @param annotationProperties\n * @returns The command properties to send with the actual annotation command\n * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646\n */\nfunction toCommandProperties(annotationProperties) {\n if (!Object.keys(annotationProperties).length) {\n return {};\n }\n return {\n title: annotationProperties.title,\n file: annotationProperties.file,\n line: annotationProperties.startLine,\n endLine: annotationProperties.endLine,\n col: annotationProperties.startColumn,\n endColumn: annotationProperties.endColumn\n };\n}\nexports.toCommandProperties = toCommandProperties;\n//# sourceMappingURL=utils.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getExecOutput = exports.exec = void 0;\nconst string_decoder_1 = require(\"string_decoder\");\nconst tr = __importStar(require(\"./toolrunner\"));\n/**\n * Exec a command.\n * Output will be streamed to the live console.\n * Returns promise with return code\n *\n * @param commandLine command to execute (can include additional args). Must be correctly escaped.\n * @param args optional arguments for tool. Escaping is handled by the lib.\n * @param options optional exec options. See ExecOptions\n * @returns Promise exit code\n */\nfunction exec(commandLine, args, options) {\n return __awaiter(this, void 0, void 0, function* () {\n const commandArgs = tr.argStringToArray(commandLine);\n if (commandArgs.length === 0) {\n throw new Error(`Parameter 'commandLine' cannot be null or empty.`);\n }\n // Path to tool to execute should be first arg\n const toolPath = commandArgs[0];\n args = commandArgs.slice(1).concat(args || []);\n const runner = new tr.ToolRunner(toolPath, args, options);\n return runner.exec();\n });\n}\nexports.exec = exec;\n/**\n * Exec a command and get the output.\n * Output will be streamed to the live console.\n * Returns promise with the exit code and collected stdout and stderr\n *\n * @param commandLine command to execute (can include additional args). Must be correctly escaped.\n * @param args optional arguments for tool. Escaping is handled by the lib.\n * @param options optional exec options. See ExecOptions\n * @returns Promise exit code, stdout, and stderr\n */\nfunction getExecOutput(commandLine, args, options) {\n var _a, _b;\n return __awaiter(this, void 0, void 0, function* () {\n let stdout = '';\n let stderr = '';\n //Using string decoder covers the case where a mult-byte character is split\n const stdoutDecoder = new string_decoder_1.StringDecoder('utf8');\n const stderrDecoder = new string_decoder_1.StringDecoder('utf8');\n const originalStdoutListener = (_a = options === null || options === void 0 ? void 0 : options.listeners) === null || _a === void 0 ? void 0 : _a.stdout;\n const originalStdErrListener = (_b = options === null || options === void 0 ? void 0 : options.listeners) === null || _b === void 0 ? void 0 : _b.stderr;\n const stdErrListener = (data) => {\n stderr += stderrDecoder.write(data);\n if (originalStdErrListener) {\n originalStdErrListener(data);\n }\n };\n const stdOutListener = (data) => {\n stdout += stdoutDecoder.write(data);\n if (originalStdoutListener) {\n originalStdoutListener(data);\n }\n };\n const listeners = Object.assign(Object.assign({}, options === null || options === void 0 ? void 0 : options.listeners), { stdout: stdOutListener, stderr: stdErrListener });\n const exitCode = yield exec(commandLine, args, Object.assign(Object.assign({}, options), { listeners }));\n //flush any remaining characters\n stdout += stdoutDecoder.end();\n stderr += stderrDecoder.end();\n return {\n exitCode,\n stdout,\n stderr\n };\n });\n}\nexports.getExecOutput = getExecOutput;\n//# sourceMappingURL=exec.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.argStringToArray = exports.ToolRunner = void 0;\nconst os = __importStar(require(\"os\"));\nconst events = __importStar(require(\"events\"));\nconst child = __importStar(require(\"child_process\"));\nconst path = __importStar(require(\"path\"));\nconst io = __importStar(require(\"@actions/io\"));\nconst ioUtil = __importStar(require(\"@actions/io/lib/io-util\"));\nconst timers_1 = require(\"timers\");\n/* eslint-disable @typescript-eslint/unbound-method */\nconst IS_WINDOWS = process.platform === 'win32';\n/*\n * Class for running command line tools. Handles quoting and arg parsing in a platform agnostic way.\n */\nclass ToolRunner extends events.EventEmitter {\n constructor(toolPath, args, options) {\n super();\n if (!toolPath) {\n throw new Error(\"Parameter 'toolPath' cannot be null or empty.\");\n }\n this.toolPath = toolPath;\n this.args = args || [];\n this.options = options || {};\n }\n _debug(message) {\n if (this.options.listeners && this.options.listeners.debug) {\n this.options.listeners.debug(message);\n }\n }\n _getCommandString(options, noPrefix) {\n const toolPath = this._getSpawnFileName();\n const args = this._getSpawnArgs(options);\n let cmd = noPrefix ? '' : '[command]'; // omit prefix when piped to a second tool\n if (IS_WINDOWS) {\n // Windows + cmd file\n if (this._isCmdFile()) {\n cmd += toolPath;\n for (const a of args) {\n cmd += ` ${a}`;\n }\n }\n // Windows + verbatim\n else if (options.windowsVerbatimArguments) {\n cmd += `\"${toolPath}\"`;\n for (const a of args) {\n cmd += ` ${a}`;\n }\n }\n // Windows (regular)\n else {\n cmd += this._windowsQuoteCmdArg(toolPath);\n for (const a of args) {\n cmd += ` ${this._windowsQuoteCmdArg(a)}`;\n }\n }\n }\n else {\n // OSX/Linux - this can likely be improved with some form of quoting.\n // creating processes on Unix is fundamentally different than Windows.\n // on Unix, execvp() takes an arg array.\n cmd += toolPath;\n for (const a of args) {\n cmd += ` ${a}`;\n }\n }\n return cmd;\n }\n _processLineBuffer(data, strBuffer, onLine) {\n try {\n let s = strBuffer + data.toString();\n let n = s.indexOf(os.EOL);\n while (n > -1) {\n const line = s.substring(0, n);\n onLine(line);\n // the rest of the string ...\n s = s.substring(n + os.EOL.length);\n n = s.indexOf(os.EOL);\n }\n return s;\n }\n catch (err) {\n // streaming lines to console is best effort. Don't fail a build.\n this._debug(`error processing line. Failed with error ${err}`);\n return '';\n }\n }\n _getSpawnFileName() {\n if (IS_WINDOWS) {\n if (this._isCmdFile()) {\n return process.env['COMSPEC'] || 'cmd.exe';\n }\n }\n return this.toolPath;\n }\n _getSpawnArgs(options) {\n if (IS_WINDOWS) {\n if (this._isCmdFile()) {\n let argline = `/D /S /C \"${this._windowsQuoteCmdArg(this.toolPath)}`;\n for (const a of this.args) {\n argline += ' ';\n argline += options.windowsVerbatimArguments\n ? a\n : this._windowsQuoteCmdArg(a);\n }\n argline += '\"';\n return [argline];\n }\n }\n return this.args;\n }\n _endsWith(str, end) {\n return str.endsWith(end);\n }\n _isCmdFile() {\n const upperToolPath = this.toolPath.toUpperCase();\n return (this._endsWith(upperToolPath, '.CMD') ||\n this._endsWith(upperToolPath, '.BAT'));\n }\n _windowsQuoteCmdArg(arg) {\n // for .exe, apply the normal quoting rules that libuv applies\n if (!this._isCmdFile()) {\n return this._uvQuoteCmdArg(arg);\n }\n // otherwise apply quoting rules specific to the cmd.exe command line parser.\n // the libuv rules are generic and are not designed specifically for cmd.exe\n // command line parser.\n //\n // for a detailed description of the cmd.exe command line parser, refer to\n // http://stackoverflow.com/questions/4094699/how-does-the-windows-command-interpreter-cmd-exe-parse-scripts/7970912#7970912\n // need quotes for empty arg\n if (!arg) {\n return '\"\"';\n }\n // determine whether the arg needs to be quoted\n const cmdSpecialChars = [\n ' ',\n '\\t',\n '&',\n '(',\n ')',\n '[',\n ']',\n '{',\n '}',\n '^',\n '=',\n ';',\n '!',\n \"'\",\n '+',\n ',',\n '`',\n '~',\n '|',\n '<',\n '>',\n '\"'\n ];\n let needsQuotes = false;\n for (const char of arg) {\n if (cmdSpecialChars.some(x => x === char)) {\n needsQuotes = true;\n break;\n }\n }\n // short-circuit if quotes not needed\n if (!needsQuotes) {\n return arg;\n }\n // the following quoting rules are very similar to the rules that by libuv applies.\n //\n // 1) wrap the string in quotes\n //\n // 2) double-up quotes - i.e. \" => \"\"\n //\n // this is different from the libuv quoting rules. libuv replaces \" with \\\", which unfortunately\n // doesn't work well with a cmd.exe command line.\n //\n // note, replacing \" with \"\" also works well if the arg is passed to a downstream .NET console app.\n // for example, the command line:\n // foo.exe \"myarg:\"\"my val\"\"\"\n // is parsed by a .NET console app into an arg array:\n // [ \"myarg:\\\"my val\\\"\" ]\n // which is the same end result when applying libuv quoting rules. although the actual\n // command line from libuv quoting rules would look like:\n // foo.exe \"myarg:\\\"my val\\\"\"\n //\n // 3) double-up slashes that precede a quote,\n // e.g. hello \\world => \"hello \\world\"\n // hello\\\"world => \"hello\\\\\"\"world\"\n // hello\\\\\"world => \"hello\\\\\\\\\"\"world\"\n // hello world\\ => \"hello world\\\\\"\n //\n // technically this is not required for a cmd.exe command line, or the batch argument parser.\n // the reasons for including this as a .cmd quoting rule are:\n //\n // a) this is optimized for the scenario where the argument is passed from the .cmd file to an\n // external program. many programs (e.g. .NET console apps) rely on the slash-doubling rule.\n //\n // b) it's what we've been doing previously (by deferring to node default behavior) and we\n // haven't heard any complaints about that aspect.\n //\n // note, a weakness of the quoting rules chosen here, is that % is not escaped. in fact, % cannot be\n // escaped when used on the command line directly - even though within a .cmd file % can be escaped\n // by using %%.\n //\n // the saving grace is, on the command line, %var% is left as-is if var is not defined. this contrasts\n // the line parsing rules within a .cmd file, where if var is not defined it is replaced with nothing.\n //\n // one option that was explored was replacing % with ^% - i.e. %var% => ^%var^%. this hack would\n // often work, since it is unlikely that var^ would exist, and the ^ character is removed when the\n // variable is used. the problem, however, is that ^ is not removed when %* is used to pass the args\n // to an external program.\n //\n // an unexplored potential solution for the % escaping problem, is to create a wrapper .cmd file.\n // % can be escaped within a .cmd file.\n let reverse = '\"';\n let quoteHit = true;\n for (let i = arg.length; i > 0; i--) {\n // walk the string in reverse\n reverse += arg[i - 1];\n if (quoteHit && arg[i - 1] === '\\\\') {\n reverse += '\\\\'; // double the slash\n }\n else if (arg[i - 1] === '\"') {\n quoteHit = true;\n reverse += '\"'; // double the quote\n }\n else {\n quoteHit = false;\n }\n }\n reverse += '\"';\n return reverse\n .split('')\n .reverse()\n .join('');\n }\n _uvQuoteCmdArg(arg) {\n // Tool runner wraps child_process.spawn() and needs to apply the same quoting as\n // Node in certain cases where the undocumented spawn option windowsVerbatimArguments\n // is used.\n //\n // Since this function is a port of quote_cmd_arg from Node 4.x (technically, lib UV,\n // see https://github.com/nodejs/node/blob/v4.x/deps/uv/src/win/process.c for details),\n // pasting copyright notice from Node within this function:\n //\n // Copyright Joyent, Inc. and other Node contributors. All rights reserved.\n //\n // Permission is hereby granted, free of charge, to any person obtaining a copy\n // of this software and associated documentation files (the \"Software\"), to\n // deal in the Software without restriction, including without limitation the\n // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or\n // sell copies of the Software, and to permit persons to whom the Software is\n // furnished to do so, subject to the following conditions:\n //\n // The above copyright notice and this permission notice shall be included in\n // all copies or substantial portions of the Software.\n //\n // THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n // IN THE SOFTWARE.\n if (!arg) {\n // Need double quotation for empty argument\n return '\"\"';\n }\n if (!arg.includes(' ') && !arg.includes('\\t') && !arg.includes('\"')) {\n // No quotation needed\n return arg;\n }\n if (!arg.includes('\"') && !arg.includes('\\\\')) {\n // No embedded double quotes or backslashes, so I can just wrap\n // quote marks around the whole thing.\n return `\"${arg}\"`;\n }\n // Expected input/output:\n // input : hello\"world\n // output: \"hello\\\"world\"\n // input : hello\"\"world\n // output: \"hello\\\"\\\"world\"\n // input : hello\\world\n // output: hello\\world\n // input : hello\\\\world\n // output: hello\\\\world\n // input : hello\\\"world\n // output: \"hello\\\\\\\"world\"\n // input : hello\\\\\"world\n // output: \"hello\\\\\\\\\\\"world\"\n // input : hello world\\\n // output: \"hello world\\\\\" - note the comment in libuv actually reads \"hello world\\\"\n // but it appears the comment is wrong, it should be \"hello world\\\\\"\n let reverse = '\"';\n let quoteHit = true;\n for (let i = arg.length; i > 0; i--) {\n // walk the string in reverse\n reverse += arg[i - 1];\n if (quoteHit && arg[i - 1] === '\\\\') {\n reverse += '\\\\';\n }\n else if (arg[i - 1] === '\"') {\n quoteHit = true;\n reverse += '\\\\';\n }\n else {\n quoteHit = false;\n }\n }\n reverse += '\"';\n return reverse\n .split('')\n .reverse()\n .join('');\n }\n _cloneExecOptions(options) {\n options = options || {};\n const result = {\n cwd: options.cwd || process.cwd(),\n env: options.env || process.env,\n silent: options.silent || false,\n windowsVerbatimArguments: options.windowsVerbatimArguments || false,\n failOnStdErr: options.failOnStdErr || false,\n ignoreReturnCode: options.ignoreReturnCode || false,\n delay: options.delay || 10000\n };\n result.outStream = options.outStream || process.stdout;\n result.errStream = options.errStream || process.stderr;\n return result;\n }\n _getSpawnOptions(options, toolPath) {\n options = options || {};\n const result = {};\n result.cwd = options.cwd;\n result.env = options.env;\n result['windowsVerbatimArguments'] =\n options.windowsVerbatimArguments || this._isCmdFile();\n if (options.windowsVerbatimArguments) {\n result.argv0 = `\"${toolPath}\"`;\n }\n return result;\n }\n /**\n * Exec a tool.\n * Output will be streamed to the live console.\n * Returns promise with return code\n *\n * @param tool path to tool to exec\n * @param options optional exec options. See ExecOptions\n * @returns number\n */\n exec() {\n return __awaiter(this, void 0, void 0, function* () {\n // root the tool path if it is unrooted and contains relative pathing\n if (!ioUtil.isRooted(this.toolPath) &&\n (this.toolPath.includes('/') ||\n (IS_WINDOWS && this.toolPath.includes('\\\\')))) {\n // prefer options.cwd if it is specified, however options.cwd may also need to be rooted\n this.toolPath = path.resolve(process.cwd(), this.options.cwd || process.cwd(), this.toolPath);\n }\n // if the tool is only a file name, then resolve it from the PATH\n // otherwise verify it exists (add extension on Windows if necessary)\n this.toolPath = yield io.which(this.toolPath, true);\n return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {\n this._debug(`exec tool: ${this.toolPath}`);\n this._debug('arguments:');\n for (const arg of this.args) {\n this._debug(` ${arg}`);\n }\n const optionsNonNull = this._cloneExecOptions(this.options);\n if (!optionsNonNull.silent && optionsNonNull.outStream) {\n optionsNonNull.outStream.write(this._getCommandString(optionsNonNull) + os.EOL);\n }\n const state = new ExecState(optionsNonNull, this.toolPath);\n state.on('debug', (message) => {\n this._debug(message);\n });\n if (this.options.cwd && !(yield ioUtil.exists(this.options.cwd))) {\n return reject(new Error(`The cwd: ${this.options.cwd} does not exist!`));\n }\n const fileName = this._getSpawnFileName();\n const cp = child.spawn(fileName, this._getSpawnArgs(optionsNonNull), this._getSpawnOptions(this.options, fileName));\n let stdbuffer = '';\n if (cp.stdout) {\n cp.stdout.on('data', (data) => {\n if (this.options.listeners && this.options.listeners.stdout) {\n this.options.listeners.stdout(data);\n }\n if (!optionsNonNull.silent && optionsNonNull.outStream) {\n optionsNonNull.outStream.write(data);\n }\n stdbuffer = this._processLineBuffer(data, stdbuffer, (line) => {\n if (this.options.listeners && this.options.listeners.stdline) {\n this.options.listeners.stdline(line);\n }\n });\n });\n }\n let errbuffer = '';\n if (cp.stderr) {\n cp.stderr.on('data', (data) => {\n state.processStderr = true;\n if (this.options.listeners && this.options.listeners.stderr) {\n this.options.listeners.stderr(data);\n }\n if (!optionsNonNull.silent &&\n optionsNonNull.errStream &&\n optionsNonNull.outStream) {\n const s = optionsNonNull.failOnStdErr\n ? optionsNonNull.errStream\n : optionsNonNull.outStream;\n s.write(data);\n }\n errbuffer = this._processLineBuffer(data, errbuffer, (line) => {\n if (this.options.listeners && this.options.listeners.errline) {\n this.options.listeners.errline(line);\n }\n });\n });\n }\n cp.on('error', (err) => {\n state.processError = err.message;\n state.processExited = true;\n state.processClosed = true;\n state.CheckComplete();\n });\n cp.on('exit', (code) => {\n state.processExitCode = code;\n state.processExited = true;\n this._debug(`Exit code ${code} received from tool '${this.toolPath}'`);\n state.CheckComplete();\n });\n cp.on('close', (code) => {\n state.processExitCode = code;\n state.processExited = true;\n state.processClosed = true;\n this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);\n state.CheckComplete();\n });\n state.on('done', (error, exitCode) => {\n if (stdbuffer.length > 0) {\n this.emit('stdline', stdbuffer);\n }\n if (errbuffer.length > 0) {\n this.emit('errline', errbuffer);\n }\n cp.removeAllListeners();\n if (error) {\n reject(error);\n }\n else {\n resolve(exitCode);\n }\n });\n if (this.options.input) {\n if (!cp.stdin) {\n throw new Error('child process missing stdin');\n }\n cp.stdin.end(this.options.input);\n }\n }));\n });\n }\n}\nexports.ToolRunner = ToolRunner;\n/**\n * Convert an arg string to an array of args. Handles escaping\n *\n * @param argString string of arguments\n * @returns string[] array of arguments\n */\nfunction argStringToArray(argString) {\n const args = [];\n let inQuotes = false;\n let escaped = false;\n let arg = '';\n function append(c) {\n // we only escape double quotes.\n if (escaped && c !== '\"') {\n arg += '\\\\';\n }\n arg += c;\n escaped = false;\n }\n for (let i = 0; i < argString.length; i++) {\n const c = argString.charAt(i);\n if (c === '\"') {\n if (!escaped) {\n inQuotes = !inQuotes;\n }\n else {\n append(c);\n }\n continue;\n }\n if (c === '\\\\' && escaped) {\n append(c);\n continue;\n }\n if (c === '\\\\' && inQuotes) {\n escaped = true;\n continue;\n }\n if (c === ' ' && !inQuotes) {\n if (arg.length > 0) {\n args.push(arg);\n arg = '';\n }\n continue;\n }\n append(c);\n }\n if (arg.length > 0) {\n args.push(arg.trim());\n }\n return args;\n}\nexports.argStringToArray = argStringToArray;\nclass ExecState extends events.EventEmitter {\n constructor(options, toolPath) {\n super();\n this.processClosed = false; // tracks whether the process has exited and stdio is closed\n this.processError = '';\n this.processExitCode = 0;\n this.processExited = false; // tracks whether the process has exited\n this.processStderr = false; // tracks whether stderr was written to\n this.delay = 10000; // 10 seconds\n this.done = false;\n this.timeout = null;\n if (!toolPath) {\n throw new Error('toolPath must not be empty');\n }\n this.options = options;\n this.toolPath = toolPath;\n if (options.delay) {\n this.delay = options.delay;\n }\n }\n CheckComplete() {\n if (this.done) {\n return;\n }\n if (this.processClosed) {\n this._setResult();\n }\n else if (this.processExited) {\n this.timeout = timers_1.setTimeout(ExecState.HandleTimeout, this.delay, this);\n }\n }\n _debug(message) {\n this.emit('debug', message);\n }\n _setResult() {\n // determine whether there is an error\n let error;\n if (this.processExited) {\n if (this.processError) {\n error = 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}`);\n }\n else if (this.processExitCode !== 0 && !this.options.ignoreReturnCode) {\n error = new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`);\n }\n else if (this.processStderr && this.options.failOnStdErr) {\n error = new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`);\n }\n }\n // clear the timeout\n if (this.timeout) {\n clearTimeout(this.timeout);\n this.timeout = null;\n }\n this.done = true;\n this.emit('done', error, this.processExitCode);\n }\n static HandleTimeout(state) {\n if (state.done) {\n return;\n }\n if (!state.processClosed && state.processExited) {\n const message = `The STDIO streams did not close within ${state.delay /\n 1000} seconds of the exit event from process '${state.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;\n state._debug(message);\n }\n state._setResult();\n }\n}\n//# sourceMappingURL=toolrunner.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PersonalAccessTokenCredentialHandler = exports.BearerCredentialHandler = exports.BasicCredentialHandler = void 0;\nclass BasicCredentialHandler {\n constructor(username, password) {\n this.username = username;\n this.password = password;\n }\n prepareRequest(options) {\n if (!options.headers) {\n throw Error('The request has no headers');\n }\n options.headers['Authorization'] = `Basic ${Buffer.from(`${this.username}:${this.password}`).toString('base64')}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return __awaiter(this, void 0, void 0, function* () {\n throw new Error('not implemented');\n });\n }\n}\nexports.BasicCredentialHandler = BasicCredentialHandler;\nclass BearerCredentialHandler {\n constructor(token) {\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) {\n throw Error('The request has no headers');\n }\n options.headers['Authorization'] = `Bearer ${this.token}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return __awaiter(this, void 0, void 0, function* () {\n throw new Error('not implemented');\n });\n }\n}\nexports.BearerCredentialHandler = BearerCredentialHandler;\nclass PersonalAccessTokenCredentialHandler {\n constructor(token) {\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) {\n throw Error('The request has no headers');\n }\n options.headers['Authorization'] = `Basic ${Buffer.from(`PAT:${this.token}`).toString('base64')}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return __awaiter(this, void 0, void 0, function* () {\n throw new Error('not implemented');\n });\n }\n}\nexports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHandler;\n//# sourceMappingURL=auth.js.map","\"use strict\";\n/* eslint-disable @typescript-eslint/no-explicit-any */\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HttpClient = exports.isHttps = exports.HttpClientResponse = exports.HttpClientError = exports.getProxyUrl = exports.MediaTypes = exports.Headers = exports.HttpCodes = void 0;\nconst http = __importStar(require(\"http\"));\nconst https = __importStar(require(\"https\"));\nconst pm = __importStar(require(\"./proxy\"));\nconst tunnel = __importStar(require(\"tunnel\"));\nconst undici_1 = require(\"undici\");\nvar HttpCodes;\n(function (HttpCodes) {\n HttpCodes[HttpCodes[\"OK\"] = 200] = \"OK\";\n HttpCodes[HttpCodes[\"MultipleChoices\"] = 300] = \"MultipleChoices\";\n HttpCodes[HttpCodes[\"MovedPermanently\"] = 301] = \"MovedPermanently\";\n HttpCodes[HttpCodes[\"ResourceMoved\"] = 302] = \"ResourceMoved\";\n HttpCodes[HttpCodes[\"SeeOther\"] = 303] = \"SeeOther\";\n HttpCodes[HttpCodes[\"NotModified\"] = 304] = \"NotModified\";\n HttpCodes[HttpCodes[\"UseProxy\"] = 305] = \"UseProxy\";\n HttpCodes[HttpCodes[\"SwitchProxy\"] = 306] = \"SwitchProxy\";\n HttpCodes[HttpCodes[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n HttpCodes[HttpCodes[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n HttpCodes[HttpCodes[\"BadRequest\"] = 400] = \"BadRequest\";\n HttpCodes[HttpCodes[\"Unauthorized\"] = 401] = \"Unauthorized\";\n HttpCodes[HttpCodes[\"PaymentRequired\"] = 402] = \"PaymentRequired\";\n HttpCodes[HttpCodes[\"Forbidden\"] = 403] = \"Forbidden\";\n HttpCodes[HttpCodes[\"NotFound\"] = 404] = \"NotFound\";\n HttpCodes[HttpCodes[\"MethodNotAllowed\"] = 405] = \"MethodNotAllowed\";\n HttpCodes[HttpCodes[\"NotAcceptable\"] = 406] = \"NotAcceptable\";\n HttpCodes[HttpCodes[\"ProxyAuthenticationRequired\"] = 407] = \"ProxyAuthenticationRequired\";\n HttpCodes[HttpCodes[\"RequestTimeout\"] = 408] = \"RequestTimeout\";\n HttpCodes[HttpCodes[\"Conflict\"] = 409] = \"Conflict\";\n HttpCodes[HttpCodes[\"Gone\"] = 410] = \"Gone\";\n HttpCodes[HttpCodes[\"TooManyRequests\"] = 429] = \"TooManyRequests\";\n HttpCodes[HttpCodes[\"InternalServerError\"] = 500] = \"InternalServerError\";\n HttpCodes[HttpCodes[\"NotImplemented\"] = 501] = \"NotImplemented\";\n HttpCodes[HttpCodes[\"BadGateway\"] = 502] = \"BadGateway\";\n HttpCodes[HttpCodes[\"ServiceUnavailable\"] = 503] = \"ServiceUnavailable\";\n HttpCodes[HttpCodes[\"GatewayTimeout\"] = 504] = \"GatewayTimeout\";\n})(HttpCodes || (exports.HttpCodes = HttpCodes = {}));\nvar Headers;\n(function (Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})(Headers || (exports.Headers = Headers = {}));\nvar MediaTypes;\n(function (MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})(MediaTypes || (exports.MediaTypes = MediaTypes = {}));\n/**\n * Returns the proxy URL, depending upon the supplied url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\nfunction getProxyUrl(serverUrl) {\n const proxyUrl = pm.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : '';\n}\nexports.getProxyUrl = getProxyUrl;\nconst HttpRedirectCodes = [\n HttpCodes.MovedPermanently,\n HttpCodes.ResourceMoved,\n HttpCodes.SeeOther,\n HttpCodes.TemporaryRedirect,\n HttpCodes.PermanentRedirect\n];\nconst HttpResponseRetryCodes = [\n HttpCodes.BadGateway,\n HttpCodes.ServiceUnavailable,\n HttpCodes.GatewayTimeout\n];\nconst RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD'];\nconst ExponentialBackoffCeiling = 10;\nconst ExponentialBackoffTimeSlice = 5;\nclass HttpClientError extends Error {\n constructor(message, statusCode) {\n super(message);\n this.name = 'HttpClientError';\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, HttpClientError.prototype);\n }\n}\nexports.HttpClientError = HttpClientError;\nclass HttpClientResponse {\n constructor(message) {\n this.message = message;\n }\n readBody() {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise((resolve) => __awaiter(this, void 0, void 0, function* () {\n let output = Buffer.alloc(0);\n this.message.on('data', (chunk) => {\n output = Buffer.concat([output, chunk]);\n });\n this.message.on('end', () => {\n resolve(output.toString());\n });\n }));\n });\n }\n readBodyBuffer() {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise((resolve) => __awaiter(this, void 0, void 0, function* () {\n const chunks = [];\n this.message.on('data', (chunk) => {\n chunks.push(chunk);\n });\n this.message.on('end', () => {\n resolve(Buffer.concat(chunks));\n });\n }));\n });\n }\n}\nexports.HttpClientResponse = HttpClientResponse;\nfunction isHttps(requestUrl) {\n const parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === 'https:';\n}\nexports.isHttps = isHttps;\nclass HttpClient {\n constructor(userAgent, handlers, requestOptions) {\n this._ignoreSslError = false;\n this._allowRedirects = true;\n this._allowRedirectDowngrade = false;\n this._maxRedirects = 50;\n this._allowRetries = false;\n this._maxRetries = 1;\n this._keepAlive = false;\n this._disposed = false;\n this.userAgent = userAgent;\n this.handlers = handlers || [];\n this.requestOptions = requestOptions;\n if (requestOptions) {\n if (requestOptions.ignoreSslError != null) {\n this._ignoreSslError = requestOptions.ignoreSslError;\n }\n this._socketTimeout = requestOptions.socketTimeout;\n if (requestOptions.allowRedirects != null) {\n this._allowRedirects = requestOptions.allowRedirects;\n }\n if (requestOptions.allowRedirectDowngrade != null) {\n this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;\n }\n if (requestOptions.maxRedirects != null) {\n this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);\n }\n if (requestOptions.keepAlive != null) {\n this._keepAlive = requestOptions.keepAlive;\n }\n if (requestOptions.allowRetries != null) {\n this._allowRetries = requestOptions.allowRetries;\n }\n if (requestOptions.maxRetries != null) {\n this._maxRetries = requestOptions.maxRetries;\n }\n }\n }\n options(requestUrl, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('OPTIONS', requestUrl, null, additionalHeaders || {});\n });\n }\n get(requestUrl, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('GET', requestUrl, null, additionalHeaders || {});\n });\n }\n del(requestUrl, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('DELETE', requestUrl, null, additionalHeaders || {});\n });\n }\n post(requestUrl, data, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('POST', requestUrl, data, additionalHeaders || {});\n });\n }\n patch(requestUrl, data, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('PATCH', requestUrl, data, additionalHeaders || {});\n });\n }\n put(requestUrl, data, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('PUT', requestUrl, data, additionalHeaders || {});\n });\n }\n head(requestUrl, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('HEAD', requestUrl, null, additionalHeaders || {});\n });\n }\n sendStream(verb, requestUrl, stream, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request(verb, requestUrl, stream, additionalHeaders);\n });\n }\n /**\n * Gets a typed object from an endpoint\n * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise\n */\n getJson(requestUrl, additionalHeaders = {}) {\n return __awaiter(this, void 0, void 0, function* () {\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n const res = yield this.get(requestUrl, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n postJson(requestUrl, obj, additionalHeaders = {}) {\n return __awaiter(this, void 0, void 0, function* () {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n const res = yield this.post(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n putJson(requestUrl, obj, additionalHeaders = {}) {\n return __awaiter(this, void 0, void 0, function* () {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n const res = yield this.put(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n patchJson(requestUrl, obj, additionalHeaders = {}) {\n return __awaiter(this, void 0, void 0, function* () {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n const res = yield this.patch(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n /**\n * Makes a raw http request.\n * All other methods such as get, post, patch, and request ultimately call this.\n * Prefer get, del, post and patch\n */\n request(verb, requestUrl, data, headers) {\n return __awaiter(this, void 0, void 0, function* () {\n if (this._disposed) {\n throw new Error('Client has already been disposed.');\n }\n const parsedUrl = new URL(requestUrl);\n let info = this._prepareRequest(verb, parsedUrl, headers);\n // Only perform retries on reads since writes may not be idempotent.\n const maxTries = this._allowRetries && RetryableHttpVerbs.includes(verb)\n ? this._maxRetries + 1\n : 1;\n let numTries = 0;\n let response;\n do {\n response = yield this.requestRaw(info, data);\n // Check if it's an authentication challenge\n if (response &&\n response.message &&\n response.message.statusCode === HttpCodes.Unauthorized) {\n let authenticationHandler;\n for (const handler of this.handlers) {\n if (handler.canHandleAuthentication(response)) {\n authenticationHandler = handler;\n break;\n }\n }\n if (authenticationHandler) {\n return authenticationHandler.handleAuthentication(this, info, data);\n }\n else {\n // We have received an unauthorized response but have no handlers to handle it.\n // Let the response return to the caller.\n return response;\n }\n }\n let redirectsRemaining = this._maxRedirects;\n while (response.message.statusCode &&\n HttpRedirectCodes.includes(response.message.statusCode) &&\n this._allowRedirects &&\n redirectsRemaining > 0) {\n const redirectUrl = response.message.headers['location'];\n if (!redirectUrl) {\n // if there's no location to redirect to, we won't\n break;\n }\n const parsedRedirectUrl = new URL(redirectUrl);\n if (parsedUrl.protocol === 'https:' &&\n parsedUrl.protocol !== parsedRedirectUrl.protocol &&\n !this._allowRedirectDowngrade) {\n 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.');\n }\n // we need to finish reading the response before reassigning response\n // which will leak the open socket.\n yield response.readBody();\n // strip authorization header if redirected to a different hostname\n if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {\n for (const header in headers) {\n // header names are case insensitive\n if (header.toLowerCase() === 'authorization') {\n delete headers[header];\n }\n }\n }\n // let's make the request with the new redirectUrl\n info = this._prepareRequest(verb, parsedRedirectUrl, headers);\n response = yield this.requestRaw(info, data);\n redirectsRemaining--;\n }\n if (!response.message.statusCode ||\n !HttpResponseRetryCodes.includes(response.message.statusCode)) {\n // If not a retry code, return immediately instead of retrying\n return response;\n }\n numTries += 1;\n if (numTries < maxTries) {\n yield response.readBody();\n yield this._performExponentialBackoff(numTries);\n }\n } while (numTries < maxTries);\n return response;\n });\n }\n /**\n * Needs to be called if keepAlive is set to true in request options.\n */\n dispose() {\n if (this._agent) {\n this._agent.destroy();\n }\n this._disposed = true;\n }\n /**\n * Raw request.\n * @param info\n * @param data\n */\n requestRaw(info, data) {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise((resolve, reject) => {\n function callbackForResult(err, res) {\n if (err) {\n reject(err);\n }\n else if (!res) {\n // If `err` is not passed, then `res` must be passed.\n reject(new Error('Unknown error'));\n }\n else {\n resolve(res);\n }\n }\n this.requestRawWithCallback(info, data, callbackForResult);\n });\n });\n }\n /**\n * Raw request with callback.\n * @param info\n * @param data\n * @param onResult\n */\n requestRawWithCallback(info, data, onResult) {\n if (typeof data === 'string') {\n if (!info.options.headers) {\n info.options.headers = {};\n }\n info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8');\n }\n let callbackCalled = false;\n function handleResult(err, res) {\n if (!callbackCalled) {\n callbackCalled = true;\n onResult(err, res);\n }\n }\n const req = info.httpModule.request(info.options, (msg) => {\n const res = new HttpClientResponse(msg);\n handleResult(undefined, res);\n });\n let socket;\n req.on('socket', sock => {\n socket = sock;\n });\n // If we ever get disconnected, we want the socket to timeout eventually\n req.setTimeout(this._socketTimeout || 3 * 60000, () => {\n if (socket) {\n socket.end();\n }\n handleResult(new Error(`Request timeout: ${info.options.path}`));\n });\n req.on('error', function (err) {\n // err has statusCode property\n // res should have headers\n handleResult(err);\n });\n if (data && typeof data === 'string') {\n req.write(data, 'utf8');\n }\n if (data && typeof data !== 'string') {\n data.on('close', function () {\n req.end();\n });\n data.pipe(req);\n }\n else {\n req.end();\n }\n }\n /**\n * Gets an http agent. This function is useful when you need an http agent that handles\n * routing through a proxy server - depending upon the url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\n getAgent(serverUrl) {\n const parsedUrl = new URL(serverUrl);\n return this._getAgent(parsedUrl);\n }\n getAgentDispatcher(serverUrl) {\n const parsedUrl = new URL(serverUrl);\n const proxyUrl = pm.getProxyUrl(parsedUrl);\n const useProxy = proxyUrl && proxyUrl.hostname;\n if (!useProxy) {\n return;\n }\n return this._getProxyAgentDispatcher(parsedUrl, proxyUrl);\n }\n _prepareRequest(method, requestUrl, headers) {\n const info = {};\n info.parsedUrl = requestUrl;\n const usingSsl = info.parsedUrl.protocol === 'https:';\n info.httpModule = usingSsl ? https : http;\n const defaultPort = usingSsl ? 443 : 80;\n info.options = {};\n info.options.host = info.parsedUrl.hostname;\n info.options.port = info.parsedUrl.port\n ? parseInt(info.parsedUrl.port)\n : defaultPort;\n info.options.path =\n (info.parsedUrl.pathname || '') + (info.parsedUrl.search || '');\n info.options.method = method;\n info.options.headers = this._mergeHeaders(headers);\n if (this.userAgent != null) {\n info.options.headers['user-agent'] = this.userAgent;\n }\n info.options.agent = this._getAgent(info.parsedUrl);\n // gives handlers an opportunity to participate\n if (this.handlers) {\n for (const handler of this.handlers) {\n handler.prepareRequest(info.options);\n }\n }\n return info;\n }\n _mergeHeaders(headers) {\n if (this.requestOptions && this.requestOptions.headers) {\n return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers || {}));\n }\n return lowercaseKeys(headers || {});\n }\n _getExistingOrDefaultHeader(additionalHeaders, header, _default) {\n let clientHeader;\n if (this.requestOptions && this.requestOptions.headers) {\n clientHeader = lowercaseKeys(this.requestOptions.headers)[header];\n }\n return additionalHeaders[header] || clientHeader || _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n const proxyUrl = pm.getProxyUrl(parsedUrl);\n const useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) {\n agent = this._proxyAgent;\n }\n if (this._keepAlive && !useProxy) {\n agent = this._agent;\n }\n // if agent is already assigned use that agent.\n if (agent) {\n return agent;\n }\n const usingSsl = parsedUrl.protocol === 'https:';\n let maxSockets = 100;\n if (this.requestOptions) {\n maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets;\n }\n // This is `useProxy` again, but we need to check `proxyURl` directly for TypeScripts's flow analysis.\n if (proxyUrl && proxyUrl.hostname) {\n const agentOptions = {\n maxSockets,\n keepAlive: this._keepAlive,\n proxy: Object.assign(Object.assign({}, ((proxyUrl.username || proxyUrl.password) && {\n proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`\n })), { host: proxyUrl.hostname, port: proxyUrl.port })\n };\n let tunnelAgent;\n const overHttps = proxyUrl.protocol === 'https:';\n if (usingSsl) {\n tunnelAgent = overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp;\n }\n else {\n tunnelAgent = overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp;\n }\n agent = tunnelAgent(agentOptions);\n this._proxyAgent = agent;\n }\n // if reusing agent across request and tunneling agent isn't assigned create a new agent\n if (this._keepAlive && !agent) {\n const options = { keepAlive: this._keepAlive, maxSockets };\n agent = usingSsl ? new https.Agent(options) : new http.Agent(options);\n this._agent = agent;\n }\n // if not using private agent and tunnel agent isn't setup then use global agent\n if (!agent) {\n agent = usingSsl ? https.globalAgent : http.globalAgent;\n }\n if (usingSsl && this._ignoreSslError) {\n // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process\n // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options\n // we have to cast it to any and change it directly\n agent.options = Object.assign(agent.options || {}, {\n rejectUnauthorized: false\n });\n }\n return agent;\n }\n _getProxyAgentDispatcher(parsedUrl, proxyUrl) {\n let proxyAgent;\n if (this._keepAlive) {\n proxyAgent = this._proxyAgentDispatcher;\n }\n // if agent is already assigned use that agent.\n if (proxyAgent) {\n return proxyAgent;\n }\n const usingSsl = parsedUrl.protocol === 'https:';\n proxyAgent = new undici_1.ProxyAgent(Object.assign({ uri: proxyUrl.href, pipelining: !this._keepAlive ? 0 : 1 }, ((proxyUrl.username || proxyUrl.password) && {\n token: `${proxyUrl.username}:${proxyUrl.password}`\n })));\n this._proxyAgentDispatcher = proxyAgent;\n if (usingSsl && this._ignoreSslError) {\n // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process\n // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options\n // we have to cast it to any and change it directly\n proxyAgent.options = Object.assign(proxyAgent.options.requestTls || {}, {\n rejectUnauthorized: false\n });\n }\n return proxyAgent;\n }\n _performExponentialBackoff(retryNumber) {\n return __awaiter(this, void 0, void 0, function* () {\n retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber);\n const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);\n return new Promise(resolve => setTimeout(() => resolve(), ms));\n });\n }\n _processResponse(res, options) {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {\n const statusCode = res.message.statusCode || 0;\n const response = {\n statusCode,\n result: null,\n headers: {}\n };\n // not found leads to null obj returned\n if (statusCode === HttpCodes.NotFound) {\n resolve(response);\n }\n // get the result from the body\n function dateTimeDeserializer(key, value) {\n if (typeof value === 'string') {\n const a = new Date(value);\n if (!isNaN(a.valueOf())) {\n return a;\n }\n }\n return value;\n }\n let obj;\n let contents;\n try {\n contents = yield res.readBody();\n if (contents && contents.length > 0) {\n if (options && options.deserializeDates) {\n obj = JSON.parse(contents, dateTimeDeserializer);\n }\n else {\n obj = JSON.parse(contents);\n }\n response.result = obj;\n }\n response.headers = res.message.headers;\n }\n catch (err) {\n // Invalid resource (contents not json); leaving result obj null\n }\n // note that 3xx redirects are handled by the http layer.\n if (statusCode > 299) {\n let msg;\n // if exception/error in body, attempt to get better error\n if (obj && obj.message) {\n msg = obj.message;\n }\n else if (contents && contents.length > 0) {\n // it may be the case that the exception is in the body message as string\n msg = contents;\n }\n else {\n msg = `Failed request: (${statusCode})`;\n }\n const err = new HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n }\n else {\n resolve(response);\n }\n }));\n });\n }\n}\nexports.HttpClient = HttpClient;\nconst lowercaseKeys = (obj) => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.checkBypass = exports.getProxyUrl = void 0;\nfunction getProxyUrl(reqUrl) {\n const usingSsl = reqUrl.protocol === 'https:';\n if (checkBypass(reqUrl)) {\n return undefined;\n }\n const proxyVar = (() => {\n if (usingSsl) {\n return process.env['https_proxy'] || process.env['HTTPS_PROXY'];\n }\n else {\n return process.env['http_proxy'] || process.env['HTTP_PROXY'];\n }\n })();\n if (proxyVar) {\n try {\n return new URL(proxyVar);\n }\n catch (_a) {\n if (!proxyVar.startsWith('http://') && !proxyVar.startsWith('https://'))\n return new URL(`http://${proxyVar}`);\n }\n }\n else {\n return undefined;\n }\n}\nexports.getProxyUrl = getProxyUrl;\nfunction checkBypass(reqUrl) {\n if (!reqUrl.hostname) {\n return false;\n }\n const reqHost = reqUrl.hostname;\n if (isLoopbackAddress(reqHost)) {\n return true;\n }\n const noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || '';\n if (!noProxy) {\n return false;\n }\n // Determine the request port\n let reqPort;\n if (reqUrl.port) {\n reqPort = Number(reqUrl.port);\n }\n else if (reqUrl.protocol === 'http:') {\n reqPort = 80;\n }\n else if (reqUrl.protocol === 'https:') {\n reqPort = 443;\n }\n // Format the request hostname and hostname with port\n const upperReqHosts = [reqUrl.hostname.toUpperCase()];\n if (typeof reqPort === 'number') {\n upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n }\n // Compare request host against noproxy\n for (const upperNoProxyItem of noProxy\n .split(',')\n .map(x => x.trim().toUpperCase())\n .filter(x => x)) {\n if (upperNoProxyItem === '*' ||\n upperReqHosts.some(x => x === upperNoProxyItem ||\n x.endsWith(`.${upperNoProxyItem}`) ||\n (upperNoProxyItem.startsWith('.') &&\n x.endsWith(`${upperNoProxyItem}`)))) {\n return true;\n }\n }\n return false;\n}\nexports.checkBypass = checkBypass;\nfunction isLoopbackAddress(host) {\n const hostLower = host.toLowerCase();\n return (hostLower === 'localhost' ||\n hostLower.startsWith('127.') ||\n hostLower.startsWith('[::1]') ||\n hostLower.startsWith('[0:0:0:0:0:0:0:1]'));\n}\n//# sourceMappingURL=proxy.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar _a;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getCmdPath = exports.tryGetExecutablePath = exports.isRooted = exports.isDirectory = exports.exists = exports.READONLY = exports.UV_FS_O_EXLOCK = exports.IS_WINDOWS = exports.unlink = exports.symlink = exports.stat = exports.rmdir = exports.rm = exports.rename = exports.readlink = exports.readdir = exports.open = exports.mkdir = exports.lstat = exports.copyFile = exports.chmod = void 0;\nconst fs = __importStar(require(\"fs\"));\nconst path = __importStar(require(\"path\"));\n_a = fs.promises\n// export const {open} = 'fs'\n, exports.chmod = _a.chmod, exports.copyFile = _a.copyFile, exports.lstat = _a.lstat, exports.mkdir = _a.mkdir, exports.open = _a.open, exports.readdir = _a.readdir, exports.readlink = _a.readlink, exports.rename = _a.rename, exports.rm = _a.rm, exports.rmdir = _a.rmdir, exports.stat = _a.stat, exports.symlink = _a.symlink, exports.unlink = _a.unlink;\n// export const {open} = 'fs'\nexports.IS_WINDOWS = process.platform === 'win32';\n// See https://github.com/nodejs/node/blob/d0153aee367422d0858105abec186da4dff0a0c5/deps/uv/include/uv/win.h#L691\nexports.UV_FS_O_EXLOCK = 0x10000000;\nexports.READONLY = fs.constants.O_RDONLY;\nfunction exists(fsPath) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n yield exports.stat(fsPath);\n }\n catch (err) {\n if (err.code === 'ENOENT') {\n return false;\n }\n throw err;\n }\n return true;\n });\n}\nexports.exists = exists;\nfunction isDirectory(fsPath, useStat = false) {\n return __awaiter(this, void 0, void 0, function* () {\n const stats = useStat ? yield exports.stat(fsPath) : yield exports.lstat(fsPath);\n return stats.isDirectory();\n });\n}\nexports.isDirectory = isDirectory;\n/**\n * On OSX/Linux, true if path starts with '/'. On Windows, true for paths like:\n * \\, \\hello, \\\\hello\\share, C:, and C:\\hello (and corresponding alternate separator cases).\n */\nfunction isRooted(p) {\n p = normalizeSeparators(p);\n if (!p) {\n throw new Error('isRooted() parameter \"p\" cannot be empty');\n }\n if (exports.IS_WINDOWS) {\n return (p.startsWith('\\\\') || /^[A-Z]:/i.test(p) // e.g. \\ or \\hello or \\\\hello\n ); // e.g. C: or C:\\hello\n }\n return p.startsWith('/');\n}\nexports.isRooted = isRooted;\n/**\n * Best effort attempt to determine whether a file exists and is executable.\n * @param filePath file path to check\n * @param extensions additional file extensions to try\n * @return if file exists and is executable, returns the file path. otherwise empty string.\n */\nfunction tryGetExecutablePath(filePath, extensions) {\n return __awaiter(this, void 0, void 0, function* () {\n let stats = undefined;\n try {\n // test file exists\n stats = yield exports.stat(filePath);\n }\n catch (err) {\n if (err.code !== 'ENOENT') {\n // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`);\n }\n }\n if (stats && stats.isFile()) {\n if (exports.IS_WINDOWS) {\n // on Windows, test for valid extension\n const upperExt = path.extname(filePath).toUpperCase();\n if (extensions.some(validExt => validExt.toUpperCase() === upperExt)) {\n return filePath;\n }\n }\n else {\n if (isUnixExecutable(stats)) {\n return filePath;\n }\n }\n }\n // try each extension\n const originalFilePath = filePath;\n for (const extension of extensions) {\n filePath = originalFilePath + extension;\n stats = undefined;\n try {\n stats = yield exports.stat(filePath);\n }\n catch (err) {\n if (err.code !== 'ENOENT') {\n // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`);\n }\n }\n if (stats && stats.isFile()) {\n if (exports.IS_WINDOWS) {\n // preserve the case of the actual file (since an extension was appended)\n try {\n const directory = path.dirname(filePath);\n const upperName = path.basename(filePath).toUpperCase();\n for (const actualName of yield exports.readdir(directory)) {\n if (upperName === actualName.toUpperCase()) {\n filePath = path.join(directory, actualName);\n break;\n }\n }\n }\n catch (err) {\n // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine the actual case of the file '${filePath}': ${err}`);\n }\n return filePath;\n }\n else {\n if (isUnixExecutable(stats)) {\n return filePath;\n }\n }\n }\n }\n return '';\n });\n}\nexports.tryGetExecutablePath = tryGetExecutablePath;\nfunction normalizeSeparators(p) {\n p = p || '';\n if (exports.IS_WINDOWS) {\n // convert slashes on Windows\n p = p.replace(/\\//g, '\\\\');\n // remove redundant slashes\n return p.replace(/\\\\\\\\+/g, '\\\\');\n }\n // remove redundant slashes\n return p.replace(/\\/\\/+/g, '/');\n}\n// on Mac/Linux, test the execute bit\n// R W X R W X R W X\n// 256 128 64 32 16 8 4 2 1\nfunction isUnixExecutable(stats) {\n return ((stats.mode & 1) > 0 ||\n ((stats.mode & 8) > 0 && stats.gid === process.getgid()) ||\n ((stats.mode & 64) > 0 && stats.uid === process.getuid()));\n}\n// Get the path of cmd.exe in windows\nfunction getCmdPath() {\n var _a;\n return (_a = process.env['COMSPEC']) !== null && _a !== void 0 ? _a : `cmd.exe`;\n}\nexports.getCmdPath = getCmdPath;\n//# sourceMappingURL=io-util.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.findInPath = exports.which = exports.mkdirP = exports.rmRF = exports.mv = exports.cp = void 0;\nconst assert_1 = require(\"assert\");\nconst path = __importStar(require(\"path\"));\nconst ioUtil = __importStar(require(\"./io-util\"));\n/**\n * Copies a file or folder.\n * Based off of shelljs - https://github.com/shelljs/shelljs/blob/9237f66c52e5daa40458f94f9565e18e8132f5a6/src/cp.js\n *\n * @param source source path\n * @param dest destination path\n * @param options optional. See CopyOptions.\n */\nfunction cp(source, dest, options = {}) {\n return __awaiter(this, void 0, void 0, function* () {\n const { force, recursive, copySourceDirectory } = readCopyOptions(options);\n const destStat = (yield ioUtil.exists(dest)) ? yield ioUtil.stat(dest) : null;\n // Dest is an existing file, but not forcing\n if (destStat && destStat.isFile() && !force) {\n return;\n }\n // If dest is an existing directory, should copy inside.\n const newDest = destStat && destStat.isDirectory() && copySourceDirectory\n ? path.join(dest, path.basename(source))\n : dest;\n if (!(yield ioUtil.exists(source))) {\n throw new Error(`no such file or directory: ${source}`);\n }\n const sourceStat = yield ioUtil.stat(source);\n if (sourceStat.isDirectory()) {\n if (!recursive) {\n throw new Error(`Failed to copy. ${source} is a directory, but tried to copy without recursive flag.`);\n }\n else {\n yield cpDirRecursive(source, newDest, 0, force);\n }\n }\n else {\n if (path.relative(source, newDest) === '') {\n // a file cannot be copied to itself\n throw new Error(`'${newDest}' and '${source}' are the same file`);\n }\n yield copyFile(source, newDest, force);\n }\n });\n}\nexports.cp = cp;\n/**\n * Moves a path.\n *\n * @param source source path\n * @param dest destination path\n * @param options optional. See MoveOptions.\n */\nfunction mv(source, dest, options = {}) {\n return __awaiter(this, void 0, void 0, function* () {\n if (yield ioUtil.exists(dest)) {\n let destExists = true;\n if (yield ioUtil.isDirectory(dest)) {\n // If dest is directory copy src into dest\n dest = path.join(dest, path.basename(source));\n destExists = yield ioUtil.exists(dest);\n }\n if (destExists) {\n if (options.force == null || options.force) {\n yield rmRF(dest);\n }\n else {\n throw new Error('Destination already exists');\n }\n }\n }\n yield mkdirP(path.dirname(dest));\n yield ioUtil.rename(source, dest);\n });\n}\nexports.mv = mv;\n/**\n * Remove a path recursively with force\n *\n * @param inputPath path to remove\n */\nfunction rmRF(inputPath) {\n return __awaiter(this, void 0, void 0, function* () {\n if (ioUtil.IS_WINDOWS) {\n // Check for invalid characters\n // https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file\n if (/[*\"<>|]/.test(inputPath)) {\n throw new Error('File path must not contain `*`, `\"`, `<`, `>` or `|` on Windows');\n }\n }\n try {\n // note if path does not exist, error is silent\n yield ioUtil.rm(inputPath, {\n force: true,\n maxRetries: 3,\n recursive: true,\n retryDelay: 300\n });\n }\n catch (err) {\n throw new Error(`File was unable to be removed ${err}`);\n }\n });\n}\nexports.rmRF = rmRF;\n/**\n * Make a directory. Creates the full path with folders in between\n * Will throw if it fails\n *\n * @param fsPath path to create\n * @returns Promise\n */\nfunction mkdirP(fsPath) {\n return __awaiter(this, void 0, void 0, function* () {\n assert_1.ok(fsPath, 'a path argument must be provided');\n yield ioUtil.mkdir(fsPath, { recursive: true });\n });\n}\nexports.mkdirP = mkdirP;\n/**\n * Returns path of a tool had the tool actually been invoked. Resolves via paths.\n * If you check and the tool does not exist, it will throw.\n *\n * @param tool name of the tool\n * @param check whether to check if tool exists\n * @returns Promise path to tool\n */\nfunction which(tool, check) {\n return __awaiter(this, void 0, void 0, function* () {\n if (!tool) {\n throw new Error(\"parameter 'tool' is required\");\n }\n // recursive when check=true\n if (check) {\n const result = yield which(tool, false);\n if (!result) {\n if (ioUtil.IS_WINDOWS) {\n throw new Error(`Unable to locate executable file: ${tool}. 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.`);\n }\n else {\n throw new Error(`Unable to locate executable file: ${tool}. 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.`);\n }\n }\n return result;\n }\n const matches = yield findInPath(tool);\n if (matches && matches.length > 0) {\n return matches[0];\n }\n return '';\n });\n}\nexports.which = which;\n/**\n * Returns a list of all occurrences of the given tool on the system path.\n *\n * @returns Promise the paths of the tool\n */\nfunction findInPath(tool) {\n return __awaiter(this, void 0, void 0, function* () {\n if (!tool) {\n throw new Error(\"parameter 'tool' is required\");\n }\n // build the list of extensions to try\n const extensions = [];\n if (ioUtil.IS_WINDOWS && process.env['PATHEXT']) {\n for (const extension of process.env['PATHEXT'].split(path.delimiter)) {\n if (extension) {\n extensions.push(extension);\n }\n }\n }\n // if it's rooted, return it if exists. otherwise return empty.\n if (ioUtil.isRooted(tool)) {\n const filePath = yield ioUtil.tryGetExecutablePath(tool, extensions);\n if (filePath) {\n return [filePath];\n }\n return [];\n }\n // if any path separators, return empty\n if (tool.includes(path.sep)) {\n return [];\n }\n // build the list of directories\n //\n // Note, technically \"where\" checks the current directory on Windows. From a toolkit perspective,\n // it feels like we should not do this. Checking the current directory seems like more of a use\n // case of a shell, and the which() function exposed by the toolkit should strive for consistency\n // across platforms.\n const directories = [];\n if (process.env.PATH) {\n for (const p of process.env.PATH.split(path.delimiter)) {\n if (p) {\n directories.push(p);\n }\n }\n }\n // find all matches\n const matches = [];\n for (const directory of directories) {\n const filePath = yield ioUtil.tryGetExecutablePath(path.join(directory, tool), extensions);\n if (filePath) {\n matches.push(filePath);\n }\n }\n return matches;\n });\n}\nexports.findInPath = findInPath;\nfunction readCopyOptions(options) {\n const force = options.force == null ? true : options.force;\n const recursive = Boolean(options.recursive);\n const copySourceDirectory = options.copySourceDirectory == null\n ? true\n : Boolean(options.copySourceDirectory);\n return { force, recursive, copySourceDirectory };\n}\nfunction cpDirRecursive(sourceDir, destDir, currentDepth, force) {\n return __awaiter(this, void 0, void 0, function* () {\n // Ensure there is not a run away recursive copy\n if (currentDepth >= 255)\n return;\n currentDepth++;\n yield mkdirP(destDir);\n const files = yield ioUtil.readdir(sourceDir);\n for (const fileName of files) {\n const srcFile = `${sourceDir}/${fileName}`;\n const destFile = `${destDir}/${fileName}`;\n const srcFileStat = yield ioUtil.lstat(srcFile);\n if (srcFileStat.isDirectory()) {\n // Recurse\n yield cpDirRecursive(srcFile, destFile, currentDepth, force);\n }\n else {\n yield copyFile(srcFile, destFile, force);\n }\n }\n // Change the mode for the newly created directory\n yield ioUtil.chmod(destDir, (yield ioUtil.stat(sourceDir)).mode);\n });\n}\n// Buffered file copy\nfunction copyFile(srcFile, destFile, force) {\n return __awaiter(this, void 0, void 0, function* () {\n if ((yield ioUtil.lstat(srcFile)).isSymbolicLink()) {\n // unlink/re-link it\n try {\n yield ioUtil.lstat(destFile);\n yield ioUtil.unlink(destFile);\n }\n catch (e) {\n // Try to override file permission\n if (e.code === 'EPERM') {\n yield ioUtil.chmod(destFile, '0666');\n yield ioUtil.unlink(destFile);\n }\n // other errors = it doesn't exist, no work to do\n }\n // Copy over symlink\n const symlinkFull = yield ioUtil.readlink(srcFile);\n yield ioUtil.symlink(symlinkFull, destFile, ioUtil.IS_WINDOWS ? 'junction' : null);\n }\n else if (!(yield ioUtil.exists(destFile)) || force) {\n yield ioUtil.copyFile(srcFile, destFile);\n }\n });\n}\n//# sourceMappingURL=io.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.exec = exec;\nexports.getExecOutput = getExecOutput;\nconst string_decoder_1 = require(\"string_decoder\");\nconst tr = __importStar(require(\"./toolrunner\"));\n/**\n * Exec a command.\n * Output will be streamed to the live console.\n * Returns promise with return code\n *\n * @param commandLine command to execute (can include additional args). Must be correctly escaped.\n * @param args optional arguments for tool. Escaping is handled by the lib.\n * @param options optional exec options. See ExecOptions\n * @returns Promise exit code\n */\nfunction exec(commandLine, args, options) {\n return __awaiter(this, void 0, void 0, function* () {\n const commandArgs = tr.argStringToArray(commandLine);\n if (commandArgs.length === 0) {\n throw new Error(`Parameter 'commandLine' cannot be null or empty.`);\n }\n // Path to tool to execute should be first arg\n const toolPath = commandArgs[0];\n args = commandArgs.slice(1).concat(args || []);\n const runner = new tr.ToolRunner(toolPath, args, options);\n return runner.exec();\n });\n}\n/**\n * Exec a command and get the output.\n * Output will be streamed to the live console.\n * Returns promise with the exit code and collected stdout and stderr\n *\n * @param commandLine command to execute (can include additional args). Must be correctly escaped.\n * @param args optional arguments for tool. Escaping is handled by the lib.\n * @param options optional exec options. See ExecOptions\n * @returns Promise exit code, stdout, and stderr\n */\nfunction getExecOutput(commandLine, args, options) {\n return __awaiter(this, void 0, void 0, function* () {\n var _a, _b;\n let stdout = '';\n let stderr = '';\n //Using string decoder covers the case where a mult-byte character is split\n const stdoutDecoder = new string_decoder_1.StringDecoder('utf8');\n const stderrDecoder = new string_decoder_1.StringDecoder('utf8');\n const originalStdoutListener = (_a = options === null || options === void 0 ? void 0 : options.listeners) === null || _a === void 0 ? void 0 : _a.stdout;\n const originalStdErrListener = (_b = options === null || options === void 0 ? void 0 : options.listeners) === null || _b === void 0 ? void 0 : _b.stderr;\n const stdErrListener = (data) => {\n stderr += stderrDecoder.write(data);\n if (originalStdErrListener) {\n originalStdErrListener(data);\n }\n };\n const stdOutListener = (data) => {\n stdout += stdoutDecoder.write(data);\n if (originalStdoutListener) {\n originalStdoutListener(data);\n }\n };\n const listeners = Object.assign(Object.assign({}, options === null || options === void 0 ? void 0 : options.listeners), { stdout: stdOutListener, stderr: stdErrListener });\n const exitCode = yield exec(commandLine, args, Object.assign(Object.assign({}, options), { listeners }));\n //flush any remaining characters\n stdout += stdoutDecoder.end();\n stderr += stderrDecoder.end();\n return {\n exitCode,\n stdout,\n stderr\n };\n });\n}\n//# sourceMappingURL=exec.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ToolRunner = void 0;\nexports.argStringToArray = argStringToArray;\nconst os = __importStar(require(\"os\"));\nconst events = __importStar(require(\"events\"));\nconst child = __importStar(require(\"child_process\"));\nconst path = __importStar(require(\"path\"));\nconst io = __importStar(require(\"@actions/io\"));\nconst ioUtil = __importStar(require(\"@actions/io/lib/io-util\"));\nconst timers_1 = require(\"timers\");\n/* eslint-disable @typescript-eslint/unbound-method */\nconst IS_WINDOWS = process.platform === 'win32';\n/*\n * Class for running command line tools. Handles quoting and arg parsing in a platform agnostic way.\n */\nclass ToolRunner extends events.EventEmitter {\n constructor(toolPath, args, options) {\n super();\n if (!toolPath) {\n throw new Error(\"Parameter 'toolPath' cannot be null or empty.\");\n }\n this.toolPath = toolPath;\n this.args = args || [];\n this.options = options || {};\n }\n _debug(message) {\n if (this.options.listeners && this.options.listeners.debug) {\n this.options.listeners.debug(message);\n }\n }\n _getCommandString(options, noPrefix) {\n const toolPath = this._getSpawnFileName();\n const args = this._getSpawnArgs(options);\n let cmd = noPrefix ? '' : '[command]'; // omit prefix when piped to a second tool\n if (IS_WINDOWS) {\n // Windows + cmd file\n if (this._isCmdFile()) {\n cmd += toolPath;\n for (const a of args) {\n cmd += ` ${a}`;\n }\n }\n // Windows + verbatim\n else if (options.windowsVerbatimArguments) {\n cmd += `\"${toolPath}\"`;\n for (const a of args) {\n cmd += ` ${a}`;\n }\n }\n // Windows (regular)\n else {\n cmd += this._windowsQuoteCmdArg(toolPath);\n for (const a of args) {\n cmd += ` ${this._windowsQuoteCmdArg(a)}`;\n }\n }\n }\n else {\n // OSX/Linux - this can likely be improved with some form of quoting.\n // creating processes on Unix is fundamentally different than Windows.\n // on Unix, execvp() takes an arg array.\n cmd += toolPath;\n for (const a of args) {\n cmd += ` ${a}`;\n }\n }\n return cmd;\n }\n _processLineBuffer(data, strBuffer, onLine) {\n try {\n let s = strBuffer + data.toString();\n let n = s.indexOf(os.EOL);\n while (n > -1) {\n const line = s.substring(0, n);\n onLine(line);\n // the rest of the string ...\n s = s.substring(n + os.EOL.length);\n n = s.indexOf(os.EOL);\n }\n return s;\n }\n catch (err) {\n // streaming lines to console is best effort. Don't fail a build.\n this._debug(`error processing line. Failed with error ${err}`);\n return '';\n }\n }\n _getSpawnFileName() {\n if (IS_WINDOWS) {\n if (this._isCmdFile()) {\n return process.env['COMSPEC'] || 'cmd.exe';\n }\n }\n return this.toolPath;\n }\n _getSpawnArgs(options) {\n if (IS_WINDOWS) {\n if (this._isCmdFile()) {\n let argline = `/D /S /C \"${this._windowsQuoteCmdArg(this.toolPath)}`;\n for (const a of this.args) {\n argline += ' ';\n argline += options.windowsVerbatimArguments\n ? a\n : this._windowsQuoteCmdArg(a);\n }\n argline += '\"';\n return [argline];\n }\n }\n return this.args;\n }\n _endsWith(str, end) {\n return str.endsWith(end);\n }\n _isCmdFile() {\n const upperToolPath = this.toolPath.toUpperCase();\n return (this._endsWith(upperToolPath, '.CMD') ||\n this._endsWith(upperToolPath, '.BAT'));\n }\n _windowsQuoteCmdArg(arg) {\n // for .exe, apply the normal quoting rules that libuv applies\n if (!this._isCmdFile()) {\n return this._uvQuoteCmdArg(arg);\n }\n // otherwise apply quoting rules specific to the cmd.exe command line parser.\n // the libuv rules are generic and are not designed specifically for cmd.exe\n // command line parser.\n //\n // for a detailed description of the cmd.exe command line parser, refer to\n // http://stackoverflow.com/questions/4094699/how-does-the-windows-command-interpreter-cmd-exe-parse-scripts/7970912#7970912\n // need quotes for empty arg\n if (!arg) {\n return '\"\"';\n }\n // determine whether the arg needs to be quoted\n const cmdSpecialChars = [\n ' ',\n '\\t',\n '&',\n '(',\n ')',\n '[',\n ']',\n '{',\n '}',\n '^',\n '=',\n ';',\n '!',\n \"'\",\n '+',\n ',',\n '`',\n '~',\n '|',\n '<',\n '>',\n '\"'\n ];\n let needsQuotes = false;\n for (const char of arg) {\n if (cmdSpecialChars.some(x => x === char)) {\n needsQuotes = true;\n break;\n }\n }\n // short-circuit if quotes not needed\n if (!needsQuotes) {\n return arg;\n }\n // the following quoting rules are very similar to the rules that by libuv applies.\n //\n // 1) wrap the string in quotes\n //\n // 2) double-up quotes - i.e. \" => \"\"\n //\n // this is different from the libuv quoting rules. libuv replaces \" with \\\", which unfortunately\n // doesn't work well with a cmd.exe command line.\n //\n // note, replacing \" with \"\" also works well if the arg is passed to a downstream .NET console app.\n // for example, the command line:\n // foo.exe \"myarg:\"\"my val\"\"\"\n // is parsed by a .NET console app into an arg array:\n // [ \"myarg:\\\"my val\\\"\" ]\n // which is the same end result when applying libuv quoting rules. although the actual\n // command line from libuv quoting rules would look like:\n // foo.exe \"myarg:\\\"my val\\\"\"\n //\n // 3) double-up slashes that precede a quote,\n // e.g. hello \\world => \"hello \\world\"\n // hello\\\"world => \"hello\\\\\"\"world\"\n // hello\\\\\"world => \"hello\\\\\\\\\"\"world\"\n // hello world\\ => \"hello world\\\\\"\n //\n // technically this is not required for a cmd.exe command line, or the batch argument parser.\n // the reasons for including this as a .cmd quoting rule are:\n //\n // a) this is optimized for the scenario where the argument is passed from the .cmd file to an\n // external program. many programs (e.g. .NET console apps) rely on the slash-doubling rule.\n //\n // b) it's what we've been doing previously (by deferring to node default behavior) and we\n // haven't heard any complaints about that aspect.\n //\n // note, a weakness of the quoting rules chosen here, is that % is not escaped. in fact, % cannot be\n // escaped when used on the command line directly - even though within a .cmd file % can be escaped\n // by using %%.\n //\n // the saving grace is, on the command line, %var% is left as-is if var is not defined. this contrasts\n // the line parsing rules within a .cmd file, where if var is not defined it is replaced with nothing.\n //\n // one option that was explored was replacing % with ^% - i.e. %var% => ^%var^%. this hack would\n // often work, since it is unlikely that var^ would exist, and the ^ character is removed when the\n // variable is used. the problem, however, is that ^ is not removed when %* is used to pass the args\n // to an external program.\n //\n // an unexplored potential solution for the % escaping problem, is to create a wrapper .cmd file.\n // % can be escaped within a .cmd file.\n let reverse = '\"';\n let quoteHit = true;\n for (let i = arg.length; i > 0; i--) {\n // walk the string in reverse\n reverse += arg[i - 1];\n if (quoteHit && arg[i - 1] === '\\\\') {\n reverse += '\\\\'; // double the slash\n }\n else if (arg[i - 1] === '\"') {\n quoteHit = true;\n reverse += '\"'; // double the quote\n }\n else {\n quoteHit = false;\n }\n }\n reverse += '\"';\n return reverse.split('').reverse().join('');\n }\n _uvQuoteCmdArg(arg) {\n // Tool runner wraps child_process.spawn() and needs to apply the same quoting as\n // Node in certain cases where the undocumented spawn option windowsVerbatimArguments\n // is used.\n //\n // Since this function is a port of quote_cmd_arg from Node 4.x (technically, lib UV,\n // see https://github.com/nodejs/node/blob/v4.x/deps/uv/src/win/process.c for details),\n // pasting copyright notice from Node within this function:\n //\n // Copyright Joyent, Inc. and other Node contributors. All rights reserved.\n //\n // Permission is hereby granted, free of charge, to any person obtaining a copy\n // of this software and associated documentation files (the \"Software\"), to\n // deal in the Software without restriction, including without limitation the\n // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or\n // sell copies of the Software, and to permit persons to whom the Software is\n // furnished to do so, subject to the following conditions:\n //\n // The above copyright notice and this permission notice shall be included in\n // all copies or substantial portions of the Software.\n //\n // THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\n // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\n // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\n // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\n // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS\n // IN THE SOFTWARE.\n if (!arg) {\n // Need double quotation for empty argument\n return '\"\"';\n }\n if (!arg.includes(' ') && !arg.includes('\\t') && !arg.includes('\"')) {\n // No quotation needed\n return arg;\n }\n if (!arg.includes('\"') && !arg.includes('\\\\')) {\n // No embedded double quotes or backslashes, so I can just wrap\n // quote marks around the whole thing.\n return `\"${arg}\"`;\n }\n // Expected input/output:\n // input : hello\"world\n // output: \"hello\\\"world\"\n // input : hello\"\"world\n // output: \"hello\\\"\\\"world\"\n // input : hello\\world\n // output: hello\\world\n // input : hello\\\\world\n // output: hello\\\\world\n // input : hello\\\"world\n // output: \"hello\\\\\\\"world\"\n // input : hello\\\\\"world\n // output: \"hello\\\\\\\\\\\"world\"\n // input : hello world\\\n // output: \"hello world\\\\\" - note the comment in libuv actually reads \"hello world\\\"\n // but it appears the comment is wrong, it should be \"hello world\\\\\"\n let reverse = '\"';\n let quoteHit = true;\n for (let i = arg.length; i > 0; i--) {\n // walk the string in reverse\n reverse += arg[i - 1];\n if (quoteHit && arg[i - 1] === '\\\\') {\n reverse += '\\\\';\n }\n else if (arg[i - 1] === '\"') {\n quoteHit = true;\n reverse += '\\\\';\n }\n else {\n quoteHit = false;\n }\n }\n reverse += '\"';\n return reverse.split('').reverse().join('');\n }\n _cloneExecOptions(options) {\n options = options || {};\n const result = {\n cwd: options.cwd || process.cwd(),\n env: options.env || process.env,\n silent: options.silent || false,\n windowsVerbatimArguments: options.windowsVerbatimArguments || false,\n failOnStdErr: options.failOnStdErr || false,\n ignoreReturnCode: options.ignoreReturnCode || false,\n delay: options.delay || 10000\n };\n result.outStream = options.outStream || process.stdout;\n result.errStream = options.errStream || process.stderr;\n return result;\n }\n _getSpawnOptions(options, toolPath) {\n options = options || {};\n const result = {};\n result.cwd = options.cwd;\n result.env = options.env;\n result['windowsVerbatimArguments'] =\n options.windowsVerbatimArguments || this._isCmdFile();\n if (options.windowsVerbatimArguments) {\n result.argv0 = `\"${toolPath}\"`;\n }\n return result;\n }\n /**\n * Exec a tool.\n * Output will be streamed to the live console.\n * Returns promise with return code\n *\n * @param tool path to tool to exec\n * @param options optional exec options. See ExecOptions\n * @returns number\n */\n exec() {\n return __awaiter(this, void 0, void 0, function* () {\n // root the tool path if it is unrooted and contains relative pathing\n if (!ioUtil.isRooted(this.toolPath) &&\n (this.toolPath.includes('/') ||\n (IS_WINDOWS && this.toolPath.includes('\\\\')))) {\n // prefer options.cwd if it is specified, however options.cwd may also need to be rooted\n this.toolPath = path.resolve(process.cwd(), this.options.cwd || process.cwd(), this.toolPath);\n }\n // if the tool is only a file name, then resolve it from the PATH\n // otherwise verify it exists (add extension on Windows if necessary)\n this.toolPath = yield io.which(this.toolPath, true);\n return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {\n this._debug(`exec tool: ${this.toolPath}`);\n this._debug('arguments:');\n for (const arg of this.args) {\n this._debug(` ${arg}`);\n }\n const optionsNonNull = this._cloneExecOptions(this.options);\n if (!optionsNonNull.silent && optionsNonNull.outStream) {\n optionsNonNull.outStream.write(this._getCommandString(optionsNonNull) + os.EOL);\n }\n const state = new ExecState(optionsNonNull, this.toolPath);\n state.on('debug', (message) => {\n this._debug(message);\n });\n if (this.options.cwd && !(yield ioUtil.exists(this.options.cwd))) {\n return reject(new Error(`The cwd: ${this.options.cwd} does not exist!`));\n }\n const fileName = this._getSpawnFileName();\n const cp = child.spawn(fileName, this._getSpawnArgs(optionsNonNull), this._getSpawnOptions(this.options, fileName));\n let stdbuffer = '';\n if (cp.stdout) {\n cp.stdout.on('data', (data) => {\n if (this.options.listeners && this.options.listeners.stdout) {\n this.options.listeners.stdout(data);\n }\n if (!optionsNonNull.silent && optionsNonNull.outStream) {\n optionsNonNull.outStream.write(data);\n }\n stdbuffer = this._processLineBuffer(data, stdbuffer, (line) => {\n if (this.options.listeners && this.options.listeners.stdline) {\n this.options.listeners.stdline(line);\n }\n });\n });\n }\n let errbuffer = '';\n if (cp.stderr) {\n cp.stderr.on('data', (data) => {\n state.processStderr = true;\n if (this.options.listeners && this.options.listeners.stderr) {\n this.options.listeners.stderr(data);\n }\n if (!optionsNonNull.silent &&\n optionsNonNull.errStream &&\n optionsNonNull.outStream) {\n const s = optionsNonNull.failOnStdErr\n ? optionsNonNull.errStream\n : optionsNonNull.outStream;\n s.write(data);\n }\n errbuffer = this._processLineBuffer(data, errbuffer, (line) => {\n if (this.options.listeners && this.options.listeners.errline) {\n this.options.listeners.errline(line);\n }\n });\n });\n }\n cp.on('error', (err) => {\n state.processError = err.message;\n state.processExited = true;\n state.processClosed = true;\n state.CheckComplete();\n });\n cp.on('exit', (code) => {\n state.processExitCode = code;\n state.processExited = true;\n this._debug(`Exit code ${code} received from tool '${this.toolPath}'`);\n state.CheckComplete();\n });\n cp.on('close', (code) => {\n state.processExitCode = code;\n state.processExited = true;\n state.processClosed = true;\n this._debug(`STDIO streams have closed for tool '${this.toolPath}'`);\n state.CheckComplete();\n });\n state.on('done', (error, exitCode) => {\n if (stdbuffer.length > 0) {\n this.emit('stdline', stdbuffer);\n }\n if (errbuffer.length > 0) {\n this.emit('errline', errbuffer);\n }\n cp.removeAllListeners();\n if (error) {\n reject(error);\n }\n else {\n resolve(exitCode);\n }\n });\n if (this.options.input) {\n if (!cp.stdin) {\n throw new Error('child process missing stdin');\n }\n cp.stdin.end(this.options.input);\n }\n }));\n });\n }\n}\nexports.ToolRunner = ToolRunner;\n/**\n * Convert an arg string to an array of args. Handles escaping\n *\n * @param argString string of arguments\n * @returns string[] array of arguments\n */\nfunction argStringToArray(argString) {\n const args = [];\n let inQuotes = false;\n let escaped = false;\n let arg = '';\n function append(c) {\n // we only escape double quotes.\n if (escaped && c !== '\"') {\n arg += '\\\\';\n }\n arg += c;\n escaped = false;\n }\n for (let i = 0; i < argString.length; i++) {\n const c = argString.charAt(i);\n if (c === '\"') {\n if (!escaped) {\n inQuotes = !inQuotes;\n }\n else {\n append(c);\n }\n continue;\n }\n if (c === '\\\\' && escaped) {\n append(c);\n continue;\n }\n if (c === '\\\\' && inQuotes) {\n escaped = true;\n continue;\n }\n if (c === ' ' && !inQuotes) {\n if (arg.length > 0) {\n args.push(arg);\n arg = '';\n }\n continue;\n }\n append(c);\n }\n if (arg.length > 0) {\n args.push(arg.trim());\n }\n return args;\n}\nclass ExecState extends events.EventEmitter {\n constructor(options, toolPath) {\n super();\n this.processClosed = false; // tracks whether the process has exited and stdio is closed\n this.processError = '';\n this.processExitCode = 0;\n this.processExited = false; // tracks whether the process has exited\n this.processStderr = false; // tracks whether stderr was written to\n this.delay = 10000; // 10 seconds\n this.done = false;\n this.timeout = null;\n if (!toolPath) {\n throw new Error('toolPath must not be empty');\n }\n this.options = options;\n this.toolPath = toolPath;\n if (options.delay) {\n this.delay = options.delay;\n }\n }\n CheckComplete() {\n if (this.done) {\n return;\n }\n if (this.processClosed) {\n this._setResult();\n }\n else if (this.processExited) {\n this.timeout = (0, timers_1.setTimeout)(ExecState.HandleTimeout, this.delay, this);\n }\n }\n _debug(message) {\n this.emit('debug', message);\n }\n _setResult() {\n // determine whether there is an error\n let error;\n if (this.processExited) {\n if (this.processError) {\n error = 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}`);\n }\n else if (this.processExitCode !== 0 && !this.options.ignoreReturnCode) {\n error = new Error(`The process '${this.toolPath}' failed with exit code ${this.processExitCode}`);\n }\n else if (this.processStderr && this.options.failOnStdErr) {\n error = new Error(`The process '${this.toolPath}' failed because one or more lines were written to the STDERR stream`);\n }\n }\n // clear the timeout\n if (this.timeout) {\n clearTimeout(this.timeout);\n this.timeout = null;\n }\n this.done = true;\n this.emit('done', error, this.processExitCode);\n }\n static HandleTimeout(state) {\n if (state.done) {\n return;\n }\n if (!state.processClosed && state.processExited) {\n const message = `The STDIO streams did not close within ${state.delay / 1000} seconds of the exit event from process '${state.toolPath}'. This may indicate a child process inherited the STDIO streams and has not yet exited.`;\n state._debug(message);\n }\n state._setResult();\n }\n}\n//# sourceMappingURL=toolrunner.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Context = void 0;\nconst fs_1 = require(\"fs\");\nconst os_1 = require(\"os\");\nclass Context {\n /**\n * Hydrate the context from the environment\n */\n constructor() {\n var _a, _b, _c;\n this.payload = {};\n if (process.env.GITHUB_EVENT_PATH) {\n if ((0, fs_1.existsSync)(process.env.GITHUB_EVENT_PATH)) {\n this.payload = JSON.parse((0, fs_1.readFileSync)(process.env.GITHUB_EVENT_PATH, { encoding: 'utf8' }));\n }\n else {\n const path = process.env.GITHUB_EVENT_PATH;\n process.stdout.write(`GITHUB_EVENT_PATH ${path} does not exist${os_1.EOL}`);\n }\n }\n this.eventName = process.env.GITHUB_EVENT_NAME;\n this.sha = process.env.GITHUB_SHA;\n this.ref = process.env.GITHUB_REF;\n this.workflow = process.env.GITHUB_WORKFLOW;\n this.action = process.env.GITHUB_ACTION;\n this.actor = process.env.GITHUB_ACTOR;\n this.job = process.env.GITHUB_JOB;\n this.runAttempt = parseInt(process.env.GITHUB_RUN_ATTEMPT, 10);\n this.runNumber = parseInt(process.env.GITHUB_RUN_NUMBER, 10);\n this.runId = parseInt(process.env.GITHUB_RUN_ID, 10);\n this.apiUrl = (_a = process.env.GITHUB_API_URL) !== null && _a !== void 0 ? _a : `https://api.github.com`;\n this.serverUrl = (_b = process.env.GITHUB_SERVER_URL) !== null && _b !== void 0 ? _b : `https://github.com`;\n this.graphqlUrl =\n (_c = process.env.GITHUB_GRAPHQL_URL) !== null && _c !== void 0 ? _c : `https://api.github.com/graphql`;\n }\n get issue() {\n const payload = this.payload;\n return Object.assign(Object.assign({}, this.repo), { number: (payload.issue || payload.pull_request || payload).number });\n }\n get repo() {\n if (process.env.GITHUB_REPOSITORY) {\n const [owner, repo] = process.env.GITHUB_REPOSITORY.split('/');\n return { owner, repo };\n }\n if (this.payload.repository) {\n return {\n owner: this.payload.repository.owner.login,\n repo: this.payload.repository.name\n };\n }\n throw new Error(\"context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo'\");\n }\n}\nexports.Context = Context;\n//# sourceMappingURL=context.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getOctokit = exports.context = void 0;\nconst Context = __importStar(require(\"./context\"));\nconst utils_1 = require(\"./utils\");\nexports.context = new Context.Context();\n/**\n * Returns a hydrated octokit ready to use for GitHub Actions\n *\n * @param token the repo PAT or GITHUB_TOKEN\n * @param options other options to set\n */\nfunction getOctokit(token, options, ...additionalPlugins) {\n const GitHubWithPlugins = utils_1.GitHub.plugin(...additionalPlugins);\n return new GitHubWithPlugins((0, utils_1.getOctokitOptions)(token, options));\n}\nexports.getOctokit = getOctokit;\n//# sourceMappingURL=github.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getApiBaseUrl = exports.getProxyFetch = exports.getProxyAgentDispatcher = exports.getProxyAgent = exports.getAuthString = void 0;\nconst httpClient = __importStar(require(\"@actions/http-client\"));\nconst undici_1 = require(\"undici\");\nfunction getAuthString(token, options) {\n if (!token && !options.auth) {\n throw new Error('Parameter token or opts.auth is required');\n }\n else if (token && options.auth) {\n throw new Error('Parameters token and opts.auth may not both be specified');\n }\n return typeof options.auth === 'string' ? options.auth : `token ${token}`;\n}\nexports.getAuthString = getAuthString;\nfunction getProxyAgent(destinationUrl) {\n const hc = new httpClient.HttpClient();\n return hc.getAgent(destinationUrl);\n}\nexports.getProxyAgent = getProxyAgent;\nfunction getProxyAgentDispatcher(destinationUrl) {\n const hc = new httpClient.HttpClient();\n return hc.getAgentDispatcher(destinationUrl);\n}\nexports.getProxyAgentDispatcher = getProxyAgentDispatcher;\nfunction getProxyFetch(destinationUrl) {\n const httpDispatcher = getProxyAgentDispatcher(destinationUrl);\n const proxyFetch = (url, opts) => __awaiter(this, void 0, void 0, function* () {\n return (0, undici_1.fetch)(url, Object.assign(Object.assign({}, opts), { dispatcher: httpDispatcher }));\n });\n return proxyFetch;\n}\nexports.getProxyFetch = getProxyFetch;\nfunction getApiBaseUrl() {\n return process.env['GITHUB_API_URL'] || 'https://api.github.com';\n}\nexports.getApiBaseUrl = getApiBaseUrl;\n//# sourceMappingURL=utils.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getOctokitOptions = exports.GitHub = exports.defaults = exports.context = void 0;\nconst Context = __importStar(require(\"./context\"));\nconst Utils = __importStar(require(\"./internal/utils\"));\n// octokit + plugins\nconst core_1 = require(\"@octokit/core\");\nconst plugin_rest_endpoint_methods_1 = require(\"@octokit/plugin-rest-endpoint-methods\");\nconst plugin_paginate_rest_1 = require(\"@octokit/plugin-paginate-rest\");\nexports.context = new Context.Context();\nconst baseUrl = Utils.getApiBaseUrl();\nexports.defaults = {\n baseUrl,\n request: {\n agent: Utils.getProxyAgent(baseUrl),\n fetch: Utils.getProxyFetch(baseUrl)\n }\n};\nexports.GitHub = core_1.Octokit.plugin(plugin_rest_endpoint_methods_1.restEndpointMethods, plugin_paginate_rest_1.paginateRest).defaults(exports.defaults);\n/**\n * Convience function to correctly format Octokit Options to pass into the constructor.\n *\n * @param token the repo PAT or GITHUB_TOKEN\n * @param options other options to set\n */\nfunction getOctokitOptions(token, options) {\n const opts = Object.assign({}, options || {}); // Shallow clone - don't mutate the object provided by the caller\n // Auth\n const auth = Utils.getAuthString(token, opts);\n if (auth) {\n opts.auth = auth;\n }\n return opts;\n}\nexports.getOctokitOptions = getOctokitOptions;\n//# sourceMappingURL=utils.js.map","\"use strict\";\n/* eslint-disable @typescript-eslint/no-explicit-any */\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n};\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HttpClient = exports.isHttps = exports.HttpClientResponse = exports.HttpClientError = exports.getProxyUrl = exports.MediaTypes = exports.Headers = exports.HttpCodes = void 0;\nconst http = __importStar(require(\"http\"));\nconst https = __importStar(require(\"https\"));\nconst pm = __importStar(require(\"./proxy\"));\nconst tunnel = __importStar(require(\"tunnel\"));\nconst undici_1 = require(\"undici\");\nvar HttpCodes;\n(function (HttpCodes) {\n HttpCodes[HttpCodes[\"OK\"] = 200] = \"OK\";\n HttpCodes[HttpCodes[\"MultipleChoices\"] = 300] = \"MultipleChoices\";\n HttpCodes[HttpCodes[\"MovedPermanently\"] = 301] = \"MovedPermanently\";\n HttpCodes[HttpCodes[\"ResourceMoved\"] = 302] = \"ResourceMoved\";\n HttpCodes[HttpCodes[\"SeeOther\"] = 303] = \"SeeOther\";\n HttpCodes[HttpCodes[\"NotModified\"] = 304] = \"NotModified\";\n HttpCodes[HttpCodes[\"UseProxy\"] = 305] = \"UseProxy\";\n HttpCodes[HttpCodes[\"SwitchProxy\"] = 306] = \"SwitchProxy\";\n HttpCodes[HttpCodes[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n HttpCodes[HttpCodes[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n HttpCodes[HttpCodes[\"BadRequest\"] = 400] = \"BadRequest\";\n HttpCodes[HttpCodes[\"Unauthorized\"] = 401] = \"Unauthorized\";\n HttpCodes[HttpCodes[\"PaymentRequired\"] = 402] = \"PaymentRequired\";\n HttpCodes[HttpCodes[\"Forbidden\"] = 403] = \"Forbidden\";\n HttpCodes[HttpCodes[\"NotFound\"] = 404] = \"NotFound\";\n HttpCodes[HttpCodes[\"MethodNotAllowed\"] = 405] = \"MethodNotAllowed\";\n HttpCodes[HttpCodes[\"NotAcceptable\"] = 406] = \"NotAcceptable\";\n HttpCodes[HttpCodes[\"ProxyAuthenticationRequired\"] = 407] = \"ProxyAuthenticationRequired\";\n HttpCodes[HttpCodes[\"RequestTimeout\"] = 408] = \"RequestTimeout\";\n HttpCodes[HttpCodes[\"Conflict\"] = 409] = \"Conflict\";\n HttpCodes[HttpCodes[\"Gone\"] = 410] = \"Gone\";\n HttpCodes[HttpCodes[\"TooManyRequests\"] = 429] = \"TooManyRequests\";\n HttpCodes[HttpCodes[\"InternalServerError\"] = 500] = \"InternalServerError\";\n HttpCodes[HttpCodes[\"NotImplemented\"] = 501] = \"NotImplemented\";\n HttpCodes[HttpCodes[\"BadGateway\"] = 502] = \"BadGateway\";\n HttpCodes[HttpCodes[\"ServiceUnavailable\"] = 503] = \"ServiceUnavailable\";\n HttpCodes[HttpCodes[\"GatewayTimeout\"] = 504] = \"GatewayTimeout\";\n})(HttpCodes || (exports.HttpCodes = HttpCodes = {}));\nvar Headers;\n(function (Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})(Headers || (exports.Headers = Headers = {}));\nvar MediaTypes;\n(function (MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})(MediaTypes || (exports.MediaTypes = MediaTypes = {}));\n/**\n * Returns the proxy URL, depending upon the supplied url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\nfunction getProxyUrl(serverUrl) {\n const proxyUrl = pm.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : '';\n}\nexports.getProxyUrl = getProxyUrl;\nconst HttpRedirectCodes = [\n HttpCodes.MovedPermanently,\n HttpCodes.ResourceMoved,\n HttpCodes.SeeOther,\n HttpCodes.TemporaryRedirect,\n HttpCodes.PermanentRedirect\n];\nconst HttpResponseRetryCodes = [\n HttpCodes.BadGateway,\n HttpCodes.ServiceUnavailable,\n HttpCodes.GatewayTimeout\n];\nconst RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD'];\nconst ExponentialBackoffCeiling = 10;\nconst ExponentialBackoffTimeSlice = 5;\nclass HttpClientError extends Error {\n constructor(message, statusCode) {\n super(message);\n this.name = 'HttpClientError';\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, HttpClientError.prototype);\n }\n}\nexports.HttpClientError = HttpClientError;\nclass HttpClientResponse {\n constructor(message) {\n this.message = message;\n }\n readBody() {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise((resolve) => __awaiter(this, void 0, void 0, function* () {\n let output = Buffer.alloc(0);\n this.message.on('data', (chunk) => {\n output = Buffer.concat([output, chunk]);\n });\n this.message.on('end', () => {\n resolve(output.toString());\n });\n }));\n });\n }\n readBodyBuffer() {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise((resolve) => __awaiter(this, void 0, void 0, function* () {\n const chunks = [];\n this.message.on('data', (chunk) => {\n chunks.push(chunk);\n });\n this.message.on('end', () => {\n resolve(Buffer.concat(chunks));\n });\n }));\n });\n }\n}\nexports.HttpClientResponse = HttpClientResponse;\nfunction isHttps(requestUrl) {\n const parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === 'https:';\n}\nexports.isHttps = isHttps;\nclass HttpClient {\n constructor(userAgent, handlers, requestOptions) {\n this._ignoreSslError = false;\n this._allowRedirects = true;\n this._allowRedirectDowngrade = false;\n this._maxRedirects = 50;\n this._allowRetries = false;\n this._maxRetries = 1;\n this._keepAlive = false;\n this._disposed = false;\n this.userAgent = userAgent;\n this.handlers = handlers || [];\n this.requestOptions = requestOptions;\n if (requestOptions) {\n if (requestOptions.ignoreSslError != null) {\n this._ignoreSslError = requestOptions.ignoreSslError;\n }\n this._socketTimeout = requestOptions.socketTimeout;\n if (requestOptions.allowRedirects != null) {\n this._allowRedirects = requestOptions.allowRedirects;\n }\n if (requestOptions.allowRedirectDowngrade != null) {\n this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;\n }\n if (requestOptions.maxRedirects != null) {\n this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);\n }\n if (requestOptions.keepAlive != null) {\n this._keepAlive = requestOptions.keepAlive;\n }\n if (requestOptions.allowRetries != null) {\n this._allowRetries = requestOptions.allowRetries;\n }\n if (requestOptions.maxRetries != null) {\n this._maxRetries = requestOptions.maxRetries;\n }\n }\n }\n options(requestUrl, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('OPTIONS', requestUrl, null, additionalHeaders || {});\n });\n }\n get(requestUrl, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('GET', requestUrl, null, additionalHeaders || {});\n });\n }\n del(requestUrl, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('DELETE', requestUrl, null, additionalHeaders || {});\n });\n }\n post(requestUrl, data, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('POST', requestUrl, data, additionalHeaders || {});\n });\n }\n patch(requestUrl, data, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('PATCH', requestUrl, data, additionalHeaders || {});\n });\n }\n put(requestUrl, data, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('PUT', requestUrl, data, additionalHeaders || {});\n });\n }\n head(requestUrl, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('HEAD', requestUrl, null, additionalHeaders || {});\n });\n }\n sendStream(verb, requestUrl, stream, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request(verb, requestUrl, stream, additionalHeaders);\n });\n }\n /**\n * Gets a typed object from an endpoint\n * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise\n */\n getJson(requestUrl, additionalHeaders = {}) {\n return __awaiter(this, void 0, void 0, function* () {\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n const res = yield this.get(requestUrl, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n postJson(requestUrl, obj, additionalHeaders = {}) {\n return __awaiter(this, void 0, void 0, function* () {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n const res = yield this.post(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n putJson(requestUrl, obj, additionalHeaders = {}) {\n return __awaiter(this, void 0, void 0, function* () {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n const res = yield this.put(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n patchJson(requestUrl, obj, additionalHeaders = {}) {\n return __awaiter(this, void 0, void 0, function* () {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.ContentType, MediaTypes.ApplicationJson);\n const res = yield this.patch(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n /**\n * Makes a raw http request.\n * All other methods such as get, post, patch, and request ultimately call this.\n * Prefer get, del, post and patch\n */\n request(verb, requestUrl, data, headers) {\n return __awaiter(this, void 0, void 0, function* () {\n if (this._disposed) {\n throw new Error('Client has already been disposed.');\n }\n const parsedUrl = new URL(requestUrl);\n let info = this._prepareRequest(verb, parsedUrl, headers);\n // Only perform retries on reads since writes may not be idempotent.\n const maxTries = this._allowRetries && RetryableHttpVerbs.includes(verb)\n ? this._maxRetries + 1\n : 1;\n let numTries = 0;\n let response;\n do {\n response = yield this.requestRaw(info, data);\n // Check if it's an authentication challenge\n if (response &&\n response.message &&\n response.message.statusCode === HttpCodes.Unauthorized) {\n let authenticationHandler;\n for (const handler of this.handlers) {\n if (handler.canHandleAuthentication(response)) {\n authenticationHandler = handler;\n break;\n }\n }\n if (authenticationHandler) {\n return authenticationHandler.handleAuthentication(this, info, data);\n }\n else {\n // We have received an unauthorized response but have no handlers to handle it.\n // Let the response return to the caller.\n return response;\n }\n }\n let redirectsRemaining = this._maxRedirects;\n while (response.message.statusCode &&\n HttpRedirectCodes.includes(response.message.statusCode) &&\n this._allowRedirects &&\n redirectsRemaining > 0) {\n const redirectUrl = response.message.headers['location'];\n if (!redirectUrl) {\n // if there's no location to redirect to, we won't\n break;\n }\n const parsedRedirectUrl = new URL(redirectUrl);\n if (parsedUrl.protocol === 'https:' &&\n parsedUrl.protocol !== parsedRedirectUrl.protocol &&\n !this._allowRedirectDowngrade) {\n 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.');\n }\n // we need to finish reading the response before reassigning response\n // which will leak the open socket.\n yield response.readBody();\n // strip authorization header if redirected to a different hostname\n if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {\n for (const header in headers) {\n // header names are case insensitive\n if (header.toLowerCase() === 'authorization') {\n delete headers[header];\n }\n }\n }\n // let's make the request with the new redirectUrl\n info = this._prepareRequest(verb, parsedRedirectUrl, headers);\n response = yield this.requestRaw(info, data);\n redirectsRemaining--;\n }\n if (!response.message.statusCode ||\n !HttpResponseRetryCodes.includes(response.message.statusCode)) {\n // If not a retry code, return immediately instead of retrying\n return response;\n }\n numTries += 1;\n if (numTries < maxTries) {\n yield response.readBody();\n yield this._performExponentialBackoff(numTries);\n }\n } while (numTries < maxTries);\n return response;\n });\n }\n /**\n * Needs to be called if keepAlive is set to true in request options.\n */\n dispose() {\n if (this._agent) {\n this._agent.destroy();\n }\n this._disposed = true;\n }\n /**\n * Raw request.\n * @param info\n * @param data\n */\n requestRaw(info, data) {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise((resolve, reject) => {\n function callbackForResult(err, res) {\n if (err) {\n reject(err);\n }\n else if (!res) {\n // If `err` is not passed, then `res` must be passed.\n reject(new Error('Unknown error'));\n }\n else {\n resolve(res);\n }\n }\n this.requestRawWithCallback(info, data, callbackForResult);\n });\n });\n }\n /**\n * Raw request with callback.\n * @param info\n * @param data\n * @param onResult\n */\n requestRawWithCallback(info, data, onResult) {\n if (typeof data === 'string') {\n if (!info.options.headers) {\n info.options.headers = {};\n }\n info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8');\n }\n let callbackCalled = false;\n function handleResult(err, res) {\n if (!callbackCalled) {\n callbackCalled = true;\n onResult(err, res);\n }\n }\n const req = info.httpModule.request(info.options, (msg) => {\n const res = new HttpClientResponse(msg);\n handleResult(undefined, res);\n });\n let socket;\n req.on('socket', sock => {\n socket = sock;\n });\n // If we ever get disconnected, we want the socket to timeout eventually\n req.setTimeout(this._socketTimeout || 3 * 60000, () => {\n if (socket) {\n socket.end();\n }\n handleResult(new Error(`Request timeout: ${info.options.path}`));\n });\n req.on('error', function (err) {\n // err has statusCode property\n // res should have headers\n handleResult(err);\n });\n if (data && typeof data === 'string') {\n req.write(data, 'utf8');\n }\n if (data && typeof data !== 'string') {\n data.on('close', function () {\n req.end();\n });\n data.pipe(req);\n }\n else {\n req.end();\n }\n }\n /**\n * Gets an http agent. This function is useful when you need an http agent that handles\n * routing through a proxy server - depending upon the url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\n getAgent(serverUrl) {\n const parsedUrl = new URL(serverUrl);\n return this._getAgent(parsedUrl);\n }\n getAgentDispatcher(serverUrl) {\n const parsedUrl = new URL(serverUrl);\n const proxyUrl = pm.getProxyUrl(parsedUrl);\n const useProxy = proxyUrl && proxyUrl.hostname;\n if (!useProxy) {\n return;\n }\n return this._getProxyAgentDispatcher(parsedUrl, proxyUrl);\n }\n _prepareRequest(method, requestUrl, headers) {\n const info = {};\n info.parsedUrl = requestUrl;\n const usingSsl = info.parsedUrl.protocol === 'https:';\n info.httpModule = usingSsl ? https : http;\n const defaultPort = usingSsl ? 443 : 80;\n info.options = {};\n info.options.host = info.parsedUrl.hostname;\n info.options.port = info.parsedUrl.port\n ? parseInt(info.parsedUrl.port)\n : defaultPort;\n info.options.path =\n (info.parsedUrl.pathname || '') + (info.parsedUrl.search || '');\n info.options.method = method;\n info.options.headers = this._mergeHeaders(headers);\n if (this.userAgent != null) {\n info.options.headers['user-agent'] = this.userAgent;\n }\n info.options.agent = this._getAgent(info.parsedUrl);\n // gives handlers an opportunity to participate\n if (this.handlers) {\n for (const handler of this.handlers) {\n handler.prepareRequest(info.options);\n }\n }\n return info;\n }\n _mergeHeaders(headers) {\n if (this.requestOptions && this.requestOptions.headers) {\n return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers || {}));\n }\n return lowercaseKeys(headers || {});\n }\n _getExistingOrDefaultHeader(additionalHeaders, header, _default) {\n let clientHeader;\n if (this.requestOptions && this.requestOptions.headers) {\n clientHeader = lowercaseKeys(this.requestOptions.headers)[header];\n }\n return additionalHeaders[header] || clientHeader || _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n const proxyUrl = pm.getProxyUrl(parsedUrl);\n const useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) {\n agent = this._proxyAgent;\n }\n if (this._keepAlive && !useProxy) {\n agent = this._agent;\n }\n // if agent is already assigned use that agent.\n if (agent) {\n return agent;\n }\n const usingSsl = parsedUrl.protocol === 'https:';\n let maxSockets = 100;\n if (this.requestOptions) {\n maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets;\n }\n // This is `useProxy` again, but we need to check `proxyURl` directly for TypeScripts's flow analysis.\n if (proxyUrl && proxyUrl.hostname) {\n const agentOptions = {\n maxSockets,\n keepAlive: this._keepAlive,\n proxy: Object.assign(Object.assign({}, ((proxyUrl.username || proxyUrl.password) && {\n proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`\n })), { host: proxyUrl.hostname, port: proxyUrl.port })\n };\n let tunnelAgent;\n const overHttps = proxyUrl.protocol === 'https:';\n if (usingSsl) {\n tunnelAgent = overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp;\n }\n else {\n tunnelAgent = overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp;\n }\n agent = tunnelAgent(agentOptions);\n this._proxyAgent = agent;\n }\n // if reusing agent across request and tunneling agent isn't assigned create a new agent\n if (this._keepAlive && !agent) {\n const options = { keepAlive: this._keepAlive, maxSockets };\n agent = usingSsl ? new https.Agent(options) : new http.Agent(options);\n this._agent = agent;\n }\n // if not using private agent and tunnel agent isn't setup then use global agent\n if (!agent) {\n agent = usingSsl ? https.globalAgent : http.globalAgent;\n }\n if (usingSsl && this._ignoreSslError) {\n // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process\n // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options\n // we have to cast it to any and change it directly\n agent.options = Object.assign(agent.options || {}, {\n rejectUnauthorized: false\n });\n }\n return agent;\n }\n _getProxyAgentDispatcher(parsedUrl, proxyUrl) {\n let proxyAgent;\n if (this._keepAlive) {\n proxyAgent = this._proxyAgentDispatcher;\n }\n // if agent is already assigned use that agent.\n if (proxyAgent) {\n return proxyAgent;\n }\n const usingSsl = parsedUrl.protocol === 'https:';\n proxyAgent = new undici_1.ProxyAgent(Object.assign({ uri: proxyUrl.href, pipelining: !this._keepAlive ? 0 : 1 }, ((proxyUrl.username || proxyUrl.password) && {\n token: `${proxyUrl.username}:${proxyUrl.password}`\n })));\n this._proxyAgentDispatcher = proxyAgent;\n if (usingSsl && this._ignoreSslError) {\n // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process\n // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options\n // we have to cast it to any and change it directly\n proxyAgent.options = Object.assign(proxyAgent.options.requestTls || {}, {\n rejectUnauthorized: false\n });\n }\n return proxyAgent;\n }\n _performExponentialBackoff(retryNumber) {\n return __awaiter(this, void 0, void 0, function* () {\n retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber);\n const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);\n return new Promise(resolve => setTimeout(() => resolve(), ms));\n });\n }\n _processResponse(res, options) {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {\n const statusCode = res.message.statusCode || 0;\n const response = {\n statusCode,\n result: null,\n headers: {}\n };\n // not found leads to null obj returned\n if (statusCode === HttpCodes.NotFound) {\n resolve(response);\n }\n // get the result from the body\n function dateTimeDeserializer(key, value) {\n if (typeof value === 'string') {\n const a = new Date(value);\n if (!isNaN(a.valueOf())) {\n return a;\n }\n }\n return value;\n }\n let obj;\n let contents;\n try {\n contents = yield res.readBody();\n if (contents && contents.length > 0) {\n if (options && options.deserializeDates) {\n obj = JSON.parse(contents, dateTimeDeserializer);\n }\n else {\n obj = JSON.parse(contents);\n }\n response.result = obj;\n }\n response.headers = res.message.headers;\n }\n catch (err) {\n // Invalid resource (contents not json); leaving result obj null\n }\n // note that 3xx redirects are handled by the http layer.\n if (statusCode > 299) {\n let msg;\n // if exception/error in body, attempt to get better error\n if (obj && obj.message) {\n msg = obj.message;\n }\n else if (contents && contents.length > 0) {\n // it may be the case that the exception is in the body message as string\n msg = contents;\n }\n else {\n msg = `Failed request: (${statusCode})`;\n }\n const err = new HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n }\n else {\n resolve(response);\n }\n }));\n });\n }\n}\nexports.HttpClient = HttpClient;\nconst lowercaseKeys = (obj) => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.checkBypass = exports.getProxyUrl = void 0;\nfunction getProxyUrl(reqUrl) {\n const usingSsl = reqUrl.protocol === 'https:';\n if (checkBypass(reqUrl)) {\n return undefined;\n }\n const proxyVar = (() => {\n if (usingSsl) {\n return process.env['https_proxy'] || process.env['HTTPS_PROXY'];\n }\n else {\n return process.env['http_proxy'] || process.env['HTTP_PROXY'];\n }\n })();\n if (proxyVar) {\n try {\n return new URL(proxyVar);\n }\n catch (_a) {\n if (!proxyVar.startsWith('http://') && !proxyVar.startsWith('https://'))\n return new URL(`http://${proxyVar}`);\n }\n }\n else {\n return undefined;\n }\n}\nexports.getProxyUrl = getProxyUrl;\nfunction checkBypass(reqUrl) {\n if (!reqUrl.hostname) {\n return false;\n }\n const reqHost = reqUrl.hostname;\n if (isLoopbackAddress(reqHost)) {\n return true;\n }\n const noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || '';\n if (!noProxy) {\n return false;\n }\n // Determine the request port\n let reqPort;\n if (reqUrl.port) {\n reqPort = Number(reqUrl.port);\n }\n else if (reqUrl.protocol === 'http:') {\n reqPort = 80;\n }\n else if (reqUrl.protocol === 'https:') {\n reqPort = 443;\n }\n // Format the request hostname and hostname with port\n const upperReqHosts = [reqUrl.hostname.toUpperCase()];\n if (typeof reqPort === 'number') {\n upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n }\n // Compare request host against noproxy\n for (const upperNoProxyItem of noProxy\n .split(',')\n .map(x => x.trim().toUpperCase())\n .filter(x => x)) {\n if (upperNoProxyItem === '*' ||\n upperReqHosts.some(x => x === upperNoProxyItem ||\n x.endsWith(`.${upperNoProxyItem}`) ||\n (upperNoProxyItem.startsWith('.') &&\n x.endsWith(`${upperNoProxyItem}`)))) {\n return true;\n }\n }\n return false;\n}\nexports.checkBypass = checkBypass;\nfunction isLoopbackAddress(host) {\n const hostLower = host.toLowerCase();\n return (hostLower === 'localhost' ||\n hostLower.startsWith('127.') ||\n hostLower.startsWith('[::1]') ||\n hostLower.startsWith('[0:0:0:0:0:0:0:1]'));\n}\n//# sourceMappingURL=proxy.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.create = create;\nexports.hashFiles = hashFiles;\nconst internal_globber_1 = require(\"./internal-globber\");\nconst internal_hash_files_1 = require(\"./internal-hash-files\");\n/**\n * Constructs a globber\n *\n * @param patterns Patterns separated by newlines\n * @param options Glob options\n */\nfunction create(patterns, options) {\n return __awaiter(this, void 0, void 0, function* () {\n return yield internal_globber_1.DefaultGlobber.create(patterns, options);\n });\n}\n/**\n * Computes the sha256 hash of a glob\n *\n * @param patterns Patterns separated by newlines\n * @param currentWorkspace Workspace used when matching files\n * @param options Glob options\n * @param verbose Enables verbose logging\n */\nfunction hashFiles(patterns_1) {\n return __awaiter(this, arguments, void 0, function* (patterns, currentWorkspace = '', options, verbose = false) {\n let followSymbolicLinks = true;\n if (options && typeof options.followSymbolicLinks === 'boolean') {\n followSymbolicLinks = options.followSymbolicLinks;\n }\n const globber = yield create(patterns, { followSymbolicLinks });\n return (0, internal_hash_files_1.hashFiles)(globber, currentWorkspace, verbose);\n });\n}\n//# sourceMappingURL=glob.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getOptions = getOptions;\nconst core = __importStar(require(\"@actions/core\"));\n/**\n * Returns a copy with defaults filled in.\n */\nfunction getOptions(copy) {\n const result = {\n followSymbolicLinks: true,\n implicitDescendants: true,\n matchDirectories: true,\n omitBrokenSymbolicLinks: true,\n excludeHiddenFiles: false\n };\n if (copy) {\n if (typeof copy.followSymbolicLinks === 'boolean') {\n result.followSymbolicLinks = copy.followSymbolicLinks;\n core.debug(`followSymbolicLinks '${result.followSymbolicLinks}'`);\n }\n if (typeof copy.implicitDescendants === 'boolean') {\n result.implicitDescendants = copy.implicitDescendants;\n core.debug(`implicitDescendants '${result.implicitDescendants}'`);\n }\n if (typeof copy.matchDirectories === 'boolean') {\n result.matchDirectories = copy.matchDirectories;\n core.debug(`matchDirectories '${result.matchDirectories}'`);\n }\n if (typeof copy.omitBrokenSymbolicLinks === 'boolean') {\n result.omitBrokenSymbolicLinks = copy.omitBrokenSymbolicLinks;\n core.debug(`omitBrokenSymbolicLinks '${result.omitBrokenSymbolicLinks}'`);\n }\n if (typeof copy.excludeHiddenFiles === 'boolean') {\n result.excludeHiddenFiles = copy.excludeHiddenFiles;\n core.debug(`excludeHiddenFiles '${result.excludeHiddenFiles}'`);\n }\n }\n return result;\n}\n//# sourceMappingURL=internal-glob-options-helper.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __asyncValues = (this && this.__asyncValues) || function (o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n};\nvar __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }\nvar __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DefaultGlobber = void 0;\nconst core = __importStar(require(\"@actions/core\"));\nconst fs = __importStar(require(\"fs\"));\nconst globOptionsHelper = __importStar(require(\"./internal-glob-options-helper\"));\nconst path = __importStar(require(\"path\"));\nconst patternHelper = __importStar(require(\"./internal-pattern-helper\"));\nconst internal_match_kind_1 = require(\"./internal-match-kind\");\nconst internal_pattern_1 = require(\"./internal-pattern\");\nconst internal_search_state_1 = require(\"./internal-search-state\");\nconst IS_WINDOWS = process.platform === 'win32';\nclass DefaultGlobber {\n constructor(options) {\n this.patterns = [];\n this.searchPaths = [];\n this.options = globOptionsHelper.getOptions(options);\n }\n getSearchPaths() {\n // Return a copy\n return this.searchPaths.slice();\n }\n glob() {\n return __awaiter(this, void 0, void 0, function* () {\n var _a, e_1, _b, _c;\n const result = [];\n try {\n for (var _d = true, _e = __asyncValues(this.globGenerator()), _f; _f = yield _e.next(), _a = _f.done, !_a; _d = true) {\n _c = _f.value;\n _d = false;\n const itemPath = _c;\n result.push(itemPath);\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (!_d && !_a && (_b = _e.return)) yield _b.call(_e);\n }\n finally { if (e_1) throw e_1.error; }\n }\n return result;\n });\n }\n globGenerator() {\n return __asyncGenerator(this, arguments, function* globGenerator_1() {\n // Fill in defaults options\n const options = globOptionsHelper.getOptions(this.options);\n // Implicit descendants?\n const patterns = [];\n for (const pattern of this.patterns) {\n patterns.push(pattern);\n if (options.implicitDescendants &&\n (pattern.trailingSeparator ||\n pattern.segments[pattern.segments.length - 1] !== '**')) {\n patterns.push(new internal_pattern_1.Pattern(pattern.negate, true, pattern.segments.concat('**')));\n }\n }\n // Push the search paths\n const stack = [];\n for (const searchPath of patternHelper.getSearchPaths(patterns)) {\n core.debug(`Search path '${searchPath}'`);\n // Exists?\n try {\n // Intentionally using lstat. Detection for broken symlink\n // will be performed later (if following symlinks).\n yield __await(fs.promises.lstat(searchPath));\n }\n catch (err) {\n if (err.code === 'ENOENT') {\n continue;\n }\n throw err;\n }\n stack.unshift(new internal_search_state_1.SearchState(searchPath, 1));\n }\n // Search\n const traversalChain = []; // used to detect cycles\n while (stack.length) {\n // Pop\n const item = stack.pop();\n // Match?\n const match = patternHelper.match(patterns, item.path);\n const partialMatch = !!match || patternHelper.partialMatch(patterns, item.path);\n if (!match && !partialMatch) {\n continue;\n }\n // Stat\n const stats = yield __await(DefaultGlobber.stat(item, options, traversalChain)\n // Broken symlink, or symlink cycle detected, or no longer exists\n );\n // Broken symlink, or symlink cycle detected, or no longer exists\n if (!stats) {\n continue;\n }\n // Hidden file or directory?\n if (options.excludeHiddenFiles && path.basename(item.path).match(/^\\./)) {\n continue;\n }\n // Directory\n if (stats.isDirectory()) {\n // Matched\n if (match & internal_match_kind_1.MatchKind.Directory && options.matchDirectories) {\n yield yield __await(item.path);\n }\n // Descend?\n else if (!partialMatch) {\n continue;\n }\n // Push the child items in reverse\n const childLevel = item.level + 1;\n const childItems = (yield __await(fs.promises.readdir(item.path))).map(x => new internal_search_state_1.SearchState(path.join(item.path, x), childLevel));\n stack.push(...childItems.reverse());\n }\n // File\n else if (match & internal_match_kind_1.MatchKind.File) {\n yield yield __await(item.path);\n }\n }\n });\n }\n /**\n * Constructs a DefaultGlobber\n */\n static create(patterns, options) {\n return __awaiter(this, void 0, void 0, function* () {\n const result = new DefaultGlobber(options);\n if (IS_WINDOWS) {\n patterns = patterns.replace(/\\r\\n/g, '\\n');\n patterns = patterns.replace(/\\r/g, '\\n');\n }\n const lines = patterns.split('\\n').map(x => x.trim());\n for (const line of lines) {\n // Empty or comment\n if (!line || line.startsWith('#')) {\n continue;\n }\n // Pattern\n else {\n result.patterns.push(new internal_pattern_1.Pattern(line));\n }\n }\n result.searchPaths.push(...patternHelper.getSearchPaths(result.patterns));\n return result;\n });\n }\n static stat(item, options, traversalChain) {\n return __awaiter(this, void 0, void 0, function* () {\n // Note:\n // `stat` returns info about the target of a symlink (or symlink chain)\n // `lstat` returns info about a symlink itself\n let stats;\n if (options.followSymbolicLinks) {\n try {\n // Use `stat` (following symlinks)\n stats = yield fs.promises.stat(item.path);\n }\n catch (err) {\n if (err.code === 'ENOENT') {\n if (options.omitBrokenSymbolicLinks) {\n core.debug(`Broken symlink '${item.path}'`);\n return undefined;\n }\n throw new Error(`No information found for the path '${item.path}'. This may indicate a broken symbolic link.`);\n }\n throw err;\n }\n }\n else {\n // Use `lstat` (not following symlinks)\n stats = yield fs.promises.lstat(item.path);\n }\n // Note, isDirectory() returns false for the lstat of a symlink\n if (stats.isDirectory() && options.followSymbolicLinks) {\n // Get the realpath\n const realPath = yield fs.promises.realpath(item.path);\n // Fixup the traversal chain to match the item level\n while (traversalChain.length >= item.level) {\n traversalChain.pop();\n }\n // Test for a cycle\n if (traversalChain.some((x) => x === realPath)) {\n core.debug(`Symlink cycle detected for path '${item.path}' and realpath '${realPath}'`);\n return undefined;\n }\n // Update the traversal chain\n traversalChain.push(realPath);\n }\n return stats;\n });\n }\n}\nexports.DefaultGlobber = DefaultGlobber;\n//# sourceMappingURL=internal-globber.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __asyncValues = (this && this.__asyncValues) || function (o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.hashFiles = hashFiles;\nconst crypto = __importStar(require(\"crypto\"));\nconst core = __importStar(require(\"@actions/core\"));\nconst fs = __importStar(require(\"fs\"));\nconst stream = __importStar(require(\"stream\"));\nconst util = __importStar(require(\"util\"));\nconst path = __importStar(require(\"path\"));\nfunction hashFiles(globber_1, currentWorkspace_1) {\n return __awaiter(this, arguments, void 0, function* (globber, currentWorkspace, verbose = false) {\n var _a, e_1, _b, _c;\n var _d;\n const writeDelegate = verbose ? core.info : core.debug;\n let hasMatch = false;\n const githubWorkspace = currentWorkspace\n ? currentWorkspace\n : ((_d = process.env['GITHUB_WORKSPACE']) !== null && _d !== void 0 ? _d : process.cwd());\n const result = crypto.createHash('sha256');\n let count = 0;\n try {\n for (var _e = true, _f = __asyncValues(globber.globGenerator()), _g; _g = yield _f.next(), _a = _g.done, !_a; _e = true) {\n _c = _g.value;\n _e = false;\n const file = _c;\n writeDelegate(file);\n if (!file.startsWith(`${githubWorkspace}${path.sep}`)) {\n writeDelegate(`Ignore '${file}' since it is not under GITHUB_WORKSPACE.`);\n continue;\n }\n if (fs.statSync(file).isDirectory()) {\n writeDelegate(`Skip directory '${file}'.`);\n continue;\n }\n const hash = crypto.createHash('sha256');\n const pipeline = util.promisify(stream.pipeline);\n yield pipeline(fs.createReadStream(file), hash);\n result.write(hash.digest());\n count++;\n if (!hasMatch) {\n hasMatch = true;\n }\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (!_e && !_a && (_b = _f.return)) yield _b.call(_f);\n }\n finally { if (e_1) throw e_1.error; }\n }\n result.end();\n if (hasMatch) {\n writeDelegate(`Found ${count} files to hash.`);\n return result.digest('hex');\n }\n else {\n writeDelegate(`No matches found for glob`);\n return '';\n }\n });\n}\n//# sourceMappingURL=internal-hash-files.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.MatchKind = void 0;\n/**\n * Indicates whether a pattern matches a path\n */\nvar MatchKind;\n(function (MatchKind) {\n /** Not matched */\n MatchKind[MatchKind[\"None\"] = 0] = \"None\";\n /** Matched if the path is a directory */\n MatchKind[MatchKind[\"Directory\"] = 1] = \"Directory\";\n /** Matched if the path is a regular file */\n MatchKind[MatchKind[\"File\"] = 2] = \"File\";\n /** Matched */\n MatchKind[MatchKind[\"All\"] = 3] = \"All\";\n})(MatchKind || (exports.MatchKind = MatchKind = {}));\n//# sourceMappingURL=internal-match-kind.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.dirname = dirname;\nexports.ensureAbsoluteRoot = ensureAbsoluteRoot;\nexports.hasAbsoluteRoot = hasAbsoluteRoot;\nexports.hasRoot = hasRoot;\nexports.normalizeSeparators = normalizeSeparators;\nexports.safeTrimTrailingSeparator = safeTrimTrailingSeparator;\nconst path = __importStar(require(\"path\"));\nconst assert_1 = __importDefault(require(\"assert\"));\nconst IS_WINDOWS = process.platform === 'win32';\n/**\n * Similar to path.dirname except normalizes the path separators and slightly better handling for Windows UNC paths.\n *\n * For example, on Linux/macOS:\n * - `/ => /`\n * - `/hello => /`\n *\n * For example, on Windows:\n * - `C:\\ => C:\\`\n * - `C:\\hello => C:\\`\n * - `C: => C:`\n * - `C:hello => C:`\n * - `\\ => \\`\n * - `\\hello => \\`\n * - `\\\\hello => \\\\hello`\n * - `\\\\hello\\world => \\\\hello\\world`\n */\nfunction dirname(p) {\n // Normalize slashes and trim unnecessary trailing slash\n p = safeTrimTrailingSeparator(p);\n // Windows UNC root, e.g. \\\\hello or \\\\hello\\world\n if (IS_WINDOWS && /^\\\\\\\\[^\\\\]+(\\\\[^\\\\]+)?$/.test(p)) {\n return p;\n }\n // Get dirname\n let result = path.dirname(p);\n // Trim trailing slash for Windows UNC root, e.g. \\\\hello\\world\\\n if (IS_WINDOWS && /^\\\\\\\\[^\\\\]+\\\\[^\\\\]+\\\\$/.test(result)) {\n result = safeTrimTrailingSeparator(result);\n }\n return result;\n}\n/**\n * Roots the path if not already rooted. On Windows, relative roots like `\\`\n * or `C:` are expanded based on the current working directory.\n */\nfunction ensureAbsoluteRoot(root, itemPath) {\n (0, assert_1.default)(root, `ensureAbsoluteRoot parameter 'root' must not be empty`);\n (0, assert_1.default)(itemPath, `ensureAbsoluteRoot parameter 'itemPath' must not be empty`);\n // Already rooted\n if (hasAbsoluteRoot(itemPath)) {\n return itemPath;\n }\n // Windows\n if (IS_WINDOWS) {\n // Check for itemPath like C: or C:foo\n if (itemPath.match(/^[A-Z]:[^\\\\/]|^[A-Z]:$/i)) {\n let cwd = process.cwd();\n (0, assert_1.default)(cwd.match(/^[A-Z]:\\\\/i), `Expected current directory to start with an absolute drive root. Actual '${cwd}'`);\n // Drive letter matches cwd? Expand to cwd\n if (itemPath[0].toUpperCase() === cwd[0].toUpperCase()) {\n // Drive only, e.g. C:\n if (itemPath.length === 2) {\n // Preserve specified drive letter case (upper or lower)\n return `${itemPath[0]}:\\\\${cwd.substr(3)}`;\n }\n // Drive + path, e.g. C:foo\n else {\n if (!cwd.endsWith('\\\\')) {\n cwd += '\\\\';\n }\n // Preserve specified drive letter case (upper or lower)\n return `${itemPath[0]}:\\\\${cwd.substr(3)}${itemPath.substr(2)}`;\n }\n }\n // Different drive\n else {\n return `${itemPath[0]}:\\\\${itemPath.substr(2)}`;\n }\n }\n // Check for itemPath like \\ or \\foo\n else if (normalizeSeparators(itemPath).match(/^\\\\$|^\\\\[^\\\\]/)) {\n const cwd = process.cwd();\n (0, assert_1.default)(cwd.match(/^[A-Z]:\\\\/i), `Expected current directory to start with an absolute drive root. Actual '${cwd}'`);\n return `${cwd[0]}:\\\\${itemPath.substr(1)}`;\n }\n }\n (0, assert_1.default)(hasAbsoluteRoot(root), `ensureAbsoluteRoot parameter 'root' must have an absolute root`);\n // Otherwise ensure root ends with a separator\n if (root.endsWith('/') || (IS_WINDOWS && root.endsWith('\\\\'))) {\n // Intentionally empty\n }\n else {\n // Append separator\n root += path.sep;\n }\n return root + itemPath;\n}\n/**\n * On Linux/macOS, true if path starts with `/`. On Windows, true for paths like:\n * `\\\\hello\\share` and `C:\\hello` (and using alternate separator).\n */\nfunction hasAbsoluteRoot(itemPath) {\n (0, assert_1.default)(itemPath, `hasAbsoluteRoot parameter 'itemPath' must not be empty`);\n // Normalize separators\n itemPath = normalizeSeparators(itemPath);\n // Windows\n if (IS_WINDOWS) {\n // E.g. \\\\hello\\share or C:\\hello\n return itemPath.startsWith('\\\\\\\\') || /^[A-Z]:\\\\/i.test(itemPath);\n }\n // E.g. /hello\n return itemPath.startsWith('/');\n}\n/**\n * On Linux/macOS, true if path starts with `/`. On Windows, true for paths like:\n * `\\`, `\\hello`, `\\\\hello\\share`, `C:`, and `C:\\hello` (and using alternate separator).\n */\nfunction hasRoot(itemPath) {\n (0, assert_1.default)(itemPath, `isRooted parameter 'itemPath' must not be empty`);\n // Normalize separators\n itemPath = normalizeSeparators(itemPath);\n // Windows\n if (IS_WINDOWS) {\n // E.g. \\ or \\hello or \\\\hello\n // E.g. C: or C:\\hello\n return itemPath.startsWith('\\\\') || /^[A-Z]:/i.test(itemPath);\n }\n // E.g. /hello\n return itemPath.startsWith('/');\n}\n/**\n * Removes redundant slashes and converts `/` to `\\` on Windows\n */\nfunction normalizeSeparators(p) {\n p = p || '';\n // Windows\n if (IS_WINDOWS) {\n // Convert slashes on Windows\n p = p.replace(/\\//g, '\\\\');\n // Remove redundant slashes\n const isUnc = /^\\\\\\\\+[^\\\\]/.test(p); // e.g. \\\\hello\n return (isUnc ? '\\\\' : '') + p.replace(/\\\\\\\\+/g, '\\\\'); // preserve leading \\\\ for UNC\n }\n // Remove redundant slashes\n return p.replace(/\\/\\/+/g, '/');\n}\n/**\n * Normalizes the path separators and trims the trailing separator (when safe).\n * For example, `/foo/ => /foo` but `/ => /`\n */\nfunction safeTrimTrailingSeparator(p) {\n // Short-circuit if empty\n if (!p) {\n return '';\n }\n // Normalize separators\n p = normalizeSeparators(p);\n // No trailing slash\n if (!p.endsWith(path.sep)) {\n return p;\n }\n // Check '/' on Linux/macOS and '\\' on Windows\n if (p === path.sep) {\n return p;\n }\n // On Windows check if drive root. E.g. C:\\\n if (IS_WINDOWS && /^[A-Z]:\\\\$/i.test(p)) {\n return p;\n }\n // Otherwise trim trailing slash\n return p.substr(0, p.length - 1);\n}\n//# sourceMappingURL=internal-path-helper.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Path = void 0;\nconst path = __importStar(require(\"path\"));\nconst pathHelper = __importStar(require(\"./internal-path-helper\"));\nconst assert_1 = __importDefault(require(\"assert\"));\nconst IS_WINDOWS = process.platform === 'win32';\n/**\n * Helper class for parsing paths into segments\n */\nclass Path {\n /**\n * Constructs a Path\n * @param itemPath Path or array of segments\n */\n constructor(itemPath) {\n this.segments = [];\n // String\n if (typeof itemPath === 'string') {\n (0, assert_1.default)(itemPath, `Parameter 'itemPath' must not be empty`);\n // Normalize slashes and trim unnecessary trailing slash\n itemPath = pathHelper.safeTrimTrailingSeparator(itemPath);\n // Not rooted\n if (!pathHelper.hasRoot(itemPath)) {\n this.segments = itemPath.split(path.sep);\n }\n // Rooted\n else {\n // Add all segments, while not at the root\n let remaining = itemPath;\n let dir = pathHelper.dirname(remaining);\n while (dir !== remaining) {\n // Add the segment\n const basename = path.basename(remaining);\n this.segments.unshift(basename);\n // Truncate the last segment\n remaining = dir;\n dir = pathHelper.dirname(remaining);\n }\n // Remainder is the root\n this.segments.unshift(remaining);\n }\n }\n // Array\n else {\n // Must not be empty\n (0, assert_1.default)(itemPath.length > 0, `Parameter 'itemPath' must not be an empty array`);\n // Each segment\n for (let i = 0; i < itemPath.length; i++) {\n let segment = itemPath[i];\n // Must not be empty\n (0, assert_1.default)(segment, `Parameter 'itemPath' must not contain any empty segments`);\n // Normalize slashes\n segment = pathHelper.normalizeSeparators(itemPath[i]);\n // Root segment\n if (i === 0 && pathHelper.hasRoot(segment)) {\n segment = pathHelper.safeTrimTrailingSeparator(segment);\n (0, assert_1.default)(segment === pathHelper.dirname(segment), `Parameter 'itemPath' root segment contains information for multiple segments`);\n this.segments.push(segment);\n }\n // All other segments\n else {\n // Must not contain slash\n (0, assert_1.default)(!segment.includes(path.sep), `Parameter 'itemPath' contains unexpected path separators`);\n this.segments.push(segment);\n }\n }\n }\n }\n /**\n * Converts the path to it's string representation\n */\n toString() {\n // First segment\n let result = this.segments[0];\n // All others\n let skipSlash = result.endsWith(path.sep) || (IS_WINDOWS && /^[A-Z]:$/i.test(result));\n for (let i = 1; i < this.segments.length; i++) {\n if (skipSlash) {\n skipSlash = false;\n }\n else {\n result += path.sep;\n }\n result += this.segments[i];\n }\n return result;\n }\n}\nexports.Path = Path;\n//# sourceMappingURL=internal-path.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getSearchPaths = getSearchPaths;\nexports.match = match;\nexports.partialMatch = partialMatch;\nconst pathHelper = __importStar(require(\"./internal-path-helper\"));\nconst internal_match_kind_1 = require(\"./internal-match-kind\");\nconst IS_WINDOWS = process.platform === 'win32';\n/**\n * Given an array of patterns, returns an array of paths to search.\n * Duplicates and paths under other included paths are filtered out.\n */\nfunction getSearchPaths(patterns) {\n // Ignore negate patterns\n patterns = patterns.filter(x => !x.negate);\n // Create a map of all search paths\n const searchPathMap = {};\n for (const pattern of patterns) {\n const key = IS_WINDOWS\n ? pattern.searchPath.toUpperCase()\n : pattern.searchPath;\n searchPathMap[key] = 'candidate';\n }\n const result = [];\n for (const pattern of patterns) {\n // Check if already included\n const key = IS_WINDOWS\n ? pattern.searchPath.toUpperCase()\n : pattern.searchPath;\n if (searchPathMap[key] === 'included') {\n continue;\n }\n // Check for an ancestor search path\n let foundAncestor = false;\n let tempKey = key;\n let parent = pathHelper.dirname(tempKey);\n while (parent !== tempKey) {\n if (searchPathMap[parent]) {\n foundAncestor = true;\n break;\n }\n tempKey = parent;\n parent = pathHelper.dirname(tempKey);\n }\n // Include the search pattern in the result\n if (!foundAncestor) {\n result.push(pattern.searchPath);\n searchPathMap[key] = 'included';\n }\n }\n return result;\n}\n/**\n * Matches the patterns against the path\n */\nfunction match(patterns, itemPath) {\n let result = internal_match_kind_1.MatchKind.None;\n for (const pattern of patterns) {\n if (pattern.negate) {\n result &= ~pattern.match(itemPath);\n }\n else {\n result |= pattern.match(itemPath);\n }\n }\n return result;\n}\n/**\n * Checks whether to descend further into the directory\n */\nfunction partialMatch(patterns, itemPath) {\n return patterns.some(x => !x.negate && x.partialMatch(itemPath));\n}\n//# sourceMappingURL=internal-pattern-helper.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Pattern = void 0;\nconst os = __importStar(require(\"os\"));\nconst path = __importStar(require(\"path\"));\nconst pathHelper = __importStar(require(\"./internal-path-helper\"));\nconst assert_1 = __importDefault(require(\"assert\"));\nconst minimatch_1 = require(\"minimatch\");\nconst internal_match_kind_1 = require(\"./internal-match-kind\");\nconst internal_path_1 = require(\"./internal-path\");\nconst IS_WINDOWS = process.platform === 'win32';\nclass Pattern {\n constructor(patternOrNegate, isImplicitPattern = false, segments, homedir) {\n /**\n * Indicates whether matches should be excluded from the result set\n */\n this.negate = false;\n // Pattern overload\n let pattern;\n if (typeof patternOrNegate === 'string') {\n pattern = patternOrNegate.trim();\n }\n // Segments overload\n else {\n // Convert to pattern\n segments = segments || [];\n (0, assert_1.default)(segments.length, `Parameter 'segments' must not empty`);\n const root = Pattern.getLiteral(segments[0]);\n (0, assert_1.default)(root && pathHelper.hasAbsoluteRoot(root), `Parameter 'segments' first element must be a root path`);\n pattern = new internal_path_1.Path(segments).toString().trim();\n if (patternOrNegate) {\n pattern = `!${pattern}`;\n }\n }\n // Negate\n while (pattern.startsWith('!')) {\n this.negate = !this.negate;\n pattern = pattern.substr(1).trim();\n }\n // Normalize slashes and ensures absolute root\n pattern = Pattern.fixupPattern(pattern, homedir);\n // Segments\n this.segments = new internal_path_1.Path(pattern).segments;\n // Trailing slash indicates the pattern should only match directories, not regular files\n this.trailingSeparator = pathHelper\n .normalizeSeparators(pattern)\n .endsWith(path.sep);\n pattern = pathHelper.safeTrimTrailingSeparator(pattern);\n // Search path (literal path prior to the first glob segment)\n let foundGlob = false;\n const searchSegments = this.segments\n .map(x => Pattern.getLiteral(x))\n .filter(x => !foundGlob && !(foundGlob = x === ''));\n this.searchPath = new internal_path_1.Path(searchSegments).toString();\n // Root RegExp (required when determining partial match)\n this.rootRegExp = new RegExp(Pattern.regExpEscape(searchSegments[0]), IS_WINDOWS ? 'i' : '');\n this.isImplicitPattern = isImplicitPattern;\n // Create minimatch\n const minimatchOptions = {\n dot: true,\n nobrace: true,\n nocase: IS_WINDOWS,\n nocomment: true,\n noext: true,\n nonegate: true\n };\n pattern = IS_WINDOWS ? pattern.replace(/\\\\/g, '/') : pattern;\n this.minimatch = new minimatch_1.Minimatch(pattern, minimatchOptions);\n }\n /**\n * Matches the pattern against the specified path\n */\n match(itemPath) {\n // Last segment is globstar?\n if (this.segments[this.segments.length - 1] === '**') {\n // Normalize slashes\n itemPath = pathHelper.normalizeSeparators(itemPath);\n // Append a trailing slash. Otherwise Minimatch will not match the directory immediately\n // preceding the globstar. For example, given the pattern `/foo/**`, Minimatch returns\n // false for `/foo` but returns true for `/foo/`. Append a trailing slash to handle that quirk.\n if (!itemPath.endsWith(path.sep) && this.isImplicitPattern === false) {\n // Note, this is safe because the constructor ensures the pattern has an absolute root.\n // For example, formats like C: and C:foo on Windows are resolved to an absolute root.\n itemPath = `${itemPath}${path.sep}`;\n }\n }\n else {\n // Normalize slashes and trim unnecessary trailing slash\n itemPath = pathHelper.safeTrimTrailingSeparator(itemPath);\n }\n // Match\n if (this.minimatch.match(itemPath)) {\n return this.trailingSeparator ? internal_match_kind_1.MatchKind.Directory : internal_match_kind_1.MatchKind.All;\n }\n return internal_match_kind_1.MatchKind.None;\n }\n /**\n * Indicates whether the pattern may match descendants of the specified path\n */\n partialMatch(itemPath) {\n // Normalize slashes and trim unnecessary trailing slash\n itemPath = pathHelper.safeTrimTrailingSeparator(itemPath);\n // matchOne does not handle root path correctly\n if (pathHelper.dirname(itemPath) === itemPath) {\n return this.rootRegExp.test(itemPath);\n }\n return this.minimatch.matchOne(itemPath.split(IS_WINDOWS ? /\\\\+/ : /\\/+/), this.minimatch.set[0], true);\n }\n /**\n * Escapes glob patterns within a path\n */\n static globEscape(s) {\n return (IS_WINDOWS ? s : s.replace(/\\\\/g, '\\\\\\\\')) // escape '\\' on Linux/macOS\n .replace(/(\\[)(?=[^/]+\\])/g, '[[]') // escape '[' when ']' follows within the path segment\n .replace(/\\?/g, '[?]') // escape '?'\n .replace(/\\*/g, '[*]'); // escape '*'\n }\n /**\n * Normalizes slashes and ensures absolute root\n */\n static fixupPattern(pattern, homedir) {\n // Empty\n (0, assert_1.default)(pattern, 'pattern cannot be empty');\n // Must not contain `.` segment, unless first segment\n // Must not contain `..` segment\n const literalSegments = new internal_path_1.Path(pattern).segments.map(x => Pattern.getLiteral(x));\n (0, assert_1.default)(literalSegments.every((x, i) => (x !== '.' || i === 0) && x !== '..'), `Invalid pattern '${pattern}'. Relative pathing '.' and '..' is not allowed.`);\n // Must not contain globs in root, e.g. Windows UNC path \\\\foo\\b*r\n (0, assert_1.default)(!pathHelper.hasRoot(pattern) || literalSegments[0], `Invalid pattern '${pattern}'. Root segment must not contain globs.`);\n // Normalize slashes\n pattern = pathHelper.normalizeSeparators(pattern);\n // Replace leading `.` segment\n if (pattern === '.' || pattern.startsWith(`.${path.sep}`)) {\n pattern = Pattern.globEscape(process.cwd()) + pattern.substr(1);\n }\n // Replace leading `~` segment\n else if (pattern === '~' || pattern.startsWith(`~${path.sep}`)) {\n homedir = homedir || os.homedir();\n (0, assert_1.default)(homedir, 'Unable to determine HOME directory');\n (0, assert_1.default)(pathHelper.hasAbsoluteRoot(homedir), `Expected HOME directory to be a rooted path. Actual '${homedir}'`);\n pattern = Pattern.globEscape(homedir) + pattern.substr(1);\n }\n // Replace relative drive root, e.g. pattern is C: or C:foo\n else if (IS_WINDOWS &&\n (pattern.match(/^[A-Z]:$/i) || pattern.match(/^[A-Z]:[^\\\\]/i))) {\n let root = pathHelper.ensureAbsoluteRoot('C:\\\\dummy-root', pattern.substr(0, 2));\n if (pattern.length > 2 && !root.endsWith('\\\\')) {\n root += '\\\\';\n }\n pattern = Pattern.globEscape(root) + pattern.substr(2);\n }\n // Replace relative root, e.g. pattern is \\ or \\foo\n else if (IS_WINDOWS && (pattern === '\\\\' || pattern.match(/^\\\\[^\\\\]/))) {\n let root = pathHelper.ensureAbsoluteRoot('C:\\\\dummy-root', '\\\\');\n if (!root.endsWith('\\\\')) {\n root += '\\\\';\n }\n pattern = Pattern.globEscape(root) + pattern.substr(1);\n }\n // Otherwise ensure absolute root\n else {\n pattern = pathHelper.ensureAbsoluteRoot(Pattern.globEscape(process.cwd()), pattern);\n }\n return pathHelper.normalizeSeparators(pattern);\n }\n /**\n * Attempts to unescape a pattern segment to create a literal path segment.\n * Otherwise returns empty string.\n */\n static getLiteral(segment) {\n let literal = '';\n for (let i = 0; i < segment.length; i++) {\n const c = segment[i];\n // Escape\n if (c === '\\\\' && !IS_WINDOWS && i + 1 < segment.length) {\n literal += segment[++i];\n continue;\n }\n // Wildcard\n else if (c === '*' || c === '?') {\n return '';\n }\n // Character set\n else if (c === '[' && i + 1 < segment.length) {\n let set = '';\n let closed = -1;\n for (let i2 = i + 1; i2 < segment.length; i2++) {\n const c2 = segment[i2];\n // Escape\n if (c2 === '\\\\' && !IS_WINDOWS && i2 + 1 < segment.length) {\n set += segment[++i2];\n continue;\n }\n // Closed\n else if (c2 === ']') {\n closed = i2;\n break;\n }\n // Otherwise\n else {\n set += c2;\n }\n }\n // Closed?\n if (closed >= 0) {\n // Cannot convert\n if (set.length > 1) {\n return '';\n }\n // Convert to literal\n if (set) {\n literal += set;\n i = closed;\n continue;\n }\n }\n // Otherwise fall thru\n }\n // Append\n literal += c;\n }\n return literal;\n }\n /**\n * Escapes regexp special characters\n * https://javascript.info/regexp-escaping\n */\n static regExpEscape(s) {\n return s.replace(/[[\\\\^$.|?*+()]/g, '\\\\$&');\n }\n}\nexports.Pattern = Pattern;\n//# sourceMappingURL=internal-pattern.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SearchState = void 0;\nclass SearchState {\n constructor(path, level) {\n this.path = path;\n this.level = level;\n }\n}\nexports.SearchState = SearchState;\n//# sourceMappingURL=internal-search-state.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.issueCommand = issueCommand;\nexports.issue = issue;\nconst os = __importStar(require(\"os\"));\nconst utils_1 = require(\"./utils\");\n/**\n * Issues a command to the GitHub Actions runner\n *\n * @param command - The command name to issue\n * @param properties - Additional properties for the command (key-value pairs)\n * @param message - The message to include with the command\n * @remarks\n * This function outputs a specially formatted string to stdout that the Actions\n * runner interprets as a command. These commands can control workflow behavior,\n * set outputs, create annotations, mask values, and more.\n *\n * Command Format:\n * ::name key=value,key=value::message\n *\n * @example\n * ```typescript\n * // Issue a warning annotation\n * issueCommand('warning', {}, 'This is a warning message');\n * // Output: ::warning::This is a warning message\n *\n * // Set an environment variable\n * issueCommand('set-env', { name: 'MY_VAR' }, 'some value');\n * // Output: ::set-env name=MY_VAR::some value\n *\n * // Add a secret mask\n * issueCommand('add-mask', {}, 'secretValue123');\n * // Output: ::add-mask::secretValue123\n * ```\n *\n * @internal\n * This is an internal utility function that powers the public API functions\n * such as setSecret, warning, error, and exportVariable.\n */\nfunction issueCommand(command, properties, message) {\n const cmd = new Command(command, properties, message);\n process.stdout.write(cmd.toString() + os.EOL);\n}\nfunction issue(name, message = '') {\n issueCommand(name, {}, message);\n}\nconst CMD_STRING = '::';\nclass Command {\n constructor(command, properties, message) {\n if (!command) {\n command = 'missing.command';\n }\n this.command = command;\n this.properties = properties;\n this.message = message;\n }\n toString() {\n let cmdStr = CMD_STRING + this.command;\n if (this.properties && Object.keys(this.properties).length > 0) {\n cmdStr += ' ';\n let first = true;\n for (const key in this.properties) {\n if (this.properties.hasOwnProperty(key)) {\n const val = this.properties[key];\n if (val) {\n if (first) {\n first = false;\n }\n else {\n cmdStr += ',';\n }\n cmdStr += `${key}=${escapeProperty(val)}`;\n }\n }\n }\n }\n cmdStr += `${CMD_STRING}${escapeData(this.message)}`;\n return cmdStr;\n }\n}\nfunction escapeData(s) {\n return (0, utils_1.toCommandValue)(s)\n .replace(/%/g, '%25')\n .replace(/\\r/g, '%0D')\n .replace(/\\n/g, '%0A');\n}\nfunction escapeProperty(s) {\n return (0, utils_1.toCommandValue)(s)\n .replace(/%/g, '%25')\n .replace(/\\r/g, '%0D')\n .replace(/\\n/g, '%0A')\n .replace(/:/g, '%3A')\n .replace(/,/g, '%2C');\n}\n//# sourceMappingURL=command.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.platform = exports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = exports.markdownSummary = exports.summary = exports.ExitCode = void 0;\nexports.exportVariable = exportVariable;\nexports.setSecret = setSecret;\nexports.addPath = addPath;\nexports.getInput = getInput;\nexports.getMultilineInput = getMultilineInput;\nexports.getBooleanInput = getBooleanInput;\nexports.setOutput = setOutput;\nexports.setCommandEcho = setCommandEcho;\nexports.setFailed = setFailed;\nexports.isDebug = isDebug;\nexports.debug = debug;\nexports.error = error;\nexports.warning = warning;\nexports.notice = notice;\nexports.info = info;\nexports.startGroup = startGroup;\nexports.endGroup = endGroup;\nexports.group = group;\nexports.saveState = saveState;\nexports.getState = getState;\nexports.getIDToken = getIDToken;\nconst command_1 = require(\"./command\");\nconst file_command_1 = require(\"./file-command\");\nconst utils_1 = require(\"./utils\");\nconst os = __importStar(require(\"os\"));\nconst path = __importStar(require(\"path\"));\nconst oidc_utils_1 = require(\"./oidc-utils\");\n/**\n * The code to exit an action\n */\nvar ExitCode;\n(function (ExitCode) {\n /**\n * A code indicating that the action was successful\n */\n ExitCode[ExitCode[\"Success\"] = 0] = \"Success\";\n /**\n * A code indicating that the action was a failure\n */\n ExitCode[ExitCode[\"Failure\"] = 1] = \"Failure\";\n})(ExitCode || (exports.ExitCode = ExitCode = {}));\n//-----------------------------------------------------------------------\n// Variables\n//-----------------------------------------------------------------------\n/**\n * Sets env variable for this action and future actions in the job\n * @param name the name of the variable to set\n * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction exportVariable(name, val) {\n const convertedVal = (0, utils_1.toCommandValue)(val);\n process.env[name] = convertedVal;\n const filePath = process.env['GITHUB_ENV'] || '';\n if (filePath) {\n return (0, file_command_1.issueFileCommand)('ENV', (0, file_command_1.prepareKeyValueMessage)(name, val));\n }\n (0, command_1.issueCommand)('set-env', { name }, convertedVal);\n}\n/**\n * Registers a secret which will get masked from logs\n *\n * @param secret - Value of the secret to be masked\n * @remarks\n * This function instructs the Actions runner to mask the specified value in any\n * logs produced during the workflow run. Once registered, the secret value will\n * be replaced with asterisks (***) whenever it appears in console output, logs,\n * or error messages.\n *\n * This is useful for protecting sensitive information such as:\n * - API keys\n * - Access tokens\n * - Authentication credentials\n * - URL parameters containing signatures (SAS tokens)\n *\n * Note that masking only affects future logs; any previous appearances of the\n * secret in logs before calling this function will remain unmasked.\n *\n * @example\n * ```typescript\n * // Register an API token as a secret\n * const apiToken = \"abc123xyz456\";\n * setSecret(apiToken);\n *\n * // Now any logs containing this value will show *** instead\n * console.log(`Using token: ${apiToken}`); // Outputs: \"Using token: ***\"\n * ```\n */\nfunction setSecret(secret) {\n (0, command_1.issueCommand)('add-mask', {}, secret);\n}\n/**\n * Prepends inputPath to the PATH (for this action and future actions)\n * @param inputPath\n */\nfunction addPath(inputPath) {\n const filePath = process.env['GITHUB_PATH'] || '';\n if (filePath) {\n (0, file_command_1.issueFileCommand)('PATH', inputPath);\n }\n else {\n (0, command_1.issueCommand)('add-path', {}, inputPath);\n }\n process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`;\n}\n/**\n * Gets the value of an input.\n * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed.\n * Returns an empty string if the value is not defined.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string\n */\nfunction getInput(name, options) {\n const val = process.env[`INPUT_${name.replace(/ /g, '_').toUpperCase()}`] || '';\n if (options && options.required && !val) {\n throw new Error(`Input required and not supplied: ${name}`);\n }\n if (options && options.trimWhitespace === false) {\n return val;\n }\n return val.trim();\n}\n/**\n * Gets the values of an multiline input. Each value is also trimmed.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string[]\n *\n */\nfunction getMultilineInput(name, options) {\n const inputs = getInput(name, options)\n .split('\\n')\n .filter(x => x !== '');\n if (options && options.trimWhitespace === false) {\n return inputs;\n }\n return inputs.map(input => input.trim());\n}\n/**\n * Gets the input value of the boolean type in the YAML 1.2 \"core schema\" specification.\n * Support boolean input list: `true | True | TRUE | false | False | FALSE` .\n * The return value is also in boolean type.\n * ref: https://yaml.org/spec/1.2/spec.html#id2804923\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns boolean\n */\nfunction getBooleanInput(name, options) {\n const trueValue = ['true', 'True', 'TRUE'];\n const falseValue = ['false', 'False', 'FALSE'];\n const val = getInput(name, options);\n if (trueValue.includes(val))\n return true;\n if (falseValue.includes(val))\n return false;\n throw new TypeError(`Input does not meet YAML 1.2 \"Core Schema\" specification: ${name}\\n` +\n `Support boolean input list: \\`true | True | TRUE | false | False | FALSE\\``);\n}\n/**\n * Sets the value of an output.\n *\n * @param name name of the output to set\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction setOutput(name, value) {\n const filePath = process.env['GITHUB_OUTPUT'] || '';\n if (filePath) {\n return (0, file_command_1.issueFileCommand)('OUTPUT', (0, file_command_1.prepareKeyValueMessage)(name, value));\n }\n process.stdout.write(os.EOL);\n (0, command_1.issueCommand)('set-output', { name }, (0, utils_1.toCommandValue)(value));\n}\n/**\n * Enables or disables the echoing of commands into stdout for the rest of the step.\n * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set.\n *\n */\nfunction setCommandEcho(enabled) {\n (0, command_1.issue)('echo', enabled ? 'on' : 'off');\n}\n//-----------------------------------------------------------------------\n// Results\n//-----------------------------------------------------------------------\n/**\n * Sets the action status to failed.\n * When the action exits it will be with an exit code of 1\n * @param message add error issue message\n */\nfunction setFailed(message) {\n process.exitCode = ExitCode.Failure;\n error(message);\n}\n//-----------------------------------------------------------------------\n// Logging Commands\n//-----------------------------------------------------------------------\n/**\n * Gets whether Actions Step Debug is on or not\n */\nfunction isDebug() {\n return process.env['RUNNER_DEBUG'] === '1';\n}\n/**\n * Writes debug message to user log\n * @param message debug message\n */\nfunction debug(message) {\n (0, command_1.issueCommand)('debug', {}, message);\n}\n/**\n * Adds an error issue\n * @param message error issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction error(message, properties = {}) {\n (0, command_1.issueCommand)('error', (0, utils_1.toCommandProperties)(properties), message instanceof Error ? message.toString() : message);\n}\n/**\n * Adds a warning issue\n * @param message warning issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction warning(message, properties = {}) {\n (0, command_1.issueCommand)('warning', (0, utils_1.toCommandProperties)(properties), message instanceof Error ? message.toString() : message);\n}\n/**\n * Adds a notice issue\n * @param message notice issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction notice(message, properties = {}) {\n (0, command_1.issueCommand)('notice', (0, utils_1.toCommandProperties)(properties), message instanceof Error ? message.toString() : message);\n}\n/**\n * Writes info to log with console.log.\n * @param message info message\n */\nfunction info(message) {\n process.stdout.write(message + os.EOL);\n}\n/**\n * Begin an output group.\n *\n * Output until the next `groupEnd` will be foldable in this group\n *\n * @param name The name of the output group\n */\nfunction startGroup(name) {\n (0, command_1.issue)('group', name);\n}\n/**\n * End an output group.\n */\nfunction endGroup() {\n (0, command_1.issue)('endgroup');\n}\n/**\n * Wrap an asynchronous function call in a group.\n *\n * Returns the same type as the function itself.\n *\n * @param name The name of the group\n * @param fn The function to wrap in the group\n */\nfunction group(name, fn) {\n return __awaiter(this, void 0, void 0, function* () {\n startGroup(name);\n let result;\n try {\n result = yield fn();\n }\n finally {\n endGroup();\n }\n return result;\n });\n}\n//-----------------------------------------------------------------------\n// Wrapper action state\n//-----------------------------------------------------------------------\n/**\n * Saves state for current action, the state can only be retrieved by this action's post job execution.\n *\n * @param name name of the state to store\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction saveState(name, value) {\n const filePath = process.env['GITHUB_STATE'] || '';\n if (filePath) {\n return (0, file_command_1.issueFileCommand)('STATE', (0, file_command_1.prepareKeyValueMessage)(name, value));\n }\n (0, command_1.issueCommand)('save-state', { name }, (0, utils_1.toCommandValue)(value));\n}\n/**\n * Gets the value of an state set by this action's main execution.\n *\n * @param name name of the state to get\n * @returns string\n */\nfunction getState(name) {\n return process.env[`STATE_${name}`] || '';\n}\nfunction getIDToken(aud) {\n return __awaiter(this, void 0, void 0, function* () {\n return yield oidc_utils_1.OidcClient.getIDToken(aud);\n });\n}\n/**\n * Summary exports\n */\nvar summary_1 = require(\"./summary\");\nObject.defineProperty(exports, \"summary\", { enumerable: true, get: function () { return summary_1.summary; } });\n/**\n * @deprecated use core.summary\n */\nvar summary_2 = require(\"./summary\");\nObject.defineProperty(exports, \"markdownSummary\", { enumerable: true, get: function () { return summary_2.markdownSummary; } });\n/**\n * Path exports\n */\nvar path_utils_1 = require(\"./path-utils\");\nObject.defineProperty(exports, \"toPosixPath\", { enumerable: true, get: function () { return path_utils_1.toPosixPath; } });\nObject.defineProperty(exports, \"toWin32Path\", { enumerable: true, get: function () { return path_utils_1.toWin32Path; } });\nObject.defineProperty(exports, \"toPlatformPath\", { enumerable: true, get: function () { return path_utils_1.toPlatformPath; } });\n/**\n * Platform utilities exports\n */\nexports.platform = __importStar(require(\"./platform\"));\n//# sourceMappingURL=core.js.map","\"use strict\";\n// For internal use, subject to change.\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.issueFileCommand = issueFileCommand;\nexports.prepareKeyValueMessage = prepareKeyValueMessage;\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */\nconst crypto = __importStar(require(\"crypto\"));\nconst fs = __importStar(require(\"fs\"));\nconst os = __importStar(require(\"os\"));\nconst utils_1 = require(\"./utils\");\nfunction issueFileCommand(command, message) {\n const filePath = process.env[`GITHUB_${command}`];\n if (!filePath) {\n throw new Error(`Unable to find environment variable for file command ${command}`);\n }\n if (!fs.existsSync(filePath)) {\n throw new Error(`Missing file at path: ${filePath}`);\n }\n fs.appendFileSync(filePath, `${(0, utils_1.toCommandValue)(message)}${os.EOL}`, {\n encoding: 'utf8'\n });\n}\nfunction prepareKeyValueMessage(key, value) {\n const delimiter = `ghadelimiter_${crypto.randomUUID()}`;\n const convertedValue = (0, utils_1.toCommandValue)(value);\n // These should realistically never happen, but just in case someone finds a\n // way to exploit uuid generation let's not allow keys or values that contain\n // the delimiter.\n if (key.includes(delimiter)) {\n throw new Error(`Unexpected input: name should not contain the delimiter \"${delimiter}\"`);\n }\n if (convertedValue.includes(delimiter)) {\n throw new Error(`Unexpected input: value should not contain the delimiter \"${delimiter}\"`);\n }\n return `${key}<<${delimiter}${os.EOL}${convertedValue}${os.EOL}${delimiter}`;\n}\n//# sourceMappingURL=file-command.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.OidcClient = void 0;\nconst http_client_1 = require(\"@actions/http-client\");\nconst auth_1 = require(\"@actions/http-client/lib/auth\");\nconst core_1 = require(\"./core\");\nclass OidcClient {\n static createHttpClient(allowRetry = true, maxRetry = 10) {\n const requestOptions = {\n allowRetries: allowRetry,\n maxRetries: maxRetry\n };\n return new http_client_1.HttpClient('actions/oidc-client', [new auth_1.BearerCredentialHandler(OidcClient.getRequestToken())], requestOptions);\n }\n static getRequestToken() {\n const token = process.env['ACTIONS_ID_TOKEN_REQUEST_TOKEN'];\n if (!token) {\n throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable');\n }\n return token;\n }\n static getIDTokenUrl() {\n const runtimeUrl = process.env['ACTIONS_ID_TOKEN_REQUEST_URL'];\n if (!runtimeUrl) {\n throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable');\n }\n return runtimeUrl;\n }\n static getCall(id_token_url) {\n return __awaiter(this, void 0, void 0, function* () {\n var _a;\n const httpclient = OidcClient.createHttpClient();\n const res = yield httpclient\n .getJson(id_token_url)\n .catch(error => {\n throw new Error(`Failed to get ID Token. \\n \n Error Code : ${error.statusCode}\\n \n Error Message: ${error.message}`);\n });\n const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;\n if (!id_token) {\n throw new Error('Response json body do not have ID Token field');\n }\n return id_token;\n });\n }\n static getIDToken(audience) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n // New ID Token is requested from action service\n let id_token_url = OidcClient.getIDTokenUrl();\n if (audience) {\n const encodedAudience = encodeURIComponent(audience);\n id_token_url = `${id_token_url}&audience=${encodedAudience}`;\n }\n (0, core_1.debug)(`ID token url is ${id_token_url}`);\n const id_token = yield OidcClient.getCall(id_token_url);\n (0, core_1.setSecret)(id_token);\n return id_token;\n }\n catch (error) {\n throw new Error(`Error message: ${error.message}`);\n }\n });\n }\n}\nexports.OidcClient = OidcClient;\n//# sourceMappingURL=oidc-utils.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toPosixPath = toPosixPath;\nexports.toWin32Path = toWin32Path;\nexports.toPlatformPath = toPlatformPath;\nconst path = __importStar(require(\"path\"));\n/**\n * toPosixPath converts the given path to the posix form. On Windows, \\\\ will be\n * replaced with /.\n *\n * @param pth. Path to transform.\n * @return string Posix path.\n */\nfunction toPosixPath(pth) {\n return pth.replace(/[\\\\]/g, '/');\n}\n/**\n * toWin32Path converts the given path to the win32 form. On Linux, / will be\n * replaced with \\\\.\n *\n * @param pth. Path to transform.\n * @return string Win32 path.\n */\nfunction toWin32Path(pth) {\n return pth.replace(/[/]/g, '\\\\');\n}\n/**\n * toPlatformPath converts the given path to a platform-specific path. It does\n * this by replacing instances of / and \\ with the platform-specific path\n * separator.\n *\n * @param pth The path to platformize.\n * @return string The platform-specific path.\n */\nfunction toPlatformPath(pth) {\n return pth.replace(/[/\\\\]/g, path.sep);\n}\n//# sourceMappingURL=path-utils.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isLinux = exports.isMacOS = exports.isWindows = exports.arch = exports.platform = void 0;\nexports.getDetails = getDetails;\nconst os_1 = __importDefault(require(\"os\"));\nconst exec = __importStar(require(\"@actions/exec\"));\nconst getWindowsInfo = () => __awaiter(void 0, void 0, void 0, function* () {\n const { stdout: version } = yield exec.getExecOutput('powershell -command \"(Get-CimInstance -ClassName Win32_OperatingSystem).Version\"', undefined, {\n silent: true\n });\n const { stdout: name } = yield exec.getExecOutput('powershell -command \"(Get-CimInstance -ClassName Win32_OperatingSystem).Caption\"', undefined, {\n silent: true\n });\n return {\n name: name.trim(),\n version: version.trim()\n };\n});\nconst getMacOsInfo = () => __awaiter(void 0, void 0, void 0, function* () {\n var _a, _b, _c, _d;\n const { stdout } = yield exec.getExecOutput('sw_vers', undefined, {\n silent: true\n });\n const version = (_b = (_a = stdout.match(/ProductVersion:\\s*(.+)/)) === null || _a === void 0 ? void 0 : _a[1]) !== null && _b !== void 0 ? _b : '';\n const name = (_d = (_c = stdout.match(/ProductName:\\s*(.+)/)) === null || _c === void 0 ? void 0 : _c[1]) !== null && _d !== void 0 ? _d : '';\n return {\n name,\n version\n };\n});\nconst getLinuxInfo = () => __awaiter(void 0, void 0, void 0, function* () {\n const { stdout } = yield exec.getExecOutput('lsb_release', ['-i', '-r', '-s'], {\n silent: true\n });\n const [name, version] = stdout.trim().split('\\n');\n return {\n name,\n version\n };\n});\nexports.platform = os_1.default.platform();\nexports.arch = os_1.default.arch();\nexports.isWindows = exports.platform === 'win32';\nexports.isMacOS = exports.platform === 'darwin';\nexports.isLinux = exports.platform === 'linux';\nfunction getDetails() {\n return __awaiter(this, void 0, void 0, function* () {\n return Object.assign(Object.assign({}, (yield (exports.isWindows\n ? getWindowsInfo()\n : exports.isMacOS\n ? getMacOsInfo()\n : getLinuxInfo()))), { platform: exports.platform,\n arch: exports.arch,\n isWindows: exports.isWindows,\n isMacOS: exports.isMacOS,\n isLinux: exports.isLinux });\n });\n}\n//# sourceMappingURL=platform.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.summary = exports.markdownSummary = exports.SUMMARY_DOCS_URL = exports.SUMMARY_ENV_VAR = void 0;\nconst os_1 = require(\"os\");\nconst fs_1 = require(\"fs\");\nconst { access, appendFile, writeFile } = fs_1.promises;\nexports.SUMMARY_ENV_VAR = 'GITHUB_STEP_SUMMARY';\nexports.SUMMARY_DOCS_URL = 'https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary';\nclass Summary {\n constructor() {\n this._buffer = '';\n }\n /**\n * Finds the summary file path from the environment, rejects if env var is not found or file does not exist\n * Also checks r/w permissions.\n *\n * @returns step summary file path\n */\n filePath() {\n return __awaiter(this, void 0, void 0, function* () {\n if (this._filePath) {\n return this._filePath;\n }\n const pathFromEnv = process.env[exports.SUMMARY_ENV_VAR];\n if (!pathFromEnv) {\n throw new Error(`Unable to find environment variable for $${exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);\n }\n try {\n yield access(pathFromEnv, fs_1.constants.R_OK | fs_1.constants.W_OK);\n }\n catch (_a) {\n throw new Error(`Unable to access summary file: '${pathFromEnv}'. Check if the file has correct read/write permissions.`);\n }\n this._filePath = pathFromEnv;\n return this._filePath;\n });\n }\n /**\n * Wraps content in an HTML tag, adding any HTML attributes\n *\n * @param {string} tag HTML tag to wrap\n * @param {string | null} content content within the tag\n * @param {[attribute: string]: string} attrs key-value list of HTML attributes to add\n *\n * @returns {string} content wrapped in HTML element\n */\n wrap(tag, content, attrs = {}) {\n const htmlAttrs = Object.entries(attrs)\n .map(([key, value]) => ` ${key}=\"${value}\"`)\n .join('');\n if (!content) {\n return `<${tag}${htmlAttrs}>`;\n }\n return `<${tag}${htmlAttrs}>${content}`;\n }\n /**\n * Writes text in the buffer to the summary buffer file and empties buffer. Will append by default.\n *\n * @param {SummaryWriteOptions} [options] (optional) options for write operation\n *\n * @returns {Promise} summary instance\n */\n write(options) {\n return __awaiter(this, void 0, void 0, function* () {\n const overwrite = !!(options === null || options === void 0 ? void 0 : options.overwrite);\n const filePath = yield this.filePath();\n const writeFunc = overwrite ? writeFile : appendFile;\n yield writeFunc(filePath, this._buffer, { encoding: 'utf8' });\n return this.emptyBuffer();\n });\n }\n /**\n * Clears the summary buffer and wipes the summary file\n *\n * @returns {Summary} summary instance\n */\n clear() {\n return __awaiter(this, void 0, void 0, function* () {\n return this.emptyBuffer().write({ overwrite: true });\n });\n }\n /**\n * Returns the current summary buffer as a string\n *\n * @returns {string} string of summary buffer\n */\n stringify() {\n return this._buffer;\n }\n /**\n * If the summary buffer is empty\n *\n * @returns {boolen} true if the buffer is empty\n */\n isEmptyBuffer() {\n return this._buffer.length === 0;\n }\n /**\n * Resets the summary buffer without writing to summary file\n *\n * @returns {Summary} summary instance\n */\n emptyBuffer() {\n this._buffer = '';\n return this;\n }\n /**\n * Adds raw text to the summary buffer\n *\n * @param {string} text content to add\n * @param {boolean} [addEOL=false] (optional) append an EOL to the raw text (default: false)\n *\n * @returns {Summary} summary instance\n */\n addRaw(text, addEOL = false) {\n this._buffer += text;\n return addEOL ? this.addEOL() : this;\n }\n /**\n * Adds the operating system-specific end-of-line marker to the buffer\n *\n * @returns {Summary} summary instance\n */\n addEOL() {\n return this.addRaw(os_1.EOL);\n }\n /**\n * Adds an HTML codeblock to the summary buffer\n *\n * @param {string} code content to render within fenced code block\n * @param {string} lang (optional) language to syntax highlight code\n *\n * @returns {Summary} summary instance\n */\n addCodeBlock(code, lang) {\n const attrs = Object.assign({}, (lang && { lang }));\n const element = this.wrap('pre', this.wrap('code', code), attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML list to the summary buffer\n *\n * @param {string[]} items list of items to render\n * @param {boolean} [ordered=false] (optional) if the rendered list should be ordered or not (default: false)\n *\n * @returns {Summary} summary instance\n */\n addList(items, ordered = false) {\n const tag = ordered ? 'ol' : 'ul';\n const listItems = items.map(item => this.wrap('li', item)).join('');\n const element = this.wrap(tag, listItems);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML table to the summary buffer\n *\n * @param {SummaryTableCell[]} rows table rows\n *\n * @returns {Summary} summary instance\n */\n addTable(rows) {\n const tableBody = rows\n .map(row => {\n const cells = row\n .map(cell => {\n if (typeof cell === 'string') {\n return this.wrap('td', cell);\n }\n const { header, data, colspan, rowspan } = cell;\n const tag = header ? 'th' : 'td';\n const attrs = Object.assign(Object.assign({}, (colspan && { colspan })), (rowspan && { rowspan }));\n return this.wrap(tag, data, attrs);\n })\n .join('');\n return this.wrap('tr', cells);\n })\n .join('');\n const element = this.wrap('table', tableBody);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds a collapsable HTML details element to the summary buffer\n *\n * @param {string} label text for the closed state\n * @param {string} content collapsable content\n *\n * @returns {Summary} summary instance\n */\n addDetails(label, content) {\n const element = this.wrap('details', this.wrap('summary', label) + content);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML image tag to the summary buffer\n *\n * @param {string} src path to the image you to embed\n * @param {string} alt text description of the image\n * @param {SummaryImageOptions} options (optional) addition image attributes\n *\n * @returns {Summary} summary instance\n */\n addImage(src, alt, options) {\n const { width, height } = options || {};\n const attrs = Object.assign(Object.assign({}, (width && { width })), (height && { height }));\n const element = this.wrap('img', null, Object.assign({ src, alt }, attrs));\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML section heading element\n *\n * @param {string} text heading text\n * @param {number | string} [level=1] (optional) the heading level, default: 1\n *\n * @returns {Summary} summary instance\n */\n addHeading(text, level) {\n const tag = `h${level}`;\n const allowedTag = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'].includes(tag)\n ? tag\n : 'h1';\n const element = this.wrap(allowedTag, text);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML thematic break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */\n addSeparator() {\n const element = this.wrap('hr', null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML line break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */\n addBreak() {\n const element = this.wrap('br', null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML blockquote to the summary buffer\n *\n * @param {string} text quote text\n * @param {string} cite (optional) citation url\n *\n * @returns {Summary} summary instance\n */\n addQuote(text, cite) {\n const attrs = Object.assign({}, (cite && { cite }));\n const element = this.wrap('blockquote', text, attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML anchor tag to the summary buffer\n *\n * @param {string} text link text/content\n * @param {string} href hyperlink\n *\n * @returns {Summary} summary instance\n */\n addLink(text, href) {\n const element = this.wrap('a', text, { href });\n return this.addRaw(element).addEOL();\n }\n}\nconst _summary = new Summary();\n/**\n * @deprecated use `core.summary`\n */\nexports.markdownSummary = _summary;\nexports.summary = _summary;\n//# sourceMappingURL=summary.js.map","\"use strict\";\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toCommandValue = toCommandValue;\nexports.toCommandProperties = toCommandProperties;\n/**\n * Sanitizes an input into a string so it can be passed into issueCommand safely\n * @param input input to sanitize into a string\n */\nfunction toCommandValue(input) {\n if (input === null || input === undefined) {\n return '';\n }\n else if (typeof input === 'string' || input instanceof String) {\n return input;\n }\n return JSON.stringify(input);\n}\n/**\n *\n * @param annotationProperties\n * @returns The command properties to send with the actual annotation command\n * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646\n */\nfunction toCommandProperties(annotationProperties) {\n if (!Object.keys(annotationProperties).length) {\n return {};\n }\n return {\n title: annotationProperties.title,\n file: annotationProperties.file,\n line: annotationProperties.startLine,\n endLine: annotationProperties.endLine,\n col: annotationProperties.startColumn,\n endColumn: annotationProperties.endColumn\n };\n}\n//# sourceMappingURL=utils.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.PersonalAccessTokenCredentialHandler = exports.BearerCredentialHandler = exports.BasicCredentialHandler = void 0;\nclass BasicCredentialHandler {\n constructor(username, password) {\n this.username = username;\n this.password = password;\n }\n prepareRequest(options) {\n if (!options.headers) {\n throw Error('The request has no headers');\n }\n options.headers['Authorization'] = `Basic ${Buffer.from(`${this.username}:${this.password}`).toString('base64')}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return __awaiter(this, void 0, void 0, function* () {\n throw new Error('not implemented');\n });\n }\n}\nexports.BasicCredentialHandler = BasicCredentialHandler;\nclass BearerCredentialHandler {\n constructor(token) {\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) {\n throw Error('The request has no headers');\n }\n options.headers['Authorization'] = `Bearer ${this.token}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return __awaiter(this, void 0, void 0, function* () {\n throw new Error('not implemented');\n });\n }\n}\nexports.BearerCredentialHandler = BearerCredentialHandler;\nclass PersonalAccessTokenCredentialHandler {\n constructor(token) {\n this.token = token;\n }\n // currently implements pre-authorization\n // TODO: support preAuth = false where it hooks on 401\n prepareRequest(options) {\n if (!options.headers) {\n throw Error('The request has no headers');\n }\n options.headers['Authorization'] = `Basic ${Buffer.from(`PAT:${this.token}`).toString('base64')}`;\n }\n // This handler cannot handle 401\n canHandleAuthentication() {\n return false;\n }\n handleAuthentication() {\n return __awaiter(this, void 0, void 0, function* () {\n throw new Error('not implemented');\n });\n }\n}\nexports.PersonalAccessTokenCredentialHandler = PersonalAccessTokenCredentialHandler;\n//# sourceMappingURL=auth.js.map","\"use strict\";\n/* eslint-disable @typescript-eslint/no-explicit-any */\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HttpClient = exports.HttpClientResponse = exports.HttpClientError = exports.MediaTypes = exports.Headers = exports.HttpCodes = void 0;\nexports.getProxyUrl = getProxyUrl;\nexports.isHttps = isHttps;\nconst http = __importStar(require(\"http\"));\nconst https = __importStar(require(\"https\"));\nconst pm = __importStar(require(\"./proxy\"));\nconst tunnel = __importStar(require(\"tunnel\"));\nconst undici_1 = require(\"undici\");\nvar HttpCodes;\n(function (HttpCodes) {\n HttpCodes[HttpCodes[\"OK\"] = 200] = \"OK\";\n HttpCodes[HttpCodes[\"MultipleChoices\"] = 300] = \"MultipleChoices\";\n HttpCodes[HttpCodes[\"MovedPermanently\"] = 301] = \"MovedPermanently\";\n HttpCodes[HttpCodes[\"ResourceMoved\"] = 302] = \"ResourceMoved\";\n HttpCodes[HttpCodes[\"SeeOther\"] = 303] = \"SeeOther\";\n HttpCodes[HttpCodes[\"NotModified\"] = 304] = \"NotModified\";\n HttpCodes[HttpCodes[\"UseProxy\"] = 305] = \"UseProxy\";\n HttpCodes[HttpCodes[\"SwitchProxy\"] = 306] = \"SwitchProxy\";\n HttpCodes[HttpCodes[\"TemporaryRedirect\"] = 307] = \"TemporaryRedirect\";\n HttpCodes[HttpCodes[\"PermanentRedirect\"] = 308] = \"PermanentRedirect\";\n HttpCodes[HttpCodes[\"BadRequest\"] = 400] = \"BadRequest\";\n HttpCodes[HttpCodes[\"Unauthorized\"] = 401] = \"Unauthorized\";\n HttpCodes[HttpCodes[\"PaymentRequired\"] = 402] = \"PaymentRequired\";\n HttpCodes[HttpCodes[\"Forbidden\"] = 403] = \"Forbidden\";\n HttpCodes[HttpCodes[\"NotFound\"] = 404] = \"NotFound\";\n HttpCodes[HttpCodes[\"MethodNotAllowed\"] = 405] = \"MethodNotAllowed\";\n HttpCodes[HttpCodes[\"NotAcceptable\"] = 406] = \"NotAcceptable\";\n HttpCodes[HttpCodes[\"ProxyAuthenticationRequired\"] = 407] = \"ProxyAuthenticationRequired\";\n HttpCodes[HttpCodes[\"RequestTimeout\"] = 408] = \"RequestTimeout\";\n HttpCodes[HttpCodes[\"Conflict\"] = 409] = \"Conflict\";\n HttpCodes[HttpCodes[\"Gone\"] = 410] = \"Gone\";\n HttpCodes[HttpCodes[\"TooManyRequests\"] = 429] = \"TooManyRequests\";\n HttpCodes[HttpCodes[\"InternalServerError\"] = 500] = \"InternalServerError\";\n HttpCodes[HttpCodes[\"NotImplemented\"] = 501] = \"NotImplemented\";\n HttpCodes[HttpCodes[\"BadGateway\"] = 502] = \"BadGateway\";\n HttpCodes[HttpCodes[\"ServiceUnavailable\"] = 503] = \"ServiceUnavailable\";\n HttpCodes[HttpCodes[\"GatewayTimeout\"] = 504] = \"GatewayTimeout\";\n})(HttpCodes || (exports.HttpCodes = HttpCodes = {}));\nvar Headers;\n(function (Headers) {\n Headers[\"Accept\"] = \"accept\";\n Headers[\"ContentType\"] = \"content-type\";\n})(Headers || (exports.Headers = Headers = {}));\nvar MediaTypes;\n(function (MediaTypes) {\n MediaTypes[\"ApplicationJson\"] = \"application/json\";\n})(MediaTypes || (exports.MediaTypes = MediaTypes = {}));\n/**\n * Returns the proxy URL, depending upon the supplied url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\nfunction getProxyUrl(serverUrl) {\n const proxyUrl = pm.getProxyUrl(new URL(serverUrl));\n return proxyUrl ? proxyUrl.href : '';\n}\nconst HttpRedirectCodes = [\n HttpCodes.MovedPermanently,\n HttpCodes.ResourceMoved,\n HttpCodes.SeeOther,\n HttpCodes.TemporaryRedirect,\n HttpCodes.PermanentRedirect\n];\nconst HttpResponseRetryCodes = [\n HttpCodes.BadGateway,\n HttpCodes.ServiceUnavailable,\n HttpCodes.GatewayTimeout\n];\nconst RetryableHttpVerbs = ['OPTIONS', 'GET', 'DELETE', 'HEAD'];\nconst ExponentialBackoffCeiling = 10;\nconst ExponentialBackoffTimeSlice = 5;\nclass HttpClientError extends Error {\n constructor(message, statusCode) {\n super(message);\n this.name = 'HttpClientError';\n this.statusCode = statusCode;\n Object.setPrototypeOf(this, HttpClientError.prototype);\n }\n}\nexports.HttpClientError = HttpClientError;\nclass HttpClientResponse {\n constructor(message) {\n this.message = message;\n }\n readBody() {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise((resolve) => __awaiter(this, void 0, void 0, function* () {\n let output = Buffer.alloc(0);\n this.message.on('data', (chunk) => {\n output = Buffer.concat([output, chunk]);\n });\n this.message.on('end', () => {\n resolve(output.toString());\n });\n }));\n });\n }\n readBodyBuffer() {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise((resolve) => __awaiter(this, void 0, void 0, function* () {\n const chunks = [];\n this.message.on('data', (chunk) => {\n chunks.push(chunk);\n });\n this.message.on('end', () => {\n resolve(Buffer.concat(chunks));\n });\n }));\n });\n }\n}\nexports.HttpClientResponse = HttpClientResponse;\nfunction isHttps(requestUrl) {\n const parsedUrl = new URL(requestUrl);\n return parsedUrl.protocol === 'https:';\n}\nclass HttpClient {\n constructor(userAgent, handlers, requestOptions) {\n this._ignoreSslError = false;\n this._allowRedirects = true;\n this._allowRedirectDowngrade = false;\n this._maxRedirects = 50;\n this._allowRetries = false;\n this._maxRetries = 1;\n this._keepAlive = false;\n this._disposed = false;\n this.userAgent = this._getUserAgentWithOrchestrationId(userAgent);\n this.handlers = handlers || [];\n this.requestOptions = requestOptions;\n if (requestOptions) {\n if (requestOptions.ignoreSslError != null) {\n this._ignoreSslError = requestOptions.ignoreSslError;\n }\n this._socketTimeout = requestOptions.socketTimeout;\n if (requestOptions.allowRedirects != null) {\n this._allowRedirects = requestOptions.allowRedirects;\n }\n if (requestOptions.allowRedirectDowngrade != null) {\n this._allowRedirectDowngrade = requestOptions.allowRedirectDowngrade;\n }\n if (requestOptions.maxRedirects != null) {\n this._maxRedirects = Math.max(requestOptions.maxRedirects, 0);\n }\n if (requestOptions.keepAlive != null) {\n this._keepAlive = requestOptions.keepAlive;\n }\n if (requestOptions.allowRetries != null) {\n this._allowRetries = requestOptions.allowRetries;\n }\n if (requestOptions.maxRetries != null) {\n this._maxRetries = requestOptions.maxRetries;\n }\n }\n }\n options(requestUrl, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('OPTIONS', requestUrl, null, additionalHeaders || {});\n });\n }\n get(requestUrl, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('GET', requestUrl, null, additionalHeaders || {});\n });\n }\n del(requestUrl, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('DELETE', requestUrl, null, additionalHeaders || {});\n });\n }\n post(requestUrl, data, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('POST', requestUrl, data, additionalHeaders || {});\n });\n }\n patch(requestUrl, data, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('PATCH', requestUrl, data, additionalHeaders || {});\n });\n }\n put(requestUrl, data, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('PUT', requestUrl, data, additionalHeaders || {});\n });\n }\n head(requestUrl, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request('HEAD', requestUrl, null, additionalHeaders || {});\n });\n }\n sendStream(verb, requestUrl, stream, additionalHeaders) {\n return __awaiter(this, void 0, void 0, function* () {\n return this.request(verb, requestUrl, stream, additionalHeaders);\n });\n }\n /**\n * Gets a typed object from an endpoint\n * Be aware that not found returns a null. Other errors (4xx, 5xx) reject the promise\n */\n getJson(requestUrl_1) {\n return __awaiter(this, arguments, void 0, function* (requestUrl, additionalHeaders = {}) {\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n const res = yield this.get(requestUrl, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n postJson(requestUrl_1, obj_1) {\n return __awaiter(this, arguments, void 0, function* (requestUrl, obj, additionalHeaders = {}) {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] =\n this._getExistingOrDefaultContentTypeHeader(additionalHeaders, MediaTypes.ApplicationJson);\n const res = yield this.post(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n putJson(requestUrl_1, obj_1) {\n return __awaiter(this, arguments, void 0, function* (requestUrl, obj, additionalHeaders = {}) {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] =\n this._getExistingOrDefaultContentTypeHeader(additionalHeaders, MediaTypes.ApplicationJson);\n const res = yield this.put(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n patchJson(requestUrl_1, obj_1) {\n return __awaiter(this, arguments, void 0, function* (requestUrl, obj, additionalHeaders = {}) {\n const data = JSON.stringify(obj, null, 2);\n additionalHeaders[Headers.Accept] = this._getExistingOrDefaultHeader(additionalHeaders, Headers.Accept, MediaTypes.ApplicationJson);\n additionalHeaders[Headers.ContentType] =\n this._getExistingOrDefaultContentTypeHeader(additionalHeaders, MediaTypes.ApplicationJson);\n const res = yield this.patch(requestUrl, data, additionalHeaders);\n return this._processResponse(res, this.requestOptions);\n });\n }\n /**\n * Makes a raw http request.\n * All other methods such as get, post, patch, and request ultimately call this.\n * Prefer get, del, post and patch\n */\n request(verb, requestUrl, data, headers) {\n return __awaiter(this, void 0, void 0, function* () {\n if (this._disposed) {\n throw new Error('Client has already been disposed.');\n }\n const parsedUrl = new URL(requestUrl);\n let info = this._prepareRequest(verb, parsedUrl, headers);\n // Only perform retries on reads since writes may not be idempotent.\n const maxTries = this._allowRetries && RetryableHttpVerbs.includes(verb)\n ? this._maxRetries + 1\n : 1;\n let numTries = 0;\n let response;\n do {\n response = yield this.requestRaw(info, data);\n // Check if it's an authentication challenge\n if (response &&\n response.message &&\n response.message.statusCode === HttpCodes.Unauthorized) {\n let authenticationHandler;\n for (const handler of this.handlers) {\n if (handler.canHandleAuthentication(response)) {\n authenticationHandler = handler;\n break;\n }\n }\n if (authenticationHandler) {\n return authenticationHandler.handleAuthentication(this, info, data);\n }\n else {\n // We have received an unauthorized response but have no handlers to handle it.\n // Let the response return to the caller.\n return response;\n }\n }\n let redirectsRemaining = this._maxRedirects;\n while (response.message.statusCode &&\n HttpRedirectCodes.includes(response.message.statusCode) &&\n this._allowRedirects &&\n redirectsRemaining > 0) {\n const redirectUrl = response.message.headers['location'];\n if (!redirectUrl) {\n // if there's no location to redirect to, we won't\n break;\n }\n const parsedRedirectUrl = new URL(redirectUrl);\n if (parsedUrl.protocol === 'https:' &&\n parsedUrl.protocol !== parsedRedirectUrl.protocol &&\n !this._allowRedirectDowngrade) {\n 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.');\n }\n // we need to finish reading the response before reassigning response\n // which will leak the open socket.\n yield response.readBody();\n // strip authorization header if redirected to a different hostname\n if (parsedRedirectUrl.hostname !== parsedUrl.hostname) {\n for (const header in headers) {\n // header names are case insensitive\n if (header.toLowerCase() === 'authorization') {\n delete headers[header];\n }\n }\n }\n // let's make the request with the new redirectUrl\n info = this._prepareRequest(verb, parsedRedirectUrl, headers);\n response = yield this.requestRaw(info, data);\n redirectsRemaining--;\n }\n if (!response.message.statusCode ||\n !HttpResponseRetryCodes.includes(response.message.statusCode)) {\n // If not a retry code, return immediately instead of retrying\n return response;\n }\n numTries += 1;\n if (numTries < maxTries) {\n yield response.readBody();\n yield this._performExponentialBackoff(numTries);\n }\n } while (numTries < maxTries);\n return response;\n });\n }\n /**\n * Needs to be called if keepAlive is set to true in request options.\n */\n dispose() {\n if (this._agent) {\n this._agent.destroy();\n }\n this._disposed = true;\n }\n /**\n * Raw request.\n * @param info\n * @param data\n */\n requestRaw(info, data) {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise((resolve, reject) => {\n function callbackForResult(err, res) {\n if (err) {\n reject(err);\n }\n else if (!res) {\n // If `err` is not passed, then `res` must be passed.\n reject(new Error('Unknown error'));\n }\n else {\n resolve(res);\n }\n }\n this.requestRawWithCallback(info, data, callbackForResult);\n });\n });\n }\n /**\n * Raw request with callback.\n * @param info\n * @param data\n * @param onResult\n */\n requestRawWithCallback(info, data, onResult) {\n if (typeof data === 'string') {\n if (!info.options.headers) {\n info.options.headers = {};\n }\n info.options.headers['Content-Length'] = Buffer.byteLength(data, 'utf8');\n }\n let callbackCalled = false;\n function handleResult(err, res) {\n if (!callbackCalled) {\n callbackCalled = true;\n onResult(err, res);\n }\n }\n const req = info.httpModule.request(info.options, (msg) => {\n const res = new HttpClientResponse(msg);\n handleResult(undefined, res);\n });\n let socket;\n req.on('socket', sock => {\n socket = sock;\n });\n // If we ever get disconnected, we want the socket to timeout eventually\n req.setTimeout(this._socketTimeout || 3 * 60000, () => {\n if (socket) {\n socket.end();\n }\n handleResult(new Error(`Request timeout: ${info.options.path}`));\n });\n req.on('error', function (err) {\n // err has statusCode property\n // res should have headers\n handleResult(err);\n });\n if (data && typeof data === 'string') {\n req.write(data, 'utf8');\n }\n if (data && typeof data !== 'string') {\n data.on('close', function () {\n req.end();\n });\n data.pipe(req);\n }\n else {\n req.end();\n }\n }\n /**\n * Gets an http agent. This function is useful when you need an http agent that handles\n * routing through a proxy server - depending upon the url and proxy environment variables.\n * @param serverUrl The server URL where the request will be sent. For example, https://api.github.com\n */\n getAgent(serverUrl) {\n const parsedUrl = new URL(serverUrl);\n return this._getAgent(parsedUrl);\n }\n getAgentDispatcher(serverUrl) {\n const parsedUrl = new URL(serverUrl);\n const proxyUrl = pm.getProxyUrl(parsedUrl);\n const useProxy = proxyUrl && proxyUrl.hostname;\n if (!useProxy) {\n return;\n }\n return this._getProxyAgentDispatcher(parsedUrl, proxyUrl);\n }\n _prepareRequest(method, requestUrl, headers) {\n const info = {};\n info.parsedUrl = requestUrl;\n const usingSsl = info.parsedUrl.protocol === 'https:';\n info.httpModule = usingSsl ? https : http;\n const defaultPort = usingSsl ? 443 : 80;\n info.options = {};\n info.options.host = info.parsedUrl.hostname;\n info.options.port = info.parsedUrl.port\n ? parseInt(info.parsedUrl.port)\n : defaultPort;\n info.options.path =\n (info.parsedUrl.pathname || '') + (info.parsedUrl.search || '');\n info.options.method = method;\n info.options.headers = this._mergeHeaders(headers);\n if (this.userAgent != null) {\n info.options.headers['user-agent'] = this.userAgent;\n }\n info.options.agent = this._getAgent(info.parsedUrl);\n // gives handlers an opportunity to participate\n if (this.handlers) {\n for (const handler of this.handlers) {\n handler.prepareRequest(info.options);\n }\n }\n return info;\n }\n _mergeHeaders(headers) {\n if (this.requestOptions && this.requestOptions.headers) {\n return Object.assign({}, lowercaseKeys(this.requestOptions.headers), lowercaseKeys(headers || {}));\n }\n return lowercaseKeys(headers || {});\n }\n /**\n * Gets an existing header value or returns a default.\n * Handles converting number header values to strings since HTTP headers must be strings.\n * Note: This returns string | string[] since some headers can have multiple values.\n * For headers that must always be a single string (like Content-Type), use the\n * specialized _getExistingOrDefaultContentTypeHeader method instead.\n */\n _getExistingOrDefaultHeader(additionalHeaders, header, _default) {\n let clientHeader;\n if (this.requestOptions && this.requestOptions.headers) {\n const headerValue = lowercaseKeys(this.requestOptions.headers)[header];\n if (headerValue) {\n clientHeader =\n typeof headerValue === 'number' ? headerValue.toString() : headerValue;\n }\n }\n const additionalValue = additionalHeaders[header];\n if (additionalValue !== undefined) {\n return typeof additionalValue === 'number'\n ? additionalValue.toString()\n : additionalValue;\n }\n if (clientHeader !== undefined) {\n return clientHeader;\n }\n return _default;\n }\n /**\n * Specialized version of _getExistingOrDefaultHeader for Content-Type header.\n * Always returns a single string (not an array) since Content-Type should be a single value.\n * Converts arrays to comma-separated strings and numbers to strings to ensure type safety.\n * This was split from _getExistingOrDefaultHeader to provide stricter typing for callers\n * that assign the result to places expecting a string (e.g., additionalHeaders[Headers.ContentType]).\n */\n _getExistingOrDefaultContentTypeHeader(additionalHeaders, _default) {\n let clientHeader;\n if (this.requestOptions && this.requestOptions.headers) {\n const headerValue = lowercaseKeys(this.requestOptions.headers)[Headers.ContentType];\n if (headerValue) {\n if (typeof headerValue === 'number') {\n clientHeader = String(headerValue);\n }\n else if (Array.isArray(headerValue)) {\n clientHeader = headerValue.join(', ');\n }\n else {\n clientHeader = headerValue;\n }\n }\n }\n const additionalValue = additionalHeaders[Headers.ContentType];\n // Return the first non-undefined value, converting numbers or arrays to strings if necessary\n if (additionalValue !== undefined) {\n if (typeof additionalValue === 'number') {\n return String(additionalValue);\n }\n else if (Array.isArray(additionalValue)) {\n return additionalValue.join(', ');\n }\n else {\n return additionalValue;\n }\n }\n if (clientHeader !== undefined) {\n return clientHeader;\n }\n return _default;\n }\n _getAgent(parsedUrl) {\n let agent;\n const proxyUrl = pm.getProxyUrl(parsedUrl);\n const useProxy = proxyUrl && proxyUrl.hostname;\n if (this._keepAlive && useProxy) {\n agent = this._proxyAgent;\n }\n if (!useProxy) {\n agent = this._agent;\n }\n // if agent is already assigned use that agent.\n if (agent) {\n return agent;\n }\n const usingSsl = parsedUrl.protocol === 'https:';\n let maxSockets = 100;\n if (this.requestOptions) {\n maxSockets = this.requestOptions.maxSockets || http.globalAgent.maxSockets;\n }\n // This is `useProxy` again, but we need to check `proxyURl` directly for TypeScripts's flow analysis.\n if (proxyUrl && proxyUrl.hostname) {\n const agentOptions = {\n maxSockets,\n keepAlive: this._keepAlive,\n proxy: Object.assign(Object.assign({}, ((proxyUrl.username || proxyUrl.password) && {\n proxyAuth: `${proxyUrl.username}:${proxyUrl.password}`\n })), { host: proxyUrl.hostname, port: proxyUrl.port })\n };\n let tunnelAgent;\n const overHttps = proxyUrl.protocol === 'https:';\n if (usingSsl) {\n tunnelAgent = overHttps ? tunnel.httpsOverHttps : tunnel.httpsOverHttp;\n }\n else {\n tunnelAgent = overHttps ? tunnel.httpOverHttps : tunnel.httpOverHttp;\n }\n agent = tunnelAgent(agentOptions);\n this._proxyAgent = agent;\n }\n // if tunneling agent isn't assigned create a new agent\n if (!agent) {\n const options = { keepAlive: this._keepAlive, maxSockets };\n agent = usingSsl ? new https.Agent(options) : new http.Agent(options);\n this._agent = agent;\n }\n if (usingSsl && this._ignoreSslError) {\n // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process\n // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options\n // we have to cast it to any and change it directly\n agent.options = Object.assign(agent.options || {}, {\n rejectUnauthorized: false\n });\n }\n return agent;\n }\n _getProxyAgentDispatcher(parsedUrl, proxyUrl) {\n let proxyAgent;\n if (this._keepAlive) {\n proxyAgent = this._proxyAgentDispatcher;\n }\n // if agent is already assigned use that agent.\n if (proxyAgent) {\n return proxyAgent;\n }\n const usingSsl = parsedUrl.protocol === 'https:';\n proxyAgent = new undici_1.ProxyAgent(Object.assign({ uri: proxyUrl.href, pipelining: !this._keepAlive ? 0 : 1 }, ((proxyUrl.username || proxyUrl.password) && {\n token: `Basic ${Buffer.from(`${proxyUrl.username}:${proxyUrl.password}`).toString('base64')}`\n })));\n this._proxyAgentDispatcher = proxyAgent;\n if (usingSsl && this._ignoreSslError) {\n // we don't want to set NODE_TLS_REJECT_UNAUTHORIZED=0 since that will affect request for entire process\n // http.RequestOptions doesn't expose a way to modify RequestOptions.agent.options\n // we have to cast it to any and change it directly\n proxyAgent.options = Object.assign(proxyAgent.options.requestTls || {}, {\n rejectUnauthorized: false\n });\n }\n return proxyAgent;\n }\n _getUserAgentWithOrchestrationId(userAgent) {\n const baseUserAgent = userAgent || 'actions/http-client';\n const orchId = process.env['ACTIONS_ORCHESTRATION_ID'];\n if (orchId) {\n // Sanitize the orchestration ID to ensure it contains only valid characters\n // Valid characters: 0-9, a-z, _, -, .\n const sanitizedId = orchId.replace(/[^a-z0-9_.-]/gi, '_');\n return `${baseUserAgent} actions_orchestration_id/${sanitizedId}`;\n }\n return baseUserAgent;\n }\n _performExponentialBackoff(retryNumber) {\n return __awaiter(this, void 0, void 0, function* () {\n retryNumber = Math.min(ExponentialBackoffCeiling, retryNumber);\n const ms = ExponentialBackoffTimeSlice * Math.pow(2, retryNumber);\n return new Promise(resolve => setTimeout(() => resolve(), ms));\n });\n }\n _processResponse(res, options) {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise((resolve, reject) => __awaiter(this, void 0, void 0, function* () {\n const statusCode = res.message.statusCode || 0;\n const response = {\n statusCode,\n result: null,\n headers: {}\n };\n // not found leads to null obj returned\n if (statusCode === HttpCodes.NotFound) {\n resolve(response);\n }\n // get the result from the body\n function dateTimeDeserializer(key, value) {\n if (typeof value === 'string') {\n const a = new Date(value);\n if (!isNaN(a.valueOf())) {\n return a;\n }\n }\n return value;\n }\n let obj;\n let contents;\n try {\n contents = yield res.readBody();\n if (contents && contents.length > 0) {\n if (options && options.deserializeDates) {\n obj = JSON.parse(contents, dateTimeDeserializer);\n }\n else {\n obj = JSON.parse(contents);\n }\n response.result = obj;\n }\n response.headers = res.message.headers;\n }\n catch (err) {\n // Invalid resource (contents not json); leaving result obj null\n }\n // note that 3xx redirects are handled by the http layer.\n if (statusCode > 299) {\n let msg;\n // if exception/error in body, attempt to get better error\n if (obj && obj.message) {\n msg = obj.message;\n }\n else if (contents && contents.length > 0) {\n // it may be the case that the exception is in the body message as string\n msg = contents;\n }\n else {\n msg = `Failed request: (${statusCode})`;\n }\n const err = new HttpClientError(msg, statusCode);\n err.result = response.result;\n reject(err);\n }\n else {\n resolve(response);\n }\n }));\n });\n }\n}\nexports.HttpClient = HttpClient;\nconst lowercaseKeys = (obj) => Object.keys(obj).reduce((c, k) => ((c[k.toLowerCase()] = obj[k]), c), {});\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getProxyUrl = getProxyUrl;\nexports.checkBypass = checkBypass;\nfunction getProxyUrl(reqUrl) {\n const usingSsl = reqUrl.protocol === 'https:';\n if (checkBypass(reqUrl)) {\n return undefined;\n }\n const proxyVar = (() => {\n if (usingSsl) {\n return process.env['https_proxy'] || process.env['HTTPS_PROXY'];\n }\n else {\n return process.env['http_proxy'] || process.env['HTTP_PROXY'];\n }\n })();\n if (proxyVar) {\n try {\n return new DecodedURL(proxyVar);\n }\n catch (_a) {\n if (!proxyVar.startsWith('http://') && !proxyVar.startsWith('https://'))\n return new DecodedURL(`http://${proxyVar}`);\n }\n }\n else {\n return undefined;\n }\n}\nfunction checkBypass(reqUrl) {\n if (!reqUrl.hostname) {\n return false;\n }\n const reqHost = reqUrl.hostname;\n if (isLoopbackAddress(reqHost)) {\n return true;\n }\n const noProxy = process.env['no_proxy'] || process.env['NO_PROXY'] || '';\n if (!noProxy) {\n return false;\n }\n // Determine the request port\n let reqPort;\n if (reqUrl.port) {\n reqPort = Number(reqUrl.port);\n }\n else if (reqUrl.protocol === 'http:') {\n reqPort = 80;\n }\n else if (reqUrl.protocol === 'https:') {\n reqPort = 443;\n }\n // Format the request hostname and hostname with port\n const upperReqHosts = [reqUrl.hostname.toUpperCase()];\n if (typeof reqPort === 'number') {\n upperReqHosts.push(`${upperReqHosts[0]}:${reqPort}`);\n }\n // Compare request host against noproxy\n for (const upperNoProxyItem of noProxy\n .split(',')\n .map(x => x.trim().toUpperCase())\n .filter(x => x)) {\n if (upperNoProxyItem === '*' ||\n upperReqHosts.some(x => x === upperNoProxyItem ||\n x.endsWith(`.${upperNoProxyItem}`) ||\n (upperNoProxyItem.startsWith('.') &&\n x.endsWith(`${upperNoProxyItem}`)))) {\n return true;\n }\n }\n return false;\n}\nfunction isLoopbackAddress(host) {\n const hostLower = host.toLowerCase();\n return (hostLower === 'localhost' ||\n hostLower.startsWith('127.') ||\n hostLower.startsWith('[::1]') ||\n hostLower.startsWith('[0:0:0:0:0:0:0:1]'));\n}\nclass DecodedURL extends URL {\n constructor(url, base) {\n super(url, base);\n this._decodedUsername = decodeURIComponent(super.username);\n this._decodedPassword = decodeURIComponent(super.password);\n }\n get username() {\n return this._decodedUsername;\n }\n get password() {\n return this._decodedPassword;\n }\n}\n//# sourceMappingURL=proxy.js.map","'use strict'\n\nconst Client = require('./lib/dispatcher/client')\nconst Dispatcher = require('./lib/dispatcher/dispatcher')\nconst Pool = require('./lib/dispatcher/pool')\nconst BalancedPool = require('./lib/dispatcher/balanced-pool')\nconst Agent = require('./lib/dispatcher/agent')\nconst ProxyAgent = require('./lib/dispatcher/proxy-agent')\nconst EnvHttpProxyAgent = require('./lib/dispatcher/env-http-proxy-agent')\nconst RetryAgent = require('./lib/dispatcher/retry-agent')\nconst errors = require('./lib/core/errors')\nconst util = require('./lib/core/util')\nconst { InvalidArgumentError } = errors\nconst api = require('./lib/api')\nconst buildConnector = require('./lib/core/connect')\nconst MockClient = require('./lib/mock/mock-client')\nconst MockAgent = require('./lib/mock/mock-agent')\nconst MockPool = require('./lib/mock/mock-pool')\nconst mockErrors = require('./lib/mock/mock-errors')\nconst RetryHandler = require('./lib/handler/retry-handler')\nconst { getGlobalDispatcher, setGlobalDispatcher } = require('./lib/global')\nconst DecoratorHandler = require('./lib/handler/decorator-handler')\nconst RedirectHandler = require('./lib/handler/redirect-handler')\nconst createRedirectInterceptor = require('./lib/interceptor/redirect-interceptor')\n\nObject.assign(Dispatcher.prototype, api)\n\nmodule.exports.Dispatcher = Dispatcher\nmodule.exports.Client = Client\nmodule.exports.Pool = Pool\nmodule.exports.BalancedPool = BalancedPool\nmodule.exports.Agent = Agent\nmodule.exports.ProxyAgent = ProxyAgent\nmodule.exports.EnvHttpProxyAgent = EnvHttpProxyAgent\nmodule.exports.RetryAgent = RetryAgent\nmodule.exports.RetryHandler = RetryHandler\n\nmodule.exports.DecoratorHandler = DecoratorHandler\nmodule.exports.RedirectHandler = RedirectHandler\nmodule.exports.createRedirectInterceptor = createRedirectInterceptor\nmodule.exports.interceptors = {\n redirect: require('./lib/interceptor/redirect'),\n retry: require('./lib/interceptor/retry'),\n dump: require('./lib/interceptor/dump'),\n dns: require('./lib/interceptor/dns')\n}\n\nmodule.exports.buildConnector = buildConnector\nmodule.exports.errors = errors\nmodule.exports.util = {\n parseHeaders: util.parseHeaders,\n headerNameToString: util.headerNameToString\n}\n\nfunction makeDispatcher (fn) {\n return (url, opts, handler) => {\n if (typeof opts === 'function') {\n handler = opts\n opts = null\n }\n\n if (!url || (typeof url !== 'string' && typeof url !== 'object' && !(url instanceof URL))) {\n throw new InvalidArgumentError('invalid url')\n }\n\n if (opts != null && typeof opts !== 'object') {\n throw new InvalidArgumentError('invalid opts')\n }\n\n if (opts && opts.path != null) {\n if (typeof opts.path !== 'string') {\n throw new InvalidArgumentError('invalid opts.path')\n }\n\n let path = opts.path\n if (!opts.path.startsWith('/')) {\n path = `/${path}`\n }\n\n url = new URL(util.parseOrigin(url).origin + path)\n } else {\n if (!opts) {\n opts = typeof url === 'object' ? url : {}\n }\n\n url = util.parseURL(url)\n }\n\n const { agent, dispatcher = getGlobalDispatcher() } = opts\n\n if (agent) {\n throw new InvalidArgumentError('unsupported opts.agent. Did you mean opts.client?')\n }\n\n return fn.call(dispatcher, {\n ...opts,\n origin: url.origin,\n path: url.search ? `${url.pathname}${url.search}` : url.pathname,\n method: opts.method || (opts.body ? 'PUT' : 'GET')\n }, handler)\n }\n}\n\nmodule.exports.setGlobalDispatcher = setGlobalDispatcher\nmodule.exports.getGlobalDispatcher = getGlobalDispatcher\n\nconst fetchImpl = require('./lib/web/fetch').fetch\nmodule.exports.fetch = async function fetch (init, options = undefined) {\n try {\n return await fetchImpl(init, options)\n } catch (err) {\n if (err && typeof err === 'object') {\n Error.captureStackTrace(err)\n }\n\n throw err\n }\n}\nmodule.exports.Headers = require('./lib/web/fetch/headers').Headers\nmodule.exports.Response = require('./lib/web/fetch/response').Response\nmodule.exports.Request = require('./lib/web/fetch/request').Request\nmodule.exports.FormData = require('./lib/web/fetch/formdata').FormData\nmodule.exports.File = globalThis.File ?? require('node:buffer').File\nmodule.exports.FileReader = require('./lib/web/fileapi/filereader').FileReader\n\nconst { setGlobalOrigin, getGlobalOrigin } = require('./lib/web/fetch/global')\n\nmodule.exports.setGlobalOrigin = setGlobalOrigin\nmodule.exports.getGlobalOrigin = getGlobalOrigin\n\nconst { CacheStorage } = require('./lib/web/cache/cachestorage')\nconst { kConstruct } = require('./lib/web/cache/symbols')\n\n// Cache & CacheStorage are tightly coupled with fetch. Even if it may run\n// in an older version of Node, it doesn't have any use without fetch.\nmodule.exports.caches = new CacheStorage(kConstruct)\n\nconst { deleteCookie, getCookies, getSetCookies, setCookie } = require('./lib/web/cookies')\n\nmodule.exports.deleteCookie = deleteCookie\nmodule.exports.getCookies = getCookies\nmodule.exports.getSetCookies = getSetCookies\nmodule.exports.setCookie = setCookie\n\nconst { parseMIMEType, serializeAMimeType } = require('./lib/web/fetch/data-url')\n\nmodule.exports.parseMIMEType = parseMIMEType\nmodule.exports.serializeAMimeType = serializeAMimeType\n\nconst { CloseEvent, ErrorEvent, MessageEvent } = require('./lib/web/websocket/events')\nmodule.exports.WebSocket = require('./lib/web/websocket/websocket').WebSocket\nmodule.exports.CloseEvent = CloseEvent\nmodule.exports.ErrorEvent = ErrorEvent\nmodule.exports.MessageEvent = MessageEvent\n\nmodule.exports.request = makeDispatcher(api.request)\nmodule.exports.stream = makeDispatcher(api.stream)\nmodule.exports.pipeline = makeDispatcher(api.pipeline)\nmodule.exports.connect = makeDispatcher(api.connect)\nmodule.exports.upgrade = makeDispatcher(api.upgrade)\n\nmodule.exports.MockClient = MockClient\nmodule.exports.MockPool = MockPool\nmodule.exports.MockAgent = MockAgent\nmodule.exports.mockErrors = mockErrors\n\nconst { EventSource } = require('./lib/web/eventsource/eventsource')\n\nmodule.exports.EventSource = EventSource\n","const { addAbortListener } = require('../core/util')\nconst { RequestAbortedError } = require('../core/errors')\n\nconst kListener = Symbol('kListener')\nconst kSignal = Symbol('kSignal')\n\nfunction abort (self) {\n if (self.abort) {\n self.abort(self[kSignal]?.reason)\n } else {\n self.reason = self[kSignal]?.reason ?? new RequestAbortedError()\n }\n removeSignal(self)\n}\n\nfunction addSignal (self, signal) {\n self.reason = null\n\n self[kSignal] = null\n self[kListener] = null\n\n if (!signal) {\n return\n }\n\n if (signal.aborted) {\n abort(self)\n return\n }\n\n self[kSignal] = signal\n self[kListener] = () => {\n abort(self)\n }\n\n addAbortListener(self[kSignal], self[kListener])\n}\n\nfunction removeSignal (self) {\n if (!self[kSignal]) {\n return\n }\n\n if ('removeEventListener' in self[kSignal]) {\n self[kSignal].removeEventListener('abort', self[kListener])\n } else {\n self[kSignal].removeListener('abort', self[kListener])\n }\n\n self[kSignal] = null\n self[kListener] = null\n}\n\nmodule.exports = {\n addSignal,\n removeSignal\n}\n","'use strict'\n\nconst assert = require('node:assert')\nconst { AsyncResource } = require('node:async_hooks')\nconst { InvalidArgumentError, SocketError } = require('../core/errors')\nconst util = require('../core/util')\nconst { addSignal, removeSignal } = require('./abort-signal')\n\nclass ConnectHandler extends AsyncResource {\n constructor (opts, callback) {\n if (!opts || typeof opts !== 'object') {\n throw new InvalidArgumentError('invalid opts')\n }\n\n if (typeof callback !== 'function') {\n throw new InvalidArgumentError('invalid callback')\n }\n\n const { signal, opaque, responseHeaders } = opts\n\n if (signal && typeof signal.on !== 'function' && typeof signal.addEventListener !== 'function') {\n throw new InvalidArgumentError('signal must be an EventEmitter or EventTarget')\n }\n\n super('UNDICI_CONNECT')\n\n this.opaque = opaque || null\n this.responseHeaders = responseHeaders || null\n this.callback = callback\n this.abort = null\n\n addSignal(this, signal)\n }\n\n onConnect (abort, context) {\n if (this.reason) {\n abort(this.reason)\n return\n }\n\n assert(this.callback)\n\n this.abort = abort\n this.context = context\n }\n\n onHeaders () {\n throw new SocketError('bad connect', null)\n }\n\n onUpgrade (statusCode, rawHeaders, socket) {\n const { callback, opaque, context } = this\n\n removeSignal(this)\n\n this.callback = null\n\n let headers = rawHeaders\n // Indicates is an HTTP2Session\n if (headers != null) {\n headers = this.responseHeaders === 'raw' ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders)\n }\n\n this.runInAsyncScope(callback, null, null, {\n statusCode,\n headers,\n socket,\n opaque,\n context\n })\n }\n\n onError (err) {\n const { callback, opaque } = this\n\n removeSignal(this)\n\n if (callback) {\n this.callback = null\n queueMicrotask(() => {\n this.runInAsyncScope(callback, null, err, { opaque })\n })\n }\n }\n}\n\nfunction connect (opts, callback) {\n if (callback === undefined) {\n return new Promise((resolve, reject) => {\n connect.call(this, opts, (err, data) => {\n return err ? reject(err) : resolve(data)\n })\n })\n }\n\n try {\n const connectHandler = new ConnectHandler(opts, callback)\n this.dispatch({ ...opts, method: 'CONNECT' }, connectHandler)\n } catch (err) {\n if (typeof callback !== 'function') {\n throw err\n }\n const opaque = opts?.opaque\n queueMicrotask(() => callback(err, { opaque }))\n }\n}\n\nmodule.exports = connect\n","'use strict'\n\nconst {\n Readable,\n Duplex,\n PassThrough\n} = require('node:stream')\nconst {\n InvalidArgumentError,\n InvalidReturnValueError,\n RequestAbortedError\n} = require('../core/errors')\nconst util = require('../core/util')\nconst { AsyncResource } = require('node:async_hooks')\nconst { addSignal, removeSignal } = require('./abort-signal')\nconst assert = require('node:assert')\n\nconst kResume = Symbol('resume')\n\nclass PipelineRequest extends Readable {\n constructor () {\n super({ autoDestroy: true })\n\n this[kResume] = null\n }\n\n _read () {\n const { [kResume]: resume } = this\n\n if (resume) {\n this[kResume] = null\n resume()\n }\n }\n\n _destroy (err, callback) {\n this._read()\n\n callback(err)\n }\n}\n\nclass PipelineResponse extends Readable {\n constructor (resume) {\n super({ autoDestroy: true })\n this[kResume] = resume\n }\n\n _read () {\n this[kResume]()\n }\n\n _destroy (err, callback) {\n if (!err && !this._readableState.endEmitted) {\n err = new RequestAbortedError()\n }\n\n callback(err)\n }\n}\n\nclass PipelineHandler extends AsyncResource {\n constructor (opts, handler) {\n if (!opts || typeof opts !== 'object') {\n throw new InvalidArgumentError('invalid opts')\n }\n\n if (typeof handler !== 'function') {\n throw new InvalidArgumentError('invalid handler')\n }\n\n const { signal, method, opaque, onInfo, responseHeaders } = opts\n\n if (signal && typeof signal.on !== 'function' && typeof signal.addEventListener !== 'function') {\n throw new InvalidArgumentError('signal must be an EventEmitter or EventTarget')\n }\n\n if (method === 'CONNECT') {\n throw new InvalidArgumentError('invalid method')\n }\n\n if (onInfo && typeof onInfo !== 'function') {\n throw new InvalidArgumentError('invalid onInfo callback')\n }\n\n super('UNDICI_PIPELINE')\n\n this.opaque = opaque || null\n this.responseHeaders = responseHeaders || null\n this.handler = handler\n this.abort = null\n this.context = null\n this.onInfo = onInfo || null\n\n this.req = new PipelineRequest().on('error', util.nop)\n\n this.ret = new Duplex({\n readableObjectMode: opts.objectMode,\n autoDestroy: true,\n read: () => {\n const { body } = this\n\n if (body?.resume) {\n body.resume()\n }\n },\n write: (chunk, encoding, callback) => {\n const { req } = this\n\n if (req.push(chunk, encoding) || req._readableState.destroyed) {\n callback()\n } else {\n req[kResume] = callback\n }\n },\n destroy: (err, callback) => {\n const { body, req, res, ret, abort } = this\n\n if (!err && !ret._readableState.endEmitted) {\n err = new RequestAbortedError()\n }\n\n if (abort && err) {\n abort()\n }\n\n util.destroy(body, err)\n util.destroy(req, err)\n util.destroy(res, err)\n\n removeSignal(this)\n\n callback(err)\n }\n }).on('prefinish', () => {\n const { req } = this\n\n // Node < 15 does not call _final in same tick.\n req.push(null)\n })\n\n this.res = null\n\n addSignal(this, signal)\n }\n\n onConnect (abort, context) {\n const { ret, res } = this\n\n if (this.reason) {\n abort(this.reason)\n return\n }\n\n assert(!res, 'pipeline cannot be retried')\n assert(!ret.destroyed)\n\n this.abort = abort\n this.context = context\n }\n\n onHeaders (statusCode, rawHeaders, resume) {\n const { opaque, handler, context } = this\n\n if (statusCode < 200) {\n if (this.onInfo) {\n const headers = this.responseHeaders === 'raw' ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders)\n this.onInfo({ statusCode, headers })\n }\n return\n }\n\n this.res = new PipelineResponse(resume)\n\n let body\n try {\n this.handler = null\n const headers = this.responseHeaders === 'raw' ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders)\n body = this.runInAsyncScope(handler, null, {\n statusCode,\n headers,\n opaque,\n body: this.res,\n context\n })\n } catch (err) {\n this.res.on('error', util.nop)\n throw err\n }\n\n if (!body || typeof body.on !== 'function') {\n throw new InvalidReturnValueError('expected Readable')\n }\n\n body\n .on('data', (chunk) => {\n const { ret, body } = this\n\n if (!ret.push(chunk) && body.pause) {\n body.pause()\n }\n })\n .on('error', (err) => {\n const { ret } = this\n\n util.destroy(ret, err)\n })\n .on('end', () => {\n const { ret } = this\n\n ret.push(null)\n })\n .on('close', () => {\n const { ret } = this\n\n if (!ret._readableState.ended) {\n util.destroy(ret, new RequestAbortedError())\n }\n })\n\n this.body = body\n }\n\n onData (chunk) {\n const { res } = this\n return res.push(chunk)\n }\n\n onComplete (trailers) {\n const { res } = this\n res.push(null)\n }\n\n onError (err) {\n const { ret } = this\n this.handler = null\n util.destroy(ret, err)\n }\n}\n\nfunction pipeline (opts, handler) {\n try {\n const pipelineHandler = new PipelineHandler(opts, handler)\n this.dispatch({ ...opts, body: pipelineHandler.req }, pipelineHandler)\n return pipelineHandler.ret\n } catch (err) {\n return new PassThrough().destroy(err)\n }\n}\n\nmodule.exports = pipeline\n","'use strict'\n\nconst assert = require('node:assert')\nconst { Readable } = require('./readable')\nconst { InvalidArgumentError, RequestAbortedError } = require('../core/errors')\nconst util = require('../core/util')\nconst { getResolveErrorBodyCallback } = require('./util')\nconst { AsyncResource } = require('node:async_hooks')\n\nclass RequestHandler extends AsyncResource {\n constructor (opts, callback) {\n if (!opts || typeof opts !== 'object') {\n throw new InvalidArgumentError('invalid opts')\n }\n\n const { signal, method, opaque, body, onInfo, responseHeaders, throwOnError, highWaterMark } = opts\n\n try {\n if (typeof callback !== 'function') {\n throw new InvalidArgumentError('invalid callback')\n }\n\n if (highWaterMark && (typeof highWaterMark !== 'number' || highWaterMark < 0)) {\n throw new InvalidArgumentError('invalid highWaterMark')\n }\n\n if (signal && typeof signal.on !== 'function' && typeof signal.addEventListener !== 'function') {\n throw new InvalidArgumentError('signal must be an EventEmitter or EventTarget')\n }\n\n if (method === 'CONNECT') {\n throw new InvalidArgumentError('invalid method')\n }\n\n if (onInfo && typeof onInfo !== 'function') {\n throw new InvalidArgumentError('invalid onInfo callback')\n }\n\n super('UNDICI_REQUEST')\n } catch (err) {\n if (util.isStream(body)) {\n util.destroy(body.on('error', util.nop), err)\n }\n throw err\n }\n\n this.method = method\n this.responseHeaders = responseHeaders || null\n this.opaque = opaque || null\n this.callback = callback\n this.res = null\n this.abort = null\n this.body = body\n this.trailers = {}\n this.context = null\n this.onInfo = onInfo || null\n this.throwOnError = throwOnError\n this.highWaterMark = highWaterMark\n this.signal = signal\n this.reason = null\n this.removeAbortListener = null\n\n if (util.isStream(body)) {\n body.on('error', (err) => {\n this.onError(err)\n })\n }\n\n if (this.signal) {\n if (this.signal.aborted) {\n this.reason = this.signal.reason ?? new RequestAbortedError()\n } else {\n this.removeAbortListener = util.addAbortListener(this.signal, () => {\n this.reason = this.signal.reason ?? new RequestAbortedError()\n if (this.res) {\n util.destroy(this.res.on('error', util.nop), this.reason)\n } else if (this.abort) {\n this.abort(this.reason)\n }\n\n if (this.removeAbortListener) {\n this.res?.off('close', this.removeAbortListener)\n this.removeAbortListener()\n this.removeAbortListener = null\n }\n })\n }\n }\n }\n\n onConnect (abort, context) {\n if (this.reason) {\n abort(this.reason)\n return\n }\n\n assert(this.callback)\n\n this.abort = abort\n this.context = context\n }\n\n onHeaders (statusCode, rawHeaders, resume, statusMessage) {\n const { callback, opaque, abort, context, responseHeaders, highWaterMark } = this\n\n const headers = responseHeaders === 'raw' ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders)\n\n if (statusCode < 200) {\n if (this.onInfo) {\n this.onInfo({ statusCode, headers })\n }\n return\n }\n\n const parsedHeaders = responseHeaders === 'raw' ? util.parseHeaders(rawHeaders) : headers\n const contentType = parsedHeaders['content-type']\n const contentLength = parsedHeaders['content-length']\n const res = new Readable({\n resume,\n abort,\n contentType,\n contentLength: this.method !== 'HEAD' && contentLength\n ? Number(contentLength)\n : null,\n highWaterMark\n })\n\n if (this.removeAbortListener) {\n res.on('close', this.removeAbortListener)\n }\n\n this.callback = null\n this.res = res\n if (callback !== null) {\n if (this.throwOnError && statusCode >= 400) {\n this.runInAsyncScope(getResolveErrorBodyCallback, null,\n { callback, body: res, contentType, statusCode, statusMessage, headers }\n )\n } else {\n this.runInAsyncScope(callback, null, null, {\n statusCode,\n headers,\n trailers: this.trailers,\n opaque,\n body: res,\n context\n })\n }\n }\n }\n\n onData (chunk) {\n return this.res.push(chunk)\n }\n\n onComplete (trailers) {\n util.parseHeaders(trailers, this.trailers)\n this.res.push(null)\n }\n\n onError (err) {\n const { res, callback, body, opaque } = this\n\n if (callback) {\n // TODO: Does this need queueMicrotask?\n this.callback = null\n queueMicrotask(() => {\n this.runInAsyncScope(callback, null, err, { opaque })\n })\n }\n\n if (res) {\n this.res = null\n // Ensure all queued handlers are invoked before destroying res.\n queueMicrotask(() => {\n util.destroy(res, err)\n })\n }\n\n if (body) {\n this.body = null\n util.destroy(body, err)\n }\n\n if (this.removeAbortListener) {\n res?.off('close', this.removeAbortListener)\n this.removeAbortListener()\n this.removeAbortListener = null\n }\n }\n}\n\nfunction request (opts, callback) {\n if (callback === undefined) {\n return new Promise((resolve, reject) => {\n request.call(this, opts, (err, data) => {\n return err ? reject(err) : resolve(data)\n })\n })\n }\n\n try {\n this.dispatch(opts, new RequestHandler(opts, callback))\n } catch (err) {\n if (typeof callback !== 'function') {\n throw err\n }\n const opaque = opts?.opaque\n queueMicrotask(() => callback(err, { opaque }))\n }\n}\n\nmodule.exports = request\nmodule.exports.RequestHandler = RequestHandler\n","'use strict'\n\nconst assert = require('node:assert')\nconst { finished, PassThrough } = require('node:stream')\nconst { InvalidArgumentError, InvalidReturnValueError } = require('../core/errors')\nconst util = require('../core/util')\nconst { getResolveErrorBodyCallback } = require('./util')\nconst { AsyncResource } = require('node:async_hooks')\nconst { addSignal, removeSignal } = require('./abort-signal')\n\nclass StreamHandler extends AsyncResource {\n constructor (opts, factory, callback) {\n if (!opts || typeof opts !== 'object') {\n throw new InvalidArgumentError('invalid opts')\n }\n\n const { signal, method, opaque, body, onInfo, responseHeaders, throwOnError } = opts\n\n try {\n if (typeof callback !== 'function') {\n throw new InvalidArgumentError('invalid callback')\n }\n\n if (typeof factory !== 'function') {\n throw new InvalidArgumentError('invalid factory')\n }\n\n if (signal && typeof signal.on !== 'function' && typeof signal.addEventListener !== 'function') {\n throw new InvalidArgumentError('signal must be an EventEmitter or EventTarget')\n }\n\n if (method === 'CONNECT') {\n throw new InvalidArgumentError('invalid method')\n }\n\n if (onInfo && typeof onInfo !== 'function') {\n throw new InvalidArgumentError('invalid onInfo callback')\n }\n\n super('UNDICI_STREAM')\n } catch (err) {\n if (util.isStream(body)) {\n util.destroy(body.on('error', util.nop), err)\n }\n throw err\n }\n\n this.responseHeaders = responseHeaders || null\n this.opaque = opaque || null\n this.factory = factory\n this.callback = callback\n this.res = null\n this.abort = null\n this.context = null\n this.trailers = null\n this.body = body\n this.onInfo = onInfo || null\n this.throwOnError = throwOnError || false\n\n if (util.isStream(body)) {\n body.on('error', (err) => {\n this.onError(err)\n })\n }\n\n addSignal(this, signal)\n }\n\n onConnect (abort, context) {\n if (this.reason) {\n abort(this.reason)\n return\n }\n\n assert(this.callback)\n\n this.abort = abort\n this.context = context\n }\n\n onHeaders (statusCode, rawHeaders, resume, statusMessage) {\n const { factory, opaque, context, callback, responseHeaders } = this\n\n const headers = responseHeaders === 'raw' ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders)\n\n if (statusCode < 200) {\n if (this.onInfo) {\n this.onInfo({ statusCode, headers })\n }\n return\n }\n\n this.factory = null\n\n let res\n\n if (this.throwOnError && statusCode >= 400) {\n const parsedHeaders = responseHeaders === 'raw' ? util.parseHeaders(rawHeaders) : headers\n const contentType = parsedHeaders['content-type']\n res = new PassThrough()\n\n this.callback = null\n this.runInAsyncScope(getResolveErrorBodyCallback, null,\n { callback, body: res, contentType, statusCode, statusMessage, headers }\n )\n } else {\n if (factory === null) {\n return\n }\n\n res = this.runInAsyncScope(factory, null, {\n statusCode,\n headers,\n opaque,\n context\n })\n\n if (\n !res ||\n typeof res.write !== 'function' ||\n typeof res.end !== 'function' ||\n typeof res.on !== 'function'\n ) {\n throw new InvalidReturnValueError('expected Writable')\n }\n\n // TODO: Avoid finished. It registers an unnecessary amount of listeners.\n finished(res, { readable: false }, (err) => {\n const { callback, res, opaque, trailers, abort } = this\n\n this.res = null\n if (err || !res.readable) {\n util.destroy(res, err)\n }\n\n this.callback = null\n this.runInAsyncScope(callback, null, err || null, { opaque, trailers })\n\n if (err) {\n abort()\n }\n })\n }\n\n res.on('drain', resume)\n\n this.res = res\n\n const needDrain = res.writableNeedDrain !== undefined\n ? res.writableNeedDrain\n : res._writableState?.needDrain\n\n return needDrain !== true\n }\n\n onData (chunk) {\n const { res } = this\n\n return res ? res.write(chunk) : true\n }\n\n onComplete (trailers) {\n const { res } = this\n\n removeSignal(this)\n\n if (!res) {\n return\n }\n\n this.trailers = util.parseHeaders(trailers)\n\n res.end()\n }\n\n onError (err) {\n const { res, callback, opaque, body } = this\n\n removeSignal(this)\n\n this.factory = null\n\n if (res) {\n this.res = null\n util.destroy(res, err)\n } else if (callback) {\n this.callback = null\n queueMicrotask(() => {\n this.runInAsyncScope(callback, null, err, { opaque })\n })\n }\n\n if (body) {\n this.body = null\n util.destroy(body, err)\n }\n }\n}\n\nfunction stream (opts, factory, callback) {\n if (callback === undefined) {\n return new Promise((resolve, reject) => {\n stream.call(this, opts, factory, (err, data) => {\n return err ? reject(err) : resolve(data)\n })\n })\n }\n\n try {\n this.dispatch(opts, new StreamHandler(opts, factory, callback))\n } catch (err) {\n if (typeof callback !== 'function') {\n throw err\n }\n const opaque = opts?.opaque\n queueMicrotask(() => callback(err, { opaque }))\n }\n}\n\nmodule.exports = stream\n","'use strict'\n\nconst { InvalidArgumentError, SocketError } = require('../core/errors')\nconst { AsyncResource } = require('node:async_hooks')\nconst util = require('../core/util')\nconst { addSignal, removeSignal } = require('./abort-signal')\nconst assert = require('node:assert')\n\nclass UpgradeHandler extends AsyncResource {\n constructor (opts, callback) {\n if (!opts || typeof opts !== 'object') {\n throw new InvalidArgumentError('invalid opts')\n }\n\n if (typeof callback !== 'function') {\n throw new InvalidArgumentError('invalid callback')\n }\n\n const { signal, opaque, responseHeaders } = opts\n\n if (signal && typeof signal.on !== 'function' && typeof signal.addEventListener !== 'function') {\n throw new InvalidArgumentError('signal must be an EventEmitter or EventTarget')\n }\n\n super('UNDICI_UPGRADE')\n\n this.responseHeaders = responseHeaders || null\n this.opaque = opaque || null\n this.callback = callback\n this.abort = null\n this.context = null\n\n addSignal(this, signal)\n }\n\n onConnect (abort, context) {\n if (this.reason) {\n abort(this.reason)\n return\n }\n\n assert(this.callback)\n\n this.abort = abort\n this.context = null\n }\n\n onHeaders () {\n throw new SocketError('bad upgrade', null)\n }\n\n onUpgrade (statusCode, rawHeaders, socket) {\n assert(statusCode === 101)\n\n const { callback, opaque, context } = this\n\n removeSignal(this)\n\n this.callback = null\n const headers = this.responseHeaders === 'raw' ? util.parseRawHeaders(rawHeaders) : util.parseHeaders(rawHeaders)\n this.runInAsyncScope(callback, null, null, {\n headers,\n socket,\n opaque,\n context\n })\n }\n\n onError (err) {\n const { callback, opaque } = this\n\n removeSignal(this)\n\n if (callback) {\n this.callback = null\n queueMicrotask(() => {\n this.runInAsyncScope(callback, null, err, { opaque })\n })\n }\n }\n}\n\nfunction upgrade (opts, callback) {\n if (callback === undefined) {\n return new Promise((resolve, reject) => {\n upgrade.call(this, opts, (err, data) => {\n return err ? reject(err) : resolve(data)\n })\n })\n }\n\n try {\n const upgradeHandler = new UpgradeHandler(opts, callback)\n this.dispatch({\n ...opts,\n method: opts.method || 'GET',\n upgrade: opts.protocol || 'Websocket'\n }, upgradeHandler)\n } catch (err) {\n if (typeof callback !== 'function') {\n throw err\n }\n const opaque = opts?.opaque\n queueMicrotask(() => callback(err, { opaque }))\n }\n}\n\nmodule.exports = upgrade\n","'use strict'\n\nmodule.exports.request = require('./api-request')\nmodule.exports.stream = require('./api-stream')\nmodule.exports.pipeline = require('./api-pipeline')\nmodule.exports.upgrade = require('./api-upgrade')\nmodule.exports.connect = require('./api-connect')\n","// Ported from https://github.com/nodejs/undici/pull/907\n\n'use strict'\n\nconst assert = require('node:assert')\nconst { Readable } = require('node:stream')\nconst { RequestAbortedError, NotSupportedError, InvalidArgumentError, AbortError } = require('../core/errors')\nconst util = require('../core/util')\nconst { ReadableStreamFrom } = require('../core/util')\n\nconst kConsume = Symbol('kConsume')\nconst kReading = Symbol('kReading')\nconst kBody = Symbol('kBody')\nconst kAbort = Symbol('kAbort')\nconst kContentType = Symbol('kContentType')\nconst kContentLength = Symbol('kContentLength')\n\nconst noop = () => {}\n\nclass BodyReadable extends Readable {\n constructor ({\n resume,\n abort,\n contentType = '',\n contentLength,\n highWaterMark = 64 * 1024 // Same as nodejs fs streams.\n }) {\n super({\n autoDestroy: true,\n read: resume,\n highWaterMark\n })\n\n this._readableState.dataEmitted = false\n\n this[kAbort] = abort\n this[kConsume] = null\n this[kBody] = null\n this[kContentType] = contentType\n this[kContentLength] = contentLength\n\n // Is stream being consumed through Readable API?\n // This is an optimization so that we avoid checking\n // for 'data' and 'readable' listeners in the hot path\n // inside push().\n this[kReading] = false\n }\n\n destroy (err) {\n if (!err && !this._readableState.endEmitted) {\n err = new RequestAbortedError()\n }\n\n if (err) {\n this[kAbort]()\n }\n\n return super.destroy(err)\n }\n\n _destroy (err, callback) {\n // Workaround for Node \"bug\". If the stream is destroyed in same\n // tick as it is created, then a user who is waiting for a\n // promise (i.e micro tick) for installing a 'error' listener will\n // never get a chance and will always encounter an unhandled exception.\n if (!this[kReading]) {\n setImmediate(() => {\n callback(err)\n })\n } else {\n callback(err)\n }\n }\n\n on (ev, ...args) {\n if (ev === 'data' || ev === 'readable') {\n this[kReading] = true\n }\n return super.on(ev, ...args)\n }\n\n addListener (ev, ...args) {\n return this.on(ev, ...args)\n }\n\n off (ev, ...args) {\n const ret = super.off(ev, ...args)\n if (ev === 'data' || ev === 'readable') {\n this[kReading] = (\n this.listenerCount('data') > 0 ||\n this.listenerCount('readable') > 0\n )\n }\n return ret\n }\n\n removeListener (ev, ...args) {\n return this.off(ev, ...args)\n }\n\n push (chunk) {\n if (this[kConsume] && chunk !== null) {\n consumePush(this[kConsume], chunk)\n return this[kReading] ? super.push(chunk) : true\n }\n return super.push(chunk)\n }\n\n // https://fetch.spec.whatwg.org/#dom-body-text\n async text () {\n return consume(this, 'text')\n }\n\n // https://fetch.spec.whatwg.org/#dom-body-json\n async json () {\n return consume(this, 'json')\n }\n\n // https://fetch.spec.whatwg.org/#dom-body-blob\n async blob () {\n return consume(this, 'blob')\n }\n\n // https://fetch.spec.whatwg.org/#dom-body-bytes\n async bytes () {\n return consume(this, 'bytes')\n }\n\n // https://fetch.spec.whatwg.org/#dom-body-arraybuffer\n async arrayBuffer () {\n return consume(this, 'arrayBuffer')\n }\n\n // https://fetch.spec.whatwg.org/#dom-body-formdata\n async formData () {\n // TODO: Implement.\n throw new NotSupportedError()\n }\n\n // https://fetch.spec.whatwg.org/#dom-body-bodyused\n get bodyUsed () {\n return util.isDisturbed(this)\n }\n\n // https://fetch.spec.whatwg.org/#dom-body-body\n get body () {\n if (!this[kBody]) {\n this[kBody] = ReadableStreamFrom(this)\n if (this[kConsume]) {\n // TODO: Is this the best way to force a lock?\n this[kBody].getReader() // Ensure stream is locked.\n assert(this[kBody].locked)\n }\n }\n return this[kBody]\n }\n\n async dump (opts) {\n let limit = Number.isFinite(opts?.limit) ? opts.limit : 128 * 1024\n const signal = opts?.signal\n\n if (signal != null && (typeof signal !== 'object' || !('aborted' in signal))) {\n throw new InvalidArgumentError('signal must be an AbortSignal')\n }\n\n signal?.throwIfAborted()\n\n if (this._readableState.closeEmitted) {\n return null\n }\n\n return await new Promise((resolve, reject) => {\n if (this[kContentLength] > limit) {\n this.destroy(new AbortError())\n }\n\n const onAbort = () => {\n this.destroy(signal.reason ?? new AbortError())\n }\n signal?.addEventListener('abort', onAbort)\n\n this\n .on('close', function () {\n signal?.removeEventListener('abort', onAbort)\n if (signal?.aborted) {\n reject(signal.reason ?? new AbortError())\n } else {\n resolve(null)\n }\n })\n .on('error', noop)\n .on('data', function (chunk) {\n limit -= chunk.length\n if (limit <= 0) {\n this.destroy()\n }\n })\n .resume()\n })\n }\n}\n\n// https://streams.spec.whatwg.org/#readablestream-locked\nfunction isLocked (self) {\n // Consume is an implicit lock.\n return (self[kBody] && self[kBody].locked === true) || self[kConsume]\n}\n\n// https://fetch.spec.whatwg.org/#body-unusable\nfunction isUnusable (self) {\n return util.isDisturbed(self) || isLocked(self)\n}\n\nasync function consume (stream, type) {\n assert(!stream[kConsume])\n\n return new Promise((resolve, reject) => {\n if (isUnusable(stream)) {\n const rState = stream._readableState\n if (rState.destroyed && rState.closeEmitted === false) {\n stream\n .on('error', err => {\n reject(err)\n })\n .on('close', () => {\n reject(new TypeError('unusable'))\n })\n } else {\n reject(rState.errored ?? new TypeError('unusable'))\n }\n } else {\n queueMicrotask(() => {\n stream[kConsume] = {\n type,\n stream,\n resolve,\n reject,\n length: 0,\n body: []\n }\n\n stream\n .on('error', function (err) {\n consumeFinish(this[kConsume], err)\n })\n .on('close', function () {\n if (this[kConsume].body !== null) {\n consumeFinish(this[kConsume], new RequestAbortedError())\n }\n })\n\n consumeStart(stream[kConsume])\n })\n }\n })\n}\n\nfunction consumeStart (consume) {\n if (consume.body === null) {\n return\n }\n\n const { _readableState: state } = consume.stream\n\n if (state.bufferIndex) {\n const start = state.bufferIndex\n const end = state.buffer.length\n for (let n = start; n < end; n++) {\n consumePush(consume, state.buffer[n])\n }\n } else {\n for (const chunk of state.buffer) {\n consumePush(consume, chunk)\n }\n }\n\n if (state.endEmitted) {\n consumeEnd(this[kConsume])\n } else {\n consume.stream.on('end', function () {\n consumeEnd(this[kConsume])\n })\n }\n\n consume.stream.resume()\n\n while (consume.stream.read() != null) {\n // Loop\n }\n}\n\n/**\n * @param {Buffer[]} chunks\n * @param {number} length\n */\nfunction chunksDecode (chunks, length) {\n if (chunks.length === 0 || length === 0) {\n return ''\n }\n const buffer = chunks.length === 1 ? chunks[0] : Buffer.concat(chunks, length)\n const bufferLength = buffer.length\n\n // Skip BOM.\n const start =\n bufferLength > 2 &&\n buffer[0] === 0xef &&\n buffer[1] === 0xbb &&\n buffer[2] === 0xbf\n ? 3\n : 0\n return buffer.utf8Slice(start, bufferLength)\n}\n\n/**\n * @param {Buffer[]} chunks\n * @param {number} length\n * @returns {Uint8Array}\n */\nfunction chunksConcat (chunks, length) {\n if (chunks.length === 0 || length === 0) {\n return new Uint8Array(0)\n }\n if (chunks.length === 1) {\n // fast-path\n return new Uint8Array(chunks[0])\n }\n const buffer = new Uint8Array(Buffer.allocUnsafeSlow(length).buffer)\n\n let offset = 0\n for (let i = 0; i < chunks.length; ++i) {\n const chunk = chunks[i]\n buffer.set(chunk, offset)\n offset += chunk.length\n }\n\n return buffer\n}\n\nfunction consumeEnd (consume) {\n const { type, body, resolve, stream, length } = consume\n\n try {\n if (type === 'text') {\n resolve(chunksDecode(body, length))\n } else if (type === 'json') {\n resolve(JSON.parse(chunksDecode(body, length)))\n } else if (type === 'arrayBuffer') {\n resolve(chunksConcat(body, length).buffer)\n } else if (type === 'blob') {\n resolve(new Blob(body, { type: stream[kContentType] }))\n } else if (type === 'bytes') {\n resolve(chunksConcat(body, length))\n }\n\n consumeFinish(consume)\n } catch (err) {\n stream.destroy(err)\n }\n}\n\nfunction consumePush (consume, chunk) {\n consume.length += chunk.length\n consume.body.push(chunk)\n}\n\nfunction consumeFinish (consume, err) {\n if (consume.body === null) {\n return\n }\n\n if (err) {\n consume.reject(err)\n } else {\n consume.resolve()\n }\n\n consume.type = null\n consume.stream = null\n consume.resolve = null\n consume.reject = null\n consume.length = 0\n consume.body = null\n}\n\nmodule.exports = { Readable: BodyReadable, chunksDecode }\n","const assert = require('node:assert')\nconst {\n ResponseStatusCodeError\n} = require('../core/errors')\n\nconst { chunksDecode } = require('./readable')\nconst CHUNK_LIMIT = 128 * 1024\n\nasync function getResolveErrorBodyCallback ({ callback, body, contentType, statusCode, statusMessage, headers }) {\n assert(body)\n\n let chunks = []\n let length = 0\n\n try {\n for await (const chunk of body) {\n chunks.push(chunk)\n length += chunk.length\n if (length > CHUNK_LIMIT) {\n chunks = []\n length = 0\n break\n }\n }\n } catch {\n chunks = []\n length = 0\n // Do nothing....\n }\n\n const message = `Response status code ${statusCode}${statusMessage ? `: ${statusMessage}` : ''}`\n\n if (statusCode === 204 || !contentType || !length) {\n queueMicrotask(() => callback(new ResponseStatusCodeError(message, statusCode, headers)))\n return\n }\n\n const stackTraceLimit = Error.stackTraceLimit\n Error.stackTraceLimit = 0\n let payload\n\n try {\n if (isContentTypeApplicationJson(contentType)) {\n payload = JSON.parse(chunksDecode(chunks, length))\n } else if (isContentTypeText(contentType)) {\n payload = chunksDecode(chunks, length)\n }\n } catch {\n // process in a callback to avoid throwing in the microtask queue\n } finally {\n Error.stackTraceLimit = stackTraceLimit\n }\n queueMicrotask(() => callback(new ResponseStatusCodeError(message, statusCode, headers, payload)))\n}\n\nconst isContentTypeApplicationJson = (contentType) => {\n return (\n contentType.length > 15 &&\n contentType[11] === '/' &&\n contentType[0] === 'a' &&\n contentType[1] === 'p' &&\n contentType[2] === 'p' &&\n contentType[3] === 'l' &&\n contentType[4] === 'i' &&\n contentType[5] === 'c' &&\n contentType[6] === 'a' &&\n contentType[7] === 't' &&\n contentType[8] === 'i' &&\n contentType[9] === 'o' &&\n contentType[10] === 'n' &&\n contentType[12] === 'j' &&\n contentType[13] === 's' &&\n contentType[14] === 'o' &&\n contentType[15] === 'n'\n )\n}\n\nconst isContentTypeText = (contentType) => {\n return (\n contentType.length > 4 &&\n contentType[4] === '/' &&\n contentType[0] === 't' &&\n contentType[1] === 'e' &&\n contentType[2] === 'x' &&\n contentType[3] === 't'\n )\n}\n\nmodule.exports = {\n getResolveErrorBodyCallback,\n isContentTypeApplicationJson,\n isContentTypeText\n}\n","'use strict'\n\nconst net = require('node:net')\nconst assert = require('node:assert')\nconst util = require('./util')\nconst { InvalidArgumentError, ConnectTimeoutError } = require('./errors')\nconst timers = require('../util/timers')\n\nfunction noop () {}\n\nlet tls // include tls conditionally since it is not always available\n\n// TODO: session re-use does not wait for the first\n// connection to resolve the session and might therefore\n// resolve the same servername multiple times even when\n// re-use is enabled.\n\nlet SessionCache\n// FIXME: remove workaround when the Node bug is fixed\n// https://github.com/nodejs/node/issues/49344#issuecomment-1741776308\nif (global.FinalizationRegistry && !(process.env.NODE_V8_COVERAGE || process.env.UNDICI_NO_FG)) {\n SessionCache = class WeakSessionCache {\n constructor (maxCachedSessions) {\n this._maxCachedSessions = maxCachedSessions\n this._sessionCache = new Map()\n this._sessionRegistry = new global.FinalizationRegistry((key) => {\n if (this._sessionCache.size < this._maxCachedSessions) {\n return\n }\n\n const ref = this._sessionCache.get(key)\n if (ref !== undefined && ref.deref() === undefined) {\n this._sessionCache.delete(key)\n }\n })\n }\n\n get (sessionKey) {\n const ref = this._sessionCache.get(sessionKey)\n return ref ? ref.deref() : null\n }\n\n set (sessionKey, session) {\n if (this._maxCachedSessions === 0) {\n return\n }\n\n this._sessionCache.set(sessionKey, new WeakRef(session))\n this._sessionRegistry.register(session, sessionKey)\n }\n }\n} else {\n SessionCache = class SimpleSessionCache {\n constructor (maxCachedSessions) {\n this._maxCachedSessions = maxCachedSessions\n this._sessionCache = new Map()\n }\n\n get (sessionKey) {\n return this._sessionCache.get(sessionKey)\n }\n\n set (sessionKey, session) {\n if (this._maxCachedSessions === 0) {\n return\n }\n\n if (this._sessionCache.size >= this._maxCachedSessions) {\n // remove the oldest session\n const { value: oldestKey } = this._sessionCache.keys().next()\n this._sessionCache.delete(oldestKey)\n }\n\n this._sessionCache.set(sessionKey, session)\n }\n }\n}\n\nfunction buildConnector ({ allowH2, maxCachedSessions, socketPath, timeout, session: customSession, ...opts }) {\n if (maxCachedSessions != null && (!Number.isInteger(maxCachedSessions) || maxCachedSessions < 0)) {\n throw new InvalidArgumentError('maxCachedSessions must be a positive integer or zero')\n }\n\n const options = { path: socketPath, ...opts }\n const sessionCache = new SessionCache(maxCachedSessions == null ? 100 : maxCachedSessions)\n timeout = timeout == null ? 10e3 : timeout\n allowH2 = allowH2 != null ? allowH2 : false\n return function connect ({ hostname, host, protocol, port, servername, localAddress, httpSocket }, callback) {\n let socket\n if (protocol === 'https:') {\n if (!tls) {\n tls = require('node:tls')\n }\n servername = servername || options.servername || util.getServerName(host) || null\n\n const sessionKey = servername || hostname\n assert(sessionKey)\n\n const session = customSession || sessionCache.get(sessionKey) || null\n\n port = port || 443\n\n socket = tls.connect({\n highWaterMark: 16384, // TLS in node can't have bigger HWM anyway...\n ...options,\n servername,\n session,\n localAddress,\n // TODO(HTTP/2): Add support for h2c\n ALPNProtocols: allowH2 ? ['http/1.1', 'h2'] : ['http/1.1'],\n socket: httpSocket, // upgrade socket connection\n port,\n host: hostname\n })\n\n socket\n .on('session', function (session) {\n // TODO (fix): Can a session become invalid once established? Don't think so?\n sessionCache.set(sessionKey, session)\n })\n } else {\n assert(!httpSocket, 'httpSocket can only be sent on TLS update')\n\n port = port || 80\n\n socket = net.connect({\n highWaterMark: 64 * 1024, // Same as nodejs fs streams.\n ...options,\n localAddress,\n port,\n host: hostname\n })\n }\n\n // Set TCP keep alive options on the socket here instead of in connect() for the case of assigning the socket\n if (options.keepAlive == null || options.keepAlive) {\n const keepAliveInitialDelay = options.keepAliveInitialDelay === undefined ? 60e3 : options.keepAliveInitialDelay\n socket.setKeepAlive(true, keepAliveInitialDelay)\n }\n\n const clearConnectTimeout = setupConnectTimeout(new WeakRef(socket), { timeout, hostname, port })\n\n socket\n .setNoDelay(true)\n .once(protocol === 'https:' ? 'secureConnect' : 'connect', function () {\n queueMicrotask(clearConnectTimeout)\n\n if (callback) {\n const cb = callback\n callback = null\n cb(null, this)\n }\n })\n .on('error', function (err) {\n queueMicrotask(clearConnectTimeout)\n\n if (callback) {\n const cb = callback\n callback = null\n cb(err)\n }\n })\n\n return socket\n }\n}\n\n/**\n * @param {WeakRef} socketWeakRef\n * @param {object} opts\n * @param {number} opts.timeout\n * @param {string} opts.hostname\n * @param {number} opts.port\n * @returns {() => void}\n */\nconst setupConnectTimeout = process.platform === 'win32'\n ? (socketWeakRef, opts) => {\n if (!opts.timeout) {\n return noop\n }\n\n let s1 = null\n let s2 = null\n const fastTimer = timers.setFastTimeout(() => {\n // setImmediate is added to make sure that we prioritize socket error events over timeouts\n s1 = setImmediate(() => {\n // Windows needs an extra setImmediate probably due to implementation differences in the socket logic\n s2 = setImmediate(() => onConnectTimeout(socketWeakRef.deref(), opts))\n })\n }, opts.timeout)\n return () => {\n timers.clearFastTimeout(fastTimer)\n clearImmediate(s1)\n clearImmediate(s2)\n }\n }\n : (socketWeakRef, opts) => {\n if (!opts.timeout) {\n return noop\n }\n\n let s1 = null\n const fastTimer = timers.setFastTimeout(() => {\n // setImmediate is added to make sure that we prioritize socket error events over timeouts\n s1 = setImmediate(() => {\n onConnectTimeout(socketWeakRef.deref(), opts)\n })\n }, opts.timeout)\n return () => {\n timers.clearFastTimeout(fastTimer)\n clearImmediate(s1)\n }\n }\n\n/**\n * @param {net.Socket} socket\n * @param {object} opts\n * @param {number} opts.timeout\n * @param {string} opts.hostname\n * @param {number} opts.port\n */\nfunction onConnectTimeout (socket, opts) {\n // The socket could be already garbage collected\n if (socket == null) {\n return\n }\n\n let message = 'Connect Timeout Error'\n if (Array.isArray(socket.autoSelectFamilyAttemptedAddresses)) {\n message += ` (attempted addresses: ${socket.autoSelectFamilyAttemptedAddresses.join(', ')},`\n } else {\n message += ` (attempted address: ${opts.hostname}:${opts.port},`\n }\n\n message += ` timeout: ${opts.timeout}ms)`\n\n util.destroy(socket, new ConnectTimeoutError(message))\n}\n\nmodule.exports = buildConnector\n","'use strict'\n\n/** @type {Record} */\nconst headerNameLowerCasedRecord = {}\n\n// https://developer.mozilla.org/docs/Web/HTTP/Headers\nconst wellknownHeaderNames = [\n 'Accept',\n 'Accept-Encoding',\n 'Accept-Language',\n 'Accept-Ranges',\n 'Access-Control-Allow-Credentials',\n 'Access-Control-Allow-Headers',\n 'Access-Control-Allow-Methods',\n 'Access-Control-Allow-Origin',\n 'Access-Control-Expose-Headers',\n 'Access-Control-Max-Age',\n 'Access-Control-Request-Headers',\n 'Access-Control-Request-Method',\n 'Age',\n 'Allow',\n 'Alt-Svc',\n 'Alt-Used',\n 'Authorization',\n 'Cache-Control',\n 'Clear-Site-Data',\n 'Connection',\n 'Content-Disposition',\n 'Content-Encoding',\n 'Content-Language',\n 'Content-Length',\n 'Content-Location',\n 'Content-Range',\n 'Content-Security-Policy',\n 'Content-Security-Policy-Report-Only',\n 'Content-Type',\n 'Cookie',\n 'Cross-Origin-Embedder-Policy',\n 'Cross-Origin-Opener-Policy',\n 'Cross-Origin-Resource-Policy',\n 'Date',\n 'Device-Memory',\n 'Downlink',\n 'ECT',\n 'ETag',\n 'Expect',\n 'Expect-CT',\n 'Expires',\n 'Forwarded',\n 'From',\n 'Host',\n 'If-Match',\n 'If-Modified-Since',\n 'If-None-Match',\n 'If-Range',\n 'If-Unmodified-Since',\n 'Keep-Alive',\n 'Last-Modified',\n 'Link',\n 'Location',\n 'Max-Forwards',\n 'Origin',\n 'Permissions-Policy',\n 'Pragma',\n 'Proxy-Authenticate',\n 'Proxy-Authorization',\n 'RTT',\n 'Range',\n 'Referer',\n 'Referrer-Policy',\n 'Refresh',\n 'Retry-After',\n 'Sec-WebSocket-Accept',\n 'Sec-WebSocket-Extensions',\n 'Sec-WebSocket-Key',\n 'Sec-WebSocket-Protocol',\n 'Sec-WebSocket-Version',\n 'Server',\n 'Server-Timing',\n 'Service-Worker-Allowed',\n 'Service-Worker-Navigation-Preload',\n 'Set-Cookie',\n 'SourceMap',\n 'Strict-Transport-Security',\n 'Supports-Loading-Mode',\n 'TE',\n 'Timing-Allow-Origin',\n 'Trailer',\n 'Transfer-Encoding',\n 'Upgrade',\n 'Upgrade-Insecure-Requests',\n 'User-Agent',\n 'Vary',\n 'Via',\n 'WWW-Authenticate',\n 'X-Content-Type-Options',\n 'X-DNS-Prefetch-Control',\n 'X-Frame-Options',\n 'X-Permitted-Cross-Domain-Policies',\n 'X-Powered-By',\n 'X-Requested-With',\n 'X-XSS-Protection'\n]\n\nfor (let i = 0; i < wellknownHeaderNames.length; ++i) {\n const key = wellknownHeaderNames[i]\n const lowerCasedKey = key.toLowerCase()\n headerNameLowerCasedRecord[key] = headerNameLowerCasedRecord[lowerCasedKey] =\n lowerCasedKey\n}\n\n// Note: object prototypes should not be able to be referenced. e.g. `Object#hasOwnProperty`.\nObject.setPrototypeOf(headerNameLowerCasedRecord, null)\n\nmodule.exports = {\n wellknownHeaderNames,\n headerNameLowerCasedRecord\n}\n","'use strict'\nconst diagnosticsChannel = require('node:diagnostics_channel')\nconst util = require('node:util')\n\nconst undiciDebugLog = util.debuglog('undici')\nconst fetchDebuglog = util.debuglog('fetch')\nconst websocketDebuglog = util.debuglog('websocket')\nlet isClientSet = false\nconst channels = {\n // Client\n beforeConnect: diagnosticsChannel.channel('undici:client:beforeConnect'),\n connected: diagnosticsChannel.channel('undici:client:connected'),\n connectError: diagnosticsChannel.channel('undici:client:connectError'),\n sendHeaders: diagnosticsChannel.channel('undici:client:sendHeaders'),\n // Request\n create: diagnosticsChannel.channel('undici:request:create'),\n bodySent: diagnosticsChannel.channel('undici:request:bodySent'),\n headers: diagnosticsChannel.channel('undici:request:headers'),\n trailers: diagnosticsChannel.channel('undici:request:trailers'),\n error: diagnosticsChannel.channel('undici:request:error'),\n // WebSocket\n open: diagnosticsChannel.channel('undici:websocket:open'),\n close: diagnosticsChannel.channel('undici:websocket:close'),\n socketError: diagnosticsChannel.channel('undici:websocket:socket_error'),\n ping: diagnosticsChannel.channel('undici:websocket:ping'),\n pong: diagnosticsChannel.channel('undici:websocket:pong')\n}\n\nif (undiciDebugLog.enabled || fetchDebuglog.enabled) {\n const debuglog = fetchDebuglog.enabled ? fetchDebuglog : undiciDebugLog\n\n // Track all Client events\n diagnosticsChannel.channel('undici:client:beforeConnect').subscribe(evt => {\n const {\n connectParams: { version, protocol, port, host }\n } = evt\n debuglog(\n 'connecting to %s using %s%s',\n `${host}${port ? `:${port}` : ''}`,\n protocol,\n version\n )\n })\n\n diagnosticsChannel.channel('undici:client:connected').subscribe(evt => {\n const {\n connectParams: { version, protocol, port, host }\n } = evt\n debuglog(\n 'connected to %s using %s%s',\n `${host}${port ? `:${port}` : ''}`,\n protocol,\n version\n )\n })\n\n diagnosticsChannel.channel('undici:client:connectError').subscribe(evt => {\n const {\n connectParams: { version, protocol, port, host },\n error\n } = evt\n debuglog(\n 'connection to %s using %s%s errored - %s',\n `${host}${port ? `:${port}` : ''}`,\n protocol,\n version,\n error.message\n )\n })\n\n diagnosticsChannel.channel('undici:client:sendHeaders').subscribe(evt => {\n const {\n request: { method, path, origin }\n } = evt\n debuglog('sending request to %s %s/%s', method, origin, path)\n })\n\n // Track Request events\n diagnosticsChannel.channel('undici:request:headers').subscribe(evt => {\n const {\n request: { method, path, origin },\n response: { statusCode }\n } = evt\n debuglog(\n 'received response to %s %s/%s - HTTP %d',\n method,\n origin,\n path,\n statusCode\n )\n })\n\n diagnosticsChannel.channel('undici:request:trailers').subscribe(evt => {\n const {\n request: { method, path, origin }\n } = evt\n debuglog('trailers received from %s %s/%s', method, origin, path)\n })\n\n diagnosticsChannel.channel('undici:request:error').subscribe(evt => {\n const {\n request: { method, path, origin },\n error\n } = evt\n debuglog(\n 'request to %s %s/%s errored - %s',\n method,\n origin,\n path,\n error.message\n )\n })\n\n isClientSet = true\n}\n\nif (websocketDebuglog.enabled) {\n if (!isClientSet) {\n const debuglog = undiciDebugLog.enabled ? undiciDebugLog : websocketDebuglog\n diagnosticsChannel.channel('undici:client:beforeConnect').subscribe(evt => {\n const {\n connectParams: { version, protocol, port, host }\n } = evt\n debuglog(\n 'connecting to %s%s using %s%s',\n host,\n port ? `:${port}` : '',\n protocol,\n version\n )\n })\n\n diagnosticsChannel.channel('undici:client:connected').subscribe(evt => {\n const {\n connectParams: { version, protocol, port, host }\n } = evt\n debuglog(\n 'connected to %s%s using %s%s',\n host,\n port ? `:${port}` : '',\n protocol,\n version\n )\n })\n\n diagnosticsChannel.channel('undici:client:connectError').subscribe(evt => {\n const {\n connectParams: { version, protocol, port, host },\n error\n } = evt\n debuglog(\n 'connection to %s%s using %s%s errored - %s',\n host,\n port ? `:${port}` : '',\n protocol,\n version,\n error.message\n )\n })\n\n diagnosticsChannel.channel('undici:client:sendHeaders').subscribe(evt => {\n const {\n request: { method, path, origin }\n } = evt\n debuglog('sending request to %s %s/%s', method, origin, path)\n })\n }\n\n // Track all WebSocket events\n diagnosticsChannel.channel('undici:websocket:open').subscribe(evt => {\n const {\n address: { address, port }\n } = evt\n websocketDebuglog('connection opened %s%s', address, port ? `:${port}` : '')\n })\n\n diagnosticsChannel.channel('undici:websocket:close').subscribe(evt => {\n const { websocket, code, reason } = evt\n websocketDebuglog(\n 'closed connection to %s - %s %s',\n websocket.url,\n code,\n reason\n )\n })\n\n diagnosticsChannel.channel('undici:websocket:socket_error').subscribe(err => {\n websocketDebuglog('connection errored - %s', err.message)\n })\n\n diagnosticsChannel.channel('undici:websocket:ping').subscribe(evt => {\n websocketDebuglog('ping received')\n })\n\n diagnosticsChannel.channel('undici:websocket:pong').subscribe(evt => {\n websocketDebuglog('pong received')\n })\n}\n\nmodule.exports = {\n channels\n}\n","'use strict'\n\nconst kUndiciError = Symbol.for('undici.error.UND_ERR')\nclass UndiciError extends Error {\n constructor (message) {\n super(message)\n this.name = 'UndiciError'\n this.code = 'UND_ERR'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kUndiciError] === true\n }\n\n [kUndiciError] = true\n}\n\nconst kConnectTimeoutError = Symbol.for('undici.error.UND_ERR_CONNECT_TIMEOUT')\nclass ConnectTimeoutError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'ConnectTimeoutError'\n this.message = message || 'Connect Timeout Error'\n this.code = 'UND_ERR_CONNECT_TIMEOUT'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kConnectTimeoutError] === true\n }\n\n [kConnectTimeoutError] = true\n}\n\nconst kHeadersTimeoutError = Symbol.for('undici.error.UND_ERR_HEADERS_TIMEOUT')\nclass HeadersTimeoutError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'HeadersTimeoutError'\n this.message = message || 'Headers Timeout Error'\n this.code = 'UND_ERR_HEADERS_TIMEOUT'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kHeadersTimeoutError] === true\n }\n\n [kHeadersTimeoutError] = true\n}\n\nconst kHeadersOverflowError = Symbol.for('undici.error.UND_ERR_HEADERS_OVERFLOW')\nclass HeadersOverflowError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'HeadersOverflowError'\n this.message = message || 'Headers Overflow Error'\n this.code = 'UND_ERR_HEADERS_OVERFLOW'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kHeadersOverflowError] === true\n }\n\n [kHeadersOverflowError] = true\n}\n\nconst kBodyTimeoutError = Symbol.for('undici.error.UND_ERR_BODY_TIMEOUT')\nclass BodyTimeoutError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'BodyTimeoutError'\n this.message = message || 'Body Timeout Error'\n this.code = 'UND_ERR_BODY_TIMEOUT'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kBodyTimeoutError] === true\n }\n\n [kBodyTimeoutError] = true\n}\n\nconst kResponseStatusCodeError = Symbol.for('undici.error.UND_ERR_RESPONSE_STATUS_CODE')\nclass ResponseStatusCodeError extends UndiciError {\n constructor (message, statusCode, headers, body) {\n super(message)\n this.name = 'ResponseStatusCodeError'\n this.message = message || 'Response Status Code Error'\n this.code = 'UND_ERR_RESPONSE_STATUS_CODE'\n this.body = body\n this.status = statusCode\n this.statusCode = statusCode\n this.headers = headers\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kResponseStatusCodeError] === true\n }\n\n [kResponseStatusCodeError] = true\n}\n\nconst kInvalidArgumentError = Symbol.for('undici.error.UND_ERR_INVALID_ARG')\nclass InvalidArgumentError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'InvalidArgumentError'\n this.message = message || 'Invalid Argument Error'\n this.code = 'UND_ERR_INVALID_ARG'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kInvalidArgumentError] === true\n }\n\n [kInvalidArgumentError] = true\n}\n\nconst kInvalidReturnValueError = Symbol.for('undici.error.UND_ERR_INVALID_RETURN_VALUE')\nclass InvalidReturnValueError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'InvalidReturnValueError'\n this.message = message || 'Invalid Return Value Error'\n this.code = 'UND_ERR_INVALID_RETURN_VALUE'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kInvalidReturnValueError] === true\n }\n\n [kInvalidReturnValueError] = true\n}\n\nconst kAbortError = Symbol.for('undici.error.UND_ERR_ABORT')\nclass AbortError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'AbortError'\n this.message = message || 'The operation was aborted'\n this.code = 'UND_ERR_ABORT'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kAbortError] === true\n }\n\n [kAbortError] = true\n}\n\nconst kRequestAbortedError = Symbol.for('undici.error.UND_ERR_ABORTED')\nclass RequestAbortedError extends AbortError {\n constructor (message) {\n super(message)\n this.name = 'AbortError'\n this.message = message || 'Request aborted'\n this.code = 'UND_ERR_ABORTED'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kRequestAbortedError] === true\n }\n\n [kRequestAbortedError] = true\n}\n\nconst kInformationalError = Symbol.for('undici.error.UND_ERR_INFO')\nclass InformationalError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'InformationalError'\n this.message = message || 'Request information'\n this.code = 'UND_ERR_INFO'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kInformationalError] === true\n }\n\n [kInformationalError] = true\n}\n\nconst kRequestContentLengthMismatchError = Symbol.for('undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH')\nclass RequestContentLengthMismatchError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'RequestContentLengthMismatchError'\n this.message = message || 'Request body length does not match content-length header'\n this.code = 'UND_ERR_REQ_CONTENT_LENGTH_MISMATCH'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kRequestContentLengthMismatchError] === true\n }\n\n [kRequestContentLengthMismatchError] = true\n}\n\nconst kResponseContentLengthMismatchError = Symbol.for('undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH')\nclass ResponseContentLengthMismatchError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'ResponseContentLengthMismatchError'\n this.message = message || 'Response body length does not match content-length header'\n this.code = 'UND_ERR_RES_CONTENT_LENGTH_MISMATCH'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kResponseContentLengthMismatchError] === true\n }\n\n [kResponseContentLengthMismatchError] = true\n}\n\nconst kClientDestroyedError = Symbol.for('undici.error.UND_ERR_DESTROYED')\nclass ClientDestroyedError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'ClientDestroyedError'\n this.message = message || 'The client is destroyed'\n this.code = 'UND_ERR_DESTROYED'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kClientDestroyedError] === true\n }\n\n [kClientDestroyedError] = true\n}\n\nconst kClientClosedError = Symbol.for('undici.error.UND_ERR_CLOSED')\nclass ClientClosedError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'ClientClosedError'\n this.message = message || 'The client is closed'\n this.code = 'UND_ERR_CLOSED'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kClientClosedError] === true\n }\n\n [kClientClosedError] = true\n}\n\nconst kSocketError = Symbol.for('undici.error.UND_ERR_SOCKET')\nclass SocketError extends UndiciError {\n constructor (message, socket) {\n super(message)\n this.name = 'SocketError'\n this.message = message || 'Socket error'\n this.code = 'UND_ERR_SOCKET'\n this.socket = socket\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kSocketError] === true\n }\n\n [kSocketError] = true\n}\n\nconst kNotSupportedError = Symbol.for('undici.error.UND_ERR_NOT_SUPPORTED')\nclass NotSupportedError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'NotSupportedError'\n this.message = message || 'Not supported error'\n this.code = 'UND_ERR_NOT_SUPPORTED'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kNotSupportedError] === true\n }\n\n [kNotSupportedError] = true\n}\n\nconst kBalancedPoolMissingUpstreamError = Symbol.for('undici.error.UND_ERR_BPL_MISSING_UPSTREAM')\nclass BalancedPoolMissingUpstreamError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'MissingUpstreamError'\n this.message = message || 'No upstream has been added to the BalancedPool'\n this.code = 'UND_ERR_BPL_MISSING_UPSTREAM'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kBalancedPoolMissingUpstreamError] === true\n }\n\n [kBalancedPoolMissingUpstreamError] = true\n}\n\nconst kHTTPParserError = Symbol.for('undici.error.UND_ERR_HTTP_PARSER')\nclass HTTPParserError extends Error {\n constructor (message, code, data) {\n super(message)\n this.name = 'HTTPParserError'\n this.code = code ? `HPE_${code}` : undefined\n this.data = data ? data.toString() : undefined\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kHTTPParserError] === true\n }\n\n [kHTTPParserError] = true\n}\n\nconst kResponseExceededMaxSizeError = Symbol.for('undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE')\nclass ResponseExceededMaxSizeError extends UndiciError {\n constructor (message) {\n super(message)\n this.name = 'ResponseExceededMaxSizeError'\n this.message = message || 'Response content exceeded max size'\n this.code = 'UND_ERR_RES_EXCEEDED_MAX_SIZE'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kResponseExceededMaxSizeError] === true\n }\n\n [kResponseExceededMaxSizeError] = true\n}\n\nconst kRequestRetryError = Symbol.for('undici.error.UND_ERR_REQ_RETRY')\nclass RequestRetryError extends UndiciError {\n constructor (message, code, { headers, data }) {\n super(message)\n this.name = 'RequestRetryError'\n this.message = message || 'Request retry error'\n this.code = 'UND_ERR_REQ_RETRY'\n this.statusCode = code\n this.data = data\n this.headers = headers\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kRequestRetryError] === true\n }\n\n [kRequestRetryError] = true\n}\n\nconst kResponseError = Symbol.for('undici.error.UND_ERR_RESPONSE')\nclass ResponseError extends UndiciError {\n constructor (message, code, { headers, data }) {\n super(message)\n this.name = 'ResponseError'\n this.message = message || 'Response error'\n this.code = 'UND_ERR_RESPONSE'\n this.statusCode = code\n this.data = data\n this.headers = headers\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kResponseError] === true\n }\n\n [kResponseError] = true\n}\n\nconst kSecureProxyConnectionError = Symbol.for('undici.error.UND_ERR_PRX_TLS')\nclass SecureProxyConnectionError extends UndiciError {\n constructor (cause, message, options) {\n super(message, { cause, ...(options ?? {}) })\n this.name = 'SecureProxyConnectionError'\n this.message = message || 'Secure Proxy Connection failed'\n this.code = 'UND_ERR_PRX_TLS'\n this.cause = cause\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kSecureProxyConnectionError] === true\n }\n\n [kSecureProxyConnectionError] = true\n}\n\nmodule.exports = {\n AbortError,\n HTTPParserError,\n UndiciError,\n HeadersTimeoutError,\n HeadersOverflowError,\n BodyTimeoutError,\n RequestContentLengthMismatchError,\n ConnectTimeoutError,\n ResponseStatusCodeError,\n InvalidArgumentError,\n InvalidReturnValueError,\n RequestAbortedError,\n ClientDestroyedError,\n ClientClosedError,\n InformationalError,\n SocketError,\n NotSupportedError,\n ResponseContentLengthMismatchError,\n BalancedPoolMissingUpstreamError,\n ResponseExceededMaxSizeError,\n RequestRetryError,\n ResponseError,\n SecureProxyConnectionError\n}\n","'use strict'\n\nconst {\n InvalidArgumentError,\n NotSupportedError\n} = require('./errors')\nconst assert = require('node:assert')\nconst {\n isValidHTTPToken,\n isValidHeaderValue,\n isStream,\n destroy,\n isBuffer,\n isFormDataLike,\n isIterable,\n isBlobLike,\n buildURL,\n validateHandler,\n getServerName,\n normalizedMethodRecords\n} = require('./util')\nconst { channels } = require('./diagnostics.js')\nconst { headerNameLowerCasedRecord } = require('./constants')\n\n// Verifies that a given path is valid does not contain control chars \\x00 to \\x20\nconst invalidPathRegex = /[^\\u0021-\\u00ff]/\n\nconst kHandler = Symbol('handler')\n\nclass Request {\n constructor (origin, {\n path,\n method,\n body,\n headers,\n query,\n idempotent,\n blocking,\n upgrade,\n headersTimeout,\n bodyTimeout,\n reset,\n throwOnError,\n expectContinue,\n servername\n }, handler) {\n if (typeof path !== 'string') {\n throw new InvalidArgumentError('path must be a string')\n } else if (\n path[0] !== '/' &&\n !(path.startsWith('http://') || path.startsWith('https://')) &&\n method !== 'CONNECT'\n ) {\n throw new InvalidArgumentError('path must be an absolute URL or start with a slash')\n } else if (invalidPathRegex.test(path)) {\n throw new InvalidArgumentError('invalid request path')\n }\n\n if (typeof method !== 'string') {\n throw new InvalidArgumentError('method must be a string')\n } else if (normalizedMethodRecords[method] === undefined && !isValidHTTPToken(method)) {\n throw new InvalidArgumentError('invalid request method')\n }\n\n if (upgrade && typeof upgrade !== 'string') {\n throw new InvalidArgumentError('upgrade must be a string')\n }\n\n if (headersTimeout != null && (!Number.isFinite(headersTimeout) || headersTimeout < 0)) {\n throw new InvalidArgumentError('invalid headersTimeout')\n }\n\n if (bodyTimeout != null && (!Number.isFinite(bodyTimeout) || bodyTimeout < 0)) {\n throw new InvalidArgumentError('invalid bodyTimeout')\n }\n\n if (reset != null && typeof reset !== 'boolean') {\n throw new InvalidArgumentError('invalid reset')\n }\n\n if (expectContinue != null && typeof expectContinue !== 'boolean') {\n throw new InvalidArgumentError('invalid expectContinue')\n }\n\n this.headersTimeout = headersTimeout\n\n this.bodyTimeout = bodyTimeout\n\n this.throwOnError = throwOnError === true\n\n this.method = method\n\n this.abort = null\n\n if (body == null) {\n this.body = null\n } else if (isStream(body)) {\n this.body = body\n\n const rState = this.body._readableState\n if (!rState || !rState.autoDestroy) {\n this.endHandler = function autoDestroy () {\n destroy(this)\n }\n this.body.on('end', this.endHandler)\n }\n\n this.errorHandler = err => {\n if (this.abort) {\n this.abort(err)\n } else {\n this.error = err\n }\n }\n this.body.on('error', this.errorHandler)\n } else if (isBuffer(body)) {\n this.body = body.byteLength ? body : null\n } else if (ArrayBuffer.isView(body)) {\n this.body = body.buffer.byteLength ? Buffer.from(body.buffer, body.byteOffset, body.byteLength) : null\n } else if (body instanceof ArrayBuffer) {\n this.body = body.byteLength ? Buffer.from(body) : null\n } else if (typeof body === 'string') {\n this.body = body.length ? Buffer.from(body) : null\n } else if (isFormDataLike(body) || isIterable(body) || isBlobLike(body)) {\n this.body = body\n } else {\n throw new InvalidArgumentError('body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable')\n }\n\n this.completed = false\n\n this.aborted = false\n\n this.upgrade = upgrade || null\n\n this.path = query ? buildURL(path, query) : path\n\n this.origin = origin\n\n this.idempotent = idempotent == null\n ? method === 'HEAD' || method === 'GET'\n : idempotent\n\n this.blocking = blocking == null ? false : blocking\n\n this.reset = reset == null ? null : reset\n\n this.host = null\n\n this.contentLength = null\n\n this.contentType = null\n\n this.headers = []\n\n // Only for H2\n this.expectContinue = expectContinue != null ? expectContinue : false\n\n if (Array.isArray(headers)) {\n if (headers.length % 2 !== 0) {\n throw new InvalidArgumentError('headers array must be even')\n }\n for (let i = 0; i < headers.length; i += 2) {\n processHeader(this, headers[i], headers[i + 1])\n }\n } else if (headers && typeof headers === 'object') {\n if (headers[Symbol.iterator]) {\n for (const header of headers) {\n if (!Array.isArray(header) || header.length !== 2) {\n throw new InvalidArgumentError('headers must be in key-value pair format')\n }\n processHeader(this, header[0], header[1])\n }\n } else {\n const keys = Object.keys(headers)\n for (let i = 0; i < keys.length; ++i) {\n processHeader(this, keys[i], headers[keys[i]])\n }\n }\n } else if (headers != null) {\n throw new InvalidArgumentError('headers must be an object or an array')\n }\n\n validateHandler(handler, method, upgrade)\n\n this.servername = servername || getServerName(this.host)\n\n this[kHandler] = handler\n\n if (channels.create.hasSubscribers) {\n channels.create.publish({ request: this })\n }\n }\n\n onBodySent (chunk) {\n if (this[kHandler].onBodySent) {\n try {\n return this[kHandler].onBodySent(chunk)\n } catch (err) {\n this.abort(err)\n }\n }\n }\n\n onRequestSent () {\n if (channels.bodySent.hasSubscribers) {\n channels.bodySent.publish({ request: this })\n }\n\n if (this[kHandler].onRequestSent) {\n try {\n return this[kHandler].onRequestSent()\n } catch (err) {\n this.abort(err)\n }\n }\n }\n\n onConnect (abort) {\n assert(!this.aborted)\n assert(!this.completed)\n\n if (this.error) {\n abort(this.error)\n } else {\n this.abort = abort\n return this[kHandler].onConnect(abort)\n }\n }\n\n onResponseStarted () {\n return this[kHandler].onResponseStarted?.()\n }\n\n onHeaders (statusCode, headers, resume, statusText) {\n assert(!this.aborted)\n assert(!this.completed)\n\n if (channels.headers.hasSubscribers) {\n channels.headers.publish({ request: this, response: { statusCode, headers, statusText } })\n }\n\n try {\n return this[kHandler].onHeaders(statusCode, headers, resume, statusText)\n } catch (err) {\n this.abort(err)\n }\n }\n\n onData (chunk) {\n assert(!this.aborted)\n assert(!this.completed)\n\n try {\n return this[kHandler].onData(chunk)\n } catch (err) {\n this.abort(err)\n return false\n }\n }\n\n onUpgrade (statusCode, headers, socket) {\n assert(!this.aborted)\n assert(!this.completed)\n\n return this[kHandler].onUpgrade(statusCode, headers, socket)\n }\n\n onComplete (trailers) {\n this.onFinally()\n\n assert(!this.aborted)\n\n this.completed = true\n if (channels.trailers.hasSubscribers) {\n channels.trailers.publish({ request: this, trailers })\n }\n\n try {\n return this[kHandler].onComplete(trailers)\n } catch (err) {\n // TODO (fix): This might be a bad idea?\n this.onError(err)\n }\n }\n\n onError (error) {\n this.onFinally()\n\n if (channels.error.hasSubscribers) {\n channels.error.publish({ request: this, error })\n }\n\n if (this.aborted) {\n return\n }\n this.aborted = true\n\n return this[kHandler].onError(error)\n }\n\n onFinally () {\n if (this.errorHandler) {\n this.body.off('error', this.errorHandler)\n this.errorHandler = null\n }\n\n if (this.endHandler) {\n this.body.off('end', this.endHandler)\n this.endHandler = null\n }\n }\n\n addHeader (key, value) {\n processHeader(this, key, value)\n return this\n }\n}\n\nfunction processHeader (request, key, val) {\n if (val && (typeof val === 'object' && !Array.isArray(val))) {\n throw new InvalidArgumentError(`invalid ${key} header`)\n } else if (val === undefined) {\n return\n }\n\n let headerName = headerNameLowerCasedRecord[key]\n\n if (headerName === undefined) {\n headerName = key.toLowerCase()\n if (headerNameLowerCasedRecord[headerName] === undefined && !isValidHTTPToken(headerName)) {\n throw new InvalidArgumentError('invalid header key')\n }\n }\n\n if (Array.isArray(val)) {\n const arr = []\n for (let i = 0; i < val.length; i++) {\n if (typeof val[i] === 'string') {\n if (!isValidHeaderValue(val[i])) {\n throw new InvalidArgumentError(`invalid ${key} header`)\n }\n arr.push(val[i])\n } else if (val[i] === null) {\n arr.push('')\n } else if (typeof val[i] === 'object') {\n throw new InvalidArgumentError(`invalid ${key} header`)\n } else {\n arr.push(`${val[i]}`)\n }\n }\n val = arr\n } else if (typeof val === 'string') {\n if (!isValidHeaderValue(val)) {\n throw new InvalidArgumentError(`invalid ${key} header`)\n }\n } else if (val === null) {\n val = ''\n } else {\n val = `${val}`\n }\n\n if (request.host === null && headerName === 'host') {\n if (typeof val !== 'string') {\n throw new InvalidArgumentError('invalid host header')\n }\n // Consumed by Client\n request.host = val\n } else if (request.contentLength === null && headerName === 'content-length') {\n request.contentLength = parseInt(val, 10)\n if (!Number.isFinite(request.contentLength)) {\n throw new InvalidArgumentError('invalid content-length header')\n }\n } else if (request.contentType === null && headerName === 'content-type') {\n request.contentType = val\n request.headers.push(key, val)\n } else if (headerName === 'transfer-encoding' || headerName === 'keep-alive' || headerName === 'upgrade') {\n throw new InvalidArgumentError(`invalid ${headerName} header`)\n } else if (headerName === 'connection') {\n const value = typeof val === 'string' ? val.toLowerCase() : null\n if (value !== 'close' && value !== 'keep-alive') {\n throw new InvalidArgumentError('invalid connection header')\n }\n\n if (value === 'close') {\n request.reset = true\n }\n } else if (headerName === 'expect') {\n throw new NotSupportedError('expect header not supported')\n } else {\n request.headers.push(key, val)\n }\n}\n\nmodule.exports = Request\n","module.exports = {\n kClose: Symbol('close'),\n kDestroy: Symbol('destroy'),\n kDispatch: Symbol('dispatch'),\n kUrl: Symbol('url'),\n kWriting: Symbol('writing'),\n kResuming: Symbol('resuming'),\n kQueue: Symbol('queue'),\n kConnect: Symbol('connect'),\n kConnecting: Symbol('connecting'),\n kKeepAliveDefaultTimeout: Symbol('default keep alive timeout'),\n kKeepAliveMaxTimeout: Symbol('max keep alive timeout'),\n kKeepAliveTimeoutThreshold: Symbol('keep alive timeout threshold'),\n kKeepAliveTimeoutValue: Symbol('keep alive timeout'),\n kKeepAlive: Symbol('keep alive'),\n kHeadersTimeout: Symbol('headers timeout'),\n kBodyTimeout: Symbol('body timeout'),\n kServerName: Symbol('server name'),\n kLocalAddress: Symbol('local address'),\n kHost: Symbol('host'),\n kNoRef: Symbol('no ref'),\n kBodyUsed: Symbol('used'),\n kBody: Symbol('abstracted request body'),\n kRunning: Symbol('running'),\n kBlocking: Symbol('blocking'),\n kPending: Symbol('pending'),\n kSize: Symbol('size'),\n kBusy: Symbol('busy'),\n kQueued: Symbol('queued'),\n kFree: Symbol('free'),\n kConnected: Symbol('connected'),\n kClosed: Symbol('closed'),\n kNeedDrain: Symbol('need drain'),\n kReset: Symbol('reset'),\n kDestroyed: Symbol.for('nodejs.stream.destroyed'),\n kResume: Symbol('resume'),\n kOnError: Symbol('on error'),\n kMaxHeadersSize: Symbol('max headers size'),\n kRunningIdx: Symbol('running index'),\n kPendingIdx: Symbol('pending index'),\n kError: Symbol('error'),\n kClients: Symbol('clients'),\n kClient: Symbol('client'),\n kParser: Symbol('parser'),\n kOnDestroyed: Symbol('destroy callbacks'),\n kPipelining: Symbol('pipelining'),\n kSocket: Symbol('socket'),\n kHostHeader: Symbol('host header'),\n kConnector: Symbol('connector'),\n kStrictContentLength: Symbol('strict content length'),\n kMaxRedirections: Symbol('maxRedirections'),\n kMaxRequests: Symbol('maxRequestsPerClient'),\n kProxy: Symbol('proxy agent options'),\n kCounter: Symbol('socket request counter'),\n kInterceptors: Symbol('dispatch interceptors'),\n kMaxResponseSize: Symbol('max response size'),\n kHTTP2Session: Symbol('http2Session'),\n kHTTP2SessionState: Symbol('http2Session state'),\n kRetryHandlerDefaultRetry: Symbol('retry agent default retry'),\n kConstruct: Symbol('constructable'),\n kListeners: Symbol('listeners'),\n kHTTPContext: Symbol('http context'),\n kMaxConcurrentStreams: Symbol('max concurrent streams'),\n kNoProxyAgent: Symbol('no proxy agent'),\n kHttpProxyAgent: Symbol('http proxy agent'),\n kHttpsProxyAgent: Symbol('https proxy agent')\n}\n","'use strict'\n\nconst {\n wellknownHeaderNames,\n headerNameLowerCasedRecord\n} = require('./constants')\n\nclass TstNode {\n /** @type {any} */\n value = null\n /** @type {null | TstNode} */\n left = null\n /** @type {null | TstNode} */\n middle = null\n /** @type {null | TstNode} */\n right = null\n /** @type {number} */\n code\n /**\n * @param {string} key\n * @param {any} value\n * @param {number} index\n */\n constructor (key, value, index) {\n if (index === undefined || index >= key.length) {\n throw new TypeError('Unreachable')\n }\n const code = this.code = key.charCodeAt(index)\n // check code is ascii string\n if (code > 0x7F) {\n throw new TypeError('key must be ascii string')\n }\n if (key.length !== ++index) {\n this.middle = new TstNode(key, value, index)\n } else {\n this.value = value\n }\n }\n\n /**\n * @param {string} key\n * @param {any} value\n */\n add (key, value) {\n const length = key.length\n if (length === 0) {\n throw new TypeError('Unreachable')\n }\n let index = 0\n let node = this\n while (true) {\n const code = key.charCodeAt(index)\n // check code is ascii string\n if (code > 0x7F) {\n throw new TypeError('key must be ascii string')\n }\n if (node.code === code) {\n if (length === ++index) {\n node.value = value\n break\n } else if (node.middle !== null) {\n node = node.middle\n } else {\n node.middle = new TstNode(key, value, index)\n break\n }\n } else if (node.code < code) {\n if (node.left !== null) {\n node = node.left\n } else {\n node.left = new TstNode(key, value, index)\n break\n }\n } else if (node.right !== null) {\n node = node.right\n } else {\n node.right = new TstNode(key, value, index)\n break\n }\n }\n }\n\n /**\n * @param {Uint8Array} key\n * @return {TstNode | null}\n */\n search (key) {\n const keylength = key.length\n let index = 0\n let node = this\n while (node !== null && index < keylength) {\n let code = key[index]\n // A-Z\n // First check if it is bigger than 0x5a.\n // Lowercase letters have higher char codes than uppercase ones.\n // Also we assume that headers will mostly contain lowercase characters.\n if (code <= 0x5a && code >= 0x41) {\n // Lowercase for uppercase.\n code |= 32\n }\n while (node !== null) {\n if (code === node.code) {\n if (keylength === ++index) {\n // Returns Node since it is the last key.\n return node\n }\n node = node.middle\n break\n }\n node = node.code < code ? node.left : node.right\n }\n }\n return null\n }\n}\n\nclass TernarySearchTree {\n /** @type {TstNode | null} */\n node = null\n\n /**\n * @param {string} key\n * @param {any} value\n * */\n insert (key, value) {\n if (this.node === null) {\n this.node = new TstNode(key, value, 0)\n } else {\n this.node.add(key, value)\n }\n }\n\n /**\n * @param {Uint8Array} key\n * @return {any}\n */\n lookup (key) {\n return this.node?.search(key)?.value ?? null\n }\n}\n\nconst tree = new TernarySearchTree()\n\nfor (let i = 0; i < wellknownHeaderNames.length; ++i) {\n const key = headerNameLowerCasedRecord[wellknownHeaderNames[i]]\n tree.insert(key, key)\n}\n\nmodule.exports = {\n TernarySearchTree,\n tree\n}\n","'use strict'\n\nconst assert = require('node:assert')\nconst { kDestroyed, kBodyUsed, kListeners, kBody } = require('./symbols')\nconst { IncomingMessage } = require('node:http')\nconst stream = require('node:stream')\nconst net = require('node:net')\nconst { Blob } = require('node:buffer')\nconst nodeUtil = require('node:util')\nconst { stringify } = require('node:querystring')\nconst { EventEmitter: EE } = require('node:events')\nconst { InvalidArgumentError } = require('./errors')\nconst { headerNameLowerCasedRecord } = require('./constants')\nconst { tree } = require('./tree')\n\nconst [nodeMajor, nodeMinor] = process.versions.node.split('.').map(v => Number(v))\n\nclass BodyAsyncIterable {\n constructor (body) {\n this[kBody] = body\n this[kBodyUsed] = false\n }\n\n async * [Symbol.asyncIterator] () {\n assert(!this[kBodyUsed], 'disturbed')\n this[kBodyUsed] = true\n yield * this[kBody]\n }\n}\n\nfunction wrapRequestBody (body) {\n if (isStream(body)) {\n // TODO (fix): Provide some way for the user to cache the file to e.g. /tmp\n // so that it can be dispatched again?\n // TODO (fix): Do we need 100-expect support to provide a way to do this properly?\n if (bodyLength(body) === 0) {\n body\n .on('data', function () {\n assert(false)\n })\n }\n\n if (typeof body.readableDidRead !== 'boolean') {\n body[kBodyUsed] = false\n EE.prototype.on.call(body, 'data', function () {\n this[kBodyUsed] = true\n })\n }\n\n return body\n } else if (body && typeof body.pipeTo === 'function') {\n // TODO (fix): We can't access ReadableStream internal state\n // to determine whether or not it has been disturbed. This is just\n // a workaround.\n return new BodyAsyncIterable(body)\n } else if (\n body &&\n typeof body !== 'string' &&\n !ArrayBuffer.isView(body) &&\n isIterable(body)\n ) {\n // TODO: Should we allow re-using iterable if !this.opts.idempotent\n // or through some other flag?\n return new BodyAsyncIterable(body)\n } else {\n return body\n }\n}\n\nfunction nop () {}\n\nfunction isStream (obj) {\n return obj && typeof obj === 'object' && typeof obj.pipe === 'function' && typeof obj.on === 'function'\n}\n\n// based on https://github.com/node-fetch/fetch-blob/blob/8ab587d34080de94140b54f07168451e7d0b655e/index.js#L229-L241 (MIT License)\nfunction isBlobLike (object) {\n if (object === null) {\n return false\n } else if (object instanceof Blob) {\n return true\n } else if (typeof object !== 'object') {\n return false\n } else {\n const sTag = object[Symbol.toStringTag]\n\n return (sTag === 'Blob' || sTag === 'File') && (\n ('stream' in object && typeof object.stream === 'function') ||\n ('arrayBuffer' in object && typeof object.arrayBuffer === 'function')\n )\n }\n}\n\nfunction buildURL (url, queryParams) {\n if (url.includes('?') || url.includes('#')) {\n throw new Error('Query params cannot be passed when url already contains \"?\" or \"#\".')\n }\n\n const stringified = stringify(queryParams)\n\n if (stringified) {\n url += '?' + stringified\n }\n\n return url\n}\n\nfunction isValidPort (port) {\n const value = parseInt(port, 10)\n return (\n value === Number(port) &&\n value >= 0 &&\n value <= 65535\n )\n}\n\nfunction isHttpOrHttpsPrefixed (value) {\n return (\n value != null &&\n value[0] === 'h' &&\n value[1] === 't' &&\n value[2] === 't' &&\n value[3] === 'p' &&\n (\n value[4] === ':' ||\n (\n value[4] === 's' &&\n value[5] === ':'\n )\n )\n )\n}\n\nfunction parseURL (url) {\n if (typeof url === 'string') {\n url = new URL(url)\n\n if (!isHttpOrHttpsPrefixed(url.origin || url.protocol)) {\n throw new InvalidArgumentError('Invalid URL protocol: the URL must start with `http:` or `https:`.')\n }\n\n return url\n }\n\n if (!url || typeof url !== 'object') {\n throw new InvalidArgumentError('Invalid URL: The URL argument must be a non-null object.')\n }\n\n if (!(url instanceof URL)) {\n if (url.port != null && url.port !== '' && isValidPort(url.port) === false) {\n throw new InvalidArgumentError('Invalid URL: port must be a valid integer or a string representation of an integer.')\n }\n\n if (url.path != null && typeof url.path !== 'string') {\n throw new InvalidArgumentError('Invalid URL path: the path must be a string or null/undefined.')\n }\n\n if (url.pathname != null && typeof url.pathname !== 'string') {\n throw new InvalidArgumentError('Invalid URL pathname: the pathname must be a string or null/undefined.')\n }\n\n if (url.hostname != null && typeof url.hostname !== 'string') {\n throw new InvalidArgumentError('Invalid URL hostname: the hostname must be a string or null/undefined.')\n }\n\n if (url.origin != null && typeof url.origin !== 'string') {\n throw new InvalidArgumentError('Invalid URL origin: the origin must be a string or null/undefined.')\n }\n\n if (!isHttpOrHttpsPrefixed(url.origin || url.protocol)) {\n throw new InvalidArgumentError('Invalid URL protocol: the URL must start with `http:` or `https:`.')\n }\n\n const port = url.port != null\n ? url.port\n : (url.protocol === 'https:' ? 443 : 80)\n let origin = url.origin != null\n ? url.origin\n : `${url.protocol || ''}//${url.hostname || ''}:${port}`\n let path = url.path != null\n ? url.path\n : `${url.pathname || ''}${url.search || ''}`\n\n if (origin[origin.length - 1] === '/') {\n origin = origin.slice(0, origin.length - 1)\n }\n\n if (path && path[0] !== '/') {\n path = `/${path}`\n }\n // new URL(path, origin) is unsafe when `path` contains an absolute URL\n // From https://developer.mozilla.org/en-US/docs/Web/API/URL/URL:\n // If first parameter is a relative URL, second param is required, and will be used as the base URL.\n // If first parameter is an absolute URL, a given second param will be ignored.\n return new URL(`${origin}${path}`)\n }\n\n if (!isHttpOrHttpsPrefixed(url.origin || url.protocol)) {\n throw new InvalidArgumentError('Invalid URL protocol: the URL must start with `http:` or `https:`.')\n }\n\n return url\n}\n\nfunction parseOrigin (url) {\n url = parseURL(url)\n\n if (url.pathname !== '/' || url.search || url.hash) {\n throw new InvalidArgumentError('invalid url')\n }\n\n return url\n}\n\nfunction getHostname (host) {\n if (host[0] === '[') {\n const idx = host.indexOf(']')\n\n assert(idx !== -1)\n return host.substring(1, idx)\n }\n\n const idx = host.indexOf(':')\n if (idx === -1) return host\n\n return host.substring(0, idx)\n}\n\n// IP addresses are not valid server names per RFC6066\n// > Currently, the only server names supported are DNS hostnames\nfunction getServerName (host) {\n if (!host) {\n return null\n }\n\n assert(typeof host === 'string')\n\n const servername = getHostname(host)\n if (net.isIP(servername)) {\n return ''\n }\n\n return servername\n}\n\nfunction deepClone (obj) {\n return JSON.parse(JSON.stringify(obj))\n}\n\nfunction isAsyncIterable (obj) {\n return !!(obj != null && typeof obj[Symbol.asyncIterator] === 'function')\n}\n\nfunction isIterable (obj) {\n return !!(obj != null && (typeof obj[Symbol.iterator] === 'function' || typeof obj[Symbol.asyncIterator] === 'function'))\n}\n\nfunction bodyLength (body) {\n if (body == null) {\n return 0\n } else if (isStream(body)) {\n const state = body._readableState\n return state && state.objectMode === false && state.ended === true && Number.isFinite(state.length)\n ? state.length\n : null\n } else if (isBlobLike(body)) {\n return body.size != null ? body.size : null\n } else if (isBuffer(body)) {\n return body.byteLength\n }\n\n return null\n}\n\nfunction isDestroyed (body) {\n return body && !!(body.destroyed || body[kDestroyed] || (stream.isDestroyed?.(body)))\n}\n\nfunction destroy (stream, err) {\n if (stream == null || !isStream(stream) || isDestroyed(stream)) {\n return\n }\n\n if (typeof stream.destroy === 'function') {\n if (Object.getPrototypeOf(stream).constructor === IncomingMessage) {\n // See: https://github.com/nodejs/node/pull/38505/files\n stream.socket = null\n }\n\n stream.destroy(err)\n } else if (err) {\n queueMicrotask(() => {\n stream.emit('error', err)\n })\n }\n\n if (stream.destroyed !== true) {\n stream[kDestroyed] = true\n }\n}\n\nconst KEEPALIVE_TIMEOUT_EXPR = /timeout=(\\d+)/\nfunction parseKeepAliveTimeout (val) {\n const m = val.toString().match(KEEPALIVE_TIMEOUT_EXPR)\n return m ? parseInt(m[1], 10) * 1000 : null\n}\n\n/**\n * Retrieves a header name and returns its lowercase value.\n * @param {string | Buffer} value Header name\n * @returns {string}\n */\nfunction headerNameToString (value) {\n return typeof value === 'string'\n ? headerNameLowerCasedRecord[value] ?? value.toLowerCase()\n : tree.lookup(value) ?? value.toString('latin1').toLowerCase()\n}\n\n/**\n * Receive the buffer as a string and return its lowercase value.\n * @param {Buffer} value Header name\n * @returns {string}\n */\nfunction bufferToLowerCasedHeaderName (value) {\n return tree.lookup(value) ?? value.toString('latin1').toLowerCase()\n}\n\n/**\n * @param {Record | (Buffer | string | (Buffer | string)[])[]} headers\n * @param {Record} [obj]\n * @returns {Record}\n */\nfunction parseHeaders (headers, obj) {\n if (obj === undefined) obj = {}\n for (let i = 0; i < headers.length; i += 2) {\n const key = headerNameToString(headers[i])\n let val = obj[key]\n\n if (val) {\n if (typeof val === 'string') {\n val = [val]\n obj[key] = val\n }\n val.push(headers[i + 1].toString('utf8'))\n } else {\n const headersValue = headers[i + 1]\n if (typeof headersValue === 'string') {\n obj[key] = headersValue\n } else {\n obj[key] = Array.isArray(headersValue) ? headersValue.map(x => x.toString('utf8')) : headersValue.toString('utf8')\n }\n }\n }\n\n // See https://github.com/nodejs/node/pull/46528\n if ('content-length' in obj && 'content-disposition' in obj) {\n obj['content-disposition'] = Buffer.from(obj['content-disposition']).toString('latin1')\n }\n\n return obj\n}\n\nfunction parseRawHeaders (headers) {\n const len = headers.length\n const ret = new Array(len)\n\n let hasContentLength = false\n let contentDispositionIdx = -1\n let key\n let val\n let kLen = 0\n\n for (let n = 0; n < headers.length; n += 2) {\n key = headers[n]\n val = headers[n + 1]\n\n typeof key !== 'string' && (key = key.toString())\n typeof val !== 'string' && (val = val.toString('utf8'))\n\n kLen = key.length\n if (kLen === 14 && key[7] === '-' && (key === 'content-length' || key.toLowerCase() === 'content-length')) {\n hasContentLength = true\n } else if (kLen === 19 && key[7] === '-' && (key === 'content-disposition' || key.toLowerCase() === 'content-disposition')) {\n contentDispositionIdx = n + 1\n }\n ret[n] = key\n ret[n + 1] = val\n }\n\n // See https://github.com/nodejs/node/pull/46528\n if (hasContentLength && contentDispositionIdx !== -1) {\n ret[contentDispositionIdx] = Buffer.from(ret[contentDispositionIdx]).toString('latin1')\n }\n\n return ret\n}\n\nfunction isBuffer (buffer) {\n // See, https://github.com/mcollina/undici/pull/319\n return buffer instanceof Uint8Array || Buffer.isBuffer(buffer)\n}\n\nfunction validateHandler (handler, method, upgrade) {\n if (!handler || typeof handler !== 'object') {\n throw new InvalidArgumentError('handler must be an object')\n }\n\n if (typeof handler.onConnect !== 'function') {\n throw new InvalidArgumentError('invalid onConnect method')\n }\n\n if (typeof handler.onError !== 'function') {\n throw new InvalidArgumentError('invalid onError method')\n }\n\n if (typeof handler.onBodySent !== 'function' && handler.onBodySent !== undefined) {\n throw new InvalidArgumentError('invalid onBodySent method')\n }\n\n if (upgrade || method === 'CONNECT') {\n if (typeof handler.onUpgrade !== 'function') {\n throw new InvalidArgumentError('invalid onUpgrade method')\n }\n } else {\n if (typeof handler.onHeaders !== 'function') {\n throw new InvalidArgumentError('invalid onHeaders method')\n }\n\n if (typeof handler.onData !== 'function') {\n throw new InvalidArgumentError('invalid onData method')\n }\n\n if (typeof handler.onComplete !== 'function') {\n throw new InvalidArgumentError('invalid onComplete method')\n }\n }\n}\n\n// A body is disturbed if it has been read from and it cannot\n// be re-used without losing state or data.\nfunction isDisturbed (body) {\n // TODO (fix): Why is body[kBodyUsed] needed?\n return !!(body && (stream.isDisturbed(body) || body[kBodyUsed]))\n}\n\nfunction isErrored (body) {\n return !!(body && stream.isErrored(body))\n}\n\nfunction isReadable (body) {\n return !!(body && stream.isReadable(body))\n}\n\nfunction getSocketInfo (socket) {\n return {\n localAddress: socket.localAddress,\n localPort: socket.localPort,\n remoteAddress: socket.remoteAddress,\n remotePort: socket.remotePort,\n remoteFamily: socket.remoteFamily,\n timeout: socket.timeout,\n bytesWritten: socket.bytesWritten,\n bytesRead: socket.bytesRead\n }\n}\n\n/** @type {globalThis['ReadableStream']} */\nfunction ReadableStreamFrom (iterable) {\n // We cannot use ReadableStream.from here because it does not return a byte stream.\n\n let iterator\n return new ReadableStream(\n {\n async start () {\n iterator = iterable[Symbol.asyncIterator]()\n },\n async pull (controller) {\n const { done, value } = await iterator.next()\n if (done) {\n queueMicrotask(() => {\n controller.close()\n controller.byobRequest?.respond(0)\n })\n } else {\n const buf = Buffer.isBuffer(value) ? value : Buffer.from(value)\n if (buf.byteLength) {\n controller.enqueue(new Uint8Array(buf))\n }\n }\n return controller.desiredSize > 0\n },\n async cancel (reason) {\n await iterator.return()\n },\n type: 'bytes'\n }\n )\n}\n\n// The chunk should be a FormData instance and contains\n// all the required methods.\nfunction isFormDataLike (object) {\n return (\n object &&\n typeof object === 'object' &&\n typeof object.append === 'function' &&\n typeof object.delete === 'function' &&\n typeof object.get === 'function' &&\n typeof object.getAll === 'function' &&\n typeof object.has === 'function' &&\n typeof object.set === 'function' &&\n object[Symbol.toStringTag] === 'FormData'\n )\n}\n\nfunction addAbortListener (signal, listener) {\n if ('addEventListener' in signal) {\n signal.addEventListener('abort', listener, { once: true })\n return () => signal.removeEventListener('abort', listener)\n }\n signal.addListener('abort', listener)\n return () => signal.removeListener('abort', listener)\n}\n\nconst hasToWellFormed = typeof String.prototype.toWellFormed === 'function'\nconst hasIsWellFormed = typeof String.prototype.isWellFormed === 'function'\n\n/**\n * @param {string} val\n */\nfunction toUSVString (val) {\n return hasToWellFormed ? `${val}`.toWellFormed() : nodeUtil.toUSVString(val)\n}\n\n/**\n * @param {string} val\n */\n// TODO: move this to webidl\nfunction isUSVString (val) {\n return hasIsWellFormed ? `${val}`.isWellFormed() : toUSVString(val) === `${val}`\n}\n\n/**\n * @see https://tools.ietf.org/html/rfc7230#section-3.2.6\n * @param {number} c\n */\nfunction isTokenCharCode (c) {\n switch (c) {\n case 0x22:\n case 0x28:\n case 0x29:\n case 0x2c:\n case 0x2f:\n case 0x3a:\n case 0x3b:\n case 0x3c:\n case 0x3d:\n case 0x3e:\n case 0x3f:\n case 0x40:\n case 0x5b:\n case 0x5c:\n case 0x5d:\n case 0x7b:\n case 0x7d:\n // DQUOTE and \"(),/:;<=>?@[\\]{}\"\n return false\n default:\n // VCHAR %x21-7E\n return c >= 0x21 && c <= 0x7e\n }\n}\n\n/**\n * @param {string} characters\n */\nfunction isValidHTTPToken (characters) {\n if (characters.length === 0) {\n return false\n }\n for (let i = 0; i < characters.length; ++i) {\n if (!isTokenCharCode(characters.charCodeAt(i))) {\n return false\n }\n }\n return true\n}\n\n// headerCharRegex have been lifted from\n// https://github.com/nodejs/node/blob/main/lib/_http_common.js\n\n/**\n * Matches if val contains an invalid field-vchar\n * field-value = *( field-content / obs-fold )\n * field-content = field-vchar [ 1*( SP / HTAB ) field-vchar ]\n * field-vchar = VCHAR / obs-text\n */\nconst headerCharRegex = /[^\\t\\x20-\\x7e\\x80-\\xff]/\n\n/**\n * @param {string} characters\n */\nfunction isValidHeaderValue (characters) {\n return !headerCharRegex.test(characters)\n}\n\n// Parsed accordingly to RFC 9110\n// https://www.rfc-editor.org/rfc/rfc9110#field.content-range\nfunction parseRangeHeader (range) {\n if (range == null || range === '') return { start: 0, end: null, size: null }\n\n const m = range ? range.match(/^bytes (\\d+)-(\\d+)\\/(\\d+)?$/) : null\n return m\n ? {\n start: parseInt(m[1]),\n end: m[2] ? parseInt(m[2]) : null,\n size: m[3] ? parseInt(m[3]) : null\n }\n : null\n}\n\nfunction addListener (obj, name, listener) {\n const listeners = (obj[kListeners] ??= [])\n listeners.push([name, listener])\n obj.on(name, listener)\n return obj\n}\n\nfunction removeAllListeners (obj) {\n for (const [name, listener] of obj[kListeners] ?? []) {\n obj.removeListener(name, listener)\n }\n obj[kListeners] = null\n}\n\nfunction errorRequest (client, request, err) {\n try {\n request.onError(err)\n assert(request.aborted)\n } catch (err) {\n client.emit('error', err)\n }\n}\n\nconst kEnumerableProperty = Object.create(null)\nkEnumerableProperty.enumerable = true\n\nconst normalizedMethodRecordsBase = {\n delete: 'DELETE',\n DELETE: 'DELETE',\n get: 'GET',\n GET: 'GET',\n head: 'HEAD',\n HEAD: 'HEAD',\n options: 'OPTIONS',\n OPTIONS: 'OPTIONS',\n post: 'POST',\n POST: 'POST',\n put: 'PUT',\n PUT: 'PUT'\n}\n\nconst normalizedMethodRecords = {\n ...normalizedMethodRecordsBase,\n patch: 'patch',\n PATCH: 'PATCH'\n}\n\n// Note: object prototypes should not be able to be referenced. e.g. `Object#hasOwnProperty`.\nObject.setPrototypeOf(normalizedMethodRecordsBase, null)\nObject.setPrototypeOf(normalizedMethodRecords, null)\n\nmodule.exports = {\n kEnumerableProperty,\n nop,\n isDisturbed,\n isErrored,\n isReadable,\n toUSVString,\n isUSVString,\n isBlobLike,\n parseOrigin,\n parseURL,\n getServerName,\n isStream,\n isIterable,\n isAsyncIterable,\n isDestroyed,\n headerNameToString,\n bufferToLowerCasedHeaderName,\n addListener,\n removeAllListeners,\n errorRequest,\n parseRawHeaders,\n parseHeaders,\n parseKeepAliveTimeout,\n destroy,\n bodyLength,\n deepClone,\n ReadableStreamFrom,\n isBuffer,\n validateHandler,\n getSocketInfo,\n isFormDataLike,\n buildURL,\n addAbortListener,\n isValidHTTPToken,\n isValidHeaderValue,\n isTokenCharCode,\n parseRangeHeader,\n normalizedMethodRecordsBase,\n normalizedMethodRecords,\n isValidPort,\n isHttpOrHttpsPrefixed,\n nodeMajor,\n nodeMinor,\n safeHTTPMethods: ['GET', 'HEAD', 'OPTIONS', 'TRACE'],\n wrapRequestBody\n}\n","'use strict'\n\nconst { InvalidArgumentError } = require('../core/errors')\nconst { kClients, kRunning, kClose, kDestroy, kDispatch, kInterceptors } = require('../core/symbols')\nconst DispatcherBase = require('./dispatcher-base')\nconst Pool = require('./pool')\nconst Client = require('./client')\nconst util = require('../core/util')\nconst createRedirectInterceptor = require('../interceptor/redirect-interceptor')\n\nconst kOnConnect = Symbol('onConnect')\nconst kOnDisconnect = Symbol('onDisconnect')\nconst kOnConnectionError = Symbol('onConnectionError')\nconst kMaxRedirections = Symbol('maxRedirections')\nconst kOnDrain = Symbol('onDrain')\nconst kFactory = Symbol('factory')\nconst kOptions = Symbol('options')\n\nfunction defaultFactory (origin, opts) {\n return opts && opts.connections === 1\n ? new Client(origin, opts)\n : new Pool(origin, opts)\n}\n\nclass Agent extends DispatcherBase {\n constructor ({ factory = defaultFactory, maxRedirections = 0, connect, ...options } = {}) {\n super()\n\n if (typeof factory !== 'function') {\n throw new InvalidArgumentError('factory must be a function.')\n }\n\n if (connect != null && typeof connect !== 'function' && typeof connect !== 'object') {\n throw new InvalidArgumentError('connect must be a function or an object')\n }\n\n if (!Number.isInteger(maxRedirections) || maxRedirections < 0) {\n throw new InvalidArgumentError('maxRedirections must be a positive number')\n }\n\n if (connect && typeof connect !== 'function') {\n connect = { ...connect }\n }\n\n this[kInterceptors] = options.interceptors?.Agent && Array.isArray(options.interceptors.Agent)\n ? options.interceptors.Agent\n : [createRedirectInterceptor({ maxRedirections })]\n\n this[kOptions] = { ...util.deepClone(options), connect }\n this[kOptions].interceptors = options.interceptors\n ? { ...options.interceptors }\n : undefined\n this[kMaxRedirections] = maxRedirections\n this[kFactory] = factory\n this[kClients] = new Map()\n\n this[kOnDrain] = (origin, targets) => {\n this.emit('drain', origin, [this, ...targets])\n }\n\n this[kOnConnect] = (origin, targets) => {\n this.emit('connect', origin, [this, ...targets])\n }\n\n this[kOnDisconnect] = (origin, targets, err) => {\n this.emit('disconnect', origin, [this, ...targets], err)\n }\n\n this[kOnConnectionError] = (origin, targets, err) => {\n this.emit('connectionError', origin, [this, ...targets], err)\n }\n }\n\n get [kRunning] () {\n let ret = 0\n for (const client of this[kClients].values()) {\n ret += client[kRunning]\n }\n return ret\n }\n\n [kDispatch] (opts, handler) {\n let key\n if (opts.origin && (typeof opts.origin === 'string' || opts.origin instanceof URL)) {\n key = String(opts.origin)\n } else {\n throw new InvalidArgumentError('opts.origin must be a non-empty string or URL.')\n }\n\n let dispatcher = this[kClients].get(key)\n\n if (!dispatcher) {\n dispatcher = this[kFactory](opts.origin, this[kOptions])\n .on('drain', this[kOnDrain])\n .on('connect', this[kOnConnect])\n .on('disconnect', this[kOnDisconnect])\n .on('connectionError', this[kOnConnectionError])\n\n // This introduces a tiny memory leak, as dispatchers are never removed from the map.\n // TODO(mcollina): remove te timer when the client/pool do not have any more\n // active connections.\n this[kClients].set(key, dispatcher)\n }\n\n return dispatcher.dispatch(opts, handler)\n }\n\n async [kClose] () {\n const closePromises = []\n for (const client of this[kClients].values()) {\n closePromises.push(client.close())\n }\n this[kClients].clear()\n\n await Promise.all(closePromises)\n }\n\n async [kDestroy] (err) {\n const destroyPromises = []\n for (const client of this[kClients].values()) {\n destroyPromises.push(client.destroy(err))\n }\n this[kClients].clear()\n\n await Promise.all(destroyPromises)\n }\n}\n\nmodule.exports = Agent\n","'use strict'\n\nconst {\n BalancedPoolMissingUpstreamError,\n InvalidArgumentError\n} = require('../core/errors')\nconst {\n PoolBase,\n kClients,\n kNeedDrain,\n kAddClient,\n kRemoveClient,\n kGetDispatcher\n} = require('./pool-base')\nconst Pool = require('./pool')\nconst { kUrl, kInterceptors } = require('../core/symbols')\nconst { parseOrigin } = require('../core/util')\nconst kFactory = Symbol('factory')\n\nconst kOptions = Symbol('options')\nconst kGreatestCommonDivisor = Symbol('kGreatestCommonDivisor')\nconst kCurrentWeight = Symbol('kCurrentWeight')\nconst kIndex = Symbol('kIndex')\nconst kWeight = Symbol('kWeight')\nconst kMaxWeightPerServer = Symbol('kMaxWeightPerServer')\nconst kErrorPenalty = Symbol('kErrorPenalty')\n\n/**\n * Calculate the greatest common divisor of two numbers by\n * using the Euclidean algorithm.\n *\n * @param {number} a\n * @param {number} b\n * @returns {number}\n */\nfunction getGreatestCommonDivisor (a, b) {\n if (a === 0) return b\n\n while (b !== 0) {\n const t = b\n b = a % b\n a = t\n }\n return a\n}\n\nfunction defaultFactory (origin, opts) {\n return new Pool(origin, opts)\n}\n\nclass BalancedPool extends PoolBase {\n constructor (upstreams = [], { factory = defaultFactory, ...opts } = {}) {\n super()\n\n this[kOptions] = opts\n this[kIndex] = -1\n this[kCurrentWeight] = 0\n\n this[kMaxWeightPerServer] = this[kOptions].maxWeightPerServer || 100\n this[kErrorPenalty] = this[kOptions].errorPenalty || 15\n\n if (!Array.isArray(upstreams)) {\n upstreams = [upstreams]\n }\n\n if (typeof factory !== 'function') {\n throw new InvalidArgumentError('factory must be a function.')\n }\n\n this[kInterceptors] = opts.interceptors?.BalancedPool && Array.isArray(opts.interceptors.BalancedPool)\n ? opts.interceptors.BalancedPool\n : []\n this[kFactory] = factory\n\n for (const upstream of upstreams) {\n this.addUpstream(upstream)\n }\n this._updateBalancedPoolStats()\n }\n\n addUpstream (upstream) {\n const upstreamOrigin = parseOrigin(upstream).origin\n\n if (this[kClients].find((pool) => (\n pool[kUrl].origin === upstreamOrigin &&\n pool.closed !== true &&\n pool.destroyed !== true\n ))) {\n return this\n }\n const pool = this[kFactory](upstreamOrigin, Object.assign({}, this[kOptions]))\n\n this[kAddClient](pool)\n pool.on('connect', () => {\n pool[kWeight] = Math.min(this[kMaxWeightPerServer], pool[kWeight] + this[kErrorPenalty])\n })\n\n pool.on('connectionError', () => {\n pool[kWeight] = Math.max(1, pool[kWeight] - this[kErrorPenalty])\n this._updateBalancedPoolStats()\n })\n\n pool.on('disconnect', (...args) => {\n const err = args[2]\n if (err && err.code === 'UND_ERR_SOCKET') {\n // decrease the weight of the pool.\n pool[kWeight] = Math.max(1, pool[kWeight] - this[kErrorPenalty])\n this._updateBalancedPoolStats()\n }\n })\n\n for (const client of this[kClients]) {\n client[kWeight] = this[kMaxWeightPerServer]\n }\n\n this._updateBalancedPoolStats()\n\n return this\n }\n\n _updateBalancedPoolStats () {\n let result = 0\n for (let i = 0; i < this[kClients].length; i++) {\n result = getGreatestCommonDivisor(this[kClients][i][kWeight], result)\n }\n\n this[kGreatestCommonDivisor] = result\n }\n\n removeUpstream (upstream) {\n const upstreamOrigin = parseOrigin(upstream).origin\n\n const pool = this[kClients].find((pool) => (\n pool[kUrl].origin === upstreamOrigin &&\n pool.closed !== true &&\n pool.destroyed !== true\n ))\n\n if (pool) {\n this[kRemoveClient](pool)\n }\n\n return this\n }\n\n get upstreams () {\n return this[kClients]\n .filter(dispatcher => dispatcher.closed !== true && dispatcher.destroyed !== true)\n .map((p) => p[kUrl].origin)\n }\n\n [kGetDispatcher] () {\n // We validate that pools is greater than 0,\n // otherwise we would have to wait until an upstream\n // is added, which might never happen.\n if (this[kClients].length === 0) {\n throw new BalancedPoolMissingUpstreamError()\n }\n\n const dispatcher = this[kClients].find(dispatcher => (\n !dispatcher[kNeedDrain] &&\n dispatcher.closed !== true &&\n dispatcher.destroyed !== true\n ))\n\n if (!dispatcher) {\n return\n }\n\n const allClientsBusy = this[kClients].map(pool => pool[kNeedDrain]).reduce((a, b) => a && b, true)\n\n if (allClientsBusy) {\n return\n }\n\n let counter = 0\n\n let maxWeightIndex = this[kClients].findIndex(pool => !pool[kNeedDrain])\n\n while (counter++ < this[kClients].length) {\n this[kIndex] = (this[kIndex] + 1) % this[kClients].length\n const pool = this[kClients][this[kIndex]]\n\n // find pool index with the largest weight\n if (pool[kWeight] > this[kClients][maxWeightIndex][kWeight] && !pool[kNeedDrain]) {\n maxWeightIndex = this[kIndex]\n }\n\n // decrease the current weight every `this[kClients].length`.\n if (this[kIndex] === 0) {\n // Set the current weight to the next lower weight.\n this[kCurrentWeight] = this[kCurrentWeight] - this[kGreatestCommonDivisor]\n\n if (this[kCurrentWeight] <= 0) {\n this[kCurrentWeight] = this[kMaxWeightPerServer]\n }\n }\n if (pool[kWeight] >= this[kCurrentWeight] && (!pool[kNeedDrain])) {\n return pool\n }\n }\n\n this[kCurrentWeight] = this[kClients][maxWeightIndex][kWeight]\n this[kIndex] = maxWeightIndex\n return this[kClients][maxWeightIndex]\n }\n}\n\nmodule.exports = BalancedPool\n","'use strict'\n\n/* global WebAssembly */\n\nconst assert = require('node:assert')\nconst util = require('../core/util.js')\nconst { channels } = require('../core/diagnostics.js')\nconst timers = require('../util/timers.js')\nconst {\n RequestContentLengthMismatchError,\n ResponseContentLengthMismatchError,\n RequestAbortedError,\n HeadersTimeoutError,\n HeadersOverflowError,\n SocketError,\n InformationalError,\n BodyTimeoutError,\n HTTPParserError,\n ResponseExceededMaxSizeError\n} = require('../core/errors.js')\nconst {\n kUrl,\n kReset,\n kClient,\n kParser,\n kBlocking,\n kRunning,\n kPending,\n kSize,\n kWriting,\n kQueue,\n kNoRef,\n kKeepAliveDefaultTimeout,\n kHostHeader,\n kPendingIdx,\n kRunningIdx,\n kError,\n kPipelining,\n kSocket,\n kKeepAliveTimeoutValue,\n kMaxHeadersSize,\n kKeepAliveMaxTimeout,\n kKeepAliveTimeoutThreshold,\n kHeadersTimeout,\n kBodyTimeout,\n kStrictContentLength,\n kMaxRequests,\n kCounter,\n kMaxResponseSize,\n kOnError,\n kResume,\n kHTTPContext\n} = require('../core/symbols.js')\n\nconst constants = require('../llhttp/constants.js')\nconst EMPTY_BUF = Buffer.alloc(0)\nconst FastBuffer = Buffer[Symbol.species]\nconst addListener = util.addListener\nconst removeAllListeners = util.removeAllListeners\n\nlet extractBody\n\nasync function lazyllhttp () {\n const llhttpWasmData = process.env.JEST_WORKER_ID ? require('../llhttp/llhttp-wasm.js') : undefined\n\n let mod\n try {\n mod = await WebAssembly.compile(require('../llhttp/llhttp_simd-wasm.js'))\n } catch (e) {\n /* istanbul ignore next */\n\n // We could check if the error was caused by the simd option not\n // being enabled, but the occurring of this other error\n // * https://github.com/emscripten-core/emscripten/issues/11495\n // got me to remove that check to avoid breaking Node 12.\n mod = await WebAssembly.compile(llhttpWasmData || require('../llhttp/llhttp-wasm.js'))\n }\n\n return await WebAssembly.instantiate(mod, {\n env: {\n /* eslint-disable camelcase */\n\n wasm_on_url: (p, at, len) => {\n /* istanbul ignore next */\n return 0\n },\n wasm_on_status: (p, at, len) => {\n assert(currentParser.ptr === p)\n const start = at - currentBufferPtr + currentBufferRef.byteOffset\n return currentParser.onStatus(new FastBuffer(currentBufferRef.buffer, start, len)) || 0\n },\n wasm_on_message_begin: (p) => {\n assert(currentParser.ptr === p)\n return currentParser.onMessageBegin() || 0\n },\n wasm_on_header_field: (p, at, len) => {\n assert(currentParser.ptr === p)\n const start = at - currentBufferPtr + currentBufferRef.byteOffset\n return currentParser.onHeaderField(new FastBuffer(currentBufferRef.buffer, start, len)) || 0\n },\n wasm_on_header_value: (p, at, len) => {\n assert(currentParser.ptr === p)\n const start = at - currentBufferPtr + currentBufferRef.byteOffset\n return currentParser.onHeaderValue(new FastBuffer(currentBufferRef.buffer, start, len)) || 0\n },\n wasm_on_headers_complete: (p, statusCode, upgrade, shouldKeepAlive) => {\n assert(currentParser.ptr === p)\n return currentParser.onHeadersComplete(statusCode, Boolean(upgrade), Boolean(shouldKeepAlive)) || 0\n },\n wasm_on_body: (p, at, len) => {\n assert(currentParser.ptr === p)\n const start = at - currentBufferPtr + currentBufferRef.byteOffset\n return currentParser.onBody(new FastBuffer(currentBufferRef.buffer, start, len)) || 0\n },\n wasm_on_message_complete: (p) => {\n assert(currentParser.ptr === p)\n return currentParser.onMessageComplete() || 0\n }\n\n /* eslint-enable camelcase */\n }\n })\n}\n\nlet llhttpInstance = null\nlet llhttpPromise = lazyllhttp()\nllhttpPromise.catch()\n\nlet currentParser = null\nlet currentBufferRef = null\nlet currentBufferSize = 0\nlet currentBufferPtr = null\n\nconst USE_NATIVE_TIMER = 0\nconst USE_FAST_TIMER = 1\n\n// Use fast timers for headers and body to take eventual event loop\n// latency into account.\nconst TIMEOUT_HEADERS = 2 | USE_FAST_TIMER\nconst TIMEOUT_BODY = 4 | USE_FAST_TIMER\n\n// Use native timers to ignore event loop latency for keep-alive\n// handling.\nconst TIMEOUT_KEEP_ALIVE = 8 | USE_NATIVE_TIMER\n\nclass Parser {\n constructor (client, socket, { exports }) {\n assert(Number.isFinite(client[kMaxHeadersSize]) && client[kMaxHeadersSize] > 0)\n\n this.llhttp = exports\n this.ptr = this.llhttp.llhttp_alloc(constants.TYPE.RESPONSE)\n this.client = client\n this.socket = socket\n this.timeout = null\n this.timeoutValue = null\n this.timeoutType = null\n this.statusCode = null\n this.statusText = ''\n this.upgrade = false\n this.headers = []\n this.headersSize = 0\n this.headersMaxSize = client[kMaxHeadersSize]\n this.shouldKeepAlive = false\n this.paused = false\n this.resume = this.resume.bind(this)\n\n this.bytesRead = 0\n\n this.keepAlive = ''\n this.contentLength = ''\n this.connection = ''\n this.maxResponseSize = client[kMaxResponseSize]\n }\n\n setTimeout (delay, type) {\n // If the existing timer and the new timer are of different timer type\n // (fast or native) or have different delay, we need to clear the existing\n // timer and set a new one.\n if (\n delay !== this.timeoutValue ||\n (type & USE_FAST_TIMER) ^ (this.timeoutType & USE_FAST_TIMER)\n ) {\n // If a timeout is already set, clear it with clearTimeout of the fast\n // timer implementation, as it can clear fast and native timers.\n if (this.timeout) {\n timers.clearTimeout(this.timeout)\n this.timeout = null\n }\n\n if (delay) {\n if (type & USE_FAST_TIMER) {\n this.timeout = timers.setFastTimeout(onParserTimeout, delay, new WeakRef(this))\n } else {\n this.timeout = setTimeout(onParserTimeout, delay, new WeakRef(this))\n this.timeout.unref()\n }\n }\n\n this.timeoutValue = delay\n } else if (this.timeout) {\n // istanbul ignore else: only for jest\n if (this.timeout.refresh) {\n this.timeout.refresh()\n }\n }\n\n this.timeoutType = type\n }\n\n resume () {\n if (this.socket.destroyed || !this.paused) {\n return\n }\n\n assert(this.ptr != null)\n assert(currentParser == null)\n\n this.llhttp.llhttp_resume(this.ptr)\n\n assert(this.timeoutType === TIMEOUT_BODY)\n if (this.timeout) {\n // istanbul ignore else: only for jest\n if (this.timeout.refresh) {\n this.timeout.refresh()\n }\n }\n\n this.paused = false\n this.execute(this.socket.read() || EMPTY_BUF) // Flush parser.\n this.readMore()\n }\n\n readMore () {\n while (!this.paused && this.ptr) {\n const chunk = this.socket.read()\n if (chunk === null) {\n break\n }\n this.execute(chunk)\n }\n }\n\n execute (data) {\n assert(this.ptr != null)\n assert(currentParser == null)\n assert(!this.paused)\n\n const { socket, llhttp } = this\n\n if (data.length > currentBufferSize) {\n if (currentBufferPtr) {\n llhttp.free(currentBufferPtr)\n }\n currentBufferSize = Math.ceil(data.length / 4096) * 4096\n currentBufferPtr = llhttp.malloc(currentBufferSize)\n }\n\n new Uint8Array(llhttp.memory.buffer, currentBufferPtr, currentBufferSize).set(data)\n\n // Call `execute` on the wasm parser.\n // We pass the `llhttp_parser` pointer address, the pointer address of buffer view data,\n // and finally the length of bytes to parse.\n // The return value is an error code or `constants.ERROR.OK`.\n try {\n let ret\n\n try {\n currentBufferRef = data\n currentParser = this\n ret = llhttp.llhttp_execute(this.ptr, currentBufferPtr, data.length)\n /* eslint-disable-next-line no-useless-catch */\n } catch (err) {\n /* istanbul ignore next: difficult to make a test case for */\n throw err\n } finally {\n currentParser = null\n currentBufferRef = null\n }\n\n const offset = llhttp.llhttp_get_error_pos(this.ptr) - currentBufferPtr\n\n if (ret === constants.ERROR.PAUSED_UPGRADE) {\n this.onUpgrade(data.slice(offset))\n } else if (ret === constants.ERROR.PAUSED) {\n this.paused = true\n socket.unshift(data.slice(offset))\n } else if (ret !== constants.ERROR.OK) {\n const ptr = llhttp.llhttp_get_error_reason(this.ptr)\n let message = ''\n /* istanbul ignore else: difficult to make a test case for */\n if (ptr) {\n const len = new Uint8Array(llhttp.memory.buffer, ptr).indexOf(0)\n message =\n 'Response does not match the HTTP/1.1 protocol (' +\n Buffer.from(llhttp.memory.buffer, ptr, len).toString() +\n ')'\n }\n throw new HTTPParserError(message, constants.ERROR[ret], data.slice(offset))\n }\n } catch (err) {\n util.destroy(socket, err)\n }\n }\n\n destroy () {\n assert(this.ptr != null)\n assert(currentParser == null)\n\n this.llhttp.llhttp_free(this.ptr)\n this.ptr = null\n\n this.timeout && timers.clearTimeout(this.timeout)\n this.timeout = null\n this.timeoutValue = null\n this.timeoutType = null\n\n this.paused = false\n }\n\n onStatus (buf) {\n this.statusText = buf.toString()\n }\n\n onMessageBegin () {\n const { socket, client } = this\n\n /* istanbul ignore next: difficult to make a test case for */\n if (socket.destroyed) {\n return -1\n }\n\n const request = client[kQueue][client[kRunningIdx]]\n if (!request) {\n return -1\n }\n request.onResponseStarted()\n }\n\n onHeaderField (buf) {\n const len = this.headers.length\n\n if ((len & 1) === 0) {\n this.headers.push(buf)\n } else {\n this.headers[len - 1] = Buffer.concat([this.headers[len - 1], buf])\n }\n\n this.trackHeader(buf.length)\n }\n\n onHeaderValue (buf) {\n let len = this.headers.length\n\n if ((len & 1) === 1) {\n this.headers.push(buf)\n len += 1\n } else {\n this.headers[len - 1] = Buffer.concat([this.headers[len - 1], buf])\n }\n\n const key = this.headers[len - 2]\n if (key.length === 10) {\n const headerName = util.bufferToLowerCasedHeaderName(key)\n if (headerName === 'keep-alive') {\n this.keepAlive += buf.toString()\n } else if (headerName === 'connection') {\n this.connection += buf.toString()\n }\n } else if (key.length === 14 && util.bufferToLowerCasedHeaderName(key) === 'content-length') {\n this.contentLength += buf.toString()\n }\n\n this.trackHeader(buf.length)\n }\n\n trackHeader (len) {\n this.headersSize += len\n if (this.headersSize >= this.headersMaxSize) {\n util.destroy(this.socket, new HeadersOverflowError())\n }\n }\n\n onUpgrade (head) {\n const { upgrade, client, socket, headers, statusCode } = this\n\n assert(upgrade)\n assert(client[kSocket] === socket)\n assert(!socket.destroyed)\n assert(!this.paused)\n assert((headers.length & 1) === 0)\n\n const request = client[kQueue][client[kRunningIdx]]\n assert(request)\n assert(request.upgrade || request.method === 'CONNECT')\n\n this.statusCode = null\n this.statusText = ''\n this.shouldKeepAlive = null\n\n this.headers = []\n this.headersSize = 0\n\n socket.unshift(head)\n\n socket[kParser].destroy()\n socket[kParser] = null\n\n socket[kClient] = null\n socket[kError] = null\n\n removeAllListeners(socket)\n\n client[kSocket] = null\n client[kHTTPContext] = null // TODO (fix): This is hacky...\n client[kQueue][client[kRunningIdx]++] = null\n client.emit('disconnect', client[kUrl], [client], new InformationalError('upgrade'))\n\n try {\n request.onUpgrade(statusCode, headers, socket)\n } catch (err) {\n util.destroy(socket, err)\n }\n\n client[kResume]()\n }\n\n onHeadersComplete (statusCode, upgrade, shouldKeepAlive) {\n const { client, socket, headers, statusText } = this\n\n /* istanbul ignore next: difficult to make a test case for */\n if (socket.destroyed) {\n return -1\n }\n\n const request = client[kQueue][client[kRunningIdx]]\n\n /* istanbul ignore next: difficult to make a test case for */\n if (!request) {\n return -1\n }\n\n assert(!this.upgrade)\n assert(this.statusCode < 200)\n\n if (statusCode === 100) {\n util.destroy(socket, new SocketError('bad response', util.getSocketInfo(socket)))\n return -1\n }\n\n /* this can only happen if server is misbehaving */\n if (upgrade && !request.upgrade) {\n util.destroy(socket, new SocketError('bad upgrade', util.getSocketInfo(socket)))\n return -1\n }\n\n assert(this.timeoutType === TIMEOUT_HEADERS)\n\n this.statusCode = statusCode\n this.shouldKeepAlive = (\n shouldKeepAlive ||\n // Override llhttp value which does not allow keepAlive for HEAD.\n (request.method === 'HEAD' && !socket[kReset] && this.connection.toLowerCase() === 'keep-alive')\n )\n\n if (this.statusCode >= 200) {\n const bodyTimeout = request.bodyTimeout != null\n ? request.bodyTimeout\n : client[kBodyTimeout]\n this.setTimeout(bodyTimeout, TIMEOUT_BODY)\n } else if (this.timeout) {\n // istanbul ignore else: only for jest\n if (this.timeout.refresh) {\n this.timeout.refresh()\n }\n }\n\n if (request.method === 'CONNECT') {\n assert(client[kRunning] === 1)\n this.upgrade = true\n return 2\n }\n\n if (upgrade) {\n assert(client[kRunning] === 1)\n this.upgrade = true\n return 2\n }\n\n assert((this.headers.length & 1) === 0)\n this.headers = []\n this.headersSize = 0\n\n if (this.shouldKeepAlive && client[kPipelining]) {\n const keepAliveTimeout = this.keepAlive ? util.parseKeepAliveTimeout(this.keepAlive) : null\n\n if (keepAliveTimeout != null) {\n const timeout = Math.min(\n keepAliveTimeout - client[kKeepAliveTimeoutThreshold],\n client[kKeepAliveMaxTimeout]\n )\n if (timeout <= 0) {\n socket[kReset] = true\n } else {\n client[kKeepAliveTimeoutValue] = timeout\n }\n } else {\n client[kKeepAliveTimeoutValue] = client[kKeepAliveDefaultTimeout]\n }\n } else {\n // Stop more requests from being dispatched.\n socket[kReset] = true\n }\n\n const pause = request.onHeaders(statusCode, headers, this.resume, statusText) === false\n\n if (request.aborted) {\n return -1\n }\n\n if (request.method === 'HEAD') {\n return 1\n }\n\n if (statusCode < 200) {\n return 1\n }\n\n if (socket[kBlocking]) {\n socket[kBlocking] = false\n client[kResume]()\n }\n\n return pause ? constants.ERROR.PAUSED : 0\n }\n\n onBody (buf) {\n const { client, socket, statusCode, maxResponseSize } = this\n\n if (socket.destroyed) {\n return -1\n }\n\n const request = client[kQueue][client[kRunningIdx]]\n assert(request)\n\n assert(this.timeoutType === TIMEOUT_BODY)\n if (this.timeout) {\n // istanbul ignore else: only for jest\n if (this.timeout.refresh) {\n this.timeout.refresh()\n }\n }\n\n assert(statusCode >= 200)\n\n if (maxResponseSize > -1 && this.bytesRead + buf.length > maxResponseSize) {\n util.destroy(socket, new ResponseExceededMaxSizeError())\n return -1\n }\n\n this.bytesRead += buf.length\n\n if (request.onData(buf) === false) {\n return constants.ERROR.PAUSED\n }\n }\n\n onMessageComplete () {\n const { client, socket, statusCode, upgrade, headers, contentLength, bytesRead, shouldKeepAlive } = this\n\n if (socket.destroyed && (!statusCode || shouldKeepAlive)) {\n return -1\n }\n\n if (upgrade) {\n return\n }\n\n assert(statusCode >= 100)\n assert((this.headers.length & 1) === 0)\n\n const request = client[kQueue][client[kRunningIdx]]\n assert(request)\n\n this.statusCode = null\n this.statusText = ''\n this.bytesRead = 0\n this.contentLength = ''\n this.keepAlive = ''\n this.connection = ''\n\n this.headers = []\n this.headersSize = 0\n\n if (statusCode < 200) {\n return\n }\n\n /* istanbul ignore next: should be handled by llhttp? */\n if (request.method !== 'HEAD' && contentLength && bytesRead !== parseInt(contentLength, 10)) {\n util.destroy(socket, new ResponseContentLengthMismatchError())\n return -1\n }\n\n request.onComplete(headers)\n\n client[kQueue][client[kRunningIdx]++] = null\n\n if (socket[kWriting]) {\n assert(client[kRunning] === 0)\n // Response completed before request.\n util.destroy(socket, new InformationalError('reset'))\n return constants.ERROR.PAUSED\n } else if (!shouldKeepAlive) {\n util.destroy(socket, new InformationalError('reset'))\n return constants.ERROR.PAUSED\n } else if (socket[kReset] && client[kRunning] === 0) {\n // Destroy socket once all requests have completed.\n // The request at the tail of the pipeline is the one\n // that requested reset and no further requests should\n // have been queued since then.\n util.destroy(socket, new InformationalError('reset'))\n return constants.ERROR.PAUSED\n } else if (client[kPipelining] == null || client[kPipelining] === 1) {\n // We must wait a full event loop cycle to reuse this socket to make sure\n // that non-spec compliant servers are not closing the connection even if they\n // said they won't.\n setImmediate(() => client[kResume]())\n } else {\n client[kResume]()\n }\n }\n}\n\nfunction onParserTimeout (parser) {\n const { socket, timeoutType, client, paused } = parser.deref()\n\n /* istanbul ignore else */\n if (timeoutType === TIMEOUT_HEADERS) {\n if (!socket[kWriting] || socket.writableNeedDrain || client[kRunning] > 1) {\n assert(!paused, 'cannot be paused while waiting for headers')\n util.destroy(socket, new HeadersTimeoutError())\n }\n } else if (timeoutType === TIMEOUT_BODY) {\n if (!paused) {\n util.destroy(socket, new BodyTimeoutError())\n }\n } else if (timeoutType === TIMEOUT_KEEP_ALIVE) {\n assert(client[kRunning] === 0 && client[kKeepAliveTimeoutValue])\n util.destroy(socket, new InformationalError('socket idle timeout'))\n }\n}\n\nasync function connectH1 (client, socket) {\n client[kSocket] = socket\n\n if (!llhttpInstance) {\n llhttpInstance = await llhttpPromise\n llhttpPromise = null\n }\n\n socket[kNoRef] = false\n socket[kWriting] = false\n socket[kReset] = false\n socket[kBlocking] = false\n socket[kParser] = new Parser(client, socket, llhttpInstance)\n\n addListener(socket, 'error', function (err) {\n assert(err.code !== 'ERR_TLS_CERT_ALTNAME_INVALID')\n\n const parser = this[kParser]\n\n // On Mac OS, we get an ECONNRESET even if there is a full body to be forwarded\n // to the user.\n if (err.code === 'ECONNRESET' && parser.statusCode && !parser.shouldKeepAlive) {\n // We treat all incoming data so for as a valid response.\n parser.onMessageComplete()\n return\n }\n\n this[kError] = err\n\n this[kClient][kOnError](err)\n })\n addListener(socket, 'readable', function () {\n const parser = this[kParser]\n\n if (parser) {\n parser.readMore()\n }\n })\n addListener(socket, 'end', function () {\n const parser = this[kParser]\n\n if (parser.statusCode && !parser.shouldKeepAlive) {\n // We treat all incoming data so far as a valid response.\n parser.onMessageComplete()\n return\n }\n\n util.destroy(this, new SocketError('other side closed', util.getSocketInfo(this)))\n })\n addListener(socket, 'close', function () {\n const client = this[kClient]\n const parser = this[kParser]\n\n if (parser) {\n if (!this[kError] && parser.statusCode && !parser.shouldKeepAlive) {\n // We treat all incoming data so far as a valid response.\n parser.onMessageComplete()\n }\n\n this[kParser].destroy()\n this[kParser] = null\n }\n\n const err = this[kError] || new SocketError('closed', util.getSocketInfo(this))\n\n client[kSocket] = null\n client[kHTTPContext] = null // TODO (fix): This is hacky...\n\n if (client.destroyed) {\n assert(client[kPending] === 0)\n\n // Fail entire queue.\n const requests = client[kQueue].splice(client[kRunningIdx])\n for (let i = 0; i < requests.length; i++) {\n const request = requests[i]\n util.errorRequest(client, request, err)\n }\n } else if (client[kRunning] > 0 && err.code !== 'UND_ERR_INFO') {\n // Fail head of pipeline.\n const request = client[kQueue][client[kRunningIdx]]\n client[kQueue][client[kRunningIdx]++] = null\n\n util.errorRequest(client, request, err)\n }\n\n client[kPendingIdx] = client[kRunningIdx]\n\n assert(client[kRunning] === 0)\n\n client.emit('disconnect', client[kUrl], [client], err)\n\n client[kResume]()\n })\n\n let closed = false\n socket.on('close', () => {\n closed = true\n })\n\n return {\n version: 'h1',\n defaultPipelining: 1,\n write (...args) {\n return writeH1(client, ...args)\n },\n resume () {\n resumeH1(client)\n },\n destroy (err, callback) {\n if (closed) {\n queueMicrotask(callback)\n } else {\n socket.destroy(err).on('close', callback)\n }\n },\n get destroyed () {\n return socket.destroyed\n },\n busy (request) {\n if (socket[kWriting] || socket[kReset] || socket[kBlocking]) {\n return true\n }\n\n if (request) {\n if (client[kRunning] > 0 && !request.idempotent) {\n // Non-idempotent request cannot be retried.\n // Ensure that no other requests are inflight and\n // could cause failure.\n return true\n }\n\n if (client[kRunning] > 0 && (request.upgrade || request.method === 'CONNECT')) {\n // Don't dispatch an upgrade until all preceding requests have completed.\n // A misbehaving server might upgrade the connection before all pipelined\n // request has completed.\n return true\n }\n\n if (client[kRunning] > 0 && util.bodyLength(request.body) !== 0 &&\n (util.isStream(request.body) || util.isAsyncIterable(request.body) || util.isFormDataLike(request.body))) {\n // Request with stream or iterator body can error while other requests\n // are inflight and indirectly error those as well.\n // Ensure this doesn't happen by waiting for inflight\n // to complete before dispatching.\n\n // Request with stream or iterator body cannot be retried.\n // Ensure that no other requests are inflight and\n // could cause failure.\n return true\n }\n }\n\n return false\n }\n }\n}\n\nfunction resumeH1 (client) {\n const socket = client[kSocket]\n\n if (socket && !socket.destroyed) {\n if (client[kSize] === 0) {\n if (!socket[kNoRef] && socket.unref) {\n socket.unref()\n socket[kNoRef] = true\n }\n } else if (socket[kNoRef] && socket.ref) {\n socket.ref()\n socket[kNoRef] = false\n }\n\n if (client[kSize] === 0) {\n if (socket[kParser].timeoutType !== TIMEOUT_KEEP_ALIVE) {\n socket[kParser].setTimeout(client[kKeepAliveTimeoutValue], TIMEOUT_KEEP_ALIVE)\n }\n } else if (client[kRunning] > 0 && socket[kParser].statusCode < 200) {\n if (socket[kParser].timeoutType !== TIMEOUT_HEADERS) {\n const request = client[kQueue][client[kRunningIdx]]\n const headersTimeout = request.headersTimeout != null\n ? request.headersTimeout\n : client[kHeadersTimeout]\n socket[kParser].setTimeout(headersTimeout, TIMEOUT_HEADERS)\n }\n }\n }\n}\n\n// https://www.rfc-editor.org/rfc/rfc7230#section-3.3.2\nfunction shouldSendContentLength (method) {\n return method !== 'GET' && method !== 'HEAD' && method !== 'OPTIONS' && method !== 'TRACE' && method !== 'CONNECT'\n}\n\nfunction writeH1 (client, request) {\n const { method, path, host, upgrade, blocking, reset } = request\n\n let { body, headers, contentLength } = request\n\n // https://tools.ietf.org/html/rfc7231#section-4.3.1\n // https://tools.ietf.org/html/rfc7231#section-4.3.2\n // https://tools.ietf.org/html/rfc7231#section-4.3.5\n\n // Sending a payload body on a request that does not\n // expect it can cause undefined behavior on some\n // servers and corrupt connection state. Do not\n // re-use the connection for further requests.\n\n const expectsPayload = (\n method === 'PUT' ||\n method === 'POST' ||\n method === 'PATCH' ||\n method === 'QUERY' ||\n method === 'PROPFIND' ||\n method === 'PROPPATCH'\n )\n\n if (util.isFormDataLike(body)) {\n if (!extractBody) {\n extractBody = require('../web/fetch/body.js').extractBody\n }\n\n const [bodyStream, contentType] = extractBody(body)\n if (request.contentType == null) {\n headers.push('content-type', contentType)\n }\n body = bodyStream.stream\n contentLength = bodyStream.length\n } else if (util.isBlobLike(body) && request.contentType == null && body.type) {\n headers.push('content-type', body.type)\n }\n\n if (body && typeof body.read === 'function') {\n // Try to read EOF in order to get length.\n body.read(0)\n }\n\n const bodyLength = util.bodyLength(body)\n\n contentLength = bodyLength ?? contentLength\n\n if (contentLength === null) {\n contentLength = request.contentLength\n }\n\n if (contentLength === 0 && !expectsPayload) {\n // https://tools.ietf.org/html/rfc7230#section-3.3.2\n // A user agent SHOULD NOT send a Content-Length header field when\n // the request message does not contain a payload body and the method\n // semantics do not anticipate such a body.\n\n contentLength = null\n }\n\n // https://github.com/nodejs/undici/issues/2046\n // A user agent may send a Content-Length header with 0 value, this should be allowed.\n if (shouldSendContentLength(method) && contentLength > 0 && request.contentLength !== null && request.contentLength !== contentLength) {\n if (client[kStrictContentLength]) {\n util.errorRequest(client, request, new RequestContentLengthMismatchError())\n return false\n }\n\n process.emitWarning(new RequestContentLengthMismatchError())\n }\n\n const socket = client[kSocket]\n\n const abort = (err) => {\n if (request.aborted || request.completed) {\n return\n }\n\n util.errorRequest(client, request, err || new RequestAbortedError())\n\n util.destroy(body)\n util.destroy(socket, new InformationalError('aborted'))\n }\n\n try {\n request.onConnect(abort)\n } catch (err) {\n util.errorRequest(client, request, err)\n }\n\n if (request.aborted) {\n return false\n }\n\n if (method === 'HEAD') {\n // https://github.com/mcollina/undici/issues/258\n // Close after a HEAD request to interop with misbehaving servers\n // that may send a body in the response.\n\n socket[kReset] = true\n }\n\n if (upgrade || method === 'CONNECT') {\n // On CONNECT or upgrade, block pipeline from dispatching further\n // requests on this connection.\n\n socket[kReset] = true\n }\n\n if (reset != null) {\n socket[kReset] = reset\n }\n\n if (client[kMaxRequests] && socket[kCounter]++ >= client[kMaxRequests]) {\n socket[kReset] = true\n }\n\n if (blocking) {\n socket[kBlocking] = true\n }\n\n let header = `${method} ${path} HTTP/1.1\\r\\n`\n\n if (typeof host === 'string') {\n header += `host: ${host}\\r\\n`\n } else {\n header += client[kHostHeader]\n }\n\n if (upgrade) {\n header += `connection: upgrade\\r\\nupgrade: ${upgrade}\\r\\n`\n } else if (client[kPipelining] && !socket[kReset]) {\n header += 'connection: keep-alive\\r\\n'\n } else {\n header += 'connection: close\\r\\n'\n }\n\n if (Array.isArray(headers)) {\n for (let n = 0; n < headers.length; n += 2) {\n const key = headers[n + 0]\n const val = headers[n + 1]\n\n if (Array.isArray(val)) {\n for (let i = 0; i < val.length; i++) {\n header += `${key}: ${val[i]}\\r\\n`\n }\n } else {\n header += `${key}: ${val}\\r\\n`\n }\n }\n }\n\n if (channels.sendHeaders.hasSubscribers) {\n channels.sendHeaders.publish({ request, headers: header, socket })\n }\n\n /* istanbul ignore else: assertion */\n if (!body || bodyLength === 0) {\n writeBuffer(abort, null, client, request, socket, contentLength, header, expectsPayload)\n } else if (util.isBuffer(body)) {\n writeBuffer(abort, body, client, request, socket, contentLength, header, expectsPayload)\n } else if (util.isBlobLike(body)) {\n if (typeof body.stream === 'function') {\n writeIterable(abort, body.stream(), client, request, socket, contentLength, header, expectsPayload)\n } else {\n writeBlob(abort, body, client, request, socket, contentLength, header, expectsPayload)\n }\n } else if (util.isStream(body)) {\n writeStream(abort, body, client, request, socket, contentLength, header, expectsPayload)\n } else if (util.isIterable(body)) {\n writeIterable(abort, body, client, request, socket, contentLength, header, expectsPayload)\n } else {\n assert(false)\n }\n\n return true\n}\n\nfunction writeStream (abort, body, client, request, socket, contentLength, header, expectsPayload) {\n assert(contentLength !== 0 || client[kRunning] === 0, 'stream body cannot be pipelined')\n\n let finished = false\n\n const writer = new AsyncWriter({ abort, socket, request, contentLength, client, expectsPayload, header })\n\n const onData = function (chunk) {\n if (finished) {\n return\n }\n\n try {\n if (!writer.write(chunk) && this.pause) {\n this.pause()\n }\n } catch (err) {\n util.destroy(this, err)\n }\n }\n const onDrain = function () {\n if (finished) {\n return\n }\n\n if (body.resume) {\n body.resume()\n }\n }\n const onClose = function () {\n // 'close' might be emitted *before* 'error' for\n // broken streams. Wait a tick to avoid this case.\n queueMicrotask(() => {\n // It's only safe to remove 'error' listener after\n // 'close'.\n body.removeListener('error', onFinished)\n })\n\n if (!finished) {\n const err = new RequestAbortedError()\n queueMicrotask(() => onFinished(err))\n }\n }\n const onFinished = function (err) {\n if (finished) {\n return\n }\n\n finished = true\n\n assert(socket.destroyed || (socket[kWriting] && client[kRunning] <= 1))\n\n socket\n .off('drain', onDrain)\n .off('error', onFinished)\n\n body\n .removeListener('data', onData)\n .removeListener('end', onFinished)\n .removeListener('close', onClose)\n\n if (!err) {\n try {\n writer.end()\n } catch (er) {\n err = er\n }\n }\n\n writer.destroy(err)\n\n if (err && (err.code !== 'UND_ERR_INFO' || err.message !== 'reset')) {\n util.destroy(body, err)\n } else {\n util.destroy(body)\n }\n }\n\n body\n .on('data', onData)\n .on('end', onFinished)\n .on('error', onFinished)\n .on('close', onClose)\n\n if (body.resume) {\n body.resume()\n }\n\n socket\n .on('drain', onDrain)\n .on('error', onFinished)\n\n if (body.errorEmitted ?? body.errored) {\n setImmediate(() => onFinished(body.errored))\n } else if (body.endEmitted ?? body.readableEnded) {\n setImmediate(() => onFinished(null))\n }\n\n if (body.closeEmitted ?? body.closed) {\n setImmediate(onClose)\n }\n}\n\nfunction writeBuffer (abort, body, client, request, socket, contentLength, header, expectsPayload) {\n try {\n if (!body) {\n if (contentLength === 0) {\n socket.write(`${header}content-length: 0\\r\\n\\r\\n`, 'latin1')\n } else {\n assert(contentLength === null, 'no body must not have content length')\n socket.write(`${header}\\r\\n`, 'latin1')\n }\n } else if (util.isBuffer(body)) {\n assert(contentLength === body.byteLength, 'buffer body must have content length')\n\n socket.cork()\n socket.write(`${header}content-length: ${contentLength}\\r\\n\\r\\n`, 'latin1')\n socket.write(body)\n socket.uncork()\n request.onBodySent(body)\n\n if (!expectsPayload && request.reset !== false) {\n socket[kReset] = true\n }\n }\n request.onRequestSent()\n\n client[kResume]()\n } catch (err) {\n abort(err)\n }\n}\n\nasync function writeBlob (abort, body, client, request, socket, contentLength, header, expectsPayload) {\n assert(contentLength === body.size, 'blob body must have content length')\n\n try {\n if (contentLength != null && contentLength !== body.size) {\n throw new RequestContentLengthMismatchError()\n }\n\n const buffer = Buffer.from(await body.arrayBuffer())\n\n socket.cork()\n socket.write(`${header}content-length: ${contentLength}\\r\\n\\r\\n`, 'latin1')\n socket.write(buffer)\n socket.uncork()\n\n request.onBodySent(buffer)\n request.onRequestSent()\n\n if (!expectsPayload && request.reset !== false) {\n socket[kReset] = true\n }\n\n client[kResume]()\n } catch (err) {\n abort(err)\n }\n}\n\nasync function writeIterable (abort, body, client, request, socket, contentLength, header, expectsPayload) {\n assert(contentLength !== 0 || client[kRunning] === 0, 'iterator body cannot be pipelined')\n\n let callback = null\n function onDrain () {\n if (callback) {\n const cb = callback\n callback = null\n cb()\n }\n }\n\n const waitForDrain = () => new Promise((resolve, reject) => {\n assert(callback === null)\n\n if (socket[kError]) {\n reject(socket[kError])\n } else {\n callback = resolve\n }\n })\n\n socket\n .on('close', onDrain)\n .on('drain', onDrain)\n\n const writer = new AsyncWriter({ abort, socket, request, contentLength, client, expectsPayload, header })\n try {\n // It's up to the user to somehow abort the async iterable.\n for await (const chunk of body) {\n if (socket[kError]) {\n throw socket[kError]\n }\n\n if (!writer.write(chunk)) {\n await waitForDrain()\n }\n }\n\n writer.end()\n } catch (err) {\n writer.destroy(err)\n } finally {\n socket\n .off('close', onDrain)\n .off('drain', onDrain)\n }\n}\n\nclass AsyncWriter {\n constructor ({ abort, socket, request, contentLength, client, expectsPayload, header }) {\n this.socket = socket\n this.request = request\n this.contentLength = contentLength\n this.client = client\n this.bytesWritten = 0\n this.expectsPayload = expectsPayload\n this.header = header\n this.abort = abort\n\n socket[kWriting] = true\n }\n\n write (chunk) {\n const { socket, request, contentLength, client, bytesWritten, expectsPayload, header } = this\n\n if (socket[kError]) {\n throw socket[kError]\n }\n\n if (socket.destroyed) {\n return false\n }\n\n const len = Buffer.byteLength(chunk)\n if (!len) {\n return true\n }\n\n // We should defer writing chunks.\n if (contentLength !== null && bytesWritten + len > contentLength) {\n if (client[kStrictContentLength]) {\n throw new RequestContentLengthMismatchError()\n }\n\n process.emitWarning(new RequestContentLengthMismatchError())\n }\n\n socket.cork()\n\n if (bytesWritten === 0) {\n if (!expectsPayload && request.reset !== false) {\n socket[kReset] = true\n }\n\n if (contentLength === null) {\n socket.write(`${header}transfer-encoding: chunked\\r\\n`, 'latin1')\n } else {\n socket.write(`${header}content-length: ${contentLength}\\r\\n\\r\\n`, 'latin1')\n }\n }\n\n if (contentLength === null) {\n socket.write(`\\r\\n${len.toString(16)}\\r\\n`, 'latin1')\n }\n\n this.bytesWritten += len\n\n const ret = socket.write(chunk)\n\n socket.uncork()\n\n request.onBodySent(chunk)\n\n if (!ret) {\n if (socket[kParser].timeout && socket[kParser].timeoutType === TIMEOUT_HEADERS) {\n // istanbul ignore else: only for jest\n if (socket[kParser].timeout.refresh) {\n socket[kParser].timeout.refresh()\n }\n }\n }\n\n return ret\n }\n\n end () {\n const { socket, contentLength, client, bytesWritten, expectsPayload, header, request } = this\n request.onRequestSent()\n\n socket[kWriting] = false\n\n if (socket[kError]) {\n throw socket[kError]\n }\n\n if (socket.destroyed) {\n return\n }\n\n if (bytesWritten === 0) {\n if (expectsPayload) {\n // https://tools.ietf.org/html/rfc7230#section-3.3.2\n // A user agent SHOULD send a Content-Length in a request message when\n // no Transfer-Encoding is sent and the request method defines a meaning\n // for an enclosed payload body.\n\n socket.write(`${header}content-length: 0\\r\\n\\r\\n`, 'latin1')\n } else {\n socket.write(`${header}\\r\\n`, 'latin1')\n }\n } else if (contentLength === null) {\n socket.write('\\r\\n0\\r\\n\\r\\n', 'latin1')\n }\n\n if (contentLength !== null && bytesWritten !== contentLength) {\n if (client[kStrictContentLength]) {\n throw new RequestContentLengthMismatchError()\n } else {\n process.emitWarning(new RequestContentLengthMismatchError())\n }\n }\n\n if (socket[kParser].timeout && socket[kParser].timeoutType === TIMEOUT_HEADERS) {\n // istanbul ignore else: only for jest\n if (socket[kParser].timeout.refresh) {\n socket[kParser].timeout.refresh()\n }\n }\n\n client[kResume]()\n }\n\n destroy (err) {\n const { socket, client, abort } = this\n\n socket[kWriting] = false\n\n if (err) {\n assert(client[kRunning] <= 1, 'pipeline should only contain this request')\n abort(err)\n }\n }\n}\n\nmodule.exports = connectH1\n","'use strict'\n\nconst assert = require('node:assert')\nconst { pipeline } = require('node:stream')\nconst util = require('../core/util.js')\nconst {\n RequestContentLengthMismatchError,\n RequestAbortedError,\n SocketError,\n InformationalError\n} = require('../core/errors.js')\nconst {\n kUrl,\n kReset,\n kClient,\n kRunning,\n kPending,\n kQueue,\n kPendingIdx,\n kRunningIdx,\n kError,\n kSocket,\n kStrictContentLength,\n kOnError,\n kMaxConcurrentStreams,\n kHTTP2Session,\n kResume,\n kSize,\n kHTTPContext\n} = require('../core/symbols.js')\n\nconst kOpenStreams = Symbol('open streams')\n\nlet extractBody\n\n// Experimental\nlet h2ExperimentalWarned = false\n\n/** @type {import('http2')} */\nlet http2\ntry {\n http2 = require('node:http2')\n} catch {\n // @ts-ignore\n http2 = { constants: {} }\n}\n\nconst {\n constants: {\n HTTP2_HEADER_AUTHORITY,\n HTTP2_HEADER_METHOD,\n HTTP2_HEADER_PATH,\n HTTP2_HEADER_SCHEME,\n HTTP2_HEADER_CONTENT_LENGTH,\n HTTP2_HEADER_EXPECT,\n HTTP2_HEADER_STATUS\n }\n} = http2\n\nfunction parseH2Headers (headers) {\n const result = []\n\n for (const [name, value] of Object.entries(headers)) {\n // h2 may concat the header value by array\n // e.g. Set-Cookie\n if (Array.isArray(value)) {\n for (const subvalue of value) {\n // we need to provide each header value of header name\n // because the headers handler expect name-value pair\n result.push(Buffer.from(name), Buffer.from(subvalue))\n }\n } else {\n result.push(Buffer.from(name), Buffer.from(value))\n }\n }\n\n return result\n}\n\nasync function connectH2 (client, socket) {\n client[kSocket] = socket\n\n if (!h2ExperimentalWarned) {\n h2ExperimentalWarned = true\n process.emitWarning('H2 support is experimental, expect them to change at any time.', {\n code: 'UNDICI-H2'\n })\n }\n\n const session = http2.connect(client[kUrl], {\n createConnection: () => socket,\n peerMaxConcurrentStreams: client[kMaxConcurrentStreams]\n })\n\n session[kOpenStreams] = 0\n session[kClient] = client\n session[kSocket] = socket\n\n util.addListener(session, 'error', onHttp2SessionError)\n util.addListener(session, 'frameError', onHttp2FrameError)\n util.addListener(session, 'end', onHttp2SessionEnd)\n util.addListener(session, 'goaway', onHTTP2GoAway)\n util.addListener(session, 'close', function () {\n const { [kClient]: client } = this\n const { [kSocket]: socket } = client\n\n const err = this[kSocket][kError] || this[kError] || new SocketError('closed', util.getSocketInfo(socket))\n\n client[kHTTP2Session] = null\n\n if (client.destroyed) {\n assert(client[kPending] === 0)\n\n // Fail entire queue.\n const requests = client[kQueue].splice(client[kRunningIdx])\n for (let i = 0; i < requests.length; i++) {\n const request = requests[i]\n util.errorRequest(client, request, err)\n }\n }\n })\n\n session.unref()\n\n client[kHTTP2Session] = session\n socket[kHTTP2Session] = session\n\n util.addListener(socket, 'error', function (err) {\n assert(err.code !== 'ERR_TLS_CERT_ALTNAME_INVALID')\n\n this[kError] = err\n\n this[kClient][kOnError](err)\n })\n\n util.addListener(socket, 'end', function () {\n util.destroy(this, new SocketError('other side closed', util.getSocketInfo(this)))\n })\n\n util.addListener(socket, 'close', function () {\n const err = this[kError] || new SocketError('closed', util.getSocketInfo(this))\n\n client[kSocket] = null\n\n if (this[kHTTP2Session] != null) {\n this[kHTTP2Session].destroy(err)\n }\n\n client[kPendingIdx] = client[kRunningIdx]\n\n assert(client[kRunning] === 0)\n\n client.emit('disconnect', client[kUrl], [client], err)\n\n client[kResume]()\n })\n\n let closed = false\n socket.on('close', () => {\n closed = true\n })\n\n return {\n version: 'h2',\n defaultPipelining: Infinity,\n write (...args) {\n return writeH2(client, ...args)\n },\n resume () {\n resumeH2(client)\n },\n destroy (err, callback) {\n if (closed) {\n queueMicrotask(callback)\n } else {\n // Destroying the socket will trigger the session close\n socket.destroy(err).on('close', callback)\n }\n },\n get destroyed () {\n return socket.destroyed\n },\n busy () {\n return false\n }\n }\n}\n\nfunction resumeH2 (client) {\n const socket = client[kSocket]\n\n if (socket?.destroyed === false) {\n if (client[kSize] === 0 && client[kMaxConcurrentStreams] === 0) {\n socket.unref()\n client[kHTTP2Session].unref()\n } else {\n socket.ref()\n client[kHTTP2Session].ref()\n }\n }\n}\n\nfunction onHttp2SessionError (err) {\n assert(err.code !== 'ERR_TLS_CERT_ALTNAME_INVALID')\n\n this[kSocket][kError] = err\n this[kClient][kOnError](err)\n}\n\nfunction onHttp2FrameError (type, code, id) {\n if (id === 0) {\n const err = new InformationalError(`HTTP/2: \"frameError\" received - type ${type}, code ${code}`)\n this[kSocket][kError] = err\n this[kClient][kOnError](err)\n }\n}\n\nfunction onHttp2SessionEnd () {\n const err = new SocketError('other side closed', util.getSocketInfo(this[kSocket]))\n this.destroy(err)\n util.destroy(this[kSocket], err)\n}\n\n/**\n * This is the root cause of #3011\n * We need to handle GOAWAY frames properly, and trigger the session close\n * along with the socket right away\n */\nfunction onHTTP2GoAway (code) {\n // We cannot recover, so best to close the session and the socket\n const err = this[kError] || new SocketError(`HTTP/2: \"GOAWAY\" frame received with code ${code}`, util.getSocketInfo(this))\n const client = this[kClient]\n\n client[kSocket] = null\n client[kHTTPContext] = null\n\n if (this[kHTTP2Session] != null) {\n this[kHTTP2Session].destroy(err)\n this[kHTTP2Session] = null\n }\n\n util.destroy(this[kSocket], err)\n\n // Fail head of pipeline.\n if (client[kRunningIdx] < client[kQueue].length) {\n const request = client[kQueue][client[kRunningIdx]]\n client[kQueue][client[kRunningIdx]++] = null\n util.errorRequest(client, request, err)\n client[kPendingIdx] = client[kRunningIdx]\n }\n\n assert(client[kRunning] === 0)\n\n client.emit('disconnect', client[kUrl], [client], err)\n\n client[kResume]()\n}\n\n// https://www.rfc-editor.org/rfc/rfc7230#section-3.3.2\nfunction shouldSendContentLength (method) {\n return method !== 'GET' && method !== 'HEAD' && method !== 'OPTIONS' && method !== 'TRACE' && method !== 'CONNECT'\n}\n\nfunction writeH2 (client, request) {\n const session = client[kHTTP2Session]\n const { method, path, host, upgrade, expectContinue, signal, headers: reqHeaders } = request\n let { body } = request\n\n if (upgrade) {\n util.errorRequest(client, request, new Error('Upgrade not supported for H2'))\n return false\n }\n\n const headers = {}\n for (let n = 0; n < reqHeaders.length; n += 2) {\n const key = reqHeaders[n + 0]\n const val = reqHeaders[n + 1]\n\n if (Array.isArray(val)) {\n for (let i = 0; i < val.length; i++) {\n if (headers[key]) {\n headers[key] += `,${val[i]}`\n } else {\n headers[key] = val[i]\n }\n }\n } else {\n headers[key] = val\n }\n }\n\n /** @type {import('node:http2').ClientHttp2Stream} */\n let stream\n\n const { hostname, port } = client[kUrl]\n\n headers[HTTP2_HEADER_AUTHORITY] = host || `${hostname}${port ? `:${port}` : ''}`\n headers[HTTP2_HEADER_METHOD] = method\n\n const abort = (err) => {\n if (request.aborted || request.completed) {\n return\n }\n\n err = err || new RequestAbortedError()\n\n util.errorRequest(client, request, err)\n\n if (stream != null) {\n util.destroy(stream, err)\n }\n\n // We do not destroy the socket as we can continue using the session\n // the stream get's destroyed and the session remains to create new streams\n util.destroy(body, err)\n client[kQueue][client[kRunningIdx]++] = null\n client[kResume]()\n }\n\n try {\n // We are already connected, streams are pending.\n // We can call on connect, and wait for abort\n request.onConnect(abort)\n } catch (err) {\n util.errorRequest(client, request, err)\n }\n\n if (request.aborted) {\n return false\n }\n\n if (method === 'CONNECT') {\n session.ref()\n // We are already connected, streams are pending, first request\n // will create a new stream. We trigger a request to create the stream and wait until\n // `ready` event is triggered\n // We disabled endStream to allow the user to write to the stream\n stream = session.request(headers, { endStream: false, signal })\n\n if (stream.id && !stream.pending) {\n request.onUpgrade(null, null, stream)\n ++session[kOpenStreams]\n client[kQueue][client[kRunningIdx]++] = null\n } else {\n stream.once('ready', () => {\n request.onUpgrade(null, null, stream)\n ++session[kOpenStreams]\n client[kQueue][client[kRunningIdx]++] = null\n })\n }\n\n stream.once('close', () => {\n session[kOpenStreams] -= 1\n if (session[kOpenStreams] === 0) session.unref()\n })\n\n return true\n }\n\n // https://tools.ietf.org/html/rfc7540#section-8.3\n // :path and :scheme headers must be omitted when sending CONNECT\n\n headers[HTTP2_HEADER_PATH] = path\n headers[HTTP2_HEADER_SCHEME] = 'https'\n\n // https://tools.ietf.org/html/rfc7231#section-4.3.1\n // https://tools.ietf.org/html/rfc7231#section-4.3.2\n // https://tools.ietf.org/html/rfc7231#section-4.3.5\n\n // Sending a payload body on a request that does not\n // expect it can cause undefined behavior on some\n // servers and corrupt connection state. Do not\n // re-use the connection for further requests.\n\n const expectsPayload = (\n method === 'PUT' ||\n method === 'POST' ||\n method === 'PATCH'\n )\n\n if (body && typeof body.read === 'function') {\n // Try to read EOF in order to get length.\n body.read(0)\n }\n\n let contentLength = util.bodyLength(body)\n\n if (util.isFormDataLike(body)) {\n extractBody ??= require('../web/fetch/body.js').extractBody\n\n const [bodyStream, contentType] = extractBody(body)\n headers['content-type'] = contentType\n\n body = bodyStream.stream\n contentLength = bodyStream.length\n }\n\n if (contentLength == null) {\n contentLength = request.contentLength\n }\n\n if (contentLength === 0 || !expectsPayload) {\n // https://tools.ietf.org/html/rfc7230#section-3.3.2\n // A user agent SHOULD NOT send a Content-Length header field when\n // the request message does not contain a payload body and the method\n // semantics do not anticipate such a body.\n\n contentLength = null\n }\n\n // https://github.com/nodejs/undici/issues/2046\n // A user agent may send a Content-Length header with 0 value, this should be allowed.\n if (shouldSendContentLength(method) && contentLength > 0 && request.contentLength != null && request.contentLength !== contentLength) {\n if (client[kStrictContentLength]) {\n util.errorRequest(client, request, new RequestContentLengthMismatchError())\n return false\n }\n\n process.emitWarning(new RequestContentLengthMismatchError())\n }\n\n if (contentLength != null) {\n assert(body, 'no body must not have content length')\n headers[HTTP2_HEADER_CONTENT_LENGTH] = `${contentLength}`\n }\n\n session.ref()\n\n const shouldEndStream = method === 'GET' || method === 'HEAD' || body === null\n if (expectContinue) {\n headers[HTTP2_HEADER_EXPECT] = '100-continue'\n stream = session.request(headers, { endStream: shouldEndStream, signal })\n\n stream.once('continue', writeBodyH2)\n } else {\n stream = session.request(headers, {\n endStream: shouldEndStream,\n signal\n })\n writeBodyH2()\n }\n\n // Increment counter as we have new streams open\n ++session[kOpenStreams]\n\n stream.once('response', headers => {\n const { [HTTP2_HEADER_STATUS]: statusCode, ...realHeaders } = headers\n request.onResponseStarted()\n\n // Due to the stream nature, it is possible we face a race condition\n // where the stream has been assigned, but the request has been aborted\n // the request remains in-flight and headers hasn't been received yet\n // for those scenarios, best effort is to destroy the stream immediately\n // as there's no value to keep it open.\n if (request.aborted) {\n const err = new RequestAbortedError()\n util.errorRequest(client, request, err)\n util.destroy(stream, err)\n return\n }\n\n if (request.onHeaders(Number(statusCode), parseH2Headers(realHeaders), stream.resume.bind(stream), '') === false) {\n stream.pause()\n }\n\n stream.on('data', (chunk) => {\n if (request.onData(chunk) === false) {\n stream.pause()\n }\n })\n })\n\n stream.once('end', () => {\n // When state is null, it means we haven't consumed body and the stream still do not have\n // a state.\n // Present specially when using pipeline or stream\n if (stream.state?.state == null || stream.state.state < 6) {\n request.onComplete([])\n }\n\n if (session[kOpenStreams] === 0) {\n // Stream is closed or half-closed-remote (6), decrement counter and cleanup\n // It does not have sense to continue working with the stream as we do not\n // have yet RST_STREAM support on client-side\n\n session.unref()\n }\n\n abort(new InformationalError('HTTP/2: stream half-closed (remote)'))\n client[kQueue][client[kRunningIdx]++] = null\n client[kPendingIdx] = client[kRunningIdx]\n client[kResume]()\n })\n\n stream.once('close', () => {\n session[kOpenStreams] -= 1\n if (session[kOpenStreams] === 0) {\n session.unref()\n }\n })\n\n stream.once('error', function (err) {\n abort(err)\n })\n\n stream.once('frameError', (type, code) => {\n abort(new InformationalError(`HTTP/2: \"frameError\" received - type ${type}, code ${code}`))\n })\n\n // stream.on('aborted', () => {\n // // TODO(HTTP/2): Support aborted\n // })\n\n // stream.on('timeout', () => {\n // // TODO(HTTP/2): Support timeout\n // })\n\n // stream.on('push', headers => {\n // // TODO(HTTP/2): Support push\n // })\n\n // stream.on('trailers', headers => {\n // // TODO(HTTP/2): Support trailers\n // })\n\n return true\n\n function writeBodyH2 () {\n /* istanbul ignore else: assertion */\n if (!body || contentLength === 0) {\n writeBuffer(\n abort,\n stream,\n null,\n client,\n request,\n client[kSocket],\n contentLength,\n expectsPayload\n )\n } else if (util.isBuffer(body)) {\n writeBuffer(\n abort,\n stream,\n body,\n client,\n request,\n client[kSocket],\n contentLength,\n expectsPayload\n )\n } else if (util.isBlobLike(body)) {\n if (typeof body.stream === 'function') {\n writeIterable(\n abort,\n stream,\n body.stream(),\n client,\n request,\n client[kSocket],\n contentLength,\n expectsPayload\n )\n } else {\n writeBlob(\n abort,\n stream,\n body,\n client,\n request,\n client[kSocket],\n contentLength,\n expectsPayload\n )\n }\n } else if (util.isStream(body)) {\n writeStream(\n abort,\n client[kSocket],\n expectsPayload,\n stream,\n body,\n client,\n request,\n contentLength\n )\n } else if (util.isIterable(body)) {\n writeIterable(\n abort,\n stream,\n body,\n client,\n request,\n client[kSocket],\n contentLength,\n expectsPayload\n )\n } else {\n assert(false)\n }\n }\n}\n\nfunction writeBuffer (abort, h2stream, body, client, request, socket, contentLength, expectsPayload) {\n try {\n if (body != null && util.isBuffer(body)) {\n assert(contentLength === body.byteLength, 'buffer body must have content length')\n h2stream.cork()\n h2stream.write(body)\n h2stream.uncork()\n h2stream.end()\n\n request.onBodySent(body)\n }\n\n if (!expectsPayload) {\n socket[kReset] = true\n }\n\n request.onRequestSent()\n client[kResume]()\n } catch (error) {\n abort(error)\n }\n}\n\nfunction writeStream (abort, socket, expectsPayload, h2stream, body, client, request, contentLength) {\n assert(contentLength !== 0 || client[kRunning] === 0, 'stream body cannot be pipelined')\n\n // For HTTP/2, is enough to pipe the stream\n const pipe = pipeline(\n body,\n h2stream,\n (err) => {\n if (err) {\n util.destroy(pipe, err)\n abort(err)\n } else {\n util.removeAllListeners(pipe)\n request.onRequestSent()\n\n if (!expectsPayload) {\n socket[kReset] = true\n }\n\n client[kResume]()\n }\n }\n )\n\n util.addListener(pipe, 'data', onPipeData)\n\n function onPipeData (chunk) {\n request.onBodySent(chunk)\n }\n}\n\nasync function writeBlob (abort, h2stream, body, client, request, socket, contentLength, expectsPayload) {\n assert(contentLength === body.size, 'blob body must have content length')\n\n try {\n if (contentLength != null && contentLength !== body.size) {\n throw new RequestContentLengthMismatchError()\n }\n\n const buffer = Buffer.from(await body.arrayBuffer())\n\n h2stream.cork()\n h2stream.write(buffer)\n h2stream.uncork()\n h2stream.end()\n\n request.onBodySent(buffer)\n request.onRequestSent()\n\n if (!expectsPayload) {\n socket[kReset] = true\n }\n\n client[kResume]()\n } catch (err) {\n abort(err)\n }\n}\n\nasync function writeIterable (abort, h2stream, body, client, request, socket, contentLength, expectsPayload) {\n assert(contentLength !== 0 || client[kRunning] === 0, 'iterator body cannot be pipelined')\n\n let callback = null\n function onDrain () {\n if (callback) {\n const cb = callback\n callback = null\n cb()\n }\n }\n\n const waitForDrain = () => new Promise((resolve, reject) => {\n assert(callback === null)\n\n if (socket[kError]) {\n reject(socket[kError])\n } else {\n callback = resolve\n }\n })\n\n h2stream\n .on('close', onDrain)\n .on('drain', onDrain)\n\n try {\n // It's up to the user to somehow abort the async iterable.\n for await (const chunk of body) {\n if (socket[kError]) {\n throw socket[kError]\n }\n\n const res = h2stream.write(chunk)\n request.onBodySent(chunk)\n if (!res) {\n await waitForDrain()\n }\n }\n\n h2stream.end()\n\n request.onRequestSent()\n\n if (!expectsPayload) {\n socket[kReset] = true\n }\n\n client[kResume]()\n } catch (err) {\n abort(err)\n } finally {\n h2stream\n .off('close', onDrain)\n .off('drain', onDrain)\n }\n}\n\nmodule.exports = connectH2\n","// @ts-check\n\n'use strict'\n\nconst assert = require('node:assert')\nconst net = require('node:net')\nconst http = require('node:http')\nconst util = require('../core/util.js')\nconst { channels } = require('../core/diagnostics.js')\nconst Request = require('../core/request.js')\nconst DispatcherBase = require('./dispatcher-base')\nconst {\n InvalidArgumentError,\n InformationalError,\n ClientDestroyedError\n} = require('../core/errors.js')\nconst buildConnector = require('../core/connect.js')\nconst {\n kUrl,\n kServerName,\n kClient,\n kBusy,\n kConnect,\n kResuming,\n kRunning,\n kPending,\n kSize,\n kQueue,\n kConnected,\n kConnecting,\n kNeedDrain,\n kKeepAliveDefaultTimeout,\n kHostHeader,\n kPendingIdx,\n kRunningIdx,\n kError,\n kPipelining,\n kKeepAliveTimeoutValue,\n kMaxHeadersSize,\n kKeepAliveMaxTimeout,\n kKeepAliveTimeoutThreshold,\n kHeadersTimeout,\n kBodyTimeout,\n kStrictContentLength,\n kConnector,\n kMaxRedirections,\n kMaxRequests,\n kCounter,\n kClose,\n kDestroy,\n kDispatch,\n kInterceptors,\n kLocalAddress,\n kMaxResponseSize,\n kOnError,\n kHTTPContext,\n kMaxConcurrentStreams,\n kResume\n} = require('../core/symbols.js')\nconst connectH1 = require('./client-h1.js')\nconst connectH2 = require('./client-h2.js')\nlet deprecatedInterceptorWarned = false\n\nconst kClosedResolve = Symbol('kClosedResolve')\n\nconst noop = () => {}\n\nfunction getPipelining (client) {\n return client[kPipelining] ?? client[kHTTPContext]?.defaultPipelining ?? 1\n}\n\n/**\n * @type {import('../../types/client.js').default}\n */\nclass Client extends DispatcherBase {\n /**\n *\n * @param {string|URL} url\n * @param {import('../../types/client.js').Client.Options} options\n */\n constructor (url, {\n interceptors,\n maxHeaderSize,\n headersTimeout,\n socketTimeout,\n requestTimeout,\n connectTimeout,\n bodyTimeout,\n idleTimeout,\n keepAlive,\n keepAliveTimeout,\n maxKeepAliveTimeout,\n keepAliveMaxTimeout,\n keepAliveTimeoutThreshold,\n socketPath,\n pipelining,\n tls,\n strictContentLength,\n maxCachedSessions,\n maxRedirections,\n connect,\n maxRequestsPerClient,\n localAddress,\n maxResponseSize,\n autoSelectFamily,\n autoSelectFamilyAttemptTimeout,\n // h2\n maxConcurrentStreams,\n allowH2\n } = {}) {\n super()\n\n if (keepAlive !== undefined) {\n throw new InvalidArgumentError('unsupported keepAlive, use pipelining=0 instead')\n }\n\n if (socketTimeout !== undefined) {\n throw new InvalidArgumentError('unsupported socketTimeout, use headersTimeout & bodyTimeout instead')\n }\n\n if (requestTimeout !== undefined) {\n throw new InvalidArgumentError('unsupported requestTimeout, use headersTimeout & bodyTimeout instead')\n }\n\n if (idleTimeout !== undefined) {\n throw new InvalidArgumentError('unsupported idleTimeout, use keepAliveTimeout instead')\n }\n\n if (maxKeepAliveTimeout !== undefined) {\n throw new InvalidArgumentError('unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead')\n }\n\n if (maxHeaderSize != null && !Number.isFinite(maxHeaderSize)) {\n throw new InvalidArgumentError('invalid maxHeaderSize')\n }\n\n if (socketPath != null && typeof socketPath !== 'string') {\n throw new InvalidArgumentError('invalid socketPath')\n }\n\n if (connectTimeout != null && (!Number.isFinite(connectTimeout) || connectTimeout < 0)) {\n throw new InvalidArgumentError('invalid connectTimeout')\n }\n\n if (keepAliveTimeout != null && (!Number.isFinite(keepAliveTimeout) || keepAliveTimeout <= 0)) {\n throw new InvalidArgumentError('invalid keepAliveTimeout')\n }\n\n if (keepAliveMaxTimeout != null && (!Number.isFinite(keepAliveMaxTimeout) || keepAliveMaxTimeout <= 0)) {\n throw new InvalidArgumentError('invalid keepAliveMaxTimeout')\n }\n\n if (keepAliveTimeoutThreshold != null && !Number.isFinite(keepAliveTimeoutThreshold)) {\n throw new InvalidArgumentError('invalid keepAliveTimeoutThreshold')\n }\n\n if (headersTimeout != null && (!Number.isInteger(headersTimeout) || headersTimeout < 0)) {\n throw new InvalidArgumentError('headersTimeout must be a positive integer or zero')\n }\n\n if (bodyTimeout != null && (!Number.isInteger(bodyTimeout) || bodyTimeout < 0)) {\n throw new InvalidArgumentError('bodyTimeout must be a positive integer or zero')\n }\n\n if (connect != null && typeof connect !== 'function' && typeof connect !== 'object') {\n throw new InvalidArgumentError('connect must be a function or an object')\n }\n\n if (maxRedirections != null && (!Number.isInteger(maxRedirections) || maxRedirections < 0)) {\n throw new InvalidArgumentError('maxRedirections must be a positive number')\n }\n\n if (maxRequestsPerClient != null && (!Number.isInteger(maxRequestsPerClient) || maxRequestsPerClient < 0)) {\n throw new InvalidArgumentError('maxRequestsPerClient must be a positive number')\n }\n\n if (localAddress != null && (typeof localAddress !== 'string' || net.isIP(localAddress) === 0)) {\n throw new InvalidArgumentError('localAddress must be valid string IP address')\n }\n\n if (maxResponseSize != null && (!Number.isInteger(maxResponseSize) || maxResponseSize < -1)) {\n throw new InvalidArgumentError('maxResponseSize must be a positive number')\n }\n\n if (\n autoSelectFamilyAttemptTimeout != null &&\n (!Number.isInteger(autoSelectFamilyAttemptTimeout) || autoSelectFamilyAttemptTimeout < -1)\n ) {\n throw new InvalidArgumentError('autoSelectFamilyAttemptTimeout must be a positive number')\n }\n\n // h2\n if (allowH2 != null && typeof allowH2 !== 'boolean') {\n throw new InvalidArgumentError('allowH2 must be a valid boolean value')\n }\n\n if (maxConcurrentStreams != null && (typeof maxConcurrentStreams !== 'number' || maxConcurrentStreams < 1)) {\n throw new InvalidArgumentError('maxConcurrentStreams must be a positive integer, greater than 0')\n }\n\n if (typeof connect !== 'function') {\n connect = buildConnector({\n ...tls,\n maxCachedSessions,\n allowH2,\n socketPath,\n timeout: connectTimeout,\n ...(autoSelectFamily ? { autoSelectFamily, autoSelectFamilyAttemptTimeout } : undefined),\n ...connect\n })\n }\n\n if (interceptors?.Client && Array.isArray(interceptors.Client)) {\n this[kInterceptors] = interceptors.Client\n if (!deprecatedInterceptorWarned) {\n deprecatedInterceptorWarned = true\n process.emitWarning('Client.Options#interceptor is deprecated. Use Dispatcher#compose instead.', {\n code: 'UNDICI-CLIENT-INTERCEPTOR-DEPRECATED'\n })\n }\n } else {\n this[kInterceptors] = [createRedirectInterceptor({ maxRedirections })]\n }\n\n this[kUrl] = util.parseOrigin(url)\n this[kConnector] = connect\n this[kPipelining] = pipelining != null ? pipelining : 1\n this[kMaxHeadersSize] = maxHeaderSize || http.maxHeaderSize\n this[kKeepAliveDefaultTimeout] = keepAliveTimeout == null ? 4e3 : keepAliveTimeout\n this[kKeepAliveMaxTimeout] = keepAliveMaxTimeout == null ? 600e3 : keepAliveMaxTimeout\n this[kKeepAliveTimeoutThreshold] = keepAliveTimeoutThreshold == null ? 2e3 : keepAliveTimeoutThreshold\n this[kKeepAliveTimeoutValue] = this[kKeepAliveDefaultTimeout]\n this[kServerName] = null\n this[kLocalAddress] = localAddress != null ? localAddress : null\n this[kResuming] = 0 // 0, idle, 1, scheduled, 2 resuming\n this[kNeedDrain] = 0 // 0, idle, 1, scheduled, 2 resuming\n this[kHostHeader] = `host: ${this[kUrl].hostname}${this[kUrl].port ? `:${this[kUrl].port}` : ''}\\r\\n`\n this[kBodyTimeout] = bodyTimeout != null ? bodyTimeout : 300e3\n this[kHeadersTimeout] = headersTimeout != null ? headersTimeout : 300e3\n this[kStrictContentLength] = strictContentLength == null ? true : strictContentLength\n this[kMaxRedirections] = maxRedirections\n this[kMaxRequests] = maxRequestsPerClient\n this[kClosedResolve] = null\n this[kMaxResponseSize] = maxResponseSize > -1 ? maxResponseSize : -1\n this[kMaxConcurrentStreams] = maxConcurrentStreams != null ? maxConcurrentStreams : 100 // Max peerConcurrentStreams for a Node h2 server\n this[kHTTPContext] = null\n\n // kQueue is built up of 3 sections separated by\n // the kRunningIdx and kPendingIdx indices.\n // | complete | running | pending |\n // ^ kRunningIdx ^ kPendingIdx ^ kQueue.length\n // kRunningIdx points to the first running element.\n // kPendingIdx points to the first pending element.\n // This implements a fast queue with an amortized\n // time of O(1).\n\n this[kQueue] = []\n this[kRunningIdx] = 0\n this[kPendingIdx] = 0\n\n this[kResume] = (sync) => resume(this, sync)\n this[kOnError] = (err) => onError(this, err)\n }\n\n get pipelining () {\n return this[kPipelining]\n }\n\n set pipelining (value) {\n this[kPipelining] = value\n this[kResume](true)\n }\n\n get [kPending] () {\n return this[kQueue].length - this[kPendingIdx]\n }\n\n get [kRunning] () {\n return this[kPendingIdx] - this[kRunningIdx]\n }\n\n get [kSize] () {\n return this[kQueue].length - this[kRunningIdx]\n }\n\n get [kConnected] () {\n return !!this[kHTTPContext] && !this[kConnecting] && !this[kHTTPContext].destroyed\n }\n\n get [kBusy] () {\n return Boolean(\n this[kHTTPContext]?.busy(null) ||\n (this[kSize] >= (getPipelining(this) || 1)) ||\n this[kPending] > 0\n )\n }\n\n /* istanbul ignore: only used for test */\n [kConnect] (cb) {\n connect(this)\n this.once('connect', cb)\n }\n\n [kDispatch] (opts, handler) {\n const origin = opts.origin || this[kUrl].origin\n const request = new Request(origin, opts, handler)\n\n this[kQueue].push(request)\n if (this[kResuming]) {\n // Do nothing.\n } else if (util.bodyLength(request.body) == null && util.isIterable(request.body)) {\n // Wait a tick in case stream/iterator is ended in the same tick.\n this[kResuming] = 1\n queueMicrotask(() => resume(this))\n } else {\n this[kResume](true)\n }\n\n if (this[kResuming] && this[kNeedDrain] !== 2 && this[kBusy]) {\n this[kNeedDrain] = 2\n }\n\n return this[kNeedDrain] < 2\n }\n\n async [kClose] () {\n // TODO: for H2 we need to gracefully flush the remaining enqueued\n // request and close each stream.\n return new Promise((resolve) => {\n if (this[kSize]) {\n this[kClosedResolve] = resolve\n } else {\n resolve(null)\n }\n })\n }\n\n async [kDestroy] (err) {\n return new Promise((resolve) => {\n const requests = this[kQueue].splice(this[kPendingIdx])\n for (let i = 0; i < requests.length; i++) {\n const request = requests[i]\n util.errorRequest(this, request, err)\n }\n\n const callback = () => {\n if (this[kClosedResolve]) {\n // TODO (fix): Should we error here with ClientDestroyedError?\n this[kClosedResolve]()\n this[kClosedResolve] = null\n }\n resolve(null)\n }\n\n if (this[kHTTPContext]) {\n this[kHTTPContext].destroy(err, callback)\n this[kHTTPContext] = null\n } else {\n queueMicrotask(callback)\n }\n\n this[kResume]()\n })\n }\n}\n\nconst createRedirectInterceptor = require('../interceptor/redirect-interceptor.js')\n\nfunction onError (client, err) {\n if (\n client[kRunning] === 0 &&\n err.code !== 'UND_ERR_INFO' &&\n err.code !== 'UND_ERR_SOCKET'\n ) {\n // Error is not caused by running request and not a recoverable\n // socket error.\n\n assert(client[kPendingIdx] === client[kRunningIdx])\n\n const requests = client[kQueue].splice(client[kRunningIdx])\n\n for (let i = 0; i < requests.length; i++) {\n const request = requests[i]\n util.errorRequest(client, request, err)\n }\n assert(client[kSize] === 0)\n }\n}\n\n/**\n * @param {Client} client\n * @returns\n */\nasync function connect (client) {\n assert(!client[kConnecting])\n assert(!client[kHTTPContext])\n\n let { host, hostname, protocol, port } = client[kUrl]\n\n // Resolve ipv6\n if (hostname[0] === '[') {\n const idx = hostname.indexOf(']')\n\n assert(idx !== -1)\n const ip = hostname.substring(1, idx)\n\n assert(net.isIP(ip))\n hostname = ip\n }\n\n client[kConnecting] = true\n\n if (channels.beforeConnect.hasSubscribers) {\n channels.beforeConnect.publish({\n connectParams: {\n host,\n hostname,\n protocol,\n port,\n version: client[kHTTPContext]?.version,\n servername: client[kServerName],\n localAddress: client[kLocalAddress]\n },\n connector: client[kConnector]\n })\n }\n\n try {\n const socket = await new Promise((resolve, reject) => {\n client[kConnector]({\n host,\n hostname,\n protocol,\n port,\n servername: client[kServerName],\n localAddress: client[kLocalAddress]\n }, (err, socket) => {\n if (err) {\n reject(err)\n } else {\n resolve(socket)\n }\n })\n })\n\n if (client.destroyed) {\n util.destroy(socket.on('error', noop), new ClientDestroyedError())\n return\n }\n\n assert(socket)\n\n try {\n client[kHTTPContext] = socket.alpnProtocol === 'h2'\n ? await connectH2(client, socket)\n : await connectH1(client, socket)\n } catch (err) {\n socket.destroy().on('error', noop)\n throw err\n }\n\n client[kConnecting] = false\n\n socket[kCounter] = 0\n socket[kMaxRequests] = client[kMaxRequests]\n socket[kClient] = client\n socket[kError] = null\n\n if (channels.connected.hasSubscribers) {\n channels.connected.publish({\n connectParams: {\n host,\n hostname,\n protocol,\n port,\n version: client[kHTTPContext]?.version,\n servername: client[kServerName],\n localAddress: client[kLocalAddress]\n },\n connector: client[kConnector],\n socket\n })\n }\n client.emit('connect', client[kUrl], [client])\n } catch (err) {\n if (client.destroyed) {\n return\n }\n\n client[kConnecting] = false\n\n if (channels.connectError.hasSubscribers) {\n channels.connectError.publish({\n connectParams: {\n host,\n hostname,\n protocol,\n port,\n version: client[kHTTPContext]?.version,\n servername: client[kServerName],\n localAddress: client[kLocalAddress]\n },\n connector: client[kConnector],\n error: err\n })\n }\n\n if (err.code === 'ERR_TLS_CERT_ALTNAME_INVALID') {\n assert(client[kRunning] === 0)\n while (client[kPending] > 0 && client[kQueue][client[kPendingIdx]].servername === client[kServerName]) {\n const request = client[kQueue][client[kPendingIdx]++]\n util.errorRequest(client, request, err)\n }\n } else {\n onError(client, err)\n }\n\n client.emit('connectionError', client[kUrl], [client], err)\n }\n\n client[kResume]()\n}\n\nfunction emitDrain (client) {\n client[kNeedDrain] = 0\n client.emit('drain', client[kUrl], [client])\n}\n\nfunction resume (client, sync) {\n if (client[kResuming] === 2) {\n return\n }\n\n client[kResuming] = 2\n\n _resume(client, sync)\n client[kResuming] = 0\n\n if (client[kRunningIdx] > 256) {\n client[kQueue].splice(0, client[kRunningIdx])\n client[kPendingIdx] -= client[kRunningIdx]\n client[kRunningIdx] = 0\n }\n}\n\nfunction _resume (client, sync) {\n while (true) {\n if (client.destroyed) {\n assert(client[kPending] === 0)\n return\n }\n\n if (client[kClosedResolve] && !client[kSize]) {\n client[kClosedResolve]()\n client[kClosedResolve] = null\n return\n }\n\n if (client[kHTTPContext]) {\n client[kHTTPContext].resume()\n }\n\n if (client[kBusy]) {\n client[kNeedDrain] = 2\n } else if (client[kNeedDrain] === 2) {\n if (sync) {\n client[kNeedDrain] = 1\n queueMicrotask(() => emitDrain(client))\n } else {\n emitDrain(client)\n }\n continue\n }\n\n if (client[kPending] === 0) {\n return\n }\n\n if (client[kRunning] >= (getPipelining(client) || 1)) {\n return\n }\n\n const request = client[kQueue][client[kPendingIdx]]\n\n if (client[kUrl].protocol === 'https:' && client[kServerName] !== request.servername) {\n if (client[kRunning] > 0) {\n return\n }\n\n client[kServerName] = request.servername\n client[kHTTPContext]?.destroy(new InformationalError('servername changed'), () => {\n client[kHTTPContext] = null\n resume(client)\n })\n }\n\n if (client[kConnecting]) {\n return\n }\n\n if (!client[kHTTPContext]) {\n connect(client)\n return\n }\n\n if (client[kHTTPContext].destroyed) {\n return\n }\n\n if (client[kHTTPContext].busy(request)) {\n return\n }\n\n if (!request.aborted && client[kHTTPContext].write(request)) {\n client[kPendingIdx]++\n } else {\n client[kQueue].splice(client[kPendingIdx], 1)\n }\n }\n}\n\nmodule.exports = Client\n","'use strict'\n\nconst Dispatcher = require('./dispatcher')\nconst {\n ClientDestroyedError,\n ClientClosedError,\n InvalidArgumentError\n} = require('../core/errors')\nconst { kDestroy, kClose, kClosed, kDestroyed, kDispatch, kInterceptors } = require('../core/symbols')\n\nconst kOnDestroyed = Symbol('onDestroyed')\nconst kOnClosed = Symbol('onClosed')\nconst kInterceptedDispatch = Symbol('Intercepted Dispatch')\n\nclass DispatcherBase extends Dispatcher {\n constructor () {\n super()\n\n this[kDestroyed] = false\n this[kOnDestroyed] = null\n this[kClosed] = false\n this[kOnClosed] = []\n }\n\n get destroyed () {\n return this[kDestroyed]\n }\n\n get closed () {\n return this[kClosed]\n }\n\n get interceptors () {\n return this[kInterceptors]\n }\n\n set interceptors (newInterceptors) {\n if (newInterceptors) {\n for (let i = newInterceptors.length - 1; i >= 0; i--) {\n const interceptor = this[kInterceptors][i]\n if (typeof interceptor !== 'function') {\n throw new InvalidArgumentError('interceptor must be an function')\n }\n }\n }\n\n this[kInterceptors] = newInterceptors\n }\n\n close (callback) {\n if (callback === undefined) {\n return new Promise((resolve, reject) => {\n this.close((err, data) => {\n return err ? reject(err) : resolve(data)\n })\n })\n }\n\n if (typeof callback !== 'function') {\n throw new InvalidArgumentError('invalid callback')\n }\n\n if (this[kDestroyed]) {\n queueMicrotask(() => callback(new ClientDestroyedError(), null))\n return\n }\n\n if (this[kClosed]) {\n if (this[kOnClosed]) {\n this[kOnClosed].push(callback)\n } else {\n queueMicrotask(() => callback(null, null))\n }\n return\n }\n\n this[kClosed] = true\n this[kOnClosed].push(callback)\n\n const onClosed = () => {\n const callbacks = this[kOnClosed]\n this[kOnClosed] = null\n for (let i = 0; i < callbacks.length; i++) {\n callbacks[i](null, null)\n }\n }\n\n // Should not error.\n this[kClose]()\n .then(() => this.destroy())\n .then(() => {\n queueMicrotask(onClosed)\n })\n }\n\n destroy (err, callback) {\n if (typeof err === 'function') {\n callback = err\n err = null\n }\n\n if (callback === undefined) {\n return new Promise((resolve, reject) => {\n this.destroy(err, (err, data) => {\n return err ? /* istanbul ignore next: should never error */ reject(err) : resolve(data)\n })\n })\n }\n\n if (typeof callback !== 'function') {\n throw new InvalidArgumentError('invalid callback')\n }\n\n if (this[kDestroyed]) {\n if (this[kOnDestroyed]) {\n this[kOnDestroyed].push(callback)\n } else {\n queueMicrotask(() => callback(null, null))\n }\n return\n }\n\n if (!err) {\n err = new ClientDestroyedError()\n }\n\n this[kDestroyed] = true\n this[kOnDestroyed] = this[kOnDestroyed] || []\n this[kOnDestroyed].push(callback)\n\n const onDestroyed = () => {\n const callbacks = this[kOnDestroyed]\n this[kOnDestroyed] = null\n for (let i = 0; i < callbacks.length; i++) {\n callbacks[i](null, null)\n }\n }\n\n // Should not error.\n this[kDestroy](err).then(() => {\n queueMicrotask(onDestroyed)\n })\n }\n\n [kInterceptedDispatch] (opts, handler) {\n if (!this[kInterceptors] || this[kInterceptors].length === 0) {\n this[kInterceptedDispatch] = this[kDispatch]\n return this[kDispatch](opts, handler)\n }\n\n let dispatch = this[kDispatch].bind(this)\n for (let i = this[kInterceptors].length - 1; i >= 0; i--) {\n dispatch = this[kInterceptors][i](dispatch)\n }\n this[kInterceptedDispatch] = dispatch\n return dispatch(opts, handler)\n }\n\n dispatch (opts, handler) {\n if (!handler || typeof handler !== 'object') {\n throw new InvalidArgumentError('handler must be an object')\n }\n\n try {\n if (!opts || typeof opts !== 'object') {\n throw new InvalidArgumentError('opts must be an object.')\n }\n\n if (this[kDestroyed] || this[kOnDestroyed]) {\n throw new ClientDestroyedError()\n }\n\n if (this[kClosed]) {\n throw new ClientClosedError()\n }\n\n return this[kInterceptedDispatch](opts, handler)\n } catch (err) {\n if (typeof handler.onError !== 'function') {\n throw new InvalidArgumentError('invalid onError method')\n }\n\n handler.onError(err)\n\n return false\n }\n }\n}\n\nmodule.exports = DispatcherBase\n","'use strict'\nconst EventEmitter = require('node:events')\n\nclass Dispatcher extends EventEmitter {\n dispatch () {\n throw new Error('not implemented')\n }\n\n close () {\n throw new Error('not implemented')\n }\n\n destroy () {\n throw new Error('not implemented')\n }\n\n compose (...args) {\n // So we handle [interceptor1, interceptor2] or interceptor1, interceptor2, ...\n const interceptors = Array.isArray(args[0]) ? args[0] : args\n let dispatch = this.dispatch.bind(this)\n\n for (const interceptor of interceptors) {\n if (interceptor == null) {\n continue\n }\n\n if (typeof interceptor !== 'function') {\n throw new TypeError(`invalid interceptor, expected function received ${typeof interceptor}`)\n }\n\n dispatch = interceptor(dispatch)\n\n if (dispatch == null || typeof dispatch !== 'function' || dispatch.length !== 2) {\n throw new TypeError('invalid interceptor')\n }\n }\n\n return new ComposedDispatcher(this, dispatch)\n }\n}\n\nclass ComposedDispatcher extends Dispatcher {\n #dispatcher = null\n #dispatch = null\n\n constructor (dispatcher, dispatch) {\n super()\n this.#dispatcher = dispatcher\n this.#dispatch = dispatch\n }\n\n dispatch (...args) {\n this.#dispatch(...args)\n }\n\n close (...args) {\n return this.#dispatcher.close(...args)\n }\n\n destroy (...args) {\n return this.#dispatcher.destroy(...args)\n }\n}\n\nmodule.exports = Dispatcher\n","'use strict'\n\nconst DispatcherBase = require('./dispatcher-base')\nconst { kClose, kDestroy, kClosed, kDestroyed, kDispatch, kNoProxyAgent, kHttpProxyAgent, kHttpsProxyAgent } = require('../core/symbols')\nconst ProxyAgent = require('./proxy-agent')\nconst Agent = require('./agent')\n\nconst DEFAULT_PORTS = {\n 'http:': 80,\n 'https:': 443\n}\n\nlet experimentalWarned = false\n\nclass EnvHttpProxyAgent extends DispatcherBase {\n #noProxyValue = null\n #noProxyEntries = null\n #opts = null\n\n constructor (opts = {}) {\n super()\n this.#opts = opts\n\n if (!experimentalWarned) {\n experimentalWarned = true\n process.emitWarning('EnvHttpProxyAgent is experimental, expect them to change at any time.', {\n code: 'UNDICI-EHPA'\n })\n }\n\n const { httpProxy, httpsProxy, noProxy, ...agentOpts } = opts\n\n this[kNoProxyAgent] = new Agent(agentOpts)\n\n const HTTP_PROXY = httpProxy ?? process.env.http_proxy ?? process.env.HTTP_PROXY\n if (HTTP_PROXY) {\n this[kHttpProxyAgent] = new ProxyAgent({ ...agentOpts, uri: HTTP_PROXY })\n } else {\n this[kHttpProxyAgent] = this[kNoProxyAgent]\n }\n\n const HTTPS_PROXY = httpsProxy ?? process.env.https_proxy ?? process.env.HTTPS_PROXY\n if (HTTPS_PROXY) {\n this[kHttpsProxyAgent] = new ProxyAgent({ ...agentOpts, uri: HTTPS_PROXY })\n } else {\n this[kHttpsProxyAgent] = this[kHttpProxyAgent]\n }\n\n this.#parseNoProxy()\n }\n\n [kDispatch] (opts, handler) {\n const url = new URL(opts.origin)\n const agent = this.#getProxyAgentForUrl(url)\n return agent.dispatch(opts, handler)\n }\n\n async [kClose] () {\n await this[kNoProxyAgent].close()\n if (!this[kHttpProxyAgent][kClosed]) {\n await this[kHttpProxyAgent].close()\n }\n if (!this[kHttpsProxyAgent][kClosed]) {\n await this[kHttpsProxyAgent].close()\n }\n }\n\n async [kDestroy] (err) {\n await this[kNoProxyAgent].destroy(err)\n if (!this[kHttpProxyAgent][kDestroyed]) {\n await this[kHttpProxyAgent].destroy(err)\n }\n if (!this[kHttpsProxyAgent][kDestroyed]) {\n await this[kHttpsProxyAgent].destroy(err)\n }\n }\n\n #getProxyAgentForUrl (url) {\n let { protocol, host: hostname, port } = url\n\n // Stripping ports in this way instead of using parsedUrl.hostname to make\n // sure that the brackets around IPv6 addresses are kept.\n hostname = hostname.replace(/:\\d*$/, '').toLowerCase()\n port = Number.parseInt(port, 10) || DEFAULT_PORTS[protocol] || 0\n if (!this.#shouldProxy(hostname, port)) {\n return this[kNoProxyAgent]\n }\n if (protocol === 'https:') {\n return this[kHttpsProxyAgent]\n }\n return this[kHttpProxyAgent]\n }\n\n #shouldProxy (hostname, port) {\n if (this.#noProxyChanged) {\n this.#parseNoProxy()\n }\n\n if (this.#noProxyEntries.length === 0) {\n return true // Always proxy if NO_PROXY is not set or empty.\n }\n if (this.#noProxyValue === '*') {\n return false // Never proxy if wildcard is set.\n }\n\n for (let i = 0; i < this.#noProxyEntries.length; i++) {\n const entry = this.#noProxyEntries[i]\n if (entry.port && entry.port !== port) {\n continue // Skip if ports don't match.\n }\n if (!/^[.*]/.test(entry.hostname)) {\n // No wildcards, so don't proxy only if there is not an exact match.\n if (hostname === entry.hostname) {\n return false\n }\n } else {\n // Don't proxy if the hostname ends with the no_proxy host.\n if (hostname.endsWith(entry.hostname.replace(/^\\*/, ''))) {\n return false\n }\n }\n }\n\n return true\n }\n\n #parseNoProxy () {\n const noProxyValue = this.#opts.noProxy ?? this.#noProxyEnv\n const noProxySplit = noProxyValue.split(/[,\\s]/)\n const noProxyEntries = []\n\n for (let i = 0; i < noProxySplit.length; i++) {\n const entry = noProxySplit[i]\n if (!entry) {\n continue\n }\n const parsed = entry.match(/^(.+):(\\d+)$/)\n noProxyEntries.push({\n hostname: (parsed ? parsed[1] : entry).toLowerCase(),\n port: parsed ? Number.parseInt(parsed[2], 10) : 0\n })\n }\n\n this.#noProxyValue = noProxyValue\n this.#noProxyEntries = noProxyEntries\n }\n\n get #noProxyChanged () {\n if (this.#opts.noProxy !== undefined) {\n return false\n }\n return this.#noProxyValue !== this.#noProxyEnv\n }\n\n get #noProxyEnv () {\n return process.env.no_proxy ?? process.env.NO_PROXY ?? ''\n }\n}\n\nmodule.exports = EnvHttpProxyAgent\n","/* eslint-disable */\n\n'use strict'\n\n// Extracted from node/lib/internal/fixed_queue.js\n\n// Currently optimal queue size, tested on V8 6.0 - 6.6. Must be power of two.\nconst kSize = 2048;\nconst kMask = kSize - 1;\n\n// The FixedQueue is implemented as a singly-linked list of fixed-size\n// circular buffers. It looks something like this:\n//\n// head tail\n// | |\n// v v\n// +-----------+ <-----\\ +-----------+ <------\\ +-----------+\n// | [null] | \\----- | next | \\------- | next |\n// +-----------+ +-----------+ +-----------+\n// | item | <-- bottom | item | <-- bottom | [empty] |\n// | item | | item | | [empty] |\n// | item | | item | | [empty] |\n// | item | | item | | [empty] |\n// | item | | item | bottom --> | item |\n// | item | | item | | item |\n// | ... | | ... | | ... |\n// | item | | item | | item |\n// | item | | item | | item |\n// | [empty] | <-- top | item | | item |\n// | [empty] | | item | | item |\n// | [empty] | | [empty] | <-- top top --> | [empty] |\n// +-----------+ +-----------+ +-----------+\n//\n// Or, if there is only one circular buffer, it looks something\n// like either of these:\n//\n// head tail head tail\n// | | | |\n// v v v v\n// +-----------+ +-----------+\n// | [null] | | [null] |\n// +-----------+ +-----------+\n// | [empty] | | item |\n// | [empty] | | item |\n// | item | <-- bottom top --> | [empty] |\n// | item | | [empty] |\n// | [empty] | <-- top bottom --> | item |\n// | [empty] | | item |\n// +-----------+ +-----------+\n//\n// Adding a value means moving `top` forward by one, removing means\n// moving `bottom` forward by one. After reaching the end, the queue\n// wraps around.\n//\n// When `top === bottom` the current queue is empty and when\n// `top + 1 === bottom` it's full. This wastes a single space of storage\n// but allows much quicker checks.\n\nclass FixedCircularBuffer {\n constructor() {\n this.bottom = 0;\n this.top = 0;\n this.list = new Array(kSize);\n this.next = null;\n }\n\n isEmpty() {\n return this.top === this.bottom;\n }\n\n isFull() {\n return ((this.top + 1) & kMask) === this.bottom;\n }\n\n push(data) {\n this.list[this.top] = data;\n this.top = (this.top + 1) & kMask;\n }\n\n shift() {\n const nextItem = this.list[this.bottom];\n if (nextItem === undefined)\n return null;\n this.list[this.bottom] = undefined;\n this.bottom = (this.bottom + 1) & kMask;\n return nextItem;\n }\n}\n\nmodule.exports = class FixedQueue {\n constructor() {\n this.head = this.tail = new FixedCircularBuffer();\n }\n\n isEmpty() {\n return this.head.isEmpty();\n }\n\n push(data) {\n if (this.head.isFull()) {\n // Head is full: Creates a new queue, sets the old queue's `.next` to it,\n // and sets it as the new main queue.\n this.head = this.head.next = new FixedCircularBuffer();\n }\n this.head.push(data);\n }\n\n shift() {\n const tail = this.tail;\n const next = tail.shift();\n if (tail.isEmpty() && tail.next !== null) {\n // If there is another queue, it forms the new tail.\n this.tail = tail.next;\n }\n return next;\n }\n};\n","'use strict'\n\nconst DispatcherBase = require('./dispatcher-base')\nconst FixedQueue = require('./fixed-queue')\nconst { kConnected, kSize, kRunning, kPending, kQueued, kBusy, kFree, kUrl, kClose, kDestroy, kDispatch } = require('../core/symbols')\nconst PoolStats = require('./pool-stats')\n\nconst kClients = Symbol('clients')\nconst kNeedDrain = Symbol('needDrain')\nconst kQueue = Symbol('queue')\nconst kClosedResolve = Symbol('closed resolve')\nconst kOnDrain = Symbol('onDrain')\nconst kOnConnect = Symbol('onConnect')\nconst kOnDisconnect = Symbol('onDisconnect')\nconst kOnConnectionError = Symbol('onConnectionError')\nconst kGetDispatcher = Symbol('get dispatcher')\nconst kAddClient = Symbol('add client')\nconst kRemoveClient = Symbol('remove client')\nconst kStats = Symbol('stats')\n\nclass PoolBase extends DispatcherBase {\n constructor () {\n super()\n\n this[kQueue] = new FixedQueue()\n this[kClients] = []\n this[kQueued] = 0\n\n const pool = this\n\n this[kOnDrain] = function onDrain (origin, targets) {\n const queue = pool[kQueue]\n\n let needDrain = false\n\n while (!needDrain) {\n const item = queue.shift()\n if (!item) {\n break\n }\n pool[kQueued]--\n needDrain = !this.dispatch(item.opts, item.handler)\n }\n\n this[kNeedDrain] = needDrain\n\n if (!this[kNeedDrain] && pool[kNeedDrain]) {\n pool[kNeedDrain] = false\n pool.emit('drain', origin, [pool, ...targets])\n }\n\n if (pool[kClosedResolve] && queue.isEmpty()) {\n Promise\n .all(pool[kClients].map(c => c.close()))\n .then(pool[kClosedResolve])\n }\n }\n\n this[kOnConnect] = (origin, targets) => {\n pool.emit('connect', origin, [pool, ...targets])\n }\n\n this[kOnDisconnect] = (origin, targets, err) => {\n pool.emit('disconnect', origin, [pool, ...targets], err)\n }\n\n this[kOnConnectionError] = (origin, targets, err) => {\n pool.emit('connectionError', origin, [pool, ...targets], err)\n }\n\n this[kStats] = new PoolStats(this)\n }\n\n get [kBusy] () {\n return this[kNeedDrain]\n }\n\n get [kConnected] () {\n return this[kClients].filter(client => client[kConnected]).length\n }\n\n get [kFree] () {\n return this[kClients].filter(client => client[kConnected] && !client[kNeedDrain]).length\n }\n\n get [kPending] () {\n let ret = this[kQueued]\n for (const { [kPending]: pending } of this[kClients]) {\n ret += pending\n }\n return ret\n }\n\n get [kRunning] () {\n let ret = 0\n for (const { [kRunning]: running } of this[kClients]) {\n ret += running\n }\n return ret\n }\n\n get [kSize] () {\n let ret = this[kQueued]\n for (const { [kSize]: size } of this[kClients]) {\n ret += size\n }\n return ret\n }\n\n get stats () {\n return this[kStats]\n }\n\n async [kClose] () {\n if (this[kQueue].isEmpty()) {\n await Promise.all(this[kClients].map(c => c.close()))\n } else {\n await new Promise((resolve) => {\n this[kClosedResolve] = resolve\n })\n }\n }\n\n async [kDestroy] (err) {\n while (true) {\n const item = this[kQueue].shift()\n if (!item) {\n break\n }\n item.handler.onError(err)\n }\n\n await Promise.all(this[kClients].map(c => c.destroy(err)))\n }\n\n [kDispatch] (opts, handler) {\n const dispatcher = this[kGetDispatcher]()\n\n if (!dispatcher) {\n this[kNeedDrain] = true\n this[kQueue].push({ opts, handler })\n this[kQueued]++\n } else if (!dispatcher.dispatch(opts, handler)) {\n dispatcher[kNeedDrain] = true\n this[kNeedDrain] = !this[kGetDispatcher]()\n }\n\n return !this[kNeedDrain]\n }\n\n [kAddClient] (client) {\n client\n .on('drain', this[kOnDrain])\n .on('connect', this[kOnConnect])\n .on('disconnect', this[kOnDisconnect])\n .on('connectionError', this[kOnConnectionError])\n\n this[kClients].push(client)\n\n if (this[kNeedDrain]) {\n queueMicrotask(() => {\n if (this[kNeedDrain]) {\n this[kOnDrain](client[kUrl], [this, client])\n }\n })\n }\n\n return this\n }\n\n [kRemoveClient] (client) {\n client.close(() => {\n const idx = this[kClients].indexOf(client)\n if (idx !== -1) {\n this[kClients].splice(idx, 1)\n }\n })\n\n this[kNeedDrain] = this[kClients].some(dispatcher => (\n !dispatcher[kNeedDrain] &&\n dispatcher.closed !== true &&\n dispatcher.destroyed !== true\n ))\n }\n}\n\nmodule.exports = {\n PoolBase,\n kClients,\n kNeedDrain,\n kAddClient,\n kRemoveClient,\n kGetDispatcher\n}\n","const { kFree, kConnected, kPending, kQueued, kRunning, kSize } = require('../core/symbols')\nconst kPool = Symbol('pool')\n\nclass PoolStats {\n constructor (pool) {\n this[kPool] = pool\n }\n\n get connected () {\n return this[kPool][kConnected]\n }\n\n get free () {\n return this[kPool][kFree]\n }\n\n get pending () {\n return this[kPool][kPending]\n }\n\n get queued () {\n return this[kPool][kQueued]\n }\n\n get running () {\n return this[kPool][kRunning]\n }\n\n get size () {\n return this[kPool][kSize]\n }\n}\n\nmodule.exports = PoolStats\n","'use strict'\n\nconst {\n PoolBase,\n kClients,\n kNeedDrain,\n kAddClient,\n kGetDispatcher\n} = require('./pool-base')\nconst Client = require('./client')\nconst {\n InvalidArgumentError\n} = require('../core/errors')\nconst util = require('../core/util')\nconst { kUrl, kInterceptors } = require('../core/symbols')\nconst buildConnector = require('../core/connect')\n\nconst kOptions = Symbol('options')\nconst kConnections = Symbol('connections')\nconst kFactory = Symbol('factory')\n\nfunction defaultFactory (origin, opts) {\n return new Client(origin, opts)\n}\n\nclass Pool extends PoolBase {\n constructor (origin, {\n connections,\n factory = defaultFactory,\n connect,\n connectTimeout,\n tls,\n maxCachedSessions,\n socketPath,\n autoSelectFamily,\n autoSelectFamilyAttemptTimeout,\n allowH2,\n ...options\n } = {}) {\n super()\n\n if (connections != null && (!Number.isFinite(connections) || connections < 0)) {\n throw new InvalidArgumentError('invalid connections')\n }\n\n if (typeof factory !== 'function') {\n throw new InvalidArgumentError('factory must be a function.')\n }\n\n if (connect != null && typeof connect !== 'function' && typeof connect !== 'object') {\n throw new InvalidArgumentError('connect must be a function or an object')\n }\n\n if (typeof connect !== 'function') {\n connect = buildConnector({\n ...tls,\n maxCachedSessions,\n allowH2,\n socketPath,\n timeout: connectTimeout,\n ...(autoSelectFamily ? { autoSelectFamily, autoSelectFamilyAttemptTimeout } : undefined),\n ...connect\n })\n }\n\n this[kInterceptors] = options.interceptors?.Pool && Array.isArray(options.interceptors.Pool)\n ? options.interceptors.Pool\n : []\n this[kConnections] = connections || null\n this[kUrl] = util.parseOrigin(origin)\n this[kOptions] = { ...util.deepClone(options), connect, allowH2 }\n this[kOptions].interceptors = options.interceptors\n ? { ...options.interceptors }\n : undefined\n this[kFactory] = factory\n\n this.on('connectionError', (origin, targets, error) => {\n // If a connection error occurs, we remove the client from the pool,\n // and emit a connectionError event. They will not be re-used.\n // Fixes https://github.com/nodejs/undici/issues/3895\n for (const target of targets) {\n // Do not use kRemoveClient here, as it will close the client,\n // but the client cannot be closed in this state.\n const idx = this[kClients].indexOf(target)\n if (idx !== -1) {\n this[kClients].splice(idx, 1)\n }\n }\n })\n }\n\n [kGetDispatcher] () {\n for (const client of this[kClients]) {\n if (!client[kNeedDrain]) {\n return client\n }\n }\n\n if (!this[kConnections] || this[kClients].length < this[kConnections]) {\n const dispatcher = this[kFactory](this[kUrl], this[kOptions])\n this[kAddClient](dispatcher)\n return dispatcher\n }\n }\n}\n\nmodule.exports = Pool\n","'use strict'\n\nconst { kProxy, kClose, kDestroy, kDispatch, kInterceptors } = require('../core/symbols')\nconst { URL } = require('node:url')\nconst Agent = require('./agent')\nconst Pool = require('./pool')\nconst DispatcherBase = require('./dispatcher-base')\nconst { InvalidArgumentError, RequestAbortedError, SecureProxyConnectionError } = require('../core/errors')\nconst buildConnector = require('../core/connect')\nconst Client = require('./client')\n\nconst kAgent = Symbol('proxy agent')\nconst kClient = Symbol('proxy client')\nconst kProxyHeaders = Symbol('proxy headers')\nconst kRequestTls = Symbol('request tls settings')\nconst kProxyTls = Symbol('proxy tls settings')\nconst kConnectEndpoint = Symbol('connect endpoint function')\nconst kTunnelProxy = Symbol('tunnel proxy')\n\nfunction defaultProtocolPort (protocol) {\n return protocol === 'https:' ? 443 : 80\n}\n\nfunction defaultFactory (origin, opts) {\n return new Pool(origin, opts)\n}\n\nconst noop = () => {}\n\nfunction defaultAgentFactory (origin, opts) {\n if (opts.connections === 1) {\n return new Client(origin, opts)\n }\n return new Pool(origin, opts)\n}\n\nclass Http1ProxyWrapper extends DispatcherBase {\n #client\n\n constructor (proxyUrl, { headers = {}, connect, factory }) {\n super()\n if (!proxyUrl) {\n throw new InvalidArgumentError('Proxy URL is mandatory')\n }\n\n this[kProxyHeaders] = headers\n if (factory) {\n this.#client = factory(proxyUrl, { connect })\n } else {\n this.#client = new Client(proxyUrl, { connect })\n }\n }\n\n [kDispatch] (opts, handler) {\n const onHeaders = handler.onHeaders\n handler.onHeaders = function (statusCode, data, resume) {\n if (statusCode === 407) {\n if (typeof handler.onError === 'function') {\n handler.onError(new InvalidArgumentError('Proxy Authentication Required (407)'))\n }\n return\n }\n if (onHeaders) onHeaders.call(this, statusCode, data, resume)\n }\n\n // Rewrite request as an HTTP1 Proxy request, without tunneling.\n const {\n origin,\n path = '/',\n headers = {}\n } = opts\n\n opts.path = origin + path\n\n if (!('host' in headers) && !('Host' in headers)) {\n const { host } = new URL(origin)\n headers.host = host\n }\n opts.headers = { ...this[kProxyHeaders], ...headers }\n\n return this.#client[kDispatch](opts, handler)\n }\n\n async [kClose] () {\n return this.#client.close()\n }\n\n async [kDestroy] (err) {\n return this.#client.destroy(err)\n }\n}\n\nclass ProxyAgent extends DispatcherBase {\n constructor (opts) {\n super()\n\n if (!opts || (typeof opts === 'object' && !(opts instanceof URL) && !opts.uri)) {\n throw new InvalidArgumentError('Proxy uri is mandatory')\n }\n\n const { clientFactory = defaultFactory } = opts\n if (typeof clientFactory !== 'function') {\n throw new InvalidArgumentError('Proxy opts.clientFactory must be a function.')\n }\n\n const { proxyTunnel = true } = opts\n\n const url = this.#getUrl(opts)\n const { href, origin, port, protocol, username, password, hostname: proxyHostname } = url\n\n this[kProxy] = { uri: href, protocol }\n this[kInterceptors] = opts.interceptors?.ProxyAgent && Array.isArray(opts.interceptors.ProxyAgent)\n ? opts.interceptors.ProxyAgent\n : []\n this[kRequestTls] = opts.requestTls\n this[kProxyTls] = opts.proxyTls\n this[kProxyHeaders] = opts.headers || {}\n this[kTunnelProxy] = proxyTunnel\n\n if (opts.auth && opts.token) {\n throw new InvalidArgumentError('opts.auth cannot be used in combination with opts.token')\n } else if (opts.auth) {\n /* @deprecated in favour of opts.token */\n this[kProxyHeaders]['proxy-authorization'] = `Basic ${opts.auth}`\n } else if (opts.token) {\n this[kProxyHeaders]['proxy-authorization'] = opts.token\n } else if (username && password) {\n this[kProxyHeaders]['proxy-authorization'] = `Basic ${Buffer.from(`${decodeURIComponent(username)}:${decodeURIComponent(password)}`).toString('base64')}`\n }\n\n const connect = buildConnector({ ...opts.proxyTls })\n this[kConnectEndpoint] = buildConnector({ ...opts.requestTls })\n\n const agentFactory = opts.factory || defaultAgentFactory\n const factory = (origin, options) => {\n const { protocol } = new URL(origin)\n if (!this[kTunnelProxy] && protocol === 'http:' && this[kProxy].protocol === 'http:') {\n return new Http1ProxyWrapper(this[kProxy].uri, {\n headers: this[kProxyHeaders],\n connect,\n factory: agentFactory\n })\n }\n return agentFactory(origin, options)\n }\n this[kClient] = clientFactory(url, { connect })\n this[kAgent] = new Agent({\n ...opts,\n factory,\n connect: async (opts, callback) => {\n let requestedPath = opts.host\n if (!opts.port) {\n requestedPath += `:${defaultProtocolPort(opts.protocol)}`\n }\n try {\n const { socket, statusCode } = await this[kClient].connect({\n origin,\n port,\n path: requestedPath,\n signal: opts.signal,\n headers: {\n ...this[kProxyHeaders],\n host: opts.host\n },\n servername: this[kProxyTls]?.servername || proxyHostname\n })\n if (statusCode !== 200) {\n socket.on('error', noop).destroy()\n callback(new RequestAbortedError(`Proxy response (${statusCode}) !== 200 when HTTP Tunneling`))\n }\n if (opts.protocol !== 'https:') {\n callback(null, socket)\n return\n }\n let servername\n if (this[kRequestTls]) {\n servername = this[kRequestTls].servername\n } else {\n servername = opts.servername\n }\n this[kConnectEndpoint]({ ...opts, servername, httpSocket: socket }, callback)\n } catch (err) {\n if (err.code === 'ERR_TLS_CERT_ALTNAME_INVALID') {\n // Throw a custom error to avoid loop in client.js#connect\n callback(new SecureProxyConnectionError(err))\n } else {\n callback(err)\n }\n }\n }\n })\n }\n\n dispatch (opts, handler) {\n const headers = buildHeaders(opts.headers)\n throwIfProxyAuthIsSent(headers)\n\n if (headers && !('host' in headers) && !('Host' in headers)) {\n const { host } = new URL(opts.origin)\n headers.host = host\n }\n\n return this[kAgent].dispatch(\n {\n ...opts,\n headers\n },\n handler\n )\n }\n\n /**\n * @param {import('../types/proxy-agent').ProxyAgent.Options | string | URL} opts\n * @returns {URL}\n */\n #getUrl (opts) {\n if (typeof opts === 'string') {\n return new URL(opts)\n } else if (opts instanceof URL) {\n return opts\n } else {\n return new URL(opts.uri)\n }\n }\n\n async [kClose] () {\n await this[kAgent].close()\n await this[kClient].close()\n }\n\n async [kDestroy] () {\n await this[kAgent].destroy()\n await this[kClient].destroy()\n }\n}\n\n/**\n * @param {string[] | Record} headers\n * @returns {Record}\n */\nfunction buildHeaders (headers) {\n // When using undici.fetch, the headers list is stored\n // as an array.\n if (Array.isArray(headers)) {\n /** @type {Record} */\n const headersPair = {}\n\n for (let i = 0; i < headers.length; i += 2) {\n headersPair[headers[i]] = headers[i + 1]\n }\n\n return headersPair\n }\n\n return headers\n}\n\n/**\n * @param {Record} headers\n *\n * Previous versions of ProxyAgent suggests the Proxy-Authorization in request headers\n * Nevertheless, it was changed and to avoid a security vulnerability by end users\n * this check was created.\n * It should be removed in the next major version for performance reasons\n */\nfunction throwIfProxyAuthIsSent (headers) {\n const existProxyAuth = headers && Object.keys(headers)\n .find((key) => key.toLowerCase() === 'proxy-authorization')\n if (existProxyAuth) {\n throw new InvalidArgumentError('Proxy-Authorization should be sent in ProxyAgent constructor')\n }\n}\n\nmodule.exports = ProxyAgent\n","'use strict'\n\nconst Dispatcher = require('./dispatcher')\nconst RetryHandler = require('../handler/retry-handler')\n\nclass RetryAgent extends Dispatcher {\n #agent = null\n #options = null\n constructor (agent, options = {}) {\n super(options)\n this.#agent = agent\n this.#options = options\n }\n\n dispatch (opts, handler) {\n const retry = new RetryHandler({\n ...opts,\n retryOptions: this.#options\n }, {\n dispatch: this.#agent.dispatch.bind(this.#agent),\n handler\n })\n return this.#agent.dispatch(opts, retry)\n }\n\n close () {\n return this.#agent.close()\n }\n\n destroy () {\n return this.#agent.destroy()\n }\n}\n\nmodule.exports = RetryAgent\n","'use strict'\n\n// We include a version number for the Dispatcher API. In case of breaking changes,\n// this version number must be increased to avoid conflicts.\nconst globalDispatcher = Symbol.for('undici.globalDispatcher.1')\nconst { InvalidArgumentError } = require('./core/errors')\nconst Agent = require('./dispatcher/agent')\n\nif (getGlobalDispatcher() === undefined) {\n setGlobalDispatcher(new Agent())\n}\n\nfunction setGlobalDispatcher (agent) {\n if (!agent || typeof agent.dispatch !== 'function') {\n throw new InvalidArgumentError('Argument agent must implement Agent')\n }\n Object.defineProperty(globalThis, globalDispatcher, {\n value: agent,\n writable: true,\n enumerable: false,\n configurable: false\n })\n}\n\nfunction getGlobalDispatcher () {\n return globalThis[globalDispatcher]\n}\n\nmodule.exports = {\n setGlobalDispatcher,\n getGlobalDispatcher\n}\n","'use strict'\n\nmodule.exports = class DecoratorHandler {\n #handler\n\n constructor (handler) {\n if (typeof handler !== 'object' || handler === null) {\n throw new TypeError('handler must be an object')\n }\n this.#handler = handler\n }\n\n onConnect (...args) {\n return this.#handler.onConnect?.(...args)\n }\n\n onError (...args) {\n return this.#handler.onError?.(...args)\n }\n\n onUpgrade (...args) {\n return this.#handler.onUpgrade?.(...args)\n }\n\n onResponseStarted (...args) {\n return this.#handler.onResponseStarted?.(...args)\n }\n\n onHeaders (...args) {\n return this.#handler.onHeaders?.(...args)\n }\n\n onData (...args) {\n return this.#handler.onData?.(...args)\n }\n\n onComplete (...args) {\n return this.#handler.onComplete?.(...args)\n }\n\n onBodySent (...args) {\n return this.#handler.onBodySent?.(...args)\n }\n}\n","'use strict'\n\nconst util = require('../core/util')\nconst { kBodyUsed } = require('../core/symbols')\nconst assert = require('node:assert')\nconst { InvalidArgumentError } = require('../core/errors')\nconst EE = require('node:events')\n\nconst redirectableStatusCodes = [300, 301, 302, 303, 307, 308]\n\nconst kBody = Symbol('body')\n\nclass BodyAsyncIterable {\n constructor (body) {\n this[kBody] = body\n this[kBodyUsed] = false\n }\n\n async * [Symbol.asyncIterator] () {\n assert(!this[kBodyUsed], 'disturbed')\n this[kBodyUsed] = true\n yield * this[kBody]\n }\n}\n\nclass RedirectHandler {\n constructor (dispatch, maxRedirections, opts, handler) {\n if (maxRedirections != null && (!Number.isInteger(maxRedirections) || maxRedirections < 0)) {\n throw new InvalidArgumentError('maxRedirections must be a positive number')\n }\n\n util.validateHandler(handler, opts.method, opts.upgrade)\n\n this.dispatch = dispatch\n this.location = null\n this.abort = null\n this.opts = { ...opts, maxRedirections: 0 } // opts must be a copy\n this.maxRedirections = maxRedirections\n this.handler = handler\n this.history = []\n this.redirectionLimitReached = false\n\n if (util.isStream(this.opts.body)) {\n // TODO (fix): Provide some way for the user to cache the file to e.g. /tmp\n // so that it can be dispatched again?\n // TODO (fix): Do we need 100-expect support to provide a way to do this properly?\n if (util.bodyLength(this.opts.body) === 0) {\n this.opts.body\n .on('data', function () {\n assert(false)\n })\n }\n\n if (typeof this.opts.body.readableDidRead !== 'boolean') {\n this.opts.body[kBodyUsed] = false\n EE.prototype.on.call(this.opts.body, 'data', function () {\n this[kBodyUsed] = true\n })\n }\n } else if (this.opts.body && typeof this.opts.body.pipeTo === 'function') {\n // TODO (fix): We can't access ReadableStream internal state\n // to determine whether or not it has been disturbed. This is just\n // a workaround.\n this.opts.body = new BodyAsyncIterable(this.opts.body)\n } else if (\n this.opts.body &&\n typeof this.opts.body !== 'string' &&\n !ArrayBuffer.isView(this.opts.body) &&\n util.isIterable(this.opts.body)\n ) {\n // TODO: Should we allow re-using iterable if !this.opts.idempotent\n // or through some other flag?\n this.opts.body = new BodyAsyncIterable(this.opts.body)\n }\n }\n\n onConnect (abort) {\n this.abort = abort\n this.handler.onConnect(abort, { history: this.history })\n }\n\n onUpgrade (statusCode, headers, socket) {\n this.handler.onUpgrade(statusCode, headers, socket)\n }\n\n onError (error) {\n this.handler.onError(error)\n }\n\n onHeaders (statusCode, headers, resume, statusText) {\n this.location = this.history.length >= this.maxRedirections || util.isDisturbed(this.opts.body)\n ? null\n : parseLocation(statusCode, headers)\n\n if (this.opts.throwOnMaxRedirect && this.history.length >= this.maxRedirections) {\n if (this.request) {\n this.request.abort(new Error('max redirects'))\n }\n\n this.redirectionLimitReached = true\n this.abort(new Error('max redirects'))\n return\n }\n\n if (this.opts.origin) {\n this.history.push(new URL(this.opts.path, this.opts.origin))\n }\n\n if (!this.location) {\n return this.handler.onHeaders(statusCode, headers, resume, statusText)\n }\n\n const { origin, pathname, search } = util.parseURL(new URL(this.location, this.opts.origin && new URL(this.opts.path, this.opts.origin)))\n const path = search ? `${pathname}${search}` : pathname\n\n // Remove headers referring to the original URL.\n // By default it is Host only, unless it's a 303 (see below), which removes also all Content-* headers.\n // https://tools.ietf.org/html/rfc7231#section-6.4\n this.opts.headers = cleanRequestHeaders(this.opts.headers, statusCode === 303, this.opts.origin !== origin)\n this.opts.path = path\n this.opts.origin = origin\n this.opts.maxRedirections = 0\n this.opts.query = null\n\n // https://tools.ietf.org/html/rfc7231#section-6.4.4\n // In case of HTTP 303, always replace method to be either HEAD or GET\n if (statusCode === 303 && this.opts.method !== 'HEAD') {\n this.opts.method = 'GET'\n this.opts.body = null\n }\n }\n\n onData (chunk) {\n if (this.location) {\n /*\n https://tools.ietf.org/html/rfc7231#section-6.4\n\n TLDR: undici always ignores 3xx response bodies.\n\n Redirection is used to serve the requested resource from another URL, so it is assumes that\n no body is generated (and thus can be ignored). Even though generating a body is not prohibited.\n\n For status 301, 302, 303, 307 and 308 (the latter from RFC 7238), the specs mention that the body usually\n (which means it's optional and not mandated) contain just an hyperlink to the value of\n the Location response header, so the body can be ignored safely.\n\n For status 300, which is \"Multiple Choices\", the spec mentions both generating a Location\n response header AND a response body with the other possible location to follow.\n Since the spec explicitly chooses not to specify a format for such body and leave it to\n servers and browsers implementors, we ignore the body as there is no specified way to eventually parse it.\n */\n } else {\n return this.handler.onData(chunk)\n }\n }\n\n onComplete (trailers) {\n if (this.location) {\n /*\n https://tools.ietf.org/html/rfc7231#section-6.4\n\n TLDR: undici always ignores 3xx response trailers as they are not expected in case of redirections\n and neither are useful if present.\n\n See comment on onData method above for more detailed information.\n */\n\n this.location = null\n this.abort = null\n\n this.dispatch(this.opts, this)\n } else {\n this.handler.onComplete(trailers)\n }\n }\n\n onBodySent (chunk) {\n if (this.handler.onBodySent) {\n this.handler.onBodySent(chunk)\n }\n }\n}\n\nfunction parseLocation (statusCode, headers) {\n if (redirectableStatusCodes.indexOf(statusCode) === -1) {\n return null\n }\n\n for (let i = 0; i < headers.length; i += 2) {\n if (headers[i].length === 8 && util.headerNameToString(headers[i]) === 'location') {\n return headers[i + 1]\n }\n }\n}\n\n// https://tools.ietf.org/html/rfc7231#section-6.4.4\nfunction shouldRemoveHeader (header, removeContent, unknownOrigin) {\n if (header.length === 4) {\n return util.headerNameToString(header) === 'host'\n }\n if (removeContent && util.headerNameToString(header).startsWith('content-')) {\n return true\n }\n if (unknownOrigin && (header.length === 13 || header.length === 6 || header.length === 19)) {\n const name = util.headerNameToString(header)\n return name === 'authorization' || name === 'cookie' || name === 'proxy-authorization'\n }\n return false\n}\n\n// https://tools.ietf.org/html/rfc7231#section-6.4\nfunction cleanRequestHeaders (headers, removeContent, unknownOrigin) {\n const ret = []\n if (Array.isArray(headers)) {\n for (let i = 0; i < headers.length; i += 2) {\n if (!shouldRemoveHeader(headers[i], removeContent, unknownOrigin)) {\n ret.push(headers[i], headers[i + 1])\n }\n }\n } else if (headers && typeof headers === 'object') {\n for (const key of Object.keys(headers)) {\n if (!shouldRemoveHeader(key, removeContent, unknownOrigin)) {\n ret.push(key, headers[key])\n }\n }\n } else {\n assert(headers == null, 'headers must be an object or an array')\n }\n return ret\n}\n\nmodule.exports = RedirectHandler\n","'use strict'\nconst assert = require('node:assert')\n\nconst { kRetryHandlerDefaultRetry } = require('../core/symbols')\nconst { RequestRetryError } = require('../core/errors')\nconst {\n isDisturbed,\n parseHeaders,\n parseRangeHeader,\n wrapRequestBody\n} = require('../core/util')\n\nfunction calculateRetryAfterHeader (retryAfter) {\n const current = Date.now()\n return new Date(retryAfter).getTime() - current\n}\n\nclass RetryHandler {\n constructor (opts, handlers) {\n const { retryOptions, ...dispatchOpts } = opts\n const {\n // Retry scoped\n retry: retryFn,\n maxRetries,\n maxTimeout,\n minTimeout,\n timeoutFactor,\n // Response scoped\n methods,\n errorCodes,\n retryAfter,\n statusCodes\n } = retryOptions ?? {}\n\n this.dispatch = handlers.dispatch\n this.handler = handlers.handler\n this.opts = { ...dispatchOpts, body: wrapRequestBody(opts.body) }\n this.abort = null\n this.aborted = false\n this.retryOpts = {\n retry: retryFn ?? RetryHandler[kRetryHandlerDefaultRetry],\n retryAfter: retryAfter ?? true,\n maxTimeout: maxTimeout ?? 30 * 1000, // 30s,\n minTimeout: minTimeout ?? 500, // .5s\n timeoutFactor: timeoutFactor ?? 2,\n maxRetries: maxRetries ?? 5,\n // What errors we should retry\n methods: methods ?? ['GET', 'HEAD', 'OPTIONS', 'PUT', 'DELETE', 'TRACE'],\n // Indicates which errors to retry\n statusCodes: statusCodes ?? [500, 502, 503, 504, 429],\n // List of errors to retry\n errorCodes: errorCodes ?? [\n 'ECONNRESET',\n 'ECONNREFUSED',\n 'ENOTFOUND',\n 'ENETDOWN',\n 'ENETUNREACH',\n 'EHOSTDOWN',\n 'EHOSTUNREACH',\n 'EPIPE',\n 'UND_ERR_SOCKET'\n ]\n }\n\n this.retryCount = 0\n this.retryCountCheckpoint = 0\n this.start = 0\n this.end = null\n this.etag = null\n this.resume = null\n\n // Handle possible onConnect duplication\n this.handler.onConnect(reason => {\n this.aborted = true\n if (this.abort) {\n this.abort(reason)\n } else {\n this.reason = reason\n }\n })\n }\n\n onRequestSent () {\n if (this.handler.onRequestSent) {\n this.handler.onRequestSent()\n }\n }\n\n onUpgrade (statusCode, headers, socket) {\n if (this.handler.onUpgrade) {\n this.handler.onUpgrade(statusCode, headers, socket)\n }\n }\n\n onConnect (abort) {\n if (this.aborted) {\n abort(this.reason)\n } else {\n this.abort = abort\n }\n }\n\n onBodySent (chunk) {\n if (this.handler.onBodySent) return this.handler.onBodySent(chunk)\n }\n\n static [kRetryHandlerDefaultRetry] (err, { state, opts }, cb) {\n const { statusCode, code, headers } = err\n const { method, retryOptions } = opts\n const {\n maxRetries,\n minTimeout,\n maxTimeout,\n timeoutFactor,\n statusCodes,\n errorCodes,\n methods\n } = retryOptions\n const { counter } = state\n\n // Any code that is not a Undici's originated and allowed to retry\n if (code && code !== 'UND_ERR_REQ_RETRY' && !errorCodes.includes(code)) {\n cb(err)\n return\n }\n\n // If a set of method are provided and the current method is not in the list\n if (Array.isArray(methods) && !methods.includes(method)) {\n cb(err)\n return\n }\n\n // If a set of status code are provided and the current status code is not in the list\n if (\n statusCode != null &&\n Array.isArray(statusCodes) &&\n !statusCodes.includes(statusCode)\n ) {\n cb(err)\n return\n }\n\n // If we reached the max number of retries\n if (counter > maxRetries) {\n cb(err)\n return\n }\n\n let retryAfterHeader = headers?.['retry-after']\n if (retryAfterHeader) {\n retryAfterHeader = Number(retryAfterHeader)\n retryAfterHeader = Number.isNaN(retryAfterHeader)\n ? calculateRetryAfterHeader(retryAfterHeader)\n : retryAfterHeader * 1e3 // Retry-After is in seconds\n }\n\n const retryTimeout =\n retryAfterHeader > 0\n ? Math.min(retryAfterHeader, maxTimeout)\n : Math.min(minTimeout * timeoutFactor ** (counter - 1), maxTimeout)\n\n setTimeout(() => cb(null), retryTimeout)\n }\n\n onHeaders (statusCode, rawHeaders, resume, statusMessage) {\n const headers = parseHeaders(rawHeaders)\n\n this.retryCount += 1\n\n if (statusCode >= 300) {\n if (this.retryOpts.statusCodes.includes(statusCode) === false) {\n return this.handler.onHeaders(\n statusCode,\n rawHeaders,\n resume,\n statusMessage\n )\n } else {\n this.abort(\n new RequestRetryError('Request failed', statusCode, {\n headers,\n data: {\n count: this.retryCount\n }\n })\n )\n return false\n }\n }\n\n // Checkpoint for resume from where we left it\n if (this.resume != null) {\n this.resume = null\n\n // Only Partial Content 206 supposed to provide Content-Range,\n // any other status code that partially consumed the payload\n // should not be retry because it would result in downstream\n // wrongly concatanete multiple responses.\n if (statusCode !== 206 && (this.start > 0 || statusCode !== 200)) {\n this.abort(\n new RequestRetryError('server does not support the range header and the payload was partially consumed', statusCode, {\n headers,\n data: { count: this.retryCount }\n })\n )\n return false\n }\n\n const contentRange = parseRangeHeader(headers['content-range'])\n // If no content range\n if (!contentRange) {\n this.abort(\n new RequestRetryError('Content-Range mismatch', statusCode, {\n headers,\n data: { count: this.retryCount }\n })\n )\n return false\n }\n\n // Let's start with a weak etag check\n if (this.etag != null && this.etag !== headers.etag) {\n this.abort(\n new RequestRetryError('ETag mismatch', statusCode, {\n headers,\n data: { count: this.retryCount }\n })\n )\n return false\n }\n\n const { start, size, end = size - 1 } = contentRange\n\n assert(this.start === start, 'content-range mismatch')\n assert(this.end == null || this.end === end, 'content-range mismatch')\n\n this.resume = resume\n return true\n }\n\n if (this.end == null) {\n if (statusCode === 206) {\n // First time we receive 206\n const range = parseRangeHeader(headers['content-range'])\n\n if (range == null) {\n return this.handler.onHeaders(\n statusCode,\n rawHeaders,\n resume,\n statusMessage\n )\n }\n\n const { start, size, end = size - 1 } = range\n assert(\n start != null && Number.isFinite(start),\n 'content-range mismatch'\n )\n assert(end != null && Number.isFinite(end), 'invalid content-length')\n\n this.start = start\n this.end = end\n }\n\n // We make our best to checkpoint the body for further range headers\n if (this.end == null) {\n const contentLength = headers['content-length']\n this.end = contentLength != null ? Number(contentLength) - 1 : null\n }\n\n assert(Number.isFinite(this.start))\n assert(\n this.end == null || Number.isFinite(this.end),\n 'invalid content-length'\n )\n\n this.resume = resume\n this.etag = headers.etag != null ? headers.etag : null\n\n // Weak etags are not useful for comparison nor cache\n // for instance not safe to assume if the response is byte-per-byte\n // equal\n if (this.etag != null && this.etag.startsWith('W/')) {\n this.etag = null\n }\n\n return this.handler.onHeaders(\n statusCode,\n rawHeaders,\n resume,\n statusMessage\n )\n }\n\n const err = new RequestRetryError('Request failed', statusCode, {\n headers,\n data: { count: this.retryCount }\n })\n\n this.abort(err)\n\n return false\n }\n\n onData (chunk) {\n this.start += chunk.length\n\n return this.handler.onData(chunk)\n }\n\n onComplete (rawTrailers) {\n this.retryCount = 0\n return this.handler.onComplete(rawTrailers)\n }\n\n onError (err) {\n if (this.aborted || isDisturbed(this.opts.body)) {\n return this.handler.onError(err)\n }\n\n // We reconcile in case of a mix between network errors\n // and server error response\n if (this.retryCount - this.retryCountCheckpoint > 0) {\n // We count the difference between the last checkpoint and the current retry count\n this.retryCount =\n this.retryCountCheckpoint +\n (this.retryCount - this.retryCountCheckpoint)\n } else {\n this.retryCount += 1\n }\n\n this.retryOpts.retry(\n err,\n {\n state: { counter: this.retryCount },\n opts: { retryOptions: this.retryOpts, ...this.opts }\n },\n onRetry.bind(this)\n )\n\n function onRetry (err) {\n if (err != null || this.aborted || isDisturbed(this.opts.body)) {\n return this.handler.onError(err)\n }\n\n if (this.start !== 0) {\n const headers = { range: `bytes=${this.start}-${this.end ?? ''}` }\n\n // Weak etag check - weak etags will make comparison algorithms never match\n if (this.etag != null) {\n headers['if-match'] = this.etag\n }\n\n this.opts = {\n ...this.opts,\n headers: {\n ...this.opts.headers,\n ...headers\n }\n }\n }\n\n try {\n this.retryCountCheckpoint = this.retryCount\n this.dispatch(this.opts, this)\n } catch (err) {\n this.handler.onError(err)\n }\n }\n }\n}\n\nmodule.exports = RetryHandler\n","'use strict'\nconst { isIP } = require('node:net')\nconst { lookup } = require('node:dns')\nconst DecoratorHandler = require('../handler/decorator-handler')\nconst { InvalidArgumentError, InformationalError } = require('../core/errors')\nconst maxInt = Math.pow(2, 31) - 1\n\nclass DNSInstance {\n #maxTTL = 0\n #maxItems = 0\n #records = new Map()\n dualStack = true\n affinity = null\n lookup = null\n pick = null\n\n constructor (opts) {\n this.#maxTTL = opts.maxTTL\n this.#maxItems = opts.maxItems\n this.dualStack = opts.dualStack\n this.affinity = opts.affinity\n this.lookup = opts.lookup ?? this.#defaultLookup\n this.pick = opts.pick ?? this.#defaultPick\n }\n\n get full () {\n return this.#records.size === this.#maxItems\n }\n\n runLookup (origin, opts, cb) {\n const ips = this.#records.get(origin.hostname)\n\n // If full, we just return the origin\n if (ips == null && this.full) {\n cb(null, origin.origin)\n return\n }\n\n const newOpts = {\n affinity: this.affinity,\n dualStack: this.dualStack,\n lookup: this.lookup,\n pick: this.pick,\n ...opts.dns,\n maxTTL: this.#maxTTL,\n maxItems: this.#maxItems\n }\n\n // If no IPs we lookup\n if (ips == null) {\n this.lookup(origin, newOpts, (err, addresses) => {\n if (err || addresses == null || addresses.length === 0) {\n cb(err ?? new InformationalError('No DNS entries found'))\n return\n }\n\n this.setRecords(origin, addresses)\n const records = this.#records.get(origin.hostname)\n\n const ip = this.pick(\n origin,\n records,\n newOpts.affinity\n )\n\n let port\n if (typeof ip.port === 'number') {\n port = `:${ip.port}`\n } else if (origin.port !== '') {\n port = `:${origin.port}`\n } else {\n port = ''\n }\n\n cb(\n null,\n `${origin.protocol}//${\n ip.family === 6 ? `[${ip.address}]` : ip.address\n }${port}`\n )\n })\n } else {\n // If there's IPs we pick\n const ip = this.pick(\n origin,\n ips,\n newOpts.affinity\n )\n\n // If no IPs we lookup - deleting old records\n if (ip == null) {\n this.#records.delete(origin.hostname)\n this.runLookup(origin, opts, cb)\n return\n }\n\n let port\n if (typeof ip.port === 'number') {\n port = `:${ip.port}`\n } else if (origin.port !== '') {\n port = `:${origin.port}`\n } else {\n port = ''\n }\n\n cb(\n null,\n `${origin.protocol}//${\n ip.family === 6 ? `[${ip.address}]` : ip.address\n }${port}`\n )\n }\n }\n\n #defaultLookup (origin, opts, cb) {\n lookup(\n origin.hostname,\n {\n all: true,\n family: this.dualStack === false ? this.affinity : 0,\n order: 'ipv4first'\n },\n (err, addresses) => {\n if (err) {\n return cb(err)\n }\n\n const results = new Map()\n\n for (const addr of addresses) {\n // On linux we found duplicates, we attempt to remove them with\n // the latest record\n results.set(`${addr.address}:${addr.family}`, addr)\n }\n\n cb(null, results.values())\n }\n )\n }\n\n #defaultPick (origin, hostnameRecords, affinity) {\n let ip = null\n const { records, offset } = hostnameRecords\n\n let family\n if (this.dualStack) {\n if (affinity == null) {\n // Balance between ip families\n if (offset == null || offset === maxInt) {\n hostnameRecords.offset = 0\n affinity = 4\n } else {\n hostnameRecords.offset++\n affinity = (hostnameRecords.offset & 1) === 1 ? 6 : 4\n }\n }\n\n if (records[affinity] != null && records[affinity].ips.length > 0) {\n family = records[affinity]\n } else {\n family = records[affinity === 4 ? 6 : 4]\n }\n } else {\n family = records[affinity]\n }\n\n // If no IPs we return null\n if (family == null || family.ips.length === 0) {\n return ip\n }\n\n if (family.offset == null || family.offset === maxInt) {\n family.offset = 0\n } else {\n family.offset++\n }\n\n const position = family.offset % family.ips.length\n ip = family.ips[position] ?? null\n\n if (ip == null) {\n return ip\n }\n\n if (Date.now() - ip.timestamp > ip.ttl) { // record TTL is already in ms\n // We delete expired records\n // It is possible that they have different TTL, so we manage them individually\n family.ips.splice(position, 1)\n return this.pick(origin, hostnameRecords, affinity)\n }\n\n return ip\n }\n\n setRecords (origin, addresses) {\n const timestamp = Date.now()\n const records = { records: { 4: null, 6: null } }\n for (const record of addresses) {\n record.timestamp = timestamp\n if (typeof record.ttl === 'number') {\n // The record TTL is expected to be in ms\n record.ttl = Math.min(record.ttl, this.#maxTTL)\n } else {\n record.ttl = this.#maxTTL\n }\n\n const familyRecords = records.records[record.family] ?? { ips: [] }\n\n familyRecords.ips.push(record)\n records.records[record.family] = familyRecords\n }\n\n this.#records.set(origin.hostname, records)\n }\n\n getHandler (meta, opts) {\n return new DNSDispatchHandler(this, meta, opts)\n }\n}\n\nclass DNSDispatchHandler extends DecoratorHandler {\n #state = null\n #opts = null\n #dispatch = null\n #handler = null\n #origin = null\n\n constructor (state, { origin, handler, dispatch }, opts) {\n super(handler)\n this.#origin = origin\n this.#handler = handler\n this.#opts = { ...opts }\n this.#state = state\n this.#dispatch = dispatch\n }\n\n onError (err) {\n switch (err.code) {\n case 'ETIMEDOUT':\n case 'ECONNREFUSED': {\n if (this.#state.dualStack) {\n // We delete the record and retry\n this.#state.runLookup(this.#origin, this.#opts, (err, newOrigin) => {\n if (err) {\n return this.#handler.onError(err)\n }\n\n const dispatchOpts = {\n ...this.#opts,\n origin: newOrigin\n }\n\n this.#dispatch(dispatchOpts, this)\n })\n\n // if dual-stack disabled, we error out\n return\n }\n\n this.#handler.onError(err)\n return\n }\n case 'ENOTFOUND':\n this.#state.deleteRecord(this.#origin)\n // eslint-disable-next-line no-fallthrough\n default:\n this.#handler.onError(err)\n break\n }\n }\n}\n\nmodule.exports = interceptorOpts => {\n if (\n interceptorOpts?.maxTTL != null &&\n (typeof interceptorOpts?.maxTTL !== 'number' || interceptorOpts?.maxTTL < 0)\n ) {\n throw new InvalidArgumentError('Invalid maxTTL. Must be a positive number')\n }\n\n if (\n interceptorOpts?.maxItems != null &&\n (typeof interceptorOpts?.maxItems !== 'number' ||\n interceptorOpts?.maxItems < 1)\n ) {\n throw new InvalidArgumentError(\n 'Invalid maxItems. Must be a positive number and greater than zero'\n )\n }\n\n if (\n interceptorOpts?.affinity != null &&\n interceptorOpts?.affinity !== 4 &&\n interceptorOpts?.affinity !== 6\n ) {\n throw new InvalidArgumentError('Invalid affinity. Must be either 4 or 6')\n }\n\n if (\n interceptorOpts?.dualStack != null &&\n typeof interceptorOpts?.dualStack !== 'boolean'\n ) {\n throw new InvalidArgumentError('Invalid dualStack. Must be a boolean')\n }\n\n if (\n interceptorOpts?.lookup != null &&\n typeof interceptorOpts?.lookup !== 'function'\n ) {\n throw new InvalidArgumentError('Invalid lookup. Must be a function')\n }\n\n if (\n interceptorOpts?.pick != null &&\n typeof interceptorOpts?.pick !== 'function'\n ) {\n throw new InvalidArgumentError('Invalid pick. Must be a function')\n }\n\n const dualStack = interceptorOpts?.dualStack ?? true\n let affinity\n if (dualStack) {\n affinity = interceptorOpts?.affinity ?? null\n } else {\n affinity = interceptorOpts?.affinity ?? 4\n }\n\n const opts = {\n maxTTL: interceptorOpts?.maxTTL ?? 10e3, // Expressed in ms\n lookup: interceptorOpts?.lookup ?? null,\n pick: interceptorOpts?.pick ?? null,\n dualStack,\n affinity,\n maxItems: interceptorOpts?.maxItems ?? Infinity\n }\n\n const instance = new DNSInstance(opts)\n\n return dispatch => {\n return function dnsInterceptor (origDispatchOpts, handler) {\n const origin =\n origDispatchOpts.origin.constructor === URL\n ? origDispatchOpts.origin\n : new URL(origDispatchOpts.origin)\n\n if (isIP(origin.hostname) !== 0) {\n return dispatch(origDispatchOpts, handler)\n }\n\n instance.runLookup(origin, origDispatchOpts, (err, newOrigin) => {\n if (err) {\n return handler.onError(err)\n }\n\n let dispatchOpts = null\n dispatchOpts = {\n ...origDispatchOpts,\n servername: origin.hostname, // For SNI on TLS\n origin: newOrigin,\n headers: {\n host: origin.hostname,\n ...origDispatchOpts.headers\n }\n }\n\n dispatch(\n dispatchOpts,\n instance.getHandler({ origin, dispatch, handler }, origDispatchOpts)\n )\n })\n\n return true\n }\n }\n}\n","'use strict'\n\nconst util = require('../core/util')\nconst { InvalidArgumentError, RequestAbortedError } = require('../core/errors')\nconst DecoratorHandler = require('../handler/decorator-handler')\n\nclass DumpHandler extends DecoratorHandler {\n #maxSize = 1024 * 1024\n #abort = null\n #dumped = false\n #aborted = false\n #size = 0\n #reason = null\n #handler = null\n\n constructor ({ maxSize }, handler) {\n super(handler)\n\n if (maxSize != null && (!Number.isFinite(maxSize) || maxSize < 1)) {\n throw new InvalidArgumentError('maxSize must be a number greater than 0')\n }\n\n this.#maxSize = maxSize ?? this.#maxSize\n this.#handler = handler\n }\n\n onConnect (abort) {\n this.#abort = abort\n\n this.#handler.onConnect(this.#customAbort.bind(this))\n }\n\n #customAbort (reason) {\n this.#aborted = true\n this.#reason = reason\n }\n\n // TODO: will require adjustment after new hooks are out\n onHeaders (statusCode, rawHeaders, resume, statusMessage) {\n const headers = util.parseHeaders(rawHeaders)\n const contentLength = headers['content-length']\n\n if (contentLength != null && contentLength > this.#maxSize) {\n throw new RequestAbortedError(\n `Response size (${contentLength}) larger than maxSize (${\n this.#maxSize\n })`\n )\n }\n\n if (this.#aborted) {\n return true\n }\n\n return this.#handler.onHeaders(\n statusCode,\n rawHeaders,\n resume,\n statusMessage\n )\n }\n\n onError (err) {\n if (this.#dumped) {\n return\n }\n\n err = this.#reason ?? err\n\n this.#handler.onError(err)\n }\n\n onData (chunk) {\n this.#size = this.#size + chunk.length\n\n if (this.#size >= this.#maxSize) {\n this.#dumped = true\n\n if (this.#aborted) {\n this.#handler.onError(this.#reason)\n } else {\n this.#handler.onComplete([])\n }\n }\n\n return true\n }\n\n onComplete (trailers) {\n if (this.#dumped) {\n return\n }\n\n if (this.#aborted) {\n this.#handler.onError(this.reason)\n return\n }\n\n this.#handler.onComplete(trailers)\n }\n}\n\nfunction createDumpInterceptor (\n { maxSize: defaultMaxSize } = {\n maxSize: 1024 * 1024\n }\n) {\n return dispatch => {\n return function Intercept (opts, handler) {\n const { dumpMaxSize = defaultMaxSize } =\n opts\n\n const dumpHandler = new DumpHandler(\n { maxSize: dumpMaxSize },\n handler\n )\n\n return dispatch(opts, dumpHandler)\n }\n }\n}\n\nmodule.exports = createDumpInterceptor\n","'use strict'\n\nconst RedirectHandler = require('../handler/redirect-handler')\n\nfunction createRedirectInterceptor ({ maxRedirections: defaultMaxRedirections }) {\n return (dispatch) => {\n return function Intercept (opts, handler) {\n const { maxRedirections = defaultMaxRedirections } = opts\n\n if (!maxRedirections) {\n return dispatch(opts, handler)\n }\n\n const redirectHandler = new RedirectHandler(dispatch, maxRedirections, opts, handler)\n opts = { ...opts, maxRedirections: 0 } // Stop sub dispatcher from also redirecting.\n return dispatch(opts, redirectHandler)\n }\n }\n}\n\nmodule.exports = createRedirectInterceptor\n","'use strict'\nconst RedirectHandler = require('../handler/redirect-handler')\n\nmodule.exports = opts => {\n const globalMaxRedirections = opts?.maxRedirections\n return dispatch => {\n return function redirectInterceptor (opts, handler) {\n const { maxRedirections = globalMaxRedirections, ...baseOpts } = opts\n\n if (!maxRedirections) {\n return dispatch(opts, handler)\n }\n\n const redirectHandler = new RedirectHandler(\n dispatch,\n maxRedirections,\n opts,\n handler\n )\n\n return dispatch(baseOpts, redirectHandler)\n }\n }\n}\n","'use strict'\nconst RetryHandler = require('../handler/retry-handler')\n\nmodule.exports = globalOpts => {\n return dispatch => {\n return function retryInterceptor (opts, handler) {\n return dispatch(\n opts,\n new RetryHandler(\n { ...opts, retryOptions: { ...globalOpts, ...opts.retryOptions } },\n {\n handler,\n dispatch\n }\n )\n )\n }\n }\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.SPECIAL_HEADERS = exports.HEADER_STATE = exports.MINOR = exports.MAJOR = exports.CONNECTION_TOKEN_CHARS = exports.HEADER_CHARS = exports.TOKEN = exports.STRICT_TOKEN = exports.HEX = exports.URL_CHAR = exports.STRICT_URL_CHAR = exports.USERINFO_CHARS = exports.MARK = exports.ALPHANUM = exports.NUM = exports.HEX_MAP = exports.NUM_MAP = exports.ALPHA = exports.FINISH = exports.H_METHOD_MAP = exports.METHOD_MAP = exports.METHODS_RTSP = exports.METHODS_ICE = exports.METHODS_HTTP = exports.METHODS = exports.LENIENT_FLAGS = exports.FLAGS = exports.TYPE = exports.ERROR = void 0;\nconst utils_1 = require(\"./utils\");\n// C headers\nvar ERROR;\n(function (ERROR) {\n ERROR[ERROR[\"OK\"] = 0] = \"OK\";\n ERROR[ERROR[\"INTERNAL\"] = 1] = \"INTERNAL\";\n ERROR[ERROR[\"STRICT\"] = 2] = \"STRICT\";\n ERROR[ERROR[\"LF_EXPECTED\"] = 3] = \"LF_EXPECTED\";\n ERROR[ERROR[\"UNEXPECTED_CONTENT_LENGTH\"] = 4] = \"UNEXPECTED_CONTENT_LENGTH\";\n ERROR[ERROR[\"CLOSED_CONNECTION\"] = 5] = \"CLOSED_CONNECTION\";\n ERROR[ERROR[\"INVALID_METHOD\"] = 6] = \"INVALID_METHOD\";\n ERROR[ERROR[\"INVALID_URL\"] = 7] = \"INVALID_URL\";\n ERROR[ERROR[\"INVALID_CONSTANT\"] = 8] = \"INVALID_CONSTANT\";\n ERROR[ERROR[\"INVALID_VERSION\"] = 9] = \"INVALID_VERSION\";\n ERROR[ERROR[\"INVALID_HEADER_TOKEN\"] = 10] = \"INVALID_HEADER_TOKEN\";\n ERROR[ERROR[\"INVALID_CONTENT_LENGTH\"] = 11] = \"INVALID_CONTENT_LENGTH\";\n ERROR[ERROR[\"INVALID_CHUNK_SIZE\"] = 12] = \"INVALID_CHUNK_SIZE\";\n ERROR[ERROR[\"INVALID_STATUS\"] = 13] = \"INVALID_STATUS\";\n ERROR[ERROR[\"INVALID_EOF_STATE\"] = 14] = \"INVALID_EOF_STATE\";\n ERROR[ERROR[\"INVALID_TRANSFER_ENCODING\"] = 15] = \"INVALID_TRANSFER_ENCODING\";\n ERROR[ERROR[\"CB_MESSAGE_BEGIN\"] = 16] = \"CB_MESSAGE_BEGIN\";\n ERROR[ERROR[\"CB_HEADERS_COMPLETE\"] = 17] = \"CB_HEADERS_COMPLETE\";\n ERROR[ERROR[\"CB_MESSAGE_COMPLETE\"] = 18] = \"CB_MESSAGE_COMPLETE\";\n ERROR[ERROR[\"CB_CHUNK_HEADER\"] = 19] = \"CB_CHUNK_HEADER\";\n ERROR[ERROR[\"CB_CHUNK_COMPLETE\"] = 20] = \"CB_CHUNK_COMPLETE\";\n ERROR[ERROR[\"PAUSED\"] = 21] = \"PAUSED\";\n ERROR[ERROR[\"PAUSED_UPGRADE\"] = 22] = \"PAUSED_UPGRADE\";\n ERROR[ERROR[\"PAUSED_H2_UPGRADE\"] = 23] = \"PAUSED_H2_UPGRADE\";\n ERROR[ERROR[\"USER\"] = 24] = \"USER\";\n})(ERROR = exports.ERROR || (exports.ERROR = {}));\nvar TYPE;\n(function (TYPE) {\n TYPE[TYPE[\"BOTH\"] = 0] = \"BOTH\";\n TYPE[TYPE[\"REQUEST\"] = 1] = \"REQUEST\";\n TYPE[TYPE[\"RESPONSE\"] = 2] = \"RESPONSE\";\n})(TYPE = exports.TYPE || (exports.TYPE = {}));\nvar FLAGS;\n(function (FLAGS) {\n FLAGS[FLAGS[\"CONNECTION_KEEP_ALIVE\"] = 1] = \"CONNECTION_KEEP_ALIVE\";\n FLAGS[FLAGS[\"CONNECTION_CLOSE\"] = 2] = \"CONNECTION_CLOSE\";\n FLAGS[FLAGS[\"CONNECTION_UPGRADE\"] = 4] = \"CONNECTION_UPGRADE\";\n FLAGS[FLAGS[\"CHUNKED\"] = 8] = \"CHUNKED\";\n FLAGS[FLAGS[\"UPGRADE\"] = 16] = \"UPGRADE\";\n FLAGS[FLAGS[\"CONTENT_LENGTH\"] = 32] = \"CONTENT_LENGTH\";\n FLAGS[FLAGS[\"SKIPBODY\"] = 64] = \"SKIPBODY\";\n FLAGS[FLAGS[\"TRAILING\"] = 128] = \"TRAILING\";\n // 1 << 8 is unused\n FLAGS[FLAGS[\"TRANSFER_ENCODING\"] = 512] = \"TRANSFER_ENCODING\";\n})(FLAGS = exports.FLAGS || (exports.FLAGS = {}));\nvar LENIENT_FLAGS;\n(function (LENIENT_FLAGS) {\n LENIENT_FLAGS[LENIENT_FLAGS[\"HEADERS\"] = 1] = \"HEADERS\";\n LENIENT_FLAGS[LENIENT_FLAGS[\"CHUNKED_LENGTH\"] = 2] = \"CHUNKED_LENGTH\";\n LENIENT_FLAGS[LENIENT_FLAGS[\"KEEP_ALIVE\"] = 4] = \"KEEP_ALIVE\";\n})(LENIENT_FLAGS = exports.LENIENT_FLAGS || (exports.LENIENT_FLAGS = {}));\nvar METHODS;\n(function (METHODS) {\n METHODS[METHODS[\"DELETE\"] = 0] = \"DELETE\";\n METHODS[METHODS[\"GET\"] = 1] = \"GET\";\n METHODS[METHODS[\"HEAD\"] = 2] = \"HEAD\";\n METHODS[METHODS[\"POST\"] = 3] = \"POST\";\n METHODS[METHODS[\"PUT\"] = 4] = \"PUT\";\n /* pathological */\n METHODS[METHODS[\"CONNECT\"] = 5] = \"CONNECT\";\n METHODS[METHODS[\"OPTIONS\"] = 6] = \"OPTIONS\";\n METHODS[METHODS[\"TRACE\"] = 7] = \"TRACE\";\n /* WebDAV */\n METHODS[METHODS[\"COPY\"] = 8] = \"COPY\";\n METHODS[METHODS[\"LOCK\"] = 9] = \"LOCK\";\n METHODS[METHODS[\"MKCOL\"] = 10] = \"MKCOL\";\n METHODS[METHODS[\"MOVE\"] = 11] = \"MOVE\";\n METHODS[METHODS[\"PROPFIND\"] = 12] = \"PROPFIND\";\n METHODS[METHODS[\"PROPPATCH\"] = 13] = \"PROPPATCH\";\n METHODS[METHODS[\"SEARCH\"] = 14] = \"SEARCH\";\n METHODS[METHODS[\"UNLOCK\"] = 15] = \"UNLOCK\";\n METHODS[METHODS[\"BIND\"] = 16] = \"BIND\";\n METHODS[METHODS[\"REBIND\"] = 17] = \"REBIND\";\n METHODS[METHODS[\"UNBIND\"] = 18] = \"UNBIND\";\n METHODS[METHODS[\"ACL\"] = 19] = \"ACL\";\n /* subversion */\n METHODS[METHODS[\"REPORT\"] = 20] = \"REPORT\";\n METHODS[METHODS[\"MKACTIVITY\"] = 21] = \"MKACTIVITY\";\n METHODS[METHODS[\"CHECKOUT\"] = 22] = \"CHECKOUT\";\n METHODS[METHODS[\"MERGE\"] = 23] = \"MERGE\";\n /* upnp */\n METHODS[METHODS[\"M-SEARCH\"] = 24] = \"M-SEARCH\";\n METHODS[METHODS[\"NOTIFY\"] = 25] = \"NOTIFY\";\n METHODS[METHODS[\"SUBSCRIBE\"] = 26] = \"SUBSCRIBE\";\n METHODS[METHODS[\"UNSUBSCRIBE\"] = 27] = \"UNSUBSCRIBE\";\n /* RFC-5789 */\n METHODS[METHODS[\"PATCH\"] = 28] = \"PATCH\";\n METHODS[METHODS[\"PURGE\"] = 29] = \"PURGE\";\n /* CalDAV */\n METHODS[METHODS[\"MKCALENDAR\"] = 30] = \"MKCALENDAR\";\n /* RFC-2068, section 19.6.1.2 */\n METHODS[METHODS[\"LINK\"] = 31] = \"LINK\";\n METHODS[METHODS[\"UNLINK\"] = 32] = \"UNLINK\";\n /* icecast */\n METHODS[METHODS[\"SOURCE\"] = 33] = \"SOURCE\";\n /* RFC-7540, section 11.6 */\n METHODS[METHODS[\"PRI\"] = 34] = \"PRI\";\n /* RFC-2326 RTSP */\n METHODS[METHODS[\"DESCRIBE\"] = 35] = \"DESCRIBE\";\n METHODS[METHODS[\"ANNOUNCE\"] = 36] = \"ANNOUNCE\";\n METHODS[METHODS[\"SETUP\"] = 37] = \"SETUP\";\n METHODS[METHODS[\"PLAY\"] = 38] = \"PLAY\";\n METHODS[METHODS[\"PAUSE\"] = 39] = \"PAUSE\";\n METHODS[METHODS[\"TEARDOWN\"] = 40] = \"TEARDOWN\";\n METHODS[METHODS[\"GET_PARAMETER\"] = 41] = \"GET_PARAMETER\";\n METHODS[METHODS[\"SET_PARAMETER\"] = 42] = \"SET_PARAMETER\";\n METHODS[METHODS[\"REDIRECT\"] = 43] = \"REDIRECT\";\n METHODS[METHODS[\"RECORD\"] = 44] = \"RECORD\";\n /* RAOP */\n METHODS[METHODS[\"FLUSH\"] = 45] = \"FLUSH\";\n})(METHODS = exports.METHODS || (exports.METHODS = {}));\nexports.METHODS_HTTP = [\n METHODS.DELETE,\n METHODS.GET,\n METHODS.HEAD,\n METHODS.POST,\n METHODS.PUT,\n METHODS.CONNECT,\n METHODS.OPTIONS,\n METHODS.TRACE,\n METHODS.COPY,\n METHODS.LOCK,\n METHODS.MKCOL,\n METHODS.MOVE,\n METHODS.PROPFIND,\n METHODS.PROPPATCH,\n METHODS.SEARCH,\n METHODS.UNLOCK,\n METHODS.BIND,\n METHODS.REBIND,\n METHODS.UNBIND,\n METHODS.ACL,\n METHODS.REPORT,\n METHODS.MKACTIVITY,\n METHODS.CHECKOUT,\n METHODS.MERGE,\n METHODS['M-SEARCH'],\n METHODS.NOTIFY,\n METHODS.SUBSCRIBE,\n METHODS.UNSUBSCRIBE,\n METHODS.PATCH,\n METHODS.PURGE,\n METHODS.MKCALENDAR,\n METHODS.LINK,\n METHODS.UNLINK,\n METHODS.PRI,\n // TODO(indutny): should we allow it with HTTP?\n METHODS.SOURCE,\n];\nexports.METHODS_ICE = [\n METHODS.SOURCE,\n];\nexports.METHODS_RTSP = [\n METHODS.OPTIONS,\n METHODS.DESCRIBE,\n METHODS.ANNOUNCE,\n METHODS.SETUP,\n METHODS.PLAY,\n METHODS.PAUSE,\n METHODS.TEARDOWN,\n METHODS.GET_PARAMETER,\n METHODS.SET_PARAMETER,\n METHODS.REDIRECT,\n METHODS.RECORD,\n METHODS.FLUSH,\n // For AirPlay\n METHODS.GET,\n METHODS.POST,\n];\nexports.METHOD_MAP = utils_1.enumToMap(METHODS);\nexports.H_METHOD_MAP = {};\nObject.keys(exports.METHOD_MAP).forEach((key) => {\n if (/^H/.test(key)) {\n exports.H_METHOD_MAP[key] = exports.METHOD_MAP[key];\n }\n});\nvar FINISH;\n(function (FINISH) {\n FINISH[FINISH[\"SAFE\"] = 0] = \"SAFE\";\n FINISH[FINISH[\"SAFE_WITH_CB\"] = 1] = \"SAFE_WITH_CB\";\n FINISH[FINISH[\"UNSAFE\"] = 2] = \"UNSAFE\";\n})(FINISH = exports.FINISH || (exports.FINISH = {}));\nexports.ALPHA = [];\nfor (let i = 'A'.charCodeAt(0); i <= 'Z'.charCodeAt(0); i++) {\n // Upper case\n exports.ALPHA.push(String.fromCharCode(i));\n // Lower case\n exports.ALPHA.push(String.fromCharCode(i + 0x20));\n}\nexports.NUM_MAP = {\n 0: 0, 1: 1, 2: 2, 3: 3, 4: 4,\n 5: 5, 6: 6, 7: 7, 8: 8, 9: 9,\n};\nexports.HEX_MAP = {\n 0: 0, 1: 1, 2: 2, 3: 3, 4: 4,\n 5: 5, 6: 6, 7: 7, 8: 8, 9: 9,\n A: 0XA, B: 0XB, C: 0XC, D: 0XD, E: 0XE, F: 0XF,\n a: 0xa, b: 0xb, c: 0xc, d: 0xd, e: 0xe, f: 0xf,\n};\nexports.NUM = [\n '0', '1', '2', '3', '4', '5', '6', '7', '8', '9',\n];\nexports.ALPHANUM = exports.ALPHA.concat(exports.NUM);\nexports.MARK = ['-', '_', '.', '!', '~', '*', '\\'', '(', ')'];\nexports.USERINFO_CHARS = exports.ALPHANUM\n .concat(exports.MARK)\n .concat(['%', ';', ':', '&', '=', '+', '$', ',']);\n// TODO(indutny): use RFC\nexports.STRICT_URL_CHAR = [\n '!', '\"', '$', '%', '&', '\\'',\n '(', ')', '*', '+', ',', '-', '.', '/',\n ':', ';', '<', '=', '>',\n '@', '[', '\\\\', ']', '^', '_',\n '`',\n '{', '|', '}', '~',\n].concat(exports.ALPHANUM);\nexports.URL_CHAR = exports.STRICT_URL_CHAR\n .concat(['\\t', '\\f']);\n// All characters with 0x80 bit set to 1\nfor (let i = 0x80; i <= 0xff; i++) {\n exports.URL_CHAR.push(i);\n}\nexports.HEX = exports.NUM.concat(['a', 'b', 'c', 'd', 'e', 'f', 'A', 'B', 'C', 'D', 'E', 'F']);\n/* Tokens as defined by rfc 2616. Also lowercases them.\n * token = 1*\n * separators = \"(\" | \")\" | \"<\" | \">\" | \"@\"\n * | \",\" | \";\" | \":\" | \"\\\" | <\">\n * | \"/\" | \"[\" | \"]\" | \"?\" | \"=\"\n * | \"{\" | \"}\" | SP | HT\n */\nexports.STRICT_TOKEN = [\n '!', '#', '$', '%', '&', '\\'',\n '*', '+', '-', '.',\n '^', '_', '`',\n '|', '~',\n].concat(exports.ALPHANUM);\nexports.TOKEN = exports.STRICT_TOKEN.concat([' ']);\n/*\n * Verify that a char is a valid visible (printable) US-ASCII\n * character or %x80-FF\n */\nexports.HEADER_CHARS = ['\\t'];\nfor (let i = 32; i <= 255; i++) {\n if (i !== 127) {\n exports.HEADER_CHARS.push(i);\n }\n}\n// ',' = \\x44\nexports.CONNECTION_TOKEN_CHARS = exports.HEADER_CHARS.filter((c) => c !== 44);\nexports.MAJOR = exports.NUM_MAP;\nexports.MINOR = exports.MAJOR;\nvar HEADER_STATE;\n(function (HEADER_STATE) {\n HEADER_STATE[HEADER_STATE[\"GENERAL\"] = 0] = \"GENERAL\";\n HEADER_STATE[HEADER_STATE[\"CONNECTION\"] = 1] = \"CONNECTION\";\n HEADER_STATE[HEADER_STATE[\"CONTENT_LENGTH\"] = 2] = \"CONTENT_LENGTH\";\n HEADER_STATE[HEADER_STATE[\"TRANSFER_ENCODING\"] = 3] = \"TRANSFER_ENCODING\";\n HEADER_STATE[HEADER_STATE[\"UPGRADE\"] = 4] = \"UPGRADE\";\n HEADER_STATE[HEADER_STATE[\"CONNECTION_KEEP_ALIVE\"] = 5] = \"CONNECTION_KEEP_ALIVE\";\n HEADER_STATE[HEADER_STATE[\"CONNECTION_CLOSE\"] = 6] = \"CONNECTION_CLOSE\";\n HEADER_STATE[HEADER_STATE[\"CONNECTION_UPGRADE\"] = 7] = \"CONNECTION_UPGRADE\";\n HEADER_STATE[HEADER_STATE[\"TRANSFER_ENCODING_CHUNKED\"] = 8] = \"TRANSFER_ENCODING_CHUNKED\";\n})(HEADER_STATE = exports.HEADER_STATE || (exports.HEADER_STATE = {}));\nexports.SPECIAL_HEADERS = {\n 'connection': HEADER_STATE.CONNECTION,\n 'content-length': HEADER_STATE.CONTENT_LENGTH,\n 'proxy-connection': HEADER_STATE.CONNECTION,\n 'transfer-encoding': HEADER_STATE.TRANSFER_ENCODING,\n 'upgrade': HEADER_STATE.UPGRADE,\n};\n//# sourceMappingURL=constants.js.map","'use strict'\n\nconst { Buffer } = require('node:buffer')\n\nmodule.exports = Buffer.from('AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAX8AYAJ/fwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAy0sBQYAAAIAAAAAAAACAQIAAgICAAADAAAAAAMDA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AEQJSIARQ0OIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJBADYCACAGQQFqIQEgAi0AKSIAQSNrQQtJDQQCQCAAQQZLDQBBASAAdEHKAHFFDQAMBQtBACEDIAJBADYCHCACIAE2AhQgA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AEIAFBAWoiAUcNAAsgAiAFNgIADLACCyACQQA2AgAgBkEBaiEBQRAMcwtB/gAhAyABIARGDa4CIAIoAgAiACAEIAFraiEFIAEgAGtBBWohBgJAA0AgAS0AACAAQfbOAGotAABHDXEgAEEFRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADK8CCyACQQA2AgAgBkEBaiEBQRYMcgtB/wAhAyABIARGDa0CIAIoAgAiACAEIAFraiEFIAEgAGtBA2ohBgJAA0AgAS0AACAAQfzOAGotAABHDXAgAEEDRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADK4CCyACQQA2AgAgBkEBaiEBQQUMcQsgASAERgRAQYABIQMMrQILIAEtAABB2QBHDW4gAUEBaiEBQQgMcAsgASAERgRAQYEBIQMMrAILAkACQCABLQAAQc4Aaw4DAG8BbwsgAUEBaiEBQesAIQMMkwILIAFBAWohAUHsACEDDJICCyABIARGBEBBggEhAwyrAgsCQAJAIAEtAABByABrDggAbm5ubm5uAW4LIAFBAWohAUHqACEDDJICCyABQQFqIQFB7QAhAwyRAgtBgwEhAyABIARGDakCIAIoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQYDPAGotAABHDWwgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKoCCyACQQA2AgAgBkEBaiEBQQAMbQtBhAEhAyABIARGDagCIAIoAgAiACAEIAFraiEFIAEgAGtBBGohBgJAA0AgAS0AACAAQYPPAGotAABHDWsgAEEERg0BIABBAWohACAEIAFBAWoiAUcNAAsgAiAFNgIADKkCCyACQQA2AgAgBkEBaiEBQSMMbAsgASAERgRAQYUBIQMMqAILAkACQCABLQAAQcwAaw4IAGtra2trawFrCyABQQFqIQFB7wAhAwyPAgsgAUEBaiEBQfAAIQMMjgILIAEgBEYEQEGGASEDDKcCCyABLQAAQcUARw1oIAFBAWohAQxgC0GHASEDIAEgBEYNpQIgAigCACIAIAQgAWtqIQUgASAAa0EDaiEGAkADQCABL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QhACACQQA2AgQgAiAAIAEQJSIARQ0iIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMsgELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0OIAJB5QA2AhwgAiABNgIUIAIgADYCDEEAIQMMsQELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0dIAJB0wA2AhwgAiABNgIUIAIgADYCDEEAIQMMsAELIAIoAgQhACACQQA2AgQgAiAAIAEQJSIARQ0fIAJB0gA2AhwgAiABNgIUIAIgADYCDEEAIQMMrwELIABBP0cNASABQQFqCyEBQQUhAwyUAQtBACEDIAJBADYCHCACIAE2AhQgAkH9EjYCECACQQc2AgwMrAELIAJBADYCHCACIAE2AhQgAkHcCDYCECACQQc2AgxBACEDDKsBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNByACQeUANgIcIAIgATYCFCACIAA2AgxBACEDDKoBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNFiACQdMANgIcIAIgATYCFCACIAA2AgxBACEDDKkBCyACKAIEIQAgAkEANgIEIAIgACABECUiAEUNGCACQdIANgIcIAIgATYCFCACIAA2AgxBACEDDKgBCyACQQA2AhwgAiABNgIUIAJBxgo2AhAgAkEHNgIMQQAhAwynAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQMgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwymAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRIgAkHTADYCHCACIAE2AhQgAiAANgIMQQAhAwylAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDRQgAkHSADYCHCACIAE2AhQgAiAANgIMQQAhAwykAQsgAigCBCEAIAJBADYCBCACIAAgARAlIgBFDQAgAkHlADYCHCACIAE2AhQgAiAANgIMQQAhAwyjAQtB1QAhAwyJAQsgAEEVRwRAIAJBADYCHCACIAE2AhQgAkG5DTYCECACQRo2AgxBACEDDKIBCyACQeQANgIcIAIgATYCFCACQeMXNgIQIAJBFTYCDEEAIQMMoQELIAJ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EBAQEBAQEBAQEBAQEBAQEBAQEBAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQBB+sgACwQBAAACAEGQyQALXwMEAAAEBAQEBAQEBAQEBAUEBAQEBAQEBAQEBAQABAAGBwQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAAEAAQABAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQAAAAEAEH6ygALBAEAAAEAQZDLAAsBAQBBqssAC0ECAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBB+swACwQBAAABAEGQzQALAQEAQZrNAAsGAgAAAAACAEGxzQALOgMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQfDOAAuWAU5PVU5DRUVDS09VVE5FQ1RFVEVDUklCRUxVU0hFVEVBRFNFQVJDSFJHRUNUSVZJVFlMRU5EQVJWRU9USUZZUFRJT05TQ0hTRUFZU1RBVENIR0VPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFSFRUUC9BRFRQLw==', 'base64')\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.enumToMap = void 0;\nfunction enumToMap(obj) {\n const res = {};\n Object.keys(obj).forEach((key) => {\n const value = obj[key];\n if (typeof value === 'number') {\n res[key] = value;\n }\n });\n return res;\n}\nexports.enumToMap = enumToMap;\n//# sourceMappingURL=utils.js.map","'use strict'\n\nconst { kClients } = require('../core/symbols')\nconst Agent = require('../dispatcher/agent')\nconst {\n kAgent,\n kMockAgentSet,\n kMockAgentGet,\n kDispatches,\n kIsMockActive,\n kNetConnect,\n kGetNetConnect,\n kOptions,\n kFactory\n} = require('./mock-symbols')\nconst MockClient = require('./mock-client')\nconst MockPool = require('./mock-pool')\nconst { matchValue, buildMockOptions } = require('./mock-utils')\nconst { InvalidArgumentError, UndiciError } = require('../core/errors')\nconst Dispatcher = require('../dispatcher/dispatcher')\nconst Pluralizer = require('./pluralizer')\nconst PendingInterceptorsFormatter = require('./pending-interceptors-formatter')\n\nclass MockAgent extends Dispatcher {\n constructor (opts) {\n super(opts)\n\n this[kNetConnect] = true\n this[kIsMockActive] = true\n\n // Instantiate Agent and encapsulate\n if ((opts?.agent && typeof opts.agent.dispatch !== 'function')) {\n throw new InvalidArgumentError('Argument opts.agent must implement Agent')\n }\n const agent = opts?.agent ? opts.agent : new Agent(opts)\n this[kAgent] = agent\n\n this[kClients] = agent[kClients]\n this[kOptions] = buildMockOptions(opts)\n }\n\n get (origin) {\n let dispatcher = this[kMockAgentGet](origin)\n\n if (!dispatcher) {\n dispatcher = this[kFactory](origin)\n this[kMockAgentSet](origin, dispatcher)\n }\n return dispatcher\n }\n\n dispatch (opts, handler) {\n // Call MockAgent.get to perform additional setup before dispatching as normal\n this.get(opts.origin)\n return this[kAgent].dispatch(opts, handler)\n }\n\n async close () {\n await this[kAgent].close()\n this[kClients].clear()\n }\n\n deactivate () {\n this[kIsMockActive] = false\n }\n\n activate () {\n this[kIsMockActive] = true\n }\n\n enableNetConnect (matcher) {\n if (typeof matcher === 'string' || typeof matcher === 'function' || matcher instanceof RegExp) {\n if (Array.isArray(this[kNetConnect])) {\n this[kNetConnect].push(matcher)\n } else {\n this[kNetConnect] = [matcher]\n }\n } else if (typeof matcher === 'undefined') {\n this[kNetConnect] = true\n } else {\n throw new InvalidArgumentError('Unsupported matcher. Must be one of String|Function|RegExp.')\n }\n }\n\n disableNetConnect () {\n this[kNetConnect] = false\n }\n\n // This is required to bypass issues caused by using global symbols - see:\n // https://github.com/nodejs/undici/issues/1447\n get isMockActive () {\n return this[kIsMockActive]\n }\n\n [kMockAgentSet] (origin, dispatcher) {\n this[kClients].set(origin, dispatcher)\n }\n\n [kFactory] (origin) {\n const mockOptions = Object.assign({ agent: this }, this[kOptions])\n return this[kOptions] && this[kOptions].connections === 1\n ? new MockClient(origin, mockOptions)\n : new MockPool(origin, mockOptions)\n }\n\n [kMockAgentGet] (origin) {\n // First check if we can immediately find it\n const client = this[kClients].get(origin)\n if (client) {\n return client\n }\n\n // If the origin is not a string create a dummy parent pool and return to user\n if (typeof origin !== 'string') {\n const dispatcher = this[kFactory]('http://localhost:9999')\n this[kMockAgentSet](origin, dispatcher)\n return dispatcher\n }\n\n // If we match, create a pool and assign the same dispatches\n for (const [keyMatcher, nonExplicitDispatcher] of Array.from(this[kClients])) {\n if (nonExplicitDispatcher && typeof keyMatcher !== 'string' && matchValue(keyMatcher, origin)) {\n const dispatcher = this[kFactory](origin)\n this[kMockAgentSet](origin, dispatcher)\n dispatcher[kDispatches] = nonExplicitDispatcher[kDispatches]\n return dispatcher\n }\n }\n }\n\n [kGetNetConnect] () {\n return this[kNetConnect]\n }\n\n pendingInterceptors () {\n const mockAgentClients = this[kClients]\n\n return Array.from(mockAgentClients.entries())\n .flatMap(([origin, scope]) => scope[kDispatches].map(dispatch => ({ ...dispatch, origin })))\n .filter(({ pending }) => pending)\n }\n\n assertNoPendingInterceptors ({ pendingInterceptorsFormatter = new PendingInterceptorsFormatter() } = {}) {\n const pending = this.pendingInterceptors()\n\n if (pending.length === 0) {\n return\n }\n\n const pluralizer = new Pluralizer('interceptor', 'interceptors').pluralize(pending.length)\n\n throw new UndiciError(`\n${pluralizer.count} ${pluralizer.noun} ${pluralizer.is} pending:\n\n${pendingInterceptorsFormatter.format(pending)}\n`.trim())\n }\n}\n\nmodule.exports = MockAgent\n","'use strict'\n\nconst { promisify } = require('node:util')\nconst Client = require('../dispatcher/client')\nconst { buildMockDispatch } = require('./mock-utils')\nconst {\n kDispatches,\n kMockAgent,\n kClose,\n kOriginalClose,\n kOrigin,\n kOriginalDispatch,\n kConnected\n} = require('./mock-symbols')\nconst { MockInterceptor } = require('./mock-interceptor')\nconst Symbols = require('../core/symbols')\nconst { InvalidArgumentError } = require('../core/errors')\n\n/**\n * MockClient provides an API that extends the Client to influence the mockDispatches.\n */\nclass MockClient extends Client {\n constructor (origin, opts) {\n super(origin, opts)\n\n if (!opts || !opts.agent || typeof opts.agent.dispatch !== 'function') {\n throw new InvalidArgumentError('Argument opts.agent must implement Agent')\n }\n\n this[kMockAgent] = opts.agent\n this[kOrigin] = origin\n this[kDispatches] = []\n this[kConnected] = 1\n this[kOriginalDispatch] = this.dispatch\n this[kOriginalClose] = this.close.bind(this)\n\n this.dispatch = buildMockDispatch.call(this)\n this.close = this[kClose]\n }\n\n get [Symbols.kConnected] () {\n return this[kConnected]\n }\n\n /**\n * Sets up the base interceptor for mocking replies from undici.\n */\n intercept (opts) {\n return new MockInterceptor(opts, this[kDispatches])\n }\n\n async [kClose] () {\n await promisify(this[kOriginalClose])()\n this[kConnected] = 0\n this[kMockAgent][Symbols.kClients].delete(this[kOrigin])\n }\n}\n\nmodule.exports = MockClient\n","'use strict'\n\nconst { UndiciError } = require('../core/errors')\n\nconst kMockNotMatchedError = Symbol.for('undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED')\n\n/**\n * The request does not match any registered mock dispatches.\n */\nclass MockNotMatchedError extends UndiciError {\n constructor (message) {\n super(message)\n Error.captureStackTrace(this, MockNotMatchedError)\n this.name = 'MockNotMatchedError'\n this.message = message || 'The request does not match any registered mock dispatches'\n this.code = 'UND_MOCK_ERR_MOCK_NOT_MATCHED'\n }\n\n static [Symbol.hasInstance] (instance) {\n return instance && instance[kMockNotMatchedError] === true\n }\n\n [kMockNotMatchedError] = true\n}\n\nmodule.exports = {\n MockNotMatchedError\n}\n","'use strict'\n\nconst { getResponseData, buildKey, addMockDispatch } = require('./mock-utils')\nconst {\n kDispatches,\n kDispatchKey,\n kDefaultHeaders,\n kDefaultTrailers,\n kContentLength,\n kMockDispatch\n} = require('./mock-symbols')\nconst { InvalidArgumentError } = require('../core/errors')\nconst { buildURL } = require('../core/util')\n\n/**\n * Defines the scope API for an interceptor reply\n */\nclass MockScope {\n constructor (mockDispatch) {\n this[kMockDispatch] = mockDispatch\n }\n\n /**\n * Delay a reply by a set amount in ms.\n */\n delay (waitInMs) {\n if (typeof waitInMs !== 'number' || !Number.isInteger(waitInMs) || waitInMs <= 0) {\n throw new InvalidArgumentError('waitInMs must be a valid integer > 0')\n }\n\n this[kMockDispatch].delay = waitInMs\n return this\n }\n\n /**\n * For a defined reply, never mark as consumed.\n */\n persist () {\n this[kMockDispatch].persist = true\n return this\n }\n\n /**\n * Allow one to define a reply for a set amount of matching requests.\n */\n times (repeatTimes) {\n if (typeof repeatTimes !== 'number' || !Number.isInteger(repeatTimes) || repeatTimes <= 0) {\n throw new InvalidArgumentError('repeatTimes must be a valid integer > 0')\n }\n\n this[kMockDispatch].times = repeatTimes\n return this\n }\n}\n\n/**\n * Defines an interceptor for a Mock\n */\nclass MockInterceptor {\n constructor (opts, mockDispatches) {\n if (typeof opts !== 'object') {\n throw new InvalidArgumentError('opts must be an object')\n }\n if (typeof opts.path === 'undefined') {\n throw new InvalidArgumentError('opts.path must be defined')\n }\n if (typeof opts.method === 'undefined') {\n opts.method = 'GET'\n }\n // See https://github.com/nodejs/undici/issues/1245\n // As per RFC 3986, clients are not supposed to send URI\n // fragments to servers when they retrieve a document,\n if (typeof opts.path === 'string') {\n if (opts.query) {\n opts.path = buildURL(opts.path, opts.query)\n } else {\n // Matches https://github.com/nodejs/undici/blob/main/lib/web/fetch/index.js#L1811\n const parsedURL = new URL(opts.path, 'data://')\n opts.path = parsedURL.pathname + parsedURL.search\n }\n }\n if (typeof opts.method === 'string') {\n opts.method = opts.method.toUpperCase()\n }\n\n this[kDispatchKey] = buildKey(opts)\n this[kDispatches] = mockDispatches\n this[kDefaultHeaders] = {}\n this[kDefaultTrailers] = {}\n this[kContentLength] = false\n }\n\n createMockScopeDispatchData ({ statusCode, data, responseOptions }) {\n const responseData = getResponseData(data)\n const contentLength = this[kContentLength] ? { 'content-length': responseData.length } : {}\n const headers = { ...this[kDefaultHeaders], ...contentLength, ...responseOptions.headers }\n const trailers = { ...this[kDefaultTrailers], ...responseOptions.trailers }\n\n return { statusCode, data, headers, trailers }\n }\n\n validateReplyParameters (replyParameters) {\n if (typeof replyParameters.statusCode === 'undefined') {\n throw new InvalidArgumentError('statusCode must be defined')\n }\n if (typeof replyParameters.responseOptions !== 'object' || replyParameters.responseOptions === null) {\n throw new InvalidArgumentError('responseOptions must be an object')\n }\n }\n\n /**\n * Mock an undici request with a defined reply.\n */\n reply (replyOptionsCallbackOrStatusCode) {\n // Values of reply aren't available right now as they\n // can only be available when the reply callback is invoked.\n if (typeof replyOptionsCallbackOrStatusCode === 'function') {\n // We'll first wrap the provided callback in another function,\n // this function will properly resolve the data from the callback\n // when invoked.\n const wrappedDefaultsCallback = (opts) => {\n // Our reply options callback contains the parameter for statusCode, data and options.\n const resolvedData = replyOptionsCallbackOrStatusCode(opts)\n\n // Check if it is in the right format\n if (typeof resolvedData !== 'object' || resolvedData === null) {\n throw new InvalidArgumentError('reply options callback must return an object')\n }\n\n const replyParameters = { data: '', responseOptions: {}, ...resolvedData }\n this.validateReplyParameters(replyParameters)\n // Since the values can be obtained immediately we return them\n // from this higher order function that will be resolved later.\n return {\n ...this.createMockScopeDispatchData(replyParameters)\n }\n }\n\n // Add usual dispatch data, but this time set the data parameter to function that will eventually provide data.\n const newMockDispatch = addMockDispatch(this[kDispatches], this[kDispatchKey], wrappedDefaultsCallback)\n return new MockScope(newMockDispatch)\n }\n\n // We can have either one or three parameters, if we get here,\n // we should have 1-3 parameters. So we spread the arguments of\n // this function to obtain the parameters, since replyData will always\n // just be the statusCode.\n const replyParameters = {\n statusCode: replyOptionsCallbackOrStatusCode,\n data: arguments[1] === undefined ? '' : arguments[1],\n responseOptions: arguments[2] === undefined ? {} : arguments[2]\n }\n this.validateReplyParameters(replyParameters)\n\n // Send in-already provided data like usual\n const dispatchData = this.createMockScopeDispatchData(replyParameters)\n const newMockDispatch = addMockDispatch(this[kDispatches], this[kDispatchKey], dispatchData)\n return new MockScope(newMockDispatch)\n }\n\n /**\n * Mock an undici request with a defined error.\n */\n replyWithError (error) {\n if (typeof error === 'undefined') {\n throw new InvalidArgumentError('error must be defined')\n }\n\n const newMockDispatch = addMockDispatch(this[kDispatches], this[kDispatchKey], { error })\n return new MockScope(newMockDispatch)\n }\n\n /**\n * Set default reply headers on the interceptor for subsequent replies\n */\n defaultReplyHeaders (headers) {\n if (typeof headers === 'undefined') {\n throw new InvalidArgumentError('headers must be defined')\n }\n\n this[kDefaultHeaders] = headers\n return this\n }\n\n /**\n * Set default reply trailers on the interceptor for subsequent replies\n */\n defaultReplyTrailers (trailers) {\n if (typeof trailers === 'undefined') {\n throw new InvalidArgumentError('trailers must be defined')\n }\n\n this[kDefaultTrailers] = trailers\n return this\n }\n\n /**\n * Set reply content length header for replies on the interceptor\n */\n replyContentLength () {\n this[kContentLength] = true\n return this\n }\n}\n\nmodule.exports.MockInterceptor = MockInterceptor\nmodule.exports.MockScope = MockScope\n","'use strict'\n\nconst { promisify } = require('node:util')\nconst Pool = require('../dispatcher/pool')\nconst { buildMockDispatch } = require('./mock-utils')\nconst {\n kDispatches,\n kMockAgent,\n kClose,\n kOriginalClose,\n kOrigin,\n kOriginalDispatch,\n kConnected\n} = require('./mock-symbols')\nconst { MockInterceptor } = require('./mock-interceptor')\nconst Symbols = require('../core/symbols')\nconst { InvalidArgumentError } = require('../core/errors')\n\n/**\n * MockPool provides an API that extends the Pool to influence the mockDispatches.\n */\nclass MockPool extends Pool {\n constructor (origin, opts) {\n super(origin, opts)\n\n if (!opts || !opts.agent || typeof opts.agent.dispatch !== 'function') {\n throw new InvalidArgumentError('Argument opts.agent must implement Agent')\n }\n\n this[kMockAgent] = opts.agent\n this[kOrigin] = origin\n this[kDispatches] = []\n this[kConnected] = 1\n this[kOriginalDispatch] = this.dispatch\n this[kOriginalClose] = this.close.bind(this)\n\n this.dispatch = buildMockDispatch.call(this)\n this.close = this[kClose]\n }\n\n get [Symbols.kConnected] () {\n return this[kConnected]\n }\n\n /**\n * Sets up the base interceptor for mocking replies from undici.\n */\n intercept (opts) {\n return new MockInterceptor(opts, this[kDispatches])\n }\n\n async [kClose] () {\n await promisify(this[kOriginalClose])()\n this[kConnected] = 0\n this[kMockAgent][Symbols.kClients].delete(this[kOrigin])\n }\n}\n\nmodule.exports = MockPool\n","'use strict'\n\nmodule.exports = {\n kAgent: Symbol('agent'),\n kOptions: Symbol('options'),\n kFactory: Symbol('factory'),\n kDispatches: Symbol('dispatches'),\n kDispatchKey: Symbol('dispatch key'),\n kDefaultHeaders: Symbol('default headers'),\n kDefaultTrailers: Symbol('default trailers'),\n kContentLength: Symbol('content length'),\n kMockAgent: Symbol('mock agent'),\n kMockAgentSet: Symbol('mock agent set'),\n kMockAgentGet: Symbol('mock agent get'),\n kMockDispatch: Symbol('mock dispatch'),\n kClose: Symbol('close'),\n kOriginalClose: Symbol('original agent close'),\n kOrigin: Symbol('origin'),\n kIsMockActive: Symbol('is mock active'),\n kNetConnect: Symbol('net connect'),\n kGetNetConnect: Symbol('get net connect'),\n kConnected: Symbol('connected')\n}\n","'use strict'\n\nconst { MockNotMatchedError } = require('./mock-errors')\nconst {\n kDispatches,\n kMockAgent,\n kOriginalDispatch,\n kOrigin,\n kGetNetConnect\n} = require('./mock-symbols')\nconst { buildURL } = require('../core/util')\nconst { STATUS_CODES } = require('node:http')\nconst {\n types: {\n isPromise\n }\n} = require('node:util')\n\nfunction matchValue (match, value) {\n if (typeof match === 'string') {\n return match === value\n }\n if (match instanceof RegExp) {\n return match.test(value)\n }\n if (typeof match === 'function') {\n return match(value) === true\n }\n return false\n}\n\nfunction lowerCaseEntries (headers) {\n return Object.fromEntries(\n Object.entries(headers).map(([headerName, headerValue]) => {\n return [headerName.toLocaleLowerCase(), headerValue]\n })\n )\n}\n\n/**\n * @param {import('../../index').Headers|string[]|Record} headers\n * @param {string} key\n */\nfunction getHeaderByName (headers, key) {\n if (Array.isArray(headers)) {\n for (let i = 0; i < headers.length; i += 2) {\n if (headers[i].toLocaleLowerCase() === key.toLocaleLowerCase()) {\n return headers[i + 1]\n }\n }\n\n return undefined\n } else if (typeof headers.get === 'function') {\n return headers.get(key)\n } else {\n return lowerCaseEntries(headers)[key.toLocaleLowerCase()]\n }\n}\n\n/** @param {string[]} headers */\nfunction buildHeadersFromArray (headers) { // fetch HeadersList\n const clone = headers.slice()\n const entries = []\n for (let index = 0; index < clone.length; index += 2) {\n entries.push([clone[index], clone[index + 1]])\n }\n return Object.fromEntries(entries)\n}\n\nfunction matchHeaders (mockDispatch, headers) {\n if (typeof mockDispatch.headers === 'function') {\n if (Array.isArray(headers)) { // fetch HeadersList\n headers = buildHeadersFromArray(headers)\n }\n return mockDispatch.headers(headers ? lowerCaseEntries(headers) : {})\n }\n if (typeof mockDispatch.headers === 'undefined') {\n return true\n }\n if (typeof headers !== 'object' || typeof mockDispatch.headers !== 'object') {\n return false\n }\n\n for (const [matchHeaderName, matchHeaderValue] of Object.entries(mockDispatch.headers)) {\n const headerValue = getHeaderByName(headers, matchHeaderName)\n\n if (!matchValue(matchHeaderValue, headerValue)) {\n return false\n }\n }\n return true\n}\n\nfunction safeUrl (path) {\n if (typeof path !== 'string') {\n return path\n }\n\n const pathSegments = path.split('?')\n\n if (pathSegments.length !== 2) {\n return path\n }\n\n const qp = new URLSearchParams(pathSegments.pop())\n qp.sort()\n return [...pathSegments, qp.toString()].join('?')\n}\n\nfunction matchKey (mockDispatch, { path, method, body, headers }) {\n const pathMatch = matchValue(mockDispatch.path, path)\n const methodMatch = matchValue(mockDispatch.method, method)\n const bodyMatch = typeof mockDispatch.body !== 'undefined' ? matchValue(mockDispatch.body, body) : true\n const headersMatch = matchHeaders(mockDispatch, headers)\n return pathMatch && methodMatch && bodyMatch && headersMatch\n}\n\nfunction getResponseData (data) {\n if (Buffer.isBuffer(data)) {\n return data\n } else if (data instanceof Uint8Array) {\n return data\n } else if (data instanceof ArrayBuffer) {\n return data\n } else if (typeof data === 'object') {\n return JSON.stringify(data)\n } else {\n return data.toString()\n }\n}\n\nfunction getMockDispatch (mockDispatches, key) {\n const basePath = key.query ? buildURL(key.path, key.query) : key.path\n const resolvedPath = typeof basePath === 'string' ? safeUrl(basePath) : basePath\n\n // Match path\n let matchedMockDispatches = mockDispatches.filter(({ consumed }) => !consumed).filter(({ path }) => matchValue(safeUrl(path), resolvedPath))\n if (matchedMockDispatches.length === 0) {\n throw new MockNotMatchedError(`Mock dispatch not matched for path '${resolvedPath}'`)\n }\n\n // Match method\n matchedMockDispatches = matchedMockDispatches.filter(({ method }) => matchValue(method, key.method))\n if (matchedMockDispatches.length === 0) {\n throw new MockNotMatchedError(`Mock dispatch not matched for method '${key.method}' on path '${resolvedPath}'`)\n }\n\n // Match body\n matchedMockDispatches = matchedMockDispatches.filter(({ body }) => typeof body !== 'undefined' ? matchValue(body, key.body) : true)\n if (matchedMockDispatches.length === 0) {\n throw new MockNotMatchedError(`Mock dispatch not matched for body '${key.body}' on path '${resolvedPath}'`)\n }\n\n // Match headers\n matchedMockDispatches = matchedMockDispatches.filter((mockDispatch) => matchHeaders(mockDispatch, key.headers))\n if (matchedMockDispatches.length === 0) {\n const headers = typeof key.headers === 'object' ? JSON.stringify(key.headers) : key.headers\n throw new MockNotMatchedError(`Mock dispatch not matched for headers '${headers}' on path '${resolvedPath}'`)\n }\n\n return matchedMockDispatches[0]\n}\n\nfunction addMockDispatch (mockDispatches, key, data) {\n const baseData = { timesInvoked: 0, times: 1, persist: false, consumed: false }\n const replyData = typeof data === 'function' ? { callback: data } : { ...data }\n const newMockDispatch = { ...baseData, ...key, pending: true, data: { error: null, ...replyData } }\n mockDispatches.push(newMockDispatch)\n return newMockDispatch\n}\n\nfunction deleteMockDispatch (mockDispatches, key) {\n const index = mockDispatches.findIndex(dispatch => {\n if (!dispatch.consumed) {\n return false\n }\n return matchKey(dispatch, key)\n })\n if (index !== -1) {\n mockDispatches.splice(index, 1)\n }\n}\n\nfunction buildKey (opts) {\n const { path, method, body, headers, query } = opts\n return {\n path,\n method,\n body,\n headers,\n query\n }\n}\n\nfunction generateKeyValues (data) {\n const keys = Object.keys(data)\n const result = []\n for (let i = 0; i < keys.length; ++i) {\n const key = keys[i]\n const value = data[key]\n const name = Buffer.from(`${key}`)\n if (Array.isArray(value)) {\n for (let j = 0; j < value.length; ++j) {\n result.push(name, Buffer.from(`${value[j]}`))\n }\n } else {\n result.push(name, Buffer.from(`${value}`))\n }\n }\n return result\n}\n\n/**\n * @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Status\n * @param {number} statusCode\n */\nfunction getStatusText (statusCode) {\n return STATUS_CODES[statusCode] || 'unknown'\n}\n\nasync function getResponse (body) {\n const buffers = []\n for await (const data of body) {\n buffers.push(data)\n }\n return Buffer.concat(buffers).toString('utf8')\n}\n\n/**\n * Mock dispatch function used to simulate undici dispatches\n */\nfunction mockDispatch (opts, handler) {\n // Get mock dispatch from built key\n const key = buildKey(opts)\n const mockDispatch = getMockDispatch(this[kDispatches], key)\n\n mockDispatch.timesInvoked++\n\n // Here's where we resolve a callback if a callback is present for the dispatch data.\n if (mockDispatch.data.callback) {\n mockDispatch.data = { ...mockDispatch.data, ...mockDispatch.data.callback(opts) }\n }\n\n // Parse mockDispatch data\n const { data: { statusCode, data, headers, trailers, error }, delay, persist } = mockDispatch\n const { timesInvoked, times } = mockDispatch\n\n // If it's used up and not persistent, mark as consumed\n mockDispatch.consumed = !persist && timesInvoked >= times\n mockDispatch.pending = timesInvoked < times\n\n // If specified, trigger dispatch error\n if (error !== null) {\n deleteMockDispatch(this[kDispatches], key)\n handler.onError(error)\n return true\n }\n\n // Handle the request with a delay if necessary\n if (typeof delay === 'number' && delay > 0) {\n setTimeout(() => {\n handleReply(this[kDispatches])\n }, delay)\n } else {\n handleReply(this[kDispatches])\n }\n\n function handleReply (mockDispatches, _data = data) {\n // fetch's HeadersList is a 1D string array\n const optsHeaders = Array.isArray(opts.headers)\n ? buildHeadersFromArray(opts.headers)\n : opts.headers\n const body = typeof _data === 'function'\n ? _data({ ...opts, headers: optsHeaders })\n : _data\n\n // util.types.isPromise is likely needed for jest.\n if (isPromise(body)) {\n // If handleReply is asynchronous, throwing an error\n // in the callback will reject the promise, rather than\n // synchronously throw the error, which breaks some tests.\n // Rather, we wait for the callback to resolve if it is a\n // promise, and then re-run handleReply with the new body.\n body.then((newData) => handleReply(mockDispatches, newData))\n return\n }\n\n const responseData = getResponseData(body)\n const responseHeaders = generateKeyValues(headers)\n const responseTrailers = generateKeyValues(trailers)\n\n handler.onConnect?.(err => handler.onError(err), null)\n handler.onHeaders?.(statusCode, responseHeaders, resume, getStatusText(statusCode))\n handler.onData?.(Buffer.from(responseData))\n handler.onComplete?.(responseTrailers)\n deleteMockDispatch(mockDispatches, key)\n }\n\n function resume () {}\n\n return true\n}\n\nfunction buildMockDispatch () {\n const agent = this[kMockAgent]\n const origin = this[kOrigin]\n const originalDispatch = this[kOriginalDispatch]\n\n return function dispatch (opts, handler) {\n if (agent.isMockActive) {\n try {\n mockDispatch.call(this, opts, handler)\n } catch (error) {\n if (error instanceof MockNotMatchedError) {\n const netConnect = agent[kGetNetConnect]()\n if (netConnect === false) {\n throw new MockNotMatchedError(`${error.message}: subsequent request to origin ${origin} was not allowed (net.connect disabled)`)\n }\n if (checkNetConnect(netConnect, origin)) {\n originalDispatch.call(this, opts, handler)\n } else {\n throw new MockNotMatchedError(`${error.message}: subsequent request to origin ${origin} was not allowed (net.connect is not enabled for this origin)`)\n }\n } else {\n throw error\n }\n }\n } else {\n originalDispatch.call(this, opts, handler)\n }\n }\n}\n\nfunction checkNetConnect (netConnect, origin) {\n const url = new URL(origin)\n if (netConnect === true) {\n return true\n } else if (Array.isArray(netConnect) && netConnect.some((matcher) => matchValue(matcher, url.host))) {\n return true\n }\n return false\n}\n\nfunction buildMockOptions (opts) {\n if (opts) {\n const { agent, ...mockOptions } = opts\n return mockOptions\n }\n}\n\nmodule.exports = {\n getResponseData,\n getMockDispatch,\n addMockDispatch,\n deleteMockDispatch,\n buildKey,\n generateKeyValues,\n matchValue,\n getResponse,\n getStatusText,\n mockDispatch,\n buildMockDispatch,\n checkNetConnect,\n buildMockOptions,\n getHeaderByName,\n buildHeadersFromArray\n}\n","'use strict'\n\nconst { Transform } = require('node:stream')\nconst { Console } = require('node:console')\n\nconst PERSISTENT = process.versions.icu ? '✅' : 'Y '\nconst NOT_PERSISTENT = process.versions.icu ? '❌' : 'N '\n\n/**\n * Gets the output of `console.table(…)` as a string.\n */\nmodule.exports = class PendingInterceptorsFormatter {\n constructor ({ disableColors } = {}) {\n this.transform = new Transform({\n transform (chunk, _enc, cb) {\n cb(null, chunk)\n }\n })\n\n this.logger = new Console({\n stdout: this.transform,\n inspectOptions: {\n colors: !disableColors && !process.env.CI\n }\n })\n }\n\n format (pendingInterceptors) {\n const withPrettyHeaders = pendingInterceptors.map(\n ({ method, path, data: { statusCode }, persist, times, timesInvoked, origin }) => ({\n Method: method,\n Origin: origin,\n Path: path,\n 'Status code': statusCode,\n Persistent: persist ? PERSISTENT : NOT_PERSISTENT,\n Invocations: timesInvoked,\n Remaining: persist ? Infinity : times - timesInvoked\n }))\n\n this.logger.table(withPrettyHeaders)\n return this.transform.read().toString()\n }\n}\n","'use strict'\n\nconst singulars = {\n pronoun: 'it',\n is: 'is',\n was: 'was',\n this: 'this'\n}\n\nconst plurals = {\n pronoun: 'they',\n is: 'are',\n was: 'were',\n this: 'these'\n}\n\nmodule.exports = class Pluralizer {\n constructor (singular, plural) {\n this.singular = singular\n this.plural = plural\n }\n\n pluralize (count) {\n const one = count === 1\n const keys = one ? singulars : plurals\n const noun = one ? this.singular : this.plural\n return { ...keys, count, noun }\n }\n}\n","'use strict'\n\n/**\n * This module offers an optimized timer implementation designed for scenarios\n * where high precision is not critical.\n *\n * The timer achieves faster performance by using a low-resolution approach,\n * with an accuracy target of within 500ms. This makes it particularly useful\n * for timers with delays of 1 second or more, where exact timing is less\n * crucial.\n *\n * It's important to note that Node.js timers are inherently imprecise, as\n * delays can occur due to the event loop being blocked by other operations.\n * Consequently, timers may trigger later than their scheduled time.\n */\n\n/**\n * The fastNow variable contains the internal fast timer clock value.\n *\n * @type {number}\n */\nlet fastNow = 0\n\n/**\n * RESOLUTION_MS represents the target resolution time in milliseconds.\n *\n * @type {number}\n * @default 1000\n */\nconst RESOLUTION_MS = 1e3\n\n/**\n * TICK_MS defines the desired interval in milliseconds between each tick.\n * The target value is set to half the resolution time, minus 1 ms, to account\n * for potential event loop overhead.\n *\n * @type {number}\n * @default 499\n */\nconst TICK_MS = (RESOLUTION_MS >> 1) - 1\n\n/**\n * fastNowTimeout is a Node.js timer used to manage and process\n * the FastTimers stored in the `fastTimers` array.\n *\n * @type {NodeJS.Timeout}\n */\nlet fastNowTimeout\n\n/**\n * The kFastTimer symbol is used to identify FastTimer instances.\n *\n * @type {Symbol}\n */\nconst kFastTimer = Symbol('kFastTimer')\n\n/**\n * The fastTimers array contains all active FastTimers.\n *\n * @type {FastTimer[]}\n */\nconst fastTimers = []\n\n/**\n * These constants represent the various states of a FastTimer.\n */\n\n/**\n * The `NOT_IN_LIST` constant indicates that the FastTimer is not included\n * in the `fastTimers` array. Timers with this status will not be processed\n * during the next tick by the `onTick` function.\n *\n * A FastTimer can be re-added to the `fastTimers` array by invoking the\n * `refresh` method on the FastTimer instance.\n *\n * @type {-2}\n */\nconst NOT_IN_LIST = -2\n\n/**\n * The `TO_BE_CLEARED` constant indicates that the FastTimer is scheduled\n * for removal from the `fastTimers` array. A FastTimer in this state will\n * be removed in the next tick by the `onTick` function and will no longer\n * be processed.\n *\n * This status is also set when the `clear` method is called on the FastTimer instance.\n *\n * @type {-1}\n */\nconst TO_BE_CLEARED = -1\n\n/**\n * The `PENDING` constant signifies that the FastTimer is awaiting processing\n * in the next tick by the `onTick` function. Timers with this status will have\n * their `_idleStart` value set and their status updated to `ACTIVE` in the next tick.\n *\n * @type {0}\n */\nconst PENDING = 0\n\n/**\n * The `ACTIVE` constant indicates that the FastTimer is active and waiting\n * for its timer to expire. During the next tick, the `onTick` function will\n * check if the timer has expired, and if so, it will execute the associated callback.\n *\n * @type {1}\n */\nconst ACTIVE = 1\n\n/**\n * The onTick function processes the fastTimers array.\n *\n * @returns {void}\n */\nfunction onTick () {\n /**\n * Increment the fastNow value by the TICK_MS value, despite the actual time\n * that has passed since the last tick. This approach ensures independence\n * from the system clock and delays caused by a blocked event loop.\n *\n * @type {number}\n */\n fastNow += TICK_MS\n\n /**\n * The `idx` variable is used to iterate over the `fastTimers` array.\n * Expired timers are removed by replacing them with the last element in the array.\n * Consequently, `idx` is only incremented when the current element is not removed.\n *\n * @type {number}\n */\n let idx = 0\n\n /**\n * The len variable will contain the length of the fastTimers array\n * and will be decremented when a FastTimer should be removed from the\n * fastTimers array.\n *\n * @type {number}\n */\n let len = fastTimers.length\n\n while (idx < len) {\n /**\n * @type {FastTimer}\n */\n const timer = fastTimers[idx]\n\n // If the timer is in the ACTIVE state and the timer has expired, it will\n // be processed in the next tick.\n if (timer._state === PENDING) {\n // Set the _idleStart value to the fastNow value minus the TICK_MS value\n // to account for the time the timer was in the PENDING state.\n timer._idleStart = fastNow - TICK_MS\n timer._state = ACTIVE\n } else if (\n timer._state === ACTIVE &&\n fastNow >= timer._idleStart + timer._idleTimeout\n ) {\n timer._state = TO_BE_CLEARED\n timer._idleStart = -1\n timer._onTimeout(timer._timerArg)\n }\n\n if (timer._state === TO_BE_CLEARED) {\n timer._state = NOT_IN_LIST\n\n // Move the last element to the current index and decrement len if it is\n // not the only element in the array.\n if (--len !== 0) {\n fastTimers[idx] = fastTimers[len]\n }\n } else {\n ++idx\n }\n }\n\n // Set the length of the fastTimers array to the new length and thus\n // removing the excess FastTimers elements from the array.\n fastTimers.length = len\n\n // If there are still active FastTimers in the array, refresh the Timer.\n // If there are no active FastTimers, the timer will be refreshed again\n // when a new FastTimer is instantiated.\n if (fastTimers.length !== 0) {\n refreshTimeout()\n }\n}\n\nfunction refreshTimeout () {\n // If the fastNowTimeout is already set, refresh it.\n if (fastNowTimeout) {\n fastNowTimeout.refresh()\n // fastNowTimeout is not instantiated yet, create a new Timer.\n } else {\n clearTimeout(fastNowTimeout)\n fastNowTimeout = setTimeout(onTick, TICK_MS)\n\n // If the Timer has an unref method, call it to allow the process to exit if\n // there are no other active handles.\n if (fastNowTimeout.unref) {\n fastNowTimeout.unref()\n }\n }\n}\n\n/**\n * The `FastTimer` class is a data structure designed to store and manage\n * timer information.\n */\nclass FastTimer {\n [kFastTimer] = true\n\n /**\n * The state of the timer, which can be one of the following:\n * - NOT_IN_LIST (-2)\n * - TO_BE_CLEARED (-1)\n * - PENDING (0)\n * - ACTIVE (1)\n *\n * @type {-2|-1|0|1}\n * @private\n */\n _state = NOT_IN_LIST\n\n /**\n * The number of milliseconds to wait before calling the callback.\n *\n * @type {number}\n * @private\n */\n _idleTimeout = -1\n\n /**\n * The time in milliseconds when the timer was started. This value is used to\n * calculate when the timer should expire.\n *\n * @type {number}\n * @default -1\n * @private\n */\n _idleStart = -1\n\n /**\n * The function to be executed when the timer expires.\n * @type {Function}\n * @private\n */\n _onTimeout\n\n /**\n * The argument to be passed to the callback when the timer expires.\n *\n * @type {*}\n * @private\n */\n _timerArg\n\n /**\n * @constructor\n * @param {Function} callback A function to be executed after the timer\n * expires.\n * @param {number} delay The time, in milliseconds that the timer should wait\n * before the specified function or code is executed.\n * @param {*} arg\n */\n constructor (callback, delay, arg) {\n this._onTimeout = callback\n this._idleTimeout = delay\n this._timerArg = arg\n\n this.refresh()\n }\n\n /**\n * Sets the timer's start time to the current time, and reschedules the timer\n * to call its callback at the previously specified duration adjusted to the\n * current time.\n * Using this on a timer that has already called its callback will reactivate\n * the timer.\n *\n * @returns {void}\n */\n refresh () {\n // In the special case that the timer is not in the list of active timers,\n // add it back to the array to be processed in the next tick by the onTick\n // function.\n if (this._state === NOT_IN_LIST) {\n fastTimers.push(this)\n }\n\n // If the timer is the only active timer, refresh the fastNowTimeout for\n // better resolution.\n if (!fastNowTimeout || fastTimers.length === 1) {\n refreshTimeout()\n }\n\n // Setting the state to PENDING will cause the timer to be reset in the\n // next tick by the onTick function.\n this._state = PENDING\n }\n\n /**\n * The `clear` method cancels the timer, preventing it from executing.\n *\n * @returns {void}\n * @private\n */\n clear () {\n // Set the state to TO_BE_CLEARED to mark the timer for removal in the next\n // tick by the onTick function.\n this._state = TO_BE_CLEARED\n\n // Reset the _idleStart value to -1 to indicate that the timer is no longer\n // active.\n this._idleStart = -1\n }\n}\n\n/**\n * This module exports a setTimeout and clearTimeout function that can be\n * used as a drop-in replacement for the native functions.\n */\nmodule.exports = {\n /**\n * The setTimeout() method sets a timer which executes a function once the\n * timer expires.\n * @param {Function} callback A function to be executed after the timer\n * expires.\n * @param {number} delay The time, in milliseconds that the timer should\n * wait before the specified function or code is executed.\n * @param {*} [arg] An optional argument to be passed to the callback function\n * when the timer expires.\n * @returns {NodeJS.Timeout|FastTimer}\n */\n setTimeout (callback, delay, arg) {\n // If the delay is less than or equal to the RESOLUTION_MS value return a\n // native Node.js Timer instance.\n return delay <= RESOLUTION_MS\n ? setTimeout(callback, delay, arg)\n : new FastTimer(callback, delay, arg)\n },\n /**\n * The clearTimeout method cancels an instantiated Timer previously created\n * by calling setTimeout.\n *\n * @param {NodeJS.Timeout|FastTimer} timeout\n */\n clearTimeout (timeout) {\n // If the timeout is a FastTimer, call its own clear method.\n if (timeout[kFastTimer]) {\n /**\n * @type {FastTimer}\n */\n timeout.clear()\n // Otherwise it is an instance of a native NodeJS.Timeout, so call the\n // Node.js native clearTimeout function.\n } else {\n clearTimeout(timeout)\n }\n },\n /**\n * The setFastTimeout() method sets a fastTimer which executes a function once\n * the timer expires.\n * @param {Function} callback A function to be executed after the timer\n * expires.\n * @param {number} delay The time, in milliseconds that the timer should\n * wait before the specified function or code is executed.\n * @param {*} [arg] An optional argument to be passed to the callback function\n * when the timer expires.\n * @returns {FastTimer}\n */\n setFastTimeout (callback, delay, arg) {\n return new FastTimer(callback, delay, arg)\n },\n /**\n * The clearTimeout method cancels an instantiated FastTimer previously\n * created by calling setFastTimeout.\n *\n * @param {FastTimer} timeout\n */\n clearFastTimeout (timeout) {\n timeout.clear()\n },\n /**\n * The now method returns the value of the internal fast timer clock.\n *\n * @returns {number}\n */\n now () {\n return fastNow\n },\n /**\n * Trigger the onTick function to process the fastTimers array.\n * Exported for testing purposes only.\n * Marking as deprecated to discourage any use outside of testing.\n * @deprecated\n * @param {number} [delay=0] The delay in milliseconds to add to the now value.\n */\n tick (delay = 0) {\n fastNow += delay - RESOLUTION_MS + 1\n onTick()\n onTick()\n },\n /**\n * Reset FastTimers.\n * Exported for testing purposes only.\n * Marking as deprecated to discourage any use outside of testing.\n * @deprecated\n */\n reset () {\n fastNow = 0\n fastTimers.length = 0\n clearTimeout(fastNowTimeout)\n fastNowTimeout = null\n },\n /**\n * Exporting for testing purposes only.\n * Marking as deprecated to discourage any use outside of testing.\n * @deprecated\n */\n kFastTimer\n}\n","'use strict'\n\nconst { kConstruct } = require('./symbols')\nconst { urlEquals, getFieldValues } = require('./util')\nconst { kEnumerableProperty, isDisturbed } = require('../../core/util')\nconst { webidl } = require('../fetch/webidl')\nconst { Response, cloneResponse, fromInnerResponse } = require('../fetch/response')\nconst { Request, fromInnerRequest } = require('../fetch/request')\nconst { kState } = require('../fetch/symbols')\nconst { fetching } = require('../fetch/index')\nconst { urlIsHttpHttpsScheme, createDeferredPromise, readAllBytes } = require('../fetch/util')\nconst assert = require('node:assert')\n\n/**\n * @see https://w3c.github.io/ServiceWorker/#dfn-cache-batch-operation\n * @typedef {Object} CacheBatchOperation\n * @property {'delete' | 'put'} type\n * @property {any} request\n * @property {any} response\n * @property {import('../../types/cache').CacheQueryOptions} options\n */\n\n/**\n * @see https://w3c.github.io/ServiceWorker/#dfn-request-response-list\n * @typedef {[any, any][]} requestResponseList\n */\n\nclass Cache {\n /**\n * @see https://w3c.github.io/ServiceWorker/#dfn-relevant-request-response-list\n * @type {requestResponseList}\n */\n #relevantRequestResponseList\n\n constructor () {\n if (arguments[0] !== kConstruct) {\n webidl.illegalConstructor()\n }\n\n webidl.util.markAsUncloneable(this)\n this.#relevantRequestResponseList = arguments[1]\n }\n\n async match (request, options = {}) {\n webidl.brandCheck(this, Cache)\n\n const prefix = 'Cache.match'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n request = webidl.converters.RequestInfo(request, prefix, 'request')\n options = webidl.converters.CacheQueryOptions(options, prefix, 'options')\n\n const p = this.#internalMatchAll(request, options, 1)\n\n if (p.length === 0) {\n return\n }\n\n return p[0]\n }\n\n async matchAll (request = undefined, options = {}) {\n webidl.brandCheck(this, Cache)\n\n const prefix = 'Cache.matchAll'\n if (request !== undefined) request = webidl.converters.RequestInfo(request, prefix, 'request')\n options = webidl.converters.CacheQueryOptions(options, prefix, 'options')\n\n return this.#internalMatchAll(request, options)\n }\n\n async add (request) {\n webidl.brandCheck(this, Cache)\n\n const prefix = 'Cache.add'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n request = webidl.converters.RequestInfo(request, prefix, 'request')\n\n // 1.\n const requests = [request]\n\n // 2.\n const responseArrayPromise = this.addAll(requests)\n\n // 3.\n return await responseArrayPromise\n }\n\n async addAll (requests) {\n webidl.brandCheck(this, Cache)\n\n const prefix = 'Cache.addAll'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n // 1.\n const responsePromises = []\n\n // 2.\n const requestList = []\n\n // 3.\n for (let request of requests) {\n if (request === undefined) {\n throw webidl.errors.conversionFailed({\n prefix,\n argument: 'Argument 1',\n types: ['undefined is not allowed']\n })\n }\n\n request = webidl.converters.RequestInfo(request)\n\n if (typeof request === 'string') {\n continue\n }\n\n // 3.1\n const r = request[kState]\n\n // 3.2\n if (!urlIsHttpHttpsScheme(r.url) || r.method !== 'GET') {\n throw webidl.errors.exception({\n header: prefix,\n message: 'Expected http/s scheme when method is not GET.'\n })\n }\n }\n\n // 4.\n /** @type {ReturnType[]} */\n const fetchControllers = []\n\n // 5.\n for (const request of requests) {\n // 5.1\n const r = new Request(request)[kState]\n\n // 5.2\n if (!urlIsHttpHttpsScheme(r.url)) {\n throw webidl.errors.exception({\n header: prefix,\n message: 'Expected http/s scheme.'\n })\n }\n\n // 5.4\n r.initiator = 'fetch'\n r.destination = 'subresource'\n\n // 5.5\n requestList.push(r)\n\n // 5.6\n const responsePromise = createDeferredPromise()\n\n // 5.7\n fetchControllers.push(fetching({\n request: r,\n processResponse (response) {\n // 1.\n if (response.type === 'error' || response.status === 206 || response.status < 200 || response.status > 299) {\n responsePromise.reject(webidl.errors.exception({\n header: 'Cache.addAll',\n message: 'Received an invalid status code or the request failed.'\n }))\n } else if (response.headersList.contains('vary')) { // 2.\n // 2.1\n const fieldValues = getFieldValues(response.headersList.get('vary'))\n\n // 2.2\n for (const fieldValue of fieldValues) {\n // 2.2.1\n if (fieldValue === '*') {\n responsePromise.reject(webidl.errors.exception({\n header: 'Cache.addAll',\n message: 'invalid vary field value'\n }))\n\n for (const controller of fetchControllers) {\n controller.abort()\n }\n\n return\n }\n }\n }\n },\n processResponseEndOfBody (response) {\n // 1.\n if (response.aborted) {\n responsePromise.reject(new DOMException('aborted', 'AbortError'))\n return\n }\n\n // 2.\n responsePromise.resolve(response)\n }\n }))\n\n // 5.8\n responsePromises.push(responsePromise.promise)\n }\n\n // 6.\n const p = Promise.all(responsePromises)\n\n // 7.\n const responses = await p\n\n // 7.1\n const operations = []\n\n // 7.2\n let index = 0\n\n // 7.3\n for (const response of responses) {\n // 7.3.1\n /** @type {CacheBatchOperation} */\n const operation = {\n type: 'put', // 7.3.2\n request: requestList[index], // 7.3.3\n response // 7.3.4\n }\n\n operations.push(operation) // 7.3.5\n\n index++ // 7.3.6\n }\n\n // 7.5\n const cacheJobPromise = createDeferredPromise()\n\n // 7.6.1\n let errorData = null\n\n // 7.6.2\n try {\n this.#batchCacheOperations(operations)\n } catch (e) {\n errorData = e\n }\n\n // 7.6.3\n queueMicrotask(() => {\n // 7.6.3.1\n if (errorData === null) {\n cacheJobPromise.resolve(undefined)\n } else {\n // 7.6.3.2\n cacheJobPromise.reject(errorData)\n }\n })\n\n // 7.7\n return cacheJobPromise.promise\n }\n\n async put (request, response) {\n webidl.brandCheck(this, Cache)\n\n const prefix = 'Cache.put'\n webidl.argumentLengthCheck(arguments, 2, prefix)\n\n request = webidl.converters.RequestInfo(request, prefix, 'request')\n response = webidl.converters.Response(response, prefix, 'response')\n\n // 1.\n let innerRequest = null\n\n // 2.\n if (request instanceof Request) {\n innerRequest = request[kState]\n } else { // 3.\n innerRequest = new Request(request)[kState]\n }\n\n // 4.\n if (!urlIsHttpHttpsScheme(innerRequest.url) || innerRequest.method !== 'GET') {\n throw webidl.errors.exception({\n header: prefix,\n message: 'Expected an http/s scheme when method is not GET'\n })\n }\n\n // 5.\n const innerResponse = response[kState]\n\n // 6.\n if (innerResponse.status === 206) {\n throw webidl.errors.exception({\n header: prefix,\n message: 'Got 206 status'\n })\n }\n\n // 7.\n if (innerResponse.headersList.contains('vary')) {\n // 7.1.\n const fieldValues = getFieldValues(innerResponse.headersList.get('vary'))\n\n // 7.2.\n for (const fieldValue of fieldValues) {\n // 7.2.1\n if (fieldValue === '*') {\n throw webidl.errors.exception({\n header: prefix,\n message: 'Got * vary field value'\n })\n }\n }\n }\n\n // 8.\n if (innerResponse.body && (isDisturbed(innerResponse.body.stream) || innerResponse.body.stream.locked)) {\n throw webidl.errors.exception({\n header: prefix,\n message: 'Response body is locked or disturbed'\n })\n }\n\n // 9.\n const clonedResponse = cloneResponse(innerResponse)\n\n // 10.\n const bodyReadPromise = createDeferredPromise()\n\n // 11.\n if (innerResponse.body != null) {\n // 11.1\n const stream = innerResponse.body.stream\n\n // 11.2\n const reader = stream.getReader()\n\n // 11.3\n readAllBytes(reader).then(bodyReadPromise.resolve, bodyReadPromise.reject)\n } else {\n bodyReadPromise.resolve(undefined)\n }\n\n // 12.\n /** @type {CacheBatchOperation[]} */\n const operations = []\n\n // 13.\n /** @type {CacheBatchOperation} */\n const operation = {\n type: 'put', // 14.\n request: innerRequest, // 15.\n response: clonedResponse // 16.\n }\n\n // 17.\n operations.push(operation)\n\n // 19.\n const bytes = await bodyReadPromise.promise\n\n if (clonedResponse.body != null) {\n clonedResponse.body.source = bytes\n }\n\n // 19.1\n const cacheJobPromise = createDeferredPromise()\n\n // 19.2.1\n let errorData = null\n\n // 19.2.2\n try {\n this.#batchCacheOperations(operations)\n } catch (e) {\n errorData = e\n }\n\n // 19.2.3\n queueMicrotask(() => {\n // 19.2.3.1\n if (errorData === null) {\n cacheJobPromise.resolve()\n } else { // 19.2.3.2\n cacheJobPromise.reject(errorData)\n }\n })\n\n return cacheJobPromise.promise\n }\n\n async delete (request, options = {}) {\n webidl.brandCheck(this, Cache)\n\n const prefix = 'Cache.delete'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n request = webidl.converters.RequestInfo(request, prefix, 'request')\n options = webidl.converters.CacheQueryOptions(options, prefix, 'options')\n\n /**\n * @type {Request}\n */\n let r = null\n\n if (request instanceof Request) {\n r = request[kState]\n\n if (r.method !== 'GET' && !options.ignoreMethod) {\n return false\n }\n } else {\n assert(typeof request === 'string')\n\n r = new Request(request)[kState]\n }\n\n /** @type {CacheBatchOperation[]} */\n const operations = []\n\n /** @type {CacheBatchOperation} */\n const operation = {\n type: 'delete',\n request: r,\n options\n }\n\n operations.push(operation)\n\n const cacheJobPromise = createDeferredPromise()\n\n let errorData = null\n let requestResponses\n\n try {\n requestResponses = this.#batchCacheOperations(operations)\n } catch (e) {\n errorData = e\n }\n\n queueMicrotask(() => {\n if (errorData === null) {\n cacheJobPromise.resolve(!!requestResponses?.length)\n } else {\n cacheJobPromise.reject(errorData)\n }\n })\n\n return cacheJobPromise.promise\n }\n\n /**\n * @see https://w3c.github.io/ServiceWorker/#dom-cache-keys\n * @param {any} request\n * @param {import('../../types/cache').CacheQueryOptions} options\n * @returns {Promise}\n */\n async keys (request = undefined, options = {}) {\n webidl.brandCheck(this, Cache)\n\n const prefix = 'Cache.keys'\n\n if (request !== undefined) request = webidl.converters.RequestInfo(request, prefix, 'request')\n options = webidl.converters.CacheQueryOptions(options, prefix, 'options')\n\n // 1.\n let r = null\n\n // 2.\n if (request !== undefined) {\n // 2.1\n if (request instanceof Request) {\n // 2.1.1\n r = request[kState]\n\n // 2.1.2\n if (r.method !== 'GET' && !options.ignoreMethod) {\n return []\n }\n } else if (typeof request === 'string') { // 2.2\n r = new Request(request)[kState]\n }\n }\n\n // 4.\n const promise = createDeferredPromise()\n\n // 5.\n // 5.1\n const requests = []\n\n // 5.2\n if (request === undefined) {\n // 5.2.1\n for (const requestResponse of this.#relevantRequestResponseList) {\n // 5.2.1.1\n requests.push(requestResponse[0])\n }\n } else { // 5.3\n // 5.3.1\n const requestResponses = this.#queryCache(r, options)\n\n // 5.3.2\n for (const requestResponse of requestResponses) {\n // 5.3.2.1\n requests.push(requestResponse[0])\n }\n }\n\n // 5.4\n queueMicrotask(() => {\n // 5.4.1\n const requestList = []\n\n // 5.4.2\n for (const request of requests) {\n const requestObject = fromInnerRequest(\n request,\n new AbortController().signal,\n 'immutable'\n )\n // 5.4.2.1\n requestList.push(requestObject)\n }\n\n // 5.4.3\n promise.resolve(Object.freeze(requestList))\n })\n\n return promise.promise\n }\n\n /**\n * @see https://w3c.github.io/ServiceWorker/#batch-cache-operations-algorithm\n * @param {CacheBatchOperation[]} operations\n * @returns {requestResponseList}\n */\n #batchCacheOperations (operations) {\n // 1.\n const cache = this.#relevantRequestResponseList\n\n // 2.\n const backupCache = [...cache]\n\n // 3.\n const addedItems = []\n\n // 4.1\n const resultList = []\n\n try {\n // 4.2\n for (const operation of operations) {\n // 4.2.1\n if (operation.type !== 'delete' && operation.type !== 'put') {\n throw webidl.errors.exception({\n header: 'Cache.#batchCacheOperations',\n message: 'operation type does not match \"delete\" or \"put\"'\n })\n }\n\n // 4.2.2\n if (operation.type === 'delete' && operation.response != null) {\n throw webidl.errors.exception({\n header: 'Cache.#batchCacheOperations',\n message: 'delete operation should not have an associated response'\n })\n }\n\n // 4.2.3\n if (this.#queryCache(operation.request, operation.options, addedItems).length) {\n throw new DOMException('???', 'InvalidStateError')\n }\n\n // 4.2.4\n let requestResponses\n\n // 4.2.5\n if (operation.type === 'delete') {\n // 4.2.5.1\n requestResponses = this.#queryCache(operation.request, operation.options)\n\n // TODO: the spec is wrong, this is needed to pass WPTs\n if (requestResponses.length === 0) {\n return []\n }\n\n // 4.2.5.2\n for (const requestResponse of requestResponses) {\n const idx = cache.indexOf(requestResponse)\n assert(idx !== -1)\n\n // 4.2.5.2.1\n cache.splice(idx, 1)\n }\n } else if (operation.type === 'put') { // 4.2.6\n // 4.2.6.1\n if (operation.response == null) {\n throw webidl.errors.exception({\n header: 'Cache.#batchCacheOperations',\n message: 'put operation should have an associated response'\n })\n }\n\n // 4.2.6.2\n const r = operation.request\n\n // 4.2.6.3\n if (!urlIsHttpHttpsScheme(r.url)) {\n throw webidl.errors.exception({\n header: 'Cache.#batchCacheOperations',\n message: 'expected http or https scheme'\n })\n }\n\n // 4.2.6.4\n if (r.method !== 'GET') {\n throw webidl.errors.exception({\n header: 'Cache.#batchCacheOperations',\n message: 'not get method'\n })\n }\n\n // 4.2.6.5\n if (operation.options != null) {\n throw webidl.errors.exception({\n header: 'Cache.#batchCacheOperations',\n message: 'options must not be defined'\n })\n }\n\n // 4.2.6.6\n requestResponses = this.#queryCache(operation.request)\n\n // 4.2.6.7\n for (const requestResponse of requestResponses) {\n const idx = cache.indexOf(requestResponse)\n assert(idx !== -1)\n\n // 4.2.6.7.1\n cache.splice(idx, 1)\n }\n\n // 4.2.6.8\n cache.push([operation.request, operation.response])\n\n // 4.2.6.10\n addedItems.push([operation.request, operation.response])\n }\n\n // 4.2.7\n resultList.push([operation.request, operation.response])\n }\n\n // 4.3\n return resultList\n } catch (e) { // 5.\n // 5.1\n this.#relevantRequestResponseList.length = 0\n\n // 5.2\n this.#relevantRequestResponseList = backupCache\n\n // 5.3\n throw e\n }\n }\n\n /**\n * @see https://w3c.github.io/ServiceWorker/#query-cache\n * @param {any} requestQuery\n * @param {import('../../types/cache').CacheQueryOptions} options\n * @param {requestResponseList} targetStorage\n * @returns {requestResponseList}\n */\n #queryCache (requestQuery, options, targetStorage) {\n /** @type {requestResponseList} */\n const resultList = []\n\n const storage = targetStorage ?? this.#relevantRequestResponseList\n\n for (const requestResponse of storage) {\n const [cachedRequest, cachedResponse] = requestResponse\n if (this.#requestMatchesCachedItem(requestQuery, cachedRequest, cachedResponse, options)) {\n resultList.push(requestResponse)\n }\n }\n\n return resultList\n }\n\n /**\n * @see https://w3c.github.io/ServiceWorker/#request-matches-cached-item-algorithm\n * @param {any} requestQuery\n * @param {any} request\n * @param {any | null} response\n * @param {import('../../types/cache').CacheQueryOptions | undefined} options\n * @returns {boolean}\n */\n #requestMatchesCachedItem (requestQuery, request, response = null, options) {\n // if (options?.ignoreMethod === false && request.method === 'GET') {\n // return false\n // }\n\n const queryURL = new URL(requestQuery.url)\n\n const cachedURL = new URL(request.url)\n\n if (options?.ignoreSearch) {\n cachedURL.search = ''\n\n queryURL.search = ''\n }\n\n if (!urlEquals(queryURL, cachedURL, true)) {\n return false\n }\n\n if (\n response == null ||\n options?.ignoreVary ||\n !response.headersList.contains('vary')\n ) {\n return true\n }\n\n const fieldValues = getFieldValues(response.headersList.get('vary'))\n\n for (const fieldValue of fieldValues) {\n if (fieldValue === '*') {\n return false\n }\n\n const requestValue = request.headersList.get(fieldValue)\n const queryValue = requestQuery.headersList.get(fieldValue)\n\n // If one has the header and the other doesn't, or one has\n // a different value than the other, return false\n if (requestValue !== queryValue) {\n return false\n }\n }\n\n return true\n }\n\n #internalMatchAll (request, options, maxResponses = Infinity) {\n // 1.\n let r = null\n\n // 2.\n if (request !== undefined) {\n if (request instanceof Request) {\n // 2.1.1\n r = request[kState]\n\n // 2.1.2\n if (r.method !== 'GET' && !options.ignoreMethod) {\n return []\n }\n } else if (typeof request === 'string') {\n // 2.2.1\n r = new Request(request)[kState]\n }\n }\n\n // 5.\n // 5.1\n const responses = []\n\n // 5.2\n if (request === undefined) {\n // 5.2.1\n for (const requestResponse of this.#relevantRequestResponseList) {\n responses.push(requestResponse[1])\n }\n } else { // 5.3\n // 5.3.1\n const requestResponses = this.#queryCache(r, options)\n\n // 5.3.2\n for (const requestResponse of requestResponses) {\n responses.push(requestResponse[1])\n }\n }\n\n // 5.4\n // We don't implement CORs so we don't need to loop over the responses, yay!\n\n // 5.5.1\n const responseList = []\n\n // 5.5.2\n for (const response of responses) {\n // 5.5.2.1\n const responseObject = fromInnerResponse(response, 'immutable')\n\n responseList.push(responseObject.clone())\n\n if (responseList.length >= maxResponses) {\n break\n }\n }\n\n // 6.\n return Object.freeze(responseList)\n }\n}\n\nObject.defineProperties(Cache.prototype, {\n [Symbol.toStringTag]: {\n value: 'Cache',\n configurable: true\n },\n match: kEnumerableProperty,\n matchAll: kEnumerableProperty,\n add: kEnumerableProperty,\n addAll: kEnumerableProperty,\n put: kEnumerableProperty,\n delete: kEnumerableProperty,\n keys: kEnumerableProperty\n})\n\nconst cacheQueryOptionConverters = [\n {\n key: 'ignoreSearch',\n converter: webidl.converters.boolean,\n defaultValue: () => false\n },\n {\n key: 'ignoreMethod',\n converter: webidl.converters.boolean,\n defaultValue: () => false\n },\n {\n key: 'ignoreVary',\n converter: webidl.converters.boolean,\n defaultValue: () => false\n }\n]\n\nwebidl.converters.CacheQueryOptions = webidl.dictionaryConverter(cacheQueryOptionConverters)\n\nwebidl.converters.MultiCacheQueryOptions = webidl.dictionaryConverter([\n ...cacheQueryOptionConverters,\n {\n key: 'cacheName',\n converter: webidl.converters.DOMString\n }\n])\n\nwebidl.converters.Response = webidl.interfaceConverter(Response)\n\nwebidl.converters['sequence'] = webidl.sequenceConverter(\n webidl.converters.RequestInfo\n)\n\nmodule.exports = {\n Cache\n}\n","'use strict'\n\nconst { kConstruct } = require('./symbols')\nconst { Cache } = require('./cache')\nconst { webidl } = require('../fetch/webidl')\nconst { kEnumerableProperty } = require('../../core/util')\n\nclass CacheStorage {\n /**\n * @see https://w3c.github.io/ServiceWorker/#dfn-relevant-name-to-cache-map\n * @type {Map}\n */\n async has (cacheName) {\n webidl.brandCheck(this, CacheStorage)\n\n const prefix = 'CacheStorage.has'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n cacheName = webidl.converters.DOMString(cacheName, prefix, 'cacheName')\n\n // 2.1.1\n // 2.2\n return this.#caches.has(cacheName)\n }\n\n /**\n * @see https://w3c.github.io/ServiceWorker/#dom-cachestorage-open\n * @param {string} cacheName\n * @returns {Promise}\n */\n async open (cacheName) {\n webidl.brandCheck(this, CacheStorage)\n\n const prefix = 'CacheStorage.open'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n cacheName = webidl.converters.DOMString(cacheName, prefix, 'cacheName')\n\n // 2.1\n if (this.#caches.has(cacheName)) {\n // await caches.open('v1') !== await caches.open('v1')\n\n // 2.1.1\n const cache = this.#caches.get(cacheName)\n\n // 2.1.1.1\n return new Cache(kConstruct, cache)\n }\n\n // 2.2\n const cache = []\n\n // 2.3\n this.#caches.set(cacheName, cache)\n\n // 2.4\n return new Cache(kConstruct, cache)\n }\n\n /**\n * @see https://w3c.github.io/ServiceWorker/#cache-storage-delete\n * @param {string} cacheName\n * @returns {Promise}\n */\n async delete (cacheName) {\n webidl.brandCheck(this, CacheStorage)\n\n const prefix = 'CacheStorage.delete'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n cacheName = webidl.converters.DOMString(cacheName, prefix, 'cacheName')\n\n return this.#caches.delete(cacheName)\n }\n\n /**\n * @see https://w3c.github.io/ServiceWorker/#cache-storage-keys\n * @returns {Promise}\n */\n async keys () {\n webidl.brandCheck(this, CacheStorage)\n\n // 2.1\n const keys = this.#caches.keys()\n\n // 2.2\n return [...keys]\n }\n}\n\nObject.defineProperties(CacheStorage.prototype, {\n [Symbol.toStringTag]: {\n value: 'CacheStorage',\n configurable: true\n },\n match: kEnumerableProperty,\n has: kEnumerableProperty,\n open: kEnumerableProperty,\n delete: kEnumerableProperty,\n keys: kEnumerableProperty\n})\n\nmodule.exports = {\n CacheStorage\n}\n","'use strict'\n\nmodule.exports = {\n kConstruct: require('../../core/symbols').kConstruct\n}\n","'use strict'\n\nconst assert = require('node:assert')\nconst { URLSerializer } = require('../fetch/data-url')\nconst { isValidHeaderName } = require('../fetch/util')\n\n/**\n * @see https://url.spec.whatwg.org/#concept-url-equals\n * @param {URL} A\n * @param {URL} B\n * @param {boolean | undefined} excludeFragment\n * @returns {boolean}\n */\nfunction urlEquals (A, B, excludeFragment = false) {\n const serializedA = URLSerializer(A, excludeFragment)\n\n const serializedB = URLSerializer(B, excludeFragment)\n\n return serializedA === serializedB\n}\n\n/**\n * @see https://github.com/chromium/chromium/blob/694d20d134cb553d8d89e5500b9148012b1ba299/content/browser/cache_storage/cache_storage_cache.cc#L260-L262\n * @param {string} header\n */\nfunction getFieldValues (header) {\n assert(header !== null)\n\n const values = []\n\n for (let value of header.split(',')) {\n value = value.trim()\n\n if (isValidHeaderName(value)) {\n values.push(value)\n }\n }\n\n return values\n}\n\nmodule.exports = {\n urlEquals,\n getFieldValues\n}\n","'use strict'\n\n// https://wicg.github.io/cookie-store/#cookie-maximum-attribute-value-size\nconst maxAttributeValueSize = 1024\n\n// https://wicg.github.io/cookie-store/#cookie-maximum-name-value-pair-size\nconst maxNameValuePairSize = 4096\n\nmodule.exports = {\n maxAttributeValueSize,\n maxNameValuePairSize\n}\n","'use strict'\n\nconst { parseSetCookie } = require('./parse')\nconst { stringify } = require('./util')\nconst { webidl } = require('../fetch/webidl')\nconst { Headers } = require('../fetch/headers')\n\n/**\n * @typedef {Object} Cookie\n * @property {string} name\n * @property {string} value\n * @property {Date|number|undefined} expires\n * @property {number|undefined} maxAge\n * @property {string|undefined} domain\n * @property {string|undefined} path\n * @property {boolean|undefined} secure\n * @property {boolean|undefined} httpOnly\n * @property {'Strict'|'Lax'|'None'} sameSite\n * @property {string[]} unparsed\n */\n\n/**\n * @param {Headers} headers\n * @returns {Record}\n */\nfunction getCookies (headers) {\n webidl.argumentLengthCheck(arguments, 1, 'getCookies')\n\n webidl.brandCheck(headers, Headers, { strict: false })\n\n const cookie = headers.get('cookie')\n const out = {}\n\n if (!cookie) {\n return out\n }\n\n for (const piece of cookie.split(';')) {\n const [name, ...value] = piece.split('=')\n\n out[name.trim()] = value.join('=')\n }\n\n return out\n}\n\n/**\n * @param {Headers} headers\n * @param {string} name\n * @param {{ path?: string, domain?: string }|undefined} attributes\n * @returns {void}\n */\nfunction deleteCookie (headers, name, attributes) {\n webidl.brandCheck(headers, Headers, { strict: false })\n\n const prefix = 'deleteCookie'\n webidl.argumentLengthCheck(arguments, 2, prefix)\n\n name = webidl.converters.DOMString(name, prefix, 'name')\n attributes = webidl.converters.DeleteCookieAttributes(attributes)\n\n // Matches behavior of\n // https://github.com/denoland/deno_std/blob/63827b16330b82489a04614027c33b7904e08be5/http/cookie.ts#L278\n setCookie(headers, {\n name,\n value: '',\n expires: new Date(0),\n ...attributes\n })\n}\n\n/**\n * @param {Headers} headers\n * @returns {Cookie[]}\n */\nfunction getSetCookies (headers) {\n webidl.argumentLengthCheck(arguments, 1, 'getSetCookies')\n\n webidl.brandCheck(headers, Headers, { strict: false })\n\n const cookies = headers.getSetCookie()\n\n if (!cookies) {\n return []\n }\n\n return cookies.map((pair) => parseSetCookie(pair))\n}\n\n/**\n * @param {Headers} headers\n * @param {Cookie} cookie\n * @returns {void}\n */\nfunction setCookie (headers, cookie) {\n webidl.argumentLengthCheck(arguments, 2, 'setCookie')\n\n webidl.brandCheck(headers, Headers, { strict: false })\n\n cookie = webidl.converters.Cookie(cookie)\n\n const str = stringify(cookie)\n\n if (str) {\n headers.append('Set-Cookie', str)\n }\n}\n\nwebidl.converters.DeleteCookieAttributes = webidl.dictionaryConverter([\n {\n converter: webidl.nullableConverter(webidl.converters.DOMString),\n key: 'path',\n defaultValue: () => null\n },\n {\n converter: webidl.nullableConverter(webidl.converters.DOMString),\n key: 'domain',\n defaultValue: () => null\n }\n])\n\nwebidl.converters.Cookie = webidl.dictionaryConverter([\n {\n converter: webidl.converters.DOMString,\n key: 'name'\n },\n {\n converter: webidl.converters.DOMString,\n key: 'value'\n },\n {\n converter: webidl.nullableConverter((value) => {\n if (typeof value === 'number') {\n return webidl.converters['unsigned long long'](value)\n }\n\n return new Date(value)\n }),\n key: 'expires',\n defaultValue: () => null\n },\n {\n converter: webidl.nullableConverter(webidl.converters['long long']),\n key: 'maxAge',\n defaultValue: () => null\n },\n {\n converter: webidl.nullableConverter(webidl.converters.DOMString),\n key: 'domain',\n defaultValue: () => null\n },\n {\n converter: webidl.nullableConverter(webidl.converters.DOMString),\n key: 'path',\n defaultValue: () => null\n },\n {\n converter: webidl.nullableConverter(webidl.converters.boolean),\n key: 'secure',\n defaultValue: () => null\n },\n {\n converter: webidl.nullableConverter(webidl.converters.boolean),\n key: 'httpOnly',\n defaultValue: () => null\n },\n {\n converter: webidl.converters.USVString,\n key: 'sameSite',\n allowedValues: ['Strict', 'Lax', 'None']\n },\n {\n converter: webidl.sequenceConverter(webidl.converters.DOMString),\n key: 'unparsed',\n defaultValue: () => new Array(0)\n }\n])\n\nmodule.exports = {\n getCookies,\n deleteCookie,\n getSetCookies,\n setCookie\n}\n","'use strict'\n\nconst { maxNameValuePairSize, maxAttributeValueSize } = require('./constants')\nconst { isCTLExcludingHtab } = require('./util')\nconst { collectASequenceOfCodePointsFast } = require('../fetch/data-url')\nconst assert = require('node:assert')\n\n/**\n * @description Parses the field-value attributes of a set-cookie header string.\n * @see https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis#section-5.4\n * @param {string} header\n * @returns if the header is invalid, null will be returned\n */\nfunction parseSetCookie (header) {\n // 1. If the set-cookie-string contains a %x00-08 / %x0A-1F / %x7F\n // character (CTL characters excluding HTAB): Abort these steps and\n // ignore the set-cookie-string entirely.\n if (isCTLExcludingHtab(header)) {\n return null\n }\n\n let nameValuePair = ''\n let unparsedAttributes = ''\n let name = ''\n let value = ''\n\n // 2. If the set-cookie-string contains a %x3B (\";\") character:\n if (header.includes(';')) {\n // 1. The name-value-pair string consists of the characters up to,\n // but not including, the first %x3B (\";\"), and the unparsed-\n // attributes consist of the remainder of the set-cookie-string\n // (including the %x3B (\";\") in question).\n const position = { position: 0 }\n\n nameValuePair = collectASequenceOfCodePointsFast(';', header, position)\n unparsedAttributes = header.slice(position.position)\n } else {\n // Otherwise:\n\n // 1. The name-value-pair string consists of all the characters\n // contained in the set-cookie-string, and the unparsed-\n // attributes is the empty string.\n nameValuePair = header\n }\n\n // 3. If the name-value-pair string lacks a %x3D (\"=\") character, then\n // the name string is empty, and the value string is the value of\n // name-value-pair.\n if (!nameValuePair.includes('=')) {\n value = nameValuePair\n } else {\n // Otherwise, the name string consists of the characters up to, but\n // not including, the first %x3D (\"=\") character, and the (possibly\n // empty) value string consists of the characters after the first\n // %x3D (\"=\") character.\n const position = { position: 0 }\n name = collectASequenceOfCodePointsFast(\n '=',\n nameValuePair,\n position\n )\n value = nameValuePair.slice(position.position + 1)\n }\n\n // 4. Remove any leading or trailing WSP characters from the name\n // string and the value string.\n name = name.trim()\n value = value.trim()\n\n // 5. If the sum of the lengths of the name string and the value string\n // is more than 4096 octets, abort these steps and ignore the set-\n // cookie-string entirely.\n if (name.length + value.length > maxNameValuePairSize) {\n return null\n }\n\n // 6. The cookie-name is the name string, and the cookie-value is the\n // value string.\n return {\n name, value, ...parseUnparsedAttributes(unparsedAttributes)\n }\n}\n\n/**\n * Parses the remaining attributes of a set-cookie header\n * @see https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis#section-5.4\n * @param {string} unparsedAttributes\n * @param {[Object.]={}} cookieAttributeList\n */\nfunction parseUnparsedAttributes (unparsedAttributes, cookieAttributeList = {}) {\n // 1. If the unparsed-attributes string is empty, skip the rest of\n // these steps.\n if (unparsedAttributes.length === 0) {\n return cookieAttributeList\n }\n\n // 2. Discard the first character of the unparsed-attributes (which\n // will be a %x3B (\";\") character).\n assert(unparsedAttributes[0] === ';')\n unparsedAttributes = unparsedAttributes.slice(1)\n\n let cookieAv = ''\n\n // 3. If the remaining unparsed-attributes contains a %x3B (\";\")\n // character:\n if (unparsedAttributes.includes(';')) {\n // 1. Consume the characters of the unparsed-attributes up to, but\n // not including, the first %x3B (\";\") character.\n cookieAv = collectASequenceOfCodePointsFast(\n ';',\n unparsedAttributes,\n { position: 0 }\n )\n unparsedAttributes = unparsedAttributes.slice(cookieAv.length)\n } else {\n // Otherwise:\n\n // 1. Consume the remainder of the unparsed-attributes.\n cookieAv = unparsedAttributes\n unparsedAttributes = ''\n }\n\n // Let the cookie-av string be the characters consumed in this step.\n\n let attributeName = ''\n let attributeValue = ''\n\n // 4. If the cookie-av string contains a %x3D (\"=\") character:\n if (cookieAv.includes('=')) {\n // 1. The (possibly empty) attribute-name string consists of the\n // characters up to, but not including, the first %x3D (\"=\")\n // character, and the (possibly empty) attribute-value string\n // consists of the characters after the first %x3D (\"=\")\n // character.\n const position = { position: 0 }\n\n attributeName = collectASequenceOfCodePointsFast(\n '=',\n cookieAv,\n position\n )\n attributeValue = cookieAv.slice(position.position + 1)\n } else {\n // Otherwise:\n\n // 1. The attribute-name string consists of the entire cookie-av\n // string, and the attribute-value string is empty.\n attributeName = cookieAv\n }\n\n // 5. Remove any leading or trailing WSP characters from the attribute-\n // name string and the attribute-value string.\n attributeName = attributeName.trim()\n attributeValue = attributeValue.trim()\n\n // 6. If the attribute-value is longer than 1024 octets, ignore the\n // cookie-av string and return to Step 1 of this algorithm.\n if (attributeValue.length > maxAttributeValueSize) {\n return parseUnparsedAttributes(unparsedAttributes, cookieAttributeList)\n }\n\n // 7. Process the attribute-name and attribute-value according to the\n // requirements in the following subsections. (Notice that\n // attributes with unrecognized attribute-names are ignored.)\n const attributeNameLowercase = attributeName.toLowerCase()\n\n // https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis#section-5.4.1\n // If the attribute-name case-insensitively matches the string\n // \"Expires\", the user agent MUST process the cookie-av as follows.\n if (attributeNameLowercase === 'expires') {\n // 1. Let the expiry-time be the result of parsing the attribute-value\n // as cookie-date (see Section 5.1.1).\n const expiryTime = new Date(attributeValue)\n\n // 2. If the attribute-value failed to parse as a cookie date, ignore\n // the cookie-av.\n\n cookieAttributeList.expires = expiryTime\n } else if (attributeNameLowercase === 'max-age') {\n // https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis#section-5.4.2\n // If the attribute-name case-insensitively matches the string \"Max-\n // Age\", the user agent MUST process the cookie-av as follows.\n\n // 1. If the first character of the attribute-value is not a DIGIT or a\n // \"-\" character, ignore the cookie-av.\n const charCode = attributeValue.charCodeAt(0)\n\n if ((charCode < 48 || charCode > 57) && attributeValue[0] !== '-') {\n return parseUnparsedAttributes(unparsedAttributes, cookieAttributeList)\n }\n\n // 2. If the remainder of attribute-value contains a non-DIGIT\n // character, ignore the cookie-av.\n if (!/^\\d+$/.test(attributeValue)) {\n return parseUnparsedAttributes(unparsedAttributes, cookieAttributeList)\n }\n\n // 3. Let delta-seconds be the attribute-value converted to an integer.\n const deltaSeconds = Number(attributeValue)\n\n // 4. Let cookie-age-limit be the maximum age of the cookie (which\n // SHOULD be 400 days or less, see Section 4.1.2.2).\n\n // 5. Set delta-seconds to the smaller of its present value and cookie-\n // age-limit.\n // deltaSeconds = Math.min(deltaSeconds * 1000, maxExpiresMs)\n\n // 6. If delta-seconds is less than or equal to zero (0), let expiry-\n // time be the earliest representable date and time. Otherwise, let\n // the expiry-time be the current date and time plus delta-seconds\n // seconds.\n // const expiryTime = deltaSeconds <= 0 ? Date.now() : Date.now() + deltaSeconds\n\n // 7. Append an attribute to the cookie-attribute-list with an\n // attribute-name of Max-Age and an attribute-value of expiry-time.\n cookieAttributeList.maxAge = deltaSeconds\n } else if (attributeNameLowercase === 'domain') {\n // https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis#section-5.4.3\n // If the attribute-name case-insensitively matches the string \"Domain\",\n // the user agent MUST process the cookie-av as follows.\n\n // 1. Let cookie-domain be the attribute-value.\n let cookieDomain = attributeValue\n\n // 2. If cookie-domain starts with %x2E (\".\"), let cookie-domain be\n // cookie-domain without its leading %x2E (\".\").\n if (cookieDomain[0] === '.') {\n cookieDomain = cookieDomain.slice(1)\n }\n\n // 3. Convert the cookie-domain to lower case.\n cookieDomain = cookieDomain.toLowerCase()\n\n // 4. Append an attribute to the cookie-attribute-list with an\n // attribute-name of Domain and an attribute-value of cookie-domain.\n cookieAttributeList.domain = cookieDomain\n } else if (attributeNameLowercase === 'path') {\n // https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis#section-5.4.4\n // If the attribute-name case-insensitively matches the string \"Path\",\n // the user agent MUST process the cookie-av as follows.\n\n // 1. If the attribute-value is empty or if the first character of the\n // attribute-value is not %x2F (\"/\"):\n let cookiePath = ''\n if (attributeValue.length === 0 || attributeValue[0] !== '/') {\n // 1. Let cookie-path be the default-path.\n cookiePath = '/'\n } else {\n // Otherwise:\n\n // 1. Let cookie-path be the attribute-value.\n cookiePath = attributeValue\n }\n\n // 2. Append an attribute to the cookie-attribute-list with an\n // attribute-name of Path and an attribute-value of cookie-path.\n cookieAttributeList.path = cookiePath\n } else if (attributeNameLowercase === 'secure') {\n // https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis#section-5.4.5\n // If the attribute-name case-insensitively matches the string \"Secure\",\n // the user agent MUST append an attribute to the cookie-attribute-list\n // with an attribute-name of Secure and an empty attribute-value.\n\n cookieAttributeList.secure = true\n } else if (attributeNameLowercase === 'httponly') {\n // https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis#section-5.4.6\n // If the attribute-name case-insensitively matches the string\n // \"HttpOnly\", the user agent MUST append an attribute to the cookie-\n // attribute-list with an attribute-name of HttpOnly and an empty\n // attribute-value.\n\n cookieAttributeList.httpOnly = true\n } else if (attributeNameLowercase === 'samesite') {\n // https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-rfc6265bis#section-5.4.7\n // If the attribute-name case-insensitively matches the string\n // \"SameSite\", the user agent MUST process the cookie-av as follows:\n\n // 1. Let enforcement be \"Default\".\n let enforcement = 'Default'\n\n const attributeValueLowercase = attributeValue.toLowerCase()\n // 2. If cookie-av's attribute-value is a case-insensitive match for\n // \"None\", set enforcement to \"None\".\n if (attributeValueLowercase.includes('none')) {\n enforcement = 'None'\n }\n\n // 3. If cookie-av's attribute-value is a case-insensitive match for\n // \"Strict\", set enforcement to \"Strict\".\n if (attributeValueLowercase.includes('strict')) {\n enforcement = 'Strict'\n }\n\n // 4. If cookie-av's attribute-value is a case-insensitive match for\n // \"Lax\", set enforcement to \"Lax\".\n if (attributeValueLowercase.includes('lax')) {\n enforcement = 'Lax'\n }\n\n // 5. Append an attribute to the cookie-attribute-list with an\n // attribute-name of \"SameSite\" and an attribute-value of\n // enforcement.\n cookieAttributeList.sameSite = enforcement\n } else {\n cookieAttributeList.unparsed ??= []\n\n cookieAttributeList.unparsed.push(`${attributeName}=${attributeValue}`)\n }\n\n // 8. Return to Step 1 of this algorithm.\n return parseUnparsedAttributes(unparsedAttributes, cookieAttributeList)\n}\n\nmodule.exports = {\n parseSetCookie,\n parseUnparsedAttributes\n}\n","'use strict'\n\n/**\n * @param {string} value\n * @returns {boolean}\n */\nfunction isCTLExcludingHtab (value) {\n for (let i = 0; i < value.length; ++i) {\n const code = value.charCodeAt(i)\n\n if (\n (code >= 0x00 && code <= 0x08) ||\n (code >= 0x0A && code <= 0x1F) ||\n code === 0x7F\n ) {\n return true\n }\n }\n return false\n}\n\n/**\n CHAR = \n token = 1*\n separators = \"(\" | \")\" | \"<\" | \">\" | \"@\"\n | \",\" | \";\" | \":\" | \"\\\" | <\">\n | \"/\" | \"[\" | \"]\" | \"?\" | \"=\"\n | \"{\" | \"}\" | SP | HT\n * @param {string} name\n */\nfunction validateCookieName (name) {\n for (let i = 0; i < name.length; ++i) {\n const code = name.charCodeAt(i)\n\n if (\n code < 0x21 || // exclude CTLs (0-31), SP and HT\n code > 0x7E || // exclude non-ascii and DEL\n code === 0x22 || // \"\n code === 0x28 || // (\n code === 0x29 || // )\n code === 0x3C || // <\n code === 0x3E || // >\n code === 0x40 || // @\n code === 0x2C || // ,\n code === 0x3B || // ;\n code === 0x3A || // :\n code === 0x5C || // \\\n code === 0x2F || // /\n code === 0x5B || // [\n code === 0x5D || // ]\n code === 0x3F || // ?\n code === 0x3D || // =\n code === 0x7B || // {\n code === 0x7D // }\n ) {\n throw new Error('Invalid cookie name')\n }\n }\n}\n\n/**\n cookie-value = *cookie-octet / ( DQUOTE *cookie-octet DQUOTE )\n cookie-octet = %x21 / %x23-2B / %x2D-3A / %x3C-5B / %x5D-7E\n ; US-ASCII characters excluding CTLs,\n ; whitespace DQUOTE, comma, semicolon,\n ; and backslash\n * @param {string} value\n */\nfunction validateCookieValue (value) {\n let len = value.length\n let i = 0\n\n // if the value is wrapped in DQUOTE\n if (value[0] === '\"') {\n if (len === 1 || value[len - 1] !== '\"') {\n throw new Error('Invalid cookie value')\n }\n --len\n ++i\n }\n\n while (i < len) {\n const code = value.charCodeAt(i++)\n\n if (\n code < 0x21 || // exclude CTLs (0-31)\n code > 0x7E || // non-ascii and DEL (127)\n code === 0x22 || // \"\n code === 0x2C || // ,\n code === 0x3B || // ;\n code === 0x5C // \\\n ) {\n throw new Error('Invalid cookie value')\n }\n }\n}\n\n/**\n * path-value = \n * @param {string} path\n */\nfunction validateCookiePath (path) {\n for (let i = 0; i < path.length; ++i) {\n const code = path.charCodeAt(i)\n\n if (\n code < 0x20 || // exclude CTLs (0-31)\n code === 0x7F || // DEL\n code === 0x3B // ;\n ) {\n throw new Error('Invalid cookie path')\n }\n }\n}\n\n/**\n * I have no idea why these values aren't allowed to be honest,\n * but Deno tests these. - Khafra\n * @param {string} domain\n */\nfunction validateCookieDomain (domain) {\n if (\n domain.startsWith('-') ||\n domain.endsWith('.') ||\n domain.endsWith('-')\n ) {\n throw new Error('Invalid cookie domain')\n }\n}\n\nconst IMFDays = [\n 'Sun', 'Mon', 'Tue', 'Wed',\n 'Thu', 'Fri', 'Sat'\n]\n\nconst IMFMonths = [\n 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',\n 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'\n]\n\nconst IMFPaddedNumbers = Array(61).fill(0).map((_, i) => i.toString().padStart(2, '0'))\n\n/**\n * @see https://www.rfc-editor.org/rfc/rfc7231#section-7.1.1.1\n * @param {number|Date} date\n IMF-fixdate = day-name \",\" SP date1 SP time-of-day SP GMT\n ; fixed length/zone/capitalization subset of the format\n ; see Section 3.3 of [RFC5322]\n\n day-name = %x4D.6F.6E ; \"Mon\", case-sensitive\n / %x54.75.65 ; \"Tue\", case-sensitive\n / %x57.65.64 ; \"Wed\", case-sensitive\n / %x54.68.75 ; \"Thu\", case-sensitive\n / %x46.72.69 ; \"Fri\", case-sensitive\n / %x53.61.74 ; \"Sat\", case-sensitive\n / %x53.75.6E ; \"Sun\", case-sensitive\n date1 = day SP month SP year\n ; e.g., 02 Jun 1982\n\n day = 2DIGIT\n month = %x4A.61.6E ; \"Jan\", case-sensitive\n / %x46.65.62 ; \"Feb\", case-sensitive\n / %x4D.61.72 ; \"Mar\", case-sensitive\n / %x41.70.72 ; \"Apr\", case-sensitive\n / %x4D.61.79 ; \"May\", case-sensitive\n / %x4A.75.6E ; \"Jun\", case-sensitive\n / %x4A.75.6C ; \"Jul\", case-sensitive\n / %x41.75.67 ; \"Aug\", case-sensitive\n / %x53.65.70 ; \"Sep\", case-sensitive\n / %x4F.63.74 ; \"Oct\", case-sensitive\n / %x4E.6F.76 ; \"Nov\", case-sensitive\n / %x44.65.63 ; \"Dec\", case-sensitive\n year = 4DIGIT\n\n GMT = %x47.4D.54 ; \"GMT\", case-sensitive\n\n time-of-day = hour \":\" minute \":\" second\n ; 00:00:00 - 23:59:60 (leap second)\n\n hour = 2DIGIT\n minute = 2DIGIT\n second = 2DIGIT\n */\nfunction toIMFDate (date) {\n if (typeof date === 'number') {\n date = new Date(date)\n }\n\n return `${IMFDays[date.getUTCDay()]}, ${IMFPaddedNumbers[date.getUTCDate()]} ${IMFMonths[date.getUTCMonth()]} ${date.getUTCFullYear()} ${IMFPaddedNumbers[date.getUTCHours()]}:${IMFPaddedNumbers[date.getUTCMinutes()]}:${IMFPaddedNumbers[date.getUTCSeconds()]} GMT`\n}\n\n/**\n max-age-av = \"Max-Age=\" non-zero-digit *DIGIT\n ; In practice, both expires-av and max-age-av\n ; are limited to dates representable by the\n ; user agent.\n * @param {number} maxAge\n */\nfunction validateCookieMaxAge (maxAge) {\n if (maxAge < 0) {\n throw new Error('Invalid cookie max-age')\n }\n}\n\n/**\n * @see https://www.rfc-editor.org/rfc/rfc6265#section-4.1.1\n * @param {import('./index').Cookie} cookie\n */\nfunction stringify (cookie) {\n if (cookie.name.length === 0) {\n return null\n }\n\n validateCookieName(cookie.name)\n validateCookieValue(cookie.value)\n\n const out = [`${cookie.name}=${cookie.value}`]\n\n // https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-cookie-prefixes-00#section-3.1\n // https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-cookie-prefixes-00#section-3.2\n if (cookie.name.startsWith('__Secure-')) {\n cookie.secure = true\n }\n\n if (cookie.name.startsWith('__Host-')) {\n cookie.secure = true\n cookie.domain = null\n cookie.path = '/'\n }\n\n if (cookie.secure) {\n out.push('Secure')\n }\n\n if (cookie.httpOnly) {\n out.push('HttpOnly')\n }\n\n if (typeof cookie.maxAge === 'number') {\n validateCookieMaxAge(cookie.maxAge)\n out.push(`Max-Age=${cookie.maxAge}`)\n }\n\n if (cookie.domain) {\n validateCookieDomain(cookie.domain)\n out.push(`Domain=${cookie.domain}`)\n }\n\n if (cookie.path) {\n validateCookiePath(cookie.path)\n out.push(`Path=${cookie.path}`)\n }\n\n if (cookie.expires && cookie.expires.toString() !== 'Invalid Date') {\n out.push(`Expires=${toIMFDate(cookie.expires)}`)\n }\n\n if (cookie.sameSite) {\n out.push(`SameSite=${cookie.sameSite}`)\n }\n\n for (const part of cookie.unparsed) {\n if (!part.includes('=')) {\n throw new Error('Invalid unparsed')\n }\n\n const [key, ...value] = part.split('=')\n\n out.push(`${key.trim()}=${value.join('=')}`)\n }\n\n return out.join('; ')\n}\n\nmodule.exports = {\n isCTLExcludingHtab,\n validateCookieName,\n validateCookiePath,\n validateCookieValue,\n toIMFDate,\n stringify\n}\n","'use strict'\nconst { Transform } = require('node:stream')\nconst { isASCIINumber, isValidLastEventId } = require('./util')\n\n/**\n * @type {number[]} BOM\n */\nconst BOM = [0xEF, 0xBB, 0xBF]\n/**\n * @type {10} LF\n */\nconst LF = 0x0A\n/**\n * @type {13} CR\n */\nconst CR = 0x0D\n/**\n * @type {58} COLON\n */\nconst COLON = 0x3A\n/**\n * @type {32} SPACE\n */\nconst SPACE = 0x20\n\n/**\n * @typedef {object} EventSourceStreamEvent\n * @type {object}\n * @property {string} [event] The event type.\n * @property {string} [data] The data of the message.\n * @property {string} [id] A unique ID for the event.\n * @property {string} [retry] The reconnection time, in milliseconds.\n */\n\n/**\n * @typedef eventSourceSettings\n * @type {object}\n * @property {string} lastEventId The last event ID received from the server.\n * @property {string} origin The origin of the event source.\n * @property {number} reconnectionTime The reconnection time, in milliseconds.\n */\n\nclass EventSourceStream extends Transform {\n /**\n * @type {eventSourceSettings}\n */\n state = null\n\n /**\n * Leading byte-order-mark check.\n * @type {boolean}\n */\n checkBOM = true\n\n /**\n * @type {boolean}\n */\n crlfCheck = false\n\n /**\n * @type {boolean}\n */\n eventEndCheck = false\n\n /**\n * @type {Buffer}\n */\n buffer = null\n\n pos = 0\n\n event = {\n data: undefined,\n event: undefined,\n id: undefined,\n retry: undefined\n }\n\n /**\n * @param {object} options\n * @param {eventSourceSettings} options.eventSourceSettings\n * @param {Function} [options.push]\n */\n constructor (options = {}) {\n // Enable object mode as EventSourceStream emits objects of shape\n // EventSourceStreamEvent\n options.readableObjectMode = true\n\n super(options)\n\n this.state = options.eventSourceSettings || {}\n if (options.push) {\n this.push = options.push\n }\n }\n\n /**\n * @param {Buffer} chunk\n * @param {string} _encoding\n * @param {Function} callback\n * @returns {void}\n */\n _transform (chunk, _encoding, callback) {\n if (chunk.length === 0) {\n callback()\n return\n }\n\n // Cache the chunk in the buffer, as the data might not be complete while\n // processing it\n // TODO: Investigate if there is a more performant way to handle\n // incoming chunks\n // see: https://github.com/nodejs/undici/issues/2630\n if (this.buffer) {\n this.buffer = Buffer.concat([this.buffer, chunk])\n } else {\n this.buffer = chunk\n }\n\n // Strip leading byte-order-mark if we opened the stream and started\n // the processing of the incoming data\n if (this.checkBOM) {\n switch (this.buffer.length) {\n case 1:\n // Check if the first byte is the same as the first byte of the BOM\n if (this.buffer[0] === BOM[0]) {\n // If it is, we need to wait for more data\n callback()\n return\n }\n // Set the checkBOM flag to false as we don't need to check for the\n // BOM anymore\n this.checkBOM = false\n\n // The buffer only contains one byte so we need to wait for more data\n callback()\n return\n case 2:\n // Check if the first two bytes are the same as the first two bytes\n // of the BOM\n if (\n this.buffer[0] === BOM[0] &&\n this.buffer[1] === BOM[1]\n ) {\n // If it is, we need to wait for more data, because the third byte\n // is needed to determine if it is the BOM or not\n callback()\n return\n }\n\n // Set the checkBOM flag to false as we don't need to check for the\n // BOM anymore\n this.checkBOM = false\n break\n case 3:\n // Check if the first three bytes are the same as the first three\n // bytes of the BOM\n if (\n this.buffer[0] === BOM[0] &&\n this.buffer[1] === BOM[1] &&\n this.buffer[2] === BOM[2]\n ) {\n // If it is, we can drop the buffered data, as it is only the BOM\n this.buffer = Buffer.alloc(0)\n // Set the checkBOM flag to false as we don't need to check for the\n // BOM anymore\n this.checkBOM = false\n\n // Await more data\n callback()\n return\n }\n // If it is not the BOM, we can start processing the data\n this.checkBOM = false\n break\n default:\n // The buffer is longer than 3 bytes, so we can drop the BOM if it is\n // present\n if (\n this.buffer[0] === BOM[0] &&\n this.buffer[1] === BOM[1] &&\n this.buffer[2] === BOM[2]\n ) {\n // Remove the BOM from the buffer\n this.buffer = this.buffer.subarray(3)\n }\n\n // Set the checkBOM flag to false as we don't need to check for the\n this.checkBOM = false\n break\n }\n }\n\n while (this.pos < this.buffer.length) {\n // If the previous line ended with an end-of-line, we need to check\n // if the next character is also an end-of-line.\n if (this.eventEndCheck) {\n // If the the current character is an end-of-line, then the event\n // is finished and we can process it\n\n // If the previous line ended with a carriage return, we need to\n // check if the current character is a line feed and remove it\n // from the buffer.\n if (this.crlfCheck) {\n // If the current character is a line feed, we can remove it\n // from the buffer and reset the crlfCheck flag\n if (this.buffer[this.pos] === LF) {\n this.buffer = this.buffer.subarray(this.pos + 1)\n this.pos = 0\n this.crlfCheck = false\n\n // It is possible that the line feed is not the end of the\n // event. We need to check if the next character is an\n // end-of-line character to determine if the event is\n // finished. We simply continue the loop to check the next\n // character.\n\n // As we removed the line feed from the buffer and set the\n // crlfCheck flag to false, we basically don't make any\n // distinction between a line feed and a carriage return.\n continue\n }\n this.crlfCheck = false\n }\n\n if (this.buffer[this.pos] === LF || this.buffer[this.pos] === CR) {\n // If the current character is a carriage return, we need to\n // set the crlfCheck flag to true, as we need to check if the\n // next character is a line feed so we can remove it from the\n // buffer\n if (this.buffer[this.pos] === CR) {\n this.crlfCheck = true\n }\n\n this.buffer = this.buffer.subarray(this.pos + 1)\n this.pos = 0\n if (\n this.event.data !== undefined || this.event.event || this.event.id || this.event.retry) {\n this.processEvent(this.event)\n }\n this.clearEvent()\n continue\n }\n // If the current character is not an end-of-line, then the event\n // is not finished and we have to reset the eventEndCheck flag\n this.eventEndCheck = false\n continue\n }\n\n // If the current character is an end-of-line, we can process the\n // line\n if (this.buffer[this.pos] === LF || this.buffer[this.pos] === CR) {\n // If the current character is a carriage return, we need to\n // set the crlfCheck flag to true, as we need to check if the\n // next character is a line feed\n if (this.buffer[this.pos] === CR) {\n this.crlfCheck = true\n }\n\n // In any case, we can process the line as we reached an\n // end-of-line character\n this.parseLine(this.buffer.subarray(0, this.pos), this.event)\n\n // Remove the processed line from the buffer\n this.buffer = this.buffer.subarray(this.pos + 1)\n // Reset the position as we removed the processed line from the buffer\n this.pos = 0\n // A line was processed and this could be the end of the event. We need\n // to check if the next line is empty to determine if the event is\n // finished.\n this.eventEndCheck = true\n continue\n }\n\n this.pos++\n }\n\n callback()\n }\n\n /**\n * @param {Buffer} line\n * @param {EventStreamEvent} event\n */\n parseLine (line, event) {\n // If the line is empty (a blank line)\n // Dispatch the event, as defined below.\n // This will be handled in the _transform method\n if (line.length === 0) {\n return\n }\n\n // If the line starts with a U+003A COLON character (:)\n // Ignore the line.\n const colonPosition = line.indexOf(COLON)\n if (colonPosition === 0) {\n return\n }\n\n let field = ''\n let value = ''\n\n // If the line contains a U+003A COLON character (:)\n if (colonPosition !== -1) {\n // Collect the characters on the line before the first U+003A COLON\n // character (:), and let field be that string.\n // TODO: Investigate if there is a more performant way to extract the\n // field\n // see: https://github.com/nodejs/undici/issues/2630\n field = line.subarray(0, colonPosition).toString('utf8')\n\n // Collect the characters on the line after the first U+003A COLON\n // character (:), and let value be that string.\n // If value starts with a U+0020 SPACE character, remove it from value.\n let valueStart = colonPosition + 1\n if (line[valueStart] === SPACE) {\n ++valueStart\n }\n // TODO: Investigate if there is a more performant way to extract the\n // value\n // see: https://github.com/nodejs/undici/issues/2630\n value = line.subarray(valueStart).toString('utf8')\n\n // Otherwise, the string is not empty but does not contain a U+003A COLON\n // character (:)\n } else {\n // Process the field using the steps described below, using the whole\n // line as the field name, and the empty string as the field value.\n field = line.toString('utf8')\n value = ''\n }\n\n // Modify the event with the field name and value. The value is also\n // decoded as UTF-8\n switch (field) {\n case 'data':\n if (event[field] === undefined) {\n event[field] = value\n } else {\n event[field] += `\\n${value}`\n }\n break\n case 'retry':\n if (isASCIINumber(value)) {\n event[field] = value\n }\n break\n case 'id':\n if (isValidLastEventId(value)) {\n event[field] = value\n }\n break\n case 'event':\n if (value.length > 0) {\n event[field] = value\n }\n break\n }\n }\n\n /**\n * @param {EventSourceStreamEvent} event\n */\n processEvent (event) {\n if (event.retry && isASCIINumber(event.retry)) {\n this.state.reconnectionTime = parseInt(event.retry, 10)\n }\n\n if (event.id && isValidLastEventId(event.id)) {\n this.state.lastEventId = event.id\n }\n\n // only dispatch event, when data is provided\n if (event.data !== undefined) {\n this.push({\n type: event.event || 'message',\n options: {\n data: event.data,\n lastEventId: this.state.lastEventId,\n origin: this.state.origin\n }\n })\n }\n }\n\n clearEvent () {\n this.event = {\n data: undefined,\n event: undefined,\n id: undefined,\n retry: undefined\n }\n }\n}\n\nmodule.exports = {\n EventSourceStream\n}\n","'use strict'\n\nconst { pipeline } = require('node:stream')\nconst { fetching } = require('../fetch')\nconst { makeRequest } = require('../fetch/request')\nconst { webidl } = require('../fetch/webidl')\nconst { EventSourceStream } = require('./eventsource-stream')\nconst { parseMIMEType } = require('../fetch/data-url')\nconst { createFastMessageEvent } = require('../websocket/events')\nconst { isNetworkError } = require('../fetch/response')\nconst { delay } = require('./util')\nconst { kEnumerableProperty } = require('../../core/util')\nconst { environmentSettingsObject } = require('../fetch/util')\n\nlet experimentalWarned = false\n\n/**\n * A reconnection time, in milliseconds. This must initially be an implementation-defined value,\n * probably in the region of a few seconds.\n *\n * In Comparison:\n * - Chrome uses 3000ms.\n * - Deno uses 5000ms.\n *\n * @type {3000}\n */\nconst defaultReconnectionTime = 3000\n\n/**\n * The readyState attribute represents the state of the connection.\n * @enum\n * @readonly\n * @see https://html.spec.whatwg.org/multipage/server-sent-events.html#dom-eventsource-readystate-dev\n */\n\n/**\n * The connection has not yet been established, or it was closed and the user\n * agent is reconnecting.\n * @type {0}\n */\nconst CONNECTING = 0\n\n/**\n * The user agent has an open connection and is dispatching events as it\n * receives them.\n * @type {1}\n */\nconst OPEN = 1\n\n/**\n * The connection is not open, and the user agent is not trying to reconnect.\n * @type {2}\n */\nconst CLOSED = 2\n\n/**\n * Requests for the element will have their mode set to \"cors\" and their credentials mode set to \"same-origin\".\n * @type {'anonymous'}\n */\nconst ANONYMOUS = 'anonymous'\n\n/**\n * Requests for the element will have their mode set to \"cors\" and their credentials mode set to \"include\".\n * @type {'use-credentials'}\n */\nconst USE_CREDENTIALS = 'use-credentials'\n\n/**\n * The EventSource interface is used to receive server-sent events. It\n * connects to a server over HTTP and receives events in text/event-stream\n * format without closing the connection.\n * @extends {EventTarget}\n * @see https://html.spec.whatwg.org/multipage/server-sent-events.html#server-sent-events\n * @api public\n */\nclass EventSource extends EventTarget {\n #events = {\n open: null,\n error: null,\n message: null\n }\n\n #url = null\n #withCredentials = false\n\n #readyState = CONNECTING\n\n #request = null\n #controller = null\n\n #dispatcher\n\n /**\n * @type {import('./eventsource-stream').eventSourceSettings}\n */\n #state\n\n /**\n * Creates a new EventSource object.\n * @param {string} url\n * @param {EventSourceInit} [eventSourceInitDict]\n * @see https://html.spec.whatwg.org/multipage/server-sent-events.html#the-eventsource-interface\n */\n constructor (url, eventSourceInitDict = {}) {\n // 1. Let ev be a new EventSource object.\n super()\n\n webidl.util.markAsUncloneable(this)\n\n const prefix = 'EventSource constructor'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n if (!experimentalWarned) {\n experimentalWarned = true\n process.emitWarning('EventSource is experimental, expect them to change at any time.', {\n code: 'UNDICI-ES'\n })\n }\n\n url = webidl.converters.USVString(url, prefix, 'url')\n eventSourceInitDict = webidl.converters.EventSourceInitDict(eventSourceInitDict, prefix, 'eventSourceInitDict')\n\n this.#dispatcher = eventSourceInitDict.dispatcher\n this.#state = {\n lastEventId: '',\n reconnectionTime: defaultReconnectionTime\n }\n\n // 2. Let settings be ev's relevant settings object.\n // https://html.spec.whatwg.org/multipage/webappapis.html#environment-settings-object\n const settings = environmentSettingsObject\n\n let urlRecord\n\n try {\n // 3. Let urlRecord be the result of encoding-parsing a URL given url, relative to settings.\n urlRecord = new URL(url, settings.settingsObject.baseUrl)\n this.#state.origin = urlRecord.origin\n } catch (e) {\n // 4. If urlRecord is failure, then throw a \"SyntaxError\" DOMException.\n throw new DOMException(e, 'SyntaxError')\n }\n\n // 5. Set ev's url to urlRecord.\n this.#url = urlRecord.href\n\n // 6. Let corsAttributeState be Anonymous.\n let corsAttributeState = ANONYMOUS\n\n // 7. If the value of eventSourceInitDict's withCredentials member is true,\n // then set corsAttributeState to Use Credentials and set ev's\n // withCredentials attribute to true.\n if (eventSourceInitDict.withCredentials) {\n corsAttributeState = USE_CREDENTIALS\n this.#withCredentials = true\n }\n\n // 8. Let request be the result of creating a potential-CORS request given\n // urlRecord, the empty string, and corsAttributeState.\n const initRequest = {\n redirect: 'follow',\n keepalive: true,\n // @see https://html.spec.whatwg.org/multipage/urls-and-fetching.html#cors-settings-attributes\n mode: 'cors',\n credentials: corsAttributeState === 'anonymous'\n ? 'same-origin'\n : 'omit',\n referrer: 'no-referrer'\n }\n\n // 9. Set request's client to settings.\n initRequest.client = environmentSettingsObject.settingsObject\n\n // 10. User agents may set (`Accept`, `text/event-stream`) in request's header list.\n initRequest.headersList = [['accept', { name: 'accept', value: 'text/event-stream' }]]\n\n // 11. Set request's cache mode to \"no-store\".\n initRequest.cache = 'no-store'\n\n // 12. Set request's initiator type to \"other\".\n initRequest.initiator = 'other'\n\n initRequest.urlList = [new URL(this.#url)]\n\n // 13. Set ev's request to request.\n this.#request = makeRequest(initRequest)\n\n this.#connect()\n }\n\n /**\n * Returns the state of this EventSource object's connection. It can have the\n * values described below.\n * @returns {0|1|2}\n * @readonly\n */\n get readyState () {\n return this.#readyState\n }\n\n /**\n * Returns the URL providing the event stream.\n * @readonly\n * @returns {string}\n */\n get url () {\n return this.#url\n }\n\n /**\n * Returns a boolean indicating whether the EventSource object was\n * instantiated with CORS credentials set (true), or not (false, the default).\n */\n get withCredentials () {\n return this.#withCredentials\n }\n\n #connect () {\n if (this.#readyState === CLOSED) return\n\n this.#readyState = CONNECTING\n\n const fetchParams = {\n request: this.#request,\n dispatcher: this.#dispatcher\n }\n\n // 14. Let processEventSourceEndOfBody given response res be the following step: if res is not a network error, then reestablish the connection.\n const processEventSourceEndOfBody = (response) => {\n if (isNetworkError(response)) {\n this.dispatchEvent(new Event('error'))\n this.close()\n }\n\n this.#reconnect()\n }\n\n // 15. Fetch request, with processResponseEndOfBody set to processEventSourceEndOfBody...\n fetchParams.processResponseEndOfBody = processEventSourceEndOfBody\n\n // and processResponse set to the following steps given response res:\n fetchParams.processResponse = (response) => {\n // 1. If res is an aborted network error, then fail the connection.\n\n if (isNetworkError(response)) {\n // 1. When a user agent is to fail the connection, the user agent\n // must queue a task which, if the readyState attribute is set to a\n // value other than CLOSED, sets the readyState attribute to CLOSED\n // and fires an event named error at the EventSource object. Once the\n // user agent has failed the connection, it does not attempt to\n // reconnect.\n if (response.aborted) {\n this.close()\n this.dispatchEvent(new Event('error'))\n return\n // 2. Otherwise, if res is a network error, then reestablish the\n // connection, unless the user agent knows that to be futile, in\n // which case the user agent may fail the connection.\n } else {\n this.#reconnect()\n return\n }\n }\n\n // 3. Otherwise, if res's status is not 200, or if res's `Content-Type`\n // is not `text/event-stream`, then fail the connection.\n const contentType = response.headersList.get('content-type', true)\n const mimeType = contentType !== null ? parseMIMEType(contentType) : 'failure'\n const contentTypeValid = mimeType !== 'failure' && mimeType.essence === 'text/event-stream'\n if (\n response.status !== 200 ||\n contentTypeValid === false\n ) {\n this.close()\n this.dispatchEvent(new Event('error'))\n return\n }\n\n // 4. Otherwise, announce the connection and interpret res's body\n // line by line.\n\n // When a user agent is to announce the connection, the user agent\n // must queue a task which, if the readyState attribute is set to a\n // value other than CLOSED, sets the readyState attribute to OPEN\n // and fires an event named open at the EventSource object.\n // @see https://html.spec.whatwg.org/multipage/server-sent-events.html#sse-processing-model\n this.#readyState = OPEN\n this.dispatchEvent(new Event('open'))\n\n // If redirected to a different origin, set the origin to the new origin.\n this.#state.origin = response.urlList[response.urlList.length - 1].origin\n\n const eventSourceStream = new EventSourceStream({\n eventSourceSettings: this.#state,\n push: (event) => {\n this.dispatchEvent(createFastMessageEvent(\n event.type,\n event.options\n ))\n }\n })\n\n pipeline(response.body.stream,\n eventSourceStream,\n (error) => {\n if (\n error?.aborted === false\n ) {\n this.close()\n this.dispatchEvent(new Event('error'))\n }\n })\n }\n\n this.#controller = fetching(fetchParams)\n }\n\n /**\n * @see https://html.spec.whatwg.org/multipage/server-sent-events.html#sse-processing-model\n * @returns {Promise}\n */\n async #reconnect () {\n // When a user agent is to reestablish the connection, the user agent must\n // run the following steps. These steps are run in parallel, not as part of\n // a task. (The tasks that it queues, of course, are run like normal tasks\n // and not themselves in parallel.)\n\n // 1. Queue a task to run the following steps:\n\n // 1. If the readyState attribute is set to CLOSED, abort the task.\n if (this.#readyState === CLOSED) return\n\n // 2. Set the readyState attribute to CONNECTING.\n this.#readyState = CONNECTING\n\n // 3. Fire an event named error at the EventSource object.\n this.dispatchEvent(new Event('error'))\n\n // 2. Wait a delay equal to the reconnection time of the event source.\n await delay(this.#state.reconnectionTime)\n\n // 5. Queue a task to run the following steps:\n\n // 1. If the EventSource object's readyState attribute is not set to\n // CONNECTING, then return.\n if (this.#readyState !== CONNECTING) return\n\n // 2. Let request be the EventSource object's request.\n // 3. If the EventSource object's last event ID string is not the empty\n // string, then:\n // 1. Let lastEventIDValue be the EventSource object's last event ID\n // string, encoded as UTF-8.\n // 2. Set (`Last-Event-ID`, lastEventIDValue) in request's header\n // list.\n if (this.#state.lastEventId.length) {\n this.#request.headersList.set('last-event-id', this.#state.lastEventId, true)\n }\n\n // 4. Fetch request and process the response obtained in this fashion, if any, as described earlier in this section.\n this.#connect()\n }\n\n /**\n * Closes the connection, if any, and sets the readyState attribute to\n * CLOSED.\n */\n close () {\n webidl.brandCheck(this, EventSource)\n\n if (this.#readyState === CLOSED) return\n this.#readyState = CLOSED\n this.#controller.abort()\n this.#request = null\n }\n\n get onopen () {\n return this.#events.open\n }\n\n set onopen (fn) {\n if (this.#events.open) {\n this.removeEventListener('open', this.#events.open)\n }\n\n if (typeof fn === 'function') {\n this.#events.open = fn\n this.addEventListener('open', fn)\n } else {\n this.#events.open = null\n }\n }\n\n get onmessage () {\n return this.#events.message\n }\n\n set onmessage (fn) {\n if (this.#events.message) {\n this.removeEventListener('message', this.#events.message)\n }\n\n if (typeof fn === 'function') {\n this.#events.message = fn\n this.addEventListener('message', fn)\n } else {\n this.#events.message = null\n }\n }\n\n get onerror () {\n return this.#events.error\n }\n\n set onerror (fn) {\n if (this.#events.error) {\n this.removeEventListener('error', this.#events.error)\n }\n\n if (typeof fn === 'function') {\n this.#events.error = fn\n this.addEventListener('error', fn)\n } else {\n this.#events.error = null\n }\n }\n}\n\nconst constantsPropertyDescriptors = {\n CONNECTING: {\n __proto__: null,\n configurable: false,\n enumerable: true,\n value: CONNECTING,\n writable: false\n },\n OPEN: {\n __proto__: null,\n configurable: false,\n enumerable: true,\n value: OPEN,\n writable: false\n },\n CLOSED: {\n __proto__: null,\n configurable: false,\n enumerable: true,\n value: CLOSED,\n writable: false\n }\n}\n\nObject.defineProperties(EventSource, constantsPropertyDescriptors)\nObject.defineProperties(EventSource.prototype, constantsPropertyDescriptors)\n\nObject.defineProperties(EventSource.prototype, {\n close: kEnumerableProperty,\n onerror: kEnumerableProperty,\n onmessage: kEnumerableProperty,\n onopen: kEnumerableProperty,\n readyState: kEnumerableProperty,\n url: kEnumerableProperty,\n withCredentials: kEnumerableProperty\n})\n\nwebidl.converters.EventSourceInitDict = webidl.dictionaryConverter([\n {\n key: 'withCredentials',\n converter: webidl.converters.boolean,\n defaultValue: () => false\n },\n {\n key: 'dispatcher', // undici only\n converter: webidl.converters.any\n }\n])\n\nmodule.exports = {\n EventSource,\n defaultReconnectionTime\n}\n","'use strict'\n\n/**\n * Checks if the given value is a valid LastEventId.\n * @param {string} value\n * @returns {boolean}\n */\nfunction isValidLastEventId (value) {\n // LastEventId should not contain U+0000 NULL\n return value.indexOf('\\u0000') === -1\n}\n\n/**\n * Checks if the given value is a base 10 digit.\n * @param {string} value\n * @returns {boolean}\n */\nfunction isASCIINumber (value) {\n if (value.length === 0) return false\n for (let i = 0; i < value.length; i++) {\n if (value.charCodeAt(i) < 0x30 || value.charCodeAt(i) > 0x39) return false\n }\n return true\n}\n\n// https://github.com/nodejs/undici/issues/2664\nfunction delay (ms) {\n return new Promise((resolve) => {\n setTimeout(resolve, ms).unref()\n })\n}\n\nmodule.exports = {\n isValidLastEventId,\n isASCIINumber,\n delay\n}\n","'use strict'\n\nconst util = require('../../core/util')\nconst {\n ReadableStreamFrom,\n isBlobLike,\n isReadableStreamLike,\n readableStreamClose,\n createDeferredPromise,\n fullyReadBody,\n extractMimeType,\n utf8DecodeBytes\n} = require('./util')\nconst { FormData } = require('./formdata')\nconst { kState } = require('./symbols')\nconst { webidl } = require('./webidl')\nconst { Blob } = require('node:buffer')\nconst assert = require('node:assert')\nconst { isErrored, isDisturbed } = require('node:stream')\nconst { isArrayBuffer } = require('node:util/types')\nconst { serializeAMimeType } = require('./data-url')\nconst { multipartFormDataParser } = require('./formdata-parser')\nlet random\n\ntry {\n const crypto = require('node:crypto')\n random = (max) => crypto.randomInt(0, max)\n} catch {\n random = (max) => Math.floor(Math.random(max))\n}\n\nconst textEncoder = new TextEncoder()\nfunction noop () {}\n\nconst hasFinalizationRegistry = globalThis.FinalizationRegistry && process.version.indexOf('v18') !== 0\nlet streamRegistry\n\nif (hasFinalizationRegistry) {\n streamRegistry = new FinalizationRegistry((weakRef) => {\n const stream = weakRef.deref()\n if (stream && !stream.locked && !isDisturbed(stream) && !isErrored(stream)) {\n stream.cancel('Response object has been garbage collected').catch(noop)\n }\n })\n}\n\n// https://fetch.spec.whatwg.org/#concept-bodyinit-extract\nfunction extractBody (object, keepalive = false) {\n // 1. Let stream be null.\n let stream = null\n\n // 2. If object is a ReadableStream object, then set stream to object.\n if (object instanceof ReadableStream) {\n stream = object\n } else if (isBlobLike(object)) {\n // 3. Otherwise, if object is a Blob object, set stream to the\n // result of running object’s get stream.\n stream = object.stream()\n } else {\n // 4. Otherwise, set stream to a new ReadableStream object, and set\n // up stream with byte reading support.\n stream = new ReadableStream({\n async pull (controller) {\n const buffer = typeof source === 'string' ? textEncoder.encode(source) : source\n\n if (buffer.byteLength) {\n controller.enqueue(buffer)\n }\n\n queueMicrotask(() => readableStreamClose(controller))\n },\n start () {},\n type: 'bytes'\n })\n }\n\n // 5. Assert: stream is a ReadableStream object.\n assert(isReadableStreamLike(stream))\n\n // 6. Let action be null.\n let action = null\n\n // 7. Let source be null.\n let source = null\n\n // 8. Let length be null.\n let length = null\n\n // 9. Let type be null.\n let type = null\n\n // 10. Switch on object:\n if (typeof object === 'string') {\n // Set source to the UTF-8 encoding of object.\n // Note: setting source to a Uint8Array here breaks some mocking assumptions.\n source = object\n\n // Set type to `text/plain;charset=UTF-8`.\n type = 'text/plain;charset=UTF-8'\n } else if (object instanceof URLSearchParams) {\n // URLSearchParams\n\n // spec says to run application/x-www-form-urlencoded on body.list\n // this is implemented in Node.js as apart of an URLSearchParams instance toString method\n // See: https://github.com/nodejs/node/blob/e46c680bf2b211bbd52cf959ca17ee98c7f657f5/lib/internal/url.js#L490\n // and https://github.com/nodejs/node/blob/e46c680bf2b211bbd52cf959ca17ee98c7f657f5/lib/internal/url.js#L1100\n\n // Set source to the result of running the application/x-www-form-urlencoded serializer with object’s list.\n source = object.toString()\n\n // Set type to `application/x-www-form-urlencoded;charset=UTF-8`.\n type = 'application/x-www-form-urlencoded;charset=UTF-8'\n } else if (isArrayBuffer(object)) {\n // BufferSource/ArrayBuffer\n\n // Set source to a copy of the bytes held by object.\n source = new Uint8Array(object.slice())\n } else if (ArrayBuffer.isView(object)) {\n // BufferSource/ArrayBufferView\n\n // Set source to a copy of the bytes held by object.\n source = new Uint8Array(object.buffer.slice(object.byteOffset, object.byteOffset + object.byteLength))\n } else if (util.isFormDataLike(object)) {\n const boundary = `----formdata-undici-0${`${random(1e11)}`.padStart(11, '0')}`\n const prefix = `--${boundary}\\r\\nContent-Disposition: form-data`\n\n /*! formdata-polyfill. MIT License. Jimmy Wärting */\n const escape = (str) =>\n str.replace(/\\n/g, '%0A').replace(/\\r/g, '%0D').replace(/\"/g, '%22')\n const normalizeLinefeeds = (value) => value.replace(/\\r?\\n|\\r/g, '\\r\\n')\n\n // Set action to this step: run the multipart/form-data\n // encoding algorithm, with object’s entry list and UTF-8.\n // - This ensures that the body is immutable and can't be changed afterwords\n // - That the content-length is calculated in advance.\n // - And that all parts are pre-encoded and ready to be sent.\n\n const blobParts = []\n const rn = new Uint8Array([13, 10]) // '\\r\\n'\n length = 0\n let hasUnknownSizeValue = false\n\n for (const [name, value] of object) {\n if (typeof value === 'string') {\n const chunk = textEncoder.encode(prefix +\n `; name=\"${escape(normalizeLinefeeds(name))}\"` +\n `\\r\\n\\r\\n${normalizeLinefeeds(value)}\\r\\n`)\n blobParts.push(chunk)\n length += chunk.byteLength\n } else {\n const chunk = textEncoder.encode(`${prefix}; name=\"${escape(normalizeLinefeeds(name))}\"` +\n (value.name ? `; filename=\"${escape(value.name)}\"` : '') + '\\r\\n' +\n `Content-Type: ${\n value.type || 'application/octet-stream'\n }\\r\\n\\r\\n`)\n blobParts.push(chunk, value, rn)\n if (typeof value.size === 'number') {\n length += chunk.byteLength + value.size + rn.byteLength\n } else {\n hasUnknownSizeValue = true\n }\n }\n }\n\n // CRLF is appended to the body to function with legacy servers and match other implementations.\n // https://github.com/curl/curl/blob/3434c6b46e682452973972e8313613dfa58cd690/lib/mime.c#L1029-L1030\n // https://github.com/form-data/form-data/issues/63\n const chunk = textEncoder.encode(`--${boundary}--\\r\\n`)\n blobParts.push(chunk)\n length += chunk.byteLength\n if (hasUnknownSizeValue) {\n length = null\n }\n\n // Set source to object.\n source = object\n\n action = async function * () {\n for (const part of blobParts) {\n if (part.stream) {\n yield * part.stream()\n } else {\n yield part\n }\n }\n }\n\n // Set type to `multipart/form-data; boundary=`,\n // followed by the multipart/form-data boundary string generated\n // by the multipart/form-data encoding algorithm.\n type = `multipart/form-data; boundary=${boundary}`\n } else if (isBlobLike(object)) {\n // Blob\n\n // Set source to object.\n source = object\n\n // Set length to object’s size.\n length = object.size\n\n // If object’s type attribute is not the empty byte sequence, set\n // type to its value.\n if (object.type) {\n type = object.type\n }\n } else if (typeof object[Symbol.asyncIterator] === 'function') {\n // If keepalive is true, then throw a TypeError.\n if (keepalive) {\n throw new TypeError('keepalive')\n }\n\n // If object is disturbed or locked, then throw a TypeError.\n if (util.isDisturbed(object) || object.locked) {\n throw new TypeError(\n 'Response body object should not be disturbed or locked'\n )\n }\n\n stream =\n object instanceof ReadableStream ? object : ReadableStreamFrom(object)\n }\n\n // 11. If source is a byte sequence, then set action to a\n // step that returns source and length to source’s length.\n if (typeof source === 'string' || util.isBuffer(source)) {\n length = Buffer.byteLength(source)\n }\n\n // 12. If action is non-null, then run these steps in in parallel:\n if (action != null) {\n // Run action.\n let iterator\n stream = new ReadableStream({\n async start () {\n iterator = action(object)[Symbol.asyncIterator]()\n },\n async pull (controller) {\n const { value, done } = await iterator.next()\n if (done) {\n // When running action is done, close stream.\n queueMicrotask(() => {\n controller.close()\n controller.byobRequest?.respond(0)\n })\n } else {\n // Whenever one or more bytes are available and stream is not errored,\n // enqueue a Uint8Array wrapping an ArrayBuffer containing the available\n // bytes into stream.\n if (!isErrored(stream)) {\n const buffer = new Uint8Array(value)\n if (buffer.byteLength) {\n controller.enqueue(buffer)\n }\n }\n }\n return controller.desiredSize > 0\n },\n async cancel (reason) {\n await iterator.return()\n },\n type: 'bytes'\n })\n }\n\n // 13. Let body be a body whose stream is stream, source is source,\n // and length is length.\n const body = { stream, source, length }\n\n // 14. Return (body, type).\n return [body, type]\n}\n\n// https://fetch.spec.whatwg.org/#bodyinit-safely-extract\nfunction safelyExtractBody (object, keepalive = false) {\n // To safely extract a body and a `Content-Type` value from\n // a byte sequence or BodyInit object object, run these steps:\n\n // 1. If object is a ReadableStream object, then:\n if (object instanceof ReadableStream) {\n // Assert: object is neither disturbed nor locked.\n // istanbul ignore next\n assert(!util.isDisturbed(object), 'The body has already been consumed.')\n // istanbul ignore next\n assert(!object.locked, 'The stream is locked.')\n }\n\n // 2. Return the results of extracting object.\n return extractBody(object, keepalive)\n}\n\nfunction cloneBody (instance, body) {\n // To clone a body body, run these steps:\n\n // https://fetch.spec.whatwg.org/#concept-body-clone\n\n // 1. Let « out1, out2 » be the result of teeing body’s stream.\n const [out1, out2] = body.stream.tee()\n\n // 2. Set body’s stream to out1.\n body.stream = out1\n\n // 3. Return a body whose stream is out2 and other members are copied from body.\n return {\n stream: out2,\n length: body.length,\n source: body.source\n }\n}\n\nfunction throwIfAborted (state) {\n if (state.aborted) {\n throw new DOMException('The operation was aborted.', 'AbortError')\n }\n}\n\nfunction bodyMixinMethods (instance) {\n const methods = {\n blob () {\n // The blob() method steps are to return the result of\n // running consume body with this and the following step\n // given a byte sequence bytes: return a Blob whose\n // contents are bytes and whose type attribute is this’s\n // MIME type.\n return consumeBody(this, (bytes) => {\n let mimeType = bodyMimeType(this)\n\n if (mimeType === null) {\n mimeType = ''\n } else if (mimeType) {\n mimeType = serializeAMimeType(mimeType)\n }\n\n // Return a Blob whose contents are bytes and type attribute\n // is mimeType.\n return new Blob([bytes], { type: mimeType })\n }, instance)\n },\n\n arrayBuffer () {\n // The arrayBuffer() method steps are to return the result\n // of running consume body with this and the following step\n // given a byte sequence bytes: return a new ArrayBuffer\n // whose contents are bytes.\n return consumeBody(this, (bytes) => {\n return new Uint8Array(bytes).buffer\n }, instance)\n },\n\n text () {\n // The text() method steps are to return the result of running\n // consume body with this and UTF-8 decode.\n return consumeBody(this, utf8DecodeBytes, instance)\n },\n\n json () {\n // The json() method steps are to return the result of running\n // consume body with this and parse JSON from bytes.\n return consumeBody(this, parseJSONFromBytes, instance)\n },\n\n formData () {\n // The formData() method steps are to return the result of running\n // consume body with this and the following step given a byte sequence bytes:\n return consumeBody(this, (value) => {\n // 1. Let mimeType be the result of get the MIME type with this.\n const mimeType = bodyMimeType(this)\n\n // 2. If mimeType is non-null, then switch on mimeType’s essence and run\n // the corresponding steps:\n if (mimeType !== null) {\n switch (mimeType.essence) {\n case 'multipart/form-data': {\n // 1. ... [long step]\n const parsed = multipartFormDataParser(value, mimeType)\n\n // 2. If that fails for some reason, then throw a TypeError.\n if (parsed === 'failure') {\n throw new TypeError('Failed to parse body as FormData.')\n }\n\n // 3. Return a new FormData object, appending each entry,\n // resulting from the parsing operation, to its entry list.\n const fd = new FormData()\n fd[kState] = parsed\n\n return fd\n }\n case 'application/x-www-form-urlencoded': {\n // 1. Let entries be the result of parsing bytes.\n const entries = new URLSearchParams(value.toString())\n\n // 2. If entries is failure, then throw a TypeError.\n\n // 3. Return a new FormData object whose entry list is entries.\n const fd = new FormData()\n\n for (const [name, value] of entries) {\n fd.append(name, value)\n }\n\n return fd\n }\n }\n }\n\n // 3. Throw a TypeError.\n throw new TypeError(\n 'Content-Type was not one of \"multipart/form-data\" or \"application/x-www-form-urlencoded\".'\n )\n }, instance)\n },\n\n bytes () {\n // The bytes() method steps are to return the result of running consume body\n // with this and the following step given a byte sequence bytes: return the\n // result of creating a Uint8Array from bytes in this’s relevant realm.\n return consumeBody(this, (bytes) => {\n return new Uint8Array(bytes)\n }, instance)\n }\n }\n\n return methods\n}\n\nfunction mixinBody (prototype) {\n Object.assign(prototype.prototype, bodyMixinMethods(prototype))\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#concept-body-consume-body\n * @param {Response|Request} object\n * @param {(value: unknown) => unknown} convertBytesToJSValue\n * @param {Response|Request} instance\n */\nasync function consumeBody (object, convertBytesToJSValue, instance) {\n webidl.brandCheck(object, instance)\n\n // 1. If object is unusable, then return a promise rejected\n // with a TypeError.\n if (bodyUnusable(object)) {\n throw new TypeError('Body is unusable: Body has already been read')\n }\n\n throwIfAborted(object[kState])\n\n // 2. Let promise be a new promise.\n const promise = createDeferredPromise()\n\n // 3. Let errorSteps given error be to reject promise with error.\n const errorSteps = (error) => promise.reject(error)\n\n // 4. Let successSteps given a byte sequence data be to resolve\n // promise with the result of running convertBytesToJSValue\n // with data. If that threw an exception, then run errorSteps\n // with that exception.\n const successSteps = (data) => {\n try {\n promise.resolve(convertBytesToJSValue(data))\n } catch (e) {\n errorSteps(e)\n }\n }\n\n // 5. If object’s body is null, then run successSteps with an\n // empty byte sequence.\n if (object[kState].body == null) {\n successSteps(Buffer.allocUnsafe(0))\n return promise.promise\n }\n\n // 6. Otherwise, fully read object’s body given successSteps,\n // errorSteps, and object’s relevant global object.\n await fullyReadBody(object[kState].body, successSteps, errorSteps)\n\n // 7. Return promise.\n return promise.promise\n}\n\n// https://fetch.spec.whatwg.org/#body-unusable\nfunction bodyUnusable (object) {\n const body = object[kState].body\n\n // An object including the Body interface mixin is\n // said to be unusable if its body is non-null and\n // its body’s stream is disturbed or locked.\n return body != null && (body.stream.locked || util.isDisturbed(body.stream))\n}\n\n/**\n * @see https://infra.spec.whatwg.org/#parse-json-bytes-to-a-javascript-value\n * @param {Uint8Array} bytes\n */\nfunction parseJSONFromBytes (bytes) {\n return JSON.parse(utf8DecodeBytes(bytes))\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#concept-body-mime-type\n * @param {import('./response').Response|import('./request').Request} requestOrResponse\n */\nfunction bodyMimeType (requestOrResponse) {\n // 1. Let headers be null.\n // 2. If requestOrResponse is a Request object, then set headers to requestOrResponse’s request’s header list.\n // 3. Otherwise, set headers to requestOrResponse’s response’s header list.\n /** @type {import('./headers').HeadersList} */\n const headers = requestOrResponse[kState].headersList\n\n // 4. Let mimeType be the result of extracting a MIME type from headers.\n const mimeType = extractMimeType(headers)\n\n // 5. If mimeType is failure, then return null.\n if (mimeType === 'failure') {\n return null\n }\n\n // 6. Return mimeType.\n return mimeType\n}\n\nmodule.exports = {\n extractBody,\n safelyExtractBody,\n cloneBody,\n mixinBody,\n streamRegistry,\n hasFinalizationRegistry,\n bodyUnusable\n}\n","'use strict'\n\nconst corsSafeListedMethods = /** @type {const} */ (['GET', 'HEAD', 'POST'])\nconst corsSafeListedMethodsSet = new Set(corsSafeListedMethods)\n\nconst nullBodyStatus = /** @type {const} */ ([101, 204, 205, 304])\n\nconst redirectStatus = /** @type {const} */ ([301, 302, 303, 307, 308])\nconst redirectStatusSet = new Set(redirectStatus)\n\n/**\n * @see https://fetch.spec.whatwg.org/#block-bad-port\n */\nconst badPorts = /** @type {const} */ ([\n '1', '7', '9', '11', '13', '15', '17', '19', '20', '21', '22', '23', '25', '37', '42', '43', '53', '69', '77', '79',\n '87', '95', '101', '102', '103', '104', '109', '110', '111', '113', '115', '117', '119', '123', '135', '137',\n '139', '143', '161', '179', '389', '427', '465', '512', '513', '514', '515', '526', '530', '531', '532',\n '540', '548', '554', '556', '563', '587', '601', '636', '989', '990', '993', '995', '1719', '1720', '1723',\n '2049', '3659', '4045', '4190', '5060', '5061', '6000', '6566', '6665', '6666', '6667', '6668', '6669', '6679',\n '6697', '10080'\n])\nconst badPortsSet = new Set(badPorts)\n\n/**\n * @see https://w3c.github.io/webappsec-referrer-policy/#referrer-policies\n */\nconst referrerPolicy = /** @type {const} */ ([\n '',\n 'no-referrer',\n 'no-referrer-when-downgrade',\n 'same-origin',\n 'origin',\n 'strict-origin',\n 'origin-when-cross-origin',\n 'strict-origin-when-cross-origin',\n 'unsafe-url'\n])\nconst referrerPolicySet = new Set(referrerPolicy)\n\nconst requestRedirect = /** @type {const} */ (['follow', 'manual', 'error'])\n\nconst safeMethods = /** @type {const} */ (['GET', 'HEAD', 'OPTIONS', 'TRACE'])\nconst safeMethodsSet = new Set(safeMethods)\n\nconst requestMode = /** @type {const} */ (['navigate', 'same-origin', 'no-cors', 'cors'])\n\nconst requestCredentials = /** @type {const} */ (['omit', 'same-origin', 'include'])\n\nconst requestCache = /** @type {const} */ ([\n 'default',\n 'no-store',\n 'reload',\n 'no-cache',\n 'force-cache',\n 'only-if-cached'\n])\n\n/**\n * @see https://fetch.spec.whatwg.org/#request-body-header-name\n */\nconst requestBodyHeader = /** @type {const} */ ([\n 'content-encoding',\n 'content-language',\n 'content-location',\n 'content-type',\n // See https://github.com/nodejs/undici/issues/2021\n // 'Content-Length' is a forbidden header name, which is typically\n // removed in the Headers implementation. However, undici doesn't\n // filter out headers, so we add it here.\n 'content-length'\n])\n\n/**\n * @see https://fetch.spec.whatwg.org/#enumdef-requestduplex\n */\nconst requestDuplex = /** @type {const} */ ([\n 'half'\n])\n\n/**\n * @see http://fetch.spec.whatwg.org/#forbidden-method\n */\nconst forbiddenMethods = /** @type {const} */ (['CONNECT', 'TRACE', 'TRACK'])\nconst forbiddenMethodsSet = new Set(forbiddenMethods)\n\nconst subresource = /** @type {const} */ ([\n 'audio',\n 'audioworklet',\n 'font',\n 'image',\n 'manifest',\n 'paintworklet',\n 'script',\n 'style',\n 'track',\n 'video',\n 'xslt',\n ''\n])\nconst subresourceSet = new Set(subresource)\n\nmodule.exports = {\n subresource,\n forbiddenMethods,\n requestBodyHeader,\n referrerPolicy,\n requestRedirect,\n requestMode,\n requestCredentials,\n requestCache,\n redirectStatus,\n corsSafeListedMethods,\n nullBodyStatus,\n safeMethods,\n badPorts,\n requestDuplex,\n subresourceSet,\n badPortsSet,\n redirectStatusSet,\n corsSafeListedMethodsSet,\n safeMethodsSet,\n forbiddenMethodsSet,\n referrerPolicySet\n}\n","'use strict'\n\nconst assert = require('node:assert')\n\nconst encoder = new TextEncoder()\n\n/**\n * @see https://mimesniff.spec.whatwg.org/#http-token-code-point\n */\nconst HTTP_TOKEN_CODEPOINTS = /^[!#$%&'*+\\-.^_|~A-Za-z0-9]+$/\nconst HTTP_WHITESPACE_REGEX = /[\\u000A\\u000D\\u0009\\u0020]/ // eslint-disable-line\nconst ASCII_WHITESPACE_REPLACE_REGEX = /[\\u0009\\u000A\\u000C\\u000D\\u0020]/g // eslint-disable-line\n/**\n * @see https://mimesniff.spec.whatwg.org/#http-quoted-string-token-code-point\n */\nconst HTTP_QUOTED_STRING_TOKENS = /^[\\u0009\\u0020-\\u007E\\u0080-\\u00FF]+$/ // eslint-disable-line\n\n// https://fetch.spec.whatwg.org/#data-url-processor\n/** @param {URL} dataURL */\nfunction dataURLProcessor (dataURL) {\n // 1. Assert: dataURL’s scheme is \"data\".\n assert(dataURL.protocol === 'data:')\n\n // 2. Let input be the result of running the URL\n // serializer on dataURL with exclude fragment\n // set to true.\n let input = URLSerializer(dataURL, true)\n\n // 3. Remove the leading \"data:\" string from input.\n input = input.slice(5)\n\n // 4. Let position point at the start of input.\n const position = { position: 0 }\n\n // 5. Let mimeType be the result of collecting a\n // sequence of code points that are not equal\n // to U+002C (,), given position.\n let mimeType = collectASequenceOfCodePointsFast(\n ',',\n input,\n position\n )\n\n // 6. Strip leading and trailing ASCII whitespace\n // from mimeType.\n // Undici implementation note: we need to store the\n // length because if the mimetype has spaces removed,\n // the wrong amount will be sliced from the input in\n // step #9\n const mimeTypeLength = mimeType.length\n mimeType = removeASCIIWhitespace(mimeType, true, true)\n\n // 7. If position is past the end of input, then\n // return failure\n if (position.position >= input.length) {\n return 'failure'\n }\n\n // 8. Advance position by 1.\n position.position++\n\n // 9. Let encodedBody be the remainder of input.\n const encodedBody = input.slice(mimeTypeLength + 1)\n\n // 10. Let body be the percent-decoding of encodedBody.\n let body = stringPercentDecode(encodedBody)\n\n // 11. If mimeType ends with U+003B (;), followed by\n // zero or more U+0020 SPACE, followed by an ASCII\n // case-insensitive match for \"base64\", then:\n if (/;(\\u0020){0,}base64$/i.test(mimeType)) {\n // 1. Let stringBody be the isomorphic decode of body.\n const stringBody = isomorphicDecode(body)\n\n // 2. Set body to the forgiving-base64 decode of\n // stringBody.\n body = forgivingBase64(stringBody)\n\n // 3. If body is failure, then return failure.\n if (body === 'failure') {\n return 'failure'\n }\n\n // 4. Remove the last 6 code points from mimeType.\n mimeType = mimeType.slice(0, -6)\n\n // 5. Remove trailing U+0020 SPACE code points from mimeType,\n // if any.\n mimeType = mimeType.replace(/(\\u0020)+$/, '')\n\n // 6. Remove the last U+003B (;) code point from mimeType.\n mimeType = mimeType.slice(0, -1)\n }\n\n // 12. If mimeType starts with U+003B (;), then prepend\n // \"text/plain\" to mimeType.\n if (mimeType.startsWith(';')) {\n mimeType = 'text/plain' + mimeType\n }\n\n // 13. Let mimeTypeRecord be the result of parsing\n // mimeType.\n let mimeTypeRecord = parseMIMEType(mimeType)\n\n // 14. If mimeTypeRecord is failure, then set\n // mimeTypeRecord to text/plain;charset=US-ASCII.\n if (mimeTypeRecord === 'failure') {\n mimeTypeRecord = parseMIMEType('text/plain;charset=US-ASCII')\n }\n\n // 15. Return a new data: URL struct whose MIME\n // type is mimeTypeRecord and body is body.\n // https://fetch.spec.whatwg.org/#data-url-struct\n return { mimeType: mimeTypeRecord, body }\n}\n\n// https://url.spec.whatwg.org/#concept-url-serializer\n/**\n * @param {URL} url\n * @param {boolean} excludeFragment\n */\nfunction URLSerializer (url, excludeFragment = false) {\n if (!excludeFragment) {\n return url.href\n }\n\n const href = url.href\n const hashLength = url.hash.length\n\n const serialized = hashLength === 0 ? href : href.substring(0, href.length - hashLength)\n\n if (!hashLength && href.endsWith('#')) {\n return serialized.slice(0, -1)\n }\n\n return serialized\n}\n\n// https://infra.spec.whatwg.org/#collect-a-sequence-of-code-points\n/**\n * @param {(char: string) => boolean} condition\n * @param {string} input\n * @param {{ position: number }} position\n */\nfunction collectASequenceOfCodePoints (condition, input, position) {\n // 1. Let result be the empty string.\n let result = ''\n\n // 2. While position doesn’t point past the end of input and the\n // code point at position within input meets the condition condition:\n while (position.position < input.length && condition(input[position.position])) {\n // 1. Append that code point to the end of result.\n result += input[position.position]\n\n // 2. Advance position by 1.\n position.position++\n }\n\n // 3. Return result.\n return result\n}\n\n/**\n * A faster collectASequenceOfCodePoints that only works when comparing a single character.\n * @param {string} char\n * @param {string} input\n * @param {{ position: number }} position\n */\nfunction collectASequenceOfCodePointsFast (char, input, position) {\n const idx = input.indexOf(char, position.position)\n const start = position.position\n\n if (idx === -1) {\n position.position = input.length\n return input.slice(start)\n }\n\n position.position = idx\n return input.slice(start, position.position)\n}\n\n// https://url.spec.whatwg.org/#string-percent-decode\n/** @param {string} input */\nfunction stringPercentDecode (input) {\n // 1. Let bytes be the UTF-8 encoding of input.\n const bytes = encoder.encode(input)\n\n // 2. Return the percent-decoding of bytes.\n return percentDecode(bytes)\n}\n\n/**\n * @param {number} byte\n */\nfunction isHexCharByte (byte) {\n // 0-9 A-F a-f\n return (byte >= 0x30 && byte <= 0x39) || (byte >= 0x41 && byte <= 0x46) || (byte >= 0x61 && byte <= 0x66)\n}\n\n/**\n * @param {number} byte\n */\nfunction hexByteToNumber (byte) {\n return (\n // 0-9\n byte >= 0x30 && byte <= 0x39\n ? (byte - 48)\n // Convert to uppercase\n // ((byte & 0xDF) - 65) + 10\n : ((byte & 0xDF) - 55)\n )\n}\n\n// https://url.spec.whatwg.org/#percent-decode\n/** @param {Uint8Array} input */\nfunction percentDecode (input) {\n const length = input.length\n // 1. Let output be an empty byte sequence.\n /** @type {Uint8Array} */\n const output = new Uint8Array(length)\n let j = 0\n // 2. For each byte byte in input:\n for (let i = 0; i < length; ++i) {\n const byte = input[i]\n\n // 1. If byte is not 0x25 (%), then append byte to output.\n if (byte !== 0x25) {\n output[j++] = byte\n\n // 2. Otherwise, if byte is 0x25 (%) and the next two bytes\n // after byte in input are not in the ranges\n // 0x30 (0) to 0x39 (9), 0x41 (A) to 0x46 (F),\n // and 0x61 (a) to 0x66 (f), all inclusive, append byte\n // to output.\n } else if (\n byte === 0x25 &&\n !(isHexCharByte(input[i + 1]) && isHexCharByte(input[i + 2]))\n ) {\n output[j++] = 0x25\n\n // 3. Otherwise:\n } else {\n // 1. Let bytePoint be the two bytes after byte in input,\n // decoded, and then interpreted as hexadecimal number.\n // 2. Append a byte whose value is bytePoint to output.\n output[j++] = (hexByteToNumber(input[i + 1]) << 4) | hexByteToNumber(input[i + 2])\n\n // 3. Skip the next two bytes in input.\n i += 2\n }\n }\n\n // 3. Return output.\n return length === j ? output : output.subarray(0, j)\n}\n\n// https://mimesniff.spec.whatwg.org/#parse-a-mime-type\n/** @param {string} input */\nfunction parseMIMEType (input) {\n // 1. Remove any leading and trailing HTTP whitespace\n // from input.\n input = removeHTTPWhitespace(input, true, true)\n\n // 2. Let position be a position variable for input,\n // initially pointing at the start of input.\n const position = { position: 0 }\n\n // 3. Let type be the result of collecting a sequence\n // of code points that are not U+002F (/) from\n // input, given position.\n const type = collectASequenceOfCodePointsFast(\n '/',\n input,\n position\n )\n\n // 4. If type is the empty string or does not solely\n // contain HTTP token code points, then return failure.\n // https://mimesniff.spec.whatwg.org/#http-token-code-point\n if (type.length === 0 || !HTTP_TOKEN_CODEPOINTS.test(type)) {\n return 'failure'\n }\n\n // 5. If position is past the end of input, then return\n // failure\n if (position.position > input.length) {\n return 'failure'\n }\n\n // 6. Advance position by 1. (This skips past U+002F (/).)\n position.position++\n\n // 7. Let subtype be the result of collecting a sequence of\n // code points that are not U+003B (;) from input, given\n // position.\n let subtype = collectASequenceOfCodePointsFast(\n ';',\n input,\n position\n )\n\n // 8. Remove any trailing HTTP whitespace from subtype.\n subtype = removeHTTPWhitespace(subtype, false, true)\n\n // 9. If subtype is the empty string or does not solely\n // contain HTTP token code points, then return failure.\n if (subtype.length === 0 || !HTTP_TOKEN_CODEPOINTS.test(subtype)) {\n return 'failure'\n }\n\n const typeLowercase = type.toLowerCase()\n const subtypeLowercase = subtype.toLowerCase()\n\n // 10. Let mimeType be a new MIME type record whose type\n // is type, in ASCII lowercase, and subtype is subtype,\n // in ASCII lowercase.\n // https://mimesniff.spec.whatwg.org/#mime-type\n const mimeType = {\n type: typeLowercase,\n subtype: subtypeLowercase,\n /** @type {Map} */\n parameters: new Map(),\n // https://mimesniff.spec.whatwg.org/#mime-type-essence\n essence: `${typeLowercase}/${subtypeLowercase}`\n }\n\n // 11. While position is not past the end of input:\n while (position.position < input.length) {\n // 1. Advance position by 1. (This skips past U+003B (;).)\n position.position++\n\n // 2. Collect a sequence of code points that are HTTP\n // whitespace from input given position.\n collectASequenceOfCodePoints(\n // https://fetch.spec.whatwg.org/#http-whitespace\n char => HTTP_WHITESPACE_REGEX.test(char),\n input,\n position\n )\n\n // 3. Let parameterName be the result of collecting a\n // sequence of code points that are not U+003B (;)\n // or U+003D (=) from input, given position.\n let parameterName = collectASequenceOfCodePoints(\n (char) => char !== ';' && char !== '=',\n input,\n position\n )\n\n // 4. Set parameterName to parameterName, in ASCII\n // lowercase.\n parameterName = parameterName.toLowerCase()\n\n // 5. If position is not past the end of input, then:\n if (position.position < input.length) {\n // 1. If the code point at position within input is\n // U+003B (;), then continue.\n if (input[position.position] === ';') {\n continue\n }\n\n // 2. Advance position by 1. (This skips past U+003D (=).)\n position.position++\n }\n\n // 6. If position is past the end of input, then break.\n if (position.position > input.length) {\n break\n }\n\n // 7. Let parameterValue be null.\n let parameterValue = null\n\n // 8. If the code point at position within input is\n // U+0022 (\"), then:\n if (input[position.position] === '\"') {\n // 1. Set parameterValue to the result of collecting\n // an HTTP quoted string from input, given position\n // and the extract-value flag.\n parameterValue = collectAnHTTPQuotedString(input, position, true)\n\n // 2. Collect a sequence of code points that are not\n // U+003B (;) from input, given position.\n collectASequenceOfCodePointsFast(\n ';',\n input,\n position\n )\n\n // 9. Otherwise:\n } else {\n // 1. Set parameterValue to the result of collecting\n // a sequence of code points that are not U+003B (;)\n // from input, given position.\n parameterValue = collectASequenceOfCodePointsFast(\n ';',\n input,\n position\n )\n\n // 2. Remove any trailing HTTP whitespace from parameterValue.\n parameterValue = removeHTTPWhitespace(parameterValue, false, true)\n\n // 3. If parameterValue is the empty string, then continue.\n if (parameterValue.length === 0) {\n continue\n }\n }\n\n // 10. If all of the following are true\n // - parameterName is not the empty string\n // - parameterName solely contains HTTP token code points\n // - parameterValue solely contains HTTP quoted-string token code points\n // - mimeType’s parameters[parameterName] does not exist\n // then set mimeType’s parameters[parameterName] to parameterValue.\n if (\n parameterName.length !== 0 &&\n HTTP_TOKEN_CODEPOINTS.test(parameterName) &&\n (parameterValue.length === 0 || HTTP_QUOTED_STRING_TOKENS.test(parameterValue)) &&\n !mimeType.parameters.has(parameterName)\n ) {\n mimeType.parameters.set(parameterName, parameterValue)\n }\n }\n\n // 12. Return mimeType.\n return mimeType\n}\n\n// https://infra.spec.whatwg.org/#forgiving-base64-decode\n/** @param {string} data */\nfunction forgivingBase64 (data) {\n // 1. Remove all ASCII whitespace from data.\n data = data.replace(ASCII_WHITESPACE_REPLACE_REGEX, '') // eslint-disable-line\n\n let dataLength = data.length\n // 2. If data’s code point length divides by 4 leaving\n // no remainder, then:\n if (dataLength % 4 === 0) {\n // 1. If data ends with one or two U+003D (=) code points,\n // then remove them from data.\n if (data.charCodeAt(dataLength - 1) === 0x003D) {\n --dataLength\n if (data.charCodeAt(dataLength - 1) === 0x003D) {\n --dataLength\n }\n }\n }\n\n // 3. If data’s code point length divides by 4 leaving\n // a remainder of 1, then return failure.\n if (dataLength % 4 === 1) {\n return 'failure'\n }\n\n // 4. If data contains a code point that is not one of\n // U+002B (+)\n // U+002F (/)\n // ASCII alphanumeric\n // then return failure.\n if (/[^+/0-9A-Za-z]/.test(data.length === dataLength ? data : data.substring(0, dataLength))) {\n return 'failure'\n }\n\n const buffer = Buffer.from(data, 'base64')\n return new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength)\n}\n\n// https://fetch.spec.whatwg.org/#collect-an-http-quoted-string\n// tests: https://fetch.spec.whatwg.org/#example-http-quoted-string\n/**\n * @param {string} input\n * @param {{ position: number }} position\n * @param {boolean?} extractValue\n */\nfunction collectAnHTTPQuotedString (input, position, extractValue) {\n // 1. Let positionStart be position.\n const positionStart = position.position\n\n // 2. Let value be the empty string.\n let value = ''\n\n // 3. Assert: the code point at position within input\n // is U+0022 (\").\n assert(input[position.position] === '\"')\n\n // 4. Advance position by 1.\n position.position++\n\n // 5. While true:\n while (true) {\n // 1. Append the result of collecting a sequence of code points\n // that are not U+0022 (\") or U+005C (\\) from input, given\n // position, to value.\n value += collectASequenceOfCodePoints(\n (char) => char !== '\"' && char !== '\\\\',\n input,\n position\n )\n\n // 2. If position is past the end of input, then break.\n if (position.position >= input.length) {\n break\n }\n\n // 3. Let quoteOrBackslash be the code point at position within\n // input.\n const quoteOrBackslash = input[position.position]\n\n // 4. Advance position by 1.\n position.position++\n\n // 5. If quoteOrBackslash is U+005C (\\), then:\n if (quoteOrBackslash === '\\\\') {\n // 1. If position is past the end of input, then append\n // U+005C (\\) to value and break.\n if (position.position >= input.length) {\n value += '\\\\'\n break\n }\n\n // 2. Append the code point at position within input to value.\n value += input[position.position]\n\n // 3. Advance position by 1.\n position.position++\n\n // 6. Otherwise:\n } else {\n // 1. Assert: quoteOrBackslash is U+0022 (\").\n assert(quoteOrBackslash === '\"')\n\n // 2. Break.\n break\n }\n }\n\n // 6. If the extract-value flag is set, then return value.\n if (extractValue) {\n return value\n }\n\n // 7. Return the code points from positionStart to position,\n // inclusive, within input.\n return input.slice(positionStart, position.position)\n}\n\n/**\n * @see https://mimesniff.spec.whatwg.org/#serialize-a-mime-type\n */\nfunction serializeAMimeType (mimeType) {\n assert(mimeType !== 'failure')\n const { parameters, essence } = mimeType\n\n // 1. Let serialization be the concatenation of mimeType’s\n // type, U+002F (/), and mimeType’s subtype.\n let serialization = essence\n\n // 2. For each name → value of mimeType’s parameters:\n for (let [name, value] of parameters.entries()) {\n // 1. Append U+003B (;) to serialization.\n serialization += ';'\n\n // 2. Append name to serialization.\n serialization += name\n\n // 3. Append U+003D (=) to serialization.\n serialization += '='\n\n // 4. If value does not solely contain HTTP token code\n // points or value is the empty string, then:\n if (!HTTP_TOKEN_CODEPOINTS.test(value)) {\n // 1. Precede each occurrence of U+0022 (\") or\n // U+005C (\\) in value with U+005C (\\).\n value = value.replace(/(\\\\|\")/g, '\\\\$1')\n\n // 2. Prepend U+0022 (\") to value.\n value = '\"' + value\n\n // 3. Append U+0022 (\") to value.\n value += '\"'\n }\n\n // 5. Append value to serialization.\n serialization += value\n }\n\n // 3. Return serialization.\n return serialization\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#http-whitespace\n * @param {number} char\n */\nfunction isHTTPWhiteSpace (char) {\n // \"\\r\\n\\t \"\n return char === 0x00d || char === 0x00a || char === 0x009 || char === 0x020\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#http-whitespace\n * @param {string} str\n * @param {boolean} [leading=true]\n * @param {boolean} [trailing=true]\n */\nfunction removeHTTPWhitespace (str, leading = true, trailing = true) {\n return removeChars(str, leading, trailing, isHTTPWhiteSpace)\n}\n\n/**\n * @see https://infra.spec.whatwg.org/#ascii-whitespace\n * @param {number} char\n */\nfunction isASCIIWhitespace (char) {\n // \"\\r\\n\\t\\f \"\n return char === 0x00d || char === 0x00a || char === 0x009 || char === 0x00c || char === 0x020\n}\n\n/**\n * @see https://infra.spec.whatwg.org/#strip-leading-and-trailing-ascii-whitespace\n * @param {string} str\n * @param {boolean} [leading=true]\n * @param {boolean} [trailing=true]\n */\nfunction removeASCIIWhitespace (str, leading = true, trailing = true) {\n return removeChars(str, leading, trailing, isASCIIWhitespace)\n}\n\n/**\n * @param {string} str\n * @param {boolean} leading\n * @param {boolean} trailing\n * @param {(charCode: number) => boolean} predicate\n * @returns\n */\nfunction removeChars (str, leading, trailing, predicate) {\n let lead = 0\n let trail = str.length - 1\n\n if (leading) {\n while (lead < str.length && predicate(str.charCodeAt(lead))) lead++\n }\n\n if (trailing) {\n while (trail > 0 && predicate(str.charCodeAt(trail))) trail--\n }\n\n return lead === 0 && trail === str.length - 1 ? str : str.slice(lead, trail + 1)\n}\n\n/**\n * @see https://infra.spec.whatwg.org/#isomorphic-decode\n * @param {Uint8Array} input\n * @returns {string}\n */\nfunction isomorphicDecode (input) {\n // 1. To isomorphic decode a byte sequence input, return a string whose code point\n // length is equal to input’s length and whose code points have the same values\n // as the values of input’s bytes, in the same order.\n const length = input.length\n if ((2 << 15) - 1 > length) {\n return String.fromCharCode.apply(null, input)\n }\n let result = ''; let i = 0\n let addition = (2 << 15) - 1\n while (i < length) {\n if (i + addition > length) {\n addition = length - i\n }\n result += String.fromCharCode.apply(null, input.subarray(i, i += addition))\n }\n return result\n}\n\n/**\n * @see https://mimesniff.spec.whatwg.org/#minimize-a-supported-mime-type\n * @param {Exclude, 'failure'>} mimeType\n */\nfunction minimizeSupportedMimeType (mimeType) {\n switch (mimeType.essence) {\n case 'application/ecmascript':\n case 'application/javascript':\n case 'application/x-ecmascript':\n case 'application/x-javascript':\n case 'text/ecmascript':\n case 'text/javascript':\n case 'text/javascript1.0':\n case 'text/javascript1.1':\n case 'text/javascript1.2':\n case 'text/javascript1.3':\n case 'text/javascript1.4':\n case 'text/javascript1.5':\n case 'text/jscript':\n case 'text/livescript':\n case 'text/x-ecmascript':\n case 'text/x-javascript':\n // 1. If mimeType is a JavaScript MIME type, then return \"text/javascript\".\n return 'text/javascript'\n case 'application/json':\n case 'text/json':\n // 2. If mimeType is a JSON MIME type, then return \"application/json\".\n return 'application/json'\n case 'image/svg+xml':\n // 3. If mimeType’s essence is \"image/svg+xml\", then return \"image/svg+xml\".\n return 'image/svg+xml'\n case 'text/xml':\n case 'application/xml':\n // 4. If mimeType is an XML MIME type, then return \"application/xml\".\n return 'application/xml'\n }\n\n // 2. If mimeType is a JSON MIME type, then return \"application/json\".\n if (mimeType.subtype.endsWith('+json')) {\n return 'application/json'\n }\n\n // 4. If mimeType is an XML MIME type, then return \"application/xml\".\n if (mimeType.subtype.endsWith('+xml')) {\n return 'application/xml'\n }\n\n // 5. If mimeType is supported by the user agent, then return mimeType’s essence.\n // Technically, node doesn't support any mimetypes.\n\n // 6. Return the empty string.\n return ''\n}\n\nmodule.exports = {\n dataURLProcessor,\n URLSerializer,\n collectASequenceOfCodePoints,\n collectASequenceOfCodePointsFast,\n stringPercentDecode,\n parseMIMEType,\n collectAnHTTPQuotedString,\n serializeAMimeType,\n removeChars,\n removeHTTPWhitespace,\n minimizeSupportedMimeType,\n HTTP_TOKEN_CODEPOINTS,\n isomorphicDecode\n}\n","'use strict'\n\nconst { kConnected, kSize } = require('../../core/symbols')\n\nclass CompatWeakRef {\n constructor (value) {\n this.value = value\n }\n\n deref () {\n return this.value[kConnected] === 0 && this.value[kSize] === 0\n ? undefined\n : this.value\n }\n}\n\nclass CompatFinalizer {\n constructor (finalizer) {\n this.finalizer = finalizer\n }\n\n register (dispatcher, key) {\n if (dispatcher.on) {\n dispatcher.on('disconnect', () => {\n if (dispatcher[kConnected] === 0 && dispatcher[kSize] === 0) {\n this.finalizer(key)\n }\n })\n }\n }\n\n unregister (key) {}\n}\n\nmodule.exports = function () {\n // FIXME: remove workaround when the Node bug is backported to v18\n // https://github.com/nodejs/node/issues/49344#issuecomment-1741776308\n if (process.env.NODE_V8_COVERAGE && process.version.startsWith('v18')) {\n process._rawDebug('Using compatibility WeakRef and FinalizationRegistry')\n return {\n WeakRef: CompatWeakRef,\n FinalizationRegistry: CompatFinalizer\n }\n }\n return { WeakRef, FinalizationRegistry }\n}\n","'use strict'\n\nconst { Blob, File } = require('node:buffer')\nconst { kState } = require('./symbols')\nconst { webidl } = require('./webidl')\n\n// TODO(@KhafraDev): remove\nclass FileLike {\n constructor (blobLike, fileName, options = {}) {\n // TODO: argument idl type check\n\n // The File constructor is invoked with two or three parameters, depending\n // on whether the optional dictionary parameter is used. When the File()\n // constructor is invoked, user agents must run the following steps:\n\n // 1. Let bytes be the result of processing blob parts given fileBits and\n // options.\n\n // 2. Let n be the fileName argument to the constructor.\n const n = fileName\n\n // 3. Process FilePropertyBag dictionary argument by running the following\n // substeps:\n\n // 1. If the type member is provided and is not the empty string, let t\n // be set to the type dictionary member. If t contains any characters\n // outside the range U+0020 to U+007E, then set t to the empty string\n // and return from these substeps.\n // TODO\n const t = options.type\n\n // 2. Convert every character in t to ASCII lowercase.\n // TODO\n\n // 3. If the lastModified member is provided, let d be set to the\n // lastModified dictionary member. If it is not provided, set d to the\n // current date and time represented as the number of milliseconds since\n // the Unix Epoch (which is the equivalent of Date.now() [ECMA-262]).\n const d = options.lastModified ?? Date.now()\n\n // 4. Return a new File object F such that:\n // F refers to the bytes byte sequence.\n // F.size is set to the number of total bytes in bytes.\n // F.name is set to n.\n // F.type is set to t.\n // F.lastModified is set to d.\n\n this[kState] = {\n blobLike,\n name: n,\n type: t,\n lastModified: d\n }\n }\n\n stream (...args) {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].blobLike.stream(...args)\n }\n\n arrayBuffer (...args) {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].blobLike.arrayBuffer(...args)\n }\n\n slice (...args) {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].blobLike.slice(...args)\n }\n\n text (...args) {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].blobLike.text(...args)\n }\n\n get size () {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].blobLike.size\n }\n\n get type () {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].blobLike.type\n }\n\n get name () {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].name\n }\n\n get lastModified () {\n webidl.brandCheck(this, FileLike)\n\n return this[kState].lastModified\n }\n\n get [Symbol.toStringTag] () {\n return 'File'\n }\n}\n\nwebidl.converters.Blob = webidl.interfaceConverter(Blob)\n\n// If this function is moved to ./util.js, some tools (such as\n// rollup) will warn about circular dependencies. See:\n// https://github.com/nodejs/undici/issues/1629\nfunction isFileLike (object) {\n return (\n (object instanceof File) ||\n (\n object &&\n (typeof object.stream === 'function' ||\n typeof object.arrayBuffer === 'function') &&\n object[Symbol.toStringTag] === 'File'\n )\n )\n}\n\nmodule.exports = { FileLike, isFileLike }\n","'use strict'\n\nconst { isUSVString, bufferToLowerCasedHeaderName } = require('../../core/util')\nconst { utf8DecodeBytes } = require('./util')\nconst { HTTP_TOKEN_CODEPOINTS, isomorphicDecode } = require('./data-url')\nconst { isFileLike } = require('./file')\nconst { makeEntry } = require('./formdata')\nconst assert = require('node:assert')\nconst { File: NodeFile } = require('node:buffer')\n\nconst File = globalThis.File ?? NodeFile\n\nconst formDataNameBuffer = Buffer.from('form-data; name=\"')\nconst filenameBuffer = Buffer.from('; filename')\nconst dd = Buffer.from('--')\nconst ddcrlf = Buffer.from('--\\r\\n')\n\n/**\n * @param {string} chars\n */\nfunction isAsciiString (chars) {\n for (let i = 0; i < chars.length; ++i) {\n if ((chars.charCodeAt(i) & ~0x7F) !== 0) {\n return false\n }\n }\n return true\n}\n\n/**\n * @see https://andreubotella.github.io/multipart-form-data/#multipart-form-data-boundary\n * @param {string} boundary\n */\nfunction validateBoundary (boundary) {\n const length = boundary.length\n\n // - its length is greater or equal to 27 and lesser or equal to 70, and\n if (length < 27 || length > 70) {\n return false\n }\n\n // - it is composed by bytes in the ranges 0x30 to 0x39, 0x41 to 0x5A, or\n // 0x61 to 0x7A, inclusive (ASCII alphanumeric), or which are 0x27 ('),\n // 0x2D (-) or 0x5F (_).\n for (let i = 0; i < length; ++i) {\n const cp = boundary.charCodeAt(i)\n\n if (!(\n (cp >= 0x30 && cp <= 0x39) ||\n (cp >= 0x41 && cp <= 0x5a) ||\n (cp >= 0x61 && cp <= 0x7a) ||\n cp === 0x27 ||\n cp === 0x2d ||\n cp === 0x5f\n )) {\n return false\n }\n }\n\n return true\n}\n\n/**\n * @see https://andreubotella.github.io/multipart-form-data/#multipart-form-data-parser\n * @param {Buffer} input\n * @param {ReturnType} mimeType\n */\nfunction multipartFormDataParser (input, mimeType) {\n // 1. Assert: mimeType’s essence is \"multipart/form-data\".\n assert(mimeType !== 'failure' && mimeType.essence === 'multipart/form-data')\n\n const boundaryString = mimeType.parameters.get('boundary')\n\n // 2. If mimeType’s parameters[\"boundary\"] does not exist, return failure.\n // Otherwise, let boundary be the result of UTF-8 decoding mimeType’s\n // parameters[\"boundary\"].\n if (boundaryString === undefined) {\n return 'failure'\n }\n\n const boundary = Buffer.from(`--${boundaryString}`, 'utf8')\n\n // 3. Let entry list be an empty entry list.\n const entryList = []\n\n // 4. Let position be a pointer to a byte in input, initially pointing at\n // the first byte.\n const position = { position: 0 }\n\n // Note: undici addition, allows leading and trailing CRLFs.\n while (input[position.position] === 0x0d && input[position.position + 1] === 0x0a) {\n position.position += 2\n }\n\n let trailing = input.length\n\n while (input[trailing - 1] === 0x0a && input[trailing - 2] === 0x0d) {\n trailing -= 2\n }\n\n if (trailing !== input.length) {\n input = input.subarray(0, trailing)\n }\n\n // 5. While true:\n while (true) {\n // 5.1. If position points to a sequence of bytes starting with 0x2D 0x2D\n // (`--`) followed by boundary, advance position by 2 + the length of\n // boundary. Otherwise, return failure.\n // Note: boundary is padded with 2 dashes already, no need to add 2.\n if (input.subarray(position.position, position.position + boundary.length).equals(boundary)) {\n position.position += boundary.length\n } else {\n return 'failure'\n }\n\n // 5.2. If position points to the sequence of bytes 0x2D 0x2D 0x0D 0x0A\n // (`--` followed by CR LF) followed by the end of input, return entry list.\n // Note: a body does NOT need to end with CRLF. It can end with --.\n if (\n (position.position === input.length - 2 && bufferStartsWith(input, dd, position)) ||\n (position.position === input.length - 4 && bufferStartsWith(input, ddcrlf, position))\n ) {\n return entryList\n }\n\n // 5.3. If position does not point to a sequence of bytes starting with 0x0D\n // 0x0A (CR LF), return failure.\n if (input[position.position] !== 0x0d || input[position.position + 1] !== 0x0a) {\n return 'failure'\n }\n\n // 5.4. Advance position by 2. (This skips past the newline.)\n position.position += 2\n\n // 5.5. Let name, filename and contentType be the result of parsing\n // multipart/form-data headers on input and position, if the result\n // is not failure. Otherwise, return failure.\n const result = parseMultipartFormDataHeaders(input, position)\n\n if (result === 'failure') {\n return 'failure'\n }\n\n let { name, filename, contentType, encoding } = result\n\n // 5.6. Advance position by 2. (This skips past the empty line that marks\n // the end of the headers.)\n position.position += 2\n\n // 5.7. Let body be the empty byte sequence.\n let body\n\n // 5.8. Body loop: While position is not past the end of input:\n // TODO: the steps here are completely wrong\n {\n const boundaryIndex = input.indexOf(boundary.subarray(2), position.position)\n\n if (boundaryIndex === -1) {\n return 'failure'\n }\n\n body = input.subarray(position.position, boundaryIndex - 4)\n\n position.position += body.length\n\n // Note: position must be advanced by the body's length before being\n // decoded, otherwise the parsing will fail.\n if (encoding === 'base64') {\n body = Buffer.from(body.toString(), 'base64')\n }\n }\n\n // 5.9. If position does not point to a sequence of bytes starting with\n // 0x0D 0x0A (CR LF), return failure. Otherwise, advance position by 2.\n if (input[position.position] !== 0x0d || input[position.position + 1] !== 0x0a) {\n return 'failure'\n } else {\n position.position += 2\n }\n\n // 5.10. If filename is not null:\n let value\n\n if (filename !== null) {\n // 5.10.1. If contentType is null, set contentType to \"text/plain\".\n contentType ??= 'text/plain'\n\n // 5.10.2. If contentType is not an ASCII string, set contentType to the empty string.\n\n // Note: `buffer.isAscii` can be used at zero-cost, but converting a string to a buffer is a high overhead.\n // Content-Type is a relatively small string, so it is faster to use `String#charCodeAt`.\n if (!isAsciiString(contentType)) {\n contentType = ''\n }\n\n // 5.10.3. Let value be a new File object with name filename, type contentType, and body body.\n value = new File([body], filename, { type: contentType })\n } else {\n // 5.11. Otherwise:\n\n // 5.11.1. Let value be the UTF-8 decoding without BOM of body.\n value = utf8DecodeBytes(Buffer.from(body))\n }\n\n // 5.12. Assert: name is a scalar value string and value is either a scalar value string or a File object.\n assert(isUSVString(name))\n assert((typeof value === 'string' && isUSVString(value)) || isFileLike(value))\n\n // 5.13. Create an entry with name and value, and append it to entry list.\n entryList.push(makeEntry(name, value, filename))\n }\n}\n\n/**\n * @see https://andreubotella.github.io/multipart-form-data/#parse-multipart-form-data-headers\n * @param {Buffer} input\n * @param {{ position: number }} position\n */\nfunction parseMultipartFormDataHeaders (input, position) {\n // 1. Let name, filename and contentType be null.\n let name = null\n let filename = null\n let contentType = null\n let encoding = null\n\n // 2. While true:\n while (true) {\n // 2.1. If position points to a sequence of bytes starting with 0x0D 0x0A (CR LF):\n if (input[position.position] === 0x0d && input[position.position + 1] === 0x0a) {\n // 2.1.1. If name is null, return failure.\n if (name === null) {\n return 'failure'\n }\n\n // 2.1.2. Return name, filename and contentType.\n return { name, filename, contentType, encoding }\n }\n\n // 2.2. Let header name be the result of collecting a sequence of bytes that are\n // not 0x0A (LF), 0x0D (CR) or 0x3A (:), given position.\n let headerName = collectASequenceOfBytes(\n (char) => char !== 0x0a && char !== 0x0d && char !== 0x3a,\n input,\n position\n )\n\n // 2.3. Remove any HTTP tab or space bytes from the start or end of header name.\n headerName = removeChars(headerName, true, true, (char) => char === 0x9 || char === 0x20)\n\n // 2.4. If header name does not match the field-name token production, return failure.\n if (!HTTP_TOKEN_CODEPOINTS.test(headerName.toString())) {\n return 'failure'\n }\n\n // 2.5. If the byte at position is not 0x3A (:), return failure.\n if (input[position.position] !== 0x3a) {\n return 'failure'\n }\n\n // 2.6. Advance position by 1.\n position.position++\n\n // 2.7. Collect a sequence of bytes that are HTTP tab or space bytes given position.\n // (Do nothing with those bytes.)\n collectASequenceOfBytes(\n (char) => char === 0x20 || char === 0x09,\n input,\n position\n )\n\n // 2.8. Byte-lowercase header name and switch on the result:\n switch (bufferToLowerCasedHeaderName(headerName)) {\n case 'content-disposition': {\n // 1. Set name and filename to null.\n name = filename = null\n\n // 2. If position does not point to a sequence of bytes starting with\n // `form-data; name=\"`, return failure.\n if (!bufferStartsWith(input, formDataNameBuffer, position)) {\n return 'failure'\n }\n\n // 3. Advance position so it points at the byte after the next 0x22 (\")\n // byte (the one in the sequence of bytes matched above).\n position.position += 17\n\n // 4. Set name to the result of parsing a multipart/form-data name given\n // input and position, if the result is not failure. Otherwise, return\n // failure.\n name = parseMultipartFormDataName(input, position)\n\n if (name === null) {\n return 'failure'\n }\n\n // 5. If position points to a sequence of bytes starting with `; filename=\"`:\n if (bufferStartsWith(input, filenameBuffer, position)) {\n // Note: undici also handles filename*\n let check = position.position + filenameBuffer.length\n\n if (input[check] === 0x2a) {\n position.position += 1\n check += 1\n }\n\n if (input[check] !== 0x3d || input[check + 1] !== 0x22) { // =\"\n return 'failure'\n }\n\n // 1. Advance position so it points at the byte after the next 0x22 (\") byte\n // (the one in the sequence of bytes matched above).\n position.position += 12\n\n // 2. Set filename to the result of parsing a multipart/form-data name given\n // input and position, if the result is not failure. Otherwise, return failure.\n filename = parseMultipartFormDataName(input, position)\n\n if (filename === null) {\n return 'failure'\n }\n }\n\n break\n }\n case 'content-type': {\n // 1. Let header value be the result of collecting a sequence of bytes that are\n // not 0x0A (LF) or 0x0D (CR), given position.\n let headerValue = collectASequenceOfBytes(\n (char) => char !== 0x0a && char !== 0x0d,\n input,\n position\n )\n\n // 2. Remove any HTTP tab or space bytes from the end of header value.\n headerValue = removeChars(headerValue, false, true, (char) => char === 0x9 || char === 0x20)\n\n // 3. Set contentType to the isomorphic decoding of header value.\n contentType = isomorphicDecode(headerValue)\n\n break\n }\n case 'content-transfer-encoding': {\n let headerValue = collectASequenceOfBytes(\n (char) => char !== 0x0a && char !== 0x0d,\n input,\n position\n )\n\n headerValue = removeChars(headerValue, false, true, (char) => char === 0x9 || char === 0x20)\n\n encoding = isomorphicDecode(headerValue)\n\n break\n }\n default: {\n // Collect a sequence of bytes that are not 0x0A (LF) or 0x0D (CR), given position.\n // (Do nothing with those bytes.)\n collectASequenceOfBytes(\n (char) => char !== 0x0a && char !== 0x0d,\n input,\n position\n )\n }\n }\n\n // 2.9. If position does not point to a sequence of bytes starting with 0x0D 0x0A\n // (CR LF), return failure. Otherwise, advance position by 2 (past the newline).\n if (input[position.position] !== 0x0d && input[position.position + 1] !== 0x0a) {\n return 'failure'\n } else {\n position.position += 2\n }\n }\n}\n\n/**\n * @see https://andreubotella.github.io/multipart-form-data/#parse-a-multipart-form-data-name\n * @param {Buffer} input\n * @param {{ position: number }} position\n */\nfunction parseMultipartFormDataName (input, position) {\n // 1. Assert: The byte at (position - 1) is 0x22 (\").\n assert(input[position.position - 1] === 0x22)\n\n // 2. Let name be the result of collecting a sequence of bytes that are not 0x0A (LF), 0x0D (CR) or 0x22 (\"), given position.\n /** @type {string | Buffer} */\n let name = collectASequenceOfBytes(\n (char) => char !== 0x0a && char !== 0x0d && char !== 0x22,\n input,\n position\n )\n\n // 3. If the byte at position is not 0x22 (\"), return failure. Otherwise, advance position by 1.\n if (input[position.position] !== 0x22) {\n return null // name could be 'failure'\n } else {\n position.position++\n }\n\n // 4. Replace any occurrence of the following subsequences in name with the given byte:\n // - `%0A`: 0x0A (LF)\n // - `%0D`: 0x0D (CR)\n // - `%22`: 0x22 (\")\n name = new TextDecoder().decode(name)\n .replace(/%0A/ig, '\\n')\n .replace(/%0D/ig, '\\r')\n .replace(/%22/g, '\"')\n\n // 5. Return the UTF-8 decoding without BOM of name.\n return name\n}\n\n/**\n * @param {(char: number) => boolean} condition\n * @param {Buffer} input\n * @param {{ position: number }} position\n */\nfunction collectASequenceOfBytes (condition, input, position) {\n let start = position.position\n\n while (start < input.length && condition(input[start])) {\n ++start\n }\n\n return input.subarray(position.position, (position.position = start))\n}\n\n/**\n * @param {Buffer} buf\n * @param {boolean} leading\n * @param {boolean} trailing\n * @param {(charCode: number) => boolean} predicate\n * @returns {Buffer}\n */\nfunction removeChars (buf, leading, trailing, predicate) {\n let lead = 0\n let trail = buf.length - 1\n\n if (leading) {\n while (lead < buf.length && predicate(buf[lead])) lead++\n }\n\n if (trailing) {\n while (trail > 0 && predicate(buf[trail])) trail--\n }\n\n return lead === 0 && trail === buf.length - 1 ? buf : buf.subarray(lead, trail + 1)\n}\n\n/**\n * Checks if {@param buffer} starts with {@param start}\n * @param {Buffer} buffer\n * @param {Buffer} start\n * @param {{ position: number }} position\n */\nfunction bufferStartsWith (buffer, start, position) {\n if (buffer.length < start.length) {\n return false\n }\n\n for (let i = 0; i < start.length; i++) {\n if (start[i] !== buffer[position.position + i]) {\n return false\n }\n }\n\n return true\n}\n\nmodule.exports = {\n multipartFormDataParser,\n validateBoundary\n}\n","'use strict'\n\nconst { isBlobLike, iteratorMixin } = require('./util')\nconst { kState } = require('./symbols')\nconst { kEnumerableProperty } = require('../../core/util')\nconst { FileLike, isFileLike } = require('./file')\nconst { webidl } = require('./webidl')\nconst { File: NativeFile } = require('node:buffer')\nconst nodeUtil = require('node:util')\n\n/** @type {globalThis['File']} */\nconst File = globalThis.File ?? NativeFile\n\n// https://xhr.spec.whatwg.org/#formdata\nclass FormData {\n constructor (form) {\n webidl.util.markAsUncloneable(this)\n\n if (form !== undefined) {\n throw webidl.errors.conversionFailed({\n prefix: 'FormData constructor',\n argument: 'Argument 1',\n types: ['undefined']\n })\n }\n\n this[kState] = []\n }\n\n append (name, value, filename = undefined) {\n webidl.brandCheck(this, FormData)\n\n const prefix = 'FormData.append'\n webidl.argumentLengthCheck(arguments, 2, prefix)\n\n if (arguments.length === 3 && !isBlobLike(value)) {\n throw new TypeError(\n \"Failed to execute 'append' on 'FormData': parameter 2 is not of type 'Blob'\"\n )\n }\n\n // 1. Let value be value if given; otherwise blobValue.\n\n name = webidl.converters.USVString(name, prefix, 'name')\n value = isBlobLike(value)\n ? webidl.converters.Blob(value, prefix, 'value', { strict: false })\n : webidl.converters.USVString(value, prefix, 'value')\n filename = arguments.length === 3\n ? webidl.converters.USVString(filename, prefix, 'filename')\n : undefined\n\n // 2. Let entry be the result of creating an entry with\n // name, value, and filename if given.\n const entry = makeEntry(name, value, filename)\n\n // 3. Append entry to this’s entry list.\n this[kState].push(entry)\n }\n\n delete (name) {\n webidl.brandCheck(this, FormData)\n\n const prefix = 'FormData.delete'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n name = webidl.converters.USVString(name, prefix, 'name')\n\n // The delete(name) method steps are to remove all entries whose name\n // is name from this’s entry list.\n this[kState] = this[kState].filter(entry => entry.name !== name)\n }\n\n get (name) {\n webidl.brandCheck(this, FormData)\n\n const prefix = 'FormData.get'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n name = webidl.converters.USVString(name, prefix, 'name')\n\n // 1. If there is no entry whose name is name in this’s entry list,\n // then return null.\n const idx = this[kState].findIndex((entry) => entry.name === name)\n if (idx === -1) {\n return null\n }\n\n // 2. Return the value of the first entry whose name is name from\n // this’s entry list.\n return this[kState][idx].value\n }\n\n getAll (name) {\n webidl.brandCheck(this, FormData)\n\n const prefix = 'FormData.getAll'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n name = webidl.converters.USVString(name, prefix, 'name')\n\n // 1. If there is no entry whose name is name in this’s entry list,\n // then return the empty list.\n // 2. Return the values of all entries whose name is name, in order,\n // from this’s entry list.\n return this[kState]\n .filter((entry) => entry.name === name)\n .map((entry) => entry.value)\n }\n\n has (name) {\n webidl.brandCheck(this, FormData)\n\n const prefix = 'FormData.has'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n name = webidl.converters.USVString(name, prefix, 'name')\n\n // The has(name) method steps are to return true if there is an entry\n // whose name is name in this’s entry list; otherwise false.\n return this[kState].findIndex((entry) => entry.name === name) !== -1\n }\n\n set (name, value, filename = undefined) {\n webidl.brandCheck(this, FormData)\n\n const prefix = 'FormData.set'\n webidl.argumentLengthCheck(arguments, 2, prefix)\n\n if (arguments.length === 3 && !isBlobLike(value)) {\n throw new TypeError(\n \"Failed to execute 'set' on 'FormData': parameter 2 is not of type 'Blob'\"\n )\n }\n\n // The set(name, value) and set(name, blobValue, filename) method steps\n // are:\n\n // 1. Let value be value if given; otherwise blobValue.\n\n name = webidl.converters.USVString(name, prefix, 'name')\n value = isBlobLike(value)\n ? webidl.converters.Blob(value, prefix, 'name', { strict: false })\n : webidl.converters.USVString(value, prefix, 'name')\n filename = arguments.length === 3\n ? webidl.converters.USVString(filename, prefix, 'name')\n : undefined\n\n // 2. Let entry be the result of creating an entry with name, value, and\n // filename if given.\n const entry = makeEntry(name, value, filename)\n\n // 3. If there are entries in this’s entry list whose name is name, then\n // replace the first such entry with entry and remove the others.\n const idx = this[kState].findIndex((entry) => entry.name === name)\n if (idx !== -1) {\n this[kState] = [\n ...this[kState].slice(0, idx),\n entry,\n ...this[kState].slice(idx + 1).filter((entry) => entry.name !== name)\n ]\n } else {\n // 4. Otherwise, append entry to this’s entry list.\n this[kState].push(entry)\n }\n }\n\n [nodeUtil.inspect.custom] (depth, options) {\n const state = this[kState].reduce((a, b) => {\n if (a[b.name]) {\n if (Array.isArray(a[b.name])) {\n a[b.name].push(b.value)\n } else {\n a[b.name] = [a[b.name], b.value]\n }\n } else {\n a[b.name] = b.value\n }\n\n return a\n }, { __proto__: null })\n\n options.depth ??= depth\n options.colors ??= true\n\n const output = nodeUtil.formatWithOptions(options, state)\n\n // remove [Object null prototype]\n return `FormData ${output.slice(output.indexOf(']') + 2)}`\n }\n}\n\niteratorMixin('FormData', FormData, kState, 'name', 'value')\n\nObject.defineProperties(FormData.prototype, {\n append: kEnumerableProperty,\n delete: kEnumerableProperty,\n get: kEnumerableProperty,\n getAll: kEnumerableProperty,\n has: kEnumerableProperty,\n set: kEnumerableProperty,\n [Symbol.toStringTag]: {\n value: 'FormData',\n configurable: true\n }\n})\n\n/**\n * @see https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#create-an-entry\n * @param {string} name\n * @param {string|Blob} value\n * @param {?string} filename\n * @returns\n */\nfunction makeEntry (name, value, filename) {\n // 1. Set name to the result of converting name into a scalar value string.\n // Note: This operation was done by the webidl converter USVString.\n\n // 2. If value is a string, then set value to the result of converting\n // value into a scalar value string.\n if (typeof value === 'string') {\n // Note: This operation was done by the webidl converter USVString.\n } else {\n // 3. Otherwise:\n\n // 1. If value is not a File object, then set value to a new File object,\n // representing the same bytes, whose name attribute value is \"blob\"\n if (!isFileLike(value)) {\n value = value instanceof Blob\n ? new File([value], 'blob', { type: value.type })\n : new FileLike(value, 'blob', { type: value.type })\n }\n\n // 2. If filename is given, then set value to a new File object,\n // representing the same bytes, whose name attribute is filename.\n if (filename !== undefined) {\n /** @type {FilePropertyBag} */\n const options = {\n type: value.type,\n lastModified: value.lastModified\n }\n\n value = value instanceof NativeFile\n ? new File([value], filename, options)\n : new FileLike(value, filename, options)\n }\n }\n\n // 4. Return an entry whose name is name and whose value is value.\n return { name, value }\n}\n\nmodule.exports = { FormData, makeEntry }\n","'use strict'\n\n// In case of breaking changes, increase the version\n// number to avoid conflicts.\nconst globalOrigin = Symbol.for('undici.globalOrigin.1')\n\nfunction getGlobalOrigin () {\n return globalThis[globalOrigin]\n}\n\nfunction setGlobalOrigin (newOrigin) {\n if (newOrigin === undefined) {\n Object.defineProperty(globalThis, globalOrigin, {\n value: undefined,\n writable: true,\n enumerable: false,\n configurable: false\n })\n\n return\n }\n\n const parsedURL = new URL(newOrigin)\n\n if (parsedURL.protocol !== 'http:' && parsedURL.protocol !== 'https:') {\n throw new TypeError(`Only http & https urls are allowed, received ${parsedURL.protocol}`)\n }\n\n Object.defineProperty(globalThis, globalOrigin, {\n value: parsedURL,\n writable: true,\n enumerable: false,\n configurable: false\n })\n}\n\nmodule.exports = {\n getGlobalOrigin,\n setGlobalOrigin\n}\n","// https://github.com/Ethan-Arrowood/undici-fetch\n\n'use strict'\n\nconst { kConstruct } = require('../../core/symbols')\nconst { kEnumerableProperty } = require('../../core/util')\nconst {\n iteratorMixin,\n isValidHeaderName,\n isValidHeaderValue\n} = require('./util')\nconst { webidl } = require('./webidl')\nconst assert = require('node:assert')\nconst util = require('node:util')\n\nconst kHeadersMap = Symbol('headers map')\nconst kHeadersSortedMap = Symbol('headers map sorted')\n\n/**\n * @param {number} code\n */\nfunction isHTTPWhiteSpaceCharCode (code) {\n return code === 0x00a || code === 0x00d || code === 0x009 || code === 0x020\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#concept-header-value-normalize\n * @param {string} potentialValue\n */\nfunction headerValueNormalize (potentialValue) {\n // To normalize a byte sequence potentialValue, remove\n // any leading and trailing HTTP whitespace bytes from\n // potentialValue.\n let i = 0; let j = potentialValue.length\n\n while (j > i && isHTTPWhiteSpaceCharCode(potentialValue.charCodeAt(j - 1))) --j\n while (j > i && isHTTPWhiteSpaceCharCode(potentialValue.charCodeAt(i))) ++i\n\n return i === 0 && j === potentialValue.length ? potentialValue : potentialValue.substring(i, j)\n}\n\nfunction fill (headers, object) {\n // To fill a Headers object headers with a given object object, run these steps:\n\n // 1. If object is a sequence, then for each header in object:\n // Note: webidl conversion to array has already been done.\n if (Array.isArray(object)) {\n for (let i = 0; i < object.length; ++i) {\n const header = object[i]\n // 1. If header does not contain exactly two items, then throw a TypeError.\n if (header.length !== 2) {\n throw webidl.errors.exception({\n header: 'Headers constructor',\n message: `expected name/value pair to be length 2, found ${header.length}.`\n })\n }\n\n // 2. Append (header’s first item, header’s second item) to headers.\n appendHeader(headers, header[0], header[1])\n }\n } else if (typeof object === 'object' && object !== null) {\n // Note: null should throw\n\n // 2. Otherwise, object is a record, then for each key → value in object,\n // append (key, value) to headers\n const keys = Object.keys(object)\n for (let i = 0; i < keys.length; ++i) {\n appendHeader(headers, keys[i], object[keys[i]])\n }\n } else {\n throw webidl.errors.conversionFailed({\n prefix: 'Headers constructor',\n argument: 'Argument 1',\n types: ['sequence>', 'record']\n })\n }\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#concept-headers-append\n */\nfunction appendHeader (headers, name, value) {\n // 1. Normalize value.\n value = headerValueNormalize(value)\n\n // 2. If name is not a header name or value is not a\n // header value, then throw a TypeError.\n if (!isValidHeaderName(name)) {\n throw webidl.errors.invalidArgument({\n prefix: 'Headers.append',\n value: name,\n type: 'header name'\n })\n } else if (!isValidHeaderValue(value)) {\n throw webidl.errors.invalidArgument({\n prefix: 'Headers.append',\n value,\n type: 'header value'\n })\n }\n\n // 3. If headers’s guard is \"immutable\", then throw a TypeError.\n // 4. Otherwise, if headers’s guard is \"request\" and name is a\n // forbidden header name, return.\n // 5. Otherwise, if headers’s guard is \"request-no-cors\":\n // TODO\n // Note: undici does not implement forbidden header names\n if (getHeadersGuard(headers) === 'immutable') {\n throw new TypeError('immutable')\n }\n\n // 6. Otherwise, if headers’s guard is \"response\" and name is a\n // forbidden response-header name, return.\n\n // 7. Append (name, value) to headers’s header list.\n return getHeadersList(headers).append(name, value, false)\n\n // 8. If headers’s guard is \"request-no-cors\", then remove\n // privileged no-CORS request headers from headers\n}\n\nfunction compareHeaderName (a, b) {\n return a[0] < b[0] ? -1 : 1\n}\n\nclass HeadersList {\n /** @type {[string, string][]|null} */\n cookies = null\n\n constructor (init) {\n if (init instanceof HeadersList) {\n this[kHeadersMap] = new Map(init[kHeadersMap])\n this[kHeadersSortedMap] = init[kHeadersSortedMap]\n this.cookies = init.cookies === null ? null : [...init.cookies]\n } else {\n this[kHeadersMap] = new Map(init)\n this[kHeadersSortedMap] = null\n }\n }\n\n /**\n * @see https://fetch.spec.whatwg.org/#header-list-contains\n * @param {string} name\n * @param {boolean} isLowerCase\n */\n contains (name, isLowerCase) {\n // A header list list contains a header name name if list\n // contains a header whose name is a byte-case-insensitive\n // match for name.\n\n return this[kHeadersMap].has(isLowerCase ? name : name.toLowerCase())\n }\n\n clear () {\n this[kHeadersMap].clear()\n this[kHeadersSortedMap] = null\n this.cookies = null\n }\n\n /**\n * @see https://fetch.spec.whatwg.org/#concept-header-list-append\n * @param {string} name\n * @param {string} value\n * @param {boolean} isLowerCase\n */\n append (name, value, isLowerCase) {\n this[kHeadersSortedMap] = null\n\n // 1. If list contains name, then set name to the first such\n // header’s name.\n const lowercaseName = isLowerCase ? name : name.toLowerCase()\n const exists = this[kHeadersMap].get(lowercaseName)\n\n // 2. Append (name, value) to list.\n if (exists) {\n const delimiter = lowercaseName === 'cookie' ? '; ' : ', '\n this[kHeadersMap].set(lowercaseName, {\n name: exists.name,\n value: `${exists.value}${delimiter}${value}`\n })\n } else {\n this[kHeadersMap].set(lowercaseName, { name, value })\n }\n\n if (lowercaseName === 'set-cookie') {\n (this.cookies ??= []).push(value)\n }\n }\n\n /**\n * @see https://fetch.spec.whatwg.org/#concept-header-list-set\n * @param {string} name\n * @param {string} value\n * @param {boolean} isLowerCase\n */\n set (name, value, isLowerCase) {\n this[kHeadersSortedMap] = null\n const lowercaseName = isLowerCase ? name : name.toLowerCase()\n\n if (lowercaseName === 'set-cookie') {\n this.cookies = [value]\n }\n\n // 1. If list contains name, then set the value of\n // the first such header to value and remove the\n // others.\n // 2. Otherwise, append header (name, value) to list.\n this[kHeadersMap].set(lowercaseName, { name, value })\n }\n\n /**\n * @see https://fetch.spec.whatwg.org/#concept-header-list-delete\n * @param {string} name\n * @param {boolean} isLowerCase\n */\n delete (name, isLowerCase) {\n this[kHeadersSortedMap] = null\n if (!isLowerCase) name = name.toLowerCase()\n\n if (name === 'set-cookie') {\n this.cookies = null\n }\n\n this[kHeadersMap].delete(name)\n }\n\n /**\n * @see https://fetch.spec.whatwg.org/#concept-header-list-get\n * @param {string} name\n * @param {boolean} isLowerCase\n * @returns {string | null}\n */\n get (name, isLowerCase) {\n // 1. If list does not contain name, then return null.\n // 2. Return the values of all headers in list whose name\n // is a byte-case-insensitive match for name,\n // separated from each other by 0x2C 0x20, in order.\n return this[kHeadersMap].get(isLowerCase ? name : name.toLowerCase())?.value ?? null\n }\n\n * [Symbol.iterator] () {\n // use the lowercased name\n for (const { 0: name, 1: { value } } of this[kHeadersMap]) {\n yield [name, value]\n }\n }\n\n get entries () {\n const headers = {}\n\n if (this[kHeadersMap].size !== 0) {\n for (const { name, value } of this[kHeadersMap].values()) {\n headers[name] = value\n }\n }\n\n return headers\n }\n\n rawValues () {\n return this[kHeadersMap].values()\n }\n\n get entriesList () {\n const headers = []\n\n if (this[kHeadersMap].size !== 0) {\n for (const { 0: lowerName, 1: { name, value } } of this[kHeadersMap]) {\n if (lowerName === 'set-cookie') {\n for (const cookie of this.cookies) {\n headers.push([name, cookie])\n }\n } else {\n headers.push([name, value])\n }\n }\n }\n\n return headers\n }\n\n // https://fetch.spec.whatwg.org/#convert-header-names-to-a-sorted-lowercase-set\n toSortedArray () {\n const size = this[kHeadersMap].size\n const array = new Array(size)\n // In most cases, you will use the fast-path.\n // fast-path: Use binary insertion sort for small arrays.\n if (size <= 32) {\n if (size === 0) {\n // If empty, it is an empty array. To avoid the first index assignment.\n return array\n }\n // Improve performance by unrolling loop and avoiding double-loop.\n // Double-loop-less version of the binary insertion sort.\n const iterator = this[kHeadersMap][Symbol.iterator]()\n const firstValue = iterator.next().value\n // set [name, value] to first index.\n array[0] = [firstValue[0], firstValue[1].value]\n // https://fetch.spec.whatwg.org/#concept-header-list-sort-and-combine\n // 3.2.2. Assert: value is non-null.\n assert(firstValue[1].value !== null)\n for (\n let i = 1, j = 0, right = 0, left = 0, pivot = 0, x, value;\n i < size;\n ++i\n ) {\n // get next value\n value = iterator.next().value\n // set [name, value] to current index.\n x = array[i] = [value[0], value[1].value]\n // https://fetch.spec.whatwg.org/#concept-header-list-sort-and-combine\n // 3.2.2. Assert: value is non-null.\n assert(x[1] !== null)\n left = 0\n right = i\n // binary search\n while (left < right) {\n // middle index\n pivot = left + ((right - left) >> 1)\n // compare header name\n if (array[pivot][0] <= x[0]) {\n left = pivot + 1\n } else {\n right = pivot\n }\n }\n if (i !== pivot) {\n j = i\n while (j > left) {\n array[j] = array[--j]\n }\n array[left] = x\n }\n }\n /* c8 ignore next 4 */\n if (!iterator.next().done) {\n // This is for debugging and will never be called.\n throw new TypeError('Unreachable')\n }\n return array\n } else {\n // This case would be a rare occurrence.\n // slow-path: fallback\n let i = 0\n for (const { 0: name, 1: { value } } of this[kHeadersMap]) {\n array[i++] = [name, value]\n // https://fetch.spec.whatwg.org/#concept-header-list-sort-and-combine\n // 3.2.2. Assert: value is non-null.\n assert(value !== null)\n }\n return array.sort(compareHeaderName)\n }\n }\n}\n\n// https://fetch.spec.whatwg.org/#headers-class\nclass Headers {\n #guard\n #headersList\n\n constructor (init = undefined) {\n webidl.util.markAsUncloneable(this)\n\n if (init === kConstruct) {\n return\n }\n\n this.#headersList = new HeadersList()\n\n // The new Headers(init) constructor steps are:\n\n // 1. Set this’s guard to \"none\".\n this.#guard = 'none'\n\n // 2. If init is given, then fill this with init.\n if (init !== undefined) {\n init = webidl.converters.HeadersInit(init, 'Headers contructor', 'init')\n fill(this, init)\n }\n }\n\n // https://fetch.spec.whatwg.org/#dom-headers-append\n append (name, value) {\n webidl.brandCheck(this, Headers)\n\n webidl.argumentLengthCheck(arguments, 2, 'Headers.append')\n\n const prefix = 'Headers.append'\n name = webidl.converters.ByteString(name, prefix, 'name')\n value = webidl.converters.ByteString(value, prefix, 'value')\n\n return appendHeader(this, name, value)\n }\n\n // https://fetch.spec.whatwg.org/#dom-headers-delete\n delete (name) {\n webidl.brandCheck(this, Headers)\n\n webidl.argumentLengthCheck(arguments, 1, 'Headers.delete')\n\n const prefix = 'Headers.delete'\n name = webidl.converters.ByteString(name, prefix, 'name')\n\n // 1. If name is not a header name, then throw a TypeError.\n if (!isValidHeaderName(name)) {\n throw webidl.errors.invalidArgument({\n prefix: 'Headers.delete',\n value: name,\n type: 'header name'\n })\n }\n\n // 2. If this’s guard is \"immutable\", then throw a TypeError.\n // 3. Otherwise, if this’s guard is \"request\" and name is a\n // forbidden header name, return.\n // 4. Otherwise, if this’s guard is \"request-no-cors\", name\n // is not a no-CORS-safelisted request-header name, and\n // name is not a privileged no-CORS request-header name,\n // return.\n // 5. Otherwise, if this’s guard is \"response\" and name is\n // a forbidden response-header name, return.\n // Note: undici does not implement forbidden header names\n if (this.#guard === 'immutable') {\n throw new TypeError('immutable')\n }\n\n // 6. If this’s header list does not contain name, then\n // return.\n if (!this.#headersList.contains(name, false)) {\n return\n }\n\n // 7. Delete name from this’s header list.\n // 8. If this’s guard is \"request-no-cors\", then remove\n // privileged no-CORS request headers from this.\n this.#headersList.delete(name, false)\n }\n\n // https://fetch.spec.whatwg.org/#dom-headers-get\n get (name) {\n webidl.brandCheck(this, Headers)\n\n webidl.argumentLengthCheck(arguments, 1, 'Headers.get')\n\n const prefix = 'Headers.get'\n name = webidl.converters.ByteString(name, prefix, 'name')\n\n // 1. If name is not a header name, then throw a TypeError.\n if (!isValidHeaderName(name)) {\n throw webidl.errors.invalidArgument({\n prefix,\n value: name,\n type: 'header name'\n })\n }\n\n // 2. Return the result of getting name from this’s header\n // list.\n return this.#headersList.get(name, false)\n }\n\n // https://fetch.spec.whatwg.org/#dom-headers-has\n has (name) {\n webidl.brandCheck(this, Headers)\n\n webidl.argumentLengthCheck(arguments, 1, 'Headers.has')\n\n const prefix = 'Headers.has'\n name = webidl.converters.ByteString(name, prefix, 'name')\n\n // 1. If name is not a header name, then throw a TypeError.\n if (!isValidHeaderName(name)) {\n throw webidl.errors.invalidArgument({\n prefix,\n value: name,\n type: 'header name'\n })\n }\n\n // 2. Return true if this’s header list contains name;\n // otherwise false.\n return this.#headersList.contains(name, false)\n }\n\n // https://fetch.spec.whatwg.org/#dom-headers-set\n set (name, value) {\n webidl.brandCheck(this, Headers)\n\n webidl.argumentLengthCheck(arguments, 2, 'Headers.set')\n\n const prefix = 'Headers.set'\n name = webidl.converters.ByteString(name, prefix, 'name')\n value = webidl.converters.ByteString(value, prefix, 'value')\n\n // 1. Normalize value.\n value = headerValueNormalize(value)\n\n // 2. If name is not a header name or value is not a\n // header value, then throw a TypeError.\n if (!isValidHeaderName(name)) {\n throw webidl.errors.invalidArgument({\n prefix,\n value: name,\n type: 'header name'\n })\n } else if (!isValidHeaderValue(value)) {\n throw webidl.errors.invalidArgument({\n prefix,\n value,\n type: 'header value'\n })\n }\n\n // 3. If this’s guard is \"immutable\", then throw a TypeError.\n // 4. Otherwise, if this’s guard is \"request\" and name is a\n // forbidden header name, return.\n // 5. Otherwise, if this’s guard is \"request-no-cors\" and\n // name/value is not a no-CORS-safelisted request-header,\n // return.\n // 6. Otherwise, if this’s guard is \"response\" and name is a\n // forbidden response-header name, return.\n // Note: undici does not implement forbidden header names\n if (this.#guard === 'immutable') {\n throw new TypeError('immutable')\n }\n\n // 7. Set (name, value) in this’s header list.\n // 8. If this’s guard is \"request-no-cors\", then remove\n // privileged no-CORS request headers from this\n this.#headersList.set(name, value, false)\n }\n\n // https://fetch.spec.whatwg.org/#dom-headers-getsetcookie\n getSetCookie () {\n webidl.brandCheck(this, Headers)\n\n // 1. If this’s header list does not contain `Set-Cookie`, then return « ».\n // 2. Return the values of all headers in this’s header list whose name is\n // a byte-case-insensitive match for `Set-Cookie`, in order.\n\n const list = this.#headersList.cookies\n\n if (list) {\n return [...list]\n }\n\n return []\n }\n\n // https://fetch.spec.whatwg.org/#concept-header-list-sort-and-combine\n get [kHeadersSortedMap] () {\n if (this.#headersList[kHeadersSortedMap]) {\n return this.#headersList[kHeadersSortedMap]\n }\n\n // 1. Let headers be an empty list of headers with the key being the name\n // and value the value.\n const headers = []\n\n // 2. Let names be the result of convert header names to a sorted-lowercase\n // set with all the names of the headers in list.\n const names = this.#headersList.toSortedArray()\n\n const cookies = this.#headersList.cookies\n\n // fast-path\n if (cookies === null || cookies.length === 1) {\n // Note: The non-null assertion of value has already been done by `HeadersList#toSortedArray`\n return (this.#headersList[kHeadersSortedMap] = names)\n }\n\n // 3. For each name of names:\n for (let i = 0; i < names.length; ++i) {\n const { 0: name, 1: value } = names[i]\n // 1. If name is `set-cookie`, then:\n if (name === 'set-cookie') {\n // 1. Let values be a list of all values of headers in list whose name\n // is a byte-case-insensitive match for name, in order.\n\n // 2. For each value of values:\n // 1. Append (name, value) to headers.\n for (let j = 0; j < cookies.length; ++j) {\n headers.push([name, cookies[j]])\n }\n } else {\n // 2. Otherwise:\n\n // 1. Let value be the result of getting name from list.\n\n // 2. Assert: value is non-null.\n // Note: This operation was done by `HeadersList#toSortedArray`.\n\n // 3. Append (name, value) to headers.\n headers.push([name, value])\n }\n }\n\n // 4. Return headers.\n return (this.#headersList[kHeadersSortedMap] = headers)\n }\n\n [util.inspect.custom] (depth, options) {\n options.depth ??= depth\n\n return `Headers ${util.formatWithOptions(options, this.#headersList.entries)}`\n }\n\n static getHeadersGuard (o) {\n return o.#guard\n }\n\n static setHeadersGuard (o, guard) {\n o.#guard = guard\n }\n\n static getHeadersList (o) {\n return o.#headersList\n }\n\n static setHeadersList (o, list) {\n o.#headersList = list\n }\n}\n\nconst { getHeadersGuard, setHeadersGuard, getHeadersList, setHeadersList } = Headers\nReflect.deleteProperty(Headers, 'getHeadersGuard')\nReflect.deleteProperty(Headers, 'setHeadersGuard')\nReflect.deleteProperty(Headers, 'getHeadersList')\nReflect.deleteProperty(Headers, 'setHeadersList')\n\niteratorMixin('Headers', Headers, kHeadersSortedMap, 0, 1)\n\nObject.defineProperties(Headers.prototype, {\n append: kEnumerableProperty,\n delete: kEnumerableProperty,\n get: kEnumerableProperty,\n has: kEnumerableProperty,\n set: kEnumerableProperty,\n getSetCookie: kEnumerableProperty,\n [Symbol.toStringTag]: {\n value: 'Headers',\n configurable: true\n },\n [util.inspect.custom]: {\n enumerable: false\n }\n})\n\nwebidl.converters.HeadersInit = function (V, prefix, argument) {\n if (webidl.util.Type(V) === 'Object') {\n const iterator = Reflect.get(V, Symbol.iterator)\n\n // A work-around to ensure we send the properly-cased Headers when V is a Headers object.\n // Read https://github.com/nodejs/undici/pull/3159#issuecomment-2075537226 before touching, please.\n if (!util.types.isProxy(V) && iterator === Headers.prototype.entries) { // Headers object\n try {\n return getHeadersList(V).entriesList\n } catch {\n // fall-through\n }\n }\n\n if (typeof iterator === 'function') {\n return webidl.converters['sequence>'](V, prefix, argument, iterator.bind(V))\n }\n\n return webidl.converters['record'](V, prefix, argument)\n }\n\n throw webidl.errors.conversionFailed({\n prefix: 'Headers constructor',\n argument: 'Argument 1',\n types: ['sequence>', 'record']\n })\n}\n\nmodule.exports = {\n fill,\n // for test.\n compareHeaderName,\n Headers,\n HeadersList,\n getHeadersGuard,\n setHeadersGuard,\n setHeadersList,\n getHeadersList\n}\n","// https://github.com/Ethan-Arrowood/undici-fetch\n\n'use strict'\n\nconst {\n makeNetworkError,\n makeAppropriateNetworkError,\n filterResponse,\n makeResponse,\n fromInnerResponse\n} = require('./response')\nconst { HeadersList } = require('./headers')\nconst { Request, cloneRequest } = require('./request')\nconst zlib = require('node:zlib')\nconst {\n bytesMatch,\n makePolicyContainer,\n clonePolicyContainer,\n requestBadPort,\n TAOCheck,\n appendRequestOriginHeader,\n responseLocationURL,\n requestCurrentURL,\n setRequestReferrerPolicyOnRedirect,\n tryUpgradeRequestToAPotentiallyTrustworthyURL,\n createOpaqueTimingInfo,\n appendFetchMetadata,\n corsCheck,\n crossOriginResourcePolicyCheck,\n determineRequestsReferrer,\n coarsenedSharedCurrentTime,\n createDeferredPromise,\n isBlobLike,\n sameOrigin,\n isCancelled,\n isAborted,\n isErrorLike,\n fullyReadBody,\n readableStreamClose,\n isomorphicEncode,\n urlIsLocal,\n urlIsHttpHttpsScheme,\n urlHasHttpsScheme,\n clampAndCoarsenConnectionTimingInfo,\n simpleRangeHeaderValue,\n buildContentRange,\n createInflate,\n extractMimeType\n} = require('./util')\nconst { kState, kDispatcher } = require('./symbols')\nconst assert = require('node:assert')\nconst { safelyExtractBody, extractBody } = require('./body')\nconst {\n redirectStatusSet,\n nullBodyStatus,\n safeMethodsSet,\n requestBodyHeader,\n subresourceSet\n} = require('./constants')\nconst EE = require('node:events')\nconst { Readable, pipeline, finished } = require('node:stream')\nconst { addAbortListener, isErrored, isReadable, bufferToLowerCasedHeaderName } = require('../../core/util')\nconst { dataURLProcessor, serializeAMimeType, minimizeSupportedMimeType } = require('./data-url')\nconst { getGlobalDispatcher } = require('../../global')\nconst { webidl } = require('./webidl')\nconst { STATUS_CODES } = require('node:http')\nconst GET_OR_HEAD = ['GET', 'HEAD']\n\nconst defaultUserAgent = typeof __UNDICI_IS_NODE__ !== 'undefined' || typeof esbuildDetection !== 'undefined'\n ? 'node'\n : 'undici'\n\n/** @type {import('buffer').resolveObjectURL} */\nlet resolveObjectURL\n\nclass Fetch extends EE {\n constructor (dispatcher) {\n super()\n\n this.dispatcher = dispatcher\n this.connection = null\n this.dump = false\n this.state = 'ongoing'\n }\n\n terminate (reason) {\n if (this.state !== 'ongoing') {\n return\n }\n\n this.state = 'terminated'\n this.connection?.destroy(reason)\n this.emit('terminated', reason)\n }\n\n // https://fetch.spec.whatwg.org/#fetch-controller-abort\n abort (error) {\n if (this.state !== 'ongoing') {\n return\n }\n\n // 1. Set controller’s state to \"aborted\".\n this.state = 'aborted'\n\n // 2. Let fallbackError be an \"AbortError\" DOMException.\n // 3. Set error to fallbackError if it is not given.\n if (!error) {\n error = new DOMException('The operation was aborted.', 'AbortError')\n }\n\n // 4. Let serializedError be StructuredSerialize(error).\n // If that threw an exception, catch it, and let\n // serializedError be StructuredSerialize(fallbackError).\n\n // 5. Set controller’s serialized abort reason to serializedError.\n this.serializedAbortReason = error\n\n this.connection?.destroy(error)\n this.emit('terminated', error)\n }\n}\n\nfunction handleFetchDone (response) {\n finalizeAndReportTiming(response, 'fetch')\n}\n\n// https://fetch.spec.whatwg.org/#fetch-method\nfunction fetch (input, init = undefined) {\n webidl.argumentLengthCheck(arguments, 1, 'globalThis.fetch')\n\n // 1. Let p be a new promise.\n let p = createDeferredPromise()\n\n // 2. Let requestObject be the result of invoking the initial value of\n // Request as constructor with input and init as arguments. If this throws\n // an exception, reject p with it and return p.\n let requestObject\n\n try {\n requestObject = new Request(input, init)\n } catch (e) {\n p.reject(e)\n return p.promise\n }\n\n // 3. Let request be requestObject’s request.\n const request = requestObject[kState]\n\n // 4. If requestObject’s signal’s aborted flag is set, then:\n if (requestObject.signal.aborted) {\n // 1. Abort the fetch() call with p, request, null, and\n // requestObject’s signal’s abort reason.\n abortFetch(p, request, null, requestObject.signal.reason)\n\n // 2. Return p.\n return p.promise\n }\n\n // 5. Let globalObject be request’s client’s global object.\n const globalObject = request.client.globalObject\n\n // 6. If globalObject is a ServiceWorkerGlobalScope object, then set\n // request’s service-workers mode to \"none\".\n if (globalObject?.constructor?.name === 'ServiceWorkerGlobalScope') {\n request.serviceWorkers = 'none'\n }\n\n // 7. Let responseObject be null.\n let responseObject = null\n\n // 8. Let relevantRealm be this’s relevant Realm.\n\n // 9. Let locallyAborted be false.\n let locallyAborted = false\n\n // 10. Let controller be null.\n let controller = null\n\n // 11. Add the following abort steps to requestObject’s signal:\n addAbortListener(\n requestObject.signal,\n () => {\n // 1. Set locallyAborted to true.\n locallyAborted = true\n\n // 2. Assert: controller is non-null.\n assert(controller != null)\n\n // 3. Abort controller with requestObject’s signal’s abort reason.\n controller.abort(requestObject.signal.reason)\n\n const realResponse = responseObject?.deref()\n\n // 4. Abort the fetch() call with p, request, responseObject,\n // and requestObject’s signal’s abort reason.\n abortFetch(p, request, realResponse, requestObject.signal.reason)\n }\n )\n\n // 12. Let handleFetchDone given response response be to finalize and\n // report timing with response, globalObject, and \"fetch\".\n // see function handleFetchDone\n\n // 13. Set controller to the result of calling fetch given request,\n // with processResponseEndOfBody set to handleFetchDone, and processResponse\n // given response being these substeps:\n\n const processResponse = (response) => {\n // 1. If locallyAborted is true, terminate these substeps.\n if (locallyAborted) {\n return\n }\n\n // 2. If response’s aborted flag is set, then:\n if (response.aborted) {\n // 1. Let deserializedError be the result of deserialize a serialized\n // abort reason given controller’s serialized abort reason and\n // relevantRealm.\n\n // 2. Abort the fetch() call with p, request, responseObject, and\n // deserializedError.\n\n abortFetch(p, request, responseObject, controller.serializedAbortReason)\n return\n }\n\n // 3. If response is a network error, then reject p with a TypeError\n // and terminate these substeps.\n if (response.type === 'error') {\n p.reject(new TypeError('fetch failed', { cause: response.error }))\n return\n }\n\n // 4. Set responseObject to the result of creating a Response object,\n // given response, \"immutable\", and relevantRealm.\n responseObject = new WeakRef(fromInnerResponse(response, 'immutable'))\n\n // 5. Resolve p with responseObject.\n p.resolve(responseObject.deref())\n p = null\n }\n\n controller = fetching({\n request,\n processResponseEndOfBody: handleFetchDone,\n processResponse,\n dispatcher: requestObject[kDispatcher] // undici\n })\n\n // 14. Return p.\n return p.promise\n}\n\n// https://fetch.spec.whatwg.org/#finalize-and-report-timing\nfunction finalizeAndReportTiming (response, initiatorType = 'other') {\n // 1. If response is an aborted network error, then return.\n if (response.type === 'error' && response.aborted) {\n return\n }\n\n // 2. If response’s URL list is null or empty, then return.\n if (!response.urlList?.length) {\n return\n }\n\n // 3. Let originalURL be response’s URL list[0].\n const originalURL = response.urlList[0]\n\n // 4. Let timingInfo be response’s timing info.\n let timingInfo = response.timingInfo\n\n // 5. Let cacheState be response’s cache state.\n let cacheState = response.cacheState\n\n // 6. If originalURL’s scheme is not an HTTP(S) scheme, then return.\n if (!urlIsHttpHttpsScheme(originalURL)) {\n return\n }\n\n // 7. If timingInfo is null, then return.\n if (timingInfo === null) {\n return\n }\n\n // 8. If response’s timing allow passed flag is not set, then:\n if (!response.timingAllowPassed) {\n // 1. Set timingInfo to a the result of creating an opaque timing info for timingInfo.\n timingInfo = createOpaqueTimingInfo({\n startTime: timingInfo.startTime\n })\n\n // 2. Set cacheState to the empty string.\n cacheState = ''\n }\n\n // 9. Set timingInfo’s end time to the coarsened shared current time\n // given global’s relevant settings object’s cross-origin isolated\n // capability.\n // TODO: given global’s relevant settings object’s cross-origin isolated\n // capability?\n timingInfo.endTime = coarsenedSharedCurrentTime()\n\n // 10. Set response’s timing info to timingInfo.\n response.timingInfo = timingInfo\n\n // 11. Mark resource timing for timingInfo, originalURL, initiatorType,\n // global, and cacheState.\n markResourceTiming(\n timingInfo,\n originalURL.href,\n initiatorType,\n globalThis,\n cacheState\n )\n}\n\n// https://w3c.github.io/resource-timing/#dfn-mark-resource-timing\nconst markResourceTiming = performance.markResourceTiming\n\n// https://fetch.spec.whatwg.org/#abort-fetch\nfunction abortFetch (p, request, responseObject, error) {\n // 1. Reject promise with error.\n if (p) {\n // We might have already resolved the promise at this stage\n p.reject(error)\n }\n\n // 2. If request’s body is not null and is readable, then cancel request’s\n // body with error.\n if (request.body != null && isReadable(request.body?.stream)) {\n request.body.stream.cancel(error).catch((err) => {\n if (err.code === 'ERR_INVALID_STATE') {\n // Node bug?\n return\n }\n throw err\n })\n }\n\n // 3. If responseObject is null, then return.\n if (responseObject == null) {\n return\n }\n\n // 4. Let response be responseObject’s response.\n const response = responseObject[kState]\n\n // 5. If response’s body is not null and is readable, then error response’s\n // body with error.\n if (response.body != null && isReadable(response.body?.stream)) {\n response.body.stream.cancel(error).catch((err) => {\n if (err.code === 'ERR_INVALID_STATE') {\n // Node bug?\n return\n }\n throw err\n })\n }\n}\n\n// https://fetch.spec.whatwg.org/#fetching\nfunction fetching ({\n request,\n processRequestBodyChunkLength,\n processRequestEndOfBody,\n processResponse,\n processResponseEndOfBody,\n processResponseConsumeBody,\n useParallelQueue = false,\n dispatcher = getGlobalDispatcher() // undici\n}) {\n // Ensure that the dispatcher is set accordingly\n assert(dispatcher)\n\n // 1. Let taskDestination be null.\n let taskDestination = null\n\n // 2. Let crossOriginIsolatedCapability be false.\n let crossOriginIsolatedCapability = false\n\n // 3. If request’s client is non-null, then:\n if (request.client != null) {\n // 1. Set taskDestination to request’s client’s global object.\n taskDestination = request.client.globalObject\n\n // 2. Set crossOriginIsolatedCapability to request’s client’s cross-origin\n // isolated capability.\n crossOriginIsolatedCapability =\n request.client.crossOriginIsolatedCapability\n }\n\n // 4. If useParallelQueue is true, then set taskDestination to the result of\n // starting a new parallel queue.\n // TODO\n\n // 5. Let timingInfo be a new fetch timing info whose start time and\n // post-redirect start time are the coarsened shared current time given\n // crossOriginIsolatedCapability.\n const currentTime = coarsenedSharedCurrentTime(crossOriginIsolatedCapability)\n const timingInfo = createOpaqueTimingInfo({\n startTime: currentTime\n })\n\n // 6. Let fetchParams be a new fetch params whose\n // request is request,\n // timing info is timingInfo,\n // process request body chunk length is processRequestBodyChunkLength,\n // process request end-of-body is processRequestEndOfBody,\n // process response is processResponse,\n // process response consume body is processResponseConsumeBody,\n // process response end-of-body is processResponseEndOfBody,\n // task destination is taskDestination,\n // and cross-origin isolated capability is crossOriginIsolatedCapability.\n const fetchParams = {\n controller: new Fetch(dispatcher),\n request,\n timingInfo,\n processRequestBodyChunkLength,\n processRequestEndOfBody,\n processResponse,\n processResponseConsumeBody,\n processResponseEndOfBody,\n taskDestination,\n crossOriginIsolatedCapability\n }\n\n // 7. If request’s body is a byte sequence, then set request’s body to\n // request’s body as a body.\n // NOTE: Since fetching is only called from fetch, body should already be\n // extracted.\n assert(!request.body || request.body.stream)\n\n // 8. If request’s window is \"client\", then set request’s window to request’s\n // client, if request’s client’s global object is a Window object; otherwise\n // \"no-window\".\n if (request.window === 'client') {\n // TODO: What if request.client is null?\n request.window =\n request.client?.globalObject?.constructor?.name === 'Window'\n ? request.client\n : 'no-window'\n }\n\n // 9. If request’s origin is \"client\", then set request’s origin to request’s\n // client’s origin.\n if (request.origin === 'client') {\n request.origin = request.client.origin\n }\n\n // 10. If all of the following conditions are true:\n // TODO\n\n // 11. If request’s policy container is \"client\", then:\n if (request.policyContainer === 'client') {\n // 1. If request’s client is non-null, then set request’s policy\n // container to a clone of request’s client’s policy container. [HTML]\n if (request.client != null) {\n request.policyContainer = clonePolicyContainer(\n request.client.policyContainer\n )\n } else {\n // 2. Otherwise, set request’s policy container to a new policy\n // container.\n request.policyContainer = makePolicyContainer()\n }\n }\n\n // 12. If request’s header list does not contain `Accept`, then:\n if (!request.headersList.contains('accept', true)) {\n // 1. Let value be `*/*`.\n const value = '*/*'\n\n // 2. A user agent should set value to the first matching statement, if\n // any, switching on request’s destination:\n // \"document\"\n // \"frame\"\n // \"iframe\"\n // `text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8`\n // \"image\"\n // `image/png,image/svg+xml,image/*;q=0.8,*/*;q=0.5`\n // \"style\"\n // `text/css,*/*;q=0.1`\n // TODO\n\n // 3. Append `Accept`/value to request’s header list.\n request.headersList.append('accept', value, true)\n }\n\n // 13. If request’s header list does not contain `Accept-Language`, then\n // user agents should append `Accept-Language`/an appropriate value to\n // request’s header list.\n if (!request.headersList.contains('accept-language', true)) {\n request.headersList.append('accept-language', '*', true)\n }\n\n // 14. If request’s priority is null, then use request’s initiator and\n // destination appropriately in setting request’s priority to a\n // user-agent-defined object.\n if (request.priority === null) {\n // TODO\n }\n\n // 15. If request is a subresource request, then:\n if (subresourceSet.has(request.destination)) {\n // TODO\n }\n\n // 16. Run main fetch given fetchParams.\n mainFetch(fetchParams)\n .catch(err => {\n fetchParams.controller.terminate(err)\n })\n\n // 17. Return fetchParam's controller\n return fetchParams.controller\n}\n\n// https://fetch.spec.whatwg.org/#concept-main-fetch\nasync function mainFetch (fetchParams, recursive = false) {\n // 1. Let request be fetchParams’s request.\n const request = fetchParams.request\n\n // 2. Let response be null.\n let response = null\n\n // 3. If request’s local-URLs-only flag is set and request’s current URL is\n // not local, then set response to a network error.\n if (request.localURLsOnly && !urlIsLocal(requestCurrentURL(request))) {\n response = makeNetworkError('local URLs only')\n }\n\n // 4. Run report Content Security Policy violations for request.\n // TODO\n\n // 5. Upgrade request to a potentially trustworthy URL, if appropriate.\n tryUpgradeRequestToAPotentiallyTrustworthyURL(request)\n\n // 6. If should request be blocked due to a bad port, should fetching request\n // be blocked as mixed content, or should request be blocked by Content\n // Security Policy returns blocked, then set response to a network error.\n if (requestBadPort(request) === 'blocked') {\n response = makeNetworkError('bad port')\n }\n // TODO: should fetching request be blocked as mixed content?\n // TODO: should request be blocked by Content Security Policy?\n\n // 7. If request’s referrer policy is the empty string, then set request’s\n // referrer policy to request’s policy container’s referrer policy.\n if (request.referrerPolicy === '') {\n request.referrerPolicy = request.policyContainer.referrerPolicy\n }\n\n // 8. If request’s referrer is not \"no-referrer\", then set request’s\n // referrer to the result of invoking determine request’s referrer.\n if (request.referrer !== 'no-referrer') {\n request.referrer = determineRequestsReferrer(request)\n }\n\n // 9. Set request’s current URL’s scheme to \"https\" if all of the following\n // conditions are true:\n // - request’s current URL’s scheme is \"http\"\n // - request’s current URL’s host is a domain\n // - Matching request’s current URL’s host per Known HSTS Host Domain Name\n // Matching results in either a superdomain match with an asserted\n // includeSubDomains directive or a congruent match (with or without an\n // asserted includeSubDomains directive). [HSTS]\n // TODO\n\n // 10. If recursive is false, then run the remaining steps in parallel.\n // TODO\n\n // 11. If response is null, then set response to the result of running\n // the steps corresponding to the first matching statement:\n if (response === null) {\n response = await (async () => {\n const currentURL = requestCurrentURL(request)\n\n if (\n // - request’s current URL’s origin is same origin with request’s origin,\n // and request’s response tainting is \"basic\"\n (sameOrigin(currentURL, request.url) && request.responseTainting === 'basic') ||\n // request’s current URL’s scheme is \"data\"\n (currentURL.protocol === 'data:') ||\n // - request’s mode is \"navigate\" or \"websocket\"\n (request.mode === 'navigate' || request.mode === 'websocket')\n ) {\n // 1. Set request’s response tainting to \"basic\".\n request.responseTainting = 'basic'\n\n // 2. Return the result of running scheme fetch given fetchParams.\n return await schemeFetch(fetchParams)\n }\n\n // request’s mode is \"same-origin\"\n if (request.mode === 'same-origin') {\n // 1. Return a network error.\n return makeNetworkError('request mode cannot be \"same-origin\"')\n }\n\n // request’s mode is \"no-cors\"\n if (request.mode === 'no-cors') {\n // 1. If request’s redirect mode is not \"follow\", then return a network\n // error.\n if (request.redirect !== 'follow') {\n return makeNetworkError(\n 'redirect mode cannot be \"follow\" for \"no-cors\" request'\n )\n }\n\n // 2. Set request’s response tainting to \"opaque\".\n request.responseTainting = 'opaque'\n\n // 3. Return the result of running scheme fetch given fetchParams.\n return await schemeFetch(fetchParams)\n }\n\n // request’s current URL’s scheme is not an HTTP(S) scheme\n if (!urlIsHttpHttpsScheme(requestCurrentURL(request))) {\n // Return a network error.\n return makeNetworkError('URL scheme must be a HTTP(S) scheme')\n }\n\n // - request’s use-CORS-preflight flag is set\n // - request’s unsafe-request flag is set and either request’s method is\n // not a CORS-safelisted method or CORS-unsafe request-header names with\n // request’s header list is not empty\n // 1. Set request’s response tainting to \"cors\".\n // 2. Let corsWithPreflightResponse be the result of running HTTP fetch\n // given fetchParams and true.\n // 3. If corsWithPreflightResponse is a network error, then clear cache\n // entries using request.\n // 4. Return corsWithPreflightResponse.\n // TODO\n\n // Otherwise\n // 1. Set request’s response tainting to \"cors\".\n request.responseTainting = 'cors'\n\n // 2. Return the result of running HTTP fetch given fetchParams.\n return await httpFetch(fetchParams)\n })()\n }\n\n // 12. If recursive is true, then return response.\n if (recursive) {\n return response\n }\n\n // 13. If response is not a network error and response is not a filtered\n // response, then:\n if (response.status !== 0 && !response.internalResponse) {\n // If request’s response tainting is \"cors\", then:\n if (request.responseTainting === 'cors') {\n // 1. Let headerNames be the result of extracting header list values\n // given `Access-Control-Expose-Headers` and response’s header list.\n // TODO\n // 2. If request’s credentials mode is not \"include\" and headerNames\n // contains `*`, then set response’s CORS-exposed header-name list to\n // all unique header names in response’s header list.\n // TODO\n // 3. Otherwise, if headerNames is not null or failure, then set\n // response’s CORS-exposed header-name list to headerNames.\n // TODO\n }\n\n // Set response to the following filtered response with response as its\n // internal response, depending on request’s response tainting:\n if (request.responseTainting === 'basic') {\n response = filterResponse(response, 'basic')\n } else if (request.responseTainting === 'cors') {\n response = filterResponse(response, 'cors')\n } else if (request.responseTainting === 'opaque') {\n response = filterResponse(response, 'opaque')\n } else {\n assert(false)\n }\n }\n\n // 14. Let internalResponse be response, if response is a network error,\n // and response’s internal response otherwise.\n let internalResponse =\n response.status === 0 ? response : response.internalResponse\n\n // 15. If internalResponse’s URL list is empty, then set it to a clone of\n // request’s URL list.\n if (internalResponse.urlList.length === 0) {\n internalResponse.urlList.push(...request.urlList)\n }\n\n // 16. If request’s timing allow failed flag is unset, then set\n // internalResponse’s timing allow passed flag.\n if (!request.timingAllowFailed) {\n response.timingAllowPassed = true\n }\n\n // 17. If response is not a network error and any of the following returns\n // blocked\n // - should internalResponse to request be blocked as mixed content\n // - should internalResponse to request be blocked by Content Security Policy\n // - should internalResponse to request be blocked due to its MIME type\n // - should internalResponse to request be blocked due to nosniff\n // TODO\n\n // 18. If response’s type is \"opaque\", internalResponse’s status is 206,\n // internalResponse’s range-requested flag is set, and request’s header\n // list does not contain `Range`, then set response and internalResponse\n // to a network error.\n if (\n response.type === 'opaque' &&\n internalResponse.status === 206 &&\n internalResponse.rangeRequested &&\n !request.headers.contains('range', true)\n ) {\n response = internalResponse = makeNetworkError()\n }\n\n // 19. If response is not a network error and either request’s method is\n // `HEAD` or `CONNECT`, or internalResponse’s status is a null body status,\n // set internalResponse’s body to null and disregard any enqueuing toward\n // it (if any).\n if (\n response.status !== 0 &&\n (request.method === 'HEAD' ||\n request.method === 'CONNECT' ||\n nullBodyStatus.includes(internalResponse.status))\n ) {\n internalResponse.body = null\n fetchParams.controller.dump = true\n }\n\n // 20. If request’s integrity metadata is not the empty string, then:\n if (request.integrity) {\n // 1. Let processBodyError be this step: run fetch finale given fetchParams\n // and a network error.\n const processBodyError = (reason) =>\n fetchFinale(fetchParams, makeNetworkError(reason))\n\n // 2. If request’s response tainting is \"opaque\", or response’s body is null,\n // then run processBodyError and abort these steps.\n if (request.responseTainting === 'opaque' || response.body == null) {\n processBodyError(response.error)\n return\n }\n\n // 3. Let processBody given bytes be these steps:\n const processBody = (bytes) => {\n // 1. If bytes do not match request’s integrity metadata,\n // then run processBodyError and abort these steps. [SRI]\n if (!bytesMatch(bytes, request.integrity)) {\n processBodyError('integrity mismatch')\n return\n }\n\n // 2. Set response’s body to bytes as a body.\n response.body = safelyExtractBody(bytes)[0]\n\n // 3. Run fetch finale given fetchParams and response.\n fetchFinale(fetchParams, response)\n }\n\n // 4. Fully read response’s body given processBody and processBodyError.\n await fullyReadBody(response.body, processBody, processBodyError)\n } else {\n // 21. Otherwise, run fetch finale given fetchParams and response.\n fetchFinale(fetchParams, response)\n }\n}\n\n// https://fetch.spec.whatwg.org/#concept-scheme-fetch\n// given a fetch params fetchParams\nfunction schemeFetch (fetchParams) {\n // Note: since the connection is destroyed on redirect, which sets fetchParams to a\n // cancelled state, we do not want this condition to trigger *unless* there have been\n // no redirects. See https://github.com/nodejs/undici/issues/1776\n // 1. If fetchParams is canceled, then return the appropriate network error for fetchParams.\n if (isCancelled(fetchParams) && fetchParams.request.redirectCount === 0) {\n return Promise.resolve(makeAppropriateNetworkError(fetchParams))\n }\n\n // 2. Let request be fetchParams’s request.\n const { request } = fetchParams\n\n const { protocol: scheme } = requestCurrentURL(request)\n\n // 3. Switch on request’s current URL’s scheme and run the associated steps:\n switch (scheme) {\n case 'about:': {\n // If request’s current URL’s path is the string \"blank\", then return a new response\n // whose status message is `OK`, header list is « (`Content-Type`, `text/html;charset=utf-8`) »,\n // and body is the empty byte sequence as a body.\n\n // Otherwise, return a network error.\n return Promise.resolve(makeNetworkError('about scheme is not supported'))\n }\n case 'blob:': {\n if (!resolveObjectURL) {\n resolveObjectURL = require('node:buffer').resolveObjectURL\n }\n\n // 1. Let blobURLEntry be request’s current URL’s blob URL entry.\n const blobURLEntry = requestCurrentURL(request)\n\n // https://github.com/web-platform-tests/wpt/blob/7b0ebaccc62b566a1965396e5be7bb2bc06f841f/FileAPI/url/resources/fetch-tests.js#L52-L56\n // Buffer.resolveObjectURL does not ignore URL queries.\n if (blobURLEntry.search.length !== 0) {\n return Promise.resolve(makeNetworkError('NetworkError when attempting to fetch resource.'))\n }\n\n const blob = resolveObjectURL(blobURLEntry.toString())\n\n // 2. If request’s method is not `GET`, blobURLEntry is null, or blobURLEntry’s\n // object is not a Blob object, then return a network error.\n if (request.method !== 'GET' || !isBlobLike(blob)) {\n return Promise.resolve(makeNetworkError('invalid method'))\n }\n\n // 3. Let blob be blobURLEntry’s object.\n // Note: done above\n\n // 4. Let response be a new response.\n const response = makeResponse()\n\n // 5. Let fullLength be blob’s size.\n const fullLength = blob.size\n\n // 6. Let serializedFullLength be fullLength, serialized and isomorphic encoded.\n const serializedFullLength = isomorphicEncode(`${fullLength}`)\n\n // 7. Let type be blob’s type.\n const type = blob.type\n\n // 8. If request’s header list does not contain `Range`:\n // 9. Otherwise:\n if (!request.headersList.contains('range', true)) {\n // 1. Let bodyWithType be the result of safely extracting blob.\n // Note: in the FileAPI a blob \"object\" is a Blob *or* a MediaSource.\n // In node, this can only ever be a Blob. Therefore we can safely\n // use extractBody directly.\n const bodyWithType = extractBody(blob)\n\n // 2. Set response’s status message to `OK`.\n response.statusText = 'OK'\n\n // 3. Set response’s body to bodyWithType’s body.\n response.body = bodyWithType[0]\n\n // 4. Set response’s header list to « (`Content-Length`, serializedFullLength), (`Content-Type`, type) ».\n response.headersList.set('content-length', serializedFullLength, true)\n response.headersList.set('content-type', type, true)\n } else {\n // 1. Set response’s range-requested flag.\n response.rangeRequested = true\n\n // 2. Let rangeHeader be the result of getting `Range` from request’s header list.\n const rangeHeader = request.headersList.get('range', true)\n\n // 3. Let rangeValue be the result of parsing a single range header value given rangeHeader and true.\n const rangeValue = simpleRangeHeaderValue(rangeHeader, true)\n\n // 4. If rangeValue is failure, then return a network error.\n if (rangeValue === 'failure') {\n return Promise.resolve(makeNetworkError('failed to fetch the data URL'))\n }\n\n // 5. Let (rangeStart, rangeEnd) be rangeValue.\n let { rangeStartValue: rangeStart, rangeEndValue: rangeEnd } = rangeValue\n\n // 6. If rangeStart is null:\n // 7. Otherwise:\n if (rangeStart === null) {\n // 1. Set rangeStart to fullLength − rangeEnd.\n rangeStart = fullLength - rangeEnd\n\n // 2. Set rangeEnd to rangeStart + rangeEnd − 1.\n rangeEnd = rangeStart + rangeEnd - 1\n } else {\n // 1. If rangeStart is greater than or equal to fullLength, then return a network error.\n if (rangeStart >= fullLength) {\n return Promise.resolve(makeNetworkError('Range start is greater than the blob\\'s size.'))\n }\n\n // 2. If rangeEnd is null or rangeEnd is greater than or equal to fullLength, then set\n // rangeEnd to fullLength − 1.\n if (rangeEnd === null || rangeEnd >= fullLength) {\n rangeEnd = fullLength - 1\n }\n }\n\n // 8. Let slicedBlob be the result of invoking slice blob given blob, rangeStart,\n // rangeEnd + 1, and type.\n const slicedBlob = blob.slice(rangeStart, rangeEnd, type)\n\n // 9. Let slicedBodyWithType be the result of safely extracting slicedBlob.\n // Note: same reason as mentioned above as to why we use extractBody\n const slicedBodyWithType = extractBody(slicedBlob)\n\n // 10. Set response’s body to slicedBodyWithType’s body.\n response.body = slicedBodyWithType[0]\n\n // 11. Let serializedSlicedLength be slicedBlob’s size, serialized and isomorphic encoded.\n const serializedSlicedLength = isomorphicEncode(`${slicedBlob.size}`)\n\n // 12. Let contentRange be the result of invoking build a content range given rangeStart,\n // rangeEnd, and fullLength.\n const contentRange = buildContentRange(rangeStart, rangeEnd, fullLength)\n\n // 13. Set response’s status to 206.\n response.status = 206\n\n // 14. Set response’s status message to `Partial Content`.\n response.statusText = 'Partial Content'\n\n // 15. Set response’s header list to « (`Content-Length`, serializedSlicedLength),\n // (`Content-Type`, type), (`Content-Range`, contentRange) ».\n response.headersList.set('content-length', serializedSlicedLength, true)\n response.headersList.set('content-type', type, true)\n response.headersList.set('content-range', contentRange, true)\n }\n\n // 10. Return response.\n return Promise.resolve(response)\n }\n case 'data:': {\n // 1. Let dataURLStruct be the result of running the\n // data: URL processor on request’s current URL.\n const currentURL = requestCurrentURL(request)\n const dataURLStruct = dataURLProcessor(currentURL)\n\n // 2. If dataURLStruct is failure, then return a\n // network error.\n if (dataURLStruct === 'failure') {\n return Promise.resolve(makeNetworkError('failed to fetch the data URL'))\n }\n\n // 3. Let mimeType be dataURLStruct’s MIME type, serialized.\n const mimeType = serializeAMimeType(dataURLStruct.mimeType)\n\n // 4. Return a response whose status message is `OK`,\n // header list is « (`Content-Type`, mimeType) »,\n // and body is dataURLStruct’s body as a body.\n return Promise.resolve(makeResponse({\n statusText: 'OK',\n headersList: [\n ['content-type', { name: 'Content-Type', value: mimeType }]\n ],\n body: safelyExtractBody(dataURLStruct.body)[0]\n }))\n }\n case 'file:': {\n // For now, unfortunate as it is, file URLs are left as an exercise for the reader.\n // When in doubt, return a network error.\n return Promise.resolve(makeNetworkError('not implemented... yet...'))\n }\n case 'http:':\n case 'https:': {\n // Return the result of running HTTP fetch given fetchParams.\n\n return httpFetch(fetchParams)\n .catch((err) => makeNetworkError(err))\n }\n default: {\n return Promise.resolve(makeNetworkError('unknown scheme'))\n }\n }\n}\n\n// https://fetch.spec.whatwg.org/#finalize-response\nfunction finalizeResponse (fetchParams, response) {\n // 1. Set fetchParams’s request’s done flag.\n fetchParams.request.done = true\n\n // 2, If fetchParams’s process response done is not null, then queue a fetch\n // task to run fetchParams’s process response done given response, with\n // fetchParams’s task destination.\n if (fetchParams.processResponseDone != null) {\n queueMicrotask(() => fetchParams.processResponseDone(response))\n }\n}\n\n// https://fetch.spec.whatwg.org/#fetch-finale\nfunction fetchFinale (fetchParams, response) {\n // 1. Let timingInfo be fetchParams’s timing info.\n let timingInfo = fetchParams.timingInfo\n\n // 2. If response is not a network error and fetchParams’s request’s client is a secure context,\n // then set timingInfo’s server-timing headers to the result of getting, decoding, and splitting\n // `Server-Timing` from response’s internal response’s header list.\n // TODO\n\n // 3. Let processResponseEndOfBody be the following steps:\n const processResponseEndOfBody = () => {\n // 1. Let unsafeEndTime be the unsafe shared current time.\n const unsafeEndTime = Date.now() // ?\n\n // 2. If fetchParams’s request’s destination is \"document\", then set fetchParams’s controller’s\n // full timing info to fetchParams’s timing info.\n if (fetchParams.request.destination === 'document') {\n fetchParams.controller.fullTimingInfo = timingInfo\n }\n\n // 3. Set fetchParams’s controller’s report timing steps to the following steps given a global object global:\n fetchParams.controller.reportTimingSteps = () => {\n // 1. If fetchParams’s request’s URL’s scheme is not an HTTP(S) scheme, then return.\n if (fetchParams.request.url.protocol !== 'https:') {\n return\n }\n\n // 2. Set timingInfo’s end time to the relative high resolution time given unsafeEndTime and global.\n timingInfo.endTime = unsafeEndTime\n\n // 3. Let cacheState be response’s cache state.\n let cacheState = response.cacheState\n\n // 4. Let bodyInfo be response’s body info.\n const bodyInfo = response.bodyInfo\n\n // 5. If response’s timing allow passed flag is not set, then set timingInfo to the result of creating an\n // opaque timing info for timingInfo and set cacheState to the empty string.\n if (!response.timingAllowPassed) {\n timingInfo = createOpaqueTimingInfo(timingInfo)\n\n cacheState = ''\n }\n\n // 6. Let responseStatus be 0.\n let responseStatus = 0\n\n // 7. If fetchParams’s request’s mode is not \"navigate\" or response’s has-cross-origin-redirects is false:\n if (fetchParams.request.mode !== 'navigator' || !response.hasCrossOriginRedirects) {\n // 1. Set responseStatus to response’s status.\n responseStatus = response.status\n\n // 2. Let mimeType be the result of extracting a MIME type from response’s header list.\n const mimeType = extractMimeType(response.headersList)\n\n // 3. If mimeType is not failure, then set bodyInfo’s content type to the result of minimizing a supported MIME type given mimeType.\n if (mimeType !== 'failure') {\n bodyInfo.contentType = minimizeSupportedMimeType(mimeType)\n }\n }\n\n // 8. If fetchParams’s request’s initiator type is non-null, then mark resource timing given timingInfo,\n // fetchParams’s request’s URL, fetchParams’s request’s initiator type, global, cacheState, bodyInfo,\n // and responseStatus.\n if (fetchParams.request.initiatorType != null) {\n // TODO: update markresourcetiming\n markResourceTiming(timingInfo, fetchParams.request.url.href, fetchParams.request.initiatorType, globalThis, cacheState, bodyInfo, responseStatus)\n }\n }\n\n // 4. Let processResponseEndOfBodyTask be the following steps:\n const processResponseEndOfBodyTask = () => {\n // 1. Set fetchParams’s request’s done flag.\n fetchParams.request.done = true\n\n // 2. If fetchParams’s process response end-of-body is non-null, then run fetchParams’s process\n // response end-of-body given response.\n if (fetchParams.processResponseEndOfBody != null) {\n queueMicrotask(() => fetchParams.processResponseEndOfBody(response))\n }\n\n // 3. If fetchParams’s request’s initiator type is non-null and fetchParams’s request’s client’s\n // global object is fetchParams’s task destination, then run fetchParams’s controller’s report\n // timing steps given fetchParams’s request’s client’s global object.\n if (fetchParams.request.initiatorType != null) {\n fetchParams.controller.reportTimingSteps()\n }\n }\n\n // 5. Queue a fetch task to run processResponseEndOfBodyTask with fetchParams’s task destination\n queueMicrotask(() => processResponseEndOfBodyTask())\n }\n\n // 4. If fetchParams’s process response is non-null, then queue a fetch task to run fetchParams’s\n // process response given response, with fetchParams’s task destination.\n if (fetchParams.processResponse != null) {\n queueMicrotask(() => {\n fetchParams.processResponse(response)\n fetchParams.processResponse = null\n })\n }\n\n // 5. Let internalResponse be response, if response is a network error; otherwise response’s internal response.\n const internalResponse = response.type === 'error' ? response : (response.internalResponse ?? response)\n\n // 6. If internalResponse’s body is null, then run processResponseEndOfBody.\n // 7. Otherwise:\n if (internalResponse.body == null) {\n processResponseEndOfBody()\n } else {\n // mcollina: all the following steps of the specs are skipped.\n // The internal transform stream is not needed.\n // See https://github.com/nodejs/undici/pull/3093#issuecomment-2050198541\n\n // 1. Let transformStream be a new TransformStream.\n // 2. Let identityTransformAlgorithm be an algorithm which, given chunk, enqueues chunk in transformStream.\n // 3. Set up transformStream with transformAlgorithm set to identityTransformAlgorithm and flushAlgorithm\n // set to processResponseEndOfBody.\n // 4. Set internalResponse’s body’s stream to the result of internalResponse’s body’s stream piped through transformStream.\n\n finished(internalResponse.body.stream, () => {\n processResponseEndOfBody()\n })\n }\n}\n\n// https://fetch.spec.whatwg.org/#http-fetch\nasync function httpFetch (fetchParams) {\n // 1. Let request be fetchParams’s request.\n const request = fetchParams.request\n\n // 2. Let response be null.\n let response = null\n\n // 3. Let actualResponse be null.\n let actualResponse = null\n\n // 4. Let timingInfo be fetchParams’s timing info.\n const timingInfo = fetchParams.timingInfo\n\n // 5. If request’s service-workers mode is \"all\", then:\n if (request.serviceWorkers === 'all') {\n // TODO\n }\n\n // 6. If response is null, then:\n if (response === null) {\n // 1. If makeCORSPreflight is true and one of these conditions is true:\n // TODO\n\n // 2. If request’s redirect mode is \"follow\", then set request’s\n // service-workers mode to \"none\".\n if (request.redirect === 'follow') {\n request.serviceWorkers = 'none'\n }\n\n // 3. Set response and actualResponse to the result of running\n // HTTP-network-or-cache fetch given fetchParams.\n actualResponse = response = await httpNetworkOrCacheFetch(fetchParams)\n\n // 4. If request’s response tainting is \"cors\" and a CORS check\n // for request and response returns failure, then return a network error.\n if (\n request.responseTainting === 'cors' &&\n corsCheck(request, response) === 'failure'\n ) {\n return makeNetworkError('cors failure')\n }\n\n // 5. If the TAO check for request and response returns failure, then set\n // request’s timing allow failed flag.\n if (TAOCheck(request, response) === 'failure') {\n request.timingAllowFailed = true\n }\n }\n\n // 7. If either request’s response tainting or response’s type\n // is \"opaque\", and the cross-origin resource policy check with\n // request’s origin, request’s client, request’s destination,\n // and actualResponse returns blocked, then return a network error.\n if (\n (request.responseTainting === 'opaque' || response.type === 'opaque') &&\n crossOriginResourcePolicyCheck(\n request.origin,\n request.client,\n request.destination,\n actualResponse\n ) === 'blocked'\n ) {\n return makeNetworkError('blocked')\n }\n\n // 8. If actualResponse’s status is a redirect status, then:\n if (redirectStatusSet.has(actualResponse.status)) {\n // 1. If actualResponse’s status is not 303, request’s body is not null,\n // and the connection uses HTTP/2, then user agents may, and are even\n // encouraged to, transmit an RST_STREAM frame.\n // See, https://github.com/whatwg/fetch/issues/1288\n if (request.redirect !== 'manual') {\n fetchParams.controller.connection.destroy(undefined, false)\n }\n\n // 2. Switch on request’s redirect mode:\n if (request.redirect === 'error') {\n // Set response to a network error.\n response = makeNetworkError('unexpected redirect')\n } else if (request.redirect === 'manual') {\n // Set response to an opaque-redirect filtered response whose internal\n // response is actualResponse.\n // NOTE(spec): On the web this would return an `opaqueredirect` response,\n // but that doesn't make sense server side.\n // See https://github.com/nodejs/undici/issues/1193.\n response = actualResponse\n } else if (request.redirect === 'follow') {\n // Set response to the result of running HTTP-redirect fetch given\n // fetchParams and response.\n response = await httpRedirectFetch(fetchParams, response)\n } else {\n assert(false)\n }\n }\n\n // 9. Set response’s timing info to timingInfo.\n response.timingInfo = timingInfo\n\n // 10. Return response.\n return response\n}\n\n// https://fetch.spec.whatwg.org/#http-redirect-fetch\nfunction httpRedirectFetch (fetchParams, response) {\n // 1. Let request be fetchParams’s request.\n const request = fetchParams.request\n\n // 2. Let actualResponse be response, if response is not a filtered response,\n // and response’s internal response otherwise.\n const actualResponse = response.internalResponse\n ? response.internalResponse\n : response\n\n // 3. Let locationURL be actualResponse’s location URL given request’s current\n // URL’s fragment.\n let locationURL\n\n try {\n locationURL = responseLocationURL(\n actualResponse,\n requestCurrentURL(request).hash\n )\n\n // 4. If locationURL is null, then return response.\n if (locationURL == null) {\n return response\n }\n } catch (err) {\n // 5. If locationURL is failure, then return a network error.\n return Promise.resolve(makeNetworkError(err))\n }\n\n // 6. If locationURL’s scheme is not an HTTP(S) scheme, then return a network\n // error.\n if (!urlIsHttpHttpsScheme(locationURL)) {\n return Promise.resolve(makeNetworkError('URL scheme must be a HTTP(S) scheme'))\n }\n\n // 7. If request’s redirect count is 20, then return a network error.\n if (request.redirectCount === 20) {\n return Promise.resolve(makeNetworkError('redirect count exceeded'))\n }\n\n // 8. Increase request’s redirect count by 1.\n request.redirectCount += 1\n\n // 9. If request’s mode is \"cors\", locationURL includes credentials, and\n // request’s origin is not same origin with locationURL’s origin, then return\n // a network error.\n if (\n request.mode === 'cors' &&\n (locationURL.username || locationURL.password) &&\n !sameOrigin(request, locationURL)\n ) {\n return Promise.resolve(makeNetworkError('cross origin not allowed for request mode \"cors\"'))\n }\n\n // 10. If request’s response tainting is \"cors\" and locationURL includes\n // credentials, then return a network error.\n if (\n request.responseTainting === 'cors' &&\n (locationURL.username || locationURL.password)\n ) {\n return Promise.resolve(makeNetworkError(\n 'URL cannot contain credentials for request mode \"cors\"'\n ))\n }\n\n // 11. If actualResponse’s status is not 303, request’s body is non-null,\n // and request’s body’s source is null, then return a network error.\n if (\n actualResponse.status !== 303 &&\n request.body != null &&\n request.body.source == null\n ) {\n return Promise.resolve(makeNetworkError())\n }\n\n // 12. If one of the following is true\n // - actualResponse’s status is 301 or 302 and request’s method is `POST`\n // - actualResponse’s status is 303 and request’s method is not `GET` or `HEAD`\n if (\n ([301, 302].includes(actualResponse.status) && request.method === 'POST') ||\n (actualResponse.status === 303 &&\n !GET_OR_HEAD.includes(request.method))\n ) {\n // then:\n // 1. Set request’s method to `GET` and request’s body to null.\n request.method = 'GET'\n request.body = null\n\n // 2. For each headerName of request-body-header name, delete headerName from\n // request’s header list.\n for (const headerName of requestBodyHeader) {\n request.headersList.delete(headerName)\n }\n }\n\n // 13. If request’s current URL’s origin is not same origin with locationURL’s\n // origin, then for each headerName of CORS non-wildcard request-header name,\n // delete headerName from request’s header list.\n if (!sameOrigin(requestCurrentURL(request), locationURL)) {\n // https://fetch.spec.whatwg.org/#cors-non-wildcard-request-header-name\n request.headersList.delete('authorization', true)\n\n // https://fetch.spec.whatwg.org/#authentication-entries\n request.headersList.delete('proxy-authorization', true)\n\n // \"Cookie\" and \"Host\" are forbidden request-headers, which undici doesn't implement.\n request.headersList.delete('cookie', true)\n request.headersList.delete('host', true)\n }\n\n // 14. If request’s body is non-null, then set request’s body to the first return\n // value of safely extracting request’s body’s source.\n if (request.body != null) {\n assert(request.body.source != null)\n request.body = safelyExtractBody(request.body.source)[0]\n }\n\n // 15. Let timingInfo be fetchParams’s timing info.\n const timingInfo = fetchParams.timingInfo\n\n // 16. Set timingInfo’s redirect end time and post-redirect start time to the\n // coarsened shared current time given fetchParams’s cross-origin isolated\n // capability.\n timingInfo.redirectEndTime = timingInfo.postRedirectStartTime =\n coarsenedSharedCurrentTime(fetchParams.crossOriginIsolatedCapability)\n\n // 17. If timingInfo’s redirect start time is 0, then set timingInfo’s\n // redirect start time to timingInfo’s start time.\n if (timingInfo.redirectStartTime === 0) {\n timingInfo.redirectStartTime = timingInfo.startTime\n }\n\n // 18. Append locationURL to request’s URL list.\n request.urlList.push(locationURL)\n\n // 19. Invoke set request’s referrer policy on redirect on request and\n // actualResponse.\n setRequestReferrerPolicyOnRedirect(request, actualResponse)\n\n // 20. Return the result of running main fetch given fetchParams and true.\n return mainFetch(fetchParams, true)\n}\n\n// https://fetch.spec.whatwg.org/#http-network-or-cache-fetch\nasync function httpNetworkOrCacheFetch (\n fetchParams,\n isAuthenticationFetch = false,\n isNewConnectionFetch = false\n) {\n // 1. Let request be fetchParams’s request.\n const request = fetchParams.request\n\n // 2. Let httpFetchParams be null.\n let httpFetchParams = null\n\n // 3. Let httpRequest be null.\n let httpRequest = null\n\n // 4. Let response be null.\n let response = null\n\n // 5. Let storedResponse be null.\n // TODO: cache\n\n // 6. Let httpCache be null.\n const httpCache = null\n\n // 7. Let the revalidatingFlag be unset.\n const revalidatingFlag = false\n\n // 8. Run these steps, but abort when the ongoing fetch is terminated:\n\n // 1. If request’s window is \"no-window\" and request’s redirect mode is\n // \"error\", then set httpFetchParams to fetchParams and httpRequest to\n // request.\n if (request.window === 'no-window' && request.redirect === 'error') {\n httpFetchParams = fetchParams\n httpRequest = request\n } else {\n // Otherwise:\n\n // 1. Set httpRequest to a clone of request.\n httpRequest = cloneRequest(request)\n\n // 2. Set httpFetchParams to a copy of fetchParams.\n httpFetchParams = { ...fetchParams }\n\n // 3. Set httpFetchParams’s request to httpRequest.\n httpFetchParams.request = httpRequest\n }\n\n // 3. Let includeCredentials be true if one of\n const includeCredentials =\n request.credentials === 'include' ||\n (request.credentials === 'same-origin' &&\n request.responseTainting === 'basic')\n\n // 4. Let contentLength be httpRequest’s body’s length, if httpRequest’s\n // body is non-null; otherwise null.\n const contentLength = httpRequest.body ? httpRequest.body.length : null\n\n // 5. Let contentLengthHeaderValue be null.\n let contentLengthHeaderValue = null\n\n // 6. If httpRequest’s body is null and httpRequest’s method is `POST` or\n // `PUT`, then set contentLengthHeaderValue to `0`.\n if (\n httpRequest.body == null &&\n ['POST', 'PUT'].includes(httpRequest.method)\n ) {\n contentLengthHeaderValue = '0'\n }\n\n // 7. If contentLength is non-null, then set contentLengthHeaderValue to\n // contentLength, serialized and isomorphic encoded.\n if (contentLength != null) {\n contentLengthHeaderValue = isomorphicEncode(`${contentLength}`)\n }\n\n // 8. If contentLengthHeaderValue is non-null, then append\n // `Content-Length`/contentLengthHeaderValue to httpRequest’s header\n // list.\n if (contentLengthHeaderValue != null) {\n httpRequest.headersList.append('content-length', contentLengthHeaderValue, true)\n }\n\n // 9. If contentLengthHeaderValue is non-null, then append (`Content-Length`,\n // contentLengthHeaderValue) to httpRequest’s header list.\n\n // 10. If contentLength is non-null and httpRequest’s keepalive is true,\n // then:\n if (contentLength != null && httpRequest.keepalive) {\n // NOTE: keepalive is a noop outside of browser context.\n }\n\n // 11. If httpRequest’s referrer is a URL, then append\n // `Referer`/httpRequest’s referrer, serialized and isomorphic encoded,\n // to httpRequest’s header list.\n if (httpRequest.referrer instanceof URL) {\n httpRequest.headersList.append('referer', isomorphicEncode(httpRequest.referrer.href), true)\n }\n\n // 12. Append a request `Origin` header for httpRequest.\n appendRequestOriginHeader(httpRequest)\n\n // 13. Append the Fetch metadata headers for httpRequest. [FETCH-METADATA]\n appendFetchMetadata(httpRequest)\n\n // 14. If httpRequest’s header list does not contain `User-Agent`, then\n // user agents should append `User-Agent`/default `User-Agent` value to\n // httpRequest’s header list.\n if (!httpRequest.headersList.contains('user-agent', true)) {\n httpRequest.headersList.append('user-agent', defaultUserAgent)\n }\n\n // 15. If httpRequest’s cache mode is \"default\" and httpRequest’s header\n // list contains `If-Modified-Since`, `If-None-Match`,\n // `If-Unmodified-Since`, `If-Match`, or `If-Range`, then set\n // httpRequest’s cache mode to \"no-store\".\n if (\n httpRequest.cache === 'default' &&\n (httpRequest.headersList.contains('if-modified-since', true) ||\n httpRequest.headersList.contains('if-none-match', true) ||\n httpRequest.headersList.contains('if-unmodified-since', true) ||\n httpRequest.headersList.contains('if-match', true) ||\n httpRequest.headersList.contains('if-range', true))\n ) {\n httpRequest.cache = 'no-store'\n }\n\n // 16. If httpRequest’s cache mode is \"no-cache\", httpRequest’s prevent\n // no-cache cache-control header modification flag is unset, and\n // httpRequest’s header list does not contain `Cache-Control`, then append\n // `Cache-Control`/`max-age=0` to httpRequest’s header list.\n if (\n httpRequest.cache === 'no-cache' &&\n !httpRequest.preventNoCacheCacheControlHeaderModification &&\n !httpRequest.headersList.contains('cache-control', true)\n ) {\n httpRequest.headersList.append('cache-control', 'max-age=0', true)\n }\n\n // 17. If httpRequest’s cache mode is \"no-store\" or \"reload\", then:\n if (httpRequest.cache === 'no-store' || httpRequest.cache === 'reload') {\n // 1. If httpRequest’s header list does not contain `Pragma`, then append\n // `Pragma`/`no-cache` to httpRequest’s header list.\n if (!httpRequest.headersList.contains('pragma', true)) {\n httpRequest.headersList.append('pragma', 'no-cache', true)\n }\n\n // 2. If httpRequest’s header list does not contain `Cache-Control`,\n // then append `Cache-Control`/`no-cache` to httpRequest’s header list.\n if (!httpRequest.headersList.contains('cache-control', true)) {\n httpRequest.headersList.append('cache-control', 'no-cache', true)\n }\n }\n\n // 18. If httpRequest’s header list contains `Range`, then append\n // `Accept-Encoding`/`identity` to httpRequest’s header list.\n if (httpRequest.headersList.contains('range', true)) {\n httpRequest.headersList.append('accept-encoding', 'identity', true)\n }\n\n // 19. Modify httpRequest’s header list per HTTP. Do not append a given\n // header if httpRequest’s header list contains that header’s name.\n // TODO: https://github.com/whatwg/fetch/issues/1285#issuecomment-896560129\n if (!httpRequest.headersList.contains('accept-encoding', true)) {\n if (urlHasHttpsScheme(requestCurrentURL(httpRequest))) {\n httpRequest.headersList.append('accept-encoding', 'br, gzip, deflate', true)\n } else {\n httpRequest.headersList.append('accept-encoding', 'gzip, deflate', true)\n }\n }\n\n httpRequest.headersList.delete('host', true)\n\n // 20. If includeCredentials is true, then:\n if (includeCredentials) {\n // 1. If the user agent is not configured to block cookies for httpRequest\n // (see section 7 of [COOKIES]), then:\n // TODO: credentials\n // 2. If httpRequest’s header list does not contain `Authorization`, then:\n // TODO: credentials\n }\n\n // 21. If there’s a proxy-authentication entry, use it as appropriate.\n // TODO: proxy-authentication\n\n // 22. Set httpCache to the result of determining the HTTP cache\n // partition, given httpRequest.\n // TODO: cache\n\n // 23. If httpCache is null, then set httpRequest’s cache mode to\n // \"no-store\".\n if (httpCache == null) {\n httpRequest.cache = 'no-store'\n }\n\n // 24. If httpRequest’s cache mode is neither \"no-store\" nor \"reload\",\n // then:\n if (httpRequest.cache !== 'no-store' && httpRequest.cache !== 'reload') {\n // TODO: cache\n }\n\n // 9. If aborted, then return the appropriate network error for fetchParams.\n // TODO\n\n // 10. If response is null, then:\n if (response == null) {\n // 1. If httpRequest’s cache mode is \"only-if-cached\", then return a\n // network error.\n if (httpRequest.cache === 'only-if-cached') {\n return makeNetworkError('only if cached')\n }\n\n // 2. Let forwardResponse be the result of running HTTP-network fetch\n // given httpFetchParams, includeCredentials, and isNewConnectionFetch.\n const forwardResponse = await httpNetworkFetch(\n httpFetchParams,\n includeCredentials,\n isNewConnectionFetch\n )\n\n // 3. If httpRequest’s method is unsafe and forwardResponse’s status is\n // in the range 200 to 399, inclusive, invalidate appropriate stored\n // responses in httpCache, as per the \"Invalidation\" chapter of HTTP\n // Caching, and set storedResponse to null. [HTTP-CACHING]\n if (\n !safeMethodsSet.has(httpRequest.method) &&\n forwardResponse.status >= 200 &&\n forwardResponse.status <= 399\n ) {\n // TODO: cache\n }\n\n // 4. If the revalidatingFlag is set and forwardResponse’s status is 304,\n // then:\n if (revalidatingFlag && forwardResponse.status === 304) {\n // TODO: cache\n }\n\n // 5. If response is null, then:\n if (response == null) {\n // 1. Set response to forwardResponse.\n response = forwardResponse\n\n // 2. Store httpRequest and forwardResponse in httpCache, as per the\n // \"Storing Responses in Caches\" chapter of HTTP Caching. [HTTP-CACHING]\n // TODO: cache\n }\n }\n\n // 11. Set response’s URL list to a clone of httpRequest’s URL list.\n response.urlList = [...httpRequest.urlList]\n\n // 12. If httpRequest’s header list contains `Range`, then set response’s\n // range-requested flag.\n if (httpRequest.headersList.contains('range', true)) {\n response.rangeRequested = true\n }\n\n // 13. Set response’s request-includes-credentials to includeCredentials.\n response.requestIncludesCredentials = includeCredentials\n\n // 14. If response’s status is 401, httpRequest’s response tainting is not\n // \"cors\", includeCredentials is true, and request’s window is an environment\n // settings object, then:\n // TODO\n\n // 15. If response’s status is 407, then:\n if (response.status === 407) {\n // 1. If request’s window is \"no-window\", then return a network error.\n if (request.window === 'no-window') {\n return makeNetworkError()\n }\n\n // 2. ???\n\n // 3. If fetchParams is canceled, then return the appropriate network error for fetchParams.\n if (isCancelled(fetchParams)) {\n return makeAppropriateNetworkError(fetchParams)\n }\n\n // 4. Prompt the end user as appropriate in request’s window and store\n // the result as a proxy-authentication entry. [HTTP-AUTH]\n // TODO: Invoke some kind of callback?\n\n // 5. Set response to the result of running HTTP-network-or-cache fetch given\n // fetchParams.\n // TODO\n return makeNetworkError('proxy authentication required')\n }\n\n // 16. If all of the following are true\n if (\n // response’s status is 421\n response.status === 421 &&\n // isNewConnectionFetch is false\n !isNewConnectionFetch &&\n // request’s body is null, or request’s body is non-null and request’s body’s source is non-null\n (request.body == null || request.body.source != null)\n ) {\n // then:\n\n // 1. If fetchParams is canceled, then return the appropriate network error for fetchParams.\n if (isCancelled(fetchParams)) {\n return makeAppropriateNetworkError(fetchParams)\n }\n\n // 2. Set response to the result of running HTTP-network-or-cache\n // fetch given fetchParams, isAuthenticationFetch, and true.\n\n // TODO (spec): The spec doesn't specify this but we need to cancel\n // the active response before we can start a new one.\n // https://github.com/whatwg/fetch/issues/1293\n fetchParams.controller.connection.destroy()\n\n response = await httpNetworkOrCacheFetch(\n fetchParams,\n isAuthenticationFetch,\n true\n )\n }\n\n // 17. If isAuthenticationFetch is true, then create an authentication entry\n if (isAuthenticationFetch) {\n // TODO\n }\n\n // 18. Return response.\n return response\n}\n\n// https://fetch.spec.whatwg.org/#http-network-fetch\nasync function httpNetworkFetch (\n fetchParams,\n includeCredentials = false,\n forceNewConnection = false\n) {\n assert(!fetchParams.controller.connection || fetchParams.controller.connection.destroyed)\n\n fetchParams.controller.connection = {\n abort: null,\n destroyed: false,\n destroy (err, abort = true) {\n if (!this.destroyed) {\n this.destroyed = true\n if (abort) {\n this.abort?.(err ?? new DOMException('The operation was aborted.', 'AbortError'))\n }\n }\n }\n }\n\n // 1. Let request be fetchParams’s request.\n const request = fetchParams.request\n\n // 2. Let response be null.\n let response = null\n\n // 3. Let timingInfo be fetchParams’s timing info.\n const timingInfo = fetchParams.timingInfo\n\n // 4. Let httpCache be the result of determining the HTTP cache partition,\n // given request.\n // TODO: cache\n const httpCache = null\n\n // 5. If httpCache is null, then set request’s cache mode to \"no-store\".\n if (httpCache == null) {\n request.cache = 'no-store'\n }\n\n // 6. Let networkPartitionKey be the result of determining the network\n // partition key given request.\n // TODO\n\n // 7. Let newConnection be \"yes\" if forceNewConnection is true; otherwise\n // \"no\".\n const newConnection = forceNewConnection ? 'yes' : 'no' // eslint-disable-line no-unused-vars\n\n // 8. Switch on request’s mode:\n if (request.mode === 'websocket') {\n // Let connection be the result of obtaining a WebSocket connection,\n // given request’s current URL.\n // TODO\n } else {\n // Let connection be the result of obtaining a connection, given\n // networkPartitionKey, request’s current URL’s origin,\n // includeCredentials, and forceNewConnection.\n // TODO\n }\n\n // 9. Run these steps, but abort when the ongoing fetch is terminated:\n\n // 1. If connection is failure, then return a network error.\n\n // 2. Set timingInfo’s final connection timing info to the result of\n // calling clamp and coarsen connection timing info with connection’s\n // timing info, timingInfo’s post-redirect start time, and fetchParams’s\n // cross-origin isolated capability.\n\n // 3. If connection is not an HTTP/2 connection, request’s body is non-null,\n // and request’s body’s source is null, then append (`Transfer-Encoding`,\n // `chunked`) to request’s header list.\n\n // 4. Set timingInfo’s final network-request start time to the coarsened\n // shared current time given fetchParams’s cross-origin isolated\n // capability.\n\n // 5. Set response to the result of making an HTTP request over connection\n // using request with the following caveats:\n\n // - Follow the relevant requirements from HTTP. [HTTP] [HTTP-SEMANTICS]\n // [HTTP-COND] [HTTP-CACHING] [HTTP-AUTH]\n\n // - If request’s body is non-null, and request’s body’s source is null,\n // then the user agent may have a buffer of up to 64 kibibytes and store\n // a part of request’s body in that buffer. If the user agent reads from\n // request’s body beyond that buffer’s size and the user agent needs to\n // resend request, then instead return a network error.\n\n // - Set timingInfo’s final network-response start time to the coarsened\n // shared current time given fetchParams’s cross-origin isolated capability,\n // immediately after the user agent’s HTTP parser receives the first byte\n // of the response (e.g., frame header bytes for HTTP/2 or response status\n // line for HTTP/1.x).\n\n // - Wait until all the headers are transmitted.\n\n // - Any responses whose status is in the range 100 to 199, inclusive,\n // and is not 101, are to be ignored, except for the purposes of setting\n // timingInfo’s final network-response start time above.\n\n // - If request’s header list contains `Transfer-Encoding`/`chunked` and\n // response is transferred via HTTP/1.0 or older, then return a network\n // error.\n\n // - If the HTTP request results in a TLS client certificate dialog, then:\n\n // 1. If request’s window is an environment settings object, make the\n // dialog available in request’s window.\n\n // 2. Otherwise, return a network error.\n\n // To transmit request’s body body, run these steps:\n let requestBody = null\n // 1. If body is null and fetchParams’s process request end-of-body is\n // non-null, then queue a fetch task given fetchParams’s process request\n // end-of-body and fetchParams’s task destination.\n if (request.body == null && fetchParams.processRequestEndOfBody) {\n queueMicrotask(() => fetchParams.processRequestEndOfBody())\n } else if (request.body != null) {\n // 2. Otherwise, if body is non-null:\n\n // 1. Let processBodyChunk given bytes be these steps:\n const processBodyChunk = async function * (bytes) {\n // 1. If the ongoing fetch is terminated, then abort these steps.\n if (isCancelled(fetchParams)) {\n return\n }\n\n // 2. Run this step in parallel: transmit bytes.\n yield bytes\n\n // 3. If fetchParams’s process request body is non-null, then run\n // fetchParams’s process request body given bytes’s length.\n fetchParams.processRequestBodyChunkLength?.(bytes.byteLength)\n }\n\n // 2. Let processEndOfBody be these steps:\n const processEndOfBody = () => {\n // 1. If fetchParams is canceled, then abort these steps.\n if (isCancelled(fetchParams)) {\n return\n }\n\n // 2. If fetchParams’s process request end-of-body is non-null,\n // then run fetchParams’s process request end-of-body.\n if (fetchParams.processRequestEndOfBody) {\n fetchParams.processRequestEndOfBody()\n }\n }\n\n // 3. Let processBodyError given e be these steps:\n const processBodyError = (e) => {\n // 1. If fetchParams is canceled, then abort these steps.\n if (isCancelled(fetchParams)) {\n return\n }\n\n // 2. If e is an \"AbortError\" DOMException, then abort fetchParams’s controller.\n if (e.name === 'AbortError') {\n fetchParams.controller.abort()\n } else {\n fetchParams.controller.terminate(e)\n }\n }\n\n // 4. Incrementally read request’s body given processBodyChunk, processEndOfBody,\n // processBodyError, and fetchParams’s task destination.\n requestBody = (async function * () {\n try {\n for await (const bytes of request.body.stream) {\n yield * processBodyChunk(bytes)\n }\n processEndOfBody()\n } catch (err) {\n processBodyError(err)\n }\n })()\n }\n\n try {\n // socket is only provided for websockets\n const { body, status, statusText, headersList, socket } = await dispatch({ body: requestBody })\n\n if (socket) {\n response = makeResponse({ status, statusText, headersList, socket })\n } else {\n const iterator = body[Symbol.asyncIterator]()\n fetchParams.controller.next = () => iterator.next()\n\n response = makeResponse({ status, statusText, headersList })\n }\n } catch (err) {\n // 10. If aborted, then:\n if (err.name === 'AbortError') {\n // 1. If connection uses HTTP/2, then transmit an RST_STREAM frame.\n fetchParams.controller.connection.destroy()\n\n // 2. Return the appropriate network error for fetchParams.\n return makeAppropriateNetworkError(fetchParams, err)\n }\n\n return makeNetworkError(err)\n }\n\n // 11. Let pullAlgorithm be an action that resumes the ongoing fetch\n // if it is suspended.\n const pullAlgorithm = async () => {\n await fetchParams.controller.resume()\n }\n\n // 12. Let cancelAlgorithm be an algorithm that aborts fetchParams’s\n // controller with reason, given reason.\n const cancelAlgorithm = (reason) => {\n // If the aborted fetch was already terminated, then we do not\n // need to do anything.\n if (!isCancelled(fetchParams)) {\n fetchParams.controller.abort(reason)\n }\n }\n\n // 13. Let highWaterMark be a non-negative, non-NaN number, chosen by\n // the user agent.\n // TODO\n\n // 14. Let sizeAlgorithm be an algorithm that accepts a chunk object\n // and returns a non-negative, non-NaN, non-infinite number, chosen by the user agent.\n // TODO\n\n // 15. Let stream be a new ReadableStream.\n // 16. Set up stream with byte reading support with pullAlgorithm set to pullAlgorithm,\n // cancelAlgorithm set to cancelAlgorithm.\n const stream = new ReadableStream(\n {\n async start (controller) {\n fetchParams.controller.controller = controller\n },\n async pull (controller) {\n await pullAlgorithm(controller)\n },\n async cancel (reason) {\n await cancelAlgorithm(reason)\n },\n type: 'bytes'\n }\n )\n\n // 17. Run these steps, but abort when the ongoing fetch is terminated:\n\n // 1. Set response’s body to a new body whose stream is stream.\n response.body = { stream, source: null, length: null }\n\n // 2. If response is not a network error and request’s cache mode is\n // not \"no-store\", then update response in httpCache for request.\n // TODO\n\n // 3. If includeCredentials is true and the user agent is not configured\n // to block cookies for request (see section 7 of [COOKIES]), then run the\n // \"set-cookie-string\" parsing algorithm (see section 5.2 of [COOKIES]) on\n // the value of each header whose name is a byte-case-insensitive match for\n // `Set-Cookie` in response’s header list, if any, and request’s current URL.\n // TODO\n\n // 18. If aborted, then:\n // TODO\n\n // 19. Run these steps in parallel:\n\n // 1. Run these steps, but abort when fetchParams is canceled:\n fetchParams.controller.onAborted = onAborted\n fetchParams.controller.on('terminated', onAborted)\n fetchParams.controller.resume = async () => {\n // 1. While true\n while (true) {\n // 1-3. See onData...\n\n // 4. Set bytes to the result of handling content codings given\n // codings and bytes.\n let bytes\n let isFailure\n try {\n const { done, value } = await fetchParams.controller.next()\n\n if (isAborted(fetchParams)) {\n break\n }\n\n bytes = done ? undefined : value\n } catch (err) {\n if (fetchParams.controller.ended && !timingInfo.encodedBodySize) {\n // zlib doesn't like empty streams.\n bytes = undefined\n } else {\n bytes = err\n\n // err may be propagated from the result of calling readablestream.cancel,\n // which might not be an error. https://github.com/nodejs/undici/issues/2009\n isFailure = true\n }\n }\n\n if (bytes === undefined) {\n // 2. Otherwise, if the bytes transmission for response’s message\n // body is done normally and stream is readable, then close\n // stream, finalize response for fetchParams and response, and\n // abort these in-parallel steps.\n readableStreamClose(fetchParams.controller.controller)\n\n finalizeResponse(fetchParams, response)\n\n return\n }\n\n // 5. Increase timingInfo’s decoded body size by bytes’s length.\n timingInfo.decodedBodySize += bytes?.byteLength ?? 0\n\n // 6. If bytes is failure, then terminate fetchParams’s controller.\n if (isFailure) {\n fetchParams.controller.terminate(bytes)\n return\n }\n\n // 7. Enqueue a Uint8Array wrapping an ArrayBuffer containing bytes\n // into stream.\n const buffer = new Uint8Array(bytes)\n if (buffer.byteLength) {\n fetchParams.controller.controller.enqueue(buffer)\n }\n\n // 8. If stream is errored, then terminate the ongoing fetch.\n if (isErrored(stream)) {\n fetchParams.controller.terminate()\n return\n }\n\n // 9. If stream doesn’t need more data ask the user agent to suspend\n // the ongoing fetch.\n if (fetchParams.controller.controller.desiredSize <= 0) {\n return\n }\n }\n }\n\n // 2. If aborted, then:\n function onAborted (reason) {\n // 2. If fetchParams is aborted, then:\n if (isAborted(fetchParams)) {\n // 1. Set response’s aborted flag.\n response.aborted = true\n\n // 2. If stream is readable, then error stream with the result of\n // deserialize a serialized abort reason given fetchParams’s\n // controller’s serialized abort reason and an\n // implementation-defined realm.\n if (isReadable(stream)) {\n fetchParams.controller.controller.error(\n fetchParams.controller.serializedAbortReason\n )\n }\n } else {\n // 3. Otherwise, if stream is readable, error stream with a TypeError.\n if (isReadable(stream)) {\n fetchParams.controller.controller.error(new TypeError('terminated', {\n cause: isErrorLike(reason) ? reason : undefined\n }))\n }\n }\n\n // 4. If connection uses HTTP/2, then transmit an RST_STREAM frame.\n // 5. Otherwise, the user agent should close connection unless it would be bad for performance to do so.\n fetchParams.controller.connection.destroy()\n }\n\n // 20. Return response.\n return response\n\n function dispatch ({ body }) {\n const url = requestCurrentURL(request)\n /** @type {import('../..').Agent} */\n const agent = fetchParams.controller.dispatcher\n\n return new Promise((resolve, reject) => agent.dispatch(\n {\n path: url.pathname + url.search,\n origin: url.origin,\n method: request.method,\n body: agent.isMockActive ? request.body && (request.body.source || request.body.stream) : body,\n headers: request.headersList.entries,\n maxRedirections: 0,\n upgrade: request.mode === 'websocket' ? 'websocket' : undefined\n },\n {\n body: null,\n abort: null,\n\n onConnect (abort) {\n // TODO (fix): Do we need connection here?\n const { connection } = fetchParams.controller\n\n // Set timingInfo’s final connection timing info to the result of calling clamp and coarsen\n // connection timing info with connection’s timing info, timingInfo’s post-redirect start\n // time, and fetchParams’s cross-origin isolated capability.\n // TODO: implement connection timing\n timingInfo.finalConnectionTimingInfo = clampAndCoarsenConnectionTimingInfo(undefined, timingInfo.postRedirectStartTime, fetchParams.crossOriginIsolatedCapability)\n\n if (connection.destroyed) {\n abort(new DOMException('The operation was aborted.', 'AbortError'))\n } else {\n fetchParams.controller.on('terminated', abort)\n this.abort = connection.abort = abort\n }\n\n // Set timingInfo’s final network-request start time to the coarsened shared current time given\n // fetchParams’s cross-origin isolated capability.\n timingInfo.finalNetworkRequestStartTime = coarsenedSharedCurrentTime(fetchParams.crossOriginIsolatedCapability)\n },\n\n onResponseStarted () {\n // Set timingInfo’s final network-response start time to the coarsened shared current\n // time given fetchParams’s cross-origin isolated capability, immediately after the\n // user agent’s HTTP parser receives the first byte of the response (e.g., frame header\n // bytes for HTTP/2 or response status line for HTTP/1.x).\n timingInfo.finalNetworkResponseStartTime = coarsenedSharedCurrentTime(fetchParams.crossOriginIsolatedCapability)\n },\n\n onHeaders (status, rawHeaders, resume, statusText) {\n if (status < 200) {\n return\n }\n\n let location = ''\n\n const headersList = new HeadersList()\n\n for (let i = 0; i < rawHeaders.length; i += 2) {\n headersList.append(bufferToLowerCasedHeaderName(rawHeaders[i]), rawHeaders[i + 1].toString('latin1'), true)\n }\n location = headersList.get('location', true)\n\n this.body = new Readable({ read: resume })\n\n const decoders = []\n\n const willFollow = location && request.redirect === 'follow' &&\n redirectStatusSet.has(status)\n\n // https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Encoding\n if (request.method !== 'HEAD' && request.method !== 'CONNECT' && !nullBodyStatus.includes(status) && !willFollow) {\n // https://www.rfc-editor.org/rfc/rfc7231#section-3.1.2.1\n const contentEncoding = headersList.get('content-encoding', true)\n // \"All content-coding values are case-insensitive...\"\n /** @type {string[]} */\n const codings = contentEncoding ? contentEncoding.toLowerCase().split(',') : []\n\n // Limit the number of content-encodings to prevent resource exhaustion.\n // CVE fix similar to urllib3 (GHSA-gm62-xv2j-4w53) and curl (CVE-2022-32206).\n const maxContentEncodings = 5\n if (codings.length > maxContentEncodings) {\n reject(new Error(`too many content-encodings in response: ${codings.length}, maximum allowed is ${maxContentEncodings}`))\n return true\n }\n\n for (let i = codings.length - 1; i >= 0; --i) {\n const coding = codings[i].trim()\n // https://www.rfc-editor.org/rfc/rfc9112.html#section-7.2\n if (coding === 'x-gzip' || coding === 'gzip') {\n decoders.push(zlib.createGunzip({\n // Be less strict when decoding compressed responses, since sometimes\n // servers send slightly invalid responses that are still accepted\n // by common browsers.\n // Always using Z_SYNC_FLUSH is what cURL does.\n flush: zlib.constants.Z_SYNC_FLUSH,\n finishFlush: zlib.constants.Z_SYNC_FLUSH\n }))\n } else if (coding === 'deflate') {\n decoders.push(createInflate({\n flush: zlib.constants.Z_SYNC_FLUSH,\n finishFlush: zlib.constants.Z_SYNC_FLUSH\n }))\n } else if (coding === 'br') {\n decoders.push(zlib.createBrotliDecompress({\n flush: zlib.constants.BROTLI_OPERATION_FLUSH,\n finishFlush: zlib.constants.BROTLI_OPERATION_FLUSH\n }))\n } else {\n decoders.length = 0\n break\n }\n }\n }\n\n const onError = this.onError.bind(this)\n\n resolve({\n status,\n statusText,\n headersList,\n body: decoders.length\n ? pipeline(this.body, ...decoders, (err) => {\n if (err) {\n this.onError(err)\n }\n }).on('error', onError)\n : this.body.on('error', onError)\n })\n\n return true\n },\n\n onData (chunk) {\n if (fetchParams.controller.dump) {\n return\n }\n\n // 1. If one or more bytes have been transmitted from response’s\n // message body, then:\n\n // 1. Let bytes be the transmitted bytes.\n const bytes = chunk\n\n // 2. Let codings be the result of extracting header list values\n // given `Content-Encoding` and response’s header list.\n // See pullAlgorithm.\n\n // 3. Increase timingInfo’s encoded body size by bytes’s length.\n timingInfo.encodedBodySize += bytes.byteLength\n\n // 4. See pullAlgorithm...\n\n return this.body.push(bytes)\n },\n\n onComplete () {\n if (this.abort) {\n fetchParams.controller.off('terminated', this.abort)\n }\n\n if (fetchParams.controller.onAborted) {\n fetchParams.controller.off('terminated', fetchParams.controller.onAborted)\n }\n\n fetchParams.controller.ended = true\n\n this.body.push(null)\n },\n\n onError (error) {\n if (this.abort) {\n fetchParams.controller.off('terminated', this.abort)\n }\n\n this.body?.destroy(error)\n\n fetchParams.controller.terminate(error)\n\n reject(error)\n },\n\n onUpgrade (status, rawHeaders, socket) {\n if (status !== 101) {\n return\n }\n\n const headersList = new HeadersList()\n\n for (let i = 0; i < rawHeaders.length; i += 2) {\n headersList.append(bufferToLowerCasedHeaderName(rawHeaders[i]), rawHeaders[i + 1].toString('latin1'), true)\n }\n\n resolve({\n status,\n statusText: STATUS_CODES[status],\n headersList,\n socket\n })\n\n return true\n }\n }\n ))\n }\n}\n\nmodule.exports = {\n fetch,\n Fetch,\n fetching,\n finalizeAndReportTiming\n}\n","/* globals AbortController */\n\n'use strict'\n\nconst { extractBody, mixinBody, cloneBody, bodyUnusable } = require('./body')\nconst { Headers, fill: fillHeaders, HeadersList, setHeadersGuard, getHeadersGuard, setHeadersList, getHeadersList } = require('./headers')\nconst { FinalizationRegistry } = require('./dispatcher-weakref')()\nconst util = require('../../core/util')\nconst nodeUtil = require('node:util')\nconst {\n isValidHTTPToken,\n sameOrigin,\n environmentSettingsObject\n} = require('./util')\nconst {\n forbiddenMethodsSet,\n corsSafeListedMethodsSet,\n referrerPolicy,\n requestRedirect,\n requestMode,\n requestCredentials,\n requestCache,\n requestDuplex\n} = require('./constants')\nconst { kEnumerableProperty, normalizedMethodRecordsBase, normalizedMethodRecords } = util\nconst { kHeaders, kSignal, kState, kDispatcher } = require('./symbols')\nconst { webidl } = require('./webidl')\nconst { URLSerializer } = require('./data-url')\nconst { kConstruct } = require('../../core/symbols')\nconst assert = require('node:assert')\nconst { getMaxListeners, setMaxListeners, getEventListeners, defaultMaxListeners } = require('node:events')\n\nconst kAbortController = Symbol('abortController')\n\nconst requestFinalizer = new FinalizationRegistry(({ signal, abort }) => {\n signal.removeEventListener('abort', abort)\n})\n\nconst dependentControllerMap = new WeakMap()\n\nfunction buildAbort (acRef) {\n return abort\n\n function abort () {\n const ac = acRef.deref()\n if (ac !== undefined) {\n // Currently, there is a problem with FinalizationRegistry.\n // https://github.com/nodejs/node/issues/49344\n // https://github.com/nodejs/node/issues/47748\n // In the case of abort, the first step is to unregister from it.\n // If the controller can refer to it, it is still registered.\n // It will be removed in the future.\n requestFinalizer.unregister(abort)\n\n // Unsubscribe a listener.\n // FinalizationRegistry will no longer be called, so this must be done.\n this.removeEventListener('abort', abort)\n\n ac.abort(this.reason)\n\n const controllerList = dependentControllerMap.get(ac.signal)\n\n if (controllerList !== undefined) {\n if (controllerList.size !== 0) {\n for (const ref of controllerList) {\n const ctrl = ref.deref()\n if (ctrl !== undefined) {\n ctrl.abort(this.reason)\n }\n }\n controllerList.clear()\n }\n dependentControllerMap.delete(ac.signal)\n }\n }\n }\n}\n\nlet patchMethodWarning = false\n\n// https://fetch.spec.whatwg.org/#request-class\nclass Request {\n // https://fetch.spec.whatwg.org/#dom-request\n constructor (input, init = {}) {\n webidl.util.markAsUncloneable(this)\n if (input === kConstruct) {\n return\n }\n\n const prefix = 'Request constructor'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n input = webidl.converters.RequestInfo(input, prefix, 'input')\n init = webidl.converters.RequestInit(init, prefix, 'init')\n\n // 1. Let request be null.\n let request = null\n\n // 2. Let fallbackMode be null.\n let fallbackMode = null\n\n // 3. Let baseURL be this’s relevant settings object’s API base URL.\n const baseUrl = environmentSettingsObject.settingsObject.baseUrl\n\n // 4. Let signal be null.\n let signal = null\n\n // 5. If input is a string, then:\n if (typeof input === 'string') {\n this[kDispatcher] = init.dispatcher\n\n // 1. Let parsedURL be the result of parsing input with baseURL.\n // 2. If parsedURL is failure, then throw a TypeError.\n let parsedURL\n try {\n parsedURL = new URL(input, baseUrl)\n } catch (err) {\n throw new TypeError('Failed to parse URL from ' + input, { cause: err })\n }\n\n // 3. If parsedURL includes credentials, then throw a TypeError.\n if (parsedURL.username || parsedURL.password) {\n throw new TypeError(\n 'Request cannot be constructed from a URL that includes credentials: ' +\n input\n )\n }\n\n // 4. Set request to a new request whose URL is parsedURL.\n request = makeRequest({ urlList: [parsedURL] })\n\n // 5. Set fallbackMode to \"cors\".\n fallbackMode = 'cors'\n } else {\n this[kDispatcher] = init.dispatcher || input[kDispatcher]\n\n // 6. Otherwise:\n\n // 7. Assert: input is a Request object.\n assert(input instanceof Request)\n\n // 8. Set request to input’s request.\n request = input[kState]\n\n // 9. Set signal to input’s signal.\n signal = input[kSignal]\n }\n\n // 7. Let origin be this’s relevant settings object’s origin.\n const origin = environmentSettingsObject.settingsObject.origin\n\n // 8. Let window be \"client\".\n let window = 'client'\n\n // 9. If request’s window is an environment settings object and its origin\n // is same origin with origin, then set window to request’s window.\n if (\n request.window?.constructor?.name === 'EnvironmentSettingsObject' &&\n sameOrigin(request.window, origin)\n ) {\n window = request.window\n }\n\n // 10. If init[\"window\"] exists and is non-null, then throw a TypeError.\n if (init.window != null) {\n throw new TypeError(`'window' option '${window}' must be null`)\n }\n\n // 11. If init[\"window\"] exists, then set window to \"no-window\".\n if ('window' in init) {\n window = 'no-window'\n }\n\n // 12. Set request to a new request with the following properties:\n request = makeRequest({\n // URL request’s URL.\n // undici implementation note: this is set as the first item in request's urlList in makeRequest\n // method request’s method.\n method: request.method,\n // header list A copy of request’s header list.\n // undici implementation note: headersList is cloned in makeRequest\n headersList: request.headersList,\n // unsafe-request flag Set.\n unsafeRequest: request.unsafeRequest,\n // client This’s relevant settings object.\n client: environmentSettingsObject.settingsObject,\n // window window.\n window,\n // priority request’s priority.\n priority: request.priority,\n // origin request’s origin. The propagation of the origin is only significant for navigation requests\n // being handled by a service worker. In this scenario a request can have an origin that is different\n // from the current client.\n origin: request.origin,\n // referrer request’s referrer.\n referrer: request.referrer,\n // referrer policy request’s referrer policy.\n referrerPolicy: request.referrerPolicy,\n // mode request’s mode.\n mode: request.mode,\n // credentials mode request’s credentials mode.\n credentials: request.credentials,\n // cache mode request’s cache mode.\n cache: request.cache,\n // redirect mode request’s redirect mode.\n redirect: request.redirect,\n // integrity metadata request’s integrity metadata.\n integrity: request.integrity,\n // keepalive request’s keepalive.\n keepalive: request.keepalive,\n // reload-navigation flag request’s reload-navigation flag.\n reloadNavigation: request.reloadNavigation,\n // history-navigation flag request’s history-navigation flag.\n historyNavigation: request.historyNavigation,\n // URL list A clone of request’s URL list.\n urlList: [...request.urlList]\n })\n\n const initHasKey = Object.keys(init).length !== 0\n\n // 13. If init is not empty, then:\n if (initHasKey) {\n // 1. If request’s mode is \"navigate\", then set it to \"same-origin\".\n if (request.mode === 'navigate') {\n request.mode = 'same-origin'\n }\n\n // 2. Unset request’s reload-navigation flag.\n request.reloadNavigation = false\n\n // 3. Unset request’s history-navigation flag.\n request.historyNavigation = false\n\n // 4. Set request’s origin to \"client\".\n request.origin = 'client'\n\n // 5. Set request’s referrer to \"client\"\n request.referrer = 'client'\n\n // 6. Set request’s referrer policy to the empty string.\n request.referrerPolicy = ''\n\n // 7. Set request’s URL to request’s current URL.\n request.url = request.urlList[request.urlList.length - 1]\n\n // 8. Set request’s URL list to « request’s URL ».\n request.urlList = [request.url]\n }\n\n // 14. If init[\"referrer\"] exists, then:\n if (init.referrer !== undefined) {\n // 1. Let referrer be init[\"referrer\"].\n const referrer = init.referrer\n\n // 2. If referrer is the empty string, then set request’s referrer to \"no-referrer\".\n if (referrer === '') {\n request.referrer = 'no-referrer'\n } else {\n // 1. Let parsedReferrer be the result of parsing referrer with\n // baseURL.\n // 2. If parsedReferrer is failure, then throw a TypeError.\n let parsedReferrer\n try {\n parsedReferrer = new URL(referrer, baseUrl)\n } catch (err) {\n throw new TypeError(`Referrer \"${referrer}\" is not a valid URL.`, { cause: err })\n }\n\n // 3. If one of the following is true\n // - parsedReferrer’s scheme is \"about\" and path is the string \"client\"\n // - parsedReferrer’s origin is not same origin with origin\n // then set request’s referrer to \"client\".\n if (\n (parsedReferrer.protocol === 'about:' && parsedReferrer.hostname === 'client') ||\n (origin && !sameOrigin(parsedReferrer, environmentSettingsObject.settingsObject.baseUrl))\n ) {\n request.referrer = 'client'\n } else {\n // 4. Otherwise, set request’s referrer to parsedReferrer.\n request.referrer = parsedReferrer\n }\n }\n }\n\n // 15. If init[\"referrerPolicy\"] exists, then set request’s referrer policy\n // to it.\n if (init.referrerPolicy !== undefined) {\n request.referrerPolicy = init.referrerPolicy\n }\n\n // 16. Let mode be init[\"mode\"] if it exists, and fallbackMode otherwise.\n let mode\n if (init.mode !== undefined) {\n mode = init.mode\n } else {\n mode = fallbackMode\n }\n\n // 17. If mode is \"navigate\", then throw a TypeError.\n if (mode === 'navigate') {\n throw webidl.errors.exception({\n header: 'Request constructor',\n message: 'invalid request mode navigate.'\n })\n }\n\n // 18. If mode is non-null, set request’s mode to mode.\n if (mode != null) {\n request.mode = mode\n }\n\n // 19. If init[\"credentials\"] exists, then set request’s credentials mode\n // to it.\n if (init.credentials !== undefined) {\n request.credentials = init.credentials\n }\n\n // 18. If init[\"cache\"] exists, then set request’s cache mode to it.\n if (init.cache !== undefined) {\n request.cache = init.cache\n }\n\n // 21. If request’s cache mode is \"only-if-cached\" and request’s mode is\n // not \"same-origin\", then throw a TypeError.\n if (request.cache === 'only-if-cached' && request.mode !== 'same-origin') {\n throw new TypeError(\n \"'only-if-cached' can be set only with 'same-origin' mode\"\n )\n }\n\n // 22. If init[\"redirect\"] exists, then set request’s redirect mode to it.\n if (init.redirect !== undefined) {\n request.redirect = init.redirect\n }\n\n // 23. If init[\"integrity\"] exists, then set request’s integrity metadata to it.\n if (init.integrity != null) {\n request.integrity = String(init.integrity)\n }\n\n // 24. If init[\"keepalive\"] exists, then set request’s keepalive to it.\n if (init.keepalive !== undefined) {\n request.keepalive = Boolean(init.keepalive)\n }\n\n // 25. If init[\"method\"] exists, then:\n if (init.method !== undefined) {\n // 1. Let method be init[\"method\"].\n let method = init.method\n\n const mayBeNormalized = normalizedMethodRecords[method]\n\n if (mayBeNormalized !== undefined) {\n // Note: Bypass validation DELETE, GET, HEAD, OPTIONS, POST, PUT, PATCH and these lowercase ones\n request.method = mayBeNormalized\n } else {\n // 2. If method is not a method or method is a forbidden method, then\n // throw a TypeError.\n if (!isValidHTTPToken(method)) {\n throw new TypeError(`'${method}' is not a valid HTTP method.`)\n }\n\n const upperCase = method.toUpperCase()\n\n if (forbiddenMethodsSet.has(upperCase)) {\n throw new TypeError(`'${method}' HTTP method is unsupported.`)\n }\n\n // 3. Normalize method.\n // https://fetch.spec.whatwg.org/#concept-method-normalize\n // Note: must be in uppercase\n method = normalizedMethodRecordsBase[upperCase] ?? method\n\n // 4. Set request’s method to method.\n request.method = method\n }\n\n if (!patchMethodWarning && request.method === 'patch') {\n process.emitWarning('Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.', {\n code: 'UNDICI-FETCH-patch'\n })\n\n patchMethodWarning = true\n }\n }\n\n // 26. If init[\"signal\"] exists, then set signal to it.\n if (init.signal !== undefined) {\n signal = init.signal\n }\n\n // 27. Set this’s request to request.\n this[kState] = request\n\n // 28. Set this’s signal to a new AbortSignal object with this’s relevant\n // Realm.\n // TODO: could this be simplified with AbortSignal.any\n // (https://dom.spec.whatwg.org/#dom-abortsignal-any)\n const ac = new AbortController()\n this[kSignal] = ac.signal\n\n // 29. If signal is not null, then make this’s signal follow signal.\n if (signal != null) {\n if (\n !signal ||\n typeof signal.aborted !== 'boolean' ||\n typeof signal.addEventListener !== 'function'\n ) {\n throw new TypeError(\n \"Failed to construct 'Request': member signal is not of type AbortSignal.\"\n )\n }\n\n if (signal.aborted) {\n ac.abort(signal.reason)\n } else {\n // Keep a strong ref to ac while request object\n // is alive. This is needed to prevent AbortController\n // from being prematurely garbage collected.\n // See, https://github.com/nodejs/undici/issues/1926.\n this[kAbortController] = ac\n\n const acRef = new WeakRef(ac)\n const abort = buildAbort(acRef)\n\n // Third-party AbortControllers may not work with these.\n // See, https://github.com/nodejs/undici/pull/1910#issuecomment-1464495619.\n try {\n // If the max amount of listeners is equal to the default, increase it\n // This is only available in node >= v19.9.0\n if (typeof getMaxListeners === 'function' && getMaxListeners(signal) === defaultMaxListeners) {\n setMaxListeners(1500, signal)\n } else if (getEventListeners(signal, 'abort').length >= defaultMaxListeners) {\n setMaxListeners(1500, signal)\n }\n } catch {}\n\n util.addAbortListener(signal, abort)\n // The third argument must be a registry key to be unregistered.\n // Without it, you cannot unregister.\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/FinalizationRegistry\n // abort is used as the unregister key. (because it is unique)\n requestFinalizer.register(ac, { signal, abort }, abort)\n }\n }\n\n // 30. Set this’s headers to a new Headers object with this’s relevant\n // Realm, whose header list is request’s header list and guard is\n // \"request\".\n this[kHeaders] = new Headers(kConstruct)\n setHeadersList(this[kHeaders], request.headersList)\n setHeadersGuard(this[kHeaders], 'request')\n\n // 31. If this’s request’s mode is \"no-cors\", then:\n if (mode === 'no-cors') {\n // 1. If this’s request’s method is not a CORS-safelisted method,\n // then throw a TypeError.\n if (!corsSafeListedMethodsSet.has(request.method)) {\n throw new TypeError(\n `'${request.method} is unsupported in no-cors mode.`\n )\n }\n\n // 2. Set this’s headers’s guard to \"request-no-cors\".\n setHeadersGuard(this[kHeaders], 'request-no-cors')\n }\n\n // 32. If init is not empty, then:\n if (initHasKey) {\n /** @type {HeadersList} */\n const headersList = getHeadersList(this[kHeaders])\n // 1. Let headers be a copy of this’s headers and its associated header\n // list.\n // 2. If init[\"headers\"] exists, then set headers to init[\"headers\"].\n const headers = init.headers !== undefined ? init.headers : new HeadersList(headersList)\n\n // 3. Empty this’s headers’s header list.\n headersList.clear()\n\n // 4. If headers is a Headers object, then for each header in its header\n // list, append header’s name/header’s value to this’s headers.\n if (headers instanceof HeadersList) {\n for (const { name, value } of headers.rawValues()) {\n headersList.append(name, value, false)\n }\n // Note: Copy the `set-cookie` meta-data.\n headersList.cookies = headers.cookies\n } else {\n // 5. Otherwise, fill this’s headers with headers.\n fillHeaders(this[kHeaders], headers)\n }\n }\n\n // 33. Let inputBody be input’s request’s body if input is a Request\n // object; otherwise null.\n const inputBody = input instanceof Request ? input[kState].body : null\n\n // 34. If either init[\"body\"] exists and is non-null or inputBody is\n // non-null, and request’s method is `GET` or `HEAD`, then throw a\n // TypeError.\n if (\n (init.body != null || inputBody != null) &&\n (request.method === 'GET' || request.method === 'HEAD')\n ) {\n throw new TypeError('Request with GET/HEAD method cannot have body.')\n }\n\n // 35. Let initBody be null.\n let initBody = null\n\n // 36. If init[\"body\"] exists and is non-null, then:\n if (init.body != null) {\n // 1. Let Content-Type be null.\n // 2. Set initBody and Content-Type to the result of extracting\n // init[\"body\"], with keepalive set to request’s keepalive.\n const [extractedBody, contentType] = extractBody(\n init.body,\n request.keepalive\n )\n initBody = extractedBody\n\n // 3, If Content-Type is non-null and this’s headers’s header list does\n // not contain `Content-Type`, then append `Content-Type`/Content-Type to\n // this’s headers.\n if (contentType && !getHeadersList(this[kHeaders]).contains('content-type', true)) {\n this[kHeaders].append('content-type', contentType)\n }\n }\n\n // 37. Let inputOrInitBody be initBody if it is non-null; otherwise\n // inputBody.\n const inputOrInitBody = initBody ?? inputBody\n\n // 38. If inputOrInitBody is non-null and inputOrInitBody’s source is\n // null, then:\n if (inputOrInitBody != null && inputOrInitBody.source == null) {\n // 1. If initBody is non-null and init[\"duplex\"] does not exist,\n // then throw a TypeError.\n if (initBody != null && init.duplex == null) {\n throw new TypeError('RequestInit: duplex option is required when sending a body.')\n }\n\n // 2. If this’s request’s mode is neither \"same-origin\" nor \"cors\",\n // then throw a TypeError.\n if (request.mode !== 'same-origin' && request.mode !== 'cors') {\n throw new TypeError(\n 'If request is made from ReadableStream, mode should be \"same-origin\" or \"cors\"'\n )\n }\n\n // 3. Set this’s request’s use-CORS-preflight flag.\n request.useCORSPreflightFlag = true\n }\n\n // 39. Let finalBody be inputOrInitBody.\n let finalBody = inputOrInitBody\n\n // 40. If initBody is null and inputBody is non-null, then:\n if (initBody == null && inputBody != null) {\n // 1. If input is unusable, then throw a TypeError.\n if (bodyUnusable(input)) {\n throw new TypeError(\n 'Cannot construct a Request with a Request object that has already been used.'\n )\n }\n\n // 2. Set finalBody to the result of creating a proxy for inputBody.\n // https://streams.spec.whatwg.org/#readablestream-create-a-proxy\n const identityTransform = new TransformStream()\n inputBody.stream.pipeThrough(identityTransform)\n finalBody = {\n source: inputBody.source,\n length: inputBody.length,\n stream: identityTransform.readable\n }\n }\n\n // 41. Set this’s request’s body to finalBody.\n this[kState].body = finalBody\n }\n\n // Returns request’s HTTP method, which is \"GET\" by default.\n get method () {\n webidl.brandCheck(this, Request)\n\n // The method getter steps are to return this’s request’s method.\n return this[kState].method\n }\n\n // Returns the URL of request as a string.\n get url () {\n webidl.brandCheck(this, Request)\n\n // The url getter steps are to return this’s request’s URL, serialized.\n return URLSerializer(this[kState].url)\n }\n\n // Returns a Headers object consisting of the headers associated with request.\n // Note that headers added in the network layer by the user agent will not\n // be accounted for in this object, e.g., the \"Host\" header.\n get headers () {\n webidl.brandCheck(this, Request)\n\n // The headers getter steps are to return this’s headers.\n return this[kHeaders]\n }\n\n // Returns the kind of resource requested by request, e.g., \"document\"\n // or \"script\".\n get destination () {\n webidl.brandCheck(this, Request)\n\n // The destination getter are to return this’s request’s destination.\n return this[kState].destination\n }\n\n // Returns the referrer of request. Its value can be a same-origin URL if\n // explicitly set in init, the empty string to indicate no referrer, and\n // \"about:client\" when defaulting to the global’s default. This is used\n // during fetching to determine the value of the `Referer` header of the\n // request being made.\n get referrer () {\n webidl.brandCheck(this, Request)\n\n // 1. If this’s request’s referrer is \"no-referrer\", then return the\n // empty string.\n if (this[kState].referrer === 'no-referrer') {\n return ''\n }\n\n // 2. If this’s request’s referrer is \"client\", then return\n // \"about:client\".\n if (this[kState].referrer === 'client') {\n return 'about:client'\n }\n\n // Return this’s request’s referrer, serialized.\n return this[kState].referrer.toString()\n }\n\n // Returns the referrer policy associated with request.\n // This is used during fetching to compute the value of the request’s\n // referrer.\n get referrerPolicy () {\n webidl.brandCheck(this, Request)\n\n // The referrerPolicy getter steps are to return this’s request’s referrer policy.\n return this[kState].referrerPolicy\n }\n\n // Returns the mode associated with request, which is a string indicating\n // whether the request will use CORS, or will be restricted to same-origin\n // URLs.\n get mode () {\n webidl.brandCheck(this, Request)\n\n // The mode getter steps are to return this’s request’s mode.\n return this[kState].mode\n }\n\n // Returns the credentials mode associated with request,\n // which is a string indicating whether credentials will be sent with the\n // request always, never, or only when sent to a same-origin URL.\n get credentials () {\n // The credentials getter steps are to return this’s request’s credentials mode.\n return this[kState].credentials\n }\n\n // Returns the cache mode associated with request,\n // which is a string indicating how the request will\n // interact with the browser’s cache when fetching.\n get cache () {\n webidl.brandCheck(this, Request)\n\n // The cache getter steps are to return this’s request’s cache mode.\n return this[kState].cache\n }\n\n // Returns the redirect mode associated with request,\n // which is a string indicating how redirects for the\n // request will be handled during fetching. A request\n // will follow redirects by default.\n get redirect () {\n webidl.brandCheck(this, Request)\n\n // The redirect getter steps are to return this’s request’s redirect mode.\n return this[kState].redirect\n }\n\n // Returns request’s subresource integrity metadata, which is a\n // cryptographic hash of the resource being fetched. Its value\n // consists of multiple hashes separated by whitespace. [SRI]\n get integrity () {\n webidl.brandCheck(this, Request)\n\n // The integrity getter steps are to return this’s request’s integrity\n // metadata.\n return this[kState].integrity\n }\n\n // Returns a boolean indicating whether or not request can outlive the\n // global in which it was created.\n get keepalive () {\n webidl.brandCheck(this, Request)\n\n // The keepalive getter steps are to return this’s request’s keepalive.\n return this[kState].keepalive\n }\n\n // Returns a boolean indicating whether or not request is for a reload\n // navigation.\n get isReloadNavigation () {\n webidl.brandCheck(this, Request)\n\n // The isReloadNavigation getter steps are to return true if this’s\n // request’s reload-navigation flag is set; otherwise false.\n return this[kState].reloadNavigation\n }\n\n // Returns a boolean indicating whether or not request is for a history\n // navigation (a.k.a. back-forward navigation).\n get isHistoryNavigation () {\n webidl.brandCheck(this, Request)\n\n // The isHistoryNavigation getter steps are to return true if this’s request’s\n // history-navigation flag is set; otherwise false.\n return this[kState].historyNavigation\n }\n\n // Returns the signal associated with request, which is an AbortSignal\n // object indicating whether or not request has been aborted, and its\n // abort event handler.\n get signal () {\n webidl.brandCheck(this, Request)\n\n // The signal getter steps are to return this’s signal.\n return this[kSignal]\n }\n\n get body () {\n webidl.brandCheck(this, Request)\n\n return this[kState].body ? this[kState].body.stream : null\n }\n\n get bodyUsed () {\n webidl.brandCheck(this, Request)\n\n return !!this[kState].body && util.isDisturbed(this[kState].body.stream)\n }\n\n get duplex () {\n webidl.brandCheck(this, Request)\n\n return 'half'\n }\n\n // Returns a clone of request.\n clone () {\n webidl.brandCheck(this, Request)\n\n // 1. If this is unusable, then throw a TypeError.\n if (bodyUnusable(this)) {\n throw new TypeError('unusable')\n }\n\n // 2. Let clonedRequest be the result of cloning this’s request.\n const clonedRequest = cloneRequest(this[kState])\n\n // 3. Let clonedRequestObject be the result of creating a Request object,\n // given clonedRequest, this’s headers’s guard, and this’s relevant Realm.\n // 4. Make clonedRequestObject’s signal follow this’s signal.\n const ac = new AbortController()\n if (this.signal.aborted) {\n ac.abort(this.signal.reason)\n } else {\n let list = dependentControllerMap.get(this.signal)\n if (list === undefined) {\n list = new Set()\n dependentControllerMap.set(this.signal, list)\n }\n const acRef = new WeakRef(ac)\n list.add(acRef)\n util.addAbortListener(\n ac.signal,\n buildAbort(acRef)\n )\n }\n\n // 4. Return clonedRequestObject.\n return fromInnerRequest(clonedRequest, ac.signal, getHeadersGuard(this[kHeaders]))\n }\n\n [nodeUtil.inspect.custom] (depth, options) {\n if (options.depth === null) {\n options.depth = 2\n }\n\n options.colors ??= true\n\n const properties = {\n method: this.method,\n url: this.url,\n headers: this.headers,\n destination: this.destination,\n referrer: this.referrer,\n referrerPolicy: this.referrerPolicy,\n mode: this.mode,\n credentials: this.credentials,\n cache: this.cache,\n redirect: this.redirect,\n integrity: this.integrity,\n keepalive: this.keepalive,\n isReloadNavigation: this.isReloadNavigation,\n isHistoryNavigation: this.isHistoryNavigation,\n signal: this.signal\n }\n\n return `Request ${nodeUtil.formatWithOptions(options, properties)}`\n }\n}\n\nmixinBody(Request)\n\n// https://fetch.spec.whatwg.org/#requests\nfunction makeRequest (init) {\n return {\n method: init.method ?? 'GET',\n localURLsOnly: init.localURLsOnly ?? false,\n unsafeRequest: init.unsafeRequest ?? false,\n body: init.body ?? null,\n client: init.client ?? null,\n reservedClient: init.reservedClient ?? null,\n replacesClientId: init.replacesClientId ?? '',\n window: init.window ?? 'client',\n keepalive: init.keepalive ?? false,\n serviceWorkers: init.serviceWorkers ?? 'all',\n initiator: init.initiator ?? '',\n destination: init.destination ?? '',\n priority: init.priority ?? null,\n origin: init.origin ?? 'client',\n policyContainer: init.policyContainer ?? 'client',\n referrer: init.referrer ?? 'client',\n referrerPolicy: init.referrerPolicy ?? '',\n mode: init.mode ?? 'no-cors',\n useCORSPreflightFlag: init.useCORSPreflightFlag ?? false,\n credentials: init.credentials ?? 'same-origin',\n useCredentials: init.useCredentials ?? false,\n cache: init.cache ?? 'default',\n redirect: init.redirect ?? 'follow',\n integrity: init.integrity ?? '',\n cryptoGraphicsNonceMetadata: init.cryptoGraphicsNonceMetadata ?? '',\n parserMetadata: init.parserMetadata ?? '',\n reloadNavigation: init.reloadNavigation ?? false,\n historyNavigation: init.historyNavigation ?? false,\n userActivation: init.userActivation ?? false,\n taintedOrigin: init.taintedOrigin ?? false,\n redirectCount: init.redirectCount ?? 0,\n responseTainting: init.responseTainting ?? 'basic',\n preventNoCacheCacheControlHeaderModification: init.preventNoCacheCacheControlHeaderModification ?? false,\n done: init.done ?? false,\n timingAllowFailed: init.timingAllowFailed ?? false,\n urlList: init.urlList,\n url: init.urlList[0],\n headersList: init.headersList\n ? new HeadersList(init.headersList)\n : new HeadersList()\n }\n}\n\n// https://fetch.spec.whatwg.org/#concept-request-clone\nfunction cloneRequest (request) {\n // To clone a request request, run these steps:\n\n // 1. Let newRequest be a copy of request, except for its body.\n const newRequest = makeRequest({ ...request, body: null })\n\n // 2. If request’s body is non-null, set newRequest’s body to the\n // result of cloning request’s body.\n if (request.body != null) {\n newRequest.body = cloneBody(newRequest, request.body)\n }\n\n // 3. Return newRequest.\n return newRequest\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#request-create\n * @param {any} innerRequest\n * @param {AbortSignal} signal\n * @param {'request' | 'immutable' | 'request-no-cors' | 'response' | 'none'} guard\n * @returns {Request}\n */\nfunction fromInnerRequest (innerRequest, signal, guard) {\n const request = new Request(kConstruct)\n request[kState] = innerRequest\n request[kSignal] = signal\n request[kHeaders] = new Headers(kConstruct)\n setHeadersList(request[kHeaders], innerRequest.headersList)\n setHeadersGuard(request[kHeaders], guard)\n return request\n}\n\nObject.defineProperties(Request.prototype, {\n method: kEnumerableProperty,\n url: kEnumerableProperty,\n headers: kEnumerableProperty,\n redirect: kEnumerableProperty,\n clone: kEnumerableProperty,\n signal: kEnumerableProperty,\n duplex: kEnumerableProperty,\n destination: kEnumerableProperty,\n body: kEnumerableProperty,\n bodyUsed: kEnumerableProperty,\n isHistoryNavigation: kEnumerableProperty,\n isReloadNavigation: kEnumerableProperty,\n keepalive: kEnumerableProperty,\n integrity: kEnumerableProperty,\n cache: kEnumerableProperty,\n credentials: kEnumerableProperty,\n attribute: kEnumerableProperty,\n referrerPolicy: kEnumerableProperty,\n referrer: kEnumerableProperty,\n mode: kEnumerableProperty,\n [Symbol.toStringTag]: {\n value: 'Request',\n configurable: true\n }\n})\n\nwebidl.converters.Request = webidl.interfaceConverter(\n Request\n)\n\n// https://fetch.spec.whatwg.org/#requestinfo\nwebidl.converters.RequestInfo = function (V, prefix, argument) {\n if (typeof V === 'string') {\n return webidl.converters.USVString(V, prefix, argument)\n }\n\n if (V instanceof Request) {\n return webidl.converters.Request(V, prefix, argument)\n }\n\n return webidl.converters.USVString(V, prefix, argument)\n}\n\nwebidl.converters.AbortSignal = webidl.interfaceConverter(\n AbortSignal\n)\n\n// https://fetch.spec.whatwg.org/#requestinit\nwebidl.converters.RequestInit = webidl.dictionaryConverter([\n {\n key: 'method',\n converter: webidl.converters.ByteString\n },\n {\n key: 'headers',\n converter: webidl.converters.HeadersInit\n },\n {\n key: 'body',\n converter: webidl.nullableConverter(\n webidl.converters.BodyInit\n )\n },\n {\n key: 'referrer',\n converter: webidl.converters.USVString\n },\n {\n key: 'referrerPolicy',\n converter: webidl.converters.DOMString,\n // https://w3c.github.io/webappsec-referrer-policy/#referrer-policy\n allowedValues: referrerPolicy\n },\n {\n key: 'mode',\n converter: webidl.converters.DOMString,\n // https://fetch.spec.whatwg.org/#concept-request-mode\n allowedValues: requestMode\n },\n {\n key: 'credentials',\n converter: webidl.converters.DOMString,\n // https://fetch.spec.whatwg.org/#requestcredentials\n allowedValues: requestCredentials\n },\n {\n key: 'cache',\n converter: webidl.converters.DOMString,\n // https://fetch.spec.whatwg.org/#requestcache\n allowedValues: requestCache\n },\n {\n key: 'redirect',\n converter: webidl.converters.DOMString,\n // https://fetch.spec.whatwg.org/#requestredirect\n allowedValues: requestRedirect\n },\n {\n key: 'integrity',\n converter: webidl.converters.DOMString\n },\n {\n key: 'keepalive',\n converter: webidl.converters.boolean\n },\n {\n key: 'signal',\n converter: webidl.nullableConverter(\n (signal) => webidl.converters.AbortSignal(\n signal,\n 'RequestInit',\n 'signal',\n { strict: false }\n )\n )\n },\n {\n key: 'window',\n converter: webidl.converters.any\n },\n {\n key: 'duplex',\n converter: webidl.converters.DOMString,\n allowedValues: requestDuplex\n },\n {\n key: 'dispatcher', // undici specific option\n converter: webidl.converters.any\n }\n])\n\nmodule.exports = { Request, makeRequest, fromInnerRequest, cloneRequest }\n","'use strict'\n\nconst { Headers, HeadersList, fill, getHeadersGuard, setHeadersGuard, setHeadersList } = require('./headers')\nconst { extractBody, cloneBody, mixinBody, hasFinalizationRegistry, streamRegistry, bodyUnusable } = require('./body')\nconst util = require('../../core/util')\nconst nodeUtil = require('node:util')\nconst { kEnumerableProperty } = util\nconst {\n isValidReasonPhrase,\n isCancelled,\n isAborted,\n isBlobLike,\n serializeJavascriptValueToJSONString,\n isErrorLike,\n isomorphicEncode,\n environmentSettingsObject: relevantRealm\n} = require('./util')\nconst {\n redirectStatusSet,\n nullBodyStatus\n} = require('./constants')\nconst { kState, kHeaders } = require('./symbols')\nconst { webidl } = require('./webidl')\nconst { FormData } = require('./formdata')\nconst { URLSerializer } = require('./data-url')\nconst { kConstruct } = require('../../core/symbols')\nconst assert = require('node:assert')\nconst { types } = require('node:util')\n\nconst textEncoder = new TextEncoder('utf-8')\n\n// https://fetch.spec.whatwg.org/#response-class\nclass Response {\n // Creates network error Response.\n static error () {\n // The static error() method steps are to return the result of creating a\n // Response object, given a new network error, \"immutable\", and this’s\n // relevant Realm.\n const responseObject = fromInnerResponse(makeNetworkError(), 'immutable')\n\n return responseObject\n }\n\n // https://fetch.spec.whatwg.org/#dom-response-json\n static json (data, init = {}) {\n webidl.argumentLengthCheck(arguments, 1, 'Response.json')\n\n if (init !== null) {\n init = webidl.converters.ResponseInit(init)\n }\n\n // 1. Let bytes the result of running serialize a JavaScript value to JSON bytes on data.\n const bytes = textEncoder.encode(\n serializeJavascriptValueToJSONString(data)\n )\n\n // 2. Let body be the result of extracting bytes.\n const body = extractBody(bytes)\n\n // 3. Let responseObject be the result of creating a Response object, given a new response,\n // \"response\", and this’s relevant Realm.\n const responseObject = fromInnerResponse(makeResponse({}), 'response')\n\n // 4. Perform initialize a response given responseObject, init, and (body, \"application/json\").\n initializeResponse(responseObject, init, { body: body[0], type: 'application/json' })\n\n // 5. Return responseObject.\n return responseObject\n }\n\n // Creates a redirect Response that redirects to url with status status.\n static redirect (url, status = 302) {\n webidl.argumentLengthCheck(arguments, 1, 'Response.redirect')\n\n url = webidl.converters.USVString(url)\n status = webidl.converters['unsigned short'](status)\n\n // 1. Let parsedURL be the result of parsing url with current settings\n // object’s API base URL.\n // 2. If parsedURL is failure, then throw a TypeError.\n // TODO: base-URL?\n let parsedURL\n try {\n parsedURL = new URL(url, relevantRealm.settingsObject.baseUrl)\n } catch (err) {\n throw new TypeError(`Failed to parse URL from ${url}`, { cause: err })\n }\n\n // 3. If status is not a redirect status, then throw a RangeError.\n if (!redirectStatusSet.has(status)) {\n throw new RangeError(`Invalid status code ${status}`)\n }\n\n // 4. Let responseObject be the result of creating a Response object,\n // given a new response, \"immutable\", and this’s relevant Realm.\n const responseObject = fromInnerResponse(makeResponse({}), 'immutable')\n\n // 5. Set responseObject’s response’s status to status.\n responseObject[kState].status = status\n\n // 6. Let value be parsedURL, serialized and isomorphic encoded.\n const value = isomorphicEncode(URLSerializer(parsedURL))\n\n // 7. Append `Location`/value to responseObject’s response’s header list.\n responseObject[kState].headersList.append('location', value, true)\n\n // 8. Return responseObject.\n return responseObject\n }\n\n // https://fetch.spec.whatwg.org/#dom-response\n constructor (body = null, init = {}) {\n webidl.util.markAsUncloneable(this)\n if (body === kConstruct) {\n return\n }\n\n if (body !== null) {\n body = webidl.converters.BodyInit(body)\n }\n\n init = webidl.converters.ResponseInit(init)\n\n // 1. Set this’s response to a new response.\n this[kState] = makeResponse({})\n\n // 2. Set this’s headers to a new Headers object with this’s relevant\n // Realm, whose header list is this’s response’s header list and guard\n // is \"response\".\n this[kHeaders] = new Headers(kConstruct)\n setHeadersGuard(this[kHeaders], 'response')\n setHeadersList(this[kHeaders], this[kState].headersList)\n\n // 3. Let bodyWithType be null.\n let bodyWithType = null\n\n // 4. If body is non-null, then set bodyWithType to the result of extracting body.\n if (body != null) {\n const [extractedBody, type] = extractBody(body)\n bodyWithType = { body: extractedBody, type }\n }\n\n // 5. Perform initialize a response given this, init, and bodyWithType.\n initializeResponse(this, init, bodyWithType)\n }\n\n // Returns response’s type, e.g., \"cors\".\n get type () {\n webidl.brandCheck(this, Response)\n\n // The type getter steps are to return this’s response’s type.\n return this[kState].type\n }\n\n // Returns response’s URL, if it has one; otherwise the empty string.\n get url () {\n webidl.brandCheck(this, Response)\n\n const urlList = this[kState].urlList\n\n // The url getter steps are to return the empty string if this’s\n // response’s URL is null; otherwise this’s response’s URL,\n // serialized with exclude fragment set to true.\n const url = urlList[urlList.length - 1] ?? null\n\n if (url === null) {\n return ''\n }\n\n return URLSerializer(url, true)\n }\n\n // Returns whether response was obtained through a redirect.\n get redirected () {\n webidl.brandCheck(this, Response)\n\n // The redirected getter steps are to return true if this’s response’s URL\n // list has more than one item; otherwise false.\n return this[kState].urlList.length > 1\n }\n\n // Returns response’s status.\n get status () {\n webidl.brandCheck(this, Response)\n\n // The status getter steps are to return this’s response’s status.\n return this[kState].status\n }\n\n // Returns whether response’s status is an ok status.\n get ok () {\n webidl.brandCheck(this, Response)\n\n // The ok getter steps are to return true if this’s response’s status is an\n // ok status; otherwise false.\n return this[kState].status >= 200 && this[kState].status <= 299\n }\n\n // Returns response’s status message.\n get statusText () {\n webidl.brandCheck(this, Response)\n\n // The statusText getter steps are to return this’s response’s status\n // message.\n return this[kState].statusText\n }\n\n // Returns response’s headers as Headers.\n get headers () {\n webidl.brandCheck(this, Response)\n\n // The headers getter steps are to return this’s headers.\n return this[kHeaders]\n }\n\n get body () {\n webidl.brandCheck(this, Response)\n\n return this[kState].body ? this[kState].body.stream : null\n }\n\n get bodyUsed () {\n webidl.brandCheck(this, Response)\n\n return !!this[kState].body && util.isDisturbed(this[kState].body.stream)\n }\n\n // Returns a clone of response.\n clone () {\n webidl.brandCheck(this, Response)\n\n // 1. If this is unusable, then throw a TypeError.\n if (bodyUnusable(this)) {\n throw webidl.errors.exception({\n header: 'Response.clone',\n message: 'Body has already been consumed.'\n })\n }\n\n // 2. Let clonedResponse be the result of cloning this’s response.\n const clonedResponse = cloneResponse(this[kState])\n\n // Note: To re-register because of a new stream.\n if (hasFinalizationRegistry && this[kState].body?.stream) {\n streamRegistry.register(this, new WeakRef(this[kState].body.stream))\n }\n\n // 3. Return the result of creating a Response object, given\n // clonedResponse, this’s headers’s guard, and this’s relevant Realm.\n return fromInnerResponse(clonedResponse, getHeadersGuard(this[kHeaders]))\n }\n\n [nodeUtil.inspect.custom] (depth, options) {\n if (options.depth === null) {\n options.depth = 2\n }\n\n options.colors ??= true\n\n const properties = {\n status: this.status,\n statusText: this.statusText,\n headers: this.headers,\n body: this.body,\n bodyUsed: this.bodyUsed,\n ok: this.ok,\n redirected: this.redirected,\n type: this.type,\n url: this.url\n }\n\n return `Response ${nodeUtil.formatWithOptions(options, properties)}`\n }\n}\n\nmixinBody(Response)\n\nObject.defineProperties(Response.prototype, {\n type: kEnumerableProperty,\n url: kEnumerableProperty,\n status: kEnumerableProperty,\n ok: kEnumerableProperty,\n redirected: kEnumerableProperty,\n statusText: kEnumerableProperty,\n headers: kEnumerableProperty,\n clone: kEnumerableProperty,\n body: kEnumerableProperty,\n bodyUsed: kEnumerableProperty,\n [Symbol.toStringTag]: {\n value: 'Response',\n configurable: true\n }\n})\n\nObject.defineProperties(Response, {\n json: kEnumerableProperty,\n redirect: kEnumerableProperty,\n error: kEnumerableProperty\n})\n\n// https://fetch.spec.whatwg.org/#concept-response-clone\nfunction cloneResponse (response) {\n // To clone a response response, run these steps:\n\n // 1. If response is a filtered response, then return a new identical\n // filtered response whose internal response is a clone of response’s\n // internal response.\n if (response.internalResponse) {\n return filterResponse(\n cloneResponse(response.internalResponse),\n response.type\n )\n }\n\n // 2. Let newResponse be a copy of response, except for its body.\n const newResponse = makeResponse({ ...response, body: null })\n\n // 3. If response’s body is non-null, then set newResponse’s body to the\n // result of cloning response’s body.\n if (response.body != null) {\n newResponse.body = cloneBody(newResponse, response.body)\n }\n\n // 4. Return newResponse.\n return newResponse\n}\n\nfunction makeResponse (init) {\n return {\n aborted: false,\n rangeRequested: false,\n timingAllowPassed: false,\n requestIncludesCredentials: false,\n type: 'default',\n status: 200,\n timingInfo: null,\n cacheState: '',\n statusText: '',\n ...init,\n headersList: init?.headersList\n ? new HeadersList(init?.headersList)\n : new HeadersList(),\n urlList: init?.urlList ? [...init.urlList] : []\n }\n}\n\nfunction makeNetworkError (reason) {\n const isError = isErrorLike(reason)\n return makeResponse({\n type: 'error',\n status: 0,\n error: isError\n ? reason\n : new Error(reason ? String(reason) : reason),\n aborted: reason && reason.name === 'AbortError'\n })\n}\n\n// @see https://fetch.spec.whatwg.org/#concept-network-error\nfunction isNetworkError (response) {\n return (\n // A network error is a response whose type is \"error\",\n response.type === 'error' &&\n // status is 0\n response.status === 0\n )\n}\n\nfunction makeFilteredResponse (response, state) {\n state = {\n internalResponse: response,\n ...state\n }\n\n return new Proxy(response, {\n get (target, p) {\n return p in state ? state[p] : target[p]\n },\n set (target, p, value) {\n assert(!(p in state))\n target[p] = value\n return true\n }\n })\n}\n\n// https://fetch.spec.whatwg.org/#concept-filtered-response\nfunction filterResponse (response, type) {\n // Set response to the following filtered response with response as its\n // internal response, depending on request’s response tainting:\n if (type === 'basic') {\n // A basic filtered response is a filtered response whose type is \"basic\"\n // and header list excludes any headers in internal response’s header list\n // whose name is a forbidden response-header name.\n\n // Note: undici does not implement forbidden response-header names\n return makeFilteredResponse(response, {\n type: 'basic',\n headersList: response.headersList\n })\n } else if (type === 'cors') {\n // A CORS filtered response is a filtered response whose type is \"cors\"\n // and header list excludes any headers in internal response’s header\n // list whose name is not a CORS-safelisted response-header name, given\n // internal response’s CORS-exposed header-name list.\n\n // Note: undici does not implement CORS-safelisted response-header names\n return makeFilteredResponse(response, {\n type: 'cors',\n headersList: response.headersList\n })\n } else if (type === 'opaque') {\n // An opaque filtered response is a filtered response whose type is\n // \"opaque\", URL list is the empty list, status is 0, status message\n // is the empty byte sequence, header list is empty, and body is null.\n\n return makeFilteredResponse(response, {\n type: 'opaque',\n urlList: Object.freeze([]),\n status: 0,\n statusText: '',\n body: null\n })\n } else if (type === 'opaqueredirect') {\n // An opaque-redirect filtered response is a filtered response whose type\n // is \"opaqueredirect\", status is 0, status message is the empty byte\n // sequence, header list is empty, and body is null.\n\n return makeFilteredResponse(response, {\n type: 'opaqueredirect',\n status: 0,\n statusText: '',\n headersList: [],\n body: null\n })\n } else {\n assert(false)\n }\n}\n\n// https://fetch.spec.whatwg.org/#appropriate-network-error\nfunction makeAppropriateNetworkError (fetchParams, err = null) {\n // 1. Assert: fetchParams is canceled.\n assert(isCancelled(fetchParams))\n\n // 2. Return an aborted network error if fetchParams is aborted;\n // otherwise return a network error.\n return isAborted(fetchParams)\n ? makeNetworkError(Object.assign(new DOMException('The operation was aborted.', 'AbortError'), { cause: err }))\n : makeNetworkError(Object.assign(new DOMException('Request was cancelled.'), { cause: err }))\n}\n\n// https://whatpr.org/fetch/1392.html#initialize-a-response\nfunction initializeResponse (response, init, body) {\n // 1. If init[\"status\"] is not in the range 200 to 599, inclusive, then\n // throw a RangeError.\n if (init.status !== null && (init.status < 200 || init.status > 599)) {\n throw new RangeError('init[\"status\"] must be in the range of 200 to 599, inclusive.')\n }\n\n // 2. If init[\"statusText\"] does not match the reason-phrase token production,\n // then throw a TypeError.\n if ('statusText' in init && init.statusText != null) {\n // See, https://datatracker.ietf.org/doc/html/rfc7230#section-3.1.2:\n // reason-phrase = *( HTAB / SP / VCHAR / obs-text )\n if (!isValidReasonPhrase(String(init.statusText))) {\n throw new TypeError('Invalid statusText')\n }\n }\n\n // 3. Set response’s response’s status to init[\"status\"].\n if ('status' in init && init.status != null) {\n response[kState].status = init.status\n }\n\n // 4. Set response’s response’s status message to init[\"statusText\"].\n if ('statusText' in init && init.statusText != null) {\n response[kState].statusText = init.statusText\n }\n\n // 5. If init[\"headers\"] exists, then fill response’s headers with init[\"headers\"].\n if ('headers' in init && init.headers != null) {\n fill(response[kHeaders], init.headers)\n }\n\n // 6. If body was given, then:\n if (body) {\n // 1. If response's status is a null body status, then throw a TypeError.\n if (nullBodyStatus.includes(response.status)) {\n throw webidl.errors.exception({\n header: 'Response constructor',\n message: `Invalid response status code ${response.status}`\n })\n }\n\n // 2. Set response's body to body's body.\n response[kState].body = body.body\n\n // 3. If body's type is non-null and response's header list does not contain\n // `Content-Type`, then append (`Content-Type`, body's type) to response's header list.\n if (body.type != null && !response[kState].headersList.contains('content-type', true)) {\n response[kState].headersList.append('content-type', body.type, true)\n }\n }\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#response-create\n * @param {any} innerResponse\n * @param {'request' | 'immutable' | 'request-no-cors' | 'response' | 'none'} guard\n * @returns {Response}\n */\nfunction fromInnerResponse (innerResponse, guard) {\n const response = new Response(kConstruct)\n response[kState] = innerResponse\n response[kHeaders] = new Headers(kConstruct)\n setHeadersList(response[kHeaders], innerResponse.headersList)\n setHeadersGuard(response[kHeaders], guard)\n\n if (hasFinalizationRegistry && innerResponse.body?.stream) {\n // If the target (response) is reclaimed, the cleanup callback may be called at some point with\n // the held value provided for it (innerResponse.body.stream). The held value can be any value:\n // a primitive or an object, even undefined. If the held value is an object, the registry keeps\n // a strong reference to it (so it can pass it to the cleanup callback later). Reworded from\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/FinalizationRegistry\n streamRegistry.register(response, new WeakRef(innerResponse.body.stream))\n }\n\n return response\n}\n\nwebidl.converters.ReadableStream = webidl.interfaceConverter(\n ReadableStream\n)\n\nwebidl.converters.FormData = webidl.interfaceConverter(\n FormData\n)\n\nwebidl.converters.URLSearchParams = webidl.interfaceConverter(\n URLSearchParams\n)\n\n// https://fetch.spec.whatwg.org/#typedefdef-xmlhttprequestbodyinit\nwebidl.converters.XMLHttpRequestBodyInit = function (V, prefix, name) {\n if (typeof V === 'string') {\n return webidl.converters.USVString(V, prefix, name)\n }\n\n if (isBlobLike(V)) {\n return webidl.converters.Blob(V, prefix, name, { strict: false })\n }\n\n if (ArrayBuffer.isView(V) || types.isArrayBuffer(V)) {\n return webidl.converters.BufferSource(V, prefix, name)\n }\n\n if (util.isFormDataLike(V)) {\n return webidl.converters.FormData(V, prefix, name, { strict: false })\n }\n\n if (V instanceof URLSearchParams) {\n return webidl.converters.URLSearchParams(V, prefix, name)\n }\n\n return webidl.converters.DOMString(V, prefix, name)\n}\n\n// https://fetch.spec.whatwg.org/#bodyinit\nwebidl.converters.BodyInit = function (V, prefix, argument) {\n if (V instanceof ReadableStream) {\n return webidl.converters.ReadableStream(V, prefix, argument)\n }\n\n // Note: the spec doesn't include async iterables,\n // this is an undici extension.\n if (V?.[Symbol.asyncIterator]) {\n return V\n }\n\n return webidl.converters.XMLHttpRequestBodyInit(V, prefix, argument)\n}\n\nwebidl.converters.ResponseInit = webidl.dictionaryConverter([\n {\n key: 'status',\n converter: webidl.converters['unsigned short'],\n defaultValue: () => 200\n },\n {\n key: 'statusText',\n converter: webidl.converters.ByteString,\n defaultValue: () => ''\n },\n {\n key: 'headers',\n converter: webidl.converters.HeadersInit\n }\n])\n\nmodule.exports = {\n isNetworkError,\n makeNetworkError,\n makeResponse,\n makeAppropriateNetworkError,\n filterResponse,\n Response,\n cloneResponse,\n fromInnerResponse\n}\n","'use strict'\n\nmodule.exports = {\n kUrl: Symbol('url'),\n kHeaders: Symbol('headers'),\n kSignal: Symbol('signal'),\n kState: Symbol('state'),\n kDispatcher: Symbol('dispatcher')\n}\n","'use strict'\n\nconst { Transform } = require('node:stream')\nconst zlib = require('node:zlib')\nconst { redirectStatusSet, referrerPolicySet: referrerPolicyTokens, badPortsSet } = require('./constants')\nconst { getGlobalOrigin } = require('./global')\nconst { collectASequenceOfCodePoints, collectAnHTTPQuotedString, removeChars, parseMIMEType } = require('./data-url')\nconst { performance } = require('node:perf_hooks')\nconst { isBlobLike, ReadableStreamFrom, isValidHTTPToken, normalizedMethodRecordsBase } = require('../../core/util')\nconst assert = require('node:assert')\nconst { isUint8Array } = require('node:util/types')\nconst { webidl } = require('./webidl')\n\nlet supportedHashes = []\n\n// https://nodejs.org/api/crypto.html#determining-if-crypto-support-is-unavailable\n/** @type {import('crypto')} */\nlet crypto\ntry {\n crypto = require('node:crypto')\n const possibleRelevantHashes = ['sha256', 'sha384', 'sha512']\n supportedHashes = crypto.getHashes().filter((hash) => possibleRelevantHashes.includes(hash))\n/* c8 ignore next 3 */\n} catch {\n\n}\n\nfunction responseURL (response) {\n // https://fetch.spec.whatwg.org/#responses\n // A response has an associated URL. It is a pointer to the last URL\n // in response’s URL list and null if response’s URL list is empty.\n const urlList = response.urlList\n const length = urlList.length\n return length === 0 ? null : urlList[length - 1].toString()\n}\n\n// https://fetch.spec.whatwg.org/#concept-response-location-url\nfunction responseLocationURL (response, requestFragment) {\n // 1. If response’s status is not a redirect status, then return null.\n if (!redirectStatusSet.has(response.status)) {\n return null\n }\n\n // 2. Let location be the result of extracting header list values given\n // `Location` and response’s header list.\n let location = response.headersList.get('location', true)\n\n // 3. If location is a header value, then set location to the result of\n // parsing location with response’s URL.\n if (location !== null && isValidHeaderValue(location)) {\n if (!isValidEncodedURL(location)) {\n // Some websites respond location header in UTF-8 form without encoding them as ASCII\n // and major browsers redirect them to correctly UTF-8 encoded addresses.\n // Here, we handle that behavior in the same way.\n location = normalizeBinaryStringToUtf8(location)\n }\n location = new URL(location, responseURL(response))\n }\n\n // 4. If location is a URL whose fragment is null, then set location’s\n // fragment to requestFragment.\n if (location && !location.hash) {\n location.hash = requestFragment\n }\n\n // 5. Return location.\n return location\n}\n\n/**\n * @see https://www.rfc-editor.org/rfc/rfc1738#section-2.2\n * @param {string} url\n * @returns {boolean}\n */\nfunction isValidEncodedURL (url) {\n for (let i = 0; i < url.length; ++i) {\n const code = url.charCodeAt(i)\n\n if (\n code > 0x7E || // Non-US-ASCII + DEL\n code < 0x20 // Control characters NUL - US\n ) {\n return false\n }\n }\n return true\n}\n\n/**\n * If string contains non-ASCII characters, assumes it's UTF-8 encoded and decodes it.\n * Since UTF-8 is a superset of ASCII, this will work for ASCII strings as well.\n * @param {string} value\n * @returns {string}\n */\nfunction normalizeBinaryStringToUtf8 (value) {\n return Buffer.from(value, 'binary').toString('utf8')\n}\n\n/** @returns {URL} */\nfunction requestCurrentURL (request) {\n return request.urlList[request.urlList.length - 1]\n}\n\nfunction requestBadPort (request) {\n // 1. Let url be request’s current URL.\n const url = requestCurrentURL(request)\n\n // 2. If url’s scheme is an HTTP(S) scheme and url’s port is a bad port,\n // then return blocked.\n if (urlIsHttpHttpsScheme(url) && badPortsSet.has(url.port)) {\n return 'blocked'\n }\n\n // 3. Return allowed.\n return 'allowed'\n}\n\nfunction isErrorLike (object) {\n return object instanceof Error || (\n object?.constructor?.name === 'Error' ||\n object?.constructor?.name === 'DOMException'\n )\n}\n\n// Check whether |statusText| is a ByteString and\n// matches the Reason-Phrase token production.\n// RFC 2616: https://tools.ietf.org/html/rfc2616\n// RFC 7230: https://tools.ietf.org/html/rfc7230\n// \"reason-phrase = *( HTAB / SP / VCHAR / obs-text )\"\n// https://github.com/chromium/chromium/blob/94.0.4604.1/third_party/blink/renderer/core/fetch/response.cc#L116\nfunction isValidReasonPhrase (statusText) {\n for (let i = 0; i < statusText.length; ++i) {\n const c = statusText.charCodeAt(i)\n if (\n !(\n (\n c === 0x09 || // HTAB\n (c >= 0x20 && c <= 0x7e) || // SP / VCHAR\n (c >= 0x80 && c <= 0xff)\n ) // obs-text\n )\n ) {\n return false\n }\n }\n return true\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#header-name\n * @param {string} potentialValue\n */\nconst isValidHeaderName = isValidHTTPToken\n\n/**\n * @see https://fetch.spec.whatwg.org/#header-value\n * @param {string} potentialValue\n */\nfunction isValidHeaderValue (potentialValue) {\n // - Has no leading or trailing HTTP tab or space bytes.\n // - Contains no 0x00 (NUL) or HTTP newline bytes.\n return (\n potentialValue[0] === '\\t' ||\n potentialValue[0] === ' ' ||\n potentialValue[potentialValue.length - 1] === '\\t' ||\n potentialValue[potentialValue.length - 1] === ' ' ||\n potentialValue.includes('\\n') ||\n potentialValue.includes('\\r') ||\n potentialValue.includes('\\0')\n ) === false\n}\n\n// https://w3c.github.io/webappsec-referrer-policy/#set-requests-referrer-policy-on-redirect\nfunction setRequestReferrerPolicyOnRedirect (request, actualResponse) {\n // Given a request request and a response actualResponse, this algorithm\n // updates request’s referrer policy according to the Referrer-Policy\n // header (if any) in actualResponse.\n\n // 1. Let policy be the result of executing § 8.1 Parse a referrer policy\n // from a Referrer-Policy header on actualResponse.\n\n // 8.1 Parse a referrer policy from a Referrer-Policy header\n // 1. Let policy-tokens be the result of extracting header list values given `Referrer-Policy` and response’s header list.\n const { headersList } = actualResponse\n // 2. Let policy be the empty string.\n // 3. For each token in policy-tokens, if token is a referrer policy and token is not the empty string, then set policy to token.\n // 4. Return policy.\n const policyHeader = (headersList.get('referrer-policy', true) ?? '').split(',')\n\n // Note: As the referrer-policy can contain multiple policies\n // separated by comma, we need to loop through all of them\n // and pick the first valid one.\n // Ref: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy#specify_a_fallback_policy\n let policy = ''\n if (policyHeader.length > 0) {\n // The right-most policy takes precedence.\n // The left-most policy is the fallback.\n for (let i = policyHeader.length; i !== 0; i--) {\n const token = policyHeader[i - 1].trim()\n if (referrerPolicyTokens.has(token)) {\n policy = token\n break\n }\n }\n }\n\n // 2. If policy is not the empty string, then set request’s referrer policy to policy.\n if (policy !== '') {\n request.referrerPolicy = policy\n }\n}\n\n// https://fetch.spec.whatwg.org/#cross-origin-resource-policy-check\nfunction crossOriginResourcePolicyCheck () {\n // TODO\n return 'allowed'\n}\n\n// https://fetch.spec.whatwg.org/#concept-cors-check\nfunction corsCheck () {\n // TODO\n return 'success'\n}\n\n// https://fetch.spec.whatwg.org/#concept-tao-check\nfunction TAOCheck () {\n // TODO\n return 'success'\n}\n\nfunction appendFetchMetadata (httpRequest) {\n // https://w3c.github.io/webappsec-fetch-metadata/#sec-fetch-dest-header\n // TODO\n\n // https://w3c.github.io/webappsec-fetch-metadata/#sec-fetch-mode-header\n\n // 1. Assert: r’s url is a potentially trustworthy URL.\n // TODO\n\n // 2. Let header be a Structured Header whose value is a token.\n let header = null\n\n // 3. Set header’s value to r’s mode.\n header = httpRequest.mode\n\n // 4. Set a structured field value `Sec-Fetch-Mode`/header in r’s header list.\n httpRequest.headersList.set('sec-fetch-mode', header, true)\n\n // https://w3c.github.io/webappsec-fetch-metadata/#sec-fetch-site-header\n // TODO\n\n // https://w3c.github.io/webappsec-fetch-metadata/#sec-fetch-user-header\n // TODO\n}\n\n// https://fetch.spec.whatwg.org/#append-a-request-origin-header\nfunction appendRequestOriginHeader (request) {\n // 1. Let serializedOrigin be the result of byte-serializing a request origin\n // with request.\n // TODO: implement \"byte-serializing a request origin\"\n let serializedOrigin = request.origin\n\n // - \"'client' is changed to an origin during fetching.\"\n // This doesn't happen in undici (in most cases) because undici, by default,\n // has no concept of origin.\n // - request.origin can also be set to request.client.origin (client being\n // an environment settings object), which is undefined without using\n // setGlobalOrigin.\n if (serializedOrigin === 'client' || serializedOrigin === undefined) {\n return\n }\n\n // 2. If request’s response tainting is \"cors\" or request’s mode is \"websocket\",\n // then append (`Origin`, serializedOrigin) to request’s header list.\n // 3. Otherwise, if request’s method is neither `GET` nor `HEAD`, then:\n if (request.responseTainting === 'cors' || request.mode === 'websocket') {\n request.headersList.append('origin', serializedOrigin, true)\n } else if (request.method !== 'GET' && request.method !== 'HEAD') {\n // 1. Switch on request’s referrer policy:\n switch (request.referrerPolicy) {\n case 'no-referrer':\n // Set serializedOrigin to `null`.\n serializedOrigin = null\n break\n case 'no-referrer-when-downgrade':\n case 'strict-origin':\n case 'strict-origin-when-cross-origin':\n // If request’s origin is a tuple origin, its scheme is \"https\", and\n // request’s current URL’s scheme is not \"https\", then set\n // serializedOrigin to `null`.\n if (request.origin && urlHasHttpsScheme(request.origin) && !urlHasHttpsScheme(requestCurrentURL(request))) {\n serializedOrigin = null\n }\n break\n case 'same-origin':\n // If request’s origin is not same origin with request’s current URL’s\n // origin, then set serializedOrigin to `null`.\n if (!sameOrigin(request, requestCurrentURL(request))) {\n serializedOrigin = null\n }\n break\n default:\n // Do nothing.\n }\n\n // 2. Append (`Origin`, serializedOrigin) to request’s header list.\n request.headersList.append('origin', serializedOrigin, true)\n }\n}\n\n// https://w3c.github.io/hr-time/#dfn-coarsen-time\nfunction coarsenTime (timestamp, crossOriginIsolatedCapability) {\n // TODO\n return timestamp\n}\n\n// https://fetch.spec.whatwg.org/#clamp-and-coarsen-connection-timing-info\nfunction clampAndCoarsenConnectionTimingInfo (connectionTimingInfo, defaultStartTime, crossOriginIsolatedCapability) {\n if (!connectionTimingInfo?.startTime || connectionTimingInfo.startTime < defaultStartTime) {\n return {\n domainLookupStartTime: defaultStartTime,\n domainLookupEndTime: defaultStartTime,\n connectionStartTime: defaultStartTime,\n connectionEndTime: defaultStartTime,\n secureConnectionStartTime: defaultStartTime,\n ALPNNegotiatedProtocol: connectionTimingInfo?.ALPNNegotiatedProtocol\n }\n }\n\n return {\n domainLookupStartTime: coarsenTime(connectionTimingInfo.domainLookupStartTime, crossOriginIsolatedCapability),\n domainLookupEndTime: coarsenTime(connectionTimingInfo.domainLookupEndTime, crossOriginIsolatedCapability),\n connectionStartTime: coarsenTime(connectionTimingInfo.connectionStartTime, crossOriginIsolatedCapability),\n connectionEndTime: coarsenTime(connectionTimingInfo.connectionEndTime, crossOriginIsolatedCapability),\n secureConnectionStartTime: coarsenTime(connectionTimingInfo.secureConnectionStartTime, crossOriginIsolatedCapability),\n ALPNNegotiatedProtocol: connectionTimingInfo.ALPNNegotiatedProtocol\n }\n}\n\n// https://w3c.github.io/hr-time/#dfn-coarsened-shared-current-time\nfunction coarsenedSharedCurrentTime (crossOriginIsolatedCapability) {\n return coarsenTime(performance.now(), crossOriginIsolatedCapability)\n}\n\n// https://fetch.spec.whatwg.org/#create-an-opaque-timing-info\nfunction createOpaqueTimingInfo (timingInfo) {\n return {\n startTime: timingInfo.startTime ?? 0,\n redirectStartTime: 0,\n redirectEndTime: 0,\n postRedirectStartTime: timingInfo.startTime ?? 0,\n finalServiceWorkerStartTime: 0,\n finalNetworkResponseStartTime: 0,\n finalNetworkRequestStartTime: 0,\n endTime: 0,\n encodedBodySize: 0,\n decodedBodySize: 0,\n finalConnectionTimingInfo: null\n }\n}\n\n// https://html.spec.whatwg.org/multipage/origin.html#policy-container\nfunction makePolicyContainer () {\n // Note: the fetch spec doesn't make use of embedder policy or CSP list\n return {\n referrerPolicy: 'strict-origin-when-cross-origin'\n }\n}\n\n// https://html.spec.whatwg.org/multipage/origin.html#clone-a-policy-container\nfunction clonePolicyContainer (policyContainer) {\n return {\n referrerPolicy: policyContainer.referrerPolicy\n }\n}\n\n// https://w3c.github.io/webappsec-referrer-policy/#determine-requests-referrer\nfunction determineRequestsReferrer (request) {\n // 1. Let policy be request's referrer policy.\n const policy = request.referrerPolicy\n\n // Note: policy cannot (shouldn't) be null or an empty string.\n assert(policy)\n\n // 2. Let environment be request’s client.\n\n let referrerSource = null\n\n // 3. Switch on request’s referrer:\n if (request.referrer === 'client') {\n // Note: node isn't a browser and doesn't implement document/iframes,\n // so we bypass this step and replace it with our own.\n\n const globalOrigin = getGlobalOrigin()\n\n if (!globalOrigin || globalOrigin.origin === 'null') {\n return 'no-referrer'\n }\n\n // note: we need to clone it as it's mutated\n referrerSource = new URL(globalOrigin)\n } else if (request.referrer instanceof URL) {\n // Let referrerSource be request’s referrer.\n referrerSource = request.referrer\n }\n\n // 4. Let request’s referrerURL be the result of stripping referrerSource for\n // use as a referrer.\n let referrerURL = stripURLForReferrer(referrerSource)\n\n // 5. Let referrerOrigin be the result of stripping referrerSource for use as\n // a referrer, with the origin-only flag set to true.\n const referrerOrigin = stripURLForReferrer(referrerSource, true)\n\n // 6. If the result of serializing referrerURL is a string whose length is\n // greater than 4096, set referrerURL to referrerOrigin.\n if (referrerURL.toString().length > 4096) {\n referrerURL = referrerOrigin\n }\n\n const areSameOrigin = sameOrigin(request, referrerURL)\n const isNonPotentiallyTrustWorthy = isURLPotentiallyTrustworthy(referrerURL) &&\n !isURLPotentiallyTrustworthy(request.url)\n\n // 8. Execute the switch statements corresponding to the value of policy:\n switch (policy) {\n case 'origin': return referrerOrigin != null ? referrerOrigin : stripURLForReferrer(referrerSource, true)\n case 'unsafe-url': return referrerURL\n case 'same-origin':\n return areSameOrigin ? referrerOrigin : 'no-referrer'\n case 'origin-when-cross-origin':\n return areSameOrigin ? referrerURL : referrerOrigin\n case 'strict-origin-when-cross-origin': {\n const currentURL = requestCurrentURL(request)\n\n // 1. If the origin of referrerURL and the origin of request’s current\n // URL are the same, then return referrerURL.\n if (sameOrigin(referrerURL, currentURL)) {\n return referrerURL\n }\n\n // 2. If referrerURL is a potentially trustworthy URL and request’s\n // current URL is not a potentially trustworthy URL, then return no\n // referrer.\n if (isURLPotentiallyTrustworthy(referrerURL) && !isURLPotentiallyTrustworthy(currentURL)) {\n return 'no-referrer'\n }\n\n // 3. Return referrerOrigin.\n return referrerOrigin\n }\n case 'strict-origin': // eslint-disable-line\n /**\n * 1. If referrerURL is a potentially trustworthy URL and\n * request’s current URL is not a potentially trustworthy URL,\n * then return no referrer.\n * 2. Return referrerOrigin\n */\n case 'no-referrer-when-downgrade': // eslint-disable-line\n /**\n * 1. If referrerURL is a potentially trustworthy URL and\n * request’s current URL is not a potentially trustworthy URL,\n * then return no referrer.\n * 2. Return referrerOrigin\n */\n\n default: // eslint-disable-line\n return isNonPotentiallyTrustWorthy ? 'no-referrer' : referrerOrigin\n }\n}\n\n/**\n * @see https://w3c.github.io/webappsec-referrer-policy/#strip-url\n * @param {URL} url\n * @param {boolean|undefined} originOnly\n */\nfunction stripURLForReferrer (url, originOnly) {\n // 1. Assert: url is a URL.\n assert(url instanceof URL)\n\n url = new URL(url)\n\n // 2. If url’s scheme is a local scheme, then return no referrer.\n if (url.protocol === 'file:' || url.protocol === 'about:' || url.protocol === 'blank:') {\n return 'no-referrer'\n }\n\n // 3. Set url’s username to the empty string.\n url.username = ''\n\n // 4. Set url’s password to the empty string.\n url.password = ''\n\n // 5. Set url’s fragment to null.\n url.hash = ''\n\n // 6. If the origin-only flag is true, then:\n if (originOnly) {\n // 1. Set url’s path to « the empty string ».\n url.pathname = ''\n\n // 2. Set url’s query to null.\n url.search = ''\n }\n\n // 7. Return url.\n return url\n}\n\nfunction isURLPotentiallyTrustworthy (url) {\n if (!(url instanceof URL)) {\n return false\n }\n\n // If child of about, return true\n if (url.href === 'about:blank' || url.href === 'about:srcdoc') {\n return true\n }\n\n // If scheme is data, return true\n if (url.protocol === 'data:') return true\n\n // If file, return true\n if (url.protocol === 'file:') return true\n\n return isOriginPotentiallyTrustworthy(url.origin)\n\n function isOriginPotentiallyTrustworthy (origin) {\n // If origin is explicitly null, return false\n if (origin == null || origin === 'null') return false\n\n const originAsURL = new URL(origin)\n\n // If secure, return true\n if (originAsURL.protocol === 'https:' || originAsURL.protocol === 'wss:') {\n return true\n }\n\n // If localhost or variants, return true\n if (/^127(?:\\.[0-9]+){0,2}\\.[0-9]+$|^\\[(?:0*:)*?:?0*1\\]$/.test(originAsURL.hostname) ||\n (originAsURL.hostname === 'localhost' || originAsURL.hostname.includes('localhost.')) ||\n (originAsURL.hostname.endsWith('.localhost'))) {\n return true\n }\n\n // If any other, return false\n return false\n }\n}\n\n/**\n * @see https://w3c.github.io/webappsec-subresource-integrity/#does-response-match-metadatalist\n * @param {Uint8Array} bytes\n * @param {string} metadataList\n */\nfunction bytesMatch (bytes, metadataList) {\n // If node is not built with OpenSSL support, we cannot check\n // a request's integrity, so allow it by default (the spec will\n // allow requests if an invalid hash is given, as precedence).\n /* istanbul ignore if: only if node is built with --without-ssl */\n if (crypto === undefined) {\n return true\n }\n\n // 1. Let parsedMetadata be the result of parsing metadataList.\n const parsedMetadata = parseMetadata(metadataList)\n\n // 2. If parsedMetadata is no metadata, return true.\n if (parsedMetadata === 'no metadata') {\n return true\n }\n\n // 3. If response is not eligible for integrity validation, return false.\n // TODO\n\n // 4. If parsedMetadata is the empty set, return true.\n if (parsedMetadata.length === 0) {\n return true\n }\n\n // 5. Let metadata be the result of getting the strongest\n // metadata from parsedMetadata.\n const strongest = getStrongestMetadata(parsedMetadata)\n const metadata = filterMetadataListByAlgorithm(parsedMetadata, strongest)\n\n // 6. For each item in metadata:\n for (const item of metadata) {\n // 1. Let algorithm be the alg component of item.\n const algorithm = item.algo\n\n // 2. Let expectedValue be the val component of item.\n const expectedValue = item.hash\n\n // See https://github.com/web-platform-tests/wpt/commit/e4c5cc7a5e48093220528dfdd1c4012dc3837a0e\n // \"be liberal with padding\". This is annoying, and it's not even in the spec.\n\n // 3. Let actualValue be the result of applying algorithm to bytes.\n let actualValue = crypto.createHash(algorithm).update(bytes).digest('base64')\n\n if (actualValue[actualValue.length - 1] === '=') {\n if (actualValue[actualValue.length - 2] === '=') {\n actualValue = actualValue.slice(0, -2)\n } else {\n actualValue = actualValue.slice(0, -1)\n }\n }\n\n // 4. If actualValue is a case-sensitive match for expectedValue,\n // return true.\n if (compareBase64Mixed(actualValue, expectedValue)) {\n return true\n }\n }\n\n // 7. Return false.\n return false\n}\n\n// https://w3c.github.io/webappsec-subresource-integrity/#grammardef-hash-with-options\n// https://www.w3.org/TR/CSP2/#source-list-syntax\n// https://www.rfc-editor.org/rfc/rfc5234#appendix-B.1\nconst parseHashWithOptions = /(?sha256|sha384|sha512)-((?[A-Za-z0-9+/]+|[A-Za-z0-9_-]+)={0,2}(?:\\s|$)( +[!-~]*)?)?/i\n\n/**\n * @see https://w3c.github.io/webappsec-subresource-integrity/#parse-metadata\n * @param {string} metadata\n */\nfunction parseMetadata (metadata) {\n // 1. Let result be the empty set.\n /** @type {{ algo: string, hash: string }[]} */\n const result = []\n\n // 2. Let empty be equal to true.\n let empty = true\n\n // 3. For each token returned by splitting metadata on spaces:\n for (const token of metadata.split(' ')) {\n // 1. Set empty to false.\n empty = false\n\n // 2. Parse token as a hash-with-options.\n const parsedToken = parseHashWithOptions.exec(token)\n\n // 3. If token does not parse, continue to the next token.\n if (\n parsedToken === null ||\n parsedToken.groups === undefined ||\n parsedToken.groups.algo === undefined\n ) {\n // Note: Chromium blocks the request at this point, but Firefox\n // gives a warning that an invalid integrity was given. The\n // correct behavior is to ignore these, and subsequently not\n // check the integrity of the resource.\n continue\n }\n\n // 4. Let algorithm be the hash-algo component of token.\n const algorithm = parsedToken.groups.algo.toLowerCase()\n\n // 5. If algorithm is a hash function recognized by the user\n // agent, add the parsed token to result.\n if (supportedHashes.includes(algorithm)) {\n result.push(parsedToken.groups)\n }\n }\n\n // 4. Return no metadata if empty is true, otherwise return result.\n if (empty === true) {\n return 'no metadata'\n }\n\n return result\n}\n\n/**\n * @param {{ algo: 'sha256' | 'sha384' | 'sha512' }[]} metadataList\n */\nfunction getStrongestMetadata (metadataList) {\n // Let algorithm be the algo component of the first item in metadataList.\n // Can be sha256\n let algorithm = metadataList[0].algo\n // If the algorithm is sha512, then it is the strongest\n // and we can return immediately\n if (algorithm[3] === '5') {\n return algorithm\n }\n\n for (let i = 1; i < metadataList.length; ++i) {\n const metadata = metadataList[i]\n // If the algorithm is sha512, then it is the strongest\n // and we can break the loop immediately\n if (metadata.algo[3] === '5') {\n algorithm = 'sha512'\n break\n // If the algorithm is sha384, then a potential sha256 or sha384 is ignored\n } else if (algorithm[3] === '3') {\n continue\n // algorithm is sha256, check if algorithm is sha384 and if so, set it as\n // the strongest\n } else if (metadata.algo[3] === '3') {\n algorithm = 'sha384'\n }\n }\n return algorithm\n}\n\nfunction filterMetadataListByAlgorithm (metadataList, algorithm) {\n if (metadataList.length === 1) {\n return metadataList\n }\n\n let pos = 0\n for (let i = 0; i < metadataList.length; ++i) {\n if (metadataList[i].algo === algorithm) {\n metadataList[pos++] = metadataList[i]\n }\n }\n\n metadataList.length = pos\n\n return metadataList\n}\n\n/**\n * Compares two base64 strings, allowing for base64url\n * in the second string.\n *\n* @param {string} actualValue always base64\n * @param {string} expectedValue base64 or base64url\n * @returns {boolean}\n */\nfunction compareBase64Mixed (actualValue, expectedValue) {\n if (actualValue.length !== expectedValue.length) {\n return false\n }\n for (let i = 0; i < actualValue.length; ++i) {\n if (actualValue[i] !== expectedValue[i]) {\n if (\n (actualValue[i] === '+' && expectedValue[i] === '-') ||\n (actualValue[i] === '/' && expectedValue[i] === '_')\n ) {\n continue\n }\n return false\n }\n }\n\n return true\n}\n\n// https://w3c.github.io/webappsec-upgrade-insecure-requests/#upgrade-request\nfunction tryUpgradeRequestToAPotentiallyTrustworthyURL (request) {\n // TODO\n}\n\n/**\n * @link {https://html.spec.whatwg.org/multipage/origin.html#same-origin}\n * @param {URL} A\n * @param {URL} B\n */\nfunction sameOrigin (A, B) {\n // 1. If A and B are the same opaque origin, then return true.\n if (A.origin === B.origin && A.origin === 'null') {\n return true\n }\n\n // 2. If A and B are both tuple origins and their schemes,\n // hosts, and port are identical, then return true.\n if (A.protocol === B.protocol && A.hostname === B.hostname && A.port === B.port) {\n return true\n }\n\n // 3. Return false.\n return false\n}\n\nfunction createDeferredPromise () {\n let res\n let rej\n const promise = new Promise((resolve, reject) => {\n res = resolve\n rej = reject\n })\n\n return { promise, resolve: res, reject: rej }\n}\n\nfunction isAborted (fetchParams) {\n return fetchParams.controller.state === 'aborted'\n}\n\nfunction isCancelled (fetchParams) {\n return fetchParams.controller.state === 'aborted' ||\n fetchParams.controller.state === 'terminated'\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#concept-method-normalize\n * @param {string} method\n */\nfunction normalizeMethod (method) {\n return normalizedMethodRecordsBase[method.toLowerCase()] ?? method\n}\n\n// https://infra.spec.whatwg.org/#serialize-a-javascript-value-to-a-json-string\nfunction serializeJavascriptValueToJSONString (value) {\n // 1. Let result be ? Call(%JSON.stringify%, undefined, « value »).\n const result = JSON.stringify(value)\n\n // 2. If result is undefined, then throw a TypeError.\n if (result === undefined) {\n throw new TypeError('Value is not JSON serializable')\n }\n\n // 3. Assert: result is a string.\n assert(typeof result === 'string')\n\n // 4. Return result.\n return result\n}\n\n// https://tc39.es/ecma262/#sec-%25iteratorprototype%25-object\nconst esIteratorPrototype = Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()))\n\n/**\n * @see https://webidl.spec.whatwg.org/#dfn-iterator-prototype-object\n * @param {string} name name of the instance\n * @param {symbol} kInternalIterator\n * @param {string | number} [keyIndex]\n * @param {string | number} [valueIndex]\n */\nfunction createIterator (name, kInternalIterator, keyIndex = 0, valueIndex = 1) {\n class FastIterableIterator {\n /** @type {any} */\n #target\n /** @type {'key' | 'value' | 'key+value'} */\n #kind\n /** @type {number} */\n #index\n\n /**\n * @see https://webidl.spec.whatwg.org/#dfn-default-iterator-object\n * @param {unknown} target\n * @param {'key' | 'value' | 'key+value'} kind\n */\n constructor (target, kind) {\n this.#target = target\n this.#kind = kind\n this.#index = 0\n }\n\n next () {\n // 1. Let interface be the interface for which the iterator prototype object exists.\n // 2. Let thisValue be the this value.\n // 3. Let object be ? ToObject(thisValue).\n // 4. If object is a platform object, then perform a security\n // check, passing:\n // 5. If object is not a default iterator object for interface,\n // then throw a TypeError.\n if (typeof this !== 'object' || this === null || !(#target in this)) {\n throw new TypeError(\n `'next' called on an object that does not implement interface ${name} Iterator.`\n )\n }\n\n // 6. Let index be object’s index.\n // 7. Let kind be object’s kind.\n // 8. Let values be object’s target's value pairs to iterate over.\n const index = this.#index\n const values = this.#target[kInternalIterator]\n\n // 9. Let len be the length of values.\n const len = values.length\n\n // 10. If index is greater than or equal to len, then return\n // CreateIterResultObject(undefined, true).\n if (index >= len) {\n return {\n value: undefined,\n done: true\n }\n }\n\n // 11. Let pair be the entry in values at index index.\n const { [keyIndex]: key, [valueIndex]: value } = values[index]\n\n // 12. Set object’s index to index + 1.\n this.#index = index + 1\n\n // 13. Return the iterator result for pair and kind.\n\n // https://webidl.spec.whatwg.org/#iterator-result\n\n // 1. Let result be a value determined by the value of kind:\n let result\n switch (this.#kind) {\n case 'key':\n // 1. Let idlKey be pair’s key.\n // 2. Let key be the result of converting idlKey to an\n // ECMAScript value.\n // 3. result is key.\n result = key\n break\n case 'value':\n // 1. Let idlValue be pair’s value.\n // 2. Let value be the result of converting idlValue to\n // an ECMAScript value.\n // 3. result is value.\n result = value\n break\n case 'key+value':\n // 1. Let idlKey be pair’s key.\n // 2. Let idlValue be pair’s value.\n // 3. Let key be the result of converting idlKey to an\n // ECMAScript value.\n // 4. Let value be the result of converting idlValue to\n // an ECMAScript value.\n // 5. Let array be ! ArrayCreate(2).\n // 6. Call ! CreateDataProperty(array, \"0\", key).\n // 7. Call ! CreateDataProperty(array, \"1\", value).\n // 8. result is array.\n result = [key, value]\n break\n }\n\n // 2. Return CreateIterResultObject(result, false).\n return {\n value: result,\n done: false\n }\n }\n }\n\n // https://webidl.spec.whatwg.org/#dfn-iterator-prototype-object\n // @ts-ignore\n delete FastIterableIterator.prototype.constructor\n\n Object.setPrototypeOf(FastIterableIterator.prototype, esIteratorPrototype)\n\n Object.defineProperties(FastIterableIterator.prototype, {\n [Symbol.toStringTag]: {\n writable: false,\n enumerable: false,\n configurable: true,\n value: `${name} Iterator`\n },\n next: { writable: true, enumerable: true, configurable: true }\n })\n\n /**\n * @param {unknown} target\n * @param {'key' | 'value' | 'key+value'} kind\n * @returns {IterableIterator}\n */\n return function (target, kind) {\n return new FastIterableIterator(target, kind)\n }\n}\n\n/**\n * @see https://webidl.spec.whatwg.org/#dfn-iterator-prototype-object\n * @param {string} name name of the instance\n * @param {any} object class\n * @param {symbol} kInternalIterator\n * @param {string | number} [keyIndex]\n * @param {string | number} [valueIndex]\n */\nfunction iteratorMixin (name, object, kInternalIterator, keyIndex = 0, valueIndex = 1) {\n const makeIterator = createIterator(name, kInternalIterator, keyIndex, valueIndex)\n\n const properties = {\n keys: {\n writable: true,\n enumerable: true,\n configurable: true,\n value: function keys () {\n webidl.brandCheck(this, object)\n return makeIterator(this, 'key')\n }\n },\n values: {\n writable: true,\n enumerable: true,\n configurable: true,\n value: function values () {\n webidl.brandCheck(this, object)\n return makeIterator(this, 'value')\n }\n },\n entries: {\n writable: true,\n enumerable: true,\n configurable: true,\n value: function entries () {\n webidl.brandCheck(this, object)\n return makeIterator(this, 'key+value')\n }\n },\n forEach: {\n writable: true,\n enumerable: true,\n configurable: true,\n value: function forEach (callbackfn, thisArg = globalThis) {\n webidl.brandCheck(this, object)\n webidl.argumentLengthCheck(arguments, 1, `${name}.forEach`)\n if (typeof callbackfn !== 'function') {\n throw new TypeError(\n `Failed to execute 'forEach' on '${name}': parameter 1 is not of type 'Function'.`\n )\n }\n for (const { 0: key, 1: value } of makeIterator(this, 'key+value')) {\n callbackfn.call(thisArg, value, key, this)\n }\n }\n }\n }\n\n return Object.defineProperties(object.prototype, {\n ...properties,\n [Symbol.iterator]: {\n writable: true,\n enumerable: false,\n configurable: true,\n value: properties.entries.value\n }\n })\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#body-fully-read\n */\nasync function fullyReadBody (body, processBody, processBodyError) {\n // 1. If taskDestination is null, then set taskDestination to\n // the result of starting a new parallel queue.\n\n // 2. Let successSteps given a byte sequence bytes be to queue a\n // fetch task to run processBody given bytes, with taskDestination.\n const successSteps = processBody\n\n // 3. Let errorSteps be to queue a fetch task to run processBodyError,\n // with taskDestination.\n const errorSteps = processBodyError\n\n // 4. Let reader be the result of getting a reader for body’s stream.\n // If that threw an exception, then run errorSteps with that\n // exception and return.\n let reader\n\n try {\n reader = body.stream.getReader()\n } catch (e) {\n errorSteps(e)\n return\n }\n\n // 5. Read all bytes from reader, given successSteps and errorSteps.\n try {\n successSteps(await readAllBytes(reader))\n } catch (e) {\n errorSteps(e)\n }\n}\n\nfunction isReadableStreamLike (stream) {\n return stream instanceof ReadableStream || (\n stream[Symbol.toStringTag] === 'ReadableStream' &&\n typeof stream.tee === 'function'\n )\n}\n\n/**\n * @param {ReadableStreamController} controller\n */\nfunction readableStreamClose (controller) {\n try {\n controller.close()\n controller.byobRequest?.respond(0)\n } catch (err) {\n // TODO: add comment explaining why this error occurs.\n if (!err.message.includes('Controller is already closed') && !err.message.includes('ReadableStream is already closed')) {\n throw err\n }\n }\n}\n\nconst invalidIsomorphicEncodeValueRegex = /[^\\x00-\\xFF]/ // eslint-disable-line\n\n/**\n * @see https://infra.spec.whatwg.org/#isomorphic-encode\n * @param {string} input\n */\nfunction isomorphicEncode (input) {\n // 1. Assert: input contains no code points greater than U+00FF.\n assert(!invalidIsomorphicEncodeValueRegex.test(input))\n\n // 2. Return a byte sequence whose length is equal to input’s code\n // point length and whose bytes have the same values as the\n // values of input’s code points, in the same order\n return input\n}\n\n/**\n * @see https://streams.spec.whatwg.org/#readablestreamdefaultreader-read-all-bytes\n * @see https://streams.spec.whatwg.org/#read-loop\n * @param {ReadableStreamDefaultReader} reader\n */\nasync function readAllBytes (reader) {\n const bytes = []\n let byteLength = 0\n\n while (true) {\n const { done, value: chunk } = await reader.read()\n\n if (done) {\n // 1. Call successSteps with bytes.\n return Buffer.concat(bytes, byteLength)\n }\n\n // 1. If chunk is not a Uint8Array object, call failureSteps\n // with a TypeError and abort these steps.\n if (!isUint8Array(chunk)) {\n throw new TypeError('Received non-Uint8Array chunk')\n }\n\n // 2. Append the bytes represented by chunk to bytes.\n bytes.push(chunk)\n byteLength += chunk.length\n\n // 3. Read-loop given reader, bytes, successSteps, and failureSteps.\n }\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#is-local\n * @param {URL} url\n */\nfunction urlIsLocal (url) {\n assert('protocol' in url) // ensure it's a url object\n\n const protocol = url.protocol\n\n return protocol === 'about:' || protocol === 'blob:' || protocol === 'data:'\n}\n\n/**\n * @param {string|URL} url\n * @returns {boolean}\n */\nfunction urlHasHttpsScheme (url) {\n return (\n (\n typeof url === 'string' &&\n url[5] === ':' &&\n url[0] === 'h' &&\n url[1] === 't' &&\n url[2] === 't' &&\n url[3] === 'p' &&\n url[4] === 's'\n ) ||\n url.protocol === 'https:'\n )\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#http-scheme\n * @param {URL} url\n */\nfunction urlIsHttpHttpsScheme (url) {\n assert('protocol' in url) // ensure it's a url object\n\n const protocol = url.protocol\n\n return protocol === 'http:' || protocol === 'https:'\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#simple-range-header-value\n * @param {string} value\n * @param {boolean} allowWhitespace\n */\nfunction simpleRangeHeaderValue (value, allowWhitespace) {\n // 1. Let data be the isomorphic decoding of value.\n // Note: isomorphic decoding takes a sequence of bytes (ie. a Uint8Array) and turns it into a string,\n // nothing more. We obviously don't need to do that if value is a string already.\n const data = value\n\n // 2. If data does not start with \"bytes\", then return failure.\n if (!data.startsWith('bytes')) {\n return 'failure'\n }\n\n // 3. Let position be a position variable for data, initially pointing at the 5th code point of data.\n const position = { position: 5 }\n\n // 4. If allowWhitespace is true, collect a sequence of code points that are HTTP tab or space,\n // from data given position.\n if (allowWhitespace) {\n collectASequenceOfCodePoints(\n (char) => char === '\\t' || char === ' ',\n data,\n position\n )\n }\n\n // 5. If the code point at position within data is not U+003D (=), then return failure.\n if (data.charCodeAt(position.position) !== 0x3D) {\n return 'failure'\n }\n\n // 6. Advance position by 1.\n position.position++\n\n // 7. If allowWhitespace is true, collect a sequence of code points that are HTTP tab or space, from\n // data given position.\n if (allowWhitespace) {\n collectASequenceOfCodePoints(\n (char) => char === '\\t' || char === ' ',\n data,\n position\n )\n }\n\n // 8. Let rangeStart be the result of collecting a sequence of code points that are ASCII digits,\n // from data given position.\n const rangeStart = collectASequenceOfCodePoints(\n (char) => {\n const code = char.charCodeAt(0)\n\n return code >= 0x30 && code <= 0x39\n },\n data,\n position\n )\n\n // 9. Let rangeStartValue be rangeStart, interpreted as decimal number, if rangeStart is not the\n // empty string; otherwise null.\n const rangeStartValue = rangeStart.length ? Number(rangeStart) : null\n\n // 10. If allowWhitespace is true, collect a sequence of code points that are HTTP tab or space,\n // from data given position.\n if (allowWhitespace) {\n collectASequenceOfCodePoints(\n (char) => char === '\\t' || char === ' ',\n data,\n position\n )\n }\n\n // 11. If the code point at position within data is not U+002D (-), then return failure.\n if (data.charCodeAt(position.position) !== 0x2D) {\n return 'failure'\n }\n\n // 12. Advance position by 1.\n position.position++\n\n // 13. If allowWhitespace is true, collect a sequence of code points that are HTTP tab\n // or space, from data given position.\n // Note from Khafra: its the same step as in #8 again lol\n if (allowWhitespace) {\n collectASequenceOfCodePoints(\n (char) => char === '\\t' || char === ' ',\n data,\n position\n )\n }\n\n // 14. Let rangeEnd be the result of collecting a sequence of code points that are\n // ASCII digits, from data given position.\n // Note from Khafra: you wouldn't guess it, but this is also the same step as #8\n const rangeEnd = collectASequenceOfCodePoints(\n (char) => {\n const code = char.charCodeAt(0)\n\n return code >= 0x30 && code <= 0x39\n },\n data,\n position\n )\n\n // 15. Let rangeEndValue be rangeEnd, interpreted as decimal number, if rangeEnd\n // is not the empty string; otherwise null.\n // Note from Khafra: THE SAME STEP, AGAIN!!!\n // Note: why interpret as a decimal if we only collect ascii digits?\n const rangeEndValue = rangeEnd.length ? Number(rangeEnd) : null\n\n // 16. If position is not past the end of data, then return failure.\n if (position.position < data.length) {\n return 'failure'\n }\n\n // 17. If rangeEndValue and rangeStartValue are null, then return failure.\n if (rangeEndValue === null && rangeStartValue === null) {\n return 'failure'\n }\n\n // 18. If rangeStartValue and rangeEndValue are numbers, and rangeStartValue is\n // greater than rangeEndValue, then return failure.\n // Note: ... when can they not be numbers?\n if (rangeStartValue > rangeEndValue) {\n return 'failure'\n }\n\n // 19. Return (rangeStartValue, rangeEndValue).\n return { rangeStartValue, rangeEndValue }\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#build-a-content-range\n * @param {number} rangeStart\n * @param {number} rangeEnd\n * @param {number} fullLength\n */\nfunction buildContentRange (rangeStart, rangeEnd, fullLength) {\n // 1. Let contentRange be `bytes `.\n let contentRange = 'bytes '\n\n // 2. Append rangeStart, serialized and isomorphic encoded, to contentRange.\n contentRange += isomorphicEncode(`${rangeStart}`)\n\n // 3. Append 0x2D (-) to contentRange.\n contentRange += '-'\n\n // 4. Append rangeEnd, serialized and isomorphic encoded to contentRange.\n contentRange += isomorphicEncode(`${rangeEnd}`)\n\n // 5. Append 0x2F (/) to contentRange.\n contentRange += '/'\n\n // 6. Append fullLength, serialized and isomorphic encoded to contentRange.\n contentRange += isomorphicEncode(`${fullLength}`)\n\n // 7. Return contentRange.\n return contentRange\n}\n\n// A Stream, which pipes the response to zlib.createInflate() or\n// zlib.createInflateRaw() depending on the first byte of the Buffer.\n// If the lower byte of the first byte is 0x08, then the stream is\n// interpreted as a zlib stream, otherwise it's interpreted as a\n// raw deflate stream.\nclass InflateStream extends Transform {\n #zlibOptions\n\n /** @param {zlib.ZlibOptions} [zlibOptions] */\n constructor (zlibOptions) {\n super()\n this.#zlibOptions = zlibOptions\n }\n\n _transform (chunk, encoding, callback) {\n if (!this._inflateStream) {\n if (chunk.length === 0) {\n callback()\n return\n }\n this._inflateStream = (chunk[0] & 0x0F) === 0x08\n ? zlib.createInflate(this.#zlibOptions)\n : zlib.createInflateRaw(this.#zlibOptions)\n\n this._inflateStream.on('data', this.push.bind(this))\n this._inflateStream.on('end', () => this.push(null))\n this._inflateStream.on('error', (err) => this.destroy(err))\n }\n\n this._inflateStream.write(chunk, encoding, callback)\n }\n\n _final (callback) {\n if (this._inflateStream) {\n this._inflateStream.end()\n this._inflateStream = null\n }\n callback()\n }\n}\n\n/**\n * @param {zlib.ZlibOptions} [zlibOptions]\n * @returns {InflateStream}\n */\nfunction createInflate (zlibOptions) {\n return new InflateStream(zlibOptions)\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#concept-header-extract-mime-type\n * @param {import('./headers').HeadersList} headers\n */\nfunction extractMimeType (headers) {\n // 1. Let charset be null.\n let charset = null\n\n // 2. Let essence be null.\n let essence = null\n\n // 3. Let mimeType be null.\n let mimeType = null\n\n // 4. Let values be the result of getting, decoding, and splitting `Content-Type` from headers.\n const values = getDecodeSplit('content-type', headers)\n\n // 5. If values is null, then return failure.\n if (values === null) {\n return 'failure'\n }\n\n // 6. For each value of values:\n for (const value of values) {\n // 6.1. Let temporaryMimeType be the result of parsing value.\n const temporaryMimeType = parseMIMEType(value)\n\n // 6.2. If temporaryMimeType is failure or its essence is \"*/*\", then continue.\n if (temporaryMimeType === 'failure' || temporaryMimeType.essence === '*/*') {\n continue\n }\n\n // 6.3. Set mimeType to temporaryMimeType.\n mimeType = temporaryMimeType\n\n // 6.4. If mimeType’s essence is not essence, then:\n if (mimeType.essence !== essence) {\n // 6.4.1. Set charset to null.\n charset = null\n\n // 6.4.2. If mimeType’s parameters[\"charset\"] exists, then set charset to\n // mimeType’s parameters[\"charset\"].\n if (mimeType.parameters.has('charset')) {\n charset = mimeType.parameters.get('charset')\n }\n\n // 6.4.3. Set essence to mimeType’s essence.\n essence = mimeType.essence\n } else if (!mimeType.parameters.has('charset') && charset !== null) {\n // 6.5. Otherwise, if mimeType’s parameters[\"charset\"] does not exist, and\n // charset is non-null, set mimeType’s parameters[\"charset\"] to charset.\n mimeType.parameters.set('charset', charset)\n }\n }\n\n // 7. If mimeType is null, then return failure.\n if (mimeType == null) {\n return 'failure'\n }\n\n // 8. Return mimeType.\n return mimeType\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#header-value-get-decode-and-split\n * @param {string|null} value\n */\nfunction gettingDecodingSplitting (value) {\n // 1. Let input be the result of isomorphic decoding value.\n const input = value\n\n // 2. Let position be a position variable for input, initially pointing at the start of input.\n const position = { position: 0 }\n\n // 3. Let values be a list of strings, initially empty.\n const values = []\n\n // 4. Let temporaryValue be the empty string.\n let temporaryValue = ''\n\n // 5. While position is not past the end of input:\n while (position.position < input.length) {\n // 5.1. Append the result of collecting a sequence of code points that are not U+0022 (\")\n // or U+002C (,) from input, given position, to temporaryValue.\n temporaryValue += collectASequenceOfCodePoints(\n (char) => char !== '\"' && char !== ',',\n input,\n position\n )\n\n // 5.2. If position is not past the end of input, then:\n if (position.position < input.length) {\n // 5.2.1. If the code point at position within input is U+0022 (\"), then:\n if (input.charCodeAt(position.position) === 0x22) {\n // 5.2.1.1. Append the result of collecting an HTTP quoted string from input, given position, to temporaryValue.\n temporaryValue += collectAnHTTPQuotedString(\n input,\n position\n )\n\n // 5.2.1.2. If position is not past the end of input, then continue.\n if (position.position < input.length) {\n continue\n }\n } else {\n // 5.2.2. Otherwise:\n\n // 5.2.2.1. Assert: the code point at position within input is U+002C (,).\n assert(input.charCodeAt(position.position) === 0x2C)\n\n // 5.2.2.2. Advance position by 1.\n position.position++\n }\n }\n\n // 5.3. Remove all HTTP tab or space from the start and end of temporaryValue.\n temporaryValue = removeChars(temporaryValue, true, true, (char) => char === 0x9 || char === 0x20)\n\n // 5.4. Append temporaryValue to values.\n values.push(temporaryValue)\n\n // 5.6. Set temporaryValue to the empty string.\n temporaryValue = ''\n }\n\n // 6. Return values.\n return values\n}\n\n/**\n * @see https://fetch.spec.whatwg.org/#concept-header-list-get-decode-split\n * @param {string} name lowercase header name\n * @param {import('./headers').HeadersList} list\n */\nfunction getDecodeSplit (name, list) {\n // 1. Let value be the result of getting name from list.\n const value = list.get(name, true)\n\n // 2. If value is null, then return null.\n if (value === null) {\n return null\n }\n\n // 3. Return the result of getting, decoding, and splitting value.\n return gettingDecodingSplitting(value)\n}\n\nconst textDecoder = new TextDecoder()\n\n/**\n * @see https://encoding.spec.whatwg.org/#utf-8-decode\n * @param {Buffer} buffer\n */\nfunction utf8DecodeBytes (buffer) {\n if (buffer.length === 0) {\n return ''\n }\n\n // 1. Let buffer be the result of peeking three bytes from\n // ioQueue, converted to a byte sequence.\n\n // 2. If buffer is 0xEF 0xBB 0xBF, then read three\n // bytes from ioQueue. (Do nothing with those bytes.)\n if (buffer[0] === 0xEF && buffer[1] === 0xBB && buffer[2] === 0xBF) {\n buffer = buffer.subarray(3)\n }\n\n // 3. Process a queue with an instance of UTF-8’s\n // decoder, ioQueue, output, and \"replacement\".\n const output = textDecoder.decode(buffer)\n\n // 4. Return output.\n return output\n}\n\nclass EnvironmentSettingsObjectBase {\n get baseUrl () {\n return getGlobalOrigin()\n }\n\n get origin () {\n return this.baseUrl?.origin\n }\n\n policyContainer = makePolicyContainer()\n}\n\nclass EnvironmentSettingsObject {\n settingsObject = new EnvironmentSettingsObjectBase()\n}\n\nconst environmentSettingsObject = new EnvironmentSettingsObject()\n\nmodule.exports = {\n isAborted,\n isCancelled,\n isValidEncodedURL,\n createDeferredPromise,\n ReadableStreamFrom,\n tryUpgradeRequestToAPotentiallyTrustworthyURL,\n clampAndCoarsenConnectionTimingInfo,\n coarsenedSharedCurrentTime,\n determineRequestsReferrer,\n makePolicyContainer,\n clonePolicyContainer,\n appendFetchMetadata,\n appendRequestOriginHeader,\n TAOCheck,\n corsCheck,\n crossOriginResourcePolicyCheck,\n createOpaqueTimingInfo,\n setRequestReferrerPolicyOnRedirect,\n isValidHTTPToken,\n requestBadPort,\n requestCurrentURL,\n responseURL,\n responseLocationURL,\n isBlobLike,\n isURLPotentiallyTrustworthy,\n isValidReasonPhrase,\n sameOrigin,\n normalizeMethod,\n serializeJavascriptValueToJSONString,\n iteratorMixin,\n createIterator,\n isValidHeaderName,\n isValidHeaderValue,\n isErrorLike,\n fullyReadBody,\n bytesMatch,\n isReadableStreamLike,\n readableStreamClose,\n isomorphicEncode,\n urlIsLocal,\n urlHasHttpsScheme,\n urlIsHttpHttpsScheme,\n readAllBytes,\n simpleRangeHeaderValue,\n buildContentRange,\n parseMetadata,\n createInflate,\n extractMimeType,\n getDecodeSplit,\n utf8DecodeBytes,\n environmentSettingsObject\n}\n","'use strict'\n\nconst { types, inspect } = require('node:util')\nconst { markAsUncloneable } = require('node:worker_threads')\nconst { toUSVString } = require('../../core/util')\n\n/** @type {import('../../../types/webidl').Webidl} */\nconst webidl = {}\nwebidl.converters = {}\nwebidl.util = {}\nwebidl.errors = {}\n\nwebidl.errors.exception = function (message) {\n return new TypeError(`${message.header}: ${message.message}`)\n}\n\nwebidl.errors.conversionFailed = function (context) {\n const plural = context.types.length === 1 ? '' : ' one of'\n const message =\n `${context.argument} could not be converted to` +\n `${plural}: ${context.types.join(', ')}.`\n\n return webidl.errors.exception({\n header: context.prefix,\n message\n })\n}\n\nwebidl.errors.invalidArgument = function (context) {\n return webidl.errors.exception({\n header: context.prefix,\n message: `\"${context.value}\" is an invalid ${context.type}.`\n })\n}\n\n// https://webidl.spec.whatwg.org/#implements\nwebidl.brandCheck = function (V, I, opts) {\n if (opts?.strict !== false) {\n if (!(V instanceof I)) {\n const err = new TypeError('Illegal invocation')\n err.code = 'ERR_INVALID_THIS' // node compat.\n throw err\n }\n } else {\n if (V?.[Symbol.toStringTag] !== I.prototype[Symbol.toStringTag]) {\n const err = new TypeError('Illegal invocation')\n err.code = 'ERR_INVALID_THIS' // node compat.\n throw err\n }\n }\n}\n\nwebidl.argumentLengthCheck = function ({ length }, min, ctx) {\n if (length < min) {\n throw webidl.errors.exception({\n message: `${min} argument${min !== 1 ? 's' : ''} required, ` +\n `but${length ? ' only' : ''} ${length} found.`,\n header: ctx\n })\n }\n}\n\nwebidl.illegalConstructor = function () {\n throw webidl.errors.exception({\n header: 'TypeError',\n message: 'Illegal constructor'\n })\n}\n\n// https://tc39.es/ecma262/#sec-ecmascript-data-types-and-values\nwebidl.util.Type = function (V) {\n switch (typeof V) {\n case 'undefined': return 'Undefined'\n case 'boolean': return 'Boolean'\n case 'string': return 'String'\n case 'symbol': return 'Symbol'\n case 'number': return 'Number'\n case 'bigint': return 'BigInt'\n case 'function':\n case 'object': {\n if (V === null) {\n return 'Null'\n }\n\n return 'Object'\n }\n }\n}\n\nwebidl.util.markAsUncloneable = markAsUncloneable || (() => {})\n// https://webidl.spec.whatwg.org/#abstract-opdef-converttoint\nwebidl.util.ConvertToInt = function (V, bitLength, signedness, opts) {\n let upperBound\n let lowerBound\n\n // 1. If bitLength is 64, then:\n if (bitLength === 64) {\n // 1. Let upperBound be 2^53 − 1.\n upperBound = Math.pow(2, 53) - 1\n\n // 2. If signedness is \"unsigned\", then let lowerBound be 0.\n if (signedness === 'unsigned') {\n lowerBound = 0\n } else {\n // 3. Otherwise let lowerBound be −2^53 + 1.\n lowerBound = Math.pow(-2, 53) + 1\n }\n } else if (signedness === 'unsigned') {\n // 2. Otherwise, if signedness is \"unsigned\", then:\n\n // 1. Let lowerBound be 0.\n lowerBound = 0\n\n // 2. Let upperBound be 2^bitLength − 1.\n upperBound = Math.pow(2, bitLength) - 1\n } else {\n // 3. Otherwise:\n\n // 1. Let lowerBound be -2^bitLength − 1.\n lowerBound = Math.pow(-2, bitLength) - 1\n\n // 2. Let upperBound be 2^bitLength − 1 − 1.\n upperBound = Math.pow(2, bitLength - 1) - 1\n }\n\n // 4. Let x be ? ToNumber(V).\n let x = Number(V)\n\n // 5. If x is −0, then set x to +0.\n if (x === 0) {\n x = 0\n }\n\n // 6. If the conversion is to an IDL type associated\n // with the [EnforceRange] extended attribute, then:\n if (opts?.enforceRange === true) {\n // 1. If x is NaN, +∞, or −∞, then throw a TypeError.\n if (\n Number.isNaN(x) ||\n x === Number.POSITIVE_INFINITY ||\n x === Number.NEGATIVE_INFINITY\n ) {\n throw webidl.errors.exception({\n header: 'Integer conversion',\n message: `Could not convert ${webidl.util.Stringify(V)} to an integer.`\n })\n }\n\n // 2. Set x to IntegerPart(x).\n x = webidl.util.IntegerPart(x)\n\n // 3. If x < lowerBound or x > upperBound, then\n // throw a TypeError.\n if (x < lowerBound || x > upperBound) {\n throw webidl.errors.exception({\n header: 'Integer conversion',\n message: `Value must be between ${lowerBound}-${upperBound}, got ${x}.`\n })\n }\n\n // 4. Return x.\n return x\n }\n\n // 7. If x is not NaN and the conversion is to an IDL\n // type associated with the [Clamp] extended\n // attribute, then:\n if (!Number.isNaN(x) && opts?.clamp === true) {\n // 1. Set x to min(max(x, lowerBound), upperBound).\n x = Math.min(Math.max(x, lowerBound), upperBound)\n\n // 2. Round x to the nearest integer, choosing the\n // even integer if it lies halfway between two,\n // and choosing +0 rather than −0.\n if (Math.floor(x) % 2 === 0) {\n x = Math.floor(x)\n } else {\n x = Math.ceil(x)\n }\n\n // 3. Return x.\n return x\n }\n\n // 8. If x is NaN, +0, +∞, or −∞, then return +0.\n if (\n Number.isNaN(x) ||\n (x === 0 && Object.is(0, x)) ||\n x === Number.POSITIVE_INFINITY ||\n x === Number.NEGATIVE_INFINITY\n ) {\n return 0\n }\n\n // 9. Set x to IntegerPart(x).\n x = webidl.util.IntegerPart(x)\n\n // 10. Set x to x modulo 2^bitLength.\n x = x % Math.pow(2, bitLength)\n\n // 11. If signedness is \"signed\" and x ≥ 2^bitLength − 1,\n // then return x − 2^bitLength.\n if (signedness === 'signed' && x >= Math.pow(2, bitLength) - 1) {\n return x - Math.pow(2, bitLength)\n }\n\n // 12. Otherwise, return x.\n return x\n}\n\n// https://webidl.spec.whatwg.org/#abstract-opdef-integerpart\nwebidl.util.IntegerPart = function (n) {\n // 1. Let r be floor(abs(n)).\n const r = Math.floor(Math.abs(n))\n\n // 2. If n < 0, then return -1 × r.\n if (n < 0) {\n return -1 * r\n }\n\n // 3. Otherwise, return r.\n return r\n}\n\nwebidl.util.Stringify = function (V) {\n const type = webidl.util.Type(V)\n\n switch (type) {\n case 'Symbol':\n return `Symbol(${V.description})`\n case 'Object':\n return inspect(V)\n case 'String':\n return `\"${V}\"`\n default:\n return `${V}`\n }\n}\n\n// https://webidl.spec.whatwg.org/#es-sequence\nwebidl.sequenceConverter = function (converter) {\n return (V, prefix, argument, Iterable) => {\n // 1. If Type(V) is not Object, throw a TypeError.\n if (webidl.util.Type(V) !== 'Object') {\n throw webidl.errors.exception({\n header: prefix,\n message: `${argument} (${webidl.util.Stringify(V)}) is not iterable.`\n })\n }\n\n // 2. Let method be ? GetMethod(V, @@iterator).\n /** @type {Generator} */\n const method = typeof Iterable === 'function' ? Iterable() : V?.[Symbol.iterator]?.()\n const seq = []\n let index = 0\n\n // 3. If method is undefined, throw a TypeError.\n if (\n method === undefined ||\n typeof method.next !== 'function'\n ) {\n throw webidl.errors.exception({\n header: prefix,\n message: `${argument} is not iterable.`\n })\n }\n\n // https://webidl.spec.whatwg.org/#create-sequence-from-iterable\n while (true) {\n const { done, value } = method.next()\n\n if (done) {\n break\n }\n\n seq.push(converter(value, prefix, `${argument}[${index++}]`))\n }\n\n return seq\n }\n}\n\n// https://webidl.spec.whatwg.org/#es-to-record\nwebidl.recordConverter = function (keyConverter, valueConverter) {\n return (O, prefix, argument) => {\n // 1. If Type(O) is not Object, throw a TypeError.\n if (webidl.util.Type(O) !== 'Object') {\n throw webidl.errors.exception({\n header: prefix,\n message: `${argument} (\"${webidl.util.Type(O)}\") is not an Object.`\n })\n }\n\n // 2. Let result be a new empty instance of record.\n const result = {}\n\n if (!types.isProxy(O)) {\n // 1. Let desc be ? O.[[GetOwnProperty]](key).\n const keys = [...Object.getOwnPropertyNames(O), ...Object.getOwnPropertySymbols(O)]\n\n for (const key of keys) {\n // 1. Let typedKey be key converted to an IDL value of type K.\n const typedKey = keyConverter(key, prefix, argument)\n\n // 2. Let value be ? Get(O, key).\n // 3. Let typedValue be value converted to an IDL value of type V.\n const typedValue = valueConverter(O[key], prefix, argument)\n\n // 4. Set result[typedKey] to typedValue.\n result[typedKey] = typedValue\n }\n\n // 5. Return result.\n return result\n }\n\n // 3. Let keys be ? O.[[OwnPropertyKeys]]().\n const keys = Reflect.ownKeys(O)\n\n // 4. For each key of keys.\n for (const key of keys) {\n // 1. Let desc be ? O.[[GetOwnProperty]](key).\n const desc = Reflect.getOwnPropertyDescriptor(O, key)\n\n // 2. If desc is not undefined and desc.[[Enumerable]] is true:\n if (desc?.enumerable) {\n // 1. Let typedKey be key converted to an IDL value of type K.\n const typedKey = keyConverter(key, prefix, argument)\n\n // 2. Let value be ? Get(O, key).\n // 3. Let typedValue be value converted to an IDL value of type V.\n const typedValue = valueConverter(O[key], prefix, argument)\n\n // 4. Set result[typedKey] to typedValue.\n result[typedKey] = typedValue\n }\n }\n\n // 5. Return result.\n return result\n }\n}\n\nwebidl.interfaceConverter = function (i) {\n return (V, prefix, argument, opts) => {\n if (opts?.strict !== false && !(V instanceof i)) {\n throw webidl.errors.exception({\n header: prefix,\n message: `Expected ${argument} (\"${webidl.util.Stringify(V)}\") to be an instance of ${i.name}.`\n })\n }\n\n return V\n }\n}\n\nwebidl.dictionaryConverter = function (converters) {\n return (dictionary, prefix, argument) => {\n const type = webidl.util.Type(dictionary)\n const dict = {}\n\n if (type === 'Null' || type === 'Undefined') {\n return dict\n } else if (type !== 'Object') {\n throw webidl.errors.exception({\n header: prefix,\n message: `Expected ${dictionary} to be one of: Null, Undefined, Object.`\n })\n }\n\n for (const options of converters) {\n const { key, defaultValue, required, converter } = options\n\n if (required === true) {\n if (!Object.hasOwn(dictionary, key)) {\n throw webidl.errors.exception({\n header: prefix,\n message: `Missing required key \"${key}\".`\n })\n }\n }\n\n let value = dictionary[key]\n const hasDefault = Object.hasOwn(options, 'defaultValue')\n\n // Only use defaultValue if value is undefined and\n // a defaultValue options was provided.\n if (hasDefault && value !== null) {\n value ??= defaultValue()\n }\n\n // A key can be optional and have no default value.\n // When this happens, do not perform a conversion,\n // and do not assign the key a value.\n if (required || hasDefault || value !== undefined) {\n value = converter(value, prefix, `${argument}.${key}`)\n\n if (\n options.allowedValues &&\n !options.allowedValues.includes(value)\n ) {\n throw webidl.errors.exception({\n header: prefix,\n message: `${value} is not an accepted type. Expected one of ${options.allowedValues.join(', ')}.`\n })\n }\n\n dict[key] = value\n }\n }\n\n return dict\n }\n}\n\nwebidl.nullableConverter = function (converter) {\n return (V, prefix, argument) => {\n if (V === null) {\n return V\n }\n\n return converter(V, prefix, argument)\n }\n}\n\n// https://webidl.spec.whatwg.org/#es-DOMString\nwebidl.converters.DOMString = function (V, prefix, argument, opts) {\n // 1. If V is null and the conversion is to an IDL type\n // associated with the [LegacyNullToEmptyString]\n // extended attribute, then return the DOMString value\n // that represents the empty string.\n if (V === null && opts?.legacyNullToEmptyString) {\n return ''\n }\n\n // 2. Let x be ? ToString(V).\n if (typeof V === 'symbol') {\n throw webidl.errors.exception({\n header: prefix,\n message: `${argument} is a symbol, which cannot be converted to a DOMString.`\n })\n }\n\n // 3. Return the IDL DOMString value that represents the\n // same sequence of code units as the one the\n // ECMAScript String value x represents.\n return String(V)\n}\n\n// https://webidl.spec.whatwg.org/#es-ByteString\nwebidl.converters.ByteString = function (V, prefix, argument) {\n // 1. Let x be ? ToString(V).\n // Note: DOMString converter perform ? ToString(V)\n const x = webidl.converters.DOMString(V, prefix, argument)\n\n // 2. If the value of any element of x is greater than\n // 255, then throw a TypeError.\n for (let index = 0; index < x.length; index++) {\n if (x.charCodeAt(index) > 255) {\n throw new TypeError(\n 'Cannot convert argument to a ByteString because the character at ' +\n `index ${index} has a value of ${x.charCodeAt(index)} which is greater than 255.`\n )\n }\n }\n\n // 3. Return an IDL ByteString value whose length is the\n // length of x, and where the value of each element is\n // the value of the corresponding element of x.\n return x\n}\n\n// https://webidl.spec.whatwg.org/#es-USVString\n// TODO: rewrite this so we can control the errors thrown\nwebidl.converters.USVString = toUSVString\n\n// https://webidl.spec.whatwg.org/#es-boolean\nwebidl.converters.boolean = function (V) {\n // 1. Let x be the result of computing ToBoolean(V).\n const x = Boolean(V)\n\n // 2. Return the IDL boolean value that is the one that represents\n // the same truth value as the ECMAScript Boolean value x.\n return x\n}\n\n// https://webidl.spec.whatwg.org/#es-any\nwebidl.converters.any = function (V) {\n return V\n}\n\n// https://webidl.spec.whatwg.org/#es-long-long\nwebidl.converters['long long'] = function (V, prefix, argument) {\n // 1. Let x be ? ConvertToInt(V, 64, \"signed\").\n const x = webidl.util.ConvertToInt(V, 64, 'signed', undefined, prefix, argument)\n\n // 2. Return the IDL long long value that represents\n // the same numeric value as x.\n return x\n}\n\n// https://webidl.spec.whatwg.org/#es-unsigned-long-long\nwebidl.converters['unsigned long long'] = function (V, prefix, argument) {\n // 1. Let x be ? ConvertToInt(V, 64, \"unsigned\").\n const x = webidl.util.ConvertToInt(V, 64, 'unsigned', undefined, prefix, argument)\n\n // 2. Return the IDL unsigned long long value that\n // represents the same numeric value as x.\n return x\n}\n\n// https://webidl.spec.whatwg.org/#es-unsigned-long\nwebidl.converters['unsigned long'] = function (V, prefix, argument) {\n // 1. Let x be ? ConvertToInt(V, 32, \"unsigned\").\n const x = webidl.util.ConvertToInt(V, 32, 'unsigned', undefined, prefix, argument)\n\n // 2. Return the IDL unsigned long value that\n // represents the same numeric value as x.\n return x\n}\n\n// https://webidl.spec.whatwg.org/#es-unsigned-short\nwebidl.converters['unsigned short'] = function (V, prefix, argument, opts) {\n // 1. Let x be ? ConvertToInt(V, 16, \"unsigned\").\n const x = webidl.util.ConvertToInt(V, 16, 'unsigned', opts, prefix, argument)\n\n // 2. Return the IDL unsigned short value that represents\n // the same numeric value as x.\n return x\n}\n\n// https://webidl.spec.whatwg.org/#idl-ArrayBuffer\nwebidl.converters.ArrayBuffer = function (V, prefix, argument, opts) {\n // 1. If Type(V) is not Object, or V does not have an\n // [[ArrayBufferData]] internal slot, then throw a\n // TypeError.\n // see: https://tc39.es/ecma262/#sec-properties-of-the-arraybuffer-instances\n // see: https://tc39.es/ecma262/#sec-properties-of-the-sharedarraybuffer-instances\n if (\n webidl.util.Type(V) !== 'Object' ||\n !types.isAnyArrayBuffer(V)\n ) {\n throw webidl.errors.conversionFailed({\n prefix,\n argument: `${argument} (\"${webidl.util.Stringify(V)}\")`,\n types: ['ArrayBuffer']\n })\n }\n\n // 2. If the conversion is not to an IDL type associated\n // with the [AllowShared] extended attribute, and\n // IsSharedArrayBuffer(V) is true, then throw a\n // TypeError.\n if (opts?.allowShared === false && types.isSharedArrayBuffer(V)) {\n throw webidl.errors.exception({\n header: 'ArrayBuffer',\n message: 'SharedArrayBuffer is not allowed.'\n })\n }\n\n // 3. If the conversion is not to an IDL type associated\n // with the [AllowResizable] extended attribute, and\n // IsResizableArrayBuffer(V) is true, then throw a\n // TypeError.\n if (V.resizable || V.growable) {\n throw webidl.errors.exception({\n header: 'ArrayBuffer',\n message: 'Received a resizable ArrayBuffer.'\n })\n }\n\n // 4. Return the IDL ArrayBuffer value that is a\n // reference to the same object as V.\n return V\n}\n\nwebidl.converters.TypedArray = function (V, T, prefix, name, opts) {\n // 1. Let T be the IDL type V is being converted to.\n\n // 2. If Type(V) is not Object, or V does not have a\n // [[TypedArrayName]] internal slot with a value\n // equal to T’s name, then throw a TypeError.\n if (\n webidl.util.Type(V) !== 'Object' ||\n !types.isTypedArray(V) ||\n V.constructor.name !== T.name\n ) {\n throw webidl.errors.conversionFailed({\n prefix,\n argument: `${name} (\"${webidl.util.Stringify(V)}\")`,\n types: [T.name]\n })\n }\n\n // 3. If the conversion is not to an IDL type associated\n // with the [AllowShared] extended attribute, and\n // IsSharedArrayBuffer(V.[[ViewedArrayBuffer]]) is\n // true, then throw a TypeError.\n if (opts?.allowShared === false && types.isSharedArrayBuffer(V.buffer)) {\n throw webidl.errors.exception({\n header: 'ArrayBuffer',\n message: 'SharedArrayBuffer is not allowed.'\n })\n }\n\n // 4. If the conversion is not to an IDL type associated\n // with the [AllowResizable] extended attribute, and\n // IsResizableArrayBuffer(V.[[ViewedArrayBuffer]]) is\n // true, then throw a TypeError.\n if (V.buffer.resizable || V.buffer.growable) {\n throw webidl.errors.exception({\n header: 'ArrayBuffer',\n message: 'Received a resizable ArrayBuffer.'\n })\n }\n\n // 5. Return the IDL value of type T that is a reference\n // to the same object as V.\n return V\n}\n\nwebidl.converters.DataView = function (V, prefix, name, opts) {\n // 1. If Type(V) is not Object, or V does not have a\n // [[DataView]] internal slot, then throw a TypeError.\n if (webidl.util.Type(V) !== 'Object' || !types.isDataView(V)) {\n throw webidl.errors.exception({\n header: prefix,\n message: `${name} is not a DataView.`\n })\n }\n\n // 2. If the conversion is not to an IDL type associated\n // with the [AllowShared] extended attribute, and\n // IsSharedArrayBuffer(V.[[ViewedArrayBuffer]]) is true,\n // then throw a TypeError.\n if (opts?.allowShared === false && types.isSharedArrayBuffer(V.buffer)) {\n throw webidl.errors.exception({\n header: 'ArrayBuffer',\n message: 'SharedArrayBuffer is not allowed.'\n })\n }\n\n // 3. If the conversion is not to an IDL type associated\n // with the [AllowResizable] extended attribute, and\n // IsResizableArrayBuffer(V.[[ViewedArrayBuffer]]) is\n // true, then throw a TypeError.\n if (V.buffer.resizable || V.buffer.growable) {\n throw webidl.errors.exception({\n header: 'ArrayBuffer',\n message: 'Received a resizable ArrayBuffer.'\n })\n }\n\n // 4. Return the IDL DataView value that is a reference\n // to the same object as V.\n return V\n}\n\n// https://webidl.spec.whatwg.org/#BufferSource\nwebidl.converters.BufferSource = function (V, prefix, name, opts) {\n if (types.isAnyArrayBuffer(V)) {\n return webidl.converters.ArrayBuffer(V, prefix, name, { ...opts, allowShared: false })\n }\n\n if (types.isTypedArray(V)) {\n return webidl.converters.TypedArray(V, V.constructor, prefix, name, { ...opts, allowShared: false })\n }\n\n if (types.isDataView(V)) {\n return webidl.converters.DataView(V, prefix, name, { ...opts, allowShared: false })\n }\n\n throw webidl.errors.conversionFailed({\n prefix,\n argument: `${name} (\"${webidl.util.Stringify(V)}\")`,\n types: ['BufferSource']\n })\n}\n\nwebidl.converters['sequence'] = webidl.sequenceConverter(\n webidl.converters.ByteString\n)\n\nwebidl.converters['sequence>'] = webidl.sequenceConverter(\n webidl.converters['sequence']\n)\n\nwebidl.converters['record'] = webidl.recordConverter(\n webidl.converters.ByteString,\n webidl.converters.ByteString\n)\n\nmodule.exports = {\n webidl\n}\n","'use strict'\n\n/**\n * @see https://encoding.spec.whatwg.org/#concept-encoding-get\n * @param {string|undefined} label\n */\nfunction getEncoding (label) {\n if (!label) {\n return 'failure'\n }\n\n // 1. Remove any leading and trailing ASCII whitespace from label.\n // 2. If label is an ASCII case-insensitive match for any of the\n // labels listed in the table below, then return the\n // corresponding encoding; otherwise return failure.\n switch (label.trim().toLowerCase()) {\n case 'unicode-1-1-utf-8':\n case 'unicode11utf8':\n case 'unicode20utf8':\n case 'utf-8':\n case 'utf8':\n case 'x-unicode20utf8':\n return 'UTF-8'\n case '866':\n case 'cp866':\n case 'csibm866':\n case 'ibm866':\n return 'IBM866'\n case 'csisolatin2':\n case 'iso-8859-2':\n case 'iso-ir-101':\n case 'iso8859-2':\n case 'iso88592':\n case 'iso_8859-2':\n case 'iso_8859-2:1987':\n case 'l2':\n case 'latin2':\n return 'ISO-8859-2'\n case 'csisolatin3':\n case 'iso-8859-3':\n case 'iso-ir-109':\n case 'iso8859-3':\n case 'iso88593':\n case 'iso_8859-3':\n case 'iso_8859-3:1988':\n case 'l3':\n case 'latin3':\n return 'ISO-8859-3'\n case 'csisolatin4':\n case 'iso-8859-4':\n case 'iso-ir-110':\n case 'iso8859-4':\n case 'iso88594':\n case 'iso_8859-4':\n case 'iso_8859-4:1988':\n case 'l4':\n case 'latin4':\n return 'ISO-8859-4'\n case 'csisolatincyrillic':\n case 'cyrillic':\n case 'iso-8859-5':\n case 'iso-ir-144':\n case 'iso8859-5':\n case 'iso88595':\n case 'iso_8859-5':\n case 'iso_8859-5:1988':\n return 'ISO-8859-5'\n case 'arabic':\n case 'asmo-708':\n case 'csiso88596e':\n case 'csiso88596i':\n case 'csisolatinarabic':\n case 'ecma-114':\n case 'iso-8859-6':\n case 'iso-8859-6-e':\n case 'iso-8859-6-i':\n case 'iso-ir-127':\n case 'iso8859-6':\n case 'iso88596':\n case 'iso_8859-6':\n case 'iso_8859-6:1987':\n return 'ISO-8859-6'\n case 'csisolatingreek':\n case 'ecma-118':\n case 'elot_928':\n case 'greek':\n case 'greek8':\n case 'iso-8859-7':\n case 'iso-ir-126':\n case 'iso8859-7':\n case 'iso88597':\n case 'iso_8859-7':\n case 'iso_8859-7:1987':\n case 'sun_eu_greek':\n return 'ISO-8859-7'\n case 'csiso88598e':\n case 'csisolatinhebrew':\n case 'hebrew':\n case 'iso-8859-8':\n case 'iso-8859-8-e':\n case 'iso-ir-138':\n case 'iso8859-8':\n case 'iso88598':\n case 'iso_8859-8':\n case 'iso_8859-8:1988':\n case 'visual':\n return 'ISO-8859-8'\n case 'csiso88598i':\n case 'iso-8859-8-i':\n case 'logical':\n return 'ISO-8859-8-I'\n case 'csisolatin6':\n case 'iso-8859-10':\n case 'iso-ir-157':\n case 'iso8859-10':\n case 'iso885910':\n case 'l6':\n case 'latin6':\n return 'ISO-8859-10'\n case 'iso-8859-13':\n case 'iso8859-13':\n case 'iso885913':\n return 'ISO-8859-13'\n case 'iso-8859-14':\n case 'iso8859-14':\n case 'iso885914':\n return 'ISO-8859-14'\n case 'csisolatin9':\n case 'iso-8859-15':\n case 'iso8859-15':\n case 'iso885915':\n case 'iso_8859-15':\n case 'l9':\n return 'ISO-8859-15'\n case 'iso-8859-16':\n return 'ISO-8859-16'\n case 'cskoi8r':\n case 'koi':\n case 'koi8':\n case 'koi8-r':\n case 'koi8_r':\n return 'KOI8-R'\n case 'koi8-ru':\n case 'koi8-u':\n return 'KOI8-U'\n case 'csmacintosh':\n case 'mac':\n case 'macintosh':\n case 'x-mac-roman':\n return 'macintosh'\n case 'iso-8859-11':\n case 'iso8859-11':\n case 'iso885911':\n case 'tis-620':\n case 'windows-874':\n return 'windows-874'\n case 'cp1250':\n case 'windows-1250':\n case 'x-cp1250':\n return 'windows-1250'\n case 'cp1251':\n case 'windows-1251':\n case 'x-cp1251':\n return 'windows-1251'\n case 'ansi_x3.4-1968':\n case 'ascii':\n case 'cp1252':\n case 'cp819':\n case 'csisolatin1':\n case 'ibm819':\n case 'iso-8859-1':\n case 'iso-ir-100':\n case 'iso8859-1':\n case 'iso88591':\n case 'iso_8859-1':\n case 'iso_8859-1:1987':\n case 'l1':\n case 'latin1':\n case 'us-ascii':\n case 'windows-1252':\n case 'x-cp1252':\n return 'windows-1252'\n case 'cp1253':\n case 'windows-1253':\n case 'x-cp1253':\n return 'windows-1253'\n case 'cp1254':\n case 'csisolatin5':\n case 'iso-8859-9':\n case 'iso-ir-148':\n case 'iso8859-9':\n case 'iso88599':\n case 'iso_8859-9':\n case 'iso_8859-9:1989':\n case 'l5':\n case 'latin5':\n case 'windows-1254':\n case 'x-cp1254':\n return 'windows-1254'\n case 'cp1255':\n case 'windows-1255':\n case 'x-cp1255':\n return 'windows-1255'\n case 'cp1256':\n case 'windows-1256':\n case 'x-cp1256':\n return 'windows-1256'\n case 'cp1257':\n case 'windows-1257':\n case 'x-cp1257':\n return 'windows-1257'\n case 'cp1258':\n case 'windows-1258':\n case 'x-cp1258':\n return 'windows-1258'\n case 'x-mac-cyrillic':\n case 'x-mac-ukrainian':\n return 'x-mac-cyrillic'\n case 'chinese':\n case 'csgb2312':\n case 'csiso58gb231280':\n case 'gb2312':\n case 'gb_2312':\n case 'gb_2312-80':\n case 'gbk':\n case 'iso-ir-58':\n case 'x-gbk':\n return 'GBK'\n case 'gb18030':\n return 'gb18030'\n case 'big5':\n case 'big5-hkscs':\n case 'cn-big5':\n case 'csbig5':\n case 'x-x-big5':\n return 'Big5'\n case 'cseucpkdfmtjapanese':\n case 'euc-jp':\n case 'x-euc-jp':\n return 'EUC-JP'\n case 'csiso2022jp':\n case 'iso-2022-jp':\n return 'ISO-2022-JP'\n case 'csshiftjis':\n case 'ms932':\n case 'ms_kanji':\n case 'shift-jis':\n case 'shift_jis':\n case 'sjis':\n case 'windows-31j':\n case 'x-sjis':\n return 'Shift_JIS'\n case 'cseuckr':\n case 'csksc56011987':\n case 'euc-kr':\n case 'iso-ir-149':\n case 'korean':\n case 'ks_c_5601-1987':\n case 'ks_c_5601-1989':\n case 'ksc5601':\n case 'ksc_5601':\n case 'windows-949':\n return 'EUC-KR'\n case 'csiso2022kr':\n case 'hz-gb-2312':\n case 'iso-2022-cn':\n case 'iso-2022-cn-ext':\n case 'iso-2022-kr':\n case 'replacement':\n return 'replacement'\n case 'unicodefffe':\n case 'utf-16be':\n return 'UTF-16BE'\n case 'csunicode':\n case 'iso-10646-ucs-2':\n case 'ucs-2':\n case 'unicode':\n case 'unicodefeff':\n case 'utf-16':\n case 'utf-16le':\n return 'UTF-16LE'\n case 'x-user-defined':\n return 'x-user-defined'\n default: return 'failure'\n }\n}\n\nmodule.exports = {\n getEncoding\n}\n","'use strict'\n\nconst {\n staticPropertyDescriptors,\n readOperation,\n fireAProgressEvent\n} = require('./util')\nconst {\n kState,\n kError,\n kResult,\n kEvents,\n kAborted\n} = require('./symbols')\nconst { webidl } = require('../fetch/webidl')\nconst { kEnumerableProperty } = require('../../core/util')\n\nclass FileReader extends EventTarget {\n constructor () {\n super()\n\n this[kState] = 'empty'\n this[kResult] = null\n this[kError] = null\n this[kEvents] = {\n loadend: null,\n error: null,\n abort: null,\n load: null,\n progress: null,\n loadstart: null\n }\n }\n\n /**\n * @see https://w3c.github.io/FileAPI/#dfn-readAsArrayBuffer\n * @param {import('buffer').Blob} blob\n */\n readAsArrayBuffer (blob) {\n webidl.brandCheck(this, FileReader)\n\n webidl.argumentLengthCheck(arguments, 1, 'FileReader.readAsArrayBuffer')\n\n blob = webidl.converters.Blob(blob, { strict: false })\n\n // The readAsArrayBuffer(blob) method, when invoked,\n // must initiate a read operation for blob with ArrayBuffer.\n readOperation(this, blob, 'ArrayBuffer')\n }\n\n /**\n * @see https://w3c.github.io/FileAPI/#readAsBinaryString\n * @param {import('buffer').Blob} blob\n */\n readAsBinaryString (blob) {\n webidl.brandCheck(this, FileReader)\n\n webidl.argumentLengthCheck(arguments, 1, 'FileReader.readAsBinaryString')\n\n blob = webidl.converters.Blob(blob, { strict: false })\n\n // The readAsBinaryString(blob) method, when invoked,\n // must initiate a read operation for blob with BinaryString.\n readOperation(this, blob, 'BinaryString')\n }\n\n /**\n * @see https://w3c.github.io/FileAPI/#readAsDataText\n * @param {import('buffer').Blob} blob\n * @param {string?} encoding\n */\n readAsText (blob, encoding = undefined) {\n webidl.brandCheck(this, FileReader)\n\n webidl.argumentLengthCheck(arguments, 1, 'FileReader.readAsText')\n\n blob = webidl.converters.Blob(blob, { strict: false })\n\n if (encoding !== undefined) {\n encoding = webidl.converters.DOMString(encoding, 'FileReader.readAsText', 'encoding')\n }\n\n // The readAsText(blob, encoding) method, when invoked,\n // must initiate a read operation for blob with Text and encoding.\n readOperation(this, blob, 'Text', encoding)\n }\n\n /**\n * @see https://w3c.github.io/FileAPI/#dfn-readAsDataURL\n * @param {import('buffer').Blob} blob\n */\n readAsDataURL (blob) {\n webidl.brandCheck(this, FileReader)\n\n webidl.argumentLengthCheck(arguments, 1, 'FileReader.readAsDataURL')\n\n blob = webidl.converters.Blob(blob, { strict: false })\n\n // The readAsDataURL(blob) method, when invoked, must\n // initiate a read operation for blob with DataURL.\n readOperation(this, blob, 'DataURL')\n }\n\n /**\n * @see https://w3c.github.io/FileAPI/#dfn-abort\n */\n abort () {\n // 1. If this's state is \"empty\" or if this's state is\n // \"done\" set this's result to null and terminate\n // this algorithm.\n if (this[kState] === 'empty' || this[kState] === 'done') {\n this[kResult] = null\n return\n }\n\n // 2. If this's state is \"loading\" set this's state to\n // \"done\" and set this's result to null.\n if (this[kState] === 'loading') {\n this[kState] = 'done'\n this[kResult] = null\n }\n\n // 3. If there are any tasks from this on the file reading\n // task source in an affiliated task queue, then remove\n // those tasks from that task queue.\n this[kAborted] = true\n\n // 4. Terminate the algorithm for the read method being processed.\n // TODO\n\n // 5. Fire a progress event called abort at this.\n fireAProgressEvent('abort', this)\n\n // 6. If this's state is not \"loading\", fire a progress\n // event called loadend at this.\n if (this[kState] !== 'loading') {\n fireAProgressEvent('loadend', this)\n }\n }\n\n /**\n * @see https://w3c.github.io/FileAPI/#dom-filereader-readystate\n */\n get readyState () {\n webidl.brandCheck(this, FileReader)\n\n switch (this[kState]) {\n case 'empty': return this.EMPTY\n case 'loading': return this.LOADING\n case 'done': return this.DONE\n }\n }\n\n /**\n * @see https://w3c.github.io/FileAPI/#dom-filereader-result\n */\n get result () {\n webidl.brandCheck(this, FileReader)\n\n // The result attribute’s getter, when invoked, must return\n // this's result.\n return this[kResult]\n }\n\n /**\n * @see https://w3c.github.io/FileAPI/#dom-filereader-error\n */\n get error () {\n webidl.brandCheck(this, FileReader)\n\n // The error attribute’s getter, when invoked, must return\n // this's error.\n return this[kError]\n }\n\n get onloadend () {\n webidl.brandCheck(this, FileReader)\n\n return this[kEvents].loadend\n }\n\n set onloadend (fn) {\n webidl.brandCheck(this, FileReader)\n\n if (this[kEvents].loadend) {\n this.removeEventListener('loadend', this[kEvents].loadend)\n }\n\n if (typeof fn === 'function') {\n this[kEvents].loadend = fn\n this.addEventListener('loadend', fn)\n } else {\n this[kEvents].loadend = null\n }\n }\n\n get onerror () {\n webidl.brandCheck(this, FileReader)\n\n return this[kEvents].error\n }\n\n set onerror (fn) {\n webidl.brandCheck(this, FileReader)\n\n if (this[kEvents].error) {\n this.removeEventListener('error', this[kEvents].error)\n }\n\n if (typeof fn === 'function') {\n this[kEvents].error = fn\n this.addEventListener('error', fn)\n } else {\n this[kEvents].error = null\n }\n }\n\n get onloadstart () {\n webidl.brandCheck(this, FileReader)\n\n return this[kEvents].loadstart\n }\n\n set onloadstart (fn) {\n webidl.brandCheck(this, FileReader)\n\n if (this[kEvents].loadstart) {\n this.removeEventListener('loadstart', this[kEvents].loadstart)\n }\n\n if (typeof fn === 'function') {\n this[kEvents].loadstart = fn\n this.addEventListener('loadstart', fn)\n } else {\n this[kEvents].loadstart = null\n }\n }\n\n get onprogress () {\n webidl.brandCheck(this, FileReader)\n\n return this[kEvents].progress\n }\n\n set onprogress (fn) {\n webidl.brandCheck(this, FileReader)\n\n if (this[kEvents].progress) {\n this.removeEventListener('progress', this[kEvents].progress)\n }\n\n if (typeof fn === 'function') {\n this[kEvents].progress = fn\n this.addEventListener('progress', fn)\n } else {\n this[kEvents].progress = null\n }\n }\n\n get onload () {\n webidl.brandCheck(this, FileReader)\n\n return this[kEvents].load\n }\n\n set onload (fn) {\n webidl.brandCheck(this, FileReader)\n\n if (this[kEvents].load) {\n this.removeEventListener('load', this[kEvents].load)\n }\n\n if (typeof fn === 'function') {\n this[kEvents].load = fn\n this.addEventListener('load', fn)\n } else {\n this[kEvents].load = null\n }\n }\n\n get onabort () {\n webidl.brandCheck(this, FileReader)\n\n return this[kEvents].abort\n }\n\n set onabort (fn) {\n webidl.brandCheck(this, FileReader)\n\n if (this[kEvents].abort) {\n this.removeEventListener('abort', this[kEvents].abort)\n }\n\n if (typeof fn === 'function') {\n this[kEvents].abort = fn\n this.addEventListener('abort', fn)\n } else {\n this[kEvents].abort = null\n }\n }\n}\n\n// https://w3c.github.io/FileAPI/#dom-filereader-empty\nFileReader.EMPTY = FileReader.prototype.EMPTY = 0\n// https://w3c.github.io/FileAPI/#dom-filereader-loading\nFileReader.LOADING = FileReader.prototype.LOADING = 1\n// https://w3c.github.io/FileAPI/#dom-filereader-done\nFileReader.DONE = FileReader.prototype.DONE = 2\n\nObject.defineProperties(FileReader.prototype, {\n EMPTY: staticPropertyDescriptors,\n LOADING: staticPropertyDescriptors,\n DONE: staticPropertyDescriptors,\n readAsArrayBuffer: kEnumerableProperty,\n readAsBinaryString: kEnumerableProperty,\n readAsText: kEnumerableProperty,\n readAsDataURL: kEnumerableProperty,\n abort: kEnumerableProperty,\n readyState: kEnumerableProperty,\n result: kEnumerableProperty,\n error: kEnumerableProperty,\n onloadstart: kEnumerableProperty,\n onprogress: kEnumerableProperty,\n onload: kEnumerableProperty,\n onabort: kEnumerableProperty,\n onerror: kEnumerableProperty,\n onloadend: kEnumerableProperty,\n [Symbol.toStringTag]: {\n value: 'FileReader',\n writable: false,\n enumerable: false,\n configurable: true\n }\n})\n\nObject.defineProperties(FileReader, {\n EMPTY: staticPropertyDescriptors,\n LOADING: staticPropertyDescriptors,\n DONE: staticPropertyDescriptors\n})\n\nmodule.exports = {\n FileReader\n}\n","'use strict'\n\nconst { webidl } = require('../fetch/webidl')\n\nconst kState = Symbol('ProgressEvent state')\n\n/**\n * @see https://xhr.spec.whatwg.org/#progressevent\n */\nclass ProgressEvent extends Event {\n constructor (type, eventInitDict = {}) {\n type = webidl.converters.DOMString(type, 'ProgressEvent constructor', 'type')\n eventInitDict = webidl.converters.ProgressEventInit(eventInitDict ?? {})\n\n super(type, eventInitDict)\n\n this[kState] = {\n lengthComputable: eventInitDict.lengthComputable,\n loaded: eventInitDict.loaded,\n total: eventInitDict.total\n }\n }\n\n get lengthComputable () {\n webidl.brandCheck(this, ProgressEvent)\n\n return this[kState].lengthComputable\n }\n\n get loaded () {\n webidl.brandCheck(this, ProgressEvent)\n\n return this[kState].loaded\n }\n\n get total () {\n webidl.brandCheck(this, ProgressEvent)\n\n return this[kState].total\n }\n}\n\nwebidl.converters.ProgressEventInit = webidl.dictionaryConverter([\n {\n key: 'lengthComputable',\n converter: webidl.converters.boolean,\n defaultValue: () => false\n },\n {\n key: 'loaded',\n converter: webidl.converters['unsigned long long'],\n defaultValue: () => 0\n },\n {\n key: 'total',\n converter: webidl.converters['unsigned long long'],\n defaultValue: () => 0\n },\n {\n key: 'bubbles',\n converter: webidl.converters.boolean,\n defaultValue: () => false\n },\n {\n key: 'cancelable',\n converter: webidl.converters.boolean,\n defaultValue: () => false\n },\n {\n key: 'composed',\n converter: webidl.converters.boolean,\n defaultValue: () => false\n }\n])\n\nmodule.exports = {\n ProgressEvent\n}\n","'use strict'\n\nmodule.exports = {\n kState: Symbol('FileReader state'),\n kResult: Symbol('FileReader result'),\n kError: Symbol('FileReader error'),\n kLastProgressEventFired: Symbol('FileReader last progress event fired timestamp'),\n kEvents: Symbol('FileReader events'),\n kAborted: Symbol('FileReader aborted')\n}\n","'use strict'\n\nconst {\n kState,\n kError,\n kResult,\n kAborted,\n kLastProgressEventFired\n} = require('./symbols')\nconst { ProgressEvent } = require('./progressevent')\nconst { getEncoding } = require('./encoding')\nconst { serializeAMimeType, parseMIMEType } = require('../fetch/data-url')\nconst { types } = require('node:util')\nconst { StringDecoder } = require('string_decoder')\nconst { btoa } = require('node:buffer')\n\n/** @type {PropertyDescriptor} */\nconst staticPropertyDescriptors = {\n enumerable: true,\n writable: false,\n configurable: false\n}\n\n/**\n * @see https://w3c.github.io/FileAPI/#readOperation\n * @param {import('./filereader').FileReader} fr\n * @param {import('buffer').Blob} blob\n * @param {string} type\n * @param {string?} encodingName\n */\nfunction readOperation (fr, blob, type, encodingName) {\n // 1. If fr’s state is \"loading\", throw an InvalidStateError\n // DOMException.\n if (fr[kState] === 'loading') {\n throw new DOMException('Invalid state', 'InvalidStateError')\n }\n\n // 2. Set fr’s state to \"loading\".\n fr[kState] = 'loading'\n\n // 3. Set fr’s result to null.\n fr[kResult] = null\n\n // 4. Set fr’s error to null.\n fr[kError] = null\n\n // 5. Let stream be the result of calling get stream on blob.\n /** @type {import('stream/web').ReadableStream} */\n const stream = blob.stream()\n\n // 6. Let reader be the result of getting a reader from stream.\n const reader = stream.getReader()\n\n // 7. Let bytes be an empty byte sequence.\n /** @type {Uint8Array[]} */\n const bytes = []\n\n // 8. Let chunkPromise be the result of reading a chunk from\n // stream with reader.\n let chunkPromise = reader.read()\n\n // 9. Let isFirstChunk be true.\n let isFirstChunk = true\n\n // 10. In parallel, while true:\n // Note: \"In parallel\" just means non-blocking\n // Note 2: readOperation itself cannot be async as double\n // reading the body would then reject the promise, instead\n // of throwing an error.\n ;(async () => {\n while (!fr[kAborted]) {\n // 1. Wait for chunkPromise to be fulfilled or rejected.\n try {\n const { done, value } = await chunkPromise\n\n // 2. If chunkPromise is fulfilled, and isFirstChunk is\n // true, queue a task to fire a progress event called\n // loadstart at fr.\n if (isFirstChunk && !fr[kAborted]) {\n queueMicrotask(() => {\n fireAProgressEvent('loadstart', fr)\n })\n }\n\n // 3. Set isFirstChunk to false.\n isFirstChunk = false\n\n // 4. If chunkPromise is fulfilled with an object whose\n // done property is false and whose value property is\n // a Uint8Array object, run these steps:\n if (!done && types.isUint8Array(value)) {\n // 1. Let bs be the byte sequence represented by the\n // Uint8Array object.\n\n // 2. Append bs to bytes.\n bytes.push(value)\n\n // 3. If roughly 50ms have passed since these steps\n // were last invoked, queue a task to fire a\n // progress event called progress at fr.\n if (\n (\n fr[kLastProgressEventFired] === undefined ||\n Date.now() - fr[kLastProgressEventFired] >= 50\n ) &&\n !fr[kAborted]\n ) {\n fr[kLastProgressEventFired] = Date.now()\n queueMicrotask(() => {\n fireAProgressEvent('progress', fr)\n })\n }\n\n // 4. Set chunkPromise to the result of reading a\n // chunk from stream with reader.\n chunkPromise = reader.read()\n } else if (done) {\n // 5. Otherwise, if chunkPromise is fulfilled with an\n // object whose done property is true, queue a task\n // to run the following steps and abort this algorithm:\n queueMicrotask(() => {\n // 1. Set fr’s state to \"done\".\n fr[kState] = 'done'\n\n // 2. Let result be the result of package data given\n // bytes, type, blob’s type, and encodingName.\n try {\n const result = packageData(bytes, type, blob.type, encodingName)\n\n // 4. Else:\n\n if (fr[kAborted]) {\n return\n }\n\n // 1. Set fr’s result to result.\n fr[kResult] = result\n\n // 2. Fire a progress event called load at the fr.\n fireAProgressEvent('load', fr)\n } catch (error) {\n // 3. If package data threw an exception error:\n\n // 1. Set fr’s error to error.\n fr[kError] = error\n\n // 2. Fire a progress event called error at fr.\n fireAProgressEvent('error', fr)\n }\n\n // 5. If fr’s state is not \"loading\", fire a progress\n // event called loadend at the fr.\n if (fr[kState] !== 'loading') {\n fireAProgressEvent('loadend', fr)\n }\n })\n\n break\n }\n } catch (error) {\n if (fr[kAborted]) {\n return\n }\n\n // 6. Otherwise, if chunkPromise is rejected with an\n // error error, queue a task to run the following\n // steps and abort this algorithm:\n queueMicrotask(() => {\n // 1. Set fr’s state to \"done\".\n fr[kState] = 'done'\n\n // 2. Set fr’s error to error.\n fr[kError] = error\n\n // 3. Fire a progress event called error at fr.\n fireAProgressEvent('error', fr)\n\n // 4. If fr’s state is not \"loading\", fire a progress\n // event called loadend at fr.\n if (fr[kState] !== 'loading') {\n fireAProgressEvent('loadend', fr)\n }\n })\n\n break\n }\n }\n })()\n}\n\n/**\n * @see https://w3c.github.io/FileAPI/#fire-a-progress-event\n * @see https://dom.spec.whatwg.org/#concept-event-fire\n * @param {string} e The name of the event\n * @param {import('./filereader').FileReader} reader\n */\nfunction fireAProgressEvent (e, reader) {\n // The progress event e does not bubble. e.bubbles must be false\n // The progress event e is NOT cancelable. e.cancelable must be false\n const event = new ProgressEvent(e, {\n bubbles: false,\n cancelable: false\n })\n\n reader.dispatchEvent(event)\n}\n\n/**\n * @see https://w3c.github.io/FileAPI/#blob-package-data\n * @param {Uint8Array[]} bytes\n * @param {string} type\n * @param {string?} mimeType\n * @param {string?} encodingName\n */\nfunction packageData (bytes, type, mimeType, encodingName) {\n // 1. A Blob has an associated package data algorithm, given\n // bytes, a type, a optional mimeType, and a optional\n // encodingName, which switches on type and runs the\n // associated steps:\n\n switch (type) {\n case 'DataURL': {\n // 1. Return bytes as a DataURL [RFC2397] subject to\n // the considerations below:\n // * Use mimeType as part of the Data URL if it is\n // available in keeping with the Data URL\n // specification [RFC2397].\n // * If mimeType is not available return a Data URL\n // without a media-type. [RFC2397].\n\n // https://datatracker.ietf.org/doc/html/rfc2397#section-3\n // dataurl := \"data:\" [ mediatype ] [ \";base64\" ] \",\" data\n // mediatype := [ type \"/\" subtype ] *( \";\" parameter )\n // data := *urlchar\n // parameter := attribute \"=\" value\n let dataURL = 'data:'\n\n const parsed = parseMIMEType(mimeType || 'application/octet-stream')\n\n if (parsed !== 'failure') {\n dataURL += serializeAMimeType(parsed)\n }\n\n dataURL += ';base64,'\n\n const decoder = new StringDecoder('latin1')\n\n for (const chunk of bytes) {\n dataURL += btoa(decoder.write(chunk))\n }\n\n dataURL += btoa(decoder.end())\n\n return dataURL\n }\n case 'Text': {\n // 1. Let encoding be failure\n let encoding = 'failure'\n\n // 2. If the encodingName is present, set encoding to the\n // result of getting an encoding from encodingName.\n if (encodingName) {\n encoding = getEncoding(encodingName)\n }\n\n // 3. If encoding is failure, and mimeType is present:\n if (encoding === 'failure' && mimeType) {\n // 1. Let type be the result of parse a MIME type\n // given mimeType.\n const type = parseMIMEType(mimeType)\n\n // 2. If type is not failure, set encoding to the result\n // of getting an encoding from type’s parameters[\"charset\"].\n if (type !== 'failure') {\n encoding = getEncoding(type.parameters.get('charset'))\n }\n }\n\n // 4. If encoding is failure, then set encoding to UTF-8.\n if (encoding === 'failure') {\n encoding = 'UTF-8'\n }\n\n // 5. Decode bytes using fallback encoding encoding, and\n // return the result.\n return decode(bytes, encoding)\n }\n case 'ArrayBuffer': {\n // Return a new ArrayBuffer whose contents are bytes.\n const sequence = combineByteSequences(bytes)\n\n return sequence.buffer\n }\n case 'BinaryString': {\n // Return bytes as a binary string, in which every byte\n // is represented by a code unit of equal value [0..255].\n let binaryString = ''\n\n const decoder = new StringDecoder('latin1')\n\n for (const chunk of bytes) {\n binaryString += decoder.write(chunk)\n }\n\n binaryString += decoder.end()\n\n return binaryString\n }\n }\n}\n\n/**\n * @see https://encoding.spec.whatwg.org/#decode\n * @param {Uint8Array[]} ioQueue\n * @param {string} encoding\n */\nfunction decode (ioQueue, encoding) {\n const bytes = combineByteSequences(ioQueue)\n\n // 1. Let BOMEncoding be the result of BOM sniffing ioQueue.\n const BOMEncoding = BOMSniffing(bytes)\n\n let slice = 0\n\n // 2. If BOMEncoding is non-null:\n if (BOMEncoding !== null) {\n // 1. Set encoding to BOMEncoding.\n encoding = BOMEncoding\n\n // 2. Read three bytes from ioQueue, if BOMEncoding is\n // UTF-8; otherwise read two bytes.\n // (Do nothing with those bytes.)\n slice = BOMEncoding === 'UTF-8' ? 3 : 2\n }\n\n // 3. Process a queue with an instance of encoding’s\n // decoder, ioQueue, output, and \"replacement\".\n\n // 4. Return output.\n\n const sliced = bytes.slice(slice)\n return new TextDecoder(encoding).decode(sliced)\n}\n\n/**\n * @see https://encoding.spec.whatwg.org/#bom-sniff\n * @param {Uint8Array} ioQueue\n */\nfunction BOMSniffing (ioQueue) {\n // 1. Let BOM be the result of peeking 3 bytes from ioQueue,\n // converted to a byte sequence.\n const [a, b, c] = ioQueue\n\n // 2. For each of the rows in the table below, starting with\n // the first one and going down, if BOM starts with the\n // bytes given in the first column, then return the\n // encoding given in the cell in the second column of that\n // row. Otherwise, return null.\n if (a === 0xEF && b === 0xBB && c === 0xBF) {\n return 'UTF-8'\n } else if (a === 0xFE && b === 0xFF) {\n return 'UTF-16BE'\n } else if (a === 0xFF && b === 0xFE) {\n return 'UTF-16LE'\n }\n\n return null\n}\n\n/**\n * @param {Uint8Array[]} sequences\n */\nfunction combineByteSequences (sequences) {\n const size = sequences.reduce((a, b) => {\n return a + b.byteLength\n }, 0)\n\n let offset = 0\n\n return sequences.reduce((a, b) => {\n a.set(b, offset)\n offset += b.byteLength\n return a\n }, new Uint8Array(size))\n}\n\nmodule.exports = {\n staticPropertyDescriptors,\n readOperation,\n fireAProgressEvent\n}\n","'use strict'\n\nconst { uid, states, sentCloseFrameState, emptyBuffer, opcodes } = require('./constants')\nconst {\n kReadyState,\n kSentClose,\n kByteParser,\n kReceivedClose,\n kResponse\n} = require('./symbols')\nconst { fireEvent, failWebsocketConnection, isClosing, isClosed, isEstablished, parseExtensions } = require('./util')\nconst { channels } = require('../../core/diagnostics')\nconst { CloseEvent } = require('./events')\nconst { makeRequest } = require('../fetch/request')\nconst { fetching } = require('../fetch/index')\nconst { Headers, getHeadersList } = require('../fetch/headers')\nconst { getDecodeSplit } = require('../fetch/util')\nconst { WebsocketFrameSend } = require('./frame')\n\n/** @type {import('crypto')} */\nlet crypto\ntry {\n crypto = require('node:crypto')\n/* c8 ignore next 3 */\n} catch {\n\n}\n\n/**\n * @see https://websockets.spec.whatwg.org/#concept-websocket-establish\n * @param {URL} url\n * @param {string|string[]} protocols\n * @param {import('./websocket').WebSocket} ws\n * @param {(response: any, extensions: string[] | undefined) => void} onEstablish\n * @param {Partial} options\n */\nfunction establishWebSocketConnection (url, protocols, client, ws, onEstablish, options) {\n // 1. Let requestURL be a copy of url, with its scheme set to \"http\", if url’s\n // scheme is \"ws\", and to \"https\" otherwise.\n const requestURL = url\n\n requestURL.protocol = url.protocol === 'ws:' ? 'http:' : 'https:'\n\n // 2. Let request be a new request, whose URL is requestURL, client is client,\n // service-workers mode is \"none\", referrer is \"no-referrer\", mode is\n // \"websocket\", credentials mode is \"include\", cache mode is \"no-store\" ,\n // and redirect mode is \"error\".\n const request = makeRequest({\n urlList: [requestURL],\n client,\n serviceWorkers: 'none',\n referrer: 'no-referrer',\n mode: 'websocket',\n credentials: 'include',\n cache: 'no-store',\n redirect: 'error'\n })\n\n // Note: undici extension, allow setting custom headers.\n if (options.headers) {\n const headersList = getHeadersList(new Headers(options.headers))\n\n request.headersList = headersList\n }\n\n // 3. Append (`Upgrade`, `websocket`) to request’s header list.\n // 4. Append (`Connection`, `Upgrade`) to request’s header list.\n // Note: both of these are handled by undici currently.\n // https://github.com/nodejs/undici/blob/68c269c4144c446f3f1220951338daef4a6b5ec4/lib/client.js#L1397\n\n // 5. Let keyValue be a nonce consisting of a randomly selected\n // 16-byte value that has been forgiving-base64-encoded and\n // isomorphic encoded.\n const keyValue = crypto.randomBytes(16).toString('base64')\n\n // 6. Append (`Sec-WebSocket-Key`, keyValue) to request’s\n // header list.\n request.headersList.append('sec-websocket-key', keyValue)\n\n // 7. Append (`Sec-WebSocket-Version`, `13`) to request’s\n // header list.\n request.headersList.append('sec-websocket-version', '13')\n\n // 8. For each protocol in protocols, combine\n // (`Sec-WebSocket-Protocol`, protocol) in request’s header\n // list.\n for (const protocol of protocols) {\n request.headersList.append('sec-websocket-protocol', protocol)\n }\n\n // 9. Let permessageDeflate be a user-agent defined\n // \"permessage-deflate\" extension header value.\n // https://github.com/mozilla/gecko-dev/blob/ce78234f5e653a5d3916813ff990f053510227bc/netwerk/protocol/websocket/WebSocketChannel.cpp#L2673\n const permessageDeflate = 'permessage-deflate; client_max_window_bits'\n\n // 10. Append (`Sec-WebSocket-Extensions`, permessageDeflate) to\n // request’s header list.\n request.headersList.append('sec-websocket-extensions', permessageDeflate)\n\n // 11. Fetch request with useParallelQueue set to true, and\n // processResponse given response being these steps:\n const controller = fetching({\n request,\n useParallelQueue: true,\n dispatcher: options.dispatcher,\n processResponse (response) {\n // 1. If response is a network error or its status is not 101,\n // fail the WebSocket connection.\n if (response.type === 'error' || response.status !== 101) {\n failWebsocketConnection(ws, 'Received network error or non-101 status code.')\n return\n }\n\n // 2. If protocols is not the empty list and extracting header\n // list values given `Sec-WebSocket-Protocol` and response’s\n // header list results in null, failure, or the empty byte\n // sequence, then fail the WebSocket connection.\n if (protocols.length !== 0 && !response.headersList.get('Sec-WebSocket-Protocol')) {\n failWebsocketConnection(ws, 'Server did not respond with sent protocols.')\n return\n }\n\n // 3. Follow the requirements stated step 2 to step 6, inclusive,\n // of the last set of steps in section 4.1 of The WebSocket\n // Protocol to validate response. This either results in fail\n // the WebSocket connection or the WebSocket connection is\n // established.\n\n // 2. If the response lacks an |Upgrade| header field or the |Upgrade|\n // header field contains a value that is not an ASCII case-\n // insensitive match for the value \"websocket\", the client MUST\n // _Fail the WebSocket Connection_.\n if (response.headersList.get('Upgrade')?.toLowerCase() !== 'websocket') {\n failWebsocketConnection(ws, 'Server did not set Upgrade header to \"websocket\".')\n return\n }\n\n // 3. If the response lacks a |Connection| header field or the\n // |Connection| header field doesn't contain a token that is an\n // ASCII case-insensitive match for the value \"Upgrade\", the client\n // MUST _Fail the WebSocket Connection_.\n if (response.headersList.get('Connection')?.toLowerCase() !== 'upgrade') {\n failWebsocketConnection(ws, 'Server did not set Connection header to \"upgrade\".')\n return\n }\n\n // 4. If the response lacks a |Sec-WebSocket-Accept| header field or\n // the |Sec-WebSocket-Accept| contains a value other than the\n // base64-encoded SHA-1 of the concatenation of the |Sec-WebSocket-\n // Key| (as a string, not base64-decoded) with the string \"258EAFA5-\n // E914-47DA-95CA-C5AB0DC85B11\" but ignoring any leading and\n // trailing whitespace, the client MUST _Fail the WebSocket\n // Connection_.\n const secWSAccept = response.headersList.get('Sec-WebSocket-Accept')\n const digest = crypto.createHash('sha1').update(keyValue + uid).digest('base64')\n if (secWSAccept !== digest) {\n failWebsocketConnection(ws, 'Incorrect hash received in Sec-WebSocket-Accept header.')\n return\n }\n\n // 5. If the response includes a |Sec-WebSocket-Extensions| header\n // field and this header field indicates the use of an extension\n // that was not present in the client's handshake (the server has\n // indicated an extension not requested by the client), the client\n // MUST _Fail the WebSocket Connection_. (The parsing of this\n // header field to determine which extensions are requested is\n // discussed in Section 9.1.)\n const secExtension = response.headersList.get('Sec-WebSocket-Extensions')\n let extensions\n\n if (secExtension !== null) {\n extensions = parseExtensions(secExtension)\n\n if (!extensions.has('permessage-deflate')) {\n failWebsocketConnection(ws, 'Sec-WebSocket-Extensions header does not match.')\n return\n }\n }\n\n // 6. If the response includes a |Sec-WebSocket-Protocol| header field\n // and this header field indicates the use of a subprotocol that was\n // not present in the client's handshake (the server has indicated a\n // subprotocol not requested by the client), the client MUST _Fail\n // the WebSocket Connection_.\n const secProtocol = response.headersList.get('Sec-WebSocket-Protocol')\n\n if (secProtocol !== null) {\n const requestProtocols = getDecodeSplit('sec-websocket-protocol', request.headersList)\n\n // The client can request that the server use a specific subprotocol by\n // including the |Sec-WebSocket-Protocol| field in its handshake. If it\n // is specified, the server needs to include the same field and one of\n // the selected subprotocol values in its response for the connection to\n // be established.\n if (!requestProtocols.includes(secProtocol)) {\n failWebsocketConnection(ws, 'Protocol was not set in the opening handshake.')\n return\n }\n }\n\n response.socket.on('data', onSocketData)\n response.socket.on('close', onSocketClose)\n response.socket.on('error', onSocketError)\n\n if (channels.open.hasSubscribers) {\n channels.open.publish({\n address: response.socket.address(),\n protocol: secProtocol,\n extensions: secExtension\n })\n }\n\n onEstablish(response, extensions)\n }\n })\n\n return controller\n}\n\nfunction closeWebSocketConnection (ws, code, reason, reasonByteLength) {\n if (isClosing(ws) || isClosed(ws)) {\n // If this's ready state is CLOSING (2) or CLOSED (3)\n // Do nothing.\n } else if (!isEstablished(ws)) {\n // If the WebSocket connection is not yet established\n // Fail the WebSocket connection and set this's ready state\n // to CLOSING (2).\n failWebsocketConnection(ws, 'Connection was closed before it was established.')\n ws[kReadyState] = states.CLOSING\n } else if (ws[kSentClose] === sentCloseFrameState.NOT_SENT) {\n // If the WebSocket closing handshake has not yet been started\n // Start the WebSocket closing handshake and set this's ready\n // state to CLOSING (2).\n // - If neither code nor reason is present, the WebSocket Close\n // message must not have a body.\n // - If code is present, then the status code to use in the\n // WebSocket Close message must be the integer given by code.\n // - If reason is also present, then reasonBytes must be\n // provided in the Close message after the status code.\n\n ws[kSentClose] = sentCloseFrameState.PROCESSING\n\n const frame = new WebsocketFrameSend()\n\n // If neither code nor reason is present, the WebSocket Close\n // message must not have a body.\n\n // If code is present, then the status code to use in the\n // WebSocket Close message must be the integer given by code.\n if (code !== undefined && reason === undefined) {\n frame.frameData = Buffer.allocUnsafe(2)\n frame.frameData.writeUInt16BE(code, 0)\n } else if (code !== undefined && reason !== undefined) {\n // If reason is also present, then reasonBytes must be\n // provided in the Close message after the status code.\n frame.frameData = Buffer.allocUnsafe(2 + reasonByteLength)\n frame.frameData.writeUInt16BE(code, 0)\n // the body MAY contain UTF-8-encoded data with value /reason/\n frame.frameData.write(reason, 2, 'utf-8')\n } else {\n frame.frameData = emptyBuffer\n }\n\n /** @type {import('stream').Duplex} */\n const socket = ws[kResponse].socket\n\n socket.write(frame.createFrame(opcodes.CLOSE))\n\n ws[kSentClose] = sentCloseFrameState.SENT\n\n // Upon either sending or receiving a Close control frame, it is said\n // that _The WebSocket Closing Handshake is Started_ and that the\n // WebSocket connection is in the CLOSING state.\n ws[kReadyState] = states.CLOSING\n } else {\n // Otherwise\n // Set this's ready state to CLOSING (2).\n ws[kReadyState] = states.CLOSING\n }\n}\n\n/**\n * @param {Buffer} chunk\n */\nfunction onSocketData (chunk) {\n if (!this.ws[kByteParser].write(chunk)) {\n this.pause()\n }\n}\n\n/**\n * @see https://websockets.spec.whatwg.org/#feedback-from-the-protocol\n * @see https://datatracker.ietf.org/doc/html/rfc6455#section-7.1.4\n */\nfunction onSocketClose () {\n const { ws } = this\n const { [kResponse]: response } = ws\n\n response.socket.off('data', onSocketData)\n response.socket.off('close', onSocketClose)\n response.socket.off('error', onSocketError)\n\n // If the TCP connection was closed after the\n // WebSocket closing handshake was completed, the WebSocket connection\n // is said to have been closed _cleanly_.\n const wasClean = ws[kSentClose] === sentCloseFrameState.SENT && ws[kReceivedClose]\n\n let code = 1005\n let reason = ''\n\n const result = ws[kByteParser].closingInfo\n\n if (result && !result.error) {\n code = result.code ?? 1005\n reason = result.reason\n } else if (!ws[kReceivedClose]) {\n // If _The WebSocket\n // Connection is Closed_ and no Close control frame was received by the\n // endpoint (such as could occur if the underlying transport connection\n // is lost), _The WebSocket Connection Close Code_ is considered to be\n // 1006.\n code = 1006\n }\n\n // 1. Change the ready state to CLOSED (3).\n ws[kReadyState] = states.CLOSED\n\n // 2. If the user agent was required to fail the WebSocket\n // connection, or if the WebSocket connection was closed\n // after being flagged as full, fire an event named error\n // at the WebSocket object.\n // TODO\n\n // 3. Fire an event named close at the WebSocket object,\n // using CloseEvent, with the wasClean attribute\n // initialized to true if the connection closed cleanly\n // and false otherwise, the code attribute initialized to\n // the WebSocket connection close code, and the reason\n // attribute initialized to the result of applying UTF-8\n // decode without BOM to the WebSocket connection close\n // reason.\n // TODO: process.nextTick\n fireEvent('close', ws, (type, init) => new CloseEvent(type, init), {\n wasClean, code, reason\n })\n\n if (channels.close.hasSubscribers) {\n channels.close.publish({\n websocket: ws,\n code,\n reason\n })\n }\n}\n\nfunction onSocketError (error) {\n const { ws } = this\n\n ws[kReadyState] = states.CLOSING\n\n if (channels.socketError.hasSubscribers) {\n channels.socketError.publish(error)\n }\n\n this.destroy()\n}\n\nmodule.exports = {\n establishWebSocketConnection,\n closeWebSocketConnection\n}\n","'use strict'\n\n// This is a Globally Unique Identifier unique used\n// to validate that the endpoint accepts websocket\n// connections.\n// See https://www.rfc-editor.org/rfc/rfc6455.html#section-1.3\nconst uid = '258EAFA5-E914-47DA-95CA-C5AB0DC85B11'\n\n/** @type {PropertyDescriptor} */\nconst staticPropertyDescriptors = {\n enumerable: true,\n writable: false,\n configurable: false\n}\n\nconst states = {\n CONNECTING: 0,\n OPEN: 1,\n CLOSING: 2,\n CLOSED: 3\n}\n\nconst sentCloseFrameState = {\n NOT_SENT: 0,\n PROCESSING: 1,\n SENT: 2\n}\n\nconst opcodes = {\n CONTINUATION: 0x0,\n TEXT: 0x1,\n BINARY: 0x2,\n CLOSE: 0x8,\n PING: 0x9,\n PONG: 0xA\n}\n\nconst maxUnsigned16Bit = 2 ** 16 - 1 // 65535\n\nconst parserStates = {\n INFO: 0,\n PAYLOADLENGTH_16: 2,\n PAYLOADLENGTH_64: 3,\n READ_DATA: 4\n}\n\nconst emptyBuffer = Buffer.allocUnsafe(0)\n\nconst sendHints = {\n string: 1,\n typedArray: 2,\n arrayBuffer: 3,\n blob: 4\n}\n\nmodule.exports = {\n uid,\n sentCloseFrameState,\n staticPropertyDescriptors,\n states,\n opcodes,\n maxUnsigned16Bit,\n parserStates,\n emptyBuffer,\n sendHints\n}\n","'use strict'\n\nconst { webidl } = require('../fetch/webidl')\nconst { kEnumerableProperty } = require('../../core/util')\nconst { kConstruct } = require('../../core/symbols')\nconst { MessagePort } = require('node:worker_threads')\n\n/**\n * @see https://html.spec.whatwg.org/multipage/comms.html#messageevent\n */\nclass MessageEvent extends Event {\n #eventInit\n\n constructor (type, eventInitDict = {}) {\n if (type === kConstruct) {\n super(arguments[1], arguments[2])\n webidl.util.markAsUncloneable(this)\n return\n }\n\n const prefix = 'MessageEvent constructor'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n type = webidl.converters.DOMString(type, prefix, 'type')\n eventInitDict = webidl.converters.MessageEventInit(eventInitDict, prefix, 'eventInitDict')\n\n super(type, eventInitDict)\n\n this.#eventInit = eventInitDict\n webidl.util.markAsUncloneable(this)\n }\n\n get data () {\n webidl.brandCheck(this, MessageEvent)\n\n return this.#eventInit.data\n }\n\n get origin () {\n webidl.brandCheck(this, MessageEvent)\n\n return this.#eventInit.origin\n }\n\n get lastEventId () {\n webidl.brandCheck(this, MessageEvent)\n\n return this.#eventInit.lastEventId\n }\n\n get source () {\n webidl.brandCheck(this, MessageEvent)\n\n return this.#eventInit.source\n }\n\n get ports () {\n webidl.brandCheck(this, MessageEvent)\n\n if (!Object.isFrozen(this.#eventInit.ports)) {\n Object.freeze(this.#eventInit.ports)\n }\n\n return this.#eventInit.ports\n }\n\n initMessageEvent (\n type,\n bubbles = false,\n cancelable = false,\n data = null,\n origin = '',\n lastEventId = '',\n source = null,\n ports = []\n ) {\n webidl.brandCheck(this, MessageEvent)\n\n webidl.argumentLengthCheck(arguments, 1, 'MessageEvent.initMessageEvent')\n\n return new MessageEvent(type, {\n bubbles, cancelable, data, origin, lastEventId, source, ports\n })\n }\n\n static createFastMessageEvent (type, init) {\n const messageEvent = new MessageEvent(kConstruct, type, init)\n messageEvent.#eventInit = init\n messageEvent.#eventInit.data ??= null\n messageEvent.#eventInit.origin ??= ''\n messageEvent.#eventInit.lastEventId ??= ''\n messageEvent.#eventInit.source ??= null\n messageEvent.#eventInit.ports ??= []\n return messageEvent\n }\n}\n\nconst { createFastMessageEvent } = MessageEvent\ndelete MessageEvent.createFastMessageEvent\n\n/**\n * @see https://websockets.spec.whatwg.org/#the-closeevent-interface\n */\nclass CloseEvent extends Event {\n #eventInit\n\n constructor (type, eventInitDict = {}) {\n const prefix = 'CloseEvent constructor'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n type = webidl.converters.DOMString(type, prefix, 'type')\n eventInitDict = webidl.converters.CloseEventInit(eventInitDict)\n\n super(type, eventInitDict)\n\n this.#eventInit = eventInitDict\n webidl.util.markAsUncloneable(this)\n }\n\n get wasClean () {\n webidl.brandCheck(this, CloseEvent)\n\n return this.#eventInit.wasClean\n }\n\n get code () {\n webidl.brandCheck(this, CloseEvent)\n\n return this.#eventInit.code\n }\n\n get reason () {\n webidl.brandCheck(this, CloseEvent)\n\n return this.#eventInit.reason\n }\n}\n\n// https://html.spec.whatwg.org/multipage/webappapis.html#the-errorevent-interface\nclass ErrorEvent extends Event {\n #eventInit\n\n constructor (type, eventInitDict) {\n const prefix = 'ErrorEvent constructor'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n super(type, eventInitDict)\n webidl.util.markAsUncloneable(this)\n\n type = webidl.converters.DOMString(type, prefix, 'type')\n eventInitDict = webidl.converters.ErrorEventInit(eventInitDict ?? {})\n\n this.#eventInit = eventInitDict\n }\n\n get message () {\n webidl.brandCheck(this, ErrorEvent)\n\n return this.#eventInit.message\n }\n\n get filename () {\n webidl.brandCheck(this, ErrorEvent)\n\n return this.#eventInit.filename\n }\n\n get lineno () {\n webidl.brandCheck(this, ErrorEvent)\n\n return this.#eventInit.lineno\n }\n\n get colno () {\n webidl.brandCheck(this, ErrorEvent)\n\n return this.#eventInit.colno\n }\n\n get error () {\n webidl.brandCheck(this, ErrorEvent)\n\n return this.#eventInit.error\n }\n}\n\nObject.defineProperties(MessageEvent.prototype, {\n [Symbol.toStringTag]: {\n value: 'MessageEvent',\n configurable: true\n },\n data: kEnumerableProperty,\n origin: kEnumerableProperty,\n lastEventId: kEnumerableProperty,\n source: kEnumerableProperty,\n ports: kEnumerableProperty,\n initMessageEvent: kEnumerableProperty\n})\n\nObject.defineProperties(CloseEvent.prototype, {\n [Symbol.toStringTag]: {\n value: 'CloseEvent',\n configurable: true\n },\n reason: kEnumerableProperty,\n code: kEnumerableProperty,\n wasClean: kEnumerableProperty\n})\n\nObject.defineProperties(ErrorEvent.prototype, {\n [Symbol.toStringTag]: {\n value: 'ErrorEvent',\n configurable: true\n },\n message: kEnumerableProperty,\n filename: kEnumerableProperty,\n lineno: kEnumerableProperty,\n colno: kEnumerableProperty,\n error: kEnumerableProperty\n})\n\nwebidl.converters.MessagePort = webidl.interfaceConverter(MessagePort)\n\nwebidl.converters['sequence'] = webidl.sequenceConverter(\n webidl.converters.MessagePort\n)\n\nconst eventInit = [\n {\n key: 'bubbles',\n converter: webidl.converters.boolean,\n defaultValue: () => false\n },\n {\n key: 'cancelable',\n converter: webidl.converters.boolean,\n defaultValue: () => false\n },\n {\n key: 'composed',\n converter: webidl.converters.boolean,\n defaultValue: () => false\n }\n]\n\nwebidl.converters.MessageEventInit = webidl.dictionaryConverter([\n ...eventInit,\n {\n key: 'data',\n converter: webidl.converters.any,\n defaultValue: () => null\n },\n {\n key: 'origin',\n converter: webidl.converters.USVString,\n defaultValue: () => ''\n },\n {\n key: 'lastEventId',\n converter: webidl.converters.DOMString,\n defaultValue: () => ''\n },\n {\n key: 'source',\n // Node doesn't implement WindowProxy or ServiceWorker, so the only\n // valid value for source is a MessagePort.\n converter: webidl.nullableConverter(webidl.converters.MessagePort),\n defaultValue: () => null\n },\n {\n key: 'ports',\n converter: webidl.converters['sequence'],\n defaultValue: () => new Array(0)\n }\n])\n\nwebidl.converters.CloseEventInit = webidl.dictionaryConverter([\n ...eventInit,\n {\n key: 'wasClean',\n converter: webidl.converters.boolean,\n defaultValue: () => false\n },\n {\n key: 'code',\n converter: webidl.converters['unsigned short'],\n defaultValue: () => 0\n },\n {\n key: 'reason',\n converter: webidl.converters.USVString,\n defaultValue: () => ''\n }\n])\n\nwebidl.converters.ErrorEventInit = webidl.dictionaryConverter([\n ...eventInit,\n {\n key: 'message',\n converter: webidl.converters.DOMString,\n defaultValue: () => ''\n },\n {\n key: 'filename',\n converter: webidl.converters.USVString,\n defaultValue: () => ''\n },\n {\n key: 'lineno',\n converter: webidl.converters['unsigned long'],\n defaultValue: () => 0\n },\n {\n key: 'colno',\n converter: webidl.converters['unsigned long'],\n defaultValue: () => 0\n },\n {\n key: 'error',\n converter: webidl.converters.any\n }\n])\n\nmodule.exports = {\n MessageEvent,\n CloseEvent,\n ErrorEvent,\n createFastMessageEvent\n}\n","'use strict'\n\nconst { maxUnsigned16Bit } = require('./constants')\n\nconst BUFFER_SIZE = 16386\n\n/** @type {import('crypto')} */\nlet crypto\nlet buffer = null\nlet bufIdx = BUFFER_SIZE\n\ntry {\n crypto = require('node:crypto')\n/* c8 ignore next 3 */\n} catch {\n crypto = {\n // not full compatibility, but minimum.\n randomFillSync: function randomFillSync (buffer, _offset, _size) {\n for (let i = 0; i < buffer.length; ++i) {\n buffer[i] = Math.random() * 255 | 0\n }\n return buffer\n }\n }\n}\n\nfunction generateMask () {\n if (bufIdx === BUFFER_SIZE) {\n bufIdx = 0\n crypto.randomFillSync((buffer ??= Buffer.allocUnsafe(BUFFER_SIZE)), 0, BUFFER_SIZE)\n }\n return [buffer[bufIdx++], buffer[bufIdx++], buffer[bufIdx++], buffer[bufIdx++]]\n}\n\nclass WebsocketFrameSend {\n /**\n * @param {Buffer|undefined} data\n */\n constructor (data) {\n this.frameData = data\n }\n\n createFrame (opcode) {\n const frameData = this.frameData\n const maskKey = generateMask()\n const bodyLength = frameData?.byteLength ?? 0\n\n /** @type {number} */\n let payloadLength = bodyLength // 0-125\n let offset = 6\n\n if (bodyLength > maxUnsigned16Bit) {\n offset += 8 // payload length is next 8 bytes\n payloadLength = 127\n } else if (bodyLength > 125) {\n offset += 2 // payload length is next 2 bytes\n payloadLength = 126\n }\n\n const buffer = Buffer.allocUnsafe(bodyLength + offset)\n\n // Clear first 2 bytes, everything else is overwritten\n buffer[0] = buffer[1] = 0\n buffer[0] |= 0x80 // FIN\n buffer[0] = (buffer[0] & 0xF0) + opcode // opcode\n\n /*! ws. MIT License. Einar Otto Stangvik */\n buffer[offset - 4] = maskKey[0]\n buffer[offset - 3] = maskKey[1]\n buffer[offset - 2] = maskKey[2]\n buffer[offset - 1] = maskKey[3]\n\n buffer[1] = payloadLength\n\n if (payloadLength === 126) {\n buffer.writeUInt16BE(bodyLength, 2)\n } else if (payloadLength === 127) {\n // Clear extended payload length\n buffer[2] = buffer[3] = 0\n buffer.writeUIntBE(bodyLength, 4, 6)\n }\n\n buffer[1] |= 0x80 // MASK\n\n // mask body\n for (let i = 0; i < bodyLength; ++i) {\n buffer[offset + i] = frameData[i] ^ maskKey[i & 3]\n }\n\n return buffer\n }\n}\n\nmodule.exports = {\n WebsocketFrameSend\n}\n","'use strict'\n\nconst { createInflateRaw, Z_DEFAULT_WINDOWBITS } = require('node:zlib')\nconst { isValidClientWindowBits } = require('./util')\n\nconst tail = Buffer.from([0x00, 0x00, 0xff, 0xff])\nconst kBuffer = Symbol('kBuffer')\nconst kLength = Symbol('kLength')\n\nclass PerMessageDeflate {\n /** @type {import('node:zlib').InflateRaw} */\n #inflate\n\n #options = {}\n\n constructor (extensions) {\n this.#options.serverNoContextTakeover = extensions.has('server_no_context_takeover')\n this.#options.serverMaxWindowBits = extensions.get('server_max_window_bits')\n }\n\n decompress (chunk, fin, callback) {\n // An endpoint uses the following algorithm to decompress a message.\n // 1. Append 4 octets of 0x00 0x00 0xff 0xff to the tail end of the\n // payload of the message.\n // 2. Decompress the resulting data using DEFLATE.\n\n if (!this.#inflate) {\n let windowBits = Z_DEFAULT_WINDOWBITS\n\n if (this.#options.serverMaxWindowBits) { // empty values default to Z_DEFAULT_WINDOWBITS\n if (!isValidClientWindowBits(this.#options.serverMaxWindowBits)) {\n callback(new Error('Invalid server_max_window_bits'))\n return\n }\n\n windowBits = Number.parseInt(this.#options.serverMaxWindowBits)\n }\n\n this.#inflate = createInflateRaw({ windowBits })\n this.#inflate[kBuffer] = []\n this.#inflate[kLength] = 0\n\n this.#inflate.on('data', (data) => {\n this.#inflate[kBuffer].push(data)\n this.#inflate[kLength] += data.length\n })\n\n this.#inflate.on('error', (err) => {\n this.#inflate = null\n callback(err)\n })\n }\n\n this.#inflate.write(chunk)\n if (fin) {\n this.#inflate.write(tail)\n }\n\n this.#inflate.flush(() => {\n const full = Buffer.concat(this.#inflate[kBuffer], this.#inflate[kLength])\n\n this.#inflate[kBuffer].length = 0\n this.#inflate[kLength] = 0\n\n callback(null, full)\n })\n }\n}\n\nmodule.exports = { PerMessageDeflate }\n","'use strict'\n\nconst { Writable } = require('node:stream')\nconst assert = require('node:assert')\nconst { parserStates, opcodes, states, emptyBuffer, sentCloseFrameState } = require('./constants')\nconst { kReadyState, kSentClose, kResponse, kReceivedClose } = require('./symbols')\nconst { channels } = require('../../core/diagnostics')\nconst {\n isValidStatusCode,\n isValidOpcode,\n failWebsocketConnection,\n websocketMessageReceived,\n utf8Decode,\n isControlFrame,\n isTextBinaryFrame,\n isContinuationFrame\n} = require('./util')\nconst { WebsocketFrameSend } = require('./frame')\nconst { closeWebSocketConnection } = require('./connection')\nconst { PerMessageDeflate } = require('./permessage-deflate')\n\n// This code was influenced by ws released under the MIT license.\n// Copyright (c) 2011 Einar Otto Stangvik \n// Copyright (c) 2013 Arnout Kazemier and contributors\n// Copyright (c) 2016 Luigi Pinca and contributors\n\nclass ByteParser extends Writable {\n #buffers = []\n #byteOffset = 0\n #loop = false\n\n #state = parserStates.INFO\n\n #info = {}\n #fragments = []\n\n /** @type {Map} */\n #extensions\n\n constructor (ws, extensions) {\n super()\n\n this.ws = ws\n this.#extensions = extensions == null ? new Map() : extensions\n\n if (this.#extensions.has('permessage-deflate')) {\n this.#extensions.set('permessage-deflate', new PerMessageDeflate(extensions))\n }\n }\n\n /**\n * @param {Buffer} chunk\n * @param {() => void} callback\n */\n _write (chunk, _, callback) {\n this.#buffers.push(chunk)\n this.#byteOffset += chunk.length\n this.#loop = true\n\n this.run(callback)\n }\n\n /**\n * Runs whenever a new chunk is received.\n * Callback is called whenever there are no more chunks buffering,\n * or not enough bytes are buffered to parse.\n */\n run (callback) {\n while (this.#loop) {\n if (this.#state === parserStates.INFO) {\n // If there aren't enough bytes to parse the payload length, etc.\n if (this.#byteOffset < 2) {\n return callback()\n }\n\n const buffer = this.consume(2)\n const fin = (buffer[0] & 0x80) !== 0\n const opcode = buffer[0] & 0x0F\n const masked = (buffer[1] & 0x80) === 0x80\n\n const fragmented = !fin && opcode !== opcodes.CONTINUATION\n const payloadLength = buffer[1] & 0x7F\n\n const rsv1 = buffer[0] & 0x40\n const rsv2 = buffer[0] & 0x20\n const rsv3 = buffer[0] & 0x10\n\n if (!isValidOpcode(opcode)) {\n failWebsocketConnection(this.ws, 'Invalid opcode received')\n return callback()\n }\n\n if (masked) {\n failWebsocketConnection(this.ws, 'Frame cannot be masked')\n return callback()\n }\n\n // MUST be 0 unless an extension is negotiated that defines meanings\n // for non-zero values. If a nonzero value is received and none of\n // the negotiated extensions defines the meaning of such a nonzero\n // value, the receiving endpoint MUST _Fail the WebSocket\n // Connection_.\n // This document allocates the RSV1 bit of the WebSocket header for\n // PMCEs and calls the bit the \"Per-Message Compressed\" bit. On a\n // WebSocket connection where a PMCE is in use, this bit indicates\n // whether a message is compressed or not.\n if (rsv1 !== 0 && !this.#extensions.has('permessage-deflate')) {\n failWebsocketConnection(this.ws, 'Expected RSV1 to be clear.')\n return\n }\n\n if (rsv2 !== 0 || rsv3 !== 0) {\n failWebsocketConnection(this.ws, 'RSV1, RSV2, RSV3 must be clear')\n return\n }\n\n if (fragmented && !isTextBinaryFrame(opcode)) {\n // Only text and binary frames can be fragmented\n failWebsocketConnection(this.ws, 'Invalid frame type was fragmented.')\n return\n }\n\n // If we are already parsing a text/binary frame and do not receive either\n // a continuation frame or close frame, fail the connection.\n if (isTextBinaryFrame(opcode) && this.#fragments.length > 0) {\n failWebsocketConnection(this.ws, 'Expected continuation frame')\n return\n }\n\n if (this.#info.fragmented && fragmented) {\n // A fragmented frame can't be fragmented itself\n failWebsocketConnection(this.ws, 'Fragmented frame exceeded 125 bytes.')\n return\n }\n\n // \"All control frames MUST have a payload length of 125 bytes or less\n // and MUST NOT be fragmented.\"\n if ((payloadLength > 125 || fragmented) && isControlFrame(opcode)) {\n failWebsocketConnection(this.ws, 'Control frame either too large or fragmented')\n return\n }\n\n if (isContinuationFrame(opcode) && this.#fragments.length === 0 && !this.#info.compressed) {\n failWebsocketConnection(this.ws, 'Unexpected continuation frame')\n return\n }\n\n if (payloadLength <= 125) {\n this.#info.payloadLength = payloadLength\n this.#state = parserStates.READ_DATA\n } else if (payloadLength === 126) {\n this.#state = parserStates.PAYLOADLENGTH_16\n } else if (payloadLength === 127) {\n this.#state = parserStates.PAYLOADLENGTH_64\n }\n\n if (isTextBinaryFrame(opcode)) {\n this.#info.binaryType = opcode\n this.#info.compressed = rsv1 !== 0\n }\n\n this.#info.opcode = opcode\n this.#info.masked = masked\n this.#info.fin = fin\n this.#info.fragmented = fragmented\n } else if (this.#state === parserStates.PAYLOADLENGTH_16) {\n if (this.#byteOffset < 2) {\n return callback()\n }\n\n const buffer = this.consume(2)\n\n this.#info.payloadLength = buffer.readUInt16BE(0)\n this.#state = parserStates.READ_DATA\n } else if (this.#state === parserStates.PAYLOADLENGTH_64) {\n if (this.#byteOffset < 8) {\n return callback()\n }\n\n const buffer = this.consume(8)\n const upper = buffer.readUInt32BE(0)\n\n // 2^31 is the maximum bytes an arraybuffer can contain\n // on 32-bit systems. Although, on 64-bit systems, this is\n // 2^53-1 bytes.\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Invalid_array_length\n // https://source.chromium.org/chromium/chromium/src/+/main:v8/src/common/globals.h;drc=1946212ac0100668f14eb9e2843bdd846e510a1e;bpv=1;bpt=1;l=1275\n // https://source.chromium.org/chromium/chromium/src/+/main:v8/src/objects/js-array-buffer.h;l=34;drc=1946212ac0100668f14eb9e2843bdd846e510a1e\n if (upper > 2 ** 31 - 1) {\n failWebsocketConnection(this.ws, 'Received payload length > 2^31 bytes.')\n return\n }\n\n const lower = buffer.readUInt32BE(4)\n\n this.#info.payloadLength = (upper << 8) + lower\n this.#state = parserStates.READ_DATA\n } else if (this.#state === parserStates.READ_DATA) {\n if (this.#byteOffset < this.#info.payloadLength) {\n return callback()\n }\n\n const body = this.consume(this.#info.payloadLength)\n\n if (isControlFrame(this.#info.opcode)) {\n this.#loop = this.parseControlFrame(body)\n this.#state = parserStates.INFO\n } else {\n if (!this.#info.compressed) {\n this.#fragments.push(body)\n\n // If the frame is not fragmented, a message has been received.\n // If the frame is fragmented, it will terminate with a fin bit set\n // and an opcode of 0 (continuation), therefore we handle that when\n // parsing continuation frames, not here.\n if (!this.#info.fragmented && this.#info.fin) {\n const fullMessage = Buffer.concat(this.#fragments)\n websocketMessageReceived(this.ws, this.#info.binaryType, fullMessage)\n this.#fragments.length = 0\n }\n\n this.#state = parserStates.INFO\n } else {\n this.#extensions.get('permessage-deflate').decompress(body, this.#info.fin, (error, data) => {\n if (error) {\n closeWebSocketConnection(this.ws, 1007, error.message, error.message.length)\n return\n }\n\n this.#fragments.push(data)\n\n if (!this.#info.fin) {\n this.#state = parserStates.INFO\n this.#loop = true\n this.run(callback)\n return\n }\n\n websocketMessageReceived(this.ws, this.#info.binaryType, Buffer.concat(this.#fragments))\n\n this.#loop = true\n this.#state = parserStates.INFO\n this.#fragments.length = 0\n this.run(callback)\n })\n\n this.#loop = false\n break\n }\n }\n }\n }\n }\n\n /**\n * Take n bytes from the buffered Buffers\n * @param {number} n\n * @returns {Buffer}\n */\n consume (n) {\n if (n > this.#byteOffset) {\n throw new Error('Called consume() before buffers satiated.')\n } else if (n === 0) {\n return emptyBuffer\n }\n\n if (this.#buffers[0].length === n) {\n this.#byteOffset -= this.#buffers[0].length\n return this.#buffers.shift()\n }\n\n const buffer = Buffer.allocUnsafe(n)\n let offset = 0\n\n while (offset !== n) {\n const next = this.#buffers[0]\n const { length } = next\n\n if (length + offset === n) {\n buffer.set(this.#buffers.shift(), offset)\n break\n } else if (length + offset > n) {\n buffer.set(next.subarray(0, n - offset), offset)\n this.#buffers[0] = next.subarray(n - offset)\n break\n } else {\n buffer.set(this.#buffers.shift(), offset)\n offset += next.length\n }\n }\n\n this.#byteOffset -= n\n\n return buffer\n }\n\n parseCloseBody (data) {\n assert(data.length !== 1)\n\n // https://datatracker.ietf.org/doc/html/rfc6455#section-7.1.5\n /** @type {number|undefined} */\n let code\n\n if (data.length >= 2) {\n // _The WebSocket Connection Close Code_ is\n // defined as the status code (Section 7.4) contained in the first Close\n // control frame received by the application\n code = data.readUInt16BE(0)\n }\n\n if (code !== undefined && !isValidStatusCode(code)) {\n return { code: 1002, reason: 'Invalid status code', error: true }\n }\n\n // https://datatracker.ietf.org/doc/html/rfc6455#section-7.1.6\n /** @type {Buffer} */\n let reason = data.subarray(2)\n\n // Remove BOM\n if (reason[0] === 0xEF && reason[1] === 0xBB && reason[2] === 0xBF) {\n reason = reason.subarray(3)\n }\n\n try {\n reason = utf8Decode(reason)\n } catch {\n return { code: 1007, reason: 'Invalid UTF-8', error: true }\n }\n\n return { code, reason, error: false }\n }\n\n /**\n * Parses control frames.\n * @param {Buffer} body\n */\n parseControlFrame (body) {\n const { opcode, payloadLength } = this.#info\n\n if (opcode === opcodes.CLOSE) {\n if (payloadLength === 1) {\n failWebsocketConnection(this.ws, 'Received close frame with a 1-byte body.')\n return false\n }\n\n this.#info.closeInfo = this.parseCloseBody(body)\n\n if (this.#info.closeInfo.error) {\n const { code, reason } = this.#info.closeInfo\n\n closeWebSocketConnection(this.ws, code, reason, reason.length)\n failWebsocketConnection(this.ws, reason)\n return false\n }\n\n if (this.ws[kSentClose] !== sentCloseFrameState.SENT) {\n // If an endpoint receives a Close frame and did not previously send a\n // Close frame, the endpoint MUST send a Close frame in response. (When\n // sending a Close frame in response, the endpoint typically echos the\n // status code it received.)\n let body = emptyBuffer\n if (this.#info.closeInfo.code) {\n body = Buffer.allocUnsafe(2)\n body.writeUInt16BE(this.#info.closeInfo.code, 0)\n }\n const closeFrame = new WebsocketFrameSend(body)\n\n this.ws[kResponse].socket.write(\n closeFrame.createFrame(opcodes.CLOSE),\n (err) => {\n if (!err) {\n this.ws[kSentClose] = sentCloseFrameState.SENT\n }\n }\n )\n }\n\n // Upon either sending or receiving a Close control frame, it is said\n // that _The WebSocket Closing Handshake is Started_ and that the\n // WebSocket connection is in the CLOSING state.\n this.ws[kReadyState] = states.CLOSING\n this.ws[kReceivedClose] = true\n\n return false\n } else if (opcode === opcodes.PING) {\n // Upon receipt of a Ping frame, an endpoint MUST send a Pong frame in\n // response, unless it already received a Close frame.\n // A Pong frame sent in response to a Ping frame must have identical\n // \"Application data\"\n\n if (!this.ws[kReceivedClose]) {\n const frame = new WebsocketFrameSend(body)\n\n this.ws[kResponse].socket.write(frame.createFrame(opcodes.PONG))\n\n if (channels.ping.hasSubscribers) {\n channels.ping.publish({\n payload: body\n })\n }\n }\n } else if (opcode === opcodes.PONG) {\n // A Pong frame MAY be sent unsolicited. This serves as a\n // unidirectional heartbeat. A response to an unsolicited Pong frame is\n // not expected.\n\n if (channels.pong.hasSubscribers) {\n channels.pong.publish({\n payload: body\n })\n }\n }\n\n return true\n }\n\n get closingInfo () {\n return this.#info.closeInfo\n }\n}\n\nmodule.exports = {\n ByteParser\n}\n","'use strict'\n\nconst { WebsocketFrameSend } = require('./frame')\nconst { opcodes, sendHints } = require('./constants')\nconst FixedQueue = require('../../dispatcher/fixed-queue')\n\n/** @type {typeof Uint8Array} */\nconst FastBuffer = Buffer[Symbol.species]\n\n/**\n * @typedef {object} SendQueueNode\n * @property {Promise | null} promise\n * @property {((...args: any[]) => any)} callback\n * @property {Buffer | null} frame\n */\n\nclass SendQueue {\n /**\n * @type {FixedQueue}\n */\n #queue = new FixedQueue()\n\n /**\n * @type {boolean}\n */\n #running = false\n\n /** @type {import('node:net').Socket} */\n #socket\n\n constructor (socket) {\n this.#socket = socket\n }\n\n add (item, cb, hint) {\n if (hint !== sendHints.blob) {\n const frame = createFrame(item, hint)\n if (!this.#running) {\n // fast-path\n this.#socket.write(frame, cb)\n } else {\n /** @type {SendQueueNode} */\n const node = {\n promise: null,\n callback: cb,\n frame\n }\n this.#queue.push(node)\n }\n return\n }\n\n /** @type {SendQueueNode} */\n const node = {\n promise: item.arrayBuffer().then((ab) => {\n node.promise = null\n node.frame = createFrame(ab, hint)\n }),\n callback: cb,\n frame: null\n }\n\n this.#queue.push(node)\n\n if (!this.#running) {\n this.#run()\n }\n }\n\n async #run () {\n this.#running = true\n const queue = this.#queue\n while (!queue.isEmpty()) {\n const node = queue.shift()\n // wait pending promise\n if (node.promise !== null) {\n await node.promise\n }\n // write\n this.#socket.write(node.frame, node.callback)\n // cleanup\n node.callback = node.frame = null\n }\n this.#running = false\n }\n}\n\nfunction createFrame (data, hint) {\n return new WebsocketFrameSend(toBuffer(data, hint)).createFrame(hint === sendHints.string ? opcodes.TEXT : opcodes.BINARY)\n}\n\nfunction toBuffer (data, hint) {\n switch (hint) {\n case sendHints.string:\n return Buffer.from(data)\n case sendHints.arrayBuffer:\n case sendHints.blob:\n return new FastBuffer(data)\n case sendHints.typedArray:\n return new FastBuffer(data.buffer, data.byteOffset, data.byteLength)\n }\n}\n\nmodule.exports = { SendQueue }\n","'use strict'\n\nmodule.exports = {\n kWebSocketURL: Symbol('url'),\n kReadyState: Symbol('ready state'),\n kController: Symbol('controller'),\n kResponse: Symbol('response'),\n kBinaryType: Symbol('binary type'),\n kSentClose: Symbol('sent close'),\n kReceivedClose: Symbol('received close'),\n kByteParser: Symbol('byte parser')\n}\n","'use strict'\n\nconst { kReadyState, kController, kResponse, kBinaryType, kWebSocketURL } = require('./symbols')\nconst { states, opcodes } = require('./constants')\nconst { ErrorEvent, createFastMessageEvent } = require('./events')\nconst { isUtf8 } = require('node:buffer')\nconst { collectASequenceOfCodePointsFast, removeHTTPWhitespace } = require('../fetch/data-url')\n\n/* globals Blob */\n\n/**\n * @param {import('./websocket').WebSocket} ws\n * @returns {boolean}\n */\nfunction isConnecting (ws) {\n // If the WebSocket connection is not yet established, and the connection\n // is not yet closed, then the WebSocket connection is in the CONNECTING state.\n return ws[kReadyState] === states.CONNECTING\n}\n\n/**\n * @param {import('./websocket').WebSocket} ws\n * @returns {boolean}\n */\nfunction isEstablished (ws) {\n // If the server's response is validated as provided for above, it is\n // said that _The WebSocket Connection is Established_ and that the\n // WebSocket Connection is in the OPEN state.\n return ws[kReadyState] === states.OPEN\n}\n\n/**\n * @param {import('./websocket').WebSocket} ws\n * @returns {boolean}\n */\nfunction isClosing (ws) {\n // Upon either sending or receiving a Close control frame, it is said\n // that _The WebSocket Closing Handshake is Started_ and that the\n // WebSocket connection is in the CLOSING state.\n return ws[kReadyState] === states.CLOSING\n}\n\n/**\n * @param {import('./websocket').WebSocket} ws\n * @returns {boolean}\n */\nfunction isClosed (ws) {\n return ws[kReadyState] === states.CLOSED\n}\n\n/**\n * @see https://dom.spec.whatwg.org/#concept-event-fire\n * @param {string} e\n * @param {EventTarget} target\n * @param {(...args: ConstructorParameters) => Event} eventFactory\n * @param {EventInit | undefined} eventInitDict\n */\nfunction fireEvent (e, target, eventFactory = (type, init) => new Event(type, init), eventInitDict = {}) {\n // 1. If eventConstructor is not given, then let eventConstructor be Event.\n\n // 2. Let event be the result of creating an event given eventConstructor,\n // in the relevant realm of target.\n // 3. Initialize event’s type attribute to e.\n const event = eventFactory(e, eventInitDict)\n\n // 4. Initialize any other IDL attributes of event as described in the\n // invocation of this algorithm.\n\n // 5. Return the result of dispatching event at target, with legacy target\n // override flag set if set.\n target.dispatchEvent(event)\n}\n\n/**\n * @see https://websockets.spec.whatwg.org/#feedback-from-the-protocol\n * @param {import('./websocket').WebSocket} ws\n * @param {number} type Opcode\n * @param {Buffer} data application data\n */\nfunction websocketMessageReceived (ws, type, data) {\n // 1. If ready state is not OPEN (1), then return.\n if (ws[kReadyState] !== states.OPEN) {\n return\n }\n\n // 2. Let dataForEvent be determined by switching on type and binary type:\n let dataForEvent\n\n if (type === opcodes.TEXT) {\n // -> type indicates that the data is Text\n // a new DOMString containing data\n try {\n dataForEvent = utf8Decode(data)\n } catch {\n failWebsocketConnection(ws, 'Received invalid UTF-8 in text frame.')\n return\n }\n } else if (type === opcodes.BINARY) {\n if (ws[kBinaryType] === 'blob') {\n // -> type indicates that the data is Binary and binary type is \"blob\"\n // a new Blob object, created in the relevant Realm of the WebSocket\n // object, that represents data as its raw data\n dataForEvent = new Blob([data])\n } else {\n // -> type indicates that the data is Binary and binary type is \"arraybuffer\"\n // a new ArrayBuffer object, created in the relevant Realm of the\n // WebSocket object, whose contents are data\n dataForEvent = toArrayBuffer(data)\n }\n }\n\n // 3. Fire an event named message at the WebSocket object, using MessageEvent,\n // with the origin attribute initialized to the serialization of the WebSocket\n // object’s url's origin, and the data attribute initialized to dataForEvent.\n fireEvent('message', ws, createFastMessageEvent, {\n origin: ws[kWebSocketURL].origin,\n data: dataForEvent\n })\n}\n\nfunction toArrayBuffer (buffer) {\n if (buffer.byteLength === buffer.buffer.byteLength) {\n return buffer.buffer\n }\n return buffer.buffer.slice(buffer.byteOffset, buffer.byteOffset + buffer.byteLength)\n}\n\n/**\n * @see https://datatracker.ietf.org/doc/html/rfc6455\n * @see https://datatracker.ietf.org/doc/html/rfc2616\n * @see https://bugs.chromium.org/p/chromium/issues/detail?id=398407\n * @param {string} protocol\n */\nfunction isValidSubprotocol (protocol) {\n // If present, this value indicates one\n // or more comma-separated subprotocol the client wishes to speak,\n // ordered by preference. The elements that comprise this value\n // MUST be non-empty strings with characters in the range U+0021 to\n // U+007E not including separator characters as defined in\n // [RFC2616] and MUST all be unique strings.\n if (protocol.length === 0) {\n return false\n }\n\n for (let i = 0; i < protocol.length; ++i) {\n const code = protocol.charCodeAt(i)\n\n if (\n code < 0x21 || // CTL, contains SP (0x20) and HT (0x09)\n code > 0x7E ||\n code === 0x22 || // \"\n code === 0x28 || // (\n code === 0x29 || // )\n code === 0x2C || // ,\n code === 0x2F || // /\n code === 0x3A || // :\n code === 0x3B || // ;\n code === 0x3C || // <\n code === 0x3D || // =\n code === 0x3E || // >\n code === 0x3F || // ?\n code === 0x40 || // @\n code === 0x5B || // [\n code === 0x5C || // \\\n code === 0x5D || // ]\n code === 0x7B || // {\n code === 0x7D // }\n ) {\n return false\n }\n }\n\n return true\n}\n\n/**\n * @see https://datatracker.ietf.org/doc/html/rfc6455#section-7-4\n * @param {number} code\n */\nfunction isValidStatusCode (code) {\n if (code >= 1000 && code < 1015) {\n return (\n code !== 1004 && // reserved\n code !== 1005 && // \"MUST NOT be set as a status code\"\n code !== 1006 // \"MUST NOT be set as a status code\"\n )\n }\n\n return code >= 3000 && code <= 4999\n}\n\n/**\n * @param {import('./websocket').WebSocket} ws\n * @param {string|undefined} reason\n */\nfunction failWebsocketConnection (ws, reason) {\n const { [kController]: controller, [kResponse]: response } = ws\n\n controller.abort()\n\n if (response?.socket && !response.socket.destroyed) {\n response.socket.destroy()\n }\n\n if (reason) {\n // TODO: process.nextTick\n fireEvent('error', ws, (type, init) => new ErrorEvent(type, init), {\n error: new Error(reason),\n message: reason\n })\n }\n}\n\n/**\n * @see https://datatracker.ietf.org/doc/html/rfc6455#section-5.5\n * @param {number} opcode\n */\nfunction isControlFrame (opcode) {\n return (\n opcode === opcodes.CLOSE ||\n opcode === opcodes.PING ||\n opcode === opcodes.PONG\n )\n}\n\nfunction isContinuationFrame (opcode) {\n return opcode === opcodes.CONTINUATION\n}\n\nfunction isTextBinaryFrame (opcode) {\n return opcode === opcodes.TEXT || opcode === opcodes.BINARY\n}\n\nfunction isValidOpcode (opcode) {\n return isTextBinaryFrame(opcode) || isContinuationFrame(opcode) || isControlFrame(opcode)\n}\n\n/**\n * Parses a Sec-WebSocket-Extensions header value.\n * @param {string} extensions\n * @returns {Map}\n */\n// TODO(@Uzlopak, @KhafraDev): make compliant https://datatracker.ietf.org/doc/html/rfc6455#section-9.1\nfunction parseExtensions (extensions) {\n const position = { position: 0 }\n const extensionList = new Map()\n\n while (position.position < extensions.length) {\n const pair = collectASequenceOfCodePointsFast(';', extensions, position)\n const [name, value = ''] = pair.split('=')\n\n extensionList.set(\n removeHTTPWhitespace(name, true, false),\n removeHTTPWhitespace(value, false, true)\n )\n\n position.position++\n }\n\n return extensionList\n}\n\n/**\n * @see https://www.rfc-editor.org/rfc/rfc7692#section-7.1.2.2\n * @description \"client-max-window-bits = 1*DIGIT\"\n * @param {string} value\n */\nfunction isValidClientWindowBits (value) {\n for (let i = 0; i < value.length; i++) {\n const byte = value.charCodeAt(i)\n\n if (byte < 0x30 || byte > 0x39) {\n return false\n }\n }\n\n return true\n}\n\n// https://nodejs.org/api/intl.html#detecting-internationalization-support\nconst hasIntl = typeof process.versions.icu === 'string'\nconst fatalDecoder = hasIntl ? new TextDecoder('utf-8', { fatal: true }) : undefined\n\n/**\n * Converts a Buffer to utf-8, even on platforms without icu.\n * @param {Buffer} buffer\n */\nconst utf8Decode = hasIntl\n ? fatalDecoder.decode.bind(fatalDecoder)\n : function (buffer) {\n if (isUtf8(buffer)) {\n return buffer.toString('utf-8')\n }\n throw new TypeError('Invalid utf-8 received.')\n }\n\nmodule.exports = {\n isConnecting,\n isEstablished,\n isClosing,\n isClosed,\n fireEvent,\n isValidSubprotocol,\n isValidStatusCode,\n failWebsocketConnection,\n websocketMessageReceived,\n utf8Decode,\n isControlFrame,\n isContinuationFrame,\n isTextBinaryFrame,\n isValidOpcode,\n parseExtensions,\n isValidClientWindowBits\n}\n","'use strict'\n\nconst { webidl } = require('../fetch/webidl')\nconst { URLSerializer } = require('../fetch/data-url')\nconst { environmentSettingsObject } = require('../fetch/util')\nconst { staticPropertyDescriptors, states, sentCloseFrameState, sendHints } = require('./constants')\nconst {\n kWebSocketURL,\n kReadyState,\n kController,\n kBinaryType,\n kResponse,\n kSentClose,\n kByteParser\n} = require('./symbols')\nconst {\n isConnecting,\n isEstablished,\n isClosing,\n isValidSubprotocol,\n fireEvent\n} = require('./util')\nconst { establishWebSocketConnection, closeWebSocketConnection } = require('./connection')\nconst { ByteParser } = require('./receiver')\nconst { kEnumerableProperty, isBlobLike } = require('../../core/util')\nconst { getGlobalDispatcher } = require('../../global')\nconst { types } = require('node:util')\nconst { ErrorEvent, CloseEvent } = require('./events')\nconst { SendQueue } = require('./sender')\n\n// https://websockets.spec.whatwg.org/#interface-definition\nclass WebSocket extends EventTarget {\n #events = {\n open: null,\n error: null,\n close: null,\n message: null\n }\n\n #bufferedAmount = 0\n #protocol = ''\n #extensions = ''\n\n /** @type {SendQueue} */\n #sendQueue\n\n /**\n * @param {string} url\n * @param {string|string[]} protocols\n */\n constructor (url, protocols = []) {\n super()\n\n webidl.util.markAsUncloneable(this)\n\n const prefix = 'WebSocket constructor'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n const options = webidl.converters['DOMString or sequence or WebSocketInit'](protocols, prefix, 'options')\n\n url = webidl.converters.USVString(url, prefix, 'url')\n protocols = options.protocols\n\n // 1. Let baseURL be this's relevant settings object's API base URL.\n const baseURL = environmentSettingsObject.settingsObject.baseUrl\n\n // 1. Let urlRecord be the result of applying the URL parser to url with baseURL.\n let urlRecord\n\n try {\n urlRecord = new URL(url, baseURL)\n } catch (e) {\n // 3. If urlRecord is failure, then throw a \"SyntaxError\" DOMException.\n throw new DOMException(e, 'SyntaxError')\n }\n\n // 4. If urlRecord’s scheme is \"http\", then set urlRecord’s scheme to \"ws\".\n if (urlRecord.protocol === 'http:') {\n urlRecord.protocol = 'ws:'\n } else if (urlRecord.protocol === 'https:') {\n // 5. Otherwise, if urlRecord’s scheme is \"https\", set urlRecord’s scheme to \"wss\".\n urlRecord.protocol = 'wss:'\n }\n\n // 6. If urlRecord’s scheme is not \"ws\" or \"wss\", then throw a \"SyntaxError\" DOMException.\n if (urlRecord.protocol !== 'ws:' && urlRecord.protocol !== 'wss:') {\n throw new DOMException(\n `Expected a ws: or wss: protocol, got ${urlRecord.protocol}`,\n 'SyntaxError'\n )\n }\n\n // 7. If urlRecord’s fragment is non-null, then throw a \"SyntaxError\"\n // DOMException.\n if (urlRecord.hash || urlRecord.href.endsWith('#')) {\n throw new DOMException('Got fragment', 'SyntaxError')\n }\n\n // 8. If protocols is a string, set protocols to a sequence consisting\n // of just that string.\n if (typeof protocols === 'string') {\n protocols = [protocols]\n }\n\n // 9. If any of the values in protocols occur more than once or otherwise\n // fail to match the requirements for elements that comprise the value\n // of `Sec-WebSocket-Protocol` fields as defined by The WebSocket\n // protocol, then throw a \"SyntaxError\" DOMException.\n if (protocols.length !== new Set(protocols.map(p => p.toLowerCase())).size) {\n throw new DOMException('Invalid Sec-WebSocket-Protocol value', 'SyntaxError')\n }\n\n if (protocols.length > 0 && !protocols.every(p => isValidSubprotocol(p))) {\n throw new DOMException('Invalid Sec-WebSocket-Protocol value', 'SyntaxError')\n }\n\n // 10. Set this's url to urlRecord.\n this[kWebSocketURL] = new URL(urlRecord.href)\n\n // 11. Let client be this's relevant settings object.\n const client = environmentSettingsObject.settingsObject\n\n // 12. Run this step in parallel:\n\n // 1. Establish a WebSocket connection given urlRecord, protocols,\n // and client.\n this[kController] = establishWebSocketConnection(\n urlRecord,\n protocols,\n client,\n this,\n (response, extensions) => this.#onConnectionEstablished(response, extensions),\n options\n )\n\n // Each WebSocket object has an associated ready state, which is a\n // number representing the state of the connection. Initially it must\n // be CONNECTING (0).\n this[kReadyState] = WebSocket.CONNECTING\n\n this[kSentClose] = sentCloseFrameState.NOT_SENT\n\n // The extensions attribute must initially return the empty string.\n\n // The protocol attribute must initially return the empty string.\n\n // Each WebSocket object has an associated binary type, which is a\n // BinaryType. Initially it must be \"blob\".\n this[kBinaryType] = 'blob'\n }\n\n /**\n * @see https://websockets.spec.whatwg.org/#dom-websocket-close\n * @param {number|undefined} code\n * @param {string|undefined} reason\n */\n close (code = undefined, reason = undefined) {\n webidl.brandCheck(this, WebSocket)\n\n const prefix = 'WebSocket.close'\n\n if (code !== undefined) {\n code = webidl.converters['unsigned short'](code, prefix, 'code', { clamp: true })\n }\n\n if (reason !== undefined) {\n reason = webidl.converters.USVString(reason, prefix, 'reason')\n }\n\n // 1. If code is present, but is neither an integer equal to 1000 nor an\n // integer in the range 3000 to 4999, inclusive, throw an\n // \"InvalidAccessError\" DOMException.\n if (code !== undefined) {\n if (code !== 1000 && (code < 3000 || code > 4999)) {\n throw new DOMException('invalid code', 'InvalidAccessError')\n }\n }\n\n let reasonByteLength = 0\n\n // 2. If reason is present, then run these substeps:\n if (reason !== undefined) {\n // 1. Let reasonBytes be the result of encoding reason.\n // 2. If reasonBytes is longer than 123 bytes, then throw a\n // \"SyntaxError\" DOMException.\n reasonByteLength = Buffer.byteLength(reason)\n\n if (reasonByteLength > 123) {\n throw new DOMException(\n `Reason must be less than 123 bytes; received ${reasonByteLength}`,\n 'SyntaxError'\n )\n }\n }\n\n // 3. Run the first matching steps from the following list:\n closeWebSocketConnection(this, code, reason, reasonByteLength)\n }\n\n /**\n * @see https://websockets.spec.whatwg.org/#dom-websocket-send\n * @param {NodeJS.TypedArray|ArrayBuffer|Blob|string} data\n */\n send (data) {\n webidl.brandCheck(this, WebSocket)\n\n const prefix = 'WebSocket.send'\n webidl.argumentLengthCheck(arguments, 1, prefix)\n\n data = webidl.converters.WebSocketSendData(data, prefix, 'data')\n\n // 1. If this's ready state is CONNECTING, then throw an\n // \"InvalidStateError\" DOMException.\n if (isConnecting(this)) {\n throw new DOMException('Sent before connected.', 'InvalidStateError')\n }\n\n // 2. Run the appropriate set of steps from the following list:\n // https://datatracker.ietf.org/doc/html/rfc6455#section-6.1\n // https://datatracker.ietf.org/doc/html/rfc6455#section-5.2\n\n if (!isEstablished(this) || isClosing(this)) {\n return\n }\n\n // If data is a string\n if (typeof data === 'string') {\n // If the WebSocket connection is established and the WebSocket\n // closing handshake has not yet started, then the user agent\n // must send a WebSocket Message comprised of the data argument\n // using a text frame opcode; if the data cannot be sent, e.g.\n // because it would need to be buffered but the buffer is full,\n // the user agent must flag the WebSocket as full and then close\n // the WebSocket connection. Any invocation of this method with a\n // string argument that does not throw an exception must increase\n // the bufferedAmount attribute by the number of bytes needed to\n // express the argument as UTF-8.\n\n const length = Buffer.byteLength(data)\n\n this.#bufferedAmount += length\n this.#sendQueue.add(data, () => {\n this.#bufferedAmount -= length\n }, sendHints.string)\n } else if (types.isArrayBuffer(data)) {\n // If the WebSocket connection is established, and the WebSocket\n // closing handshake has not yet started, then the user agent must\n // send a WebSocket Message comprised of data using a binary frame\n // opcode; if the data cannot be sent, e.g. because it would need\n // to be buffered but the buffer is full, the user agent must flag\n // the WebSocket as full and then close the WebSocket connection.\n // The data to be sent is the data stored in the buffer described\n // by the ArrayBuffer object. Any invocation of this method with an\n // ArrayBuffer argument that does not throw an exception must\n // increase the bufferedAmount attribute by the length of the\n // ArrayBuffer in bytes.\n\n this.#bufferedAmount += data.byteLength\n this.#sendQueue.add(data, () => {\n this.#bufferedAmount -= data.byteLength\n }, sendHints.arrayBuffer)\n } else if (ArrayBuffer.isView(data)) {\n // If the WebSocket connection is established, and the WebSocket\n // closing handshake has not yet started, then the user agent must\n // send a WebSocket Message comprised of data using a binary frame\n // opcode; if the data cannot be sent, e.g. because it would need to\n // be buffered but the buffer is full, the user agent must flag the\n // WebSocket as full and then close the WebSocket connection. The\n // data to be sent is the data stored in the section of the buffer\n // described by the ArrayBuffer object that data references. Any\n // invocation of this method with this kind of argument that does\n // not throw an exception must increase the bufferedAmount attribute\n // by the length of data’s buffer in bytes.\n\n this.#bufferedAmount += data.byteLength\n this.#sendQueue.add(data, () => {\n this.#bufferedAmount -= data.byteLength\n }, sendHints.typedArray)\n } else if (isBlobLike(data)) {\n // If the WebSocket connection is established, and the WebSocket\n // closing handshake has not yet started, then the user agent must\n // send a WebSocket Message comprised of data using a binary frame\n // opcode; if the data cannot be sent, e.g. because it would need to\n // be buffered but the buffer is full, the user agent must flag the\n // WebSocket as full and then close the WebSocket connection. The data\n // to be sent is the raw data represented by the Blob object. Any\n // invocation of this method with a Blob argument that does not throw\n // an exception must increase the bufferedAmount attribute by the size\n // of the Blob object’s raw data, in bytes.\n\n this.#bufferedAmount += data.size\n this.#sendQueue.add(data, () => {\n this.#bufferedAmount -= data.size\n }, sendHints.blob)\n }\n }\n\n get readyState () {\n webidl.brandCheck(this, WebSocket)\n\n // The readyState getter steps are to return this's ready state.\n return this[kReadyState]\n }\n\n get bufferedAmount () {\n webidl.brandCheck(this, WebSocket)\n\n return this.#bufferedAmount\n }\n\n get url () {\n webidl.brandCheck(this, WebSocket)\n\n // The url getter steps are to return this's url, serialized.\n return URLSerializer(this[kWebSocketURL])\n }\n\n get extensions () {\n webidl.brandCheck(this, WebSocket)\n\n return this.#extensions\n }\n\n get protocol () {\n webidl.brandCheck(this, WebSocket)\n\n return this.#protocol\n }\n\n get onopen () {\n webidl.brandCheck(this, WebSocket)\n\n return this.#events.open\n }\n\n set onopen (fn) {\n webidl.brandCheck(this, WebSocket)\n\n if (this.#events.open) {\n this.removeEventListener('open', this.#events.open)\n }\n\n if (typeof fn === 'function') {\n this.#events.open = fn\n this.addEventListener('open', fn)\n } else {\n this.#events.open = null\n }\n }\n\n get onerror () {\n webidl.brandCheck(this, WebSocket)\n\n return this.#events.error\n }\n\n set onerror (fn) {\n webidl.brandCheck(this, WebSocket)\n\n if (this.#events.error) {\n this.removeEventListener('error', this.#events.error)\n }\n\n if (typeof fn === 'function') {\n this.#events.error = fn\n this.addEventListener('error', fn)\n } else {\n this.#events.error = null\n }\n }\n\n get onclose () {\n webidl.brandCheck(this, WebSocket)\n\n return this.#events.close\n }\n\n set onclose (fn) {\n webidl.brandCheck(this, WebSocket)\n\n if (this.#events.close) {\n this.removeEventListener('close', this.#events.close)\n }\n\n if (typeof fn === 'function') {\n this.#events.close = fn\n this.addEventListener('close', fn)\n } else {\n this.#events.close = null\n }\n }\n\n get onmessage () {\n webidl.brandCheck(this, WebSocket)\n\n return this.#events.message\n }\n\n set onmessage (fn) {\n webidl.brandCheck(this, WebSocket)\n\n if (this.#events.message) {\n this.removeEventListener('message', this.#events.message)\n }\n\n if (typeof fn === 'function') {\n this.#events.message = fn\n this.addEventListener('message', fn)\n } else {\n this.#events.message = null\n }\n }\n\n get binaryType () {\n webidl.brandCheck(this, WebSocket)\n\n return this[kBinaryType]\n }\n\n set binaryType (type) {\n webidl.brandCheck(this, WebSocket)\n\n if (type !== 'blob' && type !== 'arraybuffer') {\n this[kBinaryType] = 'blob'\n } else {\n this[kBinaryType] = type\n }\n }\n\n /**\n * @see https://websockets.spec.whatwg.org/#feedback-from-the-protocol\n */\n #onConnectionEstablished (response, parsedExtensions) {\n // processResponse is called when the \"response’s header list has been received and initialized.\"\n // once this happens, the connection is open\n this[kResponse] = response\n\n const parser = new ByteParser(this, parsedExtensions)\n parser.on('drain', onParserDrain)\n parser.on('error', onParserError.bind(this))\n\n response.socket.ws = this\n this[kByteParser] = parser\n\n this.#sendQueue = new SendQueue(response.socket)\n\n // 1. Change the ready state to OPEN (1).\n this[kReadyState] = states.OPEN\n\n // 2. Change the extensions attribute’s value to the extensions in use, if\n // it is not the null value.\n // https://datatracker.ietf.org/doc/html/rfc6455#section-9.1\n const extensions = response.headersList.get('sec-websocket-extensions')\n\n if (extensions !== null) {\n this.#extensions = extensions\n }\n\n // 3. Change the protocol attribute’s value to the subprotocol in use, if\n // it is not the null value.\n // https://datatracker.ietf.org/doc/html/rfc6455#section-1.9\n const protocol = response.headersList.get('sec-websocket-protocol')\n\n if (protocol !== null) {\n this.#protocol = protocol\n }\n\n // 4. Fire an event named open at the WebSocket object.\n fireEvent('open', this)\n }\n}\n\n// https://websockets.spec.whatwg.org/#dom-websocket-connecting\nWebSocket.CONNECTING = WebSocket.prototype.CONNECTING = states.CONNECTING\n// https://websockets.spec.whatwg.org/#dom-websocket-open\nWebSocket.OPEN = WebSocket.prototype.OPEN = states.OPEN\n// https://websockets.spec.whatwg.org/#dom-websocket-closing\nWebSocket.CLOSING = WebSocket.prototype.CLOSING = states.CLOSING\n// https://websockets.spec.whatwg.org/#dom-websocket-closed\nWebSocket.CLOSED = WebSocket.prototype.CLOSED = states.CLOSED\n\nObject.defineProperties(WebSocket.prototype, {\n CONNECTING: staticPropertyDescriptors,\n OPEN: staticPropertyDescriptors,\n CLOSING: staticPropertyDescriptors,\n CLOSED: staticPropertyDescriptors,\n url: kEnumerableProperty,\n readyState: kEnumerableProperty,\n bufferedAmount: kEnumerableProperty,\n onopen: kEnumerableProperty,\n onerror: kEnumerableProperty,\n onclose: kEnumerableProperty,\n close: kEnumerableProperty,\n onmessage: kEnumerableProperty,\n binaryType: kEnumerableProperty,\n send: kEnumerableProperty,\n extensions: kEnumerableProperty,\n protocol: kEnumerableProperty,\n [Symbol.toStringTag]: {\n value: 'WebSocket',\n writable: false,\n enumerable: false,\n configurable: true\n }\n})\n\nObject.defineProperties(WebSocket, {\n CONNECTING: staticPropertyDescriptors,\n OPEN: staticPropertyDescriptors,\n CLOSING: staticPropertyDescriptors,\n CLOSED: staticPropertyDescriptors\n})\n\nwebidl.converters['sequence'] = webidl.sequenceConverter(\n webidl.converters.DOMString\n)\n\nwebidl.converters['DOMString or sequence'] = function (V, prefix, argument) {\n if (webidl.util.Type(V) === 'Object' && Symbol.iterator in V) {\n return webidl.converters['sequence'](V)\n }\n\n return webidl.converters.DOMString(V, prefix, argument)\n}\n\n// This implements the proposal made in https://github.com/whatwg/websockets/issues/42\nwebidl.converters.WebSocketInit = webidl.dictionaryConverter([\n {\n key: 'protocols',\n converter: webidl.converters['DOMString or sequence'],\n defaultValue: () => new Array(0)\n },\n {\n key: 'dispatcher',\n converter: webidl.converters.any,\n defaultValue: () => getGlobalDispatcher()\n },\n {\n key: 'headers',\n converter: webidl.nullableConverter(webidl.converters.HeadersInit)\n }\n])\n\nwebidl.converters['DOMString or sequence or WebSocketInit'] = function (V) {\n if (webidl.util.Type(V) === 'Object' && !(Symbol.iterator in V)) {\n return webidl.converters.WebSocketInit(V)\n }\n\n return { protocols: webidl.converters['DOMString or sequence'](V) }\n}\n\nwebidl.converters.WebSocketSendData = function (V) {\n if (webidl.util.Type(V) === 'Object') {\n if (isBlobLike(V)) {\n return webidl.converters.Blob(V, { strict: false })\n }\n\n if (ArrayBuffer.isView(V) || types.isArrayBuffer(V)) {\n return webidl.converters.BufferSource(V)\n }\n }\n\n return webidl.converters.USVString(V)\n}\n\nfunction onParserDrain () {\n this.ws[kResponse].socket.resume()\n}\n\nfunction onParserError (err) {\n let message\n let code\n\n if (err instanceof CloseEvent) {\n message = err.reason\n code = err.code\n } else {\n message = err.message\n }\n\n fireEvent('error', this, () => new ErrorEvent('error', { error: err, message }))\n\n closeWebSocketConnection(this, code)\n}\n\nmodule.exports = {\n WebSocket\n}\n","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar _a;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.READONLY = exports.UV_FS_O_EXLOCK = exports.IS_WINDOWS = exports.unlink = exports.symlink = exports.stat = exports.rmdir = exports.rm = exports.rename = exports.readdir = exports.open = exports.mkdir = exports.lstat = exports.copyFile = exports.chmod = void 0;\nexports.readlink = readlink;\nexports.exists = exists;\nexports.isDirectory = isDirectory;\nexports.isRooted = isRooted;\nexports.tryGetExecutablePath = tryGetExecutablePath;\nexports.getCmdPath = getCmdPath;\nconst fs = __importStar(require(\"fs\"));\nconst path = __importStar(require(\"path\"));\n_a = fs.promises\n// export const {open} = 'fs'\n, exports.chmod = _a.chmod, exports.copyFile = _a.copyFile, exports.lstat = _a.lstat, exports.mkdir = _a.mkdir, exports.open = _a.open, exports.readdir = _a.readdir, exports.rename = _a.rename, exports.rm = _a.rm, exports.rmdir = _a.rmdir, exports.stat = _a.stat, exports.symlink = _a.symlink, exports.unlink = _a.unlink;\n// export const {open} = 'fs'\nexports.IS_WINDOWS = process.platform === 'win32';\n/**\n * Custom implementation of readlink to ensure Windows junctions\n * maintain trailing backslash for backward compatibility with Node.js < 24\n *\n * In Node.js 20, Windows junctions (directory symlinks) always returned paths\n * with trailing backslashes. Node.js 24 removed this behavior, which breaks\n * code that relied on this format for path operations.\n *\n * This implementation restores the Node 20 behavior by adding a trailing\n * backslash to all junction results on Windows.\n */\nfunction readlink(fsPath) {\n return __awaiter(this, void 0, void 0, function* () {\n const result = yield fs.promises.readlink(fsPath);\n // On Windows, restore Node 20 behavior: add trailing backslash to all results\n // since junctions on Windows are always directory links\n if (exports.IS_WINDOWS && !result.endsWith('\\\\')) {\n return `${result}\\\\`;\n }\n return result;\n });\n}\n// See https://github.com/nodejs/node/blob/d0153aee367422d0858105abec186da4dff0a0c5/deps/uv/include/uv/win.h#L691\nexports.UV_FS_O_EXLOCK = 0x10000000;\nexports.READONLY = fs.constants.O_RDONLY;\nfunction exists(fsPath) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n yield (0, exports.stat)(fsPath);\n }\n catch (err) {\n if (err.code === 'ENOENT') {\n return false;\n }\n throw err;\n }\n return true;\n });\n}\nfunction isDirectory(fsPath_1) {\n return __awaiter(this, arguments, void 0, function* (fsPath, useStat = false) {\n const stats = useStat ? yield (0, exports.stat)(fsPath) : yield (0, exports.lstat)(fsPath);\n return stats.isDirectory();\n });\n}\n/**\n * On OSX/Linux, true if path starts with '/'. On Windows, true for paths like:\n * \\, \\hello, \\\\hello\\share, C:, and C:\\hello (and corresponding alternate separator cases).\n */\nfunction isRooted(p) {\n p = normalizeSeparators(p);\n if (!p) {\n throw new Error('isRooted() parameter \"p\" cannot be empty');\n }\n if (exports.IS_WINDOWS) {\n return (p.startsWith('\\\\') || /^[A-Z]:/i.test(p) // e.g. \\ or \\hello or \\\\hello\n ); // e.g. C: or C:\\hello\n }\n return p.startsWith('/');\n}\n/**\n * Best effort attempt to determine whether a file exists and is executable.\n * @param filePath file path to check\n * @param extensions additional file extensions to try\n * @return if file exists and is executable, returns the file path. otherwise empty string.\n */\nfunction tryGetExecutablePath(filePath, extensions) {\n return __awaiter(this, void 0, void 0, function* () {\n let stats = undefined;\n try {\n // test file exists\n stats = yield (0, exports.stat)(filePath);\n }\n catch (err) {\n if (err.code !== 'ENOENT') {\n // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`);\n }\n }\n if (stats && stats.isFile()) {\n if (exports.IS_WINDOWS) {\n // on Windows, test for valid extension\n const upperExt = path.extname(filePath).toUpperCase();\n if (extensions.some(validExt => validExt.toUpperCase() === upperExt)) {\n return filePath;\n }\n }\n else {\n if (isUnixExecutable(stats)) {\n return filePath;\n }\n }\n }\n // try each extension\n const originalFilePath = filePath;\n for (const extension of extensions) {\n filePath = originalFilePath + extension;\n stats = undefined;\n try {\n stats = yield (0, exports.stat)(filePath);\n }\n catch (err) {\n if (err.code !== 'ENOENT') {\n // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine if executable file exists '${filePath}': ${err}`);\n }\n }\n if (stats && stats.isFile()) {\n if (exports.IS_WINDOWS) {\n // preserve the case of the actual file (since an extension was appended)\n try {\n const directory = path.dirname(filePath);\n const upperName = path.basename(filePath).toUpperCase();\n for (const actualName of yield (0, exports.readdir)(directory)) {\n if (upperName === actualName.toUpperCase()) {\n filePath = path.join(directory, actualName);\n break;\n }\n }\n }\n catch (err) {\n // eslint-disable-next-line no-console\n console.log(`Unexpected error attempting to determine the actual case of the file '${filePath}': ${err}`);\n }\n return filePath;\n }\n else {\n if (isUnixExecutable(stats)) {\n return filePath;\n }\n }\n }\n }\n return '';\n });\n}\nfunction normalizeSeparators(p) {\n p = p || '';\n if (exports.IS_WINDOWS) {\n // convert slashes on Windows\n p = p.replace(/\\//g, '\\\\');\n // remove redundant slashes\n return p.replace(/\\\\\\\\+/g, '\\\\');\n }\n // remove redundant slashes\n return p.replace(/\\/\\/+/g, '/');\n}\n// on Mac/Linux, test the execute bit\n// R W X R W X R W X\n// 256 128 64 32 16 8 4 2 1\nfunction isUnixExecutable(stats) {\n return ((stats.mode & 1) > 0 ||\n ((stats.mode & 8) > 0 &&\n process.getgid !== undefined &&\n stats.gid === process.getgid()) ||\n ((stats.mode & 64) > 0 &&\n process.getuid !== undefined &&\n stats.uid === process.getuid()));\n}\n// Get the path of cmd.exe in windows\nfunction getCmdPath() {\n var _a;\n return (_a = process.env['COMSPEC']) !== null && _a !== void 0 ? _a : `cmd.exe`;\n}\n//# sourceMappingURL=io-util.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.cp = cp;\nexports.mv = mv;\nexports.rmRF = rmRF;\nexports.mkdirP = mkdirP;\nexports.which = which;\nexports.findInPath = findInPath;\nconst assert_1 = require(\"assert\");\nconst path = __importStar(require(\"path\"));\nconst ioUtil = __importStar(require(\"./io-util\"));\n/**\n * Copies a file or folder.\n * Based off of shelljs - https://github.com/shelljs/shelljs/blob/9237f66c52e5daa40458f94f9565e18e8132f5a6/src/cp.js\n *\n * @param source source path\n * @param dest destination path\n * @param options optional. See CopyOptions.\n */\nfunction cp(source_1, dest_1) {\n return __awaiter(this, arguments, void 0, function* (source, dest, options = {}) {\n const { force, recursive, copySourceDirectory } = readCopyOptions(options);\n const destStat = (yield ioUtil.exists(dest)) ? yield ioUtil.stat(dest) : null;\n // Dest is an existing file, but not forcing\n if (destStat && destStat.isFile() && !force) {\n return;\n }\n // If dest is an existing directory, should copy inside.\n const newDest = destStat && destStat.isDirectory() && copySourceDirectory\n ? path.join(dest, path.basename(source))\n : dest;\n if (!(yield ioUtil.exists(source))) {\n throw new Error(`no such file or directory: ${source}`);\n }\n const sourceStat = yield ioUtil.stat(source);\n if (sourceStat.isDirectory()) {\n if (!recursive) {\n throw new Error(`Failed to copy. ${source} is a directory, but tried to copy without recursive flag.`);\n }\n else {\n yield cpDirRecursive(source, newDest, 0, force);\n }\n }\n else {\n if (path.relative(source, newDest) === '') {\n // a file cannot be copied to itself\n throw new Error(`'${newDest}' and '${source}' are the same file`);\n }\n yield copyFile(source, newDest, force);\n }\n });\n}\n/**\n * Moves a path.\n *\n * @param source source path\n * @param dest destination path\n * @param options optional. See MoveOptions.\n */\nfunction mv(source_1, dest_1) {\n return __awaiter(this, arguments, void 0, function* (source, dest, options = {}) {\n if (yield ioUtil.exists(dest)) {\n let destExists = true;\n if (yield ioUtil.isDirectory(dest)) {\n // If dest is directory copy src into dest\n dest = path.join(dest, path.basename(source));\n destExists = yield ioUtil.exists(dest);\n }\n if (destExists) {\n if (options.force == null || options.force) {\n yield rmRF(dest);\n }\n else {\n throw new Error('Destination already exists');\n }\n }\n }\n yield mkdirP(path.dirname(dest));\n yield ioUtil.rename(source, dest);\n });\n}\n/**\n * Remove a path recursively with force\n *\n * @param inputPath path to remove\n */\nfunction rmRF(inputPath) {\n return __awaiter(this, void 0, void 0, function* () {\n if (ioUtil.IS_WINDOWS) {\n // Check for invalid characters\n // https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file\n if (/[*\"<>|]/.test(inputPath)) {\n throw new Error('File path must not contain `*`, `\"`, `<`, `>` or `|` on Windows');\n }\n }\n try {\n // note if path does not exist, error is silent\n yield ioUtil.rm(inputPath, {\n force: true,\n maxRetries: 3,\n recursive: true,\n retryDelay: 300\n });\n }\n catch (err) {\n throw new Error(`File was unable to be removed ${err}`);\n }\n });\n}\n/**\n * Make a directory. Creates the full path with folders in between\n * Will throw if it fails\n *\n * @param fsPath path to create\n * @returns Promise\n */\nfunction mkdirP(fsPath) {\n return __awaiter(this, void 0, void 0, function* () {\n (0, assert_1.ok)(fsPath, 'a path argument must be provided');\n yield ioUtil.mkdir(fsPath, { recursive: true });\n });\n}\n/**\n * Returns path of a tool had the tool actually been invoked. Resolves via paths.\n * If you check and the tool does not exist, it will throw.\n *\n * @param tool name of the tool\n * @param check whether to check if tool exists\n * @returns Promise path to tool\n */\nfunction which(tool, check) {\n return __awaiter(this, void 0, void 0, function* () {\n if (!tool) {\n throw new Error(\"parameter 'tool' is required\");\n }\n // recursive when check=true\n if (check) {\n const result = yield which(tool, false);\n if (!result) {\n if (ioUtil.IS_WINDOWS) {\n throw new Error(`Unable to locate executable file: ${tool}. 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.`);\n }\n else {\n throw new Error(`Unable to locate executable file: ${tool}. 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.`);\n }\n }\n return result;\n }\n const matches = yield findInPath(tool);\n if (matches && matches.length > 0) {\n return matches[0];\n }\n return '';\n });\n}\n/**\n * Returns a list of all occurrences of the given tool on the system path.\n *\n * @returns Promise the paths of the tool\n */\nfunction findInPath(tool) {\n return __awaiter(this, void 0, void 0, function* () {\n if (!tool) {\n throw new Error(\"parameter 'tool' is required\");\n }\n // build the list of extensions to try\n const extensions = [];\n if (ioUtil.IS_WINDOWS && process.env['PATHEXT']) {\n for (const extension of process.env['PATHEXT'].split(path.delimiter)) {\n if (extension) {\n extensions.push(extension);\n }\n }\n }\n // if it's rooted, return it if exists. otherwise return empty.\n if (ioUtil.isRooted(tool)) {\n const filePath = yield ioUtil.tryGetExecutablePath(tool, extensions);\n if (filePath) {\n return [filePath];\n }\n return [];\n }\n // if any path separators, return empty\n if (tool.includes(path.sep)) {\n return [];\n }\n // build the list of directories\n //\n // Note, technically \"where\" checks the current directory on Windows. From a toolkit perspective,\n // it feels like we should not do this. Checking the current directory seems like more of a use\n // case of a shell, and the which() function exposed by the toolkit should strive for consistency\n // across platforms.\n const directories = [];\n if (process.env.PATH) {\n for (const p of process.env.PATH.split(path.delimiter)) {\n if (p) {\n directories.push(p);\n }\n }\n }\n // find all matches\n const matches = [];\n for (const directory of directories) {\n const filePath = yield ioUtil.tryGetExecutablePath(path.join(directory, tool), extensions);\n if (filePath) {\n matches.push(filePath);\n }\n }\n return matches;\n });\n}\nfunction readCopyOptions(options) {\n const force = options.force == null ? true : options.force;\n const recursive = Boolean(options.recursive);\n const copySourceDirectory = options.copySourceDirectory == null\n ? true\n : Boolean(options.copySourceDirectory);\n return { force, recursive, copySourceDirectory };\n}\nfunction cpDirRecursive(sourceDir, destDir, currentDepth, force) {\n return __awaiter(this, void 0, void 0, function* () {\n // Ensure there is not a run away recursive copy\n if (currentDepth >= 255)\n return;\n currentDepth++;\n yield mkdirP(destDir);\n const files = yield ioUtil.readdir(sourceDir);\n for (const fileName of files) {\n const srcFile = `${sourceDir}/${fileName}`;\n const destFile = `${destDir}/${fileName}`;\n const srcFileStat = yield ioUtil.lstat(srcFile);\n if (srcFileStat.isDirectory()) {\n // Recurse\n yield cpDirRecursive(srcFile, destFile, currentDepth, force);\n }\n else {\n yield copyFile(srcFile, destFile, force);\n }\n }\n // Change the mode for the newly created directory\n yield ioUtil.chmod(destDir, (yield ioUtil.stat(sourceDir)).mode);\n });\n}\n// Buffered file copy\nfunction copyFile(srcFile, destFile, force) {\n return __awaiter(this, void 0, void 0, function* () {\n if ((yield ioUtil.lstat(srcFile)).isSymbolicLink()) {\n // unlink/re-link it\n try {\n yield ioUtil.lstat(destFile);\n yield ioUtil.unlink(destFile);\n }\n catch (e) {\n // Try to override file permission\n if (e.code === 'EPERM') {\n yield ioUtil.chmod(destFile, '0666');\n yield ioUtil.unlink(destFile);\n }\n // other errors = it doesn't exist, no work to do\n }\n // Copy over symlink\n const symlinkFull = yield ioUtil.readlink(srcFile);\n yield ioUtil.symlink(symlinkFull, destFile, ioUtil.IS_WINDOWS ? 'junction' : null);\n }\n else if (!(yield ioUtil.exists(destFile)) || force) {\n yield ioUtil.copyFile(srcFile, destFile);\n }\n });\n}\n//# sourceMappingURL=io.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports._findMatch = _findMatch;\nexports._getOsVersion = _getOsVersion;\nexports._readLinuxVersionFile = _readLinuxVersionFile;\nconst semver = __importStar(require(\"semver\"));\nconst core_1 = require(\"@actions/core\");\n// needs to be require for core node modules to be mocked\n/* eslint @typescript-eslint/no-require-imports: 0 */\nconst os = require(\"os\");\nconst cp = require(\"child_process\");\nconst fs = require(\"fs\");\nfunction _findMatch(versionSpec, stable, candidates, archFilter) {\n return __awaiter(this, void 0, void 0, function* () {\n const platFilter = os.platform();\n let result;\n let match;\n let file;\n for (const candidate of candidates) {\n const version = candidate.version;\n (0, core_1.debug)(`check ${version} satisfies ${versionSpec}`);\n if (semver.satisfies(version, versionSpec) &&\n (!stable || candidate.stable === stable)) {\n file = candidate.files.find(item => {\n (0, core_1.debug)(`${item.arch}===${archFilter} && ${item.platform}===${platFilter}`);\n let chk = item.arch === archFilter && item.platform === platFilter;\n if (chk && item.platform_version) {\n const osVersion = module.exports._getOsVersion();\n if (osVersion === item.platform_version) {\n chk = true;\n }\n else {\n chk = semver.satisfies(osVersion, item.platform_version);\n }\n }\n return chk;\n });\n if (file) {\n (0, core_1.debug)(`matched ${candidate.version}`);\n match = candidate;\n break;\n }\n }\n }\n if (match && file) {\n // clone since we're mutating the file list to be only the file that matches\n result = Object.assign({}, match);\n result.files = [file];\n }\n return result;\n });\n}\nfunction _getOsVersion() {\n // TODO: add windows and other linux, arm variants\n // right now filtering on version is only an ubuntu and macos scenario for tools we build for hosted (python)\n const plat = os.platform();\n let version = '';\n if (plat === 'darwin') {\n version = cp.execSync('sw_vers -productVersion').toString();\n }\n else if (plat === 'linux') {\n // lsb_release process not in some containers, readfile\n // Run cat /etc/lsb-release\n // DISTRIB_ID=Ubuntu\n // DISTRIB_RELEASE=18.04\n // DISTRIB_CODENAME=bionic\n // DISTRIB_DESCRIPTION=\"Ubuntu 18.04.4 LTS\"\n const lsbContents = module.exports._readLinuxVersionFile();\n if (lsbContents) {\n const lines = lsbContents.split('\\n');\n for (const line of lines) {\n const parts = line.split('=');\n if (parts.length === 2 &&\n (parts[0].trim() === 'VERSION_ID' ||\n parts[0].trim() === 'DISTRIB_RELEASE')) {\n version = parts[1].trim().replace(/^\"/, '').replace(/\"$/, '');\n break;\n }\n }\n }\n }\n return version;\n}\nfunction _readLinuxVersionFile() {\n const lsbReleaseFile = '/etc/lsb-release';\n const osReleaseFile = '/etc/os-release';\n let contents = '';\n if (fs.existsSync(lsbReleaseFile)) {\n contents = fs.readFileSync(lsbReleaseFile).toString();\n }\n else if (fs.existsSync(osReleaseFile)) {\n contents = fs.readFileSync(osReleaseFile).toString();\n }\n return contents;\n}\n//# sourceMappingURL=manifest.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.RetryHelper = void 0;\nconst core = __importStar(require(\"@actions/core\"));\n/**\n * Internal class for retries\n */\nclass RetryHelper {\n constructor(maxAttempts, minSeconds, maxSeconds) {\n if (maxAttempts < 1) {\n throw new Error('max attempts should be greater than or equal to 1');\n }\n this.maxAttempts = maxAttempts;\n this.minSeconds = Math.floor(minSeconds);\n this.maxSeconds = Math.floor(maxSeconds);\n if (this.minSeconds > this.maxSeconds) {\n throw new Error('min seconds should be less than or equal to max seconds');\n }\n }\n execute(action, isRetryable) {\n return __awaiter(this, void 0, void 0, function* () {\n let attempt = 1;\n while (attempt < this.maxAttempts) {\n // Try\n try {\n return yield action();\n }\n catch (err) {\n if (isRetryable && !isRetryable(err)) {\n throw err;\n }\n core.info(err.message);\n }\n // Sleep\n const seconds = this.getSleepAmount();\n core.info(`Waiting ${seconds} seconds before trying again`);\n yield this.sleep(seconds);\n attempt++;\n }\n // Last attempt\n return yield action();\n });\n }\n getSleepAmount() {\n return (Math.floor(Math.random() * (this.maxSeconds - this.minSeconds + 1)) +\n this.minSeconds);\n }\n sleep(seconds) {\n return __awaiter(this, void 0, void 0, function* () {\n return new Promise(resolve => setTimeout(resolve, seconds * 1000));\n });\n }\n}\nexports.RetryHelper = RetryHelper;\n//# sourceMappingURL=retry-helper.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.HTTPError = void 0;\nexports.downloadTool = downloadTool;\nexports.extract7z = extract7z;\nexports.extractTar = extractTar;\nexports.extractXar = extractXar;\nexports.extractZip = extractZip;\nexports.cacheDir = cacheDir;\nexports.cacheFile = cacheFile;\nexports.find = find;\nexports.findAllVersions = findAllVersions;\nexports.getManifestFromRepo = getManifestFromRepo;\nexports.findFromManifest = findFromManifest;\nexports.isExplicitVersion = isExplicitVersion;\nexports.evaluateVersions = evaluateVersions;\nconst core = __importStar(require(\"@actions/core\"));\nconst io = __importStar(require(\"@actions/io\"));\nconst crypto = __importStar(require(\"crypto\"));\nconst fs = __importStar(require(\"fs\"));\nconst mm = __importStar(require(\"./manifest\"));\nconst os = __importStar(require(\"os\"));\nconst path = __importStar(require(\"path\"));\nconst httpm = __importStar(require(\"@actions/http-client\"));\nconst semver = __importStar(require(\"semver\"));\nconst stream = __importStar(require(\"stream\"));\nconst util = __importStar(require(\"util\"));\nconst assert_1 = require(\"assert\");\nconst exec_1 = require(\"@actions/exec/lib/exec\");\nconst retry_helper_1 = require(\"./retry-helper\");\nclass HTTPError extends Error {\n constructor(httpStatusCode) {\n super(`Unexpected HTTP response: ${httpStatusCode}`);\n this.httpStatusCode = httpStatusCode;\n Object.setPrototypeOf(this, new.target.prototype);\n }\n}\nexports.HTTPError = HTTPError;\nconst IS_WINDOWS = process.platform === 'win32';\nconst IS_MAC = process.platform === 'darwin';\nconst userAgent = 'actions/tool-cache';\n/**\n * Download a tool from an url and stream it into a file\n *\n * @param url url of tool to download\n * @param dest path to download tool\n * @param auth authorization header\n * @param headers other headers\n * @returns path to downloaded tool\n */\nfunction downloadTool(url, dest, auth, headers) {\n return __awaiter(this, void 0, void 0, function* () {\n dest = dest || path.join(_getTempDirectory(), crypto.randomUUID());\n yield io.mkdirP(path.dirname(dest));\n core.debug(`Downloading ${url}`);\n core.debug(`Destination ${dest}`);\n const maxAttempts = 3;\n const minSeconds = _getGlobal('TEST_DOWNLOAD_TOOL_RETRY_MIN_SECONDS', 10);\n const maxSeconds = _getGlobal('TEST_DOWNLOAD_TOOL_RETRY_MAX_SECONDS', 20);\n const retryHelper = new retry_helper_1.RetryHelper(maxAttempts, minSeconds, maxSeconds);\n return yield retryHelper.execute(() => __awaiter(this, void 0, void 0, function* () {\n return yield downloadToolAttempt(url, dest || '', auth, headers);\n }), (err) => {\n if (err instanceof HTTPError && err.httpStatusCode) {\n // Don't retry anything less than 500, except 408 Request Timeout and 429 Too Many Requests\n if (err.httpStatusCode < 500 &&\n err.httpStatusCode !== 408 &&\n err.httpStatusCode !== 429) {\n return false;\n }\n }\n // Otherwise retry\n return true;\n });\n });\n}\nfunction downloadToolAttempt(url, dest, auth, headers) {\n return __awaiter(this, void 0, void 0, function* () {\n if (fs.existsSync(dest)) {\n throw new Error(`Destination file path ${dest} already exists`);\n }\n // Get the response headers\n const http = new httpm.HttpClient(userAgent, [], {\n allowRetries: false\n });\n if (auth) {\n core.debug('set auth');\n if (headers === undefined) {\n headers = {};\n }\n headers.authorization = auth;\n }\n const response = yield http.get(url, headers);\n if (response.message.statusCode !== 200) {\n const err = new HTTPError(response.message.statusCode);\n core.debug(`Failed to download from \"${url}\". Code(${response.message.statusCode}) Message(${response.message.statusMessage})`);\n throw err;\n }\n // Download the response body\n const pipeline = util.promisify(stream.pipeline);\n const responseMessageFactory = _getGlobal('TEST_DOWNLOAD_TOOL_RESPONSE_MESSAGE_FACTORY', () => response.message);\n const readStream = responseMessageFactory();\n let succeeded = false;\n try {\n yield pipeline(readStream, fs.createWriteStream(dest));\n core.debug('download complete');\n succeeded = true;\n return dest;\n }\n finally {\n // Error, delete dest before retry\n if (!succeeded) {\n core.debug('download failed');\n try {\n yield io.rmRF(dest);\n }\n catch (err) {\n core.debug(`Failed to delete '${dest}'. ${err.message}`);\n }\n }\n }\n });\n}\n/**\n * Extract a .7z file\n *\n * @param file path to the .7z file\n * @param dest destination directory. Optional.\n * @param _7zPath path to 7zr.exe. Optional, for long path support. Most .7z archives do not have this\n * problem. If your .7z archive contains very long paths, you can pass the path to 7zr.exe which will\n * gracefully handle long paths. By default 7zdec.exe is used because it is a very small program and is\n * bundled with the tool lib. However it does not support long paths. 7zr.exe is the reduced command line\n * interface, it is smaller than the full command line interface, and it does support long paths. At the\n * time of this writing, it is freely available from the LZMA SDK that is available on the 7zip website.\n * Be sure to check the current license agreement. If 7zr.exe is bundled with your action, then the path\n * to 7zr.exe can be pass to this function.\n * @returns path to the destination directory\n */\nfunction extract7z(file, dest, _7zPath) {\n return __awaiter(this, void 0, void 0, function* () {\n (0, assert_1.ok)(IS_WINDOWS, 'extract7z() not supported on current OS');\n (0, assert_1.ok)(file, 'parameter \"file\" is required');\n dest = yield _createExtractFolder(dest);\n const originalCwd = process.cwd();\n process.chdir(dest);\n if (_7zPath) {\n try {\n const logLevel = core.isDebug() ? '-bb1' : '-bb0';\n const args = [\n 'x', // eXtract files with full paths\n logLevel, // -bb[0-3] : set output log level\n '-bd', // disable progress indicator\n '-sccUTF-8', // set charset for for console input/output\n file\n ];\n const options = {\n silent: true\n };\n yield (0, exec_1.exec)(`\"${_7zPath}\"`, args, options);\n }\n finally {\n process.chdir(originalCwd);\n }\n }\n else {\n const escapedScript = path\n .join(__dirname, '..', 'scripts', 'Invoke-7zdec.ps1')\n .replace(/'/g, \"''\")\n .replace(/\"|\\n|\\r/g, ''); // double-up single quotes, remove double quotes and newlines\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, '');\n const escapedTarget = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, '');\n const command = `& '${escapedScript}' -Source '${escapedFile}' -Target '${escapedTarget}'`;\n const args = [\n '-NoLogo',\n '-Sta',\n '-NoProfile',\n '-NonInteractive',\n '-ExecutionPolicy',\n 'Unrestricted',\n '-Command',\n command\n ];\n const options = {\n silent: true\n };\n try {\n const powershellPath = yield io.which('powershell', true);\n yield (0, exec_1.exec)(`\"${powershellPath}\"`, args, options);\n }\n finally {\n process.chdir(originalCwd);\n }\n }\n return dest;\n });\n}\n/**\n * Extract a compressed tar archive\n *\n * @param file path to the tar\n * @param dest destination directory. Optional.\n * @param flags flags for the tar command to use for extraction. Defaults to 'xz' (extracting gzipped tars). Optional.\n * @returns path to the destination directory\n */\nfunction extractTar(file_1, dest_1) {\n return __awaiter(this, arguments, void 0, function* (file, dest, flags = 'xz') {\n if (!file) {\n throw new Error(\"parameter 'file' is required\");\n }\n // Create dest\n dest = yield _createExtractFolder(dest);\n // Determine whether GNU tar\n core.debug('Checking tar --version');\n let versionOutput = '';\n yield (0, exec_1.exec)('tar --version', [], {\n ignoreReturnCode: true,\n silent: true,\n listeners: {\n stdout: (data) => (versionOutput += data.toString()),\n stderr: (data) => (versionOutput += data.toString())\n }\n });\n core.debug(versionOutput.trim());\n const isGnuTar = versionOutput.toUpperCase().includes('GNU TAR');\n // Initialize args\n let args;\n if (flags instanceof Array) {\n args = flags;\n }\n else {\n args = [flags];\n }\n if (core.isDebug() && !flags.includes('v')) {\n args.push('-v');\n }\n let destArg = dest;\n let fileArg = file;\n if (IS_WINDOWS && isGnuTar) {\n args.push('--force-local');\n destArg = dest.replace(/\\\\/g, '/');\n // Technically only the dest needs to have `/` but for aesthetic consistency\n // convert slashes in the file arg too.\n fileArg = file.replace(/\\\\/g, '/');\n }\n if (isGnuTar) {\n // Suppress warnings when using GNU tar to extract archives created by BSD tar\n args.push('--warning=no-unknown-keyword');\n args.push('--overwrite');\n }\n args.push('-C', destArg, '-f', fileArg);\n yield (0, exec_1.exec)(`tar`, args);\n return dest;\n });\n}\n/**\n * Extract a xar compatible archive\n *\n * @param file path to the archive\n * @param dest destination directory. Optional.\n * @param flags flags for the xar. Optional.\n * @returns path to the destination directory\n */\nfunction extractXar(file_1, dest_1) {\n return __awaiter(this, arguments, void 0, function* (file, dest, flags = []) {\n (0, assert_1.ok)(IS_MAC, 'extractXar() not supported on current OS');\n (0, assert_1.ok)(file, 'parameter \"file\" is required');\n dest = yield _createExtractFolder(dest);\n let args;\n if (flags instanceof Array) {\n args = flags;\n }\n else {\n args = [flags];\n }\n args.push('-x', '-C', dest, '-f', file);\n if (core.isDebug()) {\n args.push('-v');\n }\n const xarPath = yield io.which('xar', true);\n yield (0, exec_1.exec)(`\"${xarPath}\"`, _unique(args));\n return dest;\n });\n}\n/**\n * Extract a zip\n *\n * @param file path to the zip\n * @param dest destination directory. Optional.\n * @returns path to the destination directory\n */\nfunction extractZip(file, dest) {\n return __awaiter(this, void 0, void 0, function* () {\n if (!file) {\n throw new Error(\"parameter 'file' is required\");\n }\n dest = yield _createExtractFolder(dest);\n if (IS_WINDOWS) {\n yield extractZipWin(file, dest);\n }\n else {\n yield extractZipNix(file, dest);\n }\n return dest;\n });\n}\nfunction extractZipWin(file, dest) {\n return __awaiter(this, void 0, void 0, function* () {\n // build the powershell command\n const escapedFile = file.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, ''); // double-up single quotes, remove double quotes and newlines\n const escapedDest = dest.replace(/'/g, \"''\").replace(/\"|\\n|\\r/g, '');\n const pwshPath = yield io.which('pwsh', false);\n //To match the file overwrite behavior on nix systems, we use the overwrite = true flag for ExtractToDirectory\n //and the -Force flag for Expand-Archive as a fallback\n if (pwshPath) {\n //attempt to use pwsh with ExtractToDirectory, if this fails attempt Expand-Archive\n const pwshCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.ZipFile } catch { } ;`,\n `try { [System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`,\n `catch { if (($_.Exception.GetType().FullName -eq 'System.Management.Automation.MethodException') -or ($_.Exception.GetType().FullName -eq 'System.Management.Automation.RuntimeException') ){ Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force } else { throw $_ } } ;`\n ].join(' ');\n const args = [\n '-NoLogo',\n '-NoProfile',\n '-NonInteractive',\n '-ExecutionPolicy',\n 'Unrestricted',\n '-Command',\n pwshCommand\n ];\n core.debug(`Using pwsh at path: ${pwshPath}`);\n yield (0, exec_1.exec)(`\"${pwshPath}\"`, args);\n }\n else {\n const powershellCommand = [\n `$ErrorActionPreference = 'Stop' ;`,\n `try { Add-Type -AssemblyName System.IO.Compression.FileSystem } catch { } ;`,\n `if ((Get-Command -Name Expand-Archive -Module Microsoft.PowerShell.Archive -ErrorAction Ignore)) { Expand-Archive -LiteralPath '${escapedFile}' -DestinationPath '${escapedDest}' -Force }`,\n `else {[System.IO.Compression.ZipFile]::ExtractToDirectory('${escapedFile}', '${escapedDest}', $true) }`\n ].join(' ');\n const args = [\n '-NoLogo',\n '-Sta',\n '-NoProfile',\n '-NonInteractive',\n '-ExecutionPolicy',\n 'Unrestricted',\n '-Command',\n powershellCommand\n ];\n const powershellPath = yield io.which('powershell', true);\n core.debug(`Using powershell at path: ${powershellPath}`);\n yield (0, exec_1.exec)(`\"${powershellPath}\"`, args);\n }\n });\n}\nfunction extractZipNix(file, dest) {\n return __awaiter(this, void 0, void 0, function* () {\n const unzipPath = yield io.which('unzip', true);\n const args = [file];\n if (!core.isDebug()) {\n args.unshift('-q');\n }\n args.unshift('-o'); //overwrite with -o, otherwise a prompt is shown which freezes the run\n yield (0, exec_1.exec)(`\"${unzipPath}\"`, args, { cwd: dest });\n });\n}\n/**\n * Caches a directory and installs it into the tool cacheDir\n *\n * @param sourceDir the directory to cache into tools\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */\nfunction cacheDir(sourceDir, tool, version, arch) {\n return __awaiter(this, void 0, void 0, function* () {\n version = semver.clean(version) || version;\n arch = arch || os.arch();\n core.debug(`Caching tool ${tool} ${version} ${arch}`);\n core.debug(`source dir: ${sourceDir}`);\n if (!fs.statSync(sourceDir).isDirectory()) {\n throw new Error('sourceDir is not a directory');\n }\n // Create the tool dir\n const destPath = yield _createToolPath(tool, version, arch);\n // copy each child item. do not move. move can fail on Windows\n // due to anti-virus software having an open handle on a file.\n for (const itemName of fs.readdirSync(sourceDir)) {\n const s = path.join(sourceDir, itemName);\n yield io.cp(s, destPath, { recursive: true });\n }\n // write .complete\n _completeToolPath(tool, version, arch);\n return destPath;\n });\n}\n/**\n * Caches a downloaded file (GUID) and installs it\n * into the tool cache with a given targetName\n *\n * @param sourceFile the file to cache into tools. Typically a result of downloadTool which is a guid.\n * @param targetFile the name of the file name in the tools directory\n * @param tool tool name\n * @param version version of the tool. semver format\n * @param arch architecture of the tool. Optional. Defaults to machine architecture\n */\nfunction cacheFile(sourceFile, targetFile, tool, version, arch) {\n return __awaiter(this, void 0, void 0, function* () {\n version = semver.clean(version) || version;\n arch = arch || os.arch();\n core.debug(`Caching tool ${tool} ${version} ${arch}`);\n core.debug(`source file: ${sourceFile}`);\n if (!fs.statSync(sourceFile).isFile()) {\n throw new Error('sourceFile is not a file');\n }\n // create the tool dir\n const destFolder = yield _createToolPath(tool, version, arch);\n // copy instead of move. move can fail on Windows due to\n // anti-virus software having an open handle on a file.\n const destPath = path.join(destFolder, targetFile);\n core.debug(`destination file ${destPath}`);\n yield io.cp(sourceFile, destPath);\n // write .complete\n _completeToolPath(tool, version, arch);\n return destFolder;\n });\n}\n/**\n * Finds the path to a tool version in the local installed tool cache\n *\n * @param toolName name of the tool\n * @param versionSpec version of the tool\n * @param arch optional arch. defaults to arch of computer\n */\nfunction find(toolName, versionSpec, arch) {\n if (!toolName) {\n throw new Error('toolName parameter is required');\n }\n if (!versionSpec) {\n throw new Error('versionSpec parameter is required');\n }\n arch = arch || os.arch();\n // attempt to resolve an explicit version\n if (!isExplicitVersion(versionSpec)) {\n const localVersions = findAllVersions(toolName, arch);\n const match = evaluateVersions(localVersions, versionSpec);\n versionSpec = match;\n }\n // check for the explicit version in the cache\n let toolPath = '';\n if (versionSpec) {\n versionSpec = semver.clean(versionSpec) || '';\n const cachePath = path.join(_getCacheDirectory(), toolName, versionSpec, arch);\n core.debug(`checking cache: ${cachePath}`);\n if (fs.existsSync(cachePath) && fs.existsSync(`${cachePath}.complete`)) {\n core.debug(`Found tool in cache ${toolName} ${versionSpec} ${arch}`);\n toolPath = cachePath;\n }\n else {\n core.debug('not found');\n }\n }\n return toolPath;\n}\n/**\n * Finds the paths to all versions of a tool that are installed in the local tool cache\n *\n * @param toolName name of the tool\n * @param arch optional arch. defaults to arch of computer\n */\nfunction findAllVersions(toolName, arch) {\n const versions = [];\n arch = arch || os.arch();\n const toolPath = path.join(_getCacheDirectory(), toolName);\n if (fs.existsSync(toolPath)) {\n const children = fs.readdirSync(toolPath);\n for (const child of children) {\n if (isExplicitVersion(child)) {\n const fullPath = path.join(toolPath, child, arch || '');\n if (fs.existsSync(fullPath) && fs.existsSync(`${fullPath}.complete`)) {\n versions.push(child);\n }\n }\n }\n }\n return versions;\n}\nfunction getManifestFromRepo(owner_1, repo_1, auth_1) {\n return __awaiter(this, arguments, void 0, function* (owner, repo, auth, branch = 'master') {\n let releases = [];\n const treeUrl = `https://api.github.com/repos/${owner}/${repo}/git/trees/${branch}`;\n const http = new httpm.HttpClient('tool-cache');\n const headers = {};\n if (auth) {\n core.debug('set auth');\n headers.authorization = auth;\n }\n const response = yield http.getJson(treeUrl, headers);\n if (!response.result) {\n return releases;\n }\n let manifestUrl = '';\n for (const item of response.result.tree) {\n if (item.path === 'versions-manifest.json') {\n manifestUrl = item.url;\n break;\n }\n }\n headers['accept'] = 'application/vnd.github.VERSION.raw';\n let versionsRaw = yield (yield http.get(manifestUrl, headers)).readBody();\n if (versionsRaw) {\n // shouldn't be needed but protects against invalid json saved with BOM\n versionsRaw = versionsRaw.replace(/^\\uFEFF/, '');\n try {\n releases = JSON.parse(versionsRaw);\n }\n catch (_a) {\n core.debug('Invalid json');\n }\n }\n return releases;\n });\n}\nfunction findFromManifest(versionSpec_1, stable_1, manifest_1) {\n return __awaiter(this, arguments, void 0, function* (versionSpec, stable, manifest, archFilter = os.arch()) {\n // wrap the internal impl\n const match = yield mm._findMatch(versionSpec, stable, manifest, archFilter);\n return match;\n });\n}\nfunction _createExtractFolder(dest) {\n return __awaiter(this, void 0, void 0, function* () {\n if (!dest) {\n // create a temp dir\n dest = path.join(_getTempDirectory(), crypto.randomUUID());\n }\n yield io.mkdirP(dest);\n return dest;\n });\n}\nfunction _createToolPath(tool, version, arch) {\n return __awaiter(this, void 0, void 0, function* () {\n const folderPath = path.join(_getCacheDirectory(), tool, semver.clean(version) || version, arch || '');\n core.debug(`destination ${folderPath}`);\n const markerPath = `${folderPath}.complete`;\n yield io.rmRF(folderPath);\n yield io.rmRF(markerPath);\n yield io.mkdirP(folderPath);\n return folderPath;\n });\n}\nfunction _completeToolPath(tool, version, arch) {\n const folderPath = path.join(_getCacheDirectory(), tool, semver.clean(version) || version, arch || '');\n const markerPath = `${folderPath}.complete`;\n fs.writeFileSync(markerPath, '');\n core.debug('finished caching tool');\n}\n/**\n * Check if version string is explicit\n *\n * @param versionSpec version string to check\n */\nfunction isExplicitVersion(versionSpec) {\n const c = semver.clean(versionSpec) || '';\n core.debug(`isExplicit: ${c}`);\n const valid = semver.valid(c) != null;\n core.debug(`explicit? ${valid}`);\n return valid;\n}\n/**\n * Get the highest satisfiying semantic version in `versions` which satisfies `versionSpec`\n *\n * @param versions array of versions to evaluate\n * @param versionSpec semantic version spec to satisfy\n */\nfunction evaluateVersions(versions, versionSpec) {\n let version = '';\n core.debug(`evaluating ${versions.length} versions`);\n versions = versions.sort((a, b) => {\n if (semver.gt(a, b)) {\n return 1;\n }\n return -1;\n });\n for (let i = versions.length - 1; i >= 0; i--) {\n const potential = versions[i];\n const satisfied = semver.satisfies(potential, versionSpec);\n if (satisfied) {\n version = potential;\n break;\n }\n }\n if (version) {\n core.debug(`matched: ${version}`);\n }\n else {\n core.debug('match not found');\n }\n return version;\n}\n/**\n * Gets RUNNER_TOOL_CACHE\n */\nfunction _getCacheDirectory() {\n const cacheDirectory = process.env['RUNNER_TOOL_CACHE'] || '';\n (0, assert_1.ok)(cacheDirectory, 'Expected RUNNER_TOOL_CACHE to be defined');\n return cacheDirectory;\n}\n/**\n * Gets RUNNER_TEMP\n */\nfunction _getTempDirectory() {\n const tempDirectory = process.env['RUNNER_TEMP'] || '';\n (0, assert_1.ok)(tempDirectory, 'Expected RUNNER_TEMP to be defined');\n return tempDirectory;\n}\n/**\n * Gets a global variable\n */\nfunction _getGlobal(key, defaultValue) {\n /* eslint-disable @typescript-eslint/no-explicit-any */\n const value = global[key];\n /* eslint-enable @typescript-eslint/no-explicit-any */\n return value !== undefined ? value : defaultValue;\n}\n/**\n * Returns an array of unique values.\n * @param values Values to make unique.\n */\nfunction _unique(values) {\n return Array.from(new Set(values));\n}\n//# sourceMappingURL=tool-cache.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.issueCommand = issueCommand;\nexports.issue = issue;\nconst os = __importStar(require(\"os\"));\nconst utils_1 = require(\"./utils\");\n/**\n * Issues a command to the GitHub Actions runner\n *\n * @param command - The command name to issue\n * @param properties - Additional properties for the command (key-value pairs)\n * @param message - The message to include with the command\n * @remarks\n * This function outputs a specially formatted string to stdout that the Actions\n * runner interprets as a command. These commands can control workflow behavior,\n * set outputs, create annotations, mask values, and more.\n *\n * Command Format:\n * ::name key=value,key=value::message\n *\n * @example\n * ```typescript\n * // Issue a warning annotation\n * issueCommand('warning', {}, 'This is a warning message');\n * // Output: ::warning::This is a warning message\n *\n * // Set an environment variable\n * issueCommand('set-env', { name: 'MY_VAR' }, 'some value');\n * // Output: ::set-env name=MY_VAR::some value\n *\n * // Add a secret mask\n * issueCommand('add-mask', {}, 'secretValue123');\n * // Output: ::add-mask::secretValue123\n * ```\n *\n * @internal\n * This is an internal utility function that powers the public API functions\n * such as setSecret, warning, error, and exportVariable.\n */\nfunction issueCommand(command, properties, message) {\n const cmd = new Command(command, properties, message);\n process.stdout.write(cmd.toString() + os.EOL);\n}\nfunction issue(name, message = '') {\n issueCommand(name, {}, message);\n}\nconst CMD_STRING = '::';\nclass Command {\n constructor(command, properties, message) {\n if (!command) {\n command = 'missing.command';\n }\n this.command = command;\n this.properties = properties;\n this.message = message;\n }\n toString() {\n let cmdStr = CMD_STRING + this.command;\n if (this.properties && Object.keys(this.properties).length > 0) {\n cmdStr += ' ';\n let first = true;\n for (const key in this.properties) {\n if (this.properties.hasOwnProperty(key)) {\n const val = this.properties[key];\n if (val) {\n if (first) {\n first = false;\n }\n else {\n cmdStr += ',';\n }\n cmdStr += `${key}=${escapeProperty(val)}`;\n }\n }\n }\n }\n cmdStr += `${CMD_STRING}${escapeData(this.message)}`;\n return cmdStr;\n }\n}\nfunction escapeData(s) {\n return (0, utils_1.toCommandValue)(s)\n .replace(/%/g, '%25')\n .replace(/\\r/g, '%0D')\n .replace(/\\n/g, '%0A');\n}\nfunction escapeProperty(s) {\n return (0, utils_1.toCommandValue)(s)\n .replace(/%/g, '%25')\n .replace(/\\r/g, '%0D')\n .replace(/\\n/g, '%0A')\n .replace(/:/g, '%3A')\n .replace(/,/g, '%2C');\n}\n//# sourceMappingURL=command.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.platform = exports.toPlatformPath = exports.toWin32Path = exports.toPosixPath = exports.markdownSummary = exports.summary = exports.ExitCode = void 0;\nexports.exportVariable = exportVariable;\nexports.setSecret = setSecret;\nexports.addPath = addPath;\nexports.getInput = getInput;\nexports.getMultilineInput = getMultilineInput;\nexports.getBooleanInput = getBooleanInput;\nexports.setOutput = setOutput;\nexports.setCommandEcho = setCommandEcho;\nexports.setFailed = setFailed;\nexports.isDebug = isDebug;\nexports.debug = debug;\nexports.error = error;\nexports.warning = warning;\nexports.notice = notice;\nexports.info = info;\nexports.startGroup = startGroup;\nexports.endGroup = endGroup;\nexports.group = group;\nexports.saveState = saveState;\nexports.getState = getState;\nexports.getIDToken = getIDToken;\nconst command_1 = require(\"./command\");\nconst file_command_1 = require(\"./file-command\");\nconst utils_1 = require(\"./utils\");\nconst os = __importStar(require(\"os\"));\nconst path = __importStar(require(\"path\"));\nconst oidc_utils_1 = require(\"./oidc-utils\");\n/**\n * The code to exit an action\n */\nvar ExitCode;\n(function (ExitCode) {\n /**\n * A code indicating that the action was successful\n */\n ExitCode[ExitCode[\"Success\"] = 0] = \"Success\";\n /**\n * A code indicating that the action was a failure\n */\n ExitCode[ExitCode[\"Failure\"] = 1] = \"Failure\";\n})(ExitCode || (exports.ExitCode = ExitCode = {}));\n//-----------------------------------------------------------------------\n// Variables\n//-----------------------------------------------------------------------\n/**\n * Sets env variable for this action and future actions in the job\n * @param name the name of the variable to set\n * @param val the value of the variable. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction exportVariable(name, val) {\n const convertedVal = (0, utils_1.toCommandValue)(val);\n process.env[name] = convertedVal;\n const filePath = process.env['GITHUB_ENV'] || '';\n if (filePath) {\n return (0, file_command_1.issueFileCommand)('ENV', (0, file_command_1.prepareKeyValueMessage)(name, val));\n }\n (0, command_1.issueCommand)('set-env', { name }, convertedVal);\n}\n/**\n * Registers a secret which will get masked from logs\n *\n * @param secret - Value of the secret to be masked\n * @remarks\n * This function instructs the Actions runner to mask the specified value in any\n * logs produced during the workflow run. Once registered, the secret value will\n * be replaced with asterisks (***) whenever it appears in console output, logs,\n * or error messages.\n *\n * This is useful for protecting sensitive information such as:\n * - API keys\n * - Access tokens\n * - Authentication credentials\n * - URL parameters containing signatures (SAS tokens)\n *\n * Note that masking only affects future logs; any previous appearances of the\n * secret in logs before calling this function will remain unmasked.\n *\n * @example\n * ```typescript\n * // Register an API token as a secret\n * const apiToken = \"abc123xyz456\";\n * setSecret(apiToken);\n *\n * // Now any logs containing this value will show *** instead\n * console.log(`Using token: ${apiToken}`); // Outputs: \"Using token: ***\"\n * ```\n */\nfunction setSecret(secret) {\n (0, command_1.issueCommand)('add-mask', {}, secret);\n}\n/**\n * Prepends inputPath to the PATH (for this action and future actions)\n * @param inputPath\n */\nfunction addPath(inputPath) {\n const filePath = process.env['GITHUB_PATH'] || '';\n if (filePath) {\n (0, file_command_1.issueFileCommand)('PATH', inputPath);\n }\n else {\n (0, command_1.issueCommand)('add-path', {}, inputPath);\n }\n process.env['PATH'] = `${inputPath}${path.delimiter}${process.env['PATH']}`;\n}\n/**\n * Gets the value of an input.\n * Unless trimWhitespace is set to false in InputOptions, the value is also trimmed.\n * Returns an empty string if the value is not defined.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string\n */\nfunction getInput(name, options) {\n const val = process.env[`INPUT_${name.replace(/ /g, '_').toUpperCase()}`] || '';\n if (options && options.required && !val) {\n throw new Error(`Input required and not supplied: ${name}`);\n }\n if (options && options.trimWhitespace === false) {\n return val;\n }\n return val.trim();\n}\n/**\n * Gets the values of an multiline input. Each value is also trimmed.\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns string[]\n *\n */\nfunction getMultilineInput(name, options) {\n const inputs = getInput(name, options)\n .split('\\n')\n .filter(x => x !== '');\n if (options && options.trimWhitespace === false) {\n return inputs;\n }\n return inputs.map(input => input.trim());\n}\n/**\n * Gets the input value of the boolean type in the YAML 1.2 \"core schema\" specification.\n * Support boolean input list: `true | True | TRUE | false | False | FALSE` .\n * The return value is also in boolean type.\n * ref: https://yaml.org/spec/1.2/spec.html#id2804923\n *\n * @param name name of the input to get\n * @param options optional. See InputOptions.\n * @returns boolean\n */\nfunction getBooleanInput(name, options) {\n const trueValue = ['true', 'True', 'TRUE'];\n const falseValue = ['false', 'False', 'FALSE'];\n const val = getInput(name, options);\n if (trueValue.includes(val))\n return true;\n if (falseValue.includes(val))\n return false;\n throw new TypeError(`Input does not meet YAML 1.2 \"Core Schema\" specification: ${name}\\n` +\n `Support boolean input list: \\`true | True | TRUE | false | False | FALSE\\``);\n}\n/**\n * Sets the value of an output.\n *\n * @param name name of the output to set\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction setOutput(name, value) {\n const filePath = process.env['GITHUB_OUTPUT'] || '';\n if (filePath) {\n return (0, file_command_1.issueFileCommand)('OUTPUT', (0, file_command_1.prepareKeyValueMessage)(name, value));\n }\n process.stdout.write(os.EOL);\n (0, command_1.issueCommand)('set-output', { name }, (0, utils_1.toCommandValue)(value));\n}\n/**\n * Enables or disables the echoing of commands into stdout for the rest of the step.\n * Echoing is disabled by default if ACTIONS_STEP_DEBUG is not set.\n *\n */\nfunction setCommandEcho(enabled) {\n (0, command_1.issue)('echo', enabled ? 'on' : 'off');\n}\n//-----------------------------------------------------------------------\n// Results\n//-----------------------------------------------------------------------\n/**\n * Sets the action status to failed.\n * When the action exits it will be with an exit code of 1\n * @param message add error issue message\n */\nfunction setFailed(message) {\n process.exitCode = ExitCode.Failure;\n error(message);\n}\n//-----------------------------------------------------------------------\n// Logging Commands\n//-----------------------------------------------------------------------\n/**\n * Gets whether Actions Step Debug is on or not\n */\nfunction isDebug() {\n return process.env['RUNNER_DEBUG'] === '1';\n}\n/**\n * Writes debug message to user log\n * @param message debug message\n */\nfunction debug(message) {\n (0, command_1.issueCommand)('debug', {}, message);\n}\n/**\n * Adds an error issue\n * @param message error issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction error(message, properties = {}) {\n (0, command_1.issueCommand)('error', (0, utils_1.toCommandProperties)(properties), message instanceof Error ? message.toString() : message);\n}\n/**\n * Adds a warning issue\n * @param message warning issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction warning(message, properties = {}) {\n (0, command_1.issueCommand)('warning', (0, utils_1.toCommandProperties)(properties), message instanceof Error ? message.toString() : message);\n}\n/**\n * Adds a notice issue\n * @param message notice issue message. Errors will be converted to string via toString()\n * @param properties optional properties to add to the annotation.\n */\nfunction notice(message, properties = {}) {\n (0, command_1.issueCommand)('notice', (0, utils_1.toCommandProperties)(properties), message instanceof Error ? message.toString() : message);\n}\n/**\n * Writes info to log with console.log.\n * @param message info message\n */\nfunction info(message) {\n process.stdout.write(message + os.EOL);\n}\n/**\n * Begin an output group.\n *\n * Output until the next `groupEnd` will be foldable in this group\n *\n * @param name The name of the output group\n */\nfunction startGroup(name) {\n (0, command_1.issue)('group', name);\n}\n/**\n * End an output group.\n */\nfunction endGroup() {\n (0, command_1.issue)('endgroup');\n}\n/**\n * Wrap an asynchronous function call in a group.\n *\n * Returns the same type as the function itself.\n *\n * @param name The name of the group\n * @param fn The function to wrap in the group\n */\nfunction group(name, fn) {\n return __awaiter(this, void 0, void 0, function* () {\n startGroup(name);\n let result;\n try {\n result = yield fn();\n }\n finally {\n endGroup();\n }\n return result;\n });\n}\n//-----------------------------------------------------------------------\n// Wrapper action state\n//-----------------------------------------------------------------------\n/**\n * Saves state for current action, the state can only be retrieved by this action's post job execution.\n *\n * @param name name of the state to store\n * @param value value to store. Non-string values will be converted to a string via JSON.stringify\n */\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nfunction saveState(name, value) {\n const filePath = process.env['GITHUB_STATE'] || '';\n if (filePath) {\n return (0, file_command_1.issueFileCommand)('STATE', (0, file_command_1.prepareKeyValueMessage)(name, value));\n }\n (0, command_1.issueCommand)('save-state', { name }, (0, utils_1.toCommandValue)(value));\n}\n/**\n * Gets the value of an state set by this action's main execution.\n *\n * @param name name of the state to get\n * @returns string\n */\nfunction getState(name) {\n return process.env[`STATE_${name}`] || '';\n}\nfunction getIDToken(aud) {\n return __awaiter(this, void 0, void 0, function* () {\n return yield oidc_utils_1.OidcClient.getIDToken(aud);\n });\n}\n/**\n * Summary exports\n */\nvar summary_1 = require(\"./summary\");\nObject.defineProperty(exports, \"summary\", { enumerable: true, get: function () { return summary_1.summary; } });\n/**\n * @deprecated use core.summary\n */\nvar summary_2 = require(\"./summary\");\nObject.defineProperty(exports, \"markdownSummary\", { enumerable: true, get: function () { return summary_2.markdownSummary; } });\n/**\n * Path exports\n */\nvar path_utils_1 = require(\"./path-utils\");\nObject.defineProperty(exports, \"toPosixPath\", { enumerable: true, get: function () { return path_utils_1.toPosixPath; } });\nObject.defineProperty(exports, \"toWin32Path\", { enumerable: true, get: function () { return path_utils_1.toWin32Path; } });\nObject.defineProperty(exports, \"toPlatformPath\", { enumerable: true, get: function () { return path_utils_1.toPlatformPath; } });\n/**\n * Platform utilities exports\n */\nexports.platform = __importStar(require(\"./platform\"));\n//# sourceMappingURL=core.js.map","\"use strict\";\n// For internal use, subject to change.\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.issueFileCommand = issueFileCommand;\nexports.prepareKeyValueMessage = prepareKeyValueMessage;\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */\nconst crypto = __importStar(require(\"crypto\"));\nconst fs = __importStar(require(\"fs\"));\nconst os = __importStar(require(\"os\"));\nconst utils_1 = require(\"./utils\");\nfunction issueFileCommand(command, message) {\n const filePath = process.env[`GITHUB_${command}`];\n if (!filePath) {\n throw new Error(`Unable to find environment variable for file command ${command}`);\n }\n if (!fs.existsSync(filePath)) {\n throw new Error(`Missing file at path: ${filePath}`);\n }\n fs.appendFileSync(filePath, `${(0, utils_1.toCommandValue)(message)}${os.EOL}`, {\n encoding: 'utf8'\n });\n}\nfunction prepareKeyValueMessage(key, value) {\n const delimiter = `ghadelimiter_${crypto.randomUUID()}`;\n const convertedValue = (0, utils_1.toCommandValue)(value);\n // These should realistically never happen, but just in case someone finds a\n // way to exploit uuid generation let's not allow keys or values that contain\n // the delimiter.\n if (key.includes(delimiter)) {\n throw new Error(`Unexpected input: name should not contain the delimiter \"${delimiter}\"`);\n }\n if (convertedValue.includes(delimiter)) {\n throw new Error(`Unexpected input: value should not contain the delimiter \"${delimiter}\"`);\n }\n return `${key}<<${delimiter}${os.EOL}${convertedValue}${os.EOL}${delimiter}`;\n}\n//# sourceMappingURL=file-command.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.OidcClient = void 0;\nconst http_client_1 = require(\"@actions/http-client\");\nconst auth_1 = require(\"@actions/http-client/lib/auth\");\nconst core_1 = require(\"./core\");\nclass OidcClient {\n static createHttpClient(allowRetry = true, maxRetry = 10) {\n const requestOptions = {\n allowRetries: allowRetry,\n maxRetries: maxRetry\n };\n return new http_client_1.HttpClient('actions/oidc-client', [new auth_1.BearerCredentialHandler(OidcClient.getRequestToken())], requestOptions);\n }\n static getRequestToken() {\n const token = process.env['ACTIONS_ID_TOKEN_REQUEST_TOKEN'];\n if (!token) {\n throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_TOKEN env variable');\n }\n return token;\n }\n static getIDTokenUrl() {\n const runtimeUrl = process.env['ACTIONS_ID_TOKEN_REQUEST_URL'];\n if (!runtimeUrl) {\n throw new Error('Unable to get ACTIONS_ID_TOKEN_REQUEST_URL env variable');\n }\n return runtimeUrl;\n }\n static getCall(id_token_url) {\n return __awaiter(this, void 0, void 0, function* () {\n var _a;\n const httpclient = OidcClient.createHttpClient();\n const res = yield httpclient\n .getJson(id_token_url)\n .catch(error => {\n throw new Error(`Failed to get ID Token. \\n \n Error Code : ${error.statusCode}\\n \n Error Message: ${error.message}`);\n });\n const id_token = (_a = res.result) === null || _a === void 0 ? void 0 : _a.value;\n if (!id_token) {\n throw new Error('Response json body do not have ID Token field');\n }\n return id_token;\n });\n }\n static getIDToken(audience) {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n // New ID Token is requested from action service\n let id_token_url = OidcClient.getIDTokenUrl();\n if (audience) {\n const encodedAudience = encodeURIComponent(audience);\n id_token_url = `${id_token_url}&audience=${encodedAudience}`;\n }\n (0, core_1.debug)(`ID token url is ${id_token_url}`);\n const id_token = yield OidcClient.getCall(id_token_url);\n (0, core_1.setSecret)(id_token);\n return id_token;\n }\n catch (error) {\n throw new Error(`Error message: ${error.message}`);\n }\n });\n }\n}\nexports.OidcClient = OidcClient;\n//# sourceMappingURL=oidc-utils.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toPosixPath = toPosixPath;\nexports.toWin32Path = toWin32Path;\nexports.toPlatformPath = toPlatformPath;\nconst path = __importStar(require(\"path\"));\n/**\n * toPosixPath converts the given path to the posix form. On Windows, \\\\ will be\n * replaced with /.\n *\n * @param pth. Path to transform.\n * @return string Posix path.\n */\nfunction toPosixPath(pth) {\n return pth.replace(/[\\\\]/g, '/');\n}\n/**\n * toWin32Path converts the given path to the win32 form. On Linux, / will be\n * replaced with \\\\.\n *\n * @param pth. Path to transform.\n * @return string Win32 path.\n */\nfunction toWin32Path(pth) {\n return pth.replace(/[/]/g, '\\\\');\n}\n/**\n * toPlatformPath converts the given path to a platform-specific path. It does\n * this by replacing instances of / and \\ with the platform-specific path\n * separator.\n *\n * @param pth The path to platformize.\n * @return string The platform-specific path.\n */\nfunction toPlatformPath(pth) {\n return pth.replace(/[/\\\\]/g, path.sep);\n}\n//# sourceMappingURL=path-utils.js.map","\"use strict\";\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isLinux = exports.isMacOS = exports.isWindows = exports.arch = exports.platform = void 0;\nexports.getDetails = getDetails;\nconst os_1 = __importDefault(require(\"os\"));\nconst exec = __importStar(require(\"@actions/exec\"));\nconst getWindowsInfo = () => __awaiter(void 0, void 0, void 0, function* () {\n const { stdout: version } = yield exec.getExecOutput('powershell -command \"(Get-CimInstance -ClassName Win32_OperatingSystem).Version\"', undefined, {\n silent: true\n });\n const { stdout: name } = yield exec.getExecOutput('powershell -command \"(Get-CimInstance -ClassName Win32_OperatingSystem).Caption\"', undefined, {\n silent: true\n });\n return {\n name: name.trim(),\n version: version.trim()\n };\n});\nconst getMacOsInfo = () => __awaiter(void 0, void 0, void 0, function* () {\n var _a, _b, _c, _d;\n const { stdout } = yield exec.getExecOutput('sw_vers', undefined, {\n silent: true\n });\n const version = (_b = (_a = stdout.match(/ProductVersion:\\s*(.+)/)) === null || _a === void 0 ? void 0 : _a[1]) !== null && _b !== void 0 ? _b : '';\n const name = (_d = (_c = stdout.match(/ProductName:\\s*(.+)/)) === null || _c === void 0 ? void 0 : _c[1]) !== null && _d !== void 0 ? _d : '';\n return {\n name,\n version\n };\n});\nconst getLinuxInfo = () => __awaiter(void 0, void 0, void 0, function* () {\n const { stdout } = yield exec.getExecOutput('lsb_release', ['-i', '-r', '-s'], {\n silent: true\n });\n const [name, version] = stdout.trim().split('\\n');\n return {\n name,\n version\n };\n});\nexports.platform = os_1.default.platform();\nexports.arch = os_1.default.arch();\nexports.isWindows = exports.platform === 'win32';\nexports.isMacOS = exports.platform === 'darwin';\nexports.isLinux = exports.platform === 'linux';\nfunction getDetails() {\n return __awaiter(this, void 0, void 0, function* () {\n return Object.assign(Object.assign({}, (yield (exports.isWindows\n ? getWindowsInfo()\n : exports.isMacOS\n ? getMacOsInfo()\n : getLinuxInfo()))), { platform: exports.platform,\n arch: exports.arch,\n isWindows: exports.isWindows,\n isMacOS: exports.isMacOS,\n isLinux: exports.isLinux });\n });\n}\n//# sourceMappingURL=platform.js.map","\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.summary = exports.markdownSummary = exports.SUMMARY_DOCS_URL = exports.SUMMARY_ENV_VAR = void 0;\nconst os_1 = require(\"os\");\nconst fs_1 = require(\"fs\");\nconst { access, appendFile, writeFile } = fs_1.promises;\nexports.SUMMARY_ENV_VAR = 'GITHUB_STEP_SUMMARY';\nexports.SUMMARY_DOCS_URL = 'https://docs.github.com/actions/using-workflows/workflow-commands-for-github-actions#adding-a-job-summary';\nclass Summary {\n constructor() {\n this._buffer = '';\n }\n /**\n * Finds the summary file path from the environment, rejects if env var is not found or file does not exist\n * Also checks r/w permissions.\n *\n * @returns step summary file path\n */\n filePath() {\n return __awaiter(this, void 0, void 0, function* () {\n if (this._filePath) {\n return this._filePath;\n }\n const pathFromEnv = process.env[exports.SUMMARY_ENV_VAR];\n if (!pathFromEnv) {\n throw new Error(`Unable to find environment variable for $${exports.SUMMARY_ENV_VAR}. Check if your runtime environment supports job summaries.`);\n }\n try {\n yield access(pathFromEnv, fs_1.constants.R_OK | fs_1.constants.W_OK);\n }\n catch (_a) {\n throw new Error(`Unable to access summary file: '${pathFromEnv}'. Check if the file has correct read/write permissions.`);\n }\n this._filePath = pathFromEnv;\n return this._filePath;\n });\n }\n /**\n * Wraps content in an HTML tag, adding any HTML attributes\n *\n * @param {string} tag HTML tag to wrap\n * @param {string | null} content content within the tag\n * @param {[attribute: string]: string} attrs key-value list of HTML attributes to add\n *\n * @returns {string} content wrapped in HTML element\n */\n wrap(tag, content, attrs = {}) {\n const htmlAttrs = Object.entries(attrs)\n .map(([key, value]) => ` ${key}=\"${value}\"`)\n .join('');\n if (!content) {\n return `<${tag}${htmlAttrs}>`;\n }\n return `<${tag}${htmlAttrs}>${content}`;\n }\n /**\n * Writes text in the buffer to the summary buffer file and empties buffer. Will append by default.\n *\n * @param {SummaryWriteOptions} [options] (optional) options for write operation\n *\n * @returns {Promise} summary instance\n */\n write(options) {\n return __awaiter(this, void 0, void 0, function* () {\n const overwrite = !!(options === null || options === void 0 ? void 0 : options.overwrite);\n const filePath = yield this.filePath();\n const writeFunc = overwrite ? writeFile : appendFile;\n yield writeFunc(filePath, this._buffer, { encoding: 'utf8' });\n return this.emptyBuffer();\n });\n }\n /**\n * Clears the summary buffer and wipes the summary file\n *\n * @returns {Summary} summary instance\n */\n clear() {\n return __awaiter(this, void 0, void 0, function* () {\n return this.emptyBuffer().write({ overwrite: true });\n });\n }\n /**\n * Returns the current summary buffer as a string\n *\n * @returns {string} string of summary buffer\n */\n stringify() {\n return this._buffer;\n }\n /**\n * If the summary buffer is empty\n *\n * @returns {boolen} true if the buffer is empty\n */\n isEmptyBuffer() {\n return this._buffer.length === 0;\n }\n /**\n * Resets the summary buffer without writing to summary file\n *\n * @returns {Summary} summary instance\n */\n emptyBuffer() {\n this._buffer = '';\n return this;\n }\n /**\n * Adds raw text to the summary buffer\n *\n * @param {string} text content to add\n * @param {boolean} [addEOL=false] (optional) append an EOL to the raw text (default: false)\n *\n * @returns {Summary} summary instance\n */\n addRaw(text, addEOL = false) {\n this._buffer += text;\n return addEOL ? this.addEOL() : this;\n }\n /**\n * Adds the operating system-specific end-of-line marker to the buffer\n *\n * @returns {Summary} summary instance\n */\n addEOL() {\n return this.addRaw(os_1.EOL);\n }\n /**\n * Adds an HTML codeblock to the summary buffer\n *\n * @param {string} code content to render within fenced code block\n * @param {string} lang (optional) language to syntax highlight code\n *\n * @returns {Summary} summary instance\n */\n addCodeBlock(code, lang) {\n const attrs = Object.assign({}, (lang && { lang }));\n const element = this.wrap('pre', this.wrap('code', code), attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML list to the summary buffer\n *\n * @param {string[]} items list of items to render\n * @param {boolean} [ordered=false] (optional) if the rendered list should be ordered or not (default: false)\n *\n * @returns {Summary} summary instance\n */\n addList(items, ordered = false) {\n const tag = ordered ? 'ol' : 'ul';\n const listItems = items.map(item => this.wrap('li', item)).join('');\n const element = this.wrap(tag, listItems);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML table to the summary buffer\n *\n * @param {SummaryTableCell[]} rows table rows\n *\n * @returns {Summary} summary instance\n */\n addTable(rows) {\n const tableBody = rows\n .map(row => {\n const cells = row\n .map(cell => {\n if (typeof cell === 'string') {\n return this.wrap('td', cell);\n }\n const { header, data, colspan, rowspan } = cell;\n const tag = header ? 'th' : 'td';\n const attrs = Object.assign(Object.assign({}, (colspan && { colspan })), (rowspan && { rowspan }));\n return this.wrap(tag, data, attrs);\n })\n .join('');\n return this.wrap('tr', cells);\n })\n .join('');\n const element = this.wrap('table', tableBody);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds a collapsable HTML details element to the summary buffer\n *\n * @param {string} label text for the closed state\n * @param {string} content collapsable content\n *\n * @returns {Summary} summary instance\n */\n addDetails(label, content) {\n const element = this.wrap('details', this.wrap('summary', label) + content);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML image tag to the summary buffer\n *\n * @param {string} src path to the image you to embed\n * @param {string} alt text description of the image\n * @param {SummaryImageOptions} options (optional) addition image attributes\n *\n * @returns {Summary} summary instance\n */\n addImage(src, alt, options) {\n const { width, height } = options || {};\n const attrs = Object.assign(Object.assign({}, (width && { width })), (height && { height }));\n const element = this.wrap('img', null, Object.assign({ src, alt }, attrs));\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML section heading element\n *\n * @param {string} text heading text\n * @param {number | string} [level=1] (optional) the heading level, default: 1\n *\n * @returns {Summary} summary instance\n */\n addHeading(text, level) {\n const tag = `h${level}`;\n const allowedTag = ['h1', 'h2', 'h3', 'h4', 'h5', 'h6'].includes(tag)\n ? tag\n : 'h1';\n const element = this.wrap(allowedTag, text);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML thematic break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */\n addSeparator() {\n const element = this.wrap('hr', null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML line break (
) to the summary buffer\n *\n * @returns {Summary} summary instance\n */\n addBreak() {\n const element = this.wrap('br', null);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML blockquote to the summary buffer\n *\n * @param {string} text quote text\n * @param {string} cite (optional) citation url\n *\n * @returns {Summary} summary instance\n */\n addQuote(text, cite) {\n const attrs = Object.assign({}, (cite && { cite }));\n const element = this.wrap('blockquote', text, attrs);\n return this.addRaw(element).addEOL();\n }\n /**\n * Adds an HTML anchor tag to the summary buffer\n *\n * @param {string} text link text/content\n * @param {string} href hyperlink\n *\n * @returns {Summary} summary instance\n */\n addLink(text, href) {\n const element = this.wrap('a', text, { href });\n return this.addRaw(element).addEOL();\n }\n}\nconst _summary = new Summary();\n/**\n * @deprecated use `core.summary`\n */\nexports.markdownSummary = _summary;\nexports.summary = _summary;\n//# sourceMappingURL=summary.js.map","\"use strict\";\n// We use any as a valid input type\n/* eslint-disable @typescript-eslint/no-explicit-any */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.toCommandValue = toCommandValue;\nexports.toCommandProperties = toCommandProperties;\n/**\n * Sanitizes an input into a string so it can be passed into issueCommand safely\n * @param input input to sanitize into a string\n */\nfunction toCommandValue(input) {\n if (input === null || input === undefined) {\n return '';\n }\n else if (typeof input === 'string' || input instanceof String) {\n return input;\n }\n return JSON.stringify(input);\n}\n/**\n *\n * @param annotationProperties\n * @returns The command properties to send with the actual annotation command\n * See IssueCommandProperties: https://github.com/actions/runner/blob/main/src/Runner.Worker/ActionCommandManager.cs#L646\n */\nfunction toCommandProperties(annotationProperties) {\n if (!Object.keys(annotationProperties).length) {\n return {};\n }\n return {\n title: annotationProperties.title,\n file: annotationProperties.file,\n line: annotationProperties.startLine,\n endLine: annotationProperties.endLine,\n col: annotationProperties.startColumn,\n endColumn: annotationProperties.endColumn\n };\n}\n//# sourceMappingURL=utils.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthSchemeConfig = exports.defaultECRPUBLICHttpAuthSchemeProvider = exports.defaultECRPUBLICHttpAuthSchemeParametersProvider = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_middleware_1 = require(\"@smithy/util-middleware\");\nconst defaultECRPUBLICHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: (0, util_middleware_1.getSmithyContext)(context).operation,\n region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nexports.defaultECRPUBLICHttpAuthSchemeParametersProvider = defaultECRPUBLICHttpAuthSchemeParametersProvider;\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"ecr-public\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nconst defaultECRPUBLICHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexports.defaultECRPUBLICHttpAuthSchemeProvider = defaultECRPUBLICHttpAuthSchemeProvider;\nconst resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);\n return Object.assign(config_0, {\n authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),\n });\n};\nexports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defaultEndpointResolver = void 0;\nconst util_endpoints_1 = require(\"@aws-sdk/util-endpoints\");\nconst util_endpoints_2 = require(\"@smithy/util-endpoints\");\nconst ruleset_1 = require(\"./ruleset\");\nconst cache = new util_endpoints_2.EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\"],\n});\nconst defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\nexports.defaultEndpointResolver = defaultEndpointResolver;\nutil_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ruleSet = void 0;\nconst u = \"required\", v = \"fn\", w = \"argv\", x = \"ref\";\nconst a = true, b = \"isSet\", c = \"booleanEquals\", d = \"error\", e = \"endpoint\", f = \"tree\", g = \"PartitionResult\", h = \"getAttr\", i = { [u]: false, \"type\": \"string\" }, j = { [u]: true, \"default\": false, \"type\": \"boolean\" }, k = { [x]: \"Endpoint\" }, l = { [v]: c, [w]: [{ [x]: \"UseFIPS\" }, true] }, m = { [v]: c, [w]: [{ [x]: \"UseDualStack\" }, true] }, n = {}, o = { [v]: h, [w]: [{ [x]: g }, \"supportsFIPS\"] }, p = { [x]: g }, q = { [v]: c, [w]: [true, { [v]: h, [w]: [p, \"supportsDualStack\"] }] }, r = [l], s = [m], t = [{ [x]: \"Region\" }];\nconst _data = { version: \"1.0\", parameters: { Region: i, UseDualStack: j, UseFIPS: j, Endpoint: i }, rules: [{ conditions: [{ [v]: b, [w]: [k] }], rules: [{ conditions: r, error: \"Invalid Configuration: FIPS and custom endpoint are not supported\", type: d }, { conditions: s, error: \"Invalid Configuration: Dualstack and custom endpoint are not supported\", type: d }, { endpoint: { url: k, properties: n, headers: n }, type: e }], type: f }, { conditions: [{ [v]: b, [w]: t }], rules: [{ conditions: [{ [v]: \"aws.partition\", [w]: t, assign: g }], rules: [{ conditions: [l, m], rules: [{ conditions: [{ [v]: c, [w]: [a, o] }, q], rules: [{ endpoint: { url: \"https://api.ecr-public-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"FIPS and DualStack are enabled, but this partition does not support one or both\", type: d }], type: f }, { conditions: r, rules: [{ conditions: [{ [v]: c, [w]: [o, a] }], rules: [{ endpoint: { url: \"https://api.ecr-public-fips.{Region}.{PartitionResult#dnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"FIPS is enabled but this partition does not support FIPS\", type: d }], type: f }, { conditions: s, rules: [{ conditions: [q], rules: [{ conditions: [{ [v]: \"stringEquals\", [w]: [\"aws\", { [v]: h, [w]: [p, \"name\"] }] }], endpoint: { url: \"https://ecr-public.{Region}.api.aws\", properties: n, headers: n }, type: e }, { endpoint: { url: \"https://api.ecr-public.{Region}.{PartitionResult#dualStackDnsSuffix}\", properties: n, headers: n }, type: e }], type: f }, { error: \"DualStack is enabled but this partition does not support DualStack\", type: d }], type: f }, { endpoint: { url: \"https://api.ecr-public.{Region}.{PartitionResult#dnsSuffix}\", properties: n, headers: n }, type: e }], type: f }], type: f }, { error: \"Invalid Configuration: Missing Region\", type: d }] };\nexports.ruleSet = _data;\n","'use strict';\n\nvar middlewareHostHeader = require('@aws-sdk/middleware-host-header');\nvar middlewareLogger = require('@aws-sdk/middleware-logger');\nvar middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');\nvar middlewareUserAgent = require('@aws-sdk/middleware-user-agent');\nvar configResolver = require('@smithy/config-resolver');\nvar core = require('@smithy/core');\nvar schema = require('@smithy/core/schema');\nvar middlewareContentLength = require('@smithy/middleware-content-length');\nvar middlewareEndpoint = require('@smithy/middleware-endpoint');\nvar middlewareRetry = require('@smithy/middleware-retry');\nvar smithyClient = require('@smithy/smithy-client');\nvar httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');\nvar runtimeConfig = require('./runtimeConfig');\nvar regionConfigResolver = require('@aws-sdk/region-config-resolver');\nvar protocolHttp = require('@smithy/protocol-http');\n\nconst resolveClientEndpointParameters = (options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n defaultSigningName: \"ecr-public\",\n });\n};\nconst commonParams = {\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" },\n};\n\nconst getHttpAuthExtensionConfiguration = (runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n }\n else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n },\n };\n};\nconst resolveHttpAuthRuntimeConfig = (config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials(),\n };\n};\n\nconst resolveRuntimeExtensions = (runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));\n};\n\nclass ECRPUBLICClient extends smithyClient.Client {\n config;\n constructor(...[configuration]) {\n const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = resolveClientEndpointParameters(_config_0);\n const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);\n const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);\n const _config_4 = configResolver.resolveRegionConfig(_config_3);\n const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);\n const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);\n const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);\n const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));\n this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));\n this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));\n this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));\n this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));\n this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));\n this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));\n this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {\n httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultECRPUBLICHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials,\n }),\n }));\n this.middlewareStack.use(core.getHttpSigningPlugin(this.config));\n }\n destroy() {\n super.destroy();\n }\n}\n\nclass ECRPUBLICServiceException extends smithyClient.ServiceException {\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, ECRPUBLICServiceException.prototype);\n }\n}\n\nclass InvalidParameterException extends ECRPUBLICServiceException {\n name = \"InvalidParameterException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"InvalidParameterException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, InvalidParameterException.prototype);\n }\n}\nclass RegistryNotFoundException extends ECRPUBLICServiceException {\n name = \"RegistryNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"RegistryNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, RegistryNotFoundException.prototype);\n }\n}\nclass RepositoryNotFoundException extends ECRPUBLICServiceException {\n name = \"RepositoryNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"RepositoryNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, RepositoryNotFoundException.prototype);\n }\n}\nclass ServerException extends ECRPUBLICServiceException {\n name = \"ServerException\";\n $fault = \"server\";\n constructor(opts) {\n super({\n name: \"ServerException\",\n $fault: \"server\",\n ...opts,\n });\n Object.setPrototypeOf(this, ServerException.prototype);\n }\n}\nclass UnsupportedCommandException extends ECRPUBLICServiceException {\n name = \"UnsupportedCommandException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"UnsupportedCommandException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, UnsupportedCommandException.prototype);\n }\n}\nclass EmptyUploadException extends ECRPUBLICServiceException {\n name = \"EmptyUploadException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"EmptyUploadException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, EmptyUploadException.prototype);\n }\n}\nclass InvalidLayerException extends ECRPUBLICServiceException {\n name = \"InvalidLayerException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"InvalidLayerException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, InvalidLayerException.prototype);\n }\n}\nclass LayerAlreadyExistsException extends ECRPUBLICServiceException {\n name = \"LayerAlreadyExistsException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"LayerAlreadyExistsException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, LayerAlreadyExistsException.prototype);\n }\n}\nclass LayerPartTooSmallException extends ECRPUBLICServiceException {\n name = \"LayerPartTooSmallException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"LayerPartTooSmallException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, LayerPartTooSmallException.prototype);\n }\n}\nclass UploadNotFoundException extends ECRPUBLICServiceException {\n name = \"UploadNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"UploadNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, UploadNotFoundException.prototype);\n }\n}\nclass InvalidTagParameterException extends ECRPUBLICServiceException {\n name = \"InvalidTagParameterException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"InvalidTagParameterException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, InvalidTagParameterException.prototype);\n }\n}\nclass LimitExceededException extends ECRPUBLICServiceException {\n name = \"LimitExceededException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"LimitExceededException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, LimitExceededException.prototype);\n }\n}\nclass RepositoryAlreadyExistsException extends ECRPUBLICServiceException {\n name = \"RepositoryAlreadyExistsException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"RepositoryAlreadyExistsException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, RepositoryAlreadyExistsException.prototype);\n }\n}\nclass TooManyTagsException extends ECRPUBLICServiceException {\n name = \"TooManyTagsException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"TooManyTagsException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, TooManyTagsException.prototype);\n }\n}\nclass RepositoryNotEmptyException extends ECRPUBLICServiceException {\n name = \"RepositoryNotEmptyException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"RepositoryNotEmptyException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, RepositoryNotEmptyException.prototype);\n }\n}\nclass RepositoryPolicyNotFoundException extends ECRPUBLICServiceException {\n name = \"RepositoryPolicyNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"RepositoryPolicyNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, RepositoryPolicyNotFoundException.prototype);\n }\n}\nclass ImageNotFoundException extends ECRPUBLICServiceException {\n name = \"ImageNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"ImageNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ImageNotFoundException.prototype);\n }\n}\nclass RepositoryCatalogDataNotFoundException extends ECRPUBLICServiceException {\n name = \"RepositoryCatalogDataNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"RepositoryCatalogDataNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, RepositoryCatalogDataNotFoundException.prototype);\n }\n}\nclass ImageAlreadyExistsException extends ECRPUBLICServiceException {\n name = \"ImageAlreadyExistsException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"ImageAlreadyExistsException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ImageAlreadyExistsException.prototype);\n }\n}\nclass ImageDigestDoesNotMatchException extends ECRPUBLICServiceException {\n name = \"ImageDigestDoesNotMatchException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"ImageDigestDoesNotMatchException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ImageDigestDoesNotMatchException.prototype);\n }\n}\nclass ImageTagAlreadyExistsException extends ECRPUBLICServiceException {\n name = \"ImageTagAlreadyExistsException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"ImageTagAlreadyExistsException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ImageTagAlreadyExistsException.prototype);\n }\n}\nclass InvalidLayerPartException extends ECRPUBLICServiceException {\n name = \"InvalidLayerPartException\";\n $fault = \"client\";\n registryId;\n repositoryName;\n uploadId;\n lastValidByteReceived;\n constructor(opts) {\n super({\n name: \"InvalidLayerPartException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, InvalidLayerPartException.prototype);\n this.registryId = opts.registryId;\n this.repositoryName = opts.repositoryName;\n this.uploadId = opts.uploadId;\n this.lastValidByteReceived = opts.lastValidByteReceived;\n }\n}\nclass LayersNotFoundException extends ECRPUBLICServiceException {\n name = \"LayersNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"LayersNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, LayersNotFoundException.prototype);\n }\n}\nclass ReferencedImagesNotFoundException extends ECRPUBLICServiceException {\n name = \"ReferencedImagesNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"ReferencedImagesNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ReferencedImagesNotFoundException.prototype);\n }\n}\n\nconst _AD = \"AuthorizationData\";\nconst _BCLA = \"BatchCheckLayerAvailability\";\nconst _BCLAR = \"BatchCheckLayerAvailabilityRequest\";\nconst _BCLARa = \"BatchCheckLayerAvailabilityResponse\";\nconst _BDI = \"BatchDeleteImage\";\nconst _BDIR = \"BatchDeleteImageRequest\";\nconst _BDIRa = \"BatchDeleteImageResponse\";\nconst _CLU = \"CompleteLayerUpload\";\nconst _CLUR = \"CompleteLayerUploadRequest\";\nconst _CLURo = \"CompleteLayerUploadResponse\";\nconst _CR = \"CreateRepository\";\nconst _CRR = \"CreateRepositoryRequest\";\nconst _CRRr = \"CreateRepositoryResponse\";\nconst _DI = \"DescribeImages\";\nconst _DIR = \"DescribeImagesRequest\";\nconst _DIRe = \"DescribeImagesResponse\";\nconst _DIT = \"DescribeImageTags\";\nconst _DITR = \"DescribeImageTagsRequest\";\nconst _DITRe = \"DescribeImageTagsResponse\";\nconst _DR = \"DeleteRepository\";\nconst _DRP = \"DeleteRepositoryPolicy\";\nconst _DRPR = \"DeleteRepositoryPolicyRequest\";\nconst _DRPRe = \"DeleteRepositoryPolicyResponse\";\nconst _DRR = \"DeleteRepositoryRequest\";\nconst _DRRe = \"DeleteRepositoryResponse\";\nconst _DRRes = \"DescribeRegistriesRequest\";\nconst _DRResc = \"DescribeRegistriesResponse\";\nconst _DRRescr = \"DescribeRepositoriesRequest\";\nconst _DRRescri = \"DescribeRepositoriesResponse\";\nconst _DRe = \"DescribeRegistries\";\nconst _DRes = \"DescribeRepositories\";\nconst _EUE = \"EmptyUploadException\";\nconst _GAT = \"GetAuthorizationToken\";\nconst _GATR = \"GetAuthorizationTokenRequest\";\nconst _GATRe = \"GetAuthorizationTokenResponse\";\nconst _GRCD = \"GetRegistryCatalogData\";\nconst _GRCDR = \"GetRegistryCatalogDataRequest\";\nconst _GRCDRe = \"GetRegistryCatalogDataResponse\";\nconst _GRCDRet = \"GetRepositoryCatalogDataRequest\";\nconst _GRCDRete = \"GetRepositoryCatalogDataResponse\";\nconst _GRCDe = \"GetRepositoryCatalogData\";\nconst _GRP = \"GetRepositoryPolicy\";\nconst _GRPR = \"GetRepositoryPolicyRequest\";\nconst _GRPRe = \"GetRepositoryPolicyResponse\";\nconst _I = \"Image\";\nconst _IAEE = \"ImageAlreadyExistsException\";\nconst _ID = \"ImageDetail\";\nconst _IDDNME = \"ImageDigestDoesNotMatchException\";\nconst _IDL = \"ImageDetailList\";\nconst _IF = \"ImageFailure\";\nconst _IFL = \"ImageFailureList\";\nconst _II = \"ImageIdentifier\";\nconst _IIL = \"ImageIdentifierList\";\nconst _ILE = \"InvalidLayerException\";\nconst _ILPE = \"InvalidLayerPartException\";\nconst _ILU = \"InitiateLayerUpload\";\nconst _ILUR = \"InitiateLayerUploadRequest\";\nconst _ILURn = \"InitiateLayerUploadResponse\";\nconst _INFE = \"ImageNotFoundException\";\nconst _IPE = \"InvalidParameterException\";\nconst _ITAEE = \"ImageTagAlreadyExistsException\";\nconst _ITD = \"ImageTagDetail\";\nconst _ITDL = \"ImageTagDetailList\";\nconst _ITPE = \"InvalidTagParameterException\";\nconst _K = \"Key\";\nconst _L = \"Layer\";\nconst _LAEE = \"LayerAlreadyExistsException\";\nconst _LEE = \"LimitExceededException\";\nconst _LF = \"LayerFailure\";\nconst _LFL = \"LayerFailureList\";\nconst _LL = \"LayerList\";\nconst _LNFE = \"LayersNotFoundException\";\nconst _LPTSE = \"LayerPartTooSmallException\";\nconst _LTFR = \"ListTagsForResource\";\nconst _LTFRR = \"ListTagsForResourceRequest\";\nconst _LTFRRi = \"ListTagsForResourceResponse\";\nconst _PI = \"PutImage\";\nconst _PIR = \"PutImageRequest\";\nconst _PIRu = \"PutImageResponse\";\nconst _PRCD = \"PutRegistryCatalogData\";\nconst _PRCDR = \"PutRegistryCatalogDataRequest\";\nconst _PRCDRu = \"PutRegistryCatalogDataResponse\";\nconst _PRCDRut = \"PutRepositoryCatalogDataRequest\";\nconst _PRCDRute = \"PutRepositoryCatalogDataResponse\";\nconst _PRCDu = \"PutRepositoryCatalogData\";\nconst _R = \"Registry\";\nconst _RA = \"RegistryAlias\";\nconst _RAEE = \"RepositoryAlreadyExistsException\";\nconst _RAL = \"RegistryAliasList\";\nconst _RCD = \"RegistryCatalogData\";\nconst _RCDI = \"RepositoryCatalogDataInput\";\nconst _RCDNFE = \"RepositoryCatalogDataNotFoundException\";\nconst _RCDe = \"RepositoryCatalogData\";\nconst _RID = \"ReferencedImageDetail\";\nconst _RINFE = \"ReferencedImagesNotFoundException\";\nconst _RL = \"RegistryList\";\nconst _RLe = \"RepositoryList\";\nconst _RNEE = \"RepositoryNotEmptyException\";\nconst _RNFE = \"RegistryNotFoundException\";\nconst _RNFEe = \"RepositoryNotFoundException\";\nconst _RPNFE = \"RepositoryPolicyNotFoundException\";\nconst _Re = \"Repository\";\nconst _SE = \"ServerException\";\nconst _SRP = \"SetRepositoryPolicy\";\nconst _SRPR = \"SetRepositoryPolicyRequest\";\nconst _SRPRe = \"SetRepositoryPolicyResponse\";\nconst _T = \"Tag\";\nconst _TL = \"TagList\";\nconst _TMTE = \"TooManyTagsException\";\nconst _TR = \"TagResource\";\nconst _TRR = \"TagResourceRequest\";\nconst _TRRa = \"TagResourceResponse\";\nconst _UCE = \"UnsupportedCommandException\";\nconst _ULP = \"UploadLayerPart\";\nconst _ULPR = \"UploadLayerPartRequest\";\nconst _ULPRp = \"UploadLayerPartResponse\";\nconst _UNFE = \"UploadNotFoundException\";\nconst _UR = \"UntagResource\";\nconst _URR = \"UntagResourceRequest\";\nconst _URRn = \"UntagResourceResponse\";\nconst _V = \"Value\";\nconst _a = \"aliases\";\nconst _aD = \"authorizationData\";\nconst _aMT = \"artifactMediaType\";\nconst _aT = \"authorizationToken\";\nconst _aTb = \"aboutText\";\nconst _ar = \"architectures\";\nconst _c = \"client\";\nconst _cA = \"createdAt\";\nconst _cD = \"catalogData\";\nconst _d = \"description\";\nconst _dN = \"displayName\";\nconst _dRA = \"defaultRegistryAlias\";\nconst _e = \"error\";\nconst _eA = \"expiresAt\";\nconst _f = \"failures\";\nconst _fC = \"failureCode\";\nconst _fR = \"failureReason\";\nconst _fo = \"force\";\nconst _i = \"image\";\nconst _iD = \"imageDetails\";\nconst _iDm = \"imageDigest\";\nconst _iDma = \"imageDetail\";\nconst _iI = \"imageIds\";\nconst _iIm = \"imageId\";\nconst _iM = \"imageManifest\";\nconst _iMMT = \"imageManifestMediaType\";\nconst _iPA = \"imagePushedAt\";\nconst _iSIB = \"imageSizeInBytes\";\nconst _iT = \"imageTags\";\nconst _iTD = \"imageTagDetails\";\nconst _iTm = \"imageTag\";\nconst _l = \"layers\";\nconst _lA = \"layerAvailability\";\nconst _lBR = \"lastByteReceived\";\nconst _lD = \"layerDigests\";\nconst _lDa = \"layerDigest\";\nconst _lIB = \"logoImageBlob\";\nconst _lPB = \"layerPartBlob\";\nconst _lS = \"layerSize\";\nconst _lU = \"logoUrl\";\nconst _lVBR = \"lastValidByteReceived\";\nconst _m = \"message\";\nconst _mC = \"marketplaceCertified\";\nconst _mR = \"maxResults\";\nconst _mT = \"mediaType\";\nconst _n = \"name\";\nconst _nT = \"nextToken\";\nconst _oS = \"operatingSystems\";\nconst _pFB = \"partFirstByte\";\nconst _pLB = \"partLastByte\";\nconst _pRA = \"primaryRegistryAlias\";\nconst _pS = \"partSize\";\nconst _pT = \"policyText\";\nconst _r = \"repository\";\nconst _rA = \"resourceArn\";\nconst _rAe = \"registryArn\";\nconst _rAep = \"repositoryArn\";\nconst _rCD = \"registryCatalogData\";\nconst _rI = \"registryId\";\nconst _rN = \"repositoryName\";\nconst _rNe = \"repositoryNames\";\nconst _rU = \"registryUri\";\nconst _rUe = \"repositoryUri\";\nconst _re = \"registries\";\nconst _rep = \"repositories\";\nconst _s = \"status\";\nconst _se = \"server\";\nconst _sm = \"smithy.ts.sdk.synthetic.com.amazonaws.ecrpublic\";\nconst _t = \"tags\";\nconst _tK = \"tagKeys\";\nconst _uI = \"uploadId\";\nconst _uT = \"usageText\";\nconst _v = \"verified\";\nconst n0 = \"com.amazonaws.ecrpublic\";\nvar AuthorizationData$ = [3, n0, _AD,\n 0,\n [_aT, _eA],\n [0, 4]\n];\nvar BatchCheckLayerAvailabilityRequest$ = [3, n0, _BCLAR,\n 0,\n [_rN, _lD, _rI],\n [0, 64 | 0, 0], 2\n];\nvar BatchCheckLayerAvailabilityResponse$ = [3, n0, _BCLARa,\n 0,\n [_l, _f],\n [() => LayerList, () => LayerFailureList]\n];\nvar BatchDeleteImageRequest$ = [3, n0, _BDIR,\n 0,\n [_rN, _iI, _rI],\n [0, () => ImageIdentifierList, 0], 2\n];\nvar BatchDeleteImageResponse$ = [3, n0, _BDIRa,\n 0,\n [_iI, _f],\n [() => ImageIdentifierList, () => ImageFailureList]\n];\nvar CompleteLayerUploadRequest$ = [3, n0, _CLUR,\n 0,\n [_rN, _uI, _lD, _rI],\n [0, 0, 64 | 0, 0], 3\n];\nvar CompleteLayerUploadResponse$ = [3, n0, _CLURo,\n 0,\n [_rI, _rN, _uI, _lDa],\n [0, 0, 0, 0]\n];\nvar CreateRepositoryRequest$ = [3, n0, _CRR,\n 0,\n [_rN, _cD, _t],\n [0, () => RepositoryCatalogDataInput$, () => TagList], 1\n];\nvar CreateRepositoryResponse$ = [3, n0, _CRRr,\n 0,\n [_r, _cD],\n [() => Repository$, () => RepositoryCatalogData$]\n];\nvar DeleteRepositoryPolicyRequest$ = [3, n0, _DRPR,\n 0,\n [_rN, _rI],\n [0, 0], 1\n];\nvar DeleteRepositoryPolicyResponse$ = [3, n0, _DRPRe,\n 0,\n [_rI, _rN, _pT],\n [0, 0, 0]\n];\nvar DeleteRepositoryRequest$ = [3, n0, _DRR,\n 0,\n [_rN, _rI, _fo],\n [0, 0, 2], 1\n];\nvar DeleteRepositoryResponse$ = [3, n0, _DRRe,\n 0,\n [_r],\n [() => Repository$]\n];\nvar DescribeImagesRequest$ = [3, n0, _DIR,\n 0,\n [_rN, _rI, _iI, _nT, _mR],\n [0, 0, () => ImageIdentifierList, 0, 1], 1\n];\nvar DescribeImagesResponse$ = [3, n0, _DIRe,\n 0,\n [_iD, _nT],\n [() => ImageDetailList, 0]\n];\nvar DescribeImageTagsRequest$ = [3, n0, _DITR,\n 0,\n [_rN, _rI, _nT, _mR],\n [0, 0, 0, 1], 1\n];\nvar DescribeImageTagsResponse$ = [3, n0, _DITRe,\n 0,\n [_iTD, _nT],\n [() => ImageTagDetailList, 0]\n];\nvar DescribeRegistriesRequest$ = [3, n0, _DRRes,\n 0,\n [_nT, _mR],\n [0, 1]\n];\nvar DescribeRegistriesResponse$ = [3, n0, _DRResc,\n 0,\n [_re, _nT],\n [() => RegistryList, 0], 1\n];\nvar DescribeRepositoriesRequest$ = [3, n0, _DRRescr,\n 0,\n [_rI, _rNe, _nT, _mR],\n [0, 64 | 0, 0, 1]\n];\nvar DescribeRepositoriesResponse$ = [3, n0, _DRRescri,\n 0,\n [_rep, _nT],\n [() => RepositoryList, 0]\n];\nvar EmptyUploadException$ = [-3, n0, _EUE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(EmptyUploadException$, EmptyUploadException);\nvar GetAuthorizationTokenRequest$ = [3, n0, _GATR,\n 0,\n [],\n []\n];\nvar GetAuthorizationTokenResponse$ = [3, n0, _GATRe,\n 0,\n [_aD],\n [() => AuthorizationData$]\n];\nvar GetRegistryCatalogDataRequest$ = [3, n0, _GRCDR,\n 0,\n [],\n []\n];\nvar GetRegistryCatalogDataResponse$ = [3, n0, _GRCDRe,\n 0,\n [_rCD],\n [() => RegistryCatalogData$], 1\n];\nvar GetRepositoryCatalogDataRequest$ = [3, n0, _GRCDRet,\n 0,\n [_rN, _rI],\n [0, 0], 1\n];\nvar GetRepositoryCatalogDataResponse$ = [3, n0, _GRCDRete,\n 0,\n [_cD],\n [() => RepositoryCatalogData$]\n];\nvar GetRepositoryPolicyRequest$ = [3, n0, _GRPR,\n 0,\n [_rN, _rI],\n [0, 0], 1\n];\nvar GetRepositoryPolicyResponse$ = [3, n0, _GRPRe,\n 0,\n [_rI, _rN, _pT],\n [0, 0, 0]\n];\nvar Image$ = [3, n0, _I,\n 0,\n [_rI, _rN, _iIm, _iM, _iMMT],\n [0, 0, () => ImageIdentifier$, 0, 0]\n];\nvar ImageAlreadyExistsException$ = [-3, n0, _IAEE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(ImageAlreadyExistsException$, ImageAlreadyExistsException);\nvar ImageDetail$ = [3, n0, _ID,\n 0,\n [_rI, _rN, _iDm, _iT, _iSIB, _iPA, _iMMT, _aMT],\n [0, 0, 0, 64 | 0, 1, 4, 0, 0]\n];\nvar ImageDigestDoesNotMatchException$ = [-3, n0, _IDDNME,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(ImageDigestDoesNotMatchException$, ImageDigestDoesNotMatchException);\nvar ImageFailure$ = [3, n0, _IF,\n 0,\n [_iIm, _fC, _fR],\n [() => ImageIdentifier$, 0, 0]\n];\nvar ImageIdentifier$ = [3, n0, _II,\n 0,\n [_iDm, _iTm],\n [0, 0]\n];\nvar ImageNotFoundException$ = [-3, n0, _INFE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(ImageNotFoundException$, ImageNotFoundException);\nvar ImageTagAlreadyExistsException$ = [-3, n0, _ITAEE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(ImageTagAlreadyExistsException$, ImageTagAlreadyExistsException);\nvar ImageTagDetail$ = [3, n0, _ITD,\n 0,\n [_iTm, _cA, _iDma],\n [0, 4, () => ReferencedImageDetail$]\n];\nvar InitiateLayerUploadRequest$ = [3, n0, _ILUR,\n 0,\n [_rN, _rI],\n [0, 0], 1\n];\nvar InitiateLayerUploadResponse$ = [3, n0, _ILURn,\n 0,\n [_uI, _pS],\n [0, 1]\n];\nvar InvalidLayerException$ = [-3, n0, _ILE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(InvalidLayerException$, InvalidLayerException);\nvar InvalidLayerPartException$ = [-3, n0, _ILPE,\n { [_e]: _c },\n [_rI, _rN, _uI, _lVBR, _m],\n [0, 0, 0, 1, 0]\n];\nschema.TypeRegistry.for(n0).registerError(InvalidLayerPartException$, InvalidLayerPartException);\nvar InvalidParameterException$ = [-3, n0, _IPE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(InvalidParameterException$, InvalidParameterException);\nvar InvalidTagParameterException$ = [-3, n0, _ITPE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(InvalidTagParameterException$, InvalidTagParameterException);\nvar Layer$ = [3, n0, _L,\n 0,\n [_lDa, _lA, _lS, _mT],\n [0, 0, 1, 0]\n];\nvar LayerAlreadyExistsException$ = [-3, n0, _LAEE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(LayerAlreadyExistsException$, LayerAlreadyExistsException);\nvar LayerFailure$ = [3, n0, _LF,\n 0,\n [_lDa, _fC, _fR],\n [0, 0, 0]\n];\nvar LayerPartTooSmallException$ = [-3, n0, _LPTSE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(LayerPartTooSmallException$, LayerPartTooSmallException);\nvar LayersNotFoundException$ = [-3, n0, _LNFE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(LayersNotFoundException$, LayersNotFoundException);\nvar LimitExceededException$ = [-3, n0, _LEE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);\nvar ListTagsForResourceRequest$ = [3, n0, _LTFRR,\n 0,\n [_rA],\n [0], 1\n];\nvar ListTagsForResourceResponse$ = [3, n0, _LTFRRi,\n 0,\n [_t],\n [() => TagList]\n];\nvar PutImageRequest$ = [3, n0, _PIR,\n 0,\n [_rN, _iM, _rI, _iMMT, _iTm, _iDm],\n [0, 0, 0, 0, 0, 0], 2\n];\nvar PutImageResponse$ = [3, n0, _PIRu,\n 0,\n [_i],\n [() => Image$]\n];\nvar PutRegistryCatalogDataRequest$ = [3, n0, _PRCDR,\n 0,\n [_dN],\n [0]\n];\nvar PutRegistryCatalogDataResponse$ = [3, n0, _PRCDRu,\n 0,\n [_rCD],\n [() => RegistryCatalogData$], 1\n];\nvar PutRepositoryCatalogDataRequest$ = [3, n0, _PRCDRut,\n 0,\n [_rN, _cD, _rI],\n [0, () => RepositoryCatalogDataInput$, 0], 2\n];\nvar PutRepositoryCatalogDataResponse$ = [3, n0, _PRCDRute,\n 0,\n [_cD],\n [() => RepositoryCatalogData$]\n];\nvar ReferencedImageDetail$ = [3, n0, _RID,\n 0,\n [_iDm, _iSIB, _iPA, _iMMT, _aMT],\n [0, 1, 4, 0, 0]\n];\nvar ReferencedImagesNotFoundException$ = [-3, n0, _RINFE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(ReferencedImagesNotFoundException$, ReferencedImagesNotFoundException);\nvar Registry$ = [3, n0, _R,\n 0,\n [_rI, _rAe, _rU, _v, _a],\n [0, 0, 0, 2, () => RegistryAliasList], 5\n];\nvar RegistryAlias$ = [3, n0, _RA,\n 0,\n [_n, _s, _pRA, _dRA],\n [0, 0, 2, 2], 4\n];\nvar RegistryCatalogData$ = [3, n0, _RCD,\n 0,\n [_dN],\n [0]\n];\nvar RegistryNotFoundException$ = [-3, n0, _RNFE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(RegistryNotFoundException$, RegistryNotFoundException);\nvar Repository$ = [3, n0, _Re,\n 0,\n [_rAep, _rI, _rN, _rUe, _cA],\n [0, 0, 0, 0, 4]\n];\nvar RepositoryAlreadyExistsException$ = [-3, n0, _RAEE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(RepositoryAlreadyExistsException$, RepositoryAlreadyExistsException);\nvar RepositoryCatalogData$ = [3, n0, _RCDe,\n 0,\n [_d, _ar, _oS, _lU, _aTb, _uT, _mC],\n [0, 64 | 0, 64 | 0, 0, 0, 0, 2]\n];\nvar RepositoryCatalogDataInput$ = [3, n0, _RCDI,\n 0,\n [_d, _ar, _oS, _lIB, _aTb, _uT],\n [0, 64 | 0, 64 | 0, 21, 0, 0]\n];\nvar RepositoryCatalogDataNotFoundException$ = [-3, n0, _RCDNFE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(RepositoryCatalogDataNotFoundException$, RepositoryCatalogDataNotFoundException);\nvar RepositoryNotEmptyException$ = [-3, n0, _RNEE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(RepositoryNotEmptyException$, RepositoryNotEmptyException);\nvar RepositoryNotFoundException$ = [-3, n0, _RNFEe,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(RepositoryNotFoundException$, RepositoryNotFoundException);\nvar RepositoryPolicyNotFoundException$ = [-3, n0, _RPNFE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(RepositoryPolicyNotFoundException$, RepositoryPolicyNotFoundException);\nvar ServerException$ = [-3, n0, _SE,\n { [_e]: _se },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(ServerException$, ServerException);\nvar SetRepositoryPolicyRequest$ = [3, n0, _SRPR,\n 0,\n [_rN, _pT, _rI, _fo],\n [0, 0, 0, 2], 2\n];\nvar SetRepositoryPolicyResponse$ = [3, n0, _SRPRe,\n 0,\n [_rI, _rN, _pT],\n [0, 0, 0]\n];\nvar Tag$ = [3, n0, _T,\n 0,\n [_K, _V],\n [0, 0]\n];\nvar TagResourceRequest$ = [3, n0, _TRR,\n 0,\n [_rA, _t],\n [0, () => TagList], 2\n];\nvar TagResourceResponse$ = [3, n0, _TRRa,\n 0,\n [],\n []\n];\nvar TooManyTagsException$ = [-3, n0, _TMTE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(TooManyTagsException$, TooManyTagsException);\nvar UnsupportedCommandException$ = [-3, n0, _UCE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(UnsupportedCommandException$, UnsupportedCommandException);\nvar UntagResourceRequest$ = [3, n0, _URR,\n 0,\n [_rA, _tK],\n [0, 64 | 0], 2\n];\nvar UntagResourceResponse$ = [3, n0, _URRn,\n 0,\n [],\n []\n];\nvar UploadLayerPartRequest$ = [3, n0, _ULPR,\n 0,\n [_rN, _uI, _pFB, _pLB, _lPB, _rI],\n [0, 0, 1, 1, 21, 0], 5\n];\nvar UploadLayerPartResponse$ = [3, n0, _ULPRp,\n 0,\n [_rI, _rN, _uI, _lBR],\n [0, 0, 0, 1]\n];\nvar UploadNotFoundException$ = [-3, n0, _UNFE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(UploadNotFoundException$, UploadNotFoundException);\nvar ECRPUBLICServiceException$ = [-3, _sm, \"ECRPUBLICServiceException\", 0, [], []];\nschema.TypeRegistry.for(_sm).registerError(ECRPUBLICServiceException$, ECRPUBLICServiceException);\nvar ImageDetailList = [1, n0, _IDL,\n 0, () => ImageDetail$\n];\nvar ImageFailureList = [1, n0, _IFL,\n 0, () => ImageFailure$\n];\nvar ImageIdentifierList = [1, n0, _IIL,\n 0, () => ImageIdentifier$\n];\nvar ImageTagDetailList = [1, n0, _ITDL,\n 0, () => ImageTagDetail$\n];\nvar LayerFailureList = [1, n0, _LFL,\n 0, () => LayerFailure$\n];\nvar LayerList = [1, n0, _LL,\n 0, () => Layer$\n];\nvar RegistryAliasList = [1, n0, _RAL,\n 0, () => RegistryAlias$\n];\nvar RegistryList = [1, n0, _RL,\n 0, () => Registry$\n];\nvar RepositoryList = [1, n0, _RLe,\n 0, () => Repository$\n];\nvar TagList = [1, n0, _TL,\n 0, () => Tag$\n];\nvar BatchCheckLayerAvailability$ = [9, n0, _BCLA,\n 0, () => BatchCheckLayerAvailabilityRequest$, () => BatchCheckLayerAvailabilityResponse$\n];\nvar BatchDeleteImage$ = [9, n0, _BDI,\n 0, () => BatchDeleteImageRequest$, () => BatchDeleteImageResponse$\n];\nvar CompleteLayerUpload$ = [9, n0, _CLU,\n 0, () => CompleteLayerUploadRequest$, () => CompleteLayerUploadResponse$\n];\nvar CreateRepository$ = [9, n0, _CR,\n 0, () => CreateRepositoryRequest$, () => CreateRepositoryResponse$\n];\nvar DeleteRepository$ = [9, n0, _DR,\n 0, () => DeleteRepositoryRequest$, () => DeleteRepositoryResponse$\n];\nvar DeleteRepositoryPolicy$ = [9, n0, _DRP,\n 0, () => DeleteRepositoryPolicyRequest$, () => DeleteRepositoryPolicyResponse$\n];\nvar DescribeImages$ = [9, n0, _DI,\n 0, () => DescribeImagesRequest$, () => DescribeImagesResponse$\n];\nvar DescribeImageTags$ = [9, n0, _DIT,\n 0, () => DescribeImageTagsRequest$, () => DescribeImageTagsResponse$\n];\nvar DescribeRegistries$ = [9, n0, _DRe,\n 0, () => DescribeRegistriesRequest$, () => DescribeRegistriesResponse$\n];\nvar DescribeRepositories$ = [9, n0, _DRes,\n 0, () => DescribeRepositoriesRequest$, () => DescribeRepositoriesResponse$\n];\nvar GetAuthorizationToken$ = [9, n0, _GAT,\n 0, () => GetAuthorizationTokenRequest$, () => GetAuthorizationTokenResponse$\n];\nvar GetRegistryCatalogData$ = [9, n0, _GRCD,\n 0, () => GetRegistryCatalogDataRequest$, () => GetRegistryCatalogDataResponse$\n];\nvar GetRepositoryCatalogData$ = [9, n0, _GRCDe,\n 0, () => GetRepositoryCatalogDataRequest$, () => GetRepositoryCatalogDataResponse$\n];\nvar GetRepositoryPolicy$ = [9, n0, _GRP,\n 0, () => GetRepositoryPolicyRequest$, () => GetRepositoryPolicyResponse$\n];\nvar InitiateLayerUpload$ = [9, n0, _ILU,\n 0, () => InitiateLayerUploadRequest$, () => InitiateLayerUploadResponse$\n];\nvar ListTagsForResource$ = [9, n0, _LTFR,\n 0, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$\n];\nvar PutImage$ = [9, n0, _PI,\n 0, () => PutImageRequest$, () => PutImageResponse$\n];\nvar PutRegistryCatalogData$ = [9, n0, _PRCD,\n 0, () => PutRegistryCatalogDataRequest$, () => PutRegistryCatalogDataResponse$\n];\nvar PutRepositoryCatalogData$ = [9, n0, _PRCDu,\n 0, () => PutRepositoryCatalogDataRequest$, () => PutRepositoryCatalogDataResponse$\n];\nvar SetRepositoryPolicy$ = [9, n0, _SRP,\n 0, () => SetRepositoryPolicyRequest$, () => SetRepositoryPolicyResponse$\n];\nvar TagResource$ = [9, n0, _TR,\n 0, () => TagResourceRequest$, () => TagResourceResponse$\n];\nvar UntagResource$ = [9, n0, _UR,\n 0, () => UntagResourceRequest$, () => UntagResourceResponse$\n];\nvar UploadLayerPart$ = [9, n0, _ULP,\n 0, () => UploadLayerPartRequest$, () => UploadLayerPartResponse$\n];\n\nclass BatchCheckLayerAvailabilityCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"SpencerFrontendService\", \"BatchCheckLayerAvailability\", {})\n .n(\"ECRPUBLICClient\", \"BatchCheckLayerAvailabilityCommand\")\n .sc(BatchCheckLayerAvailability$)\n .build() {\n}\n\nclass BatchDeleteImageCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"SpencerFrontendService\", \"BatchDeleteImage\", {})\n .n(\"ECRPUBLICClient\", \"BatchDeleteImageCommand\")\n .sc(BatchDeleteImage$)\n .build() {\n}\n\nclass CompleteLayerUploadCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"SpencerFrontendService\", \"CompleteLayerUpload\", {})\n .n(\"ECRPUBLICClient\", \"CompleteLayerUploadCommand\")\n .sc(CompleteLayerUpload$)\n .build() {\n}\n\nclass CreateRepositoryCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"SpencerFrontendService\", \"CreateRepository\", {})\n .n(\"ECRPUBLICClient\", \"CreateRepositoryCommand\")\n .sc(CreateRepository$)\n .build() {\n}\n\nclass DeleteRepositoryCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"SpencerFrontendService\", \"DeleteRepository\", {})\n .n(\"ECRPUBLICClient\", \"DeleteRepositoryCommand\")\n .sc(DeleteRepository$)\n .build() {\n}\n\nclass DeleteRepositoryPolicyCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"SpencerFrontendService\", \"DeleteRepositoryPolicy\", {})\n .n(\"ECRPUBLICClient\", \"DeleteRepositoryPolicyCommand\")\n .sc(DeleteRepositoryPolicy$)\n .build() {\n}\n\nclass DescribeImagesCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"SpencerFrontendService\", \"DescribeImages\", {})\n .n(\"ECRPUBLICClient\", \"DescribeImagesCommand\")\n .sc(DescribeImages$)\n .build() {\n}\n\nclass DescribeImageTagsCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"SpencerFrontendService\", \"DescribeImageTags\", {})\n .n(\"ECRPUBLICClient\", \"DescribeImageTagsCommand\")\n .sc(DescribeImageTags$)\n .build() {\n}\n\nclass DescribeRegistriesCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"SpencerFrontendService\", \"DescribeRegistries\", {})\n .n(\"ECRPUBLICClient\", \"DescribeRegistriesCommand\")\n .sc(DescribeRegistries$)\n .build() {\n}\n\nclass DescribeRepositoriesCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"SpencerFrontendService\", \"DescribeRepositories\", {})\n .n(\"ECRPUBLICClient\", \"DescribeRepositoriesCommand\")\n .sc(DescribeRepositories$)\n .build() {\n}\n\nclass GetAuthorizationTokenCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"SpencerFrontendService\", \"GetAuthorizationToken\", {})\n .n(\"ECRPUBLICClient\", \"GetAuthorizationTokenCommand\")\n .sc(GetAuthorizationToken$)\n .build() {\n}\n\nclass GetRegistryCatalogDataCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"SpencerFrontendService\", \"GetRegistryCatalogData\", {})\n .n(\"ECRPUBLICClient\", \"GetRegistryCatalogDataCommand\")\n .sc(GetRegistryCatalogData$)\n .build() {\n}\n\nclass GetRepositoryCatalogDataCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"SpencerFrontendService\", \"GetRepositoryCatalogData\", {})\n .n(\"ECRPUBLICClient\", \"GetRepositoryCatalogDataCommand\")\n .sc(GetRepositoryCatalogData$)\n .build() {\n}\n\nclass GetRepositoryPolicyCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"SpencerFrontendService\", \"GetRepositoryPolicy\", {})\n .n(\"ECRPUBLICClient\", \"GetRepositoryPolicyCommand\")\n .sc(GetRepositoryPolicy$)\n .build() {\n}\n\nclass InitiateLayerUploadCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"SpencerFrontendService\", \"InitiateLayerUpload\", {})\n .n(\"ECRPUBLICClient\", \"InitiateLayerUploadCommand\")\n .sc(InitiateLayerUpload$)\n .build() {\n}\n\nclass ListTagsForResourceCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"SpencerFrontendService\", \"ListTagsForResource\", {})\n .n(\"ECRPUBLICClient\", \"ListTagsForResourceCommand\")\n .sc(ListTagsForResource$)\n .build() {\n}\n\nclass PutImageCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"SpencerFrontendService\", \"PutImage\", {})\n .n(\"ECRPUBLICClient\", \"PutImageCommand\")\n .sc(PutImage$)\n .build() {\n}\n\nclass PutRegistryCatalogDataCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"SpencerFrontendService\", \"PutRegistryCatalogData\", {})\n .n(\"ECRPUBLICClient\", \"PutRegistryCatalogDataCommand\")\n .sc(PutRegistryCatalogData$)\n .build() {\n}\n\nclass PutRepositoryCatalogDataCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"SpencerFrontendService\", \"PutRepositoryCatalogData\", {})\n .n(\"ECRPUBLICClient\", \"PutRepositoryCatalogDataCommand\")\n .sc(PutRepositoryCatalogData$)\n .build() {\n}\n\nclass SetRepositoryPolicyCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"SpencerFrontendService\", \"SetRepositoryPolicy\", {})\n .n(\"ECRPUBLICClient\", \"SetRepositoryPolicyCommand\")\n .sc(SetRepositoryPolicy$)\n .build() {\n}\n\nclass TagResourceCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"SpencerFrontendService\", \"TagResource\", {})\n .n(\"ECRPUBLICClient\", \"TagResourceCommand\")\n .sc(TagResource$)\n .build() {\n}\n\nclass UntagResourceCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"SpencerFrontendService\", \"UntagResource\", {})\n .n(\"ECRPUBLICClient\", \"UntagResourceCommand\")\n .sc(UntagResource$)\n .build() {\n}\n\nclass UploadLayerPartCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"SpencerFrontendService\", \"UploadLayerPart\", {})\n .n(\"ECRPUBLICClient\", \"UploadLayerPartCommand\")\n .sc(UploadLayerPart$)\n .build() {\n}\n\nconst paginateDescribeImages = core.createPaginator(ECRPUBLICClient, DescribeImagesCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\nconst paginateDescribeImageTags = core.createPaginator(ECRPUBLICClient, DescribeImageTagsCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\nconst paginateDescribeRegistries = core.createPaginator(ECRPUBLICClient, DescribeRegistriesCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\nconst paginateDescribeRepositories = core.createPaginator(ECRPUBLICClient, DescribeRepositoriesCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\nconst commands = {\n BatchCheckLayerAvailabilityCommand,\n BatchDeleteImageCommand,\n CompleteLayerUploadCommand,\n CreateRepositoryCommand,\n DeleteRepositoryCommand,\n DeleteRepositoryPolicyCommand,\n DescribeImagesCommand,\n DescribeImageTagsCommand,\n DescribeRegistriesCommand,\n DescribeRepositoriesCommand,\n GetAuthorizationTokenCommand,\n GetRegistryCatalogDataCommand,\n GetRepositoryCatalogDataCommand,\n GetRepositoryPolicyCommand,\n InitiateLayerUploadCommand,\n ListTagsForResourceCommand,\n PutImageCommand,\n PutRegistryCatalogDataCommand,\n PutRepositoryCatalogDataCommand,\n SetRepositoryPolicyCommand,\n TagResourceCommand,\n UntagResourceCommand,\n UploadLayerPartCommand,\n};\nconst paginators = {\n paginateDescribeImages,\n paginateDescribeImageTags,\n paginateDescribeRegistries,\n paginateDescribeRepositories,\n};\nclass ECRPUBLIC extends ECRPUBLICClient {\n}\nsmithyClient.createAggregatedClient(commands, ECRPUBLIC, { paginators });\n\nconst LayerFailureCode = {\n InvalidLayerDigest: \"InvalidLayerDigest\",\n MissingLayerDigest: \"MissingLayerDigest\",\n};\nconst LayerAvailability = {\n AVAILABLE: \"AVAILABLE\",\n UNAVAILABLE: \"UNAVAILABLE\",\n};\nconst ImageFailureCode = {\n ImageNotFound: \"ImageNotFound\",\n ImageReferencedByManifestList: \"ImageReferencedByManifestList\",\n ImageTagDoesNotMatchDigest: \"ImageTagDoesNotMatchDigest\",\n InvalidImageDigest: \"InvalidImageDigest\",\n InvalidImageTag: \"InvalidImageTag\",\n KmsError: \"KmsError\",\n MissingDigestAndTag: \"MissingDigestAndTag\",\n};\nconst RegistryAliasStatus = {\n ACTIVE: \"ACTIVE\",\n PENDING: \"PENDING\",\n REJECTED: \"REJECTED\",\n};\n\nObject.defineProperty(exports, \"$Command\", {\n enumerable: true,\n get: function () { return smithyClient.Command; }\n});\nObject.defineProperty(exports, \"__Client\", {\n enumerable: true,\n get: function () { return smithyClient.Client; }\n});\nexports.AuthorizationData$ = AuthorizationData$;\nexports.BatchCheckLayerAvailability$ = BatchCheckLayerAvailability$;\nexports.BatchCheckLayerAvailabilityCommand = BatchCheckLayerAvailabilityCommand;\nexports.BatchCheckLayerAvailabilityRequest$ = BatchCheckLayerAvailabilityRequest$;\nexports.BatchCheckLayerAvailabilityResponse$ = BatchCheckLayerAvailabilityResponse$;\nexports.BatchDeleteImage$ = BatchDeleteImage$;\nexports.BatchDeleteImageCommand = BatchDeleteImageCommand;\nexports.BatchDeleteImageRequest$ = BatchDeleteImageRequest$;\nexports.BatchDeleteImageResponse$ = BatchDeleteImageResponse$;\nexports.CompleteLayerUpload$ = CompleteLayerUpload$;\nexports.CompleteLayerUploadCommand = CompleteLayerUploadCommand;\nexports.CompleteLayerUploadRequest$ = CompleteLayerUploadRequest$;\nexports.CompleteLayerUploadResponse$ = CompleteLayerUploadResponse$;\nexports.CreateRepository$ = CreateRepository$;\nexports.CreateRepositoryCommand = CreateRepositoryCommand;\nexports.CreateRepositoryRequest$ = CreateRepositoryRequest$;\nexports.CreateRepositoryResponse$ = CreateRepositoryResponse$;\nexports.DeleteRepository$ = DeleteRepository$;\nexports.DeleteRepositoryCommand = DeleteRepositoryCommand;\nexports.DeleteRepositoryPolicy$ = DeleteRepositoryPolicy$;\nexports.DeleteRepositoryPolicyCommand = DeleteRepositoryPolicyCommand;\nexports.DeleteRepositoryPolicyRequest$ = DeleteRepositoryPolicyRequest$;\nexports.DeleteRepositoryPolicyResponse$ = DeleteRepositoryPolicyResponse$;\nexports.DeleteRepositoryRequest$ = DeleteRepositoryRequest$;\nexports.DeleteRepositoryResponse$ = DeleteRepositoryResponse$;\nexports.DescribeImageTags$ = DescribeImageTags$;\nexports.DescribeImageTagsCommand = DescribeImageTagsCommand;\nexports.DescribeImageTagsRequest$ = DescribeImageTagsRequest$;\nexports.DescribeImageTagsResponse$ = DescribeImageTagsResponse$;\nexports.DescribeImages$ = DescribeImages$;\nexports.DescribeImagesCommand = DescribeImagesCommand;\nexports.DescribeImagesRequest$ = DescribeImagesRequest$;\nexports.DescribeImagesResponse$ = DescribeImagesResponse$;\nexports.DescribeRegistries$ = DescribeRegistries$;\nexports.DescribeRegistriesCommand = DescribeRegistriesCommand;\nexports.DescribeRegistriesRequest$ = DescribeRegistriesRequest$;\nexports.DescribeRegistriesResponse$ = DescribeRegistriesResponse$;\nexports.DescribeRepositories$ = DescribeRepositories$;\nexports.DescribeRepositoriesCommand = DescribeRepositoriesCommand;\nexports.DescribeRepositoriesRequest$ = DescribeRepositoriesRequest$;\nexports.DescribeRepositoriesResponse$ = DescribeRepositoriesResponse$;\nexports.ECRPUBLIC = ECRPUBLIC;\nexports.ECRPUBLICClient = ECRPUBLICClient;\nexports.ECRPUBLICServiceException = ECRPUBLICServiceException;\nexports.ECRPUBLICServiceException$ = ECRPUBLICServiceException$;\nexports.EmptyUploadException = EmptyUploadException;\nexports.EmptyUploadException$ = EmptyUploadException$;\nexports.GetAuthorizationToken$ = GetAuthorizationToken$;\nexports.GetAuthorizationTokenCommand = GetAuthorizationTokenCommand;\nexports.GetAuthorizationTokenRequest$ = GetAuthorizationTokenRequest$;\nexports.GetAuthorizationTokenResponse$ = GetAuthorizationTokenResponse$;\nexports.GetRegistryCatalogData$ = GetRegistryCatalogData$;\nexports.GetRegistryCatalogDataCommand = GetRegistryCatalogDataCommand;\nexports.GetRegistryCatalogDataRequest$ = GetRegistryCatalogDataRequest$;\nexports.GetRegistryCatalogDataResponse$ = GetRegistryCatalogDataResponse$;\nexports.GetRepositoryCatalogData$ = GetRepositoryCatalogData$;\nexports.GetRepositoryCatalogDataCommand = GetRepositoryCatalogDataCommand;\nexports.GetRepositoryCatalogDataRequest$ = GetRepositoryCatalogDataRequest$;\nexports.GetRepositoryCatalogDataResponse$ = GetRepositoryCatalogDataResponse$;\nexports.GetRepositoryPolicy$ = GetRepositoryPolicy$;\nexports.GetRepositoryPolicyCommand = GetRepositoryPolicyCommand;\nexports.GetRepositoryPolicyRequest$ = GetRepositoryPolicyRequest$;\nexports.GetRepositoryPolicyResponse$ = GetRepositoryPolicyResponse$;\nexports.Image$ = Image$;\nexports.ImageAlreadyExistsException = ImageAlreadyExistsException;\nexports.ImageAlreadyExistsException$ = ImageAlreadyExistsException$;\nexports.ImageDetail$ = ImageDetail$;\nexports.ImageDigestDoesNotMatchException = ImageDigestDoesNotMatchException;\nexports.ImageDigestDoesNotMatchException$ = ImageDigestDoesNotMatchException$;\nexports.ImageFailure$ = ImageFailure$;\nexports.ImageFailureCode = ImageFailureCode;\nexports.ImageIdentifier$ = ImageIdentifier$;\nexports.ImageNotFoundException = ImageNotFoundException;\nexports.ImageNotFoundException$ = ImageNotFoundException$;\nexports.ImageTagAlreadyExistsException = ImageTagAlreadyExistsException;\nexports.ImageTagAlreadyExistsException$ = ImageTagAlreadyExistsException$;\nexports.ImageTagDetail$ = ImageTagDetail$;\nexports.InitiateLayerUpload$ = InitiateLayerUpload$;\nexports.InitiateLayerUploadCommand = InitiateLayerUploadCommand;\nexports.InitiateLayerUploadRequest$ = InitiateLayerUploadRequest$;\nexports.InitiateLayerUploadResponse$ = InitiateLayerUploadResponse$;\nexports.InvalidLayerException = InvalidLayerException;\nexports.InvalidLayerException$ = InvalidLayerException$;\nexports.InvalidLayerPartException = InvalidLayerPartException;\nexports.InvalidLayerPartException$ = InvalidLayerPartException$;\nexports.InvalidParameterException = InvalidParameterException;\nexports.InvalidParameterException$ = InvalidParameterException$;\nexports.InvalidTagParameterException = InvalidTagParameterException;\nexports.InvalidTagParameterException$ = InvalidTagParameterException$;\nexports.Layer$ = Layer$;\nexports.LayerAlreadyExistsException = LayerAlreadyExistsException;\nexports.LayerAlreadyExistsException$ = LayerAlreadyExistsException$;\nexports.LayerAvailability = LayerAvailability;\nexports.LayerFailure$ = LayerFailure$;\nexports.LayerFailureCode = LayerFailureCode;\nexports.LayerPartTooSmallException = LayerPartTooSmallException;\nexports.LayerPartTooSmallException$ = LayerPartTooSmallException$;\nexports.LayersNotFoundException = LayersNotFoundException;\nexports.LayersNotFoundException$ = LayersNotFoundException$;\nexports.LimitExceededException = LimitExceededException;\nexports.LimitExceededException$ = LimitExceededException$;\nexports.ListTagsForResource$ = ListTagsForResource$;\nexports.ListTagsForResourceCommand = ListTagsForResourceCommand;\nexports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;\nexports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;\nexports.PutImage$ = PutImage$;\nexports.PutImageCommand = PutImageCommand;\nexports.PutImageRequest$ = PutImageRequest$;\nexports.PutImageResponse$ = PutImageResponse$;\nexports.PutRegistryCatalogData$ = PutRegistryCatalogData$;\nexports.PutRegistryCatalogDataCommand = PutRegistryCatalogDataCommand;\nexports.PutRegistryCatalogDataRequest$ = PutRegistryCatalogDataRequest$;\nexports.PutRegistryCatalogDataResponse$ = PutRegistryCatalogDataResponse$;\nexports.PutRepositoryCatalogData$ = PutRepositoryCatalogData$;\nexports.PutRepositoryCatalogDataCommand = PutRepositoryCatalogDataCommand;\nexports.PutRepositoryCatalogDataRequest$ = PutRepositoryCatalogDataRequest$;\nexports.PutRepositoryCatalogDataResponse$ = PutRepositoryCatalogDataResponse$;\nexports.ReferencedImageDetail$ = ReferencedImageDetail$;\nexports.ReferencedImagesNotFoundException = ReferencedImagesNotFoundException;\nexports.ReferencedImagesNotFoundException$ = ReferencedImagesNotFoundException$;\nexports.Registry$ = Registry$;\nexports.RegistryAlias$ = RegistryAlias$;\nexports.RegistryAliasStatus = RegistryAliasStatus;\nexports.RegistryCatalogData$ = RegistryCatalogData$;\nexports.RegistryNotFoundException = RegistryNotFoundException;\nexports.RegistryNotFoundException$ = RegistryNotFoundException$;\nexports.Repository$ = Repository$;\nexports.RepositoryAlreadyExistsException = RepositoryAlreadyExistsException;\nexports.RepositoryAlreadyExistsException$ = RepositoryAlreadyExistsException$;\nexports.RepositoryCatalogData$ = RepositoryCatalogData$;\nexports.RepositoryCatalogDataInput$ = RepositoryCatalogDataInput$;\nexports.RepositoryCatalogDataNotFoundException = RepositoryCatalogDataNotFoundException;\nexports.RepositoryCatalogDataNotFoundException$ = RepositoryCatalogDataNotFoundException$;\nexports.RepositoryNotEmptyException = RepositoryNotEmptyException;\nexports.RepositoryNotEmptyException$ = RepositoryNotEmptyException$;\nexports.RepositoryNotFoundException = RepositoryNotFoundException;\nexports.RepositoryNotFoundException$ = RepositoryNotFoundException$;\nexports.RepositoryPolicyNotFoundException = RepositoryPolicyNotFoundException;\nexports.RepositoryPolicyNotFoundException$ = RepositoryPolicyNotFoundException$;\nexports.ServerException = ServerException;\nexports.ServerException$ = ServerException$;\nexports.SetRepositoryPolicy$ = SetRepositoryPolicy$;\nexports.SetRepositoryPolicyCommand = SetRepositoryPolicyCommand;\nexports.SetRepositoryPolicyRequest$ = SetRepositoryPolicyRequest$;\nexports.SetRepositoryPolicyResponse$ = SetRepositoryPolicyResponse$;\nexports.Tag$ = Tag$;\nexports.TagResource$ = TagResource$;\nexports.TagResourceCommand = TagResourceCommand;\nexports.TagResourceRequest$ = TagResourceRequest$;\nexports.TagResourceResponse$ = TagResourceResponse$;\nexports.TooManyTagsException = TooManyTagsException;\nexports.TooManyTagsException$ = TooManyTagsException$;\nexports.UnsupportedCommandException = UnsupportedCommandException;\nexports.UnsupportedCommandException$ = UnsupportedCommandException$;\nexports.UntagResource$ = UntagResource$;\nexports.UntagResourceCommand = UntagResourceCommand;\nexports.UntagResourceRequest$ = UntagResourceRequest$;\nexports.UntagResourceResponse$ = UntagResourceResponse$;\nexports.UploadLayerPart$ = UploadLayerPart$;\nexports.UploadLayerPartCommand = UploadLayerPartCommand;\nexports.UploadLayerPartRequest$ = UploadLayerPartRequest$;\nexports.UploadLayerPartResponse$ = UploadLayerPartResponse$;\nexports.UploadNotFoundException = UploadNotFoundException;\nexports.UploadNotFoundException$ = UploadNotFoundException$;\nexports.paginateDescribeImageTags = paginateDescribeImageTags;\nexports.paginateDescribeImages = paginateDescribeImages;\nexports.paginateDescribeRegistries = paginateDescribeRegistries;\nexports.paginateDescribeRepositories = paginateDescribeRepositories;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst tslib_1 = require(\"tslib\");\nconst package_json_1 = tslib_1.__importDefault(require(\"../package.json\"));\nconst core_1 = require(\"@aws-sdk/core\");\nconst credential_provider_node_1 = require(\"@aws-sdk/credential-provider-node\");\nconst util_user_agent_node_1 = require(\"@aws-sdk/util-user-agent-node\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst hash_node_1 = require(\"@smithy/hash-node\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_body_length_node_1 = require(\"@smithy/util-body-length-node\");\nconst util_defaults_mode_node_1 = require(\"@smithy/util-defaults-mode-node\");\nconst util_retry_1 = require(\"@smithy/util-retry\");\nconst runtimeConfig_shared_1 = require(\"./runtimeConfig.shared\");\nconst getRuntimeConfig = (config) => {\n (0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);\n const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);\n const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);\n const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);\n (0, core_1.emitWarningIfUnsupportedVersion)(process.version);\n const loaderConfig = {\n profile: config?.profile,\n logger: clientSharedValues.logger,\n };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,\n credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),\n maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n (0, node_config_provider_1.loadConfig)({\n ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst protocols_1 = require(\"@aws-sdk/core/protocols\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst url_parser_1 = require(\"@smithy/url-parser\");\nconst util_base64_1 = require(\"@smithy/util-base64\");\nconst util_utf8_1 = require(\"@smithy/util-utf8\");\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst endpointResolver_1 = require(\"./endpoint/endpointResolver\");\nconst getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2020-10-30\",\n base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,\n base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultECRPUBLICHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n ],\n logger: config?.logger ?? new smithy_client_1.NoOpLogger(),\n protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol,\n protocolSettings: config?.protocolSettings ?? {\n defaultNamespace: \"com.amazonaws.ecrpublic\",\n xmlNamespace: \"http://ecr-public.amazonaws.com/doc/2020-12-02/\",\n version: \"2020-10-30\",\n serviceTarget: \"SpencerFrontendService\",\n },\n serviceId: config?.serviceId ?? \"ECR PUBLIC\",\n urlParser: config?.urlParser ?? url_parser_1.parseUrl,\n utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.resolveHttpAuthSchemeConfig = exports.defaultECRHttpAuthSchemeProvider = exports.defaultECRHttpAuthSchemeParametersProvider = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst util_middleware_1 = require(\"@smithy/util-middleware\");\nconst defaultECRHttpAuthSchemeParametersProvider = async (config, context, input) => {\n return {\n operation: (0, util_middleware_1.getSmithyContext)(context).operation,\n region: await (0, util_middleware_1.normalizeProvider)(config.region)() || (() => {\n throw new Error(\"expected `region` to be configured for `aws.auth#sigv4`\");\n })(),\n };\n};\nexports.defaultECRHttpAuthSchemeParametersProvider = defaultECRHttpAuthSchemeParametersProvider;\nfunction createAwsAuthSigv4HttpAuthOption(authParameters) {\n return {\n schemeId: \"aws.auth#sigv4\",\n signingProperties: {\n name: \"ecr\",\n region: authParameters.region,\n },\n propertiesExtractor: (config, context) => ({\n signingProperties: {\n config,\n context,\n },\n }),\n };\n}\nconst defaultECRHttpAuthSchemeProvider = (authParameters) => {\n const options = [];\n switch (authParameters.operation) {\n default: {\n options.push(createAwsAuthSigv4HttpAuthOption(authParameters));\n }\n }\n return options;\n};\nexports.defaultECRHttpAuthSchemeProvider = defaultECRHttpAuthSchemeProvider;\nconst resolveHttpAuthSchemeConfig = (config) => {\n const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);\n return Object.assign(config_0, {\n authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),\n });\n};\nexports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.defaultEndpointResolver = void 0;\nconst util_endpoints_1 = require(\"@aws-sdk/util-endpoints\");\nconst util_endpoints_2 = require(\"@smithy/util-endpoints\");\nconst ruleset_1 = require(\"./ruleset\");\nconst cache = new util_endpoints_2.EndpointCache({\n size: 50,\n params: [\"Endpoint\", \"Region\", \"UseDualStack\", \"UseFIPS\"],\n});\nconst defaultEndpointResolver = (endpointParams, context = {}) => {\n return cache.get(endpointParams, () => (0, util_endpoints_2.resolveEndpoint)(ruleset_1.ruleSet, {\n endpointParams: endpointParams,\n logger: context.logger,\n }));\n};\nexports.defaultEndpointResolver = defaultEndpointResolver;\nutil_endpoints_2.customEndpointFunctions.aws = util_endpoints_1.awsEndpointFunctions;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.ruleSet = void 0;\nconst E = \"required\", F = \"fn\", G = \"argv\", H = \"ref\", I = \"url\", J = \"properties\", K = \"headers\";\nconst a = true, b = \"isSet\", c = \"booleanEquals\", d = \"error\", e = \"endpoint\", f = \"tree\", g = \"PartitionResult\", h = { [E]: true, \"default\": false, \"type\": \"boolean\" }, i = { [E]: false, \"type\": \"string\" }, j = { [H]: \"Endpoint\" }, k = { [F]: c, [G]: [{ [H]: \"UseFIPS\" }, true] }, l = { [F]: c, [G]: [{ [H]: \"UseDualStack\" }, true] }, m = {}, n = { [F]: \"stringEquals\", [G]: [{ [F]: \"getAttr\", [G]: [{ [H]: g }, \"name\"] }, \"aws\"] }, o = { [F]: c, [G]: [{ [H]: \"UseFIPS\" }, false] }, p = { [F]: c, [G]: [{ [H]: \"UseDualStack\" }, false] }, q = { [I]: \"https://api.ecr.{Region}.{PartitionResult#dnsSuffix}\", [J]: {}, [K]: {} }, r = { [I]: \"https://ecr.{Region}.{PartitionResult#dualStackDnsSuffix}\", [J]: {}, [K]: {} }, s = { [I]: \"https://api.ecr-fips.{Region}.{PartitionResult#dnsSuffix}\", [J]: {}, [K]: {} }, t = { [I]: \"https://ecr-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", [J]: {}, [K]: {} }, u = { [F]: \"stringEquals\", [G]: [{ [F]: \"getAttr\", [G]: [{ [H]: g }, \"name\"] }, \"aws-us-gov\"] }, v = { [F]: \"stringEquals\", [G]: [{ [F]: \"getAttr\", [G]: [{ [H]: g }, \"name\"] }, \"aws-cn\"] }, w = { [F]: \"stringEquals\", [G]: [{ [F]: \"getAttr\", [G]: [{ [H]: g }, \"name\"] }, \"aws-iso\"] }, x = { [F]: \"stringEquals\", [G]: [{ [F]: \"getAttr\", [G]: [{ [H]: g }, \"name\"] }, \"aws-iso-b\"] }, y = { [F]: \"stringEquals\", [G]: [{ [F]: \"getAttr\", [G]: [{ [H]: g }, \"name\"] }, \"aws-iso-e\"] }, z = { [F]: \"stringEquals\", [G]: [{ [F]: \"getAttr\", [G]: [{ [H]: g }, \"name\"] }, \"aws-iso-f\"] }, A = { [F]: \"stringEquals\", [G]: [{ [F]: \"getAttr\", [G]: [{ [H]: g }, \"name\"] }, \"aws-eusc\"] }, B = { [F]: \"getAttr\", [G]: [{ [H]: g }, \"supportsFIPS\"] }, C = { [F]: c, [G]: [true, { [F]: \"getAttr\", [G]: [{ [H]: g }, \"supportsDualStack\"] }] }, D = [{ [H]: \"Region\" }];\nconst _data = { version: \"1.0\", parameters: { UseDualStack: h, UseFIPS: h, Endpoint: i, Region: i }, rules: [{ conditions: [{ [F]: b, [G]: [j] }], rules: [{ conditions: [k], error: \"Invalid Configuration: FIPS and custom endpoint are not supported\", type: d }, { rules: [{ conditions: [l], error: \"Invalid Configuration: Dualstack and custom endpoint are not supported\", type: d }, { endpoint: { [I]: j, [J]: m, [K]: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [F]: b, [G]: D }], rules: [{ conditions: [{ [F]: \"aws.partition\", [G]: D, assign: g }], rules: [{ conditions: [n, o, p], endpoint: q, type: e }, { conditions: [n, o, l], endpoint: r, type: e }, { conditions: [n, k, p], endpoint: s, type: e }, { conditions: [n, k, l], endpoint: t, type: e }, { conditions: [u, o, p], endpoint: q, type: e }, { conditions: [u, o, l], endpoint: r, type: e }, { conditions: [u, k, p], endpoint: s, type: e }, { conditions: [u, k, l], endpoint: t, type: e }, { conditions: [v, o, p], endpoint: q, type: e }, { conditions: [v, o, l], endpoint: r, type: e }, { conditions: [v, k, p], endpoint: s, type: e }, { conditions: [v, k, l], endpoint: t, type: e }, { conditions: [w, o, p], endpoint: q, type: e }, { conditions: [w, o, l], endpoint: r, type: e }, { conditions: [w, k, p], endpoint: s, type: e }, { conditions: [w, k, l], endpoint: t, type: e }, { conditions: [x, o, p], endpoint: q, type: e }, { conditions: [x, o, l], endpoint: r, type: e }, { conditions: [x, k, p], endpoint: s, type: e }, { conditions: [x, k, l], endpoint: t, type: e }, { conditions: [y, o, p], endpoint: q, type: e }, { conditions: [y, o, l], endpoint: r, type: e }, { conditions: [y, k, p], endpoint: s, type: e }, { conditions: [y, k, l], endpoint: t, type: e }, { conditions: [z, o, p], endpoint: q, type: e }, { conditions: [z, o, l], endpoint: r, type: e }, { conditions: [z, k, p], endpoint: s, type: e }, { conditions: [z, k, l], endpoint: t, type: e }, { conditions: [A, o, p], endpoint: q, type: e }, { conditions: [A, o, l], endpoint: r, type: e }, { conditions: [A, k, p], endpoint: s, type: e }, { conditions: [A, k, l], endpoint: t, type: e }, { conditions: [k, l], rules: [{ conditions: [{ [F]: c, [G]: [a, B] }, C], rules: [{ endpoint: { [I]: \"https://api.ecr-fips.{Region}.{PartitionResult#dualStackDnsSuffix}\", [J]: m, [K]: m }, type: e }], type: f }, { error: \"FIPS and DualStack are enabled, but this partition does not support one or both\", type: d }], type: f }, { conditions: [k, p], rules: [{ conditions: [{ [F]: c, [G]: [B, a] }], rules: [{ endpoint: s, type: e }], type: f }, { error: \"FIPS is enabled but this partition does not support FIPS\", type: d }], type: f }, { conditions: [o, l], rules: [{ conditions: [C], rules: [{ endpoint: { [I]: \"https://api.ecr.{Region}.{PartitionResult#dualStackDnsSuffix}\", [J]: m, [K]: m }, type: e }], type: f }, { error: \"DualStack is enabled but this partition does not support DualStack\", type: d }], type: f }, { endpoint: q, type: e }], type: f }], type: f }, { error: \"Invalid Configuration: Missing Region\", type: d }], type: f }] };\nexports.ruleSet = _data;\n","'use strict';\n\nvar middlewareHostHeader = require('@aws-sdk/middleware-host-header');\nvar middlewareLogger = require('@aws-sdk/middleware-logger');\nvar middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');\nvar middlewareUserAgent = require('@aws-sdk/middleware-user-agent');\nvar configResolver = require('@smithy/config-resolver');\nvar core = require('@smithy/core');\nvar schema = require('@smithy/core/schema');\nvar middlewareContentLength = require('@smithy/middleware-content-length');\nvar middlewareEndpoint = require('@smithy/middleware-endpoint');\nvar middlewareRetry = require('@smithy/middleware-retry');\nvar smithyClient = require('@smithy/smithy-client');\nvar httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');\nvar runtimeConfig = require('./runtimeConfig');\nvar regionConfigResolver = require('@aws-sdk/region-config-resolver');\nvar protocolHttp = require('@smithy/protocol-http');\nvar utilWaiter = require('@smithy/util-waiter');\n\nconst resolveClientEndpointParameters = (options) => {\n return Object.assign(options, {\n useDualstackEndpoint: options.useDualstackEndpoint ?? false,\n useFipsEndpoint: options.useFipsEndpoint ?? false,\n defaultSigningName: \"ecr\",\n });\n};\nconst commonParams = {\n UseFIPS: { type: \"builtInParams\", name: \"useFipsEndpoint\" },\n Endpoint: { type: \"builtInParams\", name: \"endpoint\" },\n Region: { type: \"builtInParams\", name: \"region\" },\n UseDualStack: { type: \"builtInParams\", name: \"useDualstackEndpoint\" },\n};\n\nconst getHttpAuthExtensionConfiguration = (runtimeConfig) => {\n const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;\n let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;\n let _credentials = runtimeConfig.credentials;\n return {\n setHttpAuthScheme(httpAuthScheme) {\n const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);\n if (index === -1) {\n _httpAuthSchemes.push(httpAuthScheme);\n }\n else {\n _httpAuthSchemes.splice(index, 1, httpAuthScheme);\n }\n },\n httpAuthSchemes() {\n return _httpAuthSchemes;\n },\n setHttpAuthSchemeProvider(httpAuthSchemeProvider) {\n _httpAuthSchemeProvider = httpAuthSchemeProvider;\n },\n httpAuthSchemeProvider() {\n return _httpAuthSchemeProvider;\n },\n setCredentials(credentials) {\n _credentials = credentials;\n },\n credentials() {\n return _credentials;\n },\n };\n};\nconst resolveHttpAuthRuntimeConfig = (config) => {\n return {\n httpAuthSchemes: config.httpAuthSchemes(),\n httpAuthSchemeProvider: config.httpAuthSchemeProvider(),\n credentials: config.credentials(),\n };\n};\n\nconst resolveRuntimeExtensions = (runtimeConfig, extensions) => {\n const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));\n extensions.forEach((extension) => extension.configure(extensionConfiguration));\n return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));\n};\n\nclass ECRClient extends smithyClient.Client {\n config;\n constructor(...[configuration]) {\n const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});\n super(_config_0);\n this.initConfig = _config_0;\n const _config_1 = resolveClientEndpointParameters(_config_0);\n const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);\n const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);\n const _config_4 = configResolver.resolveRegionConfig(_config_3);\n const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);\n const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);\n const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);\n const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);\n this.config = _config_8;\n this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));\n this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));\n this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));\n this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));\n this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));\n this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));\n this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));\n this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {\n httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultECRHttpAuthSchemeParametersProvider,\n identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({\n \"aws.auth#sigv4\": config.credentials,\n }),\n }));\n this.middlewareStack.use(core.getHttpSigningPlugin(this.config));\n }\n destroy() {\n super.destroy();\n }\n}\n\nclass ECRServiceException extends smithyClient.ServiceException {\n constructor(options) {\n super(options);\n Object.setPrototypeOf(this, ECRServiceException.prototype);\n }\n}\n\nclass InvalidParameterException extends ECRServiceException {\n name = \"InvalidParameterException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"InvalidParameterException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, InvalidParameterException.prototype);\n }\n}\nclass RepositoryNotFoundException extends ECRServiceException {\n name = \"RepositoryNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"RepositoryNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, RepositoryNotFoundException.prototype);\n }\n}\nclass ServerException extends ECRServiceException {\n name = \"ServerException\";\n $fault = \"server\";\n constructor(opts) {\n super({\n name: \"ServerException\",\n $fault: \"server\",\n ...opts,\n });\n Object.setPrototypeOf(this, ServerException.prototype);\n }\n}\nclass LimitExceededException extends ECRServiceException {\n name = \"LimitExceededException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"LimitExceededException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, LimitExceededException.prototype);\n }\n}\nclass UnableToGetUpstreamImageException extends ECRServiceException {\n name = \"UnableToGetUpstreamImageException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"UnableToGetUpstreamImageException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, UnableToGetUpstreamImageException.prototype);\n }\n}\nclass ValidationException extends ECRServiceException {\n name = \"ValidationException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"ValidationException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ValidationException.prototype);\n }\n}\nclass EmptyUploadException extends ECRServiceException {\n name = \"EmptyUploadException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"EmptyUploadException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, EmptyUploadException.prototype);\n }\n}\nclass InvalidLayerException extends ECRServiceException {\n name = \"InvalidLayerException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"InvalidLayerException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, InvalidLayerException.prototype);\n }\n}\nclass KmsException extends ECRServiceException {\n name = \"KmsException\";\n $fault = \"client\";\n kmsError;\n constructor(opts) {\n super({\n name: \"KmsException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, KmsException.prototype);\n this.kmsError = opts.kmsError;\n }\n}\nclass LayerAlreadyExistsException extends ECRServiceException {\n name = \"LayerAlreadyExistsException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"LayerAlreadyExistsException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, LayerAlreadyExistsException.prototype);\n }\n}\nclass LayerPartTooSmallException extends ECRServiceException {\n name = \"LayerPartTooSmallException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"LayerPartTooSmallException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, LayerPartTooSmallException.prototype);\n }\n}\nclass UploadNotFoundException extends ECRServiceException {\n name = \"UploadNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"UploadNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, UploadNotFoundException.prototype);\n }\n}\nclass PullThroughCacheRuleAlreadyExistsException extends ECRServiceException {\n name = \"PullThroughCacheRuleAlreadyExistsException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"PullThroughCacheRuleAlreadyExistsException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, PullThroughCacheRuleAlreadyExistsException.prototype);\n }\n}\nclass SecretNotFoundException extends ECRServiceException {\n name = \"SecretNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"SecretNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, SecretNotFoundException.prototype);\n }\n}\nclass UnableToAccessSecretException extends ECRServiceException {\n name = \"UnableToAccessSecretException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"UnableToAccessSecretException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, UnableToAccessSecretException.prototype);\n }\n}\nclass UnableToDecryptSecretValueException extends ECRServiceException {\n name = \"UnableToDecryptSecretValueException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"UnableToDecryptSecretValueException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, UnableToDecryptSecretValueException.prototype);\n }\n}\nclass UnsupportedUpstreamRegistryException extends ECRServiceException {\n name = \"UnsupportedUpstreamRegistryException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"UnsupportedUpstreamRegistryException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, UnsupportedUpstreamRegistryException.prototype);\n }\n}\nclass InvalidTagParameterException extends ECRServiceException {\n name = \"InvalidTagParameterException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"InvalidTagParameterException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, InvalidTagParameterException.prototype);\n }\n}\nclass RepositoryAlreadyExistsException extends ECRServiceException {\n name = \"RepositoryAlreadyExistsException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"RepositoryAlreadyExistsException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, RepositoryAlreadyExistsException.prototype);\n }\n}\nclass TooManyTagsException extends ECRServiceException {\n name = \"TooManyTagsException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"TooManyTagsException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, TooManyTagsException.prototype);\n }\n}\nclass TemplateAlreadyExistsException extends ECRServiceException {\n name = \"TemplateAlreadyExistsException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"TemplateAlreadyExistsException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, TemplateAlreadyExistsException.prototype);\n }\n}\nclass LifecyclePolicyNotFoundException extends ECRServiceException {\n name = \"LifecyclePolicyNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"LifecyclePolicyNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, LifecyclePolicyNotFoundException.prototype);\n }\n}\nclass PullThroughCacheRuleNotFoundException extends ECRServiceException {\n name = \"PullThroughCacheRuleNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"PullThroughCacheRuleNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, PullThroughCacheRuleNotFoundException.prototype);\n }\n}\nclass RegistryPolicyNotFoundException extends ECRServiceException {\n name = \"RegistryPolicyNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"RegistryPolicyNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, RegistryPolicyNotFoundException.prototype);\n }\n}\nclass RepositoryNotEmptyException extends ECRServiceException {\n name = \"RepositoryNotEmptyException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"RepositoryNotEmptyException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, RepositoryNotEmptyException.prototype);\n }\n}\nclass TemplateNotFoundException extends ECRServiceException {\n name = \"TemplateNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"TemplateNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, TemplateNotFoundException.prototype);\n }\n}\nclass RepositoryPolicyNotFoundException extends ECRServiceException {\n name = \"RepositoryPolicyNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"RepositoryPolicyNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, RepositoryPolicyNotFoundException.prototype);\n }\n}\nclass SigningConfigurationNotFoundException extends ECRServiceException {\n name = \"SigningConfigurationNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"SigningConfigurationNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, SigningConfigurationNotFoundException.prototype);\n }\n}\nclass ExclusionNotFoundException extends ECRServiceException {\n name = \"ExclusionNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"ExclusionNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ExclusionNotFoundException.prototype);\n }\n}\nclass ImageNotFoundException extends ECRServiceException {\n name = \"ImageNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"ImageNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ImageNotFoundException.prototype);\n }\n}\nclass ScanNotFoundException extends ECRServiceException {\n name = \"ScanNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"ScanNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ScanNotFoundException.prototype);\n }\n}\nclass LayerInaccessibleException extends ECRServiceException {\n name = \"LayerInaccessibleException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"LayerInaccessibleException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, LayerInaccessibleException.prototype);\n }\n}\nclass LayersNotFoundException extends ECRServiceException {\n name = \"LayersNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"LayersNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, LayersNotFoundException.prototype);\n }\n}\nclass UnableToGetUpstreamLayerException extends ECRServiceException {\n name = \"UnableToGetUpstreamLayerException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"UnableToGetUpstreamLayerException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, UnableToGetUpstreamLayerException.prototype);\n }\n}\nclass LifecyclePolicyPreviewNotFoundException extends ECRServiceException {\n name = \"LifecyclePolicyPreviewNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"LifecyclePolicyPreviewNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, LifecyclePolicyPreviewNotFoundException.prototype);\n }\n}\nclass ImageAlreadyExistsException extends ECRServiceException {\n name = \"ImageAlreadyExistsException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"ImageAlreadyExistsException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ImageAlreadyExistsException.prototype);\n }\n}\nclass ImageDigestDoesNotMatchException extends ECRServiceException {\n name = \"ImageDigestDoesNotMatchException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"ImageDigestDoesNotMatchException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ImageDigestDoesNotMatchException.prototype);\n }\n}\nclass ImageTagAlreadyExistsException extends ECRServiceException {\n name = \"ImageTagAlreadyExistsException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"ImageTagAlreadyExistsException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ImageTagAlreadyExistsException.prototype);\n }\n}\nclass ReferencedImagesNotFoundException extends ECRServiceException {\n name = \"ReferencedImagesNotFoundException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"ReferencedImagesNotFoundException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ReferencedImagesNotFoundException.prototype);\n }\n}\nclass BlockedByOrganizationPolicyException extends ECRServiceException {\n name = \"BlockedByOrganizationPolicyException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"BlockedByOrganizationPolicyException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, BlockedByOrganizationPolicyException.prototype);\n }\n}\nclass ExclusionAlreadyExistsException extends ECRServiceException {\n name = \"ExclusionAlreadyExistsException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"ExclusionAlreadyExistsException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ExclusionAlreadyExistsException.prototype);\n }\n}\nclass ImageArchivedException extends ECRServiceException {\n name = \"ImageArchivedException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"ImageArchivedException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ImageArchivedException.prototype);\n }\n}\nclass UnsupportedImageTypeException extends ECRServiceException {\n name = \"UnsupportedImageTypeException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"UnsupportedImageTypeException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, UnsupportedImageTypeException.prototype);\n }\n}\nclass LifecyclePolicyPreviewInProgressException extends ECRServiceException {\n name = \"LifecyclePolicyPreviewInProgressException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"LifecyclePolicyPreviewInProgressException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, LifecyclePolicyPreviewInProgressException.prototype);\n }\n}\nclass ImageStorageClassUpdateNotSupportedException extends ECRServiceException {\n name = \"ImageStorageClassUpdateNotSupportedException\";\n $fault = \"client\";\n constructor(opts) {\n super({\n name: \"ImageStorageClassUpdateNotSupportedException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, ImageStorageClassUpdateNotSupportedException.prototype);\n }\n}\nclass InvalidLayerPartException extends ECRServiceException {\n name = \"InvalidLayerPartException\";\n $fault = \"client\";\n registryId;\n repositoryName;\n uploadId;\n lastValidByteReceived;\n constructor(opts) {\n super({\n name: \"InvalidLayerPartException\",\n $fault: \"client\",\n ...opts,\n });\n Object.setPrototypeOf(this, InvalidLayerPartException.prototype);\n this.registryId = opts.registryId;\n this.repositoryName = opts.repositoryName;\n this.uploadId = opts.uploadId;\n this.lastValidByteReceived = opts.lastValidByteReceived;\n }\n}\n\nconst _A = \"Attribute\";\nconst _AD = \"AuthorizationData\";\nconst _ADL = \"AuthorizationDataList\";\nconst _AECID = \"AwsEcrContainerImageDetails\";\nconst _AL = \"AttributeList\";\nconst _BBOPE = \"BlockedByOrganizationPolicyException\";\nconst _BCLA = \"BatchCheckLayerAvailability\";\nconst _BCLAR = \"BatchCheckLayerAvailabilityRequest\";\nconst _BCLARa = \"BatchCheckLayerAvailabilityResponse\";\nconst _BDI = \"BatchDeleteImage\";\nconst _BDIR = \"BatchDeleteImageRequest\";\nconst _BDIRa = \"BatchDeleteImageResponse\";\nconst _BGI = \"BatchGetImage\";\nconst _BGIR = \"BatchGetImageRequest\";\nconst _BGIRa = \"BatchGetImageResponse\";\nconst _BGRSC = \"BatchGetRepositoryScanningConfiguration\";\nconst _BGRSCR = \"BatchGetRepositoryScanningConfigurationRequest\";\nconst _BGRSCRa = \"BatchGetRepositoryScanningConfigurationResponse\";\nconst _CLU = \"CompleteLayerUpload\";\nconst _CLUR = \"CompleteLayerUploadRequest\";\nconst _CLURo = \"CompleteLayerUploadResponse\";\nconst _CPTCR = \"CreatePullThroughCacheRule\";\nconst _CPTCRR = \"CreatePullThroughCacheRuleRequest\";\nconst _CPTCRRr = \"CreatePullThroughCacheRuleResponse\";\nconst _CR = \"CreateRepository\";\nconst _CRCT = \"CreateRepositoryCreationTemplate\";\nconst _CRCTR = \"CreateRepositoryCreationTemplateRequest\";\nconst _CRCTRr = \"CreateRepositoryCreationTemplateResponse\";\nconst _CRR = \"CreateRepositoryRequest\";\nconst _CRRr = \"CreateRepositoryResponse\";\nconst _CS = \"CvssScore\";\nconst _CSA = \"CvssScoreAdjustment\";\nconst _CSAL = \"CvssScoreAdjustmentList\";\nconst _CSD = \"CvssScoreDetails\";\nconst _CSL = \"CvssScoreList\";\nconst _DI = \"DescribeImages\";\nconst _DIF = \"DescribeImagesFilter\";\nconst _DIR = \"DescribeImagesRequest\";\nconst _DIRS = \"DescribeImageReplicationStatus\";\nconst _DIRSR = \"DescribeImageReplicationStatusRequest\";\nconst _DIRSRe = \"DescribeImageReplicationStatusResponse\";\nconst _DIRe = \"DescribeImagesResponse\";\nconst _DISF = \"DescribeImageScanFindings\";\nconst _DISFR = \"DescribeImageScanFindingsRequest\";\nconst _DISFRe = \"DescribeImageScanFindingsResponse\";\nconst _DISS = \"DescribeImageSigningStatus\";\nconst _DISSR = \"DescribeImageSigningStatusRequest\";\nconst _DISSRe = \"DescribeImageSigningStatusResponse\";\nconst _DLP = \"DeleteLifecyclePolicy\";\nconst _DLPR = \"DeleteLifecyclePolicyRequest\";\nconst _DLPRe = \"DeleteLifecyclePolicyResponse\";\nconst _DPTCR = \"DeletePullThroughCacheRule\";\nconst _DPTCRR = \"DeletePullThroughCacheRuleRequest\";\nconst _DPTCRRe = \"DeletePullThroughCacheRuleResponse\";\nconst _DPTCRRes = \"DescribePullThroughCacheRulesRequest\";\nconst _DPTCRResc = \"DescribePullThroughCacheRulesResponse\";\nconst _DPTCRe = \"DescribePullThroughCacheRules\";\nconst _DPTUE = \"DeregisterPullTimeUpdateExclusion\";\nconst _DPTUER = \"DeregisterPullTimeUpdateExclusionRequest\";\nconst _DPTUERe = \"DeregisterPullTimeUpdateExclusionResponse\";\nconst _DR = \"DeleteRepository\";\nconst _DRCT = \"DeleteRepositoryCreationTemplate\";\nconst _DRCTR = \"DeleteRepositoryCreationTemplateRequest\";\nconst _DRCTRe = \"DeleteRepositoryCreationTemplateResponse\";\nconst _DRCTRes = \"DescribeRepositoryCreationTemplatesRequest\";\nconst _DRCTResc = \"DescribeRepositoryCreationTemplatesResponse\";\nconst _DRCTe = \"DescribeRepositoryCreationTemplates\";\nconst _DRP = \"DeleteRegistryPolicy\";\nconst _DRPR = \"DeleteRegistryPolicyRequest\";\nconst _DRPRe = \"DeleteRegistryPolicyResponse\";\nconst _DRPRel = \"DeleteRepositoryPolicyRequest\";\nconst _DRPRele = \"DeleteRepositoryPolicyResponse\";\nconst _DRPe = \"DeleteRepositoryPolicy\";\nconst _DRR = \"DeleteRepositoryRequest\";\nconst _DRRe = \"DeleteRepositoryResponse\";\nconst _DRRes = \"DescribeRegistryRequest\";\nconst _DRResc = \"DescribeRegistryResponse\";\nconst _DRRescr = \"DescribeRepositoriesRequest\";\nconst _DRRescri = \"DescribeRepositoriesResponse\";\nconst _DRe = \"DescribeRegistry\";\nconst _DRes = \"DescribeRepositories\";\nconst _DSC = \"DeleteSigningConfiguration\";\nconst _DSCR = \"DeleteSigningConfigurationRequest\";\nconst _DSCRe = \"DeleteSigningConfigurationResponse\";\nconst _EAEE = \"ExclusionAlreadyExistsException\";\nconst _EC = \"EncryptionConfiguration\";\nconst _ECFRCT = \"EncryptionConfigurationForRepositoryCreationTemplate\";\nconst _EISF = \"EnhancedImageScanFinding\";\nconst _EISFL = \"EnhancedImageScanFindingList\";\nconst _ENFE = \"ExclusionNotFoundException\";\nconst _EUE = \"EmptyUploadException\";\nconst _GAS = \"GetAccountSetting\";\nconst _GASR = \"GetAccountSettingRequest\";\nconst _GASRe = \"GetAccountSettingResponse\";\nconst _GAT = \"GetAuthorizationToken\";\nconst _GATR = \"GetAuthorizationTokenRequest\";\nconst _GATRe = \"GetAuthorizationTokenResponse\";\nconst _GDUFL = \"GetDownloadUrlForLayer\";\nconst _GDUFLR = \"GetDownloadUrlForLayerRequest\";\nconst _GDUFLRe = \"GetDownloadUrlForLayerResponse\";\nconst _GLP = \"GetLifecyclePolicy\";\nconst _GLPP = \"GetLifecyclePolicyPreview\";\nconst _GLPPR = \"GetLifecyclePolicyPreviewRequest\";\nconst _GLPPRe = \"GetLifecyclePolicyPreviewResponse\";\nconst _GLPR = \"GetLifecyclePolicyRequest\";\nconst _GLPRe = \"GetLifecyclePolicyResponse\";\nconst _GRP = \"GetRegistryPolicy\";\nconst _GRPR = \"GetRegistryPolicyRequest\";\nconst _GRPRe = \"GetRegistryPolicyResponse\";\nconst _GRPRet = \"GetRepositoryPolicyRequest\";\nconst _GRPRete = \"GetRepositoryPolicyResponse\";\nconst _GRPe = \"GetRepositoryPolicy\";\nconst _GRSC = \"GetRegistryScanningConfiguration\";\nconst _GRSCR = \"GetRegistryScanningConfigurationRequest\";\nconst _GRSCRe = \"GetRegistryScanningConfigurationResponse\";\nconst _GSC = \"GetSigningConfiguration\";\nconst _GSCR = \"GetSigningConfigurationRequest\";\nconst _GSCRe = \"GetSigningConfigurationResponse\";\nconst _I = \"Image\";\nconst _IAE = \"ImageArchivedException\";\nconst _IAEE = \"ImageAlreadyExistsException\";\nconst _ID = \"ImageDetail\";\nconst _IDDNME = \"ImageDigestDoesNotMatchException\";\nconst _IDL = \"ImageDetailList\";\nconst _IF = \"ImageFailure\";\nconst _IFL = \"ImageFailureList\";\nconst _II = \"ImageIdentifier\";\nconst _IIL = \"ImageIdentifierList\";\nconst _IL = \"ImageList\";\nconst _ILE = \"InvalidLayerException\";\nconst _ILPE = \"InvalidLayerPartException\";\nconst _ILU = \"InitiateLayerUpload\";\nconst _ILUR = \"InitiateLayerUploadRequest\";\nconst _ILURn = \"InitiateLayerUploadResponse\";\nconst _INFE = \"ImageNotFoundException\";\nconst _IPE = \"InvalidParameterException\";\nconst _IR = \"ImageReferrer\";\nconst _IRL = \"ImageReferrerList\";\nconst _IRS = \"ImageReplicationStatus\";\nconst _IRSL = \"ImageReplicationStatusList\";\nconst _ISC = \"ImageScanningConfiguration\";\nconst _ISCUNSE = \"ImageStorageClassUpdateNotSupportedException\";\nconst _ISF = \"ImageScanFinding\";\nconst _ISFL = \"ImageScanFindingList\";\nconst _ISFS = \"ImageScanFindingsSummary\";\nconst _ISFm = \"ImageScanFindings\";\nconst _ISS = \"ImageScanStatus\";\nconst _ISSL = \"ImageSigningStatusList\";\nconst _ISSm = \"ImageSigningStatus\";\nconst _ITAEE = \"ImageTagAlreadyExistsException\";\nconst _ITMEF = \"ImageTagMutabilityExclusionFilter\";\nconst _ITMEFm = \"ImageTagMutabilityExclusionFilters\";\nconst _ITPE = \"InvalidTagParameterException\";\nconst _K = \"Key\";\nconst _KE = \"KmsException\";\nconst _L = \"Layer\";\nconst _LAEE = \"LayerAlreadyExistsException\";\nconst _LEE = \"LimitExceededException\";\nconst _LF = \"LayerFailure\";\nconst _LFL = \"LayerFailureList\";\nconst _LI = \"ListImages\";\nconst _LIE = \"LayerInaccessibleException\";\nconst _LIF = \"ListImagesFilter\";\nconst _LIR = \"ListImagesRequest\";\nconst _LIRF = \"ListImageReferrersFilter\";\nconst _LIRR = \"ListImageReferrersRequest\";\nconst _LIRRi = \"ListImageReferrersResponse\";\nconst _LIRi = \"ListImagesResponse\";\nconst _LIRis = \"ListImageReferrers\";\nconst _LL = \"LayerList\";\nconst _LNFE = \"LayersNotFoundException\";\nconst _LPNFE = \"LifecyclePolicyNotFoundException\";\nconst _LPPF = \"LifecyclePolicyPreviewFilter\";\nconst _LPPIPE = \"LifecyclePolicyPreviewInProgressException\";\nconst _LPPNFE = \"LifecyclePolicyPreviewNotFoundException\";\nconst _LPPR = \"LifecyclePolicyPreviewResult\";\nconst _LPPRL = \"LifecyclePolicyPreviewResultList\";\nconst _LPPS = \"LifecyclePolicyPreviewSummary\";\nconst _LPRA = \"LifecyclePolicyRuleAction\";\nconst _LPTSE = \"LayerPartTooSmallException\";\nconst _LPTUE = \"ListPullTimeUpdateExclusions\";\nconst _LPTUER = \"ListPullTimeUpdateExclusionsRequest\";\nconst _LPTUERi = \"ListPullTimeUpdateExclusionsResponse\";\nconst _LTFR = \"ListTagsForResource\";\nconst _LTFRR = \"ListTagsForResourceRequest\";\nconst _LTFRRi = \"ListTagsForResourceResponse\";\nconst _PAS = \"PutAccountSetting\";\nconst _PASR = \"PutAccountSettingRequest\";\nconst _PASRu = \"PutAccountSettingResponse\";\nconst _PI = \"PutImage\";\nconst _PIR = \"PutImageRequest\";\nconst _PIRu = \"PutImageResponse\";\nconst _PISC = \"PutImageScanningConfiguration\";\nconst _PISCR = \"PutImageScanningConfigurationRequest\";\nconst _PISCRu = \"PutImageScanningConfigurationResponse\";\nconst _PITM = \"PutImageTagMutability\";\nconst _PITMR = \"PutImageTagMutabilityRequest\";\nconst _PITMRu = \"PutImageTagMutabilityResponse\";\nconst _PLP = \"PutLifecyclePolicy\";\nconst _PLPR = \"PutLifecyclePolicyRequest\";\nconst _PLPRu = \"PutLifecyclePolicyResponse\";\nconst _PRC = \"PutReplicationConfiguration\";\nconst _PRCR = \"PutReplicationConfigurationRequest\";\nconst _PRCRu = \"PutReplicationConfigurationResponse\";\nconst _PRP = \"PutRegistryPolicy\";\nconst _PRPR = \"PutRegistryPolicyRequest\";\nconst _PRPRu = \"PutRegistryPolicyResponse\";\nconst _PRSC = \"PutRegistryScanningConfiguration\";\nconst _PRSCR = \"PutRegistryScanningConfigurationRequest\";\nconst _PRSCRu = \"PutRegistryScanningConfigurationResponse\";\nconst _PSC = \"PutSigningConfiguration\";\nconst _PSCR = \"PutSigningConfigurationRequest\";\nconst _PSCRu = \"PutSigningConfigurationResponse\";\nconst _PTCR = \"PullThroughCacheRule\";\nconst _PTCRAEE = \"PullThroughCacheRuleAlreadyExistsException\";\nconst _PTCRL = \"PullThroughCacheRuleList\";\nconst _PTCRNFE = \"PullThroughCacheRuleNotFoundException\";\nconst _PVD = \"PackageVulnerabilityDetails\";\nconst _R = \"Recommendation\";\nconst _RAEE = \"RepositoryAlreadyExistsException\";\nconst _RC = \"ReplicationConfiguration\";\nconst _RCT = \"RepositoryCreationTemplate\";\nconst _RCTL = \"RepositoryCreationTemplateList\";\nconst _RD = \"ReplicationDestination\";\nconst _RDL = \"ReplicationDestinationList\";\nconst _RDe = \"ResourceDetails\";\nconst _RF = \"RepositoryFilter\";\nconst _RFL = \"RepositoryFilterList\";\nconst _RINFE = \"ReferencedImagesNotFoundException\";\nconst _RL = \"RepositoryList\";\nconst _RLe = \"ResourceList\";\nconst _RNEE = \"RepositoryNotEmptyException\";\nconst _RNFE = \"RepositoryNotFoundException\";\nconst _RPNFE = \"RegistryPolicyNotFoundException\";\nconst _RPNFEe = \"RepositoryPolicyNotFoundException\";\nconst _RPTUE = \"RegisterPullTimeUpdateExclusion\";\nconst _RPTUER = \"RegisterPullTimeUpdateExclusionRequest\";\nconst _RPTUERe = \"RegisterPullTimeUpdateExclusionResponse\";\nconst _RR = \"ReplicationRule\";\nconst _RRL = \"ReplicationRuleList\";\nconst _RSC = \"RegistryScanningConfiguration\";\nconst _RSCF = \"RepositoryScanningConfigurationFailure\";\nconst _RSCFL = \"RepositoryScanningConfigurationFailureList\";\nconst _RSCL = \"RepositoryScanningConfigurationList\";\nconst _RSCe = \"RepositoryScanningConfiguration\";\nconst _RSR = \"RegistryScanningRule\";\nconst _RSRL = \"RegistryScanningRuleList\";\nconst _Re = \"Remediation\";\nconst _Rep = \"Repository\";\nconst _Res = \"Resource\";\nconst _SC = \"SigningConfiguration\";\nconst _SCNFE = \"SigningConfigurationNotFoundException\";\nconst _SD = \"ScoreDetails\";\nconst _SE = \"ServerException\";\nconst _SI = \"SubjectIdentifier\";\nconst _SIS = \"StartImageScan\";\nconst _SISR = \"StartImageScanRequest\";\nconst _SISRt = \"StartImageScanResponse\";\nconst _SLPP = \"StartLifecyclePolicyPreview\";\nconst _SLPPR = \"StartLifecyclePolicyPreviewRequest\";\nconst _SLPPRt = \"StartLifecyclePolicyPreviewResponse\";\nconst _SNFE = \"ScanNotFoundException\";\nconst _SNFEe = \"SecretNotFoundException\";\nconst _SR = \"SigningRule\";\nconst _SRF = \"ScanningRepositoryFilter\";\nconst _SRFL = \"ScanningRepositoryFilterList\";\nconst _SRFLi = \"SigningRepositoryFilterList\";\nconst _SRFi = \"SigningRepositoryFilter\";\nconst _SRL = \"SigningRuleList\";\nconst _SRP = \"SetRepositoryPolicy\";\nconst _SRPR = \"SetRepositoryPolicyRequest\";\nconst _SRPRe = \"SetRepositoryPolicyResponse\";\nconst _T = \"Tag\";\nconst _TAEE = \"TemplateAlreadyExistsException\";\nconst _TITC = \"TransitioningImageTotalCount\";\nconst _TITCr = \"TransitioningImageTotalCounts\";\nconst _TL = \"TagList\";\nconst _TMTE = \"TooManyTagsException\";\nconst _TNFE = \"TemplateNotFoundException\";\nconst _TR = \"TagResource\";\nconst _TRR = \"TagResourceRequest\";\nconst _TRRa = \"TagResourceResponse\";\nconst _UISC = \"UpdateImageStorageClass\";\nconst _UISCR = \"UpdateImageStorageClassRequest\";\nconst _UISCRp = \"UpdateImageStorageClassResponse\";\nconst _UITE = \"UnsupportedImageTypeException\";\nconst _ULP = \"UploadLayerPart\";\nconst _ULPR = \"UploadLayerPartRequest\";\nconst _ULPRp = \"UploadLayerPartResponse\";\nconst _UNFE = \"UploadNotFoundException\";\nconst _UPTCR = \"UpdatePullThroughCacheRule\";\nconst _UPTCRR = \"UpdatePullThroughCacheRuleRequest\";\nconst _UPTCRRp = \"UpdatePullThroughCacheRuleResponse\";\nconst _UR = \"UntagResource\";\nconst _URCT = \"UpdateRepositoryCreationTemplate\";\nconst _URCTR = \"UpdateRepositoryCreationTemplateRequest\";\nconst _URCTRp = \"UpdateRepositoryCreationTemplateResponse\";\nconst _URR = \"UntagResourceRequest\";\nconst _URRn = \"UntagResourceResponse\";\nconst _UTASE = \"UnableToAccessSecretException\";\nconst _UTDSVE = \"UnableToDecryptSecretValueException\";\nconst _UTGUIE = \"UnableToGetUpstreamImageException\";\nconst _UTGULE = \"UnableToGetUpstreamLayerException\";\nconst _UURE = \"UnsupportedUpstreamRegistryException\";\nconst _V = \"Value\";\nconst _VE = \"ValidationException\";\nconst _VP = \"VulnerablePackage\";\nconst _VPL = \"VulnerablePackagesList\";\nconst _VPTCR = \"ValidatePullThroughCacheRule\";\nconst _VPTCRR = \"ValidatePullThroughCacheRuleRequest\";\nconst _VPTCRRa = \"ValidatePullThroughCacheRuleResponse\";\nconst _a = \"architecture\";\nconst _aAI = \"awsAccountId\";\nconst _aD = \"authorizationData\";\nconst _aECI = \"awsEcrContainerImage\";\nconst _aF = \"appliedFor\";\nconst _aMT = \"acceptedMediaTypes\";\nconst _aMTr = \"artifactMediaType\";\nconst _aRP = \"appliedRulePriority\";\nconst _aS = \"artifactStatus\";\nconst _aSF = \"appliedScanFilters\";\nconst _aT = \"authorizationToken\";\nconst _aTr = \"artifactType\";\nconst _aTrt = \"artifactTypes\";\nconst _ac = \"action\";\nconst _ad = \"adjustments\";\nconst _an = \"annotations\";\nconst _ar = \"arch\";\nconst _at = \"attributes\";\nconst _au = \"author\";\nconst _bS = \"baseScore\";\nconst _c = \"client\";\nconst _cA = \"credentialArn\";\nconst _cAr = \"createdAt\";\nconst _cRA = \"customRoleArn\";\nconst _cv = \"cvss\";\nconst _d = \"description\";\nconst _dU = \"downloadUrl\";\nconst _de = \"destinations\";\nconst _det = \"details\";\nconst _di = \"digest\";\nconst _e = \"error\";\nconst _eA = \"expiresAt\";\nconst _eAx = \"exploitAvailable\";\nconst _eC = \"encryptionConfiguration\";\nconst _eF = \"enhancedFindings\";\nconst _eITC = \"expiringImageTotalCount\";\nconst _eRP = \"ecrRepositoryPrefix\";\nconst _eRPc = \"ecrRepositoryPrefixes\";\nconst _eT = \"encryptionType\";\nconst _ep = \"epoch\";\nconst _f = \"failures\";\nconst _fA = \"findingArn\";\nconst _fAi = \"fixAvailable\";\nconst _fC = \"failureCode\";\nconst _fIV = \"fixedInVersion\";\nconst _fOA = \"firstObservedAt\";\nconst _fP = \"filePath\";\nconst _fR = \"failureReason\";\nconst _fSC = \"findingSeverityCounts\";\nconst _fT = \"filterType\";\nconst _fa = \"failure\";\nconst _fi = \"filter\";\nconst _fin = \"findings\";\nconst _fo = \"force\";\nconst _hE = \"httpError\";\nconst _i = \"images\";\nconst _iD = \"imageDetails\";\nconst _iDm = \"imageDigest\";\nconst _iH = \"imageHash\";\nconst _iI = \"imageIds\";\nconst _iIm = \"imageId\";\nconst _iM = \"imageManifest\";\nconst _iMMT = \"imageManifestMediaType\";\nconst _iPA = \"imagePushedAt\";\nconst _iS = \"imageStatus\";\nconst _iSC = \"imageScanningConfiguration\";\nconst _iSCA = \"imageScanCompletedAt\";\nconst _iSF = \"imageScanFindings\";\nconst _iSFS = \"imageScanFindingsSummary\";\nconst _iSIB = \"imageSizeInBytes\";\nconst _iSS = \"imageScanStatus\";\nconst _iT = \"imageTags\";\nconst _iTC = \"imageTotalCount\";\nconst _iTM = \"imageTagMutability\";\nconst _iTMEF = \"imageTagMutabilityExclusionFilters\";\nconst _iTm = \"imageTag\";\nconst _iUC = \"inUseCount\";\nconst _iV = \"isValid\";\nconst _id = \"id\";\nconst _im = \"image\";\nconst _k = \"key\";\nconst _kE = \"kmsError\";\nconst _kK = \"kmsKey\";\nconst _l = \"layers\";\nconst _lA = \"layerAvailability\";\nconst _lAA = \"lastArchivedAt\";\nconst _lAAa = \"lastActivatedAt\";\nconst _lBR = \"lastByteReceived\";\nconst _lD = \"layerDigests\";\nconst _lDa = \"layerDigest\";\nconst _lEA = \"lastEvaluatedAt\";\nconst _lIUA = \"lastInUseAt\";\nconst _lOA = \"lastObservedAt\";\nconst _lP = \"lifecyclePolicy\";\nconst _lPB = \"layerPartBlob\";\nconst _lPT = \"lifecyclePolicyText\";\nconst _lRPT = \"lastRecordedPullTime\";\nconst _lS = \"layerSize\";\nconst _lVBR = \"lastValidByteReceived\";\nconst _m = \"message\";\nconst _mR = \"maxResults\";\nconst _mT = \"mediaType\";\nconst _me = \"metric\";\nconst _n = \"name\";\nconst _nT = \"nextToken\";\nconst _p = \"platform\";\nconst _pA = \"pushedAt\";\nconst _pAr = \"principalArn\";\nconst _pE = \"proxyEndpoint\";\nconst _pFB = \"partFirstByte\";\nconst _pLB = \"partLastByte\";\nconst _pM = \"packageManager\";\nconst _pR = \"previewResults\";\nconst _pS = \"partSize\";\nconst _pT = \"policyText\";\nconst _pTCR = \"pullThroughCacheRules\";\nconst _pTUE = \"pullTimeUpdateExclusions\";\nconst _pVD = \"packageVulnerabilityDetails\";\nconst _pr = \"prefix\";\nconst _pre = \"prefixes\";\nconst _r = \"registry\";\nconst _rA = \"resourceArn\";\nconst _rAe = \"repositoryArn\";\nconst _rC = \"replicationConfiguration\";\nconst _rCT = \"repositoryCreationTemplate\";\nconst _rCTe = \"repositoryCreationTemplates\";\nconst _rF = \"repositoryFilters\";\nconst _rI = \"registryId\";\nconst _rIe = \"registryIds\";\nconst _rN = \"repositoryName\";\nconst _rNe = \"repositoryNames\";\nconst _rP = \"repositoryPolicy\";\nconst _rS = \"replicationStatuses\";\nconst _rSC = \"registryScanningConfiguration\";\nconst _rT = \"resourceTags\";\nconst _rU = \"referenceUrls\";\nconst _rUe = \"repositoryUri\";\nconst _rV = \"relatedVulnerabilities\";\nconst _re = \"repository\";\nconst _rea = \"reason\";\nconst _rec = \"recommendation\";\nconst _ref = \"referrers\";\nconst _reg = \"region\";\nconst _rel = \"release\";\nconst _rem = \"remediation\";\nconst _rep = \"repositories\";\nconst _res = \"resources\";\nconst _ru = \"rules\";\nconst _s = \"source\";\nconst _sC = \"scanningConfigurations\";\nconst _sCc = \"scanningConfiguration\";\nconst _sCi = \"signingConfiguration\";\nconst _sCt = \"storageClass\";\nconst _sD = \"scoreDetails\";\nconst _sF = \"scanFrequency\";\nconst _sI = \"subjectId\";\nconst _sLH = \"sourceLayerHash\";\nconst _sMD = \"subjectManifestDigest\";\nconst _sOP = \"scanOnPush\";\nconst _sPA = \"signingProfileArn\";\nconst _sS = \"scoreSource\";\nconst _sSi = \"signingStatuses\";\nconst _sT = \"scanType\";\nconst _sU = \"sourceUrl\";\nconst _sV = \"scoringVector\";\nconst _sc = \"score\";\nconst _se = \"severity\";\nconst _ser = \"server\";\nconst _si = \"size\";\nconst _sm = \"smithy.ts.sdk.synthetic.com.amazonaws.ecr\";\nconst _st = \"status\";\nconst _su = \"summary\";\nconst _t = \"tags\";\nconst _tITC = \"transitioningImageTotalCounts\";\nconst _tK = \"tagKeys\";\nconst _tS = \"tagStatus\";\nconst _tSC = \"targetStorageClass\";\nconst _te = \"text\";\nconst _ti = \"title\";\nconst _ty = \"type\";\nconst _u = \"uri\";\nconst _uA = \"updatedAt\";\nconst _uI = \"uploadId\";\nconst _uR = \"upstreamRegistry\";\nconst _uRP = \"upstreamRepositoryPrefix\";\nconst _uRU = \"upstreamRegistryUrl\";\nconst _ur = \"url\";\nconst _v = \"value\";\nconst _vCA = \"vendorCreatedAt\";\nconst _vI = \"vulnerabilityId\";\nconst _vP = \"vulnerablePackages\";\nconst _vS = \"vendorSeverity\";\nconst _vSUA = \"vulnerabilitySourceUpdatedAt\";\nconst _vUA = \"vendorUpdatedAt\";\nconst _ve = \"version\";\nconst n0 = \"com.amazonaws.ecr\";\nvar Attribute$ = [3, n0, _A,\n 0,\n [_k, _v],\n [0, 0], 1\n];\nvar AuthorizationData$ = [3, n0, _AD,\n 0,\n [_aT, _eA, _pE],\n [0, 4, 0]\n];\nvar AwsEcrContainerImageDetails$ = [3, n0, _AECID,\n 0,\n [_a, _au, _iH, _iT, _p, _pA, _lIUA, _iUC, _r, _rN],\n [0, 0, 0, 64 | 0, 0, 4, 4, 1, 0, 0]\n];\nvar BatchCheckLayerAvailabilityRequest$ = [3, n0, _BCLAR,\n 0,\n [_rN, _lD, _rI],\n [0, 64 | 0, 0], 2\n];\nvar BatchCheckLayerAvailabilityResponse$ = [3, n0, _BCLARa,\n 0,\n [_l, _f],\n [() => LayerList, () => LayerFailureList]\n];\nvar BatchDeleteImageRequest$ = [3, n0, _BDIR,\n 0,\n [_rN, _iI, _rI],\n [0, () => ImageIdentifierList, 0], 2\n];\nvar BatchDeleteImageResponse$ = [3, n0, _BDIRa,\n 0,\n [_iI, _f],\n [() => ImageIdentifierList, () => ImageFailureList]\n];\nvar BatchGetImageRequest$ = [3, n0, _BGIR,\n 0,\n [_rN, _iI, _rI, _aMT],\n [0, () => ImageIdentifierList, 0, 64 | 0], 2\n];\nvar BatchGetImageResponse$ = [3, n0, _BGIRa,\n 0,\n [_i, _f],\n [() => ImageList, () => ImageFailureList]\n];\nvar BatchGetRepositoryScanningConfigurationRequest$ = [3, n0, _BGRSCR,\n 0,\n [_rNe],\n [64 | 0], 1\n];\nvar BatchGetRepositoryScanningConfigurationResponse$ = [3, n0, _BGRSCRa,\n 0,\n [_sC, _f],\n [() => RepositoryScanningConfigurationList, () => RepositoryScanningConfigurationFailureList]\n];\nvar BlockedByOrganizationPolicyException$ = [-3, n0, _BBOPE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(BlockedByOrganizationPolicyException$, BlockedByOrganizationPolicyException);\nvar CompleteLayerUploadRequest$ = [3, n0, _CLUR,\n 0,\n [_rN, _uI, _lD, _rI],\n [0, 0, 64 | 0, 0], 3\n];\nvar CompleteLayerUploadResponse$ = [3, n0, _CLURo,\n 0,\n [_rI, _rN, _uI, _lDa],\n [0, 0, 0, 0]\n];\nvar CreatePullThroughCacheRuleRequest$ = [3, n0, _CPTCRR,\n 0,\n [_eRP, _uRU, _rI, _uR, _cA, _cRA, _uRP],\n [0, 0, 0, 0, 0, 0, 0], 2\n];\nvar CreatePullThroughCacheRuleResponse$ = [3, n0, _CPTCRRr,\n 0,\n [_eRP, _uRU, _cAr, _rI, _uR, _cA, _cRA, _uRP],\n [0, 0, 4, 0, 0, 0, 0, 0]\n];\nvar CreateRepositoryCreationTemplateRequest$ = [3, n0, _CRCTR,\n 0,\n [_pr, _aF, _d, _eC, _rT, _iTM, _iTMEF, _rP, _lP, _cRA],\n [0, 64 | 0, 0, () => EncryptionConfigurationForRepositoryCreationTemplate$, () => TagList, 0, () => ImageTagMutabilityExclusionFilters, 0, 0, 0], 2\n];\nvar CreateRepositoryCreationTemplateResponse$ = [3, n0, _CRCTRr,\n 0,\n [_rI, _rCT],\n [0, () => RepositoryCreationTemplate$]\n];\nvar CreateRepositoryRequest$ = [3, n0, _CRR,\n 0,\n [_rN, _rI, _t, _iTM, _iTMEF, _iSC, _eC],\n [0, 0, () => TagList, 0, () => ImageTagMutabilityExclusionFilters, () => ImageScanningConfiguration$, () => EncryptionConfiguration$], 1\n];\nvar CreateRepositoryResponse$ = [3, n0, _CRRr,\n 0,\n [_re],\n [() => Repository$]\n];\nvar CvssScore$ = [3, n0, _CS,\n 0,\n [_bS, _sV, _s, _ve],\n [1, 0, 0, 0]\n];\nvar CvssScoreAdjustment$ = [3, n0, _CSA,\n 0,\n [_me, _rea],\n [0, 0]\n];\nvar CvssScoreDetails$ = [3, n0, _CSD,\n 0,\n [_ad, _sc, _sS, _sV, _ve],\n [() => CvssScoreAdjustmentList, 1, 0, 0, 0]\n];\nvar DeleteLifecyclePolicyRequest$ = [3, n0, _DLPR,\n 0,\n [_rN, _rI],\n [0, 0], 1\n];\nvar DeleteLifecyclePolicyResponse$ = [3, n0, _DLPRe,\n 0,\n [_rI, _rN, _lPT, _lEA],\n [0, 0, 0, 4]\n];\nvar DeletePullThroughCacheRuleRequest$ = [3, n0, _DPTCRR,\n 0,\n [_eRP, _rI],\n [0, 0], 1\n];\nvar DeletePullThroughCacheRuleResponse$ = [3, n0, _DPTCRRe,\n 0,\n [_eRP, _uRU, _cAr, _rI, _cA, _cRA, _uRP],\n [0, 0, 4, 0, 0, 0, 0]\n];\nvar DeleteRegistryPolicyRequest$ = [3, n0, _DRPR,\n 0,\n [],\n []\n];\nvar DeleteRegistryPolicyResponse$ = [3, n0, _DRPRe,\n 0,\n [_rI, _pT],\n [0, 0]\n];\nvar DeleteRepositoryCreationTemplateRequest$ = [3, n0, _DRCTR,\n 0,\n [_pr],\n [0], 1\n];\nvar DeleteRepositoryCreationTemplateResponse$ = [3, n0, _DRCTRe,\n 0,\n [_rI, _rCT],\n [0, () => RepositoryCreationTemplate$]\n];\nvar DeleteRepositoryPolicyRequest$ = [3, n0, _DRPRel,\n 0,\n [_rN, _rI],\n [0, 0], 1\n];\nvar DeleteRepositoryPolicyResponse$ = [3, n0, _DRPRele,\n 0,\n [_rI, _rN, _pT],\n [0, 0, 0]\n];\nvar DeleteRepositoryRequest$ = [3, n0, _DRR,\n 0,\n [_rN, _rI, _fo],\n [0, 0, 2], 1\n];\nvar DeleteRepositoryResponse$ = [3, n0, _DRRe,\n 0,\n [_re],\n [() => Repository$]\n];\nvar DeleteSigningConfigurationRequest$ = [3, n0, _DSCR,\n 0,\n [],\n []\n];\nvar DeleteSigningConfigurationResponse$ = [3, n0, _DSCRe,\n 0,\n [_rI, _sCi],\n [0, () => SigningConfiguration$]\n];\nvar DeregisterPullTimeUpdateExclusionRequest$ = [3, n0, _DPTUER,\n 0,\n [_pAr],\n [0], 1\n];\nvar DeregisterPullTimeUpdateExclusionResponse$ = [3, n0, _DPTUERe,\n 0,\n [_pAr],\n [0]\n];\nvar DescribeImageReplicationStatusRequest$ = [3, n0, _DIRSR,\n 0,\n [_rN, _iIm, _rI],\n [0, () => ImageIdentifier$, 0], 2\n];\nvar DescribeImageReplicationStatusResponse$ = [3, n0, _DIRSRe,\n 0,\n [_rN, _iIm, _rS],\n [0, () => ImageIdentifier$, () => ImageReplicationStatusList]\n];\nvar DescribeImageScanFindingsRequest$ = [3, n0, _DISFR,\n 0,\n [_rN, _iIm, _rI, _nT, _mR],\n [0, () => ImageIdentifier$, 0, 0, 1], 2\n];\nvar DescribeImageScanFindingsResponse$ = [3, n0, _DISFRe,\n 0,\n [_rI, _rN, _iIm, _iSS, _iSF, _nT],\n [0, 0, () => ImageIdentifier$, () => ImageScanStatus$, () => ImageScanFindings$, 0]\n];\nvar DescribeImagesFilter$ = [3, n0, _DIF,\n 0,\n [_tS, _iS],\n [0, 0]\n];\nvar DescribeImageSigningStatusRequest$ = [3, n0, _DISSR,\n 0,\n [_rN, _iIm, _rI],\n [0, () => ImageIdentifier$, 0], 2\n];\nvar DescribeImageSigningStatusResponse$ = [3, n0, _DISSRe,\n 0,\n [_rN, _iIm, _rI, _sSi],\n [0, () => ImageIdentifier$, 0, () => ImageSigningStatusList]\n];\nvar DescribeImagesRequest$ = [3, n0, _DIR,\n 0,\n [_rN, _rI, _iI, _nT, _mR, _fi],\n [0, 0, () => ImageIdentifierList, 0, 1, () => DescribeImagesFilter$], 1\n];\nvar DescribeImagesResponse$ = [3, n0, _DIRe,\n 0,\n [_iD, _nT],\n [() => ImageDetailList, 0]\n];\nvar DescribePullThroughCacheRulesRequest$ = [3, n0, _DPTCRRes,\n 0,\n [_rI, _eRPc, _nT, _mR],\n [0, 64 | 0, 0, 1]\n];\nvar DescribePullThroughCacheRulesResponse$ = [3, n0, _DPTCRResc,\n 0,\n [_pTCR, _nT],\n [() => PullThroughCacheRuleList, 0]\n];\nvar DescribeRegistryRequest$ = [3, n0, _DRRes,\n 0,\n [],\n []\n];\nvar DescribeRegistryResponse$ = [3, n0, _DRResc,\n 0,\n [_rI, _rC],\n [0, () => ReplicationConfiguration$]\n];\nvar DescribeRepositoriesRequest$ = [3, n0, _DRRescr,\n 0,\n [_rI, _rNe, _nT, _mR],\n [0, 64 | 0, 0, 1]\n];\nvar DescribeRepositoriesResponse$ = [3, n0, _DRRescri,\n 0,\n [_rep, _nT],\n [() => RepositoryList, 0]\n];\nvar DescribeRepositoryCreationTemplatesRequest$ = [3, n0, _DRCTRes,\n 0,\n [_pre, _nT, _mR],\n [64 | 0, 0, 1]\n];\nvar DescribeRepositoryCreationTemplatesResponse$ = [3, n0, _DRCTResc,\n 0,\n [_rI, _rCTe, _nT],\n [0, () => RepositoryCreationTemplateList, 0]\n];\nvar EmptyUploadException$ = [-3, n0, _EUE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(EmptyUploadException$, EmptyUploadException);\nvar EncryptionConfiguration$ = [3, n0, _EC,\n 0,\n [_eT, _kK],\n [0, 0], 1\n];\nvar EncryptionConfigurationForRepositoryCreationTemplate$ = [3, n0, _ECFRCT,\n 0,\n [_eT, _kK],\n [0, 0], 1\n];\nvar EnhancedImageScanFinding$ = [3, n0, _EISF,\n 0,\n [_aAI, _d, _fA, _fOA, _lOA, _pVD, _rem, _res, _sc, _sD, _se, _st, _ti, _ty, _uA, _fAi, _eAx],\n [0, 0, 0, 4, 4, () => PackageVulnerabilityDetails$, () => Remediation$, () => ResourceList, 1, () => ScoreDetails$, 0, 0, 0, 0, 4, 0, 0]\n];\nvar ExclusionAlreadyExistsException$ = [-3, n0, _EAEE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(ExclusionAlreadyExistsException$, ExclusionAlreadyExistsException);\nvar ExclusionNotFoundException$ = [-3, n0, _ENFE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(ExclusionNotFoundException$, ExclusionNotFoundException);\nvar GetAccountSettingRequest$ = [3, n0, _GASR,\n 0,\n [_n],\n [0], 1\n];\nvar GetAccountSettingResponse$ = [3, n0, _GASRe,\n 0,\n [_n, _v],\n [0, 0]\n];\nvar GetAuthorizationTokenRequest$ = [3, n0, _GATR,\n 0,\n [_rIe],\n [64 | 0]\n];\nvar GetAuthorizationTokenResponse$ = [3, n0, _GATRe,\n 0,\n [_aD],\n [() => AuthorizationDataList]\n];\nvar GetDownloadUrlForLayerRequest$ = [3, n0, _GDUFLR,\n 0,\n [_rN, _lDa, _rI],\n [0, 0, 0], 2\n];\nvar GetDownloadUrlForLayerResponse$ = [3, n0, _GDUFLRe,\n 0,\n [_dU, _lDa],\n [0, 0]\n];\nvar GetLifecyclePolicyPreviewRequest$ = [3, n0, _GLPPR,\n 0,\n [_rN, _rI, _iI, _nT, _mR, _fi],\n [0, 0, () => ImageIdentifierList, 0, 1, () => LifecyclePolicyPreviewFilter$], 1\n];\nvar GetLifecyclePolicyPreviewResponse$ = [3, n0, _GLPPRe,\n 0,\n [_rI, _rN, _lPT, _st, _nT, _pR, _su],\n [0, 0, 0, 0, 0, () => LifecyclePolicyPreviewResultList, () => LifecyclePolicyPreviewSummary$]\n];\nvar GetLifecyclePolicyRequest$ = [3, n0, _GLPR,\n 0,\n [_rN, _rI],\n [0, 0], 1\n];\nvar GetLifecyclePolicyResponse$ = [3, n0, _GLPRe,\n 0,\n [_rI, _rN, _lPT, _lEA],\n [0, 0, 0, 4]\n];\nvar GetRegistryPolicyRequest$ = [3, n0, _GRPR,\n 0,\n [],\n []\n];\nvar GetRegistryPolicyResponse$ = [3, n0, _GRPRe,\n 0,\n [_rI, _pT],\n [0, 0]\n];\nvar GetRegistryScanningConfigurationRequest$ = [3, n0, _GRSCR,\n 0,\n [],\n []\n];\nvar GetRegistryScanningConfigurationResponse$ = [3, n0, _GRSCRe,\n 0,\n [_rI, _sCc],\n [0, () => RegistryScanningConfiguration$]\n];\nvar GetRepositoryPolicyRequest$ = [3, n0, _GRPRet,\n 0,\n [_rN, _rI],\n [0, 0], 1\n];\nvar GetRepositoryPolicyResponse$ = [3, n0, _GRPRete,\n 0,\n [_rI, _rN, _pT],\n [0, 0, 0]\n];\nvar GetSigningConfigurationRequest$ = [3, n0, _GSCR,\n 0,\n [],\n []\n];\nvar GetSigningConfigurationResponse$ = [3, n0, _GSCRe,\n 0,\n [_rI, _sCi],\n [0, () => SigningConfiguration$]\n];\nvar Image$ = [3, n0, _I,\n 0,\n [_rI, _rN, _iIm, _iM, _iMMT],\n [0, 0, () => ImageIdentifier$, 0, 0]\n];\nvar ImageAlreadyExistsException$ = [-3, n0, _IAEE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(ImageAlreadyExistsException$, ImageAlreadyExistsException);\nvar ImageArchivedException$ = [-3, n0, _IAE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(ImageArchivedException$, ImageArchivedException);\nvar ImageDetail$ = [3, n0, _ID,\n 0,\n [_rI, _rN, _iDm, _iT, _iSIB, _iPA, _iSS, _iSFS, _iMMT, _aMTr, _lRPT, _sMD, _iS, _lAA, _lAAa],\n [0, 0, 0, 64 | 0, 1, 4, () => ImageScanStatus$, () => ImageScanFindingsSummary$, 0, 0, 4, 0, 0, 4, 4]\n];\nvar ImageDigestDoesNotMatchException$ = [-3, n0, _IDDNME,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(ImageDigestDoesNotMatchException$, ImageDigestDoesNotMatchException);\nvar ImageFailure$ = [3, n0, _IF,\n 0,\n [_iIm, _fC, _fR],\n [() => ImageIdentifier$, 0, 0]\n];\nvar ImageIdentifier$ = [3, n0, _II,\n 0,\n [_iDm, _iTm],\n [0, 0]\n];\nvar ImageNotFoundException$ = [-3, n0, _INFE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(ImageNotFoundException$, ImageNotFoundException);\nvar ImageReferrer$ = [3, n0, _IR,\n 0,\n [_di, _mT, _si, _aTr, _an, _aS],\n [0, 0, 1, 0, 128 | 0, 0], 3\n];\nvar ImageReplicationStatus$ = [3, n0, _IRS,\n 0,\n [_reg, _rI, _st, _fC],\n [0, 0, 0, 0]\n];\nvar ImageScanFinding$ = [3, n0, _ISF,\n 0,\n [_n, _d, _u, _se, _at],\n [0, 0, 0, 0, () => AttributeList]\n];\nvar ImageScanFindings$ = [3, n0, _ISFm,\n 0,\n [_iSCA, _vSUA, _fSC, _fin, _eF],\n [4, 4, 128 | 1, () => ImageScanFindingList, () => EnhancedImageScanFindingList]\n];\nvar ImageScanFindingsSummary$ = [3, n0, _ISFS,\n 0,\n [_iSCA, _vSUA, _fSC],\n [4, 4, 128 | 1]\n];\nvar ImageScanningConfiguration$ = [3, n0, _ISC,\n 0,\n [_sOP],\n [2]\n];\nvar ImageScanStatus$ = [3, n0, _ISS,\n 0,\n [_st, _d],\n [0, 0]\n];\nvar ImageSigningStatus$ = [3, n0, _ISSm,\n 0,\n [_sPA, _fC, _fR, _st],\n [0, 0, 0, 0]\n];\nvar ImageStorageClassUpdateNotSupportedException$ = [-3, n0, _ISCUNSE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(ImageStorageClassUpdateNotSupportedException$, ImageStorageClassUpdateNotSupportedException);\nvar ImageTagAlreadyExistsException$ = [-3, n0, _ITAEE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(ImageTagAlreadyExistsException$, ImageTagAlreadyExistsException);\nvar ImageTagMutabilityExclusionFilter$ = [3, n0, _ITMEF,\n 0,\n [_fT, _fi],\n [0, 0], 2\n];\nvar InitiateLayerUploadRequest$ = [3, n0, _ILUR,\n 0,\n [_rN, _rI],\n [0, 0], 1\n];\nvar InitiateLayerUploadResponse$ = [3, n0, _ILURn,\n 0,\n [_uI, _pS],\n [0, 1]\n];\nvar InvalidLayerException$ = [-3, n0, _ILE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(InvalidLayerException$, InvalidLayerException);\nvar InvalidLayerPartException$ = [-3, n0, _ILPE,\n { [_e]: _c },\n [_rI, _rN, _uI, _lVBR, _m],\n [0, 0, 0, 1, 0]\n];\nschema.TypeRegistry.for(n0).registerError(InvalidLayerPartException$, InvalidLayerPartException);\nvar InvalidParameterException$ = [-3, n0, _IPE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(InvalidParameterException$, InvalidParameterException);\nvar InvalidTagParameterException$ = [-3, n0, _ITPE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(InvalidTagParameterException$, InvalidTagParameterException);\nvar KmsException$ = [-3, n0, _KE,\n { [_e]: _c },\n [_m, _kE],\n [0, 0]\n];\nschema.TypeRegistry.for(n0).registerError(KmsException$, KmsException);\nvar Layer$ = [3, n0, _L,\n 0,\n [_lDa, _lA, _lS, _mT],\n [0, 0, 1, 0]\n];\nvar LayerAlreadyExistsException$ = [-3, n0, _LAEE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(LayerAlreadyExistsException$, LayerAlreadyExistsException);\nvar LayerFailure$ = [3, n0, _LF,\n 0,\n [_lDa, _fC, _fR],\n [0, 0, 0]\n];\nvar LayerInaccessibleException$ = [-3, n0, _LIE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(LayerInaccessibleException$, LayerInaccessibleException);\nvar LayerPartTooSmallException$ = [-3, n0, _LPTSE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(LayerPartTooSmallException$, LayerPartTooSmallException);\nvar LayersNotFoundException$ = [-3, n0, _LNFE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(LayersNotFoundException$, LayersNotFoundException);\nvar LifecyclePolicyNotFoundException$ = [-3, n0, _LPNFE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(LifecyclePolicyNotFoundException$, LifecyclePolicyNotFoundException);\nvar LifecyclePolicyPreviewFilter$ = [3, n0, _LPPF,\n 0,\n [_tS],\n [0]\n];\nvar LifecyclePolicyPreviewInProgressException$ = [-3, n0, _LPPIPE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(LifecyclePolicyPreviewInProgressException$, LifecyclePolicyPreviewInProgressException);\nvar LifecyclePolicyPreviewNotFoundException$ = [-3, n0, _LPPNFE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(LifecyclePolicyPreviewNotFoundException$, LifecyclePolicyPreviewNotFoundException);\nvar LifecyclePolicyPreviewResult$ = [3, n0, _LPPR,\n 0,\n [_iT, _iDm, _iPA, _ac, _aRP, _sCt],\n [64 | 0, 0, 4, () => LifecyclePolicyRuleAction$, 1, 0]\n];\nvar LifecyclePolicyPreviewSummary$ = [3, n0, _LPPS,\n 0,\n [_eITC, _tITC],\n [1, () => TransitioningImageTotalCounts]\n];\nvar LifecyclePolicyRuleAction$ = [3, n0, _LPRA,\n 0,\n [_ty, _tSC],\n [0, 0]\n];\nvar LimitExceededException$ = [-3, n0, _LEE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(LimitExceededException$, LimitExceededException);\nvar ListImageReferrersFilter$ = [3, n0, _LIRF,\n 0,\n [_aTrt, _aS],\n [64 | 0, 0]\n];\nvar ListImageReferrersRequest$ = [3, n0, _LIRR,\n 0,\n [_rN, _sI, _rI, _fi, _nT, _mR],\n [0, () => SubjectIdentifier$, 0, () => ListImageReferrersFilter$, 0, 1], 2\n];\nvar ListImageReferrersResponse$ = [3, n0, _LIRRi,\n 0,\n [_ref, _nT],\n [() => ImageReferrerList, 0]\n];\nvar ListImagesFilter$ = [3, n0, _LIF,\n 0,\n [_tS, _iS],\n [0, 0]\n];\nvar ListImagesRequest$ = [3, n0, _LIR,\n 0,\n [_rN, _rI, _nT, _mR, _fi],\n [0, 0, 0, 1, () => ListImagesFilter$], 1\n];\nvar ListImagesResponse$ = [3, n0, _LIRi,\n 0,\n [_iI, _nT],\n [() => ImageIdentifierList, 0]\n];\nvar ListPullTimeUpdateExclusionsRequest$ = [3, n0, _LPTUER,\n 0,\n [_mR, _nT],\n [1, 0]\n];\nvar ListPullTimeUpdateExclusionsResponse$ = [3, n0, _LPTUERi,\n 0,\n [_pTUE, _nT],\n [64 | 0, 0]\n];\nvar ListTagsForResourceRequest$ = [3, n0, _LTFRR,\n 0,\n [_rA],\n [0], 1\n];\nvar ListTagsForResourceResponse$ = [3, n0, _LTFRRi,\n 0,\n [_t],\n [() => TagList]\n];\nvar PackageVulnerabilityDetails$ = [3, n0, _PVD,\n 0,\n [_cv, _rU, _rV, _s, _sU, _vCA, _vS, _vUA, _vI, _vP],\n [() => CvssScoreList, 64 | 0, 64 | 0, 0, 0, 4, 0, 4, 0, () => VulnerablePackagesList]\n];\nvar PullThroughCacheRule$ = [3, n0, _PTCR,\n 0,\n [_eRP, _uRU, _cAr, _rI, _cA, _cRA, _uRP, _uR, _uA],\n [0, 0, 4, 0, 0, 0, 0, 0, 4]\n];\nvar PullThroughCacheRuleAlreadyExistsException$ = [-3, n0, _PTCRAEE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(PullThroughCacheRuleAlreadyExistsException$, PullThroughCacheRuleAlreadyExistsException);\nvar PullThroughCacheRuleNotFoundException$ = [-3, n0, _PTCRNFE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(PullThroughCacheRuleNotFoundException$, PullThroughCacheRuleNotFoundException);\nvar PutAccountSettingRequest$ = [3, n0, _PASR,\n 0,\n [_n, _v],\n [0, 0], 2\n];\nvar PutAccountSettingResponse$ = [3, n0, _PASRu,\n 0,\n [_n, _v],\n [0, 0]\n];\nvar PutImageRequest$ = [3, n0, _PIR,\n 0,\n [_rN, _iM, _rI, _iMMT, _iTm, _iDm],\n [0, 0, 0, 0, 0, 0], 2\n];\nvar PutImageResponse$ = [3, n0, _PIRu,\n 0,\n [_im],\n [() => Image$]\n];\nvar PutImageScanningConfigurationRequest$ = [3, n0, _PISCR,\n 0,\n [_rN, _iSC, _rI],\n [0, () => ImageScanningConfiguration$, 0], 2\n];\nvar PutImageScanningConfigurationResponse$ = [3, n0, _PISCRu,\n 0,\n [_rI, _rN, _iSC],\n [0, 0, () => ImageScanningConfiguration$]\n];\nvar PutImageTagMutabilityRequest$ = [3, n0, _PITMR,\n 0,\n [_rN, _iTM, _rI, _iTMEF],\n [0, 0, 0, () => ImageTagMutabilityExclusionFilters], 2\n];\nvar PutImageTagMutabilityResponse$ = [3, n0, _PITMRu,\n 0,\n [_rI, _rN, _iTM, _iTMEF],\n [0, 0, 0, () => ImageTagMutabilityExclusionFilters]\n];\nvar PutLifecyclePolicyRequest$ = [3, n0, _PLPR,\n 0,\n [_rN, _lPT, _rI],\n [0, 0, 0], 2\n];\nvar PutLifecyclePolicyResponse$ = [3, n0, _PLPRu,\n 0,\n [_rI, _rN, _lPT],\n [0, 0, 0]\n];\nvar PutRegistryPolicyRequest$ = [3, n0, _PRPR,\n 0,\n [_pT],\n [0], 1\n];\nvar PutRegistryPolicyResponse$ = [3, n0, _PRPRu,\n 0,\n [_rI, _pT],\n [0, 0]\n];\nvar PutRegistryScanningConfigurationRequest$ = [3, n0, _PRSCR,\n 0,\n [_sT, _ru],\n [0, () => RegistryScanningRuleList]\n];\nvar PutRegistryScanningConfigurationResponse$ = [3, n0, _PRSCRu,\n 0,\n [_rSC],\n [() => RegistryScanningConfiguration$]\n];\nvar PutReplicationConfigurationRequest$ = [3, n0, _PRCR,\n 0,\n [_rC],\n [() => ReplicationConfiguration$], 1\n];\nvar PutReplicationConfigurationResponse$ = [3, n0, _PRCRu,\n 0,\n [_rC],\n [() => ReplicationConfiguration$]\n];\nvar PutSigningConfigurationRequest$ = [3, n0, _PSCR,\n 0,\n [_sCi],\n [() => SigningConfiguration$], 1\n];\nvar PutSigningConfigurationResponse$ = [3, n0, _PSCRu,\n 0,\n [_sCi],\n [() => SigningConfiguration$]\n];\nvar Recommendation$ = [3, n0, _R,\n 0,\n [_ur, _te],\n [0, 0]\n];\nvar ReferencedImagesNotFoundException$ = [-3, n0, _RINFE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(ReferencedImagesNotFoundException$, ReferencedImagesNotFoundException);\nvar RegisterPullTimeUpdateExclusionRequest$ = [3, n0, _RPTUER,\n 0,\n [_pAr],\n [0], 1\n];\nvar RegisterPullTimeUpdateExclusionResponse$ = [3, n0, _RPTUERe,\n 0,\n [_pAr, _cAr],\n [0, 4]\n];\nvar RegistryPolicyNotFoundException$ = [-3, n0, _RPNFE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(RegistryPolicyNotFoundException$, RegistryPolicyNotFoundException);\nvar RegistryScanningConfiguration$ = [3, n0, _RSC,\n 0,\n [_sT, _ru],\n [0, () => RegistryScanningRuleList]\n];\nvar RegistryScanningRule$ = [3, n0, _RSR,\n 0,\n [_sF, _rF],\n [0, () => ScanningRepositoryFilterList], 2\n];\nvar Remediation$ = [3, n0, _Re,\n 0,\n [_rec],\n [() => Recommendation$]\n];\nvar ReplicationConfiguration$ = [3, n0, _RC,\n 0,\n [_ru],\n [() => ReplicationRuleList], 1\n];\nvar ReplicationDestination$ = [3, n0, _RD,\n 0,\n [_reg, _rI],\n [0, 0], 2\n];\nvar ReplicationRule$ = [3, n0, _RR,\n 0,\n [_de, _rF],\n [() => ReplicationDestinationList, () => RepositoryFilterList], 1\n];\nvar Repository$ = [3, n0, _Rep,\n 0,\n [_rAe, _rI, _rN, _rUe, _cAr, _iTM, _iTMEF, _iSC, _eC],\n [0, 0, 0, 0, 4, 0, () => ImageTagMutabilityExclusionFilters, () => ImageScanningConfiguration$, () => EncryptionConfiguration$]\n];\nvar RepositoryAlreadyExistsException$ = [-3, n0, _RAEE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(RepositoryAlreadyExistsException$, RepositoryAlreadyExistsException);\nvar RepositoryCreationTemplate$ = [3, n0, _RCT,\n 0,\n [_pr, _d, _eC, _rT, _iTM, _iTMEF, _rP, _lP, _aF, _cRA, _cAr, _uA],\n [0, 0, () => EncryptionConfigurationForRepositoryCreationTemplate$, () => TagList, 0, () => ImageTagMutabilityExclusionFilters, 0, 0, 64 | 0, 0, 4, 4]\n];\nvar RepositoryFilter$ = [3, n0, _RF,\n 0,\n [_fi, _fT],\n [0, 0], 2\n];\nvar RepositoryNotEmptyException$ = [-3, n0, _RNEE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(RepositoryNotEmptyException$, RepositoryNotEmptyException);\nvar RepositoryNotFoundException$ = [-3, n0, _RNFE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(RepositoryNotFoundException$, RepositoryNotFoundException);\nvar RepositoryPolicyNotFoundException$ = [-3, n0, _RPNFEe,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(RepositoryPolicyNotFoundException$, RepositoryPolicyNotFoundException);\nvar RepositoryScanningConfiguration$ = [3, n0, _RSCe,\n 0,\n [_rAe, _rN, _sOP, _sF, _aSF],\n [0, 0, 2, 0, () => ScanningRepositoryFilterList]\n];\nvar RepositoryScanningConfigurationFailure$ = [3, n0, _RSCF,\n 0,\n [_rN, _fC, _fR],\n [0, 0, 0]\n];\nvar Resource$ = [3, n0, _Res,\n 0,\n [_det, _id, _t, _ty],\n [() => ResourceDetails$, 0, 128 | 0, 0]\n];\nvar ResourceDetails$ = [3, n0, _RDe,\n 0,\n [_aECI],\n [() => AwsEcrContainerImageDetails$]\n];\nvar ScanningRepositoryFilter$ = [3, n0, _SRF,\n 0,\n [_fi, _fT],\n [0, 0], 2\n];\nvar ScanNotFoundException$ = [-3, n0, _SNFE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(ScanNotFoundException$, ScanNotFoundException);\nvar ScoreDetails$ = [3, n0, _SD,\n 0,\n [_cv],\n [() => CvssScoreDetails$]\n];\nvar SecretNotFoundException$ = [-3, n0, _SNFEe,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(SecretNotFoundException$, SecretNotFoundException);\nvar ServerException$ = [-3, n0, _SE,\n { [_e]: _ser },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(ServerException$, ServerException);\nvar SetRepositoryPolicyRequest$ = [3, n0, _SRPR,\n 0,\n [_rN, _pT, _rI, _fo],\n [0, 0, 0, 2], 2\n];\nvar SetRepositoryPolicyResponse$ = [3, n0, _SRPRe,\n 0,\n [_rI, _rN, _pT],\n [0, 0, 0]\n];\nvar SigningConfiguration$ = [3, n0, _SC,\n 0,\n [_ru],\n [() => SigningRuleList], 1\n];\nvar SigningConfigurationNotFoundException$ = [-3, n0, _SCNFE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(SigningConfigurationNotFoundException$, SigningConfigurationNotFoundException);\nvar SigningRepositoryFilter$ = [3, n0, _SRFi,\n 0,\n [_fi, _fT],\n [0, 0], 2\n];\nvar SigningRule$ = [3, n0, _SR,\n 0,\n [_sPA, _rF],\n [0, () => SigningRepositoryFilterList], 1\n];\nvar StartImageScanRequest$ = [3, n0, _SISR,\n 0,\n [_rN, _iIm, _rI],\n [0, () => ImageIdentifier$, 0], 2\n];\nvar StartImageScanResponse$ = [3, n0, _SISRt,\n 0,\n [_rI, _rN, _iIm, _iSS],\n [0, 0, () => ImageIdentifier$, () => ImageScanStatus$]\n];\nvar StartLifecyclePolicyPreviewRequest$ = [3, n0, _SLPPR,\n 0,\n [_rN, _rI, _lPT],\n [0, 0, 0], 1\n];\nvar StartLifecyclePolicyPreviewResponse$ = [3, n0, _SLPPRt,\n 0,\n [_rI, _rN, _lPT, _st],\n [0, 0, 0, 0]\n];\nvar SubjectIdentifier$ = [3, n0, _SI,\n 0,\n [_iDm],\n [0], 1\n];\nvar Tag$ = [3, n0, _T,\n 0,\n [_K, _V],\n [0, 0], 2\n];\nvar TagResourceRequest$ = [3, n0, _TRR,\n 0,\n [_rA, _t],\n [0, () => TagList], 2\n];\nvar TagResourceResponse$ = [3, n0, _TRRa,\n 0,\n [],\n []\n];\nvar TemplateAlreadyExistsException$ = [-3, n0, _TAEE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(TemplateAlreadyExistsException$, TemplateAlreadyExistsException);\nvar TemplateNotFoundException$ = [-3, n0, _TNFE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(TemplateNotFoundException$, TemplateNotFoundException);\nvar TooManyTagsException$ = [-3, n0, _TMTE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(TooManyTagsException$, TooManyTagsException);\nvar TransitioningImageTotalCount$ = [3, n0, _TITC,\n 0,\n [_tSC, _iTC],\n [0, 1]\n];\nvar UnableToAccessSecretException$ = [-3, n0, _UTASE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(UnableToAccessSecretException$, UnableToAccessSecretException);\nvar UnableToDecryptSecretValueException$ = [-3, n0, _UTDSVE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(UnableToDecryptSecretValueException$, UnableToDecryptSecretValueException);\nvar UnableToGetUpstreamImageException$ = [-3, n0, _UTGUIE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(UnableToGetUpstreamImageException$, UnableToGetUpstreamImageException);\nvar UnableToGetUpstreamLayerException$ = [-3, n0, _UTGULE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(UnableToGetUpstreamLayerException$, UnableToGetUpstreamLayerException);\nvar UnsupportedImageTypeException$ = [-3, n0, _UITE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(UnsupportedImageTypeException$, UnsupportedImageTypeException);\nvar UnsupportedUpstreamRegistryException$ = [-3, n0, _UURE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(UnsupportedUpstreamRegistryException$, UnsupportedUpstreamRegistryException);\nvar UntagResourceRequest$ = [3, n0, _URR,\n 0,\n [_rA, _tK],\n [0, 64 | 0], 2\n];\nvar UntagResourceResponse$ = [3, n0, _URRn,\n 0,\n [],\n []\n];\nvar UpdateImageStorageClassRequest$ = [3, n0, _UISCR,\n 0,\n [_rN, _iIm, _tSC, _rI],\n [0, () => ImageIdentifier$, 0, 0], 3\n];\nvar UpdateImageStorageClassResponse$ = [3, n0, _UISCRp,\n 0,\n [_rI, _rN, _iIm, _iS],\n [0, 0, () => ImageIdentifier$, 0]\n];\nvar UpdatePullThroughCacheRuleRequest$ = [3, n0, _UPTCRR,\n 0,\n [_eRP, _rI, _cA, _cRA],\n [0, 0, 0, 0], 1\n];\nvar UpdatePullThroughCacheRuleResponse$ = [3, n0, _UPTCRRp,\n 0,\n [_eRP, _rI, _uA, _cA, _cRA, _uRP],\n [0, 0, 4, 0, 0, 0]\n];\nvar UpdateRepositoryCreationTemplateRequest$ = [3, n0, _URCTR,\n 0,\n [_pr, _d, _eC, _rT, _iTM, _iTMEF, _rP, _lP, _aF, _cRA],\n [0, 0, () => EncryptionConfigurationForRepositoryCreationTemplate$, () => TagList, 0, () => ImageTagMutabilityExclusionFilters, 0, 0, 64 | 0, 0], 1\n];\nvar UpdateRepositoryCreationTemplateResponse$ = [3, n0, _URCTRp,\n 0,\n [_rI, _rCT],\n [0, () => RepositoryCreationTemplate$]\n];\nvar UploadLayerPartRequest$ = [3, n0, _ULPR,\n 0,\n [_rN, _uI, _pFB, _pLB, _lPB, _rI],\n [0, 0, 1, 1, 21, 0], 5\n];\nvar UploadLayerPartResponse$ = [3, n0, _ULPRp,\n 0,\n [_rI, _rN, _uI, _lBR],\n [0, 0, 0, 1]\n];\nvar UploadNotFoundException$ = [-3, n0, _UNFE,\n { [_e]: _c },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(UploadNotFoundException$, UploadNotFoundException);\nvar ValidatePullThroughCacheRuleRequest$ = [3, n0, _VPTCRR,\n 0,\n [_eRP, _rI],\n [0, 0], 1\n];\nvar ValidatePullThroughCacheRuleResponse$ = [3, n0, _VPTCRRa,\n 0,\n [_eRP, _rI, _uRU, _cA, _cRA, _uRP, _iV, _fa],\n [0, 0, 0, 0, 0, 0, 2, 0]\n];\nvar ValidationException$ = [-3, n0, _VE,\n { [_e]: _c, [_hE]: 400 },\n [_m],\n [0]\n];\nschema.TypeRegistry.for(n0).registerError(ValidationException$, ValidationException);\nvar VulnerablePackage$ = [3, n0, _VP,\n 0,\n [_ar, _ep, _fP, _n, _pM, _rel, _sLH, _ve, _fIV],\n [0, 1, 0, 0, 0, 0, 0, 0, 0]\n];\nvar ECRServiceException$ = [-3, _sm, \"ECRServiceException\", 0, [], []];\nschema.TypeRegistry.for(_sm).registerError(ECRServiceException$, ECRServiceException);\nvar AttributeList = [1, n0, _AL,\n 0, () => Attribute$\n];\nvar AuthorizationDataList = [1, n0, _ADL,\n 0, () => AuthorizationData$\n];\nvar CvssScoreAdjustmentList = [1, n0, _CSAL,\n 0, () => CvssScoreAdjustment$\n];\nvar CvssScoreList = [1, n0, _CSL,\n 0, () => CvssScore$\n];\nvar EnhancedImageScanFindingList = [1, n0, _EISFL,\n 0, () => EnhancedImageScanFinding$\n];\nvar ImageDetailList = [1, n0, _IDL,\n 0, () => ImageDetail$\n];\nvar ImageFailureList = [1, n0, _IFL,\n 0, () => ImageFailure$\n];\nvar ImageIdentifierList = [1, n0, _IIL,\n 0, () => ImageIdentifier$\n];\nvar ImageList = [1, n0, _IL,\n 0, () => Image$\n];\nvar ImageReferrerList = [1, n0, _IRL,\n 0, () => ImageReferrer$\n];\nvar ImageReplicationStatusList = [1, n0, _IRSL,\n 0, () => ImageReplicationStatus$\n];\nvar ImageScanFindingList = [1, n0, _ISFL,\n 0, () => ImageScanFinding$\n];\nvar ImageSigningStatusList = [1, n0, _ISSL,\n 0, () => ImageSigningStatus$\n];\nvar ImageTagMutabilityExclusionFilters = [1, n0, _ITMEFm,\n 0, () => ImageTagMutabilityExclusionFilter$\n];\nvar LayerFailureList = [1, n0, _LFL,\n 0, () => LayerFailure$\n];\nvar LayerList = [1, n0, _LL,\n 0, () => Layer$\n];\nvar LifecyclePolicyPreviewResultList = [1, n0, _LPPRL,\n 0, () => LifecyclePolicyPreviewResult$\n];\nvar PullThroughCacheRuleList = [1, n0, _PTCRL,\n 0, () => PullThroughCacheRule$\n];\nvar RegistryScanningRuleList = [1, n0, _RSRL,\n 0, () => RegistryScanningRule$\n];\nvar ReplicationDestinationList = [1, n0, _RDL,\n 0, () => ReplicationDestination$\n];\nvar ReplicationRuleList = [1, n0, _RRL,\n 0, () => ReplicationRule$\n];\nvar RepositoryCreationTemplateList = [1, n0, _RCTL,\n 0, () => RepositoryCreationTemplate$\n];\nvar RepositoryFilterList = [1, n0, _RFL,\n 0, () => RepositoryFilter$\n];\nvar RepositoryList = [1, n0, _RL,\n 0, () => Repository$\n];\nvar RepositoryScanningConfigurationFailureList = [1, n0, _RSCFL,\n 0, () => RepositoryScanningConfigurationFailure$\n];\nvar RepositoryScanningConfigurationList = [1, n0, _RSCL,\n 0, () => RepositoryScanningConfiguration$\n];\nvar ResourceList = [1, n0, _RLe,\n 0, () => Resource$\n];\nvar ScanningRepositoryFilterList = [1, n0, _SRFL,\n 0, () => ScanningRepositoryFilter$\n];\nvar SigningRepositoryFilterList = [1, n0, _SRFLi,\n 0, () => SigningRepositoryFilter$\n];\nvar SigningRuleList = [1, n0, _SRL,\n 0, () => SigningRule$\n];\nvar TagList = [1, n0, _TL,\n 0, () => Tag$\n];\nvar TransitioningImageTotalCounts = [1, n0, _TITCr,\n 0, () => TransitioningImageTotalCount$\n];\nvar VulnerablePackagesList = [1, n0, _VPL,\n 0, () => VulnerablePackage$\n];\nvar BatchCheckLayerAvailability$ = [9, n0, _BCLA,\n 0, () => BatchCheckLayerAvailabilityRequest$, () => BatchCheckLayerAvailabilityResponse$\n];\nvar BatchDeleteImage$ = [9, n0, _BDI,\n 0, () => BatchDeleteImageRequest$, () => BatchDeleteImageResponse$\n];\nvar BatchGetImage$ = [9, n0, _BGI,\n 0, () => BatchGetImageRequest$, () => BatchGetImageResponse$\n];\nvar BatchGetRepositoryScanningConfiguration$ = [9, n0, _BGRSC,\n 0, () => BatchGetRepositoryScanningConfigurationRequest$, () => BatchGetRepositoryScanningConfigurationResponse$\n];\nvar CompleteLayerUpload$ = [9, n0, _CLU,\n 0, () => CompleteLayerUploadRequest$, () => CompleteLayerUploadResponse$\n];\nvar CreatePullThroughCacheRule$ = [9, n0, _CPTCR,\n 0, () => CreatePullThroughCacheRuleRequest$, () => CreatePullThroughCacheRuleResponse$\n];\nvar CreateRepository$ = [9, n0, _CR,\n 0, () => CreateRepositoryRequest$, () => CreateRepositoryResponse$\n];\nvar CreateRepositoryCreationTemplate$ = [9, n0, _CRCT,\n 0, () => CreateRepositoryCreationTemplateRequest$, () => CreateRepositoryCreationTemplateResponse$\n];\nvar DeleteLifecyclePolicy$ = [9, n0, _DLP,\n 0, () => DeleteLifecyclePolicyRequest$, () => DeleteLifecyclePolicyResponse$\n];\nvar DeletePullThroughCacheRule$ = [9, n0, _DPTCR,\n 0, () => DeletePullThroughCacheRuleRequest$, () => DeletePullThroughCacheRuleResponse$\n];\nvar DeleteRegistryPolicy$ = [9, n0, _DRP,\n 0, () => DeleteRegistryPolicyRequest$, () => DeleteRegistryPolicyResponse$\n];\nvar DeleteRepository$ = [9, n0, _DR,\n 0, () => DeleteRepositoryRequest$, () => DeleteRepositoryResponse$\n];\nvar DeleteRepositoryCreationTemplate$ = [9, n0, _DRCT,\n 0, () => DeleteRepositoryCreationTemplateRequest$, () => DeleteRepositoryCreationTemplateResponse$\n];\nvar DeleteRepositoryPolicy$ = [9, n0, _DRPe,\n 0, () => DeleteRepositoryPolicyRequest$, () => DeleteRepositoryPolicyResponse$\n];\nvar DeleteSigningConfiguration$ = [9, n0, _DSC,\n 0, () => DeleteSigningConfigurationRequest$, () => DeleteSigningConfigurationResponse$\n];\nvar DeregisterPullTimeUpdateExclusion$ = [9, n0, _DPTUE,\n 0, () => DeregisterPullTimeUpdateExclusionRequest$, () => DeregisterPullTimeUpdateExclusionResponse$\n];\nvar DescribeImageReplicationStatus$ = [9, n0, _DIRS,\n 0, () => DescribeImageReplicationStatusRequest$, () => DescribeImageReplicationStatusResponse$\n];\nvar DescribeImages$ = [9, n0, _DI,\n 0, () => DescribeImagesRequest$, () => DescribeImagesResponse$\n];\nvar DescribeImageScanFindings$ = [9, n0, _DISF,\n 0, () => DescribeImageScanFindingsRequest$, () => DescribeImageScanFindingsResponse$\n];\nvar DescribeImageSigningStatus$ = [9, n0, _DISS,\n 0, () => DescribeImageSigningStatusRequest$, () => DescribeImageSigningStatusResponse$\n];\nvar DescribePullThroughCacheRules$ = [9, n0, _DPTCRe,\n 0, () => DescribePullThroughCacheRulesRequest$, () => DescribePullThroughCacheRulesResponse$\n];\nvar DescribeRegistry$ = [9, n0, _DRe,\n 0, () => DescribeRegistryRequest$, () => DescribeRegistryResponse$\n];\nvar DescribeRepositories$ = [9, n0, _DRes,\n 0, () => DescribeRepositoriesRequest$, () => DescribeRepositoriesResponse$\n];\nvar DescribeRepositoryCreationTemplates$ = [9, n0, _DRCTe,\n 0, () => DescribeRepositoryCreationTemplatesRequest$, () => DescribeRepositoryCreationTemplatesResponse$\n];\nvar GetAccountSetting$ = [9, n0, _GAS,\n 0, () => GetAccountSettingRequest$, () => GetAccountSettingResponse$\n];\nvar GetAuthorizationToken$ = [9, n0, _GAT,\n 0, () => GetAuthorizationTokenRequest$, () => GetAuthorizationTokenResponse$\n];\nvar GetDownloadUrlForLayer$ = [9, n0, _GDUFL,\n 0, () => GetDownloadUrlForLayerRequest$, () => GetDownloadUrlForLayerResponse$\n];\nvar GetLifecyclePolicy$ = [9, n0, _GLP,\n 0, () => GetLifecyclePolicyRequest$, () => GetLifecyclePolicyResponse$\n];\nvar GetLifecyclePolicyPreview$ = [9, n0, _GLPP,\n 0, () => GetLifecyclePolicyPreviewRequest$, () => GetLifecyclePolicyPreviewResponse$\n];\nvar GetRegistryPolicy$ = [9, n0, _GRP,\n 0, () => GetRegistryPolicyRequest$, () => GetRegistryPolicyResponse$\n];\nvar GetRegistryScanningConfiguration$ = [9, n0, _GRSC,\n 0, () => GetRegistryScanningConfigurationRequest$, () => GetRegistryScanningConfigurationResponse$\n];\nvar GetRepositoryPolicy$ = [9, n0, _GRPe,\n 0, () => GetRepositoryPolicyRequest$, () => GetRepositoryPolicyResponse$\n];\nvar GetSigningConfiguration$ = [9, n0, _GSC,\n 0, () => GetSigningConfigurationRequest$, () => GetSigningConfigurationResponse$\n];\nvar InitiateLayerUpload$ = [9, n0, _ILU,\n 0, () => InitiateLayerUploadRequest$, () => InitiateLayerUploadResponse$\n];\nvar ListImageReferrers$ = [9, n0, _LIRis,\n 0, () => ListImageReferrersRequest$, () => ListImageReferrersResponse$\n];\nvar ListImages$ = [9, n0, _LI,\n 0, () => ListImagesRequest$, () => ListImagesResponse$\n];\nvar ListPullTimeUpdateExclusions$ = [9, n0, _LPTUE,\n 0, () => ListPullTimeUpdateExclusionsRequest$, () => ListPullTimeUpdateExclusionsResponse$\n];\nvar ListTagsForResource$ = [9, n0, _LTFR,\n 0, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$\n];\nvar PutAccountSetting$ = [9, n0, _PAS,\n 0, () => PutAccountSettingRequest$, () => PutAccountSettingResponse$\n];\nvar PutImage$ = [9, n0, _PI,\n 0, () => PutImageRequest$, () => PutImageResponse$\n];\nvar PutImageScanningConfiguration$ = [9, n0, _PISC,\n 0, () => PutImageScanningConfigurationRequest$, () => PutImageScanningConfigurationResponse$\n];\nvar PutImageTagMutability$ = [9, n0, _PITM,\n 0, () => PutImageTagMutabilityRequest$, () => PutImageTagMutabilityResponse$\n];\nvar PutLifecyclePolicy$ = [9, n0, _PLP,\n 0, () => PutLifecyclePolicyRequest$, () => PutLifecyclePolicyResponse$\n];\nvar PutRegistryPolicy$ = [9, n0, _PRP,\n 0, () => PutRegistryPolicyRequest$, () => PutRegistryPolicyResponse$\n];\nvar PutRegistryScanningConfiguration$ = [9, n0, _PRSC,\n 0, () => PutRegistryScanningConfigurationRequest$, () => PutRegistryScanningConfigurationResponse$\n];\nvar PutReplicationConfiguration$ = [9, n0, _PRC,\n 0, () => PutReplicationConfigurationRequest$, () => PutReplicationConfigurationResponse$\n];\nvar PutSigningConfiguration$ = [9, n0, _PSC,\n 0, () => PutSigningConfigurationRequest$, () => PutSigningConfigurationResponse$\n];\nvar RegisterPullTimeUpdateExclusion$ = [9, n0, _RPTUE,\n 0, () => RegisterPullTimeUpdateExclusionRequest$, () => RegisterPullTimeUpdateExclusionResponse$\n];\nvar SetRepositoryPolicy$ = [9, n0, _SRP,\n 0, () => SetRepositoryPolicyRequest$, () => SetRepositoryPolicyResponse$\n];\nvar StartImageScan$ = [9, n0, _SIS,\n 0, () => StartImageScanRequest$, () => StartImageScanResponse$\n];\nvar StartLifecyclePolicyPreview$ = [9, n0, _SLPP,\n 0, () => StartLifecyclePolicyPreviewRequest$, () => StartLifecyclePolicyPreviewResponse$\n];\nvar TagResource$ = [9, n0, _TR,\n 0, () => TagResourceRequest$, () => TagResourceResponse$\n];\nvar UntagResource$ = [9, n0, _UR,\n 0, () => UntagResourceRequest$, () => UntagResourceResponse$\n];\nvar UpdateImageStorageClass$ = [9, n0, _UISC,\n 0, () => UpdateImageStorageClassRequest$, () => UpdateImageStorageClassResponse$\n];\nvar UpdatePullThroughCacheRule$ = [9, n0, _UPTCR,\n 0, () => UpdatePullThroughCacheRuleRequest$, () => UpdatePullThroughCacheRuleResponse$\n];\nvar UpdateRepositoryCreationTemplate$ = [9, n0, _URCT,\n 0, () => UpdateRepositoryCreationTemplateRequest$, () => UpdateRepositoryCreationTemplateResponse$\n];\nvar UploadLayerPart$ = [9, n0, _ULP,\n 0, () => UploadLayerPartRequest$, () => UploadLayerPartResponse$\n];\nvar ValidatePullThroughCacheRule$ = [9, n0, _VPTCR,\n 0, () => ValidatePullThroughCacheRuleRequest$, () => ValidatePullThroughCacheRuleResponse$\n];\n\nclass BatchCheckLayerAvailabilityCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"BatchCheckLayerAvailability\", {})\n .n(\"ECRClient\", \"BatchCheckLayerAvailabilityCommand\")\n .sc(BatchCheckLayerAvailability$)\n .build() {\n}\n\nclass BatchDeleteImageCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"BatchDeleteImage\", {})\n .n(\"ECRClient\", \"BatchDeleteImageCommand\")\n .sc(BatchDeleteImage$)\n .build() {\n}\n\nclass BatchGetImageCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"BatchGetImage\", {})\n .n(\"ECRClient\", \"BatchGetImageCommand\")\n .sc(BatchGetImage$)\n .build() {\n}\n\nclass BatchGetRepositoryScanningConfigurationCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"BatchGetRepositoryScanningConfiguration\", {})\n .n(\"ECRClient\", \"BatchGetRepositoryScanningConfigurationCommand\")\n .sc(BatchGetRepositoryScanningConfiguration$)\n .build() {\n}\n\nclass CompleteLayerUploadCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"CompleteLayerUpload\", {})\n .n(\"ECRClient\", \"CompleteLayerUploadCommand\")\n .sc(CompleteLayerUpload$)\n .build() {\n}\n\nclass CreatePullThroughCacheRuleCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"CreatePullThroughCacheRule\", {})\n .n(\"ECRClient\", \"CreatePullThroughCacheRuleCommand\")\n .sc(CreatePullThroughCacheRule$)\n .build() {\n}\n\nclass CreateRepositoryCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"CreateRepository\", {})\n .n(\"ECRClient\", \"CreateRepositoryCommand\")\n .sc(CreateRepository$)\n .build() {\n}\n\nclass CreateRepositoryCreationTemplateCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"CreateRepositoryCreationTemplate\", {})\n .n(\"ECRClient\", \"CreateRepositoryCreationTemplateCommand\")\n .sc(CreateRepositoryCreationTemplate$)\n .build() {\n}\n\nclass DeleteLifecyclePolicyCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"DeleteLifecyclePolicy\", {})\n .n(\"ECRClient\", \"DeleteLifecyclePolicyCommand\")\n .sc(DeleteLifecyclePolicy$)\n .build() {\n}\n\nclass DeletePullThroughCacheRuleCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"DeletePullThroughCacheRule\", {})\n .n(\"ECRClient\", \"DeletePullThroughCacheRuleCommand\")\n .sc(DeletePullThroughCacheRule$)\n .build() {\n}\n\nclass DeleteRegistryPolicyCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"DeleteRegistryPolicy\", {})\n .n(\"ECRClient\", \"DeleteRegistryPolicyCommand\")\n .sc(DeleteRegistryPolicy$)\n .build() {\n}\n\nclass DeleteRepositoryCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"DeleteRepository\", {})\n .n(\"ECRClient\", \"DeleteRepositoryCommand\")\n .sc(DeleteRepository$)\n .build() {\n}\n\nclass DeleteRepositoryCreationTemplateCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"DeleteRepositoryCreationTemplate\", {})\n .n(\"ECRClient\", \"DeleteRepositoryCreationTemplateCommand\")\n .sc(DeleteRepositoryCreationTemplate$)\n .build() {\n}\n\nclass DeleteRepositoryPolicyCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"DeleteRepositoryPolicy\", {})\n .n(\"ECRClient\", \"DeleteRepositoryPolicyCommand\")\n .sc(DeleteRepositoryPolicy$)\n .build() {\n}\n\nclass DeleteSigningConfigurationCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"DeleteSigningConfiguration\", {})\n .n(\"ECRClient\", \"DeleteSigningConfigurationCommand\")\n .sc(DeleteSigningConfiguration$)\n .build() {\n}\n\nclass DeregisterPullTimeUpdateExclusionCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"DeregisterPullTimeUpdateExclusion\", {})\n .n(\"ECRClient\", \"DeregisterPullTimeUpdateExclusionCommand\")\n .sc(DeregisterPullTimeUpdateExclusion$)\n .build() {\n}\n\nclass DescribeImageReplicationStatusCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"DescribeImageReplicationStatus\", {})\n .n(\"ECRClient\", \"DescribeImageReplicationStatusCommand\")\n .sc(DescribeImageReplicationStatus$)\n .build() {\n}\n\nclass DescribeImageScanFindingsCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"DescribeImageScanFindings\", {})\n .n(\"ECRClient\", \"DescribeImageScanFindingsCommand\")\n .sc(DescribeImageScanFindings$)\n .build() {\n}\n\nclass DescribeImagesCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"DescribeImages\", {})\n .n(\"ECRClient\", \"DescribeImagesCommand\")\n .sc(DescribeImages$)\n .build() {\n}\n\nclass DescribeImageSigningStatusCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"DescribeImageSigningStatus\", {})\n .n(\"ECRClient\", \"DescribeImageSigningStatusCommand\")\n .sc(DescribeImageSigningStatus$)\n .build() {\n}\n\nclass DescribePullThroughCacheRulesCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"DescribePullThroughCacheRules\", {})\n .n(\"ECRClient\", \"DescribePullThroughCacheRulesCommand\")\n .sc(DescribePullThroughCacheRules$)\n .build() {\n}\n\nclass DescribeRegistryCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"DescribeRegistry\", {})\n .n(\"ECRClient\", \"DescribeRegistryCommand\")\n .sc(DescribeRegistry$)\n .build() {\n}\n\nclass DescribeRepositoriesCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"DescribeRepositories\", {})\n .n(\"ECRClient\", \"DescribeRepositoriesCommand\")\n .sc(DescribeRepositories$)\n .build() {\n}\n\nclass DescribeRepositoryCreationTemplatesCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"DescribeRepositoryCreationTemplates\", {})\n .n(\"ECRClient\", \"DescribeRepositoryCreationTemplatesCommand\")\n .sc(DescribeRepositoryCreationTemplates$)\n .build() {\n}\n\nclass GetAccountSettingCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"GetAccountSetting\", {})\n .n(\"ECRClient\", \"GetAccountSettingCommand\")\n .sc(GetAccountSetting$)\n .build() {\n}\n\nclass GetAuthorizationTokenCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"GetAuthorizationToken\", {})\n .n(\"ECRClient\", \"GetAuthorizationTokenCommand\")\n .sc(GetAuthorizationToken$)\n .build() {\n}\n\nclass GetDownloadUrlForLayerCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"GetDownloadUrlForLayer\", {})\n .n(\"ECRClient\", \"GetDownloadUrlForLayerCommand\")\n .sc(GetDownloadUrlForLayer$)\n .build() {\n}\n\nclass GetLifecyclePolicyCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"GetLifecyclePolicy\", {})\n .n(\"ECRClient\", \"GetLifecyclePolicyCommand\")\n .sc(GetLifecyclePolicy$)\n .build() {\n}\n\nclass GetLifecyclePolicyPreviewCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"GetLifecyclePolicyPreview\", {})\n .n(\"ECRClient\", \"GetLifecyclePolicyPreviewCommand\")\n .sc(GetLifecyclePolicyPreview$)\n .build() {\n}\n\nclass GetRegistryPolicyCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"GetRegistryPolicy\", {})\n .n(\"ECRClient\", \"GetRegistryPolicyCommand\")\n .sc(GetRegistryPolicy$)\n .build() {\n}\n\nclass GetRegistryScanningConfigurationCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"GetRegistryScanningConfiguration\", {})\n .n(\"ECRClient\", \"GetRegistryScanningConfigurationCommand\")\n .sc(GetRegistryScanningConfiguration$)\n .build() {\n}\n\nclass GetRepositoryPolicyCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"GetRepositoryPolicy\", {})\n .n(\"ECRClient\", \"GetRepositoryPolicyCommand\")\n .sc(GetRepositoryPolicy$)\n .build() {\n}\n\nclass GetSigningConfigurationCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"GetSigningConfiguration\", {})\n .n(\"ECRClient\", \"GetSigningConfigurationCommand\")\n .sc(GetSigningConfiguration$)\n .build() {\n}\n\nclass InitiateLayerUploadCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"InitiateLayerUpload\", {})\n .n(\"ECRClient\", \"InitiateLayerUploadCommand\")\n .sc(InitiateLayerUpload$)\n .build() {\n}\n\nclass ListImageReferrersCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"ListImageReferrers\", {})\n .n(\"ECRClient\", \"ListImageReferrersCommand\")\n .sc(ListImageReferrers$)\n .build() {\n}\n\nclass ListImagesCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"ListImages\", {})\n .n(\"ECRClient\", \"ListImagesCommand\")\n .sc(ListImages$)\n .build() {\n}\n\nclass ListPullTimeUpdateExclusionsCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"ListPullTimeUpdateExclusions\", {})\n .n(\"ECRClient\", \"ListPullTimeUpdateExclusionsCommand\")\n .sc(ListPullTimeUpdateExclusions$)\n .build() {\n}\n\nclass ListTagsForResourceCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"ListTagsForResource\", {})\n .n(\"ECRClient\", \"ListTagsForResourceCommand\")\n .sc(ListTagsForResource$)\n .build() {\n}\n\nclass PutAccountSettingCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"PutAccountSetting\", {})\n .n(\"ECRClient\", \"PutAccountSettingCommand\")\n .sc(PutAccountSetting$)\n .build() {\n}\n\nclass PutImageCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"PutImage\", {})\n .n(\"ECRClient\", \"PutImageCommand\")\n .sc(PutImage$)\n .build() {\n}\n\nclass PutImageScanningConfigurationCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"PutImageScanningConfiguration\", {})\n .n(\"ECRClient\", \"PutImageScanningConfigurationCommand\")\n .sc(PutImageScanningConfiguration$)\n .build() {\n}\n\nclass PutImageTagMutabilityCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"PutImageTagMutability\", {})\n .n(\"ECRClient\", \"PutImageTagMutabilityCommand\")\n .sc(PutImageTagMutability$)\n .build() {\n}\n\nclass PutLifecyclePolicyCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"PutLifecyclePolicy\", {})\n .n(\"ECRClient\", \"PutLifecyclePolicyCommand\")\n .sc(PutLifecyclePolicy$)\n .build() {\n}\n\nclass PutRegistryPolicyCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"PutRegistryPolicy\", {})\n .n(\"ECRClient\", \"PutRegistryPolicyCommand\")\n .sc(PutRegistryPolicy$)\n .build() {\n}\n\nclass PutRegistryScanningConfigurationCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"PutRegistryScanningConfiguration\", {})\n .n(\"ECRClient\", \"PutRegistryScanningConfigurationCommand\")\n .sc(PutRegistryScanningConfiguration$)\n .build() {\n}\n\nclass PutReplicationConfigurationCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"PutReplicationConfiguration\", {})\n .n(\"ECRClient\", \"PutReplicationConfigurationCommand\")\n .sc(PutReplicationConfiguration$)\n .build() {\n}\n\nclass PutSigningConfigurationCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"PutSigningConfiguration\", {})\n .n(\"ECRClient\", \"PutSigningConfigurationCommand\")\n .sc(PutSigningConfiguration$)\n .build() {\n}\n\nclass RegisterPullTimeUpdateExclusionCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"RegisterPullTimeUpdateExclusion\", {})\n .n(\"ECRClient\", \"RegisterPullTimeUpdateExclusionCommand\")\n .sc(RegisterPullTimeUpdateExclusion$)\n .build() {\n}\n\nclass SetRepositoryPolicyCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"SetRepositoryPolicy\", {})\n .n(\"ECRClient\", \"SetRepositoryPolicyCommand\")\n .sc(SetRepositoryPolicy$)\n .build() {\n}\n\nclass StartImageScanCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"StartImageScan\", {})\n .n(\"ECRClient\", \"StartImageScanCommand\")\n .sc(StartImageScan$)\n .build() {\n}\n\nclass StartLifecyclePolicyPreviewCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"StartLifecyclePolicyPreview\", {})\n .n(\"ECRClient\", \"StartLifecyclePolicyPreviewCommand\")\n .sc(StartLifecyclePolicyPreview$)\n .build() {\n}\n\nclass TagResourceCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"TagResource\", {})\n .n(\"ECRClient\", \"TagResourceCommand\")\n .sc(TagResource$)\n .build() {\n}\n\nclass UntagResourceCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"UntagResource\", {})\n .n(\"ECRClient\", \"UntagResourceCommand\")\n .sc(UntagResource$)\n .build() {\n}\n\nclass UpdateImageStorageClassCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"UpdateImageStorageClass\", {})\n .n(\"ECRClient\", \"UpdateImageStorageClassCommand\")\n .sc(UpdateImageStorageClass$)\n .build() {\n}\n\nclass UpdatePullThroughCacheRuleCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"UpdatePullThroughCacheRule\", {})\n .n(\"ECRClient\", \"UpdatePullThroughCacheRuleCommand\")\n .sc(UpdatePullThroughCacheRule$)\n .build() {\n}\n\nclass UpdateRepositoryCreationTemplateCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"UpdateRepositoryCreationTemplate\", {})\n .n(\"ECRClient\", \"UpdateRepositoryCreationTemplateCommand\")\n .sc(UpdateRepositoryCreationTemplate$)\n .build() {\n}\n\nclass UploadLayerPartCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"UploadLayerPart\", {})\n .n(\"ECRClient\", \"UploadLayerPartCommand\")\n .sc(UploadLayerPart$)\n .build() {\n}\n\nclass ValidatePullThroughCacheRuleCommand extends smithyClient.Command\n .classBuilder()\n .ep(commonParams)\n .m(function (Command, cs, config, o) {\n return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];\n})\n .s(\"AmazonEC2ContainerRegistry_V20150921\", \"ValidatePullThroughCacheRule\", {})\n .n(\"ECRClient\", \"ValidatePullThroughCacheRuleCommand\")\n .sc(ValidatePullThroughCacheRule$)\n .build() {\n}\n\nconst paginateDescribeImageScanFindings = core.createPaginator(ECRClient, DescribeImageScanFindingsCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\nconst paginateDescribeImages = core.createPaginator(ECRClient, DescribeImagesCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\nconst paginateDescribePullThroughCacheRules = core.createPaginator(ECRClient, DescribePullThroughCacheRulesCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\nconst paginateDescribeRepositories = core.createPaginator(ECRClient, DescribeRepositoriesCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\nconst paginateDescribeRepositoryCreationTemplates = core.createPaginator(ECRClient, DescribeRepositoryCreationTemplatesCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\nconst paginateGetLifecyclePolicyPreview = core.createPaginator(ECRClient, GetLifecyclePolicyPreviewCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\nconst paginateListImages = core.createPaginator(ECRClient, ListImagesCommand, \"nextToken\", \"nextToken\", \"maxResults\");\n\nconst checkState$1 = async (client, input) => {\n let reason;\n try {\n let result = await client.send(new DescribeImageScanFindingsCommand(input));\n reason = result;\n try {\n const returnComparator = () => {\n return result.imageScanStatus.status;\n };\n if (returnComparator() === \"COMPLETE\") {\n return { state: utilWaiter.WaiterState.SUCCESS, reason };\n }\n }\n catch (e) { }\n try {\n const returnComparator = () => {\n return result.imageScanStatus.status;\n };\n if (returnComparator() === \"FAILED\") {\n return { state: utilWaiter.WaiterState.FAILURE, reason };\n }\n }\n catch (e) { }\n }\n catch (exception) {\n reason = exception;\n }\n return { state: utilWaiter.WaiterState.RETRY, reason };\n};\nconst waitForImageScanComplete = async (params, input) => {\n const serviceDefaults = { minDelay: 5, maxDelay: 120 };\n return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);\n};\nconst waitUntilImageScanComplete = async (params, input) => {\n const serviceDefaults = { minDelay: 5, maxDelay: 120 };\n const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);\n return utilWaiter.checkExceptions(result);\n};\n\nconst checkState = async (client, input) => {\n let reason;\n try {\n let result = await client.send(new GetLifecyclePolicyPreviewCommand(input));\n reason = result;\n try {\n const returnComparator = () => {\n return result.status;\n };\n if (returnComparator() === \"COMPLETE\") {\n return { state: utilWaiter.WaiterState.SUCCESS, reason };\n }\n }\n catch (e) { }\n try {\n const returnComparator = () => {\n return result.status;\n };\n if (returnComparator() === \"FAILED\") {\n return { state: utilWaiter.WaiterState.FAILURE, reason };\n }\n }\n catch (e) { }\n }\n catch (exception) {\n reason = exception;\n }\n return { state: utilWaiter.WaiterState.RETRY, reason };\n};\nconst waitForLifecyclePolicyPreviewComplete = async (params, input) => {\n const serviceDefaults = { minDelay: 5, maxDelay: 120 };\n return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState);\n};\nconst waitUntilLifecyclePolicyPreviewComplete = async (params, input) => {\n const serviceDefaults = { minDelay: 5, maxDelay: 120 };\n const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState);\n return utilWaiter.checkExceptions(result);\n};\n\nconst commands = {\n BatchCheckLayerAvailabilityCommand,\n BatchDeleteImageCommand,\n BatchGetImageCommand,\n BatchGetRepositoryScanningConfigurationCommand,\n CompleteLayerUploadCommand,\n CreatePullThroughCacheRuleCommand,\n CreateRepositoryCommand,\n CreateRepositoryCreationTemplateCommand,\n DeleteLifecyclePolicyCommand,\n DeletePullThroughCacheRuleCommand,\n DeleteRegistryPolicyCommand,\n DeleteRepositoryCommand,\n DeleteRepositoryCreationTemplateCommand,\n DeleteRepositoryPolicyCommand,\n DeleteSigningConfigurationCommand,\n DeregisterPullTimeUpdateExclusionCommand,\n DescribeImageReplicationStatusCommand,\n DescribeImagesCommand,\n DescribeImageScanFindingsCommand,\n DescribeImageSigningStatusCommand,\n DescribePullThroughCacheRulesCommand,\n DescribeRegistryCommand,\n DescribeRepositoriesCommand,\n DescribeRepositoryCreationTemplatesCommand,\n GetAccountSettingCommand,\n GetAuthorizationTokenCommand,\n GetDownloadUrlForLayerCommand,\n GetLifecyclePolicyCommand,\n GetLifecyclePolicyPreviewCommand,\n GetRegistryPolicyCommand,\n GetRegistryScanningConfigurationCommand,\n GetRepositoryPolicyCommand,\n GetSigningConfigurationCommand,\n InitiateLayerUploadCommand,\n ListImageReferrersCommand,\n ListImagesCommand,\n ListPullTimeUpdateExclusionsCommand,\n ListTagsForResourceCommand,\n PutAccountSettingCommand,\n PutImageCommand,\n PutImageScanningConfigurationCommand,\n PutImageTagMutabilityCommand,\n PutLifecyclePolicyCommand,\n PutRegistryPolicyCommand,\n PutRegistryScanningConfigurationCommand,\n PutReplicationConfigurationCommand,\n PutSigningConfigurationCommand,\n RegisterPullTimeUpdateExclusionCommand,\n SetRepositoryPolicyCommand,\n StartImageScanCommand,\n StartLifecyclePolicyPreviewCommand,\n TagResourceCommand,\n UntagResourceCommand,\n UpdateImageStorageClassCommand,\n UpdatePullThroughCacheRuleCommand,\n UpdateRepositoryCreationTemplateCommand,\n UploadLayerPartCommand,\n ValidatePullThroughCacheRuleCommand,\n};\nconst paginators = {\n paginateDescribeImages,\n paginateDescribeImageScanFindings,\n paginateDescribePullThroughCacheRules,\n paginateDescribeRepositories,\n paginateDescribeRepositoryCreationTemplates,\n paginateGetLifecyclePolicyPreview,\n paginateListImages,\n};\nconst waiters = {\n waitUntilImageScanComplete,\n waitUntilLifecyclePolicyPreviewComplete,\n};\nclass ECR extends ECRClient {\n}\nsmithyClient.createAggregatedClient(commands, ECR, { paginators, waiters });\n\nconst LayerFailureCode = {\n InvalidLayerDigest: \"InvalidLayerDigest\",\n MissingLayerDigest: \"MissingLayerDigest\",\n};\nconst LayerAvailability = {\n ARCHIVED: \"ARCHIVED\",\n AVAILABLE: \"AVAILABLE\",\n UNAVAILABLE: \"UNAVAILABLE\",\n};\nconst ImageFailureCode = {\n ImageInaccessible: \"ImageInaccessible\",\n ImageNotFound: \"ImageNotFound\",\n ImageReferencedByManifestList: \"ImageReferencedByManifestList\",\n ImageTagDoesNotMatchDigest: \"ImageTagDoesNotMatchDigest\",\n InvalidImageDigest: \"InvalidImageDigest\",\n InvalidImageTag: \"InvalidImageTag\",\n KmsError: \"KmsError\",\n MissingDigestAndTag: \"MissingDigestAndTag\",\n UpstreamAccessDenied: \"UpstreamAccessDenied\",\n UpstreamTooManyRequests: \"UpstreamTooManyRequests\",\n UpstreamUnavailable: \"UpstreamUnavailable\",\n};\nconst ScanningConfigurationFailureCode = {\n REPOSITORY_NOT_FOUND: \"REPOSITORY_NOT_FOUND\",\n};\nconst ScanningRepositoryFilterType = {\n WILDCARD: \"WILDCARD\",\n};\nconst ScanFrequency = {\n CONTINUOUS_SCAN: \"CONTINUOUS_SCAN\",\n MANUAL: \"MANUAL\",\n SCAN_ON_PUSH: \"SCAN_ON_PUSH\",\n};\nconst UpstreamRegistry = {\n AzureContainerRegistry: \"azure-container-registry\",\n DockerHub: \"docker-hub\",\n Ecr: \"ecr\",\n EcrPublic: \"ecr-public\",\n GitHubContainerRegistry: \"github-container-registry\",\n GitLabContainerRegistry: \"gitlab-container-registry\",\n K8s: \"k8s\",\n Quay: \"quay\",\n};\nconst EncryptionType = {\n AES256: \"AES256\",\n KMS: \"KMS\",\n KMS_DSSE: \"KMS_DSSE\",\n};\nconst ImageTagMutability = {\n IMMUTABLE: \"IMMUTABLE\",\n IMMUTABLE_WITH_EXCLUSION: \"IMMUTABLE_WITH_EXCLUSION\",\n MUTABLE: \"MUTABLE\",\n MUTABLE_WITH_EXCLUSION: \"MUTABLE_WITH_EXCLUSION\",\n};\nconst ImageTagMutabilityExclusionFilterType = {\n WILDCARD: \"WILDCARD\",\n};\nconst RCTAppliedFor = {\n CREATE_ON_PUSH: \"CREATE_ON_PUSH\",\n PULL_THROUGH_CACHE: \"PULL_THROUGH_CACHE\",\n REPLICATION: \"REPLICATION\",\n};\nconst SigningRepositoryFilterType = {\n WILDCARD_MATCH: \"WILDCARD_MATCH\",\n};\nconst ReplicationStatus = {\n COMPLETE: \"COMPLETE\",\n FAILED: \"FAILED\",\n IN_PROGRESS: \"IN_PROGRESS\",\n};\nconst ImageStatusFilter = {\n ACTIVATING: \"ACTIVATING\",\n ACTIVE: \"ACTIVE\",\n ANY: \"ANY\",\n ARCHIVED: \"ARCHIVED\",\n};\nconst TagStatus = {\n ANY: \"ANY\",\n TAGGED: \"TAGGED\",\n UNTAGGED: \"UNTAGGED\",\n};\nconst FindingSeverity = {\n CRITICAL: \"CRITICAL\",\n HIGH: \"HIGH\",\n INFORMATIONAL: \"INFORMATIONAL\",\n LOW: \"LOW\",\n MEDIUM: \"MEDIUM\",\n UNDEFINED: \"UNDEFINED\",\n};\nconst ScanStatus = {\n ACTIVE: \"ACTIVE\",\n COMPLETE: \"COMPLETE\",\n FAILED: \"FAILED\",\n FINDINGS_UNAVAILABLE: \"FINDINGS_UNAVAILABLE\",\n IMAGE_ARCHIVED: \"IMAGE_ARCHIVED\",\n IN_PROGRESS: \"IN_PROGRESS\",\n LIMIT_EXCEEDED: \"LIMIT_EXCEEDED\",\n PENDING: \"PENDING\",\n SCAN_ELIGIBILITY_EXPIRED: \"SCAN_ELIGIBILITY_EXPIRED\",\n UNSUPPORTED_IMAGE: \"UNSUPPORTED_IMAGE\",\n};\nconst ImageStatus = {\n ACTIVATING: \"ACTIVATING\",\n ACTIVE: \"ACTIVE\",\n ARCHIVED: \"ARCHIVED\",\n};\nconst SigningStatus = {\n COMPLETE: \"COMPLETE\",\n FAILED: \"FAILED\",\n IN_PROGRESS: \"IN_PROGRESS\",\n};\nconst RepositoryFilterType = {\n PREFIX_MATCH: \"PREFIX_MATCH\",\n};\nconst LifecyclePolicyTargetStorageClass = {\n ARCHIVE: \"ARCHIVE\",\n};\nconst ImageActionType = {\n EXPIRE: \"EXPIRE\",\n TRANSITION: \"TRANSITION\",\n};\nconst LifecyclePolicyStorageClass = {\n ARCHIVE: \"ARCHIVE\",\n STANDARD: \"STANDARD\",\n};\nconst LifecyclePolicyPreviewStatus = {\n COMPLETE: \"COMPLETE\",\n EXPIRED: \"EXPIRED\",\n FAILED: \"FAILED\",\n IN_PROGRESS: \"IN_PROGRESS\",\n};\nconst ScanType = {\n BASIC: \"BASIC\",\n ENHANCED: \"ENHANCED\",\n};\nconst ArtifactStatusFilter = {\n ACTIVATING: \"ACTIVATING\",\n ACTIVE: \"ACTIVE\",\n ANY: \"ANY\",\n ARCHIVED: \"ARCHIVED\",\n};\nconst ArtifactStatus = {\n ACTIVATING: \"ACTIVATING\",\n ACTIVE: \"ACTIVE\",\n ARCHIVED: \"ARCHIVED\",\n};\nconst TargetStorageClass = {\n ARCHIVE: \"ARCHIVE\",\n STANDARD: \"STANDARD\",\n};\n\nObject.defineProperty(exports, \"$Command\", {\n enumerable: true,\n get: function () { return smithyClient.Command; }\n});\nObject.defineProperty(exports, \"__Client\", {\n enumerable: true,\n get: function () { return smithyClient.Client; }\n});\nexports.ArtifactStatus = ArtifactStatus;\nexports.ArtifactStatusFilter = ArtifactStatusFilter;\nexports.Attribute$ = Attribute$;\nexports.AuthorizationData$ = AuthorizationData$;\nexports.AwsEcrContainerImageDetails$ = AwsEcrContainerImageDetails$;\nexports.BatchCheckLayerAvailability$ = BatchCheckLayerAvailability$;\nexports.BatchCheckLayerAvailabilityCommand = BatchCheckLayerAvailabilityCommand;\nexports.BatchCheckLayerAvailabilityRequest$ = BatchCheckLayerAvailabilityRequest$;\nexports.BatchCheckLayerAvailabilityResponse$ = BatchCheckLayerAvailabilityResponse$;\nexports.BatchDeleteImage$ = BatchDeleteImage$;\nexports.BatchDeleteImageCommand = BatchDeleteImageCommand;\nexports.BatchDeleteImageRequest$ = BatchDeleteImageRequest$;\nexports.BatchDeleteImageResponse$ = BatchDeleteImageResponse$;\nexports.BatchGetImage$ = BatchGetImage$;\nexports.BatchGetImageCommand = BatchGetImageCommand;\nexports.BatchGetImageRequest$ = BatchGetImageRequest$;\nexports.BatchGetImageResponse$ = BatchGetImageResponse$;\nexports.BatchGetRepositoryScanningConfiguration$ = BatchGetRepositoryScanningConfiguration$;\nexports.BatchGetRepositoryScanningConfigurationCommand = BatchGetRepositoryScanningConfigurationCommand;\nexports.BatchGetRepositoryScanningConfigurationRequest$ = BatchGetRepositoryScanningConfigurationRequest$;\nexports.BatchGetRepositoryScanningConfigurationResponse$ = BatchGetRepositoryScanningConfigurationResponse$;\nexports.BlockedByOrganizationPolicyException = BlockedByOrganizationPolicyException;\nexports.BlockedByOrganizationPolicyException$ = BlockedByOrganizationPolicyException$;\nexports.CompleteLayerUpload$ = CompleteLayerUpload$;\nexports.CompleteLayerUploadCommand = CompleteLayerUploadCommand;\nexports.CompleteLayerUploadRequest$ = CompleteLayerUploadRequest$;\nexports.CompleteLayerUploadResponse$ = CompleteLayerUploadResponse$;\nexports.CreatePullThroughCacheRule$ = CreatePullThroughCacheRule$;\nexports.CreatePullThroughCacheRuleCommand = CreatePullThroughCacheRuleCommand;\nexports.CreatePullThroughCacheRuleRequest$ = CreatePullThroughCacheRuleRequest$;\nexports.CreatePullThroughCacheRuleResponse$ = CreatePullThroughCacheRuleResponse$;\nexports.CreateRepository$ = CreateRepository$;\nexports.CreateRepositoryCommand = CreateRepositoryCommand;\nexports.CreateRepositoryCreationTemplate$ = CreateRepositoryCreationTemplate$;\nexports.CreateRepositoryCreationTemplateCommand = CreateRepositoryCreationTemplateCommand;\nexports.CreateRepositoryCreationTemplateRequest$ = CreateRepositoryCreationTemplateRequest$;\nexports.CreateRepositoryCreationTemplateResponse$ = CreateRepositoryCreationTemplateResponse$;\nexports.CreateRepositoryRequest$ = CreateRepositoryRequest$;\nexports.CreateRepositoryResponse$ = CreateRepositoryResponse$;\nexports.CvssScore$ = CvssScore$;\nexports.CvssScoreAdjustment$ = CvssScoreAdjustment$;\nexports.CvssScoreDetails$ = CvssScoreDetails$;\nexports.DeleteLifecyclePolicy$ = DeleteLifecyclePolicy$;\nexports.DeleteLifecyclePolicyCommand = DeleteLifecyclePolicyCommand;\nexports.DeleteLifecyclePolicyRequest$ = DeleteLifecyclePolicyRequest$;\nexports.DeleteLifecyclePolicyResponse$ = DeleteLifecyclePolicyResponse$;\nexports.DeletePullThroughCacheRule$ = DeletePullThroughCacheRule$;\nexports.DeletePullThroughCacheRuleCommand = DeletePullThroughCacheRuleCommand;\nexports.DeletePullThroughCacheRuleRequest$ = DeletePullThroughCacheRuleRequest$;\nexports.DeletePullThroughCacheRuleResponse$ = DeletePullThroughCacheRuleResponse$;\nexports.DeleteRegistryPolicy$ = DeleteRegistryPolicy$;\nexports.DeleteRegistryPolicyCommand = DeleteRegistryPolicyCommand;\nexports.DeleteRegistryPolicyRequest$ = DeleteRegistryPolicyRequest$;\nexports.DeleteRegistryPolicyResponse$ = DeleteRegistryPolicyResponse$;\nexports.DeleteRepository$ = DeleteRepository$;\nexports.DeleteRepositoryCommand = DeleteRepositoryCommand;\nexports.DeleteRepositoryCreationTemplate$ = DeleteRepositoryCreationTemplate$;\nexports.DeleteRepositoryCreationTemplateCommand = DeleteRepositoryCreationTemplateCommand;\nexports.DeleteRepositoryCreationTemplateRequest$ = DeleteRepositoryCreationTemplateRequest$;\nexports.DeleteRepositoryCreationTemplateResponse$ = DeleteRepositoryCreationTemplateResponse$;\nexports.DeleteRepositoryPolicy$ = DeleteRepositoryPolicy$;\nexports.DeleteRepositoryPolicyCommand = DeleteRepositoryPolicyCommand;\nexports.DeleteRepositoryPolicyRequest$ = DeleteRepositoryPolicyRequest$;\nexports.DeleteRepositoryPolicyResponse$ = DeleteRepositoryPolicyResponse$;\nexports.DeleteRepositoryRequest$ = DeleteRepositoryRequest$;\nexports.DeleteRepositoryResponse$ = DeleteRepositoryResponse$;\nexports.DeleteSigningConfiguration$ = DeleteSigningConfiguration$;\nexports.DeleteSigningConfigurationCommand = DeleteSigningConfigurationCommand;\nexports.DeleteSigningConfigurationRequest$ = DeleteSigningConfigurationRequest$;\nexports.DeleteSigningConfigurationResponse$ = DeleteSigningConfigurationResponse$;\nexports.DeregisterPullTimeUpdateExclusion$ = DeregisterPullTimeUpdateExclusion$;\nexports.DeregisterPullTimeUpdateExclusionCommand = DeregisterPullTimeUpdateExclusionCommand;\nexports.DeregisterPullTimeUpdateExclusionRequest$ = DeregisterPullTimeUpdateExclusionRequest$;\nexports.DeregisterPullTimeUpdateExclusionResponse$ = DeregisterPullTimeUpdateExclusionResponse$;\nexports.DescribeImageReplicationStatus$ = DescribeImageReplicationStatus$;\nexports.DescribeImageReplicationStatusCommand = DescribeImageReplicationStatusCommand;\nexports.DescribeImageReplicationStatusRequest$ = DescribeImageReplicationStatusRequest$;\nexports.DescribeImageReplicationStatusResponse$ = DescribeImageReplicationStatusResponse$;\nexports.DescribeImageScanFindings$ = DescribeImageScanFindings$;\nexports.DescribeImageScanFindingsCommand = DescribeImageScanFindingsCommand;\nexports.DescribeImageScanFindingsRequest$ = DescribeImageScanFindingsRequest$;\nexports.DescribeImageScanFindingsResponse$ = DescribeImageScanFindingsResponse$;\nexports.DescribeImageSigningStatus$ = DescribeImageSigningStatus$;\nexports.DescribeImageSigningStatusCommand = DescribeImageSigningStatusCommand;\nexports.DescribeImageSigningStatusRequest$ = DescribeImageSigningStatusRequest$;\nexports.DescribeImageSigningStatusResponse$ = DescribeImageSigningStatusResponse$;\nexports.DescribeImages$ = DescribeImages$;\nexports.DescribeImagesCommand = DescribeImagesCommand;\nexports.DescribeImagesFilter$ = DescribeImagesFilter$;\nexports.DescribeImagesRequest$ = DescribeImagesRequest$;\nexports.DescribeImagesResponse$ = DescribeImagesResponse$;\nexports.DescribePullThroughCacheRules$ = DescribePullThroughCacheRules$;\nexports.DescribePullThroughCacheRulesCommand = DescribePullThroughCacheRulesCommand;\nexports.DescribePullThroughCacheRulesRequest$ = DescribePullThroughCacheRulesRequest$;\nexports.DescribePullThroughCacheRulesResponse$ = DescribePullThroughCacheRulesResponse$;\nexports.DescribeRegistry$ = DescribeRegistry$;\nexports.DescribeRegistryCommand = DescribeRegistryCommand;\nexports.DescribeRegistryRequest$ = DescribeRegistryRequest$;\nexports.DescribeRegistryResponse$ = DescribeRegistryResponse$;\nexports.DescribeRepositories$ = DescribeRepositories$;\nexports.DescribeRepositoriesCommand = DescribeRepositoriesCommand;\nexports.DescribeRepositoriesRequest$ = DescribeRepositoriesRequest$;\nexports.DescribeRepositoriesResponse$ = DescribeRepositoriesResponse$;\nexports.DescribeRepositoryCreationTemplates$ = DescribeRepositoryCreationTemplates$;\nexports.DescribeRepositoryCreationTemplatesCommand = DescribeRepositoryCreationTemplatesCommand;\nexports.DescribeRepositoryCreationTemplatesRequest$ = DescribeRepositoryCreationTemplatesRequest$;\nexports.DescribeRepositoryCreationTemplatesResponse$ = DescribeRepositoryCreationTemplatesResponse$;\nexports.ECR = ECR;\nexports.ECRClient = ECRClient;\nexports.ECRServiceException = ECRServiceException;\nexports.ECRServiceException$ = ECRServiceException$;\nexports.EmptyUploadException = EmptyUploadException;\nexports.EmptyUploadException$ = EmptyUploadException$;\nexports.EncryptionConfiguration$ = EncryptionConfiguration$;\nexports.EncryptionConfigurationForRepositoryCreationTemplate$ = EncryptionConfigurationForRepositoryCreationTemplate$;\nexports.EncryptionType = EncryptionType;\nexports.EnhancedImageScanFinding$ = EnhancedImageScanFinding$;\nexports.ExclusionAlreadyExistsException = ExclusionAlreadyExistsException;\nexports.ExclusionAlreadyExistsException$ = ExclusionAlreadyExistsException$;\nexports.ExclusionNotFoundException = ExclusionNotFoundException;\nexports.ExclusionNotFoundException$ = ExclusionNotFoundException$;\nexports.FindingSeverity = FindingSeverity;\nexports.GetAccountSetting$ = GetAccountSetting$;\nexports.GetAccountSettingCommand = GetAccountSettingCommand;\nexports.GetAccountSettingRequest$ = GetAccountSettingRequest$;\nexports.GetAccountSettingResponse$ = GetAccountSettingResponse$;\nexports.GetAuthorizationToken$ = GetAuthorizationToken$;\nexports.GetAuthorizationTokenCommand = GetAuthorizationTokenCommand;\nexports.GetAuthorizationTokenRequest$ = GetAuthorizationTokenRequest$;\nexports.GetAuthorizationTokenResponse$ = GetAuthorizationTokenResponse$;\nexports.GetDownloadUrlForLayer$ = GetDownloadUrlForLayer$;\nexports.GetDownloadUrlForLayerCommand = GetDownloadUrlForLayerCommand;\nexports.GetDownloadUrlForLayerRequest$ = GetDownloadUrlForLayerRequest$;\nexports.GetDownloadUrlForLayerResponse$ = GetDownloadUrlForLayerResponse$;\nexports.GetLifecyclePolicy$ = GetLifecyclePolicy$;\nexports.GetLifecyclePolicyCommand = GetLifecyclePolicyCommand;\nexports.GetLifecyclePolicyPreview$ = GetLifecyclePolicyPreview$;\nexports.GetLifecyclePolicyPreviewCommand = GetLifecyclePolicyPreviewCommand;\nexports.GetLifecyclePolicyPreviewRequest$ = GetLifecyclePolicyPreviewRequest$;\nexports.GetLifecyclePolicyPreviewResponse$ = GetLifecyclePolicyPreviewResponse$;\nexports.GetLifecyclePolicyRequest$ = GetLifecyclePolicyRequest$;\nexports.GetLifecyclePolicyResponse$ = GetLifecyclePolicyResponse$;\nexports.GetRegistryPolicy$ = GetRegistryPolicy$;\nexports.GetRegistryPolicyCommand = GetRegistryPolicyCommand;\nexports.GetRegistryPolicyRequest$ = GetRegistryPolicyRequest$;\nexports.GetRegistryPolicyResponse$ = GetRegistryPolicyResponse$;\nexports.GetRegistryScanningConfiguration$ = GetRegistryScanningConfiguration$;\nexports.GetRegistryScanningConfigurationCommand = GetRegistryScanningConfigurationCommand;\nexports.GetRegistryScanningConfigurationRequest$ = GetRegistryScanningConfigurationRequest$;\nexports.GetRegistryScanningConfigurationResponse$ = GetRegistryScanningConfigurationResponse$;\nexports.GetRepositoryPolicy$ = GetRepositoryPolicy$;\nexports.GetRepositoryPolicyCommand = GetRepositoryPolicyCommand;\nexports.GetRepositoryPolicyRequest$ = GetRepositoryPolicyRequest$;\nexports.GetRepositoryPolicyResponse$ = GetRepositoryPolicyResponse$;\nexports.GetSigningConfiguration$ = GetSigningConfiguration$;\nexports.GetSigningConfigurationCommand = GetSigningConfigurationCommand;\nexports.GetSigningConfigurationRequest$ = GetSigningConfigurationRequest$;\nexports.GetSigningConfigurationResponse$ = GetSigningConfigurationResponse$;\nexports.Image$ = Image$;\nexports.ImageActionType = ImageActionType;\nexports.ImageAlreadyExistsException = ImageAlreadyExistsException;\nexports.ImageAlreadyExistsException$ = ImageAlreadyExistsException$;\nexports.ImageArchivedException = ImageArchivedException;\nexports.ImageArchivedException$ = ImageArchivedException$;\nexports.ImageDetail$ = ImageDetail$;\nexports.ImageDigestDoesNotMatchException = ImageDigestDoesNotMatchException;\nexports.ImageDigestDoesNotMatchException$ = ImageDigestDoesNotMatchException$;\nexports.ImageFailure$ = ImageFailure$;\nexports.ImageFailureCode = ImageFailureCode;\nexports.ImageIdentifier$ = ImageIdentifier$;\nexports.ImageNotFoundException = ImageNotFoundException;\nexports.ImageNotFoundException$ = ImageNotFoundException$;\nexports.ImageReferrer$ = ImageReferrer$;\nexports.ImageReplicationStatus$ = ImageReplicationStatus$;\nexports.ImageScanFinding$ = ImageScanFinding$;\nexports.ImageScanFindings$ = ImageScanFindings$;\nexports.ImageScanFindingsSummary$ = ImageScanFindingsSummary$;\nexports.ImageScanStatus$ = ImageScanStatus$;\nexports.ImageScanningConfiguration$ = ImageScanningConfiguration$;\nexports.ImageSigningStatus$ = ImageSigningStatus$;\nexports.ImageStatus = ImageStatus;\nexports.ImageStatusFilter = ImageStatusFilter;\nexports.ImageStorageClassUpdateNotSupportedException = ImageStorageClassUpdateNotSupportedException;\nexports.ImageStorageClassUpdateNotSupportedException$ = ImageStorageClassUpdateNotSupportedException$;\nexports.ImageTagAlreadyExistsException = ImageTagAlreadyExistsException;\nexports.ImageTagAlreadyExistsException$ = ImageTagAlreadyExistsException$;\nexports.ImageTagMutability = ImageTagMutability;\nexports.ImageTagMutabilityExclusionFilter$ = ImageTagMutabilityExclusionFilter$;\nexports.ImageTagMutabilityExclusionFilterType = ImageTagMutabilityExclusionFilterType;\nexports.InitiateLayerUpload$ = InitiateLayerUpload$;\nexports.InitiateLayerUploadCommand = InitiateLayerUploadCommand;\nexports.InitiateLayerUploadRequest$ = InitiateLayerUploadRequest$;\nexports.InitiateLayerUploadResponse$ = InitiateLayerUploadResponse$;\nexports.InvalidLayerException = InvalidLayerException;\nexports.InvalidLayerException$ = InvalidLayerException$;\nexports.InvalidLayerPartException = InvalidLayerPartException;\nexports.InvalidLayerPartException$ = InvalidLayerPartException$;\nexports.InvalidParameterException = InvalidParameterException;\nexports.InvalidParameterException$ = InvalidParameterException$;\nexports.InvalidTagParameterException = InvalidTagParameterException;\nexports.InvalidTagParameterException$ = InvalidTagParameterException$;\nexports.KmsException = KmsException;\nexports.KmsException$ = KmsException$;\nexports.Layer$ = Layer$;\nexports.LayerAlreadyExistsException = LayerAlreadyExistsException;\nexports.LayerAlreadyExistsException$ = LayerAlreadyExistsException$;\nexports.LayerAvailability = LayerAvailability;\nexports.LayerFailure$ = LayerFailure$;\nexports.LayerFailureCode = LayerFailureCode;\nexports.LayerInaccessibleException = LayerInaccessibleException;\nexports.LayerInaccessibleException$ = LayerInaccessibleException$;\nexports.LayerPartTooSmallException = LayerPartTooSmallException;\nexports.LayerPartTooSmallException$ = LayerPartTooSmallException$;\nexports.LayersNotFoundException = LayersNotFoundException;\nexports.LayersNotFoundException$ = LayersNotFoundException$;\nexports.LifecyclePolicyNotFoundException = LifecyclePolicyNotFoundException;\nexports.LifecyclePolicyNotFoundException$ = LifecyclePolicyNotFoundException$;\nexports.LifecyclePolicyPreviewFilter$ = LifecyclePolicyPreviewFilter$;\nexports.LifecyclePolicyPreviewInProgressException = LifecyclePolicyPreviewInProgressException;\nexports.LifecyclePolicyPreviewInProgressException$ = LifecyclePolicyPreviewInProgressException$;\nexports.LifecyclePolicyPreviewNotFoundException = LifecyclePolicyPreviewNotFoundException;\nexports.LifecyclePolicyPreviewNotFoundException$ = LifecyclePolicyPreviewNotFoundException$;\nexports.LifecyclePolicyPreviewResult$ = LifecyclePolicyPreviewResult$;\nexports.LifecyclePolicyPreviewStatus = LifecyclePolicyPreviewStatus;\nexports.LifecyclePolicyPreviewSummary$ = LifecyclePolicyPreviewSummary$;\nexports.LifecyclePolicyRuleAction$ = LifecyclePolicyRuleAction$;\nexports.LifecyclePolicyStorageClass = LifecyclePolicyStorageClass;\nexports.LifecyclePolicyTargetStorageClass = LifecyclePolicyTargetStorageClass;\nexports.LimitExceededException = LimitExceededException;\nexports.LimitExceededException$ = LimitExceededException$;\nexports.ListImageReferrers$ = ListImageReferrers$;\nexports.ListImageReferrersCommand = ListImageReferrersCommand;\nexports.ListImageReferrersFilter$ = ListImageReferrersFilter$;\nexports.ListImageReferrersRequest$ = ListImageReferrersRequest$;\nexports.ListImageReferrersResponse$ = ListImageReferrersResponse$;\nexports.ListImages$ = ListImages$;\nexports.ListImagesCommand = ListImagesCommand;\nexports.ListImagesFilter$ = ListImagesFilter$;\nexports.ListImagesRequest$ = ListImagesRequest$;\nexports.ListImagesResponse$ = ListImagesResponse$;\nexports.ListPullTimeUpdateExclusions$ = ListPullTimeUpdateExclusions$;\nexports.ListPullTimeUpdateExclusionsCommand = ListPullTimeUpdateExclusionsCommand;\nexports.ListPullTimeUpdateExclusionsRequest$ = ListPullTimeUpdateExclusionsRequest$;\nexports.ListPullTimeUpdateExclusionsResponse$ = ListPullTimeUpdateExclusionsResponse$;\nexports.ListTagsForResource$ = ListTagsForResource$;\nexports.ListTagsForResourceCommand = ListTagsForResourceCommand;\nexports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;\nexports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;\nexports.PackageVulnerabilityDetails$ = PackageVulnerabilityDetails$;\nexports.PullThroughCacheRule$ = PullThroughCacheRule$;\nexports.PullThroughCacheRuleAlreadyExistsException = PullThroughCacheRuleAlreadyExistsException;\nexports.PullThroughCacheRuleAlreadyExistsException$ = PullThroughCacheRuleAlreadyExistsException$;\nexports.PullThroughCacheRuleNotFoundException = PullThroughCacheRuleNotFoundException;\nexports.PullThroughCacheRuleNotFoundException$ = PullThroughCacheRuleNotFoundException$;\nexports.PutAccountSetting$ = PutAccountSetting$;\nexports.PutAccountSettingCommand = PutAccountSettingCommand;\nexports.PutAccountSettingRequest$ = PutAccountSettingRequest$;\nexports.PutAccountSettingResponse$ = PutAccountSettingResponse$;\nexports.PutImage$ = PutImage$;\nexports.PutImageCommand = PutImageCommand;\nexports.PutImageRequest$ = PutImageRequest$;\nexports.PutImageResponse$ = PutImageResponse$;\nexports.PutImageScanningConfiguration$ = PutImageScanningConfiguration$;\nexports.PutImageScanningConfigurationCommand = PutImageScanningConfigurationCommand;\nexports.PutImageScanningConfigurationRequest$ = PutImageScanningConfigurationRequest$;\nexports.PutImageScanningConfigurationResponse$ = PutImageScanningConfigurationResponse$;\nexports.PutImageTagMutability$ = PutImageTagMutability$;\nexports.PutImageTagMutabilityCommand = PutImageTagMutabilityCommand;\nexports.PutImageTagMutabilityRequest$ = PutImageTagMutabilityRequest$;\nexports.PutImageTagMutabilityResponse$ = PutImageTagMutabilityResponse$;\nexports.PutLifecyclePolicy$ = PutLifecyclePolicy$;\nexports.PutLifecyclePolicyCommand = PutLifecyclePolicyCommand;\nexports.PutLifecyclePolicyRequest$ = PutLifecyclePolicyRequest$;\nexports.PutLifecyclePolicyResponse$ = PutLifecyclePolicyResponse$;\nexports.PutRegistryPolicy$ = PutRegistryPolicy$;\nexports.PutRegistryPolicyCommand = PutRegistryPolicyCommand;\nexports.PutRegistryPolicyRequest$ = PutRegistryPolicyRequest$;\nexports.PutRegistryPolicyResponse$ = PutRegistryPolicyResponse$;\nexports.PutRegistryScanningConfiguration$ = PutRegistryScanningConfiguration$;\nexports.PutRegistryScanningConfigurationCommand = PutRegistryScanningConfigurationCommand;\nexports.PutRegistryScanningConfigurationRequest$ = PutRegistryScanningConfigurationRequest$;\nexports.PutRegistryScanningConfigurationResponse$ = PutRegistryScanningConfigurationResponse$;\nexports.PutReplicationConfiguration$ = PutReplicationConfiguration$;\nexports.PutReplicationConfigurationCommand = PutReplicationConfigurationCommand;\nexports.PutReplicationConfigurationRequest$ = PutReplicationConfigurationRequest$;\nexports.PutReplicationConfigurationResponse$ = PutReplicationConfigurationResponse$;\nexports.PutSigningConfiguration$ = PutSigningConfiguration$;\nexports.PutSigningConfigurationCommand = PutSigningConfigurationCommand;\nexports.PutSigningConfigurationRequest$ = PutSigningConfigurationRequest$;\nexports.PutSigningConfigurationResponse$ = PutSigningConfigurationResponse$;\nexports.RCTAppliedFor = RCTAppliedFor;\nexports.Recommendation$ = Recommendation$;\nexports.ReferencedImagesNotFoundException = ReferencedImagesNotFoundException;\nexports.ReferencedImagesNotFoundException$ = ReferencedImagesNotFoundException$;\nexports.RegisterPullTimeUpdateExclusion$ = RegisterPullTimeUpdateExclusion$;\nexports.RegisterPullTimeUpdateExclusionCommand = RegisterPullTimeUpdateExclusionCommand;\nexports.RegisterPullTimeUpdateExclusionRequest$ = RegisterPullTimeUpdateExclusionRequest$;\nexports.RegisterPullTimeUpdateExclusionResponse$ = RegisterPullTimeUpdateExclusionResponse$;\nexports.RegistryPolicyNotFoundException = RegistryPolicyNotFoundException;\nexports.RegistryPolicyNotFoundException$ = RegistryPolicyNotFoundException$;\nexports.RegistryScanningConfiguration$ = RegistryScanningConfiguration$;\nexports.RegistryScanningRule$ = RegistryScanningRule$;\nexports.Remediation$ = Remediation$;\nexports.ReplicationConfiguration$ = ReplicationConfiguration$;\nexports.ReplicationDestination$ = ReplicationDestination$;\nexports.ReplicationRule$ = ReplicationRule$;\nexports.ReplicationStatus = ReplicationStatus;\nexports.Repository$ = Repository$;\nexports.RepositoryAlreadyExistsException = RepositoryAlreadyExistsException;\nexports.RepositoryAlreadyExistsException$ = RepositoryAlreadyExistsException$;\nexports.RepositoryCreationTemplate$ = RepositoryCreationTemplate$;\nexports.RepositoryFilter$ = RepositoryFilter$;\nexports.RepositoryFilterType = RepositoryFilterType;\nexports.RepositoryNotEmptyException = RepositoryNotEmptyException;\nexports.RepositoryNotEmptyException$ = RepositoryNotEmptyException$;\nexports.RepositoryNotFoundException = RepositoryNotFoundException;\nexports.RepositoryNotFoundException$ = RepositoryNotFoundException$;\nexports.RepositoryPolicyNotFoundException = RepositoryPolicyNotFoundException;\nexports.RepositoryPolicyNotFoundException$ = RepositoryPolicyNotFoundException$;\nexports.RepositoryScanningConfiguration$ = RepositoryScanningConfiguration$;\nexports.RepositoryScanningConfigurationFailure$ = RepositoryScanningConfigurationFailure$;\nexports.Resource$ = Resource$;\nexports.ResourceDetails$ = ResourceDetails$;\nexports.ScanFrequency = ScanFrequency;\nexports.ScanNotFoundException = ScanNotFoundException;\nexports.ScanNotFoundException$ = ScanNotFoundException$;\nexports.ScanStatus = ScanStatus;\nexports.ScanType = ScanType;\nexports.ScanningConfigurationFailureCode = ScanningConfigurationFailureCode;\nexports.ScanningRepositoryFilter$ = ScanningRepositoryFilter$;\nexports.ScanningRepositoryFilterType = ScanningRepositoryFilterType;\nexports.ScoreDetails$ = ScoreDetails$;\nexports.SecretNotFoundException = SecretNotFoundException;\nexports.SecretNotFoundException$ = SecretNotFoundException$;\nexports.ServerException = ServerException;\nexports.ServerException$ = ServerException$;\nexports.SetRepositoryPolicy$ = SetRepositoryPolicy$;\nexports.SetRepositoryPolicyCommand = SetRepositoryPolicyCommand;\nexports.SetRepositoryPolicyRequest$ = SetRepositoryPolicyRequest$;\nexports.SetRepositoryPolicyResponse$ = SetRepositoryPolicyResponse$;\nexports.SigningConfiguration$ = SigningConfiguration$;\nexports.SigningConfigurationNotFoundException = SigningConfigurationNotFoundException;\nexports.SigningConfigurationNotFoundException$ = SigningConfigurationNotFoundException$;\nexports.SigningRepositoryFilter$ = SigningRepositoryFilter$;\nexports.SigningRepositoryFilterType = SigningRepositoryFilterType;\nexports.SigningRule$ = SigningRule$;\nexports.SigningStatus = SigningStatus;\nexports.StartImageScan$ = StartImageScan$;\nexports.StartImageScanCommand = StartImageScanCommand;\nexports.StartImageScanRequest$ = StartImageScanRequest$;\nexports.StartImageScanResponse$ = StartImageScanResponse$;\nexports.StartLifecyclePolicyPreview$ = StartLifecyclePolicyPreview$;\nexports.StartLifecyclePolicyPreviewCommand = StartLifecyclePolicyPreviewCommand;\nexports.StartLifecyclePolicyPreviewRequest$ = StartLifecyclePolicyPreviewRequest$;\nexports.StartLifecyclePolicyPreviewResponse$ = StartLifecyclePolicyPreviewResponse$;\nexports.SubjectIdentifier$ = SubjectIdentifier$;\nexports.Tag$ = Tag$;\nexports.TagResource$ = TagResource$;\nexports.TagResourceCommand = TagResourceCommand;\nexports.TagResourceRequest$ = TagResourceRequest$;\nexports.TagResourceResponse$ = TagResourceResponse$;\nexports.TagStatus = TagStatus;\nexports.TargetStorageClass = TargetStorageClass;\nexports.TemplateAlreadyExistsException = TemplateAlreadyExistsException;\nexports.TemplateAlreadyExistsException$ = TemplateAlreadyExistsException$;\nexports.TemplateNotFoundException = TemplateNotFoundException;\nexports.TemplateNotFoundException$ = TemplateNotFoundException$;\nexports.TooManyTagsException = TooManyTagsException;\nexports.TooManyTagsException$ = TooManyTagsException$;\nexports.TransitioningImageTotalCount$ = TransitioningImageTotalCount$;\nexports.UnableToAccessSecretException = UnableToAccessSecretException;\nexports.UnableToAccessSecretException$ = UnableToAccessSecretException$;\nexports.UnableToDecryptSecretValueException = UnableToDecryptSecretValueException;\nexports.UnableToDecryptSecretValueException$ = UnableToDecryptSecretValueException$;\nexports.UnableToGetUpstreamImageException = UnableToGetUpstreamImageException;\nexports.UnableToGetUpstreamImageException$ = UnableToGetUpstreamImageException$;\nexports.UnableToGetUpstreamLayerException = UnableToGetUpstreamLayerException;\nexports.UnableToGetUpstreamLayerException$ = UnableToGetUpstreamLayerException$;\nexports.UnsupportedImageTypeException = UnsupportedImageTypeException;\nexports.UnsupportedImageTypeException$ = UnsupportedImageTypeException$;\nexports.UnsupportedUpstreamRegistryException = UnsupportedUpstreamRegistryException;\nexports.UnsupportedUpstreamRegistryException$ = UnsupportedUpstreamRegistryException$;\nexports.UntagResource$ = UntagResource$;\nexports.UntagResourceCommand = UntagResourceCommand;\nexports.UntagResourceRequest$ = UntagResourceRequest$;\nexports.UntagResourceResponse$ = UntagResourceResponse$;\nexports.UpdateImageStorageClass$ = UpdateImageStorageClass$;\nexports.UpdateImageStorageClassCommand = UpdateImageStorageClassCommand;\nexports.UpdateImageStorageClassRequest$ = UpdateImageStorageClassRequest$;\nexports.UpdateImageStorageClassResponse$ = UpdateImageStorageClassResponse$;\nexports.UpdatePullThroughCacheRule$ = UpdatePullThroughCacheRule$;\nexports.UpdatePullThroughCacheRuleCommand = UpdatePullThroughCacheRuleCommand;\nexports.UpdatePullThroughCacheRuleRequest$ = UpdatePullThroughCacheRuleRequest$;\nexports.UpdatePullThroughCacheRuleResponse$ = UpdatePullThroughCacheRuleResponse$;\nexports.UpdateRepositoryCreationTemplate$ = UpdateRepositoryCreationTemplate$;\nexports.UpdateRepositoryCreationTemplateCommand = UpdateRepositoryCreationTemplateCommand;\nexports.UpdateRepositoryCreationTemplateRequest$ = UpdateRepositoryCreationTemplateRequest$;\nexports.UpdateRepositoryCreationTemplateResponse$ = UpdateRepositoryCreationTemplateResponse$;\nexports.UploadLayerPart$ = UploadLayerPart$;\nexports.UploadLayerPartCommand = UploadLayerPartCommand;\nexports.UploadLayerPartRequest$ = UploadLayerPartRequest$;\nexports.UploadLayerPartResponse$ = UploadLayerPartResponse$;\nexports.UploadNotFoundException = UploadNotFoundException;\nexports.UploadNotFoundException$ = UploadNotFoundException$;\nexports.UpstreamRegistry = UpstreamRegistry;\nexports.ValidatePullThroughCacheRule$ = ValidatePullThroughCacheRule$;\nexports.ValidatePullThroughCacheRuleCommand = ValidatePullThroughCacheRuleCommand;\nexports.ValidatePullThroughCacheRuleRequest$ = ValidatePullThroughCacheRuleRequest$;\nexports.ValidatePullThroughCacheRuleResponse$ = ValidatePullThroughCacheRuleResponse$;\nexports.ValidationException = ValidationException;\nexports.ValidationException$ = ValidationException$;\nexports.VulnerablePackage$ = VulnerablePackage$;\nexports.paginateDescribeImageScanFindings = paginateDescribeImageScanFindings;\nexports.paginateDescribeImages = paginateDescribeImages;\nexports.paginateDescribePullThroughCacheRules = paginateDescribePullThroughCacheRules;\nexports.paginateDescribeRepositories = paginateDescribeRepositories;\nexports.paginateDescribeRepositoryCreationTemplates = paginateDescribeRepositoryCreationTemplates;\nexports.paginateGetLifecyclePolicyPreview = paginateGetLifecyclePolicyPreview;\nexports.paginateListImages = paginateListImages;\nexports.waitForImageScanComplete = waitForImageScanComplete;\nexports.waitForLifecyclePolicyPreviewComplete = waitForLifecyclePolicyPreviewComplete;\nexports.waitUntilImageScanComplete = waitUntilImageScanComplete;\nexports.waitUntilLifecyclePolicyPreviewComplete = waitUntilLifecyclePolicyPreviewComplete;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst tslib_1 = require(\"tslib\");\nconst package_json_1 = tslib_1.__importDefault(require(\"../package.json\"));\nconst core_1 = require(\"@aws-sdk/core\");\nconst credential_provider_node_1 = require(\"@aws-sdk/credential-provider-node\");\nconst util_user_agent_node_1 = require(\"@aws-sdk/util-user-agent-node\");\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst hash_node_1 = require(\"@smithy/hash-node\");\nconst middleware_retry_1 = require(\"@smithy/middleware-retry\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nconst node_http_handler_1 = require(\"@smithy/node-http-handler\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst util_body_length_node_1 = require(\"@smithy/util-body-length-node\");\nconst util_defaults_mode_node_1 = require(\"@smithy/util-defaults-mode-node\");\nconst util_retry_1 = require(\"@smithy/util-retry\");\nconst runtimeConfig_shared_1 = require(\"./runtimeConfig.shared\");\nconst getRuntimeConfig = (config) => {\n (0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);\n const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);\n const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);\n const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);\n (0, core_1.emitWarningIfUnsupportedVersion)(process.version);\n const loaderConfig = {\n profile: config?.profile,\n logger: clientSharedValues.logger,\n };\n return {\n ...clientSharedValues,\n ...config,\n runtime: \"node\",\n defaultsMode,\n authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(core_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),\n bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,\n credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,\n defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),\n maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),\n region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),\n requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),\n retryMode: config?.retryMode ??\n (0, node_config_provider_1.loadConfig)({\n ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,\n default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,\n }, config),\n sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, \"sha256\"),\n streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,\n useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),\n userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getRuntimeConfig = void 0;\nconst core_1 = require(\"@aws-sdk/core\");\nconst protocols_1 = require(\"@aws-sdk/core/protocols\");\nconst smithy_client_1 = require(\"@smithy/smithy-client\");\nconst url_parser_1 = require(\"@smithy/url-parser\");\nconst util_base64_1 = require(\"@smithy/util-base64\");\nconst util_utf8_1 = require(\"@smithy/util-utf8\");\nconst httpAuthSchemeProvider_1 = require(\"./auth/httpAuthSchemeProvider\");\nconst endpointResolver_1 = require(\"./endpoint/endpointResolver\");\nconst getRuntimeConfig = (config) => {\n return {\n apiVersion: \"2015-09-21\",\n base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,\n base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,\n disableHostPrefix: config?.disableHostPrefix ?? false,\n endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,\n extensions: config?.extensions ?? [],\n httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultECRHttpAuthSchemeProvider,\n httpAuthSchemes: config?.httpAuthSchemes ?? [\n {\n schemeId: \"aws.auth#sigv4\",\n identityProvider: (ipc) => ipc.getIdentityProvider(\"aws.auth#sigv4\"),\n signer: new core_1.AwsSdkSigV4Signer(),\n },\n ],\n logger: config?.logger ?? new smithy_client_1.NoOpLogger(),\n protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol,\n protocolSettings: config?.protocolSettings ?? {\n defaultNamespace: \"com.amazonaws.ecr\",\n xmlNamespace: \"http://ecr.amazonaws.com/doc/2015-09-21/\",\n version: \"2015-09-21\",\n serviceTarget: \"AmazonEC2ContainerRegistry_V20150921\",\n },\n serviceId: config?.serviceId ?? \"ECR\",\n urlParser: config?.urlParser ?? url_parser_1.parseUrl,\n utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,\n utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,\n };\n};\nexports.getRuntimeConfig = getRuntimeConfig;\n","'use strict';\n\nvar protocolHttp = require('@smithy/protocol-http');\nvar core = require('@smithy/core');\nvar propertyProvider = require('@smithy/property-provider');\nvar client = require('@aws-sdk/core/client');\nvar signatureV4 = require('@smithy/signature-v4');\nvar cbor = require('@smithy/core/cbor');\nvar schema = require('@smithy/core/schema');\nvar smithyClient = require('@smithy/smithy-client');\nvar protocols = require('@smithy/core/protocols');\nvar serde = require('@smithy/core/serde');\nvar utilBase64 = require('@smithy/util-base64');\nvar utilUtf8 = require('@smithy/util-utf8');\nvar xmlBuilder = require('@aws-sdk/xml-builder');\n\nconst state = {\n warningEmitted: false,\n};\nconst emitWarningIfUnsupportedVersion = (version) => {\n if (version && !state.warningEmitted && parseInt(version.substring(1, version.indexOf(\".\"))) < 20) {\n state.warningEmitted = true;\n process.emitWarning(`NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will\nno longer support Node.js ${version} in January 2026.\n\nTo continue receiving updates to AWS services, bug fixes, and security\nupdates please upgrade to a supported Node.js LTS version.\n\nMore information can be found at: https://a.co/c895JFp`);\n }\n};\n\nfunction setCredentialFeature(credentials, feature, value) {\n if (!credentials.$source) {\n credentials.$source = {};\n }\n credentials.$source[feature] = value;\n return credentials;\n}\n\nfunction setFeature(context, feature, value) {\n if (!context.__aws_sdk_context) {\n context.__aws_sdk_context = {\n features: {},\n };\n }\n else if (!context.__aws_sdk_context.features) {\n context.__aws_sdk_context.features = {};\n }\n context.__aws_sdk_context.features[feature] = value;\n}\n\nfunction setTokenFeature(token, feature, value) {\n if (!token.$source) {\n token.$source = {};\n }\n token.$source[feature] = value;\n return token;\n}\n\nconst getDateHeader = (response) => protocolHttp.HttpResponse.isInstance(response) ? response.headers?.date ?? response.headers?.Date : undefined;\n\nconst getSkewCorrectedDate = (systemClockOffset) => new Date(Date.now() + systemClockOffset);\n\nconst isClockSkewed = (clockTime, systemClockOffset) => Math.abs(getSkewCorrectedDate(systemClockOffset).getTime() - clockTime) >= 300000;\n\nconst getUpdatedSystemClockOffset = (clockTime, currentSystemClockOffset) => {\n const clockTimeInMs = Date.parse(clockTime);\n if (isClockSkewed(clockTimeInMs, currentSystemClockOffset)) {\n return clockTimeInMs - Date.now();\n }\n return currentSystemClockOffset;\n};\n\nconst throwSigningPropertyError = (name, property) => {\n if (!property) {\n throw new Error(`Property \\`${name}\\` is not resolved for AWS SDK SigV4Auth`);\n }\n return property;\n};\nconst validateSigningProperties = async (signingProperties) => {\n const context = throwSigningPropertyError(\"context\", signingProperties.context);\n const config = throwSigningPropertyError(\"config\", signingProperties.config);\n const authScheme = context.endpointV2?.properties?.authSchemes?.[0];\n const signerFunction = throwSigningPropertyError(\"signer\", config.signer);\n const signer = await signerFunction(authScheme);\n const signingRegion = signingProperties?.signingRegion;\n const signingRegionSet = signingProperties?.signingRegionSet;\n const signingName = signingProperties?.signingName;\n return {\n config,\n signer,\n signingRegion,\n signingRegionSet,\n signingName,\n };\n};\nclass AwsSdkSigV4Signer {\n async sign(httpRequest, identity, signingProperties) {\n if (!protocolHttp.HttpRequest.isInstance(httpRequest)) {\n throw new Error(\"The request is not an instance of `HttpRequest` and cannot be signed\");\n }\n const validatedProps = await validateSigningProperties(signingProperties);\n const { config, signer } = validatedProps;\n let { signingRegion, signingName } = validatedProps;\n const handlerExecutionContext = signingProperties.context;\n if (handlerExecutionContext?.authSchemes?.length ?? 0 > 1) {\n const [first, second] = handlerExecutionContext.authSchemes;\n if (first?.name === \"sigv4a\" && second?.name === \"sigv4\") {\n signingRegion = second?.signingRegion ?? signingRegion;\n signingName = second?.signingName ?? signingName;\n }\n }\n const signedRequest = await signer.sign(httpRequest, {\n signingDate: getSkewCorrectedDate(config.systemClockOffset),\n signingRegion: signingRegion,\n signingService: signingName,\n });\n return signedRequest;\n }\n errorHandler(signingProperties) {\n return (error) => {\n const serverTime = error.ServerTime ?? getDateHeader(error.$response);\n if (serverTime) {\n const config = throwSigningPropertyError(\"config\", signingProperties.config);\n const initialSystemClockOffset = config.systemClockOffset;\n config.systemClockOffset = getUpdatedSystemClockOffset(serverTime, config.systemClockOffset);\n const clockSkewCorrected = config.systemClockOffset !== initialSystemClockOffset;\n if (clockSkewCorrected && error.$metadata) {\n error.$metadata.clockSkewCorrected = true;\n }\n }\n throw error;\n };\n }\n successHandler(httpResponse, signingProperties) {\n const dateHeader = getDateHeader(httpResponse);\n if (dateHeader) {\n const config = throwSigningPropertyError(\"config\", signingProperties.config);\n config.systemClockOffset = getUpdatedSystemClockOffset(dateHeader, config.systemClockOffset);\n }\n }\n}\nconst AWSSDKSigV4Signer = AwsSdkSigV4Signer;\n\nclass AwsSdkSigV4ASigner extends AwsSdkSigV4Signer {\n async sign(httpRequest, identity, signingProperties) {\n if (!protocolHttp.HttpRequest.isInstance(httpRequest)) {\n throw new Error(\"The request is not an instance of `HttpRequest` and cannot be signed\");\n }\n const { config, signer, signingRegion, signingRegionSet, signingName } = await validateSigningProperties(signingProperties);\n const configResolvedSigningRegionSet = await config.sigv4aSigningRegionSet?.();\n const multiRegionOverride = (configResolvedSigningRegionSet ??\n signingRegionSet ?? [signingRegion]).join(\",\");\n const signedRequest = await signer.sign(httpRequest, {\n signingDate: getSkewCorrectedDate(config.systemClockOffset),\n signingRegion: multiRegionOverride,\n signingService: signingName,\n });\n return signedRequest;\n }\n}\n\nconst getArrayForCommaSeparatedString = (str) => typeof str === \"string\" && str.length > 0 ? str.split(\",\").map((item) => item.trim()) : [];\n\nconst getBearerTokenEnvKey = (signingName) => `AWS_BEARER_TOKEN_${signingName.replace(/[\\s-]/g, \"_\").toUpperCase()}`;\n\nconst NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY = \"AWS_AUTH_SCHEME_PREFERENCE\";\nconst NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY = \"auth_scheme_preference\";\nconst NODE_AUTH_SCHEME_PREFERENCE_OPTIONS = {\n environmentVariableSelector: (env, options) => {\n if (options?.signingName) {\n const bearerTokenKey = getBearerTokenEnvKey(options.signingName);\n if (bearerTokenKey in env)\n return [\"httpBearerAuth\"];\n }\n if (!(NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY in env))\n return undefined;\n return getArrayForCommaSeparatedString(env[NODE_AUTH_SCHEME_PREFERENCE_ENV_KEY]);\n },\n configFileSelector: (profile) => {\n if (!(NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY in profile))\n return undefined;\n return getArrayForCommaSeparatedString(profile[NODE_AUTH_SCHEME_PREFERENCE_CONFIG_KEY]);\n },\n default: [],\n};\n\nconst resolveAwsSdkSigV4AConfig = (config) => {\n config.sigv4aSigningRegionSet = core.normalizeProvider(config.sigv4aSigningRegionSet);\n return config;\n};\nconst NODE_SIGV4A_CONFIG_OPTIONS = {\n environmentVariableSelector(env) {\n if (env.AWS_SIGV4A_SIGNING_REGION_SET) {\n return env.AWS_SIGV4A_SIGNING_REGION_SET.split(\",\").map((_) => _.trim());\n }\n throw new propertyProvider.ProviderError(\"AWS_SIGV4A_SIGNING_REGION_SET not set in env.\", {\n tryNextLink: true,\n });\n },\n configFileSelector(profile) {\n if (profile.sigv4a_signing_region_set) {\n return (profile.sigv4a_signing_region_set ?? \"\").split(\",\").map((_) => _.trim());\n }\n throw new propertyProvider.ProviderError(\"sigv4a_signing_region_set not set in profile.\", {\n tryNextLink: true,\n });\n },\n default: undefined,\n};\n\nconst resolveAwsSdkSigV4Config = (config) => {\n let inputCredentials = config.credentials;\n let isUserSupplied = !!config.credentials;\n let resolvedCredentials = undefined;\n Object.defineProperty(config, \"credentials\", {\n set(credentials) {\n if (credentials && credentials !== inputCredentials && credentials !== resolvedCredentials) {\n isUserSupplied = true;\n }\n inputCredentials = credentials;\n const memoizedProvider = normalizeCredentialProvider(config, {\n credentials: inputCredentials,\n credentialDefaultProvider: config.credentialDefaultProvider,\n });\n const boundProvider = bindCallerConfig(config, memoizedProvider);\n if (isUserSupplied && !boundProvider.attributed) {\n const isCredentialObject = typeof inputCredentials === \"object\" && inputCredentials !== null;\n resolvedCredentials = async (options) => {\n const creds = await boundProvider(options);\n const attributedCreds = creds;\n if (isCredentialObject && (!attributedCreds.$source || Object.keys(attributedCreds.$source).length === 0)) {\n return client.setCredentialFeature(attributedCreds, \"CREDENTIALS_CODE\", \"e\");\n }\n return attributedCreds;\n };\n resolvedCredentials.memoized = boundProvider.memoized;\n resolvedCredentials.configBound = boundProvider.configBound;\n resolvedCredentials.attributed = true;\n }\n else {\n resolvedCredentials = boundProvider;\n }\n },\n get() {\n return resolvedCredentials;\n },\n enumerable: true,\n configurable: true,\n });\n config.credentials = inputCredentials;\n const { signingEscapePath = true, systemClockOffset = config.systemClockOffset || 0, sha256, } = config;\n let signer;\n if (config.signer) {\n signer = core.normalizeProvider(config.signer);\n }\n else if (config.regionInfoProvider) {\n signer = () => core.normalizeProvider(config.region)()\n .then(async (region) => [\n (await config.regionInfoProvider(region, {\n useFipsEndpoint: await config.useFipsEndpoint(),\n useDualstackEndpoint: await config.useDualstackEndpoint(),\n })) || {},\n region,\n ])\n .then(([regionInfo, region]) => {\n const { signingRegion, signingService } = regionInfo;\n config.signingRegion = config.signingRegion || signingRegion || region;\n config.signingName = config.signingName || signingService || config.serviceId;\n const params = {\n ...config,\n credentials: config.credentials,\n region: config.signingRegion,\n service: config.signingName,\n sha256,\n uriEscapePath: signingEscapePath,\n };\n const SignerCtor = config.signerConstructor || signatureV4.SignatureV4;\n return new SignerCtor(params);\n });\n }\n else {\n signer = async (authScheme) => {\n authScheme = Object.assign({}, {\n name: \"sigv4\",\n signingName: config.signingName || config.defaultSigningName,\n signingRegion: await core.normalizeProvider(config.region)(),\n properties: {},\n }, authScheme);\n const signingRegion = authScheme.signingRegion;\n const signingService = authScheme.signingName;\n config.signingRegion = config.signingRegion || signingRegion;\n config.signingName = config.signingName || signingService || config.serviceId;\n const params = {\n ...config,\n credentials: config.credentials,\n region: config.signingRegion,\n service: config.signingName,\n sha256,\n uriEscapePath: signingEscapePath,\n };\n const SignerCtor = config.signerConstructor || signatureV4.SignatureV4;\n return new SignerCtor(params);\n };\n }\n const resolvedConfig = Object.assign(config, {\n systemClockOffset,\n signingEscapePath,\n signer,\n });\n return resolvedConfig;\n};\nconst resolveAWSSDKSigV4Config = resolveAwsSdkSigV4Config;\nfunction normalizeCredentialProvider(config, { credentials, credentialDefaultProvider, }) {\n let credentialsProvider;\n if (credentials) {\n if (!credentials?.memoized) {\n credentialsProvider = core.memoizeIdentityProvider(credentials, core.isIdentityExpired, core.doesIdentityRequireRefresh);\n }\n else {\n credentialsProvider = credentials;\n }\n }\n else {\n if (credentialDefaultProvider) {\n credentialsProvider = core.normalizeProvider(credentialDefaultProvider(Object.assign({}, config, {\n parentClientConfig: config,\n })));\n }\n else {\n credentialsProvider = async () => {\n throw new Error(\"@aws-sdk/core::resolveAwsSdkSigV4Config - `credentials` not provided and no credentialDefaultProvider was configured.\");\n };\n }\n }\n credentialsProvider.memoized = true;\n return credentialsProvider;\n}\nfunction bindCallerConfig(config, credentialsProvider) {\n if (credentialsProvider.configBound) {\n return credentialsProvider;\n }\n const fn = async (options) => credentialsProvider({ ...options, callerClientConfig: config });\n fn.memoized = credentialsProvider.memoized;\n fn.configBound = true;\n return fn;\n}\n\nclass ProtocolLib {\n queryCompat;\n constructor(queryCompat = false) {\n this.queryCompat = queryCompat;\n }\n resolveRestContentType(defaultContentType, inputSchema) {\n const members = inputSchema.getMemberSchemas();\n const httpPayloadMember = Object.values(members).find((m) => {\n return !!m.getMergedTraits().httpPayload;\n });\n if (httpPayloadMember) {\n const mediaType = httpPayloadMember.getMergedTraits().mediaType;\n if (mediaType) {\n return mediaType;\n }\n else if (httpPayloadMember.isStringSchema()) {\n return \"text/plain\";\n }\n else if (httpPayloadMember.isBlobSchema()) {\n return \"application/octet-stream\";\n }\n else {\n return defaultContentType;\n }\n }\n else if (!inputSchema.isUnitSchema()) {\n const hasBody = Object.values(members).find((m) => {\n const { httpQuery, httpQueryParams, httpHeader, httpLabel, httpPrefixHeaders } = m.getMergedTraits();\n const noPrefixHeaders = httpPrefixHeaders === void 0;\n return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && noPrefixHeaders;\n });\n if (hasBody) {\n return defaultContentType;\n }\n }\n }\n async getErrorSchemaOrThrowBaseException(errorIdentifier, defaultNamespace, response, dataObject, metadata, getErrorSchema) {\n let namespace = defaultNamespace;\n let errorName = errorIdentifier;\n if (errorIdentifier.includes(\"#\")) {\n [namespace, errorName] = errorIdentifier.split(\"#\");\n }\n const errorMetadata = {\n $metadata: metadata,\n $fault: response.statusCode < 500 ? \"client\" : \"server\",\n };\n const registry = schema.TypeRegistry.for(namespace);\n try {\n const errorSchema = getErrorSchema?.(registry, errorName) ?? registry.getSchema(errorIdentifier);\n return { errorSchema, errorMetadata };\n }\n catch (e) {\n dataObject.message = dataObject.message ?? dataObject.Message ?? \"UnknownError\";\n const synthetic = schema.TypeRegistry.for(\"smithy.ts.sdk.synthetic.\" + namespace);\n const baseExceptionSchema = synthetic.getBaseException();\n if (baseExceptionSchema) {\n const ErrorCtor = synthetic.getErrorCtor(baseExceptionSchema) ?? Error;\n throw this.decorateServiceException(Object.assign(new ErrorCtor({ name: errorName }), errorMetadata), dataObject);\n }\n throw this.decorateServiceException(Object.assign(new Error(errorName), errorMetadata), dataObject);\n }\n }\n decorateServiceException(exception, additions = {}) {\n if (this.queryCompat) {\n const msg = exception.Message ?? additions.Message;\n const error = smithyClient.decorateServiceException(exception, additions);\n if (msg) {\n error.message = msg;\n }\n error.Error = {\n ...error.Error,\n Type: error.Error.Type,\n Code: error.Error.Code,\n Message: error.Error.message ?? error.Error.Message ?? msg,\n };\n const reqId = error.$metadata.requestId;\n if (reqId) {\n error.RequestId = reqId;\n }\n return error;\n }\n return smithyClient.decorateServiceException(exception, additions);\n }\n setQueryCompatError(output, response) {\n const queryErrorHeader = response.headers?.[\"x-amzn-query-error\"];\n if (output !== undefined && queryErrorHeader != null) {\n const [Code, Type] = queryErrorHeader.split(\";\");\n const entries = Object.entries(output);\n const Error = {\n Code,\n Type,\n };\n Object.assign(output, Error);\n for (const [k, v] of entries) {\n Error[k === \"message\" ? \"Message\" : k] = v;\n }\n delete Error.__type;\n output.Error = Error;\n }\n }\n queryCompatOutput(queryCompatErrorData, errorData) {\n if (queryCompatErrorData.Error) {\n errorData.Error = queryCompatErrorData.Error;\n }\n if (queryCompatErrorData.Type) {\n errorData.Type = queryCompatErrorData.Type;\n }\n if (queryCompatErrorData.Code) {\n errorData.Code = queryCompatErrorData.Code;\n }\n }\n findQueryCompatibleError(registry, errorName) {\n try {\n return registry.getSchema(errorName);\n }\n catch (e) {\n return registry.find((schema$1) => schema.NormalizedSchema.of(schema$1).getMergedTraits().awsQueryError?.[0] === errorName);\n }\n }\n}\n\nclass AwsSmithyRpcV2CborProtocol extends cbor.SmithyRpcV2CborProtocol {\n awsQueryCompatible;\n mixin;\n constructor({ defaultNamespace, awsQueryCompatible, }) {\n super({ defaultNamespace });\n this.awsQueryCompatible = !!awsQueryCompatible;\n this.mixin = new ProtocolLib(this.awsQueryCompatible);\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n if (this.awsQueryCompatible) {\n request.headers[\"x-amzn-query-mode\"] = \"true\";\n }\n return request;\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n if (this.awsQueryCompatible) {\n this.mixin.setQueryCompatError(dataObject, response);\n }\n const errorName = (() => {\n const compatHeader = response.headers[\"x-amzn-query-error\"];\n if (compatHeader && this.awsQueryCompatible) {\n return compatHeader.split(\";\")[0];\n }\n return cbor.loadSmithyRpcV2CborErrorCode(response, dataObject) ?? \"Unknown\";\n })();\n const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorName, this.options.defaultNamespace, response, dataObject, metadata, this.awsQueryCompatible ? this.mixin.findQueryCompatibleError : undefined);\n const ns = schema.NormalizedSchema.of(errorSchema);\n const message = dataObject.message ?? dataObject.Message ?? \"Unknown\";\n const ErrorCtor = schema.TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;\n const exception = new ErrorCtor(message);\n const output = {};\n for (const [name, member] of ns.structIterator()) {\n if (dataObject[name] != null) {\n output[name] = this.deserializer.readValue(member, dataObject[name]);\n }\n }\n if (this.awsQueryCompatible) {\n this.mixin.queryCompatOutput(dataObject, output);\n }\n throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {\n $fault: ns.getMergedTraits().error,\n message,\n }, output), dataObject);\n }\n}\n\nconst _toStr = (val) => {\n if (val == null) {\n return val;\n }\n if (typeof val === \"number\" || typeof val === \"bigint\") {\n const warning = new Error(`Received number ${val} where a string was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n return String(val);\n }\n if (typeof val === \"boolean\") {\n const warning = new Error(`Received boolean ${val} where a string was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n return String(val);\n }\n return val;\n};\nconst _toBool = (val) => {\n if (val == null) {\n return val;\n }\n if (typeof val === \"string\") {\n const lowercase = val.toLowerCase();\n if (val !== \"\" && lowercase !== \"false\" && lowercase !== \"true\") {\n const warning = new Error(`Received string \"${val}\" where a boolean was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n }\n return val !== \"\" && lowercase !== \"false\";\n }\n return val;\n};\nconst _toNum = (val) => {\n if (val == null) {\n return val;\n }\n if (typeof val === \"string\") {\n const num = Number(val);\n if (num.toString() !== val) {\n const warning = new Error(`Received string \"${val}\" where a number was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n return val;\n }\n return num;\n }\n return val;\n};\n\nclass SerdeContextConfig {\n serdeContext;\n setSerdeContext(serdeContext) {\n this.serdeContext = serdeContext;\n }\n}\n\nclass UnionSerde {\n from;\n to;\n keys;\n constructor(from, to) {\n this.from = from;\n this.to = to;\n this.keys = new Set(Object.keys(this.from).filter((k) => k !== \"__type\"));\n }\n mark(key) {\n this.keys.delete(key);\n }\n hasUnknown() {\n return this.keys.size === 1 && Object.keys(this.to).length === 0;\n }\n writeUnknown() {\n if (this.hasUnknown()) {\n const k = this.keys.values().next().value;\n const v = this.from[k];\n this.to.$unknown = [k, v];\n }\n }\n}\n\nfunction jsonReviver(key, value, context) {\n if (context?.source) {\n const numericString = context.source;\n if (typeof value === \"number\") {\n if (value > Number.MAX_SAFE_INTEGER || value < Number.MIN_SAFE_INTEGER || numericString !== String(value)) {\n const isFractional = numericString.includes(\".\");\n if (isFractional) {\n return new serde.NumericValue(numericString, \"bigDecimal\");\n }\n else {\n return BigInt(numericString);\n }\n }\n }\n }\n return value;\n}\n\nconst collectBodyString = (streamBody, context) => smithyClient.collectBody(streamBody, context).then((body) => (context?.utf8Encoder ?? utilUtf8.toUtf8)(body));\n\nconst parseJsonBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {\n if (encoded.length) {\n try {\n return JSON.parse(encoded);\n }\n catch (e) {\n if (e?.name === \"SyntaxError\") {\n Object.defineProperty(e, \"$responseBodyText\", {\n value: encoded,\n });\n }\n throw e;\n }\n }\n return {};\n});\nconst parseJsonErrorBody = async (errorBody, context) => {\n const value = await parseJsonBody(errorBody, context);\n value.message = value.message ?? value.Message;\n return value;\n};\nconst loadRestJsonErrorCode = (output, data) => {\n const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());\n const sanitizeErrorCode = (rawValue) => {\n let cleanValue = rawValue;\n if (typeof cleanValue === \"number\") {\n cleanValue = cleanValue.toString();\n }\n if (cleanValue.indexOf(\",\") >= 0) {\n cleanValue = cleanValue.split(\",\")[0];\n }\n if (cleanValue.indexOf(\":\") >= 0) {\n cleanValue = cleanValue.split(\":\")[0];\n }\n if (cleanValue.indexOf(\"#\") >= 0) {\n cleanValue = cleanValue.split(\"#\")[1];\n }\n return cleanValue;\n };\n const headerKey = findKey(output.headers, \"x-amzn-errortype\");\n if (headerKey !== undefined) {\n return sanitizeErrorCode(output.headers[headerKey]);\n }\n if (data && typeof data === \"object\") {\n const codeKey = findKey(data, \"code\");\n if (codeKey && data[codeKey] !== undefined) {\n return sanitizeErrorCode(data[codeKey]);\n }\n if (data[\"__type\"] !== undefined) {\n return sanitizeErrorCode(data[\"__type\"]);\n }\n }\n};\n\nclass JsonShapeDeserializer extends SerdeContextConfig {\n settings;\n constructor(settings) {\n super();\n this.settings = settings;\n }\n async read(schema, data) {\n return this._read(schema, typeof data === \"string\" ? JSON.parse(data, jsonReviver) : await parseJsonBody(data, this.serdeContext));\n }\n readObject(schema, data) {\n return this._read(schema, data);\n }\n _read(schema$1, value) {\n const isObject = value !== null && typeof value === \"object\";\n const ns = schema.NormalizedSchema.of(schema$1);\n if (isObject) {\n if (ns.isStructSchema()) {\n const record = value;\n const union = ns.isUnionSchema();\n const out = {};\n let nameMap = void 0;\n const { jsonName } = this.settings;\n if (jsonName) {\n nameMap = {};\n }\n let unionSerde;\n if (union) {\n unionSerde = new UnionSerde(record, out);\n }\n for (const [memberName, memberSchema] of ns.structIterator()) {\n let fromKey = memberName;\n if (jsonName) {\n fromKey = memberSchema.getMergedTraits().jsonName ?? fromKey;\n nameMap[fromKey] = memberName;\n }\n if (union) {\n unionSerde.mark(fromKey);\n }\n if (record[fromKey] != null) {\n out[memberName] = this._read(memberSchema, record[fromKey]);\n }\n }\n if (union) {\n unionSerde.writeUnknown();\n }\n else if (typeof record.__type === \"string\") {\n for (const [k, v] of Object.entries(record)) {\n const t = jsonName ? nameMap[k] ?? k : k;\n if (!(t in out)) {\n out[t] = v;\n }\n }\n }\n return out;\n }\n if (Array.isArray(value) && ns.isListSchema()) {\n const listMember = ns.getValueSchema();\n const out = [];\n const sparse = !!ns.getMergedTraits().sparse;\n for (const item of value) {\n if (sparse || item != null) {\n out.push(this._read(listMember, item));\n }\n }\n return out;\n }\n if (ns.isMapSchema()) {\n const mapMember = ns.getValueSchema();\n const out = {};\n const sparse = !!ns.getMergedTraits().sparse;\n for (const [_k, _v] of Object.entries(value)) {\n if (sparse || _v != null) {\n out[_k] = this._read(mapMember, _v);\n }\n }\n return out;\n }\n }\n if (ns.isBlobSchema() && typeof value === \"string\") {\n return utilBase64.fromBase64(value);\n }\n const mediaType = ns.getMergedTraits().mediaType;\n if (ns.isStringSchema() && typeof value === \"string\" && mediaType) {\n const isJson = mediaType === \"application/json\" || mediaType.endsWith(\"+json\");\n if (isJson) {\n return serde.LazyJsonString.from(value);\n }\n return value;\n }\n if (ns.isTimestampSchema() && value != null) {\n const format = protocols.determineTimestampFormat(ns, this.settings);\n switch (format) {\n case 5:\n return serde.parseRfc3339DateTimeWithOffset(value);\n case 6:\n return serde.parseRfc7231DateTime(value);\n case 7:\n return serde.parseEpochTimestamp(value);\n default:\n console.warn(\"Missing timestamp format, parsing value with Date constructor:\", value);\n return new Date(value);\n }\n }\n if (ns.isBigIntegerSchema() && (typeof value === \"number\" || typeof value === \"string\")) {\n return BigInt(value);\n }\n if (ns.isBigDecimalSchema() && value != undefined) {\n if (value instanceof serde.NumericValue) {\n return value;\n }\n const untyped = value;\n if (untyped.type === \"bigDecimal\" && \"string\" in untyped) {\n return new serde.NumericValue(untyped.string, untyped.type);\n }\n return new serde.NumericValue(String(value), \"bigDecimal\");\n }\n if (ns.isNumericSchema() && typeof value === \"string\") {\n switch (value) {\n case \"Infinity\":\n return Infinity;\n case \"-Infinity\":\n return -Infinity;\n case \"NaN\":\n return NaN;\n }\n return value;\n }\n if (ns.isDocumentSchema()) {\n if (isObject) {\n const out = Array.isArray(value) ? [] : {};\n for (const [k, v] of Object.entries(value)) {\n if (v instanceof serde.NumericValue) {\n out[k] = v;\n }\n else {\n out[k] = this._read(ns, v);\n }\n }\n return out;\n }\n else {\n return structuredClone(value);\n }\n }\n return value;\n }\n}\n\nconst NUMERIC_CONTROL_CHAR = String.fromCharCode(925);\nclass JsonReplacer {\n values = new Map();\n counter = 0;\n stage = 0;\n createReplacer() {\n if (this.stage === 1) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer already created.\");\n }\n if (this.stage === 2) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer exhausted.\");\n }\n this.stage = 1;\n return (key, value) => {\n if (value instanceof serde.NumericValue) {\n const v = `${NUMERIC_CONTROL_CHAR + \"nv\" + this.counter++}_` + value.string;\n this.values.set(`\"${v}\"`, value.string);\n return v;\n }\n if (typeof value === \"bigint\") {\n const s = value.toString();\n const v = `${NUMERIC_CONTROL_CHAR + \"b\" + this.counter++}_` + s;\n this.values.set(`\"${v}\"`, s);\n return v;\n }\n return value;\n };\n }\n replaceInJson(json) {\n if (this.stage === 0) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer not created yet.\");\n }\n if (this.stage === 2) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer exhausted.\");\n }\n this.stage = 2;\n if (this.counter === 0) {\n return json;\n }\n for (const [key, value] of this.values) {\n json = json.replace(key, value);\n }\n return json;\n }\n}\n\nclass JsonShapeSerializer extends SerdeContextConfig {\n settings;\n buffer;\n useReplacer = false;\n rootSchema;\n constructor(settings) {\n super();\n this.settings = settings;\n }\n write(schema$1, value) {\n this.rootSchema = schema.NormalizedSchema.of(schema$1);\n this.buffer = this._write(this.rootSchema, value);\n }\n writeDiscriminatedDocument(schema$1, value) {\n this.write(schema$1, value);\n if (typeof this.buffer === \"object\") {\n this.buffer.__type = schema.NormalizedSchema.of(schema$1).getName(true);\n }\n }\n flush() {\n const { rootSchema, useReplacer } = this;\n this.rootSchema = undefined;\n this.useReplacer = false;\n if (rootSchema?.isStructSchema() || rootSchema?.isDocumentSchema()) {\n if (!useReplacer) {\n return JSON.stringify(this.buffer);\n }\n const replacer = new JsonReplacer();\n return replacer.replaceInJson(JSON.stringify(this.buffer, replacer.createReplacer(), 0));\n }\n return this.buffer;\n }\n _write(schema$1, value, container) {\n const isObject = value !== null && typeof value === \"object\";\n const ns = schema.NormalizedSchema.of(schema$1);\n if (isObject) {\n if (ns.isStructSchema()) {\n const record = value;\n const out = {};\n const { jsonName } = this.settings;\n let nameMap = void 0;\n if (jsonName) {\n nameMap = {};\n }\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const serializableValue = this._write(memberSchema, record[memberName], ns);\n if (serializableValue !== undefined) {\n let targetKey = memberName;\n if (jsonName) {\n targetKey = memberSchema.getMergedTraits().jsonName ?? memberName;\n nameMap[memberName] = targetKey;\n }\n out[targetKey] = serializableValue;\n }\n }\n if (ns.isUnionSchema() && Object.keys(out).length === 0) {\n const { $unknown } = record;\n if (Array.isArray($unknown)) {\n const [k, v] = $unknown;\n out[k] = this._write(15, v);\n }\n }\n else if (typeof record.__type === \"string\") {\n for (const [k, v] of Object.entries(record)) {\n const targetKey = jsonName ? nameMap[k] ?? k : k;\n if (!(targetKey in out)) {\n out[targetKey] = this._write(15, v);\n }\n }\n }\n return out;\n }\n if (Array.isArray(value) && ns.isListSchema()) {\n const listMember = ns.getValueSchema();\n const out = [];\n const sparse = !!ns.getMergedTraits().sparse;\n for (const item of value) {\n if (sparse || item != null) {\n out.push(this._write(listMember, item));\n }\n }\n return out;\n }\n if (ns.isMapSchema()) {\n const mapMember = ns.getValueSchema();\n const out = {};\n const sparse = !!ns.getMergedTraits().sparse;\n for (const [_k, _v] of Object.entries(value)) {\n if (sparse || _v != null) {\n out[_k] = this._write(mapMember, _v);\n }\n }\n return out;\n }\n if (value instanceof Uint8Array && (ns.isBlobSchema() || ns.isDocumentSchema())) {\n if (ns === this.rootSchema) {\n return value;\n }\n return (this.serdeContext?.base64Encoder ?? utilBase64.toBase64)(value);\n }\n if (value instanceof Date && (ns.isTimestampSchema() || ns.isDocumentSchema())) {\n const format = protocols.determineTimestampFormat(ns, this.settings);\n switch (format) {\n case 5:\n return value.toISOString().replace(\".000Z\", \"Z\");\n case 6:\n return serde.dateToUtcString(value);\n case 7:\n return value.getTime() / 1000;\n default:\n console.warn(\"Missing timestamp format, using epoch seconds\", value);\n return value.getTime() / 1000;\n }\n }\n if (value instanceof serde.NumericValue) {\n this.useReplacer = true;\n }\n }\n if (value === null && container?.isStructSchema()) {\n return void 0;\n }\n if (ns.isStringSchema()) {\n if (typeof value === \"undefined\" && ns.isIdempotencyToken()) {\n return serde.generateIdempotencyToken();\n }\n const mediaType = ns.getMergedTraits().mediaType;\n if (value != null && mediaType) {\n const isJson = mediaType === \"application/json\" || mediaType.endsWith(\"+json\");\n if (isJson) {\n return serde.LazyJsonString.from(value);\n }\n }\n return value;\n }\n if (typeof value === \"number\" && ns.isNumericSchema()) {\n if (Math.abs(value) === Infinity || isNaN(value)) {\n return String(value);\n }\n return value;\n }\n if (typeof value === \"string\" && ns.isBlobSchema()) {\n if (ns === this.rootSchema) {\n return value;\n }\n return (this.serdeContext?.base64Encoder ?? utilBase64.toBase64)(value);\n }\n if (typeof value === \"bigint\") {\n this.useReplacer = true;\n }\n if (ns.isDocumentSchema()) {\n if (isObject) {\n const out = Array.isArray(value) ? [] : {};\n for (const [k, v] of Object.entries(value)) {\n if (v instanceof serde.NumericValue) {\n this.useReplacer = true;\n out[k] = v;\n }\n else {\n out[k] = this._write(ns, v);\n }\n }\n return out;\n }\n else {\n return structuredClone(value);\n }\n }\n return value;\n }\n}\n\nclass JsonCodec extends SerdeContextConfig {\n settings;\n constructor(settings) {\n super();\n this.settings = settings;\n }\n createSerializer() {\n const serializer = new JsonShapeSerializer(this.settings);\n serializer.setSerdeContext(this.serdeContext);\n return serializer;\n }\n createDeserializer() {\n const deserializer = new JsonShapeDeserializer(this.settings);\n deserializer.setSerdeContext(this.serdeContext);\n return deserializer;\n }\n}\n\nclass AwsJsonRpcProtocol extends protocols.RpcProtocol {\n serializer;\n deserializer;\n serviceTarget;\n codec;\n mixin;\n awsQueryCompatible;\n constructor({ defaultNamespace, serviceTarget, awsQueryCompatible, jsonCodec, }) {\n super({\n defaultNamespace,\n });\n this.serviceTarget = serviceTarget;\n this.codec =\n jsonCodec ??\n new JsonCodec({\n timestampFormat: {\n useTrait: true,\n default: 7,\n },\n jsonName: false,\n });\n this.serializer = this.codec.createSerializer();\n this.deserializer = this.codec.createDeserializer();\n this.awsQueryCompatible = !!awsQueryCompatible;\n this.mixin = new ProtocolLib(this.awsQueryCompatible);\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n if (!request.path.endsWith(\"/\")) {\n request.path += \"/\";\n }\n Object.assign(request.headers, {\n \"content-type\": `application/x-amz-json-${this.getJsonRpcVersion()}`,\n \"x-amz-target\": `${this.serviceTarget}.${operationSchema.name}`,\n });\n if (this.awsQueryCompatible) {\n request.headers[\"x-amzn-query-mode\"] = \"true\";\n }\n if (schema.deref(operationSchema.input) === \"unit\" || !request.body) {\n request.body = \"{}\";\n }\n return request;\n }\n getPayloadCodec() {\n return this.codec;\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n if (this.awsQueryCompatible) {\n this.mixin.setQueryCompatError(dataObject, response);\n }\n const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? \"Unknown\";\n const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata, this.awsQueryCompatible ? this.mixin.findQueryCompatibleError : undefined);\n const ns = schema.NormalizedSchema.of(errorSchema);\n const message = dataObject.message ?? dataObject.Message ?? \"Unknown\";\n const ErrorCtor = schema.TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;\n const exception = new ErrorCtor(message);\n const output = {};\n for (const [name, member] of ns.structIterator()) {\n if (dataObject[name] != null) {\n output[name] = this.codec.createDeserializer().readObject(member, dataObject[name]);\n }\n }\n if (this.awsQueryCompatible) {\n this.mixin.queryCompatOutput(dataObject, output);\n }\n throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {\n $fault: ns.getMergedTraits().error,\n message,\n }, output), dataObject);\n }\n}\n\nclass AwsJson1_0Protocol extends AwsJsonRpcProtocol {\n constructor({ defaultNamespace, serviceTarget, awsQueryCompatible, jsonCodec, }) {\n super({\n defaultNamespace,\n serviceTarget,\n awsQueryCompatible,\n jsonCodec,\n });\n }\n getShapeId() {\n return \"aws.protocols#awsJson1_0\";\n }\n getJsonRpcVersion() {\n return \"1.0\";\n }\n getDefaultContentType() {\n return \"application/x-amz-json-1.0\";\n }\n}\n\nclass AwsJson1_1Protocol extends AwsJsonRpcProtocol {\n constructor({ defaultNamespace, serviceTarget, awsQueryCompatible, jsonCodec, }) {\n super({\n defaultNamespace,\n serviceTarget,\n awsQueryCompatible,\n jsonCodec,\n });\n }\n getShapeId() {\n return \"aws.protocols#awsJson1_1\";\n }\n getJsonRpcVersion() {\n return \"1.1\";\n }\n getDefaultContentType() {\n return \"application/x-amz-json-1.1\";\n }\n}\n\nclass AwsRestJsonProtocol extends protocols.HttpBindingProtocol {\n serializer;\n deserializer;\n codec;\n mixin = new ProtocolLib();\n constructor({ defaultNamespace }) {\n super({\n defaultNamespace,\n });\n const settings = {\n timestampFormat: {\n useTrait: true,\n default: 7,\n },\n httpBindings: true,\n jsonName: true,\n };\n this.codec = new JsonCodec(settings);\n this.serializer = new protocols.HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);\n this.deserializer = new protocols.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);\n }\n getShapeId() {\n return \"aws.protocols#restJson1\";\n }\n getPayloadCodec() {\n return this.codec;\n }\n setSerdeContext(serdeContext) {\n this.codec.setSerdeContext(serdeContext);\n super.setSerdeContext(serdeContext);\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n const inputSchema = schema.NormalizedSchema.of(operationSchema.input);\n if (!request.headers[\"content-type\"]) {\n const contentType = this.mixin.resolveRestContentType(this.getDefaultContentType(), inputSchema);\n if (contentType) {\n request.headers[\"content-type\"] = contentType;\n }\n }\n if (request.body == null && request.headers[\"content-type\"] === this.getDefaultContentType()) {\n request.body = \"{}\";\n }\n return request;\n }\n async deserializeResponse(operationSchema, context, response) {\n const output = await super.deserializeResponse(operationSchema, context, response);\n const outputSchema = schema.NormalizedSchema.of(operationSchema.output);\n for (const [name, member] of outputSchema.structIterator()) {\n if (member.getMemberTraits().httpPayload && !(name in output)) {\n output[name] = null;\n }\n }\n return output;\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? \"Unknown\";\n const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata);\n const ns = schema.NormalizedSchema.of(errorSchema);\n const message = dataObject.message ?? dataObject.Message ?? \"Unknown\";\n const ErrorCtor = schema.TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;\n const exception = new ErrorCtor(message);\n await this.deserializeHttpMessage(errorSchema, context, response, dataObject);\n const output = {};\n for (const [name, member] of ns.structIterator()) {\n const target = member.getMergedTraits().jsonName ?? name;\n output[name] = this.codec.createDeserializer().readObject(member, dataObject[target]);\n }\n throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {\n $fault: ns.getMergedTraits().error,\n message,\n }, output), dataObject);\n }\n getDefaultContentType() {\n return \"application/json\";\n }\n}\n\nconst awsExpectUnion = (value) => {\n if (value == null) {\n return undefined;\n }\n if (typeof value === \"object\" && \"__type\" in value) {\n delete value.__type;\n }\n return smithyClient.expectUnion(value);\n};\n\nclass XmlShapeDeserializer extends SerdeContextConfig {\n settings;\n stringDeserializer;\n constructor(settings) {\n super();\n this.settings = settings;\n this.stringDeserializer = new protocols.FromStringShapeDeserializer(settings);\n }\n setSerdeContext(serdeContext) {\n this.serdeContext = serdeContext;\n this.stringDeserializer.setSerdeContext(serdeContext);\n }\n read(schema$1, bytes, key) {\n const ns = schema.NormalizedSchema.of(schema$1);\n const memberSchemas = ns.getMemberSchemas();\n const isEventPayload = ns.isStructSchema() &&\n ns.isMemberSchema() &&\n !!Object.values(memberSchemas).find((memberNs) => {\n return !!memberNs.getMemberTraits().eventPayload;\n });\n if (isEventPayload) {\n const output = {};\n const memberName = Object.keys(memberSchemas)[0];\n const eventMemberSchema = memberSchemas[memberName];\n if (eventMemberSchema.isBlobSchema()) {\n output[memberName] = bytes;\n }\n else {\n output[memberName] = this.read(memberSchemas[memberName], bytes);\n }\n return output;\n }\n const xmlString = (this.serdeContext?.utf8Encoder ?? utilUtf8.toUtf8)(bytes);\n const parsedObject = this.parseXml(xmlString);\n return this.readSchema(schema$1, key ? parsedObject[key] : parsedObject);\n }\n readSchema(_schema, value) {\n const ns = schema.NormalizedSchema.of(_schema);\n if (ns.isUnitSchema()) {\n return;\n }\n const traits = ns.getMergedTraits();\n if (ns.isListSchema() && !Array.isArray(value)) {\n return this.readSchema(ns, [value]);\n }\n if (value == null) {\n return value;\n }\n if (typeof value === \"object\") {\n const sparse = !!traits.sparse;\n const flat = !!traits.xmlFlattened;\n if (ns.isListSchema()) {\n const listValue = ns.getValueSchema();\n const buffer = [];\n const sourceKey = listValue.getMergedTraits().xmlName ?? \"member\";\n const source = flat ? value : (value[0] ?? value)[sourceKey];\n const sourceArray = Array.isArray(source) ? source : [source];\n for (const v of sourceArray) {\n if (v != null || sparse) {\n buffer.push(this.readSchema(listValue, v));\n }\n }\n return buffer;\n }\n const buffer = {};\n if (ns.isMapSchema()) {\n const keyNs = ns.getKeySchema();\n const memberNs = ns.getValueSchema();\n let entries;\n if (flat) {\n entries = Array.isArray(value) ? value : [value];\n }\n else {\n entries = Array.isArray(value.entry) ? value.entry : [value.entry];\n }\n const keyProperty = keyNs.getMergedTraits().xmlName ?? \"key\";\n const valueProperty = memberNs.getMergedTraits().xmlName ?? \"value\";\n for (const entry of entries) {\n const key = entry[keyProperty];\n const value = entry[valueProperty];\n if (value != null || sparse) {\n buffer[key] = this.readSchema(memberNs, value);\n }\n }\n return buffer;\n }\n if (ns.isStructSchema()) {\n const union = ns.isUnionSchema();\n let unionSerde;\n if (union) {\n unionSerde = new UnionSerde(value, buffer);\n }\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const memberTraits = memberSchema.getMergedTraits();\n const xmlObjectKey = !memberTraits.httpPayload\n ? memberSchema.getMemberTraits().xmlName ?? memberName\n : memberTraits.xmlName ?? memberSchema.getName();\n if (union) {\n unionSerde.mark(xmlObjectKey);\n }\n if (value[xmlObjectKey] != null) {\n buffer[memberName] = this.readSchema(memberSchema, value[xmlObjectKey]);\n }\n }\n if (union) {\n unionSerde.writeUnknown();\n }\n return buffer;\n }\n if (ns.isDocumentSchema()) {\n return value;\n }\n throw new Error(`@aws-sdk/core/protocols - xml deserializer unhandled schema type for ${ns.getName(true)}`);\n }\n if (ns.isListSchema()) {\n return [];\n }\n if (ns.isMapSchema() || ns.isStructSchema()) {\n return {};\n }\n return this.stringDeserializer.read(ns, value);\n }\n parseXml(xml) {\n if (xml.length) {\n let parsedObj;\n try {\n parsedObj = xmlBuilder.parseXML(xml);\n }\n catch (e) {\n if (e && typeof e === \"object\") {\n Object.defineProperty(e, \"$responseBodyText\", {\n value: xml,\n });\n }\n throw e;\n }\n const textNodeName = \"#text\";\n const key = Object.keys(parsedObj)[0];\n const parsedObjToReturn = parsedObj[key];\n if (parsedObjToReturn[textNodeName]) {\n parsedObjToReturn[key] = parsedObjToReturn[textNodeName];\n delete parsedObjToReturn[textNodeName];\n }\n return smithyClient.getValueFromTextNode(parsedObjToReturn);\n }\n return {};\n }\n}\n\nclass QueryShapeSerializer extends SerdeContextConfig {\n settings;\n buffer;\n constructor(settings) {\n super();\n this.settings = settings;\n }\n write(schema$1, value, prefix = \"\") {\n if (this.buffer === undefined) {\n this.buffer = \"\";\n }\n const ns = schema.NormalizedSchema.of(schema$1);\n if (prefix && !prefix.endsWith(\".\")) {\n prefix += \".\";\n }\n if (ns.isBlobSchema()) {\n if (typeof value === \"string\" || value instanceof Uint8Array) {\n this.writeKey(prefix);\n this.writeValue((this.serdeContext?.base64Encoder ?? utilBase64.toBase64)(value));\n }\n }\n else if (ns.isBooleanSchema() || ns.isNumericSchema() || ns.isStringSchema()) {\n if (value != null) {\n this.writeKey(prefix);\n this.writeValue(String(value));\n }\n else if (ns.isIdempotencyToken()) {\n this.writeKey(prefix);\n this.writeValue(serde.generateIdempotencyToken());\n }\n }\n else if (ns.isBigIntegerSchema()) {\n if (value != null) {\n this.writeKey(prefix);\n this.writeValue(String(value));\n }\n }\n else if (ns.isBigDecimalSchema()) {\n if (value != null) {\n this.writeKey(prefix);\n this.writeValue(value instanceof serde.NumericValue ? value.string : String(value));\n }\n }\n else if (ns.isTimestampSchema()) {\n if (value instanceof Date) {\n this.writeKey(prefix);\n const format = protocols.determineTimestampFormat(ns, this.settings);\n switch (format) {\n case 5:\n this.writeValue(value.toISOString().replace(\".000Z\", \"Z\"));\n break;\n case 6:\n this.writeValue(smithyClient.dateToUtcString(value));\n break;\n case 7:\n this.writeValue(String(value.getTime() / 1000));\n break;\n }\n }\n }\n else if (ns.isDocumentSchema()) {\n if (Array.isArray(value)) {\n this.write(64 | 15, value, prefix);\n }\n else if (value instanceof Date) {\n this.write(4, value, prefix);\n }\n else if (value instanceof Uint8Array) {\n this.write(21, value, prefix);\n }\n else if (value && typeof value === \"object\") {\n this.write(128 | 15, value, prefix);\n }\n else {\n this.writeKey(prefix);\n this.writeValue(String(value));\n }\n }\n else if (ns.isListSchema()) {\n if (Array.isArray(value)) {\n if (value.length === 0) {\n if (this.settings.serializeEmptyLists) {\n this.writeKey(prefix);\n this.writeValue(\"\");\n }\n }\n else {\n const member = ns.getValueSchema();\n const flat = this.settings.flattenLists || ns.getMergedTraits().xmlFlattened;\n let i = 1;\n for (const item of value) {\n if (item == null) {\n continue;\n }\n const suffix = this.getKey(\"member\", member.getMergedTraits().xmlName);\n const key = flat ? `${prefix}${i}` : `${prefix}${suffix}.${i}`;\n this.write(member, item, key);\n ++i;\n }\n }\n }\n }\n else if (ns.isMapSchema()) {\n if (value && typeof value === \"object\") {\n const keySchema = ns.getKeySchema();\n const memberSchema = ns.getValueSchema();\n const flat = ns.getMergedTraits().xmlFlattened;\n let i = 1;\n for (const [k, v] of Object.entries(value)) {\n if (v == null) {\n continue;\n }\n const keySuffix = this.getKey(\"key\", keySchema.getMergedTraits().xmlName);\n const key = flat ? `${prefix}${i}.${keySuffix}` : `${prefix}entry.${i}.${keySuffix}`;\n const valueSuffix = this.getKey(\"value\", memberSchema.getMergedTraits().xmlName);\n const valueKey = flat ? `${prefix}${i}.${valueSuffix}` : `${prefix}entry.${i}.${valueSuffix}`;\n this.write(keySchema, k, key);\n this.write(memberSchema, v, valueKey);\n ++i;\n }\n }\n }\n else if (ns.isStructSchema()) {\n if (value && typeof value === \"object\") {\n let didWriteMember = false;\n for (const [memberName, member] of ns.structIterator()) {\n if (value[memberName] == null && !member.isIdempotencyToken()) {\n continue;\n }\n const suffix = this.getKey(memberName, member.getMergedTraits().xmlName);\n const key = `${prefix}${suffix}`;\n this.write(member, value[memberName], key);\n didWriteMember = true;\n }\n if (!didWriteMember && ns.isUnionSchema()) {\n const { $unknown } = value;\n if (Array.isArray($unknown)) {\n const [k, v] = $unknown;\n const key = `${prefix}${k}`;\n this.write(15, v, key);\n }\n }\n }\n }\n else if (ns.isUnitSchema()) ;\n else {\n throw new Error(`@aws-sdk/core/protocols - QuerySerializer unrecognized schema type ${ns.getName(true)}`);\n }\n }\n flush() {\n if (this.buffer === undefined) {\n throw new Error(\"@aws-sdk/core/protocols - QuerySerializer cannot flush with nothing written to buffer.\");\n }\n const str = this.buffer;\n delete this.buffer;\n return str;\n }\n getKey(memberName, xmlName) {\n const key = xmlName ?? memberName;\n if (this.settings.capitalizeKeys) {\n return key[0].toUpperCase() + key.slice(1);\n }\n return key;\n }\n writeKey(key) {\n if (key.endsWith(\".\")) {\n key = key.slice(0, key.length - 1);\n }\n this.buffer += `&${protocols.extendedEncodeURIComponent(key)}=`;\n }\n writeValue(value) {\n this.buffer += protocols.extendedEncodeURIComponent(value);\n }\n}\n\nclass AwsQueryProtocol extends protocols.RpcProtocol {\n options;\n serializer;\n deserializer;\n mixin = new ProtocolLib();\n constructor(options) {\n super({\n defaultNamespace: options.defaultNamespace,\n });\n this.options = options;\n const settings = {\n timestampFormat: {\n useTrait: true,\n default: 5,\n },\n httpBindings: false,\n xmlNamespace: options.xmlNamespace,\n serviceNamespace: options.defaultNamespace,\n serializeEmptyLists: true,\n };\n this.serializer = new QueryShapeSerializer(settings);\n this.deserializer = new XmlShapeDeserializer(settings);\n }\n getShapeId() {\n return \"aws.protocols#awsQuery\";\n }\n setSerdeContext(serdeContext) {\n this.serializer.setSerdeContext(serdeContext);\n this.deserializer.setSerdeContext(serdeContext);\n }\n getPayloadCodec() {\n throw new Error(\"AWSQuery protocol has no payload codec.\");\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n if (!request.path.endsWith(\"/\")) {\n request.path += \"/\";\n }\n Object.assign(request.headers, {\n \"content-type\": `application/x-www-form-urlencoded`,\n });\n if (schema.deref(operationSchema.input) === \"unit\" || !request.body) {\n request.body = \"\";\n }\n const action = operationSchema.name.split(\"#\")[1] ?? operationSchema.name;\n request.body = `Action=${action}&Version=${this.options.version}` + request.body;\n if (request.body.endsWith(\"&\")) {\n request.body = request.body.slice(-1);\n }\n return request;\n }\n async deserializeResponse(operationSchema, context, response) {\n const deserializer = this.deserializer;\n const ns = schema.NormalizedSchema.of(operationSchema.output);\n const dataObject = {};\n if (response.statusCode >= 300) {\n const bytes = await protocols.collectBody(response.body, context);\n if (bytes.byteLength > 0) {\n Object.assign(dataObject, await deserializer.read(15, bytes));\n }\n await this.handleError(operationSchema, context, response, dataObject, this.deserializeMetadata(response));\n }\n for (const header in response.headers) {\n const value = response.headers[header];\n delete response.headers[header];\n response.headers[header.toLowerCase()] = value;\n }\n const shortName = operationSchema.name.split(\"#\")[1] ?? operationSchema.name;\n const awsQueryResultKey = ns.isStructSchema() && this.useNestedResult() ? shortName + \"Result\" : undefined;\n const bytes = await protocols.collectBody(response.body, context);\n if (bytes.byteLength > 0) {\n Object.assign(dataObject, await deserializer.read(ns, bytes, awsQueryResultKey));\n }\n const output = {\n $metadata: this.deserializeMetadata(response),\n ...dataObject,\n };\n return output;\n }\n useNestedResult() {\n return true;\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorIdentifier = this.loadQueryErrorCode(response, dataObject) ?? \"Unknown\";\n const errorData = this.loadQueryError(dataObject);\n const message = this.loadQueryErrorMessage(dataObject);\n errorData.message = message;\n errorData.Error = {\n Type: errorData.Type,\n Code: errorData.Code,\n Message: message,\n };\n const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, errorData, metadata, this.mixin.findQueryCompatibleError);\n const ns = schema.NormalizedSchema.of(errorSchema);\n const ErrorCtor = schema.TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;\n const exception = new ErrorCtor(message);\n const output = {\n Type: errorData.Error.Type,\n Code: errorData.Error.Code,\n Error: errorData.Error,\n };\n for (const [name, member] of ns.structIterator()) {\n const target = member.getMergedTraits().xmlName ?? name;\n const value = errorData[target] ?? dataObject[target];\n output[name] = this.deserializer.readSchema(member, value);\n }\n throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {\n $fault: ns.getMergedTraits().error,\n message,\n }, output), dataObject);\n }\n loadQueryErrorCode(output, data) {\n const code = (data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error)?.Code;\n if (code !== undefined) {\n return code;\n }\n if (output.statusCode == 404) {\n return \"NotFound\";\n }\n }\n loadQueryError(data) {\n return data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error;\n }\n loadQueryErrorMessage(data) {\n const errorData = this.loadQueryError(data);\n return errorData?.message ?? errorData?.Message ?? data.message ?? data.Message ?? \"Unknown\";\n }\n getDefaultContentType() {\n return \"application/x-www-form-urlencoded\";\n }\n}\n\nclass AwsEc2QueryProtocol extends AwsQueryProtocol {\n options;\n constructor(options) {\n super(options);\n this.options = options;\n const ec2Settings = {\n capitalizeKeys: true,\n flattenLists: true,\n serializeEmptyLists: false,\n };\n Object.assign(this.serializer.settings, ec2Settings);\n }\n useNestedResult() {\n return false;\n }\n}\n\nconst parseXmlBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {\n if (encoded.length) {\n let parsedObj;\n try {\n parsedObj = xmlBuilder.parseXML(encoded);\n }\n catch (e) {\n if (e && typeof e === \"object\") {\n Object.defineProperty(e, \"$responseBodyText\", {\n value: encoded,\n });\n }\n throw e;\n }\n const textNodeName = \"#text\";\n const key = Object.keys(parsedObj)[0];\n const parsedObjToReturn = parsedObj[key];\n if (parsedObjToReturn[textNodeName]) {\n parsedObjToReturn[key] = parsedObjToReturn[textNodeName];\n delete parsedObjToReturn[textNodeName];\n }\n return smithyClient.getValueFromTextNode(parsedObjToReturn);\n }\n return {};\n});\nconst parseXmlErrorBody = async (errorBody, context) => {\n const value = await parseXmlBody(errorBody, context);\n if (value.Error) {\n value.Error.message = value.Error.message ?? value.Error.Message;\n }\n return value;\n};\nconst loadRestXmlErrorCode = (output, data) => {\n if (data?.Error?.Code !== undefined) {\n return data.Error.Code;\n }\n if (data?.Code !== undefined) {\n return data.Code;\n }\n if (output.statusCode == 404) {\n return \"NotFound\";\n }\n};\n\nclass XmlShapeSerializer extends SerdeContextConfig {\n settings;\n stringBuffer;\n byteBuffer;\n buffer;\n constructor(settings) {\n super();\n this.settings = settings;\n }\n write(schema$1, value) {\n const ns = schema.NormalizedSchema.of(schema$1);\n if (ns.isStringSchema() && typeof value === \"string\") {\n this.stringBuffer = value;\n }\n else if (ns.isBlobSchema()) {\n this.byteBuffer =\n \"byteLength\" in value\n ? value\n : (this.serdeContext?.base64Decoder ?? utilBase64.fromBase64)(value);\n }\n else {\n this.buffer = this.writeStruct(ns, value, undefined);\n const traits = ns.getMergedTraits();\n if (traits.httpPayload && !traits.xmlName) {\n this.buffer.withName(ns.getName());\n }\n }\n }\n flush() {\n if (this.byteBuffer !== undefined) {\n const bytes = this.byteBuffer;\n delete this.byteBuffer;\n return bytes;\n }\n if (this.stringBuffer !== undefined) {\n const str = this.stringBuffer;\n delete this.stringBuffer;\n return str;\n }\n const buffer = this.buffer;\n if (this.settings.xmlNamespace) {\n if (!buffer?.attributes?.[\"xmlns\"]) {\n buffer.addAttribute(\"xmlns\", this.settings.xmlNamespace);\n }\n }\n delete this.buffer;\n return buffer.toString();\n }\n writeStruct(ns, value, parentXmlns) {\n const traits = ns.getMergedTraits();\n const name = ns.isMemberSchema() && !traits.httpPayload\n ? ns.getMemberTraits().xmlName ?? ns.getMemberName()\n : traits.xmlName ?? ns.getName();\n if (!name || !ns.isStructSchema()) {\n throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write struct with empty name or non-struct, schema=${ns.getName(true)}.`);\n }\n const structXmlNode = xmlBuilder.XmlNode.of(name);\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns);\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const val = value[memberName];\n if (val != null || memberSchema.isIdempotencyToken()) {\n if (memberSchema.getMergedTraits().xmlAttribute) {\n structXmlNode.addAttribute(memberSchema.getMergedTraits().xmlName ?? memberName, this.writeSimple(memberSchema, val));\n continue;\n }\n if (memberSchema.isListSchema()) {\n this.writeList(memberSchema, val, structXmlNode, xmlns);\n }\n else if (memberSchema.isMapSchema()) {\n this.writeMap(memberSchema, val, structXmlNode, xmlns);\n }\n else if (memberSchema.isStructSchema()) {\n structXmlNode.addChildNode(this.writeStruct(memberSchema, val, xmlns));\n }\n else {\n const memberNode = xmlBuilder.XmlNode.of(memberSchema.getMergedTraits().xmlName ?? memberSchema.getMemberName());\n this.writeSimpleInto(memberSchema, val, memberNode, xmlns);\n structXmlNode.addChildNode(memberNode);\n }\n }\n }\n const { $unknown } = value;\n if ($unknown && ns.isUnionSchema() && Array.isArray($unknown) && Object.keys(value).length === 1) {\n const [k, v] = $unknown;\n const node = xmlBuilder.XmlNode.of(k);\n if (typeof v !== \"string\") {\n if (value instanceof xmlBuilder.XmlNode || value instanceof xmlBuilder.XmlText) {\n structXmlNode.addChildNode(value);\n }\n else {\n throw new Error(`@aws-sdk - $unknown union member in XML requires ` +\n `value of type string, @aws-sdk/xml-builder::XmlNode or XmlText.`);\n }\n }\n this.writeSimpleInto(0, v, node, xmlns);\n structXmlNode.addChildNode(node);\n }\n if (xmlns) {\n structXmlNode.addAttribute(xmlnsAttr, xmlns);\n }\n return structXmlNode;\n }\n writeList(listMember, array, container, parentXmlns) {\n if (!listMember.isMemberSchema()) {\n throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member list: ${listMember.getName(true)}`);\n }\n const listTraits = listMember.getMergedTraits();\n const listValueSchema = listMember.getValueSchema();\n const listValueTraits = listValueSchema.getMergedTraits();\n const sparse = !!listValueTraits.sparse;\n const flat = !!listTraits.xmlFlattened;\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(listMember, parentXmlns);\n const writeItem = (container, value) => {\n if (listValueSchema.isListSchema()) {\n this.writeList(listValueSchema, Array.isArray(value) ? value : [value], container, xmlns);\n }\n else if (listValueSchema.isMapSchema()) {\n this.writeMap(listValueSchema, value, container, xmlns);\n }\n else if (listValueSchema.isStructSchema()) {\n const struct = this.writeStruct(listValueSchema, value, xmlns);\n container.addChildNode(struct.withName(flat ? listTraits.xmlName ?? listMember.getMemberName() : listValueTraits.xmlName ?? \"member\"));\n }\n else {\n const listItemNode = xmlBuilder.XmlNode.of(flat ? listTraits.xmlName ?? listMember.getMemberName() : listValueTraits.xmlName ?? \"member\");\n this.writeSimpleInto(listValueSchema, value, listItemNode, xmlns);\n container.addChildNode(listItemNode);\n }\n };\n if (flat) {\n for (const value of array) {\n if (sparse || value != null) {\n writeItem(container, value);\n }\n }\n }\n else {\n const listNode = xmlBuilder.XmlNode.of(listTraits.xmlName ?? listMember.getMemberName());\n if (xmlns) {\n listNode.addAttribute(xmlnsAttr, xmlns);\n }\n for (const value of array) {\n if (sparse || value != null) {\n writeItem(listNode, value);\n }\n }\n container.addChildNode(listNode);\n }\n }\n writeMap(mapMember, map, container, parentXmlns, containerIsMap = false) {\n if (!mapMember.isMemberSchema()) {\n throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member map: ${mapMember.getName(true)}`);\n }\n const mapTraits = mapMember.getMergedTraits();\n const mapKeySchema = mapMember.getKeySchema();\n const mapKeyTraits = mapKeySchema.getMergedTraits();\n const keyTag = mapKeyTraits.xmlName ?? \"key\";\n const mapValueSchema = mapMember.getValueSchema();\n const mapValueTraits = mapValueSchema.getMergedTraits();\n const valueTag = mapValueTraits.xmlName ?? \"value\";\n const sparse = !!mapValueTraits.sparse;\n const flat = !!mapTraits.xmlFlattened;\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(mapMember, parentXmlns);\n const addKeyValue = (entry, key, val) => {\n const keyNode = xmlBuilder.XmlNode.of(keyTag, key);\n const [keyXmlnsAttr, keyXmlns] = this.getXmlnsAttribute(mapKeySchema, xmlns);\n if (keyXmlns) {\n keyNode.addAttribute(keyXmlnsAttr, keyXmlns);\n }\n entry.addChildNode(keyNode);\n let valueNode = xmlBuilder.XmlNode.of(valueTag);\n if (mapValueSchema.isListSchema()) {\n this.writeList(mapValueSchema, val, valueNode, xmlns);\n }\n else if (mapValueSchema.isMapSchema()) {\n this.writeMap(mapValueSchema, val, valueNode, xmlns, true);\n }\n else if (mapValueSchema.isStructSchema()) {\n valueNode = this.writeStruct(mapValueSchema, val, xmlns);\n }\n else {\n this.writeSimpleInto(mapValueSchema, val, valueNode, xmlns);\n }\n entry.addChildNode(valueNode);\n };\n if (flat) {\n for (const [key, val] of Object.entries(map)) {\n if (sparse || val != null) {\n const entry = xmlBuilder.XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName());\n addKeyValue(entry, key, val);\n container.addChildNode(entry);\n }\n }\n }\n else {\n let mapNode;\n if (!containerIsMap) {\n mapNode = xmlBuilder.XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName());\n if (xmlns) {\n mapNode.addAttribute(xmlnsAttr, xmlns);\n }\n container.addChildNode(mapNode);\n }\n for (const [key, val] of Object.entries(map)) {\n if (sparse || val != null) {\n const entry = xmlBuilder.XmlNode.of(\"entry\");\n addKeyValue(entry, key, val);\n (containerIsMap ? container : mapNode).addChildNode(entry);\n }\n }\n }\n }\n writeSimple(_schema, value) {\n if (null === value) {\n throw new Error(\"@aws-sdk/core/protocols - (XML serializer) cannot write null value.\");\n }\n const ns = schema.NormalizedSchema.of(_schema);\n let nodeContents = null;\n if (value && typeof value === \"object\") {\n if (ns.isBlobSchema()) {\n nodeContents = (this.serdeContext?.base64Encoder ?? utilBase64.toBase64)(value);\n }\n else if (ns.isTimestampSchema() && value instanceof Date) {\n const format = protocols.determineTimestampFormat(ns, this.settings);\n switch (format) {\n case 5:\n nodeContents = value.toISOString().replace(\".000Z\", \"Z\");\n break;\n case 6:\n nodeContents = smithyClient.dateToUtcString(value);\n break;\n case 7:\n nodeContents = String(value.getTime() / 1000);\n break;\n default:\n console.warn(\"Missing timestamp format, using http date\", value);\n nodeContents = smithyClient.dateToUtcString(value);\n break;\n }\n }\n else if (ns.isBigDecimalSchema() && value) {\n if (value instanceof serde.NumericValue) {\n return value.string;\n }\n return String(value);\n }\n else if (ns.isMapSchema() || ns.isListSchema()) {\n throw new Error(\"@aws-sdk/core/protocols - xml serializer, cannot call _write() on List/Map schema, call writeList or writeMap() instead.\");\n }\n else {\n throw new Error(`@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${ns.getName(true)}`);\n }\n }\n if (ns.isBooleanSchema() || ns.isNumericSchema() || ns.isBigIntegerSchema() || ns.isBigDecimalSchema()) {\n nodeContents = String(value);\n }\n if (ns.isStringSchema()) {\n if (value === undefined && ns.isIdempotencyToken()) {\n nodeContents = serde.generateIdempotencyToken();\n }\n else {\n nodeContents = String(value);\n }\n }\n if (nodeContents === null) {\n throw new Error(`Unhandled schema-value pair ${ns.getName(true)}=${value}`);\n }\n return nodeContents;\n }\n writeSimpleInto(_schema, value, into, parentXmlns) {\n const nodeContents = this.writeSimple(_schema, value);\n const ns = schema.NormalizedSchema.of(_schema);\n const content = new xmlBuilder.XmlText(nodeContents);\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns);\n if (xmlns) {\n into.addAttribute(xmlnsAttr, xmlns);\n }\n into.addChildNode(content);\n }\n getXmlnsAttribute(ns, parentXmlns) {\n const traits = ns.getMergedTraits();\n const [prefix, xmlns] = traits.xmlNamespace ?? [];\n if (xmlns && xmlns !== parentXmlns) {\n return [prefix ? `xmlns:${prefix}` : \"xmlns\", xmlns];\n }\n return [void 0, void 0];\n }\n}\n\nclass XmlCodec extends SerdeContextConfig {\n settings;\n constructor(settings) {\n super();\n this.settings = settings;\n }\n createSerializer() {\n const serializer = new XmlShapeSerializer(this.settings);\n serializer.setSerdeContext(this.serdeContext);\n return serializer;\n }\n createDeserializer() {\n const deserializer = new XmlShapeDeserializer(this.settings);\n deserializer.setSerdeContext(this.serdeContext);\n return deserializer;\n }\n}\n\nclass AwsRestXmlProtocol extends protocols.HttpBindingProtocol {\n codec;\n serializer;\n deserializer;\n mixin = new ProtocolLib();\n constructor(options) {\n super(options);\n const settings = {\n timestampFormat: {\n useTrait: true,\n default: 5,\n },\n httpBindings: true,\n xmlNamespace: options.xmlNamespace,\n serviceNamespace: options.defaultNamespace,\n };\n this.codec = new XmlCodec(settings);\n this.serializer = new protocols.HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);\n this.deserializer = new protocols.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);\n }\n getPayloadCodec() {\n return this.codec;\n }\n getShapeId() {\n return \"aws.protocols#restXml\";\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n const inputSchema = schema.NormalizedSchema.of(operationSchema.input);\n if (!request.headers[\"content-type\"]) {\n const contentType = this.mixin.resolveRestContentType(this.getDefaultContentType(), inputSchema);\n if (contentType) {\n request.headers[\"content-type\"] = contentType;\n }\n }\n if (typeof request.body === \"string\" &&\n request.headers[\"content-type\"] === this.getDefaultContentType() &&\n !request.body.startsWith(\"' + request.body;\n }\n return request;\n }\n async deserializeResponse(operationSchema, context, response) {\n return super.deserializeResponse(operationSchema, context, response);\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorIdentifier = loadRestXmlErrorCode(response, dataObject) ?? \"Unknown\";\n const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata);\n const ns = schema.NormalizedSchema.of(errorSchema);\n const message = dataObject.Error?.message ?? dataObject.Error?.Message ?? dataObject.message ?? dataObject.Message ?? \"Unknown\";\n const ErrorCtor = schema.TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;\n const exception = new ErrorCtor(message);\n await this.deserializeHttpMessage(errorSchema, context, response, dataObject);\n const output = {};\n for (const [name, member] of ns.structIterator()) {\n const target = member.getMergedTraits().xmlName ?? name;\n const value = dataObject.Error?.[target] ?? dataObject[target];\n output[name] = this.codec.createDeserializer().readSchema(member, value);\n }\n throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {\n $fault: ns.getMergedTraits().error,\n message,\n }, output), dataObject);\n }\n getDefaultContentType() {\n return \"application/xml\";\n }\n hasUnstructuredPayloadBinding(ns) {\n for (const [, member] of ns.structIterator()) {\n if (member.getMergedTraits().httpPayload) {\n return !(member.isStructSchema() || member.isMapSchema() || member.isListSchema());\n }\n }\n return false;\n }\n}\n\nexports.AWSSDKSigV4Signer = AWSSDKSigV4Signer;\nexports.AwsEc2QueryProtocol = AwsEc2QueryProtocol;\nexports.AwsJson1_0Protocol = AwsJson1_0Protocol;\nexports.AwsJson1_1Protocol = AwsJson1_1Protocol;\nexports.AwsJsonRpcProtocol = AwsJsonRpcProtocol;\nexports.AwsQueryProtocol = AwsQueryProtocol;\nexports.AwsRestJsonProtocol = AwsRestJsonProtocol;\nexports.AwsRestXmlProtocol = AwsRestXmlProtocol;\nexports.AwsSdkSigV4ASigner = AwsSdkSigV4ASigner;\nexports.AwsSdkSigV4Signer = AwsSdkSigV4Signer;\nexports.AwsSmithyRpcV2CborProtocol = AwsSmithyRpcV2CborProtocol;\nexports.JsonCodec = JsonCodec;\nexports.JsonShapeDeserializer = JsonShapeDeserializer;\nexports.JsonShapeSerializer = JsonShapeSerializer;\nexports.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS = NODE_AUTH_SCHEME_PREFERENCE_OPTIONS;\nexports.NODE_SIGV4A_CONFIG_OPTIONS = NODE_SIGV4A_CONFIG_OPTIONS;\nexports.XmlCodec = XmlCodec;\nexports.XmlShapeDeserializer = XmlShapeDeserializer;\nexports.XmlShapeSerializer = XmlShapeSerializer;\nexports._toBool = _toBool;\nexports._toNum = _toNum;\nexports._toStr = _toStr;\nexports.awsExpectUnion = awsExpectUnion;\nexports.emitWarningIfUnsupportedVersion = emitWarningIfUnsupportedVersion;\nexports.getBearerTokenEnvKey = getBearerTokenEnvKey;\nexports.loadRestJsonErrorCode = loadRestJsonErrorCode;\nexports.loadRestXmlErrorCode = loadRestXmlErrorCode;\nexports.parseJsonBody = parseJsonBody;\nexports.parseJsonErrorBody = parseJsonErrorBody;\nexports.parseXmlBody = parseXmlBody;\nexports.parseXmlErrorBody = parseXmlErrorBody;\nexports.resolveAWSSDKSigV4Config = resolveAWSSDKSigV4Config;\nexports.resolveAwsSdkSigV4AConfig = resolveAwsSdkSigV4AConfig;\nexports.resolveAwsSdkSigV4Config = resolveAwsSdkSigV4Config;\nexports.setCredentialFeature = setCredentialFeature;\nexports.setFeature = setFeature;\nexports.setTokenFeature = setTokenFeature;\nexports.state = state;\nexports.validateSigningProperties = validateSigningProperties;\n","'use strict';\n\nconst state = {\n warningEmitted: false,\n};\nconst emitWarningIfUnsupportedVersion = (version) => {\n if (version && !state.warningEmitted && parseInt(version.substring(1, version.indexOf(\".\"))) < 20) {\n state.warningEmitted = true;\n process.emitWarning(`NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will\nno longer support Node.js ${version} in January 2026.\n\nTo continue receiving updates to AWS services, bug fixes, and security\nupdates please upgrade to a supported Node.js LTS version.\n\nMore information can be found at: https://a.co/c895JFp`);\n }\n};\n\nfunction setCredentialFeature(credentials, feature, value) {\n if (!credentials.$source) {\n credentials.$source = {};\n }\n credentials.$source[feature] = value;\n return credentials;\n}\n\nfunction setFeature(context, feature, value) {\n if (!context.__aws_sdk_context) {\n context.__aws_sdk_context = {\n features: {},\n };\n }\n else if (!context.__aws_sdk_context.features) {\n context.__aws_sdk_context.features = {};\n }\n context.__aws_sdk_context.features[feature] = value;\n}\n\nfunction setTokenFeature(token, feature, value) {\n if (!token.$source) {\n token.$source = {};\n }\n token.$source[feature] = value;\n return token;\n}\n\nexports.emitWarningIfUnsupportedVersion = emitWarningIfUnsupportedVersion;\nexports.setCredentialFeature = setCredentialFeature;\nexports.setFeature = setFeature;\nexports.setTokenFeature = setTokenFeature;\nexports.state = state;\n","'use strict';\n\nvar cbor = require('@smithy/core/cbor');\nvar schema = require('@smithy/core/schema');\nvar smithyClient = require('@smithy/smithy-client');\nvar protocols = require('@smithy/core/protocols');\nvar serde = require('@smithy/core/serde');\nvar utilBase64 = require('@smithy/util-base64');\nvar utilUtf8 = require('@smithy/util-utf8');\nvar xmlBuilder = require('@aws-sdk/xml-builder');\n\nclass ProtocolLib {\n queryCompat;\n constructor(queryCompat = false) {\n this.queryCompat = queryCompat;\n }\n resolveRestContentType(defaultContentType, inputSchema) {\n const members = inputSchema.getMemberSchemas();\n const httpPayloadMember = Object.values(members).find((m) => {\n return !!m.getMergedTraits().httpPayload;\n });\n if (httpPayloadMember) {\n const mediaType = httpPayloadMember.getMergedTraits().mediaType;\n if (mediaType) {\n return mediaType;\n }\n else if (httpPayloadMember.isStringSchema()) {\n return \"text/plain\";\n }\n else if (httpPayloadMember.isBlobSchema()) {\n return \"application/octet-stream\";\n }\n else {\n return defaultContentType;\n }\n }\n else if (!inputSchema.isUnitSchema()) {\n const hasBody = Object.values(members).find((m) => {\n const { httpQuery, httpQueryParams, httpHeader, httpLabel, httpPrefixHeaders } = m.getMergedTraits();\n const noPrefixHeaders = httpPrefixHeaders === void 0;\n return !httpQuery && !httpQueryParams && !httpHeader && !httpLabel && noPrefixHeaders;\n });\n if (hasBody) {\n return defaultContentType;\n }\n }\n }\n async getErrorSchemaOrThrowBaseException(errorIdentifier, defaultNamespace, response, dataObject, metadata, getErrorSchema) {\n let namespace = defaultNamespace;\n let errorName = errorIdentifier;\n if (errorIdentifier.includes(\"#\")) {\n [namespace, errorName] = errorIdentifier.split(\"#\");\n }\n const errorMetadata = {\n $metadata: metadata,\n $fault: response.statusCode < 500 ? \"client\" : \"server\",\n };\n const registry = schema.TypeRegistry.for(namespace);\n try {\n const errorSchema = getErrorSchema?.(registry, errorName) ?? registry.getSchema(errorIdentifier);\n return { errorSchema, errorMetadata };\n }\n catch (e) {\n dataObject.message = dataObject.message ?? dataObject.Message ?? \"UnknownError\";\n const synthetic = schema.TypeRegistry.for(\"smithy.ts.sdk.synthetic.\" + namespace);\n const baseExceptionSchema = synthetic.getBaseException();\n if (baseExceptionSchema) {\n const ErrorCtor = synthetic.getErrorCtor(baseExceptionSchema) ?? Error;\n throw this.decorateServiceException(Object.assign(new ErrorCtor({ name: errorName }), errorMetadata), dataObject);\n }\n throw this.decorateServiceException(Object.assign(new Error(errorName), errorMetadata), dataObject);\n }\n }\n decorateServiceException(exception, additions = {}) {\n if (this.queryCompat) {\n const msg = exception.Message ?? additions.Message;\n const error = smithyClient.decorateServiceException(exception, additions);\n if (msg) {\n error.message = msg;\n }\n error.Error = {\n ...error.Error,\n Type: error.Error.Type,\n Code: error.Error.Code,\n Message: error.Error.message ?? error.Error.Message ?? msg,\n };\n const reqId = error.$metadata.requestId;\n if (reqId) {\n error.RequestId = reqId;\n }\n return error;\n }\n return smithyClient.decorateServiceException(exception, additions);\n }\n setQueryCompatError(output, response) {\n const queryErrorHeader = response.headers?.[\"x-amzn-query-error\"];\n if (output !== undefined && queryErrorHeader != null) {\n const [Code, Type] = queryErrorHeader.split(\";\");\n const entries = Object.entries(output);\n const Error = {\n Code,\n Type,\n };\n Object.assign(output, Error);\n for (const [k, v] of entries) {\n Error[k === \"message\" ? \"Message\" : k] = v;\n }\n delete Error.__type;\n output.Error = Error;\n }\n }\n queryCompatOutput(queryCompatErrorData, errorData) {\n if (queryCompatErrorData.Error) {\n errorData.Error = queryCompatErrorData.Error;\n }\n if (queryCompatErrorData.Type) {\n errorData.Type = queryCompatErrorData.Type;\n }\n if (queryCompatErrorData.Code) {\n errorData.Code = queryCompatErrorData.Code;\n }\n }\n findQueryCompatibleError(registry, errorName) {\n try {\n return registry.getSchema(errorName);\n }\n catch (e) {\n return registry.find((schema$1) => schema.NormalizedSchema.of(schema$1).getMergedTraits().awsQueryError?.[0] === errorName);\n }\n }\n}\n\nclass AwsSmithyRpcV2CborProtocol extends cbor.SmithyRpcV2CborProtocol {\n awsQueryCompatible;\n mixin;\n constructor({ defaultNamespace, awsQueryCompatible, }) {\n super({ defaultNamespace });\n this.awsQueryCompatible = !!awsQueryCompatible;\n this.mixin = new ProtocolLib(this.awsQueryCompatible);\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n if (this.awsQueryCompatible) {\n request.headers[\"x-amzn-query-mode\"] = \"true\";\n }\n return request;\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n if (this.awsQueryCompatible) {\n this.mixin.setQueryCompatError(dataObject, response);\n }\n const errorName = (() => {\n const compatHeader = response.headers[\"x-amzn-query-error\"];\n if (compatHeader && this.awsQueryCompatible) {\n return compatHeader.split(\";\")[0];\n }\n return cbor.loadSmithyRpcV2CborErrorCode(response, dataObject) ?? \"Unknown\";\n })();\n const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorName, this.options.defaultNamespace, response, dataObject, metadata, this.awsQueryCompatible ? this.mixin.findQueryCompatibleError : undefined);\n const ns = schema.NormalizedSchema.of(errorSchema);\n const message = dataObject.message ?? dataObject.Message ?? \"Unknown\";\n const ErrorCtor = schema.TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;\n const exception = new ErrorCtor(message);\n const output = {};\n for (const [name, member] of ns.structIterator()) {\n if (dataObject[name] != null) {\n output[name] = this.deserializer.readValue(member, dataObject[name]);\n }\n }\n if (this.awsQueryCompatible) {\n this.mixin.queryCompatOutput(dataObject, output);\n }\n throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {\n $fault: ns.getMergedTraits().error,\n message,\n }, output), dataObject);\n }\n}\n\nconst _toStr = (val) => {\n if (val == null) {\n return val;\n }\n if (typeof val === \"number\" || typeof val === \"bigint\") {\n const warning = new Error(`Received number ${val} where a string was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n return String(val);\n }\n if (typeof val === \"boolean\") {\n const warning = new Error(`Received boolean ${val} where a string was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n return String(val);\n }\n return val;\n};\nconst _toBool = (val) => {\n if (val == null) {\n return val;\n }\n if (typeof val === \"string\") {\n const lowercase = val.toLowerCase();\n if (val !== \"\" && lowercase !== \"false\" && lowercase !== \"true\") {\n const warning = new Error(`Received string \"${val}\" where a boolean was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n }\n return val !== \"\" && lowercase !== \"false\";\n }\n return val;\n};\nconst _toNum = (val) => {\n if (val == null) {\n return val;\n }\n if (typeof val === \"string\") {\n const num = Number(val);\n if (num.toString() !== val) {\n const warning = new Error(`Received string \"${val}\" where a number was expected.`);\n warning.name = \"Warning\";\n console.warn(warning);\n return val;\n }\n return num;\n }\n return val;\n};\n\nclass SerdeContextConfig {\n serdeContext;\n setSerdeContext(serdeContext) {\n this.serdeContext = serdeContext;\n }\n}\n\nclass UnionSerde {\n from;\n to;\n keys;\n constructor(from, to) {\n this.from = from;\n this.to = to;\n this.keys = new Set(Object.keys(this.from).filter((k) => k !== \"__type\"));\n }\n mark(key) {\n this.keys.delete(key);\n }\n hasUnknown() {\n return this.keys.size === 1 && Object.keys(this.to).length === 0;\n }\n writeUnknown() {\n if (this.hasUnknown()) {\n const k = this.keys.values().next().value;\n const v = this.from[k];\n this.to.$unknown = [k, v];\n }\n }\n}\n\nfunction jsonReviver(key, value, context) {\n if (context?.source) {\n const numericString = context.source;\n if (typeof value === \"number\") {\n if (value > Number.MAX_SAFE_INTEGER || value < Number.MIN_SAFE_INTEGER || numericString !== String(value)) {\n const isFractional = numericString.includes(\".\");\n if (isFractional) {\n return new serde.NumericValue(numericString, \"bigDecimal\");\n }\n else {\n return BigInt(numericString);\n }\n }\n }\n }\n return value;\n}\n\nconst collectBodyString = (streamBody, context) => smithyClient.collectBody(streamBody, context).then((body) => (context?.utf8Encoder ?? utilUtf8.toUtf8)(body));\n\nconst parseJsonBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {\n if (encoded.length) {\n try {\n return JSON.parse(encoded);\n }\n catch (e) {\n if (e?.name === \"SyntaxError\") {\n Object.defineProperty(e, \"$responseBodyText\", {\n value: encoded,\n });\n }\n throw e;\n }\n }\n return {};\n});\nconst parseJsonErrorBody = async (errorBody, context) => {\n const value = await parseJsonBody(errorBody, context);\n value.message = value.message ?? value.Message;\n return value;\n};\nconst loadRestJsonErrorCode = (output, data) => {\n const findKey = (object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase());\n const sanitizeErrorCode = (rawValue) => {\n let cleanValue = rawValue;\n if (typeof cleanValue === \"number\") {\n cleanValue = cleanValue.toString();\n }\n if (cleanValue.indexOf(\",\") >= 0) {\n cleanValue = cleanValue.split(\",\")[0];\n }\n if (cleanValue.indexOf(\":\") >= 0) {\n cleanValue = cleanValue.split(\":\")[0];\n }\n if (cleanValue.indexOf(\"#\") >= 0) {\n cleanValue = cleanValue.split(\"#\")[1];\n }\n return cleanValue;\n };\n const headerKey = findKey(output.headers, \"x-amzn-errortype\");\n if (headerKey !== undefined) {\n return sanitizeErrorCode(output.headers[headerKey]);\n }\n if (data && typeof data === \"object\") {\n const codeKey = findKey(data, \"code\");\n if (codeKey && data[codeKey] !== undefined) {\n return sanitizeErrorCode(data[codeKey]);\n }\n if (data[\"__type\"] !== undefined) {\n return sanitizeErrorCode(data[\"__type\"]);\n }\n }\n};\n\nclass JsonShapeDeserializer extends SerdeContextConfig {\n settings;\n constructor(settings) {\n super();\n this.settings = settings;\n }\n async read(schema, data) {\n return this._read(schema, typeof data === \"string\" ? JSON.parse(data, jsonReviver) : await parseJsonBody(data, this.serdeContext));\n }\n readObject(schema, data) {\n return this._read(schema, data);\n }\n _read(schema$1, value) {\n const isObject = value !== null && typeof value === \"object\";\n const ns = schema.NormalizedSchema.of(schema$1);\n if (isObject) {\n if (ns.isStructSchema()) {\n const record = value;\n const union = ns.isUnionSchema();\n const out = {};\n let nameMap = void 0;\n const { jsonName } = this.settings;\n if (jsonName) {\n nameMap = {};\n }\n let unionSerde;\n if (union) {\n unionSerde = new UnionSerde(record, out);\n }\n for (const [memberName, memberSchema] of ns.structIterator()) {\n let fromKey = memberName;\n if (jsonName) {\n fromKey = memberSchema.getMergedTraits().jsonName ?? fromKey;\n nameMap[fromKey] = memberName;\n }\n if (union) {\n unionSerde.mark(fromKey);\n }\n if (record[fromKey] != null) {\n out[memberName] = this._read(memberSchema, record[fromKey]);\n }\n }\n if (union) {\n unionSerde.writeUnknown();\n }\n else if (typeof record.__type === \"string\") {\n for (const [k, v] of Object.entries(record)) {\n const t = jsonName ? nameMap[k] ?? k : k;\n if (!(t in out)) {\n out[t] = v;\n }\n }\n }\n return out;\n }\n if (Array.isArray(value) && ns.isListSchema()) {\n const listMember = ns.getValueSchema();\n const out = [];\n const sparse = !!ns.getMergedTraits().sparse;\n for (const item of value) {\n if (sparse || item != null) {\n out.push(this._read(listMember, item));\n }\n }\n return out;\n }\n if (ns.isMapSchema()) {\n const mapMember = ns.getValueSchema();\n const out = {};\n const sparse = !!ns.getMergedTraits().sparse;\n for (const [_k, _v] of Object.entries(value)) {\n if (sparse || _v != null) {\n out[_k] = this._read(mapMember, _v);\n }\n }\n return out;\n }\n }\n if (ns.isBlobSchema() && typeof value === \"string\") {\n return utilBase64.fromBase64(value);\n }\n const mediaType = ns.getMergedTraits().mediaType;\n if (ns.isStringSchema() && typeof value === \"string\" && mediaType) {\n const isJson = mediaType === \"application/json\" || mediaType.endsWith(\"+json\");\n if (isJson) {\n return serde.LazyJsonString.from(value);\n }\n return value;\n }\n if (ns.isTimestampSchema() && value != null) {\n const format = protocols.determineTimestampFormat(ns, this.settings);\n switch (format) {\n case 5:\n return serde.parseRfc3339DateTimeWithOffset(value);\n case 6:\n return serde.parseRfc7231DateTime(value);\n case 7:\n return serde.parseEpochTimestamp(value);\n default:\n console.warn(\"Missing timestamp format, parsing value with Date constructor:\", value);\n return new Date(value);\n }\n }\n if (ns.isBigIntegerSchema() && (typeof value === \"number\" || typeof value === \"string\")) {\n return BigInt(value);\n }\n if (ns.isBigDecimalSchema() && value != undefined) {\n if (value instanceof serde.NumericValue) {\n return value;\n }\n const untyped = value;\n if (untyped.type === \"bigDecimal\" && \"string\" in untyped) {\n return new serde.NumericValue(untyped.string, untyped.type);\n }\n return new serde.NumericValue(String(value), \"bigDecimal\");\n }\n if (ns.isNumericSchema() && typeof value === \"string\") {\n switch (value) {\n case \"Infinity\":\n return Infinity;\n case \"-Infinity\":\n return -Infinity;\n case \"NaN\":\n return NaN;\n }\n return value;\n }\n if (ns.isDocumentSchema()) {\n if (isObject) {\n const out = Array.isArray(value) ? [] : {};\n for (const [k, v] of Object.entries(value)) {\n if (v instanceof serde.NumericValue) {\n out[k] = v;\n }\n else {\n out[k] = this._read(ns, v);\n }\n }\n return out;\n }\n else {\n return structuredClone(value);\n }\n }\n return value;\n }\n}\n\nconst NUMERIC_CONTROL_CHAR = String.fromCharCode(925);\nclass JsonReplacer {\n values = new Map();\n counter = 0;\n stage = 0;\n createReplacer() {\n if (this.stage === 1) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer already created.\");\n }\n if (this.stage === 2) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer exhausted.\");\n }\n this.stage = 1;\n return (key, value) => {\n if (value instanceof serde.NumericValue) {\n const v = `${NUMERIC_CONTROL_CHAR + \"nv\" + this.counter++}_` + value.string;\n this.values.set(`\"${v}\"`, value.string);\n return v;\n }\n if (typeof value === \"bigint\") {\n const s = value.toString();\n const v = `${NUMERIC_CONTROL_CHAR + \"b\" + this.counter++}_` + s;\n this.values.set(`\"${v}\"`, s);\n return v;\n }\n return value;\n };\n }\n replaceInJson(json) {\n if (this.stage === 0) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer not created yet.\");\n }\n if (this.stage === 2) {\n throw new Error(\"@aws-sdk/core/protocols - JsonReplacer exhausted.\");\n }\n this.stage = 2;\n if (this.counter === 0) {\n return json;\n }\n for (const [key, value] of this.values) {\n json = json.replace(key, value);\n }\n return json;\n }\n}\n\nclass JsonShapeSerializer extends SerdeContextConfig {\n settings;\n buffer;\n useReplacer = false;\n rootSchema;\n constructor(settings) {\n super();\n this.settings = settings;\n }\n write(schema$1, value) {\n this.rootSchema = schema.NormalizedSchema.of(schema$1);\n this.buffer = this._write(this.rootSchema, value);\n }\n writeDiscriminatedDocument(schema$1, value) {\n this.write(schema$1, value);\n if (typeof this.buffer === \"object\") {\n this.buffer.__type = schema.NormalizedSchema.of(schema$1).getName(true);\n }\n }\n flush() {\n const { rootSchema, useReplacer } = this;\n this.rootSchema = undefined;\n this.useReplacer = false;\n if (rootSchema?.isStructSchema() || rootSchema?.isDocumentSchema()) {\n if (!useReplacer) {\n return JSON.stringify(this.buffer);\n }\n const replacer = new JsonReplacer();\n return replacer.replaceInJson(JSON.stringify(this.buffer, replacer.createReplacer(), 0));\n }\n return this.buffer;\n }\n _write(schema$1, value, container) {\n const isObject = value !== null && typeof value === \"object\";\n const ns = schema.NormalizedSchema.of(schema$1);\n if (isObject) {\n if (ns.isStructSchema()) {\n const record = value;\n const out = {};\n const { jsonName } = this.settings;\n let nameMap = void 0;\n if (jsonName) {\n nameMap = {};\n }\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const serializableValue = this._write(memberSchema, record[memberName], ns);\n if (serializableValue !== undefined) {\n let targetKey = memberName;\n if (jsonName) {\n targetKey = memberSchema.getMergedTraits().jsonName ?? memberName;\n nameMap[memberName] = targetKey;\n }\n out[targetKey] = serializableValue;\n }\n }\n if (ns.isUnionSchema() && Object.keys(out).length === 0) {\n const { $unknown } = record;\n if (Array.isArray($unknown)) {\n const [k, v] = $unknown;\n out[k] = this._write(15, v);\n }\n }\n else if (typeof record.__type === \"string\") {\n for (const [k, v] of Object.entries(record)) {\n const targetKey = jsonName ? nameMap[k] ?? k : k;\n if (!(targetKey in out)) {\n out[targetKey] = this._write(15, v);\n }\n }\n }\n return out;\n }\n if (Array.isArray(value) && ns.isListSchema()) {\n const listMember = ns.getValueSchema();\n const out = [];\n const sparse = !!ns.getMergedTraits().sparse;\n for (const item of value) {\n if (sparse || item != null) {\n out.push(this._write(listMember, item));\n }\n }\n return out;\n }\n if (ns.isMapSchema()) {\n const mapMember = ns.getValueSchema();\n const out = {};\n const sparse = !!ns.getMergedTraits().sparse;\n for (const [_k, _v] of Object.entries(value)) {\n if (sparse || _v != null) {\n out[_k] = this._write(mapMember, _v);\n }\n }\n return out;\n }\n if (value instanceof Uint8Array && (ns.isBlobSchema() || ns.isDocumentSchema())) {\n if (ns === this.rootSchema) {\n return value;\n }\n return (this.serdeContext?.base64Encoder ?? utilBase64.toBase64)(value);\n }\n if (value instanceof Date && (ns.isTimestampSchema() || ns.isDocumentSchema())) {\n const format = protocols.determineTimestampFormat(ns, this.settings);\n switch (format) {\n case 5:\n return value.toISOString().replace(\".000Z\", \"Z\");\n case 6:\n return serde.dateToUtcString(value);\n case 7:\n return value.getTime() / 1000;\n default:\n console.warn(\"Missing timestamp format, using epoch seconds\", value);\n return value.getTime() / 1000;\n }\n }\n if (value instanceof serde.NumericValue) {\n this.useReplacer = true;\n }\n }\n if (value === null && container?.isStructSchema()) {\n return void 0;\n }\n if (ns.isStringSchema()) {\n if (typeof value === \"undefined\" && ns.isIdempotencyToken()) {\n return serde.generateIdempotencyToken();\n }\n const mediaType = ns.getMergedTraits().mediaType;\n if (value != null && mediaType) {\n const isJson = mediaType === \"application/json\" || mediaType.endsWith(\"+json\");\n if (isJson) {\n return serde.LazyJsonString.from(value);\n }\n }\n return value;\n }\n if (typeof value === \"number\" && ns.isNumericSchema()) {\n if (Math.abs(value) === Infinity || isNaN(value)) {\n return String(value);\n }\n return value;\n }\n if (typeof value === \"string\" && ns.isBlobSchema()) {\n if (ns === this.rootSchema) {\n return value;\n }\n return (this.serdeContext?.base64Encoder ?? utilBase64.toBase64)(value);\n }\n if (typeof value === \"bigint\") {\n this.useReplacer = true;\n }\n if (ns.isDocumentSchema()) {\n if (isObject) {\n const out = Array.isArray(value) ? [] : {};\n for (const [k, v] of Object.entries(value)) {\n if (v instanceof serde.NumericValue) {\n this.useReplacer = true;\n out[k] = v;\n }\n else {\n out[k] = this._write(ns, v);\n }\n }\n return out;\n }\n else {\n return structuredClone(value);\n }\n }\n return value;\n }\n}\n\nclass JsonCodec extends SerdeContextConfig {\n settings;\n constructor(settings) {\n super();\n this.settings = settings;\n }\n createSerializer() {\n const serializer = new JsonShapeSerializer(this.settings);\n serializer.setSerdeContext(this.serdeContext);\n return serializer;\n }\n createDeserializer() {\n const deserializer = new JsonShapeDeserializer(this.settings);\n deserializer.setSerdeContext(this.serdeContext);\n return deserializer;\n }\n}\n\nclass AwsJsonRpcProtocol extends protocols.RpcProtocol {\n serializer;\n deserializer;\n serviceTarget;\n codec;\n mixin;\n awsQueryCompatible;\n constructor({ defaultNamespace, serviceTarget, awsQueryCompatible, jsonCodec, }) {\n super({\n defaultNamespace,\n });\n this.serviceTarget = serviceTarget;\n this.codec =\n jsonCodec ??\n new JsonCodec({\n timestampFormat: {\n useTrait: true,\n default: 7,\n },\n jsonName: false,\n });\n this.serializer = this.codec.createSerializer();\n this.deserializer = this.codec.createDeserializer();\n this.awsQueryCompatible = !!awsQueryCompatible;\n this.mixin = new ProtocolLib(this.awsQueryCompatible);\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n if (!request.path.endsWith(\"/\")) {\n request.path += \"/\";\n }\n Object.assign(request.headers, {\n \"content-type\": `application/x-amz-json-${this.getJsonRpcVersion()}`,\n \"x-amz-target\": `${this.serviceTarget}.${operationSchema.name}`,\n });\n if (this.awsQueryCompatible) {\n request.headers[\"x-amzn-query-mode\"] = \"true\";\n }\n if (schema.deref(operationSchema.input) === \"unit\" || !request.body) {\n request.body = \"{}\";\n }\n return request;\n }\n getPayloadCodec() {\n return this.codec;\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n if (this.awsQueryCompatible) {\n this.mixin.setQueryCompatError(dataObject, response);\n }\n const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? \"Unknown\";\n const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata, this.awsQueryCompatible ? this.mixin.findQueryCompatibleError : undefined);\n const ns = schema.NormalizedSchema.of(errorSchema);\n const message = dataObject.message ?? dataObject.Message ?? \"Unknown\";\n const ErrorCtor = schema.TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;\n const exception = new ErrorCtor(message);\n const output = {};\n for (const [name, member] of ns.structIterator()) {\n if (dataObject[name] != null) {\n output[name] = this.codec.createDeserializer().readObject(member, dataObject[name]);\n }\n }\n if (this.awsQueryCompatible) {\n this.mixin.queryCompatOutput(dataObject, output);\n }\n throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {\n $fault: ns.getMergedTraits().error,\n message,\n }, output), dataObject);\n }\n}\n\nclass AwsJson1_0Protocol extends AwsJsonRpcProtocol {\n constructor({ defaultNamespace, serviceTarget, awsQueryCompatible, jsonCodec, }) {\n super({\n defaultNamespace,\n serviceTarget,\n awsQueryCompatible,\n jsonCodec,\n });\n }\n getShapeId() {\n return \"aws.protocols#awsJson1_0\";\n }\n getJsonRpcVersion() {\n return \"1.0\";\n }\n getDefaultContentType() {\n return \"application/x-amz-json-1.0\";\n }\n}\n\nclass AwsJson1_1Protocol extends AwsJsonRpcProtocol {\n constructor({ defaultNamespace, serviceTarget, awsQueryCompatible, jsonCodec, }) {\n super({\n defaultNamespace,\n serviceTarget,\n awsQueryCompatible,\n jsonCodec,\n });\n }\n getShapeId() {\n return \"aws.protocols#awsJson1_1\";\n }\n getJsonRpcVersion() {\n return \"1.1\";\n }\n getDefaultContentType() {\n return \"application/x-amz-json-1.1\";\n }\n}\n\nclass AwsRestJsonProtocol extends protocols.HttpBindingProtocol {\n serializer;\n deserializer;\n codec;\n mixin = new ProtocolLib();\n constructor({ defaultNamespace }) {\n super({\n defaultNamespace,\n });\n const settings = {\n timestampFormat: {\n useTrait: true,\n default: 7,\n },\n httpBindings: true,\n jsonName: true,\n };\n this.codec = new JsonCodec(settings);\n this.serializer = new protocols.HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);\n this.deserializer = new protocols.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);\n }\n getShapeId() {\n return \"aws.protocols#restJson1\";\n }\n getPayloadCodec() {\n return this.codec;\n }\n setSerdeContext(serdeContext) {\n this.codec.setSerdeContext(serdeContext);\n super.setSerdeContext(serdeContext);\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n const inputSchema = schema.NormalizedSchema.of(operationSchema.input);\n if (!request.headers[\"content-type\"]) {\n const contentType = this.mixin.resolveRestContentType(this.getDefaultContentType(), inputSchema);\n if (contentType) {\n request.headers[\"content-type\"] = contentType;\n }\n }\n if (request.body == null && request.headers[\"content-type\"] === this.getDefaultContentType()) {\n request.body = \"{}\";\n }\n return request;\n }\n async deserializeResponse(operationSchema, context, response) {\n const output = await super.deserializeResponse(operationSchema, context, response);\n const outputSchema = schema.NormalizedSchema.of(operationSchema.output);\n for (const [name, member] of outputSchema.structIterator()) {\n if (member.getMemberTraits().httpPayload && !(name in output)) {\n output[name] = null;\n }\n }\n return output;\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorIdentifier = loadRestJsonErrorCode(response, dataObject) ?? \"Unknown\";\n const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata);\n const ns = schema.NormalizedSchema.of(errorSchema);\n const message = dataObject.message ?? dataObject.Message ?? \"Unknown\";\n const ErrorCtor = schema.TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;\n const exception = new ErrorCtor(message);\n await this.deserializeHttpMessage(errorSchema, context, response, dataObject);\n const output = {};\n for (const [name, member] of ns.structIterator()) {\n const target = member.getMergedTraits().jsonName ?? name;\n output[name] = this.codec.createDeserializer().readObject(member, dataObject[target]);\n }\n throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {\n $fault: ns.getMergedTraits().error,\n message,\n }, output), dataObject);\n }\n getDefaultContentType() {\n return \"application/json\";\n }\n}\n\nconst awsExpectUnion = (value) => {\n if (value == null) {\n return undefined;\n }\n if (typeof value === \"object\" && \"__type\" in value) {\n delete value.__type;\n }\n return smithyClient.expectUnion(value);\n};\n\nclass XmlShapeDeserializer extends SerdeContextConfig {\n settings;\n stringDeserializer;\n constructor(settings) {\n super();\n this.settings = settings;\n this.stringDeserializer = new protocols.FromStringShapeDeserializer(settings);\n }\n setSerdeContext(serdeContext) {\n this.serdeContext = serdeContext;\n this.stringDeserializer.setSerdeContext(serdeContext);\n }\n read(schema$1, bytes, key) {\n const ns = schema.NormalizedSchema.of(schema$1);\n const memberSchemas = ns.getMemberSchemas();\n const isEventPayload = ns.isStructSchema() &&\n ns.isMemberSchema() &&\n !!Object.values(memberSchemas).find((memberNs) => {\n return !!memberNs.getMemberTraits().eventPayload;\n });\n if (isEventPayload) {\n const output = {};\n const memberName = Object.keys(memberSchemas)[0];\n const eventMemberSchema = memberSchemas[memberName];\n if (eventMemberSchema.isBlobSchema()) {\n output[memberName] = bytes;\n }\n else {\n output[memberName] = this.read(memberSchemas[memberName], bytes);\n }\n return output;\n }\n const xmlString = (this.serdeContext?.utf8Encoder ?? utilUtf8.toUtf8)(bytes);\n const parsedObject = this.parseXml(xmlString);\n return this.readSchema(schema$1, key ? parsedObject[key] : parsedObject);\n }\n readSchema(_schema, value) {\n const ns = schema.NormalizedSchema.of(_schema);\n if (ns.isUnitSchema()) {\n return;\n }\n const traits = ns.getMergedTraits();\n if (ns.isListSchema() && !Array.isArray(value)) {\n return this.readSchema(ns, [value]);\n }\n if (value == null) {\n return value;\n }\n if (typeof value === \"object\") {\n const sparse = !!traits.sparse;\n const flat = !!traits.xmlFlattened;\n if (ns.isListSchema()) {\n const listValue = ns.getValueSchema();\n const buffer = [];\n const sourceKey = listValue.getMergedTraits().xmlName ?? \"member\";\n const source = flat ? value : (value[0] ?? value)[sourceKey];\n const sourceArray = Array.isArray(source) ? source : [source];\n for (const v of sourceArray) {\n if (v != null || sparse) {\n buffer.push(this.readSchema(listValue, v));\n }\n }\n return buffer;\n }\n const buffer = {};\n if (ns.isMapSchema()) {\n const keyNs = ns.getKeySchema();\n const memberNs = ns.getValueSchema();\n let entries;\n if (flat) {\n entries = Array.isArray(value) ? value : [value];\n }\n else {\n entries = Array.isArray(value.entry) ? value.entry : [value.entry];\n }\n const keyProperty = keyNs.getMergedTraits().xmlName ?? \"key\";\n const valueProperty = memberNs.getMergedTraits().xmlName ?? \"value\";\n for (const entry of entries) {\n const key = entry[keyProperty];\n const value = entry[valueProperty];\n if (value != null || sparse) {\n buffer[key] = this.readSchema(memberNs, value);\n }\n }\n return buffer;\n }\n if (ns.isStructSchema()) {\n const union = ns.isUnionSchema();\n let unionSerde;\n if (union) {\n unionSerde = new UnionSerde(value, buffer);\n }\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const memberTraits = memberSchema.getMergedTraits();\n const xmlObjectKey = !memberTraits.httpPayload\n ? memberSchema.getMemberTraits().xmlName ?? memberName\n : memberTraits.xmlName ?? memberSchema.getName();\n if (union) {\n unionSerde.mark(xmlObjectKey);\n }\n if (value[xmlObjectKey] != null) {\n buffer[memberName] = this.readSchema(memberSchema, value[xmlObjectKey]);\n }\n }\n if (union) {\n unionSerde.writeUnknown();\n }\n return buffer;\n }\n if (ns.isDocumentSchema()) {\n return value;\n }\n throw new Error(`@aws-sdk/core/protocols - xml deserializer unhandled schema type for ${ns.getName(true)}`);\n }\n if (ns.isListSchema()) {\n return [];\n }\n if (ns.isMapSchema() || ns.isStructSchema()) {\n return {};\n }\n return this.stringDeserializer.read(ns, value);\n }\n parseXml(xml) {\n if (xml.length) {\n let parsedObj;\n try {\n parsedObj = xmlBuilder.parseXML(xml);\n }\n catch (e) {\n if (e && typeof e === \"object\") {\n Object.defineProperty(e, \"$responseBodyText\", {\n value: xml,\n });\n }\n throw e;\n }\n const textNodeName = \"#text\";\n const key = Object.keys(parsedObj)[0];\n const parsedObjToReturn = parsedObj[key];\n if (parsedObjToReturn[textNodeName]) {\n parsedObjToReturn[key] = parsedObjToReturn[textNodeName];\n delete parsedObjToReturn[textNodeName];\n }\n return smithyClient.getValueFromTextNode(parsedObjToReturn);\n }\n return {};\n }\n}\n\nclass QueryShapeSerializer extends SerdeContextConfig {\n settings;\n buffer;\n constructor(settings) {\n super();\n this.settings = settings;\n }\n write(schema$1, value, prefix = \"\") {\n if (this.buffer === undefined) {\n this.buffer = \"\";\n }\n const ns = schema.NormalizedSchema.of(schema$1);\n if (prefix && !prefix.endsWith(\".\")) {\n prefix += \".\";\n }\n if (ns.isBlobSchema()) {\n if (typeof value === \"string\" || value instanceof Uint8Array) {\n this.writeKey(prefix);\n this.writeValue((this.serdeContext?.base64Encoder ?? utilBase64.toBase64)(value));\n }\n }\n else if (ns.isBooleanSchema() || ns.isNumericSchema() || ns.isStringSchema()) {\n if (value != null) {\n this.writeKey(prefix);\n this.writeValue(String(value));\n }\n else if (ns.isIdempotencyToken()) {\n this.writeKey(prefix);\n this.writeValue(serde.generateIdempotencyToken());\n }\n }\n else if (ns.isBigIntegerSchema()) {\n if (value != null) {\n this.writeKey(prefix);\n this.writeValue(String(value));\n }\n }\n else if (ns.isBigDecimalSchema()) {\n if (value != null) {\n this.writeKey(prefix);\n this.writeValue(value instanceof serde.NumericValue ? value.string : String(value));\n }\n }\n else if (ns.isTimestampSchema()) {\n if (value instanceof Date) {\n this.writeKey(prefix);\n const format = protocols.determineTimestampFormat(ns, this.settings);\n switch (format) {\n case 5:\n this.writeValue(value.toISOString().replace(\".000Z\", \"Z\"));\n break;\n case 6:\n this.writeValue(smithyClient.dateToUtcString(value));\n break;\n case 7:\n this.writeValue(String(value.getTime() / 1000));\n break;\n }\n }\n }\n else if (ns.isDocumentSchema()) {\n if (Array.isArray(value)) {\n this.write(64 | 15, value, prefix);\n }\n else if (value instanceof Date) {\n this.write(4, value, prefix);\n }\n else if (value instanceof Uint8Array) {\n this.write(21, value, prefix);\n }\n else if (value && typeof value === \"object\") {\n this.write(128 | 15, value, prefix);\n }\n else {\n this.writeKey(prefix);\n this.writeValue(String(value));\n }\n }\n else if (ns.isListSchema()) {\n if (Array.isArray(value)) {\n if (value.length === 0) {\n if (this.settings.serializeEmptyLists) {\n this.writeKey(prefix);\n this.writeValue(\"\");\n }\n }\n else {\n const member = ns.getValueSchema();\n const flat = this.settings.flattenLists || ns.getMergedTraits().xmlFlattened;\n let i = 1;\n for (const item of value) {\n if (item == null) {\n continue;\n }\n const suffix = this.getKey(\"member\", member.getMergedTraits().xmlName);\n const key = flat ? `${prefix}${i}` : `${prefix}${suffix}.${i}`;\n this.write(member, item, key);\n ++i;\n }\n }\n }\n }\n else if (ns.isMapSchema()) {\n if (value && typeof value === \"object\") {\n const keySchema = ns.getKeySchema();\n const memberSchema = ns.getValueSchema();\n const flat = ns.getMergedTraits().xmlFlattened;\n let i = 1;\n for (const [k, v] of Object.entries(value)) {\n if (v == null) {\n continue;\n }\n const keySuffix = this.getKey(\"key\", keySchema.getMergedTraits().xmlName);\n const key = flat ? `${prefix}${i}.${keySuffix}` : `${prefix}entry.${i}.${keySuffix}`;\n const valueSuffix = this.getKey(\"value\", memberSchema.getMergedTraits().xmlName);\n const valueKey = flat ? `${prefix}${i}.${valueSuffix}` : `${prefix}entry.${i}.${valueSuffix}`;\n this.write(keySchema, k, key);\n this.write(memberSchema, v, valueKey);\n ++i;\n }\n }\n }\n else if (ns.isStructSchema()) {\n if (value && typeof value === \"object\") {\n let didWriteMember = false;\n for (const [memberName, member] of ns.structIterator()) {\n if (value[memberName] == null && !member.isIdempotencyToken()) {\n continue;\n }\n const suffix = this.getKey(memberName, member.getMergedTraits().xmlName);\n const key = `${prefix}${suffix}`;\n this.write(member, value[memberName], key);\n didWriteMember = true;\n }\n if (!didWriteMember && ns.isUnionSchema()) {\n const { $unknown } = value;\n if (Array.isArray($unknown)) {\n const [k, v] = $unknown;\n const key = `${prefix}${k}`;\n this.write(15, v, key);\n }\n }\n }\n }\n else if (ns.isUnitSchema()) ;\n else {\n throw new Error(`@aws-sdk/core/protocols - QuerySerializer unrecognized schema type ${ns.getName(true)}`);\n }\n }\n flush() {\n if (this.buffer === undefined) {\n throw new Error(\"@aws-sdk/core/protocols - QuerySerializer cannot flush with nothing written to buffer.\");\n }\n const str = this.buffer;\n delete this.buffer;\n return str;\n }\n getKey(memberName, xmlName) {\n const key = xmlName ?? memberName;\n if (this.settings.capitalizeKeys) {\n return key[0].toUpperCase() + key.slice(1);\n }\n return key;\n }\n writeKey(key) {\n if (key.endsWith(\".\")) {\n key = key.slice(0, key.length - 1);\n }\n this.buffer += `&${protocols.extendedEncodeURIComponent(key)}=`;\n }\n writeValue(value) {\n this.buffer += protocols.extendedEncodeURIComponent(value);\n }\n}\n\nclass AwsQueryProtocol extends protocols.RpcProtocol {\n options;\n serializer;\n deserializer;\n mixin = new ProtocolLib();\n constructor(options) {\n super({\n defaultNamespace: options.defaultNamespace,\n });\n this.options = options;\n const settings = {\n timestampFormat: {\n useTrait: true,\n default: 5,\n },\n httpBindings: false,\n xmlNamespace: options.xmlNamespace,\n serviceNamespace: options.defaultNamespace,\n serializeEmptyLists: true,\n };\n this.serializer = new QueryShapeSerializer(settings);\n this.deserializer = new XmlShapeDeserializer(settings);\n }\n getShapeId() {\n return \"aws.protocols#awsQuery\";\n }\n setSerdeContext(serdeContext) {\n this.serializer.setSerdeContext(serdeContext);\n this.deserializer.setSerdeContext(serdeContext);\n }\n getPayloadCodec() {\n throw new Error(\"AWSQuery protocol has no payload codec.\");\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n if (!request.path.endsWith(\"/\")) {\n request.path += \"/\";\n }\n Object.assign(request.headers, {\n \"content-type\": `application/x-www-form-urlencoded`,\n });\n if (schema.deref(operationSchema.input) === \"unit\" || !request.body) {\n request.body = \"\";\n }\n const action = operationSchema.name.split(\"#\")[1] ?? operationSchema.name;\n request.body = `Action=${action}&Version=${this.options.version}` + request.body;\n if (request.body.endsWith(\"&\")) {\n request.body = request.body.slice(-1);\n }\n return request;\n }\n async deserializeResponse(operationSchema, context, response) {\n const deserializer = this.deserializer;\n const ns = schema.NormalizedSchema.of(operationSchema.output);\n const dataObject = {};\n if (response.statusCode >= 300) {\n const bytes = await protocols.collectBody(response.body, context);\n if (bytes.byteLength > 0) {\n Object.assign(dataObject, await deserializer.read(15, bytes));\n }\n await this.handleError(operationSchema, context, response, dataObject, this.deserializeMetadata(response));\n }\n for (const header in response.headers) {\n const value = response.headers[header];\n delete response.headers[header];\n response.headers[header.toLowerCase()] = value;\n }\n const shortName = operationSchema.name.split(\"#\")[1] ?? operationSchema.name;\n const awsQueryResultKey = ns.isStructSchema() && this.useNestedResult() ? shortName + \"Result\" : undefined;\n const bytes = await protocols.collectBody(response.body, context);\n if (bytes.byteLength > 0) {\n Object.assign(dataObject, await deserializer.read(ns, bytes, awsQueryResultKey));\n }\n const output = {\n $metadata: this.deserializeMetadata(response),\n ...dataObject,\n };\n return output;\n }\n useNestedResult() {\n return true;\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorIdentifier = this.loadQueryErrorCode(response, dataObject) ?? \"Unknown\";\n const errorData = this.loadQueryError(dataObject);\n const message = this.loadQueryErrorMessage(dataObject);\n errorData.message = message;\n errorData.Error = {\n Type: errorData.Type,\n Code: errorData.Code,\n Message: message,\n };\n const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, errorData, metadata, this.mixin.findQueryCompatibleError);\n const ns = schema.NormalizedSchema.of(errorSchema);\n const ErrorCtor = schema.TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;\n const exception = new ErrorCtor(message);\n const output = {\n Type: errorData.Error.Type,\n Code: errorData.Error.Code,\n Error: errorData.Error,\n };\n for (const [name, member] of ns.structIterator()) {\n const target = member.getMergedTraits().xmlName ?? name;\n const value = errorData[target] ?? dataObject[target];\n output[name] = this.deserializer.readSchema(member, value);\n }\n throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {\n $fault: ns.getMergedTraits().error,\n message,\n }, output), dataObject);\n }\n loadQueryErrorCode(output, data) {\n const code = (data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error)?.Code;\n if (code !== undefined) {\n return code;\n }\n if (output.statusCode == 404) {\n return \"NotFound\";\n }\n }\n loadQueryError(data) {\n return data.Errors?.[0]?.Error ?? data.Errors?.Error ?? data.Error;\n }\n loadQueryErrorMessage(data) {\n const errorData = this.loadQueryError(data);\n return errorData?.message ?? errorData?.Message ?? data.message ?? data.Message ?? \"Unknown\";\n }\n getDefaultContentType() {\n return \"application/x-www-form-urlencoded\";\n }\n}\n\nclass AwsEc2QueryProtocol extends AwsQueryProtocol {\n options;\n constructor(options) {\n super(options);\n this.options = options;\n const ec2Settings = {\n capitalizeKeys: true,\n flattenLists: true,\n serializeEmptyLists: false,\n };\n Object.assign(this.serializer.settings, ec2Settings);\n }\n useNestedResult() {\n return false;\n }\n}\n\nconst parseXmlBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {\n if (encoded.length) {\n let parsedObj;\n try {\n parsedObj = xmlBuilder.parseXML(encoded);\n }\n catch (e) {\n if (e && typeof e === \"object\") {\n Object.defineProperty(e, \"$responseBodyText\", {\n value: encoded,\n });\n }\n throw e;\n }\n const textNodeName = \"#text\";\n const key = Object.keys(parsedObj)[0];\n const parsedObjToReturn = parsedObj[key];\n if (parsedObjToReturn[textNodeName]) {\n parsedObjToReturn[key] = parsedObjToReturn[textNodeName];\n delete parsedObjToReturn[textNodeName];\n }\n return smithyClient.getValueFromTextNode(parsedObjToReturn);\n }\n return {};\n});\nconst parseXmlErrorBody = async (errorBody, context) => {\n const value = await parseXmlBody(errorBody, context);\n if (value.Error) {\n value.Error.message = value.Error.message ?? value.Error.Message;\n }\n return value;\n};\nconst loadRestXmlErrorCode = (output, data) => {\n if (data?.Error?.Code !== undefined) {\n return data.Error.Code;\n }\n if (data?.Code !== undefined) {\n return data.Code;\n }\n if (output.statusCode == 404) {\n return \"NotFound\";\n }\n};\n\nclass XmlShapeSerializer extends SerdeContextConfig {\n settings;\n stringBuffer;\n byteBuffer;\n buffer;\n constructor(settings) {\n super();\n this.settings = settings;\n }\n write(schema$1, value) {\n const ns = schema.NormalizedSchema.of(schema$1);\n if (ns.isStringSchema() && typeof value === \"string\") {\n this.stringBuffer = value;\n }\n else if (ns.isBlobSchema()) {\n this.byteBuffer =\n \"byteLength\" in value\n ? value\n : (this.serdeContext?.base64Decoder ?? utilBase64.fromBase64)(value);\n }\n else {\n this.buffer = this.writeStruct(ns, value, undefined);\n const traits = ns.getMergedTraits();\n if (traits.httpPayload && !traits.xmlName) {\n this.buffer.withName(ns.getName());\n }\n }\n }\n flush() {\n if (this.byteBuffer !== undefined) {\n const bytes = this.byteBuffer;\n delete this.byteBuffer;\n return bytes;\n }\n if (this.stringBuffer !== undefined) {\n const str = this.stringBuffer;\n delete this.stringBuffer;\n return str;\n }\n const buffer = this.buffer;\n if (this.settings.xmlNamespace) {\n if (!buffer?.attributes?.[\"xmlns\"]) {\n buffer.addAttribute(\"xmlns\", this.settings.xmlNamespace);\n }\n }\n delete this.buffer;\n return buffer.toString();\n }\n writeStruct(ns, value, parentXmlns) {\n const traits = ns.getMergedTraits();\n const name = ns.isMemberSchema() && !traits.httpPayload\n ? ns.getMemberTraits().xmlName ?? ns.getMemberName()\n : traits.xmlName ?? ns.getName();\n if (!name || !ns.isStructSchema()) {\n throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write struct with empty name or non-struct, schema=${ns.getName(true)}.`);\n }\n const structXmlNode = xmlBuilder.XmlNode.of(name);\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns);\n for (const [memberName, memberSchema] of ns.structIterator()) {\n const val = value[memberName];\n if (val != null || memberSchema.isIdempotencyToken()) {\n if (memberSchema.getMergedTraits().xmlAttribute) {\n structXmlNode.addAttribute(memberSchema.getMergedTraits().xmlName ?? memberName, this.writeSimple(memberSchema, val));\n continue;\n }\n if (memberSchema.isListSchema()) {\n this.writeList(memberSchema, val, structXmlNode, xmlns);\n }\n else if (memberSchema.isMapSchema()) {\n this.writeMap(memberSchema, val, structXmlNode, xmlns);\n }\n else if (memberSchema.isStructSchema()) {\n structXmlNode.addChildNode(this.writeStruct(memberSchema, val, xmlns));\n }\n else {\n const memberNode = xmlBuilder.XmlNode.of(memberSchema.getMergedTraits().xmlName ?? memberSchema.getMemberName());\n this.writeSimpleInto(memberSchema, val, memberNode, xmlns);\n structXmlNode.addChildNode(memberNode);\n }\n }\n }\n const { $unknown } = value;\n if ($unknown && ns.isUnionSchema() && Array.isArray($unknown) && Object.keys(value).length === 1) {\n const [k, v] = $unknown;\n const node = xmlBuilder.XmlNode.of(k);\n if (typeof v !== \"string\") {\n if (value instanceof xmlBuilder.XmlNode || value instanceof xmlBuilder.XmlText) {\n structXmlNode.addChildNode(value);\n }\n else {\n throw new Error(`@aws-sdk - $unknown union member in XML requires ` +\n `value of type string, @aws-sdk/xml-builder::XmlNode or XmlText.`);\n }\n }\n this.writeSimpleInto(0, v, node, xmlns);\n structXmlNode.addChildNode(node);\n }\n if (xmlns) {\n structXmlNode.addAttribute(xmlnsAttr, xmlns);\n }\n return structXmlNode;\n }\n writeList(listMember, array, container, parentXmlns) {\n if (!listMember.isMemberSchema()) {\n throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member list: ${listMember.getName(true)}`);\n }\n const listTraits = listMember.getMergedTraits();\n const listValueSchema = listMember.getValueSchema();\n const listValueTraits = listValueSchema.getMergedTraits();\n const sparse = !!listValueTraits.sparse;\n const flat = !!listTraits.xmlFlattened;\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(listMember, parentXmlns);\n const writeItem = (container, value) => {\n if (listValueSchema.isListSchema()) {\n this.writeList(listValueSchema, Array.isArray(value) ? value : [value], container, xmlns);\n }\n else if (listValueSchema.isMapSchema()) {\n this.writeMap(listValueSchema, value, container, xmlns);\n }\n else if (listValueSchema.isStructSchema()) {\n const struct = this.writeStruct(listValueSchema, value, xmlns);\n container.addChildNode(struct.withName(flat ? listTraits.xmlName ?? listMember.getMemberName() : listValueTraits.xmlName ?? \"member\"));\n }\n else {\n const listItemNode = xmlBuilder.XmlNode.of(flat ? listTraits.xmlName ?? listMember.getMemberName() : listValueTraits.xmlName ?? \"member\");\n this.writeSimpleInto(listValueSchema, value, listItemNode, xmlns);\n container.addChildNode(listItemNode);\n }\n };\n if (flat) {\n for (const value of array) {\n if (sparse || value != null) {\n writeItem(container, value);\n }\n }\n }\n else {\n const listNode = xmlBuilder.XmlNode.of(listTraits.xmlName ?? listMember.getMemberName());\n if (xmlns) {\n listNode.addAttribute(xmlnsAttr, xmlns);\n }\n for (const value of array) {\n if (sparse || value != null) {\n writeItem(listNode, value);\n }\n }\n container.addChildNode(listNode);\n }\n }\n writeMap(mapMember, map, container, parentXmlns, containerIsMap = false) {\n if (!mapMember.isMemberSchema()) {\n throw new Error(`@aws-sdk/core/protocols - xml serializer, cannot write non-member map: ${mapMember.getName(true)}`);\n }\n const mapTraits = mapMember.getMergedTraits();\n const mapKeySchema = mapMember.getKeySchema();\n const mapKeyTraits = mapKeySchema.getMergedTraits();\n const keyTag = mapKeyTraits.xmlName ?? \"key\";\n const mapValueSchema = mapMember.getValueSchema();\n const mapValueTraits = mapValueSchema.getMergedTraits();\n const valueTag = mapValueTraits.xmlName ?? \"value\";\n const sparse = !!mapValueTraits.sparse;\n const flat = !!mapTraits.xmlFlattened;\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(mapMember, parentXmlns);\n const addKeyValue = (entry, key, val) => {\n const keyNode = xmlBuilder.XmlNode.of(keyTag, key);\n const [keyXmlnsAttr, keyXmlns] = this.getXmlnsAttribute(mapKeySchema, xmlns);\n if (keyXmlns) {\n keyNode.addAttribute(keyXmlnsAttr, keyXmlns);\n }\n entry.addChildNode(keyNode);\n let valueNode = xmlBuilder.XmlNode.of(valueTag);\n if (mapValueSchema.isListSchema()) {\n this.writeList(mapValueSchema, val, valueNode, xmlns);\n }\n else if (mapValueSchema.isMapSchema()) {\n this.writeMap(mapValueSchema, val, valueNode, xmlns, true);\n }\n else if (mapValueSchema.isStructSchema()) {\n valueNode = this.writeStruct(mapValueSchema, val, xmlns);\n }\n else {\n this.writeSimpleInto(mapValueSchema, val, valueNode, xmlns);\n }\n entry.addChildNode(valueNode);\n };\n if (flat) {\n for (const [key, val] of Object.entries(map)) {\n if (sparse || val != null) {\n const entry = xmlBuilder.XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName());\n addKeyValue(entry, key, val);\n container.addChildNode(entry);\n }\n }\n }\n else {\n let mapNode;\n if (!containerIsMap) {\n mapNode = xmlBuilder.XmlNode.of(mapTraits.xmlName ?? mapMember.getMemberName());\n if (xmlns) {\n mapNode.addAttribute(xmlnsAttr, xmlns);\n }\n container.addChildNode(mapNode);\n }\n for (const [key, val] of Object.entries(map)) {\n if (sparse || val != null) {\n const entry = xmlBuilder.XmlNode.of(\"entry\");\n addKeyValue(entry, key, val);\n (containerIsMap ? container : mapNode).addChildNode(entry);\n }\n }\n }\n }\n writeSimple(_schema, value) {\n if (null === value) {\n throw new Error(\"@aws-sdk/core/protocols - (XML serializer) cannot write null value.\");\n }\n const ns = schema.NormalizedSchema.of(_schema);\n let nodeContents = null;\n if (value && typeof value === \"object\") {\n if (ns.isBlobSchema()) {\n nodeContents = (this.serdeContext?.base64Encoder ?? utilBase64.toBase64)(value);\n }\n else if (ns.isTimestampSchema() && value instanceof Date) {\n const format = protocols.determineTimestampFormat(ns, this.settings);\n switch (format) {\n case 5:\n nodeContents = value.toISOString().replace(\".000Z\", \"Z\");\n break;\n case 6:\n nodeContents = smithyClient.dateToUtcString(value);\n break;\n case 7:\n nodeContents = String(value.getTime() / 1000);\n break;\n default:\n console.warn(\"Missing timestamp format, using http date\", value);\n nodeContents = smithyClient.dateToUtcString(value);\n break;\n }\n }\n else if (ns.isBigDecimalSchema() && value) {\n if (value instanceof serde.NumericValue) {\n return value.string;\n }\n return String(value);\n }\n else if (ns.isMapSchema() || ns.isListSchema()) {\n throw new Error(\"@aws-sdk/core/protocols - xml serializer, cannot call _write() on List/Map schema, call writeList or writeMap() instead.\");\n }\n else {\n throw new Error(`@aws-sdk/core/protocols - xml serializer, unhandled schema type for object value and schema: ${ns.getName(true)}`);\n }\n }\n if (ns.isBooleanSchema() || ns.isNumericSchema() || ns.isBigIntegerSchema() || ns.isBigDecimalSchema()) {\n nodeContents = String(value);\n }\n if (ns.isStringSchema()) {\n if (value === undefined && ns.isIdempotencyToken()) {\n nodeContents = serde.generateIdempotencyToken();\n }\n else {\n nodeContents = String(value);\n }\n }\n if (nodeContents === null) {\n throw new Error(`Unhandled schema-value pair ${ns.getName(true)}=${value}`);\n }\n return nodeContents;\n }\n writeSimpleInto(_schema, value, into, parentXmlns) {\n const nodeContents = this.writeSimple(_schema, value);\n const ns = schema.NormalizedSchema.of(_schema);\n const content = new xmlBuilder.XmlText(nodeContents);\n const [xmlnsAttr, xmlns] = this.getXmlnsAttribute(ns, parentXmlns);\n if (xmlns) {\n into.addAttribute(xmlnsAttr, xmlns);\n }\n into.addChildNode(content);\n }\n getXmlnsAttribute(ns, parentXmlns) {\n const traits = ns.getMergedTraits();\n const [prefix, xmlns] = traits.xmlNamespace ?? [];\n if (xmlns && xmlns !== parentXmlns) {\n return [prefix ? `xmlns:${prefix}` : \"xmlns\", xmlns];\n }\n return [void 0, void 0];\n }\n}\n\nclass XmlCodec extends SerdeContextConfig {\n settings;\n constructor(settings) {\n super();\n this.settings = settings;\n }\n createSerializer() {\n const serializer = new XmlShapeSerializer(this.settings);\n serializer.setSerdeContext(this.serdeContext);\n return serializer;\n }\n createDeserializer() {\n const deserializer = new XmlShapeDeserializer(this.settings);\n deserializer.setSerdeContext(this.serdeContext);\n return deserializer;\n }\n}\n\nclass AwsRestXmlProtocol extends protocols.HttpBindingProtocol {\n codec;\n serializer;\n deserializer;\n mixin = new ProtocolLib();\n constructor(options) {\n super(options);\n const settings = {\n timestampFormat: {\n useTrait: true,\n default: 5,\n },\n httpBindings: true,\n xmlNamespace: options.xmlNamespace,\n serviceNamespace: options.defaultNamespace,\n };\n this.codec = new XmlCodec(settings);\n this.serializer = new protocols.HttpInterceptingShapeSerializer(this.codec.createSerializer(), settings);\n this.deserializer = new protocols.HttpInterceptingShapeDeserializer(this.codec.createDeserializer(), settings);\n }\n getPayloadCodec() {\n return this.codec;\n }\n getShapeId() {\n return \"aws.protocols#restXml\";\n }\n async serializeRequest(operationSchema, input, context) {\n const request = await super.serializeRequest(operationSchema, input, context);\n const inputSchema = schema.NormalizedSchema.of(operationSchema.input);\n if (!request.headers[\"content-type\"]) {\n const contentType = this.mixin.resolveRestContentType(this.getDefaultContentType(), inputSchema);\n if (contentType) {\n request.headers[\"content-type\"] = contentType;\n }\n }\n if (typeof request.body === \"string\" &&\n request.headers[\"content-type\"] === this.getDefaultContentType() &&\n !request.body.startsWith(\"' + request.body;\n }\n return request;\n }\n async deserializeResponse(operationSchema, context, response) {\n return super.deserializeResponse(operationSchema, context, response);\n }\n async handleError(operationSchema, context, response, dataObject, metadata) {\n const errorIdentifier = loadRestXmlErrorCode(response, dataObject) ?? \"Unknown\";\n const { errorSchema, errorMetadata } = await this.mixin.getErrorSchemaOrThrowBaseException(errorIdentifier, this.options.defaultNamespace, response, dataObject, metadata);\n const ns = schema.NormalizedSchema.of(errorSchema);\n const message = dataObject.Error?.message ?? dataObject.Error?.Message ?? dataObject.message ?? dataObject.Message ?? \"Unknown\";\n const ErrorCtor = schema.TypeRegistry.for(errorSchema[1]).getErrorCtor(errorSchema) ?? Error;\n const exception = new ErrorCtor(message);\n await this.deserializeHttpMessage(errorSchema, context, response, dataObject);\n const output = {};\n for (const [name, member] of ns.structIterator()) {\n const target = member.getMergedTraits().xmlName ?? name;\n const value = dataObject.Error?.[target] ?? dataObject[target];\n output[name] = this.codec.createDeserializer().readSchema(member, value);\n }\n throw this.mixin.decorateServiceException(Object.assign(exception, errorMetadata, {\n $fault: ns.getMergedTraits().error,\n message,\n }, output), dataObject);\n }\n getDefaultContentType() {\n return \"application/xml\";\n }\n hasUnstructuredPayloadBinding(ns) {\n for (const [, member] of ns.structIterator()) {\n if (member.getMergedTraits().httpPayload) {\n return !(member.isStructSchema() || member.isMapSchema() || member.isListSchema());\n }\n }\n return false;\n }\n}\n\nexports.AwsEc2QueryProtocol = AwsEc2QueryProtocol;\nexports.AwsJson1_0Protocol = AwsJson1_0Protocol;\nexports.AwsJson1_1Protocol = AwsJson1_1Protocol;\nexports.AwsJsonRpcProtocol = AwsJsonRpcProtocol;\nexports.AwsQueryProtocol = AwsQueryProtocol;\nexports.AwsRestJsonProtocol = AwsRestJsonProtocol;\nexports.AwsRestXmlProtocol = AwsRestXmlProtocol;\nexports.AwsSmithyRpcV2CborProtocol = AwsSmithyRpcV2CborProtocol;\nexports.JsonCodec = JsonCodec;\nexports.JsonShapeDeserializer = JsonShapeDeserializer;\nexports.JsonShapeSerializer = JsonShapeSerializer;\nexports.XmlCodec = XmlCodec;\nexports.XmlShapeDeserializer = XmlShapeDeserializer;\nexports.XmlShapeSerializer = XmlShapeSerializer;\nexports._toBool = _toBool;\nexports._toNum = _toNum;\nexports._toStr = _toStr;\nexports.awsExpectUnion = awsExpectUnion;\nexports.loadRestJsonErrorCode = loadRestJsonErrorCode;\nexports.loadRestXmlErrorCode = loadRestXmlErrorCode;\nexports.parseJsonBody = parseJsonBody;\nexports.parseJsonErrorBody = parseJsonErrorBody;\nexports.parseXmlBody = parseXmlBody;\nexports.parseXmlErrorBody = parseXmlErrorBody;\n","'use strict';\n\nvar client = require('@aws-sdk/core/client');\nvar propertyProvider = require('@smithy/property-provider');\n\nconst ENV_KEY = \"AWS_ACCESS_KEY_ID\";\nconst ENV_SECRET = \"AWS_SECRET_ACCESS_KEY\";\nconst ENV_SESSION = \"AWS_SESSION_TOKEN\";\nconst ENV_EXPIRATION = \"AWS_CREDENTIAL_EXPIRATION\";\nconst ENV_CREDENTIAL_SCOPE = \"AWS_CREDENTIAL_SCOPE\";\nconst ENV_ACCOUNT_ID = \"AWS_ACCOUNT_ID\";\nconst fromEnv = (init) => async () => {\n init?.logger?.debug(\"@aws-sdk/credential-provider-env - fromEnv\");\n const accessKeyId = process.env[ENV_KEY];\n const secretAccessKey = process.env[ENV_SECRET];\n const sessionToken = process.env[ENV_SESSION];\n const expiry = process.env[ENV_EXPIRATION];\n const credentialScope = process.env[ENV_CREDENTIAL_SCOPE];\n const accountId = process.env[ENV_ACCOUNT_ID];\n if (accessKeyId && secretAccessKey) {\n const credentials = {\n accessKeyId,\n secretAccessKey,\n ...(sessionToken && { sessionToken }),\n ...(expiry && { expiration: new Date(expiry) }),\n ...(credentialScope && { credentialScope }),\n ...(accountId && { accountId }),\n };\n client.setCredentialFeature(credentials, \"CREDENTIALS_ENV_VARS\", \"g\");\n return credentials;\n }\n throw new propertyProvider.CredentialsProviderError(\"Unable to find environment variable credentials.\", { logger: init?.logger });\n};\n\nexports.ENV_ACCOUNT_ID = ENV_ACCOUNT_ID;\nexports.ENV_CREDENTIAL_SCOPE = ENV_CREDENTIAL_SCOPE;\nexports.ENV_EXPIRATION = ENV_EXPIRATION;\nexports.ENV_KEY = ENV_KEY;\nexports.ENV_SECRET = ENV_SECRET;\nexports.ENV_SESSION = ENV_SESSION;\nexports.fromEnv = fromEnv;\n","'use strict';\n\nvar credentialProviderEnv = require('@aws-sdk/credential-provider-env');\nvar propertyProvider = require('@smithy/property-provider');\nvar sharedIniFileLoader = require('@smithy/shared-ini-file-loader');\n\nconst ENV_IMDS_DISABLED = \"AWS_EC2_METADATA_DISABLED\";\nconst remoteProvider = async (init) => {\n const { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata } = await import('@smithy/credential-provider-imds');\n if (process.env[ENV_CMDS_RELATIVE_URI] || process.env[ENV_CMDS_FULL_URI]) {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata\");\n const { fromHttp } = await import('@aws-sdk/credential-provider-http');\n return propertyProvider.chain(fromHttp(init), fromContainerMetadata(init));\n }\n if (process.env[ENV_IMDS_DISABLED] && process.env[ENV_IMDS_DISABLED] !== \"false\") {\n return async () => {\n throw new propertyProvider.CredentialsProviderError(\"EC2 Instance Metadata Service access disabled\", { logger: init.logger });\n };\n }\n init.logger?.debug(\"@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata\");\n return fromInstanceMetadata(init);\n};\n\nfunction memoizeChain(providers, treatAsExpired) {\n const chain = internalCreateChain(providers);\n let activeLock;\n let passiveLock;\n let credentials;\n const provider = async (options) => {\n if (options?.forceRefresh) {\n return await chain(options);\n }\n if (credentials?.expiration) {\n if (credentials?.expiration?.getTime() < Date.now()) {\n credentials = undefined;\n }\n }\n if (activeLock) {\n await activeLock;\n }\n else if (!credentials || treatAsExpired?.(credentials)) {\n if (credentials) {\n if (!passiveLock) {\n passiveLock = chain(options)\n .then((c) => {\n credentials = c;\n })\n .finally(() => {\n passiveLock = undefined;\n });\n }\n }\n else {\n activeLock = chain(options)\n .then((c) => {\n credentials = c;\n })\n .finally(() => {\n activeLock = undefined;\n });\n return provider(options);\n }\n }\n return credentials;\n };\n return provider;\n}\nconst internalCreateChain = (providers) => async (awsIdentityProperties) => {\n let lastProviderError;\n for (const provider of providers) {\n try {\n return await provider(awsIdentityProperties);\n }\n catch (err) {\n lastProviderError = err;\n if (err?.tryNextLink) {\n continue;\n }\n throw err;\n }\n }\n throw lastProviderError;\n};\n\nlet multipleCredentialSourceWarningEmitted = false;\nconst defaultProvider = (init = {}) => memoizeChain([\n async () => {\n const profile = init.profile ?? process.env[sharedIniFileLoader.ENV_PROFILE];\n if (profile) {\n const envStaticCredentialsAreSet = process.env[credentialProviderEnv.ENV_KEY] && process.env[credentialProviderEnv.ENV_SECRET];\n if (envStaticCredentialsAreSet) {\n if (!multipleCredentialSourceWarningEmitted) {\n const warnFn = init.logger?.warn && init.logger?.constructor?.name !== \"NoOpLogger\"\n ? init.logger.warn.bind(init.logger)\n : console.warn;\n warnFn(`@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:\n Multiple credential sources detected: \n Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set.\n This SDK will proceed with the AWS_PROFILE value.\n \n However, a future version may change this behavior to prefer the ENV static credentials.\n Please ensure that your environment only sets either the AWS_PROFILE or the\n AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair.\n`);\n multipleCredentialSourceWarningEmitted = true;\n }\n }\n throw new propertyProvider.CredentialsProviderError(\"AWS_PROFILE is set, skipping fromEnv provider.\", {\n logger: init.logger,\n tryNextLink: true,\n });\n }\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromEnv\");\n return credentialProviderEnv.fromEnv(init)();\n },\n async (awsIdentityProperties) => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromSSO\");\n const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;\n if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {\n throw new propertyProvider.CredentialsProviderError(\"Skipping SSO provider in default chain (inputs do not include SSO fields).\", { logger: init.logger });\n }\n const { fromSSO } = await import('@aws-sdk/credential-provider-sso');\n return fromSSO(init)(awsIdentityProperties);\n },\n async (awsIdentityProperties) => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromIni\");\n const { fromIni } = await import('@aws-sdk/credential-provider-ini');\n return fromIni(init)(awsIdentityProperties);\n },\n async (awsIdentityProperties) => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromProcess\");\n const { fromProcess } = await import('@aws-sdk/credential-provider-process');\n return fromProcess(init)(awsIdentityProperties);\n },\n async (awsIdentityProperties) => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile\");\n const { fromTokenFile } = await import('@aws-sdk/credential-provider-web-identity');\n return fromTokenFile(init)(awsIdentityProperties);\n },\n async () => {\n init.logger?.debug(\"@aws-sdk/credential-provider-node - defaultProvider::remoteProvider\");\n return (await remoteProvider(init))();\n },\n async () => {\n throw new propertyProvider.CredentialsProviderError(\"Could not load credentials from any providers\", {\n tryNextLink: false,\n logger: init.logger,\n });\n },\n], credentialsTreatedAsExpired);\nconst credentialsWillNeedRefresh = (credentials) => credentials?.expiration !== undefined;\nconst credentialsTreatedAsExpired = (credentials) => credentials?.expiration !== undefined && credentials.expiration.getTime() - Date.now() < 300000;\n\nexports.credentialsTreatedAsExpired = credentialsTreatedAsExpired;\nexports.credentialsWillNeedRefresh = credentialsWillNeedRefresh;\nexports.defaultProvider = defaultProvider;\n","'use strict';\n\nvar protocolHttp = require('@smithy/protocol-http');\n\nfunction resolveHostHeaderConfig(input) {\n return input;\n}\nconst hostHeaderMiddleware = (options) => (next) => async (args) => {\n if (!protocolHttp.HttpRequest.isInstance(args.request))\n return next(args);\n const { request } = args;\n const { handlerProtocol = \"\" } = options.requestHandler.metadata || {};\n if (handlerProtocol.indexOf(\"h2\") >= 0 && !request.headers[\":authority\"]) {\n delete request.headers[\"host\"];\n request.headers[\":authority\"] = request.hostname + (request.port ? \":\" + request.port : \"\");\n }\n else if (!request.headers[\"host\"]) {\n let host = request.hostname;\n if (request.port != null)\n host += `:${request.port}`;\n request.headers[\"host\"] = host;\n }\n return next(args);\n};\nconst hostHeaderMiddlewareOptions = {\n name: \"hostHeaderMiddleware\",\n step: \"build\",\n priority: \"low\",\n tags: [\"HOST\"],\n override: true,\n};\nconst getHostHeaderPlugin = (options) => ({\n applyToStack: (clientStack) => {\n clientStack.add(hostHeaderMiddleware(options), hostHeaderMiddlewareOptions);\n },\n});\n\nexports.getHostHeaderPlugin = getHostHeaderPlugin;\nexports.hostHeaderMiddleware = hostHeaderMiddleware;\nexports.hostHeaderMiddlewareOptions = hostHeaderMiddlewareOptions;\nexports.resolveHostHeaderConfig = resolveHostHeaderConfig;\n","'use strict';\n\nconst loggerMiddleware = () => (next, context) => async (args) => {\n try {\n const response = await next(args);\n const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context;\n const { overrideInputFilterSensitiveLog, overrideOutputFilterSensitiveLog } = dynamoDbDocumentClientOptions;\n const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog;\n const outputFilterSensitiveLog = overrideOutputFilterSensitiveLog ?? context.outputFilterSensitiveLog;\n const { $metadata, ...outputWithoutMetadata } = response.output;\n logger?.info?.({\n clientName,\n commandName,\n input: inputFilterSensitiveLog(args.input),\n output: outputFilterSensitiveLog(outputWithoutMetadata),\n metadata: $metadata,\n });\n return response;\n }\n catch (error) {\n const { clientName, commandName, logger, dynamoDbDocumentClientOptions = {} } = context;\n const { overrideInputFilterSensitiveLog } = dynamoDbDocumentClientOptions;\n const inputFilterSensitiveLog = overrideInputFilterSensitiveLog ?? context.inputFilterSensitiveLog;\n logger?.error?.({\n clientName,\n commandName,\n input: inputFilterSensitiveLog(args.input),\n error,\n metadata: error.$metadata,\n });\n throw error;\n }\n};\nconst loggerMiddlewareOptions = {\n name: \"loggerMiddleware\",\n tags: [\"LOGGER\"],\n step: \"initialize\",\n override: true,\n};\nconst getLoggerPlugin = (options) => ({\n applyToStack: (clientStack) => {\n clientStack.add(loggerMiddleware(), loggerMiddlewareOptions);\n },\n});\n\nexports.getLoggerPlugin = getLoggerPlugin;\nexports.loggerMiddleware = loggerMiddleware;\nexports.loggerMiddlewareOptions = loggerMiddlewareOptions;\n","'use strict';\n\nvar recursionDetectionMiddleware = require('./recursionDetectionMiddleware');\n\nconst recursionDetectionMiddlewareOptions = {\n step: \"build\",\n tags: [\"RECURSION_DETECTION\"],\n name: \"recursionDetectionMiddleware\",\n override: true,\n priority: \"low\",\n};\n\nconst getRecursionDetectionPlugin = (options) => ({\n applyToStack: (clientStack) => {\n clientStack.add(recursionDetectionMiddleware.recursionDetectionMiddleware(), recursionDetectionMiddlewareOptions);\n },\n});\n\nexports.getRecursionDetectionPlugin = getRecursionDetectionPlugin;\nObject.keys(recursionDetectionMiddleware).forEach(function (k) {\n if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {\n enumerable: true,\n get: function () { return recursionDetectionMiddleware[k]; }\n });\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.recursionDetectionMiddleware = void 0;\nconst lambda_invoke_store_1 = require(\"@aws/lambda-invoke-store\");\nconst protocol_http_1 = require(\"@smithy/protocol-http\");\nconst TRACE_ID_HEADER_NAME = \"X-Amzn-Trace-Id\";\nconst ENV_LAMBDA_FUNCTION_NAME = \"AWS_LAMBDA_FUNCTION_NAME\";\nconst ENV_TRACE_ID = \"_X_AMZN_TRACE_ID\";\nconst recursionDetectionMiddleware = () => (next) => async (args) => {\n const { request } = args;\n if (!protocol_http_1.HttpRequest.isInstance(request)) {\n return next(args);\n }\n const traceIdHeader = Object.keys(request.headers ?? {}).find((h) => h.toLowerCase() === TRACE_ID_HEADER_NAME.toLowerCase()) ??\n TRACE_ID_HEADER_NAME;\n if (request.headers.hasOwnProperty(traceIdHeader)) {\n return next(args);\n }\n const functionName = process.env[ENV_LAMBDA_FUNCTION_NAME];\n const traceIdFromEnv = process.env[ENV_TRACE_ID];\n const invokeStore = await lambda_invoke_store_1.InvokeStore.getInstanceAsync();\n const traceIdFromInvokeStore = invokeStore?.getXRayTraceId();\n const traceId = traceIdFromInvokeStore ?? traceIdFromEnv;\n const nonEmptyString = (str) => typeof str === \"string\" && str.length > 0;\n if (nonEmptyString(functionName) && nonEmptyString(traceId)) {\n request.headers[TRACE_ID_HEADER_NAME] = traceId;\n }\n return next({\n ...args,\n request,\n });\n};\nexports.recursionDetectionMiddleware = recursionDetectionMiddleware;\n","'use strict';\n\nvar core = require('@smithy/core');\nvar utilEndpoints = require('@aws-sdk/util-endpoints');\nvar protocolHttp = require('@smithy/protocol-http');\nvar core$1 = require('@aws-sdk/core');\n\nconst DEFAULT_UA_APP_ID = undefined;\nfunction isValidUserAgentAppId(appId) {\n if (appId === undefined) {\n return true;\n }\n return typeof appId === \"string\" && appId.length <= 50;\n}\nfunction resolveUserAgentConfig(input) {\n const normalizedAppIdProvider = core.normalizeProvider(input.userAgentAppId ?? DEFAULT_UA_APP_ID);\n const { customUserAgent } = input;\n return Object.assign(input, {\n customUserAgent: typeof customUserAgent === \"string\" ? [[customUserAgent]] : customUserAgent,\n userAgentAppId: async () => {\n const appId = await normalizedAppIdProvider();\n if (!isValidUserAgentAppId(appId)) {\n const logger = input.logger?.constructor?.name === \"NoOpLogger\" || !input.logger ? console : input.logger;\n if (typeof appId !== \"string\") {\n logger?.warn(\"userAgentAppId must be a string or undefined.\");\n }\n else if (appId.length > 50) {\n logger?.warn(\"The provided userAgentAppId exceeds the maximum length of 50 characters.\");\n }\n }\n return appId;\n },\n });\n}\n\nconst ACCOUNT_ID_ENDPOINT_REGEX = /\\d{12}\\.ddb/;\nasync function checkFeatures(context, config, args) {\n const request = args.request;\n if (request?.headers?.[\"smithy-protocol\"] === \"rpc-v2-cbor\") {\n core$1.setFeature(context, \"PROTOCOL_RPC_V2_CBOR\", \"M\");\n }\n if (typeof config.retryStrategy === \"function\") {\n const retryStrategy = await config.retryStrategy();\n if (typeof retryStrategy.acquireInitialRetryToken === \"function\") {\n if (retryStrategy.constructor?.name?.includes(\"Adaptive\")) {\n core$1.setFeature(context, \"RETRY_MODE_ADAPTIVE\", \"F\");\n }\n else {\n core$1.setFeature(context, \"RETRY_MODE_STANDARD\", \"E\");\n }\n }\n else {\n core$1.setFeature(context, \"RETRY_MODE_LEGACY\", \"D\");\n }\n }\n if (typeof config.accountIdEndpointMode === \"function\") {\n const endpointV2 = context.endpointV2;\n if (String(endpointV2?.url?.hostname).match(ACCOUNT_ID_ENDPOINT_REGEX)) {\n core$1.setFeature(context, \"ACCOUNT_ID_ENDPOINT\", \"O\");\n }\n switch (await config.accountIdEndpointMode?.()) {\n case \"disabled\":\n core$1.setFeature(context, \"ACCOUNT_ID_MODE_DISABLED\", \"Q\");\n break;\n case \"preferred\":\n core$1.setFeature(context, \"ACCOUNT_ID_MODE_PREFERRED\", \"P\");\n break;\n case \"required\":\n core$1.setFeature(context, \"ACCOUNT_ID_MODE_REQUIRED\", \"R\");\n break;\n }\n }\n const identity = context.__smithy_context?.selectedHttpAuthScheme?.identity;\n if (identity?.$source) {\n const credentials = identity;\n if (credentials.accountId) {\n core$1.setFeature(context, \"RESOLVED_ACCOUNT_ID\", \"T\");\n }\n for (const [key, value] of Object.entries(credentials.$source ?? {})) {\n core$1.setFeature(context, key, value);\n }\n }\n}\n\nconst USER_AGENT = \"user-agent\";\nconst X_AMZ_USER_AGENT = \"x-amz-user-agent\";\nconst SPACE = \" \";\nconst UA_NAME_SEPARATOR = \"/\";\nconst UA_NAME_ESCAPE_REGEX = /[^!$%&'*+\\-.^_`|~\\w]/g;\nconst UA_VALUE_ESCAPE_REGEX = /[^!$%&'*+\\-.^_`|~\\w#]/g;\nconst UA_ESCAPE_CHAR = \"-\";\n\nconst BYTE_LIMIT = 1024;\nfunction encodeFeatures(features) {\n let buffer = \"\";\n for (const key in features) {\n const val = features[key];\n if (buffer.length + val.length + 1 <= BYTE_LIMIT) {\n if (buffer.length) {\n buffer += \",\" + val;\n }\n else {\n buffer += val;\n }\n continue;\n }\n break;\n }\n return buffer;\n}\n\nconst userAgentMiddleware = (options) => (next, context) => async (args) => {\n const { request } = args;\n if (!protocolHttp.HttpRequest.isInstance(request)) {\n return next(args);\n }\n const { headers } = request;\n const userAgent = context?.userAgent?.map(escapeUserAgent) || [];\n const defaultUserAgent = (await options.defaultUserAgentProvider()).map(escapeUserAgent);\n await checkFeatures(context, options, args);\n const awsContext = context;\n defaultUserAgent.push(`m/${encodeFeatures(Object.assign({}, context.__smithy_context?.features, awsContext.__aws_sdk_context?.features))}`);\n const customUserAgent = options?.customUserAgent?.map(escapeUserAgent) || [];\n const appId = await options.userAgentAppId();\n if (appId) {\n defaultUserAgent.push(escapeUserAgent([`app`, `${appId}`]));\n }\n const prefix = utilEndpoints.getUserAgentPrefix();\n const sdkUserAgentValue = (prefix ? [prefix] : [])\n .concat([...defaultUserAgent, ...userAgent, ...customUserAgent])\n .join(SPACE);\n const normalUAValue = [\n ...defaultUserAgent.filter((section) => section.startsWith(\"aws-sdk-\")),\n ...customUserAgent,\n ].join(SPACE);\n if (options.runtime !== \"browser\") {\n if (normalUAValue) {\n headers[X_AMZ_USER_AGENT] = headers[X_AMZ_USER_AGENT]\n ? `${headers[USER_AGENT]} ${normalUAValue}`\n : normalUAValue;\n }\n headers[USER_AGENT] = sdkUserAgentValue;\n }\n else {\n headers[X_AMZ_USER_AGENT] = sdkUserAgentValue;\n }\n return next({\n ...args,\n request,\n });\n};\nconst escapeUserAgent = (userAgentPair) => {\n const name = userAgentPair[0]\n .split(UA_NAME_SEPARATOR)\n .map((part) => part.replace(UA_NAME_ESCAPE_REGEX, UA_ESCAPE_CHAR))\n .join(UA_NAME_SEPARATOR);\n const version = userAgentPair[1]?.replace(UA_VALUE_ESCAPE_REGEX, UA_ESCAPE_CHAR);\n const prefixSeparatorIndex = name.indexOf(UA_NAME_SEPARATOR);\n const prefix = name.substring(0, prefixSeparatorIndex);\n let uaName = name.substring(prefixSeparatorIndex + 1);\n if (prefix === \"api\") {\n uaName = uaName.toLowerCase();\n }\n return [prefix, uaName, version]\n .filter((item) => item && item.length > 0)\n .reduce((acc, item, index) => {\n switch (index) {\n case 0:\n return item;\n case 1:\n return `${acc}/${item}`;\n default:\n return `${acc}#${item}`;\n }\n }, \"\");\n};\nconst getUserAgentMiddlewareOptions = {\n name: \"getUserAgentMiddleware\",\n step: \"build\",\n priority: \"low\",\n tags: [\"SET_USER_AGENT\", \"USER_AGENT\"],\n override: true,\n};\nconst getUserAgentPlugin = (config) => ({\n applyToStack: (clientStack) => {\n clientStack.add(userAgentMiddleware(config), getUserAgentMiddlewareOptions);\n },\n});\n\nexports.DEFAULT_UA_APP_ID = DEFAULT_UA_APP_ID;\nexports.getUserAgentMiddlewareOptions = getUserAgentMiddlewareOptions;\nexports.getUserAgentPlugin = getUserAgentPlugin;\nexports.resolveUserAgentConfig = resolveUserAgentConfig;\nexports.userAgentMiddleware = userAgentMiddleware;\n","'use strict';\n\nvar stsRegionDefaultResolver = require('./regionConfig/stsRegionDefaultResolver');\nvar configResolver = require('@smithy/config-resolver');\n\nconst getAwsRegionExtensionConfiguration = (runtimeConfig) => {\n return {\n setRegion(region) {\n runtimeConfig.region = region;\n },\n region() {\n return runtimeConfig.region;\n },\n };\n};\nconst resolveAwsRegionExtensionConfiguration = (awsRegionExtensionConfiguration) => {\n return {\n region: awsRegionExtensionConfiguration.region(),\n };\n};\n\nObject.defineProperty(exports, \"NODE_REGION_CONFIG_FILE_OPTIONS\", {\n enumerable: true,\n get: function () { return configResolver.NODE_REGION_CONFIG_FILE_OPTIONS; }\n});\nObject.defineProperty(exports, \"NODE_REGION_CONFIG_OPTIONS\", {\n enumerable: true,\n get: function () { return configResolver.NODE_REGION_CONFIG_OPTIONS; }\n});\nObject.defineProperty(exports, \"REGION_ENV_NAME\", {\n enumerable: true,\n get: function () { return configResolver.REGION_ENV_NAME; }\n});\nObject.defineProperty(exports, \"REGION_INI_NAME\", {\n enumerable: true,\n get: function () { return configResolver.REGION_INI_NAME; }\n});\nObject.defineProperty(exports, \"resolveRegionConfig\", {\n enumerable: true,\n get: function () { return configResolver.resolveRegionConfig; }\n});\nexports.getAwsRegionExtensionConfiguration = getAwsRegionExtensionConfiguration;\nexports.resolveAwsRegionExtensionConfiguration = resolveAwsRegionExtensionConfiguration;\nObject.keys(stsRegionDefaultResolver).forEach(function (k) {\n if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {\n enumerable: true,\n get: function () { return stsRegionDefaultResolver[k]; }\n });\n});\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.warning = void 0;\nexports.stsRegionDefaultResolver = stsRegionDefaultResolver;\nconst config_resolver_1 = require(\"@smithy/config-resolver\");\nconst node_config_provider_1 = require(\"@smithy/node-config-provider\");\nfunction stsRegionDefaultResolver(loaderConfig = {}) {\n return (0, node_config_provider_1.loadConfig)({\n ...config_resolver_1.NODE_REGION_CONFIG_OPTIONS,\n async default() {\n if (!exports.warning.silence) {\n console.warn(\"@aws-sdk - WARN - default STS region of us-east-1 used. See @aws-sdk/credential-providers README and set a region explicitly.\");\n }\n return \"us-east-1\";\n },\n }, { ...config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig });\n}\nexports.warning = {\n silence: false,\n};\n","'use strict';\n\nvar utilEndpoints = require('@smithy/util-endpoints');\nvar urlParser = require('@smithy/url-parser');\n\nconst isVirtualHostableS3Bucket = (value, allowSubDomains = false) => {\n if (allowSubDomains) {\n for (const label of value.split(\".\")) {\n if (!isVirtualHostableS3Bucket(label)) {\n return false;\n }\n }\n return true;\n }\n if (!utilEndpoints.isValidHostLabel(value)) {\n return false;\n }\n if (value.length < 3 || value.length > 63) {\n return false;\n }\n if (value !== value.toLowerCase()) {\n return false;\n }\n if (utilEndpoints.isIpAddress(value)) {\n return false;\n }\n return true;\n};\n\nconst ARN_DELIMITER = \":\";\nconst RESOURCE_DELIMITER = \"/\";\nconst parseArn = (value) => {\n const segments = value.split(ARN_DELIMITER);\n if (segments.length < 6)\n return null;\n const [arn, partition, service, region, accountId, ...resourcePath] = segments;\n if (arn !== \"arn\" || partition === \"\" || service === \"\" || resourcePath.join(ARN_DELIMITER) === \"\")\n return null;\n const resourceId = resourcePath.map((resource) => resource.split(RESOURCE_DELIMITER)).flat();\n return {\n partition,\n service,\n region,\n accountId,\n resourceId,\n };\n};\n\nvar partitions = [\n\t{\n\t\tid: \"aws\",\n\t\toutputs: {\n\t\t\tdnsSuffix: \"amazonaws.com\",\n\t\t\tdualStackDnsSuffix: \"api.aws\",\n\t\t\timplicitGlobalRegion: \"us-east-1\",\n\t\t\tname: \"aws\",\n\t\t\tsupportsDualStack: true,\n\t\t\tsupportsFIPS: true\n\t\t},\n\t\tregionRegex: \"^(us|eu|ap|sa|ca|me|af|il|mx)\\\\-\\\\w+\\\\-\\\\d+$\",\n\t\tregions: {\n\t\t\t\"af-south-1\": {\n\t\t\t\tdescription: \"Africa (Cape Town)\"\n\t\t\t},\n\t\t\t\"ap-east-1\": {\n\t\t\t\tdescription: \"Asia Pacific (Hong Kong)\"\n\t\t\t},\n\t\t\t\"ap-east-2\": {\n\t\t\t\tdescription: \"Asia Pacific (Taipei)\"\n\t\t\t},\n\t\t\t\"ap-northeast-1\": {\n\t\t\t\tdescription: \"Asia Pacific (Tokyo)\"\n\t\t\t},\n\t\t\t\"ap-northeast-2\": {\n\t\t\t\tdescription: \"Asia Pacific (Seoul)\"\n\t\t\t},\n\t\t\t\"ap-northeast-3\": {\n\t\t\t\tdescription: \"Asia Pacific (Osaka)\"\n\t\t\t},\n\t\t\t\"ap-south-1\": {\n\t\t\t\tdescription: \"Asia Pacific (Mumbai)\"\n\t\t\t},\n\t\t\t\"ap-south-2\": {\n\t\t\t\tdescription: \"Asia Pacific (Hyderabad)\"\n\t\t\t},\n\t\t\t\"ap-southeast-1\": {\n\t\t\t\tdescription: \"Asia Pacific (Singapore)\"\n\t\t\t},\n\t\t\t\"ap-southeast-2\": {\n\t\t\t\tdescription: \"Asia Pacific (Sydney)\"\n\t\t\t},\n\t\t\t\"ap-southeast-3\": {\n\t\t\t\tdescription: \"Asia Pacific (Jakarta)\"\n\t\t\t},\n\t\t\t\"ap-southeast-4\": {\n\t\t\t\tdescription: \"Asia Pacific (Melbourne)\"\n\t\t\t},\n\t\t\t\"ap-southeast-5\": {\n\t\t\t\tdescription: \"Asia Pacific (Malaysia)\"\n\t\t\t},\n\t\t\t\"ap-southeast-6\": {\n\t\t\t\tdescription: \"Asia Pacific (New Zealand)\"\n\t\t\t},\n\t\t\t\"ap-southeast-7\": {\n\t\t\t\tdescription: \"Asia Pacific (Thailand)\"\n\t\t\t},\n\t\t\t\"aws-global\": {\n\t\t\t\tdescription: \"aws global region\"\n\t\t\t},\n\t\t\t\"ca-central-1\": {\n\t\t\t\tdescription: \"Canada (Central)\"\n\t\t\t},\n\t\t\t\"ca-west-1\": {\n\t\t\t\tdescription: \"Canada West (Calgary)\"\n\t\t\t},\n\t\t\t\"eu-central-1\": {\n\t\t\t\tdescription: \"Europe (Frankfurt)\"\n\t\t\t},\n\t\t\t\"eu-central-2\": {\n\t\t\t\tdescription: \"Europe (Zurich)\"\n\t\t\t},\n\t\t\t\"eu-north-1\": {\n\t\t\t\tdescription: \"Europe (Stockholm)\"\n\t\t\t},\n\t\t\t\"eu-south-1\": {\n\t\t\t\tdescription: \"Europe (Milan)\"\n\t\t\t},\n\t\t\t\"eu-south-2\": {\n\t\t\t\tdescription: \"Europe (Spain)\"\n\t\t\t},\n\t\t\t\"eu-west-1\": {\n\t\t\t\tdescription: \"Europe (Ireland)\"\n\t\t\t},\n\t\t\t\"eu-west-2\": {\n\t\t\t\tdescription: \"Europe (London)\"\n\t\t\t},\n\t\t\t\"eu-west-3\": {\n\t\t\t\tdescription: \"Europe (Paris)\"\n\t\t\t},\n\t\t\t\"il-central-1\": {\n\t\t\t\tdescription: \"Israel (Tel Aviv)\"\n\t\t\t},\n\t\t\t\"me-central-1\": {\n\t\t\t\tdescription: \"Middle East (UAE)\"\n\t\t\t},\n\t\t\t\"me-south-1\": {\n\t\t\t\tdescription: \"Middle East (Bahrain)\"\n\t\t\t},\n\t\t\t\"mx-central-1\": {\n\t\t\t\tdescription: \"Mexico (Central)\"\n\t\t\t},\n\t\t\t\"sa-east-1\": {\n\t\t\t\tdescription: \"South America (Sao Paulo)\"\n\t\t\t},\n\t\t\t\"us-east-1\": {\n\t\t\t\tdescription: \"US East (N. Virginia)\"\n\t\t\t},\n\t\t\t\"us-east-2\": {\n\t\t\t\tdescription: \"US East (Ohio)\"\n\t\t\t},\n\t\t\t\"us-west-1\": {\n\t\t\t\tdescription: \"US West (N. California)\"\n\t\t\t},\n\t\t\t\"us-west-2\": {\n\t\t\t\tdescription: \"US West (Oregon)\"\n\t\t\t}\n\t\t}\n\t},\n\t{\n\t\tid: \"aws-cn\",\n\t\toutputs: {\n\t\t\tdnsSuffix: \"amazonaws.com.cn\",\n\t\t\tdualStackDnsSuffix: \"api.amazonwebservices.com.cn\",\n\t\t\timplicitGlobalRegion: \"cn-northwest-1\",\n\t\t\tname: \"aws-cn\",\n\t\t\tsupportsDualStack: true,\n\t\t\tsupportsFIPS: true\n\t\t},\n\t\tregionRegex: \"^cn\\\\-\\\\w+\\\\-\\\\d+$\",\n\t\tregions: {\n\t\t\t\"aws-cn-global\": {\n\t\t\t\tdescription: \"aws-cn global region\"\n\t\t\t},\n\t\t\t\"cn-north-1\": {\n\t\t\t\tdescription: \"China (Beijing)\"\n\t\t\t},\n\t\t\t\"cn-northwest-1\": {\n\t\t\t\tdescription: \"China (Ningxia)\"\n\t\t\t}\n\t\t}\n\t},\n\t{\n\t\tid: \"aws-eusc\",\n\t\toutputs: {\n\t\t\tdnsSuffix: \"amazonaws.eu\",\n\t\t\tdualStackDnsSuffix: \"api.amazonwebservices.eu\",\n\t\t\timplicitGlobalRegion: \"eusc-de-east-1\",\n\t\t\tname: \"aws-eusc\",\n\t\t\tsupportsDualStack: true,\n\t\t\tsupportsFIPS: true\n\t\t},\n\t\tregionRegex: \"^eusc\\\\-(de)\\\\-\\\\w+\\\\-\\\\d+$\",\n\t\tregions: {\n\t\t\t\"eusc-de-east-1\": {\n\t\t\t\tdescription: \"AWS European Sovereign Cloud (Germany)\"\n\t\t\t}\n\t\t}\n\t},\n\t{\n\t\tid: \"aws-iso\",\n\t\toutputs: {\n\t\t\tdnsSuffix: \"c2s.ic.gov\",\n\t\t\tdualStackDnsSuffix: \"api.aws.ic.gov\",\n\t\t\timplicitGlobalRegion: \"us-iso-east-1\",\n\t\t\tname: \"aws-iso\",\n\t\t\tsupportsDualStack: true,\n\t\t\tsupportsFIPS: true\n\t\t},\n\t\tregionRegex: \"^us\\\\-iso\\\\-\\\\w+\\\\-\\\\d+$\",\n\t\tregions: {\n\t\t\t\"aws-iso-global\": {\n\t\t\t\tdescription: \"aws-iso global region\"\n\t\t\t},\n\t\t\t\"us-iso-east-1\": {\n\t\t\t\tdescription: \"US ISO East\"\n\t\t\t},\n\t\t\t\"us-iso-west-1\": {\n\t\t\t\tdescription: \"US ISO WEST\"\n\t\t\t}\n\t\t}\n\t},\n\t{\n\t\tid: \"aws-iso-b\",\n\t\toutputs: {\n\t\t\tdnsSuffix: \"sc2s.sgov.gov\",\n\t\t\tdualStackDnsSuffix: \"api.aws.scloud\",\n\t\t\timplicitGlobalRegion: \"us-isob-east-1\",\n\t\t\tname: \"aws-iso-b\",\n\t\t\tsupportsDualStack: true,\n\t\t\tsupportsFIPS: true\n\t\t},\n\t\tregionRegex: \"^us\\\\-isob\\\\-\\\\w+\\\\-\\\\d+$\",\n\t\tregions: {\n\t\t\t\"aws-iso-b-global\": {\n\t\t\t\tdescription: \"aws-iso-b global region\"\n\t\t\t},\n\t\t\t\"us-isob-east-1\": {\n\t\t\t\tdescription: \"US ISOB East (Ohio)\"\n\t\t\t},\n\t\t\t\"us-isob-west-1\": {\n\t\t\t\tdescription: \"US ISOB West\"\n\t\t\t}\n\t\t}\n\t},\n\t{\n\t\tid: \"aws-iso-e\",\n\t\toutputs: {\n\t\t\tdnsSuffix: \"cloud.adc-e.uk\",\n\t\t\tdualStackDnsSuffix: \"api.cloud-aws.adc-e.uk\",\n\t\t\timplicitGlobalRegion: \"eu-isoe-west-1\",\n\t\t\tname: \"aws-iso-e\",\n\t\t\tsupportsDualStack: true,\n\t\t\tsupportsFIPS: true\n\t\t},\n\t\tregionRegex: \"^eu\\\\-isoe\\\\-\\\\w+\\\\-\\\\d+$\",\n\t\tregions: {\n\t\t\t\"aws-iso-e-global\": {\n\t\t\t\tdescription: \"aws-iso-e global region\"\n\t\t\t},\n\t\t\t\"eu-isoe-west-1\": {\n\t\t\t\tdescription: \"EU ISOE West\"\n\t\t\t}\n\t\t}\n\t},\n\t{\n\t\tid: \"aws-iso-f\",\n\t\toutputs: {\n\t\t\tdnsSuffix: \"csp.hci.ic.gov\",\n\t\t\tdualStackDnsSuffix: \"api.aws.hci.ic.gov\",\n\t\t\timplicitGlobalRegion: \"us-isof-south-1\",\n\t\t\tname: \"aws-iso-f\",\n\t\t\tsupportsDualStack: true,\n\t\t\tsupportsFIPS: true\n\t\t},\n\t\tregionRegex: \"^us\\\\-isof\\\\-\\\\w+\\\\-\\\\d+$\",\n\t\tregions: {\n\t\t\t\"aws-iso-f-global\": {\n\t\t\t\tdescription: \"aws-iso-f global region\"\n\t\t\t},\n\t\t\t\"us-isof-east-1\": {\n\t\t\t\tdescription: \"US ISOF EAST\"\n\t\t\t},\n\t\t\t\"us-isof-south-1\": {\n\t\t\t\tdescription: \"US ISOF SOUTH\"\n\t\t\t}\n\t\t}\n\t},\n\t{\n\t\tid: \"aws-us-gov\",\n\t\toutputs: {\n\t\t\tdnsSuffix: \"amazonaws.com\",\n\t\t\tdualStackDnsSuffix: \"api.aws\",\n\t\t\timplicitGlobalRegion: \"us-gov-west-1\",\n\t\t\tname: \"aws-us-gov\",\n\t\t\tsupportsDualStack: true,\n\t\t\tsupportsFIPS: true\n\t\t},\n\t\tregionRegex: \"^us\\\\-gov\\\\-\\\\w+\\\\-\\\\d+$\",\n\t\tregions: {\n\t\t\t\"aws-us-gov-global\": {\n\t\t\t\tdescription: \"aws-us-gov global region\"\n\t\t\t},\n\t\t\t\"us-gov-east-1\": {\n\t\t\t\tdescription: \"AWS GovCloud (US-East)\"\n\t\t\t},\n\t\t\t\"us-gov-west-1\": {\n\t\t\t\tdescription: \"AWS GovCloud (US-West)\"\n\t\t\t}\n\t\t}\n\t}\n];\nvar version = \"1.1\";\nvar partitionsInfo = {\n\tpartitions: partitions,\n\tversion: version\n};\n\nlet selectedPartitionsInfo = partitionsInfo;\nlet selectedUserAgentPrefix = \"\";\nconst partition = (value) => {\n const { partitions } = selectedPartitionsInfo;\n for (const partition of partitions) {\n const { regions, outputs } = partition;\n for (const [region, regionData] of Object.entries(regions)) {\n if (region === value) {\n return {\n ...outputs,\n ...regionData,\n };\n }\n }\n }\n for (const partition of partitions) {\n const { regionRegex, outputs } = partition;\n if (new RegExp(regionRegex).test(value)) {\n return {\n ...outputs,\n };\n }\n }\n const DEFAULT_PARTITION = partitions.find((partition) => partition.id === \"aws\");\n if (!DEFAULT_PARTITION) {\n throw new Error(\"Provided region was not found in the partition array or regex,\" +\n \" and default partition with id 'aws' doesn't exist.\");\n }\n return {\n ...DEFAULT_PARTITION.outputs,\n };\n};\nconst setPartitionInfo = (partitionsInfo, userAgentPrefix = \"\") => {\n selectedPartitionsInfo = partitionsInfo;\n selectedUserAgentPrefix = userAgentPrefix;\n};\nconst useDefaultPartitionInfo = () => {\n setPartitionInfo(partitionsInfo, \"\");\n};\nconst getUserAgentPrefix = () => selectedUserAgentPrefix;\n\nconst awsEndpointFunctions = {\n isVirtualHostableS3Bucket: isVirtualHostableS3Bucket,\n parseArn: parseArn,\n partition: partition,\n};\nutilEndpoints.customEndpointFunctions.aws = awsEndpointFunctions;\n\nconst resolveDefaultAwsRegionalEndpointsConfig = (input) => {\n if (typeof input.endpointProvider !== \"function\") {\n throw new Error(\"@aws-sdk/util-endpoint - endpointProvider and endpoint missing in config for this client.\");\n }\n const { endpoint } = input;\n if (endpoint === undefined) {\n input.endpoint = async () => {\n return toEndpointV1(input.endpointProvider({\n Region: typeof input.region === \"function\" ? await input.region() : input.region,\n UseDualStack: typeof input.useDualstackEndpoint === \"function\"\n ? await input.useDualstackEndpoint()\n : input.useDualstackEndpoint,\n UseFIPS: typeof input.useFipsEndpoint === \"function\" ? await input.useFipsEndpoint() : input.useFipsEndpoint,\n Endpoint: undefined,\n }, { logger: input.logger }));\n };\n }\n return input;\n};\nconst toEndpointV1 = (endpoint) => urlParser.parseUrl(endpoint.url);\n\nObject.defineProperty(exports, \"EndpointError\", {\n enumerable: true,\n get: function () { return utilEndpoints.EndpointError; }\n});\nObject.defineProperty(exports, \"isIpAddress\", {\n enumerable: true,\n get: function () { return utilEndpoints.isIpAddress; }\n});\nObject.defineProperty(exports, \"resolveEndpoint\", {\n enumerable: true,\n get: function () { return utilEndpoints.resolveEndpoint; }\n});\nexports.awsEndpointFunctions = awsEndpointFunctions;\nexports.getUserAgentPrefix = getUserAgentPrefix;\nexports.partition = partition;\nexports.resolveDefaultAwsRegionalEndpointsConfig = resolveDefaultAwsRegionalEndpointsConfig;\nexports.setPartitionInfo = setPartitionInfo;\nexports.toEndpointV1 = toEndpointV1;\nexports.useDefaultPartitionInfo = useDefaultPartitionInfo;\n","'use strict';\n\nvar os = require('os');\nvar process = require('process');\nvar middlewareUserAgent = require('@aws-sdk/middleware-user-agent');\n\nconst crtAvailability = {\n isCrtAvailable: false,\n};\n\nconst isCrtAvailable = () => {\n if (crtAvailability.isCrtAvailable) {\n return [\"md/crt-avail\"];\n }\n return null;\n};\n\nconst createDefaultUserAgentProvider = ({ serviceId, clientVersion }) => {\n return async (config) => {\n const sections = [\n [\"aws-sdk-js\", clientVersion],\n [\"ua\", \"2.1\"],\n [`os/${os.platform()}`, os.release()],\n [\"lang/js\"],\n [\"md/nodejs\", `${process.versions.node}`],\n ];\n const crtAvailable = isCrtAvailable();\n if (crtAvailable) {\n sections.push(crtAvailable);\n }\n if (serviceId) {\n sections.push([`api/${serviceId}`, clientVersion]);\n }\n if (process.env.AWS_EXECUTION_ENV) {\n sections.push([`exec-env/${process.env.AWS_EXECUTION_ENV}`]);\n }\n const appId = await config?.userAgentAppId?.();\n const resolvedUserAgent = appId ? [...sections, [`app/${appId}`]] : [...sections];\n return resolvedUserAgent;\n };\n};\nconst defaultUserAgent = createDefaultUserAgentProvider;\n\nconst UA_APP_ID_ENV_NAME = \"AWS_SDK_UA_APP_ID\";\nconst UA_APP_ID_INI_NAME = \"sdk_ua_app_id\";\nconst UA_APP_ID_INI_NAME_DEPRECATED = \"sdk-ua-app-id\";\nconst NODE_APP_ID_CONFIG_OPTIONS = {\n environmentVariableSelector: (env) => env[UA_APP_ID_ENV_NAME],\n configFileSelector: (profile) => profile[UA_APP_ID_INI_NAME] ?? profile[UA_APP_ID_INI_NAME_DEPRECATED],\n default: middlewareUserAgent.DEFAULT_UA_APP_ID,\n};\n\nexports.NODE_APP_ID_CONFIG_OPTIONS = NODE_APP_ID_CONFIG_OPTIONS;\nexports.UA_APP_ID_ENV_NAME = UA_APP_ID_ENV_NAME;\nexports.UA_APP_ID_INI_NAME = UA_APP_ID_INI_NAME;\nexports.createDefaultUserAgentProvider = createDefaultUserAgentProvider;\nexports.crtAvailability = crtAvailability;\nexports.defaultUserAgent = defaultUserAgent;\n","'use strict';\n\nvar xmlParser = require('./xml-parser');\n\nfunction escapeAttribute(value) {\n return value.replace(/&/g, \"&\").replace(//g, \">\").replace(/\"/g, \""\");\n}\n\nfunction escapeElement(value) {\n return value\n .replace(/&/g, \"&\")\n .replace(/\"/g, \""\")\n .replace(/'/g, \"'\")\n .replace(//g, \">\")\n .replace(/\\r/g, \" \")\n .replace(/\\n/g, \" \")\n .replace(/\\u0085/g, \"…\")\n .replace(/\\u2028/, \"
\");\n}\n\nclass XmlText {\n value;\n constructor(value) {\n this.value = value;\n }\n toString() {\n return escapeElement(\"\" + this.value);\n }\n}\n\nclass XmlNode {\n name;\n children;\n attributes = {};\n static of(name, childText, withName) {\n const node = new XmlNode(name);\n if (childText !== undefined) {\n node.addChildNode(new XmlText(childText));\n }\n if (withName !== undefined) {\n node.withName(withName);\n }\n return node;\n }\n constructor(name, children = []) {\n this.name = name;\n this.children = children;\n }\n withName(name) {\n this.name = name;\n return this;\n }\n addAttribute(name, value) {\n this.attributes[name] = value;\n return this;\n }\n addChildNode(child) {\n this.children.push(child);\n return this;\n }\n removeAttribute(name) {\n delete this.attributes[name];\n return this;\n }\n n(name) {\n this.name = name;\n return this;\n }\n c(child) {\n this.children.push(child);\n return this;\n }\n a(name, value) {\n if (value != null) {\n this.attributes[name] = value;\n }\n return this;\n }\n cc(input, field, withName = field) {\n if (input[field] != null) {\n const node = XmlNode.of(field, input[field]).withName(withName);\n this.c(node);\n }\n }\n l(input, listName, memberName, valueProvider) {\n if (input[listName] != null) {\n const nodes = valueProvider();\n nodes.map((node) => {\n node.withName(memberName);\n this.c(node);\n });\n }\n }\n lc(input, listName, memberName, valueProvider) {\n if (input[listName] != null) {\n const nodes = valueProvider();\n const containerNode = new XmlNode(memberName);\n nodes.map((node) => {\n containerNode.c(node);\n });\n this.c(containerNode);\n }\n }\n toString() {\n const hasChildren = Boolean(this.children.length);\n let xmlText = `<${this.name}`;\n const attributes = this.attributes;\n for (const attributeName of Object.keys(attributes)) {\n const attribute = attributes[attributeName];\n if (attribute != null) {\n xmlText += ` ${attributeName}=\"${escapeAttribute(\"\" + attribute)}\"`;\n }\n }\n return (xmlText += !hasChildren ? \"/>\" : `>${this.children.map((c) => c.toString()).join(\"\")}`);\n }\n}\n\nObject.defineProperty(exports, \"parseXML\", {\n enumerable: true,\n get: function () { return xmlParser.parseXML; }\n});\nexports.XmlNode = XmlNode;\nexports.XmlText = XmlText;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.parseXML = parseXML;\nconst fast_xml_parser_1 = require(\"fast-xml-parser\");\nconst parser = new fast_xml_parser_1.XMLParser({\n attributeNamePrefix: \"\",\n htmlEntities: true,\n ignoreAttributes: false,\n ignoreDeclaration: true,\n parseTagValue: false,\n trimValues: false,\n tagValueProcessor: (_, val) => (val.trim() === \"\" && val.includes(\"\\n\") ? \"\" : undefined),\n});\nparser.addEntity(\"#xD\", \"\\r\");\nparser.addEntity(\"#10\", \"\\n\");\nfunction parseXML(xmlString) {\n return parser.parse(xmlString, true);\n}\n","'use strict';\n\nconst PROTECTED_KEYS = {\n REQUEST_ID: Symbol.for(\"_AWS_LAMBDA_REQUEST_ID\"),\n X_RAY_TRACE_ID: Symbol.for(\"_AWS_LAMBDA_X_RAY_TRACE_ID\"),\n TENANT_ID: Symbol.for(\"_AWS_LAMBDA_TENANT_ID\"),\n};\nconst NO_GLOBAL_AWS_LAMBDA = [\"true\", \"1\"].includes(process.env?.AWS_LAMBDA_NODEJS_NO_GLOBAL_AWSLAMBDA ?? \"\");\nif (!NO_GLOBAL_AWS_LAMBDA) {\n globalThis.awslambda = globalThis.awslambda || {};\n}\nclass InvokeStoreBase {\n static PROTECTED_KEYS = PROTECTED_KEYS;\n isProtectedKey(key) {\n return Object.values(PROTECTED_KEYS).includes(key);\n }\n getRequestId() {\n return this.get(PROTECTED_KEYS.REQUEST_ID) ?? \"-\";\n }\n getXRayTraceId() {\n return this.get(PROTECTED_KEYS.X_RAY_TRACE_ID);\n }\n getTenantId() {\n return this.get(PROTECTED_KEYS.TENANT_ID);\n }\n}\nclass InvokeStoreSingle extends InvokeStoreBase {\n currentContext;\n getContext() {\n return this.currentContext;\n }\n hasContext() {\n return this.currentContext !== undefined;\n }\n get(key) {\n return this.currentContext?.[key];\n }\n set(key, value) {\n if (this.isProtectedKey(key)) {\n throw new Error(`Cannot modify protected Lambda context field: ${String(key)}`);\n }\n this.currentContext = this.currentContext || {};\n this.currentContext[key] = value;\n }\n run(context, fn) {\n this.currentContext = context;\n return fn();\n }\n}\nclass InvokeStoreMulti extends InvokeStoreBase {\n als;\n static async create() {\n const instance = new InvokeStoreMulti();\n const asyncHooks = await import('node:async_hooks');\n instance.als = new asyncHooks.AsyncLocalStorage();\n return instance;\n }\n getContext() {\n return this.als.getStore();\n }\n hasContext() {\n return this.als.getStore() !== undefined;\n }\n get(key) {\n return this.als.getStore()?.[key];\n }\n set(key, value) {\n if (this.isProtectedKey(key)) {\n throw new Error(`Cannot modify protected Lambda context field: ${String(key)}`);\n }\n const store = this.als.getStore();\n if (!store) {\n throw new Error(\"No context available\");\n }\n store[key] = value;\n }\n run(context, fn) {\n return this.als.run(context, fn);\n }\n}\nexports.InvokeStore = void 0;\n(function (InvokeStore) {\n let instance = null;\n async function getInstanceAsync() {\n if (!instance) {\n instance = (async () => {\n const isMulti = \"AWS_LAMBDA_MAX_CONCURRENCY\" in process.env;\n const newInstance = isMulti\n ? await InvokeStoreMulti.create()\n : new InvokeStoreSingle();\n if (!NO_GLOBAL_AWS_LAMBDA && globalThis.awslambda?.InvokeStore) {\n return globalThis.awslambda.InvokeStore;\n }\n else if (!NO_GLOBAL_AWS_LAMBDA && globalThis.awslambda) {\n globalThis.awslambda.InvokeStore = newInstance;\n return newInstance;\n }\n else {\n return newInstance;\n }\n })();\n }\n return instance;\n }\n InvokeStore.getInstanceAsync = getInstanceAsync;\n InvokeStore._testing = process.env.AWS_LAMBDA_BENCHMARK_MODE === \"1\"\n ? {\n reset: () => {\n instance = null;\n if (globalThis.awslambda?.InvokeStore) {\n delete globalThis.awslambda.InvokeStore;\n }\n globalThis.awslambda = { InvokeStore: undefined };\n },\n }\n : undefined;\n})(exports.InvokeStore || (exports.InvokeStore = {}));\n\nexports.InvokeStoreBase = InvokeStoreBase;\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar logger$1 = require('@azure/logger');\nvar abortController = require('@azure/abort-controller');\nvar coreUtil = require('@azure/core-util');\n\n// Copyright (c) Microsoft Corporation.\n/**\n * The `@azure/logger` configuration for this package.\n * @internal\n */\nconst logger = logger$1.createClientLogger(\"core-lro\");\n\n// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n/**\n * The default time interval to wait before sending the next polling request.\n */\nconst POLL_INTERVAL_IN_MS = 2000;\n/**\n * The closed set of terminal states.\n */\nconst terminalStates = [\"succeeded\", \"canceled\", \"failed\"];\n\n// Copyright (c) Microsoft Corporation.\n/**\n * Deserializes the state\n */\nfunction deserializeState(serializedState) {\n try {\n return JSON.parse(serializedState).state;\n }\n catch (e) {\n throw new Error(`Unable to deserialize input state: ${serializedState}`);\n }\n}\nfunction setStateError(inputs) {\n const { state, stateProxy, isOperationError } = inputs;\n return (error) => {\n if (isOperationError(error)) {\n stateProxy.setError(state, error);\n stateProxy.setFailed(state);\n }\n throw error;\n };\n}\nfunction appendReadableErrorMessage(currentMessage, innerMessage) {\n let message = currentMessage;\n if (message.slice(-1) !== \".\") {\n message = message + \".\";\n }\n return message + \" \" + innerMessage;\n}\nfunction simplifyError(err) {\n let message = err.message;\n let code = err.code;\n let curErr = err;\n while (curErr.innererror) {\n curErr = curErr.innererror;\n code = curErr.code;\n message = appendReadableErrorMessage(message, curErr.message);\n }\n return {\n code,\n message,\n };\n}\nfunction processOperationStatus(result) {\n const { state, stateProxy, status, isDone, processResult, getError, response, setErrorAsResult } = result;\n switch (status) {\n case \"succeeded\": {\n stateProxy.setSucceeded(state);\n break;\n }\n case \"failed\": {\n const err = getError === null || getError === void 0 ? void 0 : getError(response);\n let postfix = \"\";\n if (err) {\n const { code, message } = simplifyError(err);\n postfix = `. ${code}. ${message}`;\n }\n const errStr = `The long-running operation has failed${postfix}`;\n stateProxy.setError(state, new Error(errStr));\n stateProxy.setFailed(state);\n logger.warning(errStr);\n break;\n }\n case \"canceled\": {\n stateProxy.setCanceled(state);\n break;\n }\n }\n if ((isDone === null || isDone === void 0 ? void 0 : isDone(response, state)) ||\n (isDone === undefined &&\n [\"succeeded\", \"canceled\"].concat(setErrorAsResult ? [] : [\"failed\"]).includes(status))) {\n stateProxy.setResult(state, buildResult({\n response,\n state,\n processResult,\n }));\n }\n}\nfunction buildResult(inputs) {\n const { processResult, response, state } = inputs;\n return processResult ? processResult(response, state) : response;\n}\n/**\n * Initiates the long-running operation.\n */\nasync function initOperation(inputs) {\n const { init, stateProxy, processResult, getOperationStatus, withOperationLocation, setErrorAsResult, } = inputs;\n const { operationLocation, resourceLocation, metadata, response } = await init();\n if (operationLocation)\n withOperationLocation === null || withOperationLocation === void 0 ? void 0 : withOperationLocation(operationLocation, false);\n const config = {\n metadata,\n operationLocation,\n resourceLocation,\n };\n logger.verbose(`LRO: Operation description:`, config);\n const state = stateProxy.initState(config);\n const status = getOperationStatus({ response, state, operationLocation });\n processOperationStatus({ state, status, stateProxy, response, setErrorAsResult, processResult });\n return state;\n}\nasync function pollOperationHelper(inputs) {\n const { poll, state, stateProxy, operationLocation, getOperationStatus, getResourceLocation, isOperationError, options, } = inputs;\n const response = await poll(operationLocation, options).catch(setStateError({\n state,\n stateProxy,\n isOperationError,\n }));\n const status = getOperationStatus(response, state);\n logger.verbose(`LRO: Status:\\n\\tPolling from: ${state.config.operationLocation}\\n\\tOperation status: ${status}\\n\\tPolling status: ${terminalStates.includes(status) ? \"Stopped\" : \"Running\"}`);\n if (status === \"succeeded\") {\n const resourceLocation = getResourceLocation(response, state);\n if (resourceLocation !== undefined) {\n return {\n response: await poll(resourceLocation).catch(setStateError({ state, stateProxy, isOperationError })),\n status,\n };\n }\n }\n return { response, status };\n}\n/** Polls the long-running operation. */\nasync function pollOperation(inputs) {\n const { poll, state, stateProxy, options, getOperationStatus, getResourceLocation, getOperationLocation, isOperationError, withOperationLocation, getPollingInterval, processResult, getError, updateState, setDelay, isDone, setErrorAsResult, } = inputs;\n const { operationLocation } = state.config;\n if (operationLocation !== undefined) {\n const { response, status } = await pollOperationHelper({\n poll,\n getOperationStatus,\n state,\n stateProxy,\n operationLocation,\n getResourceLocation,\n isOperationError,\n options,\n });\n processOperationStatus({\n status,\n response,\n state,\n stateProxy,\n isDone,\n processResult,\n getError,\n setErrorAsResult,\n });\n if (!terminalStates.includes(status)) {\n const intervalInMs = getPollingInterval === null || getPollingInterval === void 0 ? void 0 : getPollingInterval(response);\n if (intervalInMs)\n setDelay(intervalInMs);\n const location = getOperationLocation === null || getOperationLocation === void 0 ? void 0 : getOperationLocation(response, state);\n if (location !== undefined) {\n const isUpdated = operationLocation !== location;\n state.config.operationLocation = location;\n withOperationLocation === null || withOperationLocation === void 0 ? void 0 : withOperationLocation(location, isUpdated);\n }\n else\n withOperationLocation === null || withOperationLocation === void 0 ? void 0 : withOperationLocation(operationLocation, false);\n }\n updateState === null || updateState === void 0 ? void 0 : updateState(state, response);\n }\n}\n\n// Copyright (c) Microsoft Corporation.\nfunction getOperationLocationPollingUrl(inputs) {\n const { azureAsyncOperation, operationLocation } = inputs;\n return operationLocation !== null && operationLocation !== void 0 ? operationLocation : azureAsyncOperation;\n}\nfunction getLocationHeader(rawResponse) {\n return rawResponse.headers[\"location\"];\n}\nfunction getOperationLocationHeader(rawResponse) {\n return rawResponse.headers[\"operation-location\"];\n}\nfunction getAzureAsyncOperationHeader(rawResponse) {\n return rawResponse.headers[\"azure-asyncoperation\"];\n}\nfunction findResourceLocation(inputs) {\n const { location, requestMethod, requestPath, resourceLocationConfig } = inputs;\n switch (requestMethod) {\n case \"PUT\": {\n return requestPath;\n }\n case \"DELETE\": {\n return undefined;\n }\n default: {\n switch (resourceLocationConfig) {\n case \"azure-async-operation\": {\n return undefined;\n }\n case \"original-uri\": {\n return requestPath;\n }\n case \"location\":\n default: {\n return location;\n }\n }\n }\n }\n}\nfunction inferLroMode(inputs) {\n const { rawResponse, requestMethod, requestPath, resourceLocationConfig } = inputs;\n const operationLocation = getOperationLocationHeader(rawResponse);\n const azureAsyncOperation = getAzureAsyncOperationHeader(rawResponse);\n const pollingUrl = getOperationLocationPollingUrl({ operationLocation, azureAsyncOperation });\n const location = getLocationHeader(rawResponse);\n const normalizedRequestMethod = requestMethod === null || requestMethod === void 0 ? void 0 : requestMethod.toLocaleUpperCase();\n if (pollingUrl !== undefined) {\n return {\n mode: \"OperationLocation\",\n operationLocation: pollingUrl,\n resourceLocation: findResourceLocation({\n requestMethod: normalizedRequestMethod,\n location,\n requestPath,\n resourceLocationConfig,\n }),\n };\n }\n else if (location !== undefined) {\n return {\n mode: \"ResourceLocation\",\n operationLocation: location,\n };\n }\n else if (normalizedRequestMethod === \"PUT\" && requestPath) {\n return {\n mode: \"Body\",\n operationLocation: requestPath,\n };\n }\n else {\n return undefined;\n }\n}\nfunction transformStatus(inputs) {\n const { status, statusCode } = inputs;\n if (typeof status !== \"string\" && status !== undefined) {\n throw new Error(`Polling was unsuccessful. Expected status to have a string value or no value but it has instead: ${status}. This doesn't necessarily indicate the operation has failed. Check your Azure subscription or resource status for more information.`);\n }\n switch (status === null || status === void 0 ? void 0 : status.toLocaleLowerCase()) {\n case undefined:\n return toOperationStatus(statusCode);\n case \"succeeded\":\n return \"succeeded\";\n case \"failed\":\n return \"failed\";\n case \"running\":\n case \"accepted\":\n case \"started\":\n case \"canceling\":\n case \"cancelling\":\n return \"running\";\n case \"canceled\":\n case \"cancelled\":\n return \"canceled\";\n default: {\n logger.verbose(`LRO: unrecognized operation status: ${status}`);\n return status;\n }\n }\n}\nfunction getStatus(rawResponse) {\n var _a;\n const { status } = (_a = rawResponse.body) !== null && _a !== void 0 ? _a : {};\n return transformStatus({ status, statusCode: rawResponse.statusCode });\n}\nfunction getProvisioningState(rawResponse) {\n var _a, _b;\n const { properties, provisioningState } = (_a = rawResponse.body) !== null && _a !== void 0 ? _a : {};\n const status = (_b = properties === null || properties === void 0 ? void 0 : properties.provisioningState) !== null && _b !== void 0 ? _b : provisioningState;\n return transformStatus({ status, statusCode: rawResponse.statusCode });\n}\nfunction toOperationStatus(statusCode) {\n if (statusCode === 202) {\n return \"running\";\n }\n else if (statusCode < 300) {\n return \"succeeded\";\n }\n else {\n return \"failed\";\n }\n}\nfunction parseRetryAfter({ rawResponse }) {\n const retryAfter = rawResponse.headers[\"retry-after\"];\n if (retryAfter !== undefined) {\n // Retry-After header value is either in HTTP date format, or in seconds\n const retryAfterInSeconds = parseInt(retryAfter);\n return isNaN(retryAfterInSeconds)\n ? calculatePollingIntervalFromDate(new Date(retryAfter))\n : retryAfterInSeconds * 1000;\n }\n return undefined;\n}\nfunction getErrorFromResponse(response) {\n const error = response.flatResponse.error;\n if (!error) {\n logger.warning(`The long-running operation failed but there is no error property in the response's body`);\n return;\n }\n if (!error.code || !error.message) {\n logger.warning(`The long-running operation failed but the error property in the response's body doesn't contain code or message`);\n return;\n }\n return error;\n}\nfunction calculatePollingIntervalFromDate(retryAfterDate) {\n const timeNow = Math.floor(new Date().getTime());\n const retryAfterTime = retryAfterDate.getTime();\n if (timeNow < retryAfterTime) {\n return retryAfterTime - timeNow;\n }\n return undefined;\n}\nfunction getStatusFromInitialResponse(inputs) {\n const { response, state, operationLocation } = inputs;\n function helper() {\n var _a;\n const mode = (_a = state.config.metadata) === null || _a === void 0 ? void 0 : _a[\"mode\"];\n switch (mode) {\n case undefined:\n return toOperationStatus(response.rawResponse.statusCode);\n case \"Body\":\n return getOperationStatus(response, state);\n default:\n return \"running\";\n }\n }\n const status = helper();\n return status === \"running\" && operationLocation === undefined ? \"succeeded\" : status;\n}\n/**\n * Initiates the long-running operation.\n */\nasync function initHttpOperation(inputs) {\n const { stateProxy, resourceLocationConfig, processResult, lro, setErrorAsResult } = inputs;\n return initOperation({\n init: async () => {\n const response = await lro.sendInitialRequest();\n const config = inferLroMode({\n rawResponse: response.rawResponse,\n requestPath: lro.requestPath,\n requestMethod: lro.requestMethod,\n resourceLocationConfig,\n });\n return Object.assign({ response, operationLocation: config === null || config === void 0 ? void 0 : config.operationLocation, resourceLocation: config === null || config === void 0 ? void 0 : config.resourceLocation }, ((config === null || config === void 0 ? void 0 : config.mode) ? { metadata: { mode: config.mode } } : {}));\n },\n stateProxy,\n processResult: processResult\n ? ({ flatResponse }, state) => processResult(flatResponse, state)\n : ({ flatResponse }) => flatResponse,\n getOperationStatus: getStatusFromInitialResponse,\n setErrorAsResult,\n });\n}\nfunction getOperationLocation({ rawResponse }, state) {\n var _a;\n const mode = (_a = state.config.metadata) === null || _a === void 0 ? void 0 : _a[\"mode\"];\n switch (mode) {\n case \"OperationLocation\": {\n return getOperationLocationPollingUrl({\n operationLocation: getOperationLocationHeader(rawResponse),\n azureAsyncOperation: getAzureAsyncOperationHeader(rawResponse),\n });\n }\n case \"ResourceLocation\": {\n return getLocationHeader(rawResponse);\n }\n case \"Body\":\n default: {\n return undefined;\n }\n }\n}\nfunction getOperationStatus({ rawResponse }, state) {\n var _a;\n const mode = (_a = state.config.metadata) === null || _a === void 0 ? void 0 : _a[\"mode\"];\n switch (mode) {\n case \"OperationLocation\": {\n return getStatus(rawResponse);\n }\n case \"ResourceLocation\": {\n return toOperationStatus(rawResponse.statusCode);\n }\n case \"Body\": {\n return getProvisioningState(rawResponse);\n }\n default:\n throw new Error(`Internal error: Unexpected operation mode: ${mode}`);\n }\n}\nfunction getResourceLocation({ flatResponse }, state) {\n if (typeof flatResponse === \"object\") {\n const resourceLocation = flatResponse.resourceLocation;\n if (resourceLocation !== undefined) {\n state.config.resourceLocation = resourceLocation;\n }\n }\n return state.config.resourceLocation;\n}\nfunction isOperationError(e) {\n return e.name === \"RestError\";\n}\n/** Polls the long-running operation. */\nasync function pollHttpOperation(inputs) {\n const { lro, stateProxy, options, processResult, updateState, setDelay, state, setErrorAsResult, } = inputs;\n return pollOperation({\n state,\n stateProxy,\n setDelay,\n processResult: processResult\n ? ({ flatResponse }, inputState) => processResult(flatResponse, inputState)\n : ({ flatResponse }) => flatResponse,\n getError: getErrorFromResponse,\n updateState,\n getPollingInterval: parseRetryAfter,\n getOperationLocation,\n getOperationStatus,\n isOperationError,\n getResourceLocation,\n options,\n /**\n * The expansion here is intentional because `lro` could be an object that\n * references an inner this, so we need to preserve a reference to it.\n */\n poll: async (location, inputOptions) => lro.sendPollRequest(location, inputOptions),\n setErrorAsResult,\n });\n}\n\n// Copyright (c) Microsoft Corporation.\nconst createStateProxy$1 = () => ({\n /**\n * The state at this point is created to be of type OperationState.\n * It will be updated later to be of type TState when the\n * customer-provided callback, `updateState`, is called during polling.\n */\n initState: (config) => ({ status: \"running\", config }),\n setCanceled: (state) => (state.status = \"canceled\"),\n setError: (state, error) => (state.error = error),\n setResult: (state, result) => (state.result = result),\n setRunning: (state) => (state.status = \"running\"),\n setSucceeded: (state) => (state.status = \"succeeded\"),\n setFailed: (state) => (state.status = \"failed\"),\n getError: (state) => state.error,\n getResult: (state) => state.result,\n isCanceled: (state) => state.status === \"canceled\",\n isFailed: (state) => state.status === \"failed\",\n isRunning: (state) => state.status === \"running\",\n isSucceeded: (state) => state.status === \"succeeded\",\n});\n/**\n * Returns a poller factory.\n */\nfunction buildCreatePoller(inputs) {\n const { getOperationLocation, getStatusFromInitialResponse, getStatusFromPollResponse, isOperationError, getResourceLocation, getPollingInterval, getError, resolveOnUnsuccessful, } = inputs;\n return async ({ init, poll }, options) => {\n const { processResult, updateState, withOperationLocation: withOperationLocationCallback, intervalInMs = POLL_INTERVAL_IN_MS, restoreFrom, } = options || {};\n const stateProxy = createStateProxy$1();\n const withOperationLocation = withOperationLocationCallback\n ? (() => {\n let called = false;\n return (operationLocation, isUpdated) => {\n if (isUpdated)\n withOperationLocationCallback(operationLocation);\n else if (!called)\n withOperationLocationCallback(operationLocation);\n called = true;\n };\n })()\n : undefined;\n const state = restoreFrom\n ? deserializeState(restoreFrom)\n : await initOperation({\n init,\n stateProxy,\n processResult,\n getOperationStatus: getStatusFromInitialResponse,\n withOperationLocation,\n setErrorAsResult: !resolveOnUnsuccessful,\n });\n let resultPromise;\n const abortController$1 = new abortController.AbortController();\n const handlers = new Map();\n const handleProgressEvents = async () => handlers.forEach((h) => h(state));\n const cancelErrMsg = \"Operation was canceled\";\n let currentPollIntervalInMs = intervalInMs;\n const poller = {\n getOperationState: () => state,\n getResult: () => state.result,\n isDone: () => [\"succeeded\", \"failed\", \"canceled\"].includes(state.status),\n isStopped: () => resultPromise === undefined,\n stopPolling: () => {\n abortController$1.abort();\n },\n toString: () => JSON.stringify({\n state,\n }),\n onProgress: (callback) => {\n const s = Symbol();\n handlers.set(s, callback);\n return () => handlers.delete(s);\n },\n pollUntilDone: (pollOptions) => (resultPromise !== null && resultPromise !== void 0 ? resultPromise : (resultPromise = (async () => {\n const { abortSignal: inputAbortSignal } = pollOptions || {};\n const { signal: abortSignal } = inputAbortSignal\n ? new abortController.AbortController([inputAbortSignal, abortController$1.signal])\n : abortController$1;\n if (!poller.isDone()) {\n await poller.poll({ abortSignal });\n while (!poller.isDone()) {\n await coreUtil.delay(currentPollIntervalInMs, { abortSignal });\n await poller.poll({ abortSignal });\n }\n }\n if (resolveOnUnsuccessful) {\n return poller.getResult();\n }\n else {\n switch (state.status) {\n case \"succeeded\":\n return poller.getResult();\n case \"canceled\":\n throw new Error(cancelErrMsg);\n case \"failed\":\n throw state.error;\n case \"notStarted\":\n case \"running\":\n throw new Error(`Polling completed without succeeding or failing`);\n }\n }\n })().finally(() => {\n resultPromise = undefined;\n }))),\n async poll(pollOptions) {\n if (resolveOnUnsuccessful) {\n if (poller.isDone())\n return;\n }\n else {\n switch (state.status) {\n case \"succeeded\":\n return;\n case \"canceled\":\n throw new Error(cancelErrMsg);\n case \"failed\":\n throw state.error;\n }\n }\n await pollOperation({\n poll,\n state,\n stateProxy,\n getOperationLocation,\n isOperationError,\n withOperationLocation,\n getPollingInterval,\n getOperationStatus: getStatusFromPollResponse,\n getResourceLocation,\n processResult,\n getError,\n updateState,\n options: pollOptions,\n setDelay: (pollIntervalInMs) => {\n currentPollIntervalInMs = pollIntervalInMs;\n },\n setErrorAsResult: !resolveOnUnsuccessful,\n });\n await handleProgressEvents();\n if (!resolveOnUnsuccessful) {\n switch (state.status) {\n case \"canceled\":\n throw new Error(cancelErrMsg);\n case \"failed\":\n throw state.error;\n }\n }\n },\n };\n return poller;\n };\n}\n\n// Copyright (c) Microsoft Corporation.\n/**\n * Creates a poller that can be used to poll a long-running operation.\n * @param lro - Description of the long-running operation\n * @param options - options to configure the poller\n * @returns an initialized poller\n */\nasync function createHttpPoller(lro, options) {\n const { resourceLocationConfig, intervalInMs, processResult, restoreFrom, updateState, withOperationLocation, resolveOnUnsuccessful = false, } = options || {};\n return buildCreatePoller({\n getStatusFromInitialResponse,\n getStatusFromPollResponse: getOperationStatus,\n isOperationError,\n getOperationLocation,\n getResourceLocation,\n getPollingInterval: parseRetryAfter,\n getError: getErrorFromResponse,\n resolveOnUnsuccessful,\n })({\n init: async () => {\n const response = await lro.sendInitialRequest();\n const config = inferLroMode({\n rawResponse: response.rawResponse,\n requestPath: lro.requestPath,\n requestMethod: lro.requestMethod,\n resourceLocationConfig,\n });\n return Object.assign({ response, operationLocation: config === null || config === void 0 ? void 0 : config.operationLocation, resourceLocation: config === null || config === void 0 ? void 0 : config.resourceLocation }, ((config === null || config === void 0 ? void 0 : config.mode) ? { metadata: { mode: config.mode } } : {}));\n },\n poll: lro.sendPollRequest,\n }, {\n intervalInMs,\n withOperationLocation,\n restoreFrom,\n updateState,\n processResult: processResult\n ? ({ flatResponse }, state) => processResult(flatResponse, state)\n : ({ flatResponse }) => flatResponse,\n });\n}\n\n// Copyright (c) Microsoft Corporation.\nconst createStateProxy = () => ({\n initState: (config) => ({ config, isStarted: true }),\n setCanceled: (state) => (state.isCancelled = true),\n setError: (state, error) => (state.error = error),\n setResult: (state, result) => (state.result = result),\n setRunning: (state) => (state.isStarted = true),\n setSucceeded: (state) => (state.isCompleted = true),\n setFailed: () => {\n /** empty body */\n },\n getError: (state) => state.error,\n getResult: (state) => state.result,\n isCanceled: (state) => !!state.isCancelled,\n isFailed: (state) => !!state.error,\n isRunning: (state) => !!state.isStarted,\n isSucceeded: (state) => Boolean(state.isCompleted && !state.isCancelled && !state.error),\n});\nclass GenericPollOperation {\n constructor(state, lro, setErrorAsResult, lroResourceLocationConfig, processResult, updateState, isDone) {\n this.state = state;\n this.lro = lro;\n this.setErrorAsResult = setErrorAsResult;\n this.lroResourceLocationConfig = lroResourceLocationConfig;\n this.processResult = processResult;\n this.updateState = updateState;\n this.isDone = isDone;\n }\n setPollerConfig(pollerConfig) {\n this.pollerConfig = pollerConfig;\n }\n async update(options) {\n var _a;\n const stateProxy = createStateProxy();\n if (!this.state.isStarted) {\n this.state = Object.assign(Object.assign({}, this.state), (await initHttpOperation({\n lro: this.lro,\n stateProxy,\n resourceLocationConfig: this.lroResourceLocationConfig,\n processResult: this.processResult,\n setErrorAsResult: this.setErrorAsResult,\n })));\n }\n const updateState = this.updateState;\n const isDone = this.isDone;\n if (!this.state.isCompleted && this.state.error === undefined) {\n await pollHttpOperation({\n lro: this.lro,\n state: this.state,\n stateProxy,\n processResult: this.processResult,\n updateState: updateState\n ? (state, { rawResponse }) => updateState(state, rawResponse)\n : undefined,\n isDone: isDone\n ? ({ flatResponse }, state) => isDone(flatResponse, state)\n : undefined,\n options,\n setDelay: (intervalInMs) => {\n this.pollerConfig.intervalInMs = intervalInMs;\n },\n setErrorAsResult: this.setErrorAsResult,\n });\n }\n (_a = options === null || options === void 0 ? void 0 : options.fireProgress) === null || _a === void 0 ? void 0 : _a.call(options, this.state);\n return this;\n }\n async cancel() {\n logger.error(\"`cancelOperation` is deprecated because it wasn't implemented\");\n return this;\n }\n /**\n * Serializes the Poller operation.\n */\n toString() {\n return JSON.stringify({\n state: this.state,\n });\n }\n}\n\n// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n/**\n * When a poller is manually stopped through the `stopPolling` method,\n * the poller will be rejected with an instance of the PollerStoppedError.\n */\nclass PollerStoppedError extends Error {\n constructor(message) {\n super(message);\n this.name = \"PollerStoppedError\";\n Object.setPrototypeOf(this, PollerStoppedError.prototype);\n }\n}\n/**\n * When the operation is cancelled, the poller will be rejected with an instance\n * of the PollerCancelledError.\n */\nclass PollerCancelledError extends Error {\n constructor(message) {\n super(message);\n this.name = \"PollerCancelledError\";\n Object.setPrototypeOf(this, PollerCancelledError.prototype);\n }\n}\n/**\n * A class that represents the definition of a program that polls through consecutive requests\n * until it reaches a state of completion.\n *\n * A poller can be executed manually, by polling request by request by calling to the `poll()` method repeatedly, until its operation is completed.\n * It also provides a way to wait until the operation completes, by calling `pollUntilDone()` and waiting until the operation finishes.\n * Pollers can also request the cancellation of the ongoing process to whom is providing the underlying long running operation.\n *\n * ```ts\n * const poller = new MyPoller();\n *\n * // Polling just once:\n * await poller.poll();\n *\n * // We can try to cancel the request here, by calling:\n * //\n * // await poller.cancelOperation();\n * //\n *\n * // Getting the final result:\n * const result = await poller.pollUntilDone();\n * ```\n *\n * The Poller is defined by two types, a type representing the state of the poller, which\n * must include a basic set of properties from `PollOperationState`,\n * and a return type defined by `TResult`, which can be anything.\n *\n * The Poller class implements the `PollerLike` interface, which allows poller implementations to avoid having\n * to export the Poller's class directly, and instead only export the already instantiated poller with the PollerLike type.\n *\n * ```ts\n * class Client {\n * public async makePoller: PollerLike {\n * const poller = new MyPoller({});\n * // It might be preferred to return the poller after the first request is made,\n * // so that some information can be obtained right away.\n * await poller.poll();\n * return poller;\n * }\n * }\n *\n * const poller: PollerLike = myClient.makePoller();\n * ```\n *\n * A poller can be created through its constructor, then it can be polled until it's completed.\n * At any point in time, the state of the poller can be obtained without delay through the getOperationState method.\n * At any point in time, the intermediate forms of the result type can be requested without delay.\n * Once the underlying operation is marked as completed, the poller will stop and the final value will be returned.\n *\n * ```ts\n * const poller = myClient.makePoller();\n * const state: MyOperationState = poller.getOperationState();\n *\n * // The intermediate result can be obtained at any time.\n * const result: MyResult | undefined = poller.getResult();\n *\n * // The final result can only be obtained after the poller finishes.\n * const result: MyResult = await poller.pollUntilDone();\n * ```\n *\n */\n// eslint-disable-next-line no-use-before-define\nclass Poller {\n /**\n * A poller needs to be initialized by passing in at least the basic properties of the `PollOperation`.\n *\n * When writing an implementation of a Poller, this implementation needs to deal with the initialization\n * of any custom state beyond the basic definition of the poller. The basic poller assumes that the poller's\n * operation has already been defined, at least its basic properties. The code below shows how to approach\n * the definition of the constructor of a new custom poller.\n *\n * ```ts\n * export class MyPoller extends Poller {\n * constructor({\n * // Anything you might need outside of the basics\n * }) {\n * let state: MyOperationState = {\n * privateProperty: private,\n * publicProperty: public,\n * };\n *\n * const operation = {\n * state,\n * update,\n * cancel,\n * toString\n * }\n *\n * // Sending the operation to the parent's constructor.\n * super(operation);\n *\n * // You can assign more local properties here.\n * }\n * }\n * ```\n *\n * Inside of this constructor, a new promise is created. This will be used to\n * tell the user when the poller finishes (see `pollUntilDone()`). The promise's\n * resolve and reject methods are also used internally to control when to resolve\n * or reject anyone waiting for the poller to finish.\n *\n * The constructor of a custom implementation of a poller is where any serialized version of\n * a previous poller's operation should be deserialized into the operation sent to the\n * base constructor. For example:\n *\n * ```ts\n * export class MyPoller extends Poller {\n * constructor(\n * baseOperation: string | undefined\n * ) {\n * let state: MyOperationState = {};\n * if (baseOperation) {\n * state = {\n * ...JSON.parse(baseOperation).state,\n * ...state\n * };\n * }\n * const operation = {\n * state,\n * // ...\n * }\n * super(operation);\n * }\n * }\n * ```\n *\n * @param operation - Must contain the basic properties of `PollOperation`.\n */\n constructor(operation) {\n /** controls whether to throw an error if the operation failed or was canceled. */\n this.resolveOnUnsuccessful = false;\n this.stopped = true;\n this.pollProgressCallbacks = [];\n this.operation = operation;\n this.promise = new Promise((resolve, reject) => {\n this.resolve = resolve;\n this.reject = reject;\n });\n // This prevents the UnhandledPromiseRejectionWarning in node.js from being thrown.\n // The above warning would get thrown if `poller.poll` is called, it returns an error,\n // and pullUntilDone did not have a .catch or await try/catch on it's return value.\n this.promise.catch(() => {\n /* intentionally blank */\n });\n }\n /**\n * Starts a loop that will break only if the poller is done\n * or if the poller is stopped.\n */\n async startPolling(pollOptions = {}) {\n if (this.stopped) {\n this.stopped = false;\n }\n while (!this.isStopped() && !this.isDone()) {\n await this.poll(pollOptions);\n await this.delay();\n }\n }\n /**\n * pollOnce does one polling, by calling to the update method of the underlying\n * poll operation to make any relevant change effective.\n *\n * It only optionally receives an object with an abortSignal property, from \\@azure/abort-controller's AbortSignalLike.\n *\n * @param options - Optional properties passed to the operation's update method.\n */\n async pollOnce(options = {}) {\n if (!this.isDone()) {\n this.operation = await this.operation.update({\n abortSignal: options.abortSignal,\n fireProgress: this.fireProgress.bind(this),\n });\n }\n this.processUpdatedState();\n }\n /**\n * fireProgress calls the functions passed in via onProgress the method of the poller.\n *\n * It loops over all of the callbacks received from onProgress, and executes them, sending them\n * the current operation state.\n *\n * @param state - The current operation state.\n */\n fireProgress(state) {\n for (const callback of this.pollProgressCallbacks) {\n callback(state);\n }\n }\n /**\n * Invokes the underlying operation's cancel method.\n */\n async cancelOnce(options = {}) {\n this.operation = await this.operation.cancel(options);\n }\n /**\n * Returns a promise that will resolve once a single polling request finishes.\n * It does this by calling the update method of the Poller's operation.\n *\n * It only optionally receives an object with an abortSignal property, from \\@azure/abort-controller's AbortSignalLike.\n *\n * @param options - Optional properties passed to the operation's update method.\n */\n poll(options = {}) {\n if (!this.pollOncePromise) {\n this.pollOncePromise = this.pollOnce(options);\n const clearPollOncePromise = () => {\n this.pollOncePromise = undefined;\n };\n this.pollOncePromise.then(clearPollOncePromise, clearPollOncePromise).catch(this.reject);\n }\n return this.pollOncePromise;\n }\n processUpdatedState() {\n if (this.operation.state.error) {\n this.stopped = true;\n if (!this.resolveOnUnsuccessful) {\n this.reject(this.operation.state.error);\n throw this.operation.state.error;\n }\n }\n if (this.operation.state.isCancelled) {\n this.stopped = true;\n if (!this.resolveOnUnsuccessful) {\n const error = new PollerCancelledError(\"Operation was canceled\");\n this.reject(error);\n throw error;\n }\n }\n if (this.isDone() && this.resolve) {\n // If the poller has finished polling, this means we now have a result.\n // However, it can be the case that TResult is instantiated to void, so\n // we are not expecting a result anyway. To assert that we might not\n // have a result eventually after finishing polling, we cast the result\n // to TResult.\n this.resolve(this.getResult());\n }\n }\n /**\n * Returns a promise that will resolve once the underlying operation is completed.\n */\n async pollUntilDone(pollOptions = {}) {\n if (this.stopped) {\n this.startPolling(pollOptions).catch(this.reject);\n }\n // This is needed because the state could have been updated by\n // `cancelOperation`, e.g. the operation is canceled or an error occurred.\n this.processUpdatedState();\n return this.promise;\n }\n /**\n * Invokes the provided callback after each polling is completed,\n * sending the current state of the poller's operation.\n *\n * It returns a method that can be used to stop receiving updates on the given callback function.\n */\n onProgress(callback) {\n this.pollProgressCallbacks.push(callback);\n return () => {\n this.pollProgressCallbacks = this.pollProgressCallbacks.filter((c) => c !== callback);\n };\n }\n /**\n * Returns true if the poller has finished polling.\n */\n isDone() {\n const state = this.operation.state;\n return Boolean(state.isCompleted || state.isCancelled || state.error);\n }\n /**\n * Stops the poller from continuing to poll.\n */\n stopPolling() {\n if (!this.stopped) {\n this.stopped = true;\n if (this.reject) {\n this.reject(new PollerStoppedError(\"This poller is already stopped\"));\n }\n }\n }\n /**\n * Returns true if the poller is stopped.\n */\n isStopped() {\n return this.stopped;\n }\n /**\n * Attempts to cancel the underlying operation.\n *\n * It only optionally receives an object with an abortSignal property, from \\@azure/abort-controller's AbortSignalLike.\n *\n * If it's called again before it finishes, it will throw an error.\n *\n * @param options - Optional properties passed to the operation's update method.\n */\n cancelOperation(options = {}) {\n if (!this.cancelPromise) {\n this.cancelPromise = this.cancelOnce(options);\n }\n else if (options.abortSignal) {\n throw new Error(\"A cancel request is currently pending\");\n }\n return this.cancelPromise;\n }\n /**\n * Returns the state of the operation.\n *\n * Even though TState will be the same type inside any of the methods of any extension of the Poller class,\n * implementations of the pollers can customize what's shared with the public by writing their own\n * version of the `getOperationState` method, and by defining two types, one representing the internal state of the poller\n * and a public type representing a safe to share subset of the properties of the internal state.\n * Their definition of getOperationState can then return their public type.\n *\n * Example:\n *\n * ```ts\n * // Let's say we have our poller's operation state defined as:\n * interface MyOperationState extends PollOperationState {\n * privateProperty?: string;\n * publicProperty?: string;\n * }\n *\n * // To allow us to have a true separation of public and private state, we have to define another interface:\n * interface PublicState extends PollOperationState {\n * publicProperty?: string;\n * }\n *\n * // Then, we define our Poller as follows:\n * export class MyPoller extends Poller {\n * // ... More content is needed here ...\n *\n * public getOperationState(): PublicState {\n * const state: PublicState = this.operation.state;\n * return {\n * // Properties from PollOperationState\n * isStarted: state.isStarted,\n * isCompleted: state.isCompleted,\n * isCancelled: state.isCancelled,\n * error: state.error,\n * result: state.result,\n *\n * // The only other property needed by PublicState.\n * publicProperty: state.publicProperty\n * }\n * }\n * }\n * ```\n *\n * You can see this in the tests of this repository, go to the file:\n * `../test/utils/testPoller.ts`\n * and look for the getOperationState implementation.\n */\n getOperationState() {\n return this.operation.state;\n }\n /**\n * Returns the result value of the operation,\n * regardless of the state of the poller.\n * It can return undefined or an incomplete form of the final TResult value\n * depending on the implementation.\n */\n getResult() {\n const state = this.operation.state;\n return state.result;\n }\n /**\n * Returns a serialized version of the poller's operation\n * by invoking the operation's toString method.\n */\n toString() {\n return this.operation.toString();\n }\n}\n\n// Copyright (c) Microsoft Corporation.\n/**\n * The LRO Engine, a class that performs polling.\n */\nclass LroEngine extends Poller {\n constructor(lro, options) {\n const { intervalInMs = POLL_INTERVAL_IN_MS, resumeFrom, resolveOnUnsuccessful = false, isDone, lroResourceLocationConfig, processResult, updateState, } = options || {};\n const state = resumeFrom\n ? deserializeState(resumeFrom)\n : {};\n const operation = new GenericPollOperation(state, lro, !resolveOnUnsuccessful, lroResourceLocationConfig, processResult, updateState, isDone);\n super(operation);\n this.resolveOnUnsuccessful = resolveOnUnsuccessful;\n this.config = { intervalInMs: intervalInMs };\n operation.setPollerConfig(this.config);\n }\n /**\n * The method used by the poller to wait before attempting to update its operation.\n */\n delay() {\n return new Promise((resolve) => setTimeout(() => resolve(), this.config.intervalInMs));\n }\n}\n\nexports.LroEngine = LroEngine;\nexports.Poller = Poller;\nexports.PollerCancelledError = PollerCancelledError;\nexports.PollerStoppedError = PollerStoppedError;\nexports.createHttpPoller = createHttpPoller;\n//# sourceMappingURL=index.js.map\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\n// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n/// \nconst listenersMap = new WeakMap();\nconst abortedMap = new WeakMap();\n/**\n * An aborter instance implements AbortSignal interface, can abort HTTP requests.\n *\n * - Call AbortSignal.none to create a new AbortSignal instance that cannot be cancelled.\n * Use `AbortSignal.none` when you are required to pass a cancellation token but the operation\n * cannot or will not ever be cancelled.\n *\n * @example\n * Abort without timeout\n * ```ts\n * await doAsyncWork(AbortSignal.none);\n * ```\n */\nclass AbortSignal {\n constructor() {\n /**\n * onabort event listener.\n */\n this.onabort = null;\n listenersMap.set(this, []);\n abortedMap.set(this, false);\n }\n /**\n * Status of whether aborted or not.\n *\n * @readonly\n */\n get aborted() {\n if (!abortedMap.has(this)) {\n throw new TypeError(\"Expected `this` to be an instance of AbortSignal.\");\n }\n return abortedMap.get(this);\n }\n /**\n * Creates a new AbortSignal instance that will never be aborted.\n *\n * @readonly\n */\n static get none() {\n return new AbortSignal();\n }\n /**\n * Added new \"abort\" event listener, only support \"abort\" event.\n *\n * @param _type - Only support \"abort\" event\n * @param listener - The listener to be added\n */\n addEventListener(\n // tslint:disable-next-line:variable-name\n _type, listener) {\n if (!listenersMap.has(this)) {\n throw new TypeError(\"Expected `this` to be an instance of AbortSignal.\");\n }\n const listeners = listenersMap.get(this);\n listeners.push(listener);\n }\n /**\n * Remove \"abort\" event listener, only support \"abort\" event.\n *\n * @param _type - Only support \"abort\" event\n * @param listener - The listener to be removed\n */\n removeEventListener(\n // tslint:disable-next-line:variable-name\n _type, listener) {\n if (!listenersMap.has(this)) {\n throw new TypeError(\"Expected `this` to be an instance of AbortSignal.\");\n }\n const listeners = listenersMap.get(this);\n const index = listeners.indexOf(listener);\n if (index > -1) {\n listeners.splice(index, 1);\n }\n }\n /**\n * Dispatches a synthetic event to the AbortSignal.\n */\n dispatchEvent(_event) {\n throw new Error(\"This is a stub dispatchEvent implementation that should not be used. It only exists for type-checking purposes.\");\n }\n}\n/**\n * Helper to trigger an abort event immediately, the onabort and all abort event listeners will be triggered.\n * Will try to trigger abort event for all linked AbortSignal nodes.\n *\n * - If there is a timeout, the timer will be cancelled.\n * - If aborted is true, nothing will happen.\n *\n * @internal\n */\n// eslint-disable-next-line @azure/azure-sdk/ts-use-interface-parameters\nfunction abortSignal(signal) {\n if (signal.aborted) {\n return;\n }\n if (signal.onabort) {\n signal.onabort.call(signal);\n }\n const listeners = listenersMap.get(signal);\n if (listeners) {\n // Create a copy of listeners so mutations to the array\n // (e.g. via removeListener calls) don't affect the listeners\n // we invoke.\n listeners.slice().forEach((listener) => {\n listener.call(signal, { type: \"abort\" });\n });\n }\n abortedMap.set(signal, true);\n}\n\n// Copyright (c) Microsoft Corporation.\n/**\n * This error is thrown when an asynchronous operation has been aborted.\n * Check for this error by testing the `name` that the name property of the\n * error matches `\"AbortError\"`.\n *\n * @example\n * ```ts\n * const controller = new AbortController();\n * controller.abort();\n * try {\n * doAsyncWork(controller.signal)\n * } catch (e) {\n * if (e.name === 'AbortError') {\n * // handle abort error here.\n * }\n * }\n * ```\n */\nclass AbortError extends Error {\n constructor(message) {\n super(message);\n this.name = \"AbortError\";\n }\n}\n/**\n * An AbortController provides an AbortSignal and the associated controls to signal\n * that an asynchronous operation should be aborted.\n *\n * @example\n * Abort an operation when another event fires\n * ```ts\n * const controller = new AbortController();\n * const signal = controller.signal;\n * doAsyncWork(signal);\n * button.addEventListener('click', () => controller.abort());\n * ```\n *\n * @example\n * Share aborter cross multiple operations in 30s\n * ```ts\n * // Upload the same data to 2 different data centers at the same time,\n * // abort another when any of them is finished\n * const controller = AbortController.withTimeout(30 * 1000);\n * doAsyncWork(controller.signal).then(controller.abort);\n * doAsyncWork(controller.signal).then(controller.abort);\n *```\n *\n * @example\n * Cascaded aborting\n * ```ts\n * // All operations can't take more than 30 seconds\n * const aborter = Aborter.timeout(30 * 1000);\n *\n * // Following 2 operations can't take more than 25 seconds\n * await doAsyncWork(aborter.withTimeout(25 * 1000));\n * await doAsyncWork(aborter.withTimeout(25 * 1000));\n * ```\n */\nclass AbortController {\n // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\n constructor(parentSignals) {\n this._signal = new AbortSignal();\n if (!parentSignals) {\n return;\n }\n // coerce parentSignals into an array\n if (!Array.isArray(parentSignals)) {\n // eslint-disable-next-line prefer-rest-params\n parentSignals = arguments;\n }\n for (const parentSignal of parentSignals) {\n // if the parent signal has already had abort() called,\n // then call abort on this signal as well.\n if (parentSignal.aborted) {\n this.abort();\n }\n else {\n // when the parent signal aborts, this signal should as well.\n parentSignal.addEventListener(\"abort\", () => {\n this.abort();\n });\n }\n }\n }\n /**\n * The AbortSignal associated with this controller that will signal aborted\n * when the abort method is called on this controller.\n *\n * @readonly\n */\n get signal() {\n return this._signal;\n }\n /**\n * Signal that any operations passed this controller's associated abort signal\n * to cancel any remaining work and throw an `AbortError`.\n */\n abort() {\n abortSignal(this._signal);\n }\n /**\n * Creates a new AbortSignal instance that will abort after the provided ms.\n * @param ms - Elapsed time in milliseconds to trigger an abort.\n */\n static timeout(ms) {\n const signal = new AbortSignal();\n const timer = setTimeout(abortSignal, ms, signal);\n // Prevent the active Timer from keeping the Node.js event loop active.\n if (typeof timer.unref === \"function\") {\n timer.unref();\n }\n return signal;\n }\n}\n\nexports.AbortController = AbortController;\nexports.AbortError = AbortError;\nexports.AbortSignal = AbortSignal;\n//# sourceMappingURL=index.js.map\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar abortController = require('@azure/abort-controller');\nvar crypto = require('crypto');\n\n// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\nvar _a$1;\n/**\n * A constant that indicates whether the environment the code is running is Node.JS.\n */\nconst isNode = typeof process !== \"undefined\" && Boolean(process.version) && Boolean((_a$1 = process.versions) === null || _a$1 === void 0 ? void 0 : _a$1.node);\n\n// Copyright (c) Microsoft Corporation.\n/**\n * Creates an abortable promise.\n * @param buildPromise - A function that takes the resolve and reject functions as parameters.\n * @param options - The options for the abortable promise.\n * @returns A promise that can be aborted.\n */\nfunction createAbortablePromise(buildPromise, options) {\n const { cleanupBeforeAbort, abortSignal, abortErrorMsg } = options !== null && options !== void 0 ? options : {};\n return new Promise((resolve, reject) => {\n function rejectOnAbort() {\n reject(new abortController.AbortError(abortErrorMsg !== null && abortErrorMsg !== void 0 ? abortErrorMsg : \"The operation was aborted.\"));\n }\n function removeListeners() {\n abortSignal === null || abortSignal === void 0 ? void 0 : abortSignal.removeEventListener(\"abort\", onAbort);\n }\n function onAbort() {\n cleanupBeforeAbort === null || cleanupBeforeAbort === void 0 ? void 0 : cleanupBeforeAbort();\n removeListeners();\n rejectOnAbort();\n }\n if (abortSignal === null || abortSignal === void 0 ? void 0 : abortSignal.aborted) {\n return rejectOnAbort();\n }\n try {\n buildPromise((x) => {\n removeListeners();\n resolve(x);\n }, (x) => {\n removeListeners();\n reject(x);\n });\n }\n catch (err) {\n reject(err);\n }\n abortSignal === null || abortSignal === void 0 ? void 0 : abortSignal.addEventListener(\"abort\", onAbort);\n });\n}\n\n// Copyright (c) Microsoft Corporation.\nconst StandardAbortMessage = \"The delay was aborted.\";\n/**\n * A wrapper for setTimeout that resolves a promise after timeInMs milliseconds.\n * @param timeInMs - The number of milliseconds to be delayed.\n * @param options - The options for delay - currently abort options\n * @returns Promise that is resolved after timeInMs\n */\nfunction delay(timeInMs, options) {\n let token;\n const { abortSignal, abortErrorMsg } = options !== null && options !== void 0 ? options : {};\n return createAbortablePromise((resolve) => {\n token = setTimeout(resolve, timeInMs);\n }, {\n cleanupBeforeAbort: () => clearTimeout(token),\n abortSignal,\n abortErrorMsg: abortErrorMsg !== null && abortErrorMsg !== void 0 ? abortErrorMsg : StandardAbortMessage,\n });\n}\n\n// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n/**\n * Returns a random integer value between a lower and upper bound,\n * inclusive of both bounds.\n * Note that this uses Math.random and isn't secure. If you need to use\n * this for any kind of security purpose, find a better source of random.\n * @param min - The smallest integer value allowed.\n * @param max - The largest integer value allowed.\n */\nfunction getRandomIntegerInclusive(min, max) {\n // Make sure inputs are integers.\n min = Math.ceil(min);\n max = Math.floor(max);\n // Pick a random offset from zero to the size of the range.\n // Since Math.random() can never return 1, we have to make the range one larger\n // in order to be inclusive of the maximum value after we take the floor.\n const offset = Math.floor(Math.random() * (max - min + 1));\n return offset + min;\n}\n\n// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n/**\n * Helper to determine when an input is a generic JS object.\n * @returns true when input is an object type that is not null, Array, RegExp, or Date.\n */\nfunction isObject(input) {\n return (typeof input === \"object\" &&\n input !== null &&\n !Array.isArray(input) &&\n !(input instanceof RegExp) &&\n !(input instanceof Date));\n}\n\n// Copyright (c) Microsoft Corporation.\n/**\n * Typeguard for an error object shape (has name and message)\n * @param e - Something caught by a catch clause.\n */\nfunction isError(e) {\n if (isObject(e)) {\n const hasName = typeof e.name === \"string\";\n const hasMessage = typeof e.message === \"string\";\n return hasName && hasMessage;\n }\n return false;\n}\n/**\n * Given what is thought to be an error object, return the message if possible.\n * If the message is missing, returns a stringified version of the input.\n * @param e - Something thrown from a try block\n * @returns The error message or a string of the input\n */\nfunction getErrorMessage(e) {\n if (isError(e)) {\n return e.message;\n }\n else {\n let stringified;\n try {\n if (typeof e === \"object\" && e) {\n stringified = JSON.stringify(e);\n }\n else {\n stringified = String(e);\n }\n }\n catch (err) {\n stringified = \"[unable to stringify input]\";\n }\n return `Unknown error ${stringified}`;\n }\n}\n\n// Copyright (c) Microsoft Corporation.\n/**\n * Generates a SHA-256 HMAC signature.\n * @param key - The HMAC key represented as a base64 string, used to generate the cryptographic HMAC hash.\n * @param stringToSign - The data to be signed.\n * @param encoding - The textual encoding to use for the returned HMAC digest.\n */\nasync function computeSha256Hmac(key, stringToSign, encoding) {\n const decodedKey = Buffer.from(key, \"base64\");\n return crypto.createHmac(\"sha256\", decodedKey).update(stringToSign).digest(encoding);\n}\n/**\n * Generates a SHA-256 hash.\n * @param content - The data to be included in the hash.\n * @param encoding - The textual encoding to use for the returned hash.\n */\nasync function computeSha256Hash(content, encoding) {\n return crypto.createHash(\"sha256\").update(content).digest(encoding);\n}\n\n// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n/**\n * Helper TypeGuard that checks if something is defined or not.\n * @param thing - Anything\n */\nfunction isDefined(thing) {\n return typeof thing !== \"undefined\" && thing !== null;\n}\n/**\n * Helper TypeGuard that checks if the input is an object with the specified properties.\n * @param thing - Anything.\n * @param properties - The name of the properties that should appear in the object.\n */\nfunction isObjectWithProperties(thing, properties) {\n if (!isDefined(thing) || typeof thing !== \"object\") {\n return false;\n }\n for (const property of properties) {\n if (!objectHasProperty(thing, property)) {\n return false;\n }\n }\n return true;\n}\n/**\n * Helper TypeGuard that checks if the input is an object with the specified property.\n * @param thing - Any object.\n * @param property - The name of the property that should appear in the object.\n */\nfunction objectHasProperty(thing, property) {\n return (isDefined(thing) && typeof thing === \"object\" && property in thing);\n}\n\n// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\n/*\n * NOTE: When moving this file, please update \"react-native\" section in package.json.\n */\n/**\n * Generated Universally Unique Identifier\n *\n * @returns RFC4122 v4 UUID.\n */\nfunction generateUUID() {\n let uuid = \"\";\n for (let i = 0; i < 32; i++) {\n // Generate a random number between 0 and 15\n const randomNumber = Math.floor(Math.random() * 16);\n // Set the UUID version to 4 in the 13th position\n if (i === 12) {\n uuid += \"4\";\n }\n else if (i === 16) {\n // Set the UUID variant to \"10\" in the 17th position\n uuid += (randomNumber & 0x3) | 0x8;\n }\n else {\n // Add a random hexadecimal digit to the UUID string\n uuid += randomNumber.toString(16);\n }\n // Add hyphens to the UUID string at the appropriate positions\n if (i === 7 || i === 11 || i === 15 || i === 19) {\n uuid += \"-\";\n }\n }\n return uuid;\n}\n\n// Copyright (c) Microsoft Corporation.\n// Licensed under the MIT license.\nvar _a;\n// NOTE: This is a workaround until we can use `globalThis.crypto.randomUUID` in Node.js 19+.\nlet uuidFunction = typeof ((_a = globalThis === null || globalThis === void 0 ? void 0 : globalThis.crypto) === null || _a === void 0 ? void 0 : _a.randomUUID) === \"function\"\n ? globalThis.crypto.randomUUID.bind(globalThis.crypto)\n : crypto.randomUUID;\n// Not defined in earlier versions of Node.js 14\nif (!uuidFunction) {\n uuidFunction = generateUUID;\n}\n/**\n * Generated Universally Unique Identifier\n *\n * @returns RFC4122 v4 UUID.\n */\nfunction randomUUID() {\n return uuidFunction();\n}\n\nexports.computeSha256Hash = computeSha256Hash;\nexports.computeSha256Hmac = computeSha256Hmac;\nexports.createAbortablePromise = createAbortablePromise;\nexports.delay = delay;\nexports.getErrorMessage = getErrorMessage;\nexports.getRandomIntegerInclusive = getRandomIntegerInclusive;\nexports.isDefined = isDefined;\nexports.isError = isError;\nexports.isNode = isNode;\nexports.isObject = isObject;\nexports.isObjectWithProperties = isObjectWithProperties;\nexports.objectHasProperty = objectHasProperty;\nexports.randomUUID = randomUUID;\n//# sourceMappingURL=index.js.map\n","'use strict';\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\nvar os = require('os');\nvar util = require('util');\n\nfunction _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }\n\nvar util__default = /*#__PURE__*/_interopDefaultLegacy(util);\n\n// Copyright (c) Microsoft Corporation.\nfunction log(message, ...args) {\n process.stderr.write(`${util__default[\"default\"].format(message, ...args)}${os.EOL}`);\n}\n\n// Copyright (c) Microsoft Corporation.\nconst debugEnvVariable = (typeof process !== \"undefined\" && process.env && process.env.DEBUG) || undefined;\nlet enabledString;\nlet enabledNamespaces = [];\nlet skippedNamespaces = [];\nconst debuggers = [];\nif (debugEnvVariable) {\n enable(debugEnvVariable);\n}\nconst debugObj = Object.assign((namespace) => {\n return createDebugger(namespace);\n}, {\n enable,\n enabled,\n disable,\n log,\n});\nfunction enable(namespaces) {\n enabledString = namespaces;\n enabledNamespaces = [];\n skippedNamespaces = [];\n const wildcard = /\\*/g;\n const namespaceList = namespaces.split(\",\").map((ns) => ns.trim().replace(wildcard, \".*?\"));\n for (const ns of namespaceList) {\n if (ns.startsWith(\"-\")) {\n skippedNamespaces.push(new RegExp(`^${ns.substr(1)}$`));\n }\n else {\n enabledNamespaces.push(new RegExp(`^${ns}$`));\n }\n }\n for (const instance of debuggers) {\n instance.enabled = enabled(instance.namespace);\n }\n}\nfunction enabled(namespace) {\n if (namespace.endsWith(\"*\")) {\n return true;\n }\n for (const skipped of skippedNamespaces) {\n if (skipped.test(namespace)) {\n return false;\n }\n }\n for (const enabledNamespace of enabledNamespaces) {\n if (enabledNamespace.test(namespace)) {\n return true;\n }\n }\n return false;\n}\nfunction disable() {\n const result = enabledString || \"\";\n enable(\"\");\n return result;\n}\nfunction createDebugger(namespace) {\n const newDebugger = Object.assign(debug, {\n enabled: enabled(namespace),\n destroy,\n log: debugObj.log,\n namespace,\n extend,\n });\n function debug(...args) {\n if (!newDebugger.enabled) {\n return;\n }\n if (args.length > 0) {\n args[0] = `${namespace} ${args[0]}`;\n }\n newDebugger.log(...args);\n }\n debuggers.push(newDebugger);\n return newDebugger;\n}\nfunction destroy() {\n const index = debuggers.indexOf(this);\n if (index >= 0) {\n debuggers.splice(index, 1);\n return true;\n }\n return false;\n}\nfunction extend(namespace) {\n const newDebugger = createDebugger(`${this.namespace}:${namespace}`);\n newDebugger.log = this.log;\n return newDebugger;\n}\nvar debug = debugObj;\n\n// Copyright (c) Microsoft Corporation.\nconst registeredLoggers = new Set();\nconst logLevelFromEnv = (typeof process !== \"undefined\" && process.env && process.env.AZURE_LOG_LEVEL) || undefined;\nlet azureLogLevel;\n/**\n * The AzureLogger provides a mechanism for overriding where logs are output to.\n * By default, logs are sent to stderr.\n * Override the `log` method to redirect logs to another location.\n */\nconst AzureLogger = debug(\"azure\");\nAzureLogger.log = (...args) => {\n debug.log(...args);\n};\nconst AZURE_LOG_LEVELS = [\"verbose\", \"info\", \"warning\", \"error\"];\nif (logLevelFromEnv) {\n // avoid calling setLogLevel because we don't want a mis-set environment variable to crash\n if (isAzureLogLevel(logLevelFromEnv)) {\n setLogLevel(logLevelFromEnv);\n }\n else {\n console.error(`AZURE_LOG_LEVEL set to unknown log level '${logLevelFromEnv}'; logging is not enabled. Acceptable values: ${AZURE_LOG_LEVELS.join(\", \")}.`);\n }\n}\n/**\n * Immediately enables logging at the specified log level. If no level is specified, logging is disabled.\n * @param level - The log level to enable for logging.\n * Options from most verbose to least verbose are:\n * - verbose\n * - info\n * - warning\n * - error\n */\nfunction setLogLevel(level) {\n if (level && !isAzureLogLevel(level)) {\n throw new Error(`Unknown log level '${level}'. Acceptable values: ${AZURE_LOG_LEVELS.join(\",\")}`);\n }\n azureLogLevel = level;\n const enabledNamespaces = [];\n for (const logger of registeredLoggers) {\n if (shouldEnable(logger)) {\n enabledNamespaces.push(logger.namespace);\n }\n }\n debug.enable(enabledNamespaces.join(\",\"));\n}\n/**\n * Retrieves the currently specified log level.\n */\nfunction getLogLevel() {\n return azureLogLevel;\n}\nconst levelMap = {\n verbose: 400,\n info: 300,\n warning: 200,\n error: 100,\n};\n/**\n * Creates a logger for use by the Azure SDKs that inherits from `AzureLogger`.\n * @param namespace - The name of the SDK package.\n * @hidden\n */\nfunction createClientLogger(namespace) {\n const clientRootLogger = AzureLogger.extend(namespace);\n patchLogMethod(AzureLogger, clientRootLogger);\n return {\n error: createLogger(clientRootLogger, \"error\"),\n warning: createLogger(clientRootLogger, \"warning\"),\n info: createLogger(clientRootLogger, \"info\"),\n verbose: createLogger(clientRootLogger, \"verbose\"),\n };\n}\nfunction patchLogMethod(parent, child) {\n child.log = (...args) => {\n parent.log(...args);\n };\n}\nfunction createLogger(parent, level) {\n const logger = Object.assign(parent.extend(level), {\n level,\n });\n patchLogMethod(parent, logger);\n if (shouldEnable(logger)) {\n const enabledNamespaces = debug.disable();\n debug.enable(enabledNamespaces + \",\" + logger.namespace);\n }\n registeredLoggers.add(logger);\n return logger;\n}\nfunction shouldEnable(logger) {\n return Boolean(azureLogLevel && levelMap[logger.level] <= levelMap[azureLogLevel]);\n}\nfunction isAzureLogLevel(logLevel) {\n return AZURE_LOG_LEVELS.includes(logLevel);\n}\n\nexports.AzureLogger = AzureLogger;\nexports.createClientLogger = createClientLogger;\nexports.getLogLevel = getLogLevel;\nexports.setLogLevel = setLogLevel;\n//# sourceMappingURL=index.js.map\n","/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global global, define, Symbol, Reflect, Promise, SuppressedError, Iterator */\r\nvar __extends;\r\nvar __assign;\r\nvar __rest;\r\nvar __decorate;\r\nvar __param;\r\nvar __esDecorate;\r\nvar __runInitializers;\r\nvar __propKey;\r\nvar __setFunctionName;\r\nvar __metadata;\r\nvar __awaiter;\r\nvar __generator;\r\nvar __exportStar;\r\nvar __values;\r\nvar __read;\r\nvar __spread;\r\nvar __spreadArrays;\r\nvar __spreadArray;\r\nvar __await;\r\nvar __asyncGenerator;\r\nvar __asyncDelegator;\r\nvar __asyncValues;\r\nvar __makeTemplateObject;\r\nvar __importStar;\r\nvar __importDefault;\r\nvar __classPrivateFieldGet;\r\nvar __classPrivateFieldSet;\r\nvar __classPrivateFieldIn;\r\nvar __createBinding;\r\nvar __addDisposableResource;\r\nvar __disposeResources;\r\nvar __rewriteRelativeImportExtension;\r\n(function (factory) {\r\n var root = typeof global === \"object\" ? global : typeof self === \"object\" ? self : typeof this === \"object\" ? this : {};\r\n if (typeof define === \"function\" && define.amd) {\r\n define(\"tslib\", [\"exports\"], function (exports) { factory(createExporter(root, createExporter(exports))); });\r\n }\r\n else if (typeof module === \"object\" && typeof module.exports === \"object\") {\r\n factory(createExporter(root, createExporter(module.exports)));\r\n }\r\n else {\r\n factory(createExporter(root));\r\n }\r\n function createExporter(exports, previous) {\r\n if (exports !== root) {\r\n if (typeof Object.create === \"function\") {\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n }\r\n else {\r\n exports.__esModule = true;\r\n }\r\n }\r\n return function (id, v) { return exports[id] = previous ? previous(id, v) : v; };\r\n }\r\n})\r\n(function (exporter) {\r\n var extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n\r\n __extends = function (d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n\r\n __assign = Object.assign || function (t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n\r\n __rest = function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n };\r\n\r\n __decorate = function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n };\r\n\r\n __param = function (paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n };\r\n\r\n __esDecorate = function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\r\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\r\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\r\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\r\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\r\n var _, done = false;\r\n for (var i = decorators.length - 1; i >= 0; i--) {\r\n var context = {};\r\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\r\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\r\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\r\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\r\n if (kind === \"accessor\") {\r\n if (result === void 0) continue;\r\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\r\n if (_ = accept(result.get)) descriptor.get = _;\r\n if (_ = accept(result.set)) descriptor.set = _;\r\n if (_ = accept(result.init)) initializers.unshift(_);\r\n }\r\n else if (_ = accept(result)) {\r\n if (kind === \"field\") initializers.unshift(_);\r\n else descriptor[key] = _;\r\n }\r\n }\r\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\r\n done = true;\r\n };\r\n\r\n __runInitializers = function (thisArg, initializers, value) {\r\n var useValue = arguments.length > 2;\r\n for (var i = 0; i < initializers.length; i++) {\r\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\r\n }\r\n return useValue ? value : void 0;\r\n };\r\n\r\n __propKey = function (x) {\r\n return typeof x === \"symbol\" ? x : \"\".concat(x);\r\n };\r\n\r\n __setFunctionName = function (f, name, prefix) {\r\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\r\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\r\n };\r\n\r\n __metadata = function (metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n };\r\n\r\n __awaiter = function (thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n };\r\n\r\n __generator = function (thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\r\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n };\r\n\r\n __exportStar = function(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n };\r\n\r\n __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n }) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n });\r\n\r\n __values = function (o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n };\r\n\r\n __read = function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n };\r\n\r\n /** @deprecated */\r\n __spread = function () {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n };\r\n\r\n /** @deprecated */\r\n __spreadArrays = function () {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n };\r\n\r\n __spreadArray = function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n };\r\n\r\n __await = function (v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n };\r\n\r\n __asyncGenerator = function (thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\r\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n };\r\n\r\n __asyncDelegator = function (o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\r\n };\r\n\r\n __asyncValues = function (o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n };\r\n\r\n __makeTemplateObject = function (cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n };\r\n\r\n var __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n }) : function(o, v) {\r\n o[\"default\"] = v;\r\n };\r\n\r\n var ownKeys = function(o) {\r\n ownKeys = Object.getOwnPropertyNames || function (o) {\r\n var ar = [];\r\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\r\n return ar;\r\n };\r\n return ownKeys(o);\r\n };\r\n\r\n __importStar = function (mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n };\r\n\r\n __importDefault = function (mod) {\r\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\r\n };\r\n\r\n __classPrivateFieldGet = function (receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n };\r\n\r\n __classPrivateFieldSet = function (receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n };\r\n\r\n __classPrivateFieldIn = function (state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n };\r\n\r\n __addDisposableResource = function (env, value, async) {\r\n if (value !== null && value !== void 0) {\r\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\r\n var dispose, inner;\r\n if (async) {\r\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\r\n dispose = value[Symbol.asyncDispose];\r\n }\r\n if (dispose === void 0) {\r\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\r\n dispose = value[Symbol.dispose];\r\n if (async) inner = dispose;\r\n }\r\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\r\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\r\n env.stack.push({ value: value, dispose: dispose, async: async });\r\n }\r\n else if (async) {\r\n env.stack.push({ async: true });\r\n }\r\n return value;\r\n };\r\n\r\n var _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\r\n var e = new Error(message);\r\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\r\n };\r\n\r\n __disposeResources = function (env) {\r\n function fail(e) {\r\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\r\n env.hasError = true;\r\n }\r\n var r, s = 0;\r\n function next() {\r\n while (r = env.stack.pop()) {\r\n try {\r\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\r\n if (r.dispose) {\r\n var result = r.dispose.call(r.value);\r\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\r\n }\r\n else s |= 1;\r\n }\r\n catch (e) {\r\n fail(e);\r\n }\r\n }\r\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\r\n if (env.hasError) throw env.error;\r\n }\r\n return next();\r\n };\r\n\r\n __rewriteRelativeImportExtension = function (path, preserveJsx) {\r\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\r\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\r\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\r\n });\r\n }\r\n return path;\r\n };\r\n\r\n exporter(\"__extends\", __extends);\r\n exporter(\"__assign\", __assign);\r\n exporter(\"__rest\", __rest);\r\n exporter(\"__decorate\", __decorate);\r\n exporter(\"__param\", __param);\r\n exporter(\"__esDecorate\", __esDecorate);\r\n exporter(\"__runInitializers\", __runInitializers);\r\n exporter(\"__propKey\", __propKey);\r\n exporter(\"__setFunctionName\", __setFunctionName);\r\n exporter(\"__metadata\", __metadata);\r\n exporter(\"__awaiter\", __awaiter);\r\n exporter(\"__generator\", __generator);\r\n exporter(\"__exportStar\", __exportStar);\r\n exporter(\"__createBinding\", __createBinding);\r\n exporter(\"__values\", __values);\r\n exporter(\"__read\", __read);\r\n exporter(\"__spread\", __spread);\r\n exporter(\"__spreadArrays\", __spreadArrays);\r\n exporter(\"__spreadArray\", __spreadArray);\r\n exporter(\"__await\", __await);\r\n exporter(\"__asyncGenerator\", __asyncGenerator);\r\n exporter(\"__asyncDelegator\", __asyncDelegator);\r\n exporter(\"__asyncValues\", __asyncValues);\r\n exporter(\"__makeTemplateObject\", __makeTemplateObject);\r\n exporter(\"__importStar\", __importStar);\r\n exporter(\"__importDefault\", __importDefault);\r\n exporter(\"__classPrivateFieldGet\", __classPrivateFieldGet);\r\n exporter(\"__classPrivateFieldSet\", __classPrivateFieldSet);\r\n exporter(\"__classPrivateFieldIn\", __classPrivateFieldIn);\r\n exporter(\"__addDisposableResource\", __addDisposableResource);\r\n exporter(\"__disposeResources\", __disposeResources);\r\n exporter(\"__rewriteRelativeImportExtension\", __rewriteRelativeImportExtension);\r\n});\r\n\r\n0 && (module.exports = {\r\n __extends: __extends,\r\n __assign: __assign,\r\n __rest: __rest,\r\n __decorate: __decorate,\r\n __param: __param,\r\n __esDecorate: __esDecorate,\r\n __runInitializers: __runInitializers,\r\n __propKey: __propKey,\r\n __setFunctionName: __setFunctionName,\r\n __metadata: __metadata,\r\n __awaiter: __awaiter,\r\n __generator: __generator,\r\n __exportStar: __exportStar,\r\n __createBinding: __createBinding,\r\n __values: __values,\r\n __read: __read,\r\n __spread: __spread,\r\n __spreadArrays: __spreadArrays,\r\n __spreadArray: __spreadArray,\r\n __await: __await,\r\n __asyncGenerator: __asyncGenerator,\r\n __asyncDelegator: __asyncDelegator,\r\n __asyncValues: __asyncValues,\r\n __makeTemplateObject: __makeTemplateObject,\r\n __importStar: __importStar,\r\n __importDefault: __importDefault,\r\n __classPrivateFieldGet: __classPrivateFieldGet,\r\n __classPrivateFieldSet: __classPrivateFieldSet,\r\n __classPrivateFieldIn: __classPrivateFieldIn,\r\n __addDisposableResource: __addDisposableResource,\r\n __disposeResources: __disposeResources,\r\n __rewriteRelativeImportExtension: __rewriteRelativeImportExtension,\r\n});\r\n","/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global global, define, Symbol, Reflect, Promise, SuppressedError, Iterator */\r\nvar __extends;\r\nvar __assign;\r\nvar __rest;\r\nvar __decorate;\r\nvar __param;\r\nvar __esDecorate;\r\nvar __runInitializers;\r\nvar __propKey;\r\nvar __setFunctionName;\r\nvar __metadata;\r\nvar __awaiter;\r\nvar __generator;\r\nvar __exportStar;\r\nvar __values;\r\nvar __read;\r\nvar __spread;\r\nvar __spreadArrays;\r\nvar __spreadArray;\r\nvar __await;\r\nvar __asyncGenerator;\r\nvar __asyncDelegator;\r\nvar __asyncValues;\r\nvar __makeTemplateObject;\r\nvar __importStar;\r\nvar __importDefault;\r\nvar __classPrivateFieldGet;\r\nvar __classPrivateFieldSet;\r\nvar __classPrivateFieldIn;\r\nvar __createBinding;\r\nvar __addDisposableResource;\r\nvar __disposeResources;\r\nvar __rewriteRelativeImportExtension;\r\n(function (factory) {\r\n var root = typeof global === \"object\" ? global : typeof self === \"object\" ? self : typeof this === \"object\" ? this : {};\r\n if (typeof define === \"function\" && define.amd) {\r\n define(\"tslib\", [\"exports\"], function (exports) { factory(createExporter(root, createExporter(exports))); });\r\n }\r\n else if (typeof module === \"object\" && typeof module.exports === \"object\") {\r\n factory(createExporter(root, createExporter(module.exports)));\r\n }\r\n else {\r\n factory(createExporter(root));\r\n }\r\n function createExporter(exports, previous) {\r\n if (exports !== root) {\r\n if (typeof Object.create === \"function\") {\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n }\r\n else {\r\n exports.__esModule = true;\r\n }\r\n }\r\n return function (id, v) { return exports[id] = previous ? previous(id, v) : v; };\r\n }\r\n})\r\n(function (exporter) {\r\n var extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n\r\n __extends = function (d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n\r\n __assign = Object.assign || function (t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n\r\n __rest = function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n };\r\n\r\n __decorate = function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n };\r\n\r\n __param = function (paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n };\r\n\r\n __esDecorate = function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\r\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\r\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\r\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\r\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\r\n var _, done = false;\r\n for (var i = decorators.length - 1; i >= 0; i--) {\r\n var context = {};\r\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\r\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\r\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\r\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\r\n if (kind === \"accessor\") {\r\n if (result === void 0) continue;\r\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\r\n if (_ = accept(result.get)) descriptor.get = _;\r\n if (_ = accept(result.set)) descriptor.set = _;\r\n if (_ = accept(result.init)) initializers.unshift(_);\r\n }\r\n else if (_ = accept(result)) {\r\n if (kind === \"field\") initializers.unshift(_);\r\n else descriptor[key] = _;\r\n }\r\n }\r\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\r\n done = true;\r\n };\r\n\r\n __runInitializers = function (thisArg, initializers, value) {\r\n var useValue = arguments.length > 2;\r\n for (var i = 0; i < initializers.length; i++) {\r\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\r\n }\r\n return useValue ? value : void 0;\r\n };\r\n\r\n __propKey = function (x) {\r\n return typeof x === \"symbol\" ? x : \"\".concat(x);\r\n };\r\n\r\n __setFunctionName = function (f, name, prefix) {\r\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\r\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\r\n };\r\n\r\n __metadata = function (metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n };\r\n\r\n __awaiter = function (thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n };\r\n\r\n __generator = function (thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\r\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n };\r\n\r\n __exportStar = function(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n };\r\n\r\n __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n }) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n });\r\n\r\n __values = function (o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n };\r\n\r\n __read = function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n };\r\n\r\n /** @deprecated */\r\n __spread = function () {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n };\r\n\r\n /** @deprecated */\r\n __spreadArrays = function () {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n };\r\n\r\n __spreadArray = function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n };\r\n\r\n __await = function (v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n };\r\n\r\n __asyncGenerator = function (thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\r\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n };\r\n\r\n __asyncDelegator = function (o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\r\n };\r\n\r\n __asyncValues = function (o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n };\r\n\r\n __makeTemplateObject = function (cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n };\r\n\r\n var __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n }) : function(o, v) {\r\n o[\"default\"] = v;\r\n };\r\n\r\n var ownKeys = function(o) {\r\n ownKeys = Object.getOwnPropertyNames || function (o) {\r\n var ar = [];\r\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\r\n return ar;\r\n };\r\n return ownKeys(o);\r\n };\r\n\r\n __importStar = function (mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n };\r\n\r\n __importDefault = function (mod) {\r\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\r\n };\r\n\r\n __classPrivateFieldGet = function (receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n };\r\n\r\n __classPrivateFieldSet = function (receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n };\r\n\r\n __classPrivateFieldIn = function (state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n };\r\n\r\n __addDisposableResource = function (env, value, async) {\r\n if (value !== null && value !== void 0) {\r\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\r\n var dispose, inner;\r\n if (async) {\r\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\r\n dispose = value[Symbol.asyncDispose];\r\n }\r\n if (dispose === void 0) {\r\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\r\n dispose = value[Symbol.dispose];\r\n if (async) inner = dispose;\r\n }\r\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\r\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\r\n env.stack.push({ value: value, dispose: dispose, async: async });\r\n }\r\n else if (async) {\r\n env.stack.push({ async: true });\r\n }\r\n return value;\r\n };\r\n\r\n var _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\r\n var e = new Error(message);\r\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\r\n };\r\n\r\n __disposeResources = function (env) {\r\n function fail(e) {\r\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\r\n env.hasError = true;\r\n }\r\n var r, s = 0;\r\n function next() {\r\n while (r = env.stack.pop()) {\r\n try {\r\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\r\n if (r.dispose) {\r\n var result = r.dispose.call(r.value);\r\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\r\n }\r\n else s |= 1;\r\n }\r\n catch (e) {\r\n fail(e);\r\n }\r\n }\r\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\r\n if (env.hasError) throw env.error;\r\n }\r\n return next();\r\n };\r\n\r\n __rewriteRelativeImportExtension = function (path, preserveJsx) {\r\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\r\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\r\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\r\n });\r\n }\r\n return path;\r\n };\r\n\r\n exporter(\"__extends\", __extends);\r\n exporter(\"__assign\", __assign);\r\n exporter(\"__rest\", __rest);\r\n exporter(\"__decorate\", __decorate);\r\n exporter(\"__param\", __param);\r\n exporter(\"__esDecorate\", __esDecorate);\r\n exporter(\"__runInitializers\", __runInitializers);\r\n exporter(\"__propKey\", __propKey);\r\n exporter(\"__setFunctionName\", __setFunctionName);\r\n exporter(\"__metadata\", __metadata);\r\n exporter(\"__awaiter\", __awaiter);\r\n exporter(\"__generator\", __generator);\r\n exporter(\"__exportStar\", __exportStar);\r\n exporter(\"__createBinding\", __createBinding);\r\n exporter(\"__values\", __values);\r\n exporter(\"__read\", __read);\r\n exporter(\"__spread\", __spread);\r\n exporter(\"__spreadArrays\", __spreadArrays);\r\n exporter(\"__spreadArray\", __spreadArray);\r\n exporter(\"__await\", __await);\r\n exporter(\"__asyncGenerator\", __asyncGenerator);\r\n exporter(\"__asyncDelegator\", __asyncDelegator);\r\n exporter(\"__asyncValues\", __asyncValues);\r\n exporter(\"__makeTemplateObject\", __makeTemplateObject);\r\n exporter(\"__importStar\", __importStar);\r\n exporter(\"__importDefault\", __importDefault);\r\n exporter(\"__classPrivateFieldGet\", __classPrivateFieldGet);\r\n exporter(\"__classPrivateFieldSet\", __classPrivateFieldSet);\r\n exporter(\"__classPrivateFieldIn\", __classPrivateFieldIn);\r\n exporter(\"__addDisposableResource\", __addDisposableResource);\r\n exporter(\"__disposeResources\", __disposeResources);\r\n exporter(\"__rewriteRelativeImportExtension\", __rewriteRelativeImportExtension);\r\n});\r\n\r\n0 && (module.exports = {\r\n __extends: __extends,\r\n __assign: __assign,\r\n __rest: __rest,\r\n __decorate: __decorate,\r\n __param: __param,\r\n __esDecorate: __esDecorate,\r\n __runInitializers: __runInitializers,\r\n __propKey: __propKey,\r\n __setFunctionName: __setFunctionName,\r\n __metadata: __metadata,\r\n __awaiter: __awaiter,\r\n __generator: __generator,\r\n __exportStar: __exportStar,\r\n __createBinding: __createBinding,\r\n __values: __values,\r\n __read: __read,\r\n __spread: __spread,\r\n __spreadArrays: __spreadArrays,\r\n __spreadArray: __spreadArray,\r\n __await: __await,\r\n __asyncGenerator: __asyncGenerator,\r\n __asyncDelegator: __asyncDelegator,\r\n __asyncValues: __asyncValues,\r\n __makeTemplateObject: __makeTemplateObject,\r\n __importStar: __importStar,\r\n __importDefault: __importDefault,\r\n __classPrivateFieldGet: __classPrivateFieldGet,\r\n __classPrivateFieldSet: __classPrivateFieldSet,\r\n __classPrivateFieldIn: __classPrivateFieldIn,\r\n __addDisposableResource: __addDisposableResource,\r\n __disposeResources: __disposeResources,\r\n __rewriteRelativeImportExtension: __rewriteRelativeImportExtension,\r\n});\r\n","\"use strict\";\n/**\n * Copyright 2024 actions-toolkit authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Git = void 0;\nclass Git {\n // https://github.com/moby/buildkit/blob/2ec1338fc13f73b43f0b1b4f4678d7cd654bc86c/util/gitutil/git_url.go#L79\n static parseURL(remote) {\n const match = remote.match(Git.protoRegexp);\n if (match && match.length > 0) {\n let proto = match[0].toLowerCase();\n proto = proto.slice(0, proto.lastIndexOf('://'));\n if (!(proto in Git.supportedProtos)) {\n throw new Error(`Invalid protocol: ${proto}`);\n }\n return Git.fromURL(new URL(remote));\n }\n throw new Error('Unknown protocol');\n }\n // https://github.com/moby/buildkit/blob/2ec1338fc13f73b43f0b1b4f4678d7cd654bc86c/util/gitutil/git_url.go#L108\n static fromURL(url) {\n const withoutFragment = new URL(url.toString());\n withoutFragment.hash = '';\n let user;\n if (url.username || url.password) {\n user = {\n username: url.username,\n password: url.password,\n passwordSet: url.password !== ''\n };\n }\n // TODO: handle SCP-style URLs\n return {\n scheme: url.protocol.slice(0, -1),\n user: user,\n host: `${url.hostname}${url.port ? ':' + url.port : ''}`,\n path: url.pathname,\n fragment: Git.splitGitFragment(url.hash),\n remote: withoutFragment.toString()\n };\n }\n // https://github.com/moby/buildkit/blob/2ec1338fc13f73b43f0b1b4f4678d7cd654bc86c/util/gitutil/git_url.go#L69\n static splitGitFragment(fragment) {\n if (fragment === '') {\n return undefined;\n }\n const [ref, subdir] = fragment.slice(1).split(':');\n return {\n ref: ref,\n subdir: subdir\n };\n }\n // https://github.com/moby/buildkit/blob/2ec1338fc13f73b43f0b1b4f4678d7cd654bc86c/util/gitutil/git_ref.go#L52\n static parseRef(ref) {\n const res = {};\n let remote;\n if (ref.startsWith('./') || ref.startsWith('../')) {\n throw new Error('Invalid argument');\n }\n else if (ref.startsWith('github.com/')) {\n res.indistinguishableFromLocal = true; // Deprecated\n remote = Git.fromURL(new URL('https://' + ref));\n }\n else {\n remote = Git.parseURL(ref);\n if (['http', 'git'].includes(remote.scheme)) {\n res.unencryptedTCP = true; // Discouraged, but not deprecated\n }\n if (['http', 'https'].includes(remote.scheme) && !remote.path.endsWith('.git')) {\n throw new Error('Invalid argument');\n }\n }\n res.remote = remote.remote;\n if (res.indistinguishableFromLocal) {\n res.remote = res.remote.split('://')[1];\n }\n if (remote.fragment) {\n res.commit = remote.fragment.ref;\n res.subDir = remote.fragment.subdir;\n }\n const repoSplitBySlash = res.remote.split('/');\n res.shortName = repoSplitBySlash[repoSplitBySlash.length - 1].replace('.git', '');\n return res;\n }\n}\nexports.Git = Git;\nGit.protoRegexp = new RegExp('^[a-zA-Z0-9]+://');\nGit.supportedProtos = {\n http: {},\n https: {},\n ssh: {},\n git: {}\n};\n//# sourceMappingURL=git.js.map","\"use strict\";\n/**\n * Copyright 2023 actions-toolkit authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Buildx = void 0;\nconst fs_1 = __importDefault(require(\"fs\"));\nconst path_1 = __importDefault(require(\"path\"));\nconst core = __importStar(require(\"@actions/core\"));\nconst semver = __importStar(require(\"semver\"));\nconst git_1 = require(\"../buildkit/git\");\nconst docker_1 = require(\"../docker/docker\");\nconst github_1 = require(\"../github\");\nconst exec_1 = require(\"../exec\");\nconst util_1 = require(\"../util\");\nclass Buildx {\n constructor(opts) {\n this._standalone = opts === null || opts === void 0 ? void 0 : opts.standalone;\n this._version = '';\n this._versionOnce = false;\n }\n static get configDir() {\n return process.env.BUILDX_CONFIG || path_1.default.join(docker_1.Docker.configDir, 'buildx');\n }\n static get refsDir() {\n return path_1.default.join(Buildx.configDir, 'refs');\n }\n static get refsGroupDir() {\n return path_1.default.join(Buildx.refsDir, '__group__');\n }\n static get certsDir() {\n return path_1.default.join(Buildx.configDir, 'certs');\n }\n isStandalone() {\n return __awaiter(this, void 0, void 0, function* () {\n var _a;\n const standalone = (_a = this._standalone) !== null && _a !== void 0 ? _a : !(yield docker_1.Docker.isAvailable());\n core.debug(`Buildx.isStandalone: ${standalone}`);\n return standalone;\n });\n }\n getCommand(args) {\n return __awaiter(this, void 0, void 0, function* () {\n const standalone = yield this.isStandalone();\n return {\n command: standalone ? 'buildx' : 'docker',\n args: standalone ? args : ['buildx', ...args]\n };\n });\n }\n isAvailable() {\n return __awaiter(this, void 0, void 0, function* () {\n const cmd = yield this.getCommand([]);\n const ok = yield exec_1.Exec.getExecOutput(cmd.command, cmd.args, {\n ignoreReturnCode: true,\n silent: true\n })\n .then(res => {\n if (res.stderr.length > 0 && res.exitCode != 0) {\n core.debug(`Buildx.isAvailable cmd err: ${res.stderr.trim()}`);\n return false;\n }\n return res.exitCode == 0;\n })\n .catch(error => {\n core.debug(`Buildx.isAvailable error: ${error}`);\n return false;\n });\n core.debug(`Buildx.isAvailable: ${ok}`);\n return ok;\n });\n }\n version() {\n return __awaiter(this, void 0, void 0, function* () {\n if (this._versionOnce) {\n return this._version;\n }\n this._versionOnce = true;\n const cmd = yield this.getCommand(['version']);\n this._version = yield exec_1.Exec.getExecOutput(cmd.command, cmd.args, {\n ignoreReturnCode: true,\n silent: true\n }).then(res => {\n if (res.stderr.length > 0 && res.exitCode != 0) {\n throw new Error(res.stderr.trim());\n }\n return Buildx.parseVersion(res.stdout.trim());\n });\n return this._version;\n });\n }\n printVersion() {\n return __awaiter(this, void 0, void 0, function* () {\n const cmd = yield this.getCommand(['version']);\n yield exec_1.Exec.exec(cmd.command, cmd.args, {\n failOnStdErr: false\n });\n });\n }\n static parseVersion(stdout) {\n const matches = /\\sv?([0-9a-f]{7}|[0-9.]+)/.exec(stdout);\n if (!matches) {\n throw new Error(`Cannot parse buildx version`);\n }\n return matches[1];\n }\n versionSatisfies(range, version) {\n return __awaiter(this, void 0, void 0, function* () {\n const ver = version !== null && version !== void 0 ? version : (yield this.version());\n if (!ver) {\n core.debug(`Buildx.versionSatisfies false: undefined version`);\n return false;\n }\n const res = semver.satisfies(ver, range) || /^[0-9a-f]{7}$/.exec(ver) !== null;\n core.debug(`Buildx.versionSatisfies ${ver} statisfies ${range}: ${res}`);\n return res;\n });\n }\n static resolveCertsDriverOpts(driver, endpoint, cert) {\n let url;\n try {\n url = new URL(endpoint);\n }\n catch (_a) {\n return [];\n }\n if (url.protocol != 'tcp:') {\n return [];\n }\n const driverOpts = [];\n if (Object.keys(cert).length == 0) {\n return driverOpts;\n }\n let host = url.hostname;\n if (url.port.length > 0) {\n host += `-${url.port}`;\n }\n if (cert.cacert !== undefined) {\n const cacertpath = path_1.default.join(Buildx.certsDir, `cacert_${host}.pem`);\n fs_1.default.writeFileSync(cacertpath, cert.cacert);\n driverOpts.push(`cacert=${cacertpath}`);\n }\n if (cert.cert !== undefined) {\n const certpath = path_1.default.join(Buildx.certsDir, `cert_${host}.pem`);\n fs_1.default.writeFileSync(certpath, cert.cert);\n driverOpts.push(`cert=${certpath}`);\n }\n if (cert.key !== undefined) {\n const keypath = path_1.default.join(Buildx.certsDir, `key_${host}.pem`);\n fs_1.default.writeFileSync(keypath, cert.key);\n driverOpts.push(`key=${keypath}`);\n }\n if (driver != 'remote') {\n return [];\n }\n return driverOpts;\n }\n static localState(ref, dir) {\n const [builderName, nodeName, id] = ref.split('/');\n if (!builderName || !nodeName || !id) {\n throw new Error(`Invalid build reference: ${ref}`);\n }\n const lsPath = path_1.default.join(dir || Buildx.refsDir, builderName, nodeName, id);\n if (!fs_1.default.existsSync(lsPath)) {\n throw new Error(`Local state not found in ${lsPath}`);\n }\n return Buildx.fixLocalState(JSON.parse(fs_1.default.readFileSync(lsPath, 'utf8')));\n }\n // https://github.com/docker/buildx/pull/2560\n static fixLocalState(ls) {\n const fnTrimToValidContext = function (inp) {\n const match = inp.match(/(.*)(https?:\\/{1,2}\\S+|ssh:\\/{1,2}\\S+|git:\\/{1,2}\\S+)/i);\n if (match && match.length == 3) {\n const trimed = match[1];\n let url = match[2];\n if (url.startsWith('https:/') && !url.startsWith('https://')) {\n url = url.replace('https:/', 'https://');\n }\n if (url.startsWith('http:/') && !url.startsWith('http://')) {\n url = url.replace('http:/', 'http://');\n }\n if (url.startsWith('ssh:/') && !url.startsWith('ssh://')) {\n url = url.replace('ssh:/', 'ssh://');\n }\n if (url.startsWith('git:/') && !url.startsWith('git://')) {\n url = url.replace('git:/', 'git://');\n }\n return [url, trimed, true];\n }\n return [inp, '', false];\n };\n const [contextPath, trimedPath, isURL] = fnTrimToValidContext(ls.LocalPath);\n if (isURL) {\n ls.LocalPath = contextPath;\n if (ls.DockerfilePath.indexOf(trimedPath) === 0) {\n ls.DockerfilePath = ls.DockerfilePath.substring(trimedPath.length);\n }\n }\n ls.LocalPath = ls.LocalPath.endsWith('/-') ? '-' : ls.LocalPath;\n ls.DockerfilePath = ls.DockerfilePath.endsWith('/-') ? '-' : ls.DockerfilePath;\n return ls;\n }\n static refs(opts, refs = {}) {\n const { dir, builderName, nodeName, since } = opts;\n let dirpath = path_1.default.resolve(dir);\n if (opts.builderName) {\n dirpath = path_1.default.join(dirpath, opts.builderName);\n }\n if (opts.nodeName) {\n dirpath = path_1.default.join(dirpath, opts.nodeName);\n }\n if (!fs_1.default.existsSync(dirpath)) {\n return refs;\n }\n const files = fs_1.default.readdirSync(dirpath);\n for (const file of files) {\n const filePath = path_1.default.join(dirpath, file);\n const stat = fs_1.default.statSync(filePath);\n if (stat.isDirectory()) {\n const nopts = Object.assign({}, opts);\n if (!builderName) {\n if (file === '__group__') {\n continue;\n }\n nopts.builderName = file;\n }\n else if (!nodeName) {\n nopts.nodeName = file;\n }\n Buildx.refs(nopts, refs);\n }\n else {\n if (since && stat.mtime < since) {\n continue;\n }\n const localState = Buildx.fixLocalState(JSON.parse(fs_1.default.readFileSync(filePath, 'utf8')));\n const ref = `${builderName}/${nodeName}/${file}`;\n refs[ref] = localState;\n }\n }\n return refs;\n }\n static convertWarningsToGitHubAnnotations(warnings, buildRefs, refsDir) {\n return __awaiter(this, void 0, void 0, function* () {\n var _a, _b, _c;\n if (warnings.length === 0) {\n return;\n }\n const fnGitURL = function (inp) {\n try {\n return git_1.Git.parseURL(inp);\n }\n catch (_a) {\n // noop\n }\n };\n const fnLocalState = function (ref) {\n try {\n return Buildx.localState(ref, refsDir);\n }\n catch (e) {\n core.debug(`Buildx.convertWarningsToGitHubAnnotations(${ref}): local state not found: ${e.message}`);\n }\n };\n const dockerfiles = [];\n for (const ref of buildRefs) {\n const ls = fnLocalState(ref);\n if (!ls) {\n continue;\n }\n if (ls.DockerfilePath == '-') {\n // exclude dockerfile from stdin\n core.debug(`Buildx.convertWarningsToGitHubAnnotations(${ref}): skipping stdin Dockerfile`);\n continue;\n }\n else if (ls.DockerfilePath == '') {\n ls.DockerfilePath = 'Dockerfile';\n }\n const gitURL = fnGitURL(ls.LocalPath);\n if (gitURL) {\n core.debug(`Buildx.convertWarningsToGitHubAnnotations(${ref}): git context detected: ${ls.LocalPath}`);\n const remoteHost = gitURL.host.replace(/:.*/, '');\n if (remoteHost !== 'github.com' && !remoteHost.endsWith('.ghe.com')) {\n // we only support running actions on GitHub for now\n // we might add support for GitLab in the future\n core.debug(`Buildx.convertWarningsToGitHubAnnotations(${ref}): not a GitHub repo: ${remoteHost}`);\n continue;\n }\n // if repository matches then we can link to the Dockerfile\n const remoteRepo = gitURL.path.replace(/^\\//, '').replace(/\\.git$/, '');\n if (remoteRepo !== github_1.GitHub.repository) {\n core.debug(`Buildx.convertWarningsToGitHubAnnotations(${ref}): not same GitHub repo: ${remoteRepo} != ${github_1.GitHub.repository}`);\n continue;\n }\n dockerfiles.push({\n path: ls.DockerfilePath, // dockerfile path is always relative for a git context\n remote: true\n });\n continue;\n }\n if (!fs_1.default.existsSync(ls.DockerfilePath)) {\n core.debug(`Buildx.convertWarningsToGitHubAnnotations: Dockerfile not found from localstate ref ${ref}: ${ls.DockerfilePath}`);\n continue;\n }\n const workspaceDir = github_1.GitHub.workspace;\n // only treat dockerfile path relative to GitHub actions workspace dir\n if (util_1.Util.isPathRelativeTo(workspaceDir, ls.DockerfilePath)) {\n dockerfiles.push({\n path: path_1.default.relative(workspaceDir, ls.DockerfilePath),\n content: Buffer.from(fs_1.default.readFileSync(ls.DockerfilePath, { encoding: 'utf-8' }), 'utf-8').toString('base64')\n });\n }\n else {\n core.debug(`Buildx.convertWarningsToGitHubAnnotations: skipping Dockerfile outside of workspace: ${ls.DockerfilePath}`);\n }\n }\n if (dockerfiles.length === 0) {\n core.debug(`Buildx.convertWarningsToGitHubAnnotations: no Dockerfiles found`);\n return;\n }\n core.debug(`Buildx.convertWarningsToGitHubAnnotations: found ${dockerfiles.length} Dockerfiles: ${JSON.stringify(dockerfiles, null, 2)}`);\n const annotations = [];\n for (const warning of warnings) {\n if (!warning.detail || !warning.short) {\n core.debug(`Buildx.convertWarningsToGitHubAnnotations: skipping warning without detail or short`);\n continue;\n }\n const warningSourceFilename = (_a = warning.sourceInfo) === null || _a === void 0 ? void 0 : _a.filename;\n const warningSourceData = (_b = warning.sourceInfo) === null || _b === void 0 ? void 0 : _b.data;\n if (!warningSourceFilename || !warningSourceData) {\n core.debug(`Buildx.convertWarningsToGitHubAnnotations: skipping warning without source info filename or data`);\n continue;\n }\n const title = warning.detail.map(encoded => atob(encoded)).join(' ');\n let message = atob(warning.short).replace(/\\s\\(line \\d+\\)$/, '');\n if (warning.url) {\n // https://github.com/docker/buildx/blob/d8c9ebde1fdcf659f1fa3efa6ccc27a28b0f1564/commands/build.go#L854\n message += `\\nMore info: ${warning.url}`;\n }\n // GitHub's annotations don't clearly show ranges of lines, so we'll just\n // show the first line: https://github.com/orgs/community/discussions/129899\n const startLine = warning.range && warning.range.length > 0 ? (_c = warning.range[0]) === null || _c === void 0 ? void 0 : _c.start.line : undefined;\n // TODO: When GitHub's annotations support showing ranges properly, we can use this code\n // let startLine: number | undefined, endLine: number | undefined;\n // for (const range of warning.range ?? []) {\n // if (range.start.line && (!startLine || range.start.line < startLine)) {\n // startLine = range.start.line;\n // }\n // if (range.end.line && (!endLine || range.end.line > endLine)) {\n // endLine = range.end.line;\n // }\n // }\n let annotated = false;\n for (const dockerfile of dockerfiles) {\n // a valid dockerfile path and content is required to match the warning\n // source info or always assume it's valid if this is a remote git\n // context as we can't read the content of the Dockerfile in this case.\n if (dockerfile.remote || (dockerfile.path.endsWith(warningSourceFilename) && dockerfile.content === warningSourceData)) {\n annotations.push({\n title: title,\n message: message,\n file: dockerfile.path,\n startLine: startLine\n });\n annotated = true;\n break;\n }\n }\n if (!annotated) {\n core.debug(`Buildx.convertWarningsToGitHubAnnotations: skipping warning without matching Dockerfile ${warningSourceFilename}: ${title}`);\n }\n }\n return annotations;\n });\n }\n}\nexports.Buildx = Buildx;\nBuildx.containerNamePrefix = 'buildx_buildkit_';\n//# sourceMappingURL=buildx.js.map","\"use strict\";\n/**\n * Copyright 2023 actions-toolkit authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Cache = void 0;\nconst fs_1 = __importDefault(require(\"fs\"));\nconst os_1 = __importDefault(require(\"os\"));\nconst path_1 = __importDefault(require(\"path\"));\nconst core = __importStar(require(\"@actions/core\"));\nconst tc = __importStar(require(\"@actions/tool-cache\"));\nconst cache = __importStar(require(\"@actions/cache\"));\nconst util = __importStar(require(\"util\"));\nclass Cache {\n constructor(opts) {\n this.opts = opts;\n this.ghaCacheKey = util.format('%s-%s-%s', this.opts.htcName, this.opts.htcVersion, this.platform());\n this.ghaNoCache = this.opts.ghaNoCache;\n this.cacheDir = path_1.default.join(this.opts.baseCacheDir, this.opts.htcVersion, this.platform());\n this.cachePath = path_1.default.join(this.cacheDir, this.opts.cacheFile);\n if (!fs_1.default.existsSync(this.cacheDir)) {\n fs_1.default.mkdirSync(this.cacheDir, { recursive: true });\n }\n }\n save(file, skipState) {\n return __awaiter(this, void 0, void 0, function* () {\n core.debug(`Cache.save ${file}`);\n const cachePath = this.copyToCache(file);\n const htcPath = yield tc.cacheDir(this.cacheDir, this.opts.htcName, this.opts.htcVersion, this.platform());\n core.debug(`Cache.save cached to hosted tool cache ${htcPath}`);\n if (!this.ghaNoCache && cache.isFeatureAvailable()) {\n if (skipState) {\n try {\n core.debug(`Cache.save caching ${this.ghaCacheKey} to GitHub Actions cache`);\n yield cache.saveCache([this.cacheDir], this.ghaCacheKey);\n }\n catch (e) {\n core.warning(`Failed to save cache: ${e}`);\n }\n }\n else {\n core.debug(`Cache.save sending ${this.ghaCacheKey} to post state`);\n core.saveState(Cache.POST_CACHE_KEY, JSON.stringify({\n dir: this.cacheDir,\n key: this.ghaCacheKey\n }));\n }\n }\n return cachePath;\n });\n }\n find() {\n return __awaiter(this, void 0, void 0, function* () {\n try {\n let htcPath = tc.find(this.opts.htcName, this.opts.htcVersion, this.platform());\n if (htcPath) {\n core.info(`Restored from hosted tool cache ${htcPath}`);\n return this.copyToCache(`${htcPath}/${this.opts.cacheFile}`);\n }\n if (!this.ghaNoCache && cache.isFeatureAvailable()) {\n core.debug(`GitHub Actions cache feature available`);\n if (yield cache.restoreCache([this.cacheDir], this.ghaCacheKey)) {\n core.info(`Restored ${this.ghaCacheKey} from GitHub Actions cache`);\n htcPath = yield tc.cacheDir(this.cacheDir, this.opts.htcName, this.opts.htcVersion, this.platform());\n core.info(`Cached to hosted tool cache ${htcPath}`);\n return this.copyToCache(`${htcPath}/${this.opts.cacheFile}`);\n }\n }\n else if (this.ghaNoCache) {\n core.info(`GitHub Actions cache disabled`);\n }\n else {\n core.info(`GitHub Actions cache feature not available`);\n }\n }\n catch (e) {\n core.warning(`Failed to restore cache: ${e}`);\n }\n return '';\n });\n }\n static post() {\n return __awaiter(this, void 0, void 0, function* () {\n const state = core.getState(Cache.POST_CACHE_KEY);\n if (!state) {\n core.info(`State not set`);\n return Promise.resolve(undefined);\n }\n let cacheState;\n try {\n cacheState = JSON.parse(state);\n }\n catch (e) {\n throw new Error(`Failed to parse cache post state: ${e}`);\n }\n if (!cacheState.dir || !cacheState.key) {\n throw new Error(`Invalid cache post state: ${state}`);\n }\n try {\n core.info(`Caching ${cacheState.key} to GitHub Actions cache`);\n yield cache.saveCache([cacheState.dir], cacheState.key);\n }\n catch (e) {\n core.warning(`Failed to save cache: ${e}`);\n }\n return cacheState;\n });\n }\n copyToCache(file) {\n core.info(`Copying ${file} to ${this.cachePath}`);\n fs_1.default.copyFileSync(file, this.cachePath);\n return this.cachePath;\n }\n platform() {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const arm_version = process.config.variables.arm_version;\n return `${os_1.default.platform()}-${os_1.default.arch()}${arm_version ? 'v' + arm_version : ''}`;\n }\n}\nexports.Cache = Cache;\nCache.POST_CACHE_KEY = 'postCache';\n//# sourceMappingURL=cache.js.map","\"use strict\";\n/**\n * Copyright 2023 actions-toolkit authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n});\nvar __importStar = (this && this.__importStar) || (function () {\n var ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n };\n return function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n };\n})();\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.Context = void 0;\nconst fs_1 = __importDefault(require(\"fs\"));\nconst os_1 = __importDefault(require(\"os\"));\nconst path_1 = __importDefault(require(\"path\"));\nconst tmp = __importStar(require(\"tmp\"));\nconst github = __importStar(require(\"@actions/github\"));\nconst github_1 = require(\"./github\");\nclass Context {\n static ensureDirExists(dir) {\n fs_1.default.mkdirSync(dir, { recursive: true });\n return dir;\n }\n static tmpDir() {\n return Context._tmpDir;\n }\n static tmpName(options) {\n return tmp.tmpNameSync(options);\n }\n static gitRef() {\n return Context.parseGitRef(github.context.ref, github.context.sha);\n }\n static parseGitRef(ref, sha) {\n const setPullRequestHeadRef = !!(process.env.DOCKER_DEFAULT_GIT_CONTEXT_PR_HEAD_REF && process.env.DOCKER_DEFAULT_GIT_CONTEXT_PR_HEAD_REF === 'true');\n if (sha && ref && !ref.startsWith('refs/')) {\n ref = `refs/heads/${ref}`;\n }\n if (sha && !ref.startsWith(`refs/pull/`)) {\n ref = sha;\n }\n else if (ref.startsWith(`refs/pull/`) && setPullRequestHeadRef) {\n ref = ref.replace(/\\/merge$/g, '/head');\n }\n return ref;\n }\n static gitContext() {\n return `${github_1.GitHub.serverURL}/${github.context.repo.owner}/${github.context.repo.repo}.git#${Context.gitRef()}`;\n }\n}\nexports.Context = Context;\nContext._tmpDir = fs_1.default.mkdtempSync(path_1.default.join(Context.ensureDirExists(process.env.RUNNER_TEMP || os_1.default.tmpdir()), 'docker-actions-toolkit-'));\n//# sourceMappingURL=context.js.map","\"use strict\";\n/**\n * Copyright 2023 actions-toolkit authors\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.